@acorex/components 18.4.4 → 18.5.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (245) hide show
  1. package/alert/lib/alert.component.d.ts +15 -36
  2. package/comment/README.md +3 -0
  3. package/comment/index.d.ts +9 -0
  4. package/comment/lib/comment-container/comment-container.component.d.ts +5 -0
  5. package/comment/lib/comment-input/comment-input.component.d.ts +10 -0
  6. package/comment/lib/comment-item/comment-item.component.d.ts +9 -0
  7. package/comment/lib/comment-like/comment-like.component.d.ts +6 -0
  8. package/comment/lib/comment-reply/comment-reply.component.d.ts +5 -0
  9. package/comment/lib/comment-view/comment-view.component.d.ts +5 -0
  10. package/comment/lib/comment.module.d.ts +17 -0
  11. package/comment/lib/comment.types.d.ts +3 -0
  12. package/comment/lib/services/comment.service.d.ts +6 -0
  13. package/esm2022/alert/lib/alert.component.mjs +37 -133
  14. package/esm2022/avatar/lib/avatar.component.mjs +2 -2
  15. package/esm2022/badge/lib/badge.component.mjs +2 -2
  16. package/esm2022/bottom-navigation/lib/bottom-navigation-item/bottom-navigation-item.component.mjs +2 -2
  17. package/esm2022/bottom-navigation/lib/bottom-navigation.component.mjs +1 -1
  18. package/esm2022/bottom-navigation/lib/bottom-navigation.module.mjs +3 -8
  19. package/esm2022/breadcrumbs/lib/breadcrumbs-item.component.mjs +2 -5
  20. package/esm2022/breadcrumbs/lib/breadcrumbs.component.mjs +2 -2
  21. package/esm2022/button/lib/button-item.class.mjs +1 -1
  22. package/esm2022/button/lib/button.module.mjs +5 -26
  23. package/esm2022/check-box/lib/check-box.component.mjs +3 -11
  24. package/esm2022/circular-progress/lib/circular-progress.component.mjs +1 -1
  25. package/esm2022/color-box/lib/color-box.module.mjs +3 -11
  26. package/esm2022/color-palette/lib/color-palette-input.component.mjs +9 -15
  27. package/esm2022/color-palette/lib/color-palette-preview.component.mjs +6 -14
  28. package/esm2022/color-palette/lib/color-palette-swatches.component.mjs +16 -17
  29. package/esm2022/color-palette/lib/color-palette.class.mjs +1 -1
  30. package/esm2022/color-palette/lib/color-palette.component.mjs +5 -21
  31. package/esm2022/comment/acorex-components-comment.mjs +5 -0
  32. package/esm2022/comment/index.mjs +10 -0
  33. package/esm2022/comment/lib/comment-container/comment-container.component.mjs +12 -0
  34. package/esm2022/comment/lib/comment-input/comment-input.component.mjs +33 -0
  35. package/esm2022/comment/lib/comment-item/comment-item.component.mjs +21 -0
  36. package/esm2022/comment/lib/comment-like/comment-like.component.mjs +15 -0
  37. package/esm2022/comment/lib/comment-reply/comment-reply.component.mjs +12 -0
  38. package/esm2022/comment/lib/comment-view/comment-view.component.mjs +11 -0
  39. package/esm2022/comment/lib/comment.module.mjs +48 -0
  40. package/esm2022/comment/lib/comment.types.mjs +2 -0
  41. package/esm2022/comment/lib/services/comment.service.mjs +19 -0
  42. package/esm2022/common/lib/classes/events.class.mjs +1 -1
  43. package/esm2022/common/lib/classes/styles.class.mjs +2 -10
  44. package/esm2022/common/lib/common.module.mjs +4 -20
  45. package/esm2022/common/lib/components/colorlook-component.class.mjs +1 -1
  46. package/esm2022/common/lib/components/input-base-value-component.class.mjs +1 -1
  47. package/esm2022/common/lib/directives/auto-focus.directive.mjs +4 -12
  48. package/esm2022/common/lib/directives/hotkey.directive.mjs +3 -4
  49. package/esm2022/common/lib/directives/infinite-scroll.directive.mjs +2 -3
  50. package/esm2022/common/lib/directives/responsive.directive.mjs +3 -8
  51. package/esm2022/common/lib/directives/ripple.directive.mjs +4 -6
  52. package/esm2022/common/lib/types/placement.mjs +6 -26
  53. package/esm2022/conversation/lib/conversation-input/conversation-input.component.mjs +3 -3
  54. package/esm2022/data-pager/lib/data-pager-info.component.mjs +4 -10
  55. package/esm2022/data-pager/lib/data-pager-input-selector.component.mjs +2 -2
  56. package/esm2022/data-pager/lib/data-pager-next-buttons.components.mjs +3 -3
  57. package/esm2022/data-pager/lib/data-pager-pagesize-dropdown.component.mjs +8 -36
  58. package/esm2022/data-pager/lib/data-pager-prev-buttons.component.mjs +3 -3
  59. package/esm2022/data-table/lib/data-table/data-table.component.mjs +1 -1
  60. package/esm2022/datetime-box/lib/datetime-box.module.mjs +3 -15
  61. package/esm2022/datetime-picker/lib/datetime-picker.component.mjs +7 -8
  62. package/esm2022/datetime-picker/lib/datetime-picker.config.mjs +1 -1
  63. package/esm2022/decorators/lib/components/clear-button.component.mjs +6 -21
  64. package/esm2022/decorators/lib/components/close-button.component.mjs +5 -15
  65. package/esm2022/decorators/lib/decorators.module.mjs +3 -14
  66. package/esm2022/dialog/lib/dialog.class.mjs +1 -1
  67. package/esm2022/dialog/lib/dialog.component.mjs +4 -6
  68. package/esm2022/dialog/lib/dialog.module.mjs +2 -2
  69. package/esm2022/drawer/lib/drawer-container.component.mjs +2 -2
  70. package/esm2022/dropdown/lib/dropdown.module.mjs +4 -21
  71. package/esm2022/dropdown-button/lib/dropdown-button.component.mjs +4 -12
  72. package/esm2022/dropdown-button/lib/dropdown-button.module.mjs +4 -23
  73. package/esm2022/form/lib/form.config.mjs +1 -1
  74. package/esm2022/form/lib/validation-rule.directive.mjs +2 -2
  75. package/esm2022/form/lib/validation-summary.component.mjs +30 -46
  76. package/esm2022/image/lib/image.component.mjs +2 -2
  77. package/esm2022/label/lib/label.component.mjs +2 -2
  78. package/esm2022/loading/lib/loading-spinner.component.mjs +3 -3
  79. package/esm2022/loading/lib/loading.component.mjs +5 -17
  80. package/esm2022/loading/lib/loading.config.mjs +1 -1
  81. package/esm2022/loading/lib/loading.directive.mjs +1 -1
  82. package/esm2022/loading/lib/loading.module.mjs +3 -11
  83. package/esm2022/loading/lib/loading.service.mjs +5 -11
  84. package/esm2022/loading-dialog/lib/loading-dialog.class.mjs +1 -1
  85. package/esm2022/loading-dialog/lib/loading-dialog.component.mjs +4 -6
  86. package/esm2022/loading-dialog/lib/loading-dialog.module.mjs +4 -23
  87. package/esm2022/loading-dialog/lib/loading-dialog.service.mjs +1 -1
  88. package/esm2022/menu/lib/class/root-menu.class.mjs +1 -1
  89. package/esm2022/nav/lib/nav-item/nav-item.component.mjs +3 -3
  90. package/esm2022/nav/lib/nav.component.mjs +2 -2
  91. package/esm2022/navbar/lib/navbar.component.mjs +2 -2
  92. package/esm2022/notification/lib/notification.class.mjs +1 -1
  93. package/esm2022/notification/lib/notification.component.mjs +6 -10
  94. package/esm2022/notification/lib/notification.config.mjs +1 -1
  95. package/esm2022/notification/lib/notification.module.mjs +4 -18
  96. package/esm2022/notification/lib/notification.service.mjs +6 -13
  97. package/esm2022/number-box/lib/number-box.module.mjs +3 -13
  98. package/esm2022/page/lib/base-page.class.mjs +3 -3
  99. package/esm2022/password-box/lib/password-box.component.mjs +3 -13
  100. package/esm2022/phone-box/lib/phone-box.component.mjs +1 -1
  101. package/esm2022/picker/lib/picker-column.directive.mjs +2 -2
  102. package/esm2022/picker/lib/picker.component.mjs +7 -13
  103. package/esm2022/popup/lib/popup.component.mjs +3 -3
  104. package/esm2022/popup/lib/popup.module.mjs +2 -2
  105. package/esm2022/popup/lib/popup.service.mjs +2 -2
  106. package/esm2022/progress-bar/lib/progress-bar.component.mjs +1 -1
  107. package/esm2022/radio/lib/radio.component.mjs +2 -10
  108. package/esm2022/result/lib/result.component.mjs +2 -2
  109. package/esm2022/routing-progress/lib/routing-progress.component.mjs +3 -3
  110. package/esm2022/scheduler/lib/scheduler-month-view.component.mjs +2 -2
  111. package/esm2022/scheduler/lib/scheduler-week-view.component.mjs +2 -2
  112. package/esm2022/scheduler/lib/scheduler.component.mjs +2 -2
  113. package/esm2022/scheduler/lib/scheduler.module.mjs +4 -22
  114. package/esm2022/scss/lib/scss.module.mjs +2 -2
  115. package/esm2022/selection-list/lib/selection-list.component.mjs +4 -10
  116. package/esm2022/selection-list/lib/selection-list.module.mjs +4 -21
  117. package/esm2022/skeleton/lib/skeleton.component.mjs +2 -2
  118. package/esm2022/step-wizard/lib/step-wizard-item/step-wizard-item.component.mjs +2 -2
  119. package/esm2022/step-wizard/lib/step-wizard.class.mjs +1 -1
  120. package/esm2022/step-wizard/lib/step-wizard.component.mjs +1 -1
  121. package/esm2022/step-wizard/lib/step-wizard.module.mjs +3 -11
  122. package/esm2022/switch/lib/switch-content.component.mjs +1 -1
  123. package/esm2022/switch/lib/switch.component.mjs +3 -10
  124. package/esm2022/tabs/lib/tab-item.component.mjs +32 -36
  125. package/esm2022/tabs/lib/tabs.class.mjs +1 -1
  126. package/esm2022/tabs/lib/tabs.component.mjs +1 -1
  127. package/esm2022/tag/lib/tag.component.mjs +2 -2
  128. package/esm2022/text-box/lib/mask-options.directive.mjs +1 -1
  129. package/esm2022/text-box/lib/text-box.component.mjs +3 -4
  130. package/esm2022/text-box/lib/text-box.module.mjs +4 -18
  131. package/esm2022/toast/lib/toast.component.mjs +3 -3
  132. package/esm2022/toast/lib/toast.config.mjs +1 -1
  133. package/esm2022/toast/lib/toast.module.mjs +4 -16
  134. package/esm2022/toast/lib/toast.service.mjs +7 -16
  135. package/esm2022/uploader/lib/uploader-browse-handle.directive.mjs +2 -2
  136. package/esm2022/uploader/lib/uploader-dialog-container.component.mjs +3 -3
  137. package/esm2022/uploader/lib/uploader-list.component.mjs +2 -2
  138. package/esm2022/uploader/lib/uploader-zone.directive.mjs +2 -2
  139. package/esm2022/uploader/lib/uploader.models.mjs +1 -1
  140. package/esm2022/uploader/lib/uploader.module.mjs +3 -11
  141. package/esm2022/wysiwyg/acorex-components-wysiwyg.mjs +5 -0
  142. package/esm2022/wysiwyg/index.mjs +5 -0
  143. package/esm2022/wysiwyg/lib/wysiwyg/wysiwyg-container/wysiwyg-container.component.mjs +28 -0
  144. package/esm2022/wysiwyg/lib/wysiwyg/wysiwyg-toolbar/wysiwyg-toolbar.component.mjs +113 -0
  145. package/esm2022/wysiwyg/lib/wysiwyg/wysiwyg-view/wysiwyg-view.component.mjs +11 -0
  146. package/esm2022/wysiwyg/lib/wysiwyg/wysiwyg.service.mjs +13 -0
  147. package/esm2022/wysiwyg/lib/wysiwyg.module.mjs +27 -0
  148. package/fesm2022/acorex-components-alert.mjs +37 -132
  149. package/fesm2022/acorex-components-alert.mjs.map +1 -1
  150. package/fesm2022/acorex-components-avatar.mjs.map +1 -1
  151. package/fesm2022/acorex-components-badge.mjs.map +1 -1
  152. package/fesm2022/acorex-components-bottom-navigation.mjs +2 -7
  153. package/fesm2022/acorex-components-bottom-navigation.mjs.map +1 -1
  154. package/fesm2022/acorex-components-breadcrumbs.mjs +1 -4
  155. package/fesm2022/acorex-components-breadcrumbs.mjs.map +1 -1
  156. package/fesm2022/acorex-components-button.mjs +4 -25
  157. package/fesm2022/acorex-components-button.mjs.map +1 -1
  158. package/fesm2022/acorex-components-check-box.mjs +1 -9
  159. package/fesm2022/acorex-components-check-box.mjs.map +1 -1
  160. package/fesm2022/acorex-components-circular-progress.mjs.map +1 -1
  161. package/fesm2022/acorex-components-color-box.mjs +2 -10
  162. package/fesm2022/acorex-components-color-box.mjs.map +1 -1
  163. package/fesm2022/acorex-components-color-palette.mjs +22 -53
  164. package/fesm2022/acorex-components-color-palette.mjs.map +1 -1
  165. package/fesm2022/acorex-components-comment.mjs +153 -0
  166. package/fesm2022/acorex-components-comment.mjs.map +1 -0
  167. package/fesm2022/acorex-components-common.mjs +17 -78
  168. package/fesm2022/acorex-components-common.mjs.map +1 -1
  169. package/fesm2022/acorex-components-conversation.mjs +2 -2
  170. package/fesm2022/acorex-components-conversation.mjs.map +1 -1
  171. package/fesm2022/acorex-components-data-pager.mjs +12 -46
  172. package/fesm2022/acorex-components-data-pager.mjs.map +1 -1
  173. package/fesm2022/acorex-components-data-table.mjs.map +1 -1
  174. package/fesm2022/acorex-components-datetime-box.mjs +2 -14
  175. package/fesm2022/acorex-components-datetime-box.mjs.map +1 -1
  176. package/fesm2022/acorex-components-datetime-picker.mjs +1 -2
  177. package/fesm2022/acorex-components-datetime-picker.mjs.map +1 -1
  178. package/fesm2022/acorex-components-decorators.mjs +7 -43
  179. package/fesm2022/acorex-components-decorators.mjs.map +1 -1
  180. package/fesm2022/acorex-components-dialog.mjs +1 -3
  181. package/fesm2022/acorex-components-dialog.mjs.map +1 -1
  182. package/fesm2022/acorex-components-drawer.mjs.map +1 -1
  183. package/fesm2022/acorex-components-dropdown-button.mjs +4 -31
  184. package/fesm2022/acorex-components-dropdown-button.mjs.map +1 -1
  185. package/fesm2022/acorex-components-dropdown.mjs +3 -20
  186. package/fesm2022/acorex-components-dropdown.mjs.map +1 -1
  187. package/fesm2022/acorex-components-form.mjs +28 -44
  188. package/fesm2022/acorex-components-form.mjs.map +1 -1
  189. package/fesm2022/acorex-components-image.mjs.map +1 -1
  190. package/fesm2022/acorex-components-label.mjs.map +1 -1
  191. package/fesm2022/acorex-components-loading-dialog.mjs +4 -25
  192. package/fesm2022/acorex-components-loading-dialog.mjs.map +1 -1
  193. package/fesm2022/acorex-components-loading.mjs +11 -37
  194. package/fesm2022/acorex-components-loading.mjs.map +1 -1
  195. package/fesm2022/acorex-components-menu.mjs.map +1 -1
  196. package/fesm2022/acorex-components-nav.mjs.map +1 -1
  197. package/fesm2022/acorex-components-navbar.mjs.map +1 -1
  198. package/fesm2022/acorex-components-notification.mjs +8 -33
  199. package/fesm2022/acorex-components-notification.mjs.map +1 -1
  200. package/fesm2022/acorex-components-number-box.mjs +2 -12
  201. package/fesm2022/acorex-components-number-box.mjs.map +1 -1
  202. package/fesm2022/acorex-components-page.mjs.map +1 -1
  203. package/fesm2022/acorex-components-password-box.mjs +1 -11
  204. package/fesm2022/acorex-components-password-box.mjs.map +1 -1
  205. package/fesm2022/acorex-components-phone-box.mjs.map +1 -1
  206. package/fesm2022/acorex-components-picker.mjs +6 -12
  207. package/fesm2022/acorex-components-picker.mjs.map +1 -1
  208. package/fesm2022/acorex-components-popup.mjs.map +1 -1
  209. package/fesm2022/acorex-components-progress-bar.mjs.map +1 -1
  210. package/fesm2022/acorex-components-radio.mjs +1 -9
  211. package/fesm2022/acorex-components-radio.mjs.map +1 -1
  212. package/fesm2022/acorex-components-result.mjs.map +1 -1
  213. package/fesm2022/acorex-components-routing-progress.mjs.map +1 -1
  214. package/fesm2022/acorex-components-scheduler.mjs +3 -21
  215. package/fesm2022/acorex-components-scheduler.mjs.map +1 -1
  216. package/fesm2022/acorex-components-scss.mjs +1 -1
  217. package/fesm2022/acorex-components-scss.mjs.map +1 -1
  218. package/fesm2022/acorex-components-selection-list.mjs +5 -28
  219. package/fesm2022/acorex-components-selection-list.mjs.map +1 -1
  220. package/fesm2022/acorex-components-skeleton.mjs.map +1 -1
  221. package/fesm2022/acorex-components-step-wizard.mjs +3 -11
  222. package/fesm2022/acorex-components-step-wizard.mjs.map +1 -1
  223. package/fesm2022/acorex-components-switch.mjs +1 -8
  224. package/fesm2022/acorex-components-switch.mjs.map +1 -1
  225. package/fesm2022/acorex-components-tabs.mjs +30 -34
  226. package/fesm2022/acorex-components-tabs.mjs.map +1 -1
  227. package/fesm2022/acorex-components-tag.mjs.map +1 -1
  228. package/fesm2022/acorex-components-text-box.mjs +4 -19
  229. package/fesm2022/acorex-components-text-box.mjs.map +1 -1
  230. package/fesm2022/acorex-components-toast.mjs +7 -28
  231. package/fesm2022/acorex-components-toast.mjs.map +1 -1
  232. package/fesm2022/acorex-components-uploader.mjs +3 -11
  233. package/fesm2022/acorex-components-uploader.mjs.map +1 -1
  234. package/fesm2022/acorex-components-wysiwyg.mjs +184 -0
  235. package/fesm2022/acorex-components-wysiwyg.mjs.map +1 -0
  236. package/form/lib/validation-rule.directive.d.ts +1 -1
  237. package/package.json +61 -49
  238. package/uploader/lib/uploader-list.component.d.ts +1 -1
  239. package/wysiwyg/README.md +3 -0
  240. package/wysiwyg/index.d.ts +4 -0
  241. package/wysiwyg/lib/wysiwyg/wysiwyg-container/wysiwyg-container.component.d.ts +13 -0
  242. package/wysiwyg/lib/wysiwyg/wysiwyg-toolbar/wysiwyg-toolbar.component.d.ts +28 -0
  243. package/wysiwyg/lib/wysiwyg/wysiwyg-view/wysiwyg-view.component.d.ts +5 -0
  244. package/wysiwyg/lib/wysiwyg/wysiwyg.service.d.ts +7 -0
  245. package/wysiwyg/lib/wysiwyg.module.d.ts +13 -0
@@ -1 +1 @@
1
- {"version":3,"file":"acorex-components-color-palette.mjs","sources":["../../../../libs/components/color-palette/src/lib/color-palette.class.ts","../../../../libs/components/color-palette/src/lib/color-palette-input.component.ts","../../../../libs/components/color-palette/src/lib/color-palette-input.component.html","../../../../libs/components/color-palette/src/lib/color-palette-picker.component.ts","../../../../libs/components/color-palette/src/lib/color-palette-picker.component.html","../../../../libs/components/color-palette/src/lib/color-palette-preview.component.ts","../../../../libs/components/color-palette/src/lib/color-palette-swatches.component.ts","../../../../libs/components/color-palette/src/lib/color-palette.component.ts","../../../../libs/components/color-palette/src/lib/color-palette.component.html","../../../../libs/components/color-palette/src/lib/color-palette.module.ts","../../../../libs/components/color-palette/src/acorex-components-color-palette.ts"],"sourcesContent":["import {\n AXOptionChangedEvent,\n AXValueChangedEvent,\n} from '@acorex/components/common';\nimport { EventEmitter, Injectable } from '@angular/core';\n\n/**\n * A token that specifies the display mode of datapager component.\n */\nexport type AXColorPaletteView = 'swatches' | 'gradient' | 'custom';\nexport interface AXColorChangedEvent {\n color: any;\n sender: any;\n}\n\n@Injectable()\nexport abstract class AXColorPaletteParentComponent {\n abstract readonly: boolean;\n abstract disabled: boolean;\n abstract get value(): string;\n abstract onValueChanged: EventEmitter<AXValueChangedEvent<string>>;\n abstract onOptionChanged: EventEmitter<AXOptionChangedEvent>;\n abstract commitValue(value: string, u?: boolean);\n}\n\n@Injectable()\nexport abstract class AXColorPaletteChildComponent {}\n\nexport const AXDefaultColorPalette = [\n { code: '#ffffff' },\n { code: '#000000' },\n { code: '#9E9E9E' },\n { code: '#FFC107' },\n { code: '#607D8B' },\n { code: '#2196F3' },\n { code: '#FF5722' },\n { code: '#4CAF50' },\n { code: '#9c27b0' },\n { code: '#3F51B5' },\n // Amber\n { code: '#fff8e1' },\n { code: '#ffecb3' },\n { code: '#ffe082' },\n { code: '#ffd54f' },\n { code: '#ffca28' },\n { code: '#ffc107' },\n { code: '#ffb300' },\n { code: '#ffa000' },\n { code: '#ff8f00' },\n { code: '#ff6f00' },\n // Blue Grey\n { code: '#ECEFF1' },\n { code: '#CFD8DC' },\n { code: '#B0BEC5' },\n { code: '#90A4AE' },\n { code: '#78909C' },\n { code: '#607D8B' },\n { code: '#546E7A' },\n { code: '#455A64' },\n { code: '#37474F' },\n { code: '#263238' },\n // Blue\n { code: '#E3F2FD' },\n { code: '#BBDEFB' },\n { code: '#90CAF9' },\n { code: '#64B5F6' },\n { code: '#42A5F5' },\n { code: '#2196F3' },\n { code: '#1E88E5' },\n { code: '#1976D2' },\n { code: '#1565C0' },\n { code: '#0D47A1' },\n // Brown\n { code: '#EFEBE9' },\n { code: '#D7CCC8' },\n { code: '#BCAAA4' },\n { code: '#A1887F' },\n { code: '#8D6E63' },\n { code: '#795548' },\n { code: '#6D4C41' },\n { code: '#5D4037' },\n { code: '#4E342E' },\n { code: '#3E2723' },\n // Cyan\n { code: '#E0F7FA' },\n { code: '#B2EBF2' },\n { code: '#80DEEA' },\n { code: '#4DD0E1' },\n { code: '#26C6DA' },\n { code: '#00BCD4' },\n { code: '#00ACC1' },\n { code: '#0097A7' },\n { code: '#00838F' },\n { code: '#006064' },\n // Deep Orange\n { code: '#FBE9E7' },\n { code: '#FFCCBC' },\n { code: '#FFAB91' },\n { code: '#FF8A65' },\n { code: '#FF7043' },\n { code: '#FF5722' },\n { code: '#F4511E' },\n { code: '#E64A19' },\n { code: '#D84315' },\n { code: '#BF360C' },\n // Deep Purple\n { code: '#EDE7F6' },\n { code: '#D1C4E9' },\n { code: '#B39DDB' },\n { code: '#9575CD' },\n { code: '#7E57C2' },\n { code: '#673AB7' },\n { code: '#5E35B1' },\n { code: '#512DA8' },\n { code: '#4527A0' },\n { code: '#311B92' },\n // Green\n { code: '#E8F5E9' },\n { code: '#C8E6C9' },\n { code: '#A5D6A7' },\n { code: '#81C784' },\n { code: '#66BB6A' },\n { code: '#4CAF50' },\n { code: '#43A047' },\n { code: '#388E3C' },\n { code: '#2E7D32' },\n { code: '#1B5E20' },\n\n // Grey\n { code: '#FAFAFA' },\n { code: '#F5F5F5' },\n { code: '#EEEEEE' },\n { code: '#E0E0E0' },\n { code: '#BDBDBD' },\n { code: '#9E9E9E' },\n { code: '#757575' },\n { code: '#616161' },\n { code: '#424242' },\n { code: '#212121' },\n\n // Indigo\n { code: '#E8EAF6' },\n { code: '#C5CAE9' },\n { code: '#9FA8DA' },\n { code: '#7986CB' },\n { code: '#5C6BC0' },\n { code: '#3F51B5' },\n { code: '#3949AB' },\n { code: '#303F9F' },\n { code: '#283593' },\n { code: '#1A237E' },\n // Light Blue\n { code: '#E1F5FE' },\n { code: '#B3E5FC' },\n { code: '#81D4FA' },\n { code: '#4FC3F7' },\n { code: '#29B6F6' },\n { code: '#03A9F4' },\n { code: '#039BE5' },\n { code: '#0288D1' },\n { code: '#0277BD' },\n { code: '#01579B' },\n // Light Green\n { code: '#F1F8E9' },\n { code: '#DCEDC8' },\n { code: '#C5E1A5' },\n { code: '#AED581' },\n { code: '#9CCC65' },\n { code: '#8BC34A' },\n { code: '#7CB342' },\n { code: '#689F38' },\n { code: '#558B2F' },\n { code: '#33691E' },\n // Lime\n { code: '#F9FBE7' },\n { code: '#F0F4C3' },\n { code: '#E6EE9C' },\n { code: '#DCE775' },\n { code: '#D4E157' },\n { code: '#CDDC39' },\n { code: '#C0CA33' },\n { code: '#AFB42B' },\n { code: '#9E9D24' },\n { code: '#827717' },\n // Orange\n { code: '#FFF3E0' },\n { code: '#FFE0B2' },\n { code: '#FFCC80' },\n { code: '#FFB74D' },\n { code: '#FFA726' },\n { code: '#FF9800' },\n { code: '#FB8C00' },\n { code: '#F57C00' },\n { code: '#EF6C00' },\n { code: '#E65100' },\n // Pink\n { code: '#FCE4EC' },\n { code: '#F8BBD0' },\n { code: '#F48FB1' },\n { code: '#F06292' },\n { code: '#EC407A' },\n { code: '#E91E63' },\n { code: '#D81B60' },\n { code: '#C2185B' },\n { code: '#AD1457' },\n { code: '#880E4F' },\n // Purple\n { code: '#F3E5F5' },\n { code: '#E1BEE7' },\n { code: '#CE93D8' },\n { code: '#BA68C8' },\n { code: '#AB47BC' },\n { code: '#9C27B0' },\n { code: '#8E24AA' },\n { code: '#7B1FA2' },\n { code: '#6A1B9A' },\n { code: '#4A148C' },\n // Red\n { code: '#FFEBEE' },\n { code: '#FFCDD2' },\n { code: '#EF9A9A' },\n { code: '#E57373' },\n { code: '#EF5350' },\n { code: '#F44336' },\n { code: '#E53935' },\n { code: '#D32F2F' },\n { code: '#C62828' },\n { code: '#B71C1C' },\n // Teal\n { code: '#E0F2F1' },\n { code: '#B2DFDB' },\n { code: '#80CBC4' },\n { code: '#4DB6AC' },\n { code: '#26A69A' },\n { code: '#009688' },\n { code: '#00897B' },\n { code: '#00796B' },\n { code: '#00695C' },\n { code: '#004D40' },\n // Yellow\n { code: '#FFFDE7' },\n { code: '#FFF9C4' },\n { code: '#FFF59D' },\n { code: '#FFF176' },\n { code: '#FFEE58' },\n { code: '#FFEB3B' },\n { code: '#FDD835' },\n { code: '#FBC02D' },\n { code: '#F9A825' },\n { code: '#F57F17' },\n];\n","import {\n AXValueChangedEvent,\n MXBaseComponent,\n} from '@acorex/components/common';\nimport { AXMaskOptions } from '@acorex/components/text-box';\nimport { AXColorUtil, AXUnsubscriber } from '@acorex/core/utils';\nimport {\n AfterViewInit,\n ChangeDetectionStrategy,\n Component,\n HostBinding,\n Inject,\n ViewEncapsulation,\n} from '@angular/core';\nimport {\n AXColorPaletteChildComponent,\n AXColorPaletteParentComponent,\n} from './color-palette.class';\n\n@Component({\n selector: 'ax-color-palette-input',\n templateUrl: './color-palette-input.component.html',\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n providers: [\n {\n provide: AXColorPaletteChildComponent,\n useExisting: AXColorPaletteInputComponent,\n },\n AXUnsubscriber,\n ],\n})\nexport class AXColorPaletteInputComponent\n extends MXBaseComponent\n implements AfterViewInit\n{\n isValid = true;\n\n _rgba: any = {\n r: 0,\n g: 0,\n b: 0,\n a: 0,\n };\n\n _hex: string = '';\n\n protected _colorMode: 'hex' | 'rgba' = 'hex';\n\n protected _hexMaskOptions: AXMaskOptions = {\n mask: /^#[0-9a-f]{0,6}[0-9a-f]{0,2}$/i,\n prepare: (str, m, a) => {\n return m.typedValue?.startsWith('#') || str == '#'\n ? str.trim()\n : '#' + str.trim();\n },\n };\n\n constructor(\n @Inject(AXColorPaletteParentComponent)\n public _parent: AXColorPaletteParentComponent,\n private _unsubscriber: AXUnsubscriber\n ) {\n super();\n _parent.onValueChanged\n .pipe(_unsubscriber.takeUntilDestroy)\n .subscribe((e) => {\n this.applyParent(e.isUserInteraction);\n });\n _parent.onOptionChanged\n .pipe(_unsubscriber.takeUntilDestroy)\n .subscribe((e) => {\n this.cdr.markForCheck();\n });\n }\n\n private applyParent(u: boolean = false) {\n const value = this._parent.value;\n if (!value) {\n this._hex = '';\n this._rgba = {\n r: null,\n g: null,\n b: null,\n a: null,\n };\n } else {\n Object.assign(this._rgba, AXColorUtil.to(value, 'rgba'));\n if (this._colorMode != 'hex' || !this._hex) {\n this._hex = AXColorUtil.toString(value, 'hex');\n }\n if (this._colorMode == 'hex') {\n this._hex = value;\n }\n if (!u && this._rgba.a != 1) {\n this._colorMode = 'rgba';\n }\n }\n this.checkValid();\n this.cdr.detectChanges();\n }\n\n ngAfterViewInit() {\n this.applyParent();\n }\n\n _handleChangeInputMode() {\n switch (this._colorMode) {\n case 'rgba':\n this._colorMode = 'hex';\n break;\n default:\n this._colorMode = 'rgba';\n break;\n }\n }\n\n _handleRGBAValueChanged(e: AXValueChangedEvent<number>) {\n if (e.isUserInteraction) {\n this._rgba[e.name] = e.value;\n const { r, g, b, a } = this._rgba;\n const _color = `rgba(${r},${g},${b},${a})`;\n this._parent.commitValue(\n AXColorUtil.toString(_color, 'rgba'),\n e.isUserInteraction\n );\n }\n }\n\n protected _handleHEXAValueChanged(e: AXValueChangedEvent<string>) {\n if (e.isUserInteraction && e.value?.trim() != this._hex?.trim()) {\n this._parent.commitValue(e.value, e.isUserInteraction);\n }\n }\n\n private checkValid() {\n this.isValid = AXColorUtil.isValid(this._hex);\n }\n\n @HostBinding('class')\n private get __hostClass(): string {\n return `ax-color-palette-input`;\n }\n}\n","<div class=\"palette-inputs\">\n @switch(_colorMode){\n\n @case('hex'){\n <div>\n <ax-text-box class=\"ax-sm\" [ngModel]=\"_hex\" [disabled]=\"_parent.disabled\" [readonly]=\"_parent.readonly\"\n [state]=\"isValid ? 'clear' : 'error'\" (onValueChanged)=\"_handleHEXAValueChanged($event)\"\n [mask-options]=\"_hexMaskOptions\">\n </ax-text-box>\n <label>HEX</label>\n </div>\n }\n @case('rgba'){\n <div>\n <ax-number-box class=\"ax-sm\" name=\"r\" [minValue]=\"0\" [maxValue]=\"255\" [ngModel]=\"_rgba.r\" [showSpinButtons]=\"false\"\n [disabled]=\"_parent.disabled\" [readonly]=\"_parent.readonly\" (onValueChanged)=\"_handleRGBAValueChanged($event)\">\n </ax-number-box>\n <label>R</label>\n </div>\n <div>\n <ax-number-box class=\"ax-sm\" name=\"g\" [minValue]=\"0\" [maxValue]=\"255\" [ngModel]=\"_rgba.g\" [showSpinButtons]=\"false\"\n [disabled]=\"_parent.disabled\" [readonly]=\"_parent.readonly\" (onValueChanged)=\"_handleRGBAValueChanged($event)\">\n </ax-number-box>\n <label>G</label>\n </div>\n <div>\n <ax-number-box class=\"ax-sm\" name=\"b\" [minValue]=\"0\" [maxValue]=\"255\" [ngModel]=\"_rgba.b\" [showSpinButtons]=\"false\"\n [disabled]=\"_parent.disabled\" [readonly]=\"_parent.readonly\" (onValueChanged)=\"_handleRGBAValueChanged($event)\">\n </ax-number-box>\n <label>B</label>\n </div>\n <div>\n <ax-number-box class=\"ax-sm\" name=\"a\" [minValue]=\"0\" [maxValue]=\"1\" [ngModel]=\"_rgba.a\" [decimals]=\"2\" [step]=\"0.1\"\n [disabled]=\"_parent.disabled\" [readonly]=\"_parent.readonly\" [showSpinButtons]=\"false\"\n (onValueChanged)=\"_handleRGBAValueChanged($event)\">\n </ax-number-box>\n <label>A</label>\n </div>\n }\n }\n</div>\n<button type=\"button\" class=\"ax-general-button ax-button-rounded ax-button-icon ax-sm\"\n (click)=\"_handleChangeInputMode()\" [disabled]=\"_parent.disabled\">\n <span class=\"ax-icon ax-icon-unfold-more\"></span>\n</button>","import { AXValueChangedEvent, MXBaseComponent } from '@acorex/components/common';\nimport { AXColorUtil, AXUnsubscriber } from '@acorex/core/utils';\nimport { ChangeDetectionStrategy, Component, HostBinding, Inject, ViewEncapsulation } from '@angular/core';\nimport { AXColorPaletteChildComponent, AXColorPaletteParentComponent } from './color-palette.class';\n\n@Component({\n selector: 'ax-color-palette-picker',\n templateUrl: './color-palette-picker.component.html',\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n providers: [\n {\n provide: AXColorPaletteChildComponent,\n useExisting: AXColorPalettePickerComponent,\n },\n AXUnsubscriber,\n ],\n})\nexport class AXColorPalettePickerComponent extends MXBaseComponent {\n _rgba: { r: number; g: number; b: number; a: number } = {\n r: 0,\n g: 0,\n b: 0,\n a: 0,\n };\n\n protected _gradient: number = 0;\n\n protected _bgColor: string = '#F00';\n\n private readonly _gradientColors: any[] = [\n { color: 'rgb(255, 0, 0)', pos: 0 },\n { color: 'rgb(255, 255, 0)', pos: 0.17 },\n { color: 'rgb(0, 255, 0)', pos: 0.33 },\n { color: 'rgb(0, 255, 255)', pos: 0.5 },\n { color: 'rgb(0, 0, 255)', pos: 0.67 },\n { color: 'rgb(255, 0, 255)', pos: 0.83 },\n { color: 'rgb(255, 0, 0)', pos: 1 },\n ];\n\n private readonly _gradients = AXColorUtil.gradient(this._gradientColors);\n private readonly _colors = this._gradients.rgb(100);\n\n protected dragPosition = { x: 0, y: 0 };\n\n constructor(\n @Inject(AXColorPaletteParentComponent)\n public _parent: AXColorPaletteParentComponent,\n private _unsubscriber: AXUnsubscriber,\n ) {\n super();\n _parent.onValueChanged.pipe(_unsubscriber.takeUntilDestroy).subscribe((e) => {\n this._handleParentColorChanged();\n });\n _parent.onOptionChanged.pipe(_unsubscriber.takeUntilDestroy).subscribe((e) => {\n this.cdr.markForCheck();\n });\n }\n\n private setHSV() {\n const hsv = AXColorUtil.to(this._rgba, 'hsva') as any;\n const sortedH = this._colors.map((c) => c.toHsv().h);\n this._gradient = sortedH.findIndex((c) => {\n return Math.round(c) >= Math.round(hsv.h);\n });\n this._bgColor = AXColorUtil.toString({ h: hsv.h, s: 1, v: 1, a: this._rgba.a }, 'rgba');\n this.setPointerByPercent(hsv.s * 100, hsv.v * 100);\n }\n\n private _handleParentColorChanged() {\n const color = this._parent.value;\n if (!color) {\n this._rgba = {\n r: 0,\n g: 0,\n b: 0,\n a: 0,\n };\n } else {\n if (!AXColorUtil.equal(color, this._rgba)) {\n Object.assign(this._rgba, AXColorUtil.to(color, 'rgba'));\n }\n }\n this.setHSV();\n this.cdr.detectChanges();\n }\n\n protected _handleAlphaChanged(e: AXValueChangedEvent<number>) {\n if (e.isUserInteraction && e.value != this._rgba.a) {\n const { r, g, b } = this._rgba;\n const _color = `rgba(${r},${g},${b},${e.value})`;\n this._parent.commitValue(AXColorUtil.toString(_color, 'rgba'), e.isUserInteraction);\n }\n }\n\n protected _handleGradientChanged(e: AXValueChangedEvent<number>) {\n if (e.isUserInteraction && e.value != this._gradient) {\n const { s, v } = AXColorUtil.to(this._rgba, 'hsva') as any;\n const { h } = this._colors[e.value].toHsv();\n this._parent.commitValue(AXColorUtil.toString({ h, s, v, a: this._rgba.a }, 'rgba'), e.isUserInteraction);\n }\n }\n\n protected _handleSurfaceClick(e: MouseEvent) {\n if (this._parent.disabled || this._parent.readonly) {\n e.preventDefault();\n e.stopPropagation();\n return;\n }\n const surface = this.getHostElement().querySelector<HTMLDivElement>('.ax-color-box-overlay');\n const pointer = this.getHostElement().querySelector<HTMLDivElement>('.ax-color-box-pointer');\n let x = e.offsetX;\n let y = e.offsetY;\n this.setColorByXY(x, y);\n }\n\n protected _handleDrag() {\n if (this._parent.disabled || this._parent.readonly) {\n return;\n }\n const surface = this.getHostElement().querySelector<HTMLDivElement>('.ax-color-box-overlay');\n const sb = surface.getBoundingClientRect();\n const pointer = this.getHostElement().querySelector<HTMLDivElement>('.ax-color-box-pointer');\n const pb = pointer.getBoundingClientRect();\n const w = pb.width / 2;\n let x = pb.left - sb.left + w;\n let y = pb.top - sb.top + w;\n //\n x = x < 0 ? 0 : x;\n x = x > sb.width ? sb.width : x;\n //\n y = y < 0 ? 0 : y;\n y = y > sb.height ? sb.height : y;\n //\n this.setColorByXY(x, y);\n }\n\n private setColorByXY(x: number, y: number) {\n const surface = this.getHostElement().querySelector<HTMLDivElement>('.ax-color-box-overlay');\n const sb = surface.getBoundingClientRect();\n //\n const { h } = AXColorUtil.to(this._bgColor, 'hsva') as any;\n const hsv = {\n h,\n s: x / sb.width,\n v: (sb.height - y) / sb.height,\n };\n this._parent.commitValue(AXColorUtil.toString(hsv, 'rgba'), true);\n }\n\n private setPointerByPercent(x: number, y: number) {\n const surface = this.getHostElement().querySelector<HTMLDivElement>('.ax-color-box-overlay');\n if (!surface) return;\n const sb = surface?.getBoundingClientRect();\n const pointer = this.getHostElement().querySelector<HTMLDivElement>('.ax-color-box-pointer');\n const pb = pointer?.getBoundingClientRect();\n const w = pb.width / 2;\n const width = sb.width; //+ pb.width\n const height = sb.height; // + pb.width\n this.dragPosition = {\n x: (x * width) / 100 - w,\n y: height - (y * height) / 100 - w,\n };\n }\n @HostBinding('class')\n private get __hostClass(): string {\n return `ax-color-palette-picker`;\n }\n}\n","<div class=\"ax-color-box-overlay-trans\">\n <div class=\"ax-color-box-overlay\" [style.background-color]=\"_bgColor\">\n <div class=\"ax-color-box-overlay-g1\"></div>\n <div class=\"ax-color-box-overlay-g2\" (click)=\"_handleSurfaceClick($event)\"></div>\n <div class=\"ax-color-box-pointer\" cdkDrag cdkDragBoundary=\".ax-color-box-overlay\"\n [cdkDragFreeDragPosition]=\"dragPosition\" (cdkDragEnded)=\"_handleDrag()\"\n [cdkDragDisabled]=\"_parent.disabled || _parent.readonly\">\n </div>\n </div>\n</div>\n<ax-slider class=\"ax-color-box-gradient\" [minValue]=\"0\" [maxValue]=\"100\" [step]=\"1\" [ngModel]=\"_gradient\"\n [disabled]=\"_parent.disabled\" [readonly]=\"_parent.readonly\" (onValueChanged)=\"_handleGradientChanged($event)\">\n</ax-slider>\n<ax-slider class=\"ax-color-box-transparent\" [minValue]=\"0\" [maxValue]=\"1\" [step]=\"0.01\" [ngModel]=\"_rgba.a\"\n [disabled]=\"_parent.disabled\" [readonly]=\"_parent.readonly\" (onValueChanged)=\"_handleAlphaChanged($event)\">\n</ax-slider>","import { MXBaseComponent } from '@acorex/components/common';\nimport { AXColorUtil, AXUnsubscriber } from '@acorex/core/utils';\nimport {\n AfterViewInit,\n ChangeDetectionStrategy,\n Component,\n HostBinding,\n Inject,\n NgZone,\n ViewEncapsulation,\n} from '@angular/core';\nimport {\n AXColorPaletteChildComponent,\n AXColorPaletteParentComponent,\n} from './color-palette.class';\n\n@Component({\n selector: 'ax-color-palette-preview',\n template: `<div\n class=\"palette-preview-overlay\"\n [class.ax-state-disabled]=\"_parent.disabled\"\n ></div>`,\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n providers: [\n {\n provide: AXColorPaletteChildComponent,\n useExisting: AXColorPalettePreviewComponent,\n },\n AXUnsubscriber,\n ],\n})\nexport class AXColorPalettePreviewComponent\n extends MXBaseComponent\n implements AfterViewInit\n{\n constructor(\n @Inject(AXColorPaletteParentComponent)\n public _parent: AXColorPaletteParentComponent,\n private _zone: NgZone,\n private _unsubscriber: AXUnsubscriber\n ) {\n super();\n _parent.onValueChanged\n .pipe(_unsubscriber.takeUntilDestroy)\n .subscribe((e) => {\n _zone.runOutsideAngular(this.applyParent.bind(this));\n });\n }\n\n ngAfterViewInit() {\n this.applyParent();\n }\n\n private applyParent() {\n const inner = this.getHostElement().firstElementChild as HTMLDivElement;\n inner.style.backgroundColor = this._parent.value;\n inner.innerText = AXColorUtil.toString(this._parent.value);\n const color = AXColorUtil.toString(this._parent.value, 'hex');\n const ratio = AXColorUtil.contrastToWhite(color);\n this.getHostElement().style.color = !(ratio > 2.0) ? '#000' : '#fff';\n }\n\n @HostBinding('classs')\n private get __hostClass(): string {\n return `ax-color-palette-preview`;\n }\n}\n","import { MXBaseComponent } from '@acorex/components/common';\nimport { AXColorUtil, AXUnsubscriber } from '@acorex/core/utils';\nimport {\n AfterViewInit,\n ChangeDetectionStrategy,\n Component,\n Inject,\n Input,\n OnInit,\n ViewEncapsulation,\n} from '@angular/core';\nimport { distinctUntilChanged } from 'rxjs/operators';\nimport {\n AXColorPaletteChildComponent,\n AXColorPaletteParentComponent,\n AXDefaultColorPalette,\n} from './color-palette.class';\n\n@Component({\n selector: 'ax-color-palette-swatches, ax-color-palette-favorite',\n template: `\n @for (color of colors; track color.code) {\n <div\n [style.background-color]=\"color.code\"\n [attr.title]=\"color.code\"\n [class.ax-state-selected]=\"color.code === _selected\"\n (click)=\"_handleClick($event, color)\"\n ></div>\n }\n `,\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n providers: [\n {\n provide: AXColorPaletteChildComponent,\n useExisting: AXColorPaletteSwatchesComponent,\n },\n AXUnsubscriber,\n ],\n})\nexport class AXColorPaletteSwatchesComponent\n extends MXBaseComponent\n implements OnInit, AfterViewInit\n{\n protected _selected: string;\n\n @Input()\n colors: { code: string }[] = [];\n\n constructor(\n @Inject(AXColorPaletteParentComponent)\n public _parent: AXColorPaletteParentComponent,\n private _unsubscriber: AXUnsubscriber\n ) {\n super();\n _parent.onValueChanged\n .pipe(_unsubscriber.takeUntilDestroy)\n .pipe(distinctUntilChanged())\n .subscribe(() => {\n this.applyParent();\n });\n }\n\n private applyParent() {\n this._selected = AXColorUtil.toString(\n this._parent.value,\n 'hex'\n ).toLowerCase();\n this.cdr.detectChanges();\n }\n\n override ngOnInit(): void {\n super.ngOnInit();\n const isFav =\n this.getHostElement().tagName.toLowerCase() ==\n 'ax-color-palette-favorite';\n if (!isFav && this.colors.length == 0) {\n this.colors = AXDefaultColorPalette.map((c) => this._format(c));\n }\n }\n\n ngAfterViewInit() {\n this.applyParent();\n }\n\n protected _handleClick(e: MouseEvent, color) {\n if (this._parent.disabled || this._parent.readonly) return;\n this._parent.commitValue(color.code, true);\n }\n\n private _format(color: { code: string }): { code: string } {\n return {\n code: color.code.toLowerCase(),\n };\n }\n}\n","import {\n MXValueComponent,\n AXValuableComponent,\n} from '@acorex/components/common';\nimport {\n ChangeDetectionStrategy,\n Component,\n ContentChildren,\n HostBinding,\n QueryList,\n ViewEncapsulation,\n forwardRef,\n} from '@angular/core';\nimport { NG_VALUE_ACCESSOR } from '@angular/forms';\nimport {\n AXColorPaletteChildComponent,\n AXColorPaletteParentComponent,\n} from './color-palette.class';\n\n@Component({\n selector: 'ax-color-palette',\n templateUrl: './color-palette.component.html',\n styleUrls: ['./color-palette.component.scss'],\n inputs: [\n 'disabled',\n 'tabIndex',\n 'readonly',\n 'value',\n 'state',\n 'name',\n 'checked',\n ],\n outputs: [\n 'onBlur',\n 'onFocus',\n 'valueChange',\n 'stateChange',\n 'onValueChanged',\n 'readonlyChange',\n 'disabledChange',\n ],\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n providers: [\n { provide: AXValuableComponent, useExisting: AXColorPalleteComponent },\n {\n provide: NG_VALUE_ACCESSOR,\n useExisting: forwardRef(() => AXColorPalleteComponent),\n multi: true,\n },\n {\n provide: AXColorPaletteParentComponent,\n useExisting: AXColorPalleteComponent,\n },\n ],\n})\nexport class AXColorPalleteComponent extends MXValueComponent<string> {\n @ContentChildren(AXColorPaletteChildComponent)\n _children: QueryList<AXColorPaletteChildComponent>;\n\n @HostBinding('class.ax-state-disabled')\n private get __hostDisabled() {\n return this.disabled;\n }\n}\n","<ng-content select='ax-header'></ng-content>\n\n@if(_children?.length){\n<ng-container [ngTemplateOutlet]=\"custom\"></ng-container>\n} @else{\n<ng-container [ngTemplateOutlet]=\"default\"></ng-container>\n\n}\n<ng-template #custom>\n <ng-content select='ax-color-palette-preview'></ng-content>\n <ng-content select='ax-color-palette-picker'></ng-content>\n <ng-content select='ax-color-palette-swatches'></ng-content>\n <ng-content select='ax-color-palette-favorite'></ng-content>\n <ng-content select='ax-color-palette-input'></ng-content>\n</ng-template>\n<ng-template #default>\n <ax-color-palette-preview></ax-color-palette-preview>\n <ax-color-palette-picker></ax-color-palette-picker>\n <ax-color-palette-swatches></ax-color-palette-swatches>\n <ax-color-palette-input></ax-color-palette-input>\n</ng-template>\n<ng-content select='ax-footer'></ng-content>","import { AXButtonModule } from '@acorex/components/button';\nimport { AXDecoratorModule } from '@acorex/components/decorators';\nimport { AXLabelModule } from '@acorex/components/label';\nimport { AXNumberBoxModule } from '@acorex/components/number-box';\nimport { AXSliderModule } from '@acorex/components/slider';\nimport { AXTextBoxModule } from '@acorex/components/text-box';\nimport { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\n\nimport { DragDropModule } from '@angular/cdk/drag-drop';\nimport { FormsModule } from '@angular/forms';\nimport { AXColorPaletteInputComponent } from './color-palette-input.component';\nimport { AXColorPalettePickerComponent } from './color-palette-picker.component';\nimport { AXColorPalettePreviewComponent } from './color-palette-preview.component';\nimport { AXColorPaletteSwatchesComponent } from './color-palette-swatches.component';\nimport { AXColorPalleteComponent } from './color-palette.component';\n\nconst MODULES: any[] = [\n FormsModule,\n AXTextBoxModule,\n AXLabelModule,\n AXButtonModule,\n AXDecoratorModule,\n AXNumberBoxModule,\n AXSliderModule,\n DragDropModule,\n];\nconst CONPONENTS: any[] = [\n AXColorPalleteComponent,\n AXColorPalettePreviewComponent,\n AXColorPaletteSwatchesComponent,\n AXColorPaletteInputComponent,\n AXColorPalettePickerComponent,\n];\n\n@NgModule({\n declarations: [...CONPONENTS],\n imports: [CommonModule, ...MODULES],\n exports: [...CONPONENTS],\n providers: [],\n})\nexport class AXColorPaletteModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["i3","i4","i1","i2.AXColorPalettePreviewComponent","i3.AXColorPaletteSwatchesComponent","i4.AXColorPaletteInputComponent","i5.AXColorPalettePickerComponent"],"mappings":";;;;;;;;;;;;;;;;;;;;;;MAgBsB,6BAA6B,CAAA;8GAA7B,6BAA6B,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,UAAA,EAAA,CAAA,CAAA,EAAA;kHAA7B,6BAA6B,EAAA,CAAA,CAAA,EAAA;;2FAA7B,6BAA6B,EAAA,UAAA,EAAA,CAAA;kBADlD,UAAU;;MAWW,4BAA4B,CAAA;8GAA5B,4BAA4B,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,UAAA,EAAA,CAAA,CAAA,EAAA;kHAA5B,4BAA4B,EAAA,CAAA,CAAA,EAAA;;2FAA5B,4BAA4B,EAAA,UAAA,EAAA,CAAA;kBADjD,UAAU;;AAGE,MAAA,qBAAqB,GAAG;IACnC,EAAE,IAAI,EAAE,SAAS,EAAE;IACnB,EAAE,IAAI,EAAE,SAAS,EAAE;IACnB,EAAE,IAAI,EAAE,SAAS,EAAE;IACnB,EAAE,IAAI,EAAE,SAAS,EAAE;IACnB,EAAE,IAAI,EAAE,SAAS,EAAE;IACnB,EAAE,IAAI,EAAE,SAAS,EAAE;IACnB,EAAE,IAAI,EAAE,SAAS,EAAE;IACnB,EAAE,IAAI,EAAE,SAAS,EAAE;IACnB,EAAE,IAAI,EAAE,SAAS,EAAE;IACnB,EAAE,IAAI,EAAE,SAAS,EAAE;;IAEnB,EAAE,IAAI,EAAE,SAAS,EAAE;IACnB,EAAE,IAAI,EAAE,SAAS,EAAE;IACnB,EAAE,IAAI,EAAE,SAAS,EAAE;IACnB,EAAE,IAAI,EAAE,SAAS,EAAE;IACnB,EAAE,IAAI,EAAE,SAAS,EAAE;IACnB,EAAE,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;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,YAAY,EAAE,CAAC,GAAG,UAAU,CAAC;AAC7B,oBAAA,OAAO,EAAE,CAAC,YAAY,EAAE,GAAG,OAAO,CAAC;AACnC,oBAAA,OAAO,EAAE,CAAC,GAAG,UAAU,CAAC;AACxB,oBAAA,SAAS,EAAE,EAAE;AACd,iBAAA,CAAA;;;ACxCD;;AAEG;;;;"}
1
+ {"version":3,"file":"acorex-components-color-palette.mjs","sources":["../../../../libs/components/color-palette/src/lib/color-palette.class.ts","../../../../libs/components/color-palette/src/lib/color-palette-input.component.ts","../../../../libs/components/color-palette/src/lib/color-palette-input.component.html","../../../../libs/components/color-palette/src/lib/color-palette-picker.component.ts","../../../../libs/components/color-palette/src/lib/color-palette-picker.component.html","../../../../libs/components/color-palette/src/lib/color-palette-preview.component.ts","../../../../libs/components/color-palette/src/lib/color-palette-swatches.component.ts","../../../../libs/components/color-palette/src/lib/color-palette.component.ts","../../../../libs/components/color-palette/src/lib/color-palette.component.html","../../../../libs/components/color-palette/src/lib/color-palette.module.ts","../../../../libs/components/color-palette/src/acorex-components-color-palette.ts"],"sourcesContent":["import { AXOptionChangedEvent, AXValueChangedEvent } from '@acorex/components/common';\nimport { EventEmitter, Injectable } from '@angular/core';\n\n/**\n * A token that specifies the display mode of datapager component.\n */\nexport type AXColorPaletteView = 'swatches' | 'gradient' | 'custom';\nexport interface AXColorChangedEvent {\n color: any;\n sender: any;\n}\n\n@Injectable()\nexport abstract class AXColorPaletteParentComponent {\n abstract readonly: boolean;\n abstract disabled: boolean;\n abstract get value(): string;\n abstract onValueChanged: EventEmitter<AXValueChangedEvent<string>>;\n abstract onOptionChanged: EventEmitter<AXOptionChangedEvent>;\n abstract commitValue(value: string, u?: boolean);\n}\n\n@Injectable()\nexport abstract class AXColorPaletteChildComponent {}\n\nexport const AXDefaultColorPalette = [\n { code: '#ffffff' },\n { code: '#000000' },\n { code: '#9E9E9E' },\n { code: '#FFC107' },\n { code: '#607D8B' },\n { code: '#2196F3' },\n { code: '#FF5722' },\n { code: '#4CAF50' },\n { code: '#9c27b0' },\n { code: '#3F51B5' },\n // Amber\n { code: '#fff8e1' },\n { code: '#ffecb3' },\n { code: '#ffe082' },\n { code: '#ffd54f' },\n { code: '#ffca28' },\n { code: '#ffc107' },\n { code: '#ffb300' },\n { code: '#ffa000' },\n { code: '#ff8f00' },\n { code: '#ff6f00' },\n // Blue Grey\n { code: '#ECEFF1' },\n { code: '#CFD8DC' },\n { code: '#B0BEC5' },\n { code: '#90A4AE' },\n { code: '#78909C' },\n { code: '#607D8B' },\n { code: '#546E7A' },\n { code: '#455A64' },\n { code: '#37474F' },\n { code: '#263238' },\n // Blue\n { code: '#E3F2FD' },\n { code: '#BBDEFB' },\n { code: '#90CAF9' },\n { code: '#64B5F6' },\n { code: '#42A5F5' },\n { code: '#2196F3' },\n { code: '#1E88E5' },\n { code: '#1976D2' },\n { code: '#1565C0' },\n { code: '#0D47A1' },\n // Brown\n { code: '#EFEBE9' },\n { code: '#D7CCC8' },\n { code: '#BCAAA4' },\n { code: '#A1887F' },\n { code: '#8D6E63' },\n { code: '#795548' },\n { code: '#6D4C41' },\n { code: '#5D4037' },\n { code: '#4E342E' },\n { code: '#3E2723' },\n // Cyan\n { code: '#E0F7FA' },\n { code: '#B2EBF2' },\n { code: '#80DEEA' },\n { code: '#4DD0E1' },\n { code: '#26C6DA' },\n { code: '#00BCD4' },\n { code: '#00ACC1' },\n { code: '#0097A7' },\n { code: '#00838F' },\n { code: '#006064' },\n // Deep Orange\n { code: '#FBE9E7' },\n { code: '#FFCCBC' },\n { code: '#FFAB91' },\n { code: '#FF8A65' },\n { code: '#FF7043' },\n { code: '#FF5722' },\n { code: '#F4511E' },\n { code: '#E64A19' },\n { code: '#D84315' },\n { code: '#BF360C' },\n // Deep Purple\n { code: '#EDE7F6' },\n { code: '#D1C4E9' },\n { code: '#B39DDB' },\n { code: '#9575CD' },\n { code: '#7E57C2' },\n { code: '#673AB7' },\n { code: '#5E35B1' },\n { code: '#512DA8' },\n { code: '#4527A0' },\n { code: '#311B92' },\n // Green\n { code: '#E8F5E9' },\n { code: '#C8E6C9' },\n { code: '#A5D6A7' },\n { code: '#81C784' },\n { code: '#66BB6A' },\n { code: '#4CAF50' },\n { code: '#43A047' },\n { code: '#388E3C' },\n { code: '#2E7D32' },\n { code: '#1B5E20' },\n\n // Grey\n { code: '#FAFAFA' },\n { code: '#F5F5F5' },\n { code: '#EEEEEE' },\n { code: '#E0E0E0' },\n { code: '#BDBDBD' },\n { code: '#9E9E9E' },\n { code: '#757575' },\n { code: '#616161' },\n { code: '#424242' },\n { code: '#212121' },\n\n // Indigo\n { code: '#E8EAF6' },\n { code: '#C5CAE9' },\n { code: '#9FA8DA' },\n { code: '#7986CB' },\n { code: '#5C6BC0' },\n { code: '#3F51B5' },\n { code: '#3949AB' },\n { code: '#303F9F' },\n { code: '#283593' },\n { code: '#1A237E' },\n // Light Blue\n { code: '#E1F5FE' },\n { code: '#B3E5FC' },\n { code: '#81D4FA' },\n { code: '#4FC3F7' },\n { code: '#29B6F6' },\n { code: '#03A9F4' },\n { code: '#039BE5' },\n { code: '#0288D1' },\n { code: '#0277BD' },\n { code: '#01579B' },\n // Light Green\n { code: '#F1F8E9' },\n { code: '#DCEDC8' },\n { code: '#C5E1A5' },\n { code: '#AED581' },\n { code: '#9CCC65' },\n { code: '#8BC34A' },\n { code: '#7CB342' },\n { code: '#689F38' },\n { code: '#558B2F' },\n { code: '#33691E' },\n // Lime\n { code: '#F9FBE7' },\n { code: '#F0F4C3' },\n { code: '#E6EE9C' },\n { code: '#DCE775' },\n { code: '#D4E157' },\n { code: '#CDDC39' },\n { code: '#C0CA33' },\n { code: '#AFB42B' },\n { code: '#9E9D24' },\n { code: '#827717' },\n // Orange\n { code: '#FFF3E0' },\n { code: '#FFE0B2' },\n { code: '#FFCC80' },\n { code: '#FFB74D' },\n { code: '#FFA726' },\n { code: '#FF9800' },\n { code: '#FB8C00' },\n { code: '#F57C00' },\n { code: '#EF6C00' },\n { code: '#E65100' },\n // Pink\n { code: '#FCE4EC' },\n { code: '#F8BBD0' },\n { code: '#F48FB1' },\n { code: '#F06292' },\n { code: '#EC407A' },\n { code: '#E91E63' },\n { code: '#D81B60' },\n { code: '#C2185B' },\n { code: '#AD1457' },\n { code: '#880E4F' },\n // Purple\n { code: '#F3E5F5' },\n { code: '#E1BEE7' },\n { code: '#CE93D8' },\n { code: '#BA68C8' },\n { code: '#AB47BC' },\n { code: '#9C27B0' },\n { code: '#8E24AA' },\n { code: '#7B1FA2' },\n { code: '#6A1B9A' },\n { code: '#4A148C' },\n // Red\n { code: '#FFEBEE' },\n { code: '#FFCDD2' },\n { code: '#EF9A9A' },\n { code: '#E57373' },\n { code: '#EF5350' },\n { code: '#F44336' },\n { code: '#E53935' },\n { code: '#D32F2F' },\n { code: '#C62828' },\n { code: '#B71C1C' },\n // Teal\n { code: '#E0F2F1' },\n { code: '#B2DFDB' },\n { code: '#80CBC4' },\n { code: '#4DB6AC' },\n { code: '#26A69A' },\n { code: '#009688' },\n { code: '#00897B' },\n { code: '#00796B' },\n { code: '#00695C' },\n { code: '#004D40' },\n // Yellow\n { code: '#FFFDE7' },\n { code: '#FFF9C4' },\n { code: '#FFF59D' },\n { code: '#FFF176' },\n { code: '#FFEE58' },\n { code: '#FFEB3B' },\n { code: '#FDD835' },\n { code: '#FBC02D' },\n { code: '#F9A825' },\n { code: '#F57F17' },\n];\n","import { AXValueChangedEvent, MXBaseComponent } from '@acorex/components/common';\nimport { AXMaskOptions } from '@acorex/components/text-box';\nimport { AXColorUtil, AXUnsubscriber } from '@acorex/core/utils';\nimport { AfterViewInit, ChangeDetectionStrategy, Component, HostBinding, Inject, ViewEncapsulation } from '@angular/core';\nimport { AXColorPaletteChildComponent, AXColorPaletteParentComponent } from './color-palette.class';\n\n@Component({\n selector: 'ax-color-palette-input',\n templateUrl: './color-palette-input.component.html',\n styles: `\n .ax-bold {\n font-weight: bold;\n }\n `,\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n providers: [\n {\n provide: AXColorPaletteChildComponent,\n useExisting: AXColorPaletteInputComponent,\n },\n AXUnsubscriber,\n ],\n})\nexport class AXColorPaletteInputComponent extends MXBaseComponent implements AfterViewInit {\n isValid = true;\n\n _rgba: any = {\n r: 0,\n g: 0,\n b: 0,\n a: 0,\n };\n\n _hex = '';\n\n protected _colorMode: 'hex' | 'rgba' = 'hex';\n\n protected _hexMaskOptions: AXMaskOptions = {\n mask: /^#[0-9a-f]{0,6}[0-9a-f]{0,2}$/i,\n prepare: (str, m, a) => {\n return m.typedValue?.startsWith('#') || str == '#' ? str.trim() : '#' + str.trim();\n },\n };\n\n constructor(\n @Inject(AXColorPaletteParentComponent)\n public _parent: AXColorPaletteParentComponent,\n private _unsubscriber: AXUnsubscriber,\n ) {\n super();\n _parent.onValueChanged.pipe(_unsubscriber.takeUntilDestroy).subscribe((e) => {\n this.applyParent(e.isUserInteraction);\n });\n _parent.onOptionChanged.pipe(_unsubscriber.takeUntilDestroy).subscribe((e) => {\n this.cdr.markForCheck();\n });\n }\n\n private applyParent(u: boolean = false) {\n const value = this._parent.value;\n if (!value) {\n this._hex = '';\n this._rgba = {\n r: null,\n g: null,\n b: null,\n a: null,\n };\n } else {\n Object.assign(this._rgba, AXColorUtil.to(value, 'rgba'));\n if (this._colorMode != 'hex' || !this._hex) {\n this._hex = AXColorUtil.toString(value, 'hex');\n }\n if (this._colorMode == 'hex') {\n this._hex = value;\n }\n if (!u && this._rgba.a != 1) {\n this._colorMode = 'rgba';\n }\n }\n this.checkValid();\n this.cdr.detectChanges();\n }\n\n ngAfterViewInit() {\n this.applyParent();\n }\n\n _handleChangeInputMode() {\n switch (this._colorMode) {\n case 'rgba':\n this._colorMode = 'hex';\n break;\n default:\n this._colorMode = 'rgba';\n break;\n }\n }\n\n _handleRGBAValueChanged(e: AXValueChangedEvent<number>) {\n if (e.isUserInteraction) {\n this._rgba[e.name] = e.value;\n const { r, g, b, a } = this._rgba;\n const _color = `rgba(${r},${g},${b},${a})`;\n this._parent.commitValue(AXColorUtil.toString(_color, 'rgba'), e.isUserInteraction);\n }\n }\n\n protected _handleHEXAValueChanged(e: AXValueChangedEvent<string>) {\n if (e.isUserInteraction && e.value?.trim() != this._hex?.trim()) {\n this._parent.commitValue(e.value, e.isUserInteraction);\n }\n }\n\n private checkValid() {\n this.isValid = AXColorUtil.isValid(this._hex);\n }\n\n @HostBinding('class')\n private get __hostClass(): string {\n return `ax-color-palette-input`;\n }\n}\n","<div class=\"palette-inputs\">\n @switch (_colorMode) {\n @case ('hex') {\n <div>\n <ax-text-box\n class=\"ax-sm\"\n [ngModel]=\"_hex\"\n [disabled]=\"_parent.disabled\"\n [readonly]=\"_parent.readonly\"\n [state]=\"isValid ? 'clear' : 'error'\"\n (onValueChanged)=\"_handleHEXAValueChanged($event)\"\n [mask-options]=\"_hexMaskOptions\"\n >\n </ax-text-box>\n <label>HEX</label>\n </div>\n }\n @case ('rgba') {\n <div>\n <ax-number-box\n class=\"ax-sm\"\n name=\"r\"\n [minValue]=\"0\"\n [maxValue]=\"255\"\n [ngModel]=\"_rgba.r\"\n [showSpinButtons]=\"false\"\n [disabled]=\"_parent.disabled\"\n [readonly]=\"_parent.readonly\"\n (onValueChanged)=\"_handleRGBAValueChanged($event)\"\n >\n </ax-number-box>\n <label>R</label>\n </div>\n <div>\n <ax-number-box\n class=\"ax-sm\"\n name=\"g\"\n [minValue]=\"0\"\n [maxValue]=\"255\"\n [ngModel]=\"_rgba.g\"\n [showSpinButtons]=\"false\"\n [disabled]=\"_parent.disabled\"\n [readonly]=\"_parent.readonly\"\n (onValueChanged)=\"_handleRGBAValueChanged($event)\"\n >\n </ax-number-box>\n <label>G</label>\n </div>\n <div>\n <ax-number-box\n class=\"ax-sm\"\n name=\"b\"\n [minValue]=\"0\"\n [maxValue]=\"255\"\n [ngModel]=\"_rgba.b\"\n [showSpinButtons]=\"false\"\n [disabled]=\"_parent.disabled\"\n [readonly]=\"_parent.readonly\"\n (onValueChanged)=\"_handleRGBAValueChanged($event)\"\n >\n </ax-number-box>\n <label>B</label>\n </div>\n <div>\n <ax-number-box\n class=\"ax-sm\"\n name=\"a\"\n [minValue]=\"0\"\n [maxValue]=\"1\"\n [ngModel]=\"_rgba.a\"\n [decimals]=\"2\"\n [step]=\"0.1\"\n [disabled]=\"_parent.disabled\"\n [readonly]=\"_parent.readonly\"\n [showSpinButtons]=\"false\"\n (onValueChanged)=\"_handleRGBAValueChanged($event)\"\n >\n </ax-number-box>\n <label>A</label>\n </div>\n }\n }\n</div>\n<button\n type=\"button\"\n class=\"ax-general-button ax-button-rounded ax-button-icon ax-sm\"\n (click)=\"_handleChangeInputMode()\"\n [disabled]=\"_parent.disabled\"\n>\n <span class=\"ax-icon ax-icon-unfold-more ax-bold\"></span>\n</button>\n","import { AXValueChangedEvent, MXBaseComponent } from '@acorex/components/common';\nimport { AXColorUtil, AXUnsubscriber } from '@acorex/core/utils';\nimport { ChangeDetectionStrategy, Component, HostBinding, Inject, ViewEncapsulation } from '@angular/core';\nimport { AXColorPaletteChildComponent, AXColorPaletteParentComponent } from './color-palette.class';\n\n@Component({\n selector: 'ax-color-palette-picker',\n templateUrl: './color-palette-picker.component.html',\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n providers: [\n {\n provide: AXColorPaletteChildComponent,\n useExisting: AXColorPalettePickerComponent,\n },\n AXUnsubscriber,\n ],\n})\nexport class AXColorPalettePickerComponent extends MXBaseComponent {\n _rgba: { r: number; g: number; b: number; a: number } = {\n r: 0,\n g: 0,\n b: 0,\n a: 0,\n };\n\n protected _gradient: number = 0;\n\n protected _bgColor: string = '#F00';\n\n private readonly _gradientColors: any[] = [\n { color: 'rgb(255, 0, 0)', pos: 0 },\n { color: 'rgb(255, 255, 0)', pos: 0.17 },\n { color: 'rgb(0, 255, 0)', pos: 0.33 },\n { color: 'rgb(0, 255, 255)', pos: 0.5 },\n { color: 'rgb(0, 0, 255)', pos: 0.67 },\n { color: 'rgb(255, 0, 255)', pos: 0.83 },\n { color: 'rgb(255, 0, 0)', pos: 1 },\n ];\n\n private readonly _gradients = AXColorUtil.gradient(this._gradientColors);\n private readonly _colors = this._gradients.rgb(100);\n\n protected dragPosition = { x: 0, y: 0 };\n\n constructor(\n @Inject(AXColorPaletteParentComponent)\n public _parent: AXColorPaletteParentComponent,\n private _unsubscriber: AXUnsubscriber,\n ) {\n super();\n _parent.onValueChanged.pipe(_unsubscriber.takeUntilDestroy).subscribe((e) => {\n this._handleParentColorChanged();\n });\n _parent.onOptionChanged.pipe(_unsubscriber.takeUntilDestroy).subscribe((e) => {\n this.cdr.markForCheck();\n });\n }\n\n private setHSV() {\n const hsv = AXColorUtil.to(this._rgba, 'hsva') as any;\n const sortedH = this._colors.map((c) => c.toHsv().h);\n this._gradient = sortedH.findIndex((c) => {\n return Math.round(c) >= Math.round(hsv.h);\n });\n this._bgColor = AXColorUtil.toString({ h: hsv.h, s: 1, v: 1, a: this._rgba.a }, 'rgba');\n this.setPointerByPercent(hsv.s * 100, hsv.v * 100);\n }\n\n private _handleParentColorChanged() {\n const color = this._parent.value;\n if (!color) {\n this._rgba = {\n r: 0,\n g: 0,\n b: 0,\n a: 0,\n };\n } else {\n if (!AXColorUtil.equal(color, this._rgba)) {\n Object.assign(this._rgba, AXColorUtil.to(color, 'rgba'));\n }\n }\n this.setHSV();\n this.cdr.detectChanges();\n }\n\n protected _handleAlphaChanged(e: AXValueChangedEvent<number>) {\n if (e.isUserInteraction && e.value != this._rgba.a) {\n const { r, g, b } = this._rgba;\n const _color = `rgba(${r},${g},${b},${e.value})`;\n this._parent.commitValue(AXColorUtil.toString(_color, 'rgba'), e.isUserInteraction);\n }\n }\n\n protected _handleGradientChanged(e: AXValueChangedEvent<number>) {\n if (e.isUserInteraction && e.value != this._gradient) {\n const { s, v } = AXColorUtil.to(this._rgba, 'hsva') as any;\n const { h } = this._colors[e.value].toHsv();\n this._parent.commitValue(AXColorUtil.toString({ h, s, v, a: this._rgba.a }, 'rgba'), e.isUserInteraction);\n }\n }\n\n protected _handleSurfaceClick(e: MouseEvent) {\n if (this._parent.disabled || this._parent.readonly) {\n e.preventDefault();\n e.stopPropagation();\n return;\n }\n const surface = this.getHostElement().querySelector<HTMLDivElement>('.ax-color-box-overlay');\n const pointer = this.getHostElement().querySelector<HTMLDivElement>('.ax-color-box-pointer');\n let x = e.offsetX;\n let y = e.offsetY;\n this.setColorByXY(x, y);\n }\n\n protected _handleDrag() {\n if (this._parent.disabled || this._parent.readonly) {\n return;\n }\n const surface = this.getHostElement().querySelector<HTMLDivElement>('.ax-color-box-overlay');\n const sb = surface.getBoundingClientRect();\n const pointer = this.getHostElement().querySelector<HTMLDivElement>('.ax-color-box-pointer');\n const pb = pointer.getBoundingClientRect();\n const w = pb.width / 2;\n let x = pb.left - sb.left + w;\n let y = pb.top - sb.top + w;\n //\n x = x < 0 ? 0 : x;\n x = x > sb.width ? sb.width : x;\n //\n y = y < 0 ? 0 : y;\n y = y > sb.height ? sb.height : y;\n //\n this.setColorByXY(x, y);\n }\n\n private setColorByXY(x: number, y: number) {\n const surface = this.getHostElement().querySelector<HTMLDivElement>('.ax-color-box-overlay');\n const sb = surface.getBoundingClientRect();\n //\n const { h } = AXColorUtil.to(this._bgColor, 'hsva') as any;\n const hsv = {\n h,\n s: x / sb.width,\n v: (sb.height - y) / sb.height,\n };\n this._parent.commitValue(AXColorUtil.toString(hsv, 'rgba'), true);\n }\n\n private setPointerByPercent(x: number, y: number) {\n const surface = this.getHostElement().querySelector<HTMLDivElement>('.ax-color-box-overlay');\n if (!surface) return;\n const sb = surface?.getBoundingClientRect();\n const pointer = this.getHostElement().querySelector<HTMLDivElement>('.ax-color-box-pointer');\n const pb = pointer?.getBoundingClientRect();\n const w = pb.width / 2;\n const width = sb.width; //+ pb.width\n const height = sb.height; // + pb.width\n this.dragPosition = {\n x: (x * width) / 100 - w,\n y: height - (y * height) / 100 - w,\n };\n }\n @HostBinding('class')\n private get __hostClass(): string {\n return `ax-color-palette-picker`;\n }\n}\n","<div class=\"ax-color-box-overlay-trans\">\n <div class=\"ax-color-box-overlay\" [style.background-color]=\"_bgColor\">\n <div class=\"ax-color-box-overlay-g1\"></div>\n <div class=\"ax-color-box-overlay-g2\" (click)=\"_handleSurfaceClick($event)\"></div>\n <div class=\"ax-color-box-pointer\" cdkDrag cdkDragBoundary=\".ax-color-box-overlay\"\n [cdkDragFreeDragPosition]=\"dragPosition\" (cdkDragEnded)=\"_handleDrag()\"\n [cdkDragDisabled]=\"_parent.disabled || _parent.readonly\">\n </div>\n </div>\n</div>\n<ax-slider class=\"ax-color-box-gradient\" [minValue]=\"0\" [maxValue]=\"100\" [step]=\"1\" [ngModel]=\"_gradient\"\n [disabled]=\"_parent.disabled\" [readonly]=\"_parent.readonly\" (onValueChanged)=\"_handleGradientChanged($event)\">\n</ax-slider>\n<ax-slider class=\"ax-color-box-transparent\" [minValue]=\"0\" [maxValue]=\"1\" [step]=\"0.01\" [ngModel]=\"_rgba.a\"\n [disabled]=\"_parent.disabled\" [readonly]=\"_parent.readonly\" (onValueChanged)=\"_handleAlphaChanged($event)\">\n</ax-slider>","import { MXBaseComponent } from '@acorex/components/common';\nimport { AXColorUtil, AXUnsubscriber } from '@acorex/core/utils';\nimport { AfterViewInit, ChangeDetectionStrategy, Component, HostBinding, Inject, NgZone, ViewEncapsulation } from '@angular/core';\nimport { AXColorPaletteChildComponent, AXColorPaletteParentComponent } from './color-palette.class';\n\n@Component({\n selector: 'ax-color-palette-preview',\n template: `<div class=\"palette-preview-overlay\" [class.ax-state-disabled]=\"_parent.disabled\"></div>`,\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n providers: [\n {\n provide: AXColorPaletteChildComponent,\n useExisting: AXColorPalettePreviewComponent,\n },\n AXUnsubscriber,\n ],\n})\nexport class AXColorPalettePreviewComponent extends MXBaseComponent implements AfterViewInit {\n constructor(\n @Inject(AXColorPaletteParentComponent)\n public _parent: AXColorPaletteParentComponent,\n private _zone: NgZone,\n private _unsubscriber: AXUnsubscriber,\n ) {\n super();\n _parent.onValueChanged.pipe(_unsubscriber.takeUntilDestroy).subscribe((e) => {\n _zone.runOutsideAngular(this.applyParent.bind(this));\n });\n }\n\n ngAfterViewInit() {\n this.applyParent();\n }\n\n private applyParent() {\n const inner = this.getHostElement().firstElementChild as HTMLDivElement;\n inner.style.backgroundColor = this._parent.value;\n inner.innerText = AXColorUtil.toString(this._parent.value);\n const color = AXColorUtil.toString(this._parent.value, 'hex');\n const ratio = AXColorUtil.contrastToWhite(color);\n this.getHostElement().style.color = !(ratio > 2.0) ? '#000' : '#fff';\n }\n\n @HostBinding('classs')\n private get __hostClass(): string {\n return `ax-color-palette-preview`;\n }\n}\n","import { MXBaseComponent } from '@acorex/components/common';\nimport { AXColorUtil, AXUnsubscriber } from '@acorex/core/utils';\nimport { AfterViewInit, ChangeDetectionStrategy, Component, Inject, Input, OnInit, ViewEncapsulation } from '@angular/core';\nimport { distinctUntilChanged } from 'rxjs/operators';\nimport { AXColorPaletteChildComponent, AXColorPaletteParentComponent, AXDefaultColorPalette } from './color-palette.class';\n\n@Component({\n selector: 'ax-color-palette-swatches, ax-color-palette-favorite',\n template: `\n @for (color of colors; track color.code) {\n <div\n [style.background-color]=\"color.code\"\n [attr.title]=\"color.code\"\n [class.ax-state-selected]=\"color.code === _selected\"\n (click)=\"_handleClick($event, color)\"\n ></div>\n }\n `,\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n providers: [\n {\n provide: AXColorPaletteChildComponent,\n useExisting: AXColorPaletteSwatchesComponent,\n },\n AXUnsubscriber,\n ],\n})\nexport class AXColorPaletteSwatchesComponent extends MXBaseComponent implements OnInit, AfterViewInit {\n protected _selected: string;\n\n @Input()\n colors: { code: string }[] = [];\n\n constructor(\n @Inject(AXColorPaletteParentComponent)\n public _parent: AXColorPaletteParentComponent,\n private _unsubscriber: AXUnsubscriber,\n ) {\n super();\n _parent.onValueChanged\n .pipe(_unsubscriber.takeUntilDestroy)\n .pipe(distinctUntilChanged())\n .subscribe(() => {\n this.applyParent();\n });\n }\n\n private applyParent() {\n this._selected = AXColorUtil.toString(this._parent.value, 'hex').toLowerCase();\n this.cdr.detectChanges();\n }\n\n override ngOnInit(): void {\n super.ngOnInit();\n const isFav = this.getHostElement().tagName.toLowerCase() == 'ax-color-palette-favorite';\n if (!isFav && this.colors.length == 0) {\n this.colors = AXDefaultColorPalette.map((c) => this._format(c));\n }\n }\n\n ngAfterViewInit() {\n this.applyParent();\n }\n\n protected _handleClick(e: MouseEvent, color) {\n if (this._parent.disabled || this._parent.readonly) return;\n this._parent.commitValue(color.code, true);\n }\n\n private _format(color: { code: string }): { code: string } {\n return {\n code: color.code.toLowerCase(),\n };\n }\n}\n","import { AXValuableComponent, MXValueComponent } from '@acorex/components/common';\nimport { ChangeDetectionStrategy, Component, ContentChildren, HostBinding, QueryList, ViewEncapsulation, forwardRef } from '@angular/core';\nimport { NG_VALUE_ACCESSOR } from '@angular/forms';\nimport { AXColorPaletteChildComponent, AXColorPaletteParentComponent } from './color-palette.class';\n\n@Component({\n selector: 'ax-color-palette',\n templateUrl: './color-palette.component.html',\n styleUrls: ['./color-palette.component.scss'],\n inputs: ['disabled', 'tabIndex', 'readonly', 'value', 'state', 'name', 'checked'],\n outputs: ['onBlur', 'onFocus', 'valueChange', 'stateChange', 'onValueChanged', 'readonlyChange', 'disabledChange'],\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n providers: [\n { provide: AXValuableComponent, useExisting: AXColorPalleteComponent },\n {\n provide: NG_VALUE_ACCESSOR,\n useExisting: forwardRef(() => AXColorPalleteComponent),\n multi: true,\n },\n {\n provide: AXColorPaletteParentComponent,\n useExisting: AXColorPalleteComponent,\n },\n ],\n})\nexport class AXColorPalleteComponent extends MXValueComponent<string> {\n @ContentChildren(AXColorPaletteChildComponent)\n _children: QueryList<AXColorPaletteChildComponent>;\n\n @HostBinding('class.ax-state-disabled')\n private get __hostDisabled() {\n return this.disabled;\n }\n}\n","<ng-content select='ax-header'></ng-content>\n\n@if(_children?.length){\n<ng-container [ngTemplateOutlet]=\"custom\"></ng-container>\n} @else{\n<ng-container [ngTemplateOutlet]=\"default\"></ng-container>\n\n}\n<ng-template #custom>\n <ng-content select='ax-color-palette-preview'></ng-content>\n <ng-content select='ax-color-palette-picker'></ng-content>\n <ng-content select='ax-color-palette-swatches'></ng-content>\n <ng-content select='ax-color-palette-favorite'></ng-content>\n <ng-content select='ax-color-palette-input'></ng-content>\n</ng-template>\n<ng-template #default>\n <ax-color-palette-preview></ax-color-palette-preview>\n <ax-color-palette-picker></ax-color-palette-picker>\n <ax-color-palette-swatches></ax-color-palette-swatches>\n <ax-color-palette-input></ax-color-palette-input>\n</ng-template>\n<ng-content select='ax-footer'></ng-content>","import { AXButtonModule } from '@acorex/components/button';\nimport { AXDecoratorModule } from '@acorex/components/decorators';\nimport { AXLabelModule } from '@acorex/components/label';\nimport { AXNumberBoxModule } from '@acorex/components/number-box';\nimport { AXSliderModule } from '@acorex/components/slider';\nimport { AXTextBoxModule } from '@acorex/components/text-box';\nimport { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\n\nimport { DragDropModule } from '@angular/cdk/drag-drop';\nimport { FormsModule } from '@angular/forms';\nimport { AXColorPaletteInputComponent } from './color-palette-input.component';\nimport { AXColorPalettePickerComponent } from './color-palette-picker.component';\nimport { AXColorPalettePreviewComponent } from './color-palette-preview.component';\nimport { AXColorPaletteSwatchesComponent } from './color-palette-swatches.component';\nimport { AXColorPalleteComponent } from './color-palette.component';\n\nconst MODULES: any[] = [\n FormsModule,\n AXTextBoxModule,\n AXLabelModule,\n AXButtonModule,\n AXDecoratorModule,\n AXNumberBoxModule,\n AXSliderModule,\n DragDropModule,\n];\nconst CONPONENTS: any[] = [\n AXColorPalleteComponent,\n AXColorPalettePreviewComponent,\n AXColorPaletteSwatchesComponent,\n AXColorPaletteInputComponent,\n AXColorPalettePickerComponent,\n];\n\n@NgModule({\n declarations: [...CONPONENTS],\n imports: [CommonModule, ...MODULES],\n exports: [...CONPONENTS],\n providers: [],\n})\nexport class AXColorPaletteModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["i3","i4","i1","i2.AXColorPalettePreviewComponent","i3.AXColorPaletteSwatchesComponent","i4.AXColorPaletteInputComponent","i5.AXColorPalettePickerComponent"],"mappings":";;;;;;;;;;;;;;;;;;;;;;MAasB,6BAA6B,CAAA;8GAA7B,6BAA6B,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,UAAA,EAAA,CAAA,CAAA,EAAA;kHAA7B,6BAA6B,EAAA,CAAA,CAAA,EAAA;;2FAA7B,6BAA6B,EAAA,UAAA,EAAA,CAAA;kBADlD,UAAU;;MAWW,4BAA4B,CAAA;8GAA5B,4BAA4B,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,UAAA,EAAA,CAAA,CAAA,EAAA;kHAA5B,4BAA4B,EAAA,CAAA,CAAA,EAAA;;2FAA5B,4BAA4B,EAAA,UAAA,EAAA,CAAA;kBADjD,UAAU;;AAGE,MAAA,qBAAqB,GAAG;IACnC,EAAE,IAAI,EAAE,SAAS,EAAE;IACnB,EAAE,IAAI,EAAE,SAAS,EAAE;IACnB,EAAE,IAAI,EAAE,SAAS,EAAE;IACnB,EAAE,IAAI,EAAE,SAAS,EAAE;IACnB,EAAE,IAAI,EAAE,SAAS,EAAE;IACnB,EAAE,IAAI,EAAE,SAAS,EAAE;IACnB,EAAE,IAAI,EAAE,SAAS,EAAE;IACnB,EAAE,IAAI,EAAE,SAAS,EAAE;IACnB,EAAE,IAAI,EAAE,SAAS,EAAE;IACnB,EAAE,IAAI,EAAE,SAAS,EAAE;;IAEnB,EAAE,IAAI,EAAE,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YAC5B,6BAA6B,CAAA,EAAA,CAAA,CAAA,EAAA;+GASlB,oBAAoB,EAAA,OAAA,EAAA,CAJrB,YAAY,EAAK,OAAO,CAAA,EAAA,CAAA,CAAA,EAAA;;2FAIvB,oBAAoB,EAAA,UAAA,EAAA,CAAA;kBANhC,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,YAAY,EAAE,CAAC,GAAG,UAAU,CAAC;AAC7B,oBAAA,OAAO,EAAE,CAAC,YAAY,EAAE,GAAG,OAAO,CAAC;AACnC,oBAAA,OAAO,EAAE,CAAC,GAAG,UAAU,CAAC;AACxB,oBAAA,SAAS,EAAE,EAAE;AACd,iBAAA,CAAA;;;ACxCD;;AAEG;;;;"}
@@ -0,0 +1,153 @@
1
+ import * as i0 from '@angular/core';
2
+ import { signal, Injectable, Component, ViewEncapsulation, input, output, contentChild, contentChildren, afterNextRender, NgModule } from '@angular/core';
3
+ import * as i1 from '@acorex/components/decorators';
4
+ import { AXDecoratorModule } from '@acorex/components/decorators';
5
+ import * as i2 from '@acorex/components/wysiwyg';
6
+ import { AXWysiwygModule } from '@acorex/components/wysiwyg';
7
+ import * as i3 from '@acorex/components/button';
8
+ import { AXButtonModule } from '@acorex/components/button';
9
+ import * as i4 from '@acorex/components/text-area';
10
+ import { AXTextAreaModule } from '@acorex/components/text-area';
11
+ import { AXAvatarComponent } from '@acorex/components/avatar';
12
+ import * as i2$1 from '@acorex/components/collapse';
13
+ import { AXCollapseModule } from '@acorex/components/collapse';
14
+
15
+ class AXCommentService {
16
+ constructor() {
17
+ this.testData = signal({
18
+ id: 1,
19
+ user: { name: 'Meysa Aghili', avatar: '' },
20
+ likes: 1,
21
+ content: 'Lorem ipsum is derived from the Latin “dolorem ipsum” roughly translated as “pain itself.',
22
+ reply: {},
23
+ });
24
+ }
25
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXCommentService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
26
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXCommentService }); }
27
+ }
28
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXCommentService, decorators: [{
29
+ type: Injectable
30
+ }] });
31
+
32
+ class AXCommentContainerComponent {
33
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXCommentContainerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
34
+ 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 select=\"ax-comment-view\"> </ng-content>\n<ng-content select=\"ax-comment-input\"> </ng-content>\n<ng-content> </ng-content>\n", styles: ["ax-comment-container{width:100%}\n"], encapsulation: i0.ViewEncapsulation.None }); }
35
+ }
36
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXCommentContainerComponent, decorators: [{
37
+ type: Component,
38
+ args: [{ selector: 'ax-comment-container', providers: [AXCommentService], encapsulation: ViewEncapsulation.None, template: "<ng-content select=\"ax-comment-view\"> </ng-content>\n<ng-content select=\"ax-comment-input\"> </ng-content>\n<ng-content> </ng-content>\n", styles: ["ax-comment-container{width:100%}\n"] }]
39
+ }] });
40
+
41
+ class AXCommentInputComponent {
42
+ constructor() {
43
+ this.commentType = input('advance');
44
+ this.commentValue = output();
45
+ }
46
+ getHTML(e) {
47
+ this.commentValue.emit({
48
+ component: this,
49
+ data: { value: e.data.value },
50
+ isUserInteraction: true,
51
+ });
52
+ }
53
+ basicOut(e) {
54
+ this.commentValue.emit({
55
+ component: this,
56
+ data: { value: e.value },
57
+ isUserInteraction: true,
58
+ });
59
+ }
60
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXCommentInputComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
61
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.0.2", type: AXCommentInputComponent, selector: "ax-comment-input", inputs: { commentType: { classPropertyName: "commentType", publicName: "commentType", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { commentValue: "commentValue" }, ngImport: i0, template: "@if (commentType() === 'advance') {\n <ax-wysiwyg-container>\n <ax-wysiwyg-view></ax-wysiwyg-view>\n <ax-wysiwyg-toolbar (outputHTML)=\"getHTML($event)\" #t>\n <ax-suffix> <ax-button color=\"primary\" text=\"Send Message\" (onClick)=\"t.out()\"></ax-button></ax-suffix>\n </ax-wysiwyg-toolbar>\n </ax-wysiwyg-container>\n} @else if (commentType() === 'basic') {\n <div class=\"comment-basic-input-container ax-sm\">\n <ax-text-area #a [rows]=\"4\" placeholder=\"Write Your Message ...\" [allowResize]=\"false\"> </ax-text-area>\n <ax-button (onClick)=\"basicOut(a)\" color=\"primary\" text=\"Send Message\"></ax-button>\n </div>\n}\n", styles: [".comment-basic-input-container ax-button{margin-top:1rem}\n"], dependencies: [{ kind: "component", type: i1.AXDecoratorGenericComponent, selector: "ax-footer, ax-header, ax-content, ax-divider, ax-form-hint, ax-prefix, ax-suffix, ax-text, ax-title, ax-sub-title, ax-placeholder, ax-overlay" }, { kind: "component", type: i2.AXWysiwygContainerComponent, selector: "ax-wysiwyg-container" }, { kind: "component", type: i2.AXWysiwygViewComponent, selector: "ax-wysiwyg-view" }, { kind: "component", type: i2.AXWysiwygToolbarComponent, selector: "ax-wysiwyg-toolbar", outputs: ["outputHTML"] }, { kind: "component", type: i3.AXButtonComponent, selector: "ax-button", inputs: ["disabled", "size", "tabIndex", "color", "look", "text", "toggleable", "selected", "type", "loadingText"], outputs: ["onBlur", "onFocus", "onClick", "selectedChange", "toggleableChange", "lookChange", "colorChange", "disabledChange", "loadingTextChange"] }, { kind: "component", type: i4.AXTextAreaComponent, selector: "ax-text-area", inputs: ["disabled", "tabIndex", "readonly", "value", "state", "name", "placeholder", "maxLength", "look", "rows", "allowResize", "showCounter"], outputs: ["onBlur", "onFocus", "valueChange", "stateChange", "onValueChanged", "readonlyChange", "disabledChange", "onKeyDown", "onKeyUp", "onKeyPress"] }], encapsulation: i0.ViewEncapsulation.None }); }
62
+ }
63
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXCommentInputComponent, decorators: [{
64
+ type: Component,
65
+ args: [{ selector: 'ax-comment-input', encapsulation: ViewEncapsulation.None, template: "@if (commentType() === 'advance') {\n <ax-wysiwyg-container>\n <ax-wysiwyg-view></ax-wysiwyg-view>\n <ax-wysiwyg-toolbar (outputHTML)=\"getHTML($event)\" #t>\n <ax-suffix> <ax-button color=\"primary\" text=\"Send Message\" (onClick)=\"t.out()\"></ax-button></ax-suffix>\n </ax-wysiwyg-toolbar>\n </ax-wysiwyg-container>\n} @else if (commentType() === 'basic') {\n <div class=\"comment-basic-input-container ax-sm\">\n <ax-text-area #a [rows]=\"4\" placeholder=\"Write Your Message ...\" [allowResize]=\"false\"> </ax-text-area>\n <ax-button (onClick)=\"basicOut(a)\" color=\"primary\" text=\"Send Message\"></ax-button>\n </div>\n}\n", styles: [".comment-basic-input-container ax-button{margin-top:1rem}\n"] }]
66
+ }] });
67
+
68
+ class AxCommentItemComponent {
69
+ constructor() {
70
+ this.avatar = contentChild(AXAvatarComponent);
71
+ this.commentItems = contentChildren(AxCommentItemComponent);
72
+ afterNextRender(() => {
73
+ this.avatar().size = 40;
74
+ });
75
+ }
76
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AxCommentItemComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
77
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.0.2", type: AxCommentItemComponent, selector: "ax-comment-item", queries: [{ propertyName: "avatar", first: true, predicate: AXAvatarComponent, descendants: true, isSignal: true }, { propertyName: "commentItems", predicate: AxCommentItemComponent, isSignal: true }], ngImport: i0, template: "<div class=\"ax-comment-items\">\n <div class=\"ax-title-avatar-container\">\n <ng-content select=\"ax-avatar\"></ng-content>\n <ng-content select=\"ax-title\"></ng-content>\n </div>\n <div class=\"ax-content-container\">\n <ng-content select=\"ax-content\"></ng-content>\n <div class=\"ax-reaction-container\">\n <ng-content select=\"ax-comment-like\"></ng-content>\n <ng-content select=\"ax-comment-reply\"></ng-content>\n <ax-text>Reply</ax-text>\n </div>\n </div>\n @if (commentItems().length > 0) {\n <div class=\"ax-comment-replies\">\n <ax-collapse-group look=\"none\" [accordion]=\"true\" [activeIndex]=\"1\">\n <ax-collapse caption=\"View all Replies\" [isCollapsed]=\"true\">\n <ng-content select=\"ax-comment-item\"></ng-content>\n </ax-collapse>\n </ax-collapse-group>\n </div>\n }\n</div>\n", styles: [".ax-comment-items .ax-title-avatar-container{display:flex;align-items:center}.ax-comment-items .ax-title-avatar-container ax-title{font-weight:700;padding:.5rem}.ax-comment-items .ax-content-container{margin-inline-start:3rem;display:flex;flex-direction:column}.ax-comment-items .ax-content-container .ax-reaction-container{margin-top:.8rem;display:flex}.ax-comment-items .ax-content-container .ax-reaction-container ax-comment-reply{margin-inline:1.5rem}.ax-comment-items .ax-content-container .ax-reaction-container ax-text{color:rgba(var(--ax-color-neutral-500))}.ax-comment-items .ax-content-container .ax-reaction-container ax-comment-like,.ax-comment-items .ax-content-container .ax-reaction-container ax-comment-reply,.ax-comment-items .ax-content-container .ax-reaction-container ax-text{cursor:pointer}.ax-comment-items .ax-comment-replies{margin-inline-start:2rem}\n"], dependencies: [{ kind: "component", type: i1.AXDecoratorGenericComponent, selector: "ax-footer, ax-header, ax-content, ax-divider, ax-form-hint, ax-prefix, ax-suffix, ax-text, ax-title, ax-sub-title, ax-placeholder, ax-overlay" }, { kind: "component", type: i2$1.AXCollapseComponent, selector: "ax-collapse", inputs: ["disabled", "look", "isCollapsed", "showHeader", "caption", "icon", "isLoading", "headerTemplate"], outputs: ["onClick", "isCollapsedChange"] }, { kind: "component", type: i2$1.AXCollapseGroupComponent, selector: "ax-collapse-group", inputs: ["look", "accordion", "activeIndex"], outputs: ["accordionChange", "activeIndexChange"] }], encapsulation: i0.ViewEncapsulation.None }); }
78
+ }
79
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AxCommentItemComponent, decorators: [{
80
+ type: Component,
81
+ args: [{ selector: 'ax-comment-item', encapsulation: ViewEncapsulation.None, template: "<div class=\"ax-comment-items\">\n <div class=\"ax-title-avatar-container\">\n <ng-content select=\"ax-avatar\"></ng-content>\n <ng-content select=\"ax-title\"></ng-content>\n </div>\n <div class=\"ax-content-container\">\n <ng-content select=\"ax-content\"></ng-content>\n <div class=\"ax-reaction-container\">\n <ng-content select=\"ax-comment-like\"></ng-content>\n <ng-content select=\"ax-comment-reply\"></ng-content>\n <ax-text>Reply</ax-text>\n </div>\n </div>\n @if (commentItems().length > 0) {\n <div class=\"ax-comment-replies\">\n <ax-collapse-group look=\"none\" [accordion]=\"true\" [activeIndex]=\"1\">\n <ax-collapse caption=\"View all Replies\" [isCollapsed]=\"true\">\n <ng-content select=\"ax-comment-item\"></ng-content>\n </ax-collapse>\n </ax-collapse-group>\n </div>\n }\n</div>\n", styles: [".ax-comment-items .ax-title-avatar-container{display:flex;align-items:center}.ax-comment-items .ax-title-avatar-container ax-title{font-weight:700;padding:.5rem}.ax-comment-items .ax-content-container{margin-inline-start:3rem;display:flex;flex-direction:column}.ax-comment-items .ax-content-container .ax-reaction-container{margin-top:.8rem;display:flex}.ax-comment-items .ax-content-container .ax-reaction-container ax-comment-reply{margin-inline:1.5rem}.ax-comment-items .ax-content-container .ax-reaction-container ax-text{color:rgba(var(--ax-color-neutral-500))}.ax-comment-items .ax-content-container .ax-reaction-container ax-comment-like,.ax-comment-items .ax-content-container .ax-reaction-container ax-comment-reply,.ax-comment-items .ax-content-container .ax-reaction-container ax-text{cursor:pointer}.ax-comment-items .ax-comment-replies{margin-inline-start:2rem}\n"] }]
82
+ }], ctorParameters: () => [] });
83
+
84
+ class AXCommentLikeComponent {
85
+ constructor() {
86
+ this.liked = input.required();
87
+ }
88
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXCommentLikeComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
89
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "18.0.2", type: AXCommentLikeComponent, selector: "ax-comment-like", inputs: { liked: { classPropertyName: "liked", publicName: "liked", isSignal: true, isRequired: true, transformFunction: null } }, ngImport: i0, template: "<div class=\"ax-comment-like-container\">\n <ax-icon class=\"ax-icon ax-icon-heart\" [class.ax-state-liked]=\"liked()\"></ax-icon>\n <ax-text><ng-content></ng-content></ax-text>\n</div>\n", styles: [".ax-comment-like-container{display:flex;align-items:center}.ax-comment-like-container ax-icon{margin-inline-end:.2rem;color:rgba(var(--ax-color-danger-500))}.ax-comment-like-container ax-icon.ax-state-liked{font-weight:700}.ax-comment-like-container ax-text{color:rgba(var(--ax-color-danger-500))}\n"], dependencies: [{ kind: "component", type: i1.AXDecoratorIconComponent, selector: "ax-icon", inputs: ["icon"] }, { kind: "component", type: i1.AXDecoratorGenericComponent, selector: "ax-footer, ax-header, ax-content, ax-divider, ax-form-hint, ax-prefix, ax-suffix, ax-text, ax-title, ax-sub-title, ax-placeholder, ax-overlay" }] }); }
90
+ }
91
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXCommentLikeComponent, decorators: [{
92
+ type: Component,
93
+ args: [{ selector: 'ax-comment-like', template: "<div class=\"ax-comment-like-container\">\n <ax-icon class=\"ax-icon ax-icon-heart\" [class.ax-state-liked]=\"liked()\"></ax-icon>\n <ax-text><ng-content></ng-content></ax-text>\n</div>\n", styles: [".ax-comment-like-container{display:flex;align-items:center}.ax-comment-like-container ax-icon{margin-inline-end:.2rem;color:rgba(var(--ax-color-danger-500))}.ax-comment-like-container ax-icon.ax-state-liked{font-weight:700}.ax-comment-like-container ax-text{color:rgba(var(--ax-color-danger-500))}\n"] }]
94
+ }] });
95
+
96
+ class AXCommentReplyComponent {
97
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXCommentReplyComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
98
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.0.2", type: AXCommentReplyComponent, selector: "ax-comment-reply", ngImport: i0, template: "<div class=\"ax-comment-reply-container\">\n <ax-icon class=\"ax-icon ax-icon-comment\"></ax-icon>\n <ax-text><ng-content></ng-content></ax-text>\n</div>\n", styles: [".ax-comment-reply-container{display:flex;align-items:center}.ax-comment-reply-container ax-icon{margin-inline-end:.2rem;color:rgba(var(--ax-color-text-default))}.ax-comment-reply-container ax-text{color:rgba(var(--ax-color-text-default))}\n"], dependencies: [{ kind: "component", type: i1.AXDecoratorIconComponent, selector: "ax-icon", inputs: ["icon"] }, { kind: "component", type: i1.AXDecoratorGenericComponent, selector: "ax-footer, ax-header, ax-content, ax-divider, ax-form-hint, ax-prefix, ax-suffix, ax-text, ax-title, ax-sub-title, ax-placeholder, ax-overlay" }] }); }
99
+ }
100
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXCommentReplyComponent, decorators: [{
101
+ type: Component,
102
+ args: [{ selector: 'ax-comment-reply', template: "<div class=\"ax-comment-reply-container\">\n <ax-icon class=\"ax-icon ax-icon-comment\"></ax-icon>\n <ax-text><ng-content></ng-content></ax-text>\n</div>\n", styles: [".ax-comment-reply-container{display:flex;align-items:center}.ax-comment-reply-container ax-icon{margin-inline-end:.2rem;color:rgba(var(--ax-color-text-default))}.ax-comment-reply-container ax-text{color:rgba(var(--ax-color-text-default))}\n"] }]
103
+ }] });
104
+
105
+ class AXCommentViewComponent {
106
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXCommentViewComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
107
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.0.2", type: AXCommentViewComponent, selector: "ax-comment-view", ngImport: i0, template: "<ng-content select=\"ax-comment-item\"></ng-content>\n", styles: ["ax-comment-view{border:1px solid rgb(var(--ax-color-border-default));border-radius:var(--ax-rounded-border-default);display:block;padding:1.5rem;margin-bottom:1rem}\n"], encapsulation: i0.ViewEncapsulation.None }); }
108
+ }
109
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXCommentViewComponent, decorators: [{
110
+ type: Component,
111
+ args: [{ selector: 'ax-comment-view', encapsulation: ViewEncapsulation.None, template: "<ng-content select=\"ax-comment-item\"></ng-content>\n", styles: ["ax-comment-view{border:1px solid rgb(var(--ax-color-border-default));border-radius:var(--ax-rounded-border-default);display:block;padding:1.5rem;margin-bottom:1rem}\n"] }]
112
+ }] });
113
+
114
+ const COMPONENT = [
115
+ AXCommentViewComponent,
116
+ AXCommentInputComponent,
117
+ AXCommentContainerComponent,
118
+ AxCommentItemComponent,
119
+ AXCommentLikeComponent,
120
+ AXCommentReplyComponent,
121
+ ];
122
+ const MODULES = [AXDecoratorModule, AXWysiwygModule, AXCollapseModule, AXButtonModule, AXTextAreaModule];
123
+ class AXCommentModule {
124
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXCommentModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
125
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.0.2", ngImport: i0, type: AXCommentModule, declarations: [AXCommentViewComponent,
126
+ AXCommentInputComponent,
127
+ AXCommentContainerComponent,
128
+ AxCommentItemComponent,
129
+ AXCommentLikeComponent,
130
+ AXCommentReplyComponent], imports: [AXDecoratorModule, AXWysiwygModule, AXCollapseModule, AXButtonModule, AXTextAreaModule], exports: [AXCommentViewComponent,
131
+ AXCommentInputComponent,
132
+ AXCommentContainerComponent,
133
+ AxCommentItemComponent,
134
+ AXCommentLikeComponent,
135
+ AXCommentReplyComponent] }); }
136
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXCommentModule, providers: [AXCommentService], imports: [MODULES] }); }
137
+ }
138
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXCommentModule, decorators: [{
139
+ type: NgModule,
140
+ args: [{
141
+ declarations: [...COMPONENT],
142
+ imports: [...MODULES],
143
+ exports: [...COMPONENT],
144
+ providers: [AXCommentService],
145
+ }]
146
+ }] });
147
+
148
+ /**
149
+ * Generated bundle index. Do not edit.
150
+ */
151
+
152
+ export { AXCommentContainerComponent, AXCommentInputComponent, AXCommentLikeComponent, AXCommentModule, AXCommentReplyComponent, AXCommentService, AXCommentViewComponent, AxCommentItemComponent };
153
+ //# sourceMappingURL=acorex-components-comment.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"acorex-components-comment.mjs","sources":["../../../../libs/components/comment/src/lib/services/comment.service.ts","../../../../libs/components/comment/src/lib/comment-container/comment-container.component.ts","../../../../libs/components/comment/src/lib/comment-container/comment-container.component.html","../../../../libs/components/comment/src/lib/comment-input/comment-input.component.ts","../../../../libs/components/comment/src/lib/comment-input/comment-input.component.html","../../../../libs/components/comment/src/lib/comment-item/comment-item.component.ts","../../../../libs/components/comment/src/lib/comment-item/comment-item.component.html","../../../../libs/components/comment/src/lib/comment-like/comment-like.component.ts","../../../../libs/components/comment/src/lib/comment-like/comment-like.component.html","../../../../libs/components/comment/src/lib/comment-reply/comment-reply.component.ts","../../../../libs/components/comment/src/lib/comment-reply/comment-reply.component.html","../../../../libs/components/comment/src/lib/comment-view/comment-view.component.ts","../../../../libs/components/comment/src/lib/comment-view/comment-view.component.html","../../../../libs/components/comment/src/lib/comment.module.ts","../../../../libs/components/comment/src/acorex-components-comment.ts"],"sourcesContent":["import { Injectable, signal } from '@angular/core';\n\n@Injectable()\nexport class AXCommentService {\n testData = signal<any>({\n id: 1,\n user: { name: 'Meysa Aghili', avatar: '' },\n likes: 1,\n content: 'Lorem ipsum is derived from the Latin “dolorem ipsum” roughly translated as “pain itself.',\n reply: {},\n });\n}\n","import { Component, ViewEncapsulation } from '@angular/core';\nimport { AXCommentService } from '../services/comment.service';\n\n@Component({\n selector: 'ax-comment-container',\n templateUrl: './comment-container.component.html',\n providers: [AXCommentService],\n styles: `\n ax-comment-container {\n width: 100%;\n }\n `,\n encapsulation: ViewEncapsulation.None,\n})\nexport class AXCommentContainerComponent {}\n","<ng-content select=\"ax-comment-view\"> </ng-content>\n<ng-content select=\"ax-comment-input\"> </ng-content>\n<ng-content> </ng-content>\n","import { AXClickEvent } from '@acorex/components/common';\nimport { Component, input, output, ViewEncapsulation } from '@angular/core';\n\n@Component({\n selector: 'ax-comment-input',\n templateUrl: './comment-input.component.html',\n styleUrl: './comment-input.component.scss',\n encapsulation: ViewEncapsulation.None,\n})\nexport class AXCommentInputComponent {\n commentType = input<'advance' | 'basic'>('advance');\n commentValue = output<AXClickEvent>();\n\n getHTML(e: any) {\n this.commentValue.emit({\n component: this,\n data: { value: e.data.value },\n isUserInteraction: true,\n });\n }\n\n basicOut(e: any) {\n this.commentValue.emit({\n component: this,\n data: { value: e.value },\n isUserInteraction: true,\n });\n }\n}\n","@if (commentType() === 'advance') {\n <ax-wysiwyg-container>\n <ax-wysiwyg-view></ax-wysiwyg-view>\n <ax-wysiwyg-toolbar (outputHTML)=\"getHTML($event)\" #t>\n <ax-suffix> <ax-button color=\"primary\" text=\"Send Message\" (onClick)=\"t.out()\"></ax-button></ax-suffix>\n </ax-wysiwyg-toolbar>\n </ax-wysiwyg-container>\n} @else if (commentType() === 'basic') {\n <div class=\"comment-basic-input-container ax-sm\">\n <ax-text-area #a [rows]=\"4\" placeholder=\"Write Your Message ...\" [allowResize]=\"false\"> </ax-text-area>\n <ax-button (onClick)=\"basicOut(a)\" color=\"primary\" text=\"Send Message\"></ax-button>\n </div>\n}\n","import { AXAvatarComponent } from '@acorex/components/avatar';\nimport { afterNextRender, Component, contentChild, contentChildren, ViewEncapsulation } from '@angular/core';\n\n@Component({\n selector: 'ax-comment-item',\n templateUrl: './comment-item.component.html',\n styleUrl: './comment-item.component.scss',\n encapsulation: ViewEncapsulation.None,\n})\nexport class AxCommentItemComponent {\n avatar = contentChild(AXAvatarComponent);\n commentItems = contentChildren(AxCommentItemComponent);\n\n constructor() {\n afterNextRender(() => {\n this.avatar().size = 40;\n });\n }\n}\n","<div class=\"ax-comment-items\">\n <div class=\"ax-title-avatar-container\">\n <ng-content select=\"ax-avatar\"></ng-content>\n <ng-content select=\"ax-title\"></ng-content>\n </div>\n <div class=\"ax-content-container\">\n <ng-content select=\"ax-content\"></ng-content>\n <div class=\"ax-reaction-container\">\n <ng-content select=\"ax-comment-like\"></ng-content>\n <ng-content select=\"ax-comment-reply\"></ng-content>\n <ax-text>Reply</ax-text>\n </div>\n </div>\n @if (commentItems().length > 0) {\n <div class=\"ax-comment-replies\">\n <ax-collapse-group look=\"none\" [accordion]=\"true\" [activeIndex]=\"1\">\n <ax-collapse caption=\"View all Replies\" [isCollapsed]=\"true\">\n <ng-content select=\"ax-comment-item\"></ng-content>\n </ax-collapse>\n </ax-collapse-group>\n </div>\n }\n</div>\n","import { Component, input } from '@angular/core';\n\n@Component({\n selector: 'ax-comment-like',\n templateUrl: './comment-like.component.html',\n styleUrl: './comment-like.component.scss',\n})\nexport class AXCommentLikeComponent {\n liked = input.required();\n}\n","<div class=\"ax-comment-like-container\">\n <ax-icon class=\"ax-icon ax-icon-heart\" [class.ax-state-liked]=\"liked()\"></ax-icon>\n <ax-text><ng-content></ng-content></ax-text>\n</div>\n","import { Component } from '@angular/core';\n\n@Component({\n selector: 'ax-comment-reply',\n templateUrl: './comment-reply.component.html',\n styleUrl: './comment-reply.component.scss',\n})\nexport class AXCommentReplyComponent {}\n","<div class=\"ax-comment-reply-container\">\n <ax-icon class=\"ax-icon ax-icon-comment\"></ax-icon>\n <ax-text><ng-content></ng-content></ax-text>\n</div>\n","import { Component, ViewEncapsulation } from '@angular/core';\n\n@Component({\n selector: 'ax-comment-view',\n templateUrl: './comment-view.component.html',\n styleUrls: ['./comment-view.component.scss'],\n encapsulation: ViewEncapsulation.None,\n})\nexport class AXCommentViewComponent {}\n","<ng-content select=\"ax-comment-item\"></ng-content>\n","import { AXButtonModule } from '@acorex/components/button';\nimport { AXCollapseModule } from '@acorex/components/collapse';\nimport { AXDecoratorModule } from '@acorex/components/decorators';\nimport { AXTextAreaModule } from '@acorex/components/text-area';\nimport { AXWysiwygModule } from '@acorex/components/wysiwyg';\nimport { NgModule } from '@angular/core';\nimport { AXCommentContainerComponent } from './comment-container/comment-container.component';\nimport { AXCommentInputComponent } from './comment-input/comment-input.component';\nimport { AxCommentItemComponent } from './comment-item/comment-item.component';\nimport { AXCommentLikeComponent } from './comment-like/comment-like.component';\nimport { AXCommentReplyComponent } from './comment-reply/comment-reply.component';\nimport { AXCommentViewComponent } from './comment-view/comment-view.component';\nimport { AXCommentService } from './services/comment.service';\n\nconst COMPONENT = [\n AXCommentViewComponent,\n AXCommentInputComponent,\n AXCommentContainerComponent,\n AxCommentItemComponent,\n AXCommentLikeComponent,\n AXCommentReplyComponent,\n];\nconst MODULES = [AXDecoratorModule, AXWysiwygModule, AXCollapseModule, AXButtonModule, AXTextAreaModule];\n\n@NgModule({\n declarations: [...COMPONENT],\n imports: [...MODULES],\n exports: [...COMPONENT],\n providers: [AXCommentService],\n})\nexport class AXCommentModule {}\n","/**\n *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