@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
@@ -0,0 +1,53 @@
1
+ import { Component, ViewEncapsulation, afterNextRender, inject, signal } from '@angular/core';
2
+ import { AXWysiwygService } from '../../wysiwyg.service';
3
+ import * as i0 from "@angular/core";
4
+ import * as i1 from "@acorex/components/button";
5
+ import * as i2 from "@acorex/components/decorators";
6
+ import * as i3 from "@angular/forms";
7
+ import * as i4 from "@acorex/components/color-palette";
8
+ import * as i5 from "@acorex/components/popover";
9
+ /**
10
+ * A container component for WYSIWYG (What You See Is What You Get) editor functionality.
11
+ * @category Components
12
+ */
13
+ export class AXWysiwygColorsComponent {
14
+ /** @ignore */
15
+ constructor() {
16
+ /** @ignore */
17
+ this.service = inject(AXWysiwygService);
18
+ /** @ignore */
19
+ this.wysiwyg = signal(null);
20
+ /** @ignore */
21
+ this.selectedColor = signal('rgb(151, 148, 148)');
22
+ /** @ignore */
23
+ this.selectedHighlightColor = signal('rgba(243, 238, 238,0)');
24
+ /** @ignore */
25
+ this.popoverOption = {
26
+ openOn: 'click',
27
+ closeOn: 'clickOut',
28
+ placement: 'top',
29
+ offsetX: 0,
30
+ offsetY: 0,
31
+ };
32
+ afterNextRender(() => {
33
+ this.wysiwyg.set(this.service.wysiwyg());
34
+ });
35
+ }
36
+ /** @ignore */
37
+ changeColorHandler(e) {
38
+ this.selectedColor.set(e);
39
+ this.wysiwyg().color(e);
40
+ }
41
+ /** @ignore */
42
+ changeHighlightColorHandler(e) {
43
+ this.selectedHighlightColor.set(e);
44
+ this.wysiwyg().background(e);
45
+ }
46
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXWysiwygColorsComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
47
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.0", type: AXWysiwygColorsComponent, selector: "ax-wysiwyg-colors", ngImport: i0, template: "<ax-button #colorBtn look=\"blank\">\n <ax-icon class=\"ax-icon ax-icon-color-palette\"></ax-icon>\n</ax-button>\n<ax-popover [openOn]=\"popoverOption.openOn\" [closeOn]=\"popoverOption.closeOn\" [target]=\"colorBtn\" [placement]=\"popoverOption.placement\">\n <div class=\"ax-overlay-pane\">\n <ax-color-palette (ngModelChange)=\"changeColorHandler($event)\" [ngModel]=\"selectedColor()\">\n <ax-color-palette-preview></ax-color-palette-preview>\n <ax-color-palette-picker></ax-color-palette-picker>\n <ax-color-palette-input></ax-color-palette-input>\n </ax-color-palette>\n </div>\n</ax-popover>\n\n<ax-button #highlightBtn look=\"blank\">\n <ax-icon class=\"ax-icon ax-icon-highlight\"></ax-icon>\n</ax-button>\n<ax-popover [openOn]=\"popoverOption.openOn\" [closeOn]=\"popoverOption.closeOn\" [target]=\"highlightBtn\" [placement]=\"popoverOption.placement\">\n <div class=\"ax-overlay-pane\">\n <ax-color-palette (ngModelChange)=\"changeHighlightColorHandler($event)\" [ngModel]=\"selectedHighlightColor()\">\n <ax-color-palette-preview></ax-color-palette-preview>\n <ax-color-palette-picker></ax-color-palette-picker>\n <ax-color-palette-input></ax-color-palette-input>\n </ax-color-palette>\n </div>\n</ax-popover>\n", styles: [""], dependencies: [{ kind: "component", type: i1.AXButtonComponent, selector: "ax-button", inputs: ["disabled", "size", "tabIndex", "color", "look", "text", "toggleable", "selected", "type", "responsiveOn", "loadingText"], outputs: ["onBlur", "onFocus", "onClick", "selectedChange", "toggleableChange", "lookChange", "colorChange", "disabledChange", "responsiveOnChange", "loadingTextChange"] }, { kind: "component", type: i2.AXDecoratorIconComponent, selector: "ax-icon", inputs: ["icon"] }, { kind: "directive", type: i3.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i3.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "component", type: i4.AXColorPalleteComponent, selector: "ax-color-palette", inputs: ["disabled", "tabIndex", "readonly", "value", "state", "name", "checked"], outputs: ["onBlur", "onFocus", "valueChange", "stateChange", "onValueChanged", "readonlyChange", "disabledChange"] }, { kind: "component", type: i4.AXColorPalettePreviewComponent, selector: "ax-color-palette-preview" }, { kind: "component", type: i4.AXColorPaletteInputComponent, selector: "ax-color-palette-input" }, { kind: "component", type: i4.AXColorPalettePickerComponent, selector: "ax-color-palette-picker" }, { kind: "component", type: i5.AXPopoverComponent, selector: "ax-popover", inputs: ["offsetX", "offsetY", "target", "placement", "content", "openOn", "closeOn", "hasBackdrop", "openAfter", "closeAfter", "backdropClass", "adaptivityEnabled"], outputs: ["onOpened", "onClosed"] }], encapsulation: i0.ViewEncapsulation.None }); }
48
+ }
49
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXWysiwygColorsComponent, decorators: [{
50
+ type: Component,
51
+ args: [{ selector: 'ax-wysiwyg-colors', encapsulation: ViewEncapsulation.None, template: "<ax-button #colorBtn look=\"blank\">\n <ax-icon class=\"ax-icon ax-icon-color-palette\"></ax-icon>\n</ax-button>\n<ax-popover [openOn]=\"popoverOption.openOn\" [closeOn]=\"popoverOption.closeOn\" [target]=\"colorBtn\" [placement]=\"popoverOption.placement\">\n <div class=\"ax-overlay-pane\">\n <ax-color-palette (ngModelChange)=\"changeColorHandler($event)\" [ngModel]=\"selectedColor()\">\n <ax-color-palette-preview></ax-color-palette-preview>\n <ax-color-palette-picker></ax-color-palette-picker>\n <ax-color-palette-input></ax-color-palette-input>\n </ax-color-palette>\n </div>\n</ax-popover>\n\n<ax-button #highlightBtn look=\"blank\">\n <ax-icon class=\"ax-icon ax-icon-highlight\"></ax-icon>\n</ax-button>\n<ax-popover [openOn]=\"popoverOption.openOn\" [closeOn]=\"popoverOption.closeOn\" [target]=\"highlightBtn\" [placement]=\"popoverOption.placement\">\n <div class=\"ax-overlay-pane\">\n <ax-color-palette (ngModelChange)=\"changeHighlightColorHandler($event)\" [ngModel]=\"selectedHighlightColor()\">\n <ax-color-palette-preview></ax-color-palette-preview>\n <ax-color-palette-picker></ax-color-palette-picker>\n <ax-color-palette-input></ax-color-palette-input>\n </ax-color-palette>\n </div>\n</ax-popover>\n" }]
52
+ }], ctorParameters: () => [] });
53
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoid3lzaXd5Zy1jb2xvcnMuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9jb21wb25lbnRzL3d5c2l3eWcvc3JjL2xpYi93eXNpd3lnL3d5c2l3eWctdG9vbHMvd3lzaXd5Zy1jb2xvcnMvd3lzaXd5Zy1jb2xvcnMuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9jb21wb25lbnRzL3d5c2l3eWcvc3JjL2xpYi93eXNpd3lnL3d5c2l3eWctdG9vbHMvd3lzaXd5Zy1jb2xvcnMvd3lzaXd5Zy1jb2xvcnMuY29tcG9uZW50Lmh0bWwiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBR0EsT0FBTyxFQUFFLFNBQVMsRUFBRSxpQkFBaUIsRUFBRSxlQUFlLEVB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GFsZXR0ZS1pbnB1dD48L2F4LWNvbG9yLXBhbGV0dGUtaW5wdXQ+XG4gICAgPC9heC1jb2xvci1wYWxldHRlPlxuICA8L2Rpdj5cbjwvYXgtcG9wb3Zlcj5cbiJdfQ==
@@ -0,0 +1,150 @@
1
+ import { afterNextRender, Component, effect, inject, signal } from '@angular/core';
2
+ import { AXWysiwygContainerComponent } from '../../wysiwyg-container/wysiwyg-container.component';
3
+ import { AXWysiwygService } from '../../wysiwyg.service';
4
+ import * as i0 from "@angular/core";
5
+ import * as i1 from "@acorex/components/button";
6
+ import * as i2 from "@acorex/components/decorators";
7
+ import * as i3 from "@acorex/components/select-box";
8
+ import * as i4 from "@angular/forms";
9
+ /**
10
+ * A container component for WYSIWYG (What You See Is What You Get) editor functionality.
11
+ * @category Components
12
+ */
13
+ export class AXWysiwygFontStyleComponent {
14
+ /** @ignore */
15
+ constructor() {
16
+ /** @ignore */
17
+ this.parent = inject(AXWysiwygContainerComponent);
18
+ /** @ignore */
19
+ this.wysiwyg = signal(null);
20
+ /** @ignore */
21
+ this.boldState = signal(false);
22
+ /** @ignore */
23
+ this.italicState = signal(false);
24
+ /** @ignore */
25
+ this.underLineState = signal(false);
26
+ /** @ignore */
27
+ this.strikeLineState = signal(false);
28
+ /** @ignore */
29
+ this.selectedFont = signal('medium');
30
+ /** @ignore */
31
+ this.service = inject(AXWysiwygService);
32
+ effect(() => {
33
+ this.service.currentSelectedElemArray().forEach((item) => {
34
+ switch (item) {
35
+ case 'U':
36
+ this.wysiwyg().underLine(true);
37
+ this.underLineState.set(true);
38
+ break;
39
+ case 'S':
40
+ this.wysiwyg().strike(true);
41
+ this.strikeLineState.set(true);
42
+ break;
43
+ case 'EM':
44
+ this.wysiwyg().italic(true);
45
+ this.italicState.set(true);
46
+ break;
47
+ case 'STRONG':
48
+ this.wysiwyg().bold(true);
49
+ this.boldState.set(true);
50
+ break;
51
+ default:
52
+ if (this.boldState())
53
+ this.wysiwyg().bold(true);
54
+ if (this.italicState())
55
+ this.wysiwyg().italic(true);
56
+ if (this.strikeLineState())
57
+ this.wysiwyg().strike(true);
58
+ if (this.underLineState())
59
+ this.wysiwyg().underLine(true);
60
+ }
61
+ });
62
+ }, { allowSignalWrites: true });
63
+ afterNextRender(() => {
64
+ this.wysiwyg.set(this.service.wysiwyg());
65
+ });
66
+ }
67
+ /** @ignore */
68
+ fontHandler(e) {
69
+ const range = this.wysiwyg().wysiwygObj.getSelection();
70
+ const size = this.wysiwyg().wysiwygObj.getFormat(range.index, range.length)['size'];
71
+ if (!range.length)
72
+ return;
73
+ if (size) {
74
+ this.selectedFont.set(size);
75
+ }
76
+ else {
77
+ this.selectedFont.set('medium');
78
+ }
79
+ if (e === 'up' && this.selectedFont() === 'small') {
80
+ this.wysiwyg().fontSize(false, range);
81
+ this.selectedFont.set('medium');
82
+ return;
83
+ }
84
+ }
85
+ /** @ignore */
86
+ bold() {
87
+ if (this.boldState()) {
88
+ this.wysiwyg().bold(false);
89
+ this.boldState.set(false);
90
+ }
91
+ else {
92
+ this.wysiwyg().bold(true);
93
+ this.boldState.set(true);
94
+ }
95
+ }
96
+ /** @ignore */
97
+ italic() {
98
+ if (this.italicState()) {
99
+ this.wysiwyg().italic(false);
100
+ this.italicState.set(false);
101
+ }
102
+ else {
103
+ this.wysiwyg().italic(true);
104
+ this.italicState.set(true);
105
+ }
106
+ }
107
+ /** @ignore */
108
+ underLine() {
109
+ if (this.underLineState()) {
110
+ this.wysiwyg().underLine(false);
111
+ this.underLineState.set(false);
112
+ }
113
+ else {
114
+ this.wysiwyg().underLine(true);
115
+ this.underLineState.set(true);
116
+ }
117
+ }
118
+ /** @ignore */
119
+ strike() {
120
+ if (this.strikeLineState()) {
121
+ this.wysiwyg().strike(false);
122
+ this.strikeLineState.set(false);
123
+ }
124
+ else {
125
+ this.wysiwyg().strike(true);
126
+ this.strikeLineState.set(true);
127
+ }
128
+ }
129
+ /** @ignore */
130
+ fontSizeHandler(e) {
131
+ const range = this.wysiwyg().wysiwygObj.getSelection();
132
+ if (!range.length)
133
+ return;
134
+ if (e === 'medium') {
135
+ this.wysiwyg().fontSize(false, range);
136
+ this.selectedFont.set('medium');
137
+ }
138
+ else {
139
+ this.wysiwyg().fontSize(e, range);
140
+ this.selectedFont.set(e);
141
+ }
142
+ }
143
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXWysiwygFontStyleComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
144
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.0", type: AXWysiwygFontStyleComponent, selector: "ax-wysiwyg-font-style", ngImport: i0, template: "<div class=\"ax-wysiwyg-font-style-container\">\n <ax-button (click)=\"bold()\" look=\"blank\" [selected]=\"boldState() ? true : false\">\n <ax-icon class=\"ax-icon ax-icon-bold\"></ax-icon>\n </ax-button>\n\n <ax-button (click)=\"italic()\" look=\"blank\" [selected]=\"italicState() ? true : false\">\n <ax-icon class=\"ax-icon ax-icon-italic\"></ax-icon>\n </ax-button>\n\n <ax-button (click)=\"underLine()\" look=\"blank\" [selected]=\"underLineState() ? true : false\">\n <ax-icon class=\"ax-icon ax-icon-under-line\"></ax-icon>\n </ax-button>\n\n <ax-button (click)=\"strike()\" look=\"blank\" [selected]=\"strikeLineState() ? true : false\">\n <ax-icon class=\"ax-icon ax-icon-strike\"></ax-icon>\n </ax-button>\n\n <ax-select-box\n [look]=\"this.parent.look\"\n (ngModelChange)=\"fontSizeHandler($event)\"\n [ngModel]=\"selectedFont()\"\n [dataSource]=\"['small', 'medium', 'large', 'huge']\"\n placeholder=\"Choose...\"\n >\n </ax-select-box>\n</div>\n", styles: [".ax-wysiwyg-font-style-container{display:flex;justify-content:flex-start;align-items:center}\n"], dependencies: [{ kind: "component", type: i1.AXButtonComponent, selector: "ax-button", inputs: ["disabled", "size", "tabIndex", "color", "look", "text", "toggleable", "selected", "type", "responsiveOn", "loadingText"], outputs: ["onBlur", "onFocus", "onClick", "selectedChange", "toggleableChange", "lookChange", "colorChange", "disabledChange", "responsiveOnChange", "loadingTextChange"] }, { kind: "component", type: i2.AXDecoratorIconComponent, selector: "ax-icon", inputs: ["icon"] }, { kind: "component", type: i3.AXSelectBoxComponent, selector: "ax-select-box", inputs: ["disabled", "readonly", "tabIndex", "placeholder", "minValue", "maxValue", "value", "state", "name", "id", "type", "look", "multiple", "valueField", "textField", "textTemplate", "dataSource", "caption", "itemTemplate", "selectedTemplate", "emptyTemplate", "loadingTemplate", "dropdownWidth"], outputs: ["valueChange", "stateChange", "onValueChanged", "onBlur", "onFocus", "readonlyChange", "disabledChange", "onOpened", "onClosed"] }, { kind: "directive", type: i4.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i4.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }] }); }
145
+ }
146
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXWysiwygFontStyleComponent, decorators: [{
147
+ type: Component,
148
+ args: [{ selector: 'ax-wysiwyg-font-style', template: "<div class=\"ax-wysiwyg-font-style-container\">\n <ax-button (click)=\"bold()\" look=\"blank\" [selected]=\"boldState() ? true : false\">\n <ax-icon class=\"ax-icon ax-icon-bold\"></ax-icon>\n </ax-button>\n\n <ax-button (click)=\"italic()\" look=\"blank\" [selected]=\"italicState() ? true : false\">\n <ax-icon class=\"ax-icon ax-icon-italic\"></ax-icon>\n </ax-button>\n\n <ax-button (click)=\"underLine()\" look=\"blank\" [selected]=\"underLineState() ? true : false\">\n <ax-icon class=\"ax-icon ax-icon-under-line\"></ax-icon>\n </ax-button>\n\n <ax-button (click)=\"strike()\" look=\"blank\" [selected]=\"strikeLineState() ? true : false\">\n <ax-icon class=\"ax-icon ax-icon-strike\"></ax-icon>\n </ax-button>\n\n <ax-select-box\n [look]=\"this.parent.look\"\n (ngModelChange)=\"fontSizeHandler($event)\"\n [ngModel]=\"selectedFont()\"\n [dataSource]=\"['small', 'medium', 'large', 'huge']\"\n placeholder=\"Choose...\"\n >\n </ax-select-box>\n</div>\n", styles: [".ax-wysiwyg-font-style-container{display:flex;justify-content:flex-start;align-items:center}\n"] }]
149
+ }], ctorParameters: () => [] });
150
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoid3lzaXd5Zy1mb250LXN0eWxlLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL2xpYnMvY29tcG9uZW50cy93eXNpd3lnL3NyYy9saWIvd3lzaXd5Zy93eXNpd3lnLXRvb2xzL3d5c2l3eWctZm9udC1zdHlsZS93eXNpd3lnLWZvbnQtc3R5bGUuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9jb21wb25lbnRzL3d5c2l3eWcvc3JjL2xpYi93eXNpd3lnL3d5c2l3eWctdG9vbHMvd3lzaXd5Zy1mb250LXN0eWxlL3d5c2l3eWctZm9udC1zdHlsZS5jb21wb25lbnQuaHRtbCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFDQSxPQUFPLEVBQUUsZUFBZSxFQUFFLFNBQVMsRUFBRSxNQUFNLEVBQUUsTUFBTSxFQUFFLE1BQU0sRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUNuRixPQUFPLEVBQUUsMkJBQTJCLEVBQUUsTUFBTSxxREFBcUQsQ0FBQztBQUNsRyxPQUFPLEVBQUUsZ0JBQWdCLEVBQUUsTUFBTSx1QkFBdUIsQ0FBQzs7Ozs7O0FBRXpEOzs7R0FHRztBQU1ILE1BQU0sT0FBTywyQkFBMkI7SUF5QnRDLGNBQWM7SUFDZDtRQXpCQSxjQUFjO1FBQ2QsV0FBTSxHQ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aWNvbiBjbGFzcz1cImF4LWljb24gYXgtaWNvbi11bmRlci1saW5lXCI+PC9heC1pY29uPlxuICA8L2F4LWJ1dHRvbj5cblxuICA8YXgtYnV0dG9uIChjbGljayk9XCJzdHJpa2UoKVwiIGxvb2s9XCJibGFua1wiIFtzZWxlY3RlZF09XCJzdHJpa2VMaW5lU3RhdGUoKSA/IHRydWUgOiBmYWxzZVwiPlxuICAgIDxheC1pY29uIGNsYXNzPVwiYXgtaWNvbiBheC1pY29uLXN0cmlrZVwiPjwvYXgtaWNvbj5cbiAgPC9heC1idXR0b24+XG5cbiAgPGF4LXNlbGVjdC1ib3hcbiAgICBbbG9va109XCJ0aGlzLnBhcmVudC5sb29rXCJcbiAgICAobmdNb2RlbENoYW5nZSk9XCJmb250U2l6ZUhhbmRsZXIoJGV2ZW50KVwiXG4gICAgW25nTW9kZWxdPVwic2VsZWN0ZWRGb250KClcIlxuICAgIFtkYXRhU291cmNlXT1cIlsnc21hbGwnLCAnbWVkaXVtJywgJ2xhcmdlJywgJ2h1Z2UnXVwiXG4gICAgcGxhY2Vob2xkZXI9XCJDaG9vc2UuLi5cIlxuICA+XG4gIDwvYXgtc2VsZWN0LWJveD5cbjwvZGl2PlxuIl19
@@ -0,0 +1,36 @@
1
+ import { afterNextRender, Component, inject, signal, ViewEncapsulation } from '@angular/core';
2
+ import { AXWysiwygService } from '../../wysiwyg.service';
3
+ import * as i0 from "@angular/core";
4
+ import * as i1 from "@acorex/components/button";
5
+ import * as i2 from "@acorex/components/decorators";
6
+ /**
7
+ * A container component for WYSIWYG (What You See Is What You Get) editor functionality.
8
+ * @category Components
9
+ */
10
+ export class AXWysiwygHistoryComponent {
11
+ /** @ignore */
12
+ constructor() {
13
+ /** @ignore */
14
+ this.service = inject(AXWysiwygService);
15
+ /** @ignore */
16
+ this.wysiwyg = signal(null);
17
+ afterNextRender(() => {
18
+ this.wysiwyg.set(this.service.wysiwyg());
19
+ });
20
+ }
21
+ /** @ignore */
22
+ undo() {
23
+ this.wysiwyg().undo();
24
+ }
25
+ /** @ignore */
26
+ redo() {
27
+ this.wysiwyg().redo();
28
+ }
29
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXWysiwygHistoryComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
30
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.0", type: AXWysiwygHistoryComponent, selector: "ax-wysiwyg-history", ngImport: i0, template: "<ax-button class=\"\" (click)=\"undo()\" look=\"blank\">\n <ax-icon class=\"ax-icon ax-icon-undo\"></ax-icon>\n</ax-button>\n\n<ax-button class=\"\" (click)=\"redo()\" look=\"blank\">\n <ax-icon class=\"ax-icon ax-icon-redo\"></ax-icon>\n</ax-button>\n", styles: [""], dependencies: [{ kind: "component", type: i1.AXButtonComponent, selector: "ax-button", inputs: ["disabled", "size", "tabIndex", "color", "look", "text", "toggleable", "selected", "type", "responsiveOn", "loadingText"], outputs: ["onBlur", "onFocus", "onClick", "selectedChange", "toggleableChange", "lookChange", "colorChange", "disabledChange", "responsiveOnChange", "loadingTextChange"] }, { kind: "component", type: i2.AXDecoratorIconComponent, selector: "ax-icon", inputs: ["icon"] }], encapsulation: i0.ViewEncapsulation.None }); }
31
+ }
32
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXWysiwygHistoryComponent, decorators: [{
33
+ type: Component,
34
+ args: [{ selector: 'ax-wysiwyg-history', encapsulation: ViewEncapsulation.None, template: "<ax-button class=\"\" (click)=\"undo()\" look=\"blank\">\n <ax-icon class=\"ax-icon ax-icon-undo\"></ax-icon>\n</ax-button>\n\n<ax-button class=\"\" (click)=\"redo()\" look=\"blank\">\n <ax-icon class=\"ax-icon ax-icon-redo\"></ax-icon>\n</ax-button>\n" }]
35
+ }], ctorParameters: () => [] });
36
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIj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5c2l3eWdIaXN0b3J5Q29tcG9uZW50IHtcbiAgLyoqIEBpZ25vcmUgKi9cbiAgc2VydmljZSA9IGluamVjdChBWFd5c2l3eWdTZXJ2aWNlKTtcblxuICAvKiogQGlnbm9yZSAqL1xuICBjb25zdHJ1Y3RvcigpIHtcbiAgICBhZnRlck5leHRSZW5kZXIoKCkgPT4ge1xuICAgICAgdGhpcy53eXNpd3lnLnNldCh0aGlzLnNlcnZpY2Uud3lzaXd5ZygpKTtcbiAgICB9KTtcbiAgfVxuXG4gIC8qKiBAaWdub3JlICovXG4gIHByb3RlY3RlZCB3eXNpd3lnID0gc2lnbmFsPEFYV3lzaXd5ZyB8IG51bGw+KG51bGwpO1xuICAvKiogQGlnbm9yZSAqL1xuICBwcm90ZWN0ZWQgdW5kbygpIHtcbiAgICB0aGlzLnd5c2l3eWcoKS51bmRvKCk7XG4gIH1cblxuICAvKiogQGlnbm9yZSAqL1xuICBwcm90ZWN0ZWQgcmVkbygpIHtcbiAgICB0aGlzLnd5c2l3eWcoKS5yZWRvKCk7XG4gIH1cbn1cbiIsIjxheC1idXR0b24gY2xhc3M9XCJcIiAoY2xpY2spPVwidW5kbygpXCIgbG9vaz1cImJsYW5rXCI+XG4gIDxheC1pY29uIGNsYXNzPVwiYXgtaWNvbiBheC1pY29uLXVuZG9cIj48L2F4LWljb24+XG48L2F4LWJ1dHRvbj5cblxuPGF4LWJ1dHRvbiBjbGFzcz1cIlwiIChjbGljayk9XCJyZWRvKClcIiBsb29rPVwiYmxhbmtcIj5cbiAgPGF4LWljb24gY2xhc3M9XCJheC1pY29uIGF4LWljb24tcmVkb1wiPjwvYXgtaWNvbj5cbjwvYXgtYnV0dG9uPlxuIl19
@@ -0,0 +1,49 @@
1
+ import { Component, ViewEncapsulation, afterNextRender, inject, signal } from '@angular/core';
2
+ import { AXWysiwygService } from '../../wysiwyg.service';
3
+ import * as i0 from "@angular/core";
4
+ import * as i1 from "@acorex/components/button";
5
+ import * as i2 from "@acorex/components/decorators";
6
+ import * as i3 from "@angular/forms";
7
+ import * as i4 from "@acorex/components/popover";
8
+ import * as i5 from "@acorex/components/text-box";
9
+ /**
10
+ * A container component for WYSIWYG (What You See Is What You Get) editor functionality.
11
+ * @category Components
12
+ */
13
+ export class AXWysiwygInsertComponent {
14
+ /** @ignore */
15
+ constructor() {
16
+ /** @ignore */
17
+ this.service = inject(AXWysiwygService);
18
+ /** @ignore */
19
+ this.wysiwyg = signal(null);
20
+ /** @ignore */
21
+ this.textBoxOptions = {
22
+ text: '',
23
+ placeholder: 'Enter yor url ...',
24
+ size: 'ax-sm',
25
+ };
26
+ /** @ignore */
27
+ this.popoverOption = {
28
+ openOn: 'click',
29
+ closeOn: 'clickOut',
30
+ placement: 'top',
31
+ offsetX: 0,
32
+ offsetY: 0,
33
+ };
34
+ afterNextRender(() => {
35
+ this.wysiwyg.set(this.service.wysiwyg());
36
+ });
37
+ }
38
+ /** @ignore */
39
+ submitLink() {
40
+ this.wysiwyg().addImage(this.textBoxOptions.text);
41
+ }
42
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXWysiwygInsertComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
43
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.0", type: AXWysiwygInsertComponent, selector: "ax-wysiwyg-insert", ngImport: i0, template: "<ax-button #linkBtn look=\"blank\">\n <ax-icon class=\"ax-icon ax-icon-image\"></ax-icon>\n</ax-button>\n\n<ax-popover [openOn]=\"popoverOption.openOn\" [closeOn]=\"popoverOption.closeOn\" [target]=\"linkBtn\" [placement]=\"popoverOption.placement\">\n <ax-text-box class=\"{{ textBoxOptions.size }}\" [(ngModel)]=\"textBoxOptions.text\" [placeholder]=\"textBoxOptions.placeholder\">\n </ax-text-box>\n <ax-suffix>\n <ax-button (click)=\"submitLink()\" class=\"ax-sm\" color=\"secondary\" text=\"Add\"> </ax-button>\n </ax-suffix>\n</ax-popover>\n", styles: [""], dependencies: [{ kind: "component", type: i1.AXButtonComponent, selector: "ax-button", inputs: ["disabled", "size", "tabIndex", "color", "look", "text", "toggleable", "selected", "type", "responsiveOn", "loadingText"], outputs: ["onBlur", "onFocus", "onClick", "selectedChange", "toggleableChange", "lookChange", "colorChange", "disabledChange", "responsiveOnChange", "loadingTextChange"] }, { kind: "component", type: i2.AXDecoratorIconComponent, selector: "ax-icon", inputs: ["icon"] }, { kind: "component", type: i2.AXDecoratorGenericComponent, selector: "ax-footer, ax-header, ax-content, ax-divider, ax-form-hint, ax-prefix, ax-suffix, ax-text, ax-title, ax-sub-title, ax-placeholder, ax-overlay" }, { kind: "directive", type: i3.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i3.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "component", type: i4.AXPopoverComponent, selector: "ax-popover", inputs: ["offsetX", "offsetY", "target", "placement", "content", "openOn", "closeOn", "hasBackdrop", "openAfter", "closeAfter", "backdropClass", "adaptivityEnabled"], outputs: ["onOpened", "onClosed"] }, { kind: "component", type: i5.AXTextBoxComponent, selector: "ax-text-box", inputs: ["disabled", "tabIndex", "readonly", "value", "state", "name", "id", "placeholder", "maxLength", "allowNull", "type", "autoComplete", "look", "mask-options", "class"], outputs: ["onBlur", "onFocus", "valueChange", "stateChange", "onValueChanged", "readonlyChange", "disabledChange", "onKeyDown", "onKeyUp", "onKeyPress"] }], encapsulation: i0.ViewEncapsulation.None }); }
44
+ }
45
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXWysiwygInsertComponent, decorators: [{
46
+ type: Component,
47
+ args: [{ selector: 'ax-wysiwyg-insert', encapsulation: ViewEncapsulation.None, template: "<ax-button #linkBtn look=\"blank\">\n <ax-icon class=\"ax-icon ax-icon-image\"></ax-icon>\n</ax-button>\n\n<ax-popover [openOn]=\"popoverOption.openOn\" [closeOn]=\"popoverOption.closeOn\" [target]=\"linkBtn\" [placement]=\"popoverOption.placement\">\n <ax-text-box class=\"{{ textBoxOptions.size }}\" [(ngModel)]=\"textBoxOptions.text\" [placeholder]=\"textBoxOptions.placeholder\">\n </ax-text-box>\n <ax-suffix>\n <ax-button (click)=\"submitLink()\" class=\"ax-sm\" color=\"secondary\" text=\"Add\"> </ax-button>\n </ax-suffix>\n</ax-popover>\n" }]
48
+ }], ctorParameters: () => [] });
49
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoid3lzaXd5Zy1pbnNlcnQuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9jb21wb25lbnRzL3d5c2l3eWcvc3JjL2xpYi93eXNpd3lnL3d5c2l3eWctdG9vbHMvd3lzaXd5Zy1pbnNlcnQvd3lzaXd5Zy1pbnNlcnQuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9jb21wb25lbnRzL3d5c2l3eWcvc3JjL2xpYi93eXNpd3lnL3d5c2l3eWctdG9vbHMvd3lzaXd5Zy1pbnNlcnQvd3lzaXd5Zy1pbnNlcnQuY29tcG9uZW50Lmh0bWwiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBR0EsT0FBTyxFQUFFLFNBQVMsRUFBRSxpQkFBaUIsRUFBRSxlQUFlLEVBQUUsTUFBTSxFQUFFLE1BQU0sRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUM5RixPQUFPLEVBQUUsZ0JBQWdCLEVBQUUsTUFBTSx1QkFBdUIsQ0FBQzs7Ozs7OztBQUV6RDs7O0dBR0c7QUFPSCxNQUFNLE9BQU8sd0JBQXdCO0lBNkJuQyxjQUFjO0lBQ2Q7UUE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yT3B0aW9uLmNsb3NlT25cIiBbdGFyZ2V0XT1cImxpbmtCdG5cIiBbcGxhY2VtZW50XT1cInBvcG92ZXJPcHRpb24ucGxhY2VtZW50XCI+XG4gIDxheC10ZXh0LWJveCBjbGFzcz1cInt7IHRleHRCb3hPcHRpb25zLnNpemUgfX1cIiBbKG5nTW9kZWwpXT1cInRleHRCb3hPcHRpb25zLnRleHRcIiBbcGxhY2Vob2xkZXJdPVwidGV4dEJveE9wdGlvbnMucGxhY2Vob2xkZXJcIj5cbiAgPC9heC10ZXh0LWJveD5cbiAgPGF4LXN1ZmZpeD5cbiAgICA8YXgtYnV0dG9uIChjbGljayk9XCJzdWJtaXRMaW5rKClcIiBjbGFzcz1cImF4LXNtXCIgY29sb3I9XCJzZWNvbmRhcnlcIiB0ZXh0PVwiQWRkXCI+IDwvYXgtYnV0dG9uPlxuICA8L2F4LXN1ZmZpeD5cbjwvYXgtcG9wb3Zlcj5cbiJdfQ==
@@ -0,0 +1,67 @@
1
+ import { afterNextRender, Component, effect, inject, signal, ViewEncapsulation } from '@angular/core';
2
+ import { AXWysiwygService } from '../../wysiwyg.service';
3
+ import * as i0 from "@angular/core";
4
+ import * as i1 from "@acorex/components/button";
5
+ import * as i2 from "@acorex/components/decorators";
6
+ /**
7
+ * A container component for WYSIWYG (What You See Is What You Get) editor functionality.
8
+ * @category Components
9
+ */
10
+ export class AXWysiwygListComponent {
11
+ /** @ignore */
12
+ constructor() {
13
+ /** @ignore */
14
+ this.service = inject(AXWysiwygService);
15
+ /** @ignore */
16
+ this.wysiwyg = signal(null);
17
+ /** @ignore */
18
+ this.listState = signal('');
19
+ effect(() => {
20
+ switch (this.service.currentSelectedElemList()) {
21
+ case 'ordered':
22
+ this.wysiwyg().list('ordered');
23
+ this.listState.set('ordered');
24
+ break;
25
+ case 'bullet':
26
+ this.wysiwyg().list('bullet');
27
+ this.listState.set('bullet');
28
+ break;
29
+ default:
30
+ this.wysiwyg().list('');
31
+ this.listState.set('');
32
+ }
33
+ }, { allowSignalWrites: true });
34
+ afterNextRender(() => {
35
+ this.wysiwyg.set(this.service.wysiwyg());
36
+ });
37
+ }
38
+ /** @ignore */
39
+ orderList() {
40
+ if (!this.listState() || this.listState() === 'bullet') {
41
+ this.wysiwyg().list('ordered');
42
+ this.listState.set('ordered');
43
+ }
44
+ else {
45
+ this.wysiwyg().list('');
46
+ this.listState.set('');
47
+ }
48
+ }
49
+ /** @ignore */
50
+ unOrderList() {
51
+ if (!this.listState() || this.listState() === 'ordered') {
52
+ this.wysiwyg().list('bullet');
53
+ this.listState.set('bullet');
54
+ }
55
+ else {
56
+ this.wysiwyg().list('');
57
+ this.listState.set('');
58
+ }
59
+ }
60
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXWysiwygListComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
61
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.0", type: AXWysiwygListComponent, selector: "ax-wysiwyg-list", ngImport: i0, template: "<ax-button (click)=\"orderList()\" look=\"blank\" [selected]=\"listState() === 'ordered' ? true : false\">\n <ax-icon class=\"ax-icon ax-icon-order-list\"></ax-icon>\n</ax-button>\n\n<ax-button (click)=\"unOrderList()\" look=\"blank\" [selected]=\"listState() === 'bullet' ? true : false\">\n <ax-icon class=\"ax-icon ax-icon-un-order-list\"></ax-icon>\n</ax-button>\n", styles: [""], dependencies: [{ kind: "component", type: i1.AXButtonComponent, selector: "ax-button", inputs: ["disabled", "size", "tabIndex", "color", "look", "text", "toggleable", "selected", "type", "responsiveOn", "loadingText"], outputs: ["onBlur", "onFocus", "onClick", "selectedChange", "toggleableChange", "lookChange", "colorChange", "disabledChange", "responsiveOnChange", "loadingTextChange"] }, { kind: "component", type: i2.AXDecoratorIconComponent, selector: "ax-icon", inputs: ["icon"] }], encapsulation: i0.ViewEncapsulation.None }); }
62
+ }
63
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXWysiwygListComponent, decorators: [{
64
+ type: Component,
65
+ args: [{ selector: 'ax-wysiwyg-list', encapsulation: ViewEncapsulation.None, template: "<ax-button (click)=\"orderList()\" look=\"blank\" [selected]=\"listState() === 'ordered' ? true : false\">\n <ax-icon class=\"ax-icon ax-icon-order-list\"></ax-icon>\n</ax-button>\n\n<ax-button (click)=\"unOrderList()\" look=\"blank\" [selected]=\"listState() === 'bullet' ? true : false\">\n <ax-icon class=\"ax-icon ax-icon-un-order-list\"></ax-icon>\n</ax-button>\n" }]
66
+ }], ctorParameters: () => [] });
67
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoid3lzaXd5Zy1saXN0LmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL2xpYnMvY29tcG9uZW50cy93eXNpd3lnL3NyYy9saWIvd3lzaXd5Zy93eXNpd3lnLXRvb2xzL3d5c2l3eWctbGlzdC93eXNpd3lnLWxpc3QuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9jb21wb25lbnRzL3d5c2l3eWcvc3JjL2xpYi93eXNpd3lnL3d5c2l3eWctdG9vbHMvd3lzaXd5Zy1saXN0L3d5c2l3eWctbGlzdC5jb21wb25lbnQuaHRtbCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFDQSxPQUFPLEVBQUUsZUFBZSxFQUFFLFNBQVMsRUFBRSxNQUFNLEVBQUUsTUFBTSxFQUFFLE1BQU0sRUFBRSxpQkFBaUIsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUN0RyxPQUFPLEVBQUUsZ0JBQWdCLEVBQUUsTUFBTSx1QkFBdUIsQ0FBQzs7OztBQUV6RDs7O0dBR0c7QUFPSCxNQUFNLE9BQU8sc0JBQ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as i0 from "@angular/core";
8
8
  export class AXWysiwygViewComponent {
9
9
  constructor() {
10
10
  this.classes = input('', { alias: 'class' });
11
+ /** @ignore */
11
12
  this.wysiwygService = inject(AXWysiwygService);
12
13
  }
13
- get __hostClass() {
14
- return `${this.classes()}`;
15
- }
14
+ /** @ignore */
16
15
  editorStateHandler(e) {
17
16
  this.wysiwygService.currentSelectedElemAlign.set(e.target.classList.value);
18
17
  this.wysiwygService.currentSelectedElemList.set(e.target.dataset.list);
19
- this.wysiwygService.currentSelectedElemClass.set(e.target.classList.value);
20
18
  this.wysiwygService.currentSelectedElemArray.set([
21
19
  e.target.nodeName,
22
20
  e.target.parentElement.nodeName,
@@ -25,14 +23,17 @@ export class AXWysiwygViewComponent {
25
23
  e.target.classList.value,
26
24
  ]);
27
25
  }
28
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXWysiwygViewComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
29
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "18.0.2", type: AXWysiwygViewComponent, selector: "ax-wysiwyg-view", inputs: { classes: { classPropertyName: "classes", publicName: "class", isSignal: true, isRequired: false, transformFunction: null } }, host: { properties: { "class": "this.__hostClass" } }, ngImport: i0, template: "<div class=\"ax-editor-wrapper\" (click)=\"editorStateHandler($event)\">\n <!-- wysiwyg editor render here -->\n</div>\n", styles: ["ax-wysiwyg-view{display:block;width:100%;border-bottom:1px solid rgb(var(--ax-color-border-default))}.ql-container{font-family:inherit}.ql-editor.ql-blank:before{color:rgb(var(--ax-color-neutral-400));font-weight:600;font-style:normal}\n"], encapsulation: i0.ViewEncapsulation.None }); }
26
+ get __hostClass() {
27
+ return `${this.classes()}`;
28
+ }
29
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXWysiwygViewComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
30
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "18.2.0", type: AXWysiwygViewComponent, selector: "ax-wysiwyg-view", inputs: { classes: { classPropertyName: "classes", publicName: "class", isSignal: true, isRequired: false, transformFunction: null } }, host: { properties: { "class": "this.__hostClass" } }, ngImport: i0, template: "<div class=\"ax-editor-wrapper\" (click)=\"editorStateHandler($event)\">\n <!-- wysiwyg editor render here -->\n</div>\n", styles: ["ax-wysiwyg-view{display:block;width:100%;border-bottom:1px solid rgb(var(--ax-color-border-default))}.ql-container{font-family:inherit}.ql-editor.ql-blank:before{color:rgb(var(--ax-color-neutral-400));font-weight:600;font-style:normal}\n"], encapsulation: i0.ViewEncapsulation.None }); }
30
31
  }
31
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXWysiwygViewComponent, decorators: [{
32
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXWysiwygViewComponent, decorators: [{
32
33
  type: Component,
33
34
  args: [{ selector: 'ax-wysiwyg-view', encapsulation: ViewEncapsulation.None, template: "<div class=\"ax-editor-wrapper\" (click)=\"editorStateHandler($event)\">\n <!-- wysiwyg editor render here -->\n</div>\n", styles: ["ax-wysiwyg-view{display:block;width:100%;border-bottom:1px solid rgb(var(--ax-color-border-default))}.ql-container{font-family:inherit}.ql-editor.ql-blank:before{color:rgb(var(--ax-color-neutral-400));font-weight:600;font-style:normal}\n"] }]
34
35
  }], propDecorators: { __hostClass: [{
35
36
  type: HostBinding,
36
37
  args: ['class']
37
38
  }] } });
38
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoid3lzaXd5Zy12aWV3LmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL2xpYnMvY29tcG9uZW50cy93eXNpd3lnL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quc2V0KGUudGFyZ2V0LmRhdGFzZXQubGlzdCk7XG4gICAgdGhpcy53eXNpd3lnU2VydmljZS5jdXJyZW50U2VsZWN0ZWRFbGVtQXJyYXkuc2V0KFtcbiAgICAgIGUudGFyZ2V0Lm5vZGVOYW1lLFxuICAgICAgZS50YXJnZXQucGFyZW50RWxlbWVudC5ub2RlTmFtZSxcbiAgICAgIGUudGFyZ2V0LnBhcmVudEVsZW1lbnQucGFyZW50RWxlbWVudC5ub2RlTmFtZSxcbiAgICAgIGUudGFyZ2V0LnBhcmVudEVsZW1lbnQucGFyZW50RWxlbWVudC5wYXJlbnRFbGVtZW50Lm5vZGVOYW1lLFxuICAgICAgZS50YXJnZXQuY2xhc3NMaXN0LnZhbHVlLFxuICAgIF0pO1xuICB9XG5cbiAgQEhvc3RCaW5kaW5nKCdjbGFzcycpXG4gIGdldCBfX2hvc3RDbGFzcygpOiBzdHJpbmcge1xuICAgIHJldHVybiBgJHt0aGlzLmNsYXNzZXMoKX1gO1xuICB9XG59XG4iLCI8ZGl2IGNsYXNzPVwiYXgtZWRpdG9yLXdyYXBwZXJcIiAoY2xpY2spPVwiZWRpdG9yU3RhdGVIYW5kbGVyKCRldmVudClcIj5cbiAgPCEtLSB3eXNpd3lnIGVkaXRvciByZW5kZXIgaGVyZSAtLT5cbjwvZGl2PlxuIl19
@@ -4,14 +4,13 @@ export class AXWysiwygService {
4
4
  constructor() {
5
5
  this.wysiwyg = signal(null);
6
6
  this.currentSelectedElemArray = signal([]);
7
- this.currentSelectedElemClass = signal('');
8
7
  this.currentSelectedElemList = signal('');
9
8
  this.currentSelectedElemAlign = signal('');
10
9
  }
11
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXWysiwygService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
12
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXWysiwygService }); }
10
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXWysiwygService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
11
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXWysiwygService }); }
13
12
  }
14
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXWysiwygService, decorators: [{
13
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXWysiwygService, decorators: [{
15
14
  type: Injectable
16
15
  }] });
17
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoid3lzaXd5Zy5zZXJ2aWNlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9jb21wb25lbnRzL3d5c2l3eWcvc3JjL2xpYi93eXNpd3lnL3d5c2l3eWcuc2VydmljZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFDQSxPQUFPLEVBQUUsVUFBVSxFQUFFLE1BQU0sRUFBRSxNQUFNLGVBQWUsQ0FBQzs7QUFHbkQsTUFBTSxPQUFPLGdCQUFnQjtJQUQ3QjtRQUVFLFlBQU8sR0FBRyxNQUFNLENBQW1CLElBQUksQ0FBQyxDQUFDO1FBRXpDLDZCQUF3QixHQUFHLE1BQU0sQ0FBVyxFQUFFLENBQUMsQ0FBQztRQUNoRCw2QkFBd0IsR0FBRyxNQUFNLENBQVMsRUFBRSxDQUFDLENBQUM7UUFDOUMsNEJBQXVCLEdBQUcsTUFBTSxDQUFTLEVBQUUsQ0FBQyxDQUFDO1FBQzdDLDZCQUF3QixHQUFHLE1BQU0sQ0FBUyxFQUFFLENBQUMsQ0FBQztLQUMvQzs4R0FQWSxnQkFBZ0I7a0hBQWhCLGdCQUFn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BVyxFQUFFLENBQUMsQ0FBQztRQUNoRCw0QkFBdUIsR0FBRyxNQUFNLENBQVMsRUFBRSxDQUFDLENBQUM7UUFDN0MsNkJBQXdCLEdBQUcsTUFBTSxDQUFTLEVBQUUsQ0FBQyxDQUFDO0tBQy9DOzhHQUxZLGdCQUFnQjtrSEFBaEIsZ0JBQWdCOzsyRkFBaEIsZ0JBQWdCO2tCQUQ1QixVQUFVIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgQVhXeXNpd3lnIH0gZnJvbSAnQGFjb3JleC9jZGsvd3lzaXd5Zyc7XG5pbXBvcnQgeyBJbmplY3RhYmxlLCBzaWduYWwgfSBmcm9tICdAYW5ndWxhci9jb3JlJztcblxuQEluamVjdGFibGUoKVxuZXhwb3J0IGNsYXNzIEFYV3lzaXd5Z1NlcnZpY2Uge1xuICB3eXNpd3lnID0gc2lnbmFsPEFYV3lzaXd5ZyB8IG51bGw+KG51bGwpO1xuICBjdXJyZW50U2VsZWN0ZWRFbGVtQXJyYXkgPSBzaWduYWw8c3RyaW5nW10+KFtdKTtcbiAgY3VycmVudFNlbGVjdGVkRWxlbUxpc3QgPSBzaWduYWw8c3RyaW5nPignJyk7XG4gIGN1cnJlbnRTZWxlY3RlZEVsZW1BbGlnbiA9IHNpZ25hbDxzdHJpbmc+KCcnKTtcbn1cbiJdfQ==
@@ -8,17 +8,49 @@ import { AXColorPaletteModule } from '@acorex/components/color-palette';
8
8
  import { AXPopoverModule } from '@acorex/components/popover';
9
9
  import { AXTextBoxModule } from '@acorex/components/text-box';
10
10
  import { AXWysiwygToolbarComponent } from './wysiwyg/wysiwyg-toolbar/wysiwyg-toolbar.component';
11
+ import { AXWysiwygAlignmentComponent } from './wysiwyg/wysiwyg-tools/wysiwyg-alignment/wysiwyg-alignment.component';
12
+ import { AXWysiwygColorsComponent } from './wysiwyg/wysiwyg-tools/wysiwyg-colors/wysiwyg-colors.component';
13
+ import { AXWysiwygFontStyleComponent } from './wysiwyg/wysiwyg-tools/wysiwyg-font-style/wysiwyg-font-style.component';
14
+ import { AXWysiwygHistoryComponent } from './wysiwyg/wysiwyg-tools/wysiwyg-history/wysiwyg-history.component';
15
+ import { AXWysiwygInsertComponent } from './wysiwyg/wysiwyg-tools/wysiwyg-insert/wysiwyg-insert.component';
16
+ import { AXWysiwygListComponent } from './wysiwyg/wysiwyg-tools/wysiwyg-list/wysiwyg-list.component';
11
17
  import { AXWysiwygViewComponent } from './wysiwyg/wysiwyg-view/wysiwyg-view.component';
12
18
  import { AXWysiwygService } from './wysiwyg/wysiwyg.service';
13
19
  import * as i0 from "@angular/core";
14
- const COMPONENT = [AXWysiwygContainerComponent, AXWysiwygViewComponent, AXWysiwygToolbarComponent];
20
+ const COMPONENT = [
21
+ AXWysiwygContainerComponent,
22
+ AXWysiwygViewComponent,
23
+ AXWysiwygToolbarComponent,
24
+ AXWysiwygAlignmentComponent,
25
+ AXWysiwygColorsComponent,
26
+ AXWysiwygFontStyleComponent,
27
+ AXWysiwygHistoryComponent,
28
+ AXWysiwygInsertComponent,
29
+ AXWysiwygListComponent,
30
+ ];
15
31
  const MODULES = [AXButtonModule, AXDecoratorModule, AXSelectBoxModule, FormsModule, AXColorPaletteModule, AXPopoverModule, AXTextBoxModule];
16
32
  export class AXWysiwygModule {
17
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXWysiwygModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
18
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.0.2", ngImport: i0, type: AXWysiwygModule, declarations: [AXWysiwygContainerComponent, AXWysiwygViewComponent, AXWysiwygToolbarComponent], imports: [AXButtonModule, AXDecoratorModule, AXSelectBoxModule, FormsModule, AXColorPaletteModule, AXPopoverModule, AXTextBoxModule], exports: [AXWysiwygContainerComponent, AXWysiwygViewComponent, AXWysiwygToolbarComponent] }); }
19
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXWysiwygModule, providers: [AXWysiwygService], imports: [MODULES] }); }
33
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXWysiwygModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
34
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.0", ngImport: i0, type: AXWysiwygModule, declarations: [AXWysiwygContainerComponent,
35
+ AXWysiwygViewComponent,
36
+ AXWysiwygToolbarComponent,
37
+ AXWysiwygAlignmentComponent,
38
+ AXWysiwygColorsComponent,
39
+ AXWysiwygFontStyleComponent,
40
+ AXWysiwygHistoryComponent,
41
+ AXWysiwygInsertComponent,
42
+ AXWysiwygListComponent], imports: [AXButtonModule, AXDecoratorModule, AXSelectBoxModule, FormsModule, AXColorPaletteModule, AXPopoverModule, AXTextBoxModule], exports: [AXWysiwygContainerComponent,
43
+ AXWysiwygViewComponent,
44
+ AXWysiwygToolbarComponent,
45
+ AXWysiwygAlignmentComponent,
46
+ AXWysiwygColorsComponent,
47
+ AXWysiwygFontStyleComponent,
48
+ AXWysiwygHistoryComponent,
49
+ AXWysiwygInsertComponent,
50
+ AXWysiwygListComponent] }); }
51
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXWysiwygModule, providers: [AXWysiwygService], imports: [MODULES] }); }
20
52
  }
21
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXWysiwygModule, decorators: [{
53
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXWysiwygModule, decorators: [{
22
54
  type: NgModule,
23
55
  args: [{
24
56
  declarations: [...COMPONENT],
@@ -27,4 +59,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18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