@acorex/components 19.10.9 → 19.11.0-next.1

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 (470) hide show
  1. package/action-sheet/lib/action-sheet.component.d.ts +1 -1
  2. package/action-sheet/lib/action-sheet.module.d.ts +11 -11
  3. package/alert/lib/alert.component.d.ts +1 -1
  4. package/alert/lib/alert.module.d.ts +4 -4
  5. package/audio-wave/lib/audio-wave.component.d.ts +1 -1
  6. package/audio-wave/lib/audio-wave.module.d.ts +7 -7
  7. package/avatar/lib/avatar-group.component.d.ts +1 -1
  8. package/avatar/lib/avatar.component.d.ts +1 -1
  9. package/avatar/lib/avatar.module.d.ts +4 -4
  10. package/badge/lib/badge.component.d.ts +1 -1
  11. package/badge/lib/badge.module.d.ts +3 -3
  12. package/bottom-navigation/lib/bottom-navigation-item/bottom-navigation-item.component.d.ts +1 -1
  13. package/bottom-navigation/lib/bottom-navigation.component.d.ts +1 -1
  14. package/bottom-navigation/lib/bottom-navigation.module.d.ts +4 -4
  15. package/breadcrumbs/lib/breadcrumbs-item.component.d.ts +1 -1
  16. package/breadcrumbs/lib/breadcrumbs.component.d.ts +1 -1
  17. package/breadcrumbs/lib/breadcrumbs.module.d.ts +5 -5
  18. package/button/lib/button-item-list.component.d.ts +1 -1
  19. package/button/lib/button-item.component.d.ts +1 -1
  20. package/button/lib/button.component.d.ts +1 -1
  21. package/button/lib/button.module.d.ts +8 -8
  22. package/button-group/lib/button-group-item.component.d.ts +1 -1
  23. package/button-group/lib/button-group.component.d.ts +1 -1
  24. package/button-group/lib/button-group.module.d.ts +6 -6
  25. package/calendar/lib/calendar-range.component.d.ts +1 -1
  26. package/calendar/lib/calendar.component.d.ts +1 -1
  27. package/calendar/lib/calendar.module.d.ts +8 -8
  28. package/check-box/lib/check-box.component.d.ts +1 -1
  29. package/check-box/lib/check-box.module.d.ts +5 -5
  30. package/chips/lib/chips.component.d.ts +1 -1
  31. package/chips/lib/chips.module.d.ts +3 -3
  32. package/circular-progress/lib/circular-progress.component.d.ts +1 -1
  33. package/circular-progress/lib/circular-progress.module.d.ts +1 -1
  34. package/collapse/lib/collapse-group.component.d.ts +1 -1
  35. package/collapse/lib/collapse.component.d.ts +1 -1
  36. package/collapse/lib/collapse.module.d.ts +5 -5
  37. package/color-box/lib/color-box.component.d.ts +1 -1
  38. package/color-box/lib/color-box.module.d.ts +6 -6
  39. package/color-palette/lib/color-palette-input.component.d.ts +1 -1
  40. package/color-palette/lib/color-palette-picker.component.d.ts +1 -1
  41. package/color-palette/lib/color-palette-preview.component.d.ts +3 -3
  42. package/color-palette/lib/color-palette-swatches.component.d.ts +1 -1
  43. package/color-palette/lib/color-palette.component.d.ts +3 -3
  44. package/color-palette/lib/color-palette.module.d.ts +17 -17
  45. package/comment/lib/comment-container/comment-container.component.d.ts +1 -1
  46. package/comment/lib/comment-item/comment-item.component.d.ts +1 -1
  47. package/comment/lib/comment-tools/comment-date/comment-date.component.d.ts +1 -1
  48. package/comment/lib/comment-tools/comment-like/comment-like.component.d.ts +1 -1
  49. package/comment/lib/comment-tools/comment-menu-options/comment-menu-options.component.d.ts +1 -1
  50. package/comment/lib/comment-tools/comment-reply-more/comment-reply-more.component.d.ts +1 -1
  51. package/comment/lib/comment-tools/comment-reply-text/comment-reply-text.component.d.ts +1 -1
  52. package/comment/lib/comment-view/comment-view.component.d.ts +1 -1
  53. package/comment/lib/comment.module.d.ts +16 -16
  54. package/common/lib/common.module.d.ts +1 -1
  55. package/common/lib/directives/auto-focus.directive.d.ts +1 -1
  56. package/common/lib/directives/hotkey.directive.d.ts +1 -1
  57. package/common/lib/directives/infinite-scroll.directive.d.ts +1 -1
  58. package/common/lib/directives/responsive.directive.d.ts +1 -1
  59. package/conversation/lib/conversation-container/conversation-container.component.d.ts +1 -1
  60. package/conversation/lib/conversation-input/conversation-input.component.d.ts +1 -1
  61. package/conversation/lib/conversation-message/conversation-message.component.d.ts +1 -1
  62. package/conversation/lib/conversation-messages/conversation-message-audio/conversation-message-audio.component.d.ts +1 -1
  63. package/conversation/lib/conversation-messages/conversation-message-file/conversation-message-file.component.d.ts +1 -1
  64. package/conversation/lib/conversation-messages/conversation-message-image/conversation-message-image.component.d.ts +1 -1
  65. package/conversation/lib/conversation-messages/conversation-message-text/conversation-message-text.component.d.ts +1 -1
  66. package/conversation/lib/conversation-messages/conversation-message-video/conversation-message-video.component.d.ts +1 -1
  67. package/conversation/lib/conversation-messages/conversation-message-voice/conversation-message-voice.component.d.ts +1 -1
  68. package/conversation/lib/conversation-view/conversation-view.component.d.ts +1 -1
  69. package/conversation/lib/conversation.module.d.ts +29 -29
  70. package/cron-job/lib/cron-job-container/cron-job-container.component.d.ts +1 -1
  71. package/cron-job/lib/cron-job.module.d.ts +20 -20
  72. package/cron-job/lib/day/day.component.d.ts +1 -1
  73. package/cron-job/lib/hours/hours.component.d.ts +1 -1
  74. package/cron-job/lib/minutes/minutes.component.d.ts +1 -1
  75. package/cron-job/lib/month/month.component.d.ts +1 -1
  76. package/cron-job/lib/seconds/seconds.component.d.ts +1 -1
  77. package/cron-job/lib/year/year.component.d.ts +1 -1
  78. package/data-pager/lib/data-pager-info.component.d.ts +1 -1
  79. package/data-pager/lib/data-pager-input-selector.component.d.ts +1 -1
  80. package/data-pager/lib/data-pager-next-buttons.component.d.ts +1 -1
  81. package/data-pager/lib/data-pager-numeric-selector.component.d.ts +1 -1
  82. package/data-pager/lib/data-pager-pagesize-dropdown.component.d.ts +1 -1
  83. package/data-pager/lib/data-pager-prev-buttons.component.d.ts +1 -1
  84. package/data-pager/lib/data-pager.component.d.ts +1 -1
  85. package/data-pager/lib/data-pager.module.d.ts +17 -17
  86. package/data-table/lib/columns/data-table-column-resizable.directive.d.ts +1 -1
  87. package/data-table/lib/columns/data-text-column.component.d.ts +1 -1
  88. package/data-table/lib/columns/row-command-column.component.d.ts +2 -2
  89. package/data-table/lib/columns/row-expand-column.component.d.ts +1 -1
  90. package/data-table/lib/columns/row-index-column.component.d.ts +10 -10
  91. package/data-table/lib/columns/row-select-column.component.d.ts +1 -1
  92. package/data-table/lib/data-table/data-table.component.d.ts +1 -1
  93. package/data-table/lib/data-table.module.d.ts +22 -22
  94. package/data-table/lib/infinite-scroll-data-table/infinite-scroll-data-table.component.d.ts +1 -1
  95. package/datetime-box/lib/datetime-box.component.d.ts +1 -1
  96. package/datetime-box/lib/datetime-box.module.d.ts +8 -8
  97. package/datetime-input/lib/datetime-input.component.d.ts +1 -1
  98. package/datetime-input/lib/datetime-input.module.d.ts +5 -5
  99. package/datetime-picker/lib/datetime-picker.component.d.ts +1 -1
  100. package/datetime-picker/lib/datetime-picker.module.d.ts +11 -11
  101. package/decorators/lib/components/clear-button/clear-button.component.d.ts +1 -1
  102. package/decorators/lib/components/close-button/close-button.component.d.ts +1 -1
  103. package/decorators/lib/components/color-indicator/color-indicator.component.d.ts +1 -1
  104. package/decorators/lib/components/full-screen/full-screen-button.component.d.ts +1 -1
  105. package/decorators/lib/components/generic-content.component.d.ts +1 -1
  106. package/decorators/lib/components/heading/heading.component.d.ts +1 -1
  107. package/decorators/lib/components/icon/icon.component.d.ts +1 -1
  108. package/decorators/lib/decorators.module.d.ts +9 -9
  109. package/dialog/lib/dialog.component.d.ts +1 -1
  110. package/dialog/lib/dialog.module.d.ts +11 -11
  111. package/drawer/lib/drawer/drawer-container/drawer-container.component.d.ts +1 -1
  112. package/drawer/lib/drawer/drawer-item/drawer.component.d.ts +1 -1
  113. package/drawer/lib/drawer.module.d.ts +4 -4
  114. package/dropdown/lib/dropdown-box.component.d.ts +1 -1
  115. package/dropdown/lib/dropdown-panel.component.d.ts +1 -1
  116. package/dropdown/lib/dropdown.module.d.ts +9 -9
  117. package/dropdown-button/lib/dropdown-button.component.d.ts +1 -1
  118. package/dropdown-button/lib/dropdown-button.module.d.ts +8 -8
  119. package/fesm2022/acorex-components-action-sheet.mjs +20 -53
  120. package/fesm2022/acorex-components-action-sheet.mjs.map +1 -1
  121. package/fesm2022/acorex-components-alert.mjs +11 -13
  122. package/fesm2022/acorex-components-alert.mjs.map +1 -1
  123. package/fesm2022/acorex-components-audio-wave.mjs +12 -15
  124. package/fesm2022/acorex-components-audio-wave.mjs.map +1 -1
  125. package/fesm2022/acorex-components-avatar.mjs +13 -15
  126. package/fesm2022/acorex-components-avatar.mjs.map +1 -1
  127. package/fesm2022/acorex-components-badge.mjs +10 -11
  128. package/fesm2022/acorex-components-badge.mjs.map +1 -1
  129. package/fesm2022/acorex-components-bottom-navigation.mjs +14 -15
  130. package/fesm2022/acorex-components-bottom-navigation.mjs.map +1 -1
  131. package/fesm2022/acorex-components-breadcrumbs.mjs +15 -17
  132. package/fesm2022/acorex-components-breadcrumbs.mjs.map +1 -1
  133. package/fesm2022/acorex-components-button-group.mjs +16 -18
  134. package/fesm2022/acorex-components-button-group.mjs.map +1 -1
  135. package/fesm2022/acorex-components-button.mjs +28 -51
  136. package/fesm2022/acorex-components-button.mjs.map +1 -1
  137. package/fesm2022/acorex-components-calendar.mjs +26 -42
  138. package/fesm2022/acorex-components-calendar.mjs.map +1 -1
  139. package/fesm2022/acorex-components-check-box.mjs +11 -12
  140. package/fesm2022/acorex-components-check-box.mjs.map +1 -1
  141. package/fesm2022/acorex-components-chips.mjs +10 -11
  142. package/fesm2022/acorex-components-chips.mjs.map +1 -1
  143. package/fesm2022/acorex-components-circular-progress.mjs +10 -11
  144. package/fesm2022/acorex-components-circular-progress.mjs.map +1 -1
  145. package/fesm2022/acorex-components-collapse.mjs +16 -20
  146. package/fesm2022/acorex-components-collapse.mjs.map +1 -1
  147. package/fesm2022/acorex-components-color-box.mjs +23 -40
  148. package/fesm2022/acorex-components-color-box.mjs.map +1 -1
  149. package/fesm2022/acorex-components-color-palette.mjs +50 -56
  150. package/fesm2022/acorex-components-color-palette.mjs.map +1 -1
  151. package/fesm2022/acorex-components-comment.mjs +47 -63
  152. package/fesm2022/acorex-components-comment.mjs.map +1 -1
  153. package/fesm2022/acorex-components-common.mjs +94 -107
  154. package/fesm2022/acorex-components-common.mjs.map +1 -1
  155. package/fesm2022/acorex-components-conversation.mjs +101 -99
  156. package/fesm2022/acorex-components-conversation.mjs.map +1 -1
  157. package/fesm2022/acorex-components-cron-job.mjs +312 -248
  158. package/fesm2022/acorex-components-cron-job.mjs.map +1 -1
  159. package/fesm2022/acorex-components-data-pager.mjs +79 -67
  160. package/fesm2022/acorex-components-data-pager.mjs.map +1 -1
  161. package/fesm2022/acorex-components-data-table.mjs +121 -144
  162. package/fesm2022/acorex-components-data-table.mjs.map +1 -1
  163. package/fesm2022/acorex-components-datetime-box.mjs +11 -15
  164. package/fesm2022/acorex-components-datetime-box.mjs.map +1 -1
  165. package/fesm2022/acorex-components-datetime-input.mjs +17 -33
  166. package/fesm2022/acorex-components-datetime-input.mjs.map +1 -1
  167. package/fesm2022/acorex-components-datetime-picker.mjs +35 -30
  168. package/fesm2022/acorex-components-datetime-picker.mjs.map +1 -1
  169. package/fesm2022/acorex-components-decorators.mjs +42 -58
  170. package/fesm2022/acorex-components-decorators.mjs.map +1 -1
  171. package/fesm2022/acorex-components-dialog.mjs +32 -30
  172. package/fesm2022/acorex-components-dialog.mjs.map +1 -1
  173. package/fesm2022/acorex-components-drawer.mjs +17 -18
  174. package/fesm2022/acorex-components-drawer.mjs.map +1 -1
  175. package/fesm2022/acorex-components-dropdown-button.mjs +15 -20
  176. package/fesm2022/acorex-components-dropdown-button.mjs.map +1 -1
  177. package/fesm2022/acorex-components-dropdown.mjs +18 -21
  178. package/fesm2022/acorex-components-dropdown.mjs.map +1 -1
  179. package/fesm2022/acorex-components-file-explorer.mjs +53 -49
  180. package/fesm2022/acorex-components-file-explorer.mjs.map +1 -1
  181. package/fesm2022/acorex-components-form.mjs +56 -50
  182. package/fesm2022/acorex-components-form.mjs.map +1 -1
  183. package/fesm2022/acorex-components-grid-layout-builder.mjs +17 -22
  184. package/fesm2022/acorex-components-grid-layout-builder.mjs.map +1 -1
  185. package/fesm2022/acorex-components-image-editor.mjs +44 -52
  186. package/fesm2022/acorex-components-image-editor.mjs.map +1 -1
  187. package/fesm2022/acorex-components-image.mjs +11 -16
  188. package/fesm2022/acorex-components-image.mjs.map +1 -1
  189. package/fesm2022/acorex-components-json-viewer.mjs +12 -18
  190. package/fesm2022/acorex-components-json-viewer.mjs.map +1 -1
  191. package/fesm2022/acorex-components-kbd.mjs +14 -15
  192. package/fesm2022/acorex-components-kbd.mjs.map +1 -1
  193. package/fesm2022/acorex-components-label.mjs +10 -11
  194. package/fesm2022/acorex-components-label.mjs.map +1 -1
  195. package/fesm2022/acorex-components-list.mjs +23 -18
  196. package/fesm2022/acorex-components-list.mjs.map +1 -1
  197. package/fesm2022/acorex-components-loading-dialog.mjs +46 -45
  198. package/fesm2022/acorex-components-loading-dialog.mjs.map +1 -1
  199. package/fesm2022/acorex-components-loading.mjs +22 -31
  200. package/fesm2022/acorex-components-loading.mjs.map +1 -1
  201. package/fesm2022/acorex-components-map.mjs +14 -18
  202. package/fesm2022/acorex-components-map.mjs.map +1 -1
  203. package/fesm2022/acorex-components-media-viewer.mjs +69 -74
  204. package/fesm2022/acorex-components-media-viewer.mjs.map +1 -1
  205. package/fesm2022/acorex-components-menu.mjs +28 -41
  206. package/fesm2022/acorex-components-menu.mjs.map +1 -1
  207. package/fesm2022/acorex-components-navbar.mjs +10 -11
  208. package/fesm2022/acorex-components-navbar.mjs.map +1 -1
  209. package/fesm2022/acorex-components-notification.mjs +19 -26
  210. package/fesm2022/acorex-components-notification.mjs.map +1 -1
  211. package/fesm2022/acorex-components-number-box.mjs +11 -13
  212. package/fesm2022/acorex-components-number-box.mjs.map +1 -1
  213. package/fesm2022/acorex-components-otp.mjs +13 -15
  214. package/fesm2022/acorex-components-otp.mjs.map +1 -1
  215. package/fesm2022/acorex-components-page.mjs +11 -11
  216. package/fesm2022/acorex-components-paint.mjs +33 -67
  217. package/fesm2022/acorex-components-paint.mjs.map +1 -1
  218. package/fesm2022/acorex-components-password-box.mjs +21 -51
  219. package/fesm2022/acorex-components-password-box.mjs.map +1 -1
  220. package/fesm2022/acorex-components-pdf-reader.mjs +10 -11
  221. package/fesm2022/acorex-components-pdf-reader.mjs.map +1 -1
  222. package/fesm2022/acorex-components-phone-box.mjs +17 -39
  223. package/fesm2022/acorex-components-phone-box.mjs.map +1 -1
  224. package/fesm2022/acorex-components-picker.mjs +21 -23
  225. package/fesm2022/acorex-components-picker.mjs.map +1 -1
  226. package/fesm2022/acorex-components-popover.mjs +10 -11
  227. package/fesm2022/acorex-components-popover.mjs.map +1 -1
  228. package/fesm2022/acorex-components-popup.mjs +28 -51
  229. package/fesm2022/acorex-components-popup.mjs.map +1 -1
  230. package/fesm2022/acorex-components-progress-bar.mjs +10 -11
  231. package/fesm2022/acorex-components-progress-bar.mjs.map +1 -1
  232. package/fesm2022/acorex-components-qrcode.mjs +10 -11
  233. package/fesm2022/acorex-components-qrcode.mjs.map +1 -1
  234. package/fesm2022/acorex-components-query-builder.mjs +31 -28
  235. package/fesm2022/acorex-components-query-builder.mjs.map +1 -1
  236. package/fesm2022/acorex-components-radio.mjs +11 -12
  237. package/fesm2022/acorex-components-radio.mjs.map +1 -1
  238. package/fesm2022/acorex-components-rail-navigation.mjs +19 -22
  239. package/fesm2022/acorex-components-rail-navigation.mjs.map +1 -1
  240. package/fesm2022/acorex-components-range-slider.mjs +12 -14
  241. package/fesm2022/acorex-components-range-slider.mjs.map +1 -1
  242. package/fesm2022/acorex-components-rate-picker.mjs +10 -11
  243. package/fesm2022/acorex-components-rate-picker.mjs.map +1 -1
  244. package/fesm2022/acorex-components-rest-api-generator.mjs +50 -45
  245. package/fesm2022/acorex-components-rest-api-generator.mjs.map +1 -1
  246. package/fesm2022/acorex-components-result.mjs +16 -17
  247. package/fesm2022/acorex-components-result.mjs.map +1 -1
  248. package/fesm2022/acorex-components-routing-progress.mjs +16 -17
  249. package/fesm2022/acorex-components-routing-progress.mjs.map +1 -1
  250. package/fesm2022/acorex-components-scheduler.mjs +30 -27
  251. package/fesm2022/acorex-components-scheduler.mjs.map +1 -1
  252. package/fesm2022/acorex-components-scss.mjs +4 -4
  253. package/fesm2022/acorex-components-search-box.mjs +17 -40
  254. package/fesm2022/acorex-components-search-box.mjs.map +1 -1
  255. package/fesm2022/acorex-components-select-box.mjs +31 -24
  256. package/fesm2022/acorex-components-select-box.mjs.map +1 -1
  257. package/fesm2022/acorex-components-selection-list.mjs +15 -34
  258. package/fesm2022/acorex-components-selection-list.mjs.map +1 -1
  259. package/fesm2022/acorex-components-side-menu.mjs +26 -56
  260. package/fesm2022/acorex-components-side-menu.mjs.map +1 -1
  261. package/fesm2022/acorex-components-skeleton.mjs +10 -11
  262. package/fesm2022/acorex-components-skeleton.mjs.map +1 -1
  263. package/fesm2022/acorex-components-slider.mjs +11 -12
  264. package/fesm2022/acorex-components-slider.mjs.map +1 -1
  265. package/fesm2022/acorex-components-sliding-item.mjs +19 -22
  266. package/fesm2022/acorex-components-sliding-item.mjs.map +1 -1
  267. package/fesm2022/acorex-components-step-wizard.mjs +20 -24
  268. package/fesm2022/acorex-components-step-wizard.mjs.map +1 -1
  269. package/fesm2022/acorex-components-switch.mjs +13 -15
  270. package/fesm2022/acorex-components-switch.mjs.map +1 -1
  271. package/fesm2022/acorex-components-tabs.mjs +19 -22
  272. package/fesm2022/acorex-components-tabs.mjs.map +1 -1
  273. package/fesm2022/acorex-components-tag.mjs +10 -11
  274. package/fesm2022/acorex-components-tag.mjs.map +1 -1
  275. package/fesm2022/acorex-components-text-area.mjs +12 -24
  276. package/fesm2022/acorex-components-text-area.mjs.map +1 -1
  277. package/fesm2022/acorex-components-text-box.mjs +17 -47
  278. package/fesm2022/acorex-components-text-box.mjs.map +1 -1
  279. package/fesm2022/acorex-components-time-line.mjs +16 -18
  280. package/fesm2022/acorex-components-time-line.mjs.map +1 -1
  281. package/fesm2022/acorex-components-toast.mjs +16 -20
  282. package/fesm2022/acorex-components-toast.mjs.map +1 -1
  283. package/fesm2022/acorex-components-toolbar.mjs +10 -12
  284. package/fesm2022/acorex-components-toolbar.mjs.map +1 -1
  285. package/fesm2022/acorex-components-tooltip.mjs +14 -18
  286. package/fesm2022/acorex-components-tooltip.mjs.map +1 -1
  287. package/fesm2022/acorex-components-tree-view.mjs +28 -28
  288. package/fesm2022/acorex-components-tree-view.mjs.map +1 -1
  289. package/fesm2022/acorex-components-uploader.mjs +42 -49
  290. package/fesm2022/acorex-components-uploader.mjs.map +1 -1
  291. package/fesm2022/acorex-components-video-player.mjs +10 -11
  292. package/fesm2022/acorex-components-video-player.mjs.map +1 -1
  293. package/fesm2022/acorex-components-wysiwyg.mjs +65 -71
  294. package/fesm2022/acorex-components-wysiwyg.mjs.map +1 -1
  295. package/file-explorer/lib/file-explorer-container/file-explorer-container.component.d.ts +1 -1
  296. package/file-explorer/lib/file-explorer-header/file-explorer-header.component.d.ts +1 -1
  297. package/file-explorer/lib/file-explorer-item/file-explorer-item.component.d.ts +1 -1
  298. package/file-explorer/lib/file-explorer-tree/file-explorer-tree.component.d.ts +1 -1
  299. package/file-explorer/lib/file-explorer-view/file-explorer-view.component.d.ts +1 -1
  300. package/file-explorer/lib/file-explorer.module.d.ts +14 -14
  301. package/form/lib/form-field.component.d.ts +1 -1
  302. package/form/lib/form.component.d.ts +1 -1
  303. package/form/lib/form.module.d.ts +11 -11
  304. package/form/lib/validation-rule.directive.d.ts +1 -1
  305. package/form/lib/validation-summary.component.d.ts +1 -1
  306. package/grid-layout-builder/lib/grid-layout-builder.module.d.ts +5 -5
  307. package/grid-layout-builder/lib/grid-layout-container.component.d.ts +1 -1
  308. package/grid-layout-builder/lib/grid-layout-widget.component.d.ts +1 -1
  309. package/grid-layout-builder/lib/grid-layout-widget.directive.d.ts +1 -1
  310. package/image/lib/image.component.d.ts +1 -1
  311. package/image/lib/image.module.d.ts +3 -3
  312. package/image-editor/lib/image-editor-container/image-editor-container.component.d.ts +1 -1
  313. package/image-editor/lib/image-editor-tools/image-editor-color-picker/image-editor-color-picker.component.d.ts +1 -1
  314. package/image-editor/lib/image-editor-tools/image-editor-crop/image-editor-crop.component.d.ts +1 -1
  315. package/image-editor/lib/image-editor-tools/image-editor-pen-mode-changer/image-editor-pen-mode-changer.component.d.ts +1 -1
  316. package/image-editor/lib/image-editor-view/image-editor-view.component.d.ts +1 -1
  317. package/image-editor/lib/image-editor.module.d.ts +16 -16
  318. package/json-viewer/lib/json-viewer/json-viewer.component.d.ts +1 -1
  319. package/json-viewer/lib/json-viewer.module.d.ts +5 -5
  320. package/kbd/lib/kbd-item/kbd-item.component.d.ts +1 -1
  321. package/kbd/lib/kbd.component.d.ts +1 -1
  322. package/kbd/lib/kbd.module.d.ts +4 -4
  323. package/label/lib/label.component.d.ts +1 -1
  324. package/label/lib/label.module.d.ts +3 -3
  325. package/list/lib/list.component.d.ts +1 -1
  326. package/list/lib/list.module.d.ts +5 -5
  327. package/loading/lib/loading-spinner.component.d.ts +1 -1
  328. package/loading/lib/loading.component.d.ts +1 -1
  329. package/loading/lib/loading.directive.d.ts +1 -1
  330. package/loading/lib/loading.module.d.ts +8 -8
  331. package/loading-dialog/lib/loading-dialog.component.d.ts +18 -18
  332. package/loading-dialog/lib/loading-dialog.module.d.ts +9 -9
  333. package/map/lib/map.component.d.ts +1 -1
  334. package/map/lib/map.module.d.ts +3 -3
  335. package/media-viewer/lib/media-viewer-container/media-viewer-container.component.d.ts +1 -1
  336. package/media-viewer/lib/media-viewer-slider/media-viewer-slider.component.d.ts +1 -1
  337. package/media-viewer/lib/media-viewer-tools/audio-player/audio-player.component.d.ts +1 -1
  338. package/media-viewer/lib/media-viewer-tools/file-info/file-info.component.d.ts +1 -1
  339. package/media-viewer/lib/media-viewer-tools/image-viewer/image-viewer.component.d.ts +1 -1
  340. package/media-viewer/lib/media-viewer-tools/pdf-reader/pdf-reader.component.d.ts +1 -1
  341. package/media-viewer/lib/media-viewer-tools/video-player/video-player.component.d.ts +1 -1
  342. package/media-viewer/lib/media-viewer.module.d.ts +18 -18
  343. package/menu/lib/context-menu.component.d.ts +1 -1
  344. package/menu/lib/menu-item.component.d.ts +1 -1
  345. package/menu/lib/menu.component.d.ts +1 -1
  346. package/menu/lib/menu.module.d.ts +10 -10
  347. package/navbar/lib/navbar.component.d.ts +1 -1
  348. package/navbar/lib/navbar.module.d.ts +3 -3
  349. package/notification/lib/notification.component.d.ts +1 -1
  350. package/notification/lib/notification.module.d.ts +9 -9
  351. package/number-box/lib/number-box.component.d.ts +1 -1
  352. package/number-box/lib/number-box.module.d.ts +7 -7
  353. package/otp/lib/otp.component.d.ts +1 -1
  354. package/otp/lib/otp.module.d.ts +4 -4
  355. package/package.json +1 -1
  356. package/paint/lib/paint/paint-container/paint-container.component.d.ts +1 -1
  357. package/paint/lib/paint/paint-tools/paint-color-picker/paint-color-picker.component.d.ts +1 -1
  358. package/paint/lib/paint/paint-tools/paint-pen-mode-changer/paint-pen-mode-changer.component.d.ts +1 -1
  359. package/paint/lib/paint/paint-view/paint-view.component.d.ts +1 -1
  360. package/paint/lib/paint.module.d.ts +13 -13
  361. package/password-box/lib/password-box.component.d.ts +1 -1
  362. package/password-box/lib/password-box.module.d.ts +10 -10
  363. package/password-box/lib/password-strength-validation/password-strength-validation.component.d.ts +1 -1
  364. package/pdf-reader/lib/pdf-reader/pdf-reader.component.d.ts +1 -1
  365. package/pdf-reader/lib/pdf-reader.module.d.ts +1 -1
  366. package/phone-box/lib/phone-box.component.d.ts +1 -1
  367. package/phone-box/lib/phone-box.module.d.ts +10 -10
  368. package/picker/lib/picker-container/picker-container.component.d.ts +1 -1
  369. package/picker/lib/picker-items/picker-items.component.d.ts +1 -1
  370. package/picker/lib/picker-title/picker-title.component.d.ts +1 -1
  371. package/picker/lib/picker.module.d.ts +6 -6
  372. package/popover/lib/popover.component.d.ts +1 -1
  373. package/popover/lib/popover.module.d.ts +3 -3
  374. package/popup/lib/popup.component.d.ts +9 -9
  375. package/popup/lib/popup.module.d.ts +10 -10
  376. package/progress-bar/lib/progress-bar.component.d.ts +1 -1
  377. package/progress-bar/lib/progress-bar.module.d.ts +3 -3
  378. package/qrcode/lib/qrcode.component.d.ts +1 -1
  379. package/qrcode/lib/qrcode.module.d.ts +3 -3
  380. package/query-builder/lib/query-builder.component.d.ts +1 -1
  381. package/query-builder/lib/query-builder.module.d.ts +10 -10
  382. package/radio/lib/radio.component.d.ts +1 -1
  383. package/radio/lib/radio.module.d.ts +4 -4
  384. package/rail-navigation/lib/rail-navigation-item/rail-navigation-item.component.d.ts +1 -1
  385. package/rail-navigation/lib/rail-navigation.component.d.ts +1 -1
  386. package/rail-navigation/lib/rail-navigation.module.d.ts +5 -5
  387. package/range-slider/lib/range-slider.component.d.ts +1 -1
  388. package/range-slider/lib/range-slider.module.d.ts +3 -3
  389. package/rate-picker/lib/rate-picker.component.d.ts +1 -1
  390. package/rate-picker/lib/rate-picker.module.d.ts +3 -3
  391. package/rest-api-generator/lib/query-params/query-params.component.d.ts +1 -1
  392. package/rest-api-generator/lib/request-body/request-body.component.d.ts +1 -1
  393. package/rest-api-generator/lib/request-headers/request-headers.component.d.ts +1 -1
  394. package/rest-api-generator/lib/rest-api-auth/rest-api-auth.component.d.ts +1 -1
  395. package/rest-api-generator/lib/rest-api-generator.component.d.ts +1 -1
  396. package/rest-api-generator/lib/rest-api-generator.module.d.ts +14 -14
  397. package/result/lib/result.component.d.ts +7 -7
  398. package/result/lib/result.module.d.ts +3 -3
  399. package/routing-progress/lib/routing-progress.component.d.ts +7 -7
  400. package/routing-progress/lib/routing-progress.module.d.ts +3 -3
  401. package/scheduler/lib/scheduler-month-view.component.d.ts +1 -1
  402. package/scheduler/lib/scheduler-week-view.component.d.ts +1 -1
  403. package/scheduler/lib/scheduler.component.d.ts +1 -1
  404. package/scheduler/lib/scheduler.module.d.ts +9 -9
  405. package/search-box/lib/search-box.component.d.ts +1 -1
  406. package/search-box/lib/search-box.module.d.ts +9 -9
  407. package/select-box/lib/select-box.component.d.ts +1 -1
  408. package/select-box/lib/select-box.module.d.ts +15 -15
  409. package/selection-list/lib/selection-list.component.d.ts +1 -1
  410. package/selection-list/lib/selection-list.module.d.ts +8 -8
  411. package/side-menu/lib/side-menu-item/side-menu-item.component.d.ts +1 -1
  412. package/side-menu/lib/side-menu.component.d.ts +1 -1
  413. package/side-menu/lib/side-menu.directive.d.ts +1 -1
  414. package/side-menu/lib/side-menu.module.d.ts +10 -10
  415. package/skeleton/lib/skeleton.component.d.ts +1 -1
  416. package/skeleton/lib/skeleton.module.d.ts +3 -3
  417. package/slider/lib/slider.component.d.ts +1 -1
  418. package/slider/lib/slider.module.d.ts +5 -5
  419. package/sliding-item/lib/sliding-item/sliding-item.component.d.ts +1 -1
  420. package/sliding-item/lib/sliding-item-prefix/sliding-item-prefix.component.d.ts +1 -1
  421. package/sliding-item/lib/sliding-item-suffix/sliding-item-suffix.component.d.ts +1 -1
  422. package/sliding-item/lib/sliding-item.module.d.ts +6 -6
  423. package/step-wizard/lib/step-wizard-item/step-wizard-item.component.d.ts +1 -1
  424. package/step-wizard/lib/step-wizard.component.d.ts +1 -1
  425. package/step-wizard/lib/step-wizard.directive.d.ts +1 -1
  426. package/step-wizard/lib/step-wizard.module.d.ts +8 -8
  427. package/switch/lib/switch-content.component.d.ts +1 -1
  428. package/switch/lib/switch.component.d.ts +1 -1
  429. package/switch/lib/switch.module.d.ts +5 -5
  430. package/tabs/lib/tab-content.directive.d.ts +1 -1
  431. package/tabs/lib/tab-item.component.d.ts +1 -1
  432. package/tabs/lib/tabs.component.d.ts +1 -1
  433. package/tabs/lib/tabs.module.d.ts +7 -7
  434. package/tag/lib/tag.component.d.ts +1 -1
  435. package/tag/lib/tag.module.d.ts +3 -3
  436. package/text-area/lib/text-area.component.d.ts +1 -1
  437. package/text-area/lib/text-area.module.d.ts +4 -4
  438. package/text-box/lib/mask-options.directive.d.ts +1 -1
  439. package/text-box/lib/text-box.component.d.ts +1 -1
  440. package/text-box/lib/text-box.module.d.ts +8 -8
  441. package/time-line/lib/time-line-item.component.d.ts +1 -1
  442. package/time-line/lib/time-line.component.d.ts +1 -1
  443. package/time-line/lib/time-line.module.d.ts +4 -4
  444. package/toast/lib/toast.component.d.ts +1 -1
  445. package/toast/lib/toast.module.d.ts +8 -8
  446. package/toolbar/lib/toolbar.component.d.ts +1 -1
  447. package/toolbar/lib/toolbar.module.d.ts +3 -3
  448. package/tooltip/lib/tooltip.component.d.ts +1 -1
  449. package/tooltip/lib/tooltip.directive.d.ts +1 -1
  450. package/tooltip/lib/tooltip.module.d.ts +5 -5
  451. package/tree-view/lib/tree-view-item.component.d.ts +1 -1
  452. package/tree-view/lib/tree-view.component.d.ts +1 -1
  453. package/tree-view/lib/tree-view.component.module.d.ts +11 -11
  454. package/uploader/lib/uploader-browse-handle.directive.d.ts +1 -1
  455. package/uploader/lib/uploader-dialog-container/uploader-dialog-container.component.d.ts +1 -1
  456. package/uploader/lib/uploader-drop-zone/uploader-drop-zone.component.d.ts +1 -1
  457. package/uploader/lib/uploader-list/uploader-list.component.d.ts +1 -1
  458. package/uploader/lib/uploader-zone.directive.d.ts +1 -1
  459. package/uploader/lib/uploader.module.d.ts +16 -16
  460. package/video-player/lib/video-player/video-player.component.d.ts +1 -1
  461. package/video-player/lib/video-player.module.d.ts +1 -1
  462. package/wysiwyg/lib/wysiwyg/wysiwyg-container/wysiwyg-container.component.d.ts +1 -1
  463. package/wysiwyg/lib/wysiwyg/wysiwyg-tools/wysiwyg-alignment/wysiwyg-alignment.component.d.ts +1 -1
  464. package/wysiwyg/lib/wysiwyg/wysiwyg-tools/wysiwyg-colors/wysiwyg-colors.component.d.ts +1 -1
  465. package/wysiwyg/lib/wysiwyg/wysiwyg-tools/wysiwyg-font-style/wysiwyg-font-style.component.d.ts +1 -1
  466. package/wysiwyg/lib/wysiwyg/wysiwyg-tools/wysiwyg-history/wysiwyg-history.component.d.ts +1 -1
  467. package/wysiwyg/lib/wysiwyg/wysiwyg-tools/wysiwyg-insert/wysiwyg-insert.component.d.ts +1 -1
  468. package/wysiwyg/lib/wysiwyg/wysiwyg-tools/wysiwyg-list/wysiwyg-list.component.d.ts +1 -1
  469. package/wysiwyg/lib/wysiwyg/wysiwyg-view/wysiwyg-view.component.d.ts +1 -1
  470. package/wysiwyg/lib/wysiwyg.module.d.ts +16 -16
@@ -1,7 +1,7 @@
1
1
  import * as i1 from '@acorex/components/common';
2
2
  import { MXColorComponent, AXRippleDirective } from '@acorex/components/common';
3
3
  import * as i0 from '@angular/core';
4
- import { model, HostBinding, ViewEncapsulation, ChangeDetectionStrategy, Component, NgModule } from '@angular/core';
4
+ import { model, Component, ChangeDetectionStrategy, ViewEncapsulation, HostBinding, NgModule } from '@angular/core';
5
5
  import { CommonModule } from '@angular/common';
6
6
 
7
7
  /**
@@ -27,27 +27,26 @@ class AXChipsComponent extends MXColorComponent {
27
27
  get __hostClass() {
28
28
  return `ax-${this.color} ax-${this.look()} ${this.size()}`;
29
29
  }
30
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXChipsComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
31
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.0.3", type: AXChipsComponent, isStandalone: false, selector: "ax-chips", inputs: { tabIndex: { classPropertyName: "tabIndex", publicName: "tabIndex", isSignal: false, isRequired: false, transformFunction: null }, color: { classPropertyName: "color", publicName: "color", isSignal: false, isRequired: false, transformFunction: null }, text: { classPropertyName: "text", publicName: "text", isSignal: true, isRequired: false, transformFunction: null }, look: { classPropertyName: "look", publicName: "look", isSignal: true, isRequired: false, transformFunction: null }, size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { text: "textChange", look: "lookChange", size: "sizeChange" }, host: { properties: { "class": "this.__hostClass" } }, usesInheritance: true, hostDirectives: [{ directive: i1.AXRippleDirective }], ngImport: i0, template: "<ng-content select=\"ax-prefix\"></ng-content>\n@if(text()){\n<div class=\"ax-chips-text\">{{ text() }}</div>\n}\n<ng-content select=\"ax-suffix\"></ng-content>", styles: [".ax-sm ax-chips,ax-chips.ax-sm{--ax-comp-chips-gap: .375rem;--ax-comp-chips-padding-y: 0;--ax-comp-chips-padding-x: .5rem;--ax-comp-chips-font-size: .75rem;--ax-comp-chips-decorator-font-size: .75rem}.ax-md ax-chips,ax-chips{--ax-comp-chips-gap: .5rem;--ax-comp-chips-padding-y: .125rem;--ax-comp-chips-padding-x: .75rem;--ax-comp-chips-font-size: .875rem;--ax-comp-chips-decorator-font-size: .938rem}.ax-lg ax-chips,ax-chips.ax-lg{--ax-comp-chips-gap: .75rem;--ax-comp-chips-padding-y: .25rem;--ax-comp-chips-padding-x: 1rem;--ax-comp-chips-font-size: .875rem;--ax-comp-chips-decorator-font-size: .938rem}ax-chips.ax-outline.ax-default{--ax-comp-chips-border-width: 1px;--ax-comp-ripple-bg-color: rgba(var(--ax-sys-color-on-lightest-surface), .3);--ax-comp-chips-text-color: var(--ax-sys-color-on-lightest-surface);--ax-comp-chips-border-color: var(--ax-sys-color-border-lightest-surface);--ax-comp-chips-hover-text-color: var(--ax-sys-color-on-lighter-surface);--ax-comp-chips-hover-border-color: var(--ax-sys-color-border-lighter-surface)}.ax-dark ax-chips.ax-outline.ax-default{--ax-comp-ripple-bg-color: rgba(var(--ax-sys-color-on-darkest-surface), .3);--ax-comp-chips-text-color: var(--ax-sys-color-on-darkest-surface);--ax-comp-chips-border-color: var(--ax-sys-color-border-darkest-surface);--ax-comp-chips-hover-text-color: var(--ax-sys-color-on-darker-surface);--ax-comp-chips-hover-border-color: var(--ax-sys-color-border-darker-surface)}ax-chips.ax-outline.ax-primary{--ax-comp-chips-border-width: 1px;--ax-comp-ripple-bg-color: rgba(var(--ax-sys-color-primary-surface), .3);--ax-comp-chips-text-color: var(--ax-sys-color-primary-surface);--ax-comp-chips-border-color: var(--ax-sys-color-primary-surface);--ax-comp-chips-hover-text-color: var(--ax-sys-color-primary-dark-surface);--ax-comp-chips-hover-border-color: var(--ax-sys-color-primary-dark-surface)}ax-chips.ax-outline.ax-secondary{--ax-comp-chips-border-width: 1px;--ax-comp-ripple-bg-color: rgba(var(--ax-sys-color-secondary-surface), .3);--ax-comp-chips-text-color: var(--ax-sys-color-secondary-surface);--ax-comp-chips-border-color: var(--ax-sys-color-secondary-surface);--ax-comp-chips-hover-text-color: var(--ax-sys-color-secondary-dark-surface);--ax-comp-chips-hover-border-color: var(--ax-sys-color-secondary-dark-surface)}ax-chips.ax-outline.ax-success{--ax-comp-chips-border-width: 1px;--ax-comp-ripple-bg-color: rgba(var(--ax-sys-color-success-surface), .3);--ax-comp-chips-text-color: var(--ax-sys-color-success-surface);--ax-comp-chips-border-color: var(--ax-sys-color-success-surface);--ax-comp-chips-hover-text-color: var(--ax-sys-color-success-dark-surface);--ax-comp-chips-hover-border-color: var(--ax-sys-color-success-dark-surface)}ax-chips.ax-outline.ax-warning{--ax-comp-chips-border-width: 1px;--ax-comp-ripple-bg-color: rgba(var(--ax-sys-color-warning-surface), .3);--ax-comp-chips-text-color: var(--ax-sys-color-warning-surface);--ax-comp-chips-border-color: var(--ax-sys-color-warning-surface);--ax-comp-chips-hover-text-color: var(--ax-sys-color-warning-dark-surface);--ax-comp-chips-hover-border-color: var(--ax-sys-color-warning-dark-surface)}ax-chips.ax-outline.ax-danger{--ax-comp-chips-border-width: 1px;--ax-comp-ripple-bg-color: rgba(var(--ax-sys-color-danger-surface), .3);--ax-comp-chips-text-color: var(--ax-sys-color-danger-surface);--ax-comp-chips-border-color: var(--ax-sys-color-danger-surface);--ax-comp-chips-hover-text-color: var(--ax-sys-color-danger-dark-surface);--ax-comp-chips-hover-border-color: var(--ax-sys-color-danger-dark-surface)}ax-chips.ax-solid.ax-default{--ax-comp-chips-border-width: 1px;--ax-comp-ripple-bg-color: rgba(var(--ax-sys-color-on-lightest-surface), .3);--ax-comp-chips-bg-color: var(--ax-sys-color-lightest-surface);--ax-comp-chips-text-color: var(--ax-sys-color-on-lightest-surface);--ax-comp-chips-border-color: var(--ax-sys-color-border-lightest-surface);--ax-comp-chips-hover-bg-color: var(--ax-sys-color-lighter-surface);--ax-comp-chips-hover-text-color: var(--ax-sys-color-on-lighter-surface);--ax-comp-chips-hover-border-color: var(--ax-sys-color-border-lighter-surface)}.ax-dark ax-chips.ax-solid.ax-default{--ax-comp-ripple-bg-color: rgba(var(--ax-sys-color-on-darkest-surface), .3);--ax-comp-chips-bg-color: var(--ax-sys-color-darkest-surface);--ax-comp-chips-text-color: var(--ax-sys-color-on-darkest-surface);--ax-comp-chips-border-color: var(--ax-sys-color-border-darkest-surface);--ax-comp-chips-hover-bg-color: var(--ax-sys-color-darker-surface);--ax-comp-chips-hover-text-color: var(--ax-sys-color-on-darker-surface);--ax-comp-chips-hover-border-color: var(--ax-sys-color-border-darker-surface)}ax-chips.ax-solid.ax-primary{--ax-comp-chips-bg-color: var(--ax-sys-color-primary-surface);--ax-comp-chips-text-color: var(--ax-sys-color-on-primary-surface);--ax-comp-chips-hover-bg-color: var(--ax-sys-color-primary-dark-surface);--ax-comp-chips-hover-text-color: var(--ax-sys-color-on-primary-dark-surface)}ax-chips.ax-solid.ax-secondary{--ax-comp-chips-bg-color: var(--ax-sys-color-secondary-surface);--ax-comp-chips-text-color: var(--ax-sys-color-on-secondary-surface);--ax-comp-chips-hover-bg-color: var(--ax-sys-color-secondary-dark-surface);--ax-comp-chips-hover-text-color: var(--ax-sys-color-on-secondary-dark-surface)}ax-chips.ax-solid.ax-success{--ax-comp-chips-bg-color: var(--ax-sys-color-success-surface);--ax-comp-chips-text-color: var(--ax-sys-color-on-success-surface);--ax-comp-chips-hover-bg-color: var(--ax-sys-color-success-dark-surface);--ax-comp-chips-hover-text-color: var(--ax-sys-color-on-success-dark-surface)}ax-chips.ax-solid.ax-warning{--ax-comp-chips-bg-color: var(--ax-sys-color-warning-surface);--ax-comp-chips-text-color: var(--ax-sys-color-on-warning-surface);--ax-comp-chips-hover-bg-color: var(--ax-sys-color-warning-dark-surface);--ax-comp-chips-hover-text-color: var(--ax-sys-color-on-warning-dark-surface)}ax-chips.ax-solid.ax-danger{--ax-comp-chips-bg-color: var(--ax-sys-color-danger-surface);--ax-comp-chips-text-color: var(--ax-sys-color-on-danger-surface);--ax-comp-chips-hover-bg-color: var(--ax-sys-color-danger-dark-surface);--ax-comp-chips-hover-text-color: var(--ax-sys-color-on-danger-dark-surface)}ax-chips.ax-twotone.ax-default{--ax-comp-ripple-bg-color: rgba(var(--ax-sys-color-on-lightest-surface), .3);--ax-comp-chips-bg-color: var(--ax-sys-color-lighter-surface);--ax-comp-chips-text-color: var(--ax-sys-color-on-lighter-surface);--ax-comp-chips-hover-bg-color: var(--ax-sys-color-light-surface);--ax-comp-chips-hover-text-color: var(--ax-sys-color-on-light-surface)}.ax-dark ax-chips.ax-twotone.ax-default{--ax-comp-ripple-bg-color: rgba(var(--ax-sys-color-on-darkest-surface), .3);--ax-comp-chips-bg-color: var(--ax-sys-color-darker-surface);--ax-comp-chips-text-color: var(--ax-sys-color-on-darker-surface);--ax-comp-chips-hover-bg-color: var(--ax-sys-color-dark-surface);--ax-comp-chips-hover-text-color: var(--ax-sys-color-on-dark-surface)}ax-chips.ax-twotone.ax-primary{--ax-comp-chips-bg-color: var(--ax-sys-color-primary-lightest-surface);--ax-comp-chips-text-color: var(--ax-sys-color-on-primary-lightest-surface);--ax-comp-chips-hover-bg-color: var(--ax-sys-color-primary-lighter-surface);--ax-comp-chips-hover-text-color: var(--ax-sys-color-on-primary-lighter-surface)}ax-chips.ax-twotone.ax-secondary{--ax-comp-chips-bg-color: var(--ax-sys-color-secondary-lightest-surface);--ax-comp-chips-text-color: var(--ax-sys-color-on-secondary-lightest-surface);--ax-comp-chips-hover-bg-color: var(--ax-sys-color-secondary-lighter-surface);--ax-comp-chips-hover-text-color: var(--ax-sys-color-on-secondary-lighter-surface)}ax-chips.ax-twotone.ax-success{--ax-comp-chips-bg-color: var(--ax-sys-color-success-lightest-surface);--ax-comp-chips-text-color: var(--ax-sys-color-on-success-lightest-surface);--ax-comp-chips-hover-bg-color: var(--ax-sys-color-success-lighter-surface);--ax-comp-chips-hover-text-color: var(--ax-sys-color-on-success-lighter-surface)}ax-chips.ax-twotone.ax-warning{--ax-comp-chips-bg-color: var(--ax-sys-color-warning-lightest-surface);--ax-comp-chips-text-color: var(--ax-sys-color-on-warning-lightest-surface);--ax-comp-chips-hover-bg-color: var(--ax-sys-color-warning-lighter-surface);--ax-comp-chips-hover-text-color: var(--ax-sys-color-on-warning-lighter-surface)}ax-chips.ax-twotone.ax-danger{--ax-comp-chips-bg-color: var(--ax-sys-color-danger-lightest-surface);--ax-comp-chips-text-color: var(--ax-sys-color-on-danger-lightest-surface);--ax-comp-chips-hover-bg-color: var(--ax-sys-color-danger-lighter-surface);--ax-comp-chips-hover-text-color: var(--ax-sys-color-on-danger-lighter-surface)}ax-chips{display:flex;cursor:pointer;-webkit-user-select:none;user-select:none;position:relative;align-items:center;justify-content:center;gap:var(--ax-comp-chips-gap);font-size:var(--ax-comp-chips-font-size);color:rgba(var(--ax-comp-chips-text-color));padding-left:var(--ax-comp-chips-padding-x);padding-right:var(--ax-comp-chips-padding-x);padding-top:var(--ax-comp-chips-padding-y);padding-bottom:var(--ax-comp-chips-padding-y);line-height:var(--ax-comp-chips-line-height, 1.25rem);font-weight:var(--ax-comp-chips-font-weight, 500);border-radius:var(--ax-comp-chips-border-radius, 9999px);border-width:var(--ax-comp-chips-border-width, 0);border-color:rgba(var(--ax-comp-chips-border-color));background-color:rgba(var(--ax-comp-chips-bg-color));transition-duration:var(--ax-sys-transition-duration);transition-timing-function:var(--ax-sys-transition-timing-function);transition-property:color,background-color,border-color,text-decoration-color,fill,stroke}ax-chips:focus-visible{outline-width:var(--ax-comp-chips-focuse-outline-width, 2px);outline-color:var(--ax-comp-chips-focuse-outline-color, rgba(0, 0, 0, .5));outline-offset:var(--ax-comp-chips-focuse-outline-offset, 2px)}ax-chips:hover{color:rgba(var(--ax-comp-chips-hover-text-color, var(--ax-comp-chips-text-color)));background-color:rgba(var(--ax-comp-chips-hover-bg-color, var(--ax-comp-chips-bg-color)));border-color:rgba(var(--ax-comp-chips-hover-border-color, var(--ax-comp-chips-border-color)))}ax-chips .ax-chips-text{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}ax-chips ax-prefix,ax-chips ax-suffix{display:flex;align-items:center;font-size:var(--ax-comp-chips-decorator-font-size);line-height:var(--ax-comp-chips-decorator-line-height, 1.75rem)}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
30
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.7", ngImport: i0, type: AXChipsComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
31
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.1.7", type: AXChipsComponent, isStandalone: true, selector: "ax-chips", inputs: { tabIndex: { classPropertyName: "tabIndex", publicName: "tabIndex", isSignal: false, isRequired: false, transformFunction: null }, color: { classPropertyName: "color", publicName: "color", isSignal: false, isRequired: false, transformFunction: null }, text: { classPropertyName: "text", publicName: "text", isSignal: true, isRequired: false, transformFunction: null }, look: { classPropertyName: "look", publicName: "look", isSignal: true, isRequired: false, transformFunction: null }, size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { text: "textChange", look: "lookChange", size: "sizeChange" }, host: { properties: { "class": "this.__hostClass" } }, usesInheritance: true, hostDirectives: [{ directive: i1.AXRippleDirective }], ngImport: i0, template: "<ng-content select=\"ax-prefix\"></ng-content>\n@if(text()){\n<div class=\"ax-chips-text\">{{ text() }}</div>\n}\n<ng-content select=\"ax-suffix\"></ng-content>", styles: [".ax-sm ax-chips,ax-chips.ax-sm{--ax-comp-chips-gap: .375rem;--ax-comp-chips-padding-y: 0;--ax-comp-chips-padding-x: .5rem;--ax-comp-chips-font-size: .75rem;--ax-comp-chips-decorator-font-size: .75rem}.ax-md ax-chips,ax-chips{--ax-comp-chips-gap: .5rem;--ax-comp-chips-padding-y: .125rem;--ax-comp-chips-padding-x: .75rem;--ax-comp-chips-font-size: .875rem;--ax-comp-chips-decorator-font-size: .938rem}.ax-lg ax-chips,ax-chips.ax-lg{--ax-comp-chips-gap: .75rem;--ax-comp-chips-padding-y: .25rem;--ax-comp-chips-padding-x: 1rem;--ax-comp-chips-font-size: .875rem;--ax-comp-chips-decorator-font-size: .938rem}ax-chips.ax-outline.ax-default{--ax-comp-chips-border-width: 1px;--ax-comp-ripple-bg-color: rgba(var(--ax-sys-color-on-lightest-surface), .3);--ax-comp-chips-text-color: var(--ax-sys-color-on-lightest-surface);--ax-comp-chips-border-color: var(--ax-sys-color-border-lightest-surface);--ax-comp-chips-hover-text-color: var(--ax-sys-color-on-lighter-surface);--ax-comp-chips-hover-border-color: var(--ax-sys-color-border-lighter-surface)}.ax-dark ax-chips.ax-outline.ax-default{--ax-comp-ripple-bg-color: rgba(var(--ax-sys-color-on-darkest-surface), .3);--ax-comp-chips-text-color: var(--ax-sys-color-on-darkest-surface);--ax-comp-chips-border-color: var(--ax-sys-color-border-darkest-surface);--ax-comp-chips-hover-text-color: var(--ax-sys-color-on-darker-surface);--ax-comp-chips-hover-border-color: var(--ax-sys-color-border-darker-surface)}ax-chips.ax-outline.ax-primary{--ax-comp-chips-border-width: 1px;--ax-comp-ripple-bg-color: rgba(var(--ax-sys-color-primary-surface), .3);--ax-comp-chips-text-color: var(--ax-sys-color-primary-surface);--ax-comp-chips-border-color: var(--ax-sys-color-primary-surface);--ax-comp-chips-hover-text-color: var(--ax-sys-color-primary-dark-surface);--ax-comp-chips-hover-border-color: var(--ax-sys-color-primary-dark-surface)}ax-chips.ax-outline.ax-secondary{--ax-comp-chips-border-width: 1px;--ax-comp-ripple-bg-color: rgba(var(--ax-sys-color-secondary-surface), .3);--ax-comp-chips-text-color: var(--ax-sys-color-secondary-surface);--ax-comp-chips-border-color: var(--ax-sys-color-secondary-surface);--ax-comp-chips-hover-text-color: var(--ax-sys-color-secondary-dark-surface);--ax-comp-chips-hover-border-color: var(--ax-sys-color-secondary-dark-surface)}ax-chips.ax-outline.ax-success{--ax-comp-chips-border-width: 1px;--ax-comp-ripple-bg-color: rgba(var(--ax-sys-color-success-surface), .3);--ax-comp-chips-text-color: var(--ax-sys-color-success-surface);--ax-comp-chips-border-color: var(--ax-sys-color-success-surface);--ax-comp-chips-hover-text-color: var(--ax-sys-color-success-dark-surface);--ax-comp-chips-hover-border-color: var(--ax-sys-color-success-dark-surface)}ax-chips.ax-outline.ax-warning{--ax-comp-chips-border-width: 1px;--ax-comp-ripple-bg-color: rgba(var(--ax-sys-color-warning-surface), .3);--ax-comp-chips-text-color: var(--ax-sys-color-warning-surface);--ax-comp-chips-border-color: var(--ax-sys-color-warning-surface);--ax-comp-chips-hover-text-color: var(--ax-sys-color-warning-dark-surface);--ax-comp-chips-hover-border-color: var(--ax-sys-color-warning-dark-surface)}ax-chips.ax-outline.ax-danger{--ax-comp-chips-border-width: 1px;--ax-comp-ripple-bg-color: rgba(var(--ax-sys-color-danger-surface), .3);--ax-comp-chips-text-color: var(--ax-sys-color-danger-surface);--ax-comp-chips-border-color: var(--ax-sys-color-danger-surface);--ax-comp-chips-hover-text-color: var(--ax-sys-color-danger-dark-surface);--ax-comp-chips-hover-border-color: var(--ax-sys-color-danger-dark-surface)}ax-chips.ax-solid.ax-default{--ax-comp-chips-border-width: 1px;--ax-comp-ripple-bg-color: rgba(var(--ax-sys-color-on-lightest-surface), .3);--ax-comp-chips-bg-color: var(--ax-sys-color-lightest-surface);--ax-comp-chips-text-color: var(--ax-sys-color-on-lightest-surface);--ax-comp-chips-border-color: var(--ax-sys-color-border-lightest-surface);--ax-comp-chips-hover-bg-color: var(--ax-sys-color-lighter-surface);--ax-comp-chips-hover-text-color: var(--ax-sys-color-on-lighter-surface);--ax-comp-chips-hover-border-color: var(--ax-sys-color-border-lighter-surface)}.ax-dark ax-chips.ax-solid.ax-default{--ax-comp-ripple-bg-color: rgba(var(--ax-sys-color-on-darkest-surface), .3);--ax-comp-chips-bg-color: var(--ax-sys-color-darkest-surface);--ax-comp-chips-text-color: var(--ax-sys-color-on-darkest-surface);--ax-comp-chips-border-color: var(--ax-sys-color-border-darkest-surface);--ax-comp-chips-hover-bg-color: var(--ax-sys-color-darker-surface);--ax-comp-chips-hover-text-color: var(--ax-sys-color-on-darker-surface);--ax-comp-chips-hover-border-color: var(--ax-sys-color-border-darker-surface)}ax-chips.ax-solid.ax-primary{--ax-comp-chips-bg-color: var(--ax-sys-color-primary-surface);--ax-comp-chips-text-color: var(--ax-sys-color-on-primary-surface);--ax-comp-chips-hover-bg-color: var(--ax-sys-color-primary-dark-surface);--ax-comp-chips-hover-text-color: var(--ax-sys-color-on-primary-dark-surface)}ax-chips.ax-solid.ax-secondary{--ax-comp-chips-bg-color: var(--ax-sys-color-secondary-surface);--ax-comp-chips-text-color: var(--ax-sys-color-on-secondary-surface);--ax-comp-chips-hover-bg-color: var(--ax-sys-color-secondary-dark-surface);--ax-comp-chips-hover-text-color: var(--ax-sys-color-on-secondary-dark-surface)}ax-chips.ax-solid.ax-success{--ax-comp-chips-bg-color: var(--ax-sys-color-success-surface);--ax-comp-chips-text-color: var(--ax-sys-color-on-success-surface);--ax-comp-chips-hover-bg-color: var(--ax-sys-color-success-dark-surface);--ax-comp-chips-hover-text-color: var(--ax-sys-color-on-success-dark-surface)}ax-chips.ax-solid.ax-warning{--ax-comp-chips-bg-color: var(--ax-sys-color-warning-surface);--ax-comp-chips-text-color: var(--ax-sys-color-on-warning-surface);--ax-comp-chips-hover-bg-color: var(--ax-sys-color-warning-dark-surface);--ax-comp-chips-hover-text-color: var(--ax-sys-color-on-warning-dark-surface)}ax-chips.ax-solid.ax-danger{--ax-comp-chips-bg-color: var(--ax-sys-color-danger-surface);--ax-comp-chips-text-color: var(--ax-sys-color-on-danger-surface);--ax-comp-chips-hover-bg-color: var(--ax-sys-color-danger-dark-surface);--ax-comp-chips-hover-text-color: var(--ax-sys-color-on-danger-dark-surface)}ax-chips.ax-twotone.ax-default{--ax-comp-ripple-bg-color: rgba(var(--ax-sys-color-on-lightest-surface), .3);--ax-comp-chips-bg-color: var(--ax-sys-color-lighter-surface);--ax-comp-chips-text-color: var(--ax-sys-color-on-lighter-surface);--ax-comp-chips-hover-bg-color: var(--ax-sys-color-light-surface);--ax-comp-chips-hover-text-color: var(--ax-sys-color-on-light-surface)}.ax-dark ax-chips.ax-twotone.ax-default{--ax-comp-ripple-bg-color: rgba(var(--ax-sys-color-on-darkest-surface), .3);--ax-comp-chips-bg-color: var(--ax-sys-color-darker-surface);--ax-comp-chips-text-color: var(--ax-sys-color-on-darker-surface);--ax-comp-chips-hover-bg-color: var(--ax-sys-color-dark-surface);--ax-comp-chips-hover-text-color: var(--ax-sys-color-on-dark-surface)}ax-chips.ax-twotone.ax-primary{--ax-comp-chips-bg-color: var(--ax-sys-color-primary-lightest-surface);--ax-comp-chips-text-color: var(--ax-sys-color-on-primary-lightest-surface);--ax-comp-chips-hover-bg-color: var(--ax-sys-color-primary-lighter-surface);--ax-comp-chips-hover-text-color: var(--ax-sys-color-on-primary-lighter-surface)}ax-chips.ax-twotone.ax-secondary{--ax-comp-chips-bg-color: var(--ax-sys-color-secondary-lightest-surface);--ax-comp-chips-text-color: var(--ax-sys-color-on-secondary-lightest-surface);--ax-comp-chips-hover-bg-color: var(--ax-sys-color-secondary-lighter-surface);--ax-comp-chips-hover-text-color: var(--ax-sys-color-on-secondary-lighter-surface)}ax-chips.ax-twotone.ax-success{--ax-comp-chips-bg-color: var(--ax-sys-color-success-lightest-surface);--ax-comp-chips-text-color: var(--ax-sys-color-on-success-lightest-surface);--ax-comp-chips-hover-bg-color: var(--ax-sys-color-success-lighter-surface);--ax-comp-chips-hover-text-color: var(--ax-sys-color-on-success-lighter-surface)}ax-chips.ax-twotone.ax-warning{--ax-comp-chips-bg-color: var(--ax-sys-color-warning-lightest-surface);--ax-comp-chips-text-color: var(--ax-sys-color-on-warning-lightest-surface);--ax-comp-chips-hover-bg-color: var(--ax-sys-color-warning-lighter-surface);--ax-comp-chips-hover-text-color: var(--ax-sys-color-on-warning-lighter-surface)}ax-chips.ax-twotone.ax-danger{--ax-comp-chips-bg-color: var(--ax-sys-color-danger-lightest-surface);--ax-comp-chips-text-color: var(--ax-sys-color-on-danger-lightest-surface);--ax-comp-chips-hover-bg-color: var(--ax-sys-color-danger-lighter-surface);--ax-comp-chips-hover-text-color: var(--ax-sys-color-on-danger-lighter-surface)}ax-chips{display:flex;cursor:pointer;-webkit-user-select:none;user-select:none;position:relative;align-items:center;justify-content:center;gap:var(--ax-comp-chips-gap);font-size:var(--ax-comp-chips-font-size);color:rgba(var(--ax-comp-chips-text-color));padding-left:var(--ax-comp-chips-padding-x);padding-right:var(--ax-comp-chips-padding-x);padding-top:var(--ax-comp-chips-padding-y);padding-bottom:var(--ax-comp-chips-padding-y);line-height:var(--ax-comp-chips-line-height, 1.25rem);font-weight:var(--ax-comp-chips-font-weight, 500);border-radius:var(--ax-comp-chips-border-radius, 9999px);border-width:var(--ax-comp-chips-border-width, 0);border-color:rgba(var(--ax-comp-chips-border-color));background-color:rgba(var(--ax-comp-chips-bg-color));transition-duration:var(--ax-sys-transition-duration);transition-timing-function:var(--ax-sys-transition-timing-function);transition-property:color,background-color,border-color,text-decoration-color,fill,stroke}ax-chips:focus-visible{outline-width:var(--ax-comp-chips-focuse-outline-width, 2px);outline-color:var(--ax-comp-chips-focuse-outline-color, rgba(0, 0, 0, .5));outline-offset:var(--ax-comp-chips-focuse-outline-offset, 2px)}ax-chips:hover{color:rgba(var(--ax-comp-chips-hover-text-color, var(--ax-comp-chips-text-color)));background-color:rgba(var(--ax-comp-chips-hover-bg-color, var(--ax-comp-chips-bg-color)));border-color:rgba(var(--ax-comp-chips-hover-border-color, var(--ax-comp-chips-border-color)))}ax-chips .ax-chips-text{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}ax-chips ax-prefix,ax-chips ax-suffix{display:flex;align-items:center;font-size:var(--ax-comp-chips-decorator-font-size);line-height:var(--ax-comp-chips-decorator-line-height, 1.75rem)}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
32
32
  }
33
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXChipsComponent, decorators: [{
33
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.7", ngImport: i0, type: AXChipsComponent, decorators: [{
34
34
  type: Component,
35
- args: [{ selector: 'ax-chips', inputs: ['tabIndex', 'color'], hostDirectives: [AXRippleDirective], changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, standalone: false, template: "<ng-content select=\"ax-prefix\"></ng-content>\n@if(text()){\n<div class=\"ax-chips-text\">{{ text() }}</div>\n}\n<ng-content select=\"ax-suffix\"></ng-content>", styles: [".ax-sm ax-chips,ax-chips.ax-sm{--ax-comp-chips-gap: .375rem;--ax-comp-chips-padding-y: 0;--ax-comp-chips-padding-x: .5rem;--ax-comp-chips-font-size: .75rem;--ax-comp-chips-decorator-font-size: .75rem}.ax-md ax-chips,ax-chips{--ax-comp-chips-gap: .5rem;--ax-comp-chips-padding-y: .125rem;--ax-comp-chips-padding-x: .75rem;--ax-comp-chips-font-size: .875rem;--ax-comp-chips-decorator-font-size: .938rem}.ax-lg ax-chips,ax-chips.ax-lg{--ax-comp-chips-gap: .75rem;--ax-comp-chips-padding-y: .25rem;--ax-comp-chips-padding-x: 1rem;--ax-comp-chips-font-size: .875rem;--ax-comp-chips-decorator-font-size: .938rem}ax-chips.ax-outline.ax-default{--ax-comp-chips-border-width: 1px;--ax-comp-ripple-bg-color: rgba(var(--ax-sys-color-on-lightest-surface), .3);--ax-comp-chips-text-color: var(--ax-sys-color-on-lightest-surface);--ax-comp-chips-border-color: var(--ax-sys-color-border-lightest-surface);--ax-comp-chips-hover-text-color: var(--ax-sys-color-on-lighter-surface);--ax-comp-chips-hover-border-color: var(--ax-sys-color-border-lighter-surface)}.ax-dark ax-chips.ax-outline.ax-default{--ax-comp-ripple-bg-color: rgba(var(--ax-sys-color-on-darkest-surface), .3);--ax-comp-chips-text-color: var(--ax-sys-color-on-darkest-surface);--ax-comp-chips-border-color: var(--ax-sys-color-border-darkest-surface);--ax-comp-chips-hover-text-color: var(--ax-sys-color-on-darker-surface);--ax-comp-chips-hover-border-color: var(--ax-sys-color-border-darker-surface)}ax-chips.ax-outline.ax-primary{--ax-comp-chips-border-width: 1px;--ax-comp-ripple-bg-color: rgba(var(--ax-sys-color-primary-surface), .3);--ax-comp-chips-text-color: var(--ax-sys-color-primary-surface);--ax-comp-chips-border-color: var(--ax-sys-color-primary-surface);--ax-comp-chips-hover-text-color: var(--ax-sys-color-primary-dark-surface);--ax-comp-chips-hover-border-color: var(--ax-sys-color-primary-dark-surface)}ax-chips.ax-outline.ax-secondary{--ax-comp-chips-border-width: 1px;--ax-comp-ripple-bg-color: rgba(var(--ax-sys-color-secondary-surface), .3);--ax-comp-chips-text-color: var(--ax-sys-color-secondary-surface);--ax-comp-chips-border-color: var(--ax-sys-color-secondary-surface);--ax-comp-chips-hover-text-color: var(--ax-sys-color-secondary-dark-surface);--ax-comp-chips-hover-border-color: var(--ax-sys-color-secondary-dark-surface)}ax-chips.ax-outline.ax-success{--ax-comp-chips-border-width: 1px;--ax-comp-ripple-bg-color: rgba(var(--ax-sys-color-success-surface), .3);--ax-comp-chips-text-color: var(--ax-sys-color-success-surface);--ax-comp-chips-border-color: var(--ax-sys-color-success-surface);--ax-comp-chips-hover-text-color: var(--ax-sys-color-success-dark-surface);--ax-comp-chips-hover-border-color: var(--ax-sys-color-success-dark-surface)}ax-chips.ax-outline.ax-warning{--ax-comp-chips-border-width: 1px;--ax-comp-ripple-bg-color: rgba(var(--ax-sys-color-warning-surface), .3);--ax-comp-chips-text-color: var(--ax-sys-color-warning-surface);--ax-comp-chips-border-color: var(--ax-sys-color-warning-surface);--ax-comp-chips-hover-text-color: var(--ax-sys-color-warning-dark-surface);--ax-comp-chips-hover-border-color: var(--ax-sys-color-warning-dark-surface)}ax-chips.ax-outline.ax-danger{--ax-comp-chips-border-width: 1px;--ax-comp-ripple-bg-color: rgba(var(--ax-sys-color-danger-surface), .3);--ax-comp-chips-text-color: var(--ax-sys-color-danger-surface);--ax-comp-chips-border-color: var(--ax-sys-color-danger-surface);--ax-comp-chips-hover-text-color: var(--ax-sys-color-danger-dark-surface);--ax-comp-chips-hover-border-color: var(--ax-sys-color-danger-dark-surface)}ax-chips.ax-solid.ax-default{--ax-comp-chips-border-width: 1px;--ax-comp-ripple-bg-color: rgba(var(--ax-sys-color-on-lightest-surface), .3);--ax-comp-chips-bg-color: var(--ax-sys-color-lightest-surface);--ax-comp-chips-text-color: var(--ax-sys-color-on-lightest-surface);--ax-comp-chips-border-color: var(--ax-sys-color-border-lightest-surface);--ax-comp-chips-hover-bg-color: var(--ax-sys-color-lighter-surface);--ax-comp-chips-hover-text-color: var(--ax-sys-color-on-lighter-surface);--ax-comp-chips-hover-border-color: var(--ax-sys-color-border-lighter-surface)}.ax-dark ax-chips.ax-solid.ax-default{--ax-comp-ripple-bg-color: rgba(var(--ax-sys-color-on-darkest-surface), .3);--ax-comp-chips-bg-color: var(--ax-sys-color-darkest-surface);--ax-comp-chips-text-color: var(--ax-sys-color-on-darkest-surface);--ax-comp-chips-border-color: var(--ax-sys-color-border-darkest-surface);--ax-comp-chips-hover-bg-color: var(--ax-sys-color-darker-surface);--ax-comp-chips-hover-text-color: var(--ax-sys-color-on-darker-surface);--ax-comp-chips-hover-border-color: var(--ax-sys-color-border-darker-surface)}ax-chips.ax-solid.ax-primary{--ax-comp-chips-bg-color: var(--ax-sys-color-primary-surface);--ax-comp-chips-text-color: var(--ax-sys-color-on-primary-surface);--ax-comp-chips-hover-bg-color: var(--ax-sys-color-primary-dark-surface);--ax-comp-chips-hover-text-color: var(--ax-sys-color-on-primary-dark-surface)}ax-chips.ax-solid.ax-secondary{--ax-comp-chips-bg-color: var(--ax-sys-color-secondary-surface);--ax-comp-chips-text-color: var(--ax-sys-color-on-secondary-surface);--ax-comp-chips-hover-bg-color: var(--ax-sys-color-secondary-dark-surface);--ax-comp-chips-hover-text-color: var(--ax-sys-color-on-secondary-dark-surface)}ax-chips.ax-solid.ax-success{--ax-comp-chips-bg-color: var(--ax-sys-color-success-surface);--ax-comp-chips-text-color: var(--ax-sys-color-on-success-surface);--ax-comp-chips-hover-bg-color: var(--ax-sys-color-success-dark-surface);--ax-comp-chips-hover-text-color: var(--ax-sys-color-on-success-dark-surface)}ax-chips.ax-solid.ax-warning{--ax-comp-chips-bg-color: var(--ax-sys-color-warning-surface);--ax-comp-chips-text-color: var(--ax-sys-color-on-warning-surface);--ax-comp-chips-hover-bg-color: var(--ax-sys-color-warning-dark-surface);--ax-comp-chips-hover-text-color: var(--ax-sys-color-on-warning-dark-surface)}ax-chips.ax-solid.ax-danger{--ax-comp-chips-bg-color: var(--ax-sys-color-danger-surface);--ax-comp-chips-text-color: var(--ax-sys-color-on-danger-surface);--ax-comp-chips-hover-bg-color: var(--ax-sys-color-danger-dark-surface);--ax-comp-chips-hover-text-color: var(--ax-sys-color-on-danger-dark-surface)}ax-chips.ax-twotone.ax-default{--ax-comp-ripple-bg-color: rgba(var(--ax-sys-color-on-lightest-surface), .3);--ax-comp-chips-bg-color: var(--ax-sys-color-lighter-surface);--ax-comp-chips-text-color: var(--ax-sys-color-on-lighter-surface);--ax-comp-chips-hover-bg-color: var(--ax-sys-color-light-surface);--ax-comp-chips-hover-text-color: var(--ax-sys-color-on-light-surface)}.ax-dark ax-chips.ax-twotone.ax-default{--ax-comp-ripple-bg-color: rgba(var(--ax-sys-color-on-darkest-surface), .3);--ax-comp-chips-bg-color: var(--ax-sys-color-darker-surface);--ax-comp-chips-text-color: var(--ax-sys-color-on-darker-surface);--ax-comp-chips-hover-bg-color: var(--ax-sys-color-dark-surface);--ax-comp-chips-hover-text-color: var(--ax-sys-color-on-dark-surface)}ax-chips.ax-twotone.ax-primary{--ax-comp-chips-bg-color: var(--ax-sys-color-primary-lightest-surface);--ax-comp-chips-text-color: var(--ax-sys-color-on-primary-lightest-surface);--ax-comp-chips-hover-bg-color: var(--ax-sys-color-primary-lighter-surface);--ax-comp-chips-hover-text-color: var(--ax-sys-color-on-primary-lighter-surface)}ax-chips.ax-twotone.ax-secondary{--ax-comp-chips-bg-color: var(--ax-sys-color-secondary-lightest-surface);--ax-comp-chips-text-color: var(--ax-sys-color-on-secondary-lightest-surface);--ax-comp-chips-hover-bg-color: var(--ax-sys-color-secondary-lighter-surface);--ax-comp-chips-hover-text-color: var(--ax-sys-color-on-secondary-lighter-surface)}ax-chips.ax-twotone.ax-success{--ax-comp-chips-bg-color: var(--ax-sys-color-success-lightest-surface);--ax-comp-chips-text-color: var(--ax-sys-color-on-success-lightest-surface);--ax-comp-chips-hover-bg-color: var(--ax-sys-color-success-lighter-surface);--ax-comp-chips-hover-text-color: var(--ax-sys-color-on-success-lighter-surface)}ax-chips.ax-twotone.ax-warning{--ax-comp-chips-bg-color: var(--ax-sys-color-warning-lightest-surface);--ax-comp-chips-text-color: var(--ax-sys-color-on-warning-lightest-surface);--ax-comp-chips-hover-bg-color: var(--ax-sys-color-warning-lighter-surface);--ax-comp-chips-hover-text-color: var(--ax-sys-color-on-warning-lighter-surface)}ax-chips.ax-twotone.ax-danger{--ax-comp-chips-bg-color: var(--ax-sys-color-danger-lightest-surface);--ax-comp-chips-text-color: var(--ax-sys-color-on-danger-lightest-surface);--ax-comp-chips-hover-bg-color: var(--ax-sys-color-danger-lighter-surface);--ax-comp-chips-hover-text-color: var(--ax-sys-color-on-danger-lighter-surface)}ax-chips{display:flex;cursor:pointer;-webkit-user-select:none;user-select:none;position:relative;align-items:center;justify-content:center;gap:var(--ax-comp-chips-gap);font-size:var(--ax-comp-chips-font-size);color:rgba(var(--ax-comp-chips-text-color));padding-left:var(--ax-comp-chips-padding-x);padding-right:var(--ax-comp-chips-padding-x);padding-top:var(--ax-comp-chips-padding-y);padding-bottom:var(--ax-comp-chips-padding-y);line-height:var(--ax-comp-chips-line-height, 1.25rem);font-weight:var(--ax-comp-chips-font-weight, 500);border-radius:var(--ax-comp-chips-border-radius, 9999px);border-width:var(--ax-comp-chips-border-width, 0);border-color:rgba(var(--ax-comp-chips-border-color));background-color:rgba(var(--ax-comp-chips-bg-color));transition-duration:var(--ax-sys-transition-duration);transition-timing-function:var(--ax-sys-transition-timing-function);transition-property:color,background-color,border-color,text-decoration-color,fill,stroke}ax-chips:focus-visible{outline-width:var(--ax-comp-chips-focuse-outline-width, 2px);outline-color:var(--ax-comp-chips-focuse-outline-color, rgba(0, 0, 0, .5));outline-offset:var(--ax-comp-chips-focuse-outline-offset, 2px)}ax-chips:hover{color:rgba(var(--ax-comp-chips-hover-text-color, var(--ax-comp-chips-text-color)));background-color:rgba(var(--ax-comp-chips-hover-bg-color, var(--ax-comp-chips-bg-color)));border-color:rgba(var(--ax-comp-chips-hover-border-color, var(--ax-comp-chips-border-color)))}ax-chips .ax-chips-text{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}ax-chips ax-prefix,ax-chips ax-suffix{display:flex;align-items:center;font-size:var(--ax-comp-chips-decorator-font-size);line-height:var(--ax-comp-chips-decorator-line-height, 1.75rem)}\n"] }]
35
+ args: [{ selector: 'ax-chips', inputs: ['tabIndex', 'color'], hostDirectives: [AXRippleDirective], changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, template: "<ng-content select=\"ax-prefix\"></ng-content>\n@if(text()){\n<div class=\"ax-chips-text\">{{ text() }}</div>\n}\n<ng-content select=\"ax-suffix\"></ng-content>", styles: [".ax-sm ax-chips,ax-chips.ax-sm{--ax-comp-chips-gap: .375rem;--ax-comp-chips-padding-y: 0;--ax-comp-chips-padding-x: .5rem;--ax-comp-chips-font-size: .75rem;--ax-comp-chips-decorator-font-size: .75rem}.ax-md ax-chips,ax-chips{--ax-comp-chips-gap: .5rem;--ax-comp-chips-padding-y: .125rem;--ax-comp-chips-padding-x: .75rem;--ax-comp-chips-font-size: .875rem;--ax-comp-chips-decorator-font-size: .938rem}.ax-lg ax-chips,ax-chips.ax-lg{--ax-comp-chips-gap: .75rem;--ax-comp-chips-padding-y: .25rem;--ax-comp-chips-padding-x: 1rem;--ax-comp-chips-font-size: .875rem;--ax-comp-chips-decorator-font-size: .938rem}ax-chips.ax-outline.ax-default{--ax-comp-chips-border-width: 1px;--ax-comp-ripple-bg-color: rgba(var(--ax-sys-color-on-lightest-surface), .3);--ax-comp-chips-text-color: var(--ax-sys-color-on-lightest-surface);--ax-comp-chips-border-color: var(--ax-sys-color-border-lightest-surface);--ax-comp-chips-hover-text-color: var(--ax-sys-color-on-lighter-surface);--ax-comp-chips-hover-border-color: var(--ax-sys-color-border-lighter-surface)}.ax-dark ax-chips.ax-outline.ax-default{--ax-comp-ripple-bg-color: rgba(var(--ax-sys-color-on-darkest-surface), .3);--ax-comp-chips-text-color: var(--ax-sys-color-on-darkest-surface);--ax-comp-chips-border-color: var(--ax-sys-color-border-darkest-surface);--ax-comp-chips-hover-text-color: var(--ax-sys-color-on-darker-surface);--ax-comp-chips-hover-border-color: var(--ax-sys-color-border-darker-surface)}ax-chips.ax-outline.ax-primary{--ax-comp-chips-border-width: 1px;--ax-comp-ripple-bg-color: rgba(var(--ax-sys-color-primary-surface), .3);--ax-comp-chips-text-color: var(--ax-sys-color-primary-surface);--ax-comp-chips-border-color: var(--ax-sys-color-primary-surface);--ax-comp-chips-hover-text-color: var(--ax-sys-color-primary-dark-surface);--ax-comp-chips-hover-border-color: var(--ax-sys-color-primary-dark-surface)}ax-chips.ax-outline.ax-secondary{--ax-comp-chips-border-width: 1px;--ax-comp-ripple-bg-color: rgba(var(--ax-sys-color-secondary-surface), .3);--ax-comp-chips-text-color: var(--ax-sys-color-secondary-surface);--ax-comp-chips-border-color: var(--ax-sys-color-secondary-surface);--ax-comp-chips-hover-text-color: var(--ax-sys-color-secondary-dark-surface);--ax-comp-chips-hover-border-color: var(--ax-sys-color-secondary-dark-surface)}ax-chips.ax-outline.ax-success{--ax-comp-chips-border-width: 1px;--ax-comp-ripple-bg-color: rgba(var(--ax-sys-color-success-surface), .3);--ax-comp-chips-text-color: var(--ax-sys-color-success-surface);--ax-comp-chips-border-color: var(--ax-sys-color-success-surface);--ax-comp-chips-hover-text-color: var(--ax-sys-color-success-dark-surface);--ax-comp-chips-hover-border-color: var(--ax-sys-color-success-dark-surface)}ax-chips.ax-outline.ax-warning{--ax-comp-chips-border-width: 1px;--ax-comp-ripple-bg-color: rgba(var(--ax-sys-color-warning-surface), .3);--ax-comp-chips-text-color: var(--ax-sys-color-warning-surface);--ax-comp-chips-border-color: var(--ax-sys-color-warning-surface);--ax-comp-chips-hover-text-color: var(--ax-sys-color-warning-dark-surface);--ax-comp-chips-hover-border-color: var(--ax-sys-color-warning-dark-surface)}ax-chips.ax-outline.ax-danger{--ax-comp-chips-border-width: 1px;--ax-comp-ripple-bg-color: rgba(var(--ax-sys-color-danger-surface), .3);--ax-comp-chips-text-color: var(--ax-sys-color-danger-surface);--ax-comp-chips-border-color: var(--ax-sys-color-danger-surface);--ax-comp-chips-hover-text-color: var(--ax-sys-color-danger-dark-surface);--ax-comp-chips-hover-border-color: var(--ax-sys-color-danger-dark-surface)}ax-chips.ax-solid.ax-default{--ax-comp-chips-border-width: 1px;--ax-comp-ripple-bg-color: rgba(var(--ax-sys-color-on-lightest-surface), .3);--ax-comp-chips-bg-color: var(--ax-sys-color-lightest-surface);--ax-comp-chips-text-color: var(--ax-sys-color-on-lightest-surface);--ax-comp-chips-border-color: var(--ax-sys-color-border-lightest-surface);--ax-comp-chips-hover-bg-color: var(--ax-sys-color-lighter-surface);--ax-comp-chips-hover-text-color: var(--ax-sys-color-on-lighter-surface);--ax-comp-chips-hover-border-color: var(--ax-sys-color-border-lighter-surface)}.ax-dark ax-chips.ax-solid.ax-default{--ax-comp-ripple-bg-color: rgba(var(--ax-sys-color-on-darkest-surface), .3);--ax-comp-chips-bg-color: var(--ax-sys-color-darkest-surface);--ax-comp-chips-text-color: var(--ax-sys-color-on-darkest-surface);--ax-comp-chips-border-color: var(--ax-sys-color-border-darkest-surface);--ax-comp-chips-hover-bg-color: var(--ax-sys-color-darker-surface);--ax-comp-chips-hover-text-color: var(--ax-sys-color-on-darker-surface);--ax-comp-chips-hover-border-color: var(--ax-sys-color-border-darker-surface)}ax-chips.ax-solid.ax-primary{--ax-comp-chips-bg-color: var(--ax-sys-color-primary-surface);--ax-comp-chips-text-color: var(--ax-sys-color-on-primary-surface);--ax-comp-chips-hover-bg-color: var(--ax-sys-color-primary-dark-surface);--ax-comp-chips-hover-text-color: var(--ax-sys-color-on-primary-dark-surface)}ax-chips.ax-solid.ax-secondary{--ax-comp-chips-bg-color: var(--ax-sys-color-secondary-surface);--ax-comp-chips-text-color: var(--ax-sys-color-on-secondary-surface);--ax-comp-chips-hover-bg-color: var(--ax-sys-color-secondary-dark-surface);--ax-comp-chips-hover-text-color: var(--ax-sys-color-on-secondary-dark-surface)}ax-chips.ax-solid.ax-success{--ax-comp-chips-bg-color: var(--ax-sys-color-success-surface);--ax-comp-chips-text-color: var(--ax-sys-color-on-success-surface);--ax-comp-chips-hover-bg-color: var(--ax-sys-color-success-dark-surface);--ax-comp-chips-hover-text-color: var(--ax-sys-color-on-success-dark-surface)}ax-chips.ax-solid.ax-warning{--ax-comp-chips-bg-color: var(--ax-sys-color-warning-surface);--ax-comp-chips-text-color: var(--ax-sys-color-on-warning-surface);--ax-comp-chips-hover-bg-color: var(--ax-sys-color-warning-dark-surface);--ax-comp-chips-hover-text-color: var(--ax-sys-color-on-warning-dark-surface)}ax-chips.ax-solid.ax-danger{--ax-comp-chips-bg-color: var(--ax-sys-color-danger-surface);--ax-comp-chips-text-color: var(--ax-sys-color-on-danger-surface);--ax-comp-chips-hover-bg-color: var(--ax-sys-color-danger-dark-surface);--ax-comp-chips-hover-text-color: var(--ax-sys-color-on-danger-dark-surface)}ax-chips.ax-twotone.ax-default{--ax-comp-ripple-bg-color: rgba(var(--ax-sys-color-on-lightest-surface), .3);--ax-comp-chips-bg-color: var(--ax-sys-color-lighter-surface);--ax-comp-chips-text-color: var(--ax-sys-color-on-lighter-surface);--ax-comp-chips-hover-bg-color: var(--ax-sys-color-light-surface);--ax-comp-chips-hover-text-color: var(--ax-sys-color-on-light-surface)}.ax-dark ax-chips.ax-twotone.ax-default{--ax-comp-ripple-bg-color: rgba(var(--ax-sys-color-on-darkest-surface), .3);--ax-comp-chips-bg-color: var(--ax-sys-color-darker-surface);--ax-comp-chips-text-color: var(--ax-sys-color-on-darker-surface);--ax-comp-chips-hover-bg-color: var(--ax-sys-color-dark-surface);--ax-comp-chips-hover-text-color: var(--ax-sys-color-on-dark-surface)}ax-chips.ax-twotone.ax-primary{--ax-comp-chips-bg-color: var(--ax-sys-color-primary-lightest-surface);--ax-comp-chips-text-color: var(--ax-sys-color-on-primary-lightest-surface);--ax-comp-chips-hover-bg-color: var(--ax-sys-color-primary-lighter-surface);--ax-comp-chips-hover-text-color: var(--ax-sys-color-on-primary-lighter-surface)}ax-chips.ax-twotone.ax-secondary{--ax-comp-chips-bg-color: var(--ax-sys-color-secondary-lightest-surface);--ax-comp-chips-text-color: var(--ax-sys-color-on-secondary-lightest-surface);--ax-comp-chips-hover-bg-color: var(--ax-sys-color-secondary-lighter-surface);--ax-comp-chips-hover-text-color: var(--ax-sys-color-on-secondary-lighter-surface)}ax-chips.ax-twotone.ax-success{--ax-comp-chips-bg-color: var(--ax-sys-color-success-lightest-surface);--ax-comp-chips-text-color: var(--ax-sys-color-on-success-lightest-surface);--ax-comp-chips-hover-bg-color: var(--ax-sys-color-success-lighter-surface);--ax-comp-chips-hover-text-color: var(--ax-sys-color-on-success-lighter-surface)}ax-chips.ax-twotone.ax-warning{--ax-comp-chips-bg-color: var(--ax-sys-color-warning-lightest-surface);--ax-comp-chips-text-color: var(--ax-sys-color-on-warning-lightest-surface);--ax-comp-chips-hover-bg-color: var(--ax-sys-color-warning-lighter-surface);--ax-comp-chips-hover-text-color: var(--ax-sys-color-on-warning-lighter-surface)}ax-chips.ax-twotone.ax-danger{--ax-comp-chips-bg-color: var(--ax-sys-color-danger-lightest-surface);--ax-comp-chips-text-color: var(--ax-sys-color-on-danger-lightest-surface);--ax-comp-chips-hover-bg-color: var(--ax-sys-color-danger-lighter-surface);--ax-comp-chips-hover-text-color: var(--ax-sys-color-on-danger-lighter-surface)}ax-chips{display:flex;cursor:pointer;-webkit-user-select:none;user-select:none;position:relative;align-items:center;justify-content:center;gap:var(--ax-comp-chips-gap);font-size:var(--ax-comp-chips-font-size);color:rgba(var(--ax-comp-chips-text-color));padding-left:var(--ax-comp-chips-padding-x);padding-right:var(--ax-comp-chips-padding-x);padding-top:var(--ax-comp-chips-padding-y);padding-bottom:var(--ax-comp-chips-padding-y);line-height:var(--ax-comp-chips-line-height, 1.25rem);font-weight:var(--ax-comp-chips-font-weight, 500);border-radius:var(--ax-comp-chips-border-radius, 9999px);border-width:var(--ax-comp-chips-border-width, 0);border-color:rgba(var(--ax-comp-chips-border-color));background-color:rgba(var(--ax-comp-chips-bg-color));transition-duration:var(--ax-sys-transition-duration);transition-timing-function:var(--ax-sys-transition-timing-function);transition-property:color,background-color,border-color,text-decoration-color,fill,stroke}ax-chips:focus-visible{outline-width:var(--ax-comp-chips-focuse-outline-width, 2px);outline-color:var(--ax-comp-chips-focuse-outline-color, rgba(0, 0, 0, .5));outline-offset:var(--ax-comp-chips-focuse-outline-offset, 2px)}ax-chips:hover{color:rgba(var(--ax-comp-chips-hover-text-color, var(--ax-comp-chips-text-color)));background-color:rgba(var(--ax-comp-chips-hover-bg-color, var(--ax-comp-chips-bg-color)));border-color:rgba(var(--ax-comp-chips-hover-border-color, var(--ax-comp-chips-border-color)))}ax-chips .ax-chips-text{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}ax-chips ax-prefix,ax-chips ax-suffix{display:flex;align-items:center;font-size:var(--ax-comp-chips-decorator-font-size);line-height:var(--ax-comp-chips-decorator-line-height, 1.75rem)}\n"] }]
36
36
  }], propDecorators: { __hostClass: [{
37
37
  type: HostBinding,
38
38
  args: ['class']
39
39
  }] } });
40
40
 
41
41
  class AXChipsModule {
42
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXChipsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
43
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.0.3", ngImport: i0, type: AXChipsModule, declarations: [AXChipsComponent], imports: [CommonModule], exports: [AXChipsComponent] }); }
44
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXChipsModule, imports: [CommonModule] }); }
42
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.7", ngImport: i0, type: AXChipsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
43
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.1.7", ngImport: i0, type: AXChipsModule, imports: [CommonModule, AXChipsComponent], exports: [AXChipsComponent] }); }
44
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.1.7", ngImport: i0, type: AXChipsModule, imports: [CommonModule] }); }
45
45
  }
46
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXChipsModule, decorators: [{
46
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.7", ngImport: i0, type: AXChipsModule, decorators: [{
47
47
  type: NgModule,
48
48
  args: [{
49
- declarations: [AXChipsComponent],
50
- imports: [CommonModule],
49
+ imports: [CommonModule, AXChipsComponent],
51
50
  exports: [AXChipsComponent],
52
51
  providers: [],
53
52
  }]
@@ -1 +1 @@
1
- {"version":3,"file":"acorex-components-chips.mjs","sources":["../../../../libs/components/chips/src/lib/chips.component.ts","../../../../libs/components/chips/src/lib/chips.component.html","../../../../libs/components/chips/src/lib/chips.module.ts","../../../../libs/components/chips/src/acorex-components-chips.ts"],"sourcesContent":["import {\n AXRippleDirective,\n AXStyleLookType,\n AXStyleSizeType,\n MXColorComponent,\n} from '@acorex/components/common';\nimport { ChangeDetectionStrategy, Component, HostBinding, ViewEncapsulation, model } from '@angular/core';\n\nexport type AXChipsLookType = Extract<AXStyleLookType, 'solid' | 'outline' | 'twotone'>;\nexport type AXChipsSizeType = Exclude<AXStyleSizeType, 'ax-xs' | 'ax-xl'>;\n\n/**\n * A component for displaying and managing a set of chips.\n *\n * @category Components\n */\n@Component({\n selector: 'ax-chips',\n templateUrl: './chips.component.html',\n styleUrls: ['./chips.component.scss'],\n inputs: ['tabIndex', 'color'],\n hostDirectives: [AXRippleDirective],\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n standalone: false,\n})\nexport class AXChipsComponent extends MXColorComponent {\n /**\n * The text displayed on the chips.\n *\n * @defaultValue ''\n */\n text = model('');\n\n look = model<AXChipsLookType>('solid');\n size = model<AXChipsSizeType>('ax-md');\n\n /**\n * @ignore\n */\n @HostBinding('class')\n private get __hostClass(): string {\n return `ax-${this.color} ax-${this.look()} ${this.size()}`;\n }\n}\n","<ng-content select=\"ax-prefix\"></ng-content>\n@if(text()){\n<div class=\"ax-chips-text\">{{ text() }}</div>\n}\n<ng-content select=\"ax-suffix\"></ng-content>","import { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\nimport { AXChipsComponent } from './chips.component';\n\n@NgModule({\n declarations: [AXChipsComponent],\n imports: [CommonModule],\n exports: [AXChipsComponent],\n providers: [],\n})\nexport class AXChipsModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;AAWA;;;;AAIG;AAWG,MAAO,gBAAiB,SAAQ,gBAAgB,CAAA;AAVtD,IAAA,WAAA,GAAA;;AAWE;;;;AAIG;AACH,QAAA,IAAA,CAAA,IAAI,GAAG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AAA,EAAA,CAAA,CAAA;AAAb,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,aAAa,EALT,YAAA,EAAA,CAAA,gBAAgB,CACrB,EAAA,OAAA,EAAA,CAAA,YAAY,aACZ,gBAAgB,CAAA,EAAA,CAAA,CAAA;AAGf,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,aAAa,YAJd,YAAY,CAAA,EAAA,CAAA,CAAA;;2FAIX,aAAa,EAAA,UAAA,EAAA,CAAA;kBANzB,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACR,YAAY,EAAE,CAAC,gBAAgB,CAAC;oBAChC,OAAO,EAAE,CAAC,YAAY,CAAC;oBACvB,OAAO,EAAE,CAAC,gBAAgB,CAAC;AAC3B,oBAAA,SAAS,EAAE,EAAE;AACd,iBAAA;;;ACTD;;AAEG;;;;"}
1
+ {"version":3,"file":"acorex-components-chips.mjs","sources":["../../../../libs/components/chips/src/lib/chips.component.ts","../../../../libs/components/chips/src/lib/chips.component.html","../../../../libs/components/chips/src/lib/chips.module.ts","../../../../libs/components/chips/src/acorex-components-chips.ts"],"sourcesContent":["import { AXRippleDirective, AXStyleLookType, AXStyleSizeType, MXColorComponent } from '@acorex/components/common';\nimport { ChangeDetectionStrategy, Component, HostBinding, ViewEncapsulation, model } from '@angular/core';\n\nexport type AXChipsLookType = Extract<AXStyleLookType, 'solid' | 'outline' | 'twotone'>;\nexport type AXChipsSizeType = Exclude<AXStyleSizeType, 'ax-xs' | 'ax-xl'>;\n\n/**\n * A component for displaying and managing a set of chips.\n *\n * @category Components\n */\n@Component({\n selector: 'ax-chips',\n templateUrl: './chips.component.html',\n styleUrls: ['./chips.component.scss'],\n inputs: ['tabIndex', 'color'],\n hostDirectives: [AXRippleDirective],\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n})\nexport class AXChipsComponent extends MXColorComponent {\n /**\n * The text displayed on the chips.\n *\n * @defaultValue ''\n */\n text = model('');\n\n look = model<AXChipsLookType>('solid');\n size = model<AXChipsSizeType>('ax-md');\n\n /**\n * @ignore\n */\n @HostBinding('class')\n private get __hostClass(): string {\n return `ax-${this.color} ax-${this.look()} ${this.size()}`;\n }\n}\n","<ng-content select=\"ax-prefix\"></ng-content>\n@if(text()){\n<div class=\"ax-chips-text\">{{ text() }}</div>\n}\n<ng-content select=\"ax-suffix\"></ng-content>","import { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\nimport { AXChipsComponent } from './chips.component';\n\n@NgModule({\n imports: [CommonModule, AXChipsComponent],\n exports: [AXChipsComponent],\n providers: [],\n})\nexport class AXChipsModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;AAMA;;;;AAIG;AAUG,MAAO,gBAAiB,SAAQ,gBAAgB,CAAA;AATtD,IAAA,WAAA,GAAA;;AAUE;;;;AAIG;AACH,QAAA,IAAA,CAAA,IAAI,GAAG,KAAK,CAAC,EAAE,CAAC;AAEhB,QAAA,IAAA,CAAA,IAAI,GAAG,KAAK,CAAkB,OAAO,CAAC;AACtC,QAAA,IAAA,CAAA,IAAI,GAAG,KAAK,CAAkB,OAAO,CAAC;AASvC;AAPC;;AAEG;AACH,IAAA,IACY,WAAW,GAAA;AACrB,QAAA,OAAO,CAAM,GAAA,EAAA,IAAI,CAAC,KAAK,OAAO,IAAI,CAAC,IAAI,EAAE,IAAI,IAAI,CAAC,IAAI,EAAE,EAAE;;8GAhBjD,gBAAgB,EAAA,IAAA,EAAA,IAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,E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A,EAAA,aAAa,YAJd,YAAY,CAAA,EAAA,CAAA,CAAA;;2FAIX,aAAa,EAAA,UAAA,EAAA,CAAA;kBALzB,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,OAAO,EAAE,CAAC,YAAY,EAAE,gBAAgB,CAAC;oBACzC,OAAO,EAAE,CAAC,gBAAgB,CAAC;AAC3B,oBAAA,SAAS,EAAE,EAAE;AACd,iBAAA;;;ACRD;;AAEG;;;;"}
@@ -1,6 +1,6 @@
1
1
  import { MXColorComponent } from '@acorex/components/common';
2
2
  import * as i0 from '@angular/core';
3
- import { viewChild, input, model, afterNextRender, effect, HostBinding, ViewEncapsulation, ChangeDetectionStrategy, Component, NgModule } from '@angular/core';
3
+ import { viewChild, input, model, afterNextRender, effect, Component, ChangeDetectionStrategy, ViewEncapsulation, HostBinding, NgModule } from '@angular/core';
4
4
 
5
5
  /**
6
6
  * The Button is a component which detects user interaction and triggers a corresponding event
@@ -83,27 +83,26 @@ class AXCircularProgressComponent extends MXColorComponent {
83
83
  this.progress.set(65);
84
84
  }
85
85
  }
86
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXCircularProgressComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
87
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "19.0.3", type: AXCircularProgressComponent, isStandalone: false, selector: "ax-circular-progress", inputs: { color: { classPropertyName: "color", publicName: "color", isSignal: false, isRequired: false, transformFunction: null }, mode: { classPropertyName: "mode", publicName: "mode", isSignal: true, isRequired: false, transformFunction: null }, progress: { classPropertyName: "progress", publicName: "progress", isSignal: true, isRequired: false, transformFunction: null }, stroke: { classPropertyName: "stroke", publicName: "stroke", isSignal: true, isRequired: false, transformFunction: null }, size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { progress: "progressChange", stroke: "strokeChange", size: "sizeChange" }, host: { properties: { "class": "this.__hostClass" } }, viewQueries: [{ propertyName: "circle", first: true, predicate: ["circle"], descendants: true, isSignal: true }], usesInheritance: true, ngImport: i0, template: "<ng-content select=\"ax-prefix\"></ng-content>\n<div class=\"ax-progress-circular ax-progress-{{mode()}}\" #circle>\n <span class=\"ax-progress-content\">\n <ng-content></ng-content>\n </span>\n</div>\n\n<ng-content select=\"ax-suffix\"></ng-content>", styles: ["ax-circular-progress{--ax-comp-progress-circular-color: rgba(var(--ax-sys-color-primary-surface));--ax-comp-progress-circular-line-color: rgba(var(--ax-sys-color-primary-surface), .25)}ax-circular-progress.ax-primary .ax-progress-circular{--ax-comp-progress-circular-color: rgba(var(--ax-sys-color-primary-surface));--ax-comp-progress-circular-line-color: rgba(var(--ax-sys-color-primary-surface), .25)}ax-circular-progress.ax-secondary .ax-progress-circular{--ax-comp-progress-circular-color: rgba(var(--ax-sys-color-secondary-surface));--ax-comp-progress-circular-line-color: rgba(var(--ax-sys-color-secondary-surface), .25)}ax-circular-progress.ax-success .ax-progress-circular{--ax-comp-progress-circular-color: rgba(var(--ax-sys-color-success-surface));--ax-comp-progress-circular-line-color: rgba(var(--ax-sys-color-success-surface), .25)}ax-circular-progress.ax-warning .ax-progress-circular{--ax-comp-progress-circular-color: rgba(var(--ax-sys-color-warning-surface));--ax-comp-progress-circular-line-color: rgba(var(--ax-sys-color-warning-surface), .25)}ax-circular-progress.ax-danger .ax-progress-circular{--ax-comp-progress-circular-color: rgba(var(--ax-sys-color-danger-surface));--ax-comp-progress-circular-line-color: rgba(var(--ax-sys-color-danger-surface), .25)}.ax-dark ax-circular-progress{--ax-comp-progress-circular-inside-bg-color: var(--ax-sys-color-darkest-surface)}ax-circular-progress .ax-progress-circular{width:var(--ax-comp-circular-progress-circle-size, 48px);height:var(--ax-comp-circular-progress-circle-size, 48px);border-radius:9999px;background:conic-gradient(var(--ax-comp-progress-circular-color) 0deg,var(--ax-comp-progress-circular-line-color) 0deg);position:relative;display:flex;align-items:center;justify-content:center}ax-circular-progress .ax-progress-circular:before{content:\"\";position:absolute;border-radius:9999px;width:var(--ax-comp-circular-progress-stroke-size, 44px);height:var(--ax-comp-circular-progress-stroke-size, 44px);background-color:rgba(var(--ax-comp-progress-circular-inside-bg-color, var(--ax-sys-color-lightest-surface)))}ax-circular-progress .ax-progress-circular .ax-progress-content{position:relative;display:flex;align-items:center;justify-content:center}ax-circular-progress .ax-progress-circular.ax-progress-indeterminate{animation-name:rotate;animation-iteration-count:infinite;animation-timing-function:linear;animation-duration:var(--ax-comp-circular-progress-animation-duration, 1.5s)}@keyframes rotate{0%{transform:rotate(-360deg)}to{transform:rotate(360deg)}}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
86
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.7", ngImport: i0, type: AXCircularProgressComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
87
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "19.1.7", type: AXCircularProgressComponent, isStandalone: true, selector: "ax-circular-progress", inputs: { color: { classPropertyName: "color", publicName: "color", isSignal: false, isRequired: false, transformFunction: null }, mode: { classPropertyName: "mode", publicName: "mode", isSignal: true, isRequired: false, transformFunction: null }, progress: { classPropertyName: "progress", publicName: "progress", isSignal: true, isRequired: false, transformFunction: null }, stroke: { classPropertyName: "stroke", publicName: "stroke", isSignal: true, isRequired: false, transformFunction: null }, size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { progress: "progressChange", stroke: "strokeChange", size: "sizeChange" }, host: { properties: { "class": "this.__hostClass" } }, viewQueries: [{ propertyName: "circle", first: true, predicate: ["circle"], descendants: true, isSignal: true }], usesInheritance: true, ngImport: i0, template: "<ng-content select=\"ax-prefix\"></ng-content>\n<div class=\"ax-progress-circular ax-progress-{{mode()}}\" #circle>\n <span class=\"ax-progress-content\">\n <ng-content></ng-content>\n </span>\n</div>\n\n<ng-content select=\"ax-suffix\"></ng-content>", styles: ["ax-circular-progress{--ax-comp-progress-circular-color: rgba(var(--ax-sys-color-primary-surface));--ax-comp-progress-circular-line-color: rgba(var(--ax-sys-color-primary-surface), .25)}ax-circular-progress.ax-primary .ax-progress-circular{--ax-comp-progress-circular-color: rgba(var(--ax-sys-color-primary-surface));--ax-comp-progress-circular-line-color: rgba(var(--ax-sys-color-primary-surface), .25)}ax-circular-progress.ax-secondary .ax-progress-circular{--ax-comp-progress-circular-color: rgba(var(--ax-sys-color-secondary-surface));--ax-comp-progress-circular-line-color: rgba(var(--ax-sys-color-secondary-surface), .25)}ax-circular-progress.ax-success .ax-progress-circular{--ax-comp-progress-circular-color: rgba(var(--ax-sys-color-success-surface));--ax-comp-progress-circular-line-color: rgba(var(--ax-sys-color-success-surface), .25)}ax-circular-progress.ax-warning .ax-progress-circular{--ax-comp-progress-circular-color: rgba(var(--ax-sys-color-warning-surface));--ax-comp-progress-circular-line-color: rgba(var(--ax-sys-color-warning-surface), .25)}ax-circular-progress.ax-danger .ax-progress-circular{--ax-comp-progress-circular-color: rgba(var(--ax-sys-color-danger-surface));--ax-comp-progress-circular-line-color: rgba(var(--ax-sys-color-danger-surface), .25)}.ax-dark ax-circular-progress{--ax-comp-progress-circular-inside-bg-color: var(--ax-sys-color-darkest-surface)}ax-circular-progress .ax-progress-circular{width:var(--ax-comp-circular-progress-circle-size, 48px);height:var(--ax-comp-circular-progress-circle-size, 48px);border-radius:9999px;background:conic-gradient(var(--ax-comp-progress-circular-color) 0deg,var(--ax-comp-progress-circular-line-color) 0deg);position:relative;display:flex;align-items:center;justify-content:center}ax-circular-progress .ax-progress-circular:before{content:\"\";position:absolute;border-radius:9999px;width:var(--ax-comp-circular-progress-stroke-size, 44px);height:var(--ax-comp-circular-progress-stroke-size, 44px);background-color:rgba(var(--ax-comp-progress-circular-inside-bg-color, var(--ax-sys-color-lightest-surface)))}ax-circular-progress .ax-progress-circular .ax-progress-content{position:relative;display:flex;align-items:center;justify-content:center}ax-circular-progress .ax-progress-circular.ax-progress-indeterminate{animation-name:rotate;animation-iteration-count:infinite;animation-timing-function:linear;animation-duration:var(--ax-comp-circular-progress-animation-duration, 1.5s)}@keyframes rotate{0%{transform:rotate(-360deg)}to{transform:rotate(360deg)}}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
88
88
  }
89
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXCircularProgressComponent, decorators: [{
89
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.7", ngImport: i0, type: AXCircularProgressComponent, decorators: [{
90
90
  type: Component,
91
- args: [{ selector: 'ax-circular-progress', inputs: ['color'], changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, standalone: false, template: "<ng-content select=\"ax-prefix\"></ng-content>\n<div class=\"ax-progress-circular ax-progress-{{mode()}}\" #circle>\n <span class=\"ax-progress-content\">\n <ng-content></ng-content>\n </span>\n</div>\n\n<ng-content select=\"ax-suffix\"></ng-content>", styles: ["ax-circular-progress{--ax-comp-progress-circular-color: rgba(var(--ax-sys-color-primary-surface));--ax-comp-progress-circular-line-color: rgba(var(--ax-sys-color-primary-surface), .25)}ax-circular-progress.ax-primary .ax-progress-circular{--ax-comp-progress-circular-color: rgba(var(--ax-sys-color-primary-surface));--ax-comp-progress-circular-line-color: rgba(var(--ax-sys-color-primary-surface), .25)}ax-circular-progress.ax-secondary .ax-progress-circular{--ax-comp-progress-circular-color: rgba(var(--ax-sys-color-secondary-surface));--ax-comp-progress-circular-line-color: rgba(var(--ax-sys-color-secondary-surface), .25)}ax-circular-progress.ax-success .ax-progress-circular{--ax-comp-progress-circular-color: rgba(var(--ax-sys-color-success-surface));--ax-comp-progress-circular-line-color: rgba(var(--ax-sys-color-success-surface), .25)}ax-circular-progress.ax-warning .ax-progress-circular{--ax-comp-progress-circular-color: rgba(var(--ax-sys-color-warning-surface));--ax-comp-progress-circular-line-color: rgba(var(--ax-sys-color-warning-surface), .25)}ax-circular-progress.ax-danger .ax-progress-circular{--ax-comp-progress-circular-color: rgba(var(--ax-sys-color-danger-surface));--ax-comp-progress-circular-line-color: rgba(var(--ax-sys-color-danger-surface), .25)}.ax-dark ax-circular-progress{--ax-comp-progress-circular-inside-bg-color: var(--ax-sys-color-darkest-surface)}ax-circular-progress .ax-progress-circular{width:var(--ax-comp-circular-progress-circle-size, 48px);height:var(--ax-comp-circular-progress-circle-size, 48px);border-radius:9999px;background:conic-gradient(var(--ax-comp-progress-circular-color) 0deg,var(--ax-comp-progress-circular-line-color) 0deg);position:relative;display:flex;align-items:center;justify-content:center}ax-circular-progress .ax-progress-circular:before{content:\"\";position:absolute;border-radius:9999px;width:var(--ax-comp-circular-progress-stroke-size, 44px);height:var(--ax-comp-circular-progress-stroke-size, 44px);background-color:rgba(var(--ax-comp-progress-circular-inside-bg-color, var(--ax-sys-color-lightest-surface)))}ax-circular-progress .ax-progress-circular .ax-progress-content{position:relative;display:flex;align-items:center;justify-content:center}ax-circular-progress .ax-progress-circular.ax-progress-indeterminate{animation-name:rotate;animation-iteration-count:infinite;animation-timing-function:linear;animation-duration:var(--ax-comp-circular-progress-animation-duration, 1.5s)}@keyframes rotate{0%{transform:rotate(-360deg)}to{transform:rotate(360deg)}}\n"] }]
91
+ args: [{ selector: 'ax-circular-progress', inputs: ['color'], changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, template: "<ng-content select=\"ax-prefix\"></ng-content>\n<div class=\"ax-progress-circular ax-progress-{{mode()}}\" #circle>\n <span class=\"ax-progress-content\">\n <ng-content></ng-content>\n </span>\n</div>\n\n<ng-content select=\"ax-suffix\"></ng-content>", styles: ["ax-circular-progress{--ax-comp-progress-circular-color: rgba(var(--ax-sys-color-primary-surface));--ax-comp-progress-circular-line-color: rgba(var(--ax-sys-color-primary-surface), .25)}ax-circular-progress.ax-primary .ax-progress-circular{--ax-comp-progress-circular-color: rgba(var(--ax-sys-color-primary-surface));--ax-comp-progress-circular-line-color: rgba(var(--ax-sys-color-primary-surface), .25)}ax-circular-progress.ax-secondary .ax-progress-circular{--ax-comp-progress-circular-color: rgba(var(--ax-sys-color-secondary-surface));--ax-comp-progress-circular-line-color: rgba(var(--ax-sys-color-secondary-surface), .25)}ax-circular-progress.ax-success .ax-progress-circular{--ax-comp-progress-circular-color: rgba(var(--ax-sys-color-success-surface));--ax-comp-progress-circular-line-color: rgba(var(--ax-sys-color-success-surface), .25)}ax-circular-progress.ax-warning .ax-progress-circular{--ax-comp-progress-circular-color: rgba(var(--ax-sys-color-warning-surface));--ax-comp-progress-circular-line-color: rgba(var(--ax-sys-color-warning-surface), .25)}ax-circular-progress.ax-danger .ax-progress-circular{--ax-comp-progress-circular-color: rgba(var(--ax-sys-color-danger-surface));--ax-comp-progress-circular-line-color: rgba(var(--ax-sys-color-danger-surface), .25)}.ax-dark ax-circular-progress{--ax-comp-progress-circular-inside-bg-color: var(--ax-sys-color-darkest-surface)}ax-circular-progress .ax-progress-circular{width:var(--ax-comp-circular-progress-circle-size, 48px);height:var(--ax-comp-circular-progress-circle-size, 48px);border-radius:9999px;background:conic-gradient(var(--ax-comp-progress-circular-color) 0deg,var(--ax-comp-progress-circular-line-color) 0deg);position:relative;display:flex;align-items:center;justify-content:center}ax-circular-progress .ax-progress-circular:before{content:\"\";position:absolute;border-radius:9999px;width:var(--ax-comp-circular-progress-stroke-size, 44px);height:var(--ax-comp-circular-progress-stroke-size, 44px);background-color:rgba(var(--ax-comp-progress-circular-inside-bg-color, var(--ax-sys-color-lightest-surface)))}ax-circular-progress .ax-progress-circular .ax-progress-content{position:relative;display:flex;align-items:center;justify-content:center}ax-circular-progress .ax-progress-circular.ax-progress-indeterminate{animation-name:rotate;animation-iteration-count:infinite;animation-timing-function:linear;animation-duration:var(--ax-comp-circular-progress-animation-duration, 1.5s)}@keyframes rotate{0%{transform:rotate(-360deg)}to{transform:rotate(360deg)}}\n"] }]
92
92
  }], ctorParameters: () => [], propDecorators: { __hostClass: [{
93
93
  type: HostBinding,
94
94
  args: ['class']
95
95
  }] } });
96
96
 
97
97
  class AXCircularProgressModule {
98
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXCircularProgressModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
99
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.0.3", ngImport: i0, type: AXCircularProgressModule, declarations: [AXCircularProgressComponent], exports: [AXCircularProgressComponent] }); }
100
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXCircularProgressModule }); }
98
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.7", ngImport: i0, type: AXCircularProgressModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
99
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.1.7", ngImport: i0, type: AXCircularProgressModule, imports: [AXCircularProgressComponent], exports: [AXCircularProgressComponent] }); }
100
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.1.7", ngImport: i0, type: AXCircularProgressModule }); }
101
101
  }
102
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXCircularProgressModule, decorators: [{
102
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.7", ngImport: i0, type: AXCircularProgressModule, decorators: [{
103
103
  type: NgModule,
104
104
  args: [{
105
- declarations: [AXCircularProgressComponent],
106
- imports: [],
105
+ imports: [AXCircularProgressComponent],
107
106
  exports: [AXCircularProgressComponent],
108
107
  }]
109
108
  }] });
@@ -1 +1 @@
1
- {"version":3,"file":"acorex-components-circular-progress.mjs","sources":["../../../../libs/components/circular-progress/src/lib/circular-progress.component.ts","../../../../libs/components/circular-progress/src/lib/circular-progress.component.html","../../../../libs/components/circular-progress/src/lib/circular-progress.module.ts","../../../../libs/components/circular-progress/src/acorex-components-circular-progress.ts"],"sourcesContent":["import { MXColorComponent } from '@acorex/components/common';\nimport {\n afterNextRender,\n ChangeDetectionStrategy,\n Component,\n effect,\n ElementRef,\n HostBinding,\n input,\n model,\n viewChild,\n ViewEncapsulation,\n} from '@angular/core';\n\nexport type AXCircularProgressMode = 'determinate' | 'indeterminate';\n\n/**\n * The Button is a component which detects user interaction and triggers a corresponding event\n *\n * @category Components\n */\n@Component({\n selector: 'ax-circular-progress',\n templateUrl: './circular-progress.component.html',\n styleUrls: ['./circular-progress.component.scss'],\n inputs: ['color'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n standalone: false,\n})\nexport class AXCircularProgressComponent extends MXColorComponent {\n /**\n * @ignore\n */\n circle = viewChild<ElementRef<HTMLDivElement>>('circle');\n\n /**\n * Defines the current progress of the circular progress component.\n *\n * Change progress mode\n *\n */\n\n mode = input<AXCircularProgressMode>('determinate');\n\n /**\n * Defines the current progress of the circular progress component.\n *\n * The percentage value to set for the progress.\n *\n */\n progress = model<number>();\n\n /**\n * Defines the stroke width of the circular progress component.\n *\n * The stroke width to be set for the circular progress component.\n */\n stroke = model<number>();\n\n /**\n * Defines the stroke width of the circular progress component.\n *\n * Circle size\n */\n size = model<number>();\n\n /**\n * @ignore\n */\n\n constructor() {\n super();\n afterNextRender(() => {\n this.setCircularSize();\n this.updateProgress();\n });\n effect(() => {\n this.setCircularSize();\n this.updateProgress();\n });\n }\n\n /**\n * @ignore\n */\n @HostBinding('class')\n private get __hostClass(): string {\n return `ax-${this['color']}`;\n }\n\n /**\n * @ignore\n */\n setCircularSize() {\n if (this.circle()) {\n this.circle().nativeElement.style.setProperty(\n '--ax-comp-circular-progress-stroke-size',\n `${this.size() - this.stroke()}px`,\n );\n this.circle().nativeElement.style.setProperty(\n '--ax-comp-circular-progress-circle-size',\n `${this.size()}px`,\n );\n }\n }\n\n /**\n * @ignore\n */\n updateProgress() {\n if (this.circle()) {\n this.circle().nativeElement.style.background = `conic-gradient(var(--ax-comp-progress-circular-color) ${\n this.progress() * 3.6\n }deg, var(--ax-comp-progress-circular-line-color) 0deg)`;\n }\n }\n /**\n * @ignore\n */\n setIndeterminateMode() {\n if (this.mode() === 'indeterminate' && !this.progress()) {\n this.progress.set(65);\n }\n }\n}\n","<ng-content select=\"ax-prefix\"></ng-content>\n<div class=\"ax-progress-circular ax-progress-{{mode()}}\" #circle>\n <span class=\"ax-progress-content\">\n <ng-content></ng-content>\n </span>\n</div>\n\n<ng-content select=\"ax-suffix\"></ng-content>","import { NgModule } from '@angular/core';\nimport { AXCircularProgressComponent } from './circular-progress.component';\n\n@NgModule({\n declarations: [AXCircularProgressComponent],\n imports: [],\n exports: [AXCircularProgressComponent],\n})\nexport class AXCircularProgressModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;AAgBA;;;;AAIG;AAUG,MAAO,2BAA4B,SAAQ,gBAAgB,CAAA;AAqC/D;;AAEG;AAEH,IAAA,WAAA,GAAA;AACE,QAAA,KAAK,EAAE;AAzCT;;AAEG;AACH,QAAA,IAAA,CAAA,MAAM,GAAG,SAAS,CAA6B,QAAQ,CAAC;AAExD;;;;;AAKG;AAEH,QAAA,IAAA,CAAA,IAAI,GAAG,KAAK,CAAyB,aAAa,CAAC;AAEnD;;;;;AAKG;QACH,IAAQ,CAAA,QAAA,GAAG,KAAK,EAAU;AAE1B;;;;AAIG;QACH,IAAM,CAAA,MAAA,GAAG,KAAK,EAAU;AAExB;;;;AAIG;QACH,IAAI,CAAA,IAAA,GAAG,KAAK,EAAU;QAQpB,eAAe,CAAC,MAAK;YACnB,IAAI,CAAC,eAAe,EAAE;YACtB,IAAI,CAAC,cAAc,EAAE;AACvB,SAAC,CAAC;QACF,MA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AA,EAAA,IAAA,EAAA,2BAA2B,i9BC9BxC,iQAO4C,EAAA,MAAA,EAAA,CAAA,6+EAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,aAAA,EAAA,EAAA,CAAA,iBAAA,CAAA,IAAA,EAAA,CAAA,CAAA;;2FDuB/B,2BAA2B,EAAA,UAAA,EAAA,CAAA;kBATvC,SAAS;AACE,YAAA,IAAA,EAAA,CAAA,EAAA,QAAA,EAAA,sBAAsB,EAGxB,MAAA,EAAA,CAAC,OAAO,CAAC,EACA,eAAA,EAAA,uBAAuB,CAAC,MAAM,EAChC,aAAA,EAAA,iBAAiB,CAAC,IAAI,cACzB,KAAK,EAAA,QAAA,EAAA,iQAAA,EAAA,MAAA,EAAA,CAAA,6+EAAA,CAAA,EAAA;wDA2DL,WAAW,EAAA,CAAA;sBADtB,WAAW;uBAAC,OAAO;;;ME9ET,wBAAwB,CAAA;8GAAxB,wBAAwB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA;+GAAxB,wBAAwB,EAAA,YAAA,EAAA,CAJpB,2BAA2B,CAAA,EAAA,OAAA,EAAA,CAEhC,2BAA2B,CAAA,EAAA,CAAA,CAAA;+GAE1B,wBAAwB,EAAA,CAAA,CAAA;;2FAAxB,wBAAwB,EAAA,UAAA,EAAA,CAAA;kBALpC,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACR,YAAY,EAAE,CAAC,2BAA2B,CAAC;AAC3C,oBAAA,OAAO,EAAE,EAAE;oBACX,OAAO,EAAE,CAAC,2BAA2B,CAAC;AACvC,iBAAA;;;ACPD;;AAEG;;;;"}
1
+ {"version":3,"file":"acorex-components-circular-progress.mjs","sources":["../../../../libs/components/circular-progress/src/lib/circular-progress.component.ts","../../../../libs/components/circular-progress/src/lib/circular-progress.component.html","../../../../libs/components/circular-progress/src/lib/circular-progress.module.ts","../../../../libs/components/circular-progress/src/acorex-components-circular-progress.ts"],"sourcesContent":["import { MXColorComponent } from '@acorex/components/common';\nimport {\n afterNextRender,\n ChangeDetectionStrategy,\n Component,\n effect,\n ElementRef,\n HostBinding,\n input,\n model,\n viewChild,\n ViewEncapsulation,\n} from '@angular/core';\n\nexport type AXCircularProgressMode = 'determinate' | 'indeterminate';\n\n/**\n * The Button is a component which detects user interaction and triggers a corresponding event\n *\n * @category Components\n */\n@Component({\n selector: 'ax-circular-progress',\n templateUrl: './circular-progress.component.html',\n styleUrls: ['./circular-progress.component.scss'],\n inputs: ['color'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n})\nexport class AXCircularProgressComponent extends MXColorComponent {\n /**\n * @ignore\n */\n circle = viewChild<ElementRef<HTMLDivElement>>('circle');\n\n /**\n * Defines the current progress of the circular progress component.\n *\n * Change progress mode\n *\n */\n\n mode = input<AXCircularProgressMode>('determinate');\n\n /**\n * Defines the current progress of the circular progress component.\n *\n * The percentage value to set for the progress.\n *\n */\n progress = model<number>();\n\n /**\n * Defines the stroke width of the circular progress component.\n *\n * The stroke width to be set for the circular progress component.\n */\n stroke = model<number>();\n\n /**\n * Defines the stroke width of the circular progress component.\n *\n * Circle size\n */\n size = model<number>();\n\n /**\n * @ignore\n */\n\n constructor() {\n super();\n afterNextRender(() => {\n this.setCircularSize();\n this.updateProgress();\n });\n effect(() => {\n this.setCircularSize();\n this.updateProgress();\n });\n }\n\n /**\n * @ignore\n */\n @HostBinding('class')\n private get __hostClass(): string {\n return `ax-${this['color']}`;\n }\n\n /**\n * @ignore\n */\n setCircularSize() {\n if (this.circle()) {\n this.circle().nativeElement.style.setProperty('--ax-comp-circular-progress-stroke-size', `${this.size() - this.stroke()}px`);\n this.circle().nativeElement.style.setProperty('--ax-comp-circular-progress-circle-size', `${this.size()}px`);\n }\n }\n\n /**\n * @ignore\n */\n updateProgress() {\n if (this.circle()) {\n this.circle().nativeElement.style.background = `conic-gradient(var(--ax-comp-progress-circular-color) ${\n this.progress() * 3.6\n }deg, var(--ax-comp-progress-circular-line-color) 0deg)`;\n }\n }\n /**\n * @ignore\n */\n setIndeterminateMode() {\n if (this.mode() === 'indeterminate' && !this.progress()) {\n this.progress.set(65);\n }\n }\n}\n","<ng-content select=\"ax-prefix\"></ng-content>\n<div class=\"ax-progress-circular ax-progress-{{mode()}}\" #circle>\n <span class=\"ax-progress-content\">\n <ng-content></ng-content>\n </span>\n</div>\n\n<ng-content select=\"ax-suffix\"></ng-content>","import { NgModule } from '@angular/core';\nimport { AXCircularProgressComponent } from './circular-progress.component';\n\n@NgModule({\n imports: [AXCircularProgressComponent],\n exports: [AXCircularProgressComponent],\n})\nexport class AXCircularProgressModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;AAgBA;;;;AAIG;AASG,MAAO,2BAA4B,SAAQ,gBAAgB,CAAA;AAqC/D;;AAEG;AAEH,IAAA,WAAA,GAAA;AACE,QAAA,KAAK,EAAE;AAzCT;;AAEG;AACH,QAAA,IAAA,CAAA,MAAM,GAAG,SAAS,CAA6B,QAAQ,CAAC;AAExD;;;;;AAKG;AAEH,QAAA,IAAA,CAAA,IAAI,GAAG,KAAK,CAAyB,aAAa,CAAC;AAEnD;;;;;AAKG;QACH,IAAQ,CAAA,QAAA,GAAG,KAAK,EAAU;AAE1B;;;;AAIG;QACH,IAAM,CAAA,MAAA,GAAG,KAAK,EAAU;AAExB;;;;AAIG;QACH,IAAI,CAAA,IAAA,GAAG,KAAK,EAAU;QAQpB,eAAe,CAAC,MAAK;YACnB,IAAI,CAAC,eAAe,EAAE;YACtB,IAAI,CAAC,cAAc,EAAE;AACvB,SAAC,CAAC;QACF,MAAM,CAAC,MAAK;YACV,IAAI,CAAC,eAAe,EAAE;YACtB,IAAI,CAAC,cAAc,EAAE;AACvB,SAAC,CAAC;;AAGJ;;AAEG;AACH,IAAA,IACY,WAAW,GAAA;AACrB,QAAA,OA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AAA,EAAA,CAAA,iBAAA,CAAA,IAAA,EAAA,CAAA,CAAA;;2FDsB/B,2BAA2B,EAAA,UAAA,EAAA,CAAA;kBARvC,SAAS;+BACE,sBAAsB,EAAA,MAAA,EAGxB,CAAC,OAAO,CAAC,EAAA,eAAA,EACA,uBAAuB,CAAC,MAAM,EAAA,aAAA,EAChC,iBAAiB,CAAC,IAAI,EAAA,QAAA,EAAA,iQAAA,EAAA,MAAA,EAAA,CAAA,6+EAAA,CAAA,EAAA;wDA2DzB,WAAW,EAAA,CAAA;sBADtB,WAAW;uBAAC,OAAO;;;ME9ET,wBAAwB,CAAA;8GAAxB,wBAAwB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA;+GAAxB,wBAAwB,EAAA,OAAA,EAAA,CAHzB,2BAA2B,CAAA,EAAA,OAAA,EAAA,CAC3B,2BAA2B,CAAA,EAAA,CAAA,CAAA;+GAE1B,wBAAwB,EAAA,CAAA,CAAA;;2FAAxB,wBAAwB,EAAA,UAAA,EAAA,CAAA;kBAJpC,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACR,OAAO,EAAE,CAAC,2BAA2B,CAAC;oBACtC,OAAO,EAAE,CAAC,2BAA2B,CAAC;AACvC,iBAAA;;;ACND;;AAEG;;;;"}
@@ -1,13 +1,11 @@
1
1
  import * as i1 from '@acorex/components/common';
2
2
  import { AXClickEvent, MXInteractiveComponent, MXLookComponent, MXBaseComponent, MXLookableComponent } from '@acorex/components/common';
3
3
  import * as i0 from '@angular/core';
4
- import { EventEmitter, HostBinding, Input, Output, Optional, Host, ViewEncapsulation, ChangeDetectionStrategy, Component, ContentChildren, NgModule } from '@angular/core';
4
+ import { EventEmitter, Component, ChangeDetectionStrategy, ViewEncapsulation, Optional, Host, Output, Input, HostBinding, ContentChildren, NgModule } from '@angular/core';
5
5
  import { classes } from 'polytype';
6
- import { trigger, state, transition, style, AUTO_STYLE, animate } from '@angular/animations';
7
- import * as i2 from '@angular/common';
8
- import { CommonModule } from '@angular/common';
9
- import * as i3 from '@acorex/components/loading';
10
- import { AXLoadingModule } from '@acorex/components/loading';
6
+ import { AXLoadingComponent, AXLoadingModule } from '@acorex/components/loading';
7
+ import { trigger, state, style, AUTO_STYLE, transition, animate } from '@angular/animations';
8
+ import { NgTemplateOutlet, NgClass, CommonModule } from '@angular/common';
11
9
 
12
10
  class AXCollapseClickEvent extends AXClickEvent {
13
11
  constructor() {
@@ -154,8 +152,8 @@ class AXCollapseComponent extends classes(MXInteractiveComponent, MXLookComponen
154
152
  get __hostClass() {
155
153
  return [`${this.disabled ? 'ax-state-disabled' : ''}`, `ax-${this.parent?.look ? this.parent.look : this.look}`];
156
154
  }
157
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXCollapseComponent, deps: [{ token: i1.MXLookableComponent, host: true, optional: true }], target: i0.ɵɵFactoryTarget.Component }); }
158
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.0.3", type: AXCollapseComponent, isStandalone: false, selector: "ax-collapse", inputs: { disabled: "disabled", look: "look", isCollapsed: "isCollapsed", showHeader: "showHeader", caption: "caption", icon: "icon", isLoading: "isLoading", headerTemplate: "headerTemplate" }, outputs: { onClick: "onClick", isCollapsedChange: "isCollapsedChange" }, host: { properties: { "class": "this.__hostClass" } }, usesInheritance: true, ngImport: i0, template: "@if (showHeader) {\n <div class=\"ax-collapse-header\" [class.ax-state-collapsed]=\"isCollapsed\" (click)=\"handleHeaderClick($event)\">\n @if (headerTemplate) {\n <div class=\"ax-collapse-custom-header-container\">\n <ng-container [ngTemplateOutlet]=\"headerTemplate\" [ngTemplateOutletContext]=\"{ $implicit: { caption, isCollapsed } }\"></ng-container>\n </div>\n } @else {\n <div class=\"ax-collapse-header-container\">\n <div class=\"ax-collapse-header-start\">\n <span class=\"ax-collapse-header-icon\" [class]=\"icon\"> </span>\n <span>\n {{ caption }}\n </span>\n </div>\n <div class=\"ax-collapse-header-end\">\n @if (isLoading) {\n <ax-loading></ax-loading>\n } @else {\n <span class=\"ax-icon ax-icon-chevron-left ax-collapse-arrow\" [ngClass]=\"{ '-rotation-90': isCollapsed, 'rotation-90': !isCollapsed }\"></span>\n }\n </div>\n </div>\n }\n </div>\n}\n<div class=\"ax-collapse-body\" [@collapse]=\"isCollapsed\">\n <div class=\"ax-collapse-body-content\">\n <ng-content></ng-content>\n </div>\n</div>\n", styles: ["ax-collapse-group ax-collapse.ax-solid{--ax-comp-collapse-bg-color: var(--ax-sys-color-lightest-surface);--ax-comp-collapse-border-color: var(--ax-sys-color-border-lightest-surface);--ax-comp-collapse-border-width: 1px}.ax-dark ax-collapse-group ax-collapse.ax-solid{--ax-comp-collapse-bg-color: var(--ax-sys-color-darkest-surface);--ax-comp-collapse-border-color: var(--ax-sys-color-border-darkest-surface)}ax-collapse-group ax-collapse.ax-fill{--ax-comp-collapse-bg-color: var(--ax-sys-color-surface)}ax-collapse-group ax-collapse.ax-flat{--ax-comp-collapse-border-color: var(--ax-sys-color-border-lightest-surface);--ax-comp-collapse-border-width: 1px}ax-collapse-group ax-collapse.ax-outline{--ax-comp-collapse-border-color: var(--ax-sys-color-border-surface);--ax-comp-collapse-border-width: 1px}ax-collapse-group ax-collapse{--ax-comp-collapse-margin: .5rem}ax-collapse,ax-collapse-group{display:block;width:100%;overflow:hidden;font-size:1rem;line-height:1.5rem}ax-collapse-group ax-collapse{margin-bottom:var(--ax-comp-collapse-margin)}ax-collapse-group ax-collapse.ax-solid{border-radius:var(--ax-sys-border-radius);border-width:var(--ax-comp-collapse-border-width);border-color:rgba(var(--ax-comp-collapse-border-color))}ax-collapse-group ax-collapse.ax-solid .ax-collapse-header{background-color:rgba(var(--ax-comp-collapse-bg-color))}ax-collapse-group ax-collapse.ax-fill .ax-collapse-header{border-radius:var(--ax-sys-border-radius);background-color:rgba(var(--ax-comp-collapse-bg-color))}ax-collapse-group ax-collapse.ax-outline{border-radius:var(--ax-sys-border-radius);border-width:var(--ax-comp-collapse-border-width);border-color:rgba(var(--ax-comp-collapse-border-color))}ax-collapse-group ax-collapse.ax-outline .ax-collapse-header{background-color:transparent}ax-collapse-group ax-collapse.ax-flat{border-bottom-width:var(--ax-comp-collapse-border-width);border-color:rgba(var(--ax-comp-collapse-border-color))}ax-collapse-group ax-collapse.ax-flat .ax-collapse-header{background-color:transparent}ax-collapse.ax-state-disabled{cursor:not-allowed;opacity:.5}ax-collapse .ax-collapse-header,ax-collapse .ax-collapse-body{font-size:.875rem;line-height:1.25rem;color:rgba(var(--ax-sys-color-on-surface-high))!important}ax-collapse .ax-collapse-header{cursor:pointer;-webkit-user-select:none;user-select:none;padding:.75rem}ax-collapse .ax-collapse-header .ax-collapse-header-container{display:flex;justify-content:space-between}ax-collapse .ax-collapse-header .ax-collapse-header-container .ax-collapse-header-start{display:flex;align-items:center}ax-collapse .ax-collapse-header .ax-collapse-header-container .ax-collapse-header-start:not(:empty) .ax-collapse-header-icon{padding-inline-end:.5rem}ax-collapse .ax-collapse-header .ax-collapse-header-container .ax-collapse-header-end{display:flex;height:1.5rem;width:1.5rem;align-items:center;justify-content:center}ax-collapse .ax-collapse-header .ax-collapse-header-container .ax-collapse-header-end .ax-collapse-arrow{transition-property:all;transition-duration:var(--ax-sys-transition-duration);transition-timing-function:var(--ax-sys-transition-timing-function);display:block}ax-collapse .ax-collapse-header .ax-collapse-header-container .ax-collapse-header-end .ax-collapse-arrow.-rotation-90{transform:rotate(-90deg)}ax-collapse .ax-collapse-header .ax-collapse-header-container .ax-collapse-header-end .ax-collapse-arrow.rotation-90{transform:rotate(90deg)}ax-collapse .ax-collapse-body .ax-collapse-body-content{padding:1rem;padding-inline-end:1rem;padding-inline-start:1.25rem}\n"], dependencies: [{ kind: "directive", type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i2.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: i3.AXLoadingComponent, selector: "ax-loading", inputs: ["visible", "type", "context"], outputs: ["visibleChange"] }], animations: [
155
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.7", ngImport: i0, type: AXCollapseComponent, deps: [{ token: i1.MXLookableComponent, host: true, optional: true }], target: i0.ɵɵFactoryTarget.Component }); }
156
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.1.7", type: AXCollapseComponent, isStandalone: true, selector: "ax-collapse", inputs: { disabled: "disabled", look: "look", isCollapsed: "isCollapsed", showHeader: "showHeader", caption: "caption", icon: "icon", isLoading: "isLoading", headerTemplate: "headerTemplate" }, outputs: { onClick: "onClick", isCollapsedChange: "isCollapsedChange" }, host: { properties: { "class": "this.__hostClass" } }, usesInheritance: true, ngImport: i0, template: "@if (showHeader) {\n <div class=\"ax-collapse-header\" [class.ax-state-collapsed]=\"isCollapsed\" (click)=\"handleHeaderClick($event)\">\n @if (headerTemplate) {\n <div class=\"ax-collapse-custom-header-container\">\n <ng-container [ngTemplateOutlet]=\"headerTemplate\" [ngTemplateOutletContext]=\"{ $implicit: { caption, isCollapsed } }\"></ng-container>\n </div>\n } @else {\n <div class=\"ax-collapse-header-container\">\n <div class=\"ax-collapse-header-start\">\n <span class=\"ax-collapse-header-icon\" [class]=\"icon\"> </span>\n <span>\n {{ caption }}\n </span>\n </div>\n <div class=\"ax-collapse-header-end\">\n @if (isLoading) {\n <ax-loading></ax-loading>\n } @else {\n <span class=\"ax-icon ax-icon-chevron-left ax-collapse-arrow\" [ngClass]=\"{ '-rotation-90': isCollapsed, 'rotation-90': !isCollapsed }\"></span>\n }\n </div>\n </div>\n }\n </div>\n}\n<div class=\"ax-collapse-body\" [@collapse]=\"isCollapsed\">\n <div class=\"ax-collapse-body-content\">\n <ng-content></ng-content>\n </div>\n</div>\n", styles: ["ax-collapse-group ax-collapse.ax-solid{--ax-comp-collapse-bg-color: var(--ax-sys-color-lightest-surface);--ax-comp-collapse-border-color: var(--ax-sys-color-border-lightest-surface);--ax-comp-collapse-border-width: 1px}.ax-dark ax-collapse-group ax-collapse.ax-solid{--ax-comp-collapse-bg-color: var(--ax-sys-color-darkest-surface);--ax-comp-collapse-border-color: var(--ax-sys-color-border-darkest-surface)}ax-collapse-group ax-collapse.ax-fill{--ax-comp-collapse-bg-color: var(--ax-sys-color-surface)}ax-collapse-group ax-collapse.ax-flat{--ax-comp-collapse-border-color: var(--ax-sys-color-border-lightest-surface);--ax-comp-collapse-border-width: 1px}ax-collapse-group ax-collapse.ax-outline{--ax-comp-collapse-border-color: var(--ax-sys-color-border-surface);--ax-comp-collapse-border-width: 1px}ax-collapse-group ax-collapse{--ax-comp-collapse-margin: .5rem}ax-collapse,ax-collapse-group{display:block;width:100%;overflow:hidden;font-size:1rem;line-height:1.5rem}ax-collapse-group ax-collapse{margin-bottom:var(--ax-comp-collapse-margin)}ax-collapse-group ax-collapse.ax-solid{border-radius:var(--ax-sys-border-radius);border-width:var(--ax-comp-collapse-border-width);border-color:rgba(var(--ax-comp-collapse-border-color))}ax-collapse-group ax-collapse.ax-solid .ax-collapse-header{background-color:rgba(var(--ax-comp-collapse-bg-color))}ax-collapse-group ax-collapse.ax-fill .ax-collapse-header{border-radius:var(--ax-sys-border-radius);background-color:rgba(var(--ax-comp-collapse-bg-color))}ax-collapse-group ax-collapse.ax-outline{border-radius:var(--ax-sys-border-radius);border-width:var(--ax-comp-collapse-border-width);border-color:rgba(var(--ax-comp-collapse-border-color))}ax-collapse-group ax-collapse.ax-outline .ax-collapse-header{background-color:transparent}ax-collapse-group ax-collapse.ax-flat{border-bottom-width:var(--ax-comp-collapse-border-width);border-color:rgba(var(--ax-comp-collapse-border-color))}ax-collapse-group ax-collapse.ax-flat .ax-collapse-header{background-color:transparent}ax-collapse.ax-state-disabled{cursor:not-allowed;opacity:.5}ax-collapse .ax-collapse-header,ax-collapse .ax-collapse-body{font-size:.875rem;line-height:1.25rem;color:rgba(var(--ax-sys-color-on-surface-high))!important}ax-collapse .ax-collapse-header{cursor:pointer;-webkit-user-select:none;user-select:none;padding:.75rem}ax-collapse .ax-collapse-header .ax-collapse-header-container{display:flex;justify-content:space-between}ax-collapse .ax-collapse-header .ax-collapse-header-container .ax-collapse-header-start{display:flex;align-items:center}ax-collapse .ax-collapse-header .ax-collapse-header-container .ax-collapse-header-start:not(:empty) .ax-collapse-header-icon{padding-inline-end:.5rem}ax-collapse .ax-collapse-header .ax-collapse-header-container .ax-collapse-header-end{display:flex;height:1.5rem;width:1.5rem;align-items:center;justify-content:center}ax-collapse .ax-collapse-header .ax-collapse-header-container .ax-collapse-header-end .ax-collapse-arrow{transition-property:all;transition-duration:var(--ax-sys-transition-duration);transition-timing-function:var(--ax-sys-transition-timing-function);display:block}ax-collapse .ax-collapse-header .ax-collapse-header-container .ax-collapse-header-end .ax-collapse-arrow.-rotation-90{transform:rotate(-90deg)}ax-collapse .ax-collapse-header .ax-collapse-header-container .ax-collapse-header-end .ax-collapse-arrow.rotation-90{transform:rotate(90deg)}ax-collapse .ax-collapse-body .ax-collapse-body-content{padding:1rem;padding-inline-end:1rem;padding-inline-start:1.25rem}\n"], dependencies: [{ kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: AXLoadingComponent, selector: "ax-loading", inputs: ["visible", "type", "context"], outputs: ["visibleChange"] }, { kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }], animations: [
159
157
  trigger('collapse', [
160
158
  state('false', style({ height: AUTO_STYLE, visibility: AUTO_STYLE })),
161
159
  state('true', style({ height: '0', visibility: 'hidden' })),
@@ -164,7 +162,7 @@ class AXCollapseComponent extends classes(MXInteractiveComponent, MXLookComponen
164
162
  ]),
165
163
  ], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
166
164
  }
167
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXCollapseComponent, decorators: [{
165
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.7", ngImport: i0, type: AXCollapseComponent, decorators: [{
168
166
  type: Component,
169
167
  args: [{ selector: 'ax-collapse', inputs: ['disabled', 'look'], changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, animations: [
170
168
  trigger('collapse', [
@@ -173,7 +171,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImpor
173
171
  transition('false => true', animate(150 + 'ms ease-in')),
174
172
  transition('true => false', animate(150 + 'ms ease-out')),
175
173
  ]),
176
- ], standalone: false, template: "@if (showHeader) {\n <div class=\"ax-collapse-header\" [class.ax-state-collapsed]=\"isCollapsed\" (click)=\"handleHeaderClick($event)\">\n @if (headerTemplate) {\n <div class=\"ax-collapse-custom-header-container\">\n <ng-container [ngTemplateOutlet]=\"headerTemplate\" [ngTemplateOutletContext]=\"{ $implicit: { caption, isCollapsed } }\"></ng-container>\n </div>\n } @else {\n <div class=\"ax-collapse-header-container\">\n <div class=\"ax-collapse-header-start\">\n <span class=\"ax-collapse-header-icon\" [class]=\"icon\"> </span>\n <span>\n {{ caption }}\n </span>\n </div>\n <div class=\"ax-collapse-header-end\">\n @if (isLoading) {\n <ax-loading></ax-loading>\n } @else {\n <span class=\"ax-icon ax-icon-chevron-left ax-collapse-arrow\" [ngClass]=\"{ '-rotation-90': isCollapsed, 'rotation-90': !isCollapsed }\"></span>\n }\n </div>\n </div>\n }\n </div>\n}\n<div class=\"ax-collapse-body\" [@collapse]=\"isCollapsed\">\n <div class=\"ax-collapse-body-content\">\n <ng-content></ng-content>\n </div>\n</div>\n", styles: ["ax-collapse-group ax-collapse.ax-solid{--ax-comp-collapse-bg-color: var(--ax-sys-color-lightest-surface);--ax-comp-collapse-border-color: var(--ax-sys-color-border-lightest-surface);--ax-comp-collapse-border-width: 1px}.ax-dark ax-collapse-group ax-collapse.ax-solid{--ax-comp-collapse-bg-color: var(--ax-sys-color-darkest-surface);--ax-comp-collapse-border-color: var(--ax-sys-color-border-darkest-surface)}ax-collapse-group ax-collapse.ax-fill{--ax-comp-collapse-bg-color: var(--ax-sys-color-surface)}ax-collapse-group ax-collapse.ax-flat{--ax-comp-collapse-border-color: var(--ax-sys-color-border-lightest-surface);--ax-comp-collapse-border-width: 1px}ax-collapse-group ax-collapse.ax-outline{--ax-comp-collapse-border-color: var(--ax-sys-color-border-surface);--ax-comp-collapse-border-width: 1px}ax-collapse-group ax-collapse{--ax-comp-collapse-margin: .5rem}ax-collapse,ax-collapse-group{display:block;width:100%;overflow:hidden;font-size:1rem;line-height:1.5rem}ax-collapse-group ax-collapse{margin-bottom:var(--ax-comp-collapse-margin)}ax-collapse-group ax-collapse.ax-solid{border-radius:var(--ax-sys-border-radius);border-width:var(--ax-comp-collapse-border-width);border-color:rgba(var(--ax-comp-collapse-border-color))}ax-collapse-group ax-collapse.ax-solid .ax-collapse-header{background-color:rgba(var(--ax-comp-collapse-bg-color))}ax-collapse-group ax-collapse.ax-fill .ax-collapse-header{border-radius:var(--ax-sys-border-radius);background-color:rgba(var(--ax-comp-collapse-bg-color))}ax-collapse-group ax-collapse.ax-outline{border-radius:var(--ax-sys-border-radius);border-width:var(--ax-comp-collapse-border-width);border-color:rgba(var(--ax-comp-collapse-border-color))}ax-collapse-group ax-collapse.ax-outline .ax-collapse-header{background-color:transparent}ax-collapse-group ax-collapse.ax-flat{border-bottom-width:var(--ax-comp-collapse-border-width);border-color:rgba(var(--ax-comp-collapse-border-color))}ax-collapse-group ax-collapse.ax-flat .ax-collapse-header{background-color:transparent}ax-collapse.ax-state-disabled{cursor:not-allowed;opacity:.5}ax-collapse .ax-collapse-header,ax-collapse .ax-collapse-body{font-size:.875rem;line-height:1.25rem;color:rgba(var(--ax-sys-color-on-surface-high))!important}ax-collapse .ax-collapse-header{cursor:pointer;-webkit-user-select:none;user-select:none;padding:.75rem}ax-collapse .ax-collapse-header .ax-collapse-header-container{display:flex;justify-content:space-between}ax-collapse .ax-collapse-header .ax-collapse-header-container .ax-collapse-header-start{display:flex;align-items:center}ax-collapse .ax-collapse-header .ax-collapse-header-container .ax-collapse-header-start:not(:empty) .ax-collapse-header-icon{padding-inline-end:.5rem}ax-collapse .ax-collapse-header .ax-collapse-header-container .ax-collapse-header-end{display:flex;height:1.5rem;width:1.5rem;align-items:center;justify-content:center}ax-collapse .ax-collapse-header .ax-collapse-header-container .ax-collapse-header-end .ax-collapse-arrow{transition-property:all;transition-duration:var(--ax-sys-transition-duration);transition-timing-function:var(--ax-sys-transition-timing-function);display:block}ax-collapse .ax-collapse-header .ax-collapse-header-container .ax-collapse-header-end .ax-collapse-arrow.-rotation-90{transform:rotate(-90deg)}ax-collapse .ax-collapse-header .ax-collapse-header-container .ax-collapse-header-end .ax-collapse-arrow.rotation-90{transform:rotate(90deg)}ax-collapse .ax-collapse-body .ax-collapse-body-content{padding:1rem;padding-inline-end:1rem;padding-inline-start:1.25rem}\n"] }]
174
+ ], imports: [NgTemplateOutlet, AXLoadingComponent, NgClass], template: "@if (showHeader) {\n <div class=\"ax-collapse-header\" [class.ax-state-collapsed]=\"isCollapsed\" (click)=\"handleHeaderClick($event)\">\n @if (headerTemplate) {\n <div class=\"ax-collapse-custom-header-container\">\n <ng-container [ngTemplateOutlet]=\"headerTemplate\" [ngTemplateOutletContext]=\"{ $implicit: { caption, isCollapsed } }\"></ng-container>\n </div>\n } @else {\n <div class=\"ax-collapse-header-container\">\n <div class=\"ax-collapse-header-start\">\n <span class=\"ax-collapse-header-icon\" [class]=\"icon\"> </span>\n <span>\n {{ caption }}\n </span>\n </div>\n <div class=\"ax-collapse-header-end\">\n @if (isLoading) {\n <ax-loading></ax-loading>\n } @else {\n <span class=\"ax-icon ax-icon-chevron-left ax-collapse-arrow\" [ngClass]=\"{ '-rotation-90': isCollapsed, 'rotation-90': !isCollapsed }\"></span>\n }\n </div>\n </div>\n }\n </div>\n}\n<div class=\"ax-collapse-body\" [@collapse]=\"isCollapsed\">\n <div class=\"ax-collapse-body-content\">\n <ng-content></ng-content>\n </div>\n</div>\n", styles: ["ax-collapse-group ax-collapse.ax-solid{--ax-comp-collapse-bg-color: var(--ax-sys-color-lightest-surface);--ax-comp-collapse-border-color: var(--ax-sys-color-border-lightest-surface);--ax-comp-collapse-border-width: 1px}.ax-dark ax-collapse-group ax-collapse.ax-solid{--ax-comp-collapse-bg-color: var(--ax-sys-color-darkest-surface);--ax-comp-collapse-border-color: var(--ax-sys-color-border-darkest-surface)}ax-collapse-group ax-collapse.ax-fill{--ax-comp-collapse-bg-color: var(--ax-sys-color-surface)}ax-collapse-group ax-collapse.ax-flat{--ax-comp-collapse-border-color: var(--ax-sys-color-border-lightest-surface);--ax-comp-collapse-border-width: 1px}ax-collapse-group ax-collapse.ax-outline{--ax-comp-collapse-border-color: var(--ax-sys-color-border-surface);--ax-comp-collapse-border-width: 1px}ax-collapse-group ax-collapse{--ax-comp-collapse-margin: .5rem}ax-collapse,ax-collapse-group{display:block;width:100%;overflow:hidden;font-size:1rem;line-height:1.5rem}ax-collapse-group ax-collapse{margin-bottom:var(--ax-comp-collapse-margin)}ax-collapse-group ax-collapse.ax-solid{border-radius:var(--ax-sys-border-radius);border-width:var(--ax-comp-collapse-border-width);border-color:rgba(var(--ax-comp-collapse-border-color))}ax-collapse-group ax-collapse.ax-solid .ax-collapse-header{background-color:rgba(var(--ax-comp-collapse-bg-color))}ax-collapse-group ax-collapse.ax-fill .ax-collapse-header{border-radius:var(--ax-sys-border-radius);background-color:rgba(var(--ax-comp-collapse-bg-color))}ax-collapse-group ax-collapse.ax-outline{border-radius:var(--ax-sys-border-radius);border-width:var(--ax-comp-collapse-border-width);border-color:rgba(var(--ax-comp-collapse-border-color))}ax-collapse-group ax-collapse.ax-outline .ax-collapse-header{background-color:transparent}ax-collapse-group ax-collapse.ax-flat{border-bottom-width:var(--ax-comp-collapse-border-width);border-color:rgba(var(--ax-comp-collapse-border-color))}ax-collapse-group ax-collapse.ax-flat .ax-collapse-header{background-color:transparent}ax-collapse.ax-state-disabled{cursor:not-allowed;opacity:.5}ax-collapse .ax-collapse-header,ax-collapse .ax-collapse-body{font-size:.875rem;line-height:1.25rem;color:rgba(var(--ax-sys-color-on-surface-high))!important}ax-collapse .ax-collapse-header{cursor:pointer;-webkit-user-select:none;user-select:none;padding:.75rem}ax-collapse .ax-collapse-header .ax-collapse-header-container{display:flex;justify-content:space-between}ax-collapse .ax-collapse-header .ax-collapse-header-container .ax-collapse-header-start{display:flex;align-items:center}ax-collapse .ax-collapse-header .ax-collapse-header-container .ax-collapse-header-start:not(:empty) .ax-collapse-header-icon{padding-inline-end:.5rem}ax-collapse .ax-collapse-header .ax-collapse-header-container .ax-collapse-header-end{display:flex;height:1.5rem;width:1.5rem;align-items:center;justify-content:center}ax-collapse .ax-collapse-header .ax-collapse-header-container .ax-collapse-header-end .ax-collapse-arrow{transition-property:all;transition-duration:var(--ax-sys-transition-duration);transition-timing-function:var(--ax-sys-transition-timing-function);display:block}ax-collapse .ax-collapse-header .ax-collapse-header-container .ax-collapse-header-end .ax-collapse-arrow.-rotation-90{transform:rotate(-90deg)}ax-collapse .ax-collapse-header .ax-collapse-header-container .ax-collapse-header-end .ax-collapse-arrow.rotation-90{transform:rotate(90deg)}ax-collapse .ax-collapse-body .ax-collapse-body-content{padding:1rem;padding-inline-end:1rem;padding-inline-start:1.25rem}\n"] }]
177
175
  }], ctorParameters: () => [{ type: i1.MXLookableComponent, decorators: [{
178
176
  type: Optional
179
177
  }, {
@@ -326,15 +324,15 @@ class AXCollapseGroupComponent extends classes(MXBaseComponent, MXLookComponent)
326
324
  get __hostClass() {
327
325
  return ['ax-collapse-group', `ax-${this.look}`];
328
326
  }
329
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXCollapseGroupComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
330
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.0.3", type: AXCollapseGroupComponent, isStandalone: false, selector: "ax-collapse-group", inputs: { look: "look", accordion: "accordion", activeIndex: "activeIndex" }, outputs: { accordionChange: "accordionChange", activeIndexChange: "activeIndexChange" }, host: { properties: { "class": "this.__hostClass" } }, providers: [
327
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.7", ngImport: i0, type: AXCollapseGroupComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
328
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.1.7", type: AXCollapseGroupComponent, isStandalone: true, selector: "ax-collapse-group", inputs: { look: "look", accordion: "accordion", activeIndex: "activeIndex" }, outputs: { accordionChange: "accordionChange", activeIndexChange: "activeIndexChange" }, host: { properties: { "class": "this.__hostClass" } }, providers: [
331
329
  {
332
330
  provide: MXLookableComponent,
333
331
  useExisting: AXCollapseGroupComponent,
334
332
  },
335
333
  ], queries: [{ propertyName: "_items", predicate: AXCollapseComponent }], usesInheritance: true, ngImport: i0, template: `<ng-content select="ax-collapse"></ng-content>`, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
336
334
  }
337
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXCollapseGroupComponent, decorators: [{
335
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.7", ngImport: i0, type: AXCollapseGroupComponent, decorators: [{
338
336
  type: Component,
339
337
  args: [{
340
338
  selector: 'ax-collapse-group',
@@ -348,7 +346,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImpor
348
346
  useExisting: AXCollapseGroupComponent,
349
347
  },
350
348
  ],
351
- standalone: false,
352
349
  }]
353
350
  }], propDecorators: { accordionChange: [{
354
351
  type: Output
@@ -369,15 +366,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImpor
369
366
  const COMPONENT = [AXCollapseComponent, AXCollapseGroupComponent];
370
367
  const MODULES = [CommonModule, AXLoadingModule];
371
368
  class AXCollapseModule {
372
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXCollapseModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
373
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.0.3", ngImport: i0, type: AXCollapseModule, declarations: [AXCollapseComponent, AXCollapseGroupComponent], imports: [CommonModule, AXLoadingModule], exports: [AXCollapseComponent, AXCollapseGroupComponent] }); }
374
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXCollapseModule, imports: [MODULES] }); }
369
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.7", ngImport: i0, type: AXCollapseModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
370
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.1.7", ngImport: i0, type: AXCollapseModule, imports: [CommonModule, AXLoadingModule, AXCollapseComponent, AXCollapseGroupComponent], exports: [AXCollapseComponent, AXCollapseGroupComponent] }); }
371
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.1.7", ngImport: i0, type: AXCollapseModule, imports: [MODULES, AXCollapseComponent] }); }
375
372
  }
376
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXCollapseModule, decorators: [{
373
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.7", ngImport: i0, type: AXCollapseModule, decorators: [{
377
374
  type: NgModule,
378
375
  args: [{
379
- declarations: [...COMPONENT],
380
- imports: [...MODULES],
376
+ imports: [...MODULES, ...COMPONENT],
381
377
  exports: [...COMPONENT],
382
378
  providers: [],
383
379
  }]
@@ -1 +1 @@
1
- {"version":3,"file":"acorex-components-collapse.mjs","sources":["../../../../libs/components/collapse/src/lib/collapse.component.ts","../../../../libs/components/collapse/src/lib/collapse.component.html","../../../../libs/components/collapse/src/lib/collapse-group.component.ts","../../../../libs/components/collapse/src/lib/collapse.module.ts","../../../../libs/components/collapse/src/acorex-components-collapse.ts"],"sourcesContent":["import { AXClickEvent, MXInteractiveComponent, MXLookComponent, MXLookableComponent } from '@acorex/components/common';\nimport { AUTO_STYLE, animate, state, style, transition, trigger } from '@angular/animations';\nimport { ChangeDetectionStrategy, Component, EventEmitter, Host, HostBinding, Input, Optional, Output, TemplateRef, ViewEncapsulation } from '@angular/core';\nimport { classes } from 'polytype';\n\nexport class AXCollapseClickEvent extends AXClickEvent {\n handled = false;\n}\n\n/**\n * A component that provides a collapsible section with animated transitions.\n *\n * @category Components\n */\n@Component({\n selector: 'ax-collapse',\n templateUrl: './collapse.component.html',\n inputs: ['disabled', 'look'],\n styleUrls: ['./collapse.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n animations: [\n trigger('collapse', [\n state('false', style({ height: AUTO_STYLE, visibility: AUTO_STYLE })),\n state('true', style({ height: '0', visibility: 'hidden' })),\n transition('false => true', animate(150 + 'ms ease-in')),\n transition('true => false', animate(150 + 'ms ease-out')),\n ]),\n ],\n standalone: false,\n})\nexport class AXCollapseComponent extends classes(MXInteractiveComponent, MXLookComponent) {\n /**\n * @ignore\n */\n constructor(\n @Optional()\n @Host()\n private parent?: MXLookableComponent,\n ) {\n super();\n }\n\n /**\n * Fires each time the user clicks the panel header.\n * @event\n */\n @Output()\n onClick: EventEmitter<AXCollapseClickEvent> = new EventEmitter<AXCollapseClickEvent>();\n\n /**\n * Fires an event when the collapse state changes.\n *\n * @event\n */\n @Output()\n isCollapsedChange: EventEmitter<any> = new EventEmitter<any>();\n\n /**\n * @ignore\n */\n private _isCollapsed = false;\n\n /**\n * Providing a boolean value for its collapse state\n */\n @Input()\n public get isCollapsed(): boolean {\n return this._isCollapsed;\n }\n public set isCollapsed(v: boolean) {\n this.setOption({\n name: 'isCollapsed',\n value: v,\n afterCallback: () => {\n this.cdr.detectChanges();\n },\n });\n }\n\n /**\n * @ignore\n */\n private _showHeader = true;\n\n /**\n * Providing a boolean value for show or hide header\n */\n @Input()\n public get showHeader(): boolean {\n return this._showHeader;\n }\n public set showHeader(v: boolean) {\n this.setOption({\n name: 'showHeader',\n value: v,\n afterCallback: () => {\n this.cdr.detectChanges();\n },\n });\n }\n\n /**\n * Sets the caption for the collapse component.\n *\n * @defaultValue ''\n */\n @Input()\n caption = '';\n\n /**\n * Specifies the icon to display in the collapse component.\n *\n * @defaultValue ''\n */\n @Input()\n icon = '';\n\n /**\n * @ignore\n */\n private _isLoading = false;\n\n /**\n * Providing a boolean value for its collapse state\n */\n @Input()\n public get isLoading(): boolean {\n return this._isLoading;\n }\n public set isLoading(v: boolean) {\n this.setOption({\n name: 'isLoading',\n value: v,\n afterCallback: () => {\n this.cdr.detectChanges();\n },\n });\n }\n\n /**\n * Template used for the collapse component's header.\n */\n @Input()\n headerTemplate: TemplateRef<any>;\n\n /**\n * Handles header clicks, emitting a click event and toggling collapse state if not handled.\n *\n * @param e - The native mouse event.\n */\n handleHeaderClick(e: MouseEvent) {\n if (this.disabled || this.isLoading) return;\n const event = {\n component: this,\n htmlElement: this.getHostElement(),\n nativeEvent: e,\n handled: false,\n };\n this.onClick.emit(event);\n if (!event.handled) {\n this.toggle();\n }\n }\n\n /**\n * Expands the collapse component.\n * @ignore\n */\n open() {\n this.isCollapsed = false;\n }\n\n /**\n * Collapses the collapse component.\n * @ignore\n */\n close() {\n this.isCollapsed = true;\n }\n\n /**\n * Toggles the collapse state between expanded and collapsed.\n * @ignore\n */\n toggle() {\n this.isCollapsed = !this.isCollapsed;\n }\n\n /**\n * @ignore\n */\n @HostBinding('class')\n get __hostClass(): string[] {\n return [`${this.disabled ? 'ax-state-disabled' : ''}`, `ax-${this.parent?.look ? this.parent.look : this.look}`];\n }\n}\n","@if (showHeader) {\n <div class=\"ax-collapse-header\" [class.ax-state-collapsed]=\"isCollapsed\" (click)=\"handleHeaderClick($event)\">\n @if (headerTemplate) {\n <div class=\"ax-collapse-custom-header-container\">\n <ng-container [ngTemplateOutlet]=\"headerTemplate\" [ngTemplateOutletContext]=\"{ $implicit: { caption, isCollapsed } }\"></ng-container>\n </div>\n } @else {\n <div class=\"ax-collapse-header-container\">\n <div class=\"ax-collapse-header-start\">\n <span class=\"ax-collapse-header-icon\" [class]=\"icon\"> </span>\n <span>\n {{ caption }}\n </span>\n </div>\n <div class=\"ax-collapse-header-end\">\n @if (isLoading) {\n <ax-loading></ax-loading>\n } @else {\n <span class=\"ax-icon ax-icon-chevron-left ax-collapse-arrow\" [ngClass]=\"{ '-rotation-90': isCollapsed, 'rotation-90': !isCollapsed }\"></span>\n }\n </div>\n </div>\n }\n </div>\n}\n<div class=\"ax-collapse-body\" [@collapse]=\"isCollapsed\">\n <div class=\"ax-collapse-body-content\">\n <ng-content></ng-content>\n </div>\n</div>\n","import { MXBaseComponent, MXLookComponent, MXLookableComponent } from '@acorex/components/common';\nimport {\n AfterViewInit,\n ChangeDetectionStrategy,\n Component,\n ContentChildren,\n EventEmitter,\n HostBinding,\n Input,\n OnDestroy,\n Output,\n QueryList,\n ViewEncapsulation,\n} from '@angular/core';\nimport { classes } from 'polytype';\nimport { Subscription } from 'rxjs';\nimport { AXCollapseComponent } from './collapse.component';\n\n/**\n * Container for collapsible items with configurable styling.\n *\n * @category Components\n */\n@Component({\n selector: 'ax-collapse-group',\n inputs: ['look'],\n template: `<ng-content select=\"ax-collapse\"></ng-content>`,\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n providers: [\n {\n provide: MXLookableComponent,\n useExisting: AXCollapseGroupComponent,\n },\n ],\n standalone: false,\n})\nexport class AXCollapseGroupComponent extends classes(MXBaseComponent, MXLookComponent) implements AfterViewInit, OnDestroy {\n /**\n * Emitted when the accordion state changes.\n *\n * @event\n */\n @Output()\n accordionChange: EventEmitter<boolean> = new EventEmitter();\n\n /**\n * @ignore\n */\n private _accordion?: boolean = false;\n\n /**\n * Enables accordion behavior, allowing only one collapsible item to be expanded at a time\n */\n @Input()\n get accordion(): boolean | undefined {\n return this._accordion;\n }\n set accordion(value: boolean) {\n this.setOption({\n name: 'accordion',\n value,\n afterCallback: (oldValue, newValue) => {\n if (newValue) {\n this.applyAccordion();\n } else {\n this.removeAccordion();\n }\n },\n });\n }\n\n /**\n * Emits when the active index changes.\n * @event\n */\n @Output()\n activeIndexChange: EventEmitter<number> = new EventEmitter<number>();\n\n /**\n * @ignore\n */\n private _activeIndex = 0;\n\n /**\n * Index of the currently active item within the group\n */\n @Input()\n get activeIndex(): number {\n return this._activeIndex;\n }\n set activeIndex(value: number) {\n this.setOption({\n name: 'activeIndex',\n value,\n beforeCallback: (oldValue, newValue) => {\n const len = this._items?.length || 0;\n if (newValue < 0) newValue = 0;\n if (len > 0 && newValue >= len) {\n newValue = len - 1;\n }\n return newValue;\n },\n afterCallback: () => {\n this.applyAccordion();\n },\n });\n }\n\n @ContentChildren(AXCollapseComponent)\n private _items: QueryList<AXCollapseComponent>;\n\n /**\n * @ignore\n */\n private _subs: Subscription[] = [];\n\n /**\n * @ignore\n */\n ngAfterViewInit(): void {\n if (this.accordion) {\n this.applyAccordion();\n }\n }\n\n /**\n * @ignore\n */\n private applyAccordion() {\n if (!this.look) return;\n if (this._items && this._items.length > 1) {\n const activeIndex = this._items.get(this.activeIndex) || this._items.get(0);\n this._items.forEach((c) => (c.isCollapsed = true));\n if (activeIndex) activeIndex.isCollapsed = false;\n\n this._items.forEach((c1: AXCollapseComponent) => {\n const list = this._items.toArray();\n\n this._subs.push(\n // TODO: add and use a new event for status changes\n c1.onClick.subscribe((e) => {\n if (!e.handled) {\n this._activeIndex = list.indexOf(c1);\n list.filter((c2) => c2 != c1).forEach((c) => (c.isCollapsed = true));\n }\n }),\n );\n });\n }\n }\n\n /**\n * @ignore\n */\n private removeAccordion() {\n this._subs.forEach((s) => s.unsubscribe());\n this._subs = [];\n }\n\n /**\n * @ignore\n */\n ngOnDestroy(): void {\n this.removeAccordion();\n }\n\n /**\n * @ignore\n */\n @HostBinding('class')\n private get __hostClass(): string[] {\n return ['ax-collapse-group', `ax-${this.look}`];\n }\n}\n","import { AXLoadingModule } from '@acorex/components/loading';\nimport { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\nimport { AXCollapseGroupComponent } from './collapse-group.component';\nimport { AXCollapseComponent } from './collapse.component';\n\nconst COMPONENT = [AXCollapseComponent, AXCollapseGroupComponent];\n\nconst MODULES = [CommonModule, AXLoadingModule];\n\n@NgModule({\n declarations: [...COMPONENT],\n imports: [...MODULES],\n exports: [...COMPONENT],\n providers: [],\n})\nexport class AXCollapseModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;AAKM,MAAO,oBAAqB,SAAQ,YAAY,CAAA;AAAtD,IAAA,WAAA,GAAA;;QACE,IAAO,CAAA,OAAA,GAAG,KAAK;;AAChB;AAED;;;;AAIG;AAkBG,MAAO,mBAAoB,SAAQ,OAAO,CAAC,sBAAsB,EAAE,eAAe,CAAC,CAAA;AACvF;;AAEG;AACH,IAAA,WAAA,CAGU,MAA4B,EAAA;AAEpC,QAAA,KAAK,EAAE;QAFC,IAAM,CAAA,MAAA,GAAN,MAAM;AAKhB;;;AAGG;AAEH,QAAA,IAAA,CAAA,OAAO,GAAuC,IAAI,YAAY,EAAwB;AAEtF;;;;AAIG;AAEH,QAAA,IAAA,CAAA,iBAAiB,GAAsB,IAAI,YAAY,EAAO;AAE9D;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AAA,EAAA,CAF3B,mBAAmB,EAAE,wBAAwB,CAAA,EAAA,CAAA,CAAA;AAUnD,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,YAJd,OAAO,CAAA,EAAA,CAAA,CAAA;;2FAIT,gBAAgB,EAAA,UAAA,EAAA,CAAA;kBAN5B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,YAAY,EAAE,CAAC,GAAG,SAAS,CAAC;AAC5B,oBAAA,OAAO,EAAE,CAAC,GAAG,OAAO,CAAC;AACrB,oBAAA,OAAO,EAAE,CAAC,GAAG,SAAS,CAAC;AACvB,oBAAA,SAAS,EAAE,EAAE;AACd,iBAAA;;;ACfD;;AAEG;;;;"}
1
+ {"version":3,"file":"acorex-components-collapse.mjs","sources":["../../../../libs/components/collapse/src/lib/collapse.component.ts","../../../../libs/components/collapse/src/lib/collapse.component.html","../../../../libs/components/collapse/src/lib/collapse-group.component.ts","../../../../libs/components/collapse/src/lib/collapse.module.ts","../../../../libs/components/collapse/src/acorex-components-collapse.ts"],"sourcesContent":["import { AXClickEvent, MXInteractiveComponent, MXLookComponent, MXLookableComponent } from '@acorex/components/common';\nimport { AXLoadingComponent } from '@acorex/components/loading';\nimport { AUTO_STYLE, animate, state, style, transition, trigger } from '@angular/animations';\nimport { NgClass, NgTemplateOutlet } from '@angular/common';\nimport { ChangeDetectionStrategy, Component, EventEmitter, Host, HostBinding, Input, Optional, Output, TemplateRef, ViewEncapsulation } from '@angular/core';\nimport { classes } from 'polytype';\n\nexport class AXCollapseClickEvent extends AXClickEvent {\n handled = false;\n}\n\n/**\n * A component that provides a collapsible section with animated transitions.\n *\n * @category Components\n */\n@Component({\n selector: 'ax-collapse',\n templateUrl: './collapse.component.html',\n inputs: ['disabled', 'look'],\n styleUrls: ['./collapse.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n animations: [\n trigger('collapse', [\n state('false', style({ height: AUTO_STYLE, visibility: AUTO_STYLE })),\n state('true', style({ height: '0', visibility: 'hidden' })),\n transition('false => true', animate(150 + 'ms ease-in')),\n transition('true => false', animate(150 + 'ms ease-out')),\n ]),\n ],\n imports: [NgTemplateOutlet, AXLoadingComponent, NgClass],\n})\nexport class AXCollapseComponent extends classes(MXInteractiveComponent, MXLookComponent) {\n /**\n * @ignore\n */\n constructor(\n @Optional()\n @Host()\n private parent?: MXLookableComponent,\n ) {\n super();\n }\n\n /**\n * Fires each time the user clicks the panel header.\n * @event\n */\n @Output()\n onClick: EventEmitter<AXCollapseClickEvent> = new EventEmitter<AXCollapseClickEvent>();\n\n /**\n * Fires an event when the collapse state changes.\n *\n * @event\n */\n @Output()\n isCollapsedChange: EventEmitter<any> = new EventEmitter<any>();\n\n /**\n * @ignore\n */\n private _isCollapsed = false;\n\n /**\n * Providing a boolean value for its collapse state\n */\n @Input()\n public get isCollapsed(): boolean {\n return this._isCollapsed;\n }\n public set isCollapsed(v: boolean) {\n this.setOption({\n name: 'isCollapsed',\n value: v,\n afterCallback: () => {\n this.cdr.detectChanges();\n },\n });\n }\n\n /**\n * @ignore\n */\n private _showHeader = true;\n\n /**\n * Providing a boolean value for show or hide header\n */\n @Input()\n public get showHeader(): boolean {\n return this._showHeader;\n }\n public set showHeader(v: boolean) {\n this.setOption({\n name: 'showHeader',\n value: v,\n afterCallback: () => {\n this.cdr.detectChanges();\n },\n });\n }\n\n /**\n * Sets the caption for the collapse component.\n *\n * @defaultValue ''\n */\n @Input()\n caption = '';\n\n /**\n * Specifies the icon to display in the collapse component.\n *\n * @defaultValue ''\n */\n @Input()\n icon = '';\n\n /**\n * @ignore\n */\n private _isLoading = false;\n\n /**\n * Providing a boolean value for its collapse state\n */\n @Input()\n public get isLoading(): boolean {\n return this._isLoading;\n }\n public set isLoading(v: boolean) {\n this.setOption({\n name: 'isLoading',\n value: v,\n afterCallback: () => {\n this.cdr.detectChanges();\n },\n });\n }\n\n /**\n * Template used for the collapse component's header.\n */\n @Input()\n headerTemplate: TemplateRef<any>;\n\n /**\n * Handles header clicks, emitting a click event and toggling collapse state if not handled.\n *\n * @param e - The native mouse event.\n */\n handleHeaderClick(e: MouseEvent) {\n if (this.disabled || this.isLoading) return;\n const event = {\n component: this,\n htmlElement: this.getHostElement(),\n nativeEvent: e,\n handled: false,\n };\n this.onClick.emit(event);\n if (!event.handled) {\n this.toggle();\n }\n }\n\n /**\n * Expands the collapse component.\n * @ignore\n */\n open() {\n this.isCollapsed = false;\n }\n\n /**\n * Collapses the collapse component.\n * @ignore\n */\n close() {\n this.isCollapsed = true;\n }\n\n /**\n * Toggles the collapse state between expanded and collapsed.\n * @ignore\n */\n toggle() {\n this.isCollapsed = !this.isCollapsed;\n }\n\n /**\n * @ignore\n */\n @HostBinding('class')\n get __hostClass(): string[] {\n return [`${this.disabled ? 'ax-state-disabled' : ''}`, `ax-${this.parent?.look ? this.parent.look : this.look}`];\n }\n}\n","@if (showHeader) {\n <div class=\"ax-collapse-header\" [class.ax-state-collapsed]=\"isCollapsed\" (click)=\"handleHeaderClick($event)\">\n @if (headerTemplate) {\n <div class=\"ax-collapse-custom-header-container\">\n <ng-container [ngTemplateOutlet]=\"headerTemplate\" [ngTemplateOutletContext]=\"{ $implicit: { caption, isCollapsed } }\"></ng-container>\n </div>\n } @else {\n <div class=\"ax-collapse-header-container\">\n <div class=\"ax-collapse-header-start\">\n <span class=\"ax-collapse-header-icon\" [class]=\"icon\"> </span>\n <span>\n {{ caption }}\n </span>\n </div>\n <div class=\"ax-collapse-header-end\">\n @if (isLoading) {\n <ax-loading></ax-loading>\n } @else {\n <span class=\"ax-icon ax-icon-chevron-left ax-collapse-arrow\" [ngClass]=\"{ '-rotation-90': isCollapsed, 'rotation-90': !isCollapsed }\"></span>\n }\n </div>\n </div>\n }\n </div>\n}\n<div class=\"ax-collapse-body\" [@collapse]=\"isCollapsed\">\n <div class=\"ax-collapse-body-content\">\n <ng-content></ng-content>\n </div>\n</div>\n","import { MXBaseComponent, MXLookComponent, MXLookableComponent } from '@acorex/components/common';\nimport {\n AfterViewInit,\n ChangeDetectionStrategy,\n Component,\n ContentChildren,\n EventEmitter,\n HostBinding,\n Input,\n OnDestroy,\n Output,\n QueryList,\n ViewEncapsulation,\n} from '@angular/core';\nimport { classes } from 'polytype';\nimport { Subscription } from 'rxjs';\nimport { AXCollapseComponent } from './collapse.component';\n\n/**\n * Container for collapsible items with configurable styling.\n *\n * @category Components\n */\n@Component({\n selector: 'ax-collapse-group',\n inputs: ['look'],\n template: `<ng-content select=\"ax-collapse\"></ng-content>`,\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n providers: [\n {\n provide: MXLookableComponent,\n useExisting: AXCollapseGroupComponent,\n },\n ],\n})\nexport class AXCollapseGroupComponent extends classes(MXBaseComponent, MXLookComponent) implements AfterViewInit, OnDestroy {\n /**\n * Emitted when the accordion state changes.\n *\n * @event\n */\n @Output()\n accordionChange: EventEmitter<boolean> = new EventEmitter();\n\n /**\n * @ignore\n */\n private _accordion?: boolean = false;\n\n /**\n * Enables accordion behavior, allowing only one collapsible item to be expanded at a time\n */\n @Input()\n get accordion(): boolean | undefined {\n return this._accordion;\n }\n set accordion(value: boolean) {\n this.setOption({\n name: 'accordion',\n value,\n afterCallback: (oldValue, newValue) => {\n if (newValue) {\n this.applyAccordion();\n } else {\n this.removeAccordion();\n }\n },\n });\n }\n\n /**\n * Emits when the active index changes.\n * @event\n */\n @Output()\n activeIndexChange: EventEmitter<number> = new EventEmitter<number>();\n\n /**\n * @ignore\n */\n private _activeIndex = 0;\n\n /**\n * Index of the currently active item within the group\n */\n @Input()\n get activeIndex(): number {\n return this._activeIndex;\n }\n set activeIndex(value: number) {\n this.setOption({\n name: 'activeIndex',\n value,\n beforeCallback: (oldValue, newValue) => {\n const len = this._items?.length || 0;\n if (newValue < 0) newValue = 0;\n if (len > 0 && newValue >= len) {\n newValue = len - 1;\n }\n return newValue;\n },\n afterCallback: () => {\n this.applyAccordion();\n },\n });\n }\n\n @ContentChildren(AXCollapseComponent)\n private _items: QueryList<AXCollapseComponent>;\n\n /**\n * @ignore\n */\n private _subs: Subscription[] = [];\n\n /**\n * @ignore\n */\n ngAfterViewInit(): void {\n if (this.accordion) {\n this.applyAccordion();\n }\n }\n\n /**\n * @ignore\n */\n private applyAccordion() {\n if (!this.look) return;\n if (this._items && this._items.length > 1) {\n const activeIndex = this._items.get(this.activeIndex) || this._items.get(0);\n this._items.forEach((c) => (c.isCollapsed = true));\n if (activeIndex) activeIndex.isCollapsed = false;\n\n this._items.forEach((c1: AXCollapseComponent) => {\n const list = this._items.toArray();\n\n this._subs.push(\n // TODO: add and use a new event for status changes\n c1.onClick.subscribe((e) => {\n if (!e.handled) {\n this._activeIndex = list.indexOf(c1);\n list.filter((c2) => c2 != c1).forEach((c) => (c.isCollapsed = true));\n }\n }),\n );\n });\n }\n }\n\n /**\n * @ignore\n */\n private removeAccordion() {\n this._subs.forEach((s) => s.unsubscribe());\n this._subs = [];\n }\n\n /**\n * @ignore\n */\n ngOnDestroy(): void {\n this.removeAccordion();\n }\n\n /**\n * @ignore\n */\n @HostBinding('class')\n private get __hostClass(): string[] {\n return ['ax-collapse-group', `ax-${this.look}`];\n }\n}\n","import { AXLoadingModule } from '@acorex/components/loading';\nimport { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\nimport { AXCollapseGroupComponent } from './collapse-group.component';\nimport { AXCollapseComponent } from './collapse.component';\n\nconst COMPONENT = [AXCollapseComponent, AXCollapseGroupComponent];\n\nconst MODULES = [CommonModule, AXLoadingModule];\n\n@NgModule({\n imports: [...MODULES, ...COMPONENT],\n exports: [...COMPONENT],\n providers: [],\n})\nexport class AXCollapseModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;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