@ng-atomic/components 4.15.0 → 4.16.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm2020/atoms/icon/icon.atom.mjs +2 -2
- package/esm2020/atoms/smart-menu-button/smart-menu-button.atom.mjs +3 -3
- package/esm2020/frames/auto-layout/auto-layout.frame.mjs +2 -2
- package/esm2020/frames/drawer/drawer.frame.mjs +12 -4
- package/esm2020/frames/line-up/line-up.frame.mjs +2 -2
- package/esm2020/frames/overlay/overlay.frame.mjs +2 -2
- package/esm2020/frames/scroll/scroll.frame.mjs +2 -2
- package/esm2020/frames/smart-menu/smart-menu.frame.mjs +2 -2
- package/esm2020/molecules/date-input-field/date-input-field.molecule.mjs +2 -2
- package/esm2020/molecules/select-input-field/select-input-field.molecule.mjs +2 -2
- package/esm2020/molecules/smart-column/smart-column.module.mjs +6 -23
- package/esm2020/molecules/smart-column/smart-column.molecule.mjs +13 -10
- package/esm2020/organisms/action-buttons-section/action-buttons-section.organism.mjs +2 -2
- package/esm2020/organisms/back-navigator/back-navigator.organism.mjs +2 -2
- package/esm2020/organisms/card-input-section/card-input-section.organism.mjs +2 -2
- package/esm2020/organisms/cvc-and-exp-input-section/cvc-and-exp-input-section.organism.mjs +2 -2
- package/esm2020/organisms/date-input-section/date-input-section.organism.mjs +2 -2
- package/esm2020/organisms/heading/heading.organism.mjs +2 -2
- package/esm2020/organisms/navigation-list/navigation-list.organism.mjs +2 -2
- package/esm2020/organisms/navigator/navigator.organism.mjs +12 -12
- package/esm2020/organisms/select-input-section/select-input-section.organism.mjs +2 -2
- package/esm2020/organisms/smart-list/index.mjs +3 -0
- package/esm2020/organisms/smart-list/ng-atomic-components-organisms-smart-list.mjs +5 -0
- package/esm2020/organisms/smart-list/smart-list.module.mjs +40 -0
- package/esm2020/organisms/smart-list/smart-list.organism.mjs +98 -0
- package/esm2020/organisms/smart-table/smart-table.organism.mjs +18 -24
- package/esm2020/organisms/social-login-section/social-login-section.organism.mjs +2 -2
- package/esm2020/organisms/text-input-section/text-input-section.organism.mjs +2 -2
- package/esm2020/organisms/textarea-section/textarea-section.organism.mjs +2 -2
- package/esm2020/organisms/top-navigator/top-navigator.organism.mjs +2 -2
- package/esm2020/templates/entrance/entrance.template.mjs +2 -2
- package/esm2020/templates/menu/menu.template.mjs +2 -2
- package/esm2020/templates/smart-crud/smart-crud.template.mjs +15 -43
- package/esm2020/templates/smart-index/smart-index.module.mjs +5 -1
- package/esm2020/templates/smart-index/smart-index.template.mjs +54 -29
- package/fesm2015/ng-atomic-components-atoms-icon.mjs +2 -2
- package/fesm2015/ng-atomic-components-atoms-smart-menu-button.mjs +2 -2
- package/fesm2015/ng-atomic-components-atoms-smart-menu-button.mjs.map +1 -1
- package/fesm2015/ng-atomic-components-frames-auto-layout.mjs +2 -2
- package/fesm2015/ng-atomic-components-frames-drawer.mjs +12 -3
- package/fesm2015/ng-atomic-components-frames-drawer.mjs.map +1 -1
- package/fesm2015/ng-atomic-components-frames-line-up.mjs +2 -2
- package/fesm2015/ng-atomic-components-frames-overlay.mjs +2 -2
- package/fesm2015/ng-atomic-components-frames-scroll.mjs +2 -2
- package/fesm2015/ng-atomic-components-frames-smart-menu.mjs +2 -2
- package/fesm2015/ng-atomic-components-molecules-date-input-field.mjs +2 -2
- package/fesm2015/ng-atomic-components-molecules-select-input-field.mjs +2 -2
- package/fesm2015/ng-atomic-components-molecules-smart-column.mjs +11 -27
- package/fesm2015/ng-atomic-components-molecules-smart-column.mjs.map +1 -1
- package/fesm2015/ng-atomic-components-organisms-action-buttons-section.mjs +2 -2
- package/fesm2015/ng-atomic-components-organisms-back-navigator.mjs +2 -2
- package/fesm2015/ng-atomic-components-organisms-card-input-section.mjs +2 -2
- package/fesm2015/ng-atomic-components-organisms-cvc-and-exp-input-section.mjs +2 -2
- package/fesm2015/ng-atomic-components-organisms-date-input-section.mjs +2 -2
- package/fesm2015/ng-atomic-components-organisms-heading.mjs +2 -2
- package/fesm2015/ng-atomic-components-organisms-navigation-list.mjs +2 -2
- package/fesm2015/ng-atomic-components-organisms-navigator.mjs +11 -11
- package/fesm2015/ng-atomic-components-organisms-navigator.mjs.map +1 -1
- package/fesm2015/ng-atomic-components-organisms-select-input-section.mjs +2 -2
- package/fesm2015/ng-atomic-components-organisms-smart-list.mjs +160 -0
- package/fesm2015/ng-atomic-components-organisms-smart-list.mjs.map +1 -0
- package/fesm2015/ng-atomic-components-organisms-smart-table.mjs +17 -23
- package/fesm2015/ng-atomic-components-organisms-smart-table.mjs.map +1 -1
- package/fesm2015/ng-atomic-components-organisms-social-login-section.mjs +2 -2
- package/fesm2015/ng-atomic-components-organisms-text-input-section.mjs +2 -2
- package/fesm2015/ng-atomic-components-organisms-textarea-section.mjs +2 -2
- package/fesm2015/ng-atomic-components-organisms-top-navigator.mjs +2 -2
- package/fesm2015/ng-atomic-components-templates-entrance.mjs +2 -2
- package/fesm2015/ng-atomic-components-templates-menu.mjs +2 -2
- package/fesm2015/ng-atomic-components-templates-smart-crud.mjs +14 -42
- package/fesm2015/ng-atomic-components-templates-smart-crud.mjs.map +1 -1
- package/fesm2015/ng-atomic-components-templates-smart-index.mjs +63 -28
- package/fesm2015/ng-atomic-components-templates-smart-index.mjs.map +1 -1
- package/fesm2020/ng-atomic-components-atoms-icon.mjs +2 -2
- package/fesm2020/ng-atomic-components-atoms-smart-menu-button.mjs +2 -2
- package/fesm2020/ng-atomic-components-atoms-smart-menu-button.mjs.map +1 -1
- package/fesm2020/ng-atomic-components-frames-auto-layout.mjs +2 -2
- package/fesm2020/ng-atomic-components-frames-drawer.mjs +11 -3
- package/fesm2020/ng-atomic-components-frames-drawer.mjs.map +1 -1
- package/fesm2020/ng-atomic-components-frames-line-up.mjs +2 -2
- package/fesm2020/ng-atomic-components-frames-overlay.mjs +2 -2
- package/fesm2020/ng-atomic-components-frames-scroll.mjs +2 -2
- package/fesm2020/ng-atomic-components-frames-smart-menu.mjs +2 -2
- package/fesm2020/ng-atomic-components-molecules-date-input-field.mjs +2 -2
- package/fesm2020/ng-atomic-components-molecules-select-input-field.mjs +2 -2
- package/fesm2020/ng-atomic-components-molecules-smart-column.mjs +11 -25
- package/fesm2020/ng-atomic-components-molecules-smart-column.mjs.map +1 -1
- package/fesm2020/ng-atomic-components-organisms-action-buttons-section.mjs +2 -2
- package/fesm2020/ng-atomic-components-organisms-back-navigator.mjs +2 -2
- package/fesm2020/ng-atomic-components-organisms-card-input-section.mjs +2 -2
- package/fesm2020/ng-atomic-components-organisms-cvc-and-exp-input-section.mjs +2 -2
- package/fesm2020/ng-atomic-components-organisms-date-input-section.mjs +2 -2
- package/fesm2020/ng-atomic-components-organisms-heading.mjs +2 -2
- package/fesm2020/ng-atomic-components-organisms-navigation-list.mjs +2 -2
- package/fesm2020/ng-atomic-components-organisms-navigator.mjs +11 -11
- package/fesm2020/ng-atomic-components-organisms-navigator.mjs.map +1 -1
- package/fesm2020/ng-atomic-components-organisms-select-input-section.mjs +2 -2
- package/fesm2020/ng-atomic-components-organisms-smart-list.mjs +141 -0
- package/fesm2020/ng-atomic-components-organisms-smart-list.mjs.map +1 -0
- package/fesm2020/ng-atomic-components-organisms-smart-table.mjs +17 -23
- package/fesm2020/ng-atomic-components-organisms-smart-table.mjs.map +1 -1
- package/fesm2020/ng-atomic-components-organisms-social-login-section.mjs +2 -2
- package/fesm2020/ng-atomic-components-organisms-text-input-section.mjs +2 -2
- package/fesm2020/ng-atomic-components-organisms-textarea-section.mjs +2 -2
- package/fesm2020/ng-atomic-components-organisms-top-navigator.mjs +2 -2
- package/fesm2020/ng-atomic-components-templates-entrance.mjs +2 -2
- package/fesm2020/ng-atomic-components-templates-menu.mjs +2 -2
- package/fesm2020/ng-atomic-components-templates-smart-crud.mjs +14 -42
- package/fesm2020/ng-atomic-components-templates-smart-crud.mjs.map +1 -1
- package/fesm2020/ng-atomic-components-templates-smart-index.mjs +57 -28
- package/fesm2020/ng-atomic-components-templates-smart-index.mjs.map +1 -1
- package/frames/drawer/drawer.frame.d.ts +3 -1
- package/frames/drawer/drawer.frame.d.ts.map +1 -1
- package/molecules/smart-column/smart-column.module.d.ts +6 -10
- package/molecules/smart-column/smart-column.module.d.ts.map +1 -1
- package/molecules/smart-column/smart-column.molecule.d.ts +0 -1
- package/molecules/smart-column/smart-column.molecule.d.ts.map +1 -1
- package/organisms/navigator/navigator.organism.d.ts +4 -4
- package/organisms/navigator/navigator.organism.d.ts.map +1 -1
- package/organisms/smart-list/index.d.ts +3 -0
- package/organisms/smart-list/index.d.ts.map +1 -0
- package/organisms/smart-list/ng-atomic-components-organisms-smart-list.d.ts.map +1 -0
- package/organisms/smart-list/smart-list.module.d.ts +13 -0
- package/organisms/smart-list/smart-list.module.d.ts.map +1 -0
- package/organisms/smart-list/smart-list.organism.d.ts +22 -0
- package/organisms/smart-list/smart-list.organism.d.ts.map +1 -0
- package/organisms/smart-table/smart-table.organism.d.ts +12 -10
- package/organisms/smart-table/smart-table.organism.d.ts.map +1 -1
- package/package.json +12 -3
- package/templates/smart-crud/smart-crud.template.d.ts +6 -16
- package/templates/smart-crud/smart-crud.template.d.ts.map +1 -1
- package/templates/smart-index/smart-index.module.d.ts +4 -3
- package/templates/smart-index/smart-index.module.d.ts.map +1 -1
- package/templates/smart-index/smart-index.template.d.ts +6 -10
- package/templates/smart-index/smart-index.template.d.ts.map +1 -1
|
@@ -6,27 +6,55 @@ import * as i2 from '@ng-atomic/components/frames/auto-layout';
|
|
|
6
6
|
import { AutoLayoutModule } from '@ng-atomic/components/frames/auto-layout';
|
|
7
7
|
import * as i3 from '@ng-atomic/components/frames/scroll';
|
|
8
8
|
import { ScrollModule } from '@ng-atomic/components/frames/scroll';
|
|
9
|
-
import * as
|
|
9
|
+
import * as i8 from '@ng-atomic/components/molecules/header';
|
|
10
10
|
import { HeaderModule } from '@ng-atomic/components/molecules/header';
|
|
11
11
|
import * as i5 from '@ng-atomic/components/organisms/smart-table';
|
|
12
12
|
import { SmartTableModule } from '@ng-atomic/components/organisms/smart-table';
|
|
13
|
-
import * as i6 from '@ng-atomic/components/organisms/
|
|
13
|
+
import * as i6 from '@ng-atomic/components/organisms/smart-list';
|
|
14
|
+
import { SmartListModule } from '@ng-atomic/components/organisms/smart-list';
|
|
15
|
+
import * as i7 from '@ng-atomic/components/organisms/navigator';
|
|
14
16
|
import { NavigatorModule } from '@ng-atomic/components/organisms/navigator';
|
|
15
17
|
import * as i4 from '@ng-atomic/components/organisms/paginator';
|
|
16
18
|
import { PaginatorModule } from '@ng-atomic/components/organisms/paginator';
|
|
17
19
|
import '@angular/material/paginator';
|
|
18
20
|
import { FormControl } from '@ngneat/reactive-forms';
|
|
19
21
|
|
|
20
|
-
function
|
|
21
|
-
const
|
|
22
|
-
i0.ɵɵ
|
|
23
|
-
i0.ɵɵ
|
|
22
|
+
function SmartIndexTemplate_ng_container_4_Template(rf, ctx) { if (rf & 1) {
|
|
23
|
+
const _r3 = i0.ɵɵgetCurrentView();
|
|
24
|
+
i0.ɵɵelementContainerStart(0);
|
|
25
|
+
i0.ɵɵelementStart(1, "organisms-smart-list", 4);
|
|
26
|
+
i0.ɵɵlistener("action", function SmartIndexTemplate_ng_container_4_Template_organisms_smart_list_action_1_listener($event) { i0.ɵɵrestoreView(_r3); const ctx_r2 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r2.action.emit($event)); });
|
|
24
27
|
i0.ɵɵelementEnd();
|
|
28
|
+
i0.ɵɵelementContainerEnd();
|
|
25
29
|
} if (rf & 2) {
|
|
26
30
|
const ctx_r0 = i0.ɵɵnextContext();
|
|
27
|
-
i0.ɵɵ
|
|
31
|
+
i0.ɵɵadvance(1);
|
|
32
|
+
i0.ɵɵproperty("items", ctx_r0.items);
|
|
33
|
+
} }
|
|
34
|
+
function SmartIndexTemplate_ng_container_5_organisms_paginator_2_Template(rf, ctx) { if (rf & 1) {
|
|
35
|
+
const _r6 = i0.ɵɵgetCurrentView();
|
|
36
|
+
i0.ɵɵelementStart(0, "organisms-paginator", 7);
|
|
37
|
+
i0.ɵɵlistener("pageChange", function SmartIndexTemplate_ng_container_5_organisms_paginator_2_Template_organisms_paginator_pageChange_0_listener($event) { i0.ɵɵrestoreView(_r6); const ctx_r5 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r5.pageChange.emit($event)); });
|
|
38
|
+
i0.ɵɵelementEnd();
|
|
39
|
+
} if (rf & 2) {
|
|
40
|
+
const ctx_r4 = i0.ɵɵnextContext(2);
|
|
41
|
+
i0.ɵɵproperty("control", ctx_r4.queryControl)("page", ctx_r4.page)("pageSizeOptions", ctx_r4.pageSizeOptions)("placeholder", ctx_r4.queryPlaceholder);
|
|
42
|
+
} }
|
|
43
|
+
function SmartIndexTemplate_ng_container_5_Template(rf, ctx) { if (rf & 1) {
|
|
44
|
+
const _r8 = i0.ɵɵgetCurrentView();
|
|
45
|
+
i0.ɵɵelementContainerStart(0);
|
|
46
|
+
i0.ɵɵelementStart(1, "organisms-smart-table", 5);
|
|
47
|
+
i0.ɵɵlistener("action", function SmartIndexTemplate_ng_container_5_Template_organisms_smart_table_action_1_listener($event) { i0.ɵɵrestoreView(_r8); const ctx_r7 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r7.action.emit($event)); })("checkboxClick", function SmartIndexTemplate_ng_container_5_Template_organisms_smart_table_checkboxClick_1_listener($event) { i0.ɵɵrestoreView(_r8); const ctx_r9 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r9.checkboxClick.emit($event)); })("headerClick", function SmartIndexTemplate_ng_container_5_Template_organisms_smart_table_headerClick_1_listener($event) { i0.ɵɵrestoreView(_r8); const ctx_r10 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r10.action.emit({ id: ctx_r10.ActionId.TABLE_HEADER_CLICK, payload: $event })); });
|
|
48
|
+
i0.ɵɵelementEnd();
|
|
49
|
+
i0.ɵɵtemplate(2, SmartIndexTemplate_ng_container_5_organisms_paginator_2_Template, 1, 4, "organisms-paginator", 6);
|
|
50
|
+
i0.ɵɵelementContainerEnd();
|
|
51
|
+
} if (rf & 2) {
|
|
52
|
+
const ctx_r1 = i0.ɵɵnextContext();
|
|
53
|
+
i0.ɵɵadvance(1);
|
|
54
|
+
i0.ɵɵproperty("items", ctx_r1.items)("itemActions", ctx_r1.itemActions)("columns", ctx_r1.properties)("selectedIdSet", ctx_r1.selectedIdSet)("sortKey", ctx_r1.sortKey)("sortOrder", ctx_r1.sortOrder);
|
|
55
|
+
i0.ɵɵadvance(1);
|
|
56
|
+
i0.ɵɵproperty("ngIf", ctx_r1.page);
|
|
28
57
|
} }
|
|
29
|
-
const _c0 = function () { return []; };
|
|
30
58
|
var ActionId;
|
|
31
59
|
(function (ActionId) {
|
|
32
60
|
ActionId["BACK"] = "[@ng-atomic/components/templates/smart-index] Back";
|
|
@@ -35,13 +63,12 @@ var ActionId;
|
|
|
35
63
|
class SmartIndexTemplate {
|
|
36
64
|
constructor() {
|
|
37
65
|
this.ActionId = ActionId;
|
|
38
|
-
this.canBack = false;
|
|
39
66
|
this.queryControl = new FormControl('');
|
|
40
67
|
this.title = '';
|
|
41
68
|
this.items = [];
|
|
42
|
-
this.rowMenuItems = [];
|
|
43
69
|
this.itemActions = () => [];
|
|
44
|
-
this.
|
|
70
|
+
this.navStartActions = [{ id: ActionId.BACK, icon: 'arrow_back' }];
|
|
71
|
+
this.navEndActions = [];
|
|
45
72
|
this.properties = [];
|
|
46
73
|
this.selectedIdSet = new Set();
|
|
47
74
|
this.page = {
|
|
@@ -51,11 +78,11 @@ class SmartIndexTemplate {
|
|
|
51
78
|
};
|
|
52
79
|
this.pageSizeOptions = [5, 10, 25, 100];
|
|
53
80
|
this.queryPlaceholder = '';
|
|
81
|
+
this.device = 'sp';
|
|
54
82
|
this.action = new EventEmitter();
|
|
55
83
|
this.backButtonClick = new EventEmitter();
|
|
56
84
|
this.checkboxClick = new EventEmitter();
|
|
57
85
|
this.pageChange = new EventEmitter();
|
|
58
|
-
this.navigatorLeftItems = [{ id: ActionId.BACK, icon: 'arrow_back' }];
|
|
59
86
|
}
|
|
60
87
|
onAction(action) {
|
|
61
88
|
switch (action.id) {
|
|
@@ -64,32 +91,29 @@ class SmartIndexTemplate {
|
|
|
64
91
|
}
|
|
65
92
|
}
|
|
66
93
|
SmartIndexTemplate.ɵfac = function SmartIndexTemplate_Factory(t) { return new (t || SmartIndexTemplate)(); };
|
|
67
|
-
SmartIndexTemplate.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: SmartIndexTemplate, selectors: [["templates-smart-index"]], hostAttrs: [1, "template"], inputs: {
|
|
94
|
+
SmartIndexTemplate.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: SmartIndexTemplate, selectors: [["templates-smart-index"]], hostAttrs: [1, "template"], inputs: { queryControl: "queryControl", title: "title", description: "description", items: "items", itemActions: "itemActions", navStartActions: "navStartActions", navEndActions: "navEndActions", properties: "properties", selectedIdSet: "selectedIdSet", sortKey: "sortKey", sortOrder: "sortOrder", page: "page", pageSizeOptions: "pageSizeOptions", queryPlaceholder: "queryPlaceholder", device: "device" }, outputs: { action: "action", backButtonClick: "backButtonClick", checkboxClick: "checkboxClick", pageChange: "pageChange" }, decls: 6, vars: 6, consts: [["navigator", "", 3, "startActions", "endActions", "action"], [3, "title", "description"], ["vertical", "", "contents", ""], [4, "ngIf"], [3, "items", "action"], [3, "items", "itemActions", "columns", "selectedIdSet", "sortKey", "sortOrder", "action", "checkboxClick", "headerClick"], [3, "control", "page", "pageSizeOptions", "placeholder", "pageChange", 4, "ngIf"], [3, "control", "page", "pageSizeOptions", "placeholder", "pageChange"]], template: function SmartIndexTemplate_Template(rf, ctx) { if (rf & 1) {
|
|
68
95
|
i0.ɵɵelementStart(0, "frames-scroll")(1, "organisms-navigator", 0);
|
|
69
96
|
i0.ɵɵlistener("action", function SmartIndexTemplate_Template_organisms_navigator_action_1_listener($event) { return ctx.onAction($event); });
|
|
70
97
|
i0.ɵɵelement(2, "molecules-header", 1);
|
|
71
98
|
i0.ɵɵelementEnd();
|
|
72
|
-
i0.ɵɵelementStart(3, "frames-auto-layout", 2)
|
|
73
|
-
i0.ɵɵ
|
|
74
|
-
i0.ɵɵ
|
|
75
|
-
i0.ɵɵtemplate(5, SmartIndexTemplate_organisms_paginator_5_Template, 1, 4, "organisms-paginator", 4);
|
|
99
|
+
i0.ɵɵelementStart(3, "frames-auto-layout", 2);
|
|
100
|
+
i0.ɵɵtemplate(4, SmartIndexTemplate_ng_container_4_Template, 2, 1, "ng-container", 3);
|
|
101
|
+
i0.ɵɵtemplate(5, SmartIndexTemplate_ng_container_5_Template, 3, 7, "ng-container", 3);
|
|
76
102
|
i0.ɵɵelementEnd()();
|
|
77
103
|
} if (rf & 2) {
|
|
78
104
|
i0.ɵɵadvance(1);
|
|
79
|
-
i0.ɵɵproperty("
|
|
105
|
+
i0.ɵɵproperty("startActions", ctx.navStartActions)("endActions", ctx.navEndActions);
|
|
80
106
|
i0.ɵɵadvance(1);
|
|
81
107
|
i0.ɵɵproperty("title", ctx.title)("description", ctx.description);
|
|
82
108
|
i0.ɵɵadvance(2);
|
|
83
|
-
i0.ɵɵproperty("
|
|
109
|
+
i0.ɵɵproperty("ngIf", ctx.device === "sp");
|
|
84
110
|
i0.ɵɵadvance(1);
|
|
85
|
-
i0.ɵɵproperty("ngIf", ctx.
|
|
86
|
-
} }, dependencies: [i1.NgIf, i2.AutoLayoutFrame, i3.ScrollFrame, i4.PaginatorOrganism, i5.SmartTableOrganism, i6.
|
|
111
|
+
i0.ɵɵproperty("ngIf", ctx.device !== "sp");
|
|
112
|
+
} }, dependencies: [i1.NgIf, i2.AutoLayoutFrame, i3.ScrollFrame, i4.PaginatorOrganism, i5.SmartTableOrganism, i6.SmartListOrganism, i7.NavigatorOrganism, i8.HeaderMolecule], styles: ["[_nghost-%COMP%]{--navigator-height: 56px;--navigator-height-SCOPED-IN-smart-index-2PHY: var(--navigator-height)}[_nghost-%COMP%]{width:100%;height:100%;background:white;display:block}[_nghost-%COMP%] frames-auto-layout[_ngcontent-%COMP%]{--gap: 0;--vertical-padding: 0}"], changeDetection: 0 });
|
|
87
113
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SmartIndexTemplate, [{
|
|
88
114
|
type: Component,
|
|
89
|
-
args: [{ selector: 'templates-smart-index', changeDetection: ChangeDetectionStrategy.OnPush, host: { class: 'template' }, template: "<frames-scroll>\n <organisms-navigator\n [
|
|
90
|
-
}], null, {
|
|
91
|
-
type: Input
|
|
92
|
-
}], queryControl: [{
|
|
115
|
+
args: [{ selector: 'templates-smart-index', changeDetection: ChangeDetectionStrategy.OnPush, host: { class: 'template' }, template: "<frames-scroll>\n <organisms-navigator\n [startActions]=\"navStartActions\"\n [endActions]=\"navEndActions\"\n (action)=\"onAction($event)\"\n navigator\n >\n <molecules-header [title]=\"title\" [description]=\"description\"></molecules-header>\n </organisms-navigator>\n <frames-auto-layout vertical contents>\n <ng-container *ngIf=\"device === 'sp'\">\n <organisms-smart-list\n [items]=\"items\"\n (action)=\"action.emit($event)\"\n ></organisms-smart-list>\n </ng-container>\n <ng-container *ngIf=\"device !== 'sp'\">\n <organisms-smart-table\n [items]=\"items\"\n [itemActions]=\"itemActions\"\n [columns]=\"properties\"\n [selectedIdSet]=\"selectedIdSet\"\n [sortKey]=\"sortKey\"\n [sortOrder]=\"sortOrder\"\n (action)=\"action.emit($event)\"\n (checkboxClick)=\"checkboxClick.emit($event)\"\n (headerClick)=\"action.emit({id: ActionId.TABLE_HEADER_CLICK, payload: $event})\"\n ></organisms-smart-table>\n <organisms-paginator\n *ngIf=\"page\"\n [control]=\"queryControl\"\n [page]=\"page\"\n [pageSizeOptions]=\"pageSizeOptions\"\n [placeholder]=\"queryPlaceholder\"\n (pageChange)=\"pageChange.emit($event)\"\n ></organisms-paginator>\n </ng-container>\n </frames-auto-layout>\n</frames-scroll>", styles: [":host{--navigator-height: 56px;--navigator-height-SCOPED-IN-smart-index-2PHY: var(--navigator-height)}:host{width:100%;height:100%;background:white;display:block}:host frames-auto-layout{--gap: 0;--vertical-padding: 0}\n"] }]
|
|
116
|
+
}], null, { queryControl: [{
|
|
93
117
|
type: Input
|
|
94
118
|
}], title: [{
|
|
95
119
|
type: Input
|
|
@@ -97,11 +121,11 @@ SmartIndexTemplate.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: SmartInd
|
|
|
97
121
|
type: Input
|
|
98
122
|
}], items: [{
|
|
99
123
|
type: Input
|
|
100
|
-
}], rowMenuItems: [{
|
|
101
|
-
type: Input
|
|
102
124
|
}], itemActions: [{
|
|
103
125
|
type: Input
|
|
104
|
-
}],
|
|
126
|
+
}], navStartActions: [{
|
|
127
|
+
type: Input
|
|
128
|
+
}], navEndActions: [{
|
|
105
129
|
type: Input
|
|
106
130
|
}], properties: [{
|
|
107
131
|
type: Input
|
|
@@ -117,6 +141,8 @@ SmartIndexTemplate.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: SmartInd
|
|
|
117
141
|
type: Input
|
|
118
142
|
}], queryPlaceholder: [{
|
|
119
143
|
type: Input
|
|
144
|
+
}], device: [{
|
|
145
|
+
type: Input
|
|
120
146
|
}], action: [{
|
|
121
147
|
type: Output
|
|
122
148
|
}], backButtonClick: [{
|
|
@@ -138,6 +164,7 @@ SmartIndexModule.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ imports: [CommonM
|
|
|
138
164
|
// Organisms
|
|
139
165
|
PaginatorModule,
|
|
140
166
|
SmartTableModule,
|
|
167
|
+
SmartListModule,
|
|
141
168
|
NavigatorModule,
|
|
142
169
|
// Molecules
|
|
143
170
|
HeaderModule] });
|
|
@@ -155,6 +182,7 @@ SmartIndexModule.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ imports: [CommonM
|
|
|
155
182
|
// Organisms
|
|
156
183
|
PaginatorModule,
|
|
157
184
|
SmartTableModule,
|
|
185
|
+
SmartListModule,
|
|
158
186
|
NavigatorModule,
|
|
159
187
|
// Molecules
|
|
160
188
|
HeaderModule,
|
|
@@ -171,6 +199,7 @@ SmartIndexModule.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ imports: [CommonM
|
|
|
171
199
|
// Organisms
|
|
172
200
|
PaginatorModule,
|
|
173
201
|
SmartTableModule,
|
|
202
|
+
SmartListModule,
|
|
174
203
|
NavigatorModule,
|
|
175
204
|
// Molecules
|
|
176
205
|
HeaderModule], exports: [SmartIndexTemplate] }); })();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ng-atomic-components-templates-smart-index.mjs","sources":["../../../../libs/components/src/templates/smart-index/smart-index.template.html","../../../../libs/components/src/templates/smart-index/smart-index.template.ts","../../../../libs/components/src/templates/smart-index/smart-index.module.ts","../../../../libs/components/src/templates/smart-index/ng-atomic-components-templates-smart-index.ts"],"sourcesContent":["<frames-scroll>\n <organisms-navigator\n [leftItems]=\"canBack ? navigatorLeftItems : []\"\n [rightItems]=\"navigatorMenuItems\"\n (action)=\"onAction($event)\"\n navigator\n >\n <molecules-header [title]=\"title\" [description]=\"description\"></molecules-header>\n </organisms-navigator>\n <frames-auto-layout vertical contents>\n <organisms-smart-table\n [items]=\"items\"\n [menuItems]=\"rowMenuItems\"\n [itemActions]=\"itemActions\"\n [columns]=\"properties\"\n [selectedIdSet]=\"selectedIdSet\"\n [sortKey]=\"sortKey\"\n [sortOrder]=\"sortOrder\"\n (action)=\"action.emit($event)\"\n (checkboxClick)=\"checkboxClick.emit($event)\"\n (headerClick)=\"action.emit({id: ActionId.TABLE_HEADER_CLICK, payload: $event})\"\n ></organisms-smart-table>\n <organisms-paginator\n *ngIf=\"page\"\n [control]=\"queryControl\"\n [page]=\"page\"\n [pageSizeOptions]=\"pageSizeOptions\"\n [placeholder]=\"queryPlaceholder\"\n (pageChange)=\"pageChange.emit($event)\"\n ></organisms-paginator>\n </frames-auto-layout>\n</frames-scroll>","import { ChangeDetectionStrategy, Component, EventEmitter, Input, Output } from '@angular/core';\nimport { PageEvent } from '@angular/material/paginator';\nimport { Action, ActionItem } from '@ng-atomic/common/models';\nimport { FormControl } from '@ngneat/reactive-forms';\n\nexport enum ActionId {\n BACK = '[@ng-atomic/components/templates/smart-index] Back',\n TABLE_HEADER_CLICK = '[@ng-atomic/components/templates/smart-index] Table Header Click',\n}\n\n@Component({\n selector: 'templates-smart-index',\n templateUrl: './smart-index.template.html',\n styleUrls: ['./smart-index.template.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n host: { class: 'template' },\n})\nexport class SmartIndexTemplate<T> {\n protected ActionId = ActionId;\n\n @Input()\n canBack = false;\n\n @Input()\n queryControl = new FormControl<string>('');\n\n @Input()\n title: string = '';\n\n @Input()\n description?: string;\n\n @Input()\n items: T[] = [];\n\n @Input()\n rowMenuItems: ActionItem[] = [];\n\n @Input()\n itemActions: (item: T) => ActionItem[] = () => [];\n\n @Input()\n navigatorMenuItems: ActionItem[] = [];\n\n @Input()\n properties: (keyof T)[] = [];\n\n @Input()\n selectedIdSet = new Set<string>();\n\n @Input()\n sortKey?: string;\n\n @Input()\n sortOrder?: string;\n\n @Input()\n page?: PageEvent = {\n pageIndex: 0,\n pageSize: 20,\n length: 100,\n };\n\n @Input()\n pageSizeOptions: number[] = [5, 10, 25, 100];\n\n @Input()\n queryPlaceholder = '';\n\n @Output()\n action = new EventEmitter<Action>();\n\n @Output()\n backButtonClick = new EventEmitter();\n\n @Output()\n checkboxClick = new EventEmitter<T>();\n\n @Output()\n pageChange = new EventEmitter<PageEvent>();\n\n navigatorLeftItems = [{ id: ActionId.BACK, icon: 'arrow_back' }];\n\n onAction(action: Action): void {\n switch(action.id) {\n default: return this.action.emit(action);\n }\n }\n}\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { AutoLayoutModule } from '@ng-atomic/components/frames/auto-layout';\nimport { ScrollModule } from '@ng-atomic/components/frames/scroll';\nimport { HeaderModule } from '@ng-atomic/components/molecules/header';\nimport { SmartTableModule } from '@ng-atomic/components/organisms/smart-table';\nimport { NavigatorModule } from '@ng-atomic/components/organisms/navigator';\nimport { PaginatorModule } from '@ng-atomic/components/organisms/paginator';\n\nimport { SmartIndexTemplate } from './smart-index.template';\n\n\n@NgModule({\n declarations: [\n SmartIndexTemplate\n ],\n imports: [\n CommonModule,\n // Frames\n AutoLayoutModule,\n ScrollModule,\n // Organisms\n PaginatorModule,\n SmartTableModule,\n NavigatorModule,\n // Molecules\n HeaderModule,\n ],\n exports: [\n SmartIndexTemplate\n ]\n})\nexport class SmartIndexModule { }\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;IAsBI,EAOC,CAAA,cAAA,CAAA,CAAA,EAAA,qBAAA,EAAA,CAAA,CAAA,CAAA;IADC,EAAc,CAAA,UAAA,CAAA,YAAA,EAAA,SAAA,2FAAA,CAAA,MAAA,EAAA,EAAA,EAAA,CAAA,aAAA,CAAA,GAAA,CAAA,CAAA,CAAA,MAAA,MAAA,GAAA,EAAA,CAAA,aAAA,EAAA,CAAA,CAAA,OAAA,EAAA,CAAA,WAAA,CAAA,MAAuB,CAAA,UAAA,CAAA,IAAA,CAAA,MAAA,CAAA,CAAA,CAAC,EAAA,CAAA,CAAA;IACvC,EAAsB,CAAA,YAAA,EAAA,CAAA;;;IALrB,EAAwB,CAAA,UAAA,CAAA,SAAA,EAAA,MAAA,CAAA,YAAA,CAAA,CAAA,MAAA,EAAA,MAAA,CAAA,IAAA,CAAA,2CAAA,CAAA,aAAA,EAAA,MAAA,CAAA,gBAAA,CAAA,CAAA;;;ICnBlB,SAGX;AAHD,CAAA,UAAY,QAAQ,EAAA;AAClB,IAAA,QAAA,CAAA,MAAA,CAAA,GAAA,oDAA2D,CAAA;AAC3D,IAAA,QAAA,CAAA,oBAAA,CAAA,GAAA,kEAAuF,CAAA;AACzF,CAAC,EAHW,QAAQ,KAAR,QAAQ,GAGnB,EAAA,CAAA,CAAA,CAAA;MASY,kBAAkB,CAAA;AAP/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,eAAe;QACf,gBAAgB;QAChB,eAAe;;AAEf,QAAA,YAAY,aAGZ,kBAAkB,CAAA,EAAA,CAAA,CAAA,EAAA,GAAA;;AC7BtB;;AAEG;;;;"}
|
|
1
|
+
{"version":3,"file":"ng-atomic-components-templates-smart-index.mjs","sources":["../../../../libs/components/src/templates/smart-index/smart-index.template.html","../../../../libs/components/src/templates/smart-index/smart-index.template.ts","../../../../libs/components/src/templates/smart-index/smart-index.module.ts","../../../../libs/components/src/templates/smart-index/ng-atomic-components-templates-smart-index.ts"],"sourcesContent":["<frames-scroll>\n <organisms-navigator\n [startActions]=\"navStartActions\"\n [endActions]=\"navEndActions\"\n (action)=\"onAction($event)\"\n navigator\n >\n <molecules-header [title]=\"title\" [description]=\"description\"></molecules-header>\n </organisms-navigator>\n <frames-auto-layout vertical contents>\n <ng-container *ngIf=\"device === 'sp'\">\n <organisms-smart-list\n [items]=\"items\"\n (action)=\"action.emit($event)\"\n ></organisms-smart-list>\n </ng-container>\n <ng-container *ngIf=\"device !== 'sp'\">\n <organisms-smart-table\n [items]=\"items\"\n [itemActions]=\"itemActions\"\n [columns]=\"properties\"\n [selectedIdSet]=\"selectedIdSet\"\n [sortKey]=\"sortKey\"\n [sortOrder]=\"sortOrder\"\n (action)=\"action.emit($event)\"\n (checkboxClick)=\"checkboxClick.emit($event)\"\n (headerClick)=\"action.emit({id: ActionId.TABLE_HEADER_CLICK, payload: $event})\"\n ></organisms-smart-table>\n <organisms-paginator\n *ngIf=\"page\"\n [control]=\"queryControl\"\n [page]=\"page\"\n [pageSizeOptions]=\"pageSizeOptions\"\n [placeholder]=\"queryPlaceholder\"\n (pageChange)=\"pageChange.emit($event)\"\n ></organisms-paginator>\n </ng-container>\n </frames-auto-layout>\n</frames-scroll>","import { ChangeDetectionStrategy, Component, EventEmitter, Input, Output } from '@angular/core';\nimport { PageEvent } from '@angular/material/paginator';\nimport { Action } from '@ng-atomic/common/models';\nimport { FormControl } from '@ngneat/reactive-forms';\n\nexport enum ActionId {\n BACK = '[@ng-atomic/components/templates/smart-index] Back',\n TABLE_HEADER_CLICK = '[@ng-atomic/components/templates/smart-index] Table Header Click',\n}\n\n@Component({\n selector: 'templates-smart-index',\n templateUrl: './smart-index.template.html',\n styleUrls: ['./smart-index.template.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n host: { class: 'template' },\n})\nexport class SmartIndexTemplate<T> {\n protected ActionId = ActionId;\n\n @Input()\n queryControl = new FormControl<string>('');\n\n @Input()\n title: string = '';\n\n @Input()\n description?: string;\n\n @Input()\n items: T[] = [];\n\n @Input()\n itemActions: (item: T) => Action[] = () => [];\n\n @Input()\n navStartActions: Action[] = [{ id: ActionId.BACK, icon: 'arrow_back' }];\n\n @Input()\n navEndActions: Action[] = [];\n\n @Input()\n properties: (keyof T)[] = [];\n\n @Input()\n selectedIdSet = new Set<string>();\n\n @Input()\n sortKey?: string;\n\n @Input()\n sortOrder?: string;\n\n @Input()\n page?: PageEvent = {\n pageIndex: 0,\n pageSize: 20,\n length: 100,\n };\n\n @Input()\n pageSizeOptions: number[] = [5, 10, 25, 100];\n\n @Input()\n queryPlaceholder = '';\n\n @Input()\n device: 'sp' | 'tablet' | 'pc' = 'sp';\n\n @Output()\n action = new EventEmitter<Action>();\n\n @Output()\n backButtonClick = new EventEmitter();\n\n @Output()\n checkboxClick = new EventEmitter<T>();\n\n @Output()\n pageChange = new EventEmitter<PageEvent>();\n\n onAction(action: Action): void {\n switch(action.id) {\n default: return this.action.emit(action);\n }\n }\n}\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { AutoLayoutModule } from '@ng-atomic/components/frames/auto-layout';\nimport { ScrollModule } from '@ng-atomic/components/frames/scroll';\nimport { HeaderModule } from '@ng-atomic/components/molecules/header';\nimport { SmartTableModule } from '@ng-atomic/components/organisms/smart-table';\nimport { SmartListModule } from '@ng-atomic/components/organisms/smart-list';\nimport { NavigatorModule } from '@ng-atomic/components/organisms/navigator';\nimport { PaginatorModule } from '@ng-atomic/components/organisms/paginator';\n\nimport { SmartIndexTemplate } from './smart-index.template';\n\n\n@NgModule({\n declarations: [\n SmartIndexTemplate\n ],\n imports: [\n CommonModule,\n // Frames\n AutoLayoutModule,\n ScrollModule,\n // Organisms\n PaginatorModule,\n SmartTableModule,\n SmartListModule,\n NavigatorModule,\n // Molecules\n HeaderModule,\n ],\n exports: [\n SmartIndexTemplate\n ]\n})\nexport class SmartIndexModule { }\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;IAUI,EAAsC,CAAA,uBAAA,CAAA,CAAA,CAAA,CAAA;IACpC,EAGC,CAAA,cAAA,CAAA,CAAA,EAAA,sBAAA,EAAA,CAAA,CAAA,CAAA;IADC,EAAU,CAAA,UAAA,CAAA,QAAA,EAAA,SAAA,iFAAA,CAAA,MAAA,EAAA,EAAA,EAAA,CAAA,aAAA,CAAA,GAAA,CAAA,CAAA,CAAA,MAAA,MAAA,GAAA,EAAA,CAAA,aAAA,EAAA,CAAA,CAAA,OAAA,EAAA,CAAA,WAAA,CAAA,MAAmB,CAAA,MAAA,CAAA,IAAA,CAAA,MAAA,CAAA,CAAA,CAAC,EAAA,CAAA,CAAA;IAC/B,EAAuB,CAAA,YAAA,EAAA,CAAA;IAC1B,EAAe,CAAA,qBAAA,EAAA,CAAA;;;IAHX,EAAe,CAAA,SAAA,CAAA,CAAA,CAAA,CAAA;IAAf,EAAe,CAAA,UAAA,CAAA,OAAA,EAAA,MAAA,CAAA,KAAA,CAAA,CAAA;;;;IAgBjB,EAOC,CAAA,cAAA,CAAA,CAAA,EAAA,qBAAA,EAAA,CAAA,CAAA,CAAA;IADC,EAAc,CAAA,UAAA,CAAA,YAAA,EAAA,SAAA,0GAAA,CAAA,MAAA,EAAA,EAAA,EAAA,CAAA,aAAA,CAAA,GAAA,CAAA,CAAA,CAAA,MAAA,MAAA,GAAA,EAAA,CAAA,aAAA,CAAA,CAAA,CA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;;QAEf,YAAY,CAAA,EAAA,CAAA,CAAA;uFAMH,gBAAgB,EAAA,CAAA;cArB5B,QAAQ;AAAC,QAAA,IAAA,EAAA,CAAA;AACR,gBAAA,YAAY,EAAE;oBACZ,kBAAkB;AACnB,iBAAA;AACD,gBAAA,OAAO,EAAE;oBACP,YAAY;;oBAEZ,gBAAgB;oBAChB,YAAY;;oBAEZ,eAAe;oBACf,gBAAgB;oBAChB,eAAe;oBACf,eAAe;;oBAEf,YAAY;AACb,iBAAA;AACD,gBAAA,OAAO,EAAE;oBACP,kBAAkB;AACnB,iBAAA;AACF,aAAA,CAAA;;wFACY,gBAAgB,EAAA,EAAA,YAAA,EAAA,CAnBzB,kBAAkB,CAAA,EAAA,OAAA,EAAA,CAGlB,YAAY;;QAEZ,gBAAgB;QAChB,YAAY;;QAEZ,eAAe;QACf,gBAAgB;QAChB,eAAe;QACf,eAAe;;AAEf,QAAA,YAAY,aAGZ,kBAAkB,CAAA,EAAA,CAAA,CAAA,EAAA,GAAA;;AC/BtB;;AAEG;;;;"}
|
|
@@ -1,10 +1,12 @@
|
|
|
1
|
+
import { AfterViewInit } from '@angular/core';
|
|
1
2
|
import { MatDrawer } from '@angular/material/sidenav';
|
|
2
3
|
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class DrawerFrame {
|
|
4
|
+
export declare class DrawerFrame implements AfterViewInit {
|
|
4
5
|
drawer: MatDrawer;
|
|
5
6
|
private _isOpen;
|
|
6
7
|
set isOpen(_isOpen: boolean);
|
|
7
8
|
get isOpen(): boolean;
|
|
9
|
+
ngAfterViewInit(): void;
|
|
8
10
|
static ɵfac: i0.ɵɵFactoryDeclaration<DrawerFrame, never>;
|
|
9
11
|
static ɵcmp: i0.ɵɵComponentDeclaration<DrawerFrame, "frames-drawer", never, { "isOpen": "isOpen"; }, {}, never, ["[drawer]", "[contents]"], false>;
|
|
10
12
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"drawer.frame.d.ts","sourceRoot":"","sources":["../../../../../libs/components/src/frames/drawer/drawer.frame.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"drawer.frame.d.ts","sourceRoot":"","sources":["../../../../../libs/components/src/frames/drawer/drawer.frame.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAwD,MAAM,eAAe,CAAC;AACpG,OAAO,EAAE,SAAS,EAAE,MAAM,2BAA2B,CAAC;;AAEtD,qBAMa,WAAY,YAAW,aAAa;IAG/C,MAAM,EAAG,SAAS,CAAC;IAEnB,OAAO,CAAC,OAAO,CAAS;IAExB,IACI,MAAM,CAAC,OAAO,EAAE,OAAO,EAK1B;IAED,IAAI,MAAM,IAAI,OAAO,CAEpB;IAED,eAAe;yCAnBJ,WAAW;2CAAX,WAAW;CA2BvB"}
|
|
@@ -3,18 +3,14 @@ import * as i1 from "./smart-column.molecule";
|
|
|
3
3
|
import * as i2 from "@angular/common";
|
|
4
4
|
import * as i3 from "@angular/cdk/clipboard";
|
|
5
5
|
import * as i4 from "@ng-atomic/common/pipes/smart-exp";
|
|
6
|
-
import * as i5 from "@
|
|
7
|
-
import * as i6 from "@angular/material/
|
|
8
|
-
import * as i7 from "@angular/material/
|
|
9
|
-
import * as i8 from "@angular/material/
|
|
10
|
-
|
|
11
|
-
transform(data: any, name: string): string;
|
|
12
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<DataAccessorPipe, never>;
|
|
13
|
-
static ɵpipe: i0.ɵɵPipeDeclaration<DataAccessorPipe, "dataAccessor", false>;
|
|
14
|
-
}
|
|
6
|
+
import * as i5 from "@ng-atomic/common/pipes/data-accessor";
|
|
7
|
+
import * as i6 from "@angular/material/button";
|
|
8
|
+
import * as i7 from "@angular/material/icon";
|
|
9
|
+
import * as i8 from "@angular/material/table";
|
|
10
|
+
import * as i9 from "@angular/material/tooltip";
|
|
15
11
|
export declare class SmartColumnModule {
|
|
16
12
|
static ɵfac: i0.ɵɵFactoryDeclaration<SmartColumnModule, never>;
|
|
17
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<SmartColumnModule, [typeof i1.SmartColumnMolecule
|
|
13
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<SmartColumnModule, [typeof i1.SmartColumnMolecule], [typeof i2.CommonModule, typeof i3.ClipboardModule, typeof i4.SmartExpModule, typeof i5.DataAccessorPipe, typeof i6.MatButtonModule, typeof i7.MatIconModule, typeof i8.MatTableModule, typeof i9.MatTooltipModule], [typeof i1.SmartColumnMolecule]>;
|
|
18
14
|
static ɵinj: i0.ɵɵInjectorDeclaration<SmartColumnModule>;
|
|
19
15
|
}
|
|
20
16
|
//# sourceMappingURL=smart-column.module.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"smart-column.module.d.ts","sourceRoot":"","sources":["../../../../../libs/components/src/molecules/smart-column/smart-column.module.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"smart-column.module.d.ts","sourceRoot":"","sources":["../../../../../libs/components/src/molecules/smart-column/smart-column.module.ts"],"names":[],"mappings":";;;;;;;;;;AAWA,qBAmBa,iBAAiB;yCAAjB,iBAAiB;0CAAjB,iBAAiB;0CAAjB,iBAAiB;CAAI"}
|
|
@@ -2,7 +2,6 @@ import { EventEmitter } from '@angular/core';
|
|
|
2
2
|
import { MatTextColumn } from '@angular/material/table';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
export declare class SmartColumnMolecule<T> extends MatTextColumn<T> {
|
|
5
|
-
dataAccessor: () => string;
|
|
6
5
|
sort: 'asc' | 'desc' | 'none';
|
|
7
6
|
headerClick: EventEmitter<void>;
|
|
8
7
|
text: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"smart-column.molecule.d.ts","sourceRoot":"","sources":["../../../../../libs/components/src/molecules/smart-column/smart-column.molecule.ts"],"names":[],"mappings":"AAAA,OAAO,EAA0C,YAAY,
|
|
1
|
+
{"version":3,"file":"smart-column.molecule.d.ts","sourceRoot":"","sources":["../../../../../libs/components/src/molecules/smart-column/smart-column.molecule.ts"],"names":[],"mappings":"AAAA,OAAO,EAA0C,YAAY,EAAqE,MAAM,eAAe,CAAC;AACxJ,OAAO,EAAgB,aAAa,EAAE,MAAM,yBAAyB,CAAC;;AAEtE,qBAOa,mBAAmB,CAAC,CAAC,CAAE,SAAQ,aAAa,CAAC,CAAC,CAAC;IAG1D,IAAI,EAAE,KAAK,GAAG,MAAM,GAAG,MAAM,CAAU;IAGvC,WAAW,qBAA4B;IAEvC,IAAI,SAAU;IAEd,MAAM;yCAVK,mBAAmB;2CAAnB,mBAAmB;CAc/B"}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { EventEmitter } from '@angular/core';
|
|
2
|
-
import { Action
|
|
2
|
+
import { Action } from '@ng-atomic/common/models';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
export declare class NavigatorOrganism {
|
|
5
|
-
|
|
6
|
-
|
|
5
|
+
startActions: Action[];
|
|
6
|
+
endActions: Action[];
|
|
7
7
|
action: EventEmitter<Action<any>>;
|
|
8
8
|
static ɵfac: i0.ɵɵFactoryDeclaration<NavigatorOrganism, never>;
|
|
9
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<NavigatorOrganism, "organisms-navigator", never, { "
|
|
9
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NavigatorOrganism, "organisms-navigator", never, { "startActions": "startActions"; "endActions": "endActions"; }, { "action": "action"; }, never, ["*"], false>;
|
|
10
10
|
}
|
|
11
11
|
//# sourceMappingURL=navigator.organism.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"navigator.organism.d.ts","sourceRoot":"","sources":["../../../../../libs/components/src/organisms/navigator/navigator.organism.ts"],"names":[],"mappings":"AAAA,OAAO,EAAsC,YAAY,EAAiB,MAAM,eAAe,CAAC;AAChG,OAAO,EAAE,MAAM,EAAE,
|
|
1
|
+
{"version":3,"file":"navigator.organism.d.ts","sourceRoot":"","sources":["../../../../../libs/components/src/organisms/navigator/navigator.organism.ts"],"names":[],"mappings":"AAAA,OAAO,EAAsC,YAAY,EAAiB,MAAM,eAAe,CAAC;AAChG,OAAO,EAAE,MAAM,EAAE,MAAM,0BAA0B,CAAC;;AAElD,qBAMa,iBAAiB;IAE5B,YAAY,EAAE,MAAM,EAAE,CAAM;IAG5B,UAAU,EAAE,MAAM,EAAE,CAAM;IAG1B,MAAM,4BAA8B;yCARzB,iBAAiB;2CAAjB,iBAAiB;CAS7B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../libs/components/src/organisms/smart-list/index.ts"],"names":[],"mappings":"AAAA,cAAc,uBAAuB,CAAC;AACtC,cAAc,qBAAqB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ng-atomic-components-organisms-smart-list.d.ts","sourceRoot":"","sources":["../../../../../libs/components/src/organisms/smart-list/ng-atomic-components-organisms-smart-list.ts"],"names":[],"mappings":"AAAA;;GAEG;;AAEH,cAAc,SAAS,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./smart-list.organism";
|
|
3
|
+
import * as i2 from "@angular/common";
|
|
4
|
+
import * as i3 from "@angular/material/list";
|
|
5
|
+
import * as i4 from "@angular/material/icon";
|
|
6
|
+
import * as i5 from "@angular/material/core";
|
|
7
|
+
import * as i6 from "@ng-atomic/common/pipes/data-accessor";
|
|
8
|
+
export declare class SmartListModule {
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SmartListModule, never>;
|
|
10
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<SmartListModule, [typeof i1.SmartListOrganism], [typeof i2.CommonModule, typeof i3.MatListModule, typeof i4.MatIconModule, typeof i5.MatRippleModule, typeof i6.DataAccessorPipe], [typeof i1.SmartListOrganism]>;
|
|
11
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<SmartListModule>;
|
|
12
|
+
}
|
|
13
|
+
//# sourceMappingURL=smart-list.module.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"smart-list.module.d.ts","sourceRoot":"","sources":["../../../../../libs/components/src/organisms/smart-list/smart-list.module.ts"],"names":[],"mappings":";;;;;;;AAQA,qBAea,eAAe;yCAAf,eAAe;0CAAf,eAAe;0CAAf,eAAe;CAAI"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { EventEmitter } from '@angular/core';
|
|
2
|
+
import { Action } from '@ng-atomic/common/models';
|
|
3
|
+
import { DataAccessor } from '@ng-atomic/common/pipes/data-accessor';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare enum ActionId {
|
|
6
|
+
CLICK_ITEM = "[@ng-atomic/components/organisms/smart-list] Click Item"
|
|
7
|
+
}
|
|
8
|
+
export declare class SmartListOrganism<T> {
|
|
9
|
+
private dataAccessor;
|
|
10
|
+
constructor(dataAccessor: DataAccessor<T>);
|
|
11
|
+
statusAccessor: (data: any) => any;
|
|
12
|
+
items: T[];
|
|
13
|
+
action: EventEmitter<Action<any>>;
|
|
14
|
+
get statusMap(): {
|
|
15
|
+
[id: string]: any[];
|
|
16
|
+
};
|
|
17
|
+
get statuses(): string[];
|
|
18
|
+
protected onItemClick(item: T): void;
|
|
19
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SmartListOrganism<any>, [{ optional: true; }]>;
|
|
20
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SmartListOrganism<any>, "organisms-smart-list", never, { "items": "items"; }, { "action": "action"; }, never, never, false>;
|
|
21
|
+
}
|
|
22
|
+
//# sourceMappingURL=smart-list.organism.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"smart-list.organism.d.ts","sourceRoot":"","sources":["../../../../../libs/components/src/organisms/smart-list/smart-list.organism.ts"],"names":[],"mappings":"AAAA,OAAO,EAAsC,YAAY,EAAmC,MAAM,eAAe,CAAC;AAClH,OAAO,EAAE,MAAM,EAAE,MAAM,0BAA0B,CAAC;AAClD,OAAO,EAAE,YAAY,EAAsC,MAAM,uCAAuC,CAAC;;AAEzG,oBAAY,QAAQ;IAClB,UAAU,4DAA4D;CACvE;AAED,qBAMa,iBAAiB,CAAC,CAAC;IAGO,OAAO,CAAC,YAAY;gBAAZ,YAAY,EAAE,YAAY,CAAC,CAAC,CAAC;IAK1E,cAAc,qBAA4B;IAG1C,KAAK,EAAE,CAAC,EAAE,CAAM;IAGhB,MAAM,4BAA8B;IAEpC,IAAI,SAAS;;MAOZ;IAED,IAAI,QAAQ,aAEX;IAED,SAAS,CAAC,WAAW,CAAC,IAAI,EAAE,CAAC;yCA7BlB,iBAAiB;2CAAjB,iBAAiB;CAmC7B"}
|
|
@@ -1,24 +1,26 @@
|
|
|
1
1
|
import { EventEmitter } from '@angular/core';
|
|
2
|
-
import {
|
|
2
|
+
import { Actions, Action } from '@ng-atomic/common/models';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
|
+
interface Sort {
|
|
5
|
+
key?: string;
|
|
6
|
+
order?: 'desc' | 'asc';
|
|
7
|
+
}
|
|
4
8
|
export declare class SmartTableOrganism<Item extends object> {
|
|
5
|
-
|
|
6
|
-
get
|
|
9
|
+
_columns: (keyof Item)[];
|
|
10
|
+
get columns(): (keyof Item | string)[];
|
|
7
11
|
items: Item[];
|
|
8
|
-
itemActions:
|
|
9
|
-
patientsSize: number;
|
|
12
|
+
itemActions: Actions;
|
|
10
13
|
pageSize: number;
|
|
11
|
-
menuItems: ActionItem[];
|
|
12
14
|
selectedIdSet: Set<string>;
|
|
13
|
-
|
|
14
|
-
sortOrder?: 'asc' | 'desc';
|
|
15
|
+
sort: Sort;
|
|
15
16
|
action: EventEmitter<Action<any>>;
|
|
16
17
|
headerClick: EventEmitter<string>;
|
|
17
18
|
checkboxClick: EventEmitter<[Item, boolean]>;
|
|
18
19
|
pageChange: EventEmitter<any>;
|
|
19
20
|
itemCheck: EventEmitter<[Item, boolean]>;
|
|
20
|
-
trackByColumnName: (columnName: string) => string;
|
|
21
|
+
protected trackByColumnName: (columnName: string) => string;
|
|
21
22
|
static ɵfac: i0.ɵɵFactoryDeclaration<SmartTableOrganism<any>, never>;
|
|
22
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SmartTableOrganism<any>, "organisms-smart-table", never, { "
|
|
23
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SmartTableOrganism<any>, "organisms-smart-table", never, { "_columns": "columns"; "items": "items"; "itemActions": "itemActions"; "pageSize": "pageSize"; "selectedIdSet": "selectedIdSet"; "sort": "sort"; }, { "action": "action"; "headerClick": "headerClick"; "checkboxClick": "checkboxClick"; "pageChange": "pageChange"; "itemCheck": "itemCheck"; }, never, never, false>;
|
|
23
24
|
}
|
|
25
|
+
export {};
|
|
24
26
|
//# sourceMappingURL=smart-table.organism.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"smart-table.organism.d.ts","sourceRoot":"","sources":["../../../../../libs/components/src/organisms/smart-table/smart-table.organism.ts"],"names":[],"mappings":"AAAA,OAAO,EAAsC,YAAY,EAAiB,MAAM,eAAe,CAAC;AAChG,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"smart-table.organism.d.ts","sourceRoot":"","sources":["../../../../../libs/components/src/organisms/smart-table/smart-table.organism.ts"],"names":[],"mappings":"AAAA,OAAO,EAAsC,YAAY,EAAiB,MAAM,eAAe,CAAC;AAChG,OAAO,EAAE,OAAO,EAAE,MAAM,EAAE,MAAM,0BAA0B,CAAC;;AAE3D,UAAU,IAAI;IACZ,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,KAAK,CAAC,EAAE,MAAM,GAAG,KAAK,CAAC;CACxB;AAED,qBAOa,kBAAkB,CAAC,IAAI,SAAS,MAAM;IAGjD,QAAQ,EAAE,CAAC,MAAM,IAAI,CAAC,EAAE,CAAM;IAE9B,IAAI,OAAO,IAAI,CAAC,MAAM,IAAI,GAAG,MAAM,CAAC,EAAE,CAErC;IAGD,KAAK,EAAE,IAAI,EAAE,CAAM;IAGnB,WAAW,EAAE,OAAO,CAAY;IAGhC,QAAQ,EAAE,MAAM,CAAK;IAGrB,aAAa,cAAqB;IAGlC,IAAI,EAAE,IAAI,CAAM;IAGhB,MAAM,4BAA8B;IAGpC,WAAW,uBAA8B;IAGzC,aAAa,gCAAuC;IAGpD,UAAU,oBAAsB;IAGhC,SAAS,gCAAuC;IAEhD,SAAS,CAAC,iBAAiB,eAAgB,MAAM,YAAgB;yCAvCtD,kBAAkB;2CAAlB,kBAAkB;CAwC9B"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ng-atomic/components",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.16.0",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"module": "fesm2015/ng-atomic-components.mjs",
|
|
6
6
|
"es2020": "fesm2020/ng-atomic-components.mjs",
|
|
@@ -260,6 +260,14 @@
|
|
|
260
260
|
"node": "./fesm2015/ng-atomic-components-organisms-select-input-section.mjs",
|
|
261
261
|
"default": "./fesm2020/ng-atomic-components-organisms-select-input-section.mjs"
|
|
262
262
|
},
|
|
263
|
+
"./organisms/smart-list": {
|
|
264
|
+
"types": "./organisms/smart-list/index.d.ts",
|
|
265
|
+
"esm2020": "./esm2020/organisms/smart-list/ng-atomic-components-organisms-smart-list.mjs",
|
|
266
|
+
"es2020": "./fesm2020/ng-atomic-components-organisms-smart-list.mjs",
|
|
267
|
+
"es2015": "./fesm2015/ng-atomic-components-organisms-smart-list.mjs",
|
|
268
|
+
"node": "./fesm2015/ng-atomic-components-organisms-smart-list.mjs",
|
|
269
|
+
"default": "./fesm2020/ng-atomic-components-organisms-smart-list.mjs"
|
|
270
|
+
},
|
|
263
271
|
"./organisms/smart-table": {
|
|
264
272
|
"types": "./organisms/smart-table/index.d.ts",
|
|
265
273
|
"esm2020": "./esm2020/organisms/smart-table/ng-atomic-components-organisms-smart-table.mjs",
|
|
@@ -367,11 +375,12 @@
|
|
|
367
375
|
"peerDependencies": {
|
|
368
376
|
"@angular/core": "^14.0.0",
|
|
369
377
|
"@angular/platform-browser": "^14.0.0",
|
|
370
|
-
"@ng-atomic/elements": "4.
|
|
378
|
+
"@ng-atomic/elements": "4.16.0",
|
|
371
379
|
"@angular/cdk": "^14.0.0",
|
|
380
|
+
"@angular/material": "^14.0.0",
|
|
372
381
|
"@ngneat/reactive-forms": "^4.1.0",
|
|
373
382
|
"rxjs": "7.5.0",
|
|
374
|
-
"@ng-atomic/common": "4.
|
|
383
|
+
"@ng-atomic/common": "4.16.0",
|
|
375
384
|
"@angular/forms": "^14.0.0",
|
|
376
385
|
"@angular/animations": "^14.0.0",
|
|
377
386
|
"resize-observer-polyfill": "^1.5.1",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { EventEmitter } from '@angular/core';
|
|
2
|
-
import { Action
|
|
2
|
+
import { Action } from '@ng-atomic/common/models';
|
|
3
3
|
import { FormGroup } from '@ngneat/reactive-forms';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
export declare enum ActionId {
|
|
@@ -9,25 +9,15 @@ export declare enum ActionId {
|
|
|
9
9
|
DELETE = "[@ng-atomic/components/templates/smart-crud] Delete"
|
|
10
10
|
}
|
|
11
11
|
export declare class SmartCrudTemplate {
|
|
12
|
-
canBack: boolean;
|
|
13
|
-
name: string;
|
|
14
|
-
form: FormGroup<any>;
|
|
15
|
-
mode: 'create' | 'update';
|
|
16
|
-
navigatorMenuItems: ActionItem[];
|
|
17
12
|
title: string;
|
|
13
|
+
form: FormGroup<any>;
|
|
14
|
+
navStartActions: Action[];
|
|
15
|
+
navEndActions: Action[];
|
|
16
|
+
actions: Action[];
|
|
18
17
|
action: EventEmitter<Action<any>>;
|
|
19
|
-
backButtonClick: EventEmitter<any>;
|
|
20
|
-
createButtonClick: EventEmitter<void>;
|
|
21
|
-
updateButtonClick: EventEmitter<void>;
|
|
22
|
-
navigatorLeftItems: {
|
|
23
|
-
id: ActionId;
|
|
24
|
-
icon: string;
|
|
25
|
-
}[];
|
|
26
|
-
get actions(): Action[];
|
|
27
18
|
get controls(): [string, unknown][];
|
|
28
19
|
trackByIndex: (index: number) => number;
|
|
29
|
-
onAction(action: Action): void;
|
|
30
20
|
static ɵfac: i0.ɵɵFactoryDeclaration<SmartCrudTemplate, never>;
|
|
31
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SmartCrudTemplate, "templates-smart-crud", never, { "
|
|
21
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SmartCrudTemplate, "templates-smart-crud", never, { "title": "title"; "form": "form"; "navStartActions": "navStartActions"; "navEndActions": "navEndActions"; "actions": "actions"; }, { "action": "action"; }, never, never, false>;
|
|
32
22
|
}
|
|
33
23
|
//# sourceMappingURL=smart-crud.template.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"smart-crud.template.d.ts","sourceRoot":"","sources":["../../../../../libs/components/src/templates/smart-crud/smart-crud.template.ts"],"names":[],"mappings":"AAAA,OAAO,EAAsC,YAAY,EAAiB,MAAM,eAAe,CAAC;AAChG,OAAO,EAAE,MAAM,EAAE,
|
|
1
|
+
{"version":3,"file":"smart-crud.template.d.ts","sourceRoot":"","sources":["../../../../../libs/components/src/templates/smart-crud/smart-crud.template.ts"],"names":[],"mappings":"AAAA,OAAO,EAAsC,YAAY,EAAiB,MAAM,eAAe,CAAC;AAChG,OAAO,EAAE,MAAM,EAAE,MAAM,0BAA0B,CAAC;AAClD,OAAO,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;;AAEnD,oBAAY,QAAQ;IAClB,IAAI,sDAAsD;IAC1D,MAAM,wDAAwD;IAC9D,MAAM,wDAAwD;IAC9D,MAAM,wDAAwD;CAC/D;AAED,qBAOa,iBAAiB;IAG5B,KAAK,EAAE,MAAM,CAAM;IAGnB,IAAI,EAAG,SAAS,CAAC,GAAG,CAAC,CAAC;IAGtB,eAAe,EAAE,MAAM,EAAE,CAA+C;IAGxE,aAAa,EAAE,MAAM,EAAE,CAAuC;IAG9D,OAAO,EAAE,MAAM,EAAE,CAAuC;IAGxD,MAAM,4BAA8B;IAEpC,IAAI,QAAQ,wBAEX;IAED,YAAY,UAAW,MAAM,YAAW;yCAxB7B,iBAAiB;2CAAjB,iBAAiB;CAyB7B"}
|
|
@@ -5,11 +5,12 @@ import * as i3 from "@ng-atomic/components/frames/auto-layout";
|
|
|
5
5
|
import * as i4 from "@ng-atomic/components/frames/scroll";
|
|
6
6
|
import * as i5 from "@ng-atomic/components/organisms/paginator";
|
|
7
7
|
import * as i6 from "@ng-atomic/components/organisms/smart-table";
|
|
8
|
-
import * as i7 from "@ng-atomic/components/organisms/
|
|
9
|
-
import * as i8 from "@ng-atomic/components/
|
|
8
|
+
import * as i7 from "@ng-atomic/components/organisms/smart-list";
|
|
9
|
+
import * as i8 from "@ng-atomic/components/organisms/navigator";
|
|
10
|
+
import * as i9 from "@ng-atomic/components/molecules/header";
|
|
10
11
|
export declare class SmartIndexModule {
|
|
11
12
|
static ɵfac: i0.ɵɵFactoryDeclaration<SmartIndexModule, never>;
|
|
12
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<SmartIndexModule, [typeof i1.SmartIndexTemplate], [typeof i2.CommonModule, typeof i3.AutoLayoutModule, typeof i4.ScrollModule, typeof i5.PaginatorModule, typeof i6.SmartTableModule, typeof i7.
|
|
13
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<SmartIndexModule, [typeof i1.SmartIndexTemplate], [typeof i2.CommonModule, typeof i3.AutoLayoutModule, typeof i4.ScrollModule, typeof i5.PaginatorModule, typeof i6.SmartTableModule, typeof i7.SmartListModule, typeof i8.NavigatorModule, typeof i9.HeaderModule], [typeof i1.SmartIndexTemplate]>;
|
|
13
14
|
static ɵinj: i0.ɵɵInjectorDeclaration<SmartIndexModule>;
|
|
14
15
|
}
|
|
15
16
|
//# sourceMappingURL=smart-index.module.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"smart-index.module.d.ts","sourceRoot":"","sources":["../../../../../libs/components/src/templates/smart-index/smart-index.module.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"smart-index.module.d.ts","sourceRoot":"","sources":["../../../../../libs/components/src/templates/smart-index/smart-index.module.ts"],"names":[],"mappings":";;;;;;;;;;AAaA,qBAqBa,gBAAgB;yCAAhB,gBAAgB;0CAAhB,gBAAgB;0CAAhB,gBAAgB;CAAI"}
|