@acorex/components 21.0.2-next.23 → 21.0.2-next.25

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (340) hide show
  1. package/conversation2/README.md +5 -4
  2. package/fesm2022/acorex-components-accordion.mjs +17 -22
  3. package/fesm2022/acorex-components-accordion.mjs.map +1 -1
  4. package/fesm2022/acorex-components-action-sheet.mjs +17 -17
  5. package/fesm2022/acorex-components-action-sheet.mjs.map +1 -1
  6. package/fesm2022/acorex-components-alert.mjs +14 -14
  7. package/fesm2022/acorex-components-alert.mjs.map +1 -1
  8. package/fesm2022/acorex-components-aspect-ratio.mjs +4 -4
  9. package/fesm2022/acorex-components-aspect-ratio.mjs.map +1 -1
  10. package/fesm2022/acorex-components-audio-wave.mjs +12 -11
  11. package/fesm2022/acorex-components-audio-wave.mjs.map +1 -1
  12. package/fesm2022/acorex-components-autocomplete.mjs +9 -9
  13. package/fesm2022/acorex-components-autocomplete.mjs.map +1 -1
  14. package/fesm2022/acorex-components-avatar.mjs +13 -13
  15. package/fesm2022/acorex-components-avatar.mjs.map +1 -1
  16. package/fesm2022/acorex-components-badge.mjs +10 -10
  17. package/fesm2022/acorex-components-badge.mjs.map +1 -1
  18. package/fesm2022/acorex-components-bottom-navigation.mjs +12 -12
  19. package/fesm2022/acorex-components-bottom-navigation.mjs.map +1 -1
  20. package/fesm2022/acorex-components-breadcrumbs.mjs +12 -12
  21. package/fesm2022/acorex-components-breadcrumbs.mjs.map +1 -1
  22. package/fesm2022/acorex-components-button-group.mjs +61 -26
  23. package/fesm2022/acorex-components-button-group.mjs.map +1 -1
  24. package/fesm2022/acorex-components-button.mjs +22 -22
  25. package/fesm2022/acorex-components-button.mjs.map +1 -1
  26. package/fesm2022/acorex-components-calendar.mjs +18 -18
  27. package/fesm2022/acorex-components-calendar.mjs.map +1 -1
  28. package/fesm2022/acorex-components-check-box.mjs +11 -11
  29. package/fesm2022/acorex-components-check-box.mjs.map +1 -1
  30. package/fesm2022/acorex-components-chips.mjs +12 -14
  31. package/fesm2022/acorex-components-chips.mjs.map +1 -1
  32. package/fesm2022/acorex-components-circular-progress.mjs +13 -11
  33. package/fesm2022/acorex-components-circular-progress.mjs.map +1 -1
  34. package/fesm2022/acorex-components-code-editor.mjs +14 -14
  35. package/fesm2022/acorex-components-code-editor.mjs.map +1 -1
  36. package/fesm2022/acorex-components-color-box.mjs +11 -11
  37. package/fesm2022/acorex-components-color-box.mjs.map +1 -1
  38. package/fesm2022/acorex-components-color-palette.mjs +81 -40
  39. package/fesm2022/acorex-components-color-palette.mjs.map +1 -1
  40. package/fesm2022/acorex-components-command.mjs +11 -11
  41. package/fesm2022/acorex-components-command.mjs.map +1 -1
  42. package/fesm2022/acorex-components-comment.mjs +33 -33
  43. package/fesm2022/acorex-components-comment.mjs.map +1 -1
  44. package/fesm2022/acorex-components-conversation.mjs +63 -63
  45. package/fesm2022/acorex-components-conversation.mjs.map +1 -1
  46. package/fesm2022/acorex-components-conversation2.mjs +7876 -8197
  47. package/fesm2022/acorex-components-conversation2.mjs.map +1 -1
  48. package/fesm2022/acorex-components-cron-job.mjs +55 -55
  49. package/fesm2022/acorex-components-cron-job.mjs.map +1 -1
  50. package/fesm2022/acorex-components-data-list.mjs +6 -6
  51. package/fesm2022/acorex-components-data-list.mjs.map +1 -1
  52. package/fesm2022/acorex-components-data-pager.mjs +33 -33
  53. package/fesm2022/acorex-components-data-pager.mjs.map +1 -1
  54. package/fesm2022/acorex-components-data-table.mjs +50 -486
  55. package/fesm2022/acorex-components-data-table.mjs.map +1 -1
  56. package/fesm2022/acorex-components-datetime-box.mjs +10 -10
  57. package/fesm2022/acorex-components-datetime-box.mjs.map +1 -1
  58. package/fesm2022/acorex-components-datetime-input.mjs +10 -10
  59. package/fesm2022/acorex-components-datetime-input.mjs.map +1 -1
  60. package/fesm2022/acorex-components-datetime-picker.mjs +11 -11
  61. package/fesm2022/acorex-components-datetime-picker.mjs.map +1 -1
  62. package/fesm2022/acorex-components-decorators.mjs +48 -41
  63. package/fesm2022/acorex-components-decorators.mjs.map +1 -1
  64. package/fesm2022/acorex-components-dialog.mjs +13 -13
  65. package/fesm2022/acorex-components-dialog.mjs.map +1 -1
  66. package/fesm2022/acorex-components-drawer.mjs +16 -17
  67. package/fesm2022/acorex-components-drawer.mjs.map +1 -1
  68. package/fesm2022/acorex-components-dropdown-button.mjs +19 -11
  69. package/fesm2022/acorex-components-dropdown-button.mjs.map +1 -1
  70. package/fesm2022/acorex-components-dropdown.mjs +18 -18
  71. package/fesm2022/acorex-components-dropdown.mjs.map +1 -1
  72. package/fesm2022/acorex-components-editor.mjs +12 -12
  73. package/fesm2022/acorex-components-editor.mjs.map +1 -1
  74. package/fesm2022/acorex-components-fab.mjs +9 -9
  75. package/fesm2022/acorex-components-fab.mjs.map +1 -1
  76. package/fesm2022/acorex-components-flow-chart.mjs +64 -48
  77. package/fesm2022/acorex-components-flow-chart.mjs.map +1 -1
  78. package/fesm2022/acorex-components-form.mjs +35 -27
  79. package/fesm2022/acorex-components-form.mjs.map +1 -1
  80. package/fesm2022/acorex-components-grid-layout-builder.mjs +13 -14
  81. package/fesm2022/acorex-components-grid-layout-builder.mjs.map +1 -1
  82. package/fesm2022/acorex-components-image-editor.mjs +48 -48
  83. package/fesm2022/acorex-components-image-editor.mjs.map +1 -1
  84. package/fesm2022/acorex-components-image.mjs +10 -10
  85. package/fesm2022/acorex-components-image.mjs.map +1 -1
  86. package/fesm2022/acorex-components-json-viewer.mjs +9 -9
  87. package/fesm2022/acorex-components-json-viewer.mjs.map +1 -1
  88. package/fesm2022/acorex-components-kanban.mjs +9 -7
  89. package/fesm2022/acorex-components-kanban.mjs.map +1 -1
  90. package/fesm2022/acorex-components-kbd.mjs +10 -10
  91. package/fesm2022/acorex-components-kbd.mjs.map +1 -1
  92. package/fesm2022/acorex-components-label.mjs +9 -9
  93. package/fesm2022/acorex-components-label.mjs.map +1 -1
  94. package/fesm2022/acorex-components-list.mjs +10 -10
  95. package/fesm2022/acorex-components-list.mjs.map +1 -1
  96. package/fesm2022/acorex-components-loading-dialog.mjs +12 -12
  97. package/fesm2022/acorex-components-loading-dialog.mjs.map +1 -1
  98. package/fesm2022/acorex-components-loading.mjs +21 -21
  99. package/fesm2022/acorex-components-loading.mjs.map +1 -1
  100. package/fesm2022/acorex-components-map.mjs +15 -15
  101. package/fesm2022/acorex-components-map.mjs.map +1 -1
  102. package/fesm2022/acorex-components-media-viewer.mjs +45 -45
  103. package/fesm2022/acorex-components-media-viewer.mjs.map +1 -1
  104. package/fesm2022/acorex-components-menu.mjs +64 -33
  105. package/fesm2022/acorex-components-menu.mjs.map +1 -1
  106. package/fesm2022/{acorex-components-modal-acorex-components-modal-DwBY73dZ.mjs → acorex-components-modal-acorex-components-modal-DWNqU6or.mjs} +24 -24
  107. package/fesm2022/acorex-components-modal-acorex-components-modal-DWNqU6or.mjs.map +1 -0
  108. package/fesm2022/acorex-components-modal-modal-content.component-DplJbJyk.mjs +214 -0
  109. package/fesm2022/acorex-components-modal-modal-content.component-DplJbJyk.mjs.map +1 -0
  110. package/fesm2022/acorex-components-modal.mjs +1 -1
  111. package/fesm2022/acorex-components-navbar.mjs +9 -9
  112. package/fesm2022/acorex-components-navbar.mjs.map +1 -1
  113. package/fesm2022/acorex-components-notification.mjs +13 -13
  114. package/fesm2022/acorex-components-notification.mjs.map +1 -1
  115. package/fesm2022/acorex-components-number-box.mjs +10 -10
  116. package/fesm2022/acorex-components-number-box.mjs.map +1 -1
  117. package/fesm2022/acorex-components-otp.mjs +10 -10
  118. package/fesm2022/acorex-components-otp.mjs.map +1 -1
  119. package/fesm2022/acorex-components-page.mjs +10 -10
  120. package/fesm2022/acorex-components-page.mjs.map +1 -1
  121. package/fesm2022/acorex-components-paint.mjs +35 -40
  122. package/fesm2022/acorex-components-paint.mjs.map +1 -1
  123. package/fesm2022/acorex-components-password-box.mjs +15 -23
  124. package/fesm2022/acorex-components-password-box.mjs.map +1 -1
  125. package/fesm2022/acorex-components-pdf-reader.mjs +9 -9
  126. package/fesm2022/acorex-components-pdf-reader.mjs.map +1 -1
  127. package/fesm2022/acorex-components-phone-box.mjs +10 -10
  128. package/fesm2022/acorex-components-phone-box.mjs.map +1 -1
  129. package/fesm2022/acorex-components-picker.mjs +20 -20
  130. package/fesm2022/acorex-components-picker.mjs.map +1 -1
  131. package/fesm2022/acorex-components-popover.mjs +8 -8
  132. package/fesm2022/acorex-components-popover.mjs.map +1 -1
  133. package/fesm2022/acorex-components-popup.mjs +17 -17
  134. package/fesm2022/acorex-components-popup.mjs.map +1 -1
  135. package/fesm2022/acorex-components-progress-bar.mjs +11 -9
  136. package/fesm2022/acorex-components-progress-bar.mjs.map +1 -1
  137. package/fesm2022/acorex-components-qrcode.mjs +29 -12
  138. package/fesm2022/acorex-components-qrcode.mjs.map +1 -1
  139. package/fesm2022/acorex-components-query-builder.mjs +11 -10
  140. package/fesm2022/acorex-components-query-builder.mjs.map +1 -1
  141. package/fesm2022/acorex-components-radio.mjs +10 -9
  142. package/fesm2022/acorex-components-radio.mjs.map +1 -1
  143. package/fesm2022/acorex-components-rail-navigation.mjs +40 -38
  144. package/fesm2022/acorex-components-rail-navigation.mjs.map +1 -1
  145. package/fesm2022/acorex-components-range-slider.mjs +11 -11
  146. package/fesm2022/acorex-components-range-slider.mjs.map +1 -1
  147. package/fesm2022/acorex-components-rate-picker.mjs +20 -35
  148. package/fesm2022/acorex-components-rate-picker.mjs.map +1 -1
  149. package/fesm2022/acorex-components-rest-api-generator.mjs +28 -28
  150. package/fesm2022/acorex-components-rest-api-generator.mjs.map +1 -1
  151. package/fesm2022/acorex-components-result.mjs +8 -8
  152. package/fesm2022/acorex-components-result.mjs.map +1 -1
  153. package/fesm2022/acorex-components-routing-progress.mjs +8 -8
  154. package/fesm2022/acorex-components-routing-progress.mjs.map +1 -1
  155. package/fesm2022/acorex-components-rrule.mjs +11 -11
  156. package/fesm2022/acorex-components-rrule.mjs.map +1 -1
  157. package/fesm2022/acorex-components-scheduler-picker.mjs +173 -179
  158. package/fesm2022/acorex-components-scheduler-picker.mjs.map +1 -1
  159. package/fesm2022/acorex-components-scheduler.mjs +53 -52
  160. package/fesm2022/acorex-components-scheduler.mjs.map +1 -1
  161. package/fesm2022/acorex-components-search-box.mjs +17 -11
  162. package/fesm2022/acorex-components-search-box.mjs.map +1 -1
  163. package/fesm2022/acorex-components-select-box.mjs +16 -14
  164. package/fesm2022/acorex-components-select-box.mjs.map +1 -1
  165. package/fesm2022/acorex-components-selection-list-2.mjs +12 -12
  166. package/fesm2022/acorex-components-selection-list-2.mjs.map +1 -1
  167. package/fesm2022/acorex-components-selection-list.mjs +10 -10
  168. package/fesm2022/acorex-components-selection-list.mjs.map +1 -1
  169. package/fesm2022/acorex-components-side-menu.mjs +113 -42
  170. package/fesm2022/acorex-components-side-menu.mjs.map +1 -1
  171. package/fesm2022/acorex-components-skeleton.mjs +8 -8
  172. package/fesm2022/acorex-components-skeleton.mjs.map +1 -1
  173. package/fesm2022/acorex-components-slider.mjs +13 -13
  174. package/fesm2022/acorex-components-slider.mjs.map +1 -1
  175. package/fesm2022/acorex-components-sliding-item.mjs +19 -19
  176. package/fesm2022/acorex-components-sliding-item.mjs.map +1 -1
  177. package/fesm2022/acorex-components-step-wizard.mjs +16 -16
  178. package/fesm2022/acorex-components-step-wizard.mjs.map +1 -1
  179. package/fesm2022/acorex-components-switch.mjs +14 -14
  180. package/fesm2022/acorex-components-switch.mjs.map +1 -1
  181. package/fesm2022/acorex-components-tabs.mjs +17 -17
  182. package/fesm2022/acorex-components-tabs.mjs.map +1 -1
  183. package/fesm2022/acorex-components-tag-box.mjs +10 -10
  184. package/fesm2022/acorex-components-tag-box.mjs.map +1 -1
  185. package/fesm2022/acorex-components-tag.mjs +10 -10
  186. package/fesm2022/acorex-components-tag.mjs.map +1 -1
  187. package/fesm2022/acorex-components-text-area.mjs +9 -9
  188. package/fesm2022/acorex-components-text-area.mjs.map +1 -1
  189. package/fesm2022/acorex-components-text-box.mjs +12 -12
  190. package/fesm2022/acorex-components-text-box.mjs.map +1 -1
  191. package/fesm2022/acorex-components-time-duration.mjs +11 -13
  192. package/fesm2022/acorex-components-time-duration.mjs.map +1 -1
  193. package/fesm2022/acorex-components-time-line.mjs +14 -14
  194. package/fesm2022/acorex-components-time-line.mjs.map +1 -1
  195. package/fesm2022/acorex-components-toast.mjs +13 -13
  196. package/fesm2022/acorex-components-toast.mjs.map +1 -1
  197. package/fesm2022/acorex-components-toolbar.mjs +10 -10
  198. package/fesm2022/acorex-components-toolbar.mjs.map +1 -1
  199. package/fesm2022/acorex-components-tooltip.mjs +14 -14
  200. package/fesm2022/acorex-components-tooltip.mjs.map +1 -1
  201. package/fesm2022/acorex-components-tree-view.mjs +13 -13
  202. package/fesm2022/acorex-components-tree-view.mjs.map +1 -1
  203. package/fesm2022/acorex-components-uploader.mjs +17 -17
  204. package/fesm2022/acorex-components-uploader.mjs.map +1 -1
  205. package/fesm2022/acorex-components-video-player.mjs +9 -9
  206. package/fesm2022/acorex-components-video-player.mjs.map +1 -1
  207. package/fesm2022/acorex-components-wysiwyg.mjs +45 -45
  208. package/fesm2022/acorex-components-wysiwyg.mjs.map +1 -1
  209. package/fesm2022/acorex-components.mjs.map +1 -1
  210. package/package.json +113 -137
  211. package/{accordion/index.d.ts → types/acorex-components-accordion.d.ts} +0 -1
  212. package/{button-group/index.d.ts → types/acorex-components-button-group.d.ts} +20 -12
  213. package/{button/index.d.ts → types/acorex-components-button.d.ts} +3 -3
  214. package/{check-box/index.d.ts → types/acorex-components-check-box.d.ts} +1 -1
  215. package/{chips/index.d.ts → types/acorex-components-chips.d.ts} +3 -8
  216. package/{color-palette/index.d.ts → types/acorex-components-color-palette.d.ts} +2 -0
  217. package/{conversation2/index.d.ts → types/acorex-components-conversation2.d.ts} +2294 -2184
  218. package/{data-table/index.d.ts → types/acorex-components-data-table.d.ts} +4 -253
  219. package/{dropdown-button/index.d.ts → types/acorex-components-dropdown-button.d.ts} +4 -2
  220. package/{flow-chart/index.d.ts → types/acorex-components-flow-chart.d.ts} +4 -0
  221. package/{form/index.d.ts → types/acorex-components-form.d.ts} +24 -24
  222. package/{grid-layout-builder/index.d.ts → types/acorex-components-grid-layout-builder.d.ts} +0 -1
  223. package/{loading/index.d.ts → types/acorex-components-loading.d.ts} +1 -1
  224. package/{menu/index.d.ts → types/acorex-components-menu.d.ts} +15 -6
  225. package/{paint/index.d.ts → types/acorex-components-paint.d.ts} +1 -6
  226. package/{qrcode/index.d.ts → types/acorex-components-qrcode.d.ts} +1 -0
  227. package/{radio/index.d.ts → types/acorex-components-radio.d.ts} +1 -1
  228. package/{rate-picker/index.d.ts → types/acorex-components-rate-picker.d.ts} +5 -15
  229. package/{scheduler-picker/index.d.ts → types/acorex-components-scheduler-picker.d.ts} +82 -81
  230. package/{select-box/index.d.ts → types/acorex-components-select-box.d.ts} +2 -1
  231. package/{side-menu/index.d.ts → types/acorex-components-side-menu.d.ts} +11 -2
  232. package/{slider/index.d.ts → types/acorex-components-slider.d.ts} +2 -2
  233. package/{tabs/index.d.ts → types/acorex-components-tabs.d.ts} +1 -1
  234. package/{tag/index.d.ts → types/acorex-components-tag.d.ts} +3 -3
  235. package/collapse/README.md +0 -3
  236. package/collapse/index.d.ts +0 -174
  237. package/drawer-legacy/README.md +0 -3
  238. package/drawer-legacy/index.d.ts +0 -86
  239. package/fesm2022/acorex-components-collapse.mjs +0 -366
  240. package/fesm2022/acorex-components-collapse.mjs.map +0 -1
  241. package/fesm2022/acorex-components-drawer-legacy.mjs +0 -218
  242. package/fesm2022/acorex-components-drawer-legacy.mjs.map +0 -1
  243. package/fesm2022/acorex-components-file-explorer.mjs +0 -307
  244. package/fesm2022/acorex-components-file-explorer.mjs.map +0 -1
  245. package/fesm2022/acorex-components-modal-acorex-components-modal-DwBY73dZ.mjs.map +0 -1
  246. package/fesm2022/acorex-components-modal-modal-content.component-DPMt_zaI.mjs +0 -212
  247. package/fesm2022/acorex-components-modal-modal-content.component-DPMt_zaI.mjs.map +0 -1
  248. package/fesm2022/acorex-components-number-box-legacy.mjs +0 -430
  249. package/fesm2022/acorex-components-number-box-legacy.mjs.map +0 -1
  250. package/fesm2022/acorex-components-scss.mjs +0 -22
  251. package/fesm2022/acorex-components-scss.mjs.map +0 -1
  252. package/fesm2022/acorex-components-tree-view-legacy.mjs +0 -515
  253. package/fesm2022/acorex-components-tree-view-legacy.mjs.map +0 -1
  254. package/file-explorer/README.md +0 -3
  255. package/file-explorer/index.d.ts +0 -103
  256. package/number-box-legacy/README.md +0 -3
  257. package/number-box-legacy/index.d.ts +0 -191
  258. package/scss/README.md +0 -3
  259. package/scss/index.d.ts +0 -10
  260. package/tree-view-legacy/README.md +0 -3
  261. package/tree-view-legacy/index.d.ts +0 -185
  262. package/{action-sheet/index.d.ts → types/acorex-components-action-sheet.d.ts} +0 -0
  263. package/{alert/index.d.ts → types/acorex-components-alert.d.ts} +0 -0
  264. package/{aspect-ratio/index.d.ts → types/acorex-components-aspect-ratio.d.ts} +0 -0
  265. package/{audio-wave/index.d.ts → types/acorex-components-audio-wave.d.ts} +0 -0
  266. package/{autocomplete/index.d.ts → types/acorex-components-autocomplete.d.ts} +0 -0
  267. package/{avatar/index.d.ts → types/acorex-components-avatar.d.ts} +0 -0
  268. package/{badge/index.d.ts → types/acorex-components-badge.d.ts} +0 -0
  269. package/{bottom-navigation/index.d.ts → types/acorex-components-bottom-navigation.d.ts} +0 -0
  270. package/{breadcrumbs/index.d.ts → types/acorex-components-breadcrumbs.d.ts} +0 -0
  271. package/{calendar/index.d.ts → types/acorex-components-calendar.d.ts} +0 -0
  272. package/{circular-progress/index.d.ts → types/acorex-components-circular-progress.d.ts} +0 -0
  273. package/{code-editor/index.d.ts → types/acorex-components-code-editor.d.ts} +0 -0
  274. package/{color-box/index.d.ts → types/acorex-components-color-box.d.ts} +0 -0
  275. package/{command/index.d.ts → types/acorex-components-command.d.ts} +0 -0
  276. package/{comment/index.d.ts → types/acorex-components-comment.d.ts} +0 -0
  277. package/{conversation/index.d.ts → types/acorex-components-conversation.d.ts} +0 -0
  278. package/{cron-job/index.d.ts → types/acorex-components-cron-job.d.ts} +0 -0
  279. package/{data-list/index.d.ts → types/acorex-components-data-list.d.ts} +0 -0
  280. package/{data-pager/index.d.ts → types/acorex-components-data-pager.d.ts} +0 -0
  281. package/{datetime-box/index.d.ts → types/acorex-components-datetime-box.d.ts} +0 -0
  282. package/{datetime-input/index.d.ts → types/acorex-components-datetime-input.d.ts} +0 -0
  283. package/{datetime-picker/index.d.ts → types/acorex-components-datetime-picker.d.ts} +0 -0
  284. package/{decorators/index.d.ts → types/acorex-components-decorators.d.ts} +0 -0
  285. package/{dialog/index.d.ts → types/acorex-components-dialog.d.ts} +0 -0
  286. package/{drawer/index.d.ts → types/acorex-components-drawer.d.ts} +0 -0
  287. package/{dropdown/index.d.ts → types/acorex-components-dropdown.d.ts} +0 -0
  288. package/{editor/index.d.ts → types/acorex-components-editor.d.ts} +0 -0
  289. package/{fab/index.d.ts → types/acorex-components-fab.d.ts} +0 -0
  290. package/{image-editor/index.d.ts → types/acorex-components-image-editor.d.ts} +0 -0
  291. package/{image/index.d.ts → types/acorex-components-image.d.ts} +0 -0
  292. package/{json-viewer/index.d.ts → types/acorex-components-json-viewer.d.ts} +0 -0
  293. package/{kanban/index.d.ts → types/acorex-components-kanban.d.ts} +0 -0
  294. package/{kbd/index.d.ts → types/acorex-components-kbd.d.ts} +0 -0
  295. package/{label/index.d.ts → types/acorex-components-label.d.ts} +0 -0
  296. package/{list/index.d.ts → types/acorex-components-list.d.ts} +0 -0
  297. package/{loading-dialog/index.d.ts → types/acorex-components-loading-dialog.d.ts} +0 -0
  298. package/{map/index.d.ts → types/acorex-components-map.d.ts} +0 -0
  299. package/{media-viewer/index.d.ts → types/acorex-components-media-viewer.d.ts} +0 -0
  300. package/{modal/index.d.ts → types/acorex-components-modal.d.ts} +0 -0
  301. package/{navbar/index.d.ts → types/acorex-components-navbar.d.ts} +0 -0
  302. package/{notification/index.d.ts → types/acorex-components-notification.d.ts} +0 -0
  303. package/{number-box/index.d.ts → types/acorex-components-number-box.d.ts} +0 -0
  304. package/{otp/index.d.ts → types/acorex-components-otp.d.ts} +0 -0
  305. package/{page/index.d.ts → types/acorex-components-page.d.ts} +0 -0
  306. package/{password-box/index.d.ts → types/acorex-components-password-box.d.ts} +0 -0
  307. package/{pdf-reader/index.d.ts → types/acorex-components-pdf-reader.d.ts} +0 -0
  308. package/{phone-box/index.d.ts → types/acorex-components-phone-box.d.ts} +0 -0
  309. package/{picker/index.d.ts → types/acorex-components-picker.d.ts} +0 -0
  310. package/{popover/index.d.ts → types/acorex-components-popover.d.ts} +0 -0
  311. package/{popup/index.d.ts → types/acorex-components-popup.d.ts} +0 -0
  312. package/{progress-bar/index.d.ts → types/acorex-components-progress-bar.d.ts} +0 -0
  313. package/{query-builder/index.d.ts → types/acorex-components-query-builder.d.ts} +1 -1
  314. /package/{rail-navigation/index.d.ts → types/acorex-components-rail-navigation.d.ts} +0 -0
  315. /package/{range-slider/index.d.ts → types/acorex-components-range-slider.d.ts} +0 -0
  316. /package/{rest-api-generator/index.d.ts → types/acorex-components-rest-api-generator.d.ts} +0 -0
  317. /package/{result/index.d.ts → types/acorex-components-result.d.ts} +0 -0
  318. /package/{routing-progress/index.d.ts → types/acorex-components-routing-progress.d.ts} +0 -0
  319. /package/{rrule/index.d.ts → types/acorex-components-rrule.d.ts} +0 -0
  320. /package/{scheduler/index.d.ts → types/acorex-components-scheduler.d.ts} +0 -0
  321. /package/{search-box/index.d.ts → types/acorex-components-search-box.d.ts} +0 -0
  322. /package/{selection-list-2/index.d.ts → types/acorex-components-selection-list-2.d.ts} +0 -0
  323. /package/{selection-list/index.d.ts → types/acorex-components-selection-list.d.ts} +0 -0
  324. /package/{skeleton/index.d.ts → types/acorex-components-skeleton.d.ts} +0 -0
  325. /package/{sliding-item/index.d.ts → types/acorex-components-sliding-item.d.ts} +0 -0
  326. /package/{step-wizard/index.d.ts → types/acorex-components-step-wizard.d.ts} +0 -0
  327. /package/{switch/index.d.ts → types/acorex-components-switch.d.ts} +0 -0
  328. /package/{tag-box/index.d.ts → types/acorex-components-tag-box.d.ts} +0 -0
  329. /package/{text-area/index.d.ts → types/acorex-components-text-area.d.ts} +0 -0
  330. /package/{text-box/index.d.ts → types/acorex-components-text-box.d.ts} +0 -0
  331. /package/{time-duration/index.d.ts → types/acorex-components-time-duration.d.ts} +0 -0
  332. /package/{time-line/index.d.ts → types/acorex-components-time-line.d.ts} +0 -0
  333. /package/{toast/index.d.ts → types/acorex-components-toast.d.ts} +0 -0
  334. /package/{toolbar/index.d.ts → types/acorex-components-toolbar.d.ts} +0 -0
  335. /package/{tooltip/index.d.ts → types/acorex-components-tooltip.d.ts} +0 -0
  336. /package/{tree-view/index.d.ts → types/acorex-components-tree-view.d.ts} +0 -0
  337. /package/{uploader/index.d.ts → types/acorex-components-uploader.d.ts} +0 -0
  338. /package/{video-player/index.d.ts → types/acorex-components-video-player.d.ts} +0 -0
  339. /package/{wysiwyg/index.d.ts → types/acorex-components-wysiwyg.d.ts} +0 -0
  340. /package/{index.d.ts → types/acorex-components.d.ts} +0 -0
@@ -1 +1 @@
1
- {"version":3,"file":"acorex-components-fab.mjs","sources":["../tmp-esm2022/fab/lib/fab.component.js","../tmp-esm2022/fab/lib/fab-item/fab-item.component.js","../tmp-esm2022/fab/acorex-components-fab.js"],"sourcesContent":["import { AXButtonComponent } from '@acorex/components/button';\nimport { AXDecoratorModule } from '@acorex/components/decorators';\nimport { AXPopoverComponent, AXPopoverModule } from '@acorex/components/popover';\nimport { ChangeDetectionStrategy, Component, effect, input, model, output, signal, viewChild, ViewEncapsulation, } from '@angular/core';\nimport * as i0 from \"@angular/core\";\nimport * as i1 from \"@acorex/components/popover\";\nexport class AXFabComponent {\n constructor() {\n this.label = input(null, ...(ngDevMode ? [{ debugName: \"label\" }] : []));\n this.popupStyle = input('bubble', ...(ngDevMode ? [{ debugName: \"popupStyle\" }] : []));\n this.popupPlacement = model(null, ...(ngDevMode ? [{ debugName: \"popupPlacement\" }] : []));\n this.size = input('md', ...(ngDevMode ? [{ debugName: \"size\" }] : []));\n this.popoverRef = viewChild(AXPopoverComponent, ...(ngDevMode ? [{ debugName: \"popoverRef\" }] : []));\n this.offsetPopover = signal(null, ...(ngDevMode ? [{ debugName: \"offsetPopover\" }] : []));\n this.#eff = effect(() => {\n if (this.popupStyle() === 'box') {\n this.popupPlacement.set('top-end');\n this.offsetPopover.set(-10);\n }\n else {\n this.popupPlacement.set('top');\n this.offsetPopover.set(-2);\n }\n }, ...(ngDevMode ? [{ debugName: \"#eff\" }] : []));\n /**\n * Fires each time the user clicks the button.\n * @event\n */\n this.onClick = output();\n /**\n * Emits when the popover is opened.\n * @event\n */\n this.onOpened = output();\n /**\n * Emits when the popover is closed.\n * @event\n */\n this.onClosed = output();\n }\n #eff;\n addStyleClass() {\n const fabItemContainer = document.querySelector('.ax-fab-item-container');\n if (!fabItemContainer)\n return;\n if (this.popupStyle() === 'box') {\n fabItemContainer.classList.add('ax-fab-box-style');\n }\n else {\n fabItemContainer.classList.add('ax-fab-bubble-style');\n }\n }\n openPopover() {\n this.addStyleClass();\n this.onOpened.emit({ component: this });\n }\n closePopover() {\n this.onClosed.emit({ component: this });\n }\n close() {\n this.popoverRef().close();\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"20.3.3\", ngImport: i0, type: AXFabComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"17.2.0\", version: \"20.3.3\", type: AXFabComponent, isStandalone: true, selector: \"ax-fab\", inputs: { label: { classPropertyName: \"label\", publicName: \"label\", isSignal: true, isRequired: false, transformFunction: null }, popupStyle: { classPropertyName: \"popupStyle\", publicName: \"popupStyle\", isSignal: true, isRequired: false, transformFunction: null }, popupPlacement: { classPropertyName: \"popupPlacement\", publicName: \"popupPlacement\", isSignal: true, isRequired: false, transformFunction: null }, size: { classPropertyName: \"size\", publicName: \"size\", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { popupPlacement: \"popupPlacementChange\", onClick: \"onClick\", onOpened: \"onOpened\", onClosed: \"onClosed\" }, viewQueries: [{ propertyName: \"popoverRef\", first: true, predicate: AXPopoverComponent, descendants: true, isSignal: true }], ngImport: i0, template: \"<ax-button class=\\\"ax-{{ size() }}\\\" #btn (onClick)=\\\"onClick.emit($event)\\\" color=\\\"primary\\\" look=\\\"solid\\\" [text]=\\\"label()\\\">\\n <ng-content select=\\\"ax-icon\\\"> </ng-content>\\n</ax-button>\\n\\n<ax-popover\\n (onOpened)=\\\"openPopover()\\\"\\n (onClosed)=\\\"closePopover()\\\"\\n [disablePanelClass]=\\\"true\\\"\\n [offsetY]=\\\"offsetPopover()\\\"\\n [placement]=\\\"popupPlacement()\\\"\\n [target]=\\\"btn\\\"\\n>\\n <div class=\\\"ax-fab-item-container\\\">\\n <ng-content select=\\\"ax-fab-item\\\"> </ng-content>\\n </div>\\n</ax-popover>\\n\", styles: [\"ax-fab ax-button{border-radius:1000vmax}.ax-fab-item-container{display:flex;flex-direction:column;gap:.25rem;padding-block:.5rem}.ax-fab-item-container.ax-fab-box-style{background-color:rgba(var(--ax-sys-color-lightest-surface));border-radius:var(--ax-sys-border-radius);border:1px solid rgba(var(--ax-sys-color-border-lightest-surface))}.ax-fab-item-container ax-popover{display:none}.ax-fab-item-container ax-button{border-radius:1000vmax}.ax-fab-item-container ax-text{font-weight:500;font-size:.875rem;line-height:1.25rem}.ax-fab-item-container .ax-fab-box{padding:.25rem .875rem;display:flex;align-items:center;gap:.5rem;min-width:10rem}.ax-fab-item-container .ax-fab-box:hover{background-color:rgba(var(--ax-sys-color-surface));cursor:pointer}\\n\"], dependencies: [{ kind: \"component\", type: AXButtonComponent, selector: \"ax-button\", inputs: [\"disabled\", \"size\", \"tabIndex\", \"color\", \"look\", \"text\", \"toggleable\", \"selected\", \"iconOnly\", \"type\", \"loadingText\"], outputs: [\"onBlur\", \"onFocus\", \"onClick\", \"selectedChange\", \"toggleableChange\", \"lookChange\", \"colorChange\", \"disabledChange\", \"loadingTextChange\"] }, { kind: \"ngmodule\", type: AXPopoverModule }, { kind: \"component\", type: i1.AXPopoverComponent, selector: \"ax-popover\", inputs: [\"width\", \"disablePanelClass\", \"disabled\", \"offsetX\", \"offsetY\", \"target\", \"placement\", \"content\", \"openOn\", \"closeOn\", \"hasBackdrop\", \"openAfter\", \"closeAfter\", \"closeOnScroll\", \"backdropClass\", \"panelClass\", \"adaptivityEnabled\"], outputs: [\"onOpened\", \"onClosed\"] }, { kind: \"ngmodule\", type: AXDecoratorModule }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"20.3.3\", ngImport: i0, type: AXFabComponent, decorators: [{\n type: Component,\n args: [{ selector: 'ax-fab', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, imports: [AXButtonComponent, AXPopoverModule, AXDecoratorModule], template: \"<ax-button class=\\\"ax-{{ size() }}\\\" #btn (onClick)=\\\"onClick.emit($event)\\\" color=\\\"primary\\\" look=\\\"solid\\\" [text]=\\\"label()\\\">\\n <ng-content select=\\\"ax-icon\\\"> </ng-content>\\n</ax-button>\\n\\n<ax-popover\\n (onOpened)=\\\"openPopover()\\\"\\n (onClosed)=\\\"closePopover()\\\"\\n [disablePanelClass]=\\\"true\\\"\\n [offsetY]=\\\"offsetPopover()\\\"\\n [placement]=\\\"popupPlacement()\\\"\\n [target]=\\\"btn\\\"\\n>\\n <div class=\\\"ax-fab-item-container\\\">\\n <ng-content select=\\\"ax-fab-item\\\"> </ng-content>\\n </div>\\n</ax-popover>\\n\", styles: [\"ax-fab ax-button{border-radius:1000vmax}.ax-fab-item-container{display:flex;flex-direction:column;gap:.25rem;padding-block:.5rem}.ax-fab-item-container.ax-fab-box-style{background-color:rgba(var(--ax-sys-color-lightest-surface));border-radius:var(--ax-sys-border-radius);border:1px solid rgba(var(--ax-sys-color-border-lightest-surface))}.ax-fab-item-container ax-popover{display:none}.ax-fab-item-container ax-button{border-radius:1000vmax}.ax-fab-item-container ax-text{font-weight:500;font-size:.875rem;line-height:1.25rem}.ax-fab-item-container .ax-fab-box{padding:.25rem .875rem;display:flex;align-items:center;gap:.5rem;min-width:10rem}.ax-fab-item-container .ax-fab-box:hover{background-color:rgba(var(--ax-sys-color-surface));cursor:pointer}\\n\"] }]\n }] });\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZmFiLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3BhY2thZ2VzL2NvbXBvbmVudHMvZmFiL3NyYy9saWIvZmFiLmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uLy4uL3BhY2thZ2VzL2NvbXBvbmVudHMvZmFiL3NyYy9saWIvZmFiLmNvbXBvbmVudC5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUNBLE9BQU8sRUFBRSxpQkFBaUIsRUFBRSxNQUFNLDJCQUEyQixDQUFDO0FBQzlELE9BQU8sRUFBRSxpQkFBaUIsRUFBRSxNQUFNLCtCQUErQixDQUFDO0FBQ2xFLE9BQU8sRUFBRSxrQkFBa0IsRUFBRSxlQUFlLEVBQUUsTUFBTSw0QkFBNEIsQ0FBQztBQUNqRixPQUFPLEVBQ0wsdUJBQXVCLEVBQ3ZCLFNBQVMsRUFDVCxNQUFNLEVBQ04sS0FBSyxFQUNMLEtBQUssRUFDTCxNQUFNLEVBQ04sTUFBTSxFQUNOLFNBQVMsRUFDVCxpQkFBaUIsR0FDbEIsTUFBTSxlQUFlLENBQUM7OztBQVV2QixNQUFNLE9BQU8sY0FBYztJQVIzQjtRQVNFLFVBQUssR0FBRyxLQUFLLENBQVMsSUFBSSxpREFBQyx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ZlclxuICAob25PcGVuZWQpPVwib3BlblBvcG92ZXIoKVwiXG4gIChvbkNsb3NlZCk9XCJjbG9zZVBvcG92ZXIoKVwiXG4gIFtkaXNhYmxlUGFuZWxDbGFzc109XCJ0cnVlXCJcbiAgW29mZnNldFldPVwib2Zmc2V0UG9wb3ZlcigpXCJcbiAgW3BsYWNlbWVudF09XCJwb3B1cFBsYWNlbWVudCgpXCJcbiAgW3RhcmdldF09XCJidG5cIlxuPlxuICA8ZGl2IGNsYXNzPVwiYXgtZmFiLWl0ZW0tY29udGFpbmVyXCI+XG4gICAgPG5nLWNvbnRlbnQgc2VsZWN0PVwiYXgtZmFiLWl0ZW1cIj4gPC9uZy1jb250ZW50PlxuICA8L2Rpdj5cbjwvYXgtcG9wb3Zlcj5cbiJdfQ==","import { AXButtonComponent } from '@acorex/components/button';\nimport { AXDecoratorModule } from '@acorex/components/decorators';\nimport { NgTemplateOutlet } from '@angular/common';\nimport { ChangeDetectionStrategy, Component, computed, inject, input, output, ViewEncapsulation } from '@angular/core';\nimport { AXFabComponent } from '../fab.component';\nimport * as i0 from \"@angular/core\";\nimport * as i1 from \"@acorex/components/decorators\";\nexport class AXFabItemComponent {\n constructor() {\n this.label = input(null, ...(ngDevMode ? [{ debugName: \"label\" }] : []));\n this.parent = inject(AXFabComponent);\n this.buttonSize = computed(() => {\n switch (this.parent.size()) {\n case 'xl':\n return 'lg';\n case 'lg':\n return 'md';\n case 'md':\n return 'sm';\n case 'sm':\n return 'xs';\n case 'xs':\n return 'xs';\n }\n }, ...(ngDevMode ? [{ debugName: \"buttonSize\" }] : []));\n /**\n * Fires each time the user clicks the button.\n * @event\n */\n this.onClick = output();\n }\n clickHandler() {\n this.onClick.emit({ component: this });\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"20.3.3\", ngImport: i0, type: AXFabItemComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"17.0.0\", version: \"20.3.3\", type: AXFabItemComponent, isStandalone: true, selector: \"ax-fab-item\", inputs: { label: { classPropertyName: \"label\", publicName: \"label\", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { onClick: \"onClick\" }, ngImport: i0, template: \"<ng-template #iconTpl>\\n <ng-content select=\\\"ax-icon\\\"></ng-content>\\n</ng-template>\\n\\n@if (parent.popupStyle() === 'bubble') {\\n <ax-button class=\\\"ax-{{ buttonSize() }}\\\" [text]=\\\"label()\\\" (onClick)=\\\"clickHandler()\\\">\\n <ng-container *ngTemplateOutlet=\\\"iconTpl\\\"></ng-container>\\n </ax-button>\\n} @else {\\n <button (click)=\\\"clickHandler()\\\" class=\\\"ax-fab-box\\\">\\n <ng-container *ngTemplateOutlet=\\\"iconTpl\\\"></ng-container>\\n <ax-text> {{ label() }}</ax-text>\\n </button>\\n}\\n\", dependencies: [{ kind: \"component\", type: AXButtonComponent, selector: \"ax-button\", inputs: [\"disabled\", \"size\", \"tabIndex\", \"color\", \"look\", \"text\", \"toggleable\", \"selected\", \"iconOnly\", \"type\", \"loadingText\"], outputs: [\"onBlur\", \"onFocus\", \"onClick\", \"selectedChange\", \"toggleableChange\", \"lookChange\", \"colorChange\", \"disabledChange\", \"loadingTextChange\"] }, { kind: \"ngmodule\", type: AXDecoratorModule }, { 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-subtitle, ax-placeholder, ax-overlay\" }, { kind: \"directive\", type: NgTemplateOutlet, selector: \"[ngTemplateOutlet]\", inputs: [\"ngTemplateOutletContext\", \"ngTemplateOutlet\", \"ngTemplateOutletInjector\"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"20.3.3\", ngImport: i0, type: AXFabItemComponent, decorators: [{\n type: Component,\n args: [{ selector: 'ax-fab-item', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, imports: [AXButtonComponent, AXDecoratorModule, NgTemplateOutlet], template: \"<ng-template #iconTpl>\\n <ng-content select=\\\"ax-icon\\\"></ng-content>\\n</ng-template>\\n\\n@if (parent.popupStyle() === 'bubble') {\\n <ax-button class=\\\"ax-{{ buttonSize() }}\\\" [text]=\\\"label()\\\" (onClick)=\\\"clickHandler()\\\">\\n <ng-container *ngTemplateOutlet=\\\"iconTpl\\\"></ng-container>\\n </ax-button>\\n} @else {\\n <button (click)=\\\"clickHandler()\\\" class=\\\"ax-fab-box\\\">\\n <ng-container *ngTemplateOutlet=\\\"iconTpl\\\"></ng-container>\\n <ax-text> {{ label() }}</ax-text>\\n </button>\\n}\\n\" }]\n }] });\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZmFiLWl0ZW0uY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vcGFja2FnZXMvY29tcG9uZW50cy9mYWIvc3JjL2xpYi9mYWItaXRlbS9mYWItaXRlbS5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wYWNrYWdlcy9jb21wb25lbnRzL2ZhYi9zcmMvbGliL2ZhYi1pdGVtL2ZhYi1pdGVtLmNvbXBvbmVudC5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUNBLE9BQU8sRUFBRSxpQkFBaUIsRUFBRSxNQUFNLDJCQUEyQixDQUFDO0FBQzlELE9BQU8sRUFBRSxpQkFBaUIsRUFBRSxNQUFNLCtCQUErQixDQUFDO0FBQ2xFLE9BQU8sRUFBRSxnQkFBZ0IsRUFBRSxNQUFNLGlCQUFpQixDQUFDO0FBQ25ELE9BQU8sRUFBRSx1QkFBdUIsRUFBRSxTQUFTLEVBQUUsUUFBUSxFQUF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8bmctY29udGFpbmVyICpuZ1RlbXBsYXRlT3V0bGV0PVwiaWNvblRwbFwiPjwvbmctY29udGFpbmVyPlxuICA8L2F4LWJ1dHRvbj5cbn0gQGVsc2Uge1xuICA8YnV0dG9uIChjbGljayk9XCJjbGlja0hhbmRsZXIoKVwiIGNsYXNzPVwiYXgtZmFiLWJveFwiPlxuICAgIDxuZy1jb250YWluZXIgKm5nVGVtcGxhdGVPdXRsZXQ9XCJpY29uVHBsXCI+PC9uZy1jb250YWluZXI+XG4gICAgPGF4LXRleHQ+IHt7IGxhYmVsKCkgfX08L2F4LXRleHQ+XG4gIDwvYnV0dG9uPlxufVxuIl19","/**\n * Generated bundle index. Do not edit.\n */\nexport * from './index';\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWNvcmV4LWNvbXBvbmVudHMtZmFiLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcGFja2FnZXMvY29tcG9uZW50cy9mYWIvc3JjL2Fjb3JleC1jb21wb25lbnRzLWZhYi50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTs7R0FFRztBQUVILGNBQWMsU0FBUyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBHZW5lcmF0ZWQgYnVuZGxlIGluZGV4LiBEbyBub3QgZWRpdC5cbiAqL1xuXG5leHBvcnQgKiBmcm9tICcuL2luZGV4JztcbiJdfQ=="],"names":["i1"],"mappings":";;;;;;;;;AAMO,MAAM,cAAc,CAAC;AAC5B,IAAI,WAAW,GAAG;AAClB,QAAQ,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC,IAAI,EAAE,IAAI,SAAS,GAAG,CAAC,EAAE,SAAS,EAAE,OAAO,EAAE,CAAC,GAAG,EAAE,CAAC,CAAC;AAChF,QAAQ,IAAI,CAAC,UAAU,GAAG,KAAK,CAAC,QAAQ,EAAE,IAAI,SAAS,GA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,EAAEA,IAAE,CAAC,2BAA2B,EAAE,QAAQ,EAAE,8IAA8I,EAAE,EAAE,EAAE,IAAI,EAAE,WAAW,EAAE,IAAI,EAAE,gBAAgB,EAAE,QAAQ,EAAE,oBAAoB,EAAE,MAAM,EAAE,CAAC,yBAAyB,EAAE,kBAAkB,EAAE,0BAA0B,CAAC,EAAE,CAAC,EAAE,eAAe,EAAE,EAAE,CAAC,uBAAuB,CAAC,MAAM,EAAE,aAAa,EAAE,EAAE,CAAC,iBAAiB,CAAC,IAAI,EAAE,CAAC,CAAC;AAC7sD;AACA,EAAE,CAAC,wBAAwB,CAAC,EAAE,UAAU,EAAE,QAAQ,EAAE,OAAO,EAAE,QAAQ,EAAE,QAAQ,EAAE,EAAE,EAAE,IAAI,EAAE,kBAAkB,EAAE,UAAU,EAAE,CAAC;AAC5H,YAAY,IAAI,EAAE,SAAS;AAC3B,YAAY,IAAI,EAAE,CAAC,EAAE,QAAQ,EAAE,aAAa,EAAE,aAAa,EAAE,iBAAiB,CAAC,IAAI,EAAE,eAAe,EAAE,uBAAuB,CAAC,MAAM,EAAE,OAAO,EAAE,CAAC,iBAAiB,EAAE,iBAAiB,EAAE,gBAAgB,CAAC,EAAE,QAAQ,EAAE,qfAAqf,EAAE;AAC1sB,SAAS,CAAC,EAAE,CAAC;;ACxCb;AACA;AACA;;;;"}
1
+ {"version":3,"file":"acorex-components-fab.mjs","sources":["../../../../packages/components/fab/src/lib/fab.component.ts","../../../../packages/components/fab/src/lib/fab.component.html","../../../../packages/components/fab/src/lib/fab-item/fab-item.component.ts","../../../../packages/components/fab/src/lib/fab-item/fab-item.component.html","../../../../packages/components/fab/src/acorex-components-fab.ts"],"sourcesContent":["import { AXClickEvent, AXEvent, AXPlacementType } from '@acorex/cdk/common';\nimport { AXButtonComponent } from '@acorex/components/button';\nimport { AXDecoratorModule } from '@acorex/components/decorators';\nimport { AXPopoverComponent, AXPopoverModule } from '@acorex/components/popover';\nimport {\n ChangeDetectionStrategy,\n Component,\n effect,\n input,\n model,\n output,\n signal,\n viewChild,\n ViewEncapsulation,\n} from '@angular/core';\n\n@Component({\n selector: 'ax-fab',\n templateUrl: './fab.component.html',\n styleUrls: ['./fab.component.compiled.css'],\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n imports: [AXButtonComponent, AXPopoverModule, AXDecoratorModule],\n})\nexport class AXFabComponent {\n label = input<string>(null);\n\n popupStyle = input<'bubble' | 'box'>('bubble');\n\n popupPlacement = model<AXPlacementType>(null);\n\n size = input<'xs' | 'sm' | 'md' | 'lg' | 'xl'>('md');\n\n protected popoverRef = viewChild(AXPopoverComponent);\n\n protected offsetPopover = signal<number>(null);\n\n #eff = effect(() => {\n if (this.popupStyle() === 'box') {\n this.popupPlacement.set('top-end');\n this.offsetPopover.set(-10);\n } else {\n this.popupPlacement.set('top');\n this.offsetPopover.set(-2);\n }\n });\n\n /**\n * Fires each time the user clicks the button.\n * @event\n */\n onClick = output<AXClickEvent>();\n\n /**\n * Emits when the popover is opened.\n * @event\n */\n onOpened = output<AXEvent>();\n\n /**\n * Emits when the popover is closed.\n * @event\n */\n onClosed = output<AXEvent>();\n\n private addStyleClass() {\n const fabItemContainer = document.querySelector('.ax-fab-item-container');\n if (!fabItemContainer) return;\n if (this.popupStyle() === 'box') {\n fabItemContainer.classList.add('ax-fab-box-style');\n } else {\n fabItemContainer.classList.add('ax-fab-bubble-style');\n }\n }\n\n protected openPopover() {\n this.addStyleClass();\n this.onOpened.emit({ component: this });\n }\n\n protected closePopover() {\n this.onClosed.emit({ component: this });\n }\n\n public close() {\n this.popoverRef().close();\n }\n}\n","<ax-button class=\"ax-{{ size() }}\" #btn (onClick)=\"onClick.emit($event)\" color=\"primary\" look=\"solid\" [text]=\"label()\">\n <ng-content select=\"ax-icon\"> </ng-content>\n</ax-button>\n\n<ax-popover\n (onOpened)=\"openPopover()\"\n (onClosed)=\"closePopover()\"\n [disablePanelClass]=\"true\"\n [offsetY]=\"offsetPopover()\"\n [placement]=\"popupPlacement()\"\n [target]=\"btn\"\n>\n <div class=\"ax-fab-item-container\">\n <ng-content select=\"ax-fab-item\"> </ng-content>\n </div>\n</ax-popover>\n","import { AXClickEvent } from '@acorex/cdk/common';\nimport { AXButtonComponent } from '@acorex/components/button';\nimport { AXDecoratorModule } from '@acorex/components/decorators';\nimport { NgTemplateOutlet } from '@angular/common';\nimport { ChangeDetectionStrategy, Component, computed, inject, input, output, ViewEncapsulation } from '@angular/core';\nimport { AXFabComponent } from '../fab.component';\n\n@Component({\n selector: 'ax-fab-item',\n templateUrl: './fab-item.component.html',\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n imports: [AXButtonComponent, AXDecoratorModule, NgTemplateOutlet],\n})\nexport class AXFabItemComponent {\n label = input<string>(null);\n\n protected parent = inject(AXFabComponent);\n\n protected buttonSize = computed(() => {\n switch (this.parent.size()) {\n case 'xl':\n return 'lg';\n case 'lg':\n return 'md';\n case 'md':\n return 'sm';\n case 'sm':\n return 'xs';\n case 'xs':\n return 'xs';\n }\n });\n\n /**\n * Fires each time the user clicks the button.\n * @event\n */\n onClick = output<AXClickEvent>();\n\n protected clickHandler() {\n this.onClick.emit({ component: this });\n }\n}\n","<ng-template #iconTpl>\n <ng-content select=\"ax-icon\"></ng-content>\n</ng-template>\n\n@if (parent.popupStyle() === 'bubble') {\n <ax-button class=\"ax-{{ buttonSize() }}\" [text]=\"label()\" (onClick)=\"clickHandler()\">\n <ng-container *ngTemplateOutlet=\"iconTpl\"></ng-container>\n </ax-button>\n} @else {\n <button (click)=\"clickHandler()\" class=\"ax-fab-box\">\n <ng-container *ngTemplateOutlet=\"iconTpl\"></ng-container>\n <ax-text> {{ label() }}</ax-text>\n </button>\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;MAwBa,cAAc,CAAA;AAR3B,IAAA,WAAA,GAAA;AASE,QAAA,IAAA,CAAA,KAAK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;AACE,YAAA,IAAA,EAAA,CAAA,EAAA,QAAA,EAAA,aAAa,EAAA,aAAA,EAER,iBAAiB,CAAC,IAAI,mBACpB,uBAAuB,CAAC,MAAM,EAAA,OAAA,EACtC,CAAC,iBAAiB,EAAE,iBAAiB,EAAE,gBAAgB,CAAC,EAAA,QAAA,EAAA,qfAAA,EAAA;;;AEZnE;;AAEG;;;;"}
@@ -4,9 +4,9 @@ import { AXButtonModule } from '@acorex/components/button';
4
4
  import * as i1 from '@acorex/components/text-box';
5
5
  import { AXTextBoxModule } from '@acorex/components/text-box';
6
6
  import * as i3 from '@angular/common';
7
- import { CommonModule } from '@angular/common';
7
+ import { DOCUMENT, isPlatformBrowser, CommonModule } from '@angular/common';
8
8
  import * as i0 from '@angular/core';
9
- import { inject, NgZone, signal, effect, Injectable, ViewEncapsulation, ChangeDetectionStrategy, Component, viewChild, output, afterNextRender, input, computed, HostListener, NgModule } from '@angular/core';
9
+ import { inject, NgZone, PLATFORM_ID, signal, effect, Injectable, ViewEncapsulation, ChangeDetectionStrategy, Component, viewChild, output, afterNextRender, input, computed, HostListener, NgModule } from '@angular/core';
10
10
  import * as i4 from '@angular/forms';
11
11
  import { FormsModule } from '@angular/forms';
12
12
  import { Subject } from 'rxjs';
@@ -14,6 +14,8 @@ import { Subject } from 'rxjs';
14
14
  class AXFlowChartService {
15
15
  constructor() {
16
16
  this.zone = inject(NgZone);
17
+ this.platformId = inject(PLATFORM_ID);
18
+ this.document = inject(DOCUMENT);
17
19
  this.initialFlowChartEdge = signal([], ...(ngDevMode ? [{ debugName: "initialFlowChartEdge" }] : []));
18
20
  this.initialFlowChartNode = signal([], ...(ngDevMode ? [{ debugName: "initialFlowChartNode" }] : []));
19
21
  this.selectedNode = signal(null, ...(ngDevMode ? [{ debugName: "selectedNode" }] : []));
@@ -33,16 +35,18 @@ class AXFlowChartService {
33
35
  this.draggingConnection = false;
34
36
  this.tempLine = null;
35
37
  this.#eff2 = effect(() => {
36
- if (this.initialFlowChartEdge()) {
37
- setTimeout(() => {
38
- this.drawEdges(this.initialFlowChartEdge());
39
- });
38
+ if (!isPlatformBrowser(this.platformId) || !this.initialFlowChartEdge()) {
39
+ return;
40
40
  }
41
+ setTimeout(() => {
42
+ this.drawEdges(this.initialFlowChartEdge());
43
+ });
41
44
  }, ...(ngDevMode ? [{ debugName: "#eff2" }] : []));
42
45
  this.#eff3 = effect(() => {
43
- if (this.initialFlowChartNode()) {
44
- this.createNode(this.initialFlowChartNode());
46
+ if (!isPlatformBrowser(this.platformId) || !this.initialFlowChartNode()) {
47
+ return;
45
48
  }
49
+ this.createNode(this.initialFlowChartNode());
46
50
  }, ...(ngDevMode ? [{ debugName: "#eff3" }] : []));
47
51
  }
48
52
  #eff2;
@@ -121,7 +125,6 @@ class AXFlowChartService {
121
125
  nodeId: dot.dataset['nodeId'],
122
126
  anchor: dot.dataset['anchor'],
123
127
  };
124
- console.log(clicked);
125
128
  if (!this.anchorClickBuffer) {
126
129
  this.anchorClickBuffer = clicked;
127
130
  }
@@ -143,7 +146,7 @@ class AXFlowChartService {
143
146
  }
144
147
  addAnchors(el, type) {
145
148
  ['top', 'bottom', 'left', 'right'].forEach((anchor) => {
146
- const dot = document.createElement('div');
149
+ const dot = this.document.createElement('div');
147
150
  dot.className = 'ax-flow-chart-anchor';
148
151
  dot.dataset['anchor'] = anchor;
149
152
  dot.dataset['nodeId'] = el.dataset['id'];
@@ -205,8 +208,8 @@ class AXFlowChartService {
205
208
  };
206
209
  // Add global event listeners
207
210
  this.zone.runOutsideAngular(() => {
208
- document.addEventListener('mousemove', mousemoveHandler);
209
- document.addEventListener('mouseup', mouseupHandler);
211
+ this.document.addEventListener('mousemove', mousemoveHandler);
212
+ this.document.addEventListener('mouseup', mouseupHandler);
210
213
  });
211
214
  // Store global listeners
212
215
  const globalListeners = this.eventListeners.get('global');
@@ -278,7 +281,7 @@ class AXFlowChartService {
278
281
  const svgElement = this.svgService()?.nativeElement;
279
282
  if (!svgElement)
280
283
  return;
281
- this.tempLine = document.createElementNS('http://www.w3.org/2000/svg', 'line');
284
+ this.tempLine = this.document.createElementNS('http://www.w3.org/2000/svg', 'line');
282
285
  this.tempLine.setAttribute('x1', x.toString());
283
286
  this.tempLine.setAttribute('y1', y.toString());
284
287
  this.tempLine.setAttribute('x2', x.toString());
@@ -305,6 +308,9 @@ class AXFlowChartService {
305
308
  this.drawEdges();
306
309
  }
307
310
  drawEdges(edges) {
311
+ if (!isPlatformBrowser(this.platformId)) {
312
+ return;
313
+ }
308
314
  const svg = this.svgService()?.nativeElement;
309
315
  if (!svg)
310
316
  return;
@@ -337,7 +343,7 @@ class AXFlowChartService {
337
343
  this.selectedEdge.set(edge);
338
344
  this.selectedNode.set(null);
339
345
  // Remove selection from all other lines
340
- document.querySelectorAll('.ax-flow-chart-line').forEach((l) => {
346
+ this.document.querySelectorAll('.ax-flow-chart-line').forEach((l) => {
341
347
  if (l !== line)
342
348
  l.classList.remove('selected');
343
349
  });
@@ -351,7 +357,7 @@ class AXFlowChartService {
351
357
  });
352
358
  }
353
359
  createLine(from, to, edge) {
354
- const line = document.createElementNS('http://www.w3.org/2000/svg', 'line');
360
+ const line = this.document.createElementNS('http://www.w3.org/2000/svg', 'line');
355
361
  line.setAttribute('x1', from.x.toString());
356
362
  line.setAttribute('y1', from.y.toString());
357
363
  line.setAttribute('x2', to.x.toString());
@@ -391,10 +397,17 @@ class AXFlowChartService {
391
397
  }
392
398
  }
393
399
  createNode(nodes) {
394
- document.querySelectorAll('.ax-flow-chart-node')?.forEach((node) => node.remove());
400
+ if (!isPlatformBrowser(this.platformId)) {
401
+ return;
402
+ }
403
+ const canvas = this.canvasService()?.nativeElement;
404
+ if (!canvas) {
405
+ return;
406
+ }
407
+ this.document.querySelectorAll('.ax-flow-chart-node')?.forEach((node) => node.remove());
395
408
  nodes.forEach((node) => {
396
- const el = document.createElement('div');
397
- const p = document.createElement('p');
409
+ const el = this.document.createElement('div');
410
+ const p = this.document.createElement('p');
398
411
  p.innerText = node.label;
399
412
  el.appendChild(p);
400
413
  el.className = 'ax-flow-chart-node';
@@ -405,7 +418,7 @@ class AXFlowChartService {
405
418
  this.addAnchors(el, node.type);
406
419
  this.makeDraggable(el);
407
420
  this.setupNodeEventListeners(el, node);
408
- this.canvasService().nativeElement.appendChild(el);
421
+ canvas.appendChild(el);
409
422
  this.nodesMap.set(node.id, el);
410
423
  });
411
424
  }
@@ -416,7 +429,7 @@ class AXFlowChartService {
416
429
  this.removeEdge(edge);
417
430
  }
418
431
  });
419
- document.querySelector(`[data-id="${nodeId}"]`)?.remove();
432
+ this.document.querySelector(`[data-id="${nodeId}"]`)?.remove();
420
433
  this.anchorClickBuffer = null;
421
434
  }
422
435
  cleanup() {
@@ -424,10 +437,10 @@ class AXFlowChartService {
424
437
  this.nodesMap.clear();
425
438
  this.eventListeners.clear();
426
439
  }
427
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.3", ngImport: i0, type: AXFlowChartService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
428
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.3", ngImport: i0, type: AXFlowChartService }); }
440
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.3", ngImport: i0, type: AXFlowChartService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
441
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.1.3", ngImport: i0, type: AXFlowChartService }); }
429
442
  }
430
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.3", ngImport: i0, type: AXFlowChartService, decorators: [{
443
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.3", ngImport: i0, type: AXFlowChartService, decorators: [{
431
444
  type: Injectable
432
445
  }] });
433
446
 
@@ -499,12 +512,12 @@ class AXFlowChartCreatorComponent extends NXComponent {
499
512
  printWindow.document.write(printContent);
500
513
  printWindow.document.close();
501
514
  }
502
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.3", ngImport: i0, type: AXFlowChartCreatorComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
503
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.3", type: AXFlowChartCreatorComponent, isStandalone: true, selector: "ax-flow-chart-creator", providers: [{ provide: AXComponent, useExisting: AXFlowChartCreatorComponent }], usesInheritance: true, ngImport: i0, template: "<div class=\"ax-shape-container\">\n <div\n [ngClass]=\"{ 'ax-shape-selected': selectedShape() === 'rectangle' }\"\n (click)=\"selectShapeHandler('rectangle')\"\n class=\"ax-rectangle\"\n ></div>\n <div\n [ngClass]=\"{ 'ax-shape-selected': selectedShape() === 'circle' }\"\n (click)=\"selectShapeHandler('circle')\"\n class=\"ax-circle\"\n ></div>\n <div\n [ngClass]=\"{ 'ax-shape-selected': selectedShape() === 'diamond' }\"\n (click)=\"selectShapeHandler('diamond')\"\n class=\"ax-diamond\"\n ></div>\n</div>\n<ax-text-box class=\"ax-sm\" [(ngModel)]=\"label\" placeholder=\"Label\"> </ax-text-box>\n\n<ax-button class=\"ax-sm\" (onClick)=\"createShapeHandler()\" color=\"primary\" text=\"Create\"></ax-button>\n<ax-button color=\"primary\" text=\"Print\" class=\"ax-sm\" (click)=\"printChart()\"></ax-button>\n", styles: ["ax-flow-chart-creator{display:flex;gap:1rem;align-items:center;padding:1rem}ax-flow-chart-creator .ax-shape-container{display:flex;gap:1rem}ax-flow-chart-creator .ax-shape-container .ax-shape-selected{border:2px solid rgba(var(--ax-sys-color-danger-darker-surface))!important}ax-flow-chart-creator .ax-shape-container .ax-rectangle,ax-flow-chart-creator .ax-shape-container .ax-circle,ax-flow-chart-creator .ax-shape-container .ax-diamond{border:2px solid rgba(var(--ax-sys-color-border-surface));display:flex;justify-content:center;align-items:center;width:30px;height:30px;cursor:pointer}ax-flow-chart-creator .ax-shape-container .ax-circle{border-radius:1000vmax;aspect-ratio:1}ax-flow-chart-creator .ax-shape-container .ax-diamond{transform:rotate(45deg) scale(.75);aspect-ratio:1}\n"], dependencies: [{ kind: "ngmodule", type: AXTextBoxModule }, { kind: "component", type: i1.AXTextBoxComponent, selector: "ax-text-box", inputs: ["disabled", "tabIndex", "readonly", "value", "state", "name", "id", "placeholder", "maxLength", "allowNull", "type", "autoComplete", "look", "maskPattern", "customTokens", "class"], outputs: ["onBlur", "onFocus", "valueChange", "stateChange", "onValueChanged", "readonlyChange", "disabledChange", "onKeyDown", "onKeyUp", "onKeyPress", "onMaskChanged"] }, { kind: "ngmodule", type: AXButtonModule }, { kind: "component", type: i2.AXButtonComponent, selector: "ax-button", inputs: ["disabled", "size", "tabIndex", "color", "look", "text", "toggleable", "selected", "iconOnly", "type", "loadingText"], outputs: ["onBlur", "onFocus", "onClick", "selectedChange", "toggleableChange", "lookChange", "colorChange", "disabledChange", "loadingTextChange"] }, { kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i3.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i4.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i4.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
515
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.3", ngImport: i0, type: AXFlowChartCreatorComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
516
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.1.3", type: AXFlowChartCreatorComponent, isStandalone: true, selector: "ax-flow-chart-creator", providers: [{ provide: AXComponent, useExisting: AXFlowChartCreatorComponent }], usesInheritance: true, ngImport: i0, template: "<div class=\"ax-shape-container\">\n <div\n [ngClass]=\"{ 'ax-shape-selected': selectedShape() === 'rectangle' }\"\n (click)=\"selectShapeHandler('rectangle')\"\n class=\"ax-rectangle\"\n ></div>\n <div\n [ngClass]=\"{ 'ax-shape-selected': selectedShape() === 'circle' }\"\n (click)=\"selectShapeHandler('circle')\"\n class=\"ax-circle\"\n ></div>\n <div\n [ngClass]=\"{ 'ax-shape-selected': selectedShape() === 'diamond' }\"\n (click)=\"selectShapeHandler('diamond')\"\n class=\"ax-diamond\"\n ></div>\n</div>\n<ax-text-box class=\"ax-sm\" [(ngModel)]=\"label\" placeholder=\"Label\"> </ax-text-box>\n\n<ax-button class=\"ax-sm\" (onClick)=\"createShapeHandler()\" color=\"primary\" text=\"Create\"></ax-button>\n<ax-button color=\"primary\" text=\"Print\" class=\"ax-sm\" (click)=\"printChart()\"></ax-button>\n", styles: ["ax-flow-chart-creator{align-items:center;gap:1rem;padding:1rem;display:flex}ax-flow-chart-creator .ax-shape-container{gap:1rem;display:flex}ax-flow-chart-creator .ax-shape-container .ax-shape-selected{border:2px solid rgba(var(--ax-sys-color-danger-darker-surface))!important}ax-flow-chart-creator .ax-shape-container .ax-rectangle,ax-flow-chart-creator .ax-shape-container .ax-circle,ax-flow-chart-creator .ax-shape-container .ax-diamond{border:2px solid rgba(var(--ax-sys-color-border-surface));cursor:pointer;justify-content:center;align-items:center;width:30px;height:30px;display:flex}ax-flow-chart-creator .ax-shape-container .ax-circle{aspect-ratio:1;border-radius:1000vmax}ax-flow-chart-creator .ax-shape-container .ax-diamond{aspect-ratio:1;transform:rotate(45deg)scale(.75)}\n"], dependencies: [{ kind: "ngmodule", type: AXTextBoxModule }, { kind: "component", type: i1.AXTextBoxComponent, selector: "ax-text-box", inputs: ["disabled", "tabIndex", "readonly", "value", "state", "name", "id", "placeholder", "maxLength", "allowNull", "type", "autoComplete", "look", "maskPattern", "customTokens", "class"], outputs: ["onBlur", "onFocus", "valueChange", "stateChange", "onValueChanged", "readonlyChange", "disabledChange", "onKeyDown", "onKeyUp", "onKeyPress", "onMaskChanged"] }, { kind: "ngmodule", type: AXButtonModule }, { kind: "component", type: i2.AXButtonComponent, selector: "ax-button", inputs: ["disabled", "size", "tabIndex", "color", "look", "text", "toggleable", "selected", "iconOnly", "type", "loadingText"], outputs: ["onBlur", "onFocus", "onClick", "selectedChange", "toggleableChange", "lookChange", "colorChange", "disabledChange", "loadingTextChange"] }, { kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i3.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i4.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i4.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
504
517
  }
505
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.3", ngImport: i0, type: AXFlowChartCreatorComponent, decorators: [{
518
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.3", ngImport: i0, type: AXFlowChartCreatorComponent, decorators: [{
506
519
  type: Component,
507
- args: [{ selector: 'ax-flow-chart-creator', changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, imports: [AXTextBoxModule, AXButtonModule, CommonModule, FormsModule], providers: [{ provide: AXComponent, useExisting: AXFlowChartCreatorComponent }], template: "<div class=\"ax-shape-container\">\n <div\n [ngClass]=\"{ 'ax-shape-selected': selectedShape() === 'rectangle' }\"\n (click)=\"selectShapeHandler('rectangle')\"\n class=\"ax-rectangle\"\n ></div>\n <div\n [ngClass]=\"{ 'ax-shape-selected': selectedShape() === 'circle' }\"\n (click)=\"selectShapeHandler('circle')\"\n class=\"ax-circle\"\n ></div>\n <div\n [ngClass]=\"{ 'ax-shape-selected': selectedShape() === 'diamond' }\"\n (click)=\"selectShapeHandler('diamond')\"\n class=\"ax-diamond\"\n ></div>\n</div>\n<ax-text-box class=\"ax-sm\" [(ngModel)]=\"label\" placeholder=\"Label\"> </ax-text-box>\n\n<ax-button class=\"ax-sm\" (onClick)=\"createShapeHandler()\" color=\"primary\" text=\"Create\"></ax-button>\n<ax-button color=\"primary\" text=\"Print\" class=\"ax-sm\" (click)=\"printChart()\"></ax-button>\n", styles: ["ax-flow-chart-creator{display:flex;gap:1rem;align-items:center;padding:1rem}ax-flow-chart-creator .ax-shape-container{display:flex;gap:1rem}ax-flow-chart-creator .ax-shape-container .ax-shape-selected{border:2px solid rgba(var(--ax-sys-color-danger-darker-surface))!important}ax-flow-chart-creator .ax-shape-container .ax-rectangle,ax-flow-chart-creator .ax-shape-container .ax-circle,ax-flow-chart-creator .ax-shape-container .ax-diamond{border:2px solid rgba(var(--ax-sys-color-border-surface));display:flex;justify-content:center;align-items:center;width:30px;height:30px;cursor:pointer}ax-flow-chart-creator .ax-shape-container .ax-circle{border-radius:1000vmax;aspect-ratio:1}ax-flow-chart-creator .ax-shape-container .ax-diamond{transform:rotate(45deg) scale(.75);aspect-ratio:1}\n"] }]
520
+ args: [{ selector: 'ax-flow-chart-creator', changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, imports: [AXTextBoxModule, AXButtonModule, CommonModule, FormsModule], providers: [{ provide: AXComponent, useExisting: AXFlowChartCreatorComponent }], template: "<div class=\"ax-shape-container\">\n <div\n [ngClass]=\"{ 'ax-shape-selected': selectedShape() === 'rectangle' }\"\n (click)=\"selectShapeHandler('rectangle')\"\n class=\"ax-rectangle\"\n ></div>\n <div\n [ngClass]=\"{ 'ax-shape-selected': selectedShape() === 'circle' }\"\n (click)=\"selectShapeHandler('circle')\"\n class=\"ax-circle\"\n ></div>\n <div\n [ngClass]=\"{ 'ax-shape-selected': selectedShape() === 'diamond' }\"\n (click)=\"selectShapeHandler('diamond')\"\n class=\"ax-diamond\"\n ></div>\n</div>\n<ax-text-box class=\"ax-sm\" [(ngModel)]=\"label\" placeholder=\"Label\"> </ax-text-box>\n\n<ax-button class=\"ax-sm\" (onClick)=\"createShapeHandler()\" color=\"primary\" text=\"Create\"></ax-button>\n<ax-button color=\"primary\" text=\"Print\" class=\"ax-sm\" (click)=\"printChart()\"></ax-button>\n", styles: ["ax-flow-chart-creator{align-items:center;gap:1rem;padding:1rem;display:flex}ax-flow-chart-creator .ax-shape-container{gap:1rem;display:flex}ax-flow-chart-creator .ax-shape-container .ax-shape-selected{border:2px solid rgba(var(--ax-sys-color-danger-darker-surface))!important}ax-flow-chart-creator .ax-shape-container .ax-rectangle,ax-flow-chart-creator .ax-shape-container .ax-circle,ax-flow-chart-creator .ax-shape-container .ax-diamond{border:2px solid rgba(var(--ax-sys-color-border-surface));cursor:pointer;justify-content:center;align-items:center;width:30px;height:30px;display:flex}ax-flow-chart-creator .ax-shape-container .ax-circle{aspect-ratio:1;border-radius:1000vmax}ax-flow-chart-creator .ax-shape-container .ax-diamond{aspect-ratio:1;transform:rotate(45deg)scale(.75)}\n"] }]
508
521
  }] });
509
522
 
510
523
  class AXFlowChartRendererComponent extends NXComponent {
@@ -513,6 +526,8 @@ class AXFlowChartRendererComponent extends NXComponent {
513
526
  this.canvas = viewChild('canvas', ...(ngDevMode ? [{ debugName: "canvas" }] : []));
514
527
  this.svg = viewChild('connections', ...(ngDevMode ? [{ debugName: "svg" }] : []));
515
528
  this.service = inject(AXFlowChartService);
529
+ this.document = inject(DOCUMENT);
530
+ this.platformId = inject(PLATFORM_ID);
516
531
  this.onLineClick = output();
517
532
  this.onLineDbClick = output();
518
533
  this.onNodeClick = output();
@@ -523,9 +538,10 @@ class AXFlowChartRendererComponent extends NXComponent {
523
538
  this.setupEventListeners();
524
539
  });
525
540
  this.#eff = effect(() => {
526
- if (this.canvas() && this.svg()) {
527
- this.initializeServices();
541
+ if (!isPlatformBrowser(this.platformId) || !this.canvas() || !this.svg()) {
542
+ return;
528
543
  }
544
+ this.initializeServices();
529
545
  }, ...(ngDevMode ? [{ debugName: "#eff" }] : []));
530
546
  }
531
547
  #init;
@@ -561,8 +577,8 @@ class AXFlowChartRendererComponent extends NXComponent {
561
577
  if (e.target === canvas) {
562
578
  this.service.selectedNode.set(null);
563
579
  this.service.selectedEdge.set(null);
564
- document.querySelectorAll('.ax-flow-chart-node').forEach((node) => node.classList.remove('selected'));
565
- document.querySelectorAll('.ax-flow-chart-line').forEach((line) => line.classList.remove('selected'));
580
+ this.document.querySelectorAll('.ax-flow-chart-node').forEach((node) => node.classList.remove('selected'));
581
+ this.document.querySelectorAll('.ax-flow-chart-line').forEach((line) => line.classList.remove('selected'));
566
582
  }
567
583
  });
568
584
  }
@@ -571,8 +587,8 @@ class AXFlowChartRendererComponent extends NXComponent {
571
587
  if (e.target === svg) {
572
588
  this.service.selectedNode.set(null);
573
589
  this.service.selectedEdge.set(null);
574
- document.querySelectorAll('.ax-flow-chart-node').forEach((node) => node.classList.remove('selected'));
575
- document.querySelectorAll('.ax-flow-chart-line').forEach((line) => line.classList.remove('selected'));
590
+ this.document.querySelectorAll('.ax-flow-chart-node').forEach((node) => node.classList.remove('selected'));
591
+ this.document.querySelectorAll('.ax-flow-chart-line').forEach((line) => line.classList.remove('selected'));
576
592
  }
577
593
  });
578
594
  }
@@ -588,13 +604,13 @@ class AXFlowChartRendererComponent extends NXComponent {
588
604
  this.service.nodeDbClick.unsubscribe();
589
605
  this.service.onEdgeUpdate.unsubscribe();
590
606
  }
591
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.3", ngImport: i0, type: AXFlowChartRendererComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
592
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "20.3.3", type: AXFlowChartRendererComponent, isStandalone: true, selector: "ax-flow-chart-renderer", outputs: { onLineClick: "onLineClick", onLineDbClick: "onLineDbClick", onNodeClick: "onNodeClick", onNodeDbClick: "onNodeDbClick", onEdgeUpdate: "onEdgeUpdate", onNodeUpdate: "onNodeUpdate" }, providers: [{ provide: AXComponent, useExisting: AXFlowChartRendererComponent }], viewQueries: [{ propertyName: "canvas", first: true, predicate: ["canvas"], descendants: true, isSignal: true }, { propertyName: "svg", first: true, predicate: ["connections"], descendants: true, isSignal: true }], usesInheritance: true, ngImport: i0, template: "<div id=\"ax-flow-chart-renderer-canvas\" #canvas>\n <svg class=\"ax-flow-chart-renderer-svg\" id=\"ax-flow-chart-renderer-connections\" #connections></svg>\n</div>\n", styles: ["ax-flow-chart-renderer{overflow:hidden;width:var(--ax-comp-flow-chart-width, 100%);height:var(--ax-comp-flow-chart-height, 30rem);-webkit-print-color-adjust:exact;print-color-adjust:exact}ax-flow-chart-renderer #ax-flow-chart-renderer-canvas{position:relative;width:100%;height:100%}ax-flow-chart-renderer .ax-flow-chart-node{position:absolute;padding:1rem;background-color:rgba(var(--ax-sys-color-surface));color:rgba(var(--ax-sys-color-on-surface));border:2px solid rgba(var(--ax-sys-color-border-surface));cursor:move;-webkit-user-select:none;user-select:none}ax-flow-chart-renderer .ax-flow-chart-node.selected{border:2px solid rgba(var(--ax-sys-color-danger-darker-surface))}ax-flow-chart-renderer .ax-flow-chart-node .ax-flow-chart-anchor{opacity:0;transition:opacity .5s ease}ax-flow-chart-renderer .ax-flow-chart-node:hover .ax-flow-chart-anchor,ax-flow-chart-renderer .ax-flow-chart-node.selected .ax-flow-chart-anchor{opacity:1}ax-flow-chart-renderer .ax-flow-chart-anchor{position:absolute;width:10px;height:10px;background-color:rgba(var(--ax-sys-color-on-lightest-surface));border-radius:50%;cursor:crosshair;transform:translate(-50%,-50%)}ax-flow-chart-renderer .ax-flow-chart-anchor.selected{background-color:rgba(var(--ax-sys-color-primary-surface))}ax-flow-chart-renderer .ax-flow-chart-anchor.hover{transition:.3s all ease;scale:1.3;background-color:rgba(var(--ax-sys-color-danger-darkest-surface))}ax-flow-chart-renderer .ax-flow-chart-anchor:before{content:\"\";position:absolute;top:-7px;left:-7px;right:-7px;bottom:-7px}ax-flow-chart-renderer .ax-flow-chart-renderer-svg{position:absolute;top:0;left:0;overflow:visible}ax-flow-chart-renderer .ax-flow-chart-line:hover{transition:.3s all ease;stroke:rgba(var(--ax-sys-color-danger-darker-surface));cursor:pointer}ax-flow-chart-renderer .ax-flow-chart-line.selected{stroke:rgba(var(--ax-sys-color-primary-surface))}ax-flow-chart-renderer .ax-rectangle,ax-flow-chart-renderer .ax-circle,ax-flow-chart-renderer .ax-diamond{border:2px solid rgba(var(--ax-sys-color-border-surface));display:flex;justify-content:center;align-items:center;width:auto;height:auto}ax-flow-chart-renderer .ax-circle{border-radius:1000vmax;aspect-ratio:1}ax-flow-chart-renderer .ax-diamond{transform:rotate(45deg) scale(.75);aspect-ratio:1}ax-flow-chart-renderer .ax-diamond p{transform:rotate(-45deg) scale(1.25)}ax-flow-chart-renderer .ax-diamond .ax-flow-chart-anchor{width:14px;height:14px}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
607
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.3", ngImport: i0, type: AXFlowChartRendererComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
608
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "21.1.3", type: AXFlowChartRendererComponent, isStandalone: true, selector: "ax-flow-chart-renderer", outputs: { onLineClick: "onLineClick", onLineDbClick: "onLineDbClick", onNodeClick: "onNodeClick", onNodeDbClick: "onNodeDbClick", onEdgeUpdate: "onEdgeUpdate", onNodeUpdate: "onNodeUpdate" }, providers: [{ provide: AXComponent, useExisting: AXFlowChartRendererComponent }], viewQueries: [{ propertyName: "canvas", first: true, predicate: ["canvas"], descendants: true, isSignal: true }, { propertyName: "svg", first: true, predicate: ["connections"], descendants: true, isSignal: true }], usesInheritance: true, ngImport: i0, template: "<div id=\"ax-flow-chart-renderer-canvas\" #canvas>\n <svg class=\"ax-flow-chart-renderer-svg\" id=\"ax-flow-chart-renderer-connections\" #connections></svg>\n</div>\n", styles: ["ax-flow-chart-renderer{width:var(--ax-comp-flow-chart-width,100%);height:var(--ax-comp-flow-chart-height,30rem);-webkit-print-color-adjust:exact;print-color-adjust:exact;overflow:hidden}ax-flow-chart-renderer #ax-flow-chart-renderer-canvas{width:100%;height:100%;position:relative}ax-flow-chart-renderer .ax-flow-chart-node{background-color:rgba(var(--ax-sys-color-surface));color:rgba(var(--ax-sys-color-on-surface));border:2px solid rgba(var(--ax-sys-color-border-surface));cursor:move;-webkit-user-select:none;user-select:none;padding:1rem;position:absolute}ax-flow-chart-renderer .ax-flow-chart-node.selected{border:2px solid rgba(var(--ax-sys-color-danger-darker-surface))}ax-flow-chart-renderer .ax-flow-chart-node .ax-flow-chart-anchor{opacity:0;transition:opacity .5s}ax-flow-chart-renderer .ax-flow-chart-node:hover .ax-flow-chart-anchor,ax-flow-chart-renderer .ax-flow-chart-node.selected .ax-flow-chart-anchor{opacity:1}ax-flow-chart-renderer .ax-flow-chart-anchor{background-color:rgba(var(--ax-sys-color-on-lightest-surface));cursor:crosshair;border-radius:50%;width:10px;height:10px;position:absolute;transform:translate(-50%,-50%)}ax-flow-chart-renderer .ax-flow-chart-anchor.selected{background-color:rgba(var(--ax-sys-color-primary-surface))}ax-flow-chart-renderer .ax-flow-chart-anchor.hover{background-color:rgba(var(--ax-sys-color-danger-darkest-surface));transition:all .3s;scale:1.3}ax-flow-chart-renderer .ax-flow-chart-anchor:before{content:\"\";position:absolute;top:-7px;right:-7px;bottom:-7px;left:-7px}ax-flow-chart-renderer .ax-flow-chart-renderer-svg{position:absolute;top:0;left:0;overflow:visible}ax-flow-chart-renderer .ax-flow-chart-line:hover{stroke:rgba(var(--ax-sys-color-danger-darker-surface));cursor:pointer;transition:all .3s}ax-flow-chart-renderer .ax-flow-chart-line.selected{stroke:rgba(var(--ax-sys-color-primary-surface))}ax-flow-chart-renderer .ax-rectangle,ax-flow-chart-renderer .ax-circle,ax-flow-chart-renderer .ax-diamond{border:2px solid rgba(var(--ax-sys-color-border-surface));justify-content:center;align-items:center;width:auto;height:auto;display:flex}ax-flow-chart-renderer .ax-circle{aspect-ratio:1;border-radius:1000vmax}ax-flow-chart-renderer .ax-diamond{aspect-ratio:1;transform:rotate(45deg)scale(.75)}ax-flow-chart-renderer .ax-diamond p{transform:rotate(-45deg)scale(1.25)}ax-flow-chart-renderer .ax-diamond .ax-flow-chart-anchor{width:14px;height:14px}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
593
609
  }
594
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.3", ngImport: i0, type: AXFlowChartRendererComponent, decorators: [{
610
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.3", ngImport: i0, type: AXFlowChartRendererComponent, decorators: [{
595
611
  type: Component,
596
- args: [{ selector: 'ax-flow-chart-renderer', changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, providers: [{ provide: AXComponent, useExisting: AXFlowChartRendererComponent }], template: "<div id=\"ax-flow-chart-renderer-canvas\" #canvas>\n <svg class=\"ax-flow-chart-renderer-svg\" id=\"ax-flow-chart-renderer-connections\" #connections></svg>\n</div>\n", styles: ["ax-flow-chart-renderer{overflow:hidden;width:var(--ax-comp-flow-chart-width, 100%);height:var(--ax-comp-flow-chart-height, 30rem);-webkit-print-color-adjust:exact;print-color-adjust:exact}ax-flow-chart-renderer #ax-flow-chart-renderer-canvas{position:relative;width:100%;height:100%}ax-flow-chart-renderer .ax-flow-chart-node{position:absolute;padding:1rem;background-color:rgba(var(--ax-sys-color-surface));color:rgba(var(--ax-sys-color-on-surface));border:2px solid rgba(var(--ax-sys-color-border-surface));cursor:move;-webkit-user-select:none;user-select:none}ax-flow-chart-renderer .ax-flow-chart-node.selected{border:2px solid rgba(var(--ax-sys-color-danger-darker-surface))}ax-flow-chart-renderer .ax-flow-chart-node .ax-flow-chart-anchor{opacity:0;transition:opacity .5s ease}ax-flow-chart-renderer .ax-flow-chart-node:hover .ax-flow-chart-anchor,ax-flow-chart-renderer .ax-flow-chart-node.selected .ax-flow-chart-anchor{opacity:1}ax-flow-chart-renderer .ax-flow-chart-anchor{position:absolute;width:10px;height:10px;background-color:rgba(var(--ax-sys-color-on-lightest-surface));border-radius:50%;cursor:crosshair;transform:translate(-50%,-50%)}ax-flow-chart-renderer .ax-flow-chart-anchor.selected{background-color:rgba(var(--ax-sys-color-primary-surface))}ax-flow-chart-renderer .ax-flow-chart-anchor.hover{transition:.3s all ease;scale:1.3;background-color:rgba(var(--ax-sys-color-danger-darkest-surface))}ax-flow-chart-renderer .ax-flow-chart-anchor:before{content:\"\";position:absolute;top:-7px;left:-7px;right:-7px;bottom:-7px}ax-flow-chart-renderer .ax-flow-chart-renderer-svg{position:absolute;top:0;left:0;overflow:visible}ax-flow-chart-renderer .ax-flow-chart-line:hover{transition:.3s all ease;stroke:rgba(var(--ax-sys-color-danger-darker-surface));cursor:pointer}ax-flow-chart-renderer .ax-flow-chart-line.selected{stroke:rgba(var(--ax-sys-color-primary-surface))}ax-flow-chart-renderer .ax-rectangle,ax-flow-chart-renderer .ax-circle,ax-flow-chart-renderer .ax-diamond{border:2px solid rgba(var(--ax-sys-color-border-surface));display:flex;justify-content:center;align-items:center;width:auto;height:auto}ax-flow-chart-renderer .ax-circle{border-radius:1000vmax;aspect-ratio:1}ax-flow-chart-renderer .ax-diamond{transform:rotate(45deg) scale(.75);aspect-ratio:1}ax-flow-chart-renderer .ax-diamond p{transform:rotate(-45deg) scale(1.25)}ax-flow-chart-renderer .ax-diamond .ax-flow-chart-anchor{width:14px;height:14px}\n"] }]
597
- }] });
612
+ args: [{ selector: 'ax-flow-chart-renderer', changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, providers: [{ provide: AXComponent, useExisting: AXFlowChartRendererComponent }], template: "<div id=\"ax-flow-chart-renderer-canvas\" #canvas>\n <svg class=\"ax-flow-chart-renderer-svg\" id=\"ax-flow-chart-renderer-connections\" #connections></svg>\n</div>\n", styles: ["ax-flow-chart-renderer{width:var(--ax-comp-flow-chart-width,100%);height:var(--ax-comp-flow-chart-height,30rem);-webkit-print-color-adjust:exact;print-color-adjust:exact;overflow:hidden}ax-flow-chart-renderer #ax-flow-chart-renderer-canvas{width:100%;height:100%;position:relative}ax-flow-chart-renderer .ax-flow-chart-node{background-color:rgba(var(--ax-sys-color-surface));color:rgba(var(--ax-sys-color-on-surface));border:2px solid rgba(var(--ax-sys-color-border-surface));cursor:move;-webkit-user-select:none;user-select:none;padding:1rem;position:absolute}ax-flow-chart-renderer .ax-flow-chart-node.selected{border:2px solid rgba(var(--ax-sys-color-danger-darker-surface))}ax-flow-chart-renderer .ax-flow-chart-node .ax-flow-chart-anchor{opacity:0;transition:opacity .5s}ax-flow-chart-renderer .ax-flow-chart-node:hover .ax-flow-chart-anchor,ax-flow-chart-renderer .ax-flow-chart-node.selected .ax-flow-chart-anchor{opacity:1}ax-flow-chart-renderer .ax-flow-chart-anchor{background-color:rgba(var(--ax-sys-color-on-lightest-surface));cursor:crosshair;border-radius:50%;width:10px;height:10px;position:absolute;transform:translate(-50%,-50%)}ax-flow-chart-renderer .ax-flow-chart-anchor.selected{background-color:rgba(var(--ax-sys-color-primary-surface))}ax-flow-chart-renderer .ax-flow-chart-anchor.hover{background-color:rgba(var(--ax-sys-color-danger-darkest-surface));transition:all .3s;scale:1.3}ax-flow-chart-renderer .ax-flow-chart-anchor:before{content:\"\";position:absolute;top:-7px;right:-7px;bottom:-7px;left:-7px}ax-flow-chart-renderer .ax-flow-chart-renderer-svg{position:absolute;top:0;left:0;overflow:visible}ax-flow-chart-renderer .ax-flow-chart-line:hover{stroke:rgba(var(--ax-sys-color-danger-darker-surface));cursor:pointer;transition:all .3s}ax-flow-chart-renderer .ax-flow-chart-line.selected{stroke:rgba(var(--ax-sys-color-primary-surface))}ax-flow-chart-renderer .ax-rectangle,ax-flow-chart-renderer .ax-circle,ax-flow-chart-renderer .ax-diamond{border:2px solid rgba(var(--ax-sys-color-border-surface));justify-content:center;align-items:center;width:auto;height:auto;display:flex}ax-flow-chart-renderer .ax-circle{aspect-ratio:1;border-radius:1000vmax}ax-flow-chart-renderer .ax-diamond{aspect-ratio:1;transform:rotate(45deg)scale(.75)}ax-flow-chart-renderer .ax-diamond p{transform:rotate(-45deg)scale(1.25)}ax-flow-chart-renderer .ax-diamond .ax-flow-chart-anchor{width:14px;height:14px}\n"] }]
613
+ }], propDecorators: { canvas: [{ type: i0.ViewChild, args: ['canvas', { isSignal: true }] }], svg: [{ type: i0.ViewChild, args: ['connections', { isSignal: true }] }], onLineClick: [{ type: i0.Output, args: ["onLineClick"] }], onLineDbClick: [{ type: i0.Output, args: ["onLineDbClick"] }], onNodeClick: [{ type: i0.Output, args: ["onNodeClick"] }], onNodeDbClick: [{ type: i0.Output, args: ["onNodeDbClick"] }], onEdgeUpdate: [{ type: i0.Output, args: ["onEdgeUpdate"] }], onNodeUpdate: [{ type: i0.Output, args: ["onNodeUpdate"] }] } });
598
614
 
599
615
  class AXFlowChartComponent extends NXComponent {
600
616
  constructor() {
@@ -658,23 +674,23 @@ class AXFlowChartComponent extends NXComponent {
658
674
  removeNode(nodeId) {
659
675
  this.flowChartService.removeNode(nodeId);
660
676
  }
661
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.3", ngImport: i0, type: AXFlowChartComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
662
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "20.3.3", type: AXFlowChartComponent, isStandalone: true, selector: "ax-flow-chart", inputs: { initialFlowChartNode: { classPropertyName: "initialFlowChartNode", publicName: "initialFlowChartNode", isSignal: true, isRequired: true, transformFunction: null }, initialFlowChartEdge: { classPropertyName: "initialFlowChartEdge", publicName: "initialFlowChartEdge", isSignal: true, isRequired: true, transformFunction: null } }, host: { listeners: { "document:keydown": "handleKeyboardEvent($event)" } }, providers: [
677
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.3", ngImport: i0, type: AXFlowChartComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
678
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "21.1.3", type: AXFlowChartComponent, isStandalone: true, selector: "ax-flow-chart", inputs: { initialFlowChartNode: { classPropertyName: "initialFlowChartNode", publicName: "initialFlowChartNode", isSignal: true, isRequired: true, transformFunction: null }, initialFlowChartEdge: { classPropertyName: "initialFlowChartEdge", publicName: "initialFlowChartEdge", isSignal: true, isRequired: true, transformFunction: null } }, host: { listeners: { "document:keydown": "handleKeyboardEvent($event)" } }, providers: [
663
679
  AXFlowChartService,
664
680
  { provide: AXComponent, useExisting: AXFlowChartComponent },
665
681
  { provide: AXValuableComponent, useExisting: AXFlowChartComponent },
666
682
  { provide: AXFocusableComponent, useExisting: AXFlowChartComponent },
667
- ], usesInheritance: true, ngImport: i0, template: "<ng-content select=\"ax-header\"></ng-content>\n<ng-content select=\"ax-flow-chart-renderer\"></ng-content>\n<ng-content select=\"ax-footer\"></ng-content>\n", styles: ["ax-flow-chart{display:flex;flex-direction:column;width:100%;height:100%;border:1px solid rgba(var(--ax-sys-color-border-lightest-surface));border-radius:var(--ax-sys-border-radius)}ax-flow-chart ax-header{border-bottom:1px solid rgba(var(--ax-sys-color-border-lightest-surface))}ax-flow-chart ax-footer{border-top:1px solid rgba(var(--ax-sys-color-border-lightest-surface))}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
683
+ ], usesInheritance: true, ngImport: i0, template: "<ng-content select=\"ax-header\"></ng-content>\n<ng-content select=\"ax-flow-chart-renderer\"></ng-content>\n<ng-content select=\"ax-footer\"></ng-content>\n", styles: ["ax-flow-chart{border:1px solid rgba(var(--ax-sys-color-border-lightest-surface));border-radius:var(--ax-sys-border-radius);flex-direction:column;width:100%;height:100%;display:flex}ax-flow-chart ax-header{border-bottom:1px solid rgba(var(--ax-sys-color-border-lightest-surface))}ax-flow-chart ax-footer{border-top:1px solid rgba(var(--ax-sys-color-border-lightest-surface))}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
668
684
  }
669
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.3", ngImport: i0, type: AXFlowChartComponent, decorators: [{
685
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.3", ngImport: i0, type: AXFlowChartComponent, decorators: [{
670
686
  type: Component,
671
687
  args: [{ selector: 'ax-flow-chart', changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, providers: [
672
688
  AXFlowChartService,
673
689
  { provide: AXComponent, useExisting: AXFlowChartComponent },
674
690
  { provide: AXValuableComponent, useExisting: AXFlowChartComponent },
675
691
  { provide: AXFocusableComponent, useExisting: AXFlowChartComponent },
676
- ], template: "<ng-content select=\"ax-header\"></ng-content>\n<ng-content select=\"ax-flow-chart-renderer\"></ng-content>\n<ng-content select=\"ax-footer\"></ng-content>\n", styles: ["ax-flow-chart{display:flex;flex-direction:column;width:100%;height:100%;border:1px solid rgba(var(--ax-sys-color-border-lightest-surface));border-radius:var(--ax-sys-border-radius)}ax-flow-chart ax-header{border-bottom:1px solid rgba(var(--ax-sys-color-border-lightest-surface))}ax-flow-chart ax-footer{border-top:1px solid rgba(var(--ax-sys-color-border-lightest-surface))}\n"] }]
677
- }], propDecorators: { handleKeyboardEvent: [{
692
+ ], template: "<ng-content select=\"ax-header\"></ng-content>\n<ng-content select=\"ax-flow-chart-renderer\"></ng-content>\n<ng-content select=\"ax-footer\"></ng-content>\n", styles: ["ax-flow-chart{border:1px solid rgba(var(--ax-sys-color-border-lightest-surface));border-radius:var(--ax-sys-border-radius);flex-direction:column;width:100%;height:100%;display:flex}ax-flow-chart ax-header{border-bottom:1px solid rgba(var(--ax-sys-color-border-lightest-surface))}ax-flow-chart ax-footer{border-top:1px solid rgba(var(--ax-sys-color-border-lightest-surface))}\n"] }]
693
+ }], propDecorators: { initialFlowChartNode: [{ type: i0.Input, args: [{ isSignal: true, alias: "initialFlowChartNode", required: true }] }], initialFlowChartEdge: [{ type: i0.Input, args: [{ isSignal: true, alias: "initialFlowChartEdge", required: true }] }], handleKeyboardEvent: [{
678
694
  type: HostListener,
679
695
  args: ['document:keydown', ['$event']]
680
696
  }] } });
@@ -682,11 +698,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.3", ngImpor
682
698
  const COMPONENT = [AXFlowChartRendererComponent, AXFlowChartCreatorComponent, AXFlowChartComponent];
683
699
  const MODULES = [CommonModule];
684
700
  class AXFlowChartModule {
685
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.3", ngImport: i0, type: AXFlowChartModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
686
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.3", ngImport: i0, type: AXFlowChartModule, imports: [CommonModule, AXFlowChartRendererComponent, AXFlowChartCreatorComponent, AXFlowChartComponent], exports: [AXFlowChartRendererComponent, AXFlowChartCreatorComponent, AXFlowChartComponent] }); }
687
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.3", ngImport: i0, type: AXFlowChartModule, imports: [MODULES, AXFlowChartCreatorComponent] }); }
701
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.3", ngImport: i0, type: AXFlowChartModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
702
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.1.3", ngImport: i0, type: AXFlowChartModule, imports: [CommonModule, AXFlowChartRendererComponent, AXFlowChartCreatorComponent, AXFlowChartComponent], exports: [AXFlowChartRendererComponent, AXFlowChartCreatorComponent, AXFlowChartComponent] }); }
703
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.1.3", ngImport: i0, type: AXFlowChartModule, imports: [MODULES, AXFlowChartCreatorComponent] }); }
688
704
  }
689
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.3", ngImport: i0, type: AXFlowChartModule, decorators: [{
705
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.3", ngImport: i0, type: AXFlowChartModule, decorators: [{
690
706
  type: NgModule,
691
707
  args: [{
692
708
  imports: [...MODULES, ...COMPONENT],