@ng-atomic/components 4.0.4 → 4.1.1
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/atoms/smart-menu-button/smart-menu-button.atom.d.ts +1 -0
- package/atoms/smart-menu-button/smart-menu-button.atom.d.ts.map +1 -1
- package/esm2020/atoms/icon/icon.atom.mjs +2 -2
- package/esm2020/atoms/smart-menu-button/smart-menu-button.atom.mjs +6 -5
- package/esm2020/frames/auto-layout/auto-layout.frame.mjs +2 -2
- package/esm2020/frames/drawer/drawer.frame.mjs +2 -2
- 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/actions-column/actions-column.molecule.mjs +7 -6
- 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 +37 -5
- package/esm2020/molecules/smart-column/smart-column.molecule.mjs +23 -18
- 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 +2 -2
- package/esm2020/organisms/select-input-section/select-input-section.organism.mjs +2 -2
- package/esm2020/organisms/smart-table/smart-table.organism.mjs +10 -7
- 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 +2 -2
- package/esm2020/templates/smart-index/smart-index.template.mjs +17 -9
- package/fesm2015/ng-atomic-components-atoms-icon.mjs +2 -2
- package/fesm2015/ng-atomic-components-atoms-smart-menu-button.mjs +5 -4
- 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 +2 -2
- 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-actions-column.mjs +6 -5
- package/fesm2015/ng-atomic-components-molecules-actions-column.mjs.map +1 -1
- 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 +59 -20
- 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 +2 -2
- package/fesm2015/ng-atomic-components-organisms-select-input-section.mjs +2 -2
- package/fesm2015/ng-atomic-components-organisms-smart-table.mjs +9 -6
- 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 +2 -2
- package/fesm2015/ng-atomic-components-templates-smart-index.mjs +11 -8
- 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 +5 -4
- 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 +2 -2
- 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-actions-column.mjs +6 -5
- package/fesm2020/ng-atomic-components-molecules-actions-column.mjs.map +1 -1
- 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 +57 -19
- 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 +2 -2
- package/fesm2020/ng-atomic-components-organisms-select-input-section.mjs +2 -2
- package/fesm2020/ng-atomic-components-organisms-smart-table.mjs +9 -6
- 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 +2 -2
- package/fesm2020/ng-atomic-components-templates-smart-index.mjs +16 -8
- package/fesm2020/ng-atomic-components-templates-smart-index.mjs.map +1 -1
- package/molecules/actions-column/actions-column.molecule.d.ts +2 -2
- package/molecules/actions-column/actions-column.molecule.d.ts.map +1 -1
- package/molecules/smart-column/smart-column.module.d.ts +12 -4
- package/molecules/smart-column/smart-column.module.d.ts.map +1 -1
- package/molecules/smart-column/smart-column.molecule.d.ts +3 -1
- package/molecules/smart-column/smart-column.molecule.d.ts.map +1 -1
- package/organisms/smart-table/smart-table.organism.d.ts +2 -1
- package/organisms/smart-table/smart-table.organism.d.ts.map +1 -1
- package/package.json +3 -3
- package/templates/smart-index/smart-index.template.d.ts +3 -2
- package/templates/smart-index/smart-index.template.d.ts.map +1 -1
|
@@ -27,10 +27,10 @@ CvcAndExpInputSectionOrganism.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ typ
|
|
|
27
27
|
i0.ɵɵproperty("control", ctx.form.get("expMonth"))("options", ctx.monthOptions);
|
|
28
28
|
i0.ɵɵadvance(1);
|
|
29
29
|
i0.ɵɵproperty("control", ctx.form.get("cvc"));
|
|
30
|
-
} }, dependencies: [i1.SelectInputFieldMolecule, i2.TextInputFieldMolecule], styles: ["[_nghost-%COMP%]{--horizontal-padding: 16px;--horizontal-padding-SCOPED-IN-text-input-section-
|
|
30
|
+
} }, dependencies: [i1.SelectInputFieldMolecule, i2.TextInputFieldMolecule], styles: ["[_nghost-%COMP%]{--horizontal-padding: 16px;--horizontal-padding-SCOPED-IN-text-input-section-NL3l: var(--horizontal-padding)}[_nghost-%COMP%]{display:flex;width:100%;padding:0 var(--horizontal-padding-SCOPED-IN-text-input-section-NL3l);box-sizing:border-box}[_nghost-%COMP%] .field[_ngcontent-%COMP%]:not(:first-child){margin-left:8px}[_nghost-%COMP%] .year.field[_ngcontent-%COMP%], [_nghost-%COMP%] .month.field[_ngcontent-%COMP%]{width:auto}[_nghost-%COMP%] .cvc.field[_ngcontent-%COMP%]{width:100px}"], changeDetection: 0 });
|
|
31
31
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CvcAndExpInputSectionOrganism, [{
|
|
32
32
|
type: Component,
|
|
33
|
-
args: [{ selector: 'organisms-cvc-and-exp-input-section', changeDetection: ChangeDetectionStrategy.OnPush, template: "<molecules-select-input-field\n class=\"year field\"\n label=\"\u6709\u52B9\u671F\u9650(\u5E74)\"\n [control]=\"form.get('expYear')\"\n [options]=\"yearOptions\"\n></molecules-select-input-field>\n<molecules-select-input-field\n class=\"month field\"\n label=\"\u6709\u52B9\u671F\u9650(\u6708)\"\n [control]=\"form.get('expMonth')\"\n [options]=\"monthOptions\"\n></molecules-select-input-field>\n<molecules-text-input-field\n class=\"cvc field\"\n type=\"text\"\n name=\"cardNumber\"\n label=\"CVC\"\n placeholder=\"4\u6841\u306E\u756A\u53F7\"\n [control]=\"form.get('cvc')\"\n></molecules-text-input-field>", styles: [":host{--horizontal-padding: 16px;--horizontal-padding-SCOPED-IN-text-input-section-
|
|
33
|
+
args: [{ selector: 'organisms-cvc-and-exp-input-section', changeDetection: ChangeDetectionStrategy.OnPush, template: "<molecules-select-input-field\n class=\"year field\"\n label=\"\u6709\u52B9\u671F\u9650(\u5E74)\"\n [control]=\"form.get('expYear')\"\n [options]=\"yearOptions\"\n></molecules-select-input-field>\n<molecules-select-input-field\n class=\"month field\"\n label=\"\u6709\u52B9\u671F\u9650(\u6708)\"\n [control]=\"form.get('expMonth')\"\n [options]=\"monthOptions\"\n></molecules-select-input-field>\n<molecules-text-input-field\n class=\"cvc field\"\n type=\"text\"\n name=\"cardNumber\"\n label=\"CVC\"\n placeholder=\"4\u6841\u306E\u756A\u53F7\"\n [control]=\"form.get('cvc')\"\n></molecules-text-input-field>", styles: [":host{--horizontal-padding: 16px;--horizontal-padding-SCOPED-IN-text-input-section-NL3l: var(--horizontal-padding)}:host{display:flex;width:100%;padding:0 var(--horizontal-padding-SCOPED-IN-text-input-section-NL3l);box-sizing:border-box}:host .field:not(:first-child){margin-left:8px}:host .year.field,:host .month.field{width:auto}:host .cvc.field{width:100px}\n"] }]
|
|
34
34
|
}], null, { form: [{
|
|
35
35
|
type: Input
|
|
36
36
|
}] }); })();
|
|
@@ -14,10 +14,10 @@ DateInputSectionOrganism.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: Da
|
|
|
14
14
|
i0.ɵɵelement(0, "molecules-date-input-field", 0);
|
|
15
15
|
} if (rf & 2) {
|
|
16
16
|
i0.ɵɵproperty("control", ctx.control)("label", ctx.label)("placeholder", ctx.placeholder);
|
|
17
|
-
} }, dependencies: [i1.DateInputFieldMolecule], styles: ["[_nghost-%COMP%]{--horizontal-padding: 16px;--horizontal-padding-SCOPED-IN-date-input-section-
|
|
17
|
+
} }, dependencies: [i1.DateInputFieldMolecule], styles: ["[_nghost-%COMP%]{--horizontal-padding: 16px;--horizontal-padding-SCOPED-IN-date-input-section-izQl: var(--horizontal-padding)}[_nghost-%COMP%]{display:block;width:100%;padding:0 var(--horizontal-padding-SCOPED-IN-date-input-section-izQl);box-sizing:border-box}[_nghost-%COMP%] mat-form-field[_ngcontent-%COMP%]{width:100%}"], changeDetection: 0 });
|
|
18
18
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(DateInputSectionOrganism, [{
|
|
19
19
|
type: Component,
|
|
20
|
-
args: [{ selector: 'organisms-date-input-section', changeDetection: ChangeDetectionStrategy.OnPush, host: { class: 'organism section' }, template: "<molecules-date-input-field\n [control]=\"control\"\n [label]=\"label\"\n [placeholder]=\"placeholder\"\n></molecules-date-input-field>", styles: [":host{--horizontal-padding: 16px;--horizontal-padding-SCOPED-IN-date-input-section-
|
|
20
|
+
args: [{ selector: 'organisms-date-input-section', changeDetection: ChangeDetectionStrategy.OnPush, host: { class: 'organism section' }, template: "<molecules-date-input-field\n [control]=\"control\"\n [label]=\"label\"\n [placeholder]=\"placeholder\"\n></molecules-date-input-field>", styles: [":host{--horizontal-padding: 16px;--horizontal-padding-SCOPED-IN-date-input-section-izQl: var(--horizontal-padding)}:host{display:block;width:100%;padding:0 var(--horizontal-padding-SCOPED-IN-date-input-section-izQl);box-sizing:border-box}:host mat-form-field{width:100%}\n"] }]
|
|
21
21
|
}], null, { control: [{
|
|
22
22
|
type: Input
|
|
23
23
|
}], label: [{
|
|
@@ -113,10 +113,10 @@ HeadingOrganism.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: HeadingOrga
|
|
|
113
113
|
i0.ɵɵproperty("ngSwitchCase", 5);
|
|
114
114
|
i0.ɵɵadvance(1);
|
|
115
115
|
i0.ɵɵproperty("ngSwitchCase", 6);
|
|
116
|
-
} }, dependencies: [i1.NgTemplateOutlet, i1.NgSwitch, i1.NgSwitchCase, i1.NgSwitchDefault], styles: ["[_nghost-%COMP%]{--horizontal-padding: 16px;--horizontal-padding-SCOPED-IN-heading-
|
|
116
|
+
} }, dependencies: [i1.NgTemplateOutlet, i1.NgSwitch, i1.NgSwitchCase, i1.NgSwitchDefault], styles: ["[_nghost-%COMP%]{--horizontal-padding: 16px;--horizontal-padding-SCOPED-IN-heading-lcq0: var(--horizontal-padding)}[_nghost-%COMP%]{display:block;width:100%;box-sizing:border-box;padding:0 var(--horizontal-padding-SCOPED-IN-heading-lcq0)}"], changeDetection: 0 });
|
|
117
117
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(HeadingOrganism, [{
|
|
118
118
|
type: Component,
|
|
119
|
-
args: [{ selector: 'organisms-heading', changeDetection: ChangeDetectionStrategy.OnPush, template: "<ng-template #temp><ng-content></ng-content></ng-template>\n\n<ng-container [ngSwitch]=\"level\">\n <h1 *ngSwitchDefault><ng-container *ngTemplateOutlet=\"temp;\"></ng-container></h1>\n <h2 *ngSwitchCase=\"2\"><ng-container *ngTemplateOutlet=\"temp;\"></ng-container></h2>\n <h3 *ngSwitchCase=\"3\"><ng-container *ngTemplateOutlet=\"temp;\"></ng-container></h3>\n <h4 *ngSwitchCase=\"4\"><ng-container *ngTemplateOutlet=\"temp;\"></ng-container></h4>\n <h5 *ngSwitchCase=\"5\"><ng-container *ngTemplateOutlet=\"temp;\"></ng-container></h5>\n <h6 *ngSwitchCase=\"6\"><ng-container *ngTemplateOutlet=\"temp;\"></ng-container></h6>\n</ng-container>", styles: [":host{--horizontal-padding: 16px;--horizontal-padding-SCOPED-IN-heading-
|
|
119
|
+
args: [{ selector: 'organisms-heading', changeDetection: ChangeDetectionStrategy.OnPush, template: "<ng-template #temp><ng-content></ng-content></ng-template>\n\n<ng-container [ngSwitch]=\"level\">\n <h1 *ngSwitchDefault><ng-container *ngTemplateOutlet=\"temp;\"></ng-container></h1>\n <h2 *ngSwitchCase=\"2\"><ng-container *ngTemplateOutlet=\"temp;\"></ng-container></h2>\n <h3 *ngSwitchCase=\"3\"><ng-container *ngTemplateOutlet=\"temp;\"></ng-container></h3>\n <h4 *ngSwitchCase=\"4\"><ng-container *ngTemplateOutlet=\"temp;\"></ng-container></h4>\n <h5 *ngSwitchCase=\"5\"><ng-container *ngTemplateOutlet=\"temp;\"></ng-container></h5>\n <h6 *ngSwitchCase=\"6\"><ng-container *ngTemplateOutlet=\"temp;\"></ng-container></h6>\n</ng-container>", styles: [":host{--horizontal-padding: 16px;--horizontal-padding-SCOPED-IN-heading-lcq0: var(--horizontal-padding)}:host{display:block;width:100%;box-sizing:border-box;padding:0 var(--horizontal-padding-SCOPED-IN-heading-lcq0)}\n"] }]
|
|
120
120
|
}], null, { level: [{
|
|
121
121
|
type: Input
|
|
122
122
|
}] }); })();
|
|
@@ -27,10 +27,10 @@ NavigationListOrganism.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: Navi
|
|
|
27
27
|
i0.ɵɵproperty("multiple", false);
|
|
28
28
|
i0.ɵɵadvance(1);
|
|
29
29
|
i0.ɵɵproperty("ngForOf", ctx.items);
|
|
30
|
-
} }, dependencies: [i1.NgForOf, i2.MatSelectionList, i3.NavigationListItemMolecule], styles: ["[_nghost-%COMP%]{--primary-color: #3f51b5;--primary-color-SCOPED-IN-navigation-list-
|
|
30
|
+
} }, dependencies: [i1.NgForOf, i2.MatSelectionList, i3.NavigationListItemMolecule], styles: ["[_nghost-%COMP%]{--primary-color: #3f51b5;--primary-color-SCOPED-IN-navigation-list-dkTr: var(--primary-color);--secondary-color: #3f51b5;--secondary-color-SCOPED-IN-navigation-list-dkTr: var(--secondary-color);--color: white;--color-SCOPED-IN-navigation-list-dkTr: var(--color)}[_nghost-%COMP%]{display:block;width:100%;height:100%;background:var(--primary-color-SCOPED-IN-navigation-list-dkTr);color:var(--color-SCOPED-IN-navigation-list-dkTr);box-sizing:border-box}[_nghost-%COMP%] .mat-list-item[_ngcontent-%COMP%]{height:3rem!important}[_nghost-%COMP%] .mat-list-item .mat-list-item-content{display:flex;align-items:center;grid-gap:8px;padding-top:8px;padding-bottom:8px;cursor:pointer;color:var(--color-SCOPED-IN-navigation-list-dkTr);font-size:12px}[_nghost-%COMP%] .mat-list-item .mat-list-text{padding-left:8px!important}"], changeDetection: 0 });
|
|
31
31
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(NavigationListOrganism, [{
|
|
32
32
|
type: Component,
|
|
33
|
-
args: [{ selector: 'organisms-navigation-list', changeDetection: ChangeDetectionStrategy.OnPush, template: "<mat-selection-list [multiple]=\"false\">\n <molecules-navigation-list-item\n *ngFor=\"let item of items\" \n [item]=\"item\"\n (click)=\"action.emit(item.id)\"\n ></molecules-navigation-list-item>\n</mat-selection-list>", styles: [":host{--primary-color: #3f51b5;--primary-color-SCOPED-IN-navigation-list-
|
|
33
|
+
args: [{ selector: 'organisms-navigation-list', changeDetection: ChangeDetectionStrategy.OnPush, template: "<mat-selection-list [multiple]=\"false\">\n <molecules-navigation-list-item\n *ngFor=\"let item of items\" \n [item]=\"item\"\n (click)=\"action.emit(item.id)\"\n ></molecules-navigation-list-item>\n</mat-selection-list>", styles: [":host{--primary-color: #3f51b5;--primary-color-SCOPED-IN-navigation-list-dkTr: var(--primary-color);--secondary-color: #3f51b5;--secondary-color-SCOPED-IN-navigation-list-dkTr: var(--secondary-color);--color: white;--color-SCOPED-IN-navigation-list-dkTr: var(--color)}:host{display:block;width:100%;height:100%;background:var(--primary-color-SCOPED-IN-navigation-list-dkTr);color:var(--color-SCOPED-IN-navigation-list-dkTr);box-sizing:border-box}:host .mat-list-item{height:3rem!important}:host ::ng-deep .mat-list-item .mat-list-item-content{display:flex;align-items:center;grid-gap:8px;padding-top:8px;padding-bottom:8px;cursor:pointer;color:var(--color-SCOPED-IN-navigation-list-dkTr);font-size:12px}:host ::ng-deep .mat-list-item .mat-list-text{padding-left:8px!important}\n"] }]
|
|
34
34
|
}], null, { items: [{
|
|
35
35
|
type: Input
|
|
36
36
|
}], action: [{
|
|
@@ -44,10 +44,10 @@ NavigatorOrganism.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: Navigator
|
|
|
44
44
|
i0.ɵɵproperty("ngIf", ctx.leftItems.length);
|
|
45
45
|
i0.ɵɵadvance(3);
|
|
46
46
|
i0.ɵɵproperty("ngIf", ctx.rightItems.length);
|
|
47
|
-
} }, dependencies: [i1.NgIf, i2.MatToolbar, i3.SmartMenuButtonAtom], styles: ["[_nghost-%COMP%]{--height: 64px;--height-SCOPED-IN-navigator-
|
|
47
|
+
} }, dependencies: [i1.NgIf, i2.MatToolbar, i3.SmartMenuButtonAtom], styles: ["[_nghost-%COMP%]{--height: 64px;--height-SCOPED-IN-navigator-IYIE: var(--height)}[_nghost-%COMP%]{display:block;width:100%;height:var(--height-SCOPED-IN-navigator-IYIE)}[_nghost-%COMP%] mat-toolbar[_ngcontent-%COMP%]{display:flex;width:100%;height:100%;justify-content:space-between;align-items:center}[_nghost-%COMP%] div[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:center}"], changeDetection: 0 });
|
|
48
48
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(NavigatorOrganism, [{
|
|
49
49
|
type: Component,
|
|
50
|
-
args: [{ selector: 'organisms-navigator', changeDetection: ChangeDetectionStrategy.OnPush, template: "<mat-toolbar color=\"primary\">\n <div>\n <atoms-smart-menu-button\n *ngIf=\"leftItems.length\"\n [items]=\"leftItems\"\n (action)=\"action.emit($event)\"\n ></atoms-smart-menu-button>\n <ng-content></ng-content>\n </div>\n <div>\n <atoms-smart-menu-button\n *ngIf=\"rightItems.length\"\n [items]=\"rightItems\"\n (action)=\"action.emit($event)\"\n ></atoms-smart-menu-button>\n </div>\n</mat-toolbar>\n", styles: [":host{--height: 64px;--height-SCOPED-IN-navigator-
|
|
50
|
+
args: [{ selector: 'organisms-navigator', changeDetection: ChangeDetectionStrategy.OnPush, template: "<mat-toolbar color=\"primary\">\n <div>\n <atoms-smart-menu-button\n *ngIf=\"leftItems.length\"\n [items]=\"leftItems\"\n (action)=\"action.emit($event)\"\n ></atoms-smart-menu-button>\n <ng-content></ng-content>\n </div>\n <div>\n <atoms-smart-menu-button\n *ngIf=\"rightItems.length\"\n [items]=\"rightItems\"\n (action)=\"action.emit($event)\"\n ></atoms-smart-menu-button>\n </div>\n</mat-toolbar>\n", styles: [":host{--height: 64px;--height-SCOPED-IN-navigator-IYIE: var(--height)}:host{display:block;width:100%;height:var(--height-SCOPED-IN-navigator-IYIE)}:host mat-toolbar{display:flex;width:100%;height:100%;justify-content:space-between;align-items:center}:host div{display:flex;justify-content:center;align-items:center}\n"] }]
|
|
51
51
|
}], null, { rightItems: [{
|
|
52
52
|
type: Input
|
|
53
53
|
}], leftItems: [{
|
|
@@ -14,10 +14,10 @@ SelectInputSectionOrganism.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type:
|
|
|
14
14
|
i0.ɵɵelement(0, "molecules-select-input-field", 0);
|
|
15
15
|
} if (rf & 2) {
|
|
16
16
|
i0.ɵɵproperty("label", ctx.label)("control", ctx.control)("options", ctx.options);
|
|
17
|
-
} }, dependencies: [i1.SelectInputFieldMolecule], styles: ["[_nghost-%COMP%]{--horizontal-padding: 16px;--horizontal-padding-SCOPED-IN-select-input-section-
|
|
17
|
+
} }, dependencies: [i1.SelectInputFieldMolecule], styles: ["[_nghost-%COMP%]{--horizontal-padding: 16px;--horizontal-padding-SCOPED-IN-select-input-section-HlD5: var(--horizontal-padding)}[_nghost-%COMP%]{display:block;width:100%;padding:0 var(--horizontal-padding-SCOPED-IN-select-input-section-HlD5);box-sizing:border-box}[_nghost-%COMP%] .molecule.input-field[_ngcontent-%COMP%]{width:100%}"], changeDetection: 0 });
|
|
18
18
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SelectInputSectionOrganism, [{
|
|
19
19
|
type: Component,
|
|
20
|
-
args: [{ selector: 'organisms-select-input-section', changeDetection: ChangeDetectionStrategy.OnPush, template: "<molecules-select-input-field\n [label]=\"label\"\n [control]=\"control\"\n [options]=\"options\"\n></molecules-select-input-field>", styles: [":host{--horizontal-padding: 16px;--horizontal-padding-SCOPED-IN-select-input-section-
|
|
20
|
+
args: [{ selector: 'organisms-select-input-section', changeDetection: ChangeDetectionStrategy.OnPush, template: "<molecules-select-input-field\n [label]=\"label\"\n [control]=\"control\"\n [options]=\"options\"\n></molecules-select-input-field>", styles: [":host{--horizontal-padding: 16px;--horizontal-padding-SCOPED-IN-select-input-section-HlD5: var(--horizontal-padding)}:host{display:block;width:100%;padding:0 var(--horizontal-padding-SCOPED-IN-select-input-section-HlD5);box-sizing:border-box}:host .molecule.input-field{width:100%}\n"] }]
|
|
21
21
|
}], null, { label: [{
|
|
22
22
|
type: Input
|
|
23
23
|
}], control: [{
|
|
@@ -22,7 +22,7 @@ function SmartTableOrganism_ng_container_1_molecules_actions_column_2_Template(r
|
|
|
22
22
|
i0.ɵɵelementEnd();
|
|
23
23
|
} if (rf & 2) {
|
|
24
24
|
const ctx_r6 = i0.ɵɵnextContext(2);
|
|
25
|
-
i0.ɵɵproperty("items", ctx_r6.menuItems);
|
|
25
|
+
i0.ɵɵproperty("items", ctx_r6.menuItems)("itemActions", ctx_r6.itemActions);
|
|
26
26
|
} }
|
|
27
27
|
function SmartTableOrganism_ng_container_1_molecules_smart_column_3_Template(rf, ctx) { if (rf & 1) {
|
|
28
28
|
const _r14 = i0.ɵɵgetCurrentView();
|
|
@@ -38,7 +38,7 @@ function SmartTableOrganism_ng_container_1_molecules_smart_column_3_Template(rf,
|
|
|
38
38
|
function SmartTableOrganism_ng_container_1_Template(rf, ctx) { if (rf & 1) {
|
|
39
39
|
i0.ɵɵelementContainerStart(0, 5);
|
|
40
40
|
i0.ɵɵtemplate(1, SmartTableOrganism_ng_container_1_molecules_checkbox_column_1_Template, 1, 1, "molecules-checkbox-column", 6);
|
|
41
|
-
i0.ɵɵtemplate(2, SmartTableOrganism_ng_container_1_molecules_actions_column_2_Template, 1,
|
|
41
|
+
i0.ɵɵtemplate(2, SmartTableOrganism_ng_container_1_molecules_actions_column_2_Template, 1, 2, "molecules-actions-column", 7);
|
|
42
42
|
i0.ɵɵtemplate(3, SmartTableOrganism_ng_container_1_molecules_smart_column_3_Template, 2, 5, "molecules-smart-column", 8);
|
|
43
43
|
i0.ɵɵelementContainerEnd();
|
|
44
44
|
} if (rf & 2) {
|
|
@@ -64,6 +64,7 @@ export class SmartTableOrganism {
|
|
|
64
64
|
constructor() {
|
|
65
65
|
this.columns = [];
|
|
66
66
|
this.items = [];
|
|
67
|
+
this.itemActions = () => [];
|
|
67
68
|
this.patientsSize = 0;
|
|
68
69
|
this.pageSize = 0;
|
|
69
70
|
this.menuItems = [];
|
|
@@ -80,7 +81,7 @@ export class SmartTableOrganism {
|
|
|
80
81
|
}
|
|
81
82
|
}
|
|
82
83
|
SmartTableOrganism.ɵfac = function SmartTableOrganism_Factory(t) { return new (t || SmartTableOrganism)(); };
|
|
83
|
-
SmartTableOrganism.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: SmartTableOrganism, selectors: [["organisms-smart-table"]], hostAttrs: [1, "organism"], inputs: { columns: "columns", items: "items", patientsSize: "patientsSize", pageSize: "pageSize", menuItems: "menuItems", selectedIdSet: "selectedIdSet", sortKey: "sortKey", sortOrder: "sortOrder" }, outputs: { action: "action", headerClick: "headerClick", checkboxClick: "checkboxClick", pageChange: "pageChange", itemCheck: "itemCheck" }, decls: 5, vars:
|
|
84
|
+
SmartTableOrganism.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: SmartTableOrganism, selectors: [["organisms-smart-table"]], hostAttrs: [1, "organism"], inputs: { columns: "columns", items: "items", itemActions: "itemActions", patientsSize: "patientsSize", pageSize: "pageSize", menuItems: "menuItems", selectedIdSet: "selectedIdSet", sortKey: "sortKey", sortOrder: "sortOrder" }, outputs: { action: "action", headerClick: "headerClick", checkboxClick: "checkboxClick", pageChange: "pageChange", itemCheck: "itemCheck" }, decls: 5, vars: 7, consts: [["mat-table", "", "matSort", "", "matSortDisableClear", "", "matSortDirection", "desc", 3, "dataSource"], [3, "ngSwitch", 4, "ngFor", "ngForOf", "ngForTrackBy"], ["mat-header-row", "", 4, "matHeaderRowDef", "matHeaderRowDefSticky"], ["mat-row", "", 4, "matRowDef", "matRowDefColumns"], ["class", "no-data-message", 4, "ngIf"], [3, "ngSwitch"], ["name", "__checkbox", 3, "selectedIdSet", "checkboxClick", 4, "ngSwitchCase"], ["name", "__actions", 3, "items", "itemActions", "action", 4, "ngSwitchCase"], [3, "name", "headerText", "sort", "headerClick", 4, "ngSwitchDefault"], ["name", "__checkbox", 3, "selectedIdSet", "checkboxClick"], ["name", "__actions", 3, "items", "itemActions", "action"], [3, "name", "headerText", "sort", "headerClick"], ["mat-header-row", ""], ["mat-row", ""], [1, "no-data-message"]], template: function SmartTableOrganism_Template(rf, ctx) { if (rf & 1) {
|
|
84
85
|
i0.ɵɵelementStart(0, "table", 0);
|
|
85
86
|
i0.ɵɵtemplate(1, SmartTableOrganism_ng_container_1_Template, 4, 3, "ng-container", 1);
|
|
86
87
|
i0.ɵɵtemplate(2, SmartTableOrganism_tr_2_Template, 1, 0, "tr", 2);
|
|
@@ -90,21 +91,23 @@ SmartTableOrganism.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: SmartTab
|
|
|
90
91
|
} if (rf & 2) {
|
|
91
92
|
i0.ɵɵproperty("dataSource", ctx.items);
|
|
92
93
|
i0.ɵɵadvance(1);
|
|
93
|
-
i0.ɵɵproperty("ngForOf", ctx.displayedColumns);
|
|
94
|
+
i0.ɵɵproperty("ngForOf", ctx.displayedColumns)("ngForTrackBy", ctx.trackByColumnName);
|
|
94
95
|
i0.ɵɵadvance(1);
|
|
95
96
|
i0.ɵɵproperty("matHeaderRowDef", ctx.displayedColumns)("matHeaderRowDefSticky", true);
|
|
96
97
|
i0.ɵɵadvance(1);
|
|
97
98
|
i0.ɵɵproperty("matRowDefColumns", ctx.displayedColumns);
|
|
98
99
|
i0.ɵɵadvance(1);
|
|
99
100
|
i0.ɵɵproperty("ngIf", !(ctx.items == null ? null : ctx.items.length));
|
|
100
|
-
} }, dependencies: [i1.NgForOf, i1.NgIf, i1.NgSwitch, i1.NgSwitchCase, i1.NgSwitchDefault, i2.MatTable, i2.MatHeaderRowDef, i2.MatRowDef, i2.MatHeaderRow, i2.MatRow, i3.ActionsColumnMolecule, i4.CheckboxColumnMolecule, i5.SmartColumnMolecule, i6.DomainPipe], styles: ["[_nghost-%COMP%]{--width: 100%;--width-SCOPED-IN-smart-table-
|
|
101
|
+
} }, dependencies: [i1.NgForOf, i1.NgIf, i1.NgSwitch, i1.NgSwitchCase, i1.NgSwitchDefault, i2.MatTable, i2.MatHeaderRowDef, i2.MatRowDef, i2.MatHeaderRow, i2.MatRow, i3.ActionsColumnMolecule, i4.CheckboxColumnMolecule, i5.SmartColumnMolecule, i6.DomainPipe], styles: ["[_nghost-%COMP%]{--width: 100%;--width-SCOPED-IN-smart-table-n4r0: var(--width);--cell: 8px;--cell-SCOPED-IN-smart-table-n4r0: var(--cell);--column-vertical-padding: 4px;--column-vertical-padding-SCOPED-IN-smart-table-n4r0: var(--column-vertical-padding)}[_nghost-%COMP%]{position:relative;width:100%;height:100%;overflow:scroll}[_nghost-%COMP%]::-webkit-scrollbar{display:none}[_nghost-%COMP%] table[_ngcontent-%COMP%]{width:100%;max-height:100%}[_nghost-%COMP%] table[_ngcontent-%COMP%] .nowrap[_ngcontent-%COMP%]{width:160px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}[_nghost-%COMP%] table[_ngcontent-%COMP%] th, [_nghost-%COMP%] table[_ngcontent-%COMP%] td{padding:0 var(--column-vertical-padding-SCOPED-IN-smart-table-n4r0)}[_nghost-%COMP%] .no-data-message[_ngcontent-%COMP%]{display:flex;justify-content:flex-start;align-items:center;width:calc(var(--width-SCOPED-IN-smart-table-n4r0) - var(--cell-SCOPED-IN-smart-table-n4r0) * 4);height:3em;padding-left:calc(var(--cell-SCOPED-IN-smart-table-n4r0) * 2);padding-right:calc(var(--cell-SCOPED-IN-smart-table-n4r0) * 2)}"], changeDetection: 0 });
|
|
101
102
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SmartTableOrganism, [{
|
|
102
103
|
type: Component,
|
|
103
|
-
args: [{ selector: 'organisms-smart-table', changeDetection: ChangeDetectionStrategy.OnPush, host: { class: 'organism' }, template: "<table mat-table [dataSource]=\"items\" matSort matSortDisableClear matSortDirection=\"desc\">\n <ng-container *ngFor=\"let name of displayedColumns\" [ngSwitch]=\"name\">\n <molecules-checkbox-column\n *ngSwitchCase=\"'__checkbox'\"\n name=\"__checkbox\"\n [selectedIdSet]=\"selectedIdSet\"\n (checkboxClick)=\"checkboxClick.emit($event)\"\n ></molecules-checkbox-column>\n <molecules-actions-column \n *ngSwitchCase=\"'__actions'\" \n name=\"__actions\" \n [items]=\"menuItems\"\n (action)=\"action.emit($event)\"\n ></molecules-actions-column>\n <molecules-smart-column\n *ngSwitchDefault\n [name]=\"name\"\n [headerText]=\"name | D\"\n [sort]=\"sortKey === name ? sortOrder : 'none'\"\n (headerClick)=\"headerClick.emit(name)\"\n ></molecules-smart-column>\n </ng-container>\n\n <tr mat-header-row *matHeaderRowDef=\"displayedColumns; sticky: true\"></tr>\n <tr mat-row *matRowDef=\"let item; columns: displayedColumns;\"></tr>\n</table>\n<div *ngIf=\"!items?.length\" class=\"no-data-message\">\u30C7\u30FC\u30BF\u304C\u3042\u308A\u307E\u305B\u3093\u3002</div>", styles: [":host{--width: 100%;--width-SCOPED-IN-smart-table-
|
|
104
|
+
args: [{ selector: 'organisms-smart-table', changeDetection: ChangeDetectionStrategy.OnPush, host: { class: 'organism' }, template: "<table mat-table [dataSource]=\"items\" matSort matSortDisableClear matSortDirection=\"desc\">\n <ng-container *ngFor=\"let name of displayedColumns; trackBy: trackByColumnName\" [ngSwitch]=\"name\">\n <molecules-checkbox-column\n *ngSwitchCase=\"'__checkbox'\"\n name=\"__checkbox\"\n [selectedIdSet]=\"selectedIdSet\"\n (checkboxClick)=\"checkboxClick.emit($event)\"\n ></molecules-checkbox-column>\n <molecules-actions-column \n *ngSwitchCase=\"'__actions'\" \n name=\"__actions\" \n [items]=\"menuItems\"\n [itemActions]=\"itemActions\"\n (action)=\"action.emit($event)\"\n ></molecules-actions-column>\n <molecules-smart-column\n *ngSwitchDefault\n [name]=\"name\"\n [headerText]=\"name | D\"\n [sort]=\"sortKey === name ? sortOrder : 'none'\"\n (headerClick)=\"headerClick.emit(name)\"\n ></molecules-smart-column>\n </ng-container>\n\n <tr mat-header-row *matHeaderRowDef=\"displayedColumns; sticky: true\"></tr>\n <tr mat-row *matRowDef=\"let item; columns: displayedColumns;\"></tr>\n</table>\n<div *ngIf=\"!items?.length\" class=\"no-data-message\">\u30C7\u30FC\u30BF\u304C\u3042\u308A\u307E\u305B\u3093\u3002</div>", styles: [":host{--width: 100%;--width-SCOPED-IN-smart-table-n4r0: var(--width);--cell: 8px;--cell-SCOPED-IN-smart-table-n4r0: var(--cell);--column-vertical-padding: 4px;--column-vertical-padding-SCOPED-IN-smart-table-n4r0: var(--column-vertical-padding)}:host{position:relative;width:100%;height:100%;overflow:scroll}:host::-webkit-scrollbar{display:none}:host table{width:100%;max-height:100%}:host table .nowrap{width:160px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}:host table ::ng-deep th,:host table ::ng-deep td{padding:0 var(--column-vertical-padding-SCOPED-IN-smart-table-n4r0)}:host .no-data-message{display:flex;justify-content:flex-start;align-items:center;width:calc(var(--width-SCOPED-IN-smart-table-n4r0) - var(--cell-SCOPED-IN-smart-table-n4r0) * 4);height:3em;padding-left:calc(var(--cell-SCOPED-IN-smart-table-n4r0) * 2);padding-right:calc(var(--cell-SCOPED-IN-smart-table-n4r0) * 2)}\n"] }]
|
|
104
105
|
}], null, { columns: [{
|
|
105
106
|
type: Input
|
|
106
107
|
}], items: [{
|
|
107
108
|
type: Input
|
|
109
|
+
}], itemActions: [{
|
|
110
|
+
type: Input
|
|
108
111
|
}], patientsSize: [{
|
|
109
112
|
type: Input
|
|
110
113
|
}], pageSize: [{
|
|
@@ -128,4 +131,4 @@ SmartTableOrganism.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: SmartTab
|
|
|
128
131
|
}], itemCheck: [{
|
|
129
132
|
type: Output
|
|
130
133
|
}] }); })();
|
|
131
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
134
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic21hcnQtdGFibGUub3JnYW5pc20uanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9saWJzL2NvbXBvbmVudHMvc3JjL29yZ2FuaXNtcy9zbWFydC10YWJsZS9zbWFydC10YWJsZS5vcmdhbmlzbS50cyIsIi4uLy4uLy4uLy4uLy4uLy4uL2xpYnMvY29tcG9uZW50cy9zcmMvb3JnYW5pc21zL3NtYXJ0LXRhYmxlL3NtYXJ0LXRhYmxlLm9yZ2FuaXNtLmh0bWwiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLHVCQUF1QixFQUFFLFNBQVMsRUFBRSxZQUFZLEVBQUUsS0FBSyxFQUFFLE1BQU0sRUFBRSxNQUFNLGVBQWUsQ0FBQzs7Ozs7Ozs7OztJQ0U1RixvREFLQztJQURDLDhPQUFpQixlQUFBLGlDQUEwQixDQUFBLElBQUM7SUFDN0MsaUJBQTRCOzs7SUFGM0Isb0RBQStCOzs7O0lBR2pDLG9EQU1DO0lBREMsZ09BQVUsZUFBQSwyQkFBbUIsQ0FBQSxJQUFDO0lBQy9CLGlCQUEyQjs7O0lBSDFCLHdDQUFtQixtQ0FBQTs7OztJQUlyQ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10 +12,10 @@ SocialLoginSectionOrganism.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type:
|
|
|
12
12
|
i0.ɵɵlistener("click", function SocialLoginSectionOrganism_Template_button_click_0_listener() { return ctx.signInWithGoogleButtonClick.emit(); });
|
|
13
13
|
i0.ɵɵtext(1, "Google\u30A2\u30AB\u30A6\u30F3\u30C8\u3067\u30ED\u30B0\u30A4\u30F3");
|
|
14
14
|
i0.ɵɵelementEnd();
|
|
15
|
-
} }, dependencies: [i1.MatButton], styles: ["[_nghost-%COMP%]{--horizontal-padding: 16px;--horizontal-padding-SCOPED-IN-heading-
|
|
15
|
+
} }, dependencies: [i1.MatButton], styles: ["[_nghost-%COMP%]{--horizontal-padding: 16px;--horizontal-padding-SCOPED-IN-heading-Mox1: var(--horizontal-padding)}[_nghost-%COMP%]{display:block;width:100%;padding:0 var(--horizontal-padding-SCOPED-IN-heading-Mox1);box-sizing:border-box}[_nghost-%COMP%] button[_ngcontent-%COMP%]{width:100%;height:56px}"], changeDetection: 0 });
|
|
16
16
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SocialLoginSectionOrganism, [{
|
|
17
17
|
type: Component,
|
|
18
|
-
args: [{ selector: 'organisms-social-login-section', changeDetection: ChangeDetectionStrategy.OnPush, template: "<button \n mat-raised-button \n color=\"primary\" \n (click)=\"signInWithGoogleButtonClick.emit()\"\n>Google\u30A2\u30AB\u30A6\u30F3\u30C8\u3067\u30ED\u30B0\u30A4\u30F3</button>", styles: [":host{--horizontal-padding: 16px;--horizontal-padding-SCOPED-IN-heading-
|
|
18
|
+
args: [{ selector: 'organisms-social-login-section', changeDetection: ChangeDetectionStrategy.OnPush, template: "<button \n mat-raised-button \n color=\"primary\" \n (click)=\"signInWithGoogleButtonClick.emit()\"\n>Google\u30A2\u30AB\u30A6\u30F3\u30C8\u3067\u30ED\u30B0\u30A4\u30F3</button>", styles: [":host{--horizontal-padding: 16px;--horizontal-padding-SCOPED-IN-heading-Mox1: var(--horizontal-padding)}:host{display:block;width:100%;padding:0 var(--horizontal-padding-SCOPED-IN-heading-Mox1);box-sizing:border-box}:host button{width:100%;height:56px}\n"] }]
|
|
19
19
|
}], null, { signInWithGoogleButtonClick: [{
|
|
20
20
|
type: Output
|
|
21
21
|
}] }); })();
|
|
@@ -15,10 +15,10 @@ TextInputSectionOrganism.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: Te
|
|
|
15
15
|
i0.ɵɵelement(0, "molecules-text-input-field", 0);
|
|
16
16
|
} if (rf & 2) {
|
|
17
17
|
i0.ɵɵproperty("control", ctx.control)("label", ctx.label)("placeholder", ctx.placeholder);
|
|
18
|
-
} }, dependencies: [i1.TextInputFieldMolecule], styles: ["[_nghost-%COMP%]{--horizontal-padding: 16px;--horizontal-padding-SCOPED-IN-text-input-section-
|
|
18
|
+
} }, dependencies: [i1.TextInputFieldMolecule], styles: ["[_nghost-%COMP%]{--horizontal-padding: 16px;--horizontal-padding-SCOPED-IN-text-input-section-i7d2: var(--horizontal-padding)}[_nghost-%COMP%]{display:block;width:100%;padding:0 var(--horizontal-padding-SCOPED-IN-text-input-section-i7d2);box-sizing:border-box}[_nghost-%COMP%] .molecule.input-field[_ngcontent-%COMP%], [_nghost-%COMP%] mat-form-field[_ngcontent-%COMP%]{width:100%}"] });
|
|
19
19
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TextInputSectionOrganism, [{
|
|
20
20
|
type: Component,
|
|
21
|
-
args: [{ selector: 'organisms-text-input-section', template: "<molecules-text-input-field\n type=\"text\"\n [control]=\"control\"\n [label]=\"label\"\n [placeholder]=\"placeholder\"\n></molecules-text-input-field>", styles: [":host{--horizontal-padding: 16px;--horizontal-padding-SCOPED-IN-text-input-section-
|
|
21
|
+
args: [{ selector: 'organisms-text-input-section', template: "<molecules-text-input-field\n type=\"text\"\n [control]=\"control\"\n [label]=\"label\"\n [placeholder]=\"placeholder\"\n></molecules-text-input-field>", styles: [":host{--horizontal-padding: 16px;--horizontal-padding-SCOPED-IN-text-input-section-i7d2: var(--horizontal-padding)}:host{display:block;width:100%;padding:0 var(--horizontal-padding-SCOPED-IN-text-input-section-i7d2);box-sizing:border-box}:host .molecule.input-field,:host mat-form-field{width:100%}\n"] }]
|
|
22
22
|
}], null, { label: [{
|
|
23
23
|
type: Input
|
|
24
24
|
}], placeholder: [{
|
|
@@ -11,10 +11,10 @@ TextareaSectionOrganism.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: Tex
|
|
|
11
11
|
i0.ɵɵelement(0, "molecules-textarea-field", 0);
|
|
12
12
|
} if (rf & 2) {
|
|
13
13
|
i0.ɵɵproperty("label", ctx.label);
|
|
14
|
-
} }, dependencies: [i1.TextareaFieldMolecule], styles: ["[_nghost-%COMP%]{--vertical-padding: 16px;--vertical-padding-SCOPED-IN-textarea-section-
|
|
14
|
+
} }, dependencies: [i1.TextareaFieldMolecule], styles: ["[_nghost-%COMP%]{--vertical-padding: 16px;--vertical-padding-SCOPED-IN-textarea-section-4BNk: var(--vertical-padding)}[_nghost-%COMP%]{display:block;padding:0 var(--vertical-padding-SCOPED-IN-textarea-section-4BNk);box-sizing:border-box}[_nghost-%COMP%] molecules-textarea-field[_ngcontent-%COMP%]{width:100%}"], changeDetection: 0 });
|
|
15
15
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TextareaSectionOrganism, [{
|
|
16
16
|
type: Component,
|
|
17
|
-
args: [{ selector: 'organisms-textarea-section', changeDetection: ChangeDetectionStrategy.OnPush, template: "<molecules-textarea-field\n [label]=\"label\"\n></molecules-textarea-field>", styles: [":host{--vertical-padding: 16px;--vertical-padding-SCOPED-IN-textarea-section-
|
|
17
|
+
args: [{ selector: 'organisms-textarea-section', changeDetection: ChangeDetectionStrategy.OnPush, template: "<molecules-textarea-field\n [label]=\"label\"\n></molecules-textarea-field>", styles: [":host{--vertical-padding: 16px;--vertical-padding-SCOPED-IN-textarea-section-4BNk: var(--vertical-padding)}:host{display:block;padding:0 var(--vertical-padding-SCOPED-IN-textarea-section-4BNk);box-sizing:border-box}:host molecules-textarea-field{width:100%}\n"] }]
|
|
18
18
|
}], null, { label: [{
|
|
19
19
|
type: Input
|
|
20
20
|
}] }); })();
|
|
@@ -22,10 +22,10 @@ TopNavigatorOrganism.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: TopNav
|
|
|
22
22
|
i0.ɵɵtextInterpolate1(" ", ctx.title || "", " ");
|
|
23
23
|
i0.ɵɵadvance(2);
|
|
24
24
|
i0.ɵɵproperty("items", ctx.items);
|
|
25
|
-
} }, dependencies: [i1.MatToolbar, i2.SmartMenuButtonAtom], styles: ["[_nghost-%COMP%]{--primary-500-SCOPED-IN-top-navigator-
|
|
25
|
+
} }, dependencies: [i1.MatToolbar, i2.SmartMenuButtonAtom], styles: ["[_nghost-%COMP%]{--primary-500-SCOPED-IN-top-navigator-QtPL: var(--primary-500)}[_nghost-%COMP%]{width:100%;height:56px}[_nghost-%COMP%] mat-toolbar[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between;width:100%;height:100%;padding:0 24px}[_nghost-%COMP%] mat-toolbar[_ngcontent-%COMP%] .title-container[_ngcontent-%COMP%]{color:var(--primary-500-SCOPED-IN-top-navigator-QtPL);font-size:1.25rem;line-height:21px}[_nghost-%COMP%] mat-toolbar[_ngcontent-%COMP%] .title-container[_ngcontent-%COMP%] atoms-kurakatsu-logo[_ngcontent-%COMP%]{width:auto}[_nghost-%COMP%] mat-toolbar[_ngcontent-%COMP%] atoms-user-icon[_ngcontent-%COMP%]{width:32px;height:32px}"], changeDetection: 0 });
|
|
26
26
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TopNavigatorOrganism, [{
|
|
27
27
|
type: Component,
|
|
28
|
-
args: [{ selector: 'organisms-top-navigator', changeDetection: ChangeDetectionStrategy.OnPush, template: "<mat-toolbar color=\"primary\">\n <div class=\"title-container\">\n {{ title || '' }}\n </div>\n <div>\n <atoms-smart-menu-button\n [items]=\"items\"\n (action)=\"action.emit($event)\"\n ></atoms-smart-menu-button>\n </div>\n</mat-toolbar>\n", styles: [":host{--primary-500-SCOPED-IN-top-navigator-
|
|
28
|
+
args: [{ selector: 'organisms-top-navigator', changeDetection: ChangeDetectionStrategy.OnPush, template: "<mat-toolbar color=\"primary\">\n <div class=\"title-container\">\n {{ title || '' }}\n </div>\n <div>\n <atoms-smart-menu-button\n [items]=\"items\"\n (action)=\"action.emit($event)\"\n ></atoms-smart-menu-button>\n </div>\n</mat-toolbar>\n", styles: [":host{--primary-500-SCOPED-IN-top-navigator-QtPL: var(--primary-500)}:host{width:100%;height:56px}:host mat-toolbar{display:flex;align-items:center;justify-content:space-between;width:100%;height:100%;padding:0 24px}:host mat-toolbar .title-container{color:var(--primary-500-SCOPED-IN-top-navigator-QtPL);font-size:1.25rem;line-height:21px}:host mat-toolbar .title-container atoms-kurakatsu-logo{width:auto}:host mat-toolbar atoms-user-icon{width:32px;height:32px}\n"] }]
|
|
29
29
|
}], null, { title: [{
|
|
30
30
|
type: Input
|
|
31
31
|
}], items: [{
|
|
@@ -51,10 +51,10 @@ EntranceTemplate.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: EntranceTe
|
|
|
51
51
|
i0.ɵɵproperty("ngIf", ctx.isPasswordSectionShown);
|
|
52
52
|
i0.ɵɵadvance(1);
|
|
53
53
|
i0.ɵɵproperty("items", ctx.actionItems);
|
|
54
|
-
} }, dependencies: [i1.NgIf, i2.AutoLayoutFrame, i3.CardFrame, i4.ActionButtonsSectionOrganism, i5.HeadingOrganism, i6.SocialLoginSectionOrganism, i7.TextInputSectionOrganism], styles: ["[_nghost-%COMP%]{--horizontal-padding: 64px;--horizontal-padding-SCOPED-IN-entrance-
|
|
54
|
+
} }, dependencies: [i1.NgIf, i2.AutoLayoutFrame, i3.CardFrame, i4.ActionButtonsSectionOrganism, i5.HeadingOrganism, i6.SocialLoginSectionOrganism, i7.TextInputSectionOrganism], styles: ["[_nghost-%COMP%]{--horizontal-padding: 64px;--horizontal-padding-SCOPED-IN-entrance-dnrQ: var(--horizontal-padding);--background-color: #eee;--background-color-SCOPED-IN-entrance-dnrQ: var(--background-color)}[_nghost-%COMP%]{display:flex;justify-content:center;align-items:center;background-color:var(--background-color-SCOPED-IN-entrance-dnrQ);width:100%;height:100%}[_nghost-%COMP%] frames-card[_ngcontent-%COMP%]{display:flex;flex-direction:column;width:600px;max-width:calc(100% - 32px);height:-moz-fit-content;height:fit-content}[_nghost-%COMP%] frames-card[_ngcontent-%COMP%] *[_ngcontent-%COMP%]{max-width:calc(100% - 32px);--horizontal-padding: var(--horizontal-padding-SCOPED-IN-entrance-dnrQ)}"], changeDetection: 0 });
|
|
55
55
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(EntranceTemplate, [{
|
|
56
56
|
type: Component,
|
|
57
|
-
args: [{ selector: 'templates-entrance', host: { class: 'template' }, changeDetection: ChangeDetectionStrategy.OnPush, template: "<frames-card>\n <frames-auto-layout vertical>\n <organisms-heading>\u30ED\u30B0\u30A4\u30F3</organisms-heading>\n <organisms-text-input-section\n *ngIf=\"isEmailSectionShown\"\n label=\"\u30E1\u30FC\u30EB\u30A2\u30C9\u30EC\u30B9\"\n [control]=\"form.get('email')\"\n ></organisms-text-input-section>\n <organisms-text-input-section\n *ngIf=\"isPasswordSectionShown\"\n label=\"\u30D1\u30B9\u30EF\u30FC\u30C9\"\n [control]=\"form.get('password')\"\n ></organisms-text-input-section>\n <organisms-action-buttons-section [items]=\"actionItems\"></organisms-action-buttons-section>\n <organisms-social-login-section\n (signInWithGoogleButtonClick)=\"signInWithGoogleButtonClick.emit()\"\n ></organisms-social-login-section>\n </frames-auto-layout>\n</frames-card>\n", styles: [":host{--horizontal-padding: 64px;--horizontal-padding-SCOPED-IN-entrance-
|
|
57
|
+
args: [{ selector: 'templates-entrance', host: { class: 'template' }, changeDetection: ChangeDetectionStrategy.OnPush, template: "<frames-card>\n <frames-auto-layout vertical>\n <organisms-heading>\u30ED\u30B0\u30A4\u30F3</organisms-heading>\n <organisms-text-input-section\n *ngIf=\"isEmailSectionShown\"\n label=\"\u30E1\u30FC\u30EB\u30A2\u30C9\u30EC\u30B9\"\n [control]=\"form.get('email')\"\n ></organisms-text-input-section>\n <organisms-text-input-section\n *ngIf=\"isPasswordSectionShown\"\n label=\"\u30D1\u30B9\u30EF\u30FC\u30C9\"\n [control]=\"form.get('password')\"\n ></organisms-text-input-section>\n <organisms-action-buttons-section [items]=\"actionItems\"></organisms-action-buttons-section>\n <organisms-social-login-section\n (signInWithGoogleButtonClick)=\"signInWithGoogleButtonClick.emit()\"\n ></organisms-social-login-section>\n </frames-auto-layout>\n</frames-card>\n", styles: [":host{--horizontal-padding: 64px;--horizontal-padding-SCOPED-IN-entrance-dnrQ: var(--horizontal-padding);--background-color: #eee;--background-color-SCOPED-IN-entrance-dnrQ: var(--background-color)}:host{display:flex;justify-content:center;align-items:center;background-color:var(--background-color-SCOPED-IN-entrance-dnrQ);width:100%;height:100%}:host frames-card{display:flex;flex-direction:column;width:600px;max-width:calc(100% - 32px);height:-moz-fit-content;height:fit-content}:host frames-card *{max-width:calc(100% - 32px);--horizontal-padding: var(--horizontal-padding-SCOPED-IN-entrance-dnrQ)}\n"] }]
|
|
58
58
|
}], null, { form: [{
|
|
59
59
|
type: Input
|
|
60
60
|
}], isEmailSectionShown: [{
|
|
@@ -23,10 +23,10 @@ MenuTemplate.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: MenuTemplate,
|
|
|
23
23
|
} if (rf & 2) {
|
|
24
24
|
i0.ɵɵadvance(2);
|
|
25
25
|
i0.ɵɵproperty("items", ctx.items);
|
|
26
|
-
} }, dependencies: [i1.NavigationListOrganism], styles: ["[_nghost-%COMP%]{--primary-color: #3f51b5;--primary-color-SCOPED-IN-menu-
|
|
26
|
+
} }, dependencies: [i1.NavigationListOrganism], styles: ["[_nghost-%COMP%]{--primary-color: #3f51b5;--primary-color-SCOPED-IN-menu-ZznB: var(--primary-color);--secondary-color: #3f51b5;--secondary-color-SCOPED-IN-menu-ZznB: var(--secondary-color);--width: 100%;--width-SCOPED-IN-menu-ZznB: var(--width);--height: 100%;--height-SCOPED-IN-menu-ZznB: var(--height)}[_nghost-%COMP%]{display:flex;flex-direction:column;justify-content:space-between;width:var(--width-SCOPED-IN-menu-ZznB);height:var(--height-SCOPED-IN-menu-ZznB);color:#fff;background-color:var(--primary-color-SCOPED-IN-menu-ZznB)}[_nghost-%COMP%] organisms-navigation-list[_ngcontent-%COMP%]{transition:width .5s;--primary-color: var(--primary-color-SCOPED-IN-menu-ZznB);--secondary-color: var(--secondary-color-SCOPED-IN-menu-ZznB)}"], changeDetection: 0 });
|
|
27
27
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(MenuTemplate, [{
|
|
28
28
|
type: Component,
|
|
29
|
-
args: [{ selector: 'templates-menu', changeDetection: ChangeDetectionStrategy.OnPush, template: "<div class=\"top\">\n <ng-content select=[header]></ng-content>\n <organisms-navigation-list\n [items]=\"items\"\n (action)=\"action.emit($event)\"\n ></organisms-navigation-list>\n</div>\n<div class=\"bottom\">\n <ng-content select=[footer]></ng-content>\n</div>", styles: [":host{--primary-color: #3f51b5;--primary-color-SCOPED-IN-menu-
|
|
29
|
+
args: [{ selector: 'templates-menu', changeDetection: ChangeDetectionStrategy.OnPush, template: "<div class=\"top\">\n <ng-content select=[header]></ng-content>\n <organisms-navigation-list\n [items]=\"items\"\n (action)=\"action.emit($event)\"\n ></organisms-navigation-list>\n</div>\n<div class=\"bottom\">\n <ng-content select=[footer]></ng-content>\n</div>", styles: [":host{--primary-color: #3f51b5;--primary-color-SCOPED-IN-menu-ZznB: var(--primary-color);--secondary-color: #3f51b5;--secondary-color-SCOPED-IN-menu-ZznB: var(--secondary-color);--width: 100%;--width-SCOPED-IN-menu-ZznB: var(--width);--height: 100%;--height-SCOPED-IN-menu-ZznB: var(--height)}:host{display:flex;flex-direction:column;justify-content:space-between;width:var(--width-SCOPED-IN-menu-ZznB);height:var(--height-SCOPED-IN-menu-ZznB);color:#fff;background-color:var(--primary-color-SCOPED-IN-menu-ZznB)}:host organisms-navigation-list{transition:width .5s;--primary-color: var(--primary-color-SCOPED-IN-menu-ZznB);--secondary-color: var(--secondary-color-SCOPED-IN-menu-ZznB)}\n"] }]
|
|
30
30
|
}], null, { items: [{
|
|
31
31
|
type: Input
|
|
32
32
|
}], action: [{
|
|
@@ -121,10 +121,10 @@ SmartCrudTemplate.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: SmartCrud
|
|
|
121
121
|
i0.ɵɵproperty("ngForOf", ctx.controls)("ngForTrackBy", ctx.trackByIndex);
|
|
122
122
|
i0.ɵɵadvance(1);
|
|
123
123
|
i0.ɵɵproperty("items", ctx.actionItems);
|
|
124
|
-
} }, dependencies: [i1.NgForOf, i1.NgSwitch, i1.NgSwitchCase, i1.NgSwitchDefault, i2.AutoLayoutFrame, i3.ScrollFrame, i4.ActionButtonsSectionOrganism, i5.NavigatorOrganism, i6.DateInputSectionOrganism, i7.TextInputSectionOrganism, i8.SelectInputSectionOrganism, i9.HeaderMolecule, i10.DomainPipe, i11.SmartFieldPipe], styles: ["[_nghost-%COMP%]{--horizontal-padding: 16px;--horizontal-padding-SCOPED-IN-smart-crud-
|
|
124
|
+
} }, dependencies: [i1.NgForOf, i1.NgSwitch, i1.NgSwitchCase, i1.NgSwitchDefault, i2.AutoLayoutFrame, i3.ScrollFrame, i4.ActionButtonsSectionOrganism, i5.NavigatorOrganism, i6.DateInputSectionOrganism, i7.TextInputSectionOrganism, i8.SelectInputSectionOrganism, i9.HeaderMolecule, i10.DomainPipe, i11.SmartFieldPipe], styles: ["[_nghost-%COMP%]{--horizontal-padding: 16px;--horizontal-padding-SCOPED-IN-smart-crud-tLrP: var(--horizontal-padding);--vertical-padding: 24px;--vertical-padding-SCOPED-IN-smart-crud-tLrP: var(--vertical-padding);--gap: 16px;--gap-SCOPED-IN-smart-crud-tLrP: var(--gap)}[_nghost-%COMP%]{display:block;width:100%;height:100%;background:white}[_nghost-%COMP%] frames-auto-layout[_ngcontent-%COMP%]{height:-moz-fit-content;height:fit-content;--gap: var(--gap-SCOPED-IN-smart-crud-tLrP);--vertical-padding: var(--vertical-padding-SCOPED-IN-smart-crud-tLrP)}[_nghost-%COMP%] frames-auto-layout[_ngcontent-%COMP%] *[_ngcontent-%COMP%]{--horizontal-padding: var(--horizontal-padding-SCOPED-IN-smart-crud-tLrP)}"], changeDetection: 0 });
|
|
125
125
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SmartCrudTemplate, [{
|
|
126
126
|
type: Component,
|
|
127
|
-
args: [{ selector: 'templates-smart-crud', changeDetection: ChangeDetectionStrategy.OnPush, host: { class: 'template' }, template: "<frames-scroll>\n <organisms-navigator \n [leftItems]=\"canBack ? navigatorLeftItems : []\"\n [rightItems]=\"navigatorMenuItems\"\n (action)=\"onAction($event)\"\n navigator\n >\n <molecules-header [title]=\"title\"></molecules-header>\n </organisms-navigator>\n <frames-auto-layout vertical contents>\n <ng-container *ngFor=\"let entry of controls; trackBy:trackByIndex\" [ngSwitch]=\"(entry[0] | smartField)?.type\">\n <organisms-select-input-section\n *ngSwitchCase=\"'select'\"\n [label]=\"entry[0] | D\"\n [control]=\"entry[1]\"\n [options]=\"(entry[0] | smartField)?.options\"\n ></organisms-select-input-section>\n <organisms-date-input-section\n *ngSwitchCase=\"'date'\"\n [label]=\"entry[0] | D\"\n [control]=\"entry[1]\"\n ></organisms-date-input-section>\n <organisms-text-input-section\n *ngSwitchCase=\"'number'\"\n [type]=\"'number'\"\n [label]=\"entry[0] | D\"\n [control]=\"entry[1]\"\n ></organisms-text-input-section>\n <organisms-text-input-section\n *ngSwitchDefault\n [label]=\"entry[0] | D\"\n [control]=\"entry[1]\"\n ></organisms-text-input-section>\n </ng-container>\n <organisms-action-buttons-section\n [items]=\"actionItems\"\n (action)=\"onAction($event)\"\n ></organisms-action-buttons-section>\n </frames-auto-layout>\n</frames-scroll>", styles: [":host{--horizontal-padding: 16px;--horizontal-padding-SCOPED-IN-smart-crud-
|
|
127
|
+
args: [{ selector: 'templates-smart-crud', changeDetection: ChangeDetectionStrategy.OnPush, host: { class: 'template' }, template: "<frames-scroll>\n <organisms-navigator \n [leftItems]=\"canBack ? navigatorLeftItems : []\"\n [rightItems]=\"navigatorMenuItems\"\n (action)=\"onAction($event)\"\n navigator\n >\n <molecules-header [title]=\"title\"></molecules-header>\n </organisms-navigator>\n <frames-auto-layout vertical contents>\n <ng-container *ngFor=\"let entry of controls; trackBy:trackByIndex\" [ngSwitch]=\"(entry[0] | smartField)?.type\">\n <organisms-select-input-section\n *ngSwitchCase=\"'select'\"\n [label]=\"entry[0] | D\"\n [control]=\"entry[1]\"\n [options]=\"(entry[0] | smartField)?.options\"\n ></organisms-select-input-section>\n <organisms-date-input-section\n *ngSwitchCase=\"'date'\"\n [label]=\"entry[0] | D\"\n [control]=\"entry[1]\"\n ></organisms-date-input-section>\n <organisms-text-input-section\n *ngSwitchCase=\"'number'\"\n [type]=\"'number'\"\n [label]=\"entry[0] | D\"\n [control]=\"entry[1]\"\n ></organisms-text-input-section>\n <organisms-text-input-section\n *ngSwitchDefault\n [label]=\"entry[0] | D\"\n [control]=\"entry[1]\"\n ></organisms-text-input-section>\n </ng-container>\n <organisms-action-buttons-section\n [items]=\"actionItems\"\n (action)=\"onAction($event)\"\n ></organisms-action-buttons-section>\n </frames-auto-layout>\n</frames-scroll>", styles: [":host{--horizontal-padding: 16px;--horizontal-padding-SCOPED-IN-smart-crud-tLrP: var(--horizontal-padding);--vertical-padding: 24px;--vertical-padding-SCOPED-IN-smart-crud-tLrP: var(--vertical-padding);--gap: 16px;--gap-SCOPED-IN-smart-crud-tLrP: var(--gap)}:host{display:block;width:100%;height:100%;background:white}:host frames-auto-layout{height:-moz-fit-content;height:fit-content;--gap: var(--gap-SCOPED-IN-smart-crud-tLrP);--vertical-padding: var(--vertical-padding-SCOPED-IN-smart-crud-tLrP)}:host frames-auto-layout *{--horizontal-padding: var(--horizontal-padding-SCOPED-IN-smart-crud-tLrP)}\n"] }]
|
|
128
128
|
}], null, { canBack: [{
|
|
129
129
|
type: Input
|
|
130
130
|
}], name: [{
|
|
@@ -24,8 +24,13 @@ export var ActionId;
|
|
|
24
24
|
ActionId["BACK"] = "[@ng-atomic/components/templates/smart-crud] Back";
|
|
25
25
|
})(ActionId || (ActionId = {}));
|
|
26
26
|
export class Page {
|
|
27
|
-
static
|
|
28
|
-
return Object.assign(new Page(),
|
|
27
|
+
static from(event = {}) {
|
|
28
|
+
return Object.assign(new Page(), {
|
|
29
|
+
pageSize: 50,
|
|
30
|
+
pageIndex: 0,
|
|
31
|
+
length: 100,
|
|
32
|
+
...event
|
|
33
|
+
});
|
|
29
34
|
}
|
|
30
35
|
get start() {
|
|
31
36
|
return this.pageIndex * this.pageSize;
|
|
@@ -34,7 +39,7 @@ export class Page {
|
|
|
34
39
|
return Math.min((this.pageIndex + 1) * this.pageSize, this.length);
|
|
35
40
|
}
|
|
36
41
|
patch(obj) {
|
|
37
|
-
return Page.
|
|
42
|
+
return Page.from({ ...this, ...obj });
|
|
38
43
|
}
|
|
39
44
|
}
|
|
40
45
|
export class SmartIndexTemplate {
|
|
@@ -44,6 +49,7 @@ export class SmartIndexTemplate {
|
|
|
44
49
|
this.title = '';
|
|
45
50
|
this.items = [];
|
|
46
51
|
this.rowMenuItems = [];
|
|
52
|
+
this.itemActions = () => [];
|
|
47
53
|
this.navigatorMenuItems = [];
|
|
48
54
|
this.properties = [];
|
|
49
55
|
this.selectedIdSet = new Set();
|
|
@@ -69,7 +75,7 @@ export class SmartIndexTemplate {
|
|
|
69
75
|
}
|
|
70
76
|
}
|
|
71
77
|
SmartIndexTemplate.ɵfac = function SmartIndexTemplate_Factory(t) { return new (t || SmartIndexTemplate)(); };
|
|
72
|
-
SmartIndexTemplate.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: SmartIndexTemplate, selectors: [["templates-smart-index"]], hostAttrs: [1, "template"], inputs: { canBack: "canBack", queryControl: "queryControl", title: "title", description: "description", items: "items", rowMenuItems: "rowMenuItems", navigatorMenuItems: "navigatorMenuItems", properties: "properties", selectedIdSet: "selectedIdSet", sortKey: "sortKey", sortOrder: "sortOrder", page: "page", pageSizeOptions: "pageSizeOptions", queryPlaceholder: "queryPlaceholder" }, outputs: { action: "action", backButtonClick: "backButtonClick", checkboxClick: "checkboxClick", pageChange: "pageChange", tableHeaderClick: "tableHeaderClick" }, decls: 6, vars:
|
|
78
|
+
SmartIndexTemplate.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: SmartIndexTemplate, selectors: [["templates-smart-index"]], hostAttrs: [1, "template"], inputs: { canBack: "canBack", queryControl: "queryControl", title: "title", description: "description", items: "items", rowMenuItems: "rowMenuItems", itemActions: "itemActions", navigatorMenuItems: "navigatorMenuItems", properties: "properties", selectedIdSet: "selectedIdSet", sortKey: "sortKey", sortOrder: "sortOrder", page: "page", pageSizeOptions: "pageSizeOptions", queryPlaceholder: "queryPlaceholder" }, outputs: { action: "action", backButtonClick: "backButtonClick", checkboxClick: "checkboxClick", pageChange: "pageChange", tableHeaderClick: "tableHeaderClick" }, decls: 6, vars: 13, consts: [["navigator", "", 3, "leftItems", "rightItems", "action"], [3, "title", "description"], ["vertical", "", "contents", ""], [3, "items", "menuItems", "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) {
|
|
73
79
|
i0.ɵɵelementStart(0, "frames-scroll")(1, "organisms-navigator", 0);
|
|
74
80
|
i0.ɵɵlistener("action", function SmartIndexTemplate_Template_organisms_navigator_action_1_listener($event) { return ctx.onAction($event); });
|
|
75
81
|
i0.ɵɵelement(2, "molecules-header", 1);
|
|
@@ -81,17 +87,17 @@ SmartIndexTemplate.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: SmartInd
|
|
|
81
87
|
i0.ɵɵelementEnd()();
|
|
82
88
|
} if (rf & 2) {
|
|
83
89
|
i0.ɵɵadvance(1);
|
|
84
|
-
i0.ɵɵproperty("leftItems", ctx.canBack ? ctx.navigatorLeftItems : i0.ɵɵpureFunction0(
|
|
90
|
+
i0.ɵɵproperty("leftItems", ctx.canBack ? ctx.navigatorLeftItems : i0.ɵɵpureFunction0(12, _c0))("rightItems", ctx.navigatorMenuItems);
|
|
85
91
|
i0.ɵɵadvance(1);
|
|
86
92
|
i0.ɵɵproperty("title", ctx.title)("description", ctx.description);
|
|
87
93
|
i0.ɵɵadvance(2);
|
|
88
|
-
i0.ɵɵproperty("items", ctx.items)("menuItems", ctx.rowMenuItems)("columns", ctx.properties)("selectedIdSet", ctx.selectedIdSet)("sortKey", ctx.sortKey)("sortOrder", ctx.sortOrder);
|
|
94
|
+
i0.ɵɵproperty("items", ctx.items)("menuItems", ctx.rowMenuItems)("itemActions", ctx.itemActions)("columns", ctx.properties)("selectedIdSet", ctx.selectedIdSet)("sortKey", ctx.sortKey)("sortOrder", ctx.sortOrder);
|
|
89
95
|
i0.ɵɵadvance(1);
|
|
90
96
|
i0.ɵɵproperty("ngIf", ctx.page);
|
|
91
|
-
} }, dependencies: [i1.NgIf, i2.AutoLayoutFrame, i3.ScrollFrame, i4.PaginatorOrganism, i5.SmartTableOrganism, i6.NavigatorOrganism, i7.HeaderMolecule], styles: ["[_nghost-%COMP%]{--navigator-height: 56px;--navigator-height-SCOPED-IN-smart-index-
|
|
97
|
+
} }, dependencies: [i1.NgIf, i2.AutoLayoutFrame, i3.ScrollFrame, i4.PaginatorOrganism, i5.SmartTableOrganism, i6.NavigatorOrganism, i7.HeaderMolecule], styles: ["[_nghost-%COMP%]{--navigator-height: 56px;--navigator-height-SCOPED-IN-smart-index-xvmj: 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 });
|
|
92
98
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SmartIndexTemplate, [{
|
|
93
99
|
type: Component,
|
|
94
|
-
args: [{ selector: 'templates-smart-index', changeDetection: ChangeDetectionStrategy.OnPush, host: { class: 'template' }, template: "<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 [columns]=\"properties\"\n [selectedIdSet]=\"selectedIdSet\"\n [sortKey]=\"sortKey\"\n [sortOrder]=\"sortOrder\"\n (action)=\"action.emit($event)\"\n (checkboxClick)=\"checkboxClick.emit($event)\"\n (headerClick)=\"tableHeaderClick.emit($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>", styles: [":host{--navigator-height: 56px;--navigator-height-SCOPED-IN-smart-index-
|
|
100
|
+
args: [{ selector: 'templates-smart-index', changeDetection: ChangeDetectionStrategy.OnPush, host: { class: 'template' }, template: "<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)=\"tableHeaderClick.emit($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>", styles: [":host{--navigator-height: 56px;--navigator-height-SCOPED-IN-smart-index-xvmj: var(--navigator-height)}:host{width:100%;height:100%;background:white;display:block}:host frames-auto-layout{--gap: 0;--vertical-padding: 0}\n"] }]
|
|
95
101
|
}], null, { canBack: [{
|
|
96
102
|
type: Input
|
|
97
103
|
}], queryControl: [{
|
|
@@ -104,6 +110,8 @@ SmartIndexTemplate.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: SmartInd
|
|
|
104
110
|
type: Input
|
|
105
111
|
}], rowMenuItems: [{
|
|
106
112
|
type: Input
|
|
113
|
+
}], itemActions: [{
|
|
114
|
+
type: Input
|
|
107
115
|
}], navigatorMenuItems: [{
|
|
108
116
|
type: Input
|
|
109
117
|
}], properties: [{
|
|
@@ -131,4 +139,4 @@ SmartIndexTemplate.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: SmartInd
|
|
|
131
139
|
}], tableHeaderClick: [{
|
|
132
140
|
type: Output
|
|
133
141
|
}] }); })();
|
|
134
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
142
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uI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Ryb2xdPVwicXVlcnlDb250cm9sXCJcbiAgICAgIFtwYWdlXT1cInBhZ2VcIlxuICAgICAgW3BhZ2VTaXplT3B0aW9uc109XCJwYWdlU2l6ZU9wdGlvbnNcIlxuICAgICAgW3BsYWNlaG9sZGVyXT1cInF1ZXJ5UGxhY2Vob2xkZXJcIlxuICAgICAgKHBhZ2VDaGFuZ2UpPVwicGFnZUNoYW5nZS5lbWl0KCRldmVudClcIlxuICAgID48L29yZ2FuaXNtcy1wYWdpbmF0b3I+XG4gIDwvZnJhbWVzLWF1dG8tbGF5b3V0PlxuPC9mcmFtZXMtc2Nyb2xsPiJdfQ==
|
|
@@ -57,11 +57,11 @@ IconAtom.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: IconAtom, selector
|
|
|
57
57
|
i0.ɵɵadvance(2);
|
|
58
58
|
i0.ɵɵproperty("ngIf", !i0.ɵɵpipeBind1(3, 4, ctx.hasSvgIcon$));
|
|
59
59
|
}
|
|
60
|
-
}, dependencies: [i2.NgIf, i1.MatIcon, i2.AsyncPipe], styles: ["[_nghost-%COMP%]{display:block;--color: inherit;--color-SCOPED-IN-icon-
|
|
60
|
+
}, dependencies: [i2.NgIf, i1.MatIcon, i2.AsyncPipe], styles: ["[_nghost-%COMP%]{display:block;--color: inherit;--color-SCOPED-IN-icon-dM5c: var(--color)}[_nghost-%COMP%] mat-icon[_ngcontent-%COMP%]{color:var(--color-SCOPED-IN-icon-dM5c)}[_nghost-%COMP%] mat-icon[_ngcontent-%COMP%] svg .filled{transition:fill .5s;fill:var(--color-SCOPED-IN-icon-dM5c)}"], changeDetection: 0 });
|
|
61
61
|
(function () {
|
|
62
62
|
(typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(IconAtom, [{
|
|
63
63
|
type: Component,
|
|
64
|
-
args: [{ selector: 'atoms-icon', changeDetection: ChangeDetectionStrategy.OnPush, template: "<mat-icon\n *ngIf=\"hasSvgIcon$ | async\"\n [svgIcon]=\"name$ | async\"\n></mat-icon>\n<mat-icon\n *ngIf=\"!(hasSvgIcon$ | async)\"\n>{{ name$ | async }}</mat-icon>\n", styles: [":host{display:block;--color: inherit;--color-SCOPED-IN-icon-
|
|
64
|
+
args: [{ selector: 'atoms-icon', changeDetection: ChangeDetectionStrategy.OnPush, template: "<mat-icon\n *ngIf=\"hasSvgIcon$ | async\"\n [svgIcon]=\"name$ | async\"\n></mat-icon>\n<mat-icon\n *ngIf=\"!(hasSvgIcon$ | async)\"\n>{{ name$ | async }}</mat-icon>\n", styles: [":host{display:block;--color: inherit;--color-SCOPED-IN-icon-dM5c: var(--color)}:host mat-icon{color:var(--color-SCOPED-IN-icon-dM5c)}:host mat-icon ::ng-deep svg .filled{transition:fill .5s;fill:var(--color-SCOPED-IN-icon-dM5c)}\n"] }]
|
|
65
65
|
}], function () { return [{ type: i1.MatIconRegistry }]; }, { name: [{
|
|
66
66
|
type: Input
|
|
67
67
|
}], color: [{
|
|
@@ -73,10 +73,11 @@ class SmartMenuButtonAtom {
|
|
|
73
73
|
constructor() {
|
|
74
74
|
this.items = [];
|
|
75
75
|
this.action = new EventEmitter();
|
|
76
|
+
this.trackByItemId = (index, item) => item.id;
|
|
76
77
|
}
|
|
77
78
|
}
|
|
78
79
|
SmartMenuButtonAtom.ɵfac = function SmartMenuButtonAtom_Factory(t) { return new (t || SmartMenuButtonAtom)(); };
|
|
79
|
-
SmartMenuButtonAtom.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: SmartMenuButtonAtom, selectors: [["atoms-smart-menu-button"]], inputs: { items: "items" }, outputs: { action: "action" }, decls: 7, vars:
|
|
80
|
+
SmartMenuButtonAtom.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: SmartMenuButtonAtom, selectors: [["atoms-smart-menu-button"]], inputs: { items: "items" }, outputs: { action: "action" }, decls: 7, vars: 5, consts: [[3, "ngSwitch"], [4, "ngSwitchCase"], [4, "ngSwitchDefault"], ["menu", "matMenu"], ["mat-menu-item", "", 3, "click", 4, "ngFor", "ngForOf", "ngForTrackBy"], ["mat-icon-button", "", 3, "click"], ["mat-icon-button", "", 3, "matMenuTriggerFor", 4, "ngIf"], ["mat-icon-button", "", 3, "matMenuTriggerFor"], ["mat-menu-item", "", 3, "click"]], template: function SmartMenuButtonAtom_Template(rf, ctx) {
|
|
80
81
|
if (rf & 1) {
|
|
81
82
|
i0.ɵɵelementContainerStart(0, 0);
|
|
82
83
|
i0.ɵɵtemplate(1, SmartMenuButtonAtom_ng_container_1_Template, 1, 0, "ng-container", 1);
|
|
@@ -95,13 +96,13 @@ SmartMenuButtonAtom.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: SmartMe
|
|
|
95
96
|
i0.ɵɵadvance(1);
|
|
96
97
|
i0.ɵɵproperty("ngSwitchCase", 1);
|
|
97
98
|
i0.ɵɵadvance(4);
|
|
98
|
-
i0.ɵɵproperty("ngForOf", ctx.items);
|
|
99
|
+
i0.ɵɵproperty("ngForOf", ctx.items)("ngForTrackBy", ctx.trackByItemId);
|
|
99
100
|
}
|
|
100
|
-
}, dependencies: [i1.NgForOf, i1.NgIf, i1.NgSwitch, i1.NgSwitchCase, i1.NgSwitchDefault, i2.MatButton, i3.MatIcon, i4.MatMenu, i4.MatMenuItem, i4.MatMenuTrigger], styles: ["[_nghost-%COMP%]{display:block;width:100%;height:100%}"]
|
|
101
|
+
}, dependencies: [i1.NgForOf, i1.NgIf, i1.NgSwitch, i1.NgSwitchCase, i1.NgSwitchDefault, i2.MatButton, i3.MatIcon, i4.MatMenu, i4.MatMenuItem, i4.MatMenuTrigger], styles: ["[_nghost-%COMP%]{display:block;width:100%;height:100%}"] });
|
|
101
102
|
(function () {
|
|
102
103
|
(typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SmartMenuButtonAtom, [{
|
|
103
104
|
type: Component,
|
|
104
|
-
args: [{ selector: 'atoms-smart-menu-button', changeDetection: ChangeDetectionStrategy.
|
|
105
|
+
args: [{ selector: 'atoms-smart-menu-button', changeDetection: ChangeDetectionStrategy.Default, template: "<ng-container [ngSwitch]=\"items?.length ?? 0\">\n <ng-container *ngSwitchCase=\"0\"></ng-container>\n <ng-container *ngSwitchCase=\"1\">\n <button mat-icon-button (click)=\"action.emit(items[0])\">\n <mat-icon>{{ items[0]?.icon }}</mat-icon>\n </button>\n </ng-container>\n <ng-container *ngSwitchDefault>\n <button mat-icon-button [matMenuTriggerFor]=\"menu\" *ngIf=\"items.length\">\n <mat-icon>menu</mat-icon>\n </button>\n </ng-container>\n</ng-container>\n\n<mat-menu #menu=\"matMenu\">\n <button \n *ngFor=\"let item of items; trackBy: trackByItemId\"\n mat-menu-item \n (click)=\"action.emit(item)\"\n >{{ item.name }}</button>\n</mat-menu>\n", styles: [":host{display:block;width:100%;height:100%}\n"] }]
|
|
105
106
|
}], null, { items: [{
|
|
106
107
|
type: Input
|
|
107
108
|
}], action: [{
|