@acorex/components 18.6.0 → 18.7.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (421) hide show
  1. package/calendar/lib/calendar-range.component.d.ts +1 -1
  2. package/calendar/lib/calendar.component.d.ts +1 -1
  3. package/color-box/lib/color-box.component.d.ts +1 -1
  4. package/conversation/lib/conversation-input/conversation-input.component.d.ts +1 -1
  5. package/datetime-box/lib/datetime-box.component.d.ts +1 -1
  6. package/datetime-picker/lib/datetime-picker.component.d.ts +1 -1
  7. package/esm2022/action-sheet/lib/action-sheet.component.mjs +3 -3
  8. package/esm2022/action-sheet/lib/action-sheet.module.mjs +4 -4
  9. package/esm2022/action-sheet/lib/action-sheet.service.mjs +3 -3
  10. package/esm2022/alert/lib/alert.component.mjs +3 -3
  11. package/esm2022/alert/lib/alert.module.mjs +4 -4
  12. package/esm2022/audio-wave/lib/audio-wave.component.mjs +3 -3
  13. package/esm2022/audio-wave/lib/audio-wave.module.mjs +4 -4
  14. package/esm2022/avatar/lib/avatar-group.component.mjs +3 -3
  15. package/esm2022/avatar/lib/avatar.component.mjs +3 -3
  16. package/esm2022/avatar/lib/avatar.module.mjs +4 -4
  17. package/esm2022/badge/lib/badge.component.mjs +3 -3
  18. package/esm2022/badge/lib/badge.module.mjs +4 -4
  19. package/esm2022/bottom-navigation/lib/bottom-navigation-item/bottom-navigation-item.component.mjs +3 -3
  20. package/esm2022/bottom-navigation/lib/bottom-navigation.component.mjs +3 -3
  21. package/esm2022/bottom-navigation/lib/bottom-navigation.module.mjs +4 -4
  22. package/esm2022/breadcrumbs/lib/breadcrumbs-item.component.mjs +3 -3
  23. package/esm2022/breadcrumbs/lib/breadcrumbs.component.mjs +3 -3
  24. package/esm2022/breadcrumbs/lib/breadcrumbs.module.mjs +4 -4
  25. package/esm2022/button/lib/button-item-list.component.mjs +3 -3
  26. package/esm2022/button/lib/button-item.component.mjs +3 -3
  27. package/esm2022/button/lib/button.component.mjs +3 -3
  28. package/esm2022/button/lib/button.module.mjs +4 -4
  29. package/esm2022/button-group/lib/button-group.component.mjs +3 -3
  30. package/esm2022/button-group/lib/button-group.module.mjs +4 -4
  31. package/esm2022/calendar/lib/calendar-range.component.mjs +3 -3
  32. package/esm2022/calendar/lib/calendar.class.mjs +3 -3
  33. package/esm2022/calendar/lib/calendar.component.mjs +3 -3
  34. package/esm2022/calendar/lib/calendar.module.mjs +4 -4
  35. package/esm2022/check-box/lib/check-box.component.mjs +3 -3
  36. package/esm2022/check-box/lib/check-box.module.mjs +4 -4
  37. package/esm2022/chips/lib/chips.component.mjs +3 -3
  38. package/esm2022/chips/lib/chips.module.mjs +4 -4
  39. package/esm2022/circular-progress/lib/circular-progress.component.mjs +3 -3
  40. package/esm2022/circular-progress/lib/circular-progress.module.mjs +4 -4
  41. package/esm2022/collapse/lib/collapse-group.component.mjs +3 -3
  42. package/esm2022/collapse/lib/collapse.component.mjs +3 -3
  43. package/esm2022/collapse/lib/collapse.module.mjs +4 -4
  44. package/esm2022/color-box/lib/color-box.component.mjs +3 -3
  45. package/esm2022/color-box/lib/color-box.module.mjs +4 -4
  46. package/esm2022/color-palette/lib/color-palette-input.component.mjs +3 -3
  47. package/esm2022/color-palette/lib/color-palette-picker.component.mjs +4 -4
  48. package/esm2022/color-palette/lib/color-palette-preview.component.mjs +3 -3
  49. package/esm2022/color-palette/lib/color-palette-swatches.component.mjs +3 -3
  50. package/esm2022/color-palette/lib/color-palette.class.mjs +6 -6
  51. package/esm2022/color-palette/lib/color-palette.component.mjs +3 -3
  52. package/esm2022/color-palette/lib/color-palette.module.mjs +4 -4
  53. package/esm2022/comment/lib/comment-container/comment-container.component.mjs +3 -3
  54. package/esm2022/comment/lib/comment-item/comment-item.component.mjs +3 -3
  55. package/esm2022/comment/lib/comment-like/comment-like.component.mjs +3 -3
  56. package/esm2022/comment/lib/comment-reply/comment-reply.component.mjs +3 -3
  57. package/esm2022/comment/lib/comment-reply-text/comment-reply-text.component.mjs +3 -3
  58. package/esm2022/comment/lib/comment-view/comment-view.component.mjs +3 -3
  59. package/esm2022/comment/lib/comment.module.mjs +4 -4
  60. package/esm2022/comment/lib/services/comment.service.mjs +3 -3
  61. package/esm2022/common/lib/classes/components.class.mjs +21 -21
  62. package/esm2022/common/lib/common.module.mjs +4 -4
  63. package/esm2022/common/lib/components/base-component.class.mjs +3 -3
  64. package/esm2022/common/lib/components/input-base-value-component.class.mjs +3 -3
  65. package/esm2022/common/lib/components/look-component.class.mjs +3 -3
  66. package/esm2022/common/lib/components/selection-base.component.class.mjs +6 -6
  67. package/esm2022/common/lib/components/value-component.class.mjs +3 -3
  68. package/esm2022/common/lib/directives/auto-focus.directive.mjs +3 -3
  69. package/esm2022/common/lib/directives/delayed-value-changed.directive.mjs +3 -3
  70. package/esm2022/common/lib/directives/hotkey.directive.mjs +3 -3
  71. package/esm2022/common/lib/directives/infinite-scroll.directive.mjs +3 -3
  72. package/esm2022/common/lib/directives/inverted-color.directive.mjs +3 -3
  73. package/esm2022/common/lib/directives/responsive.directive.mjs +3 -3
  74. package/esm2022/common/lib/directives/ripple.directive.mjs +3 -3
  75. package/esm2022/common/lib/services/dom.service.mjs +3 -3
  76. package/esm2022/common/lib/services/hotkey.service.mjs +3 -3
  77. package/esm2022/conversation/lib/conversation-container/conversation-container.component.mjs +3 -3
  78. package/esm2022/conversation/lib/conversation-input/conversation-input.component.mjs +3 -3
  79. package/esm2022/conversation/lib/conversation-message/conversation-message.component.mjs +3 -3
  80. package/esm2022/conversation/lib/conversation-messages/conversation-message-audio/conversation-message-audio.component.mjs +3 -3
  81. package/esm2022/conversation/lib/conversation-messages/conversation-message-file/conversation-message-file.component.mjs +3 -3
  82. package/esm2022/conversation/lib/conversation-messages/conversation-message-image/conversation-message-image.component.mjs +3 -3
  83. package/esm2022/conversation/lib/conversation-messages/conversation-message-image-popup/conversation-message-image-popup.component.mjs +3 -3
  84. package/esm2022/conversation/lib/conversation-messages/conversation-message-text/conversation-message-text.component.mjs +3 -3
  85. package/esm2022/conversation/lib/conversation-messages/conversation-message-video/conversation-message-video.component.mjs +3 -3
  86. package/esm2022/conversation/lib/conversation-messages/conversation-message-voice/conversation-message-voice.component.mjs +3 -3
  87. package/esm2022/conversation/lib/conversation-view/conversation-view.component.mjs +3 -3
  88. package/esm2022/conversation/lib/conversation.module.mjs +4 -4
  89. package/esm2022/conversation/lib/conversation.types.mjs +3 -3
  90. package/esm2022/conversation/lib/services/conversation-message-type-registry.service.mjs +3 -3
  91. package/esm2022/conversation/lib/services/conversation.service.mjs +3 -3
  92. package/esm2022/conversation/lib/services/recording.service.mjs +3 -3
  93. package/esm2022/data-pager/lib/data-pager-base.component.mjs +6 -6
  94. package/esm2022/data-pager/lib/data-pager-info.component.mjs +3 -3
  95. package/esm2022/data-pager/lib/data-pager-input-selector.component.mjs +3 -3
  96. package/esm2022/data-pager/lib/data-pager-next-buttons.components.mjs +3 -3
  97. package/esm2022/data-pager/lib/data-pager-numeric-selector.component.mjs +3 -3
  98. package/esm2022/data-pager/lib/data-pager-pagesize-dropdown.component.mjs +3 -3
  99. package/esm2022/data-pager/lib/data-pager-prev-buttons.component.mjs +3 -3
  100. package/esm2022/data-pager/lib/data-pager.component.mjs +3 -3
  101. package/esm2022/data-pager/lib/data-pager.module.mjs +4 -4
  102. package/esm2022/data-table/lib/base-data-table.class.mjs +3 -3
  103. package/esm2022/data-table/lib/columns/data-table-column-resizable.directive.mjs +3 -3
  104. package/esm2022/data-table/lib/columns/data-table-column.mjs +3 -3
  105. package/esm2022/data-table/lib/columns/data-text-column.component.mjs +3 -3
  106. package/esm2022/data-table/lib/columns/row-command-column.component.mjs +6 -6
  107. package/esm2022/data-table/lib/columns/row-index-column.component.mjs +3 -3
  108. package/esm2022/data-table/lib/columns/row-select-column.component.mjs +3 -3
  109. package/esm2022/data-table/lib/data-table/data-table.component.mjs +4 -4
  110. package/esm2022/data-table/lib/data-table.module.mjs +4 -4
  111. package/esm2022/data-table/lib/infinite-scroll-data-table/infinite-scroll-data-table.component.mjs +3 -3
  112. package/esm2022/datetime-box/lib/datetime-box.component.mjs +3 -3
  113. package/esm2022/datetime-box/lib/datetime-box.module.mjs +4 -4
  114. package/esm2022/datetime-input/lib/datetime-input.component.mjs +3 -3
  115. package/esm2022/datetime-input/lib/datetime-input.module.mjs +4 -4
  116. package/esm2022/datetime-picker/lib/datetime-picker.component.mjs +3 -3
  117. package/esm2022/datetime-picker/lib/datetime-picker.module.mjs +4 -4
  118. package/esm2022/decorators/lib/components/clear-button.component.mjs +3 -3
  119. package/esm2022/decorators/lib/components/close-button.component.mjs +3 -3
  120. package/esm2022/decorators/lib/components/generic-content.component.mjs +3 -3
  121. package/esm2022/decorators/lib/components/icon.component.mjs +3 -3
  122. package/esm2022/decorators/lib/decorators.module.mjs +4 -4
  123. package/esm2022/dialog/lib/dialog.component.mjs +4 -4
  124. package/esm2022/dialog/lib/dialog.module.mjs +4 -4
  125. package/esm2022/dialog/lib/dialog.service.mjs +3 -3
  126. package/esm2022/drawer/lib/drawer-container.component.mjs +3 -3
  127. package/esm2022/drawer/lib/drawer.component.mjs +3 -3
  128. package/esm2022/drawer/lib/drawer.module.mjs +4 -4
  129. package/esm2022/dropdown/lib/dropdown-box.class.mjs +3 -3
  130. package/esm2022/dropdown/lib/dropdown-box.component.mjs +3 -3
  131. package/esm2022/dropdown/lib/dropdown-panel.component.mjs +3 -3
  132. package/esm2022/dropdown/lib/dropdown.module.mjs +4 -4
  133. package/esm2022/dropdown-button/lib/dropdown-button.component.mjs +3 -3
  134. package/esm2022/dropdown-button/lib/dropdown-button.module.mjs +4 -4
  135. package/esm2022/form/lib/form-field.component.mjs +3 -3
  136. package/esm2022/form/lib/form.component.mjs +3 -3
  137. package/esm2022/form/lib/form.module.mjs +4 -4
  138. package/esm2022/form/lib/validation-rule.directive.mjs +3 -3
  139. package/esm2022/form/lib/validation-summary.component.mjs +3 -3
  140. package/esm2022/image/lib/image.component.mjs +3 -3
  141. package/esm2022/image/lib/image.module.mjs +4 -4
  142. package/esm2022/label/lib/label.component.mjs +3 -3
  143. package/esm2022/label/lib/label.module.mjs +4 -4
  144. package/esm2022/list/lib/list.component.mjs +3 -3
  145. package/esm2022/list/lib/list.module.mjs +4 -4
  146. package/esm2022/loading/lib/loading-spinner.component.mjs +3 -3
  147. package/esm2022/loading/lib/loading.component.mjs +3 -3
  148. package/esm2022/loading/lib/loading.directive.mjs +3 -3
  149. package/esm2022/loading/lib/loading.module.mjs +4 -4
  150. package/esm2022/loading/lib/loading.service.mjs +3 -3
  151. package/esm2022/loading-dialog/lib/loading-dialog.component.mjs +42 -5
  152. package/esm2022/loading-dialog/lib/loading-dialog.module.mjs +4 -4
  153. package/esm2022/loading-dialog/lib/loading-dialog.service.mjs +3 -3
  154. package/esm2022/menu/lib/menu-item/menu-item.component.mjs +50 -4
  155. package/esm2022/menu/lib/menu.component.mjs +10 -4
  156. package/esm2022/menu/lib/menu.module.mjs +4 -4
  157. package/esm2022/menu/lib/menu.service.mjs +3 -3
  158. package/esm2022/nav/lib/nav-item/nav-item.component.mjs +26 -4
  159. package/esm2022/nav/lib/nav.component.mjs +8 -4
  160. package/esm2022/nav/lib/nav.module.mjs +4 -4
  161. package/esm2022/navbar/lib/navbar.component.mjs +9 -4
  162. package/esm2022/navbar/lib/navbar.module.mjs +4 -4
  163. package/esm2022/notification/lib/notification.component.mjs +13 -4
  164. package/esm2022/notification/lib/notification.module.mjs +4 -4
  165. package/esm2022/notification/lib/notification.service.mjs +3 -3
  166. package/esm2022/number-box/lib/number-box.component.mjs +77 -8
  167. package/esm2022/number-box/lib/number-box.module.mjs +4 -4
  168. package/esm2022/otp/lib/otp.component.mjs +38 -4
  169. package/esm2022/otp/lib/otp.module.mjs +4 -4
  170. package/esm2022/page/lib/base-page.class.mjs +3 -3
  171. package/esm2022/page/lib/page.component.mjs +18 -4
  172. package/esm2022/page/lib/page.module.mjs +4 -4
  173. package/esm2022/paint/acorex-components-paint.mjs +5 -0
  174. package/esm2022/paint/index.mjs +8 -0
  175. package/esm2022/paint/lib/paint/paint-container/paint-container.component.mjs +38 -0
  176. package/esm2022/paint/lib/paint/paint-toolbar/paint-toolbar.component.mjs +15 -0
  177. package/esm2022/paint/lib/paint/paint-tools/paint-color-picker/paint-color-picker.component.mjs +46 -0
  178. package/esm2022/paint/lib/paint/paint-tools/paint-pen-cap/paint-pen-cap.component.mjs +37 -0
  179. package/esm2022/paint/lib/paint/paint-tools/paint-pen-mode-changer/paint-pen-mode-changer.component.mjs +55 -0
  180. package/esm2022/paint/lib/paint/paint-view/paint-view.component.mjs +104 -0
  181. package/esm2022/paint/lib/paint/paint.service.mjs +17 -0
  182. package/esm2022/paint/lib/paint.module.mjs +50 -0
  183. package/esm2022/password-box/lib/password-box.component.mjs +13 -4
  184. package/esm2022/password-box/lib/password-box.module.mjs +4 -4
  185. package/esm2022/phone-box/lib/phone-box.component.mjs +38 -4
  186. package/esm2022/phone-box/lib/phone-box.module.mjs +4 -4
  187. package/esm2022/picker/lib/picker-column.directive.mjs +3 -3
  188. package/esm2022/picker/lib/picker.component.mjs +29 -4
  189. package/esm2022/picker/lib/picker.module.mjs +4 -4
  190. package/esm2022/popover/lib/popover.component.mjs +118 -4
  191. package/esm2022/popover/lib/popover.module.mjs +4 -4
  192. package/esm2022/popup/lib/popup.component.mjs +33 -8
  193. package/esm2022/popup/lib/popup.module.mjs +4 -4
  194. package/esm2022/popup/lib/popup.service.mjs +3 -3
  195. package/esm2022/progress-bar/lib/progress-bar.component.mjs +33 -4
  196. package/esm2022/progress-bar/lib/progress-bar.module.mjs +4 -4
  197. package/esm2022/radio/lib/radio.component.mjs +8 -5
  198. package/esm2022/radio/lib/radio.module.mjs +4 -4
  199. package/esm2022/range-slider/lib/range-slider.component.mjs +8 -4
  200. package/esm2022/range-slider/lib/range-slider.module.mjs +4 -4
  201. package/esm2022/result/lib/result.component.mjs +18 -4
  202. package/esm2022/result/lib/result.module.mjs +4 -4
  203. package/esm2022/routing-progress/lib/routing-progress.component.mjs +19 -4
  204. package/esm2022/routing-progress/lib/routing-progress.module.mjs +4 -4
  205. package/esm2022/scheduler/lib/scheduler-month-view.component.mjs +3 -3
  206. package/esm2022/scheduler/lib/scheduler-week-view.component.mjs +3 -3
  207. package/esm2022/scheduler/lib/scheduler.component.mjs +6 -4
  208. package/esm2022/scheduler/lib/scheduler.module.mjs +4 -4
  209. package/esm2022/scss/lib/scss.module.mjs +4 -4
  210. package/esm2022/search-box/lib/search-box.component.mjs +3 -3
  211. package/esm2022/search-box/lib/search-box.module.mjs +4 -4
  212. package/esm2022/select-box/lib/select-box.component.mjs +5 -5
  213. package/esm2022/select-box/lib/select-box.module.mjs +4 -4
  214. package/esm2022/selection-list/lib/selection-list.component.mjs +3 -3
  215. package/esm2022/selection-list/lib/selection-list.module.mjs +4 -4
  216. package/esm2022/side-menu/lib/side-menu-item/side-menu-item.compoent.mjs +3 -3
  217. package/esm2022/side-menu/lib/side-menu.component.mjs +3 -3
  218. package/esm2022/side-menu/lib/side-menu.module.mjs +4 -4
  219. package/esm2022/skeleton/lib/skeleton.component.mjs +3 -3
  220. package/esm2022/skeleton/lib/skeleton.module.mjs +4 -4
  221. package/esm2022/slider/lib/slider.component.mjs +3 -3
  222. package/esm2022/slider/lib/slider.module.mjs +4 -4
  223. package/esm2022/step-wizard/lib/step-wizard-item/step-wizard-item.component.mjs +3 -3
  224. package/esm2022/step-wizard/lib/step-wizard.component.mjs +17 -4
  225. package/esm2022/step-wizard/lib/step-wizard.directive.mjs +3 -3
  226. package/esm2022/step-wizard/lib/step-wizard.module.mjs +4 -4
  227. package/esm2022/switch/lib/switch-content.component.mjs +3 -3
  228. package/esm2022/switch/lib/switch.component.mjs +3 -3
  229. package/esm2022/switch/lib/switch.module.mjs +4 -4
  230. package/esm2022/tabs/lib/tab-content.directive.mjs +3 -3
  231. package/esm2022/tabs/lib/tab-item.component.mjs +3 -3
  232. package/esm2022/tabs/lib/tabs.component.mjs +3 -3
  233. package/esm2022/tabs/lib/tabs.module.mjs +4 -4
  234. package/esm2022/tag/lib/tag.component.mjs +8 -4
  235. package/esm2022/tag/lib/tag.module.mjs +4 -4
  236. package/esm2022/text-area/lib/text-area.component.mjs +8 -4
  237. package/esm2022/text-area/lib/text-area.module.mjs +4 -4
  238. package/esm2022/text-box/lib/mask-options.directive.mjs +3 -3
  239. package/esm2022/text-box/lib/text-box.component.mjs +3 -3
  240. package/esm2022/text-box/lib/text-box.module.mjs +4 -4
  241. package/esm2022/toast/lib/toast.component.mjs +3 -3
  242. package/esm2022/toast/lib/toast.module.mjs +4 -4
  243. package/esm2022/toast/lib/toast.service.mjs +3 -3
  244. package/esm2022/tooltip/lib/tooltip.component.mjs +3 -3
  245. package/esm2022/tooltip/lib/tooltip.directive.mjs +3 -3
  246. package/esm2022/tooltip/lib/tooltip.module.mjs +4 -4
  247. package/esm2022/uploader/lib/uploader-browse-handle.directive.mjs +3 -3
  248. package/esm2022/uploader/lib/uploader-dialog-container/uploader-dialog-container.component.mjs +3 -3
  249. package/esm2022/uploader/lib/uploader-drop-zone/uploader-drop-zone.component.mjs +3 -3
  250. package/esm2022/uploader/lib/uploader-list/uploader-list.component.mjs +7 -9
  251. package/esm2022/uploader/lib/uploader-zone.directive.mjs +3 -3
  252. package/esm2022/uploader/lib/uploader.models.mjs +21 -11
  253. package/esm2022/uploader/lib/uploader.module.mjs +4 -4
  254. package/esm2022/uploader/lib/uploader.service.mjs +50 -28
  255. package/esm2022/wysiwyg/index.mjs +7 -1
  256. package/esm2022/wysiwyg/lib/wysiwyg/wysiwyg-container/wysiwyg-container.component.mjs +11 -19
  257. package/esm2022/wysiwyg/lib/wysiwyg/wysiwyg-toolbar/wysiwyg-toolbar.component.mjs +7 -259
  258. package/esm2022/wysiwyg/lib/wysiwyg/wysiwyg-tools/wysiwyg-alignment/wysiwyg-alignment.component.mjs +59 -0
  259. package/esm2022/wysiwyg/lib/wysiwyg/wysiwyg-tools/wysiwyg-colors/wysiwyg-colors.component.mjs +53 -0
  260. package/esm2022/wysiwyg/lib/wysiwyg/wysiwyg-tools/wysiwyg-font-style/wysiwyg-font-style.component.mjs +156 -0
  261. package/esm2022/wysiwyg/lib/wysiwyg/wysiwyg-tools/wysiwyg-history/wysiwyg-history.component.mjs +36 -0
  262. package/esm2022/wysiwyg/lib/wysiwyg/wysiwyg-tools/wysiwyg-insert/wysiwyg-insert.component.mjs +49 -0
  263. package/esm2022/wysiwyg/lib/wysiwyg/wysiwyg-tools/wysiwyg-list/wysiwyg-list.component.mjs +67 -0
  264. package/esm2022/wysiwyg/lib/wysiwyg/wysiwyg-view/wysiwyg-view.component.mjs +9 -8
  265. package/esm2022/wysiwyg/lib/wysiwyg/wysiwyg.service.mjs +4 -5
  266. package/esm2022/wysiwyg/lib/wysiwyg.module.mjs +38 -6
  267. package/fesm2022/acorex-components-action-sheet.mjs +10 -10
  268. package/fesm2022/acorex-components-alert.mjs +7 -7
  269. package/fesm2022/acorex-components-audio-wave.mjs +7 -7
  270. package/fesm2022/acorex-components-avatar.mjs +10 -10
  271. package/fesm2022/acorex-components-badge.mjs +7 -7
  272. package/fesm2022/acorex-components-bottom-navigation.mjs +10 -10
  273. package/fesm2022/acorex-components-breadcrumbs.mjs +10 -10
  274. package/fesm2022/acorex-components-button-group.mjs +7 -7
  275. package/fesm2022/acorex-components-button.mjs +13 -13
  276. package/fesm2022/acorex-components-calendar.mjs +13 -13
  277. package/fesm2022/acorex-components-check-box.mjs +7 -7
  278. package/fesm2022/acorex-components-chips.mjs +7 -7
  279. package/fesm2022/acorex-components-circular-progress.mjs +7 -7
  280. package/fesm2022/acorex-components-collapse.mjs +10 -10
  281. package/fesm2022/acorex-components-color-box.mjs +7 -7
  282. package/fesm2022/acorex-components-color-palette.mjs +26 -26
  283. package/fesm2022/acorex-components-color-palette.mjs.map +1 -1
  284. package/fesm2022/acorex-components-comment.mjs +25 -25
  285. package/fesm2022/acorex-components-common.mjs +70 -70
  286. package/fesm2022/acorex-components-conversation.mjs +49 -49
  287. package/fesm2022/acorex-components-data-pager.mjs +31 -31
  288. package/fesm2022/acorex-components-data-table.mjs +35 -35
  289. package/fesm2022/acorex-components-data-table.mjs.map +1 -1
  290. package/fesm2022/acorex-components-datetime-box.mjs +7 -7
  291. package/fesm2022/acorex-components-datetime-input.mjs +7 -7
  292. package/fesm2022/acorex-components-datetime-picker.mjs +7 -7
  293. package/fesm2022/acorex-components-decorators.mjs +16 -16
  294. package/fesm2022/acorex-components-dialog.mjs +11 -11
  295. package/fesm2022/acorex-components-dialog.mjs.map +1 -1
  296. package/fesm2022/acorex-components-drawer.mjs +10 -10
  297. package/fesm2022/acorex-components-dropdown-button.mjs +7 -7
  298. package/fesm2022/acorex-components-dropdown.mjs +13 -13
  299. package/fesm2022/acorex-components-form.mjs +16 -16
  300. package/fesm2022/acorex-components-image.mjs +7 -7
  301. package/fesm2022/acorex-components-label.mjs +7 -7
  302. package/fesm2022/acorex-components-list.mjs +7 -7
  303. package/fesm2022/acorex-components-loading-dialog.mjs +48 -11
  304. package/fesm2022/acorex-components-loading-dialog.mjs.map +1 -1
  305. package/fesm2022/acorex-components-loading.mjs +16 -16
  306. package/fesm2022/acorex-components-menu.mjs +65 -13
  307. package/fesm2022/acorex-components-menu.mjs.map +1 -1
  308. package/fesm2022/acorex-components-nav.mjs +36 -10
  309. package/fesm2022/acorex-components-nav.mjs.map +1 -1
  310. package/fesm2022/acorex-components-navbar.mjs +12 -7
  311. package/fesm2022/acorex-components-navbar.mjs.map +1 -1
  312. package/fesm2022/acorex-components-notification.mjs +19 -10
  313. package/fesm2022/acorex-components-notification.mjs.map +1 -1
  314. package/fesm2022/acorex-components-number-box.mjs +80 -11
  315. package/fesm2022/acorex-components-number-box.mjs.map +1 -1
  316. package/fesm2022/acorex-components-otp.mjs +41 -7
  317. package/fesm2022/acorex-components-otp.mjs.map +1 -1
  318. package/fesm2022/acorex-components-page.mjs +24 -10
  319. package/fesm2022/acorex-components-page.mjs.map +1 -1
  320. package/fesm2022/acorex-components-paint.mjs +336 -0
  321. package/fesm2022/acorex-components-paint.mjs.map +1 -0
  322. package/fesm2022/acorex-components-password-box.mjs +16 -7
  323. package/fesm2022/acorex-components-password-box.mjs.map +1 -1
  324. package/fesm2022/acorex-components-phone-box.mjs +41 -7
  325. package/fesm2022/acorex-components-phone-box.mjs.map +1 -1
  326. package/fesm2022/acorex-components-picker.mjs +35 -10
  327. package/fesm2022/acorex-components-picker.mjs.map +1 -1
  328. package/fesm2022/acorex-components-popover.mjs +121 -7
  329. package/fesm2022/acorex-components-popover.mjs.map +1 -1
  330. package/fesm2022/acorex-components-popup.mjs +39 -14
  331. package/fesm2022/acorex-components-popup.mjs.map +1 -1
  332. package/fesm2022/acorex-components-progress-bar.mjs +36 -7
  333. package/fesm2022/acorex-components-progress-bar.mjs.map +1 -1
  334. package/fesm2022/acorex-components-radio.mjs +11 -8
  335. package/fesm2022/acorex-components-radio.mjs.map +1 -1
  336. package/fesm2022/acorex-components-range-slider.mjs +11 -7
  337. package/fesm2022/acorex-components-range-slider.mjs.map +1 -1
  338. package/fesm2022/acorex-components-result.mjs +21 -7
  339. package/fesm2022/acorex-components-result.mjs.map +1 -1
  340. package/fesm2022/acorex-components-routing-progress.mjs +22 -7
  341. package/fesm2022/acorex-components-routing-progress.mjs.map +1 -1
  342. package/fesm2022/acorex-components-scheduler.mjs +15 -13
  343. package/fesm2022/acorex-components-scheduler.mjs.map +1 -1
  344. package/fesm2022/acorex-components-scss.mjs +4 -4
  345. package/fesm2022/acorex-components-search-box.mjs +7 -7
  346. package/fesm2022/acorex-components-select-box.mjs +8 -8
  347. package/fesm2022/acorex-components-select-box.mjs.map +1 -1
  348. package/fesm2022/acorex-components-selection-list.mjs +7 -7
  349. package/fesm2022/acorex-components-side-menu.mjs +10 -10
  350. package/fesm2022/acorex-components-skeleton.mjs +7 -7
  351. package/fesm2022/acorex-components-slider.mjs +7 -7
  352. package/fesm2022/acorex-components-step-wizard.mjs +26 -13
  353. package/fesm2022/acorex-components-step-wizard.mjs.map +1 -1
  354. package/fesm2022/acorex-components-switch.mjs +10 -10
  355. package/fesm2022/acorex-components-tabs.mjs +13 -13
  356. package/fesm2022/acorex-components-tag.mjs +11 -7
  357. package/fesm2022/acorex-components-tag.mjs.map +1 -1
  358. package/fesm2022/acorex-components-text-area.mjs +11 -7
  359. package/fesm2022/acorex-components-text-area.mjs.map +1 -1
  360. package/fesm2022/acorex-components-text-box.mjs +10 -10
  361. package/fesm2022/acorex-components-toast.mjs +10 -10
  362. package/fesm2022/acorex-components-tooltip.mjs +10 -10
  363. package/fesm2022/acorex-components-uploader.mjs +90 -62
  364. package/fesm2022/acorex-components-uploader.mjs.map +1 -1
  365. package/fesm2022/acorex-components-wysiwyg.mjs +321 -164
  366. package/fesm2022/acorex-components-wysiwyg.mjs.map +1 -1
  367. package/loading-dialog/lib/loading-dialog.component.d.ts +39 -1
  368. package/menu/lib/menu-item/menu-item.component.d.ts +52 -0
  369. package/menu/lib/menu.component.d.ts +7 -0
  370. package/nav/lib/nav-item/nav-item.component.d.ts +22 -0
  371. package/nav/lib/nav.component.d.ts +4 -0
  372. package/navbar/lib/navbar.component.d.ts +5 -0
  373. package/notification/lib/notification.component.d.ts +11 -0
  374. package/number-box/lib/number-box.component.d.ts +74 -1
  375. package/otp/lib/otp.component.d.ts +35 -1
  376. package/package.json +86 -80
  377. package/page/lib/page.component.d.ts +15 -0
  378. package/paint/README.md +3 -0
  379. package/paint/index.d.ts +7 -0
  380. package/paint/lib/paint/paint-container/paint-container.component.d.ts +16 -0
  381. package/paint/lib/paint/paint-toolbar/paint-toolbar.component.d.ts +9 -0
  382. package/paint/lib/paint/paint-tools/paint-color-picker/paint-color-picker.component.d.ts +27 -0
  383. package/paint/lib/paint/paint-tools/paint-pen-cap/paint-pen-cap.component.d.ts +20 -0
  384. package/paint/lib/paint/paint-tools/paint-pen-mode-changer/paint-pen-mode-changer.component.d.ts +33 -0
  385. package/paint/lib/paint/paint-view/paint-view.component.d.ts +42 -0
  386. package/paint/lib/paint/paint.service.d.ts +10 -0
  387. package/paint/lib/paint.module.d.ts +19 -0
  388. package/password-box/lib/password-box.component.d.ts +14 -1
  389. package/phone-box/lib/phone-box.component.d.ts +39 -1
  390. package/picker/lib/picker.component.d.ts +29 -0
  391. package/popover/lib/popover.component.d.ts +129 -0
  392. package/popup/lib/popup.component.d.ts +39 -4
  393. package/progress-bar/lib/progress-bar.component.d.ts +30 -0
  394. package/radio/lib/radio.component.d.ts +7 -1
  395. package/range-slider/lib/range-slider.component.d.ts +4 -0
  396. package/result/lib/result.component.d.ts +14 -0
  397. package/routing-progress/lib/routing-progress.component.d.ts +16 -0
  398. package/scheduler/lib/scheduler.component.d.ts +2 -0
  399. package/search-box/lib/search-box.component.d.ts +1 -1
  400. package/select-box/lib/select-box.component.d.ts +1 -1
  401. package/slider/lib/slider.component.d.ts +1 -1
  402. package/step-wizard/lib/step-wizard.component.d.ts +13 -0
  403. package/switch/lib/switch.component.d.ts +1 -1
  404. package/tag/lib/tag.component.d.ts +4 -0
  405. package/text-area/lib/text-area.component.d.ts +6 -1
  406. package/text-box/lib/text-box.component.d.ts +1 -1
  407. package/uploader/lib/uploader-list/uploader-list.component.d.ts +1 -2
  408. package/uploader/lib/uploader.models.d.ts +9 -4
  409. package/uploader/lib/uploader.service.d.ts +5 -1
  410. package/wysiwyg/index.d.ts +6 -0
  411. package/wysiwyg/lib/wysiwyg/wysiwyg-container/wysiwyg-container.component.d.ts +8 -16
  412. package/wysiwyg/lib/wysiwyg/wysiwyg-toolbar/wysiwyg-toolbar.component.d.ts +1 -99
  413. package/wysiwyg/lib/wysiwyg/wysiwyg-tools/wysiwyg-alignment/wysiwyg-alignment.component.d.ts +31 -0
  414. package/wysiwyg/lib/wysiwyg/wysiwyg-tools/wysiwyg-colors/wysiwyg-colors.component.d.ts +35 -0
  415. package/wysiwyg/lib/wysiwyg/wysiwyg-tools/wysiwyg-font-style/wysiwyg-font-style.component.d.ts +37 -0
  416. package/wysiwyg/lib/wysiwyg/wysiwyg-tools/wysiwyg-history/wysiwyg-history.component.d.ts +21 -0
  417. package/wysiwyg/lib/wysiwyg/wysiwyg-tools/wysiwyg-insert/wysiwyg-insert.component.d.ts +35 -0
  418. package/wysiwyg/lib/wysiwyg/wysiwyg-tools/wysiwyg-list/wysiwyg-list.component.d.ts +23 -0
  419. package/wysiwyg/lib/wysiwyg/wysiwyg-view/wysiwyg-view.component.d.ts +3 -1
  420. package/wysiwyg/lib/wysiwyg/wysiwyg.service.d.ts +0 -1
  421. package/wysiwyg/lib/wysiwyg.module.d.ts +14 -8
@@ -0,0 +1,156 @@
1
+ import { afterNextRender, Component, effect, 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
+ /**
7
+ * A container component for WYSIWYG (What You See Is What You Get) editor functionality.
8
+ * @category Components
9
+ */
10
+ export class AXWysiwygFontStyleComponent {
11
+ /** @ignore */
12
+ constructor() {
13
+ /** @ignore */
14
+ this.wysiwyg = signal(null);
15
+ /** @ignore */
16
+ this.boldState = signal(false);
17
+ /** @ignore */
18
+ this.italicState = signal(false);
19
+ /** @ignore */
20
+ this.underLineState = signal(false);
21
+ /** @ignore */
22
+ this.strikeLineState = signal(false);
23
+ /** @ignore */
24
+ this.selectedFont = signal('medium');
25
+ /** @ignore */
26
+ this.service = inject(AXWysiwygService);
27
+ effect(() => {
28
+ this.service.currentSelectedElemArray().forEach((item) => {
29
+ switch (item) {
30
+ case 'U':
31
+ this.wysiwyg().underLine(true);
32
+ this.underLineState.set(true);
33
+ break;
34
+ case 'S':
35
+ this.wysiwyg().strike(true);
36
+ this.strikeLineState.set(true);
37
+ break;
38
+ case 'EM':
39
+ this.wysiwyg().italic(true);
40
+ this.italicState.set(true);
41
+ break;
42
+ case 'STRONG':
43
+ this.wysiwyg().bold(true);
44
+ this.boldState.set(true);
45
+ break;
46
+ default:
47
+ if (this.boldState())
48
+ this.wysiwyg().bold(true);
49
+ if (this.italicState())
50
+ this.wysiwyg().italic(true);
51
+ if (this.strikeLineState())
52
+ this.wysiwyg().strike(true);
53
+ if (this.underLineState())
54
+ this.wysiwyg().underLine(true);
55
+ }
56
+ });
57
+ }, { allowSignalWrites: true });
58
+ afterNextRender(() => {
59
+ this.wysiwyg.set(this.service.wysiwyg());
60
+ });
61
+ }
62
+ /** @ignore */
63
+ fontHandler(e) {
64
+ const range = this.wysiwyg().wysiwygObj.getSelection();
65
+ const size = this.wysiwyg().wysiwygObj.getFormat(range.index, range.length)['size'];
66
+ if (!range.length)
67
+ return;
68
+ if (size) {
69
+ this.selectedFont.set(size);
70
+ }
71
+ else {
72
+ this.selectedFont.set('medium');
73
+ }
74
+ if (e === 'up' && this.selectedFont() === 'small') {
75
+ this.wysiwyg().fontSize(false, range);
76
+ this.selectedFont.set('medium');
77
+ return;
78
+ }
79
+ if (e === 'up' && this.selectedFont() === 'medium') {
80
+ this.wysiwyg().fontSize('large', range);
81
+ this.selectedFont.set('large');
82
+ return;
83
+ }
84
+ if (e === 'up' && this.selectedFont() === 'large') {
85
+ this.wysiwyg().fontSize('huge', range);
86
+ this.selectedFont.set('huge');
87
+ return;
88
+ }
89
+ if (e === 'down' && this.selectedFont() === 'medium') {
90
+ this.wysiwyg().fontSize('small', range);
91
+ this.selectedFont.set('small');
92
+ return;
93
+ }
94
+ if (e === 'down' && this.selectedFont() === 'large') {
95
+ this.wysiwyg().fontSize(false, range);
96
+ this.selectedFont.set('medium');
97
+ return;
98
+ }
99
+ if (e === 'down' && this.selectedFont() === 'huge') {
100
+ this.wysiwyg().fontSize('large', range);
101
+ this.selectedFont.set('large');
102
+ return;
103
+ }
104
+ }
105
+ /** @ignore */
106
+ bold() {
107
+ if (this.boldState()) {
108
+ this.wysiwyg().bold(false);
109
+ this.boldState.set(false);
110
+ }
111
+ else {
112
+ this.wysiwyg().bold(true);
113
+ this.boldState.set(true);
114
+ }
115
+ }
116
+ /** @ignore */
117
+ italic() {
118
+ if (this.italicState()) {
119
+ this.wysiwyg().italic(false);
120
+ this.italicState.set(false);
121
+ }
122
+ else {
123
+ this.wysiwyg().italic(true);
124
+ this.italicState.set(true);
125
+ }
126
+ }
127
+ /** @ignore */
128
+ underLine() {
129
+ if (this.underLineState()) {
130
+ this.wysiwyg().underLine(false);
131
+ this.underLineState.set(false);
132
+ }
133
+ else {
134
+ this.wysiwyg().underLine(true);
135
+ this.underLineState.set(true);
136
+ }
137
+ }
138
+ /** @ignore */
139
+ strike() {
140
+ if (this.strikeLineState()) {
141
+ this.wysiwyg().strike(false);
142
+ this.strikeLineState.set(false);
143
+ }
144
+ else {
145
+ this.wysiwyg().strike(true);
146
+ this.strikeLineState.set(true);
147
+ }
148
+ }
149
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXWysiwygFontStyleComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
150
+ 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 <div>\n <ax-button (click)=\"fontHandler('up')\" look=\"blank\">\n <ax-icon class=\"ax-icon ax-icon-arrow-up\"></ax-icon>\n </ax-button>\n <ax-text>Font Size</ax-text>\n </div>\n <ax-button (click)=\"fontHandler('down')\" look=\"blank\">\n <ax-icon class=\"ax-icon ax-icon-arrow-down\"></ax-icon>\n </ax-button>\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: 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" }] }); }
151
+ }
152
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXWysiwygFontStyleComponent, decorators: [{
153
+ type: Component,
154
+ 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 <div>\n <ax-button (click)=\"fontHandler('up')\" look=\"blank\">\n <ax-icon class=\"ax-icon ax-icon-arrow-up\"></ax-icon>\n </ax-button>\n <ax-text>Font Size</ax-text>\n </div>\n <ax-button (click)=\"fontHandler('down')\" look=\"blank\">\n <ax-icon class=\"ax-icon ax-icon-arrow-down\"></ax-icon>\n </ax-button>\n</div>\n", styles: [".ax-wysiwyg-font-style-container{display:flex;justify-content:flex-start;align-items:center}\n"] }]
155
+ }], ctorParameters: () => [] });
156
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoid3lzaXd5Zy1mb250LXN0eWxlLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL2xpYnMvY29tcG9uZW50cy93eXNpd3lnL3NyYy9saWIvd3lzaXd5Zy93eXNpd3lnLXRvb2xzL3d5c2l3eWctZm9udC1zdHlsZS93eXNpd3lnLWZvbnQtc3R5bGUuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9jb21wb25lbnRzL3d5c2l3eWcvc3JjL2xpYi93eXNpd3lnL3d5c2l3eWctdG9vbHMvd3lzaXd5Zy1mb250LXN0eWxlL3d5c2l3eWctZm9udC1zdHlsZS5jb21wb25lbnQuaHRtbCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFDQSxPQUFPLEVBQUUsZUFBZSxFQUFFLFNBQVMsRUFBRSxNQUFNLEVBQUUsTUFBTSxFQUFFLE1BQU0sRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUNuRixPQUFPLEVBQUUsZ0JBQWdCLEVBQUUsTUFBTSx1QkFBdUIsQ0FBQzs7OztBQUV6RDs7O0dBR0c7QUFNSCxNQUFNLE9BQU8sMkJBQTJCO0lBc0J0QyxjQUFjO0lBQ2Q7UUF0QkEsY0FBYztRQUNKLFlBQU8sR0FBRyxNQUFNLENBQW1CLElBQUksQ0FBQyxDQUFDO1FBRW5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qL1xuICBzZXJ2aWNlID0gaW5qZWN0KEFYV3lzaXd5Z1NlcnZpY2UpO1xuXG4gIC8qKiBAaWdub3JlICovXG4gIGNvbnN0cnVjdG9yKCkge1xuICAgIGVmZmVjdChcbiAgICAgICgpID0+IHtcbiAgICAgICAgdGhpcy5zZXJ2aWNlLmN1cnJlbnRTZWxlY3RlZEVsZW1BcnJheSgpLmZvckVhY2goKGl0ZW0pID0+IHtcbiAgICAgICAgICBzd2l0Y2ggKGl0ZW0pIHtcbiAgICAgICAgICAgIGNhc2UgJ1UnOlxuICAgICAgICAgICAgICB0aGlzLnd5c2l3eWcoKS51bmRlckxpbmUodHJ1ZSk7XG4gICAgICAgICAgICAgIHRoaXMudW5kZXJMaW5lU3RhdGUuc2V0KHRydWUpO1xuICAgICAgICAgICAgICBicmVhaztcbiAgICAgICAgICAgIGNhc2UgJ1MnOlxuICAgICAgICAgICAgICB0aGlzLnd5c2l3eWcoKS5zdHJpa2UodHJ1ZSk7XG4gICAgICAgICAgICAgIHRoaXMuc3RyaWtlTGluZVN0YXRlLnNldCh0cnVlKTtcbiAgICAgICAgICAgICAgYnJlYWs7XG4gICAgICAgICAgICBjYXNlICdFTSc6XG4gICAgICAgICAgICAgIHRoaXMud3lzaXd5ZygpLml0YWxpYyh0cnVlKTtcbiAgICAgICAgICAgICAgdGhpcy5pdGFsaWNTdGF0ZS5zZXQodHJ1ZSk7XG4gICAgICAgICAgICAgIGJyZWFrO1xuICAgICAgICAgICAgY2FzZSAnU1RST05HJzpcbiAgICAgICAgICAgICAgdGhpcy53eXNpd3lnKCkuYm9sZCh0cnVlKTtcbiAgICAgICAgICAgICAgdGhpcy5ib2xkU3RhdGUuc2V0KHRydWUpO1xuICAgICAgICAgICAgICBicmVhaztcblxuICAgICAgICAgICAgZGVmYXVsdDpcbiAgICAgICAgICAgICAgaWYgKHRoaXMuYm9sZFN0YXRlKCkpIHRoaXMud3lzaXd5ZygpLmJvbGQodHJ1ZSk7XG4gICAgICAgICAgICA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i11bmRlci1saW5lXCI+PC9heC1pY29uPlxuICA8L2F4LWJ1dHRvbj5cblxuICA8YXgtYnV0dG9uIChjbGljayk9XCJzdHJpa2UoKVwiIGxvb2s9XCJibGFua1wiIFtzZWxlY3RlZF09XCJzdHJpa2VMaW5lU3RhdGUoKSA/IHRydWUgOiBmYWxzZVwiPlxuICAgIDxheC1pY29uIGNsYXNzPVwiYXgtaWNvbiBheC1pY29uLXN0cmlrZVwiPjwvYXgtaWNvbj5cbiAgPC9heC1idXR0b24+XG5cbiAgPGRpdj5cbiAgICA8YXgtYnV0dG9uIChjbGljayk9XCJmb250SGFuZGxlcigndXAnKVwiIGxvb2s9XCJibGFua1wiPlxuICAgICAgPGF4LWljb24gY2xhc3M9XCJheC1pY29uIGF4LWljb24tYXJyb3ctdXBcIj48L2F4LWljb24+XG4gICAgPC9heC1idXR0b24+XG4gICAgPGF4LXRleHQ+Rm9udCBTaXplPC9heC10ZXh0PlxuICA8L2Rpdj5cbiAgPGF4LWJ1dHRvbiAoY2xpY2spPVwiZm9udEhhbmRsZXIoJ2Rvd24nKVwiIGxvb2s9XCJibGFua1wiPlxuICAgIDxheC1pY29uIGNsYXNzPVwiYXgtaWNvbiBheC1pY29uLWFycm93LWRvd25cIj48L2F4LWljb24+XG4gIDwvYXgtYnV0dG9uPlxuPC9kaXY+XG4iXX0=
@@ -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"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OiBWaWV3RW5jYXBzdWxhdGlvbi5Ob25lLFxufSlcbmV4cG9ydCBjbGFzcyBBWFd5c2l3eWdIaXN0b3J5Q29tcG9uZW50IHtcbiAgLyoqIEBpZ25vcmUgKi9cbiAgc2VydmljZSA9IGluamVjdChBWFd5c2l3eWdTZXJ2aWNlKTtcblxuICAvKiogQGlnbm9yZSAqL1xuICBjb25zdHJ1Y3RvcigpIHtcbiAgICBhZnRlck5leHRSZW5kZXIoKCkgPT4ge1xuICAgICAgdGhpcy53eXNpd3lnLnNldCh0aGlzLnNlcnZpY2Uud3lzaXd5ZygpKTtcbiAgICB9KTtcbiAgfVxuXG4gIC8qKiBAaWdub3JlICovXG4gIHByb3RlY3RlZCB3eXNpd3lnID0gc2lnbmFsPEFYV3lzaXd5ZyB8IG51bGw+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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoid3lzaXd5Zy1pbnNlcnQuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9jb21wb25lbnRzL3d5c2l3eWcvc3JjL2xpYi93eXNpd3lnL3d5c2l3eWctdG9vbHMvd3lzaXd5Zy1pbnNlcnQvd3lzaXd5Zy1pbnNlcnQuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9jb21wb25lbnRzL3d5c2l3eWcvc3JjL2xpYi93eXNpd3lnL3d5c2l3eWctdG9vbHMvd3lzaXd5Zy1pbnNlcnQvd3lzaXd5Zy1pbnNlcnQuY29tcG9uZW50Lmh0bWwiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBR0EsT0FBTyxFQUFFLFNBQVMsRUFBRSxpQkFBaUIsRUFBRSxlQUFlLEVBQUUsTUFBTSxFQUFFLE1BQU0sRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUM5RixPQUFPLEVBQUUsZ0JBQWdCLEVBQUUsTUFBTSx1QkFBdUIsQ0FBQzs7Ozs7OztBQUV6RDs7O0d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GVuT25dPVwicG9wb3Zlck9wdGlvbi5vcGVuT25cIiBbY2xvc2VPbl09XCJwb3BvdmVyT3B0aW9uLmNsb3NlT25cIiBbdGFyZ2V0XT1cImxpbmtCdG5cIiBbcGxhY2VtZW50XT1cInBvcG92ZXJPcHRpb24ucGxhY2VtZW50XCI+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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoid3lzaXd5Zy1saXN0LmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL2xpYnMvY29tcG9uZW50cy93eXNpd3lnL3NyYy9saWIvd3lzaXd5Zy93eXNpd3lnLXRvb2xzL3d5c2l3eWctbGlzdC93eXNpd3lnLWxpc3QuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9jb21wb25lbnRzL3d5c2l3eWcvc3JjL2xpYi93eXNpd3lnL3d5c2l3eWctdG9vbHMvd3lzaXd5Zy1saXN0L3d5c2l3eWctbGlzdC5jb21wb25lbnQuaHRtbCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFDQSxPQUFPLEVBQUUsZUFBZSxFQUFFLFNBQVMsRUFBRSxNQUFNLEVBQUUsTUFBTSxFQUFFLE1BQU0sRUFBRSxpQkFBaUIsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUN0RyxPQUFPLEVBQUUsZ0JBQWdCLEVBQUUsTUFBTSx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RcIj48L2F4LWljb24+XG48L2F4LWJ1dHRvbj5cbiJdfQ==
@@ -8,15 +8,13 @@ import * 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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoid3lzaXd5Zy12aWV3LmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpb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xuICAgIHRoaXMud3lzaXd5Z1NlcnZpY2UuY3VycmVudFNlbGVjdGVkRWxlbUxpc3Quc2V0KGUudGFyZ2V0LmRhdGFzZXQubGlzdCk7XG4gICAgdGhpcy53eXNpd3lnU2VydmljZS5jdXJyZW50U2VsZWN0ZWRFbGVtQXJyYXkuc2V0KFtcbiAgICAgIGUudGFyZ2V0Lm5vZGVOYW1lLFxuICAgICAgZS50YXJnZXQucGFyZW50RWxlbWVudC5ub2RlTmFtZSxcbiAgICAgIGUudGFyZ2V0LnBhcmVudEVsZW1lbnQucGFyZW50RWxlbWVudC5ub2RlTmFtZSxcbiAgICAgIGUudGFyZ2V0LnBhcmVudEVsZW1lbnQucGFyZW50RWxlbWVudC5wYXJlbnRFbGVtZW50Lm5vZGVOYW1lLFxuICAgICAgZS50YXJnZXQuY2xhc3NMaXN0LnZhbHVlLFxuICAgIF0pO1xuICB9XG5cbiAgQEhvc3RCaW5kaW5nKCdjbGFzcycpXG4gIGdldCBfX2hvc3RDbGFzcygpOiBzdHJpbmcge1xuICAgIHJldHVybiBgJHt0aGlzLmNsYXNzZXMoKX1gO1xuICB9XG59XG4iLCI8ZGl2IGNsYXNzPVwiYXgtZWRpdG9yLXdyYXBwZXJcIiAoY2xpY2spPVwiZWRpdG9yU3RhdGVIYW5kbGVyKCRldmVudClcIj5cbiAgPCEtLSB3eXNpd3lnIGVkaXRvciByZW5kZXIgaGVyZSAtLT5cbjwvZGl2PlxuIl19
@@ -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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoid3lzaXd5Zy5zZXJ2aWNlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9jb21wb25lbnRzL3d5c2l3eWcvc3JjL2xpYi93eXNpd3lnL3d5c2l3eWcuc2VydmljZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFDQSxPQUFPLEVBQUUsVUFBVSxFQUFFLE1BQU0sRUFBRSxNQUFNLGVBQWUsQ0FBQzs7QUFHbkQsTUFBTSxPQUFPLGdCQUFnQjtJQUQ3QjtRQUVFLFlBQU8sR0FBRyxNQUFNLENBQW1CLElBQUksQ0FBQyxDQUFDO1FBRXpDLDZCQUF3QixHQUFHLE1BQU0sQ0FBVyxFQUFFLENBQUMsQ0FBQztRQUNoRCw2QkFBd0IsR0FBRyxNQUFNLENBQVMsRUFBRSxDQUFDLENBQUM7UUFDOUMsNEJBQXVCLEdBQUcsTUFBTSxDQUFTLEVBQUUsQ0FBQyxDQUFDO1FBQzdDLDZCQUF3QixHQUFHLE1BQU0sQ0FBUy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LENBQW1CLElBQUksQ0FBQyxDQUFDO1FBQ3pDLDZCQUF3QixHQUFHLE1BQU0sQ0FBVyxFQUFFLENBQUMsQ0FBQztRQUNoRCw0QkFBdUIsR0FBRyxNQUFNLENBQVMsRUFBRSxDQUFDLENBQUM7UUFDN0MsNkJBQXdCLEdBQUcsTUFBTSxDQUFTLEVBQUUsQ0FBQyxDQUFDO0tBQy9DOzhHQUxZLGdCQUFnQjtrSEFBaEIsZ0JBQWdCOzsyRkFBaEIsZ0JBQWdCO2tCQUQ1QixVQUFVIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgQVhXeXNpd3lnIH0gZnJvbSAnQGFjb3JleC9jZGsvd3lzaXd5Zyc7XG5pbXBvcnQgeyBJbmplY3RhYmxlLCBzaWduYWwgfSBmcm9tICdAYW5ndWxhci9jb3JlJztcblxuQEluamVjdGFibGUoKVxuZXhwb3J0IGNsYXNzIEFYV3lzaXd5Z1NlcnZpY2Uge1xuICB3eXNpd3lnID0gc2lnbmFsPEFYV3lzaXd5ZyB8IG51bGw+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.0.2", ngImpor
27
59
  providers: [AXWysiwygService],
28
60
  }]
29
61
  }] });
30
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoid3lzaXd5Zy5tb2R1bGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9saWJzL2NvbXBvbmVudHMvd3lzaXd5Zy9zcmMvbGliL3d5c2l3eWcubW9kdWxlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxjQUFjLEVBQUUsTUFBTSwyQkFBMkIsQ0FBQztBQUMzRCxPQUFPLEVBQUUsaUJBQWlCLEVBQUUsTUFBTSwrQkFBK0IsQ0FBQztBQUNsRSxPQUFPLEVBQUUsaUJBQWlCLEVBQUUsTUFBTSwrQkFBK0IsQ0FBQztBQUNsRSxPQUFPLEVBQUUsUUFBUSxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQ3pDLE9BQU8sRUFBRSxXQUFXLEVBQUUsTUFBTSxnQkFBZ0IsQ0FBQztBQUM3QyxPQUFPLEVBQUUsMkJBQTJCLEVBQUUsTUFBTSx5REFBeUQsQ0FBQztBQUV0RyxPQUFPLEVBQUUsb0JBQW9CLEVBQUUsTUFBTSxrQ0FBa0MsQ0FBQztBQUN4RSxPQUFPLEVBQUUsZUFBZSxFQUFFLE1BQU0sNEJBQTRCLENBQUM7QUFDN0QsT0FBTyxFQUFFLGVBQWUsRUFBRSxNQUFNLDZCQUE2QixDQUFDO0FBQzlELE9BQU8sRUFBRSx5QkFBeUIsRUFBRSxNQUFNLHFEQUFxRCxDQUFDO0FBQ2hHLE9BQU8sRUFBRSxzQkFBc0IsRUFBRSxNQUFNLCtDQUErQyxDQUFDO0FBQ3ZGLE9BQU8sRUFBRSxnQkFBZ0IsRUFBRSxNQUF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