@ng-atomic/components 20.24.3 → 20.48.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/fesm2022/ng-atomic-components-atoms-icon.mjs +2 -2
- package/fesm2022/ng-atomic-components-atoms-value-cell.mjs +2 -2
- package/fesm2022/ng-atomic-components-frames-app.mjs +2 -2
- package/fesm2022/ng-atomic-components-frames-auto-layout.mjs +2 -2
- package/fesm2022/ng-atomic-components-frames-breadcrumb-navbar.mjs +2 -2
- package/fesm2022/ng-atomic-components-frames-card.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-horizontal-divider.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-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 +17 -5
- 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-text-column.mjs +43 -24
- package/fesm2022/ng-atomic-components-molecules-thread-message.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-breadcrumb-navbar.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 +4 -4
- package/fesm2022/ng-atomic-components-organisms-date-range-input-section.mjs +4 -4
- 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 +26 -10
- 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 +2 -2
- package/fesm2022/ng-atomic-components-organisms-number-input-section.mjs +2 -2
- package/fesm2022/ng-atomic-components-organisms-paginator.mjs +4 -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-stripe-input-section.mjs +11 -8
- 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-pages-_index.mjs +2 -2
- package/fesm2022/ng-atomic-components-pages-columns.mjs +2 -2
- package/fesm2022/ng-atomic-components-pages-form.mjs +2 -2
- package/fesm2022/ng-atomic-components-templates-_index.mjs +38 -15
- 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-columns.mjs +2 -2
- package/fesm2022/ng-atomic-components-templates-entrance.mjs +2 -2
- package/fesm2022/ng-atomic-components-templates-form.mjs +4 -4
- package/fesm2022/ng-atomic-components-templates-icon-button-menu.mjs +16 -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/package.json +3 -3
- package/types/ng-atomic-components-molecules-text-column.d.ts +12 -2
- package/types/ng-atomic-components-organisms-grid-cards-section.d.ts +11 -4
- package/types/ng-atomic-components-organisms-stripe-input-section.d.ts +8 -0
- package/types/ng-atomic-components-templates-_index.d.ts +12 -4
|
@@ -7,6 +7,7 @@ import { makeConfig } from '@ng-atomic/common/services/ui';
|
|
|
7
7
|
import { LoadingBoxMoleculeStore } from '@ng-atomic/components/molecules/loading-box';
|
|
8
8
|
import { InjectableComponent, _computed, TokenizedType, NgAtomicComponent } from '@ng-atomic/core';
|
|
9
9
|
import { injectStripe, StripeLinkAuthenticationComponent, StripePaymentElementComponent, StripeAddressComponent, StripeElementsDirective } from 'ngx-stripe';
|
|
10
|
+
import { isEqual } from 'lodash-es';
|
|
10
11
|
import { computedAsync } from 'ngxtension/computed-async';
|
|
11
12
|
import { map, of } from 'rxjs';
|
|
12
13
|
|
|
@@ -49,10 +50,13 @@ let StripeInputSectionOrganismStore = class StripeInputSectionOrganismStore exte
|
|
|
49
50
|
this.addressOptions = input(_computed(() => this.config().addressOptions), ...(ngDevMode ? [{ debugName: "addressOptions" }] : []));
|
|
50
51
|
this.paymentOptions = input(_computed(() => this.config().paymentOptions), ...(ngDevMode ? [{ debugName: "paymentOptions" }] : []));
|
|
51
52
|
this.elementsOptions = input(_computed(() => this.config().elementsOptions), ...(ngDevMode ? [{ debugName: "elementsOptions" }] : []));
|
|
53
|
+
this.stripeLinkOptions = computed(() => this.linkOptions(), { ...(ngDevMode ? { debugName: "stripeLinkOptions" } : {}), equal: isEqual });
|
|
54
|
+
this.stripeAddressOptions = computed(() => this.addressOptions(), { ...(ngDevMode ? { debugName: "stripeAddressOptions" } : {}), equal: isEqual });
|
|
55
|
+
this.stripePaymentOptions = computed(() => this.paymentOptions(), { ...(ngDevMode ? { debugName: "stripePaymentOptions" } : {}), equal: isEqual });
|
|
52
56
|
this._elementsOptions = computed(() => ({
|
|
53
57
|
...this.elementsOptions(),
|
|
54
58
|
clientSecret: this.clientSecret(),
|
|
55
|
-
}), ...(ngDevMode ?
|
|
59
|
+
}), { ...(ngDevMode ? { debugName: "_elementsOptions" } : {}), equal: isEqual });
|
|
56
60
|
}
|
|
57
61
|
static { StripeInputSectionOrganismStore_1 = this; }
|
|
58
62
|
static { this.Config = makeConfig(() => {
|
|
@@ -86,7 +90,6 @@ let StripeInputSectionOrganismStore = class StripeInputSectionOrganismStore exte
|
|
|
86
90
|
},
|
|
87
91
|
elementsOptions: {
|
|
88
92
|
locale: 'ja',
|
|
89
|
-
language: 'ja',
|
|
90
93
|
appearance: {
|
|
91
94
|
theme: 'stripe',
|
|
92
95
|
labels: 'above',
|
|
@@ -156,18 +159,18 @@ class StripeInputSectionOrganism extends NgAtomicComponent {
|
|
|
156
159
|
[elementsOptions]="store._elementsOptions()"
|
|
157
160
|
>
|
|
158
161
|
<ngx-stripe-link-authentication
|
|
159
|
-
[options]="store.
|
|
162
|
+
[options]="store.stripeLinkOptions()"
|
|
160
163
|
(change)="onChangeAuthentication($event)"
|
|
161
164
|
(load)="onLoad($event)"
|
|
162
165
|
/>
|
|
163
166
|
<ngx-stripe-address
|
|
164
|
-
[options]="store.
|
|
167
|
+
[options]="store.stripeAddressOptions()"
|
|
165
168
|
(change)="onChangeAddress($event)"
|
|
166
169
|
/>
|
|
167
170
|
<ngx-stripe-payment
|
|
168
171
|
[appearance]="store.appearance()"
|
|
169
172
|
[elementsOptions]="store.elementsOptions()"
|
|
170
|
-
[options]="store.
|
|
173
|
+
[options]="store.stripePaymentOptions()"
|
|
171
174
|
(change)="onChangePayment($event)"
|
|
172
175
|
/>
|
|
173
176
|
</ngx-stripe-elements>
|
|
@@ -189,18 +192,18 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.6", ngImpor
|
|
|
189
192
|
[elementsOptions]="store._elementsOptions()"
|
|
190
193
|
>
|
|
191
194
|
<ngx-stripe-link-authentication
|
|
192
|
-
[options]="store.
|
|
195
|
+
[options]="store.stripeLinkOptions()"
|
|
193
196
|
(change)="onChangeAuthentication($event)"
|
|
194
197
|
(load)="onLoad($event)"
|
|
195
198
|
/>
|
|
196
199
|
<ngx-stripe-address
|
|
197
|
-
[options]="store.
|
|
200
|
+
[options]="store.stripeAddressOptions()"
|
|
198
201
|
(change)="onChangeAddress($event)"
|
|
199
202
|
/>
|
|
200
203
|
<ngx-stripe-payment
|
|
201
204
|
[appearance]="store.appearance()"
|
|
202
205
|
[elementsOptions]="store.elementsOptions()"
|
|
203
|
-
[options]="store.
|
|
206
|
+
[options]="store.stripePaymentOptions()"
|
|
204
207
|
(change)="onChangePayment($event)"
|
|
205
208
|
/>
|
|
206
209
|
</ngx-stripe-elements>
|
|
@@ -335,7 +335,7 @@ class TableOrganism extends NgAtomicComponent {
|
|
|
335
335
|
</tbody>
|
|
336
336
|
</table>
|
|
337
337
|
</cdk-virtual-scroll-viewport>
|
|
338
|
-
`, isInline: true, styles: [":host{--width: 100%;--width-SCOPED-IN-smart-table-
|
|
338
|
+
`, isInline: true, styles: [":host{--width: 100%;--width-SCOPED-IN-smart-table-c7lp: var(--width);--column-vertical-padding: 4px;--column-vertical-padding-SCOPED-IN-smart-table-c7lp: var(--column-vertical-padding);--surface-color: #f0f0f0;--surface-color-SCOPED-IN-smart-table-c7lp: var(--surface-color);--on-surface-color: #000;--on-surface-color-SCOPED-IN-smart-table-c7lp: var(--on-surface-color);--background-color: #f0f0f0;--background-color-SCOPED-IN-smart-table-c7lp: var(--background-color);--on-background-color: #000;--on-background-color-SCOPED-IN-smart-table-c7lp: var(--on-background-color);--vertical-padding: 16px;--vertical-padding-SCOPED-IN-smart-table-c7lp: var(--vertical-padding)}.cdk-drag-preview{display:table;background-color:#fff}.cdk-drag-placeholder{opacity:0}:host{position:relative;display:block;width:100%;height:100%;overflow:hidden}:host table{min-width:100%;min-height:100%;background-color:var(--surface-color-SCOPED-IN-smart-table-c7lp);color:var(--on-surface-color-SCOPED-IN-smart-table-c7lp);--mat-table-row-item-label-text-color: var(--on-surface-color);--mat-table-header-headline-color: var(--on-surface-color)}:host table .nowrap{width:160px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}:host table ::ng-deep th,:host table ::ng-deep td{padding:0 var(--column-vertical-padding-SCOPED-IN-smart-table-c7lp);box-sizing:border-box}:host table ::ng-deep th:first-child,:host table ::ng-deep td:first-child{padding-left:var(--vertical-padding-SCOPED-IN-smart-table-c7lp)}:host table ::ng-deep th:last-child,:host table ::ng-deep td:last-child{padding-right:var(--vertical-padding-SCOPED-IN-smart-table-c7lp)}:host table ::ng-deep tr.highlight{background-color:#f0f0f0;transition:background-color .5s}:host .no-data-message{display:flex;justify-content:flex-start;align-items:center;width:calc(100% - 32px);height:3em;padding:0 16px}:host table{border-collapse:collapse;-webkit-user-select:none;user-select:none}:host cdk-virtual-scroll-viewport{width:100%;height:100%;display:block;overflow:auto;overflow-anchor:none}:host cdk-virtual-scroll-viewport ::ng-deep .cdk-virtual-scroll-content-wrapper{min-height:100%;min-width:100%;width:auto}:host cdk-virtual-scroll-viewport ::ng-deep .cdk-virtual-scroll-spacer{width:1px;transform:translateZ(0)}:host.autofill-active{-webkit-user-select:none;user-select:none}:host.autofill-active td{pointer-events:none}:host.autofill-active td.autofill-source{pointer-events:auto}:host ::ng-deep td.autofill-preview{background-color:#2196f31a!important;border:1px dashed #2196F3!important}:host ::ng-deep td.autofill-preview:after{content:\"\";position:absolute;inset:0;background-color:#2196f30d;pointer-events:none;z-index:1}\n"], dependencies: [{ kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "ngmodule", type: MatTableModule }, { kind: "component", type: i1.MatTable, selector: "mat-table, table[mat-table]", exportAs: ["matTable"] }, { kind: "directive", type: i1.MatHeaderRowDef, selector: "[matHeaderRowDef]", inputs: ["matHeaderRowDef", "matHeaderRowDefSticky"] }, { kind: "directive", type: i1.MatRowDef, selector: "[matRowDef]", inputs: ["matRowDefColumns", "matRowDefWhen"] }, { kind: "component", type: i1.MatHeaderRow, selector: "mat-header-row, tr[mat-header-row]", exportAs: ["matHeaderRow"] }, { kind: "component", type: i1.MatRow, selector: "mat-row, tr[mat-row]", exportAs: ["matRow"] }, { kind: "directive", type: i1.MatNoDataRow, selector: "ng-template[matNoDataRow]" }, { kind: "ngmodule", type: MatCheckboxModule }, { kind: "ngmodule", type: MatMenuModule }, { kind: "ngmodule", type: MatButtonModule }, { kind: "ngmodule", type: MatIconModule }, { kind: "component", type: ActionsColumnMolecule, selector: "molecules-actions-column" }, { kind: "component", type: CheckboxColumnMolecule, selector: "molecules-checkbox-column" }, { kind: "component", type: TextColumnMolecule, selector: "molecules-text-column", inputs: ["formFieldMap"], outputs: ["headerClick"] }, { kind: "component", type: TreeColumnMolecule, selector: "molecules-tree-column", outputs: ["headerClick", "handleMouseDown"] }, { kind: "directive", type: CdkDropList, selector: "[cdkDropList], cdk-drop-list", inputs: ["cdkDropListConnectedTo", "cdkDropListData", "cdkDropListOrientation", "id", "cdkDropListLockAxis", "cdkDropListDisabled", "cdkDropListSortingDisabled", "cdkDropListEnterPredicate", "cdkDropListSortPredicate", "cdkDropListAutoScrollDisabled", "cdkDropListAutoScrollStep", "cdkDropListElementContainer", "cdkDropListHasAnchor"], outputs: ["cdkDropListDropped", "cdkDropListEntered", "cdkDropListExited", "cdkDropListSorted"], exportAs: ["cdkDropList"] }, { kind: "directive", type: CdkDrag, selector: "[cdkDrag]", inputs: ["cdkDragData", "cdkDragLockAxis", "cdkDragRootElement", "cdkDragBoundary", "cdkDragStartDelay", "cdkDragFreeDragPosition", "cdkDragDisabled", "cdkDragConstrainPosition", "cdkDragPreviewClass", "cdkDragPreviewContainer", "cdkDragScale"], outputs: ["cdkDragStarted", "cdkDragReleased", "cdkDragEnded", "cdkDragEntered", "cdkDragExited", "cdkDragDropped", "cdkDragMoved"], exportAs: ["cdkDrag"] }, { kind: "ngmodule", type: ScrollingModule }, { kind: "component", type: i2.CdkVirtualScrollViewport, selector: "cdk-virtual-scroll-viewport", inputs: ["orientation", "appendOnly"], outputs: ["scrolledIndexChange"] }, { kind: "directive", type: GridDataTableAutofill, selector: "[gridDataTableAutofill]", outputs: ["autofillComplete"] }, { kind: "pipe", type: StylePipe, name: "style" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
339
339
|
}
|
|
340
340
|
__decorate([
|
|
341
341
|
Effect(CheckboxColumnMolecule.ActionId.CHECKBOX_CLICK),
|
|
@@ -473,7 +473,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.6", ngImpor
|
|
|
473
473
|
}, providers: [
|
|
474
474
|
provideSpreadSheetService(),
|
|
475
475
|
{ provide: VIRTUAL_SCROLL_STRATEGY, useClass: CustomVirtualScrollStrategy },
|
|
476
|
-
], styles: [":host{--width: 100%;--width-SCOPED-IN-smart-table-
|
|
476
|
+
], styles: [":host{--width: 100%;--width-SCOPED-IN-smart-table-c7lp: var(--width);--column-vertical-padding: 4px;--column-vertical-padding-SCOPED-IN-smart-table-c7lp: var(--column-vertical-padding);--surface-color: #f0f0f0;--surface-color-SCOPED-IN-smart-table-c7lp: var(--surface-color);--on-surface-color: #000;--on-surface-color-SCOPED-IN-smart-table-c7lp: var(--on-surface-color);--background-color: #f0f0f0;--background-color-SCOPED-IN-smart-table-c7lp: var(--background-color);--on-background-color: #000;--on-background-color-SCOPED-IN-smart-table-c7lp: var(--on-background-color);--vertical-padding: 16px;--vertical-padding-SCOPED-IN-smart-table-c7lp: var(--vertical-padding)}.cdk-drag-preview{display:table;background-color:#fff}.cdk-drag-placeholder{opacity:0}:host{position:relative;display:block;width:100%;height:100%;overflow:hidden}:host table{min-width:100%;min-height:100%;background-color:var(--surface-color-SCOPED-IN-smart-table-c7lp);color:var(--on-surface-color-SCOPED-IN-smart-table-c7lp);--mat-table-row-item-label-text-color: var(--on-surface-color);--mat-table-header-headline-color: var(--on-surface-color)}:host table .nowrap{width:160px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}:host table ::ng-deep th,:host table ::ng-deep td{padding:0 var(--column-vertical-padding-SCOPED-IN-smart-table-c7lp);box-sizing:border-box}:host table ::ng-deep th:first-child,:host table ::ng-deep td:first-child{padding-left:var(--vertical-padding-SCOPED-IN-smart-table-c7lp)}:host table ::ng-deep th:last-child,:host table ::ng-deep td:last-child{padding-right:var(--vertical-padding-SCOPED-IN-smart-table-c7lp)}:host table ::ng-deep tr.highlight{background-color:#f0f0f0;transition:background-color .5s}:host .no-data-message{display:flex;justify-content:flex-start;align-items:center;width:calc(100% - 32px);height:3em;padding:0 16px}:host table{border-collapse:collapse;-webkit-user-select:none;user-select:none}:host cdk-virtual-scroll-viewport{width:100%;height:100%;display:block;overflow:auto;overflow-anchor:none}:host cdk-virtual-scroll-viewport ::ng-deep .cdk-virtual-scroll-content-wrapper{min-height:100%;min-width:100%;width:auto}:host cdk-virtual-scroll-viewport ::ng-deep .cdk-virtual-scroll-spacer{width:1px;transform:translateZ(0)}:host.autofill-active{-webkit-user-select:none;user-select:none}:host.autofill-active td{pointer-events:none}:host.autofill-active td.autofill-source{pointer-events:auto}:host ::ng-deep td.autofill-preview{background-color:#2196f31a!important;border:1px dashed #2196F3!important}:host ::ng-deep td.autofill-preview:after{content:\"\";position:absolute;inset:0;background-color:#2196f30d;pointer-events:none;z-index:1}\n"] }]
|
|
477
477
|
}], ctorParameters: () => [], propDecorators: { viewport: [{ type: i0.ViewChild, args: [i0.forwardRef(() => CdkVirtualScrollViewport), { isSignal: true }] }], onCheckboxClick: [], onHeaderCheckboxClick: [], onChangeWidth: [] } });
|
|
478
478
|
function getDisplayedNodes(nodes, control) {
|
|
479
479
|
const result = [];
|
|
@@ -48,7 +48,7 @@ class TextInputSectionOrganism extends NgAtomicComponent {
|
|
|
48
48
|
(action)="dispatch($event)"
|
|
49
49
|
/>
|
|
50
50
|
}
|
|
51
|
-
`, isInline: true, styles: [":host{--horizontal-padding: 16px;--horizontal-padding-SCOPED-IN-text-input-section-
|
|
51
|
+
`, isInline: true, styles: [":host{--horizontal-padding: 16px;--horizontal-padding-SCOPED-IN-text-input-section-2HrX: var(--horizontal-padding)}:host{display:flex;flex-direction:row;width:100%;padding:0 var(--horizontal-padding-SCOPED-IN-text-input-section-2HrX) 0;box-sizing:border-box}:host:has(atoms-smart-button){padding:0 0 0 var(--horizontal-padding-SCOPED-IN-text-input-section-2HrX)}:host .molecule.input-field,:host mat-form-field{width:100%;flex:1fr}:host atoms-menu-button{flex:auto;margin-top:4px;margin-right:-16px}\n"], dependencies: [{ kind: "directive", type: TextInputFieldMoleculeStore, selector: "molecules-text-input-field", inputs: ["appearance", "type", "name", "label", "control", "placeholder", "hint", "pattern", "autoComplete"] }, { kind: "directive", type: SmartMenuButtonAtomStore, selector: "atoms-menu-button, atoms-smart-menu-button", inputs: ["actions", "type", "action"] }] }); }
|
|
52
52
|
}
|
|
53
53
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.6", ngImport: i0, type: TextInputSectionOrganism, decorators: [{
|
|
54
54
|
type: Component,
|
|
@@ -75,7 +75,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.6", ngImpor
|
|
|
75
75
|
directive: TextInputSectionOrganismStore,
|
|
76
76
|
inputs: ['label', 'placeholder', 'type', 'hint', 'control', 'autoComplete', 'actions'],
|
|
77
77
|
}
|
|
78
|
-
], host: { 'class': 'organism input section' }, styles: [":host{--horizontal-padding: 16px;--horizontal-padding-SCOPED-IN-text-input-section-
|
|
78
|
+
], host: { 'class': 'organism input section' }, styles: [":host{--horizontal-padding: 16px;--horizontal-padding-SCOPED-IN-text-input-section-2HrX: var(--horizontal-padding)}:host{display:flex;flex-direction:row;width:100%;padding:0 var(--horizontal-padding-SCOPED-IN-text-input-section-2HrX) 0;box-sizing:border-box}:host:has(atoms-smart-button){padding:0 0 0 var(--horizontal-padding-SCOPED-IN-text-input-section-2HrX)}:host .molecule.input-field,:host mat-form-field{width:100%;flex:1fr}:host atoms-menu-button{flex:auto;margin-top:4px;margin-right:-16px}\n"] }]
|
|
79
79
|
}] });
|
|
80
80
|
|
|
81
81
|
/**
|
|
@@ -54,7 +54,7 @@ class TextareaSectionOrganism extends NgAtomicComponent {
|
|
|
54
54
|
(action)="dispatch($event)"
|
|
55
55
|
/>
|
|
56
56
|
}
|
|
57
|
-
`, isInline: true, styles: [":host{--vertical-padding: 0px;--vertical-padding-SCOPED-IN-textarea-section-
|
|
57
|
+
`, isInline: true, styles: [":host{--vertical-padding: 0px;--vertical-padding-SCOPED-IN-textarea-section-3eWO: var(--vertical-padding);--horizontal-padding: 16px;--horizontal-padding-SCOPED-IN-textarea-section-3eWO: var(--horizontal-padding)}:host{display:block;position:relative;width:100%;padding:var(--vertical-padding-SCOPED-IN-textarea-section-3eWO) var(--horizontal-padding-SCOPED-IN-textarea-section-3eWO);box-sizing:border-box}:host molecules-textarea-field{width:100%}:host atoms-menu-button{position:absolute;bottom:4px;right:4px;background-color:#fff}\n"], dependencies: [{ kind: "component", type: TextareaFieldMolecule, selector: "molecules-textarea-field" }, { kind: "component", type: SmartMenuButtonAtom, selector: "atoms-menu-button, atoms-menu-button" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
58
58
|
}
|
|
59
59
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.6", ngImport: i0, type: TextareaSectionOrganism, decorators: [{
|
|
60
60
|
type: Component,
|
|
@@ -85,7 +85,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.6", ngImpor
|
|
|
85
85
|
}
|
|
86
86
|
], host: {
|
|
87
87
|
'class': 'organism section',
|
|
88
|
-
}, styles: [":host{--vertical-padding: 0px;--vertical-padding-SCOPED-IN-textarea-section-
|
|
88
|
+
}, styles: [":host{--vertical-padding: 0px;--vertical-padding-SCOPED-IN-textarea-section-3eWO: var(--vertical-padding);--horizontal-padding: 16px;--horizontal-padding-SCOPED-IN-textarea-section-3eWO: var(--horizontal-padding)}:host{display:block;position:relative;width:100%;padding:var(--vertical-padding-SCOPED-IN-textarea-section-3eWO) var(--horizontal-padding-SCOPED-IN-textarea-section-3eWO);box-sizing:border-box}:host molecules-textarea-field{width:100%}:host atoms-menu-button{position:absolute;bottom:4px;right:4px;background-color:#fff}\n"] }]
|
|
89
89
|
}] });
|
|
90
90
|
|
|
91
91
|
/**
|
|
@@ -48,7 +48,7 @@ class ThreadMessagesSectionOrganism extends NgAtomicComponent {
|
|
|
48
48
|
<molecules-thread-message [message]="message" injectable/>
|
|
49
49
|
<mat-divider />
|
|
50
50
|
}
|
|
51
|
-
`, isInline: true, styles: [":host{display:block;--primary-color: inherit;--primary-color-SCOPED-IN-thread-messages-section-
|
|
51
|
+
`, isInline: true, styles: [":host{display:block;--primary-color: inherit;--primary-color-SCOPED-IN-thread-messages-section-8kPX: var(--primary-color);--on-primary-color: inherit;--on-primary-color-SCOPED-IN-thread-messages-section-8kPX: var(--on-primary-color);--surface-color: inherit;--surface-color-SCOPED-IN-thread-messages-section-8kPX: var(--surface-color);--on-surface-color: inherit;--on-surface-color-SCOPED-IN-thread-messages-section-8kPX: var(--on-surface-color);--background-color: inherit;--background-color-SCOPED-IN-thread-messages-section-8kPX: var(--background-color);--on-background-color: inherit;--on-background-color-SCOPED-IN-thread-messages-section-8kPX: var(--on-background-color)}:host{display:flex;flex-direction:column;justify-content:flex-start;color:var(--on-surface-color-SCOPED-IN-thread-messages-section-8kPX)}:host mat-divider{width:calc(100% - 16px);box-sizing:border-box;margin:0 8px}\n"], dependencies: [{ kind: "ngmodule", type: MatButtonModule }, { kind: "ngmodule", type: MatDividerModule }, { kind: "component", type: i1.MatDivider, selector: "mat-divider", inputs: ["vertical", "inset"] }, { kind: "directive", type: ThreadMessageMoleculeStore, selector: "molecules-thread-message", inputs: ["name", "message"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
52
52
|
}
|
|
53
53
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.6", ngImport: i0, type: ThreadMessagesSectionOrganism, decorators: [{
|
|
54
54
|
type: Component,
|
|
@@ -80,7 +80,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.6", ngImpor
|
|
|
80
80
|
'messageActions',
|
|
81
81
|
]
|
|
82
82
|
}
|
|
83
|
-
], styles: [":host{display:block;--primary-color: inherit;--primary-color-SCOPED-IN-thread-messages-section-
|
|
83
|
+
], styles: [":host{display:block;--primary-color: inherit;--primary-color-SCOPED-IN-thread-messages-section-8kPX: var(--primary-color);--on-primary-color: inherit;--on-primary-color-SCOPED-IN-thread-messages-section-8kPX: var(--on-primary-color);--surface-color: inherit;--surface-color-SCOPED-IN-thread-messages-section-8kPX: var(--surface-color);--on-surface-color: inherit;--on-surface-color-SCOPED-IN-thread-messages-section-8kPX: var(--on-surface-color);--background-color: inherit;--background-color-SCOPED-IN-thread-messages-section-8kPX: var(--background-color);--on-background-color: inherit;--on-background-color-SCOPED-IN-thread-messages-section-8kPX: var(--on-background-color)}:host{display:flex;flex-direction:column;justify-content:flex-start;color:var(--on-surface-color-SCOPED-IN-thread-messages-section-8kPX)}:host mat-divider{width:calc(100% - 16px);box-sizing:border-box;margin:0 8px}\n"] }]
|
|
84
84
|
}] });
|
|
85
85
|
|
|
86
86
|
/**
|
|
@@ -529,7 +529,7 @@ class IndexPage extends NgAtomicComponent {
|
|
|
529
529
|
<ng-dashboard dashboard injectable/>
|
|
530
530
|
</templates-index>
|
|
531
531
|
</frames-router-outlet>
|
|
532
|
-
`, isInline: true, styles: ["@charset \"UTF-8\";:host{width:100%;height:100%;display:block;--page-width-lv3-SCOPED-IN-index-
|
|
532
|
+
`, isInline: true, styles: ["@charset \"UTF-8\";:host{width:100%;height:100%;display:block;--page-width-lv3-SCOPED-IN-index-PSvj: var(--page-width-lv3);--primary-color-SCOPED-IN-index-PSvj: var(--primary-color);--on-primary-color-SCOPED-IN-index-PSvj: var(--on-primary-color);--surface-color-SCOPED-IN-index-PSvj: var(--surface-color);--on-surface-color-SCOPED-IN-index-PSvj: var(--on-surface-color);--on-background-color-SCOPED-IN-index-PSvj: var(--on-background-color);--background-color-SCOPED-IN-index-PSvj: var(--background-color);--navigator-background-color-SCOPED-IN-index-PSvj: var(--navigator-background-color);--navigator-on-background-color-SCOPED-IN-index-PSvj: var(--navigator-on-background-color);--table-background-color-SCOPED-IN-index-PSvj: var(--table-background-color);--table-on-background-color-SCOPED-IN-index-PSvj: var(--table-on-background-color);--first-content-height: 0px;--first-content-height-SCOPED-IN-index-PSvj: var(--first-content-height)}:host .template{width:var(--page-width-lv3-SCOPED-IN-index-PSvj);padding-left:0;box-sizing:border-box;transition:padding-left .3s;--first-content-height: var(--first-content-height-SCOPED-IN-index-PSvj)}:host .template div[navDashboard]{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:16px;padding:16px;box-sizing:border-box}:host .template div[navDashboard] ng-atomic-form-section-builder{--horizontal-padding: 0}:host *{--primary-color: var(--primary-color-SCOPED-IN-index-PSvj);--on-primary-color: var(--on-primary-color-SCOPED-IN-index-PSvj);--surface-color: var(--surface-color-SCOPED-IN-index-PSvj);--on-surface-color: var(--on-surface-color-SCOPED-IN-index-PSvj);--background-color: var(--background-color-SCOPED-IN-index-PSvj);--on-background-color: var(--on-background-color-SCOPED-IN-index-PSvj);--navigator-background-color: var(--navigator-background-color-SCOPED-IN-index-PSvj);--navigator-on-background-color: var(--navigator-on-background-color-SCOPED-IN-index-PSvj);--table-background-color: var(--table-background-color-SCOPED-IN-index-PSvj);--table-on-background-color: var(--table-on-background-color-SCOPED-IN-index-PSvj)}\n"], dependencies: [{ kind: "component", type: RouterOutletFrame, selector: "frames-router-outlet", outputs: ["events"] }, { kind: "component", type: IndexTemplate, selector: "templates-index" }, { kind: "component", type: NgAtomicFormSectionBuilder, selector: "ng-atomic-form-section-builder", inputs: ["form", "formFlatExcludes", "fieldMap", "fieldKeys"] }, { kind: "directive", type: IndexPageDashboardStore, selector: "ng-dashboard" }] }); }
|
|
533
533
|
}
|
|
534
534
|
__decorate([
|
|
535
535
|
Effect(IndexTemplate.ActionId.BACK),
|
|
@@ -621,7 +621,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.6", ngImpor
|
|
|
621
621
|
'displayedItems',
|
|
622
622
|
],
|
|
623
623
|
},
|
|
624
|
-
], styles: ["@charset \"UTF-8\";:host{width:100%;height:100%;display:block;--page-width-lv3-SCOPED-IN-index-
|
|
624
|
+
], styles: ["@charset \"UTF-8\";:host{width:100%;height:100%;display:block;--page-width-lv3-SCOPED-IN-index-PSvj: var(--page-width-lv3);--primary-color-SCOPED-IN-index-PSvj: var(--primary-color);--on-primary-color-SCOPED-IN-index-PSvj: var(--on-primary-color);--surface-color-SCOPED-IN-index-PSvj: var(--surface-color);--on-surface-color-SCOPED-IN-index-PSvj: var(--on-surface-color);--on-background-color-SCOPED-IN-index-PSvj: var(--on-background-color);--background-color-SCOPED-IN-index-PSvj: var(--background-color);--navigator-background-color-SCOPED-IN-index-PSvj: var(--navigator-background-color);--navigator-on-background-color-SCOPED-IN-index-PSvj: var(--navigator-on-background-color);--table-background-color-SCOPED-IN-index-PSvj: var(--table-background-color);--table-on-background-color-SCOPED-IN-index-PSvj: var(--table-on-background-color);--first-content-height: 0px;--first-content-height-SCOPED-IN-index-PSvj: var(--first-content-height)}:host .template{width:var(--page-width-lv3-SCOPED-IN-index-PSvj);padding-left:0;box-sizing:border-box;transition:padding-left .3s;--first-content-height: var(--first-content-height-SCOPED-IN-index-PSvj)}:host .template div[navDashboard]{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:16px;padding:16px;box-sizing:border-box}:host .template div[navDashboard] ng-atomic-form-section-builder{--horizontal-padding: 0}:host *{--primary-color: var(--primary-color-SCOPED-IN-index-PSvj);--on-primary-color: var(--on-primary-color-SCOPED-IN-index-PSvj);--surface-color: var(--surface-color-SCOPED-IN-index-PSvj);--on-surface-color: var(--on-surface-color-SCOPED-IN-index-PSvj);--background-color: var(--background-color-SCOPED-IN-index-PSvj);--on-background-color: var(--on-background-color-SCOPED-IN-index-PSvj);--navigator-background-color: var(--navigator-background-color-SCOPED-IN-index-PSvj);--navigator-on-background-color: var(--navigator-on-background-color-SCOPED-IN-index-PSvj);--table-background-color: var(--table-background-color-SCOPED-IN-index-PSvj);--table-on-background-color: var(--table-on-background-color-SCOPED-IN-index-PSvj)}\n"] }]
|
|
625
625
|
}], propDecorators: { back: [], close: [], itemClick: [], onHeaderCheckboxClick: [], onItemButtonClicked: [], onTableHeaderClick: [], onCheckboxClick: [] } });
|
|
626
626
|
|
|
627
627
|
/**
|
|
@@ -78,7 +78,7 @@ class ColumnsPage extends NgAtomicComponent {
|
|
|
78
78
|
(action)="dispatch($event)"
|
|
79
79
|
/>
|
|
80
80
|
</frames-router-outlet>
|
|
81
|
-
`, isInline: true, styles: [":host{width:100%;height:100%;display:block;--page-width-lv1-SCOPED-IN-columns-
|
|
81
|
+
`, isInline: true, styles: [":host{width:100%;height:100%;display:block;--page-width-lv1-SCOPED-IN-columns-zxZe: var(--page-width-lv1);--page-width-lv2-SCOPED-IN-columns-zxZe: var(--page-width-lv2);--page-width-lv3-SCOPED-IN-columns-zxZe: var(--page-width-lv3);--primary-color-SCOPED-IN-columns-zxZe: var(--primary-color);--on-primary-color-SCOPED-IN-columns-zxZe: var(--on-primary-color);--surface-color-SCOPED-IN-columns-zxZe: var(--surface-color);--on-surface-color-SCOPED-IN-columns-zxZe: var(--on-surface-color);--on-background-color-SCOPED-IN-columns-zxZe: var(--on-background-color);--background-color-SCOPED-IN-columns-zxZe: var(--background-color);--navigator-background-color-SCOPED-IN-columns-zxZe: var(--navigator-background-color);--navigator-on-background-color-SCOPED-IN-columns-zxZe: var(--navigator-on-background-color);--table-background-color-SCOPED-IN-columns-zxZe: var(--table-background-color);--table-on-background-color-SCOPED-IN-columns-zxZe: var(--table-on-background-color)}:host .template{width:var(--page-width-lv1-SCOPED-IN-columns-zxZe)}:host *{--primary-color: var(--primary-color-SCOPED-IN-columns-zxZe);--on-primary-color: var(--on-primary-color-SCOPED-IN-columns-zxZe);--surface-color: var(--surface-color-SCOPED-IN-columns-zxZe);--on-surface-color: var(--on-surface-color-SCOPED-IN-columns-zxZe);--background-color: var(--background-color-SCOPED-IN-columns-zxZe);--on-background-color: var(--on-background-color-SCOPED-IN-columns-zxZe);--navigator-background-color: var(--navigator-background-color-SCOPED-IN-columns-zxZe);--navigator-on-background-color: var(--navigator-on-background-color-SCOPED-IN-columns-zxZe);--table-background-color: var(--table-background-color-SCOPED-IN-columns-zxZe);--table-on-background-color: var(--table-on-background-color-SCOPED-IN-columns-zxZe)}\n"], dependencies: [{ kind: "component", type: ColumnsTemplate, selector: "templates-columns" }, { kind: "component", type: RouterOutletFrame, selector: "frames-router-outlet", outputs: ["events"] }] }); }
|
|
82
82
|
}
|
|
83
83
|
__decorate([
|
|
84
84
|
Effect(NavActionId.BACK),
|
|
@@ -114,7 +114,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.6", ngImpor
|
|
|
114
114
|
'form',
|
|
115
115
|
],
|
|
116
116
|
},
|
|
117
|
-
], styles: [":host{width:100%;height:100%;display:block;--page-width-lv1-SCOPED-IN-columns-
|
|
117
|
+
], styles: [":host{width:100%;height:100%;display:block;--page-width-lv1-SCOPED-IN-columns-zxZe: var(--page-width-lv1);--page-width-lv2-SCOPED-IN-columns-zxZe: var(--page-width-lv2);--page-width-lv3-SCOPED-IN-columns-zxZe: var(--page-width-lv3);--primary-color-SCOPED-IN-columns-zxZe: var(--primary-color);--on-primary-color-SCOPED-IN-columns-zxZe: var(--on-primary-color);--surface-color-SCOPED-IN-columns-zxZe: var(--surface-color);--on-surface-color-SCOPED-IN-columns-zxZe: var(--on-surface-color);--on-background-color-SCOPED-IN-columns-zxZe: var(--on-background-color);--background-color-SCOPED-IN-columns-zxZe: var(--background-color);--navigator-background-color-SCOPED-IN-columns-zxZe: var(--navigator-background-color);--navigator-on-background-color-SCOPED-IN-columns-zxZe: var(--navigator-on-background-color);--table-background-color-SCOPED-IN-columns-zxZe: var(--table-background-color);--table-on-background-color-SCOPED-IN-columns-zxZe: var(--table-on-background-color)}:host .template{width:var(--page-width-lv1-SCOPED-IN-columns-zxZe)}:host *{--primary-color: var(--primary-color-SCOPED-IN-columns-zxZe);--on-primary-color: var(--on-primary-color-SCOPED-IN-columns-zxZe);--surface-color: var(--surface-color-SCOPED-IN-columns-zxZe);--on-surface-color: var(--on-surface-color-SCOPED-IN-columns-zxZe);--background-color: var(--background-color-SCOPED-IN-columns-zxZe);--on-background-color: var(--on-background-color-SCOPED-IN-columns-zxZe);--navigator-background-color: var(--navigator-background-color-SCOPED-IN-columns-zxZe);--navigator-on-background-color: var(--navigator-on-background-color-SCOPED-IN-columns-zxZe);--table-background-color: var(--table-background-color-SCOPED-IN-columns-zxZe);--table-on-background-color: var(--table-on-background-color-SCOPED-IN-columns-zxZe)}\n"] }]
|
|
118
118
|
}], propDecorators: { back: [], close: [] } });
|
|
119
119
|
|
|
120
120
|
/**
|
|
@@ -200,7 +200,7 @@ class FormPage extends NgAtomicComponent {
|
|
|
200
200
|
(action)="dispatch($event)"
|
|
201
201
|
/>
|
|
202
202
|
</frames-router-outlet>
|
|
203
|
-
`, isInline: true, styles: [":host{width:100%;height:100%;display:block;--page-width-lv1-SCOPED-IN-form-
|
|
203
|
+
`, isInline: true, styles: [":host{width:100%;height:100%;display:block;--page-width-lv1-SCOPED-IN-form-K3Bh: var(--page-width-lv1);--page-width-lv2-SCOPED-IN-form-K3Bh: var(--page-width-lv2);--page-width-lv3-SCOPED-IN-form-K3Bh: var(--page-width-lv3);--primary-color-SCOPED-IN-form-K3Bh: var(--primary-color);--on-primary-color-SCOPED-IN-form-K3Bh: var(--on-primary-color);--surface-color-SCOPED-IN-form-K3Bh: var(--surface-color);--on-surface-color-SCOPED-IN-form-K3Bh: var(--on-surface-color);--on-background-color-SCOPED-IN-form-K3Bh: var(--on-background-color);--background-color-SCOPED-IN-form-K3Bh: var(--background-color)}:host .template{width:var(--page-width-lv1-SCOPED-IN-form-K3Bh)}:host *{--primary-color: var(--primary-color-SCOPED-IN-form-K3Bh);--on-primary-color: var(--on-primary-color-SCOPED-IN-form-K3Bh);--surface-color: var(--surface-color-SCOPED-IN-form-K3Bh);--on-surface-color: var(--on-surface-color-SCOPED-IN-form-K3Bh);--background-color: var(--background-color-SCOPED-IN-form-K3Bh);--on-background-color: var(--on-background-color-SCOPED-IN-form-K3Bh)}\n"], dependencies: [{ kind: "component", type: RouterOutletFrame, selector: "frames-router-outlet", outputs: ["events"] }, { kind: "component", type: FormTemplate, selector: "templates-form" }] }); }
|
|
204
204
|
}
|
|
205
205
|
__decorate([
|
|
206
206
|
Effect(FormTemplate.ActionId.BACK),
|
|
@@ -256,7 +256,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.6", ngImpor
|
|
|
256
256
|
'outletName',
|
|
257
257
|
],
|
|
258
258
|
},
|
|
259
|
-
], styles: [":host{width:100%;height:100%;display:block;--page-width-lv1-SCOPED-IN-form-
|
|
259
|
+
], styles: [":host{width:100%;height:100%;display:block;--page-width-lv1-SCOPED-IN-form-K3Bh: var(--page-width-lv1);--page-width-lv2-SCOPED-IN-form-K3Bh: var(--page-width-lv2);--page-width-lv3-SCOPED-IN-form-K3Bh: var(--page-width-lv3);--primary-color-SCOPED-IN-form-K3Bh: var(--primary-color);--on-primary-color-SCOPED-IN-form-K3Bh: var(--on-primary-color);--surface-color-SCOPED-IN-form-K3Bh: var(--surface-color);--on-surface-color-SCOPED-IN-form-K3Bh: var(--on-surface-color);--on-background-color-SCOPED-IN-form-K3Bh: var(--on-background-color);--background-color-SCOPED-IN-form-K3Bh: var(--background-color)}:host .template{width:var(--page-width-lv1-SCOPED-IN-form-K3Bh)}:host *{--primary-color: var(--primary-color-SCOPED-IN-form-K3Bh);--on-primary-color: var(--on-primary-color-SCOPED-IN-form-K3Bh);--surface-color: var(--surface-color-SCOPED-IN-form-K3Bh);--on-surface-color: var(--on-surface-color-SCOPED-IN-form-K3Bh);--background-color: var(--background-color-SCOPED-IN-form-K3Bh);--on-background-color: var(--on-background-color-SCOPED-IN-form-K3Bh)}\n"] }]
|
|
260
260
|
}], propDecorators: { back: [], close: [], fileSelected: [] } });
|
|
261
261
|
|
|
262
262
|
/**
|
|
@@ -15,7 +15,7 @@ import { QueryResolverService } from '@ng-atomic/common/services/query-resolver'
|
|
|
15
15
|
import { call, makeConfig, injectNavStartActions, NavActionId } from '@ng-atomic/common/services/ui';
|
|
16
16
|
import { IndexPipe } from '@ng-atomic/common/pipes/index';
|
|
17
17
|
import { IndexLengthPipe } from '@ng-atomic/common/pipes/index-length';
|
|
18
|
-
import { GridCardsSectionOrganism } from '@ng-atomic/components/organisms/grid-cards-section';
|
|
18
|
+
import { GridCardsSectionOrganismStore, GridCardsSectionOrganism } from '@ng-atomic/components/organisms/grid-cards-section';
|
|
19
19
|
import { injectModelName } from '@ng-atomic/common/pipes/domain';
|
|
20
20
|
import { FormControl } from '@angular/forms';
|
|
21
21
|
import { computedRawValue } from '@ng-atomic/common/utils';
|
|
@@ -49,6 +49,9 @@ function getType(context) {
|
|
|
49
49
|
default: return 'table';
|
|
50
50
|
}
|
|
51
51
|
}
|
|
52
|
+
function showsPaginator(type, paginatorTypes, hasPageForm) {
|
|
53
|
+
return hasPageForm && paginatorTypes.includes(type);
|
|
54
|
+
}
|
|
52
55
|
function convertToItemsMap(items, { mapper = (items) => items, } = {}) {
|
|
53
56
|
return {
|
|
54
57
|
'default': {
|
|
@@ -83,6 +86,7 @@ let IndexTemplateStore = class IndexTemplateStore extends InjectableComponent {
|
|
|
83
86
|
this.groupedBy = input(_computed(() => this.config().groupedBy), ...(ngDevMode ? [{ debugName: "groupedBy" }] : []));
|
|
84
87
|
this.groupKeys = input(_computed(() => this.config().groupKeys), ...(ngDevMode ? [{ debugName: "groupKeys" }] : []));
|
|
85
88
|
this.pageSizeOptions = input(_computed(() => this.config().pageSizeOptions), ...(ngDevMode ? [{ debugName: "pageSizeOptions" }] : []));
|
|
89
|
+
this.paginatorTypes = input(_computed(() => this.config().paginatorTypes ?? ['table']), ...(ngDevMode ? [{ debugName: "paginatorTypes" }] : []));
|
|
86
90
|
this.type = input(_computed(() => this.config().type), ...(ngDevMode ? [{ debugName: "type" }] : []));
|
|
87
91
|
this.selection = input(_computed(() => this.config().selection), ...(ngDevMode ? [{ debugName: "selection" }] : []));
|
|
88
92
|
this.highlight = input(_computed(() => this.config().highlight), ...(ngDevMode ? [{ debugName: "highlight" }] : []));
|
|
@@ -143,6 +147,7 @@ let IndexTemplateStore = class IndexTemplateStore extends InjectableComponent {
|
|
|
143
147
|
groupKeys: [],
|
|
144
148
|
type: getType(context),
|
|
145
149
|
pageSizeOptions: [10, 25, 50, 100],
|
|
150
|
+
paginatorTypes: ['table'],
|
|
146
151
|
selection: new SelectionModel(true, []),
|
|
147
152
|
highlight: new SelectionModel(true, []),
|
|
148
153
|
queryLabel: 'フィルター',
|
|
@@ -158,7 +163,7 @@ let IndexTemplateStore = class IndexTemplateStore extends InjectableComponent {
|
|
|
158
163
|
});
|
|
159
164
|
}
|
|
160
165
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.6", ngImport: i0, type: IndexTemplateStore, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
|
|
161
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.1.6", 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 }, tableColumnFormFieldMap: { classPropertyName: "tableColumnFormFieldMap", publicName: "tableColumnFormFieldMap", 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 }, titleControl: { classPropertyName: "titleControl", publicName: "titleControl", isSignal: true, isRequired: false, transformFunction: null }, titleEditable: { classPropertyName: "titleEditable", publicName: "titleEditable", 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 }, itemsMap: { classPropertyName: "itemsMap", publicName: "itemsMap", isSignal: true, isRequired: false, transformFunction: null }, itemsMapKeys: { classPropertyName: "itemsMapKeys", publicName: "itemsMapKeys", 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 }, queryLabel: { classPropertyName: "queryLabel", publicName: "queryLabel", isSignal: true, isRequired: false, transformFunction: null }, getRowClass: { classPropertyName: "getRowClass", publicName: "getRowClass", isSignal: true, isRequired: false, transformFunction: null }, navMode: { classPropertyName: "navMode", publicName: "navMode", isSignal: true, isRequired: false, transformFunction: null } }, providers: [
|
|
166
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.1.6", 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 }, tableColumnFormFieldMap: { classPropertyName: "tableColumnFormFieldMap", publicName: "tableColumnFormFieldMap", 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 }, titleControl: { classPropertyName: "titleControl", publicName: "titleControl", isSignal: true, isRequired: false, transformFunction: null }, titleEditable: { classPropertyName: "titleEditable", publicName: "titleEditable", 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 }, itemsMap: { classPropertyName: "itemsMap", publicName: "itemsMap", isSignal: true, isRequired: false, transformFunction: null }, itemsMapKeys: { classPropertyName: "itemsMapKeys", publicName: "itemsMapKeys", 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 }, paginatorTypes: { classPropertyName: "paginatorTypes", publicName: "paginatorTypes", 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 }, queryLabel: { classPropertyName: "queryLabel", publicName: "queryLabel", isSignal: true, isRequired: false, transformFunction: null }, getRowClass: { classPropertyName: "getRowClass", publicName: "getRowClass", isSignal: true, isRequired: false, transformFunction: null }, navMode: { classPropertyName: "navMode", publicName: "navMode", isSignal: true, isRequired: false, transformFunction: null } }, providers: [
|
|
162
167
|
IndexPipe,
|
|
163
168
|
IndexLengthPipe,
|
|
164
169
|
], usesInheritance: true, ngImport: i0 }); }
|
|
@@ -176,11 +181,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.6", ngImpor
|
|
|
176
181
|
IndexLengthPipe,
|
|
177
182
|
],
|
|
178
183
|
}]
|
|
179
|
-
}], propDecorators: { form: [{ type: i0.Input, args: [{ isSignal: true, alias: "form", required: false }] }], gridToolbarActions: [{ type: i0.Input, args: [{ isSignal: true, alias: "gridToolbarActions", required: false }] }], toggleActions: [{ type: i0.Input, args: [{ isSignal: true, alias: "toggleActions", required: false }] }], tableChildrenKey: [{ type: i0.Input, args: [{ isSignal: true, alias: "tableChildrenKey", required: false }] }], tableIsHidden: [{ type: i0.Input, args: [{ isSignal: true, alias: "tableIsHidden", required: false }] }], tableTreeControl: [{ type: i0.Input, args: [{ isSignal: true, alias: "tableTreeControl", required: false }] }], tableColumnFormFieldMap: [{ type: i0.Input, args: [{ isSignal: true, alias: "tableColumnFormFieldMap", required: false }] }], itemActions: [{ type: i0.Input, args: [{ isSignal: true, alias: "itemActions", required: false }] }], title: [{ type: i0.Input, args: [{ isSignal: true, alias: "title", required: false }] }], titleControl: [{ type: i0.Input, args: [{ isSignal: true, alias: "titleControl", required: false }] }], titleEditable: [{ type: i0.Input, args: [{ isSignal: true, alias: "titleEditable", required: false }] }], description: [{ type: i0.Input, args: [{ isSignal: true, alias: "description", required: false }] }], items: [{ type: i0.Input, args: [{ isSignal: true, alias: "items", required: false }] }], itemsMap: [{ type: i0.Input, args: [{ isSignal: true, alias: "itemsMap", required: false }] }], itemsMapKeys: [{ type: i0.Input, args: [{ isSignal: true, alias: "itemsMapKeys", required: false }] }], itemsLength: [{ type: i0.Input, args: [{ isSignal: true, alias: "itemsLength", required: false }] }], navStartActions: [{ type: i0.Input, args: [{ isSignal: true, alias: "navStartActions", required: false }] }], navEndActions: [{ type: i0.Input, args: [{ isSignal: true, alias: "navEndActions", required: false }] }], groupedBy: [{ type: i0.Input, args: [{ isSignal: true, alias: "groupedBy", required: false }] }], groupKeys: [{ type: i0.Input, args: [{ isSignal: true, alias: "groupKeys", required: false }] }], pageSizeOptions: [{ type: i0.Input, args: [{ isSignal: true, alias: "pageSizeOptions", required: false }] }], type: [{ type: i0.Input, args: [{ isSignal: true, alias: "type", required: false }] }], selection: [{ type: i0.Input, args: [{ isSignal: true, alias: "selection", required: false }] }], highlight: [{ type: i0.Input, args: [{ isSignal: true, alias: "highlight", required: false }] }], queryLabel: [{ type: i0.Input, args: [{ isSignal: true, alias: "queryLabel", required: false }] }], getRowClass: [{ type: i0.Input, args: [{ isSignal: true, alias: "getRowClass", required: false }] }], navMode: [{ type: i0.Input, args: [{ isSignal: true, alias: "navMode", required: false }] }] } });
|
|
184
|
+
}], propDecorators: { form: [{ type: i0.Input, args: [{ isSignal: true, alias: "form", required: false }] }], gridToolbarActions: [{ type: i0.Input, args: [{ isSignal: true, alias: "gridToolbarActions", required: false }] }], toggleActions: [{ type: i0.Input, args: [{ isSignal: true, alias: "toggleActions", required: false }] }], tableChildrenKey: [{ type: i0.Input, args: [{ isSignal: true, alias: "tableChildrenKey", required: false }] }], tableIsHidden: [{ type: i0.Input, args: [{ isSignal: true, alias: "tableIsHidden", required: false }] }], tableTreeControl: [{ type: i0.Input, args: [{ isSignal: true, alias: "tableTreeControl", required: false }] }], tableColumnFormFieldMap: [{ type: i0.Input, args: [{ isSignal: true, alias: "tableColumnFormFieldMap", required: false }] }], itemActions: [{ type: i0.Input, args: [{ isSignal: true, alias: "itemActions", required: false }] }], title: [{ type: i0.Input, args: [{ isSignal: true, alias: "title", required: false }] }], titleControl: [{ type: i0.Input, args: [{ isSignal: true, alias: "titleControl", required: false }] }], titleEditable: [{ type: i0.Input, args: [{ isSignal: true, alias: "titleEditable", required: false }] }], description: [{ type: i0.Input, args: [{ isSignal: true, alias: "description", required: false }] }], items: [{ type: i0.Input, args: [{ isSignal: true, alias: "items", required: false }] }], itemsMap: [{ type: i0.Input, args: [{ isSignal: true, alias: "itemsMap", required: false }] }], itemsMapKeys: [{ type: i0.Input, args: [{ isSignal: true, alias: "itemsMapKeys", required: false }] }], itemsLength: [{ type: i0.Input, args: [{ isSignal: true, alias: "itemsLength", required: false }] }], navStartActions: [{ type: i0.Input, args: [{ isSignal: true, alias: "navStartActions", required: false }] }], navEndActions: [{ type: i0.Input, args: [{ isSignal: true, alias: "navEndActions", required: false }] }], groupedBy: [{ type: i0.Input, args: [{ isSignal: true, alias: "groupedBy", required: false }] }], groupKeys: [{ type: i0.Input, args: [{ isSignal: true, alias: "groupKeys", required: false }] }], pageSizeOptions: [{ type: i0.Input, args: [{ isSignal: true, alias: "pageSizeOptions", required: false }] }], paginatorTypes: [{ type: i0.Input, args: [{ isSignal: true, alias: "paginatorTypes", required: false }] }], type: [{ type: i0.Input, args: [{ isSignal: true, alias: "type", required: false }] }], selection: [{ type: i0.Input, args: [{ isSignal: true, alias: "selection", required: false }] }], highlight: [{ type: i0.Input, args: [{ isSignal: true, alias: "highlight", required: false }] }], queryLabel: [{ type: i0.Input, args: [{ isSignal: true, alias: "queryLabel", required: false }] }], getRowClass: [{ type: i0.Input, args: [{ isSignal: true, alias: "getRowClass", required: false }] }], navMode: [{ type: i0.Input, args: [{ isSignal: true, alias: "navMode", required: false }] }] } });
|
|
180
185
|
class IndexTemplate extends NgAtomicComponent {
|
|
181
186
|
constructor() {
|
|
182
187
|
super(...arguments);
|
|
183
188
|
this.ActionId = ActionId;
|
|
189
|
+
this.showsPaginator = showsPaginator;
|
|
184
190
|
this.store = inject(IndexTemplateStore);
|
|
185
191
|
this.dividerFrame = viewChild(DividerFrame, ...(ngDevMode ? [{ debugName: "dividerFrame" }] : []));
|
|
186
192
|
this.tables = viewChildren(TableOrganismStore, ...(ngDevMode ? [{ debugName: "tables" }] : []));
|
|
@@ -241,7 +247,7 @@ class IndexTemplate extends NgAtomicComponent {
|
|
|
241
247
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.6", ngImport: i0, type: IndexTemplate, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
242
248
|
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.1.6", type: IndexTemplate, isStandalone: true, selector: "templates-index", host: { classAttribute: "template" }, providers: [
|
|
243
249
|
QueryResolverService,
|
|
244
|
-
], viewQueries: [{ propertyName: "dividerFrame", first: true, predicate: DividerFrame, descendants: true, isSignal: true }, { propertyName: "tables", predicate: TableOrganismStore, descendants: true, isSignal: true }], usesInheritance: true, hostDirectives: [{ directive: IndexTemplateStore, inputs: ["gridToolbarActions", "gridToolbarActions", "tableChildrenKey", "tableChildrenKey", "tableIsHidden", "tableIsHidden", "tableTreeControl", "tableTreeControl", "tableColumnFormFieldMap", "tableColumnFormFieldMap", "form", "form", "title", "title", "titleControl", "titleControl", "titleEditable", "titleEditable", "description", "description", "items", "items", "itemsMap", "itemsMap", "itemsLength", "itemsLength", "itemActions", "itemActions", "navStartActions", "navStartActions", "navEndActions", "navEndActions", "navMode", "navMode", "groupedBy", "groupedBy", "groupKeys", "groupKeys", "selection", "selection", "pageSizeOptions", "pageSizeOptions", "type", "type", "highlight", "highlight", "queryLabel", "queryLabel", "getRowClass", "getRowClass"] }], ngImport: i0, template: `
|
|
250
|
+
], viewQueries: [{ propertyName: "dividerFrame", first: true, predicate: DividerFrame, descendants: true, isSignal: true }, { propertyName: "tables", predicate: TableOrganismStore, descendants: true, isSignal: true }], usesInheritance: true, hostDirectives: [{ directive: IndexTemplateStore, inputs: ["gridToolbarActions", "gridToolbarActions", "tableChildrenKey", "tableChildrenKey", "tableIsHidden", "tableIsHidden", "tableTreeControl", "tableTreeControl", "tableColumnFormFieldMap", "tableColumnFormFieldMap", "form", "form", "title", "title", "titleControl", "titleControl", "titleEditable", "titleEditable", "description", "description", "items", "items", "itemsMap", "itemsMap", "itemsLength", "itemsLength", "itemActions", "itemActions", "navStartActions", "navStartActions", "navEndActions", "navEndActions", "navMode", "navMode", "groupedBy", "groupedBy", "groupKeys", "groupKeys", "selection", "selection", "pageSizeOptions", "pageSizeOptions", "paginatorTypes", "paginatorTypes", "type", "type", "highlight", "highlight", "queryLabel", "queryLabel", "getRowClass", "getRowClass"] }], ngImport: i0, template: `
|
|
245
251
|
<frames-scroll>
|
|
246
252
|
<frames-vertical-hide [mode]="store.navMode()" top>
|
|
247
253
|
<organisms-navigator
|
|
@@ -349,12 +355,20 @@ class IndexTemplate extends NgAtomicComponent {
|
|
|
349
355
|
}
|
|
350
356
|
}
|
|
351
357
|
@case ('grid') { @defer {
|
|
352
|
-
<organisms-grid-cards-section
|
|
358
|
+
<organisms-grid-cards-section injectable
|
|
353
359
|
[items]="items"
|
|
354
360
|
(action)="dispatch($event)"
|
|
355
361
|
contents
|
|
356
362
|
/>
|
|
357
|
-
}
|
|
363
|
+
}
|
|
364
|
+
@if (showsPaginator('grid', store.paginatorTypes(), !!pageForm)) { @defer {
|
|
365
|
+
<organisms-paginator injectable
|
|
366
|
+
[form]="pageForm"
|
|
367
|
+
[itemLength]="itemLength"
|
|
368
|
+
[pageSizeOptions]="pageSizeOptions"
|
|
369
|
+
/>
|
|
370
|
+
} }
|
|
371
|
+
}
|
|
358
372
|
@default {
|
|
359
373
|
<organisms-table injectable
|
|
360
374
|
[columnFormFieldMap]="tableFormFieldMap"
|
|
@@ -369,7 +383,7 @@ class IndexTemplate extends NgAtomicComponent {
|
|
|
369
383
|
[getRowClass]="store.getRowClass()"
|
|
370
384
|
(action)="dispatch($event, undefined, key)"
|
|
371
385
|
/>
|
|
372
|
-
@if (pageForm) { @defer {
|
|
386
|
+
@if (showsPaginator('table', store.paginatorTypes(), !!pageForm)) { @defer {
|
|
373
387
|
<organisms-paginator injectable
|
|
374
388
|
[form]="pageForm"
|
|
375
389
|
[itemLength]="itemLength"
|
|
@@ -379,8 +393,8 @@ class IndexTemplate extends NgAtomicComponent {
|
|
|
379
393
|
}
|
|
380
394
|
}
|
|
381
395
|
</ng-template>
|
|
382
|
-
`, isInline: true, styles: [":host{width:100%;height:100%;background:#fff;display:block;--navigator-height: 56px;--navigator-height-SCOPED-IN-index-
|
|
383
|
-
NgTemplateOutlet], () => [import('@ng-atomic/components/organisms/grid-toolbar').then(m => m.GridToolbarOrganismStore)], () => [import('@ng-atomic/components/frames/tabs').then(m => m.TabsFrame), NgTemplateOutlet], () => [
|
|
396
|
+
`, isInline: true, styles: [":host{width:100%;height:100%;background:#fff;display:block;--navigator-height: 56px;--navigator-height-SCOPED-IN-index-PxuE: var(--navigator-height);--primary-color: #404040;--primary-color-SCOPED-IN-index-PxuE: var(--primary-color);--on-primary-color: #f0f0f0;--on-primary-color-SCOPED-IN-index-PxuE: var(--on-primary-color);--secondary-color: #f0f0f0;--secondary-color-SCOPED-IN-index-PxuE: var(--secondary-color);--surface-color: #f0f0f0;--surface-color-SCOPED-IN-index-PxuE: var(--surface-color);--on-surface-color: #000;--on-surface-color-SCOPED-IN-index-PxuE: var(--on-surface-color);--background-color: #f0f0f0;--background-color-SCOPED-IN-index-PxuE: var(--background-color);--on-background-color: #000;--on-background-color-SCOPED-IN-index-PxuE: var(--on-background-color);--navigator-background-color: var(--primary-color-SCOPED-IN-index-PxuE);--navigator-background-color-SCOPED-IN-index-PxuE: var(--navigator-background-color);--navigator-on-background-color: var(--on-primary-color-SCOPED-IN-index-PxuE);--navigator-on-background-color-SCOPED-IN-index-PxuE: var(--navigator-on-background-color);--table-background-color: var(--background-color-SCOPED-IN-index-PxuE);--table-background-color-SCOPED-IN-index-PxuE: var(--table-background-color);--table-on-background-color: var(--on-background-color-SCOPED-IN-index-PxuE);--table-on-background-color-SCOPED-IN-index-PxuE: var(--table-on-background-color);--table-surface-color: var(--surface-color-SCOPED-IN-index-PxuE);--table-surface-color-SCOPED-IN-index-PxuE: var(--table-surface-color);--table-on-surface-color: var(--on-surface-color-SCOPED-IN-index-PxuE);--table-on-surface-color-SCOPED-IN-index-PxuE: var(--table-on-surface-color);--first-content-height: 0px;--first-content-height-SCOPED-IN-index-PxuE: var(--first-content-height);--min-first-content-height: 0px;--min-first-content-height-SCOPED-IN-index-PxuE: var(--min-first-content-height);--max-first-content-height: calc(100% - 80px) ;--max-first-content-height-SCOPED-IN-index-PxuE: var(--max-first-content-height)}:host{background-color:var(--background-color-SCOPED-IN-index-PxuE);color:var(--on-background-color-SCOPED-IN-index-PxuE);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-PxuE);--min-first-content-height: var(--min-first-content-height-SCOPED-IN-index-PxuE)}:host organisms-table{--background-color: var(--table-background-color-SCOPED-IN-index-PxuE);--on-background-color: var(--table-on-background-color-SCOPED-IN-index-PxuE);--surface-color: var(--table-surface-color-SCOPED-IN-index-PxuE);--on-surface-color: var(--table-on-surface-color-SCOPED-IN-index-PxuE)}:host *{--primary-color: var(--primary-color-SCOPED-IN-index-PxuE);--on-primary-color: var(--on-primary-color-SCOPED-IN-index-PxuE);--surface-color: var(--surface-color-SCOPED-IN-index-PxuE);--on-surface-color: var(--on-surface-color-SCOPED-IN-index-PxuE);--background-color: var(--background-color-SCOPED-IN-index-PxuE);--on-background-color: var(--on-background-color-SCOPED-IN-index-PxuE)}:host organisms-navigator{--background-color: var(--navigator-background-color-SCOPED-IN-index-PxuE);--on-background-color: var(--navigator-on-background-color-SCOPED-IN-index-PxuE)}\n"], dependencies: [{ kind: "component", type: AutoLayoutFrame, selector: "frames-auto-layout" }, { kind: "component", type: ScrollFrame, selector: "frames-scroll" }, { kind: "component", type: ListOrganism, selector: "organisms-list" }, { kind: "directive", type: TableOrganismStore, selector: "organisms-table", inputs: ["draggable", "form", "columnFormFieldMap", "itemActions", "selection", "highlight", "childrenKey", "items", "treeControl", "isHidden", "getRowClass"] }, { kind: "component", type: TreeListOrganism, selector: "organisms-tree-list" }, { kind: "directive", type: NavigatorOrganismStore, selector: "organisms-navigator", inputs: ["startActions", "endActions", "title"] }, { kind: "directive", type: HeaderMoleculeStore, selector: "molecules-header", inputs: ["title", "description"] }, { kind: "component", type: TextInputFieldMolecule, selector: "molecules-text-input-field" }, { kind: "component", type: VerticalHideFrame, selector: "frames-vertical-hide", inputs: ["mode"] }, { kind: "pipe", type: JsonPipe, name: "json" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, deferBlockDependencies: [() => [import('@ng-atomic/components/organisms/chips-input-section').then(m => m.ChipsInputSectionOrganism), DividerFrame,
|
|
397
|
+
NgTemplateOutlet], () => [import('@ng-atomic/components/organisms/grid-toolbar').then(m => m.GridToolbarOrganismStore)], () => [import('@ng-atomic/components/frames/tabs').then(m => m.TabsFrame), NgTemplateOutlet], () => [GridCardsSectionOrganismStore], () => [import('@ng-atomic/components/organisms/paginator').then(m => m.PaginatorOrganismStore)], () => [import('@ng-atomic/components/organisms/paginator').then(m => m.PaginatorOrganismStore)]] }); }
|
|
384
398
|
}
|
|
385
399
|
__decorate([
|
|
386
400
|
Effect(TableOrganism.ActionId.HEADER_CLICK),
|
|
@@ -440,7 +454,7 @@ i0.ɵɵngDeclareClassMetadataAsync({ minVersion: "18.0.0", version: "21.1.6", ng
|
|
|
440
454
|
TabsFrame,
|
|
441
455
|
TableOrganismStore,
|
|
442
456
|
TreeListOrganism,
|
|
443
|
-
|
|
457
|
+
GridCardsSectionOrganismStore,
|
|
444
458
|
NavigatorOrganismStore,
|
|
445
459
|
HeaderMoleculeStore,
|
|
446
460
|
NgTemplateOutlet,
|
|
@@ -555,12 +569,20 @@ i0.ɵɵngDeclareClassMetadataAsync({ minVersion: "18.0.0", version: "21.1.6", ng
|
|
|
555
569
|
}
|
|
556
570
|
}
|
|
557
571
|
@case ('grid') { @defer {
|
|
558
|
-
<organisms-grid-cards-section
|
|
572
|
+
<organisms-grid-cards-section injectable
|
|
559
573
|
[items]="items"
|
|
560
574
|
(action)="dispatch($event)"
|
|
561
575
|
contents
|
|
562
576
|
/>
|
|
563
|
-
}
|
|
577
|
+
}
|
|
578
|
+
@if (showsPaginator('grid', store.paginatorTypes(), !!pageForm)) { @defer {
|
|
579
|
+
<organisms-paginator injectable
|
|
580
|
+
[form]="pageForm"
|
|
581
|
+
[itemLength]="itemLength"
|
|
582
|
+
[pageSizeOptions]="pageSizeOptions"
|
|
583
|
+
/>
|
|
584
|
+
} }
|
|
585
|
+
}
|
|
564
586
|
@default {
|
|
565
587
|
<organisms-table injectable
|
|
566
588
|
[columnFormFieldMap]="tableFormFieldMap"
|
|
@@ -575,7 +597,7 @@ i0.ɵɵngDeclareClassMetadataAsync({ minVersion: "18.0.0", version: "21.1.6", ng
|
|
|
575
597
|
[getRowClass]="store.getRowClass()"
|
|
576
598
|
(action)="dispatch($event, undefined, key)"
|
|
577
599
|
/>
|
|
578
|
-
@if (pageForm) { @defer {
|
|
600
|
+
@if (showsPaginator('table', store.paginatorTypes(), !!pageForm)) { @defer {
|
|
579
601
|
<organisms-paginator injectable
|
|
580
602
|
[form]="pageForm"
|
|
581
603
|
[itemLength]="itemLength"
|
|
@@ -610,6 +632,7 @@ i0.ɵɵngDeclareClassMetadataAsync({ minVersion: "18.0.0", version: "21.1.6", ng
|
|
|
610
632
|
'groupKeys',
|
|
611
633
|
'selection',
|
|
612
634
|
'pageSizeOptions',
|
|
635
|
+
'paginatorTypes',
|
|
613
636
|
'type',
|
|
614
637
|
'highlight',
|
|
615
638
|
'queryLabel',
|
|
@@ -619,11 +642,11 @@ i0.ɵɵngDeclareClassMetadataAsync({ minVersion: "18.0.0", version: "21.1.6", ng
|
|
|
619
642
|
}
|
|
620
643
|
], providers: [
|
|
621
644
|
QueryResolverService,
|
|
622
|
-
], styles: [":host{width:100%;height:100%;background:#fff;display:block;--navigator-height: 56px;--navigator-height-SCOPED-IN-index-
|
|
645
|
+
], styles: [":host{width:100%;height:100%;background:#fff;display:block;--navigator-height: 56px;--navigator-height-SCOPED-IN-index-PxuE: var(--navigator-height);--primary-color: #404040;--primary-color-SCOPED-IN-index-PxuE: var(--primary-color);--on-primary-color: #f0f0f0;--on-primary-color-SCOPED-IN-index-PxuE: var(--on-primary-color);--secondary-color: #f0f0f0;--secondary-color-SCOPED-IN-index-PxuE: var(--secondary-color);--surface-color: #f0f0f0;--surface-color-SCOPED-IN-index-PxuE: var(--surface-color);--on-surface-color: #000;--on-surface-color-SCOPED-IN-index-PxuE: var(--on-surface-color);--background-color: #f0f0f0;--background-color-SCOPED-IN-index-PxuE: var(--background-color);--on-background-color: #000;--on-background-color-SCOPED-IN-index-PxuE: var(--on-background-color);--navigator-background-color: var(--primary-color-SCOPED-IN-index-PxuE);--navigator-background-color-SCOPED-IN-index-PxuE: var(--navigator-background-color);--navigator-on-background-color: var(--on-primary-color-SCOPED-IN-index-PxuE);--navigator-on-background-color-SCOPED-IN-index-PxuE: var(--navigator-on-background-color);--table-background-color: var(--background-color-SCOPED-IN-index-PxuE);--table-background-color-SCOPED-IN-index-PxuE: var(--table-background-color);--table-on-background-color: var(--on-background-color-SCOPED-IN-index-PxuE);--table-on-background-color-SCOPED-IN-index-PxuE: var(--table-on-background-color);--table-surface-color: var(--surface-color-SCOPED-IN-index-PxuE);--table-surface-color-SCOPED-IN-index-PxuE: var(--table-surface-color);--table-on-surface-color: var(--on-surface-color-SCOPED-IN-index-PxuE);--table-on-surface-color-SCOPED-IN-index-PxuE: var(--table-on-surface-color);--first-content-height: 0px;--first-content-height-SCOPED-IN-index-PxuE: var(--first-content-height);--min-first-content-height: 0px;--min-first-content-height-SCOPED-IN-index-PxuE: var(--min-first-content-height);--max-first-content-height: calc(100% - 80px) ;--max-first-content-height-SCOPED-IN-index-PxuE: var(--max-first-content-height)}:host{background-color:var(--background-color-SCOPED-IN-index-PxuE);color:var(--on-background-color-SCOPED-IN-index-PxuE);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-PxuE);--min-first-content-height: var(--min-first-content-height-SCOPED-IN-index-PxuE)}:host organisms-table{--background-color: var(--table-background-color-SCOPED-IN-index-PxuE);--on-background-color: var(--table-on-background-color-SCOPED-IN-index-PxuE);--surface-color: var(--table-surface-color-SCOPED-IN-index-PxuE);--on-surface-color: var(--table-on-surface-color-SCOPED-IN-index-PxuE)}:host *{--primary-color: var(--primary-color-SCOPED-IN-index-PxuE);--on-primary-color: var(--on-primary-color-SCOPED-IN-index-PxuE);--surface-color: var(--surface-color-SCOPED-IN-index-PxuE);--on-surface-color: var(--on-surface-color-SCOPED-IN-index-PxuE);--background-color: var(--background-color-SCOPED-IN-index-PxuE);--on-background-color: var(--on-background-color-SCOPED-IN-index-PxuE)}:host organisms-navigator{--background-color: var(--navigator-background-color-SCOPED-IN-index-PxuE);--on-background-color: var(--navigator-on-background-color-SCOPED-IN-index-PxuE)}\n"] }]
|
|
623
646
|
}], ctorParameters: null, propDecorators: { dividerFrame: [{ type: i0.ViewChild, args: [i0.forwardRef(() => DividerFrame), { isSignal: true }] }], tables: [{ type: i0.ViewChildren, args: [i0.forwardRef(() => TableOrganismStore), { isSignal: true }] }], onTableHeaderClick: [], onCheckboxClickItem: [], onItemClicked: [], onItemButtonClicked: [], onHeaderCheckboxClick: [], onColumnWidthChange: [], back: [] } }) });
|
|
624
647
|
|
|
625
648
|
/**
|
|
626
649
|
* Generated bundle index. Do not edit.
|
|
627
650
|
*/
|
|
628
651
|
|
|
629
|
-
export { ActionId, IndexTemplate, IndexTemplateStore, convertToItemsMap, getType };
|
|
652
|
+
export { ActionId, IndexTemplate, IndexTemplateStore, convertToItemsMap, getType, showsPaginator };
|
|
@@ -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: "21.1.6", ngImport: i0, type: BackgroundTemplate, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
22
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.1.6", 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: #fff;--background-color-SCOPED-IN-background-
|
|
22
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.1.6", 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: #fff;--background-color-SCOPED-IN-background-4v0Q: var(--background-color);--on-background-color: hsl(0, 0%, 0%);--on-background-color-SCOPED-IN-background-4v0Q: var(--on-background-color)}:host{width:100%;height:100%;background-color:var(--background-color-SCOPED-IN-background-4v0Q);color:var(--on-background-color-SCOPED-IN-background-4v0Q)}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
23
23
|
}
|
|
24
24
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.6", ngImport: i0, type: BackgroundTemplate, decorators: [{
|
|
25
25
|
type: Component,
|
|
26
26
|
args: [{ selector: 'templates-background', imports: [], template: ``, changeDetection: ChangeDetectionStrategy.OnPush, hostDirectives: [
|
|
27
27
|
BackgroundTemplateStore,
|
|
28
|
-
], styles: [":host{width:100%;height:100%;background:#fff;display:block;--background-color: #fff;--background-color-SCOPED-IN-background-
|
|
28
|
+
], styles: [":host{width:100%;height:100%;background:#fff;display:block;--background-color: #fff;--background-color-SCOPED-IN-background-4v0Q: var(--background-color);--on-background-color: hsl(0, 0%, 0%);--on-background-color-SCOPED-IN-background-4v0Q: var(--on-background-color)}:host{width:100%;height:100%;background-color:var(--background-color-SCOPED-IN-background-4v0Q);color:var(--on-background-color-SCOPED-IN-background-4v0Q)}\n"] }]
|
|
29
29
|
}] });
|
|
30
30
|
|
|
31
31
|
/**
|