@nxgt/material 2.1.0 → 2.2.0

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 (2057) hide show
  1. package/README.md +328 -574
  2. package/dist/_Uint8Array-BlYETJ93.js +127 -0
  3. package/dist/abnfDiagram-O67JEVCF-UBHbDvRt.js +89 -0
  4. package/dist/architectureDiagram-NJMV4G6O-YUaZEFrZ.js +4146 -0
  5. package/dist/blockDiagram-BEXU5L5S-LYb2ZWFy.js +1946 -0
  6. package/dist/c4Diagram-YGBWAQC7-C-2N38iN.js +2990 -0
  7. package/dist/channel-CUIVvEUM.js +5 -0
  8. package/dist/chunk-3FUC2YCW-uD4dp-_M.js +364 -0
  9. package/dist/chunk-5DYCD2WN-B2Jnu3zk.js +37 -0
  10. package/dist/chunk-6AEJRKK7-C9kihZu8.js +10 -0
  11. package/dist/chunk-742MDFTN-C8SK_MEU.js +275 -0
  12. package/dist/chunk-7INBJB4K-CyUOVm3_.js +4487 -0
  13. package/dist/chunk-7M6MHVWA-stRISv0F.js +4256 -0
  14. package/dist/chunk-7PRAP22T-DSh07ASj.js +67 -0
  15. package/dist/chunk-GNY47TPC-CNRH-hmN.js +75 -0
  16. package/dist/chunk-GTNCS2PH-Dd-9mUKz.js +490 -0
  17. package/dist/chunk-GWA4HPMP-LeZ8CTY7.js +61 -0
  18. package/dist/chunk-MBY4JIJT-efJLM0ZL.js +1847 -0
  19. package/dist/chunk-NETBCI7D-Dh3LtOKr.js +236 -0
  20. package/dist/chunk-O7XYJQB3-CocGKgmL.js +3922 -0
  21. package/dist/chunk-UA2S7LBM-C81eiQ4_.js +363 -0
  22. package/dist/chunk-WEXAMYUT-Dt2jrFYj.js +26 -0
  23. package/dist/chunk-XXDRQBXY-mQqOBHO_.js +9 -0
  24. package/dist/chunk-Z7XXMR3K-D00WQ1MY.js +677 -0
  25. package/dist/chunk-ZIGJFQKS-Dqo-x9kg.js +663 -0
  26. package/dist/classDiagram-v2-NBCMYWYE-C4ucYlr1.js +3397 -0
  27. package/dist/client-only.utils-ojMUdy5B.js +340 -0
  28. package/dist/components/components.css +22 -0
  29. package/dist/components/ui/actions/button-group/button-group.css +12 -0
  30. package/dist/components/ui/display/code/code-moonlight.css +73 -0
  31. package/dist/components/ui/fields/attributes/attribute-form/attribute-form.css +21 -0
  32. package/dist/components/ui/fields/attributes/attribute-values-form/attribute-values-form.css +21 -0
  33. package/dist/components/ui/fields/contacts/contact-item.css +9 -0
  34. package/dist/components/ui/fields/opening-hours/opening-hours-item.css +9 -0
  35. package/dist/components/ui/layout/app-bar/bottom-app-bar.css +12 -0
  36. package/dist/components-DqMrnRRo.js +189618 -0
  37. package/dist/components.js +7 -4
  38. package/dist/cose-bilkent-JH36ORCC-BgR2hiLh.js +2251 -0
  39. package/dist/cynefinDiagram-VND7K2PF-wsthSZGu.js +349 -0
  40. package/dist/dagre-6A5THRUB-D9hh4vCU.js +2193 -0
  41. package/dist/diagram-22UHCM2B-Bu26TJjA.js +5084 -0
  42. package/dist/diagram-3UASUU5V-BEydDExL.js +724 -0
  43. package/dist/diagram-ATOU4E4O-DNtxHPVW.js +432 -0
  44. package/dist/diagram-CDSNMT55-BrwCxgMX.js +301 -0
  45. package/dist/diagram-MLGK6HIB-Bk26pSvC.js +134 -0
  46. package/dist/diagram-MPIPVDR6-Bl3F8b-U.js +214 -0
  47. package/dist/dist-C-0DUGrt.js +16576 -0
  48. package/dist/dist-CZn89tDX.js +50 -0
  49. package/dist/dnd.js +1 -1
  50. package/dist/ebnfDiagram-ZINNZB2B-C7vCu85A.js +100 -0
  51. package/dist/elk-276RUBZZ-ChJLevem.js +47598 -0
  52. package/dist/erDiagram-OPXOYQCR-DLzDCh2a.js +1970 -0
  53. package/dist/field-blur-CtjbtCDw.js +3486 -0
  54. package/dist/flowDiagram-KWPJA3E3-uiZryqlC.js +17 -0
  55. package/dist/ganttDiagram-FUAMR5RP-35sd5PoK.js +2929 -0
  56. package/dist/gitGraphDiagram-X574FWY7-Z7zhlcB8.js +729 -0
  57. package/dist/graphlib-DlxAzBTD.js +495 -0
  58. package/dist/hooks.js +97 -3
  59. package/dist/i18n-provider-BUQY82bS.js +43 -0
  60. package/dist/i18n.js +46 -2
  61. package/dist/icon-button-38As1vrs.js +2718 -0
  62. package/dist/infoDiagram-VRGFBTTK-BwoHwPPX.js +20 -0
  63. package/dist/isArrayLikeObject-DsRXN32g.js +86 -0
  64. package/dist/ishikawaDiagram-OU5B5YK6-C-aWtSta.js +719 -0
  65. package/dist/journeyDiagram-ZHPQQLJL-vXvTzJwE.js +884 -0
  66. package/dist/kanban-definition-PNTS6WVX-Co0CvKcV.js +976 -0
  67. package/dist/lib/components/index.d.ts +10 -151
  68. package/dist/lib/components/ui/actions/action-card/action-card.d.ts +11 -0
  69. package/dist/lib/components/ui/actions/action-card/index.d.ts +1 -0
  70. package/dist/lib/components/ui/actions/button/button.d.ts +16 -0
  71. package/dist/lib/components/ui/actions/button/index.d.ts +1 -0
  72. package/dist/lib/components/ui/actions/button-group/index.d.ts +1 -0
  73. package/dist/lib/components/ui/actions/copy-button/copy-button.d.ts +9 -0
  74. package/dist/lib/components/ui/actions/highlight-text/index.d.ts +1 -0
  75. package/dist/lib/components/ui/actions/icon-button/icon-badge.d.ts +15 -0
  76. package/dist/lib/components/ui/actions/icon-button/icon-button.d.ts +11 -0
  77. package/dist/lib/components/ui/actions/icon-button/icon-button.variants.d.ts +5 -0
  78. package/dist/lib/components/ui/actions/icon-button/index.d.ts +1 -0
  79. package/dist/lib/components/ui/actions/index.d.ts +13 -0
  80. package/dist/lib/components/ui/actions/language-switcher/index.d.ts +1 -0
  81. package/dist/lib/components/ui/actions/language-switcher/language-switcher.d.ts +6 -0
  82. package/dist/lib/components/ui/actions/link/index.d.ts +1 -0
  83. package/dist/lib/components/ui/actions/link/link.d.ts +9 -0
  84. package/dist/lib/components/ui/actions/load-more-button/index.d.ts +1 -0
  85. package/dist/lib/components/ui/actions/load-more-button/load-more-button.d.ts +25 -0
  86. package/dist/lib/components/ui/actions/responsive-button/index.d.ts +1 -0
  87. package/dist/lib/components/ui/actions/responsive-button/responsive-button.d.ts +7 -0
  88. package/dist/lib/components/ui/actions/scroll-to-top/index.d.ts +1 -0
  89. package/dist/lib/components/ui/actions/scroll-to-top/scroll-to-top.d.ts +20 -0
  90. package/dist/lib/components/ui/actions/split-button/index.d.ts +1 -0
  91. package/dist/lib/components/ui/actions/split-button/split-button.d.ts +8 -0
  92. package/dist/lib/components/ui/actions/theme-toggle/index.d.ts +1 -0
  93. package/dist/lib/components/ui/actions/theme-toggle/theme-toggle.d.ts +6 -0
  94. package/dist/lib/components/ui/collections/data-table/index.d.ts +7 -0
  95. package/dist/lib/components/ui/collections/data-table/partials/data-table-body.d.ts +13 -0
  96. package/dist/lib/components/ui/collections/data-table/partials/data-table-head.d.ts +6 -0
  97. package/dist/lib/components/ui/collections/data-table/table-meta.d.ts +13 -0
  98. package/dist/lib/components/ui/collections/data-table/use-data-table.d.ts +16 -0
  99. package/dist/lib/components/ui/collections/filter/consts.d.ts +61 -0
  100. package/dist/lib/components/ui/collections/filter/filter-form-field.d.ts +52 -0
  101. package/dist/lib/components/ui/collections/filter/filter-schema.utils.d.ts +34 -0
  102. package/dist/lib/components/ui/collections/filter/filter-trigger.d.ts +6 -0
  103. package/dist/lib/components/ui/collections/filter/filter-value.utils.d.ts +31 -0
  104. package/dist/lib/components/ui/collections/filter/index.d.ts +21 -0
  105. package/dist/lib/components/ui/collections/index.d.ts +5 -0
  106. package/dist/lib/components/ui/dates/calendar/calendar.d.ts +12 -0
  107. package/dist/lib/components/ui/dates/calendar/index.d.ts +1 -0
  108. package/dist/lib/components/ui/dates/date-field/date-field-trigger.d.ts +12 -0
  109. package/dist/lib/components/ui/dates/date-field/date-field.d.ts +33 -0
  110. package/dist/lib/components/ui/dates/date-field/date-form-field.d.ts +3 -0
  111. package/dist/lib/components/ui/dates/date-field/index.d.ts +3 -0
  112. package/dist/lib/components/ui/dates/date-range-field/date-range-field-trigger.d.ts +12 -0
  113. package/dist/lib/components/ui/dates/date-range-field/date-range-field.d.ts +29 -0
  114. package/dist/lib/components/ui/dates/date-range-field/date-range-form-field.d.ts +3 -0
  115. package/dist/lib/components/ui/dates/date-range-field/index.d.ts +3 -0
  116. package/dist/lib/components/ui/dates/duration-field/duration-form-field.d.ts +3 -0
  117. package/dist/lib/components/ui/dates/duration-field/duration-group-a11y.d.ts +15 -0
  118. package/dist/lib/components/ui/dates/duration-field/index.d.ts +4 -0
  119. package/dist/lib/components/ui/dates/index.d.ts +6 -0
  120. package/dist/lib/components/ui/dates/picker-trigger/index.d.ts +3 -0
  121. package/dist/lib/components/ui/dates/picker-trigger/picker-field-frame.d.ts +30 -0
  122. package/dist/lib/components/ui/dates/picker-trigger/picker-trigger-a11y.d.ts +35 -0
  123. package/dist/lib/components/ui/dates/picker-trigger/picker-trigger-attrs.d.ts +25 -0
  124. package/dist/lib/components/ui/dates/time-field/index.d.ts +3 -0
  125. package/dist/lib/components/ui/dates/time-field/partials/time-field-overlay.d.ts +17 -0
  126. package/dist/lib/components/ui/dates/time-field/partials/time-field-picker.d.ts +12 -0
  127. package/dist/lib/components/ui/dates/time-field/partials/time-field-trigger.d.ts +13 -0
  128. package/dist/lib/components/ui/dates/time-field/time-field.d.ts +22 -0
  129. package/dist/lib/components/ui/dates/time-field/time-form-field.d.ts +5 -0
  130. package/dist/lib/components/ui/display/accordion-card/accordion-card.d.ts +13 -0
  131. package/dist/lib/components/ui/display/accordion-card/index.d.ts +1 -0
  132. package/dist/lib/components/ui/display/api-endpoint/index.d.ts +1 -0
  133. package/dist/lib/components/ui/display/api-operation/api-operation.d.ts +13 -0
  134. package/dist/lib/components/ui/display/api-operation/index.d.ts +1 -0
  135. package/dist/lib/components/ui/display/avatar/avatar.d.ts +15 -0
  136. package/dist/lib/components/ui/display/avatar/index.d.ts +1 -0
  137. package/dist/lib/components/ui/display/badge/badge.d.ts +9 -0
  138. package/dist/lib/components/ui/display/badge/index.d.ts +1 -0
  139. package/dist/lib/components/ui/display/barecode/barecode.d.ts +6 -0
  140. package/dist/lib/components/ui/display/barecode/index.d.ts +1 -0
  141. package/dist/lib/components/ui/display/cards/types.d.ts +187 -0
  142. package/dist/lib/components/ui/display/chip/chip.d.ts +11 -0
  143. package/dist/lib/components/ui/display/chip/index.d.ts +1 -0
  144. package/dist/lib/components/ui/display/chip/partials/chip-body.d.ts +9 -0
  145. package/dist/lib/components/ui/display/chip/partials/chip-dismiss-button.d.ts +9 -0
  146. package/dist/lib/components/ui/display/code/parse-json.d.ts +14 -0
  147. package/dist/lib/components/ui/display/count-badge/count-badge.d.ts +10 -0
  148. package/dist/lib/components/ui/display/count-badge/index.d.ts +1 -0
  149. package/dist/lib/components/ui/display/description/index.d.ts +1 -0
  150. package/dist/lib/components/ui/display/entity-header/entity-header.d.ts +13 -0
  151. package/dist/lib/components/ui/display/entity-header/index.d.ts +1 -0
  152. package/dist/lib/components/ui/display/figure/index.d.ts +1 -0
  153. package/dist/lib/components/ui/display/index.d.ts +25 -0
  154. package/dist/lib/components/ui/display/list-tile/index.d.ts +1 -0
  155. package/dist/lib/components/ui/display/markdown/markdown.d.ts +7 -0
  156. package/dist/lib/components/ui/display/metrics/types.d.ts +125 -0
  157. package/dist/lib/components/ui/display/param-table/index.d.ts +1 -0
  158. package/dist/lib/components/ui/display/qrcode/index.d.ts +1 -0
  159. package/dist/lib/components/ui/display/qrcode/qrcode.d.ts +7 -0
  160. package/dist/lib/components/ui/display/stat-card/stat-card.d.ts +13 -0
  161. package/dist/lib/components/ui/display/status-indicator/index.d.ts +1 -0
  162. package/dist/lib/components/ui/display/summary-data/index.d.ts +1 -0
  163. package/dist/lib/components/ui/feedback/alert/alert.d.ts +12 -0
  164. package/dist/lib/components/ui/feedback/alert/index.d.ts +1 -0
  165. package/dist/lib/components/ui/feedback/alert-dialog/alert-dialog.d.ts +15 -0
  166. package/dist/lib/components/ui/feedback/alert-dialog/index.d.ts +1 -0
  167. package/dist/lib/components/ui/feedback/circular-progress/circular-progress.d.ts +20 -0
  168. package/dist/lib/components/ui/feedback/circular-progress/index.d.ts +1 -0
  169. package/dist/lib/components/ui/feedback/confirm-dialog/confirm-dialog.d.ts +18 -0
  170. package/dist/lib/components/ui/feedback/confirm-dialog/index.d.ts +1 -0
  171. package/dist/lib/components/ui/feedback/confirmation-dialog/confirmation-dialog.d.ts +22 -0
  172. package/dist/lib/components/ui/feedback/confirmation-dialog/index.d.ts +1 -0
  173. package/dist/lib/components/ui/feedback/custom-alert-dialog/custom-alert-dialog.d.ts +10 -0
  174. package/dist/lib/components/ui/feedback/custom-alert-dialog/index.d.ts +1 -0
  175. package/dist/lib/components/ui/feedback/custom-dialog/custom-dialog.d.ts +10 -0
  176. package/dist/lib/components/ui/feedback/custom-dialog/index.d.ts +1 -0
  177. package/dist/lib/components/ui/feedback/empty-state/index.d.ts +1 -0
  178. package/dist/lib/components/ui/feedback/hydrate-loading/hydrate-loading.d.ts +9 -0
  179. package/dist/lib/components/ui/feedback/hydrate-loading/index.d.ts +1 -0
  180. package/dist/lib/components/ui/feedback/index.d.ts +4 -2
  181. package/dist/lib/components/ui/feedback/progress/index.d.ts +2 -0
  182. package/dist/lib/components/ui/feedback/scroll-progress/index.d.ts +1 -0
  183. package/dist/lib/components/ui/feedback/skeleton/skeleton-card.d.ts +4 -0
  184. package/dist/lib/components/ui/feedback/spinner/index.d.ts +1 -0
  185. package/dist/lib/components/ui/feedback/spinner/spinner.d.ts +9 -0
  186. package/dist/lib/components/ui/feedback/toast/index.d.ts +2 -0
  187. package/dist/lib/components/ui/feedback/toast/toasts.d.ts +41 -0
  188. package/dist/lib/components/ui/fields/attributes/attribute-dialog.d.ts +10 -0
  189. package/dist/lib/components/ui/fields/attributes/attribute-form/attribute-value-form-field.d.ts +12 -0
  190. package/dist/lib/components/ui/fields/attributes/attribute-form/consts.d.ts +45 -0
  191. package/dist/lib/components/ui/fields/attributes/attribute-values-form/attribute-values-form.d.ts +15 -0
  192. package/dist/lib/components/ui/fields/attributes/attribute-values-form-field-set/attribute-values-form-field-set.d.ts +12 -0
  193. package/dist/lib/components/ui/fields/attributes/attributes-field/attributes-field.d.ts +12 -0
  194. package/dist/lib/components/ui/fields/attributes/attributes-field/state.d.ts +14 -0
  195. package/dist/lib/components/ui/fields/attributes/attributes-form-field/attributes-form-field.d.ts +13 -0
  196. package/dist/lib/components/ui/fields/attributes/attributes-list/attributes-list.d.ts +11 -0
  197. package/dist/lib/components/ui/fields/attributes/consts.d.ts +2 -0
  198. package/dist/lib/components/ui/fields/attributes/utils.d.ts +4 -0
  199. package/dist/lib/components/ui/fields/color-field/color-field.d.ts +8 -0
  200. package/dist/lib/components/ui/fields/color-field/color-form-field.d.ts +3 -0
  201. package/dist/lib/components/ui/fields/color-field/index.d.ts +4 -0
  202. package/dist/lib/components/ui/fields/contacts/contact-item.d.ts +21 -0
  203. package/dist/lib/components/ui/fields/contacts/utils.d.ts +11 -0
  204. package/dist/lib/components/ui/fields/country-field/country-field.d.ts +20 -0
  205. package/dist/lib/components/ui/fields/country-field/country-form-field.d.ts +3 -0
  206. package/dist/lib/components/ui/fields/country-field/index.d.ts +3 -0
  207. package/dist/lib/components/ui/fields/currency-field/currency-digits.d.ts +7 -0
  208. package/dist/lib/components/ui/fields/currency-field/currency-field.d.ts +15 -0
  209. package/dist/lib/components/ui/fields/currency-field/currency-form-field.d.ts +3 -0
  210. package/dist/lib/components/ui/fields/currency-field/index.d.ts +4 -0
  211. package/dist/lib/components/ui/fields/email-field/email-field.d.ts +3 -0
  212. package/dist/lib/components/ui/fields/email-field/email-form-field.d.ts +3 -0
  213. package/dist/lib/components/ui/fields/email-field/index.d.ts +4 -0
  214. package/dist/lib/components/ui/fields/field/types.d.ts +67 -0
  215. package/dist/lib/components/ui/fields/index.d.ts +24 -0
  216. package/dist/lib/components/ui/fields/inline-edit/index.d.ts +3 -0
  217. package/dist/lib/components/ui/fields/inline-edit/inline-edit-form-field.d.ts +3 -0
  218. package/dist/lib/components/ui/fields/input-group-field/index.d.ts +2 -0
  219. package/dist/lib/components/ui/fields/input-group-field/input-group-form-field.d.ts +3 -0
  220. package/dist/lib/components/ui/fields/number-field/index.d.ts +4 -0
  221. package/dist/lib/components/ui/fields/number-field/number-field.d.ts +24 -0
  222. package/dist/lib/components/ui/fields/number-field/number-form-field.d.ts +3 -0
  223. package/dist/lib/components/ui/fields/opening-hours/consts.d.ts +18 -0
  224. package/dist/lib/components/ui/fields/opening-hours/opening-hours-item.d.ts +21 -0
  225. package/dist/lib/components/ui/fields/otp-field/index.d.ts +2 -0
  226. package/dist/lib/components/ui/fields/otp-field/otp-form-field.d.ts +3 -0
  227. package/dist/lib/components/ui/fields/password-field/index.d.ts +2 -0
  228. package/dist/lib/components/ui/fields/password-field/password-field.d.ts +8 -0
  229. package/dist/lib/components/ui/fields/password-field/password-form-field.d.ts +3 -0
  230. package/dist/lib/components/ui/fields/percent-field/index.d.ts +3 -0
  231. package/dist/lib/components/ui/fields/percent-field/percent-field.d.ts +3 -0
  232. package/dist/lib/components/ui/fields/percent-field/percent-form-field.d.ts +3 -0
  233. package/dist/lib/components/ui/fields/phone-field/index.d.ts +7 -0
  234. package/dist/lib/components/ui/fields/phone-field/phone-form-field.d.ts +3 -0
  235. package/dist/lib/components/ui/fields/rating-field/index.d.ts +4 -0
  236. package/dist/lib/components/ui/fields/rating-field/rating-field.d.ts +23 -0
  237. package/dist/lib/components/ui/fields/rating-field/rating-form-field.d.ts +3 -0
  238. package/dist/lib/components/ui/fields/search-field/index.d.ts +5 -0
  239. package/dist/lib/components/ui/fields/search-field/search-field.d.ts +11 -0
  240. package/dist/lib/components/ui/fields/search-field/search-form-field.d.ts +3 -0
  241. package/dist/lib/components/ui/fields/slider/index.d.ts +2 -0
  242. package/dist/lib/components/ui/fields/slider/slider-control.d.ts +12 -0
  243. package/dist/lib/components/ui/fields/slider/slider-form-field.d.ts +3 -0
  244. package/dist/lib/components/ui/fields/slider/slider-thumb-names.d.ts +19 -0
  245. package/dist/lib/components/ui/fields/slider/slider.d.ts +13 -0
  246. package/dist/lib/components/ui/fields/switch/index.d.ts +2 -0
  247. package/dist/lib/components/ui/fields/switch/partials/switch-control.d.ts +4 -0
  248. package/dist/lib/components/ui/fields/switch/partials/switch-row.d.ts +15 -0
  249. package/dist/lib/components/ui/fields/switch/switch-form-field.d.ts +3 -0
  250. package/dist/lib/components/ui/fields/switch/switch.utils.d.ts +27 -0
  251. package/dist/lib/components/ui/fields/switch/use-switch-checked.d.ts +13 -0
  252. package/dist/lib/components/ui/fields/switch/use-switch-state.d.ts +32 -0
  253. package/dist/lib/components/ui/fields/text-field/index.d.ts +2 -0
  254. package/dist/lib/components/ui/fields/text-field/text-field.d.ts +10 -0
  255. package/dist/lib/components/ui/fields/text-field/text-form-field.d.ts +3 -0
  256. package/dist/lib/components/ui/fields/textarea-field/index.d.ts +2 -0
  257. package/dist/lib/components/ui/fields/textarea-field/textarea-form-field.d.ts +3 -0
  258. package/dist/lib/components/ui/fields/timezone-field/index.d.ts +5 -0
  259. package/dist/lib/components/ui/fields/timezone-field/timezone-field.d.ts +5 -0
  260. package/dist/lib/components/ui/fields/timezone-field/timezone-form-field.d.ts +3 -0
  261. package/dist/lib/components/ui/fields/url-field/index.d.ts +4 -0
  262. package/dist/lib/components/ui/fields/url-field/url-field.d.ts +3 -0
  263. package/dist/lib/components/ui/fields/url-field/url-form-field.d.ts +3 -0
  264. package/dist/lib/components/ui/forms/array-error-message.d.ts +7 -0
  265. package/dist/lib/components/ui/forms/field-blur-context.d.ts +19 -0
  266. package/dist/lib/components/ui/forms/field-blur-layers.d.ts +34 -0
  267. package/dist/lib/components/ui/forms/field-blur.d.ts +11 -0
  268. package/dist/lib/components/ui/forms/form-field.d.ts +1 -1
  269. package/dist/lib/components/ui/forms/form-field.wiring.d.ts +11 -0
  270. package/dist/lib/components/ui/forms/index.d.ts +0 -44
  271. package/dist/lib/components/ui/forms/select-choice.utils.d.ts +9 -0
  272. package/dist/lib/components/ui/forms/use-field-blur.d.ts +27 -0
  273. package/dist/lib/components/ui/layout/app-shell/app-breadcrumb.d.ts +24 -0
  274. package/dist/lib/components/ui/layout/app-shell/app-breadcrumb.utils.d.ts +14 -0
  275. package/dist/lib/components/ui/layout/app-shell/app-sidebar.d.ts +17 -0
  276. package/dist/lib/components/ui/layout/app-shell/types.d.ts +24 -0
  277. package/dist/lib/components/ui/layout/background/index.d.ts +1 -0
  278. package/dist/lib/components/ui/layout/breadcrumb/index.d.ts +1 -0
  279. package/dist/lib/components/ui/layout/doc/doc.utils.d.ts +29 -0
  280. package/dist/lib/components/ui/layout/doc/partials/doc-empty.d.ts +3 -0
  281. package/dist/lib/components/ui/layout/doc/partials/doc-progress.d.ts +3 -0
  282. package/dist/lib/components/ui/layout/doc/partials/doc-skip-link.d.ts +2 -0
  283. package/dist/lib/components/ui/layout/hero/index.d.ts +1 -0
  284. package/dist/lib/components/ui/layout/index.d.ts +16 -0
  285. package/dist/lib/components/ui/layout/list-details-layout/index.d.ts +1 -0
  286. package/dist/lib/components/ui/layout/list-details-layout/list-details-layout.d.ts +22 -0
  287. package/dist/lib/components/ui/layout/list-details-layout/partials/list-details-context.d.ts +13 -0
  288. package/dist/lib/components/ui/layout/list-details-layout/partials/list-details-details.d.ts +8 -0
  289. package/dist/lib/components/ui/layout/list-details-layout/partials/list-details-list.d.ts +9 -0
  290. package/dist/lib/components/ui/layout/list-details-layout/partials/list-details-trigger.d.ts +11 -0
  291. package/dist/lib/components/ui/layout/pager/index.d.ts +1 -0
  292. package/dist/lib/components/ui/layout/pane-layout/index.d.ts +1 -0
  293. package/dist/lib/components/ui/layout/pane-layout/pane-layout.d.ts +22 -0
  294. package/dist/lib/components/ui/layout/pane-layout/partials/pane-layout-content.d.ts +9 -0
  295. package/dist/lib/components/ui/layout/pane-layout/partials/pane-layout-context.d.ts +13 -0
  296. package/dist/lib/components/ui/layout/pane-layout/partials/pane-layout-pane.d.ts +11 -0
  297. package/dist/lib/components/ui/layout/pane-layout/partials/pane-layout-trigger.d.ts +10 -0
  298. package/dist/lib/components/ui/layout/resizable/index.d.ts +1 -0
  299. package/dist/lib/components/ui/layout/responsive-grid/index.d.ts +1 -0
  300. package/dist/lib/components/ui/layout/see-also/index.d.ts +1 -0
  301. package/dist/lib/components/ui/layout/sidebar/index.d.ts +1 -0
  302. package/dist/lib/components/ui/layout/skip-link/index.d.ts +1 -0
  303. package/dist/lib/components/ui/layout/steps/index.d.ts +1 -0
  304. package/dist/lib/components/ui/layout/thread-layout/index.d.ts +1 -0
  305. package/dist/lib/components/ui/layout/toc/index.d.ts +1 -0
  306. package/dist/lib/components/ui/media/camera/types.d.ts +38 -0
  307. package/dist/lib/components/ui/media/carousel/carousel.d.ts +19 -0
  308. package/dist/lib/components/ui/media/carousel/index.d.ts +1 -0
  309. package/dist/lib/components/ui/media/file-list/file-list-field.d.ts +12 -0
  310. package/dist/lib/components/ui/media/file-list/file-list-form-field.d.ts +3 -0
  311. package/dist/lib/components/ui/media/file-list/file-list-s3-field.d.ts +6 -0
  312. package/dist/lib/components/ui/media/file-list/file-list-s3-form-field.d.ts +3 -0
  313. package/dist/lib/components/ui/media/file-list/index.d.ts +10 -0
  314. package/dist/lib/components/ui/media/files-form-field/files-form-field.d.ts +9 -0
  315. package/dist/lib/components/ui/media/files-form-field/index.d.ts +1 -0
  316. package/dist/lib/components/ui/media/image-field/image-field-actions.d.ts +12 -0
  317. package/dist/lib/components/ui/media/image-field/image-field.d.ts +10 -0
  318. package/dist/lib/components/ui/media/image-field/image-form-field.d.ts +3 -0
  319. package/dist/lib/components/ui/media/image-field/image-s3-field.d.ts +6 -0
  320. package/dist/lib/components/ui/media/image-field/image-s3-form-field.d.ts +3 -0
  321. package/dist/lib/components/ui/media/image-field/index.d.ts +6 -0
  322. package/dist/lib/components/ui/media/image-field/partials/image-field-body.d.ts +14 -0
  323. package/dist/lib/components/ui/media/image-field/partials/image-field-frame.d.ts +16 -0
  324. package/dist/lib/components/ui/media/image-field/partials/image-field-picker.d.ts +8 -0
  325. package/dist/lib/components/ui/media/image-field/use-image-field.d.ts +52 -0
  326. package/dist/lib/components/ui/media/index.d.ts +11 -0
  327. package/dist/lib/components/ui/media/pdf-viewer/index.d.ts +19 -0
  328. package/dist/lib/components/ui/media/pdf-viewer/pdf-document-search.d.ts +44 -0
  329. package/dist/lib/components/ui/media/pdf-viewer/pdf-note-icons.d.ts +11 -0
  330. package/dist/lib/components/ui/media/pdf-viewer/pdf-note-icons.data.d.ts +2 -0
  331. package/dist/lib/components/ui/media/pdf-viewer/pdf-page-geometry.d.ts +57 -0
  332. package/dist/lib/components/ui/media/pdf-viewer/pdf-page-list.d.ts +20 -0
  333. package/dist/lib/components/ui/media/pdf-viewer/pdf-page-sizes.d.ts +37 -0
  334. package/dist/lib/components/ui/media/pdf-viewer/pdf-reader-body.d.ts +32 -0
  335. package/dist/lib/components/ui/media/pdf-viewer/pdf-reader-keyboard.d.ts +17 -0
  336. package/dist/lib/components/ui/media/pdf-viewer/pdf-reader-states.d.ts +14 -0
  337. package/dist/lib/components/ui/media/pdf-viewer/pdf-reader.d.ts +9 -0
  338. package/dist/lib/components/ui/media/pdf-viewer/pdf-reader.reducer.d.ts +66 -0
  339. package/dist/lib/components/ui/media/pdf-viewer/pdf-scroll-spy.d.ts +42 -0
  340. package/dist/lib/components/ui/media/pdf-viewer/pdf-sidebar.d.ts +17 -0
  341. package/dist/lib/components/ui/media/pdf-viewer/pdf-text-search.d.ts +25 -0
  342. package/dist/lib/components/ui/media/pdf-viewer/pdf-thumbnail-sidebar.d.ts +13 -0
  343. package/dist/lib/components/ui/media/pdf-viewer/types.d.ts +73 -0
  344. package/dist/lib/components/ui/media/pdf-viewer/use-pdf-document-search.d.ts +10 -0
  345. package/dist/lib/components/ui/media/pdf-viewer/use-pdf-file-actions.d.ts +15 -0
  346. package/dist/lib/components/ui/media/pdf-viewer/use-pdf-fullscreen.d.ts +6 -0
  347. package/dist/lib/components/ui/media/pdf-viewer/use-pdf-outline-select.d.ts +9 -0
  348. package/dist/lib/components/ui/media/pdf-viewer/use-pdf-page-area.d.ts +12 -0
  349. package/dist/lib/components/ui/media/pdf-viewer/use-pdf-page-report.d.ts +16 -0
  350. package/dist/lib/components/ui/media/pdf-viewer/use-pdf-reader.d.ts +32 -0
  351. package/dist/lib/components/ui/media/pdf-viewer/use-pdf-scroll-spy.d.ts +16 -0
  352. package/dist/lib/components/ui/media/pdf-viewer/use-pdf-search-hits.d.ts +44 -0
  353. package/dist/lib/components/ui/media/pdf-viewer/use-pdf-search-open.d.ts +12 -0
  354. package/dist/lib/components/ui/media/pdf-viewer/use-pdf-source.d.ts +12 -0
  355. package/dist/lib/components/ui/media/upload/network-upload-field/index.d.ts +2 -0
  356. package/dist/lib/components/ui/media/upload/network-upload-field/network-upload-dropzone.d.ts +18 -0
  357. package/dist/lib/components/ui/media/upload/network-upload-field/network-upload-field.slice.d.ts +253 -0
  358. package/dist/lib/components/ui/media/upload/network-upload-field/network-upload-field.utils.d.ts +46 -0
  359. package/dist/lib/components/ui/media/upload/network-upload-field/network-upload-form-field.d.ts +3 -0
  360. package/dist/lib/components/ui/media/upload/network-upload-field/partials/network-upload-field-items.d.ts +16 -0
  361. package/dist/lib/components/ui/media/upload/network-upload-field/partials/network-upload-item-actions.d.ts +8 -0
  362. package/dist/lib/components/ui/media/upload/network-upload-field/partials/network-upload-item-details.d.ts +5 -0
  363. package/dist/lib/components/ui/media/upload/network-upload-field/partials/network-upload-item-thumbnail.d.ts +5 -0
  364. package/dist/lib/components/ui/media/upload/network-upload-field/upload-constraints.d.ts +11 -0
  365. package/dist/lib/components/ui/media/upload/network-upload-field/upload-display-items.d.ts +12 -0
  366. package/dist/lib/components/ui/media/upload/network-upload-field/use-add-local-item.d.ts +18 -0
  367. package/dist/lib/components/ui/media/upload/network-upload-field/use-image-preview.d.ts +2 -0
  368. package/dist/lib/components/ui/media/upload/network-upload-field/use-network-upload-field.d.ts +18 -0
  369. package/dist/lib/components/ui/media/upload/network-upload-field/use-network-upload-item.d.ts +24 -0
  370. package/dist/lib/components/ui/media/upload/network-upload-field/use-start-upload.d.ts +15 -0
  371. package/dist/lib/components/ui/media/upload/network-upload-field/use-upload-commit.d.ts +10 -0
  372. package/dist/lib/components/ui/media/upload/network-upload-field/use-upload-item-handlers.d.ts +25 -0
  373. package/dist/lib/components/ui/media/upload/network-upload-field/use-upload-items.d.ts +13 -0
  374. package/dist/lib/components/ui/media/upload/s3-upload-field/index.d.ts +2 -0
  375. package/dist/lib/components/ui/media/upload/s3-upload-field/s3-upload-field.d.ts +12 -0
  376. package/dist/lib/components/ui/media/upload/s3-upload-field/s3-upload-form-field.d.ts +3 -0
  377. package/dist/lib/components/ui/media/upload-field/index.d.ts +2 -0
  378. package/dist/lib/components/ui/media/upload-field/upload-field.d.ts +14 -0
  379. package/dist/lib/components/ui/media/upload-field/upload-form-field.d.ts +3 -0
  380. package/dist/lib/components/ui/overlays/command/command.d.ts +16 -0
  381. package/dist/lib/components/ui/overlays/command/index.d.ts +1 -0
  382. package/dist/lib/components/ui/overlays/context-menu/index.d.ts +1 -0
  383. package/dist/lib/components/ui/overlays/dialog/dialog.d.ts +14 -0
  384. package/dist/lib/components/ui/overlays/dialog/index.d.ts +1 -0
  385. package/dist/lib/components/ui/overlays/dialog/use-return-focus.d.ts +32 -0
  386. package/dist/lib/components/ui/overlays/drawer/drawer.d.ts +14 -0
  387. package/dist/lib/components/ui/overlays/drawer/index.d.ts +1 -0
  388. package/dist/lib/components/ui/overlays/dropdown-menu/dropdown-menu.d.ts +33 -0
  389. package/dist/lib/components/ui/overlays/dropdown-menu/index.d.ts +1 -0
  390. package/dist/lib/components/ui/overlays/hover-card/index.d.ts +1 -0
  391. package/dist/lib/components/ui/overlays/index.d.ts +10 -0
  392. package/dist/lib/components/ui/overlays/menubar/index.d.ts +1 -0
  393. package/dist/lib/components/ui/overlays/menubar/menubar.d.ts +30 -0
  394. package/dist/lib/components/ui/overlays/popover/index.d.ts +1 -0
  395. package/dist/lib/components/ui/overlays/sheet/index.d.ts +1 -0
  396. package/dist/lib/components/ui/overlays/sheet/sheet.d.ts +15 -0
  397. package/dist/lib/components/ui/overlays/tooltip/index.d.ts +1 -0
  398. package/dist/lib/components/ui/overlays/tooltip/tooltip.d.ts +18 -0
  399. package/dist/lib/components/ui/primitives/accordion/index.d.ts +1 -0
  400. package/dist/lib/components/ui/primitives/activity/index.d.ts +1 -0
  401. package/dist/lib/components/ui/primitives/anchor-heading/anchor-heading.d.ts +9 -0
  402. package/dist/lib/components/ui/primitives/anchor-heading/index.d.ts +1 -0
  403. package/dist/lib/components/ui/primitives/card/index.d.ts +1 -0
  404. package/dist/lib/components/ui/primitives/collapsible/index.d.ts +1 -0
  405. package/dist/lib/components/ui/primitives/extended-label/extended-label.d.ts +7 -0
  406. package/dist/lib/components/ui/primitives/extended-label/index.d.ts +1 -0
  407. package/dist/lib/components/ui/primitives/helper-text/helper-text.d.ts +5 -0
  408. package/dist/lib/components/ui/primitives/helper-text/index.d.ts +1 -0
  409. package/dist/lib/components/ui/primitives/icon/icon-context.d.ts +10 -0
  410. package/dist/lib/components/ui/primitives/icon/index.d.ts +1 -0
  411. package/dist/lib/components/ui/primitives/index.d.ts +20 -0
  412. package/dist/lib/components/ui/primitives/input/index.d.ts +1 -0
  413. package/dist/lib/components/ui/primitives/input/input-box.d.ts +10 -0
  414. package/dist/lib/components/ui/primitives/input/input.d.ts +9 -0
  415. package/dist/lib/components/ui/primitives/input-group/index.d.ts +1 -0
  416. package/dist/lib/components/ui/primitives/input-group/input-group.d.ts +13 -0
  417. package/dist/lib/components/ui/primitives/kbd/index.d.ts +2 -0
  418. package/dist/lib/components/ui/primitives/label/field-group.d.ts +62 -0
  419. package/dist/lib/components/ui/primitives/label/index.d.ts +1 -0
  420. package/dist/lib/components/ui/primitives/scroll-area/index.d.ts +1 -0
  421. package/dist/lib/components/ui/primitives/separator/index.d.ts +1 -0
  422. package/dist/lib/components/ui/primitives/table/index.d.ts +1 -0
  423. package/dist/lib/components/ui/primitives/tabs/index.d.ts +1 -0
  424. package/dist/lib/components/ui/primitives/textarea/index.d.ts +1 -0
  425. package/dist/lib/components/ui/primitives/toggle/index.d.ts +1 -0
  426. package/dist/lib/components/ui/primitives/toggle/toggle.d.ts +9 -0
  427. package/dist/lib/components/ui/primitives/toggle-group/index.d.ts +1 -0
  428. package/dist/lib/components/ui/primitives/toggle-group/toggle-group.d.ts +9 -0
  429. package/dist/lib/components/ui/primitives/typography/index.d.ts +1 -0
  430. package/dist/lib/components/ui/selection/autocomplete/autocomplete-form-field.d.ts +3 -0
  431. package/dist/lib/components/ui/selection/autocomplete/autocomplete.d.ts +37 -0
  432. package/dist/lib/components/ui/selection/autocomplete/index.d.ts +2 -0
  433. package/dist/lib/components/ui/selection/autocomplete/partials/autocomplete-chips.d.ts +8 -0
  434. package/dist/lib/components/ui/selection/check-card-field/check-card-field.d.ts +13 -0
  435. package/dist/lib/components/ui/selection/check-card-field/check-card-form-field.d.ts +3 -0
  436. package/dist/lib/components/ui/selection/check-card-field/index.d.ts +2 -0
  437. package/dist/lib/components/ui/selection/checkbox/checkbox-form-field.d.ts +3 -0
  438. package/dist/lib/components/ui/selection/checkbox/index.d.ts +2 -0
  439. package/dist/lib/components/ui/selection/checkbox-group/checkbox-group-form-field.d.ts +3 -0
  440. package/dist/lib/components/ui/selection/checkbox-group/checkbox-group.d.ts +15 -0
  441. package/dist/lib/components/ui/selection/checkbox-group/index.d.ts +2 -0
  442. package/dist/lib/components/ui/selection/combobox/combobox-anchor.d.ts +3 -0
  443. package/dist/lib/components/ui/selection/combobox/combobox-chips.d.ts +12 -0
  444. package/dist/lib/components/ui/selection/combobox/combobox-input.d.ts +7 -0
  445. package/dist/lib/components/ui/selection/combobox/combobox.d.ts +19 -0
  446. package/dist/lib/components/ui/selection/combobox/index.d.ts +1 -0
  447. package/dist/lib/components/ui/selection/combobox-field/combobox-form-field.d.ts +3 -0
  448. package/dist/lib/components/ui/selection/combobox-field/index.d.ts +3 -0
  449. package/dist/lib/components/ui/selection/index.d.ts +14 -0
  450. package/dist/lib/components/ui/selection/radio-group/index.d.ts +2 -0
  451. package/dist/lib/components/ui/selection/radio-group/radio-group-form-field.d.ts +3 -0
  452. package/dist/lib/components/ui/selection/radio-group/radio-group.d.ts +16 -0
  453. package/dist/lib/components/ui/selection/select/index.d.ts +1 -0
  454. package/dist/lib/components/ui/selection/select-card-field/index.d.ts +2 -0
  455. package/dist/lib/components/ui/selection/select-card-field/select-card-form-field.d.ts +3 -0
  456. package/dist/lib/components/ui/selection/select-chip-field/index.d.ts +2 -0
  457. package/dist/lib/components/ui/selection/select-chip-field/select-chip-form-field.d.ts +3 -0
  458. package/dist/lib/components/ui/selection/select-field/index.d.ts +2 -0
  459. package/dist/lib/components/ui/selection/select-field/select-field.d.ts +20 -0
  460. package/dist/lib/components/ui/selection/select-field/select-form-field.d.ts +3 -0
  461. package/dist/lib/components/ui/selection/sortable-list/index.d.ts +5 -0
  462. package/dist/lib/components/ui/selection/sortable-list/sortable-list-form-field.d.ts +3 -0
  463. package/dist/lib/components/ui/selection/switcher/index.d.ts +1 -0
  464. package/dist/lib/components/ui/selection/switcher/switcher.d.ts +15 -0
  465. package/dist/lib/components/ui/selection/transfer-list/index.d.ts +4 -0
  466. package/dist/lib/components/ui/selection/transfer-list/partials/transfer-list-board.d.ts +36 -0
  467. package/dist/lib/components/ui/selection/transfer-list/partials/transfer-list-droppable.d.ts +13 -0
  468. package/dist/lib/components/ui/selection/transfer-list/partials/transfer-list-pane.d.ts +38 -0
  469. package/dist/lib/components/ui/selection/transfer-list/transfer-list-form-field.d.ts +3 -0
  470. package/dist/lib/components/ui/widgets/chat/chat-composer-mentions.d.ts +8 -0
  471. package/dist/lib/components/ui/widgets/chat/chat-composer.d.ts +24 -0
  472. package/dist/lib/components/ui/widgets/chat/chat-markdown.d.ts +6 -0
  473. package/dist/lib/components/ui/widgets/chat/index.d.ts +13 -0
  474. package/dist/lib/components/ui/widgets/chat/partials/chat-composer-attachments.d.ts +18 -0
  475. package/dist/lib/components/ui/widgets/chat/partials/chat-composer-input.d.ts +26 -0
  476. package/dist/lib/components/ui/widgets/chat/use-chat-composer-attachments.d.ts +25 -0
  477. package/dist/lib/components/ui/widgets/chat/use-chat-composer.d.ts +38 -0
  478. package/dist/lib/components/ui/widgets/code-editor/code-editor-form-field.d.ts +3 -0
  479. package/dist/lib/components/ui/widgets/code-editor/code-editor-options.d.ts +16 -0
  480. package/dist/lib/components/ui/widgets/code-editor/index.d.ts +2 -0
  481. package/dist/lib/components/ui/widgets/event-calendar/event-calendar-events.utils.d.ts +14 -0
  482. package/dist/lib/components/ui/widgets/event-calendar/partials/calendar-event-chip.d.ts +8 -0
  483. package/dist/lib/components/ui/widgets/index.d.ts +9 -0
  484. package/dist/lib/components/ui/widgets/kanban/kanban.utils.d.ts +24 -0
  485. package/dist/lib/components/ui/widgets/mentions/index.d.ts +3 -0
  486. package/dist/lib/components/ui/widgets/mentions/mentions.utils.d.ts +14 -0
  487. package/dist/lib/components/ui/widgets/rich-text-editor/extensions/custom/checkbox-group/checkbox-group-edit-dialog.d.ts +14 -0
  488. package/dist/lib/components/ui/widgets/rich-text-editor/extensions/custom/checkbox-group/checkbox-group-edit-form.d.ts +15 -0
  489. package/dist/lib/components/ui/widgets/rich-text-editor/extensions/custom/radio-group/radio-group-edit-dialog.d.ts +14 -0
  490. package/dist/lib/components/ui/widgets/rich-text-editor/extensions/custom/radio-group/radio-group-edit-form.d.ts +15 -0
  491. package/dist/lib/components/ui/widgets/rich-text-editor/extensions/custom/select-chip/select-chip-edit-dialog.d.ts +14 -0
  492. package/dist/lib/components/ui/widgets/rich-text-editor/extensions/custom/select-chip/select-chip-edit-form.d.ts +15 -0
  493. package/dist/lib/components/ui/widgets/rich-text-editor/extensions/custom/shared/index.d.ts +3 -0
  494. package/dist/lib/components/ui/widgets/rich-text-editor/extensions/custom/shared/use-node-form.d.ts +35 -0
  495. package/dist/lib/components/ui/widgets/rich-text-editor/extensions/extensions.d.ts +24 -0
  496. package/dist/lib/components/ui/widgets/rich-text-editor/extensions/mention/index.d.ts +3 -0
  497. package/dist/lib/components/ui/widgets/rich-text-editor/extensions/mention/mention-items.d.ts +5 -0
  498. package/dist/lib/components/ui/widgets/rich-text-editor/extensions/mention/mention-list.d.ts +14 -0
  499. package/dist/lib/components/ui/widgets/rich-text-editor/extensions/mention/suggestions.d.ts +10 -0
  500. package/dist/lib/components/ui/widgets/rich-text-editor/extensions/slash-command/extension.d.ts +10 -0
  501. package/dist/lib/components/ui/widgets/rich-text-editor/extensions/slash-command/slash-command-items.d.ts +15 -0
  502. package/dist/lib/components/ui/widgets/rich-text-editor/extensions/table/partials/table-menu-cells.d.ts +7 -0
  503. package/dist/lib/components/ui/widgets/rich-text-editor/extensions/table/partials/table-menu-structure.d.ts +7 -0
  504. package/dist/lib/components/ui/widgets/rich-text-editor/extensions/table/partials/table-menu-table-actions.d.ts +7 -0
  505. package/dist/lib/components/ui/widgets/rich-text-editor/extensions/table/use-table-menu-state.d.ts +17 -0
  506. package/dist/lib/components/ui/widgets/rich-text-editor/index.d.ts +2 -0
  507. package/dist/lib/components/ui/widgets/rich-text-editor/rich-text-editor-attributes.d.ts +12 -0
  508. package/dist/lib/components/ui/widgets/rich-text-editor/rich-text-editor-form-field.d.ts +3 -0
  509. package/dist/lib/components/ui/widgets/rich-text-editor/rich-text-editor-wrapper.d.ts +14 -0
  510. package/dist/lib/components/ui/widgets/rich-text-editor/types.d.ts +34 -0
  511. package/dist/lib/dnd/index.d.ts +1 -1
  512. package/dist/lib/hooks/index.d.ts +1 -0
  513. package/dist/lib/hooks/theme-store.d.ts +9 -0
  514. package/dist/lib/hooks/use-allowed-transitions.d.ts +3 -3
  515. package/dist/lib/hooks/use-formatters.d.ts +14 -0
  516. package/dist/lib/hooks/use-fullscreen-element.d.ts +10 -0
  517. package/dist/lib/hooks/use-number-formatter.d.ts +5 -0
  518. package/dist/lib/hooks/use-ssr-media-query.d.ts +14 -0
  519. package/dist/lib/hooks/use-theme.d.ts +5 -0
  520. package/dist/lib/i18n/format-message.d.ts +18 -0
  521. package/dist/lib/i18n/index.d.ts +2 -1
  522. package/dist/lib/i18n/resources/en/en.d.ts +1204 -0
  523. package/dist/lib/i18n/resources/en/material.json.d.ts +375 -26
  524. package/dist/lib/i18n/resources/fr/fr.d.ts +1204 -0
  525. package/dist/lib/i18n/resources/fr/material.json.d.ts +362 -13
  526. package/dist/lib/i18n/resources/resources.d.ts +2398 -0
  527. package/dist/lib/i18n/stored-language.d.ts +7 -0
  528. package/dist/lib/i18n/translate-material.d.ts +15 -0
  529. package/dist/lib/i18n/translator.d.ts +1 -1
  530. package/dist/lib/i18n/types.d.ts +1 -1
  531. package/dist/lib/i18n/use-material-translation.d.ts +7 -0
  532. package/dist/lib/lib/client-only.utils.d.ts +1 -1
  533. package/dist/lib/lib/pdf-download.d.ts +35 -0
  534. package/dist/lib/lib/pdf-file-name.d.ts +9 -0
  535. package/dist/lib/lib/pdf-source.d.ts +57 -0
  536. package/dist/lib/lib/print-format.utils.d.ts +55 -11
  537. package/dist/lib/lib/print-fraction-digits.d.ts +12 -0
  538. package/dist/lib/lib/print-table.utils.d.ts +60 -0
  539. package/dist/lib/lib/print-value.utils.d.ts +40 -0
  540. package/dist/lib/lib/react-node-text.d.ts +3 -0
  541. package/dist/lib/lib/read-storage.d.ts +9 -0
  542. package/dist/lib/lib/redux/filter-slice.d.ts +1 -1
  543. package/dist/lib/lib/redux/slice-server-state.d.ts +6 -0
  544. package/dist/lib/lib/redux/status-slice.d.ts +2 -2
  545. package/dist/lib/lib/redux/step-form-slice.d.ts +5 -21
  546. package/dist/lib/lib/zod-error-map.d.ts +26 -4
  547. package/dist/lib/map/components/location-field.d.ts +2 -2
  548. package/dist/lib/map/components/partials/marker.d.ts +1 -1
  549. package/dist/lib/map/index.d.ts +2 -2
  550. package/dist/lib/pdf-core/file-loader.d.ts +18 -0
  551. package/dist/lib/pdf-core/http.d.ts +22 -0
  552. package/dist/lib/pdf-core/index.d.ts +11 -0
  553. package/dist/lib/pdf-core/model/builders.d.ts +54 -0
  554. package/dist/lib/pdf-core/model/data-table.d.ts +24 -0
  555. package/dist/lib/pdf-core/model/index.d.ts +4 -0
  556. package/dist/lib/pdf-core/model/nodes.d.ts +133 -0
  557. package/dist/lib/pdf-core/model/theme.d.ts +16 -0
  558. package/dist/lib/pdf-core/model/types.d.ts +108 -0
  559. package/dist/lib/pdf-core/render/context.d.ts +50 -0
  560. package/dist/lib/pdf-core/render/document.d.ts +21 -0
  561. package/dist/lib/pdf-core/render/index.d.ts +5 -0
  562. package/dist/lib/pdf-core/render/nodes/blocks.d.ts +19 -0
  563. package/dist/lib/pdf-core/render/nodes/header.d.ts +14 -0
  564. package/dist/lib/pdf-core/render/nodes/layout.d.ts +44 -0
  565. package/dist/lib/pdf-core/render/nodes/table.d.ts +14 -0
  566. package/dist/lib/pdf-core/render/page.d.ts +30 -0
  567. package/dist/lib/pdf-core/render/render-node.d.ts +10 -0
  568. package/dist/lib/pdf-core/render/styles.d.ts +303 -0
  569. package/dist/lib/print/components/pdf-text.d.ts +8 -0
  570. package/dist/lib/print/components/print-data-table/index.d.ts +3 -0
  571. package/dist/lib/print/components/print-data-table/print-data-table.d.ts +30 -0
  572. package/dist/lib/print/components/print-data-table/print-key-value.d.ts +32 -0
  573. package/dist/lib/print/components/print-data-table/print-metric.d.ts +26 -0
  574. package/dist/lib/print/components/print-document/index.d.ts +1 -0
  575. package/dist/lib/print/components/print-document/print-document.d.ts +40 -0
  576. package/dist/lib/print/components/print-document/print-render-context.d.ts +11 -0
  577. package/dist/lib/print/components/print-header.d.ts +13 -8
  578. package/dist/lib/print/index.d.ts +6 -0
  579. package/dist/lib/print/output/download-pdf.d.ts +17 -0
  580. package/dist/lib/print/output/index.d.ts +7 -0
  581. package/dist/lib/print/output/pdf-response.d.ts +12 -0
  582. package/dist/lib/print/output/render-pdf.d.ts +14 -0
  583. package/dist/lib/print/output/to-pdf-element.d.ts +8 -0
  584. package/dist/lib/print/output/types.d.ts +19 -0
  585. package/dist/lib/print/output/use-pdf-file.d.ts +20 -0
  586. package/dist/lib/vite/index.d.ts +12 -11
  587. package/dist/lib-uF8iIfvP.js +366 -0
  588. package/dist/lib.js +5 -4
  589. package/dist/main.js +21 -9
  590. package/dist/map.js +223 -207
  591. package/dist/material.css +1 -1
  592. package/dist/merge-Z2oE4ahJ.js +172 -0
  593. package/dist/mermaid.core-6Yzht5pQ.js +1096 -0
  594. package/dist/mindmap-definition-NLK3R4M7-AxpMaPtm.js +1008 -0
  595. package/dist/number.utils-CRFiOD5c.js +2686 -0
  596. package/dist/pdf-download-hrKrI5_6.js +153 -0
  597. package/dist/pdf-note-icons.data-DtpqXoIm.js +17 -0
  598. package/dist/pegDiagram-GJSIUBJH-DjilqSgv.js +94 -0
  599. package/dist/pieDiagram-5QR66LMP-H8rVCHkC.js +157 -0
  600. package/dist/print-format.utils-B7K9qvuo.js +53 -0
  601. package/dist/print-fraction-digits-WtEBeztr.js +5 -0
  602. package/dist/print.js +1211 -99
  603. package/dist/quadrantDiagram-O4NWA36T-CEDIjm-K.js +2001 -0
  604. package/dist/railroadDiagram-XR7U4H2S-BxR9jg9Y.js +76 -0
  605. package/dist/requirementDiagram-PLB6GJNP-DAuKYcHc.js +2228 -0
  606. package/dist/sankeyDiagram-IPEJSGJF-C3JJqzLE.js +962 -0
  607. package/dist/sequenceDiagram-PO4LG4MO-Cs8x9lRY.js +4200 -0
  608. package/dist/sortable-provider-DalccwHj.js +2684 -0
  609. package/dist/src-BIbdeDuO.js +1775 -0
  610. package/dist/stateDiagram-v2-GCMORJYK-PpP0APmW.js +2143 -0
  611. package/dist/stored-language-BVYsloiW.js +2295 -0
  612. package/dist/styles.css +2 -0
  613. package/dist/swimlanes-2SLR337P-BmqILJTV.js +4763 -0
  614. package/dist/swimlanesDiagram-TC7HE7FX-DO3BxSlE.js +28 -0
  615. package/dist/timeline-definition-EJHVYXUP-CEOIzkcq.js +1073 -0
  616. package/dist/translate-material-BO32ZDCi.js +12 -0
  617. package/dist/translator-CiPgm2s3.js +2739 -0
  618. package/dist/use-heading-spy-DSs5Coe-.js +519 -0
  619. package/dist/use-material-translation-RhoPY_RC.js +14 -0
  620. package/dist/usecaseDiagram-POWQR4AR-CMvboR6A.js +9932 -0
  621. package/dist/vennDiagram-UO4OBE2U-xN_G4DeI.js +1880 -0
  622. package/dist/vite.js +1 -1
  623. package/dist/wardleyDiagram-VNRHLVJA-C0B-kQ2b.js +645 -0
  624. package/dist/xychartDiagram-PMCCYNJV-Crmi6_s-.js +2167 -0
  625. package/docs/README.md +19 -0
  626. package/docs/components/README.md +115 -0
  627. package/docs/components/buttons-and-actions.md +446 -0
  628. package/docs/components/data-display.md +670 -0
  629. package/docs/components/data-table-filter-and-lists.md +271 -0
  630. package/docs/components/date-and-time.md +276 -0
  631. package/docs/components/feedback-and-status.md +520 -0
  632. package/docs/components/form-fields.md +816 -0
  633. package/docs/components/media-and-files.md +901 -0
  634. package/docs/components/navigation-and-layout.md +592 -0
  635. package/docs/components/overlays-and-menus.md +561 -0
  636. package/docs/components/primitives.md +654 -0
  637. package/docs/components/rich-widgets.md +421 -0
  638. package/docs/components/selection-and-choice.md +634 -0
  639. package/docs/getting-started.md +314 -0
  640. package/docs/guides/app-shell.md +274 -0
  641. package/docs/guides/forms.md +841 -0
  642. package/docs/guides/helpers.md +277 -0
  643. package/docs/guides/i18n.md +386 -0
  644. package/docs/guides/maps.md +212 -0
  645. package/docs/guides/printing.md +1291 -0
  646. package/docs/guides/ssr.md +118 -0
  647. package/docs/guides/theming.md +240 -0
  648. package/docs/previews/buttons-actions-actioncard.webp +0 -0
  649. package/docs/previews/buttons-actions-button.webp +0 -0
  650. package/docs/previews/buttons-actions-buttongroup.webp +0 -0
  651. package/docs/previews/buttons-actions-copybutton.webp +0 -0
  652. package/docs/previews/buttons-actions-highlighttext.webp +0 -0
  653. package/docs/previews/buttons-actions-iconbutton.webp +0 -0
  654. package/docs/previews/buttons-actions-languageswitcher.webp +0 -0
  655. package/docs/previews/buttons-actions-linkbutton.webp +0 -0
  656. package/docs/previews/buttons-actions-loadmorebutton.webp +0 -0
  657. package/docs/previews/buttons-actions-responsivebutton.webp +0 -0
  658. package/docs/previews/buttons-actions-scrolltotop.webp +0 -0
  659. package/docs/previews/buttons-actions-splitbutton.webp +0 -0
  660. package/docs/previews/buttons-actions-themetoggle.webp +0 -0
  661. package/docs/previews/data-display-accordioncard.webp +0 -0
  662. package/docs/previews/data-display-apiendpoint.webp +0 -0
  663. package/docs/previews/data-display-apioperation.webp +0 -0
  664. package/docs/previews/data-display-avatar.webp +0 -0
  665. package/docs/previews/data-display-avatargroup.webp +0 -0
  666. package/docs/previews/data-display-badge.webp +0 -0
  667. package/docs/previews/data-display-barecode.webp +0 -0
  668. package/docs/previews/data-display-card-presets.webp +0 -0
  669. package/docs/previews/data-display-chip.webp +0 -0
  670. package/docs/previews/data-display-codeblock.webp +0 -0
  671. package/docs/previews/data-display-codediff.webp +0 -0
  672. package/docs/previews/data-display-codegroup.webp +0 -0
  673. package/docs/previews/data-display-countbadge.webp +0 -0
  674. package/docs/previews/data-display-description.webp +0 -0
  675. package/docs/previews/data-display-entityheader.webp +0 -0
  676. package/docs/previews/data-display-eventchip.webp +0 -0
  677. package/docs/previews/data-display-figure.webp +0 -0
  678. package/docs/previews/data-display-jsonviewer.webp +0 -0
  679. package/docs/previews/data-display-listtile.webp +0 -0
  680. package/docs/previews/data-display-markdown.webp +0 -0
  681. package/docs/previews/data-display-metric-cards.webp +0 -0
  682. package/docs/previews/data-display-paramtable.webp +0 -0
  683. package/docs/previews/data-display-qrcode.webp +0 -0
  684. package/docs/previews/data-display-statcard.webp +0 -0
  685. package/docs/previews/data-display-statusindicator.webp +0 -0
  686. package/docs/previews/data-display-summarydata.webp +0 -0
  687. package/docs/previews/data-display-terminal.webp +0 -0
  688. package/docs/previews/data-display-timeline.webp +0 -0
  689. package/docs/previews/data-table-filter-lists-datatable.webp +0 -0
  690. package/docs/previews/data-table-filter-lists-drag-and-drop.webp +0 -0
  691. package/docs/previews/data-table-filter-lists-filter.webp +0 -0
  692. package/docs/previews/data-table-filter-lists-pagination.webp +0 -0
  693. package/docs/previews/data-table-filter-lists-tree.webp +0 -0
  694. package/docs/previews/date-time-calendar.webp +0 -0
  695. package/docs/previews/date-time-datefield.webp +0 -0
  696. package/docs/previews/date-time-daterangefield.webp +0 -0
  697. package/docs/previews/date-time-durationfield.webp +0 -0
  698. package/docs/previews/date-time-timefield.webp +0 -0
  699. package/docs/previews/date-time-timepicker.webp +0 -0
  700. package/docs/previews/feedback-status-alert.webp +0 -0
  701. package/docs/previews/feedback-status-alertdialog.webp +0 -0
  702. package/docs/previews/feedback-status-banner.webp +0 -0
  703. package/docs/previews/feedback-status-circularprogress.webp +0 -0
  704. package/docs/previews/feedback-status-confirmationdialog.webp +0 -0
  705. package/docs/previews/feedback-status-confirmdialog.webp +0 -0
  706. package/docs/previews/feedback-status-customalertdialog.webp +0 -0
  707. package/docs/previews/feedback-status-customdialog.webp +0 -0
  708. package/docs/previews/feedback-status-emptystate.webp +0 -0
  709. package/docs/previews/feedback-status-hydrateloading.webp +0 -0
  710. package/docs/previews/feedback-status-notifications.webp +0 -0
  711. package/docs/previews/feedback-status-progress.webp +0 -0
  712. package/docs/previews/feedback-status-scrollprogress.webp +0 -0
  713. package/docs/previews/feedback-status-skeleton.webp +0 -0
  714. package/docs/previews/feedback-status-spinner.webp +0 -0
  715. package/docs/previews/feedback-status-toast.webp +0 -0
  716. package/docs/previews/form-fields-attributes.webp +0 -0
  717. package/docs/previews/form-fields-colorfield.webp +0 -0
  718. package/docs/previews/form-fields-contacts.webp +0 -0
  719. package/docs/previews/form-fields-countryfield.webp +0 -0
  720. package/docs/previews/form-fields-currencyfield.webp +0 -0
  721. package/docs/previews/form-fields-emailfield.webp +0 -0
  722. package/docs/previews/form-fields-field.webp +0 -0
  723. package/docs/previews/form-fields-inlineedit.webp +0 -0
  724. package/docs/previews/form-fields-inputgroupfield.webp +0 -0
  725. package/docs/previews/form-fields-numberfield.webp +0 -0
  726. package/docs/previews/form-fields-openinghours.webp +0 -0
  727. package/docs/previews/form-fields-otpfield.webp +0 -0
  728. package/docs/previews/form-fields-passwordfield.webp +0 -0
  729. package/docs/previews/form-fields-percentfield.webp +0 -0
  730. package/docs/previews/form-fields-phonefield.webp +0 -0
  731. package/docs/previews/form-fields-postaladdress.webp +0 -0
  732. package/docs/previews/form-fields-ratingfield.webp +0 -0
  733. package/docs/previews/form-fields-searchfield.webp +0 -0
  734. package/docs/previews/form-fields-slider.webp +0 -0
  735. package/docs/previews/form-fields-switch.webp +0 -0
  736. package/docs/previews/form-fields-textareafield.webp +0 -0
  737. package/docs/previews/form-fields-textfield.webp +0 -0
  738. package/docs/previews/form-fields-timezonefield.webp +0 -0
  739. package/docs/previews/form-fields-urlfield.webp +0 -0
  740. package/docs/previews/guides-i18n-i18nprovider.webp +0 -0
  741. package/docs/previews/guides-i18n-translated-components.webp +0 -0
  742. package/docs/previews/media-files-camera.webp +0 -0
  743. package/docs/previews/media-files-carousel.webp +0 -0
  744. package/docs/previews/media-files-filelist.webp +0 -0
  745. package/docs/previews/media-files-filelistfield.webp +0 -0
  746. package/docs/previews/media-files-gallery.webp +0 -0
  747. package/docs/previews/media-files-imagecropper.webp +0 -0
  748. package/docs/previews/media-files-imagefield.webp +0 -0
  749. package/docs/previews/media-files-lightboxgallery.webp +0 -0
  750. package/docs/previews/media-files-map.webp +0 -0
  751. package/docs/previews/media-files-minigallery.webp +0 -0
  752. package/docs/previews/media-files-networkuploadfield.webp +0 -0
  753. package/docs/previews/media-files-pdfreader.webp +0 -0
  754. package/docs/previews/media-files-s3uploadfield.webp +0 -0
  755. package/docs/previews/media-files-stxplayer.webp +0 -0
  756. package/docs/previews/media-files-uploadfield.webp +0 -0
  757. package/docs/previews/navigation-layout-appshell.webp +0 -0
  758. package/docs/previews/navigation-layout-background.webp +0 -0
  759. package/docs/previews/navigation-layout-bottomappbar.webp +0 -0
  760. package/docs/previews/navigation-layout-breadcrumb.webp +0 -0
  761. package/docs/previews/navigation-layout-doc-api.webp +0 -0
  762. package/docs/previews/navigation-layout-doc-blocks.webp +0 -0
  763. package/docs/previews/navigation-layout-doc.webp +0 -0
  764. package/docs/previews/navigation-layout-hero.webp +0 -0
  765. package/docs/previews/navigation-layout-listdetailslayout.webp +0 -0
  766. package/docs/previews/navigation-layout-pager.webp +0 -0
  767. package/docs/previews/navigation-layout-panelayout.webp +0 -0
  768. package/docs/previews/navigation-layout-resizable.webp +0 -0
  769. package/docs/previews/navigation-layout-responsivegrid.webp +0 -0
  770. package/docs/previews/navigation-layout-seealso.webp +0 -0
  771. package/docs/previews/navigation-layout-sidebar.webp +0 -0
  772. package/docs/previews/navigation-layout-skiplink.webp +0 -0
  773. package/docs/previews/navigation-layout-stepper.webp +0 -0
  774. package/docs/previews/navigation-layout-steps.webp +0 -0
  775. package/docs/previews/navigation-layout-threadlayout.webp +0 -0
  776. package/docs/previews/navigation-layout-toc.webp +0 -0
  777. package/docs/previews/navigation-layout-topappbar.webp +0 -0
  778. package/docs/previews/overlays-menus-command.webp +0 -0
  779. package/docs/previews/overlays-menus-contextmenu.webp +0 -0
  780. package/docs/previews/overlays-menus-dialog.webp +0 -0
  781. package/docs/previews/overlays-menus-drawer.webp +0 -0
  782. package/docs/previews/overlays-menus-dropdownmenu.webp +0 -0
  783. package/docs/previews/overlays-menus-hovercard.webp +0 -0
  784. package/docs/previews/overlays-menus-menubar.webp +0 -0
  785. package/docs/previews/overlays-menus-popover.webp +0 -0
  786. package/docs/previews/overlays-menus-sheet.webp +0 -0
  787. package/docs/previews/overlays-menus-tooltip.webp +0 -0
  788. package/docs/previews/primitives-accordion.webp +0 -0
  789. package/docs/previews/primitives-anchorheading.webp +0 -0
  790. package/docs/previews/primitives-card.webp +0 -0
  791. package/docs/previews/primitives-collapsible.webp +0 -0
  792. package/docs/previews/primitives-extendedlabel.webp +0 -0
  793. package/docs/previews/primitives-helpertext.webp +0 -0
  794. package/docs/previews/primitives-icon.webp +0 -0
  795. package/docs/previews/primitives-input.webp +0 -0
  796. package/docs/previews/primitives-inputgroup.webp +0 -0
  797. package/docs/previews/primitives-kbd.webp +0 -0
  798. package/docs/previews/primitives-label.webp +0 -0
  799. package/docs/previews/primitives-scrollarea.webp +0 -0
  800. package/docs/previews/primitives-separator.webp +0 -0
  801. package/docs/previews/primitives-table.webp +0 -0
  802. package/docs/previews/primitives-tabs.webp +0 -0
  803. package/docs/previews/primitives-textarea.webp +0 -0
  804. package/docs/previews/primitives-toggle.webp +0 -0
  805. package/docs/previews/primitives-togglegroup.webp +0 -0
  806. package/docs/previews/primitives-typography.webp +0 -0
  807. package/docs/previews/rich-widgets-charts-areachart.webp +0 -0
  808. package/docs/previews/rich-widgets-charts-barchart.webp +0 -0
  809. package/docs/previews/rich-widgets-charts-funnelchart.webp +0 -0
  810. package/docs/previews/rich-widgets-charts-heatmapchart.webp +0 -0
  811. package/docs/previews/rich-widgets-charts-linechart.webp +0 -0
  812. package/docs/previews/rich-widgets-charts-piechart.webp +0 -0
  813. package/docs/previews/rich-widgets-charts-radarchart.webp +0 -0
  814. package/docs/previews/rich-widgets-charts-scatterchart.webp +0 -0
  815. package/docs/previews/rich-widgets-chat-advanced.webp +0 -0
  816. package/docs/previews/rich-widgets-chat-inbox.webp +0 -0
  817. package/docs/previews/rich-widgets-chat-overview.webp +0 -0
  818. package/docs/previews/rich-widgets-codeeditor.webp +0 -0
  819. package/docs/previews/rich-widgets-emojipicker.webp +0 -0
  820. package/docs/previews/rich-widgets-eventcalendar.webp +0 -0
  821. package/docs/previews/rich-widgets-kanban.webp +0 -0
  822. package/docs/previews/rich-widgets-mentionlist.webp +0 -0
  823. package/docs/previews/rich-widgets-questioncard.webp +0 -0
  824. package/docs/previews/rich-widgets-quiz.webp +0 -0
  825. package/docs/previews/rich-widgets-richtexteditor.webp +0 -0
  826. package/docs/previews/selection-choice-autocomplete.webp +0 -0
  827. package/docs/previews/selection-choice-checkbox.webp +0 -0
  828. package/docs/previews/selection-choice-checkboxgroup.webp +0 -0
  829. package/docs/previews/selection-choice-checkcardfield.webp +0 -0
  830. package/docs/previews/selection-choice-combobox.webp +0 -0
  831. package/docs/previews/selection-choice-comboboxfield.webp +0 -0
  832. package/docs/previews/selection-choice-radiogroup.webp +0 -0
  833. package/docs/previews/selection-choice-select.webp +0 -0
  834. package/docs/previews/selection-choice-selectcardfield.webp +0 -0
  835. package/docs/previews/selection-choice-selectchipfield.webp +0 -0
  836. package/docs/previews/selection-choice-selectfield.webp +0 -0
  837. package/docs/previews/selection-choice-sortablelist.webp +0 -0
  838. package/docs/previews/selection-choice-switcher.webp +0 -0
  839. package/docs/previews/selection-choice-transferlist.webp +0 -0
  840. package/docs/roadmap.md +208 -0
  841. package/docs/troubleshooting.md +2149 -0
  842. package/lib/components/components.css +22 -0
  843. package/lib/components/ui/actions/button-group/button-group.css +12 -0
  844. package/lib/components/ui/display/code/code-moonlight.css +73 -0
  845. package/lib/components/ui/fields/attributes/attribute-form/attribute-form.css +21 -0
  846. package/lib/components/ui/fields/attributes/attribute-values-form/attribute-values-form.css +21 -0
  847. package/lib/components/ui/fields/contacts/contact-item.css +9 -0
  848. package/lib/components/ui/fields/opening-hours/opening-hours-item.css +9 -0
  849. package/lib/components/ui/layout/app-bar/bottom-app-bar.css +12 -0
  850. package/lib/styles.css +2 -0
  851. package/package.json +19 -7
  852. package/dist/abnfDiagram-O67JEVCF-DDqmYxyZ.js +0 -89
  853. package/dist/architectureDiagram-NJMV4G6O-PwBg8yU0.js +0 -4146
  854. package/dist/blockDiagram-BEXU5L5S-DLqZARaF.js +0 -1946
  855. package/dist/c4Diagram-YGBWAQC7-Dq3xGNd4.js +0 -2990
  856. package/dist/channel-DIvZvk0q.js +0 -5
  857. package/dist/chunk-3FUC2YCW-C3UF_VLZ.js +0 -364
  858. package/dist/chunk-5DYCD2WN-BepRdgxI.js +0 -37
  859. package/dist/chunk-6AEJRKK7-BN1V-pJK.js +0 -10
  860. package/dist/chunk-742MDFTN-B7xNATkT.js +0 -275
  861. package/dist/chunk-7INBJB4K-BgETHnGm.js +0 -4487
  862. package/dist/chunk-7M6MHVWA-DhVIMmqx.js +0 -4256
  863. package/dist/chunk-7PRAP22T-1TE3ytg4.js +0 -67
  864. package/dist/chunk-GNY47TPC-ItV2FvY4.js +0 -75
  865. package/dist/chunk-GTNCS2PH-DHDm9wdf.js +0 -490
  866. package/dist/chunk-GWA4HPMP-Dk5EfWHB.js +0 -61
  867. package/dist/chunk-MBY4JIJT-CKKv0vlf.js +0 -1847
  868. package/dist/chunk-NETBCI7D-DDgfuS2X.js +0 -236
  869. package/dist/chunk-O7XYJQB3-kPU-FrcW.js +0 -3922
  870. package/dist/chunk-UA2S7LBM-BUjL6NMa.js +0 -363
  871. package/dist/chunk-WEXAMYUT-CLclanOP.js +0 -26
  872. package/dist/chunk-XXDRQBXY-BnSZ-xBE.js +0 -9
  873. package/dist/chunk-Z7XXMR3K-9wNLyUjb.js +0 -677
  874. package/dist/chunk-ZIGJFQKS-7XzdXF8V.js +0 -663
  875. package/dist/classDiagram-v2-NBCMYWYE-Bnc_Rw-F.js +0 -3397
  876. package/dist/cose-bilkent-JH36ORCC-PSraAr7H.js +0 -2251
  877. package/dist/cynefinDiagram-VND7K2PF-Ds3RkBsV.js +0 -349
  878. package/dist/dagre-6A5THRUB-BzZODvtv.js +0 -2191
  879. package/dist/diagram-22UHCM2B-CtvoZXaL.js +0 -5084
  880. package/dist/diagram-3UASUU5V-BZgAQDVW.js +0 -724
  881. package/dist/diagram-ATOU4E4O-QGWopkvz.js +0 -432
  882. package/dist/diagram-CDSNMT55-ywYyPUbh.js +0 -301
  883. package/dist/diagram-MLGK6HIB-CVioCY-C.js +0 -134
  884. package/dist/diagram-MPIPVDR6-RNx6m_jT.js +0 -214
  885. package/dist/dist-Cxzqei1q.js +0 -50
  886. package/dist/dist-NZAlFjcd.js +0 -16576
  887. package/dist/ebnfDiagram-ZINNZB2B-DgcwhTtc.js +0 -100
  888. package/dist/elk-276RUBZZ-DWlp7lAW.js +0 -47598
  889. package/dist/erDiagram-OPXOYQCR-BNnvl0WV.js +0 -1970
  890. package/dist/flowDiagram-KWPJA3E3-COO8DqZK.js +0 -17
  891. package/dist/ganttDiagram-FUAMR5RP-D0YYQV0q.js +0 -2929
  892. package/dist/gitGraphDiagram-X574FWY7-eqb34wSw.js +0 -729
  893. package/dist/graphlib-CIkkh3QG.js +0 -493
  894. package/dist/hooks-tbav1b16.js +0 -615
  895. package/dist/i18n-CGol3PGw.js +0 -4260
  896. package/dist/infoDiagram-VRGFBTTK-BShm-0Tw.js +0 -20
  897. package/dist/isArrayLikeObject-VG1KOJ3m.js +0 -539
  898. package/dist/ishikawaDiagram-OU5B5YK6-DspMoedf.js +0 -719
  899. package/dist/journeyDiagram-ZHPQQLJL-Cr1khCo3.js +0 -884
  900. package/dist/kanban-definition-PNTS6WVX-1HKJEIG1.js +0 -976
  901. package/dist/lib/components/ui/accordion-card.d.ts +0 -13
  902. package/dist/lib/components/ui/accordion.stories.d.ts +0 -15
  903. package/dist/lib/components/ui/action-card.d.ts +0 -11
  904. package/dist/lib/components/ui/action-card.stories.d.ts +0 -20
  905. package/dist/lib/components/ui/anchor-heading.d.ts +0 -9
  906. package/dist/lib/components/ui/anchor-heading.stories.d.ts +0 -13
  907. package/dist/lib/components/ui/anchor-heading.utils.d.ts +0 -2
  908. package/dist/lib/components/ui/api-endpoint.stories.d.ts +0 -14
  909. package/dist/lib/components/ui/api-operation.d.ts +0 -13
  910. package/dist/lib/components/ui/api-operation.stories.d.ts +0 -13
  911. package/dist/lib/components/ui/app-bar/bottom-app-bar.stories.d.ts +0 -15
  912. package/dist/lib/components/ui/app-shell/app-breadcrumb.d.ts +0 -19
  913. package/dist/lib/components/ui/app-shell/app-shell.stories.d.ts +0 -17
  914. package/dist/lib/components/ui/app-shell/app-shell.utils.test.d.ts +0 -1
  915. package/dist/lib/components/ui/app-shell/app-sidebar.d.ts +0 -17
  916. package/dist/lib/components/ui/app-shell/types.d.ts +0 -24
  917. package/dist/lib/components/ui/attributes/attribute-dialog.d.ts +0 -10
  918. package/dist/lib/components/ui/attributes/attribute-form/attribute-value-form-field.d.ts +0 -12
  919. package/dist/lib/components/ui/attributes/attribute-form/consts.d.ts +0 -45
  920. package/dist/lib/components/ui/attributes/attribute-values-form/attribute-values-form.d.ts +0 -15
  921. package/dist/lib/components/ui/attributes/attribute-values-form-field-set/attribute-values-form-field-set.d.ts +0 -12
  922. package/dist/lib/components/ui/attributes/attributes-field/attributes-field.d.ts +0 -9
  923. package/dist/lib/components/ui/attributes/attributes-field/state.d.ts +0 -14
  924. package/dist/lib/components/ui/attributes/attributes-form-field/attributes-form-field.d.ts +0 -11
  925. package/dist/lib/components/ui/attributes/attributes-list/attributes-list.d.ts +0 -11
  926. package/dist/lib/components/ui/attributes/attributes.stories.d.ts +0 -17
  927. package/dist/lib/components/ui/attributes/consts.d.ts +0 -2
  928. package/dist/lib/components/ui/attributes/utils.d.ts +0 -4
  929. package/dist/lib/components/ui/autocomplete.d.ts +0 -40
  930. package/dist/lib/components/ui/autocomplete.stories.d.ts +0 -18
  931. package/dist/lib/components/ui/avatar-group/avatar-group.stories.d.ts +0 -16
  932. package/dist/lib/components/ui/avatar-group/avatar-group.utils.test.d.ts +0 -1
  933. package/dist/lib/components/ui/avatar.d.ts +0 -15
  934. package/dist/lib/components/ui/avatar.stories.d.ts +0 -16
  935. package/dist/lib/components/ui/badge.d.ts +0 -9
  936. package/dist/lib/components/ui/badge.stories.d.ts +0 -16
  937. package/dist/lib/components/ui/banner/banner.stories.d.ts +0 -18
  938. package/dist/lib/components/ui/barecode.d.ts +0 -4
  939. package/dist/lib/components/ui/barecode.stories.d.ts +0 -42
  940. package/dist/lib/components/ui/breadcrumb.stories.d.ts +0 -14
  941. package/dist/lib/components/ui/buttons/button-group.stories.d.ts +0 -18
  942. package/dist/lib/components/ui/buttons/button.d.ts +0 -16
  943. package/dist/lib/components/ui/buttons/button.stories.d.ts +0 -39
  944. package/dist/lib/components/ui/buttons/icon-button.d.ts +0 -13
  945. package/dist/lib/components/ui/buttons/icon-button.stories.d.ts +0 -23
  946. package/dist/lib/components/ui/buttons/index.d.ts +0 -6
  947. package/dist/lib/components/ui/buttons/link.d.ts +0 -7
  948. package/dist/lib/components/ui/buttons/link.stories.d.ts +0 -333
  949. package/dist/lib/components/ui/buttons/responsive-button.d.ts +0 -7
  950. package/dist/lib/components/ui/buttons/responsive-button.stories.d.ts +0 -22
  951. package/dist/lib/components/ui/buttons/split-button.d.ts +0 -8
  952. package/dist/lib/components/ui/buttons/split-button.stories.d.ts +0 -17
  953. package/dist/lib/components/ui/calendar.d.ts +0 -12
  954. package/dist/lib/components/ui/calendar.stories.d.ts +0 -19
  955. package/dist/lib/components/ui/calendar.utils.test.d.ts +0 -1
  956. package/dist/lib/components/ui/camera/__storries__/camera.stories.d.ts +0 -15
  957. package/dist/lib/components/ui/camera/state/camera.reducers.test.d.ts +0 -1
  958. package/dist/lib/components/ui/camera/state/camera.slice.test.d.ts +0 -1
  959. package/dist/lib/components/ui/camera/state/camera.thunks.test.d.ts +0 -1
  960. package/dist/lib/components/ui/camera/types.d.ts +0 -38
  961. package/dist/lib/components/ui/camera/utils/camera.utils.test.d.ts +0 -1
  962. package/dist/lib/components/ui/card.stories.d.ts +0 -14
  963. package/dist/lib/components/ui/cards/cards.stories.d.ts +0 -39
  964. package/dist/lib/components/ui/cards/cards.stories.data.d.ts +0 -27
  965. package/dist/lib/components/ui/cards/types.d.ts +0 -187
  966. package/dist/lib/components/ui/carousel.d.ts +0 -19
  967. package/dist/lib/components/ui/carousel.stories.d.ts +0 -14
  968. package/dist/lib/components/ui/charts/area-chart.stories.d.ts +0 -17
  969. package/dist/lib/components/ui/charts/bar-chart.stories.d.ts +0 -17
  970. package/dist/lib/components/ui/charts/funnel-chart.stories.d.ts +0 -17
  971. package/dist/lib/components/ui/charts/heatmap-chart.stories.d.ts +0 -17
  972. package/dist/lib/components/ui/charts/line-chart.stories.d.ts +0 -17
  973. package/dist/lib/components/ui/charts/pie-chart.stories.d.ts +0 -17
  974. package/dist/lib/components/ui/charts/radar-chart.stories.d.ts +0 -17
  975. package/dist/lib/components/ui/charts/scatter-chart.stories.d.ts +0 -17
  976. package/dist/lib/components/ui/chat/chat-advanced.stories.d.ts +0 -13
  977. package/dist/lib/components/ui/chat/chat-composer-attachments.d.ts +0 -18
  978. package/dist/lib/components/ui/chat/chat-composer-mentions.d.ts +0 -8
  979. package/dist/lib/components/ui/chat/chat-composer.d.ts +0 -24
  980. package/dist/lib/components/ui/chat/chat-copy-text.test.d.ts +0 -1
  981. package/dist/lib/components/ui/chat/chat-inbox.stories.d.ts +0 -13
  982. package/dist/lib/components/ui/chat/chat-markdown.d.ts +0 -6
  983. package/dist/lib/components/ui/chat/chat-markdown.test.d.ts +0 -1
  984. package/dist/lib/components/ui/chat/chat-unseen.test.d.ts +0 -1
  985. package/dist/lib/components/ui/chat/chat.stories.d.ts +0 -19
  986. package/dist/lib/components/ui/chat/index.d.ts +0 -13
  987. package/dist/lib/components/ui/chat/use-chat-composer-attachments.d.ts +0 -25
  988. package/dist/lib/components/ui/chat/use-chat-composer-attachments.test.d.ts +0 -1
  989. package/dist/lib/components/ui/check-card-field.d.ts +0 -13
  990. package/dist/lib/components/ui/checkbox-group.d.ts +0 -15
  991. package/dist/lib/components/ui/checkbox-group.stories.d.ts +0 -21
  992. package/dist/lib/components/ui/checkbox.stories.d.ts +0 -15
  993. package/dist/lib/components/ui/chip.d.ts +0 -11
  994. package/dist/lib/components/ui/chip.stories.d.ts +0 -26
  995. package/dist/lib/components/ui/code/code-block.stories.d.ts +0 -19
  996. package/dist/lib/components/ui/code/code-diff.stories.d.ts +0 -13
  997. package/dist/lib/components/ui/code/code-group.stories.d.ts +0 -14
  998. package/dist/lib/components/ui/code/highlight.test.d.ts +0 -1
  999. package/dist/lib/components/ui/code/json-viewer.stories.d.ts +0 -16
  1000. package/dist/lib/components/ui/code/languages.test.d.ts +0 -1
  1001. package/dist/lib/components/ui/code/moonlight-monaco.test.d.ts +0 -1
  1002. package/dist/lib/components/ui/code/moonlight-tokens.test.d.ts +0 -1
  1003. package/dist/lib/components/ui/code/parse-json.d.ts +0 -11
  1004. package/dist/lib/components/ui/code/parse-json.test.d.ts +0 -1
  1005. package/dist/lib/components/ui/code-editor.stories.d.ts +0 -19
  1006. package/dist/lib/components/ui/color-field/color-field.d.ts +0 -8
  1007. package/dist/lib/components/ui/color-field/color-field.stories.d.ts +0 -17
  1008. package/dist/lib/components/ui/color-field/index.d.ts +0 -3
  1009. package/dist/lib/components/ui/color-field/normalize-hex.test.d.ts +0 -1
  1010. package/dist/lib/components/ui/combobox-field/combobox-field.stories.d.ts +0 -15
  1011. package/dist/lib/components/ui/combobox-field/index.d.ts +0 -2
  1012. package/dist/lib/components/ui/combobox.d.ts +0 -27
  1013. package/dist/lib/components/ui/combobox.stories.d.ts +0 -21
  1014. package/dist/lib/components/ui/command.d.ts +0 -16
  1015. package/dist/lib/components/ui/contacts/contact-item.d.ts +0 -11
  1016. package/dist/lib/components/ui/contacts/contacts.stories.d.ts +0 -16
  1017. package/dist/lib/components/ui/contacts/utils.d.ts +0 -11
  1018. package/dist/lib/components/ui/context-menu.stories.d.ts +0 -14
  1019. package/dist/lib/components/ui/copy-button/copy-button.d.ts +0 -9
  1020. package/dist/lib/components/ui/copy-button/copy-button.stories.d.ts +0 -16
  1021. package/dist/lib/components/ui/copy-button/copy-to-clipboard.test.d.ts +0 -1
  1022. package/dist/lib/components/ui/count-badge.d.ts +0 -10
  1023. package/dist/lib/components/ui/count-badge.stories.d.ts +0 -16
  1024. package/dist/lib/components/ui/country-field/country-field.d.ts +0 -20
  1025. package/dist/lib/components/ui/country-field/country-field.stories.d.ts +0 -15
  1026. package/dist/lib/components/ui/country-field/index.d.ts +0 -2
  1027. package/dist/lib/components/ui/currency-field/currency-field.d.ts +0 -8
  1028. package/dist/lib/components/ui/currency-field/currency-field.stories.d.ts +0 -17
  1029. package/dist/lib/components/ui/currency-field/index.d.ts +0 -3
  1030. package/dist/lib/components/ui/currency-field/parse-currency.test.d.ts +0 -1
  1031. package/dist/lib/components/ui/data-table/data-table.stories.d.ts +0 -27
  1032. package/dist/lib/components/ui/data-table/index.d.ts +0 -12
  1033. package/dist/lib/components/ui/date-field.d.ts +0 -21
  1034. package/dist/lib/components/ui/date-field.stories.d.ts +0 -15
  1035. package/dist/lib/components/ui/date-range-field.d.ts +0 -17
  1036. package/dist/lib/components/ui/date-range-field.stories.d.ts +0 -15
  1037. package/dist/lib/components/ui/dialog.d.ts +0 -14
  1038. package/dist/lib/components/ui/dnd/dnd.stories.d.ts +0 -11
  1039. package/dist/lib/components/ui/dnd/insert-ids.test.d.ts +0 -1
  1040. package/dist/lib/components/ui/doc/doc-api.stories.d.ts +0 -13
  1041. package/dist/lib/components/ui/doc/doc-blocks.stories.d.ts +0 -13
  1042. package/dist/lib/components/ui/doc/doc.keyboard.test.d.ts +0 -1
  1043. package/dist/lib/components/ui/doc/doc.stories.d.ts +0 -15
  1044. package/dist/lib/components/ui/doc/doc.stories.data.d.ts +0 -7
  1045. package/dist/lib/components/ui/doc/doc.utils.d.ts +0 -29
  1046. package/dist/lib/components/ui/doc/doc.utils.test.d.ts +0 -1
  1047. package/dist/lib/components/ui/doc/partials/doc-empty.d.ts +0 -3
  1048. package/dist/lib/components/ui/doc/partials/doc-progress.d.ts +0 -3
  1049. package/dist/lib/components/ui/doc/partials/doc-skip-link.d.ts +0 -2
  1050. package/dist/lib/components/ui/drawer.d.ts +0 -14
  1051. package/dist/lib/components/ui/dropdown-menu.d.ts +0 -26
  1052. package/dist/lib/components/ui/dropdown-menu.stories.d.ts +0 -14
  1053. package/dist/lib/components/ui/duration-field/duration-field.stories.d.ts +0 -15
  1054. package/dist/lib/components/ui/duration-field/index.d.ts +0 -3
  1055. package/dist/lib/components/ui/duration-field/parse-duration.test.d.ts +0 -1
  1056. package/dist/lib/components/ui/education/questions/question.stories.d.ts +0 -16
  1057. package/dist/lib/components/ui/education/questions/question.utils.test.d.ts +0 -1
  1058. package/dist/lib/components/ui/education/quizzes/quiz.slice.test.d.ts +0 -1
  1059. package/dist/lib/components/ui/education/quizzes/quiz.stories.d.ts +0 -14
  1060. package/dist/lib/components/ui/education/quizzes/quiz.utils.test.d.ts +0 -1
  1061. package/dist/lib/components/ui/email-field/email-field.d.ts +0 -3
  1062. package/dist/lib/components/ui/email-field/email-field.stories.d.ts +0 -16
  1063. package/dist/lib/components/ui/email-field/index.d.ts +0 -3
  1064. package/dist/lib/components/ui/email-field/is-email.test.d.ts +0 -1
  1065. package/dist/lib/components/ui/emoji/emoji.groups.test.d.ts +0 -1
  1066. package/dist/lib/components/ui/emoji/emoji.stories.d.ts +0 -13
  1067. package/dist/lib/components/ui/emoji/emoji.stories.data.d.ts +0 -2
  1068. package/dist/lib/components/ui/emoji/emoji.utils.test.d.ts +0 -1
  1069. package/dist/lib/components/ui/entity-header.d.ts +0 -12
  1070. package/dist/lib/components/ui/entity-header.stories.d.ts +0 -18
  1071. package/dist/lib/components/ui/event-calendar/event-calendar-events.utils.d.ts +0 -14
  1072. package/dist/lib/components/ui/event-calendar/event-calendar-events.utils.test.d.ts +0 -1
  1073. package/dist/lib/components/ui/event-calendar/event-calendar.container.test.d.ts +0 -1
  1074. package/dist/lib/components/ui/event-calendar/event-calendar.keyboard.test.d.ts +0 -1
  1075. package/dist/lib/components/ui/event-calendar/event-calendar.preview.test.d.ts +0 -1
  1076. package/dist/lib/components/ui/event-calendar/event-calendar.spans.test.d.ts +0 -1
  1077. package/dist/lib/components/ui/event-calendar/event-calendar.stories.d.ts +0 -19
  1078. package/dist/lib/components/ui/event-calendar/event-calendar.utils.test.d.ts +0 -1
  1079. package/dist/lib/components/ui/event-calendar/partials/calendar-event-chip.d.ts +0 -8
  1080. package/dist/lib/components/ui/event-chip/event-chip.stories.d.ts +0 -16
  1081. package/dist/lib/components/ui/extended-label.d.ts +0 -7
  1082. package/dist/lib/components/ui/feedback/alert-dialog.d.ts +0 -15
  1083. package/dist/lib/components/ui/feedback/alert-dialog.stories.d.ts +0 -14
  1084. package/dist/lib/components/ui/feedback/alert.d.ts +0 -12
  1085. package/dist/lib/components/ui/feedback/alert.stories.d.ts +0 -20
  1086. package/dist/lib/components/ui/feedback/circular-progress.d.ts +0 -20
  1087. package/dist/lib/components/ui/feedback/circular-progress.stories.d.ts +0 -33
  1088. package/dist/lib/components/ui/feedback/confirm-dialog.d.ts +0 -12
  1089. package/dist/lib/components/ui/feedback/confirm-dialog.stories.d.ts +0 -16
  1090. package/dist/lib/components/ui/feedback/confirmation-dialog.d.ts +0 -17
  1091. package/dist/lib/components/ui/feedback/confirmation-dialog.stories.d.ts +0 -17
  1092. package/dist/lib/components/ui/feedback/custom-alert-dialog.d.ts +0 -10
  1093. package/dist/lib/components/ui/feedback/custom-alert-dialog.stories.d.ts +0 -14
  1094. package/dist/lib/components/ui/feedback/custom-dialog.d.ts +0 -10
  1095. package/dist/lib/components/ui/feedback/custom-dialog.stories.d.ts +0 -17
  1096. package/dist/lib/components/ui/feedback/empty-state.stories.d.ts +0 -16
  1097. package/dist/lib/components/ui/feedback/progress.stories.d.ts +0 -16
  1098. package/dist/lib/components/ui/feedback/scroll-progress.stories.d.ts +0 -13
  1099. package/dist/lib/components/ui/feedback/spinner.d.ts +0 -9
  1100. package/dist/lib/components/ui/feedback/spinner.stories.d.ts +0 -24
  1101. package/dist/lib/components/ui/feedback/toast.stories.d.ts +0 -16
  1102. package/dist/lib/components/ui/feedback/toasts.d.ts +0 -41
  1103. package/dist/lib/components/ui/feedback/toasts.test.d.ts +0 -1
  1104. package/dist/lib/components/ui/field/types.d.ts +0 -67
  1105. package/dist/lib/components/ui/figure.stories.d.ts +0 -13
  1106. package/dist/lib/components/ui/file-list/file-list-field.d.ts +0 -12
  1107. package/dist/lib/components/ui/file-list/file-list-field.stories.d.ts +0 -15
  1108. package/dist/lib/components/ui/file-list/file-list-s3-field.d.ts +0 -6
  1109. package/dist/lib/components/ui/file-list/file-list.stories.d.ts +0 -17
  1110. package/dist/lib/components/ui/file-list/format-file-size.test.d.ts +0 -1
  1111. package/dist/lib/components/ui/file-list/index.d.ts +0 -8
  1112. package/dist/lib/components/ui/filter/__stories__/filter.stories.d.ts +0 -26
  1113. package/dist/lib/components/ui/filter/consts.d.ts +0 -51
  1114. package/dist/lib/components/ui/filter/filter-persistence-main.utils.test.d.ts +0 -1
  1115. package/dist/lib/components/ui/filter/filter-persistence-presets.utils.test.d.ts +0 -1
  1116. package/dist/lib/components/ui/filter/filter-persistence-storage.utils.test.d.ts +0 -1
  1117. package/dist/lib/components/ui/filter/filter-persistence-url.utils.test.d.ts +0 -1
  1118. package/dist/lib/components/ui/filter/filter-persistence.utils.test.d.ts +0 -1
  1119. package/dist/lib/components/ui/filter/filter-preset.utils.test.d.ts +0 -1
  1120. package/dist/lib/components/ui/filter/filter-schema.utils.d.ts +0 -34
  1121. package/dist/lib/components/ui/filter/filter-schema.utils.test.d.ts +0 -1
  1122. package/dist/lib/components/ui/filter/filter-trigger.d.ts +0 -6
  1123. package/dist/lib/components/ui/filter/filter-validation.utils.test.d.ts +0 -1
  1124. package/dist/lib/components/ui/filter/filter-value.utils.d.ts +0 -29
  1125. package/dist/lib/components/ui/filter/filter-value.utils.test.d.ts +0 -1
  1126. package/dist/lib/components/ui/filter/filter.utils.test.d.ts +0 -1
  1127. package/dist/lib/components/ui/filter/forms/filter-form-field.d.ts +0 -52
  1128. package/dist/lib/components/ui/filter/index.d.ts +0 -21
  1129. package/dist/lib/components/ui/format-count.test.d.ts +0 -1
  1130. package/dist/lib/components/ui/forms/autocomplete-form-field.d.ts +0 -3
  1131. package/dist/lib/components/ui/forms/check-card-form-field.d.ts +0 -3
  1132. package/dist/lib/components/ui/forms/checkbox-form-field.d.ts +0 -3
  1133. package/dist/lib/components/ui/forms/checkbox-group-form-field.d.ts +0 -3
  1134. package/dist/lib/components/ui/forms/code-editor-form-field.d.ts +0 -3
  1135. package/dist/lib/components/ui/forms/color-form-field.d.ts +0 -3
  1136. package/dist/lib/components/ui/forms/combobox-form-field.d.ts +0 -3
  1137. package/dist/lib/components/ui/forms/country-form-field.d.ts +0 -3
  1138. package/dist/lib/components/ui/forms/currency-form-field.d.ts +0 -3
  1139. package/dist/lib/components/ui/forms/date-form-field.d.ts +0 -3
  1140. package/dist/lib/components/ui/forms/date-range-form-field.d.ts +0 -3
  1141. package/dist/lib/components/ui/forms/duration-form-field.d.ts +0 -3
  1142. package/dist/lib/components/ui/forms/email-form-field.d.ts +0 -3
  1143. package/dist/lib/components/ui/forms/file-list-form-field.d.ts +0 -3
  1144. package/dist/lib/components/ui/forms/file-list-s3-form-field.d.ts +0 -3
  1145. package/dist/lib/components/ui/forms/files-form-field.d.ts +0 -9
  1146. package/dist/lib/components/ui/forms/image-form-field.d.ts +0 -3
  1147. package/dist/lib/components/ui/forms/image-s3-form-field.d.ts +0 -3
  1148. package/dist/lib/components/ui/forms/inline-edit-form-field.d.ts +0 -3
  1149. package/dist/lib/components/ui/forms/input-group-form-field.d.ts +0 -3
  1150. package/dist/lib/components/ui/forms/network-upload-form-field.d.ts +0 -3
  1151. package/dist/lib/components/ui/forms/number-form-field.d.ts +0 -3
  1152. package/dist/lib/components/ui/forms/otp-form-field.d.ts +0 -3
  1153. package/dist/lib/components/ui/forms/password-form-field.d.ts +0 -3
  1154. package/dist/lib/components/ui/forms/percent-form-field.d.ts +0 -3
  1155. package/dist/lib/components/ui/forms/phone-form-field.d.ts +0 -3
  1156. package/dist/lib/components/ui/forms/radio-group-form-field.d.ts +0 -3
  1157. package/dist/lib/components/ui/forms/rating-form-field.d.ts +0 -3
  1158. package/dist/lib/components/ui/forms/rich-text-editor-form-field.d.ts +0 -3
  1159. package/dist/lib/components/ui/forms/s3-upload-form-field.d.ts +0 -3
  1160. package/dist/lib/components/ui/forms/search-form-field.d.ts +0 -3
  1161. package/dist/lib/components/ui/forms/select-card-form-field.d.ts +0 -3
  1162. package/dist/lib/components/ui/forms/select-chip-form-field.d.ts +0 -3
  1163. package/dist/lib/components/ui/forms/select-form-field.d.ts +0 -3
  1164. package/dist/lib/components/ui/forms/slider-form-field.d.ts +0 -3
  1165. package/dist/lib/components/ui/forms/sortable-list-form-field.d.ts +0 -3
  1166. package/dist/lib/components/ui/forms/switch-form-field.d.ts +0 -3
  1167. package/dist/lib/components/ui/forms/text-form-field.d.ts +0 -3
  1168. package/dist/lib/components/ui/forms/textarea-form-field.d.ts +0 -3
  1169. package/dist/lib/components/ui/forms/time-form-field.d.ts +0 -5
  1170. package/dist/lib/components/ui/forms/timezone-form-field.d.ts +0 -3
  1171. package/dist/lib/components/ui/forms/transfer-list-form-field.d.ts +0 -3
  1172. package/dist/lib/components/ui/forms/upload-form-field.d.ts +0 -3
  1173. package/dist/lib/components/ui/forms/url-form-field.d.ts +0 -3
  1174. package/dist/lib/components/ui/galleries/gallery-download.test.d.ts +0 -1
  1175. package/dist/lib/components/ui/galleries/gallery-keyboard.test.d.ts +0 -1
  1176. package/dist/lib/components/ui/galleries/gallery.presets.test.d.ts +0 -1
  1177. package/dist/lib/components/ui/galleries/gallery.slice.test.d.ts +0 -1
  1178. package/dist/lib/components/ui/galleries/gallery.stories.d.ts +0 -26
  1179. package/dist/lib/components/ui/galleries/gallery.utils.test.d.ts +0 -1
  1180. package/dist/lib/components/ui/galleries/lightbox-gallery.stories.d.ts +0 -12
  1181. package/dist/lib/components/ui/galleries/mini-gallery.stories.d.ts +0 -12
  1182. package/dist/lib/components/ui/helper-text.d.ts +0 -5
  1183. package/dist/lib/components/ui/hero.stories.d.ts +0 -13
  1184. package/dist/lib/components/ui/hidrate-loading.d.ts +0 -6
  1185. package/dist/lib/components/ui/highlight-text.stories.d.ts +0 -12
  1186. package/dist/lib/components/ui/icon.stories.d.ts +0 -15
  1187. package/dist/lib/components/ui/icon.test.d.ts +0 -1
  1188. package/dist/lib/components/ui/image-cropper/crop-image.test.d.ts +0 -1
  1189. package/dist/lib/components/ui/image-cropper/crop-resize-handles.test.d.ts +0 -1
  1190. package/dist/lib/components/ui/image-cropper/image-cropper.stories.d.ts +0 -17
  1191. package/dist/lib/components/ui/image-field/image-field.d.ts +0 -14
  1192. package/dist/lib/components/ui/image-field/image-field.stories.d.ts +0 -15
  1193. package/dist/lib/components/ui/image-field/image-s3-field.d.ts +0 -6
  1194. package/dist/lib/components/ui/image-field/index.d.ts +0 -4
  1195. package/dist/lib/components/ui/inline-edit/index.d.ts +0 -2
  1196. package/dist/lib/components/ui/inline-edit/inline-edit.stories.d.ts +0 -17
  1197. package/dist/lib/components/ui/input-group-field.stories.d.ts +0 -35
  1198. package/dist/lib/components/ui/input-group.d.ts +0 -13
  1199. package/dist/lib/components/ui/input-group.stories.d.ts +0 -25
  1200. package/dist/lib/components/ui/input.d.ts +0 -4
  1201. package/dist/lib/components/ui/kanban/kanban.stories.d.ts +0 -18
  1202. package/dist/lib/components/ui/kanban/kanban.utils.d.ts +0 -24
  1203. package/dist/lib/components/ui/kanban/kanban.utils.test.d.ts +0 -1
  1204. package/dist/lib/components/ui/kbd.stories.d.ts +0 -16
  1205. package/dist/lib/components/ui/language-switcher.d.ts +0 -6
  1206. package/dist/lib/components/ui/language-switcher.stories.d.ts +0 -14
  1207. package/dist/lib/components/ui/layout/list-details-layout.d.ts +0 -47
  1208. package/dist/lib/components/ui/layout/list-details-layout.stories.d.ts +0 -13
  1209. package/dist/lib/components/ui/layout/pane-layout.d.ts +0 -48
  1210. package/dist/lib/components/ui/layout/pane-layout.stories.d.ts +0 -13
  1211. package/dist/lib/components/ui/layout/thread-layout.stories.d.ts +0 -15
  1212. package/dist/lib/components/ui/list-tile.stories.d.ts +0 -19
  1213. package/dist/lib/components/ui/load-more-button.d.ts +0 -25
  1214. package/dist/lib/components/ui/load-more-button.stories.d.ts +0 -17
  1215. package/dist/lib/components/ui/markdown/markdown.d.ts +0 -7
  1216. package/dist/lib/components/ui/markdown/markdown.stories.d.ts +0 -15
  1217. package/dist/lib/components/ui/markdown/markdown.test.d.ts +0 -1
  1218. package/dist/lib/components/ui/mentions/index.d.ts +0 -3
  1219. package/dist/lib/components/ui/mentions/mentions.stories.d.ts +0 -13
  1220. package/dist/lib/components/ui/mentions/mentions.stories.data.d.ts +0 -2
  1221. package/dist/lib/components/ui/mentions/mentions.utils.d.ts +0 -7
  1222. package/dist/lib/components/ui/mentions/mentions.utils.test.d.ts +0 -1
  1223. package/dist/lib/components/ui/menubar.d.ts +0 -26
  1224. package/dist/lib/components/ui/metrics/metrics.stories.d.ts +0 -28
  1225. package/dist/lib/components/ui/metrics/metrics.stories.data.d.ts +0 -17
  1226. package/dist/lib/components/ui/metrics/types.d.ts +0 -125
  1227. package/dist/lib/components/ui/notifications/notifications.slice.test.d.ts +0 -1
  1228. package/dist/lib/components/ui/notifications/notifications.stories.d.ts +0 -16
  1229. package/dist/lib/components/ui/notifications/notifications.utils.test.d.ts +0 -1
  1230. package/dist/lib/components/ui/number-field/index.d.ts +0 -3
  1231. package/dist/lib/components/ui/number-field/number-field.d.ts +0 -22
  1232. package/dist/lib/components/ui/number-field/number-field.stories.d.ts +0 -18
  1233. package/dist/lib/components/ui/number-field/parse-number.test.d.ts +0 -1
  1234. package/dist/lib/components/ui/opening-hours/consts.d.ts +0 -18
  1235. package/dist/lib/components/ui/opening-hours/opening-hours-item.d.ts +0 -11
  1236. package/dist/lib/components/ui/opening-hours/opening-hours.stories.d.ts +0 -15
  1237. package/dist/lib/components/ui/otp-field.stories.d.ts +0 -30
  1238. package/dist/lib/components/ui/pager.stories.d.ts +0 -13
  1239. package/dist/lib/components/ui/pagination/pagination-items.test.d.ts +0 -1
  1240. package/dist/lib/components/ui/pagination/pagination.stories.d.ts +0 -21
  1241. package/dist/lib/components/ui/param-table.stories.d.ts +0 -13
  1242. package/dist/lib/components/ui/password-field.d.ts +0 -8
  1243. package/dist/lib/components/ui/password-field.stories.d.ts +0 -19
  1244. package/dist/lib/components/ui/password-strength.test.d.ts +0 -1
  1245. package/dist/lib/components/ui/pdf-viewer/index.d.ts +0 -14
  1246. package/dist/lib/components/ui/pdf-viewer/index.test.d.ts +0 -1
  1247. package/dist/lib/components/ui/pdf-viewer/pdf-download.d.ts +0 -3
  1248. package/dist/lib/components/ui/pdf-viewer/pdf-download.test.d.ts +0 -1
  1249. package/dist/lib/components/ui/pdf-viewer/pdf-escape.test.d.ts +0 -1
  1250. package/dist/lib/components/ui/pdf-viewer/pdf-page-list.d.ts +0 -11
  1251. package/dist/lib/components/ui/pdf-viewer/pdf-reader-body.d.ts +0 -26
  1252. package/dist/lib/components/ui/pdf-viewer/pdf-reader-keyboard.d.ts +0 -16
  1253. package/dist/lib/components/ui/pdf-viewer/pdf-reader-keyboard.test.d.ts +0 -1
  1254. package/dist/lib/components/ui/pdf-viewer/pdf-reader-states.d.ts +0 -12
  1255. package/dist/lib/components/ui/pdf-viewer/pdf-reader.d.ts +0 -20
  1256. package/dist/lib/components/ui/pdf-viewer/pdf-reader.reducer.d.ts +0 -47
  1257. package/dist/lib/components/ui/pdf-viewer/pdf-reader.stories.d.ts +0 -12
  1258. package/dist/lib/components/ui/pdf-viewer/pdf-search.d.ts +0 -7
  1259. package/dist/lib/components/ui/pdf-viewer/pdf-search.test.d.ts +0 -1
  1260. package/dist/lib/components/ui/pdf-viewer/pdf-sidebar.d.ts +0 -14
  1261. package/dist/lib/components/ui/pdf-viewer/pdf-thumbnail-sidebar.d.ts +0 -10
  1262. package/dist/lib/components/ui/pdf-viewer/types.d.ts +0 -34
  1263. package/dist/lib/components/ui/pdf-viewer/use-pdf-reader.d.ts +0 -32
  1264. package/dist/lib/components/ui/pdf-viewer/use-pdf-search-hits.d.ts +0 -11
  1265. package/dist/lib/components/ui/percent-field/index.d.ts +0 -2
  1266. package/dist/lib/components/ui/percent-field/percent-field.d.ts +0 -3
  1267. package/dist/lib/components/ui/percent-field/percent-field.stories.d.ts +0 -16
  1268. package/dist/lib/components/ui/phone-field/index.d.ts +0 -6
  1269. package/dist/lib/components/ui/phone-field/parse-phone.test.d.ts +0 -1
  1270. package/dist/lib/components/ui/phone-field/phone-field.stories.d.ts +0 -17
  1271. package/dist/lib/components/ui/postal-address/postal-address.stories.d.ts +0 -16
  1272. package/dist/lib/components/ui/qrcode.d.ts +0 -7
  1273. package/dist/lib/components/ui/qrcode.stories.d.ts +0 -38
  1274. package/dist/lib/components/ui/radio-group.d.ts +0 -16
  1275. package/dist/lib/components/ui/radio-group.stories.d.ts +0 -21
  1276. package/dist/lib/components/ui/rating-field/clamp-rating.test.d.ts +0 -1
  1277. package/dist/lib/components/ui/rating-field/index.d.ts +0 -3
  1278. package/dist/lib/components/ui/rating-field/rating-field.d.ts +0 -23
  1279. package/dist/lib/components/ui/rating-field/rating-field.stories.d.ts +0 -24
  1280. package/dist/lib/components/ui/resizable.stories.d.ts +0 -14
  1281. package/dist/lib/components/ui/responsive-grid.stories.d.ts +0 -15
  1282. package/dist/lib/components/ui/rich-text-editor/extensions/custom/checkbox-group/checkbox-group-edit-dialog.d.ts +0 -14
  1283. package/dist/lib/components/ui/rich-text-editor/extensions/custom/checkbox-group/checkbox-group-edit-form.d.ts +0 -15
  1284. package/dist/lib/components/ui/rich-text-editor/extensions/custom/radio-group/radio-group-edit-dialog.d.ts +0 -14
  1285. package/dist/lib/components/ui/rich-text-editor/extensions/custom/radio-group/radio-group-edit-form.d.ts +0 -15
  1286. package/dist/lib/components/ui/rich-text-editor/extensions/custom/select-chip/select-chip-edit-dialog.d.ts +0 -14
  1287. package/dist/lib/components/ui/rich-text-editor/extensions/custom/select-chip/select-chip-edit-form.d.ts +0 -15
  1288. package/dist/lib/components/ui/rich-text-editor/extensions/custom/shared/index.d.ts +0 -2
  1289. package/dist/lib/components/ui/rich-text-editor/extensions/index.d.ts +0 -12
  1290. package/dist/lib/components/ui/rich-text-editor/extensions/mention/index.d.ts +0 -2
  1291. package/dist/lib/components/ui/rich-text-editor/extensions/mention/mention-list.d.ts +0 -12
  1292. package/dist/lib/components/ui/rich-text-editor/extensions/mention/suggestions.d.ts +0 -9
  1293. package/dist/lib/components/ui/rich-text-editor/extensions/slash-command/extension.d.ts +0 -7
  1294. package/dist/lib/components/ui/rich-text-editor/extensions/slash-command/slash-command-items.d.ts +0 -4
  1295. package/dist/lib/components/ui/rich-text-editor/extensions/slash-command/slash-command-items.test.d.ts +0 -1
  1296. package/dist/lib/components/ui/rich-text-editor/index.d.ts +0 -1
  1297. package/dist/lib/components/ui/rich-text-editor/rich-text-editor-wrapper.d.ts +0 -13
  1298. package/dist/lib/components/ui/rich-text-editor/rich-text-editor.stories.d.ts +0 -26
  1299. package/dist/lib/components/ui/rich-text-editor/rich-text-editor.story-data.d.ts +0 -3
  1300. package/dist/lib/components/ui/rich-text-editor/types.d.ts +0 -29
  1301. package/dist/lib/components/ui/scroll-to-top.d.ts +0 -20
  1302. package/dist/lib/components/ui/scroll-to-top.stories.d.ts +0 -346
  1303. package/dist/lib/components/ui/search-field/debounce.test.d.ts +0 -1
  1304. package/dist/lib/components/ui/search-field/index.d.ts +0 -4
  1305. package/dist/lib/components/ui/search-field/search-field.d.ts +0 -11
  1306. package/dist/lib/components/ui/search-field/search-field.stories.d.ts +0 -18
  1307. package/dist/lib/components/ui/see-also.stories.d.ts +0 -12
  1308. package/dist/lib/components/ui/select-card-field.stories.d.ts +0 -16
  1309. package/dist/lib/components/ui/select-chip-field.stories.d.ts +0 -16
  1310. package/dist/lib/components/ui/select-field.d.ts +0 -20
  1311. package/dist/lib/components/ui/select-field.stories.d.ts +0 -21
  1312. package/dist/lib/components/ui/separator.stories.d.ts +0 -14
  1313. package/dist/lib/components/ui/sheet.d.ts +0 -15
  1314. package/dist/lib/components/ui/shortcut-glyph.test.d.ts +0 -1
  1315. package/dist/lib/components/ui/sidebar.stories.d.ts +0 -14
  1316. package/dist/lib/components/ui/skeleton/skeleton-card.d.ts +0 -4
  1317. package/dist/lib/components/ui/skeleton/skeleton.stories.d.ts +0 -19
  1318. package/dist/lib/components/ui/skip-link.stories.d.ts +0 -12
  1319. package/dist/lib/components/ui/slider-control.d.ts +0 -6
  1320. package/dist/lib/components/ui/slider-ticks.test.d.ts +0 -1
  1321. package/dist/lib/components/ui/slider.d.ts +0 -13
  1322. package/dist/lib/components/ui/slider.stories.d.ts +0 -16
  1323. package/dist/lib/components/ui/sortable-list/index.d.ts +0 -4
  1324. package/dist/lib/components/ui/sortable-list/sortable-list.keyboard.test.d.ts +0 -1
  1325. package/dist/lib/components/ui/sortable-list/sortable-list.stories.d.ts +0 -21
  1326. package/dist/lib/components/ui/stat-card/format-stat-delta.test.d.ts +0 -1
  1327. package/dist/lib/components/ui/stat-card/stat-card.d.ts +0 -13
  1328. package/dist/lib/components/ui/stat-card/stat-card.stories.d.ts +0 -17
  1329. package/dist/lib/components/ui/status-indicator.stories.d.ts +0 -16
  1330. package/dist/lib/components/ui/stepper/step-state.test.d.ts +0 -1
  1331. package/dist/lib/components/ui/stepper/stepper.stories.d.ts +0 -16
  1332. package/dist/lib/components/ui/steps.stories.d.ts +0 -13
  1333. package/dist/lib/components/ui/stories-consts.d.ts +0 -10
  1334. package/dist/lib/components/ui/stories-dark-theme.d.ts +0 -2
  1335. package/dist/lib/components/ui/stx-player/format-time.test.d.ts +0 -1
  1336. package/dist/lib/components/ui/stx-player/stx-player-keyboard.test.d.ts +0 -1
  1337. package/dist/lib/components/ui/stx-player/stx-player.slice.test.d.ts +0 -1
  1338. package/dist/lib/components/ui/stx-player/stx-player.stories.d.ts +0 -24
  1339. package/dist/lib/components/ui/summary-data.stories.d.ts +0 -14
  1340. package/dist/lib/components/ui/switch.stories.d.ts +0 -16
  1341. package/dist/lib/components/ui/switcher.d.ts +0 -15
  1342. package/dist/lib/components/ui/switcher.stories.d.ts +0 -15
  1343. package/dist/lib/components/ui/table.stories.d.ts +0 -14
  1344. package/dist/lib/components/ui/tabs.stories.d.ts +0 -15
  1345. package/dist/lib/components/ui/terminal/terminal.stories.d.ts +0 -14
  1346. package/dist/lib/components/ui/terminal/terminal.utils.test.d.ts +0 -1
  1347. package/dist/lib/components/ui/text-field.d.ts +0 -10
  1348. package/dist/lib/components/ui/text-field.stories.d.ts +0 -22
  1349. package/dist/lib/components/ui/textarea-field.stories.d.ts +0 -25
  1350. package/dist/lib/components/ui/textarea.stories.d.ts +0 -26
  1351. package/dist/lib/components/ui/theme-toggle.d.ts +0 -6
  1352. package/dist/lib/components/ui/theme-toggle.stories.d.ts +0 -14
  1353. package/dist/lib/components/ui/time-field.d.ts +0 -17
  1354. package/dist/lib/components/ui/time-field.stories.d.ts +0 -15
  1355. package/dist/lib/components/ui/time-picker/time-picker-utils.test.d.ts +0 -1
  1356. package/dist/lib/components/ui/time-picker/time-picker.stories.d.ts +0 -15
  1357. package/dist/lib/components/ui/timeline/format-relative-time.test.d.ts +0 -1
  1358. package/dist/lib/components/ui/timeline/timeline.stories.d.ts +0 -19
  1359. package/dist/lib/components/ui/timezone-field/index.d.ts +0 -4
  1360. package/dist/lib/components/ui/timezone-field/timezone-field.d.ts +0 -5
  1361. package/dist/lib/components/ui/timezone-field/timezone-field.stories.d.ts +0 -14
  1362. package/dist/lib/components/ui/timezone-field/timezones.test.d.ts +0 -1
  1363. package/dist/lib/components/ui/toc.stories.d.ts +0 -13
  1364. package/dist/lib/components/ui/toggle-group.d.ts +0 -9
  1365. package/dist/lib/components/ui/toggle-group.stories.d.ts +0 -25
  1366. package/dist/lib/components/ui/toggle.d.ts +0 -9
  1367. package/dist/lib/components/ui/toggle.stories.d.ts +0 -16
  1368. package/dist/lib/components/ui/tooltip.d.ts +0 -10
  1369. package/dist/lib/components/ui/tooltip.stories.d.ts +0 -15
  1370. package/dist/lib/components/ui/transfer-list/index.d.ts +0 -3
  1371. package/dist/lib/components/ui/transfer-list/partials/transfer-list-board.d.ts +0 -33
  1372. package/dist/lib/components/ui/transfer-list/partials/transfer-list-droppable.d.ts +0 -12
  1373. package/dist/lib/components/ui/transfer-list/partials/transfer-list-pane.d.ts +0 -35
  1374. package/dist/lib/components/ui/transfer-list/transfer-list.dnd.test.d.ts +0 -1
  1375. package/dist/lib/components/ui/transfer-list/transfer-list.keyboard.test.d.ts +0 -1
  1376. package/dist/lib/components/ui/transfer-list/transfer-list.stories.d.ts +0 -27
  1377. package/dist/lib/components/ui/transfer-list/transfer-list.stories.data.d.ts +0 -3
  1378. package/dist/lib/components/ui/transfer-list/transfer-list.utils.test.d.ts +0 -1
  1379. package/dist/lib/components/ui/tree/tree.stories.d.ts +0 -16
  1380. package/dist/lib/components/ui/tree/tree.utils.test.d.ts +0 -1
  1381. package/dist/lib/components/ui/upload/network-upload-field/index.d.ts +0 -1
  1382. package/dist/lib/components/ui/upload/network-upload-field/network-upload-field.slice.d.ts +0 -249
  1383. package/dist/lib/components/ui/upload/network-upload-field/network-upload-field.stories.d.ts +0 -31
  1384. package/dist/lib/components/ui/upload/network-upload-field/network-upload-field.utils.d.ts +0 -40
  1385. package/dist/lib/components/ui/upload/network-upload-field/network-upload-field.utils.test.d.ts +0 -1
  1386. package/dist/lib/components/ui/upload/network-upload-field/use-network-upload-field.d.ts +0 -19
  1387. package/dist/lib/components/ui/upload/network-upload-field/use-upload-items.d.ts +0 -14
  1388. package/dist/lib/components/ui/upload/s3-upload-field/index.d.ts +0 -1
  1389. package/dist/lib/components/ui/upload/s3-upload-field/s3-upload-field.d.ts +0 -12
  1390. package/dist/lib/components/ui/upload/s3-upload-field/s3-upload-field.stories.d.ts +0 -15
  1391. package/dist/lib/components/ui/upload-field.d.ts +0 -14
  1392. package/dist/lib/components/ui/upload-field.stories.d.ts +0 -22
  1393. package/dist/lib/components/ui/url-field/index.d.ts +0 -3
  1394. package/dist/lib/components/ui/url-field/parse-url.test.d.ts +0 -1
  1395. package/dist/lib/components/ui/url-field/url-field.d.ts +0 -3
  1396. package/dist/lib/components/ui/url-field/url-field.stories.d.ts +0 -16
  1397. package/dist/lib/hooks/resolve-theme.test.d.ts +0 -1
  1398. package/dist/lib/i18n/i18n-provider.stories.d.ts +0 -29
  1399. package/dist/lib/i18n/material-components.stories.d.ts +0 -30
  1400. package/dist/lib/i18n/merge-resources.test.d.ts +0 -1
  1401. package/dist/lib/i18n/resources/en/index.d.ts +0 -855
  1402. package/dist/lib/i18n/resources/fr/index.d.ts +0 -855
  1403. package/dist/lib/i18n/resources/index.d.ts +0 -1700
  1404. package/dist/lib/i18n/translator.test.d.ts +0 -1
  1405. package/dist/lib/lib/array.utils.test.d.ts +0 -1
  1406. package/dist/lib/lib/build-field-options.test.d.ts +0 -1
  1407. package/dist/lib/lib/date.utils.test.d.ts +0 -1
  1408. package/dist/lib/lib/format.utils.test.d.ts +0 -1
  1409. package/dist/lib/lib/number.utils.spec.d.ts +0 -1
  1410. package/dist/lib/lib/object.utils.test.d.ts +0 -1
  1411. package/dist/lib/lib/print-format.utils.test.d.ts +0 -1
  1412. package/dist/lib/lib/promise.utils.test.d.ts +0 -1
  1413. package/dist/lib/lib/redux/filter-slice.test.d.ts +0 -1
  1414. package/dist/lib/lib/redux/status-slice.test.d.ts +0 -1
  1415. package/dist/lib/lib/redux/step-form-slice.test.d.ts +0 -1
  1416. package/dist/lib/lib/redux/use-slice-reducer.test.d.ts +0 -1
  1417. package/dist/lib/lib/storage.utils.test.d.ts +0 -1
  1418. package/dist/lib/lib/string.utils.test.d.ts +0 -1
  1419. package/dist/lib/lib/styles.utils.test.d.ts +0 -1
  1420. package/dist/lib/lib/upload.utils.test.d.ts +0 -1
  1421. package/dist/lib/lib/url.utils.test.d.ts +0 -1
  1422. package/dist/lib/lib/utils.test.d.ts +0 -1
  1423. package/dist/lib/lib/zod-error-map.test.d.ts +0 -1
  1424. package/dist/lib/map/components/map.stories.d.ts +0 -13
  1425. package/dist/lib/map/index.test.d.ts +0 -1
  1426. package/dist/lib/print/styles.test.d.ts +0 -1
  1427. package/dist/lib/print/tailwind.d.ts +0 -5
  1428. package/dist/lib/print/tailwind.test.d.ts +0 -1
  1429. package/dist/lib-BDc9msmn.js +0 -667
  1430. package/dist/main-DeilmPv5.js +0 -191333
  1431. package/dist/mermaid.core-CsGdwvR0.js +0 -1096
  1432. package/dist/mindmap-definition-NLK3R4M7-IZYTe2Mh.js +0 -1008
  1433. package/dist/number.utils-BR3XO6me.js +0 -2681
  1434. package/dist/pegDiagram-GJSIUBJH-BL5Aabgf.js +0 -94
  1435. package/dist/pieDiagram-5QR66LMP-DqnWu-Zg.js +0 -157
  1436. package/dist/print-format.utils-CyR00FwK.js +0 -24
  1437. package/dist/quadrantDiagram-O4NWA36T-tobrs5dc.js +0 -2001
  1438. package/dist/railroadDiagram-XR7U4H2S-CIx08g98.js +0 -76
  1439. package/dist/requirementDiagram-PLB6GJNP-Lm5o98ZN.js +0 -2228
  1440. package/dist/sankeyDiagram-IPEJSGJF-ClWq95mY.js +0 -962
  1441. package/dist/sequenceDiagram-PO4LG4MO-Bu-eRq6c.js +0 -4200
  1442. package/dist/sortable-provider-BCaeM3pZ.js +0 -5367
  1443. package/dist/src-ripuExsx.js +0 -1775
  1444. package/dist/stateDiagram-v2-GCMORJYK-CbrdDeDZ.js +0 -2143
  1445. package/dist/swimlanes-2SLR337P-4Oufc9Ey.js +0 -4763
  1446. package/dist/swimlanesDiagram-TC7HE7FX-DQu480YU.js +0 -28
  1447. package/dist/timeline-definition-EJHVYXUP-CLerfWh1.js +0 -1073
  1448. package/dist/usecaseDiagram-POWQR4AR-BwE2bgk0.js +0 -9932
  1449. package/dist/vennDiagram-UO4OBE2U-CNd0-YPm.js +0 -1880
  1450. package/dist/wardleyDiagram-VNRHLVJA-DH3az7Ec.js +0 -645
  1451. package/dist/xychartDiagram-PMCCYNJV-D-ynJEtr.js +0 -2167
  1452. /package/dist/lib/components/ui/{buttons → actions/button-group}/button-group.d.ts +0 -0
  1453. /package/dist/lib/components/ui/{copy-button → actions/copy-button}/copy-to-clipboard.d.ts +0 -0
  1454. /package/dist/lib/components/ui/{copy-button → actions/copy-button}/copy-value.d.ts +0 -0
  1455. /package/dist/lib/components/ui/{copy-button → actions/copy-button}/index.d.ts +0 -0
  1456. /package/dist/lib/components/ui/{highlight-text.d.ts → actions/highlight-text/highlight-text.d.ts} +0 -0
  1457. /package/dist/lib/components/ui/{data-table → collections/data-table}/data-table-column-header.d.ts +0 -0
  1458. /package/dist/lib/components/ui/{data-table → collections/data-table}/data-table-pagination.d.ts +0 -0
  1459. /package/dist/lib/components/ui/{data-table → collections/data-table}/data-table-view-options.d.ts +0 -0
  1460. /package/dist/lib/components/ui/{data-table → collections/data-table}/data-table.d.ts +0 -0
  1461. /package/dist/lib/components/ui/{data-table → collections/data-table}/features.d.ts +0 -0
  1462. /package/dist/lib/components/ui/{data-table → collections/data-table}/hooks.d.ts +0 -0
  1463. /package/dist/lib/components/ui/{dnd → collections/dnd}/compose-refs.d.ts +0 -0
  1464. /package/dist/lib/components/ui/{dnd → collections/dnd}/dnd-item-context.d.ts +0 -0
  1465. /package/dist/lib/components/ui/{dnd → collections/dnd}/dnd-overlay.d.ts +0 -0
  1466. /package/dist/lib/components/ui/{dnd → collections/dnd}/dnd-provider.d.ts +0 -0
  1467. /package/dist/lib/components/ui/{dnd → collections/dnd}/drag-handle.d.ts +0 -0
  1468. /package/dist/lib/components/ui/{dnd → collections/dnd}/draggable-droppable.d.ts +0 -0
  1469. /package/dist/lib/components/ui/{dnd → collections/dnd}/draggable.d.ts +0 -0
  1470. /package/dist/lib/components/ui/{dnd → collections/dnd}/droppable.d.ts +0 -0
  1471. /package/dist/lib/components/ui/{dnd → collections/dnd}/index.d.ts +0 -0
  1472. /package/dist/lib/components/ui/{dnd → collections/dnd}/insert-ids.d.ts +0 -0
  1473. /package/dist/lib/components/ui/{dnd → collections/dnd}/sortable-provider.d.ts +0 -0
  1474. /package/dist/lib/components/ui/{dnd → collections/dnd}/sortable.d.ts +0 -0
  1475. /package/dist/lib/components/ui/{dnd → collections/dnd}/use-dnd-active-id.d.ts +0 -0
  1476. /package/dist/lib/components/ui/{filter → collections/filter}/filter-actions.d.ts +0 -0
  1477. /package/dist/lib/components/ui/{filter → collections/filter}/filter-chips.d.ts +0 -0
  1478. /package/dist/lib/components/ui/{filter → collections/filter}/filter-content.d.ts +0 -0
  1479. /package/dist/lib/components/ui/{filter → collections/filter}/filter-context.d.ts +0 -0
  1480. /package/dist/lib/components/ui/{filter → collections/filter}/filter-dialog.d.ts +0 -0
  1481. /package/dist/lib/components/ui/{filter → collections/filter}/filter-drawer.d.ts +0 -0
  1482. /package/dist/lib/components/ui/{filter → collections/filter}/filter-field.d.ts +0 -0
  1483. /package/dist/lib/components/ui/{filter → collections/filter}/filter-groups.d.ts +0 -0
  1484. /package/dist/lib/components/ui/{filter → collections/filter}/filter-inline.d.ts +0 -0
  1485. /package/dist/lib/components/ui/{filter → collections/filter}/filter-persistence-main.utils.d.ts +0 -0
  1486. /package/dist/lib/components/ui/{filter → collections/filter}/filter-persistence-presets.utils.d.ts +0 -0
  1487. /package/dist/lib/components/ui/{filter → collections/filter}/filter-persistence-storage.utils.d.ts +0 -0
  1488. /package/dist/lib/components/ui/{filter → collections/filter}/filter-persistence-url.utils.d.ts +0 -0
  1489. /package/dist/lib/components/ui/{filter → collections/filter}/filter-persistence.utils.d.ts +0 -0
  1490. /package/dist/lib/components/ui/{filter → collections/filter}/filter-popover.d.ts +0 -0
  1491. /package/dist/lib/components/ui/{filter → collections/filter}/filter-preset.utils.d.ts +0 -0
  1492. /package/dist/lib/components/ui/{filter → collections/filter}/filter-presets.d.ts +0 -0
  1493. /package/dist/lib/components/ui/{filter → collections/filter}/filter-sheet.d.ts +0 -0
  1494. /package/dist/lib/components/ui/{filter → collections/filter}/filter-validation.utils.d.ts +0 -0
  1495. /package/dist/lib/components/ui/{filter → collections/filter}/filter.d.ts +0 -0
  1496. /package/dist/lib/components/ui/{filter → collections/filter}/filter.utils.d.ts +0 -0
  1497. /package/dist/lib/components/ui/{filter → collections/filter}/types.d.ts +0 -0
  1498. /package/dist/lib/components/ui/{filter → collections/filter}/use-filter-modal.d.ts +0 -0
  1499. /package/dist/lib/components/ui/{filter → collections/filter}/use-filter-selector.d.ts +0 -0
  1500. /package/dist/lib/components/ui/{filter → collections/filter}/use-filter.d.ts +0 -0
  1501. /package/dist/lib/components/ui/{pagination → collections/pagination}/index.d.ts +0 -0
  1502. /package/dist/lib/components/ui/{pagination → collections/pagination}/pagination-bar.d.ts +0 -0
  1503. /package/dist/lib/components/ui/{pagination → collections/pagination}/pagination-items.d.ts +0 -0
  1504. /package/dist/lib/components/ui/{pagination → collections/pagination}/pagination.d.ts +0 -0
  1505. /package/dist/lib/components/ui/{tree → collections/tree}/index.d.ts +0 -0
  1506. /package/dist/lib/components/ui/{tree → collections/tree}/tree-item.d.ts +0 -0
  1507. /package/dist/lib/components/ui/{tree → collections/tree}/tree.d.ts +0 -0
  1508. /package/dist/lib/components/ui/{tree → collections/tree}/tree.utils.d.ts +0 -0
  1509. /package/dist/lib/components/ui/{tree → collections/tree}/types.d.ts +0 -0
  1510. /package/dist/lib/components/ui/{tree → collections/tree}/use-tree.d.ts +0 -0
  1511. /package/dist/lib/components/ui/{calendar-year-view.d.ts → dates/calendar/calendar-year-view.d.ts} +0 -0
  1512. /package/dist/lib/components/ui/{calendar.utils.d.ts → dates/calendar/calendar.utils.d.ts} +0 -0
  1513. /package/dist/lib/components/ui/{duration-field → dates/duration-field}/duration-field.d.ts +0 -0
  1514. /package/dist/lib/components/ui/{duration-field → dates/duration-field}/parse-duration.d.ts +0 -0
  1515. /package/dist/lib/components/ui/{time-picker → dates/time-picker}/index.d.ts +0 -0
  1516. /package/dist/lib/components/ui/{time-picker → dates/time-picker}/time-picker-utils.d.ts +0 -0
  1517. /package/dist/lib/components/ui/{time-picker → dates/time-picker}/time-picker.d.ts +0 -0
  1518. /package/dist/lib/components/ui/{api-endpoint.d.ts → display/api-endpoint/api-endpoint.d.ts} +0 -0
  1519. /package/dist/lib/components/ui/{avatar-group → display/avatar-group}/avatar-group.d.ts +0 -0
  1520. /package/dist/lib/components/ui/{avatar-group → display/avatar-group}/avatar-group.utils.d.ts +0 -0
  1521. /package/dist/lib/components/ui/{avatar-group → display/avatar-group}/index.d.ts +0 -0
  1522. /package/dist/lib/components/ui/{cards → display/cards}/index.d.ts +0 -0
  1523. /package/dist/lib/components/ui/{cards → display/cards}/partials/album-card.d.ts +0 -0
  1524. /package/dist/lib/components/ui/{cards → display/cards}/partials/checklist-card.d.ts +0 -0
  1525. /package/dist/lib/components/ui/{cards → display/cards}/partials/crew-card.d.ts +0 -0
  1526. /package/dist/lib/components/ui/{cards → display/cards}/partials/event-card.d.ts +0 -0
  1527. /package/dist/lib/components/ui/{cards → display/cards}/partials/feature-card.d.ts +0 -0
  1528. /package/dist/lib/components/ui/{cards → display/cards}/partials/file-card.d.ts +0 -0
  1529. /package/dist/lib/components/ui/{cards → display/cards}/partials/link-card.d.ts +0 -0
  1530. /package/dist/lib/components/ui/{cards → display/cards}/partials/media-card.d.ts +0 -0
  1531. /package/dist/lib/components/ui/{cards → display/cards}/partials/message-card.d.ts +0 -0
  1532. /package/dist/lib/components/ui/{cards → display/cards}/partials/notice-card.d.ts +0 -0
  1533. /package/dist/lib/components/ui/{cards → display/cards}/partials/offer-card.d.ts +0 -0
  1534. /package/dist/lib/components/ui/{cards → display/cards}/partials/overlay-card.d.ts +0 -0
  1535. /package/dist/lib/components/ui/{cards → display/cards}/partials/place-card.d.ts +0 -0
  1536. /package/dist/lib/components/ui/{cards → display/cards}/partials/pricing-card.d.ts +0 -0
  1537. /package/dist/lib/components/ui/{cards → display/cards}/partials/profile-card.d.ts +0 -0
  1538. /package/dist/lib/components/ui/{cards → display/cards}/partials/quote-card.d.ts +0 -0
  1539. /package/dist/lib/components/ui/{cards → display/cards}/partials/receipt-card.d.ts +0 -0
  1540. /package/dist/lib/components/ui/{cards → display/cards}/partials/review-card.d.ts +0 -0
  1541. /package/dist/lib/components/ui/{cards → display/cards}/partials/score-card.d.ts +0 -0
  1542. /package/dist/lib/components/ui/{cards → display/cards}/partials/shortcut-card.d.ts +0 -0
  1543. /package/dist/lib/components/ui/{cards → display/cards}/partials/split-card.d.ts +0 -0
  1544. /package/dist/lib/components/ui/{cards → display/cards}/partials/spotlight-card.d.ts +0 -0
  1545. /package/dist/lib/components/ui/{cards → display/cards}/partials/stack-card.d.ts +0 -0
  1546. /package/dist/lib/components/ui/{cards → display/cards}/partials/status-card.d.ts +0 -0
  1547. /package/dist/lib/components/ui/{cards → display/cards}/partials/tag-card.d.ts +0 -0
  1548. /package/dist/lib/components/ui/{cards → display/cards}/partials/ticket-card.d.ts +0 -0
  1549. /package/dist/lib/components/ui/{cards → display/cards}/partials/timeline-card.d.ts +0 -0
  1550. /package/dist/lib/components/ui/{code → display/code}/code-block.d.ts +0 -0
  1551. /package/dist/lib/components/ui/{code → display/code}/code-diff.d.ts +0 -0
  1552. /package/dist/lib/components/ui/{code → display/code}/code-group.d.ts +0 -0
  1553. /package/dist/lib/components/ui/{code → display/code}/highlight.d.ts +0 -0
  1554. /package/dist/lib/components/ui/{code → display/code}/index.d.ts +0 -0
  1555. /package/dist/lib/components/ui/{code → display/code}/json-node.d.ts +0 -0
  1556. /package/dist/lib/components/ui/{code → display/code}/json-viewer.d.ts +0 -0
  1557. /package/dist/lib/components/ui/{code → display/code}/languages.d.ts +0 -0
  1558. /package/dist/lib/components/ui/{code → display/code}/moonlight-monaco.d.ts +0 -0
  1559. /package/dist/lib/components/ui/{code → display/code}/moonlight-tokens.d.ts +0 -0
  1560. /package/dist/lib/components/ui/{format-count.d.ts → display/count-badge/format-count.d.ts} +0 -0
  1561. /package/dist/lib/components/ui/{description.d.ts → display/description/description.d.ts} +0 -0
  1562. /package/dist/lib/components/ui/{event-chip → display/event-chip}/event-chip.d.ts +0 -0
  1563. /package/dist/lib/components/ui/{event-chip → display/event-chip}/index.d.ts +0 -0
  1564. /package/dist/lib/components/ui/{figure.d.ts → display/figure/figure.d.ts} +0 -0
  1565. /package/dist/lib/components/ui/{list-tile.d.ts → display/list-tile/list-tile.d.ts} +0 -0
  1566. /package/dist/lib/components/ui/{markdown → display/markdown}/index.d.ts +0 -0
  1567. /package/dist/lib/components/ui/{markdown → display/markdown}/markdown.utils.d.ts +0 -0
  1568. /package/dist/lib/components/ui/{markdown → display/markdown}/mermaid.lazy.d.ts +0 -0
  1569. /package/dist/lib/components/ui/{markdown → display/markdown}/partials/markdown-code.d.ts +0 -0
  1570. /package/dist/lib/components/ui/{markdown → display/markdown}/partials/mermaid-diagram.d.ts +0 -0
  1571. /package/dist/lib/components/ui/{metrics → display/metrics}/index.d.ts +0 -0
  1572. /package/dist/lib/components/ui/{metrics → display/metrics}/partials/band-card.d.ts +0 -0
  1573. /package/dist/lib/components/ui/{metrics → display/metrics}/partials/breakdown-card.d.ts +0 -0
  1574. /package/dist/lib/components/ui/{metrics → display/metrics}/partials/compare-card.d.ts +0 -0
  1575. /package/dist/lib/components/ui/{metrics → display/metrics}/partials/delta-list-card.d.ts +0 -0
  1576. /package/dist/lib/components/ui/{metrics → display/metrics}/partials/funnel-card.d.ts +0 -0
  1577. /package/dist/lib/components/ui/{metrics → display/metrics}/partials/gauge-card.d.ts +0 -0
  1578. /package/dist/lib/components/ui/{metrics → display/metrics}/partials/goal-card.d.ts +0 -0
  1579. /package/dist/lib/components/ui/{metrics → display/metrics}/partials/heatweek-card.d.ts +0 -0
  1580. /package/dist/lib/components/ui/{metrics → display/metrics}/partials/histogram-card.d.ts +0 -0
  1581. /package/dist/lib/components/ui/{metrics → display/metrics}/partials/latency-card.d.ts +0 -0
  1582. /package/dist/lib/components/ui/{metrics → display/metrics}/partials/pace-card.d.ts +0 -0
  1583. /package/dist/lib/components/ui/{metrics → display/metrics}/partials/rank-card.d.ts +0 -0
  1584. /package/dist/lib/components/ui/{metrics → display/metrics}/partials/ratio-card.d.ts +0 -0
  1585. /package/dist/lib/components/ui/{metrics → display/metrics}/partials/sparkbar-card.d.ts +0 -0
  1586. /package/dist/lib/components/ui/{metrics → display/metrics}/partials/sparkline.d.ts +0 -0
  1587. /package/dist/lib/components/ui/{metrics → display/metrics}/partials/threshold-card.d.ts +0 -0
  1588. /package/dist/lib/components/ui/{metrics → display/metrics}/partials/trend-card.d.ts +0 -0
  1589. /package/dist/lib/components/ui/{param-table.d.ts → display/param-table/param-table.d.ts} +0 -0
  1590. /package/dist/lib/components/ui/{stat-card → display/stat-card}/format-stat-delta.d.ts +0 -0
  1591. /package/dist/lib/components/ui/{stat-card → display/stat-card}/index.d.ts +0 -0
  1592. /package/dist/lib/components/ui/{status-indicator.d.ts → display/status-indicator/status-indicator.d.ts} +0 -0
  1593. /package/dist/lib/components/ui/{summary-data.d.ts → display/summary-data/summary-data.d.ts} +0 -0
  1594. /package/dist/lib/components/ui/{terminal → display/terminal}/index.d.ts +0 -0
  1595. /package/dist/lib/components/ui/{terminal → display/terminal}/terminal.d.ts +0 -0
  1596. /package/dist/lib/components/ui/{terminal → display/terminal}/terminal.utils.d.ts +0 -0
  1597. /package/dist/lib/components/ui/{timeline → display/timeline}/format-relative-time.d.ts +0 -0
  1598. /package/dist/lib/components/ui/{timeline → display/timeline}/index.d.ts +0 -0
  1599. /package/dist/lib/components/ui/{timeline → display/timeline}/relative-time.d.ts +0 -0
  1600. /package/dist/lib/components/ui/{timeline → display/timeline}/timeline-item.d.ts +0 -0
  1601. /package/dist/lib/components/ui/{timeline → display/timeline}/timeline.d.ts +0 -0
  1602. /package/dist/lib/components/ui/{timeline → display/timeline}/types.d.ts +0 -0
  1603. /package/dist/lib/components/ui/{banner → feedback/banner}/banner.d.ts +0 -0
  1604. /package/dist/lib/components/ui/{banner → feedback/banner}/index.d.ts +0 -0
  1605. /package/dist/lib/components/ui/feedback/{empty-state.d.ts → empty-state/empty-state.d.ts} +0 -0
  1606. /package/dist/lib/components/ui/{notifications → feedback/notifications}/index.d.ts +0 -0
  1607. /package/dist/lib/components/ui/{notifications → feedback/notifications}/notifications-provider.d.ts +0 -0
  1608. /package/dist/lib/components/ui/{notifications → feedback/notifications}/notifications.d.ts +0 -0
  1609. /package/dist/lib/components/ui/{notifications → feedback/notifications}/notifications.slice.d.ts +0 -0
  1610. /package/dist/lib/components/ui/{notifications → feedback/notifications}/notifications.utils.d.ts +0 -0
  1611. /package/dist/lib/components/ui/{notifications → feedback/notifications}/partials/notifications-bell.d.ts +0 -0
  1612. /package/dist/lib/components/ui/{notifications → feedback/notifications}/partials/notifications-categories.d.ts +0 -0
  1613. /package/dist/lib/components/ui/{notifications → feedback/notifications}/partials/notifications-empty.d.ts +0 -0
  1614. /package/dist/lib/components/ui/{notifications → feedback/notifications}/partials/notifications-inbox.d.ts +0 -0
  1615. /package/dist/lib/components/ui/{notifications → feedback/notifications}/partials/notifications-item.d.ts +0 -0
  1616. /package/dist/lib/components/ui/{notifications → feedback/notifications}/partials/notifications-list.d.ts +0 -0
  1617. /package/dist/lib/components/ui/{notifications → feedback/notifications}/partials/notifications-toolbar.d.ts +0 -0
  1618. /package/dist/lib/components/ui/{notifications → feedback/notifications}/types.d.ts +0 -0
  1619. /package/dist/lib/components/ui/{notifications → feedback/notifications}/use-notifications.d.ts +0 -0
  1620. /package/dist/lib/components/ui/{education/quizzes → feedback/notifications}/use-skip-first.d.ts +0 -0
  1621. /package/dist/lib/components/ui/feedback/{progress-field.d.ts → progress/progress-field.d.ts} +0 -0
  1622. /package/dist/lib/components/ui/feedback/{progress.d.ts → progress/progress.d.ts} +0 -0
  1623. /package/dist/lib/components/ui/feedback/{scroll-progress.d.ts → scroll-progress/scroll-progress.d.ts} +0 -0
  1624. /package/dist/lib/components/ui/{skeleton → feedback/skeleton}/index.d.ts +0 -0
  1625. /package/dist/lib/components/ui/{skeleton → feedback/skeleton}/skeleton-avatar.d.ts +0 -0
  1626. /package/dist/lib/components/ui/{skeleton → feedback/skeleton}/skeleton-table.d.ts +0 -0
  1627. /package/dist/lib/components/ui/{skeleton → feedback/skeleton}/skeleton-text.d.ts +0 -0
  1628. /package/dist/lib/components/ui/{skeleton → feedback/skeleton}/skeleton.d.ts +0 -0
  1629. /package/dist/lib/components/ui/feedback/{toast.d.ts → toast/toast.d.ts} +0 -0
  1630. /package/dist/lib/components/ui/{attributes → fields/attributes}/attribute-form/attribute-form.d.ts +0 -0
  1631. /package/dist/lib/components/ui/{attributes → fields/attributes}/attribute-form/index.d.ts +0 -0
  1632. /package/dist/lib/components/ui/{attributes → fields/attributes}/attribute-form/types.d.ts +0 -0
  1633. /package/dist/lib/components/ui/{attributes → fields/attributes}/attribute-values-form/index.d.ts +0 -0
  1634. /package/dist/lib/components/ui/{attributes → fields/attributes}/attribute-values-form-field-set/index.d.ts +0 -0
  1635. /package/dist/lib/components/ui/{attributes → fields/attributes}/attributes-field/index.d.ts +0 -0
  1636. /package/dist/lib/components/ui/{attributes → fields/attributes}/attributes-form-field/index.d.ts +0 -0
  1637. /package/dist/lib/components/ui/{attributes → fields/attributes}/attributes-list/index.d.ts +0 -0
  1638. /package/dist/lib/components/ui/{attributes → fields/attributes}/index.d.ts +0 -0
  1639. /package/dist/lib/components/ui/{attributes → fields/attributes}/models/attribute.d.ts +0 -0
  1640. /package/dist/lib/components/ui/{attributes → fields/attributes}/models/index.d.ts +0 -0
  1641. /package/dist/lib/components/ui/{color-field → fields/color-field}/normalize-hex.d.ts +0 -0
  1642. /package/dist/lib/components/ui/{contacts → fields/contacts}/contact-dialog.d.ts +0 -0
  1643. /package/dist/lib/components/ui/{contacts → fields/contacts}/contacts-form-field.d.ts +0 -0
  1644. /package/dist/lib/components/ui/{contacts → fields/contacts}/contacts.d.ts +0 -0
  1645. /package/dist/lib/components/ui/{contacts → fields/contacts}/index.d.ts +0 -0
  1646. /package/dist/lib/components/ui/{contacts → fields/contacts}/models.d.ts +0 -0
  1647. /package/dist/lib/components/ui/{currency-field → fields/currency-field}/parse-currency.d.ts +0 -0
  1648. /package/dist/lib/components/ui/{email-field → fields/email-field}/is-email.d.ts +0 -0
  1649. /package/dist/lib/components/ui/{field → fields/field}/field.d.ts +0 -0
  1650. /package/dist/lib/components/ui/{field → fields/field}/index.d.ts +0 -0
  1651. /package/dist/lib/components/ui/{field → fields/field}/renderers.d.ts +0 -0
  1652. /package/dist/lib/components/ui/{inline-edit → fields/inline-edit}/inline-edit.d.ts +0 -0
  1653. /package/dist/lib/components/ui/{input-group-field.d.ts → fields/input-group-field/input-group-field.d.ts} +0 -0
  1654. /package/dist/lib/components/ui/{number-field → fields/number-field}/parse-number.d.ts +0 -0
  1655. /package/dist/lib/components/ui/{opening-hours → fields/opening-hours}/index.d.ts +0 -0
  1656. /package/dist/lib/components/ui/{opening-hours → fields/opening-hours}/models.d.ts +0 -0
  1657. /package/dist/lib/components/ui/{opening-hours → fields/opening-hours}/opening-hours-dialog.d.ts +0 -0
  1658. /package/dist/lib/components/ui/{opening-hours → fields/opening-hours}/opening-hours-form-field.d.ts +0 -0
  1659. /package/dist/lib/components/ui/{opening-hours → fields/opening-hours}/opening-hours.d.ts +0 -0
  1660. /package/dist/lib/components/ui/{input-otp.d.ts → fields/otp-field/input-otp.d.ts} +0 -0
  1661. /package/dist/lib/components/ui/{otp-field.d.ts → fields/otp-field/otp-field.d.ts} +0 -0
  1662. /package/dist/lib/components/ui/{password-strength-meter.d.ts → fields/password-field/password-strength-meter.d.ts} +0 -0
  1663. /package/dist/lib/components/ui/{password-strength.d.ts → fields/password-field/password-strength.d.ts} +0 -0
  1664. /package/dist/lib/components/ui/{phone-field → fields/phone-field}/countries.d.ts +0 -0
  1665. /package/dist/lib/components/ui/{phone-field → fields/phone-field}/parse-phone.d.ts +0 -0
  1666. /package/dist/lib/components/ui/{phone-field → fields/phone-field}/phone-country-menu.d.ts +0 -0
  1667. /package/dist/lib/components/ui/{phone-field → fields/phone-field}/phone-field.d.ts +0 -0
  1668. /package/dist/lib/components/ui/{postal-address → fields/postal-address}/index.d.ts +0 -0
  1669. /package/dist/lib/components/ui/{postal-address → fields/postal-address}/models.d.ts +0 -0
  1670. /package/dist/lib/components/ui/{postal-address → fields/postal-address}/postal-address-dialog.d.ts +0 -0
  1671. /package/dist/lib/components/ui/{postal-address → fields/postal-address}/postal-address-form-field.d.ts +0 -0
  1672. /package/dist/lib/components/ui/{postal-address → fields/postal-address}/postal-address.d.ts +0 -0
  1673. /package/dist/lib/components/ui/{postal-address → fields/postal-address}/utils.d.ts +0 -0
  1674. /package/dist/lib/components/ui/{rating-field → fields/rating-field}/clamp-rating.d.ts +0 -0
  1675. /package/dist/lib/components/ui/{search-field → fields/search-field}/debounce.d.ts +0 -0
  1676. /package/dist/lib/components/ui/{slider-readout.d.ts → fields/slider/slider-readout.d.ts} +0 -0
  1677. /package/dist/lib/components/ui/{slider-ticks.d.ts → fields/slider/slider-ticks.d.ts} +0 -0
  1678. /package/dist/lib/components/ui/{switch.d.ts → fields/switch/switch.d.ts} +0 -0
  1679. /package/dist/lib/components/ui/{textarea-field.d.ts → fields/textarea-field/textarea-field.d.ts} +0 -0
  1680. /package/dist/lib/components/ui/{timezone-field → fields/timezone-field}/timezones.d.ts +0 -0
  1681. /package/dist/lib/components/ui/{url-field → fields/url-field}/parse-url.d.ts +0 -0
  1682. /package/dist/lib/components/ui/{app-bar → layout/app-bar}/bottom-app-bar.d.ts +0 -0
  1683. /package/dist/lib/components/ui/{app-bar → layout/app-bar}/index.d.ts +0 -0
  1684. /package/dist/lib/components/ui/{app-bar → layout/app-bar}/top-app-bar.d.ts +0 -0
  1685. /package/dist/lib/components/ui/{app-shell → layout/app-shell}/activity-content.d.ts +0 -0
  1686. /package/dist/lib/components/ui/{app-shell → layout/app-shell}/activity-layout.d.ts +0 -0
  1687. /package/dist/lib/components/ui/{app-shell → layout/app-shell}/app-header.d.ts +0 -0
  1688. /package/dist/lib/components/ui/{app-shell → layout/app-shell}/app-shell.utils.d.ts +0 -0
  1689. /package/dist/lib/components/ui/{app-shell → layout/app-shell}/index.d.ts +0 -0
  1690. /package/dist/lib/components/ui/{background.d.ts → layout/background/background.d.ts} +0 -0
  1691. /package/dist/lib/components/ui/{breadcrumb.d.ts → layout/breadcrumb/breadcrumb.d.ts} +0 -0
  1692. /package/dist/lib/components/ui/{doc → layout/doc}/doc-context.d.ts +0 -0
  1693. /package/dist/lib/components/ui/{doc → layout/doc}/doc.d.ts +0 -0
  1694. /package/dist/lib/components/ui/{doc → layout/doc}/doc.keyboard.d.ts +0 -0
  1695. /package/dist/lib/components/ui/{doc → layout/doc}/doc.slice.d.ts +0 -0
  1696. /package/dist/lib/components/ui/{doc → layout/doc}/index.d.ts +0 -0
  1697. /package/dist/lib/components/ui/{doc → layout/doc}/partials/doc-article.d.ts +0 -0
  1698. /package/dist/lib/components/ui/{doc → layout/doc}/partials/doc-child-cards.d.ts +0 -0
  1699. /package/dist/lib/components/ui/{doc → layout/doc}/partials/doc-copy-actions.d.ts +0 -0
  1700. /package/dist/lib/components/ui/{doc → layout/doc}/partials/doc-header.d.ts +0 -0
  1701. /package/dist/lib/components/ui/{doc → layout/doc}/partials/doc-link.d.ts +0 -0
  1702. /package/dist/lib/components/ui/{doc → layout/doc}/partials/doc-nav.d.ts +0 -0
  1703. /package/dist/lib/components/ui/{doc → layout/doc}/partials/doc-page.d.ts +0 -0
  1704. /package/dist/lib/components/ui/{doc → layout/doc}/partials/doc-pager.d.ts +0 -0
  1705. /package/dist/lib/components/ui/{doc → layout/doc}/partials/doc-search.d.ts +0 -0
  1706. /package/dist/lib/components/ui/{doc → layout/doc}/partials/doc-see-also.d.ts +0 -0
  1707. /package/dist/lib/components/ui/{doc → layout/doc}/partials/doc-sidebar.d.ts +0 -0
  1708. /package/dist/lib/components/ui/{doc → layout/doc}/partials/doc-toc.d.ts +0 -0
  1709. /package/dist/lib/components/ui/{doc → layout/doc}/partials/doc-topbar.d.ts +0 -0
  1710. /package/dist/lib/components/ui/{doc → layout/doc}/types.d.ts +0 -0
  1711. /package/dist/lib/components/ui/{doc → layout/doc}/use-doc.d.ts +0 -0
  1712. /package/dist/lib/components/ui/{hero.d.ts → layout/hero/hero.d.ts} +0 -0
  1713. /package/dist/lib/components/ui/{navigation-rail → layout/navigation-rail}/index.d.ts +0 -0
  1714. /package/dist/lib/components/ui/{navigation-rail → layout/navigation-rail}/navigation-rail.d.ts +0 -0
  1715. /package/dist/lib/components/ui/{pager.d.ts → layout/pager/pager.d.ts} +0 -0
  1716. /package/dist/lib/components/ui/{resizable.d.ts → layout/resizable/resizable.d.ts} +0 -0
  1717. /package/dist/lib/components/ui/{responsive-grid.d.ts → layout/responsive-grid/responsive-grid.d.ts} +0 -0
  1718. /package/dist/lib/components/ui/{see-also.d.ts → layout/see-also/see-also.d.ts} +0 -0
  1719. /package/dist/lib/components/ui/{sidebar.d.ts → layout/sidebar/sidebar.d.ts} +0 -0
  1720. /package/dist/lib/components/ui/{skip-link.d.ts → layout/skip-link/skip-link.d.ts} +0 -0
  1721. /package/dist/lib/components/ui/{stepper → layout/stepper}/index.d.ts +0 -0
  1722. /package/dist/lib/components/ui/{stepper → layout/stepper}/step-state.d.ts +0 -0
  1723. /package/dist/lib/components/ui/{stepper → layout/stepper}/stepper-icon.d.ts +0 -0
  1724. /package/dist/lib/components/ui/{stepper → layout/stepper}/stepper-indicator.d.ts +0 -0
  1725. /package/dist/lib/components/ui/{stepper → layout/stepper}/stepper.d.ts +0 -0
  1726. /package/dist/lib/components/ui/{steps.d.ts → layout/steps/steps.d.ts} +0 -0
  1727. /package/dist/lib/components/ui/layout/{thread-layout.d.ts → thread-layout/thread-layout.d.ts} +0 -0
  1728. /package/dist/lib/components/ui/{toc.d.ts → layout/toc/toc.d.ts} +0 -0
  1729. /package/dist/lib/components/ui/{camera → media/camera}/camera-content.d.ts +0 -0
  1730. /package/dist/lib/components/ui/{camera → media/camera}/camera.d.ts +0 -0
  1731. /package/dist/lib/components/ui/{camera → media/camera}/camera.provider.d.ts +0 -0
  1732. /package/dist/lib/components/ui/{camera → media/camera}/consts.d.ts +0 -0
  1733. /package/dist/lib/components/ui/{camera → media/camera}/index.d.ts +0 -0
  1734. /package/dist/lib/components/ui/{camera → media/camera}/state/camera.reducers.d.ts +0 -0
  1735. /package/dist/lib/components/ui/{camera → media/camera}/state/camera.slice.d.ts +0 -0
  1736. /package/dist/lib/components/ui/{camera → media/camera}/state/camera.store.d.ts +0 -0
  1737. /package/dist/lib/components/ui/{camera → media/camera}/state/camera.thunks.d.ts +0 -0
  1738. /package/dist/lib/components/ui/{camera → media/camera}/state/index.d.ts +0 -0
  1739. /package/dist/lib/components/ui/{camera → media/camera}/use-camera.d.ts +0 -0
  1740. /package/dist/lib/components/ui/{camera → media/camera}/utils/camera.utils.d.ts +0 -0
  1741. /package/dist/lib/components/ui/{camera → media/camera}/utils/index.d.ts +0 -0
  1742. /package/dist/lib/components/ui/{file-list → media/file-list}/file-list-field-row.d.ts +0 -0
  1743. /package/dist/lib/components/ui/{file-list → media/file-list}/file-list.d.ts +0 -0
  1744. /package/dist/lib/components/ui/{file-list → media/file-list}/format-file-size.d.ts +0 -0
  1745. /package/dist/lib/components/ui/{file-list → media/file-list}/types.d.ts +0 -0
  1746. /package/dist/lib/components/ui/{galleries → media/galleries}/gallery-download.d.ts +0 -0
  1747. /package/dist/lib/components/ui/{galleries → media/galleries}/gallery-keyboard.d.ts +0 -0
  1748. /package/dist/lib/components/ui/{galleries → media/galleries}/gallery-provider.d.ts +0 -0
  1749. /package/dist/lib/components/ui/{galleries → media/galleries}/gallery.d.ts +0 -0
  1750. /package/dist/lib/components/ui/{galleries → media/galleries}/gallery.presets.d.ts +0 -0
  1751. /package/dist/lib/components/ui/{galleries → media/galleries}/gallery.slice.d.ts +0 -0
  1752. /package/dist/lib/components/ui/{galleries → media/galleries}/gallery.utils.d.ts +0 -0
  1753. /package/dist/lib/components/ui/{galleries → media/galleries}/index.d.ts +0 -0
  1754. /package/dist/lib/components/ui/{galleries → media/galleries}/lightbox-gallery.d.ts +0 -0
  1755. /package/dist/lib/components/ui/{galleries → media/galleries}/mini-gallery.d.ts +0 -0
  1756. /package/dist/lib/components/ui/{galleries → media/galleries}/partials/gallery-carousel.d.ts +0 -0
  1757. /package/dist/lib/components/ui/{galleries → media/galleries}/partials/gallery-chrome.d.ts +0 -0
  1758. /package/dist/lib/components/ui/{galleries → media/galleries}/partials/gallery-empty.d.ts +0 -0
  1759. /package/dist/lib/components/ui/{galleries → media/galleries}/partials/gallery-featured.d.ts +0 -0
  1760. /package/dist/lib/components/ui/{galleries → media/galleries}/partials/gallery-grid.d.ts +0 -0
  1761. /package/dist/lib/components/ui/{galleries → media/galleries}/partials/gallery-justified.d.ts +0 -0
  1762. /package/dist/lib/components/ui/{galleries → media/galleries}/partials/gallery-lightbox.d.ts +0 -0
  1763. /package/dist/lib/components/ui/{galleries → media/galleries}/partials/gallery-masonry.d.ts +0 -0
  1764. /package/dist/lib/components/ui/{galleries → media/galleries}/partials/gallery-media.d.ts +0 -0
  1765. /package/dist/lib/components/ui/{galleries → media/galleries}/partials/gallery-selection-bar.d.ts +0 -0
  1766. /package/dist/lib/components/ui/{galleries → media/galleries}/partials/gallery-stage.d.ts +0 -0
  1767. /package/dist/lib/components/ui/{galleries → media/galleries}/partials/gallery-strip.d.ts +0 -0
  1768. /package/dist/lib/components/ui/{galleries → media/galleries}/partials/gallery-tile.d.ts +0 -0
  1769. /package/dist/lib/components/ui/{galleries → media/galleries}/partials/gallery-trigger.d.ts +0 -0
  1770. /package/dist/lib/components/ui/{galleries → media/galleries}/types.d.ts +0 -0
  1771. /package/dist/lib/components/ui/{galleries → media/galleries}/use-gallery.d.ts +0 -0
  1772. /package/dist/lib/components/ui/{galleries → media/galleries}/use-skip-first.d.ts +0 -0
  1773. /package/dist/lib/components/ui/{image-cropper → media/image-cropper}/crop-image.d.ts +0 -0
  1774. /package/dist/lib/components/ui/{image-cropper → media/image-cropper}/crop-resize-handles.d.ts +0 -0
  1775. /package/dist/lib/components/ui/{image-cropper → media/image-cropper}/image-cropper-dialog.d.ts +0 -0
  1776. /package/dist/lib/components/ui/{image-cropper → media/image-cropper}/image-cropper.d.ts +0 -0
  1777. /package/dist/lib/components/ui/{image-cropper → media/image-cropper}/index.d.ts +0 -0
  1778. /package/dist/lib/components/ui/{image-cropper → media/image-cropper}/types.d.ts +0 -0
  1779. /package/dist/lib/components/ui/{pdf-viewer → media/pdf-viewer}/pdf-escape.d.ts +0 -0
  1780. /package/dist/lib/components/ui/{pdf-viewer → media/pdf-viewer}/pdf-outline-sidebar.d.ts +0 -0
  1781. /package/dist/lib/components/ui/{pdf-viewer → media/pdf-viewer}/pdf-toolbar-actions.d.ts +0 -0
  1782. /package/dist/lib/components/ui/{pdf-viewer → media/pdf-viewer}/pdf-toolbar-nav.d.ts +0 -0
  1783. /package/dist/lib/components/ui/{pdf-viewer → media/pdf-viewer}/pdf-toolbar-search.d.ts +0 -0
  1784. /package/dist/lib/components/ui/{pdf-viewer → media/pdf-viewer}/pdf-toolbar-zoom.d.ts +0 -0
  1785. /package/dist/lib/components/ui/{pdf-viewer → media/pdf-viewer}/pdf-toolbar.d.ts +0 -0
  1786. /package/dist/lib/components/ui/{pdf-viewer → media/pdf-viewer}/react-pdf.lazy.d.ts +0 -0
  1787. /package/dist/lib/components/ui/{stx-player → media/stx-player}/consts.d.ts +0 -0
  1788. /package/dist/lib/components/ui/{stx-player → media/stx-player}/format-time.d.ts +0 -0
  1789. /package/dist/lib/components/ui/{stx-player → media/stx-player}/index.d.ts +0 -0
  1790. /package/dist/lib/components/ui/{stx-player → media/stx-player}/stx-player-controls.d.ts +0 -0
  1791. /package/dist/lib/components/ui/{stx-player → media/stx-player}/stx-player-extras.d.ts +0 -0
  1792. /package/dist/lib/components/ui/{stx-player → media/stx-player}/stx-player-keyboard.d.ts +0 -0
  1793. /package/dist/lib/components/ui/{stx-player → media/stx-player}/stx-player-mini.d.ts +0 -0
  1794. /package/dist/lib/components/ui/{stx-player → media/stx-player}/stx-player-provider.d.ts +0 -0
  1795. /package/dist/lib/components/ui/{stx-player → media/stx-player}/stx-player-queue.d.ts +0 -0
  1796. /package/dist/lib/components/ui/{stx-player → media/stx-player}/stx-player-viewport.d.ts +0 -0
  1797. /package/dist/lib/components/ui/{stx-player → media/stx-player}/stx-player.d.ts +0 -0
  1798. /package/dist/lib/components/ui/{stx-player → media/stx-player}/stx-player.slice.d.ts +0 -0
  1799. /package/dist/lib/components/ui/{stx-player → media/stx-player}/types.d.ts +0 -0
  1800. /package/dist/lib/components/ui/{stx-player → media/stx-player}/use-media-bindings.d.ts +0 -0
  1801. /package/dist/lib/components/ui/{stx-player → media/stx-player}/use-media-events.d.ts +0 -0
  1802. /package/dist/lib/components/ui/{stx-player → media/stx-player}/use-player-shell.d.ts +0 -0
  1803. /package/dist/lib/components/ui/{stx-player → media/stx-player}/use-stx-player.d.ts +0 -0
  1804. /package/dist/lib/components/ui/{upload → media/upload}/index.d.ts +0 -0
  1805. /package/dist/lib/components/ui/{upload → media/upload}/network-upload-field/network-upload-field.d.ts +0 -0
  1806. /package/dist/lib/components/ui/{upload → media/upload}/network-upload-field/network-upload-item.d.ts +0 -0
  1807. /package/dist/lib/components/ui/{upload → media/upload}/network-upload-field/use-file-drag-drop.d.ts +0 -0
  1808. /package/dist/lib/components/ui/{upload → media/upload}/s3-upload-field/s3-upload-field.utils.d.ts +0 -0
  1809. /package/dist/lib/components/ui/{video-player → media/video-player}/index.d.ts +0 -0
  1810. /package/dist/lib/components/ui/{context-menu.d.ts → overlays/context-menu/context-menu.d.ts} +0 -0
  1811. /package/dist/lib/components/ui/{hover-card.d.ts → overlays/hover-card/hover-card.d.ts} +0 -0
  1812. /package/dist/lib/components/ui/{popover.d.ts → overlays/popover/popover.d.ts} +0 -0
  1813. /package/dist/lib/components/ui/{accordion.d.ts → primitives/accordion/accordion.d.ts} +0 -0
  1814. /package/dist/lib/components/ui/{activity.d.ts → primitives/activity/activity.d.ts} +0 -0
  1815. /package/dist/lib/components/ui/{card.d.ts → primitives/card/card.d.ts} +0 -0
  1816. /package/dist/lib/components/ui/{collapsible.d.ts → primitives/collapsible/collapsible.d.ts} +0 -0
  1817. /package/dist/lib/components/ui/{icon.d.ts → primitives/icon/icon.d.ts} +0 -0
  1818. /package/dist/lib/components/ui/{kbd-shortcut.d.ts → primitives/kbd/kbd-shortcut.d.ts} +0 -0
  1819. /package/dist/lib/components/ui/{kbd.d.ts → primitives/kbd/kbd.d.ts} +0 -0
  1820. /package/dist/lib/components/ui/{shortcut-glyph.d.ts → primitives/kbd/shortcut-glyph.d.ts} +0 -0
  1821. /package/dist/lib/components/ui/{label.d.ts → primitives/label/label.d.ts} +0 -0
  1822. /package/dist/lib/components/ui/{scroll-area.d.ts → primitives/scroll-area/scroll-area.d.ts} +0 -0
  1823. /package/dist/lib/components/ui/{separator.d.ts → primitives/separator/separator.d.ts} +0 -0
  1824. /package/dist/lib/components/ui/{table.d.ts → primitives/table/table.d.ts} +0 -0
  1825. /package/dist/lib/components/ui/{tabs.d.ts → primitives/tabs/tabs.d.ts} +0 -0
  1826. /package/dist/lib/components/ui/{textarea.d.ts → primitives/textarea/textarea.d.ts} +0 -0
  1827. /package/dist/lib/components/ui/{typography.d.ts → primitives/typography/typography.d.ts} +0 -0
  1828. /package/dist/lib/components/ui/{checkbox.d.ts → selection/checkbox/checkbox.d.ts} +0 -0
  1829. /package/dist/lib/components/ui/{combobox-field → selection/combobox-field}/combobox-field.d.ts +0 -0
  1830. /package/dist/lib/components/ui/{select.d.ts → selection/select/select.d.ts} +0 -0
  1831. /package/dist/lib/components/ui/{select-card-field.d.ts → selection/select-card-field/select-card-field.d.ts} +0 -0
  1832. /package/dist/lib/components/ui/{select-chip-field.d.ts → selection/select-chip-field/select-chip-field.d.ts} +0 -0
  1833. /package/dist/lib/components/ui/{sortable-list → selection/sortable-list}/partials/sortable-list-dnd.d.ts +0 -0
  1834. /package/dist/lib/components/ui/{sortable-list → selection/sortable-list}/partials/sortable-list-empty.d.ts +0 -0
  1835. /package/dist/lib/components/ui/{sortable-list → selection/sortable-list}/partials/sortable-list-item.d.ts +0 -0
  1836. /package/dist/lib/components/ui/{sortable-list → selection/sortable-list}/sortable-list.d.ts +0 -0
  1837. /package/dist/lib/components/ui/{sortable-list → selection/sortable-list}/sortable-list.keyboard.d.ts +0 -0
  1838. /package/dist/lib/components/ui/{sortable-list → selection/sortable-list}/types.d.ts +0 -0
  1839. /package/dist/lib/components/ui/{sortable-list → selection/sortable-list}/use-sortable-list.d.ts +0 -0
  1840. /package/dist/lib/components/ui/{transfer-list → selection/transfer-list}/partials/transfer-list-actions.d.ts +0 -0
  1841. /package/dist/lib/components/ui/{transfer-list → selection/transfer-list}/partials/transfer-list-dnd.d.ts +0 -0
  1842. /package/dist/lib/components/ui/{transfer-list → selection/transfer-list}/partials/transfer-list-empty.d.ts +0 -0
  1843. /package/dist/lib/components/ui/{transfer-list → selection/transfer-list}/partials/transfer-list-item-row.d.ts +0 -0
  1844. /package/dist/lib/components/ui/{transfer-list → selection/transfer-list}/partials/transfer-list-item.d.ts +0 -0
  1845. /package/dist/lib/components/ui/{transfer-list → selection/transfer-list}/partials/transfer-list-pane-body.d.ts +0 -0
  1846. /package/dist/lib/components/ui/{transfer-list → selection/transfer-list}/partials/transfer-list-pane-header.d.ts +0 -0
  1847. /package/dist/lib/components/ui/{transfer-list → selection/transfer-list}/transfer-list.d.ts +0 -0
  1848. /package/dist/lib/components/ui/{transfer-list → selection/transfer-list}/transfer-list.dnd.d.ts +0 -0
  1849. /package/dist/lib/components/ui/{transfer-list → selection/transfer-list}/transfer-list.keyboard.d.ts +0 -0
  1850. /package/dist/lib/components/ui/{transfer-list → selection/transfer-list}/transfer-list.slice.d.ts +0 -0
  1851. /package/dist/lib/components/ui/{transfer-list → selection/transfer-list}/transfer-list.utils.d.ts +0 -0
  1852. /package/dist/lib/components/ui/{transfer-list → selection/transfer-list}/types.d.ts +0 -0
  1853. /package/dist/lib/components/ui/{transfer-list → selection/transfer-list}/use-transfer-list.d.ts +0 -0
  1854. /package/dist/lib/components/ui/{charts → widgets/charts}/area-chart.d.ts +0 -0
  1855. /package/dist/lib/components/ui/{charts → widgets/charts}/bar-chart.d.ts +0 -0
  1856. /package/dist/lib/components/ui/{charts → widgets/charts}/chart-container.d.ts +0 -0
  1857. /package/dist/lib/components/ui/{charts → widgets/charts}/funnel-chart.d.ts +0 -0
  1858. /package/dist/lib/components/ui/{charts → widgets/charts}/heatmap-chart.d.ts +0 -0
  1859. /package/dist/lib/components/ui/{charts → widgets/charts}/index.d.ts +0 -0
  1860. /package/dist/lib/components/ui/{charts → widgets/charts}/line-chart.d.ts +0 -0
  1861. /package/dist/lib/components/ui/{charts → widgets/charts}/pie-chart.d.ts +0 -0
  1862. /package/dist/lib/components/ui/{charts → widgets/charts}/radar-chart.d.ts +0 -0
  1863. /package/dist/lib/components/ui/{charts → widgets/charts}/scatter-chart.d.ts +0 -0
  1864. /package/dist/lib/components/ui/{charts → widgets/charts}/use-chart-theme.d.ts +0 -0
  1865. /package/dist/lib/components/ui/{chat → widgets/chat}/chat-conversation-item.d.ts +0 -0
  1866. /package/dist/lib/components/ui/{chat → widgets/chat}/chat-copy-text.d.ts +0 -0
  1867. /package/dist/lib/components/ui/{chat → widgets/chat}/chat-inbox.d.ts +0 -0
  1868. /package/dist/lib/components/ui/{chat → widgets/chat}/chat-markdown-inline.d.ts +0 -0
  1869. /package/dist/lib/components/ui/{chat → widgets/chat}/chat-message-list.d.ts +0 -0
  1870. /package/dist/lib/components/ui/{chat → widgets/chat}/chat-message-meta.d.ts +0 -0
  1871. /package/dist/lib/components/ui/{chat → widgets/chat}/chat-message-separator.d.ts +0 -0
  1872. /package/dist/lib/components/ui/{chat → widgets/chat}/chat-message.d.ts +0 -0
  1873. /package/dist/lib/components/ui/{chat → widgets/chat}/chat-reaction-group.d.ts +0 -0
  1874. /package/dist/lib/components/ui/{chat → widgets/chat}/chat-thread.d.ts +0 -0
  1875. /package/dist/lib/components/ui/{chat → widgets/chat}/chat-typing-indicator.d.ts +0 -0
  1876. /package/dist/lib/components/ui/{chat → widgets/chat}/chat-unseen.d.ts +0 -0
  1877. /package/dist/lib/components/ui/{chat → widgets/chat/partials}/chat-composer-attachment-chip.d.ts +0 -0
  1878. /package/dist/lib/components/ui/{code → widgets/code-editor}/code-editor-chrome.d.ts +0 -0
  1879. /package/dist/lib/components/ui/{code-editor.d.ts → widgets/code-editor/code-editor.d.ts} +0 -0
  1880. /package/dist/lib/components/ui/{education → widgets/education}/index.d.ts +0 -0
  1881. /package/dist/lib/components/ui/{education → widgets/education}/questions/index.d.ts +0 -0
  1882. /package/dist/lib/components/ui/{education → widgets/education}/questions/question-boolean.d.ts +0 -0
  1883. /package/dist/lib/components/ui/{education → widgets/education}/questions/question-choice.d.ts +0 -0
  1884. /package/dist/lib/components/ui/{education → widgets/education}/questions/question-multi.d.ts +0 -0
  1885. /package/dist/lib/components/ui/{education → widgets/education}/questions/question-options.d.ts +0 -0
  1886. /package/dist/lib/components/ui/{education → widgets/education}/questions/question-text.d.ts +0 -0
  1887. /package/dist/lib/components/ui/{education → widgets/education}/questions/question.d.ts +0 -0
  1888. /package/dist/lib/components/ui/{education → widgets/education}/questions/question.utils.d.ts +0 -0
  1889. /package/dist/lib/components/ui/{education → widgets/education}/questions/types.d.ts +0 -0
  1890. /package/dist/lib/components/ui/{education → widgets/education}/quizzes/index.d.ts +0 -0
  1891. /package/dist/lib/components/ui/{education → widgets/education}/quizzes/partials/quiz-body.d.ts +0 -0
  1892. /package/dist/lib/components/ui/{education → widgets/education}/quizzes/partials/quiz-nav.d.ts +0 -0
  1893. /package/dist/lib/components/ui/{education → widgets/education}/quizzes/partials/quiz-progress.d.ts +0 -0
  1894. /package/dist/lib/components/ui/{education → widgets/education}/quizzes/partials/quiz-results.d.ts +0 -0
  1895. /package/dist/lib/components/ui/{education → widgets/education}/quizzes/quiz-provider.d.ts +0 -0
  1896. /package/dist/lib/components/ui/{education → widgets/education}/quizzes/quiz.d.ts +0 -0
  1897. /package/dist/lib/components/ui/{education → widgets/education}/quizzes/quiz.slice.d.ts +0 -0
  1898. /package/dist/lib/components/ui/{education → widgets/education}/quizzes/quiz.utils.d.ts +0 -0
  1899. /package/dist/lib/components/ui/{education → widgets/education}/quizzes/types.d.ts +0 -0
  1900. /package/dist/lib/components/ui/{education → widgets/education}/quizzes/use-quiz.d.ts +0 -0
  1901. /package/dist/lib/components/ui/{notifications → widgets/education/quizzes}/use-skip-first.d.ts +0 -0
  1902. /package/dist/lib/components/ui/{emoji → widgets/emoji}/emoji-list.d.ts +0 -0
  1903. /package/dist/lib/components/ui/{emoji → widgets/emoji}/emoji-picker.d.ts +0 -0
  1904. /package/dist/lib/components/ui/{emoji → widgets/emoji}/emoji.groups.d.ts +0 -0
  1905. /package/dist/lib/components/ui/{emoji → widgets/emoji}/emoji.utils.d.ts +0 -0
  1906. /package/dist/lib/components/ui/{emoji → widgets/emoji}/index.d.ts +0 -0
  1907. /package/dist/lib/components/ui/{emoji → widgets/emoji}/types.d.ts +0 -0
  1908. /package/dist/lib/components/ui/{event-calendar → widgets/event-calendar}/event-calendar-context.d.ts +0 -0
  1909. /package/dist/lib/components/ui/{event-calendar → widgets/event-calendar}/event-calendar.container.d.ts +0 -0
  1910. /package/dist/lib/components/ui/{event-calendar → widgets/event-calendar}/event-calendar.d.ts +0 -0
  1911. /package/dist/lib/components/ui/{event-calendar → widgets/event-calendar}/event-calendar.ids.d.ts +0 -0
  1912. /package/dist/lib/components/ui/{event-calendar → widgets/event-calendar}/event-calendar.keyboard.d.ts +0 -0
  1913. /package/dist/lib/components/ui/{event-calendar → widgets/event-calendar}/event-calendar.preview.d.ts +0 -0
  1914. /package/dist/lib/components/ui/{event-calendar → widgets/event-calendar}/event-calendar.slice.d.ts +0 -0
  1915. /package/dist/lib/components/ui/{event-calendar → widgets/event-calendar}/event-calendar.spans.d.ts +0 -0
  1916. /package/dist/lib/components/ui/{event-calendar → widgets/event-calendar}/event-calendar.utils.d.ts +0 -0
  1917. /package/dist/lib/components/ui/{event-calendar → widgets/event-calendar}/index.d.ts +0 -0
  1918. /package/dist/lib/components/ui/{event-calendar → widgets/event-calendar}/partials/agenda-view.d.ts +0 -0
  1919. /package/dist/lib/components/ui/{event-calendar → widgets/event-calendar}/partials/all-day-lane.d.ts +0 -0
  1920. /package/dist/lib/components/ui/{event-calendar → widgets/event-calendar}/partials/calendar-board.d.ts +0 -0
  1921. /package/dist/lib/components/ui/{event-calendar → widgets/event-calendar}/partials/calendar-date-picker.d.ts +0 -0
  1922. /package/dist/lib/components/ui/{event-calendar → widgets/event-calendar}/partials/calendar-now-line.d.ts +0 -0
  1923. /package/dist/lib/components/ui/{event-calendar → widgets/event-calendar}/partials/calendar-toolbar.d.ts +0 -0
  1924. /package/dist/lib/components/ui/{event-calendar → widgets/event-calendar}/partials/day-view.d.ts +0 -0
  1925. /package/dist/lib/components/ui/{event-calendar → widgets/event-calendar}/partials/event-color-swatches.d.ts +0 -0
  1926. /package/dist/lib/components/ui/{event-calendar → widgets/event-calendar}/partials/event-preview.d.ts +0 -0
  1927. /package/dist/lib/components/ui/{event-calendar → widgets/event-calendar}/partials/event-resize-handle.d.ts +0 -0
  1928. /package/dist/lib/components/ui/{event-calendar → widgets/event-calendar}/partials/month-day-cell.d.ts +0 -0
  1929. /package/dist/lib/components/ui/{event-calendar → widgets/event-calendar}/partials/month-day-dialog.d.ts +0 -0
  1930. /package/dist/lib/components/ui/{event-calendar → widgets/event-calendar}/partials/month-more.d.ts +0 -0
  1931. /package/dist/lib/components/ui/{event-calendar → widgets/event-calendar}/partials/month-view.d.ts +0 -0
  1932. /package/dist/lib/components/ui/{event-calendar → widgets/event-calendar}/partials/month-week-row.d.ts +0 -0
  1933. /package/dist/lib/components/ui/{event-calendar → widgets/event-calendar}/partials/span-event.d.ts +0 -0
  1934. /package/dist/lib/components/ui/{event-calendar → widgets/event-calendar}/partials/time-column.d.ts +0 -0
  1935. /package/dist/lib/components/ui/{event-calendar → widgets/event-calendar}/partials/time-grid-event.d.ts +0 -0
  1936. /package/dist/lib/components/ui/{event-calendar → widgets/event-calendar}/partials/time-grid.d.ts +0 -0
  1937. /package/dist/lib/components/ui/{event-calendar → widgets/event-calendar}/partials/week-view.d.ts +0 -0
  1938. /package/dist/lib/components/ui/{event-calendar → widgets/event-calendar}/types.d.ts +0 -0
  1939. /package/dist/lib/components/ui/{event-calendar → widgets/event-calendar}/use-event-calendar.d.ts +0 -0
  1940. /package/dist/lib/components/ui/{event-calendar → widgets/event-calendar}/use-month-create.d.ts +0 -0
  1941. /package/dist/lib/components/ui/{event-calendar → widgets/event-calendar}/use-slot-create.d.ts +0 -0
  1942. /package/dist/lib/components/ui/{kanban → widgets/kanban}/index.d.ts +0 -0
  1943. /package/dist/lib/components/ui/{kanban → widgets/kanban}/kanban-context.d.ts +0 -0
  1944. /package/dist/lib/components/ui/{kanban → widgets/kanban}/kanban.d.ts +0 -0
  1945. /package/dist/lib/components/ui/{kanban → widgets/kanban}/kanban.keyboard.d.ts +0 -0
  1946. /package/dist/lib/components/ui/{kanban → widgets/kanban}/kanban.slice.d.ts +0 -0
  1947. /package/dist/lib/components/ui/{kanban → widgets/kanban}/partials/kanban-board.d.ts +0 -0
  1948. /package/dist/lib/components/ui/{kanban → widgets/kanban}/partials/kanban-card-preview.d.ts +0 -0
  1949. /package/dist/lib/components/ui/{kanban → widgets/kanban}/partials/kanban-card.d.ts +0 -0
  1950. /package/dist/lib/components/ui/{kanban → widgets/kanban}/partials/kanban-column-header.d.ts +0 -0
  1951. /package/dist/lib/components/ui/{kanban → widgets/kanban}/partials/kanban-column.d.ts +0 -0
  1952. /package/dist/lib/components/ui/{kanban → widgets/kanban}/partials/kanban-composer.d.ts +0 -0
  1953. /package/dist/lib/components/ui/{kanban → widgets/kanban}/partials/kanban-group.d.ts +0 -0
  1954. /package/dist/lib/components/ui/{kanban → widgets/kanban}/types.d.ts +0 -0
  1955. /package/dist/lib/components/ui/{kanban → widgets/kanban}/use-kanban.d.ts +0 -0
  1956. /package/dist/lib/components/ui/{mentions → widgets/mentions}/mention-list.d.ts +0 -0
  1957. /package/dist/lib/components/ui/{mentions → widgets/mentions}/types.d.ts +0 -0
  1958. /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/bubble-menu/buble-menu.d.ts +0 -0
  1959. /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/bubble-menu/index.d.ts +0 -0
  1960. /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/code/editor-code-block.d.ts +0 -0
  1961. /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/code/index.d.ts +0 -0
  1962. /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/color/color-picker-popover.d.ts +0 -0
  1963. /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/color/editor-color-wrapper.d.ts +0 -0
  1964. /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/color/index.d.ts +0 -0
  1965. /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/custom/accordion/accordion-component.d.ts +0 -0
  1966. /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/custom/accordion/accordion-item-edit-dialog.d.ts +0 -0
  1967. /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/custom/accordion/accordion-item-edit-form.d.ts +0 -0
  1968. /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/custom/accordion/const.d.ts +0 -0
  1969. /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/custom/accordion/editor-accordion-wrapper.d.ts +0 -0
  1970. /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/custom/accordion/extension.d.ts +0 -0
  1971. /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/custom/accordion/index.d.ts +0 -0
  1972. /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/custom/action-card/action-card-component.d.ts +0 -0
  1973. /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/custom/action-card/action-card-item-edit-dialog.d.ts +0 -0
  1974. /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/custom/action-card/action-card-item-edit-form.d.ts +0 -0
  1975. /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/custom/action-card/action-card-settings-dialog.d.ts +0 -0
  1976. /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/custom/action-card/action-card-settings-form.d.ts +0 -0
  1977. /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/custom/action-card/const.d.ts +0 -0
  1978. /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/custom/action-card/editor-action-card-wrapper.d.ts +0 -0
  1979. /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/custom/action-card/extension.d.ts +0 -0
  1980. /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/custom/action-card/index.d.ts +0 -0
  1981. /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/custom/callout/callout-component.d.ts +0 -0
  1982. /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/custom/callout/callout-edit-dialog.d.ts +0 -0
  1983. /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/custom/callout/callout-edit-form.d.ts +0 -0
  1984. /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/custom/callout/callout-insert-menu.d.ts +0 -0
  1985. /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/custom/callout/const.d.ts +0 -0
  1986. /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/custom/callout/extension.d.ts +0 -0
  1987. /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/custom/callout/index.d.ts +0 -0
  1988. /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/custom/checkbox-group/checkbox-group-node-component.d.ts +0 -0
  1989. /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/custom/checkbox-group/const.d.ts +0 -0
  1990. /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/custom/checkbox-group/editor-checkbox-group-wrapper.d.ts +0 -0
  1991. /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/custom/checkbox-group/extension.d.ts +0 -0
  1992. /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/custom/checkbox-group/index.d.ts +0 -0
  1993. /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/custom/gallery/const.d.ts +0 -0
  1994. /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/custom/gallery/editor-gallery-wrapper.d.ts +0 -0
  1995. /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/custom/gallery/extension.d.ts +0 -0
  1996. /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/custom/gallery/gallery-component.d.ts +0 -0
  1997. /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/custom/gallery/gallery-edit-dialog.d.ts +0 -0
  1998. /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/custom/gallery/gallery-edit-form.d.ts +0 -0
  1999. /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/custom/gallery/index.d.ts +0 -0
  2000. /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/custom/index.d.ts +0 -0
  2001. /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/custom/radio-group/const.d.ts +0 -0
  2002. /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/custom/radio-group/editor-radio-group-wrapper.d.ts +0 -0
  2003. /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/custom/radio-group/extension.d.ts +0 -0
  2004. /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/custom/radio-group/index.d.ts +0 -0
  2005. /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/custom/radio-group/radio-group-node-component.d.ts +0 -0
  2006. /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/custom/select-card/const.d.ts +0 -0
  2007. /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/custom/select-card/editor-select-card-wrapper.d.ts +0 -0
  2008. /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/custom/select-card/extension.d.ts +0 -0
  2009. /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/custom/select-card/index.d.ts +0 -0
  2010. /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/custom/select-card/select-card-item-edit-dialog.d.ts +0 -0
  2011. /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/custom/select-card/select-card-item-edit-form.d.ts +0 -0
  2012. /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/custom/select-card/select-card-node-component.d.ts +0 -0
  2013. /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/custom/select-card/select-card-settings-dialog.d.ts +0 -0
  2014. /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/custom/select-card/select-card-settings-form.d.ts +0 -0
  2015. /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/custom/select-chip/const.d.ts +0 -0
  2016. /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/custom/select-chip/editor-select-chip-wrapper.d.ts +0 -0
  2017. /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/custom/select-chip/extension.d.ts +0 -0
  2018. /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/custom/select-chip/index.d.ts +0 -0
  2019. /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/custom/select-chip/select-chip-node-component.d.ts +0 -0
  2020. /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/custom/shared/icon-options.d.ts +0 -0
  2021. /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/custom/shared/repeating-field-list.d.ts +0 -0
  2022. /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/emoji/consts.d.ts +0 -0
  2023. /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/emoji/emoji-list.d.ts +0 -0
  2024. /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/emoji/emoji-picker.d.ts +0 -0
  2025. /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/emoji/index.d.ts +0 -0
  2026. /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/font-family/editor-font-family-wrapper.d.ts +0 -0
  2027. /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/font-family/index.d.ts +0 -0
  2028. /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/heading/heading-wrapper.d.ts +0 -0
  2029. /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/heading/index.d.ts +0 -0
  2030. /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/highlight/editor-highlight-wrapper.d.ts +0 -0
  2031. /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/highlight/index.d.ts +0 -0
  2032. /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/image/editor-image-wrapper.d.ts +0 -0
  2033. /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/image/editor-image.d.ts +0 -0
  2034. /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/image/index.d.ts +0 -0
  2035. /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/link/editor-link-wrapper.d.ts +0 -0
  2036. /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/link/editor-link.d.ts +0 -0
  2037. /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/link/index.d.ts +0 -0
  2038. /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/marks/editor-mark-buttons.d.ts +0 -0
  2039. /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/marks/index.d.ts +0 -0
  2040. /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/slash-command/index.d.ts +0 -0
  2041. /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/slash-command/slash-command-basic.d.ts +0 -0
  2042. /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/slash-command/slash-command-insert.d.ts +0 -0
  2043. /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/slash-command/slash-command-list.d.ts +0 -0
  2044. /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/slash-command/slash-command-types.d.ts +0 -0
  2045. /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/table/editor-table-menu.d.ts +0 -0
  2046. /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/table/editor-table-wrapper.d.ts +0 -0
  2047. /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/table/index.d.ts +0 -0
  2048. /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/table/table-cell.d.ts +0 -0
  2049. /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/table/table-properties-form.d.ts +0 -0
  2050. /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/table/table.d.ts +0 -0
  2051. /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/text-align/editor-text-align-wrapper.d.ts +0 -0
  2052. /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/text-align/index.d.ts +0 -0
  2053. /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/youtube/editor-youtube-wrapper.d.ts +0 -0
  2054. /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/youtube/editor-youtube.d.ts +0 -0
  2055. /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/youtube/index.d.ts +0 -0
  2056. /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/rich-text-editor-toolbar.d.ts +0 -0
  2057. /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/rich-text-editor.d.ts +0 -0
@@ -1,4487 +0,0 @@
1
- import { n as e, t } from "./src-ripuExsx.js";
2
- import { a as n, p as r, r as i, u as a } from "./chunk-ZIGJFQKS-7XzdXF8V.js";
3
- import { n as o } from "./chunk-Y2CYZVJY-i11wjrBe.js";
4
- import { A as s, B as c, M as l, T as u, b as d, f, g as p, x as m, z as h } from "./chunk-O7XYJQB3-kPU-FrcW.js";
5
- import { n as g, t as _ } from "./chunk-742MDFTN-B7xNATkT.js";
6
- import { n as v, r as y } from "./chunk-MBY4JIJT-CKKv0vlf.js";
7
- import { a as b, i as x, r as S, t as C } from "./chunk-7PRAP22T-1TE3ytg4.js";
8
- import { s as w } from "./chunk-J5ZVWO5B-CYzz6Pq8.js";
9
- import { t as T } from "./rough.esm-rcMoXTJj.js";
10
- //#region node_modules/mermaid/dist/chunks/mermaid.core/chunk-7INBJB4K.mjs
11
- var E = 1, D = 3;
12
- async function O(e) {
13
- let t = e.getElementsByTagName("img");
14
- if (!t || t.length === 0) return;
15
- let n = !k(e);
16
- await Promise.all([...t].map((e) => new Promise((t) => {
17
- function i() {
18
- if (e.style.display = "flex", e.style.flexDirection = "column", n) {
19
- let [t = f.fontSize] = r(m().fontSize ? m().fontSize : window.getComputedStyle(document.body).fontSize), n = t * 5 + "px";
20
- e.style.minWidth = n, e.style.maxWidth = n;
21
- } else e.style.width = "100%";
22
- t(e);
23
- }
24
- o(i, "setupImage"), setTimeout(() => {
25
- e.complete && i();
26
- }), e.addEventListener("error", i), e.addEventListener("load", i);
27
- })));
28
- }
29
- o(O, "configureLabelImages");
30
- function k(e) {
31
- return e.nodeType === D ? e.textContent?.trim() !== "" : e.nodeType !== E || e.tagName.toLowerCase() === "img" ? !1 : [...e.childNodes].some(k);
32
- }
33
- o(k, "hasTextBesidesImages");
34
- var A = 3, j = 32, M = /* @__PURE__ */ o(async (e, r, i) => {
35
- let o = m(), s = e.insert("g").attr("class", i ?? "node default").attr("id", r.domId || r.id), c = s.insert("g").attr("class", "label").attr("style", a(r.labelStyle)), l = [
36
- {
37
- text: typeof r.label == "string" ? r.label : r.label?.[0] ?? "",
38
- cssClass: "c4-name"
39
- },
40
- {
41
- text: r.stereotype,
42
- cssClass: "c4-type"
43
- },
44
- ...(r.description ?? []).map((e) => ({
45
- text: e,
46
- cssClass: "c4-descr"
47
- }))
48
- ].filter((e) => e.text), u = r.width ? Math.max(r.width - 2 * (r.padding ?? 0), j) : m().flowchart?.wrappingWidth ?? 200, d = o.c4?.wrap ?? !0 ? u : Infinity, f = await Promise.all(l.map(async (e) => {
49
- let i = c.append("g").attr("class", e.cssClass), a = await v(i, h(n(e.text ?? ""), o), {
50
- useHtmlLabels: !1,
51
- markdown: !1,
52
- isNode: !0,
53
- width: d,
54
- style: r.labelStyle
55
- }, o);
56
- return t(a).selectAll("tspan.text-outer-tspan").attr("text-anchor", "middle"), t(a).selectAll("tspan.text-inner-tspan").attr("font-weight", null).attr("font-style", null), {
57
- el: i,
58
- box: i.node().getBBox()
59
- };
60
- })), p = Math.max(...f.map(({ box: e }) => e.width), 0), g = 0;
61
- for (let { el: e, box: t } of f) e.attr("transform", `translate(${p / 2 - t.x - t.width / 2}, ${g - t.y})`), g += t.height + A;
62
- let _ = f.length > 0 ? g - A : 0;
63
- return c.insert("rect", ":first-child"), c.attr("transform", `translate(${-p / 2}, ${-_ / 2})`), {
64
- shapeSvg: s,
65
- bbox: c.node().getBBox(),
66
- halfPadding: (r.padding ?? 0) / 2,
67
- label: c
68
- };
69
- }, "c4LabelHelper"), N = /* @__PURE__ */ o((e, t) => {
70
- let { x: n, y: r, width: i, height: a } = e;
71
- return i >= t ? e : "left" in e ? {
72
- x: n,
73
- y: r,
74
- width: t,
75
- height: a,
76
- top: r,
77
- left: n,
78
- bottom: r + a,
79
- right: n + t,
80
- toJSON: /* @__PURE__ */ o(() => ({}), "toJSON")
81
- } : {
82
- x: n - (t - i) / 2,
83
- y: r,
84
- width: t,
85
- height: a
86
- };
87
- }, "withMinWidth"), P = /* @__PURE__ */ o(async (e, r, i) => {
88
- if (r.stereotype !== void 0) return M(e, r, i);
89
- let o, s = r.useHtmlLabels || p(m()?.htmlLabels);
90
- o = i || "node default";
91
- let c = e.insert("g").attr("class", o).attr("id", r.domId || r.id), l = c.insert("g").attr("class", "label").attr("style", a(r.labelStyle)), u;
92
- u = r.label === void 0 ? "" : typeof r.label == "string" ? r.label : r.label[0];
93
- let d = !!r.icon || !!r.img, f = r.labelType === "markdown", g = u && !r.width ? r.minWidth ?? 0 : 0, _ = await v(l, h(n(u), m()), {
94
- useHtmlLabels: s,
95
- width: r.width || r.wrappingWidth || m().flowchart?.wrappingWidth,
96
- minWidth: g,
97
- classes: f ? "markdown-node-label" : "",
98
- style: r.labelStyle,
99
- addSvgBackground: d,
100
- markdown: f
101
- }, m()), b = (r?.padding ?? 0) / 2, x;
102
- if (s) {
103
- let e = _.children[0], n = t(_);
104
- await O(e), x = await y.measure(() => e.getBoundingClientRect()), x = N(x, g), n.attr("width", x.width), n.attr("height", x.height);
105
- } else x = await y.measure(() => _.getBBox()), x = N(x, g);
106
- return s ? l.attr("transform", "translate(" + -x.width / 2 + ", " + -x.height / 2 + ")") : l.attr("transform", "translate(0, " + -x.height / 2 + ")"), r.centerLabel && l.attr("transform", "translate(" + -x.width / 2 + ", " + -x.height / 2 + ")"), l.insert("rect", ":first-child"), {
107
- shapeSvg: c,
108
- bbox: x,
109
- halfPadding: b,
110
- label: l
111
- };
112
- }, "labelHelper"), F = /* @__PURE__ */ o(async (e, r, i) => {
113
- let a = i.useHtmlLabels ?? u(m()), o = e.insert("g").attr("class", "label").attr("style", i.labelStyle || ""), s = await v(o, h(n(r), m()), {
114
- useHtmlLabels: a,
115
- width: i.width || m()?.flowchart?.wrappingWidth,
116
- style: i.labelStyle,
117
- addSvgBackground: !!i.icon || !!i.img
118
- }), c = i.padding / 2, l;
119
- if (u(m())) {
120
- let e = s.children[0], n = t(s);
121
- l = await y.measure(() => e.getBoundingClientRect()), n.attr("width", l.width), n.attr("height", l.height);
122
- } else l = await y.measure(() => s.getBBox());
123
- return a ? o.attr("transform", "translate(" + -l.width / 2 + ", " + -l.height / 2 + ")") : o.attr("transform", "translate(0, " + -l.height / 2 + ")"), i.centerLabel && o.attr("transform", "translate(" + -l.width / 2 + ", " + -l.height / 2 + ")"), o.insert("rect", ":first-child"), {
124
- shapeSvg: e,
125
- bbox: l,
126
- halfPadding: c,
127
- label: o
128
- };
129
- }, "insertLabel"), I = /* @__PURE__ */ o((e, t, n) => {
130
- if (n) {
131
- e.width = n.width, e.height = n.height;
132
- return;
133
- }
134
- let r = t.node().getBBox();
135
- e.width = r.width, e.height = r.height;
136
- }, "updateNodeBounds"), L = /* @__PURE__ */ o((e, t) => (e.look === "handDrawn" ? "rough-node" : "node") + " " + e.cssClasses + " " + (t || ""), "getNodeClasses");
137
- function R(e) {
138
- let t = e.map((e, t) => `${t === 0 ? "M" : "L"}${e.x},${e.y}`);
139
- return t.push("Z"), t.join(" ");
140
- }
141
- o(R, "createPathFromPoints");
142
- function z(e, t, n, r, i, a) {
143
- let o = [], s = n - e, c = r - t, l = s / a, u = 2 * Math.PI / l, d = t + c / 2;
144
- for (let t = 0; t <= 50; t++) {
145
- let n = e + t / 50 * s, r = d + i * Math.sin(u * (n - e));
146
- o.push({
147
- x: n,
148
- y: r
149
- });
150
- }
151
- return o;
152
- }
153
- o(z, "generateFullSineWavePoints");
154
- function B(e, t, n, r, i, a) {
155
- let o = [], s = i * Math.PI / 180, c = (a * Math.PI / 180 - s) / (r - 1);
156
- for (let i = 0; i < r; i++) {
157
- let r = s + i * c, a = e + n * Math.cos(r), l = t + n * Math.sin(r);
158
- o.push({
159
- x: -a,
160
- y: -l
161
- });
162
- }
163
- return o;
164
- }
165
- o(B, "generateCirclePoints");
166
- function ee(e) {
167
- let t = Array.from(e.childNodes).filter((e) => e.tagName === "path"), n = document.createElementNS("http://www.w3.org/2000/svg", "path"), r = t.map((e) => e.getAttribute("d")).filter((e) => e !== null).join(" ");
168
- n.setAttribute("d", r);
169
- let i = t.find((e) => e.getAttribute("fill") !== "none"), a = t.find((e) => e.getAttribute("stroke") !== "none"), s = /* @__PURE__ */ o((e, t) => e?.getAttribute(t) ?? void 0, "getAttr");
170
- if (i) {
171
- let e = {
172
- fill: s(i, "fill"),
173
- "fill-opacity": s(i, "fill-opacity") ?? "1"
174
- };
175
- Object.entries(e).forEach(([e, t]) => {
176
- t && n.setAttribute(e, t);
177
- });
178
- }
179
- if (a) {
180
- let e = {
181
- stroke: s(a, "stroke"),
182
- "stroke-width": s(a, "stroke-width") ?? "1",
183
- "stroke-opacity": s(a, "stroke-opacity") ?? "1"
184
- };
185
- Object.entries(e).forEach(([e, t]) => {
186
- t && n.setAttribute(e, t);
187
- });
188
- }
189
- let c = document.createElementNS("http://www.w3.org/2000/svg", "g");
190
- return c.appendChild(n), c;
191
- }
192
- o(ee, "mergePaths");
193
- var V = /* @__PURE__ */ o((e, t) => {
194
- var n = e.x, r = e.y, i = t.x - n, a = t.y - r, o = e.width / 2, s = e.height / 2, c, l;
195
- return Math.abs(a) * o > Math.abs(i) * s ? (a < 0 && (s = -s), c = a === 0 ? 0 : s * i / a, l = s) : (i < 0 && (o = -o), c = o, l = i === 0 ? 0 : o * a / i), {
196
- x: n + c,
197
- y: r + l
198
- };
199
- }, "intersectRect");
200
- function te(e, t) {
201
- return e.intersect(t);
202
- }
203
- o(te, "intersectNode");
204
- var H = te;
205
- function U(e, t, n, r) {
206
- var i = e.x, a = e.y, o = i - r.x, s = a - r.y, c = Math.sqrt(t * t * s * s + n * n * o * o), l = Math.abs(t * n * o / c);
207
- r.x < i && (l = -l);
208
- var u = Math.abs(t * n * s / c);
209
- return r.y < a && (u = -u), {
210
- x: i + l,
211
- y: a + u
212
- };
213
- }
214
- o(U, "intersectEllipse");
215
- var ne = U;
216
- function re(e, t, n) {
217
- return ne(e, t, t, n);
218
- }
219
- o(re, "intersectCircle");
220
- var ie = re;
221
- function W(e, t, n, r) {
222
- {
223
- let i = t.y - e.y, a = e.x - t.x, o = t.x * e.y - e.x * t.y, s = i * n.x + a * n.y + o, c = i * r.x + a * r.y + o, l = 1e-6;
224
- if (s !== 0 && c !== 0 && G(s, c)) return;
225
- let u = r.y - n.y, d = n.x - r.x, f = r.x * n.y - n.x * r.y, p = u * e.x + d * e.y + f, m = u * t.x + d * t.y + f;
226
- if (Math.abs(p) < l && Math.abs(m) < l && G(p, m)) return;
227
- let h = i * d - u * a;
228
- return h === 0 ? void 0 : {
229
- x: (a * f - d * o) / h,
230
- y: (u * o - i * f) / h
231
- };
232
- }
233
- }
234
- o(W, "intersectLine");
235
- function G(e, t) {
236
- return e * t > 0;
237
- }
238
- o(G, "sameSign");
239
- var ae = W;
240
- function oe(e, t, n) {
241
- let r = e.x, i = e.y, a = [], o = Infinity, s = Infinity;
242
- typeof t.forEach == "function" ? t.forEach(function(e) {
243
- o = Math.min(o, e.x), s = Math.min(s, e.y);
244
- }) : (o = Math.min(o, t.x), s = Math.min(s, t.y));
245
- let c = r - e.width / 2 - o, l = i - e.height / 2 - s;
246
- for (let r = 0; r < t.length; r++) {
247
- let i = t[r], o = t[r < t.length - 1 ? r + 1 : 0], s = ae(e, n, {
248
- x: c + i.x,
249
- y: l + i.y
250
- }, {
251
- x: c + o.x,
252
- y: l + o.y
253
- });
254
- s && a.push(s);
255
- }
256
- return a.length ? (a.length > 1 && a.sort(function(e, t) {
257
- let r = e.x - n.x, i = e.y - n.y, a = Math.sqrt(r * r + i * i), o = t.x - n.x, s = t.y - n.y, c = Math.sqrt(o * o + s * s);
258
- return a < c ? -1 : a === c ? 0 : 1;
259
- }), a[0]) : e;
260
- }
261
- o(oe, "intersectPolygon");
262
- var K = {
263
- node: H,
264
- circle: ie,
265
- ellipse: ne,
266
- polygon: oe,
267
- rect: V
268
- }, q = /* @__PURE__ */ o((e, t, n, r, i) => [
269
- "M",
270
- e + i,
271
- t,
272
- "H",
273
- e + n - i,
274
- "A",
275
- i,
276
- i,
277
- 0,
278
- 0,
279
- 1,
280
- e + n,
281
- t + i,
282
- "V",
283
- t + r - i,
284
- "A",
285
- i,
286
- i,
287
- 0,
288
- 0,
289
- 1,
290
- e + n - i,
291
- t + r,
292
- "H",
293
- e + i,
294
- "A",
295
- i,
296
- i,
297
- 0,
298
- 0,
299
- 1,
300
- e,
301
- t + r - i,
302
- "V",
303
- t + i,
304
- "A",
305
- i,
306
- i,
307
- 0,
308
- 0,
309
- 1,
310
- e + i,
311
- t,
312
- "Z"
313
- ].join(" "), "createRoundedRectPathD"), se = /* @__PURE__ */ o(async (e, t, n, r = !1, i = !1) => {
314
- let a = t || "";
315
- typeof a == "object" && (a = a[0]);
316
- let o = m(), s = u(o);
317
- return await v(e, a, {
318
- style: n,
319
- isTitle: r,
320
- useHtmlLabels: s,
321
- markdown: !1,
322
- isNode: i,
323
- width: Infinity
324
- }, o);
325
- }, "createLabel");
326
- function ce(t, n) {
327
- let { labelStyles: r } = x(n);
328
- n.labelStyle = r;
329
- let i = L(n), o = i;
330
- i || (o = "anchor");
331
- let s = t.insert("g").attr("class", o).attr("id", n.domId || n.id), { cssStyles: c } = n, l = T.svg(s), u = b(n, {
332
- fill: "black",
333
- stroke: "none",
334
- fillStyle: "solid"
335
- });
336
- n.look !== "handDrawn" && (u.roughness = 0);
337
- let d = l.circle(0, 0, 2, u), f = s.insert(() => d, ":first-child");
338
- return f.attr("class", "anchor").attr("style", a(c)), I(n, f), n.intersect = function(t) {
339
- return e.info("Circle intersect", n, 1, t), K.circle(n, 1, t);
340
- }, s;
341
- }
342
- o(ce, "anchor");
343
- function le(e, t, n, r, i, a, o) {
344
- let s = (e + n) / 2, c = (t + r) / 2, l = Math.atan2(r - t, n - e), u = (n - e) / 2, d = (r - t) / 2, f = u / i, p = d / a, m = Math.sqrt(f ** 2 + p ** 2);
345
- if (m > 1) throw Error("The given radii are too small to create an arc between the points.");
346
- let h = Math.sqrt(1 - m ** 2), g = s + h * a * Math.sin(l) * (o ? -1 : 1), _ = c - h * i * Math.cos(l) * (o ? -1 : 1), v = Math.atan2((t - _) / a, (e - g) / i), y = Math.atan2((r - _) / a, (n - g) / i) - v;
347
- o && y < 0 && (y += 2 * Math.PI), !o && y > 0 && (y -= 2 * Math.PI);
348
- let b = [];
349
- for (let e = 0; e < 20; e++) {
350
- let t = v + e / 19 * y, n = g + i * Math.cos(t), r = _ + a * Math.sin(t);
351
- b.push({
352
- x: n,
353
- y: r
354
- });
355
- }
356
- return b;
357
- }
358
- o(le, "generateArcPoints");
359
- function ue(e, t, n) {
360
- let [r, i] = [t, n].sort((e, t) => t - e);
361
- return i * (1 - Math.sqrt(1 - (e / r / 2) ** 2));
362
- }
363
- o(ue, "calculateArcSagitta");
364
- async function de(e, t) {
365
- let { labelStyles: n, nodeStyles: r } = x(t);
366
- t.labelStyle = n;
367
- let i = t.padding ?? 0, a = t.look === "neo" ? 16 : i, s = t.look === "neo" ? 12 : i, c = /* @__PURE__ */ o((e) => e + s, "calcTotalHeight"), l = /* @__PURE__ */ o((e) => {
368
- let t = e / 2;
369
- return [t / (2.5 + e / 50), t];
370
- }, "calcEllipseRadius"), { shapeSvg: u, bbox: d } = await P(e, t, L(t)), f = c(t?.height ? t?.height : d.height), [p, m] = l(f), h = ue(f, p, m), g = (t?.width ? t?.width : d.width) + a * 2 + h - h, _ = f, { cssStyles: v } = t, y = [
371
- {
372
- x: g / 2,
373
- y: -_ / 2
374
- },
375
- {
376
- x: -g / 2,
377
- y: -_ / 2
378
- },
379
- ...le(-g / 2, -_ / 2, -g / 2, _ / 2, p, m, !1),
380
- {
381
- x: g / 2,
382
- y: _ / 2
383
- },
384
- ...le(g / 2, _ / 2, g / 2, -_ / 2, p, m, !0)
385
- ], S = T.svg(u), C = b(t, {});
386
- t.look !== "handDrawn" && (C.roughness = 0, C.fillStyle = "solid");
387
- let w = R(y), E = S.path(w, C), D = u.insert(() => E, ":first-child");
388
- return D.attr("class", "basic label-container outer-path"), v && t.look !== "handDrawn" && D.selectAll("path").attr("style", v), r && t.look !== "handDrawn" && D.selectAll("path").attr("style", r), D.attr("transform", `translate(${p / 2}, 0)`), I(t, D), t.intersect = function(e) {
389
- return K.polygon(t, y, e);
390
- }, u;
391
- }
392
- o(de, "bowTieRect");
393
- async function fe(e, t, { config: { themeVariables: n } }) {
394
- let { labelStyles: r, nodeStyles: i } = x(t);
395
- t.labelStyle = r;
396
- let { shapeSvg: a, bbox: s, label: c } = await P(e, t, L(t)), l = n?.nodeBorder ?? n?.lineColor ?? "currentColor", u = t.padding ?? 12, d = Math.max(s.width + u * 2, t.width ?? 0, 80), f = Math.max(Math.min(d * .08, 12), 5), p = Math.max(s.height + u * 2 + f, t.height ?? 0), m = -p / 2 + f, h = p / 2, g = d * .72, _ = [
397
- `M${-d / 2},${m}`,
398
- `L${-g / 2},${h}`,
399
- `A${g / 2},${f} 0 0 0 ${g / 2},${h}`,
400
- `L${d / 2},${m}`,
401
- `A${d / 2},${f} 0 0 0 ${-d / 2},${m}`,
402
- "Z"
403
- ].join(" "), { cssStyles: v } = t, y = a.insert("g", ":first-child").attr("class", "basic label-container");
404
- if (t.look === "handDrawn") {
405
- let e = T.svg(a).path(_, b(t, {}));
406
- y.node()?.appendChild(e), v && y.attr("style", v);
407
- } else y.append("path").attr("d", _).attr("style", i);
408
- y.append("ellipse").attr("cx", 0).attr("cy", m).attr("rx", d / 2).attr("ry", f).attr("style", `fill:none;stroke:${l};stroke-width:1px`), I(t, y);
409
- let S = m + (h - m) / 2;
410
- c.attr("transform", `translate(${-(s.width / 2) - (s.x - (s.left ?? 0))}, ${S - s.height / 2 - (s.y - (s.top ?? 0))})`);
411
- let C = /* @__PURE__ */ o((e, t, n) => Array.from({ length: 13 }, (r, i) => {
412
- let a = Math.PI - i * Math.PI / 12;
413
- return {
414
- x: e * Math.cos(a),
415
- y: t + n * f * Math.sin(a)
416
- };
417
- }), "arc"), w = [...C(d / 2, m, -1), ...C(g / 2, h, 1).reverse()];
418
- return t.intersect = function(e) {
419
- return K.polygon(t, w, e);
420
- }, a;
421
- }
422
- o(fe, "bucket");
423
- var pe = 20, me = 8, he = 80, ge = 8;
424
- function _e(e) {
425
- let { themeVariables: t } = m(), n = t.clusterBkg, r = t.clusterBorder;
426
- switch (e) {
427
- case "flow": return {
428
- rx: 10,
429
- fill: "none",
430
- stroke: t.flowContainerStroke || t.secondaryBorderColor,
431
- strokeWidth: .75,
432
- cssClass: "flow-collapsed"
433
- };
434
- default: return {
435
- rx: ge,
436
- fill: n,
437
- stroke: r,
438
- cssClass: "collapsed-group"
439
- };
440
- }
441
- }
442
- o(_e, "getCollapsedStyle");
443
- async function ve(e, t) {
444
- let n = _e(t.metadata?.containerType), { fill: r, stroke: i } = n, { nodeStyles: o } = x(t), { shapeSvg: s, bbox: c } = await P(e, t, L(t)), { theme: l, themeVariables: d } = m();
445
- w(s, t.colorIndex, l, d.borderColorArray);
446
- let f = t.padding ?? 8, p = c.height, h = Math.max(c.width + f * 2, he, t?.width ?? 0), g = Math.max(p + me + pe + f * 2, t?.height ?? 0), _ = -h / 2, v = -g / 2, y = -(me + pe) / 2, S = s.select(".label");
447
- S && (t.useHtmlLabels ?? u(m()) ? S.attr("transform", `translate(${-c.width / 2}, ${-c.height / 2 + y})`) : S.attr("transform", `translate(0, ${-c.height / 2 + y})`));
448
- let C;
449
- if (t.look === "handDrawn") {
450
- let e = T.svg(s), o = b(t, {
451
- fill: r,
452
- stroke: i,
453
- ...n.strokeWidth === void 0 ? {} : { strokeWidth: n.strokeWidth },
454
- ...r === "none" ? { fillWeight: 0 } : { fillStyle: "solid" }
455
- }), c = e.path(q(_, v, h, g, n.rx), o);
456
- C = s.insert(() => c, ":first-child"), C.attr("class", "basic label-container " + n.cssClass).attr("style", a(t.cssStyles));
457
- } else C = s.insert("rect", ":first-child"), C.attr("class", "basic label-container " + n.cssClass).attr("style", o).attr("rx", n.rx).attr("ry", n.rx).attr("x", _).attr("y", v).attr("width", h).attr("height", g).attr("fill", r).attr("stroke", i), n.strokeWidth !== void 0 && C.attr("stroke-width", n.strokeWidth + "px");
458
- let E = v + f + p + me;
459
- s.append("line").attr("class", "collapsed-separator").attr("x1", _ + 8).attr("y1", E).attr("x2", _ + h - 8).attr("y2", E).attr("stroke", i).attr("stroke-dasharray", "3, 3");
460
- let D = E + pe / 2;
461
- for (let e = -1; e <= 1; e++) s.append("circle").attr("class", "collapsed-indicator").attr("cx", e * 10).attr("cy", D).attr("r", 2.5).attr("fill", i);
462
- return I(t, C), t.calcIntersect = function(e, t) {
463
- return K.rect(e, t);
464
- }, t.intersect = function(e) {
465
- return K.rect(t, e);
466
- }, s;
467
- }
468
- o(ve, "collapsedGroup");
469
- function J(e, t, n, r) {
470
- return e.insert("polygon", ":first-child").attr("points", r.map(function(e) {
471
- return e.x + "," + e.y;
472
- }).join(" ")).attr("class", "label-container").attr("transform", "translate(" + -t / 2 + "," + n / 2 + ")");
473
- }
474
- o(J, "insertPolygonShape");
475
- var ye = [
476
- "right",
477
- "left",
478
- "up",
479
- "down"
480
- ], be = "point", xe = /* @__PURE__ */ o((e) => {
481
- let t = /* @__PURE__ */ new Set();
482
- for (let n of e) switch (n) {
483
- case "x":
484
- t.add("right"), t.add("left");
485
- break;
486
- case "y":
487
- t.add("up"), t.add("down");
488
- break;
489
- default:
490
- t.add(n);
491
- break;
492
- }
493
- return t;
494
- }, "expandAndDeduplicateDirections"), Se = /* @__PURE__ */ o((e) => ye.filter((t) => e.has(t)).join("|") || be, "getDirectionKey"), Ce = {
495
- "right|left|up|down": /* @__PURE__ */ o(({ height: e, midpoint: t, padding: n, width: r }) => [
496
- {
497
- x: 0,
498
- y: 0
499
- },
500
- {
501
- x: t,
502
- y: 0
503
- },
504
- {
505
- x: r / 2,
506
- y: 2 * n
507
- },
508
- {
509
- x: r - t,
510
- y: 0
511
- },
512
- {
513
- x: r,
514
- y: 0
515
- },
516
- {
517
- x: r,
518
- y: -e / 3
519
- },
520
- {
521
- x: r + 2 * n,
522
- y: -e / 2
523
- },
524
- {
525
- x: r,
526
- y: -2 * e / 3
527
- },
528
- {
529
- x: r,
530
- y: -e
531
- },
532
- {
533
- x: r - t,
534
- y: -e
535
- },
536
- {
537
- x: r / 2,
538
- y: -e - 2 * n
539
- },
540
- {
541
- x: t,
542
- y: -e
543
- },
544
- {
545
- x: 0,
546
- y: -e
547
- },
548
- {
549
- x: 0,
550
- y: -2 * e / 3
551
- },
552
- {
553
- x: -2 * n,
554
- y: -e / 2
555
- },
556
- {
557
- x: 0,
558
- y: -e / 3
559
- }
560
- ], "right|left|up|down"),
561
- "right|left|up": /* @__PURE__ */ o(({ height: e, midpoint: t, width: n }) => [
562
- {
563
- x: t,
564
- y: 0
565
- },
566
- {
567
- x: n - t,
568
- y: 0
569
- },
570
- {
571
- x: n,
572
- y: -e / 2
573
- },
574
- {
575
- x: n - t,
576
- y: -e
577
- },
578
- {
579
- x: t,
580
- y: -e
581
- },
582
- {
583
- x: 0,
584
- y: -e / 2
585
- }
586
- ], "right|left|up"),
587
- "right|left|down": /* @__PURE__ */ o(({ height: e, midpoint: t, width: n }) => [
588
- {
589
- x: 0,
590
- y: 0
591
- },
592
- {
593
- x: t,
594
- y: -e
595
- },
596
- {
597
- x: n - t,
598
- y: -e
599
- },
600
- {
601
- x: n,
602
- y: 0
603
- }
604
- ], "right|left|down"),
605
- "right|up|down": /* @__PURE__ */ o(({ height: e, midpoint: t, width: n }) => [
606
- {
607
- x: 0,
608
- y: 0
609
- },
610
- {
611
- x: n,
612
- y: -t
613
- },
614
- {
615
- x: n,
616
- y: -e + t
617
- },
618
- {
619
- x: 0,
620
- y: -e
621
- }
622
- ], "right|up|down"),
623
- "left|up|down": /* @__PURE__ */ o(({ height: e, midpoint: t, width: n }) => [
624
- {
625
- x: n,
626
- y: 0
627
- },
628
- {
629
- x: 0,
630
- y: -t
631
- },
632
- {
633
- x: 0,
634
- y: -e + t
635
- },
636
- {
637
- x: n,
638
- y: -e
639
- }
640
- ], "left|up|down"),
641
- "right|left": /* @__PURE__ */ o(({ height: e, midpoint: t, padding: n, width: r }) => [
642
- {
643
- x: t,
644
- y: 0
645
- },
646
- {
647
- x: t,
648
- y: -n
649
- },
650
- {
651
- x: r - t,
652
- y: -n
653
- },
654
- {
655
- x: r - t,
656
- y: 0
657
- },
658
- {
659
- x: r,
660
- y: -e / 2
661
- },
662
- {
663
- x: r - t,
664
- y: -e
665
- },
666
- {
667
- x: r - t,
668
- y: -e + n
669
- },
670
- {
671
- x: t,
672
- y: -e + n
673
- },
674
- {
675
- x: t,
676
- y: -e
677
- },
678
- {
679
- x: 0,
680
- y: -e / 2
681
- }
682
- ], "right|left"),
683
- "up|down": /* @__PURE__ */ o(({ height: e, midpoint: t, padding: n, width: r }) => [
684
- {
685
- x: r / 2,
686
- y: 0
687
- },
688
- {
689
- x: 0,
690
- y: -n
691
- },
692
- {
693
- x: t,
694
- y: -n
695
- },
696
- {
697
- x: t,
698
- y: -e + n
699
- },
700
- {
701
- x: 0,
702
- y: -e + n
703
- },
704
- {
705
- x: r / 2,
706
- y: -e
707
- },
708
- {
709
- x: r,
710
- y: -e + n
711
- },
712
- {
713
- x: r - t,
714
- y: -e + n
715
- },
716
- {
717
- x: r - t,
718
- y: -n
719
- },
720
- {
721
- x: r,
722
- y: -n
723
- }
724
- ], "up|down"),
725
- "right|up": /* @__PURE__ */ o(({ height: e, midpoint: t, width: n }) => [
726
- {
727
- x: 0,
728
- y: 0
729
- },
730
- {
731
- x: n,
732
- y: -t
733
- },
734
- {
735
- x: 0,
736
- y: -e
737
- }
738
- ], "right|up"),
739
- "right|down": /* @__PURE__ */ o(({ height: e, width: t }) => [
740
- {
741
- x: 0,
742
- y: 0
743
- },
744
- {
745
- x: t,
746
- y: 0
747
- },
748
- {
749
- x: 0,
750
- y: -e
751
- }
752
- ], "right|down"),
753
- "left|up": /* @__PURE__ */ o(({ height: e, midpoint: t, width: n }) => [
754
- {
755
- x: n,
756
- y: 0
757
- },
758
- {
759
- x: 0,
760
- y: -t
761
- },
762
- {
763
- x: n,
764
- y: -e
765
- }
766
- ], "left|up"),
767
- "left|down": /* @__PURE__ */ o(({ height: e, width: t }) => [
768
- {
769
- x: t,
770
- y: 0
771
- },
772
- {
773
- x: 0,
774
- y: 0
775
- },
776
- {
777
- x: t,
778
- y: -e
779
- }
780
- ], "left|down"),
781
- right: /* @__PURE__ */ o(({ height: e, midpoint: t, padding: n, width: r }) => [
782
- {
783
- x: t,
784
- y: -n
785
- },
786
- {
787
- x: t,
788
- y: -n
789
- },
790
- {
791
- x: r - t,
792
- y: -n
793
- },
794
- {
795
- x: r - t,
796
- y: 0
797
- },
798
- {
799
- x: r,
800
- y: -e / 2
801
- },
802
- {
803
- x: r - t,
804
- y: -e
805
- },
806
- {
807
- x: r - t,
808
- y: -e + n
809
- },
810
- {
811
- x: t,
812
- y: -e + n
813
- },
814
- {
815
- x: t,
816
- y: -e + n
817
- }
818
- ], "right"),
819
- left: /* @__PURE__ */ o(({ height: e, midpoint: t, padding: n, width: r }) => [
820
- {
821
- x: t,
822
- y: 0
823
- },
824
- {
825
- x: t,
826
- y: -n
827
- },
828
- {
829
- x: r - t,
830
- y: -n
831
- },
832
- {
833
- x: r - t,
834
- y: -e + n
835
- },
836
- {
837
- x: t,
838
- y: -e + n
839
- },
840
- {
841
- x: t,
842
- y: -e
843
- },
844
- {
845
- x: 0,
846
- y: -e / 2
847
- }
848
- ], "left"),
849
- up: /* @__PURE__ */ o(({ height: e, midpoint: t, padding: n, width: r }) => [
850
- {
851
- x: t,
852
- y: -n
853
- },
854
- {
855
- x: t,
856
- y: -e + n
857
- },
858
- {
859
- x: 0,
860
- y: -e + n
861
- },
862
- {
863
- x: r / 2,
864
- y: -e
865
- },
866
- {
867
- x: r,
868
- y: -e + n
869
- },
870
- {
871
- x: r - t,
872
- y: -e + n
873
- },
874
- {
875
- x: r - t,
876
- y: -n
877
- }
878
- ], "up"),
879
- down: /* @__PURE__ */ o(({ height: e, midpoint: t, padding: n, width: r }) => [
880
- {
881
- x: r / 2,
882
- y: 0
883
- },
884
- {
885
- x: 0,
886
- y: -n
887
- },
888
- {
889
- x: t,
890
- y: -n
891
- },
892
- {
893
- x: t,
894
- y: -e + n
895
- },
896
- {
897
- x: r - t,
898
- y: -e + n
899
- },
900
- {
901
- x: r - t,
902
- y: -n
903
- },
904
- {
905
- x: r,
906
- y: -n
907
- }
908
- ], "down"),
909
- [be]: () => [{
910
- x: 0,
911
- y: 0
912
- }]
913
- }, we = /* @__PURE__ */ o((e, t, n, r) => {
914
- let i = xe(e), a = (n.padding ?? 0) / 2, o = t.height + 4 * a, s = o / 2, c = r ?? t.width + 2 * s + 2 * a;
915
- return (Ce[Se(i)] ?? Ce[be])({
916
- height: o,
917
- midpoint: s,
918
- padding: a,
919
- width: c
920
- });
921
- }, "getArrowPoints");
922
- async function Te(e, t) {
923
- let n = t, { shapeSvg: r, bbox: i } = await P(e, n, L(n)), a = n.padding ?? 0, o = i.height + 2 * a, s = o / 2, c = i.width + 2 * s + a, l = n.width ?? 0, u = n.positioned && (n.widthInColumns ?? 1) > 1 && l > c ? l : c, d = we(n.directions ?? [], i, n, u), f = J(r, u, o, d);
924
- return f.attr("style", n.style ?? null), I(n, f), n.intersect = function(e) {
925
- return K.polygon(n, d, e);
926
- }, r;
927
- }
928
- o(Te, "block_arrow");
929
- async function Ee(e, t, { config: { themeVariables: n } }) {
930
- let { labelStyles: r, nodeStyles: i } = x(t);
931
- t.labelStyle = r;
932
- let { shapeSvg: a, bbox: o, label: s } = await P(e, t, L(t)), c = n?.nodeBorder ?? n?.lineColor ?? "currentColor", l = t.padding ?? 12, u = Math.max(o.width + l * 2, t.width ?? 0, 90), d = Math.max(o.height + l * 2 + 18, t.height ?? 0), f = -d / 2, { cssStyles: p } = t, m = a.insert("g", ":first-child").attr("class", "basic label-container");
933
- if (t.look === "handDrawn") {
934
- let e = T.svg(a).path(q(-u / 2, f, u, d, 12), b(t, {}));
935
- m.node()?.appendChild(e), p && m.attr("style", p);
936
- } else m.append("rect").attr("x", -u / 2).attr("y", f).attr("width", u).attr("height", d).attr("rx", 12).attr("ry", 12).attr("style", i);
937
- m.append("line").attr("x1", -u / 2).attr("y1", f + 18).attr("x2", u / 2).attr("y2", f + 18).attr("style", `stroke:${c};stroke-width:1px`);
938
- for (let e = 0; e < 3; e++) m.append("circle").attr("cx", -u / 2 + 12 + e * 9).attr("cy", f + 18 / 2).attr("r", 2.5).attr("style", `fill:${c};stroke:none`);
939
- m.append("rect").attr("class", "browser-address-bar").attr("x", -u / 2 + 44).attr("y", f + 4).attr("width", Math.max(u - 56, 10)).attr("height", 10).attr("rx", 3).attr("ry", 3).attr("style", `fill:none;stroke:${c};stroke-width:1px;opacity:0.6`), I(t, m);
940
- let h = f + 18 + (d - 18) / 2;
941
- return s.attr("transform", `translate(${-(o.width / 2) - (o.x - (o.left ?? 0))}, ${h - o.height / 2 - (o.y - (o.top ?? 0))})`), t.intersect = function(e) {
942
- return K.rect(t, e);
943
- }, a;
944
- }
945
- o(Ee, "browser");
946
- var De = 12;
947
- async function Oe(e, t) {
948
- let { labelStyles: n, nodeStyles: r } = x(t);
949
- t.labelStyle = n;
950
- let i = t.padding ?? 0, a = t.look === "neo" ? 28 : i, o = t.look === "neo" ? 24 : i, { shapeSvg: s, bbox: c } = await P(e, t, L(t)), l = (t?.width ?? c.width) + (t.look === "neo" ? a * 2 : a + De), u = (t?.height ?? c.height) + (t.look === "neo" ? o * 2 : o), d = l, f = -u, p = [
951
- {
952
- x: 0 + De,
953
- y: f
954
- },
955
- {
956
- x: d,
957
- y: f
958
- },
959
- {
960
- x: d,
961
- y: 0
962
- },
963
- {
964
- x: 0,
965
- y: 0
966
- },
967
- {
968
- x: 0,
969
- y: f + De
970
- },
971
- {
972
- x: 0 + De,
973
- y: f
974
- }
975
- ], m, { cssStyles: h } = t;
976
- if (t.look === "handDrawn") {
977
- let e = T.svg(s), n = b(t, {}), r = R(p), i = e.path(r, n);
978
- m = s.insert(() => i, ":first-child").attr("transform", `translate(${-l / 2}, ${u / 2})`), h && m.attr("style", h);
979
- } else m = J(s, l, u, p);
980
- return r && m.attr("style", r), I(t, m), t.intersect = function(e) {
981
- return K.polygon(t, p, e);
982
- }, s;
983
- }
984
- o(Oe, "card");
985
- function ke(e, t) {
986
- let { nodeStyles: n } = x(t);
987
- t.label = "";
988
- let r = e.insert("g").attr("class", L(t)).attr("id", t.domId ?? t.id), { cssStyles: i } = t, a = Math.max(28, t.width ?? 0), o = [
989
- {
990
- x: 0,
991
- y: a / 2
992
- },
993
- {
994
- x: a / 2,
995
- y: 0
996
- },
997
- {
998
- x: 0,
999
- y: -a / 2
1000
- },
1001
- {
1002
- x: -a / 2,
1003
- y: 0
1004
- }
1005
- ], s = T.svg(r), c = b(t, {});
1006
- t.look !== "handDrawn" && (c.roughness = 0, c.fillStyle = "solid");
1007
- let l = R(o), u = s.path(l, c), d = r.insert(() => u, ":first-child");
1008
- return i && t.look !== "handDrawn" && d.selectAll("path").attr("style", i), n && t.look !== "handDrawn" && d.selectAll("path").attr("style", n), t.width = 28, t.height = 28, t.intersect = function(e) {
1009
- return K.polygon(t, o, e);
1010
- }, r;
1011
- }
1012
- o(ke, "choice");
1013
- async function Ae(t, n, r) {
1014
- let { labelStyles: i, nodeStyles: o } = x(n);
1015
- n.labelStyle = i;
1016
- let { shapeSvg: s, bbox: c, halfPadding: l } = await P(t, n, L(n)), u = r?.padding ?? l, d = Math.sqrt(c.width ** 2 + c.height ** 2) / 2, f = n.look === "neo" ? d + 32 : d + u, p, { cssStyles: m } = n;
1017
- if (n.look === "handDrawn") {
1018
- let e = T.svg(s), t = b(n, {}), r = e.circle(0, 0, f * 2, t);
1019
- p = s.insert(() => r, ":first-child"), p.attr("class", "basic label-container").attr("style", a(m));
1020
- } else p = s.insert("circle", ":first-child").attr("class", "basic label-container").attr("style", o).attr("r", f).attr("cx", 0).attr("cy", 0);
1021
- return I(n, p), n.calcIntersect = function(e, t) {
1022
- let n = e.width / 2;
1023
- return K.circle(e, n, t);
1024
- }, n.intersect = function(t) {
1025
- return e.info("Circle intersect", n, f, t), K.circle(n, f, t);
1026
- }, s;
1027
- }
1028
- o(Ae, "circle");
1029
- async function je(e, t) {
1030
- let n = t, { shapeSvg: r, bbox: i, halfPadding: a } = await P(e, n, [
1031
- "node",
1032
- n.cssClasses,
1033
- n.class
1034
- ].filter(Boolean).join(" ")), o = r.insert("rect", ":first-child"), s = n.padding ?? 0, c = n.positioned ? n.width ?? 0 : i.width + s, l = n.positioned ? n.height ?? 0 : i.height + s, u = n.positioned ? -c / 2 : -i.width / 2 - a, d = n.positioned ? -l / 2 : -i.height / 2 - a;
1035
- return o.attr("class", "basic cluster composite label-container").attr("style", n.style ?? null).attr("rx", n.rx ?? null).attr("ry", n.ry ?? null).attr("x", u).attr("y", d).attr("width", c).attr("height", l), I(n, o), n.intersect = function(e) {
1036
- return K.rect(n, e);
1037
- }, r;
1038
- }
1039
- o(je, "composite");
1040
- async function Me(e, t, { config: { themeVariables: n } }) {
1041
- let { labelStyles: r, nodeStyles: i } = x(t);
1042
- t.labelStyle = r;
1043
- let { shapeSvg: a, bbox: o, label: s } = await P(e, t, L(t)), c = n?.nodeBorder ?? n?.lineColor ?? "currentColor", l = t.padding ?? 12, u = Math.max(o.width + l * 2, t.width ?? 0, 90), d = Math.max(o.height + l * 2 + 20, t.height ?? 0), f = -d / 2, { cssStyles: p } = t, m = a.insert("g", ":first-child").attr("class", "basic label-container");
1044
- if (t.look === "handDrawn") {
1045
- let e = T.svg(a).path(q(-u / 2, f, u, d, 12), b(t, {}));
1046
- m.node()?.appendChild(e), p && m.attr("style", p);
1047
- } else m.append("rect").attr("x", -u / 2).attr("y", f).attr("width", u).attr("height", d).attr("rx", 12).attr("ry", 12).attr("style", i);
1048
- m.append("text").attr("x", -u / 2 + 12).attr("y", f + 16).attr("class", "console-glyph").attr("style", `font-family:monospace;font-weight:bold;font-size:14px;fill:${c}`).text(">_"), I(t, m);
1049
- let h = f + 20 + (d - 20) / 2;
1050
- return s.attr("transform", `translate(${-(o.width / 2) - (o.x - (o.left ?? 0))}, ${h - o.height / 2 - (o.y - (o.top ?? 0))})`), t.intersect = function(e) {
1051
- return K.rect(t, e);
1052
- }, a;
1053
- }
1054
- o(Me, "consoleWindow");
1055
- function Ne(e) {
1056
- let t = Math.cos(Math.PI / 4), n = Math.sin(Math.PI / 4), r = e * 2, i = {
1057
- x: r / 2 * t,
1058
- y: r / 2 * n
1059
- }, a = {
1060
- x: -(r / 2) * t,
1061
- y: r / 2 * n
1062
- }, o = {
1063
- x: -(r / 2) * t,
1064
- y: -(r / 2) * n
1065
- }, s = {
1066
- x: r / 2 * t,
1067
- y: -(r / 2) * n
1068
- };
1069
- return `M ${a.x},${a.y} L ${s.x},${s.y}
1070
- M ${i.x},${i.y} L ${o.x},${o.y}`;
1071
- }
1072
- o(Ne, "createLine");
1073
- function Pe(t, n) {
1074
- let { labelStyles: r, nodeStyles: i } = x(n);
1075
- n.labelStyle = r, n.label = "";
1076
- let a = t.insert("g").attr("class", L(n)).attr("id", n.domId ?? n.id), o = Math.max(30, n?.width ?? 0), { cssStyles: s } = n, c = T.svg(a), l = b(n, {});
1077
- n.look !== "handDrawn" && (l.roughness = 0, l.fillStyle = "solid");
1078
- let u = c.circle(0, 0, o * 2, l), d = Ne(o), f = c.path(d, l), p = a.insert(() => u, ":first-child");
1079
- return p.insert(() => f), p.attr("class", "outer-path"), s && n.look !== "handDrawn" && p.selectAll("path").attr("style", s), i && n.look !== "handDrawn" && p.selectAll("path").attr("style", i), I(n, p), n.intersect = function(t) {
1080
- return e.info("crossedCircle intersect", n, {
1081
- radius: o,
1082
- point: t
1083
- }), K.circle(n, o, t);
1084
- }, a;
1085
- }
1086
- o(Pe, "crossedCircle");
1087
- function Y(e, t, n, r = 100, i = 0, a = 180) {
1088
- let o = [], s = i * Math.PI / 180, c = (a * Math.PI / 180 - s) / (r - 1);
1089
- for (let i = 0; i < r; i++) {
1090
- let r = s + i * c, a = e + n * Math.cos(r), l = t + n * Math.sin(r);
1091
- o.push({
1092
- x: -a,
1093
- y: -l
1094
- });
1095
- }
1096
- return o;
1097
- }
1098
- o(Y, "generateCirclePoints");
1099
- async function Fe(e, t) {
1100
- let { labelStyles: n, nodeStyles: r } = x(t);
1101
- t.labelStyle = n;
1102
- let { shapeSvg: i, bbox: a, label: o } = await P(e, t, L(t)), s = t.look === "neo" ? 18 : t.padding ?? 0, c = t.look === "neo" ? 12 : t.padding ?? 0, l = a.width + s, u = a.height + c, d = Math.max(5, u * .1), { cssStyles: f } = t, p = [
1103
- ...Y(l / 2, -u / 2, d, 30, -90, 0),
1104
- {
1105
- x: -l / 2 - d,
1106
- y: d
1107
- },
1108
- ...Y(l / 2 + d * 2, -d, d, 20, -180, -270),
1109
- ...Y(l / 2 + d * 2, d, d, 20, -90, -180),
1110
- {
1111
- x: -l / 2 - d,
1112
- y: -u / 2
1113
- },
1114
- ...Y(l / 2, u / 2, d, 20, 0, 90)
1115
- ], m = [
1116
- {
1117
- x: l / 2,
1118
- y: -u / 2 - d
1119
- },
1120
- {
1121
- x: -l / 2,
1122
- y: -u / 2 - d
1123
- },
1124
- ...Y(l / 2, -u / 2, d, 20, -90, 0),
1125
- {
1126
- x: -l / 2 - d,
1127
- y: -d
1128
- },
1129
- ...Y(l / 2 + l * .1, -d, d, 20, -180, -270),
1130
- ...Y(l / 2 + l * .1, d, d, 20, -90, -180),
1131
- {
1132
- x: -l / 2 - d,
1133
- y: u / 2
1134
- },
1135
- ...Y(l / 2, u / 2, d, 20, 0, 90),
1136
- {
1137
- x: -l / 2,
1138
- y: u / 2 + d
1139
- },
1140
- {
1141
- x: l / 2,
1142
- y: u / 2 + d
1143
- }
1144
- ], h = T.svg(i), g = b(t, { fill: "none" });
1145
- t.look !== "handDrawn" && (g.roughness = 0, g.fillStyle = "solid");
1146
- let _ = R(p).replace("Z", ""), v = h.path(_, g), y = R(m), S = h.path(y, { ...g }), C = i.insert("g", ":first-child");
1147
- return C.insert(() => S, ":first-child").attr("stroke-opacity", 0), C.insert(() => v, ":first-child"), C.attr("class", "text"), f && t.look !== "handDrawn" && C.selectAll("path").attr("style", f), r && t.look !== "handDrawn" && C.selectAll("path").attr("style", r), C.attr("transform", `translate(${d}, 0)`), o.attr("transform", `translate(${-l / 2 + d - (a.x - (a.left ?? 0))},${-u / 2 + (t.padding ?? 0) / 2 - (a.y - (a.top ?? 0))})`), I(t, C), t.intersect = function(e) {
1148
- return K.polygon(t, m, e);
1149
- }, i;
1150
- }
1151
- o(Fe, "curlyBraceLeft");
1152
- function X(e, t, n, r = 100, i = 0, a = 180) {
1153
- let o = [], s = i * Math.PI / 180, c = (a * Math.PI / 180 - s) / (r - 1);
1154
- for (let i = 0; i < r; i++) {
1155
- let r = s + i * c, a = e + n * Math.cos(r), l = t + n * Math.sin(r);
1156
- o.push({
1157
- x: a,
1158
- y: l
1159
- });
1160
- }
1161
- return o;
1162
- }
1163
- o(X, "generateCirclePoints");
1164
- async function Ie(e, t) {
1165
- let { labelStyles: n, nodeStyles: r } = x(t);
1166
- t.labelStyle = n;
1167
- let { shapeSvg: i, bbox: a, label: o } = await P(e, t, L(t)), s = t.look === "neo" ? 18 : t.padding ?? 0, c = t.look === "neo" ? 12 : t.padding ?? 0, l = a.width + (t.look === "neo" ? s * 2 : s), u = a.height + (t.look === "neo" ? c * 2 : c), d = Math.max(5, u * .1), { cssStyles: f } = t, p = [
1168
- ...X(l / 2, -u / 2, d, 20, -90, 0),
1169
- {
1170
- x: l / 2 + d,
1171
- y: -d
1172
- },
1173
- ...X(l / 2 + d * 2, -d, d, 20, -180, -270),
1174
- ...X(l / 2 + d * 2, d, d, 20, -90, -180),
1175
- {
1176
- x: l / 2 + d,
1177
- y: u / 2
1178
- },
1179
- ...X(l / 2, u / 2, d, 20, 0, 90)
1180
- ], m = [
1181
- {
1182
- x: -l / 2,
1183
- y: -u / 2 - d
1184
- },
1185
- {
1186
- x: l / 2,
1187
- y: -u / 2 - d
1188
- },
1189
- ...X(l / 2, -u / 2, d, 20, -90, 0),
1190
- {
1191
- x: l / 2 + d,
1192
- y: -d
1193
- },
1194
- ...X(l / 2 + d * 2, -d, d, 20, -180, -270),
1195
- ...X(l / 2 + d * 2, d, d, 20, -90, -180),
1196
- {
1197
- x: l / 2 + d,
1198
- y: u / 2
1199
- },
1200
- ...X(l / 2, u / 2, d, 20, 0, 90),
1201
- {
1202
- x: l / 2,
1203
- y: u / 2 + d
1204
- },
1205
- {
1206
- x: -l / 2,
1207
- y: u / 2 + d
1208
- }
1209
- ], h = T.svg(i), g = b(t, { fill: "none" });
1210
- t.look !== "handDrawn" && (g.roughness = 0, g.fillStyle = "solid");
1211
- let _ = R(p).replace("Z", ""), v = h.path(_, g), y = R(m), S = h.path(y, { ...g }), C = i.insert("g", ":first-child");
1212
- return C.insert(() => S, ":first-child").attr("stroke-opacity", 0), C.insert(() => v, ":first-child"), C.attr("class", "text"), f && t.look !== "handDrawn" && C.selectAll("path").attr("style", f), r && t.look !== "handDrawn" && C.selectAll("path").attr("style", r), C.attr("transform", `translate(${-d}, 0)`), o.attr("transform", `translate(${-l / 2 + (t.padding ?? 0) / 2 - (a.x - (a.left ?? 0))},${-u / 2 + (t.padding ?? 0) / 2 - (a.y - (a.top ?? 0))})`), I(t, C), t.intersect = function(e) {
1213
- return K.polygon(t, m, e);
1214
- }, i;
1215
- }
1216
- o(Ie, "curlyBraceRight");
1217
- function Z(e, t, n, r = 100, i = 0, a = 180) {
1218
- let o = [], s = i * Math.PI / 180, c = (a * Math.PI / 180 - s) / (r - 1);
1219
- for (let i = 0; i < r; i++) {
1220
- let r = s + i * c, a = e + n * Math.cos(r), l = t + n * Math.sin(r);
1221
- o.push({
1222
- x: -a,
1223
- y: -l
1224
- });
1225
- }
1226
- return o;
1227
- }
1228
- o(Z, "generateCirclePoints");
1229
- async function Le(e, t) {
1230
- let { labelStyles: n, nodeStyles: r } = x(t);
1231
- t.labelStyle = n;
1232
- let { shapeSvg: i, bbox: a, label: o } = await P(e, t, L(t)), s = t.look === "neo" ? 18 : t.padding ?? 0, c = t.look === "neo" ? 12 : t.padding ?? 0, l = a.width + (t.look === "neo" ? s * 2 : s), u = a.height + (t.look === "neo" ? c * 2 : c), d = Math.max(5, u * .1), { cssStyles: f } = t, p = [
1233
- ...Z(l / 2, -u / 2, d, 30, -90, 0),
1234
- {
1235
- x: -l / 2 - d,
1236
- y: d
1237
- },
1238
- ...Z(l / 2 + d * 2, -d, d, 20, -180, -270),
1239
- ...Z(l / 2 + d * 2, d, d, 20, -90, -180),
1240
- {
1241
- x: -l / 2 - d,
1242
- y: -u / 2
1243
- },
1244
- ...Z(l / 2, u / 2, d, 20, 0, 90)
1245
- ], m = [
1246
- ...Z(-l / 2 + d + d / 2, -u / 2, d, 20, -90, -180),
1247
- {
1248
- x: l / 2 - d / 2,
1249
- y: d
1250
- },
1251
- ...Z(-l / 2 - d / 2, -d, d, 20, 0, 90),
1252
- ...Z(-l / 2 - d / 2, d, d, 20, -90, 0),
1253
- {
1254
- x: l / 2 - d / 2,
1255
- y: -d
1256
- },
1257
- ...Z(-l / 2 + d + d / 2, u / 2, d, 30, -180, -270)
1258
- ], h = [
1259
- {
1260
- x: l / 2,
1261
- y: -u / 2 - d
1262
- },
1263
- {
1264
- x: -l / 2,
1265
- y: -u / 2 - d
1266
- },
1267
- ...Z(l / 2, -u / 2, d, 20, -90, 0),
1268
- {
1269
- x: -l / 2 - d,
1270
- y: -d
1271
- },
1272
- ...Z(l / 2 + d * 2, -d, d, 20, -180, -270),
1273
- ...Z(l / 2 + d * 2, d, d, 20, -90, -180),
1274
- {
1275
- x: -l / 2 - d,
1276
- y: u / 2
1277
- },
1278
- ...Z(l / 2, u / 2, d, 20, 0, 90),
1279
- {
1280
- x: -l / 2,
1281
- y: u / 2 + d
1282
- },
1283
- {
1284
- x: l / 2 - d - d / 2,
1285
- y: u / 2 + d
1286
- },
1287
- ...Z(-l / 2 + d + d / 2, -u / 2, d, 20, -90, -180),
1288
- {
1289
- x: l / 2 - d / 2,
1290
- y: d
1291
- },
1292
- ...Z(-l / 2 - d / 2, -d, d, 20, 0, 90),
1293
- ...Z(-l / 2 - d / 2, d, d, 20, -90, 0),
1294
- {
1295
- x: l / 2 - d / 2,
1296
- y: -d
1297
- },
1298
- ...Z(-l / 2 + d + d / 2, u / 2, d, 30, -180, -270)
1299
- ], g = T.svg(i), _ = b(t, { fill: "none" });
1300
- t.look !== "handDrawn" && (_.roughness = 0, _.fillStyle = "solid");
1301
- let v = R(p).replace("Z", ""), y = g.path(v, _), S = R(m).replace("Z", ""), C = g.path(S, _), w = R(h), E = g.path(w, { ..._ }), D = i.insert("g", ":first-child");
1302
- return D.insert(() => E, ":first-child").attr("stroke-opacity", 0), D.insert(() => y, ":first-child"), D.insert(() => C, ":first-child"), D.attr("class", "text"), f && t.look !== "handDrawn" && D.selectAll("path").attr("style", f), r && t.look !== "handDrawn" && D.selectAll("path").attr("style", r), D.attr("transform", `translate(${d - d / 4}, 0)`), o.attr("transform", `translate(${-l / 2 + (t.padding ?? 0) / 2 - (a.x - (a.left ?? 0))},${-u / 2 + (t.padding ?? 0) / 2 - (a.y - (a.top ?? 0))})`), I(t, D), t.intersect = function(e) {
1303
- return K.polygon(t, h, e);
1304
- }, i;
1305
- }
1306
- o(Le, "curlyBraces");
1307
- async function Re(e, t) {
1308
- let { labelStyles: n, nodeStyles: r } = x(t);
1309
- t.labelStyle = n;
1310
- let i = t.padding ?? 0, a = t.look === "neo" ? 16 : i, o = t.look === "neo" ? 12 : i, { shapeSvg: s, bbox: c } = await P(e, t, L(t)), l = Math.max(5, c.height + o * 2, t?.height ?? 0), u = l / 2, d = u - Math.sqrt(Math.max(0, u ** 2 - (c.height / 2) ** 2)), f = Math.max(l / 4, d), p = Math.max(20, c.width + a * 2 + f * 2, (c.width + a * 2) * 1.25, t?.width ?? 0), { cssStyles: m } = t, h = T.svg(s), g = b(t, {});
1311
- t.look !== "handDrawn" && (g.roughness = 0, g.fillStyle = "solid");
1312
- let _ = p, v = l, y = _ - u, S = v / 4, C = [
1313
- {
1314
- x: y,
1315
- y: 0
1316
- },
1317
- {
1318
- x: S,
1319
- y: 0
1320
- },
1321
- {
1322
- x: 0,
1323
- y: v / 2
1324
- },
1325
- {
1326
- x: S,
1327
- y: v
1328
- },
1329
- {
1330
- x: y,
1331
- y: v
1332
- },
1333
- ...B(-y, -v / 2, u, 50, 270, 90)
1334
- ], w = R(C), E = h.path(w, g), D = s.insert(() => E, ":first-child");
1335
- return D.attr("class", "basic label-container outer-path"), m && t.look !== "handDrawn" && D.selectChildren("path").attr("style", m), r && t.look !== "handDrawn" && D.selectChildren("path").attr("style", r), D.attr("transform", `translate(${-p / 2}, ${-l / 2})`), I(t, D), t.intersect = function(e) {
1336
- return K.polygon(t, C, e);
1337
- }, s;
1338
- }
1339
- o(Re, "curvedTrapezoid");
1340
- async function ze(e, t) {
1341
- let { labelStyles: n, nodeStyles: r } = x(t);
1342
- t.labelStyle = n;
1343
- let { shapeSvg: i, bbox: a, label: o } = await P(e, t, L(t)), s = t.padding ?? 20, c = Math.max(a.width + s * 2, t.width ?? 0, 100), l = Math.min(Math.max(c * .23, 16), 56), u = l * .27, d = Math.max(a.height + s * 2, t.height ? t.height - (2 * l - u) : 0), f = Math.min(c * .177, d * .45), p = d + 2 * l - u, m = -p / 2, h = m + 2 * l - u, g = i.insert("g", ":first-child").attr("class", "basic label-container"), { cssStyles: _ } = t;
1344
- if (t.look === "handDrawn") {
1345
- let e = T.svg(i), n = b(t, {}), r = e.path(q(-c / 2, h, c, d, f), n), a = e.circle(0, m + l, l * 2, n);
1346
- g.insert(() => a, ":first-child"), g.insert(() => r, ":first-child"), _ && g.attr("style", _);
1347
- } else g.append("rect").attr("x", -c / 2).attr("y", h).attr("width", c).attr("height", d).attr("rx", f).attr("ry", f).attr("style", r), g.append("circle").attr("cx", 0).attr("cy", m + l).attr("r", l).attr("style", r);
1348
- I(t, g);
1349
- let v = h + d / 2;
1350
- o.attr("transform", `translate(${-(a.width / 2) - (a.x - (a.left ?? 0))}, ${v - a.height / 2 - (a.y - (a.top ?? 0))})`);
1351
- let y = m + l, S = Math.asin(Math.min(1, (h - y) / l)) * 180 / Math.PI, C = [
1352
- ...B(0, -y, l, 24, 180 + S, -S),
1353
- ...B(-(-c / 2 + f), -(h + f), f, 12, 90, 0),
1354
- ...B(-(-c / 2 + f), -(p / 2 - f), f, 12, 360, 270),
1355
- ...B(-(c / 2 - f), -(p / 2 - f), f, 12, 270, 180),
1356
- ...B(-(c / 2 - f), -(h + f), f, 12, 180, 90)
1357
- ];
1358
- return t.intersect = function(e) {
1359
- return K.polygon(t, C, e);
1360
- }, i;
1361
- }
1362
- o(ze, "person");
1363
- var Be = /* @__PURE__ */ o((e, t, n, r, i, a) => [
1364
- `M${e},${t + a}`,
1365
- `a${i},${a} 0,0,0 ${n},0`,
1366
- `a${i},${a} 0,0,0 ${-n},0`,
1367
- `l0,${r}`,
1368
- `a${i},${a} 0,0,0 ${n},0`,
1369
- `l0,${-r}`
1370
- ].join(" "), "createCylinderPathD"), Ve = /* @__PURE__ */ o((e, t, n, r, i, a) => [
1371
- `M${e},${t + a}`,
1372
- `M${e + n},${t + a}`,
1373
- `a${i},${a} 0,0,0 ${-n},0`,
1374
- `l0,${r}`,
1375
- `a${i},${a} 0,0,0 ${n},0`,
1376
- `l0,${-r}`
1377
- ].join(" "), "createOuterCylinderPathD"), He = /* @__PURE__ */ o((e, t, n, r, i, a) => [`M${e - n / 2},${-r / 2}`, `a${i},${a} 0,0,0 ${n},0`].join(" "), "createInnerCylinderPathD"), Ue = 8, We = 8;
1378
- async function Ge(e, t) {
1379
- let { labelStyles: n, nodeStyles: r } = x(t);
1380
- t.labelStyle = n;
1381
- let i = t.padding ?? 0, o = t.look === "neo" ? 24 : i, s = t.look === "neo" ? 24 : i, c = t.width ?? 0;
1382
- if (t.width && (t.width -= s, t.width < We && (t.width = We)), t.height) {
1383
- let e = c / 2 / (2.5 + c / 50);
1384
- t.height = t.height - o - e * 3, t.height < Ue && (t.height = Ue);
1385
- }
1386
- let { shapeSvg: l, bbox: u, label: d } = await P(e, t, L(t)), f = Math.max(t.width ?? 0, u.width) + s, p = f / 2, m = p / (2.5 + f / 50), h = Math.max(t.height ?? 0, u.height) + o + m, g, { cssStyles: _ } = t;
1387
- if (t.look === "handDrawn") {
1388
- let e = T.svg(l), n = Ve(0, 0, f, h, p, m), r = He(0, m, f, h, p, m), i = b(t, {}), a = e.path(n, i), o = e.path(r, b(t, { fill: "none" }));
1389
- g = l.insert(() => o, ":first-child"), g = l.insert(() => a, ":first-child"), g.attr("class", "basic label-container"), _ && g.attr("style", _);
1390
- } else {
1391
- let e = Be(0, 0, f, h, p, m);
1392
- g = l.insert("path", ":first-child").attr("d", e).attr("class", "basic label-container outer-path").attr("style", a(_)).attr("style", r);
1393
- }
1394
- return g.attr("label-offset-y", m), g.attr("transform", `translate(${-f / 2}, ${-(h / 2 + m)})`), I(t, g), d.attr("transform", `translate(${-(u.width / 2) - (u.x - (u.left ?? 0))}, ${-(u.height / 2) + (t.padding ?? 0) / 1.5 - (u.y - (u.top ?? 0))})`), t.intersect = function(e) {
1395
- let n = K.rect(t, e), r = n.x - (t.x ?? 0);
1396
- if (p != 0 && (Math.abs(r) < (t.width ?? 0) / 2 || Math.abs(r) == (t.width ?? 0) / 2 && Math.abs(n.y - (t.y ?? 0)) > (t.height ?? 0) / 2 - m)) {
1397
- let i = m * m * (1 - r * r / (p * p));
1398
- i > 0 && (i = Math.sqrt(i)), i = m - i, e.y - (t.y ?? 0) > 0 && (i = -i), n.y += i;
1399
- }
1400
- return n;
1401
- }, l;
1402
- }
1403
- o(Ge, "cylinder");
1404
- async function Ke(e, t, n) {
1405
- let { labelStyles: r, nodeStyles: i } = x(t);
1406
- t.labelStyle = r;
1407
- let { shapeSvg: o, bbox: s } = await P(e, t, L(t)), c = Math.max(s.width + n.labelPaddingX * 2, t?.width || 0), l = Math.max(s.height + n.labelPaddingY * 2, t?.height || 0), u = -c / 2, d = -l / 2, f, { rx: p, ry: m } = t, { cssStyles: h } = t;
1408
- if (n?.rx && n.ry && (p = n.rx, m = n.ry), t.look === "handDrawn") {
1409
- let e = T.svg(o), n = b(t, {}), r = p || m ? e.path(q(u, d, c, l, p || 0), n) : e.rectangle(u, d, c, l, n);
1410
- f = o.insert(() => r, ":first-child"), f.attr("class", "basic label-container").attr("style", a(h));
1411
- } else f = o.insert("rect", ":first-child"), f.attr("class", "basic label-container").attr("style", i).attr("rx", a(p)).attr("ry", a(m)).attr("x", u).attr("y", d).attr("width", c).attr("height", l);
1412
- return I(t, f, t.look === "handDrawn" ? void 0 : {
1413
- width: c,
1414
- height: l
1415
- }), t.calcIntersect = function(e, t) {
1416
- return K.rect(e, t);
1417
- }, t.intersect = function(e) {
1418
- return K.rect(t, e);
1419
- }, o;
1420
- }
1421
- o(Ke, "drawRect");
1422
- async function qe(e, t) {
1423
- let { cssClasses: n, labelPaddingX: r, labelPaddingY: i, padding: a, width: o, height: s } = t, c = await Ke(e, t, {
1424
- rx: 0,
1425
- ry: 0,
1426
- classes: n ?? "",
1427
- labelPaddingX: r ?? (a ?? 0) * 2,
1428
- labelPaddingY: i ?? a ?? 0
1429
- });
1430
- if (t.look === "handDrawn") {
1431
- let e = T.svg(c), n = b(t, {}), r = c.select(".basic.label-container > path:nth-child(2)"), i = r.node();
1432
- if (!i) return c;
1433
- let a = null;
1434
- if (i instanceof SVGGraphicsElement) a = i.getBBox();
1435
- else return c;
1436
- return c.insert(() => e.line(a.x, a.y, a.x + a.width, a.y, n), ".basic.label-container g.label"), c.insert(() => e.line(a.x, a.y + a.height, a.x + a.width, a.y + a.height, n), ".basic.label-container g.label"), r.remove(), c;
1437
- }
1438
- let l = c.select(".basic.label-container"), u = (Number(l.attr("width")) || o) ?? 0, d = (Number(l.attr("height")) || s) ?? 0;
1439
- return u > 0 && d > 0 && l.attr("stroke-dasharray", `${u} ${d}`), c;
1440
- }
1441
- o(qe, "datastore");
1442
- async function Je(e, t) {
1443
- let { labelStyles: n, nodeStyles: r } = x(t);
1444
- t.labelStyle = n;
1445
- let i = t.look === "neo" ? 16 : t.padding ?? 0, a = t.look === "neo" ? 16 : t.padding ?? 0, { shapeSvg: o, bbox: s, label: c } = await P(e, t, L(t)), l = s.width + i, u = s.height + a, d = u * .2, f = -l / 2, p = -u / 2 - d / 2, { cssStyles: m } = t, h = T.svg(o), g = b(t, {});
1446
- t.look !== "handDrawn" && (g.roughness = 0, g.fillStyle = "solid");
1447
- let _ = [
1448
- {
1449
- x: f,
1450
- y: p + d
1451
- },
1452
- {
1453
- x: -f,
1454
- y: p + d
1455
- },
1456
- {
1457
- x: -f,
1458
- y: -p
1459
- },
1460
- {
1461
- x: f,
1462
- y: -p
1463
- },
1464
- {
1465
- x: f,
1466
- y: p
1467
- },
1468
- {
1469
- x: -f,
1470
- y: p
1471
- },
1472
- {
1473
- x: -f,
1474
- y: p + d
1475
- }
1476
- ], v = h.polygon(_.map((e) => [e.x, e.y]), g), y = o.insert(() => v, ":first-child");
1477
- return y.attr("class", "basic label-container outer-path"), m && t.look !== "handDrawn" && y.selectAll("path").attr("style", m), r && t.look !== "handDrawn" && y.selectAll("path").attr("style", r), c.attr("transform", `translate(${f + (t.padding ?? 0) / 2 - (s.x - (s.left ?? 0))}, ${p + d + (t.padding ?? 0) / 2 - (s.y - (s.top ?? 0))})`), I(t, y), t.intersect = function(e) {
1478
- return K.rect(t, e);
1479
- }, o;
1480
- }
1481
- o(Je, "dividedRectangle");
1482
- async function Ye(t, n) {
1483
- let { labelStyles: r, nodeStyles: i } = x(n), o = n.look === "neo" ? 12 : 5;
1484
- n.labelStyle = r;
1485
- let s = n.padding ?? 0, c = n.look === "neo" ? 16 : s, { shapeSvg: l, bbox: u } = await P(t, n, L(n)), d = Math.sqrt(u.width ** 2 + u.height ** 2) / 2, f = (n?.width ? n?.width / 2 : d) + (c ?? 0), p = f + o, m, { cssStyles: h } = n;
1486
- if (n.look === "handDrawn") {
1487
- let e = T.svg(l), t = b(n, {
1488
- roughness: .2,
1489
- strokeWidth: 2.5
1490
- }), r = b(n, {
1491
- roughness: .2,
1492
- strokeWidth: 1.5
1493
- }), i = e.circle(0, 0, p * 2, t), o = e.circle(0, 0, f * 2, r);
1494
- m = l.insert("g", ":first-child"), m.attr("class", a(n.cssClasses)).attr("style", a(h)), m.node()?.appendChild(i), m.node()?.appendChild(o);
1495
- } else {
1496
- m = l.insert("g", ":first-child");
1497
- let e = m.insert("circle", ":first-child"), t = m.insert("circle");
1498
- m.attr("class", "basic label-container").attr("style", i), e.attr("class", "outer-circle").attr("style", i).attr("r", p).attr("cx", 0).attr("cy", 0), t.attr("class", "inner-circle").attr("style", i).attr("r", f).attr("cx", 0).attr("cy", 0);
1499
- }
1500
- return I(n, m), n.intersect = function(t) {
1501
- return e.info("DoubleCircle intersect", n, p, t), K.circle(n, p, t);
1502
- }, l;
1503
- }
1504
- o(Ye, "doublecircle");
1505
- async function Xe(e, t) {
1506
- let { labelStyles: n, nodeStyles: r } = x(t);
1507
- t.labelStyle = n;
1508
- let { shapeSvg: i, bbox: a, halfPadding: o } = await P(e, t, L(t)), { theme: s, themeVariables: c } = m();
1509
- w(i, t.colorIndex, s, c.borderColorArray);
1510
- let l = o ?? 10, u = a.width / 2 + l * 2, d = a.height / 2 + l * 2, f, { cssStyles: p } = t;
1511
- if (t.look === "handDrawn") {
1512
- let e = T.svg(i), n = b(t, {}), r = e.ellipse(0, 0, u * 2, d * 2, n);
1513
- f = i.insert(() => r, ":first-child"), f.attr("class", "basic label-container"), p && f.attr("style", p);
1514
- } else f = i.insert("ellipse", ":first-child").attr("class", "basic label-container").attr("style", r).attr("rx", u).attr("ry", d).attr("cx", 0).attr("cy", 0);
1515
- return t.width = u * 2, t.height = d * 2, I(t, f), t.calcIntersect = function(e, t) {
1516
- let n = e.width / 2, r = e.height / 2;
1517
- return K.ellipse(e, n, r, t);
1518
- }, t.intersect = function(e) {
1519
- return K.ellipse(t, u, d, e);
1520
- }, i;
1521
- }
1522
- o(Xe, "usecaseEllipse");
1523
- function Ze(t, n, { config: { themeVariables: r } }) {
1524
- let { labelStyles: i, nodeStyles: a } = x(n);
1525
- n.label = "", n.labelStyle = i;
1526
- let o = t.insert("g").attr("class", L(n)).attr("id", n.domId ?? n.id), { cssStyles: s } = n, c = T.svg(o), { nodeBorder: l } = r, u = b(n, { fillStyle: "solid" });
1527
- n.look !== "handDrawn" && (u.roughness = 0);
1528
- let d = c.circle(0, 0, 14, u), f = o.insert(() => d, ":first-child");
1529
- return f.selectAll("path").attr("style", `fill: ${l} !important;`), s && s.length > 0 && n.look !== "handDrawn" && f.selectAll("path").attr("style", s), a && n.look !== "handDrawn" && f.selectAll("path").attr("style", a), I(n, f), n.intersect = function(t) {
1530
- return e.info("filledCircle intersect", n, {
1531
- radius: 7,
1532
- point: t
1533
- }), K.circle(n, 7, t);
1534
- }, o;
1535
- }
1536
- o(Ze, "filledCircle");
1537
- var Qe = 10, $e = 10;
1538
- async function et(t, n) {
1539
- let { labelStyles: r, nodeStyles: i } = x(n);
1540
- n.labelStyle = r;
1541
- let a = n.padding ?? 0, o = n.look === "neo" ? a * 2 : a;
1542
- (n.width || n.height) && (n.height = n?.height ?? 0, n.height < Qe && (n.height = Qe), n.width = (n?.width ?? 0) - o - o / 2, n.width < $e && (n.width = $e));
1543
- let { shapeSvg: s, bbox: c, label: l } = await P(t, n, L(n)), u = (n?.width ? n?.width : c.width) + (o ?? 0), d = n?.height ? n?.height : u + c.height, f = d, p = [
1544
- {
1545
- x: 0,
1546
- y: -d
1547
- },
1548
- {
1549
- x: f,
1550
- y: -d
1551
- },
1552
- {
1553
- x: f / 2,
1554
- y: 0
1555
- }
1556
- ], { cssStyles: m } = n, h = T.svg(s), g = b(n, {});
1557
- n.look !== "handDrawn" && (g.roughness = 0, g.fillStyle = "solid");
1558
- let _ = R(p), v = h.path(_, g), y = s.insert(() => v, ":first-child").attr("transform", `translate(${-d / 2}, ${d / 2})`).attr("class", "outer-path");
1559
- return m && n.look !== "handDrawn" && y.selectChildren("path").attr("style", m), i && n.look !== "handDrawn" && y.selectChildren("path").attr("style", i), n.width = u, n.height = d, I(n, y), l.attr("transform", `translate(${-c.width / 2 - (c.x - (c.left ?? 0))}, ${-d / 2 + (n.padding ?? 0) / 2 + (c.y - (c.top ?? 0))})`), n.intersect = function(t) {
1560
- return e.info("Triangle intersect", n, p, t), K.polygon(n, p, t);
1561
- }, s;
1562
- }
1563
- o(et, "flippedTriangle");
1564
- async function tt(e, t) {
1565
- let { labelStyles: n, nodeStyles: r } = x(t);
1566
- t.labelStyle = n;
1567
- let { shapeSvg: i, bbox: a, label: o } = await P(e, t, L(t)), s = t.padding ?? 12, c = Math.max(a.width + s * 2, t.width ?? 0, 90), l = a.height + s * 2, u = Math.max(Math.min(l * .16, 14), 8), d = Math.max(l + u, t.height ?? 0), f = d - u, p = Math.max(c * .38, 28), m = -d / 2, h = [
1568
- {
1569
- x: -c / 2,
1570
- y: m
1571
- },
1572
- {
1573
- x: -c / 2 + p,
1574
- y: m
1575
- },
1576
- {
1577
- x: -c / 2 + p,
1578
- y: m + u
1579
- },
1580
- {
1581
- x: c / 2,
1582
- y: m + u
1583
- },
1584
- {
1585
- x: c / 2,
1586
- y: d / 2
1587
- },
1588
- {
1589
- x: -c / 2,
1590
- y: d / 2
1591
- }
1592
- ], g = [
1593
- `M${h[0].x},${h[0].y}`,
1594
- ...h.slice(1).map((e) => `L${e.x},${e.y}`),
1595
- "Z"
1596
- ].join(" "), { cssStyles: _ } = t, v;
1597
- if (t.look === "handDrawn") {
1598
- let e = T.svg(i).path(g, b(t, {}));
1599
- v = i.insert(() => e, ":first-child").attr("class", "basic label-container"), _ && v.attr("style", _);
1600
- } else v = i.insert("path", ":first-child").attr("d", g).attr("class", "basic label-container").attr("style", r);
1601
- t.look === "handDrawn" ? I(t, v) : I(t, v, {
1602
- width: c,
1603
- height: d
1604
- });
1605
- let y = m + u + f / 2;
1606
- return o.attr("transform", `translate(${-(a.width / 2) - (a.x - (a.left ?? 0))}, ${y - a.height / 2 - (a.y - (a.top ?? 0))})`), t.intersect = function(e) {
1607
- return K.polygon(t, h, e);
1608
- }, i;
1609
- }
1610
- o(tt, "folder");
1611
- function nt(e, t, { dir: n, config: { state: r, themeVariables: i } }) {
1612
- let { nodeStyles: a } = x(t);
1613
- t.label = "";
1614
- let o = e.insert("g").attr("class", L(t)).attr("id", t.domId ?? t.id), { cssStyles: s } = t, c = Math.max(70, t?.width ?? 0), l = Math.max(10, t?.height ?? 0);
1615
- (n === "LR" || n === "RL") && (c = Math.max(10, t?.width ?? 0), l = Math.max(70, t?.height ?? 0));
1616
- let u = -1 * c / 2, d = -1 * l / 2, f = T.svg(o), p = b(t, {
1617
- stroke: i.lineColor,
1618
- fill: i.lineColor
1619
- });
1620
- t.look !== "handDrawn" && (p.roughness = 0, p.fillStyle = "solid");
1621
- let m = f.rectangle(u, d, c, l, p), h = o.insert(() => m, ":first-child");
1622
- s && t.look !== "handDrawn" && h.selectAll("path").attr("style", s), a && t.look !== "handDrawn" && h.selectAll("path").attr("style", a), I(t, h);
1623
- let g = r?.padding ?? 0;
1624
- return t.width && t.height && (t.width += g / 2 || 0, t.height += g / 2 || 0), t.intersect = function(e) {
1625
- return K.rect(t, e);
1626
- }, o;
1627
- }
1628
- o(nt, "forkJoin");
1629
- async function rt(t, n) {
1630
- let { labelStyles: r, nodeStyles: i } = x(n);
1631
- n.labelStyle = r;
1632
- let a = n.look === "neo" ? 16 : n.padding ?? 0, o = n.look === "neo" ? 12 : n.padding ?? 0;
1633
- (n.width || n.height) && (n.height = (n?.height ?? 0) - o * 2, n.height < 10 && (n.height = 10), n.width = (n?.width ?? 0) - a * 2, n.width < 15 && (n.width = 15));
1634
- let { shapeSvg: s, bbox: c } = await P(t, n, L(n)), l = (n?.height ? n?.height : Math.max(10, c.height)) + o * 2, u = l / 2, d = u - Math.sqrt(Math.max(0, u ** 2 - (c.height / 2) ** 2)), f = (n?.width ? n?.width : Math.max(15, c.width) + d * 2) + a * 2, { cssStyles: p } = n, m = T.svg(s), h = b(n, {});
1635
- n.look !== "handDrawn" && (h.roughness = 0, h.fillStyle = "solid");
1636
- let g = [
1637
- {
1638
- x: -f / 2,
1639
- y: -l / 2
1640
- },
1641
- {
1642
- x: f / 2 - u,
1643
- y: -l / 2
1644
- },
1645
- ...B(-f / 2 + u, 0, u, 50, 90, 270),
1646
- {
1647
- x: f / 2 - u,
1648
- y: l / 2
1649
- },
1650
- {
1651
- x: -f / 2,
1652
- y: l / 2
1653
- }
1654
- ], _ = R(g), v = m.path(_, h), y = s.insert(() => v, ":first-child");
1655
- return y.attr("class", "basic label-container outer-path"), p && n.look !== "handDrawn" && y.selectChildren("path").attr("style", p), i && n.look !== "handDrawn" && y.selectChildren("path").attr("style", i), I(n, y), n.intersect = function(t) {
1656
- return e.info("Pill intersect", n, {
1657
- radius: u,
1658
- point: t
1659
- }), K.polygon(n, g, t);
1660
- }, s;
1661
- }
1662
- o(rt, "halfRoundedRectangle");
1663
- var it = /* @__PURE__ */ o((e, t, n, r, i) => [
1664
- `M${e + i},${t}`,
1665
- `L${e + n - i},${t}`,
1666
- `L${e + n},${t - r / 2}`,
1667
- `L${e + n - i},${t - r}`,
1668
- `L${e + i},${t - r}`,
1669
- `L${e},${t - r / 2}`,
1670
- "Z"
1671
- ].join(" "), "createHexagonPathD");
1672
- async function at(e, t) {
1673
- let { labelStyles: n, nodeStyles: r } = x(t), i = t.look === "neo" ? 3.5 : 4;
1674
- t.labelStyle = n;
1675
- let a = t.padding ?? 0, o = t.look === "neo" ? 70 : a, s = t.look === "neo" ? 32 : a;
1676
- if (t.width || t.height) {
1677
- let e = (t.height ?? 0) / i;
1678
- t.width = (t?.width ?? 0) - 2 * e - s, t.height = (t.height ?? 0) - o;
1679
- }
1680
- let { shapeSvg: c, bbox: l } = await P(e, t, L(t)), u = (t?.height ? t?.height : l.height) + o, d = u / i, f = (t?.width ? t?.width : l.width) + 2 * d + s, p = [
1681
- {
1682
- x: d,
1683
- y: 0
1684
- },
1685
- {
1686
- x: f - d,
1687
- y: 0
1688
- },
1689
- {
1690
- x: f,
1691
- y: -u / 2
1692
- },
1693
- {
1694
- x: f - d,
1695
- y: -u
1696
- },
1697
- {
1698
- x: d,
1699
- y: -u
1700
- },
1701
- {
1702
- x: 0,
1703
- y: -u / 2
1704
- }
1705
- ], m, { cssStyles: h } = t;
1706
- if (t.look === "handDrawn") {
1707
- let e = T.svg(c), n = b(t, {}), r = it(0, 0, f, u, d), i = e.path(r, n);
1708
- m = c.insert(() => i, ":first-child").attr("transform", `translate(${-f / 2}, ${u / 2})`), h && m.attr("style", h);
1709
- } else m = J(c, f, u, p);
1710
- return r && m.attr("style", r), t.width = f, t.height = u, I(t, m), t.intersect = function(e) {
1711
- return K.polygon(t, p, e);
1712
- }, c;
1713
- }
1714
- o(at, "hexagon");
1715
- async function ot(t, n) {
1716
- let { labelStyles: r, nodeStyles: i } = x(n);
1717
- n.label = "", n.labelStyle = r;
1718
- let { shapeSvg: a } = await P(t, n, L(n)), o = Math.max(30, n?.width ?? 0), s = Math.max(30, n?.height ?? 0), { cssStyles: c } = n, l = T.svg(a), u = b(n, {});
1719
- n.look !== "handDrawn" && (u.roughness = 0, u.fillStyle = "solid");
1720
- let d = [
1721
- {
1722
- x: 0,
1723
- y: 0
1724
- },
1725
- {
1726
- x: o,
1727
- y: 0
1728
- },
1729
- {
1730
- x: 0,
1731
- y: s
1732
- },
1733
- {
1734
- x: o,
1735
- y: s
1736
- }
1737
- ], f = R(d), p = l.path(f, u), m = a.insert(() => p, ":first-child");
1738
- return m.attr("class", "basic label-container outer-path"), c && n.look !== "handDrawn" && m.selectChildren("path").attr("style", c), i && n.look !== "handDrawn" && m.selectChildren("path").attr("style", i), m.attr("transform", `translate(${-o / 2}, ${-s / 2})`), I(n, m), n.intersect = function(t) {
1739
- return e.info("Pill intersect", n, { points: d }), K.polygon(n, d, t);
1740
- }, a;
1741
- }
1742
- o(ot, "hourglass");
1743
- async function st(t, n, { config: { themeVariables: r, flowchart: i } }) {
1744
- let { labelStyles: a } = x(n);
1745
- n.labelStyle = a;
1746
- let o = n.assetHeight ?? 48, s = n.assetWidth ?? 48, c = Math.max(o, s), l = i?.wrappingWidth;
1747
- n.width = Math.max(c, l ?? 0);
1748
- let { shapeSvg: u, bbox: d, label: f } = await P(t, n, "icon-shape default"), p = n.pos === "t", m = c, h = c, { nodeBorder: g } = r, { stylesMap: v } = C(n), y = -h / 2, S = -m / 2, w = n.label ? 8 : 0, E = T.svg(u), D = b(n, {
1749
- stroke: "none",
1750
- fill: "none"
1751
- });
1752
- n.look !== "handDrawn" && (D.roughness = 0, D.fillStyle = "solid");
1753
- let O = E.rectangle(y, S, h, m, D), k = Math.max(h, d.width), A = m + d.height + w, j = E.rectangle(-k / 2, -A / 2, k, A, {
1754
- ...D,
1755
- fill: "transparent",
1756
- stroke: "none"
1757
- }), M = u.insert(() => O, ":first-child"), N = u.insert(() => j);
1758
- if (n.icon) {
1759
- let e = u.append("g");
1760
- e.html(`<g>${await _(n.icon, {
1761
- height: c,
1762
- width: c,
1763
- fallbackPrefix: ""
1764
- })}</g>`);
1765
- let t = e.node().getBBox(), r = t.width, i = t.height, a = t.x, o = t.y;
1766
- e.attr("transform", `translate(${-r / 2 - a},${p ? d.height / 2 + w / 2 - i / 2 - o : -d.height / 2 - w / 2 - i / 2 - o})`), e.attr("style", `color: ${v.get("stroke") ?? g};`);
1767
- }
1768
- return f.attr("transform", `translate(${-d.width / 2 - (d.x - (d.left ?? 0))},${p ? -A / 2 : A / 2 - d.height})`), M.attr("transform", `translate(0,${p ? d.height / 2 + w / 2 : -d.height / 2 - w / 2})`), I(n, N), n.intersect = function(t) {
1769
- if (e.info("iconSquare intersect", n, t), !n.label) return K.rect(n, t);
1770
- let r = n.x ?? 0, i = n.y ?? 0, a = n.height ?? 0, o = [];
1771
- return o = p ? [
1772
- {
1773
- x: r - d.width / 2,
1774
- y: i - a / 2
1775
- },
1776
- {
1777
- x: r + d.width / 2,
1778
- y: i - a / 2
1779
- },
1780
- {
1781
- x: r + d.width / 2,
1782
- y: i - a / 2 + d.height + w
1783
- },
1784
- {
1785
- x: r + h / 2,
1786
- y: i - a / 2 + d.height + w
1787
- },
1788
- {
1789
- x: r + h / 2,
1790
- y: i + a / 2
1791
- },
1792
- {
1793
- x: r - h / 2,
1794
- y: i + a / 2
1795
- },
1796
- {
1797
- x: r - h / 2,
1798
- y: i - a / 2 + d.height + w
1799
- },
1800
- {
1801
- x: r - d.width / 2,
1802
- y: i - a / 2 + d.height + w
1803
- }
1804
- ] : [
1805
- {
1806
- x: r - h / 2,
1807
- y: i - a / 2
1808
- },
1809
- {
1810
- x: r + h / 2,
1811
- y: i - a / 2
1812
- },
1813
- {
1814
- x: r + h / 2,
1815
- y: i - a / 2 + m
1816
- },
1817
- {
1818
- x: r + d.width / 2,
1819
- y: i - a / 2 + m
1820
- },
1821
- {
1822
- x: r + d.width / 2 / 2,
1823
- y: i + a / 2
1824
- },
1825
- {
1826
- x: r - d.width / 2,
1827
- y: i + a / 2
1828
- },
1829
- {
1830
- x: r - d.width / 2,
1831
- y: i - a / 2 + m
1832
- },
1833
- {
1834
- x: r - h / 2,
1835
- y: i - a / 2 + m
1836
- }
1837
- ], K.polygon(n, o, t);
1838
- }, u;
1839
- }
1840
- o(st, "icon");
1841
- async function ct(t, n, { config: { themeVariables: r, flowchart: i } }) {
1842
- let { labelStyles: a } = x(n);
1843
- n.labelStyle = a;
1844
- let o = n.assetHeight ?? 48, s = n.assetWidth ?? 48, c = Math.max(o, s), l = i?.wrappingWidth;
1845
- n.width = Math.max(c, l ?? 0);
1846
- let { shapeSvg: u, bbox: d, label: f } = await P(t, n, "icon-shape default"), p = n.label ? 8 : 0, m = n.pos === "t", { nodeBorder: h, mainBkg: g } = r, { stylesMap: v } = C(n), y = T.svg(u), S = b(n, {});
1847
- n.look !== "handDrawn" && (S.roughness = 0, S.fillStyle = "solid"), S.stroke = v.get("fill") ?? g;
1848
- let w = u.append("g");
1849
- n.icon && w.html(`<g>${await _(n.icon, {
1850
- height: c,
1851
- width: c,
1852
- fallbackPrefix: ""
1853
- })}</g>`);
1854
- let E = w.node().getBBox(), D = E.width, O = E.height, k = E.x, A = E.y, j = Math.max(D, O) * Math.SQRT2 + 40, M = y.circle(0, 0, j, S), N = Math.max(j, d.width), F = j + d.height + p, L = y.rectangle(-N / 2, -F / 2, N, F, {
1855
- ...S,
1856
- fill: "transparent",
1857
- stroke: "none"
1858
- }), R = u.insert(() => M, ":first-child"), z = u.insert(() => L);
1859
- return w.attr("transform", `translate(${-D / 2 - k},${m ? d.height / 2 + p / 2 - O / 2 - A : -d.height / 2 - p / 2 - O / 2 - A})`), w.attr("style", `color: ${v.get("stroke") ?? h};`), f.attr("transform", `translate(${-d.width / 2 - (d.x - (d.left ?? 0))},${m ? -F / 2 : F / 2 - d.height})`), R.attr("transform", `translate(0,${m ? d.height / 2 + p / 2 : -d.height / 2 - p / 2})`), I(n, z), n.intersect = function(t) {
1860
- return e.info("iconSquare intersect", n, t), K.rect(n, t);
1861
- }, u;
1862
- }
1863
- o(ct, "iconCircle");
1864
- async function lt(t, n, { config: { themeVariables: r, flowchart: i } }) {
1865
- let { labelStyles: a } = x(n);
1866
- n.labelStyle = a;
1867
- let o = n.assetHeight ?? 48, s = n.assetWidth ?? 48, c = Math.max(o, s), l = i?.wrappingWidth;
1868
- n.width = Math.max(c, l ?? 0);
1869
- let { shapeSvg: u, bbox: d, halfPadding: f, label: p } = await P(t, n, "icon-shape default"), m = n.pos === "t", h = c + f * 2, g = c + f * 2, { nodeBorder: v, mainBkg: y } = r, { stylesMap: S } = C(n), w = -g / 2, E = -h / 2, D = n.label ? 8 : 0, O = T.svg(u), k = b(n, {});
1870
- n.look !== "handDrawn" && (k.roughness = 0, k.fillStyle = "solid"), k.stroke = S.get("fill") ?? y;
1871
- let A = O.path(q(w, E, g, h, 5), k), j = Math.max(g, d.width), M = h + d.height + D, N = O.rectangle(-j / 2, -M / 2, j, M, {
1872
- ...k,
1873
- fill: "transparent",
1874
- stroke: "none"
1875
- }), F = u.insert(() => A, ":first-child").attr("class", "icon-shape2"), L = u.insert(() => N);
1876
- if (n.icon) {
1877
- let e = u.append("g");
1878
- e.html(`<g>${await _(n.icon, {
1879
- height: c,
1880
- width: c,
1881
- fallbackPrefix: ""
1882
- })}</g>`);
1883
- let t = e.node().getBBox(), r = t.width, i = t.height, a = t.x, o = t.y;
1884
- e.attr("transform", `translate(${-r / 2 - a},${m ? d.height / 2 + D / 2 - i / 2 - o : -d.height / 2 - D / 2 - i / 2 - o})`), e.attr("style", `color: ${S.get("stroke") ?? v};`);
1885
- }
1886
- return p.attr("transform", `translate(${-d.width / 2 - (d.x - (d.left ?? 0))},${m ? -M / 2 : M / 2 - d.height})`), F.attr("transform", `translate(0,${m ? d.height / 2 + D / 2 : -d.height / 2 - D / 2})`), I(n, L), n.intersect = function(t) {
1887
- if (e.info("iconSquare intersect", n, t), !n.label) return K.rect(n, t);
1888
- let r = n.x ?? 0, i = n.y ?? 0, a = n.height ?? 0, o = [];
1889
- return o = m ? [
1890
- {
1891
- x: r - d.width / 2,
1892
- y: i - a / 2
1893
- },
1894
- {
1895
- x: r + d.width / 2,
1896
- y: i - a / 2
1897
- },
1898
- {
1899
- x: r + d.width / 2,
1900
- y: i - a / 2 + d.height + D
1901
- },
1902
- {
1903
- x: r + g / 2,
1904
- y: i - a / 2 + d.height + D
1905
- },
1906
- {
1907
- x: r + g / 2,
1908
- y: i + a / 2
1909
- },
1910
- {
1911
- x: r - g / 2,
1912
- y: i + a / 2
1913
- },
1914
- {
1915
- x: r - g / 2,
1916
- y: i - a / 2 + d.height + D
1917
- },
1918
- {
1919
- x: r - d.width / 2,
1920
- y: i - a / 2 + d.height + D
1921
- }
1922
- ] : [
1923
- {
1924
- x: r - g / 2,
1925
- y: i - a / 2
1926
- },
1927
- {
1928
- x: r + g / 2,
1929
- y: i - a / 2
1930
- },
1931
- {
1932
- x: r + g / 2,
1933
- y: i - a / 2 + h
1934
- },
1935
- {
1936
- x: r + d.width / 2,
1937
- y: i - a / 2 + h
1938
- },
1939
- {
1940
- x: r + d.width / 2 / 2,
1941
- y: i + a / 2
1942
- },
1943
- {
1944
- x: r - d.width / 2,
1945
- y: i + a / 2
1946
- },
1947
- {
1948
- x: r - d.width / 2,
1949
- y: i - a / 2 + h
1950
- },
1951
- {
1952
- x: r - g / 2,
1953
- y: i - a / 2 + h
1954
- }
1955
- ], K.polygon(n, o, t);
1956
- }, u;
1957
- }
1958
- o(lt, "iconRounded");
1959
- async function ut(t, n, { config: { themeVariables: r, flowchart: i } }) {
1960
- let { labelStyles: a } = x(n);
1961
- n.labelStyle = a;
1962
- let o = n.assetHeight ?? 48, s = n.assetWidth ?? 48, c = Math.max(o, s), l = i?.wrappingWidth;
1963
- n.width = Math.max(c, l ?? 0);
1964
- let { shapeSvg: u, bbox: d, halfPadding: f, label: p } = await P(t, n, "icon-shape default"), m = n.pos === "t", h = c + f * 2, g = c + f * 2, { nodeBorder: v, mainBkg: y } = r, { stylesMap: S } = C(n), w = -g / 2, E = -h / 2, D = n.label ? 8 : 0, O = T.svg(u), k = b(n, {});
1965
- n.look !== "handDrawn" && (k.roughness = 0, k.fillStyle = "solid"), k.stroke = S.get("fill") ?? y;
1966
- let A = O.path(q(w, E, g, h, .1), k), j = Math.max(g, d.width), M = h + d.height + D, N = O.rectangle(-j / 2, -M / 2, j, M, {
1967
- ...k,
1968
- fill: "transparent",
1969
- stroke: "none"
1970
- }), F = u.insert(() => A, ":first-child"), L = u.insert(() => N);
1971
- if (n.icon) {
1972
- let e = u.append("g");
1973
- e.html(`<g>${await _(n.icon, {
1974
- height: c,
1975
- width: c,
1976
- fallbackPrefix: ""
1977
- })}</g>`);
1978
- let t = e.node().getBBox(), r = t.width, i = t.height, a = t.x, o = t.y;
1979
- e.attr("transform", `translate(${-r / 2 - a},${m ? d.height / 2 + D / 2 - i / 2 - o : -d.height / 2 - D / 2 - i / 2 - o})`), e.attr("style", `color: ${S.get("stroke") ?? v};`);
1980
- }
1981
- return p.attr("transform", `translate(${-d.width / 2 - (d.x - (d.left ?? 0))},${m ? -M / 2 : M / 2 - d.height})`), F.attr("transform", `translate(0,${m ? d.height / 2 + D / 2 : -d.height / 2 - D / 2})`), I(n, L), n.intersect = function(t) {
1982
- if (e.info("iconSquare intersect", n, t), !n.label) return K.rect(n, t);
1983
- let r = n.x ?? 0, i = n.y ?? 0, a = n.height ?? 0, o = [];
1984
- return o = m ? [
1985
- {
1986
- x: r - d.width / 2,
1987
- y: i - a / 2
1988
- },
1989
- {
1990
- x: r + d.width / 2,
1991
- y: i - a / 2
1992
- },
1993
- {
1994
- x: r + d.width / 2,
1995
- y: i - a / 2 + d.height + D
1996
- },
1997
- {
1998
- x: r + g / 2,
1999
- y: i - a / 2 + d.height + D
2000
- },
2001
- {
2002
- x: r + g / 2,
2003
- y: i + a / 2
2004
- },
2005
- {
2006
- x: r - g / 2,
2007
- y: i + a / 2
2008
- },
2009
- {
2010
- x: r - g / 2,
2011
- y: i - a / 2 + d.height + D
2012
- },
2013
- {
2014
- x: r - d.width / 2,
2015
- y: i - a / 2 + d.height + D
2016
- }
2017
- ] : [
2018
- {
2019
- x: r - g / 2,
2020
- y: i - a / 2
2021
- },
2022
- {
2023
- x: r + g / 2,
2024
- y: i - a / 2
2025
- },
2026
- {
2027
- x: r + g / 2,
2028
- y: i - a / 2 + h
2029
- },
2030
- {
2031
- x: r + d.width / 2,
2032
- y: i - a / 2 + h
2033
- },
2034
- {
2035
- x: r + d.width / 2 / 2,
2036
- y: i + a / 2
2037
- },
2038
- {
2039
- x: r - d.width / 2,
2040
- y: i + a / 2
2041
- },
2042
- {
2043
- x: r - d.width / 2,
2044
- y: i - a / 2 + h
2045
- },
2046
- {
2047
- x: r - g / 2,
2048
- y: i - a / 2 + h
2049
- }
2050
- ], K.polygon(n, o, t);
2051
- }, u;
2052
- }
2053
- o(ut, "iconSquare");
2054
- async function dt(t, n, { config: { flowchart: r } }) {
2055
- let i = new Image();
2056
- i.src = n?.img ?? "", await i.decode();
2057
- let a = Number(i.naturalWidth.toString().replace("px", "")), o = Number(i.naturalHeight.toString().replace("px", ""));
2058
- n.imageAspectRatio = a / o;
2059
- let { labelStyles: s } = x(n);
2060
- n.labelStyle = s;
2061
- let c = r?.wrappingWidth;
2062
- n.defaultWidth = r?.wrappingWidth;
2063
- let l = Math.max(n.label ? c ?? 0 : 0, n?.assetWidth ?? a), u = n.constraint === "on" && n?.assetHeight ? n.assetHeight * n.imageAspectRatio : l, d = n.constraint === "on" ? u / n.imageAspectRatio : n?.assetHeight ?? o;
2064
- n.width = Math.max(u, c ?? 0);
2065
- let { shapeSvg: f, bbox: p, label: m } = await P(t, n, "image-shape default"), h = n.pos === "t", g = -u / 2, _ = -d / 2, v = n.label ? 8 : 0, y = T.svg(f), S = b(n, {});
2066
- n.look !== "handDrawn" && (S.roughness = 0, S.fillStyle = "solid");
2067
- let C = y.rectangle(g, _, u, d, S), w = Math.max(u, p.width), E = d + p.height + v, D = y.rectangle(-w / 2, -E / 2, w, E, {
2068
- ...S,
2069
- fill: "none",
2070
- stroke: "none"
2071
- }), O = f.insert(() => C, ":first-child"), k = f.insert(() => D);
2072
- if (n.img) {
2073
- let e = f.append("image");
2074
- e.attr("href", n.img), e.attr("width", u), e.attr("height", d), e.attr("preserveAspectRatio", "none"), e.attr("transform", `translate(${-u / 2},${h ? E / 2 - d : -E / 2})`);
2075
- }
2076
- return m.attr("transform", `translate(${-p.width / 2 - (p.x - (p.left ?? 0))},${h ? -d / 2 - p.height / 2 - v / 2 : d / 2 - p.height / 2 + v / 2})`), O.attr("transform", `translate(0,${h ? p.height / 2 + v / 2 : -p.height / 2 - v / 2})`), I(n, k), n.intersect = function(t) {
2077
- if (e.info("iconSquare intersect", n, t), !n.label) return K.rect(n, t);
2078
- let r = n.x ?? 0, i = n.y ?? 0, a = n.height ?? 0, o = [];
2079
- return o = h ? [
2080
- {
2081
- x: r - p.width / 2,
2082
- y: i - a / 2
2083
- },
2084
- {
2085
- x: r + p.width / 2,
2086
- y: i - a / 2
2087
- },
2088
- {
2089
- x: r + p.width / 2,
2090
- y: i - a / 2 + p.height + v
2091
- },
2092
- {
2093
- x: r + u / 2,
2094
- y: i - a / 2 + p.height + v
2095
- },
2096
- {
2097
- x: r + u / 2,
2098
- y: i + a / 2
2099
- },
2100
- {
2101
- x: r - u / 2,
2102
- y: i + a / 2
2103
- },
2104
- {
2105
- x: r - u / 2,
2106
- y: i - a / 2 + p.height + v
2107
- },
2108
- {
2109
- x: r - p.width / 2,
2110
- y: i - a / 2 + p.height + v
2111
- }
2112
- ] : [
2113
- {
2114
- x: r - u / 2,
2115
- y: i - a / 2
2116
- },
2117
- {
2118
- x: r + u / 2,
2119
- y: i - a / 2
2120
- },
2121
- {
2122
- x: r + u / 2,
2123
- y: i - a / 2 + d
2124
- },
2125
- {
2126
- x: r + p.width / 2,
2127
- y: i - a / 2 + d
2128
- },
2129
- {
2130
- x: r + p.width / 2 / 2,
2131
- y: i + a / 2
2132
- },
2133
- {
2134
- x: r - p.width / 2,
2135
- y: i + a / 2
2136
- },
2137
- {
2138
- x: r - p.width / 2,
2139
- y: i - a / 2 + d
2140
- },
2141
- {
2142
- x: r - u / 2,
2143
- y: i - a / 2 + d
2144
- }
2145
- ], K.polygon(n, o, t);
2146
- }, f;
2147
- }
2148
- o(dt, "imageSquare");
2149
- async function ft(e, t) {
2150
- let { labelStyles: n, nodeStyles: r } = x(t);
2151
- t.labelStyle = n;
2152
- let i = t.padding ?? 0, a = i, o = t.look === "neo" ? i * 2 : i, { shapeSvg: s, bbox: c } = await P(e, t, L(t)), l = Math.max(c.height + a * 2, t.height ?? 0), u = Math.max(c.width + o * 2, (t.width ?? 0) - l), d = [
2153
- {
2154
- x: 0,
2155
- y: 0
2156
- },
2157
- {
2158
- x: u,
2159
- y: 0
2160
- },
2161
- {
2162
- x: u + 3 * l / 6,
2163
- y: -l
2164
- },
2165
- {
2166
- x: -3 * l / 6,
2167
- y: -l
2168
- }
2169
- ], f, { cssStyles: p } = t;
2170
- if (t.look === "handDrawn") {
2171
- let e = T.svg(s), n = b(t, {}), r = R(d), i = e.path(r, n);
2172
- f = s.insert(() => i, ":first-child").attr("transform", `translate(${-u / 2}, ${l / 2})`), p && f.attr("style", p);
2173
- } else f = J(s, u, l, d);
2174
- return r && f.attr("style", r), t.width = u, t.height = l, I(t, f), t.intersect = function(e) {
2175
- return K.polygon(t, d, e);
2176
- }, s;
2177
- }
2178
- o(ft, "inv_trapezoid");
2179
- async function pt(e, t) {
2180
- let { shapeSvg: n, bbox: r, label: i } = await P(e, t, "label"), a = n.insert("rect", ":first-child");
2181
- return a.attr("width", .1).attr("height", .1), n.attr("class", "label edgeLabel"), i.attr("transform", `translate(${-(r.width / 2) - (r.x - (r.left ?? 0))}, ${-(r.height / 2) - (r.y - (r.top ?? 0))})`), I(t, a), t.intersect = function(e) {
2182
- return K.rect(t, e);
2183
- }, n;
2184
- }
2185
- o(pt, "labelRect");
2186
- async function mt(e, t) {
2187
- let { labelStyles: n, nodeStyles: r } = x(t);
2188
- t.labelStyle = n;
2189
- let i = t.padding ?? 0, a = i, o = t.look === "neo" ? i * 2 : i, { shapeSvg: s, bbox: c } = await P(e, t, L(t)), l = Math.max(c.height + a, t.height ?? 0), u = Math.max(c.width + o, (t.width ?? 0) - l), d = [
2190
- {
2191
- x: 0,
2192
- y: 0
2193
- },
2194
- {
2195
- x: u + 3 * l / 6,
2196
- y: 0
2197
- },
2198
- {
2199
- x: u,
2200
- y: -l
2201
- },
2202
- {
2203
- x: -(3 * l) / 6,
2204
- y: -l
2205
- }
2206
- ], f, { cssStyles: p } = t;
2207
- if (t.look === "handDrawn") {
2208
- let e = T.svg(s), n = b(t, {}), r = R(d), i = e.path(r, n);
2209
- f = s.insert(() => i, ":first-child").attr("transform", `translate(${-u / 2}, ${l / 2})`), p && f.attr("style", p);
2210
- } else f = J(s, u, l, d);
2211
- return r && f.attr("style", r), t.width = u, t.height = l, I(t, f), t.intersect = function(e) {
2212
- return K.polygon(t, d, e);
2213
- }, s;
2214
- }
2215
- o(mt, "lean_left");
2216
- async function ht(e, t) {
2217
- let { labelStyles: n, nodeStyles: r } = x(t);
2218
- t.labelStyle = n;
2219
- let i = t.padding ?? 0, a = i, o = t.look === "neo" ? i * 2 : i, { shapeSvg: s, bbox: c } = await P(e, t, L(t)), l = Math.max(c.height + a, t.height ?? 0), u = Math.max(c.width + o, (t.width ?? 0) - l), d = [
2220
- {
2221
- x: -3 * l / 6,
2222
- y: 0
2223
- },
2224
- {
2225
- x: u,
2226
- y: 0
2227
- },
2228
- {
2229
- x: u + 3 * l / 6,
2230
- y: -l
2231
- },
2232
- {
2233
- x: 0,
2234
- y: -l
2235
- }
2236
- ], f, { cssStyles: p } = t;
2237
- if (t.look === "handDrawn") {
2238
- let e = T.svg(s), n = b(t, {}), r = R(d), i = e.path(r, n);
2239
- f = s.insert(() => i, ":first-child").attr("transform", `translate(${-u / 2}, ${l / 2})`), p && f.attr("style", p);
2240
- } else f = J(s, u, l, d);
2241
- return r && f.attr("style", r), t.width = u, t.height = l, I(t, f), t.intersect = function(e) {
2242
- return K.polygon(t, d, e);
2243
- }, s;
2244
- }
2245
- o(ht, "lean_right");
2246
- function gt(t, n) {
2247
- let { labelStyles: r, nodeStyles: i } = x(n);
2248
- n.label = "", n.labelStyle = r;
2249
- let a = t.insert("g").attr("class", L(n)).attr("id", n.domId ?? n.id), { cssStyles: o } = n, s = Math.max(35, n?.width ?? 0), c = Math.max(35, n?.height ?? 0), l = [
2250
- {
2251
- x: s,
2252
- y: 0
2253
- },
2254
- {
2255
- x: 0,
2256
- y: c + 7 / 2
2257
- },
2258
- {
2259
- x: s - 14,
2260
- y: c + 7 / 2
2261
- },
2262
- {
2263
- x: 0,
2264
- y: 2 * c
2265
- },
2266
- {
2267
- x: s,
2268
- y: c - 7 / 2
2269
- },
2270
- {
2271
- x: 14,
2272
- y: c - 7 / 2
2273
- }
2274
- ], u = T.svg(a), d = b(n, {});
2275
- n.look !== "handDrawn" && (d.roughness = 0, d.fillStyle = "solid");
2276
- let f = R(l), p = u.path(f, d), m = a.insert(() => p, ":first-child");
2277
- return m.attr("class", "outer-path"), o && n.look !== "handDrawn" && m.selectAll("path").attr("style", o), i && n.look !== "handDrawn" && m.selectAll("path").attr("style", i), m.attr("transform", `translate(-${s / 2},${-c})`), I(n, m), n.intersect = function(t) {
2278
- return e.info("lightningBolt intersect", n, t), K.polygon(n, l, t);
2279
- }, a;
2280
- }
2281
- o(gt, "lightningBolt");
2282
- var _t = /* @__PURE__ */ o((e, t, n, r, i, a, o) => [
2283
- `M${e},${t + a}`,
2284
- `a${i},${a} 0,0,0 ${n},0`,
2285
- `a${i},${a} 0,0,0 ${-n},0`,
2286
- `l0,${r}`,
2287
- `a${i},${a} 0,0,0 ${n},0`,
2288
- `l0,${-r}`,
2289
- `M${e},${t + a + o}`,
2290
- `a${i},${a} 0,0,0 ${n},0`
2291
- ].join(" "), "createCylinderPathD"), vt = /* @__PURE__ */ o((e, t, n, r, i, a, o) => [
2292
- `M${e},${t + a}`,
2293
- `M${e + n},${t + a}`,
2294
- `a${i},${a} 0,0,0 ${-n},0`,
2295
- `l0,${r}`,
2296
- `a${i},${a} 0,0,0 ${n},0`,
2297
- `l0,${-r}`,
2298
- `M${e},${t + a + o}`,
2299
- `a${i},${a} 0,0,0 ${n},0`
2300
- ].join(" "), "createOuterCylinderPathD"), yt = /* @__PURE__ */ o((e, t, n, r, i, a) => [`M${e - n / 2},${-r / 2}`, `a${i},${a} 0,0,0 ${n},0`].join(" "), "createInnerCylinderPathD"), bt = 10, xt = 10;
2301
- async function St(e, t) {
2302
- let { labelStyles: n, nodeStyles: r } = x(t);
2303
- t.labelStyle = n;
2304
- let i = t.padding ?? 0, o = t.look === "neo" ? 16 : i, s = t.look === "neo" ? 24 : i;
2305
- if (t.width || t.height) {
2306
- let e = t.width ?? 0;
2307
- t.width = (t.width ?? 0) - o, t.width < xt && (t.width = xt);
2308
- let n = e / 2 / (2.5 + e / 50);
2309
- t.height = (t.height ?? 0) - s - n * 3, t.height < bt && (t.height = bt);
2310
- }
2311
- let { shapeSvg: c, bbox: l, label: u } = await P(e, t, L(t)), d = (t?.width ? t?.width : l.width) + o * 2, f = d / 2, p = f / (2.5 + d / 50), m = (t?.height ? t?.height : l.height) + p + s * 2, h = m * .1, g, { cssStyles: _ } = t;
2312
- if (t.look === "handDrawn") {
2313
- let e = T.svg(c), n = vt(0, 0, d, m, f, p, h), r = yt(0, p, d, m, f, p), i = b(t, {}), a = e.path(n, i), o = e.path(r, i);
2314
- c.insert(() => o, ":first-child").attr("class", "line"), g = c.insert(() => a, ":first-child"), g.attr("class", "basic label-container"), _ && g.attr("style", _);
2315
- } else {
2316
- let e = _t(0, 0, d, m, f, p, h);
2317
- g = c.insert("path", ":first-child").attr("d", e).attr("class", "basic label-container outer-path").attr("style", a(_)).attr("style", r);
2318
- }
2319
- return g.attr("label-offset-y", p), g.attr("transform", `translate(${-d / 2}, ${-(m / 2 + p)})`), I(t, g), u.attr("transform", `translate(${-(l.width / 2) - (l.x - (l.left ?? 0))}, ${-(l.height / 2) + p - (l.y - (l.top ?? 0))})`), t.intersect = function(e) {
2320
- let n = K.rect(t, e), r = n.x - (t.x ?? 0);
2321
- if (f != 0 && (Math.abs(r) < (t.width ?? 0) / 2 || Math.abs(r) == (t.width ?? 0) / 2 && Math.abs(n.y - (t.y ?? 0)) > (t.height ?? 0) / 2 - p)) {
2322
- let i = p * p * (1 - r * r / (f * f));
2323
- i > 0 && (i = Math.sqrt(i)), i = p - i, e.y - (t.y ?? 0) > 0 && (i = -i), n.y += i;
2324
- }
2325
- return n;
2326
- }, c;
2327
- }
2328
- o(St, "linedCylinder");
2329
- async function Ct(e, t) {
2330
- let { labelStyles: n, nodeStyles: r } = x(t);
2331
- t.labelStyle = n;
2332
- let i = t.padding ?? 0, a = t.look === "neo" ? 16 : i, o = t.look === "neo" ? 12 : i;
2333
- (t.width || t.height) && (t.width = (t.width ?? 0) * 10 / 11 - a * 2, t.width < 10 && (t.width = 10), t.height = (t?.height ?? 0) - o * 2, t.height < 10 && (t.height = 10));
2334
- let { shapeSvg: s, bbox: c, label: l } = await P(e, t, L(t)), u = (t?.width ? t?.width : c.width) + (a ?? 0) * 2, d = (t?.height ? t?.height : c.height) + (o ?? 0) * 2, f = t.look === "neo" ? d / 4 : d / 8, p = d + f, { cssStyles: m } = t, h = T.svg(s), g = b(t, {});
2335
- t.look !== "handDrawn" && (g.roughness = 0, g.fillStyle = "solid");
2336
- let _ = [
2337
- {
2338
- x: -u / 2 - u / 2 * .1,
2339
- y: -p / 2
2340
- },
2341
- {
2342
- x: -u / 2 - u / 2 * .1,
2343
- y: p / 2
2344
- },
2345
- ...z(-u / 2 - u / 2 * .1, p / 2, u / 2 + u / 2 * .1, p / 2, f, .8),
2346
- {
2347
- x: u / 2 + u / 2 * .1,
2348
- y: -p / 2
2349
- },
2350
- {
2351
- x: -u / 2 - u / 2 * .1,
2352
- y: -p / 2
2353
- },
2354
- {
2355
- x: -u / 2,
2356
- y: -p / 2
2357
- },
2358
- {
2359
- x: -u / 2,
2360
- y: p / 2 * 1.1
2361
- },
2362
- {
2363
- x: -u / 2,
2364
- y: -p / 2
2365
- }
2366
- ], v = h.polygon(_.map((e) => [e.x, e.y]), g), y = s.insert(() => v, ":first-child");
2367
- return y.attr("class", "basic label-container outer-path"), m && t.look !== "handDrawn" && y.selectAll("path").attr("style", m), r && t.look !== "handDrawn" && y.selectAll("path").attr("style", r), y.attr("transform", `translate(0,${-f / 2})`), l.attr("transform", `translate(${-u / 2 + (t.padding ?? 0) + u / 2 * .1 / 2 - (c.x - (c.left ?? 0))},${-d / 2 + (t.padding ?? 0) - f - (c.y - (c.top ?? 0))})`), I(t, y), t.intersect = function(e) {
2368
- return K.polygon(t, _, e);
2369
- }, s;
2370
- }
2371
- o(Ct, "linedWaveEdgedRect");
2372
- var wt = 56, Tt = 72, Et = 8, Dt = 2, Ot = 8, kt = {
2373
- normal: "usecase-actor-shape usecase-actor-normal",
2374
- hollow: "usecase-actor-hollow",
2375
- awesome: "usecase-actor-awesome",
2376
- icon: "usecase-actor-icon"
2377
- }, At = Math.PI / 3, jt = .6, Mt = /* @__PURE__ */ o((e, t) => {
2378
- let n = t * jt, r = t * Math.sqrt(1 - jt ** 2), i = Math.cos(At), a = -Math.sin(At), o = n * -a, s = e + n * i, c = r * i, l = r * a;
2379
- return `M ${o - c} ${s - l} L ${o + c} ${s + l}`;
2380
- }, "businessMarkerPathForCircle"), Nt = {
2381
- normal: Mt(-24, 12),
2382
- hollow: Mt(-23, 9),
2383
- awesome: Mt(-21, 13),
2384
- icon: "M 12 -8 L 26 -26"
2385
- }, Pt = /* @__PURE__ */ o((e, t, n) => {
2386
- let r = (t.x ?? 0) - (t.left ?? 0), i = (t.y ?? 0) - (t.top ?? 0);
2387
- e.attr("transform", `translate(${-t.width / 2 - r},${n - t.height / 2 - i})`);
2388
- }, "positionLabel"), Ft = /* @__PURE__ */ o((e, t, n, r, i = !1) => {
2389
- if (t.look === "handDrawn") {
2390
- let a = T.svg(e).path(n, b(t, i ? { fill: "none" } : {}));
2391
- return e.insert(() => a, ":first-child").attr("class", r);
2392
- }
2393
- let a = e.append("path").attr("class", r).attr("d", n);
2394
- return i && a.attr("fill", "none"), a;
2395
- }, "appendActorPath"), It = /* @__PURE__ */ o((e, t, n, r, i, a, o = !1) => {
2396
- if (t.look === "handDrawn") {
2397
- let s = T.svg(e).circle(n, r, i * 2, b(t, o ? { fill: "none" } : {}));
2398
- return e.insert(() => s, ":first-child").attr("class", a);
2399
- }
2400
- let s = e.append("circle").attr("class", a).attr("cx", n).attr("cy", r).attr("r", i);
2401
- return o && s.attr("fill", "none"), s;
2402
- }, "appendActorCircle"), Lt = /* @__PURE__ */ o((e, t, n) => {
2403
- t.business && e.append("path").attr("class", "usecase-business-marker usecase-actor-business-marker").attr("d", Nt[n]).attr("fill", "none").attr("style", "stroke: inherit !important; stroke-width: inherit !important");
2404
- }, "appendBusinessActorMarker");
2405
- async function Rt(e, t, n, r) {
2406
- let { labelStyles: i, nodeStyles: a } = x(t);
2407
- t.labelStyle = i;
2408
- let { shapeSvg: o, bbox: s, label: c } = await P(e, n === "icon" || t.stereotype !== void 0 ? {
2409
- ...t,
2410
- icon: n === "icon" ? void 0 : t.icon,
2411
- stereotype: void 0
2412
- } : t, L(t, `usecase-actor-variant usecase-actor-${n}`)), l = t.accessibleName ?? t.label;
2413
- l && o.attr("role", "img").attr("aria-label", l), c.attr("class", "label actor-label usecase-actor-label");
2414
- let { theme: u, themeVariables: d } = m();
2415
- w(o, t.colorIndex, u, d.borderColorArray);
2416
- let f, p;
2417
- if (t.stereotype) {
2418
- let e = await F(o, `\xAB${t.stereotype}\xBB`, {
2419
- labelStyle: i,
2420
- useHtmlLabels: t.useHtmlLabels,
2421
- padding: 0,
2422
- centerLabel: !0,
2423
- width: t.wrappingWidth
2424
- });
2425
- f = e.label.attr("class", "label usecase-stereotype"), p = e.bbox;
2426
- }
2427
- let h = o.append("g").attr("class", `usecase-actor-glyph ${kt[n]}`).attr("style", a || null);
2428
- await r(h, t), Lt(h, t, n);
2429
- let g = t.padding ?? Ot, _ = p?.height ?? 0, v = Tt + Et + s.height + (p ? _ + Dt : 0), y = Math.max(wt, s.width, p?.width ?? 0) + g * 2, b = v + g * 2, S = -v / 2;
2430
- h.attr("transform", `translate(0,${S + Tt / 2})`);
2431
- let C = S + Tt + Et;
2432
- return f && p && (C += _ / 2, Pt(f, p, C), C += _ / 2 + Dt), Pt(c, s, C + s.height / 2), I(t, o.insert("rect", ":first-child").attr("class", "usecase-actor-outline").attr("x", -y / 2).attr("y", -b / 2).attr("width", y).attr("height", b).attr("opacity", 0).attr("aria-hidden", "true")), t.intersect = (e) => K.rect(t, e), o;
2433
- }
2434
- o(Rt, "renderUsecaseActor");
2435
- var zt = [
2436
- "M 0 -12",
2437
- "C 6.627 -12 12 -17.373 12 -24",
2438
- "C 12 -30.627 6.627 -36 0 -36",
2439
- "C -6.627 -36 -12 -30.627 -12 -24",
2440
- "C -12 -17.373 -6.627 -12 0 -12 Z",
2441
- "M 0 -12 V 8",
2442
- "M -17 -5 H 17",
2443
- "M 0 8 L -15 28",
2444
- "M 0 8 L 15 28"
2445
- ].join(" ");
2446
- async function Bt(e, t) {
2447
- return Rt(e, t, "normal", (e, t) => {
2448
- Ft(e, t, zt, "usecase-actor-stick");
2449
- });
2450
- }
2451
- o(Bt, "usecaseActor");
2452
- var Vt = [
2453
- "M 0 -34",
2454
- "C 7.18 -34 13 -28.18 13 -21",
2455
- "C 13 -13.82 7.18 -8 0 -8",
2456
- "C -7.18 -8 -13 -13.82 -13 -21",
2457
- "C -13 -28.18 -7.18 -34 0 -34 Z",
2458
- "M -24 25",
2459
- "C -24 7 -14 -3 0 -3",
2460
- "C 14 -3 24 7 24 25",
2461
- "C 24 28 21 30 18 30",
2462
- "H -18",
2463
- "C -21 30 -24 28 -24 25 Z"
2464
- ].join(" ");
2465
- async function Ht(e, t) {
2466
- return Rt(e, t, "awesome", (e, t) => {
2467
- Ft(e, t, Vt, "usecase-actor-awesome-silhouette");
2468
- });
2469
- }
2470
- o(Ht, "usecaseActorAwesome");
2471
- var Ut = [
2472
- "M -22 -10",
2473
- "H 22",
2474
- "V 0",
2475
- "H 6",
2476
- "L 22 17",
2477
- "L 13 28",
2478
- "L 0 13",
2479
- "L -13 28",
2480
- "L -22 17",
2481
- "L -6 0",
2482
- "H -22",
2483
- "Z"
2484
- ].join(" ");
2485
- async function Wt(e, t) {
2486
- return Rt(e, t, "hollow", (e, t) => {
2487
- It(e, t, 0, -23, 9, "usecase-actor-hollow-head", !0), Ft(e, t, Ut, "usecase-actor-hollow-body", !0);
2488
- });
2489
- }
2490
- o(Wt, "usecaseActorHollow");
2491
- var Gt = 52, Kt = 42, qt = -2, Jt = /* @__PURE__ */ o(async (e, t) => {
2492
- let n = -Gt / 2, r = qt - Gt / 2;
2493
- if (t.look === "handDrawn") {
2494
- let i = T.svg(e).rectangle(n, r, Gt, Gt, b(t, {}));
2495
- e.insert(() => i, ":first-child").attr("class", "usecase-actor-icon-frame");
2496
- } else e.append("rect").attr("class", "usecase-actor-icon-frame").attr("x", n).attr("y", r).attr("width", Gt).attr("height", Gt).attr("rx", 4).attr("ry", 4);
2497
- let i = t.icon ?? "", a = await g(i.includes(":") ? i : `fa:${i}`), o = await _(i, {
2498
- height: Kt,
2499
- width: Kt,
2500
- fallbackPrefix: "fa"
2501
- }), s = e.append("g").attr("class", `usecase-actor-icon-symbol${a ? "" : " usecase-actor-icon-fallback"}`).attr("aria-hidden", "true").html(`<g>${o}</g>`), c = s.node()?.getBBox();
2502
- c && s.attr("transform", `translate(${-c.width / 2 - c.x},${qt - c.height / 2 - c.y})`);
2503
- }, "drawIconActor");
2504
- async function Yt(e, t) {
2505
- return Rt(e, t, "icon", Jt);
2506
- }
2507
- o(Yt, "usecaseActorIcon");
2508
- var Xt = /* @__PURE__ */ o((e, t, n) => {
2509
- let r = (t.x ?? 0) - (t.left ?? 0), i = (t.y ?? 0) - (t.top ?? 0);
2510
- e.attr("transform", `translate(${-t.width / 2 - r},${n - t.height / 2 - i})`);
2511
- }, "positionLabel");
2512
- async function Zt(e, t) {
2513
- let n = t, { labelStyles: r, nodeStyles: i } = x(t);
2514
- t.labelStyle = r;
2515
- let { shapeSvg: a, bbox: o, halfPadding: s, label: c } = await P(e, n.stereotype ? {
2516
- ...t,
2517
- stereotype: void 0
2518
- } : t, L(t, "usecase-business-shape"));
2519
- c.attr("class", "label usecase-label");
2520
- let { theme: l, themeVariables: u } = m();
2521
- w(a, t.colorIndex, l, u.borderColorArray);
2522
- let d, f;
2523
- if (n.stereotype) {
2524
- let e = await F(a, `\xAB${n.stereotype}\xBB`, {
2525
- labelStyle: r,
2526
- useHtmlLabels: t.useHtmlLabels,
2527
- padding: 0,
2528
- centerLabel: !0,
2529
- width: t.wrappingWidth
2530
- });
2531
- d = e.label.attr("class", "label usecase-stereotype"), f = e.bbox;
2532
- }
2533
- let p = f ? 2 : 0, h = o.height + (f?.height ?? 0) + p, g = Math.max(o.width, f?.width ?? 0), _ = s ?? 10, v = g / 2 + _ * 2, y = h / 2 + _ * 2, S = Math.min(Math.max(_ / 5, 1), _ / 2), C = g / 2 + S, E = v - S, D = C / v, O = E / v, k = y * Math.sqrt(Math.max(0, 1 - D * D)), A = -y * Math.sqrt(Math.max(0, 1 - O * O));
2534
- d && f && Xt(d, f, -h / 2 + f.height / 2), Xt(c, o, h / 2 - o.height / 2);
2535
- let j;
2536
- if (t.look === "handDrawn") {
2537
- let e = T.svg(a).ellipse(0, 0, v * 2, y * 2, b(t, {}));
2538
- j = a.insert(() => e, ":first-child").attr("class", "basic label-container usecase-business-ellipse");
2539
- } else j = a.insert("ellipse", ":first-child").attr("class", "basic label-container usecase-business-ellipse").attr("style", i).attr("rx", v).attr("ry", y).attr("cx", 0).attr("cy", 0);
2540
- a.append("path").attr("class", "usecase-business-marker").attr("d", `M ${C} ${k} L ${E} ${A}`).attr("fill", "none").attr("style", i || null);
2541
- let M = n.accessibleName ?? n.label;
2542
- return M && a.attr("role", "img").attr("aria-label", M), I(t, j), t.calcIntersect = (e, t) => K.ellipse(e, e.width / 2, e.height / 2, t), t.intersect = (e) => K.ellipse(t, v, y, e), a;
2543
- }
2544
- o(Zt, "usecaseBusiness");
2545
- var Qt = 8, $t = 4, en = 1, tn = /* @__PURE__ */ o((e, t, n, r) => {
2546
- let i = (t.x ?? 0) - (t.left ?? 0), a = (t.y ?? 0) - (t.top ?? 0);
2547
- e.attr("transform", `translate(${n - t.width / 2 - i},${r - t.height / 2 - a})`);
2548
- }, "positionLabel"), nn = /* @__PURE__ */ o((e) => {
2549
- let t = Number.parseFloat(e ?? "");
2550
- return Number.isFinite(t) && t >= 0 ? t : en;
2551
- }, "numericStrokeWidth");
2552
- async function rn(e, t) {
2553
- let n = t, { labelStyles: r, nodeStyles: i } = x(t), { stylesMap: a } = C(t);
2554
- t.labelStyle = r;
2555
- let { shapeSvg: s, bbox: c, label: l } = await P(e, t, L(t, "usecase-json-table"));
2556
- s.attr("role", "img"), n.accessibleName && s.attr("aria-label", n.accessibleName), l.attr("class", "label usecase-json-title");
2557
- let u = s.append("g").attr("class", "usecase-json-table-grid"), d = [];
2558
- for (let e of n.jsonRows ?? []) {
2559
- let n = await F(u, e.key, {
2560
- labelStyle: r,
2561
- useHtmlLabels: t.useHtmlLabels,
2562
- padding: 0,
2563
- centerLabel: !0
2564
- }), i = await F(u, e.value, {
2565
- labelStyle: r,
2566
- useHtmlLabels: t.useHtmlLabels,
2567
- padding: 0,
2568
- centerLabel: !0
2569
- });
2570
- d.push({
2571
- key: {
2572
- label: n.label.attr("class", "label usecase-json-key"),
2573
- bbox: n.bbox
2574
- },
2575
- value: {
2576
- label: i.label.attr("class", "label usecase-json-value"),
2577
- bbox: i.bbox
2578
- }
2579
- });
2580
- }
2581
- let f = Math.max(0, ...d.map(({ key: e }) => e.bbox.width)) + Qt * 2, p = Math.max(0, ...d.map(({ value: e }) => e.bbox.width)) + Qt * 2, m = c.width + Qt * 2, h = Math.max(m, f + p), g = p + Math.max(0, h - f - p), _ = c.height + $t * 2, v = d.map(({ key: e, value: t }) => Math.max(e.bbox.height, t.bbox.height) + $t * 2), y = _ + v.reduce((e, t) => e + t, 0), S = nn(a.get("stroke-width")), w = h + S * 2, E = y + S * 2, D = -h / 2, O = -y / 2, k = t.look === "handDrawn" ? T.svg(s) : void 0, A = k ? b(t, {}) : void 0, j = /* @__PURE__ */ o((e, t, n, r, a, o) => {
2582
- if (k && A) {
2583
- let i = k.rectangle(n, r, a, o, A);
2584
- return e.insert(() => i, ":first-child").attr("class", t);
2585
- }
2586
- return e.insert("rect", ":first-child").attr("class", t).attr("x", n).attr("y", r).attr("width", a).attr("height", o).attr("style", i);
2587
- }, "insertCell"), M = j(s, "label-container usecase-json-border", -w / 2, -E / 2, w, E);
2588
- j(u, "usecase-json-cell usecase-json-title-cell", D, O, h, _), u.node()?.append(l.node()), tn(l, c, 0, O + _ / 2);
2589
- let N = O + _;
2590
- return d.forEach(({ key: e, value: t }, n) => {
2591
- let r = v[n], i = u.append("g").attr("class", "usecase-json-row").attr("data-row-index", n).attr("transform", `translate(0,${N})`);
2592
- j(i, "usecase-json-cell usecase-json-key-cell", D, 0, f, r), j(i, "usecase-json-cell usecase-json-value-cell", D + f, 0, g, r), i.node()?.append(e.label.node(), t.label.node()), tn(e.label, e.bbox, D + f / 2, r / 2), tn(t.label, t.bbox, D + f + g / 2, r / 2), N += r;
2593
- }), I(t, M), t.intersect = (e) => K.rect(t, e), s;
2594
- }
2595
- o(rn, "usecaseJsonTable");
2596
- async function an(e, t) {
2597
- let { labelStyles: n, nodeStyles: r } = x(t);
2598
- t.labelStyle = n;
2599
- let i = t.padding ?? 0, a = t.look === "neo" ? 16 : i, o = t.look === "neo" ? 12 : i, s = t.look === "neo" ? 10 : 5;
2600
- (t.width || t.height) && (t.width = Math.max((t?.width ?? 0) - a * 2 - 2 * s, 10), t.height = Math.max((t?.height ?? 0) - o * 2 - 2 * s, 10));
2601
- let { shapeSvg: c, bbox: l, label: u } = await P(e, t, L(t)), d = (t?.width ? t?.width : l.width) + a * 2 + 2 * s, f = (t?.height ? t?.height : l.height) + o * 2 + 2 * s, p = d - 2 * s, m = f - 2 * s, h = -p / 2, g = -m / 2, { cssStyles: _ } = t, v = T.svg(c), y = b(t, {}), S = [
2602
- {
2603
- x: h - s,
2604
- y: g + s
2605
- },
2606
- {
2607
- x: h - s,
2608
- y: g + m + s
2609
- },
2610
- {
2611
- x: h + p - s,
2612
- y: g + m + s
2613
- },
2614
- {
2615
- x: h + p - s,
2616
- y: g + m
2617
- },
2618
- {
2619
- x: h + p,
2620
- y: g + m
2621
- },
2622
- {
2623
- x: h + p,
2624
- y: g + m - s
2625
- },
2626
- {
2627
- x: h + p + s,
2628
- y: g + m - s
2629
- },
2630
- {
2631
- x: h + p + s,
2632
- y: g - s
2633
- },
2634
- {
2635
- x: h + s,
2636
- y: g - s
2637
- },
2638
- {
2639
- x: h + s,
2640
- y: g
2641
- },
2642
- {
2643
- x: h,
2644
- y: g
2645
- },
2646
- {
2647
- x: h,
2648
- y: g + s
2649
- }
2650
- ], C = [
2651
- {
2652
- x: h,
2653
- y: g + s
2654
- },
2655
- {
2656
- x: h + p - s,
2657
- y: g + s
2658
- },
2659
- {
2660
- x: h + p - s,
2661
- y: g + m
2662
- },
2663
- {
2664
- x: h + p,
2665
- y: g + m
2666
- },
2667
- {
2668
- x: h + p,
2669
- y: g
2670
- },
2671
- {
2672
- x: h,
2673
- y: g
2674
- }
2675
- ];
2676
- t.look !== "handDrawn" && (y.roughness = 0, y.fillStyle = "solid");
2677
- let w = R(S), E = v.path(w, y), D = R(C), O = v.path(D, y);
2678
- t.look !== "handDrawn" && (E = ee(E), O = ee(O));
2679
- let k = c.insert("g", ":first-child");
2680
- return k.insert(() => E), k.insert(() => O), k.attr("class", "basic label-container outer-path"), _ && t.look !== "handDrawn" && k.selectAll("path").attr("style", _), r && t.look !== "handDrawn" && k.selectAll("path").attr("style", r), u.attr("transform", `translate(${-(l.width / 2) - s - (l.x - (l.left ?? 0))}, ${-(l.height / 2) + s - (l.y - (l.top ?? 0))})`), I(t, k), t.intersect = function(e) {
2681
- return K.polygon(t, S, e);
2682
- }, c;
2683
- }
2684
- o(an, "multiRect");
2685
- async function on(e, t) {
2686
- let { labelStyles: n, nodeStyles: r } = x(t);
2687
- t.labelStyle = n;
2688
- let { shapeSvg: i, bbox: a, label: o } = await P(e, t, L(t)), s = t.padding ?? 0, c = t.look === "neo" ? 16 : s, l = t.look === "neo" ? 12 : s, u = !0;
2689
- (t.width || t.height) && (u = !1, t.width = (t?.width ?? 0) - c * 2, t.height = (t?.height ?? 0) - l * 3);
2690
- let d = Math.max(a.width, t?.width ?? 0) + c * 2, f = Math.max(a.height, t?.height ?? 0) + l * 3, p = t.look === "neo" ? f / 4 : f / 8, m = f + (u ? p / 2 : -p / 2), h = -d / 2, g = -m / 2, { cssStyles: _ } = t, v = z(h - 10, g + m + 10, h + d - 10, g + m + 10, p, .8), y = v?.[v.length - 1], S = [
2691
- {
2692
- x: h - 10,
2693
- y: g + 10
2694
- },
2695
- {
2696
- x: h - 10,
2697
- y: g + m + 10
2698
- },
2699
- ...v,
2700
- {
2701
- x: h + d - 10,
2702
- y: y.y - 10
2703
- },
2704
- {
2705
- x: h + d,
2706
- y: y.y - 10
2707
- },
2708
- {
2709
- x: h + d,
2710
- y: y.y - 20
2711
- },
2712
- {
2713
- x: h + d + 10,
2714
- y: y.y - 20
2715
- },
2716
- {
2717
- x: h + d + 10,
2718
- y: g - 10
2719
- },
2720
- {
2721
- x: h + 10,
2722
- y: g - 10
2723
- },
2724
- {
2725
- x: h + 10,
2726
- y: g
2727
- },
2728
- {
2729
- x: h,
2730
- y: g
2731
- },
2732
- {
2733
- x: h,
2734
- y: g + 10
2735
- }
2736
- ], C = [
2737
- {
2738
- x: h,
2739
- y: g + 10
2740
- },
2741
- {
2742
- x: h + d - 10,
2743
- y: g + 10
2744
- },
2745
- {
2746
- x: h + d - 10,
2747
- y: y.y - 10
2748
- },
2749
- {
2750
- x: h + d,
2751
- y: y.y - 10
2752
- },
2753
- {
2754
- x: h + d,
2755
- y: g
2756
- },
2757
- {
2758
- x: h,
2759
- y: g
2760
- }
2761
- ], w = T.svg(i), E = b(t, {});
2762
- t.look !== "handDrawn" && (E.roughness = 0, E.fillStyle = "solid");
2763
- let D = R(S), O = w.path(D, E), k = R(C), A = w.path(k, E), j = i.insert(() => O, ":first-child");
2764
- return j.insert(() => A), j.attr("class", "basic label-container outer-path"), _ && t.look !== "handDrawn" && j.selectAll("path").attr("style", _), r && t.look !== "handDrawn" && j.selectAll("path").attr("style", r), j.attr("transform", `translate(0,${-p / 2})`), o.attr("transform", `translate(${-(a.width / 2) - 10 - (a.x - (a.left ?? 0))}, ${-(a.height / 2) + 10 - p - (a.y - (a.top ?? 0))})`), I(t, j), t.intersect = function(e) {
2765
- return K.polygon(t, S, e);
2766
- }, i;
2767
- }
2768
- o(on, "multiWaveEdgedRectangle");
2769
- async function sn(e, t, { config: { themeVariables: n } }) {
2770
- let { labelStyles: r, nodeStyles: i } = x(t);
2771
- t.labelStyle = r, t.useHtmlLabels || u(d()) || (t.centerLabel = !0);
2772
- let { shapeSvg: a, bbox: o, label: s } = await P(e, t, L(t)), c = Math.max(o.width + (t.padding ?? 0) * 2, t?.width ?? 0), l = Math.max(o.height + (t.padding ?? 0) * 2, t?.height ?? 0), f = -c / 2, p = -l / 2, { cssStyles: m } = t, h = T.svg(a), g = b(t, {
2773
- fill: n.noteBkgColor,
2774
- stroke: n.noteBorderColor
2775
- });
2776
- t.look !== "handDrawn" && (g.roughness = 0, g.fillStyle = "solid");
2777
- let _ = h.rectangle(f, p, c, l, g), v = a.insert(() => _, ":first-child");
2778
- return v.attr("class", "basic label-container outer-path"), s.attr("class", "label noteLabel"), m && t.look !== "handDrawn" && v.selectAll("path").attr("style", m), i && t.look !== "handDrawn" && v.selectAll("path").attr("style", i), s.attr("transform", `translate(${-o.width / 2 - (o.x - (o.left ?? 0))}, ${-(o.height / 2) - (o.y - (o.top ?? 0))})`), I(t, v), t.intersect = function(e) {
2779
- return K.rect(t, e);
2780
- }, a;
2781
- }
2782
- o(sn, "note");
2783
- var cn = /* @__PURE__ */ o((e, t, n) => [
2784
- `M${e + n / 2},${t}`,
2785
- `L${e + n},${t - n / 2}`,
2786
- `L${e + n / 2},${t - n}`,
2787
- `L${e},${t - n / 2}`,
2788
- "Z"
2789
- ].join(" "), "createDecisionBoxPathD");
2790
- async function ln(e, t) {
2791
- let { labelStyles: n, nodeStyles: r } = x(t);
2792
- t.labelStyle = n;
2793
- let { shapeSvg: i, bbox: a } = await P(e, t, L(t)), o = a.width + (t.padding ?? 0) + (a.height + (t.padding ?? 0)), s = .5, c = [
2794
- {
2795
- x: o / 2,
2796
- y: 0
2797
- },
2798
- {
2799
- x: o,
2800
- y: -o / 2
2801
- },
2802
- {
2803
- x: o / 2,
2804
- y: -o
2805
- },
2806
- {
2807
- x: 0,
2808
- y: -o / 2
2809
- }
2810
- ], l, { cssStyles: u } = t;
2811
- if (t.look === "handDrawn") {
2812
- let e = T.svg(i), n = b(t, {}), r = cn(0, 0, o), a = e.path(r, n);
2813
- l = i.insert(() => a, ":first-child").attr("transform", `translate(${-o / 2 + s}, ${o / 2})`), u && l.attr("style", u);
2814
- } else l = J(i, o, o, c), l.attr("transform", `translate(${-o / 2 + s}, ${o / 2})`);
2815
- return r && l.attr("style", r), I(t, l), t.calcIntersect = function(e, t) {
2816
- let n = e.width, r = [
2817
- {
2818
- x: n / 2,
2819
- y: 0
2820
- },
2821
- {
2822
- x: n,
2823
- y: -n / 2
2824
- },
2825
- {
2826
- x: n / 2,
2827
- y: -n
2828
- },
2829
- {
2830
- x: 0,
2831
- y: -n / 2
2832
- }
2833
- ];
2834
- return K.polygon(e, r, t);
2835
- }, t.intersect = function(e) {
2836
- return this.calcIntersect(t, e);
2837
- }, i;
2838
- }
2839
- o(ln, "question");
2840
- async function un(e, t) {
2841
- let { labelStyles: n, nodeStyles: r } = x(t);
2842
- t.labelStyle = n;
2843
- let i = t.padding ?? 0, a = t.look === "neo" ? 21 : i ?? 0, o = t.look === "neo" ? 12 : i ?? 0, { shapeSvg: s, bbox: c, label: l } = await P(e, t, L(t)), u = c.width + (t.look === "neo" ? a * 2 : a), d = Math.max(c.height + (t.look === "neo" ? o * 2 : o), t.height ?? 0), f = d / 4, p = -Math.max(u, (t.width ?? 0) - f) / 2, m = -d / 2, h = m / 2, g = [
2844
- {
2845
- x: p + h,
2846
- y: m
2847
- },
2848
- {
2849
- x: p,
2850
- y: 0
2851
- },
2852
- {
2853
- x: p + h,
2854
- y: -m
2855
- },
2856
- {
2857
- x: -p,
2858
- y: -m
2859
- },
2860
- {
2861
- x: -p,
2862
- y: m
2863
- }
2864
- ], { cssStyles: _ } = t, v = T.svg(s), y = b(t, {});
2865
- t.look !== "handDrawn" && (y.roughness = 0, y.fillStyle = "solid");
2866
- let S = R(g), C = v.path(S, y), w = s.insert(() => C, ":first-child");
2867
- return w.attr("class", "basic label-container outer-path"), _ && t.look !== "handDrawn" && w.selectAll("path").attr("style", _), r && t.look !== "handDrawn" && w.selectAll("path").attr("style", r), w.attr("transform", `translate(${-h / 2},0)`), l.attr("transform", `translate(${-h / 2 - c.width / 2 - (c.x - (c.left ?? 0))}, ${-(c.height / 2) - (c.y - (c.top ?? 0))})`), I(t, w), t.intersect = function(e) {
2868
- return K.polygon(t, g, e);
2869
- }, s;
2870
- }
2871
- o(un, "rect_left_inv_arrow");
2872
- async function dn(n, r) {
2873
- let { labelStyles: i, nodeStyles: a } = x(r);
2874
- r.labelStyle = i;
2875
- let o;
2876
- o = r.cssClasses ? "node " + r.cssClasses : "node default";
2877
- let s = n.insert("g").attr("class", o).attr("id", r.domId || r.id), c = s.insert("g"), l = s.insert("g").attr("class", "label").attr("style", a), d = r.description, f = r.label, p = await se(l, f, r.labelStyle, !0, !0), h = {
2878
- width: 0,
2879
- height: 0
2880
- };
2881
- if (u(m())) {
2882
- let e = p.children[0], n = t(p);
2883
- h = e.getBoundingClientRect(), n.attr("width", h.width), n.attr("height", h.height);
2884
- }
2885
- e.info("Text 2", d);
2886
- let g = d || [], _ = p.getBBox(), v = await se(l, Array.isArray(g) ? g.join("<br/>") : g, r.labelStyle, !0, !0), y = v.children[0], S = t(v);
2887
- h = y.getBoundingClientRect(), S.attr("width", h.width), S.attr("height", h.height);
2888
- let C = (r.padding || 0) / 2;
2889
- t(v).attr("transform", "translate( " + (h.width > _.width ? 0 : (_.width - h.width) / 2) + ", " + (_.height + C + 5) + ")"), t(p).attr("transform", "translate( " + (h.width < _.width ? 0 : -(_.width - h.width) / 2) + ", 0)"), h = l.node().getBBox(), l.attr("transform", "translate(" + -h.width / 2 + ", " + (-h.height / 2 - C + 3) + ")");
2890
- let w = h.width + (r.padding || 0), E = h.height + (r.padding || 0), D = -h.width / 2 - C, O = -h.height / 2 - C, k, A;
2891
- if (r.look === "handDrawn") {
2892
- let t = T.svg(s), n = b(r, {}), i = t.path(q(D, O, w, E, r.rx || 0), n), a = t.line(-h.width / 2 - C, -h.height / 2 - C + _.height + C, h.width / 2 + C, -h.height / 2 - C + _.height + C, n);
2893
- A = s.insert(() => (e.debug("Rough node insert CXC", i), a), ":first-child"), k = s.insert(() => (e.debug("Rough node insert CXC", i), i), ":first-child");
2894
- } else k = c.insert("rect", ":first-child"), A = c.insert("line"), k.attr("class", "outer title-state").attr("style", a).attr("x", -h.width / 2 - C).attr("y", -h.height / 2 - C).attr("width", h.width + (r.padding || 0)).attr("height", h.height + (r.padding || 0)), A.attr("class", "divider").attr("x1", -h.width / 2 - C).attr("x2", h.width / 2 + C).attr("y1", -h.height / 2 - C + _.height + C).attr("y2", -h.height / 2 - C + _.height + C);
2895
- return I(r, k), r.intersect = function(e) {
2896
- return K.rect(r, e);
2897
- }, s;
2898
- }
2899
- o(dn, "rectWithTitle");
2900
- async function fn(e, t, { config: { themeVariables: n } }) {
2901
- let r = n?.radius ?? 5;
2902
- return Ke(e, t, {
2903
- rx: r,
2904
- ry: r,
2905
- classes: "",
2906
- labelPaddingX: (t?.padding ?? 0) * 1,
2907
- labelPaddingY: (t?.padding ?? 0) * 1
2908
- });
2909
- }
2910
- o(fn, "roundedRect");
2911
- var pn = 8;
2912
- async function mn(e, t) {
2913
- let { labelStyles: n, nodeStyles: r } = x(t);
2914
- t.labelStyle = n;
2915
- let i = t.look === "neo" ? 16 : t.padding ?? 0, o = t.look === "neo" ? 12 : t.padding ?? 0, { shapeSvg: s, bbox: c, label: l } = await P(e, t, L(t)), u = (t?.width ?? c.width) + i * 2 + (t.look === "neo" ? pn : pn * 2), d = (t?.height ?? c.height) + o * 2, f = u - pn, p = d, m = pn - u / 2, h = -d / 2, { cssStyles: g } = t, _ = T.svg(s), v = b(t, {});
2916
- t.look !== "handDrawn" && (v.roughness = 0, v.fillStyle = "solid");
2917
- let y = [
2918
- {
2919
- x: m,
2920
- y: h
2921
- },
2922
- {
2923
- x: m + f,
2924
- y: h
2925
- },
2926
- {
2927
- x: m + f,
2928
- y: h + p
2929
- },
2930
- {
2931
- x: m - pn,
2932
- y: h + p
2933
- },
2934
- {
2935
- x: m - pn,
2936
- y: h
2937
- },
2938
- {
2939
- x: m,
2940
- y: h
2941
- },
2942
- {
2943
- x: m,
2944
- y: h + p
2945
- }
2946
- ], S = _.polygon(y.map((e) => [e.x, e.y]), v), C = s.insert(() => S, ":first-child");
2947
- return C.attr("class", "basic label-container outer-path").attr("style", a(g)), r && t.look !== "handDrawn" && C.selectAll("path").attr("style", r), g && t.look !== "handDrawn" && C.selectAll("path").attr("style", r), l.attr("transform", `translate(${pn / 2 - c.width / 2 - (c.x - (c.left ?? 0))}, ${-(c.height / 2) - (c.y - (c.top ?? 0))})`), I(t, C), t.intersect = function(e) {
2948
- return K.rect(t, e);
2949
- }, s;
2950
- }
2951
- o(mn, "shadedProcess");
2952
- async function hn(e, t) {
2953
- let { labelStyles: n, nodeStyles: r } = x(t);
2954
- t.labelStyle = n;
2955
- let i = t.padding ?? 0, a = t.look === "neo" ? 16 : i, o = t.look === "neo" ? 12 : i;
2956
- (t.width || t.height) && (t.width = Math.max((t?.width ?? 0) - a * 2, 10), t.height = Math.max((t?.height ?? 0) / 1.5 - o * 2, 10));
2957
- let { shapeSvg: s, bbox: c, label: l } = await P(e, t, L(t)), u = (t?.width ? t?.width : c.width) + a * 2, d = ((t?.height ? t?.height : c.height) + o * 2) * 1.5, f = u, p = d / 1.5, m = -f / 2, h = -p / 2, { cssStyles: g } = t, _ = T.svg(s), v = b(t, {});
2958
- t.look !== "handDrawn" && (v.roughness = 0, v.fillStyle = "solid");
2959
- let y = [
2960
- {
2961
- x: m,
2962
- y: h
2963
- },
2964
- {
2965
- x: m,
2966
- y: h + p
2967
- },
2968
- {
2969
- x: m + f,
2970
- y: h + p
2971
- },
2972
- {
2973
- x: m + f,
2974
- y: h - p / 2
2975
- }
2976
- ], S = R(y), C = _.path(S, v), w = s.insert(() => C, ":first-child");
2977
- return w.attr("class", "basic label-container outer-path"), g && t.look !== "handDrawn" && w.selectChildren("path").attr("style", g), r && t.look !== "handDrawn" && w.selectChildren("path").attr("style", r), w.attr("transform", `translate(0, ${p / 4})`), l.attr("transform", `translate(${-f / 2 + (t.padding ?? 0) - (c.x - (c.left ?? 0))}, ${-p / 4 + (t.padding ?? 0) - (c.y - (c.top ?? 0))})`), I(t, w), t.intersect = function(e) {
2978
- return K.polygon(t, y, e);
2979
- }, s;
2980
- }
2981
- o(hn, "slopedRect");
2982
- async function gn(e, t) {
2983
- let n = t.padding ?? 0, r = t.look === "neo" ? 16 : n * 2, i = t.look === "neo" ? 12 : n, a = await Ke(e, t, {
2984
- rx: 0,
2985
- ry: 0,
2986
- classes: "",
2987
- labelPaddingX: t.labelPaddingX ?? r,
2988
- labelPaddingY: i
2989
- });
2990
- if (t.colorIndex !== void 0) {
2991
- let { theme: e, themeVariables: n } = m();
2992
- w(a, t.colorIndex, e, n.borderColorArray);
2993
- }
2994
- return a;
2995
- }
2996
- o(gn, "squareRect");
2997
- var _n = 50, vn = /* @__PURE__ */ o((e, t, n) => {
2998
- let r = e.height + n, i = r * Math.cos(Math.PI / (2 * (_n - 1))), a = Math.sqrt(Math.max(0, i ** 2 - e.height ** 2));
2999
- return {
3000
- w: Math.max(e.width + r / 4 + t, 1.5 * r + (r - i), e.width + t + r - a),
3001
- h: r
3002
- };
3003
- }, "stadiumDimensions");
3004
- async function yn(e, t) {
3005
- let { labelStyles: n, nodeStyles: r } = x(t);
3006
- t.labelStyle = n;
3007
- let i = t.padding ?? 0, a = t.look === "neo" ? 40 : i, o = t.look === "neo" ? 24 : i, { shapeSvg: s, bbox: c } = await P(e, t, L(t)), { w: l, h: u } = vn(c, a, o), d = u / 2, { cssStyles: f } = t, p = T.svg(s), m = b(t, {});
3008
- t.look !== "handDrawn" && (m.roughness = 0, m.fillStyle = "solid");
3009
- let h = [
3010
- {
3011
- x: -l / 2 + d,
3012
- y: -u / 2
3013
- },
3014
- {
3015
- x: l / 2 - d,
3016
- y: -u / 2
3017
- },
3018
- ...B(-l / 2 + d, 0, d, _n, 90, 270),
3019
- {
3020
- x: l / 2 - d,
3021
- y: u / 2
3022
- },
3023
- ...B(l / 2 - d, 0, d, _n, 270, 450)
3024
- ], g = R(h), _ = p.path(g, m), v = s.insert(() => _, ":first-child");
3025
- return v.attr("class", "basic label-container outer-path"), f && t.look !== "handDrawn" && v.selectChildren("path").attr("style", f), r && t.look !== "handDrawn" && v.selectChildren("path").attr("style", r), I(t, v), t.intersect = function(e) {
3026
- return K.polygon(t, h, e);
3027
- }, s;
3028
- }
3029
- o(yn, "stadium");
3030
- async function bn(e, t) {
3031
- return Ke(e, t, {
3032
- rx: t.look === "neo" ? 3 : 5,
3033
- ry: t.look === "neo" ? 3 : 5,
3034
- classes: "flowchart-node"
3035
- });
3036
- }
3037
- o(bn, "state");
3038
- function xn(e, t, { config: { themeVariables: n } }) {
3039
- let { labelStyles: r, nodeStyles: i } = x(t);
3040
- t.labelStyle = r;
3041
- let { cssStyles: a } = t, { lineColor: o, stateBorder: s, nodeBorder: c, nodeShadow: l } = n;
3042
- (t.width || t.height) && ((t.width ?? 0) < 14 && (t.width = 14), (t.height ?? 0) < 14 && (t.height = 14)), t.width ||= 14, t.height ||= 14;
3043
- let u = e.insert("g").attr("class", "node default").attr("id", t.domId ?? t.id), d = T.svg(u), f = b(t, {});
3044
- t.look !== "handDrawn" && (f.roughness = 0, f.fillStyle = "solid");
3045
- let p = d.circle(0, 0, t.width, {
3046
- ...f,
3047
- stroke: o,
3048
- strokeWidth: 2
3049
- }), m = s ?? c, h = (t.width ?? 0) * 5 / 14, g = d.circle(0, 0, h, {
3050
- ...f,
3051
- fill: m,
3052
- stroke: m,
3053
- strokeWidth: 2,
3054
- fillStyle: "solid"
3055
- }), _ = u.insert(() => p, ":first-child");
3056
- if (_.insert(() => g), t.look !== "handDrawn" && _.attr("class", "outer-path"), a && _.selectAll("path").attr("style", a), i && _.selectAll("path").attr("style", i), t.width < 25 && l && t.look !== "handDrawn") {
3057
- let t = e.node()?.ownerSVGElement?.id ?? "", n = t ? `${t}-drop-shadow-small` : "drop-shadow-small";
3058
- _.attr("style", `filter:url(#${n})`);
3059
- }
3060
- return I(t, _), t.intersect = function(e) {
3061
- return K.circle(t, (t.width ?? 0) / 2, e);
3062
- }, u;
3063
- }
3064
- o(xn, "stateEnd");
3065
- function Sn(e, t, { config: { themeVariables: n } }) {
3066
- let { lineColor: r, nodeShadow: i } = n;
3067
- (t.width || t.height) && ((t.width ?? 0) < 14 && (t.width = 14), (t.height ?? 0) < 14 && (t.height = 14)), t.width ||= 14, t.height ||= 14;
3068
- let a = e.insert("g").attr("class", "node default").attr("id", t.domId || t.id), o;
3069
- if (t.look === "handDrawn") {
3070
- let e = T.svg(a).circle(0, 0, t.width, S(r));
3071
- o = a.insert(() => e), o.attr("class", "state-start").attr("r", (t.width ?? 7) / 2).attr("width", t.width ?? 14).attr("height", t.height ?? 14);
3072
- } else o = a.insert("circle", ":first-child"), o.attr("class", "state-start").attr("r", (t.width ?? 7) / 2).attr("width", t.width ?? 14).attr("height", t.height ?? 14);
3073
- if (t.width < 25 && i && t.look !== "handDrawn") {
3074
- let t = e.node()?.ownerSVGElement?.id ?? "", n = t ? `${t}-drop-shadow-small` : "drop-shadow-small";
3075
- o.attr("style", `filter:url(#${n})`);
3076
- }
3077
- return I(t, o), t.intersect = function(e) {
3078
- return K.circle(t, (t.width ?? 7) / 2, e);
3079
- }, a;
3080
- }
3081
- o(Sn, "stateStart");
3082
- var Cn = 8;
3083
- async function wn(e, t) {
3084
- let { labelStyles: n, nodeStyles: r } = x(t);
3085
- t.labelStyle = n;
3086
- let i = t?.padding ?? 8, o = t.look === "neo" ? 28 : i, s = t.look === "neo" ? 12 : i, { shapeSvg: c, bbox: l } = await P(e, t, L(t)), u = Math.max(l.width + 2 * Cn + o, t.width ?? 0), d = Math.max(l.height + s, t.height ?? 0), f = u - 2 * Cn, p = d, m = -u / 2, h = -d / 2, g = [
3087
- {
3088
- x: 0,
3089
- y: 0
3090
- },
3091
- {
3092
- x: f,
3093
- y: 0
3094
- },
3095
- {
3096
- x: f,
3097
- y: -p
3098
- },
3099
- {
3100
- x: 0,
3101
- y: -p
3102
- },
3103
- {
3104
- x: 0,
3105
- y: 0
3106
- },
3107
- {
3108
- x: -8,
3109
- y: 0
3110
- },
3111
- {
3112
- x: f + 8,
3113
- y: 0
3114
- },
3115
- {
3116
- x: f + 8,
3117
- y: -p
3118
- },
3119
- {
3120
- x: -8,
3121
- y: -p
3122
- },
3123
- {
3124
- x: -8,
3125
- y: 0
3126
- }
3127
- ];
3128
- if (t.look === "handDrawn") {
3129
- let e = T.svg(c), n = b(t, {}), r = e.rectangle(m, h, f + 16, p, n), i = e.line(m + Cn, h, m + Cn, h + p, n), o = e.line(m + Cn + f, h, m + Cn + f, h + p, n);
3130
- c.insert(() => i, ":first-child"), c.insert(() => o, ":first-child");
3131
- let s = c.insert(() => r, ":first-child"), { cssStyles: l } = t;
3132
- s.attr("class", "basic label-container").attr("style", a(l)), I(t, s);
3133
- } else {
3134
- let e = J(c, f, p, g);
3135
- r && e.attr("style", r), I(t, e);
3136
- }
3137
- return t.intersect = function(e) {
3138
- return K.polygon(t, g, e);
3139
- }, c;
3140
- }
3141
- o(wn, "subroutine");
3142
- var Tn = .2;
3143
- async function En(e, t) {
3144
- let { labelStyles: n, nodeStyles: r } = x(t);
3145
- t.labelStyle = n;
3146
- let i = t.padding ?? 0, a = t.look === "neo" ? 16 : i, o = t.look === "neo" ? 12 : i;
3147
- (t.width || t.height) && (t.height = Math.max((t?.height ?? 0) - o * 2, 10), t.width = Math.max((t?.width ?? 0) - a * 2 - Tn * (t.height + o * 2), 10));
3148
- let { shapeSvg: s, bbox: c } = await P(e, t, L(t)), l = (t?.height ? t?.height : c.height) + o * 2, u = Tn * l, d = Tn * l, f = (t?.width ? t?.width : c.width) + a * 2 + u - u, p = l, m = -f / 2, h = -p / 2, { cssStyles: g } = t, _ = T.svg(s), v = b(t, {}), y = [
3149
- {
3150
- x: m - u / 2,
3151
- y: h
3152
- },
3153
- {
3154
- x: m + f + u / 2,
3155
- y: h
3156
- },
3157
- {
3158
- x: m + f + u / 2,
3159
- y: h + p
3160
- },
3161
- {
3162
- x: m - u / 2,
3163
- y: h + p
3164
- }
3165
- ], S = [
3166
- {
3167
- x: m + f - u / 2,
3168
- y: h + p
3169
- },
3170
- {
3171
- x: m + f + u / 2,
3172
- y: h + p
3173
- },
3174
- {
3175
- x: m + f + u / 2,
3176
- y: h + p - d
3177
- }
3178
- ];
3179
- t.look !== "handDrawn" && (v.roughness = 0, v.fillStyle = "solid");
3180
- let C = R(y), w = _.path(C, v), E = R(S), D = _.path(E, {
3181
- ...v,
3182
- fillStyle: "solid"
3183
- }), O = s.insert(() => D, ":first-child");
3184
- return O.insert(() => w, ":first-child"), O.attr("class", "basic label-container outer-path"), g && t.look !== "handDrawn" && O.selectAll("path").attr("style", g), r && t.look !== "handDrawn" && O.selectAll("path").attr("style", r), I(t, O), t.intersect = function(e) {
3185
- return K.polygon(t, y, e);
3186
- }, s;
3187
- }
3188
- o(En, "taggedRect");
3189
- async function Dn(e, t) {
3190
- let { labelStyles: n, nodeStyles: r } = x(t);
3191
- t.labelStyle = n;
3192
- let { shapeSvg: i, bbox: a, label: o } = await P(e, t, L(t)), s = Math.max(a.width + (t.padding ?? 0) * 2, t?.width ?? 0), c = Math.max(a.height + (t.padding ?? 0) * 2, t?.height ?? 0), l = c / 8, u = .2 * s, d = .2 * c, f = c + l, { cssStyles: p } = t, m = T.svg(i), h = b(t, {});
3193
- t.look !== "handDrawn" && (h.roughness = 0, h.fillStyle = "solid");
3194
- let g = [
3195
- {
3196
- x: -s / 2 - s / 2 * .1,
3197
- y: f / 2
3198
- },
3199
- ...z(-s / 2 - s / 2 * .1, f / 2, s / 2 + s / 2 * .1, f / 2, l, .8),
3200
- {
3201
- x: s / 2 + s / 2 * .1,
3202
- y: -f / 2
3203
- },
3204
- {
3205
- x: -s / 2 - s / 2 * .1,
3206
- y: -f / 2
3207
- }
3208
- ], _ = -s / 2 + s / 2 * .1, v = -f / 2 - d * .4, y = [
3209
- {
3210
- x: _ + s - u,
3211
- y: (v + c) * 1.3
3212
- },
3213
- {
3214
- x: _ + s,
3215
- y: v + c - d
3216
- },
3217
- {
3218
- x: _ + s,
3219
- y: (v + c) * .9
3220
- },
3221
- ...z(_ + s, (v + c) * 1.25, _ + s - u, (v + c) * 1.3, -c * .02, .5)
3222
- ], S = R(g), C = m.path(S, h), w = R(y), E = m.path(w, {
3223
- ...h,
3224
- fillStyle: "solid"
3225
- }), D = i.insert(() => E, ":first-child");
3226
- return D.insert(() => C, ":first-child"), D.attr("class", "basic label-container outer-path"), p && t.look !== "handDrawn" && D.selectAll("path").attr("style", p), r && t.look !== "handDrawn" && D.selectAll("path").attr("style", r), D.attr("transform", `translate(0,${-l / 2})`), o.attr("transform", `translate(${-s / 2 + (t.padding ?? 0) - (a.x - (a.left ?? 0))},${-c / 2 + (t.padding ?? 0) - l / 2 - (a.y - (a.top ?? 0))})`), I(t, D), t.intersect = function(e) {
3227
- return K.polygon(t, g, e);
3228
- }, i;
3229
- }
3230
- o(Dn, "taggedWaveEdgedRectangle");
3231
- async function On(e, t) {
3232
- let { labelStyles: n, nodeStyles: r } = x(t);
3233
- t.labelStyle = n;
3234
- let { shapeSvg: i, bbox: a } = await P(e, t, L(t)), o = Math.max(a.width + (t.padding ?? 0), t?.width || 0), s = Math.max(a.height + (t.padding ?? 0), t?.height || 0), c = -o / 2, l = -s / 2, u = i.insert("rect", ":first-child");
3235
- return u.attr("class", "text").attr("style", r).attr("rx", 0).attr("ry", 0).attr("x", c).attr("y", l).attr("width", o).attr("height", s), I(t, u), t.intersect = function(e) {
3236
- return K.rect(t, e);
3237
- }, i;
3238
- }
3239
- o(On, "text");
3240
- var kn = /* @__PURE__ */ o((e, t, n, r, i, a) => `M${e},${t}
3241
- a${i},${a} 0,0,1 0,${-r}
3242
- l${n},0
3243
- a${i},${a} 0,0,1 0,${r}
3244
- M${n},${-r}
3245
- a${i},${a} 0,0,0 0,${r}
3246
- l${-n},0`, "createCylinderPathD"), An = /* @__PURE__ */ o((e, t, n, r, i, a) => [
3247
- `M${e},${t}`,
3248
- `M${e + n},${t}`,
3249
- `a${i},${a} 0,0,0 0,${-r}`,
3250
- `l${-n},0`,
3251
- `a${i},${a} 0,0,0 0,${r}`,
3252
- `l${n},0`
3253
- ].join(" "), "createOuterCylinderPathD"), jn = /* @__PURE__ */ o((e, t, n, r, i, a) => [`M${e + n / 2},${-r / 2}`, `a${i},${a} 0,0,0 0,${r}`].join(" "), "createInnerCylinderPathD"), Mn = 5, Nn = 10;
3254
- async function Pn(e, t) {
3255
- let { labelStyles: n, nodeStyles: r } = x(t);
3256
- t.labelStyle = n;
3257
- let i = t.padding ?? 0, o = t.look === "neo" ? 12 : i / 2, s = t.height ?? 0;
3258
- if (t.height && (t.height -= o, t.height < Mn && (t.height = Mn)), t.width) {
3259
- let e = s / 2 / (2.5 + s / 50);
3260
- t.width = t.width - o - e * 3, t.width < Nn && (t.width = Nn);
3261
- }
3262
- let { shapeSvg: c, bbox: l, label: u } = await P(e, t, L(t)), d = Math.max(t.height ?? 0, l.height) + o, f = d / 2, p = f / (2.5 + d / 50), m = Math.max(t.width ?? 0, l.width) + p + o, { cssStyles: h } = t, g;
3263
- if (t.look === "handDrawn") {
3264
- let e = T.svg(c), n = An(0, 0, m, d, p, f), r = jn(0, 0, m, d, p, f), i = e.path(n, b(t, {})), a = e.path(r, b(t, { fill: "none" }));
3265
- g = c.insert(() => a, ":first-child"), g = c.insert(() => i, ":first-child"), g.attr("class", "basic label-container"), h && g.attr("style", h);
3266
- } else {
3267
- let e = kn(0, 0, m, d, p, f);
3268
- g = c.insert("path", ":first-child").attr("d", e).attr("class", "basic label-container").attr("style", a(h)).attr("style", r), g.attr("class", "basic label-container outer-path"), h && g.selectAll("path").attr("style", h), r && g.selectAll("path").attr("style", r);
3269
- }
3270
- return g.attr("label-offset-x", p), g.attr("transform", `translate(${-m / 2}, ${d / 2} )`), u.attr("transform", `translate(${-(l.width / 2) - p - (l.x - (l.left ?? 0))}, ${-(l.height / 2) - (l.y - (l.top ?? 0))})`), I(t, g), t.intersect = function(e) {
3271
- let n = K.rect(t, e), r = n.y - (t.y ?? 0);
3272
- if (f != 0 && (Math.abs(r) < (t.height ?? 0) / 2 || Math.abs(r) == (t.height ?? 0) / 2 && Math.abs(n.x - (t.x ?? 0)) > (t.width ?? 0) / 2 - p)) {
3273
- let i = p * p * (1 - r * r / (f * f));
3274
- i != 0 && (i = Math.sqrt(Math.abs(i))), i = p - i, e.x - (t.x ?? 0) > 0 && (i = -i), n.x += i;
3275
- }
3276
- return n;
3277
- }, c;
3278
- }
3279
- o(Pn, "tiltedCylinder");
3280
- async function Fn(e, t) {
3281
- let { labelStyles: n, nodeStyles: r } = x(t);
3282
- t.labelStyle = n;
3283
- let i = t.padding ?? 0, a = (t.look, i), o = t.look === "neo" ? i * 2 : i, { shapeSvg: s, bbox: c } = await P(e, t, L(t)), l = Math.max(c.height + a, t.height ?? 0), u = Math.max(c.width + o, (t.width ?? 0) - l), d = [
3284
- {
3285
- x: -3 * l / 6,
3286
- y: 0
3287
- },
3288
- {
3289
- x: u + 3 * l / 6,
3290
- y: 0
3291
- },
3292
- {
3293
- x: u,
3294
- y: -l
3295
- },
3296
- {
3297
- x: 0,
3298
- y: -l
3299
- }
3300
- ], f, { cssStyles: p } = t;
3301
- if (t.look === "handDrawn") {
3302
- let e = T.svg(s), n = b(t, {}), r = R(d), i = e.path(r, n);
3303
- f = s.insert(() => i, ":first-child").attr("transform", `translate(${-u / 2}, ${l / 2})`), p && f.attr("style", p);
3304
- } else f = J(s, u, l, d);
3305
- return r && f.attr("style", r), t.width = u, t.height = l, I(t, f), t.intersect = function(e) {
3306
- return K.polygon(t, d, e);
3307
- }, s;
3308
- }
3309
- o(Fn, "trapezoid");
3310
- async function In(e, t) {
3311
- let { labelStyles: n, nodeStyles: r } = x(t);
3312
- t.labelStyle = n;
3313
- let i = t.padding ?? 0, a = t.look === "neo" ? 16 : i, o = t.look === "neo" ? 12 : i;
3314
- (t.width || t.height) && (t.height = (t.height ?? 0) - o * 2, t.height < 5 && (t.height = 5), t.width = (t.width ?? 0) - a * 2, t.width < 15 && (t.width = 15));
3315
- let { shapeSvg: s, bbox: c } = await P(e, t, L(t)), l = (t?.width ? t?.width : c.width) + a * 2, u = (t?.height ? t?.height : c.height) + o * 2, { cssStyles: d } = t, f = T.svg(s), p = b(t, {});
3316
- t.look !== "handDrawn" && (p.roughness = 0, p.fillStyle = "solid");
3317
- let m = [
3318
- {
3319
- x: -l / 2 * .8,
3320
- y: -u / 2
3321
- },
3322
- {
3323
- x: l / 2 * .8,
3324
- y: -u / 2
3325
- },
3326
- {
3327
- x: l / 2,
3328
- y: -u / 2 * .6
3329
- },
3330
- {
3331
- x: l / 2,
3332
- y: u / 2
3333
- },
3334
- {
3335
- x: -l / 2,
3336
- y: u / 2
3337
- },
3338
- {
3339
- x: -l / 2,
3340
- y: -u / 2 * .6
3341
- }
3342
- ], h = R(m), g = f.path(h, p), _ = s.insert(() => g, ":first-child");
3343
- return _.attr("class", "basic label-container outer-path"), d && t.look !== "handDrawn" && _.selectChildren("path").attr("style", d), r && t.look !== "handDrawn" && _.selectChildren("path").attr("style", r), I(t, _), t.intersect = function(e) {
3344
- return K.polygon(t, m, e);
3345
- }, s;
3346
- }
3347
- o(In, "trapezoidalPentagon");
3348
- var Ln = 10, Rn = 10;
3349
- async function zn(t, n) {
3350
- let { labelStyles: r, nodeStyles: i } = x(n);
3351
- n.labelStyle = r;
3352
- let a = n.padding ?? 0, o = n.look === "neo" ? a * 2 : a;
3353
- (n.width || n.height) && (n.width = ((n?.width ?? 0) - o) / 2, n.width < Rn && (n.width = Rn), n.height = n?.height ?? 0, n.height < Ln && (n.height = Ln));
3354
- let { shapeSvg: s, bbox: c, label: l } = await P(t, n, L(n)), u = p(m().flowchart?.htmlLabels), d = (n?.width ? n?.width : c.width) + o, f = n?.height ? n?.height : d + c.height, h = f, g = [
3355
- {
3356
- x: 0,
3357
- y: 0
3358
- },
3359
- {
3360
- x: h,
3361
- y: 0
3362
- },
3363
- {
3364
- x: h / 2,
3365
- y: -f
3366
- }
3367
- ], { cssStyles: _ } = n, v = T.svg(s), y = b(n, {});
3368
- n.look !== "handDrawn" && (y.roughness = 0, y.fillStyle = "solid");
3369
- let S = R(g), C = v.path(S, y), w = s.insert(() => C, ":first-child").attr("transform", `translate(${-f / 2}, ${f / 2})`).attr("class", "outer-path");
3370
- return _ && n.look !== "handDrawn" && w.selectChildren("path").attr("style", _), i && n.look !== "handDrawn" && w.selectChildren("path").attr("style", i), n.width = d, n.height = f, I(n, w), l.attr("transform", `translate(${-c.width / 2 - (c.x - (c.left ?? 0))}, ${f / 2 - (c.height + (n.padding ?? 0) / (u ? 2 : 1) - (c.y - (c.top ?? 0)))})`), n.intersect = function(t) {
3371
- return e.info("Triangle intersect", n, g, t), K.polygon(n, g, t);
3372
- }, s;
3373
- }
3374
- o(zn, "triangle");
3375
- async function Bn(e, t) {
3376
- let { labelStyles: n, nodeStyles: r } = x(t);
3377
- t.labelStyle = n;
3378
- let i = t.padding ?? 0, a = t.look === "neo" ? 16 : i, o = t.look === "neo" ? 12 : i, s = !0;
3379
- (t.width || t.height) && (s = !1, t.width = (t?.width ?? 0) - a * 2, t.width < 10 && (t.width = 10), t.height = (t?.height ?? 0) - o * 2, t.height < 10 && (t.height = 10));
3380
- let { shapeSvg: c, bbox: l, label: u } = await P(e, t, L(t)), d = (t?.width ? t?.width : l.width) + (a ?? 0) * 2, f = (t?.height ? t?.height : l.height) + (o ?? 0) * 2, p = t.look === "neo" ? f / 4 : f / 8, m = f + (s ? p : -p), { cssStyles: h } = t, g = 14 - d, _ = g > 0 ? g / 2 : 0, v = T.svg(c), y = b(t, {});
3381
- t.look !== "handDrawn" && (y.roughness = 0, y.fillStyle = "solid");
3382
- let S = [
3383
- {
3384
- x: -d / 2 - _,
3385
- y: m / 2
3386
- },
3387
- ...z(-d / 2 - _, m / 2, d / 2 + _, m / 2, p, .8),
3388
- {
3389
- x: d / 2 + _,
3390
- y: -m / 2
3391
- },
3392
- {
3393
- x: -d / 2 - _,
3394
- y: -m / 2
3395
- }
3396
- ], C = R(S), w = v.path(C, y), E = c.insert(() => w, ":first-child");
3397
- return E.attr("class", "basic label-container outer-path"), h && t.look !== "handDrawn" && E.selectAll("path").attr("style", h), r && t.look !== "handDrawn" && E.selectAll("path").attr("style", r), E.attr("transform", `translate(0,${-p / 2})`), u.attr("transform", `translate(${-d / 2 + (t.padding ?? 0) - (l.x - (l.left ?? 0))},${-f / 2 + (t.padding ?? 0) - p - (l.y - (l.top ?? 0))})`), I(t, E), t.intersect = function(e) {
3398
- return K.polygon(t, S, e);
3399
- }, c;
3400
- }
3401
- o(Bn, "waveEdgedRectangle");
3402
- async function Vn(e, t) {
3403
- let { labelStyles: n, nodeStyles: r } = x(t);
3404
- t.labelStyle = n;
3405
- let i = t.padding ?? 0, a = t.look === "neo" ? 16 : i, o = t.look === "neo" ? 20 : i;
3406
- if (t.width || t.height) {
3407
- t.width = t?.width ?? 0, t.width < 20 && (t.width = 20), t.height = t?.height ?? 0, t.height < 10 && (t.height = 10);
3408
- let e = Math.min(t.height * .2, t.height / 4);
3409
- t.height = Math.ceil(t.height - o - 20 / 9 * e), t.width -= a * 2;
3410
- }
3411
- let { shapeSvg: s, bbox: c } = await P(e, t, L(t)), l = (t?.width ? t?.width : c.width) + a * 2, u = (t?.height ? t?.height : c.height) + o, d = u / 8, f = u + d * 2, { cssStyles: p } = t, m = T.svg(s), h = b(t, {});
3412
- t.look !== "handDrawn" && (h.roughness = 0, h.fillStyle = "solid");
3413
- let g = [
3414
- {
3415
- x: -l / 2,
3416
- y: f / 2
3417
- },
3418
- ...z(-l / 2, f / 2, l / 2, f / 2, d, 1),
3419
- {
3420
- x: l / 2,
3421
- y: -f / 2
3422
- },
3423
- ...z(l / 2, -f / 2, -l / 2, -f / 2, d, -1)
3424
- ], _ = R(g), v = m.path(_, h), y = s.insert(() => v, ":first-child");
3425
- return y.attr("class", "basic label-container"), p && t.look !== "handDrawn" && y.selectAll("path").attr("style", p), r && t.look !== "handDrawn" && y.selectAll("path").attr("style", r), I(t, y), t.intersect = function(e) {
3426
- return K.polygon(t, g, e);
3427
- }, s;
3428
- }
3429
- o(Vn, "waveRectangle");
3430
- var Q = 10;
3431
- async function Hn(e, t) {
3432
- let { labelStyles: n, nodeStyles: r } = x(t);
3433
- t.labelStyle = n;
3434
- let i = t.look === "neo" ? 16 : t.padding ?? 0, a = t.look === "neo" ? 12 : t.padding ?? 0;
3435
- (t.width || t.height) && (t.width = Math.max((t?.width ?? 0) - i * 2 - Q, 10), t.height = Math.max((t?.height ?? 0) - a * 2 - Q, 10));
3436
- let { shapeSvg: o, bbox: s, label: c } = await P(e, t, L(t)), l = (t?.width ? t?.width : s.width) + i * 2 + Q, u = (t?.height ? t?.height : s.height) + a * 2 + Q, d = l - Q, f = u - Q, p = -d / 2, m = -f / 2, { cssStyles: h } = t, g = T.svg(o), _ = b(t, {}), v = [
3437
- {
3438
- x: p - Q,
3439
- y: m - Q
3440
- },
3441
- {
3442
- x: p - Q,
3443
- y: m + f
3444
- },
3445
- {
3446
- x: p + d,
3447
- y: m + f
3448
- },
3449
- {
3450
- x: p + d,
3451
- y: m - Q
3452
- }
3453
- ], y = `M${p - Q},${m - Q} L${p + d},${m - Q} L${p + d},${m + f} L${p - Q},${m + f} L${p - Q},${m - Q}
3454
- M${p - Q},${m} L${p + d},${m}
3455
- M${p},${m - Q} L${p},${m + f}`;
3456
- t.look !== "handDrawn" && (_.roughness = 0, _.fillStyle = "solid");
3457
- let S = g.path(y, _), C = o.insert(() => S, ":first-child");
3458
- return C.attr("transform", `translate(${Q / 2}, ${Q / 2})`), C.attr("class", "basic label-container outer-path"), h && t.look !== "handDrawn" && C.selectAll("path").attr("style", h), r && t.look !== "handDrawn" && C.selectAll("path").attr("style", r), c.attr("transform", `translate(${-(s.width / 2) + Q / 2 - (s.x - (s.left ?? 0))}, ${-(s.height / 2) + Q / 2 - (s.y - (s.top ?? 0))})`), I(t, C), t.intersect = function(e) {
3459
- return K.polygon(t, v, e);
3460
- }, o;
3461
- }
3462
- o(Hn, "windowPane");
3463
- var Un = /* @__PURE__ */ new Set(["redux-color", "redux-dark-color"]), Wn = /* @__PURE__ */ new Set([
3464
- "redux",
3465
- "redux-dark",
3466
- "redux-color",
3467
- "redux-dark-color"
3468
- ]);
3469
- async function Gn(e, n) {
3470
- let r = n;
3471
- r.alias && (n.label = r.alias);
3472
- let { theme: a, themeVariables: o } = d(), { rowEven: s, rowOdd: c, nodeBorder: l, borderColorArray: u } = o;
3473
- if (n.look === "handDrawn") {
3474
- let { themeVariables: t } = d(), { background: r } = t;
3475
- await Gn(e, {
3476
- ...n,
3477
- id: n.id + "-background",
3478
- domId: (n.domId || n.id) + "-background",
3479
- look: "default",
3480
- cssStyles: ["stroke: none", `fill: ${r}`]
3481
- });
3482
- }
3483
- let f = d();
3484
- n.useHtmlLabels = f.htmlLabels;
3485
- let m = f.er?.diagramPadding ?? 10, h = f.er?.entityPadding ?? 6, { cssStyles: g } = n, { labelStyles: _, nodeStyles: v } = x(n);
3486
- if (r.attributes.length === 0 && n.label) {
3487
- let t = {
3488
- rx: 0,
3489
- ry: 0,
3490
- labelPaddingX: m,
3491
- labelPaddingY: m * 1.5,
3492
- classes: ""
3493
- };
3494
- i(n.label, f) + t.labelPaddingX * 2 < f.er.minEntityWidth && (n.width = f.er.minEntityWidth);
3495
- let o = await Ke(e, n, t);
3496
- if (a != null && Un.has(a)) {
3497
- let e = r.colorIndex ?? 0;
3498
- o.attr("data-color-id", `color-${e % u.length}`);
3499
- }
3500
- if (!p(f.htmlLabels)) {
3501
- let e = o.select("text"), t = e.node()?.getBBox();
3502
- e.attr("transform", `translate(${-t.width / 2}, 0)`);
3503
- }
3504
- return o;
3505
- }
3506
- f.htmlLabels || (m *= 1.25, h *= 1.25);
3507
- let y = L(n);
3508
- y ||= "node default";
3509
- let S = e.insert("g").attr("class", y).attr("id", n.domId || n.id), C = await Kn(S, n.label ?? "", f, 0, 0, ["name"], _);
3510
- C.height += h;
3511
- let w = 0, E = [], D = [], O = 0, k = 0, A = 0, j = 0, M = !0, N = !0;
3512
- for (let e of r.attributes) {
3513
- let t = await Kn(S, e.type, f, 0, w, ["attribute-type"], _);
3514
- O = Math.max(O, t.width + m);
3515
- let n = await Kn(S, e.name, f, 0, w, ["attribute-name"], _);
3516
- k = Math.max(k, n.width + m);
3517
- let r = await Kn(S, e.keys.join(), f, 0, w, ["attribute-keys"], _);
3518
- A = Math.max(A, r.width + m);
3519
- let i = await Kn(S, e.comment, f, 0, w, ["attribute-comment"], _);
3520
- j = Math.max(j, i.width + m);
3521
- let a = Math.max(t.height, n.height, r.height, i.height) + h;
3522
- D.push({
3523
- yOffset: w,
3524
- rowHeight: a
3525
- }), w += a;
3526
- }
3527
- let P = 4;
3528
- A <= m && (M = !1, A = 0, P--), j <= m && (N = !1, j = 0, P--);
3529
- let F = S.node().getBBox();
3530
- if (C.width + m * 2 - (O + k + A + j) > 0) {
3531
- let e = C.width + m * 2 - (O + k + A + j);
3532
- O += e / P, k += e / P, A > 0 && (A += e / P), j > 0 && (j += e / P);
3533
- }
3534
- let R = O + k + A + j, z = T.svg(S), B = b(n, {});
3535
- n.look !== "handDrawn" && (B.roughness = 0, B.fillStyle = "solid");
3536
- let ee = 0;
3537
- D.length > 0 && (ee = D.reduce((e, t) => e + (t?.rowHeight ?? 0), 0));
3538
- let V = Math.max(F.width + m * 2, n?.width || 0, R), te = Math.max((ee ?? 0) + C.height, n?.height || 0), H = -V / 2, U = -te / 2;
3539
- if (S.selectAll("g:not(:first-child)").each((e, n, r) => {
3540
- let i = t(r[n]), a = i.attr("transform"), o = 0, s = 0;
3541
- if (a) {
3542
- let e = RegExp(/translate\(([^,]+),([^)]+)\)/).exec(a);
3543
- e && (o = parseFloat(e[1]), s = parseFloat(e[2]), i.attr("class").includes("attribute-name") ? o += O : i.attr("class").includes("attribute-keys") ? o += O + k : i.attr("class").includes("attribute-comment") && (o += O + k + A));
3544
- }
3545
- i.attr("transform", `translate(${H + m / 2 + o}, ${s + U + C.height + h / 2})`);
3546
- }), S.select(".name").attr("transform", "translate(" + -C.width / 2 + ", " + (U + h / 2) + ")"), a != null && Un.has(a)) {
3547
- let e = r.colorIndex ?? 0;
3548
- S.attr("data-color-id", `color-${e % u.length}`);
3549
- }
3550
- let ne = z.rectangle(H, U, V, te, B), re = S.insert(() => ne, ":first-child").attr("class", "outer-path").attr("style", g.join(""));
3551
- E.push(0);
3552
- for (let [e, t] of D.entries()) {
3553
- let n = (e + 1) % 2 == 0 && t.yOffset !== 0, r = z.rectangle(H, C.height + U + t?.yOffset, V, t?.rowHeight, {
3554
- ...B,
3555
- fill: n ? s : c,
3556
- stroke: l
3557
- });
3558
- S.insert(() => r, "g.label").attr("style", g.join("")).attr("class", `row-rect-${n ? "even" : "odd"}`);
3559
- }
3560
- let ie = 1e-4, W = qn(H, C.height + U, V + H, C.height + U, ie), G = z.polygon(W.map((e) => [e.x, e.y]), B);
3561
- if (S.insert(() => G).attr("class", "divider"), W = qn(O + H, C.height + U, O + H, te + U, ie), G = z.polygon(W.map((e) => [e.x, e.y]), B), S.insert(() => G).attr("class", "divider"), M) {
3562
- let e = O + k + H;
3563
- W = qn(e, C.height + U, e, te + U, ie), G = z.polygon(W.map((e) => [e.x, e.y]), B), S.insert(() => G).attr("class", "divider");
3564
- }
3565
- if (N) {
3566
- let e = O + k + A + H;
3567
- W = qn(e, C.height + U, e, te + U, ie), G = z.polygon(W.map((e) => [e.x, e.y]), B), S.insert(() => G).attr("class", "divider");
3568
- }
3569
- for (let e of E) {
3570
- let t = C.height + U + e;
3571
- W = qn(H, t, V + H, t, ie), G = z.polygon(W.map((e) => [e.x, e.y]), B), S.insert(() => G).attr("class", "divider");
3572
- }
3573
- if (I(n, re), v && n.look !== "handDrawn") if (a != null && Wn.has(a)) S.selectAll("path").attr("style", v);
3574
- else {
3575
- let e = v.split(";")?.filter((e) => e.includes("stroke"))?.map((e) => `${e}`).join("; ");
3576
- S.selectAll("path").attr("style", e ?? ""), S.selectAll(".row-rect-even path").attr("style", v);
3577
- }
3578
- return n.intersect = function(e) {
3579
- return K.rect(n, e);
3580
- }, S;
3581
- }
3582
- o(Gn, "erBox");
3583
- async function Kn(e, n, r, a = 0, o = 0, s = [], c = "") {
3584
- let u = e.insert("g").attr("class", `label ${s.join(" ")}`).attr("transform", `translate(${a}, ${o})`).attr("style", c);
3585
- n !== l(n) && (n = l(n), n = n.replaceAll("<", "&lt;").replaceAll(">", "&gt;"));
3586
- let d = u.node().appendChild(await v(u, n, {
3587
- width: i(n, r) + 100,
3588
- style: c,
3589
- useHtmlLabels: r.htmlLabels
3590
- }, r));
3591
- if (n.includes("&lt;") || n.includes("&gt;")) {
3592
- let e = d.children[0];
3593
- for (e.textContent = e.textContent.replaceAll("&lt;", "<").replaceAll("&gt;", ">"); e.childNodes[0];) e = e.childNodes[0], e.textContent = e.textContent.replaceAll("&lt;", "<").replaceAll("&gt;", ">");
3594
- }
3595
- let f = d.getBBox();
3596
- if (p(r.htmlLabels)) {
3597
- let e = d.children[0];
3598
- e.style.textAlign = "start";
3599
- let n = t(d);
3600
- f = e.getBoundingClientRect(), n.attr("width", f.width), n.attr("height", f.height);
3601
- }
3602
- return f;
3603
- }
3604
- o(Kn, "addText");
3605
- function qn(e, t, n, r, i) {
3606
- return e === n ? [
3607
- {
3608
- x: e - i / 2,
3609
- y: t
3610
- },
3611
- {
3612
- x: e + i / 2,
3613
- y: t
3614
- },
3615
- {
3616
- x: n + i / 2,
3617
- y: r
3618
- },
3619
- {
3620
- x: n - i / 2,
3621
- y: r
3622
- }
3623
- ] : [
3624
- {
3625
- x: e,
3626
- y: t - i / 2
3627
- },
3628
- {
3629
- x: e,
3630
- y: t + i / 2
3631
- },
3632
- {
3633
- x: n,
3634
- y: r + i / 2
3635
- },
3636
- {
3637
- x: n,
3638
- y: r - i / 2
3639
- }
3640
- ];
3641
- }
3642
- o(qn, "lineToPolygon");
3643
- async function Jn(e, t, n, r, i = n.class.padding ?? 12) {
3644
- let a = r ? 0 : 3, o = e.insert("g").attr("class", L(t)).attr("id", t.domId || t.id), s = null, c = null, l = null, u = null, d = 0, f = 0, p = 0;
3645
- if (s = o.insert("g").attr("class", "annotation-group text"), t.annotations.length > 0) {
3646
- let e = t.annotations[0];
3647
- await Yn(s, { text: `\xAB${e}\xBB` }, 0), d = s.node().getBBox().height;
3648
- }
3649
- c = o.insert("g").attr("class", "label-group text"), await Yn(c, t, 0, ["font-weight: bolder"]);
3650
- let m = c.node().getBBox();
3651
- f = m.height, l = o.insert("g").attr("class", "members-group text");
3652
- let h = 0;
3653
- for (let e of t.members) {
3654
- let t = await Yn(l, e, h, [e.parseClassifier()]);
3655
- h += t + a;
3656
- }
3657
- p = l.node().getBBox().height, p <= 0 && (p = i / 2), u = o.insert("g").attr("class", "methods-group text");
3658
- let g = 0;
3659
- for (let e of t.methods) {
3660
- let t = await Yn(u, e, g, [e.parseClassifier()]);
3661
- g += t + a;
3662
- }
3663
- let _ = o.node().getBBox();
3664
- if (s !== null) {
3665
- let e = s.node().getBBox();
3666
- s.attr("transform", `translate(${-e.width / 2})`);
3667
- }
3668
- return c.attr("transform", `translate(${-m.width / 2}, ${d})`), _ = o.node().getBBox(), l.attr("transform", `translate(0, ${d + f + i * 2})`), _ = o.node().getBBox(), u.attr("transform", `translate(0, ${d + f + (p ? p + i * 4 : i * 2)})`), _ = o.node().getBBox(), {
3669
- shapeSvg: o,
3670
- bbox: _
3671
- };
3672
- }
3673
- o(Jn, "textHelper");
3674
- async function Yn(e, r, a, o = []) {
3675
- let l = e.insert("g").attr("class", "label").attr("style", o.join("; ")), u = d(), f = "useHtmlLabels" in r ? r.useHtmlLabels : p(u.htmlLabels) ?? !0, m = "";
3676
- m = "text" in r ? r.text : r.label, !f && m.startsWith("\\") && (m = m.substring(1)), s(m) && (f = !0);
3677
- let h = await v(l, c(n(m)), {
3678
- width: i(m, u) + 50,
3679
- classes: "markdown-node-label",
3680
- useHtmlLabels: f
3681
- }, u), g, _ = 1;
3682
- if (f) {
3683
- let e = h.children[0], n = t(h);
3684
- _ = e.innerHTML.split("<br>").length, e.innerHTML.includes("</math>") && (_ += e.innerHTML.split("<mrow>").length - 1), await O(e), g = e.getBoundingClientRect(), n.attr("width", g.width), n.attr("height", g.height);
3685
- } else {
3686
- o.includes("font-weight: bolder") && t(h).selectAll("tspan").attr("font-weight", ""), _ = h.children.length;
3687
- let e = h.children[0];
3688
- (h.textContent === "" || h.textContent.includes("&gt")) && (e.textContent = m[0] + m.substring(1).replaceAll("&gt;", ">").replaceAll("&lt;", "<").trim(), m[1] === " " && (e.textContent = e.textContent[0] + " " + e.textContent.substring(1))), e.textContent === "undefined" && (e.textContent = ""), g = h.getBBox();
3689
- }
3690
- return l.attr("transform", "translate(0," + (-g.height / (2 * _) + a) + ")"), g.height;
3691
- }
3692
- o(Yn, "addText");
3693
- async function Xn(e, n) {
3694
- let r = m(), { theme: i, themeVariables: a } = r, { useGradient: o, borderColorArray: s } = a, c = r.class.padding ?? 12, l = c, u = n.useHtmlLabels ?? p(r.htmlLabels) ?? !0, d = n;
3695
- d.annotations = d.annotations ?? [], d.members = d.members ?? [], d.methods = d.methods ?? [];
3696
- let { shapeSvg: f, bbox: h } = await Jn(e, n, r, u, l);
3697
- w(f, n.colorIndex, i, s);
3698
- let { labelStyles: g, nodeStyles: _ } = x(n);
3699
- n.labelStyle = g, n.cssStyles = d.styles || "";
3700
- let v = d.styles?.join(";") || _ || "";
3701
- n.cssStyles ||= v.replaceAll("!important", "").split(";");
3702
- let y = d.members.length === 0 && d.methods.length === 0 && !r.class?.hideEmptyMembersBox, S = T.svg(f), C = b(n, {});
3703
- n.look !== "handDrawn" && (C.roughness = 0, C.fillStyle = "solid");
3704
- let E = Math.max(n.width ?? 0, h.width), D = Math.max(n.height ?? 0, h.height), O = (n.height ?? 0) > h.height;
3705
- d.members.length === 0 && d.methods.length === 0 ? D += l : d.members.length > 0 && d.methods.length === 0 && (D += l * 2);
3706
- let k = -E / 2, A = -D / 2, j = y ? c * 2 : d.members.length === 0 && d.methods.length === 0 ? -c : 0;
3707
- O && (j = c * 2);
3708
- let M = S.rectangle(k - c, A - c - (y ? c : d.members.length === 0 && d.methods.length === 0 ? -c / 2 : 0), E + 2 * c, D + 2 * c + j, C), N = f.insert(() => M, ":first-child");
3709
- N.attr("class", "basic label-container outer-path");
3710
- let P = N.node().getBBox(), F = f.select(".annotation-group").node().getBBox().height - (y ? c / 2 : 0) || 0, L = f.select(".label-group").node().getBBox().height - (y ? c / 2 : 0) || 0, R = f.select(".members-group").node().getBBox().height - (y ? c / 2 : 0) || 0, z = (F + L + A + c - (A - c - (y ? c : d.members.length === 0 && d.methods.length === 0 ? -c / 2 : 0))) / 2;
3711
- if (f.selectAll(".text").each((e, n, i) => {
3712
- let a = t(i[n]), o = a.attr("transform"), s = 0;
3713
- if (o) {
3714
- let e = RegExp(/translate\(([^,]+),([^)]+)\)/).exec(o);
3715
- e && (s = parseFloat(e[2]));
3716
- }
3717
- let p = s + A + c - (y ? c : d.members.length === 0 && d.methods.length === 0 ? -c / 2 : 0);
3718
- if (a.attr("class").includes("methods-group")) {
3719
- let e = Math.max(R, l / 2);
3720
- p = O ? Math.max(z, F + L + e + A + l * 2 + c) + l * 2 : F + L + e + A + l * 4 + c;
3721
- }
3722
- d.members.length === 0 && d.methods.length === 0 && r.class?.hideEmptyMembersBox && (p = d.annotations.length > 0 ? s - l : s), u || (p -= 4);
3723
- let m = k;
3724
- (a.attr("class").includes("label-group") || a.attr("class").includes("annotation-group")) && (m = -a.node()?.getBBox().width / 2 || 0, f.selectAll("text").each(function(e, t, n) {
3725
- window.getComputedStyle(n[t]).textAnchor === "middle" && (m = 0);
3726
- })), a.attr("transform", `translate(${m}, ${p})`);
3727
- }), d.members.length > 0 || d.methods.length > 0 || y) {
3728
- let e = F + L + A + c, t = S.line(P.x, e, P.x + P.width, e + .001, C);
3729
- f.insert(() => t).attr("class", `divider${n.look === "neo" && !o ? " neo-line" : ""}`).attr("style", v);
3730
- }
3731
- if (y || d.members.length > 0 || d.methods.length > 0) {
3732
- let e = F + L + R + A + l * 2 + c, t = S.line(P.x, O ? Math.max(z, e) : e, P.x + P.width, (O ? Math.max(z, e) : e) + .001, C);
3733
- f.insert(() => t).attr("class", `divider${n.look === "neo" && !o ? " neo-line" : ""}`).attr("style", v);
3734
- }
3735
- if (d.look !== "handDrawn" && f.selectAll("path").attr("style", v), N.select(":nth-child(2)").attr("style", v), f.selectAll(".divider").select("path").attr("style", v), n.labelStyle ? f.selectAll("span").attr("style", n.labelStyle) : f.selectAll("span").attr("style", v), !u) {
3736
- let e = RegExp(/color\s*:\s*([^;]*)/), t = e.exec(v);
3737
- if (t) {
3738
- let e = t[0].replace("color", "fill");
3739
- f.selectAll("tspan").attr("style", e);
3740
- } else if (g) {
3741
- let t = e.exec(g);
3742
- if (t) {
3743
- let e = t[0].replace("color", "fill");
3744
- f.selectAll("tspan").attr("style", e);
3745
- }
3746
- }
3747
- }
3748
- return I(n, N), n.intersect = function(e) {
3749
- return K.rect(n, e);
3750
- }, f;
3751
- }
3752
- o(Xn, "classBox");
3753
- async function Zn(e, n) {
3754
- let { labelStyles: r, nodeStyles: i } = x(n);
3755
- n.labelStyle = r;
3756
- let a = n, o = n, s = "verifyMethod" in n, c = L(n), l = m(), { themeVariables: u } = l, { borderColorArray: d, requirementEdgeLabelBackground: f } = u, p = l.layout === "elk" ? "start" : "center", h = e.insert("g").attr("class", c).attr("id", n.domId ?? n.id), g;
3757
- g = s ? await $(h, `&lt;&lt;${a.type}&gt;&gt;`, 0, n.labelStyle) : await $(h, "&lt;&lt;Element&gt;&gt;", 0, n.labelStyle);
3758
- let _ = g, v = await $(h, a.name, _, n.labelStyle + "; font-weight: bold;");
3759
- if (_ += v + 20, s) {
3760
- let e = await $(h, `${a.requirementId ? `ID: ${a.requirementId}` : ""}`, _, n.labelStyle, p);
3761
- _ += e;
3762
- let t = await $(h, `${a.text ? `Text: ${a.text}` : ""}`, _, n.labelStyle, p);
3763
- _ += t;
3764
- let r = await $(h, `${a.risk ? `Risk: ${a.risk}` : ""}`, _, n.labelStyle, p);
3765
- _ += r, await $(h, `${a.verifyMethod ? `Verification: ${a.verifyMethod}` : ""}`, _, n.labelStyle, p);
3766
- } else {
3767
- let e = await $(h, `${o.type ? `Type: ${o.type}` : ""}`, _, n.labelStyle, p);
3768
- _ += e, await $(h, `${o.docRef ? `Doc Ref: ${o.docRef}` : ""}`, _, n.labelStyle, p);
3769
- }
3770
- let y = (h.node()?.getBBox().width ?? 200) + 20, S = (h.node()?.getBBox().height ?? 200) + 20, C = -y / 2, w = -S / 2, E = T.svg(h), D = b(n, {});
3771
- n.look !== "handDrawn" && (D.roughness = 0, D.fillStyle = "solid");
3772
- let O = E.rectangle(C, w, y, S, D), k = h.insert(() => O, ":first-child");
3773
- if (k.attr("class", "basic label-container outer-path").attr("style", i), d?.length) {
3774
- let e = n.colorIndex ?? 0;
3775
- h.attr("data-color-id", `color-${e % d.length}`);
3776
- }
3777
- if (h.selectAll(".label").each((e, n, r) => {
3778
- let i = t(r[n]), a = i.attr("transform"), o = 0, s = 0;
3779
- if (a) {
3780
- let e = RegExp(/translate\(([^,]+),([^)]+)\)/).exec(a);
3781
- e && (o = parseFloat(e[1]), s = parseFloat(e[2]));
3782
- }
3783
- let c = s - S / 2, l = C + 20 / 2;
3784
- (n === 0 || n === 1) && (l = o), i.attr("transform", `translate(${l}, ${c + 20})`);
3785
- }), _ > g + v + 20) {
3786
- let e = w + g + v + 20, t;
3787
- if (n.look === "neo") {
3788
- let n = .001, r = [
3789
- [C, e],
3790
- [C + y, e],
3791
- [C + y, e + n],
3792
- [C, e + n]
3793
- ];
3794
- t = E.polygon(r, D);
3795
- } else t = E.line(C, e, C + y, e, D);
3796
- h.insert(() => t).attr("class", "divider");
3797
- }
3798
- return I(n, k), n.intersect = function(e) {
3799
- return K.rect(n, e);
3800
- }, i && n.look !== "handDrawn" && (f || d?.length) && h.selectAll("path").attr("style", i), h;
3801
- }
3802
- o(Zn, "requirementBox");
3803
- async function $(e, r, a, o = "", s = "center") {
3804
- if (r === "") return 0;
3805
- let l = e.insert("g").attr("class", "label").attr("style", o), u = m(), d = u.htmlLabels ?? !0, f = await v(l, c(n(r)), {
3806
- width: i(r, u) + 50,
3807
- classes: "markdown-node-label",
3808
- useHtmlLabels: d,
3809
- style: o
3810
- }, u), p;
3811
- if (d) {
3812
- let e = f.children[0], n = t(f);
3813
- s === "start" && t(e).style("text-align", "left"), p = e.getBoundingClientRect(), n.attr("width", p.width), n.attr("height", p.height);
3814
- } else {
3815
- let e = f.children[0];
3816
- for (let t of e.children) o && t.setAttribute("style", o);
3817
- if (s === "start") {
3818
- e.setAttribute("text-anchor", "start");
3819
- for (let t of e.children) t.setAttribute("text-anchor", "start");
3820
- }
3821
- p = f.getBBox(), p.height += 6;
3822
- }
3823
- return l.attr("transform", `translate(${-p.width / 2},${-p.height / 2 + a})`), p.height;
3824
- }
3825
- o($, "addText");
3826
- var Qn = /* @__PURE__ */ o((e) => {
3827
- switch (e) {
3828
- case "Very High": return "red";
3829
- case "High": return "orange";
3830
- case "Medium": return null;
3831
- case "Low": return "blue";
3832
- case "Very Low": return "lightblue";
3833
- }
3834
- }, "colorFromPriority");
3835
- async function $n(e, t, { config: n }) {
3836
- let { labelStyles: r, nodeStyles: i } = x(t);
3837
- t.labelStyle = r || "";
3838
- let a = t.width;
3839
- t.width = (t.width ?? 200) - 10;
3840
- let { shapeSvg: o, bbox: s, label: c } = await P(e, t, L(t)), l = t.padding || 10, u = "", d;
3841
- "ticket" in t && t.ticket && n?.kanban?.ticketBaseUrl && (u = n?.kanban?.ticketBaseUrl.replace("#TICKET#", t.ticket), d = o.insert("svg:a", ":first-child").attr("class", "kanban-ticket-link").attr("xlink:href", u).attr("target", "_blank"));
3842
- let f = {
3843
- useHtmlLabels: t.useHtmlLabels,
3844
- labelStyle: t.labelStyle || "",
3845
- width: t.width,
3846
- img: t.img,
3847
- padding: t.padding || 8,
3848
- centerLabel: !1
3849
- }, p, m;
3850
- d ? {label: p, bbox: m} = await F(d, "ticket" in t && t.ticket || "", f) : {label: p, bbox: m} = await F(o, "ticket" in t && t.ticket || "", f);
3851
- let { label: h, bbox: g } = await F(o, "assigned" in t && t.assigned || "", f);
3852
- t.width = a;
3853
- let _ = t?.width || 0, v = Math.max(m.height, g.height) / 2, y = Math.max(s.height + 20, t?.height || 0) + v, S = -_ / 2, C = -y / 2;
3854
- c.attr("transform", "translate(" + (l - _ / 2) + ", " + (-v - s.height / 2) + ")"), p.attr("transform", "translate(" + (l - _ / 2) + ", " + (-v + s.height / 2) + ")"), h.attr("transform", "translate(" + (l + _ / 2 - g.width - 20) + ", " + (-v + s.height / 2) + ")");
3855
- let w, { rx: E, ry: D } = t, { cssStyles: O } = t;
3856
- if (t.look === "handDrawn") {
3857
- let e = T.svg(o), n = b(t, {}), r = E || D ? e.path(q(S, C, _, y, E || 0), n) : e.rectangle(S, C, _, y, n);
3858
- w = o.insert(() => r, ":first-child"), w.attr("class", "basic label-container").attr("style", O || null);
3859
- } else {
3860
- w = o.insert("rect", ":first-child"), w.attr("class", "basic label-container __APA__").attr("style", i).attr("rx", E ?? 5).attr("ry", D ?? 5).attr("x", S).attr("y", C).attr("width", _).attr("height", y);
3861
- let e = "priority" in t && t.priority;
3862
- if (e) {
3863
- let t = o.append("line"), n = S + 2, r = C + Math.floor((E ?? 0) / 2), i = C + y - Math.floor((E ?? 0) / 2);
3864
- t.attr("x1", n).attr("y1", r).attr("x2", n).attr("y2", i).attr("stroke-width", "4").attr("stroke", Qn(e));
3865
- }
3866
- }
3867
- return I(t, w), t.height = y, t.intersect = function(e) {
3868
- return K.rect(t, e);
3869
- }, o;
3870
- }
3871
- o($n, "kanbanItem");
3872
- async function er(t, n) {
3873
- let { labelStyles: r, nodeStyles: i } = x(n);
3874
- n.labelStyle = r;
3875
- let { shapeSvg: o, bbox: s, halfPadding: c, label: l } = await P(t, n, L(n)), u = s.width + 10 * c, d = s.height + 8 * c, f = .15 * u, { cssStyles: p } = n, m = s.width + 20, h = s.height + 20, g = Math.max(u, m), _ = Math.max(d, h);
3876
- l.attr("transform", `translate(${-s.width / 2}, ${-s.height / 2})`);
3877
- let v, y = `M0 0
3878
- a${f},${f} 1 0,0 ${g * .25},${-1 * _ * .1}
3879
- a${f},${f} 1 0,0 ${g * .25},0
3880
- a${f},${f} 1 0,0 ${g * .25},0
3881
- a${f},${f} 1 0,0 ${g * .25},${_ * .1}
3882
-
3883
- a${f},${f} 1 0,0 ${g * .15},${_ * .33}
3884
- a${f * .8},${f * .8} 1 0,0 0,${_ * .34}
3885
- a${f},${f} 1 0,0 ${-1 * g * .15},${_ * .33}
3886
-
3887
- a${f},${f} 1 0,0 ${-1 * g * .25},${_ * .15}
3888
- a${f},${f} 1 0,0 ${-1 * g * .25},0
3889
- a${f},${f} 1 0,0 ${-1 * g * .25},0
3890
- a${f},${f} 1 0,0 ${-1 * g * .25},${-1 * _ * .15}
3891
-
3892
- a${f},${f} 1 0,0 ${-1 * g * .1},${-1 * _ * .33}
3893
- a${f * .8},${f * .8} 1 0,0 0,${-1 * _ * .34}
3894
- a${f},${f} 1 0,0 ${g * .1},${-1 * _ * .33}
3895
- H0 V0 Z`;
3896
- if (n.look === "handDrawn") {
3897
- let e = T.svg(o), t = b(n, {}), r = e.path(y, t);
3898
- v = o.insert(() => r, ":first-child"), v.attr("class", "basic label-container").attr("style", a(p));
3899
- } else v = o.insert("path", ":first-child").attr("class", "basic label-container").attr("style", i).attr("d", y);
3900
- return v.attr("transform", `translate(${-g / 2}, ${-_ / 2})`), I(n, v), n.calcIntersect = function(e, t) {
3901
- return K.rect(e, t);
3902
- }, n.intersect = function(t) {
3903
- return e.info("Bang intersect", n, t), K.rect(n, t);
3904
- }, o;
3905
- }
3906
- o(er, "bang");
3907
- async function tr(t, n) {
3908
- let { labelStyles: r, nodeStyles: i } = x(n);
3909
- n.labelStyle = r;
3910
- let { shapeSvg: o, bbox: s, halfPadding: c, label: l } = await P(t, n, L(n)), u = s.width + 2 * c, d = s.height + 2 * c, f = .15 * u, p = .25 * u, m = .35 * u, h = .2 * u, { cssStyles: g } = n, _, v = `M0 0
3911
- a${f},${f} 0 0,1 ${u * .25},${-1 * u * .1}
3912
- a${m},${m} 1 0,1 ${u * .4},${-1 * u * .1}
3913
- a${p},${p} 1 0,1 ${u * .35},${u * .2}
3914
-
3915
- a${f},${f} 1 0,1 ${u * .15},${d * .35}
3916
- a${h},${h} 1 0,1 ${-1 * u * .15},${d * .65}
3917
-
3918
- a${p},${f} 1 0,1 ${-1 * u * .25},${u * .15}
3919
- a${m},${m} 1 0,1 ${-1 * u * .5},0
3920
- a${f},${f} 1 0,1 ${-1 * u * .25},${-1 * u * .15}
3921
-
3922
- a${f},${f} 1 0,1 ${-1 * u * .1},${-1 * d * .35}
3923
- a${h},${h} 1 0,1 ${u * .1},${-1 * d * .65}
3924
- H0 V0 Z`;
3925
- if (n.look === "handDrawn") {
3926
- let e = T.svg(o), t = b(n, {}), r = e.path(v, t);
3927
- _ = o.insert(() => r, ":first-child"), _.attr("class", "basic label-container").attr("style", a(g));
3928
- } else _ = o.insert("path", ":first-child").attr("class", "basic label-container").attr("style", i).attr("d", v);
3929
- return l.attr("transform", `translate(${-s.width / 2}, ${-s.height / 2})`), _.attr("transform", `translate(${-u / 2}, ${-d / 2})`), I(n, _), n.calcIntersect = function(e, t) {
3930
- return K.rect(e, t);
3931
- }, n.intersect = function(t) {
3932
- return e.info("Cloud intersect", n, t), K.rect(n, t);
3933
- }, o;
3934
- }
3935
- o(tr, "cloud");
3936
- async function nr(e, t) {
3937
- let { labelStyles: n, nodeStyles: r } = x(t);
3938
- t.labelStyle = n;
3939
- let { shapeSvg: i, bbox: a, halfPadding: o, label: s } = await P(e, t, L(t)), c = a.width + 8 * o, l = a.height + 2 * o, u = t.look === "neo" ? `
3940
- M${-c / 2} ${l / 2 - 5}
3941
- v${-l + 10}
3942
- q0,-5 5,-5
3943
- h${c - 10}
3944
- q5,0 5,5
3945
- v${l - 5}
3946
- H${-c / 2}
3947
- Z
3948
- ` : `
3949
- M${-c / 2} ${l / 2 - 5}
3950
- v${-l + 10}
3951
- q0,-5 5,-5
3952
- h${c - 10}
3953
- q5,0 5,5
3954
- v${l - 10}
3955
- q0,5 -5,5
3956
- h${-(c - 10)}
3957
- q-5,0 -5,-5
3958
- Z
3959
- `;
3960
- if (!t.domId) throw Error(`defaultMindmapNode: node "${t.id}" is missing a domId \u2014 was render.ts domId prefixing skipped?`);
3961
- let d = i.append("path").attr("id", t.domId).attr("class", "node-bkg node-" + t.type).attr("style", r).attr("d", u);
3962
- return i.append("line").attr("class", "node-line-").attr("x1", -c / 2).attr("y1", l / 2).attr("x2", c / 2).attr("y2", l / 2), s.attr("transform", `translate(${-a.width / 2}, ${-a.height / 2})`), i.append(() => s.node()), I(t, d), t.calcIntersect = function(e, t) {
3963
- return K.rect(e, t);
3964
- }, t.intersect = function(e) {
3965
- return K.rect(t, e);
3966
- }, i;
3967
- }
3968
- o(nr, "defaultMindmapNode");
3969
- async function rr(e, t) {
3970
- return Ae(e, t, { padding: t.padding ?? 0 });
3971
- }
3972
- o(rr, "mindmapCircle");
3973
- var ir = [
3974
- {
3975
- semanticName: "Process",
3976
- name: "Rectangle",
3977
- shortName: "rect",
3978
- description: "Standard process shape",
3979
- aliases: [
3980
- "proc",
3981
- "process",
3982
- "rectangle"
3983
- ],
3984
- internalAliases: ["squareRect"],
3985
- handler: gn
3986
- },
3987
- {
3988
- semanticName: "Event",
3989
- name: "Rounded Rectangle",
3990
- shortName: "rounded",
3991
- description: "Represents an event",
3992
- aliases: ["event"],
3993
- internalAliases: ["roundedRect"],
3994
- handler: fn
3995
- },
3996
- {
3997
- semanticName: "Terminal Point",
3998
- name: "Stadium",
3999
- shortName: "stadium",
4000
- description: "Terminal point",
4001
- aliases: ["terminal", "pill"],
4002
- handler: yn
4003
- },
4004
- {
4005
- semanticName: "Subprocess",
4006
- name: "Framed Rectangle",
4007
- shortName: "fr-rect",
4008
- description: "Subprocess",
4009
- aliases: [
4010
- "subprocess",
4011
- "subproc",
4012
- "framed-rectangle",
4013
- "subroutine"
4014
- ],
4015
- handler: wn
4016
- },
4017
- {
4018
- semanticName: "Database",
4019
- name: "Cylinder",
4020
- shortName: "cyl",
4021
- description: "Database storage",
4022
- aliases: [
4023
- "db",
4024
- "database",
4025
- "cylinder"
4026
- ],
4027
- handler: Ge
4028
- },
4029
- {
4030
- semanticName: "Data Store",
4031
- name: "Data Store",
4032
- shortName: "datastore",
4033
- description: "Data flow diagram data store",
4034
- aliases: ["data-store"],
4035
- handler: qe
4036
- },
4037
- {
4038
- semanticName: "Folder",
4039
- name: "Folder",
4040
- shortName: "folder",
4041
- description: "Folder or directory",
4042
- aliases: ["directory"],
4043
- handler: tt
4044
- },
4045
- {
4046
- semanticName: "Bucket",
4047
- name: "Bucket",
4048
- shortName: "bucket",
4049
- description: "Object storage bucket",
4050
- handler: fe
4051
- },
4052
- {
4053
- semanticName: "Console",
4054
- name: "Console (terminal window)",
4055
- shortName: "console",
4056
- description: "Terminal or console window",
4057
- handler: Me
4058
- },
4059
- {
4060
- semanticName: "Browser",
4061
- name: "Browser",
4062
- shortName: "browser",
4063
- description: "Browser window",
4064
- handler: Ee
4065
- },
4066
- {
4067
- semanticName: "Person",
4068
- name: "Person",
4069
- shortName: "person",
4070
- description: "Person (circular head above a rounded body)",
4071
- handler: ze
4072
- },
4073
- {
4074
- semanticName: "Start",
4075
- name: "Circle",
4076
- shortName: "circle",
4077
- description: "Starting point",
4078
- aliases: ["circ"],
4079
- handler: Ae
4080
- },
4081
- {
4082
- semanticName: "Bang",
4083
- name: "Bang",
4084
- shortName: "bang",
4085
- description: "Bang",
4086
- aliases: ["bang"],
4087
- handler: er
4088
- },
4089
- {
4090
- semanticName: "Cloud",
4091
- name: "Cloud",
4092
- shortName: "cloud",
4093
- description: "cloud",
4094
- aliases: ["cloud"],
4095
- handler: tr
4096
- },
4097
- {
4098
- semanticName: "Decision",
4099
- name: "Diamond",
4100
- shortName: "diam",
4101
- description: "Decision-making step",
4102
- aliases: [
4103
- "decision",
4104
- "diamond",
4105
- "question"
4106
- ],
4107
- handler: ln
4108
- },
4109
- {
4110
- semanticName: "Prepare Conditional",
4111
- name: "Hexagon",
4112
- shortName: "hex",
4113
- description: "Preparation or condition step",
4114
- aliases: ["hexagon", "prepare"],
4115
- handler: at
4116
- },
4117
- {
4118
- semanticName: "Data Input/Output",
4119
- name: "Lean Right",
4120
- shortName: "lean-r",
4121
- description: "Represents input or output",
4122
- aliases: ["lean-right", "in-out"],
4123
- internalAliases: ["lean_right"],
4124
- handler: ht
4125
- },
4126
- {
4127
- semanticName: "Data Input/Output",
4128
- name: "Lean Left",
4129
- shortName: "lean-l",
4130
- description: "Represents output or input",
4131
- aliases: ["lean-left", "out-in"],
4132
- internalAliases: ["lean_left"],
4133
- handler: mt
4134
- },
4135
- {
4136
- semanticName: "Priority Action",
4137
- name: "Trapezoid Base Bottom",
4138
- shortName: "trap-b",
4139
- description: "Priority action",
4140
- aliases: [
4141
- "priority",
4142
- "trapezoid-bottom",
4143
- "trapezoid"
4144
- ],
4145
- handler: Fn
4146
- },
4147
- {
4148
- semanticName: "Manual Operation",
4149
- name: "Trapezoid Base Top",
4150
- shortName: "trap-t",
4151
- description: "Represents a manual task",
4152
- aliases: [
4153
- "manual",
4154
- "trapezoid-top",
4155
- "inv-trapezoid"
4156
- ],
4157
- internalAliases: ["inv_trapezoid"],
4158
- handler: ft
4159
- },
4160
- {
4161
- semanticName: "Stop",
4162
- name: "Double Circle",
4163
- shortName: "dbl-circ",
4164
- description: "Represents a stop point",
4165
- aliases: ["double-circle"],
4166
- internalAliases: ["doublecircle"],
4167
- handler: Ye
4168
- },
4169
- {
4170
- semanticName: "Text Block",
4171
- name: "Text Block",
4172
- shortName: "text",
4173
- description: "Text block",
4174
- handler: On
4175
- },
4176
- {
4177
- semanticName: "Card",
4178
- name: "Notched Rectangle",
4179
- shortName: "notch-rect",
4180
- description: "Represents a card",
4181
- aliases: ["card", "notched-rectangle"],
4182
- handler: Oe
4183
- },
4184
- {
4185
- semanticName: "Lined/Shaded Process",
4186
- name: "Lined Rectangle",
4187
- shortName: "lin-rect",
4188
- description: "Lined process shape",
4189
- aliases: [
4190
- "lined-rectangle",
4191
- "lined-process",
4192
- "lin-proc",
4193
- "shaded-process"
4194
- ],
4195
- handler: mn
4196
- },
4197
- {
4198
- semanticName: "Start",
4199
- name: "Small Circle",
4200
- shortName: "sm-circ",
4201
- description: "Small starting point",
4202
- aliases: ["start", "small-circle"],
4203
- internalAliases: ["stateStart"],
4204
- handler: Sn
4205
- },
4206
- {
4207
- semanticName: "Stop",
4208
- name: "Framed Circle",
4209
- shortName: "fr-circ",
4210
- description: "Stop point",
4211
- aliases: ["stop", "framed-circle"],
4212
- internalAliases: ["stateEnd"],
4213
- handler: xn
4214
- },
4215
- {
4216
- semanticName: "Fork/Join",
4217
- name: "Filled Rectangle",
4218
- shortName: "fork",
4219
- description: "Fork or join in process flow",
4220
- aliases: ["join"],
4221
- internalAliases: ["forkJoin"],
4222
- handler: nt
4223
- },
4224
- {
4225
- semanticName: "Collate",
4226
- name: "Hourglass",
4227
- shortName: "hourglass",
4228
- description: "Represents a collate operation",
4229
- aliases: ["hourglass", "collate"],
4230
- handler: ot
4231
- },
4232
- {
4233
- semanticName: "Comment",
4234
- name: "Curly Brace",
4235
- shortName: "brace",
4236
- description: "Adds a comment",
4237
- aliases: ["comment", "brace-l"],
4238
- handler: Fe
4239
- },
4240
- {
4241
- semanticName: "Comment Right",
4242
- name: "Curly Brace",
4243
- shortName: "brace-r",
4244
- description: "Adds a comment",
4245
- handler: Ie
4246
- },
4247
- {
4248
- semanticName: "Comment with braces on both sides",
4249
- name: "Curly Braces",
4250
- shortName: "braces",
4251
- description: "Adds a comment",
4252
- handler: Le
4253
- },
4254
- {
4255
- semanticName: "Com Link",
4256
- name: "Lightning Bolt",
4257
- shortName: "bolt",
4258
- description: "Communication link",
4259
- aliases: ["com-link", "lightning-bolt"],
4260
- handler: gt
4261
- },
4262
- {
4263
- semanticName: "Document",
4264
- name: "Document",
4265
- shortName: "doc",
4266
- description: "Represents a document",
4267
- aliases: ["doc", "document"],
4268
- handler: Bn
4269
- },
4270
- {
4271
- semanticName: "Delay",
4272
- name: "Half-Rounded Rectangle",
4273
- shortName: "delay",
4274
- description: "Represents a delay",
4275
- aliases: ["half-rounded-rectangle"],
4276
- handler: rt
4277
- },
4278
- {
4279
- semanticName: "Direct Access Storage",
4280
- name: "Horizontal Cylinder",
4281
- shortName: "h-cyl",
4282
- description: "Direct access storage",
4283
- aliases: ["das", "horizontal-cylinder"],
4284
- handler: Pn
4285
- },
4286
- {
4287
- semanticName: "Disk Storage",
4288
- name: "Lined Cylinder",
4289
- shortName: "lin-cyl",
4290
- description: "Disk storage",
4291
- aliases: ["disk", "lined-cylinder"],
4292
- handler: St
4293
- },
4294
- {
4295
- semanticName: "Display",
4296
- name: "Curved Trapezoid",
4297
- shortName: "curv-trap",
4298
- description: "Represents a display",
4299
- aliases: ["curved-trapezoid", "display"],
4300
- handler: Re
4301
- },
4302
- {
4303
- semanticName: "Divided Process",
4304
- name: "Divided Rectangle",
4305
- shortName: "div-rect",
4306
- description: "Divided process shape",
4307
- aliases: [
4308
- "div-proc",
4309
- "divided-rectangle",
4310
- "divided-process"
4311
- ],
4312
- handler: Je
4313
- },
4314
- {
4315
- semanticName: "Extract",
4316
- name: "Triangle",
4317
- shortName: "tri",
4318
- description: "Extraction process",
4319
- aliases: ["extract", "triangle"],
4320
- handler: zn
4321
- },
4322
- {
4323
- semanticName: "Internal Storage",
4324
- name: "Window Pane",
4325
- shortName: "win-pane",
4326
- description: "Internal storage",
4327
- aliases: ["internal-storage", "window-pane"],
4328
- handler: Hn
4329
- },
4330
- {
4331
- semanticName: "Junction",
4332
- name: "Filled Circle",
4333
- shortName: "f-circ",
4334
- description: "Junction point",
4335
- aliases: ["junction", "filled-circle"],
4336
- handler: Ze
4337
- },
4338
- {
4339
- semanticName: "Loop Limit",
4340
- name: "Trapezoidal Pentagon",
4341
- shortName: "notch-pent",
4342
- description: "Loop limit step",
4343
- aliases: ["loop-limit", "notched-pentagon"],
4344
- handler: In
4345
- },
4346
- {
4347
- semanticName: "Manual File",
4348
- name: "Flipped Triangle",
4349
- shortName: "flip-tri",
4350
- description: "Manual file operation",
4351
- aliases: ["manual-file", "flipped-triangle"],
4352
- handler: et
4353
- },
4354
- {
4355
- semanticName: "Manual Input",
4356
- name: "Sloped Rectangle",
4357
- shortName: "sl-rect",
4358
- description: "Manual input step",
4359
- aliases: ["manual-input", "sloped-rectangle"],
4360
- handler: hn
4361
- },
4362
- {
4363
- semanticName: "Multi-Document",
4364
- name: "Stacked Document",
4365
- shortName: "docs",
4366
- description: "Multiple documents",
4367
- aliases: [
4368
- "documents",
4369
- "st-doc",
4370
- "stacked-document"
4371
- ],
4372
- handler: on
4373
- },
4374
- {
4375
- semanticName: "Multi-Process",
4376
- name: "Stacked Rectangle",
4377
- shortName: "st-rect",
4378
- description: "Multiple processes",
4379
- aliases: [
4380
- "procs",
4381
- "processes",
4382
- "stacked-rectangle"
4383
- ],
4384
- handler: an
4385
- },
4386
- {
4387
- semanticName: "Stored Data",
4388
- name: "Bow Tie Rectangle",
4389
- shortName: "bow-rect",
4390
- description: "Stored data",
4391
- aliases: ["stored-data", "bow-tie-rectangle"],
4392
- handler: de
4393
- },
4394
- {
4395
- semanticName: "Summary",
4396
- name: "Crossed Circle",
4397
- shortName: "cross-circ",
4398
- description: "Summary",
4399
- aliases: ["summary", "crossed-circle"],
4400
- handler: Pe
4401
- },
4402
- {
4403
- semanticName: "Tagged Document",
4404
- name: "Tagged Document",
4405
- shortName: "tag-doc",
4406
- description: "Tagged document",
4407
- aliases: ["tag-doc", "tagged-document"],
4408
- handler: Dn
4409
- },
4410
- {
4411
- semanticName: "Tagged Process",
4412
- name: "Tagged Rectangle",
4413
- shortName: "tag-rect",
4414
- description: "Tagged process",
4415
- aliases: [
4416
- "tagged-rectangle",
4417
- "tag-proc",
4418
- "tagged-process"
4419
- ],
4420
- handler: En
4421
- },
4422
- {
4423
- semanticName: "Paper Tape",
4424
- name: "Flag",
4425
- shortName: "flag",
4426
- description: "Paper tape",
4427
- aliases: ["paper-tape"],
4428
- handler: Vn
4429
- },
4430
- {
4431
- semanticName: "Odd",
4432
- name: "Odd",
4433
- shortName: "odd",
4434
- description: "Odd shape",
4435
- internalAliases: ["rect_left_inv_arrow"],
4436
- handler: un
4437
- },
4438
- {
4439
- semanticName: "Lined Document",
4440
- name: "Lined Document",
4441
- shortName: "lin-doc",
4442
- description: "Lined document",
4443
- aliases: ["lined-document"],
4444
- handler: Ct
4445
- }
4446
- ], ar = (/* @__PURE__ */ o(() => {
4447
- let e = [...Object.entries({
4448
- state: bn,
4449
- choice: ke,
4450
- note: sn,
4451
- composite: je,
4452
- rectWithTitle: dn,
4453
- labelRect: pt,
4454
- block_arrow: Te,
4455
- collapsedGroup: ve,
4456
- iconSquare: ut,
4457
- iconCircle: ct,
4458
- icon: st,
4459
- iconRounded: lt,
4460
- imageSquare: dt,
4461
- anchor: ce,
4462
- kanbanItem: $n,
4463
- mindmapCircle: rr,
4464
- defaultMindmapNode: nr,
4465
- classBox: Xn,
4466
- erBox: Gn,
4467
- requirementBox: Zn,
4468
- usecaseActor: Bt,
4469
- usecaseActorHollow: Wt,
4470
- usecaseActorAwesome: Ht,
4471
- usecaseActorIcon: Yt,
4472
- usecaseBusiness: Zt,
4473
- usecaseEllipse: Xe,
4474
- usecaseJsonTable: rn
4475
- }), ...ir.flatMap((e) => [
4476
- e.shortName,
4477
- ..."aliases" in e ? e.aliases : [],
4478
- ..."internalAliases" in e ? e.internalAliases : []
4479
- ].map((t) => [t, e.handler]))];
4480
- return Object.fromEntries(e);
4481
- }, "generateShapeMap"))();
4482
- function or(e) {
4483
- return e in ar;
4484
- }
4485
- o(or, "isValidShape");
4486
- //#endregion
4487
- export { or as a, I as c, V as i, q as n, P as o, K as r, ar as s, se as t };