@ng-atomic/components 4.14.1 → 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/molecules/text-input-field/text-input-field.molecule.mjs +80 -16
- package/esm2020/organisms/action-buttons-section/action-buttons-section.organism.mjs +14 -12
- 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 +4 -4
- 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 +5 -5
- 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 +38 -19
- package/esm2020/templates/menu/menu.template.mjs +3 -3
- package/esm2020/templates/smart-crud/smart-crud.template.mjs +16 -44
- package/esm2020/templates/smart-index/smart-index.module.mjs +5 -1
- package/esm2020/templates/smart-index/smart-index.template.mjs +57 -34
- 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-molecules-text-input-field.mjs +94 -15
- package/fesm2015/ng-atomic-components-molecules-text-input-field.mjs.map +1 -1
- package/fesm2015/ng-atomic-components-organisms-action-buttons-section.mjs +13 -11
- package/fesm2015/ng-atomic-components-organisms-action-buttons-section.mjs.map +1 -1
- 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 +3 -3
- package/fesm2015/ng-atomic-components-organisms-navigation-list.mjs.map +1 -1
- 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 +4 -4
- package/fesm2015/ng-atomic-components-organisms-text-input-section.mjs.map +1 -1
- 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 +38 -19
- package/fesm2015/ng-atomic-components-templates-entrance.mjs.map +1 -1
- package/fesm2015/ng-atomic-components-templates-menu.mjs +2 -2
- package/fesm2015/ng-atomic-components-templates-menu.mjs.map +1 -1
- package/fesm2015/ng-atomic-components-templates-smart-crud.mjs +15 -43
- package/fesm2015/ng-atomic-components-templates-smart-crud.mjs.map +1 -1
- package/fesm2015/ng-atomic-components-templates-smart-index.mjs +66 -33
- 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-molecules-text-input-field.mjs +79 -15
- package/fesm2020/ng-atomic-components-molecules-text-input-field.mjs.map +1 -1
- package/fesm2020/ng-atomic-components-organisms-action-buttons-section.mjs +13 -11
- package/fesm2020/ng-atomic-components-organisms-action-buttons-section.mjs.map +1 -1
- 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 +3 -3
- package/fesm2020/ng-atomic-components-organisms-navigation-list.mjs.map +1 -1
- 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 +4 -4
- package/fesm2020/ng-atomic-components-organisms-text-input-section.mjs.map +1 -1
- 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 +38 -19
- package/fesm2020/ng-atomic-components-templates-entrance.mjs.map +1 -1
- package/fesm2020/ng-atomic-components-templates-menu.mjs +2 -2
- package/fesm2020/ng-atomic-components-templates-menu.mjs.map +1 -1
- package/fesm2020/ng-atomic-components-templates-smart-crud.mjs +15 -43
- package/fesm2020/ng-atomic-components-templates-smart-crud.mjs.map +1 -1
- package/fesm2020/ng-atomic-components-templates-smart-index.mjs +60 -33
- 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/action-buttons-section/action-buttons-section.organism.d.ts +2 -2
- package/organisms/action-buttons-section/action-buttons-section.organism.d.ts.map +1 -1
- package/organisms/navigation-list/navigation-list.organism.d.ts +2 -2
- package/organisms/navigation-list/navigation-list.organism.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/entrance/entrance.template.d.ts +11 -4
- package/templates/entrance/entrance.template.d.ts.map +1 -1
- package/templates/menu/menu.template.d.ts +2 -2
- package/templates/menu/menu.template.d.ts.map +1 -1
- 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 +9 -12
- package/templates/smart-index/smart-index.template.d.ts.map +1 -1
|
@@ -16,7 +16,7 @@ function NavigatorOrganism_atoms_smart_menu_button_2_Template(rf, ctx) { if (rf
|
|
|
16
16
|
i0.ɵɵelementEnd();
|
|
17
17
|
} if (rf & 2) {
|
|
18
18
|
const ctx_r0 = i0.ɵɵnextContext();
|
|
19
|
-
i0.ɵɵproperty("items", ctx_r0.
|
|
19
|
+
i0.ɵɵproperty("items", ctx_r0.startActions);
|
|
20
20
|
} }
|
|
21
21
|
function NavigatorOrganism_atoms_smart_menu_button_5_Template(rf, ctx) { if (rf & 1) {
|
|
22
22
|
const _r5 = i0.ɵɵgetCurrentView();
|
|
@@ -25,18 +25,18 @@ function NavigatorOrganism_atoms_smart_menu_button_5_Template(rf, ctx) { if (rf
|
|
|
25
25
|
i0.ɵɵelementEnd();
|
|
26
26
|
} if (rf & 2) {
|
|
27
27
|
const ctx_r1 = i0.ɵɵnextContext();
|
|
28
|
-
i0.ɵɵproperty("items", ctx_r1.
|
|
28
|
+
i0.ɵɵproperty("items", ctx_r1.endActions);
|
|
29
29
|
} }
|
|
30
30
|
const _c0 = ["*"];
|
|
31
31
|
class NavigatorOrganism {
|
|
32
32
|
constructor() {
|
|
33
|
-
this.
|
|
34
|
-
this.
|
|
33
|
+
this.startActions = [];
|
|
34
|
+
this.endActions = [];
|
|
35
35
|
this.action = new EventEmitter();
|
|
36
36
|
}
|
|
37
37
|
}
|
|
38
38
|
NavigatorOrganism.ɵfac = function NavigatorOrganism_Factory(t) { return new (t || NavigatorOrganism)(); };
|
|
39
|
-
NavigatorOrganism.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: NavigatorOrganism, selectors: [["organisms-navigator"]], inputs: {
|
|
39
|
+
NavigatorOrganism.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: NavigatorOrganism, selectors: [["organisms-navigator"]], inputs: { startActions: "startActions", endActions: "endActions" }, outputs: { action: "action" }, ngContentSelectors: _c0, decls: 6, vars: 2, consts: [["color", "primary"], [3, "items", "action", 4, "ngIf"], [3, "items", "action"]], template: function NavigatorOrganism_Template(rf, ctx) { if (rf & 1) {
|
|
40
40
|
i0.ɵɵprojectionDef();
|
|
41
41
|
i0.ɵɵelementStart(0, "mat-toolbar", 0)(1, "div");
|
|
42
42
|
i0.ɵɵtemplate(2, NavigatorOrganism_atoms_smart_menu_button_2_Template, 1, 1, "atoms-smart-menu-button", 1);
|
|
@@ -47,16 +47,16 @@ NavigatorOrganism.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: Navigator
|
|
|
47
47
|
i0.ɵɵelementEnd()();
|
|
48
48
|
} if (rf & 2) {
|
|
49
49
|
i0.ɵɵadvance(2);
|
|
50
|
-
i0.ɵɵproperty("ngIf", ctx.
|
|
50
|
+
i0.ɵɵproperty("ngIf", ctx.startActions.length);
|
|
51
51
|
i0.ɵɵadvance(3);
|
|
52
|
-
i0.ɵɵproperty("ngIf", ctx.
|
|
53
|
-
} }, dependencies: [i1.NgIf, i2.MatToolbar, i3.SmartMenuButtonAtom], styles: ["[_nghost-%COMP%]{--height: 64px;--height-SCOPED-IN-navigator-
|
|
52
|
+
i0.ɵɵproperty("ngIf", ctx.startActions.length);
|
|
53
|
+
} }, dependencies: [i1.NgIf, i2.MatToolbar, i3.SmartMenuButtonAtom], styles: ["[_nghost-%COMP%]{--height: 64px;--height-SCOPED-IN-navigator-o4Pa: var(--height)}[_nghost-%COMP%]{display:block;width:100%;height:var(--height-SCOPED-IN-navigator-o4Pa)}[_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 });
|
|
54
54
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(NavigatorOrganism, [{
|
|
55
55
|
type: Component,
|
|
56
|
-
args: [{ selector: 'organisms-navigator', changeDetection: ChangeDetectionStrategy.OnPush, template: "<mat-toolbar color=\"primary\">\n <div>\n <atoms-smart-menu-button\n *ngIf=\"
|
|
57
|
-
}], null, {
|
|
56
|
+
args: [{ selector: 'organisms-navigator', changeDetection: ChangeDetectionStrategy.OnPush, template: "<mat-toolbar color=\"primary\">\n <div>\n <atoms-smart-menu-button\n *ngIf=\"startActions.length\"\n [items]=\"startActions\"\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=\"startActions.length\"\n [items]=\"endActions\"\n (action)=\"action.emit($event)\"\n ></atoms-smart-menu-button>\n </div>\n</mat-toolbar>\n", styles: [":host{--height: 64px;--height-SCOPED-IN-navigator-o4Pa: var(--height)}:host{display:block;width:100%;height:var(--height-SCOPED-IN-navigator-o4Pa)}: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"] }]
|
|
57
|
+
}], null, { startActions: [{
|
|
58
58
|
type: Input
|
|
59
|
-
}],
|
|
59
|
+
}], endActions: [{
|
|
60
60
|
type: Input
|
|
61
61
|
}], action: [{
|
|
62
62
|
type: Output
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ng-atomic-components-organisms-navigator.mjs","sources":["../../../../libs/components/src/organisms/navigator/navigator.organism.html","../../../../libs/components/src/organisms/navigator/navigator.organism.ts","../../../../libs/components/src/organisms/navigator/navigator.module.ts","../../../../libs/components/src/organisms/navigator/ng-atomic-components-organisms-navigator.ts"],"sourcesContent":["<mat-toolbar color=\"primary\">\n <div>\n <atoms-smart-menu-button\n *ngIf=\"
|
|
1
|
+
{"version":3,"file":"ng-atomic-components-organisms-navigator.mjs","sources":["../../../../libs/components/src/organisms/navigator/navigator.organism.html","../../../../libs/components/src/organisms/navigator/navigator.organism.ts","../../../../libs/components/src/organisms/navigator/navigator.module.ts","../../../../libs/components/src/organisms/navigator/ng-atomic-components-organisms-navigator.ts"],"sourcesContent":["<mat-toolbar color=\"primary\">\n <div>\n <atoms-smart-menu-button\n *ngIf=\"startActions.length\"\n [items]=\"startActions\"\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=\"startActions.length\"\n [items]=\"endActions\"\n (action)=\"action.emit($event)\"\n ></atoms-smart-menu-button>\n </div>\n</mat-toolbar>\n","import { ChangeDetectionStrategy, Component, EventEmitter, Input, Output } from '@angular/core';\nimport { Action } from '@ng-atomic/common/models';\n\n@Component({\n selector: 'organisms-navigator',\n templateUrl: './navigator.organism.html',\n styleUrls: ['./navigator.organism.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class NavigatorOrganism {\n @Input()\n startActions: Action[] = [];\n\n @Input()\n endActions: Action[] = [];\n\n @Output()\n action = new EventEmitter<Action>();\n}\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { MatButtonModule } from '@angular/material/button';\nimport { MatIconModule } from '@angular/material/icon';\nimport { MatToolbarModule } from '@angular/material/toolbar';\nimport { SmartMenuButtonModule } from '@ng-atomic/components/atoms/smart-menu-button';\n\nimport { NavigatorOrganism } from './navigator.organism';\n\n\n\n@NgModule({\n declarations: [NavigatorOrganism],\n imports: [\n CommonModule,\n // Material\n MatButtonModule,\n MatIconModule,\n MatToolbarModule,\n // Atoms\n SmartMenuButtonModule,\n ],\n exports: [NavigatorOrganism]\n})\nexport class NavigatorModule { }\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;;;IAEI,EAIC,CAAA,cAAA,CAAA,CAAA,EAAA,yBAAA,EAAA,CAAA,CAAA,CAAA;IADC,EAAU,CAAA,UAAA,CAAA,QAAA,EAAA,SAAA,8FAAA,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,EAA0B,CAAA,YAAA,EAAA,CAAA;;;IAFzB,EAAsB,CAAA,UAAA,CAAA,OAAA,EAAA,MAAA,CAAA,YAAA,CAAA,CAAA;;;;IAMxB,EAIC,CAAA,cAAA,CAAA,CAAA,EAAA,yBAAA,EAAA,CAAA,CAAA,CAAA;IADC,EAAU,CAAA,UAAA,CAAA,QAAA,EAAA,SAAA,8FAAA,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,EAA0B,CAAA,YAAA,EAAA,CAAA;;;IAFzB,EAAo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A,EAAA,CAE9B,YAAY;;QAEZ,eAAe;QACf,aAAa;QACb,gBAAgB;;AAEhB,QAAA,qBAAqB,aAEb,iBAAiB,CAAA,EAAA,CAAA,CAAA,EAAA,GAAA;;ACtB7B;;AAEG;;;;"}
|
|
@@ -17,10 +17,10 @@ SelectInputSectionOrganism.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type:
|
|
|
17
17
|
i0.ɵɵelement(0, "molecules-select-input-field", 0);
|
|
18
18
|
} if (rf & 2) {
|
|
19
19
|
i0.ɵɵproperty("label", ctx.label)("control", ctx.control)("options", ctx.options);
|
|
20
|
-
} }, dependencies: [i1.SelectInputFieldMolecule], styles: ["[_nghost-%COMP%]{--horizontal-padding: 16px;--horizontal-padding-SCOPED-IN-select-input-section-
|
|
20
|
+
} }, dependencies: [i1.SelectInputFieldMolecule], styles: ["[_nghost-%COMP%]{--horizontal-padding: 16px;--horizontal-padding-SCOPED-IN-select-input-section-kBnV: var(--horizontal-padding)}[_nghost-%COMP%]{display:block;width:100%;padding:0 var(--horizontal-padding-SCOPED-IN-select-input-section-kBnV);box-sizing:border-box}[_nghost-%COMP%] .molecule.input-field[_ngcontent-%COMP%]{width:100%}"], changeDetection: 0 });
|
|
21
21
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SelectInputSectionOrganism, [{
|
|
22
22
|
type: Component,
|
|
23
|
-
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-
|
|
23
|
+
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-kBnV: var(--horizontal-padding)}:host{display:block;width:100%;padding:0 var(--horizontal-padding-SCOPED-IN-select-input-section-kBnV);box-sizing:border-box}:host .molecule.input-field{width:100%}\n"] }]
|
|
24
24
|
}], null, { label: [{
|
|
25
25
|
type: Input
|
|
26
26
|
}], control: [{
|
|
@@ -0,0 +1,141 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { EventEmitter, Component, ChangeDetectionStrategy, Optional, Inject, Input, Output, NgModule } from '@angular/core';
|
|
3
|
+
import * as i5 from '@ng-atomic/common/pipes/data-accessor';
|
|
4
|
+
import { defaultDataAccessor, DATA_ACCESSOR, DataAccessorPipe } from '@ng-atomic/common/pipes/data-accessor';
|
|
5
|
+
import * as i1 from '@angular/common';
|
|
6
|
+
import { CommonModule } from '@angular/common';
|
|
7
|
+
import * as i2 from '@angular/material/list';
|
|
8
|
+
import { MatListModule } from '@angular/material/list';
|
|
9
|
+
import * as i3 from '@angular/material/core';
|
|
10
|
+
import { MatRippleModule } from '@angular/material/core';
|
|
11
|
+
import * as i4 from '@angular/material/divider';
|
|
12
|
+
import { MatIconModule } from '@angular/material/icon';
|
|
13
|
+
|
|
14
|
+
function SmartListOrganism_ng_container_1_ng_container_3_Template(rf, ctx) { if (rf & 1) {
|
|
15
|
+
const _r5 = i0.ɵɵgetCurrentView();
|
|
16
|
+
i0.ɵɵelementContainerStart(0);
|
|
17
|
+
i0.ɵɵelementStart(1, "mat-list-item", 2);
|
|
18
|
+
i0.ɵɵlistener("click", function SmartListOrganism_ng_container_1_ng_container_3_Template_mat_list_item_click_1_listener() { const restoredCtx = i0.ɵɵrestoreView(_r5); const item_r3 = restoredCtx.$implicit; const ctx_r4 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r4.onItemClick(item_r3)); });
|
|
19
|
+
i0.ɵɵelementStart(2, "span", 3);
|
|
20
|
+
i0.ɵɵtext(3);
|
|
21
|
+
i0.ɵɵpipe(4, "dataAccessor");
|
|
22
|
+
i0.ɵɵelementEnd();
|
|
23
|
+
i0.ɵɵelementStart(5, "span", 3);
|
|
24
|
+
i0.ɵɵtext(6);
|
|
25
|
+
i0.ɵɵpipe(7, "dataAccessor");
|
|
26
|
+
i0.ɵɵelementEnd()();
|
|
27
|
+
i0.ɵɵelementContainerEnd();
|
|
28
|
+
} if (rf & 2) {
|
|
29
|
+
const item_r3 = ctx.$implicit;
|
|
30
|
+
i0.ɵɵadvance(3);
|
|
31
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind2(4, 2, item_r3, "__title"));
|
|
32
|
+
i0.ɵɵadvance(3);
|
|
33
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind2(7, 5, item_r3, "__desc"));
|
|
34
|
+
} }
|
|
35
|
+
function SmartListOrganism_ng_container_1_Template(rf, ctx) { if (rf & 1) {
|
|
36
|
+
i0.ɵɵelementContainerStart(0);
|
|
37
|
+
i0.ɵɵelementStart(1, "div", 1);
|
|
38
|
+
i0.ɵɵtext(2);
|
|
39
|
+
i0.ɵɵelementEnd();
|
|
40
|
+
i0.ɵɵtemplate(3, SmartListOrganism_ng_container_1_ng_container_3_Template, 8, 8, "ng-container", 0);
|
|
41
|
+
i0.ɵɵelement(4, "mat-divider");
|
|
42
|
+
i0.ɵɵelementContainerEnd();
|
|
43
|
+
} if (rf & 2) {
|
|
44
|
+
const status_r1 = ctx.$implicit;
|
|
45
|
+
const ctx_r0 = i0.ɵɵnextContext();
|
|
46
|
+
i0.ɵɵadvance(2);
|
|
47
|
+
i0.ɵɵtextInterpolate1(" ", status_r1, "");
|
|
48
|
+
i0.ɵɵadvance(1);
|
|
49
|
+
i0.ɵɵproperty("ngForOf", ctx_r0.statusMap[status_r1]);
|
|
50
|
+
} }
|
|
51
|
+
var ActionId;
|
|
52
|
+
(function (ActionId) {
|
|
53
|
+
ActionId["CLICK_ITEM"] = "[@ng-atomic/components/organisms/smart-list] Click Item";
|
|
54
|
+
})(ActionId || (ActionId = {}));
|
|
55
|
+
class SmartListOrganism {
|
|
56
|
+
constructor(dataAccessor) {
|
|
57
|
+
this.dataAccessor = dataAccessor;
|
|
58
|
+
this.statusAccessor = (data) => data['status'];
|
|
59
|
+
this.items = [];
|
|
60
|
+
this.action = new EventEmitter();
|
|
61
|
+
this.dataAccessor ?? (this.dataAccessor = defaultDataAccessor);
|
|
62
|
+
}
|
|
63
|
+
get statusMap() {
|
|
64
|
+
return this.items.reduce((acc, item) => {
|
|
65
|
+
const key = this.dataAccessor(item, '__status');
|
|
66
|
+
acc[key] ?? (acc[key] = []),
|
|
67
|
+
acc[key].push(item);
|
|
68
|
+
return acc;
|
|
69
|
+
}, {});
|
|
70
|
+
}
|
|
71
|
+
get statuses() {
|
|
72
|
+
return Object.keys(this.statusMap);
|
|
73
|
+
}
|
|
74
|
+
onItemClick(item) {
|
|
75
|
+
this.action.emit({
|
|
76
|
+
id: ActionId.CLICK_ITEM,
|
|
77
|
+
payload: item,
|
|
78
|
+
});
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
SmartListOrganism.ɵfac = function SmartListOrganism_Factory(t) { return new (t || SmartListOrganism)(i0.ɵɵdirectiveInject(DATA_ACCESSOR, 8)); };
|
|
82
|
+
SmartListOrganism.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: SmartListOrganism, selectors: [["organisms-smart-list"]], inputs: { items: "items" }, outputs: { action: "action" }, decls: 2, vars: 1, consts: [[4, "ngFor", "ngForOf"], ["mat-subheader", ""], ["lines", "2", "matRipple", "", 3, "click"], ["mat-line", ""]], template: function SmartListOrganism_Template(rf, ctx) { if (rf & 1) {
|
|
83
|
+
i0.ɵɵelementStart(0, "mat-list");
|
|
84
|
+
i0.ɵɵtemplate(1, SmartListOrganism_ng_container_1_Template, 5, 2, "ng-container", 0);
|
|
85
|
+
i0.ɵɵelementEnd();
|
|
86
|
+
} if (rf & 2) {
|
|
87
|
+
i0.ɵɵadvance(1);
|
|
88
|
+
i0.ɵɵproperty("ngForOf", ctx.statuses);
|
|
89
|
+
} }, dependencies: [i1.NgForOf, i2.MatList, i2.MatListItem, i3.MatLine, i2.MatListSubheaderCssMatStyler, i4.MatDivider, i3.MatRipple, i5.DataAccessorPipe], styles: ["[_nghost-%COMP%]{display:block}[_nghost-%COMP%]{display:block;flex-direction:unset;font-size:14px;height:100%}"], changeDetection: 0 });
|
|
90
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SmartListOrganism, [{
|
|
91
|
+
type: Component,
|
|
92
|
+
args: [{ selector: 'organisms-smart-list', changeDetection: ChangeDetectionStrategy.OnPush, template: "<mat-list>\n <ng-container *ngFor=\"let status of statuses\">\n <div mat-subheader> {{ status }}</div>\n <ng-container *ngFor=\"let item of statusMap[status]\">\n <mat-list-item lines=\"2\" matRipple (click)=\"onItemClick(item)\">\n <span mat-line>{{ item | dataAccessor:'__title' }}</span>\n <span mat-line>{{ item | dataAccessor:'__desc' }}</span>\n </mat-list-item>\n </ng-container>\n <mat-divider></mat-divider>\n </ng-container>\n</mat-list>\n", styles: [":host{display:block}:host{display:block;flex-direction:unset;font-size:14px;height:100%}\n"] }]
|
|
93
|
+
}], function () { return [{ type: undefined, decorators: [{
|
|
94
|
+
type: Optional
|
|
95
|
+
}, {
|
|
96
|
+
type: Inject,
|
|
97
|
+
args: [DATA_ACCESSOR]
|
|
98
|
+
}] }]; }, { items: [{
|
|
99
|
+
type: Input
|
|
100
|
+
}], action: [{
|
|
101
|
+
type: Output
|
|
102
|
+
}] }); })();
|
|
103
|
+
|
|
104
|
+
class SmartListModule {
|
|
105
|
+
}
|
|
106
|
+
SmartListModule.ɵfac = function SmartListModule_Factory(t) { return new (t || SmartListModule)(); };
|
|
107
|
+
SmartListModule.ɵmod = /*@__PURE__*/ i0.ɵɵdefineNgModule({ type: SmartListModule });
|
|
108
|
+
SmartListModule.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ imports: [CommonModule,
|
|
109
|
+
MatListModule,
|
|
110
|
+
MatIconModule,
|
|
111
|
+
MatRippleModule] });
|
|
112
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SmartListModule, [{
|
|
113
|
+
type: NgModule,
|
|
114
|
+
args: [{
|
|
115
|
+
declarations: [
|
|
116
|
+
SmartListOrganism,
|
|
117
|
+
],
|
|
118
|
+
imports: [
|
|
119
|
+
CommonModule,
|
|
120
|
+
MatListModule,
|
|
121
|
+
MatIconModule,
|
|
122
|
+
MatRippleModule,
|
|
123
|
+
DataAccessorPipe,
|
|
124
|
+
],
|
|
125
|
+
exports: [
|
|
126
|
+
SmartListOrganism
|
|
127
|
+
]
|
|
128
|
+
}]
|
|
129
|
+
}], null, null); })();
|
|
130
|
+
(function () { (typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(SmartListModule, { declarations: [SmartListOrganism], imports: [CommonModule,
|
|
131
|
+
MatListModule,
|
|
132
|
+
MatIconModule,
|
|
133
|
+
MatRippleModule,
|
|
134
|
+
DataAccessorPipe], exports: [SmartListOrganism] }); })();
|
|
135
|
+
|
|
136
|
+
/**
|
|
137
|
+
* Generated bundle index. Do not edit.
|
|
138
|
+
*/
|
|
139
|
+
|
|
140
|
+
export { ActionId, SmartListModule, SmartListOrganism };
|
|
141
|
+
//# sourceMappingURL=ng-atomic-components-organisms-smart-list.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ng-atomic-components-organisms-smart-list.mjs","sources":["../../../../libs/components/src/organisms/smart-list/smart-list.organism.html","../../../../libs/components/src/organisms/smart-list/smart-list.organism.ts","../../../../libs/components/src/organisms/smart-list/smart-list.module.ts","../../../../libs/components/src/organisms/smart-list/ng-atomic-components-organisms-smart-list.ts"],"sourcesContent":["<mat-list>\n <ng-container *ngFor=\"let status of statuses\">\n <div mat-subheader> {{ status }}</div>\n <ng-container *ngFor=\"let item of statusMap[status]\">\n <mat-list-item lines=\"2\" matRipple (click)=\"onItemClick(item)\">\n <span mat-line>{{ item | dataAccessor:'__title' }}</span>\n <span mat-line>{{ item | dataAccessor:'__desc' }}</span>\n </mat-list-item>\n </ng-container>\n <mat-divider></mat-divider>\n </ng-container>\n</mat-list>\n","import { ChangeDetectionStrategy, Component, EventEmitter, Inject, Input, Optional, Output } from '@angular/core';\nimport { Action } from '@ng-atomic/common/models';\nimport { DataAccessor, DATA_ACCESSOR, defaultDataAccessor } from '@ng-atomic/common/pipes/data-accessor';\n\nexport enum ActionId {\n CLICK_ITEM = '[@ng-atomic/components/organisms/smart-list] Click Item',\n}\n\n@Component({\n selector: 'organisms-smart-list',\n templateUrl: './smart-list.organism.html',\n styleUrls: ['./smart-list.organism.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush\n})\nexport class SmartListOrganism<T> {\n\n constructor(\n @Optional() @Inject(DATA_ACCESSOR) private dataAccessor: DataAccessor<T>\n ) {\n this.dataAccessor ??= defaultDataAccessor;\n }\n\n statusAccessor = (data) => data['status'];\n\n @Input()\n items: T[] = [];\n\n @Output()\n action = new EventEmitter<Action>();\n\n get statusMap() {\n return this.items.reduce((acc, item) => {\n const key = this.dataAccessor(item, '__status');\n acc[key] ??= [],\n acc[key].push(item);\n return acc;\n }, {} as { [id: string]: any[] });\n }\n\n get statuses() {\n return Object.keys(this.statusMap);\n }\n\n protected onItemClick(item: T) {\n this.action.emit({\n id: ActionId.CLICK_ITEM,\n payload: item,\n });\n }\n}\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { SmartListOrganism } from './smart-list.organism';\nimport { MatListModule } from '@angular/material/list';\nimport { MatIconModule } from '@angular/material/icon';\nimport { MatRippleModule } from '@angular/material/core';\nimport { DataAccessorPipe } from '@ng-atomic/common/pipes/data-accessor';\n\n@NgModule({\n declarations: [\n SmartListOrganism,\n ],\n imports: [\n CommonModule,\n MatListModule,\n MatIconModule,\n MatRippleModule,\n DataAccessorPipe,\n ],\n exports: [\n SmartListOrganism\n ]\n})\nex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AA;AACF,aAAA,CAAA;;wFACY,eAAe,EAAA,EAAA,YAAA,EAAA,CAbxB,iBAAiB,CAAA,EAAA,OAAA,EAAA,CAGjB,YAAY;QACZ,aAAa;QACb,aAAa;QACb,eAAe;AACf,QAAA,gBAAgB,aAGhB,iBAAiB,CAAA,EAAA,CAAA,CAAA,EAAA,GAAA;;ACpBrB;;AAEG;;;;"}
|
|
@@ -33,7 +33,7 @@ function SmartTableOrganism_ng_container_1_molecules_actions_column_2_Template(r
|
|
|
33
33
|
i0.ɵɵelementEnd();
|
|
34
34
|
} if (rf & 2) {
|
|
35
35
|
const ctx_r6 = i0.ɵɵnextContext(2);
|
|
36
|
-
i0.ɵɵproperty("
|
|
36
|
+
i0.ɵɵproperty("itemActions", ctx_r6.itemActions);
|
|
37
37
|
} }
|
|
38
38
|
function SmartTableOrganism_ng_container_1_molecules_smart_column_3_Template(rf, ctx) { if (rf & 1) {
|
|
39
39
|
const _r14 = i0.ɵɵgetCurrentView();
|
|
@@ -44,12 +44,12 @@ function SmartTableOrganism_ng_container_1_molecules_smart_column_3_Template(rf,
|
|
|
44
44
|
} if (rf & 2) {
|
|
45
45
|
const name_r4 = i0.ɵɵnextContext().$implicit;
|
|
46
46
|
const ctx_r7 = i0.ɵɵnextContext();
|
|
47
|
-
i0.ɵɵproperty("name", name_r4)("headerText", i0.ɵɵpipeBind1(1, 3, name_r4))("sort", ctx_r7.
|
|
47
|
+
i0.ɵɵproperty("name", name_r4)("headerText", i0.ɵɵpipeBind1(1, 3, name_r4))("sort", (ctx_r7.sort == null ? null : ctx_r7.sort.key) === name_r4 ? ctx_r7.sort == null ? null : ctx_r7.sort.order : "none");
|
|
48
48
|
} }
|
|
49
49
|
function SmartTableOrganism_ng_container_1_Template(rf, ctx) { if (rf & 1) {
|
|
50
50
|
i0.ɵɵelementContainerStart(0, 5);
|
|
51
51
|
i0.ɵɵtemplate(1, SmartTableOrganism_ng_container_1_molecules_checkbox_column_1_Template, 1, 1, "molecules-checkbox-column", 6);
|
|
52
|
-
i0.ɵɵtemplate(2, SmartTableOrganism_ng_container_1_molecules_actions_column_2_Template, 1,
|
|
52
|
+
i0.ɵɵtemplate(2, SmartTableOrganism_ng_container_1_molecules_actions_column_2_Template, 1, 1, "molecules-actions-column", 7);
|
|
53
53
|
i0.ɵɵtemplate(3, SmartTableOrganism_ng_container_1_molecules_smart_column_3_Template, 2, 5, "molecules-smart-column", 8);
|
|
54
54
|
i0.ɵɵelementContainerEnd();
|
|
55
55
|
} if (rf & 2) {
|
|
@@ -73,13 +73,12 @@ function SmartTableOrganism_div_4_Template(rf, ctx) { if (rf & 1) {
|
|
|
73
73
|
} }
|
|
74
74
|
class SmartTableOrganism {
|
|
75
75
|
constructor() {
|
|
76
|
-
this.
|
|
76
|
+
this._columns = [];
|
|
77
77
|
this.items = [];
|
|
78
78
|
this.itemActions = () => [];
|
|
79
|
-
this.patientsSize = 0;
|
|
80
79
|
this.pageSize = 0;
|
|
81
|
-
this.menuItems = [];
|
|
82
80
|
this.selectedIdSet = new Set();
|
|
81
|
+
this.sort = {};
|
|
83
82
|
this.action = new EventEmitter();
|
|
84
83
|
this.headerClick = new EventEmitter();
|
|
85
84
|
this.checkboxClick = new EventEmitter();
|
|
@@ -87,12 +86,12 @@ class SmartTableOrganism {
|
|
|
87
86
|
this.itemCheck = new EventEmitter();
|
|
88
87
|
this.trackByColumnName = (columnName) => columnName;
|
|
89
88
|
}
|
|
90
|
-
get
|
|
91
|
-
return [...this.
|
|
89
|
+
get columns() {
|
|
90
|
+
return [...this._columns];
|
|
92
91
|
}
|
|
93
92
|
}
|
|
94
93
|
SmartTableOrganism.ɵfac = function SmartTableOrganism_Factory(t) { return new (t || SmartTableOrganism)(); };
|
|
95
|
-
SmartTableOrganism.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: SmartTableOrganism, selectors: [["organisms-smart-table"]], hostAttrs: [1, "organism"], inputs: {
|
|
94
|
+
SmartTableOrganism.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: SmartTableOrganism, selectors: [["organisms-smart-table"]], hostAttrs: [1, "organism"], inputs: { _columns: ["columns", "_columns"], items: "items", itemActions: "itemActions", pageSize: "pageSize", selectedIdSet: "selectedIdSet", sort: "sort" }, 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, "itemActions", "action", 4, "ngSwitchCase"], [3, "name", "headerText", "sort", "headerClick", 4, "ngSwitchDefault"], ["name", "__checkbox", 3, "selectedIdSet", "checkboxClick"], ["name", "__actions", 3, "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) {
|
|
96
95
|
i0.ɵɵelementStart(0, "table", 0);
|
|
97
96
|
i0.ɵɵtemplate(1, SmartTableOrganism_ng_container_1_Template, 4, 3, "ng-container", 1);
|
|
98
97
|
i0.ɵɵtemplate(2, SmartTableOrganism_tr_2_Template, 1, 0, "tr", 2);
|
|
@@ -102,34 +101,29 @@ SmartTableOrganism.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: SmartTab
|
|
|
102
101
|
} if (rf & 2) {
|
|
103
102
|
i0.ɵɵproperty("dataSource", ctx.items);
|
|
104
103
|
i0.ɵɵadvance(1);
|
|
105
|
-
i0.ɵɵproperty("ngForOf", ctx.
|
|
104
|
+
i0.ɵɵproperty("ngForOf", ctx.columns)("ngForTrackBy", ctx.trackByColumnName);
|
|
106
105
|
i0.ɵɵadvance(1);
|
|
107
|
-
i0.ɵɵproperty("matHeaderRowDef", ctx.
|
|
106
|
+
i0.ɵɵproperty("matHeaderRowDef", ctx.columns)("matHeaderRowDefSticky", true);
|
|
108
107
|
i0.ɵɵadvance(1);
|
|
109
|
-
i0.ɵɵproperty("matRowDefColumns", ctx.
|
|
108
|
+
i0.ɵɵproperty("matRowDefColumns", ctx.columns);
|
|
110
109
|
i0.ɵɵadvance(1);
|
|
111
110
|
i0.ɵɵproperty("ngIf", !(ctx.items == null ? null : ctx.items.length));
|
|
112
|
-
} }, 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-
|
|
111
|
+
} }, 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-Pc6U: var(--width);--cell: 8px;--cell-SCOPED-IN-smart-table-Pc6U: var(--cell);--column-vertical-padding: 4px;--column-vertical-padding-SCOPED-IN-smart-table-Pc6U: 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-Pc6U)}[_nghost-%COMP%] .no-data-message[_ngcontent-%COMP%]{display:flex;justify-content:flex-start;align-items:center;width:calc(var(--width-SCOPED-IN-smart-table-Pc6U) - var(--cell-SCOPED-IN-smart-table-Pc6U) * 4);height:3em;padding-left:calc(var(--cell-SCOPED-IN-smart-table-Pc6U) * 2);padding-right:calc(var(--cell-SCOPED-IN-smart-table-Pc6U) * 2)}"], changeDetection: 0 });
|
|
113
112
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SmartTableOrganism, [{
|
|
114
113
|
type: Component,
|
|
115
|
-
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
|
|
116
|
-
}], null, {
|
|
117
|
-
type: Input
|
|
114
|
+
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 columns; 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 [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]=\"sort?.key === name ? sort?.order : 'none'\"\n (headerClick)=\"headerClick.emit(name)\"\n ></molecules-smart-column>\n </ng-container>\n <tr mat-header-row *matHeaderRowDef=\"columns; sticky: true\"></tr>\n <tr mat-row *matRowDef=\"let item; columns: columns;\"></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-Pc6U: var(--width);--cell: 8px;--cell-SCOPED-IN-smart-table-Pc6U: var(--cell);--column-vertical-padding: 4px;--column-vertical-padding-SCOPED-IN-smart-table-Pc6U: 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-Pc6U)}:host .no-data-message{display:flex;justify-content:flex-start;align-items:center;width:calc(var(--width-SCOPED-IN-smart-table-Pc6U) - var(--cell-SCOPED-IN-smart-table-Pc6U) * 4);height:3em;padding-left:calc(var(--cell-SCOPED-IN-smart-table-Pc6U) * 2);padding-right:calc(var(--cell-SCOPED-IN-smart-table-Pc6U) * 2)}\n"] }]
|
|
115
|
+
}], null, { _columns: [{
|
|
116
|
+
type: Input,
|
|
117
|
+
args: ['columns']
|
|
118
118
|
}], items: [{
|
|
119
119
|
type: Input
|
|
120
120
|
}], itemActions: [{
|
|
121
121
|
type: Input
|
|
122
|
-
}], patientsSize: [{
|
|
123
|
-
type: Input
|
|
124
122
|
}], pageSize: [{
|
|
125
123
|
type: Input
|
|
126
|
-
}], menuItems: [{
|
|
127
|
-
type: Input
|
|
128
124
|
}], selectedIdSet: [{
|
|
129
125
|
type: Input
|
|
130
|
-
}],
|
|
131
|
-
type: Input
|
|
132
|
-
}], sortOrder: [{
|
|
126
|
+
}], sort: [{
|
|
133
127
|
type: Input
|
|
134
128
|
}], action: [{
|
|
135
129
|
type: Output
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ng-atomic-components-organisms-smart-table.mjs","sources":["../../../../libs/components/src/organisms/smart-table/smart-table.organism.html","../../../../libs/components/src/organisms/smart-table/smart-table.organism.ts","../../../../libs/components/src/organisms/smart-table/smart-table.module.ts","../../../../libs/components/src/organisms/smart-table/ng-atomic-components-organisms-smart-table.ts"],"sourcesContent":["<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\">データがありません。</div>","import { ChangeDetectionStrategy, Component, EventEmitter, Input, Output } from '@angular/core';\nimport { Action, ActionItem } from '@ng-atomic/common/models';\n\n\n@Component({\n selector: 'organisms-smart-table',\n templateUrl: './smart-table.organism.html',\n styleUrls: ['./smart-table.organism.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n host: {class: 'organism'}\n})\nexport class SmartTableOrganism<Item extends object> {\n\n @Input()\n columns: (keyof Item)[] = [];\n\n get displayedColumns(): (keyof Item | string)[] {\n return [...this.columns];\n }\n\n @Input()\n items: Item[] = [];\n\n @Input()\n itemActions: (item: Item) => ActionItem[] = () => [];\n\n @Input()\n patientsSize: number = 0;\n\n @Input()\n pageSize: number = 0;\n\n @Input()\n menuItems: ActionItem[] = [];\n\n @Input()\n selectedIdSet = new Set<string>();\n\n @Input()\n sortKey?: string;\n\n @Input()\n sortOrder?: 'asc' | 'desc';\n\n @Output()\n action = new EventEmitter<Action>();\n\n @Output()\n headerClick = new EventEmitter<string>();\n \n @Output()\n checkboxClick = new EventEmitter<[Item, boolean]>();\n\n @Output()\n pageChange = new EventEmitter();\n\n @Output()\n itemCheck = new EventEmitter<[Item, boolean]>();\n \n trackByColumnName = (columnName: string) => columnName;\n}\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { MatTableModule } from '@angular/material/table';\nimport { MatCheckboxModule } from '@angular/material/checkbox';\nimport { MatMenuModule } from '@angular/material/menu';\nimport { MatButtonModule } from '@angular/material/button';\nimport { MatIconModule } from '@angular/material/icon';\nimport { DomainModule } from '@ng-atomic/common/pipes/domain';\nimport { ActionsColumnModule } from '@ng-atomic/components/molecules/actions-column';\nimport { CheckboxColumnModule } from '@ng-atomic/components/molecules/checkbox-column';\nimport { SmartColumnModule } from '@ng-atomic/components/molecules/smart-column';\n\nimport { SmartTableOrganism } from './smart-table.organism';\n\n@NgModule({\n declarations: [\n SmartTableOrganism,\n ],\n imports: [\n CommonModule,\n // Pipes\n DomainModule,\n // Material\n MatTableModule,\n MatCheckboxModule,\n MatMenuModule,\n MatButtonModule,\n MatIconModule,\n // Molecules\n ActionsColumnModule,\n CheckboxColumnModule,\n SmartColumnModule,\n ],\n exports: [\n SmartTableOrganism\n ]\n})\nexport class SmartTableModule { }\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;IAEI,EAKC,CAAA,cAAA,CAAA,CAAA,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MAAM;;;MCnBI,gBAAgB,CAAA;;gFAAhB,gBAAgB,GAAA,CAAA,EAAA,CAAA;kEAAhB,gBAAgB,EAAA,CAAA,CAAA;sEAlBzB,YAAY;;QAEZ,YAAY;;QAEZ,cAAc;QACd,iBAAiB;QACjB,aAAa;QACb,eAAe;QACf,aAAa;;QAEb,mBAAmB;QACnB,oBAAoB;QACpB,iBAAiB,CAAA,EAAA,CAAA,CAAA;uFAMR,gBAAgB,EAAA,CAAA;cAvB5B,QAAQ;AAAC,QAAA,IAAA,EAAA,CAAA;AACR,gBAAA,YAAY,EAAE;oBACZ,kBAAkB;AACnB,iBAAA;AACD,gBAAA,OAAO,EAAE;oBACP,YAAY;;oBAEZ,YAAY;;oBAEZ,cAAc;oBACd,iBAAiB;oBACjB,aAAa;oBACb,eAAe;oBACf,aAAa;;oBAEb,mBAAmB;oBACnB,oBAAoB;oBACpB,iBAAiB;AAClB,iBAAA;AACD,gBAAA,OAAO,EAAE;oBACP,kBAAkB;AACnB,iBAAA;AACF,aAAA,CAAA;;wFACY,gBAAgB,EAAA,EAAA,YAAA,EAAA,CArBzB,kBAAkB,CAAA,EAAA,OAAA,EAAA,CAGlB,YAAY;;QAEZ,YAAY;;QAEZ,cAAc;QACd,iBAAiB;QACjB,aAAa;QACb,eAAe;QACf,aAAa;;QAEb,mBAAmB;QACnB,oBAAoB;AACpB,QAAA,iBAAiB,aAGjB,kBAAkB,CAAA,EAAA,CAAA,CAAA,EAAA,GAAA;;AClCtB;;AAEG;;;;"}
|
|
1
|
+
{"version":3,"file":"ng-atomic-components-organisms-smart-table.mjs","sources":["../../../../libs/components/src/organisms/smart-table/smart-table.organism.html","../../../../libs/components/src/organisms/smart-table/smart-table.organism.ts","../../../../libs/components/src/organisms/smart-table/smart-table.module.ts","../../../../libs/components/src/organisms/smart-table/ng-atomic-components-organisms-smart-table.ts"],"sourcesContent":["<table mat-table [dataSource]=\"items\" matSort matSortDisableClear matSortDirection=\"desc\">\n <ng-container *ngFor=\"let name of columns; 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 [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]=\"sort?.key === name ? sort?.order : 'none'\"\n (headerClick)=\"headerClick.emit(name)\"\n ></molecules-smart-column>\n </ng-container>\n <tr mat-header-row *matHeaderRowDef=\"columns; sticky: true\"></tr>\n <tr mat-row *matRowDef=\"let item; columns: columns;\"></tr>\n</table>\n<div *ngIf=\"!items?.length\" class=\"no-data-message\">データがありません。</div>","import { ChangeDetectionStrategy, Component, EventEmitter, Input, Output } from '@angular/core';\nimport { Actions, Action } from '@ng-atomic/common/models';\n\ninterface Sort {\n key?: string;\n order?: 'desc' | 'asc';\n}\n\n@Component({\n selector: 'organisms-smart-table',\n templateUrl: './smart-table.organism.html',\n styleUrls: ['./smart-table.organism.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n host: {class: 'organism'}\n})\nexport class SmartTableOrganism<Item extends object> {\n\n @Input('columns')\n _columns: (keyof Item)[] = [];\n\n get columns(): (keyof Item | string)[] {\n return [...this._columns];\n }\n\n @Input()\n items: Item[] = [];\n\n @Input()\n itemActions: Actions = () => [];\n\n @Input()\n pageSize: number = 0;\n\n @Input()\n selectedIdSet = new Set<string>();\n\n @Input()\n sort: Sort = {};\n\n @Output()\n action = new EventEmitter<Action>();\n\n @Output()\n headerClick = new EventEmitter<string>();\n \n @Output()\n checkboxClick = new EventEmitter<[Item, boolean]>();\n\n @Output()\n pageChange = new EventEmitter();\n\n @Output()\n itemCheck = new EventEmitter<[Item, boolean]>();\n \n protected trackByColumnName = (columnName: string) => columnName;\n}\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { MatTableModule } from '@angular/material/table';\nimport { MatCheckboxModule } from '@angular/material/checkbox';\nimport { MatMenuModule } from '@angular/material/menu';\nimport { MatButtonModule } from '@angular/material/button';\nimport { MatIconModule } from '@angular/material/icon';\nimport { DomainModule } from '@ng-atomic/common/pipes/domain';\nimport { ActionsColumnModule } from '@ng-atomic/components/molecules/actions-column';\nimport { CheckboxColumnModule } from '@ng-atomic/components/molecules/checkbox-column';\nimport { SmartColumnModule } from '@ng-atomic/components/molecules/smart-column';\n\nimport { SmartTableOrganism } from './smart-table.organism';\n\n@NgModule({\n declarations: [\n SmartTableOrganism,\n ],\n imports: [\n CommonModule,\n // Pipes\n DomainModule,\n // Material\n MatTableModule,\n MatCheckboxModule,\n MatMenuModule,\n MatButtonModule,\n MatIconModule,\n // Molecules\n ActionsColumnModule,\n CheckboxColumnModule,\n SmartColumnModule,\n ],\n exports: [\n SmartTableOrganism\n ]\n})\nexport class SmartTableModule { }\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;IAEI,EAKC,CAAA,cAAA,CAAA,CAAA,EAAA,2BAAA,EAAA,CAAA,CAAA,CAAA;IADC,EAAiB,CAAA,UAAA,CAAA,eAAA,EAAA,SAAA,yHAAA,CAAA,MAAA,EAAA,EAAA,EAAA,CAAA,aAAA,CAAA,GAAA,CAAA,CAAA,CAAA,MAAA,MAAA,GAAA,EAAA,CAAA,aAAA,CAAA,CAAA,CAAA,CAAA,CAAA,OAAA,EAAA,CAAA,WAAA,CAAA,MAA0B,CAAA,aAAA,CAAA,IAAA,CAAA,MAAA,CAAA,CAAA,CAAC,EAAA,CAAA,CAAA;IAC7C,EAA4B,CAAA,YAAA,EAAA,CAAA;;;IAF3B,EAA+B,CAAA,UAAA,CAAA,eAAA,EAAA,MAAA,CAAA,aAAA,CAAA,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AA,OAAO,EAAE;oBACP,kBAAkB;AACnB,iBAAA;AACF,aAAA,CAAA;;wFACY,gBAAgB,EAAA,EAAA,YAAA,EAAA,CArBzB,kBAAkB,CAAA,EAAA,OAAA,EAAA,CAGlB,YAAY;;QAEZ,YAAY;;QAEZ,cAAc;QACd,iBAAiB;QACjB,aAAa;QACb,eAAe;QACf,aAAa;;QAEb,mBAAmB;QACnB,oBAAoB;AACpB,QAAA,iBAAiB,aAGjB,kBAAkB,CAAA,EAAA,CAAA,CAAA,EAAA,GAAA;;AClCtB;;AAEG;;;;"}
|
|
@@ -15,10 +15,10 @@ SocialLoginSectionOrganism.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type:
|
|
|
15
15
|
i0.ɵɵlistener("click", function SocialLoginSectionOrganism_Template_button_click_0_listener() { return ctx.signInWithGoogleButtonClick.emit(); });
|
|
16
16
|
i0.ɵɵtext(1, "Google\u30A2\u30AB\u30A6\u30F3\u30C8\u3067\u30ED\u30B0\u30A4\u30F3");
|
|
17
17
|
i0.ɵɵelementEnd();
|
|
18
|
-
} }, dependencies: [i1.MatButton], styles: ["[_nghost-%COMP%]{--horizontal-padding: 16px;--horizontal-padding-SCOPED-IN-heading-
|
|
18
|
+
} }, dependencies: [i1.MatButton], styles: ["[_nghost-%COMP%]{--horizontal-padding: 16px;--horizontal-padding-SCOPED-IN-heading-57wP: var(--horizontal-padding)}[_nghost-%COMP%]{display:block;width:100%;padding:0 var(--horizontal-padding-SCOPED-IN-heading-57wP);box-sizing:border-box}[_nghost-%COMP%] button[_ngcontent-%COMP%]{width:100%;height:56px}"], changeDetection: 0 });
|
|
19
19
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SocialLoginSectionOrganism, [{
|
|
20
20
|
type: Component,
|
|
21
|
-
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-
|
|
21
|
+
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-57wP: var(--horizontal-padding)}:host{display:block;width:100%;padding:0 var(--horizontal-padding-SCOPED-IN-heading-57wP);box-sizing:border-box}:host button{width:100%;height:56px}\n"] }]
|
|
22
22
|
}], null, { signInWithGoogleButtonClick: [{
|
|
23
23
|
type: Output
|
|
24
24
|
}] }); })();
|
|
@@ -14,14 +14,14 @@ class TextInputSectionOrganism {
|
|
|
14
14
|
}
|
|
15
15
|
}
|
|
16
16
|
TextInputSectionOrganism.ɵfac = function TextInputSectionOrganism_Factory(t) { return new (t || TextInputSectionOrganism)(); };
|
|
17
|
-
TextInputSectionOrganism.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: TextInputSectionOrganism, selectors: [["organisms-text-input-section"]], inputs: { label: "label", placeholder: "placeholder", type: "type", hint: "hint", control: "control" }, decls: 1, vars:
|
|
17
|
+
TextInputSectionOrganism.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: TextInputSectionOrganism, selectors: [["organisms-text-input-section"]], inputs: { label: "label", placeholder: "placeholder", type: "type", hint: "hint", control: "control" }, decls: 1, vars: 4, consts: [[3, "type", "control", "label", "placeholder"]], template: function TextInputSectionOrganism_Template(rf, ctx) { if (rf & 1) {
|
|
18
18
|
i0.ɵɵelement(0, "molecules-text-input-field", 0);
|
|
19
19
|
} if (rf & 2) {
|
|
20
|
-
i0.ɵɵproperty("control", ctx.control)("label", ctx.label)("placeholder", ctx.placeholder);
|
|
21
|
-
} }, dependencies: [i1.TextInputFieldMolecule], styles: ["[_nghost-%COMP%]{--horizontal-padding: 16px;--horizontal-padding-SCOPED-IN-text-input-section-
|
|
20
|
+
i0.ɵɵproperty("type", ctx.type)("control", ctx.control)("label", ctx.label)("placeholder", ctx.placeholder);
|
|
21
|
+
} }, dependencies: [i1.TextInputFieldMolecule], styles: ["[_nghost-%COMP%]{--horizontal-padding: 16px;--horizontal-padding-SCOPED-IN-text-input-section-0AGU: var(--horizontal-padding)}[_nghost-%COMP%]{display:block;width:100%;padding:0 var(--horizontal-padding-SCOPED-IN-text-input-section-0AGU);box-sizing:border-box}[_nghost-%COMP%] .molecule.input-field[_ngcontent-%COMP%], [_nghost-%COMP%] mat-form-field[_ngcontent-%COMP%]{width:100%}"] });
|
|
22
22
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TextInputSectionOrganism, [{
|
|
23
23
|
type: Component,
|
|
24
|
-
args: [{ selector: 'organisms-text-input-section', template: "<molecules-text-input-field\n type=\"
|
|
24
|
+
args: [{ selector: 'organisms-text-input-section', template: "<molecules-text-input-field\n [type]=\"type\"\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-0AGU: var(--horizontal-padding)}:host{display:block;width:100%;padding:0 var(--horizontal-padding-SCOPED-IN-text-input-section-0AGU);box-sizing:border-box}:host .molecule.input-field,:host mat-form-field{width:100%}\n"] }]
|
|
25
25
|
}], null, { label: [{
|
|
26
26
|
type: Input
|
|
27
27
|
}], placeholder: [{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ng-atomic-components-organisms-text-input-section.mjs","sources":["../../../../libs/components/src/organisms/text-input-section/text-input-section.organism.ts","../../../../libs/components/src/organisms/text-input-section/text-input-section.organism.html","../../../../libs/components/src/organisms/text-input-section/text-input-section.module.ts","../../../../libs/components/src/organisms/text-input-section/ng-atomic-components-organisms-text-input-section.ts"],"sourcesContent":["import { Component, Input } from '@angular/core';\nimport { FormControl } from '@ngneat/reactive-forms';\n\n@Component({\n selector: 'organisms-text-input-section',\n templateUrl: './text-input-section.organism.html',\n styleUrls: ['./text-input-section.organism.scss']\n})\nexport class TextInputSectionOrganism {\n \n @Input()\n label = 'label';\n\n @Input()\n placeholder = 'placeholder';\n\n @Input()\n type: 'text' | 'number' | 'password' = 'text';\n\n @Input()\n hint?: string;\n\n @Input()\n control = new FormControl('');\n\n}\n","<molecules-text-input-field\n type=\"
|
|
1
|
+
{"version":3,"file":"ng-atomic-components-organisms-text-input-section.mjs","sources":["../../../../libs/components/src/organisms/text-input-section/text-input-section.organism.ts","../../../../libs/components/src/organisms/text-input-section/text-input-section.organism.html","../../../../libs/components/src/organisms/text-input-section/text-input-section.module.ts","../../../../libs/components/src/organisms/text-input-section/ng-atomic-components-organisms-text-input-section.ts"],"sourcesContent":["import { Component, Input } from '@angular/core';\nimport { FormControl } from '@ngneat/reactive-forms';\n\n@Component({\n selector: 'organisms-text-input-section',\n templateUrl: './text-input-section.organism.html',\n styleUrls: ['./text-input-section.organism.scss']\n})\nexport class TextInputSectionOrganism {\n \n @Input()\n label = 'label';\n\n @Input()\n placeholder = 'placeholder';\n\n @Input()\n type: 'text' | 'number' | 'password' = 'text';\n\n @Input()\n hint?: string;\n\n @Input()\n control = new FormControl('');\n\n}\n","<molecules-text-input-field\n [type]=\"type\"\n [control]=\"control\"\n [label]=\"label\"\n [placeholder]=\"placeholder\"\n></molecules-text-input-field>","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { TextInputFieldModule } from '@ng-atomic/components/molecules/text-input-field';\nimport { TextInputSectionOrganism } from './text-input-section.organism';\n\n\n@NgModule({\n declarations: [\n TextInputSectionOrganism\n ],\n imports: [\n CommonModule,\n // Molecules\n TextInputFieldModule,\n ],\n exports: [\n TextInputSectionOrganism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,KAAK,EAAA,CAAA;kBADJ,KAAK;YAIN,WAAW,EAAA,CAAA;kBADV,KAAK;YAIN,IAAI,EAAA,CAAA;kBADH,KAAK;YAIN,IAAI,EAAA,CAAA;kBADH,KAAK;YAIN,OAAO,EAAA,CAAA;kBADN,KAAK;;;MEHK,sBAAsB,CAAA;;4FAAtB,sBAAsB,GAAA,CAAA,EAAA,CAAA;wEAAtB,sBAAsB,EAAA,CAAA,CAAA;4EAR/B,YAAY;;QAEZ,oBAAoB,CAAA,EAAA,CAAA,CAAA;uFAMX,sBAAsB,EAAA,CAAA;cAblC,QAAQ;AAAC,QAAA,IAAA,EAAA,CAAA;AACR,gBAAA,YAAY,EAAE;oBACZ,wBAAwB;AACzB,iBAAA;AACD,gBAAA,OAAO,EAAE;oBACP,YAAY;;oBAEZ,oBAAoB;AACrB,iBAAA;AACD,gBAAA,OAAO,EAAE;oBACP,wBAAwB;AACzB,iBAAA;AACF,aAAA,CAAA;;wFACY,sBAAsB,EAAA,EAAA,YAAA,EAAA,CAX/B,wBAAwB,CAAA,EAAA,OAAA,EAAA,CAGxB,YAAY;;AAEZ,QAAA,oBAAoB,aAGpB,wBAAwB,CAAA,EAAA,CAAA,CAAA,EAAA,GAAA;;AChB5B;;AAEG;;;;"}
|
|
@@ -14,10 +14,10 @@ TextareaSectionOrganism.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: Tex
|
|
|
14
14
|
i0.ɵɵelement(0, "molecules-textarea-field", 0);
|
|
15
15
|
} if (rf & 2) {
|
|
16
16
|
i0.ɵɵproperty("label", ctx.label);
|
|
17
|
-
} }, dependencies: [i1.TextareaFieldMolecule], styles: ["[_nghost-%COMP%]{--vertical-padding: 16px;--vertical-padding-SCOPED-IN-textarea-section-
|
|
17
|
+
} }, dependencies: [i1.TextareaFieldMolecule], styles: ["[_nghost-%COMP%]{--vertical-padding: 16px;--vertical-padding-SCOPED-IN-textarea-section-zARL: var(--vertical-padding)}[_nghost-%COMP%]{display:block;padding:0 var(--vertical-padding-SCOPED-IN-textarea-section-zARL);box-sizing:border-box}[_nghost-%COMP%] molecules-textarea-field[_ngcontent-%COMP%]{width:100%}"], changeDetection: 0 });
|
|
18
18
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TextareaSectionOrganism, [{
|
|
19
19
|
type: Component,
|
|
20
|
-
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-
|
|
20
|
+
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-zARL: var(--vertical-padding)}:host{display:block;padding:0 var(--vertical-padding-SCOPED-IN-textarea-section-zARL);box-sizing:border-box}:host molecules-textarea-field{width:100%}\n"] }]
|
|
21
21
|
}], null, { label: [{
|
|
22
22
|
type: Input
|
|
23
23
|
}] }); })();
|
|
@@ -27,10 +27,10 @@ TopNavigatorOrganism.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: TopNav
|
|
|
27
27
|
i0.ɵɵtextInterpolate1(" ", ctx.title || "", " ");
|
|
28
28
|
i0.ɵɵadvance(2);
|
|
29
29
|
i0.ɵɵproperty("items", ctx.items);
|
|
30
|
-
} }, dependencies: [i1.MatToolbar, i2.SmartMenuButtonAtom], styles: ["[_nghost-%COMP%]{--primary-500-SCOPED-IN-top-navigator-
|
|
30
|
+
} }, dependencies: [i1.MatToolbar, i2.SmartMenuButtonAtom], styles: ["[_nghost-%COMP%]{--primary-500-SCOPED-IN-top-navigator-WTa9: 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-WTa9);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 });
|
|
31
31
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TopNavigatorOrganism, [{
|
|
32
32
|
type: Component,
|
|
33
|
-
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-
|
|
33
|
+
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-WTa9: 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-WTa9);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"] }]
|
|
34
34
|
}], null, { title: [{
|
|
35
35
|
type: Input
|
|
36
36
|
}], items: [{
|