@ng-atomic/components 17.9.0 → 17.11.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 +3 -2
- package/esm2022/frames/app/app.frame.mjs +192 -16
- package/esm2022/frames/auto-layout/auto-layout.frame.mjs +2 -2
- package/esm2022/frames/columns/columns.frame.mjs +4 -4
- 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 +2 -1
- 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 +11 -4
- 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 +34 -28
- 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/checkbox-column/checkbox-column.molecule.mjs +48 -11
- 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/navigation-list-item/navigation-list-item.molecule.mjs +11 -8
- 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 +4 -5
- package/esm2022/organisms/messages-section/messages-section.organism.mjs +2 -2
- package/esm2022/organisms/navigation-list/navigation-list.organism.mjs +51 -20
- package/esm2022/organisms/navigator/navigator.organism.mjs +3 -3
- package/esm2022/organisms/number-input-section/number-input-section.organism.mjs +2 -2
- 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 +4 -4
- package/esm2022/organisms/smart-list/smart-list.organism.mjs +11 -3
- package/esm2022/organisms/social-login-section/social-login-section.organism.mjs +2 -2
- package/esm2022/organisms/table/index.helpers.mjs +3 -1
- package/esm2022/organisms/table/table.organism.mjs +205 -101
- 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 +242 -50
- package/esm2022/pages/form/form.page.mjs +71 -46
- package/esm2022/pages/pages.module.mjs +3 -4
- package/esm2022/templates/_index/index.template.mjs +66 -28
- package/esm2022/templates/background/background.template.mjs +2 -2
- package/esm2022/templates/entrance/entrance.template.mjs +2 -2
- package/esm2022/templates/form/form.builder.mjs +12 -2
- package/esm2022/templates/form/form.template.mjs +2 -2
- package/esm2022/templates/icon-button-menu/icon-button-menu.template.mjs +2 -2
- package/esm2022/templates/menu/menu.template.mjs +3 -3
- package/esm2022/templates/selection/selection.template.mjs +2 -2
- package/esm2022/templates/settings/settings.template.mjs +2 -2
- package/fesm2022/ng-atomic-components-atoms-icon.mjs +2 -2
- package/fesm2022/ng-atomic-components-frames-app.mjs +191 -15
- 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 +3 -3
- package/fesm2022/ng-atomic-components-frames-columns.mjs.map +1 -1
- 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 +10 -3
- package/fesm2022/ng-atomic-components-frames-router-outlet.mjs.map +1 -1
- 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 +33 -27
- package/fesm2022/ng-atomic-components-frames-side-nav.mjs.map +1 -1
- 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 +1 -0
- package/fesm2022/ng-atomic-components-frames.mjs.map +1 -1
- package/fesm2022/ng-atomic-components-molecules-checkbox-column.mjs +47 -10
- package/fesm2022/ng-atomic-components-molecules-checkbox-column.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 +10 -7
- package/fesm2022/ng-atomic-components-molecules-navigation-list-item.mjs.map +1 -1
- 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-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 +3 -4
- package/fesm2022/ng-atomic-components-organisms-menu-header.mjs.map +1 -1
- package/fesm2022/ng-atomic-components-organisms-messages-section.mjs +2 -2
- package/fesm2022/ng-atomic-components-organisms-navigation-list.mjs +50 -19
- package/fesm2022/ng-atomic-components-organisms-navigation-list.mjs.map +1 -1
- package/fesm2022/ng-atomic-components-organisms-navigator.mjs +2 -2
- 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 +3 -3
- package/fesm2022/ng-atomic-components-organisms-slider-input-section.mjs.map +1 -1
- package/fesm2022/ng-atomic-components-organisms-smart-list.mjs +10 -2
- package/fesm2022/ng-atomic-components-organisms-smart-list.mjs.map +1 -1
- package/fesm2022/ng-atomic-components-organisms-social-login-section.mjs +2 -2
- package/fesm2022/ng-atomic-components-organisms-table.mjs +206 -100
- package/fesm2022/ng-atomic-components-organisms-table.mjs.map +1 -1
- 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-pages-_index.mjs +242 -50
- package/fesm2022/ng-atomic-components-pages-_index.mjs.map +1 -1
- package/fesm2022/ng-atomic-components-pages-form.mjs +71 -46
- package/fesm2022/ng-atomic-components-pages-form.mjs.map +1 -1
- package/fesm2022/ng-atomic-components-pages.mjs +2 -3
- package/fesm2022/ng-atomic-components-pages.mjs.map +1 -1
- package/fesm2022/ng-atomic-components-templates-_index.mjs +65 -27
- 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-entrance.mjs +2 -2
- package/fesm2022/ng-atomic-components-templates-form.mjs +13 -3
- 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-menu.mjs.map +1 -1
- 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.mjs +2 -1
- package/fesm2022/ng-atomic-components.mjs.map +1 -1
- package/frames/app/app.frame.d.ts +69 -52
- package/frames/columns/columns.frame.d.ts +3 -3
- package/frames/fab/fab.frame.d.ts +3 -3
- package/frames/router-outlet/router-outlet.frame.d.ts +4 -3
- package/frames/side-nav/side-nav.frame.d.ts +16 -12
- package/molecules/actions-column/actions-column.molecule.d.ts +3 -3
- package/molecules/checkbox-column/checkbox-column.molecule.d.ts +8 -2
- package/molecules/chips-input-field/chips-input-field.molecule.d.ts +3 -3
- package/molecules/loading-box/loading-box.molecule.d.ts +3 -3
- package/molecules/navigation-list-item/navigation-list-item.molecule.d.ts +3 -2
- package/organisms/menu-header/menu-header.organism.d.ts +10 -4
- package/organisms/navigation-list/navigation-list.organism.d.ts +2 -1
- package/organisms/navigator/navigator.organism.d.ts +3 -3
- package/organisms/slider-input-section/slider-input-section.organism.d.ts +3 -3
- package/organisms/smart-list/smart-list.organism.d.ts +14 -13
- package/organisms/stripe-input-section/stripe-input-section.organism.d.ts +3 -3
- package/organisms/table/index.helpers.d.ts +1 -0
- package/organisms/table/table.organism.d.ts +39 -9
- package/package.json +3 -3
- package/pages/_index/index.page.d.ts +123 -82
- package/pages/form/form.page.d.ts +69 -56
- package/pages/terms/terms.page.d.ts +3 -3
- package/templates/_index/index.template.d.ts +27 -15
- package/templates/form/form.template.d.ts +3 -3
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { __decorate, __metadata } from 'tslib';
|
|
2
2
|
import * as i0 from '@angular/core';
|
|
3
|
-
import { inject, PLATFORM_ID, input,
|
|
3
|
+
import { inject, PLATFORM_ID, input, Directive, viewChild, Component, ChangeDetectionStrategy } from '@angular/core';
|
|
4
4
|
import { isPlatformServer } from '@angular/common';
|
|
5
5
|
import { AutoLayoutFrame } from '@ng-atomic/components/frames/auto-layout';
|
|
6
6
|
import { ScrollFrame } from '@ng-atomic/components/frames/scroll';
|
|
@@ -26,16 +26,18 @@ import { DataAccessorPipe } from '@ng-atomic/common/pipes/data-accessor';
|
|
|
26
26
|
import { computedRawValue } from '@ng-atomic/common/utils';
|
|
27
27
|
import { toObservable } from '@angular/core/rxjs-interop';
|
|
28
28
|
import { ChipsInputSectionOrganism } from '@ng-atomic/components/organisms/chips-input-section';
|
|
29
|
+
import { FlatTreeControl } from '@angular/cdk/tree';
|
|
29
30
|
|
|
30
31
|
var IndexTemplateStore_1;
|
|
31
32
|
var ActionId;
|
|
32
33
|
(function (ActionId) {
|
|
33
34
|
ActionId["BACK"] = "[@ng-atomic/components/templates/index] Back";
|
|
34
35
|
ActionId["TABLE_HEADER_CLICK"] = "[@ng-atomic/components/templates/index] Table Header Click";
|
|
36
|
+
ActionId["TABLE_HEADER_CHECKBOX_CLICK"] = "[@ng-atomic/components/templates/index] Table Header Checkbox Click";
|
|
37
|
+
ActionId["TABLE_CHECKBOX_CLICK"] = "[@ng-atomic/components/templates/index] Table Checkbox Click";
|
|
35
38
|
ActionId["ITEM_CLICK"] = "[@ng-atomic/components/templates/index] Item Click";
|
|
36
39
|
ActionId["DETAIL"] = "[@ng-atomic/components/templates/index] Detail";
|
|
37
40
|
ActionId["LIST_ITEM_BUTTON_CLICKED"] = "[@ng-atomic/components/templates/index] List Item Button Clicked";
|
|
38
|
-
ActionId["CHECKBOX_CLICK"] = "[@ng-atomic/components/templates/index] Check Item";
|
|
39
41
|
ActionId["TOGGLE_TYPE"] = "[@ng-atomic/components/templates/index] Toggle Type";
|
|
40
42
|
})(ActionId || (ActionId = {}));
|
|
41
43
|
function getType(context) {
|
|
@@ -57,10 +59,13 @@ let IndexTemplateStore = class IndexTemplateStore extends InjectableComponent {
|
|
|
57
59
|
this.gridToolbarActions = input(_computed(() => this.config().gridToolbarActions));
|
|
58
60
|
this.toggleActions = input(_computed(() => this.config().toggleActions));
|
|
59
61
|
this.tableChildrenKey = input(_computed(() => this.config().tableChildrenKey));
|
|
62
|
+
this.tableIsHidden = input(_computed(() => this.config().tableIsHidden));
|
|
63
|
+
this.tableTreeControl = input(_computed(() => this.config().tableTreeControl));
|
|
60
64
|
this.itemActions = input(_computed(() => this.config().itemActions));
|
|
61
65
|
this.title = input(_computed(() => this.config().title));
|
|
62
66
|
this.description = input(_computed(() => this.config().description));
|
|
63
67
|
this.items = input(_computed(() => this.config().items));
|
|
68
|
+
this.itemsLength = input(_computed(() => this.config().itemsLength));
|
|
64
69
|
this.navStartActions = input(_computed(() => this.config().navStartActions));
|
|
65
70
|
this.navEndActions = input(_computed(() => this.config().navEndActions));
|
|
66
71
|
this.groupedBy = input(_computed(() => this.config().groupedBy));
|
|
@@ -72,12 +77,9 @@ let IndexTemplateStore = class IndexTemplateStore extends InjectableComponent {
|
|
|
72
77
|
this.form$ = toObservable(computeFake(this.form));
|
|
73
78
|
this.formValue = computedRawValue(() => call(this.form()));
|
|
74
79
|
this.pipes = { index: inject(IndexPipe), indexLength: inject(IndexLengthPipe) };
|
|
75
|
-
this.indexItems = computed(() => {
|
|
76
|
-
return this.pipes.index.transform(this.items(), this.formValue());
|
|
77
|
-
});
|
|
78
|
-
this.indexItemsLength = computed(() => this.pipes.indexLength.transform(this.items(), this.formValue()));
|
|
79
80
|
}
|
|
80
81
|
static { IndexTemplateStore_1 = this; }
|
|
82
|
+
static { this.ActionId = ActionId; }
|
|
81
83
|
static { this.Config = makeConfig(() => {
|
|
82
84
|
const modelName = injectModelName();
|
|
83
85
|
function getWidth(context) {
|
|
@@ -92,7 +94,7 @@ let IndexTemplateStore = class IndexTemplateStore extends InjectableComponent {
|
|
|
92
94
|
}
|
|
93
95
|
const form = injectIndexForm();
|
|
94
96
|
const navStartActions = injectNavStartActions();
|
|
95
|
-
return (
|
|
97
|
+
return () => ({
|
|
96
98
|
form,
|
|
97
99
|
toggleActions: [
|
|
98
100
|
{ id: ActionId.TOGGLE_TYPE, icon: 'grid_view', payload: 'grid' },
|
|
@@ -101,23 +103,33 @@ let IndexTemplateStore = class IndexTemplateStore extends InjectableComponent {
|
|
|
101
103
|
],
|
|
102
104
|
gridToolbarActions: [],
|
|
103
105
|
tableChildrenKey: null,
|
|
106
|
+
tableIsHidden: (item) => false,
|
|
107
|
+
tableTreeControl: new FlatTreeControl(n => n.level, n => n.isExpandable),
|
|
104
108
|
itemActions: (item) => [{ id: ActionId.DETAIL, icon: 'open_in_new', payload: item }],
|
|
105
109
|
items: [],
|
|
110
|
+
itemsLength: 0,
|
|
106
111
|
title: `${modelName()}一覧`,
|
|
107
112
|
description: ``,
|
|
108
113
|
navStartActions: navStartActions(),
|
|
109
114
|
navEndActions: [],
|
|
110
115
|
groupedBy: null,
|
|
111
116
|
groupKeys: [],
|
|
112
|
-
type:
|
|
117
|
+
type: 'table',
|
|
113
118
|
pageSizeOptions: [5, 10, 25, 100],
|
|
114
|
-
width: getWidth(context),
|
|
115
119
|
selection: new SelectionModel(true, []),
|
|
116
120
|
highlight: new SelectionModel(true, []),
|
|
117
121
|
});
|
|
118
122
|
}, ['components', 'templates', 'index']); }
|
|
123
|
+
static provideTypeConfig() {
|
|
124
|
+
return IndexTemplateStore_1.Config.provide(() => {
|
|
125
|
+
return (config, context) => ({
|
|
126
|
+
...config,
|
|
127
|
+
type: getType(context),
|
|
128
|
+
});
|
|
129
|
+
});
|
|
130
|
+
}
|
|
119
131
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.2.2", ngImport: i0, type: IndexTemplateStore, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
|
|
120
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "17.2.2", type: IndexTemplateStore, isStandalone: true, selector: "templates-index", inputs: { form: { classPropertyName: "form", publicName: "form", isSignal: true, isRequired: false, transformFunction: null }, gridToolbarActions: { classPropertyName: "gridToolbarActions", publicName: "gridToolbarActions", isSignal: true, isRequired: false, transformFunction: null }, toggleActions: { classPropertyName: "toggleActions", publicName: "toggleActions", isSignal: true, isRequired: false, transformFunction: null }, tableChildrenKey: { classPropertyName: "tableChildrenKey", publicName: "tableChildrenKey", isSignal: true, isRequired: false, transformFunction: null }, itemActions: { classPropertyName: "itemActions", publicName: "itemActions", isSignal: true, isRequired: false, transformFunction: null }, title: { classPropertyName: "title", publicName: "title", isSignal: true, isRequired: false, transformFunction: null }, description: { classPropertyName: "description", publicName: "description", isSignal: true, isRequired: false, transformFunction: null }, items: { classPropertyName: "items", publicName: "items", isSignal: true, isRequired: false, transformFunction: null }, navStartActions: { classPropertyName: "navStartActions", publicName: "navStartActions", isSignal: true, isRequired: false, transformFunction: null }, navEndActions: { classPropertyName: "navEndActions", publicName: "navEndActions", isSignal: true, isRequired: false, transformFunction: null }, groupedBy: { classPropertyName: "groupedBy", publicName: "groupedBy", isSignal: true, isRequired: false, transformFunction: null }, groupKeys: { classPropertyName: "groupKeys", publicName: "groupKeys", isSignal: true, isRequired: false, transformFunction: null }, pageSizeOptions: { classPropertyName: "pageSizeOptions", publicName: "pageSizeOptions", isSignal: true, isRequired: false, transformFunction: null }, type: { classPropertyName: "type", publicName: "type", isSignal: true, isRequired: false, transformFunction: null }, selection: { classPropertyName: "selection", publicName: "selection", isSignal: true, isRequired: false, transformFunction: null }, highlight: { classPropertyName: "highlight", publicName: "highlight", isSignal: true, isRequired: false, transformFunction: null } }, providers: [
|
|
132
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "17.2.2", type: IndexTemplateStore, isStandalone: true, selector: "templates-index", inputs: { form: { classPropertyName: "form", publicName: "form", isSignal: true, isRequired: false, transformFunction: null }, gridToolbarActions: { classPropertyName: "gridToolbarActions", publicName: "gridToolbarActions", isSignal: true, isRequired: false, transformFunction: null }, toggleActions: { classPropertyName: "toggleActions", publicName: "toggleActions", isSignal: true, isRequired: false, transformFunction: null }, tableChildrenKey: { classPropertyName: "tableChildrenKey", publicName: "tableChildrenKey", isSignal: true, isRequired: false, transformFunction: null }, tableIsHidden: { classPropertyName: "tableIsHidden", publicName: "tableIsHidden", isSignal: true, isRequired: false, transformFunction: null }, tableTreeControl: { classPropertyName: "tableTreeControl", publicName: "tableTreeControl", isSignal: true, isRequired: false, transformFunction: null }, itemActions: { classPropertyName: "itemActions", publicName: "itemActions", isSignal: true, isRequired: false, transformFunction: null }, title: { classPropertyName: "title", publicName: "title", isSignal: true, isRequired: false, transformFunction: null }, description: { classPropertyName: "description", publicName: "description", isSignal: true, isRequired: false, transformFunction: null }, items: { classPropertyName: "items", publicName: "items", isSignal: true, isRequired: false, transformFunction: null }, itemsLength: { classPropertyName: "itemsLength", publicName: "itemsLength", isSignal: true, isRequired: false, transformFunction: null }, navStartActions: { classPropertyName: "navStartActions", publicName: "navStartActions", isSignal: true, isRequired: false, transformFunction: null }, navEndActions: { classPropertyName: "navEndActions", publicName: "navEndActions", isSignal: true, isRequired: false, transformFunction: null }, groupedBy: { classPropertyName: "groupedBy", publicName: "groupedBy", isSignal: true, isRequired: false, transformFunction: null }, groupKeys: { classPropertyName: "groupKeys", publicName: "groupKeys", isSignal: true, isRequired: false, transformFunction: null }, pageSizeOptions: { classPropertyName: "pageSizeOptions", publicName: "pageSizeOptions", isSignal: true, isRequired: false, transformFunction: null }, type: { classPropertyName: "type", publicName: "type", isSignal: true, isRequired: false, transformFunction: null }, selection: { classPropertyName: "selection", publicName: "selection", isSignal: true, isRequired: false, transformFunction: null }, highlight: { classPropertyName: "highlight", publicName: "highlight", isSignal: true, isRequired: false, transformFunction: null } }, providers: [
|
|
121
133
|
IndexPipe,
|
|
122
134
|
IndexLengthPipe,
|
|
123
135
|
], usesInheritance: true, ngImport: i0 }); }
|
|
@@ -148,7 +160,8 @@ class IndexTemplate extends NgAtomicComponent {
|
|
|
148
160
|
this.dispatch({ id: ActionId.TABLE_HEADER_CLICK, payload: column });
|
|
149
161
|
}
|
|
150
162
|
onCheckboxClickItem(item) {
|
|
151
|
-
|
|
163
|
+
console.debug('TEST!!!');
|
|
164
|
+
this.dispatch({ id: ActionId.TABLE_CHECKBOX_CLICK, payload: item });
|
|
152
165
|
}
|
|
153
166
|
onItemClicked(item) {
|
|
154
167
|
this.dispatch({ id: ActionId.ITEM_CLICK, payload: item });
|
|
@@ -156,13 +169,16 @@ class IndexTemplate extends NgAtomicComponent {
|
|
|
156
169
|
onItemButtonClicked(item) {
|
|
157
170
|
this.dispatch({ id: ActionId.LIST_ITEM_BUTTON_CLICKED, payload: item });
|
|
158
171
|
}
|
|
172
|
+
onHeaderCheckboxClick() {
|
|
173
|
+
this.dispatch({ id: ActionId.TABLE_HEADER_CHECKBOX_CLICK });
|
|
174
|
+
}
|
|
159
175
|
back() {
|
|
160
176
|
this.dispatch({ id: ActionId.BACK });
|
|
161
177
|
}
|
|
162
178
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.2.2", ngImport: i0, type: IndexTemplate, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
163
179
|
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.2.2", type: IndexTemplate, isStandalone: true, selector: "templates-index", host: { classAttribute: "template" }, providers: [
|
|
164
180
|
QueryResolverService,
|
|
165
|
-
], viewQueries: [{ propertyName: "dividerFrame", first: true, predicate: DividerFrame, descendants: true, isSignal: true }], usesInheritance: true, hostDirectives: [{ directive: IndexTemplateStore, inputs: ["gridToolbarActions", "gridToolbarActions", "tableChildrenKey", "tableChildrenKey", "form", "form", "title", "title", "description", "description", "items", "items", "itemActions", "itemActions", "navStartActions", "navStartActions", "navEndActions", "navEndActions", "groupedBy", "groupedBy", "groupKeys", "groupKeys", "selection", "selection", "pageSizeOptions", "pageSizeOptions", "type", "type", "highlight", "highlight"] }], ngImport: i0, template: `
|
|
181
|
+
], viewQueries: [{ propertyName: "dividerFrame", first: true, predicate: DividerFrame, descendants: true, isSignal: true }], usesInheritance: true, hostDirectives: [{ directive: IndexTemplateStore, inputs: ["gridToolbarActions", "gridToolbarActions", "tableChildrenKey", "tableChildrenKey", "tableIsHidden", "tableIsHidden", "tableTreeControl", "tableTreeControl", "form", "form", "title", "title", "description", "description", "items", "items", "itemsLength", "itemsLength", "itemActions", "itemActions", "navStartActions", "navStartActions", "navEndActions", "navEndActions", "groupedBy", "groupedBy", "groupKeys", "groupKeys", "selection", "selection", "pageSizeOptions", "pageSizeOptions", "type", "type", "highlight", "highlight"] }], ngImport: i0, template: `
|
|
166
182
|
<frames-scroll>
|
|
167
183
|
<organisms-navigator injectable
|
|
168
184
|
[startActions]="store.navStartActions()"
|
|
@@ -176,7 +192,7 @@ class IndexTemplate extends NgAtomicComponent {
|
|
|
176
192
|
@switch(store.type()) {
|
|
177
193
|
@case('list') {
|
|
178
194
|
<organisms-smart-list
|
|
179
|
-
[items]="store.
|
|
195
|
+
[items]="store.items()"
|
|
180
196
|
[itemActions]="store.itemActions()"
|
|
181
197
|
[groupedBy]="store.groupedBy()"
|
|
182
198
|
[groupKeys]="store.groupKeys()"
|
|
@@ -186,7 +202,7 @@ class IndexTemplate extends NgAtomicComponent {
|
|
|
186
202
|
@case ('grid') {
|
|
187
203
|
@defer {
|
|
188
204
|
<organisms-grid-cards-section
|
|
189
|
-
[items]="store.
|
|
205
|
+
[items]="store.items()"
|
|
190
206
|
(action)="dispatch($event)"
|
|
191
207
|
contents
|
|
192
208
|
/>
|
|
@@ -211,19 +227,21 @@ class IndexTemplate extends NgAtomicComponent {
|
|
|
211
227
|
/>
|
|
212
228
|
}
|
|
213
229
|
<organisms-table injectable
|
|
214
|
-
[items]="store.
|
|
230
|
+
[items]="store.items()"
|
|
215
231
|
[itemActions]="store.itemActions()"
|
|
216
232
|
[selection]="store.selection()"
|
|
217
233
|
[form]="store.form()"
|
|
218
234
|
[childrenKey]="store.tableChildrenKey()"
|
|
219
235
|
[highlight]="store.highlight()"
|
|
236
|
+
[isHidden]="store.tableIsHidden()"
|
|
237
|
+
[treeControl]="store.tableTreeControl()"
|
|
220
238
|
(action)="dispatch($event)"
|
|
221
239
|
/>
|
|
222
240
|
@if (store.form().get(['page'])) {
|
|
223
241
|
@defer {
|
|
224
242
|
<organisms-paginator injectable
|
|
225
243
|
[form]="store.form().get(['page'])"
|
|
226
|
-
[itemLength]="store.
|
|
244
|
+
[itemLength]="store.itemsLength()"
|
|
227
245
|
[pageSizeOptions]="store.pageSizeOptions()"
|
|
228
246
|
/>
|
|
229
247
|
}
|
|
@@ -235,7 +253,7 @@ class IndexTemplate extends NgAtomicComponent {
|
|
|
235
253
|
}
|
|
236
254
|
</frames-auto-layout>
|
|
237
255
|
</frames-scroll>
|
|
238
|
-
`, isInline: true, styles: [":host{width:100%;height:100%;background:#fff;display:block;--navigator-height: 56px;--navigator-height-SCOPED-IN-index-
|
|
256
|
+
`, isInline: true, styles: [":host{width:100%;height:100%;background:#fff;display:block;--navigator-height: 56px;--navigator-height-SCOPED-IN-index-oJo7: var(--navigator-height);--primary-color: #404040;--primary-color-SCOPED-IN-index-oJo7: var(--primary-color);--on-primary-color: #f0f0f0;--on-primary-color-SCOPED-IN-index-oJo7: var(--on-primary-color);--secondary-color: #f0f0f0;--secondary-color-SCOPED-IN-index-oJo7: var(--secondary-color);--surface-color: #f0f0f0;--surface-color-SCOPED-IN-index-oJo7: var(--surface-color);--on-surface-color: #000;--on-surface-color-SCOPED-IN-index-oJo7: var(--on-surface-color);--background-color: #f0f0f0;--background-color-SCOPED-IN-index-oJo7: var(--background-color);--on-background-color: #000;--on-background-color-SCOPED-IN-index-oJo7: var(--on-background-color);--first-content-height: 0px;--first-content-height-SCOPED-IN-index-oJo7: var(--first-content-height);--navigator-background-color: var(--primary-color-SCOPED-IN-index-oJo7);--navigator-background-color-SCOPED-IN-index-oJo7: var(--navigator-background-color);--navigator-on-background-color: var(--on-primary-color-SCOPED-IN-index-oJo7);--navigator-on-background-color-SCOPED-IN-index-oJo7: var(--navigator-on-background-color);--table-background-color: var(--background-color-SCOPED-IN-index-oJo7);--table-background-color-SCOPED-IN-index-oJo7: var(--table-background-color);--table-on-background-color: var(--on-background-color-SCOPED-IN-index-oJo7);--table-on-background-color-SCOPED-IN-index-oJo7: var(--table-on-background-color);--min-first-content-height: 0px;--min-first-content-height-SCOPED-IN-index-oJo7: var(--min-first-content-height);--max-first-content-height: calc(100% - 80px) ;--max-first-content-height-SCOPED-IN-index-oJo7: var(--max-first-content-height)}:host{background-color:var(--background-color-SCOPED-IN-index-oJo7);color:var(--on-background-color-SCOPED-IN-index-oJo7);transition:background-color .5s ease-in-out}:host frames-auto-layout{--gap: 0;--vertical-padding: 0}:host frames-divider{--first-content-height: var(--first-content-height-SCOPED-IN-index-oJo7);--min-first-content-height: var(--min-first-content-height-SCOPED-IN-index-oJo7)}:host organisms-table{--background-color: var(--table-background-color-SCOPED-IN-index-oJo7);--on-background-color: var(--table-on-background-color-SCOPED-IN-index-oJo7)}:host *{--primary-color: var(--primary-color-SCOPED-IN-index-oJo7);--on-primary-color: var(--on-primary-color-SCOPED-IN-index-oJo7);--surface-color: var(--surface-color-SCOPED-IN-index-oJo7);--on-surface-color: var(--on-surface-color-SCOPED-IN-index-oJo7);--background-color: var(--background-color-SCOPED-IN-index-oJo7);--on-background-color: var(--on-background-color-SCOPED-IN-index-oJo7)}:host organisms-navigator{--background-color: var(--navigator-background-color-SCOPED-IN-index-oJo7);--on-background-color: var(--navigator-on-background-color-SCOPED-IN-index-oJo7)}\n"], dependencies: [{ kind: "component", type: AutoLayoutFrame, selector: "frames-auto-layout" }, { kind: "component", type: ScrollFrame, selector: "frames-scroll" }, { kind: "component", type: SmartListOrganism, selector: "organisms-smart-list" }, { kind: "directive", type: NavigatorOrganismStore, selector: "organisms-navigator", inputs: ["startActions", "endActions", "title"] }, { kind: "directive", type: HeaderMoleculeStore, selector: "molecules-header", inputs: ["title", "description"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
239
257
|
}
|
|
240
258
|
__decorate([
|
|
241
259
|
Effect(TableOrganism.ActionId.HEADER_CLICK),
|
|
@@ -263,6 +281,12 @@ __decorate([
|
|
|
263
281
|
__metadata("design:paramtypes", [Object]),
|
|
264
282
|
__metadata("design:returntype", void 0)
|
|
265
283
|
], IndexTemplate.prototype, "onItemButtonClicked", null);
|
|
284
|
+
__decorate([
|
|
285
|
+
Effect(TableOrganismStore.ActionId.HEADER_CHECKBOX_CLICK),
|
|
286
|
+
__metadata("design:type", Function),
|
|
287
|
+
__metadata("design:paramtypes", []),
|
|
288
|
+
__metadata("design:returntype", void 0)
|
|
289
|
+
], IndexTemplate.prototype, "onHeaderCheckboxClick", null);
|
|
266
290
|
__decorate([
|
|
267
291
|
Effect(NavActionId.BACK),
|
|
268
292
|
__metadata("design:type", Function),
|
|
@@ -301,7 +325,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.2.2", ngImpor
|
|
|
301
325
|
@switch(store.type()) {
|
|
302
326
|
@case('list') {
|
|
303
327
|
<organisms-smart-list
|
|
304
|
-
[items]="store.
|
|
328
|
+
[items]="store.items()"
|
|
305
329
|
[itemActions]="store.itemActions()"
|
|
306
330
|
[groupedBy]="store.groupedBy()"
|
|
307
331
|
[groupKeys]="store.groupKeys()"
|
|
@@ -311,7 +335,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.2.2", ngImpor
|
|
|
311
335
|
@case ('grid') {
|
|
312
336
|
@defer {
|
|
313
337
|
<organisms-grid-cards-section
|
|
314
|
-
[items]="store.
|
|
338
|
+
[items]="store.items()"
|
|
315
339
|
(action)="dispatch($event)"
|
|
316
340
|
contents
|
|
317
341
|
/>
|
|
@@ -336,19 +360,21 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.2.2", ngImpor
|
|
|
336
360
|
/>
|
|
337
361
|
}
|
|
338
362
|
<organisms-table injectable
|
|
339
|
-
[items]="store.
|
|
363
|
+
[items]="store.items()"
|
|
340
364
|
[itemActions]="store.itemActions()"
|
|
341
365
|
[selection]="store.selection()"
|
|
342
366
|
[form]="store.form()"
|
|
343
367
|
[childrenKey]="store.tableChildrenKey()"
|
|
344
368
|
[highlight]="store.highlight()"
|
|
369
|
+
[isHidden]="store.tableIsHidden()"
|
|
370
|
+
[treeControl]="store.tableTreeControl()"
|
|
345
371
|
(action)="dispatch($event)"
|
|
346
372
|
/>
|
|
347
373
|
@if (store.form().get(['page'])) {
|
|
348
374
|
@defer {
|
|
349
375
|
<organisms-paginator injectable
|
|
350
376
|
[form]="store.form().get(['page'])"
|
|
351
|
-
[itemLength]="store.
|
|
377
|
+
[itemLength]="store.itemsLength()"
|
|
352
378
|
[pageSizeOptions]="store.pageSizeOptions()"
|
|
353
379
|
/>
|
|
354
380
|
}
|
|
@@ -364,10 +390,22 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.2.2", ngImpor
|
|
|
364
390
|
{
|
|
365
391
|
directive: IndexTemplateStore,
|
|
366
392
|
inputs: [
|
|
367
|
-
'gridToolbarActions',
|
|
368
|
-
'
|
|
369
|
-
'
|
|
370
|
-
'
|
|
393
|
+
'gridToolbarActions',
|
|
394
|
+
'tableChildrenKey',
|
|
395
|
+
'tableIsHidden',
|
|
396
|
+
'tableTreeControl',
|
|
397
|
+
'form',
|
|
398
|
+
'title',
|
|
399
|
+
'description',
|
|
400
|
+
'items',
|
|
401
|
+
'itemsLength',
|
|
402
|
+
'itemActions',
|
|
403
|
+
'navStartActions',
|
|
404
|
+
'navEndActions',
|
|
405
|
+
'groupedBy',
|
|
406
|
+
'groupKeys',
|
|
407
|
+
'selection',
|
|
408
|
+
'pageSizeOptions',
|
|
371
409
|
'type',
|
|
372
410
|
'highlight'
|
|
373
411
|
],
|
|
@@ -375,8 +413,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.2.2", ngImpor
|
|
|
375
413
|
}
|
|
376
414
|
], providers: [
|
|
377
415
|
QueryResolverService,
|
|
378
|
-
], styles: [":host{width:100%;height:100%;background:#fff;display:block;--navigator-height: 56px;--navigator-height-SCOPED-IN-index-
|
|
379
|
-
}], propDecorators: { onTableHeaderClick: [], onCheckboxClickItem: [], onItemClicked: [], onItemButtonClicked: [], back: [] } });
|
|
416
|
+
], styles: [":host{width:100%;height:100%;background:#fff;display:block;--navigator-height: 56px;--navigator-height-SCOPED-IN-index-oJo7: var(--navigator-height);--primary-color: #404040;--primary-color-SCOPED-IN-index-oJo7: var(--primary-color);--on-primary-color: #f0f0f0;--on-primary-color-SCOPED-IN-index-oJo7: var(--on-primary-color);--secondary-color: #f0f0f0;--secondary-color-SCOPED-IN-index-oJo7: var(--secondary-color);--surface-color: #f0f0f0;--surface-color-SCOPED-IN-index-oJo7: var(--surface-color);--on-surface-color: #000;--on-surface-color-SCOPED-IN-index-oJo7: var(--on-surface-color);--background-color: #f0f0f0;--background-color-SCOPED-IN-index-oJo7: var(--background-color);--on-background-color: #000;--on-background-color-SCOPED-IN-index-oJo7: var(--on-background-color);--first-content-height: 0px;--first-content-height-SCOPED-IN-index-oJo7: var(--first-content-height);--navigator-background-color: var(--primary-color-SCOPED-IN-index-oJo7);--navigator-background-color-SCOPED-IN-index-oJo7: var(--navigator-background-color);--navigator-on-background-color: var(--on-primary-color-SCOPED-IN-index-oJo7);--navigator-on-background-color-SCOPED-IN-index-oJo7: var(--navigator-on-background-color);--table-background-color: var(--background-color-SCOPED-IN-index-oJo7);--table-background-color-SCOPED-IN-index-oJo7: var(--table-background-color);--table-on-background-color: var(--on-background-color-SCOPED-IN-index-oJo7);--table-on-background-color-SCOPED-IN-index-oJo7: var(--table-on-background-color);--min-first-content-height: 0px;--min-first-content-height-SCOPED-IN-index-oJo7: var(--min-first-content-height);--max-first-content-height: calc(100% - 80px) ;--max-first-content-height-SCOPED-IN-index-oJo7: var(--max-first-content-height)}:host{background-color:var(--background-color-SCOPED-IN-index-oJo7);color:var(--on-background-color-SCOPED-IN-index-oJo7);transition:background-color .5s ease-in-out}:host frames-auto-layout{--gap: 0;--vertical-padding: 0}:host frames-divider{--first-content-height: var(--first-content-height-SCOPED-IN-index-oJo7);--min-first-content-height: var(--min-first-content-height-SCOPED-IN-index-oJo7)}:host organisms-table{--background-color: var(--table-background-color-SCOPED-IN-index-oJo7);--on-background-color: var(--table-on-background-color-SCOPED-IN-index-oJo7)}:host *{--primary-color: var(--primary-color-SCOPED-IN-index-oJo7);--on-primary-color: var(--on-primary-color-SCOPED-IN-index-oJo7);--surface-color: var(--surface-color-SCOPED-IN-index-oJo7);--on-surface-color: var(--on-surface-color-SCOPED-IN-index-oJo7);--background-color: var(--background-color-SCOPED-IN-index-oJo7);--on-background-color: var(--on-background-color-SCOPED-IN-index-oJo7)}:host organisms-navigator{--background-color: var(--navigator-background-color-SCOPED-IN-index-oJo7);--on-background-color: var(--navigator-on-background-color-SCOPED-IN-index-oJo7)}\n"] }]
|
|
417
|
+
}], propDecorators: { onTableHeaderClick: [], onCheckboxClickItem: [], onItemClicked: [], onItemButtonClicked: [], onHeaderCheckboxClick: [], back: [] } });
|
|
380
418
|
|
|
381
419
|
/**
|
|
382
420
|
* Generated bundle index. Do not edit.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ng-atomic-components-templates-_index.mjs","sources":["../../../../../packages/@ng-atomic/components/src/lib/templates/_index/index.template.ts","../../../../../packages/@ng-atomic/components/src/lib/templates/_index/ng-atomic-components-templates-_index.ts"],"sourcesContent":["import { ChangeDetectionStrategy, Component, Directive, PLATFORM_ID, computed, inject, input, viewChild } from '@angular/core';\nimport { isPlatformServer } from '@angular/common';\nimport { AutoLayoutFrame } from '@ng-atomic/components/frames/auto-layout';\nimport { ScrollFrame } from '@ng-atomic/components/frames/scroll';\nimport { HeaderMoleculeStore } from '@ng-atomic/components/molecules/header';\nimport { TableOrganism, TableOrganismStore, injectIndexForm } from '@ng-atomic/components/organisms/table';\nimport { SmartListOrganism } from '@ng-atomic/components/organisms/smart-list';\nimport { NavigatorOrganismStore } from '@ng-atomic/components/organisms/navigator';\nimport { PaginatorOrganismStore } from '@ng-atomic/components/organisms/paginator';\nimport { Action, Actions, InjectableComponent, TokenizedType, _computed, computeFake } from '@ng-atomic/core';\nimport { GridToolbarOrganismStore } from '@ng-atomic/components/organisms/grid-toolbar';\nimport { FiltersSectionOrganism } from '@ng-atomic/components/organisms/filters-section';\nimport { DividerFrame } from '@ng-atomic/components/frames/divider';\nimport { SelectionModel } from '@angular/cdk/collections';\nimport { SelectionListOrganism } from '@ng-atomic/components/organisms/selection-list';\nimport { Effect, NgAtomicComponent } from '@ng-atomic/core';\nimport { QueryResolverService } from '@ng-atomic/common/services/query-resolver';\nimport { NavActionId, UIContext, call, injectNavStartActions, makeConfig } from '@ng-atomic/common/services/ui';\nimport { IndexPipe } from '@ng-atomic/common/pipes/index';\nimport { IndexLengthPipe } from '@ng-atomic/common/pipes/index-length';\nimport { SortByPipe } from '@ng-atomic/common/pipes/sort-by';\nimport { GridCardsSectionOrganism } from '@ng-atomic/components/organisms/grid-cards-section';\nimport { injectModelName } from '@ng-atomic/common/pipes/domain';\nimport { DataAccessorPipe } from '@ng-atomic/common/pipes/data-accessor';\nimport { FormGroup } from '@angular/forms';\nimport { computedRawValue } from '@ng-atomic/common/utils';\nimport { toObservable } from '@angular/core/rxjs-interop';\nimport { ChipsInputSectionOrganism } from '@ng-atomic/components/organisms/chips-input-section';\n\nexport enum ActionId {\n BACK = '[@ng-atomic/components/templates/index] Back',\n TABLE_HEADER_CLICK = '[@ng-atomic/components/templates/index] Table Header Click',\n ITEM_CLICK = '[@ng-atomic/components/templates/index] Item Click',\n DETAIL = '[@ng-atomic/components/templates/index] Detail',\n LIST_ITEM_BUTTON_CLICKED = '[@ng-atomic/components/templates/index] List Item Button Clicked',\n CHECKBOX_CLICK = '[@ng-atomic/components/templates/index] Check Item',\n TOGGLE_TYPE = '[@ng-atomic/components/templates/index] Toggle Type',\n}\n\nexport interface IndexTemplateConfig<T extends {id: string} = any> {\n form: FormGroup;\n gridToolbarActions: Action[];\n navStartActions: Actions;\n navEndActions: Actions;\n itemActions: Actions;\n title: string;\n description: string;\n items: T[]\n tableChildrenKey: keyof T;\n groupedBy: keyof T | null;\n groupKeys: string[];\n type: 'list' | 'table' | 'grid';\n toggleActions: Actions;\n pageSizeOptions: number[];\n width: string;\n selection: SelectionModel<string>;\n highlight: SelectionModel<string>;\n}\n\nexport function getType(context: UIContext) {\n switch (context.breakpoint) {\n case 'xSmall': return 'list';\n case 'small': return 'table';\n case 'medium': return 'table';\n case 'large': return 'table';\n case 'xLarge': return 'table';\n default: return 'table';\n }\n}\n\n@TokenizedType()\n@Directive({\n standalone: true,\n selector: 'templates-index',\n providers: [\n IndexPipe,\n IndexLengthPipe,\n ],\n})\nexport class IndexTemplateStore<T extends {id: string}> extends InjectableComponent {\n static readonly Config = makeConfig(() => {\n const modelName = injectModelName();\n function getWidth(context: UIContext) {\n switch (context.breakpoint) {\n case 'xSmall': return 'var(--page-width-lv1)'\n case 'small':\n case 'medium':\n case 'large':\n case 'xLarge':\n default: return 'var(--page-width-lv2)';\n }\n }\n const form = injectIndexForm();\n const navStartActions = injectNavStartActions();\n \n return (_, context) => ({\n form,\n toggleActions: [\n { id: ActionId.TOGGLE_TYPE, icon: 'grid_view', payload: 'grid' },\n { id: ActionId.TOGGLE_TYPE, icon: 'list', payload: 'list' },\n { id: ActionId.TOGGLE_TYPE, icon: 'table', payload: 'table' },\n ] as Action[],\n gridToolbarActions: [] as Action[],\n tableChildrenKey: null as string,\n itemActions: (item) => [{id: ActionId.DETAIL, icon: 'open_in_new', payload: item}],\n items: [],\n title: `${modelName()}一覧`,\n description: ``,\n navStartActions: navStartActions(),\n navEndActions: [],\n groupedBy: null,\n groupKeys: [],\n type: getType(context),\n pageSizeOptions: [5, 10, 25, 100],\n width: getWidth(context),\n selection: new SelectionModel<string>(true, []),\n highlight: new SelectionModel<string>(true, []),\n });\n }, ['components', 'templates', 'index']);\n\n readonly config = IndexTemplateStore.Config.inject();\n readonly isPlatformServer = isPlatformServer(inject(PLATFORM_ID));\n readonly form = input(_computed(() => this.config().form));\n readonly gridToolbarActions = input(_computed(() => this.config().gridToolbarActions));\n readonly toggleActions = input(_computed(() => this.config().toggleActions));\n readonly tableChildrenKey = input(_computed(() => this.config().tableChildrenKey));\n readonly itemActions = input(_computed(() => this.config().itemActions));\n readonly title = input(_computed(() => this.config().title));\n readonly description = input(_computed(() => this.config().description));\n readonly items = input<T[]>(_computed(() => this.config().items));\n readonly navStartActions = input(_computed(() => this.config().navStartActions));\n readonly navEndActions = input(_computed(() => this.config().navEndActions));\n readonly groupedBy = input(_computed(() => this.config().groupedBy));\n readonly groupKeys = input(_computed(() => this.config().groupKeys));\n readonly pageSizeOptions = input(_computed(() => this.config().pageSizeOptions));\n readonly type = input(_computed(() => this.config().type));\n readonly selection = input(_computed(() => this.config().selection));\n readonly highlight = input(_computed(() => this.config().highlight));\n readonly form$ = toObservable(computeFake(this.form));\n readonly formValue = computedRawValue(() => call(this.form()));\n readonly pipes = { index: inject(IndexPipe), indexLength: inject(IndexLengthPipe)};\n readonly indexItems = computed(() => {\n return this.pipes.index.transform(this.items(), this.formValue() as any);\n });\n readonly indexItemsLength = computed(() => this.pipes.indexLength.transform(this.items(), this.formValue() as any));\n}\n\n@Component({\n standalone: true,\n imports: [\n DataAccessorPipe,\n AutoLayoutFrame,\n ChipsInputSectionOrganism,\n ScrollFrame,\n DividerFrame,\n GridToolbarOrganismStore,\n PaginatorOrganismStore,\n TableOrganismStore,\n SmartListOrganism,\n GridCardsSectionOrganism,\n SelectionListOrganism,\n NavigatorOrganismStore,\n FiltersSectionOrganism,\n HeaderMoleculeStore,\n SortByPipe,\n ],\n selector: 'templates-index',\n template: `\n <frames-scroll>\n <organisms-navigator injectable\n [startActions]=\"store.navStartActions()\"\n [endActions]=\"store.navEndActions()\"\n (action)=\"dispatch($event)\"\n navigator\n >\n <molecules-header injectable [title]=\"store.title()\" [description]=\"store.description()\"/>\n </organisms-navigator>\n <frames-auto-layout vertical contents>\n @switch(store.type()) {\n @case('list') {\n <organisms-smart-list\n [items]=\"store.indexItems()\"\n [itemActions]=\"store.itemActions()\"\n [groupedBy]=\"store.groupedBy()\"\n [groupKeys]=\"store.groupKeys()\"\n (action)=\"dispatch($event)\"\n />\n }\n @case ('grid') {\n @defer {\n <organisms-grid-cards-section\n [items]=\"store.indexItems()\"\n (action)=\"dispatch($event)\"\n contents\n />\n }\n }\n @default {\n @defer {\n <frames-divider>\n <ng-content first select=\"[dashboard]\" />\n <div style=\"display: flex; flex-direction: column; width: 100%; height: 100%;\" second>\n @if (store.gridToolbarActions() || true) {\n @defer {\n <organisms-grid-toolbar injectable\n [actions]=\"store.gridToolbarActions()\"\n (action)=\"dispatch($event)\"\n />\n }\n }\n @if (store.form().get(['query'])) {\n <organisms-chips-input-section\n [control]=\"store.form().get(['query'])\"\n />\n }\n <organisms-table injectable\n [items]=\"store.indexItems()\"\n [itemActions]=\"store.itemActions()\"\n [selection]=\"store.selection()\"\n [form]=\"store.form()\"\n [childrenKey]=\"store.tableChildrenKey()\"\n [highlight]=\"store.highlight()\"\n (action)=\"dispatch($event)\"\n />\n @if (store.form().get(['page'])) {\n @defer {\n <organisms-paginator injectable\n [form]=\"store.form().get(['page'])\"\n [itemLength]=\"store.indexItemsLength()\"\n [pageSizeOptions]=\"store.pageSizeOptions()\"\n />\n }\n }\n </div>\n </frames-divider>\n }\n }\n }\n </frames-auto-layout>\n </frames-scroll>\n `,\n styleUrls: ['./index.template.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n host: { class: 'template' },\n hostDirectives: [\n {\n directive: IndexTemplateStore,\n inputs: [\n 'gridToolbarActions', 'tableChildrenKey', 'form', 'title',\n 'description', 'items', 'itemActions', 'navStartActions',\n 'navEndActions', 'groupedBy', 'groupKeys',\n 'selection', 'pageSizeOptions',\n 'type',\n 'highlight'\n ],\n outputs: [],\n }\n ],\n providers: [\n QueryResolverService,\n ],\n})\nexport class IndexTemplate<T> extends NgAtomicComponent {\n static ActionId = ActionId;\n protected ActionId = ActionId;\n protected store = inject(IndexTemplateStore);\n \n readonly dividerFrame = viewChild(DividerFrame);\n\n @Effect(TableOrganism.ActionId.HEADER_CLICK)\n protected onTableHeaderClick(column: string) {\n this.dispatch({id: ActionId.TABLE_HEADER_CLICK, payload: column});\n }\n\n @Effect(TableOrganism.ActionId.CHECKBOX_CLICK)\n protected onCheckboxClickItem(item: T) {\n this.dispatch({id: ActionId.CHECKBOX_CLICK, payload: item});\n }\n\n @Effect(GridCardsSectionOrganism.ActionId.ITEM_CLICK)\n @Effect(SmartListOrganism.ActionId.CLICK_ITEM)\n protected onItemClicked(item: T) {\n this.dispatch({id: ActionId.ITEM_CLICK, payload: item});\n }\n\n @Effect(GridCardsSectionOrganism.ActionId.ITEM_MENU_CLICK)\n @Effect(SmartListOrganism.ActionId.ITEM_BUTTON_CLICK)\n protected onItemButtonClicked(item: T) {\n this.dispatch({id: ActionId.LIST_ITEM_BUTTON_CLICKED, payload: item});\n }\n\n @Effect(NavActionId.BACK)\n protected back() {\n this.dispatch({id: ActionId.BACK});\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IA6BY,SAQX;AARD,CAAA,UAAY,QAAQ,EAAA;AAClB,IAAA,QAAA,CAAA,MAAA,CAAA,GAAA,8CAAqD,CAAA;AACrD,IAAA,QAAA,CAAA,oBAAA,CAAA,GAAA,4DAAiF,CAAA;AACjF,IAAA,QAAA,CAAA,YAAA,CAAA,GAAA,oDAAiE,CAAA;AACjE,IAAA,QAAA,CAAA,QAAA,CAAA,GAAA,gDAAyD,CAAA;AACzD,IAAA,QAAA,CAAA,0BAAA,CAAA,GAAA,kEAA6F,CAAA;AAC7F,IAAA,QAAA,CAAA,gBAAA,CAAA,GAAA,oDAAqE,CAAA;AACrE,IAAA,QAAA,CAAA,aAAA,CAAA,GAAA,qDAAmE,CAAA;AACrE,CAAC,EARW,QAAQ,KAAR,QAAQ,GAQnB,EAAA,CAAA,CAAA,CAAA;AAsBK,SAAU,OAAO,CAAC,OAAkB,EAAA;IACxC,QAAQ,OAAO,CAAC,UAAU;AACxB,QAAA,KAAK,QAAQ,EAAE,OAAO,MAA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,CAAC,MAAM,EAAA,IAAA,EACzC,EAAE,KAAK,EAAE,UAAU,EAAE,EACX,cAAA,EAAA;AACd,wBAAA;AACE,4BAAA,SAAS,EAAE,kBAAkB;AAC7B,4BAAA,MAAM,EAAE;AACN,gCAAA,oBAAoB,EAAE,kBAAkB,EAAE,MAAM,EAAE,OAAO;AACzD,gCAAA,aAAa,EAAE,OAAO,EAAE,aAAa,EAAE,iBAAiB;gCACxD,eAAe,EAAE,WAAW,EAAE,WAAW;AACzC,gCAAA,WAAW,EAAE,iBAAiB;gCAC9B,MAAM;gCACN,WAAW;AACZ,6BAAA;AACD,4BAAA,OAAO,EAAE,EAAE;AACZ,yBAAA;qBACF,EACU,SAAA,EAAA;wBACT,oBAAoB;AACrB,qBAAA,EAAA,MAAA,EAAA,CAAA,u1FAAA,CAAA,EAAA,CAAA;AAUS,SAAA,CAAA,EAAA,cAAA,EAAA,EAAA,kBAAkB,MAKlB,mBAAmB,EAAA,EAAA,EAMnB,aAAa,EAMb,EAAA,EAAA,mBAAmB,MAKnB,IAAI,EAAA,EAAA,EAAA,EAAA,CAAA;;ACpShB;;AAEG;;;;"}
|
|
1
|
+
{"version":3,"file":"ng-atomic-components-templates-_index.mjs","sources":["../../../../../packages/@ng-atomic/components/src/lib/templates/_index/index.template.ts","../../../../../packages/@ng-atomic/components/src/lib/templates/_index/ng-atomic-components-templates-_index.ts"],"sourcesContent":["import { ChangeDetectionStrategy, Component, Directive, PLATFORM_ID, inject, input, viewChild } from '@angular/core';\nimport { isPlatformServer } from '@angular/common';\nimport { AutoLayoutFrame } from '@ng-atomic/components/frames/auto-layout';\nimport { ScrollFrame } from '@ng-atomic/components/frames/scroll';\nimport { HeaderMoleculeStore } from '@ng-atomic/components/molecules/header';\nimport { TableOrganism, TableOrganismStore, injectIndexForm } from '@ng-atomic/components/organisms/table';\nimport { SmartListOrganism } from '@ng-atomic/components/organisms/smart-list';\nimport { NavigatorOrganismStore } from '@ng-atomic/components/organisms/navigator';\nimport { PaginatorOrganismStore } from '@ng-atomic/components/organisms/paginator';\nimport { Action, Actions, InjectableComponent, TokenizedType, _computed, computeFake } from '@ng-atomic/core';\nimport { GridToolbarOrganismStore } from '@ng-atomic/components/organisms/grid-toolbar';\nimport { FiltersSectionOrganism } from '@ng-atomic/components/organisms/filters-section';\nimport { DividerFrame } from '@ng-atomic/components/frames/divider';\nimport { SelectionModel } from '@angular/cdk/collections';\nimport { SelectionListOrganism } from '@ng-atomic/components/organisms/selection-list';\nimport { Effect, NgAtomicComponent } from '@ng-atomic/core';\nimport { QueryResolverService } from '@ng-atomic/common/services/query-resolver';\nimport { NavActionId, UIContext, call, injectNavStartActions, makeConfig } from '@ng-atomic/common/services/ui';\nimport { IndexPipe } from '@ng-atomic/common/pipes/index';\nimport { IndexLengthPipe } from '@ng-atomic/common/pipes/index-length';\nimport { SortByPipe } from '@ng-atomic/common/pipes/sort-by';\nimport { GridCardsSectionOrganism } from '@ng-atomic/components/organisms/grid-cards-section';\nimport { injectModelName } from '@ng-atomic/common/pipes/domain';\nimport { DataAccessorPipe } from '@ng-atomic/common/pipes/data-accessor';\nimport { FormGroup } from '@angular/forms';\nimport { computedRawValue } from '@ng-atomic/common/utils';\nimport { toObservable } from '@angular/core/rxjs-interop';\nimport { ChipsInputSectionOrganism } from '@ng-atomic/components/organisms/chips-input-section';\nimport { FlatTreeControl } from '@angular/cdk/tree';\n\nexport enum ActionId {\n BACK = '[@ng-atomic/components/templates/index] Back',\n TABLE_HEADER_CLICK = '[@ng-atomic/components/templates/index] Table Header Click',\n TABLE_HEADER_CHECKBOX_CLICK = '[@ng-atomic/components/templates/index] Table Header Checkbox Click',\n TABLE_CHECKBOX_CLICK = '[@ng-atomic/components/templates/index] Table Checkbox Click',\n ITEM_CLICK = '[@ng-atomic/components/templates/index] Item Click',\n DETAIL = '[@ng-atomic/components/templates/index] Detail',\n LIST_ITEM_BUTTON_CLICKED = '[@ng-atomic/components/templates/index] List Item Button Clicked',\n TOGGLE_TYPE = '[@ng-atomic/components/templates/index] Toggle Type',\n}\n\nexport interface IndexTemplateConfig<T extends {id: string} = any> {\n form: FormGroup;\n gridToolbarActions: Action[];\n navStartActions: Actions;\n navEndActions: Actions;\n itemActions: Actions;\n title: string;\n description: string;\n items: T[]\n tableChildrenKey: keyof T;\n groupedBy: keyof T | null;\n groupKeys: string[];\n type: 'list' | 'table' | 'grid';\n toggleActions: Actions;\n pageSizeOptions: number[];\n width: string;\n selection: SelectionModel<string>;\n highlight: SelectionModel<string>;\n}\n\nexport function getType(context: UIContext) {\n switch (context.breakpoint) {\n case 'xSmall': return 'list';\n case 'small': return 'table';\n case 'medium': return 'table';\n case 'large': return 'table';\n case 'xLarge': return 'table';\n default: return 'table';\n }\n}\n\n@TokenizedType()\n@Directive({\n standalone: true,\n selector: 'templates-index',\n providers: [\n IndexPipe,\n IndexLengthPipe,\n ],\n})\nexport class IndexTemplateStore<T extends {id: string}> extends InjectableComponent {\n static readonly ActionId = ActionId;\n static readonly Config = makeConfig(() => {\n const modelName = injectModelName();\n function getWidth(context: UIContext) {\n switch (context.breakpoint) {\n case 'xSmall': return 'var(--page-width-lv1)'\n case 'small':\n case 'medium':\n case 'large':\n case 'xLarge':\n default: return 'var(--page-width-lv2)';\n }\n }\n const form = injectIndexForm();\n const navStartActions = injectNavStartActions();\n \n return () => ({\n form,\n toggleActions: [\n { id: ActionId.TOGGLE_TYPE, icon: 'grid_view', payload: 'grid' },\n { id: ActionId.TOGGLE_TYPE, icon: 'list', payload: 'list' },\n { id: ActionId.TOGGLE_TYPE, icon: 'table', payload: 'table' },\n ] as Action[],\n gridToolbarActions: [] as Action[],\n tableChildrenKey: null as string,\n tableIsHidden: (item: any) => false,\n tableTreeControl: new FlatTreeControl<any>(n => n.level, n => n.isExpandable),\n itemActions: (item) => [{id: ActionId.DETAIL, icon: 'open_in_new', payload: item}],\n items: [],\n itemsLength: 0,\n title: `${modelName()}一覧`,\n description: ``,\n navStartActions: navStartActions(),\n navEndActions: [],\n groupedBy: null,\n groupKeys: [],\n type: <'table' | 'list' | 'grid'>'table',\n pageSizeOptions: [5, 10, 25, 100],\n selection: new SelectionModel<string>(true, []),\n highlight: new SelectionModel<string>(true, []),\n });\n }, ['components', 'templates', 'index']);\n static provideTypeConfig() {\n return IndexTemplateStore.Config.provide(() => {\n return (config, context) => ({\n ...config,\n type: getType(context),\n });\n });\n }\n\n readonly config = IndexTemplateStore.Config.inject();\n readonly isPlatformServer = isPlatformServer(inject(PLATFORM_ID));\n readonly form = input(_computed(() => this.config().form));\n readonly gridToolbarActions = input(_computed(() => this.config().gridToolbarActions));\n readonly toggleActions = input(_computed(() => this.config().toggleActions));\n readonly tableChildrenKey = input(_computed(() => this.config().tableChildrenKey));\n readonly tableIsHidden = input(_computed(() => this.config().tableIsHidden));\n readonly tableTreeControl = input(_computed(() => this.config().tableTreeControl));\n readonly itemActions = input(_computed(() => this.config().itemActions));\n readonly title = input(_computed(() => this.config().title));\n readonly description = input(_computed(() => this.config().description));\n readonly items = input<T[]>(_computed(() => this.config().items));\n readonly itemsLength = input(_computed(() => this.config().itemsLength));\n readonly navStartActions = input(_computed(() => this.config().navStartActions));\n readonly navEndActions = input(_computed(() => this.config().navEndActions));\n readonly groupedBy = input(_computed(() => this.config().groupedBy));\n readonly groupKeys = input(_computed(() => this.config().groupKeys));\n readonly pageSizeOptions = input(_computed(() => this.config().pageSizeOptions));\n readonly type = input(_computed(() => this.config().type));\n readonly selection = input(_computed(() => this.config().selection));\n readonly highlight = input(_computed(() => this.config().highlight));\n readonly form$ = toObservable(computeFake(this.form));\n readonly formValue = computedRawValue(() => call(this.form()));\n readonly pipes = { index: inject(IndexPipe), indexLength: inject(IndexLengthPipe)};\n // readonly itemsSize = computed(() => this.pipes.indexLength.transform(this.items(), this.formValue() as any));\n}\n\n@Component({\n standalone: true,\n imports: [\n DataAccessorPipe,\n AutoLayoutFrame,\n ChipsInputSectionOrganism,\n ScrollFrame,\n DividerFrame,\n GridToolbarOrganismStore,\n PaginatorOrganismStore,\n TableOrganismStore,\n SmartListOrganism,\n GridCardsSectionOrganism,\n SelectionListOrganism,\n NavigatorOrganismStore,\n FiltersSectionOrganism,\n HeaderMoleculeStore,\n SortByPipe,\n ],\n selector: 'templates-index',\n template: `\n <frames-scroll>\n <organisms-navigator injectable\n [startActions]=\"store.navStartActions()\"\n [endActions]=\"store.navEndActions()\"\n (action)=\"dispatch($event)\"\n navigator\n >\n <molecules-header injectable [title]=\"store.title()\" [description]=\"store.description()\"/>\n </organisms-navigator>\n <frames-auto-layout vertical contents>\n @switch(store.type()) {\n @case('list') {\n <organisms-smart-list\n [items]=\"store.items()\"\n [itemActions]=\"store.itemActions()\"\n [groupedBy]=\"store.groupedBy()\"\n [groupKeys]=\"store.groupKeys()\"\n (action)=\"dispatch($event)\"\n />\n }\n @case ('grid') {\n @defer {\n <organisms-grid-cards-section\n [items]=\"store.items()\"\n (action)=\"dispatch($event)\"\n contents\n />\n }\n }\n @default {\n @defer {\n <frames-divider>\n <ng-content first select=\"[dashboard]\" />\n <div style=\"display: flex; flex-direction: column; width: 100%; height: 100%;\" second>\n @if (store.gridToolbarActions() || true) {\n @defer {\n <organisms-grid-toolbar injectable\n [actions]=\"store.gridToolbarActions()\"\n (action)=\"dispatch($event)\"\n />\n }\n }\n @if (store.form().get(['query'])) {\n <organisms-chips-input-section\n [control]=\"store.form().get(['query'])\"\n />\n }\n <organisms-table injectable\n [items]=\"store.items()\"\n [itemActions]=\"store.itemActions()\"\n [selection]=\"store.selection()\"\n [form]=\"store.form()\"\n [childrenKey]=\"store.tableChildrenKey()\"\n [highlight]=\"store.highlight()\"\n [isHidden]=\"store.tableIsHidden()\"\n [treeControl]=\"store.tableTreeControl()\"\n (action)=\"dispatch($event)\"\n />\n @if (store.form().get(['page'])) {\n @defer {\n <organisms-paginator injectable\n [form]=\"store.form().get(['page'])\"\n [itemLength]=\"store.itemsLength()\"\n [pageSizeOptions]=\"store.pageSizeOptions()\"\n />\n }\n }\n </div>\n </frames-divider>\n }\n }\n }\n </frames-auto-layout>\n </frames-scroll>\n `,\n styleUrls: ['./index.template.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n host: { class: 'template' },\n hostDirectives: [\n {\n directive: IndexTemplateStore,\n inputs: [\n 'gridToolbarActions',\n 'tableChildrenKey',\n 'tableIsHidden',\n 'tableTreeControl',\n 'form',\n 'title',\n 'description',\n 'items',\n 'itemsLength',\n 'itemActions',\n 'navStartActions',\n 'navEndActions',\n 'groupedBy',\n 'groupKeys',\n 'selection',\n 'pageSizeOptions',\n 'type',\n 'highlight'\n ],\n outputs: [],\n }\n ],\n providers: [\n QueryResolverService,\n ],\n})\nexport class IndexTemplate<T> extends NgAtomicComponent {\n static ActionId = ActionId;\n protected ActionId = ActionId;\n protected store = inject(IndexTemplateStore);\n \n readonly dividerFrame = viewChild(DividerFrame);\n\n @Effect(TableOrganism.ActionId.HEADER_CLICK)\n protected onTableHeaderClick(column: string) {\n this.dispatch({id: ActionId.TABLE_HEADER_CLICK, payload: column});\n }\n\n @Effect(TableOrganism.ActionId.CHECKBOX_CLICK)\n protected onCheckboxClickItem(item: T) {\n console.debug('TEST!!!');\n this.dispatch({id: ActionId.TABLE_CHECKBOX_CLICK, payload: item});\n }\n\n @Effect(GridCardsSectionOrganism.ActionId.ITEM_CLICK)\n @Effect(SmartListOrganism.ActionId.CLICK_ITEM)\n protected onItemClicked(item: T) {\n this.dispatch({id: ActionId.ITEM_CLICK, payload: item});\n }\n\n @Effect(GridCardsSectionOrganism.ActionId.ITEM_MENU_CLICK)\n @Effect(SmartListOrganism.ActionId.ITEM_BUTTON_CLICK)\n protected onItemButtonClicked(item: T) {\n this.dispatch({id: ActionId.LIST_ITEM_BUTTON_CLICKED, payload: item});\n }\n\n @Effect(TableOrganismStore.ActionId.HEADER_CHECKBOX_CLICK)\n protected onHeaderCheckboxClick() {\n this.dispatch({id: ActionId.TABLE_HEADER_CHECKBOX_CLICK});\n }\n\n @Effect(NavActionId.BACK)\n protected back() {\n this.dispatch({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A,OAAO,EAAE,EAAE;AACZ,yBAAA;qBACF,EACU,SAAA,EAAA;wBACT,oBAAoB;AACrB,qBAAA,EAAA,MAAA,EAAA,CAAA,u1FAAA,CAAA,EAAA,CAAA;8BAUS,kBAAkB,EAAA,EAAA,EAKlB,mBAAmB,EAOnB,EAAA,EAAA,aAAa,MAMb,mBAAmB,EAAA,EAAA,EAKnB,qBAAqB,EAAA,EAAA,EAKrB,IAAI,EAAA,EAAA,EAAA,EAAA,CAAA;;ACrUhB;;AAEG;;;;"}
|
|
@@ -19,13 +19,13 @@ class BackgroundTemplate {
|
|
|
19
19
|
this.store = inject(BackgroundTemplateStore);
|
|
20
20
|
}
|
|
21
21
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.2.2", ngImport: i0, type: BackgroundTemplate, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
22
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.2.2", type: BackgroundTemplate, isStandalone: true, selector: "templates-background", hostDirectives: [{ directive: BackgroundTemplateStore }], ngImport: i0, template: ``, isInline: true, styles: [":host{width:100%;height:100%;background:#fff;display:block;--background-color: #000000;--background-color-SCOPED-IN-background-
|
|
22
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.2.2", type: BackgroundTemplate, isStandalone: true, selector: "templates-background", hostDirectives: [{ directive: BackgroundTemplateStore }], ngImport: i0, template: ``, isInline: true, styles: [":host{width:100%;height:100%;background:#fff;display:block;--background-color: #000000;--background-color-SCOPED-IN-background-QdEk: var(--background-color);--on-background-color: #ffffff;--on-background-color-SCOPED-IN-background-QdEk: var(--on-background-color)}:host{width:100%;height:100%;background-color:var(--background-color-SCOPED-IN-background-QdEk);color:var(--on-background-color-SCOPED-IN-background-QdEk)}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
23
23
|
}
|
|
24
24
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.2.2", ngImport: i0, type: BackgroundTemplate, decorators: [{
|
|
25
25
|
type: Component,
|
|
26
26
|
args: [{ selector: 'templates-background', standalone: true, imports: [], template: ``, changeDetection: ChangeDetectionStrategy.OnPush, hostDirectives: [
|
|
27
27
|
BackgroundTemplateStore,
|
|
28
|
-
], styles: [":host{width:100%;height:100%;background:#fff;display:block;--background-color: #000000;--background-color-SCOPED-IN-background-
|
|
28
|
+
], styles: [":host{width:100%;height:100%;background:#fff;display:block;--background-color: #000000;--background-color-SCOPED-IN-background-QdEk: var(--background-color);--on-background-color: #ffffff;--on-background-color-SCOPED-IN-background-QdEk: var(--on-background-color)}:host{width:100%;height:100%;background-color:var(--background-color-SCOPED-IN-background-QdEk);color:var(--on-background-color-SCOPED-IN-background-QdEk)}\n"] }]
|
|
29
29
|
}] });
|
|
30
30
|
|
|
31
31
|
/**
|
|
@@ -78,7 +78,7 @@ class EntranceTemplate extends NgAtomicComponent {
|
|
|
78
78
|
}
|
|
79
79
|
</frames-auto-layout>
|
|
80
80
|
</frames-card>
|
|
81
|
-
`, isInline: true, styles: [":host{--horizontal-padding: 64px;--horizontal-padding-SCOPED-IN-entrance-
|
|
81
|
+
`, isInline: true, styles: [":host{--horizontal-padding: 64px;--horizontal-padding-SCOPED-IN-entrance-ezvT: var(--horizontal-padding);--background-color: #eee;--background-color-SCOPED-IN-entrance-ezvT: var(--background-color);--on-background-color: #333;--on-background-color-SCOPED-IN-entrance-ezvT: var(--on-background-color);--page-width-lv1-SCOPED-IN-entrance-ezvT: var(--page-width-lv1)}:host{display:flex;justify-content:center;align-items:center;background-color:var(--background-color-SCOPED-IN-entrance-ezvT);color:var(--on-background-color-SCOPED-IN-entrance-ezvT);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-ezvT)}:host frames-card ng-atomic-form-section-builder{max-width:calc(100% - 32px);--horizontal-padding: var(--horizontal-padding-SCOPED-IN-entrance-ezvT)}\n"], dependencies: [{ kind: "component", type: AutoLayoutFrame, selector: "frames-auto-layout" }, { kind: "component", type: CardFrame, selector: "frames-card" }, { kind: "component", type: HeadingOrganism, selector: "organisms-heading", inputs: ["level"] }, { kind: "component", type: NgAtomicFormSectionBuilder, selector: "ng-atomic-form-section-builder", inputs: ["form", "formFlatExcludes", "fieldMap"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
82
82
|
}
|
|
83
83
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.2.2", ngImport: i0, type: EntranceTemplate, decorators: [{
|
|
84
84
|
type: Component,
|
|
@@ -116,7 +116,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.2.2", ngImpor
|
|
|
116
116
|
directive: EntranceTemplateStore,
|
|
117
117
|
inputs: ['form', 'actions', 'title'],
|
|
118
118
|
},
|
|
119
|
-
], styles: [":host{--horizontal-padding: 64px;--horizontal-padding-SCOPED-IN-entrance-
|
|
119
|
+
], styles: [":host{--horizontal-padding: 64px;--horizontal-padding-SCOPED-IN-entrance-ezvT: var(--horizontal-padding);--background-color: #eee;--background-color-SCOPED-IN-entrance-ezvT: var(--background-color);--on-background-color: #333;--on-background-color-SCOPED-IN-entrance-ezvT: var(--on-background-color);--page-width-lv1-SCOPED-IN-entrance-ezvT: var(--page-width-lv1)}:host{display:flex;justify-content:center;align-items:center;background-color:var(--background-color-SCOPED-IN-entrance-ezvT);color:var(--on-background-color-SCOPED-IN-entrance-ezvT);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-ezvT)}:host frames-card ng-atomic-form-section-builder{max-width:calc(100% - 32px);--horizontal-padding: var(--horizontal-padding-SCOPED-IN-entrance-ezvT)}\n"] }]
|
|
120
120
|
}] });
|
|
121
121
|
|
|
122
122
|
/**
|
|
@@ -385,10 +385,20 @@ class NgAtomicFormSectionBuilder extends NgAtomicComponent {
|
|
|
385
385
|
this.formFlatExcludes = input([]);
|
|
386
386
|
this.fieldMap = input.required();
|
|
387
387
|
this.controlEntries = computed(() => {
|
|
388
|
+
function _get(fieldMap, name) {
|
|
389
|
+
if (get(fieldMap, name))
|
|
390
|
+
return get(fieldMap, name);
|
|
391
|
+
for (const key of Object.keys(fieldMap ?? {})) {
|
|
392
|
+
const regex = new RegExp(`^${key.replace(/\./g, '\\.')}(\\..+)?$`);
|
|
393
|
+
if (regex.test(name))
|
|
394
|
+
return get(fieldMap, key);
|
|
395
|
+
}
|
|
396
|
+
return undefined;
|
|
397
|
+
}
|
|
388
398
|
return flatControls(this.form(), this.formFlatExcludes()).map(([name, control]) => ({
|
|
389
399
|
name,
|
|
390
400
|
control,
|
|
391
|
-
field:
|
|
401
|
+
field: _get(this.fieldMap(), name) ?? { type: 'text' },
|
|
392
402
|
}));
|
|
393
403
|
});
|
|
394
404
|
}
|
|
@@ -504,7 +514,7 @@ class FormTemplate extends NgAtomicComponent {
|
|
|
504
514
|
/>
|
|
505
515
|
</frames-auto-layout>
|
|
506
516
|
</frames-scroll>
|
|
507
|
-
`, isInline: true, styles: [":host{--horizontal-padding: 16px;--horizontal-padding-SCOPED-IN-form-
|
|
517
|
+
`, isInline: true, styles: [":host{--horizontal-padding: 16px;--horizontal-padding-SCOPED-IN-form-40iN: var(--horizontal-padding);--vertical-padding: 24px;--vertical-padding-SCOPED-IN-form-40iN: var(--vertical-padding);--gap: 16px;--gap-SCOPED-IN-form-40iN: var(--gap);--primary-color: #404040;--primary-color-SCOPED-IN-form-40iN: var(--primary-color);--on-primary-color: #f0f0f0;--on-primary-color-SCOPED-IN-form-40iN: var(--on-primary-color);--secondary-color: #f0f0f0;--secondary-color-SCOPED-IN-form-40iN: var(--secondary-color);--surface-color: #f0f0f0;--surface-color-SCOPED-IN-form-40iN: var(--surface-color);--on-surface-color: #000;--on-surface-color-SCOPED-IN-form-40iN: var(--on-surface-color);--background-color: #f0f0f0;--background-color-SCOPED-IN-form-40iN: var(--background-color);--on-background-color: #000;--on-background-color-SCOPED-IN-form-40iN: var(--on-background-color);--navigator-background-color: var(--primary-color-SCOPED-IN-form-40iN);--navigator-background-color-SCOPED-IN-form-40iN: var(--navigator-background-color);--navigator-on-background-color: var(--on-primary-color-SCOPED-IN-form-40iN);--navigator-on-background-color-SCOPED-IN-form-40iN: var(--navigator-on-background-color)}:host{display:block;width:100%;height:100%;background:var(--background-color-SCOPED-IN-form-40iN);color:var(--on-background-color-SCOPED-IN-form-40iN)}:host frames-auto-layout{height:-moz-fit-content;height:fit-content;--gap: var(--gap-SCOPED-IN-form-40iN);--vertical-padding: var(--vertical-padding-SCOPED-IN-form-40iN)}:host frames-auto-layout *{--horizontal-padding: var(--horizontal-padding-SCOPED-IN-form-40iN)}:host organisms-navigator{--background-color: var(--navigator-background-color-SCOPED-IN-form-40iN);--on-background-color: var(--navigator-on-background-color-SCOPED-IN-form-40iN)}:host *{--primary-color: var(--primary-color-SCOPED-IN-form-40iN);--on-primary-color: var(--on-primary-color-SCOPED-IN-form-40iN);--surface-color: var(--surface-color-SCOPED-IN-form-40iN);--on-surface-color: var(--on-surface-color-SCOPED-IN-form-40iN);--background-color: var(--background-color-SCOPED-IN-form-40iN);--on-background-color: var(--on-background-color-SCOPED-IN-form-40iN)}\n"], dependencies: [{ kind: "component", type: NgAtomicFormSectionBuilder, selector: "ng-atomic-form-section-builder", inputs: ["form", "formFlatExcludes", "fieldMap"] }, { kind: "directive", type: HeaderMoleculeStore, selector: "molecules-header", inputs: ["title", "description"] }, { kind: "component", type: ScrollFrame, selector: "frames-scroll" }, { kind: "directive", type: NavigatorOrganismStore, selector: "organisms-navigator", inputs: ["startActions", "endActions", "title"] }, { kind: "component", type: AutoLayoutFrame, selector: "frames-auto-layout" }, { kind: "directive", type: ActionButtonsSectionOrganismStore, selector: "organisms-action-buttons-section", inputs: ["actions", "type"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
508
518
|
}
|
|
509
519
|
__decorate([
|
|
510
520
|
Effect(NavActionId.BACK),
|
|
@@ -557,7 +567,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.2.2", ngImpor
|
|
|
557
567
|
'fieldMap',
|
|
558
568
|
],
|
|
559
569
|
},
|
|
560
|
-
], host: { class: 'template' }, styles: [":host{--horizontal-padding: 16px;--horizontal-padding-SCOPED-IN-form-
|
|
570
|
+
], host: { class: 'template' }, styles: [":host{--horizontal-padding: 16px;--horizontal-padding-SCOPED-IN-form-40iN: var(--horizontal-padding);--vertical-padding: 24px;--vertical-padding-SCOPED-IN-form-40iN: var(--vertical-padding);--gap: 16px;--gap-SCOPED-IN-form-40iN: var(--gap);--primary-color: #404040;--primary-color-SCOPED-IN-form-40iN: var(--primary-color);--on-primary-color: #f0f0f0;--on-primary-color-SCOPED-IN-form-40iN: var(--on-primary-color);--secondary-color: #f0f0f0;--secondary-color-SCOPED-IN-form-40iN: var(--secondary-color);--surface-color: #f0f0f0;--surface-color-SCOPED-IN-form-40iN: var(--surface-color);--on-surface-color: #000;--on-surface-color-SCOPED-IN-form-40iN: var(--on-surface-color);--background-color: #f0f0f0;--background-color-SCOPED-IN-form-40iN: var(--background-color);--on-background-color: #000;--on-background-color-SCOPED-IN-form-40iN: var(--on-background-color);--navigator-background-color: var(--primary-color-SCOPED-IN-form-40iN);--navigator-background-color-SCOPED-IN-form-40iN: var(--navigator-background-color);--navigator-on-background-color: var(--on-primary-color-SCOPED-IN-form-40iN);--navigator-on-background-color-SCOPED-IN-form-40iN: var(--navigator-on-background-color)}:host{display:block;width:100%;height:100%;background:var(--background-color-SCOPED-IN-form-40iN);color:var(--on-background-color-SCOPED-IN-form-40iN)}:host frames-auto-layout{height:-moz-fit-content;height:fit-content;--gap: var(--gap-SCOPED-IN-form-40iN);--vertical-padding: var(--vertical-padding-SCOPED-IN-form-40iN)}:host frames-auto-layout *{--horizontal-padding: var(--horizontal-padding-SCOPED-IN-form-40iN)}:host organisms-navigator{--background-color: var(--navigator-background-color-SCOPED-IN-form-40iN);--on-background-color: var(--navigator-on-background-color-SCOPED-IN-form-40iN)}:host *{--primary-color: var(--primary-color-SCOPED-IN-form-40iN);--on-primary-color: var(--on-primary-color-SCOPED-IN-form-40iN);--surface-color: var(--surface-color-SCOPED-IN-form-40iN);--on-surface-color: var(--on-surface-color-SCOPED-IN-form-40iN);--background-color: var(--background-color-SCOPED-IN-form-40iN);--on-background-color: var(--on-background-color-SCOPED-IN-form-40iN)}\n"] }]
|
|
561
571
|
}], propDecorators: { back: [] } });
|
|
562
572
|
|
|
563
573
|
/**
|