@acorex/components 18.4.3 → 18.5.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (252) hide show
  1. package/action-sheet/lib/action-sheet.class.d.ts +0 -9
  2. package/action-sheet/lib/action-sheet.component.d.ts +3 -3
  3. package/alert/lib/alert.component.d.ts +15 -36
  4. package/comment/README.md +3 -0
  5. package/comment/index.d.ts +9 -0
  6. package/comment/lib/comment-container/comment-container.component.d.ts +5 -0
  7. package/comment/lib/comment-input/comment-input.component.d.ts +10 -0
  8. package/comment/lib/comment-item/comment-item.component.d.ts +9 -0
  9. package/comment/lib/comment-like/comment-like.component.d.ts +6 -0
  10. package/comment/lib/comment-reply/comment-reply.component.d.ts +5 -0
  11. package/comment/lib/comment-view/comment-view.component.d.ts +5 -0
  12. package/comment/lib/comment.module.d.ts +17 -0
  13. package/comment/lib/comment.types.d.ts +3 -0
  14. package/comment/lib/services/comment.service.d.ts +6 -0
  15. package/esm2022/action-sheet/lib/action-sheet.class.mjs +1 -1
  16. package/esm2022/action-sheet/lib/action-sheet.component.mjs +1 -1
  17. package/esm2022/alert/lib/alert.component.mjs +37 -133
  18. package/esm2022/avatar/lib/avatar.component.mjs +2 -2
  19. package/esm2022/badge/lib/badge.component.mjs +2 -2
  20. package/esm2022/bottom-navigation/lib/bottom-navigation-item/bottom-navigation-item.component.mjs +2 -2
  21. package/esm2022/bottom-navigation/lib/bottom-navigation.component.mjs +1 -1
  22. package/esm2022/bottom-navigation/lib/bottom-navigation.module.mjs +3 -8
  23. package/esm2022/breadcrumbs/lib/breadcrumbs-item.component.mjs +2 -5
  24. package/esm2022/breadcrumbs/lib/breadcrumbs.component.mjs +2 -2
  25. package/esm2022/button/lib/button-item.class.mjs +1 -1
  26. package/esm2022/button/lib/button.module.mjs +5 -26
  27. package/esm2022/check-box/lib/check-box.component.mjs +3 -11
  28. package/esm2022/circular-progress/lib/circular-progress.component.mjs +1 -1
  29. package/esm2022/color-box/lib/color-box.module.mjs +3 -11
  30. package/esm2022/color-palette/lib/color-palette-input.component.mjs +9 -15
  31. package/esm2022/color-palette/lib/color-palette-preview.component.mjs +6 -14
  32. package/esm2022/color-palette/lib/color-palette-swatches.component.mjs +16 -17
  33. package/esm2022/color-palette/lib/color-palette.class.mjs +1 -1
  34. package/esm2022/color-palette/lib/color-palette.component.mjs +5 -21
  35. package/esm2022/comment/acorex-components-comment.mjs +5 -0
  36. package/esm2022/comment/index.mjs +10 -0
  37. package/esm2022/comment/lib/comment-container/comment-container.component.mjs +12 -0
  38. package/esm2022/comment/lib/comment-input/comment-input.component.mjs +33 -0
  39. package/esm2022/comment/lib/comment-item/comment-item.component.mjs +21 -0
  40. package/esm2022/comment/lib/comment-like/comment-like.component.mjs +15 -0
  41. package/esm2022/comment/lib/comment-reply/comment-reply.component.mjs +12 -0
  42. package/esm2022/comment/lib/comment-view/comment-view.component.mjs +11 -0
  43. package/esm2022/comment/lib/comment.module.mjs +48 -0
  44. package/esm2022/comment/lib/comment.types.mjs +2 -0
  45. package/esm2022/comment/lib/services/comment.service.mjs +19 -0
  46. package/esm2022/common/lib/classes/events.class.mjs +1 -1
  47. package/esm2022/common/lib/classes/styles.class.mjs +2 -10
  48. package/esm2022/common/lib/common.module.mjs +4 -20
  49. package/esm2022/common/lib/components/colorlook-component.class.mjs +1 -1
  50. package/esm2022/common/lib/components/input-base-value-component.class.mjs +1 -1
  51. package/esm2022/common/lib/directives/auto-focus.directive.mjs +4 -12
  52. package/esm2022/common/lib/directives/hotkey.directive.mjs +3 -4
  53. package/esm2022/common/lib/directives/infinite-scroll.directive.mjs +2 -3
  54. package/esm2022/common/lib/directives/responsive.directive.mjs +3 -8
  55. package/esm2022/common/lib/directives/ripple.directive.mjs +4 -6
  56. package/esm2022/common/lib/types/placement.mjs +6 -26
  57. package/esm2022/conversation/lib/conversation-input/conversation-input.component.mjs +3 -3
  58. package/esm2022/data-pager/lib/data-pager-info.component.mjs +4 -10
  59. package/esm2022/data-pager/lib/data-pager-input-selector.component.mjs +2 -2
  60. package/esm2022/data-pager/lib/data-pager-next-buttons.components.mjs +3 -3
  61. package/esm2022/data-pager/lib/data-pager-pagesize-dropdown.component.mjs +8 -36
  62. package/esm2022/data-pager/lib/data-pager-prev-buttons.component.mjs +3 -3
  63. package/esm2022/data-table/lib/base-data-table.class.mjs +3 -2
  64. package/esm2022/data-table/lib/data-table/data-table.component.mjs +16 -12
  65. package/esm2022/datetime-box/lib/datetime-box.module.mjs +3 -15
  66. package/esm2022/datetime-picker/lib/datetime-picker.component.mjs +7 -8
  67. package/esm2022/datetime-picker/lib/datetime-picker.config.mjs +1 -1
  68. package/esm2022/decorators/lib/components/clear-button.component.mjs +6 -21
  69. package/esm2022/decorators/lib/components/close-button.component.mjs +5 -15
  70. package/esm2022/decorators/lib/decorators.module.mjs +3 -14
  71. package/esm2022/dialog/lib/dialog.class.mjs +1 -1
  72. package/esm2022/dialog/lib/dialog.component.mjs +4 -6
  73. package/esm2022/dialog/lib/dialog.module.mjs +2 -2
  74. package/esm2022/drawer/lib/drawer-container.component.mjs +2 -2
  75. package/esm2022/dropdown/lib/dropdown.module.mjs +4 -21
  76. package/esm2022/dropdown-button/lib/dropdown-button.component.mjs +4 -12
  77. package/esm2022/dropdown-button/lib/dropdown-button.module.mjs +4 -23
  78. package/esm2022/form/lib/form.config.mjs +1 -1
  79. package/esm2022/form/lib/validation-rule.directive.mjs +2 -2
  80. package/esm2022/form/lib/validation-summary.component.mjs +30 -46
  81. package/esm2022/image/lib/image.component.mjs +2 -2
  82. package/esm2022/label/lib/label.component.mjs +2 -2
  83. package/esm2022/loading/lib/loading-spinner.component.mjs +3 -3
  84. package/esm2022/loading/lib/loading.component.mjs +5 -17
  85. package/esm2022/loading/lib/loading.config.mjs +1 -1
  86. package/esm2022/loading/lib/loading.directive.mjs +1 -1
  87. package/esm2022/loading/lib/loading.module.mjs +3 -11
  88. package/esm2022/loading/lib/loading.service.mjs +5 -11
  89. package/esm2022/loading-dialog/lib/loading-dialog.class.mjs +1 -1
  90. package/esm2022/loading-dialog/lib/loading-dialog.component.mjs +4 -6
  91. package/esm2022/loading-dialog/lib/loading-dialog.module.mjs +4 -23
  92. package/esm2022/loading-dialog/lib/loading-dialog.service.mjs +1 -1
  93. package/esm2022/menu/lib/class/root-menu.class.mjs +1 -1
  94. package/esm2022/nav/lib/nav-item/nav-item.component.mjs +3 -3
  95. package/esm2022/nav/lib/nav.component.mjs +2 -2
  96. package/esm2022/navbar/lib/navbar.component.mjs +2 -2
  97. package/esm2022/notification/lib/notification.class.mjs +1 -1
  98. package/esm2022/notification/lib/notification.component.mjs +6 -10
  99. package/esm2022/notification/lib/notification.config.mjs +1 -1
  100. package/esm2022/notification/lib/notification.module.mjs +4 -18
  101. package/esm2022/notification/lib/notification.service.mjs +6 -13
  102. package/esm2022/number-box/lib/number-box.module.mjs +3 -13
  103. package/esm2022/page/lib/base-page.class.mjs +3 -3
  104. package/esm2022/password-box/lib/password-box.component.mjs +3 -13
  105. package/esm2022/phone-box/lib/phone-box.component.mjs +1 -1
  106. package/esm2022/picker/lib/picker-column.directive.mjs +2 -2
  107. package/esm2022/picker/lib/picker.component.mjs +7 -13
  108. package/esm2022/popup/lib/popup.component.mjs +3 -3
  109. package/esm2022/popup/lib/popup.module.mjs +2 -2
  110. package/esm2022/popup/lib/popup.service.mjs +2 -2
  111. package/esm2022/progress-bar/lib/progress-bar.component.mjs +1 -1
  112. package/esm2022/radio/lib/radio.component.mjs +2 -10
  113. package/esm2022/result/lib/result.component.mjs +2 -2
  114. package/esm2022/routing-progress/lib/routing-progress.component.mjs +3 -3
  115. package/esm2022/scheduler/lib/scheduler-month-view.component.mjs +2 -2
  116. package/esm2022/scheduler/lib/scheduler-week-view.component.mjs +2 -2
  117. package/esm2022/scheduler/lib/scheduler.component.mjs +2 -2
  118. package/esm2022/scheduler/lib/scheduler.module.mjs +4 -22
  119. package/esm2022/scss/lib/scss.module.mjs +2 -2
  120. package/esm2022/selection-list/lib/selection-list.component.mjs +4 -10
  121. package/esm2022/selection-list/lib/selection-list.module.mjs +4 -21
  122. package/esm2022/skeleton/lib/skeleton.component.mjs +2 -2
  123. package/esm2022/step-wizard/lib/step-wizard-item/step-wizard-item.component.mjs +2 -2
  124. package/esm2022/step-wizard/lib/step-wizard.class.mjs +1 -1
  125. package/esm2022/step-wizard/lib/step-wizard.component.mjs +1 -1
  126. package/esm2022/step-wizard/lib/step-wizard.module.mjs +3 -11
  127. package/esm2022/switch/lib/switch-content.component.mjs +1 -1
  128. package/esm2022/switch/lib/switch.component.mjs +3 -10
  129. package/esm2022/tabs/lib/tab-item.component.mjs +32 -36
  130. package/esm2022/tabs/lib/tabs.class.mjs +1 -1
  131. package/esm2022/tabs/lib/tabs.component.mjs +1 -1
  132. package/esm2022/tag/lib/tag.component.mjs +2 -2
  133. package/esm2022/text-box/lib/mask-options.directive.mjs +1 -1
  134. package/esm2022/text-box/lib/text-box.component.mjs +3 -4
  135. package/esm2022/text-box/lib/text-box.module.mjs +4 -18
  136. package/esm2022/toast/lib/toast.component.mjs +3 -3
  137. package/esm2022/toast/lib/toast.config.mjs +1 -1
  138. package/esm2022/toast/lib/toast.module.mjs +4 -16
  139. package/esm2022/toast/lib/toast.service.mjs +7 -16
  140. package/esm2022/uploader/lib/uploader-browse-handle.directive.mjs +2 -2
  141. package/esm2022/uploader/lib/uploader-dialog-container.component.mjs +3 -3
  142. package/esm2022/uploader/lib/uploader-list.component.mjs +2 -2
  143. package/esm2022/uploader/lib/uploader-zone.directive.mjs +2 -2
  144. package/esm2022/uploader/lib/uploader.models.mjs +1 -1
  145. package/esm2022/uploader/lib/uploader.module.mjs +3 -11
  146. package/esm2022/wysiwyg/acorex-components-wysiwyg.mjs +5 -0
  147. package/esm2022/wysiwyg/index.mjs +5 -0
  148. package/esm2022/wysiwyg/lib/wysiwyg/wysiwyg-container/wysiwyg-container.component.mjs +27 -0
  149. package/esm2022/wysiwyg/lib/wysiwyg/wysiwyg-toolbar/wysiwyg-toolbar.component.mjs +113 -0
  150. package/esm2022/wysiwyg/lib/wysiwyg/wysiwyg-view/wysiwyg-view.component.mjs +11 -0
  151. package/esm2022/wysiwyg/lib/wysiwyg/wysiwyg.service.mjs +13 -0
  152. package/esm2022/wysiwyg/lib/wysiwyg.module.mjs +27 -0
  153. package/fesm2022/acorex-components-action-sheet.mjs.map +1 -1
  154. package/fesm2022/acorex-components-alert.mjs +37 -132
  155. package/fesm2022/acorex-components-alert.mjs.map +1 -1
  156. package/fesm2022/acorex-components-avatar.mjs.map +1 -1
  157. package/fesm2022/acorex-components-badge.mjs.map +1 -1
  158. package/fesm2022/acorex-components-bottom-navigation.mjs +2 -7
  159. package/fesm2022/acorex-components-bottom-navigation.mjs.map +1 -1
  160. package/fesm2022/acorex-components-breadcrumbs.mjs +1 -4
  161. package/fesm2022/acorex-components-breadcrumbs.mjs.map +1 -1
  162. package/fesm2022/acorex-components-button.mjs +4 -25
  163. package/fesm2022/acorex-components-button.mjs.map +1 -1
  164. package/fesm2022/acorex-components-check-box.mjs +1 -9
  165. package/fesm2022/acorex-components-check-box.mjs.map +1 -1
  166. package/fesm2022/acorex-components-circular-progress.mjs.map +1 -1
  167. package/fesm2022/acorex-components-color-box.mjs +2 -10
  168. package/fesm2022/acorex-components-color-box.mjs.map +1 -1
  169. package/fesm2022/acorex-components-color-palette.mjs +22 -53
  170. package/fesm2022/acorex-components-color-palette.mjs.map +1 -1
  171. package/fesm2022/acorex-components-comment.mjs +153 -0
  172. package/fesm2022/acorex-components-comment.mjs.map +1 -0
  173. package/fesm2022/acorex-components-common.mjs +17 -78
  174. package/fesm2022/acorex-components-common.mjs.map +1 -1
  175. package/fesm2022/acorex-components-conversation.mjs +2 -2
  176. package/fesm2022/acorex-components-conversation.mjs.map +1 -1
  177. package/fesm2022/acorex-components-data-pager.mjs +12 -46
  178. package/fesm2022/acorex-components-data-pager.mjs.map +1 -1
  179. package/fesm2022/acorex-components-data-table.mjs +17 -12
  180. package/fesm2022/acorex-components-data-table.mjs.map +1 -1
  181. package/fesm2022/acorex-components-datetime-box.mjs +2 -14
  182. package/fesm2022/acorex-components-datetime-box.mjs.map +1 -1
  183. package/fesm2022/acorex-components-datetime-picker.mjs +1 -2
  184. package/fesm2022/acorex-components-datetime-picker.mjs.map +1 -1
  185. package/fesm2022/acorex-components-decorators.mjs +7 -43
  186. package/fesm2022/acorex-components-decorators.mjs.map +1 -1
  187. package/fesm2022/acorex-components-dialog.mjs +1 -3
  188. package/fesm2022/acorex-components-dialog.mjs.map +1 -1
  189. package/fesm2022/acorex-components-drawer.mjs.map +1 -1
  190. package/fesm2022/acorex-components-dropdown-button.mjs +4 -31
  191. package/fesm2022/acorex-components-dropdown-button.mjs.map +1 -1
  192. package/fesm2022/acorex-components-dropdown.mjs +3 -20
  193. package/fesm2022/acorex-components-dropdown.mjs.map +1 -1
  194. package/fesm2022/acorex-components-form.mjs +28 -44
  195. package/fesm2022/acorex-components-form.mjs.map +1 -1
  196. package/fesm2022/acorex-components-image.mjs.map +1 -1
  197. package/fesm2022/acorex-components-label.mjs.map +1 -1
  198. package/fesm2022/acorex-components-loading-dialog.mjs +4 -25
  199. package/fesm2022/acorex-components-loading-dialog.mjs.map +1 -1
  200. package/fesm2022/acorex-components-loading.mjs +11 -37
  201. package/fesm2022/acorex-components-loading.mjs.map +1 -1
  202. package/fesm2022/acorex-components-menu.mjs.map +1 -1
  203. package/fesm2022/acorex-components-nav.mjs.map +1 -1
  204. package/fesm2022/acorex-components-navbar.mjs.map +1 -1
  205. package/fesm2022/acorex-components-notification.mjs +8 -33
  206. package/fesm2022/acorex-components-notification.mjs.map +1 -1
  207. package/fesm2022/acorex-components-number-box.mjs +2 -12
  208. package/fesm2022/acorex-components-number-box.mjs.map +1 -1
  209. package/fesm2022/acorex-components-page.mjs.map +1 -1
  210. package/fesm2022/acorex-components-password-box.mjs +1 -11
  211. package/fesm2022/acorex-components-password-box.mjs.map +1 -1
  212. package/fesm2022/acorex-components-phone-box.mjs.map +1 -1
  213. package/fesm2022/acorex-components-picker.mjs +6 -12
  214. package/fesm2022/acorex-components-picker.mjs.map +1 -1
  215. package/fesm2022/acorex-components-popup.mjs.map +1 -1
  216. package/fesm2022/acorex-components-progress-bar.mjs.map +1 -1
  217. package/fesm2022/acorex-components-radio.mjs +1 -9
  218. package/fesm2022/acorex-components-radio.mjs.map +1 -1
  219. package/fesm2022/acorex-components-result.mjs.map +1 -1
  220. package/fesm2022/acorex-components-routing-progress.mjs.map +1 -1
  221. package/fesm2022/acorex-components-scheduler.mjs +3 -21
  222. package/fesm2022/acorex-components-scheduler.mjs.map +1 -1
  223. package/fesm2022/acorex-components-scss.mjs +1 -1
  224. package/fesm2022/acorex-components-scss.mjs.map +1 -1
  225. package/fesm2022/acorex-components-selection-list.mjs +5 -28
  226. package/fesm2022/acorex-components-selection-list.mjs.map +1 -1
  227. package/fesm2022/acorex-components-skeleton.mjs.map +1 -1
  228. package/fesm2022/acorex-components-step-wizard.mjs +3 -11
  229. package/fesm2022/acorex-components-step-wizard.mjs.map +1 -1
  230. package/fesm2022/acorex-components-switch.mjs +1 -8
  231. package/fesm2022/acorex-components-switch.mjs.map +1 -1
  232. package/fesm2022/acorex-components-tabs.mjs +30 -34
  233. package/fesm2022/acorex-components-tabs.mjs.map +1 -1
  234. package/fesm2022/acorex-components-tag.mjs.map +1 -1
  235. package/fesm2022/acorex-components-text-box.mjs +4 -19
  236. package/fesm2022/acorex-components-text-box.mjs.map +1 -1
  237. package/fesm2022/acorex-components-toast.mjs +7 -28
  238. package/fesm2022/acorex-components-toast.mjs.map +1 -1
  239. package/fesm2022/acorex-components-uploader.mjs +3 -11
  240. package/fesm2022/acorex-components-uploader.mjs.map +1 -1
  241. package/fesm2022/acorex-components-wysiwyg.mjs +183 -0
  242. package/fesm2022/acorex-components-wysiwyg.mjs.map +1 -0
  243. package/form/lib/validation-rule.directive.d.ts +1 -1
  244. package/package.json +65 -53
  245. package/uploader/lib/uploader-list.component.d.ts +1 -1
  246. package/wysiwyg/README.md +3 -0
  247. package/wysiwyg/index.d.ts +4 -0
  248. package/wysiwyg/lib/wysiwyg/wysiwyg-container/wysiwyg-container.component.d.ts +12 -0
  249. package/wysiwyg/lib/wysiwyg/wysiwyg-toolbar/wysiwyg-toolbar.component.d.ts +28 -0
  250. package/wysiwyg/lib/wysiwyg/wysiwyg-view/wysiwyg-view.component.d.ts +5 -0
  251. package/wysiwyg/lib/wysiwyg/wysiwyg.service.d.ts +7 -0
  252. package/wysiwyg/lib/wysiwyg.module.d.ts +13 -0
@@ -0,0 +1,183 @@
1
+ import * as i1 from '@acorex/components/button';
2
+ import { AXButtonModule } from '@acorex/components/button';
3
+ import * as i2 from '@acorex/components/decorators';
4
+ import { AXDecoratorModule } from '@acorex/components/decorators';
5
+ import * as i3 from '@acorex/components/select-box';
6
+ import { AXSelectBoxModule } from '@acorex/components/select-box';
7
+ import * as i0 from '@angular/core';
8
+ import { signal, Injectable, inject, afterNextRender, Component, ViewEncapsulation, output, NgModule } from '@angular/core';
9
+ import * as i4 from '@angular/forms';
10
+ import { FormsModule } from '@angular/forms';
11
+ import { AXWysiwyg } from '@acorex/cdk/wysiwyg';
12
+ import { MXBaseComponent, AXDataSource } from '@acorex/components/common';
13
+
14
+ class AXWysiwygService {
15
+ constructor() {
16
+ this.wysiwyg = signal(null);
17
+ }
18
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXWysiwygService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
19
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXWysiwygService }); }
20
+ }
21
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXWysiwygService, decorators: [{
22
+ type: Injectable
23
+ }] });
24
+
25
+ class AXWysiwygContainerComponent extends MXBaseComponent {
26
+ constructor() {
27
+ super();
28
+ this.wysiwyg = signal(null);
29
+ this.view = signal(null);
30
+ this.service = inject(AXWysiwygService);
31
+ afterNextRender(() => {
32
+ this.view.set(this.getHostElement().querySelector('ax-wysiwyg-view'));
33
+ this.wysiwyg.set(new AXWysiwyg(this.view(), {
34
+ placeholder: 'Write Your Message ...',
35
+ }));
36
+ this.service.wysiwyg.set(this.wysiwyg());
37
+ });
38
+ }
39
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXWysiwygContainerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
40
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.0.2", type: AXWysiwygContainerComponent, selector: "ax-wysiwyg-container", usesInheritance: true, ngImport: i0, template: "<ng-content></ng-content>\n", styles: ["ax-wysiwyg-container{border:1px solid rgb(var(--ax-color-border-default));border-radius:var(--ax-rounded-border-default);width:100%;display:block;overflow-x:auto}\n"], encapsulation: i0.ViewEncapsulation.None }); }
41
+ }
42
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXWysiwygContainerComponent, decorators: [{
43
+ type: Component,
44
+ args: [{ selector: 'ax-wysiwyg-container', encapsulation: ViewEncapsulation.None, template: "<ng-content></ng-content>\n", styles: ["ax-wysiwyg-container{border:1px solid rgb(var(--ax-color-border-default));border-radius:var(--ax-rounded-border-default);width:100%;display:block;overflow-x:auto}\n"] }]
45
+ }], ctorParameters: () => [] });
46
+
47
+ class AXWysiwygToolbarComponent {
48
+ constructor() {
49
+ this.outputHTML = output();
50
+ this.service = inject(AXWysiwygService);
51
+ this.wysiwyg = signal(null);
52
+ this.boldState = signal(false);
53
+ this.italicState = signal(false);
54
+ this.underLineState = signal(false);
55
+ this.orderListState = signal('');
56
+ this.unOrderListState = signal('');
57
+ this.alignState = signal('');
58
+ this.fontSize = new AXDataSource({
59
+ pageSize: 10,
60
+ key: 'id',
61
+ load: (e) => {
62
+ return new Promise((resolve) => {
63
+ resolve({
64
+ items: ['small', 'medium', 'large', 'huge'],
65
+ total: 4,
66
+ });
67
+ });
68
+ },
69
+ byKey: (key) => {
70
+ return new Promise((resolve) => {
71
+ resolve('medium');
72
+ });
73
+ },
74
+ });
75
+ this.selectedFont = 'medium';
76
+ afterNextRender(() => {
77
+ this.wysiwyg.set(this.service.wysiwyg());
78
+ });
79
+ }
80
+ fontHandler(e) {
81
+ this.wysiwyg().fontSize(e);
82
+ }
83
+ bold() {
84
+ if (this.boldState()) {
85
+ this.wysiwyg().bold(false);
86
+ this.boldState.set(false);
87
+ }
88
+ else {
89
+ this.wysiwyg().bold(true);
90
+ this.boldState.set(true);
91
+ }
92
+ }
93
+ out() {
94
+ this.outputHTML.emit({
95
+ component: this,
96
+ data: { value: this.wysiwyg().HTMLoutput },
97
+ isUserInteraction: true,
98
+ });
99
+ }
100
+ italic() {
101
+ if (this.italicState()) {
102
+ this.wysiwyg().italic(false);
103
+ this.italicState.set(false);
104
+ }
105
+ else {
106
+ this.wysiwyg().italic(true);
107
+ this.italicState.set(true);
108
+ }
109
+ }
110
+ underLine() {
111
+ if (this.underLineState()) {
112
+ this.wysiwyg().underLine(false);
113
+ this.underLineState.set(false);
114
+ }
115
+ else {
116
+ this.wysiwyg().underLine(true);
117
+ this.underLineState.set(true);
118
+ }
119
+ }
120
+ orderList() {
121
+ if (this.orderListState()) {
122
+ this.wysiwyg().list('');
123
+ this.orderListState.set('');
124
+ }
125
+ else {
126
+ this.wysiwyg().list('ordered');
127
+ this.orderListState.set('ordered');
128
+ }
129
+ }
130
+ unOrderList() {
131
+ if (this.unOrderListState()) {
132
+ this.wysiwyg().list('');
133
+ this.unOrderListState.set('');
134
+ }
135
+ else {
136
+ this.wysiwyg().list('bullet');
137
+ this.unOrderListState.set('bullet');
138
+ }
139
+ }
140
+ alignStateHandler(e) {
141
+ this.alignState.set(e);
142
+ this.wysiwyg().align(e);
143
+ }
144
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXWysiwygToolbarComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
145
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.0.2", type: AXWysiwygToolbarComponent, selector: "ax-wysiwyg-toolbar", outputs: { outputHTML: "outputHTML" }, ngImport: i0, template: "<div class=\"ax-wysiwyg-toolbar-container ax-sm\">\n <ng-content select=\"ax-prefix\"></ng-content>\n\n <div class=\"ax-wysiwyg-tool-container\">\n <ax-button class=\"\" (click)=\"bold()\" look=\"blank\" [toggleable]=\"true\">\n <ax-icon class=\"ax-icon ax-icon-bold\"></ax-icon>\n </ax-button>\n\n <ax-button (click)=\"italic()\" look=\"blank\" [toggleable]=\"true\">\n <ax-icon class=\"ax-icon ax-icon-italic\"></ax-icon>\n </ax-button>\n\n <ax-button (click)=\"underLine()\" look=\"blank\" [toggleable]=\"true\">\n <ax-icon class=\"ax-icon ax-icon-under-line\"></ax-icon>\n </ax-button>\n\n <ax-select-box (ngModelChange)=\"fontHandler($event)\" [ngModel]=\"selectedFont\" [dataSource]=\"fontSize\" placeholder=\"Choose...\">\n </ax-select-box>\n\n <ax-button (click)=\"orderList()\" look=\"blank\" [toggleable]=\"true\">\n <ax-icon class=\"ax-icon ax-icon-order-list\"></ax-icon>\n </ax-button>\n\n <ax-button (click)=\"unOrderList()\" look=\"blank\" [toggleable]=\"true\">\n <ax-icon class=\"ax-icon ax-icon-un-order-list\"></ax-icon>\n </ax-button>\n\n <ax-button\n (click)=\"alignStateHandler('left')\"\n [look]=\"alignState() !== 'left' && 'blank'\"\n [color]=\"alignState() === 'left' && 'primary'\"\n >\n <ax-icon class=\"ax-icon ax-icon-align-left\"></ax-icon>\n </ax-button>\n\n <ax-button\n (click)=\"alignStateHandler('center')\"\n [look]=\"alignState() !== 'center' && 'blank'\"\n [color]=\"alignState() === 'center' && 'primary'\"\n >\n <ax-icon class=\"ax-icon ax-icon-align-center\"></ax-icon>\n </ax-button>\n\n <ax-button\n (click)=\"alignStateHandler('right')\"\n [look]=\"alignState() !== 'right' && 'blank'\"\n [color]=\"alignState() === 'right' && 'primary'\"\n >\n <ax-icon class=\"ax-icon ax-icon-align-right\"></ax-icon>\n </ax-button>\n </div>\n\n <ng-content select=\"ax-suffix\"></ng-content>\n</div>\n", styles: [".ax-wysiwyg-toolbar-container{display:flex;justify-content:space-between;align-items:center;padding:.5rem 1rem}.ax-wysiwyg-toolbar-container .ax-icon{font-weight:900;font-size:1rem}.ax-wysiwyg-toolbar-container .ax-wysiwyg-tool-container{display:flex}.ax-wysiwyg-toolbar-container .ax-wysiwyg-tool-container ax-button{margin-inline:.1rem}.ax-wysiwyg-toolbar-container .ax-wysiwyg-tool-container ax-select-box{margin-inline:1rem}\n"], dependencies: [{ kind: "component", type: i1.AXButtonComponent, selector: "ax-button", inputs: ["disabled", "size", "tabIndex", "color", "look", "text", "toggleable", "selected", "type", "loadingText"], outputs: ["onBlur", "onFocus", "onClick", "selectedChange", "toggleableChange", "lookChange", "colorChange", "disabledChange", "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", "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"] }] }); }
146
+ }
147
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXWysiwygToolbarComponent, decorators: [{
148
+ type: Component,
149
+ args: [{ selector: 'ax-wysiwyg-toolbar', template: "<div class=\"ax-wysiwyg-toolbar-container ax-sm\">\n <ng-content select=\"ax-prefix\"></ng-content>\n\n <div class=\"ax-wysiwyg-tool-container\">\n <ax-button class=\"\" (click)=\"bold()\" look=\"blank\" [toggleable]=\"true\">\n <ax-icon class=\"ax-icon ax-icon-bold\"></ax-icon>\n </ax-button>\n\n <ax-button (click)=\"italic()\" look=\"blank\" [toggleable]=\"true\">\n <ax-icon class=\"ax-icon ax-icon-italic\"></ax-icon>\n </ax-button>\n\n <ax-button (click)=\"underLine()\" look=\"blank\" [toggleable]=\"true\">\n <ax-icon class=\"ax-icon ax-icon-under-line\"></ax-icon>\n </ax-button>\n\n <ax-select-box (ngModelChange)=\"fontHandler($event)\" [ngModel]=\"selectedFont\" [dataSource]=\"fontSize\" placeholder=\"Choose...\">\n </ax-select-box>\n\n <ax-button (click)=\"orderList()\" look=\"blank\" [toggleable]=\"true\">\n <ax-icon class=\"ax-icon ax-icon-order-list\"></ax-icon>\n </ax-button>\n\n <ax-button (click)=\"unOrderList()\" look=\"blank\" [toggleable]=\"true\">\n <ax-icon class=\"ax-icon ax-icon-un-order-list\"></ax-icon>\n </ax-button>\n\n <ax-button\n (click)=\"alignStateHandler('left')\"\n [look]=\"alignState() !== 'left' && 'blank'\"\n [color]=\"alignState() === 'left' && 'primary'\"\n >\n <ax-icon class=\"ax-icon ax-icon-align-left\"></ax-icon>\n </ax-button>\n\n <ax-button\n (click)=\"alignStateHandler('center')\"\n [look]=\"alignState() !== 'center' && 'blank'\"\n [color]=\"alignState() === 'center' && 'primary'\"\n >\n <ax-icon class=\"ax-icon ax-icon-align-center\"></ax-icon>\n </ax-button>\n\n <ax-button\n (click)=\"alignStateHandler('right')\"\n [look]=\"alignState() !== 'right' && 'blank'\"\n [color]=\"alignState() === 'right' && 'primary'\"\n >\n <ax-icon class=\"ax-icon ax-icon-align-right\"></ax-icon>\n </ax-button>\n </div>\n\n <ng-content select=\"ax-suffix\"></ng-content>\n</div>\n", styles: [".ax-wysiwyg-toolbar-container{display:flex;justify-content:space-between;align-items:center;padding:.5rem 1rem}.ax-wysiwyg-toolbar-container .ax-icon{font-weight:900;font-size:1rem}.ax-wysiwyg-toolbar-container .ax-wysiwyg-tool-container{display:flex}.ax-wysiwyg-toolbar-container .ax-wysiwyg-tool-container ax-button{margin-inline:.1rem}.ax-wysiwyg-toolbar-container .ax-wysiwyg-tool-container ax-select-box{margin-inline:1rem}\n"] }]
150
+ }], ctorParameters: () => [] });
151
+
152
+ class AXWysiwygViewComponent {
153
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXWysiwygViewComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
154
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.0.2", type: AXWysiwygViewComponent, selector: "ax-wysiwyg-view", ngImport: i0, template: "<!-- wysiwyg editor render here -->\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 }); }
155
+ }
156
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXWysiwygViewComponent, decorators: [{
157
+ type: Component,
158
+ args: [{ selector: 'ax-wysiwyg-view', encapsulation: ViewEncapsulation.None, template: "<!-- wysiwyg editor render here -->\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"] }]
159
+ }] });
160
+
161
+ const COMPONENT = [AXWysiwygContainerComponent, AXWysiwygViewComponent, AXWysiwygToolbarComponent];
162
+ const MODULES = [AXButtonModule, AXDecoratorModule, AXSelectBoxModule, FormsModule];
163
+ class AXWysiwygModule {
164
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXWysiwygModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
165
+ 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], exports: [AXWysiwygContainerComponent, AXWysiwygViewComponent, AXWysiwygToolbarComponent] }); }
166
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXWysiwygModule, providers: [AXWysiwygService], imports: [MODULES] }); }
167
+ }
168
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXWysiwygModule, decorators: [{
169
+ type: NgModule,
170
+ args: [{
171
+ declarations: [...COMPONENT],
172
+ imports: [...MODULES],
173
+ exports: [...COMPONENT],
174
+ providers: [AXWysiwygService],
175
+ }]
176
+ }] });
177
+
178
+ /**
179
+ * Generated bundle index. Do not edit.
180
+ */
181
+
182
+ export { AXWysiwygContainerComponent, AXWysiwygModule, AXWysiwygToolbarComponent, AXWysiwygViewComponent };
183
+ //# sourceMappingURL=acorex-components-wysiwyg.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"acorex-components-wysiwyg.mjs","sources":["../../../../libs/components/wysiwyg/src/lib/wysiwyg/wysiwyg.service.ts","../../../../libs/components/wysiwyg/src/lib/wysiwyg/wysiwyg-container/wysiwyg-container.component.ts","../../../../libs/components/wysiwyg/src/lib/wysiwyg/wysiwyg-container/wysiwyg-container.component.html","../../../../libs/components/wysiwyg/src/lib/wysiwyg/wysiwyg-toolbar/wysiwyg-toolbar.component.ts","../../../../libs/components/wysiwyg/src/lib/wysiwyg/wysiwyg-toolbar/wysiwyg-toolbar.component.html","../../../../libs/components/wysiwyg/src/lib/wysiwyg/wysiwyg-view/wysiwyg-view.component.ts","../../../../libs/components/wysiwyg/src/lib/wysiwyg/wysiwyg-view/wysiwyg-view.component.html","../../../../libs/components/wysiwyg/src/lib/wysiwyg.module.ts","../../../../libs/components/wysiwyg/src/acorex-components-wysiwyg.ts"],"sourcesContent":["import { AXWysiwyg } from '@acorex/cdk/wysiwyg';\nimport { Injectable, signal } from '@angular/core';\n\n@Injectable()\nexport class AXWysiwygService {\n wysiwyg = signal<AXWysiwyg | null>(null);\n}\n","import { AXWysiwyg } from '@acorex/cdk/wysiwyg';\nimport { MXBaseComponent } from '@acorex/components/common';\nimport { Component, ViewEncapsulation, afterNextRender, inject, signal } from '@angular/core';\nimport { AXWysiwygService } from '../wysiwyg.service';\n\n@Component({\n selector: 'ax-wysiwyg-container',\n templateUrl: './wysiwyg-container.component.html',\n styleUrl: './wysiwyg-container.component.scss',\n encapsulation: ViewEncapsulation.None,\n})\nexport class AXWysiwygContainerComponent extends MXBaseComponent {\n wysiwyg = signal<AXWysiwyg>(null);\n view = signal<HTMLElement | null>(null);\n service = inject(AXWysiwygService);\n\n constructor() {\n super();\n afterNextRender(() => {\n this.view.set(this.getHostElement().querySelector('ax-wysiwyg-view') as HTMLElement);\n\n this.wysiwyg.set(\n new AXWysiwyg(this.view(), {\n placeholder: 'Write Your Message ...',\n }),\n );\n\n this.service.wysiwyg.set(this.wysiwyg());\n });\n }\n}\n","<ng-content></ng-content>\n","import { AXWysiwyg } from '@acorex/cdk/wysiwyg';\nimport { AXClickEvent, AXDataSource } from '@acorex/components/common';\nimport { Component, afterNextRender, inject, output, signal } from '@angular/core';\nimport { AXWysiwygService } from '../wysiwyg.service';\n\n@Component({\n selector: 'ax-wysiwyg-toolbar',\n templateUrl: './wysiwyg-toolbar.component.html',\n styleUrl: './wysiwyg-toolbar.component.scss',\n})\nexport class AXWysiwygToolbarComponent {\n outputHTML = output<AXClickEvent>();\n service = inject(AXWysiwygService);\n\n wysiwyg = signal<AXWysiwyg | null>(null);\n boldState = signal(false);\n italicState = signal(false);\n underLineState = signal(false);\n orderListState = signal('');\n unOrderListState = signal('');\n alignState = signal('');\n\n protected fontSize = new AXDataSource<string>({\n pageSize: 10,\n key: 'id',\n load: (e) => {\n return new Promise((resolve) => {\n resolve({\n items: ['small', 'medium', 'large', 'huge'],\n total: 4,\n });\n });\n },\n byKey: (key) => {\n return new Promise((resolve) => {\n resolve('medium');\n });\n },\n });\n protected selectedFont = 'medium';\n\n constructor() {\n afterNextRender(() => {\n this.wysiwyg.set(this.service.wysiwyg());\n });\n }\n\n fontHandler(e: any) {\n this.wysiwyg().fontSize(e);\n }\n\n bold() {\n if (this.boldState()) {\n this.wysiwyg().bold(false);\n this.boldState.set(false);\n } else {\n this.wysiwyg().bold(true);\n this.boldState.set(true);\n }\n }\n\n out() {\n this.outputHTML.emit({\n component: this,\n data: { value: this.wysiwyg().HTMLoutput },\n isUserInteraction: true,\n });\n }\n\n italic() {\n if (this.italicState()) {\n this.wysiwyg().italic(false);\n this.italicState.set(false);\n } else {\n this.wysiwyg().italic(true);\n this.italicState.set(true);\n }\n }\n\n underLine() {\n if (this.underLineState()) {\n this.wysiwyg().underLine(false);\n this.underLineState.set(false);\n } else {\n this.wysiwyg().underLine(true);\n this.underLineState.set(true);\n }\n }\n\n orderList() {\n if (this.orderListState()) {\n this.wysiwyg().list('');\n this.orderListState.set('');\n } else {\n this.wysiwyg().list('ordered');\n this.orderListState.set('ordered');\n }\n }\n\n unOrderList() {\n if (this.unOrderListState()) {\n this.wysiwyg().list('');\n this.unOrderListState.set('');\n } else {\n this.wysiwyg().list('bullet');\n this.unOrderListState.set('bullet');\n }\n }\n\n alignStateHandler(e: any) {\n this.alignState.set(e);\n this.wysiwyg().align(e);\n }\n}\n","<div class=\"ax-wysiwyg-toolbar-container ax-sm\">\n <ng-content select=\"ax-prefix\"></ng-content>\n\n <div class=\"ax-wysiwyg-tool-container\">\n <ax-button class=\"\" (click)=\"bold()\" look=\"blank\" [toggleable]=\"true\">\n <ax-icon class=\"ax-icon ax-icon-bold\"></ax-icon>\n </ax-button>\n\n <ax-button (click)=\"italic()\" look=\"blank\" [toggleable]=\"true\">\n <ax-icon class=\"ax-icon ax-icon-italic\"></ax-icon>\n </ax-button>\n\n <ax-button (click)=\"underLine()\" look=\"blank\" [toggleable]=\"true\">\n <ax-icon class=\"ax-icon ax-icon-under-line\"></ax-icon>\n </ax-button>\n\n <ax-select-box (ngModelChange)=\"fontHandler($event)\" [ngModel]=\"selectedFont\" [dataSource]=\"fontSize\" placeholder=\"Choose...\">\n </ax-select-box>\n\n <ax-button (click)=\"orderList()\" look=\"blank\" [toggleable]=\"true\">\n <ax-icon class=\"ax-icon ax-icon-order-list\"></ax-icon>\n </ax-button>\n\n <ax-button (click)=\"unOrderList()\" look=\"blank\" [toggleable]=\"true\">\n <ax-icon class=\"ax-icon ax-icon-un-order-list\"></ax-icon>\n </ax-button>\n\n <ax-button\n (click)=\"alignStateHandler('left')\"\n [look]=\"alignState() !== 'left' && 'blank'\"\n [color]=\"alignState() === 'left' && 'primary'\"\n >\n <ax-icon class=\"ax-icon ax-icon-align-left\"></ax-icon>\n </ax-button>\n\n <ax-button\n (click)=\"alignStateHandler('center')\"\n [look]=\"alignState() !== 'center' && 'blank'\"\n [color]=\"alignState() === 'center' && 'primary'\"\n >\n <ax-icon class=\"ax-icon ax-icon-align-center\"></ax-icon>\n </ax-button>\n\n <ax-button\n (click)=\"alignStateHandler('right')\"\n [look]=\"alignState() !== 'right' && 'blank'\"\n [color]=\"alignState() === 'right' && 'primary'\"\n >\n <ax-icon class=\"ax-icon ax-icon-align-right\"></ax-icon>\n </ax-button>\n </div>\n\n <ng-content select=\"ax-suffix\"></ng-content>\n</div>\n","import { Component, ViewEncapsulation } from '@angular/core';\n\n@Component({\n selector: 'ax-wysiwyg-view',\n templateUrl: './wysiwyg-view.component.html',\n styleUrl: './wysiwyg-view.component.scss',\n encapsulation: ViewEncapsulation.None,\n})\nexport class AXWysiwygViewComponent {}\n","<!-- wysiwyg editor render here -->\n","import { AXButtonModule } from '@acorex/components/button';\nimport { AXDecoratorModule } from '@acorex/components/decorators';\nimport { AXSelectBoxModule } from '@acorex/components/select-box';\nimport { NgModule } from '@angular/core';\nimport { FormsModule } from '@angular/forms';\nimport { AXWysiwygContainerComponent } from './wysiwyg/wysiwyg-container/wysiwyg-container.component';\n\nimport { AXWysiwygToolbarComponent } from './wysiwyg/wysiwyg-toolbar/wysiwyg-toolbar.component';\nimport { AXWysiwygViewComponent } from './wysiwyg/wysiwyg-view/wysiwyg-view.component';\nimport { AXWysiwygService } from './wysiwyg/wysiwyg.service';\n\nconst COMPONENT = [AXWysiwygContainerComponent, AXWysiwygViewComponent, AXWysiwygToolbarComponent];\nconst MODULES = [AXButtonModule, AXDecoratorModule, AXSelectBoxModule, FormsModule];\n\n@NgModule({\n declarations: [...COMPONENT],\n imports: [...MODULES],\n exports: [...COMPONENT],\n providers: [AXWysiwygService],\n})\nexport class AXWysiwygModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;;;MAIa,gBAAgB,CAAA;AAD7B,IAAA,WAAA,GAAA;AAEE,QAAA,IAAA,CAAA,OAAO,GAAG,MAAM,CAAmB,IAAI,CAAC,CAAC;AAC1C,KAAA;8GAFY,gBAAgB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,UAAA,EAAA,CAAA,CAAA,EAAA;kHAAhB,gBAAgB,EAAA,CAAA,CAAA,EAAA;;2FAAhB,gBAAgB,EAAA,UAAA,EAAA,CAAA;kBAD5B,UAAU;;;ACQL,MAAO,2BAA4B,SAAQ,eAAe,CAAA;AAK9D,IAAA,WAAA,GAAA;AACE,QAAA,KAAK,EAAE,CAAC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@@
1
- import { OnDestroy, OnInit } from '@angular/core';
2
1
  import { AXValuableComponent } from '@acorex/components/common';
3
2
  import { AXValidationRuleOptions } from '@acorex/core/validation';
3
+ import { OnDestroy, OnInit } from '@angular/core';
4
4
  import * as i0 from "@angular/core";
5
5
  export declare class AXValidationRuleDirective implements OnInit, OnDestroy {
6
6
  private host;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@acorex/components",
3
- "version": "18.4.3",
3
+ "version": "18.5.0",
4
4
  "peerDependencies": {
5
5
  "@angular/common": ">=18.0.0",
6
6
  "@angular/core": ">=18.0.0",
@@ -31,11 +31,17 @@
31
31
  "esm": "./esm2022/action-sheet/acorex-components-action-sheet.mjs",
32
32
  "default": "./fesm2022/acorex-components-action-sheet.mjs"
33
33
  },
34
- "./badge": {
35
- "types": "./badge/index.d.ts",
36
- "esm2022": "./esm2022/badge/acorex-components-badge.mjs",
37
- "esm": "./esm2022/badge/acorex-components-badge.mjs",
38
- "default": "./fesm2022/acorex-components-badge.mjs"
34
+ "./alert": {
35
+ "types": "./alert/index.d.ts",
36
+ "esm2022": "./esm2022/alert/acorex-components-alert.mjs",
37
+ "esm": "./esm2022/alert/acorex-components-alert.mjs",
38
+ "default": "./fesm2022/acorex-components-alert.mjs"
39
+ },
40
+ "./avatar": {
41
+ "types": "./avatar/index.d.ts",
42
+ "esm2022": "./esm2022/avatar/acorex-components-avatar.mjs",
43
+ "esm": "./esm2022/avatar/acorex-components-avatar.mjs",
44
+ "default": "./fesm2022/acorex-components-avatar.mjs"
39
45
  },
40
46
  "./audio-wave": {
41
47
  "types": "./audio-wave/index.d.ts",
@@ -49,17 +55,11 @@
49
55
  "esm": "./esm2022/bottom-navigation/acorex-components-bottom-navigation.mjs",
50
56
  "default": "./fesm2022/acorex-components-bottom-navigation.mjs"
51
57
  },
52
- "./alert": {
53
- "types": "./alert/index.d.ts",
54
- "esm2022": "./esm2022/alert/acorex-components-alert.mjs",
55
- "esm": "./esm2022/alert/acorex-components-alert.mjs",
56
- "default": "./fesm2022/acorex-components-alert.mjs"
57
- },
58
- "./avatar": {
59
- "types": "./avatar/index.d.ts",
60
- "esm2022": "./esm2022/avatar/acorex-components-avatar.mjs",
61
- "esm": "./esm2022/avatar/acorex-components-avatar.mjs",
62
- "default": "./fesm2022/acorex-components-avatar.mjs"
58
+ "./badge": {
59
+ "types": "./badge/index.d.ts",
60
+ "esm2022": "./esm2022/badge/acorex-components-badge.mjs",
61
+ "esm": "./esm2022/badge/acorex-components-badge.mjs",
62
+ "default": "./fesm2022/acorex-components-badge.mjs"
63
63
  },
64
64
  "./breadcrumbs": {
65
65
  "types": "./breadcrumbs/index.d.ts",
@@ -121,6 +121,12 @@
121
121
  "esm": "./esm2022/color-palette/acorex-components-color-palette.mjs",
122
122
  "default": "./fesm2022/acorex-components-color-palette.mjs"
123
123
  },
124
+ "./comment": {
125
+ "types": "./comment/index.d.ts",
126
+ "esm2022": "./esm2022/comment/acorex-components-comment.mjs",
127
+ "esm": "./esm2022/comment/acorex-components-comment.mjs",
128
+ "default": "./fesm2022/acorex-components-comment.mjs"
129
+ },
124
130
  "./common": {
125
131
  "types": "./common/index.d.ts",
126
132
  "esm2022": "./esm2022/common/acorex-components-common.mjs",
@@ -169,36 +175,36 @@
169
175
  "esm": "./esm2022/decorators/acorex-components-decorators.mjs",
170
176
  "default": "./fesm2022/acorex-components-decorators.mjs"
171
177
  },
172
- "./drawer": {
173
- "types": "./drawer/index.d.ts",
174
- "esm2022": "./esm2022/drawer/acorex-components-drawer.mjs",
175
- "esm": "./esm2022/drawer/acorex-components-drawer.mjs",
176
- "default": "./fesm2022/acorex-components-drawer.mjs"
177
- },
178
178
  "./dialog": {
179
179
  "types": "./dialog/index.d.ts",
180
180
  "esm2022": "./esm2022/dialog/acorex-components-dialog.mjs",
181
181
  "esm": "./esm2022/dialog/acorex-components-dialog.mjs",
182
182
  "default": "./fesm2022/acorex-components-dialog.mjs"
183
183
  },
184
+ "./drawer": {
185
+ "types": "./drawer/index.d.ts",
186
+ "esm2022": "./esm2022/drawer/acorex-components-drawer.mjs",
187
+ "esm": "./esm2022/drawer/acorex-components-drawer.mjs",
188
+ "default": "./fesm2022/acorex-components-drawer.mjs"
189
+ },
184
190
  "./dropdown": {
185
191
  "types": "./dropdown/index.d.ts",
186
192
  "esm2022": "./esm2022/dropdown/acorex-components-dropdown.mjs",
187
193
  "esm": "./esm2022/dropdown/acorex-components-dropdown.mjs",
188
194
  "default": "./fesm2022/acorex-components-dropdown.mjs"
189
195
  },
190
- "./dropdown-button": {
191
- "types": "./dropdown-button/index.d.ts",
192
- "esm2022": "./esm2022/dropdown-button/acorex-components-dropdown-button.mjs",
193
- "esm": "./esm2022/dropdown-button/acorex-components-dropdown-button.mjs",
194
- "default": "./fesm2022/acorex-components-dropdown-button.mjs"
195
- },
196
196
  "./form": {
197
197
  "types": "./form/index.d.ts",
198
198
  "esm2022": "./esm2022/form/acorex-components-form.mjs",
199
199
  "esm": "./esm2022/form/acorex-components-form.mjs",
200
200
  "default": "./fesm2022/acorex-components-form.mjs"
201
201
  },
202
+ "./dropdown-button": {
203
+ "types": "./dropdown-button/index.d.ts",
204
+ "esm2022": "./esm2022/dropdown-button/acorex-components-dropdown-button.mjs",
205
+ "esm": "./esm2022/dropdown-button/acorex-components-dropdown-button.mjs",
206
+ "default": "./fesm2022/acorex-components-dropdown-button.mjs"
207
+ },
202
208
  "./image": {
203
209
  "types": "./image/index.d.ts",
204
210
  "esm2022": "./esm2022/image/acorex-components-image.mjs",
@@ -223,18 +229,18 @@
223
229
  "esm": "./esm2022/loading/acorex-components-loading.mjs",
224
230
  "default": "./fesm2022/acorex-components-loading.mjs"
225
231
  },
226
- "./menu": {
227
- "types": "./menu/index.d.ts",
228
- "esm2022": "./esm2022/menu/acorex-components-menu.mjs",
229
- "esm": "./esm2022/menu/acorex-components-menu.mjs",
230
- "default": "./fesm2022/acorex-components-menu.mjs"
231
- },
232
232
  "./loading-dialog": {
233
233
  "types": "./loading-dialog/index.d.ts",
234
234
  "esm2022": "./esm2022/loading-dialog/acorex-components-loading-dialog.mjs",
235
235
  "esm": "./esm2022/loading-dialog/acorex-components-loading-dialog.mjs",
236
236
  "default": "./fesm2022/acorex-components-loading-dialog.mjs"
237
237
  },
238
+ "./menu": {
239
+ "types": "./menu/index.d.ts",
240
+ "esm2022": "./esm2022/menu/acorex-components-menu.mjs",
241
+ "esm": "./esm2022/menu/acorex-components-menu.mjs",
242
+ "default": "./fesm2022/acorex-components-menu.mjs"
243
+ },
238
244
  "./nav": {
239
245
  "types": "./nav/index.d.ts",
240
246
  "esm2022": "./esm2022/nav/acorex-components-nav.mjs",
@@ -319,6 +325,12 @@
319
325
  "esm": "./esm2022/range-slider/acorex-components-range-slider.mjs",
320
326
  "default": "./fesm2022/acorex-components-range-slider.mjs"
321
327
  },
328
+ "./result": {
329
+ "types": "./result/index.d.ts",
330
+ "esm2022": "./esm2022/result/acorex-components-result.mjs",
331
+ "esm": "./esm2022/result/acorex-components-result.mjs",
332
+ "default": "./fesm2022/acorex-components-result.mjs"
333
+ },
322
334
  "./routing-progress": {
323
335
  "types": "./routing-progress/index.d.ts",
324
336
  "esm2022": "./esm2022/routing-progress/acorex-components-routing-progress.mjs",
@@ -331,12 +343,6 @@
331
343
  "esm": "./esm2022/scheduler/acorex-components-scheduler.mjs",
332
344
  "default": "./fesm2022/acorex-components-scheduler.mjs"
333
345
  },
334
- "./result": {
335
- "types": "./result/index.d.ts",
336
- "esm2022": "./esm2022/result/acorex-components-result.mjs",
337
- "esm": "./esm2022/result/acorex-components-result.mjs",
338
- "default": "./fesm2022/acorex-components-result.mjs"
339
- },
340
346
  "./scss": {
341
347
  "types": "./scss/index.d.ts",
342
348
  "esm2022": "./esm2022/scss/acorex-components-scss.mjs",
@@ -361,18 +367,18 @@
361
367
  "esm": "./esm2022/selection-list/acorex-components-selection-list.mjs",
362
368
  "default": "./fesm2022/acorex-components-selection-list.mjs"
363
369
  },
364
- "./skeleton": {
365
- "types": "./skeleton/index.d.ts",
366
- "esm2022": "./esm2022/skeleton/acorex-components-skeleton.mjs",
367
- "esm": "./esm2022/skeleton/acorex-components-skeleton.mjs",
368
- "default": "./fesm2022/acorex-components-skeleton.mjs"
369
- },
370
370
  "./side-menu": {
371
371
  "types": "./side-menu/index.d.ts",
372
372
  "esm2022": "./esm2022/side-menu/acorex-components-side-menu.mjs",
373
373
  "esm": "./esm2022/side-menu/acorex-components-side-menu.mjs",
374
374
  "default": "./fesm2022/acorex-components-side-menu.mjs"
375
375
  },
376
+ "./skeleton": {
377
+ "types": "./skeleton/index.d.ts",
378
+ "esm2022": "./esm2022/skeleton/acorex-components-skeleton.mjs",
379
+ "esm": "./esm2022/skeleton/acorex-components-skeleton.mjs",
380
+ "default": "./fesm2022/acorex-components-skeleton.mjs"
381
+ },
376
382
  "./slider": {
377
383
  "types": "./slider/index.d.ts",
378
384
  "esm2022": "./esm2022/slider/acorex-components-slider.mjs",
@@ -397,6 +403,12 @@
397
403
  "esm": "./esm2022/tabs/acorex-components-tabs.mjs",
398
404
  "default": "./fesm2022/acorex-components-tabs.mjs"
399
405
  },
406
+ "./tag": {
407
+ "types": "./tag/index.d.ts",
408
+ "esm2022": "./esm2022/tag/acorex-components-tag.mjs",
409
+ "esm": "./esm2022/tag/acorex-components-tag.mjs",
410
+ "default": "./fesm2022/acorex-components-tag.mjs"
411
+ },
400
412
  "./text-area": {
401
413
  "types": "./text-area/index.d.ts",
402
414
  "esm2022": "./esm2022/text-area/acorex-components-text-area.mjs",
@@ -409,12 +421,6 @@
409
421
  "esm": "./esm2022/text-box/acorex-components-text-box.mjs",
410
422
  "default": "./fesm2022/acorex-components-text-box.mjs"
411
423
  },
412
- "./tag": {
413
- "types": "./tag/index.d.ts",
414
- "esm2022": "./esm2022/tag/acorex-components-tag.mjs",
415
- "esm": "./esm2022/tag/acorex-components-tag.mjs",
416
- "default": "./fesm2022/acorex-components-tag.mjs"
417
- },
418
424
  "./toast": {
419
425
  "types": "./toast/index.d.ts",
420
426
  "esm2022": "./esm2022/toast/acorex-components-toast.mjs",
@@ -432,6 +438,12 @@
432
438
  "esm2022": "./esm2022/uploader/acorex-components-uploader.mjs",
433
439
  "esm": "./esm2022/uploader/acorex-components-uploader.mjs",
434
440
  "default": "./fesm2022/acorex-components-uploader.mjs"
441
+ },
442
+ "./wysiwyg": {
443
+ "types": "./wysiwyg/index.d.ts",
444
+ "esm2022": "./esm2022/wysiwyg/acorex-components-wysiwyg.mjs",
445
+ "esm": "./esm2022/wysiwyg/acorex-components-wysiwyg.mjs",
446
+ "default": "./fesm2022/acorex-components-wysiwyg.mjs"
435
447
  }
436
448
  }
437
449
  }
@@ -1,5 +1,5 @@
1
- import { AXUploaderService } from './uploader.service';
2
1
  import { AXBasePageComponent } from '@acorex/components/page';
2
+ import { AXUploaderService } from './uploader.service';
3
3
  import * as i0 from "@angular/core";
4
4
  export declare class AXUploaderListComponent extends AXBasePageComponent {
5
5
  protected uploadService: AXUploaderService;
@@ -0,0 +1,3 @@
1
+ # @acorex/components/wysiwyg
2
+
3
+ Secondary entry point of `@acorex/components`. It can be used by importing from `@acorex/components/wysiwyg`.
@@ -0,0 +1,4 @@
1
+ export * from './lib/wysiwyg.module';
2
+ export * from './lib/wysiwyg/wysiwyg-container/wysiwyg-container.component';
3
+ export * from './lib/wysiwyg/wysiwyg-toolbar/wysiwyg-toolbar.component';
4
+ export * from './lib/wysiwyg/wysiwyg-view/wysiwyg-view.component';
@@ -0,0 +1,12 @@
1
+ import { AXWysiwyg } from '@acorex/cdk/wysiwyg';
2
+ import { MXBaseComponent } from '@acorex/components/common';
3
+ import { AXWysiwygService } from '../wysiwyg.service';
4
+ import * as i0 from "@angular/core";
5
+ export declare class AXWysiwygContainerComponent extends MXBaseComponent {
6
+ wysiwyg: import("@angular/core").WritableSignal<AXWysiwyg>;
7
+ view: import("@angular/core").WritableSignal<HTMLElement>;
8
+ service: AXWysiwygService;
9
+ constructor();
10
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXWysiwygContainerComponent, never>;
11
+ static ɵcmp: i0.ɵɵComponentDeclaration<AXWysiwygContainerComponent, "ax-wysiwyg-container", never, {}, {}, never, ["*"], false, never>;
12
+ }
@@ -0,0 +1,28 @@
1
+ import { AXWysiwyg } from '@acorex/cdk/wysiwyg';
2
+ import { AXClickEvent, AXDataSource } from '@acorex/components/common';
3
+ import { AXWysiwygService } from '../wysiwyg.service';
4
+ import * as i0 from "@angular/core";
5
+ export declare class AXWysiwygToolbarComponent {
6
+ outputHTML: import("@angular/core").OutputEmitterRef<AXClickEvent>;
7
+ service: AXWysiwygService;
8
+ wysiwyg: import("@angular/core").WritableSignal<AXWysiwyg>;
9
+ boldState: import("@angular/core").WritableSignal<boolean>;
10
+ italicState: import("@angular/core").WritableSignal<boolean>;
11
+ underLineState: import("@angular/core").WritableSignal<boolean>;
12
+ orderListState: import("@angular/core").WritableSignal<string>;
13
+ unOrderListState: import("@angular/core").WritableSignal<string>;
14
+ alignState: import("@angular/core").WritableSignal<string>;
15
+ protected fontSize: AXDataSource<string>;
16
+ protected selectedFont: string;
17
+ constructor();
18
+ fontHandler(e: any): void;
19
+ bold(): void;
20
+ out(): void;
21
+ italic(): void;
22
+ underLine(): void;
23
+ orderList(): void;
24
+ unOrderList(): void;
25
+ alignStateHandler(e: any): void;
26
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXWysiwygToolbarComponent, never>;
27
+ static ɵcmp: i0.ɵɵComponentDeclaration<AXWysiwygToolbarComponent, "ax-wysiwyg-toolbar", never, {}, { "outputHTML": "outputHTML"; }, never, ["ax-prefix", "ax-suffix"], false, never>;
28
+ }
@@ -0,0 +1,5 @@
1
+ import * as i0 from "@angular/core";
2
+ export declare class AXWysiwygViewComponent {
3
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXWysiwygViewComponent, never>;
4
+ static ɵcmp: i0.ɵɵComponentDeclaration<AXWysiwygViewComponent, "ax-wysiwyg-view", never, {}, {}, never, never, false, never>;
5
+ }
@@ -0,0 +1,7 @@
1
+ import { AXWysiwyg } from '@acorex/cdk/wysiwyg';
2
+ import * as i0 from "@angular/core";
3
+ export declare class AXWysiwygService {
4
+ wysiwyg: import("@angular/core").WritableSignal<AXWysiwyg>;
5
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXWysiwygService, never>;
6
+ static ɵprov: i0.ɵɵInjectableDeclaration<AXWysiwygService>;
7
+ }
@@ -0,0 +1,13 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./wysiwyg/wysiwyg-container/wysiwyg-container.component";
3
+ import * as i2 from "./wysiwyg/wysiwyg-view/wysiwyg-view.component";
4
+ import * as i3 from "./wysiwyg/wysiwyg-toolbar/wysiwyg-toolbar.component";
5
+ import * as i4 from "@acorex/components/button";
6
+ import * as i5 from "@acorex/components/decorators";
7
+ import * as i6 from "@acorex/components/select-box";
8
+ import * as i7 from "@angular/forms";
9
+ export declare class AXWysiwygModule {
10
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXWysiwygModule, never>;
11
+ static ɵmod: i0.ɵɵNgModuleDeclaration<AXWysiwygModule, [typeof i1.AXWysiwygContainerComponent, typeof i2.AXWysiwygViewComponent, typeof i3.AXWysiwygToolbarComponent], [typeof i4.AXButtonModule, typeof i5.AXDecoratorModule, typeof i6.AXSelectBoxModule, typeof i7.FormsModule], [typeof i1.AXWysiwygContainerComponent, typeof i2.AXWysiwygViewComponent, typeof i3.AXWysiwygToolbarComponent]>;
12
+ static ɵinj: i0.ɵɵInjectorDeclaration<AXWysiwygModule>;
13
+ }