@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-common.mjs","sources":["../../../../projects/acorex/components/common/src/classes/events.class.ts","../../../../projects/acorex/components/common/src/classes/components.class.ts","../../../../projects/acorex/components/common/src/classes/styles.class.ts","../../../../projects/acorex/components/common/src/directives/auto-focus.directive.ts","../../../../projects/acorex/components/common/src/directives/debounce-time.directive.ts","../../../../projects/acorex/components/common/src/services/hotkey.service.ts","../../../../projects/acorex/components/common/src/directives/hotkey.directive.ts","../../../../projects/acorex/components/common/src/directives/infinite-scroll.directive.ts","../../../../projects/acorex/components/common/src/directives/responsive.directive.ts","../../../../projects/acorex/components/common/src/services/custom-cdk-overlay.service.ts","../../../../projects/acorex/components/common/src/services/overlay.service.ts","../../../../projects/acorex/components/common/src/common.module.ts","../../../../projects/acorex/components/common/acorex-components-common.ts"],"sourcesContent":["/**\r\n * Contains native event\r\n * @category Events\r\n */\r\nexport class AXEvent {\r\n /**\r\n * The sender component\r\n */\r\n component: any;\r\n /**\r\n * The root native element\r\n */\r\n htmlElement?: HTMLElement;\r\n\r\n isUserInteraction?: boolean = false;\r\n}\r\n\r\n/**\r\n * Contains native event\r\n * @category Events\r\n */\r\nexport class AXHtmlEvent<E extends Event = Event> extends AXEvent {\r\n nativeEvent?: E;\r\n}\r\n\r\n/**\r\n * Contains native event\r\n * @category Events\r\n */\r\nexport class AXValueChangedEvent<T = any> extends AXEvent {\r\n name?: string;\r\n value?: T;\r\n oldValue?: T;\r\n}\r\n\r\n/**\r\n * Fires each time the user click the element.\r\n * @category Events\r\n */\r\nexport class AXClickEvent extends AXHtmlEvent<MouseEvent> {\r\n /**\r\n * uses for extra data\r\n */\r\n data?: any;\r\n\r\n nativeEvent?: any;\r\n}\r\n\r\n/**\r\n * Fires each time the user click the element.\r\n * @category Events\r\n */\r\nexport class AXButtonClickEvent extends AXClickEvent {\r\n name: string;\r\n}\r\n\r\n/**\r\n * Fires each time the user click the element.\r\n * @category Events\r\n */\r\nexport class AXItemClickEvent<T> extends AXHtmlEvent<MouseEvent> {\r\n item: T;\r\n}\r\n\r\n/**\r\n * Fires each time the component gets focused.\r\n * @category Events\r\n */\r\nexport class AXFocusEvent extends AXHtmlEvent<FocusEvent> { }\r\n\r\n/**\r\n * Fires each time an item or multiple items selected by the user or value.\r\n * @category Events\r\n */\r\nexport class AXSelectionValueChangedEvent extends AXValueChangedEvent<\r\n any | any[]\r\n> {\r\n value?: any;\r\n oldValue?: any;\r\n selectedKeys?: any[];\r\n selectedItems?: any[];\r\n}\r\n\r\n/**\r\n * Contains range start & end values\r\n * @category Events\r\n */\r\nexport class AXRangeChangedEvent<T> extends AXEvent {\r\n /**\r\n * The range start value\r\n */\r\n start?: T;\r\n /**\r\n * The range end value\r\n */\r\n end?: T;\r\n}\r\n","import { EventEmitter, Injectable } from '@angular/core';\r\nimport { AXEvent, AXValueChangedEvent } from './events.class';\r\n\r\nexport const TAB_META_KEY = '__meta__';\r\n\r\nexport class AXComponentCloseEvent extends AXEvent {\r\n data?: any;\r\n}\r\nexport class AXComponentClosing {\r\n cancel: boolean = false;\r\n data?: any;\r\n}\r\n\r\nexport class AXComponentResult {\r\n sender: any;\r\n data?: any;\r\n}\r\n\r\n/**\r\n * Defines a CSS class—or multiple classes separated by spaces— which are applied to a span element inside the Button. Allows the usage of custom icons after the primary text.\r\n */\r\nexport class AXComponentClosedPromise extends Promise<AXComponentResult> {\r\n private closeMethod: () => void;\r\n constructor(\r\n executor: (\r\n resolve: (value?: AXComponentResult | PromiseLike<AXComponentResult>) => void,\r\n reject: (reason?: any) => void\r\n ) => void\r\n ) {\r\n //TODO: check ts error\r\n //@ts-ignore\r\n super(executor);\r\n }\r\n\r\n public close() {\r\n if (this.closeMethod) {\r\n this.closeMethod();\r\n }\r\n }\r\n}\r\n\r\n\r\n\r\n@Injectable()\r\nexport abstract class AXComponent {\r\n}\r\n\r\n@Injectable()\r\nexport abstract class AXClosbaleComponent extends AXComponent {\r\n abstract close(): void;\r\n}\r\n\r\n@Injectable()\r\nexport abstract class AXSearchableComponent extends AXComponent {\r\n abstract search(value: string): void;\r\n}\r\n\r\n@Injectable()\r\nexport abstract class AXValuableComponent extends AXComponent {\r\n abstract onValueChanged: EventEmitter<AXValueChangedEvent<any>>;\r\n abstract value: any;\r\n}\r\n\r\n@Injectable()\r\nexport abstract class AXFocusableComponent extends AXComponent {\r\n abstract focus();\r\n}\r\n\r\nexport interface AXPagedComponentInterface {\r\n goToPage(page: number);\r\n get totalCount(): number;\r\n get pageSize(): number;\r\n onPageChanged: EventEmitter<AXValueChangedEvent<number>>;\r\n}\r\n\r\n@Injectable()\r\nexport abstract class AXPagedComponent\r\n extends AXComponent\r\n implements AXPagedComponentInterface\r\n{\r\n abstract goToPage(page: number);\r\n abstract get totalCount(): number;\r\n abstract pageSize: number;\r\n abstract onPageChanged: EventEmitter<AXValueChangedEvent<number>>;\r\n}\r\n","export const AX_STYLE_COLOR_TYPES =\r\n [\r\n 'primary'\r\n , 'secondary'\r\n , 'info'\r\n , 'danger'\r\n , 'success'\r\n , 'warning'\r\n , 'light'\r\n , 'dark'\r\n ];\r\n\r\n/**\r\n * A token that specifies the color style of component.\r\n */\r\nexport type AXStyleColorType =\r\n | 'primary'\r\n | 'secondary'\r\n | 'danger'\r\n | 'success'\r\n | 'warning'\r\n | 'ghost'\r\n\r\nexport type AXStyleLookType =\r\n | 'default'\r\n | 'blank'\r\n | 'outline'\r\n\r\nexport const AX_LOCATIONS = [\r\n 'bottom-start',\r\n 'bottom-center',\r\n 'bottom-end',\r\n 'top-start',\r\n 'top-center',\r\n 'top-end',\r\n 'center-end',\r\n 'center-start'\r\n];\r\nexport type AXLocation =\r\n | 'bottom-start'\r\n | 'bottom-center'\r\n | 'bottom-end'\r\n | 'top-start'\r\n | 'top-center'\r\n | 'top-end'\r\n | 'center-end'\r\n | 'center-start';\r\n\r\nexport const AX_DIRECTIONS = ['vertical', 'horizontal'];\r\n/**\r\n * A token that specifies the direction of component.\r\n */\r\nexport type AXDirection = 'vertical' | 'horizontal';\r\n\r\n/**\r\n * A token that specifies the selection mode of component.\r\n */\r\nexport type AXSelectionMode = 'single' | 'multiple';\r\n","import {\r\n AfterContentInit,\r\n Directive,\r\n ElementRef,\r\n Host,\r\n Input,\r\n Optional,\r\n Self,\r\n} from '@angular/core';\r\nimport { AXFocusableComponent } from '../classes/components.class';\r\n\r\n@Directive({\r\n selector: '[axAutoFocus]',\r\n})\r\nexport class AXAutoFocusDirective implements AfterContentInit {\r\n\r\n @Input('axAutoFocus')\r\n public autoFocus?: boolean = true;\r\n\r\n constructor(\r\n private el: ElementRef<HTMLElement>,\r\n @Host()\r\n @Self()\r\n @Optional()\r\n public _host: AXFocusableComponent\r\n ) { }\r\n\r\n\r\n @Input('focus-time')\r\n time: number = 100;\r\n\r\n ngAfterContentInit(): void {\r\n if (this.autoFocus) {\r\n const list = [\r\n 'button',\r\n 'input',\r\n '[href]',\r\n 'select',\r\n 'textarea',\r\n '[tabindex]',\r\n ].map((c) => c + ':not([tabindex=\"-1\"])');\r\n\r\n const focusable =\r\n this.el.nativeElement.querySelector<HTMLElement>(list.join(', ')) ??\r\n this.el.nativeElement;\r\n \r\n const attr = document.createAttribute('autofocus');\r\n focusable.setAttributeNode(attr);\r\n const hasTabindex = focusable.hasAttribute('tabindex');\r\n if (!hasTabindex) {\r\n focusable.setAttribute('tabIndex', '0');\r\n }\r\n setTimeout(() => {\r\n focusable.focus();\r\n }, 100);\r\n }\r\n }\r\n}\r\n","import { Directive, EventEmitter, Input, OnDestroy, Output } from \"@angular/core\";\r\nimport { NgModel } from \"@angular/forms\";\r\nimport { debounceTime, distinctUntilChanged, skip, Subscription } from \"rxjs\";\r\n\r\n@Directive({\r\n selector: '[ngModelChangeDebounced]',\r\n})\r\nexport class AXNgModelChangeDebouncedDirective implements OnDestroy {\r\n\r\n @Output()\r\n ngModelChangeDebounced = new EventEmitter<any>();\r\n\r\n @Output()\r\n ngModelChangeDebounceTimeChange = new EventEmitter<number>()\r\n\r\n private _ngModelChangeDebounceTime: number = 0;\r\n @Input()\r\n public get ngModelChangeDebounceTime(): number {\r\n return this._ngModelChangeDebounceTime;\r\n }\r\n public set ngModelChangeDebounceTime(v: number) {\r\n if (v != this._ngModelChangeDebounceTime) {\r\n this._ngModelChangeDebounceTime = v;\r\n this.ngModelChangeDebounceTimeChange.emit(v);\r\n this.update()\r\n }\r\n }\r\n\r\n private subscription: Subscription;\r\n\r\n ngOnDestroy() {\r\n this.subscription.unsubscribe();\r\n }\r\n\r\n constructor(private ngModel: NgModel) {\r\n this.ngModelChangeDebounceTime = 0;\r\n }\r\n\r\n private update() {\r\n this.subscription?.unsubscribe();\r\n //\r\n this.subscription = this.ngModel.control.valueChanges.pipe(\r\n skip(1), // skip initial value\r\n distinctUntilChanged(),\r\n debounceTime(this.ngModelChangeDebounceTime)\r\n ).subscribe((value) => this.ngModelChangeDebounced.emit(value));\r\n }\r\n}","import { DOCUMENT } from '@angular/common';\r\nimport { Inject, Injectable } from '@angular/core';\r\nimport { EventManager } from '@angular/platform-browser';\r\nimport { Observable } from 'rxjs/internal/Observable';\r\n\r\ntype Options = {\r\n element: any;\r\n keys: string;\r\n};\r\n\r\n@Injectable({ providedIn: 'root' })\r\nexport class AXHotkeysService {\r\n defaults: Partial<Options> = {\r\n element: this.document,\r\n };\r\n\r\n constructor(\r\n private eventManager: EventManager,\r\n @Inject(DOCUMENT) private document: Document\r\n ) {}\r\n\r\n addShortcut(options: Partial<Options>) {\r\n const merged = { ...this.defaults, ...options };\r\n const event = `keydown.${merged.keys}`;\r\n\r\n return new Observable((observer) => {\r\n const handler = (e: UIEvent) => {\r\n e.preventDefault();\r\n observer.next(e);\r\n };\r\n\r\n const dispose = this.eventManager.addEventListener(\r\n merged.element,\r\n event,\r\n handler\r\n );\r\n\r\n return () => {\r\n dispose();\r\n };\r\n });\r\n }\r\n}\r\n","import {\r\n AfterViewInit,\r\n Directive,\r\n ElementRef,\r\n Host,\r\n Input,\r\n Optional,\r\n Self,\r\n} from '@angular/core';\r\nimport { Subscription } from 'rxjs';\r\nimport { AXComponent } from '../classes/components.class';\r\nimport { AXHotkeysService } from '../services/hotkey.service';\r\n\r\nexport type AXHotKeyAction = { [key: string]: string | Function; parmas?: any };\r\n\r\n@Directive({\r\n selector: '[hotkey]',\r\n})\r\nexport class AXHotkeyDirective implements AfterViewInit {\r\n @Input('hotkey')\r\n public hotkey: string | AXHotKeyAction | AXHotKeyAction[] = '';\r\n\r\n private _subs: Subscription[] = [];\r\n\r\n constructor(\r\n private el: ElementRef<HTMLElement>,\r\n @Host()\r\n @Self()\r\n @Optional()\r\n public _host: AXComponent,\r\n private hs: AXHotkeysService\r\n ) {}\r\n\r\n ngAfterViewInit(): void {\r\n if (!this.hotkey || !this._host) return;\r\n\r\n if (typeof this.hotkey == 'string') {\r\n this._addDefaultAction(this.hotkey);\r\n } else if (typeof this.hotkey == 'object' && !Array.isArray(this.hotkey)) {\r\n this._addHotKeyAction([this.hotkey as AXHotKeyAction]);\r\n } else if (Array.isArray(this.hotkey)) {\r\n this._addHotKeyAction(this.hotkey);\r\n }\r\n }\r\n\r\n private _addDefaultAction(hotkey: string) {\r\n this._subs.push(\r\n this.hs.addShortcut({ keys: hotkey }).subscribe(() => {\r\n ['click', 'toggle', 'open', 'focus'].forEach((a) => {\r\n if (this._host[a]) {\r\n this._host[a]();\r\n return;\r\n }\r\n });\r\n })\r\n );\r\n }\r\n\r\n private _addHotKeyAction(hotkeys: AXHotKeyAction[]) {\r\n hotkeys.forEach((k) => {\r\n const hotkey = (<unknown>Object.entries(k)[0][0]) as string;\r\n const action = <unknown>Object.entries(k)[0][1];\r\n if (!action) this._addDefaultAction(hotkey);\r\n else {\r\n this._subs.push(\r\n this.hs.addShortcut({ keys: hotkey }).subscribe(() => {\r\n if (typeof action == 'string' && this._host[action]) {\r\n this._host[action]();\r\n return;\r\n }\r\n if (typeof action == 'function') {\r\n action();\r\n return;\r\n }\r\n })\r\n );\r\n }\r\n });\r\n }\r\n\r\n ngOnDestroy() {\r\n this._subs.forEach((s) => {\r\n s.unsubscribe();\r\n });\r\n }\r\n}\r\n","import { Directive, AfterViewInit, ElementRef, Input } from '@angular/core';\r\nimport { fromEvent, Observable } from 'rxjs';\r\nimport { exhaustMap, filter, map, pairwise, startWith } from 'rxjs/operators';\r\n\r\n\r\nexport interface AXScrollPosition {\r\n scrollHeight: number;\r\n scrollTop: number;\r\n clientHeight: number;\r\n};\r\n\r\nconst AX_DEFAULT_SCROLL_POSITION: AXScrollPosition = {\r\n scrollHeight: 0,\r\n scrollTop: 0,\r\n clientHeight: 0\r\n};\r\n\r\n@Directive({\r\n selector: '[axInfiniteScroller]'\r\n})\r\nexport class AXInfiniteScrollerDirective implements AfterViewInit {\r\n\r\n private scrollEvent$: Observable<any>;\r\n\r\n private userScrolledDown$: Observable<any>;\r\n\r\n\r\n private requestOnScroll$: Observable<any>;\r\n\r\n @Input()\r\n scrollCallback: Function;\r\n\r\n @Input()\r\n immediateCallback;\r\n\r\n @Input()\r\n scrollPercent = 70;\r\n\r\n constructor(private elm: ElementRef) { }\r\n\r\n ngAfterViewInit() {\r\n\r\n this.registerScrollEvent();\r\n\r\n this.streamScrollEvents();\r\n\r\n this.requestCallbackOnScroll();\r\n\r\n }\r\n\r\n private registerScrollEvent() {\r\n\r\n this.scrollEvent$ = fromEvent(this.elm.nativeElement, 'scroll');\r\n\r\n }\r\n\r\n private streamScrollEvents() {\r\n this.userScrolledDown$ = this.scrollEvent$\r\n .pipe(\r\n map((e: any): AXScrollPosition => ({\r\n scrollHeight: e.target.scrollHeight,\r\n scrollTop: e.target.scrollTop,\r\n clientHeight: e.target.clientHeight\r\n })),\r\n pairwise(),\r\n filter(positions => this.isUserScrollingDown(positions) && this.isScrollExpectedPercent(positions[1]))\r\n );\r\n }\r\n\r\n private requestCallbackOnScroll() {\r\n this.requestOnScroll$ = this.userScrolledDown$;\r\n\r\n if (this.immediateCallback) {\r\n this.requestOnScroll$ = this.requestOnScroll$.pipe(\r\n startWith([AX_DEFAULT_SCROLL_POSITION, AX_DEFAULT_SCROLL_POSITION])\r\n );\r\n }\r\n\r\n this.requestOnScroll$.pipe(\r\n exhaustMap(() => {\r\n return this.scrollCallback();\r\n }))\r\n //.subscribe((data) => { console.log(data) }, (err) => console.log(err));\r\n\r\n }\r\n\r\n private isUserScrollingDown = (positions) => {\r\n return positions[0].sT < positions[1].sT;\r\n }\r\n\r\n private isScrollExpectedPercent = (position) => {\r\n return ((position.sT + position.cH) / position.sH) > (this.scrollPercent / 100);\r\n }\r\n\r\n}","import { Directive, ElementRef, OnDestroy } from '@angular/core';\r\n\r\n@Directive({ selector: '[ax-responsive]' })\r\nexport class AXResponsiveDirective implements OnDestroy {\r\n\r\n private _observer: ResizeObserver = new ResizeObserver(entries => {\r\n for (let entry of entries) {\r\n\r\n if (entry.target) {\r\n const e = entry.target;\r\n const elements = [e, ...Array.from(e.querySelectorAll(`[class*='sm:']`))];\r\n elements.map(c => ({\r\n element: c,\r\n classList: Array.from(c.classList).filter(c => c.includes('sm')).map(c => c.slice(3))\r\n })).forEach(c => {\r\n e.clientWidth < 320 ? c.element.classList.add(...c.classList) : c.element.classList.remove(...c.classList);\r\n });\r\n }\r\n }\r\n });;\r\n\r\n constructor(private _elementRef: ElementRef<HTMLDivElement>) {\r\n this._observer.observe(_elementRef.nativeElement);\r\n }\r\n\r\n ngOnDestroy() {\r\n this._observer.disconnect();\r\n this._observer.unobserve(this._elementRef.nativeElement);\r\n }\r\n\r\n}","import {\r\n Overlay,\r\n OverlayKeyboardDispatcher,\r\n OverlayPositionBuilder,\r\n ScrollStrategyOptions,\r\n OverlayContainer,\r\n OverlayRef,\r\n OverlayConfig,\r\n OverlayOutsideClickDispatcher,\r\n} from '@angular/cdk/overlay';\r\n\r\n// TODO: 'ComponentFactoryResolver' is deprecated.\r\nimport {\r\n ComponentFactoryResolver,\r\n Inject,\r\n Injector,\r\n NgZone,\r\n Renderer2,\r\n RendererFactory2,\r\n Injectable,\r\n} from '@angular/core';\r\n\r\nimport { Directionality } from '@angular/cdk/bidi';\r\nimport { DOCUMENT, Location } from '@angular/common';\r\n\r\n@Injectable({\r\n providedIn: 'root',\r\n})\r\nexport class DynamicOverlayContainer extends OverlayContainer {\r\n public setContainerElement(containerElement: HTMLElement): void {\r\n this._containerElement = containerElement;\r\n }\r\n}\r\n\r\n@Injectable({\r\n providedIn: 'root',\r\n})\r\nexport class DynamicOverlay extends Overlay {\r\n private readonly _dynamicOverlayContainer: DynamicOverlayContainer;\r\n private renderer: Renderer2;\r\n\r\n constructor(\r\n scrollStrategies: ScrollStrategyOptions,\r\n _overlayContainer: DynamicOverlayContainer,\r\n _componentFactoryResolver: ComponentFactoryResolver,\r\n _positionBuilder: OverlayPositionBuilder,\r\n _keyboardDispatcher: OverlayKeyboardDispatcher,\r\n _injector: Injector,\r\n _ngZone: NgZone,\r\n @Inject(DOCUMENT) _document: any,\r\n _directionality: Directionality,\r\n rendererFactory: RendererFactory2,\r\n _location: Location,\r\n _outsideClickDispatcher: OverlayOutsideClickDispatcher\r\n ) {\r\n super(\r\n scrollStrategies,\r\n _overlayContainer,\r\n _componentFactoryResolver,\r\n _positionBuilder,\r\n _keyboardDispatcher,\r\n _injector,\r\n _ngZone,\r\n _document,\r\n _directionality,\r\n _location,\r\n _outsideClickDispatcher\r\n );\r\n this.renderer = rendererFactory.createRenderer(null, null);\r\n\r\n this._dynamicOverlayContainer = _overlayContainer;\r\n }\r\n\r\n private setContainerElement(containerElement: HTMLElement): void {\r\n this.renderer.setStyle(containerElement, 'transform', 'translateZ(0)');\r\n this._dynamicOverlayContainer.setContainerElement(containerElement);\r\n }\r\n\r\n public createOn(\r\n containerElement: HTMLElement,\r\n config?: OverlayConfig\r\n ): OverlayRef {\r\n this.setContainerElement(containerElement);\r\n return super.create(config);\r\n }\r\n}\r\n","import { Injectable, ApplicationRef, ViewContainerRef, TemplateRef } from '@angular/core';\r\nimport { ConnectedPosition, Overlay, OverlayPositionBuilder, PositionStrategy, ScrollStrategy } from '@angular/cdk/overlay';\r\nimport { TemplatePortal, Portal, ComponentPortal } from '@angular/cdk/portal';\r\nimport { merge } from 'rxjs';\r\nimport { DynamicOverlay } from './custom-cdk-overlay.service';\r\nimport { AXConnectedPosition } from '../classes/drawing.class';\r\n\r\nexport interface AXOverlayViewRef {\r\n instance: any;\r\n dispose: () => void;\r\n isOpen: () => boolean;\r\n}\r\n\r\nexport interface AXOverlayConfigs {\r\n position?: AXConnectedPosition | AXConnectedPosition[] | PositionStrategy;\r\n hasBackdrop?: boolean;\r\n transparentBackdrop?: boolean;\r\n closeOnClickOutside?: boolean;\r\n targetElement?: HTMLElement;\r\n containerElement?: HTMLElement;\r\n onBackdropClick?: () => void;\r\n panelClass?: string[] | string;\r\n backdropClass?: string[] | string;\r\n scroll?: 'auto' | 'block' | 'close';\r\n}\r\n\r\n@Injectable({ providedIn: 'root' })\r\nexport class AXOverlayService {\r\n constructor(\r\n private overlayService: DynamicOverlay,\r\n private overlayService2: Overlay,\r\n private appRef: ApplicationRef) {\r\n\r\n }\r\n\r\n position(): OverlayPositionBuilder {\r\n return this.overlayService.position();\r\n }\r\n\r\n show(content: any, context?: any, configs?: AXOverlayConfigs): AXOverlayViewRef {\r\n configs = Object.assign({\r\n hasBackdrop: true,\r\n transparentBackdrop: true,\r\n closeOnClickOutside: true\r\n }, configs || {});\r\n // get root viewref\r\n const viewRef: ViewContainerRef = this.appRef.components[0].instance.viewRef;\r\n\r\n let portal: Portal<any>;\r\n // get component by route\r\n if (typeof content === 'string') {\r\n // TODO\r\n }\r\n // create portal from component\r\n else if (content instanceof TemplateRef) {\r\n portal = new TemplatePortal(content, viewRef, context);\r\n }\r\n else if (typeof content === 'function') {\r\n portal = new ComponentPortal(content, viewRef);\r\n }\r\n let positionStrategy: PositionStrategy;\r\n if (configs.position && configs.targetElement) {\r\n const p: ConnectedPosition[] = Array.isArray(configs.position) ? (configs.position as ConnectedPosition[]) : [configs.position as ConnectedPosition];\r\n positionStrategy = this.overlayService.position()\r\n .flexibleConnectedTo(configs.targetElement)\r\n .withPositions(p)\r\n .withPush(true);\r\n }\r\n else {\r\n positionStrategy = configs.position ?\r\n configs.position as PositionStrategy :\r\n this.overlayService.position().global().centerHorizontally().centerVertically();\r\n }\r\n let scrollStrategy: ScrollStrategy = this.overlayService.scrollStrategies.reposition({ autoClose: true });\r\n if (configs.scroll === 'block') {\r\n scrollStrategy = this.overlayService.scrollStrategies.block();\r\n }\r\n if (configs.scroll === 'close') {\r\n scrollStrategy = this.overlayService.scrollStrategies.close();\r\n }\r\n\r\n const config = {\r\n positionStrategy,\r\n scrollStrategy,\r\n hasBackdrop: configs.hasBackdrop,\r\n disposeOnNavigation: true,\r\n backdropClass: configs.backdropClass ? configs.backdropClass : (configs.transparentBackdrop ? 'cdk-overlay-transparent-backdrop' : undefined),\r\n panelClass: configs.panelClass ? configs.panelClass : ['ax-animate-animated', 'ax-animate-zoomIn', 'ax-animate-faster']\r\n };\r\n let overlayRef: any = configs.containerElement ? this.overlayService.createOn(configs.containerElement, config) : this.overlayService2.create(config);\r\n\r\n const host = overlayRef.attach(portal!);\r\n if (host.instance) {\r\n Object.assign(host.instance, context);\r\n setTimeout(() => {\r\n host.changeDetectorRef.detectChanges();\r\n }, 0);\r\n }\r\n if (configs.closeOnClickOutside) {\r\n merge(\r\n overlayRef.backdropClick(),\r\n overlayRef.detachments(),\r\n ).subscribe(() => {\r\n overlayRef.dispose();\r\n overlayRef = undefined;\r\n if (configs!.onBackdropClick) {\r\n configs!.onBackdropClick();\r\n }\r\n });\r\n\r\n }\r\n return {\r\n instance: host.instance,\r\n dispose: overlayRef.dispose.bind(overlayRef),\r\n isOpen: () => {\r\n return overlayRef.hasAttached();\r\n }\r\n };\r\n }\r\n\r\n}","import { NgModule } from '@angular/core';\r\nimport { AXAutoFocusDirective } from './directives/auto-focus.directive';\r\nimport { AXNgModelChangeDebouncedDirective } from './directives/debounce-time.directive';\r\nimport { AXHotkeyDirective } from './directives/hotkey.directive';\r\nimport { AXInfiniteScrollerDirective } from './directives/infinite-scroll.directive';\r\nimport { AXResponsiveDirective } from './directives/responsive.directive';\r\n@NgModule({\r\n imports: [],\r\n exports: [\r\n AXResponsiveDirective,\r\n AXInfiniteScrollerDirective,\r\n AXAutoFocusDirective,\r\n AXNgModelChangeDebouncedDirective,\r\n AXHotkeyDirective,\r\n ],\r\n declarations: [\r\n AXResponsiveDirective,\r\n AXInfiniteScrollerDirective,\r\n AXNgModelChangeDebouncedDirective,\r\n AXAutoFocusDirective,\r\n AXHotkeyDirective,\r\n ],\r\n providers: [],\r\n})\r\nexport class AXCommonModule { }\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":["i1.AXFocusableComponent","i1.AXComponent","i2.AXHotkeysService","i1","i1.DynamicOverlay","i2"],"mappings":";;;;;;;;;;;;;;AAAA;;;AAGG;MACU,OAAO,CAAA;AAApB,IAAA,WAAA,GAAA;QAUE,IAAiB,CAAA,iBAAA,GAAa,KAAK,CAAC;KACrC;AAAA,CAAA;AAED;;;AAGG;AACG,MAAO,WAAqC,SAAQ,OAAO,CAAA;AAEhE,CAAA;AAED;;;AAGG;AACG,MAAO,mBAA6B,SAAQ,OAAO,CAAA;AAIxD,CAAA;AAED;;;AAGG;AACG,MAAO,YAAa,SAAQ,WAAuB,CAAA;AAOxD,CAAA;AAED;;;AAGG;AACG,MAAO,kBAAmB,SAAQ,YAAY,CAAA;AAEnD,CAAA;AAED;;;AAGG;AACG,MAAO,gBAAoB,SAAQ,WAAuB,CAAA;AAE/D,CAAA;AAED;;;AAGG;AACG,MAAO,YAAa,SAAQ,WAAuB,CAAA;AAAI,CAAA;AAE7D;;;AAGG;AACG,MAAO,4BAA6B,SAAQ,mBAEjD,CAAA;AAKA,CAAA;AAED;;;AAGG;AACG,MAAO,mBAAuB,SAAQ,O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AAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,cAAc,iBARvB,qBAAqB;QACrB,2BAA2B;QAC3B,iCAAiC;QACjC,oBAAoB;AACpB,QAAA,iBAAiB,aAXjB,qBAAqB;QACrB,2BAA2B;QAC3B,oBAAoB;QACpB,iCAAiC;QACjC,iBAAiB,CAAA,EAAA,CAAA,CAAA;4GAWR,cAAc,EAAA,CAAA,CAAA;2FAAd,cAAc,EAAA,UAAA,EAAA,CAAA;kBAlB1B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,OAAO,EAAE,EAAE;AACX,oBAAA,OAAO,EAAE;wBACP,qBAAqB;wBACrB,2BAA2B;wBAC3B,oBAAoB;wBACpB,iCAAiC;wBACjC,iBAAiB;AAClB,qBAAA;AACD,oBAAA,YAAY,EAAE;wBACZ,qBAAqB;wBACrB,2BAA2B;wBAC3B,iCAAiC;wBACjC,oBAAoB;wBACpB,iBAAiB;AAClB,qBAAA;AACD,oBAAA,SAAS,EAAE,EAAE;AACd,iBAAA,CAAA;;;ACvBD;;AAEG;;;;"}
1
+ {"version":3,"file":"acorex-components-common.mjs","sources":["../../../../projects/acorex/components/common/src/classes/events.class.ts","../../../../projects/acorex/components/common/src/classes/components.class.ts","../../../../projects/acorex/components/common/src/classes/styles.class.ts","../../../../projects/acorex/components/common/src/directives/auto-focus.directive.ts","../../../../projects/acorex/components/common/src/directives/debounce-time.directive.ts","../../../../projects/acorex/components/common/src/services/hotkey.service.ts","../../../../projects/acorex/components/common/src/directives/hotkey.directive.ts","../../../../projects/acorex/components/common/src/directives/infinite-scroll.directive.ts","../../../../projects/acorex/components/common/src/directives/responsive.directive.ts","../../../../projects/acorex/components/common/src/services/custom-cdk-overlay.service.ts","../../../../projects/acorex/components/common/src/services/overlay.service.ts","../../../../projects/acorex/components/common/src/common.module.ts","../../../../projects/acorex/components/common/acorex-components-common.ts"],"sourcesContent":["/**\r\n * Contains native event\r\n * @category Events\r\n */\r\nexport class AXEvent {\r\n /**\r\n * The sender component\r\n */\r\n component: any;\r\n /**\r\n * The root native element\r\n */\r\n htmlElement?: HTMLElement;\r\n\r\n isUserInteraction?: boolean = false;\r\n}\r\n\r\n/**\r\n * Contains native event\r\n * @category Events\r\n */\r\nexport class AXHtmlEvent<E extends Event = Event> extends AXEvent {\r\n nativeEvent?: E;\r\n}\r\n\r\n/**\r\n * Contains native event\r\n * @category Events\r\n */\r\nexport class AXValueChangedEvent<T = any> extends AXEvent {\r\n name?: string;\r\n value?: T;\r\n oldValue?: T;\r\n}\r\n\r\n/**\r\n * Fires each time the user click the element.\r\n * @category Events\r\n */\r\nexport class AXClickEvent extends AXHtmlEvent<MouseEvent> {\r\n /**\r\n * uses for extra data\r\n */\r\n data?: any;\r\n\r\n nativeEvent?: any;\r\n}\r\n\r\n/**\r\n * Fires each time the user click the element.\r\n * @category Events\r\n */\r\nexport class AXButtonClickEvent extends AXClickEvent {\r\n name: string;\r\n}\r\n\r\n/**\r\n * Fires each time the user click the element.\r\n * @category Events\r\n */\r\nexport class AXItemClickEvent<T> extends AXHtmlEvent<MouseEvent> {\r\n item: T;\r\n}\r\n\r\n/**\r\n * Fires each time the component gets focused.\r\n * @category Events\r\n */\r\nexport class AXFocusEvent extends AXHtmlEvent<FocusEvent> { }\r\n\r\n/**\r\n * Fires each time an item or multiple items selected by the user or value.\r\n * @category Events\r\n */\r\nexport class AXSelectionValueChangedEvent extends AXValueChangedEvent<\r\n any | any[]\r\n> {\r\n value?: any;\r\n oldValue?: any;\r\n selectedKeys?: any[];\r\n selectedItems?: any[];\r\n}\r\n\r\n/**\r\n * Contains range start & end values\r\n * @category Events\r\n */\r\nexport class AXRangeChangedEvent<T> extends AXEvent {\r\n /**\r\n * The range start value\r\n */\r\n start?: T;\r\n /**\r\n * The range end value\r\n */\r\n end?: T;\r\n}\r\n","import { EventEmitter, Injectable } from '@angular/core';\r\nimport { AXEvent, AXValueChangedEvent } from './events.class';\r\n\r\nexport const TAB_META_KEY = '__meta__';\r\n\r\nexport class AXComponentCloseEvent extends AXEvent {\r\n data?: any;\r\n}\r\nexport class AXComponentClosing {\r\n cancel: boolean = false;\r\n data?: any;\r\n}\r\n\r\nexport class AXComponentResult {\r\n sender: any;\r\n data?: any;\r\n}\r\n\r\n/**\r\n * Defines a CSS class—or multiple classes separated by spaces— which are applied to a span element inside the Button. Allows the usage of custom icons after the primary text.\r\n */\r\nexport class AXComponentClosedPromise extends Promise<AXComponentResult> {\r\n private closeMethod: () => void;\r\n constructor(\r\n executor: (\r\n resolve: (value?: AXComponentResult | PromiseLike<AXComponentResult>) => void,\r\n reject: (reason?: any) => void\r\n ) => void\r\n ) {\r\n super(executor);\r\n }\r\n\r\n public close() {\r\n if (this.closeMethod) {\r\n this.closeMethod();\r\n }\r\n }\r\n}\r\n\r\n\r\n\r\n@Injectable()\r\nexport abstract class AXComponent {\r\n}\r\n\r\n@Injectable()\r\nexport abstract class AXClosbaleComponent extends AXComponent {\r\n abstract close(): void;\r\n}\r\n\r\n@Injectable()\r\nexport abstract class AXSearchableComponent extends AXComponent {\r\n abstract search(value: string): void;\r\n}\r\n\r\n@Injectable()\r\nexport abstract class AXValuableComponent extends AXComponent {\r\n abstract onValueChanged: EventEmitter<AXValueChangedEvent<any>>;\r\n abstract value: any;\r\n}\r\n\r\n@Injectable()\r\nexport abstract class AXFocusableComponent extends AXComponent {\r\n abstract focus();\r\n}\r\n\r\nexport interface AXPagedComponentInterface {\r\n goToPage(page: number);\r\n get totalCount(): number;\r\n get pageSize(): number;\r\n onPageChanged: EventEmitter<AXValueChangedEvent<number>>;\r\n}\r\n\r\n@Injectable()\r\nexport abstract class AXPagedComponent\r\n extends AXComponent\r\n implements AXPagedComponentInterface\r\n{\r\n abstract goToPage(page: number);\r\n abstract get totalCount(): number;\r\n abstract pageSize: number;\r\n abstract onPageChanged: EventEmitter<AXValueChangedEvent<number>>;\r\n}\r\n","export const AX_STYLE_COLOR_TYPES =\r\n [\r\n 'primary'\r\n , 'secondary'\r\n , 'info'\r\n , 'danger'\r\n , 'success'\r\n , 'warning'\r\n , 'light'\r\n , 'dark'\r\n ];\r\n\r\n/**\r\n * A token that specifies the color style of component.\r\n */\r\nexport type AXStyleColorType =\r\n | 'primary'\r\n | 'secondary'\r\n | 'danger'\r\n | 'success'\r\n | 'warning'\r\n | 'ghost'\r\n\r\nexport type AXStyleLookType =\r\n | 'default'\r\n | 'blank'\r\n | 'outline'\r\n\r\nexport const AX_LOCATIONS = [\r\n 'bottom-start',\r\n 'bottom-center',\r\n 'bottom-end',\r\n 'top-start',\r\n 'top-center',\r\n 'top-end',\r\n 'center-end',\r\n 'center-start'\r\n];\r\nexport type AXLocation =\r\n | 'bottom-start'\r\n | 'bottom-center'\r\n | 'bottom-end'\r\n | 'top-start'\r\n | 'top-center'\r\n | 'top-end'\r\n | 'center-end'\r\n | 'center-start';\r\n\r\nexport const AX_DIRECTIONS = ['vertical', 'horizontal'];\r\n/**\r\n * A token that specifies the direction of component.\r\n */\r\nexport type AXDirection = 'vertical' | 'horizontal';\r\n\r\n/**\r\n * A token that specifies the selection mode of component.\r\n */\r\nexport type AXSelectionMode = 'single' | 'multiple';\r\n","import {\r\n AfterContentInit,\r\n Directive,\r\n ElementRef,\r\n Host,\r\n Input,\r\n Optional,\r\n Self,\r\n} from '@angular/core';\r\nimport { AXFocusableComponent } from '../classes/components.class';\r\n\r\n@Directive({\r\n selector: '[axAutoFocus]',\r\n})\r\nexport class AXAutoFocusDirective implements AfterContentInit {\r\n\r\n @Input('axAutoFocus')\r\n public autoFocus?: boolean = true;\r\n\r\n constructor(\r\n private el: ElementRef<HTMLElement>,\r\n @Host()\r\n @Self()\r\n @Optional()\r\n public _host: AXFocusableComponent\r\n ) { }\r\n\r\n\r\n @Input('focus-time')\r\n time: number = 100;\r\n\r\n ngAfterContentInit(): void {\r\n if (this.autoFocus) {\r\n const list = [\r\n 'button',\r\n 'input',\r\n '[href]',\r\n 'select',\r\n 'textarea',\r\n '[tabindex]',\r\n ].map((c) => c + ':not([tabindex=\"-1\"])');\r\n\r\n const focusable =\r\n this.el.nativeElement.querySelector<HTMLElement>(list.join(', ')) ??\r\n this.el.nativeElement;\r\n \r\n const attr = document.createAttribute('autofocus');\r\n focusable.setAttributeNode(attr);\r\n const hasTabindex = focusable.hasAttribute('tabindex');\r\n if (!hasTabindex) {\r\n focusable.setAttribute('tabIndex', '0');\r\n }\r\n setTimeout(() => {\r\n focusable.focus();\r\n }, 100);\r\n }\r\n }\r\n}\r\n","import { Directive, EventEmitter, Input, OnDestroy, Output } from \"@angular/core\";\r\nimport { NgModel } from \"@angular/forms\";\r\nimport { debounceTime, distinctUntilChanged, skip, Subscription } from \"rxjs\";\r\n\r\n@Directive({\r\n selector: '[ngModelChangeDebounced]',\r\n})\r\nexport class AXNgModelChangeDebouncedDirective implements OnDestroy {\r\n\r\n @Output()\r\n ngModelChangeDebounced = new EventEmitter<any>();\r\n\r\n @Output()\r\n ngModelChangeDebounceTimeChange = new EventEmitter<number>()\r\n\r\n private _ngModelChangeDebounceTime: number = 0;\r\n @Input()\r\n public get ngModelChangeDebounceTime(): number {\r\n return this._ngModelChangeDebounceTime;\r\n }\r\n public set ngModelChangeDebounceTime(v: number) {\r\n if (v != this._ngModelChangeDebounceTime) {\r\n this._ngModelChangeDebounceTime = v;\r\n this.ngModelChangeDebounceTimeChange.emit(v);\r\n this.update()\r\n }\r\n }\r\n\r\n private subscription: Subscription;\r\n\r\n ngOnDestroy() {\r\n this.subscription.unsubscribe();\r\n }\r\n\r\n constructor(private ngModel: NgModel) {\r\n this.ngModelChangeDebounceTime = 0;\r\n }\r\n\r\n private update() {\r\n this.subscription?.unsubscribe();\r\n //\r\n this.subscription = this.ngModel.control.valueChanges.pipe(\r\n skip(1), // skip initial value\r\n distinctUntilChanged(),\r\n debounceTime(this.ngModelChangeDebounceTime)\r\n ).subscribe((value) => this.ngModelChangeDebounced.emit(value));\r\n }\r\n}","import { DOCUMENT } from '@angular/common';\r\nimport { Inject, Injectable } from '@angular/core';\r\nimport { EventManager } from '@angular/platform-browser';\r\nimport { Observable } from 'rxjs/internal/Observable';\r\n\r\ntype Options = {\r\n element: any;\r\n keys: string;\r\n};\r\n\r\n@Injectable({ providedIn: 'root' })\r\nexport class AXHotkeysService {\r\n defaults: Partial<Options> = {\r\n element: this.document,\r\n };\r\n\r\n constructor(\r\n private eventManager: EventManager,\r\n @Inject(DOCUMENT) private document: Document\r\n ) {}\r\n\r\n addShortcut(options: Partial<Options>) {\r\n const merged = { ...this.defaults, ...options };\r\n const event = `keydown.${merged.keys}`;\r\n\r\n return new Observable((observer) => {\r\n const handler = (e: UIEvent) => {\r\n e.preventDefault();\r\n observer.next(e);\r\n };\r\n\r\n const dispose = this.eventManager.addEventListener(\r\n merged.element,\r\n event,\r\n handler\r\n );\r\n\r\n return () => {\r\n dispose();\r\n };\r\n });\r\n }\r\n}\r\n","import {\r\n AfterViewInit,\r\n Directive,\r\n ElementRef,\r\n Host,\r\n Input,\r\n Optional,\r\n Self,\r\n} from '@angular/core';\r\nimport { Subscription } from 'rxjs';\r\nimport { AXComponent } from '../classes/components.class';\r\nimport { AXHotkeysService } from '../services/hotkey.service';\r\n\r\nexport type AXHotKeyAction = { [key: string]: string | Function; parmas?: any };\r\n\r\n@Directive({\r\n selector: '[hotkey]',\r\n})\r\nexport class AXHotkeyDirective implements AfterViewInit {\r\n @Input('hotkey')\r\n public hotkey: string | AXHotKeyAction | AXHotKeyAction[] = '';\r\n\r\n private _subs: Subscription[] = [];\r\n\r\n constructor(\r\n private el: ElementRef<HTMLElement>,\r\n @Host()\r\n @Self()\r\n @Optional()\r\n public _host: AXComponent,\r\n private hs: AXHotkeysService\r\n ) {}\r\n\r\n ngAfterViewInit(): void {\r\n if (!this.hotkey || !this._host) return;\r\n\r\n if (typeof this.hotkey == 'string') {\r\n this._addDefaultAction(this.hotkey);\r\n } else if (typeof this.hotkey == 'object' && !Array.isArray(this.hotkey)) {\r\n this._addHotKeyAction([this.hotkey as AXHotKeyAction]);\r\n } else if (Array.isArray(this.hotkey)) {\r\n this._addHotKeyAction(this.hotkey);\r\n }\r\n }\r\n\r\n private _addDefaultAction(hotkey: string) {\r\n this._subs.push(\r\n this.hs.addShortcut({ keys: hotkey }).subscribe(() => {\r\n ['click', 'toggle', 'open', 'focus'].forEach((a) => {\r\n if (this._host[a]) {\r\n this._host[a]();\r\n return;\r\n }\r\n });\r\n })\r\n );\r\n }\r\n\r\n private _addHotKeyAction(hotkeys: AXHotKeyAction[]) {\r\n hotkeys.forEach((k) => {\r\n const hotkey = (<unknown>Object.entries(k)[0][0]) as string;\r\n const action = <unknown>Object.entries(k)[0][1];\r\n if (!action) this._addDefaultAction(hotkey);\r\n else {\r\n this._subs.push(\r\n this.hs.addShortcut({ keys: hotkey }).subscribe(() => {\r\n if (typeof action == 'string' && this._host[action]) {\r\n this._host[action]();\r\n return;\r\n }\r\n if (typeof action == 'function') {\r\n action();\r\n return;\r\n }\r\n })\r\n );\r\n }\r\n });\r\n }\r\n\r\n ngOnDestroy() {\r\n this._subs.forEach((s) => {\r\n s.unsubscribe();\r\n });\r\n }\r\n}\r\n","import { Directive, AfterViewInit, ElementRef, Input } from '@angular/core';\r\nimport { fromEvent, Observable } from 'rxjs';\r\nimport { exhaustMap, filter, map, pairwise, startWith } from 'rxjs/operators';\r\n\r\n\r\nexport interface AXScrollPosition {\r\n scrollHeight: number;\r\n scrollTop: number;\r\n clientHeight: number;\r\n};\r\n\r\nconst AX_DEFAULT_SCROLL_POSITION: AXScrollPosition = {\r\n scrollHeight: 0,\r\n scrollTop: 0,\r\n clientHeight: 0\r\n};\r\n\r\n@Directive({\r\n selector: '[axInfiniteScroller]'\r\n})\r\nexport class AXInfiniteScrollerDirective implements AfterViewInit {\r\n\r\n private scrollEvent$: Observable<any>;\r\n\r\n private userScrolledDown$: Observable<any>;\r\n\r\n\r\n private requestOnScroll$: Observable<any>;\r\n\r\n @Input()\r\n scrollCallback: Function;\r\n\r\n @Input()\r\n immediateCallback;\r\n\r\n @Input()\r\n scrollPercent = 70;\r\n\r\n constructor(private elm: ElementRef) { }\r\n\r\n ngAfterViewInit() {\r\n\r\n this.registerScrollEvent();\r\n\r\n this.streamScrollEvents();\r\n\r\n this.requestCallbackOnScroll();\r\n\r\n }\r\n\r\n private registerScrollEvent() {\r\n\r\n this.scrollEvent$ = fromEvent(this.elm.nativeElement, 'scroll');\r\n\r\n }\r\n\r\n private streamScrollEvents() {\r\n this.userScrolledDown$ = this.scrollEvent$\r\n .pipe(\r\n map((e: any): AXScrollPosition => ({\r\n scrollHeight: e.target.scrollHeight,\r\n scrollTop: e.target.scrollTop,\r\n clientHeight: e.target.clientHeight\r\n })),\r\n pairwise(),\r\n filter(positions => this.isUserScrollingDown(positions) && this.isScrollExpectedPercent(positions[1]))\r\n );\r\n }\r\n\r\n private requestCallbackOnScroll() {\r\n this.requestOnScroll$ = this.userScrolledDown$;\r\n\r\n if (this.immediateCallback) {\r\n this.requestOnScroll$ = this.requestOnScroll$.pipe(\r\n startWith([AX_DEFAULT_SCROLL_POSITION, AX_DEFAULT_SCROLL_POSITION])\r\n );\r\n }\r\n\r\n this.requestOnScroll$.pipe(\r\n exhaustMap(() => {\r\n return this.scrollCallback();\r\n }))\r\n //.subscribe((data) => { console.log(data) }, (err) => console.log(err));\r\n\r\n }\r\n\r\n private isUserScrollingDown = (positions) => {\r\n return positions[0].sT < positions[1].sT;\r\n }\r\n\r\n private isScrollExpectedPercent = (position) => {\r\n return ((position.sT + position.cH) / position.sH) > (this.scrollPercent / 100);\r\n }\r\n\r\n}","import { Directive, ElementRef, OnDestroy } from '@angular/core';\r\n\r\n@Directive({ selector: '[ax-responsive]' })\r\nexport class AXResponsiveDirective implements OnDestroy {\r\n\r\n private _observer: ResizeObserver = new ResizeObserver(entries => {\r\n for (let entry of entries) {\r\n\r\n if (entry.target) {\r\n const e = entry.target;\r\n const elements = [e, ...Array.from(e.querySelectorAll(`[class*='sm:']`))];\r\n elements.map(c => ({\r\n element: c,\r\n classList: Array.from(c.classList).filter(c => c.includes('sm')).map(c => c.slice(3))\r\n })).forEach(c => {\r\n e.clientWidth < 320 ? c.element.classList.add(...c.classList) : c.element.classList.remove(...c.classList);\r\n });\r\n }\r\n }\r\n });;\r\n\r\n constructor(private _elementRef: ElementRef<HTMLDivElement>) {\r\n this._observer.observe(_elementRef.nativeElement);\r\n }\r\n\r\n ngOnDestroy() {\r\n this._observer.disconnect();\r\n this._observer.unobserve(this._elementRef.nativeElement);\r\n }\r\n\r\n}","import {\r\n Overlay,\r\n OverlayKeyboardDispatcher,\r\n OverlayPositionBuilder,\r\n ScrollStrategyOptions,\r\n OverlayContainer,\r\n OverlayRef,\r\n OverlayConfig,\r\n OverlayOutsideClickDispatcher,\r\n} from '@angular/cdk/overlay';\r\n\r\n// TODO: 'ComponentFactoryResolver' is deprecated.\r\nimport {\r\n ComponentFactoryResolver,\r\n Inject,\r\n Injector,\r\n NgZone,\r\n Renderer2,\r\n RendererFactory2,\r\n Injectable,\r\n} from '@angular/core';\r\n\r\nimport { Directionality } from '@angular/cdk/bidi';\r\nimport { DOCUMENT, Location } from '@angular/common';\r\n\r\n@Injectable({\r\n providedIn: 'root',\r\n})\r\nexport class DynamicOverlayContainer extends OverlayContainer {\r\n public setContainerElement(containerElement: HTMLElement): void {\r\n this._containerElement = containerElement;\r\n }\r\n}\r\n\r\n@Injectable({\r\n providedIn: 'root',\r\n})\r\nexport class DynamicOverlay extends Overlay {\r\n private readonly _dynamicOverlayContainer: DynamicOverlayContainer;\r\n private renderer: Renderer2;\r\n\r\n constructor(\r\n scrollStrategies: ScrollStrategyOptions,\r\n _overlayContainer: DynamicOverlayContainer,\r\n _componentFactoryResolver: ComponentFactoryResolver,\r\n _positionBuilder: OverlayPositionBuilder,\r\n _keyboardDispatcher: OverlayKeyboardDispatcher,\r\n _injector: Injector,\r\n _ngZone: NgZone,\r\n @Inject(DOCUMENT) _document: any,\r\n _directionality: Directionality,\r\n rendererFactory: RendererFactory2,\r\n _location: Location,\r\n _outsideClickDispatcher: OverlayOutsideClickDispatcher\r\n ) {\r\n super(\r\n scrollStrategies,\r\n _overlayContainer,\r\n _componentFactoryResolver,\r\n _positionBuilder,\r\n _keyboardDispatcher,\r\n _injector,\r\n _ngZone,\r\n _document,\r\n _directionality,\r\n _location,\r\n _outsideClickDispatcher\r\n );\r\n this.renderer = rendererFactory.createRenderer(null, null);\r\n\r\n this._dynamicOverlayContainer = _overlayContainer;\r\n }\r\n\r\n private setContainerElement(containerElement: HTMLElement): void {\r\n this.renderer.setStyle(containerElement, 'transform', 'translateZ(0)');\r\n this._dynamicOverlayContainer.setContainerElement(containerElement);\r\n }\r\n\r\n public createOn(\r\n containerElement: HTMLElement,\r\n config?: OverlayConfig\r\n ): OverlayRef {\r\n this.setContainerElement(containerElement);\r\n return super.create(config);\r\n }\r\n}\r\n","import { Injectable, ApplicationRef, ViewContainerRef, TemplateRef } from '@angular/core';\r\nimport { ConnectedPosition, Overlay, OverlayPositionBuilder, PositionStrategy, ScrollStrategy } from '@angular/cdk/overlay';\r\nimport { TemplatePortal, Portal, ComponentPortal } from '@angular/cdk/portal';\r\nimport { merge } from 'rxjs';\r\nimport { DynamicOverlay } from './custom-cdk-overlay.service';\r\nimport { AXConnectedPosition } from '../classes/drawing.class';\r\n\r\nexport interface AXOverlayViewRef {\r\n instance: any;\r\n dispose: () => void;\r\n isOpen: () => boolean;\r\n}\r\n\r\nexport interface AXOverlayConfigs {\r\n position?: AXConnectedPosition | AXConnectedPosition[] | PositionStrategy;\r\n hasBackdrop?: boolean;\r\n transparentBackdrop?: boolean;\r\n closeOnClickOutside?: boolean;\r\n targetElement?: HTMLElement;\r\n containerElement?: HTMLElement;\r\n onBackdropClick?: () => void;\r\n panelClass?: string[] | string;\r\n backdropClass?: string[] | string;\r\n scroll?: 'auto' | 'block' | 'close';\r\n}\r\n\r\n@Injectable({ providedIn: 'root' })\r\nexport class AXOverlayService {\r\n constructor(\r\n private overlayService: DynamicOverlay,\r\n private overlayService2: Overlay,\r\n private appRef: ApplicationRef) {\r\n\r\n }\r\n\r\n position(): OverlayPositionBuilder {\r\n return this.overlayService.position();\r\n }\r\n\r\n show(content: any, context?: any, configs?: AXOverlayConfigs): AXOverlayViewRef {\r\n configs = Object.assign({\r\n hasBackdrop: true,\r\n transparentBackdrop: true,\r\n closeOnClickOutside: true\r\n }, configs || {});\r\n // get root viewref\r\n const viewRef: ViewContainerRef = this.appRef.components[0].instance.viewRef;\r\n\r\n let portal: Portal<any>;\r\n // get component by route\r\n if (typeof content === 'string') {\r\n // TODO: ???\r\n }\r\n // create portal from component\r\n else if (content instanceof TemplateRef) {\r\n portal = new TemplatePortal(content, viewRef, context);\r\n }\r\n else if (typeof content === 'function') {\r\n portal = new ComponentPortal(content, viewRef);\r\n }\r\n let positionStrategy: PositionStrategy;\r\n if (configs.position && configs.targetElement) {\r\n const p: ConnectedPosition[] = Array.isArray(configs.position) ? (configs.position as ConnectedPosition[]) : [configs.position as ConnectedPosition];\r\n positionStrategy = this.overlayService.position()\r\n .flexibleConnectedTo(configs.targetElement)\r\n .withPositions(p)\r\n .withPush(true);\r\n }\r\n else {\r\n positionStrategy = configs.position ?\r\n configs.position as PositionStrategy :\r\n this.overlayService.position().global().centerHorizontally().centerVertically();\r\n }\r\n let scrollStrategy: ScrollStrategy = this.overlayService.scrollStrategies.reposition({ autoClose: true });\r\n if (configs.scroll === 'block') {\r\n scrollStrategy = this.overlayService.scrollStrategies.block();\r\n }\r\n if (configs.scroll === 'close') {\r\n scrollStrategy = this.overlayService.scrollStrategies.close();\r\n }\r\n\r\n const config = {\r\n positionStrategy,\r\n scrollStrategy,\r\n hasBackdrop: configs.hasBackdrop,\r\n disposeOnNavigation: true,\r\n backdropClass: configs.backdropClass ? configs.backdropClass : (configs.transparentBackdrop ? 'cdk-overlay-transparent-backdrop' : undefined),\r\n panelClass: configs.panelClass ? configs.panelClass : ['ax-animate-animated', 'ax-animate-zoomIn', 'ax-animate-faster']\r\n };\r\n let overlayRef: any = configs.containerElement ? this.overlayService.createOn(configs.containerElement, config) : this.overlayService2.create(config);\r\n\r\n const host = overlayRef.attach(portal!);\r\n if (host.instance) {\r\n Object.assign(host.instance, context);\r\n setTimeout(() => {\r\n host.changeDetectorRef.detectChanges();\r\n }, 0);\r\n }\r\n if (configs.closeOnClickOutside) {\r\n merge(\r\n overlayRef.backdropClick(),\r\n overlayRef.detachments(),\r\n ).subscribe(() => {\r\n overlayRef.dispose();\r\n overlayRef = undefined;\r\n if (configs!.onBackdropClick) {\r\n configs!.onBackdropClick();\r\n }\r\n });\r\n\r\n }\r\n return {\r\n instance: host.instance,\r\n dispose: overlayRef.dispose.bind(overlayRef),\r\n isOpen: () => {\r\n return overlayRef.hasAttached();\r\n }\r\n };\r\n }\r\n\r\n}","import { NgModule } from '@angular/core';\r\nimport { AXAutoFocusDirective } from './directives/auto-focus.directive';\r\nimport { AXNgModelChangeDebouncedDirective } from './directives/debounce-time.directive';\r\nimport { AXHotkeyDirective } from './directives/hotkey.directive';\r\nimport { AXInfiniteScrollerDirective } from './directives/infinite-scroll.directive';\r\nimport { AXResponsiveDirective } from './directives/responsive.directive';\r\n@NgModule({\r\n imports: [],\r\n exports: [\r\n AXResponsiveDirective,\r\n AXInfiniteScrollerDirective,\r\n AXAutoFocusDirective,\r\n AXNgModelChangeDebouncedDirective,\r\n AXHotkeyDirective,\r\n ],\r\n declarations: [\r\n AXResponsiveDirective,\r\n AXInfiniteScrollerDirective,\r\n AXNgModelChangeDebouncedDirective,\r\n AXAutoFocusDirective,\r\n AXHotkeyDirective,\r\n ],\r\n providers: [],\r\n})\r\nexport class AXCommonModule { }\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":["i1.AXFocusableComponent","i1.AXComponent","i2.AXHotkeysService","i1","i1.DynamicOverlay","i2"],"mappings":";;;;;;;;;;;;;;AAAA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BAA2B;wBAC3B,iCAAiC;wBACjC,oBAAoB;wBACpB,iBAAiB;AAClB,qBAAA;AACD,oBAAA,SAAS,EAAE,EAAE;AACd,iBAAA,CAAA;;;ACvBD;;AAEG;;;;"}
@@ -235,9 +235,9 @@ class AXContextMenuComponent extends AXBaseMenuMixin {
235
235
  this.onMenuItemClick.emit(e);
236
236
  }
237
237
  }
238
- AXContextMenuComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: AXContextMenuComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }, { token: i1.Overlay }, { token: i0.ViewContainerRef }, { token: i2.AXPlatform }], target: i0.ɵɵFactoryTarget.Component });
239
- AXContextMenuComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.4", type: AXContextMenuComponent, selector: "ax-context-menu", inputs: { disabled: "disabled", textField: "textField", valueField: "valueField", items: "items", parentId: "parentId", iconField: "iconField", isOpen: "isOpen", isActive: "isActive", visibleField: "visibleField", disableField: "disableField", hasChildField: "hasChildField", dividerField: "dividerField", openMode: "openMode", displayMode: "displayMode", target: "target" }, outputs: { onBlur: "onBlur", onFocus: "onFocus", onMenuItemClick: "onMenuItemClick" }, viewQueries: [{ propertyName: "_contextTemplate", first: true, predicate: ["contextTemplate"], descendants: true }, { propertyName: "_menuTmp", first: true, predicate: ["menuTmp"], descendants: true, static: true }], usesInheritance: true, ngImport: i0, template: "<ng-template #contextTemplateRef>\r\n <ng-container *ngIf=\"contextTemplate else menuTmp\">\r\n <ng-container *ngTemplateOutlet=\"contextTemplate\">\r\n </ng-container>\r\n </ng-container>\r\n</ng-template>\r\n\r\n\r\n<ng-template #menuTmp>\r\n <ax-menu class=\"ax-context-menu\" displayMode=\"vertical\" openMode=\"hover\" [items]='items'\r\n [disableField]=\"disableField\" [hasChildField]=\"hasChildField\" [textField]=\"textField\" [iconField]=\"iconField\"\r\n [valueField]=\"valueField\" [dividerField]=\"dividerField\" (onMenuItemClick)='onContextMenuClick($event)'>\r\n </ax-menu>\r\n</ng-template>", styles: [".ax-context-menu{background-color:rgb(var(--ax-color-surface));border:1px solid;border-color:rgb(var(--ax-color-border-default))}\n"], dependencies: [{ kind: "directive", type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i3.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: i4.AXMenuComponent, selector: "ax-menu", inputs: ["disabled", "tabIndex", "textField", "valueField", "items", "parentId", "iconField", "tooltip", "isOpen", "isActive", "visibleField", "disableField", "hasChildField", "dividerField", "openMode", "displayMode", "showModal"], outputs: ["onBlur", "onFocus", "onMenuItemClick"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
240
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: AXContextMenuComponent, decorators: [{
238
+ AXContextMenuComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: AXContextMenuComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }, { token: i1.Overlay }, { token: i0.ViewContainerRef }, { token: i2.AXPlatform }], target: i0.ɵɵFactoryTarget.Component });
239
+ AXContextMenuComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.4", type: AXContextMenuComponent, selector: "ax-context-menu", inputs: { disabled: "disabled", textField: "textField", valueField: "valueField", items: "items", parentId: "parentId", iconField: "iconField", isOpen: "isOpen", isActive: "isActive", visibleField: "visibleField", disableField: "disableField", hasChildField: "hasChildField", dividerField: "dividerField", openMode: "openMode", displayMode: "displayMode", target: "target" }, outputs: { onBlur: "onBlur", onFocus: "onFocus", onMenuItemClick: "onMenuItemClick" }, viewQueries: [{ propertyName: "_contextTemplate", first: true, predicate: ["contextTemplate"], descendants: true }, { propertyName: "_menuTmp", first: true, predicate: ["menuTmp"], descendants: true, static: true }], usesInheritance: true, ngImport: i0, template: "<ng-template #contextTemplateRef>\r\n <ng-container *ngIf=\"contextTemplate else menuTmp\">\r\n <ng-container *ngTemplateOutlet=\"contextTemplate\">\r\n </ng-container>\r\n </ng-container>\r\n</ng-template>\r\n\r\n\r\n<ng-template #menuTmp>\r\n <ax-menu class=\"ax-context-menu\" displayMode=\"vertical\" openMode=\"hover\" [items]='items'\r\n [disableField]=\"disableField\" [hasChildField]=\"hasChildField\" [textField]=\"textField\" [iconField]=\"iconField\"\r\n [valueField]=\"valueField\" [dividerField]=\"dividerField\" (onMenuItemClick)='onContextMenuClick($event)'>\r\n </ax-menu>\r\n</ng-template>", styles: [".ax-context-menu{background-color:rgb(var(--ax-color-surface));border:1px solid;border-color:rgb(var(--ax-color-border-default))}\n"], dependencies: [{ kind: "directive", type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i3.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: i4.AXMenuComponent, selector: "ax-menu", inputs: ["disabled", "tabIndex", "textField", "valueField", "items", "parentId", "iconField", "tooltip", "isOpen", "isActive", "visibleField", "disableField", "hasChildField", "dividerField", "openMode", "displayMode", "showModal"], outputs: ["onBlur", "onFocus", "onMenuItemClick"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
240
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: AXContextMenuComponent, decorators: [{
241
241
  type: Component,
242
242
  args: [{ selector: 'ax-context-menu', inputs: [
243
243
  'disabled',
@@ -275,14 +275,14 @@ const MODULES = [
275
275
  ];
276
276
  class AXContextMenuModule {
277
277
  }
278
- AXContextMenuModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: AXContextMenuModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
279
- AXContextMenuModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.0.4", ngImport: i0, type: AXContextMenuModule, declarations: [AXContextMenuComponent], imports: [CommonModule, AXDecoratorModule,
278
+ AXContextMenuModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: AXContextMenuModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
279
+ AXContextMenuModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.1.4", ngImport: i0, type: AXContextMenuModule, declarations: [AXContextMenuComponent], imports: [CommonModule, AXDecoratorModule,
280
280
  AXLoadingModule,
281
281
  AXTranslationModule,
282
282
  OverlayModule,
283
283
  AXMenuModule], exports: [AXContextMenuComponent] });
284
- AXContextMenuModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: AXContextMenuModule, imports: [CommonModule, MODULES] });
285
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: AXContextMenuModule, decorators: [{
284
+ AXContextMenuModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: AXContextMenuModule, imports: [CommonModule, MODULES] });
285
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: AXContextMenuModule, decorators: [{
286
286
  type: NgModule,
287
287
  args: [{
288
288
  declarations: [...COMPONENT],
@@ -31,9 +31,9 @@ class AXPagerStateChangedEvent extends AXPagerPageChangedEvent {
31
31
  }
32
32
  class AXPagerComponent {
33
33
  }
34
- AXPagerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: AXPagerComponent, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
35
- AXPagerComponent.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: AXPagerComponent });
36
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: AXPagerComponent, decorators: [{
34
+ AXPagerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: AXPagerComponent, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
35
+ AXPagerComponent.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: AXPagerComponent });
36
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: AXPagerComponent, decorators: [{
37
37
  type: Injectable
38
38
  }] });
39
39
  class AXDataPagerChild extends AXInteractiveComponenetMixin {
@@ -41,9 +41,9 @@ class AXDataPagerChild extends AXInteractiveComponenetMixin {
41
41
  super(...args);
42
42
  }
43
43
  }
44
- AXDataPagerChild.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: AXDataPagerChild, deps: [{ token: Array }], target: i0.ɵɵFactoryTarget.Injectable });
45
- AXDataPagerChild.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: AXDataPagerChild });
46
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: AXDataPagerChild, decorators: [{
44
+ AXDataPagerChild.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: AXDataPagerChild, deps: [{ token: Array }], target: i0.ɵɵFactoryTarget.Injectable });
45
+ AXDataPagerChild.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: AXDataPagerChild });
46
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: AXDataPagerChild, decorators: [{
47
47
  type: Injectable
48
48
  }], ctorParameters: function () { return [{ type: undefined, decorators: [{
49
49
  type: Inject,
@@ -79,11 +79,11 @@ class AXDataPagerInfoComponent extends AXDataPagerChild {
79
79
  }
80
80
  }
81
81
  }
82
- AXDataPagerInfoComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: AXDataPagerInfoComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }, { token: AXPagerComponent }], target: i0.ɵɵFactoryTarget.Component });
83
- AXDataPagerInfoComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.4", type: AXDataPagerInfoComponent, selector: "ax-data-pager-info", inputs: { text: "text" }, host: { classAttribute: "ax-data-pager-info" }, providers: [
82
+ AXDataPagerInfoComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: AXDataPagerInfoComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }, { token: AXPagerComponent }], target: i0.ɵɵFactoryTarget.Component });
83
+ AXDataPagerInfoComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.4", type: AXDataPagerInfoComponent, selector: "ax-data-pager-info", inputs: { text: "text" }, host: { classAttribute: "ax-data-pager-info" }, providers: [
84
84
  { provide: AXDataPagerChild, useExisting: AXDataPagerInfoComponent },
85
85
  ], usesInheritance: true, ngImport: i0, template: `{{ _textFormatted }}`, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
86
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: AXDataPagerInfoComponent, decorators: [{
86
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: AXDataPagerInfoComponent, decorators: [{
87
87
  type: Component,
88
88
  args: [{
89
89
  selector: 'ax-data-pager-info',
@@ -124,13 +124,13 @@ class AXDataPagerInputSelectorComponent extends AXDataPagerChild {
124
124
  this._parent.goToPage(e.value);
125
125
  }
126
126
  }
127
- AXDataPagerInputSelectorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: AXDataPagerInputSelectorComponent, deps: [{ token: i0.ElementRef }, { token: AXPagerComponent }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
128
- AXDataPagerInputSelectorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.4", type: AXDataPagerInputSelectorComponent, selector: "ax-data-pager-input-selector", providers: [{ provide: AXDataPagerChild, useExisting: AXDataPagerInputSelectorComponent }], usesInheritance: true, ngImport: i0, template: `
127
+ AXDataPagerInputSelectorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: AXDataPagerInputSelectorComponent, deps: [{ token: i0.ElementRef }, { token: AXPagerComponent }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
128
+ AXDataPagerInputSelectorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.4", type: AXDataPagerInputSelectorComponent, selector: "ax-data-pager-input-selector", providers: [{ provide: AXDataPagerChild, useExisting: AXDataPagerInputSelectorComponent }], usesInheritance: true, ngImport: i0, template: `
129
129
  <ax-number-box [value]="_currentPage" class="ax-sm" (onValueChanged)="_handleValueChanged($event)" [showSpinButtons]="false"
130
130
  [minValue]="1" [maxValue]="_totalPages" allowNull="false">
131
131
  </ax-number-box>
132
132
  `, isInline: true, dependencies: [{ kind: "component", type: i1.AXNumberBoxComponent, selector: "ax-number-box", inputs: ["disabled", "readonly", "tabIndex", "size", "value", "placeholder", "maxLength", "allowNull", "type", "autoComplete", "name", "checked", "thousandsSeparator", "padDecimalZeros", "step", "decimals", "decimalStep", "showSpinButtons", "minValue", "maxValue"], outputs: ["valueChange", "onValueChanged", "onBlur", "onFocus"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
133
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: AXDataPagerInputSelectorComponent, decorators: [{
133
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: AXDataPagerInputSelectorComponent, decorators: [{
134
134
  type: Component,
135
135
  args: [{
136
136
  selector: 'ax-data-pager-input-selector',
@@ -172,8 +172,8 @@ class AXDataPagerNextButtonsComponent extends AXDataPagerChild {
172
172
  this._parent.goNextPage();
173
173
  }
174
174
  }
175
- AXDataPagerNextButtonsComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: AXDataPagerNextButtonsComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }, { token: AXPagerComponent }], target: i0.ɵɵFactoryTarget.Component });
176
- AXDataPagerNextButtonsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.4", type: AXDataPagerNextButtonsComponent, selector: "ax-data-pager-next-buttons", providers: [{ provide: AXDataPagerChild, useExisting: AXDataPagerNextButtonsComponent }], usesInheritance: true, ngImport: i0, template: `
175
+ AXDataPagerNextButtonsComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: AXDataPagerNextButtonsComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }, { token: AXPagerComponent }], target: i0.ɵɵFactoryTarget.Component });
176
+ AXDataPagerNextButtonsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.4", type: AXDataPagerNextButtonsComponent, selector: "ax-data-pager-next-buttons", providers: [{ provide: AXDataPagerChild, useExisting: AXDataPagerNextButtonsComponent }], usesInheritance: true, ngImport: i0, template: `
177
177
  <ax-button [disabled]="disabled" look="blank" color="ghost" class="ax-sm" title="Go to the next page" (onClick)="_emitOnNextPageClick($event)" >
178
178
  <ax-icon [ngClass]="{'ax-icon-chevron-left': rtl,'ax-icon-chevron-right': !rtl}"></ax-icon>
179
179
  <i ></i>
@@ -182,7 +182,7 @@ AXDataPagerNextButtonsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion:
182
182
  <ax-icon [ngClass]="{'ax-icon-first-page': rtl,'ax-icon-last-page': !rtl}"></ax-icon>
183
183
  </ax-button>
184
184
  `, isInline: true, dependencies: [{ kind: "directive", type: i1$1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "component", type: i2.AXButtonComponent, selector: "ax-button", inputs: ["disabled", "size", "tabIndex", "color", "look", "text", "toggleable", "selected", "type"], outputs: ["onBlur", "onFocus", "onClick", "selectedChange", "toggleableChange", "lookChange", "colorChange"] }, { kind: "component", type: i3.AXDecoratorIconComponent, selector: "ax-icon", inputs: ["icon"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
185
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: AXDataPagerNextButtonsComponent, decorators: [{
185
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: AXDataPagerNextButtonsComponent, decorators: [{
186
186
  type: Component,
187
187
  args: [{
188
188
  selector: 'ax-data-pager-next-buttons',
@@ -253,8 +253,8 @@ class AXDataPagerNumericSelectorComponent extends AXDataPagerChild {
253
253
  this._parent.goToPage(Number(e.data));
254
254
  }
255
255
  }
256
- AXDataPagerNumericSelectorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: AXDataPagerNumericSelectorComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }, { token: AXPagerComponent }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
257
- AXDataPagerNumericSelectorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.4", type: AXDataPagerNumericSelectorComponent, selector: "ax-data-pager-numeric-selector", providers: [{ provide: AXDataPagerChild, useExisting: AXDataPagerNumericSelectorComponent }], usesInheritance: true, ngImport: i0, template: `
256
+ AXDataPagerNumericSelectorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: AXDataPagerNumericSelectorComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }, { token: AXPagerComponent }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
257
+ AXDataPagerNumericSelectorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.4", type: AXDataPagerNumericSelectorComponent, selector: "ax-data-pager-numeric-selector", providers: [{ provide: AXDataPagerChild, useExisting: AXDataPagerNumericSelectorComponent }], usesInheritance: true, ngImport: i0, template: `
258
258
  <ax-button [disabled]="_currentPage==1" look="blank" color="ghost" class="ax-sm" (onClick)="_handleOnItemClick({data:1})">
259
259
  <ax-icon [ngClass]="{'ax-icon-last-page': rtl,'ax-icon-first-page': !rtl}"></ax-icon>
260
260
  </ax-button>
@@ -268,7 +268,7 @@ AXDataPagerNumericSelectorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersi
268
268
  <ax-icon [ngClass]="{'ax-icon-last-page': !rtl,'ax-icon-first-page': rtl}"></ax-icon>
269
269
  </ax-button>
270
270
  `, isInline: true, dependencies: [{ kind: "directive", type: i1$1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1$1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i2.AXButtonComponent, selector: "ax-button", inputs: ["disabled", "size", "tabIndex", "color", "look", "text", "toggleable", "selected", "type"], outputs: ["onBlur", "onFocus", "onClick", "selectedChange", "toggleableChange", "lookChange", "colorChange"] }, { kind: "component", type: i2.AXButtonGroupComponent, selector: "ax-button-group", inputs: ["disabled", "tabIndex", "color", "look", "selection"], outputs: ["onBlur", "onFocus", "lookChange", "colorChange", "selectionChange", "onItemClick"] }, { kind: "component", type: i3.AXDecoratorIconComponent, selector: "ax-icon", inputs: ["icon"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
271
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: AXDataPagerNumericSelectorComponent, decorators: [{
271
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: AXDataPagerNumericSelectorComponent, decorators: [{
272
272
  type: Component,
273
273
  args: [{
274
274
  selector: 'ax-data-pager-numeric-selector',
@@ -331,8 +331,8 @@ class AXDataPagerPageSizesComponent extends AXDataPagerChild {
331
331
  this._size = this._parent.size = Number(e.data.size);
332
332
  }
333
333
  }
334
- AXDataPagerPageSizesComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: AXDataPagerPageSizesComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }, { token: AXPagerComponent }], target: i0.ɵɵFactoryTarget.Component });
335
- AXDataPagerPageSizesComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.4", type: AXDataPagerPageSizesComponent, selector: "ax-data-pager-page-sizes", inputs: { sizes: "sizes" }, providers: [{ provide: AXDataPagerChild, useExisting: AXDataPagerPageSizesComponent }], usesInheritance: true, ngImport: i0, template: `
334
+ AXDataPagerPageSizesComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: AXDataPagerPageSizesComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }, { token: AXPagerComponent }], target: i0.ɵɵFactoryTarget.Component });
335
+ AXDataPagerPageSizesComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.4", type: AXDataPagerPageSizesComponent, selector: "ax-data-pager-page-sizes", inputs: { sizes: "sizes" }, providers: [{ provide: AXDataPagerChild, useExisting: AXDataPagerPageSizesComponent }], usesInheritance: true, ngImport: i0, template: `
336
336
  <ax-button [text]="_size" color="ghost" look="blank" class="ax-sm">
337
337
  <ax-dropdown-panel (onItemClick)="_emitOnItemClick($event)">
338
338
  <ax-button-item *ngFor="let item of _items" [text]="item.text" [data]="item.data" [selected]="item.selected" >
@@ -344,7 +344,7 @@ AXDataPagerPageSizesComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "1
344
344
  </ax-button>
345
345
  <!-- <span >items per page</span> -->
346
346
  `, isInline: true, dependencies: [{ kind: "directive", type: i1$1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "component", type: i2.AXButtonComponent, selector: "ax-button", inputs: ["disabled", "size", "tabIndex", "color", "look", "text", "toggleable", "selected", "type"], outputs: ["onBlur", "onFocus", "onClick", "selectedChange", "toggleableChange", "lookChange", "colorChange"] }, { kind: "component", type: i2.AXButtonItemComponent, selector: "ax-button-item", inputs: ["text", "tooltip", "selected", "seperated", "name", "data", "color"], outputs: ["onClick"] }, { kind: "component", type: i3$1.AXDropdownPanelComponent, selector: "ax-dropdown-panel", inputs: ["isOpen", "fitParent", "dropdownWidth", "position", "target"], outputs: ["onOpened", "onClosed", "onItemClick"] }, { kind: "component", type: i3.AXDecoratorSuffixComponent, selector: "ax-suffix" }, { kind: "component", type: i3.AXDecoratorIconComponent, selector: "ax-icon", inputs: ["icon"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
347
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: AXDataPagerPageSizesComponent, decorators: [{
347
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: AXDataPagerPageSizesComponent, decorators: [{
348
348
  type: Component,
349
349
  args: [{
350
350
  selector: 'ax-data-pager-page-sizes',
@@ -394,8 +394,8 @@ class AXDataPagerPrevButtonsComponent extends AXDataPagerChild {
394
394
  this._parent.goPrevPage();
395
395
  }
396
396
  }
397
- AXDataPagerPrevButtonsComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: AXDataPagerPrevButtonsComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }, { token: AXPagerComponent }], target: i0.ɵɵFactoryTarget.Component });
398
- AXDataPagerPrevButtonsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.4", type: AXDataPagerPrevButtonsComponent, selector: "ax-data-pager-prev-buttons", providers: [{ provide: AXDataPagerChild, useExisting: AXDataPagerPrevButtonsComponent }], usesInheritance: true, ngImport: i0, template: `
397
+ AXDataPagerPrevButtonsComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: AXDataPagerPrevButtonsComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }, { token: AXPagerComponent }], target: i0.ɵɵFactoryTarget.Component });
398
+ AXDataPagerPrevButtonsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.4", type: AXDataPagerPrevButtonsComponent, selector: "ax-data-pager-prev-buttons", providers: [{ provide: AXDataPagerChild, useExisting: AXDataPagerPrevButtonsComponent }], usesInheritance: true, ngImport: i0, template: `
399
399
  <ax-button [disabled]="disabled" look="blank" color="ghost" class="ax-sm" title="Go to the last page" (onClick)="_emitOnFirstPageClick($event)">
400
400
  <ax-icon [ngClass]="{'ax-icon-last-page': rtl,'ax-icon-first-page': !rtl}"></ax-icon>
401
401
  </ax-button>
@@ -403,7 +403,7 @@ AXDataPagerPrevButtonsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion:
403
403
  <ax-icon [ngClass]="{'ax-icon-chevron-left': !rtl,'ax-icon-chevron-right': rtl}"></ax-icon>
404
404
  </ax-button>
405
405
  `, isInline: true, dependencies: [{ kind: "directive", type: i1$1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "component", type: i2.AXButtonComponent, selector: "ax-button", inputs: ["disabled", "size", "tabIndex", "color", "look", "text", "toggleable", "selected", "type"], outputs: ["onBlur", "onFocus", "onClick", "selectedChange", "toggleableChange", "lookChange", "colorChange"] }, { kind: "component", type: i3.AXDecoratorIconComponent, selector: "ax-icon", inputs: ["icon"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
406
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: AXDataPagerPrevButtonsComponent, decorators: [{
406
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: AXDataPagerPrevButtonsComponent, decorators: [{
407
407
  type: Component,
408
408
  args: [{
409
409
  selector: 'ax-data-pager-prev-buttons',
@@ -532,9 +532,9 @@ class AXDataPagerComponent extends AXBaseValueComponentMixin {
532
532
  }
533
533
  }
534
534
  }
535
- AXDataPagerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: AXDataPagerComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }, { token: AXPagedComponent, optional: true }], target: i0.ɵɵFactoryTarget.Component });
536
- AXDataPagerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.4", type: AXDataPagerComponent, selector: "ax-data-pager", inputs: { value: "value", name: "name", size: "size", total: "total", displayMode: "displayMode" }, outputs: { valueChange: "valueChange", onValueChanged: "onValueChanged", onStateChanged: "onStateChanged" }, providers: [{ provide: AXPagerComponent, useExisting: AXDataPagerComponent }], usesInheritance: true, ngImport: i0, template: "<ng-container [ngSwitch]=\"displayMode\">\r\n <ng-container *ngSwitchCase=\"'full'\">\r\n <ax-prefix>\r\n <ax-data-pager-numeric-selector>\r\n </ax-data-pager-numeric-selector>\r\n <ax-data-pager-page-sizes>\r\n </ax-data-pager-page-sizes>\r\n </ax-prefix>\r\n <ax-suffix>\r\n <ax-data-pager-info>\r\n </ax-data-pager-info>\r\n </ax-suffix>\r\n </ng-container>\r\n <ng-container *ngSwitchCase=\"'compact'\">\r\n <ax-prefix>\r\n <ax-data-pager-prev-buttons>\r\n </ax-data-pager-prev-buttons>\r\n <ax-data-pager-input-selector>\r\n </ax-data-pager-input-selector>\r\n <ax-data-pager-next-buttons>\r\n </ax-data-pager-next-buttons>\r\n </ax-prefix>\r\n <ax-suffix>\r\n <ax-data-pager-info>\r\n </ax-data-pager-info>\r\n </ax-suffix>\r\n </ng-container>\r\n <ng-container *ngSwitchDefault>\r\n <ng-content select=\"ax-prefix\"></ng-content>\r\n <ng-content select=\"ax-suffix\"></ng-content>\r\n </ng-container>\r\n</ng-container>\r\n\r\n", styles: ["ax-data-pager{width:100%;font-size:.875rem;padding:.5rem;display:flex;justify-content:space-between;align-items:center;gap:.5rem}ax-data-pager ax-button-group{border:0!important;border-radius:var(--ax-rounded-border-default)!important;display:flex;gap:.25rem}ax-data-pager ax-button-group ax-button{border:0!important;border-radius:var(--ax-rounded-border-default)!important}ax-data-pager ax-data-pager-next-buttons,ax-data-pager ax-data-pager-prev-buttons,ax-data-pager ax-data-pager-numeric-selector{display:flex;gap:.5rem}ax-data-pager ax-data-pager-page-sizes ax-button{border-radius:var(--ax-rounded-border-default);border:1px solid rgb(var(--ax-color-ghost),.12);padding:0 .5rem}ax-data-pager ax-data-pager-page-sizes ax-button ax-icon{font-size:1rem!important}ax-data-pager ax-prefix,ax-data-pager ax-suffic{display:flex}\n"], dependencies: [{ kind: "directive", type: i1$1.NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { kind: "directive", type: i1$1.NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }, { kind: "directive", type: i1$1.NgSwitchDefault, selector: "[ngSwitchDefault]" }, { kind: "component", type: i3.AXDecoratorPrefixComponent, selector: "ax-prefix" }, { kind: "component", type: i3.AXDecoratorSuffixComponent, selector: "ax-suffix" }, { kind: "component", type: AXDataPagerNextButtonsComponent, selector: "ax-data-pager-next-buttons" }, { kind: "component", type: AXDataPagerPrevButtonsComponent, selector: "ax-data-pager-prev-buttons" }, { kind: "component", type: AXDataPagerPageSizesComponent, selector: "ax-data-pager-page-sizes", inputs: ["sizes"] }, { kind: "component", type: AXDataPagerNumericSelectorComponent, selector: "ax-data-pager-numeric-selector" }, { kind: "component", type: AXDataPagerInputSelectorComponent, selector: "ax-data-pager-input-selector" }, { kind: "component", type: AXDataPagerInfoComponent, selector: "ax-data-pager-info", inputs: ["text"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
537
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: AXDataPagerComponent, decorators: [{
535
+ AXDataPagerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: AXDataPagerComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }, { token: AXPagedComponent, optional: true }], target: i0.ɵɵFactoryTarget.Component });
536
+ AXDataPagerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.4", type: AXDataPagerComponent, selector: "ax-data-pager", inputs: { value: "value", name: "name", size: "size", total: "total", displayMode: "displayMode" }, outputs: { valueChange: "valueChange", onValueChanged: "onValueChanged", onStateChanged: "onStateChanged" }, providers: [{ provide: AXPagerComponent, useExisting: AXDataPagerComponent }], usesInheritance: true, ngImport: i0, template: "<ng-container [ngSwitch]=\"displayMode\">\r\n <ng-container *ngSwitchCase=\"'full'\">\r\n <ax-prefix>\r\n <ax-data-pager-numeric-selector>\r\n </ax-data-pager-numeric-selector>\r\n <ax-data-pager-page-sizes>\r\n </ax-data-pager-page-sizes>\r\n </ax-prefix>\r\n <ax-suffix>\r\n <ax-data-pager-info>\r\n </ax-data-pager-info>\r\n </ax-suffix>\r\n </ng-container>\r\n <ng-container *ngSwitchCase=\"'compact'\">\r\n <ax-prefix>\r\n <ax-data-pager-prev-buttons>\r\n </ax-data-pager-prev-buttons>\r\n <ax-data-pager-input-selector>\r\n </ax-data-pager-input-selector>\r\n <ax-data-pager-next-buttons>\r\n </ax-data-pager-next-buttons>\r\n </ax-prefix>\r\n <ax-suffix>\r\n <ax-data-pager-info>\r\n </ax-data-pager-info>\r\n </ax-suffix>\r\n </ng-container>\r\n <ng-container *ngSwitchDefault>\r\n <ng-content select=\"ax-prefix\"></ng-content>\r\n <ng-content select=\"ax-suffix\"></ng-content>\r\n </ng-container>\r\n</ng-container>\r\n\r\n", styles: ["ax-data-pager{width:100%;font-size:.875rem;padding:.5rem;display:flex;justify-content:space-between;align-items:center;gap:.5rem}ax-data-pager ax-button-group{border:0!important;border-radius:var(--ax-rounded-border-default)!important;display:flex;gap:.25rem}ax-data-pager ax-button-group ax-button{border:0!important;border-radius:var(--ax-rounded-border-default)!important}ax-data-pager ax-data-pager-next-buttons,ax-data-pager ax-data-pager-prev-buttons,ax-data-pager ax-data-pager-numeric-selector{display:flex;gap:.5rem}ax-data-pager ax-data-pager-page-sizes ax-button{border-radius:var(--ax-rounded-border-default);border:1px solid rgb(var(--ax-color-ghost),.12);padding:0 .5rem}ax-data-pager ax-data-pager-page-sizes ax-button ax-icon{font-size:1rem!important}ax-data-pager ax-prefix,ax-data-pager ax-suffic{display:flex}\n"], dependencies: [{ kind: "directive", type: i1$1.NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { kind: "directive", type: i1$1.NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }, { kind: "directive", type: i1$1.NgSwitchDefault, selector: "[ngSwitchDefault]" }, { kind: "component", type: i3.AXDecoratorPrefixComponent, selector: "ax-prefix" }, { kind: "component", type: i3.AXDecoratorSuffixComponent, selector: "ax-suffix" }, { kind: "component", type: AXDataPagerNextButtonsComponent, selector: "ax-data-pager-next-buttons" }, { kind: "component", type: AXDataPagerPrevButtonsComponent, selector: "ax-data-pager-prev-buttons" }, { kind: "component", type: AXDataPagerPageSizesComponent, selector: "ax-data-pager-page-sizes", inputs: ["sizes"] }, { kind: "component", type: AXDataPagerNumericSelectorComponent, selector: "ax-data-pager-numeric-selector" }, { kind: "component", type: AXDataPagerInputSelectorComponent, selector: "ax-data-pager-input-selector" }, { kind: "component", type: AXDataPagerInfoComponent, selector: "ax-data-pager-info", inputs: ["text"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
537
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: AXDataPagerComponent, decorators: [{
538
538
  type: Component,
539
539
  args: [{ selector: 'ax-data-pager', inputs: ['value', 'name'], outputs: ['valueChange', 'onValueChanged'], changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, providers: [{ provide: AXPagerComponent, useExisting: AXDataPagerComponent }], template: "<ng-container [ngSwitch]=\"displayMode\">\r\n <ng-container *ngSwitchCase=\"'full'\">\r\n <ax-prefix>\r\n <ax-data-pager-numeric-selector>\r\n </ax-data-pager-numeric-selector>\r\n <ax-data-pager-page-sizes>\r\n </ax-data-pager-page-sizes>\r\n </ax-prefix>\r\n <ax-suffix>\r\n <ax-data-pager-info>\r\n </ax-data-pager-info>\r\n </ax-suffix>\r\n </ng-container>\r\n <ng-container *ngSwitchCase=\"'compact'\">\r\n <ax-prefix>\r\n <ax-data-pager-prev-buttons>\r\n </ax-data-pager-prev-buttons>\r\n <ax-data-pager-input-selector>\r\n </ax-data-pager-input-selector>\r\n <ax-data-pager-next-buttons>\r\n </ax-data-pager-next-buttons>\r\n </ax-prefix>\r\n <ax-suffix>\r\n <ax-data-pager-info>\r\n </ax-data-pager-info>\r\n </ax-suffix>\r\n </ng-container>\r\n <ng-container *ngSwitchDefault>\r\n <ng-content select=\"ax-prefix\"></ng-content>\r\n <ng-content select=\"ax-suffix\"></ng-content>\r\n </ng-container>\r\n</ng-container>\r\n\r\n", styles: ["ax-data-pager{width:100%;font-size:.875rem;padding:.5rem;display:flex;justify-content:space-between;align-items:center;gap:.5rem}ax-data-pager ax-button-group{border:0!important;border-radius:var(--ax-rounded-border-default)!important;display:flex;gap:.25rem}ax-data-pager ax-button-group ax-button{border:0!important;border-radius:var(--ax-rounded-border-default)!important}ax-data-pager ax-data-pager-next-buttons,ax-data-pager ax-data-pager-prev-buttons,ax-data-pager ax-data-pager-numeric-selector{display:flex;gap:.5rem}ax-data-pager ax-data-pager-page-sizes ax-button{border-radius:var(--ax-rounded-border-default);border:1px solid rgb(var(--ax-color-ghost),.12);padding:0 .5rem}ax-data-pager ax-data-pager-page-sizes ax-button ax-icon{font-size:1rem!important}ax-data-pager ax-prefix,ax-data-pager ax-suffic{display:flex}\n"] }]
540
540
  }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }, { type: i9.AXPagedComponent, decorators: [{
@@ -564,8 +564,8 @@ const COMPONENT = [
564
564
  const MODULES = [CommonModule, AXButtonModule, AXNumberBoxModule, AXDropdownModule, AXDecoratorModule];
565
565
  class AXDataPagerModule {
566
566
  }
567
- AXDataPagerModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: AXDataPagerModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
568
- AXDataPagerModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.0.4", ngImport: i0, type: AXDataPagerModule, declarations: [AXDataPagerComponent,
567
+ AXDataPagerModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: AXDataPagerModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
568
+ AXDataPagerModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.1.4", ngImport: i0, type: AXDataPagerModule, declarations: [AXDataPagerComponent,
569
569
  AXDataPagerNextButtonsComponent,
570
570
  AXDataPagerPrevButtonsComponent,
571
571
  AXDataPagerPageSizesComponent,
@@ -578,8 +578,8 @@ AXDataPagerModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", versi
578
578
  AXDataPagerNumericSelectorComponent,
579
579
  AXDataPagerInputSelectorComponent,
580
580
  AXDataPagerInfoComponent] });
581
- AXDataPagerModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: AXDataPagerModule, imports: [MODULES] });
582
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: AXDataPagerModule, decorators: [{
581
+ AXDataPagerModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: AXDataPagerModule, imports: [MODULES] });
582
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: AXDataPagerModule, decorators: [{
583
583
  type: NgModule,
584
584
  args: [{
585
585
  declarations: [...COMPONENT],
@@ -23,9 +23,9 @@ class AXDataColumnComponent {
23
23
  return this._inputCellTemplate || this._contentCellTemplate || this._defaultTemplate;
24
24
  }
25
25
  }
26
- AXDataColumnComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: AXDataColumnComponent, deps: [], target: i0.ɵɵFactoryTarget.Directive });
27
- AXDataColumnComponent.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.0.4", type: AXDataColumnComponent, selector: "ax-data-column", inputs: { _inputHeaderTemplate: ["headerTemplate", "_inputHeaderTemplate"], _inputCellTemplate: ["cellTemplate", "_inputCellTemplate"], valueField: "valueField", caption: "caption", width: "width" }, queries: [{ propertyName: "_contentHeaderTemplate", first: true, predicate: ["header"], descendants: true, static: true }, { propertyName: "_defaultTemplate", first: true, predicate: TemplateRef, descendants: true, static: true }, { propertyName: "_contentCellTemplate", first: true, predicate: ["cell"], descendants: true, static: true }], ngImport: i0 });
28
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: AXDataColumnComponent, decorators: [{
26
+ AXDataColumnComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: AXDataColumnComponent, deps: [], target: i0.ɵɵFactoryTarget.Directive });
27
+ AXDataColumnComponent.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.4", type: AXDataColumnComponent, selector: "ax-data-column", inputs: { _inputHeaderTemplate: ["headerTemplate", "_inputHeaderTemplate"], _inputCellTemplate: ["cellTemplate", "_inputCellTemplate"], valueField: "valueField", caption: "caption", width: "width" }, queries: [{ propertyName: "_contentHeaderTemplate", first: true, predicate: ["header"], descendants: true, static: true }, { propertyName: "_defaultTemplate", first: true, predicate: TemplateRef, descendants: true, static: true }, { propertyName: "_contentCellTemplate", first: true, predicate: ["cell"], descendants: true, static: true }], ngImport: i0 });
28
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: AXDataColumnComponent, decorators: [{
29
29
  type: Directive,
30
30
  args: [{
31
31
  selector: 'ax-data-column',
@@ -157,9 +157,9 @@ class AXDataTableComponent extends AXBaseComponentMixin {
157
157
  this._fetchData();
158
158
  }
159
159
  }
160
- AXDataTableComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: AXDataTableComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
161
- AXDataTableComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.4", type: AXDataTableComponent, selector: "ax-data-table", inputs: { rowTemplate: "rowTemplate", emptyTemplate: "emptyTemplate", showHeader: "showHeader", pageSize: "pageSize", fetchDataMode: "fetchDataMode", items: "items" }, outputs: { onPageChanged: "onPageChanged" }, providers: [{ provide: AXPagedComponent, useExisting: AXDataTableComponent }], queries: [{ propertyName: "_columns", predicate: AXDataColumnComponent }], usesInheritance: true, ngImport: i0, template: "<ng-content select=\"ax-header\">\r\n</ng-content>\r\n<div class=\"ax-wrapper\">\r\n<table class=\"ax-table ax-table-bordered\" tabindex=\"0\" [axIsLoading]=\"_isLoading\">\r\n <thead *ngIf=\"showHeader\">\r\n <tr>\r\n <th *ngFor=\"let c of _columns\">\r\n <ng-template [ngIf]=\"c.headerTemplate\" [ngIfElse]=\"captionTpl\">\r\n <ng-container *ngTemplateOutlet=\"c.headerTemplate\"></ng-container>\r\n </ng-template>\r\n <ng-template #captionTpl>\r\n {{c.caption}}\r\n </ng-template>\r\n </th>\r\n </tr>\r\n </thead>\r\n <tbody>\r\n <ng-container *ngIf=\"displayItems.length; else emptyTpl\">\r\n <ng-container *ngFor=\"let d of displayItems;let rIndex=index\">\r\n <ng-template [ngIf]=\"rowTemplate\" [ngIfElse]=\"rowTpl\">\r\n <ng-container *ngTemplateOutlet=\"rowTemplate;context: { $implicit: {data:d,rowIndex:rIndex} }\">\r\n </ng-container>\r\n </ng-template>\r\n <ng-template #rowTpl>\r\n <tr>\r\n <ng-container *ngFor=\"let c of _columns\">\r\n <ng-template [ngIf]=\"c.cellTemplate\" [ngIfElse]=\"cellTpl\">\r\n <ng-container *ngTemplateOutlet=\"c.cellTemplate;context: { $implicit: {data:d,rowIndex:rIndex} }\">\r\n </ng-container>\r\n </ng-template>\r\n <ng-template #cellTpl>\r\n <td [attr.data-label]=\"c.caption\" tabindex=\"0\">\r\n {{d[c.valueField]}}\r\n </td>\r\n </ng-template>\r\n </ng-container>\r\n </tr>\r\n </ng-template>\r\n </ng-container>\r\n </ng-container>\r\n <ng-template #emptyTpl>\r\n <tr>\r\n <td [attr.colspan]=\"_columns.length\">\r\n <ng-template [ngIf]=\"emptyTemplate\" [ngIfElse]=\"defaultEmptyTemplate\">\r\n <ng-container *ngTemplateOutlet=\"emptyTemplate\"></ng-container>\r\n </ng-template>\r\n <ng-template #defaultEmptyTemplate>\r\n <ax-result type=\"empty\" caption=\" {{'common.no-result-found' | trans }}\"></ax-result>\r\n </ng-template>\r\n </td>\r\n </tr>\r\n </ng-template>\r\n </tbody>\r\n </table>\r\n</div>\r\n<ng-content select=\"ax-footer\">\r\n</ng-content>", styles: ["ax-data-table{display:flex;flex-direction:column;border-radius:var(--ax-rounded-border-default);border:1px solid;border-color:rgb(var(--ax-color-border-default))}ax-data-table .ax-wrapper{display:flex;flex:1 1 0%;overflow:auto}ax-data-table>ax-header{border-bottom:1px solid;border-color:rgb(var(--ax-color-border-default))}ax-data-table>ax-footer{border-top:1px solid;border-color:rgb(var(--ax-color-border-default))}ax-data-table table{position:relative;border:0}ax-data-table table thead{position:sticky;top:0}ax-data-table table td,ax-data-table table th{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}\n"], dependencies: [{ kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: i2.AXResultComponent, selector: "ax-result", inputs: ["type", "caption", "description"] }, { kind: "directive", type: i3.AXLoadingDirective, selector: "[axIsLoading]", inputs: ["axIsLoading"] }, { kind: "pipe", type: i4.AXTranslatorPipe, name: "trans" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
162
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: AXDataTableComponent, decorators: [{
160
+ AXDataTableComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: AXDataTableComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
161
+ AXDataTableComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.4", type: AXDataTableComponent, selector: "ax-data-table", inputs: { rowTemplate: "rowTemplate", emptyTemplate: "emptyTemplate", showHeader: "showHeader", pageSize: "pageSize", fetchDataMode: "fetchDataMode", items: "items" }, outputs: { onPageChanged: "onPageChanged" }, providers: [{ provide: AXPagedComponent, useExisting: AXDataTableComponent }], queries: [{ propertyName: "_columns", predicate: AXDataColumnComponent }], usesInheritance: true, ngImport: i0, template: "<ng-content select=\"ax-header\">\r\n</ng-content>\r\n<div class=\"ax-wrapper\">\r\n<table class=\"ax-table ax-table-bordered\" tabindex=\"0\" [axIsLoading]=\"_isLoading\">\r\n <thead *ngIf=\"showHeader\">\r\n <tr>\r\n <th *ngFor=\"let c of _columns\">\r\n <ng-template [ngIf]=\"c.headerTemplate\" [ngIfElse]=\"captionTpl\">\r\n <ng-container *ngTemplateOutlet=\"c.headerTemplate\"></ng-container>\r\n </ng-template>\r\n <ng-template #captionTpl>\r\n {{c.caption}}\r\n </ng-template>\r\n </th>\r\n </tr>\r\n </thead>\r\n <tbody>\r\n <ng-container *ngIf=\"displayItems.length; else emptyTpl\">\r\n <ng-container *ngFor=\"let d of displayItems;let rIndex=index\">\r\n <ng-template [ngIf]=\"rowTemplate\" [ngIfElse]=\"rowTpl\">\r\n <ng-container *ngTemplateOutlet=\"rowTemplate;context: { $implicit: {data:d,rowIndex:rIndex} }\">\r\n </ng-container>\r\n </ng-template>\r\n <ng-template #rowTpl>\r\n <tr>\r\n <ng-container *ngFor=\"let c of _columns\">\r\n <ng-template [ngIf]=\"c.cellTemplate\" [ngIfElse]=\"cellTpl\">\r\n <ng-container *ngTemplateOutlet=\"c.cellTemplate;context: { $implicit: {data:d,rowIndex:rIndex} }\">\r\n </ng-container>\r\n </ng-template>\r\n <ng-template #cellTpl>\r\n <td [attr.data-label]=\"c.caption\" tabindex=\"0\">\r\n {{d[c.valueField]}}\r\n </td>\r\n </ng-template>\r\n </ng-container>\r\n </tr>\r\n </ng-template>\r\n </ng-container>\r\n </ng-container>\r\n <ng-template #emptyTpl>\r\n <tr>\r\n <td [attr.colspan]=\"_columns.length\">\r\n <ng-template [ngIf]=\"emptyTemplate\" [ngIfElse]=\"defaultEmptyTemplate\">\r\n <ng-container *ngTemplateOutlet=\"emptyTemplate\"></ng-container>\r\n </ng-template>\r\n <ng-template #defaultEmptyTemplate>\r\n <ax-result type=\"empty\" caption=\" {{'common.no-result-found' | trans }}\"></ax-result>\r\n </ng-template>\r\n </td>\r\n </tr>\r\n </ng-template>\r\n </tbody>\r\n </table>\r\n</div>\r\n<ng-content select=\"ax-footer\">\r\n</ng-content>", styles: ["ax-data-table{display:flex;flex-direction:column;border-radius:var(--ax-rounded-border-default);border:1px solid;border-color:rgb(var(--ax-color-border-default))}ax-data-table .ax-wrapper{display:flex;flex:1 1 0%;overflow:auto}ax-data-table>ax-header{border-bottom:1px solid;border-color:rgb(var(--ax-color-border-default))}ax-data-table>ax-footer{border-top:1px solid;border-color:rgb(var(--ax-color-border-default))}ax-data-table table{position:relative;border:0}ax-data-table table thead{position:sticky;top:0}ax-data-table table td,ax-data-table table th{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}\n"], dependencies: [{ kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: i2.AXResultComponent, selector: "ax-result", inputs: ["type", "caption", "description"] }, { kind: "directive", type: i3.AXLoadingDirective, selector: "[axIsLoading]", inputs: ["axIsLoading"] }, { kind: "pipe", type: i4.AXTranslatorPipe, name: "trans" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
162
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: AXDataTableComponent, decorators: [{
163
163
  type: Component,
164
164
  args: [{ selector: 'ax-data-table', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, providers: [{ provide: AXPagedComponent, useExisting: AXDataTableComponent }], template: "<ng-content select=\"ax-header\">\r\n</ng-content>\r\n<div class=\"ax-wrapper\">\r\n<table class=\"ax-table ax-table-bordered\" tabindex=\"0\" [axIsLoading]=\"_isLoading\">\r\n <thead *ngIf=\"showHeader\">\r\n <tr>\r\n <th *ngFor=\"let c of _columns\">\r\n <ng-template [ngIf]=\"c.headerTemplate\" [ngIfElse]=\"captionTpl\">\r\n <ng-container *ngTemplateOutlet=\"c.headerTemplate\"></ng-container>\r\n </ng-template>\r\n <ng-template #captionTpl>\r\n {{c.caption}}\r\n </ng-template>\r\n </th>\r\n </tr>\r\n </thead>\r\n <tbody>\r\n <ng-container *ngIf=\"displayItems.length; else emptyTpl\">\r\n <ng-container *ngFor=\"let d of displayItems;let rIndex=index\">\r\n <ng-template [ngIf]=\"rowTemplate\" [ngIfElse]=\"rowTpl\">\r\n <ng-container *ngTemplateOutlet=\"rowTemplate;context: { $implicit: {data:d,rowIndex:rIndex} }\">\r\n </ng-container>\r\n </ng-template>\r\n <ng-template #rowTpl>\r\n <tr>\r\n <ng-container *ngFor=\"let c of _columns\">\r\n <ng-template [ngIf]=\"c.cellTemplate\" [ngIfElse]=\"cellTpl\">\r\n <ng-container *ngTemplateOutlet=\"c.cellTemplate;context: { $implicit: {data:d,rowIndex:rIndex} }\">\r\n </ng-container>\r\n </ng-template>\r\n <ng-template #cellTpl>\r\n <td [attr.data-label]=\"c.caption\" tabindex=\"0\">\r\n {{d[c.valueField]}}\r\n </td>\r\n </ng-template>\r\n </ng-container>\r\n </tr>\r\n </ng-template>\r\n </ng-container>\r\n </ng-container>\r\n <ng-template #emptyTpl>\r\n <tr>\r\n <td [attr.colspan]=\"_columns.length\">\r\n <ng-template [ngIf]=\"emptyTemplate\" [ngIfElse]=\"defaultEmptyTemplate\">\r\n <ng-container *ngTemplateOutlet=\"emptyTemplate\"></ng-container>\r\n </ng-template>\r\n <ng-template #defaultEmptyTemplate>\r\n <ax-result type=\"empty\" caption=\" {{'common.no-result-found' | trans }}\"></ax-result>\r\n </ng-template>\r\n </td>\r\n </tr>\r\n </ng-template>\r\n </tbody>\r\n </table>\r\n</div>\r\n<ng-content select=\"ax-footer\">\r\n</ng-content>", styles: ["ax-data-table{display:flex;flex-direction:column;border-radius:var(--ax-rounded-border-default);border:1px solid;border-color:rgb(var(--ax-color-border-default))}ax-data-table .ax-wrapper{display:flex;flex:1 1 0%;overflow:auto}ax-data-table>ax-header{border-bottom:1px solid;border-color:rgb(var(--ax-color-border-default))}ax-data-table>ax-footer{border-top:1px solid;border-color:rgb(var(--ax-color-border-default))}ax-data-table table{position:relative;border:0}ax-data-table table thead{position:sticky;top:0}ax-data-table table td,ax-data-table table th{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}\n"] }]
165
165
  }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { _columns: [{
@@ -186,9 +186,9 @@ class AXDataColumnCellTemplateDirective {
186
186
  return this._contentTemplate;
187
187
  }
188
188
  }
189
- AXDataColumnCellTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: AXDataColumnCellTemplateDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
190
- AXDataColumnCellTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.0.4", type: AXDataColumnCellTemplateDirective, selector: "ax-data-column-cell-template", queries: [{ propertyName: "_contentTemplate", first: true, predicate: TemplateRef, descendants: true, static: true }], ngImport: i0 });
191
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: AXDataColumnCellTemplateDirective, decorators: [{
189
+ AXDataColumnCellTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: AXDataColumnCellTemplateDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
190
+ AXDataColumnCellTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.4", type: AXDataColumnCellTemplateDirective, selector: "ax-data-column-cell-template", queries: [{ propertyName: "_contentTemplate", first: true, predicate: TemplateRef, descendants: true, static: true }], ngImport: i0 });
191
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: AXDataColumnCellTemplateDirective, decorators: [{
192
192
  type: Directive,
193
193
  args: [{ selector: 'ax-data-column-cell-template' }]
194
194
  }], propDecorators: { _contentTemplate: [{
@@ -200,10 +200,10 @@ const COMPONENT = [AXDataTableComponent, AXDataColumnComponent, AXDataColumnCell
200
200
  const MODULES = [CommonModule, AXTranslationModule, AXResultModule, AXLoadingModule, AXDecoratorModule];
201
201
  class AXDataTableModule {
202
202
  }
203
- AXDataTableModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: AXDataTableModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
204
- AXDataTableModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.0.4", ngImport: i0, type: AXDataTableModule, declarations: [AXDataTableComponent, AXDataColumnComponent, AXDataColumnCellTemplateDirective], imports: [CommonModule, AXTranslationModule, AXResultModule, AXLoadingModule, AXDecoratorModule], exports: [AXDataTableComponent, AXDataColumnComponent, AXDataColumnCellTemplateDirective] });
205
- AXDataTableModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: AXDataTableModule, imports: [MODULES] });
206
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: AXDataTableModule, decorators: [{
203
+ AXDataTableModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: AXDataTableModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
204
+ AXDataTableModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.1.4", ngImport: i0, type: AXDataTableModule, declarations: [AXDataTableComponent, AXDataColumnComponent, AXDataColumnCellTemplateDirective], imports: [CommonModule, AXTranslationModule, AXResultModule, AXLoadingModule, AXDecoratorModule], exports: [AXDataTableComponent, AXDataColumnComponent, AXDataColumnCellTemplateDirective] });
205
+ AXDataTableModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: AXDataTableModule, imports: [MODULES] });
206
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: AXDataTableModule, decorators: [{
207
207
  type: NgModule,
208
208
  args: [{
209
209
  declarations: [...COMPONENT],