@acorex/components 18.5.16 → 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 +37 -1
  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 +105 -0
  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 +31 -31
  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
@@ -8,7 +8,15 @@ import * as i2 from "@angular/forms";
8
8
  import * as i3 from "@acorex/components/text-box";
9
9
  import * as i4 from "@acorex/components/number-box";
10
10
  import * as i5 from "./color-palette.class";
11
+ /**
12
+ * Component for selecting colors from a palette.
13
+ *
14
+ * @category Components
15
+ */
11
16
  export class AXColorPaletteInputComponent extends MXBaseComponent {
17
+ /**
18
+ * @ignore
19
+ */
12
20
  constructor(_parent, _unsubscriber) {
13
21
  super();
14
22
  this._parent = _parent;
@@ -21,7 +29,13 @@ export class AXColorPaletteInputComponent extends MXBaseComponent {
21
29
  a: 0,
22
30
  };
23
31
  this._hex = '';
32
+ /**
33
+ * @ignore
34
+ */
24
35
  this._colorMode = 'hex';
36
+ /**
37
+ * @ignore
38
+ */
25
39
  this._hexMaskOptions = {
26
40
  mask: /^#[0-9a-f]{0,6}[0-9a-f]{0,2}$/i,
27
41
  prepare: (str, m, a) => {
@@ -35,6 +49,9 @@ export class AXColorPaletteInputComponent extends MXBaseComponent {
35
49
  this.cdr.markForCheck();
36
50
  });
37
51
  }
52
+ /**
53
+ * @ignore
54
+ */
38
55
  applyParent(u = false) {
39
56
  const value = this._parent.value;
40
57
  if (!value) {
@@ -61,9 +78,15 @@ export class AXColorPaletteInputComponent extends MXBaseComponent {
61
78
  this.checkValid();
62
79
  this.cdr.detectChanges();
63
80
  }
81
+ /**
82
+ * @ignore
83
+ */
64
84
  ngAfterViewInit() {
65
85
  this.applyParent();
66
86
  }
87
+ /**
88
+ * @ignore
89
+ */
67
90
  _handleChangeInputMode() {
68
91
  switch (this._colorMode) {
69
92
  case 'rgba':
@@ -74,6 +97,9 @@ export class AXColorPaletteInputComponent extends MXBaseComponent {
74
97
  break;
75
98
  }
76
99
  }
100
+ /**
101
+ * @ignore
102
+ */
77
103
  _handleRGBAValueChanged(e) {
78
104
  if (e.isUserInteraction) {
79
105
  this._rgba[e.name] = e.value;
@@ -82,14 +108,23 @@ export class AXColorPaletteInputComponent extends MXBaseComponent {
82
108
  this._parent.commitValue(AXColorUtil.toString(_color, 'rgba'), e.isUserInteraction);
83
109
  }
84
110
  }
111
+ /**
112
+ * @ignore
113
+ */
85
114
  _handleHEXAValueChanged(e) {
86
115
  if (e.isUserInteraction && e.value?.trim() != this._hex?.trim()) {
87
116
  this._parent.commitValue(e.value, e.isUserInteraction);
88
117
  }
89
118
  }
119
+ /**
120
+ * @ignore
121
+ */
90
122
  checkValid() {
91
123
  this.isValid = AXColorUtil.isValid(this._hex);
92
124
  }
125
+ /**
126
+ * @ignore
127
+ */
93
128
  get __hostClass() {
94
129
  return `ax-color-palette-input`;
95
130
  }
@@ -118,4 +153,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.2", ngImpor
118
153
  type: HostBinding,
119
154
  args: ['class']
120
155
  }] }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G9ubHldPVwiX3BhcmVudC5yZWFkb25seVwiXG4gICAgICAgICAgW3N0YXRlXT1cImlzVmFsaWQgPyAnY2xlYXInIDogJ2Vycm9yJ1wiXG4gICAgICAgICAgKG9uVmFsdWVDaGFuZ2VkKT1cIl9oYW5kbGVIRVhBVmFsdWVDaGFuZ2VkKCRldmVudClcIlxuICAgICAgICAgIFttYXNrLW9wdGlvbnNdPVwiX2hleE1hc2tPcHRpb25zXCJcbiAgICAgICAgPlxuICAgICAgICA8L2F4LXRleHQtYm94PlxuICAgICAgICA8bGFiZWw+SEVYPC9sYWJlbD5cbiAgICAgIDwvZGl2PlxuICAgIH1cbiAgICBAY2FzZSAoJ3JnYmEnKSB7XG4gICAgICA8ZGl2PlxuICAgICAgICA8YXgtbnVtYmVyLWJveFxuICAgICAgICAgIGNsYXNzPVwiYXgtc21cIlxuICAgICAgICAgIG5hbWU9XCJyXCJcbiAgICAgICAgICBbbWluVmFsdWVdPVwiMFwiXG4gICAgICAgICAgW21heFZhbHVlXT1cIjI1NVwiXG4gICAgICAgICAgW25nTW9kZWxdPVwiX3JnYmEuclwiXG4gICAgICAgICAgW3Nob3dTcGluQnV0dG9uc109XCJmYWxzZVwiXG4gICAgICAgICAgW2Rpc2FibGVkXT1cIl9wYXJlbnQuZGlzYWJsZWRcIlxuICAgICAgICAgIFtyZWFkb25seV09XCJfcGFyZW50LnJlYWRvbmx5XCJcbiAgICAgICAgICAob25WYWx1ZUNoYW5nZWQpPVwiX2hhbmRsZVJHQkFWYWx1ZUNoYW5nZWQoJGV2ZW50KVwiXG4gICAgICAgID5cbiAgICAgICAgPC9heC1udW1iZXItYm94PlxuICAgICAgICA8bGFiZWw+UjwvbGFiZWw+XG4gICAgICA8L2Rpdj5cbiAgICAgIDxkaXY+XG4gICAgICAgIDxheC1udW1iZXItYm94XG4gICAgICAgICAgY2xhc3M9XCJheC1zbVwiXG4gICAgICAgICAgbmFtZT1cImdcIlxuICAgICAgICAgIFttaW5WYWx1ZV09XCIw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ICAgICAgICAgIG5hbWU9XCJhXCJcbiAgICAgICAgICBbbWluVmFsdWVdPVwiMFwiXG4gICAgICAgICAgW21heFZhbHVlXT1cIjFcIlxuICAgICAgICAgIFtuZ01vZGVsXT1cIl9yZ2JhLmFcIlxuICAgICAgICAgIFtkZWNpbWFsc109XCIyXCJcbiAgICAgICAgICBbc3RlcF09XCIwLjFcIlxuICAgICAgICAgIFtkaXNhYmxlZF09XCJfcGFyZW50LmRpc2FibGVkXCJcbiAgICAgICAgICBbcmVhZG9ubHldPVwiX3BhcmVudC5yZWFkb25seVwiXG4gICAgICAgICAgW3Nob3dTcGluQnV0dG9uc109XCJmYWxzZVwiXG4gICAgICAgICAgKG9uVmFsdWVDaGFuZ2VkKT1cIl9oYW5kbGVSR0JBVmFsdWVDaGFuZ2VkKCRldmVudClcIlxuICAgICAgICA+XG4gICAgICAgIDwvYXgtbnVtYmVyLWJveD5cbiAgICAgICAgPGxhYmVsPkE8L2xhYmVsPlxuICAgICAgPC9kaXY+XG4gICAgfVxuICB9XG48L2Rpdj5cbjxidXR0b25cbiAgdHlwZT1cImJ1dHRvblwiXG4gIGNsYXNzPVwiYXgtZ2VuZXJhbC1idXR0b24gYXgtYnV0dG9uLXJvdW5kZWQgYXgtYnV0dG9uLWljb24gYXgtc21cIlxuICAoY2xpY2spPVwiX2hhbmRsZUNoYW5nZUlucHV0TW9kZSgpXCJcbiAgW2Rpc2FibGVkXT1cIl9wYXJlbnQuZGlzYWJsZWRcIlxuPlxuICA8c3BhbiBjbGFzcz1cImF4LWljb24gYXgtaWNvbi11bmZvbGQtbW9yZSBheC1ib2xkXCI+PC9zcGFuPlxuPC9idXR0b24+XG4iXX0=
@@ -8,7 +8,15 @@ import * as i2 from "@angular/forms";
8
8
  import * as i3 from "@acorex/components/slider";
9
9
  import * as i4 from "@angular/cdk/drag-drop";
10
10
  import * as i5 from "./color-palette.class";
11
+ /**
12
+ * Component for picking colors from a color palette.
13
+ *
14
+ * @category Components
15
+ */
11
16
  export class AXColorPalettePickerComponent extends MXBaseComponent {
17
+ /**
18
+ * @ignore
19
+ */
12
20
  constructor(_parent, _unsubscriber) {
13
21
  super();
14
22
  this._parent = _parent;
@@ -19,8 +27,17 @@ export class AXColorPalettePickerComponent extends MXBaseComponent {
19
27
  b: 0,
20
28
  a: 0,
21
29
  };
30
+ /**
31
+ * @ignore
32
+ */
22
33
  this._gradient = 0;
34
+ /**
35
+ * @ignore
36
+ */
23
37
  this._bgColor = '#F00';
38
+ /**
39
+ * @ignore
40
+ */
24
41
  this._gradientColors = [
25
42
  { color: 'rgb(255, 0, 0)', pos: 0 },
26
43
  { color: 'rgb(255, 255, 0)', pos: 0.17 },
@@ -30,8 +47,17 @@ export class AXColorPalettePickerComponent extends MXBaseComponent {
30
47
  { color: 'rgb(255, 0, 255)', pos: 0.83 },
31
48
  { color: 'rgb(255, 0, 0)', pos: 1 },
32
49
  ];
50
+ /**
51
+ * @ignore
52
+ */
33
53
  this._gradients = AXColorUtil.gradient(this._gradientColors);
54
+ /**
55
+ * @ignore
56
+ */
34
57
  this._colors = this._gradients.rgb(100);
58
+ /**
59
+ * @ignore
60
+ */
35
61
  this.dragPosition = { x: 0, y: 0 };
36
62
  _parent.onValueChanged.pipe(_unsubscriber.takeUntilDestroy).subscribe((e) => {
37
63
  this._handleParentColorChanged();
@@ -40,6 +66,9 @@ export class AXColorPalettePickerComponent extends MXBaseComponent {
40
66
  this.cdr.markForCheck();
41
67
  });
42
68
  }
69
+ /**
70
+ * @ignore
71
+ */
43
72
  setHSV() {
44
73
  const hsv = AXColorUtil.to(this._rgba, 'hsva');
45
74
  const sortedH = this._colors.map((c) => c.toHsv().h);
@@ -49,6 +78,9 @@ export class AXColorPalettePickerComponent extends MXBaseComponent {
49
78
  this._bgColor = AXColorUtil.toString({ h: hsv.h, s: 1, v: 1, a: this._rgba.a }, 'rgba');
50
79
  this.setPointerByPercent(hsv.s * 100, hsv.v * 100);
51
80
  }
81
+ /**
82
+ * @ignore
83
+ */
52
84
  _handleParentColorChanged() {
53
85
  const color = this._parent.value;
54
86
  if (!color) {
@@ -67,6 +99,9 @@ export class AXColorPalettePickerComponent extends MXBaseComponent {
67
99
  this.setHSV();
68
100
  this.cdr.detectChanges();
69
101
  }
102
+ /**
103
+ * @ignore
104
+ */
70
105
  _handleAlphaChanged(e) {
71
106
  if (e.isUserInteraction && e.value != this._rgba.a) {
72
107
  const { r, g, b } = this._rgba;
@@ -74,6 +109,9 @@ export class AXColorPalettePickerComponent extends MXBaseComponent {
74
109
  this._parent.commitValue(AXColorUtil.toString(_color, 'rgba'), e.isUserInteraction);
75
110
  }
76
111
  }
112
+ /**
113
+ * @ignore
114
+ */
77
115
  _handleGradientChanged(e) {
78
116
  if (e.isUserInteraction && e.value != this._gradient) {
79
117
  const { s, v } = AXColorUtil.to(this._rgba, 'hsva');
@@ -81,6 +119,9 @@ export class AXColorPalettePickerComponent extends MXBaseComponent {
81
119
  this._parent.commitValue(AXColorUtil.toString({ h, s, v, a: this._rgba.a }, 'rgba'), e.isUserInteraction);
82
120
  }
83
121
  }
122
+ /**
123
+ * @ignore
124
+ */
84
125
  _handleSurfaceClick(e) {
85
126
  if (this._parent.disabled || this._parent.readonly) {
86
127
  e.preventDefault();
@@ -93,6 +134,9 @@ export class AXColorPalettePickerComponent extends MXBaseComponent {
93
134
  let y = e.offsetY;
94
135
  this.setColorByXY(x, y);
95
136
  }
137
+ /**
138
+ * @ignore
139
+ */
96
140
  _handleDrag() {
97
141
  if (this._parent.disabled || this._parent.readonly) {
98
142
  return;
@@ -113,6 +157,9 @@ export class AXColorPalettePickerComponent extends MXBaseComponent {
113
157
  //
114
158
  this.setColorByXY(x, y);
115
159
  }
160
+ /**
161
+ * @ignore
162
+ */
116
163
  setColorByXY(x, y) {
117
164
  const surface = this.getHostElement().querySelector('.ax-color-box-overlay');
118
165
  const sb = surface.getBoundingClientRect();
@@ -125,6 +172,9 @@ export class AXColorPalettePickerComponent extends MXBaseComponent {
125
172
  };
126
173
  this._parent.commitValue(AXColorUtil.toString(hsv, 'rgba'), true);
127
174
  }
175
+ /**
176
+ * @ignore
177
+ */
128
178
  setPointerByPercent(x, y) {
129
179
  const surface = this.getHostElement().querySelector('.ax-color-box-overlay');
130
180
  if (!surface)
@@ -140,6 +190,9 @@ export class AXColorPalettePickerComponent extends MXBaseComponent {
140
190
  y: height - (y * height) / 100 - w,
141
191
  };
142
192
  }
193
+ /**
194
+ * @ignore
195
+ */
143
196
  get __hostClass() {
144
197
  return `ax-color-palette-picker`;
145
198
  }
@@ -168,4 +221,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.2", ngImpor
168
221
  type: HostBinding,
169
222
  args: ['class']
170
223
  }] } });
171
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29sb3ItcGFsZXR0ZS1waWNrZXIuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9jb21wb25lbnRzL2NvbG9yLXBhbGV0dGUvc3JjL2xpYi9jb2xvci1wYWxldHRlLXBpY2tlci5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi8uLi8uLi9saWJzL2NvbXBvbmVudHMvY29sb3ItcGFsZXR0ZS9zcmMvbGliL2NvbG9yLXBhbGV0dGUtcGlja2VyLmNvbXBvbmVudC5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBdUIsZUFBZSxFQUFFLE1BQU0sMkJBQTJCLENBQUM7QUFDakYsT0FBTyxFQUFFLFdBQVcsRUFBRSxjQUFjLEVBQUUsTUFBTSxvQkFBb0IsQ0FBQztBQUNqRSxPQUFPLEVBQUUsdUJBQXVCLEVBQUUsU0FBUyxFQUFFLFdBQVcsRUFBRSxNQUFNLEVBQUUsaUJBQWlCLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDM0csT0FBTyxFQUFFLDRC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iX3BhcmVudC5kaXNhYmxlZCB8fCBfcGFyZW50LnJlYWRvbmx5XCI+XG4gICAgICAgIDwvZGl2PlxuICAgIDwvZGl2PlxuPC9kaXY+XG48YXgtc2xpZGVyIGNsYXNzPVwiYXgtY29sb3ItYm94LWdyYWRpZW50XCIgW21pblZhbHVlXT1cIjBcIiBbbWF4VmFsdWVdPVwiMTAwXCIgW3N0ZXBdPVwiMVwiIFtuZ01vZGVsXT1cIl9ncmFkaWVudFwiXG4gICAgW2Rpc2FibGVkXT1cIl9wYXJlbnQuZGlzYWJsZWRcIiBbcmVhZG9ubHldPVwiX3BhcmVudC5yZWFkb25seVwiIChvblZhbHVlQ2hhbmdlZCk9XCJfaGFuZGxlR3JhZGllbnRDaGFuZ2VkKCRldmVudClcIj5cbjwvYXgtc2xpZGVyPlxuPGF4LXNsaWRlciBjbGFzcz1cImF4LWNvbG9yLWJveC10cmFuc3BhcmVudFwiIFttaW5WYWx1ZV09XCIwXCIgW21heFZhbHVlXT1cIjFcIiBbc3RlcF09XCIwLjAxXCIgW25nTW9kZWxdPVwiX3JnYmEuYVwiXG4gICAgW2Rpc2FibGVkXT1cIl9wYXJlbnQuZGlzYWJsZWRcIiBbcmVhZG9ubHldPVwiX3BhcmVudC5yZWFkb25seVwiIChvblZhbHVlQ2hhbmdlZCk9XCJfaGFuZGxlQWxwaGFDaGFuZ2VkKCRldmVudClcIj5cbjwvYXgtc2xpZGVyPiJdfQ==
@@ -5,7 +5,15 @@ import { AXColorPaletteChildComponent, AXColorPaletteParentComponent } from './c
5
5
  import * as i0 from "@angular/core";
6
6
  import * as i1 from "@acorex/core/utils";
7
7
  import * as i2 from "./color-palette.class";
8
+ /**
9
+ * Component that displays a preview of the selected color in the palette.
10
+ *
11
+ * @category Components
12
+ */
8
13
  export class AXColorPalettePreviewComponent extends MXBaseComponent {
14
+ /**
15
+ * @ignore
16
+ */
9
17
  constructor(_parent, _zone, _unsubscriber) {
10
18
  super();
11
19
  this._parent = _parent;
@@ -15,9 +23,15 @@ export class AXColorPalettePreviewComponent extends MXBaseComponent {
15
23
  _zone.runOutsideAngular(this.applyParent.bind(this));
16
24
  });
17
25
  }
26
+ /**
27
+ * @ignore
28
+ */
18
29
  ngAfterViewInit() {
19
30
  this.applyParent();
20
31
  }
32
+ /**
33
+ * @ignore
34
+ */
21
35
  applyParent() {
22
36
  const inner = this.getHostElement().firstElementChild;
23
37
  inner.style.backgroundColor = this._parent.value;
@@ -26,6 +40,9 @@ export class AXColorPalettePreviewComponent extends MXBaseComponent {
26
40
  const ratio = AXColorUtil.contrastToWhite(color);
27
41
  this.getHostElement().style.color = !(ratio > 2.0) ? '#000' : '#fff';
28
42
  }
43
+ /**
44
+ * @ignore
45
+ */
29
46
  get __hostClass() {
30
47
  return `ax-color-palette-preview`;
31
48
  }
@@ -60,4 +77,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.2", ngImpor
60
77
  type: HostBinding,
61
78
  args: ['classs']
62
79
  }] } });
63
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29sb3ItcGFsZXR0ZS1wcmV2aWV3LmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL2xpYnMvY29tcG9uZW50cy9jb2xvci1wYWxldHRlL3NyYy9saWIvY29sb3ItcGFsZXR0ZS1wcmV2aWV3LmNvbXBvbmVudC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsZUFBZSxFQUFFLE1BQU0sMkJBQTJCLENBQUM7QUFDNUQsT0FBTyxFQUFFLFdBQVcsRUFBRSxjQUFjLEVBQUUsTUFBTSxvQkFBb0IsQ0FBQztBQUNqRSxPQUFPLEVBQWlCLHVCQUF1QixFQUFFLFNBQVMsRUFBRSxXQUFXLEVBQUUsTUFBTSxFQUFFLE1BQU0sRUFBRSxpQkFBaUIsR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LmNvbG9yID0gIShyYXRpbyA+IDIuMCkgPyAnIzAwMCcgOiAnI2ZmZic7XG4gIH1cblxuICAvKipcbiAgICogIEBpZ25vcmVcbiAgICovXG4gIEBIb3N0QmluZGluZygnY2xhc3NzJylcbiAgcHJpdmF0ZSBnZXQgX19ob3N0Q2xhc3MoKTogc3RyaW5nIHtcbiAgICByZXR1cm4gYGF4LWNvbG9yLXBhbGV0dGUtcHJldmlld2A7XG4gIH1cbn1cbiJdfQ==
@@ -6,11 +6,23 @@ import { AXColorPaletteChildComponent, AXColorPaletteParentComponent, AXDefaultC
6
6
  import * as i0 from "@angular/core";
7
7
  import * as i1 from "@acorex/core/utils";
8
8
  import * as i2 from "./color-palette.class";
9
+ /**
10
+ * Displays color swatches or favorites, allowing color selection.
11
+ *
12
+ * @category Components
13
+ */
9
14
  export class AXColorPaletteSwatchesComponent extends MXBaseComponent {
15
+ /**
16
+ * @ignore
17
+ */
10
18
  constructor(_parent, _unsubscriber) {
11
19
  super();
12
20
  this._parent = _parent;
13
21
  this._unsubscriber = _unsubscriber;
22
+ /**
23
+ * List of color objects for display, each with a `code` property.
24
+ * @defaultValue []
25
+ */
14
26
  this.colors = [];
15
27
  _parent.onValueChanged
16
28
  .pipe(_unsubscriber.takeUntilDestroy)
@@ -19,10 +31,16 @@ export class AXColorPaletteSwatchesComponent extends MXBaseComponent {
19
31
  this.applyParent();
20
32
  });
21
33
  }
34
+ /**
35
+ * @ignore
36
+ */
22
37
  applyParent() {
23
38
  this._selected = AXColorUtil.toString(this._parent.value, 'hex').toLowerCase();
24
39
  this.cdr.detectChanges();
25
40
  }
41
+ /**
42
+ * @ignore
43
+ */
26
44
  ngOnInit() {
27
45
  super.ngOnInit();
28
46
  const isFav = this.getHostElement().tagName.toLowerCase() == 'ax-color-palette-favorite';
@@ -30,14 +48,23 @@ export class AXColorPaletteSwatchesComponent extends MXBaseComponent {
30
48
  this.colors = AXDefaultColorPalette.map((c) => this._format(c));
31
49
  }
32
50
  }
51
+ /**
52
+ * @ignore
53
+ */
33
54
  ngAfterViewInit() {
34
55
  this.applyParent();
35
56
  }
57
+ /**
58
+ * @ignore
59
+ */
36
60
  _handleClick(e, color) {
37
61
  if (this._parent.disabled || this._parent.readonly)
38
62
  return;
39
63
  this._parent.commitValue(color.code, true);
40
64
  }
65
+ /**
66
+ * @ignore
67
+ */
41
68
  _format(color) {
42
69
  return {
43
70
  code: color.code.toLowerCase(),
@@ -91,4 +118,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.2", ngImpor
91
118
  }] }, { type: i1.AXUnsubscriber }], propDecorators: { colors: [{
92
119
  type: Input
93
120
  }] } });
94
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29sb3ItcGFsZXR0ZS1zd2F0Y2hlcy5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9saWJzL2NvbXBvbmVudHMvY29sb3ItcGFsZXR0ZS9zcmMvbGliL2NvbG9yLXBhbGV0dGUtc3dhdGNoZXMuY29tcG9uZW50LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxlQUFlLEVBQUUsTUFBTSwyQkFBMkIsQ0FBQztBQUM1RCxPQUFPLEVBQUUsV0FBVyxFQUFFLGNBQWMsRUFBRSxNQUFNLG9CQUFvQixDQUFDO0FBQ2pFLE9BQU8sRUFBaUIsdUJBQXVCLEVBQUUsU0FBUyxFQUFFLE1BQU0sRUFBRSxLQUFLLEVBQVUsaUJBQWlCLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDNUgsT0FBTyxFQUFFLG9CQUFvQixFQUFFLE1BQU0sZ0JBQWdCLENBQUM7QUFDdEQsT0FBTyxFQUFFLDRCQUE0QixFQUFFLDZCQUE2QixFQUFFLHFCQUFxQixFQUFFLE1BQU0sdUJBQXVCLENBQUM7Ozs7QUF3Q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ICAqL1xuICBwcm90ZWN0ZWQgX2hhbmRsZUNsaWNrKGU6IE1vdXNlRXZlbnQsIGNvbG9yKSB7XG4gICAgaWYgKHRoaXMuX3BhcmVudC5kaXNhYmxlZCB8fCB0aGlzLl9wYXJlbnQucmVhZG9ubHkpIHJldHVybjtcbiAgICB0aGlzLl9wYXJlbnQuY29tbWl0VmFsdWUoY29sb3IuY29kZSwgdHJ1ZSk7XG4gIH1cblxuICAvKipcbiAgICogIEBpZ25vcmVcbiAgICovXG4gIHByaXZhdGUgX2Zvcm1hdChjb2xvcjogeyBjb2RlOiBzdHJpbmcgfSk6IHsgY29kZTogc3RyaW5nIH0ge1xuICAgIHJldHVybiB7XG4gICAgICBjb2RlOiBjb2xvci5jb2RlLnRvTG93ZXJDYXNlKCksXG4gICAgfTtcbiAgfVxufVxuIl19
@@ -8,7 +8,15 @@ import * as i2 from "./color-palette-preview.component";
8
8
  import * as i3 from "./color-palette-swatches.component";
9
9
  import * as i4 from "./color-palette-input.component";
10
10
  import * as i5 from "./color-palette-picker.component";
11
+ /**
12
+ * A color palette component that allows for color selection and interaction.
13
+ *
14
+ * @category Components
15
+ */
11
16
  export class AXColorPalleteComponent extends MXValueComponent {
17
+ /**
18
+ * @ignore
19
+ */
12
20
  get __hostDisabled() {
13
21
  return this.disabled;
14
22
  }
@@ -47,4 +55,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.2", ngImpor
47
55
  type: HostBinding,
48
56
  args: ['class.ax-state-disabled']
49
57
  }] } });
50
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29sb3ItcGFsZXR0ZS5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9saWJzL2NvbXBvbmVudHMvY29sb3ItcGFsZXR0ZS9zcmMvbGliL2NvbG9yLXBhbGV0dGUuY29tcG9uZW50LnRzIiwiLi4vLi4vL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vci1wYWxldHRlLXBpY2tlcic+PC9uZy1jb250ZW50PlxuICAgIDxuZy1jb250ZW50IHNlbGVjdD0nYXgtY29sb3ItcGFsZXR0ZS1zd2F0Y2hlcyc+PC9uZy1jb250ZW50PlxuICAgIDxuZy1jb250ZW50IHNlbGVjdD0nYXgtY29sb3ItcGFsZXR0ZS1mYXZvcml0ZSc+PC9uZy1jb250ZW50PlxuICAgIDxuZy1jb250ZW50IHNlbGVjdD0nYXgtY29sb3ItcGFsZXR0ZS1pbnB1dCc+PC9uZy1jb250ZW50PlxuPC9uZy10ZW1wbGF0ZT5cbjxuZy10ZW1wbGF0ZSAjZGVmYXVsdD5cbiAgICA8YXgtY29sb3ItcGFsZXR0ZS1wcmV2aWV3PjwvYXgtY29sb3ItcGFsZXR0ZS1wcmV2aWV3PlxuICAgIDxheC1jb2xvci1wYWxldHRlLXBpY2tlcj48L2F4LWNvbG9yLXBhbGV0dGUtcGlja2VyPlxuICAgIDxheC1jb2xvci1wYWxldHRlLXN3YXRjaGVzPjwvYXgtY29sb3ItcGFsZXR0ZS1zd2F0Y2hlcz5cbiAgICA8YXgtY29sb3ItcGFsZXR0ZS1pbnB1dD48L2F4LWNvbG9yLXBhbGV0dGUtaW5wdXQ+XG48L25nLXRlbXBsYXRlPlxuPG5nLWNvbnRlbnQgc2VsZWN0PSdheC1mb290ZXInPjwvbmctY29udGVudD4iXX0=
@@ -1,6 +1,11 @@
1
1
  import { Component, ViewEncapsulation } from '@angular/core';
2
2
  import { AXCommentService } from '../services/comment.service';
3
3
  import * as i0 from "@angular/core";
4
+ /**
5
+ * A container component for displaying and managing comments.
6
+ *
7
+ * @category Components
8
+ */
4
9
  export class AXCommentContainerComponent {
5
10
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXCommentContainerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
6
11
  static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.0.2", type: AXCommentContainerComponent, selector: "ax-comment-container", providers: [AXCommentService], ngImport: i0, template: "<ng-content> </ng-content>\n", styles: ["ax-comment-container{width:100%}\n"], encapsulation: i0.ViewEncapsulation.None }); }
@@ -9,4 +14,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.2", ngImpor
9
14
  type: Component,
10
15
  args: [{ selector: 'ax-comment-container', providers: [AXCommentService], encapsulation: ViewEncapsulation.None, template: "<ng-content> </ng-content>\n", styles: ["ax-comment-container{width:100%}\n"] }]
11
16
  }] });
12
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29tbWVudC1jb250YWluZXIuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9jb21wb25lbnRzL2NvbW1lbnQvc3JjL2xpYi9jb21tZW50LWNvbnRhaW5lci9jb21tZW50LWNvbnRhaW5lci5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi8uLi8uLi8uLi9saWJzL2NvbXBvbmVudHMvY29tbWVudC9zcmMvbGliL2NvbW1lbnQtY29udGFpbmVyL2NvbW1lbnQtY29udGFpbmVyLmNvbXBvbmVudC5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxTQUFTLEVBQUUsaUJBQWlCLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDN0QsT0FBTyxFQUFFLGdCQUFnQixFQUFFLE1BQU0sNkJBQTZCLENBQUM7O0FBYS9ELE1BQU0sT0FBTywyQkFBMkI7OEdBQTNCLDJCQUEyQjtrR0FBM0IsMkJBQTJCLCtDQVIzQixDQUFDLGdCQUFnQixDQUFDLDBCQ04vQiw4QkFDQTs7MkZEYWEsMkJBQTJCO2tCQVh2QyxTQUFTOytCQUNFLHNCQUFzQixhQUVyQixDQUFDLGdCQUFnQixDQUFDLGlCQU1kLGlCQUFpQixDQUFDLElBQUkiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBDb21wb25lbnQsIFZpZXdFbmNhcHN1bGF0aW9uIH0gZnJvbSAnQGFuZ3VsYXIvY29yZSc7XG5pbXBvcnQgeyBBWENvbW1lbnRTZXJ2aWNlIH0gZnJvbSAnLi4vc2VydmljZXMvY29tbWVudC5zZXJ2aWNlJztcblxuQENvbXBvbmVudCh7XG4gIHNlbGVjdG9yOiAnYXgtY29tbWVudC1jb250YWluZXInLFxuICB0ZW1wbGF0ZVVybDogJy4vY29tbWVudC1jb250YWluZXIuY29tcG9uZW50Lmh0bWwnLFxuICBwcm92aWRlcnM6IFtBWENvbW1lbnRTZXJ2aWNlXSxcbiAgc3R5bGVzOiBgXG4gICAgYXgtY29tbWVudC1jb250YWluZXIge1xuICAgICAgd2lkdGg6IDEwMCU7XG4gICAgfVxuICBgLFxuICBlbmNhcHN1bGF0aW9uOiBWaWV3RW5jYXBzdWxhdGlvbi5Ob25lLFxufSlcbmV4cG9ydCBjbGFzcyBBWENvbW1lbnRDb250YWluZXJDb21wb25lbnQge31cbiIsIjxuZy1jb250ZW50PiA8L25nLWNvbnRlbnQ+XG4iXX0=
17
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29tbWVudC1jb250YWluZXIuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9jb21wb25lbnRzL2NvbW1lbnQvc3JjL2xpYi9jb21tZW50LWNvbnRhaW5lci9jb21tZW50LWNvbnRhaW5lci5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi8uLi8uLi8uLi9saWJzL2NvbXBvbmVudHMvY29tbWVudC9zcmMvbGliL2NvbW1lbnQtY29udGFpbmVyL2NvbW1lbnQtY29udGFpbmVyLmNvbXBvbmVudC5odG1sIl0sIm5hbWVzI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