@acorex/components 18.6.0 → 18.7.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (421) hide show
  1. package/calendar/lib/calendar-range.component.d.ts +1 -1
  2. package/calendar/lib/calendar.component.d.ts +1 -1
  3. package/color-box/lib/color-box.component.d.ts +1 -1
  4. package/conversation/lib/conversation-input/conversation-input.component.d.ts +1 -1
  5. package/datetime-box/lib/datetime-box.component.d.ts +1 -1
  6. package/datetime-picker/lib/datetime-picker.component.d.ts +1 -1
  7. package/esm2022/action-sheet/lib/action-sheet.component.mjs +3 -3
  8. package/esm2022/action-sheet/lib/action-sheet.module.mjs +4 -4
  9. package/esm2022/action-sheet/lib/action-sheet.service.mjs +3 -3
  10. package/esm2022/alert/lib/alert.component.mjs +3 -3
  11. package/esm2022/alert/lib/alert.module.mjs +4 -4
  12. package/esm2022/audio-wave/lib/audio-wave.component.mjs +3 -3
  13. package/esm2022/audio-wave/lib/audio-wave.module.mjs +4 -4
  14. package/esm2022/avatar/lib/avatar-group.component.mjs +3 -3
  15. package/esm2022/avatar/lib/avatar.component.mjs +3 -3
  16. package/esm2022/avatar/lib/avatar.module.mjs +4 -4
  17. package/esm2022/badge/lib/badge.component.mjs +3 -3
  18. package/esm2022/badge/lib/badge.module.mjs +4 -4
  19. package/esm2022/bottom-navigation/lib/bottom-navigation-item/bottom-navigation-item.component.mjs +3 -3
  20. package/esm2022/bottom-navigation/lib/bottom-navigation.component.mjs +3 -3
  21. package/esm2022/bottom-navigation/lib/bottom-navigation.module.mjs +4 -4
  22. package/esm2022/breadcrumbs/lib/breadcrumbs-item.component.mjs +3 -3
  23. package/esm2022/breadcrumbs/lib/breadcrumbs.component.mjs +3 -3
  24. package/esm2022/breadcrumbs/lib/breadcrumbs.module.mjs +4 -4
  25. package/esm2022/button/lib/button-item-list.component.mjs +3 -3
  26. package/esm2022/button/lib/button-item.component.mjs +3 -3
  27. package/esm2022/button/lib/button.component.mjs +3 -3
  28. package/esm2022/button/lib/button.module.mjs +4 -4
  29. package/esm2022/button-group/lib/button-group.component.mjs +3 -3
  30. package/esm2022/button-group/lib/button-group.module.mjs +4 -4
  31. package/esm2022/calendar/lib/calendar-range.component.mjs +3 -3
  32. package/esm2022/calendar/lib/calendar.class.mjs +3 -3
  33. package/esm2022/calendar/lib/calendar.component.mjs +3 -3
  34. package/esm2022/calendar/lib/calendar.module.mjs +4 -4
  35. package/esm2022/check-box/lib/check-box.component.mjs +3 -3
  36. package/esm2022/check-box/lib/check-box.module.mjs +4 -4
  37. package/esm2022/chips/lib/chips.component.mjs +3 -3
  38. package/esm2022/chips/lib/chips.module.mjs +4 -4
  39. package/esm2022/circular-progress/lib/circular-progress.component.mjs +3 -3
  40. package/esm2022/circular-progress/lib/circular-progress.module.mjs +4 -4
  41. package/esm2022/collapse/lib/collapse-group.component.mjs +3 -3
  42. package/esm2022/collapse/lib/collapse.component.mjs +3 -3
  43. package/esm2022/collapse/lib/collapse.module.mjs +4 -4
  44. package/esm2022/color-box/lib/color-box.component.mjs +3 -3
  45. package/esm2022/color-box/lib/color-box.module.mjs +4 -4
  46. package/esm2022/color-palette/lib/color-palette-input.component.mjs +3 -3
  47. package/esm2022/color-palette/lib/color-palette-picker.component.mjs +4 -4
  48. package/esm2022/color-palette/lib/color-palette-preview.component.mjs +3 -3
  49. package/esm2022/color-palette/lib/color-palette-swatches.component.mjs +3 -3
  50. package/esm2022/color-palette/lib/color-palette.class.mjs +6 -6
  51. package/esm2022/color-palette/lib/color-palette.component.mjs +3 -3
  52. package/esm2022/color-palette/lib/color-palette.module.mjs +4 -4
  53. package/esm2022/comment/lib/comment-container/comment-container.component.mjs +3 -3
  54. package/esm2022/comment/lib/comment-item/comment-item.component.mjs +3 -3
  55. package/esm2022/comment/lib/comment-like/comment-like.component.mjs +3 -3
  56. package/esm2022/comment/lib/comment-reply/comment-reply.component.mjs +3 -3
  57. package/esm2022/comment/lib/comment-reply-text/comment-reply-text.component.mjs +3 -3
  58. package/esm2022/comment/lib/comment-view/comment-view.component.mjs +3 -3
  59. package/esm2022/comment/lib/comment.module.mjs +4 -4
  60. package/esm2022/comment/lib/services/comment.service.mjs +3 -3
  61. package/esm2022/common/lib/classes/components.class.mjs +21 -21
  62. package/esm2022/common/lib/common.module.mjs +4 -4
  63. package/esm2022/common/lib/components/base-component.class.mjs +3 -3
  64. package/esm2022/common/lib/components/input-base-value-component.class.mjs +3 -3
  65. package/esm2022/common/lib/components/look-component.class.mjs +3 -3
  66. package/esm2022/common/lib/components/selection-base.component.class.mjs +6 -6
  67. package/esm2022/common/lib/components/value-component.class.mjs +3 -3
  68. package/esm2022/common/lib/directives/auto-focus.directive.mjs +3 -3
  69. package/esm2022/common/lib/directives/delayed-value-changed.directive.mjs +3 -3
  70. package/esm2022/common/lib/directives/hotkey.directive.mjs +3 -3
  71. package/esm2022/common/lib/directives/infinite-scroll.directive.mjs +3 -3
  72. package/esm2022/common/lib/directives/inverted-color.directive.mjs +3 -3
  73. package/esm2022/common/lib/directives/responsive.directive.mjs +3 -3
  74. package/esm2022/common/lib/directives/ripple.directive.mjs +3 -3
  75. package/esm2022/common/lib/services/dom.service.mjs +3 -3
  76. package/esm2022/common/lib/services/hotkey.service.mjs +3 -3
  77. package/esm2022/conversation/lib/conversation-container/conversation-container.component.mjs +3 -3
  78. package/esm2022/conversation/lib/conversation-input/conversation-input.component.mjs +3 -3
  79. package/esm2022/conversation/lib/conversation-message/conversation-message.component.mjs +3 -3
  80. package/esm2022/conversation/lib/conversation-messages/conversation-message-audio/conversation-message-audio.component.mjs +3 -3
  81. package/esm2022/conversation/lib/conversation-messages/conversation-message-file/conversation-message-file.component.mjs +3 -3
  82. package/esm2022/conversation/lib/conversation-messages/conversation-message-image/conversation-message-image.component.mjs +3 -3
  83. package/esm2022/conversation/lib/conversation-messages/conversation-message-image-popup/conversation-message-image-popup.component.mjs +3 -3
  84. package/esm2022/conversation/lib/conversation-messages/conversation-message-text/conversation-message-text.component.mjs +3 -3
  85. package/esm2022/conversation/lib/conversation-messages/conversation-message-video/conversation-message-video.component.mjs +3 -3
  86. package/esm2022/conversation/lib/conversation-messages/conversation-message-voice/conversation-message-voice.component.mjs +3 -3
  87. package/esm2022/conversation/lib/conversation-view/conversation-view.component.mjs +3 -3
  88. package/esm2022/conversation/lib/conversation.module.mjs +4 -4
  89. package/esm2022/conversation/lib/conversation.types.mjs +3 -3
  90. package/esm2022/conversation/lib/services/conversation-message-type-registry.service.mjs +3 -3
  91. package/esm2022/conversation/lib/services/conversation.service.mjs +3 -3
  92. package/esm2022/conversation/lib/services/recording.service.mjs +3 -3
  93. package/esm2022/data-pager/lib/data-pager-base.component.mjs +6 -6
  94. package/esm2022/data-pager/lib/data-pager-info.component.mjs +3 -3
  95. package/esm2022/data-pager/lib/data-pager-input-selector.component.mjs +3 -3
  96. package/esm2022/data-pager/lib/data-pager-next-buttons.components.mjs +3 -3
  97. package/esm2022/data-pager/lib/data-pager-numeric-selector.component.mjs +3 -3
  98. package/esm2022/data-pager/lib/data-pager-pagesize-dropdown.component.mjs +3 -3
  99. package/esm2022/data-pager/lib/data-pager-prev-buttons.component.mjs +3 -3
  100. package/esm2022/data-pager/lib/data-pager.component.mjs +3 -3
  101. package/esm2022/data-pager/lib/data-pager.module.mjs +4 -4
  102. package/esm2022/data-table/lib/base-data-table.class.mjs +3 -3
  103. package/esm2022/data-table/lib/columns/data-table-column-resizable.directive.mjs +3 -3
  104. package/esm2022/data-table/lib/columns/data-table-column.mjs +3 -3
  105. package/esm2022/data-table/lib/columns/data-text-column.component.mjs +3 -3
  106. package/esm2022/data-table/lib/columns/row-command-column.component.mjs +6 -6
  107. package/esm2022/data-table/lib/columns/row-index-column.component.mjs +3 -3
  108. package/esm2022/data-table/lib/columns/row-select-column.component.mjs +3 -3
  109. package/esm2022/data-table/lib/data-table/data-table.component.mjs +4 -4
  110. package/esm2022/data-table/lib/data-table.module.mjs +4 -4
  111. package/esm2022/data-table/lib/infinite-scroll-data-table/infinite-scroll-data-table.component.mjs +3 -3
  112. package/esm2022/datetime-box/lib/datetime-box.component.mjs +3 -3
  113. package/esm2022/datetime-box/lib/datetime-box.module.mjs +4 -4
  114. package/esm2022/datetime-input/lib/datetime-input.component.mjs +3 -3
  115. package/esm2022/datetime-input/lib/datetime-input.module.mjs +4 -4
  116. package/esm2022/datetime-picker/lib/datetime-picker.component.mjs +3 -3
  117. package/esm2022/datetime-picker/lib/datetime-picker.module.mjs +4 -4
  118. package/esm2022/decorators/lib/components/clear-button.component.mjs +3 -3
  119. package/esm2022/decorators/lib/components/close-button.component.mjs +3 -3
  120. package/esm2022/decorators/lib/components/generic-content.component.mjs +3 -3
  121. package/esm2022/decorators/lib/components/icon.component.mjs +3 -3
  122. package/esm2022/decorators/lib/decorators.module.mjs +4 -4
  123. package/esm2022/dialog/lib/dialog.component.mjs +4 -4
  124. package/esm2022/dialog/lib/dialog.module.mjs +4 -4
  125. package/esm2022/dialog/lib/dialog.service.mjs +3 -3
  126. package/esm2022/drawer/lib/drawer-container.component.mjs +3 -3
  127. package/esm2022/drawer/lib/drawer.component.mjs +3 -3
  128. package/esm2022/drawer/lib/drawer.module.mjs +4 -4
  129. package/esm2022/dropdown/lib/dropdown-box.class.mjs +3 -3
  130. package/esm2022/dropdown/lib/dropdown-box.component.mjs +3 -3
  131. package/esm2022/dropdown/lib/dropdown-panel.component.mjs +3 -3
  132. package/esm2022/dropdown/lib/dropdown.module.mjs +4 -4
  133. package/esm2022/dropdown-button/lib/dropdown-button.component.mjs +3 -3
  134. package/esm2022/dropdown-button/lib/dropdown-button.module.mjs +4 -4
  135. package/esm2022/form/lib/form-field.component.mjs +3 -3
  136. package/esm2022/form/lib/form.component.mjs +3 -3
  137. package/esm2022/form/lib/form.module.mjs +4 -4
  138. package/esm2022/form/lib/validation-rule.directive.mjs +3 -3
  139. package/esm2022/form/lib/validation-summary.component.mjs +3 -3
  140. package/esm2022/image/lib/image.component.mjs +3 -3
  141. package/esm2022/image/lib/image.module.mjs +4 -4
  142. package/esm2022/label/lib/label.component.mjs +3 -3
  143. package/esm2022/label/lib/label.module.mjs +4 -4
  144. package/esm2022/list/lib/list.component.mjs +3 -3
  145. package/esm2022/list/lib/list.module.mjs +4 -4
  146. package/esm2022/loading/lib/loading-spinner.component.mjs +3 -3
  147. package/esm2022/loading/lib/loading.component.mjs +3 -3
  148. package/esm2022/loading/lib/loading.directive.mjs +3 -3
  149. package/esm2022/loading/lib/loading.module.mjs +4 -4
  150. package/esm2022/loading/lib/loading.service.mjs +3 -3
  151. package/esm2022/loading-dialog/lib/loading-dialog.component.mjs +42 -5
  152. package/esm2022/loading-dialog/lib/loading-dialog.module.mjs +4 -4
  153. package/esm2022/loading-dialog/lib/loading-dialog.service.mjs +3 -3
  154. package/esm2022/menu/lib/menu-item/menu-item.component.mjs +50 -4
  155. package/esm2022/menu/lib/menu.component.mjs +10 -4
  156. package/esm2022/menu/lib/menu.module.mjs +4 -4
  157. package/esm2022/menu/lib/menu.service.mjs +3 -3
  158. package/esm2022/nav/lib/nav-item/nav-item.component.mjs +26 -4
  159. package/esm2022/nav/lib/nav.component.mjs +8 -4
  160. package/esm2022/nav/lib/nav.module.mjs +4 -4
  161. package/esm2022/navbar/lib/navbar.component.mjs +9 -4
  162. package/esm2022/navbar/lib/navbar.module.mjs +4 -4
  163. package/esm2022/notification/lib/notification.component.mjs +13 -4
  164. package/esm2022/notification/lib/notification.module.mjs +4 -4
  165. package/esm2022/notification/lib/notification.service.mjs +3 -3
  166. package/esm2022/number-box/lib/number-box.component.mjs +77 -8
  167. package/esm2022/number-box/lib/number-box.module.mjs +4 -4
  168. package/esm2022/otp/lib/otp.component.mjs +38 -4
  169. package/esm2022/otp/lib/otp.module.mjs +4 -4
  170. package/esm2022/page/lib/base-page.class.mjs +3 -3
  171. package/esm2022/page/lib/page.component.mjs +18 -4
  172. package/esm2022/page/lib/page.module.mjs +4 -4
  173. package/esm2022/paint/acorex-components-paint.mjs +5 -0
  174. package/esm2022/paint/index.mjs +8 -0
  175. package/esm2022/paint/lib/paint/paint-container/paint-container.component.mjs +38 -0
  176. package/esm2022/paint/lib/paint/paint-toolbar/paint-toolbar.component.mjs +15 -0
  177. package/esm2022/paint/lib/paint/paint-tools/paint-color-picker/paint-color-picker.component.mjs +46 -0
  178. package/esm2022/paint/lib/paint/paint-tools/paint-pen-cap/paint-pen-cap.component.mjs +37 -0
  179. package/esm2022/paint/lib/paint/paint-tools/paint-pen-mode-changer/paint-pen-mode-changer.component.mjs +55 -0
  180. package/esm2022/paint/lib/paint/paint-view/paint-view.component.mjs +104 -0
  181. package/esm2022/paint/lib/paint/paint.service.mjs +17 -0
  182. package/esm2022/paint/lib/paint.module.mjs +50 -0
  183. package/esm2022/password-box/lib/password-box.component.mjs +13 -4
  184. package/esm2022/password-box/lib/password-box.module.mjs +4 -4
  185. package/esm2022/phone-box/lib/phone-box.component.mjs +38 -4
  186. package/esm2022/phone-box/lib/phone-box.module.mjs +4 -4
  187. package/esm2022/picker/lib/picker-column.directive.mjs +3 -3
  188. package/esm2022/picker/lib/picker.component.mjs +29 -4
  189. package/esm2022/picker/lib/picker.module.mjs +4 -4
  190. package/esm2022/popover/lib/popover.component.mjs +118 -4
  191. package/esm2022/popover/lib/popover.module.mjs +4 -4
  192. package/esm2022/popup/lib/popup.component.mjs +33 -8
  193. package/esm2022/popup/lib/popup.module.mjs +4 -4
  194. package/esm2022/popup/lib/popup.service.mjs +3 -3
  195. package/esm2022/progress-bar/lib/progress-bar.component.mjs +33 -4
  196. package/esm2022/progress-bar/lib/progress-bar.module.mjs +4 -4
  197. package/esm2022/radio/lib/radio.component.mjs +8 -5
  198. package/esm2022/radio/lib/radio.module.mjs +4 -4
  199. package/esm2022/range-slider/lib/range-slider.component.mjs +8 -4
  200. package/esm2022/range-slider/lib/range-slider.module.mjs +4 -4
  201. package/esm2022/result/lib/result.component.mjs +18 -4
  202. package/esm2022/result/lib/result.module.mjs +4 -4
  203. package/esm2022/routing-progress/lib/routing-progress.component.mjs +19 -4
  204. package/esm2022/routing-progress/lib/routing-progress.module.mjs +4 -4
  205. package/esm2022/scheduler/lib/scheduler-month-view.component.mjs +3 -3
  206. package/esm2022/scheduler/lib/scheduler-week-view.component.mjs +3 -3
  207. package/esm2022/scheduler/lib/scheduler.component.mjs +6 -4
  208. package/esm2022/scheduler/lib/scheduler.module.mjs +4 -4
  209. package/esm2022/scss/lib/scss.module.mjs +4 -4
  210. package/esm2022/search-box/lib/search-box.component.mjs +3 -3
  211. package/esm2022/search-box/lib/search-box.module.mjs +4 -4
  212. package/esm2022/select-box/lib/select-box.component.mjs +5 -5
  213. package/esm2022/select-box/lib/select-box.module.mjs +4 -4
  214. package/esm2022/selection-list/lib/selection-list.component.mjs +3 -3
  215. package/esm2022/selection-list/lib/selection-list.module.mjs +4 -4
  216. package/esm2022/side-menu/lib/side-menu-item/side-menu-item.compoent.mjs +3 -3
  217. package/esm2022/side-menu/lib/side-menu.component.mjs +3 -3
  218. package/esm2022/side-menu/lib/side-menu.module.mjs +4 -4
  219. package/esm2022/skeleton/lib/skeleton.component.mjs +3 -3
  220. package/esm2022/skeleton/lib/skeleton.module.mjs +4 -4
  221. package/esm2022/slider/lib/slider.component.mjs +3 -3
  222. package/esm2022/slider/lib/slider.module.mjs +4 -4
  223. package/esm2022/step-wizard/lib/step-wizard-item/step-wizard-item.component.mjs +3 -3
  224. package/esm2022/step-wizard/lib/step-wizard.component.mjs +17 -4
  225. package/esm2022/step-wizard/lib/step-wizard.directive.mjs +3 -3
  226. package/esm2022/step-wizard/lib/step-wizard.module.mjs +4 -4
  227. package/esm2022/switch/lib/switch-content.component.mjs +3 -3
  228. package/esm2022/switch/lib/switch.component.mjs +3 -3
  229. package/esm2022/switch/lib/switch.module.mjs +4 -4
  230. package/esm2022/tabs/lib/tab-content.directive.mjs +3 -3
  231. package/esm2022/tabs/lib/tab-item.component.mjs +3 -3
  232. package/esm2022/tabs/lib/tabs.component.mjs +3 -3
  233. package/esm2022/tabs/lib/tabs.module.mjs +4 -4
  234. package/esm2022/tag/lib/tag.component.mjs +8 -4
  235. package/esm2022/tag/lib/tag.module.mjs +4 -4
  236. package/esm2022/text-area/lib/text-area.component.mjs +8 -4
  237. package/esm2022/text-area/lib/text-area.module.mjs +4 -4
  238. package/esm2022/text-box/lib/mask-options.directive.mjs +3 -3
  239. package/esm2022/text-box/lib/text-box.component.mjs +3 -3
  240. package/esm2022/text-box/lib/text-box.module.mjs +4 -4
  241. package/esm2022/toast/lib/toast.component.mjs +3 -3
  242. package/esm2022/toast/lib/toast.module.mjs +4 -4
  243. package/esm2022/toast/lib/toast.service.mjs +3 -3
  244. package/esm2022/tooltip/lib/tooltip.component.mjs +3 -3
  245. package/esm2022/tooltip/lib/tooltip.directive.mjs +3 -3
  246. package/esm2022/tooltip/lib/tooltip.module.mjs +4 -4
  247. package/esm2022/uploader/lib/uploader-browse-handle.directive.mjs +3 -3
  248. package/esm2022/uploader/lib/uploader-dialog-container/uploader-dialog-container.component.mjs +3 -3
  249. package/esm2022/uploader/lib/uploader-drop-zone/uploader-drop-zone.component.mjs +3 -3
  250. package/esm2022/uploader/lib/uploader-list/uploader-list.component.mjs +7 -9
  251. package/esm2022/uploader/lib/uploader-zone.directive.mjs +3 -3
  252. package/esm2022/uploader/lib/uploader.models.mjs +21 -11
  253. package/esm2022/uploader/lib/uploader.module.mjs +4 -4
  254. package/esm2022/uploader/lib/uploader.service.mjs +50 -28
  255. package/esm2022/wysiwyg/index.mjs +7 -1
  256. package/esm2022/wysiwyg/lib/wysiwyg/wysiwyg-container/wysiwyg-container.component.mjs +11 -19
  257. package/esm2022/wysiwyg/lib/wysiwyg/wysiwyg-toolbar/wysiwyg-toolbar.component.mjs +7 -259
  258. package/esm2022/wysiwyg/lib/wysiwyg/wysiwyg-tools/wysiwyg-alignment/wysiwyg-alignment.component.mjs +59 -0
  259. package/esm2022/wysiwyg/lib/wysiwyg/wysiwyg-tools/wysiwyg-colors/wysiwyg-colors.component.mjs +53 -0
  260. package/esm2022/wysiwyg/lib/wysiwyg/wysiwyg-tools/wysiwyg-font-style/wysiwyg-font-style.component.mjs +156 -0
  261. package/esm2022/wysiwyg/lib/wysiwyg/wysiwyg-tools/wysiwyg-history/wysiwyg-history.component.mjs +36 -0
  262. package/esm2022/wysiwyg/lib/wysiwyg/wysiwyg-tools/wysiwyg-insert/wysiwyg-insert.component.mjs +49 -0
  263. package/esm2022/wysiwyg/lib/wysiwyg/wysiwyg-tools/wysiwyg-list/wysiwyg-list.component.mjs +67 -0
  264. package/esm2022/wysiwyg/lib/wysiwyg/wysiwyg-view/wysiwyg-view.component.mjs +9 -8
  265. package/esm2022/wysiwyg/lib/wysiwyg/wysiwyg.service.mjs +4 -5
  266. package/esm2022/wysiwyg/lib/wysiwyg.module.mjs +38 -6
  267. package/fesm2022/acorex-components-action-sheet.mjs +10 -10
  268. package/fesm2022/acorex-components-alert.mjs +7 -7
  269. package/fesm2022/acorex-components-audio-wave.mjs +7 -7
  270. package/fesm2022/acorex-components-avatar.mjs +10 -10
  271. package/fesm2022/acorex-components-badge.mjs +7 -7
  272. package/fesm2022/acorex-components-bottom-navigation.mjs +10 -10
  273. package/fesm2022/acorex-components-breadcrumbs.mjs +10 -10
  274. package/fesm2022/acorex-components-button-group.mjs +7 -7
  275. package/fesm2022/acorex-components-button.mjs +13 -13
  276. package/fesm2022/acorex-components-calendar.mjs +13 -13
  277. package/fesm2022/acorex-components-check-box.mjs +7 -7
  278. package/fesm2022/acorex-components-chips.mjs +7 -7
  279. package/fesm2022/acorex-components-circular-progress.mjs +7 -7
  280. package/fesm2022/acorex-components-collapse.mjs +10 -10
  281. package/fesm2022/acorex-components-color-box.mjs +7 -7
  282. package/fesm2022/acorex-components-color-palette.mjs +26 -26
  283. package/fesm2022/acorex-components-color-palette.mjs.map +1 -1
  284. package/fesm2022/acorex-components-comment.mjs +25 -25
  285. package/fesm2022/acorex-components-common.mjs +70 -70
  286. package/fesm2022/acorex-components-conversation.mjs +49 -49
  287. package/fesm2022/acorex-components-data-pager.mjs +31 -31
  288. package/fesm2022/acorex-components-data-table.mjs +35 -35
  289. package/fesm2022/acorex-components-data-table.mjs.map +1 -1
  290. package/fesm2022/acorex-components-datetime-box.mjs +7 -7
  291. package/fesm2022/acorex-components-datetime-input.mjs +7 -7
  292. package/fesm2022/acorex-components-datetime-picker.mjs +7 -7
  293. package/fesm2022/acorex-components-decorators.mjs +16 -16
  294. package/fesm2022/acorex-components-dialog.mjs +11 -11
  295. package/fesm2022/acorex-components-dialog.mjs.map +1 -1
  296. package/fesm2022/acorex-components-drawer.mjs +10 -10
  297. package/fesm2022/acorex-components-dropdown-button.mjs +7 -7
  298. package/fesm2022/acorex-components-dropdown.mjs +13 -13
  299. package/fesm2022/acorex-components-form.mjs +16 -16
  300. package/fesm2022/acorex-components-image.mjs +7 -7
  301. package/fesm2022/acorex-components-label.mjs +7 -7
  302. package/fesm2022/acorex-components-list.mjs +7 -7
  303. package/fesm2022/acorex-components-loading-dialog.mjs +48 -11
  304. package/fesm2022/acorex-components-loading-dialog.mjs.map +1 -1
  305. package/fesm2022/acorex-components-loading.mjs +16 -16
  306. package/fesm2022/acorex-components-menu.mjs +65 -13
  307. package/fesm2022/acorex-components-menu.mjs.map +1 -1
  308. package/fesm2022/acorex-components-nav.mjs +36 -10
  309. package/fesm2022/acorex-components-nav.mjs.map +1 -1
  310. package/fesm2022/acorex-components-navbar.mjs +12 -7
  311. package/fesm2022/acorex-components-navbar.mjs.map +1 -1
  312. package/fesm2022/acorex-components-notification.mjs +19 -10
  313. package/fesm2022/acorex-components-notification.mjs.map +1 -1
  314. package/fesm2022/acorex-components-number-box.mjs +80 -11
  315. package/fesm2022/acorex-components-number-box.mjs.map +1 -1
  316. package/fesm2022/acorex-components-otp.mjs +41 -7
  317. package/fesm2022/acorex-components-otp.mjs.map +1 -1
  318. package/fesm2022/acorex-components-page.mjs +24 -10
  319. package/fesm2022/acorex-components-page.mjs.map +1 -1
  320. package/fesm2022/acorex-components-paint.mjs +336 -0
  321. package/fesm2022/acorex-components-paint.mjs.map +1 -0
  322. package/fesm2022/acorex-components-password-box.mjs +16 -7
  323. package/fesm2022/acorex-components-password-box.mjs.map +1 -1
  324. package/fesm2022/acorex-components-phone-box.mjs +41 -7
  325. package/fesm2022/acorex-components-phone-box.mjs.map +1 -1
  326. package/fesm2022/acorex-components-picker.mjs +35 -10
  327. package/fesm2022/acorex-components-picker.mjs.map +1 -1
  328. package/fesm2022/acorex-components-popover.mjs +121 -7
  329. package/fesm2022/acorex-components-popover.mjs.map +1 -1
  330. package/fesm2022/acorex-components-popup.mjs +39 -14
  331. package/fesm2022/acorex-components-popup.mjs.map +1 -1
  332. package/fesm2022/acorex-components-progress-bar.mjs +36 -7
  333. package/fesm2022/acorex-components-progress-bar.mjs.map +1 -1
  334. package/fesm2022/acorex-components-radio.mjs +11 -8
  335. package/fesm2022/acorex-components-radio.mjs.map +1 -1
  336. package/fesm2022/acorex-components-range-slider.mjs +11 -7
  337. package/fesm2022/acorex-components-range-slider.mjs.map +1 -1
  338. package/fesm2022/acorex-components-result.mjs +21 -7
  339. package/fesm2022/acorex-components-result.mjs.map +1 -1
  340. package/fesm2022/acorex-components-routing-progress.mjs +22 -7
  341. package/fesm2022/acorex-components-routing-progress.mjs.map +1 -1
  342. package/fesm2022/acorex-components-scheduler.mjs +15 -13
  343. package/fesm2022/acorex-components-scheduler.mjs.map +1 -1
  344. package/fesm2022/acorex-components-scss.mjs +4 -4
  345. package/fesm2022/acorex-components-search-box.mjs +7 -7
  346. package/fesm2022/acorex-components-select-box.mjs +8 -8
  347. package/fesm2022/acorex-components-select-box.mjs.map +1 -1
  348. package/fesm2022/acorex-components-selection-list.mjs +7 -7
  349. package/fesm2022/acorex-components-side-menu.mjs +10 -10
  350. package/fesm2022/acorex-components-skeleton.mjs +7 -7
  351. package/fesm2022/acorex-components-slider.mjs +7 -7
  352. package/fesm2022/acorex-components-step-wizard.mjs +26 -13
  353. package/fesm2022/acorex-components-step-wizard.mjs.map +1 -1
  354. package/fesm2022/acorex-components-switch.mjs +10 -10
  355. package/fesm2022/acorex-components-tabs.mjs +13 -13
  356. package/fesm2022/acorex-components-tag.mjs +11 -7
  357. package/fesm2022/acorex-components-tag.mjs.map +1 -1
  358. package/fesm2022/acorex-components-text-area.mjs +11 -7
  359. package/fesm2022/acorex-components-text-area.mjs.map +1 -1
  360. package/fesm2022/acorex-components-text-box.mjs +10 -10
  361. package/fesm2022/acorex-components-toast.mjs +10 -10
  362. package/fesm2022/acorex-components-tooltip.mjs +10 -10
  363. package/fesm2022/acorex-components-uploader.mjs +90 -62
  364. package/fesm2022/acorex-components-uploader.mjs.map +1 -1
  365. package/fesm2022/acorex-components-wysiwyg.mjs +321 -164
  366. package/fesm2022/acorex-components-wysiwyg.mjs.map +1 -1
  367. package/loading-dialog/lib/loading-dialog.component.d.ts +39 -1
  368. package/menu/lib/menu-item/menu-item.component.d.ts +52 -0
  369. package/menu/lib/menu.component.d.ts +7 -0
  370. package/nav/lib/nav-item/nav-item.component.d.ts +22 -0
  371. package/nav/lib/nav.component.d.ts +4 -0
  372. package/navbar/lib/navbar.component.d.ts +5 -0
  373. package/notification/lib/notification.component.d.ts +11 -0
  374. package/number-box/lib/number-box.component.d.ts +74 -1
  375. package/otp/lib/otp.component.d.ts +35 -1
  376. package/package.json +86 -80
  377. package/page/lib/page.component.d.ts +15 -0
  378. package/paint/README.md +3 -0
  379. package/paint/index.d.ts +7 -0
  380. package/paint/lib/paint/paint-container/paint-container.component.d.ts +16 -0
  381. package/paint/lib/paint/paint-toolbar/paint-toolbar.component.d.ts +9 -0
  382. package/paint/lib/paint/paint-tools/paint-color-picker/paint-color-picker.component.d.ts +27 -0
  383. package/paint/lib/paint/paint-tools/paint-pen-cap/paint-pen-cap.component.d.ts +20 -0
  384. package/paint/lib/paint/paint-tools/paint-pen-mode-changer/paint-pen-mode-changer.component.d.ts +33 -0
  385. package/paint/lib/paint/paint-view/paint-view.component.d.ts +42 -0
  386. package/paint/lib/paint/paint.service.d.ts +10 -0
  387. package/paint/lib/paint.module.d.ts +19 -0
  388. package/password-box/lib/password-box.component.d.ts +14 -1
  389. package/phone-box/lib/phone-box.component.d.ts +39 -1
  390. package/picker/lib/picker.component.d.ts +29 -0
  391. package/popover/lib/popover.component.d.ts +129 -0
  392. package/popup/lib/popup.component.d.ts +39 -4
  393. package/progress-bar/lib/progress-bar.component.d.ts +30 -0
  394. package/radio/lib/radio.component.d.ts +7 -1
  395. package/range-slider/lib/range-slider.component.d.ts +4 -0
  396. package/result/lib/result.component.d.ts +14 -0
  397. package/routing-progress/lib/routing-progress.component.d.ts +16 -0
  398. package/scheduler/lib/scheduler.component.d.ts +2 -0
  399. package/search-box/lib/search-box.component.d.ts +1 -1
  400. package/select-box/lib/select-box.component.d.ts +1 -1
  401. package/slider/lib/slider.component.d.ts +1 -1
  402. package/step-wizard/lib/step-wizard.component.d.ts +13 -0
  403. package/switch/lib/switch.component.d.ts +1 -1
  404. package/tag/lib/tag.component.d.ts +4 -0
  405. package/text-area/lib/text-area.component.d.ts +6 -1
  406. package/text-box/lib/text-box.component.d.ts +1 -1
  407. package/uploader/lib/uploader-list/uploader-list.component.d.ts +1 -2
  408. package/uploader/lib/uploader.models.d.ts +9 -4
  409. package/uploader/lib/uploader.service.d.ts +5 -1
  410. package/wysiwyg/index.d.ts +6 -0
  411. package/wysiwyg/lib/wysiwyg/wysiwyg-container/wysiwyg-container.component.d.ts +8 -16
  412. package/wysiwyg/lib/wysiwyg/wysiwyg-toolbar/wysiwyg-toolbar.component.d.ts +1 -99
  413. package/wysiwyg/lib/wysiwyg/wysiwyg-tools/wysiwyg-alignment/wysiwyg-alignment.component.d.ts +31 -0
  414. package/wysiwyg/lib/wysiwyg/wysiwyg-tools/wysiwyg-colors/wysiwyg-colors.component.d.ts +35 -0
  415. package/wysiwyg/lib/wysiwyg/wysiwyg-tools/wysiwyg-font-style/wysiwyg-font-style.component.d.ts +37 -0
  416. package/wysiwyg/lib/wysiwyg/wysiwyg-tools/wysiwyg-history/wysiwyg-history.component.d.ts +21 -0
  417. package/wysiwyg/lib/wysiwyg/wysiwyg-tools/wysiwyg-insert/wysiwyg-insert.component.d.ts +35 -0
  418. package/wysiwyg/lib/wysiwyg/wysiwyg-tools/wysiwyg-list/wysiwyg-list.component.d.ts +23 -0
  419. package/wysiwyg/lib/wysiwyg/wysiwyg-view/wysiwyg-view.component.d.ts +3 -1
  420. package/wysiwyg/lib/wysiwyg/wysiwyg.service.d.ts +0 -1
  421. package/wysiwyg/lib/wysiwyg.module.d.ts +14 -8
@@ -80,10 +80,10 @@ class AXToastComponent extends MXBaseComponent {
80
80
  htmlElement: this.getHostElement(),
81
81
  });
82
82
  }
83
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXToastComponent, deps: [{ token: DIALOG_DATA }, { token: i1.DialogRef }], target: i0.ɵɵFactoryTarget.Component }); }
84
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.0.2", type: AXToastComponent, selector: "ax-toast", host: { properties: { "class": "this.__hostClass" } }, providers: [{ provide: AXClosbaleComponent, useExisting: AXToastComponent }], usesInheritance: true, ngImport: i0, template: "<span class=\"ax-toast-icon ax-icon-solid {{ _icon }}\"></span>\n<div class=\"ax-toast-content\">\n <div class=\"ax-toast-title\" [class.ax-mb-2]=\"config.title && config.content\">{{ config.title | translate | async }}\n </div>\n <div class=\"ax-toast-content\" [innerHTML]=\"config.content\"></div>\n</div>\n@if(config.closeButton){\n<ax-close-button></ax-close-button>\n}\n@if(config.timeOutProgress && config.timeOut){\n<div class=\"ax-toast-progress\" [style.animation-duration.ms]=\"config.timeOut\"></div>\n}", styles: [".ax-dark ax-toast.ax-primary{background-color:rgba(var(--ax-color-primary-800));color:rgba(var(--ax-color-primary-fore))}.ax-dark ax-toast.ax-primary .ax-toast-title{color:rgba(var(--ax-color-primary-fore))}.ax-dark ax-toast.ax-primary ax-button[class$=blank]{color:rgba(var(--ax-color-primary-fore))}.ax-dark ax-toast.ax-primary .ax-toast-progress{background-color:rgba(var(--ax-color-primary-200))}.ax-dark ax-toast.ax-secondary{background-color:rgba(var(--ax-color-secondary-800));color:rgba(var(--ax-color-secondary-fore))}.ax-dark ax-toast.ax-secondary .ax-toast-title{color:rgba(var(--ax-color-secondary-fore))}.ax-dark ax-toast.ax-secondary ax-button[class$=blank]{color:rgba(var(--ax-color-secondary-fore))}.ax-dark ax-toast.ax-secondary .ax-toast-progress{background-color:rgba(var(--ax-color-secondary-200))}.ax-dark ax-toast.ax-success{background-color:rgba(var(--ax-color-success-800));color:rgba(var(--ax-color-success-fore))}.ax-dark ax-toast.ax-success .ax-toast-title{color:rgba(var(--ax-color-success-fore))}.ax-dark ax-toast.ax-success ax-button[class$=blank]{color:rgba(var(--ax-color-success-fore))}.ax-dark ax-toast.ax-success .ax-toast-progress{background-color:rgba(var(--ax-color-success-200))}.ax-dark ax-toast.ax-warning{background-color:rgba(var(--ax-color-warning-800));color:rgba(var(--ax-color-warning-fore))}.ax-dark ax-toast.ax-warning .ax-toast-title{color:rgba(var(--ax-color-warning-fore))}.ax-dark ax-toast.ax-warning ax-button[class$=blank]{color:rgba(var(--ax-color-warning-fore))}.ax-dark ax-toast.ax-warning .ax-toast-progress{background-color:rgba(var(--ax-color-warning-200))}.ax-dark ax-toast.ax-danger{background-color:rgba(var(--ax-color-danger-800));color:rgba(var(--ax-color-danger-fore))}.ax-dark ax-toast.ax-danger .ax-toast-title{color:rgba(var(--ax-color-danger-fore))}.ax-dark ax-toast.ax-danger ax-button[class$=blank]{color:rgba(var(--ax-color-danger-fore))}.ax-dark ax-toast.ax-danger .ax-toast-progress{background-color:rgba(var(--ax-color-danger-200))}.ax-dark ax-toast.ax-info{background-color:rgba(var(--ax-color-info-800));color:rgba(var(--ax-color-info-fore))}.ax-dark ax-toast.ax-info .ax-toast-title{color:rgba(var(--ax-color-info-fore))}.ax-dark ax-toast.ax-info ax-button[class$=blank]{color:rgba(var(--ax-color-info-fore))}.ax-dark ax-toast.ax-info .ax-toast-progress{background-color:rgba(var(--ax-color-info-200))}ax-toast{position:relative;display:flex;width:98vw;overflow:hidden;border-radius:var(--ax-rounded-border-default);padding:.75rem 1rem;font-size:.875rem;line-height:1.25rem;--ax-shadow: 0 4px 6px -1px rgb(0 0 0 / .1), 0 2px 4px -2px rgb(0 0 0 / .1);--ax-shadow-colored: 0 4px 6px -1px var(--ax-shadow-color), 0 2px 4px -2px var(--ax-shadow-color);box-shadow:var(--ax-ring-offset-shadow, 0 0 rgba(0, 0, 0, 0)),var(--ax-ring-shadow, 0 0 rgba(0, 0, 0, 0)),var(--ax-shadow)}@media (min-width: 768px){ax-toast{width:24rem}}ax-toast.ax-primary{background-color:rgba(var(--ax-color-primary-500));color:rgba(var(--ax-color-primary-fore))}ax-toast.ax-primary .ax-toast-progress{color:rgba(var(--ax-color-primary-800))}ax-toast.ax-secondary{background-color:rgba(var(--ax-color-secondary-500));color:rgba(var(--ax-color-secondary-fore))}ax-toast.ax-secondary .ax-toast-progress{color:rgba(var(--ax-color-secondary-800))}ax-toast.ax-success{background-color:rgba(var(--ax-color-success-500));color:rgba(var(--ax-color-success-fore))}ax-toast.ax-success .ax-toast-progress{color:rgba(var(--ax-color-success-800))}ax-toast.ax-warning{background-color:rgba(var(--ax-color-warning-500));color:rgba(var(--ax-color-warning-fore))}ax-toast.ax-warning .ax-toast-progress{color:rgba(var(--ax-color-warning-800))}ax-toast.ax-danger{background-color:rgba(var(--ax-color-danger-500));color:rgba(var(--ax-color-danger-fore))}ax-toast.ax-danger .ax-toast-progress{color:rgba(var(--ax-color-danger-800))}ax-toast.ax-info{background-color:rgba(var(--ax-color-info-500));color:rgba(var(--ax-color-info-fore))}ax-toast.ax-info .ax-toast-progress{color:rgba(var(--ax-color-info-800))}ax-toast.ax-ghost{background-color:rgba(var(--ax-color-ghost));color:rgba(var(--ax-color-ghost-fore))}ax-toast.ax-ghost .ax-toast-progress{background-color:rgba(var(--ax-color-ghost-fore))}ax-toast .ax-toast-icon,ax-toast .ax-icon-close{font-size:1.25rem;line-height:1}ax-toast .ax-toast-icon{margin-inline-end:.5rem}ax-toast .ax-toast-content{display:flex;flex:1 1 0%;flex-direction:column}ax-toast .ax-toast-content .ax-toast-title{font-weight:500;line-height:1.5rem}ax-toast .ax-toast-content .ax-toast-buttons{margin-top:.75rem;margin-bottom:.75rem;display:flex;gap:.5rem}ax-toast ax-icon-close{height:fit-content}ax-toast ax-icon-close:hover{opacity:.75}ax-toast .ax-toast-progress{animation-duration:4s;animation-timing-function:linear;animation-name:progressBar;background-color:#ffffff75;position:absolute;bottom:0;inset-inline-end:0px;inset-inline-start:0px;height:.25rem;width:100%}@keyframes progressBar{0%{width:100%}to{width:0%}}\n"], dependencies: [{ kind: "component", type: i2.AXDecoratorCloseButtonComponent, selector: "ax-close-button", inputs: ["icon"] }, { kind: "pipe", type: i3.AsyncPipe, name: "async" }, { kind: "pipe", type: i4.AXTranslatorPipe, name: "translate" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
83
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXToastComponent, deps: [{ token: DIALOG_DATA }, { token: i1.DialogRef }], target: i0.ɵɵFactoryTarget.Component }); }
84
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.0", type: AXToastComponent, selector: "ax-toast", host: { properties: { "class": "this.__hostClass" } }, providers: [{ provide: AXClosbaleComponent, useExisting: AXToastComponent }], usesInheritance: true, ngImport: i0, template: "<span class=\"ax-toast-icon ax-icon-solid {{ _icon }}\"></span>\n<div class=\"ax-toast-content\">\n <div class=\"ax-toast-title\" [class.ax-mb-2]=\"config.title && config.content\">{{ config.title | translate | async }}\n </div>\n <div class=\"ax-toast-content\" [innerHTML]=\"config.content\"></div>\n</div>\n@if(config.closeButton){\n<ax-close-button></ax-close-button>\n}\n@if(config.timeOutProgress && config.timeOut){\n<div class=\"ax-toast-progress\" [style.animation-duration.ms]=\"config.timeOut\"></div>\n}", styles: [".ax-dark ax-toast.ax-primary{background-color:rgba(var(--ax-color-primary-800));color:rgba(var(--ax-color-primary-fore))}.ax-dark ax-toast.ax-primary .ax-toast-title{color:rgba(var(--ax-color-primary-fore))}.ax-dark ax-toast.ax-primary ax-button[class$=blank]{color:rgba(var(--ax-color-primary-fore))}.ax-dark ax-toast.ax-primary .ax-toast-progress{background-color:rgba(var(--ax-color-primary-200))}.ax-dark ax-toast.ax-secondary{background-color:rgba(var(--ax-color-secondary-800));color:rgba(var(--ax-color-secondary-fore))}.ax-dark ax-toast.ax-secondary .ax-toast-title{color:rgba(var(--ax-color-secondary-fore))}.ax-dark ax-toast.ax-secondary ax-button[class$=blank]{color:rgba(var(--ax-color-secondary-fore))}.ax-dark ax-toast.ax-secondary .ax-toast-progress{background-color:rgba(var(--ax-color-secondary-200))}.ax-dark ax-toast.ax-success{background-color:rgba(var(--ax-color-success-800));color:rgba(var(--ax-color-success-fore))}.ax-dark ax-toast.ax-success .ax-toast-title{color:rgba(var(--ax-color-success-fore))}.ax-dark ax-toast.ax-success ax-button[class$=blank]{color:rgba(var(--ax-color-success-fore))}.ax-dark ax-toast.ax-success .ax-toast-progress{background-color:rgba(var(--ax-color-success-200))}.ax-dark ax-toast.ax-warning{background-color:rgba(var(--ax-color-warning-800));color:rgba(var(--ax-color-warning-fore))}.ax-dark ax-toast.ax-warning .ax-toast-title{color:rgba(var(--ax-color-warning-fore))}.ax-dark ax-toast.ax-warning ax-button[class$=blank]{color:rgba(var(--ax-color-warning-fore))}.ax-dark ax-toast.ax-warning .ax-toast-progress{background-color:rgba(var(--ax-color-warning-200))}.ax-dark ax-toast.ax-danger{background-color:rgba(var(--ax-color-danger-800));color:rgba(var(--ax-color-danger-fore))}.ax-dark ax-toast.ax-danger .ax-toast-title{color:rgba(var(--ax-color-danger-fore))}.ax-dark ax-toast.ax-danger ax-button[class$=blank]{color:rgba(var(--ax-color-danger-fore))}.ax-dark ax-toast.ax-danger .ax-toast-progress{background-color:rgba(var(--ax-color-danger-200))}.ax-dark ax-toast.ax-info{background-color:rgba(var(--ax-color-info-800));color:rgba(var(--ax-color-info-fore))}.ax-dark ax-toast.ax-info .ax-toast-title{color:rgba(var(--ax-color-info-fore))}.ax-dark ax-toast.ax-info ax-button[class$=blank]{color:rgba(var(--ax-color-info-fore))}.ax-dark ax-toast.ax-info .ax-toast-progress{background-color:rgba(var(--ax-color-info-200))}ax-toast{position:relative;display:flex;width:98vw;overflow:hidden;border-radius:var(--ax-rounded-border-default);padding:.75rem 1rem;font-size:.875rem;line-height:1.25rem;--ax-shadow: 0 4px 6px -1px rgb(0 0 0 / .1), 0 2px 4px -2px rgb(0 0 0 / .1);--ax-shadow-colored: 0 4px 6px -1px var(--ax-shadow-color), 0 2px 4px -2px var(--ax-shadow-color);box-shadow:var(--ax-ring-offset-shadow, 0 0 rgba(0, 0, 0, 0)),var(--ax-ring-shadow, 0 0 rgba(0, 0, 0, 0)),var(--ax-shadow)}@media (min-width: 768px){ax-toast{width:24rem}}ax-toast.ax-primary{background-color:rgba(var(--ax-color-primary-500));color:rgba(var(--ax-color-primary-fore))}ax-toast.ax-primary .ax-toast-progress{color:rgba(var(--ax-color-primary-800))}ax-toast.ax-secondary{background-color:rgba(var(--ax-color-secondary-500));color:rgba(var(--ax-color-secondary-fore))}ax-toast.ax-secondary .ax-toast-progress{color:rgba(var(--ax-color-secondary-800))}ax-toast.ax-success{background-color:rgba(var(--ax-color-success-500));color:rgba(var(--ax-color-success-fore))}ax-toast.ax-success .ax-toast-progress{color:rgba(var(--ax-color-success-800))}ax-toast.ax-warning{background-color:rgba(var(--ax-color-warning-500));color:rgba(var(--ax-color-warning-fore))}ax-toast.ax-warning .ax-toast-progress{color:rgba(var(--ax-color-warning-800))}ax-toast.ax-danger{background-color:rgba(var(--ax-color-danger-500));color:rgba(var(--ax-color-danger-fore))}ax-toast.ax-danger .ax-toast-progress{color:rgba(var(--ax-color-danger-800))}ax-toast.ax-info{background-color:rgba(var(--ax-color-info-500));color:rgba(var(--ax-color-info-fore))}ax-toast.ax-info .ax-toast-progress{color:rgba(var(--ax-color-info-800))}ax-toast.ax-ghost{background-color:rgba(var(--ax-color-ghost));color:rgba(var(--ax-color-ghost-fore))}ax-toast.ax-ghost .ax-toast-progress{background-color:rgba(var(--ax-color-ghost-fore))}ax-toast .ax-toast-icon,ax-toast .ax-icon-close{font-size:1.25rem;line-height:1}ax-toast .ax-toast-icon{margin-inline-end:.5rem}ax-toast .ax-toast-content{display:flex;flex:1 1 0%;flex-direction:column}ax-toast .ax-toast-content .ax-toast-title{font-weight:500;line-height:1.5rem}ax-toast .ax-toast-content .ax-toast-buttons{margin-top:.75rem;margin-bottom:.75rem;display:flex;gap:.5rem}ax-toast ax-icon-close{height:fit-content}ax-toast ax-icon-close:hover{opacity:.75}ax-toast .ax-toast-progress{animation-duration:4s;animation-timing-function:linear;animation-name:progressBar;background-color:#ffffff75;position:absolute;bottom:0;inset-inline-end:0px;inset-inline-start:0px;height:.25rem;width:100%}@keyframes progressBar{0%{width:100%}to{width:0%}}\n"], dependencies: [{ kind: "component", type: i2.AXDecoratorCloseButtonComponent, selector: "ax-close-button", inputs: ["icon"] }, { kind: "pipe", type: i3.AsyncPipe, name: "async" }, { kind: "pipe", type: i4.AXTranslatorPipe, name: "translate" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
85
85
  }
86
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXToastComponent, decorators: [{
86
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXToastComponent, decorators: [{
87
87
  type: Component,
88
88
  args: [{ selector: 'ax-toast', changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, providers: [{ provide: AXClosbaleComponent, useExisting: AXToastComponent }], template: "<span class=\"ax-toast-icon ax-icon-solid {{ _icon }}\"></span>\n<div class=\"ax-toast-content\">\n <div class=\"ax-toast-title\" [class.ax-mb-2]=\"config.title && config.content\">{{ config.title | translate | async }}\n </div>\n <div class=\"ax-toast-content\" [innerHTML]=\"config.content\"></div>\n</div>\n@if(config.closeButton){\n<ax-close-button></ax-close-button>\n}\n@if(config.timeOutProgress && config.timeOut){\n<div class=\"ax-toast-progress\" [style.animation-duration.ms]=\"config.timeOut\"></div>\n}", styles: [".ax-dark ax-toast.ax-primary{background-color:rgba(var(--ax-color-primary-800));color:rgba(var(--ax-color-primary-fore))}.ax-dark ax-toast.ax-primary .ax-toast-title{color:rgba(var(--ax-color-primary-fore))}.ax-dark ax-toast.ax-primary ax-button[class$=blank]{color:rgba(var(--ax-color-primary-fore))}.ax-dark ax-toast.ax-primary .ax-toast-progress{background-color:rgba(var(--ax-color-primary-200))}.ax-dark ax-toast.ax-secondary{background-color:rgba(var(--ax-color-secondary-800));color:rgba(var(--ax-color-secondary-fore))}.ax-dark ax-toast.ax-secondary .ax-toast-title{color:rgba(var(--ax-color-secondary-fore))}.ax-dark ax-toast.ax-secondary ax-button[class$=blank]{color:rgba(var(--ax-color-secondary-fore))}.ax-dark ax-toast.ax-secondary .ax-toast-progress{background-color:rgba(var(--ax-color-secondary-200))}.ax-dark ax-toast.ax-success{background-color:rgba(var(--ax-color-success-800));color:rgba(var(--ax-color-success-fore))}.ax-dark ax-toast.ax-success .ax-toast-title{color:rgba(var(--ax-color-success-fore))}.ax-dark ax-toast.ax-success ax-button[class$=blank]{color:rgba(var(--ax-color-success-fore))}.ax-dark ax-toast.ax-success .ax-toast-progress{background-color:rgba(var(--ax-color-success-200))}.ax-dark ax-toast.ax-warning{background-color:rgba(var(--ax-color-warning-800));color:rgba(var(--ax-color-warning-fore))}.ax-dark ax-toast.ax-warning .ax-toast-title{color:rgba(var(--ax-color-warning-fore))}.ax-dark ax-toast.ax-warning ax-button[class$=blank]{color:rgba(var(--ax-color-warning-fore))}.ax-dark ax-toast.ax-warning .ax-toast-progress{background-color:rgba(var(--ax-color-warning-200))}.ax-dark ax-toast.ax-danger{background-color:rgba(var(--ax-color-danger-800));color:rgba(var(--ax-color-danger-fore))}.ax-dark ax-toast.ax-danger .ax-toast-title{color:rgba(var(--ax-color-danger-fore))}.ax-dark ax-toast.ax-danger ax-button[class$=blank]{color:rgba(var(--ax-color-danger-fore))}.ax-dark ax-toast.ax-danger .ax-toast-progress{background-color:rgba(var(--ax-color-danger-200))}.ax-dark ax-toast.ax-info{background-color:rgba(var(--ax-color-info-800));color:rgba(var(--ax-color-info-fore))}.ax-dark ax-toast.ax-info .ax-toast-title{color:rgba(var(--ax-color-info-fore))}.ax-dark ax-toast.ax-info ax-button[class$=blank]{color:rgba(var(--ax-color-info-fore))}.ax-dark ax-toast.ax-info .ax-toast-progress{background-color:rgba(var(--ax-color-info-200))}ax-toast{position:relative;display:flex;width:98vw;overflow:hidden;border-radius:var(--ax-rounded-border-default);padding:.75rem 1rem;font-size:.875rem;line-height:1.25rem;--ax-shadow: 0 4px 6px -1px rgb(0 0 0 / .1), 0 2px 4px -2px rgb(0 0 0 / .1);--ax-shadow-colored: 0 4px 6px -1px var(--ax-shadow-color), 0 2px 4px -2px var(--ax-shadow-color);box-shadow:var(--ax-ring-offset-shadow, 0 0 rgba(0, 0, 0, 0)),var(--ax-ring-shadow, 0 0 rgba(0, 0, 0, 0)),var(--ax-shadow)}@media (min-width: 768px){ax-toast{width:24rem}}ax-toast.ax-primary{background-color:rgba(var(--ax-color-primary-500));color:rgba(var(--ax-color-primary-fore))}ax-toast.ax-primary .ax-toast-progress{color:rgba(var(--ax-color-primary-800))}ax-toast.ax-secondary{background-color:rgba(var(--ax-color-secondary-500));color:rgba(var(--ax-color-secondary-fore))}ax-toast.ax-secondary .ax-toast-progress{color:rgba(var(--ax-color-secondary-800))}ax-toast.ax-success{background-color:rgba(var(--ax-color-success-500));color:rgba(var(--ax-color-success-fore))}ax-toast.ax-success .ax-toast-progress{color:rgba(var(--ax-color-success-800))}ax-toast.ax-warning{background-color:rgba(var(--ax-color-warning-500));color:rgba(var(--ax-color-warning-fore))}ax-toast.ax-warning .ax-toast-progress{color:rgba(var(--ax-color-warning-800))}ax-toast.ax-danger{background-color:rgba(var(--ax-color-danger-500));color:rgba(var(--ax-color-danger-fore))}ax-toast.ax-danger .ax-toast-progress{color:rgba(var(--ax-color-danger-800))}ax-toast.ax-info{background-color:rgba(var(--ax-color-info-500));color:rgba(var(--ax-color-info-fore))}ax-toast.ax-info .ax-toast-progress{color:rgba(var(--ax-color-info-800))}ax-toast.ax-ghost{background-color:rgba(var(--ax-color-ghost));color:rgba(var(--ax-color-ghost-fore))}ax-toast.ax-ghost .ax-toast-progress{background-color:rgba(var(--ax-color-ghost-fore))}ax-toast .ax-toast-icon,ax-toast .ax-icon-close{font-size:1.25rem;line-height:1}ax-toast .ax-toast-icon{margin-inline-end:.5rem}ax-toast .ax-toast-content{display:flex;flex:1 1 0%;flex-direction:column}ax-toast .ax-toast-content .ax-toast-title{font-weight:500;line-height:1.5rem}ax-toast .ax-toast-content .ax-toast-buttons{margin-top:.75rem;margin-bottom:.75rem;display:flex;gap:.5rem}ax-toast ax-icon-close{height:fit-content}ax-toast ax-icon-close:hover{opacity:.75}ax-toast .ax-toast-progress{animation-duration:4s;animation-timing-function:linear;animation-name:progressBar;background-color:#ffffff75;position:absolute;bottom:0;inset-inline-end:0px;inset-inline-start:0px;height:.25rem;width:100%}@keyframes progressBar{0%{width:100%}to{width:0%}}\n"] }]
89
89
  }], ctorParameters: () => [{ type: undefined, decorators: [{
@@ -232,21 +232,21 @@ class AXToastService {
232
232
  return list[list.length - 1].getHostElement().offsetTop + list[list.length - 1].getHostElement().offsetHeight;
233
233
  }
234
234
  }
235
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXToastService, deps: [{ token: i1$1.ScrollStrategyOptions }], target: i0.ɵɵFactoryTarget.Injectable }); }
236
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXToastService }); }
235
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXToastService, deps: [{ token: i1$1.ScrollStrategyOptions }], target: i0.ɵɵFactoryTarget.Injectable }); }
236
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXToastService }); }
237
237
  }
238
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXToastService, decorators: [{
238
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXToastService, decorators: [{
239
239
  type: Injectable
240
240
  }], ctorParameters: () => [{ type: i1$1.ScrollStrategyOptions }] });
241
241
 
242
242
  const COMPONENT = [AXToastComponent];
243
243
  const MODULES = [CommonModule, AXButtonModule, AXDecoratorModule, AXLoadingModule, DialogModule, AXTranslationModule];
244
244
  class AXToastModule {
245
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXToastModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
246
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.0.2", ngImport: i0, type: AXToastModule, declarations: [AXToastComponent], imports: [CommonModule, AXButtonModule, AXDecoratorModule, AXLoadingModule, DialogModule, AXTranslationModule], exports: [AXToastComponent] }); }
247
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXToastModule, providers: [AXToastService], imports: [MODULES] }); }
245
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXToastModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
246
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.0", ngImport: i0, type: AXToastModule, declarations: [AXToastComponent], imports: [CommonModule, AXButtonModule, AXDecoratorModule, AXLoadingModule, DialogModule, AXTranslationModule], exports: [AXToastComponent] }); }
247
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXToastModule, providers: [AXToastService], imports: [MODULES] }); }
248
248
  }
249
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXToastModule, decorators: [{
249
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXToastModule, decorators: [{
250
250
  type: NgModule,
251
251
  args: [{
252
252
  declarations: [...COMPONENT],
@@ -10,10 +10,10 @@ import { CommonModule } from '@angular/common';
10
10
  * @category Components
11
11
  */
12
12
  class AXTooltipComponent extends MXBaseComponent {
13
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXTooltipComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
14
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.0.2", type: AXTooltipComponent, selector: "ax-tooltip", inputs: { text: "text", position: "position" }, usesInheritance: true, ngImport: i0, template: "<div class=\"ax-tooltip-container\">\n <div class=\"ax-tooltip\">\n {{ text }}\n </div>\n <!-- <div class=\"ax-tooltip-tringle ax-tooltip-tringle-{{ position }}\"></div> -->\n</div>", styles: [".ax-dark .ax-tooltip-container{--ax-tooltip-background: 255, 255, 255;--ax-tooltip-color: 97, 97, 97}.ax-tooltip-container{position:relative;--ax-tooltip-background: 97, 97, 97;--ax-tooltip-color: 255, 255, 255}.ax-tooltip-container .ax-tooltip{display:block;padding:.25rem .5rem;background-color:rgba(var(--ax-tooltip-background));color:rgba(var(--ax-tooltip-color));border-radius:.25rem;font-size:.75rem;font-weight:400}\n"], encapsulation: i0.ViewEncapsulation.None }); }
13
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXTooltipComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
14
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.0", type: AXTooltipComponent, selector: "ax-tooltip", inputs: { text: "text", position: "position" }, usesInheritance: true, ngImport: i0, template: "<div class=\"ax-tooltip-container\">\n <div class=\"ax-tooltip\">\n {{ text }}\n </div>\n <!-- <div class=\"ax-tooltip-tringle ax-tooltip-tringle-{{ position }}\"></div> -->\n</div>", styles: [".ax-dark .ax-tooltip-container{--ax-tooltip-background: 255, 255, 255;--ax-tooltip-color: 97, 97, 97}.ax-tooltip-container{position:relative;--ax-tooltip-background: 97, 97, 97;--ax-tooltip-color: 255, 255, 255}.ax-tooltip-container .ax-tooltip{display:block;padding:.25rem .5rem;background-color:rgba(var(--ax-tooltip-background));color:rgba(var(--ax-tooltip-color));border-radius:.25rem;font-size:.75rem;font-weight:400}\n"], encapsulation: i0.ViewEncapsulation.None }); }
15
15
  }
16
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXTooltipComponent, decorators: [{
16
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXTooltipComponent, decorators: [{
17
17
  type: Component,
18
18
  args: [{ selector: 'ax-tooltip', encapsulation: ViewEncapsulation.None, template: "<div class=\"ax-tooltip-container\">\n <div class=\"ax-tooltip\">\n {{ text }}\n </div>\n <!-- <div class=\"ax-tooltip-tringle ax-tooltip-tringle-{{ position }}\"></div> -->\n</div>", styles: [".ax-dark .ax-tooltip-container{--ax-tooltip-background: 255, 255, 255;--ax-tooltip-color: 97, 97, 97}.ax-tooltip-container{position:relative;--ax-tooltip-background: 97, 97, 97;--ax-tooltip-color: 255, 255, 255}.ax-tooltip-container .ax-tooltip{display:block;padding:.25rem .5rem;background-color:rgba(var(--ax-tooltip-background));color:rgba(var(--ax-tooltip-color));border-radius:.25rem;font-size:.75rem;font-weight:400}\n"] }]
19
19
  }], propDecorators: { text: [{
@@ -75,10 +75,10 @@ class AXTooltipDirective {
75
75
  //this.popupRef.context = { text: this.content };
76
76
  }
77
77
  }
78
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXTooltipDirective, deps: [{ token: i0.ElementRef }, { token: i0.ViewContainerRef }], target: i0.ɵɵFactoryTarget.Directive }); }
79
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.0.2", type: AXTooltipDirective, selector: "[axTooltip]", inputs: { content: ["axTooltip", "content"], placement: ["axTooltipPlacement", "placement"], openAfter: ["axTooltipOpenAfter", "openAfter"], closeAfter: ["axTooltipCloseAfter", "closeAfter"] }, ngImport: i0 }); }
78
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXTooltipDirective, deps: [{ token: i0.ElementRef }, { token: i0.ViewContainerRef }], target: i0.ɵɵFactoryTarget.Directive }); }
79
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.0", type: AXTooltipDirective, selector: "[axTooltip]", inputs: { content: ["axTooltip", "content"], placement: ["axTooltipPlacement", "placement"], openAfter: ["axTooltipOpenAfter", "openAfter"], closeAfter: ["axTooltipCloseAfter", "closeAfter"] }, ngImport: i0 }); }
80
80
  }
81
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXTooltipDirective, decorators: [{
81
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXTooltipDirective, decorators: [{
82
82
  type: Directive,
83
83
  args: [{
84
84
  selector: '[axTooltip]',
@@ -100,11 +100,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.2", ngImpor
100
100
  const COMPONENT = [AXTooltipComponent, AXTooltipDirective];
101
101
  const MODULES = [CommonModule, OverlayModule];
102
102
  class AXTooltipModule {
103
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXTooltipModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
104
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.0.2", ngImport: i0, type: AXTooltipModule, declarations: [AXTooltipComponent, AXTooltipDirective], imports: [CommonModule, OverlayModule], exports: [AXTooltipComponent, AXTooltipDirective] }); }
105
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXTooltipModule, imports: [MODULES] }); }
103
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXTooltipModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
104
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.0", ngImport: i0, type: AXTooltipModule, declarations: [AXTooltipComponent, AXTooltipDirective], imports: [CommonModule, OverlayModule], exports: [AXTooltipComponent, AXTooltipDirective] }); }
105
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXTooltipModule, imports: [MODULES] }); }
106
106
  }
107
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXTooltipModule, decorators: [{
107
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXTooltipModule, decorators: [{
108
108
  type: NgModule,
109
109
  args: [{
110
110
  declarations: [...COMPONENT],
@@ -6,20 +6,19 @@ import { AXUnsubscriber } from '@acorex/core/utils';
6
6
  import { AXPopupService, AXPopupModule } from '@acorex/components/popup';
7
7
  import { AXFileService, AXFileModule } from '@acorex/core/file';
8
8
  import { sumBy } from 'lodash-es';
9
- import { BehaviorSubject, Subject, interval, switchMap, map } from 'rxjs';
9
+ import { Subject, BehaviorSubject, interval, switchMap, map } from 'rxjs';
10
10
  import { AXClosbaleComponent, MXBaseComponent } from '@acorex/components/common';
11
11
  import { trigger, state, style, AUTO_STYLE, transition, animate } from '@angular/animations';
12
12
  import * as i1$1 from '@angular/common';
13
13
  import { CommonModule } from '@angular/common';
14
- import { AXBasePageComponent } from '@acorex/components/page';
15
- import * as i1 from '@acorex/components/circular-progress';
16
- import { AXCircularProgressModule } from '@acorex/components/circular-progress';
14
+ import * as i1 from '@acorex/components/progress-bar';
15
+ import { AXProgressBarModule } from '@acorex/components/progress-bar';
17
16
  import * as i4 from '@acorex/core/format';
18
17
  import { AXFormatModule } from '@acorex/core/format';
19
18
  import * as i1$2 from '@acorex/components/decorators';
20
19
  import { AXDecoratorModule } from '@acorex/components/decorators';
21
20
  import { AXButtonModule } from '@acorex/components/button';
22
- import { AXProgressBarModule } from '@acorex/components/progress-bar';
21
+ import { AXCircularProgressModule } from '@acorex/components/circular-progress';
23
22
  import { AXDateTimeModule } from '@acorex/core/date-time';
24
23
 
25
24
  class AXUploadRequest {
@@ -55,14 +54,19 @@ class AXUploadRequest {
55
54
  this._isDetermined = signal(false);
56
55
  this.isDetermined = computed(() => this._isDetermined());
57
56
  this.bytesTransferred = 0;
57
+ this.onCancel = new Subject();
58
+ this.onStart = new Subject();
59
+ this.onFailed = new Subject();
60
+ this.onComplete = new Subject();
58
61
  }
59
62
  estimateTimeRemaining(bytesTransferred) {
63
+ // debugger;
60
64
  const now = Date.now();
61
65
  const elapsed = now - this.startTime; // Time in milliseconds
62
- if (elapsed === 0) {
66
+ if (isNaN(elapsed) || elapsed === 0) {
63
67
  return null; // Avoid division by zero
64
68
  }
65
- const speed = bytesTransferred / elapsed; // Bytes per millisecond
69
+ const speed = (bytesTransferred || 1) / elapsed; // Bytes per millisecond
66
70
  const remainingBytes = this.size - bytesTransferred;
67
71
  const estimatedTime = Math.ceil(remainingBytes / speed); // Time in milliseconds
68
72
  return estimatedTime; // Return the estimated time in milliseconds
@@ -80,19 +84,25 @@ class AXUploadRequest {
80
84
  this._progress.set(progress);
81
85
  }
82
86
  async upload() {
87
+ // debugger;
83
88
  this.startTime = Date.now();
84
89
  this._progress.set(0);
85
90
  this._status.set('inprogress');
86
- if (this.onStart)
87
- this.onStart(this);
91
+ this.onStart.next();
88
92
  }
89
93
  cancel() {
90
94
  this._status.set('canceled');
91
95
  this.bytesTransferred = 0;
92
96
  this._estimateTime.set(0);
93
97
  this._progress.set(0);
94
- if (this.onCancel)
95
- this.onCancel(this);
98
+ this.onCancel.next();
99
+ }
100
+ redo() {
101
+ // this.startTime = Date.now();
102
+ this._progress.set(0);
103
+ this._status.set('inprogress');
104
+ this._message.set(null);
105
+ this.onStart.next();
96
106
  }
97
107
  error(message) {
98
108
  this._status.set('failed');
@@ -100,38 +110,47 @@ class AXUploadRequest {
100
110
  this._estimateTime.set(0);
101
111
  this._progress.set(0);
102
112
  this._message.set(message);
103
- if (this.onFailed)
104
- this.onFailed(this);
113
+ this.onFailed.next();
105
114
  }
106
115
  finish(data) {
107
116
  this._status.set('completed');
108
117
  this.bytesTransferred = this.size;
109
118
  this._estimateTime.set(0);
110
119
  this._progress.set(100);
111
- if (this.onComplete)
112
- this.onComplete(this);
120
+ this.onComplete.next();
113
121
  }
114
122
  }
115
123
 
116
124
  class AXUploaderService {
117
125
  constructor() {
118
126
  this.popupService = inject(AXPopupService);
127
+ this.translateService = inject(AXTranslationService);
119
128
  this.fileService = inject(AXFileService);
120
129
  this.files$ = new BehaviorSubject([]);
130
+ this.onFileUploadStart = new Subject();
121
131
  this.onFileUploadComplete = new Subject();
122
132
  this.onFilesUploadComplete = new Subject();
123
133
  this.onFileUploadCanceled = new Subject();
124
- this.totalEstimateTime = interval(500).pipe(switchMap(() => this.files$.asObservable()), map((f) => sumBy(f, (c) => c.estimateTime())));
134
+ this.isAnyDetermined = signal(false);
135
+ this.totalEstimateTime = interval(500).pipe(switchMap(() => this.files$.asObservable()), map((f) => sumBy(f, (c) => {
136
+ if (c.isDetermined()) {
137
+ this.isAnyDetermined.set(true);
138
+ }
139
+ return c.status() === 'inprogress' ? c.estimateTime() : 0;
140
+ })));
125
141
  }
126
142
  get files() {
127
143
  return this.files$;
128
144
  }
129
145
  showDialog() {
146
+ const filesCount = this.files$.getValue().length;
130
147
  Promise.resolve().then(function () { return uploaderList_component; }).then((c) => {
131
148
  this.popupService
132
149
  .open(c.AXUploaderListComponent, {
133
- size: 'md',
134
- title: 'Upload File',
150
+ size: 'sm',
151
+ title: filesCount > 1
152
+ ? this.translateService.translateSync('uploader.zone.uploadFiles')
153
+ : this.translateService.translateSync('uploader.zone.uploadFile'),
135
154
  })
136
155
  .then(async () => {
137
156
  await this.cancelAll();
@@ -145,28 +164,38 @@ class AXUploaderService {
145
164
  startUpload() {
146
165
  this.files.value
147
166
  .filter((c) => c.status() == 'new')
148
- .forEach((c) => {
149
- c.onComplete = () => {
150
- this.onFileUploadComplete.next({
151
- component: this,
152
- uploadedFile: c,
153
- isUserInteraction: false,
154
- });
155
- if (this.files.value.every((c) => c.status() == 'completed')) {
156
- this.onFilesUploadComplete.next({
157
- component: this,
158
- uploadedFiles: this.files.value,
159
- isUserInteraction: false,
160
- });
161
- }
162
- };
163
- c.onCancel = () => {
164
- this.onFileUploadCanceled.next({
167
+ .forEach(async (c) => {
168
+ await this.bindEvents(c);
169
+ });
170
+ }
171
+ async bindEvents(c) {
172
+ c.onStart.subscribe(() => {
173
+ this.onFileUploadStart.next({
174
+ component: this,
175
+ uploadedFile: c,
176
+ isUserInteraction: false,
177
+ });
178
+ });
179
+ c.onComplete.subscribe(() => {
180
+ this.onFileUploadComplete.next({
181
+ component: this,
182
+ uploadedFile: c,
183
+ isUserInteraction: false,
184
+ });
185
+ if (this.files.value.every((c) => c.status() == 'completed')) {
186
+ this.onFilesUploadComplete.next({
165
187
  component: this,
166
- uploadedFile: c,
188
+ uploadedFiles: this.files.value,
167
189
  isUserInteraction: false,
168
190
  });
169
- };
191
+ }
192
+ });
193
+ c.onCancel.subscribe(() => {
194
+ this.onFileUploadCanceled.next({
195
+ component: this,
196
+ uploadedFile: c,
197
+ isUserInteraction: false,
198
+ });
170
199
  });
171
200
  }
172
201
  async browse(options = { multiple: false }) {
@@ -201,10 +230,10 @@ class AXUploaderService {
201
230
  currentValue = currentValue.filter((c) => c != item);
202
231
  this.files$.next(currentValue);
203
232
  }
204
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXUploaderService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
205
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXUploaderService, providedIn: 'root' }); }
233
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXUploaderService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
234
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXUploaderService, providedIn: 'root' }); }
206
235
  }
207
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXUploaderService, decorators: [{
236
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXUploaderService, decorators: [{
208
237
  type: Injectable,
209
238
  args: [{ providedIn: 'root' }]
210
239
  }] });
@@ -295,10 +324,10 @@ class AXUploaderZoneDirective {
295
324
  get __hostClass() {
296
325
  return `ax-drop-zone`;
297
326
  }
298
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXUploaderZoneDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive }); }
299
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.0.2", type: AXUploaderZoneDirective, selector: "[axUploaderZone]", inputs: { multiple: "multiple", accept: "accept" }, outputs: { onChanged: "onChanged", onFileUploadComplete: "onFileUploadComplete", onFilesUploadComplete: "onFilesUploadComplete" }, host: { properties: { "class": "this.__hostClass" } }, providers: [AXUnsubscriber], ngImport: i0 }); }
327
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXUploaderZoneDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive }); }
328
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.0", type: AXUploaderZoneDirective, selector: "[axUploaderZone]", inputs: { multiple: "multiple", accept: "accept" }, outputs: { onChanged: "onChanged", onFileUploadComplete: "onFileUploadComplete", onFilesUploadComplete: "onFilesUploadComplete" }, host: { properties: { "class": "this.__hostClass" } }, providers: [AXUnsubscriber], ngImport: i0 }); }
300
329
  }
301
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXUploaderZoneDirective, decorators: [{
330
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXUploaderZoneDirective, decorators: [{
302
331
  type: Directive,
303
332
  args: [{
304
333
  selector: '[axUploaderZone]',
@@ -333,10 +362,10 @@ class AXUploaderBrowseDirective {
333
362
  async handleClick() {
334
363
  await this.uploaderZone.browser();
335
364
  }
336
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXUploaderBrowseDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
337
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.0.2", type: AXUploaderBrowseDirective, selector: "[axUploaderBrowseHandle]", ngImport: i0 }); }
365
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXUploaderBrowseDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
366
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.0", type: AXUploaderBrowseDirective, selector: "[axUploaderBrowseHandle]", ngImport: i0 }); }
338
367
  }
339
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXUploaderBrowseDirective, decorators: [{
368
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXUploaderBrowseDirective, decorators: [{
340
369
  type: Directive,
341
370
  args: [{
342
371
  selector: '[axUploaderBrowseHandle]',
@@ -347,18 +376,17 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.2", ngImpor
347
376
  * A component that displays a list of uploaded files.
348
377
  * @category Components
349
378
  */
350
- class AXUploaderListComponent extends AXBasePageComponent {
379
+ class AXUploaderListComponent {
351
380
  constructor() {
352
- super(...arguments);
353
381
  /** @ignore */
354
382
  this.uploadService = inject(AXUploaderService);
355
383
  }
356
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXUploaderListComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
357
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.0.2", type: AXUploaderListComponent, selector: "ax-uploader-list", usesInheritance: true, ngImport: i0, template: "@if ((uploadService.totalEstimateTime | async) > 0) {\n <div class=\"ax-uploader-progress-status\">\n <div>{{ uploadService.totalEstimateTime | async | format: 'timeleft' | async }}</div>\n <button (click)=\"uploadService.cancelAll()\">{{ 'cancel' | translate | async }}</button>\n </div>\n}\n<ul class=\"ax-uploader-list-items\">\n @for (item of uploadService.files | async; track item.name) {\n <li>\n <div class=\"ax-file ax-bg-success-500\">\n <span>{{ item.ext }}</span>\n </div>\n <div class=\"ax-item-container\">\n <div class=\"ax-item-name\" [title]=\"item.name\">{{ item.name }}</div>\n <div class=\"ax-status\">\n @switch (item.status()) {\n @case ('inprogress') {\n <span>{{ item.size | format: 'filesize' | async }}</span> / {{ item.estimateTime() | format: 'timeleft' | async }}\n }\n @case ('failed') {\n <span class=\"ax-state-failed\">{{ item.message() }}</span>\n }\n }\n </div>\n </div>\n <div class=\"ax-status\">\n @switch (item.status()) {\n @case ('completed') {\n <i class=\"ax-icon ax-icon-solid ax-icon-check-circle ax-state-completed\"></i>\n }\n @case ('canceled') {\n <span class=\"ax-state-canceled\">{{ 'canceled' | translate | async }}</span>\n }\n @case ('failed') {\n <span class=\"ax-state-failed\">{{ 'failed' | translate | async }}</span>\n }\n @default {\n <ax-circular-progress\n [mode]=\"item.isDetermined() ? 'determinate' : 'indeterminate'\"\n [size]=\"22\"\n [stroke]=\"6\"\n [progress]=\"item.isDetermined() ? item.progress() : 60\"\n class=\"ax-show\"\n >\n </ax-circular-progress>\n <i class=\"ax-icon ax-icon-solid ax-icon-close ax-hide\" (click)=\"item.cancel()\" title=\"{{ 'cancel' | translate | async }}\"></i>\n }\n }\n </div>\n </li>\n }\n</ul>\n", styles: [".ax-dark ax-uploader-list .ax-uploader-progress-status{border-color:rgba(var(--ax-color-primary-500));background-color:rgba(var(--ax-color-primary-500),.25);color:rgba(var(--ax-color-primary-fore))}ax-uploader-list .ax-uploader-progress-status{display:flex;align-items:center;justify-content:space-between;border-bottom-width:1px;border-top-width:1px;border-color:rgba(var(--ax-color-primary-200));background-color:rgba(var(--ax-color-primary-200));padding:.5rem .75rem;font-size:.875rem;line-height:1.25rem;color:rgba(var(--ax-color-primary-fore-tint))}ax-uploader-list .ax-uploader-list-items{max-height:75vh;width:100%;overflow-y:auto;overflow-x:hidden;padding:.5rem 1rem;gap:.5rem;display:flex;flex-direction:column}ax-uploader-list .ax-uploader-list-items li{display:flex;align-items:center;font-size:.875rem;line-height:1.25rem;gap:1rem;width:100%}ax-uploader-list .ax-uploader-list-items li .ax-item-container{display:flex;flex-direction:column;flex:1;-webkit-user-select:none;user-select:none}ax-uploader-list .ax-uploader-list-items li .ax-item-container .ax-item-name{font-size:.875rem;line-height:1.25rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;display:inline-block;width:12rem}ax-uploader-list .ax-uploader-list-items li .ax-status{position:relative;color:rgba(var(--ax-color-black),.5)}ax-uploader-list .ax-uploader-list-items li .ax-status .ax-icon{font-size:1.375rem}ax-uploader-list .ax-uploader-list-items li .ax-status .ax-icon-close{cursor:pointer}ax-uploader-list .ax-uploader-list-items li .ax-status .ax-state-canceled{color:rgba(var(--ax-color-neutral-500))}ax-uploader-list .ax-uploader-list-items li .ax-status .ax-state-failed{color:rgba(var(--ax-color-danger-500))}ax-uploader-list .ax-uploader-list-items li .ax-status .ax-state-completed{color:rgba(var(--ax-color-success-500))}ax-uploader-list .ax-uploader-list-items li:hover .ax-hide{display:flex!important}ax-uploader-list .ax-uploader-list-items li:hover .ax-show{display:none!important}ax-uploader-list .ax-uploader-list-items li .ax-show{display:flex!important}ax-uploader-list .ax-uploader-list-items li .ax-hide{display:none!important}.ax-file{position:relative;display:flex;align-items:center;justify-content:center;width:1.5rem;aspect-ratio:.7;border-radius:.25rem;color:rgba(var(--ax-color-white))}.ax-file>*{position:absolute;bottom:.3rem;font-weight:700;font-size:.65rem;line-height:.65rem}.ax-file:before{content:\"\";position:absolute;top:0;right:0;border-width:0 12px 12px 0;border-color:rgba(var(--ax-color-surface)) rgba(var(--ax-color-surface)) rgba(var(--ax-color-black),.3) rgba(var(--ax-color-black),.3)}\n"], dependencies: [{ kind: "component", type: i1.AXCircularProgressComponent, selector: "ax-circular-progress", inputs: ["color", "mode", "progress", "stroke", "size"], outputs: ["progressChange", "strokeChange", "sizeChange"] }, { kind: "pipe", type: i1$1.AsyncPipe, name: "async" }, { kind: "pipe", type: i3.AXTranslatorPipe, name: "translate" }, { kind: "pipe", type: i4.AXFormatPipe, name: "format" }], encapsulation: i0.ViewEncapsulation.None }); }
384
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXUploaderListComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
385
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.0", type: AXUploaderListComponent, selector: "ax-uploader-list", ngImport: i0, template: "<!-- @if ((uploadService.totalEstimateTime | async) > 0) { -->\n<div class=\"ax-uploader-progress-status\" [class.ax-hide]=\"(uploadService.totalEstimateTime | async) <= 0\">\n @if(uploadService.isAnyDetermined()){\n <span>{{'processing' | translate| async}}</span>\n }@else {\n <div>{{ uploadService.totalEstimateTime | async | format: 'timeleft' | async }}</div>\n }\n <button (click)=\"uploadService.cancelAll()\">{{ 'cancel' | translate | async }}</button>\n</div>\n<!-- } -->\n\n<ul class=\"ax-uploader-list-items\">\n @for (item of uploadService.files | async; track item.name) {\n <li>\n <div class=\"ax-file\">\n <span>{{ item.ext }}</span>\n </div>\n <div class=\"ax-item-container\">\n <div class=\"ax-item-name\" [title]=\"item.name\">{{ item.name }}</div>\n <div class=\"ax-status\">\n @switch (item.status()) {\n @case ('inprogress') {\n <span>{{ item.size | format: 'filesize' | async }}</span> / {{item.isDetermined()?( item.estimateTime() | format: 'timeleft' | async):('processing' | translate| async) }}\n }\n @case ('failed') {\n <div class=\"ax-state-failed\">\n <span>{{ item.message() }}</span>\n </div>\n }\n @case ('completed') {\n <div class=\"ax-state-completed\">\n <span>{{'completed' | translate | async}}</span>\n </div>\n }\n }\n </div>\n </div>\n <div class=\"ax-status\">\n @switch (item.status()) {\n @case ('completed') {\n <i class=\"ax-icon ax-icon-solid ax-icon-check-circle ax-state-completed\"></i>\n }\n @case ('canceled') {\n <div>\n <span class=\"ax-state-canceled\">{{ 'canceled' | translate | async }}</span>\n <!-- <i class=\"ax-icon ax-icon-solid ax-icon-redo\" (click)=\"item.redo()\" title=\"{{ 'retry' | translate | async }}\"></i> -->\n </div>\n }\n @case ('failed') {\n <div class=\"ax-state-failed\">\n <span>{{ 'failed' | translate | async }}</span>\n <i class=\"ax-icon ax-icon-solid ax-icon-redo\" (click)=\"item.redo()\" title=\"{{ 'retry' | translate | async }}\"></i>\n </div>\n }\n @default {\n <!-- <ax-circular-progress\n [mode]=\"item.isDetermined() ? 'determinate' : 'indeterminate'\"\n [size]=\"22\"\n [stroke]=\"6\"\n [progress]=\"item.isDetermined() ? item.progress() : 60\"\n class=\"ax-show\"\n >\n </ax-circular-progress> -->\n <i class=\"ax-icon ax-icon-solid ax-icon-close\" (click)=\"item.cancel()\" title=\"{{ 'cancel' | translate | async }}\"></i>\n }\n }\n </div>\n </li>\n @let completed = item.status() === 'completed';\n @if (item.status() === 'inprogress' || completed) {\n <div class=\"ax-status-loading\" [class.ax-status-loading-hide]=\"completed\">\n <ax-progress-bar\n [height]=\"4\"\n [mode]=\"completed ? 'determinate' : 'indeterminate'\"\n [progress]=\"completed ? 100 : 60\"\n [color]=\"completed ? 'success' : 'primary'\"\n ></ax-progress-bar>\n </div>\n }\n }\n</ul>\n", styles: [".ax-dark ax-uploader-list .ax-uploader-progress-status{border-color:rgba(var(--ax-color-primary-500));background-color:rgba(var(--ax-color-primary-500),.25);color:rgba(var(--ax-color-primary-fore))}ax-uploader-list .ax-uploader-progress-status{display:flex;align-items:center;justify-content:space-between;border-bottom-width:1px;border-top-width:1px;border-color:rgba(var(--ax-color-primary-200));background-color:rgba(var(--ax-color-primary-200));padding:.5rem .75rem;font-size:.875rem;line-height:1.25rem;color:rgba(var(--ax-color-primary-fore-tint));transition:.3s ease-out}ax-uploader-list .ax-uploader-progress-status.ax-hide{opacity:0;overflow:hidden;height:0;padding-top:0;padding-bottom:0;transition:.3s ease-out}ax-uploader-list .ax-uploader-list-items{max-height:75vh;width:100%;overflow-y:auto;overflow-x:hidden;gap:.5rem;display:flex;flex-direction:column}ax-uploader-list .ax-uploader-list-items li{display:flex;padding:.5rem 1rem;align-items:center;font-size:.875rem;line-height:1.25rem;gap:1rem;width:100%}ax-uploader-list .ax-uploader-list-items li .ax-item-container{display:flex;flex-direction:column;flex:1;-webkit-user-select:none;user-select:none}ax-uploader-list .ax-uploader-list-items li .ax-item-container .ax-item-name{font-size:.875rem;line-height:1.25rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;display:inline-block;width:12rem}ax-uploader-list .ax-uploader-list-items li .ax-status{position:relative;color:rgba(var(--ax-color-black),.5)}ax-uploader-list .ax-uploader-list-items li .ax-status .ax-icon{font-size:1.375rem}ax-uploader-list .ax-uploader-list-items li .ax-status .ax-icon-close{cursor:pointer}ax-uploader-list .ax-uploader-list-items li .ax-status .ax-state-canceled span{color:rgba(var(--ax-color-neutral-500))}ax-uploader-list .ax-uploader-list-items li .ax-status .ax-state-failed{display:flex;align-items:center;gap:.5rem}ax-uploader-list .ax-uploader-list-items li .ax-status .ax-state-failed span{color:rgba(var(--ax-color-danger-500))}ax-uploader-list .ax-uploader-list-items li .ax-status .ax-state-failed i{cursor:pointer}ax-uploader-list .ax-uploader-list-items li .ax-status .ax-state-completed{color:rgba(var(--ax-color-success-500))}ax-uploader-list .ax-uploader-list-items li:hover .ax-hide{display:flex!important}ax-uploader-list .ax-uploader-list-items li:hover .ax-show{display:none!important}ax-uploader-list .ax-uploader-list-items li .ax-show{display:flex!important}ax-uploader-list .ax-uploader-list-items li .ax-hide{display:none!important}ax-uploader-list .ax-uploader-list-items .ax-status-loading.ax-status-loading-hide{transition:all 1s linear;opacity:0;overflow:hidden}.ax-file{position:relative;display:flex;align-items:center;justify-content:center;width:1.5rem;aspect-ratio:.7;border-radius:.25rem;color:rgba(var(--ax-color-white));background-color:rgba(var(--ax-color-success-500))!important}.ax-file>*{position:absolute;bottom:.3rem;font-weight:700;font-size:.65rem;line-height:.65rem}.ax-file:before{content:\"\";position:absolute;top:0;right:0;border-width:0 12px 12px 0;border-color:rgba(var(--ax-color-surface)) rgba(var(--ax-color-surface)) rgba(var(--ax-color-black),.3) rgba(var(--ax-color-black),.3)}\n"], dependencies: [{ kind: "component", type: i1.AXProgressBarComponent, selector: "ax-progress-bar", inputs: ["color", "mode", "progress", "height"], outputs: ["ValueChange", "sizeChange"] }, { kind: "pipe", type: i1$1.AsyncPipe, name: "async" }, { kind: "pipe", type: i3.AXTranslatorPipe, name: "translate" }, { kind: "pipe", type: i4.AXFormatPipe, name: "format" }], encapsulation: i0.ViewEncapsulation.None }); }
358
386
  }
359
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXUploaderListComponent, decorators: [{
387
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXUploaderListComponent, decorators: [{
360
388
  type: Component,
361
- args: [{ selector: 'ax-uploader-list', encapsulation: ViewEncapsulation.None, template: "@if ((uploadService.totalEstimateTime | async) > 0) {\n <div class=\"ax-uploader-progress-status\">\n <div>{{ uploadService.totalEstimateTime | async | format: 'timeleft' | async }}</div>\n <button (click)=\"uploadService.cancelAll()\">{{ 'cancel' | translate | async }}</button>\n </div>\n}\n<ul class=\"ax-uploader-list-items\">\n @for (item of uploadService.files | async; track item.name) {\n <li>\n <div class=\"ax-file ax-bg-success-500\">\n <span>{{ item.ext }}</span>\n </div>\n <div class=\"ax-item-container\">\n <div class=\"ax-item-name\" [title]=\"item.name\">{{ item.name }}</div>\n <div class=\"ax-status\">\n @switch (item.status()) {\n @case ('inprogress') {\n <span>{{ item.size | format: 'filesize' | async }}</span> / {{ item.estimateTime() | format: 'timeleft' | async }}\n }\n @case ('failed') {\n <span class=\"ax-state-failed\">{{ item.message() }}</span>\n }\n }\n </div>\n </div>\n <div class=\"ax-status\">\n @switch (item.status()) {\n @case ('completed') {\n <i class=\"ax-icon ax-icon-solid ax-icon-check-circle ax-state-completed\"></i>\n }\n @case ('canceled') {\n <span class=\"ax-state-canceled\">{{ 'canceled' | translate | async }}</span>\n }\n @case ('failed') {\n <span class=\"ax-state-failed\">{{ 'failed' | translate | async }}</span>\n }\n @default {\n <ax-circular-progress\n [mode]=\"item.isDetermined() ? 'determinate' : 'indeterminate'\"\n [size]=\"22\"\n [stroke]=\"6\"\n [progress]=\"item.isDetermined() ? item.progress() : 60\"\n class=\"ax-show\"\n >\n </ax-circular-progress>\n <i class=\"ax-icon ax-icon-solid ax-icon-close ax-hide\" (click)=\"item.cancel()\" title=\"{{ 'cancel' | translate | async }}\"></i>\n }\n }\n </div>\n </li>\n }\n</ul>\n", styles: [".ax-dark ax-uploader-list .ax-uploader-progress-status{border-color:rgba(var(--ax-color-primary-500));background-color:rgba(var(--ax-color-primary-500),.25);color:rgba(var(--ax-color-primary-fore))}ax-uploader-list .ax-uploader-progress-status{display:flex;align-items:center;justify-content:space-between;border-bottom-width:1px;border-top-width:1px;border-color:rgba(var(--ax-color-primary-200));background-color:rgba(var(--ax-color-primary-200));padding:.5rem .75rem;font-size:.875rem;line-height:1.25rem;color:rgba(var(--ax-color-primary-fore-tint))}ax-uploader-list .ax-uploader-list-items{max-height:75vh;width:100%;overflow-y:auto;overflow-x:hidden;padding:.5rem 1rem;gap:.5rem;display:flex;flex-direction:column}ax-uploader-list .ax-uploader-list-items li{display:flex;align-items:center;font-size:.875rem;line-height:1.25rem;gap:1rem;width:100%}ax-uploader-list .ax-uploader-list-items li .ax-item-container{display:flex;flex-direction:column;flex:1;-webkit-user-select:none;user-select:none}ax-uploader-list .ax-uploader-list-items li .ax-item-container .ax-item-name{font-size:.875rem;line-height:1.25rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;display:inline-block;width:12rem}ax-uploader-list .ax-uploader-list-items li .ax-status{position:relative;color:rgba(var(--ax-color-black),.5)}ax-uploader-list .ax-uploader-list-items li .ax-status .ax-icon{font-size:1.375rem}ax-uploader-list .ax-uploader-list-items li .ax-status .ax-icon-close{cursor:pointer}ax-uploader-list .ax-uploader-list-items li .ax-status .ax-state-canceled{color:rgba(var(--ax-color-neutral-500))}ax-uploader-list .ax-uploader-list-items li .ax-status .ax-state-failed{color:rgba(var(--ax-color-danger-500))}ax-uploader-list .ax-uploader-list-items li .ax-status .ax-state-completed{color:rgba(var(--ax-color-success-500))}ax-uploader-list .ax-uploader-list-items li:hover .ax-hide{display:flex!important}ax-uploader-list .ax-uploader-list-items li:hover .ax-show{display:none!important}ax-uploader-list .ax-uploader-list-items li .ax-show{display:flex!important}ax-uploader-list .ax-uploader-list-items li .ax-hide{display:none!important}.ax-file{position:relative;display:flex;align-items:center;justify-content:center;width:1.5rem;aspect-ratio:.7;border-radius:.25rem;color:rgba(var(--ax-color-white))}.ax-file>*{position:absolute;bottom:.3rem;font-weight:700;font-size:.65rem;line-height:.65rem}.ax-file:before{content:\"\";position:absolute;top:0;right:0;border-width:0 12px 12px 0;border-color:rgba(var(--ax-color-surface)) rgba(var(--ax-color-surface)) rgba(var(--ax-color-black),.3) rgba(var(--ax-color-black),.3)}\n"] }]
389
+ args: [{ selector: 'ax-uploader-list', encapsulation: ViewEncapsulation.None, template: "<!-- @if ((uploadService.totalEstimateTime | async) > 0) { -->\n<div class=\"ax-uploader-progress-status\" [class.ax-hide]=\"(uploadService.totalEstimateTime | async) <= 0\">\n @if(uploadService.isAnyDetermined()){\n <span>{{'processing' | translate| async}}</span>\n }@else {\n <div>{{ uploadService.totalEstimateTime | async | format: 'timeleft' | async }}</div>\n }\n <button (click)=\"uploadService.cancelAll()\">{{ 'cancel' | translate | async }}</button>\n</div>\n<!-- } -->\n\n<ul class=\"ax-uploader-list-items\">\n @for (item of uploadService.files | async; track item.name) {\n <li>\n <div class=\"ax-file\">\n <span>{{ item.ext }}</span>\n </div>\n <div class=\"ax-item-container\">\n <div class=\"ax-item-name\" [title]=\"item.name\">{{ item.name }}</div>\n <div class=\"ax-status\">\n @switch (item.status()) {\n @case ('inprogress') {\n <span>{{ item.size | format: 'filesize' | async }}</span> / {{item.isDetermined()?( item.estimateTime() | format: 'timeleft' | async):('processing' | translate| async) }}\n }\n @case ('failed') {\n <div class=\"ax-state-failed\">\n <span>{{ item.message() }}</span>\n </div>\n }\n @case ('completed') {\n <div class=\"ax-state-completed\">\n <span>{{'completed' | translate | async}}</span>\n </div>\n }\n }\n </div>\n </div>\n <div class=\"ax-status\">\n @switch (item.status()) {\n @case ('completed') {\n <i class=\"ax-icon ax-icon-solid ax-icon-check-circle ax-state-completed\"></i>\n }\n @case ('canceled') {\n <div>\n <span class=\"ax-state-canceled\">{{ 'canceled' | translate | async }}</span>\n <!-- <i class=\"ax-icon ax-icon-solid ax-icon-redo\" (click)=\"item.redo()\" title=\"{{ 'retry' | translate | async }}\"></i> -->\n </div>\n }\n @case ('failed') {\n <div class=\"ax-state-failed\">\n <span>{{ 'failed' | translate | async }}</span>\n <i class=\"ax-icon ax-icon-solid ax-icon-redo\" (click)=\"item.redo()\" title=\"{{ 'retry' | translate | async }}\"></i>\n </div>\n }\n @default {\n <!-- <ax-circular-progress\n [mode]=\"item.isDetermined() ? 'determinate' : 'indeterminate'\"\n [size]=\"22\"\n [stroke]=\"6\"\n [progress]=\"item.isDetermined() ? item.progress() : 60\"\n class=\"ax-show\"\n >\n </ax-circular-progress> -->\n <i class=\"ax-icon ax-icon-solid ax-icon-close\" (click)=\"item.cancel()\" title=\"{{ 'cancel' | translate | async }}\"></i>\n }\n }\n </div>\n </li>\n @let completed = item.status() === 'completed';\n @if (item.status() === 'inprogress' || completed) {\n <div class=\"ax-status-loading\" [class.ax-status-loading-hide]=\"completed\">\n <ax-progress-bar\n [height]=\"4\"\n [mode]=\"completed ? 'determinate' : 'indeterminate'\"\n [progress]=\"completed ? 100 : 60\"\n [color]=\"completed ? 'success' : 'primary'\"\n ></ax-progress-bar>\n </div>\n }\n }\n</ul>\n", styles: [".ax-dark ax-uploader-list .ax-uploader-progress-status{border-color:rgba(var(--ax-color-primary-500));background-color:rgba(var(--ax-color-primary-500),.25);color:rgba(var(--ax-color-primary-fore))}ax-uploader-list .ax-uploader-progress-status{display:flex;align-items:center;justify-content:space-between;border-bottom-width:1px;border-top-width:1px;border-color:rgba(var(--ax-color-primary-200));background-color:rgba(var(--ax-color-primary-200));padding:.5rem .75rem;font-size:.875rem;line-height:1.25rem;color:rgba(var(--ax-color-primary-fore-tint));transition:.3s ease-out}ax-uploader-list .ax-uploader-progress-status.ax-hide{opacity:0;overflow:hidden;height:0;padding-top:0;padding-bottom:0;transition:.3s ease-out}ax-uploader-list .ax-uploader-list-items{max-height:75vh;width:100%;overflow-y:auto;overflow-x:hidden;gap:.5rem;display:flex;flex-direction:column}ax-uploader-list .ax-uploader-list-items li{display:flex;padding:.5rem 1rem;align-items:center;font-size:.875rem;line-height:1.25rem;gap:1rem;width:100%}ax-uploader-list .ax-uploader-list-items li .ax-item-container{display:flex;flex-direction:column;flex:1;-webkit-user-select:none;user-select:none}ax-uploader-list .ax-uploader-list-items li .ax-item-container .ax-item-name{font-size:.875rem;line-height:1.25rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;display:inline-block;width:12rem}ax-uploader-list .ax-uploader-list-items li .ax-status{position:relative;color:rgba(var(--ax-color-black),.5)}ax-uploader-list .ax-uploader-list-items li .ax-status .ax-icon{font-size:1.375rem}ax-uploader-list .ax-uploader-list-items li .ax-status .ax-icon-close{cursor:pointer}ax-uploader-list .ax-uploader-list-items li .ax-status .ax-state-canceled span{color:rgba(var(--ax-color-neutral-500))}ax-uploader-list .ax-uploader-list-items li .ax-status .ax-state-failed{display:flex;align-items:center;gap:.5rem}ax-uploader-list .ax-uploader-list-items li .ax-status .ax-state-failed span{color:rgba(var(--ax-color-danger-500))}ax-uploader-list .ax-uploader-list-items li .ax-status .ax-state-failed i{cursor:pointer}ax-uploader-list .ax-uploader-list-items li .ax-status .ax-state-completed{color:rgba(var(--ax-color-success-500))}ax-uploader-list .ax-uploader-list-items li:hover .ax-hide{display:flex!important}ax-uploader-list .ax-uploader-list-items li:hover .ax-show{display:none!important}ax-uploader-list .ax-uploader-list-items li .ax-show{display:flex!important}ax-uploader-list .ax-uploader-list-items li .ax-hide{display:none!important}ax-uploader-list .ax-uploader-list-items .ax-status-loading.ax-status-loading-hide{transition:all 1s linear;opacity:0;overflow:hidden}.ax-file{position:relative;display:flex;align-items:center;justify-content:center;width:1.5rem;aspect-ratio:.7;border-radius:.25rem;color:rgba(var(--ax-color-white));background-color:rgba(var(--ax-color-success-500))!important}.ax-file>*{position:absolute;bottom:.3rem;font-weight:700;font-size:.65rem;line-height:.65rem}.ax-file:before{content:\"\";position:absolute;top:0;right:0;border-width:0 12px 12px 0;border-color:rgba(var(--ax-color-surface)) rgba(var(--ax-color-surface)) rgba(var(--ax-color-black),.3) rgba(var(--ax-color-black),.3)}\n"] }]
362
390
  }] });
363
391
 
364
392
  var uploaderList_component = /*#__PURE__*/Object.freeze({
@@ -392,8 +420,8 @@ class AXUploaderDialogContainerComponent {
392
420
  toggle() {
393
421
  this.isCollapsed = !this.isCollapsed;
394
422
  }
395
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXUploaderDialogContainerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
396
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.0.2", type: AXUploaderDialogContainerComponent, selector: "ax-uploader-dialog-container", ngImport: i0, template: "<div class=\"ax-uploader-list-header\">\n <div>{{'Uploading' | translate | async }}</div>\n <div>\n <i class=\"ax-icon\" [ngClass]=\"{ 'ax-icon-chevron-down': !isCollapsed, 'ax-icon-chevron-up': isCollapsed }\"\n (click)=\"toggle()\"></i>\n <i class=\"ax-icon ax-icon-close\" (click)=\"close()\"></i>\n </div>\n</div>\n<div [@collapse]=\"isCollapsed\">\n <ax-uploader-list></ax-uploader-list>\n</div>", styles: ["ax-uploader-dialog-container{display:block;background-color:rgba(var(--ax-color-surface));-webkit-border-top-left-radius:.75rem;-webkit-border-top-right-radius:.75rem;-moz-border-radius-topleft:.75rem;-moz-border-radius-topright:.75rem;border-top-left-radius:.75rem;border-top-right-radius:.75rem;overflow:hidden;box-shadow:-1px -1px 10px #00000029;border:1px solid;border-color:rgba(var(--ax-color-border-default));outline-color:rgba(var(--ax-color-primary-500))}ax-uploader-dialog-container .ax-uploader-list-header{display:flex;justify-content:space-between;background-color:rgba(var(--ax-color-on-surface));padding:.75rem 1rem;font-weight:500;color:rgba(var(--ax-color-on-surface-fore))}ax-uploader-dialog-container .ax-uploader-list-header .ax-icon{margin-inline-start:.5rem;cursor:pointer}ax-uploader-dialog-container .ax-uploader-list-header .ax-icon:hover{opacity:.75}\n"], dependencies: [{ kind: "directive", type: i1$1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "component", type: AXUploaderListComponent, selector: "ax-uploader-list" }, { kind: "pipe", type: i1$1.AsyncPipe, name: "async" }, { kind: "pipe", type: i3.AXTranslatorPipe, name: "translate" }], animations: [
423
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXUploaderDialogContainerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
424
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.0", type: AXUploaderDialogContainerComponent, selector: "ax-uploader-dialog-container", ngImport: i0, template: "<div class=\"ax-uploader-list-header\">\n <div>{{'Uploading' | translate | async }}</div>\n <div>\n <i class=\"ax-icon\" [ngClass]=\"{ 'ax-icon-chevron-down': !isCollapsed, 'ax-icon-chevron-up': isCollapsed }\"\n (click)=\"toggle()\"></i>\n <i class=\"ax-icon ax-icon-close\" (click)=\"close()\"></i>\n </div>\n</div>\n<div [@collapse]=\"isCollapsed\">\n <ax-uploader-list></ax-uploader-list>\n</div>", styles: ["ax-uploader-dialog-container{display:block;background-color:rgba(var(--ax-color-surface));-webkit-border-top-left-radius:.75rem;-webkit-border-top-right-radius:.75rem;-moz-border-radius-topleft:.75rem;-moz-border-radius-topright:.75rem;border-top-left-radius:.75rem;border-top-right-radius:.75rem;overflow:hidden;box-shadow:-1px -1px 10px #00000029;border:1px solid;border-color:rgba(var(--ax-color-border-default));outline-color:rgba(var(--ax-color-primary-500))}ax-uploader-dialog-container .ax-uploader-list-header{display:flex;justify-content:space-between;background-color:rgba(var(--ax-color-on-surface));padding:.75rem 1rem;font-weight:500;color:rgba(var(--ax-color-on-surface-fore))}ax-uploader-dialog-container .ax-uploader-list-header .ax-icon{margin-inline-start:.5rem;cursor:pointer}ax-uploader-dialog-container .ax-uploader-list-header .ax-icon:hover{opacity:.75}\n"], dependencies: [{ kind: "directive", type: i1$1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "component", type: AXUploaderListComponent, selector: "ax-uploader-list" }, { kind: "pipe", type: i1$1.AsyncPipe, name: "async" }, { kind: "pipe", type: i3.AXTranslatorPipe, name: "translate" }], animations: [
397
425
  trigger('collapse', [
398
426
  state('false', style({ height: AUTO_STYLE, visibility: AUTO_STYLE })),
399
427
  state('true', style({ height: '0', visibility: 'hidden' })),
@@ -402,7 +430,7 @@ class AXUploaderDialogContainerComponent {
402
430
  ]),
403
431
  ], encapsulation: i0.ViewEncapsulation.None }); }
404
432
  }
405
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXUploaderDialogContainerComponent, decorators: [{
433
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXUploaderDialogContainerComponent, decorators: [{
406
434
  type: Component,
407
435
  args: [{ selector: 'ax-uploader-dialog-container', encapsulation: ViewEncapsulation.None, animations: [
408
436
  trigger('collapse', [
@@ -426,10 +454,10 @@ class AXUploaderDropZoneComponent extends MXBaseComponent {
426
454
  preventRefresh() {
427
455
  return false;
428
456
  }
429
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXUploaderDropZoneComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
430
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "18.0.2", type: AXUploaderDropZoneComponent, selector: "ax-uploader-drop-zone", inputs: { description: { classPropertyName: "description", publicName: "description", isSignal: true, isRequired: false, transformFunction: null } }, usesInheritance: true, ngImport: i0, template: "<div class=\"ax-uploader-drop-zone-container\">\n <ax-icon class=\"ax-icon ax-icon-upload\"></ax-icon>\n <div class=\"ax-uploader-drop-zone-description\">\n <span\n >{{ 'uploader.zone.drag' | translate | async\n }}<a href=\"\" (click)=\"preventRefresh()\" axUploaderBrowseHandle>{{ 'uploader.zone.choose' | translate | async }}</a>\n {{ 'uploader.zone.to-upload' | translate | async }}</span\n >\n <!-- <p>SVG, PNG, JPG or GIF (MAX. 800x400px)</p> -->\n <p>{{ description() }}</p>\n </div>\n</div>\n", styles: ["ax-uploader-drop-zone{width:100%;height:100%;display:block;cursor:pointer}ax-uploader-drop-zone .ax-uploader-drop-zone-container{display:flex;flex-direction:column;align-items:center;justify-content:center;border-radius:.5rem;margin:1rem;padding:1rem;gap:1rem;border:2px dashed;border-color:rgba(var(--ax-color-border-default));pointer-events:none}ax-uploader-drop-zone .ax-uploader-drop-zone-container:hover{border-color:rgba(var(--ax-color-primary-500));background-color:rgba(var(--ax-color-primary-50))}ax-uploader-drop-zone .ax-uploader-drop-zone-container ax-icon{font-size:1.875rem;line-height:2.25rem;color:#a3a3a3}ax-uploader-drop-zone .ax-uploader-drop-zone-container .ax-uploader-drop-zone-description{display:flex;flex-direction:column;gap:.5rem}ax-uploader-drop-zone .ax-uploader-drop-zone-container .ax-uploader-drop-zone-description a{color:rgba(var(--ax-color-primary-500))}ax-uploader-drop-zone .ax-uploader-drop-zone-container .ax-uploader-drop-zone-description p{font-size:.875rem;line-height:1.25rem;color:#a3a3a3}\n"], dependencies: [{ kind: "component", type: i1$2.AXDecoratorIconComponent, selector: "ax-icon", inputs: ["icon"] }, { kind: "directive", type: AXUploaderBrowseDirective, selector: "[axUploaderBrowseHandle]" }, { kind: "pipe", type: i1$1.AsyncPipe, name: "async" }, { kind: "pipe", type: i3.AXTranslatorPipe, name: "translate" }], encapsulation: i0.ViewEncapsulation.None }); }
457
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXUploaderDropZoneComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
458
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "18.2.0", type: AXUploaderDropZoneComponent, selector: "ax-uploader-drop-zone", inputs: { description: { classPropertyName: "description", publicName: "description", isSignal: true, isRequired: false, transformFunction: null } }, usesInheritance: true, ngImport: i0, template: "<div class=\"ax-uploader-drop-zone-container\">\n <ax-icon class=\"ax-icon ax-icon-upload\"></ax-icon>\n <div class=\"ax-uploader-drop-zone-description\">\n <span\n >{{ 'uploader.zone.drag' | translate | async\n }}<a href=\"\" (click)=\"preventRefresh()\" axUploaderBrowseHandle>{{ 'uploader.zone.choose' | translate | async }}</a>\n {{ 'uploader.zone.to-upload' | translate | async }}</span\n >\n <!-- <p>SVG, PNG, JPG or GIF (MAX. 800x400px)</p> -->\n <p>{{ description() }}</p>\n </div>\n</div>\n", styles: ["ax-uploader-drop-zone{width:100%;height:100%;display:block;cursor:pointer}ax-uploader-drop-zone .ax-uploader-drop-zone-container{display:flex;flex-direction:column;align-items:center;justify-content:center;border-radius:.5rem;margin:1rem;padding:1rem;gap:1rem;border:2px dashed;border-color:rgba(var(--ax-color-border-default));pointer-events:none}ax-uploader-drop-zone .ax-uploader-drop-zone-container:hover{border-color:rgba(var(--ax-color-primary-500));background-color:rgba(var(--ax-color-primary-50))}ax-uploader-drop-zone .ax-uploader-drop-zone-container ax-icon{font-size:1.875rem;line-height:2.25rem;color:#a3a3a3}ax-uploader-drop-zone .ax-uploader-drop-zone-container .ax-uploader-drop-zone-description{display:flex;flex-direction:column;gap:.5rem}ax-uploader-drop-zone .ax-uploader-drop-zone-container .ax-uploader-drop-zone-description a{color:rgba(var(--ax-color-primary-500))}ax-uploader-drop-zone .ax-uploader-drop-zone-container .ax-uploader-drop-zone-description p{font-size:.875rem;line-height:1.25rem;color:#a3a3a3}\n"], dependencies: [{ kind: "component", type: i1$2.AXDecoratorIconComponent, selector: "ax-icon", inputs: ["icon"] }, { kind: "directive", type: AXUploaderBrowseDirective, selector: "[axUploaderBrowseHandle]" }, { kind: "pipe", type: i1$1.AsyncPipe, name: "async" }, { kind: "pipe", type: i3.AXTranslatorPipe, name: "translate" }], encapsulation: i0.ViewEncapsulation.None }); }
431
459
  }
432
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXUploaderDropZoneComponent, decorators: [{
460
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXUploaderDropZoneComponent, decorators: [{
433
461
  type: Component,
434
462
  args: [{ selector: 'ax-uploader-drop-zone', encapsulation: ViewEncapsulation.None, template: "<div class=\"ax-uploader-drop-zone-container\">\n <ax-icon class=\"ax-icon ax-icon-upload\"></ax-icon>\n <div class=\"ax-uploader-drop-zone-description\">\n <span\n >{{ 'uploader.zone.drag' | translate | async\n }}<a href=\"\" (click)=\"preventRefresh()\" axUploaderBrowseHandle>{{ 'uploader.zone.choose' | translate | async }}</a>\n {{ 'uploader.zone.to-upload' | translate | async }}</span\n >\n <!-- <p>SVG, PNG, JPG or GIF (MAX. 800x400px)</p> -->\n <p>{{ description() }}</p>\n </div>\n</div>\n", styles: ["ax-uploader-drop-zone{width:100%;height:100%;display:block;cursor:pointer}ax-uploader-drop-zone .ax-uploader-drop-zone-container{display:flex;flex-direction:column;align-items:center;justify-content:center;border-radius:.5rem;margin:1rem;padding:1rem;gap:1rem;border:2px dashed;border-color:rgba(var(--ax-color-border-default));pointer-events:none}ax-uploader-drop-zone .ax-uploader-drop-zone-container:hover{border-color:rgba(var(--ax-color-primary-500));background-color:rgba(var(--ax-color-primary-50))}ax-uploader-drop-zone .ax-uploader-drop-zone-container ax-icon{font-size:1.875rem;line-height:2.25rem;color:#a3a3a3}ax-uploader-drop-zone .ax-uploader-drop-zone-container .ax-uploader-drop-zone-description{display:flex;flex-direction:column;gap:.5rem}ax-uploader-drop-zone .ax-uploader-drop-zone-container .ax-uploader-drop-zone-description a{color:rgba(var(--ax-color-primary-500))}ax-uploader-drop-zone .ax-uploader-drop-zone-container .ax-uploader-drop-zone-description p{font-size:.875rem;line-height:1.25rem;color:#a3a3a3}\n"] }]
435
463
  }] });
@@ -442,8 +470,8 @@ const COMPONENTS = [
442
470
  AXUploaderDialogContainerComponent,
443
471
  ];
444
472
  class AXUploaderModule {
445
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXUploaderModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
446
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.0.2", ngImport: i0, type: AXUploaderModule, declarations: [AXUploaderDropZoneComponent,
473
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXUploaderModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
474
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.0", ngImport: i0, type: AXUploaderModule, declarations: [AXUploaderDropZoneComponent,
447
475
  AXUploaderListComponent,
448
476
  AXUploaderZoneDirective,
449
477
  AXUploaderBrowseDirective,
@@ -461,7 +489,7 @@ class AXUploaderModule {
461
489
  AXUploaderZoneDirective,
462
490
  AXUploaderBrowseDirective,
463
491
  AXUploaderDialogContainerComponent] }); }
464
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXUploaderModule, imports: [CommonModule,
492
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXUploaderModule, imports: [CommonModule,
465
493
  AXDecoratorModule,
466
494
  AXButtonModule,
467
495
  AXTranslationModule,
@@ -472,7 +500,7 @@ class AXUploaderModule {
472
500
  AXCircularProgressModule,
473
501
  AXPopupModule] }); }
474
502
  }
475
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXUploaderModule, decorators: [{
503
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXUploaderModule, decorators: [{
476
504
  type: NgModule,
477
505
  args: [{
478
506
  declarations: [...COMPONENTS],