@acorex/components 7.0.13 → 7.0.15

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 (372) hide show
  1. package/alert/public-api.d.ts +0 -1
  2. package/alert/src/alert.component.d.ts +4 -3
  3. package/alert/src/alert.module.d.ts +3 -4
  4. package/avatar/src/avatar.component.d.ts +2 -1
  5. package/badge/src/badge.component.d.ts +2 -2
  6. package/breadcrumbs/src/breadcrumbs-item.component.d.ts +6 -6
  7. package/button/src/button-group.component.d.ts +6 -6
  8. package/button/src/button-item.component.d.ts +6 -6
  9. package/button/src/button.component.d.ts +1 -1
  10. package/card/index.d.ts +5 -0
  11. package/card/public-api.d.ts +2 -0
  12. package/card/src/card.component.d.ts +10 -0
  13. package/card/src/card.module.d.ts +8 -0
  14. package/color-picker/src/color-picker.component.d.ts +16 -16
  15. package/date-picker/src/datepicker.component.d.ts +14 -14
  16. package/decorators/src/icon.component.d.ts +1 -1
  17. package/esm2020/action-sheet/src/action-sheet.component.mjs +5 -5
  18. package/esm2020/action-sheet/src/action-sheet.module.mjs +4 -4
  19. package/esm2020/action-sheet/src/action-sheet.service.mjs +15 -10
  20. package/esm2020/alert/public-api.mjs +1 -2
  21. package/esm2020/alert/src/alert.component.mjs +11 -8
  22. package/esm2020/alert/src/alert.module.mjs +6 -7
  23. package/esm2020/avatar/src/avatar-group.component.mjs +3 -3
  24. package/esm2020/avatar/src/avatar.component.mjs +10 -7
  25. package/esm2020/avatar/src/avatar.module.mjs +4 -4
  26. package/esm2020/badge/src/badge.component.mjs +5 -6
  27. package/esm2020/badge/src/badge.module.mjs +4 -4
  28. package/esm2020/breadcrumbs/src/breadcrumbs-item.component.mjs +3 -3
  29. package/esm2020/breadcrumbs/src/breadcrumbs.component.mjs +3 -3
  30. package/esm2020/breadcrumbs/src/breadcrumbs.module.mjs +4 -4
  31. package/esm2020/button/src/button-group.component.mjs +3 -3
  32. package/esm2020/button/src/button-item.component.mjs +3 -3
  33. package/esm2020/button/src/button.component.mjs +6 -6
  34. package/esm2020/button/src/button.module.mjs +4 -4
  35. package/esm2020/calendar/src/calendar.class.mjs +3 -3
  36. package/esm2020/calendar/src/calendar.component.mjs +5 -5
  37. package/esm2020/calendar/src/calendar.module.mjs +4 -4
  38. package/esm2020/card/acorex-components-card.mjs +5 -0
  39. package/esm2020/card/public-api.mjs +3 -0
  40. package/esm2020/card/src/card.component.mjs +17 -0
  41. package/esm2020/card/src/card.module.mjs +19 -0
  42. package/esm2020/checkbox/src/checkbox.component.mjs +3 -3
  43. package/esm2020/checkbox/src/checkbox.module.mjs +4 -4
  44. package/esm2020/chips/src/chips.component.mjs +3 -3
  45. package/esm2020/chips/src/chips.module.mjs +4 -4
  46. package/esm2020/collapse/src/collapse-group.component.mjs +4 -6
  47. package/esm2020/collapse/src/collapse.component.mjs +3 -3
  48. package/esm2020/collapse/src/collapse.module.mjs +4 -4
  49. package/esm2020/color-palette/src/color-palette-input.component.mjs +3 -3
  50. package/esm2020/color-palette/src/color-palette-picker.component.mjs +3 -3
  51. package/esm2020/color-palette/src/color-palette-preview.component.mjs +3 -3
  52. package/esm2020/color-palette/src/color-palette-swatches.component.mjs +3 -3
  53. package/esm2020/color-palette/src/color-palette.class.mjs +6 -6
  54. package/esm2020/color-palette/src/color-palette.component.mjs +5 -5
  55. package/esm2020/color-palette/src/color-palette.module.mjs +4 -4
  56. package/esm2020/color-picker/src/color-picker.component.mjs +3 -3
  57. package/esm2020/color-picker/src/color-picker.module.mjs +4 -4
  58. package/esm2020/common/src/classes/components.class.mjs +19 -21
  59. package/esm2020/common/src/common.module.mjs +4 -4
  60. package/esm2020/common/src/directives/auto-focus.directive.mjs +3 -3
  61. package/esm2020/common/src/directives/debounce-time.directive.mjs +3 -3
  62. package/esm2020/common/src/directives/hotkey.directive.mjs +3 -3
  63. package/esm2020/common/src/directives/infinite-scroll.directive.mjs +3 -3
  64. package/esm2020/common/src/directives/responsive.directive.mjs +3 -3
  65. package/esm2020/common/src/services/custom-cdk-overlay.service.mjs +6 -6
  66. package/esm2020/common/src/services/hotkey.service.mjs +3 -3
  67. package/esm2020/common/src/services/overlay.service.mjs +5 -5
  68. package/esm2020/context-menu/src/context-menu.component.mjs +3 -3
  69. package/esm2020/context-menu/src/context-menu.module.mjs +4 -4
  70. package/esm2020/data-pager/src/data-pager-base.component.mjs +6 -6
  71. package/esm2020/data-pager/src/data-pager-info.component.mjs +3 -3
  72. package/esm2020/data-pager/src/data-pager-input-selector.component.mjs +3 -3
  73. package/esm2020/data-pager/src/data-pager-next-buttons.components.mjs +3 -3
  74. package/esm2020/data-pager/src/data-pager-numeric-selector.component.mjs +3 -3
  75. package/esm2020/data-pager/src/data-pager-pagesize-dropdown.component.mjs +3 -3
  76. package/esm2020/data-pager/src/data-pager-prev-buttons.component.mjs +3 -3
  77. package/esm2020/data-pager/src/data-pager.component.mjs +3 -3
  78. package/esm2020/data-pager/src/data-pager.module.mjs +4 -4
  79. package/esm2020/data-table/src/data-column-cell-template.directive.mjs +3 -3
  80. package/esm2020/data-table/src/data-column.directive.mjs +3 -3
  81. package/esm2020/data-table/src/data-table.component.mjs +3 -3
  82. package/esm2020/data-table/src/data-table.module.mjs +4 -4
  83. package/esm2020/date-picker/src/datepicker.component.mjs +6 -6
  84. package/esm2020/date-picker/src/datepicker.module.mjs +4 -4
  85. package/esm2020/decorators/src/close-button.component.mjs +3 -3
  86. package/esm2020/decorators/src/content.component.mjs +3 -3
  87. package/esm2020/decorators/src/decorators.module.mjs +4 -4
  88. package/esm2020/decorators/src/footer.component.mjs +3 -3
  89. package/esm2020/decorators/src/form-hint.component.mjs +3 -3
  90. package/esm2020/decorators/src/header.component.mjs +3 -3
  91. package/esm2020/decorators/src/icon.component.mjs +5 -5
  92. package/esm2020/decorators/src/overlay.component.mjs +3 -3
  93. package/esm2020/decorators/src/placeholder.component.mjs +3 -3
  94. package/esm2020/decorators/src/prefix.component.mjs +3 -3
  95. package/esm2020/decorators/src/sub-title.component.mjs +3 -3
  96. package/esm2020/decorators/src/suffix.component.mjs +3 -3
  97. package/esm2020/decorators/src/text.component.mjs +3 -3
  98. package/esm2020/decorators/src/title.component.mjs +5 -8
  99. package/esm2020/dialog/src/dialog.component.mjs +4 -4
  100. package/esm2020/dialog/src/dialog.module.mjs +4 -4
  101. package/esm2020/dialog/src/dialog.service.mjs +3 -3
  102. package/esm2020/drawer/src/drawer-container.component.mjs +3 -3
  103. package/esm2020/drawer/src/drawer.component.mjs +3 -3
  104. package/esm2020/drawer/src/drawer.module.mjs +4 -4
  105. package/esm2020/dropdown/src/dropdown-panel.component.mjs +3 -3
  106. package/esm2020/dropdown/src/dropdown.module.mjs +4 -4
  107. package/esm2020/form/src/form-field.component.mjs +4 -4
  108. package/esm2020/form/src/form.component.mjs +3 -3
  109. package/esm2020/form/src/form.module.mjs +4 -4
  110. package/esm2020/form/src/validation-rule.widget.mjs +3 -3
  111. package/esm2020/form/src/validation-summary.component.mjs +3 -3
  112. package/esm2020/image/src/image.component.mjs +3 -3
  113. package/esm2020/image/src/image.module.mjs +4 -4
  114. package/esm2020/label/src/label.component.mjs +3 -3
  115. package/esm2020/label/src/label.module.mjs +4 -4
  116. package/esm2020/loading/src/loading-spinner.component.mjs +3 -3
  117. package/esm2020/loading/src/loading.component.mjs +3 -3
  118. package/esm2020/loading/src/loading.directive.mjs +3 -3
  119. package/esm2020/loading/src/loading.module.mjs +4 -4
  120. package/esm2020/loading/src/loading.service.mjs +3 -3
  121. package/esm2020/menu/src/menu.component.mjs +8 -6
  122. package/esm2020/menu/src/menu.module.mjs +4 -4
  123. package/esm2020/mixin/src/base-components.class.mjs +3 -3
  124. package/esm2020/mixin/src/base-menu-mixin.class.mjs +2 -2
  125. package/esm2020/mixin/src/color-look-mixing.class.mjs +1 -1
  126. package/esm2020/notification/src/notification.class.mjs +1 -1
  127. package/esm2020/notification/src/notification.component.mjs +33 -9
  128. package/esm2020/notification/src/notification.module.mjs +8 -6
  129. package/esm2020/notification/src/notification.service.mjs +22 -51
  130. package/esm2020/number-box/src/number-box.component.mjs +3 -3
  131. package/esm2020/number-box/src/number-box.module.mjs +4 -4
  132. package/esm2020/page/src/base-page.class.mjs +3 -3
  133. package/esm2020/page/src/page.component.mjs +3 -3
  134. package/esm2020/page/src/page.module.mjs +4 -4
  135. package/esm2020/password-box/src/password-box.component.mjs +3 -3
  136. package/esm2020/password-box/src/password-box.module.mjs +4 -4
  137. package/esm2020/picker/acorex-components-picker.mjs +5 -0
  138. package/esm2020/picker/public-api.mjs +3 -0
  139. package/esm2020/picker/src/picker.component.mjs +37 -0
  140. package/esm2020/picker/src/picker.module.mjs +36 -0
  141. package/esm2020/popover/src/popover.component.mjs +23 -14
  142. package/esm2020/popover/src/popover.module.mjs +4 -4
  143. package/esm2020/popup/src/popup.component.mjs +3 -3
  144. package/esm2020/popup/src/popup.module.mjs +4 -4
  145. package/esm2020/popup/src/popup.service.mjs +3 -3
  146. package/esm2020/progress-bar/src/progress-bar.component.mjs +3 -3
  147. package/esm2020/progress-bar/src/progress-bar.module.mjs +4 -4
  148. package/esm2020/radio/src/radio.component.mjs +3 -3
  149. package/esm2020/radio/src/radio.module.mjs +4 -4
  150. package/esm2020/range-slider/src/range-slider.component.mjs +3 -3
  151. package/esm2020/range-slider/src/range-slider.module.mjs +4 -4
  152. package/esm2020/rating/src/rating.component.mjs +3 -3
  153. package/esm2020/rating/src/rating.component.module.mjs +4 -4
  154. package/esm2020/result/src/result.component.mjs +3 -3
  155. package/esm2020/result/src/result.module.mjs +4 -4
  156. package/esm2020/search-box/src/search-box.component.mjs +3 -3
  157. package/esm2020/search-box/src/search-box.module.mjs +4 -4
  158. package/esm2020/select-box/src/selectbox.component.mjs +15 -16
  159. package/esm2020/select-box/src/selectbox.module.mjs +4 -4
  160. package/esm2020/selection-list/src/selection-list.component.mjs +3 -3
  161. package/esm2020/selection-list/src/selection-list.module.mjs +4 -4
  162. package/esm2020/switch/public-api.mjs +2 -1
  163. package/esm2020/switch/src/switch-content.component.mjs +16 -0
  164. package/esm2020/switch/src/switch.component.mjs +18 -7
  165. package/esm2020/switch/src/switch.module.mjs +8 -7
  166. package/esm2020/tabs/src/tab-content.directive.mjs +3 -3
  167. package/esm2020/tabs/src/tab-item.component.mjs +3 -3
  168. package/esm2020/tabs/src/tabs.component.mjs +5 -5
  169. package/esm2020/tabs/src/tabs.module.mjs +4 -4
  170. package/esm2020/tag/src/tag.component.mjs +3 -3
  171. package/esm2020/tag/src/tag.module.mjs +4 -4
  172. package/esm2020/textarea/src/textarea.component.mjs +3 -3
  173. package/esm2020/textarea/src/textarea.module.mjs +4 -4
  174. package/esm2020/textbox/src/mask-options.directive.mjs +3 -3
  175. package/esm2020/textbox/src/textbox.component.mjs +3 -3
  176. package/esm2020/textbox/src/textbox.module.mjs +4 -4
  177. package/esm2020/time-box/src/time-box.component.mjs +3 -3
  178. package/esm2020/time-box/src/time-box.module.mjs +4 -4
  179. package/esm2020/toast/src/toast.class.mjs +1 -1
  180. package/esm2020/toast/src/toast.component.mjs +5 -5
  181. package/esm2020/toast/src/toast.module.mjs +4 -4
  182. package/esm2020/toast/src/toast.service.mjs +4 -6
  183. package/esm2020/tooltip/src/tooltip.component.mjs +3 -3
  184. package/esm2020/tooltip/src/tooltip.directive.mjs +3 -3
  185. package/esm2020/tooltip/src/tooltip.module.mjs +4 -4
  186. package/esm2020/tree-view/src/tree-view.component.mjs +3 -3
  187. package/esm2020/tree-view/src/tree-view.module.mjs +4 -4
  188. package/esm2020/uploader/src/uploader.component.mjs +3 -3
  189. package/esm2020/uploader/src/uploader.module.mjs +4 -4
  190. package/fesm2015/acorex-components-action-sheet.mjs +21 -16
  191. package/fesm2015/acorex-components-action-sheet.mjs.map +1 -1
  192. package/fesm2015/acorex-components-alert.mjs +18 -32
  193. package/fesm2015/acorex-components-alert.mjs.map +1 -1
  194. package/fesm2015/acorex-components-avatar.mjs +16 -13
  195. package/fesm2015/acorex-components-avatar.mjs.map +1 -1
  196. package/fesm2015/acorex-components-badge.mjs +8 -9
  197. package/fesm2015/acorex-components-badge.mjs.map +1 -1
  198. package/fesm2015/acorex-components-breadcrumbs.mjs +10 -10
  199. package/fesm2015/acorex-components-button.mjs +16 -15
  200. package/fesm2015/acorex-components-button.mjs.map +1 -1
  201. package/fesm2015/acorex-components-calendar.mjs +11 -11
  202. package/fesm2015/acorex-components-calendar.mjs.map +1 -1
  203. package/fesm2015/acorex-components-card.mjs +41 -0
  204. package/fesm2015/acorex-components-card.mjs.map +1 -0
  205. package/fesm2015/acorex-components-checkbox.mjs +7 -7
  206. package/fesm2015/acorex-components-chips.mjs +7 -7
  207. package/fesm2015/acorex-components-collapse.mjs +10 -12
  208. package/fesm2015/acorex-components-collapse.mjs.map +1 -1
  209. package/fesm2015/acorex-components-color-palette.mjs +27 -27
  210. package/fesm2015/acorex-components-color-picker.mjs +7 -7
  211. package/fesm2015/acorex-components-common.mjs +50 -52
  212. package/fesm2015/acorex-components-common.mjs.map +1 -1
  213. package/fesm2015/acorex-components-context-menu.mjs +7 -7
  214. package/fesm2015/acorex-components-data-pager.mjs +31 -31
  215. package/fesm2015/acorex-components-data-table.mjs +13 -13
  216. package/fesm2015/acorex-components-date-picker.mjs +9 -9
  217. package/fesm2015/acorex-components-date-picker.mjs.map +1 -1
  218. package/fesm2015/acorex-components-decorators.mjs +45 -47
  219. package/fesm2015/acorex-components-decorators.mjs.map +1 -1
  220. package/fesm2015/acorex-components-dialog.mjs +11 -11
  221. package/fesm2015/acorex-components-dialog.mjs.map +1 -1
  222. package/fesm2015/acorex-components-drawer.mjs +10 -10
  223. package/fesm2015/acorex-components-dropdown.mjs +7 -7
  224. package/fesm2015/acorex-components-form.mjs +18 -17
  225. package/fesm2015/acorex-components-form.mjs.map +1 -1
  226. package/fesm2015/acorex-components-image.mjs +7 -7
  227. package/fesm2015/acorex-components-label.mjs +7 -7
  228. package/fesm2015/acorex-components-loading.mjs +16 -16
  229. package/fesm2015/acorex-components-menu.mjs +11 -9
  230. package/fesm2015/acorex-components-menu.mjs.map +1 -1
  231. package/fesm2015/acorex-components-mixin.mjs +4 -4
  232. package/fesm2015/acorex-components-mixin.mjs.map +1 -1
  233. package/fesm2015/acorex-components-notification.mjs +59 -64
  234. package/fesm2015/acorex-components-notification.mjs.map +1 -1
  235. package/fesm2015/acorex-components-number-box.mjs +7 -7
  236. package/fesm2015/acorex-components-page.mjs +10 -10
  237. package/fesm2015/acorex-components-password-box.mjs +7 -7
  238. package/fesm2015/acorex-components-picker.mjs +78 -0
  239. package/fesm2015/acorex-components-picker.mjs.map +1 -0
  240. package/fesm2015/acorex-components-popover.mjs +26 -17
  241. package/fesm2015/acorex-components-popover.mjs.map +1 -1
  242. package/fesm2015/acorex-components-popup.mjs +10 -10
  243. package/fesm2015/acorex-components-progress-bar.mjs +7 -7
  244. package/fesm2015/acorex-components-radio.mjs +7 -7
  245. package/fesm2015/acorex-components-range-slider.mjs +7 -7
  246. package/fesm2015/acorex-components-rating.mjs +7 -7
  247. package/fesm2015/acorex-components-result.mjs +7 -7
  248. package/fesm2015/acorex-components-search-box.mjs +7 -7
  249. package/fesm2015/acorex-components-select-box.mjs +19 -19
  250. package/fesm2015/acorex-components-select-box.mjs.map +1 -1
  251. package/fesm2015/acorex-components-selection-list.mjs +7 -7
  252. package/fesm2015/acorex-components-switch.mjs +39 -14
  253. package/fesm2015/acorex-components-switch.mjs.map +1 -1
  254. package/fesm2015/acorex-components-tabs.mjs +15 -15
  255. package/fesm2015/acorex-components-tabs.mjs.map +1 -1
  256. package/fesm2015/acorex-components-tag.mjs +7 -7
  257. package/fesm2015/acorex-components-textarea.mjs +7 -7
  258. package/fesm2015/acorex-components-textbox.mjs +10 -10
  259. package/fesm2015/acorex-components-time-box.mjs +7 -7
  260. package/fesm2015/acorex-components-toast.mjs +11 -13
  261. package/fesm2015/acorex-components-toast.mjs.map +1 -1
  262. package/fesm2015/acorex-components-tooltip.mjs +10 -10
  263. package/fesm2015/acorex-components-tree-view.mjs +7 -7
  264. package/fesm2015/acorex-components-uploader.mjs +7 -7
  265. package/fesm2020/acorex-components-action-sheet.mjs +21 -16
  266. package/fesm2020/acorex-components-action-sheet.mjs.map +1 -1
  267. package/fesm2020/acorex-components-alert.mjs +18 -32
  268. package/fesm2020/acorex-components-alert.mjs.map +1 -1
  269. package/fesm2020/acorex-components-avatar.mjs +16 -13
  270. package/fesm2020/acorex-components-avatar.mjs.map +1 -1
  271. package/fesm2020/acorex-components-badge.mjs +8 -9
  272. package/fesm2020/acorex-components-badge.mjs.map +1 -1
  273. package/fesm2020/acorex-components-breadcrumbs.mjs +10 -10
  274. package/fesm2020/acorex-components-button.mjs +16 -15
  275. package/fesm2020/acorex-components-button.mjs.map +1 -1
  276. package/fesm2020/acorex-components-calendar.mjs +11 -11
  277. package/fesm2020/acorex-components-calendar.mjs.map +1 -1
  278. package/fesm2020/acorex-components-card.mjs +41 -0
  279. package/fesm2020/acorex-components-card.mjs.map +1 -0
  280. package/fesm2020/acorex-components-checkbox.mjs +7 -7
  281. package/fesm2020/acorex-components-chips.mjs +7 -7
  282. package/fesm2020/acorex-components-collapse.mjs +10 -12
  283. package/fesm2020/acorex-components-collapse.mjs.map +1 -1
  284. package/fesm2020/acorex-components-color-palette.mjs +27 -27
  285. package/fesm2020/acorex-components-color-picker.mjs +7 -7
  286. package/fesm2020/acorex-components-common.mjs +50 -52
  287. package/fesm2020/acorex-components-common.mjs.map +1 -1
  288. package/fesm2020/acorex-components-context-menu.mjs +7 -7
  289. package/fesm2020/acorex-components-data-pager.mjs +31 -31
  290. package/fesm2020/acorex-components-data-table.mjs +13 -13
  291. package/fesm2020/acorex-components-date-picker.mjs +9 -9
  292. package/fesm2020/acorex-components-date-picker.mjs.map +1 -1
  293. package/fesm2020/acorex-components-decorators.mjs +45 -47
  294. package/fesm2020/acorex-components-decorators.mjs.map +1 -1
  295. package/fesm2020/acorex-components-dialog.mjs +11 -11
  296. package/fesm2020/acorex-components-dialog.mjs.map +1 -1
  297. package/fesm2020/acorex-components-drawer.mjs +10 -10
  298. package/fesm2020/acorex-components-dropdown.mjs +7 -7
  299. package/fesm2020/acorex-components-form.mjs +18 -17
  300. package/fesm2020/acorex-components-form.mjs.map +1 -1
  301. package/fesm2020/acorex-components-image.mjs +7 -7
  302. package/fesm2020/acorex-components-label.mjs +7 -7
  303. package/fesm2020/acorex-components-loading.mjs +16 -16
  304. package/fesm2020/acorex-components-menu.mjs +11 -9
  305. package/fesm2020/acorex-components-menu.mjs.map +1 -1
  306. package/fesm2020/acorex-components-mixin.mjs +4 -4
  307. package/fesm2020/acorex-components-mixin.mjs.map +1 -1
  308. package/fesm2020/acorex-components-notification.mjs +59 -64
  309. package/fesm2020/acorex-components-notification.mjs.map +1 -1
  310. package/fesm2020/acorex-components-number-box.mjs +7 -7
  311. package/fesm2020/acorex-components-page.mjs +10 -10
  312. package/fesm2020/acorex-components-password-box.mjs +7 -7
  313. package/fesm2020/acorex-components-picker.mjs +78 -0
  314. package/fesm2020/acorex-components-picker.mjs.map +1 -0
  315. package/fesm2020/acorex-components-popover.mjs +26 -17
  316. package/fesm2020/acorex-components-popover.mjs.map +1 -1
  317. package/fesm2020/acorex-components-popup.mjs +10 -10
  318. package/fesm2020/acorex-components-progress-bar.mjs +7 -7
  319. package/fesm2020/acorex-components-radio.mjs +7 -7
  320. package/fesm2020/acorex-components-range-slider.mjs +7 -7
  321. package/fesm2020/acorex-components-rating.mjs +7 -7
  322. package/fesm2020/acorex-components-result.mjs +7 -7
  323. package/fesm2020/acorex-components-search-box.mjs +7 -7
  324. package/fesm2020/acorex-components-select-box.mjs +18 -19
  325. package/fesm2020/acorex-components-select-box.mjs.map +1 -1
  326. package/fesm2020/acorex-components-selection-list.mjs +7 -7
  327. package/fesm2020/acorex-components-switch.mjs +39 -14
  328. package/fesm2020/acorex-components-switch.mjs.map +1 -1
  329. package/fesm2020/acorex-components-tabs.mjs +15 -15
  330. package/fesm2020/acorex-components-tabs.mjs.map +1 -1
  331. package/fesm2020/acorex-components-tag.mjs +7 -7
  332. package/fesm2020/acorex-components-textarea.mjs +7 -7
  333. package/fesm2020/acorex-components-textbox.mjs +10 -10
  334. package/fesm2020/acorex-components-time-box.mjs +7 -7
  335. package/fesm2020/acorex-components-toast.mjs +11 -13
  336. package/fesm2020/acorex-components-toast.mjs.map +1 -1
  337. package/fesm2020/acorex-components-tooltip.mjs +10 -10
  338. package/fesm2020/acorex-components-tree-view.mjs +7 -7
  339. package/fesm2020/acorex-components-uploader.mjs +7 -7
  340. package/mixin/src/base-components.class.d.ts +2 -2
  341. package/mixin/src/base-menu-mixin.class.d.ts +5 -5
  342. package/mixin/src/button-mixin.class.d.ts +2 -2
  343. package/mixin/src/clickable-mixin.class.d.ts +2 -2
  344. package/mixin/src/color-look-mixing.class.d.ts +2 -2
  345. package/mixin/src/datalist-component.class.d.ts +10 -10
  346. package/mixin/src/dropdown-mixin.class.d.ts +2 -2
  347. package/mixin/src/interactive-mixin.class.d.ts +4 -4
  348. package/mixin/src/loading-mixin.class.d.ts +2 -2
  349. package/mixin/src/mixin.class.d.ts +61 -61
  350. package/mixin/src/page-component.class.d.ts +2 -2
  351. package/mixin/src/selection-component.class.d.ts +2 -2
  352. package/mixin/src/sizable-mixin.class.d.ts +2 -2
  353. package/mixin/src/textbox-mixin.class.d.ts +2 -2
  354. package/mixin/src/value-mixin.class.d.ts +8 -8
  355. package/notification/src/notification.class.d.ts +3 -1
  356. package/notification/src/notification.component.d.ts +8 -3
  357. package/notification/src/notification.module.d.ts +3 -1
  358. package/notification/src/notification.service.d.ts +0 -5
  359. package/package.json +18 -2
  360. package/picker/index.d.ts +5 -0
  361. package/picker/public-api.d.ts +2 -0
  362. package/picker/src/picker.component.d.ts +12 -0
  363. package/picker/src/picker.module.d.ts +13 -0
  364. package/select-box/src/selectbox.component.d.ts +1 -1
  365. package/switch/public-api.d.ts +1 -0
  366. package/switch/src/switch-content.component.d.ts +8 -0
  367. package/switch/src/switch.component.d.ts +2 -1
  368. package/switch/src/switch.module.d.ts +5 -4
  369. package/tabs/src/tab-item.component.d.ts +2 -2
  370. package/toast/src/toast.class.d.ts +1 -2
  371. package/alert/src/alert-button.directive.d.ts +0 -8
  372. package/esm2020/alert/src/alert-button.directive.mjs +0 -19
@@ -1 +1 @@
1
- {"version":3,"file":"acorex-components-calendar.mjs","sources":["../../../../projects/acorex/components/calendar/src/calendar.class.ts","../../../../projects/acorex/components/calendar/src/calendar.component.ts","../../../../projects/acorex/components/calendar/src/calendar.component.html","../../../../projects/acorex/components/calendar/src/calendar.module.ts","../../../../projects/acorex/components/calendar/acorex-components-calendar.ts"],"sourcesContent":["import { AXConfig } from \"@acorex/core/config\";\r\nimport { ChangeDetectorRef, ElementRef, EventEmitter, Injectable, Input, Output } from \"@angular/core\";\r\nimport { AXItemClickEvent, AXRangeChangedEvent } from \"@acorex/components/common\";\r\nimport { AXBaseComponent } from \"@acorex/components/mixin\";\r\n\r\nexport type AXCalendarViewType = 'years' | 'months' | 'days';\r\nexport type AXCalendarViewDepth = AXCalendarViewType;\r\nexport type AXCalendarDisabledDates = Date[] | ((date: Date) => boolean);\r\nexport type AXCalendarHolidayDates = Date[] | ((date: Date) => boolean);\r\n\r\n\r\n/**\r\n* Contains native event\r\n* @category Events\r\n*/\r\nexport class AXCalendarNavigateEvent extends AXRangeChangedEvent<Date> {\r\n\r\n}\r\n\r\n@Injectable()\r\nexport class AXCalendarBaseComponent extends AXBaseComponent {\r\n\r\n\r\n constructor(elementRef: ElementRef, cdr: ChangeDetectorRef) {\r\n super(elementRef, cdr);\r\n }\r\n\r\n @Output()\r\n onSlotClick: EventEmitter<AXItemClickEvent<Date>> = new EventEmitter<AXItemClickEvent<Date>>();\r\n \r\n @Output()\r\n onNavigate: EventEmitter<AXCalendarNavigateEvent> = new EventEmitter<AXCalendarNavigateEvent>();\r\n\r\n @Output()\r\n activeViewChange: EventEmitter<AXCalendarViewType> = new EventEmitter<AXCalendarViewType>();\r\n\r\n private _activeView: AXCalendarViewType = 'days';\r\n @Input()\r\n public get activeView(): AXCalendarViewType {\r\n return this._activeView;\r\n }\r\n public set activeView(v: AXCalendarViewType) {\r\n this._setOption({ name: 'activeView', value: v });\r\n }\r\n\r\n\r\n @Output()\r\n public typeChange: EventEmitter<string> = new EventEmitter<string>();\r\n \r\n private _type: string = AXConfig.get(`dateTime.calendar`);\r\n \r\n @Input()\r\n public get type(): string {\r\n return this._type || AXConfig.get(`dateTime.calendar`);\r\n }\r\n public set type(v: string) {\r\n this._setOption({\r\n name: 'type',\r\n value: v\r\n })\r\n }\r\n\r\n\r\n @Output()\r\n depthChange: EventEmitter<AXCalendarViewDepth> = new EventEmitter<AXCalendarViewDepth>();\r\n\r\n private _depth: AXCalendarViewDepth = 'days';\r\n @Input()\r\n public get depth(): AXCalendarViewDepth {\r\n return this._depth;\r\n }\r\n public set depth(v: AXCalendarViewDepth) {\r\n this._setOption({\r\n name: 'depth', \r\n value: v, \r\n beforeCallback: () => {\r\n this._activeView = v;\r\n }\r\n });\r\n }\r\n\r\n @Output()\r\n minChange: EventEmitter<Date> = new EventEmitter<Date>();\r\n\r\n private _min: Date;\r\n @Input()\r\n public get min(): Date {\r\n return this._min;\r\n }\r\n public set min(v: Date) {\r\n this._setOption({ name: 'min', value: v });\r\n }\r\n\r\n\r\n @Output()\r\n maxChange: EventEmitter<Date> = new EventEmitter<Date>();\r\n\r\n private _max: Date;\r\n @Input()\r\n public get max(): Date {\r\n return this._max;\r\n }\r\n public set max(v: Date) {\r\n this._setOption({ name: 'max', value: v });\r\n }\r\n\r\n @Output()\r\n disabledDatesChange: EventEmitter<AXCalendarDisabledDates> = new EventEmitter<AXCalendarDisabledDates>();\r\n\r\n private _disabledDates: AXCalendarDisabledDates;\r\n @Input()\r\n public get disabledDates(): AXCalendarDisabledDates {\r\n return this._disabledDates;\r\n }\r\n public set disabledDates(v: AXCalendarDisabledDates) {\r\n this._setOption({ name: 'disabledDates', value: v });\r\n }\r\n\r\n @Output()\r\n holidayDatesChange: EventEmitter<AXCalendarHolidayDates> = new EventEmitter<AXCalendarHolidayDates>();\r\n\r\n private _holidayDates: AXCalendarHolidayDates;\r\n @Input()\r\n public get holidayDates(): AXCalendarHolidayDates {\r\n return this._holidayDates;\r\n }\r\n public set holidayDates(v: AXCalendarHolidayDates) {\r\n this._setOption({ name: 'holidayDates', value: v });\r\n }\r\n}\r\n\r\n\r\n\r\nexport const CALENDAR_INPUTS = [\r\n 'depth',\r\n 'activeView',\r\n 'min',\r\n 'max',\r\n 'disabledDates',\r\n 'type',\r\n 'holidayDates',\r\n];\r\nexport const CALENDAR_OUTPUTS = ['depthChange','typeChange','disabledDatesChange','holidayDatesChange','onNavigate'];\r\n","import { range } from 'lodash-es';\r\nimport {\r\n Component,\r\n ViewEncapsulation,\r\n ChangeDetectionStrategy,\r\n ElementRef,\r\n ChangeDetectorRef,\r\n HostBinding,\r\n Input,\r\n} from '@angular/core';\r\nimport { AXDateTime, AXDateTimeRange } from '@acorex/core/dateTime';\r\nimport { AXClickEvent } from '@acorex/components/common';\r\n\r\nimport { AXCalendarBaseComponent } from './calendar.class';\r\nimport {\r\n AXComponentOptionChanged,\r\n _ClickableComponenetMixin,\r\n _InteractiveComponenetMixin,\r\n _ValueComponenetMixin,\r\n} from '@acorex/components/mixin';\r\nimport { AXConfig } from '@acorex/core/config';\r\nimport { AXTranslator } from '@acorex/core/translation';\r\n\r\nexport const AXCalendarComponentMixin = _ClickableComponenetMixin(\r\n _InteractiveComponenetMixin(\r\n _ValueComponenetMixin<any>(AXCalendarBaseComponent)\r\n )\r\n);\r\n\r\n@Component({\r\n selector: 'ax-calendar',\r\n templateUrl: './calendar.component.html',\r\n styleUrls: ['./calendar.component.scss'],\r\n inputs: [\r\n 'rtl',\r\n 'readonly',\r\n 'allowNull',\r\n 'value',\r\n 'name',\r\n 'checked',\r\n 'disabled',\r\n 'tabIndex',\r\n 'depth',\r\n 'activeView',\r\n 'min',\r\n 'max',\r\n 'disabledDates',\r\n 'type',\r\n 'holidayDates',\r\n ],\r\n outputs: [\r\n 'valueChange',\r\n 'onValueChanged',\r\n 'onBlur',\r\n 'onFocus',\r\n 'depthChange',\r\n 'typeChange',\r\n 'disabledDatesChange',\r\n 'holidayDatesChange',\r\n 'onNavigate',\r\n ],\r\n encapsulation: ViewEncapsulation.None,\r\n changeDetection: ChangeDetectionStrategy.OnPush,\r\n})\r\nexport class AXCalendarComponent extends AXCalendarComponentMixin {\r\n @Input()\r\n interface: 'calendar' | 'picker' = 'calendar';\r\n\r\n\r\n private get _viewRange(): AXDateTimeRange {\r\n const current = this._viewStartDate || this._today;\r\n switch (this.activeView) {\r\n case 'years':\r\n let y = current.startOf('year').year;\r\n let min = y - (y % 10) - 1;\r\n let max = min + 11;\r\n return new AXDateTimeRange(\r\n AXDateTime.from({\r\n year: min,\r\n month: 1,\r\n date: 1,\r\n calendar: this._viewStartDate.calendar.name(),\r\n }),\r\n AXDateTime.from({\r\n year: max,\r\n month: 12,\r\n date: 28,\r\n calendar: this._viewStartDate.calendar.name(),\r\n })\r\n );\r\n case 'months':\r\n return new AXDateTimeRange(\r\n current.startOf('year'),\r\n current.endOf('year').add('day', -1)\r\n );\r\n default:\r\n return new AXDateTimeRange(\r\n current.startOf('month'),\r\n current.endOf('month')\r\n );\r\n }\r\n }\r\n\r\n protected _today = new AXDateTime(new Date(), this.type);\r\n private _viewStartDate!: AXDateTime;\r\n\r\n protected _navText: string = '';\r\n protected _todayText: string = '';\r\n\r\n protected _slots: any[] = [];\r\n protected _dayNames: string[] = [];\r\n\r\n private _isUserInteraction: boolean = false;\r\n\r\n constructor(elementRef: ElementRef, private cdr: ChangeDetectorRef) {\r\n super(elementRef, cdr);\r\n }\r\n\r\n private _initValues() {\r\n this._today = new AXDateTime(new Date(), this.type);\r\n this._dayNames = this._today.calendar.dayShortNames;\r\n }\r\n\r\n private _refresh() {\r\n this._initValues();\r\n this.navTo(this.value || this._today);\r\n }\r\n\r\n protected onInit() {\r\n this._initValues();\r\n if (!this.value) this.goToday();\r\n }\r\n\r\n private _genearteSlots() {\r\n if (!this._viewStartDate) return;\r\n const vr = this._viewRange;\r\n // just for tailwind\r\n //'ax-col-start-1','ax-col-start-2','ax-col-start-3','ax-col-start-4','ax-col-start-5','ax-col-start-6','ax-col-start-7'\r\n // year view\r\n if (this.activeView == 'years') {\r\n const a = vr.enumurate('year');\r\n this._slots = a.map((d, i) => {\r\n const r: any = {};\r\n r.date = d.date;\r\n r.text = d.format('YYYY');\r\n r.disabled =\r\n (this.min && d.compare(this.min, 'year') == -1) ||\r\n (this.max && d.compare(this.max, 'year') == 1);\r\n if (r.disabled) {\r\n r.cssClass = {\r\n 'ax-state-disabled': r.disabled,\r\n };\r\n } else {\r\n r.cssClass = {\r\n 'ax-state-today': d.equal(this._today, 'year'),\r\n 'ax-state-selected':\r\n this.value &&\r\n this.depth == 'years' &&\r\n d.equal(this.value, 'year'),\r\n };\r\n }\r\n // r.cssClass[`ax-col-start-2`] = i == 0;\r\n return r;\r\n });\r\n\r\n this._navText = `${vr.startTime.year} - ${vr.endTime.year}`;\r\n this._todayText = this._today.format('YYYY');\r\n }\r\n // month view\r\n else if (this.activeView == 'months') {\r\n const a = vr.enumurate('month');\r\n this._slots = a.map((d, i) => {\r\n const r: any = {};\r\n r.date = d.date;\r\n r.text = d.format('MMM');\r\n r.tooltip = d.format('MMMM YYYY');\r\n r.disabled =\r\n (this.min && d.compare(this.min, 'month') == -1) ||\r\n (this.max && d.compare(this.max, 'month') == 1);\r\n if (r.disabled) {\r\n r.cssClass = {\r\n 'ax-state-disabled': r.disabled,\r\n };\r\n } else {\r\n r.cssClass = {\r\n 'ax-state-today': d.equal(this._today, 'month'),\r\n 'ax-state-selected':\r\n this.value &&\r\n this.depth == 'months' &&\r\n d.equal(this.value, 'month'),\r\n 'ax-state-other': d.year != this._viewStartDate.year,\r\n };\r\n }\r\n return r;\r\n });\r\n this._navText = this._viewStartDate.format('YYYY');\r\n this._todayText = this._today.format('MMMM YYYY');\r\n }\r\n // day view\r\n else {\r\n const a = vr.enumurate('day');\r\n this._slots = a.map((d, i) => {\r\n const r: any = {};\r\n r.date = d.date;\r\n r.text = d.dayOfMonth;\r\n r.tooltip = d.format();\r\n r.disabled =\r\n (this.min && d.compare(this.min, 'day') == -1) ||\r\n (this.max && d.compare(this.max, 'day') == 1) ||\r\n this.isDisabled(d);\r\n if (r.disabled) {\r\n r.cssClass = {\r\n 'ax-state-disabled': true,\r\n };\r\n } else {\r\n r.cssClass = {\r\n 'ax-state-today': d.equal(this._today, 'day'),\r\n 'ax-state-selected': this.value && d.equal(this.value, 'day'),\r\n 'ax-state-holiday': this.isHoliday(d) || this.isWeekend(d),\r\n // 'ax-state-event-danger': d.dayOfMonth == 12,\r\n // 'ax-state-event': d.dayOfMonth == 12,\r\n };\r\n }\r\n\r\n r.cssClass[`ax-col-start-${vr.startTime.dayOfWeek}`] = i == 0;\r\n return r;\r\n });\r\n this._navText = this._viewStartDate.format('MMMM YYYY');\r\n this._todayText = this._today.format();\r\n }\r\n }\r\n\r\n protected _handlePrevClick() {\r\n this._isUserInteraction = true;\r\n this.prev();\r\n this._isUserInteraction = false;\r\n }\r\n\r\n protected _handleNextClick() {\r\n this._isUserInteraction = true;\r\n this.next();\r\n this._isUserInteraction = false;\r\n }\r\n\r\n protected _handleSlotClick(e: MouseEvent, slot) {\r\n if (slot.disabled || this.disabled) return;\r\n if (this.activeView == 'days') {\r\n this._setDate(slot.date);\r\n } else if (this.activeView == 'months' && this.depth == 'days') {\r\n this.activeView = 'days';\r\n this.navTo(slot.date);\r\n } else if (this.activeView == 'months' && this.depth == 'months') {\r\n this._setDate(slot.date);\r\n } else if (\r\n this.activeView == 'years' &&\r\n (this.depth == 'days' || this.depth == 'months')\r\n ) {\r\n this.activeView = 'months';\r\n this.navTo(slot.date);\r\n } else if (this.activeView == 'years' && this.depth == 'years') {\r\n this._setDate(slot.date);\r\n }\r\n this.onSlotClick.emit({\r\n component: this,\r\n item: slot.date,\r\n isUserInteraction: true,\r\n nativeEvent: e,\r\n });\r\n }\r\n\r\n protected _handleNavClick(e: AXClickEvent | any) {\r\n this._isUserInteraction = true;\r\n if (this.activeView == 'days') this.activeView = 'months';\r\n else if (this.activeView == 'months') this.activeView = 'years';\r\n this._isUserInteraction = false;\r\n }\r\n\r\n protected _onOptionChanged(option: AXComponentOptionChanged) {\r\n if (\r\n option.name == 'depth' ||\r\n option.name == 'activeView' ||\r\n option.name == 'disabledDates' ||\r\n option.name == 'holidayDates'\r\n ) {\r\n this._genearteSlots();\r\n }\r\n if (option.name == 'type') {\r\n this._refresh();\r\n }\r\n }\r\n\r\n protected _onValueChanged(oldValue, newValue) {\r\n this._viewStartDate = new AXDateTime(newValue, this.type);\r\n this._genearteSlots();\r\n }\r\n\r\n protected _handleGoToday() {\r\n this._isUserInteraction = true;\r\n this._setDate(this._today.date);\r\n this.goToday();\r\n this._isUserInteraction = false;\r\n }\r\n\r\n next() {\r\n this._navNextPrev(false);\r\n }\r\n\r\n prev() {\r\n this._navNextPrev(true);\r\n }\r\n\r\n focus() {\r\n const func = (s: string) =>\r\n (this._getHostElement() as HTMLDivElement).querySelector<HTMLDivElement>(\r\n s\r\n );\r\n const div =\r\n func('.ax-calendar-slots>div.ax-state-selected') ||\r\n func('.ax-calendar-slots>div');\r\n div?.focus();\r\n }\r\n\r\n private _navNextPrev(prev: boolean) {\r\n const sign = prev ? -1 : 1;\r\n if (this.activeView == 'days')\r\n this.navTo(this._viewStartDate.add('month', sign * 1));\r\n else if (this.activeView == 'months')\r\n this.navTo(this._viewStartDate.add('year', sign * 1));\r\n else this.navTo(this._viewStartDate.add('year', sign * 10));\r\n }\r\n\r\n goToday() {\r\n this.navTo(this._today);\r\n }\r\n\r\n navTo(date: Date | AXDateTime) {\r\n this._viewStartDate = AXDateTime.convert(\r\n date,\r\n this._today.calendar.name()\r\n ).startOf();\r\n const vr = this._viewRange;\r\n this.onNavigate.emit({\r\n component: this,\r\n isUserInteraction: this._isUserInteraction,\r\n start: vr.startTime?.date,\r\n end: vr.endTime?.date,\r\n htmlElement: this._getHostElement(),\r\n });\r\n if (this.interface == 'calendar') this._genearteSlots();\r\n else {\r\n this._generatePickerItems('year');\r\n this._generatePickerItems('month');\r\n }\r\n setTimeout(() => {\r\n this.focus();\r\n }, 50);\r\n }\r\n\r\n @HostBinding('class')\r\n private get __hostClass(): string {\r\n const _classes = {\r\n 'ax-state-disabled': this.disabled,\r\n };\r\n return Object.entries(_classes)\r\n .filter((c) => c[1])\r\n .map((c) => c[0])\r\n .join(' ');\r\n }\r\n\r\n private _setDate(value: Date) {\r\n this.value = AXDateTime.convert(\r\n value,\r\n this._today.calendar.name()\r\n ).startOf().date;\r\n }\r\n\r\n protected isDisabled(date: AXDateTime): boolean {\r\n if (Array.isArray(this.disabledDates) && this.disabledDates.length != 0) {\r\n return this.disabledDates.some((d) => date.equal(d, 'day'));\r\n } else if (typeof this.disabledDates == 'function') {\r\n return this.disabledDates(date.date);\r\n }\r\n return false;\r\n }\r\n\r\n protected isHoliday(date: AXDateTime): boolean {\r\n if (Array.isArray(this.holidayDates) && this.holidayDates.length != 0) {\r\n return this.holidayDates.some((d) => date.equal(d, 'day'));\r\n } else if (typeof this.holidayDates == 'function') {\r\n return this.holidayDates(date.date);\r\n }\r\n return false;\r\n }\r\n\r\n protected isWeekend(date: AXDateTime): boolean {\r\n //return date.dayOfWeek == 7 || date.dayOfWeek == 1;\r\n const weekend = AXConfig.get(\r\n `dateTime.calendars.${this.type}.weekend`\r\n ) as number[];\r\n return weekend.includes(date.dayOfWeek);\r\n }\r\n\r\n protected _pickerDays: number[] = [];\r\n protected _pickerMonths: { text: string; value: number }[] = [];\r\n protected _pickerYears: number[] = [];\r\n\r\n private _generatePickerItems(view) {\r\n switch (view) {\r\n case 'year':\r\n this._pickerYears = range(2000, 2050, 1);\r\n break;\r\n case 'month':\r\n this._pickerMonths = new AXDateTimeRange(\r\n this._viewRange.startTime.startOf('year'),\r\n this._viewRange.startTime.endOf('year')\r\n )\r\n .enumurate('month')\r\n .map((c) => ({\r\n text: c.format('MMM'),\r\n value: c.monthOfYear,\r\n }));\r\n break;\r\n default:\r\n this._pickerDays = new AXDateTimeRange(\r\n this._viewRange.startTime.startOf('month'),\r\n this._viewRange.startTime.endOf('month')\r\n )\r\n .enumurate('day')\r\n .map((c) => c.dayOfMonth);\r\n this.cdr.detectChanges();\r\n break;\r\n }\r\n }\r\n\r\n protected _handlePickerChange(item: any, view) {\r\n if (!item) return;\r\n const date = this._viewRange.startTime;\r\n switch (view) {\r\n case 'year':\r\n this._setDate(date.set('year', item.value).date);\r\n break;\r\n case 'month':\r\n this._setDate(date.set('month', item.value.value).date);\r\n this._generatePickerItems('day');\r\n break;\r\n default:\r\n this._setDate(date.set('day', item.value).date);\r\n break;\r\n }\r\n }\r\n}\r\n","<ng-container *ngIf=\"interface === 'calendar'; else pickerTemplate\">\r\n <div class=\"ax-calendar-header\">\r\n <div class=\"ax-calendar-header-info\">\r\n <ng-container *ngIf=\"activeView == 'days'; else elseTemplate\">\r\n <button [attr.disabled]=\"disabled ?'': null\" class=\"ax-general-button\"\r\n (click)=\"_handleNavClick($event)\">{{_navText.split(' ')[1]}}</button>\r\n <button [attr.disabled]=\"disabled ?'': null\" class=\"ax-general-button\"\r\n (click)=\"_handleNavClick($event)\">{{_navText.split(' ')[0]}}</button>\r\n </ng-container>\r\n <ng-template #elseTemplate>\r\n <button [attr.disabled]=\"disabled ?'': null\" class=\"ax-general-button\"\r\n (click)=\"_handleNavClick($event)\">{{_navText}}</button>\r\n </ng-template>\r\n </div>\r\n <div class=\"ax-calendar-header-buttons\">\r\n <button [attr.disabled]=\"disabled ?'': null\" class=\"ax-general-button ax-button-icon\"\r\n (click)=\"_handlePrevClick()\">\r\n <i class=\"ax-icon\" [ngClass]=\"{'ax-icon-chevron-left': !rtl,'ax-icon-chevron-right': rtl}\"></i>\r\n </button>\r\n\r\n <button [attr.disabled]=\"disabled ?'': null\" class=\"ax-general-button ax-button-icon\"\r\n (click)=\"_handleNextClick()\">\r\n <i class=\"ax-icon\" [ngClass]=\"{'ax-icon-chevron-left': rtl,'ax-icon-chevron-right': !rtl}\"></i>\r\n </button>\r\n </div>\r\n </div>\r\n <div class=\"ax-calendar-body\">\r\n <div [ngSwitch]=\"activeView\">\r\n <ng-container *ngSwitchCase=\"'years'\">\r\n <div class=\"ax-calendar-slots ax-calendar-slots-year\">\r\n <div tabindex=\"0\" *ngFor=\"let slot of _slots\" [ngClass]=\"slot.cssClass\"\r\n (click)=\"_handleSlotClick($event,slot)\">{{slot.text}}</div>\r\n </div>\r\n </ng-container>\r\n <ng-container *ngSwitchCase=\"'months'\">\r\n <div class=\"ax-calendar-slots ax-calendar-slots-month\">\r\n <div tabindex=\"0\" *ngFor=\"let slot of _slots\" [title]=\"slot.tooltip\" [ngClass]=\"slot.cssClass\"\r\n (click)=\"_handleSlotClick($event,slot)\">{{slot.text}}</div>\r\n </div>\r\n </ng-container>\r\n <ng-container *ngSwitchDefault>\r\n <div class=\"ax-calendar-week\">\r\n <div *ngFor=\"let d of _dayNames\">{{d}}</div>\r\n </div>\r\n <div class=\"ax-calendar-slots ax-calendar-slots-day\">\r\n <div tabindex=\"0\" *ngFor=\"let slot of _slots\" [title]=\"slot.tooltip\" [ngClass]=\"slot.cssClass\"\r\n (click)=\"_handleSlotClick($event,slot)\">{{slot.text}}</div>\r\n </div>\r\n </ng-container>\r\n </div>\r\n\r\n </div>\r\n\r\n <div class=\"ax-calendar-footer\">\r\n <button class=\"ax-today-button\" [class.ax-state-disabled]=\"disabled\" [attr.disabled]=\"disabled || isDisabled(_today)\" (click)=\"_handleGoToday()\"\r\n *ngIf=\"activeView=='days'\">\r\n {{ _todayText }}\r\n </button>\r\n </div>\r\n</ng-container>\r\n<ng-template #pickerTemplate>\r\n <div class=\"ax-calendar-picker\">\r\n //TODO: picker\r\n </div>\r\n</ng-template>","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\nimport { AXDateTimeModule } from '@acorex/core/dateTime';\r\nimport { AXCalendarComponent } from './calendar.component';\r\n\r\nconst COMPONENT = [AXCalendarComponent];\r\nconst MODULES = [CommonModule, AXDateTimeModule];\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 AXCalendarModule { }\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;;;;;AAWA;;;AAGE;AACI,MAAO,uBAAwB,SAAQ,mBAAyB,CAAA;AAErE,CAAA;AAGK,MAAO,uBAAwB,SAAQ,eAAe,CAAA;IAGxD,WAAY,CAAA,UAAsB,EAAE,GAAsB,EAAA;AACtD,QAAA,KAAK,CAAC,UAAU,EAAE,GAAG,CAAC,CAAC;AAI3B,QAAA,IAAA,CAAA,WAAW,GAAyC,IAAI,YAAY,EAA0B,CAAC;AAG/F,QAAA,IAAA,CAAA,UAAU,GAA0C,IAAI,YAAY,EAA2B,CAAC;AAGhG,QAAA,IAAA,CAAA,gBAAgB,GAAqC,IAAI,YAAY,EAAsB,CAAC;AAEpF,QAAA,IAAW,CAAA,WAAA,GAAuB,MAAM,CAAC;AAW1C,QAAA,IAAA,CAAA,UAAU,GAAyB,IAAI,YAAY,EAAU,CAAC;QAE7D,IAAA,CAAA,KAAK,GAAW,QAAQ,CAAC,GAAG,CAAC,CAAmB,iBAAA,CAAA,CAAC,CAAC;AAe1D,QAAA,IAAA,CAAA,WAAW,GAAsC,IAAI,YAAY,EAAuB,CAAC;AAEjF,QAAA,IAAM,CAAA,MAAA,GAAwB,MAAM,CAAC;AAgB7C,QAAA,IAAA,CAAA,SAAS,GAAuB,IAAI,YAAY,EAAQ,CAAC;AAazD,QAAA,IAAA,CAAA,SAAS,GAAuB,IAAI,YAAY,EAAQ,CAAC;AAYzD,QAAA,IAAA,CAAA,mBAAmB,GAA0C,IAAI,YAAY,EAA2B,CAAC;AAYzG,QAAA,IAAA,CAAA,kBAAkB,GAAyC,IAAI,YAAY,EAA0B,CAAC;KA9FrG;AAYD,IAAA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OAAO,EAAE,CAAC,GAAG,OAAO,CAAC;AACrB,oBAAA,OAAO,EAAE,CAAC,GAAG,SAAS,CAAC;AACvB,oBAAA,SAAS,EAAE,EAAE;iBAChB,CAAA;;;ACbD;;AAEG;;;;"}
1
+ {"version":3,"file":"acorex-components-calendar.mjs","sources":["../../../../projects/acorex/components/calendar/src/calendar.class.ts","../../../../projects/acorex/components/calendar/src/calendar.component.ts","../../../../projects/acorex/components/calendar/src/calendar.component.html","../../../../projects/acorex/components/calendar/src/calendar.module.ts","../../../../projects/acorex/components/calendar/acorex-components-calendar.ts"],"sourcesContent":["import { AXConfig } from \"@acorex/core/config\";\r\nimport { ChangeDetectorRef, ElementRef, EventEmitter, Injectable, Input, Output } from \"@angular/core\";\r\nimport { AXItemClickEvent, AXRangeChangedEvent } from \"@acorex/components/common\";\r\nimport { AXBaseComponent } from \"@acorex/components/mixin\";\r\n\r\nexport type AXCalendarViewType = 'years' | 'months' | 'days';\r\nexport type AXCalendarViewDepth = AXCalendarViewType;\r\nexport type AXCalendarDisabledDates = Date[] | ((date: Date) => boolean);\r\nexport type AXCalendarHolidayDates = Date[] | ((date: Date) => boolean);\r\n\r\n\r\n/**\r\n* Contains native event\r\n* @category Events\r\n*/\r\nexport class AXCalendarNavigateEvent extends AXRangeChangedEvent<Date> {\r\n\r\n}\r\n\r\n@Injectable()\r\nexport class AXCalendarBaseComponent extends AXBaseComponent {\r\n\r\n\r\n constructor(elementRef: ElementRef, cdr: ChangeDetectorRef) {\r\n super(elementRef, cdr);\r\n }\r\n\r\n @Output()\r\n onSlotClick: EventEmitter<AXItemClickEvent<Date>> = new EventEmitter<AXItemClickEvent<Date>>();\r\n \r\n @Output()\r\n onNavigate: EventEmitter<AXCalendarNavigateEvent> = new EventEmitter<AXCalendarNavigateEvent>();\r\n\r\n @Output()\r\n activeViewChange: EventEmitter<AXCalendarViewType> = new EventEmitter<AXCalendarViewType>();\r\n\r\n private _activeView: AXCalendarViewType = 'days';\r\n @Input()\r\n public get activeView(): AXCalendarViewType {\r\n return this._activeView;\r\n }\r\n public set activeView(v: AXCalendarViewType) {\r\n this._setOption({ name: 'activeView', value: v });\r\n }\r\n\r\n\r\n @Output()\r\n public typeChange: EventEmitter<string> = new EventEmitter<string>();\r\n \r\n private _type: string = AXConfig.get(`dateTime.calendar`);\r\n \r\n @Input()\r\n public get type(): string {\r\n return this._type || AXConfig.get(`dateTime.calendar`);\r\n }\r\n public set type(v: string) {\r\n this._setOption({\r\n name: 'type',\r\n value: v\r\n })\r\n }\r\n\r\n\r\n @Output()\r\n depthChange: EventEmitter<AXCalendarViewDepth> = new EventEmitter<AXCalendarViewDepth>();\r\n\r\n private _depth: AXCalendarViewDepth = 'days';\r\n @Input()\r\n public get depth(): AXCalendarViewDepth {\r\n return this._depth;\r\n }\r\n public set depth(v: AXCalendarViewDepth) {\r\n this._setOption({\r\n name: 'depth', \r\n value: v, \r\n beforeCallback: () => {\r\n this._activeView = v;\r\n }\r\n });\r\n }\r\n\r\n @Output()\r\n minChange: EventEmitter<Date> = new EventEmitter<Date>();\r\n\r\n private _min: Date;\r\n @Input()\r\n public get min(): Date {\r\n return this._min;\r\n }\r\n public set min(v: Date) {\r\n this._setOption({ name: 'min', value: v });\r\n }\r\n\r\n\r\n @Output()\r\n maxChange: EventEmitter<Date> = new EventEmitter<Date>();\r\n\r\n private _max: Date;\r\n @Input()\r\n public get max(): Date {\r\n return this._max;\r\n }\r\n public set max(v: Date) {\r\n this._setOption({ name: 'max', value: v });\r\n }\r\n\r\n @Output()\r\n disabledDatesChange: EventEmitter<AXCalendarDisabledDates> = new EventEmitter<AXCalendarDisabledDates>();\r\n\r\n private _disabledDates: AXCalendarDisabledDates;\r\n @Input()\r\n public get disabledDates(): AXCalendarDisabledDates {\r\n return this._disabledDates;\r\n }\r\n public set disabledDates(v: AXCalendarDisabledDates) {\r\n this._setOption({ name: 'disabledDates', value: v });\r\n }\r\n\r\n @Output()\r\n holidayDatesChange: EventEmitter<AXCalendarHolidayDates> = new EventEmitter<AXCalendarHolidayDates>();\r\n\r\n private _holidayDates: AXCalendarHolidayDates;\r\n @Input()\r\n public get holidayDates(): AXCalendarHolidayDates {\r\n return this._holidayDates;\r\n }\r\n public set holidayDates(v: AXCalendarHolidayDates) {\r\n this._setOption({ name: 'holidayDates', value: v });\r\n }\r\n}\r\n\r\n\r\n\r\nexport const CALENDAR_INPUTS = [\r\n 'depth',\r\n 'activeView',\r\n 'min',\r\n 'max',\r\n 'disabledDates',\r\n 'type',\r\n 'holidayDates',\r\n];\r\nexport const CALENDAR_OUTPUTS = ['depthChange','typeChange','disabledDatesChange','holidayDatesChange','onNavigate'];\r\n","import { range } from 'lodash-es';\r\nimport {\r\n Component,\r\n ViewEncapsulation,\r\n ChangeDetectionStrategy,\r\n ElementRef,\r\n ChangeDetectorRef,\r\n HostBinding,\r\n Input,\r\n} from '@angular/core';\r\nimport { AXDateTime, AXDateTimeRange } from '@acorex/core/dateTime';\r\nimport { AXClickEvent } from '@acorex/components/common';\r\n\r\nimport { AXCalendarBaseComponent } from './calendar.class';\r\nimport {\r\n AXComponentOptionChanged,\r\n _ClickableComponenetMixin,\r\n _InteractiveComponenetMixin,\r\n _ValueComponenetMixin,\r\n} from '@acorex/components/mixin';\r\nimport { AXConfig } from '@acorex/core/config';\r\nimport { AXTranslator } from '@acorex/core/translation';\r\n\r\nexport const AXCalendarComponentMixin = _ClickableComponenetMixin(\r\n _InteractiveComponenetMixin(\r\n _ValueComponenetMixin<any>(AXCalendarBaseComponent)\r\n )\r\n);\r\n\r\n@Component({\r\n selector: 'ax-calendar',\r\n templateUrl: './calendar.component.html',\r\n styleUrls: ['./calendar.component.scss'],\r\n inputs: [\r\n 'rtl',\r\n 'readonly',\r\n 'allowNull',\r\n 'value',\r\n 'name',\r\n 'checked',\r\n 'disabled',\r\n 'tabIndex',\r\n 'depth',\r\n 'activeView',\r\n 'min',\r\n 'max',\r\n 'disabledDates',\r\n 'type',\r\n 'holidayDates',\r\n ],\r\n outputs: [\r\n 'valueChange',\r\n 'onValueChanged',\r\n 'onBlur',\r\n 'onFocus',\r\n 'depthChange',\r\n 'typeChange',\r\n 'disabledDatesChange',\r\n 'holidayDatesChange',\r\n 'onNavigate',\r\n ],\r\n encapsulation: ViewEncapsulation.None,\r\n changeDetection: ChangeDetectionStrategy.OnPush,\r\n})\r\nexport class AXCalendarComponent extends AXCalendarComponentMixin {\r\n @Input()\r\n interface: 'calendar' | 'picker' = 'calendar';\r\n\r\n\r\n private get _viewRange(): AXDateTimeRange {\r\n const current = this._viewStartDate || this._today;\r\n switch (this.activeView) {\r\n case 'years':\r\n let y = current.startOf('year').year;\r\n let min = y - (y % 10) - 1;\r\n let max = min + 11;\r\n return new AXDateTimeRange(\r\n AXDateTime.from({\r\n year: min,\r\n month: 1,\r\n date: 1,\r\n calendar: this._viewStartDate.calendar.name(),\r\n }),\r\n AXDateTime.from({\r\n year: max,\r\n month: 12,\r\n date: 28,\r\n calendar: this._viewStartDate.calendar.name(),\r\n })\r\n );\r\n case 'months':\r\n return new AXDateTimeRange(\r\n current.startOf('year'),\r\n current.endOf('year').add('day', -1)\r\n );\r\n default:\r\n return new AXDateTimeRange(\r\n current.startOf('month'),\r\n current.endOf('month')\r\n );\r\n }\r\n }\r\n\r\n protected _today = new AXDateTime(new Date(), this.type);\r\n private _viewStartDate!: AXDateTime;\r\n\r\n protected _navText: string = '';\r\n protected _todayText: string = '';\r\n\r\n protected _slots: any[] = [];\r\n protected _dayNames: string[] = [];\r\n\r\n private _isUserInteraction: boolean = false;\r\n\r\n constructor(elementRef: ElementRef, private cdr: ChangeDetectorRef) {\r\n super(elementRef, cdr);\r\n }\r\n\r\n private _initValues() {\r\n this._today = new AXDateTime(new Date(), this.type);\r\n this._dayNames = this._today.calendar.dayShortNames;\r\n }\r\n\r\n private _refresh() {\r\n this._initValues();\r\n this.navTo(this.value || this._today);\r\n }\r\n\r\n protected onInit() {\r\n this._initValues();\r\n if (!this.value) this.goToday();\r\n }\r\n\r\n private _genearteSlots() {\r\n if (!this._viewStartDate) return;\r\n const vr = this._viewRange;\r\n // just for tailwind\r\n //'ax-col-start-1','ax-col-start-2','ax-col-start-3','ax-col-start-4','ax-col-start-5','ax-col-start-6','ax-col-start-7'\r\n // year view\r\n if (this.activeView == 'years') {\r\n const a = vr.enumurate('year');\r\n this._slots = a.map((d, i) => {\r\n const r: any = {};\r\n r.date = d.date;\r\n r.text = d.format('YYYY');\r\n r.disabled =\r\n (this.min && d.compare(this.min, 'year') == -1) ||\r\n (this.max && d.compare(this.max, 'year') == 1);\r\n if (r.disabled) {\r\n r.cssClass = {\r\n 'ax-state-disabled': r.disabled,\r\n };\r\n } else {\r\n r.cssClass = {\r\n 'ax-state-today': d.equal(this._today, 'year'),\r\n 'ax-state-selected':\r\n this.value &&\r\n this.depth == 'years' &&\r\n d.equal(this.value, 'year'),\r\n };\r\n }\r\n // r.cssClass[`ax-col-start-2`] = i == 0;\r\n return r;\r\n });\r\n\r\n this._navText = `${vr.startTime.year} - ${vr.endTime.year}`;\r\n this._todayText = this._today.format('YYYY');\r\n }\r\n // month view\r\n else if (this.activeView == 'months') {\r\n const a = vr.enumurate('month');\r\n this._slots = a.map((d, i) => {\r\n const r: any = {};\r\n r.date = d.date;\r\n r.text = d.format('MMM');\r\n r.tooltip = d.format('MMMM YYYY');\r\n r.disabled =\r\n (this.min && d.compare(this.min, 'month') == -1) ||\r\n (this.max && d.compare(this.max, 'month') == 1);\r\n if (r.disabled) {\r\n r.cssClass = {\r\n 'ax-state-disabled': r.disabled,\r\n };\r\n } else {\r\n r.cssClass = {\r\n 'ax-state-today': d.equal(this._today, 'month'),\r\n 'ax-state-selected':\r\n this.value &&\r\n this.depth == 'months' &&\r\n d.equal(this.value, 'month'),\r\n 'ax-state-other': d.year != this._viewStartDate.year,\r\n };\r\n }\r\n return r;\r\n });\r\n this._navText = this._viewStartDate.format('YYYY');\r\n this._todayText = this._today.format('MMMM YYYY');\r\n }\r\n // day view\r\n else {\r\n const a = vr.enumurate('day');\r\n this._slots = a.map((d, i) => {\r\n const r: any = {};\r\n r.date = d.date;\r\n r.text = d.dayOfMonth;\r\n r.tooltip = d.format();\r\n r.disabled =\r\n (this.min && d.compare(this.min, 'day') == -1) ||\r\n (this.max && d.compare(this.max, 'day') == 1) ||\r\n this.isDisabled(d);\r\n if (r.disabled) {\r\n r.cssClass = {\r\n 'ax-state-disabled': true,\r\n };\r\n } else {\r\n r.cssClass = {\r\n 'ax-state-today': d.equal(this._today, 'day'),\r\n 'ax-state-selected': this.value && d.equal(this.value, 'day'),\r\n 'ax-state-holiday': this.isHoliday(d) || this.isWeekend(d),\r\n // 'ax-state-event-danger': d.dayOfMonth == 12,\r\n // 'ax-state-event': d.dayOfMonth == 12,\r\n };\r\n }\r\n\r\n r.cssClass[`ax-col-start-${vr.startTime.dayOfWeek}`] = i == 0;\r\n return r;\r\n });\r\n this._navText = this._viewStartDate.format('MMMM YYYY');\r\n this._todayText = this._today.format();\r\n }\r\n }\r\n\r\n protected _handlePrevClick() {\r\n this._isUserInteraction = true;\r\n this.prev();\r\n this._isUserInteraction = false;\r\n }\r\n\r\n protected _handleNextClick() {\r\n this._isUserInteraction = true;\r\n this.next();\r\n this._isUserInteraction = false;\r\n }\r\n\r\n protected _handleSlotClick(e: MouseEvent, slot) {\r\n if (slot.disabled || this.disabled) return;\r\n if (this.activeView == 'days') {\r\n this._setDate(slot.date);\r\n } else if (this.activeView == 'months' && this.depth == 'days') {\r\n this.activeView = 'days';\r\n this.navTo(slot.date);\r\n } else if (this.activeView == 'months' && this.depth == 'months') {\r\n this._setDate(slot.date);\r\n } else if (\r\n this.activeView == 'years' &&\r\n (this.depth == 'days' || this.depth == 'months')\r\n ) {\r\n this.activeView = 'months';\r\n this.navTo(slot.date);\r\n } else if (this.activeView == 'years' && this.depth == 'years') {\r\n this._setDate(slot.date);\r\n }\r\n this.onSlotClick.emit({\r\n component: this,\r\n item: slot.date,\r\n isUserInteraction: true,\r\n nativeEvent: e,\r\n });\r\n }\r\n\r\n protected _handleNavClick(e: AXClickEvent | any) {\r\n this._isUserInteraction = true;\r\n if (this.activeView == 'days') this.activeView = 'months';\r\n else if (this.activeView == 'months') this.activeView = 'years';\r\n this._isUserInteraction = false;\r\n }\r\n\r\n protected _onOptionChanged(option: AXComponentOptionChanged) {\r\n if (\r\n option.name == 'depth' ||\r\n option.name == 'activeView' ||\r\n option.name == 'disabledDates' ||\r\n option.name == 'holidayDates'\r\n ) {\r\n this._genearteSlots();\r\n }\r\n if (option.name == 'type') {\r\n this._refresh();\r\n }\r\n }\r\n\r\n protected _onValueChanged(oldValue, newValue) {\r\n this._viewStartDate = new AXDateTime(newValue, this.type);\r\n this._genearteSlots();\r\n }\r\n\r\n protected _handleGoToday() {\r\n this._isUserInteraction = true;\r\n this._setDate(this._today.date);\r\n this.goToday();\r\n this._isUserInteraction = false;\r\n }\r\n\r\n next() {\r\n this._navNextPrev(false);\r\n }\r\n\r\n prev() {\r\n this._navNextPrev(true);\r\n }\r\n\r\n focus() {\r\n const func = (s: string) =>\r\n (this._getHostElement() as HTMLDivElement).querySelector<HTMLDivElement>(\r\n s\r\n );\r\n const div =\r\n func('.ax-calendar-slots>div.ax-state-selected') ||\r\n func('.ax-calendar-slots>div');\r\n div?.focus();\r\n }\r\n\r\n private _navNextPrev(prev: boolean) {\r\n const sign = prev ? -1 : 1;\r\n if (this.activeView == 'days')\r\n this.navTo(this._viewStartDate.add('month', sign * 1));\r\n else if (this.activeView == 'months')\r\n this.navTo(this._viewStartDate.add('year', sign * 1));\r\n else this.navTo(this._viewStartDate.add('year', sign * 10));\r\n }\r\n\r\n goToday() {\r\n this.navTo(this._today);\r\n }\r\n\r\n navTo(date: Date | AXDateTime) {\r\n this._viewStartDate = AXDateTime.convert(\r\n date,\r\n this._today.calendar.name()\r\n ).startOf();\r\n const vr = this._viewRange;\r\n this.onNavigate.emit({\r\n component: this,\r\n isUserInteraction: this._isUserInteraction,\r\n start: vr.startTime?.date,\r\n end: vr.endTime?.date,\r\n htmlElement: this._getHostElement(),\r\n });\r\n if (this.interface == 'calendar') this._genearteSlots();\r\n else {\r\n this._generatePickerItems('year');\r\n this._generatePickerItems('month');\r\n }\r\n setTimeout(() => {\r\n this.focus();\r\n }, 50);\r\n }\r\n\r\n @HostBinding('class')\r\n private get __hostClass(): string {\r\n const _classes = {\r\n 'ax-state-disabled': this.disabled,\r\n };\r\n return Object.entries(_classes)\r\n .filter((c) => c[1])\r\n .map((c) => c[0])\r\n .join(' ');\r\n }\r\n\r\n private _setDate(value: Date) {\r\n this.value = AXDateTime.convert(\r\n value,\r\n this._today.calendar.name()\r\n ).startOf().date;\r\n }\r\n\r\n protected isDisabled(date: AXDateTime): boolean {\r\n if (Array.isArray(this.disabledDates) && this.disabledDates.length != 0) {\r\n return this.disabledDates.some((d) => date.equal(d, 'day'));\r\n } else if (typeof this.disabledDates == 'function') {\r\n return this.disabledDates(date.date);\r\n }\r\n return false;\r\n }\r\n\r\n protected isHoliday(date: AXDateTime): boolean {\r\n if (Array.isArray(this.holidayDates) && this.holidayDates.length != 0) {\r\n return this.holidayDates.some((d) => date.equal(d, 'day'));\r\n } else if (typeof this.holidayDates == 'function') {\r\n return this.holidayDates(date.date);\r\n }\r\n return false;\r\n }\r\n\r\n protected isWeekend(date: AXDateTime): boolean {\r\n //return date.dayOfWeek == 7 || date.dayOfWeek == 1;\r\n const weekend = AXConfig.get(\r\n `dateTime.calendars.${this.type}.weekend`\r\n ) as number[];\r\n return weekend.includes(date.dayOfWeek);\r\n }\r\n\r\n protected _pickerDays: number[] = [];\r\n protected _pickerMonths: { text: string; value: number }[] = [];\r\n protected _pickerYears: number[] = [];\r\n\r\n private _generatePickerItems(view) {\r\n switch (view) {\r\n case 'year':\r\n this._pickerYears = range(2000, 2050, 1);\r\n break;\r\n case 'month':\r\n this._pickerMonths = new AXDateTimeRange(\r\n this._viewRange.startTime.startOf('year'),\r\n this._viewRange.startTime.endOf('year')\r\n )\r\n .enumurate('month')\r\n .map((c) => ({\r\n text: c.format('MMM'),\r\n value: c.monthOfYear,\r\n }));\r\n break;\r\n default:\r\n this._pickerDays = new AXDateTimeRange(\r\n this._viewRange.startTime.startOf('month'),\r\n this._viewRange.startTime.endOf('month')\r\n )\r\n .enumurate('day')\r\n .map((c) => c.dayOfMonth);\r\n this.cdr.detectChanges();\r\n break;\r\n }\r\n }\r\n\r\n protected _handlePickerChange(item: any, view) {\r\n if (!item) return;\r\n const date = this._viewRange.startTime;\r\n switch (view) {\r\n case 'year':\r\n this._setDate(date.set('year', item.value).date);\r\n break;\r\n case 'month':\r\n this._setDate(date.set('month', item.value.value).date);\r\n this._generatePickerItems('day');\r\n break;\r\n default:\r\n this._setDate(date.set('day', item.value).date);\r\n break;\r\n }\r\n }\r\n}\r\n","<ng-container *ngIf=\"interface === 'calendar'; else pickerTemplate\">\r\n <div class=\"ax-calendar-header\">\r\n <div class=\"ax-calendar-header-info\">\r\n <ng-container *ngIf=\"activeView == 'days'; else elseTemplate\">\r\n <button\r\n [attr.disabled]=\"disabled ? '' : null\"\r\n class=\"ax-general-button\"\r\n (click)=\"_handleNavClick($event)\">\r\n {{ _navText.split(' ')[1] }}\r\n </button>\r\n <button\r\n [attr.disabled]=\"disabled ? '' : null\"\r\n class=\"ax-general-button\"\r\n (click)=\"_handleNavClick($event)\">\r\n {{ _navText.split(' ')[0] }}\r\n </button>\r\n </ng-container>\r\n <ng-template #elseTemplate>\r\n <button\r\n [attr.disabled]=\"disabled ? '' : null\"\r\n class=\"ax-general-button\"\r\n (click)=\"_handleNavClick($event)\">\r\n {{ _navText }}\r\n </button>\r\n </ng-template>\r\n </div>\r\n <div class=\"ax-calendar-header-buttons\">\r\n <button\r\n [attr.disabled]=\"disabled ? '' : null\"\r\n class=\"ax-general-button ax-button-icon\"\r\n (click)=\"_handlePrevClick()\">\r\n <i\r\n class=\"ax-icon\"\r\n [ngClass]=\"{\r\n 'ax-icon-chevron-left': !rtl,\r\n 'ax-icon-chevron-right': rtl\r\n }\"></i>\r\n </button>\r\n\r\n <button\r\n [attr.disabled]=\"disabled ? '' : null\"\r\n class=\"ax-general-button ax-button-icon\"\r\n (click)=\"_handleNextClick()\">\r\n <i\r\n class=\"ax-icon\"\r\n [ngClass]=\"{\r\n 'ax-icon-chevron-left': rtl,\r\n 'ax-icon-chevron-right': !rtl\r\n }\"></i>\r\n </button>\r\n </div>\r\n </div>\r\n <div class=\"ax-calendar-body\">\r\n <div [ngSwitch]=\"activeView\">\r\n <ng-container *ngSwitchCase=\"'years'\">\r\n <div class=\"ax-calendar-slots ax-calendar-slots-year\">\r\n <div\r\n tabindex=\"0\"\r\n *ngFor=\"let slot of _slots\"\r\n [ngClass]=\"slot.cssClass\"\r\n (click)=\"_handleSlotClick($event, slot)\">\r\n {{ slot.text }}\r\n </div>\r\n </div>\r\n </ng-container>\r\n <ng-container *ngSwitchCase=\"'months'\">\r\n <div class=\"ax-calendar-slots ax-calendar-slots-month\">\r\n <div\r\n tabindex=\"0\"\r\n *ngFor=\"let slot of _slots\"\r\n [title]=\"slot.tooltip\"\r\n [ngClass]=\"slot.cssClass\"\r\n (click)=\"_handleSlotClick($event, slot)\">\r\n {{ slot.text }}\r\n </div>\r\n </div>\r\n </ng-container>\r\n <ng-container *ngSwitchDefault>\r\n <div class=\"ax-calendar-week\">\r\n <div *ngFor=\"let d of _dayNames\">{{ d }}</div>\r\n </div>\r\n <div class=\"ax-calendar-slots ax-calendar-slots-day\">\r\n <div\r\n tabindex=\"0\"\r\n *ngFor=\"let slot of _slots\"\r\n [title]=\"slot.tooltip\"\r\n [ngClass]=\"slot.cssClass\"\r\n (click)=\"_handleSlotClick($event, slot)\">\r\n {{ slot.text }}\r\n </div>\r\n </div>\r\n </ng-container>\r\n </div>\r\n </div>\r\n\r\n <div class=\"ax-calendar-footer\">\r\n <button\r\n class=\"ax-today-button\"\r\n tabindex=\"-1\"\r\n [class.ax-state-disabled]=\"disabled\"\r\n [attr.disabled]=\"disabled || isDisabled(_today)\"\r\n (click)=\"_handleGoToday()\"\r\n *ngIf=\"activeView == 'days'\">\r\n {{ _todayText }}\r\n </button>\r\n </div>\r\n</ng-container>\r\n<ng-template #pickerTemplate>\r\n <div class=\"ax-calendar-picker\">//TODO: picker</div>\r\n</ng-template>\r\n","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\nimport { AXDateTimeModule } from '@acorex/core/dateTime';\r\nimport { AXCalendarComponent } from './calendar.component';\r\n\r\nconst COMPONENT = [AXCalendarComponent];\r\nconst MODULES = [CommonModule, AXDateTimeModule];\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 AXCalendarModule { }\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;;;;;AAWA;;;AAGE;AACI,MAAO,uBAAwB,SAAQ,mBAAyB,CAAA;AAErE,CAAA;AAGK,MAAO,uBAAwB,SAAQ,eAAe,CAAA;IAGxD,WAAY,CAAA,UAAsB,EAAE,GAAsB,EAAA;AACtD,QAAA,KAAK,CAAC,UAAU,EAAE,GAAG,CAAC,CAAC;AAI3B,QAAA,IAAA,CAAA,WAAW,GAAyC,IAAI,YAAY,EAA0B,CAAC;AAG/F,QAAA,IAAA,CAAA,UAAU,GAA0C,IAAI,YAAY,EAA2B,CAAC;AAGhG,QAAA,IAAA,CAAA,gBAAgB,GAAqC,IAAI,YAAY,EAAsB,CAAC;AAEpF,QAAA,IAAW,CAAA,WAAA,GAAuB,MAAM,CAAC;AAW1C,QAAA,IAAA,CAAA,UAAU,GAAyB,IAAI,YAAY,EAAU,CAAC;QAE7D,IAAA,CAAA,KAAK,GAAW,QAAQ,CAAC,GAAG,CAAC,CAAmB,iBAAA,CAAA,CAAC,CAAC;AAe1D,QAAA,IAAA,CAAA,WAAW,GAAsC,IAAI,YAAY,EAAuB,CAAC;AAEjF,QAAA,IAAM,CAAA,MAAA,GAAwB,MAAM,CAAC;AAg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A,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,gBAAgB,YAJZ,OAAO,CAAA,EAAA,CAAA,CAAA;2FAIX,gBAAgB,EAAA,UAAA,EAAA,CAAA;kBAN5B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACN,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;iBAChB,CAAA;;;ACbD;;AAEG;;;;"}
@@ -0,0 +1,41 @@
1
+ import { AXBaseComponent } from '@acorex/components/mixin';
2
+ import * as i0 from '@angular/core';
3
+ import { Component, ViewEncapsulation, NgModule } from '@angular/core';
4
+ import { CommonModule } from '@angular/common';
5
+
6
+ class AXCardComponent extends AXBaseComponent {
7
+ constructor(elementRef, cdr) {
8
+ super(elementRef, cdr);
9
+ this.cdr = cdr;
10
+ }
11
+ ngOnInit() { }
12
+ }
13
+ AXCardComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: AXCardComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
14
+ AXCardComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.4", type: AXCardComponent, selector: "ax-card", usesInheritance: true, ngImport: i0, template: "<ng-content select=\"ax-image,img\"></ng-content>\r\n<div class=\"ax-card-content\">\r\n <ng-content select=\"ax-title\"></ng-content>\r\n <ng-content select=\"ax-content\"></ng-content>\r\n</div>\r\n", styles: ["ax-card{width:100%;height:100%;display:block;background:rgb(var(--ax-color-surface));border:1px solid;border-color:rgb(var(--ax-color-border-default));box-shadow:0 1px 3px #0000001a,0 1px 2px #0000000f;border-radius:var(--ax-rounded-border-default);overflow:hidden}ax-card .ax-card-content{padding:1.5rem;display:flex;flex-direction:column;gap:.5rem}ax-card .ax-card-content .ax-title{font-size:1.375rem;font-weight:400}ax-card .ax-card-content .ax-content{font-size:1rem}\n"], encapsulation: i0.ViewEncapsulation.None });
15
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: AXCardComponent, decorators: [{
16
+ type: Component,
17
+ args: [{ selector: 'ax-card', encapsulation: ViewEncapsulation.None, template: "<ng-content select=\"ax-image,img\"></ng-content>\r\n<div class=\"ax-card-content\">\r\n <ng-content select=\"ax-title\"></ng-content>\r\n <ng-content select=\"ax-content\"></ng-content>\r\n</div>\r\n", styles: ["ax-card{width:100%;height:100%;display:block;background:rgb(var(--ax-color-surface));border:1px solid;border-color:rgb(var(--ax-color-border-default));box-shadow:0 1px 3px #0000001a,0 1px 2px #0000000f;border-radius:var(--ax-rounded-border-default);overflow:hidden}ax-card .ax-card-content{padding:1.5rem;display:flex;flex-direction:column;gap:.5rem}ax-card .ax-card-content .ax-title{font-size:1.375rem;font-weight:400}ax-card .ax-card-content .ax-content{font-size:1rem}\n"] }]
18
+ }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; } });
19
+
20
+ class AXCardModule {
21
+ }
22
+ AXCardModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: AXCardModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
23
+ AXCardModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.1.4", ngImport: i0, type: AXCardModule, declarations: [AXCardComponent], imports: [CommonModule], exports: [AXCardComponent] });
24
+ AXCardModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: AXCardModule, imports: [CommonModule] });
25
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: AXCardModule, decorators: [{
26
+ type: NgModule,
27
+ args: [{
28
+ declarations: [AXCardComponent],
29
+ imports: [CommonModule],
30
+ exports: [AXCardComponent],
31
+ providers: [],
32
+ }]
33
+ }] });
34
+
35
+ /**
36
+ * Generated bundle index. Do not edit.
37
+ */
38
+
39
+ export { AXCardComponent, AXCardModule };
40
+ //# sourceMappingURL=acorex-components-card.mjs.map
41
+ //# sourceMappingURL=acorex-components-card.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"acorex-components-card.mjs","sources":["../../../../projects/acorex/components/card/src/card.component.ts","../../../../projects/acorex/components/card/src/card.component.html","../../../../projects/acorex/components/card/src/card.module.ts","../../../../projects/acorex/components/card/acorex-components-card.ts"],"sourcesContent":["import { AXBaseComponent } from '@acorex/components/mixin';\r\nimport {\r\n ChangeDetectorRef,\r\n Component,\r\n ElementRef,\r\n Input,\r\n ViewEncapsulation,\r\n} from '@angular/core';\r\n\r\n@Component({\r\n selector: 'ax-card',\r\n templateUrl: './card.component.html',\r\n styleUrls: ['./card.component.scss'],\r\n encapsulation: ViewEncapsulation.None,\r\n})\r\nexport class AXCardComponent extends AXBaseComponent {\r\n constructor(elementRef: ElementRef, private cdr: ChangeDetectorRef) {\r\n super(elementRef, cdr);\r\n }\r\n\r\n ngOnInit(): void {}\r\n}\r\n","<ng-content select=\"ax-image,img\"></ng-content>\r\n<div class=\"ax-card-content\">\r\n <ng-content select=\"ax-title\"></ng-content>\r\n <ng-content select=\"ax-content\"></ng-content>\r\n</div>\r\n","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\nimport { AXCardComponent } from './card.component';\r\n\r\n@NgModule({\r\n declarations: [AXCardComponent],\r\n imports: [CommonModule],\r\n exports: [AXCardComponent],\r\n providers: [],\r\n})\r\nexport class AXCardModule {}\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;AAeM,MAAO,eAAgB,SAAQ,eA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CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,YAAY,YAJb,YAAY,CAAA,EAAA,CAAA,CAAA;2FAIX,YAAY,EAAA,UAAA,EAAA,CAAA;kBANxB,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACR,YAAY,EAAE,CAAC,eAAe,CAAC;oBAC/B,OAAO,EAAE,CAAC,YAAY,CAAC;oBACvB,OAAO,EAAE,CAAC,eAAe,CAAC;AAC1B,oBAAA,SAAS,EAAE,EAAE;iBACd,CAAA;;;ACTD;;AAEG;;;;"}
@@ -36,19 +36,19 @@ class AXCheckBoxComponent extends AXBaseValueComponentMixin {
36
36
  return true;
37
37
  }
38
38
  }
39
- AXCheckBoxComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: AXCheckBoxComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
40
- AXCheckBoxComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.4", type: AXCheckBoxComponent, selector: "ax-check-box", inputs: { disabled: "disabled", tabIndex: "tabIndex", readonly: "readonly", allowNull: "allowNull", value: "value", name: "name", checked: "checked" }, outputs: { onBlur: "onBlur", onFocus: "onFocus", valueChange: "valueChange", onValueChanged: "onValueChanged" }, usesInheritance: true, ngImport: i0, template: "<label class=\"ax-checkbox-label\" [class.ax-state-readonly]=\"readonly\" [class.ax-state-disabled]=\"disabled\">\r\n <div class=\"ax-checkbox-start-side\">\r\n <input [id]=\"id\" class=\"ax-checkbox\" type=\"checkbox\" \r\n [indeterminate]=\"_stateIndeterminate\" [(ngModel)]=\"value\"\r\n [checked]=\"value\" [disabled]=\"disabled\" [readonly]=\"readonly\" [tabindex]=\"tabIndex\"\r\n (click)=\"_handleOnClickEvent($event)\" (focus)=\"_emitOnFocusEvent($event)\" (blur)=\"_emitOnBlurEvent($event)\">\r\n </div>\r\n <div class=\"ax-checkbox-end-side\">\r\n <ng-content></ng-content>\r\n <ng-content select=\"ax-form-hint\"></ng-content>\r\n <span class=\"ax-error-container\"></span>\r\n </div>\r\n</label>\r\n<ng-content select=\"ax-validation-rule\"></ng-content>", styles: [".ax-checkbox-label{display:flex;align-items:flex-start;width:-moz-fit-content;width:fit-content;font-size:.875rem;line-height:1.25rem}.ax-checkbox-label .ax-checkbox-start-side{display:flex;align-items:center;height:1.25rem}.ax-checkbox-label .ax-checkbox-end-side{margin-inline-start:.75rem}\n"], dependencies: [{ kind: "directive", type: i1.CheckboxControlValueAccessor, selector: "input[type=checkbox][formControlName],input[type=checkbox][formControl],input[type=checkbox][ngModel]" }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
41
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: AXCheckBoxComponent, decorators: [{
39
+ AXCheckBoxComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: AXCheckBoxComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
40
+ AXCheckBoxComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.4", type: AXCheckBoxComponent, selector: "ax-check-box", inputs: { disabled: "disabled", tabIndex: "tabIndex", readonly: "readonly", allowNull: "allowNull", value: "value", name: "name", checked: "checked" }, outputs: { onBlur: "onBlur", onFocus: "onFocus", valueChange: "valueChange", onValueChanged: "onValueChanged" }, usesInheritance: true, ngImport: i0, template: "<label class=\"ax-checkbox-label\" [class.ax-state-readonly]=\"readonly\" [class.ax-state-disabled]=\"disabled\">\r\n <div class=\"ax-checkbox-start-side\">\r\n <input [id]=\"id\" class=\"ax-checkbox\" type=\"checkbox\" \r\n [indeterminate]=\"_stateIndeterminate\" [(ngModel)]=\"value\"\r\n [checked]=\"value\" [disabled]=\"disabled\" [readonly]=\"readonly\" [tabindex]=\"tabIndex\"\r\n (click)=\"_handleOnClickEvent($event)\" (focus)=\"_emitOnFocusEvent($event)\" (blur)=\"_emitOnBlurEvent($event)\">\r\n </div>\r\n <div class=\"ax-checkbox-end-side\">\r\n <ng-content></ng-content>\r\n <ng-content select=\"ax-form-hint\"></ng-content>\r\n <span class=\"ax-error-container\"></span>\r\n </div>\r\n</label>\r\n<ng-content select=\"ax-validation-rule\"></ng-content>", styles: [".ax-checkbox-label{display:flex;align-items:flex-start;width:-moz-fit-content;width:fit-content;font-size:.875rem;line-height:1.25rem}.ax-checkbox-label .ax-checkbox-start-side{display:flex;align-items:center;height:1.25rem}.ax-checkbox-label .ax-checkbox-end-side{margin-inline-start:.75rem}\n"], dependencies: [{ kind: "directive", type: i1.CheckboxControlValueAccessor, selector: "input[type=checkbox][formControlName],input[type=checkbox][formControl],input[type=checkbox][ngModel]" }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
41
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: AXCheckBoxComponent, decorators: [{
42
42
  type: Component,
43
43
  args: [{ selector: 'ax-check-box', inputs: ['disabled', 'tabIndex', 'readonly', 'allowNull', 'value', 'name', 'checked'], outputs: ['onBlur', 'onFocus', 'valueChange', 'onValueChanged'], encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, template: "<label class=\"ax-checkbox-label\" [class.ax-state-readonly]=\"readonly\" [class.ax-state-disabled]=\"disabled\">\r\n <div class=\"ax-checkbox-start-side\">\r\n <input [id]=\"id\" class=\"ax-checkbox\" type=\"checkbox\" \r\n [indeterminate]=\"_stateIndeterminate\" [(ngModel)]=\"value\"\r\n [checked]=\"value\" [disabled]=\"disabled\" [readonly]=\"readonly\" [tabindex]=\"tabIndex\"\r\n (click)=\"_handleOnClickEvent($event)\" (focus)=\"_emitOnFocusEvent($event)\" (blur)=\"_emitOnBlurEvent($event)\">\r\n </div>\r\n <div class=\"ax-checkbox-end-side\">\r\n <ng-content></ng-content>\r\n <ng-content select=\"ax-form-hint\"></ng-content>\r\n <span class=\"ax-error-container\"></span>\r\n </div>\r\n</label>\r\n<ng-content select=\"ax-validation-rule\"></ng-content>", styles: [".ax-checkbox-label{display:flex;align-items:flex-start;width:-moz-fit-content;width:fit-content;font-size:.875rem;line-height:1.25rem}.ax-checkbox-label .ax-checkbox-start-side{display:flex;align-items:center;height:1.25rem}.ax-checkbox-label .ax-checkbox-end-side{margin-inline-start:.75rem}\n"] }]
44
44
  }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; } });
45
45
 
46
46
  class AXCheckBoxModule {
47
47
  }
48
- AXCheckBoxModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: AXCheckBoxModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
49
- AXCheckBoxModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.0.4", ngImport: i0, type: AXCheckBoxModule, declarations: [AXCheckBoxComponent], imports: [CommonModule, FormsModule, AXDecoratorModule], exports: [AXCheckBoxComponent] });
50
- AXCheckBoxModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: AXCheckBoxModule, imports: [CommonModule, FormsModule, AXDecoratorModule] });
51
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: AXCheckBoxModule, decorators: [{
48
+ AXCheckBoxModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: AXCheckBoxModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
49
+ AXCheckBoxModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.1.4", ngImport: i0, type: AXCheckBoxModule, declarations: [AXCheckBoxComponent], imports: [CommonModule, FormsModule, AXDecoratorModule], exports: [AXCheckBoxComponent] });
50
+ AXCheckBoxModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: AXCheckBoxModule, imports: [CommonModule, FormsModule, AXDecoratorModule] });
51
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: AXCheckBoxModule, decorators: [{
52
52
  type: NgModule,
53
53
  args: [{
54
54
  declarations: [AXCheckBoxComponent],
@@ -16,9 +16,9 @@ class AXChipsComponent extends AXBaseComponent {
16
16
  return `ax-${this.color}-${this.look}`;
17
17
  }
18
18
  }
19
- AXChipsComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: AXChipsComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
20
- AXChipsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.4", type: AXChipsComponent, selector: "ax-chips", inputs: { look: "look", color: "color", text: "text" }, host: { properties: { "class": "this.__hostClass" } }, usesInheritance: true, ngImport: i0, template: "<ng-content select=\"ax-prefix\"></ng-content>\r\n<div class=\"ax-chips-text\" *ngIf=\"text\">{{text }}</div>\r\n<ng-content select=\"ax-suffix\"></ng-content>", styles: ["ax-chips{font-size:.875rem;padding:.375rem .5rem;border-radius:var(--ax-rounded-border-default);display:inline-flex;align-items:center;cursor:pointer;transition:background-color .3s;-webkit-user-select:none;user-select:none}ax-chips:focus-within{outline-offset:2px;outline-width:2px;outline-style:solid;outline-color:rgb(var(--ax-color-primary))}ax-chips .ax-chips-text{padding:0 .5rem}ax-chips ax-prefix,ax-chips ax-suffix{display:flex;align-items:center;font-size:1rem}ax-chips ax-prefix ax-icon,ax-chips ax-suffix ax-icon{font-size:1rem!important}ax-chips.ax-primary-default{background-color:rgb(var(--ax-color-primary));color:rgb(var(--ax-color-primary-fore))}ax-chips.ax-primary-default:hover{background-color:rgba(var(--ax-color-primary),.8)}ax-chips.ax-primary-outline{border:1px solid;border-color:rgb(var(--ax-color-primary));color:rgba(var(--ax-color-primary),.87)}ax-chips.ax-primary-outline:hover{background:rgba(var(--ax-color-primary));color:rgba(var(--ax-color-primary-fore))}ax-chips.ax-secondary-default{background-color:rgb(var(--ax-color-secondary));color:rgb(var(--ax-color-secondary-fore))}ax-chips.ax-secondary-default:hover{background-color:rgba(var(--ax-color-secondary),.8)}ax-chips.ax-secondary-outline{border:1px solid;border-color:rgb(var(--ax-color-secondary));color:rgba(var(--ax-color-secondary),.87)}ax-chips.ax-secondary-outline:hover{background:rgba(var(--ax-color-secondary));color:rgba(var(--ax-color-secondary-fore))}ax-chips.ax-success-default{background-color:rgb(var(--ax-color-success));color:rgb(var(--ax-color-success-fore))}ax-chips.ax-success-default:hover{background-color:rgba(var(--ax-color-success),.8)}ax-chips.ax-success-outline{border:1px solid;border-color:rgb(var(--ax-color-success));color:rgba(var(--ax-color-success),.87)}ax-chips.ax-success-outline:hover{background:rgba(var(--ax-color-success));color:rgba(var(--ax-color-success-fore))}ax-chips.ax-warning-default{background-color:rgb(var(--ax-color-warning));color:rgb(var(--ax-color-warning-fore))}ax-chips.ax-warning-default:hover{background-color:rgba(var(--ax-color-warning),.8)}ax-chips.ax-warning-outline{border:1px solid;border-color:rgb(var(--ax-color-warning));color:rgba(var(--ax-color-warning),.87)}ax-chips.ax-warning-outline:hover{background:rgba(var(--ax-color-warning));color:rgba(var(--ax-color-warning-fore))}ax-chips.ax-danger-default{background-color:rgb(var(--ax-color-danger));color:rgb(var(--ax-color-danger-fore))}ax-chips.ax-danger-default:hover{background-color:rgba(var(--ax-color-danger),.8)}ax-chips.ax-danger-outline{border:1px solid;border-color:rgb(var(--ax-color-danger));color:rgba(var(--ax-color-danger),.87)}ax-chips.ax-danger-outline:hover{background:rgba(var(--ax-color-danger));color:rgba(var(--ax-color-danger-fore))}ax-chips.ax-ghost-default{background-color:rgba(var(--ax-color-ghost),.08);color:rgba(var(--ax-color-ghost),.87)}ax-chips.ax-ghost-default:hover{background-color:rgba(var(--ax-color-ghost),.16)}ax-chips.ax-ghost-outline{border:1px solid;border-color:rgba(var(--ax-color-ghost),.16);color:rgba(var(--ax-color-ghost),.87)}ax-chips.ax-ghost-outline:hover{background:rgba(var(--ax-color-ghost),.08);border-color:rgba(var(--ax-color-ghost),.16)}\n"], dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
21
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: AXChipsComponent, decorators: [{
19
+ AXChipsComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: AXChipsComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
20
+ AXChipsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.4", type: AXChipsComponent, selector: "ax-chips", inputs: { look: "look", color: "color", text: "text" }, host: { properties: { "class": "this.__hostClass" } }, usesInheritance: true, ngImport: i0, template: "<ng-content select=\"ax-prefix\"></ng-content>\r\n<div class=\"ax-chips-text\" *ngIf=\"text\">{{text }}</div>\r\n<ng-content select=\"ax-suffix\"></ng-content>", styles: ["ax-chips{font-size:.875rem;padding:.375rem .5rem;border-radius:var(--ax-rounded-border-default);display:inline-flex;align-items:center;cursor:pointer;transition:background-color .3s;-webkit-user-select:none;user-select:none}ax-chips:focus-within{outline-offset:2px;outline-width:2px;outline-style:solid;outline-color:rgb(var(--ax-color-primary))}ax-chips .ax-chips-text{padding:0 .5rem}ax-chips ax-prefix,ax-chips ax-suffix{display:flex;align-items:center;font-size:1rem}ax-chips ax-prefix ax-icon,ax-chips ax-suffix ax-icon{font-size:1rem!important}ax-chips.ax-primary-default{background-color:rgb(var(--ax-color-primary));color:rgb(var(--ax-color-primary-fore))}ax-chips.ax-primary-default:hover{background-color:rgba(var(--ax-color-primary),.8)}ax-chips.ax-primary-outline{border:1px solid;border-color:rgb(var(--ax-color-primary));color:rgba(var(--ax-color-primary),.87)}ax-chips.ax-primary-outline:hover{background:rgba(var(--ax-color-primary));color:rgba(var(--ax-color-primary-fore))}ax-chips.ax-secondary-default{background-color:rgb(var(--ax-color-secondary));color:rgb(var(--ax-color-secondary-fore))}ax-chips.ax-secondary-default:hover{background-color:rgba(var(--ax-color-secondary),.8)}ax-chips.ax-secondary-outline{border:1px solid;border-color:rgb(var(--ax-color-secondary));color:rgba(var(--ax-color-secondary),.87)}ax-chips.ax-secondary-outline:hover{background:rgba(var(--ax-color-secondary));color:rgba(var(--ax-color-secondary-fore))}ax-chips.ax-success-default{background-color:rgb(var(--ax-color-success));color:rgb(var(--ax-color-success-fore))}ax-chips.ax-success-default:hover{background-color:rgba(var(--ax-color-success),.8)}ax-chips.ax-success-outline{border:1px solid;border-color:rgb(var(--ax-color-success));color:rgba(var(--ax-color-success),.87)}ax-chips.ax-success-outline:hover{background:rgba(var(--ax-color-success));color:rgba(var(--ax-color-success-fore))}ax-chips.ax-warning-default{background-color:rgb(var(--ax-color-warning));color:rgb(var(--ax-color-warning-fore))}ax-chips.ax-warning-default:hover{background-color:rgba(var(--ax-color-warning),.8)}ax-chips.ax-warning-outline{border:1px solid;border-color:rgb(var(--ax-color-warning));color:rgba(var(--ax-color-warning),.87)}ax-chips.ax-warning-outline:hover{background:rgba(var(--ax-color-warning));color:rgba(var(--ax-color-warning-fore))}ax-chips.ax-danger-default{background-color:rgb(var(--ax-color-danger));color:rgb(var(--ax-color-danger-fore))}ax-chips.ax-danger-default:hover{background-color:rgba(var(--ax-color-danger),.8)}ax-chips.ax-danger-outline{border:1px solid;border-color:rgb(var(--ax-color-danger));color:rgba(var(--ax-color-danger),.87)}ax-chips.ax-danger-outline:hover{background:rgba(var(--ax-color-danger));color:rgba(var(--ax-color-danger-fore))}ax-chips.ax-ghost-default{background-color:rgba(var(--ax-color-ghost),.08);color:rgba(var(--ax-color-ghost),.87)}ax-chips.ax-ghost-default:hover{background-color:rgba(var(--ax-color-ghost),.16)}ax-chips.ax-ghost-outline{border:1px solid;border-color:rgba(var(--ax-color-ghost),.16);color:rgba(var(--ax-color-ghost),.87)}ax-chips.ax-ghost-outline:hover{background:rgba(var(--ax-color-ghost),.08);border-color:rgba(var(--ax-color-ghost),.16)}\n"], dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
21
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: AXChipsComponent, decorators: [{
22
22
  type: Component,
23
23
  args: [{ selector: 'ax-chips', changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, template: "<ng-content select=\"ax-prefix\"></ng-content>\r\n<div class=\"ax-chips-text\" *ngIf=\"text\">{{text }}</div>\r\n<ng-content select=\"ax-suffix\"></ng-content>", styles: ["ax-chips{font-size:.875rem;padding:.375rem .5rem;border-radius:var(--ax-rounded-border-default);display:inline-flex;align-items:center;cursor:pointer;transition:background-color .3s;-webkit-user-select:none;user-select:none}ax-chips:focus-within{outline-offset:2px;outline-width:2px;outline-style:solid;outline-color:rgb(var(--ax-color-primary))}ax-chips .ax-chips-text{padding:0 .5rem}ax-chips ax-prefix,ax-chips ax-suffix{display:flex;align-items:center;font-size:1rem}ax-chips ax-prefix ax-icon,ax-chips ax-suffix ax-icon{font-size:1rem!important}ax-chips.ax-primary-default{background-color:rgb(var(--ax-color-primary));color:rgb(var(--ax-color-primary-fore))}ax-chips.ax-primary-default:hover{background-color:rgba(var(--ax-color-primary),.8)}ax-chips.ax-primary-outline{border:1px solid;border-color:rgb(var(--ax-color-primary));color:rgba(var(--ax-color-primary),.87)}ax-chips.ax-primary-outline:hover{background:rgba(var(--ax-color-primary));color:rgba(var(--ax-color-primary-fore))}ax-chips.ax-secondary-default{background-color:rgb(var(--ax-color-secondary));color:rgb(var(--ax-color-secondary-fore))}ax-chips.ax-secondary-default:hover{background-color:rgba(var(--ax-color-secondary),.8)}ax-chips.ax-secondary-outline{border:1px solid;border-color:rgb(var(--ax-color-secondary));color:rgba(var(--ax-color-secondary),.87)}ax-chips.ax-secondary-outline:hover{background:rgba(var(--ax-color-secondary));color:rgba(var(--ax-color-secondary-fore))}ax-chips.ax-success-default{background-color:rgb(var(--ax-color-success));color:rgb(var(--ax-color-success-fore))}ax-chips.ax-success-default:hover{background-color:rgba(var(--ax-color-success),.8)}ax-chips.ax-success-outline{border:1px solid;border-color:rgb(var(--ax-color-success));color:rgba(var(--ax-color-success),.87)}ax-chips.ax-success-outline:hover{background:rgba(var(--ax-color-success));color:rgba(var(--ax-color-success-fore))}ax-chips.ax-warning-default{background-color:rgb(var(--ax-color-warning));color:rgb(var(--ax-color-warning-fore))}ax-chips.ax-warning-default:hover{background-color:rgba(var(--ax-color-warning),.8)}ax-chips.ax-warning-outline{border:1px solid;border-color:rgb(var(--ax-color-warning));color:rgba(var(--ax-color-warning),.87)}ax-chips.ax-warning-outline:hover{background:rgba(var(--ax-color-warning));color:rgba(var(--ax-color-warning-fore))}ax-chips.ax-danger-default{background-color:rgb(var(--ax-color-danger));color:rgb(var(--ax-color-danger-fore))}ax-chips.ax-danger-default:hover{background-color:rgba(var(--ax-color-danger),.8)}ax-chips.ax-danger-outline{border:1px solid;border-color:rgb(var(--ax-color-danger));color:rgba(var(--ax-color-danger),.87)}ax-chips.ax-danger-outline:hover{background:rgba(var(--ax-color-danger));color:rgba(var(--ax-color-danger-fore))}ax-chips.ax-ghost-default{background-color:rgba(var(--ax-color-ghost),.08);color:rgba(var(--ax-color-ghost),.87)}ax-chips.ax-ghost-default:hover{background-color:rgba(var(--ax-color-ghost),.16)}ax-chips.ax-ghost-outline{border:1px solid;border-color:rgba(var(--ax-color-ghost),.16);color:rgba(var(--ax-color-ghost),.87)}ax-chips.ax-ghost-outline:hover{background:rgba(var(--ax-color-ghost),.08);border-color:rgba(var(--ax-color-ghost),.16)}\n"] }]
24
24
  }], ctorParameters: function () { return []; }, propDecorators: { look: [{
@@ -34,10 +34,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImpor
34
34
 
35
35
  class AXChipsModule {
36
36
  }
37
- AXChipsModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: AXChipsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
38
- AXChipsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.0.4", ngImport: i0, type: AXChipsModule, declarations: [AXChipsComponent], imports: [CommonModule], exports: [AXChipsComponent] });
39
- AXChipsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: AXChipsModule, imports: [CommonModule] });
40
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: AXChipsModule, decorators: [{
37
+ AXChipsModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: AXChipsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
38
+ AXChipsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.1.4", ngImport: i0, type: AXChipsModule, declarations: [AXChipsComponent], imports: [CommonModule], exports: [AXChipsComponent] });
39
+ AXChipsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: AXChipsModule, imports: [CommonModule] });
40
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: AXChipsModule, decorators: [{
41
41
  type: NgModule,
42
42
  args: [{
43
43
  declarations: [AXChipsComponent],
@@ -26,9 +26,9 @@ class AXCollapseComponent extends AXBaseComponent {
26
26
  this.isCollapsed = !this.isCollapsed;
27
27
  }
28
28
  }
29
- AXCollapseComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: AXCollapseComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
30
- AXCollapseComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.4", type: AXCollapseComponent, selector: "ax-collapse", inputs: { isCollapsed: "isCollapsed", caption: "caption" }, outputs: { isCollapsedChange: "isCollapsedChange" }, queries: [{ propertyName: "headerTemplate", first: true, predicate: ["header"], descendants: true, static: true }], usesInheritance: true, ngImport: i0, template: "<div class=\"ax-collapse-header\" [class.ax-state-collapsed]=\"isCollapsed\" (click)=\"handleHeaderClick()\">\r\n <ng-container *ngIf=\"headerTemplate;else header\">\r\n <div class=\"ax-collapse-custom-header-container\">\r\n <ng-container [ngTemplateOutlet]=\"headerTemplate\"\r\n [ngTemplateOutletContext]=\"{ $implicit: { caption, isCollapsed } }\"></ng-container>\r\n </div>\r\n </ng-container>\r\n <ng-template #header>\r\n <div class=\"ax-collapse-header-container\">\r\n <span>{{caption}}</span>\r\n <!-- <span class=\"ax-icon ax-icon-chevron-down ax-collapse-arrow\"\r\n [ngClass]=\"{'ax-icon-chevron-up': !isCollapsed,'ax-icon-chevrop-down': isCollapsed}\"></span> -->\r\n\r\n <span class=\"ax-icon ax-icon-chevron-left ax-collapse-arrow ax-transition-all\" [ngClass]=\"{'-ax-rotation-90': isCollapsed, 'ax-rotation-90':!isCollapsed}\"></span>\r\n </div>\r\n </ng-template>\r\n</div>\r\n\r\n<div class=\"ax-collapse-body\" *ngIf=\"!isCollapsed\">\r\n <ng-content></ng-content>\r\n</div>", styles: ["ax-collapse,ax-collapse-group{display:block;border:1px solid;border-color:rgb(var(--ax-color-border-default));border-radius:var(--ax-rounded-border-default);overflow:hidden;font-size:1rem}ax-collapse .ax-collapse-header,ax-collapse .ax-collapse-body{color:rgb(var(--ax-color-text-default));padding:.75rem}ax-collapse .ax-collapse-header{background-color:rgba(var(--ax-color-ghost),.08);cursor:pointer;-webkit-user-select:none;user-select:none}ax-collapse .ax-collapse-header .ax-collapse-header-container{display:flex;justify-content:space-between}ax-collapse .ax-collapse-header .ax-collapse-header-container .ax-collapse-arrow{font-size:1.5rem}ax-collapse-group ax-collapse{border:0!important;border-radius:0!important}ax-collapse-group ax-collapse:not(ax-collapse-group ax-collapse:last-child){border-bottom:1px solid!important;border-color:rgb(var(--ax-color-border-default))!important}\n"], dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { 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 });
31
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: AXCollapseComponent, decorators: [{
29
+ AXCollapseComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: AXCollapseComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
30
+ AXCollapseComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.4", type: AXCollapseComponent, selector: "ax-collapse", inputs: { isCollapsed: "isCollapsed", caption: "caption" }, outputs: { isCollapsedChange: "isCollapsedChange" }, queries: [{ propertyName: "headerTemplate", first: true, predicate: ["header"], descendants: true, static: true }], usesInheritance: true, ngImport: i0, template: "<div class=\"ax-collapse-header\" [class.ax-state-collapsed]=\"isCollapsed\" (click)=\"handleHeaderClick()\">\r\n <ng-container *ngIf=\"headerTemplate;else header\">\r\n <div class=\"ax-collapse-custom-header-container\">\r\n <ng-container [ngTemplateOutlet]=\"headerTemplate\"\r\n [ngTemplateOutletContext]=\"{ $implicit: { caption, isCollapsed } }\"></ng-container>\r\n </div>\r\n </ng-container>\r\n <ng-template #header>\r\n <div class=\"ax-collapse-header-container\">\r\n <span>{{caption}}</span>\r\n <!-- <span class=\"ax-icon ax-icon-chevron-down ax-collapse-arrow\"\r\n [ngClass]=\"{'ax-icon-chevron-up': !isCollapsed,'ax-icon-chevrop-down': isCollapsed}\"></span> -->\r\n\r\n <span class=\"ax-icon ax-icon-chevron-left ax-collapse-arrow ax-transition-all\" [ngClass]=\"{'-ax-rotation-90': isCollapsed, 'ax-rotation-90':!isCollapsed}\"></span>\r\n </div>\r\n </ng-template>\r\n</div>\r\n\r\n<div class=\"ax-collapse-body\" *ngIf=\"!isCollapsed\">\r\n <ng-content></ng-content>\r\n</div>", styles: ["ax-collapse,ax-collapse-group{display:block;border:1px solid;border-color:rgb(var(--ax-color-border-default));border-radius:var(--ax-rounded-border-default);overflow:hidden;font-size:1rem}ax-collapse .ax-collapse-header,ax-collapse .ax-collapse-body{color:rgb(var(--ax-color-text-default));padding:.75rem}ax-collapse .ax-collapse-header{background-color:rgba(var(--ax-color-ghost),.08);cursor:pointer;-webkit-user-select:none;user-select:none}ax-collapse .ax-collapse-header .ax-collapse-header-container{display:flex;justify-content:space-between}ax-collapse .ax-collapse-header .ax-collapse-header-container .ax-collapse-arrow{font-size:1.5rem}ax-collapse-group ax-collapse{border:0!important;border-radius:0!important}ax-collapse-group ax-collapse:not(ax-collapse-group ax-collapse:last-child){border-bottom:1px solid!important;border-color:rgb(var(--ax-color-border-default))!important}\n"], dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { 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 });
31
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: AXCollapseComponent, decorators: [{
32
32
  type: Component,
33
33
  args: [{ selector: 'ax-collapse', changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, template: "<div class=\"ax-collapse-header\" [class.ax-state-collapsed]=\"isCollapsed\" (click)=\"handleHeaderClick()\">\r\n <ng-container *ngIf=\"headerTemplate;else header\">\r\n <div class=\"ax-collapse-custom-header-container\">\r\n <ng-container [ngTemplateOutlet]=\"headerTemplate\"\r\n [ngTemplateOutletContext]=\"{ $implicit: { caption, isCollapsed } }\"></ng-container>\r\n </div>\r\n </ng-container>\r\n <ng-template #header>\r\n <div class=\"ax-collapse-header-container\">\r\n <span>{{caption}}</span>\r\n <!-- <span class=\"ax-icon ax-icon-chevron-down ax-collapse-arrow\"\r\n [ngClass]=\"{'ax-icon-chevron-up': !isCollapsed,'ax-icon-chevrop-down': isCollapsed}\"></span> -->\r\n\r\n <span class=\"ax-icon ax-icon-chevron-left ax-collapse-arrow ax-transition-all\" [ngClass]=\"{'-ax-rotation-90': isCollapsed, 'ax-rotation-90':!isCollapsed}\"></span>\r\n </div>\r\n </ng-template>\r\n</div>\r\n\r\n<div class=\"ax-collapse-body\" *ngIf=\"!isCollapsed\">\r\n <ng-content></ng-content>\r\n</div>", styles: ["ax-collapse,ax-collapse-group{display:block;border:1px solid;border-color:rgb(var(--ax-color-border-default));border-radius:var(--ax-rounded-border-default);overflow:hidden;font-size:1rem}ax-collapse .ax-collapse-header,ax-collapse .ax-collapse-body{color:rgb(var(--ax-color-text-default));padding:.75rem}ax-collapse .ax-collapse-header{background-color:rgba(var(--ax-color-ghost),.08);cursor:pointer;-webkit-user-select:none;user-select:none}ax-collapse .ax-collapse-header .ax-collapse-header-container{display:flex;justify-content:space-between}ax-collapse .ax-collapse-header .ax-collapse-header-container .ax-collapse-arrow{font-size:1.5rem}ax-collapse-group ax-collapse{border:0!important;border-radius:0!important}ax-collapse-group ax-collapse:not(ax-collapse-group ax-collapse:last-child){border-bottom:1px solid!important;border-color:rgb(var(--ax-color-border-default))!important}\n"] }]
34
34
  }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { isCollapsedChange: [{
@@ -53,8 +53,6 @@ class AXCollapseGroupComponent extends AXBaseComponent {
53
53
  onViewInit() {
54
54
  if (this.accordion) {
55
55
  this._items.forEach(c => c.isCollapsed = true);
56
- // TODO:Check ts error
57
- //@ts-ignore
58
56
  this._items.get(this.nonCollapsedIndex).isCollapsed = false;
59
57
  console.log(this._items[this.nonCollapsedIndex]);
60
58
  this._items.forEach((c1) => {
@@ -70,9 +68,9 @@ class AXCollapseGroupComponent extends AXBaseComponent {
70
68
  this._subs = [];
71
69
  }
72
70
  }
73
- AXCollapseGroupComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: AXCollapseGroupComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
74
- AXCollapseGroupComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.4", type: AXCollapseGroupComponent, selector: "ax-collapse-group", inputs: { accordion: "accordion", nonCollapsedIndex: "nonCollapsedIndex" }, host: { classAttribute: "ax-collapse-group" }, queries: [{ propertyName: "_items", predicate: AXCollapseComponent }], usesInheritance: true, ngImport: i0, template: `<ng-content select="ax-collapse"></ng-content>`, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
75
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: AXCollapseGroupComponent, decorators: [{
71
+ AXCollapseGroupComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: AXCollapseGroupComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
72
+ AXCollapseGroupComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.4", type: AXCollapseGroupComponent, selector: "ax-collapse-group", inputs: { accordion: "accordion", nonCollapsedIndex: "nonCollapsedIndex" }, host: { classAttribute: "ax-collapse-group" }, queries: [{ propertyName: "_items", predicate: AXCollapseComponent }], usesInheritance: true, ngImport: i0, template: `<ng-content select="ax-collapse"></ng-content>`, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
73
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: AXCollapseGroupComponent, decorators: [{
76
74
  type: Component,
77
75
  args: [{
78
76
  selector: 'ax-collapse-group',
@@ -92,10 +90,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImpor
92
90
 
93
91
  class AXCollapseModule {
94
92
  }
95
- AXCollapseModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: AXCollapseModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
96
- AXCollapseModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.0.4", ngImport: i0, type: AXCollapseModule, declarations: [AXCollapseComponent, AXCollapseGroupComponent], imports: [CommonModule], exports: [AXCollapseComponent, AXCollapseGroupComponent] });
97
- AXCollapseModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: AXCollapseModule, imports: [CommonModule] });
98
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: AXCollapseModule, decorators: [{
93
+ AXCollapseModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: AXCollapseModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
94
+ AXCollapseModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.1.4", ngImport: i0, type: AXCollapseModule, declarations: [AXCollapseComponent, AXCollapseGroupComponent], imports: [CommonModule], exports: [AXCollapseComponent, AXCollapseGroupComponent] });
95
+ AXCollapseModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: AXCollapseModule, imports: [CommonModule] });
96
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: AXCollapseModule, decorators: [{
99
97
  type: NgModule,
100
98
  args: [{
101
99
  declarations: [AXCollapseComponent, AXCollapseGroupComponent],
@@ -1 +1 @@
1
- {"version":3,"file":"acorex-components-collapse.mjs","sources":["../../../../projects/acorex/components/collapse/src/collapse.component.ts","../../../../projects/acorex/components/collapse/src/collapse.component.html","../../../../projects/acorex/components/collapse/src/collapse-group.component.ts","../../../../projects/acorex/components/collapse/src/collapse.module.ts","../../../../projects/acorex/components/collapse/acorex-components-collapse.ts"],"sourcesContent":["import { AXBaseComponent } from '@acorex/components/mixin';\r\nimport {\r\n ChangeDetectionStrategy,\r\n ChangeDetectorRef,\r\n Component,\r\n ContentChild,\r\n ElementRef,\r\n EventEmitter,\r\n Input,\r\n Output,\r\n TemplateRef,\r\n ViewEncapsulation,\r\n} from '@angular/core';\r\n\r\n@Component({\r\n selector: 'ax-collapse',\r\n templateUrl: './collapse.component.html',\r\n styleUrls: ['./collapse.component.scss'],\r\n changeDetection: ChangeDetectionStrategy.OnPush,\r\n encapsulation: ViewEncapsulation.None,\r\n})\r\nexport class AXCollapseComponent extends AXBaseComponent {\r\n constructor(elementRef: ElementRef, private cdr: ChangeDetectorRef) {\r\n super(elementRef, cdr);\r\n }\r\n\r\n @Output()\r\n isCollapsedChange: EventEmitter<any> = new EventEmitter<any>();\r\n\r\n private _isCollapsed: boolean = false;\r\n @Input()\r\n public get isCollapsed(): boolean {\r\n return this._isCollapsed;\r\n }\r\n public set isCollapsed(v: boolean) {\r\n if (v != this._isCollapsed) {\r\n this._isCollapsed = v;\r\n this.isCollapsedChange.emit(v);\r\n this._cdr.detectChanges();\r\n }\r\n }\r\n\r\n @Input()\r\n caption: string = '';\r\n\r\n @ContentChild('header', { static: true })\r\n headerTemplate: TemplateRef<any>;\r\n\r\n handleHeaderClick() {\r\n this.isCollapsed = !this.isCollapsed;\r\n }\r\n}\r\n","<div class=\"ax-collapse-header\" [class.ax-state-collapsed]=\"isCollapsed\" (click)=\"handleHeaderClick()\">\r\n <ng-container *ngIf=\"headerTemplate;else header\">\r\n <div class=\"ax-collapse-custom-header-container\">\r\n <ng-container [ngTemplateOutlet]=\"headerTemplate\"\r\n [ngTemplateOutletContext]=\"{ $implicit: { caption, isCollapsed } }\"></ng-container>\r\n </div>\r\n </ng-container>\r\n <ng-template #header>\r\n <div class=\"ax-collapse-header-container\">\r\n <span>{{caption}}</span>\r\n <!-- <span class=\"ax-icon ax-icon-chevron-down ax-collapse-arrow\"\r\n [ngClass]=\"{'ax-icon-chevron-up': !isCollapsed,'ax-icon-chevrop-down': isCollapsed}\"></span> -->\r\n\r\n <span class=\"ax-icon ax-icon-chevron-left ax-collapse-arrow ax-transition-all\" [ngClass]=\"{'-ax-rotation-90': isCollapsed, 'ax-rotation-90':!isCollapsed}\"></span>\r\n </div>\r\n </ng-template>\r\n</div>\r\n\r\n<div class=\"ax-collapse-body\" *ngIf=\"!isCollapsed\">\r\n <ng-content></ng-content>\r\n</div>","import { AXBaseComponent } from '@acorex/components/mixin';\r\nimport { ChangeDetectionStrategy, ChangeDetectorRef, Component, ContentChildren, ElementRef, Input, QueryList, ViewEncapsulation } from '@angular/core';\r\nimport { Subscription } from 'rxjs';\r\nimport { AXCollapseComponent } from './collapse.component';\r\n\r\n@Component({\r\n selector: 'ax-collapse-group',\r\n template: `<ng-content select=\"ax-collapse\"></ng-content>`,\r\n host: { class: 'ax-collapse-group' },\r\n changeDetection: ChangeDetectionStrategy.OnPush,\r\n encapsulation: ViewEncapsulation.None,\r\n})\r\nexport class AXCollapseGroupComponent extends AXBaseComponent {\r\n\r\n @Input() accordion = false;\r\n\r\n @Input() nonCollapsedIndex = 0;\r\n\r\n @ContentChildren(AXCollapseComponent)\r\n private _items: QueryList<AXCollapseComponent>;\r\n\r\n\r\n private _subs: Subscription[] = [];\r\n\r\n constructor(elementRef: ElementRef, private cdr: ChangeDetectorRef) {\r\n super(elementRef, cdr);\r\n }\r\n\r\n\r\n onViewInit(): void {\r\n if (this.accordion) {\r\n this._items.forEach(c => c.isCollapsed = true);\r\n // TODO:Check ts error\r\n //@ts-ignore\r\n this._items.get(this.nonCollapsedIndex).isCollapsed = false;\r\n console.log(this._items[this.nonCollapsedIndex]);\r\n\r\n this._items.forEach((c1: AXCollapseComponent) => {\r\n this._subs.push(c1.isCollapsedChange.subscribe(e => {\r\n if (!e)\r\n this._items.toArray().filter(c2 => c2 != c1).forEach(c => c.isCollapsed = true);\r\n }));\r\n })\r\n }\r\n }\r\n\r\n onDestroy(): void {\r\n this._subs.forEach(s => s.unsubscribe());\r\n this._subs = [];\r\n }\r\n\r\n\r\n}\r\n","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\nimport { AXCollapseComponent } from './collapse.component';\r\nimport { AXCollapseGroupComponent } from './collapse-group.component';\r\n\r\n@NgModule({\r\n declarations: [AXCollapseComponent,AXCollapseGroupComponent],\r\n imports: [ CommonModule ],\r\n exports: [AXCollapseComponent,AXCollapseGroupComponent],\r\n providers: [],\r\n})\r\nexport class AXCollapseModule {}","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;AAqBM,MAAO,mBAAoB,SAAQ,eAAe,CAAA;IACtD,WAAY,CAAA,UAAsB,EAAU,GAAsB,EAAA;AAChE,QAAA,KAAK,CAAC,UAAU,EAAE,GAAG,CAAC,CAAC;AADmB,QAAA,IAAG,CAAA,GAAA,GAAH,GAAG,CAAmB;AAKlE,QAAA,IAAA,CAAA,iBAAiB,GAAsB,IAAI,YAAY,EAAO,CAAC;AAEvD,QAAA,IAAY,CAAA,YAAA,GAAY,KAAK,CAAC;AActC,QAAA,IAAO,CAAA,OAAA,GAAW,EAAE,CAAC;KAnBpB;AAMD,IAAA,IACW,WAAW,GAAA;QACpB,OAAO,IAAI,CAAC,YAAY,CAAC;KAC1B;IACD,IAAW,WAAW,CAAC,CAAU,EAAA;AAC/B,QAAA,IAAI,CAAC,IAAI,IAAI,CAAC,YAAY,EAAE;AAC1B,YAAA,IAAI,CAAC,YAAY,GAAG,CAAC,CAAC;AACtB,YAAA,IAAI,CAAC,iBAAiB,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;AAC/B,YAAA,IAAI,CAAC,IAAI,CAAC,aAAa,EAAE,CAAC;AAC3B,SAAA;KACF;IAQD,iBAAiB,GAAA;AACf,QAAA,IAAI,CAAC,WAAW,GAA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oBAAA,IAAI,EAAE,EAAE,KAAK,EAAE,mBAAmB,EAAE;oBACpC,eAAe,EAAE,uBAAuB,CAAC,MAAM;oBAC/C,aAAa,EAAE,iBAAiB,CAAC,IAAI;iBACxC,CAAA;iIAGY,SAAS,EAAA,CAAA;sBAAjB,KAAK;gBAEG,iBAAiB,EAAA,CAAA;sBAAzB,KAAK;gBAGE,MAAM,EAAA,CAAA;sBADb,eAAe;uBAAC,mBAAmB,CAAA;;;MCP3B,gBAAgB,CAAA;;6GAAhB,gBAAgB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA;8GAAhB,gBAAgB,EAAA,YAAA,EAAA,CALV,mBAAmB,EAAC,wBAAwB,aAChD,YAAY,CAAA,EAAA,OAAA,EAAA,CACb,mBAAmB,EAAC,wBAAwB,CAAA,EAAA,CAAA,CAAA;AAG7C,gBAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,gBAAgB,YAJd,YAAY,CAAA,EAAA,CAAA,CAAA;2FAId,gBAAgB,EAAA,UAAA,EAAA,CAAA;kBAN5B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACN,oBAAA,YAAY,EAAE,CAAC,mBAAmB,EAAC,wBAAwB,CAAC;oBAC5D,OAAO,EAAE,CAAE,YAAY,CAAE;AACzB,oBAAA,OAAO,EAAE,CAAC,mBAAmB,EAAC,wBAAwB,CAAC;AACvD,oBAAA,SAAS,EAAE,EAAE;iBAChB,CAAA;;;ACVD;;AAEG;;;;"}
1
+ {"version":3,"file":"acorex-components-collapse.mjs","sources":["../../../../projects/acorex/components/collapse/src/collapse.component.ts","../../../../projects/acorex/components/collapse/src/collapse.component.html","../../../../projects/acorex/components/collapse/src/collapse-group.component.ts","../../../../projects/acorex/components/collapse/src/collapse.module.ts","../../../../projects/acorex/components/collapse/acorex-components-collapse.ts"],"sourcesContent":["import { AXBaseComponent } from '@acorex/components/mixin';\r\nimport {\r\n ChangeDetectionStrategy,\r\n ChangeDetectorRef,\r\n Component,\r\n ContentChild,\r\n ElementRef,\r\n EventEmitter,\r\n Input,\r\n Output,\r\n TemplateRef,\r\n ViewEncapsulation,\r\n} from '@angular/core';\r\n\r\n@Component({\r\n selector: 'ax-collapse',\r\n templateUrl: './collapse.component.html',\r\n styleUrls: ['./collapse.component.scss'],\r\n changeDetection: ChangeDetectionStrategy.OnPush,\r\n encapsulation: ViewEncapsulation.None,\r\n})\r\nexport class AXCollapseComponent extends AXBaseComponent {\r\n constructor(elementRef: ElementRef, private cdr: ChangeDetectorRef) {\r\n super(elementRef, cdr);\r\n }\r\n\r\n @Output()\r\n isCollapsedChange: EventEmitter<any> = new EventEmitter<any>();\r\n\r\n private _isCollapsed: boolean = false;\r\n @Input()\r\n public get isCollapsed(): boolean {\r\n return this._isCollapsed;\r\n }\r\n public set isCollapsed(v: boolean) {\r\n if (v != this._isCollapsed) {\r\n this._isCollapsed = v;\r\n this.isCollapsedChange.emit(v);\r\n this._cdr.detectChanges();\r\n }\r\n }\r\n\r\n @Input()\r\n caption: string = '';\r\n\r\n @ContentChild('header', { static: true })\r\n headerTemplate: TemplateRef<any>;\r\n\r\n handleHeaderClick() {\r\n this.isCollapsed = !this.isCollapsed;\r\n }\r\n}\r\n","<div class=\"ax-collapse-header\" [class.ax-state-collapsed]=\"isCollapsed\" (click)=\"handleHeaderClick()\">\r\n <ng-container *ngIf=\"headerTemplate;else header\">\r\n <div class=\"ax-collapse-custom-header-container\">\r\n <ng-container [ngTemplateOutlet]=\"headerTemplate\"\r\n [ngTemplateOutletContext]=\"{ $implicit: { caption, isCollapsed } }\"></ng-container>\r\n </div>\r\n </ng-container>\r\n <ng-template #header>\r\n <div class=\"ax-collapse-header-container\">\r\n <span>{{caption}}</span>\r\n <!-- <span class=\"ax-icon ax-icon-chevron-down ax-collapse-arrow\"\r\n [ngClass]=\"{'ax-icon-chevron-up': !isCollapsed,'ax-icon-chevrop-down': isCollapsed}\"></span> -->\r\n\r\n <span class=\"ax-icon ax-icon-chevron-left ax-collapse-arrow ax-transition-all\" [ngClass]=\"{'-ax-rotation-90': isCollapsed, 'ax-rotation-90':!isCollapsed}\"></span>\r\n </div>\r\n </ng-template>\r\n</div>\r\n\r\n<div class=\"ax-collapse-body\" *ngIf=\"!isCollapsed\">\r\n <ng-content></ng-content>\r\n</div>","import { AXBaseComponent } from '@acorex/components/mixin';\r\nimport { ChangeDetectionStrategy, ChangeDetectorRef, Component, ContentChildren, ElementRef, Input, QueryList, ViewEncapsulation } from '@angular/core';\r\nimport { Subscription } from 'rxjs';\r\nimport { AXCollapseComponent } from './collapse.component';\r\n\r\n@Component({\r\n selector: 'ax-collapse-group',\r\n template: `<ng-content select=\"ax-collapse\"></ng-content>`,\r\n host: { class: 'ax-collapse-group' },\r\n changeDetection: ChangeDetectionStrategy.OnPush,\r\n encapsulation: ViewEncapsulation.None,\r\n})\r\nexport class AXCollapseGroupComponent extends AXBaseComponent {\r\n\r\n @Input() accordion = false;\r\n\r\n @Input() nonCollapsedIndex = 0;\r\n\r\n @ContentChildren(AXCollapseComponent)\r\n private _items: QueryList<AXCollapseComponent>;\r\n\r\n\r\n private _subs: Subscription[] = [];\r\n\r\n constructor(elementRef: ElementRef, private cdr: ChangeDetectorRef) {\r\n super(elementRef, cdr);\r\n }\r\n\r\n\r\n onViewInit(): void {\r\n if (this.accordion) {\r\n this._items.forEach(c => c.isCollapsed = true);\r\n this._items.get(this.nonCollapsedIndex).isCollapsed = false;\r\n console.log(this._items[this.nonCollapsedIndex]);\r\n this._items.forEach((c1: AXCollapseComponent) => {\r\n this._subs.push(c1.isCollapsedChange.subscribe(e => {\r\n if (!e)\r\n this._items.toArray().filter(c2 => c2 != c1).forEach(c => c.isCollapsed = true);\r\n }));\r\n })\r\n }\r\n }\r\n\r\n onDestroy(): void {\r\n this._subs.forEach(s => s.unsubscribe());\r\n this._subs = [];\r\n }\r\n\r\n\r\n}\r\n","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\nimport { AXCollapseComponent } from './collapse.component';\r\nimport { AXCollapseGroupComponent } from './collapse-group.component';\r\n\r\n@NgModule({\r\n declarations: [AXCollapseComponent,AXCollapseGroupComponent],\r\n imports: [ CommonModule ],\r\n exports: [AXCollapseComponent,AXCollapseGroupComponent],\r\n providers: [],\r\n})\r\nexport class AXCollapseModule {}","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;AAqBM,MAAO,mBAAoB,SAAQ,eAAe,CAAA;IACtD,WAAY,CAAA,UAAsB,EAAU,GAAsB,EAAA;AAChE,QAAA,KAAK,CAAC,UAAU,EAAE,GAAG,CAAC,CAAC;AADmB,QAAA,IAAG,CAAA,GAAA,GAAH,GAAG,CAAmB;AAKlE,QAAA,IAAA,CAAA,iBAAiB,GAAsB,IAAI,YAAY,EAAO,CAAC;AAEvD,QAAA,IAAY,CAAA,YAAA,GAAY,KAAK,CAAC;AActC,QAAA,IAAO,CAAA,OAAA,GAAW,EAAE,CAAC;KAnBpB;AAMD,IAAA,IACW,WAAW,GAAA;QACpB,OAAO,IAAI,CAAC,YAAY,CAAC;KAC1B;IACD,IAAW,WAAW,CAAC,CAAU,EAAA;AAC/B,QAAA,IAAI,CAAC,IAAI,IAAI,CAAC,YAAY,EAAE;AAC1B,YAAA,IAAI,CAAC,YAAY,GAAG,CAAC,CAAC;AACtB,YAAA,IAAI,CAAC,iBAAiB,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;AAC/B,YAAA,IAAI,CAAC,IAAI,CAAC,aAAa,EAAE,CAAC;AAC3B,SAAA;KACF;IAQD,iBAAiB,GAAA;AACf,QAAA,IAAI,CAAC,WAAW,GAAG,CAAC,IAAI,CAAC,WAAW,CAAC;KACtC;;gHA7BU,mBAAmB,EAAA,IAA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