@ng-atomic/components 4.13.0 → 4.15.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/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/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/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 +2 -2
- package/esm2020/organisms/select-input-section/select-input-section.organism.mjs +2 -2
- package/esm2020/organisms/smart-table/smart-table.organism.mjs +2 -2
- 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 +8 -8
- package/esm2020/templates/smart-index/smart-index.template.mjs +8 -10
- package/fesm2015/ng-atomic-components-atoms-icon.mjs +2 -2
- 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-date-input-field.mjs +2 -2
- package/fesm2015/ng-atomic-components-molecules-select-input-field.mjs +2 -2
- 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 +2 -2
- package/fesm2015/ng-atomic-components-organisms-select-input-section.mjs +2 -2
- package/fesm2015/ng-atomic-components-organisms-smart-table.mjs +2 -2
- 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 +7 -7
- package/fesm2015/ng-atomic-components-templates-smart-crud.mjs.map +1 -1
- package/fesm2015/ng-atomic-components-templates-smart-index.mjs +7 -9
- 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-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-date-input-field.mjs +2 -2
- package/fesm2020/ng-atomic-components-molecules-select-input-field.mjs +2 -2
- 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 +2 -2
- package/fesm2020/ng-atomic-components-organisms-select-input-section.mjs +2 -2
- package/fesm2020/ng-atomic-components-organisms-smart-table.mjs +2 -2
- 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 +7 -7
- package/fesm2020/ng-atomic-components-templates-smart-crud.mjs.map +1 -1
- package/fesm2020/ng-atomic-components-templates-smart-index.mjs +7 -9
- package/fesm2020/ng-atomic-components-templates-smart-index.mjs.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/package.json +3 -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 +1 -1
- package/templates/smart-crud/smart-crud.template.d.ts.map +1 -1
- package/templates/smart-index/smart-index.template.d.ts +4 -3
- package/templates/smart-index/smart-index.template.d.ts.map +1 -1
|
@@ -115,10 +115,10 @@ HeadingOrganism.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: HeadingOrga
|
|
|
115
115
|
i0.ɵɵproperty("ngSwitchCase", 5);
|
|
116
116
|
i0.ɵɵadvance(1);
|
|
117
117
|
i0.ɵɵproperty("ngSwitchCase", 6);
|
|
118
|
-
} }, dependencies: [i1.NgTemplateOutlet, i1.NgSwitch, i1.NgSwitchCase, i1.NgSwitchDefault], styles: ["[_nghost-%COMP%]{--horizontal-padding: 16px;--horizontal-padding-SCOPED-IN-heading-
|
|
118
|
+
} }, dependencies: [i1.NgTemplateOutlet, i1.NgSwitch, i1.NgSwitchCase, i1.NgSwitchDefault], styles: ["[_nghost-%COMP%]{--horizontal-padding: 16px;--horizontal-padding-SCOPED-IN-heading-ZGmV: var(--horizontal-padding)}[_nghost-%COMP%]{display:block;width:100%;box-sizing:border-box;padding:0 var(--horizontal-padding-SCOPED-IN-heading-ZGmV)}"], changeDetection: 0 });
|
|
119
119
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(HeadingOrganism, [{
|
|
120
120
|
type: Component,
|
|
121
|
-
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-
|
|
121
|
+
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-ZGmV: var(--horizontal-padding)}:host{display:block;width:100%;box-sizing:border-box;padding:0 var(--horizontal-padding-SCOPED-IN-heading-ZGmV)}\n"] }]
|
|
122
122
|
}], null, { level: [{
|
|
123
123
|
type: Input
|
|
124
124
|
}] }); })();
|
|
@@ -10,7 +10,7 @@ import { NavigationListItemModule } from '@ng-atomic/components/molecules/naviga
|
|
|
10
10
|
function NavigationListOrganism_molecules_navigation_list_item_1_Template(rf, ctx) { if (rf & 1) {
|
|
11
11
|
const _r3 = i0.ɵɵgetCurrentView();
|
|
12
12
|
i0.ɵɵelementStart(0, "molecules-navigation-list-item", 2);
|
|
13
|
-
i0.ɵɵlistener("click", function NavigationListOrganism_molecules_navigation_list_item_1_Template_molecules_navigation_list_item_click_0_listener() { const restoredCtx = i0.ɵɵrestoreView(_r3); const item_r1 = restoredCtx.$implicit; const ctx_r2 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r2.action.emit(item_r1
|
|
13
|
+
i0.ɵɵlistener("click", function NavigationListOrganism_molecules_navigation_list_item_1_Template_molecules_navigation_list_item_click_0_listener() { const restoredCtx = i0.ɵɵrestoreView(_r3); const item_r1 = restoredCtx.$implicit; const ctx_r2 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r2.action.emit(item_r1)); });
|
|
14
14
|
i0.ɵɵelementEnd();
|
|
15
15
|
} if (rf & 2) {
|
|
16
16
|
const item_r1 = ctx.$implicit;
|
|
@@ -31,10 +31,10 @@ NavigationListOrganism.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: Navi
|
|
|
31
31
|
i0.ɵɵproperty("multiple", false);
|
|
32
32
|
i0.ɵɵadvance(1);
|
|
33
33
|
i0.ɵɵproperty("ngForOf", ctx.items);
|
|
34
|
-
} }, dependencies: [i1.NgForOf, i2.MatSelectionList, i3.NavigationListItemMolecule], styles: ["[_nghost-%COMP%]{--primary-color: #3f51b5;--primary-color-SCOPED-IN-navigation-list-
|
|
34
|
+
} }, dependencies: [i1.NgForOf, i2.MatSelectionList, i3.NavigationListItemMolecule], styles: ["[_nghost-%COMP%]{--primary-color: #3f51b5;--primary-color-SCOPED-IN-navigation-list-WcdQ: var(--primary-color);--secondary-color: #3f51b5;--secondary-color-SCOPED-IN-navigation-list-WcdQ: var(--secondary-color);--color: white;--color-SCOPED-IN-navigation-list-WcdQ: var(--color)}[_nghost-%COMP%]{display:block;width:100%;height:100%;background:var(--primary-color-SCOPED-IN-navigation-list-WcdQ);color:var(--color-SCOPED-IN-navigation-list-WcdQ);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-WcdQ);font-size:12px}[_nghost-%COMP%] .mat-list-item .mat-list-text{padding-left:8px!important}"], changeDetection: 0 });
|
|
35
35
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(NavigationListOrganism, [{
|
|
36
36
|
type: Component,
|
|
37
|
-
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
|
|
37
|
+
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)\"\n ></molecules-navigation-list-item>\n</mat-selection-list>", styles: [":host{--primary-color: #3f51b5;--primary-color-SCOPED-IN-navigation-list-WcdQ: var(--primary-color);--secondary-color: #3f51b5;--secondary-color-SCOPED-IN-navigation-list-WcdQ: var(--secondary-color);--color: white;--color-SCOPED-IN-navigation-list-WcdQ: var(--color)}:host{display:block;width:100%;height:100%;background:var(--primary-color-SCOPED-IN-navigation-list-WcdQ);color:var(--color-SCOPED-IN-navigation-list-WcdQ);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-WcdQ);font-size:12px}:host ::ng-deep .mat-list-item .mat-list-text{padding-left:8px!important}\n"] }]
|
|
38
38
|
}], null, { items: [{
|
|
39
39
|
type: Input
|
|
40
40
|
}], action: [{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ng-atomic-components-organisms-navigation-list.mjs","sources":["../../../../libs/components/src/organisms/navigation-list/navigation-list.organism.html","../../../../libs/components/src/organisms/navigation-list/navigation-list.organism.ts","../../../../libs/components/src/organisms/navigation-list/navigation-list.module.ts","../../../../libs/components/src/organisms/navigation-list/ng-atomic-components-organisms-navigation-list.ts"],"sourcesContent":["<mat-selection-list [multiple]=\"false\">\n <molecules-navigation-list-item\n *ngFor=\"let item of items\" \n [item]=\"item\"\n (click)=\"action.emit(item
|
|
1
|
+
{"version":3,"file":"ng-atomic-components-organisms-navigation-list.mjs","sources":["../../../../libs/components/src/organisms/navigation-list/navigation-list.organism.html","../../../../libs/components/src/organisms/navigation-list/navigation-list.organism.ts","../../../../libs/components/src/organisms/navigation-list/navigation-list.module.ts","../../../../libs/components/src/organisms/navigation-list/ng-atomic-components-organisms-navigation-list.ts"],"sourcesContent":["<mat-selection-list [multiple]=\"false\">\n <molecules-navigation-list-item\n *ngFor=\"let item of items\" \n [item]=\"item\"\n (click)=\"action.emit(item)\"\n ></molecules-navigation-list-item>\n</mat-selection-list>","import { Component, ChangeDetectionStrategy, Input, Output, EventEmitter } from '@angular/core';\nimport { Action, ActionItem } from '@ng-atomic/common/models';\n\n@Component({\n selector: 'organisms-navigation-list',\n templateUrl: './navigation-list.organism.html',\n styleUrls: ['./navigation-list.organism.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class NavigationListOrganism {\n @Input()\n items: ActionItem<string>[] = [];\n\n @Output()\n action = new EventEmitter<Action>();\n}\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { MatListModule } from '@angular/material/list';\nimport { NavigationListItemModule } from '@ng-atomic/components/molecules/navigation-list-item';\n\nimport { NavigationListOrganism } from './navigation-list.organism';\n\n@NgModule({\n declarations: [NavigationListOrganism],\n imports: [\n CommonModule,\n // Materials\n MatListModule,\n // Molecules\n NavigationListItemModule,\n ],\n exports: [NavigationListOrganism]\n})\nexport class NavigationListModule { }\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;IACE,EAIC,CAAA,cAAA,CAAA,CAAA,EAAA,gCAAA,EAAA,CAAA,CAAA,CAAA;IADC,EAAS,CAAA,UAAA,CAAA,OAAA,EAAA,SAAA,gHAAA,GAAA,EAAA,MAAA,WAAA,GAAA,EAAA,CAAA,aAAA,CAAA,GAAA,CAAA,CAAA,CAA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
|
52
52
|
i0.ɵɵproperty("ngIf", ctx.rightItems.length);
|
|
53
|
-
} }, dependencies: [i1.NgIf, i2.MatToolbar, i3.SmartMenuButtonAtom], styles: ["[_nghost-%COMP%]{--height: 64px;--height-SCOPED-IN-navigator-
|
|
53
|
+
} }, dependencies: [i1.NgIf, i2.MatToolbar, i3.SmartMenuButtonAtom], styles: ["[_nghost-%COMP%]{--height: 64px;--height-SCOPED-IN-navigator-eJRi: var(--height)}[_nghost-%COMP%]{display:block;width:100%;height:var(--height-SCOPED-IN-navigator-eJRi)}[_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=\"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-
|
|
56
|
+
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-eJRi: var(--height)}:host{display:block;width:100%;height:var(--height-SCOPED-IN-navigator-eJRi)}: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
57
|
}], null, { rightItems: [{
|
|
58
58
|
type: Input
|
|
59
59
|
}], leftItems: [{
|
|
@@ -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-wGST: var(--horizontal-padding)}[_nghost-%COMP%]{display:block;width:100%;padding:0 var(--horizontal-padding-SCOPED-IN-select-input-section-wGST);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-wGST: var(--horizontal-padding)}:host{display:block;width:100%;padding:0 var(--horizontal-padding-SCOPED-IN-select-input-section-wGST);box-sizing:border-box}:host .molecule.input-field{width:100%}\n"] }]
|
|
24
24
|
}], null, { label: [{
|
|
25
25
|
type: Input
|
|
26
26
|
}], control: [{
|
|
@@ -109,10 +109,10 @@ SmartTableOrganism.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: SmartTab
|
|
|
109
109
|
i0.ɵɵproperty("matRowDefColumns", ctx.displayedColumns);
|
|
110
110
|
i0.ɵɵadvance(1);
|
|
111
111
|
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-
|
|
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-7DvK: var(--width);--cell: 8px;--cell-SCOPED-IN-smart-table-7DvK: var(--cell);--column-vertical-padding: 4px;--column-vertical-padding-SCOPED-IN-smart-table-7DvK: 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-7DvK)}[_nghost-%COMP%] .no-data-message[_ngcontent-%COMP%]{display:flex;justify-content:flex-start;align-items:center;width:calc(var(--width-SCOPED-IN-smart-table-7DvK) - var(--cell-SCOPED-IN-smart-table-7DvK) * 4);height:3em;padding-left:calc(var(--cell-SCOPED-IN-smart-table-7DvK) * 2);padding-right:calc(var(--cell-SCOPED-IN-smart-table-7DvK) * 2)}"], changeDetection: 0 });
|
|
113
113
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SmartTableOrganism, [{
|
|
114
114
|
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 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-
|
|
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 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-7DvK: var(--width);--cell: 8px;--cell-SCOPED-IN-smart-table-7DvK: var(--cell);--column-vertical-padding: 4px;--column-vertical-padding-SCOPED-IN-smart-table-7DvK: 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-7DvK)}:host .no-data-message{display:flex;justify-content:flex-start;align-items:center;width:calc(var(--width-SCOPED-IN-smart-table-7DvK) - var(--cell-SCOPED-IN-smart-table-7DvK) * 4);height:3em;padding-left:calc(var(--cell-SCOPED-IN-smart-table-7DvK) * 2);padding-right:calc(var(--cell-SCOPED-IN-smart-table-7DvK) * 2)}\n"] }]
|
|
116
116
|
}], null, { columns: [{
|
|
117
117
|
type: Input
|
|
118
118
|
}], items: [{
|
|
@@ -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-U116: var(--horizontal-padding)}[_nghost-%COMP%]{display:block;width:100%;padding:0 var(--horizontal-padding-SCOPED-IN-heading-U116);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-U116: var(--horizontal-padding)}:host{display:block;width:100%;padding:0 var(--horizontal-padding-SCOPED-IN-heading-U116);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-PdfY: var(--horizontal-padding)}[_nghost-%COMP%]{display:block;width:100%;padding:0 var(--horizontal-padding-SCOPED-IN-text-input-section-PdfY);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-PdfY: var(--horizontal-padding)}:host{display:block;width:100%;padding:0 var(--horizontal-padding-SCOPED-IN-text-input-section-PdfY);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\n ]\n})\nexport class TextInputSectionModule { }\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;MAQa,wBAAwB,CAAA;AALrC,IAAA,WAAA,GAAA;QAQE,IAAK,CAAA,KAAA,GAAG,OAAO,CAAC;QAGhB,IAAW,CAAA,WAAA,GAAG,aAAa,CAAC;QAG5B,IAAI,CAAA,IAAA,GAAmC,MAAM,CAAC;AAM9C,QAAA,IAAA,CAAA,OAAO,GAAG,IAAI,WAAW,CAAC,EAAE,CAAC,CAAC;AAE/B,KAAA;;gGAjBY,wBAAwB,GAAA,CAAA,EAAA,CAAA;2EAAxB,wBAAwB,EAAA,SAAA,EAAA,CAAA,CAAA,8BAAA,CAAA,CAAA,EAAA,MAAA,EAAA,EAAA,KAAA,EAAA,OAAA,EAAA,WAAA,EAAA,aAAA,EAAA,IAAA,EAAA,MAAA,EAAA,IAAA,EAAA,MAAA,EAAA,OAAA,EAAA,SAAA,EAAA,EAAA,KAAA,EAAA,CAAA,EAAA,IAAA,EAAA,CAAA,EAAA,MAAA,EAAA,CAAA,CAAA,CAAA,EAAA,MAAA,EAAA,SAAA,EAAA,OAAA,EAAA,aAAA,CAAA,CAAA,EAAA,QAAA,EAAA,SAAA,iCAAA,CAAA,EAAA,EAAA,GAAA,EAAA,EAAA,IAAA,EAAA,GAAA,CAAA,EAAA;QCRrC,EAK8B,CAAA,SAAA,CAAA,CAAA,EAAA,4BAAA,EAAA,CAAA,CAAA,CAAA;;QAJ5B,EAAa,CAAA,UAAA,CAAA,MAAA,EAAA,GAAA,CAAA,IAAA,CAAA,CAAA,SAAA,EAAA,GAAA,CAAA,OAAA,CAAA,oBAAA,CAAA,aAAA,EAAA,GAAA,CAAA,WAAA,CAAA,CAAA;;uFDOF,wBAAwB,EAAA,CAAA;cALpC,SAAS;2BACE,8BAA8B,EAAA,QAAA,EAAA,+JAAA,EAAA,MAAA,EAAA,CAAA,8SAAA,CAAA,EAAA,CAAA;gBAOxC,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-dXm7: var(--vertical-padding)}[_nghost-%COMP%]{display:block;padding:0 var(--vertical-padding-SCOPED-IN-textarea-section-dXm7);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-dXm7: var(--vertical-padding)}:host{display:block;padding:0 var(--vertical-padding-SCOPED-IN-textarea-section-dXm7);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-guf4: 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-guf4);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-guf4: 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-guf4);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: [{
|
|
@@ -6,9 +6,8 @@ import * as i4 from '@ng-atomic/components/organisms/action-buttons-section';
|
|
|
6
6
|
import { ActionButtonsSectionModule } from '@ng-atomic/components/organisms/action-buttons-section';
|
|
7
7
|
import * as i5 from '@ng-atomic/components/organisms/heading';
|
|
8
8
|
import { HeadingModule } from '@ng-atomic/components/organisms/heading';
|
|
9
|
-
import * as
|
|
9
|
+
import * as i6 from '@ng-atomic/components/organisms/text-input-section';
|
|
10
10
|
import { TextInputSectionModule } from '@ng-atomic/components/organisms/text-input-section';
|
|
11
|
-
import * as i6 from '@ng-atomic/components/organisms/social-login-section';
|
|
12
11
|
import { SocialLoginSectionModule } from '@ng-atomic/components/organisms/social-login-section';
|
|
13
12
|
import * as i2 from '@ng-atomic/components/frames/auto-layout';
|
|
14
13
|
import { AutoLayoutModule } from '@ng-atomic/components/frames/auto-layout';
|
|
@@ -17,40 +16,62 @@ import { CardModule } from '@ng-atomic/components/frames/card';
|
|
|
17
16
|
import { FormGroup, FormControl } from '@ngneat/reactive-forms';
|
|
18
17
|
|
|
19
18
|
function EntranceTemplate_organisms_text_input_section_4_Template(rf, ctx) { if (rf & 1) {
|
|
20
|
-
i0.ɵɵelement(0, "organisms-text-input-section",
|
|
19
|
+
i0.ɵɵelement(0, "organisms-text-input-section", 4);
|
|
21
20
|
} if (rf & 2) {
|
|
22
21
|
const ctx_r0 = i0.ɵɵnextContext();
|
|
23
22
|
i0.ɵɵproperty("control", ctx_r0.form.get("email"));
|
|
24
23
|
} }
|
|
25
24
|
function EntranceTemplate_organisms_text_input_section_5_Template(rf, ctx) { if (rf & 1) {
|
|
26
|
-
i0.ɵɵelement(0, "organisms-text-input-section",
|
|
25
|
+
i0.ɵɵelement(0, "organisms-text-input-section", 5);
|
|
27
26
|
} if (rf & 2) {
|
|
28
27
|
const ctx_r1 = i0.ɵɵnextContext();
|
|
29
28
|
i0.ɵɵproperty("control", ctx_r1.form.get("password"));
|
|
30
29
|
} }
|
|
30
|
+
var ActionId;
|
|
31
|
+
(function (ActionId) {
|
|
32
|
+
ActionId["SIGN_IN"] = "[@ng-atomic/components] Sign In";
|
|
33
|
+
ActionId["SIGN_IN_WITH_GOOGLE"] = "[@ng-atomic/components] Sign In With Google";
|
|
34
|
+
ActionId["SIGN_IN_WITH_TWITTER"] = "[@ng-atomic/components] Sign In With Twitter";
|
|
35
|
+
})(ActionId || (ActionId = {}));
|
|
36
|
+
const Actions = [
|
|
37
|
+
{
|
|
38
|
+
id: ActionId.SIGN_IN,
|
|
39
|
+
name: 'Sign In',
|
|
40
|
+
icon: 'login',
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
id: ActionId.SIGN_IN_WITH_GOOGLE,
|
|
44
|
+
name: 'Sign In With Google',
|
|
45
|
+
icon: 'google',
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
id: ActionId.SIGN_IN_WITH_TWITTER,
|
|
49
|
+
name: 'Sign In With Twitter',
|
|
50
|
+
icon: 'twitter',
|
|
51
|
+
},
|
|
52
|
+
];
|
|
31
53
|
class EntranceTemplate {
|
|
32
54
|
constructor() {
|
|
55
|
+
this.ActionId = ActionId;
|
|
33
56
|
this.form = new FormGroup({
|
|
34
57
|
email: new FormControl(''),
|
|
35
58
|
password: new FormControl(''),
|
|
36
59
|
});
|
|
37
60
|
this.isEmailSectionShown = true;
|
|
38
61
|
this.isPasswordSectionShown = true;
|
|
39
|
-
this.
|
|
40
|
-
this.
|
|
41
|
-
this.signInWithGoogleButtonClick = new EventEmitter();
|
|
62
|
+
this.actions = Actions;
|
|
63
|
+
this.action = new EventEmitter();
|
|
42
64
|
}
|
|
43
65
|
}
|
|
44
66
|
EntranceTemplate.ɵfac = function EntranceTemplate_Factory(t) { return new (t || EntranceTemplate)(); };
|
|
45
|
-
EntranceTemplate.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: EntranceTemplate, selectors: [["templates-entrance"]], hostAttrs: [1, "template"], inputs: { form: "form", isEmailSectionShown: "isEmailSectionShown", isPasswordSectionShown: "isPasswordSectionShown",
|
|
67
|
+
EntranceTemplate.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: EntranceTemplate, selectors: [["templates-entrance"]], hostAttrs: [1, "template"], inputs: { form: "form", isEmailSectionShown: "isEmailSectionShown", isPasswordSectionShown: "isPasswordSectionShown", actions: "actions" }, outputs: { action: "action" }, decls: 7, vars: 3, consts: [["vertical", ""], ["label", "\u30E1\u30FC\u30EB\u30A2\u30C9\u30EC\u30B9", 3, "control", 4, "ngIf"], ["label", "\u30D1\u30B9\u30EF\u30FC\u30C9", 3, "control", 4, "ngIf"], [3, "actions", "action"], ["label", "\u30E1\u30FC\u30EB\u30A2\u30C9\u30EC\u30B9", 3, "control"], ["label", "\u30D1\u30B9\u30EF\u30FC\u30C9", 3, "control"]], template: function EntranceTemplate_Template(rf, ctx) { if (rf & 1) {
|
|
46
68
|
i0.ɵɵelementStart(0, "frames-card")(1, "frames-auto-layout", 0)(2, "organisms-heading");
|
|
47
69
|
i0.ɵɵtext(3, "\u30ED\u30B0\u30A4\u30F3");
|
|
48
70
|
i0.ɵɵelementEnd();
|
|
49
71
|
i0.ɵɵtemplate(4, EntranceTemplate_organisms_text_input_section_4_Template, 1, 1, "organisms-text-input-section", 1);
|
|
50
72
|
i0.ɵɵtemplate(5, EntranceTemplate_organisms_text_input_section_5_Template, 1, 1, "organisms-text-input-section", 2);
|
|
51
|
-
i0.ɵɵ
|
|
52
|
-
i0.ɵɵ
|
|
53
|
-
i0.ɵɵlistener("signInWithGoogleButtonClick", function EntranceTemplate_Template_organisms_social_login_section_signInWithGoogleButtonClick_7_listener() { return ctx.signInWithGoogleButtonClick.emit(); });
|
|
73
|
+
i0.ɵɵelementStart(6, "organisms-action-buttons-section", 3);
|
|
74
|
+
i0.ɵɵlistener("action", function EntranceTemplate_Template_organisms_action_buttons_section_action_6_listener($event) { return ctx.action.emit($event); });
|
|
54
75
|
i0.ɵɵelementEnd()()();
|
|
55
76
|
} if (rf & 2) {
|
|
56
77
|
i0.ɵɵadvance(4);
|
|
@@ -58,22 +79,20 @@ EntranceTemplate.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: EntranceTe
|
|
|
58
79
|
i0.ɵɵadvance(1);
|
|
59
80
|
i0.ɵɵproperty("ngIf", ctx.isPasswordSectionShown);
|
|
60
81
|
i0.ɵɵadvance(1);
|
|
61
|
-
i0.ɵɵproperty("
|
|
62
|
-
} }, dependencies: [i1.NgIf, i2.AutoLayoutFrame, i3.CardFrame, i4.ActionButtonsSectionOrganism, i5.HeadingOrganism, i6.
|
|
82
|
+
i0.ɵɵproperty("actions", ctx.actions);
|
|
83
|
+
} }, dependencies: [i1.NgIf, i2.AutoLayoutFrame, i3.CardFrame, i4.ActionButtonsSectionOrganism, i5.HeadingOrganism, i6.TextInputSectionOrganism], styles: ["[_nghost-%COMP%]{--horizontal-padding: 64px;--horizontal-padding-SCOPED-IN-entrance-xxO8: var(--horizontal-padding);--background-color: #eee;--background-color-SCOPED-IN-entrance-xxO8: var(--background-color)}[_nghost-%COMP%]{display:flex;justify-content:center;align-items:center;background-color:var(--background-color-SCOPED-IN-entrance-xxO8);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-xxO8)}"], changeDetection: 0 });
|
|
63
84
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(EntranceTemplate, [{
|
|
64
85
|
type: Component,
|
|
65
|
-
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
|
|
86
|
+
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\n [actions]=\"actions\"\n (action)=\"action.emit($event)\"\n ></organisms-action-buttons-section>\n </frames-auto-layout>\n</frames-card>\n", styles: [":host{--horizontal-padding: 64px;--horizontal-padding-SCOPED-IN-entrance-xxO8: var(--horizontal-padding);--background-color: #eee;--background-color-SCOPED-IN-entrance-xxO8: var(--background-color)}:host{display:flex;justify-content:center;align-items:center;background-color:var(--background-color-SCOPED-IN-entrance-xxO8);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-xxO8)}\n"] }]
|
|
66
87
|
}], null, { form: [{
|
|
67
88
|
type: Input
|
|
68
89
|
}], isEmailSectionShown: [{
|
|
69
90
|
type: Input
|
|
70
91
|
}], isPasswordSectionShown: [{
|
|
71
92
|
type: Input
|
|
72
|
-
}],
|
|
93
|
+
}], actions: [{
|
|
73
94
|
type: Input
|
|
74
|
-
}],
|
|
75
|
-
type: Output
|
|
76
|
-
}], signInWithGoogleButtonClick: [{
|
|
95
|
+
}], action: [{
|
|
77
96
|
type: Output
|
|
78
97
|
}] }); })();
|
|
79
98
|
|
|
@@ -129,5 +148,5 @@ EntranceModule.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ imports: [CommonMod
|
|
|
129
148
|
* Generated bundle index. Do not edit.
|
|
130
149
|
*/
|
|
131
150
|
|
|
132
|
-
export { EntranceModule, EntranceTemplate };
|
|
151
|
+
export { ActionId, Actions, EntranceModule, EntranceTemplate };
|
|
133
152
|
//# sourceMappingURL=ng-atomic-components-templates-entrance.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ng-atomic-components-templates-entrance.mjs","sources":["../../../../libs/components/src/templates/entrance/entrance.template.html","../../../../libs/components/src/templates/entrance/entrance.template.ts","../../../../libs/components/src/templates/entrance/entrance.module.ts","../../../../libs/components/src/templates/entrance/ng-atomic-components-templates-entrance.ts"],"sourcesContent":["<frames-card>\n <frames-auto-layout vertical>\n <organisms-heading>ログイン</organisms-heading>\n <organisms-text-input-section\n *ngIf=\"isEmailSectionShown\"\n label=\"メールアドレス\"\n [control]=\"form.get('email')\"\n ></organisms-text-input-section>\n <organisms-text-input-section\n *ngIf=\"isPasswordSectionShown\"\n label=\"パスワード\"\n [control]=\"form.get('password')\"\n ></organisms-text-input-section>\n <organisms-action-buttons-section
|
|
1
|
+
{"version":3,"file":"ng-atomic-components-templates-entrance.mjs","sources":["../../../../libs/components/src/templates/entrance/entrance.template.html","../../../../libs/components/src/templates/entrance/entrance.template.ts","../../../../libs/components/src/templates/entrance/entrance.module.ts","../../../../libs/components/src/templates/entrance/ng-atomic-components-templates-entrance.ts"],"sourcesContent":["<frames-card>\n <frames-auto-layout vertical>\n <organisms-heading>ログイン</organisms-heading>\n <organisms-text-input-section\n *ngIf=\"isEmailSectionShown\"\n label=\"メールアドレス\"\n [control]=\"form.get('email')\"\n ></organisms-text-input-section>\n <organisms-text-input-section\n *ngIf=\"isPasswordSectionShown\"\n label=\"パスワード\"\n [control]=\"form.get('password')\"\n ></organisms-text-input-section>\n <organisms-action-buttons-section\n [actions]=\"actions\"\n (action)=\"action.emit($event)\"\n ></organisms-action-buttons-section>\n </frames-auto-layout>\n</frames-card>\n","import { ChangeDetectionStrategy, Component, EventEmitter, Input, Output } from '@angular/core';\nimport { Action } from '@ng-atomic/common/models';\nimport { FormGroup, FormControl} from '@ngneat/reactive-forms';\n\nexport enum ActionId {\n SIGN_IN = '[@ng-atomic/components] Sign In',\n SIGN_IN_WITH_GOOGLE = '[@ng-atomic/components] Sign In With Google',\n SIGN_IN_WITH_TWITTER = '[@ng-atomic/components] Sign In With Twitter',\n}\n\nexport const Actions: Action[] = [\n {\n id: ActionId.SIGN_IN,\n name: 'Sign In',\n icon: 'login',\n },\n {\n id: ActionId.SIGN_IN_WITH_GOOGLE,\n name: 'Sign In With Google',\n icon: 'google',\n },\n {\n id: ActionId.SIGN_IN_WITH_TWITTER,\n name: 'Sign In With Twitter',\n icon: 'twitter',\n },\n];\n\n@Component({\n selector: 'templates-entrance',\n templateUrl: './entrance.template.html',\n styleUrls: ['./entrance.template.scss'],\n host: {class: 'template'},\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class EntranceTemplate {\n protected ActionId = ActionId\n\n @Input()\n form = new FormGroup({\n email: new FormControl(''),\n password: new FormControl(''),\n });\n\n @Input()\n isEmailSectionShown = true;\n\n @Input()\n isPasswordSectionShown = true;\n\n @Input()\n actions = Actions;\n\n @Output()\n action = new EventEmitter<Action>()\n}\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { ActionButtonsSectionModule } from '@ng-atomic/components/organisms/action-buttons-section';\nimport { HeadingModule } from '@ng-atomic/components/organisms/heading';\nimport { TextInputSectionModule } from '@ng-atomic/components/organisms/text-input-section';\nimport { SocialLoginSectionModule } from '@ng-atomic/components/organisms/social-login-section';\nimport { AutoLayoutModule } from '@ng-atomic/components/frames/auto-layout';\nimport { CardModule } from '@ng-atomic/components/frames/card';\nimport { EntranceTemplate } from './entrance.template';\n\n\n@NgModule({\n declarations: [\n EntranceTemplate\n ],\n imports: [\n CommonModule,\n // Frames\n AutoLayoutModule,\n CardModule,\n // Organisms\n ActionButtonsSectionModule,\n HeadingModule,\n SocialLoginSectionModule,\n TextInputSectionModule,\n ],\n exports: [\n EntranceTemplate\n ],\n bootstrap: [\n EntranceTemplate,\n ]\n})\nexport class EntranceModule { }\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;IAGI,EAIgC,CAAA,SAAA,CAAA,CAAA,EAAA,8BAAA,EAAA,CAAA,CAAA,CAAA;;;IAD9B,EAA6B,CAAA,UAAA,CAAA,SAAA,EAAA,MAAA,CAAA,IAAA,CAAA,GAAA,CAAA,OAAA,CAAA,CAAA,CAAA;;;IAE/B,EAIgC,CAAA,SAAA,CAAA,CAAA,EAAA,8BAAA,EAAA,CAAA,CAAA,CAAA;;;IAD9B,EAAgC,CAAA,UAAA,CAAA,SAAA,EAAA,MAAA,CAAA,IAAA,CAAA,GAAA,CAAA,UAAA,CAAA,CAAA,CAAA;;ICP1B,SAIX;AAJD,CAAA,UAAY,QAAQ,EAAA;AAClB,IAAA,QAAA,CAAA,SAAA,CAAA,GAAA,iCAA2C,CAAA;AAC3C,IAAA,QAAA,CAAA,qBAAA,CAAA,GAAA,6CAAmE,CAAA;AACnE,IAAA,QAAA,CAAA,sBAAA,CAAA,GAAA,8CAAqE,CAAA;AACvE,CAAC,EAJW,QAAQ,KAAR,QAAQ,G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,OAAO,EAAE;oBACP,YAAY;;oBAEZ,gBAAgB;oBAChB,UAAU;;oBAEV,0BAA0B;oBAC1B,aAAa;oBACb,wBAAwB;oBACxB,sBAAsB;AACvB,iBAAA;AACD,gBAAA,OAAO,EAAE;oBACP,gBAAgB;AACjB,iBAAA;AACD,gBAAA,SAAS,EAAE;oBACT,gBAAgB;AACjB,iBAAA;AACF,aAAA,CAAA;;wFACY,cAAc,EAAA,EAAA,YAAA,EAAA,CApBvB,gBAAgB,CAAA,EAAA,OAAA,EAAA,CAGhB,YAAY;;QAEZ,gBAAgB;QAChB,UAAU;;QAEV,0BAA0B;QAC1B,aAAa;QACb,wBAAwB;AACxB,QAAA,sBAAsB,aAGtB,gBAAgB,CAAA,EAAA,CAAA,CAAA,EAAA,GAAA;;AC3BpB;;AAEG;;;;"}
|
|
@@ -26,10 +26,10 @@ MenuTemplate.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: MenuTemplate,
|
|
|
26
26
|
} if (rf & 2) {
|
|
27
27
|
i0.ɵɵadvance(2);
|
|
28
28
|
i0.ɵɵproperty("items", ctx.items);
|
|
29
|
-
} }, dependencies: [i1.NavigationListOrganism], styles: ["[_nghost-%COMP%]{--primary-color: #3f51b5;--primary-color-SCOPED-IN-menu-
|
|
29
|
+
} }, dependencies: [i1.NavigationListOrganism], styles: ["[_nghost-%COMP%]{--primary-color: #3f51b5;--primary-color-SCOPED-IN-menu-w232: var(--primary-color);--secondary-color: #3f51b5;--secondary-color-SCOPED-IN-menu-w232: var(--secondary-color);--width: 100%;--width-SCOPED-IN-menu-w232: var(--width);--height: 100%;--height-SCOPED-IN-menu-w232: var(--height)}[_nghost-%COMP%]{display:flex;flex-direction:column;justify-content:space-between;width:var(--width-SCOPED-IN-menu-w232);height:var(--height-SCOPED-IN-menu-w232);color:#fff;background-color:var(--primary-color-SCOPED-IN-menu-w232)}[_nghost-%COMP%] organisms-navigation-list[_ngcontent-%COMP%]{transition:width .5s;--primary-color: var(--primary-color-SCOPED-IN-menu-w232);--secondary-color: var(--secondary-color-SCOPED-IN-menu-w232)}"], changeDetection: 0 });
|
|
30
30
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(MenuTemplate, [{
|
|
31
31
|
type: Component,
|
|
32
|
-
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-
|
|
32
|
+
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-w232: var(--primary-color);--secondary-color: #3f51b5;--secondary-color-SCOPED-IN-menu-w232: var(--secondary-color);--width: 100%;--width-SCOPED-IN-menu-w232: var(--width);--height: 100%;--height-SCOPED-IN-menu-w232: var(--height)}:host{display:flex;flex-direction:column;justify-content:space-between;width:var(--width-SCOPED-IN-menu-w232);height:var(--height-SCOPED-IN-menu-w232);color:#fff;background-color:var(--primary-color-SCOPED-IN-menu-w232)}:host organisms-navigation-list{transition:width .5s;--primary-color: var(--primary-color-SCOPED-IN-menu-w232);--secondary-color: var(--secondary-color-SCOPED-IN-menu-w232)}\n"] }]
|
|
33
33
|
}], null, { items: [{
|
|
34
34
|
type: Input
|
|
35
35
|
}], action: [{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ng-atomic-components-templates-menu.mjs","sources":["../../../../libs/components/src/templates/menu/menu.template.ts","../../../../libs/components/src/templates/menu/menu.template.html","../../../../libs/components/src/templates/menu/menu.module.ts","../../../../libs/components/src/templates/menu/ng-atomic-components-templates-menu.ts"],"sourcesContent":["import { ChangeDetectionStrategy, Component, EventEmitter, Input, Output } from '@angular/core';\nimport { ActionItem } from '@ng-atomic/common/models';\n\n@Component({\n selector: 'templates-menu',\n templateUrl: './menu.template.html',\n styleUrls: ['./menu.template.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class MenuTemplate {\n\n @Input()\n items: ActionItem<string>[] = [];\n\n @Output()\n action = new EventEmitter<
|
|
1
|
+
{"version":3,"file":"ng-atomic-components-templates-menu.mjs","sources":["../../../../libs/components/src/templates/menu/menu.template.ts","../../../../libs/components/src/templates/menu/menu.template.html","../../../../libs/components/src/templates/menu/menu.module.ts","../../../../libs/components/src/templates/menu/ng-atomic-components-templates-menu.ts"],"sourcesContent":["import { ChangeDetectionStrategy, Component, EventEmitter, Input, Output } from '@angular/core';\nimport { Action, ActionItem } from '@ng-atomic/common/models';\n\n@Component({\n selector: 'templates-menu',\n templateUrl: './menu.template.html',\n styleUrls: ['./menu.template.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class MenuTemplate {\n\n @Input()\n items: ActionItem<string>[] = [];\n\n @Output()\n action = new EventEmitter<Action>();\n\n}\n","<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>","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { NavigationListModule } from '@ng-atomic/components/organisms/navigation-list';\n\nimport { MenuTemplate } from './menu.template';\n\n\n@NgModule({\n declarations: [MenuTemplate],\n imports: [\n CommonModule,\n // Organisms\n NavigationListModule,\n ],\n exports: [MenuTemplate],\n bootstrap: [MenuTemplate],\n})\nexport class MenuModule { }\n\n","/**\n * Generated bundle index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
get
|
|
99
|
+
get actions() {
|
|
100
100
|
switch (this.mode) {
|
|
101
|
-
case 'create': return [{ id: ActionId.CREATE, name: '作成' }];
|
|
102
|
-
case 'update': return [{ id: ActionId.UPDATE, name: '更新' }];
|
|
101
|
+
case 'create': return [{ id: ActionId.CREATE, name: '作成', disabled: this.form.invalid }];
|
|
102
|
+
case 'update': return [{ id: ActionId.UPDATE, name: '更新', disabled: this.form.invalid }];
|
|
103
103
|
}
|
|
104
104
|
}
|
|
105
105
|
get controls() {
|
|
@@ -115,7 +115,7 @@ class SmartCrudTemplate {
|
|
|
115
115
|
}
|
|
116
116
|
}
|
|
117
117
|
SmartCrudTemplate.ɵfac = function SmartCrudTemplate_Factory(t) { return new (t || SmartCrudTemplate)(); };
|
|
118
|
-
SmartCrudTemplate.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: SmartCrudTemplate, selectors: [["templates-smart-crud"]], hostAttrs: [1, "template"], inputs: { canBack: "canBack", name: "name", form: "form", mode: "mode", navigatorMenuItems: "navigatorMenuItems", title: "title" }, outputs: { action: "action", backButtonClick: "backButtonClick", createButtonClick: "createButtonClick", updateButtonClick: "updateButtonClick" }, decls: 6, vars: 7, consts: [["navigator", "", 3, "leftItems", "rightItems", "action"], [3, "title"], ["vertical", "", "contents", ""], [3, "ngSwitch", 4, "ngFor", "ngForOf", "ngForTrackBy"], [3, "
|
|
118
|
+
SmartCrudTemplate.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: SmartCrudTemplate, selectors: [["templates-smart-crud"]], hostAttrs: [1, "template"], inputs: { canBack: "canBack", name: "name", form: "form", mode: "mode", navigatorMenuItems: "navigatorMenuItems", title: "title" }, outputs: { action: "action", backButtonClick: "backButtonClick", createButtonClick: "createButtonClick", updateButtonClick: "updateButtonClick" }, decls: 6, vars: 7, consts: [["navigator", "", 3, "leftItems", "rightItems", "action"], [3, "title"], ["vertical", "", "contents", ""], [3, "ngSwitch", 4, "ngFor", "ngForOf", "ngForTrackBy"], [3, "actions", "action"], [3, "ngSwitch"], [3, "label", "control", "options", 4, "ngSwitchCase"], [3, "label", "control", 4, "ngSwitchCase"], [3, "type", "label", "control", 4, "ngSwitchCase"], [3, "label", "control", 4, "ngSwitchDefault"], [3, "label", "control", "options"], [3, "label", "control"], [3, "type", "label", "control"]], template: function SmartCrudTemplate_Template(rf, ctx) { if (rf & 1) {
|
|
119
119
|
i0.ɵɵelementStart(0, "frames-scroll")(1, "organisms-navigator", 0);
|
|
120
120
|
i0.ɵɵlistener("action", function SmartCrudTemplate_Template_organisms_navigator_action_1_listener($event) { return ctx.onAction($event); });
|
|
121
121
|
i0.ɵɵelement(2, "molecules-header", 1);
|
|
@@ -133,11 +133,11 @@ SmartCrudTemplate.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: SmartCrud
|
|
|
133
133
|
i0.ɵɵadvance(2);
|
|
134
134
|
i0.ɵɵproperty("ngForOf", ctx.controls)("ngForTrackBy", ctx.trackByIndex);
|
|
135
135
|
i0.ɵɵadvance(1);
|
|
136
|
-
i0.ɵɵproperty("
|
|
137
|
-
} }, 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-
|
|
136
|
+
i0.ɵɵproperty("actions", ctx.actions);
|
|
137
|
+
} }, 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-Io5O: var(--horizontal-padding);--vertical-padding: 24px;--vertical-padding-SCOPED-IN-smart-crud-Io5O: var(--vertical-padding);--gap: 16px;--gap-SCOPED-IN-smart-crud-Io5O: 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-Io5O);--vertical-padding: var(--vertical-padding-SCOPED-IN-smart-crud-Io5O)}[_nghost-%COMP%] frames-auto-layout[_ngcontent-%COMP%] *[_ngcontent-%COMP%]{--horizontal-padding: var(--horizontal-padding-SCOPED-IN-smart-crud-Io5O)}"], changeDetection: 0 });
|
|
138
138
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SmartCrudTemplate, [{
|
|
139
139
|
type: Component,
|
|
140
|
-
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 [
|
|
140
|
+
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 [actions]=\"actions\"\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-Io5O: var(--horizontal-padding);--vertical-padding: 24px;--vertical-padding-SCOPED-IN-smart-crud-Io5O: var(--vertical-padding);--gap: 16px;--gap-SCOPED-IN-smart-crud-Io5O: 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-Io5O);--vertical-padding: var(--vertical-padding-SCOPED-IN-smart-crud-Io5O)}:host frames-auto-layout *{--horizontal-padding: var(--horizontal-padding-SCOPED-IN-smart-crud-Io5O)}\n"] }]
|
|
141
141
|
}], null, { canBack: [{
|
|
142
142
|
type: Input
|
|
143
143
|
}], name: [{
|