@ng-atomic/components 5.3.0 → 5.4.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.module.d.ts +3 -3
- package/esm2020/atoms/icon/icon.atom.mjs +2 -2
- package/esm2020/atoms/smart-menu-button/smart-menu-button.atom.mjs +3 -3
- package/esm2020/atoms/smart-menu-button/smart-menu-button.module.mjs +3 -3
- 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/index.mjs +1 -2
- package/esm2020/frames/line-up/line-up.frame.mjs +8 -3
- 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.module.mjs +4 -4
- package/esm2020/molecules/actions-column/actions-column.molecule.mjs +3 -3
- package/esm2020/molecules/date-input-field/date-input-field.molecule.mjs +9 -10
- package/esm2020/molecules/navigation-list-item/navigation-list-item.molecule.mjs +4 -4
- package/esm2020/molecules/select-input-field/select-input-field.module.mjs +2 -2
- package/esm2020/molecules/select-input-field/select-input-field.molecule.mjs +5 -5
- package/esm2020/molecules/smart-column/smart-column.module.mjs +4 -4
- package/esm2020/molecules/smart-column/smart-column.molecule.mjs +3 -3
- package/esm2020/molecules/text-input-field/text-input-field.module.mjs +3 -2
- package/esm2020/molecules/text-input-field/text-input-field.molecule.mjs +5 -5
- package/esm2020/molecules/textarea-field/index.mjs +3 -3
- package/esm2020/molecules/textarea-field/textarea-field.module.mjs +6 -2
- package/esm2020/molecules/textarea-field/textarea-field.molecule.mjs +27 -6
- package/esm2020/organisms/action-buttons-section/action-buttons-section.organism.mjs +3 -3
- package/esm2020/organisms/back-navigator/back-navigator.organism.mjs +3 -3
- 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 +5 -5
- 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-list/smart-list.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 +2 -2
- package/esm2020/organisms/textarea-section/textarea-section.organism.mjs +14 -4
- package/esm2020/organisms/top-navigator/top-navigator.organism.mjs +3 -3
- package/esm2020/templates/entrance/entrance.template.mjs +2 -2
- package/esm2020/templates/menu/menu.template.mjs +5 -5
- package/esm2020/templates/smart-crud/index.mjs +1 -2
- package/esm2020/templates/smart-crud/smart-crud.template.mjs +67 -14
- package/esm2020/templates/smart-index/index.mjs +1 -2
- package/esm2020/templates/smart-index/smart-index.template.mjs +29 -3
- package/fesm2015/ng-atomic-components-atoms-icon.mjs +2 -2
- package/fesm2015/ng-atomic-components-atoms-smart-menu-button.mjs +11 -11
- 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 +9 -25
- package/fesm2015/ng-atomic-components-frames-line-up.mjs.map +1 -1
- 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 +14 -14
- package/fesm2015/ng-atomic-components-molecules-actions-column.mjs.map +1 -1
- package/fesm2015/ng-atomic-components-molecules-date-input-field.mjs +8 -9
- package/fesm2015/ng-atomic-components-molecules-date-input-field.mjs.map +1 -1
- package/fesm2015/ng-atomic-components-molecules-navigation-list-item.mjs +3 -3
- package/fesm2015/ng-atomic-components-molecules-navigation-list-item.mjs.map +1 -1
- package/fesm2015/ng-atomic-components-molecules-select-input-field.mjs +9 -9
- package/fesm2015/ng-atomic-components-molecules-select-input-field.mjs.map +1 -1
- package/fesm2015/ng-atomic-components-molecules-smart-column.mjs +16 -15
- package/fesm2015/ng-atomic-components-molecules-smart-column.mjs.map +1 -1
- package/fesm2015/ng-atomic-components-molecules-text-input-field.mjs +8 -8
- package/fesm2015/ng-atomic-components-molecules-text-input-field.mjs.map +1 -1
- package/fesm2015/ng-atomic-components-molecules-textarea-field.mjs +34 -10
- package/fesm2015/ng-atomic-components-molecules-textarea-field.mjs.map +1 -1
- package/fesm2015/ng-atomic-components-organisms-action-buttons-section.mjs +2 -2
- 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-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 +4 -4
- 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-list.mjs +2 -1
- package/fesm2015/ng-atomic-components-organisms-smart-list.mjs.map +1 -1
- 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 +2 -2
- package/fesm2015/ng-atomic-components-organisms-textarea-section.mjs +13 -3
- package/fesm2015/ng-atomic-components-organisms-textarea-section.mjs.map +1 -1
- package/fesm2015/ng-atomic-components-organisms-top-navigator.mjs +2 -2
- package/fesm2015/ng-atomic-components-organisms-top-navigator.mjs.map +1 -1
- package/fesm2015/ng-atomic-components-templates-entrance.mjs +2 -2
- package/fesm2015/ng-atomic-components-templates-menu.mjs +4 -4
- package/fesm2015/ng-atomic-components-templates-menu.mjs.map +1 -1
- package/fesm2015/ng-atomic-components-templates-smart-crud.mjs +53 -79
- package/fesm2015/ng-atomic-components-templates-smart-crud.mjs.map +1 -1
- package/fesm2015/ng-atomic-components-templates-smart-index.mjs +22 -54
- 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 +11 -11
- 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 +9 -25
- package/fesm2020/ng-atomic-components-frames-line-up.mjs.map +1 -1
- 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 +14 -14
- package/fesm2020/ng-atomic-components-molecules-actions-column.mjs.map +1 -1
- package/fesm2020/ng-atomic-components-molecules-date-input-field.mjs +8 -9
- package/fesm2020/ng-atomic-components-molecules-date-input-field.mjs.map +1 -1
- package/fesm2020/ng-atomic-components-molecules-navigation-list-item.mjs +3 -3
- package/fesm2020/ng-atomic-components-molecules-navigation-list-item.mjs.map +1 -1
- package/fesm2020/ng-atomic-components-molecules-select-input-field.mjs +9 -9
- package/fesm2020/ng-atomic-components-molecules-select-input-field.mjs.map +1 -1
- package/fesm2020/ng-atomic-components-molecules-smart-column.mjs +16 -15
- package/fesm2020/ng-atomic-components-molecules-smart-column.mjs.map +1 -1
- package/fesm2020/ng-atomic-components-molecules-text-input-field.mjs +8 -8
- package/fesm2020/ng-atomic-components-molecules-text-input-field.mjs.map +1 -1
- package/fesm2020/ng-atomic-components-molecules-textarea-field.mjs +34 -10
- package/fesm2020/ng-atomic-components-molecules-textarea-field.mjs.map +1 -1
- package/fesm2020/ng-atomic-components-organisms-action-buttons-section.mjs +2 -2
- 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-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 +4 -4
- 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-list.mjs +1 -1
- package/fesm2020/ng-atomic-components-organisms-smart-list.mjs.map +1 -1
- 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 +2 -2
- package/fesm2020/ng-atomic-components-organisms-textarea-section.mjs +13 -3
- package/fesm2020/ng-atomic-components-organisms-textarea-section.mjs.map +1 -1
- package/fesm2020/ng-atomic-components-organisms-top-navigator.mjs +2 -2
- package/fesm2020/ng-atomic-components-organisms-top-navigator.mjs.map +1 -1
- package/fesm2020/ng-atomic-components-templates-entrance.mjs +2 -2
- package/fesm2020/ng-atomic-components-templates-menu.mjs +4 -4
- package/fesm2020/ng-atomic-components-templates-menu.mjs.map +1 -1
- package/fesm2020/ng-atomic-components-templates-smart-crud.mjs +53 -79
- package/fesm2020/ng-atomic-components-templates-smart-crud.mjs.map +1 -1
- package/fesm2020/ng-atomic-components-templates-smart-index.mjs +23 -55
- package/fesm2020/ng-atomic-components-templates-smart-index.mjs.map +1 -1
- package/frames/line-up/index.d.ts +0 -1
- package/frames/line-up/line-up.frame.d.ts +1 -1
- package/molecules/actions-column/actions-column.module.d.ts +4 -4
- package/molecules/actions-column/actions-column.molecule.d.ts +2 -2
- package/molecules/date-input-field/date-input-field.molecule.d.ts +2 -2
- package/molecules/navigation-list-item/navigation-list-item.molecule.d.ts +3 -3
- package/molecules/select-input-field/select-input-field.module.d.ts +2 -2
- package/molecules/smart-column/smart-column.module.d.ts +4 -4
- package/molecules/text-input-field/text-input-field.module.d.ts +2 -2
- package/molecules/textarea-field/index.d.ts +2 -2
- package/molecules/textarea-field/textarea-field.module.d.ts +3 -2
- package/molecules/textarea-field/textarea-field.molecule.d.ts +11 -1
- package/organisms/action-buttons-section/action-buttons-section.organism.d.ts +2 -2
- package/organisms/back-navigator/back-navigator.organism.d.ts +2 -2
- package/organisms/navigation-list/navigation-list.organism.d.ts +3 -3
- package/organisms/textarea-section/textarea-section.organism.d.ts +7 -1
- package/organisms/top-navigator/top-navigator.organism.d.ts +3 -3
- package/package.json +4 -4
- package/templates/menu/menu.template.d.ts +3 -3
- package/templates/smart-crud/index.d.ts +0 -1
- package/templates/smart-crud/smart-crud.template.d.ts +3 -2
- package/templates/smart-index/index.d.ts +0 -1
- package/templates/smart-index/smart-index.template.d.ts +1 -1
- package/esm2020/frames/line-up/line-up.module.mjs +0 -24
- package/esm2020/templates/smart-crud/smart-crud.module.mjs +0 -82
- package/esm2020/templates/smart-index/smart-index.module.mjs +0 -61
- package/frames/line-up/line-up.module.d.ts +0 -9
- package/templates/smart-crud/smart-crud.module.d.ts +0 -19
- package/templates/smart-index/smart-index.module.d.ts +0 -15
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ng-atomic-components-molecules-text-input-field.mjs","sources":["../../../../../packages/@ng-atomic/components/src/molecules/text-input-field/text-input-field.molecule.ts","../../../../../packages/@ng-atomic/components/src/molecules/text-input-field/text-input-field.molecule.html","../../../../../packages/@ng-atomic/components/src/molecules/text-input-field/text-input-field.module.ts","../../../../../packages/@ng-atomic/components/src/molecules/text-input-field/ng-atomic-components-molecules-text-input-field.ts"],"sourcesContent":["import { ChangeDetectionStrategy, Component, Input } from '@angular/core';\nimport { FormControl } from '@ngneat/reactive-forms';\n\n@Component({\n selector: 'molecules-text-input-field',\n templateUrl: './text-input-field.molecule.html',\n styleUrls: ['./text-input-field.molecule.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n host: {class: 'molecule field'},\n})\nexport class TextInputFieldMolecule {\n\n @Input()\n type: 'text' | 'number' | 'password' = 'text';\n\n @Input()\n name?: string;\n\n @Input()\n label = 'label';\n\n @Input()\n control = new FormControl<string | number>();\n\n @Input()\n placeholder = 'placeholder';\n\n @Input()\n hint?: string;\n\n}\n","<!-- ATTENTION(nontangent): <input matInput is not worked [type]=\"type\"> -->\n<ng-container [ngSwitch]=\"type\">\n <mat-form-field *ngSwitchDefault appearance=\"outline\">\n <mat-label>{{ label }}</mat-label>\n <input matInput [name]=\"name\" type=\"string\" [formControl]=\"control\" [placeholder]=\"placeholder\">\n
|
|
1
|
+
{"version":3,"file":"ng-atomic-components-molecules-text-input-field.mjs","sources":["../../../../../packages/@ng-atomic/components/src/molecules/text-input-field/text-input-field.molecule.ts","../../../../../packages/@ng-atomic/components/src/molecules/text-input-field/text-input-field.molecule.html","../../../../../packages/@ng-atomic/components/src/molecules/text-input-field/text-input-field.module.ts","../../../../../packages/@ng-atomic/components/src/molecules/text-input-field/ng-atomic-components-molecules-text-input-field.ts"],"sourcesContent":["import { ChangeDetectionStrategy, Component, Input } from '@angular/core';\nimport { FormControl } from '@ngneat/reactive-forms';\n\n@Component({\n selector: 'molecules-text-input-field',\n templateUrl: './text-input-field.molecule.html',\n styleUrls: ['./text-input-field.molecule.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n host: {class: 'molecule field'},\n})\nexport class TextInputFieldMolecule {\n\n @Input()\n type: 'text' | 'number' | 'password' = 'text';\n\n @Input()\n name?: string;\n\n @Input()\n label = 'label';\n\n @Input()\n control = new FormControl<string | number>();\n\n @Input()\n placeholder = 'placeholder';\n\n @Input()\n hint?: string;\n\n}\n","<!-- ATTENTION(nontangent): <input matInput is not worked [type]=\"type\"> -->\n\n<mat-form-field appearance=\"outline\">\n <mat-label>{{ label }}</mat-label>\n <input matInput [name]=\"name\" type=\"string\" [formControl]=\"control\" [placeholder]=\"placeholder\">\n <!-- <mat-icon matSuffix>sentiment_very_satisfied</mat-icon> -->\n <mat-hint *ngIf=\"hint\">{{ hint }}</mat-hint>\n</mat-form-field>\n\n<!-- <ng-container [ngSwitch]=\"type\">\n <mat-form-field *ngSwitchDefault appearance=\"outline\">\n <mat-label>{{ label }}</mat-label>\n <input matInput [name]=\"name\" type=\"string\" [formControl]=\"control\" [placeholder]=\"placeholder\">\n <mat-hint *ngIf=\"hint\">{{ hint }}</mat-hint>\n </mat-form-field>\n <mat-form-field *ngSwitchCase=\"'number'\" appearance=\"outline\">\n <mat-label>{{ label }}</mat-label>\n <input matInput [name]=\"name\" type=\"number\" [formControl]=\"control\" [placeholder]=\"placeholder\">\n <mat-hint *ngIf=\"hint\">{{ hint }}</mat-hint>\n </mat-form-field>\n <mat-form-field *ngSwitchCase=\"'password'\" appearance=\"outline\">\n <mat-label>{{ label }}</mat-label>\n <input matInput [name]=\"name\" type=\"password\" [formControl]=\"control\" [placeholder]=\"placeholder\">\n <mat-hint *ngIf=\"hint\">{{ hint }}</mat-hint>\n </mat-form-field>\n</ng-container> -->\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { ReactiveFormsModule } from '@angular/forms';\n// import { MatFormFieldModule } from '@angular/material/form-field';\n// import { MatLegacyInputModule as MatInputModule } from '@angular/material/legacy-input';\nimport { MatInputModule } from '@angular/material/input';\n\nimport { TextInputFieldMolecule } from './text-input-field.molecule';\n\n\n\n@NgModule({\n declarations: [TextInputFieldMolecule],\n imports: [\n CommonModule,\n ReactiveFormsModule,\n // Materials\n // MatFormFieldModule,\n MatInputModule,\n ],\n exports: [TextInputFieldMolecule],\n bootstrap: [TextInputFieldMolecule],\n})\nexport class TextInputFieldModule { }\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;MAUa,sBAAsB,CAAA;AAPnC,IAAA,WAAA,GAAA;QAUE,IAAI,CAAA,IAAA,GAAmC,MAAM,CAAC;QAM9C,IAAK,CAAA,KAAA,GAAG,OAAO,CAAC;AAGhB,QAAA,IAAA,CAAA,OAAO,GAAG,IAAI,WAAW,EAAmB,CAAC;QAG7C,IAAW,CAAA,WAAA,GAAG,aAAa,CAAC;AAK7B,KAAA;;mHApBY,sBAAsB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAAtB,sBAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,IAAA,EAAA,sBAAsB,oOCVnC,y0CA0BA,EAAA,MAAA,EAAA,CAAA,mEAAA,CAAA,EAAA,YAAA,EAAA,CAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAA,EAAA,CAAA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AAA;2FAKL,oBAAoB,EAAA,UAAA,EAAA,CAAA;kBAZhC,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACR,YAAY,EAAE,CAAC,sBAAsB,CAAC;AACtC,oBAAA,OAAO,EAAE;wBACP,YAAY;wBACZ,mBAAmB;;;wBAGnB,cAAc;AACf,qBAAA;oBACD,OAAO,EAAE,CAAC,sBAAsB,CAAC;oBACjC,SAAS,EAAE,CAAC,sBAAsB,CAAC;AACpC,iBAAA,CAAA;;;ACtBD;;AAEG;;;;"}
|
|
@@ -1,47 +1,71 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { Component, ChangeDetectionStrategy, Input, NgModule } from '@angular/core';
|
|
2
|
+
import { EventEmitter, Component, ChangeDetectionStrategy, Input, Output, NgModule } from '@angular/core';
|
|
3
|
+
import * as i2 from '@angular/forms';
|
|
4
|
+
import { FormControl, ReactiveFormsModule } from '@angular/forms';
|
|
3
5
|
import * as i1 from '@angular/common';
|
|
4
6
|
import { CommonModule } from '@angular/common';
|
|
5
|
-
import * as
|
|
6
|
-
import
|
|
7
|
-
import
|
|
7
|
+
import * as i3 from '@angular/material/input';
|
|
8
|
+
import { MatInputModule } from '@angular/material/input';
|
|
9
|
+
import * as i4 from '@angular/material/form-field';
|
|
8
10
|
|
|
11
|
+
var ActionId;
|
|
12
|
+
(function (ActionId) {
|
|
13
|
+
ActionId["CTRL_ENTER_KEY_UP"] = "Ctrl Enter Key Up";
|
|
14
|
+
})(ActionId || (ActionId = {}));
|
|
9
15
|
class TextareaFieldMolecule {
|
|
10
16
|
constructor() {
|
|
11
17
|
this.label = 'label';
|
|
12
18
|
this.placeholder = 'placeholder';
|
|
19
|
+
this.control = new FormControl('');
|
|
20
|
+
this.rows = 10;
|
|
21
|
+
this.action = new EventEmitter();
|
|
22
|
+
}
|
|
23
|
+
onKeyup($event) {
|
|
24
|
+
if ($event.ctrlKey && $event.key === 'Enter') {
|
|
25
|
+
this.action.emit({ id: ActionId.CTRL_ENTER_KEY_UP });
|
|
26
|
+
$event.preventDefault();
|
|
27
|
+
}
|
|
13
28
|
}
|
|
14
29
|
}
|
|
15
30
|
TextareaFieldMolecule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: TextareaFieldMolecule, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
16
|
-
TextareaFieldMolecule.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.3", type: TextareaFieldMolecule, selector: "molecules-textarea-field", inputs: { label: "label", hint: "hint", placeholder: "placeholder" }, host: { classAttribute: "molecule field" }, ngImport: i0, template: "<mat-form-field
|
|
31
|
+
TextareaFieldMolecule.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.3", type: TextareaFieldMolecule, selector: "molecules-textarea-field", inputs: { label: "label", hint: "hint", placeholder: "placeholder", control: "control", rows: "rows" }, outputs: { action: "action" }, host: { classAttribute: "molecule field" }, ngImport: i0, template: "<mat-form-field appearance=\"outline\">\n <mat-label>{{ label }}</mat-label>\n <textarea\n matInput\n [formControl]=\"control\"\n [placeholder]=\"placeholder\"\n (keyup)=\"onKeyup($event)\"\n [rows]=\"rows\"\n ></textarea>\n <mat-hint *ngIf=\"hint\">{{ hint }}</mat-hint>\n</mat-form-field>", styles: [":host{display:block;width:100%}:host mat-form-field{width:100%}\n"], dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "directive", type: i3.MatInput, selector: "input[matInput], textarea[matInput], select[matNativeControl], input[matNativeControl], textarea[matNativeControl]", inputs: ["disabled", "id", "placeholder", "name", "required", "type", "errorStateMatcher", "aria-describedby", "value", "readonly"], exportAs: ["matInput"] }, { kind: "component", type: i4.MatFormField, selector: "mat-form-field", inputs: ["hideRequiredMarker", "color", "floatLabel", "appearance", "subscriptSizing", "hintLabel"], exportAs: ["matFormField"] }, { kind: "directive", type: i4.MatLabel, selector: "mat-label" }, { kind: "directive", type: i4.MatHint, selector: "mat-hint", inputs: ["align", "id"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
17
32
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: TextareaFieldMolecule, decorators: [{
|
|
18
33
|
type: Component,
|
|
19
|
-
args: [{ selector: 'molecules-textarea-field', changeDetection: ChangeDetectionStrategy.OnPush, host: { class: 'molecule field' }, template: "<mat-form-field
|
|
34
|
+
args: [{ selector: 'molecules-textarea-field', changeDetection: ChangeDetectionStrategy.OnPush, host: { class: 'molecule field' }, template: "<mat-form-field appearance=\"outline\">\n <mat-label>{{ label }}</mat-label>\n <textarea\n matInput\n [formControl]=\"control\"\n [placeholder]=\"placeholder\"\n (keyup)=\"onKeyup($event)\"\n [rows]=\"rows\"\n ></textarea>\n <mat-hint *ngIf=\"hint\">{{ hint }}</mat-hint>\n</mat-form-field>", styles: [":host{display:block;width:100%}:host mat-form-field{width:100%}\n"] }]
|
|
20
35
|
}], propDecorators: { label: [{
|
|
21
36
|
type: Input
|
|
22
37
|
}], hint: [{
|
|
23
38
|
type: Input
|
|
24
39
|
}], placeholder: [{
|
|
25
40
|
type: Input
|
|
41
|
+
}], control: [{
|
|
42
|
+
type: Input
|
|
43
|
+
}], rows: [{
|
|
44
|
+
type: Input
|
|
45
|
+
}], action: [{
|
|
46
|
+
type: Output
|
|
26
47
|
}] } });
|
|
27
48
|
|
|
28
49
|
class TextareaFieldModule {
|
|
29
50
|
}
|
|
30
51
|
TextareaFieldModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: TextareaFieldModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
31
52
|
TextareaFieldModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.3", ngImport: i0, type: TextareaFieldModule, bootstrap: [TextareaFieldMolecule], declarations: [TextareaFieldMolecule], imports: [CommonModule,
|
|
53
|
+
ReactiveFormsModule,
|
|
32
54
|
// Material
|
|
33
|
-
|
|
55
|
+
MatInputModule], exports: [TextareaFieldMolecule] });
|
|
34
56
|
TextareaFieldModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: TextareaFieldModule, imports: [CommonModule,
|
|
57
|
+
ReactiveFormsModule,
|
|
35
58
|
// Material
|
|
36
|
-
|
|
59
|
+
MatInputModule] });
|
|
37
60
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: TextareaFieldModule, decorators: [{
|
|
38
61
|
type: NgModule,
|
|
39
62
|
args: [{
|
|
40
63
|
declarations: [TextareaFieldMolecule],
|
|
41
64
|
imports: [
|
|
42
65
|
CommonModule,
|
|
66
|
+
ReactiveFormsModule,
|
|
43
67
|
// Material
|
|
44
|
-
|
|
68
|
+
MatInputModule,
|
|
45
69
|
],
|
|
46
70
|
exports: [TextareaFieldMolecule],
|
|
47
71
|
bootstrap: [TextareaFieldMolecule],
|
|
@@ -52,5 +76,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImpor
|
|
|
52
76
|
* Generated bundle index. Do not edit.
|
|
53
77
|
*/
|
|
54
78
|
|
|
55
|
-
export { TextareaFieldModule, TextareaFieldMolecule };
|
|
79
|
+
export { ActionId, TextareaFieldModule, TextareaFieldMolecule };
|
|
56
80
|
//# sourceMappingURL=ng-atomic-components-molecules-textarea-field.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ng-atomic-components-molecules-textarea-field.mjs","sources":["../../../../../packages/@ng-atomic/components/src/molecules/textarea-field/textarea-field.molecule.ts","../../../../../packages/@ng-atomic/components/src/molecules/textarea-field/textarea-field.molecule.html","../../../../../packages/@ng-atomic/components/src/molecules/textarea-field/textarea-field.module.ts","../../../../../packages/@ng-atomic/components/src/molecules/textarea-field/ng-atomic-components-molecules-textarea-field.ts"],"sourcesContent":["import { ChangeDetectionStrategy, Component, Input } from '@angular/core';\n\n@Component({\n selector: 'molecules-textarea-field',\n templateUrl: './textarea-field.molecule.html',\n styleUrls: ['./textarea-field.molecule.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n host: {class: 'molecule field'},\n})\nexport class TextareaFieldMolecule {\n\n @Input()\n label = 'label';\n\n @Input()\n hint?: string;\n\n @Input()\n placeholder = 'placeholder';\n\n}\n","<mat-form-field
|
|
1
|
+
{"version":3,"file":"ng-atomic-components-molecules-textarea-field.mjs","sources":["../../../../../packages/@ng-atomic/components/src/molecules/textarea-field/textarea-field.molecule.ts","../../../../../packages/@ng-atomic/components/src/molecules/textarea-field/textarea-field.molecule.html","../../../../../packages/@ng-atomic/components/src/molecules/textarea-field/textarea-field.module.ts","../../../../../packages/@ng-atomic/components/src/molecules/textarea-field/ng-atomic-components-molecules-textarea-field.ts"],"sourcesContent":["import { ChangeDetectionStrategy, Component, Input, Output, EventEmitter } from '@angular/core';\nimport { FormControl } from '@angular/forms';\nimport { Action } from '@ng-atomic/common/models';\n\nexport enum ActionId {\n CTRL_ENTER_KEY_UP = 'Ctrl Enter Key Up',\n}\n\n@Component({\n selector: 'molecules-textarea-field',\n templateUrl: './textarea-field.molecule.html',\n styleUrls: ['./textarea-field.molecule.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n host: {class: 'molecule field'},\n})\nexport class TextareaFieldMolecule {\n\n @Input()\n label = 'label';\n\n @Input()\n hint?: string;\n\n @Input()\n placeholder = 'placeholder';\n\n @Input()\n control = new FormControl('');\n\n @Input()\n rows = 10;\n\n @Output()\n action = new EventEmitter<Action>();\n\n protected onKeyup($event) {\n if($event.ctrlKey && $event.key === 'Enter') {\n this.action.emit({id: ActionId.CTRL_ENTER_KEY_UP});\n $event.preventDefault();\n }\n }\n\n}\n","<mat-form-field appearance=\"outline\">\n <mat-label>{{ label }}</mat-label>\n <textarea\n matInput\n [formControl]=\"control\"\n [placeholder]=\"placeholder\"\n (keyup)=\"onKeyup($event)\"\n [rows]=\"rows\"\n ></textarea>\n <mat-hint *ngIf=\"hint\">{{ hint }}</mat-hint>\n</mat-form-field>","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { MatInputModule } from '@angular/material/input';\n\nimport { TextareaFieldMolecule } from './textarea-field.molecule';\nimport { ReactiveFormsModule } from '@angular/forms';\n\n@NgModule({\n declarations: [TextareaFieldMolecule],\n imports: [\n CommonModule,\n ReactiveFormsModule,\n // Material\n MatInputModule,\n ],\n exports: [TextareaFieldMolecule],\n bootstrap: [TextareaFieldMolecule],\n})\nexport class TextareaFieldModule { }\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;IAIY,SAEX;AAFD,CAAA,UAAY,QAAQ,EAAA;AAClB,IAAA,QAAA,CAAA,mBAAA,CAAA,GAAA,mBAAuC,CAAA;AACzC,CAAC,EAFW,QAAQ,KAAR,QAAQ,GAEnB,EAAA,CAAA,CAAA,CAAA;MASY,qBAAqB,CAAA;AAPlC,IAAA,WAAA,GAAA;QAUE,IAAK,CAAA,KAAA,GAAG,OAAO,CAAC;QAMhB,IAAW,CAAA,WAAA,GAAG,aAAa,CAAC;AAG5B,QAAA,IAAA,CAAA,OAAO,GAAG,IAAI,WAAW,CAAC,EAAE,CAAC,CAAC;QAG9B,IAAI,CAAA,IAAA,GAAG,EAAE,CAAC;A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KAAK;gBAIN,MAAM,EAAA,CAAA;sBADL,MAAM;;;MEdI,mBAAmB,CAAA;;gHAAnB,mBAAmB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA;AAAnB,mBAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,mBAAmB,EAFlB,SAAA,EAAA,CAAA,qBAAqB,CARlB,EAAA,YAAA,EAAA,CAAA,qBAAqB,aAElC,YAAY;QACZ,mBAAmB;;AAEnB,QAAA,cAAc,aAEN,qBAAqB,CAAA,EAAA,CAAA,CAAA;AAGpB,mBAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,mBAAmB,YAR5B,YAAY;QACZ,mBAAmB;;QAEnB,cAAc,CAAA,EAAA,CAAA,CAAA;2FAKL,mBAAmB,EAAA,UAAA,EAAA,CAAA;kBAX/B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACR,YAAY,EAAE,CAAC,qBAAqB,CAAC;AACrC,oBAAA,OAAO,EAAE;wBACP,YAAY;wBACZ,mBAAmB;;wBAEnB,cAAc;AACf,qBAAA;oBACD,OAAO,EAAE,CAAC,qBAAqB,CAAC;oBAChC,SAAS,EAAE,CAAC,qBAAqB,CAAC;AACnC,iBAAA,CAAA;;;ACjBD;;AAEG;;;;"}
|
|
@@ -13,10 +13,10 @@ class ActionButtonsSectionOrganism {
|
|
|
13
13
|
}
|
|
14
14
|
}
|
|
15
15
|
ActionButtonsSectionOrganism.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: ActionButtonsSectionOrganism, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
16
|
-
ActionButtonsSectionOrganism.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.3", type: ActionButtonsSectionOrganism, selector: "organisms-action-buttons-section", inputs: { actions: "actions" }, outputs: { action: "action" }, host: { classAttribute: "organism section" }, ngImport: i0, template: "<ng-container *ngFor=\"let _action of actions; trackBy: trackById\">\n <button mat-raised-button color=\"primary\" [disabled]=\"_action?.disabled\" (click)=\"action.emit(_action)\">{{ _action?.name }}</button>\n</ng-container>", styles: [":host{--horizontal-padding: 16px;--horizontal-padding-SCOPED-IN-action-buttons-section-
|
|
16
|
+
ActionButtonsSectionOrganism.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.3", type: ActionButtonsSectionOrganism, selector: "organisms-action-buttons-section", inputs: { actions: "actions" }, outputs: { action: "action" }, host: { classAttribute: "organism section" }, ngImport: i0, template: "<ng-container *ngFor=\"let _action of actions; trackBy: trackById\">\n <button mat-raised-button color=\"primary\" [disabled]=\"_action?.disabled\" (click)=\"action.emit(_action)\">{{ _action?.name }}</button>\n</ng-container>", styles: [":host{--horizontal-padding: 16px;--horizontal-padding-SCOPED-IN-action-buttons-section-z1NS: var(--horizontal-padding)}:host{display:flex;flex-direction:row;gap:8px;width:100%;padding:0 var(--horizontal-padding-SCOPED-IN-action-buttons-section-z1NS);box-sizing:border-box}:host button{width:100%;height:48px}\n"], dependencies: [{ kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "component", type: i2.MatLegacyButton, selector: "button[mat-button], button[mat-raised-button], button[mat-icon-button], button[mat-fab], button[mat-mini-fab], button[mat-stroked-button], button[mat-flat-button]", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
17
17
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: ActionButtonsSectionOrganism, decorators: [{
|
|
18
18
|
type: Component,
|
|
19
|
-
args: [{ selector: 'organisms-action-buttons-section', changeDetection: ChangeDetectionStrategy.OnPush, host: { class: 'organism section' }, template: "<ng-container *ngFor=\"let _action of actions; trackBy: trackById\">\n <button mat-raised-button color=\"primary\" [disabled]=\"_action?.disabled\" (click)=\"action.emit(_action)\">{{ _action?.name }}</button>\n</ng-container>", styles: [":host{--horizontal-padding: 16px;--horizontal-padding-SCOPED-IN-action-buttons-section-
|
|
19
|
+
args: [{ selector: 'organisms-action-buttons-section', changeDetection: ChangeDetectionStrategy.OnPush, host: { class: 'organism section' }, template: "<ng-container *ngFor=\"let _action of actions; trackBy: trackById\">\n <button mat-raised-button color=\"primary\" [disabled]=\"_action?.disabled\" (click)=\"action.emit(_action)\">{{ _action?.name }}</button>\n</ng-container>", styles: [":host{--horizontal-padding: 16px;--horizontal-padding-SCOPED-IN-action-buttons-section-z1NS: var(--horizontal-padding)}:host{display:flex;flex-direction:row;gap:8px;width:100%;padding:0 var(--horizontal-padding-SCOPED-IN-action-buttons-section-z1NS);box-sizing:border-box}:host button{width:100%;height:48px}\n"] }]
|
|
20
20
|
}], propDecorators: { actions: [{
|
|
21
21
|
type: Input
|
|
22
22
|
}], action: [{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ng-atomic-components-organisms-action-buttons-section.mjs","sources":["../../../../../packages/@ng-atomic/components/src/organisms/action-buttons-section/action-buttons-section.organism.ts","../../../../../packages/@ng-atomic/components/src/organisms/action-buttons-section/action-buttons-section.organism.html","../../../../../packages/@ng-atomic/components/src/organisms/action-buttons-section/action-buttons-section.module.ts","../../../../../packages/@ng-atomic/components/src/organisms/action-buttons-section/ng-atomic-components-organisms-action-buttons-section.ts"],"sourcesContent":["import { ChangeDetectionStrategy, Component, EventEmitter, Input, Output } from '@angular/core';\nimport { Action
|
|
1
|
+
{"version":3,"file":"ng-atomic-components-organisms-action-buttons-section.mjs","sources":["../../../../../packages/@ng-atomic/components/src/organisms/action-buttons-section/action-buttons-section.organism.ts","../../../../../packages/@ng-atomic/components/src/organisms/action-buttons-section/action-buttons-section.organism.html","../../../../../packages/@ng-atomic/components/src/organisms/action-buttons-section/action-buttons-section.module.ts","../../../../../packages/@ng-atomic/components/src/organisms/action-buttons-section/ng-atomic-components-organisms-action-buttons-section.ts"],"sourcesContent":["import { ChangeDetectionStrategy, Component, EventEmitter, Input, Output } from '@angular/core';\nimport { Action } 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 actions: Action[] = [];\n\n @Output()\n action = new EventEmitter<Action>();\n\n trackById = (item: Action) => item.id;\n}\n","<ng-container *ngFor=\"let _action of actions; trackBy: trackById\">\n <button mat-raised-button color=\"primary\" [disabled]=\"_action?.disabled\" (click)=\"action.emit(_action)\">{{ _action?.name }}</button>\n</ng-container>","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { MatLegacyButtonModule as MatButtonModule } from '@angular/material/legacy-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":["MatButtonModule"],"mappings":";;;;;;;MAUa,4BAA4B,CAAA;AAPzC,IAAA,WAAA,GAAA;QASE,IAAO,CAAA,OAAA,GAAa,EAAE,CAAC;AAGvB,QAAA,IAAA,CAAA,MAAM,GAAG,IAAI,YAAY,EAAU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AAA,EAAA,CAAA,CAAA;AAA1B,0BAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,0BAA0B,EAHnC,SAAA,EAAA,CAAA,4BAA4B,CAX5B,EAAA,YAAA,EAAA,CAAA,4BAA4B,aAG5B,YAAY;;AAEZ,QAAAA,qBAAe,aAGf,4BAA4B,CAAA,EAAA,CAAA,CAAA;AAMnB,0BAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,0BAA0B,YAXnC,YAAY;;QAEZA,qBAAe,CAAA,EAAA,CAAA,CAAA;2FASN,0BAA0B,EAAA,UAAA,EAAA,CAAA;kBAhBtC,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,YAAY,EAAE;wBACZ,4BAA4B;AAC7B,qBAAA;AACD,oBAAA,OAAO,EAAE;wBACP,YAAY;;wBAEZA,qBAAe;AAChB,qBAAA;AACD,oBAAA,OAAO,EAAE;wBACP,4BAA4B;AAC7B,qBAAA;AACD,oBAAA,SAAS,EAAE;wBACT,4BAA4B;AAC7B,qBAAA;AACF,iBAAA,CAAA;;;ACrBD;;AAEG;;;;"}
|
|
@@ -20,10 +20,10 @@ class BackNavigatorOrganism {
|
|
|
20
20
|
}
|
|
21
21
|
}
|
|
22
22
|
BackNavigatorOrganism.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: BackNavigatorOrganism, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
23
|
-
BackNavigatorOrganism.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.3", type: BackNavigatorOrganism, selector: "organisms-back-navigator", inputs: { canBack: "canBack", title: "title", description: "description", items: "items" }, outputs: { backButtonClick: "backButtonClick", action: "action" }, ngImport: i0, 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-
|
|
23
|
+
BackNavigatorOrganism.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.3", type: BackNavigatorOrganism, selector: "organisms-back-navigator", inputs: { canBack: "canBack", title: "title", description: "description", items: "items" }, outputs: { backButtonClick: "backButtonClick", action: "action" }, ngImport: i0, 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-pmvl: var(--height)}:host{display:block;width:100%;height:var(--height-SCOPED-IN-back-navigator-pmvl)}: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"], dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i2.MatLegacyButton, selector: "button[mat-button], button[mat-raised-button], button[mat-icon-button], button[mat-fab], button[mat-mini-fab], button[mat-stroked-button], button[mat-flat-button]", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }, { kind: "component", type: i3.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "component", type: i4.MatToolbar, selector: "mat-toolbar", inputs: ["color"], exportAs: ["matToolbar"] }, { kind: "component", type: i5.SmartMenuButtonAtom, selector: "atoms-smart-menu-button", inputs: ["items"], outputs: ["action"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
24
24
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: BackNavigatorOrganism, decorators: [{
|
|
25
25
|
type: Component,
|
|
26
|
-
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-
|
|
26
|
+
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-pmvl: var(--height)}:host{display:block;width:100%;height:var(--height-SCOPED-IN-back-navigator-pmvl)}: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"] }]
|
|
27
27
|
}], propDecorators: { canBack: [{
|
|
28
28
|
type: Input
|
|
29
29
|
}], title: [{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ng-atomic-components-organisms-back-navigator.mjs","sources":["../../../../../packages/@ng-atomic/components/src/organisms/back-navigator/back-navigator.organism.ts","../../../../../packages/@ng-atomic/components/src/organisms/back-navigator/back-navigator.organism.html","../../../../../packages/@ng-atomic/components/src/organisms/back-navigator/back-navigator.module.ts","../../../../../packages/@ng-atomic/components/src/organisms/back-navigator/ng-atomic-components-organisms-back-navigator.ts"],"sourcesContent":["import { ChangeDetectionStrategy, Component, EventEmitter, Input, Output } from '@angular/core';\nimport { Action
|
|
1
|
+
{"version":3,"file":"ng-atomic-components-organisms-back-navigator.mjs","sources":["../../../../../packages/@ng-atomic/components/src/organisms/back-navigator/back-navigator.organism.ts","../../../../../packages/@ng-atomic/components/src/organisms/back-navigator/back-navigator.organism.html","../../../../../packages/@ng-atomic/components/src/organisms/back-navigator/back-navigator.module.ts","../../../../../packages/@ng-atomic/components/src/organisms/back-navigator/ng-atomic-components-organisms-back-navigator.ts"],"sourcesContent":["import { ChangeDetectionStrategy, Component, EventEmitter, Input, Output } from '@angular/core';\nimport { Action } 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: Action[] = [];\n\n @Output()\n backButtonClick = new EventEmitter<void>();\n\n @Output()\n action = new EventEmitter<Action>();\n\n}\n","<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 { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { MatLegacyButtonModule as MatButtonModule } from '@angular/material/legacy-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":["MatButtonModule"],"mappings":";;;;;;;;;;;;;MASa,qBAAqB,CAAA;AANlC,IAAA,WAAA,GAAA;QASE,IAAO,CAAA,OAAA,GAAG,IAAI,CAAC;QASf,IAAK,CAAA,KAAA,GAAa,EAAE,CAAC;AAGrB,QAAA,IAAA,CAAA,eAAe,GAAG,IAAI,YAAY,EAAQ,CAAC;AAG3C,QAAA,IAAA,CAAA,MAAM,GAAG,IAAI,YAAY,EAAU,CAAC;AAErC,KAAA;;kHApBY,qBAAqB,EAAA,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BAAgB;;wBAEhB,qBAAqB;AACtB,qBAAA;AACD,oBAAA,OAAO,EAAE;wBACP,qBAAqB;AACtB,qBAAA;AACF,iBAAA,CAAA;;;ACzBD;;AAEG;;;;"}
|
|
@@ -13,10 +13,10 @@ class CardInputSectionOrganism {
|
|
|
13
13
|
}
|
|
14
14
|
}
|
|
15
15
|
CardInputSectionOrganism.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: CardInputSectionOrganism, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
16
|
-
CardInputSectionOrganism.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.3", type: CardInputSectionOrganism, selector: "organisms-card-input-section", inputs: { control: "control", label: "label", placeholder: "placeholder" }, ngImport: i0, 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-
|
|
16
|
+
CardInputSectionOrganism.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.3", type: CardInputSectionOrganism, selector: "organisms-card-input-section", inputs: { control: "control", label: "label", placeholder: "placeholder" }, ngImport: i0, 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-OrQ2: var(--horizontal-padding)}:host{display:block;width:100%;padding:0 var(--horizontal-padding-SCOPED-IN-text-input-section-OrQ2);box-sizing:border-box}:host .molecule.input-field,:host mat-form-field{width:100%}\n"], dependencies: [{ kind: "component", type: i1.TextInputFieldMolecule, selector: "molecules-text-input-field", inputs: ["type", "name", "label", "control", "placeholder", "hint"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
17
17
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: CardInputSectionOrganism, decorators: [{
|
|
18
18
|
type: Component,
|
|
19
|
-
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-
|
|
19
|
+
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-OrQ2: var(--horizontal-padding)}:host{display:block;width:100%;padding:0 var(--horizontal-padding-SCOPED-IN-text-input-section-OrQ2);box-sizing:border-box}:host .molecule.input-field,:host mat-form-field{width:100%}\n"] }]
|
|
20
20
|
}], propDecorators: { control: [{
|
|
21
21
|
type: Input
|
|
22
22
|
}], label: [{
|
|
@@ -23,10 +23,10 @@ class CvcAndExpInputSectionOrganism {
|
|
|
23
23
|
}
|
|
24
24
|
}
|
|
25
25
|
CvcAndExpInputSectionOrganism.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: CvcAndExpInputSectionOrganism, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
26
|
-
CvcAndExpInputSectionOrganism.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.3", type: CvcAndExpInputSectionOrganism, selector: "organisms-cvc-and-exp-input-section", inputs: { form: "form" }, ngImport: i0, 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-
|
|
26
|
+
CvcAndExpInputSectionOrganism.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.3", type: CvcAndExpInputSectionOrganism, selector: "organisms-cvc-and-exp-input-section", inputs: { form: "form" }, ngImport: i0, 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-SObp: var(--horizontal-padding)}:host{display:flex;width:100%;padding:0 var(--horizontal-padding-SCOPED-IN-text-input-section-SObp);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"], dependencies: [{ kind: "component", type: i1.SelectInputFieldMolecule, selector: "molecules-select-input-field", inputs: ["label", "control", "options"] }, { kind: "component", type: i2.TextInputFieldMolecule, selector: "molecules-text-input-field", inputs: ["type", "name", "label", "control", "placeholder", "hint"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
27
27
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: CvcAndExpInputSectionOrganism, decorators: [{
|
|
28
28
|
type: Component,
|
|
29
|
-
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-
|
|
29
|
+
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-SObp: var(--horizontal-padding)}:host{display:flex;width:100%;padding:0 var(--horizontal-padding-SCOPED-IN-text-input-section-SObp);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"] }]
|
|
30
30
|
}], propDecorators: { form: [{
|
|
31
31
|
type: Input
|
|
32
32
|
}] } });
|
|
@@ -13,10 +13,10 @@ class DateInputSectionOrganism {
|
|
|
13
13
|
}
|
|
14
14
|
}
|
|
15
15
|
DateInputSectionOrganism.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: DateInputSectionOrganism, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
16
|
-
DateInputSectionOrganism.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.3", type: DateInputSectionOrganism, selector: "organisms-date-input-section", inputs: { control: "control", label: "label", placeholder: "placeholder" }, host: { classAttribute: "organism section" }, ngImport: i0, 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-
|
|
16
|
+
DateInputSectionOrganism.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.3", type: DateInputSectionOrganism, selector: "organisms-date-input-section", inputs: { control: "control", label: "label", placeholder: "placeholder" }, host: { classAttribute: "organism section" }, ngImport: i0, 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-SvIu: var(--horizontal-padding)}:host{display:block;width:100%;padding:0 var(--horizontal-padding-SCOPED-IN-date-input-section-SvIu);box-sizing:border-box}:host mat-form-field{width:100%}\n"], dependencies: [{ kind: "component", type: i1.DateInputFieldMolecule, selector: "molecules-date-input-field", inputs: ["control", "label", "placeholder", "hint"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
17
17
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: DateInputSectionOrganism, decorators: [{
|
|
18
18
|
type: Component,
|
|
19
|
-
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-
|
|
19
|
+
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-SvIu: var(--horizontal-padding)}:host{display:block;width:100%;padding:0 var(--horizontal-padding-SCOPED-IN-date-input-section-SvIu);box-sizing:border-box}:host mat-form-field{width:100%}\n"] }]
|
|
20
20
|
}], propDecorators: { control: [{
|
|
21
21
|
type: Input
|
|
22
22
|
}], label: [{
|
|
@@ -9,10 +9,10 @@ class HeadingOrganism {
|
|
|
9
9
|
}
|
|
10
10
|
}
|
|
11
11
|
HeadingOrganism.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: HeadingOrganism, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
12
|
-
HeadingOrganism.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.3", type: HeadingOrganism, selector: "organisms-heading", inputs: { level: "level" }, ngImport: i0, 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-
|
|
12
|
+
HeadingOrganism.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.3", type: HeadingOrganism, selector: "organisms-heading", inputs: { level: "level" }, ngImport: i0, 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-WIST: var(--horizontal-padding)}:host{display:block;width:100%;box-sizing:border-box;padding:0 var(--horizontal-padding-SCOPED-IN-heading-WIST)}\n"], dependencies: [{ kind: "directive", type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: i1.NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { kind: "directive", type: i1.NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }, { kind: "directive", type: i1.NgSwitchDefault, selector: "[ngSwitchDefault]" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
13
13
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: HeadingOrganism, decorators: [{
|
|
14
14
|
type: Component,
|
|
15
|
-
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-
|
|
15
|
+
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-WIST: var(--horizontal-padding)}:host{display:block;width:100%;box-sizing:border-box;padding:0 var(--horizontal-padding-SCOPED-IN-heading-WIST)}\n"] }]
|
|
16
16
|
}], propDecorators: { level: [{
|
|
17
17
|
type: Input
|
|
18
18
|
}] } });
|
|
@@ -9,16 +9,16 @@ import { NavigationListItemModule } from '@ng-atomic/components/molecules/naviga
|
|
|
9
9
|
|
|
10
10
|
class NavigationListOrganism {
|
|
11
11
|
constructor() {
|
|
12
|
-
this.
|
|
12
|
+
this.actions = [];
|
|
13
13
|
this.action = new EventEmitter();
|
|
14
14
|
}
|
|
15
15
|
}
|
|
16
16
|
NavigationListOrganism.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: NavigationListOrganism, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
17
|
-
NavigationListOrganism.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.3", type: NavigationListOrganism, selector: "organisms-navigation-list", inputs: {
|
|
17
|
+
NavigationListOrganism.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.3", type: NavigationListOrganism, selector: "organisms-navigation-list", inputs: { actions: "actions" }, outputs: { action: "action" }, ngImport: i0, template: "<mat-selection-list [multiple]=\"false\">\n <molecules-navigation-list-item\n *ngFor=\"let _action of actions\" \n [action]=\"_action\"\n (click)=\"action.emit(_action)\"\n ></molecules-navigation-list-item>\n</mat-selection-list>", styles: [":host{--primary-color: #3f51b5;--primary-color-SCOPED-IN-navigation-list-2jSD: var(--primary-color);--secondary-color: #3f51b5;--secondary-color-SCOPED-IN-navigation-list-2jSD: var(--secondary-color);--color: white;--color-SCOPED-IN-navigation-list-2jSD: var(--color)}:host{display:block;width:100%;height:100%;background:var(--primary-color-SCOPED-IN-navigation-list-2jSD);color:var(--color-SCOPED-IN-navigation-list-2jSD);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-2jSD);font-size:12px}:host ::ng-deep .mat-list-item .mat-list-text{padding-left:8px!important}\n"], dependencies: [{ kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "component", type: i2.MatLegacySelectionList, selector: "mat-selection-list", inputs: ["disableRipple", "color", "compareWith", "disabled", "multiple"], outputs: ["selectionChange"], exportAs: ["matSelectionList"] }, { kind: "component", type: i3.NavigationListItemMolecule, selector: "molecules-navigation-list-item", inputs: ["action", "selected"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
18
18
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: NavigationListOrganism, decorators: [{
|
|
19
19
|
type: Component,
|
|
20
|
-
args: [{ selector: 'organisms-navigation-list', changeDetection: ChangeDetectionStrategy.OnPush, template: "<mat-selection-list [multiple]=\"false\">\n <molecules-navigation-list-item\n *ngFor=\"let
|
|
21
|
-
}], propDecorators: {
|
|
20
|
+
args: [{ selector: 'organisms-navigation-list', changeDetection: ChangeDetectionStrategy.OnPush, template: "<mat-selection-list [multiple]=\"false\">\n <molecules-navigation-list-item\n *ngFor=\"let _action of actions\" \n [action]=\"_action\"\n (click)=\"action.emit(_action)\"\n ></molecules-navigation-list-item>\n</mat-selection-list>", styles: [":host{--primary-color: #3f51b5;--primary-color-SCOPED-IN-navigation-list-2jSD: var(--primary-color);--secondary-color: #3f51b5;--secondary-color-SCOPED-IN-navigation-list-2jSD: var(--secondary-color);--color: white;--color-SCOPED-IN-navigation-list-2jSD: var(--color)}:host{display:block;width:100%;height:100%;background:var(--primary-color-SCOPED-IN-navigation-list-2jSD);color:var(--color-SCOPED-IN-navigation-list-2jSD);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-2jSD);font-size:12px}:host ::ng-deep .mat-list-item .mat-list-text{padding-left:8px!important}\n"] }]
|
|
21
|
+
}], propDecorators: { actions: [{
|
|
22
22
|
type: Input
|
|
23
23
|
}], action: [{
|
|
24
24
|
type: Output
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ng-atomic-components-organisms-navigation-list.mjs","sources":["../../../../../packages/@ng-atomic/components/src/organisms/navigation-list/navigation-list.organism.ts","../../../../../packages/@ng-atomic/components/src/organisms/navigation-list/navigation-list.organism.html","../../../../../packages/@ng-atomic/components/src/organisms/navigation-list/navigation-list.module.ts","../../../../../packages/@ng-atomic/components/src/organisms/navigation-list/ng-atomic-components-organisms-navigation-list.ts"],"sourcesContent":["import { Component, ChangeDetectionStrategy, Input, Output, EventEmitter } from '@angular/core';\nimport { Action
|
|
1
|
+
{"version":3,"file":"ng-atomic-components-organisms-navigation-list.mjs","sources":["../../../../../packages/@ng-atomic/components/src/organisms/navigation-list/navigation-list.organism.ts","../../../../../packages/@ng-atomic/components/src/organisms/navigation-list/navigation-list.organism.html","../../../../../packages/@ng-atomic/components/src/organisms/navigation-list/navigation-list.module.ts","../../../../../packages/@ng-atomic/components/src/organisms/navigation-list/ng-atomic-components-organisms-navigation-list.ts"],"sourcesContent":["import { Component, ChangeDetectionStrategy, Input, Output, EventEmitter } from '@angular/core';\nimport { Action } 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 actions: Action<string>[] = [];\n\n @Output()\n action = new EventEmitter<Action>();\n}\n","<mat-selection-list [multiple]=\"false\">\n <molecules-navigation-list-item\n *ngFor=\"let _action of actions\" \n [action]=\"_action\"\n (click)=\"action.emit(_action)\"\n ></molecules-navigation-list-item>\n</mat-selection-list>","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { MatLegacyListModule as MatListModule } from '@angular/material/legacy-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":["MatListModule"],"mappings":";;;;;;;;;MASa,sBAAsB,CAAA;AANnC,IAAA,WAAA,GAAA;QAQE,IAAO,CAAA,OAAA,GAAqB,EAAE,CAAC;AAG/B,QAAA,IAAA,CAAA,MAAM,GAAG,IAAI,YAAY,EAAU,CAAC;AACrC,KAAA;;mHANY,sBAAsB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAAtB,sBAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,IAAA,EAAA,sBAAsB,gICTnC,mPAMqB,EAAA,MAAA,EAAA,CAAA,4wBAAA,CAAA,EAAA,YAAA,EAAA,CAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAA,EAAA,CAAA,OAAA,EAAA,QAAA,EAAA,kBAAA,EAAA,MAAA,EAAA,CAAA,SAAA,EAAA,cAAA,EAAA,eAAA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b,wBAAwB,CAAA,EAAA,CAAA,CAAA;2FAIf,oBAAoB,EAAA,UAAA,EAAA,CAAA;kBAXhC,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACR,YAAY,EAAE,CAAC,sBAAsB,CAAC;AACtC,oBAAA,OAAO,EAAE;wBACP,YAAY;;wBAEZA,mBAAa;;wBAEb,wBAAwB;AACzB,qBAAA;oBACD,OAAO,EAAE,CAAC,sBAAsB,CAAC;AAClC,iBAAA,CAAA;;;ACjBD;;AAEG;;;;"}
|
|
@@ -17,10 +17,10 @@ class NavigatorOrganism {
|
|
|
17
17
|
}
|
|
18
18
|
}
|
|
19
19
|
NavigatorOrganism.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: NavigatorOrganism, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
20
|
-
NavigatorOrganism.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.3", type: NavigatorOrganism, selector: "organisms-navigator", inputs: { startActions: "startActions", endActions: "endActions" }, outputs: { action: "action" }, ngImport: i0, template: "<mat-toolbar color=\"primary\">\n <div>\n <atoms-smart-menu-button\n *ngIf=\"startActions.length\"\n [items]=\"startActions\"\n (action)=\"action.emit($event)\"\n ></atoms-smart-menu-button>\n <ng-content></ng-content>\n </div>\n <div>\n <atoms-smart-menu-button\n *ngIf=\"endActions.length\"\n [items]=\"endActions\"\n (action)=\"action.emit($event)\"\n ></atoms-smart-menu-button>\n </div>\n</mat-toolbar>\n", styles: [":host{--height: 64px;--height-SCOPED-IN-navigator-
|
|
20
|
+
NavigatorOrganism.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.3", type: NavigatorOrganism, selector: "organisms-navigator", inputs: { startActions: "startActions", endActions: "endActions" }, outputs: { action: "action" }, ngImport: i0, template: "<mat-toolbar color=\"primary\">\n <div>\n <atoms-smart-menu-button\n *ngIf=\"startActions.length\"\n [items]=\"startActions\"\n (action)=\"action.emit($event)\"\n ></atoms-smart-menu-button>\n <ng-content></ng-content>\n </div>\n <div>\n <atoms-smart-menu-button\n *ngIf=\"endActions.length\"\n [items]=\"endActions\"\n (action)=\"action.emit($event)\"\n ></atoms-smart-menu-button>\n </div>\n</mat-toolbar>\n", styles: [":host{--height: 64px;--height-SCOPED-IN-navigator-MMVe: var(--height)}:host{display:block;width:100%;height:var(--height-SCOPED-IN-navigator-MMVe)}: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"], dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i2.MatToolbar, selector: "mat-toolbar", inputs: ["color"], exportAs: ["matToolbar"] }, { kind: "component", type: i3.SmartMenuButtonAtom, selector: "atoms-smart-menu-button", inputs: ["items"], outputs: ["action"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
21
21
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: NavigatorOrganism, decorators: [{
|
|
22
22
|
type: Component,
|
|
23
|
-
args: [{ selector: 'organisms-navigator', changeDetection: ChangeDetectionStrategy.OnPush, template: "<mat-toolbar color=\"primary\">\n <div>\n <atoms-smart-menu-button\n *ngIf=\"startActions.length\"\n [items]=\"startActions\"\n (action)=\"action.emit($event)\"\n ></atoms-smart-menu-button>\n <ng-content></ng-content>\n </div>\n <div>\n <atoms-smart-menu-button\n *ngIf=\"endActions.length\"\n [items]=\"endActions\"\n (action)=\"action.emit($event)\"\n ></atoms-smart-menu-button>\n </div>\n</mat-toolbar>\n", styles: [":host{--height: 64px;--height-SCOPED-IN-navigator-
|
|
23
|
+
args: [{ selector: 'organisms-navigator', changeDetection: ChangeDetectionStrategy.OnPush, template: "<mat-toolbar color=\"primary\">\n <div>\n <atoms-smart-menu-button\n *ngIf=\"startActions.length\"\n [items]=\"startActions\"\n (action)=\"action.emit($event)\"\n ></atoms-smart-menu-button>\n <ng-content></ng-content>\n </div>\n <div>\n <atoms-smart-menu-button\n *ngIf=\"endActions.length\"\n [items]=\"endActions\"\n (action)=\"action.emit($event)\"\n ></atoms-smart-menu-button>\n </div>\n</mat-toolbar>\n", styles: [":host{--height: 64px;--height-SCOPED-IN-navigator-MMVe: var(--height)}:host{display:block;width:100%;height:var(--height-SCOPED-IN-navigator-MMVe)}: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"] }]
|
|
24
24
|
}], propDecorators: { startActions: [{
|
|
25
25
|
type: Input
|
|
26
26
|
}], endActions: [{
|
|
@@ -13,10 +13,10 @@ class SelectInputSectionOrganism {
|
|
|
13
13
|
}
|
|
14
14
|
}
|
|
15
15
|
SelectInputSectionOrganism.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: SelectInputSectionOrganism, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
16
|
-
SelectInputSectionOrganism.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.3", type: SelectInputSectionOrganism, selector: "organisms-select-input-section", inputs: { label: "label", control: "control", options: "options" }, ngImport: i0, 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-
|
|
16
|
+
SelectInputSectionOrganism.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.3", type: SelectInputSectionOrganism, selector: "organisms-select-input-section", inputs: { label: "label", control: "control", options: "options" }, ngImport: i0, 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-Er0u: var(--horizontal-padding)}:host{display:block;width:100%;padding:0 var(--horizontal-padding-SCOPED-IN-select-input-section-Er0u);box-sizing:border-box}:host .molecule.input-field{width:100%}\n"], dependencies: [{ kind: "component", type: i1.SelectInputFieldMolecule, selector: "molecules-select-input-field", inputs: ["label", "control", "options"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
17
17
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: SelectInputSectionOrganism, decorators: [{
|
|
18
18
|
type: Component,
|
|
19
|
-
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-
|
|
19
|
+
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-Er0u: var(--horizontal-padding)}:host{display:block;width:100%;padding:0 var(--horizontal-padding-SCOPED-IN-select-input-section-Er0u);box-sizing:border-box}:host .molecule.input-field{width:100%}\n"] }]
|
|
20
20
|
}], propDecorators: { label: [{
|
|
21
21
|
type: Input
|
|
22
22
|
}], control: [{
|
|
@@ -24,7 +24,7 @@ class SmartListOrganism {
|
|
|
24
24
|
this.dataAccessor ?? (this.dataAccessor = defaultDataAccessor);
|
|
25
25
|
}
|
|
26
26
|
get statusMap() {
|
|
27
|
-
return this.items.reduce((acc, item) => {
|
|
27
|
+
return (this.items ?? []).reduce((acc, item) => {
|
|
28
28
|
const key = this.dataAccessor(item, '__status');
|
|
29
29
|
acc[key] ?? (acc[key] = []),
|
|
30
30
|
acc[key].push(item);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ng-atomic-components-organisms-smart-list.mjs","sources":["../../../../../packages/@ng-atomic/components/src/organisms/smart-list/smart-list.organism.ts","../../../../../packages/@ng-atomic/components/src/organisms/smart-list/smart-list.organism.html","../../../../../packages/@ng-atomic/components/src/organisms/smart-list/smart-list.module.ts","../../../../../packages/@ng-atomic/components/src/organisms/smart-list/ng-atomic-components-organisms-smart-list.ts"],"sourcesContent":["import { ChangeDetectionStrategy, Component, EventEmitter, Inject, Input, Optional, Output } from '@angular/core';\nimport { Action } from '@ng-atomic/common/models';\nimport { DataAccessor, DATA_ACCESSOR, defaultDataAccessor } from '@ng-atomic/common/pipes/data-accessor';\n\nexport enum ActionId {\n CLICK_ITEM = '[@ng-atomic/components/organisms/smart-list] Click Item',\n}\n\n@Component({\n selector: 'organisms-smart-list',\n templateUrl: './smart-list.organism.html',\n styleUrls: ['./smart-list.organism.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush\n})\nexport class SmartListOrganism<T> {\n\n constructor(\n @Optional() @Inject(DATA_ACCESSOR) private dataAccessor: DataAccessor<T>\n ) {\n this.dataAccessor ??= defaultDataAccessor;\n }\n\n statusAccessor = (data) => data['status'];\n\n @Input()\n items: T[] = [];\n\n @Output()\n action = new EventEmitter<Action>();\n\n get statusMap() {\n return this.items.reduce((acc, item) => {\n const key = this.dataAccessor(item, '__status');\n acc[key] ??= [],\n acc[key].push(item);\n return acc;\n }, {} as { [id: string]: any[] });\n }\n\n get statuses() {\n return Object.keys(this.statusMap);\n }\n\n protected onItemClick(item: T) {\n this.action.emit({\n id: ActionId.CLICK_ITEM,\n payload: item,\n });\n }\n}\n","<mat-list>\n <ng-container *ngFor=\"let status of statuses\">\n <div mat-subheader> {{ status }}</div>\n <ng-container *ngFor=\"let item of statusMap[status]\">\n <mat-list-item lines=\"2\" matRipple (click)=\"onItemClick(item)\">\n <span mat-line>{{ item | dataAccessor:'__title' }}</span>\n <span mat-line>{{ item | dataAccessor:'__desc' }}</span>\n </mat-list-item>\n <mat-divider *ngIf=\"statuses.length === 1\"></mat-divider>\n </ng-container>\n <mat-divider></mat-divider>\n </ng-container>\n</mat-list>\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { SmartListOrganism } from './smart-list.organism';\nimport { MatLegacyListModule as MatListModule } from '@angular/material/legacy-list';\nimport { MatIconModule } from '@angular/material/icon';\nimport { MatRippleModule } from '@angular/material/core';\nimport { DataAccessorPipe } from '@ng-atomic/common/pipes/data-accessor';\n\n@NgModule({\n declarations: [\n SmartListOrganism,\n ],\n imports: [\n CommonModule,\n MatListModule,\n MatIconModule,\n MatRippleModule,\n DataAccessorPipe,\n ],\n exports: [\n SmartListOrganism\n ]\n})\nexport class SmartListModule { }\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["MatListModule"],"mappings":";;;;;;;;;;;;;IAIY,SAEX;AAFD,CAAA,UAAY,QAAQ,EAAA;AAClB,IAAA,QAAA,CAAA,YAAA,CAAA,GAAA,yDAAsE,CAAA;AACxE,CAAC,EAFW,QAAQ,KAAR,QAAQ,GAEnB,EAAA,CAAA,CAAA,CAAA;MAQY,iBAAiB,CAAA;AAE5B,IAAA,WAAA,CAC6C,YAA6B,EAAA;QAA7B,IAAY,CAAA,YAAA,GAAZ,YAAY,CAAiB;QAK1E,IAAc,CAAA,cAAA,GAAG,CAAC,IAAI,KAAK,IAAI,CAAC,QAAQ,CAAC,CAAC;QAG1C,IAAK,CAAA,KAAA,GAAQ,EAAE,CAAC;AAGhB,QAAA,IAAA,CAAA,MAAM,GAAG,IAAI,YAAY,EAAU,CAAC;QATlC,IAAI,CAAC,YAAY,KAAjB,IAAI,CAAC,YAAY,GAAK,mBAAmB,CAAC,CAAA;KAC3C;AAUD,IAAA,IAAI,SAAS,GAAA;
|
|
1
|
+
{"version":3,"file":"ng-atomic-components-organisms-smart-list.mjs","sources":["../../../../../packages/@ng-atomic/components/src/organisms/smart-list/smart-list.organism.ts","../../../../../packages/@ng-atomic/components/src/organisms/smart-list/smart-list.organism.html","../../../../../packages/@ng-atomic/components/src/organisms/smart-list/smart-list.module.ts","../../../../../packages/@ng-atomic/components/src/organisms/smart-list/ng-atomic-components-organisms-smart-list.ts"],"sourcesContent":["import { ChangeDetectionStrategy, Component, EventEmitter, Inject, Input, Optional, Output } from '@angular/core';\nimport { Action } from '@ng-atomic/common/models';\nimport { DataAccessor, DATA_ACCESSOR, defaultDataAccessor } from '@ng-atomic/common/pipes/data-accessor';\n\nexport enum ActionId {\n CLICK_ITEM = '[@ng-atomic/components/organisms/smart-list] Click Item',\n}\n\n@Component({\n selector: 'organisms-smart-list',\n templateUrl: './smart-list.organism.html',\n styleUrls: ['./smart-list.organism.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush\n})\nexport class SmartListOrganism<T> {\n\n constructor(\n @Optional() @Inject(DATA_ACCESSOR) private dataAccessor: DataAccessor<T>\n ) {\n this.dataAccessor ??= defaultDataAccessor;\n }\n\n statusAccessor = (data) => data['status'];\n\n @Input()\n items: T[] = [];\n\n @Output()\n action = new EventEmitter<Action>();\n\n get statusMap() {\n return (this.items ?? []).reduce((acc, item) => {\n const key = this.dataAccessor(item, '__status');\n acc[key] ??= [],\n acc[key].push(item);\n return acc;\n }, {} as { [id: string]: any[] });\n }\n\n get statuses() {\n return Object.keys(this.statusMap);\n }\n\n protected onItemClick(item: T) {\n this.action.emit({\n id: ActionId.CLICK_ITEM,\n payload: item,\n });\n }\n}\n","<mat-list>\n <ng-container *ngFor=\"let status of statuses\">\n <div mat-subheader> {{ status }}</div>\n <ng-container *ngFor=\"let item of statusMap[status]\">\n <mat-list-item lines=\"2\" matRipple (click)=\"onItemClick(item)\">\n <span mat-line>{{ item | dataAccessor:'__title' }}</span>\n <span mat-line>{{ item | dataAccessor:'__desc' }}</span>\n </mat-list-item>\n <mat-divider *ngIf=\"statuses.length === 1\"></mat-divider>\n </ng-container>\n <mat-divider></mat-divider>\n </ng-container>\n</mat-list>\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { SmartListOrganism } from './smart-list.organism';\nimport { MatLegacyListModule as MatListModule } from '@angular/material/legacy-list';\nimport { MatIconModule } from '@angular/material/icon';\nimport { MatRippleModule } from '@angular/material/core';\nimport { DataAccessorPipe } from '@ng-atomic/common/pipes/data-accessor';\n\n@NgModule({\n declarations: [\n SmartListOrganism,\n ],\n imports: [\n CommonModule,\n MatListModule,\n MatIconModule,\n MatRippleModule,\n DataAccessorPipe,\n ],\n exports: [\n SmartListOrganism\n ]\n})\nexport class SmartListModule { }\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["MatListModule"],"mappings":";;;;;;;;;;;;;IAIY,SAEX;AAFD,CAAA,UAAY,QAAQ,EAAA;AAClB,IAAA,QAAA,CAAA,YAAA,CAAA,GAAA,yDAAsE,CAAA;AACxE,CAAC,EAFW,QAAQ,KAAR,QAAQ,GAEnB,EAAA,CAAA,CAAA,CAAA;MAQY,iBAAiB,CAAA;AAE5B,IAAA,WAAA,CAC6C,YAA6B,EAAA;QAA7B,IAAY,CAAA,YAAA,GAAZ,YAAY,CAAiB;QAK1E,IAAc,CAAA,cAAA,GAAG,CAAC,IAAI,KAAK,IAAI,CAAC,QAAQ,CAAC,CAAC;QAG1C,IAAK,CAAA,KAAA,GAAQ,EAAE,CAAC;AAGhB,QAAA,IAAA,CAAA,MAAM,GAAG,IAAI,YAAY,EAAU,CAAC;QATlC,IAAI,CAAC,YAAY,KAAjB,IAAI,CAAC,YAAY,GAAK,mBAAmB,CAAC,CAAA;KAC3C;AAUD,IAAA,IAAI,SAAS,GAAA;AACX,QAAA,OAAO,CAAC,IAAI,CAAC,KAAK,IAAI,EAAE,EAAE,MAAM,CAAC,CAAC,GAAG,EAAE,IAAI,KAAI;YAC7C,MAAM,GAAG,GAAG,IAAI,CAAC,YAAY,CAAC,IAAI,EAAE,UAAU,CAAC,CAAC;AAChD,YAAA,GAAG,CAAC,GAAG,CAAA,KAAP,GAAG,CAAC,GAAG,IAA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