@acorex/components 18.9.5 → 18.9.7

Sign up to get free protection for your applications and to get access to all the features.
Files changed (26) hide show
  1. package/drawer/index.d.ts +2 -2
  2. package/drawer/lib/{drawer-container.component.d.ts → drawer/drawer-container/drawer-container.component.d.ts} +3 -4
  3. package/drawer/lib/drawer/drawer-item/drawer.component.d.ts +65 -0
  4. package/drawer/lib/drawer.module.d.ts +2 -2
  5. package/drawer/lib/drawer.service.d.ts +7 -0
  6. package/esm2022/calendar/lib/calendar-range.component.mjs +28 -6
  7. package/esm2022/calendar/lib/calendar.component.mjs +2 -2
  8. package/esm2022/decorators/lib/components/close-button.component.mjs +3 -2
  9. package/esm2022/drawer/index.mjs +3 -3
  10. package/esm2022/drawer/lib/drawer/drawer-container/drawer-container.component.mjs +34 -0
  11. package/esm2022/drawer/lib/drawer/drawer-item/drawer.component.mjs +151 -0
  12. package/esm2022/drawer/lib/drawer.module.mjs +3 -3
  13. package/esm2022/drawer/lib/drawer.service.mjs +13 -0
  14. package/esm2022/paint/lib/paint.module.mjs +2 -2
  15. package/fesm2022/acorex-components-calendar.mjs +26 -5
  16. package/fesm2022/acorex-components-calendar.mjs.map +1 -1
  17. package/fesm2022/acorex-components-decorators.mjs +1 -0
  18. package/fesm2022/acorex-components-decorators.mjs.map +1 -1
  19. package/fesm2022/acorex-components-drawer.mjs +75 -173
  20. package/fesm2022/acorex-components-drawer.mjs.map +1 -1
  21. package/fesm2022/acorex-components-paint.mjs +2 -2
  22. package/fesm2022/acorex-components-paint.mjs.map +1 -1
  23. package/package.json +72 -72
  24. package/drawer/lib/drawer.component.d.ts +0 -143
  25. package/esm2022/drawer/lib/drawer-container.component.mjs +0 -40
  26. package/esm2022/drawer/lib/drawer.component.mjs +0 -252
@@ -1,40 +0,0 @@
1
- import { MXBaseComponent } from '@acorex/components/common';
2
- import { ChangeDetectionStrategy, Component, ViewEncapsulation } from '@angular/core';
3
- import * as i0 from "@angular/core";
4
- /**
5
- * A container component that organizes and positions drawer components.
6
- * @category component
7
- */
8
- export class AXDrawerContainerComponent extends MXBaseComponent {
9
- /**
10
- * @ignore
11
- */
12
- ngDoCheck() {
13
- const host = this.getHostElement();
14
- Array.from(host.querySelectorAll('ax-drawer'))
15
- .map((c) => c['__axContext__'])
16
- .some((c) => !c?.collapsed)
17
- ? host.classList.add('ax-visible')
18
- : host.classList.remove('ax-visible');
19
- }
20
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXDrawerContainerComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
21
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.0", type: AXDrawerContainerComponent, selector: "ax-drawer-container", usesInheritance: true, ngImport: i0, template: `
22
- <ng-content select="ax-drawer[location='start']"> </ng-content>
23
- <ng-content select="ax-content"> </ng-content>
24
- <ng-content select="ax-drawer[location='end']"> </ng-content>
25
- `, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
26
- }
27
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXDrawerContainerComponent, decorators: [{
28
- type: Component,
29
- args: [{
30
- selector: 'ax-drawer-container',
31
- template: `
32
- <ng-content select="ax-drawer[location='start']"> </ng-content>
33
- <ng-content select="ax-content"> </ng-content>
34
- <ng-content select="ax-drawer[location='end']"> </ng-content>
35
- `,
36
- changeDetection: ChangeDetectionStrategy.OnPush,
37
- encapsulation: ViewEncapsulation.None,
38
- }]
39
- }] });
40
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZHJhd2VyLWNvbnRhaW5lci5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9saWJzL2NvbXBvbmVudHMvZHJhd2VyL3NyYy9saWIvZHJhd2VyLWNvbnRhaW5lci5jb21wb25lbn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HRoaXMuZ2V0SG9zdEVsZW1lbnQoKTtcbiAgICBBcnJheS5mcm9tKGhvc3QucXVlcnlTZWxlY3RvckFsbCgnYXgtZHJhd2VyJykpXG4gICAgICAubWFwKChjKSA9PiBjWydfX2F4Q29udGV4dF9fJ10gYXMgQVhEcmF3ZXJDb21wb25lbnQpXG4gICAgICAuc29tZSgoYykgPT4gIWM/LmNvbGxhcHNlZClcbiAgICAgID8gaG9zdC5jbGFzc0xpc3QuYWRkKCdheC12aXNpYmxlJylcbiAgICAgIDogaG9zdC5jbGFzc0xpc3QucmVtb3ZlKCdheC12aXNpYmxlJyk7XG4gIH1cbn1cbiJdfQ==
@@ -1,252 +0,0 @@
1
- import { AXClosbaleComponent, AXComponent, MXBaseComponent } from '@acorex/components/common';
2
- import { isBrowser } from '@acorex/core/platform';
3
- import { ChangeDetectionStrategy, Component, EventEmitter, HostBinding, Input, NgZone, Output, ViewEncapsulation } from '@angular/core';
4
- import * as i0 from "@angular/core";
5
- /**
6
- * A component that represents a drawer with header and content sections.
7
- *
8
- * @category Components
9
- */
10
- export class AXDrawerComponent extends MXBaseComponent {
11
- /**
12
- * @ignore
13
- */
14
- constructor(_zone) {
15
- super();
16
- this._zone = _zone;
17
- /**
18
- * Emits when the drawer's location changes.
19
- *
20
- * @event
21
- */
22
- this.locationChange = new EventEmitter();
23
- /**
24
- * @ignore
25
- */
26
- this._location = 'start';
27
- /**
28
- * @ignore
29
- */
30
- this._showBackdrop = true;
31
- /**
32
- * Emitted when the drawer mode changes.
33
- *
34
- * @event
35
- */
36
- this.modeChange = new EventEmitter();
37
- /**
38
- * @ignore
39
- */
40
- this._mode = 'overlay';
41
- /**
42
- * Emitted when the collapsed state of the drawer changes.
43
- *
44
- * @event
45
- */
46
- this.collapsedChange = new EventEmitter();
47
- /**
48
- * @ignore
49
- */
50
- this._collapsed = true;
51
- /**
52
- * @ignore
53
- */
54
- this._loaded = false;
55
- }
56
- /**
57
- * Gets the location of the drawer.
58
- */
59
- get location() {
60
- return this._location;
61
- }
62
- /**
63
- * Sets the location of the drawer.
64
- *
65
- * @param v The new location of the drawer.
66
- */
67
- set location(v) {
68
- this.setOption({
69
- name: 'location',
70
- value: v,
71
- });
72
- }
73
- /**
74
- * Gets whether the backdrop is shown.
75
- */
76
- get showBackdrop() {
77
- return this._showBackdrop;
78
- }
79
- /**
80
- * Sets whether the backdrop should be shown.
81
- *
82
- * @param v
83
- */
84
- set showBackdrop(v) {
85
- this.setOption({
86
- name: 'showBackdrop',
87
- value: v,
88
- });
89
- }
90
- /**
91
- * Gets the current mode of the drawer.
92
- */
93
- get mode() {
94
- return this._mode;
95
- }
96
- /**
97
- * Sets the mode of the drawer.
98
- *
99
- * @param v The new mode to set.
100
- */
101
- set mode(v) {
102
- this.setOption({
103
- name: 'mode',
104
- value: v,
105
- });
106
- }
107
- /**
108
- * Gets the collapsed state of the drawer.
109
- */
110
- get collapsed() {
111
- return this._collapsed;
112
- }
113
- /**
114
- * Sets the collapsed state of the drawer.
115
- *
116
- * @param v The new collapsed state.
117
- */
118
- set collapsed(v) {
119
- this.setOption({
120
- name: 'collapsed',
121
- value: v,
122
- });
123
- }
124
- /**
125
- * @ignore
126
- */
127
- ngAfterContentInit() {
128
- this._detectBoundingSize();
129
- this._loaded = true;
130
- }
131
- internalOptionChanged(option) {
132
- this._checkProps();
133
- }
134
- /**
135
- * @ignore
136
- */
137
- ngDoCheck() {
138
- this._detectBoundingSize();
139
- }
140
- /**
141
- * @ignore
142
- */
143
- _detectBoundingSize() {
144
- this._zone.runOutsideAngular(() => {
145
- const host = this.getHostElement();
146
- if (host.clientWidth) {
147
- host.style.setProperty('--ax-el-width', `${host.clientWidth}px`);
148
- }
149
- });
150
- }
151
- /**
152
- * @ignore
153
- */
154
- _checkProps() {
155
- this._detectBoundingSize();
156
- this._removeBackdrop();
157
- if (this.mode == 'overlay' && !this.collapsed && this.showBackdrop) {
158
- this._addBackdrop();
159
- }
160
- }
161
- /**
162
- * Toggles the collapsed state of the drawer.
163
- */
164
- toggle() {
165
- this.collapsed = !this.collapsed;
166
- }
167
- /**
168
- * Collapses the drawer.
169
- * @ignore
170
- */
171
- close() {
172
- this.collapsed = true;
173
- }
174
- /**
175
- * Expands the drawer.
176
- */
177
- open() {
178
- this.collapsed = false;
179
- }
180
- /**
181
- * @ignore
182
- */
183
- get __hostClass() {
184
- return `ax-drawer-${this.mode} ax-drawer-${this.location} ${this.collapsed ? 'ax-collapsed' : 'ax-expanded'} ${this._loaded ? 'ax-state-loaded' : ''}`;
185
- }
186
- /**
187
- * @ignore
188
- */
189
- _addBackdrop() {
190
- if (isBrowser()) {
191
- this._zone.runOutsideAngular(() => {
192
- this._backdropElement = document.createElement('div');
193
- this._backdropElement.classList.add('ax-backdrop');
194
- this._backdropElement.onclick = () => {
195
- this._zone.run(() => {
196
- this.close();
197
- });
198
- };
199
- this.getHostElement()?.parentElement?.appendChild(this._backdropElement);
200
- });
201
- }
202
- }
203
- /**
204
- * @ignore
205
- */
206
- _removeBackdrop() {
207
- if (isBrowser()) {
208
- this._zone.runOutsideAngular(() => {
209
- if (this._backdropElement) {
210
- this.getHostElement()?.parentElement?.removeChild(this._backdropElement);
211
- this._backdropElement = null;
212
- }
213
- });
214
- }
215
- }
216
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXDrawerComponent, deps: [{ token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component }); }
217
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.0", type: AXDrawerComponent, selector: "ax-drawer", inputs: { location: "location", showBackdrop: "showBackdrop", mode: "mode", collapsed: "collapsed" }, outputs: { locationChange: "locationChange", modeChange: "modeChange", collapsedChange: "collapsedChange" }, host: { properties: { "class": "this.__hostClass" } }, providers: [
218
- { provide: AXComponent, useExisting: AXDrawerComponent },
219
- { provide: AXClosbaleComponent, useExisting: AXDrawerComponent },
220
- ], usesInheritance: true, ngImport: i0, template: `
221
- <ng-content select="ax-header"></ng-content>
222
- <ng-content select="ax-content"></ng-content>
223
- `, 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:#0003;transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}ax-drawer-container ax-drawer{display:flex;height:100%;max-width:95%;flex-direction:column;background-color:rgba(var(--ax-color-surface))}ax-drawer-container ax-drawer.ax-state-loaded{transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}ax-drawer-container ax-drawer ax-header,ax-drawer-container ax-drawer ax-footer{padding:.75rem}ax-drawer-container ax-drawer ax-footer{border-top-width:1px;border-color:rgba(var(--ax-color-border-default))}ax-drawer-container ax-drawer ax-header{border-bottom-width:1px;border-color:rgba(var(--ax-color-border-default))}ax-drawer-container ax-drawer>ax-content{flex:1 1 0%;overflow:auto}ax-drawer-container ax-drawer.ax-drawer-overlay{position:absolute}ax-drawer-container ax-drawer.ax-drawer-overlay.ax-expanded{z-index:20}ax-drawer-container ax-drawer.ax-drawer-overlay.ax-collapsed{z-index:0}ax-drawer-container ax-drawer.ax-drawer-overlay.ax-drawer-start.ax-expanded{inset-inline-start:0px}ax-drawer-container ax-drawer.ax-drawer-overlay.ax-drawer-start.ax-collapsed{inset-inline-start:calc(-1 * var(--ax-el-width))}ax-drawer-container ax-drawer.ax-drawer-overlay.ax-drawer-end.ax-expanded{inset-inline-end:0px}ax-drawer-container ax-drawer.ax-drawer-overlay.ax-drawer-end.ax-collapsed{inset-inline-end:calc(-1 * var(--ax-el-width))}ax-drawer-container ax-drawer.ax-drawer-push{flex:0 1 auto}ax-drawer-container ax-drawer.ax-drawer-push.ax-drawer-start{order:-9999}ax-drawer-container ax-drawer.ax-drawer-push.ax-drawer-start.ax-expanded{margin-inline-start:0px}ax-drawer-container ax-drawer.ax-drawer-push.ax-drawer-start.ax-collapsed{margin-inline-start:calc(-1 * var(--ax-el-width))}ax-drawer-container ax-drawer.ax-drawer-push.ax-drawer-end{order:9999}ax-drawer-container ax-drawer.ax-drawer-push.ax-drawer-end.ax-expanded{margin-inline-end:0px}ax-drawer-container ax-drawer.ax-drawer-push.ax-drawer-end.ax-collapsed{margin-inline-end:calc(-1 * var(--ax-el-width))}ax-drawer-container>ax-content{height:100%;flex:1 1 0%;overflow:auto}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
224
- }
225
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXDrawerComponent, decorators: [{
226
- type: Component,
227
- args: [{ selector: 'ax-drawer', template: `
228
- <ng-content select="ax-header"></ng-content>
229
- <ng-content select="ax-content"></ng-content>
230
- `, changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, providers: [
231
- { provide: AXComponent, useExisting: AXDrawerComponent },
232
- { provide: AXClosbaleComponent, useExisting: AXDrawerComponent },
233
- ], 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:#0003;transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}ax-drawer-container ax-drawer{display:flex;height:100%;max-width:95%;flex-direction:column;background-color:rgba(var(--ax-color-surface))}ax-drawer-container ax-drawer.ax-state-loaded{transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}ax-drawer-container ax-drawer ax-header,ax-drawer-container ax-drawer ax-footer{padding:.75rem}ax-drawer-container ax-drawer ax-footer{border-top-width:1px;border-color:rgba(var(--ax-color-border-default))}ax-drawer-container ax-drawer ax-header{border-bottom-width:1px;border-color:rgba(var(--ax-color-border-default))}ax-drawer-container ax-drawer>ax-content{flex:1 1 0%;overflow:auto}ax-drawer-container ax-drawer.ax-drawer-overlay{position:absolute}ax-drawer-container ax-drawer.ax-drawer-overlay.ax-expanded{z-index:20}ax-drawer-container ax-drawer.ax-drawer-overlay.ax-collapsed{z-index:0}ax-drawer-container ax-drawer.ax-drawer-overlay.ax-drawer-start.ax-expanded{inset-inline-start:0px}ax-drawer-container ax-drawer.ax-drawer-overlay.ax-drawer-start.ax-collapsed{inset-inline-start:calc(-1 * var(--ax-el-width))}ax-drawer-container ax-drawer.ax-drawer-overlay.ax-drawer-end.ax-expanded{inset-inline-end:0px}ax-drawer-container ax-drawer.ax-drawer-overlay.ax-drawer-end.ax-collapsed{inset-inline-end:calc(-1 * var(--ax-el-width))}ax-drawer-container ax-drawer.ax-drawer-push{flex:0 1 auto}ax-drawer-container ax-drawer.ax-drawer-push.ax-drawer-start{order:-9999}ax-drawer-container ax-drawer.ax-drawer-push.ax-drawer-start.ax-expanded{margin-inline-start:0px}ax-drawer-container ax-drawer.ax-drawer-push.ax-drawer-start.ax-collapsed{margin-inline-start:calc(-1 * var(--ax-el-width))}ax-drawer-container ax-drawer.ax-drawer-push.ax-drawer-end{order:9999}ax-drawer-container ax-drawer.ax-drawer-push.ax-drawer-end.ax-expanded{margin-inline-end:0px}ax-drawer-container ax-drawer.ax-drawer-push.ax-drawer-end.ax-collapsed{margin-inline-end:calc(-1 * var(--ax-el-width))}ax-drawer-container>ax-content{height:100%;flex:1 1 0%;overflow:auto}\n"] }]
234
- }], ctorParameters: () => [{ type: i0.NgZone }], propDecorators: { locationChange: [{
235
- type: Output
236
- }], location: [{
237
- type: Input
238
- }], showBackdrop: [{
239
- type: Input
240
- }], modeChange: [{
241
- type: Output
242
- }], mode: [{
243
- type: Input
244
- }], collapsedChange: [{
245
- type: Output
246
- }], collapsed: [{
247
- type: Input
248
- }], __hostClass: [{
249
- type: HostBinding,
250
- args: ['class']
251
- }] } });
252
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZHJhd2VyLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL2xpYnMvY29tcG9uZW50cy9kcmF3ZXIvc3JjL2xpYi9kcmF3ZXIuY29tcG9uZW50LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxtQkFBbUIsRUFBRSxXQUFXLEVBQUUsZUFBZSxFQUE0QixNQUFNLDJCQUEyQixDQUFDO0FBQ3hILE9BQU8sRUFBRSxTQUFTLEVBQUUsTUFBTSx1QkFBdUIsQ0FBQztBQUNsRCxPQUFPLEVBQUUsdUJBQXVCLEVBQUUsU0FBUyxFQUFFLFlBQVksRUFBRSxXQUFXLEVBQUUsS0FBSyxFQUFFLE1BQU0sRUFBRSxNQUFNLEVBQUUsaUJBQWlCLEVBQUUsTUFBTSxlQUFlLENBQUM7O0FBS3hJOzs7O0dBSUc7QUFlSCxNQUFNLE9BQU8saUJBQWtCLFNBQVEsZUFBZTtJQUNwRDs7T0FFRztJQUNILFlBQW9CLEtBQWE7UUFDL0IsS0FBSyxFQUFFLENBQUM7UUFEVSxVQUFLLEdBQUwsS0FBSyxDQUFRO1FBSWpDOzs7O1dBSUc7UUFFSSxtQkFBYyxHQUFtQyxJQUFJLFlBQVksRUFBb0IsQ0FBQztRQUU3Rjs7V0FFRztRQUNLLGNBQVMsR0FBcUIsT0FBTyxDQUFDO1FBc0I5Qzs7V0FFRztRQUNLLGtCQUFhLEdBQVksSUFBSSxDQUFDO1FBc0J0Qzs7OztXQUlHO1FBRUksZUFBVSxHQUErQixJQUFJLFlBQVksRUFBZ0IsQ0FBQztRQ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