@acorex/components 18.5.15 → 18.5.17

Sign up to get free protection for your applications and to get access to all the features.
Files changed (227) hide show
  1. package/action-sheet/lib/action-sheet.component.d.ts +26 -0
  2. package/alert/lib/alert.component.d.ts +50 -2
  3. package/audio-wave/lib/audio-wave.component.d.ts +48 -0
  4. package/avatar/lib/avatar.component.d.ts +20 -1
  5. package/badge/lib/badge.component.d.ts +8 -0
  6. package/bottom-navigation/lib/bottom-navigation.component.d.ts +16 -0
  7. package/breadcrumbs/lib/breadcrumbs-item.component.d.ts +11 -0
  8. package/breadcrumbs/lib/breadcrumbs.component.d.ts +11 -0
  9. package/button/lib/button-item-list.component.d.ts +34 -0
  10. package/button/lib/button-item.component.d.ts +47 -0
  11. package/button/lib/button.component.d.ts +36 -0
  12. package/button-group/lib/button-group.component.d.ts +53 -0
  13. package/calendar/lib/calendar-range.component.d.ts +48 -0
  14. package/calendar/lib/calendar.component.d.ts +114 -0
  15. package/check-box/lib/check-box.component.d.ts +36 -0
  16. package/chips/lib/chips.component.d.ts +13 -0
  17. package/circular-progress/lib/circular-progress.component.d.ts +67 -1
  18. package/collapse/lib/collapse-group.component.d.ts +38 -0
  19. package/collapse/lib/collapse.component.d.ts +55 -0
  20. package/color-box/lib/color-box.component.d.ts +28 -1
  21. package/color-palette/lib/color-palette-input.component.d.ts +35 -0
  22. package/color-palette/lib/color-palette-picker.component.d.ts +53 -0
  23. package/color-palette/lib/color-palette-preview.component.d.ts +17 -0
  24. package/color-palette/lib/color-palette-swatches.component.d.ts +30 -0
  25. package/color-palette/lib/color-palette.component.d.ts +8 -0
  26. package/comment/lib/comment-container/comment-container.component.d.ts +5 -0
  27. package/comment/lib/comment-item/comment-item.component.d.ts +16 -2
  28. package/comment/lib/comment-like/comment-like.component.d.ts +8 -0
  29. package/comment/lib/comment-reply/comment-reply.component.d.ts +4 -0
  30. package/comment/lib/comment-view/comment-view.component.d.ts +4 -0
  31. package/common/lib/components/base-component.class.d.ts +8 -0
  32. package/common/lib/components/button-base-component.class.d.ts +21 -0
  33. package/common/lib/components/interactive-component.class.d.ts +15 -0
  34. package/conversation/lib/conversation-container/conversation-container.component.d.ts +4 -0
  35. package/conversation/lib/conversation-input/conversation-input.component.d.ts +79 -2
  36. package/conversation/lib/conversation-message/conversation-message.component.d.ts +41 -0
  37. package/conversation/lib/conversation-messages/conversation-message-audio/conversation-message-audio.component.d.ts +62 -0
  38. package/conversation/lib/conversation-messages/conversation-message-file/conversation-message-file.component.d.ts +34 -0
  39. package/conversation/lib/conversation-messages/conversation-message-image/conversation-message-image.component.d.ts +21 -0
  40. package/conversation/lib/conversation-messages/conversation-message-image-popup/conversation-message-image-popup.component.d.ts +11 -0
  41. package/conversation/lib/conversation-messages/conversation-message-text/conversation-message-text.component.d.ts +29 -0
  42. package/conversation/lib/conversation-messages/conversation-message-video/conversation-message-video.component.d.ts +11 -0
  43. package/conversation/lib/conversation-messages/conversation-message-voice/conversation-message-voice.component.d.ts +72 -0
  44. package/conversation/lib/conversation-view/conversation-view.component.d.ts +22 -0
  45. package/data-pager/lib/data-pager-base.component.d.ts +9 -0
  46. package/data-pager/lib/data-pager-info.component.d.ts +14 -0
  47. package/data-pager/lib/data-pager-input-selector.component.d.ts +17 -0
  48. package/data-pager/lib/data-pager-next-buttons.components.d.ts +20 -0
  49. package/data-pager/lib/data-pager-numeric-selector.component.d.ts +14 -0
  50. package/esm2022/action-sheet/lib/action-sheet.component.mjs +21 -1
  51. package/esm2022/alert/lib/alert.component.mjs +48 -3
  52. package/esm2022/audio-wave/lib/audio-wave.component.mjs +43 -1
  53. package/esm2022/avatar/lib/avatar.component.mjs +21 -2
  54. package/esm2022/badge/lib/badge.component.mjs +9 -1
  55. package/esm2022/bottom-navigation/lib/bottom-navigation.component.mjs +14 -1
  56. package/esm2022/breadcrumbs/lib/breadcrumbs-item.component.mjs +9 -1
  57. package/esm2022/breadcrumbs/lib/breadcrumbs.component.mjs +6 -1
  58. package/esm2022/button/lib/button-item-list.component.mjs +35 -1
  59. package/esm2022/button/lib/button-item.component.mjs +36 -1
  60. package/esm2022/button/lib/button.component.mjs +39 -3
  61. package/esm2022/button-group/lib/button-group.component.mjs +48 -1
  62. package/esm2022/calendar/lib/calendar-range.component.mjs +46 -1
  63. package/esm2022/calendar/lib/calendar.component.mjs +112 -1
  64. package/esm2022/check-box/lib/check-box.component.mjs +34 -1
  65. package/esm2022/chips/lib/chips.component.mjs +14 -1
  66. package/esm2022/circular-progress/lib/circular-progress.component.mjs +69 -1
  67. package/esm2022/collapse/lib/collapse-group.component.mjs +39 -1
  68. package/esm2022/collapse/lib/collapse.component.mjs +53 -1
  69. package/esm2022/color-box/lib/color-box.component.mjs +23 -2
  70. package/esm2022/color-palette/lib/color-palette-input.component.mjs +36 -1
  71. package/esm2022/color-palette/lib/color-palette-picker.component.mjs +54 -1
  72. package/esm2022/color-palette/lib/color-palette-preview.component.mjs +18 -1
  73. package/esm2022/color-palette/lib/color-palette-swatches.component.mjs +28 -1
  74. package/esm2022/color-palette/lib/color-palette.component.mjs +9 -1
  75. package/esm2022/comment/lib/comment-container/comment-container.component.mjs +6 -1
  76. package/esm2022/comment/lib/comment-item/comment-item.component.mjs +15 -1
  77. package/esm2022/comment/lib/comment-like/comment-like.component.mjs +9 -1
  78. package/esm2022/comment/lib/comment-reply/comment-reply.component.mjs +5 -1
  79. package/esm2022/comment/lib/comment-view/comment-view.component.mjs +5 -1
  80. package/esm2022/common/lib/components/base-component.class.mjs +9 -1
  81. package/esm2022/common/lib/components/button-base-component.class.mjs +22 -1
  82. package/esm2022/common/lib/components/interactive-component.class.mjs +16 -1
  83. package/esm2022/conversation/lib/conversation-container/conversation-container.component.mjs +5 -1
  84. package/esm2022/conversation/lib/conversation-input/conversation-input.component.mjs +75 -1
  85. package/esm2022/conversation/lib/conversation-message/conversation-message.component.mjs +39 -1
  86. package/esm2022/conversation/lib/conversation-messages/conversation-message-audio/conversation-message-audio.component.mjs +63 -1
  87. package/esm2022/conversation/lib/conversation-messages/conversation-message-file/conversation-message-file.component.mjs +35 -1
  88. package/esm2022/conversation/lib/conversation-messages/conversation-message-image/conversation-message-image.component.mjs +22 -1
  89. package/esm2022/conversation/lib/conversation-messages/conversation-message-image-popup/conversation-message-image-popup.component.mjs +9 -1
  90. package/esm2022/conversation/lib/conversation-messages/conversation-message-text/conversation-message-text.component.mjs +30 -1
  91. package/esm2022/conversation/lib/conversation-messages/conversation-message-video/conversation-message-video.component.mjs +12 -1
  92. package/esm2022/conversation/lib/conversation-messages/conversation-message-voice/conversation-message-voice.component.mjs +70 -1
  93. package/esm2022/conversation/lib/conversation-view/conversation-view.component.mjs +23 -1
  94. package/esm2022/data-pager/lib/data-pager-base.component.mjs +7 -1
  95. package/esm2022/data-pager/lib/data-pager-info.component.mjs +9 -1
  96. package/esm2022/data-pager/lib/data-pager-input-selector.component.mjs +18 -1
  97. package/esm2022/data-pager/lib/data-pager-next-buttons.components.mjs +18 -1
  98. package/esm2022/data-pager/lib/data-pager-numeric-selector.component.mjs +15 -1
  99. package/esm2022/scheduler/lib/scheduler-month-view.component.mjs +20 -1
  100. package/esm2022/scheduler/lib/scheduler-week-view.component.mjs +5 -1
  101. package/esm2022/scheduler/lib/scheduler.component.mjs +10 -1
  102. package/esm2022/search-box/lib/search-box.component.mjs +19 -2
  103. package/esm2022/select-box/lib/select-box.component.mjs +50 -2
  104. package/esm2022/selection-list/lib/selection-list.component.mjs +51 -1
  105. package/esm2022/side-menu/lib/side-menu.component.mjs +5 -1
  106. package/esm2022/skeleton/lib/skeleton.component.mjs +11 -1
  107. package/esm2022/slider/lib/slider.component.mjs +52 -2
  108. package/esm2022/step-wizard/lib/step-wizard.component.mjs +23 -1
  109. package/esm2022/switch/lib/switch-content.component.mjs +5 -1
  110. package/esm2022/switch/lib/switch.component.mjs +11 -1
  111. package/esm2022/tabs/lib/tab-item.component.mjs +24 -1
  112. package/esm2022/tabs/lib/tabs.component.mjs +36 -1
  113. package/esm2022/tag/lib/tag.component.mjs +2 -1
  114. package/esm2022/text-area/lib/text-area.component.mjs +8 -1
  115. package/esm2022/text-box/lib/text-box.component.mjs +13 -1
  116. package/esm2022/toast/lib/toast.component.mjs +6 -1
  117. package/esm2022/tooltip/lib/tooltip.component.mjs +5 -1
  118. package/esm2022/uploader/lib/uploader-dialog-container.component.mjs +16 -1
  119. package/esm2022/uploader/lib/uploader-drop-zone.component.mjs +5 -1
  120. package/esm2022/uploader/lib/uploader-list.component.mjs +8 -3
  121. package/esm2022/uploader/lib/uploader.models.mjs +14 -1
  122. package/esm2022/wysiwyg/lib/wysiwyg/wysiwyg-container/wysiwyg-container.component.mjs +18 -1
  123. package/esm2022/wysiwyg/lib/wysiwyg/wysiwyg-toolbar/wysiwyg-toolbar.component.mjs +106 -36
  124. package/esm2022/wysiwyg/lib/wysiwyg/wysiwyg-view/wysiwyg-view.component.mjs +9 -1
  125. package/esm2022/wysiwyg/lib/wysiwyg/wysiwyg.service.mjs +4 -1
  126. package/fesm2022/acorex-components-action-sheet.mjs +20 -0
  127. package/fesm2022/acorex-components-action-sheet.mjs.map +1 -1
  128. package/fesm2022/acorex-components-alert.mjs +47 -2
  129. package/fesm2022/acorex-components-alert.mjs.map +1 -1
  130. package/fesm2022/acorex-components-audio-wave.mjs +42 -0
  131. package/fesm2022/acorex-components-audio-wave.mjs.map +1 -1
  132. package/fesm2022/acorex-components-avatar.mjs +20 -1
  133. package/fesm2022/acorex-components-avatar.mjs.map +1 -1
  134. package/fesm2022/acorex-components-badge.mjs +8 -0
  135. package/fesm2022/acorex-components-badge.mjs.map +1 -1
  136. package/fesm2022/acorex-components-bottom-navigation.mjs +13 -0
  137. package/fesm2022/acorex-components-bottom-navigation.mjs.map +1 -1
  138. package/fesm2022/acorex-components-breadcrumbs.mjs +13 -0
  139. package/fesm2022/acorex-components-breadcrumbs.mjs.map +1 -1
  140. package/fesm2022/acorex-components-button-group.mjs +47 -0
  141. package/fesm2022/acorex-components-button-group.mjs.map +1 -1
  142. package/fesm2022/acorex-components-button.mjs +107 -2
  143. package/fesm2022/acorex-components-button.mjs.map +1 -1
  144. package/fesm2022/acorex-components-calendar.mjs +156 -0
  145. package/fesm2022/acorex-components-calendar.mjs.map +1 -1
  146. package/fesm2022/acorex-components-check-box.mjs +33 -0
  147. package/fesm2022/acorex-components-check-box.mjs.map +1 -1
  148. package/fesm2022/acorex-components-chips.mjs +13 -0
  149. package/fesm2022/acorex-components-chips.mjs.map +1 -1
  150. package/fesm2022/acorex-components-circular-progress.mjs +68 -0
  151. package/fesm2022/acorex-components-circular-progress.mjs.map +1 -1
  152. package/fesm2022/acorex-components-collapse.mjs +90 -0
  153. package/fesm2022/acorex-components-collapse.mjs.map +1 -1
  154. package/fesm2022/acorex-components-color-box.mjs +22 -1
  155. package/fesm2022/acorex-components-color-box.mjs.map +1 -1
  156. package/fesm2022/acorex-components-color-palette.mjs +140 -0
  157. package/fesm2022/acorex-components-color-palette.mjs.map +1 -1
  158. package/fesm2022/acorex-components-comment.mjs +35 -0
  159. package/fesm2022/acorex-components-comment.mjs.map +1 -1
  160. package/fesm2022/acorex-components-common.mjs +44 -0
  161. package/fesm2022/acorex-components-common.mjs.map +1 -1
  162. package/fesm2022/acorex-components-conversation.mjs +372 -0
  163. package/fesm2022/acorex-components-conversation.mjs.map +1 -1
  164. package/fesm2022/acorex-components-data-pager.mjs +62 -0
  165. package/fesm2022/acorex-components-data-pager.mjs.map +1 -1
  166. package/fesm2022/acorex-components-scheduler.mjs +32 -0
  167. package/fesm2022/acorex-components-scheduler.mjs.map +1 -1
  168. package/fesm2022/acorex-components-search-box.mjs +18 -1
  169. package/fesm2022/acorex-components-search-box.mjs.map +1 -1
  170. package/fesm2022/acorex-components-select-box.mjs +49 -1
  171. package/fesm2022/acorex-components-select-box.mjs.map +1 -1
  172. package/fesm2022/acorex-components-selection-list.mjs +50 -0
  173. package/fesm2022/acorex-components-selection-list.mjs.map +1 -1
  174. package/fesm2022/acorex-components-side-menu.mjs +4 -0
  175. package/fesm2022/acorex-components-side-menu.mjs.map +1 -1
  176. package/fesm2022/acorex-components-skeleton.mjs +10 -0
  177. package/fesm2022/acorex-components-skeleton.mjs.map +1 -1
  178. package/fesm2022/acorex-components-slider.mjs +51 -1
  179. package/fesm2022/acorex-components-slider.mjs.map +1 -1
  180. package/fesm2022/acorex-components-step-wizard.mjs +22 -0
  181. package/fesm2022/acorex-components-step-wizard.mjs.map +1 -1
  182. package/fesm2022/acorex-components-switch.mjs +14 -0
  183. package/fesm2022/acorex-components-switch.mjs.map +1 -1
  184. package/fesm2022/acorex-components-tabs.mjs +58 -0
  185. package/fesm2022/acorex-components-tabs.mjs.map +1 -1
  186. package/fesm2022/acorex-components-tag.mjs +1 -0
  187. package/fesm2022/acorex-components-tag.mjs.map +1 -1
  188. package/fesm2022/acorex-components-text-area.mjs +7 -0
  189. package/fesm2022/acorex-components-text-area.mjs.map +1 -1
  190. package/fesm2022/acorex-components-text-box.mjs +12 -0
  191. package/fesm2022/acorex-components-text-box.mjs.map +1 -1
  192. package/fesm2022/acorex-components-toast.mjs +5 -0
  193. package/fesm2022/acorex-components-toast.mjs.map +1 -1
  194. package/fesm2022/acorex-components-tooltip.mjs +4 -0
  195. package/fesm2022/acorex-components-tooltip.mjs.map +1 -1
  196. package/fesm2022/acorex-components-uploader.mjs +39 -2
  197. package/fesm2022/acorex-components-uploader.mjs.map +1 -1
  198. package/fesm2022/acorex-components-wysiwyg.mjs +134 -35
  199. package/fesm2022/acorex-components-wysiwyg.mjs.map +1 -1
  200. package/package.json +71 -71
  201. package/scheduler/lib/scheduler-month-view.component.d.ts +20 -0
  202. package/scheduler/lib/scheduler-week-view.component.d.ts +4 -0
  203. package/scheduler/lib/scheduler.component.d.ts +10 -0
  204. package/search-box/lib/search-box.component.d.ts +19 -1
  205. package/select-box/lib/select-box.component.d.ts +78 -1
  206. package/selection-list/lib/selection-list.component.d.ts +55 -0
  207. package/side-menu/lib/side-menu.component.d.ts +4 -0
  208. package/skeleton/lib/skeleton.component.d.ts +10 -0
  209. package/slider/lib/slider.component.d.ts +51 -1
  210. package/step-wizard/lib/step-wizard.component.d.ts +23 -0
  211. package/switch/lib/switch-content.component.d.ts +4 -0
  212. package/switch/lib/switch.component.d.ts +14 -0
  213. package/tabs/lib/tab-item.component.d.ts +32 -0
  214. package/tabs/lib/tabs.component.d.ts +42 -0
  215. package/tag/lib/tag.component.d.ts +4 -0
  216. package/text-area/lib/text-area.component.d.ts +13 -0
  217. package/text-box/lib/text-box.component.d.ts +27 -0
  218. package/toast/lib/toast.component.d.ts +6 -0
  219. package/tooltip/lib/tooltip.component.d.ts +13 -0
  220. package/uploader/lib/uploader-dialog-container.component.d.ts +15 -0
  221. package/uploader/lib/uploader-drop-zone.component.d.ts +4 -0
  222. package/uploader/lib/uploader-list.component.d.ts +5 -0
  223. package/uploader/lib/uploader.models.d.ts +4 -0
  224. package/wysiwyg/lib/wysiwyg/wysiwyg-container/wysiwyg-container.component.d.ts +19 -3
  225. package/wysiwyg/lib/wysiwyg/wysiwyg-toolbar/wysiwyg-toolbar.component.d.ts +61 -20
  226. package/wysiwyg/lib/wysiwyg/wysiwyg-view/wysiwyg-view.component.d.ts +4 -0
  227. package/wysiwyg/lib/wysiwyg/wysiwyg.service.d.ts +3 -0
@@ -1,7 +1,20 @@
1
1
  import { AXPlacement, MXBaseComponent } from '@acorex/components/common';
2
2
  import * as i0 from "@angular/core";
3
+ /**
4
+ * A component for displaying tooltips with additional information or context when hovering over elements.
5
+ * @category Components
6
+ */
3
7
  export declare class AXTooltipComponent extends MXBaseComponent {
8
+ /**
9
+ * The text content displayed in the tooltip.
10
+ * @defaultValue 'string'
11
+ */
4
12
  text: string;
13
+ /**
14
+ * Specifies the position of the tooltip relative to the target element.
15
+ *
16
+ * @type {AXPlacement}
17
+ */
5
18
  position: AXPlacement;
6
19
  static ɵfac: i0.ɵɵFactoryDeclaration<AXTooltipComponent, never>;
7
20
  static ɵcmp: i0.ɵɵComponentDeclaration<AXTooltipComponent, "ax-tooltip", never, { "text": { "alias": "text"; "required": false; }; "position": { "alias": "position"; "required": false; }; }, {}, never, never, false, never>;
@@ -1,8 +1,23 @@
1
1
  import * as i0 from "@angular/core";
2
+ /**
3
+ * A container for managing the uploader dialog with collapse and expand animations.
4
+ * @category Components
5
+ */
2
6
  export declare class AXUploaderDialogContainerComponent {
7
+ /** @ignore */
3
8
  private parent;
9
+ /**
10
+ * Indicates whether the component is in a collapsed state.
11
+ * @defaultValue false
12
+ */
4
13
  isCollapsed: boolean;
14
+ /**
15
+ * Closes the parent dialog or container.
16
+ */
5
17
  close(): void;
18
+ /**
19
+ * Toggles the collapsed state of the component.
20
+ */
6
21
  toggle(): void;
7
22
  static ɵfac: i0.ɵɵFactoryDeclaration<AXUploaderDialogContainerComponent, never>;
8
23
  static ɵcmp: i0.ɵɵComponentDeclaration<AXUploaderDialogContainerComponent, "ax-uploader-dialog-container", never, {}, {}, never, never, false, never>;
@@ -1,5 +1,9 @@
1
1
  import { MXBaseComponent } from '@acorex/components/common';
2
2
  import * as i0 from "@angular/core";
3
+ /**
4
+ * A component that provides a drop zone area for uploading files.
5
+ * @category Components
6
+ */
3
7
  export declare class AXUploaderDropZoneComponent extends MXBaseComponent {
4
8
  static ɵfac: i0.ɵɵFactoryDeclaration<AXUploaderDropZoneComponent, never>;
5
9
  static ɵcmp: i0.ɵɵComponentDeclaration<AXUploaderDropZoneComponent, "ax-uploader-drop-zone", never, {}, {}, never, never, false, never>;
@@ -1,7 +1,12 @@
1
1
  import { AXBasePageComponent } from '@acorex/components/page';
2
2
  import { AXUploaderService } from './uploader.service';
3
3
  import * as i0 from "@angular/core";
4
+ /**
5
+ * A component that displays a list of uploaded files.
6
+ * @category Components
7
+ */
4
8
  export declare class AXUploaderListComponent extends AXBasePageComponent {
9
+ /** @ignore */
5
10
  protected uploadService: AXUploaderService;
6
11
  static ɵfac: i0.ɵɵFactoryDeclaration<AXUploaderListComponent, never>;
7
12
  static ɵcmp: i0.ɵɵComponentDeclaration<AXUploaderListComponent, "ax-uploader-list", never, {}, {}, never, never, false, never>;
@@ -21,10 +21,13 @@ export declare class AXUploadRequest {
21
21
  estimateTime: import("@angular/core").Signal<number>;
22
22
  private readonly _status;
23
23
  status: import("@angular/core").Signal<AXUploadStatus>;
24
+ private readonly _message;
25
+ message: import("@angular/core").Signal<string>;
24
26
  private startTime;
25
27
  private bytesTransferred;
26
28
  onStart: (file: AXUploadRequest) => void;
27
29
  onCancel: (file: AXUploadRequest) => void;
30
+ onFailed: (file: AXUploadRequest) => void;
28
31
  onComplete: (file: AXUploadRequest) => void;
29
32
  constructor(uploadFile: File);
30
33
  private estimateTimeRemaining;
@@ -32,5 +35,6 @@ export declare class AXUploadRequest {
32
35
  private updateEstimateTime;
33
36
  upload(): Promise<void>;
34
37
  cancel(): void;
38
+ error(message: string): void;
35
39
  finish(data?: any): void;
36
40
  }
@@ -2,10 +2,26 @@ import { AXWysiwyg } from '@acorex/cdk/wysiwyg';
2
2
  import { MXBaseComponent } from '@acorex/components/common';
3
3
  import { AXWysiwygService } from '../wysiwyg.service';
4
4
  import * as i0 from "@angular/core";
5
+ /**
6
+ * A container component for WYSIWYG (What You See Is What You Get) editor functionality.
7
+ * @category Components
8
+ */
5
9
  export declare class AXWysiwygContainerComponent extends MXBaseComponent {
6
- wysiwyg: import("@angular/core").WritableSignal<AXWysiwyg>;
7
- view: import("@angular/core").WritableSignal<HTMLElement>;
8
- service: AXWysiwygService;
10
+ /**
11
+ * @ignore
12
+ */
13
+ protected wysiwyg: import("@angular/core").WritableSignal<AXWysiwyg>;
14
+ /**
15
+ * @ignore
16
+ */
17
+ protected view: import("@angular/core").WritableSignal<HTMLElement>;
18
+ /**
19
+ * @ignore
20
+ */
21
+ protected service: AXWysiwygService;
22
+ /**
23
+ * @ignore
24
+ */
9
25
  constructor();
10
26
  static ɵfac: i0.ɵɵFactoryDeclaration<AXWysiwygContainerComponent, never>;
11
27
  static ɵcmp: i0.ɵɵComponentDeclaration<AXWysiwygContainerComponent, "ax-wysiwyg-container", never, {}, {}, never, ["*"], false, never>;
@@ -1,5 +1,5 @@
1
1
  import { AXWysiwyg } from '@acorex/cdk/wysiwyg';
2
- import { AXClickEvent, AXDataSource, AXPlacement } from '@acorex/components/common';
2
+ import { AXClickEvent, AXPlacement } from '@acorex/components/common';
3
3
  import { AXPopoverCloseTrigger, AXPopoverOpenTrigger } from '@acorex/components/popover';
4
4
  import { AXWysiwygService } from '../wysiwyg.service';
5
5
  import * as i0 from "@angular/core";
@@ -17,23 +17,47 @@ type ConfigType = {
17
17
  alignment: boolean;
18
18
  image: boolean;
19
19
  };
20
+ /**
21
+ * A toolbar component for the WYSIWYG editor, providing various formatting options.
22
+ * @category Components
23
+ */
20
24
  export declare class AXWysiwygToolbarComponent {
25
+ /**
26
+ * Return user input as HTML.
27
+ * @event
28
+ */
21
29
  outputHTML: import("@angular/core").OutputEmitterRef<AXClickEvent>;
30
+ /** @ignore */
22
31
  service: AXWysiwygService;
32
+ /**
33
+ * config wysiwyg toolbar.
34
+ *
35
+ * @defaultValue 'button'
36
+ */
23
37
  config: import("@angular/core").InputSignal<ConfigType>;
38
+ /** @ignore */
24
39
  protected wysiwyg: import("@angular/core").WritableSignal<AXWysiwyg>;
40
+ /** @ignore */
25
41
  protected boldState: import("@angular/core").WritableSignal<boolean>;
42
+ /** @ignore */
26
43
  protected italicState: import("@angular/core").WritableSignal<boolean>;
44
+ /** @ignore */
27
45
  protected underLineState: import("@angular/core").WritableSignal<boolean>;
46
+ /** @ignore */
28
47
  protected strikeLineState: import("@angular/core").WritableSignal<boolean>;
48
+ /** @ignore */
29
49
  protected listState: import("@angular/core").WritableSignal<string>;
50
+ /** @ignore */
30
51
  protected alignState: import("@angular/core").WritableSignal<string>;
31
- protected selectedFont: string;
32
- protected selectedColor: string;
33
- protected selectedHighlightColor: string;
34
- protected linkAddress: string;
52
+ /** @ignore */
53
+ protected selectedFont: import("@angular/core").WritableSignal<string>;
54
+ /** @ignore */
55
+ protected selectedColor: import("@angular/core").WritableSignal<string>;
56
+ /** @ignore */
57
+ protected selectedHighlightColor: import("@angular/core").WritableSignal<string>;
58
+ /** @ignore */
35
59
  constructor();
36
- protected fontSize: AXDataSource<string>;
60
+ /** @ignore */
37
61
  protected popoverOption: {
38
62
  openOn: AXPopoverOpenTrigger;
39
63
  closeOn: AXPopoverCloseTrigger;
@@ -41,26 +65,43 @@ export declare class AXWysiwygToolbarComponent {
41
65
  offsetX: number;
42
66
  offsetY: number;
43
67
  };
68
+ /** @ignore */
44
69
  textBoxOptions: {
45
70
  text: string;
46
71
  placeholder: string;
47
72
  size: string;
48
73
  };
49
- submitLink(): void;
50
- changeColorHandler(e: string): void;
51
- changeHighlightColorHandler(e: string): void;
52
- fontHandler(e: any): void;
53
- bold(): void;
74
+ /** @ignore */
75
+ protected submitLink(): void;
76
+ protected changeColorHandler(e: string): void;
77
+ /** @ignore */
78
+ protected changeHighlightColorHandler(e: string): void;
79
+ /** @ignore */
80
+ protected fontHandler(e: any): void;
81
+ /** @ignore */
82
+ protected bold(): void;
83
+ /**
84
+ * emit html output
85
+ */
54
86
  out(): void;
55
- italic(): void;
56
- underLine(): void;
57
- orderList(): void;
58
- unOrderList(): void;
59
- alignStateHandler(e: any): void;
60
- undo(): void;
61
- redo(): void;
62
- strike(): void;
63
- background(): void;
87
+ /** @ignore */
88
+ protected italic(): void;
89
+ /** @ignore */
90
+ protected underLine(): void;
91
+ /** @ignore */
92
+ protected orderList(): void;
93
+ /** @ignore */
94
+ protected unOrderList(): void;
95
+ /** @ignore */
96
+ protected alignStateHandler(e: any): void;
97
+ /** @ignore */
98
+ protected undo(): void;
99
+ /** @ignore */
100
+ protected redo(): void;
101
+ /** @ignore */
102
+ protected strike(): void;
103
+ /** @ignore */
104
+ protected background(): void;
64
105
  static ɵfac: i0.ɵɵFactoryDeclaration<AXWysiwygToolbarComponent, never>;
65
106
  static ɵcmp: i0.ɵɵComponentDeclaration<AXWysiwygToolbarComponent, "ax-wysiwyg-toolbar", never, { "config": { "alias": "config"; "required": false; "isSignal": true; }; }, { "outputHTML": "outputHTML"; }, never, ["ax-prefix", "ax-suffix"], false, never>;
66
107
  }
@@ -1,5 +1,9 @@
1
1
  import { AXWysiwygService } from '../wysiwyg.service';
2
2
  import * as i0 from "@angular/core";
3
+ /**
4
+ * @category Components
5
+ * A component for viewing WYSIWYG content.
6
+ */
3
7
  export declare class AXWysiwygViewComponent {
4
8
  classes: import("@angular/core").InputSignal<string>;
5
9
  wysiwygService: AXWysiwygService;
@@ -3,6 +3,9 @@ import * as i0 from "@angular/core";
3
3
  export declare class AXWysiwygService {
4
4
  wysiwyg: import("@angular/core").WritableSignal<AXWysiwyg>;
5
5
  currentSelectedElemArray: import("@angular/core").WritableSignal<string[]>;
6
+ currentSelectedElemClass: import("@angular/core").WritableSignal<string>;
7
+ currentSelectedElemList: import("@angular/core").WritableSignal<string>;
8
+ currentSelectedElemAlign: import("@angular/core").WritableSignal<string>;
6
9
  static ɵfac: i0.ɵɵFactoryDeclaration<AXWysiwygService, never>;
7
10
  static ɵprov: i0.ɵɵInjectableDeclaration<AXWysiwygService>;
8
11
  }