@acorex/components 6.1.12 → 7.0.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 (476) hide show
  1. package/action-sheet/src/action-sheet-item.component.d.ts +1 -1
  2. package/action-sheet/src/action-sheet.component.d.ts +1 -1
  3. package/alert/src/alert-button.directive.d.ts +1 -1
  4. package/alert/src/alert.component.d.ts +3 -3
  5. package/avatar/src/avatar-group.component.d.ts +1 -1
  6. package/avatar/src/avatar.component.d.ts +1 -1
  7. package/badge/src/badge.component.d.ts +3 -3
  8. package/breadcrumbs/src/breadcrumbs-item.component.d.ts +9 -7
  9. package/breadcrumbs/src/breadcrumbs.component.d.ts +1 -1
  10. package/button/src/button-group.component.d.ts +7 -7
  11. package/button/src/button-item.component.d.ts +7 -7
  12. package/button/src/button.component.d.ts +1 -1
  13. package/calendar/src/calendar.component.d.ts +1 -2
  14. package/checkbox/src/checkbox.component.d.ts +1 -1
  15. package/chips/index.d.ts +5 -0
  16. package/chips/public-api.d.ts +2 -0
  17. package/chips/src/chips.component.d.ts +13 -0
  18. package/chips/src/chips.module.d.ts +8 -0
  19. package/collapse/src/collapse-group.component.d.ts +1 -1
  20. package/collapse/src/collapse.component.d.ts +1 -1
  21. package/color-palette/src/color-palette-input.component.d.ts +3 -3
  22. package/color-palette/src/color-palette-picker.component.d.ts +1 -1
  23. package/color-palette/src/color-palette-preview.component.d.ts +1 -1
  24. package/color-palette/src/color-palette-swatches.component.d.ts +1 -1
  25. package/color-palette/src/color-palette.component.d.ts +1 -1
  26. package/color-picker/src/color-picker.component.d.ts +25 -23
  27. package/common/src/auto-focus.directive.d.ts +1 -1
  28. package/common/src/debounce-time.directive.d.ts +1 -1
  29. package/common/src/hotkey.directive.d.ts +1 -1
  30. package/common/src/infinite-scroll.directive.d.ts +1 -1
  31. package/common/src/responsive.directive.d.ts +1 -1
  32. package/common/src/styles.class.d.ts +2 -2
  33. package/context-menu/src/context-menu.component.d.ts +1 -1
  34. package/data-pager/src/data-pager-info.component.d.ts +1 -1
  35. package/data-pager/src/data-pager-input-selector.component.d.ts +1 -1
  36. package/data-pager/src/data-pager-next-buttons.components.d.ts +1 -1
  37. package/data-pager/src/data-pager-numeric-selector.component.d.ts +1 -1
  38. package/data-pager/src/data-pager-pagesize-dropdown.component.d.ts +1 -1
  39. package/data-pager/src/data-pager-prev-buttons.component.d.ts +1 -1
  40. package/data-pager/src/data-pager.component.d.ts +1 -1
  41. package/data-table/src/data-column-cell-template.directive.d.ts +1 -1
  42. package/data-table/src/data-column.directive.d.ts +1 -1
  43. package/data-table/src/data-table.component.d.ts +1 -1
  44. package/date-picker/src/datepicker.component.d.ts +16 -17
  45. package/decorators/src/close-button.component.d.ts +1 -1
  46. package/decorators/src/content.component.d.ts +1 -1
  47. package/decorators/src/footer.component.d.ts +1 -1
  48. package/decorators/src/header.component.d.ts +1 -1
  49. package/decorators/src/icon.component.d.ts +1 -1
  50. package/decorators/src/overlay.component.d.ts +1 -1
  51. package/decorators/src/placeholder.component.d.ts +1 -1
  52. package/decorators/src/prefix.component.d.ts +1 -1
  53. package/decorators/src/sub-title.component.d.ts +1 -1
  54. package/decorators/src/suffix.component.d.ts +1 -1
  55. package/decorators/src/text.component.d.ts +1 -1
  56. package/decorators/src/title.component.d.ts +1 -1
  57. package/dialog/src/dialog.component.d.ts +1 -1
  58. package/drawer/src/drawer-container.component.d.ts +1 -1
  59. package/drawer/src/drawer.component.d.ts +1 -1
  60. package/dropdown/src/dropdown-panel.component.d.ts +1 -1
  61. package/esm2020/action-sheet/src/action-sheet-item.component.mjs +5 -5
  62. package/esm2020/action-sheet/src/action-sheet.component.mjs +8 -8
  63. package/esm2020/action-sheet/src/action-sheet.module.mjs +4 -4
  64. package/esm2020/alert/src/alert-button.directive.mjs +3 -3
  65. package/esm2020/alert/src/alert.component.mjs +9 -12
  66. package/esm2020/alert/src/alert.module.mjs +4 -4
  67. package/esm2020/avatar/src/avatar-group.component.mjs +4 -5
  68. package/esm2020/avatar/src/avatar.component.mjs +5 -5
  69. package/esm2020/avatar/src/avatar.module.mjs +4 -4
  70. package/esm2020/badge/src/badge.component.mjs +7 -9
  71. package/esm2020/badge/src/badge.module.mjs +4 -4
  72. package/esm2020/breadcrumbs/src/breadcrumbs-item.component.mjs +14 -6
  73. package/esm2020/breadcrumbs/src/breadcrumbs.component.mjs +6 -6
  74. package/esm2020/breadcrumbs/src/breadcrumbs.module.mjs +4 -4
  75. package/esm2020/button/src/button-group.component.mjs +5 -5
  76. package/esm2020/button/src/button-item.component.mjs +5 -5
  77. package/esm2020/button/src/button.component.mjs +10 -7
  78. package/esm2020/button/src/button.module.mjs +4 -4
  79. package/esm2020/calendar/src/calendar.class.mjs +3 -3
  80. package/esm2020/calendar/src/calendar.component.mjs +6 -8
  81. package/esm2020/calendar/src/calendar.module.mjs +4 -4
  82. package/esm2020/checkbox/src/checkbox.component.mjs +5 -5
  83. package/esm2020/checkbox/src/checkbox.module.mjs +4 -4
  84. package/esm2020/chips/acorex-components-chips.mjs +5 -0
  85. package/esm2020/chips/public-api.mjs +3 -0
  86. package/esm2020/chips/src/chips.component.mjs +32 -0
  87. package/esm2020/chips/src/chips.module.mjs +19 -0
  88. package/esm2020/collapse/src/collapse-group.component.mjs +3 -3
  89. package/esm2020/collapse/src/collapse.component.mjs +5 -5
  90. package/esm2020/collapse/src/collapse.module.mjs +4 -4
  91. package/esm2020/color-palette/src/color-palette-input.component.mjs +10 -12
  92. package/esm2020/color-palette/src/color-palette-picker.component.mjs +3 -3
  93. package/esm2020/color-palette/src/color-palette-preview.component.mjs +3 -3
  94. package/esm2020/color-palette/src/color-palette-swatches.component.mjs +3 -3
  95. package/esm2020/color-palette/src/color-palette.class.mjs +6 -6
  96. package/esm2020/color-palette/src/color-palette.component.mjs +7 -7
  97. package/esm2020/color-palette/src/color-palette.module.mjs +4 -4
  98. package/esm2020/color-picker/src/color-picker.component.mjs +10 -12
  99. package/esm2020/color-picker/src/color-picker.module.mjs +4 -4
  100. package/esm2020/common/src/auto-focus.directive.mjs +3 -3
  101. package/esm2020/common/src/common.module.mjs +4 -4
  102. package/esm2020/common/src/components.class.mjs +18 -18
  103. package/esm2020/common/src/custom-cdk-overlay.service.mjs +6 -6
  104. package/esm2020/common/src/debounce-time.directive.mjs +3 -3
  105. package/esm2020/common/src/hotkey.directive.mjs +3 -3
  106. package/esm2020/common/src/hotkey.service.mjs +3 -3
  107. package/esm2020/common/src/infinite-scroll.directive.mjs +3 -3
  108. package/esm2020/common/src/overlay.service.mjs +3 -3
  109. package/esm2020/common/src/responsive.directive.mjs +3 -3
  110. package/esm2020/common/src/styles.class.mjs +1 -1
  111. package/esm2020/context-menu/src/context-menu.component.mjs +5 -5
  112. package/esm2020/context-menu/src/context-menu.module.mjs +4 -4
  113. package/esm2020/data-pager/src/data-pager-base.component.mjs +6 -6
  114. package/esm2020/data-pager/src/data-pager-info.component.mjs +3 -3
  115. package/esm2020/data-pager/src/data-pager-input-selector.component.mjs +6 -6
  116. package/esm2020/data-pager/src/data-pager-next-buttons.components.mjs +12 -12
  117. package/esm2020/data-pager/src/data-pager-numeric-selector.component.mjs +18 -18
  118. package/esm2020/data-pager/src/data-pager-pagesize-dropdown.component.mjs +8 -8
  119. package/esm2020/data-pager/src/data-pager-prev-buttons.component.mjs +12 -12
  120. package/esm2020/data-pager/src/data-pager.component.mjs +5 -5
  121. package/esm2020/data-pager/src/data-pager.module.mjs +4 -4
  122. package/esm2020/data-table/src/data-column-cell-template.directive.mjs +3 -3
  123. package/esm2020/data-table/src/data-column.directive.mjs +3 -3
  124. package/esm2020/data-table/src/data-table.component.mjs +5 -5
  125. package/esm2020/data-table/src/data-table.module.mjs +4 -4
  126. package/esm2020/date-picker/src/datepicker.component.mjs +10 -11
  127. package/esm2020/date-picker/src/datepicker.module.mjs +4 -4
  128. package/esm2020/decorators/src/close-button.component.mjs +6 -6
  129. package/esm2020/decorators/src/content.component.mjs +3 -3
  130. package/esm2020/decorators/src/decorators.module.mjs +4 -4
  131. package/esm2020/decorators/src/footer.component.mjs +3 -3
  132. package/esm2020/decorators/src/header.component.mjs +3 -3
  133. package/esm2020/decorators/src/icon.component.mjs +5 -5
  134. package/esm2020/decorators/src/overlay.component.mjs +3 -3
  135. package/esm2020/decorators/src/placeholder.component.mjs +3 -3
  136. package/esm2020/decorators/src/prefix.component.mjs +3 -3
  137. package/esm2020/decorators/src/sub-title.component.mjs +3 -3
  138. package/esm2020/decorators/src/suffix.component.mjs +3 -3
  139. package/esm2020/decorators/src/text.component.mjs +3 -3
  140. package/esm2020/decorators/src/title.component.mjs +3 -3
  141. package/esm2020/dialog/src/dialog.component.mjs +9 -9
  142. package/esm2020/dialog/src/dialog.module.mjs +4 -4
  143. package/esm2020/dialog/src/dialog.service.mjs +5 -5
  144. package/esm2020/drawer/src/drawer-container.component.mjs +4 -5
  145. package/esm2020/drawer/src/drawer.component.mjs +12 -19
  146. package/esm2020/drawer/src/drawer.module.mjs +4 -4
  147. package/esm2020/dropdown/src/dropdown-panel.component.mjs +4 -4
  148. package/esm2020/dropdown/src/dropdown.module.mjs +4 -4
  149. package/esm2020/form/src/form-field.component.mjs +5 -11
  150. package/esm2020/form/src/form-hint.component.mjs +5 -5
  151. package/esm2020/form/src/form.component.mjs +3 -3
  152. package/esm2020/form/src/form.module.mjs +4 -4
  153. package/esm2020/form/src/validation-rule.widget.mjs +3 -3
  154. package/esm2020/form/src/validation-summary.component.mjs +3 -3
  155. package/esm2020/image/src/image.component.mjs +5 -5
  156. package/esm2020/image/src/image.module.mjs +4 -4
  157. package/esm2020/label/src/label.component.mjs +5 -5
  158. package/esm2020/label/src/label.module.mjs +4 -4
  159. package/esm2020/loading/src/loading-spinner.component.mjs +6 -6
  160. package/esm2020/loading/src/loading.component.mjs +7 -13
  161. package/esm2020/loading/src/loading.directive.mjs +3 -3
  162. package/esm2020/loading/src/loading.module.mjs +4 -4
  163. package/esm2020/loading/src/loading.service.mjs +3 -3
  164. package/esm2020/menu/src/menu.component.mjs +7 -8
  165. package/esm2020/menu/src/menu.module.mjs +4 -4
  166. package/esm2020/mixin/src/base-components.class.mjs +3 -3
  167. package/esm2020/mixin/src/value-mixin.class.mjs +4 -4
  168. package/esm2020/number-box/src/number-box.component.mjs +7 -9
  169. package/esm2020/number-box/src/number-box.module.mjs +4 -4
  170. package/esm2020/page/src/base-page.class.mjs +3 -3
  171. package/esm2020/page/src/page.component.mjs +3 -3
  172. package/esm2020/page/src/page.module.mjs +4 -4
  173. package/esm2020/password-box/src/password-box.component.mjs +8 -10
  174. package/esm2020/password-box/src/password-box.module.mjs +4 -4
  175. package/esm2020/popover/src/popover.component.mjs +3 -3
  176. package/esm2020/popover/src/popover.module.mjs +4 -4
  177. package/esm2020/popup/src/popup.component.mjs +5 -6
  178. package/esm2020/popup/src/popup.module.mjs +4 -4
  179. package/esm2020/popup/src/popup.service.mjs +3 -3
  180. package/esm2020/progress-bar/src/progress-bar.component.mjs +6 -6
  181. package/esm2020/progress-bar/src/progress-bar.module.mjs +4 -4
  182. package/esm2020/radio/src/radio.component.mjs +13 -8
  183. package/esm2020/radio/src/radio.module.mjs +4 -4
  184. package/esm2020/range-slider/src/range-slider.component.mjs +6 -6
  185. package/esm2020/range-slider/src/range-slider.module.mjs +4 -4
  186. package/esm2020/rating/src/rating.component.mjs +5 -5
  187. package/esm2020/rating/src/rating.component.module.mjs +4 -4
  188. package/esm2020/result/src/result.component.mjs +6 -6
  189. package/esm2020/result/src/result.module.mjs +4 -4
  190. package/esm2020/search-box/src/search-box.component.mjs +9 -10
  191. package/esm2020/search-box/src/search-box.module.mjs +4 -4
  192. package/esm2020/select-box/src/selectbox.component.mjs +14 -14
  193. package/esm2020/select-box/src/selectbox.module.mjs +4 -4
  194. package/esm2020/selection-list/src/selection-list.component.mjs +5 -5
  195. package/esm2020/selection-list/src/selection-list.module.mjs +4 -4
  196. package/esm2020/switch/src/switch.component.mjs +5 -5
  197. package/esm2020/switch/src/switch.module.mjs +4 -4
  198. package/esm2020/tabs/src/tab-content.directive.mjs +3 -3
  199. package/esm2020/tabs/src/tab-item.component.mjs +3 -3
  200. package/esm2020/tabs/src/tabs.class.mjs +1 -1
  201. package/esm2020/tabs/src/tabs.component.mjs +8 -14
  202. package/esm2020/tabs/src/tabs.module.mjs +4 -4
  203. package/esm2020/tag/acorex-components-tag.mjs +5 -0
  204. package/esm2020/tag/public-api.mjs +3 -0
  205. package/esm2020/tag/src/tag.component.mjs +29 -0
  206. package/esm2020/tag/src/tag.module.mjs +19 -0
  207. package/esm2020/textarea/src/textarea.component.mjs +5 -5
  208. package/esm2020/textarea/src/textarea.module.mjs +4 -4
  209. package/esm2020/textbox/src/mask-options.directive.mjs +3 -3
  210. package/esm2020/textbox/src/textbox.component.mjs +3 -3
  211. package/esm2020/textbox/src/textbox.module.mjs +4 -4
  212. package/esm2020/time-box/src/time-box.component.mjs +3 -3
  213. package/esm2020/time-box/src/time-box.module.mjs +4 -4
  214. package/esm2020/toast/src/toast.component.mjs +8 -8
  215. package/esm2020/toast/src/toast.module.mjs +4 -4
  216. package/esm2020/toast/src/toast.service.mjs +4 -25
  217. package/esm2020/tooltip/src/tooltip.component.mjs +6 -6
  218. package/esm2020/tooltip/src/tooltip.directive.mjs +5 -5
  219. package/esm2020/tooltip/src/tooltip.module.mjs +4 -4
  220. package/esm2020/tree-view/src/tree-view.component.mjs +5 -5
  221. package/esm2020/tree-view/src/tree-view.module.mjs +4 -4
  222. package/esm2020/uploader/src/uploader.component.mjs +5 -5
  223. package/esm2020/uploader/src/uploader.module.mjs +4 -4
  224. package/fesm2015/acorex-components-action-sheet.mjs +15 -15
  225. package/fesm2015/acorex-components-action-sheet.mjs.map +1 -1
  226. package/fesm2015/acorex-components-alert.mjs +15 -18
  227. package/fesm2015/acorex-components-alert.mjs.map +1 -1
  228. package/fesm2015/acorex-components-avatar.mjs +11 -12
  229. package/fesm2015/acorex-components-avatar.mjs.map +1 -1
  230. package/fesm2015/acorex-components-badge.mjs +10 -12
  231. package/fesm2015/acorex-components-badge.mjs.map +1 -1
  232. package/fesm2015/acorex-components-breadcrumbs.mjs +21 -13
  233. package/fesm2015/acorex-components-breadcrumbs.mjs.map +1 -1
  234. package/fesm2015/acorex-components-button.mjs +21 -18
  235. package/fesm2015/acorex-components-button.mjs.map +1 -1
  236. package/fesm2015/acorex-components-calendar.mjs +12 -14
  237. package/fesm2015/acorex-components-calendar.mjs.map +1 -1
  238. package/fesm2015/acorex-components-checkbox.mjs +8 -8
  239. package/fesm2015/acorex-components-checkbox.mjs.map +1 -1
  240. package/fesm2015/acorex-components-chips.mjs +55 -0
  241. package/fesm2015/acorex-components-chips.mjs.map +1 -0
  242. package/fesm2015/acorex-components-collapse.mjs +11 -11
  243. package/fesm2015/acorex-components-collapse.mjs.map +1 -1
  244. package/fesm2015/acorex-components-color-palette.mjs +34 -36
  245. package/fesm2015/acorex-components-color-palette.mjs.map +1 -1
  246. package/fesm2015/acorex-components-color-picker.mjs +15 -17
  247. package/fesm2015/acorex-components-color-picker.mjs.map +1 -1
  248. package/fesm2015/acorex-components-common.mjs +49 -49
  249. package/fesm2015/acorex-components-common.mjs.map +1 -1
  250. package/fesm2015/acorex-components-context-menu.mjs +8 -8
  251. package/fesm2015/acorex-components-context-menu.mjs.map +1 -1
  252. package/fesm2015/acorex-components-data-pager.mjs +68 -68
  253. package/fesm2015/acorex-components-data-pager.mjs.map +1 -1
  254. package/fesm2015/acorex-components-data-table.mjs +14 -14
  255. package/fesm2015/acorex-components-data-table.mjs.map +1 -1
  256. package/fesm2015/acorex-components-date-picker.mjs +14 -15
  257. package/fesm2015/acorex-components-date-picker.mjs.map +1 -1
  258. package/fesm2015/acorex-components-decorators.mjs +43 -43
  259. package/fesm2015/acorex-components-decorators.mjs.map +1 -1
  260. package/fesm2015/acorex-components-dialog.mjs +16 -16
  261. package/fesm2015/acorex-components-dialog.mjs.map +1 -1
  262. package/fesm2015/acorex-components-drawer.mjs +18 -26
  263. package/fesm2015/acorex-components-drawer.mjs.map +1 -1
  264. package/fesm2015/acorex-components-dropdown.mjs +7 -7
  265. package/fesm2015/acorex-components-dropdown.mjs.map +1 -1
  266. package/fesm2015/acorex-components-form.mjs +21 -27
  267. package/fesm2015/acorex-components-form.mjs.map +1 -1
  268. package/fesm2015/acorex-components-image.mjs +8 -8
  269. package/fesm2015/acorex-components-image.mjs.map +1 -1
  270. package/fesm2015/acorex-components-label.mjs +8 -8
  271. package/fesm2015/acorex-components-label.mjs.map +1 -1
  272. package/fesm2015/acorex-components-loading.mjs +21 -27
  273. package/fesm2015/acorex-components-loading.mjs.map +1 -1
  274. package/fesm2015/acorex-components-menu.mjs +11 -12
  275. package/fesm2015/acorex-components-menu.mjs.map +1 -1
  276. package/fesm2015/acorex-components-mixin.mjs +6 -6
  277. package/fesm2015/acorex-components-mixin.mjs.map +1 -1
  278. package/fesm2015/acorex-components-number-box.mjs +10 -12
  279. package/fesm2015/acorex-components-number-box.mjs.map +1 -1
  280. package/fesm2015/acorex-components-page.mjs +10 -10
  281. package/fesm2015/acorex-components-password-box.mjs +11 -13
  282. package/fesm2015/acorex-components-password-box.mjs.map +1 -1
  283. package/fesm2015/acorex-components-popover.mjs +7 -7
  284. package/fesm2015/acorex-components-popup.mjs +12 -13
  285. package/fesm2015/acorex-components-popup.mjs.map +1 -1
  286. package/fesm2015/acorex-components-progress-bar.mjs +9 -9
  287. package/fesm2015/acorex-components-progress-bar.mjs.map +1 -1
  288. package/fesm2015/acorex-components-radio.mjs +16 -11
  289. package/fesm2015/acorex-components-radio.mjs.map +1 -1
  290. package/fesm2015/acorex-components-range-slider.mjs +9 -9
  291. package/fesm2015/acorex-components-range-slider.mjs.map +1 -1
  292. package/fesm2015/acorex-components-rating.mjs +8 -8
  293. package/fesm2015/acorex-components-rating.mjs.map +1 -1
  294. package/fesm2015/acorex-components-result.mjs +9 -9
  295. package/fesm2015/acorex-components-result.mjs.map +1 -1
  296. package/fesm2015/acorex-components-search-box.mjs +13 -14
  297. package/fesm2015/acorex-components-search-box.mjs.map +1 -1
  298. package/fesm2015/acorex-components-select-box.mjs +18 -18
  299. package/fesm2015/acorex-components-select-box.mjs.map +1 -1
  300. package/fesm2015/acorex-components-selection-list.mjs +8 -8
  301. package/fesm2015/acorex-components-selection-list.mjs.map +1 -1
  302. package/fesm2015/acorex-components-switch.mjs +8 -8
  303. package/fesm2015/acorex-components-switch.mjs.map +1 -1
  304. package/fesm2015/acorex-components-tabs.mjs +17 -23
  305. package/fesm2015/acorex-components-tabs.mjs.map +1 -1
  306. package/fesm2015/acorex-components-tag.mjs +52 -0
  307. package/fesm2015/acorex-components-tag.mjs.map +1 -0
  308. package/fesm2015/acorex-components-textarea.mjs +8 -8
  309. package/fesm2015/acorex-components-textarea.mjs.map +1 -1
  310. package/fesm2015/acorex-components-textbox.mjs +10 -10
  311. package/fesm2015/acorex-components-time-box.mjs +7 -7
  312. package/fesm2015/acorex-components-toast.mjs +14 -35
  313. package/fesm2015/acorex-components-toast.mjs.map +1 -1
  314. package/fesm2015/acorex-components-tooltip.mjs +13 -13
  315. package/fesm2015/acorex-components-tooltip.mjs.map +1 -1
  316. package/fesm2015/acorex-components-tree-view.mjs +8 -8
  317. package/fesm2015/acorex-components-tree-view.mjs.map +1 -1
  318. package/fesm2015/acorex-components-uploader.mjs +8 -8
  319. package/fesm2015/acorex-components-uploader.mjs.map +1 -1
  320. package/fesm2020/acorex-components-action-sheet.mjs +15 -15
  321. package/fesm2020/acorex-components-action-sheet.mjs.map +1 -1
  322. package/fesm2020/acorex-components-alert.mjs +15 -18
  323. package/fesm2020/acorex-components-alert.mjs.map +1 -1
  324. package/fesm2020/acorex-components-avatar.mjs +11 -12
  325. package/fesm2020/acorex-components-avatar.mjs.map +1 -1
  326. package/fesm2020/acorex-components-badge.mjs +10 -12
  327. package/fesm2020/acorex-components-badge.mjs.map +1 -1
  328. package/fesm2020/acorex-components-breadcrumbs.mjs +21 -13
  329. package/fesm2020/acorex-components-breadcrumbs.mjs.map +1 -1
  330. package/fesm2020/acorex-components-button.mjs +21 -18
  331. package/fesm2020/acorex-components-button.mjs.map +1 -1
  332. package/fesm2020/acorex-components-calendar.mjs +12 -14
  333. package/fesm2020/acorex-components-calendar.mjs.map +1 -1
  334. package/fesm2020/acorex-components-checkbox.mjs +8 -8
  335. package/fesm2020/acorex-components-checkbox.mjs.map +1 -1
  336. package/fesm2020/acorex-components-chips.mjs +55 -0
  337. package/fesm2020/acorex-components-chips.mjs.map +1 -0
  338. package/fesm2020/acorex-components-collapse.mjs +11 -11
  339. package/fesm2020/acorex-components-collapse.mjs.map +1 -1
  340. package/fesm2020/acorex-components-color-palette.mjs +34 -36
  341. package/fesm2020/acorex-components-color-palette.mjs.map +1 -1
  342. package/fesm2020/acorex-components-color-picker.mjs +15 -17
  343. package/fesm2020/acorex-components-color-picker.mjs.map +1 -1
  344. package/fesm2020/acorex-components-common.mjs +49 -49
  345. package/fesm2020/acorex-components-common.mjs.map +1 -1
  346. package/fesm2020/acorex-components-context-menu.mjs +8 -8
  347. package/fesm2020/acorex-components-context-menu.mjs.map +1 -1
  348. package/fesm2020/acorex-components-data-pager.mjs +68 -68
  349. package/fesm2020/acorex-components-data-pager.mjs.map +1 -1
  350. package/fesm2020/acorex-components-data-table.mjs +14 -14
  351. package/fesm2020/acorex-components-data-table.mjs.map +1 -1
  352. package/fesm2020/acorex-components-date-picker.mjs +14 -15
  353. package/fesm2020/acorex-components-date-picker.mjs.map +1 -1
  354. package/fesm2020/acorex-components-decorators.mjs +43 -43
  355. package/fesm2020/acorex-components-decorators.mjs.map +1 -1
  356. package/fesm2020/acorex-components-dialog.mjs +16 -16
  357. package/fesm2020/acorex-components-dialog.mjs.map +1 -1
  358. package/fesm2020/acorex-components-drawer.mjs +18 -26
  359. package/fesm2020/acorex-components-drawer.mjs.map +1 -1
  360. package/fesm2020/acorex-components-dropdown.mjs +7 -7
  361. package/fesm2020/acorex-components-dropdown.mjs.map +1 -1
  362. package/fesm2020/acorex-components-form.mjs +21 -27
  363. package/fesm2020/acorex-components-form.mjs.map +1 -1
  364. package/fesm2020/acorex-components-image.mjs +8 -8
  365. package/fesm2020/acorex-components-image.mjs.map +1 -1
  366. package/fesm2020/acorex-components-label.mjs +8 -8
  367. package/fesm2020/acorex-components-label.mjs.map +1 -1
  368. package/fesm2020/acorex-components-loading.mjs +21 -27
  369. package/fesm2020/acorex-components-loading.mjs.map +1 -1
  370. package/fesm2020/acorex-components-menu.mjs +11 -12
  371. package/fesm2020/acorex-components-menu.mjs.map +1 -1
  372. package/fesm2020/acorex-components-mixin.mjs +6 -6
  373. package/fesm2020/acorex-components-mixin.mjs.map +1 -1
  374. package/fesm2020/acorex-components-number-box.mjs +10 -12
  375. package/fesm2020/acorex-components-number-box.mjs.map +1 -1
  376. package/fesm2020/acorex-components-page.mjs +10 -10
  377. package/fesm2020/acorex-components-password-box.mjs +11 -13
  378. package/fesm2020/acorex-components-password-box.mjs.map +1 -1
  379. package/fesm2020/acorex-components-popover.mjs +7 -7
  380. package/fesm2020/acorex-components-popup.mjs +12 -13
  381. package/fesm2020/acorex-components-popup.mjs.map +1 -1
  382. package/fesm2020/acorex-components-progress-bar.mjs +9 -9
  383. package/fesm2020/acorex-components-progress-bar.mjs.map +1 -1
  384. package/fesm2020/acorex-components-radio.mjs +16 -11
  385. package/fesm2020/acorex-components-radio.mjs.map +1 -1
  386. package/fesm2020/acorex-components-range-slider.mjs +9 -9
  387. package/fesm2020/acorex-components-range-slider.mjs.map +1 -1
  388. package/fesm2020/acorex-components-rating.mjs +8 -8
  389. package/fesm2020/acorex-components-rating.mjs.map +1 -1
  390. package/fesm2020/acorex-components-result.mjs +9 -9
  391. package/fesm2020/acorex-components-result.mjs.map +1 -1
  392. package/fesm2020/acorex-components-search-box.mjs +13 -14
  393. package/fesm2020/acorex-components-search-box.mjs.map +1 -1
  394. package/fesm2020/acorex-components-select-box.mjs +18 -18
  395. package/fesm2020/acorex-components-select-box.mjs.map +1 -1
  396. package/fesm2020/acorex-components-selection-list.mjs +8 -8
  397. package/fesm2020/acorex-components-selection-list.mjs.map +1 -1
  398. package/fesm2020/acorex-components-switch.mjs +8 -8
  399. package/fesm2020/acorex-components-switch.mjs.map +1 -1
  400. package/fesm2020/acorex-components-tabs.mjs +17 -23
  401. package/fesm2020/acorex-components-tabs.mjs.map +1 -1
  402. package/fesm2020/acorex-components-tag.mjs +52 -0
  403. package/fesm2020/acorex-components-tag.mjs.map +1 -0
  404. package/fesm2020/acorex-components-textarea.mjs +8 -8
  405. package/fesm2020/acorex-components-textarea.mjs.map +1 -1
  406. package/fesm2020/acorex-components-textbox.mjs +10 -10
  407. package/fesm2020/acorex-components-time-box.mjs +7 -7
  408. package/fesm2020/acorex-components-toast.mjs +14 -35
  409. package/fesm2020/acorex-components-toast.mjs.map +1 -1
  410. package/fesm2020/acorex-components-tooltip.mjs +13 -13
  411. package/fesm2020/acorex-components-tooltip.mjs.map +1 -1
  412. package/fesm2020/acorex-components-tree-view.mjs +8 -8
  413. package/fesm2020/acorex-components-tree-view.mjs.map +1 -1
  414. package/fesm2020/acorex-components-uploader.mjs +8 -8
  415. package/fesm2020/acorex-components-uploader.mjs.map +1 -1
  416. package/form/src/form-field.component.d.ts +1 -1
  417. package/form/src/form-hint.component.d.ts +1 -1
  418. package/form/src/form.component.d.ts +1 -1
  419. package/form/src/validation-rule.widget.d.ts +1 -1
  420. package/form/src/validation-summary.component.d.ts +1 -1
  421. package/image/src/image.component.d.ts +1 -1
  422. package/label/src/label.component.d.ts +1 -1
  423. package/loading/src/loading-spinner.component.d.ts +1 -1
  424. package/loading/src/loading.component.d.ts +1 -1
  425. package/loading/src/loading.directive.d.ts +1 -1
  426. package/menu/src/menu.component.d.ts +1 -1
  427. package/mixin/src/base-components.class.d.ts +2 -2
  428. package/mixin/src/base-menu-mixin.class.d.ts +5 -5
  429. package/mixin/src/button-mixin.class.d.ts +2 -2
  430. package/mixin/src/clickable-mixin.class.d.ts +2 -2
  431. package/mixin/src/color-look-mixing.class.d.ts +2 -2
  432. package/mixin/src/datalist-component.class.d.ts +10 -10
  433. package/mixin/src/dropdown-mixin.class.d.ts +2 -2
  434. package/mixin/src/interactive-mixin.class.d.ts +4 -4
  435. package/mixin/src/loading-mixin.class.d.ts +2 -2
  436. package/mixin/src/mixin.class.d.ts +61 -61
  437. package/mixin/src/page-component.class.d.ts +2 -2
  438. package/mixin/src/selection-component.class.d.ts +2 -2
  439. package/mixin/src/sizable-mixin.class.d.ts +2 -2
  440. package/mixin/src/textbox-mixin.class.d.ts +2 -2
  441. package/mixin/src/value-mixin.class.d.ts +8 -8
  442. package/number-box/src/number-box.component.d.ts +2 -3
  443. package/package.json +20 -4
  444. package/password-box/src/password-box.component.d.ts +2 -2
  445. package/popover/src/popover.component.d.ts +1 -1
  446. package/popup/src/popup.component.d.ts +1 -1
  447. package/progress-bar/src/progress-bar.component.d.ts +1 -1
  448. package/radio/src/radio.component.d.ts +2 -1
  449. package/range-slider/src/range-slider.component.d.ts +1 -1
  450. package/rating/src/rating.component.d.ts +1 -1
  451. package/result/src/result.component.d.ts +2 -2
  452. package/scss/_mixin.scss +1 -0
  453. package/scss/_variable.scss +1 -0
  454. package/scss/index.scss +2 -0
  455. package/search-box/src/search-box.component.d.ts +1 -1
  456. package/select-box/src/selectbox.component.d.ts +2 -3
  457. package/selection-list/src/selection-list.component.d.ts +1 -1
  458. package/switch/src/switch.component.d.ts +1 -1
  459. package/tabs/src/tab-content.directive.d.ts +1 -1
  460. package/tabs/src/tab-item.component.d.ts +3 -3
  461. package/tabs/src/tabs.class.d.ts +1 -1
  462. package/tabs/src/tabs.component.d.ts +1 -1
  463. package/tag/index.d.ts +5 -0
  464. package/tag/public-api.d.ts +2 -0
  465. package/tag/src/tag.component.d.ts +11 -0
  466. package/tag/src/tag.module.d.ts +8 -0
  467. package/textarea/src/textarea.component.d.ts +1 -1
  468. package/textbox/src/mask-options.directive.d.ts +1 -1
  469. package/textbox/src/textbox.component.d.ts +1 -1
  470. package/time-box/src/time-box.component.d.ts +1 -1
  471. package/toast/src/toast.component.d.ts +1 -1
  472. package/toast/src/toast.service.d.ts +0 -3
  473. package/tooltip/src/tooltip.component.d.ts +1 -1
  474. package/tooltip/src/tooltip.directive.d.ts +1 -1
  475. package/tree-view/src/tree-view.component.d.ts +1 -1
  476. package/uploader/src/uploader.component.d.ts +1 -1
@@ -71,11 +71,11 @@ export class AXUploaderComponent extends AXBaseComponentMixin {
71
71
  return !this._placeholder?.nativeElement.childNodes.length;
72
72
  }
73
73
  }
74
- AXUploaderComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: AXUploaderComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }, { token: i1.AXFileService }], target: i0.ɵɵFactoryTarget.Component });
75
- AXUploaderComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.2", type: AXUploaderComponent, selector: "ax-uploader", inputs: { multiple: "multiple", accept: "accept" }, outputs: { onValueChanged: "onValueChanged" }, host: { listeners: { "click": "_handleClick($event)", "drop": "_handleDrop($event)" }, properties: { "class.ax-look-default": "this.__defaultClass" } }, viewQueries: [{ propertyName: "_placeholder", first: true, predicate: ["contentRef"], descendants: true, static: true }], usesInheritance: true, ngImport: i0, template: "<ng-container><div #contentRef><ng-content></ng-content></div></ng-container>\r\n<ng-container *ngIf=\"contentRef.childNodes.length == 0\">\r\n <div class=\"ax-flex ax-flex-col ax-items-center ax-gap-2\">\r\n <i class=\"ax-ic ax-ic-cloud-upload upload-icon\"></i>\r\n <div class=\"ax-p-4 ax-text-center\" *ngIf=\"_showText\">Drag your file here or, <span class=\"ax-text-primary-500\">click to browse</span></div>\r\n </div>\r\n</ng-container>", dependencies: [{ kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], encapsulation: i0.ViewEncapsulation.None });
76
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: AXUploaderComponent, decorators: [{
74
+ AXUploaderComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: AXUploaderComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }, { token: i1.AXFileService }], target: i0.ɵɵFactoryTarget.Component });
75
+ AXUploaderComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.4", type: AXUploaderComponent, selector: "ax-uploader", inputs: { multiple: "multiple", accept: "accept" }, outputs: { onValueChanged: "onValueChanged" }, host: { listeners: { "click": "_handleClick($event)", "drop": "_handleDrop($event)" }, properties: { "class.ax-look-default": "this.__defaultClass" } }, viewQueries: [{ propertyName: "_placeholder", first: true, predicate: ["contentRef"], descendants: true, static: true }], usesInheritance: true, ngImport: i0, template: "<ng-container>\r\n <div #contentRef><ng-content></ng-content></div>\r\n</ng-container>\r\n<ng-container *ngIf=\"contentRef.childNodes.length == 0\">\r\n <i class=\"ax-icon ax-icon-upload upload-icon\"></i>\r\n <div class=\"ax-uploader-hint\" *ngIf=\"_showText\">Drag your file here or, <span class=\"ax-text-primary-500\">click to\r\n browse</span></div>\r\n</ng-container>", styles: ["ax-uploader.ax-look-default{position:relative;width:100%;color:rgba(var(--ax-color-ghost),.5);border-radius:var(--ax-rounded-border-default);border-width:2px;border-style:dashed;border-color:rgb(var(--ax-color-border-default));display:flex;align-items:center;justify-content:center;cursor:pointer;transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s;background-position:center;background-size:cover}ax-uploader.ax-look-default:hover,ax-uploader.ax-look-default.ax-state-hover{border-color:rgb(var(--ax-color-primary-500));color:rgb(var(--ax-color-primary-500))}ax-uploader.ax-look-default:before{content:\"\";padding-bottom:100%}ax-uploader.ax-look-default .upload-icon{font-size:3rem}ax-uploader.ax-look-default .ax-uploader-hint{padding:1rem;text-align:center}\n"], dependencies: [{ kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], encapsulation: i0.ViewEncapsulation.None });
76
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: AXUploaderComponent, decorators: [{
77
77
  type: Component,
78
- args: [{ selector: 'ax-uploader', encapsulation: ViewEncapsulation.None, template: "<ng-container><div #contentRef><ng-content></ng-content></div></ng-container>\r\n<ng-container *ngIf=\"contentRef.childNodes.length == 0\">\r\n <div class=\"ax-flex ax-flex-col ax-items-center ax-gap-2\">\r\n <i class=\"ax-ic ax-ic-cloud-upload upload-icon\"></i>\r\n <div class=\"ax-p-4 ax-text-center\" *ngIf=\"_showText\">Drag your file here or, <span class=\"ax-text-primary-500\">click to browse</span></div>\r\n </div>\r\n</ng-container>" }]
78
+ args: [{ selector: 'ax-uploader', encapsulation: ViewEncapsulation.None, template: "<ng-container>\r\n <div #contentRef><ng-content></ng-content></div>\r\n</ng-container>\r\n<ng-container *ngIf=\"contentRef.childNodes.length == 0\">\r\n <i class=\"ax-icon ax-icon-upload upload-icon\"></i>\r\n <div class=\"ax-uploader-hint\" *ngIf=\"_showText\">Drag your file here or, <span class=\"ax-text-primary-500\">click to\r\n browse</span></div>\r\n</ng-container>", styles: ["ax-uploader.ax-look-default{position:relative;width:100%;color:rgba(var(--ax-color-ghost),.5);border-radius:var(--ax-rounded-border-default);border-width:2px;border-style:dashed;border-color:rgb(var(--ax-color-border-default));display:flex;align-items:center;justify-content:center;cursor:pointer;transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s;background-position:center;background-size:cover}ax-uploader.ax-look-default:hover,ax-uploader.ax-look-default.ax-state-hover{border-color:rgb(var(--ax-color-primary-500));color:rgb(var(--ax-color-primary-500))}ax-uploader.ax-look-default:before{content:\"\";padding-bottom:100%}ax-uploader.ax-look-default .upload-icon{font-size:3rem}ax-uploader.ax-look-default .ax-uploader-hint{padding:1rem;text-align:center}\n"] }]
79
79
  }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }, { type: i1.AXFileService }]; }, propDecorators: { onValueChanged: [{
80
80
  type: Output
81
81
  }], _placeholder: [{
@@ -95,4 +95,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.2", ngImpor
95
95
  type: HostBinding,
96
96
  args: ['class.ax-look-default']
97
97
  }] } });
98
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidXBsb2FkZXIuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvYWNvcmV4L2NvbXBvbmVudHMvdXBsb2FkZXIvc3JjL3VwbG9hZGVyLmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2Fjb3JleC9jb21wb25lbnRzL3VwbG9hZGVyL3NyYy91cGxvYWRlci5jb21wb25lbnQuaHRtbCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFDQSxPQUFPLEVBQUUsb0JBQW9CLEVBQUUsTUFBTSwwQkFBMEIsQ0FBQztBQUVoRSxPQUFPLEVBRUwsU0FBUyxFQUVULFlBQVksRUFDWixXQUFXLEVBQ1gsWUFBWSxFQUNaLEtBQUssRUFDTCxNQUFNLEVBQ04sU0FBUyxFQUNULGlCQUFpQixHQUNsQixNQUFNLGVBQWUsQ0FBQzs7OztBQU92QixNQUFNLE9BQU8sbUJBQW9CLFNBQVEsb0JBQW9CO0lBUzNELFlBQ0UsVUFBc0IsRUFDdEIsR0FBc0IsRUFDZCxZQUEyQjtRQUVuQyxLQUFLLENBQUMsVUFBVSxFQUFFLEdBQUcsQ0FBQyxDQUFDO1FBRmYsaUJBQVksR0FBWixZQUFZLENBQWU7UUFWckMsbUJBQWMsR0FBOEMsSUFBSSxZQUFZLEVBRXpFLENBQUM7UUFFSixjQUFTLEdBQVksSUFBSSxDQUFDO1FBQzFCLGNBQVMsR0FB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GVuZ3RoO1xyXG4gIH1cclxufVxyXG4iLCI8bmctY29udGFpbmVyPlxyXG4gICAgPGRpdiAjY29udGVudFJlZj48bmctY29udGVudD48L25nLWNvbnRlbnQ+PC9kaXY+XHJcbjwvbmctY29udGFpbmVyPlxyXG48bmctY29udGFpbmVyICpuZ0lmPVwiY29udGVudFJlZi5jaGlsZE5vZGVzLmxlbmd0aCA9PSAwXCI+XHJcbiAgICA8aSBjbGFzcz1cImF4LWljb24gYXgtaWNvbi11cGxvYWQgdXBsb2FkLWljb25cIj48L2k+XHJcbiAgICA8ZGl2IGNsYXNzPVwiYXgtdXBsb2FkZXItaGludFwiICpuZ0lmPVwiX3Nob3dUZXh0XCI+RHJhZyB5b3VyIGZpbGUgaGVyZSBvciwgPHNwYW4gY2xhc3M9XCJheC10ZXh0LXByaW1hcnktNTAwXCI+Y2xpY2sgdG9cclxuICAgICAgICAgICAgYnJvd3NlPC9zcGFuPjwvZGl2PlxyXG48L25nLWNvbnRhaW5lcj4iXX0=
@@ -5,10 +5,10 @@ import { AXDecoratorModule } from '@acorex/components/decorators';
5
5
  import * as i0 from "@angular/core";
6
6
  export class AXUploaderModule {
7
7
  }
8
- AXUploaderModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: AXUploaderModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
9
- AXUploaderModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.2.2", ngImport: i0, type: AXUploaderModule, declarations: [AXUploaderComponent], imports: [CommonModule, AXDecoratorModule], exports: [AXUploaderComponent] });
10
- AXUploaderModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: AXUploaderModule, imports: [CommonModule, AXDecoratorModule] });
11
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: AXUploaderModule, decorators: [{
8
+ AXUploaderModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: AXUploaderModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
9
+ AXUploaderModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.0.4", ngImport: i0, type: AXUploaderModule, declarations: [AXUploaderComponent], imports: [CommonModule, AXDecoratorModule], exports: [AXUploaderComponent] });
10
+ AXUploaderModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: AXUploaderModule, imports: [CommonModule, AXDecoratorModule] });
11
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: AXUploaderModule, decorators: [{
12
12
  type: NgModule,
13
13
  args: [{
14
14
  declarations: [AXUploaderComponent],
@@ -1,7 +1,7 @@
1
1
  import { AXBaseComponent } from '@acorex/components/mixin';
2
2
  import { trigger, state, style, transition, animate } from '@angular/animations';
3
3
  import * as i0 from '@angular/core';
4
- import { Component, Input, EventEmitter, Output, NgModule } from '@angular/core';
4
+ import { Component, ChangeDetectionStrategy, ViewEncapsulation, Input, EventEmitter, Output, NgModule } from '@angular/core';
5
5
  import * as i1 from '@angular/common';
6
6
  import { CommonModule } from '@angular/common';
7
7
  import * as i1$1 from '@acorex/components/button';
@@ -32,8 +32,8 @@ class AXActionSheetComponent extends AXBaseComponent {
32
32
  this.isOpen = !this.isOpen;
33
33
  }
34
34
  }
35
- AXActionSheetComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: AXActionSheetComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
36
- AXActionSheetComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.2", type: AXActionSheetComponent, selector: "ax-action-sheet", inputs: { caption: "caption", closeOnBackdrop: "closeOnBackdrop" }, host: { classAttribute: "ax-action-sheet" }, usesInheritance: true, ngImport: i0, template: "<div class=\"ax-action-sheet-backdrop\" [@backdrop]=\"isOpen ? 'show' : 'hide'\" (click)=\"_handleBackdropClick()\"></div>\r\n<div class=\"ax-action-sheet-container\" [@openClose]=\"isOpen ? 'open' : 'closed'\">\r\n <div class=\"ax-bg-white ax-h-full dark:ax-bg-dark-700\">\r\n <div class=\"ax-action-sheet-caption\" *ngIf=\"caption\">\r\n {{caption}}\r\n </div>\r\n <ng-content select=\"ax-content\"></ng-content>\r\n <div class=\"ax-action-sheet-items\">\r\n <ng-content select=\"ax-action-sheet-item\"></ng-content>\r\n </div>\r\n </div>\r\n</div>", dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], animations: [
35
+ AXActionSheetComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: AXActionSheetComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
36
+ AXActionSheetComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.4", type: AXActionSheetComponent, selector: "ax-action-sheet", inputs: { caption: "caption", closeOnBackdrop: "closeOnBackdrop" }, usesInheritance: true, ngImport: i0, template: "<div class=\"ax-action-sheet-backdrop\" [@backdrop]=\"isOpen ? 'show' : 'hide'\" (click)=\"_handleBackdropClick()\"></div>\r\n<div class=\"ax-action-sheet-container\" [@openClose]=\"isOpen ? 'open' : 'closed'\">\r\n <div class=\"ax-action-sheet-card\">\r\n <div class=\"ax-action-sheet-caption\" *ngIf=\"caption\">\r\n {{caption}}\r\n </div>\r\n <ng-content select=\"ax-content\"></ng-content>\r\n <div class=\"ax-action-sheet-items\">\r\n <ng-content select=\"ax-action-sheet-item\"></ng-content>\r\n </div>\r\n </div>\r\n</div>", styles: ["ax-action-sheet .ax-action-sheet-container{position:fixed;bottom:0;left:50%;transform:translate(-50%);z-index:9999;width:33.333333%;border-top-left-radius:var(--ax-rounded-border-default);border-top-right-radius:var(--ax-rounded-border-default);overflow:hidden}@media (max-width: 599px){ax-action-sheet .ax-action-sheet-container{width:100%}}ax-action-sheet .ax-action-sheet-container .ax-action-sheet-caption{font-size:.875rem;padding:1rem}ax-action-sheet .ax-action-sheet-container .ax-action-sheet-card{background-color:rgb(var(--ax-color-surface));height:100%}ax-action-sheet .ax-action-sheet-container .ax-action-sheet-items{@apply ax-flex ax-flex-col ax-pb-3 ax-overflow-x-hidden ax-overflow-y-auto;display:flex;flex-direction:column;padding-bottom:.75rem;overflow-x:hidden;overflow-y:auto}ax-action-sheet .ax-action-sheet-container .ax-action-sheet-items ax-button{border-radius:0!important;width:100%;text-align:start;justify-items:flex-start}ax-action-sheet .ax-action-sheet-backdrop{background-color:#0000004d;inset:0;position:fixed;z-index:9998}\n"], dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], animations: [
37
37
  trigger('backdrop', [
38
38
  state('show', style({
39
39
  opacity: 1,
@@ -56,10 +56,10 @@ AXActionSheetComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0",
56
56
  })),
57
57
  transition('open <=> closed', [animate('0.2s')]),
58
58
  ]),
59
- ] });
60
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: AXActionSheetComponent, decorators: [{
59
+ ], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
60
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: AXActionSheetComponent, decorators: [{
61
61
  type: Component,
62
- args: [{ selector: 'ax-action-sheet', animations: [
62
+ args: [{ selector: 'ax-action-sheet', changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, animations: [
63
63
  trigger('backdrop', [
64
64
  state('show', style({
65
65
  opacity: 1,
@@ -82,7 +82,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.2", ngImpor
82
82
  })),
83
83
  transition('open <=> closed', [animate('0.2s')]),
84
84
  ]),
85
- ], host: { class: 'ax-action-sheet' }, template: "<div class=\"ax-action-sheet-backdrop\" [@backdrop]=\"isOpen ? 'show' : 'hide'\" (click)=\"_handleBackdropClick()\"></div>\r\n<div class=\"ax-action-sheet-container\" [@openClose]=\"isOpen ? 'open' : 'closed'\">\r\n <div class=\"ax-bg-white ax-h-full dark:ax-bg-dark-700\">\r\n <div class=\"ax-action-sheet-caption\" *ngIf=\"caption\">\r\n {{caption}}\r\n </div>\r\n <ng-content select=\"ax-content\"></ng-content>\r\n <div class=\"ax-action-sheet-items\">\r\n <ng-content select=\"ax-action-sheet-item\"></ng-content>\r\n </div>\r\n </div>\r\n</div>" }]
85
+ ], template: "<div class=\"ax-action-sheet-backdrop\" [@backdrop]=\"isOpen ? 'show' : 'hide'\" (click)=\"_handleBackdropClick()\"></div>\r\n<div class=\"ax-action-sheet-container\" [@openClose]=\"isOpen ? 'open' : 'closed'\">\r\n <div class=\"ax-action-sheet-card\">\r\n <div class=\"ax-action-sheet-caption\" *ngIf=\"caption\">\r\n {{caption}}\r\n </div>\r\n <ng-content select=\"ax-content\"></ng-content>\r\n <div class=\"ax-action-sheet-items\">\r\n <ng-content select=\"ax-action-sheet-item\"></ng-content>\r\n </div>\r\n </div>\r\n</div>", styles: ["ax-action-sheet .ax-action-sheet-container{position:fixed;bottom:0;left:50%;transform:translate(-50%);z-index:9999;width:33.333333%;border-top-left-radius:var(--ax-rounded-border-default);border-top-right-radius:var(--ax-rounded-border-default);overflow:hidden}@media (max-width: 599px){ax-action-sheet .ax-action-sheet-container{width:100%}}ax-action-sheet .ax-action-sheet-container .ax-action-sheet-caption{font-size:.875rem;padding:1rem}ax-action-sheet .ax-action-sheet-container .ax-action-sheet-card{background-color:rgb(var(--ax-color-surface));height:100%}ax-action-sheet .ax-action-sheet-container .ax-action-sheet-items{@apply ax-flex ax-flex-col ax-pb-3 ax-overflow-x-hidden ax-overflow-y-auto;display:flex;flex-direction:column;padding-bottom:.75rem;overflow-x:hidden;overflow-y:auto}ax-action-sheet .ax-action-sheet-container .ax-action-sheet-items ax-button{border-radius:0!important;width:100%;text-align:start;justify-items:flex-start}ax-action-sheet .ax-action-sheet-backdrop{background-color:#0000004d;inset:0;position:fixed;z-index:9998}\n"] }]
86
86
  }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { caption: [{
87
87
  type: Input
88
88
  }], closeOnBackdrop: [{
@@ -95,15 +95,15 @@ class AXActionSheetItemComponent extends AXBaseComponent {
95
95
  */
96
96
  constructor(_elementRef, _cdr) {
97
97
  super(_elementRef, _cdr);
98
- this.color = 'light';
98
+ this.color = 'primary';
99
99
  this.onClick = new EventEmitter();
100
100
  }
101
101
  _handleOnClick(e) {
102
102
  this.onClick.emit(e);
103
103
  }
104
104
  }
105
- AXActionSheetItemComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: AXActionSheetItemComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
106
- AXActionSheetItemComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.2", type: AXActionSheetItemComponent, selector: "ax-action-sheet-item", inputs: { text: "text", color: "color" }, outputs: { onClick: "onClick" }, usesInheritance: true, ngImport: i0, template: `
105
+ AXActionSheetItemComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: AXActionSheetItemComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
106
+ AXActionSheetItemComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.4", type: AXActionSheetItemComponent, selector: "ax-action-sheet-item", inputs: { text: "text", color: "color" }, outputs: { onClick: "onClick" }, usesInheritance: true, ngImport: i0, template: `
107
107
  <ax-button
108
108
  [color]="color"
109
109
  look="blank"
@@ -111,7 +111,7 @@ AXActionSheetItemComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0
111
111
  (onClick)="_handleOnClick($event)"
112
112
  ></ax-button>
113
113
  `, isInline: true, dependencies: [{ kind: "component", type: i1$1.AXButtonComponent, selector: "ax-button", inputs: ["disabled", "size", "tabIndex", "color", "look", "text", "toggleable", "selected", "type"], outputs: ["onBlur", "onFocus", "onClick", "selectedChange", "toggleableChange", "lookChange", "colorChange"] }] });
114
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: AXActionSheetItemComponent, decorators: [{
114
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: AXActionSheetItemComponent, decorators: [{
115
115
  type: Component,
116
116
  args: [{
117
117
  selector: 'ax-action-sheet-item',
@@ -134,10 +134,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.2", ngImpor
134
134
 
135
135
  class AXActionSheetModule {
136
136
  }
137
- AXActionSheetModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: AXActionSheetModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
138
- AXActionSheetModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.2.2", ngImport: i0, type: AXActionSheetModule, declarations: [AXActionSheetComponent, AXActionSheetItemComponent], imports: [CommonModule, AXButtonModule], exports: [AXActionSheetComponent, AXActionSheetItemComponent] });
139
- AXActionSheetModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: AXActionSheetModule, imports: [CommonModule, AXButtonModule] });
140
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: AXActionSheetModule, decorators: [{
137
+ AXActionSheetModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: AXActionSheetModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
138
+ AXActionSheetModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.0.4", ngImport: i0, type: AXActionSheetModule, declarations: [AXActionSheetComponent, AXActionSheetItemComponent], imports: [CommonModule, AXButtonModule], exports: [AXActionSheetComponent, AXActionSheetItemComponent] });
139
+ AXActionSheetModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: AXActionSheetModule, imports: [CommonModule, AXButtonModule] });
140
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: AXActionSheetModule, decorators: [{
141
141
  type: NgModule,
142
142
  args: [{
143
143
  declarations: [AXActionSheetComponent, AXActionSheetItemComponent],
@@ -1 +1 @@
1
- {"version":3,"file":"acorex-components-action-sheet.mjs","sources":["../../../../projects/acorex/components/action-sheet/src/action-sheet.component.ts","../../../../projects/acorex/components/action-sheet/src/action-sheet.component.html","../../../../projects/acorex/components/action-sheet/src/action-sheet-item.component.ts","../../../../projects/acorex/components/action-sheet/src/action-sheet.module.ts","../../../../projects/acorex/components/action-sheet/acorex-components-action-sheet.ts"],"sourcesContent":["import { AXBaseComponent } from '@acorex/components/mixin';\r\nimport {\r\n trigger,\r\n state,\r\n style,\r\n transition,\r\n animate,\r\n} from '@angular/animations';\r\nimport { ChangeDetectorRef, Component, ElementRef, Input } from '@angular/core';\r\n\r\n@Component({\r\n selector: 'ax-action-sheet',\r\n templateUrl: './action-sheet.component.html',\r\n animations: [\r\n trigger('backdrop', [\r\n state(\r\n 'show',\r\n style({\r\n opacity: 1,\r\n visibility: 'visible',\r\n })\r\n ),\r\n state(\r\n 'hide',\r\n style({\r\n visibility: 'hidden',\r\n opacity: 0,\r\n })\r\n ),\r\n transition('show <=> hide', [animate('0.2s')]),\r\n ]),\r\n\r\n trigger('openClose', [\r\n state(\r\n 'open',\r\n style({\r\n bottom: '0',\r\n opacity: 1,\r\n })\r\n ),\r\n state(\r\n 'closed',\r\n style({\r\n bottom: '-100%',\r\n opacity: 0.5,\r\n })\r\n ),\r\n transition('open <=> closed', [animate('0.2s')]),\r\n ]),\r\n ],\r\n host: { class: 'ax-action-sheet' },\r\n})\r\nexport class AXActionSheetComponent extends AXBaseComponent {\r\n @Input() caption = '';\r\n @Input() closeOnBackdrop = true;\r\n isOpen = false;\r\n\r\n _backdrop: HTMLElement;\r\n /**\r\n * @ignore\r\n */\r\n constructor(_elementRef: ElementRef, _cdr: ChangeDetectorRef) {\r\n super(_elementRef, _cdr);\r\n }\r\n\r\n _handleBackdropClick() {\r\n if (!this.closeOnBackdrop) return;\r\n this.close();\r\n }\r\n\r\n open() {\r\n this.isOpen = true;\r\n }\r\n\r\n close() {\r\n this.isOpen = false;\r\n }\r\n\r\n toggle() {\r\n this.isOpen = !this.isOpen;\r\n }\r\n}\r\n","<div class=\"ax-action-sheet-backdrop\" [@backdrop]=\"isOpen ? 'show' : 'hide'\" (click)=\"_handleBackdropClick()\"></div>\r\n<div class=\"ax-action-sheet-container\" [@openClose]=\"isOpen ? 'open' : 'closed'\">\r\n <div class=\"ax-bg-white ax-h-full dark:ax-bg-dark-700\">\r\n <div class=\"ax-action-sheet-caption\" *ngIf=\"caption\">\r\n {{caption}}\r\n </div>\r\n <ng-content select=\"ax-content\"></ng-content>\r\n <div class=\"ax-action-sheet-items\">\r\n <ng-content select=\"ax-action-sheet-item\"></ng-content>\r\n </div>\r\n </div>\r\n</div>","import {\r\n ChangeDetectorRef,\r\n Component,\r\n ElementRef,\r\n EventEmitter,\r\n Input,\r\n Output,\r\n} from '@angular/core';\r\nimport {\r\n AXButtonClickEvent,\r\n AXStyleColorType,\r\n} from '@acorex/components/common';\r\nimport { AXBaseComponent } from '@acorex/components/mixin';\r\n\r\n@Component({\r\n selector: 'ax-action-sheet-item',\r\n template: `\r\n <ax-button\r\n [color]=\"color\"\r\n look=\"blank\"\r\n [text]=\"text\"\r\n (onClick)=\"_handleOnClick($event)\"\r\n ></ax-button>\r\n `,\r\n})\r\nexport class AXActionSheetItemComponent extends AXBaseComponent {\r\n @Input()\r\n text: string;\r\n\r\n @Input()\r\n color: AXStyleColorType = 'light';\r\n\r\n @Output()\r\n onClick: EventEmitter<AXButtonClickEvent> = new EventEmitter<AXButtonClickEvent>();\r\n\r\n /**\r\n * @ignore\r\n */\r\n constructor(_elementRef: ElementRef, _cdr: ChangeDetectorRef) {\r\n super(_elementRef, _cdr);\r\n }\r\n\r\n _handleOnClick(e: any) {\r\n this.onClick.emit(e);\r\n }\r\n}\r\n","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\nimport { AXButtonModule } from '@acorex/components/button';\r\nimport { AXActionSheetComponent } from './action-sheet.component';\r\nimport { AXActionSheetItemComponent } from './action-sheet-item.component';\r\n\r\n@NgModule({\r\n declarations: [AXActionSheetComponent, AXActionSheetItemComponent],\r\n imports: [CommonModule, AXButtonModule],\r\n exports: [AXActionSheetComponent, AXActionSheetItemComponent],\r\n providers: [],\r\n})\r\nexport class AXActionSheetModule {}\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":["i1"],"mappings":";;;;;;;;;AAoDM,MAAO,sBAAuB,SAAQ,eAAe,CAAA;AAMzD;;AAEG;IACH,WAAY,CAAA,WAAuB,EAAE,IAAuB,EAAA;AAC1D,QAAA,KAAK,CAAC,WAAW,EAAE,IAAI,CAAC,CAAC;AATlB,QAAA,IAAO,CAAA,OAAA,GAAG,EAAE,CAAC;AACb,QAAA,IAAe,CAAA,eAAA,GAAG,IAAI,CAAC;AAChC,QAAA,IAAM,CAAA,MAAA,GAAG,KA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BAAmB,EAAA,UAAA,EAAA,CAAA;kBAN/B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,YAAY,EAAE,CAAC,sBAAsB,EAAE,0BAA0B,CAAC;AAClE,oBAAA,OAAO,EAAE,CAAC,YAAY,EAAE,cAAc,CAAC;AACvC,oBAAA,OAAO,EAAE,CAAC,sBAAsB,EAAE,0BAA0B,CAAC;AAC7D,oBAAA,SAAS,EAAE,EAAE;iBACd,CAAA;;;ACXD;;AAEG;;;;"}
1
+ {"version":3,"file":"acorex-components-action-sheet.mjs","sources":["../../../../projects/acorex/components/action-sheet/src/action-sheet.component.ts","../../../../projects/acorex/components/action-sheet/src/action-sheet.component.html","../../../../projects/acorex/components/action-sheet/src/action-sheet-item.component.ts","../../../../projects/acorex/components/action-sheet/src/action-sheet.module.ts","../../../../projects/acorex/components/action-sheet/acorex-components-action-sheet.ts"],"sourcesContent":["import { AXBaseComponent } from '@acorex/components/mixin';\r\nimport {\r\n trigger,\r\n state,\r\n style,\r\n transition,\r\n animate,\r\n} from '@angular/animations';\r\nimport { ChangeDetectionStrategy, ChangeDetectorRef, Component, ElementRef, Input, ViewEncapsulation } from '@angular/core';\r\n\r\n@Component({\r\n selector: 'ax-action-sheet',\r\n templateUrl: './action-sheet.component.html',\r\n styleUrls: ['./action-sheet.component.scss'],\r\n changeDetection: ChangeDetectionStrategy.OnPush,\r\n encapsulation: ViewEncapsulation.None,\r\n animations: [\r\n trigger('backdrop', [\r\n state(\r\n 'show',\r\n style({\r\n opacity: 1,\r\n visibility: 'visible',\r\n })\r\n ),\r\n state(\r\n 'hide',\r\n style({\r\n visibility: 'hidden',\r\n opacity: 0,\r\n })\r\n ),\r\n transition('show <=> hide', [animate('0.2s')]),\r\n ]),\r\n\r\n trigger('openClose', [\r\n state(\r\n 'open',\r\n style({\r\n bottom: '0',\r\n opacity: 1,\r\n })\r\n ),\r\n state(\r\n 'closed',\r\n style({\r\n bottom: '-100%',\r\n opacity: 0.5,\r\n })\r\n ),\r\n transition('open <=> closed', [animate('0.2s')]),\r\n ]),\r\n ]\r\n})\r\nexport class AXActionSheetComponent extends AXBaseComponent {\r\n @Input() caption = '';\r\n @Input() closeOnBackdrop = true;\r\n isOpen = false;\r\n\r\n _backdrop: HTMLElement;\r\n /**\r\n * @ignore\r\n */\r\n constructor(_elementRef: ElementRef, _cdr: ChangeDetectorRef) {\r\n super(_elementRef, _cdr);\r\n }\r\n\r\n _handleBackdropClick() {\r\n if (!this.closeOnBackdrop) return;\r\n this.close();\r\n }\r\n\r\n open() {\r\n this.isOpen = true;\r\n }\r\n\r\n close() {\r\n this.isOpen = false;\r\n }\r\n\r\n toggle() {\r\n this.isOpen = !this.isOpen;\r\n }\r\n}\r\n","<div class=\"ax-action-sheet-backdrop\" [@backdrop]=\"isOpen ? 'show' : 'hide'\" (click)=\"_handleBackdropClick()\"></div>\r\n<div class=\"ax-action-sheet-container\" [@openClose]=\"isOpen ? 'open' : 'closed'\">\r\n <div class=\"ax-action-sheet-card\">\r\n <div class=\"ax-action-sheet-caption\" *ngIf=\"caption\">\r\n {{caption}}\r\n </div>\r\n <ng-content select=\"ax-content\"></ng-content>\r\n <div class=\"ax-action-sheet-items\">\r\n <ng-content select=\"ax-action-sheet-item\"></ng-content>\r\n </div>\r\n </div>\r\n</div>","import {\r\n ChangeDetectorRef,\r\n Component,\r\n ElementRef,\r\n EventEmitter,\r\n Input,\r\n Output,\r\n} from '@angular/core';\r\nimport {\r\n AXButtonClickEvent,\r\n AXStyleColorType,\r\n} from '@acorex/components/common';\r\nimport { AXBaseComponent } from '@acorex/components/mixin';\r\n\r\n@Component({\r\n selector: 'ax-action-sheet-item',\r\n template: `\r\n <ax-button\r\n [color]=\"color\"\r\n look=\"blank\"\r\n [text]=\"text\"\r\n (onClick)=\"_handleOnClick($event)\"\r\n ></ax-button>\r\n `,\r\n})\r\nexport class AXActionSheetItemComponent extends AXBaseComponent {\r\n @Input()\r\n text: string;\r\n\r\n @Input()\r\n color: AXStyleColorType = 'primary';\r\n\r\n @Output()\r\n onClick: EventEmitter<AXButtonClickEvent> = new EventEmitter<AXButtonClickEvent>();\r\n\r\n /**\r\n * @ignore\r\n */\r\n constructor(_elementRef: ElementRef, _cdr: ChangeDetectorRef) {\r\n super(_elementRef, _cdr);\r\n }\r\n\r\n _handleOnClick(e: any) {\r\n this.onClick.emit(e);\r\n }\r\n}\r\n","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\nimport { AXButtonModule } from '@acorex/components/button';\r\nimport { AXActionSheetComponent } from './action-sheet.component';\r\nimport { AXActionSheetItemComponent } from './action-sheet-item.component';\r\n\r\n@NgModule({\r\n declarations: [AXActionSheetComponent, AXActionSheetItemComponent],\r\n imports: [CommonModule, AXButtonModule],\r\n exports: [AXActionSheetComponent, AXActionSheetItemComponent],\r\n providers: [],\r\n})\r\nexport class AXActionSheetModule {}\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":["i1"],"mappings":";;;;;;;;;AAsDM,MAAO,sBAAuB,SAAQ,eAAe,CAAA;AAMzD;;AAEG;IACH,WAAY,CAAA,WAAuB,EAAE,IAAuB,EAAA;AAC1D,QAAA,KAAK,CAAC,WAAW,EAAE,IAAI,CAAC,CAAC;AATlB,QAAA,IAAO,CAAA,OAAA,GAAG,EAAE,CAAC;AACb,QAAA,IAAe,CAAA,eAAA,GAAG,IAAI,CAAC;AAChC,QAAA,IAAM,CAAA,MAAA,GAAG,KAAK,CAAC;KAQd;IAED,oBAAoB,GAAA;QAClB,IAAI,CAAC,IAAI,CAAC,eAAe;YAAE,OAAO;QAClC,IAAI,CAAC,KAAK,EAAE,CAAC;KACd;IAED,IAAI,GAAA;AACF,QAAA,IAAI,CAAC,MAAM,GAAG,IAAI,CAAC;KACpB;IAED,KAAK,GAAA;AACH,QAAA,IAAI,CAAC,MAAM,GAAG,KAAK,CAAC;KACrB;IAED,MAAM,GAAA;AACJ,QAAA,IAAI,CAAC,MAAM,G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,EAAE,CAAC,sBAAsB,EAAE,0BAA0B,CAAC;AAC7D,oBAAA,SAAS,EAAE,EAAE;iBACd,CAAA;;;ACXD;;AAEG;;;;"}
@@ -13,9 +13,9 @@ class AXAlertButtonDirective {
13
13
  this.look = "default";
14
14
  }
15
15
  }
16
- AXAlertButtonDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: AXAlertButtonDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
17
- AXAlertButtonDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.2.2", type: AXAlertButtonDirective, selector: "[ax-alert-button]", inputs: { text: "text", look: "look" }, ngImport: i0 });
18
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: AXAlertButtonDirective, decorators: [{
16
+ AXAlertButtonDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: AXAlertButtonDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
17
+ AXAlertButtonDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.0.4", type: AXAlertButtonDirective, selector: "[ax-alert-button]", inputs: { text: "text", look: "look" }, ngImport: i0 });
18
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: AXAlertButtonDirective, decorators: [{
19
19
  type: Directive,
20
20
  args: [{ selector: '[ax-alert-button]' }]
21
21
  }], ctorParameters: function () { return []; }, propDecorators: { text: [{
@@ -116,19 +116,16 @@ class AXAlertComponent extends AXBaseAlertMixin {
116
116
  return;
117
117
  switch (this.color) {
118
118
  case 'success':
119
- this._icon.icon = 'ax-ic ax-ic-check';
119
+ this._icon.icon = 'ax-icon ax-icon-done';
120
120
  break;
121
121
  case 'danger':
122
- this._icon.icon = 'ax-ic ax-ic-error-filled';
122
+ this._icon.icon = 'ax-icon ax-icon-error-fill';
123
123
  break;
124
124
  case 'warning':
125
- this._icon.icon = 'ax-ic ax-ic-warning-filled';
126
- break;
127
- case 'info':
128
- this._icon.icon = 'ax-ic ax-ic-info-filled';
125
+ this._icon.icon = 'ax-icon ax-icon-warning-fill';
129
126
  break;
130
127
  default:
131
- this._icon.icon = this._customIcon || 'ax-ic ax-ic-info-filled';
128
+ this._icon.icon = this._customIcon || 'ax-icon ax-icon-done';
132
129
  break;
133
130
  }
134
131
  }
@@ -173,11 +170,11 @@ class AXAlertComponent extends AXBaseAlertMixin {
173
170
  (_a = this._observer) === null || _a === void 0 ? void 0 : _a.disconnect();
174
171
  }
175
172
  }
176
- AXAlertComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: AXAlertComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
177
- AXAlertComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.2", type: AXAlertComponent, selector: "ax-alert", inputs: { color: "color", timeOut: "timeOut", visible: "visible" }, outputs: { onClosed: "onClosed" }, host: { properties: { "class": "this.__hostClass" }, classAttribute: "ax-alert" }, providers: [{ provide: AXClosbaleComponent, useExisting: AXAlertComponent }], queries: [{ propertyName: "_icon", first: true, predicate: AXDecoratorIconComponent, descendants: true }, { propertyName: "_content", first: true, predicate: AXDecoratorContentComponent, descendants: true }, { propertyName: "_footer", first: true, predicate: AXDecoratorFooterComponent, descendants: true }, { propertyName: "_buttons", predicate: AXButtonComponent, descendants: true }], usesInheritance: true, ngImport: i0, template: "<div class=\"ax-alert-inline-start\" [class.!ax-items-start]=\"_showInline\">\r\n <ng-content select=\"ax-icon\"></ng-content>\r\n</div>\r\n<div class=\"ax-alert-inline-middle\">\r\n <div class=\"ax-alert-block-start\">\r\n <div class=\"ax-alert-title\">\r\n <ng-content select=\"ax-title\"></ng-content>\r\n <ng-content select=\"ax-sub-title\"></ng-content>\r\n </div>\r\n </div>\r\n <div class=\"ax-alert-block-end\" [class.!ax-hidden]=\"!_showInline\">\r\n <ng-content select=\"ax-content\">\r\n </ng-content>\r\n <ng-content select=\"ax-footer\">\r\n </ng-content>\r\n </div>\r\n</div>\r\n<div class=\"ax-alert-inline-end\" [class.!ax-items-start]=\"_showInline\">\r\n <ng-content select=\"ax-button\"></ng-content>\r\n <ng-content select=\"ax-close-button\"></ng-content>\r\n</div>\r\n<div class=\"ax-alert-progress\" [style.animation-duration.ms]=\"timeOut\" *ngIf=\"timeOut\">\r\n</div>", dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
178
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: AXAlertComponent, decorators: [{
173
+ AXAlertComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: AXAlertComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
174
+ AXAlertComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.4", type: AXAlertComponent, selector: "ax-alert", inputs: { color: "color", timeOut: "timeOut", visible: "visible" }, outputs: { onClosed: "onClosed" }, host: { properties: { "class": "this.__hostClass" } }, providers: [{ provide: AXClosbaleComponent, useExisting: AXAlertComponent }], queries: [{ propertyName: "_icon", first: true, predicate: AXDecoratorIconComponent, descendants: true }, { propertyName: "_content", first: true, predicate: AXDecoratorContentComponent, descendants: true }, { propertyName: "_footer", first: true, predicate: AXDecoratorFooterComponent, descendants: true }, { propertyName: "_buttons", predicate: AXButtonComponent, descendants: true }], usesInheritance: true, ngImport: i0, template: "<div class=\"ax-alert-inline-start\" [class.!ax-items-start]=\"_showInline\">\r\n <ng-content select=\"ax-icon\"></ng-content>\r\n</div>\r\n<div class=\"ax-alert-inline-middle\">\r\n <div class=\"ax-alert-block-start\">\r\n <div class=\"ax-alert-title\">\r\n <ng-content select=\"ax-title\"></ng-content>\r\n <ng-content select=\"ax-sub-title\"></ng-content>\r\n </div>\r\n </div>\r\n <div class=\"ax-alert-block-end\" [class.!ax-hidden]=\"!_showInline\">\r\n <ng-content select=\"ax-content\">\r\n </ng-content>\r\n <ng-content select=\"ax-footer\">\r\n </ng-content>\r\n </div>\r\n</div>\r\n<div class=\"ax-alert-inline-end\" [class.!ax-items-start]=\"_showInline\">\r\n <ng-content select=\"ax-button\"></ng-content>\r\n <ng-content select=\"ax-close-button\"></ng-content>\r\n</div>\r\n<div class=\"ax-alert-progress\" [style.animation-duration.ms]=\"timeOut\" *ngIf=\"timeOut\">\r\n</div>", styles: ["html.ax-dark ax-alert.ax-primary-default{background-color:rgb(var(--ax-color-primary-900))}html.ax-dark ax-alert.ax-primary-default .ax-alert-block-start ax-title,html.ax-dark ax-alert.ax-primary-default .ax-alert-block-start ax-sub-title{color:rgb(var(--ax-color-primary-50))}html.ax-dark ax-alert.ax-primary-default .ax-alert-block-end ax-content{color:rgb(var(--ax-color-primary-50))}html.ax-dark ax-alert.ax-primary-default .ax-alert-progress{background-color:rgb(var(--ax-color-primary-500))}html.ax-dark ax-alert.ax-secondary-default{background-color:rgb(var(--ax-color-secondary-900))}html.ax-dark ax-alert.ax-secondary-default .ax-alert-block-start ax-title,html.ax-dark ax-alert.ax-secondary-default .ax-alert-block-start ax-sub-title{color:rgb(var(--ax-color-secondary-50))}html.ax-dark ax-alert.ax-secondary-default .ax-alert-block-end ax-content{color:rgb(var(--ax-color-secondary-50))}html.ax-dark ax-alert.ax-secondary-default .ax-alert-progress{background-color:rgb(var(--ax-color-secondary-500))}html.ax-dark ax-alert.ax-success-default{background-color:rgb(var(--ax-color-success-900))}html.ax-dark ax-alert.ax-success-default .ax-alert-block-start ax-title,html.ax-dark ax-alert.ax-success-default .ax-alert-block-start ax-sub-title{color:rgb(var(--ax-color-success-50))}html.ax-dark ax-alert.ax-success-default .ax-alert-block-end ax-content{color:rgb(var(--ax-color-success-50))}html.ax-dark ax-alert.ax-success-default .ax-alert-progress{background-color:rgb(var(--ax-color-success-500))}html.ax-dark ax-alert.ax-warning-default{background-color:rgb(var(--ax-color-warning-900))}html.ax-dark ax-alert.ax-warning-default .ax-alert-block-start ax-title,html.ax-dark ax-alert.ax-warning-default .ax-alert-block-start ax-sub-title{color:rgb(var(--ax-color-warning-50))}html.ax-dark ax-alert.ax-warning-default .ax-alert-block-end ax-content{color:rgb(var(--ax-color-warning-50))}html.ax-dark ax-alert.ax-warning-default .ax-alert-progress{background-color:rgb(var(--ax-color-warning-500))}html.ax-dark ax-alert.ax-danger-default{background-color:rgb(var(--ax-color-danger-900))}html.ax-dark ax-alert.ax-danger-default .ax-alert-block-start ax-title,html.ax-dark ax-alert.ax-danger-default .ax-alert-block-start ax-sub-title{color:rgb(var(--ax-color-danger-50))}html.ax-dark ax-alert.ax-danger-default .ax-alert-block-end ax-content{color:rgb(var(--ax-color-danger-50))}html.ax-dark ax-alert.ax-danger-default .ax-alert-progress{background-color:rgb(var(--ax-color-danger-500))}ax-alert{position:relative;padding:1rem;border-radius:var(--ax-rounded-border-default);border:1px solid;font-size:.875rem;display:flex;gap:1rem;overflow:hidden}ax-alert.ax-state-hidden{visibility:hidden;opacity:0}ax-alert.ax-state-visible{visibility:visible;opacity:1}ax-alert .ax-alert-inline-middle{display:flex;flex-direction:column;justify-content:center;flex:1 1 0%}ax-alert .ax-alert-inline-start,ax-alert .ax-alert-inline-end{display:flex}ax-alert .ax-alert-inline-start{align-items:center}ax-alert .ax-alert-inline-start>ax-icon{width:2.25rem;height:2.25rem;border-radius:999rem;display:grid;place-items:center;font-size:1.5rem}ax-alert .ax-alert-inline-end{align-items:center}ax-alert .ax-alert-block-start{display:flex;align-items:center;justify-content:center}ax-alert .ax-alert-block-start .ax-alert-title{display:flex;flex-direction:column;flex:1}ax-alert .ax-alert-block-end{display:flex;flex-direction:column;gap:1rem;padding-top:.5rem}ax-alert .ax-alert-block-end ax-content{display:block;color:rgb(var(--ax-color-text-default))}ax-alert .ax-alert-block-end ax-footer{background-color:transparent}ax-alert .ax-alert-progress{width:0px;height:.25rem;position:absolute;inset-inline-start:0px;bottom:0;animation-duration:4s;animation-timing-function:linear;animation-name:progressBar}@keyframes progressBar{0%{width:100%}to{width:0%}}ax-alert .ax-items-start{align-items:flex-start!important}ax-alert .ax-hidden{display:none!important}ax-alert.ax-primary-default{background-color:rgb(var(--ax-color-primary-50));border-color:rgb(var(--ax-color-primary-500))}ax-alert.ax-primary-default .ax-alert-inline-start>ax-icon{background-color:rgb(var(--ax-color-primary-500));color:rgb(var(--ax-color-primary-50))}ax-alert.ax-primary-default .ax-alert-progress{background-color:rgb(var(--ax-color-primary-800))}ax-alert.ax-secondary-default{background-color:rgb(var(--ax-color-secondary-50));border-color:rgb(var(--ax-color-secondary-500))}ax-alert.ax-secondary-default .ax-alert-inline-start>ax-icon{background-color:rgb(var(--ax-color-secondary-500));color:rgb(var(--ax-color-secondary-50))}ax-alert.ax-secondary-default .ax-alert-progress{background-color:rgb(var(--ax-color-secondary-800))}ax-alert.ax-success-default{background-color:rgb(var(--ax-color-success-50));border-color:rgb(var(--ax-color-success-500))}ax-alert.ax-success-default .ax-alert-inline-start>ax-icon{background-color:rgb(var(--ax-color-success-500));color:rgb(var(--ax-color-success-50))}ax-alert.ax-success-default .ax-alert-progress{background-color:rgb(var(--ax-color-success-800))}ax-alert.ax-warning-default{background-color:rgb(var(--ax-color-warning-50));border-color:rgb(var(--ax-color-warning-500))}ax-alert.ax-warning-default .ax-alert-inline-start>ax-icon{background-color:rgb(var(--ax-color-warning-500));color:rgb(var(--ax-color-warning-50))}ax-alert.ax-warning-default .ax-alert-progress{background-color:rgb(var(--ax-color-warning-800))}ax-alert.ax-danger-default{background-color:rgb(var(--ax-color-danger-50));border-color:rgb(var(--ax-color-danger-500))}ax-alert.ax-danger-default .ax-alert-inline-start>ax-icon{background-color:rgb(var(--ax-color-danger-500));color:rgb(var(--ax-color-danger-50))}ax-alert.ax-danger-default .ax-alert-progress{background-color:rgb(var(--ax-color-danger-800))}\n"], dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
175
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: AXAlertComponent, decorators: [{
179
176
  type: Component,
180
- args: [{ selector: 'ax-alert', inputs: ['color'], host: { class: 'ax-alert' }, changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, providers: [{ provide: AXClosbaleComponent, useExisting: AXAlertComponent }], template: "<div class=\"ax-alert-inline-start\" [class.!ax-items-start]=\"_showInline\">\r\n <ng-content select=\"ax-icon\"></ng-content>\r\n</div>\r\n<div class=\"ax-alert-inline-middle\">\r\n <div class=\"ax-alert-block-start\">\r\n <div class=\"ax-alert-title\">\r\n <ng-content select=\"ax-title\"></ng-content>\r\n <ng-content select=\"ax-sub-title\"></ng-content>\r\n </div>\r\n </div>\r\n <div class=\"ax-alert-block-end\" [class.!ax-hidden]=\"!_showInline\">\r\n <ng-content select=\"ax-content\">\r\n </ng-content>\r\n <ng-content select=\"ax-footer\">\r\n </ng-content>\r\n </div>\r\n</div>\r\n<div class=\"ax-alert-inline-end\" [class.!ax-items-start]=\"_showInline\">\r\n <ng-content select=\"ax-button\"></ng-content>\r\n <ng-content select=\"ax-close-button\"></ng-content>\r\n</div>\r\n<div class=\"ax-alert-progress\" [style.animation-duration.ms]=\"timeOut\" *ngIf=\"timeOut\">\r\n</div>" }]
177
+ args: [{ selector: 'ax-alert', inputs: ['color'], changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, providers: [{ provide: AXClosbaleComponent, useExisting: AXAlertComponent }], template: "<div class=\"ax-alert-inline-start\" [class.!ax-items-start]=\"_showInline\">\r\n <ng-content select=\"ax-icon\"></ng-content>\r\n</div>\r\n<div class=\"ax-alert-inline-middle\">\r\n <div class=\"ax-alert-block-start\">\r\n <div class=\"ax-alert-title\">\r\n <ng-content select=\"ax-title\"></ng-content>\r\n <ng-content select=\"ax-sub-title\"></ng-content>\r\n </div>\r\n </div>\r\n <div class=\"ax-alert-block-end\" [class.!ax-hidden]=\"!_showInline\">\r\n <ng-content select=\"ax-content\">\r\n </ng-content>\r\n <ng-content select=\"ax-footer\">\r\n </ng-content>\r\n </div>\r\n</div>\r\n<div class=\"ax-alert-inline-end\" [class.!ax-items-start]=\"_showInline\">\r\n <ng-content select=\"ax-button\"></ng-content>\r\n <ng-content select=\"ax-close-button\"></ng-content>\r\n</div>\r\n<div class=\"ax-alert-progress\" [style.animation-duration.ms]=\"timeOut\" *ngIf=\"timeOut\">\r\n</div>", styles: ["html.ax-dark ax-alert.ax-primary-default{background-color:rgb(var(--ax-color-primary-900))}html.ax-dark ax-alert.ax-primary-default .ax-alert-block-start ax-title,html.ax-dark ax-alert.ax-primary-default .ax-alert-block-start ax-sub-title{color:rgb(var(--ax-color-primary-50))}html.ax-dark ax-alert.ax-primary-default .ax-alert-block-end ax-content{color:rgb(var(--ax-color-primary-50))}html.ax-dark ax-alert.ax-primary-default .ax-alert-progress{background-color:rgb(var(--ax-color-primary-500))}html.ax-dark ax-alert.ax-secondary-default{background-color:rgb(var(--ax-color-secondary-900))}html.ax-dark ax-alert.ax-secondary-default .ax-alert-block-start ax-title,html.ax-dark ax-alert.ax-secondary-default .ax-alert-block-start ax-sub-title{color:rgb(var(--ax-color-secondary-50))}html.ax-dark ax-alert.ax-secondary-default .ax-alert-block-end ax-content{color:rgb(var(--ax-color-secondary-50))}html.ax-dark ax-alert.ax-secondary-default .ax-alert-progress{background-color:rgb(var(--ax-color-secondary-500))}html.ax-dark ax-alert.ax-success-default{background-color:rgb(var(--ax-color-success-900))}html.ax-dark ax-alert.ax-success-default .ax-alert-block-start ax-title,html.ax-dark ax-alert.ax-success-default .ax-alert-block-start ax-sub-title{color:rgb(var(--ax-color-success-50))}html.ax-dark ax-alert.ax-success-default .ax-alert-block-end ax-content{color:rgb(var(--ax-color-success-50))}html.ax-dark ax-alert.ax-success-default .ax-alert-progress{background-color:rgb(var(--ax-color-success-500))}html.ax-dark ax-alert.ax-warning-default{background-color:rgb(var(--ax-color-warning-900))}html.ax-dark ax-alert.ax-warning-default .ax-alert-block-start ax-title,html.ax-dark ax-alert.ax-warning-default .ax-alert-block-start ax-sub-title{color:rgb(var(--ax-color-warning-50))}html.ax-dark ax-alert.ax-warning-default .ax-alert-block-end ax-content{color:rgb(var(--ax-color-warning-50))}html.ax-dark ax-alert.ax-warning-default .ax-alert-progress{background-color:rgb(var(--ax-color-warning-500))}html.ax-dark ax-alert.ax-danger-default{background-color:rgb(var(--ax-color-danger-900))}html.ax-dark ax-alert.ax-danger-default .ax-alert-block-start ax-title,html.ax-dark ax-alert.ax-danger-default .ax-alert-block-start ax-sub-title{color:rgb(var(--ax-color-danger-50))}html.ax-dark ax-alert.ax-danger-default .ax-alert-block-end ax-content{color:rgb(var(--ax-color-danger-50))}html.ax-dark ax-alert.ax-danger-default .ax-alert-progress{background-color:rgb(var(--ax-color-danger-500))}ax-alert{position:relative;padding:1rem;border-radius:var(--ax-rounded-border-default);border:1px solid;font-size:.875rem;display:flex;gap:1rem;overflow:hidden}ax-alert.ax-state-hidden{visibility:hidden;opacity:0}ax-alert.ax-state-visible{visibility:visible;opacity:1}ax-alert .ax-alert-inline-middle{display:flex;flex-direction:column;justify-content:center;flex:1 1 0%}ax-alert .ax-alert-inline-start,ax-alert .ax-alert-inline-end{display:flex}ax-alert .ax-alert-inline-start{align-items:center}ax-alert .ax-alert-inline-start>ax-icon{width:2.25rem;height:2.25rem;border-radius:999rem;display:grid;place-items:center;font-size:1.5rem}ax-alert .ax-alert-inline-end{align-items:center}ax-alert .ax-alert-block-start{display:flex;align-items:center;justify-content:center}ax-alert .ax-alert-block-start .ax-alert-title{display:flex;flex-direction:column;flex:1}ax-alert .ax-alert-block-end{display:flex;flex-direction:column;gap:1rem;padding-top:.5rem}ax-alert .ax-alert-block-end ax-content{display:block;color:rgb(var(--ax-color-text-default))}ax-alert .ax-alert-block-end ax-footer{background-color:transparent}ax-alert .ax-alert-progress{width:0px;height:.25rem;position:absolute;inset-inline-start:0px;bottom:0;animation-duration:4s;animation-timing-function:linear;animation-name:progressBar}@keyframes progressBar{0%{width:100%}to{width:0%}}ax-alert .ax-items-start{align-items:flex-start!important}ax-alert .ax-hidden{display:none!important}ax-alert.ax-primary-default{background-color:rgb(var(--ax-color-primary-50));border-color:rgb(var(--ax-color-primary-500))}ax-alert.ax-primary-default .ax-alert-inline-start>ax-icon{background-color:rgb(var(--ax-color-primary-500));color:rgb(var(--ax-color-primary-50))}ax-alert.ax-primary-default .ax-alert-progress{background-color:rgb(var(--ax-color-primary-800))}ax-alert.ax-secondary-default{background-color:rgb(var(--ax-color-secondary-50));border-color:rgb(var(--ax-color-secondary-500))}ax-alert.ax-secondary-default .ax-alert-inline-start>ax-icon{background-color:rgb(var(--ax-color-secondary-500));color:rgb(var(--ax-color-secondary-50))}ax-alert.ax-secondary-default .ax-alert-progress{background-color:rgb(var(--ax-color-secondary-800))}ax-alert.ax-success-default{background-color:rgb(var(--ax-color-success-50));border-color:rgb(var(--ax-color-success-500))}ax-alert.ax-success-default .ax-alert-inline-start>ax-icon{background-color:rgb(var(--ax-color-success-500));color:rgb(var(--ax-color-success-50))}ax-alert.ax-success-default .ax-alert-progress{background-color:rgb(var(--ax-color-success-800))}ax-alert.ax-warning-default{background-color:rgb(var(--ax-color-warning-50));border-color:rgb(var(--ax-color-warning-500))}ax-alert.ax-warning-default .ax-alert-inline-start>ax-icon{background-color:rgb(var(--ax-color-warning-500));color:rgb(var(--ax-color-warning-50))}ax-alert.ax-warning-default .ax-alert-progress{background-color:rgb(var(--ax-color-warning-800))}ax-alert.ax-danger-default{background-color:rgb(var(--ax-color-danger-50));border-color:rgb(var(--ax-color-danger-500))}ax-alert.ax-danger-default .ax-alert-inline-start>ax-icon{background-color:rgb(var(--ax-color-danger-500));color:rgb(var(--ax-color-danger-50))}ax-alert.ax-danger-default .ax-alert-progress{background-color:rgb(var(--ax-color-danger-800))}\n"] }]
181
178
  }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { _icon: [{
182
179
  type: ContentChild,
183
180
  args: [AXDecoratorIconComponent]
@@ -205,10 +202,10 @@ const COMPONENT = [AXAlertComponent, AXAlertButtonDirective];
205
202
  const MODULES = [CommonModule, AXDecoratorModule];
206
203
  class AXAlertModule {
207
204
  }
208
- AXAlertModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: AXAlertModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
209
- AXAlertModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.2.2", ngImport: i0, type: AXAlertModule, declarations: [AXAlertComponent, AXAlertButtonDirective], imports: [CommonModule, AXDecoratorModule], exports: [AXAlertComponent, AXAlertButtonDirective] });
210
- AXAlertModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: AXAlertModule, imports: [MODULES] });
211
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: AXAlertModule, decorators: [{
205
+ AXAlertModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: AXAlertModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
206
+ AXAlertModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.0.4", ngImport: i0, type: AXAlertModule, declarations: [AXAlertComponent, AXAlertButtonDirective], imports: [CommonModule, AXDecoratorModule], exports: [AXAlertComponent, AXAlertButtonDirective] });
207
+ AXAlertModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: AXAlertModule, imports: [MODULES] });
208
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: AXAlertModule, decorators: [{
212
209
  type: NgModule,
213
210
  args: [{
214
211
  declarations: [...COMPONENT],
@@ -1 +1 @@
1
- {"version":3,"file":"acorex-components-alert.mjs","sources":["../../../../projects/acorex/components/alert/src/alert-button.directive.ts","../../../../projects/acorex/components/alert/src/alert.component.ts","../../../../projects/acorex/components/alert/src/alert.component.html","../../../../projects/acorex/components/alert/src/alert.module.ts","../../../../projects/acorex/components/alert/acorex-components-alert.ts"],"sourcesContent":["import { Directive, Input } from '@angular/core';\r\n\r\n@Directive({ selector: '[ax-alert-button]' })\r\nexport class AXAlertButtonDirective {\r\n\r\n\r\n @Input()\r\n text: string = \"Button\";\r\n\r\n @Input()\r\n look: 'default' | 'blank' = \"default\";\r\n\r\n constructor() { }\r\n}","import { AXButtonComponent } from '@acorex/components/button';\r\nimport { AXDecoratorContentComponent, AXDecoratorFooterComponent, AXDecoratorIconComponent } from '@acorex/components/decorators';\r\nimport {\r\n Component,\r\n ViewEncapsulation,\r\n ChangeDetectionStrategy,\r\n ElementRef,\r\n ChangeDetectorRef,\r\n Input,\r\n HostBinding,\r\n ContentChild,\r\n EventEmitter,\r\n Output,\r\n QueryList,\r\n ContentChildren,\r\n} from '@angular/core';\r\nimport { startWith } from 'rxjs/operators';\r\nimport { AXClosbaleComponent, AXEvent } from '@acorex/components/common';\r\nimport {\r\n AXBaseComponent,\r\n AXComponentOptionChanged,\r\n _ColorLookComponentMixin,\r\n} from '@acorex/components/mixin';\r\n\r\nexport const AXBaseAlertMixin = _ColorLookComponentMixin(AXBaseComponent);\r\n\r\n/**\r\n * Regular description\r\n *\r\n * @category Components\r\n */\r\n@Component({\r\n selector: 'ax-alert',\r\n templateUrl: './alert.component.html',\r\n inputs: ['color'],\r\n host: { class: 'ax-alert' },\r\n changeDetection: ChangeDetectionStrategy.OnPush,\r\n encapsulation: ViewEncapsulation.None,\r\n providers: [{ provide: AXClosbaleComponent, useExisting: AXAlertComponent }]\r\n})\r\nexport class AXAlertComponent extends AXBaseAlertMixin {\r\n\r\n @ContentChild(AXDecoratorIconComponent)\r\n private _icon!: AXDecoratorIconComponent;\r\n\r\n @ContentChildren(AXButtonComponent, { descendants: true })\r\n private _buttons!: QueryList<AXButtonComponent>;\r\n\r\n\r\n @ContentChild(AXDecoratorContentComponent)\r\n protected _content!: AXButtonComponent;\r\n\r\n @ContentChild(AXDecoratorFooterComponent)\r\n protected _footer!: AXButtonComponent;\r\n\r\n protected _showInline: boolean = false;\r\n\r\n\r\n @Output()\r\n onClosed: EventEmitter<AXEvent> = new EventEmitter<AXEvent>();\r\n\r\n\r\n private _customIcon: string;\r\n private _timeOutRef: number;\r\n\r\n /**\r\n * @ignore\r\n */\r\n @HostBinding('class')\r\n get __hostClass(): string {\r\n const _class = this.look\r\n ? `ax-${this.color}-${this.look}`\r\n : `ax-${this.color}-default`;\r\n return `ax-alert ax-none ${_class}`;\r\n }\r\n\r\n\r\n private _timeOut: number;\r\n @Input()\r\n public get timeOut(): number {\r\n return this._timeOut;\r\n }\r\n public set timeOut(v: number) {\r\n if (v != this._timeOut) {\r\n clearTimeout(this._timeOutRef);\r\n this._timeOut = v;\r\n if (v) {\r\n this._timeOutRef = window.setTimeout(() => {\r\n this.close();\r\n }, this.timeOut);\r\n }\r\n }\r\n }\r\n\r\n private _observer: MutationObserver;\r\n\r\n protected _visible: boolean;\r\n /**\r\n * set the visibility of the Alert\r\n */\r\n @Input()\r\n public get visible(): boolean {\r\n return this._visible;\r\n }\r\n public set visible(v: boolean) {\r\n if (this._visible != v) {\r\n this._visible = v;\r\n const host = this._getHostElement();\r\n if (v) {\r\n host.classList.remove('ax-state-hidden');\r\n host.classList.add('ax-state-visible');\r\n } else {\r\n host.classList.add('ax-state-hidden');\r\n host.classList.toggle('ax-state-visible');\r\n }\r\n }\r\n }\r\n\r\n /**\r\n * @ignore\r\n */\r\n constructor(\r\n elementRef: ElementRef,\r\n cdr: ChangeDetectorRef\r\n ) {\r\n super(elementRef, cdr);\r\n //\r\n const config = { attributes: false, childList: true, subtree: true };\r\n\r\n const callback = (mutationList, observer) => {\r\n for (const mutation of mutationList) {\r\n if (mutation.type === 'childList') {\r\n this._setIcon();\r\n this._applyButtonStyle();\r\n this._showInline = (this._content != null) || (this._footer != null);\r\n this._cdr.markForCheck();\r\n }\r\n }\r\n };\r\n\r\n // Create an observer instance linked to the callback function\r\n this._observer = new MutationObserver(callback);\r\n\r\n // Start observing the target node for configured mutations\r\n this._observer.observe(this._getHostElement(), config);\r\n }\r\n\r\n\r\n onViewInit() {\r\n if (this.visible == undefined) {\r\n this.visible = true;\r\n }\r\n //\r\n this._customIcon = this._icon?.icon;\r\n this._showInline = this._content != null || this._footer != null;\r\n }\r\n\r\n override _onOptionChanged(option: AXComponentOptionChanged) {\r\n this._setIcon();\r\n this._applyButtonStyle();\r\n }\r\n\r\n private _setIcon() {\r\n if (!this._icon) return;\r\n switch (this.color) {\r\n case 'success':\r\n this._icon.icon = 'ax-ic ax-ic-check';\r\n break;\r\n case 'danger':\r\n this._icon.icon = 'ax-ic ax-ic-error-filled';\r\n break;\r\n case 'warning':\r\n this._icon.icon = 'ax-ic ax-ic-warning-filled';\r\n break;\r\n case 'info':\r\n this._icon.icon = 'ax-ic ax-ic-info-filled';\r\n break;\r\n default:\r\n this._icon.icon = this._customIcon || 'ax-ic ax-ic-info-filled';\r\n break;\r\n }\r\n }\r\n\r\n\r\n private _applyButtonStyle() {\r\n this._buttons?.forEach((c: any) => {\r\n c.color = this.color;\r\n c._getHostElement().classList.add('ax-sm');\r\n c.look = !c.look || c.look == 'default' ? 'default' : 'blank';\r\n });\r\n }\r\n\r\n /**\r\n * Remove the alert from the container\r\n */\r\n close(): void {\r\n const host = this._getHostElement();\r\n this.visible = false;\r\n const func = () => {\r\n host.parentElement?.removeChild(host);\r\n this.onClosed.emit({\r\n component: this,\r\n });\r\n host.removeEventListener('transitionend', func);\r\n };\r\n host.addEventListener('transitionend', func);\r\n }\r\n\r\n /**\r\n * Hide the alert\r\n */\r\n hide(): void {\r\n this.visible = false;\r\n }\r\n\r\n /**\r\n * Show the alert\r\n */\r\n show() {\r\n this.visible = true;\r\n }\r\n\r\n\r\n onDestroy(): void {\r\n this._observer?.disconnect();\r\n }\r\n\r\n\r\n\r\n}\r\n","<div class=\"ax-alert-inline-start\" [class.!ax-items-start]=\"_showInline\">\r\n <ng-content select=\"ax-icon\"></ng-content>\r\n</div>\r\n<div class=\"ax-alert-inline-middle\">\r\n <div class=\"ax-alert-block-start\">\r\n <div class=\"ax-alert-title\">\r\n <ng-content select=\"ax-title\"></ng-content>\r\n <ng-content select=\"ax-sub-title\"></ng-content>\r\n </div>\r\n </div>\r\n <div class=\"ax-alert-block-end\" [class.!ax-hidden]=\"!_showInline\">\r\n <ng-content select=\"ax-content\">\r\n </ng-content>\r\n <ng-content select=\"ax-footer\">\r\n </ng-content>\r\n </div>\r\n</div>\r\n<div class=\"ax-alert-inline-end\" [class.!ax-items-start]=\"_showInline\">\r\n <ng-content select=\"ax-button\"></ng-content>\r\n <ng-content select=\"ax-close-button\"></ng-content>\r\n</div>\r\n<div class=\"ax-alert-progress\" [style.animation-duration.ms]=\"timeOut\" *ngIf=\"timeOut\">\r\n</div>","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\nimport { AXDecoratorModule } from '@acorex/components/decorators';\r\nimport { AXAlertComponent } from './alert.component';\r\nimport { AXAlertButtonDirective } from './alert-button.directive';\r\n\r\nconst COMPONENT = [AXAlertComponent, AXAlertButtonDirective];\r\nconst MODULES = [CommonModule, AXDecoratorModule];\r\n\r\n@NgModule({\r\n declarations: [...COMPONENT],\r\n imports: [...MODULES],\r\n exports: [...COM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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;iBACd,CAAA;;;ACdD;;AAEG;;;;"}
1
+ {"version":3,"file":"acorex-components-alert.mjs","sources":["../../../../projects/acorex/components/alert/src/alert-button.directive.ts","../../../../projects/acorex/components/alert/src/alert.component.ts","../../../../projects/acorex/components/alert/src/alert.component.html","../../../../projects/acorex/components/alert/src/alert.module.ts","../../../../projects/acorex/components/alert/acorex-components-alert.ts"],"sourcesContent":["import { Directive, Input } from '@angular/core';\r\n\r\n@Directive({ selector: '[ax-alert-button]' })\r\nexport class AXAlertButtonDirective {\r\n\r\n\r\n @Input()\r\n text: string = \"Button\";\r\n\r\n @Input()\r\n look: 'default' | 'blank' = \"default\";\r\n\r\n constructor() { }\r\n}","import { AXButtonComponent } from '@acorex/components/button';\r\nimport { AXDecoratorContentComponent, AXDecoratorFooterComponent, AXDecoratorIconComponent } from '@acorex/components/decorators';\r\nimport {\r\n Component,\r\n ViewEncapsulation,\r\n ChangeDetectionStrategy,\r\n ElementRef,\r\n ChangeDetectorRef,\r\n Input,\r\n HostBinding,\r\n ContentChild,\r\n EventEmitter,\r\n Output,\r\n QueryList,\r\n ContentChildren,\r\n} from '@angular/core';\r\nimport { startWith } from 'rxjs/operators';\r\nimport { AXClosbaleComponent, AXEvent } from '@acorex/components/common';\r\nimport {\r\n AXBaseComponent,\r\n AXComponentOptionChanged,\r\n _ColorLookComponentMixin,\r\n} from '@acorex/components/mixin';\r\n\r\nexport const AXBaseAlertMixin = _ColorLookComponentMixin(AXBaseComponent);\r\n\r\n/**\r\n * Regular description\r\n *\r\n * @category Components\r\n */\r\n@Component({\r\n selector: 'ax-alert',\r\n templateUrl: './alert.component.html',\r\n styleUrls: ['./alert.component.scss'],\r\n inputs: ['color'],\r\n changeDetection: ChangeDetectionStrategy.OnPush,\r\n encapsulation: ViewEncapsulation.None,\r\n providers: [{ provide: AXClosbaleComponent, useExisting: AXAlertComponent }]\r\n})\r\nexport class AXAlertComponent extends AXBaseAlertMixin {\r\n\r\n @ContentChild(AXDecoratorIconComponent)\r\n private _icon!: AXDecoratorIconComponent;\r\n\r\n @ContentChildren(AXButtonComponent, { descendants: true })\r\n private _buttons!: QueryList<AXButtonComponent>;\r\n\r\n\r\n @ContentChild(AXDecoratorContentComponent)\r\n protected _content!: AXButtonComponent;\r\n\r\n @ContentChild(AXDecoratorFooterComponent)\r\n protected _footer!: AXButtonComponent;\r\n\r\n protected _showInline: boolean = false;\r\n\r\n\r\n @Output()\r\n onClosed: EventEmitter<AXEvent> = new EventEmitter<AXEvent>();\r\n\r\n\r\n private _customIcon: string;\r\n private _timeOutRef: number;\r\n\r\n /**\r\n * @ignore\r\n */\r\n @HostBinding('class')\r\n get __hostClass(): string {\r\n const _class = this.look\r\n ? `ax-${this.color}-${this.look}`\r\n : `ax-${this.color}-default`;\r\n return `ax-alert ax-none ${_class}`;\r\n }\r\n\r\n\r\n private _timeOut: number;\r\n @Input()\r\n public get timeOut(): number {\r\n return this._timeOut;\r\n }\r\n public set timeOut(v: number) {\r\n if (v != this._timeOut) {\r\n clearTimeout(this._timeOutRef);\r\n this._timeOut = v;\r\n if (v) {\r\n this._timeOutRef = window.setTimeout(() => {\r\n this.close();\r\n }, this.timeOut);\r\n }\r\n }\r\n }\r\n\r\n private _observer: MutationObserver;\r\n\r\n protected _visible: boolean;\r\n /**\r\n * set the visibility of the Alert\r\n */\r\n @Input()\r\n public get visible(): boolean {\r\n return this._visible;\r\n }\r\n public set visible(v: boolean) {\r\n if (this._visible != v) {\r\n this._visible = v;\r\n const host = this._getHostElement();\r\n if (v) {\r\n host.classList.remove('ax-state-hidden');\r\n host.classList.add('ax-state-visible');\r\n } else {\r\n host.classList.add('ax-state-hidden');\r\n host.classList.toggle('ax-state-visible');\r\n }\r\n }\r\n }\r\n\r\n /**\r\n * @ignore\r\n */\r\n constructor(\r\n elementRef: ElementRef,\r\n cdr: ChangeDetectorRef\r\n ) {\r\n super(elementRef, cdr);\r\n //\r\n const config = { attributes: false, childList: true, subtree: true };\r\n\r\n const callback = (mutationList, observer) => {\r\n for (const mutation of mutationList) {\r\n if (mutation.type === 'childList') {\r\n this._setIcon();\r\n this._applyButtonStyle();\r\n this._showInline = (this._content != null) || (this._footer != null);\r\n this._cdr.markForCheck();\r\n }\r\n }\r\n };\r\n\r\n // Create an observer instance linked to the callback function\r\n this._observer = new MutationObserver(callback);\r\n\r\n // Start observing the target node for configured mutations\r\n this._observer.observe(this._getHostElement(), config);\r\n }\r\n\r\n\r\n onViewInit() {\r\n if (this.visible == undefined) {\r\n this.visible = true;\r\n }\r\n //\r\n this._customIcon = this._icon?.icon;\r\n this._showInline = this._content != null || this._footer != null;\r\n }\r\n\r\n override _onOptionChanged(option: AXComponentOptionChanged) {\r\n this._setIcon();\r\n this._applyButtonStyle();\r\n }\r\n\r\n private _setIcon() {\r\n if (!this._icon) return;\r\n switch (this.color) {\r\n case 'success':\r\n this._icon.icon = 'ax-icon ax-icon-done';\r\n break;\r\n case 'danger':\r\n this._icon.icon = 'ax-icon ax-icon-error-fill';\r\n break;\r\n case 'warning':\r\n this._icon.icon = 'ax-icon ax-icon-warning-fill';\r\n break;\r\n default:\r\n this._icon.icon = this._customIcon || 'ax-icon ax-icon-done';\r\n break;\r\n }\r\n }\r\n\r\n\r\n private _applyButtonStyle() {\r\n this._buttons?.forEach((c: any) => {\r\n c.color = this.color;\r\n c._getHostElement().classList.add('ax-sm');\r\n c.look = !c.look || c.look == 'default' ? 'default' : 'blank';\r\n });\r\n }\r\n\r\n /**\r\n * Remove the alert from the container\r\n */\r\n close(): void {\r\n const host = this._getHostElement();\r\n this.visible = false;\r\n const func = () => {\r\n host.parentElement?.removeChild(host);\r\n this.onClosed.emit({\r\n component: this,\r\n });\r\n host.removeEventListener('transitionend', func);\r\n };\r\n host.addEventListener('transitionend', func);\r\n }\r\n\r\n /**\r\n * Hide the alert\r\n */\r\n hide(): void {\r\n this.visible = false;\r\n }\r\n\r\n /**\r\n * Show the alert\r\n */\r\n show() {\r\n this.visible = true;\r\n }\r\n\r\n\r\n onDestroy(): void {\r\n this._observer?.disconnect();\r\n }\r\n\r\n\r\n\r\n}\r\n","<div class=\"ax-alert-inline-start\" [class.!ax-items-start]=\"_showInline\">\r\n <ng-content select=\"ax-icon\"></ng-content>\r\n</div>\r\n<div class=\"ax-alert-inline-middle\">\r\n <div class=\"ax-alert-block-start\">\r\n <div class=\"ax-alert-title\">\r\n <ng-content select=\"ax-title\"></ng-content>\r\n <ng-content select=\"ax-sub-title\"></ng-content>\r\n </div>\r\n </div>\r\n <div class=\"ax-alert-block-end\" [class.!ax-hidden]=\"!_showInline\">\r\n <ng-content select=\"ax-content\">\r\n </ng-content>\r\n <ng-content select=\"ax-footer\">\r\n </ng-content>\r\n </div>\r\n</div>\r\n<div class=\"ax-alert-inline-end\" [class.!ax-items-start]=\"_showInline\">\r\n <ng-content select=\"ax-button\"></ng-content>\r\n <ng-content select=\"ax-close-button\"></ng-content>\r\n</div>\r\n<div class=\"ax-alert-progress\" [style.animation-duration.ms]=\"timeOut\" *ngIf=\"timeOut\">\r\n</div>","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\nimport { AXDecoratorModule } from '@acorex/components/decorators';\r\nimport { AXAlertComponent } from './alert.component';\r\nimport { AXAlertButtonDirective } from './alert-button.directive';\r\n\r\nconst COMPONENT = [AXAlertComponent, AXAlertButtonDirective];\r\nconst MODULES = [CommonModule, AXDecoratorModule];\r\n\r\n@NgModule({\r\n declarations: [...COMPONENT],\r\n imports: [...MODULES],\r\n exports: [...COMPONENT],\r\n providers: [],\r\n})\r\nexport class AXAlertModule { }\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;;;;MAGa,sBAAsB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9
  ngOnInit() { }
10
10
  }
11
- AXAvatarGroup.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: AXAvatarGroup, deps: [], target: i0.ɵɵFactoryTarget.Component });
12
- AXAvatarGroup.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.2", type: AXAvatarGroup, selector: "ax-avatar-group", host: { classAttribute: "ax-avatar-group" }, ngImport: i0, template: `<ng-content select="ax-avatar"></ng-content>`, isInline: true });
13
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: AXAvatarGroup, decorators: [{
11
+ AXAvatarGroup.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: AXAvatarGroup, deps: [], target: i0.ɵɵFactoryTarget.Component });
12
+ AXAvatarGroup.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.4", type: AXAvatarGroup, selector: "ax-avatar-group", ngImport: i0, template: `<ng-content select="ax-avatar"></ng-content>`, isInline: true });
13
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: AXAvatarGroup, decorators: [{
14
14
  type: Component,
15
15
  args: [{
16
16
  selector: 'ax-avatar-group',
17
17
  template: `<ng-content select="ax-avatar"></ng-content>`,
18
- host: { class: 'ax-avatar-group' },
19
18
  }]
20
19
  }], ctorParameters: function () { return []; } });
21
20
 
@@ -40,11 +39,11 @@ class AXAvatarComponent extends AXAvatarMixin {
40
39
  return `ax-${this.color}-default`;
41
40
  }
42
41
  }
43
- AXAvatarComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: AXAvatarComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
44
- AXAvatarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.2", type: AXAvatarComponent, selector: "ax-avatar", inputs: { color: "color", look: "look" }, host: { properties: { "class": "this.__hostClass" }, classAttribute: "ax-avatar" }, queries: [{ propertyName: "_children", predicate: ["ax-text, ax-icon, ax-image"] }], usesInheritance: true, ngImport: i0, template: "<ng-container [ngTemplateOutlet]=\"default\" *ngIf=\"!_children.length\"></ng-container>\r\n<ng-container [ngTemplateOutlet]=\"custom\" *ngIf=\"_children.length\"></ng-container>\r\n\r\n<ng-template #custom>\r\n <ng-content select='ax-text, ax-image, ax-icon'></ng-content>\r\n</ng-template>\r\n<ng-template #default>\r\n <svg xmlns=\"http://www.w3.org/2000/svg\" class=\"ax-default\" xmlns:xlink=\"http://www.w3.org/1999/xlink\"\r\n viewBox=\"0 0 512 512\">\r\n <g style=\"isolation:isolate\">\r\n <g id=\"Layer_2\" data-name=\"Layer 2\">\r\n <g id=\"Layer_1-2\" data-name=\"Layer 1\">\r\n <rect width=\"512\" height=\"512\" />\r\n <path\r\n d=\"M419.16,511.94s-2.85-154-142.28-176.19a139.93,139.93,0,0,0-22-1.67h0a55.8,55.8,0,0,0-5.93.29C99.25,350.35,96.26,511.94,96.26,511.94\"\r\n style=\"fill:#fff;opacity:0.7\" />\r\n <path\r\n d=\"M256,355.18c-17.29,0-32.22-4.63-46.38-12.41-3.86,1.31-8.15,2.93-11.75,4.46A96.48,96.48,0,0,0,256,366.62a100.29,100.29,0,0,0,60.07-20c-3.6-1.49-6.41-2.55-10.27-3.83C291.48,350.79,273.58,355.18,256,355.18Z\"\r\n style=\"opacity:0.05\" />\r\n <circle cx=\"257.71\" cy=\"255.94\" r=\"99.24\" style=\"fill:#fff\" />\r\n </g>\r\n </g>\r\n </g>\r\n </svg>\r\n</ng-template>", dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
45
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: AXAvatarComponent, decorators: [{
42
+ AXAvatarComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: AXAvatarComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
43
+ AXAvatarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.4", type: AXAvatarComponent, selector: "ax-avatar", inputs: { color: "color", look: "look" }, host: { properties: { "class": "this.__hostClass" } }, queries: [{ propertyName: "_children", predicate: ["ax-text, ax-icon, ax-image"] }], usesInheritance: true, ngImport: i0, template: "<ng-container [ngTemplateOutlet]=\"default\" *ngIf=\"!_children.length\"></ng-container>\r\n<ng-container [ngTemplateOutlet]=\"custom\" *ngIf=\"_children.length\"></ng-container>\r\n\r\n<ng-template #custom>\r\n <ng-content select='ax-text, ax-image, ax-icon'></ng-content>\r\n</ng-template>\r\n<ng-template #default>\r\n <svg xmlns=\"http://www.w3.org/2000/svg\" class=\"ax-default\" xmlns:xlink=\"http://www.w3.org/1999/xlink\"\r\n viewBox=\"0 0 512 512\">\r\n <g style=\"isolation:isolate\">\r\n <g id=\"Layer_2\" data-name=\"Layer 2\">\r\n <g id=\"Layer_1-2\" data-name=\"Layer 1\">\r\n <rect width=\"512\" height=\"512\" />\r\n <path\r\n d=\"M419.16,511.94s-2.85-154-142.28-176.19a139.93,139.93,0,0,0-22-1.67h0a55.8,55.8,0,0,0-5.93.29C99.25,350.35,96.26,511.94,96.26,511.94\"\r\n style=\"fill:#fff;opacity:0.7\" />\r\n <path\r\n d=\"M256,355.18c-17.29,0-32.22-4.63-46.38-12.41-3.86,1.31-8.15,2.93-11.75,4.46A96.48,96.48,0,0,0,256,366.62a100.29,100.29,0,0,0,60.07-20c-3.6-1.49-6.41-2.55-10.27-3.83C291.48,350.79,273.58,355.18,256,355.18Z\"\r\n style=\"opacity:0.05\" />\r\n <circle cx=\"257.71\" cy=\"255.94\" r=\"99.24\" style=\"fill:#fff\" />\r\n </g>\r\n </g>\r\n </g>\r\n </svg>\r\n</ng-template>", styles: ["ax-avatar-group{display:flex}ax-avatar-group ax-avatar{border-width:2px;border-color:rgb(var(--ax-color-surface));margin:-.25rem}ax-avatar{position:relative;display:flex;justify-content:center;width:4rem;height:4rem;overflow:hidden;border-radius:var(--ax-rounded-border-default)}ax-avatar ax-badge{position:absolute;top:-.375rem;right:-6px}ax-avatar ax-text{font-size:1.25rem;line-height:1.75rem}ax-avatar ax-icon,ax-avatar ax-text{@apply ax-w-full ax-h-full ax-flex ax-items-center ax-justify-center;width:100%;height:100%;display:flex;align-items:center;justify-content:center}ax-avatar.ax-primary-default .ax-default{fill:rgb(var(--ax-color-primary))}ax-avatar.ax-primary-default ax-text{background-color:rgb(var(--ax-color-primary-100));color:rgb(var(--ax-color-primary))}ax-avatar.ax-primary-default ax-icon{background-color:rgb(var(--ax-color-primary))}ax-avatar.ax-secondary-default .ax-default{fill:rgb(var(--ax-color-secondary))}ax-avatar.ax-secondary-default ax-text{background-color:rgb(var(--ax-color-secondary-100));color:rgb(var(--ax-color-secondary))}ax-avatar.ax-secondary-default ax-icon{background-color:rgb(var(--ax-color-secondary))}ax-avatar.ax-success-default .ax-default{fill:rgb(var(--ax-color-success))}ax-avatar.ax-success-default ax-text{background-color:rgb(var(--ax-color-success-100));color:rgb(var(--ax-color-success))}ax-avatar.ax-success-default ax-icon{background-color:rgb(var(--ax-color-success))}ax-avatar.ax-warning-default .ax-default{fill:rgb(var(--ax-color-warning))}ax-avatar.ax-warning-default ax-text{background-color:rgb(var(--ax-color-warning-100));color:rgb(var(--ax-color-warning))}ax-avatar.ax-warning-default ax-icon{background-color:rgb(var(--ax-color-warning))}ax-avatar.ax-danger-default .ax-default{fill:rgb(var(--ax-color-danger))}ax-avatar.ax-danger-default ax-text{background-color:rgb(var(--ax-color-danger-100));color:rgb(var(--ax-color-danger))}ax-avatar.ax-danger-default ax-icon{background-color:rgb(var(--ax-color-danger))}\n"], dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
44
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: AXAvatarComponent, decorators: [{
46
45
  type: Component,
47
- args: [{ selector: 'ax-avatar', inputs: ['color', 'look'], host: { class: 'ax-avatar' }, encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, template: "<ng-container [ngTemplateOutlet]=\"default\" *ngIf=\"!_children.length\"></ng-container>\r\n<ng-container [ngTemplateOutlet]=\"custom\" *ngIf=\"_children.length\"></ng-container>\r\n\r\n<ng-template #custom>\r\n <ng-content select='ax-text, ax-image, ax-icon'></ng-content>\r\n</ng-template>\r\n<ng-template #default>\r\n <svg xmlns=\"http://www.w3.org/2000/svg\" class=\"ax-default\" xmlns:xlink=\"http://www.w3.org/1999/xlink\"\r\n viewBox=\"0 0 512 512\">\r\n <g style=\"isolation:isolate\">\r\n <g id=\"Layer_2\" data-name=\"Layer 2\">\r\n <g id=\"Layer_1-2\" data-name=\"Layer 1\">\r\n <rect width=\"512\" height=\"512\" />\r\n <path\r\n d=\"M419.16,511.94s-2.85-154-142.28-176.19a139.93,139.93,0,0,0-22-1.67h0a55.8,55.8,0,0,0-5.93.29C99.25,350.35,96.26,511.94,96.26,511.94\"\r\n style=\"fill:#fff;opacity:0.7\" />\r\n <path\r\n d=\"M256,355.18c-17.29,0-32.22-4.63-46.38-12.41-3.86,1.31-8.15,2.93-11.75,4.46A96.48,96.48,0,0,0,256,366.62a100.29,100.29,0,0,0,60.07-20c-3.6-1.49-6.41-2.55-10.27-3.83C291.48,350.79,273.58,355.18,256,355.18Z\"\r\n style=\"opacity:0.05\" />\r\n <circle cx=\"257.71\" cy=\"255.94\" r=\"99.24\" style=\"fill:#fff\" />\r\n </g>\r\n </g>\r\n </g>\r\n </svg>\r\n</ng-template>" }]
46
+ args: [{ selector: 'ax-avatar', inputs: ['color', 'look'], encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, template: "<ng-container [ngTemplateOutlet]=\"default\" *ngIf=\"!_children.length\"></ng-container>\r\n<ng-container [ngTemplateOutlet]=\"custom\" *ngIf=\"_children.length\"></ng-container>\r\n\r\n<ng-template #custom>\r\n <ng-content select='ax-text, ax-image, ax-icon'></ng-content>\r\n</ng-template>\r\n<ng-template #default>\r\n <svg xmlns=\"http://www.w3.org/2000/svg\" class=\"ax-default\" xmlns:xlink=\"http://www.w3.org/1999/xlink\"\r\n viewBox=\"0 0 512 512\">\r\n <g style=\"isolation:isolate\">\r\n <g id=\"Layer_2\" data-name=\"Layer 2\">\r\n <g id=\"Layer_1-2\" data-name=\"Layer 1\">\r\n <rect width=\"512\" height=\"512\" />\r\n <path\r\n d=\"M419.16,511.94s-2.85-154-142.28-176.19a139.93,139.93,0,0,0-22-1.67h0a55.8,55.8,0,0,0-5.93.29C99.25,350.35,96.26,511.94,96.26,511.94\"\r\n style=\"fill:#fff;opacity:0.7\" />\r\n <path\r\n d=\"M256,355.18c-17.29,0-32.22-4.63-46.38-12.41-3.86,1.31-8.15,2.93-11.75,4.46A96.48,96.48,0,0,0,256,366.62a100.29,100.29,0,0,0,60.07-20c-3.6-1.49-6.41-2.55-10.27-3.83C291.48,350.79,273.58,355.18,256,355.18Z\"\r\n style=\"opacity:0.05\" />\r\n <circle cx=\"257.71\" cy=\"255.94\" r=\"99.24\" style=\"fill:#fff\" />\r\n </g>\r\n </g>\r\n </g>\r\n </svg>\r\n</ng-template>", styles: ["ax-avatar-group{display:flex}ax-avatar-group ax-avatar{border-width:2px;border-color:rgb(var(--ax-color-surface));margin:-.25rem}ax-avatar{position:relative;display:flex;justify-content:center;width:4rem;height:4rem;overflow:hidden;border-radius:var(--ax-rounded-border-default)}ax-avatar ax-badge{position:absolute;top:-.375rem;right:-6px}ax-avatar ax-text{font-size:1.25rem;line-height:1.75rem}ax-avatar ax-icon,ax-avatar ax-text{@apply ax-w-full ax-h-full ax-flex ax-items-center ax-justify-center;width:100%;height:100%;display:flex;align-items:center;justify-content:center}ax-avatar.ax-primary-default .ax-default{fill:rgb(var(--ax-color-primary))}ax-avatar.ax-primary-default ax-text{background-color:rgb(var(--ax-color-primary-100));color:rgb(var(--ax-color-primary))}ax-avatar.ax-primary-default ax-icon{background-color:rgb(var(--ax-color-primary))}ax-avatar.ax-secondary-default .ax-default{fill:rgb(var(--ax-color-secondary))}ax-avatar.ax-secondary-default ax-text{background-color:rgb(var(--ax-color-secondary-100));color:rgb(var(--ax-color-secondary))}ax-avatar.ax-secondary-default ax-icon{background-color:rgb(var(--ax-color-secondary))}ax-avatar.ax-success-default .ax-default{fill:rgb(var(--ax-color-success))}ax-avatar.ax-success-default ax-text{background-color:rgb(var(--ax-color-success-100));color:rgb(var(--ax-color-success))}ax-avatar.ax-success-default ax-icon{background-color:rgb(var(--ax-color-success))}ax-avatar.ax-warning-default .ax-default{fill:rgb(var(--ax-color-warning))}ax-avatar.ax-warning-default ax-text{background-color:rgb(var(--ax-color-warning-100));color:rgb(var(--ax-color-warning))}ax-avatar.ax-warning-default ax-icon{background-color:rgb(var(--ax-color-warning))}ax-avatar.ax-danger-default .ax-default{fill:rgb(var(--ax-color-danger))}ax-avatar.ax-danger-default ax-text{background-color:rgb(var(--ax-color-danger-100));color:rgb(var(--ax-color-danger))}ax-avatar.ax-danger-default ax-icon{background-color:rgb(var(--ax-color-danger))}\n"] }]
48
47
  }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { _children: [{
49
48
  type: ContentChildren,
50
49
  args: ['ax-text, ax-icon, ax-image']
@@ -57,10 +56,10 @@ const COMPONENT = [AXAvatarComponent, AXAvatarGroup];
57
56
  const MODULES = [CommonModule];
58
57
  class AXAvatarModule {
59
58
  }
60
- AXAvatarModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: AXAvatarModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
61
- AXAvatarModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.2.2", ngImport: i0, type: AXAvatarModule, declarations: [AXAvatarComponent, AXAvatarGroup], imports: [CommonModule], exports: [AXAvatarComponent, AXAvatarGroup] });
62
- AXAvatarModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: AXAvatarModule, imports: [MODULES] });
63
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: AXAvatarModule, decorators: [{
59
+ AXAvatarModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: AXAvatarModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
60
+ AXAvatarModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.0.4", ngImport: i0, type: AXAvatarModule, declarations: [AXAvatarComponent, AXAvatarGroup], imports: [CommonModule], exports: [AXAvatarComponent, AXAvatarGroup] });
61
+ AXAvatarModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: AXAvatarModule, imports: [MODULES] });
62
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: AXAvatarModule, decorators: [{
64
63
  type: NgModule,
65
64
  args: [{
66
65
  declarations: [...COMPONENT],
@@ -1 +1 @@
1
- {"version":3,"file":"acorex-components-avatar.mjs","sources":["../../../../projects/acorex/components/avatar/src/avatar-group.component.ts","../../../../projects/acorex/components/avatar/src/avatar.component.ts","../../../../projects/acorex/components/avatar/src/avatar.component.html","../../../../projects/acorex/components/avatar/src/avatar.module.ts","../../../../projects/acorex/components/avatar/acorex-components-avatar.ts"],"sourcesContent":["import { Component, OnInit } from '@angular/core';\r\n\r\n@Component({\r\n selector: 'ax-avatar-group',\r\n template: `<ng-content select=\"ax-avatar\"></ng-content>`,\r\n host: { class: 'ax-avatar-group' },\r\n})\r\nexport class AXAvatarGroup implements OnInit {\r\n constructor() {}\r\n\r\n ngOnInit(): void {}\r\n}\r\n","import { AXDecoratorTextComponent } from '@acorex/components/decorators';\r\nimport { COLOR_LOOK_INPUTS, AXAvatarMixin } from '@acorex/components/mixin';\r\nimport {\r\n Component,\r\n ViewEncapsulation,\r\n ChangeDetectionStrategy,\r\n ElementRef,\r\n ChangeDetectorRef,\r\n Input,\r\n HostBinding,\r\n ViewChild,\r\n ContentChild,\r\n ContentChildren,\r\n QueryList,\r\n} from '@angular/core';\r\n\r\n/**\r\n * The Button is a component which detects user interaction and triggers a corresponding event\r\n *\r\n * @category Components\r\n */\r\n@Component({\r\n selector: 'ax-avatar',\r\n templateUrl: './avatar.component.html',\r\n inputs: ['color', 'look'],\r\n host: { class: 'ax-avatar' },\r\n encapsulation: ViewEncapsulation.None,\r\n changeDetection: ChangeDetectionStrategy.OnPush,\r\n})\r\nexport class AXAvatarComponent extends AXAvatarMixin {\r\n\r\n @ContentChildren('ax-text, ax-icon, ax-image')\r\n readonly _children:QueryList<any>;\r\n\r\n /**\r\n * @ignore\r\n */\r\n constructor(elementRef: ElementRef, cdr: ChangeDetectorRef) {\r\n super(elementRef, cdr);\r\n \r\n }\r\n\r\n ngAfterViewInit(): void {\r\n this._children.changes.subscribe(()=>{\r\n this._cdr.markForCheck();\r\n })\r\n }\r\n\r\n @HostBinding('class')\r\n get __hostClass(): string {\r\n return `ax-${this.color}-default`;\r\n }\r\n\r\n}\r\n","<ng-container [ngTemplateOutlet]=\"default\" *ngIf=\"!_children.length\"></ng-container>\r\n<ng-container [ngTemplateOutlet]=\"custom\" *ngIf=\"_children.length\"></ng-container>\r\n\r\n<ng-template #custom>\r\n <ng-content select='ax-text, ax-image, ax-icon'></ng-content>\r\n</ng-template>\r\n<ng-template #default>\r\n <svg xmlns=\"http://www.w3.org/2000/svg\" class=\"ax-default\" xmlns:xlink=\"http://www.w3.org/1999/xlink\"\r\n viewBox=\"0 0 512 512\">\r\n <g style=\"isolation:isolate\">\r\n <g id=\"Layer_2\" data-name=\"Layer 2\">\r\n <g id=\"Layer_1-2\" data-name=\"Layer 1\">\r\n <rect width=\"512\" height=\"512\" />\r\n <path\r\n d=\"M419.16,511.94s-2.85-154-142.28-176.19a139.93,139.93,0,0,0-22-1.67h0a55.8,55.8,0,0,0-5.93.29C99.25,350.35,96.26,511.94,96.26,511.94\"\r\n style=\"fill:#fff;opacity:0.7\" />\r\n <path\r\n d=\"M256,355.18c-17.29,0-32.22-4.63-46.38-12.41-3.86,1.31-8.15,2.93-11.75,4.46A96.48,96.48,0,0,0,256,366.62a100.29,100.29,0,0,0,60.07-20c-3.6-1.49-6.41-2.55-10.27-3.83C291.48,350.79,273.58,355.18,256,355.18Z\"\r\n style=\"opacity:0.05\" />\r\n <circle cx=\"257.71\" cy=\"255.94\" r=\"99.24\" style=\"fill:#fff\" />\r\n </g>\r\n </g>\r\n </g>\r\n </svg>\r\n</ng-template>","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\nimport { AXAvatarComponent } from './avatar.component';\r\nimport { AXAvatarGroup } from './avatar-group.component';\r\n\r\nconst COMPONENT = [AXAvatarComponent, AXAvatarGroup];\r\nconst MODULES = [CommonModule];\r\n\r\n@NgModule({\r\n declarations: [...COMPONENT],\r\n imports: [...MODULES],\r\n exports: [...COMPONENT],\r\n providers: [],\r\n})\r\nexport class AXAvatarModule {}\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;MAOa,aAAa,CAAA;AACxB,IAAA,WAAA,GAAA,GAAgB;AAEhB,IAAA,QAAQ,MAAW;;0GAHR,aAAa,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAAb,aAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,IAAA,EAAA,aAAa,oGAHd,CAA8C,4CAAA,CAAA,EAAA,QAAA,EAAA,IAAA,EAAA,CAAA,CAAA;2FAG7C,aAAa,EAAA,UAAA,EAAA,CAAA;kBALzB,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACT,oBAAA,QAAQ,EAAE,iBAAiB;AAC3B,oBAAA,QAAQ,EAAE,CAA8C,4CAAA,CAAA;AACxD,oBAAA,IAAI,EAAE,EAAE,KAAK,EAAE,iBAAiB,EAAE;iBACnC,CAAA;;;ACUD;;;;AAIG;AASG,MAAO,iBAAkB,SAAQ,aAAa,CAAA;AAKlD;;AAEG;IACH,WAAY,CAAA,UAAsB,EAAE,GAAsB,EAAA;AACxD,QAAA,KAAK,CAAC,UAAU,EAAE,GAAG,CAAC,CAAC;KAExB;IAED,eAAe,GAAA;QACb,IAAI,CAAC,SAAS,CAAC,OAAO,CAAC,SAAS,CAAC,MAAI;AACnC,YAAA,IAAI,CAAC,IAAI,CAAC,YAAY,EAAE,CAAC;AAC3B,SAAC,CAAC,CAAA;KACH;AAED,IAAA,IACI,WAAW,GAAA;AACb,QAAA,OAAO,CAAM,GAAA,EAAA,IAAI,CAAC,KAAK,UAAU,CAAC;KACnC;;8GAtBU,iBAAiB,EAAA,IAAA,EAAA,CAAA,EAAA,KAAA,EAAA,EAAA,CAAA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O,GAAG,CAAC,YAAY,CAAC,CAAC;MAQlB,cAAc,CAAA;;2GAAd,cAAc,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA;4GAAd,cAAc,EAAA,YAAA,EAAA,CATR,iBAAiB,EAAE,aAAa,aAClC,YAAY,CAAA,EAAA,OAAA,EAAA,CADV,iBAAiB,EAAE,aAAa,CAAA,EAAA,CAAA,CAAA;AAStC,cAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,cAAc,YAJZ,OAAO,CAAA,EAAA,CAAA,CAAA;2FAIT,cAAc,EAAA,UAAA,EAAA,CAAA;kBAN1B,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;iBACd,CAAA;;;ACbD;;AAEG;;;;"}
1
+ {"version":3,"file":"acorex-components-avatar.mjs","sources":["../../../../projects/acorex/components/avatar/src/avatar-group.component.ts","../../../../projects/acorex/components/avatar/src/avatar.component.ts","../../../../projects/acorex/components/avatar/src/avatar.component.html","../../../../projects/acorex/components/avatar/src/avatar.module.ts","../../../../projects/acorex/components/avatar/acorex-components-avatar.ts"],"sourcesContent":["import { Component, OnInit } from '@angular/core';\r\n\r\n@Component({\r\n selector: 'ax-avatar-group',\r\n template: `<ng-content select=\"ax-avatar\"></ng-content>`,\r\n})\r\nexport class AXAvatarGroup implements OnInit {\r\n constructor() {}\r\n\r\n ngOnInit(): void {}\r\n}\r\n","import { AXAvatarMixin } from '@acorex/components/mixin';\r\nimport {\r\n Component,\r\n ViewEncapsulation,\r\n ChangeDetectionStrategy,\r\n ElementRef,\r\n ChangeDetectorRef,\r\n HostBinding,\r\n ContentChildren,\r\n QueryList,\r\n} from '@angular/core';\r\n\r\n/**\r\n * The Button is a component which detects user interaction and triggers a corresponding event\r\n *\r\n * @category Components\r\n */\r\n@Component({\r\n selector: 'ax-avatar',\r\n templateUrl: './avatar.component.html',\r\n styleUrls: ['./avatar.component.scss'],\r\n inputs: ['color', 'look'],\r\n encapsulation: ViewEncapsulation.None,\r\n changeDetection: ChangeDetectionStrategy.OnPush,\r\n})\r\nexport class AXAvatarComponent extends AXAvatarMixin {\r\n\r\n @ContentChildren('ax-text, ax-icon, ax-image')\r\n readonly _children: QueryList<any>;\r\n\r\n /**\r\n * @ignore\r\n */\r\n constructor(elementRef: ElementRef, cdr: ChangeDetectorRef) {\r\n super(elementRef, cdr);\r\n\r\n }\r\n\r\n ngAfterViewInit(): void {\r\n this._children.changes.subscribe(() => {\r\n this._cdr.markForCheck();\r\n })\r\n }\r\n\r\n @HostBinding('class')\r\n get __hostClass(): string {\r\n return `ax-${this.color}-default`;\r\n }\r\n\r\n}\r\n","<ng-container [ngTemplateOutlet]=\"default\" *ngIf=\"!_children.length\"></ng-container>\r\n<ng-container [ngTemplateOutlet]=\"custom\" *ngIf=\"_children.length\"></ng-container>\r\n\r\n<ng-template #custom>\r\n <ng-content select='ax-text, ax-image, ax-icon'></ng-content>\r\n</ng-template>\r\n<ng-template #default>\r\n <svg xmlns=\"http://www.w3.org/2000/svg\" class=\"ax-default\" xmlns:xlink=\"http://www.w3.org/1999/xlink\"\r\n viewBox=\"0 0 512 512\">\r\n <g style=\"isolation:isolate\">\r\n <g id=\"Layer_2\" data-name=\"Layer 2\">\r\n <g id=\"Layer_1-2\" data-name=\"Layer 1\">\r\n <rect width=\"512\" height=\"512\" />\r\n <path\r\n d=\"M419.16,511.94s-2.85-154-142.28-176.19a139.93,139.93,0,0,0-22-1.67h0a55.8,55.8,0,0,0-5.93.29C99.25,350.35,96.26,511.94,96.26,511.94\"\r\n style=\"fill:#fff;opacity:0.7\" />\r\n <path\r\n d=\"M256,355.18c-17.29,0-32.22-4.63-46.38-12.41-3.86,1.31-8.15,2.93-11.75,4.46A96.48,96.48,0,0,0,256,366.62a100.29,100.29,0,0,0,60.07-20c-3.6-1.49-6.41-2.55-10.27-3.83C291.48,350.79,273.58,355.18,256,355.18Z\"\r\n style=\"opacity:0.05\" />\r\n <circle cx=\"257.71\" cy=\"255.94\" r=\"99.24\" style=\"fill:#fff\" />\r\n </g>\r\n </g>\r\n </g>\r\n </svg>\r\n</ng-template>","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\nimport { AXAvatarComponent } from './avatar.component';\r\nimport { AXAvatarGroup } from './avatar-group.component';\r\n\r\nconst COMPONENT = [AXAvatarComponent, AXAvatarGroup];\r\nconst MODULES = [CommonModule];\r\n\r\n@NgModule({\r\n declarations: [...COMPONENT],\r\n imports: [...MODULES],\r\n exports: [...COMPONENT],\r\n providers: [],\r\n})\r\nexport class AXAvatarModule {}\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;MAMa,aAAa,CAAA;AACxB,IAAA,WAAA,GAAA,GAAgB;AAEhB,IAAA,QAAQ,MAAW;;0GAHR,aAAa,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAAb,aAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,IAAA,EAAA,aAAa,uDAFd,8CAA8C,EAAA,QAAA,EAAA,IAAA,EAAA,CAAA,CAAA;2FAE7C,aAAa,EAAA,UAAA,EAAA,CAAA;kBAJzB,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACT,oBAAA,QAAQ,EAAE,iBAAiB;AAC3B,oBAAA,Q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