diff --git a/api-generator/build-apidoc.ts b/api-generator/build-apidoc.ts
index e16124d5136..3cddcaedad8 100644
--- a/api-generator/build-apidoc.ts
+++ b/api-generator/build-apidoc.ts
@@ -17,7 +17,7 @@ const staticMessages = {
interfaces: 'Defines the custom interfaces used by the module.',
types: 'Defines the custom types used by the module.',
props: 'Defines the input properties of the component.',
- service: 'Defines the service used by the component',
+ service: 'Defines the service used by the component'
};
const app = new TypeDoc.Application();
diff --git a/src/app/components/treetable/treetable.interface.ts b/src/app/components/treetable/treetable.interface.ts
index 106d1b108b1..a18409fabd6 100644
--- a/src/app/components/treetable/treetable.interface.ts
+++ b/src/app/components/treetable/treetable.interface.ts
@@ -237,7 +237,7 @@ export interface TreeTableFilterOptions {
* Boolean value that defines if strict mode enabled.
*/
isStrictMode: boolean;
-};
+}
/**
* Defines valid templates in TreeTable.
* @group Templates
diff --git a/src/app/showcase/layout/doc/docapisection/app.docapisection.component.ts b/src/app/showcase/layout/doc/docapisection/app.docapisection.component.ts
index 9e7f03fae36..fdc257f9050 100644
--- a/src/app/showcase/layout/doc/docapisection/app.docapisection.component.ts
+++ b/src/app/showcase/layout/doc/docapisection/app.docapisection.component.ts
@@ -25,7 +25,7 @@ export class AppDocApiSection {
this._docs = this.createDocs();
}
}
-
+
getDescription(module, docName) {
if (module.description) {
return module.description;
@@ -36,7 +36,7 @@ export class AppDocApiSection {
}
isInterface(module) {
- return (module.components && !Object.keys(module.components).length && Object.keys(module.interfaces).indexOf('interfaces') === -1);
+ return module.components && !Object.keys(module.components).length && Object.keys(module.interfaces).indexOf('interfaces') === -1;
}
createDocs() {
@@ -198,20 +198,18 @@ export class AppDocApiSection {
}
newDocs.push(newDoc);
}
-
- let mergedInterfaces = [];
- newDocs.forEach(doc => {
- if((doc.isInterface || doc.label === 'Interfaces') && doc.children) {
- doc.children.forEach(child => mergedInterfaces.push(...child.data))
- }
- })
+ let mergedInterfaces = [];
+ newDocs.forEach((doc) => {
+ if ((doc.isInterface || doc.label === 'Interfaces') && doc.children) {
+ doc.children.forEach((child) => mergedInterfaces.push(...child.data));
+ }
+ });
- if(newDocs[0].children.find(child => child.title == 'Interfaces')) {
- newDocs[0].children = newDocs[0].children.map(child => child.label === 'Interfaces' ? ({...child, data: [...child.data, ...mergedInterfaces]}) : child)
- }
- else {
- if(mergedInterfaces.length) {
+ if (newDocs[0].children.find((child) => child.title == 'Interfaces')) {
+ newDocs[0].children = newDocs[0].children.map((child) => (child.label === 'Interfaces' ? { ...child, data: [...child.data, ...mergedInterfaces] } : child));
+ } else {
+ if (mergedInterfaces.length) {
newDocs[0].children.push({
id: `api.${this.docs[0].toLowerCase()}.interfaces`,
label: 'Interfaces',
@@ -222,26 +220,26 @@ export class AppDocApiSection {
}
}
- newDocs[0].children = [...this.merge(newDocs[0].children)]
- return newDocs.filter(doc => !doc.isInterface);
+ newDocs[0].children = [...this.merge(newDocs[0].children)];
+ return newDocs.filter((doc) => !doc.isInterface);
}
merge(arr) {
const mergedArray = [];
const idMap = {};
-
+
arr.forEach((element) => {
- if (!idMap[element.id]) {
- idMap[element.id] = element;
- mergedArray.push(element);
- } else {
- const existingElement = idMap[element.id];
- if (existingElement.data && element.data) {
- existingElement.data = existingElement.data.concat(element.data);
+ if (!idMap[element.id]) {
+ idMap[element.id] = element;
+ mergedArray.push(element);
+ } else {
+ const existingElement = idMap[element.id];
+ if (existingElement.data && element.data) {
+ existingElement.data = existingElement.data.concat(element.data);
+ }
}
- }
});
-
+
return mergedArray;
}
diff --git a/src/app/showcase/layout/doc/docsectionnav/app.docsection-nav.component.ts b/src/app/showcase/layout/doc/docsectionnav/app.docsection-nav.component.ts
index 08418d7e688..a4ae7648b03 100644
--- a/src/app/showcase/layout/doc/docsectionnav/app.docsection-nav.component.ts
+++ b/src/app/showcase/layout/doc/docsectionnav/app.docsection-nav.component.ts
@@ -78,7 +78,7 @@ export class AppDocSectionNavComponent implements OnInit, OnDestroy {
}, 50);
}
}
-
+
onButtonClick(doc) {
this.activeId = doc.id;
setTimeout(() => {
@@ -108,7 +108,7 @@ export class AppDocSectionNavComponent implements OnInit, OnDestroy {
}
getActiveChildId(activeId, childId) {
- return activeId.toLowerCase().includes(childId.toLowerCase())
+ return activeId.toLowerCase().includes(childId.toLowerCase());
}
ngOnDestroy() {
diff --git a/src/app/showcase/pages/dynamicdialog/dynamicdialogdemo.html b/src/app/showcase/pages/dynamicdialog/dynamicdialogdemo.html
index 731fbe0c655..ac4f41b9cbf 100755
--- a/src/app/showcase/pages/dynamicdialog/dynamicdialogdemo.html
+++ b/src/app/showcase/pages/dynamicdialog/dynamicdialogdemo.html
@@ -1 +1 @@
-
\ No newline at end of file
+
\ No newline at end of file