@ng-atomic/components 18.4.0 → 18.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/atoms/atoms.module.d.ts +6 -2
- package/atoms/smart-menu-button/smart-menu-button.atom.d.ts +8 -7
- package/components.module.d.ts +0 -15
- package/esm2022/atoms/atoms.module.mjs +7 -2
- package/esm2022/atoms/icon/icon.atom.mjs +2 -2
- package/esm2022/atoms/smart-menu-button/smart-menu-button.atom.mjs +27 -22
- package/esm2022/components.module.mjs +19 -44
- package/esm2022/frames/app/app.frame.mjs +5 -3
- package/esm2022/frames/auto-layout/auto-layout.frame.mjs +2 -2
- package/esm2022/frames/columns/columns.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/entrance/entrance.frame.mjs +2 -2
- package/esm2022/frames/fab/fab.frame.mjs +2 -2
- package/esm2022/frames/frames.module.mjs +19 -14
- package/esm2022/frames/line-up/line-up.frame.mjs +2 -2
- package/esm2022/frames/loading/loading.frame.mjs +2 -2
- package/esm2022/frames/router-outlet/router-outlet.frame.mjs +2 -2
- package/esm2022/frames/scroll/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/date-range-input-field/date-range-input-field.molecule.mjs +2 -2
- package/esm2022/molecules/grid-item/grid-item.molecule.mjs +2 -2
- package/esm2022/molecules/loading-box/loading-box.molecule.mjs +2 -2
- package/esm2022/molecules/molecules.module.mjs +18 -16
- package/esm2022/molecules/navigation-list-item/navigation-list-item.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/date-range-input-section/date-range-input-section.organism.mjs +2 -2
- package/esm2022/organisms/definition-list/definition-list.organism.mjs +2 -2
- package/esm2022/organisms/file-input-section/file-input-section.organism.mjs +2 -2
- package/esm2022/organisms/grid-cards-section/grid-cards-section.organism.mjs +2 -2
- package/esm2022/organisms/heading/heading.organism.mjs +2 -2
- package/esm2022/organisms/menu-footer/menu-footer.organism.mjs +2 -2
- package/esm2022/organisms/menu-header/menu-header.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 +20 -31
- package/esm2022/organisms/number-input-section/number-input-section.organism.mjs +2 -2
- package/esm2022/organisms/organisms.module.mjs +66 -61
- package/esm2022/organisms/paginator/paginator.organism.mjs +2 -2
- package/esm2022/organisms/password-input-section/password-input-section.organism.mjs +2 -2
- package/esm2022/organisms/select-input-section/select-input-section.organism.mjs +2 -2
- package/esm2022/organisms/slider-input-section/slider-input-section.organism.mjs +2 -2
- package/esm2022/organisms/social-login-section/social-login-section.organism.mjs +2 -2
- package/esm2022/organisms/table/table.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/organisms/thread-messages-section/thread-messages-section.organism.mjs +2 -2
- package/esm2022/pages/_index/index.page.mjs +8 -13
- package/esm2022/pages/columns/columns.page.mjs +2 -2
- package/esm2022/pages/form/form.page.mjs +8 -6
- package/esm2022/pages/pages.module.mjs +10 -7
- package/esm2022/templates/_index/index.template.mjs +7 -7
- package/esm2022/templates/background/background.template.mjs +2 -2
- package/esm2022/templates/code-editor/code-editor.template.mjs +2 -2
- package/esm2022/templates/columns/columns.template.mjs +3 -3
- package/esm2022/templates/entrance/entrance.template.mjs +19 -17
- package/esm2022/templates/form/form.builder.mjs +2 -2
- package/esm2022/templates/form/form.template.mjs +3 -3
- 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/selection/selection.template.mjs +2 -2
- package/esm2022/templates/settings/settings.template.mjs +2 -2
- package/esm2022/templates/templates.module.mjs +17 -25
- package/fesm2022/ng-atomic-components-atoms-icon.mjs +2 -2
- package/fesm2022/ng-atomic-components-atoms-smart-menu-button.mjs +25 -21
- package/fesm2022/ng-atomic-components-atoms-smart-menu-button.mjs.map +1 -1
- package/fesm2022/ng-atomic-components-atoms.mjs +7 -2
- package/fesm2022/ng-atomic-components-atoms.mjs.map +1 -1
- package/fesm2022/ng-atomic-components-frames-app.mjs +4 -2
- package/fesm2022/ng-atomic-components-frames-app.mjs.map +1 -1
- package/fesm2022/ng-atomic-components-frames-auto-layout.mjs +2 -2
- package/fesm2022/ng-atomic-components-frames-columns.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-entrance.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-loading.mjs +2 -2
- package/fesm2022/ng-atomic-components-frames-router-outlet.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 +19 -14
- 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-date-range-input-field.mjs +2 -2
- package/fesm2022/ng-atomic-components-molecules-grid-item.mjs +2 -2
- package/fesm2022/ng-atomic-components-molecules-loading-box.mjs +2 -2
- package/fesm2022/ng-atomic-components-molecules-navigation-list-item.mjs +2 -2
- package/fesm2022/ng-atomic-components-molecules-select-input-field.mjs +2 -2
- package/fesm2022/ng-atomic-components-molecules.mjs +18 -16
- package/fesm2022/ng-atomic-components-molecules.mjs.map +1 -1
- 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-date-range-input-section.mjs +2 -2
- package/fesm2022/ng-atomic-components-organisms-definition-list.mjs +2 -2
- package/fesm2022/ng-atomic-components-organisms-file-input-section.mjs +2 -2
- package/fesm2022/ng-atomic-components-organisms-grid-cards-section.mjs +2 -2
- package/fesm2022/ng-atomic-components-organisms-heading.mjs +2 -2
- package/fesm2022/ng-atomic-components-organisms-menu-footer.mjs +2 -2
- package/fesm2022/ng-atomic-components-organisms-menu-header.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 +19 -30
- package/fesm2022/ng-atomic-components-organisms-navigator.mjs.map +1 -1
- package/fesm2022/ng-atomic-components-organisms-number-input-section.mjs +2 -2
- package/fesm2022/ng-atomic-components-organisms-paginator.mjs +2 -2
- package/fesm2022/ng-atomic-components-organisms-password-input-section.mjs +2 -2
- package/fesm2022/ng-atomic-components-organisms-select-input-section.mjs +2 -2
- package/fesm2022/ng-atomic-components-organisms-slider-input-section.mjs +2 -2
- package/fesm2022/ng-atomic-components-organisms-social-login-section.mjs +2 -2
- package/fesm2022/ng-atomic-components-organisms-table.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-organisms-thread-messages-section.mjs +2 -2
- package/fesm2022/ng-atomic-components-organisms.mjs +66 -61
- package/fesm2022/ng-atomic-components-organisms.mjs.map +1 -1
- package/fesm2022/ng-atomic-components-pages-_index.mjs +7 -12
- package/fesm2022/ng-atomic-components-pages-_index.mjs.map +1 -1
- package/fesm2022/ng-atomic-components-pages-columns.mjs +2 -2
- package/fesm2022/ng-atomic-components-pages-form.mjs +7 -5
- package/fesm2022/ng-atomic-components-pages-form.mjs.map +1 -1
- package/fesm2022/ng-atomic-components-pages.mjs +10 -7
- package/fesm2022/ng-atomic-components-pages.mjs.map +1 -1
- package/fesm2022/ng-atomic-components-templates-_index.mjs +6 -6
- package/fesm2022/ng-atomic-components-templates-_index.mjs.map +1 -1
- package/fesm2022/ng-atomic-components-templates-background.mjs +2 -2
- package/fesm2022/ng-atomic-components-templates-code-editor.mjs +2 -2
- package/fesm2022/ng-atomic-components-templates-code-editor.mjs.map +1 -1
- package/fesm2022/ng-atomic-components-templates-columns.mjs +2 -2
- package/fesm2022/ng-atomic-components-templates-columns.mjs.map +1 -1
- package/fesm2022/ng-atomic-components-templates-entrance.mjs +18 -16
- package/fesm2022/ng-atomic-components-templates-entrance.mjs.map +1 -1
- package/fesm2022/ng-atomic-components-templates-form.mjs +4 -4
- package/fesm2022/ng-atomic-components-templates-form.mjs.map +1 -1
- 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-selection.mjs +2 -2
- package/fesm2022/ng-atomic-components-templates-settings.mjs +2 -2
- package/fesm2022/ng-atomic-components-templates.mjs +17 -25
- package/fesm2022/ng-atomic-components-templates.mjs.map +1 -1
- package/fesm2022/ng-atomic-components.mjs +19 -44
- package/fesm2022/ng-atomic-components.mjs.map +1 -1
- package/frames/app/app.frame.d.ts +1 -0
- package/frames/frames.module.d.ts +3 -20
- package/molecules/molecules.module.d.ts +22 -0
- package/organisms/navigator/navigator.organism.d.ts +4 -3
- package/organisms/organisms.module.d.ts +56 -1
- package/package.json +19 -19
- package/pages/form/form.page.d.ts +9 -9
- package/pages/pages.module.d.ts +1 -0
- package/templates/templates.module.d.ts +24 -1
|
@@ -22,18 +22,18 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.2", ngImpor
|
|
|
22
22
|
type: Pipe,
|
|
23
23
|
args: [{ standalone: true, name: 'stope' }]
|
|
24
24
|
}] });
|
|
25
|
-
let
|
|
25
|
+
let MenuButtonAtomStore = class MenuButtonAtomStore extends InjectableComponent {
|
|
26
26
|
constructor() {
|
|
27
27
|
super(...arguments);
|
|
28
28
|
this.actions = input([]);
|
|
29
29
|
this.type = input('icon-button');
|
|
30
30
|
this.action = input(_computed(() => {
|
|
31
|
-
if (this.actions()
|
|
31
|
+
if (this.actions()?.length === 1) {
|
|
32
32
|
return this.actions()[0];
|
|
33
33
|
}
|
|
34
34
|
else {
|
|
35
35
|
return {
|
|
36
|
-
id: '
|
|
36
|
+
id: 'more_vert',
|
|
37
37
|
name: 'メニューを開く',
|
|
38
38
|
icon: 'more_vert',
|
|
39
39
|
children: this.actions(),
|
|
@@ -41,35 +41,35 @@ let SmartMenuButtonAtomStore = class SmartMenuButtonAtomStore extends Injectable
|
|
|
41
41
|
}
|
|
42
42
|
}));
|
|
43
43
|
}
|
|
44
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.2", ngImport: i0, type:
|
|
45
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "18.1.2", type:
|
|
44
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.2", ngImport: i0, type: MenuButtonAtomStore, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
|
|
45
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "18.1.2", type: MenuButtonAtomStore, isStandalone: true, selector: "atoms-smart-menu-button, atoms-menu-button", inputs: { actions: { classPropertyName: "actions", publicName: "actions", isSignal: true, isRequired: false, transformFunction: null }, type: { classPropertyName: "type", publicName: "type", isSignal: true, isRequired: false, transformFunction: null }, action: { classPropertyName: "action", publicName: "action", isSignal: true, isRequired: false, transformFunction: null } }, usesInheritance: true, ngImport: i0 }); }
|
|
46
46
|
};
|
|
47
|
-
|
|
47
|
+
MenuButtonAtomStore = __decorate([
|
|
48
48
|
TokenizedType()
|
|
49
|
-
],
|
|
50
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.2", ngImport: i0, type:
|
|
49
|
+
], MenuButtonAtomStore);
|
|
50
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.2", ngImport: i0, type: MenuButtonAtomStore, decorators: [{
|
|
51
51
|
type: Directive,
|
|
52
52
|
args: [{ standalone: true, selector: 'atoms-smart-menu-button, atoms-menu-button' }]
|
|
53
53
|
}] });
|
|
54
|
-
class
|
|
54
|
+
class MenuButtonAtom extends NgAtomicComponent {
|
|
55
55
|
constructor() {
|
|
56
56
|
super(...arguments);
|
|
57
|
-
this.store = inject(
|
|
57
|
+
this.store = inject(MenuButtonAtomStore);
|
|
58
58
|
}
|
|
59
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.2", ngImport: i0, type:
|
|
60
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.1.2", type:
|
|
59
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.2", ngImport: i0, type: MenuButtonAtom, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
60
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.1.2", type: MenuButtonAtom, isStandalone: true, selector: "atoms-smart-menu-button, atoms-menu-button", usesInheritance: true, hostDirectives: [{ directive: MenuButtonAtomStore, inputs: ["actions", "actions", "action", "action", "type", "type"] }], ngImport: i0, template: `
|
|
61
61
|
@if (store.action()?.children?.length) {
|
|
62
62
|
<button
|
|
63
63
|
mat-icon-button
|
|
64
64
|
[color]="store.action()?.color"
|
|
65
65
|
[disabled]="store.action().disabled"
|
|
66
66
|
[matMenuTriggerFor]="menu"
|
|
67
|
-
(click)="
|
|
67
|
+
(click)="$event.stopPropagation();"
|
|
68
68
|
>
|
|
69
69
|
<mat-icon>{{ store.action()?.icon }}</mat-icon>
|
|
70
70
|
</button>
|
|
71
71
|
<mat-menu #menu="matMenu">
|
|
72
|
-
@for (action of store.action()
|
|
72
|
+
@for (action of store.action()?.children; track action) {
|
|
73
73
|
<button
|
|
74
74
|
mat-menu-item
|
|
75
75
|
[disabled]="action.disabled"
|
|
@@ -89,12 +89,12 @@ class SmartMenuButtonAtom extends NgAtomicComponent {
|
|
|
89
89
|
}
|
|
90
90
|
`, isInline: true, styles: [":host{display:block;width:48px;height:48px}\n"], dependencies: [{ kind: "ngmodule", type: MatButtonModule }, { kind: "component", type: i1.MatIconButton, selector: "button[mat-icon-button]", exportAs: ["matButton"] }, { kind: "ngmodule", type: MatIconModule }, { kind: "component", type: i2.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "ngmodule", type: MatMenuModule }, { kind: "component", type: i3.MatMenu, selector: "mat-menu", inputs: ["backdropClass", "aria-label", "aria-labelledby", "aria-describedby", "xPosition", "yPosition", "overlapTrigger", "hasBackdrop", "class", "classList"], outputs: ["closed", "close"], exportAs: ["matMenu"] }, { kind: "component", type: i3.MatMenuItem, selector: "[mat-menu-item]", inputs: ["role", "disabled", "disableRipple"], exportAs: ["matMenuItem"] }, { kind: "directive", type: i3.MatMenuTrigger, selector: "[mat-menu-trigger-for], [matMenuTriggerFor]", inputs: ["mat-menu-trigger-for", "matMenuTriggerFor", "matMenuTriggerData", "matMenuTriggerRestoreFocus"], outputs: ["menuOpened", "onMenuOpen", "menuClosed", "onMenuClose"], exportAs: ["matMenuTrigger"] }], changeDetection: i0.ChangeDetectionStrategy.Default }); }
|
|
91
91
|
}
|
|
92
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.2", ngImport: i0, type:
|
|
92
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.2", ngImport: i0, type: MenuButtonAtom, decorators: [{
|
|
93
93
|
type: Component,
|
|
94
94
|
args: [{ selector: 'atoms-smart-menu-button, atoms-menu-button', standalone: true, imports: [
|
|
95
95
|
MatButtonModule,
|
|
96
96
|
MatIconModule,
|
|
97
|
-
MatMenuModule
|
|
97
|
+
MatMenuModule,
|
|
98
98
|
], template: `
|
|
99
99
|
@if (store.action()?.children?.length) {
|
|
100
100
|
<button
|
|
@@ -102,12 +102,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.2", ngImpor
|
|
|
102
102
|
[color]="store.action()?.color"
|
|
103
103
|
[disabled]="store.action().disabled"
|
|
104
104
|
[matMenuTriggerFor]="menu"
|
|
105
|
-
(click)="
|
|
105
|
+
(click)="$event.stopPropagation();"
|
|
106
106
|
>
|
|
107
107
|
<mat-icon>{{ store.action()?.icon }}</mat-icon>
|
|
108
108
|
</button>
|
|
109
109
|
<mat-menu #menu="matMenu">
|
|
110
|
-
@for (action of store.action()
|
|
110
|
+
@for (action of store.action()?.children; track action) {
|
|
111
111
|
<button
|
|
112
112
|
mat-menu-item
|
|
113
113
|
[disabled]="action.disabled"
|
|
@@ -127,8 +127,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.2", ngImpor
|
|
|
127
127
|
}
|
|
128
128
|
`, changeDetection: ChangeDetectionStrategy.Default, hostDirectives: [
|
|
129
129
|
{
|
|
130
|
-
directive:
|
|
131
|
-
inputs: [
|
|
130
|
+
directive: MenuButtonAtomStore,
|
|
131
|
+
inputs: [
|
|
132
|
+
'actions',
|
|
133
|
+
'action',
|
|
134
|
+
'type'
|
|
135
|
+
],
|
|
132
136
|
}
|
|
133
137
|
], styles: [":host{display:block;width:48px;height:48px}\n"] }]
|
|
134
138
|
}] });
|
|
@@ -137,5 +141,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.2", ngImpor
|
|
|
137
141
|
* Generated bundle index. Do not edit.
|
|
138
142
|
*/
|
|
139
143
|
|
|
140
|
-
export { SmartMenuButtonAtom, SmartMenuButtonAtomStore, StopPipe };
|
|
144
|
+
export { MenuButtonAtom, MenuButtonAtomStore, MenuButtonAtom as SmartMenuButtonAtom, MenuButtonAtomStore as SmartMenuButtonAtomStore, StopPipe };
|
|
141
145
|
//# sourceMappingURL=ng-atomic-components-atoms-smart-menu-button.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ng-atomic-components-atoms-smart-menu-button.mjs","sources":["../../../../../packages/@ng-atomic/components/src/lib/atoms/smart-menu-button/smart-menu-button.atom.ts","../../../../../packages/@ng-atomic/components/src/lib/atoms/smart-menu-button/ng-atomic-components-atoms-smart-menu-button.ts"],"sourcesContent":["import { ChangeDetectionStrategy, Component, Directive, Pipe,
|
|
1
|
+
{"version":3,"file":"ng-atomic-components-atoms-smart-menu-button.mjs","sources":["../../../../../packages/@ng-atomic/components/src/lib/atoms/smart-menu-button/smart-menu-button.atom.ts","../../../../../packages/@ng-atomic/components/src/lib/atoms/smart-menu-button/ng-atomic-components-atoms-smart-menu-button.ts"],"sourcesContent":["import { ChangeDetectionStrategy, Component, Directive, Pipe, inject, input, PipeTransform } from '@angular/core';\nimport { MatButtonModule } from '@angular/material/button';\nimport { MatIconModule } from '@angular/material/icon';\nimport { MatMenuModule } from '@angular/material/menu';\nimport { _computed, Action, InjectableComponent, NgAtomicComponent, TokenizedType } from '@ng-atomic/core';\n\n@Pipe({ standalone: true, name: 'stope' })\nexport class StopPipe implements PipeTransform {\n transform($event: Event) {\n $event.stopPropagation();\n $event.preventDefault();\n return $event;\n }\n}\n\n@TokenizedType()\n@Directive({ standalone: true, selector: 'atoms-smart-menu-button, atoms-menu-button' })\nexport class MenuButtonAtomStore extends InjectableComponent {\n readonly actions = input<Action[]>([]);\n readonly type = input<'button' | 'icon-button'>('icon-button');\n readonly action = input(_computed(() => {\n if (this.actions()?.length === 1) {\n return this.actions()[0];\n } else {\n return {\n id: 'more_vert',\n name: 'メニューを開く',\n icon: 'more_vert',\n children: this.actions(),\n }\n }\n }));\n}\n\n@Component({\n selector: 'atoms-smart-menu-button, atoms-menu-button',\n standalone: true,\n imports: [\n MatButtonModule,\n MatIconModule,\n MatMenuModule,\n ],\n template: `\n @if (store.action()?.children?.length) {\n <button\n mat-icon-button\n [color]=\"store.action()?.color\"\n [disabled]=\"store.action().disabled\"\n [matMenuTriggerFor]=\"menu\"\n (click)=\"$event.stopPropagation();\"\n >\n <mat-icon>{{ store.action()?.icon }}</mat-icon>\n </button>\n <mat-menu #menu=\"matMenu\">\n @for (action of store.action()?.children; track action) {\n <button\n mat-menu-item\n [disabled]=\"action.disabled\"\n (click)=\"dispatch(action)\"\n >{{ action.name }}</button>\n }\n </mat-menu>\n } @else {\n <button\n mat-icon-button\n [color]=\"store.action()?.color\"\n [disabled]=\"store.action().disabled\"\n (click)=\"dispatch(store.action()); $event.stopPropagation();\"\n >\n <mat-icon>{{ store.action()?.icon }}</mat-icon>\n </button>\n }\n `,\n styleUrls: ['./smart-menu-button.atom.scss'],\n changeDetection: ChangeDetectionStrategy.Default,\n hostDirectives: [\n {\n directive: MenuButtonAtomStore,\n inputs: [\n 'actions',\n 'action',\n 'type'\n ],\n }\n ]\n})\nexport class MenuButtonAtom extends NgAtomicComponent {\n protected store = inject(MenuButtonAtomStore);\n}\n\nexport {\n MenuButtonAtomStore as SmartMenuButtonAtomStore,\n MenuButtonAtom as SmartMenuButtonAtom\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;MAOa,QAAQ,CAAA;AACnB,IAAA,SAAS,CAAC,MAAa,EAAA;QACrB,MAAM,CAAC,eAAe,EAAE,CAAC;QACzB,MAAM,CAAC,cAAc,EAAE,CAAC;AACxB,QAAA,OAAO,MAAM,CAAC;KACf;8GALU,QAAQ,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,IAAA,EAAA,CAAA,CAAA,EAAA;4GAAR,QAAQ,EAAA,YAAA,EAAA,IAAA,EAAA,IAAA,EAAA,OAAA,EAAA,CAAA,CAAA,EAAA;;2FAAR,QAAQ,EAAA,UAAA,EAAA,CAAA;kBADpB,IAAI;AAAC,YAAA,IAAA,EAAA,CAAA,EAAE,UAAU,EAAE,IAAI,EAAE,IAAI,EAAE,OAAO,EAAE,CAAA;;AAWlC,IAAM,mBAAmB,GAAzB,MAAM,mBAAoB,SAAQ,mBAAmB,CAAA;AAArD,IAAA,WAAA,GAAA;;AACI,QAAA,IAAA,CAAA,OAAO,GAAG,KAAK,CAAW,EAAE,CAAC,CAAC;AAC9B,QAAA,IAAA,CAAA,IAAI,GAAG,KAAK,CAA2B,aAAa,CAAC,CAAC;AACtD,QAAA,IAAA,CAAA,MAAM,GAAG,KAAK,CAAC,SAAS,CAAC,MAAK;YACrC,IAAI,IAAI,CAAC,OAAO,EAAE,EAAE,MAAM,KAAK,CAAC,EAAE;AAChC,gBAAA,OAAO,IAAI,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QAAQ;gCACR,MAAM;AACP,6BAAA;AACF,yBAAA;AACF,qBAAA,EAAA,MAAA,EAAA,CAAA,+CAAA,CAAA,EAAA,CAAA;;;ACpFH;;AAEG;;;;"}
|
|
@@ -8,7 +8,7 @@ class NgAtomicAtomsModule {
|
|
|
8
8
|
return {
|
|
9
9
|
ngModule: NgAtomicAtomsModule,
|
|
10
10
|
providers: [
|
|
11
|
-
|
|
11
|
+
provideAtoms(),
|
|
12
12
|
]
|
|
13
13
|
};
|
|
14
14
|
}
|
|
@@ -20,10 +20,15 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.2", ngImpor
|
|
|
20
20
|
type: NgModule,
|
|
21
21
|
args: [{}]
|
|
22
22
|
}] });
|
|
23
|
+
function provideAtoms() {
|
|
24
|
+
return [
|
|
25
|
+
provideComponent(SmartMenuButtonAtomStore, () => import('@ng-atomic/components/atoms/smart-menu-button').then(m => m.SmartMenuButtonAtom)),
|
|
26
|
+
];
|
|
27
|
+
}
|
|
23
28
|
|
|
24
29
|
/**
|
|
25
30
|
* Generated bundle index. Do not edit.
|
|
26
31
|
*/
|
|
27
32
|
|
|
28
|
-
export { NgAtomicAtomsModule };
|
|
33
|
+
export { NgAtomicAtomsModule, provideAtoms };
|
|
29
34
|
//# sourceMappingURL=ng-atomic-components-atoms.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ng-atomic-components-atoms.mjs","sources":["../../../../../packages/@ng-atomic/components/src/lib/atoms/atoms.module.ts","../../../../../packages/@ng-atomic/components/src/lib/atoms/ng-atomic-components-atoms.ts"],"sourcesContent":["import { NgModule } from '@angular/core';\nimport { provideComponent } from '@ng-atomic/core';\nimport { SmartMenuButtonAtomStore } from '@ng-atomic/components/atoms/smart-menu-button';\n\n@NgModule({})\nexport class NgAtomicAtomsModule {\n static forRoot() {\n return {\n ngModule: NgAtomicAtomsModule,\n providers: [\n provideComponent(SmartMenuButtonAtomStore, () => import('@ng-atomic/components/atoms/smart-menu-button').then(m => m.SmartMenuButtonAtom)),\n
|
|
1
|
+
{"version":3,"file":"ng-atomic-components-atoms.mjs","sources":["../../../../../packages/@ng-atomic/components/src/lib/atoms/atoms.module.ts","../../../../../packages/@ng-atomic/components/src/lib/atoms/ng-atomic-components-atoms.ts"],"sourcesContent":["import { NgModule } from '@angular/core';\nimport { provideComponent } from '@ng-atomic/core';\nimport { SmartMenuButtonAtomStore } from '@ng-atomic/components/atoms/smart-menu-button';\n\n@NgModule({})\nexport class NgAtomicAtomsModule {\n static forRoot() {\n return {\n ngModule: NgAtomicAtomsModule,\n providers: [\n provideAtoms(),\n ]\n }\n }\n}\n\nexport function provideAtoms() {\n return [\n provideComponent(SmartMenuButtonAtomStore, () => import('@ng-atomic/components/atoms/smart-menu-button').then(m => m.SmartMenuButtonAtom)),\n ];\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;MAKa,mBAAmB,CAAA;AAC9B,IAAA,OAAO,OAAO,GAAA;QACZ,OAAO;AACL,YAAA,QAAQ,EAAE,mBAAmB;AAC7B,YAAA,SAAS,EAAE;AACT,gBAAA,YAAY,EAAE;AACf,aAAA;SACF,CAAA;KACF;8GARU,mBAAmB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA,EAAA;+GAAnB,mBAAmB,EAAA,CAAA,CAAA,EAAA;+GAAnB,mBAAmB,EAAA,CAAA,CAAA,EAAA;;2FAAnB,mBAAmB,EAAA,UAAA,EAAA,CAAA;kBAD/B,QAAQ;mBAAC,EAAE,CAAA;;SAYI,YAAY,GAAA;IAC1B,OAAO;QACL,gBAAgB,CAAC,wBAAwB,EAAE,MAAM,OAAO,+CAA+C,CAAC,CAAC,IAAI,CAAC,CAAC,IAAI,CAAC,CAAC,mBAAmB,CAAC,CAAC;KAC3I,CAAC;AACJ;;ACpBA;;AAEG;;;;"}
|
|
@@ -22,6 +22,7 @@ var ActionId;
|
|
|
22
22
|
(function (ActionId) {
|
|
23
23
|
ActionId["SIGN_IN_WITH_GOOGLE"] = "[@ng-atomic/components:frames/app] Sign In With Google";
|
|
24
24
|
ActionId["SIGN_IN_WITH_TWITTER"] = "[@ng-atomic/components:frames/app] Sign In With Twitter";
|
|
25
|
+
ActionId["SIGN_IN_WITH_MICROSOFT"] = "[@ng-atomic/components:frames/app] Sign In With Microsoft";
|
|
25
26
|
ActionId["SIGN_IN_WITH_EMAIL"] = "[@ng-atomic/components:frames/app] Sign In With Email";
|
|
26
27
|
ActionId["SIGN_UP_WITH_EMAIL"] = "[@ng-atomic/components:frames/app] Sign Up With Email";
|
|
27
28
|
ActionId["NAVIGATE"] = "[@ng-atomic/components:frames/app] Navigate";
|
|
@@ -129,6 +130,7 @@ class AppFrameStore extends InjectableComponent {
|
|
|
129
130
|
else {
|
|
130
131
|
app.sideApp.collapse();
|
|
131
132
|
const { commands, extras } = payload;
|
|
133
|
+
console.debug('commands', commands, extras);
|
|
132
134
|
app.router.navigate(commands, extras ?? {}).then(() => app.sideNav.collapse());
|
|
133
135
|
}
|
|
134
136
|
};
|
|
@@ -362,7 +364,7 @@ class AppFrame extends NgAtomicComponent {
|
|
|
362
364
|
</frames-fab>
|
|
363
365
|
</frames-progress-bar>
|
|
364
366
|
</frames-loading>
|
|
365
|
-
`, isInline: true, styles: [":host{--primary-color-SCOPED-IN-frames-app-
|
|
367
|
+
`, isInline: true, styles: [":host{--primary-color-SCOPED-IN-frames-app-jYSG: var(--primary-color);--on-primary-color-SCOPED-IN-frames-app-jYSG: var(--on-primary-color);--surface-color-SCOPED-IN-frames-app-jYSG: var(--surface-color);--on-surface-color-SCOPED-IN-frames-app-jYSG: var(--on-surface-color);--background-color-SCOPED-IN-frames-app-jYSG: var(--background-color);--on-background-color-SCOPED-IN-frames-app-jYSG: var(--on-background-color);--menu-width-SCOPED-IN-frames-app-jYSG: var(--menu-width);--menu-background-color-SCOPED-IN-frames-app-jYSG: var(--menu-background-color);--menu-on-background-color-SCOPED-IN-frames-app-jYSG: var(--menu-on-background-color);--background-primary-color-SCOPED-IN-frames-app-jYSG: var(--background-primary-color);--background-on-primary-color-SCOPED-IN-frames-app-jYSG: var(--background-on-primary-color);--background-background-color-SCOPED-IN-frames-app-jYSG: var(--background-background-color);--loading-primary-color-SCOPED-IN-frames-app-jYSG: var(--loading-primary-color);--page-width-lv1-SCOPED-IN-frames-app-jYSG: var(--page-width-lv1);--menu-padding-top: 56px;--menu-padding-top-SCOPED-IN-frames-app-jYSG: var(--menu-padding-top);--loading-z-index: 1000;--loading-z-index-SCOPED-IN-frames-app-jYSG: var(--loading-z-index)}:host{display:block;width:100%;height:100%;position:fixed;color:var(--primary-color-SCOPED-IN-frames-app-jYSG);touch-action:none}:host *{--primary-color: var(--primary-color-SCOPED-IN-frames-app-jYSG);--on-primary-color: var(--on-primary-color-SCOPED-IN-frames-app-jYSG);--surface-color: var(--surface-color-SCOPED-IN-frames-app-jYSG);--on-surface-color: var(--on-surface-color-SCOPED-IN-frames-app-jYSG);--background-color: var(--background-color-SCOPED-IN-frames-app-jYSG);--on-background-color: var(--on-background-color-SCOPED-IN-frames-app-jYSG);--menu-background-color: var(--menu-background-color-SCOPED-IN-frames-app-jYSG);--menu-on-background-color: var(--menu-on-background-color-SCOPED-IN-frames-app-jYSG)}:host frames-side-nav{color:#000;--menu-width: var(--menu-width-SCOPED-IN-frames-app-jYSG)}:host frames-loading{--primary-color: var(--loading-primary-color-SCOPED-IN-frames-app-jYSG)}:host templates-background{--primary-color: var(--background-primary-color-SCOPED-IN-frames-app-jYSG);--on-primary-color: var(--background-on-primary-color-SCOPED-IN-frames-app-jYSG);--background-color: var(--background-background-color-SCOPED-IN-frames-app-jYSG);position:absolute;top:0;left:0}:host frames-side-nav .side-app{position:relative;width:var(--page-width-lv1-SCOPED-IN-frames-app-jYSG);height:100%}\n"], dependencies: [{ kind: "component", type: FabFrame, selector: "frames-fab" }, { kind: "component", type: LoadingFrame, selector: "frames-loading" }, { kind: "component", type: SideNavFrame, selector: "frames-side-nav" }, { kind: "directive", type: RouterOutlet, selector: "router-outlet", inputs: ["name"], outputs: ["activate", "deactivate", "attach", "detach"], exportAs: ["outlet"] }, { kind: "component", type: EntranceFrame, selector: "frames-entrance" }, { kind: "component", type:
|
|
366
368
|
// DrawerFrameStore,
|
|
367
369
|
DrawerFrame, selector: "frames-drawer" }, { kind: "component", type: ProgressBarFrame, selector: "frames-progress-bar" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, deferBlockDependencies: [() => [import('@ng-atomic/components/templates/background').then(m => m.BackgroundTemplateStore)]] }); }
|
|
368
370
|
}
|
|
@@ -425,7 +427,7 @@ i0.ɵɵngDeclareClassMetadataAsync({ minVersion: "18.0.0", version: "18.1.2", ng
|
|
|
425
427
|
</frames-loading>
|
|
426
428
|
`, changeDetection: ChangeDetectionStrategy.OnPush, hostDirectives: [
|
|
427
429
|
AppFrameStore,
|
|
428
|
-
], styles: [":host{--primary-color-SCOPED-IN-frames-app-
|
|
430
|
+
], styles: [":host{--primary-color-SCOPED-IN-frames-app-jYSG: var(--primary-color);--on-primary-color-SCOPED-IN-frames-app-jYSG: var(--on-primary-color);--surface-color-SCOPED-IN-frames-app-jYSG: var(--surface-color);--on-surface-color-SCOPED-IN-frames-app-jYSG: var(--on-surface-color);--background-color-SCOPED-IN-frames-app-jYSG: var(--background-color);--on-background-color-SCOPED-IN-frames-app-jYSG: var(--on-background-color);--menu-width-SCOPED-IN-frames-app-jYSG: var(--menu-width);--menu-background-color-SCOPED-IN-frames-app-jYSG: var(--menu-background-color);--menu-on-background-color-SCOPED-IN-frames-app-jYSG: var(--menu-on-background-color);--background-primary-color-SCOPED-IN-frames-app-jYSG: var(--background-primary-color);--background-on-primary-color-SCOPED-IN-frames-app-jYSG: var(--background-on-primary-color);--background-background-color-SCOPED-IN-frames-app-jYSG: var(--background-background-color);--loading-primary-color-SCOPED-IN-frames-app-jYSG: var(--loading-primary-color);--page-width-lv1-SCOPED-IN-frames-app-jYSG: var(--page-width-lv1);--menu-padding-top: 56px;--menu-padding-top-SCOPED-IN-frames-app-jYSG: var(--menu-padding-top);--loading-z-index: 1000;--loading-z-index-SCOPED-IN-frames-app-jYSG: var(--loading-z-index)}:host{display:block;width:100%;height:100%;position:fixed;color:var(--primary-color-SCOPED-IN-frames-app-jYSG);touch-action:none}:host *{--primary-color: var(--primary-color-SCOPED-IN-frames-app-jYSG);--on-primary-color: var(--on-primary-color-SCOPED-IN-frames-app-jYSG);--surface-color: var(--surface-color-SCOPED-IN-frames-app-jYSG);--on-surface-color: var(--on-surface-color-SCOPED-IN-frames-app-jYSG);--background-color: var(--background-color-SCOPED-IN-frames-app-jYSG);--on-background-color: var(--on-background-color-SCOPED-IN-frames-app-jYSG);--menu-background-color: var(--menu-background-color-SCOPED-IN-frames-app-jYSG);--menu-on-background-color: var(--menu-on-background-color-SCOPED-IN-frames-app-jYSG)}:host frames-side-nav{color:#000;--menu-width: var(--menu-width-SCOPED-IN-frames-app-jYSG)}:host frames-loading{--primary-color: var(--loading-primary-color-SCOPED-IN-frames-app-jYSG)}:host templates-background{--primary-color: var(--background-primary-color-SCOPED-IN-frames-app-jYSG);--on-primary-color: var(--background-on-primary-color-SCOPED-IN-frames-app-jYSG);--background-color: var(--background-background-color-SCOPED-IN-frames-app-jYSG);position:absolute;top:0;left:0}:host frames-side-nav .side-app{position:relative;width:var(--page-width-lv1-SCOPED-IN-frames-app-jYSG);height:100%}\n"] }]
|
|
429
431
|
}], ctorParameters: null, propDecorators: null }) });
|
|
430
432
|
|
|
431
433
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ng-atomic-components-frames-app.mjs","sources":["../../../../../packages/@ng-atomic/components/src/lib/frames/app/app.frame.ts","../../../../../packages/@ng-atomic/components/src/lib/frames/app/ng-atomic-components-frames-app.ts"],"sourcesContent":["import { ChangeDetectionStrategy, Component, PLATFORM_ID, computed, effect, input } from '@angular/core';\nimport { Directive, inject } from '@angular/core';\nimport { ActivatedRoute, NavigationExtras, RouterOutlet } from '@angular/router';\nimport { LoadingFrame } from '@ng-atomic/components/frames/loading';\nimport { SideNavFrame, SideNavFrameStore } from '@ng-atomic/components/frames/side-nav';\nimport { EntranceFrame } from '@ng-atomic/components/frames/entrance';\nimport { Action, Actions, InjectableComponent, NgAtomicComponent, _computed, applyToInput, createAction, provideEffect } from '@ng-atomic/core';\nimport { AbstractControl, FormBuilder } from '@angular/forms';\nimport { makeConfig, NavActionId, UIContext } from '@ng-atomic/common/services/ui';\nimport { isPlatformBrowser, isPlatformServer } from '@angular/common';\nimport { BackgroundTemplateStore } from '@ng-atomic/components/templates/background';\nimport { DrawerFrame } from '@ng-atomic/components/frames/drawer';\nimport { FabFrame } from '@ng-atomic/components/frames/fab';\nimport { AppService } from '@ng-atomic/common/services/app';\nimport { SideAppService } from '@ng-atomic/common/services/side-app';\nimport { AuthService } from '@ng-atomic/common/services/auth';\nimport { RootPropertyService } from '@ng-atomic/common/services/root-property';\nimport { makeInitializerConfig } from '@ng-atomic/common/services/initializer';\nimport { injectHasNext, injectPrimaryPaths } from '@ng-atomic/common/utils';\nimport { ProgressBarFrame } from \"@ng-atomic/components/frames/progress-bar\";\n\nenum ActionId {\n SIGN_IN_WITH_GOOGLE = '[@ng-atomic/components:frames/app] Sign In With Google',\n SIGN_IN_WITH_TWITTER = '[@ng-atomic/components:frames/app] Sign In With Twitter',\n SIGN_IN_WITH_EMAIL = '[@ng-atomic/components:frames/app] Sign In With Email',\n SIGN_UP_WITH_EMAIL = '[@ng-atomic/components:frames/app] Sign Up With Email',\n NAVIGATE = '[@ng-atomic/components:frames/app] Navigate',\n SIGN_OUT = '[@ng-atomic/components:frames/app] Sign Out',\n NAVIGATE_SIDE_APP = '[@ng-atomic/components:frames/app] Navigate Side App',\n OPEN_SIDE_APP = '[@ng-atomic/components:frames/app] Open Side App',\n}\n\n@Directive({ standalone: true, selector: 'frames-app' })\nexport class AppFrameStore extends InjectableComponent {\n static readonly ActionId = ActionId;\n static readonly Config = makeConfig(() => {\n return (context) => ({\n fabActions: [],\n fabHide: true,\n isEntrance: true,\n isLoading: false,\n isProgress: false,\n sideAppOpened: false,\n title: 'title',\n form: inject(FormBuilder).group({}) as AbstractControl,\n entranceActions: [\n { id: ActionId.SIGN_IN_WITH_GOOGLE, name: 'Googleでサインイン', icon: '' },\n ] as Actions,\n sideNavActions: [\n { id: ActionId.SIGN_OUT, name: 'ログアウト', icon: 'exit_to_app' },\n ] as Actions,\n sideNavBottomActions: [],\n sideNavMode: 'collapsed' as 'expanded' | 'collapsed',\n sideNavMenuType: SideNavFrameStore.getMenuType(context),\n sideNavMenuTitle: undefined as string,\n sideAppOutletName: 'side',\n });\n }, ['components', 'frames', 'app']);\n static provideAppServiceConfig = () => AppFrameStore.Config.provide(() => {\n const app = inject(AppService);\n const fabHide = computed(() => app.sideApp.opened());\n return (config) => ({\n ...config,\n isLoading: app.loading.isLoading(),\n isProgress: app.loading.isProgress(),\n sideNavMode: app.sideNavMode.sideNavMode(),\n sideAppOpened: app.sideApp.opened(),\n fabActions: app.fab.actions(),\n fabHide: fabHide(),\n });\n });\n static provideIconButtonMenuAsDefaultConfig() {\n return [\n RootPropertyService.Config.provide(() => {\n const getProps = (context: UIContext) => {\n switch (context.breakpoint) {\n case 'xSmall': return { '--menu-width': '220px' };\n case 'small':\n case 'medium':\n case 'large':\n case 'xLarge': return { '--menu-width': '64px' };\n }\n }\n return (config, context) => ({...config, ...getProps(context)});\n }),\n AppFrameStore.Config.provide(() => {\n const getMenuType = (context: UIContext) => {\n switch (context.breakpoint) {\n case 'xSmall': return 'menu';\n default: return 'icon-button-menu';\n }\n };\n return (config, context) => ({\n ...config,\n sideNavMenuType: getMenuType(context),\n });\n })\n ];\n }\n static Initializer = makeInitializerConfig(AppFrameStore);\n static provideInitializer = AppFrameStore.Initializer.provide;\n static provideExpandSideAppOnInit() {\n return AppFrameStore.Initializer.provide(() => {\n inject(SideAppService).expand();\n });\n }\n static provideSideNavActionsInitializer(actionsFactory: () => Action[]) {\n return AppFrameStore.Initializer.provide((store) => {\n const paths = injectPrimaryPaths();\n function compare(paths: string[], payload?: string[]) {\n if (payload === undefined) return false;\n return payload.every((path, i) => paths[i] === path);\n }\n const actions = actionsFactory();\n\n effect(() => {\n applyToInput(store, 'sideNavActions', actions.map(action => ({\n ...action, disabled: compare(paths(), action?.payload),\n })));\n }, {allowSignalWrites: true});\n });\n }\n static provideNavigateEffect() {\n return provideEffect(AppFrameStore.ActionId.NAVIGATE, () => {\n const app = inject(AppService);\n return (payload: string[] | {commands: string[], extras?: NavigationExtras}) => {\n if (Array.isArray(payload)) {\n app.sideApp.collapse();\n app.router.navigate(payload).then(() => app.sideNav.collapse());\n } else {\n app.sideApp.collapse();\n const {commands, extras} = payload;\n app.router.navigate(commands, extras ?? {}).then(() => app.sideNav.collapse());\n }\n };\n });\n }\n\n static provideNavigateSideAppEffect() {\n return provideEffect(AppFrameStore.ActionId.NAVIGATE_SIDE_APP, () => {\n const app = inject(AppService);\n return (payload: string[] | {commands: string[], extras?: NavigationExtras & {expanded?: boolean}}) => {\n if (Array.isArray(payload)) {\n app.sideApp.router.navigate(payload);\n } else {\n const {commands, extras} = payload;\n app.sideApp.router.navigate(commands, extras ?? {});\n }\n };\n });\n }\n\n static provideSignOutEffect() {\n return provideEffect(AppFrameStore.ActionId.SIGN_OUT, () => {\n const app = inject(AppService);\n const auth = inject(AuthService);\n return () => {\n auth.signOut().then(() => {\n app.sideNav.collapse();\n app.snackBar.open('サインアウトしました');\n });\n };\n });\n }\n static provideOpenSideAppEffect() {\n return provideEffect(AppFrameStore.ActionId.OPEN_SIDE_APP, () => {\n const app = inject(AppService);\n return () => {\n app.sideApp.expand();\n }\n });\n }\n static provideCloseSideAppEffect() {\n return provideEffect(NavActionId.CLOSE, () => {\n const app = inject(AppService);\n return () => {\n app.sideApp.collapse();\n };\n });\n }\n static provideSignUpWithEmailEffect() {\n return provideEffect(AppFrameStore.ActionId.SIGN_UP_WITH_EMAIL, () => {\n const app = inject(AppService);\n const store = inject(AppFrameStore);\n const auth = inject(AuthService);\n return () => {\n const data = store.form().getRawValue() as {email: string, password: string};\n app.loading.await(() => {\n return auth.createUserWithEmailAndPassword(data.email, data.password).then(() => {\n app.snackBar.open('新規登録しました。');\n }).catch((error) => {\n console.error(error);\n app.snackBar.open(error.message);\n });\n });\n };\n });\n }\n static provideSignInWithEmailEffect() {\n return provideEffect(AppFrameStore.ActionId.SIGN_IN_WITH_EMAIL, () => {\n const app = inject(AppService);\n const store = inject(AppFrameStore);\n const auth = inject(AuthService);\n return () => {\n const data = store.form().getRawValue() as {email: string, password: string};\n app.loading.await(() => {\n return auth.signInWithEmailAndPassword(data.email, data.password).then(() => {\n app.snackBar.open('ログインしました');\n }).catch((error) => {\n console.error(error);\n app.snackBar.open(error.message);\n });\n });\n };\n });\n }\n static provideSignInWithGoogleEffect() {\n return provideEffect(AppFrameStore.ActionId.SIGN_IN_WITH_GOOGLE, () => {\n const app = inject(AppService);\n const auth = inject(AuthService);\n return () => {\n auth.signInWithGoogle().then(() => {\n app.snackBar.open('ログインしました');\n }).catch((error) => {\n console.error(error);\n const _message = error.message.match(/HTTP Cloud Function returned an error: (.*) \\(.*/);\n const message = _message ? JSON.parse(_message[1]).error.message : error.message;\n app.snackBar.open(message);\n });\n };\n });\n }\n static provideSignInWithTwitterEffect() {\n return provideEffect(AppFrameStore.ActionId.SIGN_IN_WITH_TWITTER, () => {\n const app = inject(AppService);\n const auth = inject(AuthService);\n return () => {\n auth.signInWithTwitter().then(() => {\n app.snackBar.open('ログインしました');\n }).catch((error) => {\n console.error(error);\n app.snackBar.open(error.message);\n });\n };\n });\n }\n static provideDefaultEffects() {\n return [\n AppFrameStore.provideNavigateEffect(),\n AppFrameStore.provideSignOutEffect(),\n AppFrameStore.provideOpenSideAppEffect(),\n AppFrameStore.provideCloseSideAppEffect(),\n AppFrameStore.provideSignUpWithEmailEffect(),\n AppFrameStore.provideSignInWithEmailEffect(),\n AppFrameStore.provideSignInWithGoogleEffect(),\n AppFrameStore.provideSignInWithTwitterEffect(),\n AppFrameStore.provideNavigateSideAppEffect(),\n ];\n }\n\n static provideDefault() {\n return [\n AppFrameStore.provideAppServiceConfig(),\n AppFrameStore.provideIconButtonMenuAsDefaultConfig(),\n AppFrameStore.provideDefaultEffects(),\n ]\n }\n\n static injectNavActionFactory() {\n const hasNext = injectHasNext();\n const route = inject(ActivatedRoute);\n const navigateActionBuilder = createAction(AppFrameStore.ActionId.NAVIGATE, undefined, {\n icon: 'open_in_new',\n });\n return (commands: any[], name: string) => {\n return navigateActionBuilder.create({\n commands,\n extras: { relativeTo: route, replaceUrl: hasNext() }\n }, {\n name,\n });\n }\n }\n\n readonly config = AppFrameStore.Config.inject();\n readonly isLoading = input(_computed(() => this.config().isLoading));\n readonly isProgress = input(_computed(() => this.config().isProgress));\n readonly isEntrance = input(_computed(() => this.config().isEntrance));\n readonly sideAppOpened = input(_computed(() => this.config().sideAppOpened));\n readonly title = input(_computed(() => this.config().title));\n readonly form = input(_computed(() => this.config().form));\n readonly entranceActions = input(_computed(() => this.config().entranceActions));\n readonly sideNavActions = input(_computed(() => this.config().sideNavActions));\n readonly sideNavBottomActions = input(_computed(() => this.config().sideNavBottomActions));\n readonly sideNavMode = input(_computed(() => this.config().sideNavMode));\n readonly sideNavMenuType = input(_computed(() => this.config().sideNavMenuType));\n readonly sideNavMenuTitle = input(_computed(() => this.config().sideNavMenuTitle));\n readonly sideAppOutletName = input(_computed(() => this.config().sideAppOutletName));\n readonly fabActions = input(_computed(() => this.config().fabActions));\n readonly fabHide = input(_computed(() => this.config().fabHide));\n\n constructor() {\n super();\n AppFrameStore.Initializer.initializeStore(this);\n }\n}\n\n\n@Component({\n selector: 'frames-app',\n standalone: true,\n imports: [\n FabFrame,\n LoadingFrame,\n SideNavFrame,\n RouterOutlet,\n EntranceFrame,\n // DrawerFrameStore,\n DrawerFrame,\n BackgroundTemplateStore,\n ProgressBarFrame,\n],\n template: `\n <router-outlet/>\n @if (isPlatformBrowser()) {\n @defer {\n <templates-background injectable/>\n }\n }\n <frames-loading [isLoading]=\"store.isLoading()\">\n <frames-progress-bar [isProgress]=\"store.isProgress()\" [mode]=\"'query'\">\n <frames-fab\n [actions]=\"store.fabActions()\"\n [hide]=\"store.fabHide()\"\n (action)=\"dispatch($event)\"\n >\n <frames-entrance\n [isEntrance]=\"store.isEntrance()\"\n [form]=\"store.form()\"\n [title]=\"store.title()\"\n [actions]=\"store.entranceActions()\"\n (action)=\"dispatch($event)\"\n >\n <frames-drawer\n [opened]=\"store.sideAppOpened()\"\n [position]=\"'end'\"\n [hasBackdrop]=\"false\"\n >\n <frames-side-nav\n [actions]=\"store.sideNavActions()\"\n [bottomActions]=\"store.sideNavBottomActions()\"\n [mode]=\"store.sideNavMode()\"\n [menuType]=\"store.sideNavMenuType()\"\n [menuTitle]=\"store.sideNavMenuTitle()\"\n (action)=\"dispatch($event)\"\n contents\n >\n <router-outlet contents/>\n </frames-side-nav>\n <div drawer style=\"width: var(--page-width-lv1);height: 100%;\">\n <router-outlet [name]=\"store.sideAppOutletName()\" />\n </div>\n </frames-drawer>\n </frames-entrance>\n </frames-fab>\n </frames-progress-bar>\n </frames-loading>\n `,\n styleUrl: './app.frame.scss',\n changeDetection: ChangeDetectionStrategy.OnPush,\n hostDirectives: [\n AppFrameStore,\n ],\n})\nexport class AppFrame extends NgAtomicComponent {\n protected store = inject(AppFrameStore);\n readonly platformId = inject(PLATFORM_ID);\n\n protected isPlatformServer() {\n return isPlatformServer(this.platformId);\n }\n\n protected isPlatformBrowser() {\n return isPlatformBrowser(this.platformId);\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;AAqBA,IAAK,QASJ,CAAA;AATD,CAAA,UAAK,QAAQ,EAAA;AACX,IAAA,QAAA,CAAA,qBAAA,CAAA,GAAA,wDAA8E,CAA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,EAAA;;gGAsDP,QAAQ,EAAA,mBAAA,EAAA,MAAA,CAAA,OAAA,4CAAA,CAAA,CAAA,IAAA,CAAA,CAAA,IAAA,CAAA,CAAA,uBAAA,CAAA,CAAA,EAAA,eAAA,EAAA,uBAAA,KAAA,EAAA,UAAA,EAAA,CAAA;sBAlEpB,SAAS;mCACE,YAAY,EAAA,UAAA,EACV,IAAI,EACP,OAAA,EAAA;4BACP,QAAQ;4BACR,YAAY;4BACZ,YAAY;4BACZ,YAAY;4BACZ,aAAa;;4BAEb,WAAW;4BACX,uBAAuB;4BACvB,gBAAgB;yBACnB,EACW,QAAA,EAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6CT,EAEgB,eAAA,EAAA,uBAAuB,CAAC,MAAM,EAC/B,cAAA,EAAA;4BACd,aAAa;AACd,yBAAA,EAAA,MAAA,EAAA,CAAA,mgFAAA,CAAA,EAAA,CAAA;;;ACpXH;;AAEG;;;;"}
|
|
1
|
+
{"version":3,"file":"ng-atomic-components-frames-app.mjs","sources":["../../../../../packages/@ng-atomic/components/src/lib/frames/app/app.frame.ts","../../../../../packages/@ng-atomic/components/src/lib/frames/app/ng-atomic-components-frames-app.ts"],"sourcesContent":["import { ChangeDetectionStrategy, Component, PLATFORM_ID, computed, effect, input } from '@angular/core';\nimport { Directive, inject } from '@angular/core';\nimport { ActivatedRoute, NavigationExtras, RouterOutlet } from '@angular/router';\nimport { LoadingFrame } from '@ng-atomic/components/frames/loading';\nimport { SideNavFrame, SideNavFrameStore } from '@ng-atomic/components/frames/side-nav';\nimport { EntranceFrame } from '@ng-atomic/components/frames/entrance';\nimport { Action, Actions, InjectableComponent, NgAtomicComponent, _computed, applyToInput, createAction, provideEffect } from '@ng-atomic/core';\nimport { AbstractControl, FormBuilder } from '@angular/forms';\nimport { makeConfig, NavActionId, UIContext } from '@ng-atomic/common/services/ui';\nimport { isPlatformBrowser, isPlatformServer } from '@angular/common';\nimport { BackgroundTemplateStore } from '@ng-atomic/components/templates/background';\nimport { DrawerFrame } from '@ng-atomic/components/frames/drawer';\nimport { FabFrame } from '@ng-atomic/components/frames/fab';\nimport { AppService } from '@ng-atomic/common/services/app';\nimport { SideAppService } from '@ng-atomic/common/services/side-app';\nimport { AuthService } from '@ng-atomic/common/services/auth';\nimport { RootPropertyService } from '@ng-atomic/common/services/root-property';\nimport { makeInitializerConfig } from '@ng-atomic/common/services/initializer';\nimport { injectHasNext, injectPrimaryPaths } from '@ng-atomic/common/utils';\nimport { ProgressBarFrame } from \"@ng-atomic/components/frames/progress-bar\";\n\nenum ActionId {\n SIGN_IN_WITH_GOOGLE = '[@ng-atomic/components:frames/app] Sign In With Google',\n SIGN_IN_WITH_TWITTER = '[@ng-atomic/components:frames/app] Sign In With Twitter',\n SIGN_IN_WITH_MICROSOFT = '[@ng-atomic/components:frames/app] Sign In With Microsoft',\n SIGN_IN_WITH_EMAIL = '[@ng-atomic/components:frames/app] Sign In With Email',\n SIGN_UP_WITH_EMAIL = '[@ng-atomic/components:frames/app] Sign Up With Email',\n NAVIGATE = '[@ng-atomic/components:frames/app] Navigate',\n SIGN_OUT = '[@ng-atomic/components:frames/app] Sign Out',\n NAVIGATE_SIDE_APP = '[@ng-atomic/components:frames/app] Navigate Side App',\n OPEN_SIDE_APP = '[@ng-atomic/components:frames/app] Open Side App',\n}\n\n@Directive({ standalone: true, selector: 'frames-app' })\nexport class AppFrameStore extends InjectableComponent {\n static readonly ActionId = ActionId;\n static readonly Config = makeConfig(() => {\n return (context) => ({\n fabActions: [],\n fabHide: true,\n isEntrance: true,\n isLoading: false,\n isProgress: false,\n sideAppOpened: false,\n title: 'title',\n form: inject(FormBuilder).group({}) as AbstractControl,\n entranceActions: [\n { id: ActionId.SIGN_IN_WITH_GOOGLE, name: 'Googleでサインイン', icon: '' },\n ] as Actions,\n sideNavActions: [\n { id: ActionId.SIGN_OUT, name: 'ログアウト', icon: 'exit_to_app' },\n ] as Actions,\n sideNavBottomActions: [],\n sideNavMode: 'collapsed' as 'expanded' | 'collapsed',\n sideNavMenuType: SideNavFrameStore.getMenuType(context),\n sideNavMenuTitle: undefined as string,\n sideAppOutletName: 'side',\n });\n }, ['components', 'frames', 'app']);\n static provideAppServiceConfig = () => AppFrameStore.Config.provide(() => {\n const app = inject(AppService);\n const fabHide = computed(() => app.sideApp.opened());\n return (config) => ({\n ...config,\n isLoading: app.loading.isLoading(),\n isProgress: app.loading.isProgress(),\n sideNavMode: app.sideNavMode.sideNavMode(),\n sideAppOpened: app.sideApp.opened(),\n fabActions: app.fab.actions(),\n fabHide: fabHide(),\n });\n });\n static provideIconButtonMenuAsDefaultConfig() {\n return [\n RootPropertyService.Config.provide(() => {\n const getProps = (context: UIContext) => {\n switch (context.breakpoint) {\n case 'xSmall': return { '--menu-width': '220px' };\n case 'small':\n case 'medium':\n case 'large':\n case 'xLarge': return { '--menu-width': '64px' };\n }\n }\n return (config, context) => ({...config, ...getProps(context)});\n }),\n AppFrameStore.Config.provide(() => {\n const getMenuType = (context: UIContext) => {\n switch (context.breakpoint) {\n case 'xSmall': return 'menu';\n default: return 'icon-button-menu';\n }\n };\n return (config, context) => ({\n ...config,\n sideNavMenuType: getMenuType(context),\n });\n })\n ];\n }\n static Initializer = makeInitializerConfig(AppFrameStore);\n static provideInitializer = AppFrameStore.Initializer.provide;\n static provideExpandSideAppOnInit() {\n return AppFrameStore.Initializer.provide(() => {\n inject(SideAppService).expand();\n });\n }\n static provideSideNavActionsInitializer(actionsFactory: () => Action[]) {\n return AppFrameStore.Initializer.provide((store) => {\n const paths = injectPrimaryPaths();\n function compare(paths: string[], payload?: string[]) {\n if (payload === undefined) return false;\n return payload.every((path, i) => paths[i] === path);\n }\n const actions = actionsFactory();\n\n effect(() => {\n applyToInput(store, 'sideNavActions', actions.map(action => ({\n ...action, disabled: compare(paths(), action?.payload),\n })));\n }, {allowSignalWrites: true});\n });\n }\n static provideNavigateEffect() {\n return provideEffect(AppFrameStore.ActionId.NAVIGATE, () => {\n const app = inject(AppService);\n return (payload: string[] | {commands: string[], extras?: NavigationExtras}) => {\n if (Array.isArray(payload)) {\n app.sideApp.collapse();\n app.router.navigate(payload).then(() => app.sideNav.collapse());\n } else {\n app.sideApp.collapse();\n const {commands, extras} = payload;\n console.debug('commands', commands, extras);\n app.router.navigate(commands, extras ?? {}).then(() => app.sideNav.collapse());\n }\n };\n });\n }\n\n static provideNavigateSideAppEffect() {\n return provideEffect(AppFrameStore.ActionId.NAVIGATE_SIDE_APP, () => {\n const app = inject(AppService);\n return (payload: string[] | {commands: string[], extras?: NavigationExtras & {expanded?: boolean}}) => {\n if (Array.isArray(payload)) {\n app.sideApp.router.navigate(payload);\n } else {\n const {commands, extras} = payload;\n app.sideApp.router.navigate(commands, extras ?? {});\n }\n };\n });\n }\n\n static provideSignOutEffect() {\n return provideEffect(AppFrameStore.ActionId.SIGN_OUT, () => {\n const app = inject(AppService);\n const auth = inject(AuthService);\n return () => {\n auth.signOut().then(() => {\n app.sideNav.collapse();\n app.snackBar.open('サインアウトしました');\n });\n };\n });\n }\n static provideOpenSideAppEffect() {\n return provideEffect(AppFrameStore.ActionId.OPEN_SIDE_APP, () => {\n const app = inject(AppService);\n return () => {\n app.sideApp.expand();\n }\n });\n }\n static provideCloseSideAppEffect() {\n return provideEffect(NavActionId.CLOSE, () => {\n const app = inject(AppService);\n return () => {\n app.sideApp.collapse();\n };\n });\n }\n static provideSignUpWithEmailEffect() {\n return provideEffect(AppFrameStore.ActionId.SIGN_UP_WITH_EMAIL, () => {\n const app = inject(AppService);\n const store = inject(AppFrameStore);\n const auth = inject(AuthService);\n return () => {\n const data = store.form().getRawValue() as {email: string, password: string};\n app.loading.await(() => {\n return auth.createUserWithEmailAndPassword(data.email, data.password).then(() => {\n app.snackBar.open('新規登録しました。');\n }).catch((error) => {\n console.error(error);\n app.snackBar.open(error.message);\n });\n });\n };\n });\n }\n static provideSignInWithEmailEffect() {\n return provideEffect(AppFrameStore.ActionId.SIGN_IN_WITH_EMAIL, () => {\n const app = inject(AppService);\n const store = inject(AppFrameStore);\n const auth = inject(AuthService);\n return () => {\n const data = store.form().getRawValue() as {email: string, password: string};\n app.loading.await(() => {\n return auth.signInWithEmailAndPassword(data.email, data.password).then(() => {\n app.snackBar.open('ログインしました');\n }).catch((error) => {\n console.error(error);\n app.snackBar.open(error.message);\n });\n });\n };\n });\n }\n static provideSignInWithGoogleEffect() {\n return provideEffect(AppFrameStore.ActionId.SIGN_IN_WITH_GOOGLE, () => {\n const app = inject(AppService);\n const auth = inject(AuthService);\n return () => {\n auth.signInWithGoogle().then(() => {\n app.snackBar.open('ログインしました');\n }).catch((error) => {\n console.error(error);\n const _message = error.message.match(/HTTP Cloud Function returned an error: (.*) \\(.*/);\n const message = _message ? JSON.parse(_message[1]).error.message : error.message;\n app.snackBar.open(message);\n });\n };\n });\n }\n static provideSignInWithTwitterEffect() {\n return provideEffect(AppFrameStore.ActionId.SIGN_IN_WITH_TWITTER, () => {\n const app = inject(AppService);\n const auth = inject(AuthService);\n return () => {\n auth.signInWithTwitter().then(() => {\n app.snackBar.open('ログインしました');\n }).catch((error) => {\n console.error(error);\n app.snackBar.open(error.message);\n });\n };\n });\n }\n static provideDefaultEffects() {\n return [\n AppFrameStore.provideNavigateEffect(),\n AppFrameStore.provideSignOutEffect(),\n AppFrameStore.provideOpenSideAppEffect(),\n AppFrameStore.provideCloseSideAppEffect(),\n AppFrameStore.provideSignUpWithEmailEffect(),\n AppFrameStore.provideSignInWithEmailEffect(),\n AppFrameStore.provideSignInWithGoogleEffect(),\n AppFrameStore.provideSignInWithTwitterEffect(),\n AppFrameStore.provideNavigateSideAppEffect(),\n ];\n }\n\n static provideDefault() {\n return [\n AppFrameStore.provideAppServiceConfig(),\n AppFrameStore.provideIconButtonMenuAsDefaultConfig(),\n AppFrameStore.provideDefaultEffects(),\n ]\n }\n\n static injectNavActionFactory() {\n const hasNext = injectHasNext();\n const route = inject(ActivatedRoute);\n const navigateActionBuilder = createAction(AppFrameStore.ActionId.NAVIGATE, undefined, {\n icon: 'open_in_new',\n });\n return (commands: any[], name: string) => {\n return navigateActionBuilder.create({\n commands,\n extras: { relativeTo: route, replaceUrl: hasNext() }\n }, {\n name,\n });\n }\n }\n\n readonly config = AppFrameStore.Config.inject();\n readonly isLoading = input(_computed(() => this.config().isLoading));\n readonly isProgress = input(_computed(() => this.config().isProgress));\n readonly isEntrance = input(_computed(() => this.config().isEntrance));\n readonly sideAppOpened = input(_computed(() => this.config().sideAppOpened));\n readonly title = input(_computed(() => this.config().title));\n readonly form = input(_computed(() => this.config().form));\n readonly entranceActions = input(_computed(() => this.config().entranceActions));\n readonly sideNavActions = input(_computed(() => this.config().sideNavActions));\n readonly sideNavBottomActions = input(_computed(() => this.config().sideNavBottomActions));\n readonly sideNavMode = input(_computed(() => this.config().sideNavMode));\n readonly sideNavMenuType = input(_computed(() => this.config().sideNavMenuType));\n readonly sideNavMenuTitle = input(_computed(() => this.config().sideNavMenuTitle));\n readonly sideAppOutletName = input(_computed(() => this.config().sideAppOutletName));\n readonly fabActions = input(_computed(() => this.config().fabActions));\n readonly fabHide = input(_computed(() => this.config().fabHide));\n\n constructor() {\n super();\n AppFrameStore.Initializer.initializeStore(this);\n }\n}\n\n\n@Component({\n selector: 'frames-app',\n standalone: true,\n imports: [\n FabFrame,\n LoadingFrame,\n SideNavFrame,\n RouterOutlet,\n EntranceFrame,\n // DrawerFrameStore,\n DrawerFrame,\n BackgroundTemplateStore,\n ProgressBarFrame,\n],\n template: `\n <router-outlet/>\n @if (isPlatformBrowser()) {\n @defer {\n <templates-background injectable/>\n }\n }\n <frames-loading [isLoading]=\"store.isLoading()\">\n <frames-progress-bar [isProgress]=\"store.isProgress()\" [mode]=\"'query'\">\n <frames-fab\n [actions]=\"store.fabActions()\"\n [hide]=\"store.fabHide()\"\n (action)=\"dispatch($event)\"\n >\n <frames-entrance\n [isEntrance]=\"store.isEntrance()\"\n [form]=\"store.form()\"\n [title]=\"store.title()\"\n [actions]=\"store.entranceActions()\"\n (action)=\"dispatch($event)\"\n >\n <frames-drawer\n [opened]=\"store.sideAppOpened()\"\n [position]=\"'end'\"\n [hasBackdrop]=\"false\"\n >\n <frames-side-nav\n [actions]=\"store.sideNavActions()\"\n [bottomActions]=\"store.sideNavBottomActions()\"\n [mode]=\"store.sideNavMode()\"\n [menuType]=\"store.sideNavMenuType()\"\n [menuTitle]=\"store.sideNavMenuTitle()\"\n (action)=\"dispatch($event)\"\n contents\n >\n <router-outlet contents/>\n </frames-side-nav>\n <div drawer style=\"width: var(--page-width-lv1);height: 100%;\">\n <router-outlet [name]=\"store.sideAppOutletName()\" />\n </div>\n </frames-drawer>\n </frames-entrance>\n </frames-fab>\n </frames-progress-bar>\n </frames-loading>\n `,\n styleUrl: './app.frame.scss',\n changeDetection: ChangeDetectionStrategy.OnPush,\n hostDirectives: [\n AppFrameStore,\n ],\n})\nexport class AppFrame extends NgAtomicComponent {\n protected store = inject(AppFrameStore);\n readonly platformId = inject(PLATFORM_ID);\n\n protected isPlatformServer() {\n return isPlatformServer(this.platformId);\n }\n\n protected isPlatformBrowser() {\n return isPlatformBrowser(this.platformId);\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;AAqBA,IAAK,QAUJ,CAAA;AAVD,CAAA,UAAK,QAAQ,EAAA;AACX,IAAA,QAAA,CAAA,qBAAA,CAAA,GAAA,wDAA8E,CAAA;AAC9E,IAAA,QAAA,CAAA,sBAAA,CAAA,GAAA,yDAAgF,CAAA;AAChF,IAAA,QAAA,CAAA,wBAAA,CAAA,GAAA,2DAAoF,CAAA;AACpF,IAAA,QAAA,CAAA,oBAAA,CAAA,GAAA,uDAA4E,CAAA;AAC5E,IAAA,QAAA,CAAA,oBAAA,CAAA,GAAA,uDAA4E,CAAA;AAC5E,IAAA,QAAA,CAAA,UAAA,CAAA,GAAA,6CAAwD,CAAA;AACxD,IAAA,QAAA,CAAA,UAAA,CAAA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sBAlEpB,SAAS;mCACE,YAAY,EAAA,UAAA,EACV,IAAI,EACP,OAAA,EAAA;4BACP,QAAQ;4BACR,YAAY;4BACZ,YAAY;4BACZ,YAAY;4BACZ,aAAa;;4BAEb,WAAW;4BACX,uBAAuB;4BACvB,gBAAgB;yBACnB,EACW,QAAA,EAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6CT,EAEgB,eAAA,EAAA,uBAAuB,CAAC,MAAM,EAC/B,cAAA,EAAA;4BACd,aAAa;AACd,yBAAA,EAAA,MAAA,EAAA,CAAA,mgFAAA,CAAA,EAAA,CAAA;;;ACtXH;;AAEG;;;;"}
|
|
@@ -19,7 +19,7 @@ class AutoLayoutFrame {
|
|
|
19
19
|
this.store = inject(AutoLayoutFrameStore);
|
|
20
20
|
}
|
|
21
21
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.2", ngImport: i0, type: AutoLayoutFrame, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
22
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.1.2", type: AutoLayoutFrame, isStandalone: true, selector: "frames-auto-layout", host: { properties: { "attr.type": "store.type()" } }, hostDirectives: [{ directive: AutoLayoutFrameStore, inputs: ["type", "type"] }], ngImport: i0, template: `<ng-content></ng-content>`, isInline: true, styles: [":host{--gap: 24px;--gap-SCOPED-IN-auto-layout-
|
|
22
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.1.2", type: AutoLayoutFrame, isStandalone: true, selector: "frames-auto-layout", host: { properties: { "attr.type": "store.type()" } }, hostDirectives: [{ directive: AutoLayoutFrameStore, inputs: ["type", "type"] }], ngImport: i0, template: `<ng-content></ng-content>`, isInline: true, styles: [":host{--gap: 24px;--gap-SCOPED-IN-auto-layout-3NHP: var(--gap);--vertical-padding: 24px;--vertical-padding-SCOPED-IN-auto-layout-3NHP: var(--vertical-padding);--horizontal-padding: 0;--horizontal-padding-SCOPED-IN-auto-layout-3NHP: var(--horizontal-padding)}:host{display:flex;width:100%;height:100%;justify-content:center;align-items:center;gap:var(--gap-SCOPED-IN-auto-layout-3NHP);box-sizing:border-box;padding:var(--vertical-padding-SCOPED-IN-auto-layout-3NHP) var(--horizontal-padding-SCOPED-IN-auto-layout-3NHP)}:host[type=horizontal]{flex-direction:row}:host[type=vertical]{flex-direction:column}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
23
23
|
}
|
|
24
24
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.2", ngImport: i0, type: AutoLayoutFrame, decorators: [{
|
|
25
25
|
type: Component,
|
|
@@ -32,7 +32,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.2", ngImpor
|
|
|
32
32
|
},
|
|
33
33
|
], host: {
|
|
34
34
|
'[attr.type]': 'store.type()'
|
|
35
|
-
}, styles: [":host{--gap: 24px;--gap-SCOPED-IN-auto-layout-
|
|
35
|
+
}, styles: [":host{--gap: 24px;--gap-SCOPED-IN-auto-layout-3NHP: var(--gap);--vertical-padding: 24px;--vertical-padding-SCOPED-IN-auto-layout-3NHP: var(--vertical-padding);--horizontal-padding: 0;--horizontal-padding-SCOPED-IN-auto-layout-3NHP: var(--horizontal-padding)}:host{display:flex;width:100%;height:100%;justify-content:center;align-items:center;gap:var(--gap-SCOPED-IN-auto-layout-3NHP);box-sizing:border-box;padding:var(--vertical-padding-SCOPED-IN-auto-layout-3NHP) var(--horizontal-padding-SCOPED-IN-auto-layout-3NHP)}:host[type=horizontal]{flex-direction:row}:host[type=vertical]{flex-direction:column}\n"] }]
|
|
36
36
|
}] });
|
|
37
37
|
|
|
38
38
|
/**
|
|
@@ -103,7 +103,7 @@ class ColumnsFrame extends NgAtomicComponent {
|
|
|
103
103
|
<ng-container [ngTemplateOutlet]="right()?.templateRef" />
|
|
104
104
|
</div>
|
|
105
105
|
}
|
|
106
|
-
`, isInline: true, styles: [":host{display:block;--side-width: 360px;--side-width-SCOPED-IN-columns-
|
|
106
|
+
`, isInline: true, styles: [":host{display:block;--side-width: 360px;--side-width-SCOPED-IN-columns-NnG9: var(--side-width)}:host{display:flex;flex-direction:row;justify-content:space-between;width:100%;height:100%}:host[type=row]{flex-direction:row;justify-content:space-between}:host[type=row] .container{width:100%}:host[type=row] .container.left{max-width:var(--side-width-SCOPED-IN-columns-NnG9)}:host[type=row] .container.right{max-width:var(--side-width-SCOPED-IN-columns-NnG9)}:host[type=column]{flex-direction:column;justify-content:flex-start}:host[type=column] .container.main{width:100%}:host[type=column] .container.left{width:100%}:host[type=column] .container.right{width:100%}\n"], dependencies: [{ kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
107
107
|
}
|
|
108
108
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.2", ngImport: i0, type: ColumnsFrame, decorators: [{
|
|
109
109
|
type: Component,
|
|
@@ -134,7 +134,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.2", ngImpor
|
|
|
134
134
|
}
|
|
135
135
|
], host: {
|
|
136
136
|
'[attr.type]': 'store.type()',
|
|
137
|
-
}, styles: [":host{display:block;--side-width: 360px;--side-width-SCOPED-IN-columns-
|
|
137
|
+
}, styles: [":host{display:block;--side-width: 360px;--side-width-SCOPED-IN-columns-NnG9: var(--side-width)}:host{display:flex;flex-direction:row;justify-content:space-between;width:100%;height:100%}:host[type=row]{flex-direction:row;justify-content:space-between}:host[type=row] .container{width:100%}:host[type=row] .container.left{max-width:var(--side-width-SCOPED-IN-columns-NnG9)}:host[type=row] .container.right{max-width:var(--side-width-SCOPED-IN-columns-NnG9)}:host[type=column]{flex-direction:column;justify-content:flex-start}:host[type=column] .container.main{width:100%}:host[type=column] .container.left{width:100%}:host[type=column] .container.right{width:100%}\n"] }]
|
|
138
138
|
}] });
|
|
139
139
|
class ColumnsFrameModule {
|
|
140
140
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.2", ngImport: i0, type: ColumnsFrameModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
@@ -64,7 +64,7 @@ class DividerFrame extends NgAtomicComponent {
|
|
|
64
64
|
<ng-content select="[second]"></ng-content>
|
|
65
65
|
@if (dragging()) { <div class="cover"></div> }
|
|
66
66
|
</div>
|
|
67
|
-
`, isInline: true, styles: [":host{--primary-color: #404040;--primary-color-SCOPED-IN-divider-
|
|
67
|
+
`, isInline: true, styles: [":host{--primary-color: #404040;--primary-color-SCOPED-IN-divider-EeS7: var(--primary-color);--secondary-color: #B0B0B0;--secondary-color-SCOPED-IN-divider-EeS7: var(--secondary-color);--background-color: #B0B0B0;--background-color-SCOPED-IN-divider-EeS7: var(--background-color);--on-background-color: #f0f0f0;--on-background-color-SCOPED-IN-divider-EeS7: var(--on-background-color);--surface-color: transparent;--surface-color-SCOPED-IN-divider-EeS7: var(--surface-color);--on-primary-color: #f0f0f0;--on-primary-color-SCOPED-IN-divider-EeS7: var(--on-primary-color);--on-surface-color: #f0f0f0;--on-surface-color-SCOPED-IN-divider-EeS7: var(--on-surface-color);--first-content-height: 0px;--first-content-height-SCOPED-IN-divider-EeS7: var(--first-content-height);--min-first-content-height: 0px;--min-first-content-height-SCOPED-IN-divider-EeS7: var(--min-first-content-height);--max-first-content-height: calc(100% - 80px) ;--max-first-content-height-SCOPED-IN-divider-EeS7: var(--max-first-content-height)}:host{position:relative;display:flex;flex-direction:column;height:100%;width:100%}:host .container{position:relative}:host .container.first{height:min(max(var(--first-content-height-SCOPED-IN-divider-EeS7),var(--min-first-content-height-SCOPED-IN-divider-EeS7)),var(--max-first-content-height-SCOPED-IN-divider-EeS7));overflow:hidden;display:flex;flex-direction:column}:host .container.second{display:flex;flex-direction:column;height:calc(100% - min(max(var(--first-content-height-SCOPED-IN-divider-EeS7),var(--min-first-content-height-SCOPED-IN-divider-EeS7)),var(--max-first-content-height-SCOPED-IN-divider-EeS7)));overflow:hidden}:host .container .cover{position:absolute;top:0;left:0;width:100%;height:100%}:host mat-divider{z-index:1000;width:100%;cursor:row-resize;position:relative}:host mat-divider:before{content:\"\";position:absolute;top:-8px;left:0;width:100%;height:8px;background-color:transparent;transition:.1s background-color}:host mat-divider:hover:before{background-color:var(--primary-color-SCOPED-IN-divider-EeS7)}\n"], dependencies: [{ kind: "ngmodule", type: MatDividerModule }, { kind: "component", type: i1.MatDivider, selector: "mat-divider", inputs: ["vertical", "inset"] }, { kind: "directive", type: CdkDrag, selector: "[cdkDrag]", inputs: ["cdkDragData", "cdkDragLockAxis", "cdkDragRootElement", "cdkDragBoundary", "cdkDragStartDelay", "cdkDragFreeDragPosition", "cdkDragDisabled", "cdkDragConstrainPosition", "cdkDragPreviewClass", "cdkDragPreviewContainer"], outputs: ["cdkDragStarted", "cdkDragReleased", "cdkDragEnded", "cdkDragEntered", "cdkDragExited", "cdkDragDropped", "cdkDragMoved"], exportAs: ["cdkDrag"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
68
68
|
}
|
|
69
69
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.2", ngImport: i0, type: DividerFrame, decorators: [{
|
|
70
70
|
type: Component,
|
|
@@ -90,7 +90,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.2", ngImpor
|
|
|
90
90
|
<ng-content select="[second]"></ng-content>
|
|
91
91
|
@if (dragging()) { <div class="cover"></div> }
|
|
92
92
|
</div>
|
|
93
|
-
`, changeDetection: ChangeDetectionStrategy.OnPush, styles: [":host{--primary-color: #404040;--primary-color-SCOPED-IN-divider-
|
|
93
|
+
`, changeDetection: ChangeDetectionStrategy.OnPush, styles: [":host{--primary-color: #404040;--primary-color-SCOPED-IN-divider-EeS7: var(--primary-color);--secondary-color: #B0B0B0;--secondary-color-SCOPED-IN-divider-EeS7: var(--secondary-color);--background-color: #B0B0B0;--background-color-SCOPED-IN-divider-EeS7: var(--background-color);--on-background-color: #f0f0f0;--on-background-color-SCOPED-IN-divider-EeS7: var(--on-background-color);--surface-color: transparent;--surface-color-SCOPED-IN-divider-EeS7: var(--surface-color);--on-primary-color: #f0f0f0;--on-primary-color-SCOPED-IN-divider-EeS7: var(--on-primary-color);--on-surface-color: #f0f0f0;--on-surface-color-SCOPED-IN-divider-EeS7: var(--on-surface-color);--first-content-height: 0px;--first-content-height-SCOPED-IN-divider-EeS7: var(--first-content-height);--min-first-content-height: 0px;--min-first-content-height-SCOPED-IN-divider-EeS7: var(--min-first-content-height);--max-first-content-height: calc(100% - 80px) ;--max-first-content-height-SCOPED-IN-divider-EeS7: var(--max-first-content-height)}:host{position:relative;display:flex;flex-direction:column;height:100%;width:100%}:host .container{position:relative}:host .container.first{height:min(max(var(--first-content-height-SCOPED-IN-divider-EeS7),var(--min-first-content-height-SCOPED-IN-divider-EeS7)),var(--max-first-content-height-SCOPED-IN-divider-EeS7));overflow:hidden;display:flex;flex-direction:column}:host .container.second{display:flex;flex-direction:column;height:calc(100% - min(max(var(--first-content-height-SCOPED-IN-divider-EeS7),var(--min-first-content-height-SCOPED-IN-divider-EeS7)),var(--max-first-content-height-SCOPED-IN-divider-EeS7)));overflow:hidden}:host .container .cover{position:absolute;top:0;left:0;width:100%;height:100%}:host mat-divider{z-index:1000;width:100%;cursor:row-resize;position:relative}:host mat-divider:before{content:\"\";position:absolute;top:-8px;left:0;width:100%;height:8px;background-color:transparent;transition:.1s background-color}:host mat-divider:hover:before{background-color:var(--primary-color-SCOPED-IN-divider-EeS7)}\n"] }]
|
|
94
94
|
}] });
|
|
95
95
|
|
|
96
96
|
/**
|
|
@@ -37,7 +37,7 @@ class DrawerFrame extends NgAtomicComponent {
|
|
|
37
37
|
<mat-drawer-content>
|
|
38
38
|
<ng-content select=[contents] />
|
|
39
39
|
</mat-drawer-content>
|
|
40
|
-
</mat-drawer-container>`, isInline: true, styles: [":host{--content-width: 360px;--content-width-SCOPED-IN-drawer-
|
|
40
|
+
</mat-drawer-container>`, isInline: true, styles: [":host{--content-width: 360px;--content-width-SCOPED-IN-drawer-2pmL: var(--content-width);--height: 100%;--height-SCOPED-IN-drawer-2pmL: var(--height);--background-color: #f0f0f0;--background-color-SCOPED-IN-drawer-2pmL: var(--background-color);--surface-color: transparent;--surface-color-SCOPED-IN-drawer-2pmL: var(--surface-color)}:host{display:contents;height:var(--height-SCOPED-IN-drawer-2pmL)}:host mat-drawer{background-color:var(--background-color-SCOPED-IN-drawer-2pmL)}:host mat-drawer-container{--mat-sidenav-content-background-color: transparent;width:100%;height:100%}:host mat-drawer-content{width:100%;height:100%}\n"], dependencies: [{ kind: "ngmodule", type: MatSidenavModule }, { kind: "component", type: i1.MatDrawer, selector: "mat-drawer", inputs: ["position", "mode", "disableClose", "autoFocus", "opened"], outputs: ["openedChange", "opened", "openedStart", "closed", "closedStart", "positionChanged"], exportAs: ["matDrawer"] }, { kind: "component", type: i1.MatDrawerContainer, selector: "mat-drawer-container", inputs: ["autosize", "hasBackdrop"], outputs: ["backdropClick"], exportAs: ["matDrawerContainer"] }, { kind: "component", type: i1.MatDrawerContent, selector: "mat-drawer-content" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
41
41
|
}
|
|
42
42
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.2", ngImport: i0, type: DrawerFrame, decorators: [{
|
|
43
43
|
type: Component,
|
|
@@ -56,7 +56,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.2", ngImpor
|
|
|
56
56
|
directive: DrawerFrameStore,
|
|
57
57
|
inputs: ['opened', 'mode', 'hasBackdrop', 'position'],
|
|
58
58
|
}
|
|
59
|
-
], styles: [":host{--content-width: 360px;--content-width-SCOPED-IN-drawer-
|
|
59
|
+
], styles: [":host{--content-width: 360px;--content-width-SCOPED-IN-drawer-2pmL: var(--content-width);--height: 100%;--height-SCOPED-IN-drawer-2pmL: var(--height);--background-color: #f0f0f0;--background-color-SCOPED-IN-drawer-2pmL: var(--background-color);--surface-color: transparent;--surface-color-SCOPED-IN-drawer-2pmL: var(--surface-color)}:host{display:contents;height:var(--height-SCOPED-IN-drawer-2pmL)}:host mat-drawer{background-color:var(--background-color-SCOPED-IN-drawer-2pmL)}:host mat-drawer-container{--mat-sidenav-content-background-color: transparent;width:100%;height:100%}:host mat-drawer-content{width:100%;height:100%}\n"] }]
|
|
60
60
|
}] });
|
|
61
61
|
|
|
62
62
|
/**
|
|
@@ -43,7 +43,7 @@ class EntranceFrame extends NgAtomicComponent {
|
|
|
43
43
|
(action)="dispatch($event)"
|
|
44
44
|
/>
|
|
45
45
|
</frames-overlay>
|
|
46
|
-
`, isInline: true, styles: [":host{display:block;--primary-color: inherit;--primary-color-SCOPED-IN-entrance-
|
|
46
|
+
`, isInline: true, styles: [":host{display:block;--primary-color: inherit;--primary-color-SCOPED-IN-entrance-DNNi: var(--primary-color);--on-primary-color: inherit;--on-primary-color-SCOPED-IN-entrance-DNNi: var(--on-primary-color);--surface-color: inherit;--surface-color-SCOPED-IN-entrance-DNNi: var(--surface-color);--on-surface-color: inherit;--on-surface-color-SCOPED-IN-entrance-DNNi: var(--on-surface-color);--background-color: inherit;--background-color-SCOPED-IN-entrance-DNNi: var(--background-color);--on-background-color: inherit;--on-background-color-SCOPED-IN-entrance-DNNi: var(--on-background-color);--menu-width: inherit;--menu-width-SCOPED-IN-entrance-DNNi: var(--menu-width);--menu-background-color: inherit;--menu-background-color-SCOPED-IN-entrance-DNNi: var(--menu-background-color);--menu-on-background-color: inherit;--menu-on-background-color-SCOPED-IN-entrance-DNNi: var(--menu-on-background-color);--background-primary-color: inherit;--background-primary-color-SCOPED-IN-entrance-DNNi: var(--background-primary-color);--background-on-primary-color: inherit;--background-on-primary-color-SCOPED-IN-entrance-DNNi: var(--background-on-primary-color);--background-background-color: inherit;--background-background-color-SCOPED-IN-entrance-DNNi: var(--background-background-color)}:host{display:block;width:100%;height:100%}:host templates-entrance{position:relative;width:100%;height:100%}:host *{--primary-color: var(--primary-color-SCOPED-IN-entrance-DNNi);--on-primary-color: var(--on-primary-color-SCOPED-IN-entrance-DNNi);--surface-color: var(--surface-color-SCOPED-IN-entrance-DNNi);--on-surface-color: var(--on-surface-color-SCOPED-IN-entrance-DNNi);--background-color: var(--background-color-SCOPED-IN-entrance-DNNi);--on-background-color: var(--on-background-color-SCOPED-IN-entrance-DNNi);--menu-background-color: var(--menu-background-color-SCOPED-IN-entrance-DNNi);--menu-on-background-color: var(--menu-on-background-color-SCOPED-IN-entrance-DNNi)}\n"], dependencies: [{ kind: "component", type: OverlayFrame, selector: "frames-overlay" }, { kind: "directive", type: EntranceTemplateStore, selector: "templates-entrance", inputs: ["form", "actions", "fieldMap", "title"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
47
47
|
}
|
|
48
48
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.2", ngImport: i0, type: EntranceFrame, decorators: [{
|
|
49
49
|
type: Component,
|
|
@@ -69,7 +69,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.2", ngImpor
|
|
|
69
69
|
directive: EntranceFrameStore,
|
|
70
70
|
inputs: ['isEntrance', 'actions', 'form', 'title'],
|
|
71
71
|
},
|
|
72
|
-
], styles: [":host{display:block;--primary-color: inherit;--primary-color-SCOPED-IN-entrance-
|
|
72
|
+
], styles: [":host{display:block;--primary-color: inherit;--primary-color-SCOPED-IN-entrance-DNNi: var(--primary-color);--on-primary-color: inherit;--on-primary-color-SCOPED-IN-entrance-DNNi: var(--on-primary-color);--surface-color: inherit;--surface-color-SCOPED-IN-entrance-DNNi: var(--surface-color);--on-surface-color: inherit;--on-surface-color-SCOPED-IN-entrance-DNNi: var(--on-surface-color);--background-color: inherit;--background-color-SCOPED-IN-entrance-DNNi: var(--background-color);--on-background-color: inherit;--on-background-color-SCOPED-IN-entrance-DNNi: var(--on-background-color);--menu-width: inherit;--menu-width-SCOPED-IN-entrance-DNNi: var(--menu-width);--menu-background-color: inherit;--menu-background-color-SCOPED-IN-entrance-DNNi: var(--menu-background-color);--menu-on-background-color: inherit;--menu-on-background-color-SCOPED-IN-entrance-DNNi: var(--menu-on-background-color);--background-primary-color: inherit;--background-primary-color-SCOPED-IN-entrance-DNNi: var(--background-primary-color);--background-on-primary-color: inherit;--background-on-primary-color-SCOPED-IN-entrance-DNNi: var(--background-on-primary-color);--background-background-color: inherit;--background-background-color-SCOPED-IN-entrance-DNNi: var(--background-background-color)}:host{display:block;width:100%;height:100%}:host templates-entrance{position:relative;width:100%;height:100%}:host *{--primary-color: var(--primary-color-SCOPED-IN-entrance-DNNi);--on-primary-color: var(--on-primary-color-SCOPED-IN-entrance-DNNi);--surface-color: var(--surface-color-SCOPED-IN-entrance-DNNi);--on-surface-color: var(--on-surface-color-SCOPED-IN-entrance-DNNi);--background-color: var(--background-color-SCOPED-IN-entrance-DNNi);--on-background-color: var(--on-background-color-SCOPED-IN-entrance-DNNi);--menu-background-color: var(--menu-background-color-SCOPED-IN-entrance-DNNi);--menu-on-background-color: var(--menu-on-background-color-SCOPED-IN-entrance-DNNi)}\n"] }]
|
|
73
73
|
}] });
|
|
74
74
|
|
|
75
75
|
/**
|