@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 +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 currentSelectedElemArray = signal<string[]>([]);\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-editor-wrapper') 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, AXPlacement } from '@acorex/components/common';\nimport { AXPopoverCloseTrigger, AXPopoverOpenTrigger } from '@acorex/components/popover';\nimport { Component, ViewEncapsulation, afterNextRender, effect, inject, input, output, signal } from '@angular/core';\nimport { AXWysiwygService } from '../wysiwyg.service';\n\ntype ConfigType = {\n bold: boolean;\n undo: boolean;\n redo: boolean;\n italic: boolean;\n underLine: boolean;\n strike: boolean;\n color: boolean;\n highlight: boolean;\n fontSize: boolean;\n list: boolean;\n alignment: boolean;\n image: boolean;\n};\n\n@Component({\n selector: 'ax-wysiwyg-toolbar',\n templateUrl: './wysiwyg-toolbar.component.html',\n styleUrl: './wysiwyg-toolbar.component.scss',\n encapsulation: ViewEncapsulation.None,\n})\nexport class AXWysiwygToolbarComponent {\n outputHTML = output<AXClickEvent>();\n service = inject(AXWysiwygService);\n\n config = input<ConfigType>({\n bold: true,\n undo: true,\n redo: true,\n italic: true,\n underLine: true,\n strike: true,\n color: true,\n highlight: true,\n fontSize: true,\n list: true,\n alignment: true,\n image: true,\n });\n\n protected wysiwyg = signal<AXWysiwyg | null>(null);\n protected boldState = signal(false);\n protected italicState = signal(false);\n protected underLineState = signal(false);\n protected strikeLineState = signal(false);\n protected listState = signal('');\n protected alignState = signal('');\n protected selectedFont = 'medium';\n protected selectedColor = '';\n protected selectedHighlightColor = '';\n protected linkAddress = '';\n\n constructor() {\n effect(\n () => {\n this.wysiwyg().bold(false);\n this.boldState.set(false);\n this.wysiwyg().italic(false);\n this.italicState.set(false);\n this.wysiwyg().strike(false);\n this.strikeLineState.set(false);\n this.wysiwyg().underLine(false);\n this.underLineState.set(false);\n\n this.service.currentSelectedElemArray().forEach((item) => {\n switch (item) {\n case 'U':\n this.wysiwyg().underLine(true);\n this.underLineState.set(true);\n break;\n case 'S':\n this.wysiwyg().strike(true);\n this.strikeLineState.set(true);\n break;\n case 'EM':\n this.wysiwyg().italic(true);\n this.italicState.set(true);\n break;\n case 'STRONG':\n this.wysiwyg().bold(true);\n this.boldState.set(true);\n break;\n }\n });\n },\n { allowSignalWrites: true },\n );\n afterNextRender(() => {\n this.wysiwyg.set(this.service.wysiwyg());\n });\n }\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\n protected popoverOption: {\n openOn: AXPopoverOpenTrigger;\n closeOn: AXPopoverCloseTrigger;\n placement: AXPlacement;\n offsetX: number;\n offsetY: number;\n } = {\n openOn: 'click',\n closeOn: 'clickOut',\n placement: 'top',\n offsetX: 0,\n offsetY: 0,\n };\n\n textBoxOptions = {\n text: '',\n placeholder: 'Enter yor url ...',\n size: 'ax-sm',\n };\n\n submitLink() {\n this.wysiwyg().addImage(this.textBoxOptions.text);\n }\n\n changeColorHandler(e: string) {\n this.selectedColor = e;\n this.wysiwyg().color(e);\n }\n\n changeHighlightColorHandler(e: string) {\n this.selectedHighlightColor = e;\n this.wysiwyg().background(e);\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.listState() || this.listState() === 'bullet') {\n this.wysiwyg().list('ordered');\n this.listState.set('ordered');\n } else {\n this.wysiwyg().list('');\n this.listState.set('');\n }\n }\n\n unOrderList() {\n if (!this.listState() || this.listState() === 'ordered') {\n this.wysiwyg().list('bullet');\n this.listState.set('bullet');\n } else {\n this.wysiwyg().list('');\n this.listState.set('');\n }\n }\n\n alignStateHandler(e: any) {\n this.alignState.set(e);\n this.wysiwyg().align(e);\n }\n\n undo() {\n this.wysiwyg().undo();\n }\n\n redo() {\n this.wysiwyg().redo();\n }\n\n strike() {\n if (this.strikeLineState()) {\n this.wysiwyg().strike(false);\n this.strikeLineState.set(false);\n } else {\n this.wysiwyg().strike(true);\n this.strikeLineState.set(true);\n }\n }\n\n background() {\n this.wysiwyg().background('red');\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 @if (config().undo) {\n <ax-button class=\"\" (click)=\"undo()\" look=\"blank\">\n <ax-icon class=\"ax-icon ax-icon-undo\"></ax-icon>\n </ax-button>\n }\n\n @if (config().redo) {\n <ax-button class=\"\" (click)=\"redo()\" look=\"blank\">\n <ax-icon class=\"ax-icon ax-icon-redo\"></ax-icon>\n </ax-button>\n }\n @if (config().bold) {\n <ax-button (click)=\"bold()\" look=\"blank\" [selected]=\"boldState() ? true : false\">\n <ax-icon class=\"ax-icon ax-icon-bold\"></ax-icon>\n </ax-button>\n }\n @if (config().italic) {\n <ax-button (click)=\"italic()\" look=\"blank\" [selected]=\"italicState() ? true : false\">\n <ax-icon class=\"ax-icon ax-icon-italic\"></ax-icon>\n </ax-button>\n }\n @if (config().underLine) {\n <ax-button (click)=\"underLine()\" look=\"blank\" [selected]=\"underLineState() ? true : false\">\n <ax-icon class=\"ax-icon ax-icon-under-line\"></ax-icon>\n </ax-button>\n }\n @if (config().strike) {\n <ax-button (click)=\"strike()\" look=\"blank\" [selected]=\"strikeLineState() ? true : false\">\n <ax-icon class=\"ax-icon ax-icon-strike\"></ax-icon>\n </ax-button>\n }\n @if (config().color) {\n <ax-button #colorBtn look=\"blank\">\n <ax-icon class=\"ax-icon ax-icon-color-palette\"></ax-icon>\n </ax-button>\n <ax-popover\n [openOn]=\"popoverOption.openOn\"\n [closeOn]=\"popoverOption.closeOn\"\n [target]=\"colorBtn\"\n [placement]=\"popoverOption.placement\"\n >\n <div class=\"ax-overlay-pane\">\n <ax-color-palette (ngModelChange)=\"changeColorHandler($event)\" [ngModel]=\"selectedColor\">\n <ax-color-palette-preview></ax-color-palette-preview>\n <ax-color-palette-picker></ax-color-palette-picker>\n <ax-color-palette-input></ax-color-palette-input>\n </ax-color-palette>\n </div>\n </ax-popover>\n }\n @if (config().highlight) {\n <ax-button #highlightBtn look=\"blank\">\n <ax-icon class=\"ax-icon ax-icon-highlight\"></ax-icon>\n </ax-button>\n <ax-popover\n [openOn]=\"popoverOption.openOn\"\n [closeOn]=\"popoverOption.closeOn\"\n [target]=\"highlightBtn\"\n [placement]=\"popoverOption.placement\"\n >\n <div class=\"ax-overlay-pane\">\n <ax-color-palette (ngModelChange)=\"changeHighlightColorHandler($event)\" [ngModel]=\"selectedHighlightColor\">\n <ax-color-palette-preview></ax-color-palette-preview>\n <ax-color-palette-picker></ax-color-palette-picker>\n <ax-color-palette-input></ax-color-palette-input>\n </ax-color-palette>\n </div>\n </ax-popover>\n }\n @if (config().fontSize) {\n <ax-select-box (ngModelChange)=\"fontHandler($event)\" [ngModel]=\"selectedFont\" [dataSource]=\"fontSize\" placeholder=\"Choose...\">\n </ax-select-box>\n }\n @if (config().list) {\n <ax-button (click)=\"orderList()\" look=\"blank\" [selected]=\"listState() === 'ordered' ? true : false\">\n <ax-icon class=\"ax-icon ax-icon-order-list\"></ax-icon>\n </ax-button>\n\n <ax-button (click)=\"unOrderList()\" look=\"blank\" [selected]=\"listState() === 'bullet' ? true : false\">\n <ax-icon class=\"ax-icon ax-icon-un-order-list\"></ax-icon>\n </ax-button>\n }\n @if (config().alignment) {\n <ax-button look=\"blank\" #alignPop>\n <ax-icon class=\"ax-icon ax-icon-align-left\"></ax-icon>\n </ax-button>\n <ax-popover\n [openOn]=\"popoverOption.openOn\"\n [closeOn]=\"popoverOption.closeOn\"\n [target]=\"alignPop\"\n [placement]=\"popoverOption.placement\"\n >\n <div class=\"ax-overlay-pane\">\n <ax-button (click)=\"alignStateHandler('left')\" look=\"blank\" [selected]=\"alignState() === 'left' ? true : false\">\n <ax-icon class=\"ax-icon ax-icon-align-left\"></ax-icon>\n </ax-button>\n\n <ax-button (click)=\"alignStateHandler('center')\" look=\"blank\" [selected]=\"alignState() === 'center' ? true : false\">\n <ax-icon class=\"ax-icon ax-icon-align-center\"></ax-icon>\n </ax-button>\n\n <ax-button (click)=\"alignStateHandler('right')\" look=\"blank\" [selected]=\"alignState() === 'right' ? true : false\">\n <ax-icon class=\"ax-icon ax-icon-align-right\"></ax-icon>\n </ax-button>\n </div>\n </ax-popover>\n }\n @if (config().image) {\n <ax-button #linkBtn look=\"blank\">\n <ax-icon class=\"ax-icon ax-icon-image\"></ax-icon>\n </ax-button>\n\n <ax-popover\n [openOn]=\"popoverOption.openOn\"\n [closeOn]=\"popoverOption.closeOn\"\n [target]=\"linkBtn\"\n [placement]=\"popoverOption.placement\"\n >\n <ax-text-box class=\"{{ textBoxOptions.size }}\" [(ngModel)]=\"textBoxOptions.text\" [placeholder]=\"textBoxOptions.placeholder\">\n </ax-text-box>\n <ax-suffix>\n <ax-button (click)=\"submitLink()\" class=\"ax-sm\" color=\"secondary\" text=\"Add\"> </ax-button>\n </ax-suffix>\n </ax-popover>\n }\n </div>\n\n <ng-content select=\"ax-suffix\"></ng-content>\n</div>\n","import { Component, HostBinding, inject, input, ViewEncapsulation } from '@angular/core';\nimport { AXWysiwygService } from '../wysiwyg.service';\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 classes = input<string>('', { alias: 'class' });\n\n wysiwygService = inject(AXWysiwygService);\n\n @HostBinding('class')\n get __hostClass(): string {\n return `${this.classes()}`;\n }\n\n editorStateHandler(e: any) {\n this.wysiwygService.currentSelectedElemArray.set([\n e.target.nodeName,\n e.target.parentElement.nodeName,\n e.target.parentElement.parentElement.nodeName,\n e.target.parentElement.parentElement.parentElement.nodeName,\n ]);\n }\n}\n","<div class=\"ax-editor-wrapper\" (click)=\"editorStateHandler($event)\">\n <!-- wysiwyg editor render here -->\n</div>\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 { AXColorPaletteModule } from '@acorex/components/color-palette';\nimport { AXPopoverModule } from '@acorex/components/popover';\nimport { AXTextBoxModule } from '@acorex/components/text-box';\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];\n\nconst MODULES = [AXButtonModule, AXDecoratorModule, AXSelectBoxModule, FormsModule, AXColorPaletteModule, AXPopoverModule, AXTextBoxModule];\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;AAEzC,QAAA,IAAA,CAAA,wBAAwB,GAAG,MAAM,CAAW,EAAE,CAAC,CAAC;AACjD,KAAA;8GAJY,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;AALV,QAAA,IA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,EAAE,sBAAsB,EAAE,yBAAyB,CAEhF,EAAA,OAAA,EAAA,CAAA,cAAc,EAAE,iBAAiB,EAAE,iBAAiB,EAAE,WAAW,EAAE,oBAAoB,EAAE,eAAe,EAAE,eAAe,CAAA,EAAA,OAAA,EAAA,CAFvH,2BAA2B,EAAE,sBAAsB,EAAE,yBAAyB,CAAA,EAAA,CAAA,CAAA,EAAA;AAUpF,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,eAAe,EAFf,SAAA,EAAA,CAAC,gBAAgB,CAAC,YAFhB,OAAO,CAAA,EAAA,CAAA,CAAA,EAAA;;2FAIT,eAAe,EAAA,UAAA,EAAA,CAAA;kBAN3B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,YAAY,EAAE,CAAC,GAAG,SAAS,CAAC;AAC5B,oBAAA,OAAO,EAAE,CAAC,GAAG,OAAO,CAAC;AACrB,oBAAA,OAAO,EAAE,CAAC,GAAG,SAAS,CAAC;oBACvB,SAAS,EAAE,CAAC,gBAAgB,CAAC;AAC9B,iBAAA,CAAA;;;ACvBD;;AAEG;;;;"}
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 currentSelectedElemArray = signal<string[]>([]);\n currentSelectedElemClass = signal<string>('');\n currentSelectedElemList = signal<string>('');\n currentSelectedElemAlign = signal<string>('');\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/**\n * A container component for WYSIWYG (What You See Is What You Get) editor functionality.\n * @category Components\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 /**\n * @ignore\n */\n protected wysiwyg = signal<AXWysiwyg>(null);\n /**\n * @ignore\n */\n protected view = signal<HTMLElement | null>(null);\n /**\n * @ignore\n */\n protected service = inject(AXWysiwygService);\n\n /**\n * @ignore\n */\n constructor() {\n super();\n afterNextRender(() => {\n this.view.set(this.getHostElement().querySelector('.ax-editor-wrapper') as HTMLElement);\n\n this.wysiwyg.set(\n new AXWysiwyg(this.view(), {\n placeholder: 'Write Your Message ...',\n readOnly: true,\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, AXPlacement } from '@acorex/components/common';\nimport { AXPopoverCloseTrigger, AXPopoverOpenTrigger } from '@acorex/components/popover';\nimport { Component, ViewEncapsulation, afterNextRender, effect, inject, input, output, signal } from '@angular/core';\nimport { AXWysiwygService } from '../wysiwyg.service';\n\ntype ConfigType = {\n bold: boolean;\n undo: boolean;\n redo: boolean;\n italic: boolean;\n underLine: boolean;\n strike: boolean;\n color: boolean;\n highlight: boolean;\n fontSize: boolean;\n list: boolean;\n alignment: boolean;\n image: boolean;\n};\n\n/**\n * A toolbar component for the WYSIWYG editor, providing various formatting options.\n * @category Components\n */\n@Component({\n selector: 'ax-wysiwyg-toolbar',\n templateUrl: './wysiwyg-toolbar.component.html',\n styleUrl: './wysiwyg-toolbar.component.scss',\n encapsulation: ViewEncapsulation.None,\n})\nexport class AXWysiwygToolbarComponent {\n /**\n * Return user input as HTML.\n * @event\n */\n outputHTML = output<AXClickEvent>();\n\n /** @ignore */\n service = inject(AXWysiwygService);\n\n /**\n * config wysiwyg toolbar.\n *\n * @defaultValue 'button'\n */\n config = input<ConfigType>({\n bold: true,\n undo: true,\n redo: true,\n italic: true,\n underLine: true,\n strike: true,\n color: true,\n highlight: true,\n fontSize: true,\n list: true,\n alignment: true,\n image: true,\n });\n\n /** @ignore */\n protected wysiwyg = signal<AXWysiwyg | null>(null);\n /** @ignore */\n protected boldState = signal(false);\n /** @ignore */\n protected italicState = signal(false);\n /** @ignore */\n protected underLineState = signal(false);\n /** @ignore */\n protected strikeLineState = signal(false);\n /** @ignore */\n protected listState = signal('');\n /** @ignore */\n protected alignState = signal('');\n /** @ignore */\n protected selectedFont = signal('medium');\n /** @ignore */\n protected selectedColor = signal('rgb(243, 238, 238)');\n /** @ignore */\n protected selectedHighlightColor = signal('none');\n\n /** @ignore */\n constructor() {\n effect(\n () => {\n switch (this.service.currentSelectedElemList()) {\n case 'ordered':\n this.wysiwyg().list('ordered');\n this.listState.set('ordered');\n break;\n case 'bullet':\n this.wysiwyg().list('bullet');\n this.listState.set('bullet');\n break;\n default:\n this.wysiwyg().list('');\n this.listState.set('');\n }\n\n switch (this.service.currentSelectedElemClass()) {\n case 'ql-size-huge':\n this.selectedFont.set('huge');\n break;\n case 'ql-size-large':\n this.selectedFont.set('large');\n break;\n case 'ql-size-small':\n this.selectedFont.set('small');\n break;\n default:\n this.selectedFont.set('medium');\n }\n\n switch (this.service.currentSelectedElemAlign()) {\n case 'ql-align-center':\n this.alignState.set('center');\n this.wysiwyg().align('center');\n break;\n case 'ql-align-right':\n this.alignState.set('right');\n this.wysiwyg().align('right');\n break;\n default:\n this.alignState.set('left');\n this.wysiwyg().align('left');\n }\n\n this.service.currentSelectedElemArray().forEach((item) => {\n switch (item) {\n case 'U':\n this.wysiwyg().underLine(true);\n this.underLineState.set(true);\n break;\n case 'S':\n this.wysiwyg().strike(true);\n this.strikeLineState.set(true);\n break;\n case 'EM':\n this.wysiwyg().italic(true);\n this.italicState.set(true);\n break;\n case 'STRONG':\n this.wysiwyg().bold(true);\n this.boldState.set(true);\n break;\n\n default:\n if (this.boldState()) this.wysiwyg().bold(true);\n if (this.italicState()) this.wysiwyg().italic(true);\n if (this.strikeLineState()) this.wysiwyg().strike(true);\n if (this.underLineState()) this.wysiwyg().underLine(true);\n }\n });\n },\n { allowSignalWrites: true },\n );\n afterNextRender(() => {\n this.wysiwyg.set(this.service.wysiwyg());\n });\n }\n\n /** @ignore */\n protected popoverOption: {\n openOn: AXPopoverOpenTrigger;\n closeOn: AXPopoverCloseTrigger;\n placement: AXPlacement;\n offsetX: number;\n offsetY: number;\n } = {\n openOn: 'click',\n closeOn: 'clickOut',\n placement: 'top',\n offsetX: 0,\n offsetY: 0,\n };\n\n /** @ignore */\n textBoxOptions = {\n text: '',\n placeholder: 'Enter yor url ...',\n size: 'ax-sm',\n };\n\n /** @ignore */\n protected submitLink() {\n this.wysiwyg().addImage(this.textBoxOptions.text);\n }\n\n // /** @ignore */\n protected changeColorHandler(e: string) {\n this.selectedColor.set(e);\n this.wysiwyg().color(e);\n }\n\n /** @ignore */\n protected changeHighlightColorHandler(e: string) {\n this.selectedHighlightColor.set(e);\n this.wysiwyg().background(e);\n }\n\n /** @ignore */\n protected fontHandler(e: any) {\n if (e === 'medium') {\n this.wysiwyg().fontSize(false);\n } else {\n this.wysiwyg().fontSize(e);\n }\n }\n\n /** @ignore */\n protected 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 /**\n * emit html output\n */\n out() {\n this.outputHTML.emit({\n component: this,\n data: { value: this.wysiwyg().HTMLoutput },\n isUserInteraction: true,\n });\n }\n\n /** @ignore */\n protected 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 /** @ignore */\n protected 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 /** @ignore */\n protected orderList() {\n if (!this.listState() || this.listState() === 'bullet') {\n this.wysiwyg().list('ordered');\n this.listState.set('ordered');\n } else {\n this.wysiwyg().list('');\n this.listState.set('');\n }\n }\n\n /** @ignore */\n protected unOrderList() {\n if (!this.listState() || this.listState() === 'ordered') {\n this.wysiwyg().list('bullet');\n this.listState.set('bullet');\n } else {\n this.wysiwyg().list('');\n this.listState.set('');\n }\n }\n\n /** @ignore */\n protected alignStateHandler(e: any) {\n this.alignState.set(e);\n this.wysiwyg().align(e);\n }\n\n /** @ignore */\n protected undo() {\n this.wysiwyg().undo();\n }\n\n /** @ignore */\n protected redo() {\n this.wysiwyg().redo();\n }\n\n /** @ignore */\n protected strike() {\n if (this.strikeLineState()) {\n this.wysiwyg().strike(false);\n this.strikeLineState.set(false);\n } else {\n this.wysiwyg().strike(true);\n this.strikeLineState.set(true);\n }\n }\n\n /** @ignore */\n protected background() {\n this.wysiwyg().background('red');\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 @if (config().undo) {\n <ax-button class=\"\" (click)=\"undo()\" look=\"blank\">\n <ax-icon class=\"ax-icon ax-icon-undo\"></ax-icon>\n </ax-button>\n }\n\n @if (config().redo) {\n <ax-button class=\"\" (click)=\"redo()\" look=\"blank\">\n <ax-icon class=\"ax-icon ax-icon-redo\"></ax-icon>\n </ax-button>\n }\n @if (config().bold) {\n <ax-button (click)=\"bold()\" look=\"blank\" [selected]=\"boldState() ? true : false\">\n <ax-icon class=\"ax-icon ax-icon-bold\"></ax-icon>\n </ax-button>\n }\n @if (config().italic) {\n <ax-button (click)=\"italic()\" look=\"blank\" [selected]=\"italicState() ? true : false\">\n <ax-icon class=\"ax-icon ax-icon-italic\"></ax-icon>\n </ax-button>\n }\n @if (config().underLine) {\n <ax-button (click)=\"underLine()\" look=\"blank\" [selected]=\"underLineState() ? true : false\">\n <ax-icon class=\"ax-icon ax-icon-under-line\"></ax-icon>\n </ax-button>\n }\n @if (config().strike) {\n <ax-button (click)=\"strike()\" look=\"blank\" [selected]=\"strikeLineState() ? true : false\">\n <ax-icon class=\"ax-icon ax-icon-strike\"></ax-icon>\n </ax-button>\n }\n @if (config().color) {\n <ax-button #colorBtn look=\"blank\">\n <ax-icon class=\"ax-icon ax-icon-color-palette\"></ax-icon>\n </ax-button>\n <ax-popover\n [openOn]=\"popoverOption.openOn\"\n [closeOn]=\"popoverOption.closeOn\"\n [target]=\"colorBtn\"\n [placement]=\"popoverOption.placement\"\n >\n <div class=\"ax-overlay-pane\">\n <ax-color-palette (ngModelChange)=\"changeColorHandler($event)\" [ngModel]=\"selectedColor()\">\n <ax-color-palette-preview></ax-color-palette-preview>\n <ax-color-palette-picker></ax-color-palette-picker>\n <ax-color-palette-input></ax-color-palette-input>\n </ax-color-palette>\n </div>\n </ax-popover>\n }\n @if (config().highlight) {\n <ax-button #highlightBtn look=\"blank\">\n <ax-icon class=\"ax-icon ax-icon-highlight\"></ax-icon>\n </ax-button>\n <ax-popover\n [openOn]=\"popoverOption.openOn\"\n [closeOn]=\"popoverOption.closeOn\"\n [target]=\"highlightBtn\"\n [placement]=\"popoverOption.placement\"\n >\n <div class=\"ax-overlay-pane\">\n <ax-color-palette (ngModelChange)=\"changeHighlightColorHandler($event)\" [ngModel]=\"selectedHighlightColor()\">\n <ax-color-palette-preview></ax-color-palette-preview>\n <ax-color-palette-picker></ax-color-palette-picker>\n <ax-color-palette-input></ax-color-palette-input>\n </ax-color-palette>\n </div>\n </ax-popover>\n }\n @if (config().fontSize) {\n <ax-select-box\n (ngModelChange)=\"fontHandler($event)\"\n [ngModel]=\"selectedFont()\"\n [dataSource]=\"['small', 'medium', 'large', 'huge']\"\n placeholder=\"Choose...\"\n >\n </ax-select-box>\n }\n @if (config().list) {\n <ax-button (click)=\"orderList()\" look=\"blank\" [selected]=\"listState() === 'ordered' ? true : false\">\n <ax-icon class=\"ax-icon ax-icon-order-list\"></ax-icon>\n </ax-button>\n\n <ax-button (click)=\"unOrderList()\" look=\"blank\" [selected]=\"listState() === 'bullet' ? true : false\">\n <ax-icon class=\"ax-icon ax-icon-un-order-list\"></ax-icon>\n </ax-button>\n }\n @if (config().alignment) {\n <ax-button look=\"blank\" #alignPop>\n <ax-icon class=\"ax-icon ax-icon-align-left\"></ax-icon>\n </ax-button>\n <ax-popover\n [openOn]=\"popoverOption.openOn\"\n [closeOn]=\"popoverOption.closeOn\"\n [target]=\"alignPop\"\n [placement]=\"popoverOption.placement\"\n >\n <div class=\"ax-overlay-pane\">\n <ax-button (click)=\"alignStateHandler('left')\" look=\"blank\" [selected]=\"alignState() === 'left' ? true : false\">\n <ax-icon class=\"ax-icon ax-icon-align-left\"></ax-icon>\n </ax-button>\n\n <ax-button (click)=\"alignStateHandler('center')\" look=\"blank\" [selected]=\"alignState() === 'center' ? true : false\">\n <ax-icon class=\"ax-icon ax-icon-align-center\"></ax-icon>\n </ax-button>\n\n <ax-button (click)=\"alignStateHandler('right')\" look=\"blank\" [selected]=\"alignState() === 'right' ? true : false\">\n <ax-icon class=\"ax-icon ax-icon-align-right\"></ax-icon>\n </ax-button>\n </div>\n </ax-popover>\n }\n @if (config().image) {\n <ax-button #linkBtn look=\"blank\">\n <ax-icon class=\"ax-icon ax-icon-image\"></ax-icon>\n </ax-button>\n\n <ax-popover\n [openOn]=\"popoverOption.openOn\"\n [closeOn]=\"popoverOption.closeOn\"\n [target]=\"linkBtn\"\n [placement]=\"popoverOption.placement\"\n >\n <ax-text-box class=\"{{ textBoxOptions.size }}\" [(ngModel)]=\"textBoxOptions.text\" [placeholder]=\"textBoxOptions.placeholder\">\n </ax-text-box>\n <ax-suffix>\n <ax-button (click)=\"submitLink()\" class=\"ax-sm\" color=\"secondary\" text=\"Add\"> </ax-button>\n </ax-suffix>\n </ax-popover>\n }\n </div>\n\n <ng-content select=\"ax-suffix\"></ng-content>\n</div>\n","import { Component, HostBinding, inject, input, ViewEncapsulation } from '@angular/core';\nimport { AXWysiwygService } from '../wysiwyg.service';\n\n/**\n * @category Components\n * A component for viewing WYSIWYG content.\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 classes = input<string>('', { alias: 'class' });\n\n wysiwygService = inject(AXWysiwygService);\n\n @HostBinding('class')\n get __hostClass(): string {\n return `${this.classes()}`;\n }\n\n editorStateHandler(e: any) {\n this.wysiwygService.currentSelectedElemAlign.set(e.target.classList.value);\n this.wysiwygService.currentSelectedElemList.set(e.target.dataset.list);\n this.wysiwygService.currentSelectedElemClass.set(e.target.classList.value);\n this.wysiwygService.currentSelectedElemArray.set([\n e.target.nodeName,\n e.target.parentElement.nodeName,\n e.target.parentElement.parentElement.nodeName,\n e.target.parentElement.parentElement.parentElement.nodeName,\n e.target.classList.value,\n ]);\n }\n}\n","<div class=\"ax-editor-wrapper\" (click)=\"editorStateHandler($event)\">\n <!-- wysiwyg editor render here -->\n</div>\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 { AXColorPaletteModule } from '@acorex/components/color-palette';\nimport { AXPopoverModule } from '@acorex/components/popover';\nimport { AXTextBoxModule } from '@acorex/components/text-box';\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];\n\nconst MODULES = [AXButtonModule, AXDecoratorModule, AXSelectBoxModule, FormsModule, AXColorPaletteModule, AXPopoverModule, AXTextBoxModule];\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;AAEzC,QAAA,IAAA,CAAA,wBAAwB,GAAG,MAAM,CAAW,EAAE,CAAC,CAAC;AAChD,QAAA,IAAA,CAAA,wBAAwB,GAAG,MAAM,CAAS,EAAE,CAAC,CAAC;AAC9C,QAAA,IAAA,CAAA,uBAAuB,GAAG,MAAM,CAAS,EAAE,CAAC,CAAC;AAC7C,QAAA,IAAA,CAAA,wBAAwB,GAAG,MAAM,CAAS,EAAE,CAAC,CAAC;AAC/C,KAAA;8GAPY,gBAAgB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EAAA,CAAC,gBAAgB,CAAC,YAFhB,OAAO,CAAA,EAAA,CAAA,CAAA,EAAA;;2FAIT,eAAe,EAAA,UAAA,EAAA,CAAA;kBAN3B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,YAAY,EAAE,CAAC,GAAG,SAAS,CAAC;AAC5B,oBAAA,OAAO,EAAE,CAAC,GAAG,OAAO,CAAC;AACrB,oBAAA,OAAO,EAAE,CAAC,GAAG,SAAS,CAAC;oBACvB,SAAS,EAAE,CAAC,gBAAgB,CAAC;AAC9B,iBAAA,CAAA;;;ACvBD;;AAEG;;;;"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@acorex/components",
3
- "version": "18.5.15",
3
+ "version": "18.5.17",
4
4
  "peerDependencies": {
5
5
  "@angular/common": ">=18.0.0",
6
6
  "@angular/core": ">=18.0.0",
@@ -31,11 +31,11 @@
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
39
  },
40
40
  "./avatar": {
41
41
  "types": "./avatar/index.d.ts",
@@ -43,24 +43,24 @@
43
43
  "esm": "./esm2022/avatar/acorex-components-avatar.mjs",
44
44
  "default": "./fesm2022/acorex-components-avatar.mjs"
45
45
  },
46
- "./bottom-navigation": {
47
- "types": "./bottom-navigation/index.d.ts",
48
- "esm2022": "./esm2022/bottom-navigation/acorex-components-bottom-navigation.mjs",
49
- "esm": "./esm2022/bottom-navigation/acorex-components-bottom-navigation.mjs",
50
- "default": "./fesm2022/acorex-components-bottom-navigation.mjs"
51
- },
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
46
  "./audio-wave": {
59
47
  "types": "./audio-wave/index.d.ts",
60
48
  "esm2022": "./esm2022/audio-wave/acorex-components-audio-wave.mjs",
61
49
  "esm": "./esm2022/audio-wave/acorex-components-audio-wave.mjs",
62
50
  "default": "./fesm2022/acorex-components-audio-wave.mjs"
63
51
  },
52
+ "./badge": {
53
+ "types": "./badge/index.d.ts",
54
+ "esm2022": "./esm2022/badge/acorex-components-badge.mjs",
55
+ "esm": "./esm2022/badge/acorex-components-badge.mjs",
56
+ "default": "./fesm2022/acorex-components-badge.mjs"
57
+ },
58
+ "./bottom-navigation": {
59
+ "types": "./bottom-navigation/index.d.ts",
60
+ "esm2022": "./esm2022/bottom-navigation/acorex-components-bottom-navigation.mjs",
61
+ "esm": "./esm2022/bottom-navigation/acorex-components-bottom-navigation.mjs",
62
+ "default": "./fesm2022/acorex-components-bottom-navigation.mjs"
63
+ },
64
64
  "./breadcrumbs": {
65
65
  "types": "./breadcrumbs/index.d.ts",
66
66
  "esm2022": "./esm2022/breadcrumbs/acorex-components-breadcrumbs.mjs",
@@ -85,18 +85,18 @@
85
85
  "esm": "./esm2022/calendar/acorex-components-calendar.mjs",
86
86
  "default": "./fesm2022/acorex-components-calendar.mjs"
87
87
  },
88
- "./chips": {
89
- "types": "./chips/index.d.ts",
90
- "esm2022": "./esm2022/chips/acorex-components-chips.mjs",
91
- "esm": "./esm2022/chips/acorex-components-chips.mjs",
92
- "default": "./fesm2022/acorex-components-chips.mjs"
93
- },
94
88
  "./check-box": {
95
89
  "types": "./check-box/index.d.ts",
96
90
  "esm2022": "./esm2022/check-box/acorex-components-check-box.mjs",
97
91
  "esm": "./esm2022/check-box/acorex-components-check-box.mjs",
98
92
  "default": "./fesm2022/acorex-components-check-box.mjs"
99
93
  },
94
+ "./chips": {
95
+ "types": "./chips/index.d.ts",
96
+ "esm2022": "./esm2022/chips/acorex-components-chips.mjs",
97
+ "esm": "./esm2022/chips/acorex-components-chips.mjs",
98
+ "default": "./fesm2022/acorex-components-chips.mjs"
99
+ },
100
100
  "./circular-progress": {
101
101
  "types": "./circular-progress/index.d.ts",
102
102
  "esm2022": "./esm2022/circular-progress/acorex-components-circular-progress.mjs",
@@ -145,18 +145,18 @@
145
145
  "esm": "./esm2022/data-table/acorex-components-data-table.mjs",
146
146
  "default": "./fesm2022/acorex-components-data-table.mjs"
147
147
  },
148
- "./datetime-box": {
149
- "types": "./datetime-box/index.d.ts",
150
- "esm2022": "./esm2022/datetime-box/acorex-components-datetime-box.mjs",
151
- "esm": "./esm2022/datetime-box/acorex-components-datetime-box.mjs",
152
- "default": "./fesm2022/acorex-components-datetime-box.mjs"
153
- },
154
148
  "./data-pager": {
155
149
  "types": "./data-pager/index.d.ts",
156
150
  "esm2022": "./esm2022/data-pager/acorex-components-data-pager.mjs",
157
151
  "esm": "./esm2022/data-pager/acorex-components-data-pager.mjs",
158
152
  "default": "./fesm2022/acorex-components-data-pager.mjs"
159
153
  },
154
+ "./datetime-box": {
155
+ "types": "./datetime-box/index.d.ts",
156
+ "esm2022": "./esm2022/datetime-box/acorex-components-datetime-box.mjs",
157
+ "esm": "./esm2022/datetime-box/acorex-components-datetime-box.mjs",
158
+ "default": "./fesm2022/acorex-components-datetime-box.mjs"
159
+ },
160
160
  "./datetime-input": {
161
161
  "types": "./datetime-input/index.d.ts",
162
162
  "esm2022": "./esm2022/datetime-input/acorex-components-datetime-input.mjs",
@@ -205,18 +205,18 @@
205
205
  "esm": "./esm2022/form/acorex-components-form.mjs",
206
206
  "default": "./fesm2022/acorex-components-form.mjs"
207
207
  },
208
- "./image": {
209
- "types": "./image/index.d.ts",
210
- "esm2022": "./esm2022/image/acorex-components-image.mjs",
211
- "esm": "./esm2022/image/acorex-components-image.mjs",
212
- "default": "./fesm2022/acorex-components-image.mjs"
213
- },
214
208
  "./label": {
215
209
  "types": "./label/index.d.ts",
216
210
  "esm2022": "./esm2022/label/acorex-components-label.mjs",
217
211
  "esm": "./esm2022/label/acorex-components-label.mjs",
218
212
  "default": "./fesm2022/acorex-components-label.mjs"
219
213
  },
214
+ "./image": {
215
+ "types": "./image/index.d.ts",
216
+ "esm2022": "./esm2022/image/acorex-components-image.mjs",
217
+ "esm": "./esm2022/image/acorex-components-image.mjs",
218
+ "default": "./fesm2022/acorex-components-image.mjs"
219
+ },
220
220
  "./list": {
221
221
  "types": "./list/index.d.ts",
222
222
  "esm2022": "./esm2022/list/acorex-components-list.mjs",
@@ -259,6 +259,12 @@
259
259
  "esm": "./esm2022/notification/acorex-components-notification.mjs",
260
260
  "default": "./fesm2022/acorex-components-notification.mjs"
261
261
  },
262
+ "./number-box": {
263
+ "types": "./number-box/index.d.ts",
264
+ "esm2022": "./esm2022/number-box/acorex-components-number-box.mjs",
265
+ "esm": "./esm2022/number-box/acorex-components-number-box.mjs",
266
+ "default": "./fesm2022/acorex-components-number-box.mjs"
267
+ },
262
268
  "./otp": {
263
269
  "types": "./otp/index.d.ts",
264
270
  "esm2022": "./esm2022/otp/acorex-components-otp.mjs",
@@ -271,12 +277,6 @@
271
277
  "esm": "./esm2022/page/acorex-components-page.mjs",
272
278
  "default": "./fesm2022/acorex-components-page.mjs"
273
279
  },
274
- "./number-box": {
275
- "types": "./number-box/index.d.ts",
276
- "esm2022": "./esm2022/number-box/acorex-components-number-box.mjs",
277
- "esm": "./esm2022/number-box/acorex-components-number-box.mjs",
278
- "default": "./fesm2022/acorex-components-number-box.mjs"
279
- },
280
280
  "./password-box": {
281
281
  "types": "./password-box/index.d.ts",
282
282
  "esm2022": "./esm2022/password-box/acorex-components-password-box.mjs",
@@ -313,41 +313,35 @@
313
313
  "esm": "./esm2022/progress-bar/acorex-components-progress-bar.mjs",
314
314
  "default": "./fesm2022/acorex-components-progress-bar.mjs"
315
315
  },
316
- "./range-slider": {
317
- "types": "./range-slider/index.d.ts",
318
- "esm2022": "./esm2022/range-slider/acorex-components-range-slider.mjs",
319
- "esm": "./esm2022/range-slider/acorex-components-range-slider.mjs",
320
- "default": "./fesm2022/acorex-components-range-slider.mjs"
321
- },
322
316
  "./radio": {
323
317
  "types": "./radio/index.d.ts",
324
318
  "esm2022": "./esm2022/radio/acorex-components-radio.mjs",
325
319
  "esm": "./esm2022/radio/acorex-components-radio.mjs",
326
320
  "default": "./fesm2022/acorex-components-radio.mjs"
327
321
  },
322
+ "./range-slider": {
323
+ "types": "./range-slider/index.d.ts",
324
+ "esm2022": "./esm2022/range-slider/acorex-components-range-slider.mjs",
325
+ "esm": "./esm2022/range-slider/acorex-components-range-slider.mjs",
326
+ "default": "./fesm2022/acorex-components-range-slider.mjs"
327
+ },
328
328
  "./result": {
329
329
  "types": "./result/index.d.ts",
330
330
  "esm2022": "./esm2022/result/acorex-components-result.mjs",
331
331
  "esm": "./esm2022/result/acorex-components-result.mjs",
332
332
  "default": "./fesm2022/acorex-components-result.mjs"
333
333
  },
334
- "./scheduler": {
335
- "types": "./scheduler/index.d.ts",
336
- "esm2022": "./esm2022/scheduler/acorex-components-scheduler.mjs",
337
- "esm": "./esm2022/scheduler/acorex-components-scheduler.mjs",
338
- "default": "./fesm2022/acorex-components-scheduler.mjs"
339
- },
340
334
  "./routing-progress": {
341
335
  "types": "./routing-progress/index.d.ts",
342
336
  "esm2022": "./esm2022/routing-progress/acorex-components-routing-progress.mjs",
343
337
  "esm": "./esm2022/routing-progress/acorex-components-routing-progress.mjs",
344
338
  "default": "./fesm2022/acorex-components-routing-progress.mjs"
345
339
  },
346
- "./search-box": {
347
- "types": "./search-box/index.d.ts",
348
- "esm2022": "./esm2022/search-box/acorex-components-search-box.mjs",
349
- "esm": "./esm2022/search-box/acorex-components-search-box.mjs",
350
- "default": "./fesm2022/acorex-components-search-box.mjs"
340
+ "./scheduler": {
341
+ "types": "./scheduler/index.d.ts",
342
+ "esm2022": "./esm2022/scheduler/acorex-components-scheduler.mjs",
343
+ "esm": "./esm2022/scheduler/acorex-components-scheduler.mjs",
344
+ "default": "./fesm2022/acorex-components-scheduler.mjs"
351
345
  },
352
346
  "./scss": {
353
347
  "types": "./scss/index.d.ts",
@@ -355,24 +349,30 @@
355
349
  "esm": "./esm2022/scss/acorex-components-scss.mjs",
356
350
  "default": "./fesm2022/acorex-components-scss.mjs"
357
351
  },
352
+ "./search-box": {
353
+ "types": "./search-box/index.d.ts",
354
+ "esm2022": "./esm2022/search-box/acorex-components-search-box.mjs",
355
+ "esm": "./esm2022/search-box/acorex-components-search-box.mjs",
356
+ "default": "./fesm2022/acorex-components-search-box.mjs"
357
+ },
358
358
  "./select-box": {
359
359
  "types": "./select-box/index.d.ts",
360
360
  "esm2022": "./esm2022/select-box/acorex-components-select-box.mjs",
361
361
  "esm": "./esm2022/select-box/acorex-components-select-box.mjs",
362
362
  "default": "./fesm2022/acorex-components-select-box.mjs"
363
363
  },
364
- "./side-menu": {
365
- "types": "./side-menu/index.d.ts",
366
- "esm2022": "./esm2022/side-menu/acorex-components-side-menu.mjs",
367
- "esm": "./esm2022/side-menu/acorex-components-side-menu.mjs",
368
- "default": "./fesm2022/acorex-components-side-menu.mjs"
369
- },
370
364
  "./selection-list": {
371
365
  "types": "./selection-list/index.d.ts",
372
366
  "esm2022": "./esm2022/selection-list/acorex-components-selection-list.mjs",
373
367
  "esm": "./esm2022/selection-list/acorex-components-selection-list.mjs",
374
368
  "default": "./fesm2022/acorex-components-selection-list.mjs"
375
369
  },
370
+ "./side-menu": {
371
+ "types": "./side-menu/index.d.ts",
372
+ "esm2022": "./esm2022/side-menu/acorex-components-side-menu.mjs",
373
+ "esm": "./esm2022/side-menu/acorex-components-side-menu.mjs",
374
+ "default": "./fesm2022/acorex-components-side-menu.mjs"
375
+ },
376
376
  "./skeleton": {
377
377
  "types": "./skeleton/index.d.ts",
378
378
  "esm2022": "./esm2022/skeleton/acorex-components-skeleton.mjs",
@@ -397,18 +397,18 @@
397
397
  "esm": "./esm2022/switch/acorex-components-switch.mjs",
398
398
  "default": "./fesm2022/acorex-components-switch.mjs"
399
399
  },
400
- "./tag": {
401
- "types": "./tag/index.d.ts",
402
- "esm2022": "./esm2022/tag/acorex-components-tag.mjs",
403
- "esm": "./esm2022/tag/acorex-components-tag.mjs",
404
- "default": "./fesm2022/acorex-components-tag.mjs"
405
- },
406
400
  "./tabs": {
407
401
  "types": "./tabs/index.d.ts",
408
402
  "esm2022": "./esm2022/tabs/acorex-components-tabs.mjs",
409
403
  "esm": "./esm2022/tabs/acorex-components-tabs.mjs",
410
404
  "default": "./fesm2022/acorex-components-tabs.mjs"
411
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
+ },
412
412
  "./text-area": {
413
413
  "types": "./text-area/index.d.ts",
414
414
  "esm2022": "./esm2022/text-area/acorex-components-text-area.mjs",
@@ -1,8 +1,14 @@
1
1
  import { MXBaseComponent } from '@acorex/components/common';
2
2
  import { AXDateTime } from '@acorex/core/date-time';
3
3
  import * as i0 from "@angular/core";
4
+ /**
5
+ * @category
6
+ * Represents a view in the scheduler component that displays the calendar month.
7
+ */
4
8
  export declare class AXSchedulerMonthViewComponent extends MXBaseComponent {
9
+ /** @ignore */
5
10
  private _platform;
11
+ /** @ignore */
6
12
  protected _slots: {
7
13
  date: AXDateTime;
8
14
  cssClass: {
@@ -10,11 +16,25 @@ export declare class AXSchedulerMonthViewComponent extends MXBaseComponent {
10
16
  };
11
17
  isToday: boolean;
12
18
  }[];
19
+ /** @ignore */
13
20
  protected get dayNames(): string[];
21
+ /** @ignore */
14
22
  private _date;
23
+ /**
24
+ * Gets or sets the date for the scheduler view.
25
+ */
15
26
  get date(): AXDateTime;
27
+ /**
28
+ * Sets the date for the scheduler view and triggers the generation of time slots.
29
+ * @param {AXDateTime} v
30
+ */
16
31
  set date(v: AXDateTime);
32
+ /** @ignore */
17
33
  ngOnInit(): void;
34
+ /**
35
+ * Generates slots for the scheduler, including CSS classes for days outside the current month
36
+ * and a flag for the current day.
37
+ */
18
38
  generateSlots(): void;
19
39
  static ɵfac: i0.ɵɵFactoryDeclaration<AXSchedulerMonthViewComponent, never>;
20
40
  static ɵcmp: i0.ɵɵComponentDeclaration<AXSchedulerMonthViewComponent, "ax-scheduler-month-view", never, { "date": { "alias": "date"; "required": false; }; }, {}, 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
+ * @category
5
+ * This component renders the weekly view for the scheduler.
6
+ */
3
7
  export declare class AXSchedulerWeekViewComponent extends MXBaseComponent {
4
8
  static ɵfac: i0.ɵɵFactoryDeclaration<AXSchedulerWeekViewComponent, never>;
5
9
  static ɵcmp: i0.ɵɵComponentDeclaration<AXSchedulerWeekViewComponent, "ax-scheduler-week-view", never, {}, {}, never, never, false, never>;
@@ -2,13 +2,23 @@ import { MXBaseComponent } from '@acorex/components/common';
2
2
  import { AXDateTime } from '@acorex/core/date-time';
3
3
  import { AXPlatform, AXScreenSizes } from '@acorex/core/platform';
4
4
  import * as i0 from "@angular/core";
5
+ /**
6
+ * @category
7
+ * This component provides the main scheduler functionality, integrating various views and handling scheduling operations.
8
+ */
5
9
  export declare class AXSchedulerComponent extends MXBaseComponent {
10
+ /** @ignore */
6
11
  private _calendarService;
12
+ /** @ignore */
7
13
  protected _platform: AXPlatform;
14
+ /** @ignore */
8
15
  protected current: AXDateTime;
16
+ /** @ignore */
9
17
  protected _size: AXScreenSizes;
10
18
  handleOnItemClick(): void;
19
+ /** @ignore */
11
20
  ngOnInit(): void;
21
+ /** @ignore */
12
22
  private detectSize;
13
23
  _handleNextClick(): void;
14
24
  _handlePrevClick(): void;
@@ -5,11 +5,29 @@ declare const AXSearchBoxComponent_base: import("polytype").Polytype.ClusteredCo
5
5
  ɵfac: unknown;
6
6
  ɵprov: import("@angular/core").ɵɵInjectableDeclaration<MXInputBaseValueComponent<any>>;
7
7
  }, typeof MXLookComponent]>;
8
+ /**
9
+ * @category
10
+ * Represents a search box component that allows users to input and search text.
11
+ */
8
12
  export declare class AXSearchBoxComponent extends AXSearchBoxComponent_base {
13
+ /** @ignore */
9
14
  private _parent;
10
- constructor(_parent: AXSearchableComponent);
15
+ /** @ignore */
16
+ constructor(
17
+ /** @ignore */
18
+ _parent: AXSearchableComponent);
19
+ /**
20
+ * The delay time for search actions, specified in milliseconds.
21
+ * @defaultValue 500
22
+ */
11
23
  delayTime: number;
24
+ /**
25
+ * Handles changes to the model and triggers a search in the parent component if available.
26
+ *
27
+ * @param {string} value
28
+ */
12
29
  _handleModelChange(value: string): void;
30
+ /** @ignore */
13
31
  get __hostClass(): string[];
14
32
  static ɵfac: i0.ɵɵFactoryDeclaration<AXSearchBoxComponent, [{ optional: true; }]>;
15
33
  static ɵcmp: i0.ɵɵComponentDeclaration<AXSearchBoxComponent, "ax-search-box", never, { "disabled": { "alias": "disabled"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "tabIndex": { "alias": "tabIndex"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "value": { "alias": "value"; "required": false; }; "state": { "alias": "state"; "required": false; }; "name": { "alias": "name"; "required": false; }; "id": { "alias": "id"; "required": false; }; "look": { "alias": "look"; "required": false; }; "delayTime": { "alias": "delayTime"; "required": false; }; }, { "valueChange": "valueChange"; "stateChange": "stateChange"; "onValueChanged": "onValueChanged"; "onBlur": "onBlur"; "onFocus": "onFocus"; "readonlyChange": "readonlyChange"; "disabledChange": "disabledChange"; "onKeyDown": "onKeyDown"; "onKeyUp": "onKeyUp"; "onKeyPress": "onKeyPress"; }, never, ["ax-prefix", "ax-icon", "ax-clear-button", "ax-suffix"], false, never>;