@ng-atomic/components 3.5.0 → 3.6.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/atoms/smart-menu-button/smart-menu-button.atom.d.ts +4 -4
- package/atoms/smart-menu-button/smart-menu-button.atom.d.ts.map +1 -1
- package/esm2020/atoms/icon/icon.atom.mjs +2 -2
- package/esm2020/atoms/smart-menu-button/smart-menu-button.atom.mjs +16 -15
- package/esm2020/frames/auto-layout/auto-layout.frame.mjs +2 -2
- package/esm2020/frames/drawer/drawer.frame.mjs +2 -2
- package/esm2020/frames/line-up/line-up.frame.mjs +2 -2
- package/esm2020/frames/overlay/overlay.frame.mjs +2 -2
- package/esm2020/frames/scroll/scroll.frame.mjs +2 -2
- package/esm2020/frames/smart-menu/smart-menu.frame.mjs +2 -2
- package/esm2020/molecules/actions-column/actions-column.molecule.mjs +9 -9
- package/esm2020/molecules/chips-input-field/chips-input-field.molecule.mjs +7 -4
- package/esm2020/molecules/date-input-field/date-input-field.molecule.mjs +2 -2
- package/esm2020/molecules/header/header.module.mjs +27 -0
- package/esm2020/molecules/header/header.molecule.mjs +32 -0
- package/esm2020/molecules/header/index.mjs +3 -0
- package/esm2020/molecules/header/ng-atomic-components-molecules-header.mjs +5 -0
- package/esm2020/molecules/select-input-field/select-input-field.molecule.mjs +2 -2
- package/esm2020/organisms/action-buttons-section/action-buttons-section.organism.mjs +10 -10
- package/esm2020/organisms/back-navigator/back-navigator.organism.mjs +10 -10
- package/esm2020/organisms/card-input-section/card-input-section.organism.mjs +2 -2
- package/esm2020/organisms/cvc-and-exp-input-section/cvc-and-exp-input-section.organism.mjs +2 -2
- package/esm2020/organisms/date-input-section/date-input-section.organism.mjs +2 -2
- package/esm2020/organisms/heading/heading.organism.mjs +2 -2
- package/esm2020/organisms/navigation-list/navigation-list.organism.mjs +2 -2
- package/esm2020/organisms/navigator/navigator.organism.mjs +37 -42
- package/esm2020/organisms/paginator/paginator.organism.mjs +5 -5
- package/esm2020/organisms/select-input-section/select-input-section.organism.mjs +2 -2
- package/esm2020/organisms/smart-table/smart-table.organism.mjs +11 -10
- package/esm2020/organisms/social-login-section/social-login-section.organism.mjs +2 -2
- package/esm2020/organisms/text-input-section/text-input-section.organism.mjs +2 -2
- package/esm2020/organisms/textarea-section/textarea-section.organism.mjs +2 -2
- package/esm2020/organisms/top-navigator/top-navigator.organism.mjs +10 -10
- package/esm2020/templates/entrance/entrance.template.mjs +5 -5
- package/esm2020/templates/menu/menu.template.mjs +2 -2
- package/esm2020/templates/smart-crud/smart-crud.module.mjs +13 -6
- package/esm2020/templates/smart-crud/smart-crud.template.mjs +63 -51
- package/esm2020/templates/smart-index/smart-index.module.mjs +12 -5
- package/esm2020/templates/smart-index/smart-index.template.mjs +40 -24
- package/fesm2015/ng-atomic-components-atoms-icon.mjs +2 -2
- package/fesm2015/ng-atomic-components-atoms-smart-menu-button.mjs +15 -14
- package/fesm2015/ng-atomic-components-atoms-smart-menu-button.mjs.map +1 -1
- package/fesm2015/ng-atomic-components-frames-auto-layout.mjs +2 -2
- package/fesm2015/ng-atomic-components-frames-drawer.mjs +2 -2
- package/fesm2015/ng-atomic-components-frames-line-up.mjs +2 -2
- package/fesm2015/ng-atomic-components-frames-overlay.mjs +2 -2
- package/fesm2015/ng-atomic-components-frames-scroll.mjs +2 -2
- package/fesm2015/ng-atomic-components-frames-smart-menu.mjs +2 -2
- package/fesm2015/ng-atomic-components-molecules-actions-column.mjs +8 -8
- package/fesm2015/ng-atomic-components-molecules-actions-column.mjs.map +1 -1
- package/fesm2015/ng-atomic-components-molecules-chips-input-field.mjs +6 -3
- package/fesm2015/ng-atomic-components-molecules-chips-input-field.mjs.map +1 -1
- package/fesm2015/ng-atomic-components-molecules-date-input-field.mjs +2 -2
- package/fesm2015/ng-atomic-components-molecules-header.mjs +70 -0
- package/fesm2015/ng-atomic-components-molecules-header.mjs.map +1 -0
- package/fesm2015/ng-atomic-components-molecules-select-input-field.mjs +2 -2
- package/fesm2015/ng-atomic-components-organisms-action-buttons-section.mjs +9 -9
- package/fesm2015/ng-atomic-components-organisms-action-buttons-section.mjs.map +1 -1
- package/fesm2015/ng-atomic-components-organisms-back-navigator.mjs +9 -9
- package/fesm2015/ng-atomic-components-organisms-back-navigator.mjs.map +1 -1
- package/fesm2015/ng-atomic-components-organisms-card-input-section.mjs +2 -2
- package/fesm2015/ng-atomic-components-organisms-cvc-and-exp-input-section.mjs +2 -2
- package/fesm2015/ng-atomic-components-organisms-date-input-section.mjs +2 -2
- package/fesm2015/ng-atomic-components-organisms-heading.mjs +2 -2
- package/fesm2015/ng-atomic-components-organisms-navigation-list.mjs +2 -2
- package/fesm2015/ng-atomic-components-organisms-navigator.mjs +41 -42
- package/fesm2015/ng-atomic-components-organisms-navigator.mjs.map +1 -1
- package/fesm2015/ng-atomic-components-organisms-paginator.mjs +4 -4
- package/fesm2015/ng-atomic-components-organisms-paginator.mjs.map +1 -1
- package/fesm2015/ng-atomic-components-organisms-select-input-section.mjs +2 -2
- package/fesm2015/ng-atomic-components-organisms-smart-table.mjs +10 -9
- package/fesm2015/ng-atomic-components-organisms-smart-table.mjs.map +1 -1
- package/fesm2015/ng-atomic-components-organisms-social-login-section.mjs +2 -2
- package/fesm2015/ng-atomic-components-organisms-text-input-section.mjs +2 -2
- package/fesm2015/ng-atomic-components-organisms-textarea-section.mjs +2 -2
- package/fesm2015/ng-atomic-components-organisms-top-navigator.mjs +9 -9
- package/fesm2015/ng-atomic-components-organisms-top-navigator.mjs.map +1 -1
- package/fesm2015/ng-atomic-components-templates-entrance.mjs +4 -4
- 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-smart-crud.mjs +75 -56
- package/fesm2015/ng-atomic-components-templates-smart-crud.mjs.map +1 -1
- package/fesm2015/ng-atomic-components-templates-smart-index.mjs +51 -28
- package/fesm2015/ng-atomic-components-templates-smart-index.mjs.map +1 -1
- package/fesm2020/ng-atomic-components-atoms-icon.mjs +2 -2
- package/fesm2020/ng-atomic-components-atoms-smart-menu-button.mjs +15 -14
- package/fesm2020/ng-atomic-components-atoms-smart-menu-button.mjs.map +1 -1
- package/fesm2020/ng-atomic-components-frames-auto-layout.mjs +2 -2
- package/fesm2020/ng-atomic-components-frames-drawer.mjs +2 -2
- package/fesm2020/ng-atomic-components-frames-line-up.mjs +2 -2
- package/fesm2020/ng-atomic-components-frames-overlay.mjs +2 -2
- package/fesm2020/ng-atomic-components-frames-scroll.mjs +2 -2
- package/fesm2020/ng-atomic-components-frames-smart-menu.mjs +2 -2
- package/fesm2020/ng-atomic-components-molecules-actions-column.mjs +8 -8
- package/fesm2020/ng-atomic-components-molecules-actions-column.mjs.map +1 -1
- package/fesm2020/ng-atomic-components-molecules-chips-input-field.mjs +6 -3
- package/fesm2020/ng-atomic-components-molecules-chips-input-field.mjs.map +1 -1
- package/fesm2020/ng-atomic-components-molecules-date-input-field.mjs +2 -2
- package/fesm2020/ng-atomic-components-molecules-header.mjs +63 -0
- package/fesm2020/ng-atomic-components-molecules-header.mjs.map +1 -0
- package/fesm2020/ng-atomic-components-molecules-select-input-field.mjs +2 -2
- package/fesm2020/ng-atomic-components-organisms-action-buttons-section.mjs +9 -9
- package/fesm2020/ng-atomic-components-organisms-action-buttons-section.mjs.map +1 -1
- package/fesm2020/ng-atomic-components-organisms-back-navigator.mjs +9 -9
- package/fesm2020/ng-atomic-components-organisms-back-navigator.mjs.map +1 -1
- package/fesm2020/ng-atomic-components-organisms-card-input-section.mjs +2 -2
- package/fesm2020/ng-atomic-components-organisms-cvc-and-exp-input-section.mjs +2 -2
- package/fesm2020/ng-atomic-components-organisms-date-input-section.mjs +2 -2
- package/fesm2020/ng-atomic-components-organisms-heading.mjs +2 -2
- package/fesm2020/ng-atomic-components-organisms-navigation-list.mjs +2 -2
- package/fesm2020/ng-atomic-components-organisms-navigator.mjs +37 -42
- package/fesm2020/ng-atomic-components-organisms-navigator.mjs.map +1 -1
- package/fesm2020/ng-atomic-components-organisms-paginator.mjs +4 -4
- package/fesm2020/ng-atomic-components-organisms-paginator.mjs.map +1 -1
- package/fesm2020/ng-atomic-components-organisms-select-input-section.mjs +2 -2
- package/fesm2020/ng-atomic-components-organisms-smart-table.mjs +10 -9
- package/fesm2020/ng-atomic-components-organisms-smart-table.mjs.map +1 -1
- package/fesm2020/ng-atomic-components-organisms-social-login-section.mjs +2 -2
- package/fesm2020/ng-atomic-components-organisms-text-input-section.mjs +2 -2
- package/fesm2020/ng-atomic-components-organisms-textarea-section.mjs +2 -2
- package/fesm2020/ng-atomic-components-organisms-top-navigator.mjs +9 -9
- package/fesm2020/ng-atomic-components-organisms-top-navigator.mjs.map +1 -1
- package/fesm2020/ng-atomic-components-templates-entrance.mjs +4 -4
- 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-smart-crud.mjs +75 -56
- package/fesm2020/ng-atomic-components-templates-smart-crud.mjs.map +1 -1
- package/fesm2020/ng-atomic-components-templates-smart-index.mjs +51 -28
- package/fesm2020/ng-atomic-components-templates-smart-index.mjs.map +1 -1
- package/molecules/actions-column/actions-column.molecule.d.ts +4 -4
- package/molecules/actions-column/actions-column.molecule.d.ts.map +1 -1
- package/molecules/chips-input-field/chips-input-field.molecule.d.ts +2 -1
- package/molecules/chips-input-field/chips-input-field.molecule.d.ts.map +1 -1
- package/molecules/header/header.module.d.ts +9 -0
- package/molecules/header/header.module.d.ts.map +1 -0
- package/molecules/header/header.molecule.d.ts +8 -0
- package/molecules/header/header.molecule.d.ts.map +1 -0
- package/molecules/header/index.d.ts +3 -0
- package/molecules/header/index.d.ts.map +1 -0
- package/molecules/header/ng-atomic-components-molecules-header.d.ts +6 -0
- package/molecules/header/ng-atomic-components-molecules-header.d.ts.map +1 -0
- package/molecules/header/package.json +10 -0
- package/organisms/action-buttons-section/action-buttons-section.organism.d.ts +5 -5
- package/organisms/action-buttons-section/action-buttons-section.organism.d.ts.map +1 -1
- package/organisms/back-navigator/back-navigator.organism.d.ts +4 -4
- package/organisms/back-navigator/back-navigator.organism.d.ts.map +1 -1
- package/organisms/navigator/navigator.organism.d.ts +5 -8
- package/organisms/navigator/navigator.organism.d.ts.map +1 -1
- package/organisms/smart-table/smart-table.organism.d.ts +5 -4
- package/organisms/smart-table/smart-table.organism.d.ts.map +1 -1
- package/organisms/top-navigator/top-navigator.organism.d.ts +3 -3
- package/organisms/top-navigator/top-navigator.organism.d.ts.map +1 -1
- package/package.json +11 -3
- package/templates/smart-crud/smart-crud.module.d.ts +3 -2
- package/templates/smart-crud/smart-crud.module.d.ts.map +1 -1
- package/templates/smart-crud/smart-crud.template.d.ts +16 -6
- package/templates/smart-crud/smart-crud.template.d.ts.map +1 -1
- package/templates/smart-index/smart-index.module.d.ts +3 -2
- package/templates/smart-index/smart-index.module.d.ts.map +1 -1
- package/templates/smart-index/smart-index.template.d.ts +13 -5
- package/templates/smart-index/smart-index.template.d.ts.map +1 -1
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { Component, ChangeDetectionStrategy, Input, NgModule } from '@angular/core';
|
|
3
|
+
import { CommonModule } from '@angular/common';
|
|
4
|
+
|
|
5
|
+
class HeaderMolecule {
|
|
6
|
+
constructor() {
|
|
7
|
+
this.title = 'title';
|
|
8
|
+
}
|
|
9
|
+
}
|
|
10
|
+
HeaderMolecule.ɵfac = function HeaderMolecule_Factory(t) { return new (t || HeaderMolecule)(); };
|
|
11
|
+
HeaderMolecule.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: HeaderMolecule, selectors: [["molecules-header"]], inputs: { title: "title", description: "description" }, decls: 4, vars: 2, consts: [[1, "title"], [1, "description"]], template: function HeaderMolecule_Template(rf, ctx) { if (rf & 1) {
|
|
12
|
+
i0.ɵɵelementStart(0, "span", 0);
|
|
13
|
+
i0.ɵɵtext(1);
|
|
14
|
+
i0.ɵɵelementEnd();
|
|
15
|
+
i0.ɵɵelementStart(2, "span", 1);
|
|
16
|
+
i0.ɵɵtext(3);
|
|
17
|
+
i0.ɵɵelementEnd();
|
|
18
|
+
} if (rf & 2) {
|
|
19
|
+
let tmp_0_0;
|
|
20
|
+
let tmp_1_0;
|
|
21
|
+
i0.ɵɵadvance(1);
|
|
22
|
+
i0.ɵɵtextInterpolate((tmp_0_0 = ctx.title) !== null && tmp_0_0 !== undefined ? tmp_0_0 : "");
|
|
23
|
+
i0.ɵɵadvance(2);
|
|
24
|
+
i0.ɵɵtextInterpolate((tmp_1_0 = ctx.description) !== null && tmp_1_0 !== undefined ? tmp_1_0 : "");
|
|
25
|
+
} }, styles: ["[_nghost-%COMP%]{display:block}[_nghost-%COMP%]{display:flex;flex-direction:row;justify-content:center;align-items:flex-end}[_nghost-%COMP%] .description[_ngcontent-%COMP%]{line-height:1em;font-size:12px;margin-bottom:8px;margin-left:4px}"], changeDetection: 0 });
|
|
26
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(HeaderMolecule, [{
|
|
27
|
+
type: Component,
|
|
28
|
+
args: [{ selector: 'molecules-header', changeDetection: ChangeDetectionStrategy.OnPush, template: "<span class=\"title\">{{ title ?? '' }}</span>\n<span class=\"description\">{{ description ?? '' }}</span>\n", styles: [":host{display:block}:host{display:flex;flex-direction:row;justify-content:center;align-items:flex-end}:host .description{line-height:1em;font-size:12px;margin-bottom:8px;margin-left:4px}\n"] }]
|
|
29
|
+
}], null, { title: [{
|
|
30
|
+
type: Input
|
|
31
|
+
}], description: [{
|
|
32
|
+
type: Input
|
|
33
|
+
}] }); })();
|
|
34
|
+
|
|
35
|
+
class HeaderModule {
|
|
36
|
+
}
|
|
37
|
+
HeaderModule.ɵfac = function HeaderModule_Factory(t) { return new (t || HeaderModule)(); };
|
|
38
|
+
HeaderModule.ɵmod = /*@__PURE__*/ i0.ɵɵdefineNgModule({ type: HeaderModule });
|
|
39
|
+
HeaderModule.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ imports: [[
|
|
40
|
+
CommonModule
|
|
41
|
+
]] });
|
|
42
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(HeaderModule, [{
|
|
43
|
+
type: NgModule,
|
|
44
|
+
args: [{
|
|
45
|
+
declarations: [
|
|
46
|
+
HeaderMolecule
|
|
47
|
+
],
|
|
48
|
+
imports: [
|
|
49
|
+
CommonModule
|
|
50
|
+
],
|
|
51
|
+
exports: [
|
|
52
|
+
HeaderMolecule
|
|
53
|
+
]
|
|
54
|
+
}]
|
|
55
|
+
}], null, null); })();
|
|
56
|
+
(function () { (typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(HeaderModule, { declarations: [HeaderMolecule], imports: [CommonModule], exports: [HeaderMolecule] }); })();
|
|
57
|
+
|
|
58
|
+
/**
|
|
59
|
+
* Generated bundle index. Do not edit.
|
|
60
|
+
*/
|
|
61
|
+
|
|
62
|
+
export { HeaderModule, HeaderMolecule };
|
|
63
|
+
//# sourceMappingURL=ng-atomic-components-molecules-header.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ng-atomic-components-molecules-header.mjs","sources":["../../../../libs/components/src/molecules/header/header.molecule.ts","../../../../libs/components/src/molecules/header/header.molecule.html","../../../../libs/components/src/molecules/header/header.module.ts","../../../../libs/components/src/molecules/header/ng-atomic-components-molecules-header.ts"],"sourcesContent":["import { Component, ChangeDetectionStrategy, Input } from '@angular/core';\n\n@Component({\n selector: 'molecules-header',\n templateUrl: './header.molecule.html',\n styleUrls: ['./header.molecule.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush\n})\nexport class HeaderMolecule {\n\n @Input()\n title = 'title';\n\n @Input()\n description?: string;\n\n}\n","<span class=\"title\">{{ title ?? '' }}</span>\n<span class=\"description\">{{ description ?? '' }}</span>\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { HeaderMolecule } from './header.molecule';\n\n\n\n@NgModule({\n declarations: [\n HeaderMolecule\n ],\n imports: [\n CommonModule\n ],\n exports: [\n HeaderMolecule\n ]\n})\nexport class HeaderModule { }\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;MAQa,cAAc,CAAA;AAN3B,IAAA,WAAA,GAAA;QASE,IAAK,CAAA,KAAA,GAAG,OAAO,CAAC;AAKjB,KAAA;;4EARY,cAAc,GAAA,CAAA,EAAA,CAAA;iEAAd,cAAc,EAAA,SAAA,EAAA,CAAA,CAAA,kBAAA,CAAA,CAAA,EAAA,MAAA,EAAA,EAAA,KAAA,EAAA,OAAA,EAAA,WAAA,EAAA,aAAA,EAAA,EAAA,KAAA,EAAA,CAAA,EAAA,IAAA,EAAA,CAAA,EAAA,MAAA,EAAA,CAAA,CAAA,CAAA,EAAA,OAAA,CAAA,EAAA,CAAA,CAAA,EAAA,aAAA,CAAA,CAAA,EAAA,QAAA,EAAA,SAAA,uBAAA,CAAA,EAAA,EAAA,GAAA,EAAA,EAAA,IAAA,EAAA,GAAA,CAAA,EAAA;QCR3B,EAAoB,CAAA,cAAA,CAAA,CAAA,EAAA,MAAA,EAAA,CAAA,CAAA,CAAA;QAAA,EAAiB,CAAA,MAAA,CAAA,CAAA,CAAA,CAAA;QAAA,EAAO,CAAA,YAAA,EAAA,CAAA;QAC5C,EAA0B,CAAA,cAAA,CAAA,CAAA,EAAA,MAAA,EAAA,CAAA,CAAA,CAAA;QAAA,EAAuB,CAAA,MAAA,CAAA,CAAA,CAAA,CAAA;QAAA,EAAO,CAAA,YAAA,EAAA,CAAA;;;;QADpC,EAAiB,CAAA,SAAA,CAAA,CAAA,CAAA,CAAA;QAAjB,EAAiB,CAAA,iBAAA,CAAA,CAAA,OAAA,GAAA,GAAA,CAAA,KAAA,MAAA,IAAA,IAAA,OAAA,KAAA,SAAA,GAAA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ɵdefineComponent({ type: Se
|
|
|
43
43
|
i0.ɵɵproperty("formControl", ctx.control);
|
|
44
44
|
i0.ɵɵadvance(1);
|
|
45
45
|
i0.ɵɵproperty("ngForOf", ctx.options)("ngForTrackBy", ctx.value);
|
|
46
|
-
} }, directives: [i1.MatFormField, i1.MatLabel, i2.MatSelect, i3.NgControlStatus, i3.FormControlDirective, i4.NgForOf, i5.MatOption], styles: ["[_nghost-%COMP%]{--horizontal-padding: 16px;--horizontal-padding-SCOPED-IN-select-input-field-
|
|
46
|
+
} }, directives: [i1.MatFormField, i1.MatLabel, i2.MatSelect, i3.NgControlStatus, i3.FormControlDirective, i4.NgForOf, i5.MatOption], styles: ["[_nghost-%COMP%]{--horizontal-padding: 16px;--horizontal-padding-SCOPED-IN-select-input-field-h7YZ: var(--horizontal-padding)}[_nghost-%COMP%]{display:block;width:100%}[_nghost-%COMP%] mat-form-field[_ngcontent-%COMP%]{width:100%}"], changeDetection: 0 });
|
|
47
47
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SelectInputFieldMolecule, [{
|
|
48
48
|
type: Component,
|
|
49
|
-
args: [{ selector: 'molecules-select-input-field', changeDetection: ChangeDetectionStrategy.OnPush, host: { class: 'molecule input-field field' }, template: "<mat-form-field appearance=\"outline\">\n <mat-label>{{ label }}</mat-label>\n <mat-select [formControl]=\"control\">\n <mat-option *ngFor=\"let option of options; trackBy value;\" [value]=\"option.value\">\n {{ option.name }}\n </mat-option>\n </mat-select>\n</mat-form-field>", styles: [":host{--horizontal-padding: 16px;--horizontal-padding-SCOPED-IN-select-input-field-
|
|
49
|
+
args: [{ selector: 'molecules-select-input-field', changeDetection: ChangeDetectionStrategy.OnPush, host: { class: 'molecule input-field field' }, template: "<mat-form-field appearance=\"outline\">\n <mat-label>{{ label }}</mat-label>\n <mat-select [formControl]=\"control\">\n <mat-option *ngFor=\"let option of options; trackBy value;\" [value]=\"option.value\">\n {{ option.name }}\n </mat-option>\n </mat-select>\n</mat-form-field>", styles: [":host{--horizontal-padding: 16px;--horizontal-padding-SCOPED-IN-select-input-field-h7YZ: var(--horizontal-padding)}:host{display:block;width:100%}:host mat-form-field{width:100%}\n"] }]
|
|
50
50
|
}], null, { label: [{
|
|
51
51
|
type: Input
|
|
52
52
|
}], control: [{
|
|
@@ -9,7 +9,7 @@ function ActionButtonsSectionOrganism_ng_container_0_Template(rf, ctx) { if (rf
|
|
|
9
9
|
const _r3 = i0.ɵɵgetCurrentView();
|
|
10
10
|
i0.ɵɵelementContainerStart(0);
|
|
11
11
|
i0.ɵɵelementStart(1, "button", 1);
|
|
12
|
-
i0.ɵɵlistener("click", function ActionButtonsSectionOrganism_ng_container_0_Template_button_click_1_listener() { const restoredCtx = i0.ɵɵrestoreView(_r3); const item_r1 = restoredCtx.$implicit; const ctx_r2 = i0.ɵɵnextContext(); return ctx_r2.
|
|
12
|
+
i0.ɵɵlistener("click", function ActionButtonsSectionOrganism_ng_container_0_Template_button_click_1_listener() { const restoredCtx = i0.ɵɵrestoreView(_r3); const item_r1 = restoredCtx.$implicit; const ctx_r2 = i0.ɵɵnextContext(); return ctx_r2.action.emit(item_r1); });
|
|
13
13
|
i0.ɵɵtext(2);
|
|
14
14
|
i0.ɵɵelementEnd();
|
|
15
15
|
i0.ɵɵelementContainerEnd();
|
|
@@ -20,23 +20,23 @@ function ActionButtonsSectionOrganism_ng_container_0_Template(rf, ctx) { if (rf
|
|
|
20
20
|
} }
|
|
21
21
|
class ActionButtonsSectionOrganism {
|
|
22
22
|
constructor() {
|
|
23
|
-
this.
|
|
24
|
-
this.
|
|
23
|
+
this.items = [];
|
|
24
|
+
this.action = new EventEmitter();
|
|
25
25
|
this.trackById = (item) => item.id;
|
|
26
26
|
}
|
|
27
27
|
}
|
|
28
28
|
ActionButtonsSectionOrganism.ɵfac = function ActionButtonsSectionOrganism_Factory(t) { return new (t || ActionButtonsSectionOrganism)(); };
|
|
29
|
-
ActionButtonsSectionOrganism.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: ActionButtonsSectionOrganism, selectors: [["organisms-action-buttons-section"]], hostAttrs: [1, "organism", "section"], inputs: {
|
|
29
|
+
ActionButtonsSectionOrganism.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: ActionButtonsSectionOrganism, selectors: [["organisms-action-buttons-section"]], hostAttrs: [1, "organism", "section"], inputs: { items: "items" }, outputs: { action: "action" }, decls: 1, vars: 2, consts: [[4, "ngFor", "ngForOf", "ngForTrackBy"], ["mat-raised-button", "", "color", "primary", 3, "click"]], template: function ActionButtonsSectionOrganism_Template(rf, ctx) { if (rf & 1) {
|
|
30
30
|
i0.ɵɵtemplate(0, ActionButtonsSectionOrganism_ng_container_0_Template, 3, 1, "ng-container", 0);
|
|
31
31
|
} if (rf & 2) {
|
|
32
|
-
i0.ɵɵproperty("ngForOf", ctx.
|
|
33
|
-
} }, directives: [i1.NgForOf, i2.MatButton], styles: ["[_nghost-%COMP%]{--horizontal-padding: 16px;--horizontal-padding-SCOPED-IN-action-buttons-section-
|
|
32
|
+
i0.ɵɵproperty("ngForOf", ctx.items)("ngForTrackBy", ctx.trackById);
|
|
33
|
+
} }, directives: [i1.NgForOf, i2.MatButton], styles: ["[_nghost-%COMP%]{--horizontal-padding: 16px;--horizontal-padding-SCOPED-IN-action-buttons-section-gk6G: var(--horizontal-padding)}[_nghost-%COMP%]{display:flex;flex-direction:row;grid-gap:8px;gap:8px;width:100%;padding:0 var(--horizontal-padding-SCOPED-IN-action-buttons-section-gk6G);box-sizing:border-box}[_nghost-%COMP%] button[_ngcontent-%COMP%]{width:100%;height:48px}"], changeDetection: 0 });
|
|
34
34
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ActionButtonsSectionOrganism, [{
|
|
35
35
|
type: Component,
|
|
36
|
-
args: [{ selector: 'organisms-action-buttons-section', changeDetection: ChangeDetectionStrategy.OnPush, host: { class: 'organism section' }, template: "<ng-container *ngFor=\"let item of
|
|
37
|
-
}], null, {
|
|
36
|
+
args: [{ selector: 'organisms-action-buttons-section', changeDetection: ChangeDetectionStrategy.OnPush, host: { class: 'organism section' }, template: "<ng-container *ngFor=\"let item of items; trackBy: trackById\">\n <button mat-raised-button color=\"primary\" (click)=\"action.emit(item)\">{{ item?.name }}</button>\n</ng-container>", styles: [":host{--horizontal-padding: 16px;--horizontal-padding-SCOPED-IN-action-buttons-section-gk6G: var(--horizontal-padding)}:host{display:flex;flex-direction:row;grid-gap:8px;gap:8px;width:100%;padding:0 var(--horizontal-padding-SCOPED-IN-action-buttons-section-gk6G);box-sizing:border-box}:host button{width:100%;height:48px}\n"] }]
|
|
37
|
+
}], null, { items: [{
|
|
38
38
|
type: Input
|
|
39
|
-
}],
|
|
39
|
+
}], action: [{
|
|
40
40
|
type: Output
|
|
41
41
|
}] }); })();
|
|
42
42
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ng-atomic-components-organisms-action-buttons-section.mjs","sources":["../../../../libs/components/src/organisms/action-buttons-section/action-buttons-section.organism.html","../../../../libs/components/src/organisms/action-buttons-section/action-buttons-section.organism.ts","../../../../libs/components/src/organisms/action-buttons-section/action-buttons-section.module.ts","../../../../libs/components/src/organisms/action-buttons-section/ng-atomic-components-organisms-action-buttons-section.ts"],"sourcesContent":["<ng-container *ngFor=\"let item of
|
|
1
|
+
{"version":3,"file":"ng-atomic-components-organisms-action-buttons-section.mjs","sources":["../../../../libs/components/src/organisms/action-buttons-section/action-buttons-section.organism.html","../../../../libs/components/src/organisms/action-buttons-section/action-buttons-section.organism.ts","../../../../libs/components/src/organisms/action-buttons-section/action-buttons-section.module.ts","../../../../libs/components/src/organisms/action-buttons-section/ng-atomic-components-organisms-action-buttons-section.ts"],"sourcesContent":["<ng-container *ngFor=\"let item of items; trackBy: trackById\">\n <button mat-raised-button color=\"primary\" (click)=\"action.emit(item)\">{{ item?.name }}</button>\n</ng-container>","import { ChangeDetectionStrategy, Component, EventEmitter, Input, Output } from '@angular/core';\nimport { Action, ActionItem } from '@ng-atomic/common/models';\n\n@Component({\n selector: 'organisms-action-buttons-section',\n templateUrl: './action-buttons-section.organism.html',\n styleUrls: ['./action-buttons-section.organism.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n host: {class: 'organism section'},\n})\nexport class ActionButtonsSectionOrganism {\n @Input()\n items: ActionItem[] = [];\n\n @Output()\n action = new EventEmitter<Action>();\n\n trackById = (item: ActionItem) => item.id;\n}\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { MatButtonModule } from '@angular/material/button';\n\nimport { ActionButtonsSectionOrganism } from './action-buttons-section.organism';\n\n@NgModule({\n declarations: [\n ActionButtonsSectionOrganism\n ],\n imports: [\n CommonModule,\n // Materials\n MatButtonModule,\n ],\n exports: [\n ActionButtonsSectionOrganism\n ],\n bootstrap: [\n ActionButtonsSectionOrganism,\n ],\n})\nexport class ActionButtonsSectionModule { }\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;IAAA,EAA6D,CAAA,uBAAA,CAAA,CAAA,CAAA,CAAA;IAC3D,EAAsE,CAAA,cAAA,CAAA,CAAA,EAAA,QAAA,EAAA,CAAA,CAAA,CAAA;AAA5B,IAAA,EAAA,CAAA,UAAA,CAAA,OAAA,EAAA,SAAA,4EAAA,GAAA,EAAA,MAAA,WAAA,GAAA,EAAA,CAAA,aAAA,CAAA,GAAA,CAAA,CAAA,CAAA,MAAA,OAAA,GAAA,WAAA,CAAA,SAAA,CAAA,CAAA,MAAA,MAAA,GAAA,EAAA,CAAA,aAAA,EAAA,CAAA,CAAA,OAAS,2BAAiB,CAAC,EAAA,CAAA,CAAA;IAAC,EAAgB,CAAA,MAAA,CAAA,CAAA,CAAA,CAAA;IAAA,EAAS,CAAA,YAAA,EAAA,CAAA;IACjG,EAAe,CAAA,qBAAA,EAAA,CAAA;;;IADyD,EAAgB,CAAA,SAAA,CAAA,CAAA,CAAA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B,uBAAuB,CAAC,MAAM,QACzC,EAAC,KAAK,EAAE,kBAAkB,EAAC,EAAA,QAAA,EAAA,yLAAA,EAAA,MAAA,EAAA,CAAA,qUAAA,CAAA,EAAA,CAAA;gBAIjC,KAAK,EAAA,CAAA;kBADJ,KAAK;YAIN,MAAM,EAAA,CAAA;kBADL,MAAM;;;MCQI,0BAA0B,CAAA;;oGAA1B,0BAA0B,GAAA,CAAA,EAAA,CAAA;AAA1B,0BAAA,CAAA,IAAA,iBAAA,EAAA,CAAA,gBAAA,CAAA,EAAA,IAAA,EAAA,0BAA0B,cAHnC,4BAA4B,CAAA,EAAA,CAAA,CAAA;AATrB,0BAAA,CAAA,IAAA,iBAAA,EAAA,CAAA,gBAAA,CAAA,EAAA,OAAA,EAAA,CAAA;YACP,YAAY;;YAEZ,eAAe;AAChB,SAAA,CAAA,EAAA,CAAA,CAAA;uFAQU,0BAA0B,EAAA,CAAA;cAhBtC,QAAQ;AAAC,QAAA,IAAA,EAAA,CAAA;AACR,gBAAA,YAAY,EAAE;oBACZ,4BAA4B;AAC7B,iBAAA;AACD,gBAAA,OAAO,EAAE;oBACP,YAAY;;oBAEZ,eAAe;AAChB,iBAAA;AACD,gBAAA,OAAO,EAAE;oBACP,4BAA4B;AAC7B,iBAAA;AACD,gBAAA,SAAS,EAAE;oBACT,4BAA4B;AAC7B,iBAAA;AACF,aAAA,CAAA;;wFACY,0BAA0B,EAAA,EAAA,YAAA,EAAA,CAdnC,4BAA4B,CAAA,EAAA,OAAA,EAAA,CAG5B,YAAY;;AAEZ,QAAA,eAAe,aAGf,4BAA4B,CAAA,EAAA,CAAA,CAAA,EAAA,GAAA;;AChBhC;;AAEG;;;;"}
|
|
@@ -22,13 +22,13 @@ function BackNavigatorOrganism_button_2_Template(rf, ctx) { if (rf & 1) {
|
|
|
22
22
|
class BackNavigatorOrganism {
|
|
23
23
|
constructor() {
|
|
24
24
|
this.canBack = true;
|
|
25
|
-
this.
|
|
25
|
+
this.items = [];
|
|
26
26
|
this.backButtonClick = new EventEmitter();
|
|
27
|
-
this.
|
|
27
|
+
this.action = new EventEmitter();
|
|
28
28
|
}
|
|
29
29
|
}
|
|
30
30
|
BackNavigatorOrganism.ɵfac = function BackNavigatorOrganism_Factory(t) { return new (t || BackNavigatorOrganism)(); };
|
|
31
|
-
BackNavigatorOrganism.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: BackNavigatorOrganism, selectors: [["organisms-back-navigator"]], inputs: { canBack: "canBack", title: "title", description: "description",
|
|
31
|
+
BackNavigatorOrganism.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: BackNavigatorOrganism, selectors: [["organisms-back-navigator"]], inputs: { canBack: "canBack", title: "title", description: "description", items: "items" }, outputs: { backButtonClick: "backButtonClick", action: "action" }, decls: 10, vars: 4, consts: [["color", "primary"], ["mat-icon-button", "", 3, "click", 4, "ngIf"], [1, "text"], [1, "title"], [1, "description"], [3, "items", "action"], ["mat-icon-button", "", 3, "click"]], template: function BackNavigatorOrganism_Template(rf, ctx) { if (rf & 1) {
|
|
32
32
|
i0.ɵɵelementStart(0, "mat-toolbar", 0)(1, "div");
|
|
33
33
|
i0.ɵɵtemplate(2, BackNavigatorOrganism_button_2_Template, 3, 0, "button", 1);
|
|
34
34
|
i0.ɵɵelementStart(3, "div", 2)(4, "span", 3);
|
|
@@ -38,7 +38,7 @@ BackNavigatorOrganism.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: BackN
|
|
|
38
38
|
i0.ɵɵtext(7);
|
|
39
39
|
i0.ɵɵelementEnd()()();
|
|
40
40
|
i0.ɵɵelementStart(8, "div")(9, "atoms-smart-menu-button", 5);
|
|
41
|
-
i0.ɵɵlistener("
|
|
41
|
+
i0.ɵɵlistener("action", function BackNavigatorOrganism_Template_atoms_smart_menu_button_action_9_listener($event) { return ctx.action.emit($event); });
|
|
42
42
|
i0.ɵɵelementEnd()()();
|
|
43
43
|
} if (rf & 2) {
|
|
44
44
|
i0.ɵɵadvance(2);
|
|
@@ -48,22 +48,22 @@ BackNavigatorOrganism.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: BackN
|
|
|
48
48
|
i0.ɵɵadvance(2);
|
|
49
49
|
i0.ɵɵtextInterpolate(ctx.description || "");
|
|
50
50
|
i0.ɵɵadvance(2);
|
|
51
|
-
i0.ɵɵproperty("
|
|
52
|
-
} }, directives: [i1.MatToolbar, i2.NgIf, i3.MatButton, i4.MatIcon, i5.SmartMenuButtonAtom], styles: ["[_nghost-%COMP%]{--height: 64px;--height-SCOPED-IN-back-navigator-
|
|
51
|
+
i0.ɵɵproperty("items", ctx.items);
|
|
52
|
+
} }, directives: [i1.MatToolbar, i2.NgIf, i3.MatButton, i4.MatIcon, i5.SmartMenuButtonAtom], styles: ["[_nghost-%COMP%]{--height: 64px;--height-SCOPED-IN-back-navigator-RrMU: var(--height)}[_nghost-%COMP%]{display:block;width:100%;height:var(--height-SCOPED-IN-back-navigator-RrMU)}[_nghost-%COMP%] div.text[_ngcontent-%COMP%]{display:flex;flex-direction:row;justify-content:center;align-items:flex-end}[_nghost-%COMP%] div.text[_ngcontent-%COMP%] .description[_ngcontent-%COMP%]{line-height:1em;font-size:12px;margin-bottom:8px;margin-left:4px}[_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 });
|
|
53
53
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(BackNavigatorOrganism, [{
|
|
54
54
|
type: Component,
|
|
55
|
-
args: [{ selector: 'organisms-back-navigator', changeDetection: ChangeDetectionStrategy.OnPush, template: "<mat-toolbar color=\"primary\">\n <div>\n <button mat-icon-button *ngIf=\"canBack\" (click)=\"backButtonClick.emit()\">\n <mat-icon>arrow_back</mat-icon>\n </button>\n <div class=\"text\">\n <span class=\"title\">{{ title || '' }}</span>\n <span class=\"description\">{{ description || '' }}</span>\n </div>\n </div>\n <div>\n <atoms-smart-menu-button\n [
|
|
55
|
+
args: [{ selector: 'organisms-back-navigator', changeDetection: ChangeDetectionStrategy.OnPush, template: "<mat-toolbar color=\"primary\">\n <div>\n <button mat-icon-button *ngIf=\"canBack\" (click)=\"backButtonClick.emit()\">\n <mat-icon>arrow_back</mat-icon>\n </button>\n <div class=\"text\">\n <span class=\"title\">{{ title || '' }}</span>\n <span class=\"description\">{{ description || '' }}</span>\n </div>\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{--height: 64px;--height-SCOPED-IN-back-navigator-RrMU: var(--height)}:host{display:block;width:100%;height:var(--height-SCOPED-IN-back-navigator-RrMU)}:host div.text{display:flex;flex-direction:row;justify-content:center;align-items:flex-end}:host div.text .description{line-height:1em;font-size:12px;margin-bottom:8px;margin-left:4px}: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"] }]
|
|
56
56
|
}], null, { canBack: [{
|
|
57
57
|
type: Input
|
|
58
58
|
}], title: [{
|
|
59
59
|
type: Input
|
|
60
60
|
}], description: [{
|
|
61
61
|
type: Input
|
|
62
|
-
}],
|
|
62
|
+
}], items: [{
|
|
63
63
|
type: Input
|
|
64
64
|
}], backButtonClick: [{
|
|
65
65
|
type: Output
|
|
66
|
-
}],
|
|
66
|
+
}], action: [{
|
|
67
67
|
type: Output
|
|
68
68
|
}] }); })();
|
|
69
69
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ng-atomic-components-organisms-back-navigator.mjs","sources":["../../../../libs/components/src/organisms/back-navigator/back-navigator.organism.html","../../../../libs/components/src/organisms/back-navigator/back-navigator.organism.ts","../../../../libs/components/src/organisms/back-navigator/back-navigator.module.ts","../../../../libs/components/src/organisms/back-navigator/ng-atomic-components-organisms-back-navigator.ts"],"sourcesContent":["<mat-toolbar color=\"primary\">\n <div>\n <button mat-icon-button *ngIf=\"canBack\" (click)=\"backButtonClick.emit()\">\n <mat-icon>arrow_back</mat-icon>\n </button>\n <div class=\"text\">\n <span class=\"title\">{{ title || '' }}</span>\n <span class=\"description\">{{ description || '' }}</span>\n </div>\n </div>\n <div>\n <atoms-smart-menu-button\n [
|
|
1
|
+
{"version":3,"file":"ng-atomic-components-organisms-back-navigator.mjs","sources":["../../../../libs/components/src/organisms/back-navigator/back-navigator.organism.html","../../../../libs/components/src/organisms/back-navigator/back-navigator.organism.ts","../../../../libs/components/src/organisms/back-navigator/back-navigator.module.ts","../../../../libs/components/src/organisms/back-navigator/ng-atomic-components-organisms-back-navigator.ts"],"sourcesContent":["<mat-toolbar color=\"primary\">\n <div>\n <button mat-icon-button *ngIf=\"canBack\" (click)=\"backButtonClick.emit()\">\n <mat-icon>arrow_back</mat-icon>\n </button>\n <div class=\"text\">\n <span class=\"title\">{{ title || '' }}</span>\n <span class=\"description\">{{ description || '' }}</span>\n </div>\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","import { ChangeDetectionStrategy, Component, EventEmitter, Input, Output } from '@angular/core';\nimport { Action, ActionItem } from '@ng-atomic/common/models';\n\n@Component({\n selector: 'organisms-back-navigator',\n templateUrl: './back-navigator.organism.html',\n styleUrls: ['./back-navigator.organism.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class BackNavigatorOrganism {\n\n @Input()\n canBack = true;\n\n @Input()\n title?: string;\n\n @Input()\n description?: string;\n\n @Input()\n items: ActionItem[] = [];\n\n @Output()\n backButtonClick = new EventEmitter<void>();\n\n @Output()\n action = new EventEmitter<Action>();\n\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 { BackNavigatorOrganism } from './back-navigator.organism';\n\n@NgModule({\n declarations: [\n BackNavigatorOrganism\n ],\n imports: [\n CommonModule,\n // Material\n MatButtonModule,\n MatIconModule,\n MatToolbarModule,\n // Atoms\n SmartMenuButtonModule,\n ],\n exports: [\n BackNavigatorOrganism\n ]\n})\nexport class BackNavigatorModule { }\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;;;;;IAEI,EAAyE,CAAA,cAAA,CAAA,CAAA,EAAA,QAAA,EAAA,CAAA,CAAA,CAAA;AAAjC,IAAA,EAAA,CAAA,UAAA,CAAA,OAAA,EAAA,SAAA,+DAAA,GAAA,EAAA,EAAA,CAAA,aAAA,CAAA,GAAA,CAAA,CAAA,CAAA,MAAA,MAAA,GAAA,EAAA,CAAA,aAAA,EAAA,CAAA,CAAA,OAAS,6BAAsB,CAAC,EAAA,CAAA,CAAA;IACtE,EAAU,CAAA,cAAA,CAAA,CAAA,EAAA,UAAA,CAAA,CAAA;IAAA,EAAU,CAAA,MAAA,CAAA,CAAA,EAAA,YAAA,CAAA,CAAA;AAAA,IAAA,EAAA,CAAA,YAAA,EAAW,EAAA,CAAA;;MCMxB,qBAAqB,CAAA;AANlC,IAAA,WAAA,GAAA;QASE,IAAO,CAAA,OAAA,GAAG,IAAI,CAAC;QASf,IAAK,CAAA,KAAA,GAAiB,EAAE,CAAC;AAGzB,QAAA,IAAA,CAAA,eAAe,GAAG,IAAI,YAAY,EAAQ,CAAC;AAG3C,QAAA,IAAA,CAAA,MAAM,GAAG,IAAI,YAAY,EAAU,CAAC;AAErC,KAAA;;0FApBY,qBAAqB,GAAA,CAAA,EAAA,CAAA;wEAArB,qBAAqB,EAAA,SAAA,EAAA,CAAA,CAAA,0BAAA,CAAA,CAAA,EAAA,MA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ADL,MAAM;;;MCAI,mBAAmB,CAAA;;sFAAnB,mBAAmB,GAAA,CAAA,EAAA,CAAA;qEAAnB,mBAAmB,EAAA,CAAA,CAAA;AAbrB,mBAAA,CAAA,IAAA,iBAAA,EAAA,CAAA,gBAAA,CAAA,EAAA,OAAA,EAAA,CAAA;YACP,YAAY;;YAEZ,eAAe;YACf,aAAa;YACb,gBAAgB;;YAEhB,qBAAqB;AACtB,SAAA,CAAA,EAAA,CAAA,CAAA;uFAKU,mBAAmB,EAAA,CAAA;cAjB/B,QAAQ;AAAC,QAAA,IAAA,EAAA,CAAA;AACR,gBAAA,YAAY,EAAE;oBACZ,qBAAqB;AACtB,iBAAA;AACD,gBAAA,OAAO,EAAE;oBACP,YAAY;;oBAEZ,eAAe;oBACf,aAAa;oBACb,gBAAgB;;oBAEhB,qBAAqB;AACtB,iBAAA;AACD,gBAAA,OAAO,EAAE;oBACP,qBAAqB;AACtB,iBAAA;AACF,aAAA,CAAA;;wFACY,mBAAmB,EAAA,EAAA,YAAA,EAAA,CAf5B,qBAAqB,CAAA,EAAA,OAAA,EAAA,CAGrB,YAAY;;QAEZ,eAAe;QACf,aAAa;QACb,gBAAgB;;AAEhB,QAAA,qBAAqB,aAGrB,qBAAqB,CAAA,EAAA,CAAA,CAAA,EAAA,GAAA;;ACvBzB;;AAEG;;;;"}
|
|
@@ -17,10 +17,10 @@ CardInputSectionOrganism.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: Ca
|
|
|
17
17
|
i0.ɵɵelement(0, "molecules-text-input-field", 0);
|
|
18
18
|
} if (rf & 2) {
|
|
19
19
|
i0.ɵɵproperty("control", ctx.control)("label", ctx.label)("placeholder", ctx.placeholder);
|
|
20
|
-
} }, directives: [i1.TextInputFieldMolecule], styles: ["[_nghost-%COMP%]{--horizontal-padding: 16px;--horizontal-padding-SCOPED-IN-text-input-section-
|
|
20
|
+
} }, directives: [i1.TextInputFieldMolecule], styles: ["[_nghost-%COMP%]{--horizontal-padding: 16px;--horizontal-padding-SCOPED-IN-text-input-section-s4B2: var(--horizontal-padding)}[_nghost-%COMP%]{display:block;width:100%;padding:0 var(--horizontal-padding-SCOPED-IN-text-input-section-s4B2);box-sizing:border-box}[_nghost-%COMP%] .molecule.input-field[_ngcontent-%COMP%], [_nghost-%COMP%] mat-form-field[_ngcontent-%COMP%]{width:100%}"], changeDetection: 0 });
|
|
21
21
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CardInputSectionOrganism, [{
|
|
22
22
|
type: Component,
|
|
23
|
-
args: [{ selector: 'organisms-card-input-section', changeDetection: ChangeDetectionStrategy.OnPush, template: "<molecules-text-input-field\n type=\"text\"\n name=\"cardNumber\"\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-
|
|
23
|
+
args: [{ selector: 'organisms-card-input-section', changeDetection: ChangeDetectionStrategy.OnPush, template: "<molecules-text-input-field\n type=\"text\"\n name=\"cardNumber\"\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-s4B2: var(--horizontal-padding)}:host{display:block;width:100%;padding:0 var(--horizontal-padding-SCOPED-IN-text-input-section-s4B2);box-sizing:border-box}:host .molecule.input-field,:host mat-form-field{width:100%}\n"] }]
|
|
24
24
|
}], null, { control: [{
|
|
25
25
|
type: Input
|
|
26
26
|
}], label: [{
|
|
@@ -31,10 +31,10 @@ CvcAndExpInputSectionOrganism.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ typ
|
|
|
31
31
|
i0.ɵɵproperty("control", ctx.form.get("expMonth"))("options", ctx.monthOptions);
|
|
32
32
|
i0.ɵɵadvance(1);
|
|
33
33
|
i0.ɵɵproperty("control", ctx.form.get("cvc"));
|
|
34
|
-
} }, directives: [i1.SelectInputFieldMolecule, i2.TextInputFieldMolecule], styles: ["[_nghost-%COMP%]{--horizontal-padding: 16px;--horizontal-padding-SCOPED-IN-text-input-section-
|
|
34
|
+
} }, directives: [i1.SelectInputFieldMolecule, i2.TextInputFieldMolecule], styles: ["[_nghost-%COMP%]{--horizontal-padding: 16px;--horizontal-padding-SCOPED-IN-text-input-section-xBmg: var(--horizontal-padding)}[_nghost-%COMP%]{display:flex;width:100%;padding:0 var(--horizontal-padding-SCOPED-IN-text-input-section-xBmg);box-sizing:border-box}[_nghost-%COMP%] .field[_ngcontent-%COMP%]:not(:first-child){margin-left:8px}[_nghost-%COMP%] .year.field[_ngcontent-%COMP%], [_nghost-%COMP%] .month.field[_ngcontent-%COMP%]{width:auto}[_nghost-%COMP%] .cvc.field[_ngcontent-%COMP%]{width:100px}"], changeDetection: 0 });
|
|
35
35
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CvcAndExpInputSectionOrganism, [{
|
|
36
36
|
type: Component,
|
|
37
|
-
args: [{ selector: 'organisms-cvc-and-exp-input-section', changeDetection: ChangeDetectionStrategy.OnPush, template: "<molecules-select-input-field\n class=\"year field\"\n label=\"\u6709\u52B9\u671F\u9650(\u5E74)\"\n [control]=\"form.get('expYear')\"\n [options]=\"yearOptions\"\n></molecules-select-input-field>\n<molecules-select-input-field\n class=\"month field\"\n label=\"\u6709\u52B9\u671F\u9650(\u6708)\"\n [control]=\"form.get('expMonth')\"\n [options]=\"monthOptions\"\n></molecules-select-input-field>\n<molecules-text-input-field\n class=\"cvc field\"\n type=\"text\"\n name=\"cardNumber\"\n label=\"CVC\"\n placeholder=\"4\u6841\u306E\u756A\u53F7\"\n [control]=\"form.get('cvc')\"\n></molecules-text-input-field>", styles: [":host{--horizontal-padding: 16px;--horizontal-padding-SCOPED-IN-text-input-section-
|
|
37
|
+
args: [{ selector: 'organisms-cvc-and-exp-input-section', changeDetection: ChangeDetectionStrategy.OnPush, template: "<molecules-select-input-field\n class=\"year field\"\n label=\"\u6709\u52B9\u671F\u9650(\u5E74)\"\n [control]=\"form.get('expYear')\"\n [options]=\"yearOptions\"\n></molecules-select-input-field>\n<molecules-select-input-field\n class=\"month field\"\n label=\"\u6709\u52B9\u671F\u9650(\u6708)\"\n [control]=\"form.get('expMonth')\"\n [options]=\"monthOptions\"\n></molecules-select-input-field>\n<molecules-text-input-field\n class=\"cvc field\"\n type=\"text\"\n name=\"cardNumber\"\n label=\"CVC\"\n placeholder=\"4\u6841\u306E\u756A\u53F7\"\n [control]=\"form.get('cvc')\"\n></molecules-text-input-field>", styles: [":host{--horizontal-padding: 16px;--horizontal-padding-SCOPED-IN-text-input-section-xBmg: var(--horizontal-padding)}:host{display:flex;width:100%;padding:0 var(--horizontal-padding-SCOPED-IN-text-input-section-xBmg);box-sizing:border-box}:host .field:not(:first-child){margin-left:8px}:host .year.field,:host .month.field{width:auto}:host .cvc.field{width:100px}\n"] }]
|
|
38
38
|
}], null, { form: [{
|
|
39
39
|
type: Input
|
|
40
40
|
}] }); })();
|
|
@@ -17,10 +17,10 @@ DateInputSectionOrganism.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: Da
|
|
|
17
17
|
i0.ɵɵelement(0, "molecules-date-input-field", 0);
|
|
18
18
|
} if (rf & 2) {
|
|
19
19
|
i0.ɵɵproperty("control", ctx.control)("label", ctx.label)("placeholder", ctx.placeholder);
|
|
20
|
-
} }, directives: [i1.DateInputFieldMolecule], styles: ["[_nghost-%COMP%]{--horizontal-padding: 16px;--horizontal-padding-SCOPED-IN-date-input-section-
|
|
20
|
+
} }, directives: [i1.DateInputFieldMolecule], styles: ["[_nghost-%COMP%]{--horizontal-padding: 16px;--horizontal-padding-SCOPED-IN-date-input-section-wlPp: var(--horizontal-padding)}[_nghost-%COMP%]{display:block;width:100%;padding:0 var(--horizontal-padding-SCOPED-IN-date-input-section-wlPp);box-sizing:border-box}[_nghost-%COMP%] mat-form-field[_ngcontent-%COMP%]{width:100%}"], changeDetection: 0 });
|
|
21
21
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(DateInputSectionOrganism, [{
|
|
22
22
|
type: Component,
|
|
23
|
-
args: [{ selector: 'organisms-date-input-section', changeDetection: ChangeDetectionStrategy.OnPush, host: { class: 'organism section' }, template: "<molecules-date-input-field\n [control]=\"control\"\n [label]=\"label\"\n [placeholder]=\"placeholder\"\n></molecules-date-input-field>", styles: [":host{--horizontal-padding: 16px;--horizontal-padding-SCOPED-IN-date-input-section-
|
|
23
|
+
args: [{ selector: 'organisms-date-input-section', changeDetection: ChangeDetectionStrategy.OnPush, host: { class: 'organism section' }, template: "<molecules-date-input-field\n [control]=\"control\"\n [label]=\"label\"\n [placeholder]=\"placeholder\"\n></molecules-date-input-field>", styles: [":host{--horizontal-padding: 16px;--horizontal-padding-SCOPED-IN-date-input-section-wlPp: var(--horizontal-padding)}:host{display:block;width:100%;padding:0 var(--horizontal-padding-SCOPED-IN-date-input-section-wlPp);box-sizing:border-box}:host mat-form-field{width:100%}\n"] }]
|
|
24
24
|
}], null, { control: [{
|
|
25
25
|
type: Input
|
|
26
26
|
}], label: [{
|
|
@@ -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
|
-
} }, directives: [i1.NgSwitch, i1.NgSwitchDefault, i1.NgTemplateOutlet, i1.NgSwitchCase], styles: ["[_nghost-%COMP%]{--horizontal-padding: 16px;--horizontal-padding-SCOPED-IN-heading-
|
|
118
|
+
} }, directives: [i1.NgSwitch, i1.NgSwitchDefault, i1.NgTemplateOutlet, i1.NgSwitchCase], styles: ["[_nghost-%COMP%]{--horizontal-padding: 16px;--horizontal-padding-SCOPED-IN-heading-yV99: var(--horizontal-padding)}[_nghost-%COMP%]{display:block;width:100%;box-sizing:border-box;padding:0 var(--horizontal-padding-SCOPED-IN-heading-yV99)}"], 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-yV99: var(--horizontal-padding)}:host{display:block;width:100%;box-sizing:border-box;padding:0 var(--horizontal-padding-SCOPED-IN-heading-yV99)}\n"] }]
|
|
122
122
|
}], null, { level: [{
|
|
123
123
|
type: Input
|
|
124
124
|
}] }); })();
|
|
@@ -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
|
-
} }, directives: [i1.MatSelectionList, i2.NgForOf, i3.NavigationListItemMolecule], styles: ["[_nghost-%COMP%]{--primary-color: #3f51b5;--primary-color-SCOPED-IN-navigation-list-
|
|
34
|
+
} }, directives: [i1.MatSelectionList, i2.NgForOf, i3.NavigationListItemMolecule], styles: ["[_nghost-%COMP%]{--primary-color: #3f51b5;--primary-color-SCOPED-IN-navigation-list-2wQg: var(--primary-color);--secondary-color: #3f51b5;--secondary-color-SCOPED-IN-navigation-list-2wQg: var(--secondary-color);--color: white;--color-SCOPED-IN-navigation-list-2wQg: var(--color)}[_nghost-%COMP%]{display:block;width:100%;height:100%;background:var(--primary-color-SCOPED-IN-navigation-list-2wQg);color:var(--color-SCOPED-IN-navigation-list-2wQg);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-2wQg);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.id)\"\n ></molecules-navigation-list-item>\n</mat-selection-list>", styles: [":host{--primary-color: #3f51b5;--primary-color-SCOPED-IN-navigation-list-
|
|
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.id)\"\n ></molecules-navigation-list-item>\n</mat-selection-list>", styles: [":host{--primary-color: #3f51b5;--primary-color-SCOPED-IN-navigation-list-2wQg: var(--primary-color);--secondary-color: #3f51b5;--secondary-color-SCOPED-IN-navigation-list-2wQg: var(--secondary-color);--color: white;--color-SCOPED-IN-navigation-list-2wQg: var(--color)}:host{display:block;width:100%;height:100%;background:var(--primary-color-SCOPED-IN-navigation-list-2wQg);color:var(--color-SCOPED-IN-navigation-list-2wQg);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-2wQg);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: [{
|
|
@@ -4,66 +4,61 @@ import * as i1 from '@angular/material/toolbar';
|
|
|
4
4
|
import { MatToolbarModule } from '@angular/material/toolbar';
|
|
5
5
|
import * as i2 from '@angular/common';
|
|
6
6
|
import { CommonModule } from '@angular/common';
|
|
7
|
-
import * as i3 from '@
|
|
7
|
+
import * as i3 from '@ng-atomic/components/atoms/smart-menu-button';
|
|
8
|
+
import { SmartMenuButtonModule } from '@ng-atomic/components/atoms/smart-menu-button';
|
|
8
9
|
import { MatButtonModule } from '@angular/material/button';
|
|
9
|
-
import * as i4 from '@angular/material/icon';
|
|
10
10
|
import { MatIconModule } from '@angular/material/icon';
|
|
11
|
-
import * as i5 from '@ng-atomic/components/atoms/smart-menu-button';
|
|
12
|
-
import { SmartMenuButtonModule } from '@ng-atomic/components/atoms/smart-menu-button';
|
|
13
11
|
|
|
14
|
-
function
|
|
15
|
-
const
|
|
16
|
-
i0.ɵɵelementStart(0, "button",
|
|
17
|
-
i0.ɵɵlistener("
|
|
18
|
-
i0.ɵɵ
|
|
19
|
-
|
|
20
|
-
i0.ɵɵ
|
|
12
|
+
function NavigatorOrganism_atoms_smart_menu_button_2_Template(rf, ctx) { if (rf & 1) {
|
|
13
|
+
const _r3 = i0.ɵɵgetCurrentView();
|
|
14
|
+
i0.ɵɵelementStart(0, "atoms-smart-menu-button", 2);
|
|
15
|
+
i0.ɵɵlistener("action", function NavigatorOrganism_atoms_smart_menu_button_2_Template_atoms_smart_menu_button_action_0_listener($event) { i0.ɵɵrestoreView(_r3); const ctx_r2 = i0.ɵɵnextContext(); return ctx_r2.action.emit($event); });
|
|
16
|
+
i0.ɵɵelementEnd();
|
|
17
|
+
} if (rf & 2) {
|
|
18
|
+
const ctx_r0 = i0.ɵɵnextContext();
|
|
19
|
+
i0.ɵɵproperty("items", ctx_r0.leftItems);
|
|
21
20
|
} }
|
|
21
|
+
function NavigatorOrganism_atoms_smart_menu_button_5_Template(rf, ctx) { if (rf & 1) {
|
|
22
|
+
const _r5 = i0.ɵɵgetCurrentView();
|
|
23
|
+
i0.ɵɵelementStart(0, "atoms-smart-menu-button", 2);
|
|
24
|
+
i0.ɵɵlistener("action", function NavigatorOrganism_atoms_smart_menu_button_5_Template_atoms_smart_menu_button_action_0_listener($event) { i0.ɵɵrestoreView(_r5); const ctx_r4 = i0.ɵɵnextContext(); return ctx_r4.action.emit($event); });
|
|
25
|
+
i0.ɵɵelementEnd();
|
|
26
|
+
} if (rf & 2) {
|
|
27
|
+
const ctx_r1 = i0.ɵɵnextContext();
|
|
28
|
+
i0.ɵɵproperty("items", ctx_r1.rightItems);
|
|
29
|
+
} }
|
|
30
|
+
const _c0 = ["*"];
|
|
22
31
|
class NavigatorOrganism {
|
|
23
32
|
constructor() {
|
|
24
|
-
this.
|
|
25
|
-
this.
|
|
26
|
-
this.
|
|
27
|
-
this.actionItemClick = new EventEmitter();
|
|
33
|
+
this.rightItems = [];
|
|
34
|
+
this.leftItems = [];
|
|
35
|
+
this.action = new EventEmitter();
|
|
28
36
|
}
|
|
29
37
|
}
|
|
30
38
|
NavigatorOrganism.ɵfac = function NavigatorOrganism_Factory(t) { return new (t || NavigatorOrganism)(); };
|
|
31
|
-
NavigatorOrganism.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: NavigatorOrganism, selectors: [["organisms-navigator"]], inputs: {
|
|
39
|
+
NavigatorOrganism.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: NavigatorOrganism, selectors: [["organisms-navigator"]], inputs: { rightItems: "rightItems", leftItems: "leftItems" }, 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
|
+
i0.ɵɵprojectionDef();
|
|
32
41
|
i0.ɵɵelementStart(0, "mat-toolbar", 0)(1, "div");
|
|
33
|
-
i0.ɵɵtemplate(2,
|
|
34
|
-
i0.ɵɵ
|
|
35
|
-
i0.ɵɵtext(5);
|
|
42
|
+
i0.ɵɵtemplate(2, NavigatorOrganism_atoms_smart_menu_button_2_Template, 1, 1, "atoms-smart-menu-button", 1);
|
|
43
|
+
i0.ɵɵprojection(3);
|
|
36
44
|
i0.ɵɵelementEnd();
|
|
37
|
-
i0.ɵɵelementStart(
|
|
38
|
-
i0.ɵɵ
|
|
39
|
-
i0.ɵɵelementEnd()()
|
|
40
|
-
i0.ɵɵelementStart(8, "div")(9, "atoms-smart-menu-button", 5);
|
|
41
|
-
i0.ɵɵlistener("actionItemClick", function NavigatorOrganism_Template_atoms_smart_menu_button_actionItemClick_9_listener($event) { return ctx.actionItemClick.emit($event); });
|
|
42
|
-
i0.ɵɵelementEnd()()();
|
|
45
|
+
i0.ɵɵelementStart(4, "div");
|
|
46
|
+
i0.ɵɵtemplate(5, NavigatorOrganism_atoms_smart_menu_button_5_Template, 1, 1, "atoms-smart-menu-button", 1);
|
|
47
|
+
i0.ɵɵelementEnd()();
|
|
43
48
|
} if (rf & 2) {
|
|
44
49
|
i0.ɵɵadvance(2);
|
|
45
|
-
i0.ɵɵproperty("ngIf", ctx.
|
|
50
|
+
i0.ɵɵproperty("ngIf", ctx.leftItems.length);
|
|
46
51
|
i0.ɵɵadvance(3);
|
|
47
|
-
i0.ɵɵ
|
|
48
|
-
|
|
49
|
-
i0.ɵɵtextInterpolate(ctx.description || "");
|
|
50
|
-
i0.ɵɵadvance(2);
|
|
51
|
-
i0.ɵɵproperty("actionItems", ctx.actionItems);
|
|
52
|
-
} }, directives: [i1.MatToolbar, i2.NgIf, i3.MatButton, i4.MatIcon, i5.SmartMenuButtonAtom], styles: ["[_nghost-%COMP%]{--height: 64px;--height-SCOPED-IN-navigator-rfcI: var(--height)}[_nghost-%COMP%]{display:block;width:100%;height:var(--height-SCOPED-IN-navigator-rfcI)}[_nghost-%COMP%] div.text[_ngcontent-%COMP%]{display:flex;flex-direction:row;justify-content:center;align-items:flex-end}[_nghost-%COMP%] div.text[_ngcontent-%COMP%] .description[_ngcontent-%COMP%]{line-height:1em;font-size:12px;margin-bottom:8px;margin-left:4px}[_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 });
|
|
52
|
+
i0.ɵɵproperty("ngIf", ctx.rightItems.length);
|
|
53
|
+
} }, directives: [i1.MatToolbar, i2.NgIf, i3.SmartMenuButtonAtom], styles: ["[_nghost-%COMP%]{--height: 64px;--height-SCOPED-IN-navigator-e5uk: var(--height)}[_nghost-%COMP%]{display:block;width:100%;height:var(--height-SCOPED-IN-navigator-e5uk)}[_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 });
|
|
53
54
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(NavigatorOrganism, [{
|
|
54
55
|
type: Component,
|
|
55
|
-
args: [{ selector: 'organisms-navigator', changeDetection: ChangeDetectionStrategy.OnPush, template: "<mat-toolbar color=\"primary\">\n <div>\n <
|
|
56
|
-
}], null, {
|
|
57
|
-
type: Input
|
|
58
|
-
}], title: [{
|
|
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-e5uk: var(--height)}:host{display:block;width:100%;height:var(--height-SCOPED-IN-navigator-e5uk)}: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, { rightItems: [{
|
|
59
58
|
type: Input
|
|
60
|
-
}],
|
|
59
|
+
}], leftItems: [{
|
|
61
60
|
type: Input
|
|
62
|
-
}],
|
|
63
|
-
type: Input
|
|
64
|
-
}], backButtonClick: [{
|
|
65
|
-
type: Output
|
|
66
|
-
}], actionItemClick: [{
|
|
61
|
+
}], action: [{
|
|
67
62
|
type: Output
|
|
68
63
|
}] }); })();
|
|
69
64
|
|
|
@@ -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 <
|
|
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=\"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","import { ChangeDetectionStrategy, Component, EventEmitter, Input, Output } from '@angular/core';\nimport { Action, ActionItem } 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 rightItems: ActionItem[] = [];\n\n @Input()\n leftItems: ActionItem[] = [];\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;AADC,IAAA,EAAA,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,OAAU,0BAAmB,CAAC,EAAA,CAAA,CAAA;IAC/B,EAA0B,CAAA,YAAA,EAAA,CAAA;;;IAFzB,EAAmB,CAAA,UAAA,CAAA,OAAA,EAAA,MAAA,CAAA,SAAA,CAAA,CAAA;;;;IAMrB,EAIC,CAAA,cAAA,CAAA,CAAA,EAAA,yBAAA,EAAA,CAAA,CAAA,CAAA;AADC,IAAA,EAAA,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,OAAU,0BAAmB,CAAC,EAAA,CAAA,CAAA;IAC/B,EAA0B,CAAA,YAAA,EAAA,CAAA;;;IAFzB,EAAoB,CAAA,U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,aAAA,CAAA;;wFACY,eAAe,EAAA,EAAA,YAAA,EAAA,CAZX,iBAAiB,CAAA,EAAA,OAAA,EAAA,CAE9B,YAAY;;QAEZ,eAAe;QACf,aAAa;QACb,gBAAgB;;AAEhB,QAAA,qBAAqB,aAEb,iBAAiB,CAAA,EAAA,CAAA,CAAA,EAAA,GAAA;;ACtB7B;;AAEG;;;;"}
|
|
@@ -18,7 +18,7 @@ class PaginatorOrganism {
|
|
|
18
18
|
}
|
|
19
19
|
}
|
|
20
20
|
PaginatorOrganism.ɵfac = function PaginatorOrganism_Factory(t) { return new (t || PaginatorOrganism)(); };
|
|
21
|
-
PaginatorOrganism.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PaginatorOrganism, selectors: [["organisms-paginator"]], hostAttrs: [1, "organism"], inputs: { control: "control", placeholder: "placeholder", page: "page", pageSizeOptions: "pageSizeOptions" }, outputs: { pageChange: "pageChange" }, decls: 3, vars:
|
|
21
|
+
PaginatorOrganism.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PaginatorOrganism, selectors: [["organisms-paginator"]], hostAttrs: [1, "organism"], inputs: { control: "control", placeholder: "placeholder", page: "page", pageSizeOptions: "pageSizeOptions" }, outputs: { pageChange: "pageChange" }, decls: 3, vars: 9, consts: [["horizontal", ""], [3, "appearance", "control", "floatLabel", "label", "hint", "placeholder"], ["aria-label", "Select page", 3, "length", "pageSize", "pageSizeOptions", "page"]], template: function PaginatorOrganism_Template(rf, ctx) { if (rf & 1) {
|
|
22
22
|
i0.ɵɵelementStart(0, "frames-auto-layout", 0);
|
|
23
23
|
i0.ɵɵelement(1, "molecules-chips-input-field", 1);
|
|
24
24
|
i0.ɵɵelementStart(2, "mat-paginator", 2);
|
|
@@ -26,13 +26,13 @@ PaginatorOrganism.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: Paginator
|
|
|
26
26
|
i0.ɵɵelementEnd()();
|
|
27
27
|
} if (rf & 2) {
|
|
28
28
|
i0.ɵɵadvance(1);
|
|
29
|
-
i0.ɵɵproperty("control", ctx.control)("
|
|
29
|
+
i0.ɵɵproperty("appearance", "legacy")("control", ctx.control)("floatLabel", "always")("label", "")("hint", "")("placeholder", ctx.placeholder);
|
|
30
30
|
i0.ɵɵadvance(1);
|
|
31
31
|
i0.ɵɵproperty("length", ctx.page.length)("pageSize", ctx.page.pageSize)("pageSizeOptions", ctx.pageSizeOptions);
|
|
32
|
-
} }, directives: [i1.AutoLayoutFrame, i2.ChipsInputFieldMolecule, i3.MatPaginator], styles: ["[_nghost-%COMP%] frames-auto-layout[_ngcontent-%COMP%]{--vertical-padding: 0;justify-content:space-between}[_nghost-%COMP%] frames-auto-layout[_ngcontent-%COMP%] molecules-chips-input-field[_ngcontent-%COMP%]{width:100%}[_nghost-%COMP%] frames-auto-layout[_ngcontent-%COMP%] mat-paginator[_ngcontent-%COMP%]{min-width:
|
|
32
|
+
} }, directives: [i1.AutoLayoutFrame, i2.ChipsInputFieldMolecule, i3.MatPaginator], styles: ["[_nghost-%COMP%] frames-auto-layout[_ngcontent-%COMP%]{--vertical-padding: 0;justify-content:space-between}[_nghost-%COMP%] frames-auto-layout[_ngcontent-%COMP%] molecules-chips-input-field[_ngcontent-%COMP%]{width:100%}[_nghost-%COMP%] frames-auto-layout[_ngcontent-%COMP%] mat-paginator[_ngcontent-%COMP%]{min-width:440px}"], changeDetection: 0 });
|
|
33
33
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PaginatorOrganism, [{
|
|
34
34
|
type: Component,
|
|
35
|
-
args: [{ selector: 'organisms-paginator', changeDetection: ChangeDetectionStrategy.OnPush, host: { class: 'organism' }, template: "<frames-auto-layout horizontal>\n <molecules-chips-input-field\n [control]=\"control\"\n [
|
|
35
|
+
args: [{ selector: 'organisms-paginator', changeDetection: ChangeDetectionStrategy.OnPush, host: { class: 'organism' }, template: "<frames-auto-layout horizontal>\n <molecules-chips-input-field\n [appearance]=\"'legacy'\"\n [control]=\"control\"\n [floatLabel]=\"'always'\"\n [label]=\"''\"\n [hint]=\"''\"\n [placeholder]=\"placeholder\"\n ></molecules-chips-input-field>\n <mat-paginator \n [length]=\"page.length\"\n [pageSize]=\"page.pageSize\"\n [pageSizeOptions]=\"pageSizeOptions\"\n (page)=\"pageChange.emit($event)\"\n aria-label=\"Select page\">\n </mat-paginator>\n</frames-auto-layout>\n", styles: [":host frames-auto-layout{--vertical-padding: 0;justify-content:space-between}:host frames-auto-layout molecules-chips-input-field{width:100%}:host frames-auto-layout mat-paginator{min-width:440px}\n"] }]
|
|
36
36
|
}], null, { control: [{
|
|
37
37
|
type: Input
|
|
38
38
|
}], placeholder: [{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ng-atomic-components-organisms-paginator.mjs","sources":["../../../../libs/components/src/organisms/paginator/paginator.organism.ts","../../../../libs/components/src/organisms/paginator/paginator.organism.html","../../../../libs/components/src/organisms/paginator/paginator.module.ts","../../../../libs/components/src/organisms/paginator/ng-atomic-components-organisms-paginator.ts"],"sourcesContent":["import { ChangeDetectionStrategy, Component, EventEmitter, Input, Output } from '@angular/core';\nimport { PageEvent } from '@angular/material/paginator';\nimport { FormControl } from '@ngneat/reactive-forms';\n\n@Component({\n selector: 'organisms-paginator',\n templateUrl: './paginator.organism.html',\n styleUrls: ['./paginator.organism.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n host: {class: 'organism'},\n})\nexport class PaginatorOrganism {\n\n @Input()\n control = new FormControl<string>('');\n\n @Input()\n placeholder = '';\n\n @Input()\n page!: PageEvent;\n\n @Input()\n pageSizeOptions: number[] = [5, 10, 25, 100];\n\n @Output()\n pageChange = new EventEmitter<PageEvent>();\n\n}\n","<frames-auto-layout horizontal>\n <molecules-chips-input-field\n [control]=\"control\"\n [
|
|
1
|
+
{"version":3,"file":"ng-atomic-components-organisms-paginator.mjs","sources":["../../../../libs/components/src/organisms/paginator/paginator.organism.ts","../../../../libs/components/src/organisms/paginator/paginator.organism.html","../../../../libs/components/src/organisms/paginator/paginator.module.ts","../../../../libs/components/src/organisms/paginator/ng-atomic-components-organisms-paginator.ts"],"sourcesContent":["import { ChangeDetectionStrategy, Component, EventEmitter, Input, Output } from '@angular/core';\nimport { PageEvent } from '@angular/material/paginator';\nimport { FormControl } from '@ngneat/reactive-forms';\n\n@Component({\n selector: 'organisms-paginator',\n templateUrl: './paginator.organism.html',\n styleUrls: ['./paginator.organism.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n host: {class: 'organism'},\n})\nexport class PaginatorOrganism {\n\n @Input()\n control = new FormControl<string>('');\n\n @Input()\n placeholder = '';\n\n @Input()\n page!: PageEvent;\n\n @Input()\n pageSizeOptions: number[] = [5, 10, 25, 100];\n\n @Output()\n pageChange = new EventEmitter<PageEvent>();\n\n}\n","<frames-auto-layout horizontal>\n <molecules-chips-input-field\n [appearance]=\"'legacy'\"\n [control]=\"control\"\n [floatLabel]=\"'always'\"\n [label]=\"''\"\n [hint]=\"''\"\n [placeholder]=\"placeholder\"\n ></molecules-chips-input-field>\n <mat-paginator \n [length]=\"page.length\"\n [pageSize]=\"page.pageSize\"\n [pageSizeOptions]=\"pageSizeOptions\"\n (page)=\"pageChange.emit($event)\"\n aria-label=\"Select page\">\n </mat-paginator>\n</frames-auto-layout>\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { MatPaginatorModule } from '@angular/material/paginator';\nimport { AutoLayoutModule } from '@ng-atomic/components/frames/auto-layout';\nimport { ChipsInputFieldModule } from '@ng-atomic/components/molecules/chips-input-field';\n\nimport { PaginatorOrganism } from './paginator.organism';\n\n@NgModule({\n declarations: [\n PaginatorOrganism\n ],\n imports: [\n CommonModule,\n // Materials\n MatPaginatorModule,\n // Frames\n AutoLayoutModule,\n // Molecules\n ChipsInputFieldModule,\n ],\n exports: [\n PaginatorOrganism\n ]\n})\nexport class PaginatorModule { }\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index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