@acorex/components 18.6.0 → 18.7.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (425) 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 +154 -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 +11 -8
  224. package/esm2022/step-wizard/lib/step-wizard.class.mjs +1 -1
  225. package/esm2022/step-wizard/lib/step-wizard.component.mjs +52 -31
  226. package/esm2022/step-wizard/lib/step-wizard.directive.mjs +3 -3
  227. package/esm2022/step-wizard/lib/step-wizard.module.mjs +4 -4
  228. package/esm2022/switch/lib/switch-content.component.mjs +3 -3
  229. package/esm2022/switch/lib/switch.component.mjs +3 -3
  230. package/esm2022/switch/lib/switch.module.mjs +4 -4
  231. package/esm2022/tabs/lib/tab-content.directive.mjs +3 -3
  232. package/esm2022/tabs/lib/tab-item.component.mjs +3 -3
  233. package/esm2022/tabs/lib/tabs.component.mjs +4 -4
  234. package/esm2022/tabs/lib/tabs.module.mjs +4 -4
  235. package/esm2022/tag/lib/tag.component.mjs +8 -4
  236. package/esm2022/tag/lib/tag.module.mjs +4 -4
  237. package/esm2022/text-area/lib/text-area.component.mjs +8 -4
  238. package/esm2022/text-area/lib/text-area.module.mjs +4 -4
  239. package/esm2022/text-box/lib/mask-options.directive.mjs +3 -3
  240. package/esm2022/text-box/lib/text-box.component.mjs +3 -3
  241. package/esm2022/text-box/lib/text-box.module.mjs +4 -4
  242. package/esm2022/toast/lib/toast.component.mjs +3 -3
  243. package/esm2022/toast/lib/toast.module.mjs +4 -4
  244. package/esm2022/toast/lib/toast.service.mjs +3 -3
  245. package/esm2022/tooltip/lib/tooltip.component.mjs +3 -3
  246. package/esm2022/tooltip/lib/tooltip.directive.mjs +3 -3
  247. package/esm2022/tooltip/lib/tooltip.module.mjs +4 -4
  248. package/esm2022/uploader/lib/uploader-browse-handle.directive.mjs +3 -3
  249. package/esm2022/uploader/lib/uploader-dialog-container/uploader-dialog-container.component.mjs +3 -3
  250. package/esm2022/uploader/lib/uploader-drop-zone/uploader-drop-zone.component.mjs +3 -3
  251. package/esm2022/uploader/lib/uploader-list/uploader-list.component.mjs +7 -9
  252. package/esm2022/uploader/lib/uploader-zone.directive.mjs +3 -3
  253. package/esm2022/uploader/lib/uploader.models.mjs +21 -11
  254. package/esm2022/uploader/lib/uploader.module.mjs +4 -4
  255. package/esm2022/uploader/lib/uploader.service.mjs +50 -28
  256. package/esm2022/wysiwyg/index.mjs +7 -1
  257. package/esm2022/wysiwyg/lib/wysiwyg/wysiwyg-container/wysiwyg-container.component.mjs +11 -19
  258. package/esm2022/wysiwyg/lib/wysiwyg/wysiwyg-toolbar/wysiwyg-toolbar.component.mjs +7 -259
  259. package/esm2022/wysiwyg/lib/wysiwyg/wysiwyg-tools/wysiwyg-alignment/wysiwyg-alignment.component.mjs +59 -0
  260. package/esm2022/wysiwyg/lib/wysiwyg/wysiwyg-tools/wysiwyg-colors/wysiwyg-colors.component.mjs +53 -0
  261. package/esm2022/wysiwyg/lib/wysiwyg/wysiwyg-tools/wysiwyg-font-style/wysiwyg-font-style.component.mjs +150 -0
  262. package/esm2022/wysiwyg/lib/wysiwyg/wysiwyg-tools/wysiwyg-history/wysiwyg-history.component.mjs +36 -0
  263. package/esm2022/wysiwyg/lib/wysiwyg/wysiwyg-tools/wysiwyg-insert/wysiwyg-insert.component.mjs +49 -0
  264. package/esm2022/wysiwyg/lib/wysiwyg/wysiwyg-tools/wysiwyg-list/wysiwyg-list.component.mjs +67 -0
  265. package/esm2022/wysiwyg/lib/wysiwyg/wysiwyg-view/wysiwyg-view.component.mjs +9 -8
  266. package/esm2022/wysiwyg/lib/wysiwyg/wysiwyg.service.mjs +4 -5
  267. package/esm2022/wysiwyg/lib/wysiwyg.module.mjs +38 -6
  268. package/fesm2022/acorex-components-action-sheet.mjs +10 -10
  269. package/fesm2022/acorex-components-alert.mjs +7 -7
  270. package/fesm2022/acorex-components-audio-wave.mjs +7 -7
  271. package/fesm2022/acorex-components-avatar.mjs +10 -10
  272. package/fesm2022/acorex-components-badge.mjs +7 -7
  273. package/fesm2022/acorex-components-bottom-navigation.mjs +10 -10
  274. package/fesm2022/acorex-components-breadcrumbs.mjs +10 -10
  275. package/fesm2022/acorex-components-button-group.mjs +7 -7
  276. package/fesm2022/acorex-components-button.mjs +13 -13
  277. package/fesm2022/acorex-components-calendar.mjs +13 -13
  278. package/fesm2022/acorex-components-check-box.mjs +7 -7
  279. package/fesm2022/acorex-components-chips.mjs +7 -7
  280. package/fesm2022/acorex-components-circular-progress.mjs +7 -7
  281. package/fesm2022/acorex-components-collapse.mjs +10 -10
  282. package/fesm2022/acorex-components-color-box.mjs +7 -7
  283. package/fesm2022/acorex-components-color-palette.mjs +26 -26
  284. package/fesm2022/acorex-components-color-palette.mjs.map +1 -1
  285. package/fesm2022/acorex-components-comment.mjs +25 -25
  286. package/fesm2022/acorex-components-common.mjs +70 -70
  287. package/fesm2022/acorex-components-conversation.mjs +49 -49
  288. package/fesm2022/acorex-components-data-pager.mjs +31 -31
  289. package/fesm2022/acorex-components-data-table.mjs +35 -35
  290. package/fesm2022/acorex-components-data-table.mjs.map +1 -1
  291. package/fesm2022/acorex-components-datetime-box.mjs +7 -7
  292. package/fesm2022/acorex-components-datetime-input.mjs +7 -7
  293. package/fesm2022/acorex-components-datetime-picker.mjs +7 -7
  294. package/fesm2022/acorex-components-decorators.mjs +16 -16
  295. package/fesm2022/acorex-components-dialog.mjs +11 -11
  296. package/fesm2022/acorex-components-dialog.mjs.map +1 -1
  297. package/fesm2022/acorex-components-drawer.mjs +10 -10
  298. package/fesm2022/acorex-components-dropdown-button.mjs +7 -7
  299. package/fesm2022/acorex-components-dropdown.mjs +13 -13
  300. package/fesm2022/acorex-components-form.mjs +16 -16
  301. package/fesm2022/acorex-components-image.mjs +7 -7
  302. package/fesm2022/acorex-components-label.mjs +7 -7
  303. package/fesm2022/acorex-components-list.mjs +7 -7
  304. package/fesm2022/acorex-components-loading-dialog.mjs +48 -11
  305. package/fesm2022/acorex-components-loading-dialog.mjs.map +1 -1
  306. package/fesm2022/acorex-components-loading.mjs +16 -16
  307. package/fesm2022/acorex-components-menu.mjs +65 -13
  308. package/fesm2022/acorex-components-menu.mjs.map +1 -1
  309. package/fesm2022/acorex-components-nav.mjs +36 -10
  310. package/fesm2022/acorex-components-nav.mjs.map +1 -1
  311. package/fesm2022/acorex-components-navbar.mjs +12 -7
  312. package/fesm2022/acorex-components-navbar.mjs.map +1 -1
  313. package/fesm2022/acorex-components-notification.mjs +19 -10
  314. package/fesm2022/acorex-components-notification.mjs.map +1 -1
  315. package/fesm2022/acorex-components-number-box.mjs +80 -11
  316. package/fesm2022/acorex-components-number-box.mjs.map +1 -1
  317. package/fesm2022/acorex-components-otp.mjs +41 -7
  318. package/fesm2022/acorex-components-otp.mjs.map +1 -1
  319. package/fesm2022/acorex-components-page.mjs +24 -10
  320. package/fesm2022/acorex-components-page.mjs.map +1 -1
  321. package/fesm2022/acorex-components-paint.mjs +386 -0
  322. package/fesm2022/acorex-components-paint.mjs.map +1 -0
  323. package/fesm2022/acorex-components-password-box.mjs +16 -7
  324. package/fesm2022/acorex-components-password-box.mjs.map +1 -1
  325. package/fesm2022/acorex-components-phone-box.mjs +41 -7
  326. package/fesm2022/acorex-components-phone-box.mjs.map +1 -1
  327. package/fesm2022/acorex-components-picker.mjs +35 -10
  328. package/fesm2022/acorex-components-picker.mjs.map +1 -1
  329. package/fesm2022/acorex-components-popover.mjs +121 -7
  330. package/fesm2022/acorex-components-popover.mjs.map +1 -1
  331. package/fesm2022/acorex-components-popup.mjs +39 -14
  332. package/fesm2022/acorex-components-popup.mjs.map +1 -1
  333. package/fesm2022/acorex-components-progress-bar.mjs +36 -7
  334. package/fesm2022/acorex-components-progress-bar.mjs.map +1 -1
  335. package/fesm2022/acorex-components-radio.mjs +11 -8
  336. package/fesm2022/acorex-components-radio.mjs.map +1 -1
  337. package/fesm2022/acorex-components-range-slider.mjs +11 -7
  338. package/fesm2022/acorex-components-range-slider.mjs.map +1 -1
  339. package/fesm2022/acorex-components-result.mjs +21 -7
  340. package/fesm2022/acorex-components-result.mjs.map +1 -1
  341. package/fesm2022/acorex-components-routing-progress.mjs +22 -7
  342. package/fesm2022/acorex-components-routing-progress.mjs.map +1 -1
  343. package/fesm2022/acorex-components-scheduler.mjs +15 -13
  344. package/fesm2022/acorex-components-scheduler.mjs.map +1 -1
  345. package/fesm2022/acorex-components-scss.mjs +4 -4
  346. package/fesm2022/acorex-components-search-box.mjs +7 -7
  347. package/fesm2022/acorex-components-select-box.mjs +8 -8
  348. package/fesm2022/acorex-components-select-box.mjs.map +1 -1
  349. package/fesm2022/acorex-components-selection-list.mjs +7 -7
  350. package/fesm2022/acorex-components-side-menu.mjs +10 -10
  351. package/fesm2022/acorex-components-skeleton.mjs +7 -7
  352. package/fesm2022/acorex-components-slider.mjs +7 -7
  353. package/fesm2022/acorex-components-step-wizard.mjs +69 -45
  354. package/fesm2022/acorex-components-step-wizard.mjs.map +1 -1
  355. package/fesm2022/acorex-components-switch.mjs +10 -10
  356. package/fesm2022/acorex-components-tabs.mjs +13 -13
  357. package/fesm2022/acorex-components-tabs.mjs.map +1 -1
  358. package/fesm2022/acorex-components-tag.mjs +11 -7
  359. package/fesm2022/acorex-components-tag.mjs.map +1 -1
  360. package/fesm2022/acorex-components-text-area.mjs +11 -7
  361. package/fesm2022/acorex-components-text-area.mjs.map +1 -1
  362. package/fesm2022/acorex-components-text-box.mjs +10 -10
  363. package/fesm2022/acorex-components-toast.mjs +10 -10
  364. package/fesm2022/acorex-components-tooltip.mjs +10 -10
  365. package/fesm2022/acorex-components-uploader.mjs +90 -62
  366. package/fesm2022/acorex-components-uploader.mjs.map +1 -1
  367. package/fesm2022/acorex-components-wysiwyg.mjs +308 -159
  368. package/fesm2022/acorex-components-wysiwyg.mjs.map +1 -1
  369. package/loading-dialog/lib/loading-dialog.component.d.ts +39 -1
  370. package/menu/lib/menu-item/menu-item.component.d.ts +52 -0
  371. package/menu/lib/menu.component.d.ts +7 -0
  372. package/nav/lib/nav-item/nav-item.component.d.ts +22 -0
  373. package/nav/lib/nav.component.d.ts +4 -0
  374. package/navbar/lib/navbar.component.d.ts +5 -0
  375. package/notification/lib/notification.component.d.ts +11 -0
  376. package/number-box/lib/number-box.component.d.ts +74 -1
  377. package/otp/lib/otp.component.d.ts +35 -1
  378. package/package.json +61 -55
  379. package/page/lib/page.component.d.ts +15 -0
  380. package/paint/README.md +3 -0
  381. package/paint/index.d.ts +7 -0
  382. package/paint/lib/paint/paint-container/paint-container.component.d.ts +16 -0
  383. package/paint/lib/paint/paint-toolbar/paint-toolbar.component.d.ts +9 -0
  384. package/paint/lib/paint/paint-tools/paint-color-picker/paint-color-picker.component.d.ts +27 -0
  385. package/paint/lib/paint/paint-tools/paint-pen-cap/paint-pen-cap.component.d.ts +20 -0
  386. package/paint/lib/paint/paint-tools/paint-pen-mode-changer/paint-pen-mode-changer.component.d.ts +33 -0
  387. package/paint/lib/paint/paint-view/paint-view.component.d.ts +56 -0
  388. package/paint/lib/paint/paint.service.d.ts +10 -0
  389. package/paint/lib/paint.module.d.ts +19 -0
  390. package/password-box/lib/password-box.component.d.ts +14 -1
  391. package/phone-box/lib/phone-box.component.d.ts +39 -1
  392. package/picker/lib/picker.component.d.ts +29 -0
  393. package/popover/lib/popover.component.d.ts +129 -0
  394. package/popup/lib/popup.component.d.ts +39 -4
  395. package/progress-bar/lib/progress-bar.component.d.ts +30 -0
  396. package/radio/lib/radio.component.d.ts +7 -1
  397. package/range-slider/lib/range-slider.component.d.ts +4 -0
  398. package/result/lib/result.component.d.ts +14 -0
  399. package/routing-progress/lib/routing-progress.component.d.ts +16 -0
  400. package/scheduler/lib/scheduler.component.d.ts +2 -0
  401. package/search-box/lib/search-box.component.d.ts +1 -1
  402. package/select-box/lib/select-box.component.d.ts +1 -1
  403. package/slider/lib/slider.component.d.ts +1 -1
  404. package/step-wizard/lib/step-wizard-item/step-wizard-item.component.d.ts +2 -1
  405. package/step-wizard/lib/step-wizard.class.d.ts +1 -1
  406. package/step-wizard/lib/step-wizard.component.d.ts +23 -9
  407. package/switch/lib/switch.component.d.ts +1 -1
  408. package/tag/lib/tag.component.d.ts +4 -0
  409. package/text-area/lib/text-area.component.d.ts +6 -1
  410. package/text-box/lib/text-box.component.d.ts +1 -1
  411. package/uploader/lib/uploader-list/uploader-list.component.d.ts +1 -2
  412. package/uploader/lib/uploader.models.d.ts +9 -4
  413. package/uploader/lib/uploader.service.d.ts +5 -1
  414. package/wysiwyg/index.d.ts +6 -0
  415. package/wysiwyg/lib/wysiwyg/wysiwyg-container/wysiwyg-container.component.d.ts +8 -16
  416. package/wysiwyg/lib/wysiwyg/wysiwyg-toolbar/wysiwyg-toolbar.component.d.ts +1 -99
  417. package/wysiwyg/lib/wysiwyg/wysiwyg-tools/wysiwyg-alignment/wysiwyg-alignment.component.d.ts +31 -0
  418. package/wysiwyg/lib/wysiwyg/wysiwyg-tools/wysiwyg-colors/wysiwyg-colors.component.d.ts +35 -0
  419. package/wysiwyg/lib/wysiwyg/wysiwyg-tools/wysiwyg-font-style/wysiwyg-font-style.component.d.ts +42 -0
  420. package/wysiwyg/lib/wysiwyg/wysiwyg-tools/wysiwyg-history/wysiwyg-history.component.d.ts +21 -0
  421. package/wysiwyg/lib/wysiwyg/wysiwyg-tools/wysiwyg-insert/wysiwyg-insert.component.d.ts +35 -0
  422. package/wysiwyg/lib/wysiwyg/wysiwyg-tools/wysiwyg-list/wysiwyg-list.component.d.ts +23 -0
  423. package/wysiwyg/lib/wysiwyg/wysiwyg-view/wysiwyg-view.component.d.ts +3 -1
  424. package/wysiwyg/lib/wysiwyg/wysiwyg.service.d.ts +0 -1
  425. package/wysiwyg/lib/wysiwyg.module.d.ts +14 -8
@@ -15,10 +15,10 @@ export class AXUploaderBrowseDirective {
15
15
  async handleClick() {
16
16
  await this.uploaderZone.browser();
17
17
  }
18
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXUploaderBrowseDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
19
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.0.2", type: AXUploaderBrowseDirective, selector: "[axUploaderBrowseHandle]", ngImport: i0 }); }
18
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXUploaderBrowseDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
19
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.0", type: AXUploaderBrowseDirective, selector: "[axUploaderBrowseHandle]", ngImport: i0 }); }
20
20
  }
21
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXUploaderBrowseDirective, decorators: [{
21
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXUploaderBrowseDirective, decorators: [{
22
22
  type: Directive,
23
23
  args: [{
24
24
  selector: '[axUploaderBrowseHandle]',
@@ -31,8 +31,8 @@ export class AXUploaderDialogContainerComponent {
31
31
  toggle() {
32
32
  this.isCollapsed = !this.isCollapsed;
33
33
  }
34
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXUploaderDialogContainerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
35
- 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.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "component", type: i2.AXUploaderListComponent, selector: "ax-uploader-list" }, { kind: "pipe", type: i1.AsyncPipe, name: "async" }, { kind: "pipe", type: i3.AXTranslatorPipe, name: "translate" }], animations: [
34
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXUploaderDialogContainerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
35
+ 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.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "component", type: i2.AXUploaderListComponent, selector: "ax-uploader-list" }, { kind: "pipe", type: i1.AsyncPipe, name: "async" }, { kind: "pipe", type: i3.AXTranslatorPipe, name: "translate" }], animations: [
36
36
  trigger('collapse', [
37
37
  state('false', style({ height: AUTO_STYLE, visibility: AUTO_STYLE })),
38
38
  state('true', style({ height: '0', visibility: 'hidden' })),
@@ -41,7 +41,7 @@ export class AXUploaderDialogContainerComponent {
41
41
  ]),
42
42
  ], encapsulation: i0.ViewEncapsulation.None }); }
43
43
  }
44
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXUploaderDialogContainerComponent, decorators: [{
44
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXUploaderDialogContainerComponent, decorators: [{
45
45
  type: Component,
46
46
  args: [{ selector: 'ax-uploader-dialog-container', encapsulation: ViewEncapsulation.None, animations: [
47
47
  trigger('collapse', [
@@ -17,10 +17,10 @@ export class AXUploaderDropZoneComponent extends MXBaseComponent {
17
17
  preventRefresh() {
18
18
  return false;
19
19
  }
20
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXUploaderDropZoneComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
21
- 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.AXDecoratorIconComponent, selector: "ax-icon", inputs: ["icon"] }, { kind: "directive", type: i2.AXUploaderBrowseDirective, selector: "[axUploaderBrowseHandle]" }, { kind: "pipe", type: i3.AsyncPipe, name: "async" }, { kind: "pipe", type: i4.AXTranslatorPipe, name: "translate" }], encapsulation: i0.ViewEncapsulation.None }); }
20
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXUploaderDropZoneComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
21
+ 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.AXDecoratorIconComponent, selector: "ax-icon", inputs: ["icon"] }, { kind: "directive", type: i2.AXUploaderBrowseDirective, selector: "[axUploaderBrowseHandle]" }, { kind: "pipe", type: i3.AsyncPipe, name: "async" }, { kind: "pipe", type: i4.AXTranslatorPipe, name: "translate" }], encapsulation: i0.ViewEncapsulation.None }); }
22
22
  }
23
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXUploaderDropZoneComponent, decorators: [{
23
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXUploaderDropZoneComponent, decorators: [{
24
24
  type: Component,
25
25
  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"] }]
26
26
  }] });
@@ -1,8 +1,7 @@
1
- import { AXBasePageComponent } from '@acorex/components/page';
2
1
  import { Component, ViewEncapsulation, inject } from '@angular/core';
3
2
  import { AXUploaderService } from '../uploader.service';
4
3
  import * as i0 from "@angular/core";
5
- import * as i1 from "@acorex/components/circular-progress";
4
+ import * as i1 from "@acorex/components/progress-bar";
6
5
  import * as i2 from "@angular/common";
7
6
  import * as i3 from "@acorex/core/translation";
8
7
  import * as i4 from "@acorex/core/format";
@@ -10,17 +9,16 @@ import * as i4 from "@acorex/core/format";
10
9
  * A component that displays a list of uploaded files.
11
10
  * @category Components
12
11
  */
13
- export class AXUploaderListComponent extends AXBasePageComponent {
12
+ export class AXUploaderListComponent {
14
13
  constructor() {
15
- super(...arguments);
16
14
  /** @ignore */
17
15
  this.uploadService = inject(AXUploaderService);
18
16
  }
19
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXUploaderListComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
20
- 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: i2.AsyncPipe, name: "async" }, { kind: "pipe", type: i3.AXTranslatorPipe, name: "translate" }, { kind: "pipe", type: i4.AXFormatPipe, name: "format" }], encapsulation: i0.ViewEncapsulation.None }); }
17
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXUploaderListComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
18
+ 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: i2.AsyncPipe, name: "async" }, { kind: "pipe", type: i3.AXTranslatorPipe, name: "translate" }, { kind: "pipe", type: i4.AXFormatPipe, name: "format" }], encapsulation: i0.ViewEncapsulation.None }); }
21
19
  }
22
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXUploaderListComponent, decorators: [{
20
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXUploaderListComponent, decorators: [{
23
21
  type: Component,
24
- 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"] }]
22
+ 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"] }]
25
23
  }] });
26
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidXBsb2FkZXItbGlzdC5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9saWJzL2NvbXBvbmVudHMvdXBsb2FkZXIvc3JjL2xpYi91cGxvYWRlci1saXN0L3VwbG9hZGVyLWxpc3QuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9jb21wb25lbnRzL3VwbG9hZGVyL3NyYy9saWIvdXBsb2FkZXItbGlzdC91cGxvYWRlci1saXN0LmNvbXBvbmVudC5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxtQkFBbUIsRUFBRSxNQUFNLHlCQUF5QixDQUFDO0FBQzlELE9BQU8sRUFBRSxTQUFTLEVBQUUsaUJBQWlCLEVBQUUsTUFBTSxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQ3JFLE9BQU8sRUFBRSxpQkFBaUIsRUFBRSxNQUFNLHFCQUFxQixDQUFDOzs7Ozs7QUFFeEQ7OztHQUdHO0FBT0gsTUFBTSxPQUFPLHVCQUF3QixTQUFRLG1CQUFtQjtJQU5oRTs7UUFPRSxjQUFjO1FBQ0osa0JBQWEsR0FBc0IsTUFBTSxDQUFDLGlCQUFpQixDQUFDLENBQUM7S0FDeEU7OEdBSFksdUJBQXVCO2tHQUF2Qix1QkFBdUIsK0VDZHBDLDJpRUFvREE7OzJGRHRDYSx1QkFBdUI7a0JBTm5DLFNBQVM7K0JBQ0Usa0JBQWtCLGlCQUdiLGlCQUFpQixDQUFDLElBQUkiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBBWEJhc2V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PyBpdGVtLnByb2dyZXNzKCkgOiA2MFwiXG4gICAgICAgICAgICAgIGNsYXNzPVwiYXgtc2hvd1wiXG4gICAgICAgICAgICA+XG4gICAgICAgICAgICA8L2F4LWNpcmN1bGFyLXByb2dyZXNzPiAtLT5cbiAgICAgICAgICAgIDxpIGNsYXNzPVwiYXgtaWNvbiBheC1pY29uLXNvbGlkIGF4LWljb24tY2xvc2VcIiAoY2xpY2spPVwiaXRlbS5jYW5jZWwoKVwiIHRpdGxlPVwie3sgJ2NhbmNlbCcgfCB0cmFuc2xhdGUgfCBhc3luYyB9fVwiPjwvaT5cbiAgICAgICAgICB9XG4gICAgICAgIH1cbiAgICAgIDwvZGl2PlxuICAgIDwvbGk+XG4gICAgQGxldCBjb21wbGV0ZWQgPSBpdGVtLnN0YXR1cygpID09PSAnY29tcGxldGVkJztcbiAgICBAaWYgKGl0ZW0uc3RhdHVzKCkgPT09ICdpbnByb2dyZXNzJyB8fCBjb21wbGV0ZWQpIHtcbiAgICAgIDxkaXYgY2xhc3M9XCJheC1zdGF0dXMtbG9hZGluZ1wiIFtjbGFzcy5heC1zdGF0dXMtbG9hZGluZy1oaWRlXT1cImNvbXBsZXRlZFwiPlxuICAgICAgICA8YXgtcHJvZ3Jlc3MtYmFyXG4gICAgICAgICAgW2hlaWdodF09XCI0XCJcbiAgICAgICAgICBbbW9kZV09XCJjb21wbGV0ZWQgPyAnZGV0ZXJtaW5hdGUnIDogJ2luZGV0ZXJtaW5hdGUnXCJcbiAgICAgICAgICBbcHJvZ3Jlc3NdPVwiY29tcGxldGVkID8gMTAwIDogNjBcIlxuICAgICAgICAgIFtjb2xvcl09XCJjb21wbGV0ZWQgPyAnc3VjY2VzcycgOiAncHJpbWFyeSdcIlxuICAgICAgICA+PC9heC1wcm9ncmVzcy1iYXI+XG4gICAgICA8L2Rpdj5cbiAgICB9XG4gIH1cbjwvdWw+XG4iXX0=
@@ -89,10 +89,10 @@ export class AXUploaderZoneDirective {
89
89
  get __hostClass() {
90
90
  return `ax-drop-zone`;
91
91
  }
92
- 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 }); }
93
- 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 }); }
92
+ 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 }); }
93
+ 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 }); }
94
94
  }
95
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXUploaderZoneDirective, decorators: [{
95
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXUploaderZoneDirective, decorators: [{
96
96
  type: Directive,
97
97
  args: [{
98
98
  selector: '[axUploaderZone]',
@@ -1,4 +1,5 @@
1
1
  import { computed, signal } from '@angular/core';
2
+ import { Subject } from 'rxjs';
2
3
  export class AXUploadRequest {
3
4
  get name() {
4
5
  return this.file.name;
@@ -32,14 +33,19 @@ export class AXUploadRequest {
32
33
  this._isDetermined = signal(false);
33
34
  this.isDetermined = computed(() => this._isDetermined());
34
35
  this.bytesTransferred = 0;
36
+ this.onCancel = new Subject();
37
+ this.onStart = new Subject();
38
+ this.onFailed = new Subject();
39
+ this.onComplete = new Subject();
35
40
  }
36
41
  estimateTimeRemaining(bytesTransferred) {
42
+ // debugger;
37
43
  const now = Date.now();
38
44
  const elapsed = now - this.startTime; // Time in milliseconds
39
- if (elapsed === 0) {
45
+ if (isNaN(elapsed) || elapsed === 0) {
40
46
  return null; // Avoid division by zero
41
47
  }
42
- const speed = bytesTransferred / elapsed; // Bytes per millisecond
48
+ const speed = (bytesTransferred || 1) / elapsed; // Bytes per millisecond
43
49
  const remainingBytes = this.size - bytesTransferred;
44
50
  const estimatedTime = Math.ceil(remainingBytes / speed); // Time in milliseconds
45
51
  return estimatedTime; // Return the estimated time in milliseconds
@@ -57,19 +63,25 @@ export class AXUploadRequest {
57
63
  this._progress.set(progress);
58
64
  }
59
65
  async upload() {
66
+ // debugger;
60
67
  this.startTime = Date.now();
61
68
  this._progress.set(0);
62
69
  this._status.set('inprogress');
63
- if (this.onStart)
64
- this.onStart(this);
70
+ this.onStart.next();
65
71
  }
66
72
  cancel() {
67
73
  this._status.set('canceled');
68
74
  this.bytesTransferred = 0;
69
75
  this._estimateTime.set(0);
70
76
  this._progress.set(0);
71
- if (this.onCancel)
72
- this.onCancel(this);
77
+ this.onCancel.next();
78
+ }
79
+ redo() {
80
+ // this.startTime = Date.now();
81
+ this._progress.set(0);
82
+ this._status.set('inprogress');
83
+ this._message.set(null);
84
+ this.onStart.next();
73
85
  }
74
86
  error(message) {
75
87
  this._status.set('failed');
@@ -77,16 +89,14 @@ export class AXUploadRequest {
77
89
  this._estimateTime.set(0);
78
90
  this._progress.set(0);
79
91
  this._message.set(message);
80
- if (this.onFailed)
81
- this.onFailed(this);
92
+ this.onFailed.next();
82
93
  }
83
94
  finish(data) {
84
95
  this._status.set('completed');
85
96
  this.bytesTransferred = this.size;
86
97
  this._estimateTime.set(0);
87
98
  this._progress.set(100);
88
- if (this.onComplete)
89
- this.onComplete(this);
99
+ this.onComplete.next();
90
100
  }
91
101
  }
92
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidXBsb2FkZXIubW9kZWxzLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9jb21wb25lbnRzL3VwbG9hZGVyL3NyYy9saWIvdXBsb2FkZXIubW9kZWxzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUNBLE9BQU8sRUFBRSxRQUFRLEVBQUUsTUFBTSxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBb0JqRCxNQUFNLE9BQU8sZUFBZTtJQUMxQixJQUFJLElBQUk7UUFDTixPQUFPLElBQUksQ0FBQyxJQUFJLENBQUMsSUFBSSxDQUFDO0lBQ3hCLENBQUM7SUFFRCxJQUFJLEdBQUc7UUFDTCxNQUFNLEtBQUssR0FBRyxJQUFJLENBQUMsSUFBSSxDQUFDLEtBQUssQ0FBQyxHQUFHLENBQUMsQ0FBQztRQUNuQyxJQUFJLEtBQUssQ0FBQyxNQUFNLEdBQUcsQ0FBQyxFQUFFLENBQUM7WUFDckIsT0FBTyxLQUFLLENBQUMsS0FBSyxDQUFDLE1BQU0sR0FBRyxDQUFDLENBQUMsQ0FBQztRQUNqQyxDQUFDO2FBQU0sQ0FBQztZQUNOLHFCQUFxQjtZQUNyQixPQUFPLEVBQUUsQ0FBQztRQUNaLENBQUM7SUFDSCxDQUFDO0lBRUQsSUFBSSxJQUFJO1FBQ04sT0FBTyxJQUFJLENBQUMsSUFBSSxDQUFDLElBQUksQ0FBQztJQUN4QixDQUFDO0lBRUQsSUFBSSxJQUFJO1FBQ04sT0FBTyxJQUFJLENBQUMsVUFBVSxDQUFDO0lBQ3pCLENBQUM7SUF5QkQsWUFBb0IsVUFBZ0I7UUFBaEIsZUFBVSxHQUFWL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gICAgdGhpcy5ieXRlc1RyYW5zZmVycmVkID0gMDtcbiAgICB0aGlzLl9lc3RpbWF0ZVRpbWUuc2V0KDApO1xuICAgIHRoaXMuX3Byb2dyZXNzLnNldCgwKTtcbiAgICB0aGlzLl9tZXNzYWdlLnNldChtZXNzYWdlKTtcbiAgICB0aGlzLm9uRmFpbGVkLm5leHQoKTtcbiAgfVxuXG4gIHB1YmxpYyBmaW5pc2goZGF0YT86IGFueSk6IHZvaWQge1xuICAgIHRoaXMuX3N0YXR1cy5zZXQoJ2NvbXBsZXRlZCcpO1xuICAgIHRoaXMuYnl0ZXNUcmFuc2ZlcnJlZCA9IHRoaXMuc2l6ZTtcbiAgICB0aGlzLl9lc3RpbWF0ZVRpbWUuc2V0KDApO1xuICAgIHRoaXMuX3Byb2dyZXNzLnNldCgxMDApO1xuICAgIHRoaXMub25Db21wbGV0ZS5uZXh0KCk7XG4gIH1cbn1cbiJdfQ==
@@ -23,8 +23,8 @@ const COMPONENTS = [
23
23
  AXUploaderDialogContainerComponent,
24
24
  ];
25
25
  export class AXUploaderModule {
26
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXUploaderModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
27
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.0.2", ngImport: i0, type: AXUploaderModule, declarations: [AXUploaderDropZoneComponent,
26
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXUploaderModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
27
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.0", ngImport: i0, type: AXUploaderModule, declarations: [AXUploaderDropZoneComponent,
28
28
  AXUploaderListComponent,
29
29
  AXUploaderZoneDirective,
30
30
  AXUploaderBrowseDirective,
@@ -42,7 +42,7 @@ export class AXUploaderModule {
42
42
  AXUploaderZoneDirective,
43
43
  AXUploaderBrowseDirective,
44
44
  AXUploaderDialogContainerComponent] }); }
45
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXUploaderModule, imports: [CommonModule,
45
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXUploaderModule, imports: [CommonModule,
46
46
  AXDecoratorModule,
47
47
  AXButtonModule,
48
48
  AXTranslationModule,
@@ -53,7 +53,7 @@ export class AXUploaderModule {
53
53
  AXCircularProgressModule,
54
54
  AXPopupModule] }); }
55
55
  }
56
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXUploaderModule, decorators: [{
56
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXUploaderModule, decorators: [{
57
57
  type: NgModule,
58
58
  args: [{
59
59
  declarations: [...COMPONENTS],
@@ -1,29 +1,41 @@
1
1
  import { AXPopupService } from '@acorex/components/popup';
2
2
  import { AXFileService } from '@acorex/core/file';
3
- import { Injectable, inject } from '@angular/core';
3
+ import { AXTranslationService } from '@acorex/core/translation';
4
+ import { Injectable, inject, signal } from '@angular/core';
4
5
  import { sumBy } from 'lodash-es';
5
6
  import { BehaviorSubject, Subject, interval, map, switchMap } from 'rxjs';
6
- import { AXUploadRequest } from './uploader.models';
7
+ import { AXUploadRequest, } from './uploader.models';
7
8
  import * as i0 from "@angular/core";
8
9
  export class AXUploaderService {
9
10
  constructor() {
10
11
  this.popupService = inject(AXPopupService);
12
+ this.translateService = inject(AXTranslationService);
11
13
  this.fileService = inject(AXFileService);
12
14
  this.files$ = new BehaviorSubject([]);
15
+ this.onFileUploadStart = new Subject();
13
16
  this.onFileUploadComplete = new Subject();
14
17
  this.onFilesUploadComplete = new Subject();
15
18
  this.onFileUploadCanceled = new Subject();
16
- this.totalEstimateTime = interval(500).pipe(switchMap(() => this.files$.asObservable()), map((f) => sumBy(f, (c) => c.estimateTime())));
19
+ this.isAnyDetermined = signal(false);
20
+ this.totalEstimateTime = interval(500).pipe(switchMap(() => this.files$.asObservable()), map((f) => sumBy(f, (c) => {
21
+ if (c.isDetermined()) {
22
+ this.isAnyDetermined.set(true);
23
+ }
24
+ return c.status() === 'inprogress' ? c.estimateTime() : 0;
25
+ })));
17
26
  }
18
27
  get files() {
19
28
  return this.files$;
20
29
  }
21
30
  showDialog() {
31
+ const filesCount = this.files$.getValue().length;
22
32
  import('./uploader-list/uploader-list.component').then((c) => {
23
33
  this.popupService
24
34
  .open(c.AXUploaderListComponent, {
25
- size: 'md',
26
- title: 'Upload File',
35
+ size: 'sm',
36
+ title: filesCount > 1
37
+ ? this.translateService.translateSync('uploader.zone.uploadFiles')
38
+ : this.translateService.translateSync('uploader.zone.uploadFile'),
27
39
  })
28
40
  .then(async () => {
29
41
  await this.cancelAll();
@@ -37,28 +49,38 @@ export class AXUploaderService {
37
49
  startUpload() {
38
50
  this.files.value
39
51
  .filter((c) => c.status() == 'new')
40
- .forEach((c) => {
41
- c.onComplete = () => {
42
- this.onFileUploadComplete.next({
43
- component: this,
44
- uploadedFile: c,
45
- isUserInteraction: false,
46
- });
47
- if (this.files.value.every((c) => c.status() == 'completed')) {
48
- this.onFilesUploadComplete.next({
49
- component: this,
50
- uploadedFiles: this.files.value,
51
- isUserInteraction: false,
52
- });
53
- }
54
- };
55
- c.onCancel = () => {
56
- this.onFileUploadCanceled.next({
52
+ .forEach(async (c) => {
53
+ await this.bindEvents(c);
54
+ });
55
+ }
56
+ async bindEvents(c) {
57
+ c.onStart.subscribe(() => {
58
+ this.onFileUploadStart.next({
59
+ component: this,
60
+ uploadedFile: c,
61
+ isUserInteraction: false,
62
+ });
63
+ });
64
+ c.onComplete.subscribe(() => {
65
+ this.onFileUploadComplete.next({
66
+ component: this,
67
+ uploadedFile: c,
68
+ isUserInteraction: false,
69
+ });
70
+ if (this.files.value.every((c) => c.status() == 'completed')) {
71
+ this.onFilesUploadComplete.next({
57
72
  component: this,
58
- uploadedFile: c,
73
+ uploadedFiles: this.files.value,
59
74
  isUserInteraction: false,
60
75
  });
61
- };
76
+ }
77
+ });
78
+ c.onCancel.subscribe(() => {
79
+ this.onFileUploadCanceled.next({
80
+ component: this,
81
+ uploadedFile: c,
82
+ isUserInteraction: false,
83
+ });
62
84
  });
63
85
  }
64
86
  async browse(options = { multiple: false }) {
@@ -93,11 +115,11 @@ export class AXUploaderService {
93
115
  currentValue = currentValue.filter((c) => c != item);
94
116
  this.files$.next(currentValue);
95
117
  }
96
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXUploaderService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
97
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXUploaderService, providedIn: 'root' }); }
118
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXUploaderService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
119
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXUploaderService, providedIn: 'root' }); }
98
120
  }
99
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXUploaderService, decorators: [{
121
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXUploaderService, decorators: [{
100
122
  type: Injectable,
101
123
  args: [{ providedIn: 'root' }]
102
124
  }] });
103
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidXBsb2FkZXIuc2VydmljZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy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b252ZXJ0RmlsZVRvUmVxdWVzdChmaWxlOiBGaWxlKTogQVhVcGxvYWRSZXF1ZXN0IHtcbiAgICByZXR1cm4gbmV3IEFYVXBsb2FkUmVxdWVzdChmaWxlKTtcbiAgfVxuXG4gIHByaXZhdGUgc3RhcnRVcGxvYWQoKSB7XG4gICAgdGhpcy5maWxlcy52YWx1ZVxuICAgICAgLmZpbHRlcigoYykgPT4gYy5zdGF0dXMoKSA9PSAnbmV3JylcbiAgICAgIC5mb3JFYWNoKChjKSA9PiB7XG4gICAgICAgIGMub25Db21wbGV0ZSA9ICgpID0+IHtcbiAgICAgICAgICB0aGlzLm9uRmlsZVVwbG9hZENvbXBsZXRlLm5leHQoe1xuICAgICAgICAgICAgY29tcG9uZW50OiB0aGlzLFxuICAgICAgICAgICAgdXBsb2FkZWRGaWxlOiBjLFxuICAgICAgICAgICAgaXNVc2VySW50ZXJhY3Rpb246IGZhbHNlLFxuICAgICAgICAgIH0pO1xuICAgICAgICAgIGlmICh0aGlzLmZpbGVzLnZhbHVlLmV2ZXJ5KChjKSA9PiBjLnN0YXR1cygpID09ICdjb21wbGV0ZWQnKSkge1xuICAgICAgICAgICAgdGhpcy5vbkZpbGVzVXBsb2FkQ29tcGxldGUubmV4dCh7XG4gICAgICAgICAgICAgIGNvbXBvbmVudDogdGhpcyxcbiAgICAgICAgICAgICAgdXBsb2FkZWRGaWxlczogdGhpcy5maWxlcy52YWx1ZSxcbiAgICAgICAgICAgICAgaXNVc2VySW50ZXJhY3Rpb246IGZhbHNlLFxuICAgICAgICAgICAgfSk7XG4gICAgICAgICAgfVxuICAgICAgICB9O1xuICAgICAgICBjLm9uQ2FuY2VsID0gKCkgPT4ge1xuICAgICAgICAgIHRoaXMub25GaWxlVXBsb2FkQ2FuY2VsZWQubmV4dCh7XG4gICAgICAgICAgICBjb21wb25lbnQ6IHRoaXMsXG4gICAgICAgICAgICB1cGxvYWRlZEZpbGU6IGMsXG4gICAgICAgICAgICBpc1VzZXJJbnRlcm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gUHJvbWlzZS5yZXNvbHZlKGxpc3QpO1xuICB9XG5cbiAgYXN5bmMgY2FuY2VsQWxsKCkge1xuICAgIGF3YWl0IFByb21pc2UuYWxsKHRoaXMuZmlsZXMkLnZhbHVlLmZpbHRlcigoYykgPT4gYy5zdGF0dXMoKSAhPSAnY29tcGxldGVkJykubWFwKChjKSA9PiBjLmNhbmNlbCgpKSk7XG4gIH1cblxuICBjbGVhckFsbCgpIHtcbiAgICB0aGlzLmZpbGVzJC52YWx1ZS5maWx0ZXIoKGMpID0+IGMuc3RhdHVzKCkgIT0gJ2lucHJvZ3Jlc3MnKS5mb3JFYWNoKChjKSA9PiB0aGlzLnJlbW92ZShjKSk7XG4gIH1cblxuICByZW1vdmUoaXRlbTogQVhVcGxvYWRSZXF1ZXN0KSB7XG4gICAgbGV0IGN1cnJlbnRWYWx1ZSA9IHRoaXMuZmlsZXMkLnZhbHVlO1xuICAgIGN1cnJlbnRWYWx1ZSA9IGN1cnJlbnRWYWx1ZS5maWx0ZXIoKGMpID0+IGMgIT0gaXRlbSk7XG4gICAgdGhpcy5maWxlcyQubmV4dChjdXJyZW50VmFsdWUpO1xuICB9XG59XG4iXX0=
@@ -1,5 +1,11 @@
1
1
  export * from './lib/wysiwyg.module';
2
2
  export * from './lib/wysiwyg/wysiwyg-container/wysiwyg-container.component';
3
3
  export * from './lib/wysiwyg/wysiwyg-toolbar/wysiwyg-toolbar.component';
4
+ export * from './lib/wysiwyg/wysiwyg-tools/wysiwyg-alignment/wysiwyg-alignment.component';
5
+ export * from './lib/wysiwyg/wysiwyg-tools/wysiwyg-colors/wysiwyg-colors.component';
6
+ export * from './lib/wysiwyg/wysiwyg-tools/wysiwyg-font-style/wysiwyg-font-style.component';
7
+ export * from './lib/wysiwyg/wysiwyg-tools/wysiwyg-history/wysiwyg-history.component';
8
+ export * from './lib/wysiwyg/wysiwyg-tools/wysiwyg-insert/wysiwyg-insert.component';
9
+ export * from './lib/wysiwyg/wysiwyg-tools/wysiwyg-list/wysiwyg-list.component';
4
10
  export * from './lib/wysiwyg/wysiwyg-view/wysiwyg-view.component';
5
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9saWJzL2NvbXBvbmVudHMvd3lzaXd5Zy9zcmMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsY0FBYyxzQkFBc0IsQ0FBQztBQUNyQyxjQUFjLDZEQUE2RCxDQUFDO0FBQzVFLGNBQWMseURBQXlELENBQUM7QUFDeEUsY0FBYyxtREFBbUQsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCAqIGZyb20gJy4vbGliL3d5c2l3eWcubW9kdWxlJztcbmV4cG9ydCAqIGZyb20gJy4vbGliL3d5c2l3eWcvd3lzaXd5Zy1jb250YWluZXIvd3lzaXd5Zy1jb250YWluZXIuY29tcG9uZW50JztcbmV4cG9ydCAqIGZyb20gJy4vbGliL3d5c2l3eWcvd3lzaXd5Zy10b29sYmFyL3d5c2l3eWctdG9vbGJhci5jb21wb25lbnQnO1xuZXhwb3J0ICogZnJvbSAnLi9saWIvd3lzaXd5Zy93eXNpd3lnLXZpZXcvd3lzaXd5Zy12aWV3LmNvbXBvbmVudCc7XG4iXX0=
11
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9saWJzL2NvbXBvbmVudHMvd3lzaXd5Zy9zcmMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsY0FBYyxzQkFBc0IsQ0FBQztBQUNyQyxjQUFjLDZEQUE2RCxDQUFDO0FBQzVFLGNBQWMseURBQXlELENBQUM7QUFDeEUsY0FBYywyRUFBMkUsQ0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