@acorex/components 20.2.20 → 20.2.22

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.
Files changed (52) hide show
  1. package/drawer/README.md +2 -2
  2. package/drawer/index.d.ts +32 -57
  3. package/drawer-legacy/README.md +3 -0
  4. package/drawer-legacy/index.d.ts +86 -0
  5. package/fesm2022/acorex-components-color-palette.mjs +1 -1
  6. package/fesm2022/acorex-components-color-palette.mjs.map +1 -1
  7. package/fesm2022/acorex-components-data-pager.mjs +1 -1
  8. package/fesm2022/acorex-components-data-pager.mjs.map +1 -1
  9. package/fesm2022/acorex-components-drawer-legacy.mjs +218 -0
  10. package/fesm2022/acorex-components-drawer-legacy.mjs.map +1 -0
  11. package/fesm2022/acorex-components-drawer.mjs +58 -143
  12. package/fesm2022/acorex-components-drawer.mjs.map +1 -1
  13. package/fesm2022/acorex-components-file-explorer.mjs +1 -1
  14. package/fesm2022/acorex-components-file-explorer.mjs.map +1 -1
  15. package/fesm2022/acorex-components-map.mjs +1 -0
  16. package/fesm2022/acorex-components-map.mjs.map +1 -1
  17. package/fesm2022/acorex-components-media-viewer.mjs +2 -2
  18. package/fesm2022/acorex-components-media-viewer.mjs.map +1 -1
  19. package/fesm2022/{acorex-components-modal-acorex-components-modal-ClSGRCam.mjs → acorex-components-modal-acorex-components-modal-BLjJGxLT.mjs} +2 -2
  20. package/fesm2022/{acorex-components-modal-acorex-components-modal-ClSGRCam.mjs.map → acorex-components-modal-acorex-components-modal-BLjJGxLT.mjs.map} +1 -1
  21. package/fesm2022/{acorex-components-modal-modal-content.component-BC-z7O0z.mjs → acorex-components-modal-modal-content.component-CC_L42pt.mjs} +4 -4
  22. package/fesm2022/acorex-components-modal-modal-content.component-CC_L42pt.mjs.map +1 -0
  23. package/fesm2022/acorex-components-modal.mjs +1 -1
  24. package/fesm2022/acorex-components-number-box-legacy.mjs +412 -0
  25. package/fesm2022/acorex-components-number-box-legacy.mjs.map +1 -0
  26. package/fesm2022/acorex-components-number-box.mjs +97 -310
  27. package/fesm2022/acorex-components-number-box.mjs.map +1 -1
  28. package/fesm2022/acorex-components-query-builder.mjs +1 -1
  29. package/fesm2022/acorex-components-query-builder.mjs.map +1 -1
  30. package/fesm2022/acorex-components-rrule.mjs +101 -6
  31. package/fesm2022/acorex-components-rrule.mjs.map +1 -1
  32. package/fesm2022/acorex-components-tag-box.mjs +10 -5
  33. package/fesm2022/acorex-components-tag-box.mjs.map +1 -1
  34. package/fesm2022/acorex-components-tag.mjs +39 -3
  35. package/fesm2022/acorex-components-tag.mjs.map +1 -1
  36. package/number-box/README.md +2 -2
  37. package/number-box/index.d.ts +31 -171
  38. package/number-box-legacy/README.md +3 -0
  39. package/number-box-legacy/index.d.ts +191 -0
  40. package/package.json +57 -49
  41. package/rrule/index.d.ts +96 -1
  42. package/tag/index.d.ts +8 -2
  43. package/tag-box/index.d.ts +7 -3
  44. package/drawer-2/README.md +0 -3
  45. package/drawer-2/index.d.ts +0 -62
  46. package/fesm2022/acorex-components-drawer-2.mjs +0 -134
  47. package/fesm2022/acorex-components-drawer-2.mjs.map +0 -1
  48. package/fesm2022/acorex-components-modal-modal-content.component-BC-z7O0z.mjs.map +0 -1
  49. package/fesm2022/acorex-components-number-box-2.mjs +0 -183
  50. package/fesm2022/acorex-components-number-box-2.mjs.map +0 -1
  51. package/number-box-2/README.md +0 -3
  52. package/number-box-2/index.d.ts +0 -41
@@ -0,0 +1,218 @@
1
+ import { MXBaseComponent, AXComponent, AXClosableComponent } from '@acorex/cdk/common';
2
+ import * as i0 from '@angular/core';
3
+ import { signal, Injectable, inject, afterNextRender, ViewEncapsulation, ChangeDetectionStrategy, Component, model, input, NgZone, DOCUMENT, PLATFORM_ID, effect, HostBinding, NgModule } from '@angular/core';
4
+ import { isBrowser } from '@acorex/core/platform';
5
+ import { isPlatformBrowser, CommonModule } from '@angular/common';
6
+
7
+ class AXDrawerLegacyService {
8
+ constructor() {
9
+ this.drawerElements = signal(null, ...(ngDevMode ? [{ debugName: "drawerElements" }] : []));
10
+ }
11
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.6", ngImport: i0, type: AXDrawerLegacyService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
12
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.6", ngImport: i0, type: AXDrawerLegacyService }); }
13
+ }
14
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.6", ngImport: i0, type: AXDrawerLegacyService, decorators: [{
15
+ type: Injectable
16
+ }] });
17
+
18
+ /**
19
+ * A container component that organizes and positions drawer components.
20
+ * @category component
21
+ */
22
+ class AXDrawerLegacyContainerComponent extends MXBaseComponent {
23
+ constructor() {
24
+ super();
25
+ this.service = inject(AXDrawerLegacyService);
26
+ afterNextRender(() => {
27
+ const host = this.getHostElement();
28
+ const drawerClasses = Array.from(host.querySelectorAll(`ax-drawer`)).map((c) => c['__axContext__']);
29
+ this.service.drawerElements.set(drawerClasses);
30
+ });
31
+ }
32
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.6", ngImport: i0, type: AXDrawerLegacyContainerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
33
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.6", type: AXDrawerLegacyContainerComponent, isStandalone: true, selector: "ax-drawer-legacy-container", providers: [AXDrawerLegacyService, { provide: AXComponent, useExisting: AXDrawerLegacyContainerComponent }], usesInheritance: true, ngImport: i0, template: `
34
+ <ng-content select="ax-drawer"> </ng-content>
35
+ <ng-content select="ax-content"></ng-content>
36
+ `, isInline: true, styles: ["ax-drawer-legacy-container{position:relative;display:flex;height:100%;width:100%;overflow:hidden}ax-drawer-legacy-container.ax-fixed{bottom:0;inset-inline-end:0px;inset-inline-start:0px;top:0;z-index:50;display:none}ax-drawer-legacy-container.ax-fixed.ax-visible{display:flex}ax-drawer-legacy-container .ax-backdrop{position:absolute;bottom:0;top:0;z-index:10;height:100%;width:100%;background-color:rgba(var(--ax-comp-drawer-container-bg-color, 0, 0, 0, .2));transition-property:all;transition-duration:var(--ax-sys-transition-duration);transition-timing-function:var(--ax-sys-transition-timing-function)}ax-drawer-legacy-container>ax-content{height:100%;flex:1 1 0%;overflow:auto}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
37
+ }
38
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.6", ngImport: i0, type: AXDrawerLegacyContainerComponent, decorators: [{
39
+ type: Component,
40
+ args: [{ selector: 'ax-drawer-legacy-container', template: `
41
+ <ng-content select="ax-drawer"> </ng-content>
42
+ <ng-content select="ax-content"></ng-content>
43
+ `, changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, providers: [AXDrawerLegacyService, { provide: AXComponent, useExisting: AXDrawerLegacyContainerComponent }], styles: ["ax-drawer-legacy-container{position:relative;display:flex;height:100%;width:100%;overflow:hidden}ax-drawer-legacy-container.ax-fixed{bottom:0;inset-inline-end:0px;inset-inline-start:0px;top:0;z-index:50;display:none}ax-drawer-legacy-container.ax-fixed.ax-visible{display:flex}ax-drawer-legacy-container .ax-backdrop{position:absolute;bottom:0;top:0;z-index:10;height:100%;width:100%;background-color:rgba(var(--ax-comp-drawer-container-bg-color, 0, 0, 0, .2));transition-property:all;transition-duration:var(--ax-sys-transition-duration);transition-timing-function:var(--ax-sys-transition-timing-function)}ax-drawer-legacy-container>ax-content{height:100%;flex:1 1 0%;overflow:auto}\n"] }]
44
+ }], ctorParameters: () => [] });
45
+
46
+ /**
47
+ * A component that represents a drawer with header and content sections.
48
+ *
49
+ * @category Components
50
+ */
51
+ class AXDrawerLegacyComponent extends MXBaseComponent {
52
+ constructor() {
53
+ super(...arguments);
54
+ this.location = model('start', ...(ngDevMode ? [{ debugName: "location" }] : []));
55
+ this.showBackdrop = input(true, ...(ngDevMode ? [{ debugName: "showBackdrop" }] : []));
56
+ this.mode = model('overlay', ...(ngDevMode ? [{ debugName: "mode" }] : []));
57
+ this.closeOthers = input(false, ...(ngDevMode ? [{ debugName: "closeOthers" }] : []));
58
+ this.collapsed = model(true, ...(ngDevMode ? [{ debugName: "collapsed" }] : []));
59
+ this.backdropElement = signal(null, ...(ngDevMode ? [{ debugName: "backdropElement" }] : []));
60
+ this.loaded = signal(false, ...(ngDevMode ? [{ debugName: "loaded" }] : []));
61
+ this.service = inject(AXDrawerLegacyService);
62
+ this._zone = inject(NgZone);
63
+ this.document = inject(DOCUMENT);
64
+ this.platformID = inject(PLATFORM_ID);
65
+ this.#eff = effect(() => {
66
+ if (!this.collapsed()) {
67
+ if (this.showBackdrop() && this.mode() === 'overlay') {
68
+ this._addBackdrop();
69
+ }
70
+ }
71
+ else {
72
+ this._removeBackdrop();
73
+ }
74
+ }, ...(ngDevMode ? [{ debugName: "#eff" }] : []));
75
+ }
76
+ /**
77
+ *
78
+ * @ignore
79
+ */
80
+ ngAfterContentInit() {
81
+ this._detectBoundingSize();
82
+ setTimeout(() => {
83
+ this.loaded.set(true);
84
+ }, 5000);
85
+ }
86
+ /**
87
+ * @ignore
88
+ */
89
+ ngDoCheck() {
90
+ this._detectBoundingSize();
91
+ }
92
+ /**
93
+ * @ignore
94
+ */
95
+ _detectBoundingSize() {
96
+ this._zone.runOutsideAngular(() => {
97
+ const host = this.getHostElement();
98
+ if (host.clientWidth) {
99
+ host.style.setProperty('--ax-sys-el-width', `${host.clientWidth}px`);
100
+ }
101
+ });
102
+ }
103
+ /**
104
+ * Toggles the collapsed state of the drawer.
105
+ */
106
+ toggle() {
107
+ if (this.collapsed()) {
108
+ this.open();
109
+ }
110
+ else {
111
+ this.close();
112
+ }
113
+ }
114
+ /**
115
+ * Collapses the drawer.
116
+ * @ignore
117
+ */
118
+ close() {
119
+ this.collapsed.set(true);
120
+ }
121
+ /**
122
+ * Expands the drawer.
123
+ */
124
+ open() {
125
+ if (!this.collapsed())
126
+ return;
127
+ this.collapsed.set(false);
128
+ if (!this.closeOthers()) {
129
+ this.service.drawerElements()?.forEach((element) => {
130
+ if (element.location() === this.location() && element.id !== this.id) {
131
+ element.close();
132
+ }
133
+ });
134
+ }
135
+ }
136
+ #eff;
137
+ /**
138
+ * @ignore
139
+ */
140
+ _addBackdrop() {
141
+ if (isPlatformBrowser(this.platformID)) {
142
+ this._zone.runOutsideAngular(() => {
143
+ const backDropElem = this.document.createElement('div');
144
+ backDropElem.classList.add('ax-backdrop');
145
+ backDropElem.onclick = () => {
146
+ this._zone.run(() => {
147
+ this.close();
148
+ });
149
+ };
150
+ this.getHostElement()?.parentElement?.appendChild(backDropElem);
151
+ this.backdropElement.set(backDropElem);
152
+ });
153
+ }
154
+ }
155
+ /**
156
+ * @ignore
157
+ */
158
+ _removeBackdrop() {
159
+ if (isBrowser()) {
160
+ this._zone.runOutsideAngular(() => {
161
+ if (this.backdropElement()) {
162
+ this.getHostElement()?.parentElement?.removeChild(this.backdropElement());
163
+ this.backdropElement.set(null);
164
+ }
165
+ });
166
+ }
167
+ }
168
+ /**
169
+ * @ignore
170
+ */
171
+ get __hostClass() {
172
+ return `ax-drawer-${this.mode()} ax-drawer-${this.location()} ${this.collapsed() ? 'ax-collapsed' : 'ax-expanded'} ${this.loaded() && 'ax-state-loaded'}`;
173
+ }
174
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.6", ngImport: i0, type: AXDrawerLegacyComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
175
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "20.3.6", type: AXDrawerLegacyComponent, isStandalone: true, selector: "ax-drawer-legacy", inputs: { location: { classPropertyName: "location", publicName: "location", isSignal: true, isRequired: false, transformFunction: null }, showBackdrop: { classPropertyName: "showBackdrop", publicName: "showBackdrop", isSignal: true, isRequired: false, transformFunction: null }, mode: { classPropertyName: "mode", publicName: "mode", isSignal: true, isRequired: false, transformFunction: null }, closeOthers: { classPropertyName: "closeOthers", publicName: "closeOthers", isSignal: true, isRequired: false, transformFunction: null }, collapsed: { classPropertyName: "collapsed", publicName: "collapsed", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { location: "locationChange", mode: "modeChange", collapsed: "collapsedChange" }, host: { properties: { "class": "this.__hostClass" } }, providers: [
176
+ { provide: AXComponent, useExisting: AXDrawerLegacyComponent },
177
+ { provide: AXClosableComponent, useExisting: AXDrawerLegacyComponent },
178
+ ], usesInheritance: true, ngImport: i0, template: `
179
+ <ng-content select="ax-header"></ng-content>
180
+ <ng-content select="ax-content"></ng-content>
181
+ `, isInline: true, styles: ["ax-drawer-legacy{height:100%;display:flex;max-width:95%;flex-direction:column}ax-drawer-legacy>ax-content{flex:1 1 0%;overflow:auto}ax-drawer-legacy.ax-drawer-overlay{position:absolute;transition-property:background-color,color;transition-duration:var(--ax-sys-transition-duration);transition-timing-function:var(--ax-sys-transition-timing-function)}ax-drawer-legacy.ax-drawer-overlay.ax-expanded{z-index:20}ax-drawer-legacy.ax-drawer-overlay.ax-collapsed{z-index:0}ax-drawer-legacy.ax-drawer-overlay.ax-drawer-start.ax-expanded{inset-inline-start:0px}ax-drawer-legacy.ax-drawer-overlay.ax-drawer-start.ax-collapsed{inset-inline-start:calc(-1 * var(--ax-sys-el-width))}ax-drawer-legacy.ax-drawer-overlay.ax-drawer-end.ax-expanded{inset-inline-end:0px}ax-drawer-legacy.ax-drawer-overlay.ax-drawer-end.ax-collapsed{inset-inline-end:calc(-1 * var(--ax-sys-el-width))}ax-drawer-legacy.ax-drawer-push{flex:0 1 auto}ax-drawer-legacy.ax-drawer-push.ax-expanded{z-index:20}ax-drawer-legacy.ax-drawer-push.ax-collapsed{z-index:0}ax-drawer-legacy.ax-drawer-push.ax-drawer-start{order:-9999}ax-drawer-legacy.ax-drawer-push.ax-drawer-start.ax-expanded{margin-inline-start:0px}ax-drawer-legacy.ax-drawer-push.ax-drawer-start.ax-collapsed{margin-inline-start:calc(-1 * var(--ax-sys-el-width))}ax-drawer-legacy.ax-drawer-push.ax-drawer-end{order:9999}ax-drawer-legacy.ax-drawer-push.ax-drawer-end.ax-expanded{margin-inline-end:0px}ax-drawer-legacy.ax-drawer-push.ax-drawer-end.ax-collapsed{margin-inline-end:calc(-1 * var(--ax-sys-el-width))}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
182
+ }
183
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.6", ngImport: i0, type: AXDrawerLegacyComponent, decorators: [{
184
+ type: Component,
185
+ args: [{ selector: 'ax-drawer-legacy', template: `
186
+ <ng-content select="ax-header"></ng-content>
187
+ <ng-content select="ax-content"></ng-content>
188
+ `, changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, providers: [
189
+ { provide: AXComponent, useExisting: AXDrawerLegacyComponent },
190
+ { provide: AXClosableComponent, useExisting: AXDrawerLegacyComponent },
191
+ ], styles: ["ax-drawer-legacy{height:100%;display:flex;max-width:95%;flex-direction:column}ax-drawer-legacy>ax-content{flex:1 1 0%;overflow:auto}ax-drawer-legacy.ax-drawer-overlay{position:absolute;transition-property:background-color,color;transition-duration:var(--ax-sys-transition-duration);transition-timing-function:var(--ax-sys-transition-timing-function)}ax-drawer-legacy.ax-drawer-overlay.ax-expanded{z-index:20}ax-drawer-legacy.ax-drawer-overlay.ax-collapsed{z-index:0}ax-drawer-legacy.ax-drawer-overlay.ax-drawer-start.ax-expanded{inset-inline-start:0px}ax-drawer-legacy.ax-drawer-overlay.ax-drawer-start.ax-collapsed{inset-inline-start:calc(-1 * var(--ax-sys-el-width))}ax-drawer-legacy.ax-drawer-overlay.ax-drawer-end.ax-expanded{inset-inline-end:0px}ax-drawer-legacy.ax-drawer-overlay.ax-drawer-end.ax-collapsed{inset-inline-end:calc(-1 * var(--ax-sys-el-width))}ax-drawer-legacy.ax-drawer-push{flex:0 1 auto}ax-drawer-legacy.ax-drawer-push.ax-expanded{z-index:20}ax-drawer-legacy.ax-drawer-push.ax-collapsed{z-index:0}ax-drawer-legacy.ax-drawer-push.ax-drawer-start{order:-9999}ax-drawer-legacy.ax-drawer-push.ax-drawer-start.ax-expanded{margin-inline-start:0px}ax-drawer-legacy.ax-drawer-push.ax-drawer-start.ax-collapsed{margin-inline-start:calc(-1 * var(--ax-sys-el-width))}ax-drawer-legacy.ax-drawer-push.ax-drawer-end{order:9999}ax-drawer-legacy.ax-drawer-push.ax-drawer-end.ax-expanded{margin-inline-end:0px}ax-drawer-legacy.ax-drawer-push.ax-drawer-end.ax-collapsed{margin-inline-end:calc(-1 * var(--ax-sys-el-width))}\n"] }]
192
+ }], propDecorators: { location: [{ type: i0.Input, args: [{ isSignal: true, alias: "location", required: false }] }, { type: i0.Output, args: ["locationChange"] }], showBackdrop: [{ type: i0.Input, args: [{ isSignal: true, alias: "showBackdrop", required: false }] }], mode: [{ type: i0.Input, args: [{ isSignal: true, alias: "mode", required: false }] }, { type: i0.Output, args: ["modeChange"] }], closeOthers: [{ type: i0.Input, args: [{ isSignal: true, alias: "closeOthers", required: false }] }], collapsed: [{ type: i0.Input, args: [{ isSignal: true, alias: "collapsed", required: false }] }, { type: i0.Output, args: ["collapsedChange"] }], __hostClass: [{
193
+ type: HostBinding,
194
+ args: ['class']
195
+ }] } });
196
+
197
+ const COMPONENT = [AXDrawerLegacyComponent, AXDrawerLegacyContainerComponent];
198
+ const MODULES = [CommonModule];
199
+ class AXDrawerLegacyModule {
200
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.6", ngImport: i0, type: AXDrawerLegacyModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
201
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.6", ngImport: i0, type: AXDrawerLegacyModule, imports: [CommonModule, AXDrawerLegacyComponent, AXDrawerLegacyContainerComponent], exports: [AXDrawerLegacyComponent, AXDrawerLegacyContainerComponent] }); }
202
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.6", ngImport: i0, type: AXDrawerLegacyModule, imports: [MODULES] }); }
203
+ }
204
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.6", ngImport: i0, type: AXDrawerLegacyModule, decorators: [{
205
+ type: NgModule,
206
+ args: [{
207
+ imports: [...MODULES, ...COMPONENT],
208
+ exports: [...COMPONENT],
209
+ providers: [],
210
+ }]
211
+ }] });
212
+
213
+ /**
214
+ * Generated bundle index. Do not edit.
215
+ */
216
+
217
+ export { AXDrawerLegacyComponent, AXDrawerLegacyContainerComponent, AXDrawerLegacyModule };
218
+ //# sourceMappingURL=acorex-components-drawer-legacy.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"acorex-components-drawer-legacy.mjs","sources":["../tmp-esm2022/drawer-legacy/lib/drawer.service.js","../tmp-esm2022/drawer-legacy/lib/drawer-container/drawer-container.component.js","../tmp-esm2022/drawer-legacy/lib/drawer-item/drawer.component.js","../tmp-esm2022/drawer-legacy/lib/drawer.module.js","../tmp-esm2022/drawer-legacy/acorex-components-drawer-legacy.js"],"sourcesContent":["import { Injectable, signal } from '@angular/core';\nimport * as i0 from \"@angular/core\";\nexport class AXDrawerLegacyService {\n constructor() {\n this.drawerElements = signal(null, ...(ngDevMode ? [{ debugName: \"drawerElements\" }] : []));\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"20.3.6\", ngImport: i0, type: AXDrawerLegacyService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }\n static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"20.3.6\", ngImport: i0, type: AXDrawerLegacyService }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"20.3.6\", ngImport: i0, type: AXDrawerLegacyService, decorators: [{\n type: Injectable\n }] });\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZHJhd2VyLnNlcnZpY2UuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wYWNrYWdlcy9jb21wb25lbnRzL2RyYXdlci1sZWdhY3kvc3JjL2xpYi9kcmF3ZXIuc2VydmljZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsVUFBVSxFQUFFLE1BQU0sRUFBRSxNQUFNLGVBQWUsQ0FBQzs7QUFJbkQsTUFBTSxPQUFPLHFCQUFxQjtJQURsQztRQUVFLG1CQUFjLEdBQUcsTUFBTSxDQUE0QixJQUFJLDBEQUFDLENBQUM7S0FDMUQ7OEdBRlkscUJBQXFCO2tIQUFyQixxQkFBcUI7OzJGQUFyQixxQkFBcUI7a0JBRGpDLFVBQVUiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBJbmplY3RhYmxlLCBzaWduYWwgfSBmcm9tICdAYW5ndWxhci9jb3JlJztcbmltcG9ydCB7IEFYRHJhd2VyTGVnYWN5Q29tcG9uZW50IH0gZnJvbSAnLi9kcmF3ZXItaXRlbS9kcmF3ZXIuY29tcG9uZW50JztcblxuQEluamVjdGFibGUoKVxuZXhwb3J0IGNsYXNzIEFYRHJhd2VyTGVnYWN5U2VydmljZSB7XG4gIGRyYXdlckVsZW1lbnRzID0gc2lnbmFsPEFYRHJhd2VyTGVnYWN5Q29tcG9uZW50W10+KG51bGwpO1xufVxuIl19","import { AXComponent, MXBaseComponent } from '@acorex/cdk/common';\nimport { afterNextRender, ChangeDetectionStrategy, Component, inject, ViewEncapsulation } from '@angular/core';\nimport { AXDrawerLegacyService } from '../drawer.service';\nimport * as i0 from \"@angular/core\";\n/**\n * A container component that organizes and positions drawer components.\n * @category component\n */\nexport class AXDrawerLegacyContainerComponent extends MXBaseComponent {\n constructor() {\n super();\n this.service = inject(AXDrawerLegacyService);\n afterNextRender(() => {\n const host = this.getHostElement();\n const drawerClasses = Array.from(host.querySelectorAll(`ax-drawer`)).map((c) => c['__axContext__']);\n this.service.drawerElements.set(drawerClasses);\n });\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"20.3.6\", ngImport: i0, type: AXDrawerLegacyContainerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"20.3.6\", type: AXDrawerLegacyContainerComponent, isStandalone: true, selector: \"ax-drawer-legacy-container\", providers: [AXDrawerLegacyService, { provide: AXComponent, useExisting: AXDrawerLegacyContainerComponent }], usesInheritance: true, ngImport: i0, template: `\n <ng-content select=\"ax-drawer\"> </ng-content>\n <ng-content select=\"ax-content\"></ng-content>\n `, isInline: true, styles: [\"ax-drawer-legacy-container{position:relative;display:flex;height:100%;width:100%;overflow:hidden}ax-drawer-legacy-container.ax-fixed{bottom:0;inset-inline-end:0px;inset-inline-start:0px;top:0;z-index:50;display:none}ax-drawer-legacy-container.ax-fixed.ax-visible{display:flex}ax-drawer-legacy-container .ax-backdrop{position:absolute;bottom:0;top:0;z-index:10;height:100%;width:100%;background-color:rgba(var(--ax-comp-drawer-container-bg-color, 0, 0, 0, .2));transition-property:all;transition-duration:var(--ax-sys-transition-duration);transition-timing-function:var(--ax-sys-transition-timing-function)}ax-drawer-legacy-container>ax-content{height:100%;flex:1 1 0%;overflow:auto}\\n\"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"20.3.6\", ngImport: i0, type: AXDrawerLegacyContainerComponent, decorators: [{\n type: Component,\n args: [{ selector: 'ax-drawer-legacy-container', template: `\n <ng-content select=\"ax-drawer\"> </ng-content>\n <ng-content select=\"ax-content\"></ng-content>\n `, changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, providers: [AXDrawerLegacyService, { provide: AXComponent, useExisting: AXDrawerLegacyContainerComponent }], styles: [\"ax-drawer-legacy-container{position:relative;display:flex;height:100%;width:100%;overflow:hidden}ax-drawer-legacy-container.ax-fixed{bottom:0;inset-inline-end:0px;inset-inline-start:0px;top:0;z-index:50;display:none}ax-drawer-legacy-container.ax-fixed.ax-visible{display:flex}ax-drawer-legacy-container .ax-backdrop{position:absolute;bottom:0;top:0;z-index:10;height:100%;width:100%;background-color:rgba(var(--ax-comp-drawer-container-bg-color, 0, 0, 0, .2));transition-property:all;transition-duration:var(--ax-sys-transition-duration);transition-timing-function:var(--ax-sys-transition-timing-function)}ax-drawer-legacy-container>ax-content{height:100%;flex:1 1 0%;overflow:auto}\\n\"] }]\n }], ctorParameters: () => [] });\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZHJhd2VyLWNvbnRhaW5lci5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wYWNrYWdlcy9jb21wb25lbnRzL2RyYXdlci1sZWdhY3kvc3JjL2xpYi9kcmF3ZXItY29udGFpbmVyL2RyYXdlci1jb250YWluZXIuY29tcG9uZW50LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxXQUFXLEVBQUUsZUFBZSxFQUFFLE1BQU0sb0JBQW9CLENBQUM7QUFDbEUsT0FBTyxFQUFFLGVBQWUsRUFBRSx1QkFBdUIsRUFBRSxTQUFTLEVBQUUsTUFBTSxFQUFFLGlCQUFpQixFQUFFLE1BQU0sZUFBZSxDQUFDO0FBRS9HLE9BQU8sRUFBRSxxQkFBcUIsRUFBRSxNQUFNLG1CQUFtQixDQUFDOztBQUUxRDs7O0dBR0c7QUFZSCxNQUFNLE9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vcnQgY2xhc3MgQVhEcmF3ZXJMZWdhY3lDb250YWluZXJDb21wb25lbnQgZXh0ZW5kcyBNWEJhc2VDb21wb25lbnQge1xuICBwcml2YXRlIHNlcnZpY2UgPSBpbmplY3QoQVhEcmF3ZXJMZWdhY3lTZXJ2aWNlKTtcblxuICBjb25zdHJ1Y3RvcigpIHtcbiAgICBzdXBlcigpO1xuICAgIGFmdGVyTmV4dFJlbmRlcigoKSA9PiB7XG4gICAgICBjb25zdCBob3N0ID0gdGhpcy5nZXRIb3N0RWxlbWVudCgpO1xuICAgICAgY29uc3QgZHJhd2VyQ2xhc3NlcyA9IEFycmF5LmZyb20oaG9zdC5xdWVyeVNlbGVjdG9yQWxsKGBheC1kcmF3ZXJgKSkubWFwKFxuICAgICAgICAoYykgPT4gY1snX19heENvbnRleHRfXyddIGFzIEFYRHJhd2VyTGVnYWN5Q29tcG9uZW50LFxuICAgICAgKTtcbiAgICAgIHRoaXMuc2VydmljZS5kcmF3ZXJFbGVtZW50cy5zZXQoZHJhd2VyQ2xhc3Nlcyk7XG4gICAgfSk7XG4gIH1cbn1cbiJdfQ==","import { AXClosableComponent, AXComponent, MXBaseComponent } from '@acorex/cdk/common';\nimport { isBrowser } from '@acorex/core/platform';\nimport { isPlatformBrowser } from '@angular/common';\nimport { ChangeDetectionStrategy, Component, DOCUMENT, effect, HostBinding, inject, input, model, NgZone, PLATFORM_ID, signal, ViewEncapsulation, } from '@angular/core';\nimport { AXDrawerLegacyService } from '../drawer.service';\nimport * as i0 from \"@angular/core\";\n/**\n * A component that represents a drawer with header and content sections.\n *\n * @category Components\n */\nexport class AXDrawerLegacyComponent extends MXBaseComponent {\n constructor() {\n super(...arguments);\n this.location = model('start', ...(ngDevMode ? [{ debugName: \"location\" }] : []));\n this.showBackdrop = input(true, ...(ngDevMode ? [{ debugName: \"showBackdrop\" }] : []));\n this.mode = model('overlay', ...(ngDevMode ? [{ debugName: \"mode\" }] : []));\n this.closeOthers = input(false, ...(ngDevMode ? [{ debugName: \"closeOthers\" }] : []));\n this.collapsed = model(true, ...(ngDevMode ? [{ debugName: \"collapsed\" }] : []));\n this.backdropElement = signal(null, ...(ngDevMode ? [{ debugName: \"backdropElement\" }] : []));\n this.loaded = signal(false, ...(ngDevMode ? [{ debugName: \"loaded\" }] : []));\n this.service = inject(AXDrawerLegacyService);\n this._zone = inject(NgZone);\n this.document = inject(DOCUMENT);\n this.platformID = inject(PLATFORM_ID);\n this.#eff = effect(() => {\n if (!this.collapsed()) {\n if (this.showBackdrop() && this.mode() === 'overlay') {\n this._addBackdrop();\n }\n }\n else {\n this._removeBackdrop();\n }\n }, ...(ngDevMode ? [{ debugName: \"#eff\" }] : []));\n }\n /**\n *\n * @ignore\n */\n ngAfterContentInit() {\n this._detectBoundingSize();\n setTimeout(() => {\n this.loaded.set(true);\n }, 5000);\n }\n /**\n * @ignore\n */\n ngDoCheck() {\n this._detectBoundingSize();\n }\n /**\n * @ignore\n */\n _detectBoundingSize() {\n this._zone.runOutsideAngular(() => {\n const host = this.getHostElement();\n if (host.clientWidth) {\n host.style.setProperty('--ax-sys-el-width', `${host.clientWidth}px`);\n }\n });\n }\n /**\n * Toggles the collapsed state of the drawer.\n */\n toggle() {\n if (this.collapsed()) {\n this.open();\n }\n else {\n this.close();\n }\n }\n /**\n * Collapses the drawer.\n * @ignore\n */\n close() {\n this.collapsed.set(true);\n }\n /**\n * Expands the drawer.\n */\n open() {\n if (!this.collapsed())\n return;\n this.collapsed.set(false);\n if (!this.closeOthers()) {\n this.service.drawerElements()?.forEach((element) => {\n if (element.location() === this.location() && element.id !== this.id) {\n element.close();\n }\n });\n }\n }\n #eff;\n /**\n * @ignore\n */\n _addBackdrop() {\n if (isPlatformBrowser(this.platformID)) {\n this._zone.runOutsideAngular(() => {\n const backDropElem = this.document.createElement('div');\n backDropElem.classList.add('ax-backdrop');\n backDropElem.onclick = () => {\n this._zone.run(() => {\n this.close();\n });\n };\n this.getHostElement()?.parentElement?.appendChild(backDropElem);\n this.backdropElement.set(backDropElem);\n });\n }\n }\n /**\n * @ignore\n */\n _removeBackdrop() {\n if (isBrowser()) {\n this._zone.runOutsideAngular(() => {\n if (this.backdropElement()) {\n this.getHostElement()?.parentElement?.removeChild(this.backdropElement());\n this.backdropElement.set(null);\n }\n });\n }\n }\n /**\n * @ignore\n */\n get __hostClass() {\n return `ax-drawer-${this.mode()} ax-drawer-${this.location()} ${this.collapsed() ? 'ax-collapsed' : 'ax-expanded'} ${this.loaded() && 'ax-state-loaded'}`;\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"20.3.6\", ngImport: i0, type: AXDrawerLegacyComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"17.1.0\", version: \"20.3.6\", type: AXDrawerLegacyComponent, isStandalone: true, selector: \"ax-drawer-legacy\", inputs: { location: { classPropertyName: \"location\", publicName: \"location\", isSignal: true, isRequired: false, transformFunction: null }, showBackdrop: { classPropertyName: \"showBackdrop\", publicName: \"showBackdrop\", isSignal: true, isRequired: false, transformFunction: null }, mode: { classPropertyName: \"mode\", publicName: \"mode\", isSignal: true, isRequired: false, transformFunction: null }, closeOthers: { classPropertyName: \"closeOthers\", publicName: \"closeOthers\", isSignal: true, isRequired: false, transformFunction: null }, collapsed: { classPropertyName: \"collapsed\", publicName: \"collapsed\", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { location: \"locationChange\", mode: \"modeChange\", collapsed: \"collapsedChange\" }, host: { properties: { \"class\": \"this.__hostClass\" } }, providers: [\n { provide: AXComponent, useExisting: AXDrawerLegacyComponent },\n { provide: AXClosableComponent, useExisting: AXDrawerLegacyComponent },\n ], usesInheritance: true, ngImport: i0, template: `\n <ng-content select=\"ax-header\"></ng-content>\n <ng-content select=\"ax-content\"></ng-content>\n `, isInline: true, styles: [\"ax-drawer-legacy{height:100%;display:flex;max-width:95%;flex-direction:column}ax-drawer-legacy>ax-content{flex:1 1 0%;overflow:auto}ax-drawer-legacy.ax-drawer-overlay{position:absolute;transition-property:background-color,color;transition-duration:var(--ax-sys-transition-duration);transition-timing-function:var(--ax-sys-transition-timing-function)}ax-drawer-legacy.ax-drawer-overlay.ax-expanded{z-index:20}ax-drawer-legacy.ax-drawer-overlay.ax-collapsed{z-index:0}ax-drawer-legacy.ax-drawer-overlay.ax-drawer-start.ax-expanded{inset-inline-start:0px}ax-drawer-legacy.ax-drawer-overlay.ax-drawer-start.ax-collapsed{inset-inline-start:calc(-1 * var(--ax-sys-el-width))}ax-drawer-legacy.ax-drawer-overlay.ax-drawer-end.ax-expanded{inset-inline-end:0px}ax-drawer-legacy.ax-drawer-overlay.ax-drawer-end.ax-collapsed{inset-inline-end:calc(-1 * var(--ax-sys-el-width))}ax-drawer-legacy.ax-drawer-push{flex:0 1 auto}ax-drawer-legacy.ax-drawer-push.ax-expanded{z-index:20}ax-drawer-legacy.ax-drawer-push.ax-collapsed{z-index:0}ax-drawer-legacy.ax-drawer-push.ax-drawer-start{order:-9999}ax-drawer-legacy.ax-drawer-push.ax-drawer-start.ax-expanded{margin-inline-start:0px}ax-drawer-legacy.ax-drawer-push.ax-drawer-start.ax-collapsed{margin-inline-start:calc(-1 * var(--ax-sys-el-width))}ax-drawer-legacy.ax-drawer-push.ax-drawer-end{order:9999}ax-drawer-legacy.ax-drawer-push.ax-drawer-end.ax-expanded{margin-inline-end:0px}ax-drawer-legacy.ax-drawer-push.ax-drawer-end.ax-collapsed{margin-inline-end:calc(-1 * var(--ax-sys-el-width))}\\n\"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"20.3.6\", ngImport: i0, type: AXDrawerLegacyComponent, decorators: [{\n type: Component,\n args: [{ selector: 'ax-drawer-legacy', template: `\n <ng-content select=\"ax-header\"></ng-content>\n <ng-content select=\"ax-content\"></ng-content>\n `, changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, providers: [\n { provide: AXComponent, useExisting: AXDrawerLegacyComponent },\n { provide: AXClosableComponent, useExisting: AXDrawerLegacyComponent },\n ], styles: [\"ax-drawer-legacy{height:100%;display:flex;max-width:95%;flex-direction:column}ax-drawer-legacy>ax-content{flex:1 1 0%;overflow:auto}ax-drawer-legacy.ax-drawer-overlay{position:absolute;transition-property:background-color,color;transition-duration:var(--ax-sys-transition-duration);transition-timing-function:var(--ax-sys-transition-timing-function)}ax-drawer-legacy.ax-drawer-overlay.ax-expanded{z-index:20}ax-drawer-legacy.ax-drawer-overlay.ax-collapsed{z-index:0}ax-drawer-legacy.ax-drawer-overlay.ax-drawer-start.ax-expanded{inset-inline-start:0px}ax-drawer-legacy.ax-drawer-overlay.ax-drawer-start.ax-collapsed{inset-inline-start:calc(-1 * var(--ax-sys-el-width))}ax-drawer-legacy.ax-drawer-overlay.ax-drawer-end.ax-expanded{inset-inline-end:0px}ax-drawer-legacy.ax-drawer-overlay.ax-drawer-end.ax-collapsed{inset-inline-end:calc(-1 * var(--ax-sys-el-width))}ax-drawer-legacy.ax-drawer-push{flex:0 1 auto}ax-drawer-legacy.ax-drawer-push.ax-expanded{z-index:20}ax-drawer-legacy.ax-drawer-push.ax-collapsed{z-index:0}ax-drawer-legacy.ax-drawer-push.ax-drawer-start{order:-9999}ax-drawer-legacy.ax-drawer-push.ax-drawer-start.ax-expanded{margin-inline-start:0px}ax-drawer-legacy.ax-drawer-push.ax-drawer-start.ax-collapsed{margin-inline-start:calc(-1 * var(--ax-sys-el-width))}ax-drawer-legacy.ax-drawer-push.ax-drawer-end{order:9999}ax-drawer-legacy.ax-drawer-push.ax-drawer-end.ax-expanded{margin-inline-end:0px}ax-drawer-legacy.ax-drawer-push.ax-drawer-end.ax-collapsed{margin-inline-end:calc(-1 * var(--ax-sys-el-width))}\\n\"] }]\n }], propDecorators: { location: [{ type: i0.Input, args: [{ isSignal: true, alias: \"location\", required: false }] }, { type: i0.Output, args: [\"locationChange\"] }], showBackdrop: [{ type: i0.Input, args: [{ isSignal: true, alias: \"showBackdrop\", required: false }] }], mode: [{ type: i0.Input, args: [{ isSignal: true, alias: \"mode\", required: false }] }, { type: i0.Output, args: [\"modeChange\"] }], closeOthers: [{ type: i0.Input, args: [{ isSignal: true, alias: \"closeOthers\", required: false }] }], collapsed: [{ type: i0.Input, args: [{ isSignal: true, alias: \"collapsed\", required: false }] }, { type: i0.Output, args: [\"collapsedChange\"] }], __hostClass: [{\n type: HostBinding,\n args: ['class']\n }] } });\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZHJhd2VyLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3BhY2thZ2VzL2NvbXBvbmVudHMvZHJhd2VyLWxlZ2FjeS9zcmMvbGliL2RyYXdlci1pdGVtL2RyYXdlci5jb21wb25lbnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLG1CQUFtQixFQUFFLFdBQVcsRUFBRSxlQUFlLEVBQUUsTUFBTSxvQkFBb0IsQ0FBQztBQUN2RixPQUFPLEVBQUUsU0FBUyxFQUFFLE1BQU0sdUJBQXVCLENBQUM7QUFDbEQsT0FBTyxFQUFFLGlCQUFpQixFQUFFLE1BQU0saUJBQWlCLENBQUM7QUFDcEQsT0FBTyxFQUVMLHVCQUF1QixFQUN2QixTQUFTLEVBRVQsUUFBUSxFQUNSLE1BQU0sRUFDTixXQUFXLEVBQ1gsTUFBTSxFQUNOLEtBQUssRUFDTCxLQUFLLEVBQ0wsTUFBTSxFQUNOLFdBQVcsRUFDWCxNQUFNLEVBQ04saUJBQWlCLEdBQ2xCLE1BQU0sZUFBZSxDQUFDO0FBQ3ZCLE9BQU8sRUFBRSxxQkFBcUIsRUFBRSxNQUFNLG1CQUFtQixDQUFDOztB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ICAgfVxuICB9XG5cbiAgLyoqXG4gICAqICBAaWdub3JlXG4gICAqL1xuICBwcml2YXRlIF9yZW1vdmVCYWNrZHJvcCgpIHtcbiAgICBpZiAoaXNCcm93c2VyKCkpIHtcbiAgICAgIHRoaXMuX3pvbmUucnVuT3V0c2lkZUFuZ3VsYXIoKCkgPT4ge1xuICAgICAgICBpZiAodGhpcy5iYWNrZHJvcEVsZW1lbnQoKSkge1xuICAgICAgICAgIHRoaXMuZ2V0SG9zdEVsZW1lbnQoKT8ucGFyZW50RWxlbWVudD8ucmVtb3ZlQ2hpbGQodGhpcy5iYWNrZHJvcEVsZW1lbnQoKSk7XG4gICAgICAgICAgdGhpcy5iYWNrZHJvcEVsZW1lbnQuc2V0KG51bGwpO1xuICAgICAgICB9XG4gICAgICB9KTtcbiAgICB9XG4gIH1cblxuICAvKipcbiAgICogIEBpZ25vcmVcbiAgICovXG4gIEBIb3N0QmluZGluZygnY2xhc3MnKVxuICBwcml2YXRlIGdldCBfX2hvc3RDbGFzcygpOiBzdHJpbmcge1xuICAgIHJldHVybiBgYXgtZHJhd2VyLSR7dGhpcy5tb2RlKCl9IGF4LWRyYXdlci0ke3RoaXMubG9jYXRpb24oKX0gJHt0aGlzLmNvbGxhcHNlZCgpID8gJ2F4LWNvbGxhcHNlZCcgOiAnYXgtZXhwYW5kZWQnfSAke3RoaXMubG9hZGVkKCkgJiYgJ2F4LXN0YXRlLWxvYWRlZCd9YDtcbiAgfVxufVxuIl19","import { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\nimport { AXDrawerLegacyContainerComponent } from './drawer-container/drawer-container.component';\nimport { AXDrawerLegacyComponent } from './drawer-item/drawer.component';\nimport * as i0 from \"@angular/core\";\nconst COMPONENT = [AXDrawerLegacyComponent, AXDrawerLegacyContainerComponent];\nconst MODULES = [CommonModule];\nexport class AXDrawerLegacyModule {\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"20.3.6\", ngImport: i0, type: AXDrawerLegacyModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }\n static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: \"14.0.0\", version: \"20.3.6\", ngImport: i0, type: AXDrawerLegacyModule, imports: [CommonModule, AXDrawerLegacyComponent, AXDrawerLegacyContainerComponent], exports: [AXDrawerLegacyComponent, AXDrawerLegacyContainerComponent] }); }\n static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: \"12.0.0\", version: \"20.3.6\", ngImport: i0, type: AXDrawerLegacyModule, imports: [MODULES] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"20.3.6\", ngImport: i0, type: AXDrawerLegacyModule, decorators: [{\n type: NgModule,\n args: [{\n imports: [...MODULES, ...COMPONENT],\n exports: [...COMPONENT],\n providers: [],\n }]\n }] });\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZHJhd2VyLm1vZHVsZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3BhY2thZ2VzL2NvbXBvbmVudHMvZHJhd2VyLWxlZ2FjeS9zcmMvbGliL2RyYXdlci5tb2R1bGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFlBQVksRUFBRSxNQUFNLGlCQUFpQixDQUFDO0FBQy9DLE9BQU8sRUFBRSxRQUFRLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDekMsT0FBTyxFQUFFLGdDQUFnQyxFQUFFLE1BQU0sK0NBQStDLENBQUM7QUFDakcsT0FBTyxFQUFFLHVCQUF1QixFQUFFLE1BQU0sZ0NBQWdDLENBQUM7O0FBRXpFLE1BQU0sU0FBUyxHQUFHLENBQUMsdUJBQXVCLEVBQUUsZ0NBQWdDLENBQUMsQ0FBQztBQUM5RSxNQUFNLE9BQU8sR0FBRyxDQUFDLFlBQVksQ0FBQ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
1
  import { MXBaseComponent, AXComponent, AXClosableComponent } from '@acorex/cdk/common';
2
+ import * as i1 from '@acorex/cdk/drawer';
3
+ import { AXDrawerContainerDirective, AXDrawerItemDirective } from '@acorex/cdk/drawer';
2
4
  import * as i0 from '@angular/core';
3
- import { signal, Injectable, inject, afterNextRender, ViewEncapsulation, ChangeDetectionStrategy, Component, model, input, NgZone, DOCUMENT, PLATFORM_ID, effect, HostBinding, NgModule } from '@angular/core';
4
- import { isBrowser } from '@acorex/core/platform';
5
- import { isPlatformBrowser, CommonModule } from '@angular/common';
6
-
7
- class AXDrawerService {
8
- constructor() {
9
- this.drawerElements = signal(null, ...(ngDevMode ? [{ debugName: "drawerElements" }] : []));
10
- }
11
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.6", ngImport: i0, type: AXDrawerService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
12
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.6", ngImport: i0, type: AXDrawerService }); }
13
- }
14
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.6", ngImport: i0, type: AXDrawerService, decorators: [{
15
- type: Injectable
16
- }] });
5
+ import { afterNextRender, ViewEncapsulation, ChangeDetectionStrategy, Component, input, output, inject, effect, NgModule } from '@angular/core';
17
6
 
18
7
  /**
19
8
  * A container component that organizes and positions drawer components.
20
9
  * @category component
21
10
  */
22
11
  class AXDrawerContainerComponent extends MXBaseComponent {
23
- constructor() {
24
- super();
25
- this.service = inject(AXDrawerService);
26
- afterNextRender(() => {
27
- const host = this.getHostElement();
28
- const drawerClasses = Array.from(host.querySelectorAll(`ax-drawer`)).map((c) => c['__axContext__']);
29
- this.service.drawerElements.set(drawerClasses);
30
- });
31
- }
32
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.6", ngImport: i0, type: AXDrawerContainerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
33
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.6", type: AXDrawerContainerComponent, isStandalone: true, selector: "ax-drawer-container", providers: [AXDrawerService, { provide: AXComponent, useExisting: AXDrawerContainerComponent }], usesInheritance: true, ngImport: i0, template: `
12
+ #init = afterNextRender(() => {
13
+ const host = this.getHostElement();
14
+ Array.from(host.querySelectorAll(`ax-drawer`)).map((c) => c['__axContext__']);
15
+ });
16
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.6", ngImport: i0, type: AXDrawerContainerComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
17
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.6", type: AXDrawerContainerComponent, isStandalone: true, selector: "ax-drawer-container", providers: [{ provide: AXComponent, useExisting: AXDrawerContainerComponent }], usesInheritance: true, hostDirectives: [{ directive: i1.AXDrawerContainerDirective }], ngImport: i0, template: `
34
18
  <ng-content select="ax-drawer"> </ng-content>
35
- <ng-content select="ax-content"></ng-content>
36
- `, isInline: true, styles: ["ax-drawer-container{position:relative;display:flex;height:100%;width:100%;overflow:hidden}ax-drawer-container.ax-fixed{bottom:0;inset-inline-end:0px;inset-inline-start:0px;top:0;z-index:50;display:none}ax-drawer-container.ax-fixed.ax-visible{display:flex}ax-drawer-container .ax-backdrop{position:absolute;bottom:0;top:0;z-index:10;height:100%;width:100%;background-color:rgba(var(--ax-comp-drawer-container-bg-color, 0, 0, 0, .2));transition-property:all;transition-duration:var(--ax-sys-transition-duration);transition-timing-function:var(--ax-sys-transition-timing-function)}ax-drawer-container>ax-content{height:100%;flex:1 1 0%;overflow:auto}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
19
+ <ng-content select="ax-content"> </ng-content>
20
+ `, isInline: true, styles: ["ax-drawer-container{width:100%;height:100%;z-index:10}ax-drawer-container>ax-content{height:100%;flex:1 1 0%}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
37
21
  }
38
22
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.6", ngImport: i0, type: AXDrawerContainerComponent, decorators: [{
39
23
  type: Component,
40
24
  args: [{ selector: 'ax-drawer-container', template: `
41
25
  <ng-content select="ax-drawer"> </ng-content>
42
- <ng-content select="ax-content"></ng-content>
43
- `, changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, providers: [AXDrawerService, { provide: AXComponent, useExisting: AXDrawerContainerComponent }], styles: ["ax-drawer-container{position:relative;display:flex;height:100%;width:100%;overflow:hidden}ax-drawer-container.ax-fixed{bottom:0;inset-inline-end:0px;inset-inline-start:0px;top:0;z-index:50;display:none}ax-drawer-container.ax-fixed.ax-visible{display:flex}ax-drawer-container .ax-backdrop{position:absolute;bottom:0;top:0;z-index:10;height:100%;width:100%;background-color:rgba(var(--ax-comp-drawer-container-bg-color, 0, 0, 0, .2));transition-property:all;transition-duration:var(--ax-sys-transition-duration);transition-timing-function:var(--ax-sys-transition-timing-function)}ax-drawer-container>ax-content{height:100%;flex:1 1 0%;overflow:auto}\n"] }]
44
- }], ctorParameters: () => [] });
26
+ <ng-content select="ax-content"> </ng-content>
27
+ `, changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, providers: [{ provide: AXComponent, useExisting: AXDrawerContainerComponent }], hostDirectives: [AXDrawerContainerDirective], styles: ["ax-drawer-container{width:100%;height:100%;z-index:10}ax-drawer-container>ax-content{height:100%;flex:1 1 0%}\n"] }]
28
+ }] });
45
29
 
46
30
  /**
47
31
  * A component that represents a drawer with header and content sections.
@@ -51,134 +35,68 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.6", ngImpor
51
35
  class AXDrawerComponent extends MXBaseComponent {
52
36
  constructor() {
53
37
  super(...arguments);
54
- this.location = model('start', ...(ngDevMode ? [{ debugName: "location" }] : []));
38
+ this.location = input('start', ...(ngDevMode ? [{ debugName: "location" }] : []));
55
39
  this.showBackdrop = input(true, ...(ngDevMode ? [{ debugName: "showBackdrop" }] : []));
56
- this.mode = model('overlay', ...(ngDevMode ? [{ debugName: "mode" }] : []));
57
- this.closeOthers = input(false, ...(ngDevMode ? [{ debugName: "closeOthers" }] : []));
58
- this.collapsed = model(true, ...(ngDevMode ? [{ debugName: "collapsed" }] : []));
59
- this.backdropElement = signal(null, ...(ngDevMode ? [{ debugName: "backdropElement" }] : []));
60
- this.loaded = signal(false, ...(ngDevMode ? [{ debugName: "loaded" }] : []));
61
- this.service = inject(AXDrawerService);
62
- this._zone = inject(NgZone);
63
- this.document = inject(DOCUMENT);
64
- this.platformID = inject(PLATFORM_ID);
40
+ this.mode = input('overlay', ...(ngDevMode ? [{ debugName: "mode" }] : []));
41
+ this.transition = input(100, ...(ngDevMode ? [{ debugName: "transition" }] : []));
42
+ this.closeOnBackdropClick = input(true, ...(ngDevMode ? [{ debugName: "closeOnBackdropClick" }] : []));
43
+ this.backdropClass = input('ax-bg-black/45', ...(ngDevMode ? [{ debugName: "backdropClass" }] : []));
44
+ this.collapsed = input(true, ...(ngDevMode ? [{ debugName: "collapsed" }] : []));
45
+ this.onBackdropClick = output();
46
+ this.collapsedStateChanged = output();
47
+ this.drawerItem = inject(AXDrawerItemDirective);
65
48
  this.#eff = effect(() => {
66
- if (!this.collapsed()) {
67
- if (this.showBackdrop() && this.mode() === 'overlay') {
68
- this._addBackdrop();
69
- }
70
- }
71
- else {
72
- this._removeBackdrop();
73
- }
49
+ this.drawerItem.mode.set(this.mode());
50
+ this.drawerItem.transition.set(this.transition());
51
+ this.drawerItem.backdropClass.set(this.backdropClass());
52
+ this.drawerItem.closeOnBackdropClick.set(this.closeOnBackdropClick());
53
+ this.drawerItem.location.set(this.location());
54
+ this.drawerItem.backDrop.set(this.showBackdrop());
55
+ this.drawerItem.collapsed.set(this.collapsed());
74
56
  }, ...(ngDevMode ? [{ debugName: "#eff" }] : []));
75
- }
76
- /**
77
- *
78
- * @ignore
79
- */
80
- ngAfterContentInit() {
81
- this._detectBoundingSize();
82
- setTimeout(() => {
83
- this.loaded.set(true);
84
- }, 5000);
85
- }
86
- /**
87
- * @ignore
88
- */
89
- ngDoCheck() {
90
- this._detectBoundingSize();
91
- }
92
- /**
93
- * @ignore
94
- */
95
- _detectBoundingSize() {
96
- this._zone.runOutsideAngular(() => {
97
- const host = this.getHostElement();
98
- if (host.clientWidth) {
99
- host.style.setProperty('--ax-sys-el-width', `${host.clientWidth}px`);
100
- }
57
+ this.#init = afterNextRender(() => {
58
+ this.drawerItem.onBackdropClick.subscribe((event) => {
59
+ this.onBackdropClick.emit({ nativeEvent: event, component: this });
60
+ });
61
+ this.drawerItem.collapseStateChanged.subscribe((event) => {
62
+ this.collapsedStateChanged.emit(event);
63
+ });
101
64
  });
102
65
  }
66
+ #eff;
67
+ #init;
103
68
  /**
104
- * Toggles the collapsed state of the drawer.
69
+ * Toggles the drawer state between open and closed.
70
+ *
71
+ * @returns void - No return value. The drawer state is toggled.
105
72
  */
106
73
  toggle() {
107
- if (this.collapsed()) {
108
- this.open();
109
- }
110
- else {
111
- this.close();
112
- }
74
+ this.drawerItem.toggle();
113
75
  }
114
76
  /**
115
- * Collapses the drawer.
116
- * @ignore
77
+ * Closes the drawer.
78
+ *
79
+ * @returns void - No return value. The drawer is collapsed.
117
80
  */
118
81
  close() {
119
- this.collapsed.set(true);
82
+ this.drawerItem.hide();
120
83
  }
121
84
  /**
122
- * Expands the drawer.
85
+ * Opens the drawer.
86
+ *
87
+ * @returns void - No return value. The drawer is expanded.
123
88
  */
124
89
  open() {
125
- if (!this.collapsed())
126
- return;
127
- this.collapsed.set(false);
128
- if (!this.closeOthers()) {
129
- this.service.drawerElements()?.forEach((element) => {
130
- if (element.location() === this.location() && element.id !== this.id) {
131
- element.close();
132
- }
133
- });
134
- }
135
- }
136
- #eff;
137
- /**
138
- * @ignore
139
- */
140
- _addBackdrop() {
141
- if (isPlatformBrowser(this.platformID)) {
142
- this._zone.runOutsideAngular(() => {
143
- const backDropElem = this.document.createElement('div');
144
- backDropElem.classList.add('ax-backdrop');
145
- backDropElem.onclick = () => {
146
- this._zone.run(() => {
147
- this.close();
148
- });
149
- };
150
- this.getHostElement()?.parentElement?.appendChild(backDropElem);
151
- this.backdropElement.set(backDropElem);
152
- });
153
- }
154
- }
155
- /**
156
- * @ignore
157
- */
158
- _removeBackdrop() {
159
- if (isBrowser()) {
160
- this._zone.runOutsideAngular(() => {
161
- if (this.backdropElement()) {
162
- this.getHostElement()?.parentElement?.removeChild(this.backdropElement());
163
- this.backdropElement.set(null);
164
- }
165
- });
166
- }
167
- }
168
- /**
169
- * @ignore
170
- */
171
- get __hostClass() {
172
- return `ax-drawer-${this.mode()} ax-drawer-${this.location()} ${this.collapsed() ? 'ax-collapsed' : 'ax-expanded'} ${this.loaded() && 'ax-state-loaded'}`;
90
+ this.drawerItem.show();
173
91
  }
174
92
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.6", ngImport: i0, type: AXDrawerComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
175
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "20.3.6", type: AXDrawerComponent, isStandalone: true, selector: "ax-drawer", inputs: { location: { classPropertyName: "location", publicName: "location", isSignal: true, isRequired: false, transformFunction: null }, showBackdrop: { classPropertyName: "showBackdrop", publicName: "showBackdrop", isSignal: true, isRequired: false, transformFunction: null }, mode: { classPropertyName: "mode", publicName: "mode", isSignal: true, isRequired: false, transformFunction: null }, closeOthers: { classPropertyName: "closeOthers", publicName: "closeOthers", isSignal: true, isRequired: false, transformFunction: null }, collapsed: { classPropertyName: "collapsed", publicName: "collapsed", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { location: "locationChange", mode: "modeChange", collapsed: "collapsedChange" }, host: { properties: { "class": "this.__hostClass" } }, providers: [
93
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "20.3.6", type: AXDrawerComponent, isStandalone: true, selector: "ax-drawer", inputs: { location: { classPropertyName: "location", publicName: "location", isSignal: true, isRequired: false, transformFunction: null }, showBackdrop: { classPropertyName: "showBackdrop", publicName: "showBackdrop", isSignal: true, isRequired: false, transformFunction: null }, mode: { classPropertyName: "mode", publicName: "mode", isSignal: true, isRequired: false, transformFunction: null }, transition: { classPropertyName: "transition", publicName: "transition", isSignal: true, isRequired: false, transformFunction: null }, closeOnBackdropClick: { classPropertyName: "closeOnBackdropClick", publicName: "closeOnBackdropClick", isSignal: true, isRequired: false, transformFunction: null }, backdropClass: { classPropertyName: "backdropClass", publicName: "backdropClass", isSignal: true, isRequired: false, transformFunction: null }, collapsed: { classPropertyName: "collapsed", publicName: "collapsed", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { onBackdropClick: "onBackdropClick", collapsedStateChanged: "collapsedStateChanged" }, providers: [
176
94
  { provide: AXComponent, useExisting: AXDrawerComponent },
177
95
  { provide: AXClosableComponent, useExisting: AXDrawerComponent },
178
- ], usesInheritance: true, ngImport: i0, template: `
96
+ ], usesInheritance: true, hostDirectives: [{ directive: i1.AXDrawerItemDirective }], ngImport: i0, template: `
179
97
  <ng-content select="ax-header"></ng-content>
180
98
  <ng-content select="ax-content"></ng-content>
181
- `, isInline: true, styles: ["ax-drawer{height:100%;display:flex;max-width:95%;flex-direction:column}ax-drawer>ax-content{flex:1 1 0%;overflow:auto}ax-drawer.ax-drawer-overlay{position:absolute;transition-property:background-color,color;transition-duration:var(--ax-sys-transition-duration);transition-timing-function:var(--ax-sys-transition-timing-function)}ax-drawer.ax-drawer-overlay.ax-expanded{z-index:20}ax-drawer.ax-drawer-overlay.ax-collapsed{z-index:0}ax-drawer.ax-drawer-overlay.ax-drawer-start.ax-expanded{inset-inline-start:0px}ax-drawer.ax-drawer-overlay.ax-drawer-start.ax-collapsed{inset-inline-start:calc(-1 * var(--ax-sys-el-width))}ax-drawer.ax-drawer-overlay.ax-drawer-end.ax-expanded{inset-inline-end:0px}ax-drawer.ax-drawer-overlay.ax-drawer-end.ax-collapsed{inset-inline-end:calc(-1 * var(--ax-sys-el-width))}ax-drawer.ax-drawer-push{flex:0 1 auto}ax-drawer.ax-drawer-push.ax-expanded{z-index:20}ax-drawer.ax-drawer-push.ax-collapsed{z-index:0}ax-drawer.ax-drawer-push.ax-drawer-start{order:-9999}ax-drawer.ax-drawer-push.ax-drawer-start.ax-expanded{margin-inline-start:0px}ax-drawer.ax-drawer-push.ax-drawer-start.ax-collapsed{margin-inline-start:calc(-1 * var(--ax-sys-el-width))}ax-drawer.ax-drawer-push.ax-drawer-end{order:9999}ax-drawer.ax-drawer-push.ax-drawer-end.ax-expanded{margin-inline-end:0px}ax-drawer.ax-drawer-push.ax-drawer-end.ax-collapsed{margin-inline-end:calc(-1 * var(--ax-sys-el-width))}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
99
+ `, isInline: true, styles: ["ax-drawer>ax-content{flex:1 1 0%;width:100%;height:100%}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
182
100
  }
183
101
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.6", ngImport: i0, type: AXDrawerComponent, decorators: [{
184
102
  type: Component,
@@ -188,17 +106,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.6", ngImpor
188
106
  `, changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, providers: [
189
107
  { provide: AXComponent, useExisting: AXDrawerComponent },
190
108
  { provide: AXClosableComponent, useExisting: AXDrawerComponent },
191
- ], styles: ["ax-drawer{height:100%;display:flex;max-width:95%;flex-direction:column}ax-drawer>ax-content{flex:1 1 0%;overflow:auto}ax-drawer.ax-drawer-overlay{position:absolute;transition-property:background-color,color;transition-duration:var(--ax-sys-transition-duration);transition-timing-function:var(--ax-sys-transition-timing-function)}ax-drawer.ax-drawer-overlay.ax-expanded{z-index:20}ax-drawer.ax-drawer-overlay.ax-collapsed{z-index:0}ax-drawer.ax-drawer-overlay.ax-drawer-start.ax-expanded{inset-inline-start:0px}ax-drawer.ax-drawer-overlay.ax-drawer-start.ax-collapsed{inset-inline-start:calc(-1 * var(--ax-sys-el-width))}ax-drawer.ax-drawer-overlay.ax-drawer-end.ax-expanded{inset-inline-end:0px}ax-drawer.ax-drawer-overlay.ax-drawer-end.ax-collapsed{inset-inline-end:calc(-1 * var(--ax-sys-el-width))}ax-drawer.ax-drawer-push{flex:0 1 auto}ax-drawer.ax-drawer-push.ax-expanded{z-index:20}ax-drawer.ax-drawer-push.ax-collapsed{z-index:0}ax-drawer.ax-drawer-push.ax-drawer-start{order:-9999}ax-drawer.ax-drawer-push.ax-drawer-start.ax-expanded{margin-inline-start:0px}ax-drawer.ax-drawer-push.ax-drawer-start.ax-collapsed{margin-inline-start:calc(-1 * var(--ax-sys-el-width))}ax-drawer.ax-drawer-push.ax-drawer-end{order:9999}ax-drawer.ax-drawer-push.ax-drawer-end.ax-expanded{margin-inline-end:0px}ax-drawer.ax-drawer-push.ax-drawer-end.ax-collapsed{margin-inline-end:calc(-1 * var(--ax-sys-el-width))}\n"] }]
192
- }], propDecorators: { location: [{ type: i0.Input, args: [{ isSignal: true, alias: "location", required: false }] }, { type: i0.Output, args: ["locationChange"] }], showBackdrop: [{ type: i0.Input, args: [{ isSignal: true, alias: "showBackdrop", required: false }] }], mode: [{ type: i0.Input, args: [{ isSignal: true, alias: "mode", required: false }] }, { type: i0.Output, args: ["modeChange"] }], closeOthers: [{ type: i0.Input, args: [{ isSignal: true, alias: "closeOthers", required: false }] }], collapsed: [{ type: i0.Input, args: [{ isSignal: true, alias: "collapsed", required: false }] }, { type: i0.Output, args: ["collapsedChange"] }], __hostClass: [{
193
- type: HostBinding,
194
- args: ['class']
195
- }] } });
109
+ ], hostDirectives: [AXDrawerItemDirective], styles: ["ax-drawer>ax-content{flex:1 1 0%;width:100%;height:100%}\n"] }]
110
+ }], propDecorators: { location: [{ type: i0.Input, args: [{ isSignal: true, alias: "location", required: false }] }], showBackdrop: [{ type: i0.Input, args: [{ isSignal: true, alias: "showBackdrop", required: false }] }], mode: [{ type: i0.Input, args: [{ isSignal: true, alias: "mode", required: false }] }], transition: [{ type: i0.Input, args: [{ isSignal: true, alias: "transition", required: false }] }], closeOnBackdropClick: [{ type: i0.Input, args: [{ isSignal: true, alias: "closeOnBackdropClick", required: false }] }], backdropClass: [{ type: i0.Input, args: [{ isSignal: true, alias: "backdropClass", required: false }] }], collapsed: [{ type: i0.Input, args: [{ isSignal: true, alias: "collapsed", required: false }] }], onBackdropClick: [{ type: i0.Output, args: ["onBackdropClick"] }], collapsedStateChanged: [{ type: i0.Output, args: ["collapsedStateChanged"] }] } });
196
111
 
197
112
  const COMPONENT = [AXDrawerComponent, AXDrawerContainerComponent];
198
- const MODULES = [CommonModule];
113
+ const MODULES = [];
199
114
  class AXDrawerModule {
200
115
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.6", ngImport: i0, type: AXDrawerModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
201
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.6", ngImport: i0, type: AXDrawerModule, imports: [CommonModule, AXDrawerComponent, AXDrawerContainerComponent], exports: [AXDrawerComponent, AXDrawerContainerComponent] }); }
116
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.6", ngImport: i0, type: AXDrawerModule, imports: [AXDrawerComponent, AXDrawerContainerComponent], exports: [AXDrawerComponent, AXDrawerContainerComponent] }); }
202
117
  static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.6", ngImport: i0, type: AXDrawerModule, imports: [MODULES] }); }
203
118
  }
204
119
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.6", ngImport: i0, type: AXDrawerModule, decorators: [{