@acorex/components 21.0.1-next.17 → 21.0.1-next.19

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 (118) hide show
  1. package/action-sheet/index.d.ts +92 -32
  2. package/fesm2022/acorex-components-accordion.mjs +10 -10
  3. package/fesm2022/acorex-components-action-sheet.mjs +169 -51
  4. package/fesm2022/acorex-components-action-sheet.mjs.map +1 -1
  5. package/fesm2022/acorex-components-alert.mjs +7 -7
  6. package/fesm2022/acorex-components-aspect-ratio.mjs +3 -3
  7. package/fesm2022/acorex-components-audio-wave.mjs +7 -7
  8. package/fesm2022/acorex-components-autocomplete.mjs +7 -7
  9. package/fesm2022/acorex-components-avatar.mjs +10 -10
  10. package/fesm2022/acorex-components-badge.mjs +7 -7
  11. package/fesm2022/acorex-components-bottom-navigation.mjs +10 -10
  12. package/fesm2022/acorex-components-breadcrumbs.mjs +10 -10
  13. package/fesm2022/acorex-components-button-group.mjs +10 -10
  14. package/fesm2022/acorex-components-button.mjs +13 -13
  15. package/fesm2022/acorex-components-calendar.mjs +13 -13
  16. package/fesm2022/acorex-components-check-box.mjs +7 -7
  17. package/fesm2022/acorex-components-chips.mjs +7 -7
  18. package/fesm2022/acorex-components-circular-progress.mjs +7 -7
  19. package/fesm2022/acorex-components-code-editor.mjs +10 -10
  20. package/fesm2022/acorex-components-collapse.mjs +10 -10
  21. package/fesm2022/acorex-components-color-box.mjs +7 -7
  22. package/fesm2022/acorex-components-color-palette.mjs +28 -28
  23. package/fesm2022/acorex-components-command.mjs +7 -7
  24. package/fesm2022/acorex-components-comment.mjs +28 -28
  25. package/fesm2022/acorex-components-conversation.mjs +49 -49
  26. package/fesm2022/acorex-components-conversation2.mjs +184 -184
  27. package/fesm2022/acorex-components-cron-job.mjs +46 -46
  28. package/fesm2022/acorex-components-data-list.mjs +3 -3
  29. package/fesm2022/acorex-components-data-pager.mjs +31 -31
  30. package/fesm2022/acorex-components-data-table.mjs +34 -34
  31. package/fesm2022/acorex-components-datetime-box.mjs +7 -7
  32. package/fesm2022/acorex-components-datetime-input.mjs +7 -7
  33. package/fesm2022/acorex-components-datetime-picker.mjs +7 -7
  34. package/fesm2022/acorex-components-decorators.mjs +25 -25
  35. package/fesm2022/acorex-components-dialog.mjs +10 -10
  36. package/fesm2022/acorex-components-drawer-legacy.mjs +13 -13
  37. package/fesm2022/acorex-components-drawer.mjs +10 -10
  38. package/fesm2022/acorex-components-dropdown-button.mjs +7 -7
  39. package/fesm2022/acorex-components-dropdown.mjs +15 -15
  40. package/fesm2022/acorex-components-dropdown.mjs.map +1 -1
  41. package/fesm2022/acorex-components-editor.mjs +7 -7
  42. package/fesm2022/acorex-components-file-explorer.mjs +25 -25
  43. package/fesm2022/acorex-components-flow-chart.mjs +16 -16
  44. package/fesm2022/acorex-components-form.mjs +16 -16
  45. package/fesm2022/acorex-components-grid-layout-builder.mjs +10 -10
  46. package/fesm2022/acorex-components-image-editor.mjs +34 -34
  47. package/fesm2022/acorex-components-image.mjs +7 -7
  48. package/fesm2022/acorex-components-json-viewer.mjs +7 -7
  49. package/fesm2022/acorex-components-kanban.mjs +3 -3
  50. package/fesm2022/acorex-components-kbd.mjs +6 -6
  51. package/fesm2022/acorex-components-label.mjs +7 -7
  52. package/fesm2022/acorex-components-list.mjs +7 -7
  53. package/fesm2022/acorex-components-loading-dialog.mjs +10 -10
  54. package/fesm2022/acorex-components-loading.mjs +16 -16
  55. package/fesm2022/acorex-components-map.mjs +13 -13
  56. package/fesm2022/acorex-components-media-viewer.mjs +34 -34
  57. package/fesm2022/acorex-components-menu.mjs +16 -16
  58. package/fesm2022/{acorex-components-modal-acorex-components-modal-CGfi_Wxa.mjs → acorex-components-modal-acorex-components-modal-BajlPo_n.mjs} +21 -21
  59. package/fesm2022/{acorex-components-modal-acorex-components-modal-CGfi_Wxa.mjs.map → acorex-components-modal-acorex-components-modal-BajlPo_n.mjs.map} +1 -1
  60. package/fesm2022/{acorex-components-modal-modal-content.component-BCxvFqL1.mjs → acorex-components-modal-modal-content.component-BVrBX4Qf.mjs} +5 -5
  61. package/fesm2022/{acorex-components-modal-modal-content.component-BCxvFqL1.mjs.map → acorex-components-modal-modal-content.component-BVrBX4Qf.mjs.map} +1 -1
  62. package/fesm2022/acorex-components-modal.mjs +1 -1
  63. package/fesm2022/acorex-components-navbar.mjs +7 -7
  64. package/fesm2022/acorex-components-notification.mjs +10 -10
  65. package/fesm2022/acorex-components-number-box-legacy.mjs +7 -7
  66. package/fesm2022/acorex-components-number-box.mjs +7 -7
  67. package/fesm2022/acorex-components-otp.mjs +7 -7
  68. package/fesm2022/acorex-components-page.mjs +10 -10
  69. package/fesm2022/acorex-components-paint.mjs +25 -25
  70. package/fesm2022/acorex-components-password-box.mjs +10 -10
  71. package/fesm2022/acorex-components-pdf-reader.mjs +7 -7
  72. package/fesm2022/acorex-components-phone-box.mjs +7 -7
  73. package/fesm2022/acorex-components-picker.mjs +13 -13
  74. package/fesm2022/acorex-components-popover.mjs +8 -7
  75. package/fesm2022/acorex-components-popover.mjs.map +1 -1
  76. package/fesm2022/acorex-components-popup.mjs +13 -13
  77. package/fesm2022/acorex-components-progress-bar.mjs +7 -7
  78. package/fesm2022/acorex-components-qrcode.mjs +7 -7
  79. package/fesm2022/acorex-components-query-builder.mjs +7 -7
  80. package/fesm2022/acorex-components-radio.mjs +7 -7
  81. package/fesm2022/acorex-components-rail-navigation.mjs +13 -13
  82. package/fesm2022/acorex-components-range-slider.mjs +7 -7
  83. package/fesm2022/acorex-components-rate-picker.mjs +7 -7
  84. package/fesm2022/acorex-components-rest-api-generator.mjs +22 -22
  85. package/fesm2022/acorex-components-result.mjs +7 -7
  86. package/fesm2022/acorex-components-routing-progress.mjs +7 -7
  87. package/fesm2022/acorex-components-rrule.mjs +9 -9
  88. package/fesm2022/acorex-components-scheduler-picker.mjs +54 -54
  89. package/fesm2022/acorex-components-scheduler.mjs +34 -34
  90. package/fesm2022/acorex-components-scss.mjs +4 -4
  91. package/fesm2022/acorex-components-search-box.mjs +7 -7
  92. package/fesm2022/acorex-components-select-box.mjs +7 -7
  93. package/fesm2022/acorex-components-selection-list-2.mjs +7 -7
  94. package/fesm2022/acorex-components-selection-list.mjs +7 -7
  95. package/fesm2022/acorex-components-side-menu.mjs +13 -13
  96. package/fesm2022/acorex-components-skeleton.mjs +7 -7
  97. package/fesm2022/acorex-components-slider.mjs +7 -7
  98. package/fesm2022/acorex-components-sliding-item.mjs +13 -13
  99. package/fesm2022/acorex-components-step-wizard.mjs +13 -13
  100. package/fesm2022/acorex-components-switch.mjs +10 -10
  101. package/fesm2022/acorex-components-tabs.mjs +13 -13
  102. package/fesm2022/acorex-components-tag-box.mjs +7 -7
  103. package/fesm2022/acorex-components-tag.mjs +7 -7
  104. package/fesm2022/acorex-components-text-area.mjs +7 -7
  105. package/fesm2022/acorex-components-text-box.mjs +10 -10
  106. package/fesm2022/acorex-components-time-duration.mjs +7 -7
  107. package/fesm2022/acorex-components-time-line.mjs +10 -10
  108. package/fesm2022/acorex-components-toast.mjs +10 -10
  109. package/fesm2022/acorex-components-toolbar.mjs +7 -7
  110. package/fesm2022/acorex-components-tooltip.mjs +53 -56
  111. package/fesm2022/acorex-components-tooltip.mjs.map +1 -1
  112. package/fesm2022/acorex-components-tree-view-legacy.mjs +10 -10
  113. package/fesm2022/acorex-components-tree-view.mjs +10 -10
  114. package/fesm2022/acorex-components-uploader.mjs +13 -13
  115. package/fesm2022/acorex-components-video-player.mjs +7 -7
  116. package/fesm2022/acorex-components-wysiwyg.mjs +34 -34
  117. package/package.json +3 -3
  118. package/tooltip/index.d.ts +1 -3
@@ -1,7 +1,8 @@
1
+ import * as _angular_core from '@angular/core';
2
+ import { TemplateRef, Type, OnInit, AfterViewInit, OnDestroy } from '@angular/core';
1
3
  import { AXStyleColorType, AXComponentCloseEvent, MXBaseComponent } from '@acorex/cdk/common';
2
4
  import { AXOverlayRef } from '@acorex/cdk/overlay';
3
- import * as i0 from '@angular/core';
4
- import { TemplateRef, Type, OnInit, OnDestroy, ComponentRef } from '@angular/core';
5
+ import { AXComponentInputs, AXComponentType } from '@acorex/core/components';
5
6
  import * as rxjs from 'rxjs';
6
7
  import { Subject } from 'rxjs';
7
8
 
@@ -27,13 +28,52 @@ interface AXActionSheetConfig {
27
28
  subTitle?: string;
28
29
  closeButton?: boolean;
29
30
  header?: boolean;
31
+ /** @deprecated Use `inputs` instead to pass data to the action sheet content component. */
30
32
  data?: unknown;
33
+ /** Input values to pass to the content component */
34
+ inputs?: unknown;
31
35
  closeOnBackdropClick?: boolean;
32
36
  items?: AXActionSheetItem[];
33
37
  content?: AXActionSheetContentType;
34
38
  draggable?: boolean;
35
39
  dragUp?: boolean;
36
40
  }
41
+ /**
42
+ * Reference to an open action sheet, providing methods to interact with it.
43
+ */
44
+ interface AXActionSheetRef<TResult = unknown> {
45
+ /** Closes the action sheet with optional result data */
46
+ close: (data?: TResult) => void;
47
+ /** Sets input values on the content component */
48
+ setInputs: (values: AXComponentInputs) => void;
49
+ /** Observable that emits when the action sheet is closed */
50
+ onClose: Subject<TResult>;
51
+ }
52
+ /**
53
+ * Base class for components that are displayed inside an action sheet.
54
+ * Extend this class to get access to the action sheet reference and helper methods.
55
+ *
56
+ * @example
57
+ * ```typescript
58
+ * @Component({...})
59
+ * export class MyActionSheetContent extends AXActionSheetComponentBase {
60
+ * save() {
61
+ * this.close({ saved: true });
62
+ * }
63
+ * }
64
+ * ```
65
+ */
66
+ declare abstract class AXActionSheetComponentBase {
67
+ /** Reference to the parent action sheet */
68
+ __actionSheet__: _angular_core.InputSignal<AXActionSheetRef<unknown>>;
69
+ /**
70
+ * Closes the action sheet with optional result data.
71
+ * @param data - Optional data to pass to the close handler
72
+ */
73
+ close(data?: unknown): void;
74
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXActionSheetComponentBase, never>;
75
+ static ɵdir: _angular_core.ɵɵDirectiveDeclaration<AXActionSheetComponentBase, never, never, { "__actionSheet__": { "alias": "__actionSheet__"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
76
+ }
37
77
  interface AXActionSheetEvent {
38
78
  overlayRef?: AXOverlayRef<unknown>;
39
79
  nativeEvent?: Event;
@@ -56,13 +96,16 @@ interface AXActionSheetInternalRef {
56
96
  *
57
97
  * @category Components
58
98
  */
59
- declare class AXActionSheetComponent extends MXBaseComponent implements OnInit, OnDestroy {
99
+ declare class AXActionSheetComponent extends MXBaseComponent implements OnInit, AfterViewInit, OnDestroy {
60
100
  /** Action sheet configuration data */
61
- data: i0.InputSignal<AXActionSheetConfig>;
101
+ data: _angular_core.InputSignal<AXActionSheetConfig>;
62
102
  /** @internal Callback function to close the action sheet */
63
- onClose: i0.InputSignal<(result?: AXComponentCloseEvent) => void>;
103
+ onClose: _angular_core.InputSignal<(result?: AXComponentCloseEvent) => void>;
64
104
  /** @internal Overlay reference for event tracking */
65
- overlayRef: i0.InputSignal<AXOverlayRef<any>>;
105
+ overlayRef: _angular_core.InputSignal<AXOverlayRef<unknown>>;
106
+ /** @internal Reference to the action sheet for content components */
107
+ __actionSheetRef__: _angular_core.InputSignal<AXActionSheetRef<unknown>>;
108
+ private contentContainerRef;
66
109
  private document;
67
110
  private platformID;
68
111
  private renderer;
@@ -82,28 +125,40 @@ declare class AXActionSheetComponent extends MXBaseComponent implements OnInit,
82
125
  */
83
126
  private _componentRef;
84
127
  /** Template content if data.content is a TemplateRef */
85
- protected templateContent: i0.Signal<TemplateRef<unknown>>;
128
+ protected templateContent: _angular_core.Signal<TemplateRef<unknown>>;
86
129
  /** Component content if data.content is a component Type */
87
- protected componentContent: i0.Signal<Type<any>>;
130
+ protected componentContent: _angular_core.Signal<AXComponentType<unknown>>;
88
131
  /** Template context for ngTemplateOutlet */
89
- protected templateContext: i0.Signal<{
132
+ protected templateContext: _angular_core.Signal<{
90
133
  $implicit: AXActionSheetConfig;
91
134
  ref: AXActionSheetComponent;
92
135
  }>;
136
+ /** Whether content has been rendered (for component content) */
137
+ protected isContentRendered: _angular_core.WritableSignal<boolean>;
93
138
  /**
94
139
  * @ignore
95
140
  */
96
141
  ngOnInit(): void;
142
+ /**
143
+ * @ignore
144
+ */
145
+ ngAfterViewInit(): void;
146
+ /**
147
+ * Renders the component content if provided.
148
+ * Uses ViewContainerRef to create the component and properly set inputs.
149
+ */
150
+ private renderComponentContent;
151
+ /**
152
+ * Sets input values on the content component.
153
+ * @param values - Object containing input values to set
154
+ */
155
+ setContentInputs(values: AXComponentInputs): void;
97
156
  ngOnDestroy(): void;
98
157
  protected handleMouseDown(e: MouseEvent): void;
99
158
  protected handleTouchDown(e: TouchEvent): void;
100
159
  private handleDown;
101
160
  private snapToFinalPosition;
102
161
  private heightCalculator;
103
- /**
104
- * Handles component attachment from ngComponentOutlet
105
- */
106
- protected handleComponentCreated(componentRef: ComponentRef<any>): void;
107
162
  /**
108
163
  * Handles click events on action sheet items.
109
164
  * This method is called when a user clicks on an action sheet item. It closes the action sheet
@@ -124,25 +179,29 @@ declare class AXActionSheetComponent extends MXBaseComponent implements OnInit,
124
179
  * This affects how the action sheet handles accessibility and event tracking.
125
180
  * @returns void
126
181
  */
127
- close(e?: any, isUserInteraction?: boolean): void;
182
+ close(e?: unknown, isUserInteraction?: boolean): void;
128
183
  /**
129
184
  * @ignore
130
185
  */
131
186
  protected onKeydownHandler(): void;
132
- static ɵfac: i0.ɵɵFactoryDeclaration<AXActionSheetComponent, never>;
133
- static ɵcmp: i0.ɵɵComponentDeclaration<AXActionSheetComponent, "ax-action-sheet", never, { "data": { "alias": "data"; "required": true; "isSignal": true; }; "onClose": { "alias": "onClose"; "required": false; "isSignal": true; }; "overlayRef": { "alias": "overlayRef"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
187
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXActionSheetComponent, never>;
188
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXActionSheetComponent, "ax-action-sheet", never, { "data": { "alias": "data"; "required": true; "isSignal": true; }; "onClose": { "alias": "onClose"; "required": false; "isSignal": true; }; "overlayRef": { "alias": "overlayRef"; "required": false; "isSignal": true; }; "__actionSheetRef__": { "alias": "__actionSheetRef__"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
134
189
  }
135
190
 
136
191
  declare class AXActionSheetModule {
137
- static ɵfac: i0.ɵɵFactoryDeclaration<AXActionSheetModule, never>;
138
- static ɵmod: i0.ɵɵNgModuleDeclaration<AXActionSheetModule, never, [typeof AXActionSheetComponent], [typeof AXActionSheetComponent]>;
139
- static ɵinj: i0.ɵɵInjectorDeclaration<AXActionSheetModule>;
192
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXActionSheetModule, never>;
193
+ static ɵmod: _angular_core.ɵɵNgModuleDeclaration<AXActionSheetModule, never, [typeof AXActionSheetComponent], [typeof AXActionSheetComponent]>;
194
+ static ɵinj: _angular_core.ɵɵInjectorDeclaration<AXActionSheetModule>;
140
195
  }
141
196
 
142
- interface AXActionSheetDialogRef {
143
- close: (e?: any) => void;
197
+ /**
198
+ * @deprecated Use `AXActionSheetRef` instead
199
+ */
200
+ interface AXActionSheetDialogRef<TResult = unknown> {
201
+ close: (e?: TResult) => void;
202
+ setInputs: (values: AXComponentInputs) => void;
144
203
  closed: Subject<{
145
- data?: any;
204
+ data?: TResult;
146
205
  }>;
147
206
  }
148
207
  declare class AXActionSheetService {
@@ -160,23 +219,24 @@ declare class AXActionSheetService {
160
219
  * @param isUserInteraction - Whether the action sheet is opened by user interaction (default: true).
161
220
  * This affects how the action sheet handles accessibility and focus management.
162
221
  * @returns A promise that resolves to a dialog reference containing methods to control the action sheet.
163
- * The reference includes methods like close() and a closed observable for tracking dialog state.
222
+ * The reference includes methods like close(), setInputs() and a closed observable for tracking dialog state.
164
223
  * @example
165
224
  * ```typescript
166
225
  * const dialogRef = await actionSheetService.open({
167
226
  * title: 'Choose an option',
168
- * items: [
169
- * { text: 'Option 1', value: 'opt1' },
170
- * { text: 'Option 2', value: 'opt2' }
171
- * ]
227
+ * content: MyCustomComponent,
228
+ * inputs: { userId: 123, userName: 'John' }
172
229
  * });
173
230
  *
231
+ * // Update inputs dynamically
232
+ * dialogRef.setInputs({ userName: 'Jane' });
233
+ *
174
234
  * dialogRef.closed.subscribe(result => {
175
235
  * console.log('Action sheet closed with:', result.data);
176
236
  * });
177
237
  * ```
178
238
  */
179
- open(config: AXActionSheetConfig, isUserInteraction?: boolean): Promise<AXActionSheetDialogRef>;
239
+ open<TResult = unknown>(config: AXActionSheetConfig, isUserInteraction?: boolean): Promise<AXActionSheetDialogRef<TResult>>;
180
240
  /**
181
241
  * Sets the current state of action sheet events.
182
242
  * This method is used internally to track action sheet lifecycle events such as open, close,
@@ -188,9 +248,9 @@ declare class AXActionSheetService {
188
248
  * @returns void
189
249
  */
190
250
  setActionSheetEventState(event: AXActionSheetEvent): void;
191
- static ɵfac: i0.ɵɵFactoryDeclaration<AXActionSheetService, never>;
192
- static ɵprov: i0.ɵɵInjectableDeclaration<AXActionSheetService>;
251
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXActionSheetService, never>;
252
+ static ɵprov: _angular_core.ɵɵInjectableDeclaration<AXActionSheetService>;
193
253
  }
194
254
 
195
- export { AXActionSheetComponent, AXActionSheetModule, AXActionSheetService };
196
- export type { AXActionSheetConfig, AXActionSheetContentType, AXActionSheetDialogRef, AXActionSheetEvent, AXActionSheetInternalRef, AXActionSheetItem };
255
+ export { AXActionSheetComponent, AXActionSheetComponentBase, AXActionSheetModule, AXActionSheetService };
256
+ export type { AXActionSheetConfig, AXActionSheetContentType, AXActionSheetDialogRef, AXActionSheetEvent, AXActionSheetInternalRef, AXActionSheetItem, AXActionSheetRef };
@@ -42,10 +42,10 @@ class AXAccordionItemComponent {
42
42
  toggle() {
43
43
  this.isCollapsed.update((prev) => !prev);
44
44
  }
45
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: AXAccordionItemComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
46
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.15", type: AXAccordionItemComponent, isStandalone: true, selector: "ax-accordion-item", inputs: { isCollapsed: { classPropertyName: "isCollapsed", publicName: "isCollapsed", isSignal: true, isRequired: false, transformFunction: null }, icon: { classPropertyName: "icon", publicName: "icon", isSignal: true, isRequired: false, transformFunction: null }, caption: { classPropertyName: "caption", publicName: "caption", isSignal: true, isRequired: false, transformFunction: null }, isLoading: { classPropertyName: "isLoading", publicName: "isLoading", isSignal: true, isRequired: false, transformFunction: null }, headerTemplate: { classPropertyName: "headerTemplate", publicName: "headerTemplate", isSignal: true, isRequired: false, transformFunction: null }, look: { classPropertyName: "look", publicName: "look", isSignal: true, isRequired: false, transformFunction: null }, disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { isCollapsed: "isCollapsedChange", isLoading: "isLoadingChange", onClick: "onClick" }, host: { properties: { "class": "this.__hostClass" } }, viewQueries: [{ propertyName: "accordionItem", first: true, predicate: AXAccordionItemDirective, descendants: true, isSignal: true }], ngImport: i0, template: "<div [(isCollapsed)]=\"isCollapsed\" axAccordionItem>\n <div axAccordionItemHeader class=\"ax-accordion-header\">\n @if (headerTemplate()) {\n <div class=\"ax-accordion-custom-header-container\">\n <ng-container\n [ngTemplateOutlet]=\"headerTemplate()\"\n [ngTemplateOutletContext]=\"{ $implicit: { caption: caption(), isCollapsed: isCollapsed() } }\"\n ></ng-container>\n </div>\n } @else {\n <div class=\"ax-accordion-header-container\">\n <div class=\"ax-accordion-header-start\">\n <span class=\"ax-accordion-header-icon\" [class]=\"icon()\"> </span>\n <span>\n {{ caption() }}\n </span>\n </div>\n <div class=\"ax-accordion-header-end\">\n @if (isLoading()) {\n <ax-loading></ax-loading>\n } @else {\n <span\n class=\"ax-icon ax-icon-chevron-left ax-accordion-arrow\"\n [ngClass]=\"{ '-rotate-90': isCollapsed(), 'rotate-90': !isCollapsed() }\"\n ></span>\n }\n </div>\n </div>\n }\n </div>\n\n <div axAccordionItemContent class=\"ax-accordion-body\">\n <div class=\"ax-accordion-body-content\">\n <ng-content></ng-content>\n </div>\n </div>\n</div>\n", styles: ["@layer components{ax-accordion-item{border-radius:var(--radius-lg,.5rem);width:100%;font-size:var(--text-base,1rem);line-height:var(--tw-leading,var(--text-base--line-height, 1.5 ));display:block;overflow:hidden}ax-accordion-item.ax-state-disabled{cursor:not-allowed;opacity:.5}ax-accordion-item .ax-accordion-header,ax-accordion-item .ax-accordion-body{font-size:var(--text-sm,.875rem);line-height:var(--tw-leading,var(--text-sm--line-height,calc(1.25/.875)));color:var(--color-on-lightest,rgba(var(--ax-sys-color-on-lightest-surface)))!important}ax-accordion-item .ax-accordion-header{cursor:pointer;padding:calc(var(--spacing,.25rem)*3);-webkit-user-select:none;user-select:none}ax-accordion-item .ax-accordion-header .ax-accordion-header-container{justify-content:space-between;display:flex}ax-accordion-item .ax-accordion-header .ax-accordion-header-container .ax-accordion-header-start{align-items:center;display:flex}ax-accordion-item .ax-accordion-header .ax-accordion-header-container .ax-accordion-header-start:not(:empty) .ax-accordion-header-icon{padding-inline-end:calc(var(--spacing,.25rem)*2)}ax-accordion-item .ax-accordion-header .ax-accordion-header-container .ax-accordion-header-start .ax-accordion-header-end{height:calc(var(--spacing,.25rem)*6);width:calc(var(--spacing,.25rem)*6);justify-content:center;align-items:center;display:flex}ax-accordion-item .ax-accordion-header .ax-accordion-header-container .ax-accordion-header-start .ax-accordion-header-end .ax-accordion-arrow{transition-property:all;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function,cubic-bezier(.4,0,.2,1)));transition-duration:var(--tw-duration,var(--default-transition-duration,.15s));display:block}ax-accordion-item .ax-accordion-body .ax-accordion-body-content{padding:calc(var(--spacing,.25rem)*4);padding-inline-start:calc(var(--spacing,.25rem)*4);padding-inline-end:calc(var(--spacing,.25rem)*4)}}\n/*! tailwindcss v4.1.18 | MIT License | https://tailwindcss.com */\n"], dependencies: [{ kind: "ngmodule", type: AXLoadingModule }, { kind: "component", type: i1.AXLoadingComponent, selector: "ax-loading", inputs: ["visible", "type", "context"], outputs: ["visibleChange"] }, { kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i2.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: AXAccordionItemHeaderDirective, selector: "[axAccordionItemHeader]", exportAs: ["axAccordionItemHeader"] }, { kind: "directive", type: AXAccordionItemDirective, selector: "[axAccordionItem]", inputs: ["isCollapsed"], outputs: ["isCollapsedChange", "onClick"], exportAs: ["axAccordionItem"] }, { kind: "directive", type: AXAccordionItemContentDirective, selector: "[axAccordionItemContent]", inputs: ["transition"], exportAs: ["axAccordionItemContent"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
45
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: AXAccordionItemComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
46
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.16", type: AXAccordionItemComponent, isStandalone: true, selector: "ax-accordion-item", inputs: { isCollapsed: { classPropertyName: "isCollapsed", publicName: "isCollapsed", isSignal: true, isRequired: false, transformFunction: null }, icon: { classPropertyName: "icon", publicName: "icon", isSignal: true, isRequired: false, transformFunction: null }, caption: { classPropertyName: "caption", publicName: "caption", isSignal: true, isRequired: false, transformFunction: null }, isLoading: { classPropertyName: "isLoading", publicName: "isLoading", isSignal: true, isRequired: false, transformFunction: null }, headerTemplate: { classPropertyName: "headerTemplate", publicName: "headerTemplate", isSignal: true, isRequired: false, transformFunction: null }, look: { classPropertyName: "look", publicName: "look", isSignal: true, isRequired: false, transformFunction: null }, disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { isCollapsed: "isCollapsedChange", isLoading: "isLoadingChange", onClick: "onClick" }, host: { properties: { "class": "this.__hostClass" } }, viewQueries: [{ propertyName: "accordionItem", first: true, predicate: AXAccordionItemDirective, descendants: true, isSignal: true }], ngImport: i0, template: "<div [(isCollapsed)]=\"isCollapsed\" axAccordionItem>\n <div axAccordionItemHeader class=\"ax-accordion-header\">\n @if (headerTemplate()) {\n <div class=\"ax-accordion-custom-header-container\">\n <ng-container\n [ngTemplateOutlet]=\"headerTemplate()\"\n [ngTemplateOutletContext]=\"{ $implicit: { caption: caption(), isCollapsed: isCollapsed() } }\"\n ></ng-container>\n </div>\n } @else {\n <div class=\"ax-accordion-header-container\">\n <div class=\"ax-accordion-header-start\">\n <span class=\"ax-accordion-header-icon\" [class]=\"icon()\"> </span>\n <span>\n {{ caption() }}\n </span>\n </div>\n <div class=\"ax-accordion-header-end\">\n @if (isLoading()) {\n <ax-loading></ax-loading>\n } @else {\n <span\n class=\"ax-icon ax-icon-chevron-left ax-accordion-arrow\"\n [ngClass]=\"{ '-rotate-90': isCollapsed(), 'rotate-90': !isCollapsed() }\"\n ></span>\n }\n </div>\n </div>\n }\n </div>\n\n <div axAccordionItemContent class=\"ax-accordion-body\">\n <div class=\"ax-accordion-body-content\">\n <ng-content></ng-content>\n </div>\n </div>\n</div>\n", styles: ["@layer components{ax-accordion-item{border-radius:var(--radius-lg,.5rem);width:100%;font-size:var(--text-base,1rem);line-height:var(--tw-leading,var(--text-base--line-height, 1.5 ));display:block;overflow:hidden}ax-accordion-item.ax-state-disabled{cursor:not-allowed;opacity:.5}ax-accordion-item .ax-accordion-header,ax-accordion-item .ax-accordion-body{font-size:var(--text-sm,.875rem);line-height:var(--tw-leading,var(--text-sm--line-height,calc(1.25/.875)));color:var(--color-on-lightest,rgba(var(--ax-sys-color-on-lightest-surface)))!important}ax-accordion-item .ax-accordion-header{cursor:pointer;padding:calc(var(--spacing,.25rem)*3);-webkit-user-select:none;user-select:none}ax-accordion-item .ax-accordion-header .ax-accordion-header-container{justify-content:space-between;display:flex}ax-accordion-item .ax-accordion-header .ax-accordion-header-container .ax-accordion-header-start{align-items:center;display:flex}ax-accordion-item .ax-accordion-header .ax-accordion-header-container .ax-accordion-header-start:not(:empty) .ax-accordion-header-icon{padding-inline-end:calc(var(--spacing,.25rem)*2)}ax-accordion-item .ax-accordion-header .ax-accordion-header-container .ax-accordion-header-start .ax-accordion-header-end{height:calc(var(--spacing,.25rem)*6);width:calc(var(--spacing,.25rem)*6);justify-content:center;align-items:center;display:flex}ax-accordion-item .ax-accordion-header .ax-accordion-header-container .ax-accordion-header-start .ax-accordion-header-end .ax-accordion-arrow{transition-property:all;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function,cubic-bezier(.4,0,.2,1)));transition-duration:var(--tw-duration,var(--default-transition-duration,.15s));display:block}ax-accordion-item .ax-accordion-body .ax-accordion-body-content{padding:calc(var(--spacing,.25rem)*4);padding-inline-start:calc(var(--spacing,.25rem)*4);padding-inline-end:calc(var(--spacing,.25rem)*4)}}\n/*! tailwindcss v4.1.18 | MIT License | https://tailwindcss.com */\n"], dependencies: [{ kind: "ngmodule", type: AXLoadingModule }, { kind: "component", type: i1.AXLoadingComponent, selector: "ax-loading", inputs: ["visible", "type", "context"], outputs: ["visibleChange"] }, { kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i2.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: AXAccordionItemHeaderDirective, selector: "[axAccordionItemHeader]", exportAs: ["axAccordionItemHeader"] }, { kind: "directive", type: AXAccordionItemDirective, selector: "[axAccordionItem]", inputs: ["isCollapsed"], outputs: ["isCollapsedChange", "onClick"], exportAs: ["axAccordionItem"] }, { kind: "directive", type: AXAccordionItemContentDirective, selector: "[axAccordionItemContent]", inputs: ["transition"], exportAs: ["axAccordionItemContent"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
47
47
  }
48
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: AXAccordionItemComponent, decorators: [{
48
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: AXAccordionItemComponent, decorators: [{
49
49
  type: Component,
50
50
  args: [{ selector: 'ax-accordion-item', imports: [
51
51
  AXLoadingModule,
@@ -76,8 +76,8 @@ class AXAccordionGroupComponent {
76
76
  }, ...(ngDevMode ? [{ debugName: "#eff" }] : []));
77
77
  }
78
78
  #eff;
79
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: AXAccordionGroupComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
80
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "20.3.15", type: AXAccordionGroupComponent, isStandalone: true, selector: "ax-accordion-group", inputs: { accordion: { classPropertyName: "accordion", publicName: "accordion", isSignal: true, isRequired: false, transformFunction: null }, activeIndex: { classPropertyName: "activeIndex", publicName: "activeIndex", isSignal: true, isRequired: false, transformFunction: null }, look: { classPropertyName: "look", publicName: "look", isSignal: true, isRequired: false, transformFunction: null }, collapsedOnItemClick: { classPropertyName: "collapsedOnItemClick", publicName: "collapsedOnItemClick", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { activeIndex: "activeIndexChange" }, providers: [
79
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: AXAccordionGroupComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
80
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "20.3.16", type: AXAccordionGroupComponent, isStandalone: true, selector: "ax-accordion-group", inputs: { accordion: { classPropertyName: "accordion", publicName: "accordion", isSignal: true, isRequired: false, transformFunction: null }, activeIndex: { classPropertyName: "activeIndex", publicName: "activeIndex", isSignal: true, isRequired: false, transformFunction: null }, look: { classPropertyName: "look", publicName: "look", isSignal: true, isRequired: false, transformFunction: null }, collapsedOnItemClick: { classPropertyName: "collapsedOnItemClick", publicName: "collapsedOnItemClick", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { activeIndex: "activeIndexChange" }, providers: [
81
81
  {
82
82
  provide: MXLookableComponent,
83
83
  useExisting: AXAccordionGroupComponent,
@@ -94,7 +94,7 @@ class AXAccordionGroupComponent {
94
94
  </div>
95
95
  `, isInline: true, styles: ["@layer components{ax-accordion-group{width:100%;font-size:var(--text-base,1rem);line-height:var(--tw-leading,var(--text-base--line-height, 1.5 ));display:block;overflow:hidden}ax-accordion-group ax-accordion-item{margin-bottom:calc(var(--spacing,.25rem)*2)}}\n/*! tailwindcss v4.1.18 | MIT License | https://tailwindcss.com */\n"], dependencies: [{ kind: "ngmodule", type: AXLoadingModule }, { kind: "directive", type: AXAccordionGroupDirective, selector: "[axAccordionGroup]", inputs: ["accordion", "activeIndex", "collapsedOnItemClick"], exportAs: ["axAccordionGroup"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
96
96
  }
97
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: AXAccordionGroupComponent, decorators: [{
97
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: AXAccordionGroupComponent, decorators: [{
98
98
  type: Component,
99
99
  args: [{ selector: 'ax-accordion-group', imports: [AXLoadingModule, AXAccordionGroupDirective], template: `
100
100
  <div
@@ -115,11 +115,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.15", ngImpo
115
115
  }], propDecorators: { accordionGroup: [{ type: i0.ViewChild, args: [i0.forwardRef(() => AXAccordionGroupDirective), { isSignal: true }] }], content: [{ type: i0.ContentChildren, args: [i0.forwardRef(() => AXAccordionItemComponent), { ...{ descendants: true }, isSignal: true }] }], accordion: [{ type: i0.Input, args: [{ isSignal: true, alias: "accordion", required: false }] }], activeIndex: [{ type: i0.Input, args: [{ isSignal: true, alias: "activeIndex", required: false }] }, { type: i0.Output, args: ["activeIndexChange"] }], look: [{ type: i0.Input, args: [{ isSignal: true, alias: "look", required: false }] }], collapsedOnItemClick: [{ type: i0.Input, args: [{ isSignal: true, alias: "collapsedOnItemClick", required: false }] }] } });
116
116
 
117
117
  class AXAccordionModule {
118
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: AXAccordionModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
119
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.15", ngImport: i0, type: AXAccordionModule, imports: [AXAccordionItemComponent, AXAccordionGroupComponent], exports: [AXAccordionItemComponent, AXAccordionGroupComponent] }); }
120
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: AXAccordionModule, imports: [AXAccordionItemComponent, AXAccordionGroupComponent] }); }
118
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: AXAccordionModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
119
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.16", ngImport: i0, type: AXAccordionModule, imports: [AXAccordionItemComponent, AXAccordionGroupComponent], exports: [AXAccordionItemComponent, AXAccordionGroupComponent] }); }
120
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: AXAccordionModule, imports: [AXAccordionItemComponent, AXAccordionGroupComponent] }); }
121
121
  }
122
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: AXAccordionModule, decorators: [{
122
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: AXAccordionModule, decorators: [{
123
123
  type: NgModule,
124
124
  args: [{
125
125
  imports: [AXAccordionItemComponent, AXAccordionGroupComponent],