@acorex/components 21.1.0-next.1 → 22.0.0-next.0

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 (220) hide show
  1. package/fesm2022/acorex-components-accordion.mjs +47 -30
  2. package/fesm2022/acorex-components-accordion.mjs.map +1 -1
  3. package/fesm2022/acorex-components-action-sheet.mjs +46 -31
  4. package/fesm2022/acorex-components-action-sheet.mjs.map +1 -1
  5. package/fesm2022/acorex-components-alert.mjs +24 -17
  6. package/fesm2022/acorex-components-alert.mjs.map +1 -1
  7. package/fesm2022/acorex-components-aspect-ratio.mjs +10 -8
  8. package/fesm2022/acorex-components-aspect-ratio.mjs.map +1 -1
  9. package/fesm2022/acorex-components-audio-wave.mjs +13 -10
  10. package/fesm2022/acorex-components-audio-wave.mjs.map +1 -1
  11. package/fesm2022/acorex-components-autocomplete.mjs +24 -17
  12. package/fesm2022/acorex-components-autocomplete.mjs.map +1 -1
  13. package/fesm2022/acorex-components-avatar.mjs +20 -16
  14. package/fesm2022/acorex-components-avatar.mjs.map +1 -1
  15. package/fesm2022/acorex-components-badge.mjs +11 -10
  16. package/fesm2022/acorex-components-badge.mjs.map +1 -1
  17. package/fesm2022/acorex-components-bottom-navigation.mjs +19 -16
  18. package/fesm2022/acorex-components-bottom-navigation.mjs.map +1 -1
  19. package/fesm2022/acorex-components-breadcrumbs.mjs +16 -14
  20. package/fesm2022/acorex-components-breadcrumbs.mjs.map +1 -1
  21. package/fesm2022/acorex-components-button-group.mjs +17 -16
  22. package/fesm2022/acorex-components-button-group.mjs.map +1 -1
  23. package/fesm2022/acorex-components-button.mjs +38 -29
  24. package/fesm2022/acorex-components-button.mjs.map +1 -1
  25. package/fesm2022/acorex-components-calendar.mjs +44 -30
  26. package/fesm2022/acorex-components-calendar.mjs.map +1 -1
  27. package/fesm2022/acorex-components-check-box.mjs +12 -11
  28. package/fesm2022/acorex-components-check-box.mjs.map +1 -1
  29. package/fesm2022/acorex-components-chips.mjs +11 -10
  30. package/fesm2022/acorex-components-chips.mjs.map +1 -1
  31. package/fesm2022/acorex-components-circular-progress.mjs +19 -14
  32. package/fesm2022/acorex-components-circular-progress.mjs.map +1 -1
  33. package/fesm2022/acorex-components-code-editor.mjs +42 -26
  34. package/fesm2022/acorex-components-code-editor.mjs.map +1 -1
  35. package/fesm2022/acorex-components-color-box.mjs +20 -15
  36. package/fesm2022/acorex-components-color-box.mjs.map +1 -1
  37. package/fesm2022/acorex-components-color-palette.mjs +45 -43
  38. package/fesm2022/acorex-components-color-palette.mjs.map +1 -1
  39. package/fesm2022/acorex-components-command.mjs +25 -16
  40. package/fesm2022/acorex-components-command.mjs.map +1 -1
  41. package/fesm2022/acorex-components-comment.mjs +42 -41
  42. package/fesm2022/acorex-components-comment.mjs.map +1 -1
  43. package/fesm2022/{acorex-components-conversation-composer-action-choice-dialog.component-C28hl7iD.mjs → acorex-components-conversation-composer-action-choice-dialog.component-CNHiM1Sp.mjs} +17 -12
  44. package/fesm2022/acorex-components-conversation-composer-action-choice-dialog.component-CNHiM1Sp.mjs.map +1 -0
  45. package/fesm2022/{acorex-components-conversation-open-composer-picker-for-files-Duvap4M4.mjs → acorex-components-conversation-open-composer-picker-for-files-Hh5Oyp3p.mjs} +2 -2
  46. package/fesm2022/{acorex-components-conversation-open-composer-picker-for-files-Duvap4M4.mjs.map → acorex-components-conversation-open-composer-picker-for-files-Hh5Oyp3p.mjs.map} +1 -1
  47. package/fesm2022/acorex-components-conversation.mjs +1620 -1156
  48. package/fesm2022/acorex-components-conversation.mjs.map +1 -1
  49. package/fesm2022/acorex-components-cron-job.mjs +56 -51
  50. package/fesm2022/acorex-components-cron-job.mjs.map +1 -1
  51. package/fesm2022/acorex-components-data-list.mjs +61 -33
  52. package/fesm2022/acorex-components-data-list.mjs.map +1 -1
  53. package/fesm2022/acorex-components-data-pager.mjs +42 -47
  54. package/fesm2022/acorex-components-data-pager.mjs.map +1 -1
  55. package/fesm2022/acorex-components-data-table.mjs +110 -96
  56. package/fesm2022/acorex-components-data-table.mjs.map +1 -1
  57. package/fesm2022/acorex-components-datetime-box.mjs +42 -26
  58. package/fesm2022/acorex-components-datetime-box.mjs.map +1 -1
  59. package/fesm2022/acorex-components-datetime-input.mjs +38 -24
  60. package/fesm2022/acorex-components-datetime-input.mjs.map +1 -1
  61. package/fesm2022/acorex-components-datetime-picker.mjs +50 -30
  62. package/fesm2022/acorex-components-datetime-picker.mjs.map +1 -1
  63. package/fesm2022/acorex-components-decorators.mjs +53 -45
  64. package/fesm2022/acorex-components-decorators.mjs.map +1 -1
  65. package/fesm2022/acorex-components-dialog.mjs +17 -15
  66. package/fesm2022/acorex-components-dialog.mjs.map +1 -1
  67. package/fesm2022/acorex-components-drawer.mjs +33 -24
  68. package/fesm2022/acorex-components-drawer.mjs.map +1 -1
  69. package/fesm2022/acorex-components-dropdown-button.mjs +10 -10
  70. package/fesm2022/acorex-components-dropdown-button.mjs.map +1 -1
  71. package/fesm2022/acorex-components-dropdown.mjs +24 -20
  72. package/fesm2022/acorex-components-dropdown.mjs.map +1 -1
  73. package/fesm2022/acorex-components-editor.mjs +16 -13
  74. package/fesm2022/acorex-components-editor.mjs.map +1 -1
  75. package/fesm2022/acorex-components-fab.mjs +27 -18
  76. package/fesm2022/acorex-components-fab.mjs.map +1 -1
  77. package/fesm2022/acorex-components-file-viewer.mjs +149 -99
  78. package/fesm2022/acorex-components-file-viewer.mjs.map +1 -1
  79. package/fesm2022/acorex-components-flow-chart.mjs +53 -37
  80. package/fesm2022/acorex-components-flow-chart.mjs.map +1 -1
  81. package/fesm2022/acorex-components-form.mjs +45 -34
  82. package/fesm2022/acorex-components-form.mjs.map +1 -1
  83. package/fesm2022/acorex-components-grid-layout-builder.mjs +23 -21
  84. package/fesm2022/acorex-components-grid-layout-builder.mjs.map +1 -1
  85. package/fesm2022/acorex-components-image-editor.mjs +182 -135
  86. package/fesm2022/acorex-components-image-editor.mjs.map +1 -1
  87. package/fesm2022/acorex-components-image.mjs +14 -12
  88. package/fesm2022/acorex-components-image.mjs.map +1 -1
  89. package/fesm2022/acorex-components-json-viewer.mjs +15 -11
  90. package/fesm2022/acorex-components-json-viewer.mjs.map +1 -1
  91. package/fesm2022/acorex-components-kanban.mjs +41 -22
  92. package/fesm2022/acorex-components-kanban.mjs.map +1 -1
  93. package/fesm2022/acorex-components-kbd.mjs +23 -16
  94. package/fesm2022/acorex-components-kbd.mjs.map +1 -1
  95. package/fesm2022/acorex-components-label.mjs +10 -10
  96. package/fesm2022/acorex-components-label.mjs.map +1 -1
  97. package/fesm2022/acorex-components-list.mjs +26 -18
  98. package/fesm2022/acorex-components-list.mjs.map +1 -1
  99. package/fesm2022/acorex-components-loading-dialog.mjs +26 -19
  100. package/fesm2022/acorex-components-loading-dialog.mjs.map +1 -1
  101. package/fesm2022/acorex-components-loading.mjs +20 -20
  102. package/fesm2022/acorex-components-loading.mjs.map +1 -1
  103. package/fesm2022/acorex-components-map.mjs +79 -47
  104. package/fesm2022/acorex-components-map.mjs.map +1 -1
  105. package/fesm2022/acorex-components-media-viewer.mjs +126 -86
  106. package/fesm2022/acorex-components-media-viewer.mjs.map +1 -1
  107. package/fesm2022/acorex-components-menu.mjs +71 -52
  108. package/fesm2022/acorex-components-menu.mjs.map +1 -1
  109. package/fesm2022/{acorex-components-modal-acorex-components-modal-dF5HUEBH.mjs → acorex-components-modal-acorex-components-modal-Djl-uo9b.mjs} +34 -30
  110. package/fesm2022/acorex-components-modal-acorex-components-modal-Djl-uo9b.mjs.map +1 -0
  111. package/fesm2022/{acorex-components-modal-modal-content.component-BGTYje3j.mjs → acorex-components-modal-modal-content.component-BpUsCI8D.mjs} +73 -40
  112. package/fesm2022/acorex-components-modal-modal-content.component-BpUsCI8D.mjs.map +1 -0
  113. package/fesm2022/acorex-components-modal.mjs +1 -1
  114. package/fesm2022/acorex-components-navbar.mjs +9 -9
  115. package/fesm2022/acorex-components-navbar.mjs.map +1 -1
  116. package/fesm2022/acorex-components-notification.mjs +41 -27
  117. package/fesm2022/acorex-components-notification.mjs.map +1 -1
  118. package/fesm2022/acorex-components-number-box.mjs +32 -21
  119. package/fesm2022/acorex-components-number-box.mjs.map +1 -1
  120. package/fesm2022/acorex-components-otp.mjs +18 -14
  121. package/fesm2022/acorex-components-otp.mjs.map +1 -1
  122. package/fesm2022/acorex-components-page.mjs +10 -10
  123. package/fesm2022/acorex-components-paint.mjs +79 -55
  124. package/fesm2022/acorex-components-paint.mjs.map +1 -1
  125. package/fesm2022/acorex-components-password-box.mjs +46 -30
  126. package/fesm2022/acorex-components-password-box.mjs.map +1 -1
  127. package/fesm2022/acorex-components-pdf-reader.mjs +11 -10
  128. package/fesm2022/acorex-components-pdf-reader.mjs.map +1 -1
  129. package/fesm2022/acorex-components-phone-box.mjs +31 -21
  130. package/fesm2022/acorex-components-phone-box.mjs.map +1 -1
  131. package/fesm2022/acorex-components-picker.mjs +44 -31
  132. package/fesm2022/acorex-components-picker.mjs.map +1 -1
  133. package/fesm2022/acorex-components-popover.mjs +14 -12
  134. package/fesm2022/acorex-components-popover.mjs.map +1 -1
  135. package/fesm2022/acorex-components-popup.mjs +32 -24
  136. package/fesm2022/acorex-components-popup.mjs.map +1 -1
  137. package/fesm2022/acorex-components-progress-bar.mjs +9 -9
  138. package/fesm2022/acorex-components-progress-bar.mjs.map +1 -1
  139. package/fesm2022/acorex-components-qrcode.mjs +28 -19
  140. package/fesm2022/acorex-components-qrcode.mjs.map +1 -1
  141. package/fesm2022/acorex-components-query-builder.mjs +19 -14
  142. package/fesm2022/acorex-components-query-builder.mjs.map +1 -1
  143. package/fesm2022/acorex-components-radio.mjs +10 -10
  144. package/fesm2022/acorex-components-radio.mjs.map +1 -1
  145. package/fesm2022/acorex-components-rail-navigation.mjs +44 -30
  146. package/fesm2022/acorex-components-rail-navigation.mjs.map +1 -1
  147. package/fesm2022/acorex-components-range-slider.mjs +60 -35
  148. package/fesm2022/acorex-components-range-slider.mjs.map +1 -1
  149. package/fesm2022/acorex-components-rate-picker.mjs +30 -20
  150. package/fesm2022/acorex-components-rate-picker.mjs.map +1 -1
  151. package/fesm2022/acorex-components-rest-api-generator.mjs +50 -39
  152. package/fesm2022/acorex-components-rest-api-generator.mjs.map +1 -1
  153. package/fesm2022/acorex-components-result.mjs +9 -9
  154. package/fesm2022/acorex-components-result.mjs.map +1 -1
  155. package/fesm2022/acorex-components-routing-progress.mjs +9 -9
  156. package/fesm2022/acorex-components-routing-progress.mjs.map +1 -1
  157. package/fesm2022/acorex-components-rrule.mjs +52 -35
  158. package/fesm2022/acorex-components-rrule.mjs.map +1 -1
  159. package/fesm2022/acorex-components-scheduler-picker.mjs +205 -152
  160. package/fesm2022/acorex-components-scheduler-picker.mjs.map +1 -1
  161. package/fesm2022/acorex-components-scheduler.mjs +504 -275
  162. package/fesm2022/acorex-components-scheduler.mjs.map +1 -1
  163. package/fesm2022/acorex-components-search-box.mjs +14 -12
  164. package/fesm2022/acorex-components-search-box.mjs.map +1 -1
  165. package/fesm2022/acorex-components-select-box.mjs +32 -21
  166. package/fesm2022/acorex-components-select-box.mjs.map +1 -1
  167. package/fesm2022/acorex-components-selection-list-2.mjs +16 -13
  168. package/fesm2022/acorex-components-selection-list-2.mjs.map +1 -1
  169. package/fesm2022/acorex-components-selection-list.mjs +14 -12
  170. package/fesm2022/acorex-components-selection-list.mjs.map +1 -1
  171. package/fesm2022/acorex-components-side-menu.mjs +83 -46
  172. package/fesm2022/acorex-components-side-menu.mjs.map +1 -1
  173. package/fesm2022/acorex-components-sidebar.mjs +279 -0
  174. package/fesm2022/acorex-components-sidebar.mjs.map +1 -0
  175. package/fesm2022/acorex-components-skeleton.mjs +7 -7
  176. package/fesm2022/acorex-components-skeleton.mjs.map +1 -1
  177. package/fesm2022/acorex-components-slider.mjs +10 -10
  178. package/fesm2022/acorex-components-slider.mjs.map +1 -1
  179. package/fesm2022/acorex-components-sliding-item.mjs +31 -22
  180. package/fesm2022/acorex-components-sliding-item.mjs.map +1 -1
  181. package/fesm2022/acorex-components-step-wizard.mjs +66 -41
  182. package/fesm2022/acorex-components-step-wizard.mjs.map +1 -1
  183. package/fesm2022/acorex-components-switch.mjs +13 -13
  184. package/fesm2022/acorex-components-switch.mjs.map +1 -1
  185. package/fesm2022/acorex-components-tabs.mjs +27 -23
  186. package/fesm2022/acorex-components-tabs.mjs.map +1 -1
  187. package/fesm2022/acorex-components-tag-box.mjs +31 -21
  188. package/fesm2022/acorex-components-tag-box.mjs.map +1 -1
  189. package/fesm2022/acorex-components-tag.mjs +9 -9
  190. package/fesm2022/acorex-components-tag.mjs.map +1 -1
  191. package/fesm2022/acorex-components-text-area.mjs +10 -10
  192. package/fesm2022/acorex-components-text-area.mjs.map +1 -1
  193. package/fesm2022/acorex-components-text-box.mjs +14 -12
  194. package/fesm2022/acorex-components-text-box.mjs.map +1 -1
  195. package/fesm2022/acorex-components-time-duration.mjs +46 -28
  196. package/fesm2022/acorex-components-time-duration.mjs.map +1 -1
  197. package/fesm2022/acorex-components-time-line.mjs +27 -20
  198. package/fesm2022/acorex-components-time-line.mjs.map +1 -1
  199. package/fesm2022/acorex-components-toast.mjs +37 -25
  200. package/fesm2022/acorex-components-toast.mjs.map +1 -1
  201. package/fesm2022/acorex-components-toolbar.mjs +17 -13
  202. package/fesm2022/acorex-components-toolbar.mjs.map +1 -1
  203. package/fesm2022/acorex-components-tooltip.mjs +18 -15
  204. package/fesm2022/acorex-components-tooltip.mjs.map +1 -1
  205. package/fesm2022/acorex-components-tree-view.mjs +106 -59
  206. package/fesm2022/acorex-components-tree-view.mjs.map +1 -1
  207. package/fesm2022/acorex-components-uploader.mjs +15 -14
  208. package/fesm2022/acorex-components-uploader.mjs.map +1 -1
  209. package/fesm2022/acorex-components-video-player.mjs +11 -10
  210. package/fesm2022/acorex-components-video-player.mjs.map +1 -1
  211. package/fesm2022/acorex-components-wysiwyg.mjs +67 -53
  212. package/fesm2022/acorex-components-wysiwyg.mjs.map +1 -1
  213. package/package.json +7 -3
  214. package/sidebar/README.md +5 -0
  215. package/types/acorex-components-rrule.d.ts +3 -2
  216. package/types/acorex-components-side-menu.d.ts +4 -2
  217. package/types/acorex-components-sidebar.d.ts +127 -0
  218. package/fesm2022/acorex-components-conversation-composer-action-choice-dialog.component-C28hl7iD.mjs.map +0 -1
  219. package/fesm2022/acorex-components-modal-acorex-components-modal-dF5HUEBH.mjs.map +0 -1
  220. package/fesm2022/acorex-components-modal-modal-content.component-BGTYje3j.mjs.map +0 -1
@@ -0,0 +1,279 @@
1
+ import * as i0 from '@angular/core';
2
+ import { Directive, model, input, computed, ViewEncapsulation, Component, output, NgModule } from '@angular/core';
3
+ import { NXComponent, AXComponent } from '@acorex/cdk/common';
4
+ import * as i1 from '@acorex/components/tooltip';
5
+ import { AXTooltipModule } from '@acorex/components/tooltip';
6
+
7
+ /** Marks projected header content inside `ax-sidebar`. */
8
+ class AXSidebarHeaderDirective {
9
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: AXSidebarHeaderDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
10
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.0.8", type: AXSidebarHeaderDirective, isStandalone: true, selector: "[axSidebarHeader]", ngImport: i0 }); }
11
+ }
12
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: AXSidebarHeaderDirective, decorators: [{
13
+ type: Directive,
14
+ args: [{ selector: '[axSidebarHeader]' }]
15
+ }] });
16
+ /** Marks projected navigation content (typically `ax-side-menu`) inside `ax-sidebar`. */
17
+ class AXSidebarNavigationDirective {
18
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: AXSidebarNavigationDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
19
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.0.8", type: AXSidebarNavigationDirective, isStandalone: true, selector: "[axSidebarNavigation]", ngImport: i0 }); }
20
+ }
21
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: AXSidebarNavigationDirective, decorators: [{
22
+ type: Directive,
23
+ args: [{ selector: '[axSidebarNavigation]' }]
24
+ }] });
25
+ /** Marks projected footer utility content inside `ax-sidebar`. */
26
+ class AXSidebarFooterDirective {
27
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: AXSidebarFooterDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
28
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.0.8", type: AXSidebarFooterDirective, isStandalone: true, selector: "[axSidebarFooter]", ngImport: i0 }); }
29
+ }
30
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: AXSidebarFooterDirective, decorators: [{
31
+ type: Directive,
32
+ args: [{ selector: '[axSidebarFooter]' }]
33
+ }] });
34
+ /** Marks the user utility slot inside `ax-sidebar`. */
35
+ class AXSidebarUserSlotDirective {
36
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: AXSidebarUserSlotDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
37
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.0.8", type: AXSidebarUserSlotDirective, isStandalone: true, selector: "[axSidebarUser]", ngImport: i0 }); }
38
+ }
39
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: AXSidebarUserSlotDirective, decorators: [{
40
+ type: Directive,
41
+ args: [{ selector: '[axSidebarUser]' }]
42
+ }] });
43
+ /** Marks the collapse utility slot inside `ax-sidebar`. */
44
+ class AXSidebarCollapseSlotDirective {
45
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: AXSidebarCollapseSlotDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
46
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.0.8", type: AXSidebarCollapseSlotDirective, isStandalone: true, selector: "[axSidebarCollapse]", ngImport: i0 }); }
47
+ }
48
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: AXSidebarCollapseSlotDirective, decorators: [{
49
+ type: Directive,
50
+ args: [{ selector: '[axSidebarCollapse]' }]
51
+ }] });
52
+
53
+ /**
54
+ * Layout shell for an enterprise sidebar with full and compact widths,
55
+ * sticky header/utility regions, and a scrollable navigation slot.
56
+ *
57
+ * @category Components
58
+ */
59
+ class AXSidebarComponent extends NXComponent {
60
+ constructor() {
61
+ super(...arguments);
62
+ /**
63
+ * Sidebar display mode shared with collapse and side-menu consumers.
64
+ *
65
+ * @defaultValue 'full'
66
+ */
67
+ this.mode = model('full', /* @ts-ignore */
68
+ ...(ngDevMode ? [{ debugName: "mode" }] : /* istanbul ignore next */ []));
69
+ /**
70
+ * Accessible name for the sidebar landmark.
71
+ *
72
+ * @defaultValue 'Sidebar'
73
+ */
74
+ this.ariaLabel = input('Sidebar', /* @ts-ignore */
75
+ ...(ngDevMode ? [{ debugName: "ariaLabel" }] : /* istanbul ignore next */ []));
76
+ /**
77
+ * Optional id of the navigation region for `aria-controls` wiring from collapse.
78
+ */
79
+ this.navigationId = input(null, /* @ts-ignore */
80
+ ...(ngDevMode ? [{ debugName: "navigationId" }] : /* istanbul ignore next */ []));
81
+ this.isFull = computed(() => this.mode() === 'full', /* @ts-ignore */
82
+ ...(ngDevMode ? [{ debugName: "isFull" }] : /* istanbul ignore next */ []));
83
+ this.isCompact = computed(() => this.mode() === 'compact', /* @ts-ignore */
84
+ ...(ngDevMode ? [{ debugName: "isCompact" }] : /* istanbul ignore next */ []));
85
+ this.hostClass = computed(() => {
86
+ return [`ax-sidebar`, `ax-mode-${this.mode()}`].join(' ');
87
+ }, /* @ts-ignore */
88
+ ...(ngDevMode ? [{ debugName: "hostClass" }] : /* istanbul ignore next */ []));
89
+ }
90
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: AXSidebarComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
91
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "22.0.8", 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;justify-content:center}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"], encapsulation: i0.ViewEncapsulation.None }); }
92
+ }
93
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: AXSidebarComponent, decorators: [{
94
+ type: Component,
95
+ args: [{ selector: 'ax-sidebar', encapsulation: ViewEncapsulation.None, host: {
96
+ '[class]': 'hostClass()',
97
+ '[attr.aria-expanded]': 'isFull()',
98
+ }, 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;justify-content:center}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"] }]
99
+ }], 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 }] }] } });
100
+
101
+ /**
102
+ * Reusable user/account row for sidebar utility areas.
103
+ * Renders expanded identity content or a compact avatar with tooltip.
104
+ * Project an <ax-avatar> for the avatar slot; size is always fixed by the host styles.
105
+ *
106
+ * @category Components
107
+ */
108
+ class AXSidebarUserComponent extends NXComponent {
109
+ constructor() {
110
+ super(...arguments);
111
+ this.name = input('', /* @ts-ignore */
112
+ ...(ngDevMode ? [{ debugName: "name" }] : /* istanbul ignore next */ []));
113
+ this.description = input('', /* @ts-ignore */
114
+ ...(ngDevMode ? [{ debugName: "description" }] : /* istanbul ignore next */ []));
115
+ this.status = input(null, /* @ts-ignore */
116
+ ...(ngDevMode ? [{ debugName: "status" }] : /* istanbul ignore next */ []));
117
+ this.disabled = input(false, /* @ts-ignore */
118
+ ...(ngDevMode ? [{ debugName: "disabled" }] : /* istanbul ignore next */ []));
119
+ this.compact = input(false, /* @ts-ignore */
120
+ ...(ngDevMode ? [{ debugName: "compact" }] : /* istanbul ignore next */ []));
121
+ this.tooltip = input(null, /* @ts-ignore */
122
+ ...(ngDevMode ? [{ debugName: "tooltip" }] : /* istanbul ignore next */ []));
123
+ this.ariaLabel = input(null, /* @ts-ignore */
124
+ ...(ngDevMode ? [{ debugName: "ariaLabel" }] : /* istanbul ignore next */ []));
125
+ this.userClick = output();
126
+ this.actionClick = output();
127
+ this.tooltipContent = computed(() => {
128
+ if (!this.compact()) {
129
+ return null;
130
+ }
131
+ return this.tooltip()?.trim() || this.name()?.trim() || this.ariaLabel()?.trim() || null;
132
+ }, /* @ts-ignore */
133
+ ...(ngDevMode ? [{ debugName: "tooltipContent" }] : /* istanbul ignore next */ []));
134
+ this.accessibleLabel = computed(() => {
135
+ return this.ariaLabel()?.trim() || [this.name(), this.description()].filter(Boolean).join(', ') || 'User';
136
+ }, /* @ts-ignore */
137
+ ...(ngDevMode ? [{ debugName: "accessibleLabel" }] : /* istanbul ignore next */ []));
138
+ this.hostClass = computed(() => {
139
+ const classes = ['ax-sidebar-user'];
140
+ if (this.compact()) {
141
+ classes.push('ax-mode-compact');
142
+ }
143
+ if (this.disabled()) {
144
+ classes.push('ax-state-disabled');
145
+ }
146
+ return classes.join(' ');
147
+ }, /* @ts-ignore */
148
+ ...(ngDevMode ? [{ debugName: "hostClass" }] : /* istanbul ignore next */ []));
149
+ }
150
+ handleUserClick(nativeEvent) {
151
+ if (this.disabled()) {
152
+ nativeEvent.preventDefault();
153
+ nativeEvent.stopPropagation();
154
+ return;
155
+ }
156
+ this.userClick.emit({
157
+ component: this,
158
+ htmlElement: this.nativeElement,
159
+ nativeEvent,
160
+ });
161
+ }
162
+ handleActionClick(nativeEvent) {
163
+ nativeEvent.stopPropagation();
164
+ if (this.disabled()) {
165
+ nativeEvent.preventDefault();
166
+ return;
167
+ }
168
+ this.actionClick.emit({
169
+ component: this,
170
+ htmlElement: this.nativeElement,
171
+ nativeEvent,
172
+ });
173
+ }
174
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: AXSidebarUserComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
175
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.0.8", type: AXSidebarUserComponent, isStandalone: true, selector: "ax-sidebar-user", inputs: { 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 }], 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\"></ng-content>\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{width:2rem!important;height:2rem!important;--ax-comp-avatar-size: 32;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: "ngmodule", type: AXTooltipModule }, { kind: "directive", type: i1.AXTooltipDirective, selector: "[axTooltip]", inputs: ["axTooltipDisabled", "axTooltip", "axTooltipContext", "axTooltipPlacement", "axTooltipOffsetX", "axTooltipOffsetY", "axTooltipOpenAfter", "axTooltipCloseAfter"] }], encapsulation: i0.ViewEncapsulation.None }); }
176
+ }
177
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: AXSidebarUserComponent, decorators: [{
178
+ type: Component,
179
+ args: [{ selector: 'ax-sidebar-user', encapsulation: ViewEncapsulation.None, host: {
180
+ '[class]': 'hostClass()',
181
+ '[attr.aria-disabled]': 'disabled() || null',
182
+ }, providers: [{ provide: AXComponent, useExisting: AXSidebarUserComponent }], imports: [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\"></ng-content>\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{width:2rem!important;height:2rem!important;--ax-comp-avatar-size: 32;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"] }]
183
+ }], propDecorators: { 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"] }] } });
184
+
185
+ /**
186
+ * Sticky utility control that toggles sidebar full/compact mode.
187
+ *
188
+ * @category Components
189
+ */
190
+ class AXSidebarCollapseComponent extends NXComponent {
191
+ constructor() {
192
+ super(...arguments);
193
+ /**
194
+ * Current sidebar mode. Two-way bindable via `[(mode)]`.
195
+ *
196
+ * @defaultValue 'full'
197
+ */
198
+ this.mode = model('full', /* @ts-ignore */
199
+ ...(ngDevMode ? [{ debugName: "mode" }] : /* istanbul ignore next */ []));
200
+ this.disabled = input(false, /* @ts-ignore */
201
+ ...(ngDevMode ? [{ debugName: "disabled" }] : /* istanbul ignore next */ []));
202
+ this.fullLabel = input('Collapse', /* @ts-ignore */
203
+ ...(ngDevMode ? [{ debugName: "fullLabel" }] : /* istanbul ignore next */ []));
204
+ this.compactLabel = input('Expand', /* @ts-ignore */
205
+ ...(ngDevMode ? [{ debugName: "compactLabel" }] : /* istanbul ignore next */ []));
206
+ this.ariaLabel = input(null, /* @ts-ignore */
207
+ ...(ngDevMode ? [{ debugName: "ariaLabel" }] : /* istanbul ignore next */ []));
208
+ this.ariaControls = input(null, /* @ts-ignore */
209
+ ...(ngDevMode ? [{ debugName: "ariaControls" }] : /* istanbul ignore next */ []));
210
+ this.isFull = computed(() => this.mode() === 'full', /* @ts-ignore */
211
+ ...(ngDevMode ? [{ debugName: "isFull" }] : /* istanbul ignore next */ []));
212
+ this.isCompact = computed(() => this.mode() === 'compact', /* @ts-ignore */
213
+ ...(ngDevMode ? [{ debugName: "isCompact" }] : /* istanbul ignore next */ []));
214
+ this.label = computed(() => (this.isFull() ? this.fullLabel() : this.compactLabel()), /* @ts-ignore */
215
+ ...(ngDevMode ? [{ debugName: "label" }] : /* istanbul ignore next */ []));
216
+ this.accessibleLabel = computed(() => this.ariaLabel()?.trim() || this.label(), /* @ts-ignore */
217
+ ...(ngDevMode ? [{ debugName: "accessibleLabel" }] : /* istanbul ignore next */ []));
218
+ this.tooltipContent = computed(() => (this.isCompact() ? this.accessibleLabel() : null), /* @ts-ignore */
219
+ ...(ngDevMode ? [{ debugName: "tooltipContent" }] : /* istanbul ignore next */ []));
220
+ this.hostClass = computed(() => {
221
+ const classes = ['ax-sidebar-collapse', `ax-mode-${this.mode()}`];
222
+ if (this.disabled()) {
223
+ classes.push('ax-state-disabled');
224
+ }
225
+ return classes.join(' ');
226
+ }, /* @ts-ignore */
227
+ ...(ngDevMode ? [{ debugName: "hostClass" }] : /* istanbul ignore next */ []));
228
+ }
229
+ toggleMode() {
230
+ if (this.disabled()) {
231
+ return;
232
+ }
233
+ this.mode.update((current) => (current === 'full' ? 'compact' : 'full'));
234
+ }
235
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: AXSidebarCollapseComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
236
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.0.8", 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"] }], encapsulation: i0.ViewEncapsulation.None }); }
237
+ }
238
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: AXSidebarCollapseComponent, decorators: [{
239
+ type: Component,
240
+ args: [{ selector: 'ax-sidebar-collapse', encapsulation: ViewEncapsulation.None, host: {
241
+ '[class]': 'hostClass()',
242
+ }, 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"] }]
243
+ }], 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 }] }] } });
244
+
245
+ const COMPONENTS = [AXSidebarComponent, AXSidebarUserComponent, AXSidebarCollapseComponent];
246
+ const DIRECTIVES = [
247
+ AXSidebarHeaderDirective,
248
+ AXSidebarNavigationDirective,
249
+ AXSidebarFooterDirective,
250
+ AXSidebarUserSlotDirective,
251
+ AXSidebarCollapseSlotDirective,
252
+ ];
253
+ class AXSidebarModule {
254
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: AXSidebarModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
255
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "22.0.8", ngImport: i0, type: AXSidebarModule, imports: [AXSidebarComponent, AXSidebarUserComponent, AXSidebarCollapseComponent, AXSidebarHeaderDirective,
256
+ AXSidebarNavigationDirective,
257
+ AXSidebarFooterDirective,
258
+ AXSidebarUserSlotDirective,
259
+ AXSidebarCollapseSlotDirective], exports: [AXSidebarComponent, AXSidebarUserComponent, AXSidebarCollapseComponent, AXSidebarHeaderDirective,
260
+ AXSidebarNavigationDirective,
261
+ AXSidebarFooterDirective,
262
+ AXSidebarUserSlotDirective,
263
+ AXSidebarCollapseSlotDirective] }); }
264
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: AXSidebarModule, imports: [AXSidebarUserComponent, AXSidebarCollapseComponent] }); }
265
+ }
266
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: AXSidebarModule, decorators: [{
267
+ type: NgModule,
268
+ args: [{
269
+ imports: [...COMPONENTS, ...DIRECTIVES],
270
+ exports: [...COMPONENTS, ...DIRECTIVES],
271
+ }]
272
+ }] });
273
+
274
+ /**
275
+ * Generated bundle index. Do not edit.
276
+ */
277
+
278
+ export { AXSidebarCollapseComponent, AXSidebarCollapseSlotDirective, AXSidebarComponent, AXSidebarFooterDirective, AXSidebarHeaderDirective, AXSidebarModule, AXSidebarNavigationDirective, AXSidebarUserComponent, AXSidebarUserSlotDirective };
279
+ //# 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 { 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\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 { AXTooltipModule } from '@acorex/components/tooltip';\nimport { Component, computed, input, output, ViewEncapsulation } 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 * Project an <ax-avatar> for the avatar slot; size is always fixed by the host styles.\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\n encapsulation: ViewEncapsulation.None,\n host: {\n '[class]': 'hostClass()',\n '[attr.aria-disabled]': 'disabled() || null',\n },\n providers: [{ provide: AXComponent, useExisting: AXSidebarUserComponent }],\n imports: [AXTooltipModule],\n})\nexport class AXSidebarUserComponent extends NXComponent {\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 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 this.ariaLabel()?.trim() || [this.name(), this.description()].filter(Boolean).join(', ') || 'User';\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\"></ng-content>\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 { 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\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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  get __hostClass() {
22
22
  return `ax-skeleton ${this.animated ? 'ax-skeleton-animate' : ''}`;
23
23
  }
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;@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 }); }
24
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: AXSkeletonComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
25
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.0.8", 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
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXSkeletonComponent, decorators: [{
27
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: AXSkeletonComponent, decorators: [{
28
28
  type: Component,
29
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: [{
@@ -35,11 +35,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImpor
35
35
  }] } });
36
36
 
37
37
  class AXSkeletonModule {
38
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXSkeletonModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
39
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.2.9", ngImport: i0, type: AXSkeletonModule, imports: [CommonModule, AXSkeletonComponent], exports: [AXSkeletonComponent] }); }
40
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXSkeletonModule, imports: [CommonModule] }); }
38
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: AXSkeletonModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
39
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "22.0.8", ngImport: i0, type: AXSkeletonModule, imports: [CommonModule, AXSkeletonComponent], exports: [AXSkeletonComponent] }); }
40
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: AXSkeletonModule, imports: [CommonModule] }); }
41
41
  }
42
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXSkeletonModule, decorators: [{
42
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: AXSkeletonModule, decorators: [{
43
43
  type: NgModule,
44
44
  args: [{
45
45
  imports: [CommonModule, AXSkeletonComponent],
@@ -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.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,CAAA;;2FAK1B,mBAAmB,EAAA,UAAA,EAAA,CAAA;kBAP/B,SAAS;AACE,YAAA,IAAA,EAAA,CAAA,EAAA,QAAA,EAAA,aAAa,YACb,2BAA2B,EAAA,aAAA,EAEtB,iBAAiB,CAAC,IAAI,EAAA,SAAA,EAC1B,CAAC,EAAE,OAAO,EAAE,WAAW,EAAE,WAAW,EAAA,mBAAqB,EAAE,CAAC,EAAA,MAAA,EAAA,CAAA,09HAAA,CAAA,EAAA;;sBAQtE;;sBAGA,WAAW;uBAAC,OAAO;;;MChBT,gBAAgB,CAAA;8GAAhB,gBAAgB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,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\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;AASG,MAAO,mBAAoB,SAAQ,eAAe,CAAA;AARxD,IAAA,WAAA,GAAA;;AASE;;;;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,EA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AAA,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,6 +1,6 @@
1
1
  import { MXValueComponent, MXColorComponent, AXValuableComponent, AXComponent, AXCommonModule } from '@acorex/cdk/common';
2
2
  import * as i0 from '@angular/core';
3
- import { inject, NgZone, output, forwardRef, HostBinding, Input, ViewEncapsulation, ChangeDetectionStrategy, Component, NgModule } from '@angular/core';
3
+ import { inject, NgZone, output, forwardRef, HostBinding, Input, ViewEncapsulation, Component, NgModule } from '@angular/core';
4
4
  import * as i1 from '@angular/forms';
5
5
  import { FormsModule, NG_VALUE_ACCESSOR } from '@angular/forms';
6
6
  import { classes } from 'polytype';
@@ -126,8 +126,8 @@ class AXSliderComponent extends classes((MXValueComponent), MXColorComponent) {
126
126
  get __hostClassDisabled() {
127
127
  return this.disabled;
128
128
  }
129
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXSliderComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
130
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.9", type: AXSliderComponent, isStandalone: true, selector: "ax-slider", inputs: { readonly: "readonly", disabled: "disabled", value: "value", name: "name", color: "color", minValue: "minValue", maxValue: "maxValue", step: "step", direction: "direction" }, outputs: { valueChange: "valueChange", onValueChanged: "onValueChanged", readonlyChange: "readonlyChange", disabledChange: "disabledChange", onChange: "onChange", onClick: "onClick" }, host: { properties: { "class": "this.__hostClass", "class.ax-state-disabled": "this.__hostClassDisabled" } }, providers: [
129
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: AXSliderComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
130
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.0.8", type: AXSliderComponent, isStandalone: true, selector: "ax-slider", inputs: { readonly: "readonly", disabled: "disabled", value: "value", name: "name", color: "color", minValue: "minValue", maxValue: "maxValue", step: "step", direction: "direction" }, outputs: { valueChange: "valueChange", onValueChanged: "onValueChanged", readonlyChange: "readonlyChange", disabledChange: "disabledChange", onChange: "onChange", onClick: "onClick" }, host: { properties: { "class": "this.__hostClass", "class.ax-state-disabled": "this.__hostClassDisabled" } }, providers: [
131
131
  { provide: AXValuableComponent, useExisting: AXSliderComponent },
132
132
  {
133
133
  provide: NG_VALUE_ACCESSOR,
@@ -135,11 +135,11 @@ class AXSliderComponent extends classes((MXValueComponent), MXColorComponent) {
135
135
  multi: true,
136
136
  },
137
137
  { provide: AXComponent, useExisting: AXSliderComponent },
138
- ], usesInheritance: true, ngImport: i0, template: "<input\n (click)=\"clickHandler($event)\"\n type=\"range\"\n [min]=\"minValue\"\n [max]=\"maxValue\"\n [ngModel]=\"value\"\n (ngModelChange)=\"_handleModelChange($event)\"\n (blur)=\"emitOnBlurEvent($event)\"\n (focus)=\"emitOnFocusEvent($event)\"\n [step]=\"step\"\n [disabled]=\"disabled || readonly\"\n [readonly]=\"readonly\"\n/>\n", dependencies: [{ kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i1.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i1.RangeValueAccessor, selector: "input[type=range][formControlName],input[type=range][formControl],input[type=range][ngModel]" }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
138
+ ], usesInheritance: true, ngImport: i0, template: "<input\n (click)=\"clickHandler($event)\"\n type=\"range\"\n [min]=\"minValue\"\n [max]=\"maxValue\"\n [ngModel]=\"value\"\n (ngModelChange)=\"_handleModelChange($event)\"\n (blur)=\"emitOnBlurEvent($event)\"\n (focus)=\"emitOnFocusEvent($event)\"\n [step]=\"step\"\n [disabled]=\"disabled || readonly\"\n [readonly]=\"readonly\"\n/>\n", dependencies: [{ kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i1.DefaultValueAccessor, selector: "input:not([type=checkbox]):not([ngNoCva])[formControlName],textarea:not([ngNoCva])[formControlName],input:not([type=checkbox]):not([ngNoCva])[formControl],textarea:not([ngNoCva])[formControl],input:not([type=checkbox]):not([ngNoCva])[ngModel],textarea:not([ngNoCva])[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i1.RangeValueAccessor, selector: "input[type=range]:not([ngNoCva])[formControlName],input[type=range]:not([ngNoCva])[formControl],input[type=range]:not([ngNoCva])[ngModel]" }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }], encapsulation: i0.ViewEncapsulation.None }); }
139
139
  }
140
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXSliderComponent, decorators: [{
140
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: AXSliderComponent, decorators: [{
141
141
  type: Component,
142
- args: [{ selector: 'ax-slider', changeDetection: ChangeDetectionStrategy.OnPush, inputs: ['readonly', 'disabled', 'value', 'name', 'color'], outputs: ['valueChange', 'onValueChanged', 'readonlyChange', 'disabledChange', 'onChange'], encapsulation: ViewEncapsulation.None, providers: [
142
+ args: [{ selector: 'ax-slider', inputs: ['readonly', 'disabled', 'value', 'name', 'color'], outputs: ['valueChange', 'onValueChanged', 'readonlyChange', 'disabledChange', 'onChange'], encapsulation: ViewEncapsulation.None, providers: [
143
143
  { provide: AXValuableComponent, useExisting: AXSliderComponent },
144
144
  {
145
145
  provide: NG_VALUE_ACCESSOR,
@@ -167,11 +167,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImpor
167
167
  const COMPONENT = [AXSliderComponent];
168
168
  const MODULES = [CommonModule, AXCommonModule, FormsModule];
169
169
  class AXSliderModule {
170
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXSliderModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
171
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.2.9", ngImport: i0, type: AXSliderModule, imports: [CommonModule, AXCommonModule, FormsModule, AXSliderComponent], exports: [AXSliderComponent] }); }
172
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXSliderModule, imports: [MODULES, COMPONENT] }); }
170
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: AXSliderModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
171
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "22.0.8", ngImport: i0, type: AXSliderModule, imports: [CommonModule, AXCommonModule, FormsModule, AXSliderComponent], exports: [AXSliderComponent] }); }
172
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: AXSliderModule, imports: [MODULES, COMPONENT] }); }
173
173
  }
174
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXSliderModule, decorators: [{
174
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: AXSliderModule, decorators: [{
175
175
  type: NgModule,
176
176
  args: [{
177
177
  imports: [...MODULES, ...COMPONENT],
@@ -1 +1 @@
1
- {"version":3,"file":"acorex-components-slider.mjs","sources":["../../../../packages/components/slider/src/lib/slider.component.ts","../../../../packages/components/slider/src/lib/slider.component.html","../../../../packages/components/slider/src/lib/slider.module.ts","../../../../packages/components/slider/src/acorex-components-slider.ts"],"sourcesContent":["import {\n AXClickEvent,\n AXComponent,\n AXDirection,\n AXValuableComponent,\n MXColorComponent,\n MXComponentOptionChanged,\n MXValueComponent,\n} from '@acorex/cdk/common';\nimport {\n ChangeDetectionStrategy,\n Component,\n HostBinding,\n Input,\n NgZone,\n ViewEncapsulation,\n forwardRef,\n inject,\n output,\n} from '@angular/core';\nimport { FormsModule, NG_VALUE_ACCESSOR } from '@angular/forms';\nimport { classes } from 'polytype';\n\n/**\n * @deprecated Use `range slider` instead.\n * This component deprecated and no longer support.\n */\n@Component({\n selector: 'ax-slider',\n templateUrl: './slider.component.html',\n changeDetection: ChangeDetectionStrategy.OnPush,\n inputs: ['readonly', 'disabled', 'value', 'name', 'color'],\n outputs: ['valueChange', 'onValueChanged', 'readonlyChange', 'disabledChange', 'onChange'],\n encapsulation: ViewEncapsulation.None,\n providers: [\n { provide: AXValuableComponent, useExisting: AXSliderComponent },\n {\n provide: NG_VALUE_ACCESSOR,\n useExisting: forwardRef(() => AXSliderComponent),\n multi: true,\n },\n { provide: AXComponent, useExisting: AXSliderComponent },\n ],\n imports: [FormsModule],\n})\nexport class AXSliderComponent extends classes(MXValueComponent<number>, MXColorComponent) {\n private _zone = inject(NgZone);\n\n /**\n * @event\n */\n onClick = output<AXClickEvent>();\n\n /** @ignore */\n private _minValue = 0;\n\n /**\n * Specifies the smallest value that is valid\n */\n @Input()\n public get minValue(): number {\n return this._minValue ?? 0;\n }\n\n /**\n * Sets the minimum value of the slider.\n *\n * @param {number} v\n */\n public set minValue(v: number) {\n this.setOption({\n name: 'minValue',\n value: v != null ? Number(v) : 0,\n });\n }\n\n /** @ignore */\n private _maxValue = 100;\n\n /**\n * Specifies the greatest value that is valid\n */\n @Input()\n public get maxValue(): number {\n return this._maxValue ?? 100;\n }\n\n /**\n * Sets the maximum value of the slider.\n *\n * @param {number} v\n */\n public set maxValue(v: number) {\n this.setOption({\n name: 'maxValue',\n value: v != null ? Number(v) : 100,\n });\n }\n\n /** @ignore */\n private _step = 1;\n\n /**\n * Specifies the greatest value that is valid\n */\n @Input()\n public get step(): number {\n return this._step ?? 100;\n }\n\n /**\n * Sets the step increment for the slider.\n *\n * @param {number} v\n */\n public set step(v: number) {\n this.setOption({\n name: 'step',\n value: v != null ? Number(v) : 1,\n });\n }\n\n //TODO: vertical dont work properly\n /**\n * The direction of the slider.\n *\n * @defaultValue 'horizontal'\n */\n @Input()\n direction: AXDirection = 'horizontal';\n\n /**\n * Handles changes to internal component options.\n *\n * @param {MXComponentOptionChanged} e\n */\n override internalOptionChanged(e: MXComponentOptionChanged) {\n this._calcVars();\n }\n\n /**\n * Handles changes to the component's value.\n *\n * @param {number} value\n */\n override internalValueChanged(value: number): void {\n this._calcVars();\n }\n\n /** @ignore */\n protected _handleModelChange(value: number) {\n this.commitValue(value, true);\n }\n\n /** @ignore */\n private _calcVars() {\n this._zone.runOutsideAngular(() => {\n const per = (((this.value ?? 0) - this.minValue) / (this.maxValue - this.minValue)) * 100 - 0.1;\n this.getHostElement().style.setProperty('--ax-current-value', `${per}%`);\n });\n }\n\n /**\n * @event\n *\n * Emits the value of the clicked input element when the click event occurs.\n */\n clickHandler(e: Event) {\n this.onClick.emit((e.target as HTMLInputElement).value as any);\n }\n\n /** @ignore */\n @HostBinding('class')\n private get __hostClass(): string {\n return `${this.color} ax-${this.direction}`;\n }\n\n /** @ignore */\n @HostBinding('class.ax-state-disabled')\n private get __hostClassDisabled(): boolean {\n return this.disabled;\n }\n}\n","<input\n (click)=\"clickHandler($event)\"\n type=\"range\"\n [min]=\"minValue\"\n [max]=\"maxValue\"\n [ngModel]=\"value\"\n (ngModelChange)=\"_handleModelChange($event)\"\n (blur)=\"emitOnBlurEvent($event)\"\n (focus)=\"emitOnFocusEvent($event)\"\n [step]=\"step\"\n [disabled]=\"disabled || readonly\"\n [readonly]=\"readonly\"\n/>\n","import { AXCommonModule } from '@acorex/cdk/common';\nimport { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\nimport { FormsModule } from '@angular/forms';\nimport { AXSliderComponent } from './slider.component';\n\nconst COMPONENT = [AXSliderComponent];\nconst MODULES = [CommonModule, AXCommonModule, FormsModule];\n\n@NgModule({\n imports: [...MODULES, ...COMPONENT],\n exports: [...COMPONENT],\n providers: [],\n})\nexport class AXSliderModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;AAuBA;;;AAGG;AAmBG,MAAO,iBAAkB,SAAQ,OAAO,EAAC,gBAAwB,GAAE,gBAAgB,CAAC,CAAA;AAlB1F,IAAA,WAAA,GAAA;;AAmBU,QAAA,IAAA,CAAA,KAAK,GAAG,MAAM,CAAC,MAAM,CAAC;AAE9B;;AAEG;QACH,IAAA,CAAA,OAAO,GAAG,MAAM,EAAgB;;QAGxB,IAAA,CAAA,SAAS,GAAG,CAAC;;QAuBb,IAAA,CAAA,SAAS,GAAG,GAAG;;QAuBf,IAAA,CAAA,KAAK,GAAG,CAAC;;AAuBjB;;;;AAIG;QAEH,IAAA,CAAA,SAAS,GAAgB,YAAY;AAqDtC,IAAA;AA9HC;;AAEG;AACH,IAAA,IACW,QAAQ,GAAA;AACjB,QAAA,OAAO,IAAI,CAAC,SAAS,IAAI,CAAC;IAC5B;AAEA;;;;AAIG;IACH,IAAW,QAAQ,CAAC,CAA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,OAAA,EAAA,CAJZ,OAAO,EAAK,SAAS,CAAA,EAAA,CAAA,CAAA;;2FAIvB,cAAc,EAAA,UAAA,EAAA,CAAA;kBAL1B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,OAAO,EAAE,CAAC,GAAG,OAAO,EAAE,GAAG,SAAS,CAAC;AACnC,oBAAA,OAAO,EAAE,CAAC,GAAG,SAAS,CAAC;AACvB,oBAAA,SAAS,EAAE,EAAE;AACd,iBAAA;;;ACbD;;AAEG;;;;"}
1
+ {"version":3,"file":"acorex-components-slider.mjs","sources":["../../../../packages/components/slider/src/lib/slider.component.ts","../../../../packages/components/slider/src/lib/slider.component.html","../../../../packages/components/slider/src/lib/slider.module.ts","../../../../packages/components/slider/src/acorex-components-slider.ts"],"sourcesContent":["import {\n AXClickEvent,\n AXComponent,\n AXDirection,\n AXValuableComponent,\n MXColorComponent,\n MXComponentOptionChanged,\n MXValueComponent,\n} from '@acorex/cdk/common';\nimport { Component, HostBinding, Input, NgZone, ViewEncapsulation, forwardRef, inject, output } from '@angular/core';\nimport { FormsModule, NG_VALUE_ACCESSOR } from '@angular/forms';\nimport { classes } from 'polytype';\n\n/**\n * @deprecated Use `range slider` instead.\n * This component deprecated and no longer support.\n */\n@Component({\n selector: 'ax-slider',\n templateUrl: './slider.component.html',\n\n inputs: ['readonly', 'disabled', 'value', 'name', 'color'],\n outputs: ['valueChange', 'onValueChanged', 'readonlyChange', 'disabledChange', 'onChange'],\n encapsulation: ViewEncapsulation.None,\n providers: [\n { provide: AXValuableComponent, useExisting: AXSliderComponent },\n {\n provide: NG_VALUE_ACCESSOR,\n useExisting: forwardRef(() => AXSliderComponent),\n multi: true,\n },\n { provide: AXComponent, useExisting: AXSliderComponent },\n ],\n imports: [FormsModule],\n})\nexport class AXSliderComponent extends classes(MXValueComponent<number>, MXColorComponent) {\n private _zone = inject(NgZone);\n\n /**\n * @event\n */\n onClick = output<AXClickEvent>();\n\n /** @ignore */\n private _minValue = 0;\n\n /**\n * Specifies the smallest value that is valid\n */\n @Input()\n public get minValue(): number {\n return this._minValue ?? 0;\n }\n\n /**\n * Sets the minimum value of the slider.\n *\n * @param {number} v\n */\n public set minValue(v: number) {\n this.setOption({\n name: 'minValue',\n value: v != null ? Number(v) : 0,\n });\n }\n\n /** @ignore */\n private _maxValue = 100;\n\n /**\n * Specifies the greatest value that is valid\n */\n @Input()\n public get maxValue(): number {\n return this._maxValue ?? 100;\n }\n\n /**\n * Sets the maximum value of the slider.\n *\n * @param {number} v\n */\n public set maxValue(v: number) {\n this.setOption({\n name: 'maxValue',\n value: v != null ? Number(v) : 100,\n });\n }\n\n /** @ignore */\n private _step = 1;\n\n /**\n * Specifies the greatest value that is valid\n */\n @Input()\n public get step(): number {\n return this._step ?? 100;\n }\n\n /**\n * Sets the step increment for the slider.\n *\n * @param {number} v\n */\n public set step(v: number) {\n this.setOption({\n name: 'step',\n value: v != null ? Number(v) : 1,\n });\n }\n\n //TODO: vertical dont work properly\n /**\n * The direction of the slider.\n *\n * @defaultValue 'horizontal'\n */\n @Input()\n direction: AXDirection = 'horizontal';\n\n /**\n * Handles changes to internal component options.\n *\n * @param {MXComponentOptionChanged} e\n */\n override internalOptionChanged(e: MXComponentOptionChanged) {\n this._calcVars();\n }\n\n /**\n * Handles changes to the component's value.\n *\n * @param {number} value\n */\n override internalValueChanged(value: number): void {\n this._calcVars();\n }\n\n /** @ignore */\n protected _handleModelChange(value: number) {\n this.commitValue(value, true);\n }\n\n /** @ignore */\n private _calcVars() {\n this._zone.runOutsideAngular(() => {\n const per = (((this.value ?? 0) - this.minValue) / (this.maxValue - this.minValue)) * 100 - 0.1;\n this.getHostElement().style.setProperty('--ax-current-value', `${per}%`);\n });\n }\n\n /**\n * @event\n *\n * Emits the value of the clicked input element when the click event occurs.\n */\n clickHandler(e: Event) {\n this.onClick.emit((e.target as HTMLInputElement).value as any);\n }\n\n /** @ignore */\n @HostBinding('class')\n private get __hostClass(): string {\n return `${this.color} ax-${this.direction}`;\n }\n\n /** @ignore */\n @HostBinding('class.ax-state-disabled')\n private get __hostClassDisabled(): boolean {\n return this.disabled;\n }\n}\n","<input\n (click)=\"clickHandler($event)\"\n type=\"range\"\n [min]=\"minValue\"\n [max]=\"maxValue\"\n [ngModel]=\"value\"\n (ngModelChange)=\"_handleModelChange($event)\"\n (blur)=\"emitOnBlurEvent($event)\"\n (focus)=\"emitOnFocusEvent($event)\"\n [step]=\"step\"\n [disabled]=\"disabled || readonly\"\n [readonly]=\"readonly\"\n/>\n","import { AXCommonModule } from '@acorex/cdk/common';\nimport { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\nimport { FormsModule } from '@angular/forms';\nimport { AXSliderComponent } from './slider.component';\n\nconst COMPONENT = [AXSliderComponent];\nconst MODULES = [CommonModule, AXCommonModule, FormsModule];\n\n@NgModule({\n imports: [...MODULES, ...COMPONENT],\n exports: [...COMPONENT],\n providers: [],\n})\nexport class AXSliderModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;AAaA;;;AAGG;AAmBG,MAAO,iBAAkB,SAAQ,OAAO,EAAC,gBAAwB,GAAE,gBAAgB,CAAC,CAAA;AAlB1F,IAAA,WAAA,GAAA;;AAmBU,QAAA,IAAA,CAAA,KAAK,GAAG,MAAM,CAAC,MAAM,CAAC;AAE9B;;AAEG;QACH,IAAA,CAAA,OAAO,GAAG,MAAM,EAAgB;;QAGxB,IAAA,CAAA,SAAS,GAAG,CAAC;;QAuBb,IAAA,CAAA,SAAS,GAAG,GAAG;;QAuBf,IAAA,CAAA,KAAK,GAAG,CAAC;;AAuBjB;;;;AAIG;QAEH,IAAA,CAAA,SAAS,GAAgB,YAAY;AAqDtC,IAAA;AA9HC;;AAEG;AACH,IAAA,IACW,QAAQ,GAAA;AACjB,QAAA,OAAO,IAAI,CAAC,SAAS,IAAI,CAAC;IAC5B;AAEA;;;;AAIG;IACH,IAAW,QAAQ,CAAC,CAAS,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