@acorex/components 21.0.0-next.1 → 21.0.0-next.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (249) hide show
  1. package/code-editor/README.md +291 -1
  2. package/code-editor/index.d.ts +260 -12
  3. package/drawer/README.md +2 -2
  4. package/drawer/index.d.ts +32 -57
  5. package/drawer-legacy/README.md +3 -0
  6. package/drawer-legacy/index.d.ts +86 -0
  7. package/editor/README.md +3 -0
  8. package/editor/index.d.ts +41 -0
  9. package/fesm2022/acorex-components-accordion.mjs +12 -12
  10. package/fesm2022/acorex-components-accordion.mjs.map +1 -1
  11. package/fesm2022/acorex-components-action-sheet.mjs +10 -10
  12. package/fesm2022/acorex-components-action-sheet.mjs.map +1 -1
  13. package/fesm2022/acorex-components-alert.mjs +8 -8
  14. package/fesm2022/acorex-components-alert.mjs.map +1 -1
  15. package/fesm2022/acorex-components-aspect-ratio.mjs +4 -4
  16. package/fesm2022/acorex-components-aspect-ratio.mjs.map +1 -1
  17. package/fesm2022/acorex-components-audio-wave.mjs +8 -8
  18. package/fesm2022/acorex-components-audio-wave.mjs.map +1 -1
  19. package/fesm2022/acorex-components-autocomplete.mjs +8 -8
  20. package/fesm2022/acorex-components-autocomplete.mjs.map +1 -1
  21. package/fesm2022/acorex-components-avatar.mjs +11 -11
  22. package/fesm2022/acorex-components-avatar.mjs.map +1 -1
  23. package/fesm2022/acorex-components-badge.mjs +8 -8
  24. package/fesm2022/acorex-components-badge.mjs.map +1 -1
  25. package/fesm2022/acorex-components-bottom-navigation.mjs +11 -11
  26. package/fesm2022/acorex-components-bottom-navigation.mjs.map +1 -1
  27. package/fesm2022/acorex-components-breadcrumbs.mjs +11 -11
  28. package/fesm2022/acorex-components-breadcrumbs.mjs.map +1 -1
  29. package/fesm2022/acorex-components-button-group.mjs +13 -13
  30. package/fesm2022/acorex-components-button-group.mjs.map +1 -1
  31. package/fesm2022/acorex-components-button.mjs +15 -15
  32. package/fesm2022/acorex-components-button.mjs.map +1 -1
  33. package/fesm2022/acorex-components-calendar.mjs +14 -14
  34. package/fesm2022/acorex-components-calendar.mjs.map +1 -1
  35. package/fesm2022/acorex-components-check-box.mjs +8 -8
  36. package/fesm2022/acorex-components-check-box.mjs.map +1 -1
  37. package/fesm2022/acorex-components-chips.mjs +8 -8
  38. package/fesm2022/acorex-components-chips.mjs.map +1 -1
  39. package/fesm2022/acorex-components-circular-progress.mjs +8 -8
  40. package/fesm2022/acorex-components-circular-progress.mjs.map +1 -1
  41. package/fesm2022/acorex-components-code-editor.mjs +494 -162
  42. package/fesm2022/acorex-components-code-editor.mjs.map +1 -1
  43. package/fesm2022/acorex-components-collapse.mjs +11 -26
  44. package/fesm2022/acorex-components-collapse.mjs.map +1 -1
  45. package/fesm2022/acorex-components-color-box.mjs +9 -9
  46. package/fesm2022/acorex-components-color-box.mjs.map +1 -1
  47. package/fesm2022/acorex-components-color-palette.mjs +30 -30
  48. package/fesm2022/acorex-components-color-palette.mjs.map +1 -1
  49. package/fesm2022/acorex-components-command.mjs +10 -10
  50. package/fesm2022/acorex-components-command.mjs.map +1 -1
  51. package/fesm2022/acorex-components-comment.mjs +30 -30
  52. package/fesm2022/acorex-components-comment.mjs.map +1 -1
  53. package/fesm2022/acorex-components-conversation.mjs +54 -63
  54. package/fesm2022/acorex-components-conversation.mjs.map +1 -1
  55. package/fesm2022/acorex-components-cron-job.mjs +53 -53
  56. package/fesm2022/acorex-components-cron-job.mjs.map +1 -1
  57. package/fesm2022/acorex-components-data-list.mjs +5 -5
  58. package/fesm2022/acorex-components-data-list.mjs.map +1 -1
  59. package/fesm2022/acorex-components-data-pager.mjs +50 -38
  60. package/fesm2022/acorex-components-data-pager.mjs.map +1 -1
  61. package/fesm2022/acorex-components-data-table.mjs +39 -37
  62. package/fesm2022/acorex-components-data-table.mjs.map +1 -1
  63. package/fesm2022/acorex-components-datetime-box.mjs +8 -8
  64. package/fesm2022/acorex-components-datetime-box.mjs.map +1 -1
  65. package/fesm2022/acorex-components-datetime-input.mjs +8 -8
  66. package/fesm2022/acorex-components-datetime-input.mjs.map +1 -1
  67. package/fesm2022/acorex-components-datetime-picker.mjs +9 -9
  68. package/fesm2022/acorex-components-datetime-picker.mjs.map +1 -1
  69. package/fesm2022/acorex-components-decorators.mjs +83 -41
  70. package/fesm2022/acorex-components-decorators.mjs.map +1 -1
  71. package/fesm2022/acorex-components-dialog.mjs +10 -10
  72. package/fesm2022/acorex-components-dialog.mjs.map +1 -1
  73. package/fesm2022/acorex-components-drawer-legacy.mjs +218 -0
  74. package/fesm2022/acorex-components-drawer-legacy.mjs.map +1 -0
  75. package/fesm2022/acorex-components-drawer.mjs +64 -149
  76. package/fesm2022/acorex-components-drawer.mjs.map +1 -1
  77. package/fesm2022/acorex-components-dropdown-button.mjs +9 -9
  78. package/fesm2022/acorex-components-dropdown-button.mjs.map +1 -1
  79. package/fesm2022/acorex-components-dropdown.mjs +15 -15
  80. package/fesm2022/acorex-components-dropdown.mjs.map +1 -1
  81. package/fesm2022/acorex-components-editor.mjs +180 -0
  82. package/fesm2022/acorex-components-editor.mjs.map +1 -0
  83. package/fesm2022/acorex-components-file-explorer.mjs +28 -28
  84. package/fesm2022/acorex-components-file-explorer.mjs.map +1 -1
  85. package/fesm2022/acorex-components-flow-chart.mjs +18 -18
  86. package/fesm2022/acorex-components-flow-chart.mjs.map +1 -1
  87. package/fesm2022/acorex-components-form.mjs +22 -28
  88. package/fesm2022/acorex-components-form.mjs.map +1 -1
  89. package/fesm2022/acorex-components-grid-layout-builder.mjs +12 -12
  90. package/fesm2022/acorex-components-grid-layout-builder.mjs.map +1 -1
  91. package/fesm2022/acorex-components-image-editor.mjs +38 -38
  92. package/fesm2022/acorex-components-image-editor.mjs.map +1 -1
  93. package/fesm2022/acorex-components-image.mjs +8 -8
  94. package/fesm2022/acorex-components-image.mjs.map +1 -1
  95. package/fesm2022/acorex-components-json-viewer.mjs +8 -8
  96. package/fesm2022/acorex-components-json-viewer.mjs.map +1 -1
  97. package/fesm2022/acorex-components-kanban.mjs +4 -4
  98. package/fesm2022/acorex-components-kanban.mjs.map +1 -1
  99. package/fesm2022/acorex-components-kbd.mjs +7 -7
  100. package/fesm2022/acorex-components-kbd.mjs.map +1 -1
  101. package/fesm2022/acorex-components-label.mjs +7 -7
  102. package/fesm2022/acorex-components-label.mjs.map +1 -1
  103. package/fesm2022/acorex-components-list.mjs +8 -8
  104. package/fesm2022/acorex-components-list.mjs.map +1 -1
  105. package/fesm2022/acorex-components-loading-dialog.mjs +10 -10
  106. package/fesm2022/acorex-components-loading-dialog.mjs.map +1 -1
  107. package/fesm2022/acorex-components-loading.mjs +16 -16
  108. package/fesm2022/acorex-components-loading.mjs.map +1 -1
  109. package/fesm2022/acorex-components-map.mjs +14 -14
  110. package/fesm2022/acorex-components-map.mjs.map +1 -1
  111. package/fesm2022/acorex-components-media-viewer.mjs +61 -87
  112. package/fesm2022/acorex-components-media-viewer.mjs.map +1 -1
  113. package/fesm2022/acorex-components-menu.mjs +19 -19
  114. package/fesm2022/acorex-components-menu.mjs.map +1 -1
  115. package/fesm2022/{acorex-components-modal-acorex-components-modal-h5Y-qcbh.mjs → acorex-components-modal-acorex-components-modal-ClSGRCam.mjs} +23 -23
  116. package/fesm2022/acorex-components-modal-acorex-components-modal-ClSGRCam.mjs.map +1 -0
  117. package/fesm2022/{acorex-components-modal-modal-content.component-B6tyMLdU.mjs → acorex-components-modal-modal-content.component-BC-z7O0z.mjs} +7 -30
  118. package/fesm2022/acorex-components-modal-modal-content.component-BC-z7O0z.mjs.map +1 -0
  119. package/fesm2022/acorex-components-modal.mjs +1 -1
  120. package/fesm2022/acorex-components-navbar.mjs +7 -7
  121. package/fesm2022/acorex-components-navbar.mjs.map +1 -1
  122. package/fesm2022/acorex-components-notification.mjs +10 -10
  123. package/fesm2022/acorex-components-notification.mjs.map +1 -1
  124. package/fesm2022/acorex-components-number-box-legacy.mjs +412 -0
  125. package/fesm2022/acorex-components-number-box-legacy.mjs.map +1 -0
  126. package/fesm2022/acorex-components-number-box.mjs +100 -331
  127. package/fesm2022/acorex-components-number-box.mjs.map +1 -1
  128. package/fesm2022/acorex-components-otp.mjs +8 -8
  129. package/fesm2022/acorex-components-otp.mjs.map +1 -1
  130. package/fesm2022/acorex-components-page.mjs +10 -10
  131. package/fesm2022/acorex-components-page.mjs.map +1 -1
  132. package/fesm2022/acorex-components-paint.mjs +27 -27
  133. package/fesm2022/acorex-components-paint.mjs.map +1 -1
  134. package/fesm2022/acorex-components-password-box.mjs +11 -11
  135. package/fesm2022/acorex-components-password-box.mjs.map +1 -1
  136. package/fesm2022/acorex-components-pdf-reader.mjs +8 -8
  137. package/fesm2022/acorex-components-pdf-reader.mjs.map +1 -1
  138. package/fesm2022/acorex-components-phone-box.mjs +8 -8
  139. package/fesm2022/acorex-components-phone-box.mjs.map +1 -1
  140. package/fesm2022/acorex-components-picker.mjs +15 -15
  141. package/fesm2022/acorex-components-picker.mjs.map +1 -1
  142. package/fesm2022/acorex-components-popover.mjs +8 -8
  143. package/fesm2022/acorex-components-popover.mjs.map +1 -1
  144. package/fesm2022/acorex-components-popup.mjs +10 -10
  145. package/fesm2022/acorex-components-popup.mjs.map +1 -1
  146. package/fesm2022/acorex-components-progress-bar.mjs +7 -7
  147. package/fesm2022/acorex-components-progress-bar.mjs.map +1 -1
  148. package/fesm2022/acorex-components-qrcode.mjs +8 -8
  149. package/fesm2022/acorex-components-qrcode.mjs.map +1 -1
  150. package/fesm2022/acorex-components-query-builder.mjs +8 -8
  151. package/fesm2022/acorex-components-query-builder.mjs.map +1 -1
  152. package/fesm2022/acorex-components-radio.mjs +7 -7
  153. package/fesm2022/acorex-components-radio.mjs.map +1 -1
  154. package/fesm2022/acorex-components-rail-navigation.mjs +15 -15
  155. package/fesm2022/acorex-components-rail-navigation.mjs.map +1 -1
  156. package/fesm2022/acorex-components-range-slider.mjs +8 -8
  157. package/fesm2022/acorex-components-range-slider.mjs.map +1 -1
  158. package/fesm2022/acorex-components-rate-picker.mjs +8 -8
  159. package/fesm2022/acorex-components-rate-picker.mjs.map +1 -1
  160. package/fesm2022/acorex-components-rest-api-generator.mjs +23 -23
  161. package/fesm2022/acorex-components-rest-api-generator.mjs.map +1 -1
  162. package/fesm2022/acorex-components-result.mjs +7 -7
  163. package/fesm2022/acorex-components-result.mjs.map +1 -1
  164. package/fesm2022/acorex-components-routing-progress.mjs +7 -7
  165. package/fesm2022/acorex-components-routing-progress.mjs.map +1 -1
  166. package/fesm2022/acorex-components-rrule.mjs +38 -38
  167. package/fesm2022/acorex-components-rrule.mjs.map +1 -1
  168. package/fesm2022/acorex-components-scheduler.mjs +43 -43
  169. package/fesm2022/acorex-components-scheduler.mjs.map +1 -1
  170. package/fesm2022/acorex-components-scss.mjs +4 -4
  171. package/fesm2022/acorex-components-scss.mjs.map +1 -1
  172. package/fesm2022/acorex-components-search-box.mjs +8 -8
  173. package/fesm2022/acorex-components-search-box.mjs.map +1 -1
  174. package/fesm2022/acorex-components-select-box.mjs +20 -13
  175. package/fesm2022/acorex-components-select-box.mjs.map +1 -1
  176. package/fesm2022/acorex-components-selection-list-legacy.mjs +220 -0
  177. package/fesm2022/acorex-components-selection-list-legacy.mjs.map +1 -0
  178. package/fesm2022/acorex-components-selection-list.mjs +20 -75
  179. package/fesm2022/acorex-components-selection-list.mjs.map +1 -1
  180. package/fesm2022/acorex-components-side-menu.mjs +31 -38
  181. package/fesm2022/acorex-components-side-menu.mjs.map +1 -1
  182. package/fesm2022/acorex-components-skeleton.mjs +7 -7
  183. package/fesm2022/acorex-components-skeleton.mjs.map +1 -1
  184. package/fesm2022/acorex-components-slider.mjs +8 -8
  185. package/fesm2022/acorex-components-slider.mjs.map +1 -1
  186. package/fesm2022/acorex-components-sliding-item.mjs +16 -16
  187. package/fesm2022/acorex-components-sliding-item.mjs.map +1 -1
  188. package/fesm2022/acorex-components-step-wizard.mjs +15 -15
  189. package/fesm2022/acorex-components-step-wizard.mjs.map +1 -1
  190. package/fesm2022/acorex-components-switch.mjs +10 -10
  191. package/fesm2022/acorex-components-switch.mjs.map +1 -1
  192. package/fesm2022/acorex-components-tabs.mjs +15 -15
  193. package/fesm2022/acorex-components-tabs.mjs.map +1 -1
  194. package/fesm2022/acorex-components-tag-box.mjs +8 -8
  195. package/fesm2022/acorex-components-tag-box.mjs.map +1 -1
  196. package/fesm2022/acorex-components-tag.mjs +7 -7
  197. package/fesm2022/acorex-components-tag.mjs.map +1 -1
  198. package/fesm2022/acorex-components-text-area.mjs +7 -7
  199. package/fesm2022/acorex-components-text-area.mjs.map +1 -1
  200. package/fesm2022/acorex-components-text-box.mjs +11 -11
  201. package/fesm2022/acorex-components-text-box.mjs.map +1 -1
  202. package/fesm2022/acorex-components-time-duration.mjs +54 -14
  203. package/fesm2022/acorex-components-time-duration.mjs.map +1 -1
  204. package/fesm2022/acorex-components-time-line.mjs +13 -28
  205. package/fesm2022/acorex-components-time-line.mjs.map +1 -1
  206. package/fesm2022/acorex-components-toast.mjs +10 -10
  207. package/fesm2022/acorex-components-toast.mjs.map +1 -1
  208. package/fesm2022/acorex-components-toolbar.mjs +8 -8
  209. package/fesm2022/acorex-components-toolbar.mjs.map +1 -1
  210. package/fesm2022/acorex-components-tooltip.mjs +11 -11
  211. package/fesm2022/acorex-components-tooltip.mjs.map +1 -1
  212. package/fesm2022/acorex-components-tree-view.mjs +16 -45
  213. package/fesm2022/acorex-components-tree-view.mjs.map +1 -1
  214. package/fesm2022/acorex-components-uploader.mjs +24 -39
  215. package/fesm2022/acorex-components-uploader.mjs.map +1 -1
  216. package/fesm2022/acorex-components-video-player.mjs +8 -8
  217. package/fesm2022/acorex-components-video-player.mjs.map +1 -1
  218. package/fesm2022/acorex-components-wysiwyg.mjs +207 -458
  219. package/fesm2022/acorex-components-wysiwyg.mjs.map +1 -1
  220. package/media-viewer/index.d.ts +1 -0
  221. package/number-box/README.md +2 -2
  222. package/number-box/index.d.ts +31 -171
  223. package/number-box-legacy/README.md +3 -0
  224. package/number-box-legacy/index.d.ts +191 -0
  225. package/package.json +28 -13
  226. package/phone-box/index.d.ts +4 -4
  227. package/rrule/index.d.ts +3 -3
  228. package/select-box/index.d.ts +1 -0
  229. package/selection-list/README.md +2 -2
  230. package/selection-list/index.d.ts +16 -57
  231. package/selection-list-legacy/README.md +3 -0
  232. package/selection-list-legacy/index.d.ts +93 -0
  233. package/side-menu/index.d.ts +3 -2
  234. package/time-duration/index.d.ts +19 -3
  235. package/wysiwyg/index.d.ts +56 -159
  236. package/drawer-2/README.md +0 -3
  237. package/drawer-2/index.d.ts +0 -62
  238. package/fesm2022/acorex-components-drawer-2.mjs +0 -134
  239. package/fesm2022/acorex-components-drawer-2.mjs.map +0 -1
  240. package/fesm2022/acorex-components-modal-acorex-components-modal-h5Y-qcbh.mjs.map +0 -1
  241. package/fesm2022/acorex-components-modal-modal-content.component-B6tyMLdU.mjs.map +0 -1
  242. package/fesm2022/acorex-components-number-box-2.mjs +0 -183
  243. package/fesm2022/acorex-components-number-box-2.mjs.map +0 -1
  244. package/fesm2022/acorex-components-selection-list-2.mjs +0 -165
  245. package/fesm2022/acorex-components-selection-list-2.mjs.map +0 -1
  246. package/number-box-2/README.md +0 -3
  247. package/number-box-2/index.d.ts +0 -41
  248. package/selection-list-2/README.md +0 -3
  249. package/selection-list-2/index.d.ts +0 -52
@@ -1,6 +1,7 @@
1
1
  import * as i0 from '@angular/core';
2
2
  import { TemplateRef } from '@angular/core';
3
3
  import { MXSelectionValueComponent, AXDirection } from '@acorex/cdk/common';
4
+ import { AXSelectionGroupSelectedKeys } from '@acorex/cdk/selection';
4
5
  import * as i1 from '@angular/common';
5
6
  import * as i2 from '@angular/forms';
6
7
  import * as i3 from '@acorex/components/check-box';
@@ -9,78 +10,36 @@ import * as i5 from '@acorex/components/label';
9
10
  import * as i6 from '@acorex/components/form';
10
11
 
11
12
  type AXSelectionListLook = 'solid' | 'divided' | 'card';
13
+ type AXSelectionListItem = {
14
+ id: string | number;
15
+ text: string;
16
+ hint?: string;
17
+ disabled?: boolean;
18
+ };
19
+
12
20
  /**
13
21
  * The Button is a component which detects user interaction and triggers a corresponding event
14
22
  *
15
23
  * @category Components
16
24
  */
17
25
  declare class AXSelectionListComponent extends MXSelectionValueComponent {
18
- /**
19
- * sets the direction of the component.
20
- * @param {AXDirection} value
21
- */
22
- direction: i0.InputSignal<AXDirection>;
23
- /**
24
- * The custom template used for rendering content.
25
- *
26
- * @param {TemplateRef<unknown>} customTemplate
27
- */
28
- customTemplate: i0.InputSignal<TemplateRef<unknown>>;
29
- /** @ignore */
26
+ readonly direction: i0.InputSignal<AXDirection>;
27
+ readonly customTemplate: i0.InputSignal<TemplateRef<unknown>>;
28
+ readonly look: i0.InputSignal<AXSelectionListLook>;
29
+ protected changeState(e: AXSelectionGroupSelectedKeys): void;
30
30
  private _showControl;
31
- /**
32
- * @param {void}
33
- * Gets the current state of the control visibility.
34
- */
35
31
  get showControl(): boolean;
36
- /**
37
- * @param {boolean} v
38
- * Sets the visibility state of the control.
39
- */
40
32
  set showControl(v: boolean);
41
- /** @ignore */
42
33
  private _items;
43
- /**
44
- * Gets the list of items.
45
- * @param {void}
46
- */
47
- get items(): any[];
48
- /**
49
- * Sets the list of items.
50
- *
51
- * @param {any[]} v
52
- */
53
- set items(v: any[]);
54
- /** @ignore */
34
+ get items(): AXSelectionListItem[];
35
+ set items(v: AXSelectionListItem[]);
55
36
  private _hintField;
56
- /**
57
- * Gets the field used for displaying hints.
58
- */
59
37
  get hintField(): string;
60
- /**
61
- * Sets the field used for displaying hints.
62
- *
63
- * @param {string} v
64
- */
65
38
  set hintField(v: string);
66
- /**
67
- * Retrieves an item from the list by its key.
68
- *
69
- * @param {unknown} key - The key to search for.
70
- */
71
39
  getItemByKey(key: unknown): unknown;
72
- /**
73
- * Defines the visual appearance of the selection list.
74
- *
75
- * @defaultValue 'solid'
76
- */
77
- look: AXSelectionListLook;
78
- /** @ignore */
79
- protected _handleOnItemValueChange(item: any, e: Event): void;
80
- /** @ignore */
81
40
  private get __hostClass();
82
41
  static ɵfac: i0.ɵɵFactoryDeclaration<AXSelectionListComponent, never>;
83
- static ɵcmp: i0.ɵɵComponentDeclaration<AXSelectionListComponent, "ax-selection-list", never, { "id": { "alias": "id"; "required": false; }; "name": { "alias": "name"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "tabIndex": { "alias": "tabIndex"; "required": false; }; "size": { "alias": "size"; "required": false; }; "value": { "alias": "value"; "required": false; }; "valueField": { "alias": "valueField"; "required": false; }; "textField": { "alias": "textField"; "required": false; }; "disabledField": { "alias": "disabledField"; "required": false; }; "readonlyField": { "alias": "readonlyField"; "required": false; }; "multiple": { "alias": "multiple"; "required": false; }; "direction": { "alias": "direction"; "required": false; "isSignal": true; }; "customTemplate": { "alias": "customTemplate"; "required": false; "isSignal": true; }; "showControl": { "alias": "showControl"; "required": false; }; "items": { "alias": "items"; "required": false; }; "look": { "alias": "look"; "required": false; }; }, { "onValueChanged": "onValueChanged"; "onBlur": "onBlur"; "onFocus": "onFocus"; }, never, ["ax-validation-rule"], true, never>;
42
+ static ɵcmp: i0.ɵɵComponentDeclaration<AXSelectionListComponent, "ax-selection-list", never, { "id": { "alias": "id"; "required": false; }; "name": { "alias": "name"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "tabIndex": { "alias": "tabIndex"; "required": false; }; "size": { "alias": "size"; "required": false; }; "value": { "alias": "value"; "required": false; }; "valueField": { "alias": "valueField"; "required": false; }; "textField": { "alias": "textField"; "required": false; }; "disabledField": { "alias": "disabledField"; "required": false; }; "readonlyField": { "alias": "readonlyField"; "required": false; }; "multiple": { "alias": "multiple"; "required": false; }; "direction": { "alias": "direction"; "required": false; "isSignal": true; }; "customTemplate": { "alias": "customTemplate"; "required": false; "isSignal": true; }; "look": { "alias": "look"; "required": false; "isSignal": true; }; "showControl": { "alias": "showControl"; "required": false; }; "items": { "alias": "items"; "required": false; }; }, { "onValueChanged": "onValueChanged"; "onBlur": "onBlur"; "onFocus": "onFocus"; }, never, ["ax-validation-rule"], true, never>;
84
43
  }
85
44
 
86
45
  declare class AXSelectionListModule {
@@ -90,4 +49,4 @@ declare class AXSelectionListModule {
90
49
  }
91
50
 
92
51
  export { AXSelectionListComponent, AXSelectionListModule };
93
- export type { AXSelectionListLook };
52
+ export type { AXSelectionListItem, AXSelectionListLook };
@@ -0,0 +1,3 @@
1
+ # @acorex/components/selection-list
2
+
3
+ Secondary entry point of `@acorex/components`. It can be used by importing from `@acorex/components/selection-list`.
@@ -0,0 +1,93 @@
1
+ import * as i0 from '@angular/core';
2
+ import { TemplateRef } from '@angular/core';
3
+ import { MXSelectionValueComponent, AXDirection } from '@acorex/cdk/common';
4
+ import * as i1 from '@angular/common';
5
+ import * as i2 from '@angular/forms';
6
+ import * as i3 from '@acorex/components/check-box';
7
+ import * as i4 from '@acorex/components/radio';
8
+ import * as i5 from '@acorex/components/label';
9
+ import * as i6 from '@acorex/components/form';
10
+
11
+ type AXSelectionListLook = 'solid' | 'divided' | 'card';
12
+ /**
13
+ * The Button is a component which detects user interaction and triggers a corresponding event
14
+ *
15
+ * @category Components
16
+ */
17
+ declare class AXSelectionListLegacyComponent extends MXSelectionValueComponent {
18
+ /**
19
+ * sets the direction of the component.
20
+ * @param {AXDirection} value
21
+ */
22
+ direction: i0.InputSignal<AXDirection>;
23
+ /**
24
+ * The custom template used for rendering content.
25
+ *
26
+ * @param {TemplateRef<unknown>} customTemplate
27
+ */
28
+ customTemplate: i0.InputSignal<TemplateRef<unknown>>;
29
+ /** @ignore */
30
+ private _showControl;
31
+ /**
32
+ * @param {void}
33
+ * Gets the current state of the control visibility.
34
+ */
35
+ get showControl(): boolean;
36
+ /**
37
+ * @param {boolean} v
38
+ * Sets the visibility state of the control.
39
+ */
40
+ set showControl(v: boolean);
41
+ /** @ignore */
42
+ private _items;
43
+ /**
44
+ * Gets the list of items.
45
+ * @param {void}
46
+ */
47
+ get items(): any[];
48
+ /**
49
+ * Sets the list of items.
50
+ *
51
+ * @param {any[]} v
52
+ */
53
+ set items(v: any[]);
54
+ /** @ignore */
55
+ private _hintField;
56
+ /**
57
+ * Gets the field used for displaying hints.
58
+ */
59
+ get hintField(): string;
60
+ /**
61
+ * Sets the field used for displaying hints.
62
+ *
63
+ * @param {string} v
64
+ */
65
+ set hintField(v: string);
66
+ /**
67
+ * Retrieves an item from the list by its key.
68
+ *
69
+ * @param {unknown} key - The key to search for.
70
+ */
71
+ getItemByKey(key: unknown): unknown;
72
+ /**
73
+ * Defines the visual appearance of the selection list.
74
+ *
75
+ * @defaultValue 'solid'
76
+ */
77
+ look: AXSelectionListLook;
78
+ /** @ignore */
79
+ protected _handleOnItemValueChange(item: any, e: Event): void;
80
+ /** @ignore */
81
+ private get __hostClass();
82
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXSelectionListLegacyComponent, never>;
83
+ static ɵcmp: i0.ɵɵComponentDeclaration<AXSelectionListLegacyComponent, "ax-selection-list-legacy", never, { "id": { "alias": "id"; "required": false; }; "name": { "alias": "name"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "tabIndex": { "alias": "tabIndex"; "required": false; }; "size": { "alias": "size"; "required": false; }; "value": { "alias": "value"; "required": false; }; "valueField": { "alias": "valueField"; "required": false; }; "textField": { "alias": "textField"; "required": false; }; "disabledField": { "alias": "disabledField"; "required": false; }; "readonlyField": { "alias": "readonlyField"; "required": false; }; "multiple": { "alias": "multiple"; "required": false; }; "direction": { "alias": "direction"; "required": false; "isSignal": true; }; "customTemplate": { "alias": "customTemplate"; "required": false; "isSignal": true; }; "showControl": { "alias": "showControl"; "required": false; }; "items": { "alias": "items"; "required": false; }; "look": { "alias": "look"; "required": false; }; }, { "onValueChanged": "onValueChanged"; "onBlur": "onBlur"; "onFocus": "onFocus"; }, never, ["ax-validation-rule"], true, never>;
84
+ }
85
+
86
+ declare class AXSelectionListLegacyModule {
87
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXSelectionListLegacyModule, never>;
88
+ static ɵmod: i0.ɵɵNgModuleDeclaration<AXSelectionListLegacyModule, never, [typeof i1.CommonModule, typeof i2.FormsModule, typeof i3.AXCheckBoxModule, typeof i4.AXRadioModule, typeof i5.AXLabelModule, typeof i6.AXFormModule, typeof AXSelectionListLegacyComponent], [typeof AXSelectionListLegacyComponent]>;
89
+ static ɵinj: i0.ɵɵInjectorDeclaration<AXSelectionListLegacyModule>;
90
+ }
91
+
92
+ export { AXSelectionListLegacyComponent, AXSelectionListLegacyModule };
93
+ export type { AXSelectionListLook };
@@ -12,12 +12,13 @@ declare class AXSideMenuItemClickEvent extends AXClickEvent {
12
12
  handled: boolean;
13
13
  }
14
14
  declare class AXSideMenuItemComponent extends MXInteractiveComponent {
15
- private elem;
15
+ #private;
16
16
  text: _angular_core.ModelSignal<string>;
17
17
  active: _angular_core.ModelSignal<boolean>;
18
18
  isLoading: _angular_core.ModelSignal<boolean>;
19
19
  isCollapsed: _angular_core.ModelSignal<boolean>;
20
20
  onClick: _angular_core.OutputEmitterRef<AXSideMenuItemClickEvent>;
21
+ private elem;
21
22
  readonly toggleOnClick: _angular_core.InputSignal<boolean>;
22
23
  readonly href: _angular_core.InputSignal<string>;
23
24
  readonly routerLink: _angular_core.InputSignal<string | any[] | UrlTree>;
@@ -27,7 +28,7 @@ declare class AXSideMenuItemComponent extends MXInteractiveComponent {
27
28
  } | IsActiveMatchOptions>;
28
29
  readonly target: _angular_core.InputSignal<"_blank" | "_self" | "_parent" | "_top">;
29
30
  protected hasChild: _angular_core.WritableSignal<boolean>;
30
- constructor();
31
+ private checkForChildren;
31
32
  protected _handleClickEvent(e: MouseEvent): void;
32
33
  toggle(): void;
33
34
  open(): void;
@@ -1,6 +1,6 @@
1
1
  import * as polytype from 'polytype';
2
2
  import * as _angular_core from '@angular/core';
3
- import { MXInputBaseValueComponent, MXLookComponent } from '@acorex/cdk/common';
3
+ import { MXInputBaseValueComponent, MXLookComponent, AXFocusEvent } from '@acorex/cdk/common';
4
4
 
5
5
  type AXTimeDurationUnit = 'YEAR' | 'MONTH' | 'WEEK' | 'DAY' | 'HOUR' | 'MINUTE' | 'SECOND' | 'MILLISECOND';
6
6
 
@@ -16,9 +16,12 @@ declare class AXTimeDurationComponent extends AXTimeDurationComponent_base {
16
16
  readonly valueEnd: _angular_core.InputSignal<AXTimeDurationUnit>;
17
17
  readonly label: _angular_core.InputSignal<boolean>;
18
18
  readonly maskDigits: _angular_core.InputSignal<string>;
19
+ readonly minValue: _angular_core.InputSignal<number>;
20
+ readonly maxValue: _angular_core.InputSignal<number>;
19
21
  protected maskOptions: _angular_core.WritableSignal<any>;
20
22
  private translationService;
21
23
  private timeDurationFormatter;
24
+ private translation;
22
25
  private onInputFire;
23
26
  private onInternalValueChangedFire;
24
27
  private YEAR;
@@ -31,14 +34,27 @@ declare class AXTimeDurationComponent extends AXTimeDurationComponent_base {
31
34
  private MILLISECOND;
32
35
  private isTranslationInit;
33
36
  initTranslation(): Promise<void>;
34
- protected onInput(event: any): void;
37
+ protected onInput(event: any): Promise<void>;
35
38
  protected internalValueChanged(value: number): Promise<void>;
36
39
  private replacePersianLabels;
37
40
  private maskToMilliseconds;
38
41
  private updateMask;
42
+ protected focusHandler(e: AXFocusEvent): void;
43
+ protected blurHandler(e: AXFocusEvent): void;
44
+ protected validateFn: (val: number) => Promise<{
45
+ rule: string;
46
+ result: boolean;
47
+ message: string;
48
+ value: number;
49
+ } | {
50
+ rule: string;
51
+ result: boolean;
52
+ value: number;
53
+ message?: undefined;
54
+ }>;
39
55
  private get __hostName();
40
56
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXTimeDurationComponent, never>;
41
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXTimeDurationComponent, "ax-time-duration", never, { "disabled": { "alias": "disabled"; "required": false; }; "tabIndex": { "alias": "tabIndex"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "look": { "alias": "look"; "required": false; }; "valueStart": { "alias": "valueStart"; "required": false; "isSignal": true; }; "valueEnd": { "alias": "valueEnd"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; "maskDigits": { "alias": "maskDigits"; "required": false; "isSignal": true; }; }, { "onValueChanged": "onValueChanged"; }, never, ["ax-validation-rule"], true, never>;
57
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXTimeDurationComponent, "ax-time-duration", never, { "disabled": { "alias": "disabled"; "required": false; }; "tabIndex": { "alias": "tabIndex"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "look": { "alias": "look"; "required": false; }; "valueStart": { "alias": "valueStart"; "required": false; "isSignal": true; }; "valueEnd": { "alias": "valueEnd"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; "maskDigits": { "alias": "maskDigits"; "required": false; "isSignal": true; }; "minValue": { "alias": "minValue"; "required": false; "isSignal": true; }; "maxValue": { "alias": "maxValue"; "required": false; "isSignal": true; }; }, { "onValueChanged": "onValueChanged"; }, never, never, true, never>;
42
58
  }
43
59
 
44
60
  declare class AXTimeDurationModule {
@@ -1,31 +1,19 @@
1
- import * as _angular_core from '@angular/core';
2
- import { OnDestroy } from '@angular/core';
1
+ import * as polytype from 'polytype';
2
+ import * as i0 from '@angular/core';
3
+ import { OnDestroy, ElementRef } from '@angular/core';
4
+ import { MXInputBaseValueComponent, MXLookComponent } from '@acorex/cdk/common';
3
5
  import * as i1 from '@acorex/components/button';
4
6
  import * as i2 from '@acorex/components/decorators';
5
7
  import * as i3 from '@acorex/components/select-box';
6
8
  import * as i4 from '@angular/forms';
7
9
  import * as i5 from '@acorex/components/color-palette';
8
10
  import * as i6 from '@acorex/components/popover';
9
- import { AXPopoverOpenTrigger, AXPopoverCloseTrigger } from '@acorex/components/popover';
10
11
  import * as i7 from '@acorex/components/text-box';
11
- import * as polytype from 'polytype';
12
- import { MXInputBaseValueComponent, MXLookComponent, AXPlacement } from '@acorex/cdk/common';
13
- import { AXWysiwyg } from '@acorex/cdk/wysiwyg';
14
-
15
- declare class AXWysiwygService {
16
- wysiwyg: _angular_core.WritableSignal<AXWysiwyg>;
17
- isEditorClean: _angular_core.WritableSignal<boolean>;
18
- currentSelectedElemArray: _angular_core.WritableSignal<string[]>;
19
- currentSelectedElemList: _angular_core.WritableSignal<string>;
20
- currentSelectedElemAlign: _angular_core.WritableSignal<string>;
21
- static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXWysiwygService, never>;
22
- static ɵprov: _angular_core.ɵɵInjectableDeclaration<AXWysiwygService>;
23
- }
24
12
 
25
13
  declare const AXWysiwygContainerComponent_base: polytype.Polytype.ClusteredConstructor<[{
26
14
  new (): MXInputBaseValueComponent<string>;
27
- ɵfac: _angular_core.ɵɵFactoryDeclaration<MXInputBaseValueComponent<any>, never>;
28
- ɵprov: _angular_core.ɵɵInjectableDeclaration<MXInputBaseValueComponent<any>>;
15
+ ɵfac: i0.ɵɵFactoryDeclaration<MXInputBaseValueComponent<any>, never>;
16
+ ɵprov: i0.ɵɵInjectableDeclaration<MXInputBaseValueComponent<any>>;
29
17
  }, typeof MXLookComponent]>;
30
18
  /**
31
19
  * A container component for WYSIWYG (What You See Is What You Get) editor functionality.
@@ -33,18 +21,20 @@ declare const AXWysiwygContainerComponent_base: polytype.Polytype.ClusteredConst
33
21
  */
34
22
  declare class AXWysiwygContainerComponent extends AXWysiwygContainerComponent_base implements OnDestroy {
35
23
  #private;
36
- /** @ignore */
37
- protected service: AXWysiwygService;
38
- /** @ignore */
39
- private zone;
40
24
  /**
41
25
  * Specifies the placeholder text.
42
26
  *
43
27
  */
44
- placeHolder: _angular_core.InputSignal<string>;
45
- protected isQuillLoaded: _angular_core.WritableSignal<boolean>;
28
+ placeHolder: i0.InputSignal<string>;
29
+ private wysiwygService;
30
+ protected isQuillLoaded: i0.WritableSignal<boolean>;
31
+ private isEditorClean;
32
+ private wysiwyg;
33
+ private container;
34
+ private toolbar;
35
+ private platformId;
46
36
  /** @ignore */
47
- protected changeHandler(): void;
37
+ protected changeHandler(): Promise<void>;
48
38
  /** @ignore */
49
39
  ngOnDestroy(): void;
50
40
  /**
@@ -73,23 +63,19 @@ declare class AXWysiwygContainerComponent extends AXWysiwygContainerComponent_ba
73
63
  */
74
64
  setDisabledState(isDisabled: boolean): void;
75
65
  private get __hostName();
76
- static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXWysiwygContainerComponent, never>;
77
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXWysiwygContainerComponent, "ax-wysiwyg-container", never, { "look": { "alias": "look"; "required": false; }; "placeHolder": { "alias": "placeHolder"; "required": false; "isSignal": true; }; }, { "onValueChanged": "onValueChanged"; }, never, ["*", "ax-validation-rule"], true, never>;
66
+ get __hostClass(): string;
67
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXWysiwygContainerComponent, never>;
68
+ static ɵcmp: i0.ɵɵComponentDeclaration<AXWysiwygContainerComponent, "ax-wysiwyg-container", never, { "look": { "alias": "look"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "placeHolder": { "alias": "placeHolder"; "required": false; "isSignal": true; }; }, { "onValueChanged": "onValueChanged"; }, ["container", "toolbar"], ["*", "ax-validation-rule"], true, never>;
78
69
  }
79
70
 
80
71
  /**
81
72
  * @category Components
82
73
  * A component for viewing WYSIWYG content.
83
74
  */
84
- declare class AXWysiwygViewComponent {
85
- classes: _angular_core.InputSignal<string>;
86
- /** @ignore */
87
- protected wysiwygService: AXWysiwygService;
88
- get __hostClass(): string;
89
- protected onKeydownHandler(e: any): void;
90
- protected editorStateHandler(e: any): void;
91
- static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXWysiwygViewComponent, never>;
92
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXWysiwygViewComponent, "ax-wysiwyg-view", never, { "classes": { "alias": "class"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
75
+ declare class AXWysiwygToolbarComponent {
76
+ toolbar: i0.Signal<ElementRef<HTMLDivElement>>;
77
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXWysiwygToolbarComponent, never>;
78
+ static ɵcmp: i0.ɵɵComponentDeclaration<AXWysiwygToolbarComponent, "ax-wysiwyg-toolbar", never, {}, {}, never, ["ax-prefix", "ax-suffix"], true, never>;
93
79
  }
94
80
 
95
81
  /**
@@ -97,24 +83,15 @@ declare class AXWysiwygViewComponent {
97
83
  * @category Components
98
84
  */
99
85
  declare class AXWysiwygAlignmentComponent {
100
- /** @ignore */
101
- service: AXWysiwygService;
102
- /** @ignore */
103
- protected alignState: _angular_core.WritableSignal<string>;
104
- /** @ignore */
105
- protected popoverOption: {
106
- openOn: AXPopoverOpenTrigger;
107
- closeOn: AXPopoverCloseTrigger;
108
- placement: AXPlacement;
109
- offsetX: number;
110
- offsetY: number;
111
- };
112
- /** @ignore */
113
- constructor();
114
- /** @ignore */
115
- protected alignStateHandler(e: any): void;
116
- static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXWysiwygAlignmentComponent, never>;
117
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXWysiwygAlignmentComponent, "ax-wysiwyg-alignment", never, {}, {}, never, never, true, never>;
86
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXWysiwygAlignmentComponent, never>;
87
+ static ɵcmp: i0.ɵɵComponentDeclaration<AXWysiwygAlignmentComponent, "ax-wysiwyg-alignment", never, {}, {}, never, never, true, never>;
88
+ }
89
+
90
+ declare class WysiwygService {
91
+ selectedColor: i0.WritableSignal<string>;
92
+ selectedBackgroundColor: i0.WritableSignal<string>;
93
+ static ɵfac: i0.ɵɵFactoryDeclaration<WysiwygService, never>;
94
+ static ɵprov: i0.ɵɵInjectableDeclaration<WysiwygService>;
118
95
  }
119
96
 
120
97
  /**
@@ -122,36 +99,9 @@ declare class AXWysiwygAlignmentComponent {
122
99
  * @category Components
123
100
  */
124
101
  declare class AXWysiwygColorsComponent {
125
- /** @ignore */
126
- service: AXWysiwygService;
127
- /** @ignore */
128
- protected selectedColor: _angular_core.WritableSignal<string>;
129
- /** @ignore */
130
- protected selectedHighlightColor: _angular_core.WritableSignal<string>;
131
- /** @ignore */
132
- protected userInteractColor: _angular_core.WritableSignal<boolean>;
133
- /** @ignore */
134
- protected userInteractHighligh: _angular_core.WritableSignal<boolean>;
135
- /** @ignore */
136
- protected popoverOption: {
137
- openOn: AXPopoverOpenTrigger;
138
- closeOn: AXPopoverCloseTrigger;
139
- placement: AXPlacement;
140
- offsetX: number;
141
- offsetY: number;
142
- };
143
- /** @ignore */
144
- constructor();
145
- /** @ignore */
146
- protected changeColorHandler(e: string): void;
147
- /** @ignore */
148
- protected changeHighlightColorHandler(e: string): void;
149
- /** @ignore */
150
- protected initialHighlightHandler(): void;
151
- /** @ignore */
152
- protected initialColorHandler(): void;
153
- static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXWysiwygColorsComponent, never>;
154
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXWysiwygColorsComponent, "ax-wysiwyg-colors", never, {}, {}, never, never, true, never>;
102
+ protected wysiwygService: WysiwygService;
103
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXWysiwygColorsComponent, never>;
104
+ static ɵcmp: i0.ɵɵComponentDeclaration<AXWysiwygColorsComponent, "ax-wysiwyg-colors", never, {}, {}, never, never, true, never>;
155
105
  }
156
106
 
157
107
  /**
@@ -159,34 +109,8 @@ declare class AXWysiwygColorsComponent {
159
109
  * @category Components
160
110
  */
161
111
  declare class AXWysiwygFontStyleComponent {
162
- /** @ignore */
163
- parent: AXWysiwygContainerComponent;
164
- /** @ignore */
165
- protected boldState: _angular_core.WritableSignal<boolean>;
166
- /** @ignore */
167
- protected italicState: _angular_core.WritableSignal<boolean>;
168
- /** @ignore */
169
- protected underLineState: _angular_core.WritableSignal<boolean>;
170
- /** @ignore */
171
- protected strikeLineState: _angular_core.WritableSignal<boolean>;
172
- /** @ignore */
173
- protected selectedFont: _angular_core.WritableSignal<string>;
174
- /** @ignore */
175
- service: AXWysiwygService;
176
- /** @ignore */
177
- constructor();
178
- /** @ignore */
179
- protected bold(): void;
180
- /** @ignore */
181
- protected italic(): void;
182
- /** @ignore */
183
- protected underLine(): void;
184
- /** @ignore */
185
- protected strike(): void;
186
- /** @ignore */
187
- protected fontSizeHandler(e: 'medium' | 'small' | 'large' | 'huge'): void;
188
- static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXWysiwygFontStyleComponent, never>;
189
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXWysiwygFontStyleComponent, "ax-wysiwyg-font-style", never, {}, {}, never, never, true, never>;
112
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXWysiwygFontStyleComponent, never>;
113
+ static ɵcmp: i0.ɵɵComponentDeclaration<AXWysiwygFontStyleComponent, "ax-wysiwyg-font-style", never, {}, {}, never, never, true, never>;
190
114
  }
191
115
 
192
116
  /**
@@ -194,14 +118,8 @@ declare class AXWysiwygFontStyleComponent {
194
118
  * @category Components
195
119
  */
196
120
  declare class AXWysiwygHistoryComponent {
197
- /** @ignore */
198
- service: AXWysiwygService;
199
- /** @ignore */
200
- protected undo(): void;
201
- /** @ignore */
202
- protected redo(): void;
203
- static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXWysiwygHistoryComponent, never>;
204
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXWysiwygHistoryComponent, "ax-wysiwyg-history", never, {}, {}, never, never, true, never>;
121
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXWysiwygHistoryComponent, never>;
122
+ static ɵcmp: i0.ɵɵComponentDeclaration<AXWysiwygHistoryComponent, "ax-wysiwyg-history", never, {}, {}, never, never, true, never>;
205
123
  }
206
124
 
207
125
  /**
@@ -209,29 +127,8 @@ declare class AXWysiwygHistoryComponent {
209
127
  * @category Components
210
128
  */
211
129
  declare class AXWysiwygInsertComponent {
212
- #private;
213
- /** @ignore */
214
- service: AXWysiwygService;
215
- protected isCodeActive: _angular_core.WritableSignal<boolean>;
216
- /** @ignore */
217
- textBoxOptions: {
218
- text: string;
219
- placeholder: string;
220
- size: string;
221
- };
222
- /** @ignore */
223
- protected popoverOption: {
224
- openOn: AXPopoverOpenTrigger;
225
- closeOn: AXPopoverCloseTrigger;
226
- placement: AXPlacement;
227
- offsetX: number;
228
- offsetY: number;
229
- };
230
- /** @ignore */
231
- protected submitLink(): void;
232
- protected codeBlock(): void;
233
- static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXWysiwygInsertComponent, never>;
234
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXWysiwygInsertComponent, "ax-wysiwyg-insert", never, {}, {}, never, never, true, never>;
130
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXWysiwygInsertComponent, never>;
131
+ static ɵcmp: i0.ɵɵComponentDeclaration<AXWysiwygInsertComponent, "ax-wysiwyg-insert", never, {}, {}, never, never, true, never>;
235
132
  }
236
133
 
237
134
  /**
@@ -239,24 +136,24 @@ declare class AXWysiwygInsertComponent {
239
136
  * @category Components
240
137
  */
241
138
  declare class AXWysiwygListComponent {
242
- /** @ignore */
243
- service: AXWysiwygService;
244
- /** @ignore */
245
- protected listState: _angular_core.WritableSignal<string>;
246
- /** @ignore */
247
- constructor();
248
- /** @ignore */
249
- protected orderList(): void;
250
- /** @ignore */
251
- protected unOrderList(): void;
252
- static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXWysiwygListComponent, never>;
253
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXWysiwygListComponent, "ax-wysiwyg-list", never, {}, {}, never, never, true, never>;
139
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXWysiwygListComponent, never>;
140
+ static ɵcmp: i0.ɵɵComponentDeclaration<AXWysiwygListComponent, "ax-wysiwyg-list", never, {}, {}, never, never, true, never>;
141
+ }
142
+
143
+ /**
144
+ * @category Components
145
+ * A component for viewing WYSIWYG content.
146
+ */
147
+ declare class AXWysiwygViewComponent {
148
+ editor: i0.Signal<ElementRef<HTMLDivElement>>;
149
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXWysiwygViewComponent, never>;
150
+ static ɵcmp: i0.ɵɵComponentDeclaration<AXWysiwygViewComponent, "ax-wysiwyg-view", never, {}, {}, never, never, true, never>;
254
151
  }
255
152
 
256
153
  declare class AXWysiwygModule {
257
- static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXWysiwygModule, never>;
258
- static ɵmod: _angular_core.ɵɵNgModuleDeclaration<AXWysiwygModule, never, [typeof i1.AXButtonModule, typeof i2.AXDecoratorModule, typeof i3.AXSelectBoxModule, typeof i4.FormsModule, typeof i5.AXColorPaletteModule, typeof i6.AXPopoverModule, typeof i7.AXTextBoxModule, typeof AXWysiwygContainerComponent, typeof AXWysiwygViewComponent, typeof AXWysiwygAlignmentComponent, typeof AXWysiwygColorsComponent, typeof AXWysiwygFontStyleComponent, typeof AXWysiwygHistoryComponent, typeof AXWysiwygInsertComponent, typeof AXWysiwygListComponent], [typeof AXWysiwygContainerComponent, typeof AXWysiwygViewComponent, typeof AXWysiwygAlignmentComponent, typeof AXWysiwygColorsComponent, typeof AXWysiwygFontStyleComponent, typeof AXWysiwygHistoryComponent, typeof AXWysiwygInsertComponent, typeof AXWysiwygListComponent]>;
259
- static ɵinj: _angular_core.ɵɵInjectorDeclaration<AXWysiwygModule>;
154
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXWysiwygModule, never>;
155
+ static ɵmod: i0.ɵɵNgModuleDeclaration<AXWysiwygModule, never, [typeof i1.AXButtonModule, typeof i2.AXDecoratorModule, typeof i3.AXSelectBoxModule, typeof i4.FormsModule, typeof i5.AXColorPaletteModule, typeof i6.AXPopoverModule, typeof i7.AXTextBoxModule, typeof AXWysiwygContainerComponent, typeof AXWysiwygViewComponent, typeof AXWysiwygAlignmentComponent, typeof AXWysiwygColorsComponent, typeof AXWysiwygFontStyleComponent, typeof AXWysiwygHistoryComponent, typeof AXWysiwygInsertComponent, typeof AXWysiwygListComponent, typeof AXWysiwygToolbarComponent], [typeof AXWysiwygContainerComponent, typeof AXWysiwygViewComponent, typeof AXWysiwygAlignmentComponent, typeof AXWysiwygColorsComponent, typeof AXWysiwygFontStyleComponent, typeof AXWysiwygHistoryComponent, typeof AXWysiwygInsertComponent, typeof AXWysiwygListComponent, typeof AXWysiwygToolbarComponent]>;
156
+ static ɵinj: i0.ɵɵInjectorDeclaration<AXWysiwygModule>;
260
157
  }
261
158
 
262
- export { AXWysiwygAlignmentComponent, AXWysiwygColorsComponent, AXWysiwygContainerComponent, AXWysiwygFontStyleComponent, AXWysiwygHistoryComponent, AXWysiwygInsertComponent, AXWysiwygListComponent, AXWysiwygModule, AXWysiwygViewComponent };
159
+ export { AXWysiwygAlignmentComponent, AXWysiwygColorsComponent, AXWysiwygContainerComponent, AXWysiwygFontStyleComponent, AXWysiwygHistoryComponent, AXWysiwygInsertComponent, AXWysiwygListComponent, AXWysiwygModule, AXWysiwygToolbarComponent, AXWysiwygViewComponent };
@@ -1,3 +0,0 @@
1
- # @acorex/components/drawer-2
2
-
3
- Secondary entry point of `@acorex/components`. It can be used by importing from `@acorex/components/drawer-2`.
@@ -1,62 +0,0 @@
1
- import { MXBaseComponent, AXClickEvent } from '@acorex/cdk/common';
2
- import * as _angular_core from '@angular/core';
3
- import * as i1 from '@acorex/cdk/drawer';
4
- import { AXDrawerLocation, AXDrawerMode } from '@acorex/cdk/drawer';
5
- import * as i1$1 from '@angular/common';
6
-
7
- /**
8
- * A container component that organizes and positions drawer components.
9
- * @category component
10
- */
11
- declare class AXDrawer2ContainerComponent extends MXBaseComponent {
12
- #private;
13
- static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXDrawer2ContainerComponent, never>;
14
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXDrawer2ContainerComponent, "ax-drawer2-container", never, {}, {}, never, ["ax-drawer2", "ax-content"], true, [{ directive: typeof i1.AXDrawerContainerDirective; inputs: {}; outputs: {}; }]>;
15
- }
16
-
17
- /**
18
- * A component that represents a drawer with header and content sections.
19
- *
20
- * @category Components
21
- */
22
- declare class AXDrawer2Component extends MXBaseComponent {
23
- #private;
24
- readonly location: _angular_core.InputSignal<AXDrawerLocation>;
25
- readonly showBackdrop: _angular_core.InputSignal<boolean>;
26
- readonly mode: _angular_core.InputSignal<AXDrawerMode>;
27
- readonly transition: _angular_core.InputSignal<number>;
28
- readonly closeOnBackdropClick: _angular_core.InputSignal<boolean>;
29
- readonly backdropClass: _angular_core.InputSignal<string>;
30
- readonly collapsed: _angular_core.InputSignal<boolean>;
31
- onBackdropClick: _angular_core.OutputEmitterRef<AXClickEvent>;
32
- collapsedStateChanged: _angular_core.OutputEmitterRef<boolean>;
33
- private drawerItem;
34
- /**
35
- * Toggles the drawer state between open and closed.
36
- *
37
- * @returns void - No return value. The drawer state is toggled.
38
- */
39
- toggle(): void;
40
- /**
41
- * Closes the drawer.
42
- *
43
- * @returns void - No return value. The drawer is collapsed.
44
- */
45
- close(): void;
46
- /**
47
- * Opens the drawer.
48
- *
49
- * @returns void - No return value. The drawer is expanded.
50
- */
51
- open(): void;
52
- static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXDrawer2Component, never>;
53
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXDrawer2Component, "ax-drawer2", never, { "location": { "alias": "location"; "required": false; "isSignal": true; }; "showBackdrop": { "alias": "showBackdrop"; "required": false; "isSignal": true; }; "mode": { "alias": "mode"; "required": false; "isSignal": true; }; "transition": { "alias": "transition"; "required": false; "isSignal": true; }; "closeOnBackdropClick": { "alias": "closeOnBackdropClick"; "required": false; "isSignal": true; }; "backdropClass": { "alias": "backdropClass"; "required": false; "isSignal": true; }; "collapsed": { "alias": "collapsed"; "required": false; "isSignal": true; }; }, { "onBackdropClick": "onBackdropClick"; "collapsedStateChanged": "collapsedStateChanged"; }, never, ["ax-header", "ax-content"], true, [{ directive: typeof i1.AXDrawerItemDirective; inputs: {}; outputs: {}; }]>;
54
- }
55
-
56
- declare class AXDrawer2Module {
57
- static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXDrawer2Module, never>;
58
- static ɵmod: _angular_core.ɵɵNgModuleDeclaration<AXDrawer2Module, never, [typeof i1$1.CommonModule, typeof AXDrawer2Component, typeof AXDrawer2ContainerComponent], [typeof AXDrawer2Component, typeof AXDrawer2ContainerComponent]>;
59
- static ɵinj: _angular_core.ɵɵInjectorDeclaration<AXDrawer2Module>;
60
- }
61
-
62
- export { AXDrawer2Component, AXDrawer2ContainerComponent, AXDrawer2Module };