@ng-atomic/components 20.67.0 → 20.69.4
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-badge.mjs +4 -4
- package/fesm2022/ng-atomic-components-atoms-chips-input.mjs +3 -3
- package/fesm2022/ng-atomic-components-atoms-icon.mjs +6 -6
- package/fesm2022/ng-atomic-components-atoms-logo.mjs +9 -9
- package/fesm2022/ng-atomic-components-atoms-menu-button.mjs +13 -13
- package/fesm2022/ng-atomic-components-atoms-value-cell.mjs +17 -17
- package/fesm2022/ng-atomic-components-atoms.mjs +4 -4
- package/fesm2022/ng-atomic-components-extras-editor.mjs +14 -14
- package/fesm2022/ng-atomic-components-extras.mjs +4 -4
- package/fesm2022/ng-atomic-components-frames-app.mjs +30 -30
- package/fesm2022/ng-atomic-components-frames-auto-layout.mjs +8 -8
- package/fesm2022/ng-atomic-components-frames-breadcrumb-navbar.mjs +17 -17
- package/fesm2022/ng-atomic-components-frames-card.mjs +4 -4
- package/fesm2022/ng-atomic-components-frames-columns.mjs +25 -25
- package/fesm2022/ng-atomic-components-frames-divider.mjs +6 -6
- package/fesm2022/ng-atomic-components-frames-drawer.mjs +15 -15
- package/fesm2022/ng-atomic-components-frames-entrance.mjs +12 -12
- package/fesm2022/ng-atomic-components-frames-fab.mjs +14 -14
- package/fesm2022/ng-atomic-components-frames-horizontal-divider.mjs +7 -7
- package/fesm2022/ng-atomic-components-frames-line-up.mjs +14 -14
- package/fesm2022/ng-atomic-components-frames-loading.mjs +9 -9
- package/fesm2022/ng-atomic-components-frames-overlay.mjs +9 -9
- package/fesm2022/ng-atomic-components-frames-progress-bar.mjs +8 -8
- package/fesm2022/ng-atomic-components-frames-router-outlet.mjs +13 -13
- package/fesm2022/ng-atomic-components-frames-scroll.mjs +5 -5
- package/fesm2022/ng-atomic-components-frames-side-app.mjs +7 -7
- package/fesm2022/ng-atomic-components-frames-side-nav.mjs +15 -15
- package/fesm2022/ng-atomic-components-frames-smart-menu.mjs +4 -4
- package/fesm2022/ng-atomic-components-frames-tabs.mjs +5 -5
- package/fesm2022/ng-atomic-components-frames-toggle.mjs +3 -3
- package/fesm2022/ng-atomic-components-frames-vertical-hide.mjs +6 -6
- package/fesm2022/ng-atomic-components-frames.mjs +4 -4
- package/fesm2022/ng-atomic-components-molecules-action-input-field.mjs +3 -3
- package/fesm2022/ng-atomic-components-molecules-actions-column.mjs +10 -10
- package/fesm2022/ng-atomic-components-molecules-checkbox-column.mjs +10 -10
- package/fesm2022/ng-atomic-components-molecules-chips-input-field.mjs +13 -13
- package/fesm2022/ng-atomic-components-molecules-date-input-field.mjs +13 -13
- package/fesm2022/ng-atomic-components-molecules-date-range-input-field.mjs +11 -11
- package/fesm2022/ng-atomic-components-molecules-file-input-field.mjs +14 -14
- package/fesm2022/ng-atomic-components-molecules-grid-item.mjs +6 -6
- package/fesm2022/ng-atomic-components-molecules-header.mjs +8 -8
- package/fesm2022/ng-atomic-components-molecules-list-item.mjs +12 -12
- package/fesm2022/ng-atomic-components-molecules-loading-box.mjs +9 -9
- package/fesm2022/ng-atomic-components-molecules-navigation-list-item.mjs +11 -11
- package/fesm2022/ng-atomic-components-molecules-nested-menu.mjs +3 -3
- package/fesm2022/ng-atomic-components-molecules-select-input-field.mjs +15 -15
- package/fesm2022/ng-atomic-components-molecules-text-column.mjs +8 -8
- package/fesm2022/ng-atomic-components-molecules-text-input-field.mjs +15 -15
- package/fesm2022/ng-atomic-components-molecules-textarea-field.mjs +13 -13
- package/fesm2022/ng-atomic-components-molecules-thread-message.mjs +13 -13
- package/fesm2022/ng-atomic-components-molecules-tree-column.mjs +9 -9
- package/fesm2022/ng-atomic-components-organisms-action-buttons-section.mjs +10 -10
- package/fesm2022/ng-atomic-components-organisms-action-input-section.mjs +13 -13
- package/fesm2022/ng-atomic-components-organisms-agreement-input-section.mjs +9 -9
- package/fesm2022/ng-atomic-components-organisms-breadcrumb-navbar.mjs +17 -17
- package/fesm2022/ng-atomic-components-organisms-card-input-section.mjs +4 -4
- package/fesm2022/ng-atomic-components-organisms-chips-input-section.mjs +11 -11
- package/fesm2022/ng-atomic-components-organisms-cvc-and-exp-input-section.mjs +4 -4
- package/fesm2022/ng-atomic-components-organisms-date-input-section.mjs +13 -13
- package/fesm2022/ng-atomic-components-organisms-date-range-input-section.mjs +12 -12
- package/fesm2022/ng-atomic-components-organisms-definition-list.mjs +9 -9
- package/fesm2022/ng-atomic-components-organisms-file-input-section.mjs +13 -13
- package/fesm2022/ng-atomic-components-organisms-filters-section.mjs +3 -3
- package/fesm2022/ng-atomic-components-organisms-graphql-editor.mjs +3 -3
- package/fesm2022/ng-atomic-components-organisms-grid-cards-section.mjs +9 -9
- package/fesm2022/ng-atomic-components-organisms-grid-toolbar.mjs +8 -8
- package/fesm2022/ng-atomic-components-organisms-heading.mjs +5 -5
- package/fesm2022/ng-atomic-components-organisms-image-preview-section.mjs +4 -4
- package/fesm2022/ng-atomic-components-organisms-list.mjs +11 -11
- package/fesm2022/ng-atomic-components-organisms-markdown-preview-section.mjs +10 -10
- package/fesm2022/ng-atomic-components-organisms-menu-footer.mjs +8 -8
- package/fesm2022/ng-atomic-components-organisms-menu-header.mjs +9 -9
- package/fesm2022/ng-atomic-components-organisms-mermaid-section.mjs +5 -5
- package/fesm2022/ng-atomic-components-organisms-message-input-section.mjs +3 -3
- package/fesm2022/ng-atomic-components-organisms-messages-section.mjs +5 -5
- package/fesm2022/ng-atomic-components-organisms-navigation-list.mjs +10 -10
- package/fesm2022/ng-atomic-components-organisms-navigator.mjs +13 -13
- package/fesm2022/ng-atomic-components-organisms-number-input-section.mjs +15 -15
- package/fesm2022/ng-atomic-components-organisms-paginator.mjs +11 -11
- package/fesm2022/ng-atomic-components-organisms-password-input-section.mjs +15 -15
- package/fesm2022/ng-atomic-components-organisms-select-input-section.mjs +15 -15
- package/fesm2022/ng-atomic-components-organisms-selection-list.mjs +3 -3
- package/fesm2022/ng-atomic-components-organisms-slider-input-section.mjs +14 -14
- package/fesm2022/ng-atomic-components-organisms-social-login-section.mjs +4 -4
- package/fesm2022/ng-atomic-components-organisms-stripe-input-section.mjs +24 -24
- package/fesm2022/ng-atomic-components-organisms-table.mjs +28 -28
- package/fesm2022/ng-atomic-components-organisms-terminal.mjs +3 -3
- package/fesm2022/ng-atomic-components-organisms-text-input-section.mjs +15 -15
- package/fesm2022/ng-atomic-components-organisms-text-preview-section.mjs +10 -10
- package/fesm2022/ng-atomic-components-organisms-textarea-section.mjs +16 -16
- package/fesm2022/ng-atomic-components-organisms-thread-messages-section.mjs +13 -13
- package/fesm2022/ng-atomic-components-organisms-time-range-input-section.mjs +3 -3
- package/fesm2022/ng-atomic-components-organisms-toolbar.mjs +3 -3
- package/fesm2022/ng-atomic-components-organisms-tree-list.mjs +13 -13
- package/fesm2022/ng-atomic-components-organisms-tree-section.mjs +3 -3
- package/fesm2022/ng-atomic-components-organisms-vertical-divider.mjs +3 -3
- package/fesm2022/ng-atomic-components-organisms-video-section.mjs +20 -20
- package/fesm2022/ng-atomic-components-pages-_index.mjs +38 -38
- package/fesm2022/ng-atomic-components-pages-blank.mjs +3 -3
- package/fesm2022/ng-atomic-components-pages-columns.mjs +12 -12
- package/fesm2022/ng-atomic-components-pages-form.mjs +22 -22
- package/fesm2022/ng-atomic-components-pages-terms.mjs +11 -11
- package/fesm2022/ng-atomic-components-pages.mjs +4 -4
- package/fesm2022/ng-atomic-components-services-global-iframe.mjs +3 -3
- package/fesm2022/ng-atomic-components-templates-_index.mjs +38 -38
- package/fesm2022/ng-atomic-components-templates-background.mjs +7 -7
- package/fesm2022/ng-atomic-components-templates-code-editor.mjs +14 -14
- package/fesm2022/ng-atomic-components-templates-columns.mjs +14 -14
- package/fesm2022/ng-atomic-components-templates-entrance.mjs +12 -12
- package/fesm2022/ng-atomic-components-templates-file-tree.mjs +3 -3
- package/fesm2022/ng-atomic-components-templates-form.mjs +35 -35
- package/fesm2022/ng-atomic-components-templates-icon-button-menu.mjs +11 -11
- package/fesm2022/ng-atomic-components-templates-loading.mjs +3 -3
- package/fesm2022/ng-atomic-components-templates-menu.mjs +11 -11
- package/fesm2022/ng-atomic-components-templates-selection.mjs +15 -15
- package/fesm2022/ng-atomic-components-templates-settings.mjs +7 -7
- package/fesm2022/ng-atomic-components-templates-tab-editor.mjs +3 -3
- package/fesm2022/ng-atomic-components-templates-term.mjs +11 -11
- package/fesm2022/ng-atomic-components-templates-thread.mjs +14 -14
- package/fesm2022/ng-atomic-components-templates.mjs +4 -4
- package/package.json +3 -3
|
@@ -17,10 +17,10 @@ class RouterOutletFrameStore extends InjectableComponent {
|
|
|
17
17
|
constructor() {
|
|
18
18
|
super(...arguments);
|
|
19
19
|
this.config = RouterOutletFrameStore.Config.inject();
|
|
20
|
-
this.frame = input(_computed(() => this.config().frame), ...(ngDevMode ? [{ debugName: "frame" }] : []));
|
|
21
|
-
this.name = input(_computed(() => this.config().name, { equal: (a, b) => a === b }), ...(ngDevMode ? [{ debugName: "name" }] : []));
|
|
22
|
-
this.isActivated = input(_computed(() => this.config().isActivated), ...(ngDevMode ? [{ debugName: "isActivated" }] : []));
|
|
23
|
-
this.skip = input(false, ...(ngDevMode ? [{ debugName: "skip" }] : []));
|
|
20
|
+
this.frame = input(_computed(() => this.config().frame), ...(ngDevMode ? [{ debugName: "frame" }] : /* istanbul ignore next */ []));
|
|
21
|
+
this.name = input(_computed(() => this.config().name, { equal: (a, b) => a === b }), ...(ngDevMode ? [{ debugName: "name" }] : /* istanbul ignore next */ []));
|
|
22
|
+
this.isActivated = input(_computed(() => this.config().isActivated), ...(ngDevMode ? [{ debugName: "isActivated" }] : /* istanbul ignore next */ []));
|
|
23
|
+
this.skip = input(false, ...(ngDevMode ? [{ debugName: "skip" }] : /* istanbul ignore next */ []));
|
|
24
24
|
}
|
|
25
25
|
static { this.ActionId = ActionId; }
|
|
26
26
|
static { this.Config = makeConfig(() => {
|
|
@@ -50,10 +50,10 @@ class RouterOutletFrameStore extends InjectableComponent {
|
|
|
50
50
|
RouterOutletFrameStore.Config.provide(),
|
|
51
51
|
];
|
|
52
52
|
}
|
|
53
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.
|
|
54
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.
|
|
53
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: RouterOutletFrameStore, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
|
|
54
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.25", type: RouterOutletFrameStore, isStandalone: true, selector: "frames-router-outlet", inputs: { frame: { classPropertyName: "frame", publicName: "frame", isSignal: true, isRequired: false, transformFunction: null }, name: { classPropertyName: "name", publicName: "name", isSignal: true, isRequired: false, transformFunction: null }, isActivated: { classPropertyName: "isActivated", publicName: "isActivated", isSignal: true, isRequired: false, transformFunction: null }, skip: { classPropertyName: "skip", publicName: "skip", isSignal: true, isRequired: false, transformFunction: null } }, usesInheritance: true, ngImport: i0 }); }
|
|
55
55
|
}
|
|
56
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.
|
|
56
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: RouterOutletFrameStore, decorators: [{
|
|
57
57
|
type: Directive,
|
|
58
58
|
args: [{ standalone: true, selector: 'frames-router-outlet' }]
|
|
59
59
|
}], propDecorators: { frame: [{ type: i0.Input, args: [{ isSignal: true, alias: "frame", required: false }] }], name: [{ type: i0.Input, args: [{ isSignal: true, alias: "name", required: false }] }], isActivated: [{ type: i0.Input, args: [{ isSignal: true, alias: "isActivated", required: false }] }], skip: [{ type: i0.Input, args: [{ isSignal: true, alias: "skip", required: false }] }] } });
|
|
@@ -65,7 +65,7 @@ class RouterOutletFrame extends NgAtomicComponent {
|
|
|
65
65
|
this.events = new EventEmitter();
|
|
66
66
|
this.events$ = this.events;
|
|
67
67
|
this.deactivated$ = this.events$.pipe(distinctUntilChanged(), debounceTime(2), tap((event) => { console.log('[RouterOutletFrame] deactivated:', event); }), filter((event) => event === 'deactivated'));
|
|
68
|
-
this.outlet = viewChild(RouterOutlet, ...(ngDevMode ? [{ debugName: "outlet" }] : []));
|
|
68
|
+
this.outlet = viewChild(RouterOutlet, ...(ngDevMode ? [{ debugName: "outlet" }] : /* istanbul ignore next */ []));
|
|
69
69
|
this.outlet$ = toObservable(this.outlet);
|
|
70
70
|
this._activated$ = this.outlet$.pipe(switchMap((outlet) => outlet.activateEvents));
|
|
71
71
|
this._deactivated$ = this.outlet$.pipe(switchMap((outlet) => outlet.deactivateEvents));
|
|
@@ -85,8 +85,8 @@ class RouterOutletFrame extends NgAtomicComponent {
|
|
|
85
85
|
this.dispatch({ id: ActionId.DEACTIVATED });
|
|
86
86
|
});
|
|
87
87
|
}
|
|
88
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.
|
|
89
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.
|
|
88
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: RouterOutletFrame, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
89
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.25", type: RouterOutletFrame, isStandalone: true, selector: "frames-router-outlet", outputs: { events: "events" }, viewQueries: [{ propertyName: "outlet", first: true, predicate: RouterOutlet, descendants: true, isSignal: true }], usesInheritance: true, hostDirectives: [{ directive: RouterOutletFrameStore, inputs: ["frame", "frame", "name", "name", "skip", "skip"] }], ngImport: i0, template: `
|
|
90
90
|
@switch (store.frame()) {
|
|
91
91
|
@case ('lineup') {
|
|
92
92
|
<frames-line-up [hasNext]="hasNext()" [scope]="store.name()">
|
|
@@ -107,9 +107,9 @@ class RouterOutletFrame extends NgAtomicComponent {
|
|
|
107
107
|
}
|
|
108
108
|
<ng-template #main><ng-content main/></ng-template>
|
|
109
109
|
<ng-template #next><router-outlet [name]="store.name()"/></ng-template>
|
|
110
|
-
`, isInline: true, styles: [":host{display:contents;--primary-color: inherit;--primary-color-SCOPED-IN-router-outlet-
|
|
110
|
+
`, isInline: true, styles: [":host{display:contents;--primary-color: inherit;--primary-color-SCOPED-IN-router-outlet-2Eee: var(--primary-color);--on-primary-color: inherit;--on-primary-color-SCOPED-IN-router-outlet-2Eee: var(--on-primary-color);--surface-color: inherit;--surface-color-SCOPED-IN-router-outlet-2Eee: var(--surface-color);--background-color: inherit;--background-color-SCOPED-IN-router-outlet-2Eee: var(--background-color)}:host *{--primary-color: var(--primary-color-SCOPED-IN-router-outlet-2Eee);--on-primary-color: var(--on-primary-color-SCOPED-IN-router-outlet-2Eee);--surface-color: var(--surface-color-SCOPED-IN-router-outlet-2Eee);--background-color: var(--background-color-SCOPED-IN-router-outlet-2Eee)}\n"], dependencies: [{ kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: OverlayFrame, selector: "frames-overlay" }, { kind: "component", type: LineUpFrame, selector: "frames-line-up" }, { kind: "directive", type: RouterOutlet, selector: "router-outlet", inputs: ["name", "routerOutletData"], outputs: ["activate", "deactivate", "attach", "detach"], exportAs: ["outlet"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
111
111
|
}
|
|
112
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.
|
|
112
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: RouterOutletFrame, decorators: [{
|
|
113
113
|
type: Component,
|
|
114
114
|
args: [{ selector: 'frames-router-outlet', imports: [
|
|
115
115
|
NgTemplateOutlet,
|
|
@@ -142,7 +142,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.6", ngImpor
|
|
|
142
142
|
directive: RouterOutletFrameStore,
|
|
143
143
|
inputs: ['frame', 'name', 'skip'],
|
|
144
144
|
},
|
|
145
|
-
], styles: [":host{display:contents;--primary-color: inherit;--primary-color-SCOPED-IN-router-outlet-
|
|
145
|
+
], styles: [":host{display:contents;--primary-color: inherit;--primary-color-SCOPED-IN-router-outlet-2Eee: var(--primary-color);--on-primary-color: inherit;--on-primary-color-SCOPED-IN-router-outlet-2Eee: var(--on-primary-color);--surface-color: inherit;--surface-color-SCOPED-IN-router-outlet-2Eee: var(--surface-color);--background-color: inherit;--background-color-SCOPED-IN-router-outlet-2Eee: var(--background-color)}:host *{--primary-color: var(--primary-color-SCOPED-IN-router-outlet-2Eee);--on-primary-color: var(--on-primary-color-SCOPED-IN-router-outlet-2Eee);--surface-color: var(--surface-color-SCOPED-IN-router-outlet-2Eee);--background-color: var(--background-color-SCOPED-IN-router-outlet-2Eee)}\n"] }]
|
|
146
146
|
}], ctorParameters: () => [], propDecorators: { events: [{
|
|
147
147
|
type: Output
|
|
148
148
|
}], outlet: [{ type: i0.ViewChild, args: [i0.forwardRef(() => RouterOutlet), { isSignal: true }] }] } });
|
|
@@ -13,8 +13,8 @@ class ScrollFrame {
|
|
|
13
13
|
const el = this.contents().nativeElement;
|
|
14
14
|
requestAnimationFrame(() => el.scrollTo({ top: el.scrollHeight, behavior: 'smooth' }));
|
|
15
15
|
}
|
|
16
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.
|
|
17
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "21.
|
|
16
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: ScrollFrame, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
17
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "21.2.25", type: ScrollFrame, isStandalone: true, selector: "frames-scroll", viewQueries: [{ propertyName: "contents", first: true, predicate: ["contents"], descendants: true, isSignal: true }], ngImport: i0, template: `
|
|
18
18
|
<div class="top">
|
|
19
19
|
<ng-content select=[top]></ng-content>
|
|
20
20
|
</div>
|
|
@@ -24,9 +24,9 @@ class ScrollFrame {
|
|
|
24
24
|
<div class="bottom">
|
|
25
25
|
<ng-content select=[bottom]></ng-content>
|
|
26
26
|
</div>
|
|
27
|
-
`, isInline: true, styles: [":host{--height: 100%;--height-SCOPED-IN-scroll-
|
|
27
|
+
`, isInline: true, styles: [":host{--height: 100%;--height-SCOPED-IN-scroll-Hwhg: var(--height);--top-height: 56px;--top-height-SCOPED-IN-scroll-Hwhg: var(--top-height);--bottom-height: 56px;--bottom-height-SCOPED-IN-scroll-Hwhg: var(--bottom-height);--contents-gap: 16px;--contents-gap-SCOPED-IN-scroll-Hwhg: var(--contents-gap)}:host{display:flex;width:100%;flex-direction:column;justify-content:space-between;height:var(--height-SCOPED-IN-scroll-Hwhg);overflow:hidden}:host .top{height:fit-content;transition:.5s height;touch-action:none}:host .contents{display:flex;flex:auto;flex-direction:column;gap:var(--contents-gap-SCOPED-IN-scroll-Hwhg);transition:.5s height;overflow:scroll;box-sizing:border-box;-webkit-overflow-scrolling:touch}:host .contents::-webkit-scrollbar{display:none}:host .bottom{height:fit-content}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
28
28
|
}
|
|
29
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.
|
|
29
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: ScrollFrame, decorators: [{
|
|
30
30
|
type: Component,
|
|
31
31
|
args: [{ selector: 'frames-scroll', imports: [], template: `
|
|
32
32
|
<div class="top">
|
|
@@ -38,7 +38,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.6", ngImpor
|
|
|
38
38
|
<div class="bottom">
|
|
39
39
|
<ng-content select=[bottom]></ng-content>
|
|
40
40
|
</div>
|
|
41
|
-
`, changeDetection: ChangeDetectionStrategy.OnPush, styles: [":host{--height: 100%;--height-SCOPED-IN-scroll-
|
|
41
|
+
`, changeDetection: ChangeDetectionStrategy.OnPush, styles: [":host{--height: 100%;--height-SCOPED-IN-scroll-Hwhg: var(--height);--top-height: 56px;--top-height-SCOPED-IN-scroll-Hwhg: var(--top-height);--bottom-height: 56px;--bottom-height-SCOPED-IN-scroll-Hwhg: var(--bottom-height);--contents-gap: 16px;--contents-gap-SCOPED-IN-scroll-Hwhg: var(--contents-gap)}:host{display:flex;width:100%;flex-direction:column;justify-content:space-between;height:var(--height-SCOPED-IN-scroll-Hwhg);overflow:hidden}:host .top{height:fit-content;transition:.5s height;touch-action:none}:host .contents{display:flex;flex:auto;flex-direction:column;gap:var(--contents-gap-SCOPED-IN-scroll-Hwhg);transition:.5s height;overflow:scroll;box-sizing:border-box;-webkit-overflow-scrolling:touch}:host .contents::-webkit-scrollbar{display:none}:host .bottom{height:fit-content}\n"] }]
|
|
42
42
|
}], propDecorators: { contents: [{ type: i0.ViewChild, args: ['contents', { isSignal: true }] }] } });
|
|
43
43
|
|
|
44
44
|
/**
|
|
@@ -12,7 +12,7 @@ import { merge } from 'lodash-es';
|
|
|
12
12
|
class SideAppFrameStore extends InjectableComponent {
|
|
13
13
|
constructor() {
|
|
14
14
|
super(...arguments);
|
|
15
|
-
this.name = input(...(ngDevMode ? [undefined, { debugName: "name" }] : []));
|
|
15
|
+
this.name = input(...(ngDevMode ? [undefined, { debugName: "name" }] : /* istanbul ignore next */ []));
|
|
16
16
|
}
|
|
17
17
|
static route(route) {
|
|
18
18
|
return merge({
|
|
@@ -39,10 +39,10 @@ class SideAppFrameStore extends InjectableComponent {
|
|
|
39
39
|
}),
|
|
40
40
|
];
|
|
41
41
|
}
|
|
42
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.
|
|
43
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.
|
|
42
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: SideAppFrameStore, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
|
|
43
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.25", type: SideAppFrameStore, isStandalone: true, selector: "frames-side-app", inputs: { name: { classPropertyName: "name", publicName: "name", isSignal: true, isRequired: false, transformFunction: null } }, usesInheritance: true, ngImport: i0 }); }
|
|
44
44
|
}
|
|
45
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.
|
|
45
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: SideAppFrameStore, decorators: [{
|
|
46
46
|
type: Directive,
|
|
47
47
|
args: [{ standalone: true, selector: 'frames-side-app' }]
|
|
48
48
|
}], propDecorators: { name: [{ type: i0.Input, args: [{ isSignal: true, alias: "name", required: false }] }] } });
|
|
@@ -51,10 +51,10 @@ class SideAppFrame extends NgAtomicComponent {
|
|
|
51
51
|
super(...arguments);
|
|
52
52
|
this.store = inject(SideAppFrameStore);
|
|
53
53
|
}
|
|
54
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.
|
|
55
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.
|
|
54
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: SideAppFrame, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
55
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.25", type: SideAppFrame, isStandalone: true, selector: "frames-side-app", providers: [], usesInheritance: true, hostDirectives: [{ directive: SideAppFrameStore, inputs: ["name", "name"] }], ngImport: i0, template: `<router-outlet />`, isInline: true, dependencies: [{ kind: "directive", type: RouterOutlet, selector: "router-outlet", inputs: ["name", "routerOutletData"], outputs: ["activate", "deactivate", "attach", "detach"], exportAs: ["outlet"] }] }); }
|
|
56
56
|
}
|
|
57
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.
|
|
57
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: SideAppFrame, decorators: [{
|
|
58
58
|
type: Component,
|
|
59
59
|
args: [{
|
|
60
60
|
imports: [
|
|
@@ -15,13 +15,13 @@ let SideNavFrameStore = class SideNavFrameStore extends InjectableComponent {
|
|
|
15
15
|
constructor() {
|
|
16
16
|
super(...arguments);
|
|
17
17
|
this.config = SideNavFrameStore_1.Config.inject();
|
|
18
|
-
this.actions = input(_computed(() => this.config().actions), ...(ngDevMode ? [{ debugName: "actions" }] : []));
|
|
19
|
-
this.bottomActions = input(_computed(() => this.config().bottomActions), ...(ngDevMode ? [{ debugName: "bottomActions" }] : []));
|
|
20
|
-
this.menuType = input(_computed(() => this.config().menuType), ...(ngDevMode ? [{ debugName: "menuType" }] : []));
|
|
21
|
-
this.menuTitle = input(_computed(() => this.config().menuTitle), ...(ngDevMode ? [{ debugName: "menuTitle" }] : []));
|
|
22
|
-
this.mode = input(_computed(() => this.config().mode), ...(ngDevMode ? [{ debugName: "mode" }] : []));
|
|
23
|
-
this.frameType = input(_computed(() => this.config().frameType), ...(ngDevMode ? [{ debugName: "frameType" }] : []));
|
|
24
|
-
this.iconButtonMenuTopPadding = input(_computed(() => this.config().iconButtonMenuTopPadding), ...(ngDevMode ? [{ debugName: "iconButtonMenuTopPadding" }] : []));
|
|
18
|
+
this.actions = input(_computed(() => this.config().actions), ...(ngDevMode ? [{ debugName: "actions" }] : /* istanbul ignore next */ []));
|
|
19
|
+
this.bottomActions = input(_computed(() => this.config().bottomActions), ...(ngDevMode ? [{ debugName: "bottomActions" }] : /* istanbul ignore next */ []));
|
|
20
|
+
this.menuType = input(_computed(() => this.config().menuType), ...(ngDevMode ? [{ debugName: "menuType" }] : /* istanbul ignore next */ []));
|
|
21
|
+
this.menuTitle = input(_computed(() => this.config().menuTitle), ...(ngDevMode ? [{ debugName: "menuTitle" }] : /* istanbul ignore next */ []));
|
|
22
|
+
this.mode = input(_computed(() => this.config().mode), ...(ngDevMode ? [{ debugName: "mode" }] : /* istanbul ignore next */ []));
|
|
23
|
+
this.frameType = input(_computed(() => this.config().frameType), ...(ngDevMode ? [{ debugName: "frameType" }] : /* istanbul ignore next */ []));
|
|
24
|
+
this.iconButtonMenuTopPadding = input(_computed(() => this.config().iconButtonMenuTopPadding), ...(ngDevMode ? [{ debugName: "iconButtonMenuTopPadding" }] : /* istanbul ignore next */ []));
|
|
25
25
|
}
|
|
26
26
|
static { SideNavFrameStore_1 = this; }
|
|
27
27
|
static { this.getMode = (context) => {
|
|
@@ -58,13 +58,13 @@ let SideNavFrameStore = class SideNavFrameStore extends InjectableComponent {
|
|
|
58
58
|
get attrFrame() {
|
|
59
59
|
return this.frameType();
|
|
60
60
|
}
|
|
61
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.
|
|
62
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.
|
|
61
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: SideNavFrameStore, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
|
|
62
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.25", type: SideNavFrameStore, isStandalone: true, selector: "frames-side-nav", inputs: { actions: { classPropertyName: "actions", publicName: "actions", isSignal: true, isRequired: false, transformFunction: null }, bottomActions: { classPropertyName: "bottomActions", publicName: "bottomActions", isSignal: true, isRequired: false, transformFunction: null }, menuType: { classPropertyName: "menuType", publicName: "menuType", isSignal: true, isRequired: false, transformFunction: null }, menuTitle: { classPropertyName: "menuTitle", publicName: "menuTitle", isSignal: true, isRequired: false, transformFunction: null }, mode: { classPropertyName: "mode", publicName: "mode", isSignal: true, isRequired: false, transformFunction: null }, frameType: { classPropertyName: "frameType", publicName: "frameType", isSignal: true, isRequired: false, transformFunction: null }, iconButtonMenuTopPadding: { classPropertyName: "iconButtonMenuTopPadding", publicName: "iconButtonMenuTopPadding", isSignal: true, isRequired: false, transformFunction: null } }, host: { properties: { "attr.frame": "this.attrFrame" } }, usesInheritance: true, ngImport: i0 }); }
|
|
63
63
|
};
|
|
64
64
|
SideNavFrameStore = SideNavFrameStore_1 = __decorate([
|
|
65
65
|
TokenizedType()
|
|
66
66
|
], SideNavFrameStore);
|
|
67
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.
|
|
67
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: SideNavFrameStore, decorators: [{
|
|
68
68
|
type: Directive,
|
|
69
69
|
args: [{ standalone: true, selector: 'frames-side-nav' }]
|
|
70
70
|
}], propDecorators: { actions: [{ type: i0.Input, args: [{ isSignal: true, alias: "actions", required: false }] }], bottomActions: [{ type: i0.Input, args: [{ isSignal: true, alias: "bottomActions", required: false }] }], menuType: [{ type: i0.Input, args: [{ isSignal: true, alias: "menuType", required: false }] }], menuTitle: [{ type: i0.Input, args: [{ isSignal: true, alias: "menuTitle", required: false }] }], mode: [{ type: i0.Input, args: [{ isSignal: true, alias: "mode", required: false }] }], frameType: [{ type: i0.Input, args: [{ isSignal: true, alias: "frameType", required: false }] }], iconButtonMenuTopPadding: [{ type: i0.Input, args: [{ isSignal: true, alias: "iconButtonMenuTopPadding", required: false }] }], attrFrame: [{
|
|
@@ -76,8 +76,8 @@ class SideNavFrame extends NgAtomicComponent {
|
|
|
76
76
|
super(...arguments);
|
|
77
77
|
this.store = inject(SideNavFrameStore);
|
|
78
78
|
}
|
|
79
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.
|
|
80
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.
|
|
79
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: SideNavFrame, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
80
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.25", type: SideNavFrame, isStandalone: true, selector: "frames-side-nav", usesInheritance: true, hostDirectives: [{ directive: SideNavFrameStore, inputs: ["actions", "actions", "bottomActions", "bottomActions", "menuType", "menuType", "menuTitle", "menuTitle", "mode", "mode", "frameType", "frameType", "iconButtonMenuTopPadding", "iconButtonMenuTopPadding"] }], ngImport: i0, template: `
|
|
81
81
|
@switch (store.frameType()) {
|
|
82
82
|
@case ('drawer') {
|
|
83
83
|
<!-- @defer { -->
|
|
@@ -123,9 +123,9 @@ class SideNavFrame extends NgAtomicComponent {
|
|
|
123
123
|
}
|
|
124
124
|
</ng-template>
|
|
125
125
|
<ng-template #contents><ng-content/></ng-template>
|
|
126
|
-
`, isInline: true, styles: [":host{--primary-color: #404040;--primary-color-SCOPED-IN-side-nav-
|
|
126
|
+
`, isInline: true, styles: [":host{--primary-color: #404040;--primary-color-SCOPED-IN-side-nav-38Mq: var(--primary-color);--secondary-color: #B0B0B0;--secondary-color-SCOPED-IN-side-nav-38Mq: var(--secondary-color);--background-color: #B0B0B0;--background-color-SCOPED-IN-side-nav-38Mq: var(--background-color);--on-background-color: #f0f0f0;--on-background-color-SCOPED-IN-side-nav-38Mq: var(--on-background-color);--surface-color: transparent;--surface-color-SCOPED-IN-side-nav-38Mq: var(--surface-color);--on-primary-color: #f0f0f0;--on-primary-color-SCOPED-IN-side-nav-38Mq: var(--on-primary-color);--on-surface-color: #f0f0f0;--on-surface-color-SCOPED-IN-side-nav-38Mq: var(--on-surface-color);--menu-width: 220px;--menu-width-SCOPED-IN-side-nav-38Mq: var(--menu-width);--menu-background-color: var(--primary-color-SCOPED-IN-side-nav-38Mq);--menu-background-color-SCOPED-IN-side-nav-38Mq: var(--menu-background-color);--menu-on-background-color: var(--on-primary-color-SCOPED-IN-side-nav-38Mq);--menu-on-background-color-SCOPED-IN-side-nav-38Mq: var(--menu-on-background-color)}:host{display:block;width:100%;height:100%}:host *{--primary-color: var(--primary-color-SCOPED-IN-side-nav-38Mq);--secondary-color: var(--secondary-color-SCOPED-IN-side-nav-38Mq);--surface-color: var(--surface-color-SCOPED-IN-side-nav-38Mq);--background-color: var(--background-color-SCOPED-IN-side-nav-38Mq);--on-background-color: var(--on-background-color-SCOPED-IN-side-nav-38Mq);--on-primary-color: var(--on-primary-color-SCOPED-IN-side-nav-38Mq);--on-surface-color: var(--on-surface-color-SCOPED-IN-side-nav-38Mq)}:host .content{width:100%;height:100%}:host templates-icon-button-menu,:host templates-menu{width:var(--menu-width-SCOPED-IN-side-nav-38Mq);--background-color: var(--menu-background-color-SCOPED-IN-side-nav-38Mq);--on-background-color: var(--menu-on-background-color-SCOPED-IN-side-nav-38Mq)}:host[frame=lineup] .content{width:calc(100vw - var(--menu-width-SCOPED-IN-side-nav-38Mq));overflow:hidden}:host[frame=drawer] .menu,:host[frame=drawer] templates-menu{width:300px;height:100%}\n"], dependencies: [{ kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: DrawerFrame, selector: "frames-drawer" }, { kind: "component", type: LineUpFrame, selector: "frames-line-up" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, deferBlockDependencies: [() => [import('@ng-atomic/components/templates/icon-button-menu').then(m => m.IconButtonMenuTemplateStore)], () => [import('@ng-atomic/components/templates/menu').then(m => m.MenuTemplateStore)]] }); }
|
|
127
127
|
}
|
|
128
|
-
i0.ɵɵngDeclareClassMetadataAsync({ minVersion: "18.0.0", version: "21.
|
|
128
|
+
i0.ɵɵngDeclareClassMetadataAsync({ minVersion: "18.0.0", version: "21.2.25", ngImport: i0, type: SideNavFrame, resolveDeferredDeps: () => [import('@ng-atomic/components/templates/icon-button-menu').then(m => m.IconButtonMenuTemplateStore), import('@ng-atomic/components/templates/menu').then(m => m.MenuTemplateStore)], resolveMetadata: (IconButtonMenuTemplateStore, MenuTemplateStore) => ({ decorators: [{
|
|
129
129
|
type: Component,
|
|
130
130
|
args: [{ imports: [
|
|
131
131
|
NgTemplateOutlet,
|
|
@@ -192,7 +192,7 @@ i0.ɵɵngDeclareClassMetadataAsync({ minVersion: "18.0.0", version: "21.1.6", ng
|
|
|
192
192
|
'iconButtonMenuTopPadding',
|
|
193
193
|
],
|
|
194
194
|
},
|
|
195
|
-
], styles: [":host{--primary-color: #404040;--primary-color-SCOPED-IN-side-nav-
|
|
195
|
+
], styles: [":host{--primary-color: #404040;--primary-color-SCOPED-IN-side-nav-38Mq: var(--primary-color);--secondary-color: #B0B0B0;--secondary-color-SCOPED-IN-side-nav-38Mq: var(--secondary-color);--background-color: #B0B0B0;--background-color-SCOPED-IN-side-nav-38Mq: var(--background-color);--on-background-color: #f0f0f0;--on-background-color-SCOPED-IN-side-nav-38Mq: var(--on-background-color);--surface-color: transparent;--surface-color-SCOPED-IN-side-nav-38Mq: var(--surface-color);--on-primary-color: #f0f0f0;--on-primary-color-SCOPED-IN-side-nav-38Mq: var(--on-primary-color);--on-surface-color: #f0f0f0;--on-surface-color-SCOPED-IN-side-nav-38Mq: var(--on-surface-color);--menu-width: 220px;--menu-width-SCOPED-IN-side-nav-38Mq: var(--menu-width);--menu-background-color: var(--primary-color-SCOPED-IN-side-nav-38Mq);--menu-background-color-SCOPED-IN-side-nav-38Mq: var(--menu-background-color);--menu-on-background-color: var(--on-primary-color-SCOPED-IN-side-nav-38Mq);--menu-on-background-color-SCOPED-IN-side-nav-38Mq: var(--menu-on-background-color)}:host{display:block;width:100%;height:100%}:host *{--primary-color: var(--primary-color-SCOPED-IN-side-nav-38Mq);--secondary-color: var(--secondary-color-SCOPED-IN-side-nav-38Mq);--surface-color: var(--surface-color-SCOPED-IN-side-nav-38Mq);--background-color: var(--background-color-SCOPED-IN-side-nav-38Mq);--on-background-color: var(--on-background-color-SCOPED-IN-side-nav-38Mq);--on-primary-color: var(--on-primary-color-SCOPED-IN-side-nav-38Mq);--on-surface-color: var(--on-surface-color-SCOPED-IN-side-nav-38Mq)}:host .content{width:100%;height:100%}:host templates-icon-button-menu,:host templates-menu{width:var(--menu-width-SCOPED-IN-side-nav-38Mq);--background-color: var(--menu-background-color-SCOPED-IN-side-nav-38Mq);--on-background-color: var(--menu-on-background-color-SCOPED-IN-side-nav-38Mq)}:host[frame=lineup] .content{width:calc(100vw - var(--menu-width-SCOPED-IN-side-nav-38Mq));overflow:hidden}:host[frame=drawer] .menu,:host[frame=drawer] templates-menu{width:300px;height:100%}\n"] }]
|
|
196
196
|
}], ctorParameters: null, propDecorators: null }) });
|
|
197
197
|
|
|
198
198
|
/**
|
|
@@ -13,14 +13,14 @@ class SmartMenuFrame {
|
|
|
13
13
|
const page = this.outlet?.activatedRouteData?.['page'];
|
|
14
14
|
return page === 'Blank' ? 'Blank' : this.isMainHidden ? `Next` : `NextWithMainPage`;
|
|
15
15
|
}
|
|
16
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.
|
|
17
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.
|
|
16
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: SmartMenuFrame, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
17
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.25", type: SmartMenuFrame, isStandalone: true, selector: "frames-smart-menu", inputs: { label: "label", outlet: "outlet", minNextWidth: "minNextWidth" }, host: { properties: { "attr.is-main-hidden": "this.isMainHidden" } }, viewQueries: [{ propertyName: "next", first: true, predicate: ["next"], descendants: true, static: true }], ngImport: i0, template: "<div class=\"menu\" #menu>\n <ng-content select=\"[menu]\"></ng-content>\n</div>\n<div class=\"contents\" #contents>\n <ng-content select=\"[contents]\"></ng-content>\n</div>", styles: [":host{--gap: 1px;--gap-SCOPED-IN-smart-menu-IPf7: var(--gap);--background: #ccc;--background-SCOPED-IN-smart-menu-IPf7: var(--background);--contents-background: transparent;--contents-background-SCOPED-IN-smart-menu-IPf7: var(--contents-background)}:host{position:relative;display:flex;justify-content:flex-start;gap:var(--gap-SCOPED-IN-smart-menu-IPf7);width:fit-content;height:100%;background:var(--background-SCOPED-IN-smart-menu-IPf7)}:host .contents{display:flex;max-width:fit-content;height:100%;background:var(--contents-background-SCOPED-IN-smart-menu-IPf7)}:host .contents.menu{overflow:hidden;justify-content:flex-end}:host .contents.contents{overflow:visible;justify-content:flex-start}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
18
18
|
}
|
|
19
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.
|
|
19
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: SmartMenuFrame, decorators: [{
|
|
20
20
|
type: Component,
|
|
21
21
|
args: [{ imports: [
|
|
22
22
|
CommonModule,
|
|
23
|
-
], selector: 'frames-smart-menu', changeDetection: ChangeDetectionStrategy.OnPush, template: "<div class=\"menu\" #menu>\n <ng-content select=\"[menu]\"></ng-content>\n</div>\n<div class=\"contents\" #contents>\n <ng-content select=\"[contents]\"></ng-content>\n</div>", styles: [":host{--gap: 1px;--gap-SCOPED-IN-smart-menu-
|
|
23
|
+
], selector: 'frames-smart-menu', changeDetection: ChangeDetectionStrategy.OnPush, template: "<div class=\"menu\" #menu>\n <ng-content select=\"[menu]\"></ng-content>\n</div>\n<div class=\"contents\" #contents>\n <ng-content select=\"[contents]\"></ng-content>\n</div>", styles: [":host{--gap: 1px;--gap-SCOPED-IN-smart-menu-IPf7: var(--gap);--background: #ccc;--background-SCOPED-IN-smart-menu-IPf7: var(--background);--contents-background: transparent;--contents-background-SCOPED-IN-smart-menu-IPf7: var(--contents-background)}:host{position:relative;display:flex;justify-content:flex-start;gap:var(--gap-SCOPED-IN-smart-menu-IPf7);width:fit-content;height:100%;background:var(--background-SCOPED-IN-smart-menu-IPf7)}:host .contents{display:flex;max-width:fit-content;height:100%;background:var(--contents-background-SCOPED-IN-smart-menu-IPf7)}:host .contents.menu{overflow:hidden;justify-content:flex-end}:host .contents.contents{overflow:visible;justify-content:flex-start}\n"] }]
|
|
24
24
|
}], propDecorators: { isMainHidden: [{
|
|
25
25
|
type: HostBinding,
|
|
26
26
|
args: ['attr.is-main-hidden']
|
|
@@ -6,12 +6,12 @@ import { MatTabsModule } from '@angular/material/tabs';
|
|
|
6
6
|
|
|
7
7
|
class TabsFrame {
|
|
8
8
|
constructor() {
|
|
9
|
-
this.tabs = contentChildren('tab', ...(ngDevMode ? [{ debugName: "tabs" }] : []));
|
|
9
|
+
this.tabs = contentChildren('tab', ...(ngDevMode ? [{ debugName: "tabs" }] : /* istanbul ignore next */ []));
|
|
10
10
|
this.selectedTabIndexChange = output();
|
|
11
|
-
this.labels = input([], ...(ngDevMode ? [{ debugName: "labels" }] : []));
|
|
11
|
+
this.labels = input([], ...(ngDevMode ? [{ debugName: "labels" }] : /* istanbul ignore next */ []));
|
|
12
12
|
}
|
|
13
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.
|
|
14
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.
|
|
13
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: TabsFrame, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
14
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.25", type: TabsFrame, isStandalone: true, selector: "frames-tabs", inputs: { labels: { classPropertyName: "labels", publicName: "labels", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { selectedTabIndexChange: "selectedTabIndexChange" }, queries: [{ propertyName: "tabs", predicate: ["tab"], isSignal: true }], ngImport: i0, template: `
|
|
15
15
|
<mat-tab-group
|
|
16
16
|
(selectedIndexChange)="selectedTabIndexChange.emit($event)"
|
|
17
17
|
>
|
|
@@ -23,7 +23,7 @@ class TabsFrame {
|
|
|
23
23
|
</mat-tab-group>
|
|
24
24
|
`, isInline: true, styles: [":host{display:block}:host{display:contents}:host mat-tab-group{width:100%;height:100%}:host mat-tab-group ::ng-deep .mat-mdc-tab-body-wrapper{height:100%}:host mat-tab-group ::ng-deep .mat-mdc-tab-body-wrapper mat-tab-body{height:100%}\n"], dependencies: [{ kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "ngmodule", type: MatTabsModule }, { kind: "component", type: i1.MatTab, selector: "mat-tab", inputs: ["disabled", "label", "aria-label", "aria-labelledby", "labelClass", "bodyClass", "id"], exportAs: ["matTab"] }, { kind: "component", type: i1.MatTabGroup, selector: "mat-tab-group", inputs: ["color", "fitInkBarToContent", "mat-stretch-tabs", "mat-align-tabs", "dynamicHeight", "selectedIndex", "headerPosition", "animationDuration", "contentTabIndex", "disablePagination", "disableRipple", "preserveContent", "backgroundColor", "aria-label", "aria-labelledby"], outputs: ["selectedIndexChange", "focusChange", "animationDone", "selectedTabChange"], exportAs: ["matTabGroup"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
25
25
|
}
|
|
26
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.
|
|
26
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: TabsFrame, decorators: [{
|
|
27
27
|
type: Component,
|
|
28
28
|
args: [{ selector: 'frames-tabs', imports: [
|
|
29
29
|
NgTemplateOutlet,
|
|
@@ -15,8 +15,8 @@ class ToggleFrame extends NgAtomicComponent {
|
|
|
15
15
|
onChange($event) {
|
|
16
16
|
this.dispatch($event.value);
|
|
17
17
|
}
|
|
18
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.
|
|
19
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.
|
|
18
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: ToggleFrame, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
19
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.25", type: ToggleFrame, isStandalone: true, selector: "frames-toggle", inputs: { actions: "actions" }, usesInheritance: true, ngImport: i0, template: `
|
|
20
20
|
<ng-content />
|
|
21
21
|
<mat-button-toggle-group #group="matButtonToggleGroup" (change)="onChange($event)">
|
|
22
22
|
@for (action of actions; track action.id) {
|
|
@@ -27,7 +27,7 @@ class ToggleFrame extends NgAtomicComponent {
|
|
|
27
27
|
</mat-button-toggle-group>
|
|
28
28
|
`, isInline: true, styles: [":host{position:relative;display:contents}:host mat-button-toggle-group{position:absolute;bottom:8px;left:16px}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: MatButtonToggleModule }, { kind: "directive", type: i1.MatButtonToggleGroup, selector: "mat-button-toggle-group", inputs: ["appearance", "name", "vertical", "value", "multiple", "disabled", "disabledInteractive", "hideSingleSelectionIndicator", "hideMultipleSelectionIndicator"], outputs: ["valueChange", "change"], exportAs: ["matButtonToggleGroup"] }, { kind: "component", type: i1.MatButtonToggle, selector: "mat-button-toggle", inputs: ["aria-label", "aria-labelledby", "id", "name", "value", "tabIndex", "disableRipple", "appearance", "checked", "disabled", "disabledInteractive"], outputs: ["change"], exportAs: ["matButtonToggle"] }, { kind: "ngmodule", type: MatIconModule }, { kind: "component", type: i2.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
29
29
|
}
|
|
30
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.
|
|
30
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: ToggleFrame, decorators: [{
|
|
31
31
|
type: Component,
|
|
32
32
|
args: [{ selector: 'frames-toggle', standalone: true, imports: [
|
|
33
33
|
CommonModule,
|
|
@@ -4,22 +4,22 @@ import { VerticalDividerOrganism } from '@ng-atomic/components/organisms/vertica
|
|
|
4
4
|
|
|
5
5
|
class VerticalHideFrame {
|
|
6
6
|
constructor() {
|
|
7
|
-
this.mode = input('expanded', ...(ngDevMode ? [{ debugName: "mode" }] : []));
|
|
7
|
+
this.mode = input('expanded', ...(ngDevMode ? [{ debugName: "mode" }] : /* istanbul ignore next */ []));
|
|
8
8
|
}
|
|
9
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.
|
|
10
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "21.
|
|
9
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: VerticalHideFrame, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
10
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "21.2.25", type: VerticalHideFrame, isStandalone: true, selector: "frames-vertical-hide", inputs: { mode: { classPropertyName: "mode", publicName: "mode", isSignal: true, isRequired: false, transformFunction: null } }, host: { properties: { "attr.mode": "mode()" } }, ngImport: i0, template: `
|
|
11
11
|
<ng-content />
|
|
12
12
|
<organisms-vertical-divider />
|
|
13
|
-
`, isInline: true, styles: [":host{--collapsed-height: 56px;--collapsed-height-SCOPED-IN-vertical-hide-
|
|
13
|
+
`, isInline: true, styles: [":host{--collapsed-height: 56px;--collapsed-height-SCOPED-IN-vertical-hide-88j5: var(--collapsed-height);--expanded-height: fit-height;--expanded-height-SCOPED-IN-vertical-hide-88j5: var(--expanded-height)}:host{position:relative;display:block;transition:.5s max-height linear;overflow:hidden}:host organisms-vertical-divider{position:absolute;bottom:0;width:100%}:host[mode=collapsed]{max-height:var(--collapsed-height-SCOPED-IN-vertical-hide-88j5)}:host[mode=expanded]{max-height:100vh}\n"], dependencies: [{ kind: "component", type: VerticalDividerOrganism, selector: "organisms-vertical-divider" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
14
14
|
}
|
|
15
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.
|
|
15
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: VerticalHideFrame, decorators: [{
|
|
16
16
|
type: Component,
|
|
17
17
|
args: [{ selector: 'frames-vertical-hide', imports: [
|
|
18
18
|
VerticalDividerOrganism,
|
|
19
19
|
], template: `
|
|
20
20
|
<ng-content />
|
|
21
21
|
<organisms-vertical-divider />
|
|
22
|
-
`, host: { '[attr.mode]': 'mode()' }, changeDetection: ChangeDetectionStrategy.OnPush, styles: [":host{--collapsed-height: 56px;--collapsed-height-SCOPED-IN-vertical-hide-
|
|
22
|
+
`, host: { '[attr.mode]': 'mode()' }, changeDetection: ChangeDetectionStrategy.OnPush, styles: [":host{--collapsed-height: 56px;--collapsed-height-SCOPED-IN-vertical-hide-88j5: var(--collapsed-height);--expanded-height: fit-height;--expanded-height-SCOPED-IN-vertical-hide-88j5: var(--expanded-height)}:host{position:relative;display:block;transition:.5s max-height linear;overflow:hidden}:host organisms-vertical-divider{position:absolute;bottom:0;width:100%}:host[mode=collapsed]{max-height:var(--collapsed-height-SCOPED-IN-vertical-hide-88j5)}:host[mode=expanded]{max-height:100vh}\n"] }]
|
|
23
23
|
}], propDecorators: { mode: [{ type: i0.Input, args: [{ isSignal: true, alias: "mode", required: false }] }] } });
|
|
24
24
|
|
|
25
25
|
/**
|
|
@@ -18,11 +18,11 @@ class NgAtomicFramesModule {
|
|
|
18
18
|
]
|
|
19
19
|
};
|
|
20
20
|
}
|
|
21
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.
|
|
22
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.
|
|
23
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.
|
|
21
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: NgAtomicFramesModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
22
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.2.25", ngImport: i0, type: NgAtomicFramesModule }); }
|
|
23
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: NgAtomicFramesModule }); }
|
|
24
24
|
}
|
|
25
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.
|
|
25
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: NgAtomicFramesModule, decorators: [{
|
|
26
26
|
type: NgModule,
|
|
27
27
|
args: [{}]
|
|
28
28
|
}] });
|
|
@@ -27,8 +27,8 @@ class ActionInputFieldMolecule extends NgAtomicComponent {
|
|
|
27
27
|
}
|
|
28
28
|
ngAfterViewInit() {
|
|
29
29
|
}
|
|
30
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.
|
|
31
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.
|
|
30
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: ActionInputFieldMolecule, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
31
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.25", type: ActionInputFieldMolecule, isStandalone: true, selector: "molecules-action-input-field", inputs: { appearance: "appearance", type: "type", name: "name", label: "label", control: "control", placeholder: "placeholder", hint: "hint", actions: "actions" }, viewQueries: [{ propertyName: "formField", first: true, predicate: MatFormField, descendants: true }, { propertyName: "input", first: true, predicate: ["matInput"], descendants: true, read: MatInput }], usesInheritance: true, ngImport: i0, template: `
|
|
32
32
|
<mat-form-field class="mat-form-field-disabled" [appearance]="appearance">
|
|
33
33
|
<mat-label>{{ label }}</mat-label>
|
|
34
34
|
<input matInput [name]="name" type="text" [formControl]="control" [placeholder]="placeholder">
|
|
@@ -44,7 +44,7 @@ class ActionInputFieldMolecule extends NgAtomicComponent {
|
|
|
44
44
|
></atoms-menu-button>
|
|
45
45
|
`, isInline: true, styles: [":host{display:block}:host{display:flex;width:100%;flex-direction:row;align-items:center;justify-content:space-between}:host mat-form-field{width:100%}:host atoms-menu-button{width:fit-content;margin-bottom:20px}\n"], dependencies: [{ kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i1.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "ngmodule", type: MatInputModule }, { kind: "directive", type: i2.MatInput, selector: "input[matInput], textarea[matInput], select[matNativeControl], input[matNativeControl], textarea[matNativeControl]", inputs: ["disabled", "id", "placeholder", "name", "required", "type", "errorStateMatcher", "aria-describedby", "value", "readonly", "disabledInteractive"], exportAs: ["matInput"] }, { kind: "component", type: i2.MatFormField, selector: "mat-form-field", inputs: ["hideRequiredMarker", "color", "floatLabel", "appearance", "subscriptSizing", "hintLabel"], exportAs: ["matFormField"] }, { kind: "directive", type: i2.MatLabel, selector: "mat-label" }, { kind: "directive", type: i2.MatHint, selector: "mat-hint", inputs: ["align", "id"] }, { kind: "directive", type: i2.MatError, selector: "mat-error, [matError]", inputs: ["id"] }, { kind: "component", type: SmartMenuButtonAtom, selector: "atoms-menu-button, atoms-menu-button" }, { kind: "pipe", type: ErrorPipe, name: "error" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
46
46
|
}
|
|
47
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.
|
|
47
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: ActionInputFieldMolecule, decorators: [{
|
|
48
48
|
type: Component,
|
|
49
49
|
args: [{ selector: 'molecules-action-input-field', imports: [
|
|
50
50
|
ReactiveFormsModule,
|
|
@@ -20,10 +20,10 @@ let ActionsColumnMoleculeStore = class ActionsColumnMoleculeStore extends NgAtom
|
|
|
20
20
|
constructor() {
|
|
21
21
|
super(...arguments);
|
|
22
22
|
this.config = ActionsColumnMoleculeStore_1.Config.inject();
|
|
23
|
-
this.index = input(null, ...(ngDevMode ? [{ debugName: "index" }] : []));
|
|
24
|
-
this.headerText = input(_computed(() => this.config().headerText), ...(ngDevMode ? [{ debugName: "headerText" }] : []));
|
|
25
|
-
this.itemActions = input(_computed(() => this.config().itemActions), ...(ngDevMode ? [{ debugName: "itemActions" }] : []));
|
|
26
|
-
this.style = computed(() => this.config().style, ...(ngDevMode ? [{ debugName: "style" }] : []));
|
|
23
|
+
this.index = input(null, ...(ngDevMode ? [{ debugName: "index" }] : /* istanbul ignore next */ []));
|
|
24
|
+
this.headerText = input(_computed(() => this.config().headerText), ...(ngDevMode ? [{ debugName: "headerText" }] : /* istanbul ignore next */ []));
|
|
25
|
+
this.itemActions = input(_computed(() => this.config().itemActions), ...(ngDevMode ? [{ debugName: "itemActions" }] : /* istanbul ignore next */ []));
|
|
26
|
+
this.style = computed(() => this.config().style, ...(ngDevMode ? [{ debugName: "style" }] : /* istanbul ignore next */ []));
|
|
27
27
|
}
|
|
28
28
|
static { ActionsColumnMoleculeStore_1 = this; }
|
|
29
29
|
static { this.Config = makeConfig(() => {
|
|
@@ -35,13 +35,13 @@ let ActionsColumnMoleculeStore = class ActionsColumnMoleculeStore extends NgAtom
|
|
|
35
35
|
},
|
|
36
36
|
});
|
|
37
37
|
}, ['components', 'molecules', 'actions-column']); }
|
|
38
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.
|
|
39
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.
|
|
38
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: ActionsColumnMoleculeStore, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
|
|
39
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.25", type: ActionsColumnMoleculeStore, isStandalone: true, inputs: { index: { classPropertyName: "index", publicName: "index", isSignal: true, isRequired: false, transformFunction: null }, headerText: { classPropertyName: "headerText", publicName: "headerText", isSignal: true, isRequired: false, transformFunction: null }, itemActions: { classPropertyName: "itemActions", publicName: "itemActions", isSignal: true, isRequired: false, transformFunction: null } }, usesInheritance: true, ngImport: i0 }); }
|
|
40
40
|
};
|
|
41
41
|
ActionsColumnMoleculeStore = ActionsColumnMoleculeStore_1 = __decorate([
|
|
42
42
|
TokenizedType()
|
|
43
43
|
], ActionsColumnMoleculeStore);
|
|
44
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.
|
|
44
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: ActionsColumnMoleculeStore, decorators: [{
|
|
45
45
|
type: Directive,
|
|
46
46
|
args: [{ standalone: true }]
|
|
47
47
|
}], propDecorators: { index: [{ type: i0.Input, args: [{ isSignal: true, alias: "index", required: false }] }], headerText: [{ type: i0.Input, args: [{ isSignal: true, alias: "headerText", required: false }] }], itemActions: [{ type: i0.Input, args: [{ isSignal: true, alias: "itemActions", required: false }] }] } });
|
|
@@ -75,8 +75,8 @@ class ActionsColumnMolecule extends NgAtomicComponent {
|
|
|
75
75
|
this._table.removeColumnDef(this.columnDef());
|
|
76
76
|
}
|
|
77
77
|
}
|
|
78
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.
|
|
79
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "21.
|
|
78
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: ActionsColumnMolecule, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
79
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "21.2.25", type: ActionsColumnMolecule, isStandalone: true, selector: "molecules-actions-column", viewQueries: [{ propertyName: "columnDef", first: true, predicate: CdkColumnDef, descendants: true, isSignal: true }, { propertyName: "cell", first: true, predicate: CdkCellDef, descendants: true, isSignal: true }, { propertyName: "headerCell", first: true, predicate: CdkHeaderCellDef, descendants: true, isSignal: true }], usesInheritance: true, hostDirectives: [{ directive: ActionsColumnMoleculeStore, inputs: ["index", "index", "headerText", "headerText", "itemActions", "itemActions", "column", "column"] }], ngImport: i0, template: `
|
|
80
80
|
@let component = '@ng-atomic/components/molecules/actions-column';
|
|
81
81
|
<ng-container matColumnDef [sticky]="store.sticky()" [stickyEnd]="store.stickyEnd()">
|
|
82
82
|
<ng-container *matHeaderCellDef>
|
|
@@ -121,7 +121,7 @@ class ActionsColumnMolecule extends NgAtomicComponent {
|
|
|
121
121
|
</ng-container>
|
|
122
122
|
`, isInline: true, styles: [""], dependencies: [{ kind: "ngmodule", type: MatTableModule }, { kind: "directive", type: i1.MatHeaderCellDef, selector: "[matHeaderCellDef]" }, { kind: "directive", type: i1.MatColumnDef, selector: "[matColumnDef]", inputs: ["matColumnDef"] }, { kind: "directive", type: i1.MatCellDef, selector: "[matCellDef]" }, { kind: "directive", type: i1.MatHeaderCell, selector: "mat-header-cell, th[mat-header-cell]" }, { kind: "directive", type: i1.MatCell, selector: "mat-cell, td[mat-cell]" }, { kind: "component", type: MenuButtonAtom, selector: "atoms-menu-button, atoms-menu-button" }, { kind: "ngmodule", type: MatTooltipModule }, { kind: "directive", type: i2.MatTooltip, selector: "[matTooltip]", inputs: ["matTooltipPosition", "matTooltipPositionAtOrigin", "matTooltipDisabled", "matTooltipShowDelay", "matTooltipHideDelay", "matTooltipTouchGestures", "matTooltip", "matTooltipClass"], exportAs: ["matTooltip"] }, { kind: "directive", type: SpreadSheetCell, selector: "[ssCell]", inputs: ["ssCell", "ssCellEditable", "ssCellContext"] }, { kind: "pipe", type: ActionsPipe, name: "resolveActions" }, { kind: "pipe", type: DataAccessorPipe, name: "dataAccessor" }, { kind: "pipe", type: ExpressionPipe, name: "expression" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
123
123
|
}
|
|
124
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.
|
|
124
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: ActionsColumnMolecule, decorators: [{
|
|
125
125
|
type: Component,
|
|
126
126
|
args: [{ selector: 'molecules-actions-column', imports: [
|
|
127
127
|
MatTableModule,
|
|
@@ -24,18 +24,18 @@ var ActionId;
|
|
|
24
24
|
let CheckboxColumnMoleculeStore = class CheckboxColumnMoleculeStore extends NgAtomicColumnMoleculeStore {
|
|
25
25
|
constructor() {
|
|
26
26
|
super(...arguments);
|
|
27
|
-
this.index = input(null, ...(ngDevMode ? [{ debugName: "index" }] : []));
|
|
28
|
-
this.selection = input(new SelectionModel(true, []), ...(ngDevMode ? [{ debugName: "selection" }] : []));
|
|
29
|
-
this.isHidden = input((item) => false, ...(ngDevMode ? [{ debugName: "isHidden" }] : []));
|
|
27
|
+
this.index = input(null, ...(ngDevMode ? [{ debugName: "index" }] : /* istanbul ignore next */ []));
|
|
28
|
+
this.selection = input(new SelectionModel(true, []), ...(ngDevMode ? [{ debugName: "selection" }] : /* istanbul ignore next */ []));
|
|
29
|
+
this.isHidden = input((item) => false, ...(ngDevMode ? [{ debugName: "isHidden" }] : /* istanbul ignore next */ []));
|
|
30
30
|
}
|
|
31
31
|
static { this.ActionId = ActionId; }
|
|
32
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.
|
|
33
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.
|
|
32
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: CheckboxColumnMoleculeStore, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
|
|
33
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.25", type: CheckboxColumnMoleculeStore, isStandalone: true, inputs: { index: { classPropertyName: "index", publicName: "index", isSignal: true, isRequired: false, transformFunction: null }, selection: { classPropertyName: "selection", publicName: "selection", isSignal: true, isRequired: false, transformFunction: null }, isHidden: { classPropertyName: "isHidden", publicName: "isHidden", isSignal: true, isRequired: false, transformFunction: null } }, usesInheritance: true, ngImport: i0 }); }
|
|
34
34
|
};
|
|
35
35
|
CheckboxColumnMoleculeStore = __decorate([
|
|
36
36
|
TokenizedType()
|
|
37
37
|
], CheckboxColumnMoleculeStore);
|
|
38
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.
|
|
38
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: CheckboxColumnMoleculeStore, decorators: [{
|
|
39
39
|
type: Directive,
|
|
40
40
|
args: [{ standalone: true }]
|
|
41
41
|
}], propDecorators: { index: [{ type: i0.Input, args: [{ isSignal: true, alias: "index", required: false }] }], selection: [{ type: i0.Input, args: [{ isSignal: true, alias: "selection", required: false }] }], isHidden: [{ type: i0.Input, args: [{ isSignal: true, alias: "isHidden", required: false }] }] } });
|
|
@@ -49,7 +49,7 @@ class CheckboxColumnMolecule extends NgAtomicComponent {
|
|
|
49
49
|
this.columnDef = viewChild.required(CdkColumnDef);
|
|
50
50
|
this.cell = viewChild.required(CdkCellDef);
|
|
51
51
|
this.headerCell = viewChild.required(CdkHeaderCellDef);
|
|
52
|
-
this.checkboxes = viewChildren('rowCheckbox', { ...(ngDevMode ? { debugName: "checkboxes" } : {}), read: MatCheckbox });
|
|
52
|
+
this.checkboxes = viewChildren('rowCheckbox', { ...(ngDevMode ? { debugName: "checkboxes" } : /* istanbul ignore next */ {}), read: MatCheckbox });
|
|
53
53
|
this.headerCheckboxChecked = derivedAsync(() => {
|
|
54
54
|
return this.store.selection().changed.pipe(startWith(null), delay(0), map(() => {
|
|
55
55
|
if (this.checkboxes().length === 0)
|
|
@@ -90,8 +90,8 @@ class CheckboxColumnMolecule extends NgAtomicComponent {
|
|
|
90
90
|
onCheckboxClick(item, event) {
|
|
91
91
|
this.dispatch({ id: ActionId.CHECKBOX_CLICK, payload: item });
|
|
92
92
|
}
|
|
93
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.
|
|
94
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.
|
|
93
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: CheckboxColumnMolecule, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
94
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.25", type: CheckboxColumnMolecule, isStandalone: true, selector: "molecules-checkbox-column", providers: [
|
|
95
95
|
{ provide: MAT_CHECKBOX_DEFAULT_OPTIONS, useValue: { clickAction: 'noop' } }
|
|
96
96
|
], viewQueries: [{ propertyName: "columnDef", first: true, predicate: CdkColumnDef, descendants: true, isSignal: true }, { propertyName: "cell", first: true, predicate: CdkCellDef, descendants: true, isSignal: true }, { propertyName: "headerCell", first: true, predicate: CdkHeaderCellDef, descendants: true, isSignal: true }, { propertyName: "checkboxes", predicate: ["rowCheckbox"], descendants: true, read: MatCheckbox, isSignal: true }], usesInheritance: true, hostDirectives: [{ directive: CheckboxColumnMoleculeStore, inputs: ["index", "index", "column", "column", "selection", "selection", "isHidden", "isHidden"] }], ngImport: i0, template: `
|
|
97
97
|
@let component = '@ng-atomic/components/molecules/checkbox-column';
|
|
@@ -139,7 +139,7 @@ class CheckboxColumnMolecule extends NgAtomicComponent {
|
|
|
139
139
|
</ng-container>
|
|
140
140
|
</ng-container>`, isInline: true, styles: [""], dependencies: [{ kind: "ngmodule", type: MatTableModule }, { kind: "directive", type: i1.MatHeaderCellDef, selector: "[matHeaderCellDef]" }, { kind: "directive", type: i1.MatColumnDef, selector: "[matColumnDef]", inputs: ["matColumnDef"] }, { kind: "directive", type: i1.MatCellDef, selector: "[matCellDef]" }, { kind: "directive", type: i1.MatHeaderCell, selector: "mat-header-cell, th[mat-header-cell]" }, { kind: "directive", type: i1.MatCell, selector: "mat-cell, td[mat-cell]" }, { kind: "ngmodule", type: MatCheckboxModule }, { kind: "component", type: i2.MatCheckbox, selector: "mat-checkbox", inputs: ["aria-label", "aria-labelledby", "aria-describedby", "aria-expanded", "aria-controls", "aria-owns", "id", "required", "labelPosition", "name", "value", "disableRipple", "tabIndex", "color", "disabledInteractive", "checked", "disabled", "indeterminate"], outputs: ["change", "indeterminateChange"], exportAs: ["matCheckbox"] }, { kind: "directive", type: SpreadSheetCell, selector: "[ssCell]", inputs: ["ssCell", "ssCellEditable", "ssCellContext"] }, { kind: "pipe", type: SelectIdPipe, name: "selectId" }, { kind: "pipe", type: DataAccessorPipe, name: "dataAccessor" }, { kind: "pipe", type: ExpressionPipe, name: "expression" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
141
141
|
}
|
|
142
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.
|
|
142
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: CheckboxColumnMolecule, decorators: [{
|
|
143
143
|
type: Component,
|
|
144
144
|
args: [{ selector: 'molecules-checkbox-column', imports: [
|
|
145
145
|
MatTableModule,
|