@ng-atomic/components 16.1.0 → 16.2.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/esm2022/atoms/icon/icon.atom.mjs +2 -2
- package/esm2022/components.module.mjs +9 -1
- package/esm2022/frames/auto-layout/auto-layout.frame.mjs +2 -2
- package/esm2022/frames/divider/divider.frame.mjs +2 -2
- package/esm2022/frames/drawer/drawer.frame.mjs +2 -2
- package/esm2022/frames/fab/fab.frame.mjs +2 -2
- package/esm2022/frames/frames.module.mjs +7 -7
- package/esm2022/frames/line-up/line-up.frame.mjs +2 -2
- package/esm2022/frames/overlay/overlay.frame.mjs +2 -2
- package/esm2022/frames/scroll/scroll.frame.mjs +2 -2
- package/esm2022/frames/scroll-v2/scroll.frame.mjs +2 -2
- package/esm2022/frames/side-nav/side-nav.frame.mjs +2 -2
- package/esm2022/frames/smart-menu/smart-menu.frame.mjs +2 -2
- package/esm2022/frames/vertical-hide/vertical-hide.frame.mjs +2 -2
- package/esm2022/molecules/date-input-field/date-input-field.molecule.mjs +2 -2
- package/esm2022/molecules/select-input-field/select-input-field.molecule.mjs +2 -2
- package/esm2022/organisms/action-buttons-section/action-buttons-section.organism.mjs +2 -2
- package/esm2022/organisms/action-input-section/action-input-section.organism.mjs +2 -2
- package/esm2022/organisms/card-input-section/card-input-section.organism.mjs +2 -2
- package/esm2022/organisms/cvc-and-exp-input-section/cvc-and-exp-input-section.organism.mjs +2 -2
- package/esm2022/organisms/date-input-section/date-input-section.organism.mjs +2 -2
- package/esm2022/organisms/file-input-section/file-input-section.organism.mjs +2 -2
- package/esm2022/organisms/heading/heading.organism.mjs +2 -2
- package/esm2022/organisms/messages-section/messages-section.organism.mjs +2 -2
- package/esm2022/organisms/navigation-list/navigation-list.organism.mjs +2 -2
- package/esm2022/organisms/navigator/navigator.organism.mjs +2 -2
- package/esm2022/organisms/select-input-section/select-input-section.organism.mjs +2 -2
- package/esm2022/organisms/smart-list/smart-list.organism.mjs +72 -51
- package/esm2022/organisms/smart-table/smart-table.organism.mjs +2 -2
- package/esm2022/organisms/social-login-section/social-login-section.organism.mjs +2 -2
- package/esm2022/organisms/text-input-section/text-input-section.organism.mjs +2 -2
- package/esm2022/organisms/textarea-section/textarea-section.organism.mjs +2 -2
- package/esm2022/sheets/actions/actions.sheet.mjs +45 -0
- package/esm2022/sheets/actions/index.mjs +2 -0
- package/esm2022/sheets/actions/ng-atomic-components-sheets-actions.mjs +5 -0
- package/esm2022/sheets/index.mjs +3 -0
- package/esm2022/sheets/ng-atomic-components-sheets.mjs +5 -0
- package/esm2022/sheets/sheets.module.mjs +25 -0
- package/esm2022/sheets/sheets.service.mjs +20 -0
- package/esm2022/templates/entrance/entrance.template.mjs +2 -2
- package/esm2022/templates/icon-button-menu/icon-button-menu.template.mjs +2 -2
- package/esm2022/templates/menu/menu.template.mjs +2 -2
- package/esm2022/templates/smart-crud/smart-crud.template.mjs +2 -2
- package/esm2022/templates/smart-index/smart-index.template.mjs +20 -8
- package/fesm2022/ng-atomic-components-atoms-icon.mjs +2 -2
- package/fesm2022/ng-atomic-components-frames-auto-layout.mjs +2 -2
- package/fesm2022/ng-atomic-components-frames-divider.mjs +2 -2
- package/fesm2022/ng-atomic-components-frames-drawer.mjs +2 -2
- package/fesm2022/ng-atomic-components-frames-fab.mjs +2 -2
- package/fesm2022/ng-atomic-components-frames-line-up.mjs +2 -2
- package/fesm2022/ng-atomic-components-frames-overlay.mjs +2 -2
- package/fesm2022/ng-atomic-components-frames-scroll-v2.mjs +2 -2
- package/fesm2022/ng-atomic-components-frames-scroll.mjs +2 -2
- package/fesm2022/ng-atomic-components-frames-side-nav.mjs +2 -2
- package/fesm2022/ng-atomic-components-frames-smart-menu.mjs +2 -2
- package/fesm2022/ng-atomic-components-frames-vertical-hide.mjs +2 -2
- package/fesm2022/ng-atomic-components-frames.mjs +7 -7
- package/fesm2022/ng-atomic-components-frames.mjs.map +1 -1
- package/fesm2022/ng-atomic-components-molecules-date-input-field.mjs +2 -2
- package/fesm2022/ng-atomic-components-molecules-select-input-field.mjs +2 -2
- package/fesm2022/ng-atomic-components-organisms-action-buttons-section.mjs +2 -2
- package/fesm2022/ng-atomic-components-organisms-action-input-section.mjs +2 -2
- package/fesm2022/ng-atomic-components-organisms-card-input-section.mjs +2 -2
- package/fesm2022/ng-atomic-components-organisms-cvc-and-exp-input-section.mjs +2 -2
- package/fesm2022/ng-atomic-components-organisms-date-input-section.mjs +2 -2
- package/fesm2022/ng-atomic-components-organisms-file-input-section.mjs +2 -2
- package/fesm2022/ng-atomic-components-organisms-heading.mjs +2 -2
- package/fesm2022/ng-atomic-components-organisms-messages-section.mjs +2 -2
- package/fesm2022/ng-atomic-components-organisms-navigation-list.mjs +2 -2
- package/fesm2022/ng-atomic-components-organisms-navigator.mjs +2 -2
- package/fesm2022/ng-atomic-components-organisms-select-input-section.mjs +2 -2
- package/fesm2022/ng-atomic-components-organisms-smart-list.mjs +71 -50
- package/fesm2022/ng-atomic-components-organisms-smart-list.mjs.map +1 -1
- package/fesm2022/ng-atomic-components-organisms-smart-table.mjs +2 -2
- package/fesm2022/ng-atomic-components-organisms-social-login-section.mjs +2 -2
- package/fesm2022/ng-atomic-components-organisms-text-input-section.mjs +2 -2
- package/fesm2022/ng-atomic-components-organisms-textarea-section.mjs +2 -2
- package/fesm2022/ng-atomic-components-sheets-actions.mjs +52 -0
- package/fesm2022/ng-atomic-components-sheets-actions.mjs.map +1 -0
- package/fesm2022/ng-atomic-components-sheets.mjs +48 -0
- package/fesm2022/ng-atomic-components-sheets.mjs.map +1 -0
- package/fesm2022/ng-atomic-components-templates-entrance.mjs +2 -2
- package/fesm2022/ng-atomic-components-templates-icon-button-menu.mjs +2 -2
- package/fesm2022/ng-atomic-components-templates-menu.mjs +2 -2
- package/fesm2022/ng-atomic-components-templates-smart-crud.mjs +2 -2
- package/fesm2022/ng-atomic-components-templates-smart-index.mjs +19 -7
- package/fesm2022/ng-atomic-components-templates-smart-index.mjs.map +1 -1
- package/fesm2022/ng-atomic-components.mjs +8 -0
- package/fesm2022/ng-atomic-components.mjs.map +1 -1
- package/frames/frames.module.d.ts +5 -5
- package/organisms/smart-list/smart-list.organism.d.ts +7 -4
- package/package.json +15 -3
- package/sheets/actions/actions.sheet.d.ts +9 -0
- package/sheets/actions/index.d.ts +1 -0
- package/sheets/index.d.ts +2 -0
- package/sheets/sheets.module.d.ts +11 -0
- package/sheets/sheets.service.d.ts +10 -0
- package/templates/smart-index/smart-index.template.d.ts +4 -2
|
@@ -5,32 +5,40 @@ import * as i1 from '@angular/common';
|
|
|
5
5
|
import { CommonModule } from '@angular/common';
|
|
6
6
|
import * as i2 from '@angular/material/list';
|
|
7
7
|
import { MatListModule } from '@angular/material/list';
|
|
8
|
-
import * as
|
|
8
|
+
import * as i6 from '@angular/material/tooltip';
|
|
9
9
|
import { MatTooltipModule } from '@angular/material/tooltip';
|
|
10
|
+
import * as i4 from '@angular/material/icon';
|
|
10
11
|
import { MatIconModule } from '@angular/material/icon';
|
|
11
|
-
import * as
|
|
12
|
+
import * as i7 from '@angular/material/core';
|
|
12
13
|
import { MatRippleModule } from '@angular/material/core';
|
|
13
14
|
import { NgAtomicComponent } from '@ng-atomic/core';
|
|
14
15
|
import { KeysPipe } from '@ng-atomic/common/pipes/keys';
|
|
15
16
|
import { GroupedByPipe } from '@ng-atomic/common/pipes/grouped-by';
|
|
17
|
+
import * as i5 from '@angular/material/button';
|
|
18
|
+
import { MatButtonModule } from '@angular/material/button';
|
|
19
|
+
import { ActionsPipe } from '@ng-atomic/common/pipes/actions';
|
|
16
20
|
import * as i3 from '@angular/material/divider';
|
|
17
21
|
|
|
18
22
|
var ActionId;
|
|
19
23
|
(function (ActionId) {
|
|
20
24
|
ActionId["CLICK_ITEM"] = "[@ng-atomic/components/organisms/smart-list] Click Item";
|
|
25
|
+
ActionId["ITEM_BUTTON_CLICK"] = "[@ng-atomic/components/organisms/smart-list] Item Button Click";
|
|
21
26
|
})(ActionId || (ActionId = {}));
|
|
22
27
|
class SmartListOrganismStore {
|
|
23
28
|
constructor() {
|
|
24
29
|
this.items = [];
|
|
30
|
+
this.itemActions = [];
|
|
25
31
|
}
|
|
26
32
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SmartListOrganismStore, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
27
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: SmartListOrganismStore, isStandalone: true, inputs: { items: "items", groupedBy: "groupedBy", groupKeys: "groupKeys" }, ngImport: i0 }); }
|
|
33
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: SmartListOrganismStore, isStandalone: true, inputs: { items: "items", itemActions: "itemActions", groupedBy: "groupedBy", groupKeys: "groupKeys" }, ngImport: i0 }); }
|
|
28
34
|
}
|
|
29
35
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SmartListOrganismStore, decorators: [{
|
|
30
36
|
type: Directive,
|
|
31
37
|
args: [{ standalone: true }]
|
|
32
38
|
}], propDecorators: { items: [{
|
|
33
39
|
type: Input
|
|
40
|
+
}], itemActions: [{
|
|
41
|
+
type: Input
|
|
34
42
|
}], groupedBy: [{
|
|
35
43
|
type: Input
|
|
36
44
|
}], groupKeys: [{
|
|
@@ -48,44 +56,52 @@ class SmartListOrganism extends NgAtomicComponent {
|
|
|
48
56
|
onItemClick(item) {
|
|
49
57
|
this.dispatch({ id: ActionId.CLICK_ITEM, payload: item });
|
|
50
58
|
}
|
|
59
|
+
onItemActionsClick(item, $event) {
|
|
60
|
+
$event.stopPropagation();
|
|
61
|
+
$event.preventDefault();
|
|
62
|
+
this.dispatch({ id: ActionId.ITEM_BUTTON_CLICK, payload: item });
|
|
63
|
+
}
|
|
51
64
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SmartListOrganism, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
52
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: SmartListOrganism, isStandalone: true, selector: "organisms-smart-list", usesInheritance: true, hostDirectives: [{ directive: SmartListOrganismStore, inputs: ["items", "items", "groupedBy", "groupedBy", "groupKeys", "groupKeys"] }], ngImport: i0, template: `
|
|
65
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: SmartListOrganism, isStandalone: true, selector: "organisms-smart-list", usesInheritance: true, hostDirectives: [{ directive: SmartListOrganismStore, inputs: ["items", "items", "itemActions", "itemActions", "groupedBy", "groupedBy", "groupKeys", "groupKeys"] }], ngImport: i0, template: `
|
|
53
66
|
<mat-list *ngIf="store.groupedBy">
|
|
54
67
|
<ng-container *ngFor="let key of store.groupKeys ?? (store.items | groupedBy:store.groupedBy | keys); trackBy: trackByItem;">
|
|
55
68
|
<div mat-subheader>{{ key }}</div>
|
|
56
69
|
<ng-container *ngFor="let item of (store.items | groupedBy:store.groupedBy)[key]; trackBy: trackById">
|
|
57
|
-
<
|
|
58
|
-
<span
|
|
59
|
-
matListItemTitle
|
|
60
|
-
[matTooltip]="item | dataAccessor:'title'"
|
|
61
|
-
>
|
|
62
|
-
{{ item | dataAccessor:'title' }}
|
|
63
|
-
</span>
|
|
64
|
-
<span matListItemLine>
|
|
65
|
-
{{ item | dataAccessor:'description' }}
|
|
66
|
-
</span>
|
|
67
|
-
</mat-list-item>
|
|
70
|
+
<ng-container *ngTemplateOutlet="listItem; context: {$implicit: item}"></ng-container>
|
|
68
71
|
</ng-container>
|
|
69
72
|
<mat-divider></mat-divider>
|
|
70
73
|
</ng-container>
|
|
71
74
|
</mat-list>
|
|
72
75
|
<mat-list *ngIf="!store.groupedBy">
|
|
73
76
|
<ng-container *ngFor="let item of store.items; trackBy: trackById">
|
|
74
|
-
<
|
|
75
|
-
<span
|
|
76
|
-
matListItemTitle
|
|
77
|
-
[matTooltip]="item | dataAccessor:'title'"
|
|
78
|
-
>
|
|
79
|
-
{{ item | dataAccessor:'title' }}
|
|
80
|
-
</span>
|
|
81
|
-
<span matListItemLine>
|
|
82
|
-
{{ item | dataAccessor:'description' }}
|
|
83
|
-
</span>
|
|
84
|
-
</mat-list-item>
|
|
77
|
+
<ng-container *ngTemplateOutlet="listItem; context: {$implicit: item}"></ng-container>
|
|
85
78
|
<mat-divider></mat-divider>
|
|
86
79
|
</ng-container>
|
|
87
80
|
</mat-list>
|
|
88
|
-
|
|
81
|
+
|
|
82
|
+
<ng-template #listItem let-item>
|
|
83
|
+
<mat-list-item lines="2" matRipple (click)="onItemClick(item)">
|
|
84
|
+
<span
|
|
85
|
+
matListItemTitle
|
|
86
|
+
[matTooltip]="item | dataAccessor:'title'"
|
|
87
|
+
>
|
|
88
|
+
{{ item | dataAccessor:'title' }}
|
|
89
|
+
</span>
|
|
90
|
+
<span matListItemLine>
|
|
91
|
+
{{ item | dataAccessor:'description' }}
|
|
92
|
+
</span>
|
|
93
|
+
<ng-container *ngIf="(store.itemActions | resolveActions:item) as actions" matListItemMeta>
|
|
94
|
+
<button
|
|
95
|
+
*ngIf="actions.length"
|
|
96
|
+
mat-icon-button
|
|
97
|
+
(click)="onItemActionsClick(item, $event)"
|
|
98
|
+
>
|
|
99
|
+
<mat-icon>menu</mat-icon>
|
|
100
|
+
</button>
|
|
101
|
+
</ng-container>
|
|
102
|
+
</mat-list-item>
|
|
103
|
+
</ng-template>
|
|
104
|
+
`, isInline: true, styles: [":host{display:block}:host{display:block;flex-direction:unset;font-size:14px;height:100%}:host mat-list-item{cursor:pointer}:host mat-list .mdc-list-group__subheader{font-size:14px;line-height:1em;margin:.75rem 16px}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "ngmodule", type: MatListModule }, { kind: "component", type: i2.MatList, selector: "mat-list", exportAs: ["matList"] }, { kind: "component", type: i2.MatListItem, selector: "mat-list-item, a[mat-list-item], button[mat-list-item]", inputs: ["activated"], exportAs: ["matListItem"] }, { kind: "directive", type: i2.MatListSubheaderCssMatStyler, selector: "[mat-subheader], [matSubheader]" }, { kind: "component", type: i3.MatDivider, selector: "mat-divider", inputs: ["vertical", "inset"] }, { kind: "directive", type: i2.MatListItemLine, selector: "[matListItemLine]" }, { kind: "directive", type: i2.MatListItemTitle, selector: "[matListItemTitle]" }, { kind: "directive", type: i2.MatListItemMeta, selector: "[matListItemMeta]" }, { kind: "ngmodule", type: MatIconModule }, { kind: "component", type: i4.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "ngmodule", type: MatButtonModule }, { kind: "component", type: i5.MatIconButton, selector: "button[mat-icon-button]", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }, { kind: "ngmodule", type: MatTooltipModule }, { kind: "directive", type: i6.MatTooltip, selector: "[matTooltip]", exportAs: ["matTooltip"] }, { kind: "ngmodule", type: MatRippleModule }, { kind: "directive", type: i7.MatRipple, selector: "[mat-ripple], [matRipple]", inputs: ["matRippleColor", "matRippleUnbounded", "matRippleCentered", "matRippleRadius", "matRippleAnimation", "matRippleDisabled", "matRippleTrigger"], exportAs: ["matRipple"] }, { kind: "pipe", type: DataAccessorPipe, name: "dataAccessor" }, { kind: "pipe", type: ActionsPipe, name: "resolveActions" }, { kind: "pipe", type: GroupedByPipe, name: "groupedBy" }, { kind: "pipe", type: KeysPipe, name: "keys" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
89
105
|
}
|
|
90
106
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SmartListOrganism, decorators: [{
|
|
91
107
|
type: Component,
|
|
@@ -93,9 +109,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
93
109
|
CommonModule,
|
|
94
110
|
MatListModule,
|
|
95
111
|
MatIconModule,
|
|
112
|
+
MatButtonModule,
|
|
96
113
|
MatTooltipModule,
|
|
97
114
|
MatRippleModule,
|
|
98
115
|
DataAccessorPipe,
|
|
116
|
+
ActionsPipe,
|
|
99
117
|
GroupedByPipe,
|
|
100
118
|
KeysPipe,
|
|
101
119
|
], template: `
|
|
@@ -103,41 +121,44 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
103
121
|
<ng-container *ngFor="let key of store.groupKeys ?? (store.items | groupedBy:store.groupedBy | keys); trackBy: trackByItem;">
|
|
104
122
|
<div mat-subheader>{{ key }}</div>
|
|
105
123
|
<ng-container *ngFor="let item of (store.items | groupedBy:store.groupedBy)[key]; trackBy: trackById">
|
|
106
|
-
<
|
|
107
|
-
<span
|
|
108
|
-
matListItemTitle
|
|
109
|
-
[matTooltip]="item | dataAccessor:'title'"
|
|
110
|
-
>
|
|
111
|
-
{{ item | dataAccessor:'title' }}
|
|
112
|
-
</span>
|
|
113
|
-
<span matListItemLine>
|
|
114
|
-
{{ item | dataAccessor:'description' }}
|
|
115
|
-
</span>
|
|
116
|
-
</mat-list-item>
|
|
124
|
+
<ng-container *ngTemplateOutlet="listItem; context: {$implicit: item}"></ng-container>
|
|
117
125
|
</ng-container>
|
|
118
126
|
<mat-divider></mat-divider>
|
|
119
127
|
</ng-container>
|
|
120
128
|
</mat-list>
|
|
121
129
|
<mat-list *ngIf="!store.groupedBy">
|
|
122
130
|
<ng-container *ngFor="let item of store.items; trackBy: trackById">
|
|
123
|
-
<
|
|
124
|
-
<span
|
|
125
|
-
matListItemTitle
|
|
126
|
-
[matTooltip]="item | dataAccessor:'title'"
|
|
127
|
-
>
|
|
128
|
-
{{ item | dataAccessor:'title' }}
|
|
129
|
-
</span>
|
|
130
|
-
<span matListItemLine>
|
|
131
|
-
{{ item | dataAccessor:'description' }}
|
|
132
|
-
</span>
|
|
133
|
-
</mat-list-item>
|
|
131
|
+
<ng-container *ngTemplateOutlet="listItem; context: {$implicit: item}"></ng-container>
|
|
134
132
|
<mat-divider></mat-divider>
|
|
135
133
|
</ng-container>
|
|
136
134
|
</mat-list>
|
|
135
|
+
|
|
136
|
+
<ng-template #listItem let-item>
|
|
137
|
+
<mat-list-item lines="2" matRipple (click)="onItemClick(item)">
|
|
138
|
+
<span
|
|
139
|
+
matListItemTitle
|
|
140
|
+
[matTooltip]="item | dataAccessor:'title'"
|
|
141
|
+
>
|
|
142
|
+
{{ item | dataAccessor:'title' }}
|
|
143
|
+
</span>
|
|
144
|
+
<span matListItemLine>
|
|
145
|
+
{{ item | dataAccessor:'description' }}
|
|
146
|
+
</span>
|
|
147
|
+
<ng-container *ngIf="(store.itemActions | resolveActions:item) as actions" matListItemMeta>
|
|
148
|
+
<button
|
|
149
|
+
*ngIf="actions.length"
|
|
150
|
+
mat-icon-button
|
|
151
|
+
(click)="onItemActionsClick(item, $event)"
|
|
152
|
+
>
|
|
153
|
+
<mat-icon>menu</mat-icon>
|
|
154
|
+
</button>
|
|
155
|
+
</ng-container>
|
|
156
|
+
</mat-list-item>
|
|
157
|
+
</ng-template>
|
|
137
158
|
`, changeDetection: ChangeDetectionStrategy.OnPush, hostDirectives: [
|
|
138
159
|
{
|
|
139
160
|
directive: SmartListOrganismStore,
|
|
140
|
-
inputs: ['items', 'groupedBy', 'groupKeys'],
|
|
161
|
+
inputs: ['items', 'itemActions', 'groupedBy', 'groupKeys'],
|
|
141
162
|
},
|
|
142
163
|
], styles: [":host{display:block}:host{display:block;flex-direction:unset;font-size:14px;height:100%}:host mat-list-item{cursor:pointer}:host mat-list .mdc-list-group__subheader{font-size:14px;line-height:1em;margin:.75rem 16px}\n"] }]
|
|
143
164
|
}] });
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ng-atomic-components-organisms-smart-list.mjs","sources":["../../../../../packages/@ng-atomic/components/src/lib/organisms/smart-list/smart-list.organism.ts","../../../../../packages/@ng-atomic/components/src/lib/organisms/smart-list/ng-atomic-components-organisms-smart-list.ts"],"sourcesContent":["import { ChangeDetectionStrategy, Component, Directive, Input, inject } from '@angular/core';\nimport { DATA_ACCESSOR, defaultDataAccessor } from '@ng-atomic/common/pipes/data-accessor';\nimport { CommonModule } from '@angular/common';\nimport { MatListModule } from '@angular/material/list';\nimport { MatTooltipModule } from '@angular/material/tooltip';\nimport { MatIconModule } from '@angular/material/icon';\nimport { MatRippleModule } from '@angular/material/core';\nimport { DataAccessorPipe } from '@ng-atomic/common/pipes/data-accessor';\nimport { NgAtomicComponent } from '@ng-atomic/core';\nimport { KeysPipe } from '@ng-atomic/common/pipes/keys';\nimport { GroupedByPipe } from '@ng-atomic/common/pipes/grouped-by';\n\nexport enum ActionId {\n CLICK_ITEM = '[@ng-atomic/components/organisms/smart-list] Click Item',\n}\n\n@Directive({standalone: true})\nexport class SmartListOrganismStore {\n @Input() items: any[] = [];\n @Input() groupedBy: string;\n @Input() groupKeys: string[];\n}\n\n@Component({\n selector: 'organisms-smart-list',\n standalone: true,\n imports: [\n CommonModule,\n MatListModule,\n MatIconModule,\n MatTooltipModule,\n MatRippleModule,\n DataAccessorPipe,\n GroupedByPipe,\n KeysPipe,\n ],\n template: `\n <mat-list *ngIf=\"store.groupedBy\">\n <ng-container *ngFor=\"let key of store.groupKeys ?? (store.items | groupedBy:store.groupedBy | keys); trackBy: trackByItem;\">\n <div mat-subheader>{{ key }}</div>\n <ng-container *ngFor=\"let item of (store.items | groupedBy:store.groupedBy)[key]; trackBy: trackById\">\n <
|
|
1
|
+
{"version":3,"file":"ng-atomic-components-organisms-smart-list.mjs","sources":["../../../../../packages/@ng-atomic/components/src/lib/organisms/smart-list/smart-list.organism.ts","../../../../../packages/@ng-atomic/components/src/lib/organisms/smart-list/ng-atomic-components-organisms-smart-list.ts"],"sourcesContent":["import { ChangeDetectionStrategy, Component, Directive, Input, inject } from '@angular/core';\nimport { DATA_ACCESSOR, defaultDataAccessor } from '@ng-atomic/common/pipes/data-accessor';\nimport { CommonModule } from '@angular/common';\nimport { MatListModule } from '@angular/material/list';\nimport { MatTooltipModule } from '@angular/material/tooltip';\nimport { MatIconModule } from '@angular/material/icon';\nimport { MatRippleModule } from '@angular/material/core';\nimport { DataAccessorPipe } from '@ng-atomic/common/pipes/data-accessor';\nimport { Actions, NgAtomicComponent } from '@ng-atomic/core';\nimport { KeysPipe } from '@ng-atomic/common/pipes/keys';\nimport { GroupedByPipe } from '@ng-atomic/common/pipes/grouped-by';\nimport { MatButtonModule } from '@angular/material/button';\nimport { ActionsPipe } from '@ng-atomic/common/pipes/actions';\n\nexport enum ActionId {\n CLICK_ITEM = '[@ng-atomic/components/organisms/smart-list] Click Item',\n ITEM_BUTTON_CLICK = '[@ng-atomic/components/organisms/smart-list] Item Button Click',\n}\n\n@Directive({standalone: true})\nexport class SmartListOrganismStore {\n @Input() items: any[] = [];\n @Input() itemActions: Actions = [];\n @Input() groupedBy: string;\n @Input() groupKeys: string[];\n}\n\n@Component({\n selector: 'organisms-smart-list',\n standalone: true,\n imports: [\n CommonModule,\n MatListModule,\n MatIconModule,\n MatButtonModule,\n MatTooltipModule,\n MatRippleModule,\n DataAccessorPipe,\n ActionsPipe,\n GroupedByPipe,\n KeysPipe,\n ],\n template: `\n <mat-list *ngIf=\"store.groupedBy\">\n <ng-container *ngFor=\"let key of store.groupKeys ?? (store.items | groupedBy:store.groupedBy | keys); trackBy: trackByItem;\">\n <div mat-subheader>{{ key }}</div>\n <ng-container *ngFor=\"let item of (store.items | groupedBy:store.groupedBy)[key]; trackBy: trackById\">\n <ng-container *ngTemplateOutlet=\"listItem; context: {$implicit: item}\"></ng-container>\n </ng-container>\n <mat-divider></mat-divider>\n </ng-container>\n </mat-list>\n <mat-list *ngIf=\"!store.groupedBy\">\n <ng-container *ngFor=\"let item of store.items; trackBy: trackById\">\n <ng-container *ngTemplateOutlet=\"listItem; context: {$implicit: item}\"></ng-container>\n <mat-divider></mat-divider>\n </ng-container>\n </mat-list>\n\n <ng-template #listItem let-item>\n <mat-list-item lines=\"2\" matRipple (click)=\"onItemClick(item)\">\n <span\n matListItemTitle\n [matTooltip]=\"item | dataAccessor:'title'\"\n >\n {{ item | dataAccessor:'title' }}\n </span>\n <span matListItemLine>\n {{ item | dataAccessor:'description' }}\n </span>\n <ng-container *ngIf=\"(store.itemActions | resolveActions:item) as actions\" matListItemMeta>\n <button\n *ngIf=\"actions.length\"\n mat-icon-button\n (click)=\"onItemActionsClick(item, $event)\"\n >\n <mat-icon>menu</mat-icon>\n </button>\n </ng-container>\n </mat-list-item>\n </ng-template>\n `,\n styleUrls: ['./smart-list.organism.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n hostDirectives: [\n {\n directive: SmartListOrganismStore,\n inputs: ['items', 'itemActions', 'groupedBy', 'groupKeys'],\n },\n ],\n})\nexport class SmartListOrganism<T> extends NgAtomicComponent {\n static readonly ActionId = ActionId;\n protected readonly store = inject(SmartListOrganismStore);\n protected readonly dataAccessor = inject(DATA_ACCESSOR) ?? defaultDataAccessor;\n protected readonly trackByItem = (_: number, item: T) => item;\n protected readonly trackById = (_: number, item: T) => this.dataAccessor(item, 'id');\n\n protected onItemClick(item: T) {\n this.dispatch({id: ActionId.CLICK_ITEM, payload: item});\n }\n\n protected onItemActionsClick(item: T, $event: Event) {\n $event.stopPropagation();\n $event.preventDefault();\n this.dispatch({id: ActionId.ITEM_BUTTON_CLICK, payload: item});\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;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,EAAA,EAAA,IAAA,EAAA,UAAA,EAAA,IAAA,EAAA,eAAe,8RACf,gBAAgB,EAAA,IAAA,EAAA,cAAA,EAAA,EAAA,EAAA,IAAA,EAAA,MAAA,EAAA,IAAA,EAChB,WAAW,EACX,IAAA,EAAA,gBAAA,EAAA,EAAA,EAAA,IAAA,EAAA,MAAA,EAAA,IAAA,EAAA,aAAa,6CACb,QAAQ,EAAA,IAAA,EAAA,MAAA,EAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,CAAA,CAAA,EAAA;;4FAmDC,iBAAiB,EAAA,UAAA,EAAA,CAAA;kBAhE7B,SAAS;+BACE,sBAAsB,EAAA,UAAA,EACpB,IAAI,EACP,OAAA,EAAA;wBACP,YAAY;wBACZ,aAAa;wBACb,aAAa;wBACb,eAAe;wBACf,gBAAgB;wBAChB,eAAe;wBACf,gBAAgB;wBAChB,WAAW;wBACX,aAAa;wBACb,QAAQ;qBACT,EACS,QAAA,EAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAuCT,EAEgB,eAAA,EAAA,uBAAuB,CAAC,MAAM,EAC/B,cAAA,EAAA;AACd,wBAAA;AACE,4BAAA,SAAS,EAAE,sBAAsB;4BACjC,MAAM,EAAE,CAAC,OAAO,EAAE,aAAa,EAAE,WAAW,EAAE,WAAW,CAAC;AAC3D,yBAAA;AACF,qBAAA,EAAA,MAAA,EAAA,CAAA,2NAAA,CAAA,EAAA,CAAA;;;ACzFH;;AAEG;;;;"}
|
|
@@ -125,7 +125,7 @@ class SmartTableOrganism {
|
|
|
125
125
|
<tr mat-row *matRowDef="let item; columns: (columns | resolveColumns | get:'name');"></tr>
|
|
126
126
|
<div class="mat-row" *matNoDataRow>No Data</div>
|
|
127
127
|
</table>
|
|
128
|
-
`, isInline: true, styles: [":host{--width: 100%;--width-SCOPED-IN-smart-table-
|
|
128
|
+
`, isInline: true, styles: [":host{--width: 100%;--width-SCOPED-IN-smart-table-FU0w: var(--width);--cell: 8px;--cell-SCOPED-IN-smart-table-FU0w: var(--cell);--column-vertical-padding: 4px;--column-vertical-padding-SCOPED-IN-smart-table-FU0w: var(--column-vertical-padding)}:host{position:relative;display:block;width:100%;height:100%;overflow:scroll}:host::-webkit-scrollbar{display:none}:host table{width:100%;max-height:100%}:host table .nowrap{width:160px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}:host table ::ng-deep th,:host table ::ng-deep td{padding:0 var(--column-vertical-padding-SCOPED-IN-smart-table-FU0w)}:host .no-data-message{display:flex;justify-content:flex-start;align-items:center;width:calc(var(--width-SCOPED-IN-smart-table-FU0w) - var(--cell-SCOPED-IN-smart-table-FU0w) * 4);height:3em;padding-left:calc(var(--cell-SCOPED-IN-smart-table-FU0w) * 2);padding-right:calc(var(--cell-SCOPED-IN-smart-table-FU0w) * 2)}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { 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]" }, { kind: "pipe", type: DomainPipe, name: "domain" }, { kind: "ngmodule", type: MatTableModule }, { kind: "component", type: i2.MatTable, selector: "mat-table, table[mat-table]", exportAs: ["matTable"] }, { kind: "directive", type: i2.MatHeaderRowDef, selector: "[matHeaderRowDef]", inputs: ["matHeaderRowDef", "matHeaderRowDefSticky"] }, { kind: "directive", type: i2.MatRowDef, selector: "[matRowDef]", inputs: ["matRowDefColumns", "matRowDefWhen"] }, { kind: "component", type: i2.MatHeaderRow, selector: "mat-header-row, tr[mat-header-row]", exportAs: ["matHeaderRow"] }, { kind: "component", type: i2.MatRow, selector: "mat-row, tr[mat-row]", exportAs: ["matRow"] }, { kind: "directive", type: i2.MatNoDataRow, selector: "ng-template[matNoDataRow]" }, { kind: "ngmodule", type: MatCheckboxModule }, { kind: "ngmodule", type: MatMenuModule }, { kind: "ngmodule", type: MatButtonModule }, { kind: "ngmodule", type: MatIconModule }, { kind: "component", type: ActionsColumnMolecule, selector: "molecules-actions-column", inputs: ["name", "itemActions"], outputs: ["action"] }, { kind: "component", type: CheckboxColumnMolecule, selector: "molecules-checkbox-column", inputs: ["name", "selection"], outputs: ["checkboxClick"] }, { kind: "component", type: SmartColumnMolecule, selector: "molecules-smart-column", inputs: ["sort"], outputs: ["headerClick"] }, { kind: "component", type: TreeColumnMolecule, selector: "molecules-tree-column", inputs: ["sort", "treeControl"], outputs: ["headerClick"] }, { kind: "pipe", type: ResolveColumnsPipe, name: "resolveColumns" }, { kind: "pipe", type: GetPipe, name: "get" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
129
129
|
}
|
|
130
130
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SmartTableOrganism, decorators: [{
|
|
131
131
|
type: Component,
|
|
@@ -183,7 +183,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
183
183
|
<tr mat-row *matRowDef="let item; columns: (columns | resolveColumns | get:'name');"></tr>
|
|
184
184
|
<div class="mat-row" *matNoDataRow>No Data</div>
|
|
185
185
|
</table>
|
|
186
|
-
`, changeDetection: ChangeDetectionStrategy.OnPush, host: { class: 'organism' }, styles: [":host{--width: 100%;--width-SCOPED-IN-smart-table-
|
|
186
|
+
`, changeDetection: ChangeDetectionStrategy.OnPush, host: { class: 'organism' }, styles: [":host{--width: 100%;--width-SCOPED-IN-smart-table-FU0w: var(--width);--cell: 8px;--cell-SCOPED-IN-smart-table-FU0w: var(--cell);--column-vertical-padding: 4px;--column-vertical-padding-SCOPED-IN-smart-table-FU0w: var(--column-vertical-padding)}:host{position:relative;display:block;width:100%;height:100%;overflow:scroll}:host::-webkit-scrollbar{display:none}:host table{width:100%;max-height:100%}:host table .nowrap{width:160px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}:host table ::ng-deep th,:host table ::ng-deep td{padding:0 var(--column-vertical-padding-SCOPED-IN-smart-table-FU0w)}:host .no-data-message{display:flex;justify-content:flex-start;align-items:center;width:calc(var(--width-SCOPED-IN-smart-table-FU0w) - var(--cell-SCOPED-IN-smart-table-FU0w) * 4);height:3em;padding-left:calc(var(--cell-SCOPED-IN-smart-table-FU0w) * 2);padding-right:calc(var(--cell-SCOPED-IN-smart-table-FU0w) * 2)}\n"] }]
|
|
187
187
|
}], propDecorators: { _columns: [{
|
|
188
188
|
type: Input,
|
|
189
189
|
args: ['columns']
|
|
@@ -9,14 +9,14 @@ class SocialLoginSectionOrganism {
|
|
|
9
9
|
this.signInWithGoogleButtonClick = new EventEmitter();
|
|
10
10
|
}
|
|
11
11
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SocialLoginSectionOrganism, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
12
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: SocialLoginSectionOrganism, isStandalone: true, selector: "organisms-social-login-section", outputs: { signInWithGoogleButtonClick: "signInWithGoogleButtonClick" }, ngImport: i0, template: "<button \n mat-raised-button \n color=\"primary\" \n (click)=\"signInWithGoogleButtonClick.emit()\"\n>Google\u30A2\u30AB\u30A6\u30F3\u30C8\u3067\u30ED\u30B0\u30A4\u30F3</button>", styles: [":host{--horizontal-padding: 16px;--horizontal-padding-SCOPED-IN-heading-
|
|
12
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: SocialLoginSectionOrganism, isStandalone: true, selector: "organisms-social-login-section", outputs: { signInWithGoogleButtonClick: "signInWithGoogleButtonClick" }, ngImport: i0, template: "<button \n mat-raised-button \n color=\"primary\" \n (click)=\"signInWithGoogleButtonClick.emit()\"\n>Google\u30A2\u30AB\u30A6\u30F3\u30C8\u3067\u30ED\u30B0\u30A4\u30F3</button>", styles: [":host{--horizontal-padding: 16px;--horizontal-padding-SCOPED-IN-heading-wWdY: var(--horizontal-padding)}:host{display:block;width:100%;padding:0 var(--horizontal-padding-SCOPED-IN-heading-wWdY);box-sizing:border-box}:host button{width:100%;height:56px}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: MatButtonModule }, { kind: "component", type: i1.MatButton, selector: " button[mat-button], button[mat-raised-button], button[mat-flat-button], button[mat-stroked-button] ", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
13
13
|
}
|
|
14
14
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SocialLoginSectionOrganism, decorators: [{
|
|
15
15
|
type: Component,
|
|
16
16
|
args: [{ selector: 'organisms-social-login-section', standalone: true, imports: [
|
|
17
17
|
CommonModule,
|
|
18
18
|
MatButtonModule,
|
|
19
|
-
], changeDetection: ChangeDetectionStrategy.OnPush, template: "<button \n mat-raised-button \n color=\"primary\" \n (click)=\"signInWithGoogleButtonClick.emit()\"\n>Google\u30A2\u30AB\u30A6\u30F3\u30C8\u3067\u30ED\u30B0\u30A4\u30F3</button>", styles: [":host{--horizontal-padding: 16px;--horizontal-padding-SCOPED-IN-heading-
|
|
19
|
+
], changeDetection: ChangeDetectionStrategy.OnPush, template: "<button \n mat-raised-button \n color=\"primary\" \n (click)=\"signInWithGoogleButtonClick.emit()\"\n>Google\u30A2\u30AB\u30A6\u30F3\u30C8\u3067\u30ED\u30B0\u30A4\u30F3</button>", styles: [":host{--horizontal-padding: 16px;--horizontal-padding-SCOPED-IN-heading-wWdY: var(--horizontal-padding)}:host{display:block;width:100%;padding:0 var(--horizontal-padding-SCOPED-IN-heading-wWdY);box-sizing:border-box}:host button{width:100%;height:56px}\n"] }]
|
|
20
20
|
}], propDecorators: { signInWithGoogleButtonClick: [{
|
|
21
21
|
type: Output
|
|
22
22
|
}] } });
|
|
@@ -21,7 +21,7 @@ class TextInputSectionOrganism {
|
|
|
21
21
|
[placeholder]="placeholder"
|
|
22
22
|
[hint]="hint"
|
|
23
23
|
[autoComplete]="autoComplete"
|
|
24
|
-
></molecules-text-input-field>`, isInline: true, styles: [":host{--horizontal-padding: 16px;--horizontal-padding-SCOPED-IN-text-input-section-
|
|
24
|
+
></molecules-text-input-field>`, isInline: true, styles: [":host{--horizontal-padding: 16px;--horizontal-padding-SCOPED-IN-text-input-section-v4M0: var(--horizontal-padding)}:host{display:block;width:100%;padding:0 var(--horizontal-padding-SCOPED-IN-text-input-section-v4M0);box-sizing:border-box}:host .molecule.input-field,:host mat-form-field{width:100%}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "component", type: TextInputFieldMolecule, selector: "molecules-text-input-field" }] }); }
|
|
25
25
|
}
|
|
26
26
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TextInputSectionOrganism, decorators: [{
|
|
27
27
|
type: Component,
|
|
@@ -36,7 +36,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
36
36
|
[placeholder]="placeholder"
|
|
37
37
|
[hint]="hint"
|
|
38
38
|
[autoComplete]="autoComplete"
|
|
39
|
-
></molecules-text-input-field>`, styles: [":host{--horizontal-padding: 16px;--horizontal-padding-SCOPED-IN-text-input-section-
|
|
39
|
+
></molecules-text-input-field>`, styles: [":host{--horizontal-padding: 16px;--horizontal-padding-SCOPED-IN-text-input-section-v4M0: var(--horizontal-padding)}:host{display:block;width:100%;padding:0 var(--horizontal-padding-SCOPED-IN-text-input-section-v4M0);box-sizing:border-box}:host .molecule.input-field,:host mat-form-field{width:100%}\n"] }]
|
|
40
40
|
}], propDecorators: { label: [{
|
|
41
41
|
type: Input
|
|
42
42
|
}], placeholder: [{
|
|
@@ -21,7 +21,7 @@ class TextareaSectionOrganism {
|
|
|
21
21
|
[rows]="rows"
|
|
22
22
|
[placeholder]="placeholder"
|
|
23
23
|
(action)="action.emit($event)"
|
|
24
|
-
></molecules-textarea-field>`, isInline: true, styles: [":host{--vertical-padding: 16px;--vertical-padding-SCOPED-IN-textarea-section-
|
|
24
|
+
></molecules-textarea-field>`, isInline: true, styles: [":host{--vertical-padding: 16px;--vertical-padding-SCOPED-IN-textarea-section-iqaL: var(--vertical-padding)}:host{display:block;padding:0 var(--vertical-padding-SCOPED-IN-textarea-section-iqaL);box-sizing:border-box}:host molecules-textarea-field{width:100%}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "component", type: TextareaFieldMolecule, selector: "molecules-textarea-field", inputs: ["label", "hint", "placeholder", "control", "rows"], outputs: ["action"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
25
25
|
}
|
|
26
26
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TextareaSectionOrganism, decorators: [{
|
|
27
27
|
type: Component,
|
|
@@ -36,7 +36,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
36
36
|
[rows]="rows"
|
|
37
37
|
[placeholder]="placeholder"
|
|
38
38
|
(action)="action.emit($event)"
|
|
39
|
-
></molecules-textarea-field>`, changeDetection: ChangeDetectionStrategy.OnPush, styles: [":host{--vertical-padding: 16px;--vertical-padding-SCOPED-IN-textarea-section-
|
|
39
|
+
></molecules-textarea-field>`, changeDetection: ChangeDetectionStrategy.OnPush, styles: [":host{--vertical-padding: 16px;--vertical-padding-SCOPED-IN-textarea-section-iqaL: var(--vertical-padding)}:host{display:block;padding:0 var(--vertical-padding-SCOPED-IN-textarea-section-iqaL);box-sizing:border-box}:host molecules-textarea-field{width:100%}\n"] }]
|
|
40
40
|
}], propDecorators: { label: [{
|
|
41
41
|
type: Input
|
|
42
42
|
}], rows: [{
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import * as i1 from '@angular/common';
|
|
2
|
+
import { CommonModule } from '@angular/common';
|
|
3
|
+
import * as i0 from '@angular/core';
|
|
4
|
+
import { inject, Component, ChangeDetectionStrategy } from '@angular/core';
|
|
5
|
+
import { MAT_BOTTOM_SHEET_DATA, MatBottomSheetRef } from '@angular/material/bottom-sheet';
|
|
6
|
+
import * as i2 from '@angular/material/list';
|
|
7
|
+
import { MatListModule } from '@angular/material/list';
|
|
8
|
+
import { NgAtomicComponent } from '@ng-atomic/core';
|
|
9
|
+
import { IconAtom } from '@ng-atomic/components/atoms/icon';
|
|
10
|
+
|
|
11
|
+
class ActionsSheet extends NgAtomicComponent {
|
|
12
|
+
constructor() {
|
|
13
|
+
super(...arguments);
|
|
14
|
+
this.actions = inject(MAT_BOTTOM_SHEET_DATA);
|
|
15
|
+
this.sheetRef = inject((MatBottomSheetRef));
|
|
16
|
+
}
|
|
17
|
+
onItemClick(action) {
|
|
18
|
+
this.dispatch(action, 'root');
|
|
19
|
+
this.sheetRef.dismiss(action);
|
|
20
|
+
}
|
|
21
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ActionsSheet, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
22
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: ActionsSheet, isStandalone: true, selector: "sheets-actions", usesInheritance: true, ngImport: i0, template: `
|
|
23
|
+
<mat-action-list>
|
|
24
|
+
<button mat-list-item *ngFor="let action of actions" (click)="onItemClick(action)">
|
|
25
|
+
<atoms-icon matListItemIcon [name]="action.icon" [color]="action.color"></atoms-icon>
|
|
26
|
+
<div matListItemTitle [style.color]="action.color">{{ action.name }}</div>
|
|
27
|
+
</button>
|
|
28
|
+
</mat-action-list>
|
|
29
|
+
`, isInline: true, styles: [""], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "ngmodule", type: MatListModule }, { kind: "component", type: i2.MatActionList, selector: "mat-action-list", exportAs: ["matActionList"] }, { kind: "component", type: i2.MatListItem, selector: "mat-list-item, a[mat-list-item], button[mat-list-item]", inputs: ["activated"], exportAs: ["matListItem"] }, { kind: "directive", type: i2.MatListItemIcon, selector: "[matListItemIcon]" }, { kind: "directive", type: i2.MatListItemTitle, selector: "[matListItemTitle]" }, { kind: "component", type: IconAtom, selector: "atoms-icon", inputs: ["name", "color"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
30
|
+
}
|
|
31
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ActionsSheet, decorators: [{
|
|
32
|
+
type: Component,
|
|
33
|
+
args: [{ selector: 'sheets-actions', standalone: true, imports: [
|
|
34
|
+
CommonModule,
|
|
35
|
+
MatListModule,
|
|
36
|
+
IconAtom,
|
|
37
|
+
], template: `
|
|
38
|
+
<mat-action-list>
|
|
39
|
+
<button mat-list-item *ngFor="let action of actions" (click)="onItemClick(action)">
|
|
40
|
+
<atoms-icon matListItemIcon [name]="action.icon" [color]="action.color"></atoms-icon>
|
|
41
|
+
<div matListItemTitle [style.color]="action.color">{{ action.name }}</div>
|
|
42
|
+
</button>
|
|
43
|
+
</mat-action-list>
|
|
44
|
+
`, changeDetection: ChangeDetectionStrategy.OnPush }]
|
|
45
|
+
}] });
|
|
46
|
+
|
|
47
|
+
/**
|
|
48
|
+
* Generated bundle index. Do not edit.
|
|
49
|
+
*/
|
|
50
|
+
|
|
51
|
+
export { ActionsSheet };
|
|
52
|
+
//# sourceMappingURL=ng-atomic-components-sheets-actions.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ng-atomic-components-sheets-actions.mjs","sources":["../../../../../packages/@ng-atomic/components/src/lib/sheets/actions/actions.sheet.ts","../../../../../packages/@ng-atomic/components/src/lib/sheets/actions/ng-atomic-components-sheets-actions.ts"],"sourcesContent":["import { CommonModule } from '@angular/common';\nimport { ChangeDetectionStrategy, Component, inject } from '@angular/core';\nimport { MatBottomSheetRef, MAT_BOTTOM_SHEET_DATA } from '@angular/material/bottom-sheet';\nimport { MatListModule } from '@angular/material/list';\nimport { Action, NgAtomicComponent } from '@ng-atomic/core';\nimport { IconAtom } from '@ng-atomic/components/atoms/icon';\n\n@Component({\n selector: 'sheets-actions',\n standalone: true,\n imports: [\n CommonModule,\n MatListModule,\n IconAtom,\n ],\n template: `\n <mat-action-list>\n <button mat-list-item *ngFor=\"let action of actions\" (click)=\"onItemClick(action)\">\n <atoms-icon matListItemIcon [name]=\"action.icon\" [color]=\"action.color\"></atoms-icon>\n <div matListItemTitle [style.color]=\"action.color\">{{ action.name }}</div>\n </button>\n </mat-action-list>\n `,\n styleUrls: ['./actions.sheet.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush\n})\nexport class ActionsSheet extends NgAtomicComponent {\n protected actions = inject<Action[]>(MAT_BOTTOM_SHEET_DATA);\n private sheetRef = inject(MatBottomSheetRef<ActionsSheet>);\n\n protected onItemClick(action: Action): void {\n this.dispatch(action, 'root');\n this.sheetRef.dismiss(action);\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;AA0BM,MAAO,YAAa,SAAQ,iBAAiB,CAAA;AAnBnD,IAAA,WAAA,GAAA;;AAoBY,QAAA,IAAA,CAAA,OAAO,GAAG,MAAM,CAAW,qBAAqB,CAAC,CAAC;AACpD,QAAA,IAAA,CAAA,QAAQ,GAAG,MAAM,EAAC,iBAA+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,EAAA,CAAA,aAAA,CAAA,EAAA,EAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAA,EAAA,CAAA,eAAA,EAAA,QAAA,EAAA,mBAAA,EAAA,EAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAA,EAAA,CAAA,gBAAA,EAAA,QAAA,EAAA,oBAAA,EAAA,EAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EACb,QAAQ,EAAA,QAAA,EAAA,YAAA,EAAA,MAAA,EAAA,CAAA,MAAA,EAAA,OAAA,CAAA,EAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,CAAA,CAAA,EAAA;;4FAaC,YAAY,EAAA,UAAA,EAAA,CAAA;kBAnBxB,SAAS;+BACE,gBAAgB,EAAA,UAAA,EACd,IAAI,EACP,OAAA,EAAA;wBACP,YAAY;wBACZ,aAAa;wBACb,QAAQ;qBACT,EACS,QAAA,EAAA,CAAA;;;;;;;GAOT,EAEgB,eAAA,EAAA,uBAAuB,CAAC,MAAM,EAAA,CAAA;;;ACxBjD;;AAEG;;;;"}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { Injectable, NgModule } from '@angular/core';
|
|
3
|
+
import * as i1 from '@angular/material/bottom-sheet';
|
|
4
|
+
import { MatBottomSheetModule } from '@angular/material/bottom-sheet';
|
|
5
|
+
|
|
6
|
+
class SheetService {
|
|
7
|
+
constructor(bottomSheet) {
|
|
8
|
+
this.bottomSheet = bottomSheet;
|
|
9
|
+
}
|
|
10
|
+
async openActions(actions) {
|
|
11
|
+
return import('@ng-atomic/components/sheets/actions').then(({ ActionsSheet }) => {
|
|
12
|
+
return this.bottomSheet.open(ActionsSheet, { data: actions });
|
|
13
|
+
});
|
|
14
|
+
}
|
|
15
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SheetService, deps: [{ token: i1.MatBottomSheet }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
16
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SheetService }); }
|
|
17
|
+
}
|
|
18
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SheetService, decorators: [{
|
|
19
|
+
type: Injectable
|
|
20
|
+
}], ctorParameters: function () { return [{ type: i1.MatBottomSheet }]; } });
|
|
21
|
+
|
|
22
|
+
class NgAtomicSheetsModule {
|
|
23
|
+
static forRoot() {
|
|
24
|
+
return {
|
|
25
|
+
ngModule: NgAtomicSheetsModule,
|
|
26
|
+
providers: [],
|
|
27
|
+
};
|
|
28
|
+
}
|
|
29
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: NgAtomicSheetsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
30
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.12", ngImport: i0, type: NgAtomicSheetsModule, imports: [MatBottomSheetModule] }); }
|
|
31
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: NgAtomicSheetsModule, providers: [SheetService], imports: [MatBottomSheetModule] }); }
|
|
32
|
+
}
|
|
33
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: NgAtomicSheetsModule, decorators: [{
|
|
34
|
+
type: NgModule,
|
|
35
|
+
args: [{
|
|
36
|
+
imports: [
|
|
37
|
+
MatBottomSheetModule
|
|
38
|
+
],
|
|
39
|
+
providers: [SheetService]
|
|
40
|
+
}]
|
|
41
|
+
}] });
|
|
42
|
+
|
|
43
|
+
/**
|
|
44
|
+
* Generated bundle index. Do not edit.
|
|
45
|
+
*/
|
|
46
|
+
|
|
47
|
+
export { NgAtomicSheetsModule, SheetService };
|
|
48
|
+
//# sourceMappingURL=ng-atomic-components-sheets.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ng-atomic-components-sheets.mjs","sources":["../../../../../packages/@ng-atomic/components/src/lib/sheets/sheets.service.ts","../../../../../packages/@ng-atomic/components/src/lib/sheets/sheets.module.ts","../../../../../packages/@ng-atomic/components/src/lib/sheets/ng-atomic-components-sheets.ts"],"sourcesContent":["import { Injectable } from '@angular/core';\nimport { MatBottomSheet, MatBottomSheetRef } from '@angular/material/bottom-sheet';\nimport { Action } from '@ng-atomic/core';\n\n@Injectable()\nexport class SheetService {\n\n constructor(private bottomSheet: MatBottomSheet) { }\n\n async openActions(actions: Action[]): Promise<MatBottomSheetRef> {\n return import('@ng-atomic/components/sheets/actions').then(({ActionsSheet}) => {\n return this.bottomSheet.open(ActionsSheet, {data: actions});\n });\n }\n}\n","import { NgModule } from \"@angular/core\";\nimport { MatBottomSheetModule } from '@angular/material/bottom-sheet';\nimport { SheetService } from \"./sheets.service\";\n\n@NgModule({\n imports: [\n MatBottomSheetModule\n ],\n providers: [SheetService]\n})\nexport class NgAtomicSheetsModule {\n static forRoot() {\n return {\n ngModule: NgAtomicSheetsModule,\n providers: [\n\n ],\n };\n }\n}","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;MAKa,YAAY,CAAA;AAEvB,IAAA,WAAA,CAAoB,WAA2B,EAAA;QAA3B,IAAW,CAAA,WAAA,GAAX,WAAW,CAAgB;KAAK;IAEpD,MAAM,WAAW,CAAC,OAAiB,EAAA;AACjC,QAAA,OAAO,OAAO,sCAAsC,CAAC,CAAC,IAAI,CAAC,CAAC,EAAC,YAAY,EAAC,KAAI;AAC5E,YAAA,OAAO,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,YAAY,EAAE,EAAC,IAAI,EAAE,OAAO,EAAC,CAAC,CAAC;AAC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 class EntranceTemplate {
|
|
|
65
65
|
></organisms-action-buttons-section>
|
|
66
66
|
</frames-auto-layout>
|
|
67
67
|
</frames-card>
|
|
68
|
-
`, isInline: true, styles: [":host{--horizontal-padding: 64px;--horizontal-padding-SCOPED-IN-entrance-
|
|
68
|
+
`, isInline: true, styles: [":host{--horizontal-padding: 64px;--horizontal-padding-SCOPED-IN-entrance-zl1K: var(--horizontal-padding);--background-color: #eee;--background-color-SCOPED-IN-entrance-zl1K: var(--background-color)}:host{display:flex;justify-content:center;align-items:center;background-color:var(--background-color-SCOPED-IN-entrance-zl1K);width:100%;height:100%}:host frames-card{display:flex;flex-direction:column;width:600px;max-width:calc(100% - 32px);height:-moz-fit-content;height:fit-content}:host frames-card *{max-width:calc(100% - 32px);--horizontal-padding: var(--horizontal-padding-SCOPED-IN-entrance-zl1K)}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: AutoLayoutFrame, selector: "frames-auto-layout" }, { kind: "component", type: CardFrame, selector: "frames-card" }, { kind: "component", type: ActionButtonsSectionOrganism, selector: "organisms-action-buttons-section", inputs: ["actions"], outputs: ["action"] }, { kind: "component", type: HeadingOrganism, selector: "organisms-heading", inputs: ["level"] }, { kind: "component", type: TextInputSectionOrganism, selector: "organisms-text-input-section", inputs: ["label", "placeholder", "type", "hint", "control", "autoComplete"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
69
69
|
}
|
|
70
70
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: EntranceTemplate, decorators: [{
|
|
71
71
|
type: Component,
|
|
@@ -97,7 +97,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
97
97
|
></organisms-action-buttons-section>
|
|
98
98
|
</frames-auto-layout>
|
|
99
99
|
</frames-card>
|
|
100
|
-
`, host: { class: 'template' }, changeDetection: ChangeDetectionStrategy.OnPush, styles: [":host{--horizontal-padding: 64px;--horizontal-padding-SCOPED-IN-entrance-
|
|
100
|
+
`, host: { class: 'template' }, changeDetection: ChangeDetectionStrategy.OnPush, styles: [":host{--horizontal-padding: 64px;--horizontal-padding-SCOPED-IN-entrance-zl1K: var(--horizontal-padding);--background-color: #eee;--background-color-SCOPED-IN-entrance-zl1K: var(--background-color)}:host{display:flex;justify-content:center;align-items:center;background-color:var(--background-color-SCOPED-IN-entrance-zl1K);width:100%;height:100%}:host frames-card{display:flex;flex-direction:column;width:600px;max-width:calc(100% - 32px);height:-moz-fit-content;height:fit-content}:host frames-card *{max-width:calc(100% - 32px);--horizontal-padding: var(--horizontal-padding-SCOPED-IN-entrance-zl1K)}\n"] }]
|
|
101
101
|
}], propDecorators: { form: [{
|
|
102
102
|
type: Input
|
|
103
103
|
}], actions: [{
|
|
@@ -38,7 +38,7 @@ class IconButtonMenuTemplate extends NgAtomicComponent {
|
|
|
38
38
|
>
|
|
39
39
|
<mat-icon>{{ action.icon }}</mat-icon>
|
|
40
40
|
</button>
|
|
41
|
-
`, isInline: true, styles: [":host{width:100%;height:100%;background:white;display:block;--primary-color: #3f51b5;--primary-color-SCOPED-IN-icon-button-menu-
|
|
41
|
+
`, isInline: true, styles: [":host{width:100%;height:100%;background:white;display:block;--primary-color: #3f51b5;--primary-color-SCOPED-IN-icon-button-menu-0vWW: var(--primary-color);--mdc-icon-button-icon-color: white;--mdc-icon-button-icon-color-SCOPED-IN-icon-button-menu-0vWW: var(--mdc-icon-button-icon-color)}:host{display:flex;flex-direction:column;justify-content:start;align-items:center;width:100%;height:100%;background-color:var(--primary-color-SCOPED-IN-icon-button-menu-0vWW)}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "ngmodule", type: MatButtonModule }, { kind: "component", type: i2.MatIconButton, selector: "button[mat-icon-button]", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }, { kind: "ngmodule", type: MatIconModule }, { kind: "component", type: i3.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
42
42
|
}
|
|
43
43
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: IconButtonMenuTemplate, decorators: [{
|
|
44
44
|
type: Component,
|
|
@@ -60,7 +60,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
60
60
|
directive: IconButtonMenuTemplateStore,
|
|
61
61
|
inputs: ['actions'],
|
|
62
62
|
},
|
|
63
|
-
], styles: [":host{width:100%;height:100%;background:white;display:block;--primary-color: #3f51b5;--primary-color-SCOPED-IN-icon-button-menu-
|
|
63
|
+
], styles: [":host{width:100%;height:100%;background:white;display:block;--primary-color: #3f51b5;--primary-color-SCOPED-IN-icon-button-menu-0vWW: var(--primary-color);--mdc-icon-button-icon-color: white;--mdc-icon-button-icon-color-SCOPED-IN-icon-button-menu-0vWW: var(--mdc-icon-button-icon-color)}:host{display:flex;flex-direction:column;justify-content:start;align-items:center;width:100%;height:100%;background-color:var(--primary-color-SCOPED-IN-icon-button-menu-0vWW)}\n"] }]
|
|
64
64
|
}] });
|
|
65
65
|
|
|
66
66
|
/**
|
|
@@ -36,7 +36,7 @@ class MenuTemplate extends NgAtomicComponent {
|
|
|
36
36
|
></organisms-navigation-list>
|
|
37
37
|
</div>
|
|
38
38
|
<organisms-menu-footer injectable></organisms-menu-footer>
|
|
39
|
-
`, isInline: true, styles: [":host{--primary-color: #3f51b5;--primary-color-SCOPED-IN-menu-
|
|
39
|
+
`, isInline: true, styles: [":host{--primary-color: #3f51b5;--primary-color-SCOPED-IN-menu-WsyA: var(--primary-color);--secondary-color: #3f51b5;--secondary-color-SCOPED-IN-menu-WsyA: var(--secondary-color);--width: 100%;--width-SCOPED-IN-menu-WsyA: var(--width);--height: 100%;--height-SCOPED-IN-menu-WsyA: var(--height)}:host{display:flex;flex-direction:column;justify-content:space-between;width:var(--width-SCOPED-IN-menu-WsyA);height:var(--height-SCOPED-IN-menu-WsyA);color:#fff;background-color:var(--primary-color-SCOPED-IN-menu-WsyA)}:host organisms-navigation-list{transition:width .5s;--primary-color: var(--primary-color-SCOPED-IN-menu-WsyA);--secondary-color: var(--secondary-color-SCOPED-IN-menu-WsyA)}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: MenuHeaderOrganismStore, selector: "organisms-menu-header" }, { kind: "directive", type: NavigationListOrganismStore, selector: "organisms-navigation-list", inputs: ["actions"] }, { kind: "directive", type:
|
|
40
40
|
// NavigationListOrganism,
|
|
41
41
|
MenuFooterOrganismStore, selector: "organisms-menu-footer" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
42
42
|
}
|
|
@@ -62,7 +62,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
62
62
|
directive: MenuTemplateStore,
|
|
63
63
|
inputs: ['actions'],
|
|
64
64
|
},
|
|
65
|
-
], styles: [":host{--primary-color: #3f51b5;--primary-color-SCOPED-IN-menu-
|
|
65
|
+
], styles: [":host{--primary-color: #3f51b5;--primary-color-SCOPED-IN-menu-WsyA: var(--primary-color);--secondary-color: #3f51b5;--secondary-color-SCOPED-IN-menu-WsyA: var(--secondary-color);--width: 100%;--width-SCOPED-IN-menu-WsyA: var(--width);--height: 100%;--height-SCOPED-IN-menu-WsyA: var(--height)}:host{display:flex;flex-direction:column;justify-content:space-between;width:var(--width-SCOPED-IN-menu-WsyA);height:var(--height-SCOPED-IN-menu-WsyA);color:#fff;background-color:var(--primary-color-SCOPED-IN-menu-WsyA)}:host organisms-navigation-list{transition:width .5s;--primary-color: var(--primary-color-SCOPED-IN-menu-WsyA);--secondary-color: var(--secondary-color-SCOPED-IN-menu-WsyA)}\n"] }]
|
|
66
66
|
}] });
|
|
67
67
|
|
|
68
68
|
/**
|
|
@@ -131,7 +131,7 @@ class SmartCrudTemplate extends NgAtomicComponent {
|
|
|
131
131
|
></organisms-action-buttons-section>
|
|
132
132
|
</frames-auto-layout>
|
|
133
133
|
</frames-scroll>
|
|
134
|
-
`, isInline: true, styles: [":host{--horizontal-padding: 16px;--horizontal-padding-SCOPED-IN-smart-crud-
|
|
134
|
+
`, isInline: true, styles: [":host{--horizontal-padding: 16px;--horizontal-padding-SCOPED-IN-smart-crud-qnnz: var(--horizontal-padding);--vertical-padding: 24px;--vertical-padding-SCOPED-IN-smart-crud-qnnz: var(--vertical-padding);--gap: 16px;--gap-SCOPED-IN-smart-crud-qnnz: var(--gap)}:host{display:block;width:100%;height:100%;background:white}:host frames-auto-layout{height:-moz-fit-content;height:fit-content;--gap: var(--gap-SCOPED-IN-smart-crud-qnnz);--vertical-padding: var(--vertical-padding-SCOPED-IN-smart-crud-qnnz)}:host frames-auto-layout *{--horizontal-padding: var(--horizontal-padding-SCOPED-IN-smart-crud-qnnz)}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { 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]" }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "pipe", type: DomainPipe, name: "domain" }, { kind: "pipe", type: SmartFieldPipe, name: "smartField" }, { kind: "component", type: AutoLayoutFrame, selector: "frames-auto-layout" }, { kind: "component", type: ScrollFrame, selector: "frames-scroll" }, { kind: "component", type: ActionButtonsSectionOrganism, selector: "organisms-action-buttons-section", inputs: ["actions"], outputs: ["action"] }, { kind: "component", type: ActionInputSectionOrganism, selector: "organisms-action-input-section", inputs: ["control", "label", "placeholder", "actions"] }, { kind: "component", type: FileInputSectionOrganism, selector: "organisms-file-input-section", inputs: ["control", "label", "placeholder", "hint", "progress"] }, { kind: "component", type: NavigatorOrganism, selector: "organisms-navigator", inputs: ["startActions", "endActions"] }, { kind: "component", type: DateInputSectionOrganism, selector: "organisms-date-input-section", inputs: ["control", "label", "placeholder"] }, { kind: "component", type: TextInputSectionOrganism, selector: "organisms-text-input-section", inputs: ["label", "placeholder", "type", "hint", "control", "autoComplete"] }, { kind: "component", type: TextareaSectionOrganism, selector: "organisms-textarea-section", inputs: ["label", "rows", "placeholder", "hint", "control"], outputs: ["action"] }, { kind: "component", type: SelectInputSectionOrganism, selector: "organisms-select-input-section", inputs: ["label", "control", "options"] }, { kind: "component", type: HeaderMolecule, selector: "molecules-header", inputs: ["title", "description"] }, { kind: "pipe", type: SignalPipe, name: "signal" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
135
135
|
}
|
|
136
136
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SmartCrudTemplate, decorators: [{
|
|
137
137
|
type: Component,
|
|
@@ -228,7 +228,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
228
228
|
></organisms-action-buttons-section>
|
|
229
229
|
</frames-auto-layout>
|
|
230
230
|
</frames-scroll>
|
|
231
|
-
`, changeDetection: ChangeDetectionStrategy.OnPush, host: { class: 'template' }, styles: [":host{--horizontal-padding: 16px;--horizontal-padding-SCOPED-IN-smart-crud-
|
|
231
|
+
`, changeDetection: ChangeDetectionStrategy.OnPush, host: { class: 'template' }, styles: [":host{--horizontal-padding: 16px;--horizontal-padding-SCOPED-IN-smart-crud-qnnz: var(--horizontal-padding);--vertical-padding: 24px;--vertical-padding-SCOPED-IN-smart-crud-qnnz: var(--vertical-padding);--gap: 16px;--gap-SCOPED-IN-smart-crud-qnnz: var(--gap)}:host{display:block;width:100%;height:100%;background:white}:host frames-auto-layout{height:-moz-fit-content;height:fit-content;--gap: var(--gap-SCOPED-IN-smart-crud-qnnz);--vertical-padding: var(--vertical-padding-SCOPED-IN-smart-crud-qnnz)}:host frames-auto-layout *{--horizontal-padding: var(--horizontal-padding-SCOPED-IN-smart-crud-qnnz)}\n"] }]
|
|
232
232
|
}], propDecorators: { title: [{
|
|
233
233
|
type: Input
|
|
234
234
|
}], form: [{
|