@acorex/components 21.0.3-next.37 → 21.0.3-next.39

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 (189) hide show
  1. package/fesm2022/acorex-components-accordion.mjs +4 -4
  2. package/fesm2022/acorex-components-accordion.mjs.map +1 -1
  3. package/fesm2022/acorex-components-action-sheet.mjs +2 -2
  4. package/fesm2022/acorex-components-action-sheet.mjs.map +1 -1
  5. package/fesm2022/acorex-components-alert.mjs +2 -2
  6. package/fesm2022/acorex-components-alert.mjs.map +1 -1
  7. package/fesm2022/acorex-components-audio-wave.mjs +2 -2
  8. package/fesm2022/acorex-components-audio-wave.mjs.map +1 -1
  9. package/fesm2022/acorex-components-avatar.mjs +2 -2
  10. package/fesm2022/acorex-components-avatar.mjs.map +1 -1
  11. package/fesm2022/acorex-components-badge.mjs +2 -2
  12. package/fesm2022/acorex-components-badge.mjs.map +1 -1
  13. package/fesm2022/acorex-components-bottom-navigation.mjs +2 -2
  14. package/fesm2022/acorex-components-bottom-navigation.mjs.map +1 -1
  15. package/fesm2022/acorex-components-breadcrumbs.mjs +2 -2
  16. package/fesm2022/acorex-components-breadcrumbs.mjs.map +1 -1
  17. package/fesm2022/acorex-components-button-group.mjs +2 -2
  18. package/fesm2022/acorex-components-button-group.mjs.map +1 -1
  19. package/fesm2022/acorex-components-button.mjs +6 -6
  20. package/fesm2022/acorex-components-button.mjs.map +1 -1
  21. package/fesm2022/acorex-components-calendar.mjs +4 -4
  22. package/fesm2022/acorex-components-calendar.mjs.map +1 -1
  23. package/fesm2022/acorex-components-check-box.mjs +2 -2
  24. package/fesm2022/acorex-components-check-box.mjs.map +1 -1
  25. package/fesm2022/acorex-components-chips.mjs +2 -2
  26. package/fesm2022/acorex-components-chips.mjs.map +1 -1
  27. package/fesm2022/acorex-components-circular-progress.mjs +2 -2
  28. package/fesm2022/acorex-components-circular-progress.mjs.map +1 -1
  29. package/fesm2022/acorex-components-color-box.mjs +2 -2
  30. package/fesm2022/acorex-components-color-box.mjs.map +1 -1
  31. package/fesm2022/acorex-components-color-palette.mjs +2 -2
  32. package/fesm2022/acorex-components-color-palette.mjs.map +1 -1
  33. package/fesm2022/acorex-components-command.mjs +2 -2
  34. package/fesm2022/acorex-components-command.mjs.map +1 -1
  35. package/fesm2022/acorex-components-comment.mjs +6 -6
  36. package/fesm2022/acorex-components-comment.mjs.map +1 -1
  37. package/fesm2022/acorex-components-cron-job.mjs +2 -2
  38. package/fesm2022/acorex-components-cron-job.mjs.map +1 -1
  39. package/fesm2022/acorex-components-data-list.mjs +2 -2
  40. package/fesm2022/acorex-components-data-list.mjs.map +1 -1
  41. package/fesm2022/acorex-components-data-pager.mjs +2 -2
  42. package/fesm2022/acorex-components-data-pager.mjs.map +1 -1
  43. package/fesm2022/acorex-components-data-table.mjs +2 -2
  44. package/fesm2022/acorex-components-data-table.mjs.map +1 -1
  45. package/fesm2022/acorex-components-datetime-box.mjs +2 -2
  46. package/fesm2022/acorex-components-datetime-box.mjs.map +1 -1
  47. package/fesm2022/acorex-components-datetime-input.mjs +2 -2
  48. package/fesm2022/acorex-components-datetime-input.mjs.map +1 -1
  49. package/fesm2022/acorex-components-datetime-picker.mjs +2 -2
  50. package/fesm2022/acorex-components-datetime-picker.mjs.map +1 -1
  51. package/fesm2022/acorex-components-decorators.mjs +10 -10
  52. package/fesm2022/acorex-components-decorators.mjs.map +1 -1
  53. package/fesm2022/acorex-components-dialog.mjs +2 -2
  54. package/fesm2022/acorex-components-dialog.mjs.map +1 -1
  55. package/fesm2022/acorex-components-drawer.mjs +4 -4
  56. package/fesm2022/acorex-components-drawer.mjs.map +1 -1
  57. package/fesm2022/acorex-components-dropdown-button.mjs +2 -2
  58. package/fesm2022/acorex-components-dropdown-button.mjs.map +1 -1
  59. package/fesm2022/acorex-components-dropdown.mjs +2 -2
  60. package/fesm2022/acorex-components-dropdown.mjs.map +1 -1
  61. package/fesm2022/acorex-components-editor.mjs +2 -2
  62. package/fesm2022/acorex-components-editor.mjs.map +1 -1
  63. package/fesm2022/acorex-components-fab.mjs +2 -2
  64. package/fesm2022/acorex-components-fab.mjs.map +1 -1
  65. package/fesm2022/acorex-components-flow-chart.mjs +6 -6
  66. package/fesm2022/acorex-components-flow-chart.mjs.map +1 -1
  67. package/fesm2022/acorex-components-form.mjs +2 -2
  68. package/fesm2022/acorex-components-form.mjs.map +1 -1
  69. package/fesm2022/acorex-components-image-editor.mjs +8 -8
  70. package/fesm2022/acorex-components-image-editor.mjs.map +1 -1
  71. package/fesm2022/acorex-components-image.mjs +2 -2
  72. package/fesm2022/acorex-components-image.mjs.map +1 -1
  73. package/fesm2022/acorex-components-json-viewer.mjs +2 -2
  74. package/fesm2022/acorex-components-json-viewer.mjs.map +1 -1
  75. package/fesm2022/acorex-components-kanban.mjs +2 -2
  76. package/fesm2022/acorex-components-kanban.mjs.map +1 -1
  77. package/fesm2022/acorex-components-kbd.mjs +2 -2
  78. package/fesm2022/acorex-components-kbd.mjs.map +1 -1
  79. package/fesm2022/acorex-components-label.mjs +2 -2
  80. package/fesm2022/acorex-components-label.mjs.map +1 -1
  81. package/fesm2022/acorex-components-list.mjs +2 -2
  82. package/fesm2022/acorex-components-list.mjs.map +1 -1
  83. package/fesm2022/acorex-components-loading-dialog.mjs +2 -2
  84. package/fesm2022/acorex-components-loading-dialog.mjs.map +1 -1
  85. package/fesm2022/acorex-components-loading.mjs +4 -4
  86. package/fesm2022/acorex-components-loading.mjs.map +1 -1
  87. package/fesm2022/acorex-components-map.mjs +2 -2
  88. package/fesm2022/acorex-components-map.mjs.map +1 -1
  89. package/fesm2022/acorex-components-media-viewer.mjs +10 -10
  90. package/fesm2022/acorex-components-media-viewer.mjs.map +1 -1
  91. package/fesm2022/acorex-components-menu.mjs +2 -2
  92. package/fesm2022/acorex-components-menu.mjs.map +1 -1
  93. package/fesm2022/{acorex-components-modal-acorex-components-modal-D4z5gAJW.mjs → acorex-components-modal-acorex-components-modal-dF5HUEBH.mjs} +4 -4
  94. package/fesm2022/acorex-components-modal-acorex-components-modal-dF5HUEBH.mjs.map +1 -0
  95. package/fesm2022/{acorex-components-modal-modal-content.component-DyfRrOwo.mjs → acorex-components-modal-modal-content.component-BGTYje3j.mjs} +4 -4
  96. package/fesm2022/acorex-components-modal-modal-content.component-BGTYje3j.mjs.map +1 -0
  97. package/fesm2022/acorex-components-modal.mjs +1 -1
  98. package/fesm2022/acorex-components-navbar.mjs +2 -2
  99. package/fesm2022/acorex-components-navbar.mjs.map +1 -1
  100. package/fesm2022/acorex-components-notification.mjs +2 -2
  101. package/fesm2022/acorex-components-notification.mjs.map +1 -1
  102. package/fesm2022/acorex-components-number-box.mjs +2 -2
  103. package/fesm2022/acorex-components-number-box.mjs.map +1 -1
  104. package/fesm2022/acorex-components-otp.mjs +2 -2
  105. package/fesm2022/acorex-components-otp.mjs.map +1 -1
  106. package/fesm2022/acorex-components-paint.mjs +4 -4
  107. package/fesm2022/acorex-components-paint.mjs.map +1 -1
  108. package/fesm2022/acorex-components-password-box.mjs +4 -4
  109. package/fesm2022/acorex-components-password-box.mjs.map +1 -1
  110. package/fesm2022/acorex-components-pdf-reader.mjs +2 -2
  111. package/fesm2022/acorex-components-pdf-reader.mjs.map +1 -1
  112. package/fesm2022/acorex-components-phone-box.mjs +2 -2
  113. package/fesm2022/acorex-components-phone-box.mjs.map +1 -1
  114. package/fesm2022/acorex-components-picker.mjs +6 -6
  115. package/fesm2022/acorex-components-picker.mjs.map +1 -1
  116. package/fesm2022/acorex-components-popup.mjs +2 -2
  117. package/fesm2022/acorex-components-popup.mjs.map +1 -1
  118. package/fesm2022/acorex-components-progress-bar.mjs +2 -2
  119. package/fesm2022/acorex-components-progress-bar.mjs.map +1 -1
  120. package/fesm2022/acorex-components-qrcode.mjs +2 -2
  121. package/fesm2022/acorex-components-qrcode.mjs.map +1 -1
  122. package/fesm2022/acorex-components-query-builder.mjs +2 -2
  123. package/fesm2022/acorex-components-query-builder.mjs.map +1 -1
  124. package/fesm2022/acorex-components-radio.mjs +2 -2
  125. package/fesm2022/acorex-components-radio.mjs.map +1 -1
  126. package/fesm2022/acorex-components-rail-navigation.mjs +2 -2
  127. package/fesm2022/acorex-components-rail-navigation.mjs.map +1 -1
  128. package/fesm2022/acorex-components-range-slider.mjs +2 -2
  129. package/fesm2022/acorex-components-range-slider.mjs.map +1 -1
  130. package/fesm2022/acorex-components-rate-picker.mjs +2 -2
  131. package/fesm2022/acorex-components-rate-picker.mjs.map +1 -1
  132. package/fesm2022/acorex-components-rest-api-generator.mjs +10 -10
  133. package/fesm2022/acorex-components-rest-api-generator.mjs.map +1 -1
  134. package/fesm2022/acorex-components-result.mjs +2 -2
  135. package/fesm2022/acorex-components-result.mjs.map +1 -1
  136. package/fesm2022/acorex-components-routing-progress.mjs +2 -2
  137. package/fesm2022/acorex-components-routing-progress.mjs.map +1 -1
  138. package/fesm2022/acorex-components-scheduler-picker.mjs +18 -18
  139. package/fesm2022/acorex-components-scheduler-picker.mjs.map +1 -1
  140. package/fesm2022/acorex-components-scheduler.mjs +18 -18
  141. package/fesm2022/acorex-components-scheduler.mjs.map +1 -1
  142. package/fesm2022/acorex-components-select-box.mjs +2 -2
  143. package/fesm2022/acorex-components-select-box.mjs.map +1 -1
  144. package/fesm2022/acorex-components-selection-list-2.mjs +2 -2
  145. package/fesm2022/acorex-components-selection-list-2.mjs.map +1 -1
  146. package/fesm2022/acorex-components-selection-list.mjs +2 -2
  147. package/fesm2022/acorex-components-selection-list.mjs.map +1 -1
  148. package/fesm2022/acorex-components-side-menu.mjs +13 -4
  149. package/fesm2022/acorex-components-side-menu.mjs.map +1 -1
  150. package/fesm2022/acorex-components-sidebar.mjs +275 -0
  151. package/fesm2022/acorex-components-sidebar.mjs.map +1 -0
  152. package/fesm2022/acorex-components-skeleton.mjs +2 -2
  153. package/fesm2022/acorex-components-skeleton.mjs.map +1 -1
  154. package/fesm2022/acorex-components-sliding-item.mjs +2 -2
  155. package/fesm2022/acorex-components-sliding-item.mjs.map +1 -1
  156. package/fesm2022/acorex-components-step-wizard.mjs +2 -2
  157. package/fesm2022/acorex-components-step-wizard.mjs.map +1 -1
  158. package/fesm2022/acorex-components-switch.mjs +2 -2
  159. package/fesm2022/acorex-components-switch.mjs.map +1 -1
  160. package/fesm2022/acorex-components-tabs.mjs +2 -2
  161. package/fesm2022/acorex-components-tabs.mjs.map +1 -1
  162. package/fesm2022/acorex-components-tag-box.mjs +2 -2
  163. package/fesm2022/acorex-components-tag-box.mjs.map +1 -1
  164. package/fesm2022/acorex-components-tag.mjs +2 -2
  165. package/fesm2022/acorex-components-tag.mjs.map +1 -1
  166. package/fesm2022/acorex-components-text-area.mjs +2 -2
  167. package/fesm2022/acorex-components-text-area.mjs.map +1 -1
  168. package/fesm2022/acorex-components-text-box.mjs +2 -2
  169. package/fesm2022/acorex-components-text-box.mjs.map +1 -1
  170. package/fesm2022/acorex-components-time-line.mjs +4 -4
  171. package/fesm2022/acorex-components-time-line.mjs.map +1 -1
  172. package/fesm2022/acorex-components-toast.mjs +2 -2
  173. package/fesm2022/acorex-components-toast.mjs.map +1 -1
  174. package/fesm2022/acorex-components-toolbar.mjs +2 -2
  175. package/fesm2022/acorex-components-toolbar.mjs.map +1 -1
  176. package/fesm2022/acorex-components-tooltip.mjs +2 -2
  177. package/fesm2022/acorex-components-tooltip.mjs.map +1 -1
  178. package/fesm2022/acorex-components-tree-view.mjs +2 -2
  179. package/fesm2022/acorex-components-tree-view.mjs.map +1 -1
  180. package/fesm2022/acorex-components-uploader.mjs +6 -6
  181. package/fesm2022/acorex-components-uploader.mjs.map +1 -1
  182. package/fesm2022/acorex-components-wysiwyg.mjs +6 -6
  183. package/fesm2022/acorex-components-wysiwyg.mjs.map +1 -1
  184. package/package.json +7 -3
  185. package/sidebar/README.md +5 -0
  186. package/types/acorex-components-side-menu.d.ts +3 -1
  187. package/types/acorex-components-sidebar.d.ts +132 -0
  188. package/fesm2022/acorex-components-modal-acorex-components-modal-D4z5gAJW.mjs.map +0 -1
  189. package/fesm2022/acorex-components-modal-modal-content.component-DyfRrOwo.mjs.map +0 -1
@@ -0,0 +1,275 @@
1
+ import * as i0 from '@angular/core';
2
+ import { Directive, model, input, computed, ViewEncapsulation, ChangeDetectionStrategy, Component, output, contentChild, NgModule } from '@angular/core';
3
+ import { NXComponent, AXComponent } from '@acorex/cdk/common';
4
+ import { AXAvatarComponent } from '@acorex/components/avatar';
5
+ import { AXDecoratorGenericComponent } from '@acorex/components/decorators';
6
+ import { AXImageComponent } from '@acorex/components/image';
7
+ import * as i1 from '@acorex/components/tooltip';
8
+ import { AXTooltipModule } from '@acorex/components/tooltip';
9
+
10
+ /** Marks projected header content inside `ax-sidebar`. */
11
+ class AXSidebarHeaderDirective {
12
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXSidebarHeaderDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
13
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.9", type: AXSidebarHeaderDirective, isStandalone: true, selector: "[axSidebarHeader]", ngImport: i0 }); }
14
+ }
15
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXSidebarHeaderDirective, decorators: [{
16
+ type: Directive,
17
+ args: [{ selector: '[axSidebarHeader]' }]
18
+ }] });
19
+ /** Marks projected navigation content (typically `ax-side-menu`) inside `ax-sidebar`. */
20
+ class AXSidebarNavigationDirective {
21
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXSidebarNavigationDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
22
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.9", type: AXSidebarNavigationDirective, isStandalone: true, selector: "[axSidebarNavigation]", ngImport: i0 }); }
23
+ }
24
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXSidebarNavigationDirective, decorators: [{
25
+ type: Directive,
26
+ args: [{ selector: '[axSidebarNavigation]' }]
27
+ }] });
28
+ /** Marks projected footer utility content inside `ax-sidebar`. */
29
+ class AXSidebarFooterDirective {
30
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXSidebarFooterDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
31
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.9", type: AXSidebarFooterDirective, isStandalone: true, selector: "[axSidebarFooter]", ngImport: i0 }); }
32
+ }
33
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXSidebarFooterDirective, decorators: [{
34
+ type: Directive,
35
+ args: [{ selector: '[axSidebarFooter]' }]
36
+ }] });
37
+ /** Marks the user utility slot inside `ax-sidebar`. */
38
+ class AXSidebarUserSlotDirective {
39
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXSidebarUserSlotDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
40
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.9", type: AXSidebarUserSlotDirective, isStandalone: true, selector: "[axSidebarUser]", ngImport: i0 }); }
41
+ }
42
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXSidebarUserSlotDirective, decorators: [{
43
+ type: Directive,
44
+ args: [{ selector: '[axSidebarUser]' }]
45
+ }] });
46
+ /** Marks the collapse utility slot inside `ax-sidebar`. */
47
+ class AXSidebarCollapseSlotDirective {
48
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXSidebarCollapseSlotDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
49
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.9", type: AXSidebarCollapseSlotDirective, isStandalone: true, selector: "[axSidebarCollapse]", ngImport: i0 }); }
50
+ }
51
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXSidebarCollapseSlotDirective, decorators: [{
52
+ type: Directive,
53
+ args: [{ selector: '[axSidebarCollapse]' }]
54
+ }] });
55
+
56
+ /**
57
+ * Layout shell for an enterprise sidebar with full and compact widths,
58
+ * sticky header/utility regions, and a scrollable navigation slot.
59
+ *
60
+ * @category Components
61
+ */
62
+ class AXSidebarComponent extends NXComponent {
63
+ constructor() {
64
+ super(...arguments);
65
+ /**
66
+ * Sidebar display mode shared with collapse and side-menu consumers.
67
+ *
68
+ * @defaultValue 'full'
69
+ */
70
+ this.mode = model('full', ...(ngDevMode ? [{ debugName: "mode" }] : /* istanbul ignore next */ []));
71
+ /**
72
+ * Accessible name for the sidebar landmark.
73
+ *
74
+ * @defaultValue 'Sidebar'
75
+ */
76
+ this.ariaLabel = input('Sidebar', ...(ngDevMode ? [{ debugName: "ariaLabel" }] : /* istanbul ignore next */ []));
77
+ /**
78
+ * Optional id of the navigation region for `aria-controls` wiring from collapse.
79
+ */
80
+ this.navigationId = input(null, ...(ngDevMode ? [{ debugName: "navigationId" }] : /* istanbul ignore next */ []));
81
+ this.isFull = computed(() => this.mode() === 'full', ...(ngDevMode ? [{ debugName: "isFull" }] : /* istanbul ignore next */ []));
82
+ this.isCompact = computed(() => this.mode() === 'compact', ...(ngDevMode ? [{ debugName: "isCompact" }] : /* istanbul ignore next */ []));
83
+ this.hostClass = computed(() => {
84
+ return [`ax-sidebar`, `ax-mode-${this.mode()}`].join(' ');
85
+ }, ...(ngDevMode ? [{ debugName: "hostClass" }] : /* istanbul ignore next */ []));
86
+ }
87
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXSidebarComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
88
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "21.2.9", type: AXSidebarComponent, isStandalone: true, selector: "ax-sidebar", inputs: { mode: { classPropertyName: "mode", publicName: "mode", isSignal: true, isRequired: false, transformFunction: null }, ariaLabel: { classPropertyName: "ariaLabel", publicName: "ariaLabel", isSignal: true, isRequired: false, transformFunction: null }, navigationId: { classPropertyName: "navigationId", publicName: "navigationId", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { mode: "modeChange" }, host: { properties: { "class": "hostClass()", "attr.aria-expanded": "isFull()" } }, providers: [{ provide: AXComponent, useExisting: AXSidebarComponent }], usesInheritance: true, ngImport: i0, template: "<aside class=\"ax-sidebar-shell\" [attr.aria-label]=\"ariaLabel()\">\n <header class=\"ax-sidebar-header\">\n <ng-content select=\"[axSidebarHeader], ax-header\"></ng-content>\n </header>\n\n <nav\n class=\"ax-sidebar-navigation\"\n [attr.id]=\"navigationId()\"\n [attr.aria-label]=\"ariaLabel()\"\n >\n <ng-content select=\"ax-side-menu, [axSidebarNavigation]\"></ng-content>\n <ng-content></ng-content>\n </nav>\n\n <footer class=\"ax-sidebar-utility\">\n <ng-content select=\"ax-sidebar-user, [axSidebarUser]\"></ng-content>\n <ng-content select=\"ax-sidebar-collapse, [axSidebarCollapse]\"></ng-content>\n <ng-content select=\"[axSidebarFooter], ax-footer\"></ng-content>\n </footer>\n</aside>\n", styles: ["@layer base{:root{--ax-comp-sidebar-width-full: 17rem;--ax-comp-sidebar-width-compact: 4.5rem;--ax-comp-sidebar-header-height: 4rem;--ax-comp-sidebar-nav-padding: .5rem;--ax-comp-sidebar-utility-padding: .5rem;--ax-comp-sidebar-item-height: 2.5rem;--ax-comp-sidebar-child-item-height: 2.25rem;--ax-comp-sidebar-item-radius: var(--ax-sys-border-radius);--ax-comp-sidebar-icon-container-size: 1.5rem;--ax-comp-sidebar-icon-size: 1rem;--ax-comp-sidebar-icon-radius: .375rem;--ax-comp-sidebar-child-indent: 2rem;--ax-comp-sidebar-flyout-width: 17.5rem;--ax-comp-sidebar-transition-duration: var(--ax-sys-transition-duration, .15s);--ax-comp-sidebar-transition-timing: var(--ax-sys-transition-timing-function, cubic-bezier(.4, 0, .2, 1))}}@layer components{ax-sidebar{display:block;height:100%;color:rgba(var(--ax-comp-sidebar-text-color, var(--ax-sys-color-on-surface)));background-color:rgba(var(--ax-comp-sidebar-bg-color, var(--ax-sys-color-surface)));border-inline-end:1px solid rgba(var(--ax-comp-sidebar-border-color, var(--ax-sys-color-border-lightest-surface)))}ax-sidebar .ax-sidebar-shell{display:flex;flex-direction:column;width:var(--ax-comp-sidebar-width-full);min-width:var(--ax-comp-sidebar-width-full);max-width:var(--ax-comp-sidebar-width-full);height:100dvh;overflow:hidden;transition-property:width,min-width,max-width;transition-duration:var(--ax-comp-sidebar-transition-duration);transition-timing-function:var(--ax-comp-sidebar-transition-timing)}ax-sidebar .ax-sidebar-header{display:flex;flex-shrink:0;align-items:center;height:var(--ax-comp-sidebar-header-height);min-height:var(--ax-comp-sidebar-header-height);padding-inline:1.25rem}ax-sidebar .ax-sidebar-navigation{display:flex;flex:1 1 auto;flex-direction:column;gap:.25rem;min-height:0;padding:var(--ax-comp-sidebar-nav-padding);overflow-x:hidden;overflow-y:auto}ax-sidebar .ax-sidebar-utility{display:flex;flex-shrink:0;flex-direction:column;gap:.25rem;padding:var(--ax-comp-sidebar-utility-padding);background-color:inherit;border-block-start:1px solid rgba(var(--ax-comp-sidebar-border-color, var(--ax-sys-color-border-lightest-surface)))}ax-sidebar.ax-mode-compact .ax-sidebar-shell{width:var(--ax-comp-sidebar-width-compact);min-width:var(--ax-comp-sidebar-width-compact);max-width:var(--ax-comp-sidebar-width-compact)}ax-sidebar.ax-mode-compact .ax-sidebar-header{justify-content:center;padding-inline:.5rem}ax-sidebar.ax-mode-compact .ax-sidebar-navigation,ax-sidebar.ax-mode-compact .ax-sidebar-utility{align-items:center}@media(prefers-reduced-motion:reduce){ax-sidebar .ax-sidebar-shell{transition:none}}}\n/*! tailwindcss v4.1.16 | MIT License | https://tailwindcss.com */\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
89
+ }
90
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXSidebarComponent, decorators: [{
91
+ type: Component,
92
+ args: [{ selector: 'ax-sidebar', changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, host: {
93
+ '[class]': 'hostClass()',
94
+ '[attr.aria-expanded]': 'isFull()',
95
+ }, providers: [{ provide: AXComponent, useExisting: AXSidebarComponent }], template: "<aside class=\"ax-sidebar-shell\" [attr.aria-label]=\"ariaLabel()\">\n <header class=\"ax-sidebar-header\">\n <ng-content select=\"[axSidebarHeader], ax-header\"></ng-content>\n </header>\n\n <nav\n class=\"ax-sidebar-navigation\"\n [attr.id]=\"navigationId()\"\n [attr.aria-label]=\"ariaLabel()\"\n >\n <ng-content select=\"ax-side-menu, [axSidebarNavigation]\"></ng-content>\n <ng-content></ng-content>\n </nav>\n\n <footer class=\"ax-sidebar-utility\">\n <ng-content select=\"ax-sidebar-user, [axSidebarUser]\"></ng-content>\n <ng-content select=\"ax-sidebar-collapse, [axSidebarCollapse]\"></ng-content>\n <ng-content select=\"[axSidebarFooter], ax-footer\"></ng-content>\n </footer>\n</aside>\n", styles: ["@layer base{:root{--ax-comp-sidebar-width-full: 17rem;--ax-comp-sidebar-width-compact: 4.5rem;--ax-comp-sidebar-header-height: 4rem;--ax-comp-sidebar-nav-padding: .5rem;--ax-comp-sidebar-utility-padding: .5rem;--ax-comp-sidebar-item-height: 2.5rem;--ax-comp-sidebar-child-item-height: 2.25rem;--ax-comp-sidebar-item-radius: var(--ax-sys-border-radius);--ax-comp-sidebar-icon-container-size: 1.5rem;--ax-comp-sidebar-icon-size: 1rem;--ax-comp-sidebar-icon-radius: .375rem;--ax-comp-sidebar-child-indent: 2rem;--ax-comp-sidebar-flyout-width: 17.5rem;--ax-comp-sidebar-transition-duration: var(--ax-sys-transition-duration, .15s);--ax-comp-sidebar-transition-timing: var(--ax-sys-transition-timing-function, cubic-bezier(.4, 0, .2, 1))}}@layer components{ax-sidebar{display:block;height:100%;color:rgba(var(--ax-comp-sidebar-text-color, var(--ax-sys-color-on-surface)));background-color:rgba(var(--ax-comp-sidebar-bg-color, var(--ax-sys-color-surface)));border-inline-end:1px solid rgba(var(--ax-comp-sidebar-border-color, var(--ax-sys-color-border-lightest-surface)))}ax-sidebar .ax-sidebar-shell{display:flex;flex-direction:column;width:var(--ax-comp-sidebar-width-full);min-width:var(--ax-comp-sidebar-width-full);max-width:var(--ax-comp-sidebar-width-full);height:100dvh;overflow:hidden;transition-property:width,min-width,max-width;transition-duration:var(--ax-comp-sidebar-transition-duration);transition-timing-function:var(--ax-comp-sidebar-transition-timing)}ax-sidebar .ax-sidebar-header{display:flex;flex-shrink:0;align-items:center;height:var(--ax-comp-sidebar-header-height);min-height:var(--ax-comp-sidebar-header-height);padding-inline:1.25rem}ax-sidebar .ax-sidebar-navigation{display:flex;flex:1 1 auto;flex-direction:column;gap:.25rem;min-height:0;padding:var(--ax-comp-sidebar-nav-padding);overflow-x:hidden;overflow-y:auto}ax-sidebar .ax-sidebar-utility{display:flex;flex-shrink:0;flex-direction:column;gap:.25rem;padding:var(--ax-comp-sidebar-utility-padding);background-color:inherit;border-block-start:1px solid rgba(var(--ax-comp-sidebar-border-color, var(--ax-sys-color-border-lightest-surface)))}ax-sidebar.ax-mode-compact .ax-sidebar-shell{width:var(--ax-comp-sidebar-width-compact);min-width:var(--ax-comp-sidebar-width-compact);max-width:var(--ax-comp-sidebar-width-compact)}ax-sidebar.ax-mode-compact .ax-sidebar-header{justify-content:center;padding-inline:.5rem}ax-sidebar.ax-mode-compact .ax-sidebar-navigation,ax-sidebar.ax-mode-compact .ax-sidebar-utility{align-items:center}@media(prefers-reduced-motion:reduce){ax-sidebar .ax-sidebar-shell{transition:none}}}\n/*! tailwindcss v4.1.16 | MIT License | https://tailwindcss.com */\n"] }]
96
+ }], propDecorators: { mode: [{ type: i0.Input, args: [{ isSignal: true, alias: "mode", required: false }] }, { type: i0.Output, args: ["modeChange"] }], ariaLabel: [{ type: i0.Input, args: [{ isSignal: true, alias: "ariaLabel", required: false }] }], navigationId: [{ type: i0.Input, args: [{ isSignal: true, alias: "navigationId", required: false }] }] } });
97
+
98
+ /**
99
+ * Reusable user/account row for sidebar utility areas.
100
+ * Renders expanded identity content or a compact avatar with tooltip.
101
+ *
102
+ * @category Components
103
+ */
104
+ class AXSidebarUserComponent extends NXComponent {
105
+ constructor() {
106
+ super(...arguments);
107
+ this.avatarSrc = input(null, ...(ngDevMode ? [{ debugName: "avatarSrc" }] : /* istanbul ignore next */ []));
108
+ this.avatarAlt = input('User avatar', ...(ngDevMode ? [{ debugName: "avatarAlt" }] : /* istanbul ignore next */ []));
109
+ this.initials = input(null, ...(ngDevMode ? [{ debugName: "initials" }] : /* istanbul ignore next */ []));
110
+ this.name = input('', ...(ngDevMode ? [{ debugName: "name" }] : /* istanbul ignore next */ []));
111
+ this.description = input('', ...(ngDevMode ? [{ debugName: "description" }] : /* istanbul ignore next */ []));
112
+ this.status = input(null, ...(ngDevMode ? [{ debugName: "status" }] : /* istanbul ignore next */ []));
113
+ this.disabled = input(false, ...(ngDevMode ? [{ debugName: "disabled" }] : /* istanbul ignore next */ []));
114
+ this.compact = input(false, ...(ngDevMode ? [{ debugName: "compact" }] : /* istanbul ignore next */ []));
115
+ this.tooltip = input(null, ...(ngDevMode ? [{ debugName: "tooltip" }] : /* istanbul ignore next */ []));
116
+ this.ariaLabel = input(null, ...(ngDevMode ? [{ debugName: "ariaLabel" }] : /* istanbul ignore next */ []));
117
+ this.userClick = output();
118
+ this.actionClick = output();
119
+ this.projectedAvatar = contentChild(AXAvatarComponent, ...(ngDevMode ? [{ debugName: "projectedAvatar" }] : /* istanbul ignore next */ []));
120
+ this.hasProjectedAvatar = computed(() => !!this.projectedAvatar(), ...(ngDevMode ? [{ debugName: "hasProjectedAvatar" }] : /* istanbul ignore next */ []));
121
+ this.tooltipContent = computed(() => {
122
+ if (!this.compact()) {
123
+ return null;
124
+ }
125
+ return this.tooltip()?.trim() || this.name()?.trim() || this.ariaLabel()?.trim() || null;
126
+ }, ...(ngDevMode ? [{ debugName: "tooltipContent" }] : /* istanbul ignore next */ []));
127
+ this.accessibleLabel = computed(() => {
128
+ return (this.ariaLabel()?.trim() ||
129
+ [this.name(), this.description()].filter(Boolean).join(', ') ||
130
+ this.avatarAlt());
131
+ }, ...(ngDevMode ? [{ debugName: "accessibleLabel" }] : /* istanbul ignore next */ []));
132
+ this.displayInitials = computed(() => {
133
+ const provided = this.initials()?.trim();
134
+ if (provided) {
135
+ return provided.slice(0, 2).toUpperCase();
136
+ }
137
+ const name = this.name().trim();
138
+ if (!name) {
139
+ return '';
140
+ }
141
+ const parts = name.split(/\s+/).filter(Boolean);
142
+ if (parts.length === 1) {
143
+ return parts[0].slice(0, 2).toUpperCase();
144
+ }
145
+ return `${parts[0][0] ?? ''}${parts[1][0] ?? ''}`.toUpperCase();
146
+ }, ...(ngDevMode ? [{ debugName: "displayInitials" }] : /* istanbul ignore next */ []));
147
+ this.hostClass = computed(() => {
148
+ const classes = ['ax-sidebar-user'];
149
+ if (this.compact()) {
150
+ classes.push('ax-mode-compact');
151
+ }
152
+ if (this.disabled()) {
153
+ classes.push('ax-state-disabled');
154
+ }
155
+ return classes.join(' ');
156
+ }, ...(ngDevMode ? [{ debugName: "hostClass" }] : /* istanbul ignore next */ []));
157
+ }
158
+ handleUserClick(nativeEvent) {
159
+ if (this.disabled()) {
160
+ nativeEvent.preventDefault();
161
+ nativeEvent.stopPropagation();
162
+ return;
163
+ }
164
+ this.userClick.emit({
165
+ component: this,
166
+ htmlElement: this.nativeElement,
167
+ nativeEvent,
168
+ });
169
+ }
170
+ handleActionClick(nativeEvent) {
171
+ nativeEvent.stopPropagation();
172
+ if (this.disabled()) {
173
+ nativeEvent.preventDefault();
174
+ return;
175
+ }
176
+ this.actionClick.emit({
177
+ component: this,
178
+ htmlElement: this.nativeElement,
179
+ nativeEvent,
180
+ });
181
+ }
182
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXSidebarUserComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
183
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.9", type: AXSidebarUserComponent, isStandalone: true, selector: "ax-sidebar-user", inputs: { avatarSrc: { classPropertyName: "avatarSrc", publicName: "avatarSrc", isSignal: true, isRequired: false, transformFunction: null }, avatarAlt: { classPropertyName: "avatarAlt", publicName: "avatarAlt", isSignal: true, isRequired: false, transformFunction: null }, initials: { classPropertyName: "initials", publicName: "initials", isSignal: true, isRequired: false, transformFunction: null }, name: { classPropertyName: "name", publicName: "name", isSignal: true, isRequired: false, transformFunction: null }, description: { classPropertyName: "description", publicName: "description", isSignal: true, isRequired: false, transformFunction: null }, status: { classPropertyName: "status", publicName: "status", isSignal: true, isRequired: false, transformFunction: null }, disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null }, compact: { classPropertyName: "compact", publicName: "compact", isSignal: true, isRequired: false, transformFunction: null }, tooltip: { classPropertyName: "tooltip", publicName: "tooltip", isSignal: true, isRequired: false, transformFunction: null }, ariaLabel: { classPropertyName: "ariaLabel", publicName: "ariaLabel", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { userClick: "userClick", actionClick: "actionClick" }, host: { properties: { "class": "hostClass()", "attr.aria-disabled": "disabled() || null" } }, providers: [{ provide: AXComponent, useExisting: AXSidebarUserComponent }], queries: [{ propertyName: "projectedAvatar", first: true, predicate: AXAvatarComponent, descendants: true, isSignal: true }], usesInheritance: true, ngImport: i0, template: "<button\n type=\"button\"\n class=\"ax-sidebar-user-trigger\"\n [axTooltip]=\"tooltipContent()\"\n axTooltipPlacement=\"end\"\n [attr.aria-label]=\"accessibleLabel()\"\n [disabled]=\"disabled()\"\n (click)=\"handleUserClick($event)\"\n>\n <span class=\"ax-sidebar-user-avatar\">\n <ng-content select=\"ax-avatar, ax-prefix\"></ng-content>\n @if (!hasProjectedAvatar()) {\n @if (avatarSrc()) {\n <ax-avatar [size]=\"32\" shape=\"rounded\">\n <ax-image [src]=\"avatarSrc()\" [alt]=\"avatarAlt()\"></ax-image>\n </ax-avatar>\n } @else if (displayInitials()) {\n <ax-avatar [size]=\"32\" shape=\"rounded\">\n <ax-text>{{ displayInitials() }}</ax-text>\n </ax-avatar>\n } @else {\n <ax-avatar [size]=\"32\" shape=\"rounded\"></ax-avatar>\n }\n }\n </span>\n\n @if (!compact()) {\n <span class=\"ax-sidebar-user-text\">\n <ng-content select=\"ax-text, ax-title, ax-subtitle\"></ng-content>\n @if (name()) {\n <span class=\"ax-sidebar-user-name\">{{ name() }}</span>\n }\n @if (description()) {\n <span class=\"ax-sidebar-user-description\">{{ description() }}</span>\n }\n @if (status()) {\n <span class=\"ax-sidebar-user-status\">{{ status() }}</span>\n }\n </span>\n\n <span class=\"ax-sidebar-user-suffix\" (click)=\"handleActionClick($event)\">\n <ng-content select=\"ax-suffix\"></ng-content>\n </span>\n }\n</button>\n", styles: ["@layer components{ax-sidebar-user{display:block;width:100%;color:inherit}ax-sidebar-user .ax-sidebar-user-trigger{display:flex;align-items:center;width:100%;height:3.5rem;padding-inline:.75rem;gap:.75rem;overflow:hidden;color:inherit;text-align:start;cursor:pointer;background:transparent;border:0;border-radius:var(--ax-comp-sidebar-item-radius, var(--ax-sys-border-radius));outline:none;transition-property:background-color,color,opacity;transition-duration:var(--ax-sys-transition-duration);transition-timing-function:var(--ax-sys-transition-timing-function)}ax-sidebar-user .ax-sidebar-user-trigger:hover:not(:disabled){background-color:rgba(var(--ax-comp-sidebar-hover-bg-color, var(--ax-sys-color-lighter-surface, var(--ax-sys-color-surface))))}ax-sidebar-user .ax-sidebar-user-trigger:focus-visible{box-shadow:0 0 0 2px rgba(var(--ax-sys-color-primary-surface))}ax-sidebar-user .ax-sidebar-user-trigger:disabled{cursor:not-allowed;opacity:.5}ax-sidebar-user .ax-sidebar-user-avatar{display:inline-flex;flex-shrink:0;align-items:center;justify-content:center;width:2rem;height:2rem}ax-sidebar-user .ax-sidebar-user-avatar ax-avatar{font-size:.75rem;line-height:1rem}ax-sidebar-user .ax-sidebar-user-text{display:flex;flex:1 1 auto;flex-direction:column;gap:.125rem;min-width:0;overflow:hidden}ax-sidebar-user .ax-sidebar-user-name{overflow:hidden;font-size:.875rem;font-weight:500;line-height:1.25rem;text-overflow:ellipsis;white-space:nowrap}ax-sidebar-user .ax-sidebar-user-description,ax-sidebar-user .ax-sidebar-user-status{overflow:hidden;font-size:.75rem;line-height:1rem;text-overflow:ellipsis;white-space:nowrap;opacity:.7}ax-sidebar-user .ax-sidebar-user-suffix{display:inline-flex;flex-shrink:0;align-items:center;justify-content:center;width:1rem;height:1rem;font-size:1rem;line-height:1}ax-sidebar-user.ax-mode-compact{width:3.5rem}ax-sidebar-user.ax-mode-compact .ax-sidebar-user-trigger{justify-content:center;width:3.5rem;height:3.5rem;padding-inline:0;gap:0}ax-sidebar-user.ax-state-disabled .ax-sidebar-user-trigger{pointer-events:none}}\n/*! tailwindcss v4.1.16 | MIT License | https://tailwindcss.com */\n"], dependencies: [{ kind: "component", type: AXAvatarComponent, selector: "ax-avatar", inputs: ["color", "size", "shape", "look"], outputs: ["sizeChange"] }, { kind: "component", type: AXDecoratorGenericComponent, selector: "ax-footer, ax-header, ax-content, ax-divider, ax-form-hint, ax-prefix, ax-suffix, ax-text, ax-title, ax-subtitle, ax-placeholder, ax-overlay" }, { kind: "component", type: AXImageComponent, selector: "ax-image", inputs: ["width", "height", "overlayMode", "src", "alt", "priority", "lazy"], outputs: ["onLoad", "onError"] }, { kind: "ngmodule", type: AXTooltipModule }, { kind: "directive", type: i1.AXTooltipDirective, selector: "[axTooltip]", inputs: ["axTooltipDisabled", "axTooltip", "axTooltipContext", "axTooltipPlacement", "axTooltipOffsetX", "axTooltipOffsetY", "axTooltipOpenAfter", "axTooltipCloseAfter"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
184
+ }
185
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXSidebarUserComponent, decorators: [{
186
+ type: Component,
187
+ args: [{ selector: 'ax-sidebar-user', changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, host: {
188
+ '[class]': 'hostClass()',
189
+ '[attr.aria-disabled]': 'disabled() || null',
190
+ }, providers: [{ provide: AXComponent, useExisting: AXSidebarUserComponent }], imports: [AXAvatarComponent, AXDecoratorGenericComponent, AXImageComponent, AXTooltipModule], template: "<button\n type=\"button\"\n class=\"ax-sidebar-user-trigger\"\n [axTooltip]=\"tooltipContent()\"\n axTooltipPlacement=\"end\"\n [attr.aria-label]=\"accessibleLabel()\"\n [disabled]=\"disabled()\"\n (click)=\"handleUserClick($event)\"\n>\n <span class=\"ax-sidebar-user-avatar\">\n <ng-content select=\"ax-avatar, ax-prefix\"></ng-content>\n @if (!hasProjectedAvatar()) {\n @if (avatarSrc()) {\n <ax-avatar [size]=\"32\" shape=\"rounded\">\n <ax-image [src]=\"avatarSrc()\" [alt]=\"avatarAlt()\"></ax-image>\n </ax-avatar>\n } @else if (displayInitials()) {\n <ax-avatar [size]=\"32\" shape=\"rounded\">\n <ax-text>{{ displayInitials() }}</ax-text>\n </ax-avatar>\n } @else {\n <ax-avatar [size]=\"32\" shape=\"rounded\"></ax-avatar>\n }\n }\n </span>\n\n @if (!compact()) {\n <span class=\"ax-sidebar-user-text\">\n <ng-content select=\"ax-text, ax-title, ax-subtitle\"></ng-content>\n @if (name()) {\n <span class=\"ax-sidebar-user-name\">{{ name() }}</span>\n }\n @if (description()) {\n <span class=\"ax-sidebar-user-description\">{{ description() }}</span>\n }\n @if (status()) {\n <span class=\"ax-sidebar-user-status\">{{ status() }}</span>\n }\n </span>\n\n <span class=\"ax-sidebar-user-suffix\" (click)=\"handleActionClick($event)\">\n <ng-content select=\"ax-suffix\"></ng-content>\n </span>\n }\n</button>\n", styles: ["@layer components{ax-sidebar-user{display:block;width:100%;color:inherit}ax-sidebar-user .ax-sidebar-user-trigger{display:flex;align-items:center;width:100%;height:3.5rem;padding-inline:.75rem;gap:.75rem;overflow:hidden;color:inherit;text-align:start;cursor:pointer;background:transparent;border:0;border-radius:var(--ax-comp-sidebar-item-radius, var(--ax-sys-border-radius));outline:none;transition-property:background-color,color,opacity;transition-duration:var(--ax-sys-transition-duration);transition-timing-function:var(--ax-sys-transition-timing-function)}ax-sidebar-user .ax-sidebar-user-trigger:hover:not(:disabled){background-color:rgba(var(--ax-comp-sidebar-hover-bg-color, var(--ax-sys-color-lighter-surface, var(--ax-sys-color-surface))))}ax-sidebar-user .ax-sidebar-user-trigger:focus-visible{box-shadow:0 0 0 2px rgba(var(--ax-sys-color-primary-surface))}ax-sidebar-user .ax-sidebar-user-trigger:disabled{cursor:not-allowed;opacity:.5}ax-sidebar-user .ax-sidebar-user-avatar{display:inline-flex;flex-shrink:0;align-items:center;justify-content:center;width:2rem;height:2rem}ax-sidebar-user .ax-sidebar-user-avatar ax-avatar{font-size:.75rem;line-height:1rem}ax-sidebar-user .ax-sidebar-user-text{display:flex;flex:1 1 auto;flex-direction:column;gap:.125rem;min-width:0;overflow:hidden}ax-sidebar-user .ax-sidebar-user-name{overflow:hidden;font-size:.875rem;font-weight:500;line-height:1.25rem;text-overflow:ellipsis;white-space:nowrap}ax-sidebar-user .ax-sidebar-user-description,ax-sidebar-user .ax-sidebar-user-status{overflow:hidden;font-size:.75rem;line-height:1rem;text-overflow:ellipsis;white-space:nowrap;opacity:.7}ax-sidebar-user .ax-sidebar-user-suffix{display:inline-flex;flex-shrink:0;align-items:center;justify-content:center;width:1rem;height:1rem;font-size:1rem;line-height:1}ax-sidebar-user.ax-mode-compact{width:3.5rem}ax-sidebar-user.ax-mode-compact .ax-sidebar-user-trigger{justify-content:center;width:3.5rem;height:3.5rem;padding-inline:0;gap:0}ax-sidebar-user.ax-state-disabled .ax-sidebar-user-trigger{pointer-events:none}}\n/*! tailwindcss v4.1.16 | MIT License | https://tailwindcss.com */\n"] }]
191
+ }], propDecorators: { avatarSrc: [{ type: i0.Input, args: [{ isSignal: true, alias: "avatarSrc", required: false }] }], avatarAlt: [{ type: i0.Input, args: [{ isSignal: true, alias: "avatarAlt", required: false }] }], initials: [{ type: i0.Input, args: [{ isSignal: true, alias: "initials", required: false }] }], name: [{ type: i0.Input, args: [{ isSignal: true, alias: "name", required: false }] }], description: [{ type: i0.Input, args: [{ isSignal: true, alias: "description", required: false }] }], status: [{ type: i0.Input, args: [{ isSignal: true, alias: "status", required: false }] }], disabled: [{ type: i0.Input, args: [{ isSignal: true, alias: "disabled", required: false }] }], compact: [{ type: i0.Input, args: [{ isSignal: true, alias: "compact", required: false }] }], tooltip: [{ type: i0.Input, args: [{ isSignal: true, alias: "tooltip", required: false }] }], ariaLabel: [{ type: i0.Input, args: [{ isSignal: true, alias: "ariaLabel", required: false }] }], userClick: [{ type: i0.Output, args: ["userClick"] }], actionClick: [{ type: i0.Output, args: ["actionClick"] }], projectedAvatar: [{ type: i0.ContentChild, args: [i0.forwardRef(() => AXAvatarComponent), { isSignal: true }] }] } });
192
+
193
+ /**
194
+ * Sticky utility control that toggles sidebar full/compact mode.
195
+ *
196
+ * @category Components
197
+ */
198
+ class AXSidebarCollapseComponent extends NXComponent {
199
+ constructor() {
200
+ super(...arguments);
201
+ /**
202
+ * Current sidebar mode. Two-way bindable via `[(mode)]`.
203
+ *
204
+ * @defaultValue 'full'
205
+ */
206
+ this.mode = model('full', ...(ngDevMode ? [{ debugName: "mode" }] : /* istanbul ignore next */ []));
207
+ this.disabled = input(false, ...(ngDevMode ? [{ debugName: "disabled" }] : /* istanbul ignore next */ []));
208
+ this.fullLabel = input('Collapse', ...(ngDevMode ? [{ debugName: "fullLabel" }] : /* istanbul ignore next */ []));
209
+ this.compactLabel = input('Expand', ...(ngDevMode ? [{ debugName: "compactLabel" }] : /* istanbul ignore next */ []));
210
+ this.ariaLabel = input(null, ...(ngDevMode ? [{ debugName: "ariaLabel" }] : /* istanbul ignore next */ []));
211
+ this.ariaControls = input(null, ...(ngDevMode ? [{ debugName: "ariaControls" }] : /* istanbul ignore next */ []));
212
+ this.isFull = computed(() => this.mode() === 'full', ...(ngDevMode ? [{ debugName: "isFull" }] : /* istanbul ignore next */ []));
213
+ this.isCompact = computed(() => this.mode() === 'compact', ...(ngDevMode ? [{ debugName: "isCompact" }] : /* istanbul ignore next */ []));
214
+ this.label = computed(() => (this.isFull() ? this.fullLabel() : this.compactLabel()), ...(ngDevMode ? [{ debugName: "label" }] : /* istanbul ignore next */ []));
215
+ this.accessibleLabel = computed(() => this.ariaLabel()?.trim() || this.label(), ...(ngDevMode ? [{ debugName: "accessibleLabel" }] : /* istanbul ignore next */ []));
216
+ this.tooltipContent = computed(() => (this.isCompact() ? this.accessibleLabel() : null), ...(ngDevMode ? [{ debugName: "tooltipContent" }] : /* istanbul ignore next */ []));
217
+ this.hostClass = computed(() => {
218
+ const classes = ['ax-sidebar-collapse', `ax-mode-${this.mode()}`];
219
+ if (this.disabled()) {
220
+ classes.push('ax-state-disabled');
221
+ }
222
+ return classes.join(' ');
223
+ }, ...(ngDevMode ? [{ debugName: "hostClass" }] : /* istanbul ignore next */ []));
224
+ }
225
+ toggleMode() {
226
+ if (this.disabled()) {
227
+ return;
228
+ }
229
+ this.mode.update((current) => (current === 'full' ? 'compact' : 'full'));
230
+ }
231
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXSidebarCollapseComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
232
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.9", type: AXSidebarCollapseComponent, isStandalone: true, selector: "ax-sidebar-collapse", inputs: { mode: { classPropertyName: "mode", publicName: "mode", isSignal: true, isRequired: false, transformFunction: null }, disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null }, fullLabel: { classPropertyName: "fullLabel", publicName: "fullLabel", isSignal: true, isRequired: false, transformFunction: null }, compactLabel: { classPropertyName: "compactLabel", publicName: "compactLabel", isSignal: true, isRequired: false, transformFunction: null }, ariaLabel: { classPropertyName: "ariaLabel", publicName: "ariaLabel", isSignal: true, isRequired: false, transformFunction: null }, ariaControls: { classPropertyName: "ariaControls", publicName: "ariaControls", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { mode: "modeChange" }, host: { properties: { "class": "hostClass()" } }, providers: [{ provide: AXComponent, useExisting: AXSidebarCollapseComponent }], usesInheritance: true, ngImport: i0, template: "<button\n type=\"button\"\n class=\"ax-sidebar-collapse-trigger\"\n [axTooltip]=\"tooltipContent()\"\n axTooltipPlacement=\"end\"\n [attr.aria-label]=\"accessibleLabel()\"\n [attr.aria-expanded]=\"isFull()\"\n [attr.aria-controls]=\"ariaControls()\"\n [disabled]=\"disabled()\"\n (click)=\"toggleMode()\"\n>\n <span class=\"ax-sidebar-collapse-icon\" aria-hidden=\"true\">\n <svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 16 16\" width=\"16\" height=\"16\" fill=\"none\">\n @if (isFull()) {\n <path\n d=\"M10.5 3.5 6 8l4.5 4.5\"\n stroke=\"currentColor\"\n stroke-width=\"1.5\"\n stroke-linecap=\"round\"\n stroke-linejoin=\"round\"\n />\n } @else {\n <path\n d=\"M5.5 3.5 10 8l-4.5 4.5\"\n stroke=\"currentColor\"\n stroke-width=\"1.5\"\n stroke-linecap=\"round\"\n stroke-linejoin=\"round\"\n />\n }\n </svg>\n </span>\n @if (isFull()) {\n <span class=\"ax-sidebar-collapse-label\">{{ label() }}</span>\n }\n</button>\n", styles: ["@layer components{ax-sidebar-collapse{display:block;width:100%;color:inherit}ax-sidebar-collapse .ax-sidebar-collapse-trigger{display:flex;align-items:center;width:100%;height:2.5rem;padding-inline:.75rem;gap:.75rem;overflow:hidden;color:inherit;text-align:start;cursor:pointer;background:transparent;border:0;border-radius:var(--ax-comp-sidebar-item-radius, var(--ax-sys-border-radius, .5rem));outline:none;transition-property:background-color,color,opacity;transition-duration:var(--ax-sys-transition-duration);transition-timing-function:var(--ax-sys-transition-timing-function)}ax-sidebar-collapse .ax-sidebar-collapse-trigger:hover:not(:disabled){background-color:rgba(var(--ax-comp-sidebar-hover-bg-color, var(--ax-sys-color-lighter-surface, var(--ax-sys-color-surface))))}ax-sidebar-collapse .ax-sidebar-collapse-trigger:focus-visible{box-shadow:0 0 0 2px rgba(var(--ax-sys-color-primary-surface))}ax-sidebar-collapse .ax-sidebar-collapse-trigger:disabled{cursor:not-allowed;opacity:.5}ax-sidebar-collapse .ax-sidebar-collapse-icon{display:inline-flex;flex-shrink:0;align-items:center;justify-content:center;width:1.5rem;height:1.5rem;border-radius:var(--ax-comp-sidebar-icon-radius, .375rem)}ax-sidebar-collapse .ax-sidebar-collapse-icon svg{width:1rem;height:1rem}ax-sidebar-collapse .ax-sidebar-collapse-label{overflow:hidden;font-size:.875rem;font-weight:400;line-height:1.25rem;text-overflow:ellipsis;white-space:nowrap}ax-sidebar-collapse.ax-mode-compact{width:3.5rem}ax-sidebar-collapse.ax-mode-compact .ax-sidebar-collapse-trigger{justify-content:center;width:3.5rem;padding-inline:0;gap:0}ax-sidebar-collapse.ax-state-disabled .ax-sidebar-collapse-trigger{pointer-events:none}[dir=rtl] ax-sidebar-collapse .ax-sidebar-collapse-icon{scale:-1 1}}\n/*! tailwindcss v4.1.16 | MIT License | https://tailwindcss.com */\n"], dependencies: [{ kind: "ngmodule", type: AXTooltipModule }, { kind: "directive", type: i1.AXTooltipDirective, selector: "[axTooltip]", inputs: ["axTooltipDisabled", "axTooltip", "axTooltipContext", "axTooltipPlacement", "axTooltipOffsetX", "axTooltipOffsetY", "axTooltipOpenAfter", "axTooltipCloseAfter"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
233
+ }
234
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXSidebarCollapseComponent, decorators: [{
235
+ type: Component,
236
+ args: [{ selector: 'ax-sidebar-collapse', changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, host: {
237
+ '[class]': 'hostClass()',
238
+ }, providers: [{ provide: AXComponent, useExisting: AXSidebarCollapseComponent }], imports: [AXTooltipModule], template: "<button\n type=\"button\"\n class=\"ax-sidebar-collapse-trigger\"\n [axTooltip]=\"tooltipContent()\"\n axTooltipPlacement=\"end\"\n [attr.aria-label]=\"accessibleLabel()\"\n [attr.aria-expanded]=\"isFull()\"\n [attr.aria-controls]=\"ariaControls()\"\n [disabled]=\"disabled()\"\n (click)=\"toggleMode()\"\n>\n <span class=\"ax-sidebar-collapse-icon\" aria-hidden=\"true\">\n <svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 16 16\" width=\"16\" height=\"16\" fill=\"none\">\n @if (isFull()) {\n <path\n d=\"M10.5 3.5 6 8l4.5 4.5\"\n stroke=\"currentColor\"\n stroke-width=\"1.5\"\n stroke-linecap=\"round\"\n stroke-linejoin=\"round\"\n />\n } @else {\n <path\n d=\"M5.5 3.5 10 8l-4.5 4.5\"\n stroke=\"currentColor\"\n stroke-width=\"1.5\"\n stroke-linecap=\"round\"\n stroke-linejoin=\"round\"\n />\n }\n </svg>\n </span>\n @if (isFull()) {\n <span class=\"ax-sidebar-collapse-label\">{{ label() }}</span>\n }\n</button>\n", styles: ["@layer components{ax-sidebar-collapse{display:block;width:100%;color:inherit}ax-sidebar-collapse .ax-sidebar-collapse-trigger{display:flex;align-items:center;width:100%;height:2.5rem;padding-inline:.75rem;gap:.75rem;overflow:hidden;color:inherit;text-align:start;cursor:pointer;background:transparent;border:0;border-radius:var(--ax-comp-sidebar-item-radius, var(--ax-sys-border-radius, .5rem));outline:none;transition-property:background-color,color,opacity;transition-duration:var(--ax-sys-transition-duration);transition-timing-function:var(--ax-sys-transition-timing-function)}ax-sidebar-collapse .ax-sidebar-collapse-trigger:hover:not(:disabled){background-color:rgba(var(--ax-comp-sidebar-hover-bg-color, var(--ax-sys-color-lighter-surface, var(--ax-sys-color-surface))))}ax-sidebar-collapse .ax-sidebar-collapse-trigger:focus-visible{box-shadow:0 0 0 2px rgba(var(--ax-sys-color-primary-surface))}ax-sidebar-collapse .ax-sidebar-collapse-trigger:disabled{cursor:not-allowed;opacity:.5}ax-sidebar-collapse .ax-sidebar-collapse-icon{display:inline-flex;flex-shrink:0;align-items:center;justify-content:center;width:1.5rem;height:1.5rem;border-radius:var(--ax-comp-sidebar-icon-radius, .375rem)}ax-sidebar-collapse .ax-sidebar-collapse-icon svg{width:1rem;height:1rem}ax-sidebar-collapse .ax-sidebar-collapse-label{overflow:hidden;font-size:.875rem;font-weight:400;line-height:1.25rem;text-overflow:ellipsis;white-space:nowrap}ax-sidebar-collapse.ax-mode-compact{width:3.5rem}ax-sidebar-collapse.ax-mode-compact .ax-sidebar-collapse-trigger{justify-content:center;width:3.5rem;padding-inline:0;gap:0}ax-sidebar-collapse.ax-state-disabled .ax-sidebar-collapse-trigger{pointer-events:none}[dir=rtl] ax-sidebar-collapse .ax-sidebar-collapse-icon{scale:-1 1}}\n/*! tailwindcss v4.1.16 | MIT License | https://tailwindcss.com */\n"] }]
239
+ }], propDecorators: { mode: [{ type: i0.Input, args: [{ isSignal: true, alias: "mode", required: false }] }, { type: i0.Output, args: ["modeChange"] }], disabled: [{ type: i0.Input, args: [{ isSignal: true, alias: "disabled", required: false }] }], fullLabel: [{ type: i0.Input, args: [{ isSignal: true, alias: "fullLabel", required: false }] }], compactLabel: [{ type: i0.Input, args: [{ isSignal: true, alias: "compactLabel", required: false }] }], ariaLabel: [{ type: i0.Input, args: [{ isSignal: true, alias: "ariaLabel", required: false }] }], ariaControls: [{ type: i0.Input, args: [{ isSignal: true, alias: "ariaControls", required: false }] }] } });
240
+
241
+ const COMPONENTS = [AXSidebarComponent, AXSidebarUserComponent, AXSidebarCollapseComponent];
242
+ const DIRECTIVES = [
243
+ AXSidebarHeaderDirective,
244
+ AXSidebarNavigationDirective,
245
+ AXSidebarFooterDirective,
246
+ AXSidebarUserSlotDirective,
247
+ AXSidebarCollapseSlotDirective,
248
+ ];
249
+ class AXSidebarModule {
250
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXSidebarModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
251
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.2.9", ngImport: i0, type: AXSidebarModule, imports: [AXSidebarComponent, AXSidebarUserComponent, AXSidebarCollapseComponent, AXSidebarHeaderDirective,
252
+ AXSidebarNavigationDirective,
253
+ AXSidebarFooterDirective,
254
+ AXSidebarUserSlotDirective,
255
+ AXSidebarCollapseSlotDirective], exports: [AXSidebarComponent, AXSidebarUserComponent, AXSidebarCollapseComponent, AXSidebarHeaderDirective,
256
+ AXSidebarNavigationDirective,
257
+ AXSidebarFooterDirective,
258
+ AXSidebarUserSlotDirective,
259
+ AXSidebarCollapseSlotDirective] }); }
260
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXSidebarModule, imports: [AXSidebarUserComponent, AXSidebarCollapseComponent] }); }
261
+ }
262
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXSidebarModule, decorators: [{
263
+ type: NgModule,
264
+ args: [{
265
+ imports: [...COMPONENTS, ...DIRECTIVES],
266
+ exports: [...COMPONENTS, ...DIRECTIVES],
267
+ }]
268
+ }] });
269
+
270
+ /**
271
+ * Generated bundle index. Do not edit.
272
+ */
273
+
274
+ export { AXSidebarCollapseComponent, AXSidebarCollapseSlotDirective, AXSidebarComponent, AXSidebarFooterDirective, AXSidebarHeaderDirective, AXSidebarModule, AXSidebarNavigationDirective, AXSidebarUserComponent, AXSidebarUserSlotDirective };
275
+ //# sourceMappingURL=acorex-components-sidebar.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"acorex-components-sidebar.mjs","sources":["../../../../packages/components/sidebar/src/lib/sidebar.directives.ts","../../../../packages/components/sidebar/src/lib/sidebar.component.ts","../../../../packages/components/sidebar/src/lib/sidebar.component.html","../../../../packages/components/sidebar/src/lib/sidebar-user/sidebar-user.component.ts","../../../../packages/components/sidebar/src/lib/sidebar-user/sidebar-user.component.html","../../../../packages/components/sidebar/src/lib/sidebar-collapse/sidebar-collapse.component.ts","../../../../packages/components/sidebar/src/lib/sidebar-collapse/sidebar-collapse.component.html","../../../../packages/components/sidebar/src/lib/sidebar.module.ts","../../../../packages/components/sidebar/src/acorex-components-sidebar.ts"],"sourcesContent":["import { Directive } from '@angular/core';\n\n/** Marks projected header content inside `ax-sidebar`. */\n@Directive({ selector: '[axSidebarHeader]' })\nexport class AXSidebarHeaderDirective {}\n\n/** Marks projected navigation content (typically `ax-side-menu`) inside `ax-sidebar`. */\n@Directive({ selector: '[axSidebarNavigation]' })\nexport class AXSidebarNavigationDirective {}\n\n/** Marks projected footer utility content inside `ax-sidebar`. */\n@Directive({ selector: '[axSidebarFooter]' })\nexport class AXSidebarFooterDirective {}\n\n/** Marks the user utility slot inside `ax-sidebar`. */\n@Directive({ selector: '[axSidebarUser]' })\nexport class AXSidebarUserSlotDirective {}\n\n/** Marks the collapse utility slot inside `ax-sidebar`. */\n@Directive({ selector: '[axSidebarCollapse]' })\nexport class AXSidebarCollapseSlotDirective {}\n","import { AXComponent, NXComponent } from '@acorex/cdk/common';\nimport { ChangeDetectionStrategy, Component, computed, input, model, ViewEncapsulation } from '@angular/core';\nimport { AXSidebarMode } from './sidebar.types';\n\n/**\n * Layout shell for an enterprise sidebar with full and compact widths,\n * sticky header/utility regions, and a scrollable navigation slot.\n *\n * @category Components\n */\n@Component({\n selector: 'ax-sidebar',\n templateUrl: './sidebar.component.html',\n styleUrls: ['./sidebar.component.css'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n host: {\n '[class]': 'hostClass()',\n '[attr.aria-expanded]': 'isFull()',\n },\n providers: [{ provide: AXComponent, useExisting: AXSidebarComponent }],\n})\nexport class AXSidebarComponent extends NXComponent {\n /**\n * Sidebar display mode shared with collapse and side-menu consumers.\n *\n * @defaultValue 'full'\n */\n mode = model<AXSidebarMode>('full');\n\n /**\n * Accessible name for the sidebar landmark.\n *\n * @defaultValue 'Sidebar'\n */\n readonly ariaLabel = input('Sidebar');\n\n /**\n * Optional id of the navigation region for `aria-controls` wiring from collapse.\n */\n readonly navigationId = input<string | null>(null);\n\n protected readonly isFull = computed(() => this.mode() === 'full');\n protected readonly isCompact = computed(() => this.mode() === 'compact');\n\n protected readonly hostClass = computed(() => {\n return [`ax-sidebar`, `ax-mode-${this.mode()}`].join(' ');\n });\n}\n","<aside class=\"ax-sidebar-shell\" [attr.aria-label]=\"ariaLabel()\">\n <header class=\"ax-sidebar-header\">\n <ng-content select=\"[axSidebarHeader], ax-header\"></ng-content>\n </header>\n\n <nav\n class=\"ax-sidebar-navigation\"\n [attr.id]=\"navigationId()\"\n [attr.aria-label]=\"ariaLabel()\"\n >\n <ng-content select=\"ax-side-menu, [axSidebarNavigation]\"></ng-content>\n <ng-content></ng-content>\n </nav>\n\n <footer class=\"ax-sidebar-utility\">\n <ng-content select=\"ax-sidebar-user, [axSidebarUser]\"></ng-content>\n <ng-content select=\"ax-sidebar-collapse, [axSidebarCollapse]\"></ng-content>\n <ng-content select=\"[axSidebarFooter], ax-footer\"></ng-content>\n </footer>\n</aside>\n","import { AXClickEvent, AXComponent, NXComponent } from '@acorex/cdk/common';\nimport { AXAvatarComponent } from '@acorex/components/avatar';\nimport { AXDecoratorGenericComponent } from '@acorex/components/decorators';\nimport { AXImageComponent } from '@acorex/components/image';\nimport { AXTooltipModule } from '@acorex/components/tooltip';\nimport {\n ChangeDetectionStrategy,\n Component,\n computed,\n contentChild,\n input,\n output,\n ViewEncapsulation,\n} from '@angular/core';\n\n/**\n * Reusable user/account row for sidebar utility areas.\n * Renders expanded identity content or a compact avatar with tooltip.\n *\n * @category Components\n */\n@Component({\n selector: 'ax-sidebar-user',\n templateUrl: './sidebar-user.component.html',\n styleUrls: ['./sidebar-user.component.css'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n host: {\n '[class]': 'hostClass()',\n '[attr.aria-disabled]': 'disabled() || null',\n },\n providers: [{ provide: AXComponent, useExisting: AXSidebarUserComponent }],\n imports: [AXAvatarComponent, AXDecoratorGenericComponent, AXImageComponent, AXTooltipModule],\n})\nexport class AXSidebarUserComponent extends NXComponent {\n readonly avatarSrc = input<string | null>(null);\n readonly avatarAlt = input('User avatar');\n readonly initials = input<string | null>(null);\n readonly name = input('');\n readonly description = input('');\n readonly status = input<string | null>(null);\n readonly disabled = input(false);\n readonly compact = input(false);\n readonly tooltip = input<string | null>(null);\n readonly ariaLabel = input<string | null>(null);\n\n readonly userClick = output<AXClickEvent>();\n readonly actionClick = output<AXClickEvent>();\n\n private readonly projectedAvatar = contentChild(AXAvatarComponent);\n\n protected readonly hasProjectedAvatar = computed(() => !!this.projectedAvatar());\n\n protected readonly tooltipContent = computed(() => {\n if (!this.compact()) {\n return null;\n }\n return this.tooltip()?.trim() || this.name()?.trim() || this.ariaLabel()?.trim() || null;\n });\n\n protected readonly accessibleLabel = computed(() => {\n return (\n this.ariaLabel()?.trim() ||\n [this.name(), this.description()].filter(Boolean).join(', ') ||\n this.avatarAlt()\n );\n });\n\n protected readonly displayInitials = computed(() => {\n const provided = this.initials()?.trim();\n if (provided) {\n return provided.slice(0, 2).toUpperCase();\n }\n const name = this.name().trim();\n if (!name) {\n return '';\n }\n const parts = name.split(/\\s+/).filter(Boolean);\n if (parts.length === 1) {\n return parts[0].slice(0, 2).toUpperCase();\n }\n return `${parts[0][0] ?? ''}${parts[1][0] ?? ''}`.toUpperCase();\n });\n\n protected readonly hostClass = computed(() => {\n const classes = ['ax-sidebar-user'];\n if (this.compact()) {\n classes.push('ax-mode-compact');\n }\n if (this.disabled()) {\n classes.push('ax-state-disabled');\n }\n return classes.join(' ');\n });\n\n protected handleUserClick(nativeEvent: MouseEvent) {\n if (this.disabled()) {\n nativeEvent.preventDefault();\n nativeEvent.stopPropagation();\n return;\n }\n this.userClick.emit({\n component: this,\n htmlElement: this.nativeElement,\n nativeEvent,\n });\n }\n\n protected handleActionClick(nativeEvent: MouseEvent) {\n nativeEvent.stopPropagation();\n if (this.disabled()) {\n nativeEvent.preventDefault();\n return;\n }\n this.actionClick.emit({\n component: this,\n htmlElement: this.nativeElement,\n nativeEvent,\n });\n }\n}\n","<button\n type=\"button\"\n class=\"ax-sidebar-user-trigger\"\n [axTooltip]=\"tooltipContent()\"\n axTooltipPlacement=\"end\"\n [attr.aria-label]=\"accessibleLabel()\"\n [disabled]=\"disabled()\"\n (click)=\"handleUserClick($event)\"\n>\n <span class=\"ax-sidebar-user-avatar\">\n <ng-content select=\"ax-avatar, ax-prefix\"></ng-content>\n @if (!hasProjectedAvatar()) {\n @if (avatarSrc()) {\n <ax-avatar [size]=\"32\" shape=\"rounded\">\n <ax-image [src]=\"avatarSrc()\" [alt]=\"avatarAlt()\"></ax-image>\n </ax-avatar>\n } @else if (displayInitials()) {\n <ax-avatar [size]=\"32\" shape=\"rounded\">\n <ax-text>{{ displayInitials() }}</ax-text>\n </ax-avatar>\n } @else {\n <ax-avatar [size]=\"32\" shape=\"rounded\"></ax-avatar>\n }\n }\n </span>\n\n @if (!compact()) {\n <span class=\"ax-sidebar-user-text\">\n <ng-content select=\"ax-text, ax-title, ax-subtitle\"></ng-content>\n @if (name()) {\n <span class=\"ax-sidebar-user-name\">{{ name() }}</span>\n }\n @if (description()) {\n <span class=\"ax-sidebar-user-description\">{{ description() }}</span>\n }\n @if (status()) {\n <span class=\"ax-sidebar-user-status\">{{ status() }}</span>\n }\n </span>\n\n <span class=\"ax-sidebar-user-suffix\" (click)=\"handleActionClick($event)\">\n <ng-content select=\"ax-suffix\"></ng-content>\n </span>\n }\n</button>\n","import { AXComponent, NXComponent } from '@acorex/cdk/common';\nimport { AXTooltipModule } from '@acorex/components/tooltip';\nimport { ChangeDetectionStrategy, Component, computed, input, model, ViewEncapsulation } from '@angular/core';\nimport { AXSidebarMode } from '../sidebar.types';\n\n/**\n * Sticky utility control that toggles sidebar full/compact mode.\n *\n * @category Components\n */\n@Component({\n selector: 'ax-sidebar-collapse',\n templateUrl: './sidebar-collapse.component.html',\n styleUrls: ['./sidebar-collapse.component.css'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n host: {\n '[class]': 'hostClass()',\n },\n providers: [{ provide: AXComponent, useExisting: AXSidebarCollapseComponent }],\n imports: [AXTooltipModule],\n})\nexport class AXSidebarCollapseComponent extends NXComponent {\n /**\n * Current sidebar mode. Two-way bindable via `[(mode)]`.\n *\n * @defaultValue 'full'\n */\n mode = model<AXSidebarMode>('full');\n\n readonly disabled = input(false);\n readonly fullLabel = input('Collapse');\n readonly compactLabel = input('Expand');\n readonly ariaLabel = input<string | null>(null);\n readonly ariaControls = input<string | null>(null);\n\n protected readonly isFull = computed(() => this.mode() === 'full');\n protected readonly isCompact = computed(() => this.mode() === 'compact');\n\n protected readonly label = computed(() => (this.isFull() ? this.fullLabel() : this.compactLabel()));\n\n protected readonly accessibleLabel = computed(() => this.ariaLabel()?.trim() || this.label());\n\n protected readonly tooltipContent = computed(() => (this.isCompact() ? this.accessibleLabel() : null));\n\n protected readonly hostClass = computed(() => {\n const classes = ['ax-sidebar-collapse', `ax-mode-${this.mode()}`];\n if (this.disabled()) {\n classes.push('ax-state-disabled');\n }\n return classes.join(' ');\n });\n\n protected toggleMode() {\n if (this.disabled()) {\n return;\n }\n this.mode.update((current) => (current === 'full' ? 'compact' : 'full'));\n }\n}\n","<button\n type=\"button\"\n class=\"ax-sidebar-collapse-trigger\"\n [axTooltip]=\"tooltipContent()\"\n axTooltipPlacement=\"end\"\n [attr.aria-label]=\"accessibleLabel()\"\n [attr.aria-expanded]=\"isFull()\"\n [attr.aria-controls]=\"ariaControls()\"\n [disabled]=\"disabled()\"\n (click)=\"toggleMode()\"\n>\n <span class=\"ax-sidebar-collapse-icon\" aria-hidden=\"true\">\n <svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 16 16\" width=\"16\" height=\"16\" fill=\"none\">\n @if (isFull()) {\n <path\n d=\"M10.5 3.5 6 8l4.5 4.5\"\n stroke=\"currentColor\"\n stroke-width=\"1.5\"\n stroke-linecap=\"round\"\n stroke-linejoin=\"round\"\n />\n } @else {\n <path\n d=\"M5.5 3.5 10 8l-4.5 4.5\"\n stroke=\"currentColor\"\n stroke-width=\"1.5\"\n stroke-linecap=\"round\"\n stroke-linejoin=\"round\"\n />\n }\n </svg>\n </span>\n @if (isFull()) {\n <span class=\"ax-sidebar-collapse-label\">{{ label() }}</span>\n }\n</button>\n","import { NgModule } from '@angular/core';\nimport {\n AXSidebarCollapseSlotDirective,\n AXSidebarFooterDirective,\n AXSidebarHeaderDirective,\n AXSidebarNavigationDirective,\n AXSidebarUserSlotDirective,\n} from './sidebar.directives';\nimport { AXSidebarComponent } from './sidebar.component';\nimport { AXSidebarCollapseComponent } from './sidebar-collapse/sidebar-collapse.component';\nimport { AXSidebarUserComponent } from './sidebar-user/sidebar-user.component';\n\nconst COMPONENTS = [AXSidebarComponent, AXSidebarUserComponent, AXSidebarCollapseComponent];\nconst DIRECTIVES = [\n AXSidebarHeaderDirective,\n AXSidebarNavigationDirective,\n AXSidebarFooterDirective,\n AXSidebarUserSlotDirective,\n AXSidebarCollapseSlotDirective,\n];\n\n@NgModule({\n imports: [...COMPONENTS, ...DIRECTIVES],\n exports: [...COMPONENTS, ...DIRECTIVES],\n})\nexport class AXSidebarModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;AAEA;MAEa,wBAAwB,CAAA;8GAAxB,wBAAwB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;kGAAxB,wBAAwB,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,mBAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA,CAAA;;2FAAxB,wBAAwB,EAAA,UAAA,EAAA,CAAA;kBADpC,SAAS;mBAAC,EAAE,QAAQ,EAAE,mBAAmB,EAAE;;AAG5C;MAEa,4BAA4B,CAAA;8GAA5B,4BAA4B,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;kGAA5B,4BAA4B,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,uBAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA,CAAA;;2FAA5B,4BAA4B,EAAA,UAAA,EAAA,CAAA;kBADxC,SAAS;mBAAC,EAAE,QAAQ,EAAE,uBAAuB,EAAE;;AAGhD;MAEa,wBAAwB,CAAA;8GAAxB,wBAAwB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;kGAAxB,wBAAwB,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,mBAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA,CAAA;;2FAAxB,wBAAwB,EAAA,UAAA,EAAA,CAAA;kBADpC,SAAS;mBAAC,EAAE,QAAQ,EAAE,mBAAmB,EAAE;;AAG5C;MAEa,0BAA0B,CAAA;8GAA1B,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A,OAAA,EAAA,CAbY,sBAAsB,EAAE,0BAA0B,CAAA,EAAA,CAAA,CAAA;;2FAa7E,eAAe,EAAA,UAAA,EAAA,CAAA;kBAJ3B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,OAAO,EAAE,CAAC,GAAG,UAAU,EAAE,GAAG,UAAU,CAAC;AACvC,oBAAA,OAAO,EAAE,CAAC,GAAG,UAAU,EAAE,GAAG,UAAU,CAAC;AACxC,iBAAA;;;ACxBD;;AAEG;;;;"}
@@ -22,11 +22,11 @@ class AXSkeletonComponent extends MXBaseComponent {
22
22
  return `ax-skeleton ${this.animated ? 'ax-skeleton-animate' : ''}`;
23
23
  }
24
24
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXSkeletonComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
25
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.9", type: AXSkeletonComponent, isStandalone: true, selector: "ax-skeleton", inputs: { animated: "animated" }, host: { properties: { "class": "this.__hostClass" } }, providers: [{ provide: AXComponent, useExisting: AXSkeletonComponent }], usesInheritance: true, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, styles: ["@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-gradient-position:initial;--tw-gradient-from:#0000;--tw-gradient-via:#0000;--tw-gradient-to:#0000;--tw-gradient-stops:initial;--tw-gradient-via-stops:initial;--tw-gradient-from-position:0%;--tw-gradient-via-position:50%;--tw-gradient-to-position:100%;--tw-content:\"\"}}}@layer components{ax-skeleton.ax-skeleton{background-color:rgba(var(--ax-sys-color-darkest-surface));display:block;position:relative;overflow:hidden}@supports (color:color-mix(in lab,red,red)){ax-skeleton.ax-skeleton{background-color:color-mix(in oklab,rgba(var(--ax-sys-color-darkest-surface)) 50%,transparent)}}ax-skeleton.ax-skeleton:where(.ax-dark,.ax-dark *):not(:where(.ax-light,.ax-light *)){background-color:rgba(var(--ax-sys-color-lightest-surface))}@supports (color:color-mix(in lab,red,red)){ax-skeleton.ax-skeleton:where(.ax-dark,.ax-dark *):not(:where(.ax-light,.ax-light *)){background-color:color-mix(in oklab,rgba(var(--ax-sys-color-lightest-surface)) 50%,transparent)}}ax-skeleton.ax-skeleton-animate:before{height:100%;width:calc(var(--spacing,.25rem) * 56);--tw-gradient-position:to right;inset-inline-start:calc(var(--spacing,.25rem) * -52);animation:load;display:block;position:absolute;top:0}@supports (background-image:linear-gradient(in lab,red,red)){ax-skeleton.ax-skeleton-animate:before{--tw-gradient-position:to right in oklab}}ax-skeleton.ax-skeleton-animate:before{background-image:linear-gradient(var(--tw-gradient-stops));--tw-gradient-from:transparent;--tw-gradient-via:rgba(var(--ax-sys-color-darkest-surface))}@supports (color:color-mix(in lab,red,red)){ax-skeleton.ax-skeleton-animate:before{--tw-gradient-via:color-mix(in oklab, rgba(var(--ax-sys-color-darkest-surface)) 60%, transparent)}}ax-skeleton.ax-skeleton-animate:before{--tw-gradient-via-stops:var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-via) var(--tw-gradient-via-position), var(--tw-gradient-to) var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position));--tw-gradient-via-position:50%;--tw-gradient-to:transparent;--tw-content:\"\";content:var(--tw-content);animation-duration:1s;animation-timing-function:ease-in;animation-iteration-count:infinite}@keyframes load{0%{inset-inline-start:-13rem}to{inset-inline-start:100%}}}@property --tw-gradient-position{syntax:\"*\";inherits:false}@property --tw-gradient-from{syntax:\"<color>\";inherits:false;initial-value:#0000}@property --tw-gradient-via{syntax:\"<color>\";inherits:false;initial-value:#0000}@property --tw-gradient-to{syntax:\"<color>\";inherits:false;initial-value:#0000}@property --tw-gradient-stops{syntax:\"*\";inherits:false}@property --tw-gradient-via-stops{syntax:\"*\";inherits:false}@property --tw-gradient-from-position{syntax:\"<length-percentage>\";inherits:false;initial-value:0%}@property --tw-gradient-via-position{syntax:\"<length-percentage>\";inherits:false;initial-value:50%}@property --tw-gradient-to-position{syntax:\"<length-percentage>\";inherits:false;initial-value:100%}@property --tw-content{syntax:\"*\";inherits:false;initial-value:\"\"}\n/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */\n"], encapsulation: i0.ViewEncapsulation.None }); }
25
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.9", type: AXSkeletonComponent, isStandalone: true, selector: "ax-skeleton", inputs: { animated: "animated" }, host: { properties: { "class": "this.__hostClass" } }, providers: [{ provide: AXComponent, useExisting: AXSkeletonComponent }], usesInheritance: true, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, styles: ["@layer properties;@layer components{ax-skeleton.ax-skeleton{position:relative;display:block;overflow:hidden;background-color:rgba(var(--ax-sys-color-darkest-surface))}@supports (color: color-mix(in lab,red,red)){ax-skeleton.ax-skeleton{background-color:color-mix(in oklab,rgba(var(--ax-sys-color-darkest-surface)) 50%,transparent)}}ax-skeleton.ax-skeleton:where(.ax-dark,.ax-dark *):not(:where(.ax-light,.ax-light *)){background-color:rgba(var(--ax-sys-color-lightest-surface))}@supports (color: color-mix(in lab,red,red)){ax-skeleton.ax-skeleton:where(.ax-dark,.ax-dark *):not(:where(.ax-light,.ax-light *)){background-color:color-mix(in oklab,rgba(var(--ax-sys-color-lightest-surface)) 50%,transparent)}}ax-skeleton.ax-skeleton-animate:before{position:absolute;inset-inline-start:calc(var(--spacing, .25rem) * -52);top:calc(var(--spacing, .25rem) * 0);display:block;height:100%;width:calc(var(--spacing, .25rem) * 56);animation:load;--tw-gradient-position: to right;background-image:linear-gradient(var(--tw-gradient-stops));--tw-gradient-from: transparent;--tw-gradient-via: color-mix(in oklab, rgba(var(--ax-sys-color-darkest-surface)) 60%, transparent);--tw-gradient-via-stops: var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-via) var(--tw-gradient-via-position), var(--tw-gradient-to) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-via-stops);--tw-gradient-via-position: 50%;--tw-gradient-to: transparent;--tw-gradient-stops: var(--tw-gradient-via-stops, var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position));--tw-content: \"\";content:var(--tw-content);animation-duration:1s;animation-timing-function:cubic-bezier(.42,0,1,1);animation-iteration-count:infinite}@supports (background-image: linear-gradient(in lab,red,red)){ax-skeleton.ax-skeleton-animate:before{--tw-gradient-position: to right in oklab}}:is():where(.ax-dark,.ax-dark *):not(:where(.ax-light,.ax-light *)){--tw-gradient-via: rgba(var(--ax-sys-color-lightest-surface));--tw-gradient-via-stops: var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-via) var(--tw-gradient-via-position), var(--tw-gradient-to) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-via-stops)}@supports (color: color-mix(in lab,red,red)){:is():where(.ax-dark,.ax-dark *):not(:where(.ax-light,.ax-light *)){--tw-gradient-via: color-mix(in oklab, rgba(var(--ax-sys-color-lightest-surface)) 60%, transparent)}}@keyframes load{0%{inset-inline-start:-13rem}to{inset-inline-start:100%}}}@property --tw-gradient-position{syntax: \"*\"; inherits: false;}@property --tw-gradient-from{syntax: \"<color>\"; inherits: false; initial-value: #0000;}@property --tw-gradient-via{syntax: \"<color>\"; inherits: false; initial-value: #0000;}@property --tw-gradient-to{syntax: \"<color>\"; inherits: false; initial-value: #0000;}@property --tw-gradient-stops{syntax: \"*\"; inherits: false;}@property --tw-gradient-via-stops{syntax: \"*\"; inherits: false;}@property --tw-gradient-from-position{syntax: \"<length-percentage>\"; inherits: false; initial-value: 0%;}@property --tw-gradient-via-position{syntax: \"<length-percentage>\"; inherits: false; initial-value: 50%;}@property --tw-gradient-to-position{syntax: \"<length-percentage>\"; inherits: false; initial-value: 100%;}@property --tw-content{syntax: \"*\"; inherits: false; initial-value: \"\";}@layer properties{@supports ((-webkit-hyphens: none) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-gradient-position: initial;--tw-gradient-from: #0000;--tw-gradient-via: #0000;--tw-gradient-to: #0000;--tw-gradient-stops: initial;--tw-gradient-via-stops: initial;--tw-gradient-from-position: 0%;--tw-gradient-via-position: 50%;--tw-gradient-to-position: 100%;--tw-content: \"\"}}}\n/*! tailwindcss v4.1.16 | MIT License | https://tailwindcss.com */\n"], encapsulation: i0.ViewEncapsulation.None }); }
26
26
  }
27
27
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXSkeletonComponent, decorators: [{
28
28
  type: Component,
29
- args: [{ selector: 'ax-skeleton', template: '<ng-content></ng-content>', encapsulation: ViewEncapsulation.None, providers: [{ provide: AXComponent, useExisting: AXSkeletonComponent }], styles: ["@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-gradient-position:initial;--tw-gradient-from:#0000;--tw-gradient-via:#0000;--tw-gradient-to:#0000;--tw-gradient-stops:initial;--tw-gradient-via-stops:initial;--tw-gradient-from-position:0%;--tw-gradient-via-position:50%;--tw-gradient-to-position:100%;--tw-content:\"\"}}}@layer components{ax-skeleton.ax-skeleton{background-color:rgba(var(--ax-sys-color-darkest-surface));display:block;position:relative;overflow:hidden}@supports (color:color-mix(in lab,red,red)){ax-skeleton.ax-skeleton{background-color:color-mix(in oklab,rgba(var(--ax-sys-color-darkest-surface)) 50%,transparent)}}ax-skeleton.ax-skeleton:where(.ax-dark,.ax-dark *):not(:where(.ax-light,.ax-light *)){background-color:rgba(var(--ax-sys-color-lightest-surface))}@supports (color:color-mix(in lab,red,red)){ax-skeleton.ax-skeleton:where(.ax-dark,.ax-dark *):not(:where(.ax-light,.ax-light *)){background-color:color-mix(in oklab,rgba(var(--ax-sys-color-lightest-surface)) 50%,transparent)}}ax-skeleton.ax-skeleton-animate:before{height:100%;width:calc(var(--spacing,.25rem) * 56);--tw-gradient-position:to right;inset-inline-start:calc(var(--spacing,.25rem) * -52);animation:load;display:block;position:absolute;top:0}@supports (background-image:linear-gradient(in lab,red,red)){ax-skeleton.ax-skeleton-animate:before{--tw-gradient-position:to right in oklab}}ax-skeleton.ax-skeleton-animate:before{background-image:linear-gradient(var(--tw-gradient-stops));--tw-gradient-from:transparent;--tw-gradient-via:rgba(var(--ax-sys-color-darkest-surface))}@supports (color:color-mix(in lab,red,red)){ax-skeleton.ax-skeleton-animate:before{--tw-gradient-via:color-mix(in oklab, rgba(var(--ax-sys-color-darkest-surface)) 60%, transparent)}}ax-skeleton.ax-skeleton-animate:before{--tw-gradient-via-stops:var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-via) var(--tw-gradient-via-position), var(--tw-gradient-to) var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position));--tw-gradient-via-position:50%;--tw-gradient-to:transparent;--tw-content:\"\";content:var(--tw-content);animation-duration:1s;animation-timing-function:ease-in;animation-iteration-count:infinite}@keyframes load{0%{inset-inline-start:-13rem}to{inset-inline-start:100%}}}@property --tw-gradient-position{syntax:\"*\";inherits:false}@property --tw-gradient-from{syntax:\"<color>\";inherits:false;initial-value:#0000}@property --tw-gradient-via{syntax:\"<color>\";inherits:false;initial-value:#0000}@property --tw-gradient-to{syntax:\"<color>\";inherits:false;initial-value:#0000}@property --tw-gradient-stops{syntax:\"*\";inherits:false}@property --tw-gradient-via-stops{syntax:\"*\";inherits:false}@property --tw-gradient-from-position{syntax:\"<length-percentage>\";inherits:false;initial-value:0%}@property --tw-gradient-via-position{syntax:\"<length-percentage>\";inherits:false;initial-value:50%}@property --tw-gradient-to-position{syntax:\"<length-percentage>\";inherits:false;initial-value:100%}@property --tw-content{syntax:\"*\";inherits:false;initial-value:\"\"}\n/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */\n"] }]
29
+ args: [{ selector: 'ax-skeleton', template: '<ng-content></ng-content>', encapsulation: ViewEncapsulation.None, providers: [{ provide: AXComponent, useExisting: AXSkeletonComponent }], styles: ["@layer properties;@layer components{ax-skeleton.ax-skeleton{position:relative;display:block;overflow:hidden;background-color:rgba(var(--ax-sys-color-darkest-surface))}@supports (color: color-mix(in lab,red,red)){ax-skeleton.ax-skeleton{background-color:color-mix(in oklab,rgba(var(--ax-sys-color-darkest-surface)) 50%,transparent)}}ax-skeleton.ax-skeleton:where(.ax-dark,.ax-dark *):not(:where(.ax-light,.ax-light *)){background-color:rgba(var(--ax-sys-color-lightest-surface))}@supports (color: color-mix(in lab,red,red)){ax-skeleton.ax-skeleton:where(.ax-dark,.ax-dark *):not(:where(.ax-light,.ax-light *)){background-color:color-mix(in oklab,rgba(var(--ax-sys-color-lightest-surface)) 50%,transparent)}}ax-skeleton.ax-skeleton-animate:before{position:absolute;inset-inline-start:calc(var(--spacing, .25rem) * -52);top:calc(var(--spacing, .25rem) * 0);display:block;height:100%;width:calc(var(--spacing, .25rem) * 56);animation:load;--tw-gradient-position: to right;background-image:linear-gradient(var(--tw-gradient-stops));--tw-gradient-from: transparent;--tw-gradient-via: color-mix(in oklab, rgba(var(--ax-sys-color-darkest-surface)) 60%, transparent);--tw-gradient-via-stops: var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-via) var(--tw-gradient-via-position), var(--tw-gradient-to) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-via-stops);--tw-gradient-via-position: 50%;--tw-gradient-to: transparent;--tw-gradient-stops: var(--tw-gradient-via-stops, var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position));--tw-content: \"\";content:var(--tw-content);animation-duration:1s;animation-timing-function:cubic-bezier(.42,0,1,1);animation-iteration-count:infinite}@supports (background-image: linear-gradient(in lab,red,red)){ax-skeleton.ax-skeleton-animate:before{--tw-gradient-position: to right in oklab}}:is():where(.ax-dark,.ax-dark *):not(:where(.ax-light,.ax-light *)){--tw-gradient-via: rgba(var(--ax-sys-color-lightest-surface));--tw-gradient-via-stops: var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-via) var(--tw-gradient-via-position), var(--tw-gradient-to) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-via-stops)}@supports (color: color-mix(in lab,red,red)){:is():where(.ax-dark,.ax-dark *):not(:where(.ax-light,.ax-light *)){--tw-gradient-via: color-mix(in oklab, rgba(var(--ax-sys-color-lightest-surface)) 60%, transparent)}}@keyframes load{0%{inset-inline-start:-13rem}to{inset-inline-start:100%}}}@property --tw-gradient-position{syntax: \"*\"; inherits: false;}@property --tw-gradient-from{syntax: \"<color>\"; inherits: false; initial-value: #0000;}@property --tw-gradient-via{syntax: \"<color>\"; inherits: false; initial-value: #0000;}@property --tw-gradient-to{syntax: \"<color>\"; inherits: false; initial-value: #0000;}@property --tw-gradient-stops{syntax: \"*\"; inherits: false;}@property --tw-gradient-via-stops{syntax: \"*\"; inherits: false;}@property --tw-gradient-from-position{syntax: \"<length-percentage>\"; inherits: false; initial-value: 0%;}@property --tw-gradient-via-position{syntax: \"<length-percentage>\"; inherits: false; initial-value: 50%;}@property --tw-gradient-to-position{syntax: \"<length-percentage>\"; inherits: false; initial-value: 100%;}@property --tw-content{syntax: \"*\"; inherits: false; initial-value: \"\";}@layer properties{@supports ((-webkit-hyphens: none) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-gradient-position: initial;--tw-gradient-from: #0000;--tw-gradient-via: #0000;--tw-gradient-to: #0000;--tw-gradient-stops: initial;--tw-gradient-via-stops: initial;--tw-gradient-from-position: 0%;--tw-gradient-via-position: 50%;--tw-gradient-to-position: 100%;--tw-content: \"\"}}}\n/*! tailwindcss v4.1.16 | MIT License | https://tailwindcss.com */\n"] }]
30
30
  }], propDecorators: { animated: [{
31
31
  type: Input
32
32
  }], __hostClass: [{
@@ -1 +1 @@
1
- {"version":3,"file":"acorex-components-skeleton.mjs","sources":["../../../../packages/components/skeleton/src/lib/skeleton.component.ts","../../../../packages/components/skeleton/src/lib/skeleton.module.ts","../../../../packages/components/skeleton/src/acorex-components-skeleton.ts"],"sourcesContent":["import { AXComponent, MXBaseComponent } from '@acorex/cdk/common';\nimport { Component, HostBinding, Input, ViewEncapsulation } from '@angular/core';\n\n/**\n * @category\n * A skeleton component used for loading placeholders.\n */\n@Component({\n selector: 'ax-skeleton',\n template: '<ng-content></ng-content>',\n styleUrls: ['./skeleton.component.compiled.css'],\n encapsulation: ViewEncapsulation.None,\n providers: [{ provide: AXComponent, useExisting: AXSkeletonComponent }],\n})\nexport class AXSkeletonComponent extends MXBaseComponent {\n /**\n * Determines whether animations are enabled.\n *\n * @defaultValue true\n */\n @Input() animated = true;\n\n /** @ignore */\n @HostBinding('class')\n get __hostClass(): string {\n return `ax-skeleton ${this.animated ? 'ax-skeleton-animate' : ''}`;\n }\n}\n","import { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\nimport { AXSkeletonComponent } from './skeleton.component';\n@NgModule({\n imports: [CommonModule, AXSkeletonComponent],\n exports: [AXSkeletonComponent],\n})\nexport class AXSkeletonModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;AAGA;;;AAGG;AAQG,MAAO,mBAAoB,SAAQ,eAAe,CAAA;AAPxD,IAAA,WAAA,GAAA;;AAQE;;;;AAI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,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA;AAAhB,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,gBAAgB,EAAA,OAAA,EAAA,CAHjB,YAAY,EAAE,mBAAmB,aACjC,mBAAmB,CAAA,EAAA,CAAA,CAAA;AAElB,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,gBAAgB,YAHjB,YAAY,CAAA,EAAA,CAAA,CAAA;;2FAGX,gBAAgB,EAAA,UAAA,EAAA,CAAA;kBAJ5B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,OAAO,EAAE,CAAC,YAAY,EAAE,mBAAmB,CAAC;oBAC5C,OAAO,EAAE,CAAC,mBAAmB,CAAC;AAC/B,iBAAA;;;ACND;;AAEG;;;;"}
1
+ {"version":3,"file":"acorex-components-skeleton.mjs","sources":["../../../../packages/components/skeleton/src/lib/skeleton.component.ts","../../../../packages/components/skeleton/src/lib/skeleton.module.ts","../../../../packages/components/skeleton/src/acorex-components-skeleton.ts"],"sourcesContent":["import { AXComponent, MXBaseComponent } from '@acorex/cdk/common';\nimport { Component, HostBinding, Input, ViewEncapsulation } from '@angular/core';\n\n/**\n * @category\n * A skeleton component used for loading placeholders.\n */\n@Component({\n selector: 'ax-skeleton',\n template: '<ng-content></ng-content>',\n styleUrls: ['./skeleton.component.css'],\n encapsulation: ViewEncapsulation.None,\n providers: [{ provide: AXComponent, useExisting: AXSkeletonComponent }],\n})\nexport class AXSkeletonComponent extends MXBaseComponent {\n /**\n * Determines whether animations are enabled.\n *\n * @defaultValue true\n */\n @Input() animated = true;\n\n /** @ignore */\n @HostBinding('class')\n get __hostClass(): string {\n return `ax-skeleton ${this.animated ? 'ax-skeleton-animate' : ''}`;\n }\n}\n","import { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\nimport { AXSkeletonComponent } from './skeleton.component';\n@NgModule({\n imports: [CommonModule, AXSkeletonComponent],\n exports: [AXSkeletonComponent],\n})\nexport class AXSkeletonModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;AAGA;;;AAGG;AAQG,MAAO,mBAAoB,SAAQ,eAAe,CAAA;AAPxD,IAAA,WAAA,GAAA;;AAQE;;;;AAIG;QACM,IAAA,CAAA,QAAQ,GAAG,IAAI;AAOzB,IAAA;;AAJC,IAAA,IACI,WAAW,GAAA;AACb,QAAA,OAAO,CAAA,YAAA,EAAe,IAAI,CAAC,QAAQ,GAAG,qBAAqB,GAAG,EAAE,EAAE;IACpE;8GAZW,mBAAmB,EAAA,IAAA,EAAA,IAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAAnB,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,IAAA,EAAA,mBAAmB,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,aAAA,EAAA,MAAA,EAAA,EAAA,QAAA,EAAA,UAAA,EAAA,EAAA,IAAA,EAAA,EAAA,UAAA,EAAA,EAAA,OAAA,EAAA,kBAAA,EAAA,EAAA,EAAA,SAAA,EAFnB,CAAC,EAAE,OAAO,EAAE,WAAW,EAAE,WAAW,EAAE,mBAAmB,EAAE,CAAC,iDAH7D,2BAA2B,EAAA,QAAA,EAAA,IAAA,EAAA,MAAA,EAAA,CAAA,09HAAA,CAAA,EAAA,aAAA,EAAA,EAAA,CAAA,iBAAA,CAAA,IAAA,EAAA,CAAA,CA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clareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXSlidingItemComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
135
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "21.2.9", type: AXSlidingItemComponent, isStandalone: true, selector: "ax-sliding-item", providers: [{ provide: AXComponent, useExisting: AXSlidingItemComponent }], queries: [{ propertyName: "itemPrefix", predicate: AXSlidingItemPrefixComponent, read: ElementRef, isSignal: true }, { propertyName: "itemSuffix", predicate: AXSlidingItemSuffixComponent, read: ElementRef, isSignal: true }], viewQueries: [{ propertyName: "slidingItem", first: true, predicate: AXSlidingItemDirective, descendants: true, isSignal: true }], ngImport: i0, template: "<div #itemPrefix class=\"ax-sliding-item-container\">\n <ng-content select=\"ax-sliding-item-prefix\"></ng-content>\n</div>\n\n<div axSlidingItem>\n <ng-content select=\"ax-content\"> </ng-content>\n</div>\n\n<div #itemSuffix class=\"ax-sliding-item-container\">\n <ng-content select=\"ax-sliding-item-suffix\"></ng-content>\n</div>\n", styles: ["ax-sliding-item{width:100%;height:100%}ax-sliding-item .ax-sliding-item-container{display:flex}ax-sliding-item ax-content{background-color:rgba(var(--ax-sys-color-lightest-surface));width:100%;height:100%;padding:calc(var(--spacing,.25rem) * 4);color:rgba(var(--ax-sys-color-on-lightest-surface));align-items:center;display:flex}ax-sliding-item ax-sliding-item-prefix,ax-sliding-item ax-sliding-item-suffix{aspect-ratio:1;min-width:calc(var(--spacing,.25rem) * 16);cursor:pointer;background-color:var(--ax-comp-bg);transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;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));flex-direction:column;justify-content:center;align-items:center;display:flex}:is(ax-sliding-item ax-sliding-item-prefix,ax-sliding-item ax-sliding-item-suffix) ax-text,:is(ax-sliding-item ax-sliding-item-prefix,ax-sliding-item ax-sliding-item-suffix) ax-icon{color:var(--ax-comp-text)}:is(ax-sliding-item ax-sliding-item-prefix,ax-sliding-item ax-sliding-item-suffix):hover{background-color:var(--ax-comp-bg-dark)}:is(ax-sliding-item ax-sliding-item-prefix,ax-sliding-item ax-sliding-item-suffix):hover ax-text,:is(ax-sliding-item ax-sliding-item-prefix,ax-sliding-item ax-sliding-item-suffix):hover ax-icon{color:var(--ax-comp-text-dark)}:is(ax-sliding-item ax-sliding-item-prefix,ax-sliding-item ax-sliding-item-suffix):active{background-color:var(--ax-comp-bg-darker)}:is(ax-sliding-item ax-sliding-item-prefix,ax-sliding-item ax-sliding-item-suffix):active ax-text,:is(ax-sliding-item ax-sliding-item-prefix,ax-sliding-item ax-sliding-item-suffix):active ax-icon{color:var(--ax-comp-text-darker)}\n/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */\n"], dependencies: [{ kind: "directive", type: AXSlidingItemDirective, selector: "[axSlidingItem]" }], encapsulation: i0.ViewEncapsulation.None }); }
135
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "21.2.9", type: AXSlidingItemComponent, isStandalone: true, selector: "ax-sliding-item", providers: [{ provide: AXComponent, useExisting: AXSlidingItemComponent }], queries: [{ propertyName: "itemPrefix", predicate: AXSlidingItemPrefixComponent, read: ElementRef, isSignal: true }, { propertyName: "itemSuffix", predicate: AXSlidingItemSuffixComponent, read: ElementRef, isSignal: true }], viewQueries: [{ propertyName: "slidingItem", first: true, predicate: AXSlidingItemDirective, descendants: true, isSignal: true }], ngImport: i0, template: "<div #itemPrefix class=\"ax-sliding-item-container\">\n <ng-content select=\"ax-sliding-item-prefix\"></ng-content>\n</div>\n\n<div axSlidingItem>\n <ng-content select=\"ax-content\"> </ng-content>\n</div>\n\n<div #itemSuffix class=\"ax-sliding-item-container\">\n <ng-content select=\"ax-sliding-item-suffix\"></ng-content>\n</div>\n", styles: ["ax-sliding-item{width:100%;height:100%}ax-sliding-item .ax-sliding-item-container{display:flex}ax-sliding-item ax-content{display:flex;width:100%;height:100%;align-items:center;background-color:rgba(var(--ax-sys-color-lightest-surface));padding:calc(var(--spacing, .25rem) * 4);color:rgba(var(--ax-sys-color-on-lightest-surface))}ax-sliding-item ax-sliding-item-prefix,ax-sliding-item ax-sliding-item-suffix{display:flex;aspect-ratio:1 / 1;min-width:calc(var(--spacing, .25rem) * 16);cursor:pointer;flex-direction:column;align-items:center;justify-content:center;background-color:var(--ax-comp-bg);transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;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))}:is(ax-sliding-item ax-sliding-item-prefix,ax-sliding-item ax-sliding-item-suffix) ax-text,:is(ax-sliding-item ax-sliding-item-prefix,ax-sliding-item ax-sliding-item-suffix) ax-icon{color:var(--ax-comp-text)}:is(ax-sliding-item ax-sliding-item-prefix,ax-sliding-item ax-sliding-item-suffix):hover{background-color:var(--ax-comp-bg-dark)}:is(ax-sliding-item ax-sliding-item-prefix,ax-sliding-item ax-sliding-item-suffix):hover ax-text,:is(ax-sliding-item ax-sliding-item-prefix,ax-sliding-item ax-sliding-item-suffix):hover ax-icon{color:var(--ax-comp-text-dark)}:is(ax-sliding-item ax-sliding-item-prefix,ax-sliding-item ax-sliding-item-suffix):active{background-color:var(--ax-comp-bg-darker)}:is(ax-sliding-item ax-sliding-item-prefix,ax-sliding-item ax-sliding-item-suffix):active ax-text,:is(ax-sliding-item ax-sliding-item-prefix,ax-sliding-item ax-sliding-item-suffix):active ax-icon{color:var(--ax-comp-text-darker)}\n/*! tailwindcss v4.1.16 | MIT License | https://tailwindcss.com */\n"], dependencies: [{ kind: "directive", type: AXSlidingItemDirective, selector: "[axSlidingItem]" }], encapsulation: i0.ViewEncapsulation.None }); }
136
136
  }
137
137
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXSlidingItemComponent, decorators: [{
138
138
  type: Component,
139
- args: [{ selector: 'ax-sliding-item', encapsulation: ViewEncapsulation.None, imports: [AXSlidingItemDirective], providers: [{ provide: AXComponent, useExisting: AXSlidingItemComponent }], template: "<div #itemPrefix class=\"ax-sliding-item-container\">\n <ng-content select=\"ax-sliding-item-prefix\"></ng-content>\n</div>\n\n<div axSlidingItem>\n <ng-content select=\"ax-content\"> </ng-content>\n</div>\n\n<div #itemSuffix class=\"ax-sliding-item-container\">\n <ng-content select=\"ax-sliding-item-suffix\"></ng-content>\n</div>\n", styles: ["ax-sliding-item{width:100%;height:100%}ax-sliding-item .ax-sliding-item-container{display:flex}ax-sliding-item ax-content{background-color:rgba(var(--ax-sys-color-lightest-surface));width:100%;height:100%;padding:calc(var(--spacing,.25rem) * 4);color:rgba(var(--ax-sys-color-on-lightest-surface));align-items:center;display:flex}ax-sliding-item ax-sliding-item-prefix,ax-sliding-item ax-sliding-item-suffix{aspect-ratio:1;min-width:calc(var(--spacing,.25rem) * 16);cursor:pointer;background-color:var(--ax-comp-bg);transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;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));flex-direction:column;justify-content:center;align-items:center;display:flex}:is(ax-sliding-item ax-sliding-item-prefix,ax-sliding-item ax-sliding-item-suffix) ax-text,:is(ax-sliding-item ax-sliding-item-prefix,ax-sliding-item ax-sliding-item-suffix) ax-icon{color:var(--ax-comp-text)}:is(ax-sliding-item ax-sliding-item-prefix,ax-sliding-item ax-sliding-item-suffix):hover{background-color:var(--ax-comp-bg-dark)}:is(ax-sliding-item ax-sliding-item-prefix,ax-sliding-item ax-sliding-item-suffix):hover ax-text,:is(ax-sliding-item ax-sliding-item-prefix,ax-sliding-item ax-sliding-item-suffix):hover ax-icon{color:var(--ax-comp-text-dark)}:is(ax-sliding-item ax-sliding-item-prefix,ax-sliding-item ax-sliding-item-suffix):active{background-color:var(--ax-comp-bg-darker)}:is(ax-sliding-item ax-sliding-item-prefix,ax-sliding-item ax-sliding-item-suffix):active ax-text,:is(ax-sliding-item ax-sliding-item-prefix,ax-sliding-item ax-sliding-item-suffix):active ax-icon{color:var(--ax-comp-text-darker)}\n/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */\n"] }]
139
+ args: [{ selector: 'ax-sliding-item', encapsulation: ViewEncapsulation.None, imports: [AXSlidingItemDirective], providers: [{ provide: AXComponent, useExisting: AXSlidingItemComponent }], template: "<div #itemPrefix class=\"ax-sliding-item-container\">\n <ng-content select=\"ax-sliding-item-prefix\"></ng-content>\n</div>\n\n<div axSlidingItem>\n <ng-content select=\"ax-content\"> </ng-content>\n</div>\n\n<div #itemSuffix class=\"ax-sliding-item-container\">\n <ng-content select=\"ax-sliding-item-suffix\"></ng-content>\n</div>\n", styles: ["ax-sliding-item{width:100%;height:100%}ax-sliding-item .ax-sliding-item-container{display:flex}ax-sliding-item ax-content{display:flex;width:100%;height:100%;align-items:center;background-color:rgba(var(--ax-sys-color-lightest-surface));padding:calc(var(--spacing, .25rem) * 4);color:rgba(var(--ax-sys-color-on-lightest-surface))}ax-sliding-item ax-sliding-item-prefix,ax-sliding-item ax-sliding-item-suffix{display:flex;aspect-ratio:1 / 1;min-width:calc(var(--spacing, .25rem) * 16);cursor:pointer;flex-direction:column;align-items:center;justify-content:center;background-color:var(--ax-comp-bg);transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;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))}:is(ax-sliding-item ax-sliding-item-prefix,ax-sliding-item ax-sliding-item-suffix) ax-text,:is(ax-sliding-item ax-sliding-item-prefix,ax-sliding-item ax-sliding-item-suffix) ax-icon{color:var(--ax-comp-text)}:is(ax-sliding-item ax-sliding-item-prefix,ax-sliding-item ax-sliding-item-suffix):hover{background-color:var(--ax-comp-bg-dark)}:is(ax-sliding-item ax-sliding-item-prefix,ax-sliding-item ax-sliding-item-suffix):hover ax-text,:is(ax-sliding-item ax-sliding-item-prefix,ax-sliding-item ax-sliding-item-suffix):hover ax-icon{color:var(--ax-comp-text-dark)}:is(ax-sliding-item ax-sliding-item-prefix,ax-sliding-item ax-sliding-item-suffix):active{background-color:var(--ax-comp-bg-darker)}:is(ax-sliding-item ax-sliding-item-prefix,ax-sliding-item ax-sliding-item-suffix):active ax-text,:is(ax-sliding-item ax-sliding-item-prefix,ax-sliding-item ax-sliding-item-suffix):active ax-icon{color:var(--ax-comp-text-darker)}\n/*! tailwindcss v4.1.16 | MIT License | https://tailwindcss.com */\n"] }]
140
140
  }], propDecorators: { slidingItem: [{ type: i0.ViewChild, args: [i0.forwardRef(() => AXSlidingItemDirective), { isSignal: true }] }], itemPrefix: [{ type: i0.ContentChildren, args: [i0.forwardRef(() => AXSlidingItemPrefixComponent), { ...{ read: ElementRef }, isSignal: true }] }], itemSuffix: [{ type: i0.ContentChildren, args: [i0.forwardRef(() => AXSlidingItemSuffixComponent), { ...{ read: ElementRef }, isSignal: true }] }] } });
141
141
 
142
142
  const COMPONENT = [AXSlidingItemComponent, AXSlidingItemPrefixComponent, AXSlidingItemSuffixComponent];