@spteck/react-controls-v2 2.0.18 → 2.2.1

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 (662) hide show
  1. package/LICENSE +1 -1
  2. package/README.md +143 -387
  3. package/dist/LocalizationProvider-BLjmybBa.cjs +2 -0
  4. package/dist/LocalizationProvider-BSlUf0tp.js +497 -0
  5. package/dist/_arrayEach-CnIMt1eB.js +61 -0
  6. package/dist/_arrayEach-vx8gLv03.cjs +2 -0
  7. package/dist/abstractions/ILocalizationProvider.d.ts +52 -0
  8. package/dist/abstractions/index.d.ts +1 -0
  9. package/dist/abstractions/providers/DefaultLocalizationProvider.d.ts +52 -0
  10. package/dist/abstractions/providers/LocalizationProvider.d.ts +47 -0
  11. package/dist/abstractions/providers/index.d.ts +3 -1
  12. package/dist/ar-C1pLt8fa.js +219 -0
  13. package/dist/ar-Jzw7PLrc.cjs +2 -0
  14. package/dist/arc-DPTV8xm_.js +132 -0
  15. package/dist/arc-fdHOvWdS.cjs +2 -0
  16. package/dist/architecture-7HQA4BMR-BAUhgjE2.js +6 -0
  17. package/dist/architecture-7HQA4BMR-DwCjpO72.cjs +2 -0
  18. package/dist/architectureDiagram-VXUJARFQ-B5yGOjRk.js +8680 -0
  19. package/dist/architectureDiagram-VXUJARFQ-C7K57uon.cjs +2 -0
  20. package/dist/az-C0Ow5Hxa.cjs +2 -0
  21. package/dist/az-C3-F9ybX.js +219 -0
  22. package/dist/bg-YB0TmpRF.cjs +2 -0
  23. package/dist/bg-w2e_udiK.js +219 -0
  24. package/dist/blockDiagram-VD42YOAC-B9MtQVc8.js +3756 -0
  25. package/dist/blockDiagram-VD42YOAC-CXUX1_9K.cjs +2 -0
  26. package/dist/bs-BoW04lRb.cjs +2 -0
  27. package/dist/bs-CEe_gjEx.js +219 -0
  28. package/dist/c4Diagram-YG6GDRKO-0rSYap-S.cjs +2 -0
  29. package/dist/c4Diagram-YG6GDRKO-CKFTKCbq.js +2483 -0
  30. package/dist/ca-Bsy2Y5pS.cjs +2 -0
  31. package/dist/ca-CKpd72XI.js +219 -0
  32. package/dist/channel-CJ2FoHig.js +8 -0
  33. package/dist/channel-DjKs64mj.cjs +2 -0
  34. package/dist/chunk-4BX2VUAB-DJlF8TIZ.cjs +2 -0
  35. package/dist/chunk-4BX2VUAB-ghaW5jSQ.js +18 -0
  36. package/dist/chunk-55IACEB6-9B1z6QHL.cjs +2 -0
  37. package/dist/chunk-55IACEB6-__yJgpDO.js +14 -0
  38. package/dist/chunk-B4BG7PRW-Dbzu88Oo.cjs +2 -0
  39. package/dist/chunk-B4BG7PRW-NVucxzRs.js +1828 -0
  40. package/dist/chunk-DI55MBZ5-Bun58OTZ.js +1928 -0
  41. package/dist/chunk-DI55MBZ5-e__JA50C.cjs +2 -0
  42. package/dist/chunk-FMBD7UC4-DulgQOWY.js +20 -0
  43. package/dist/chunk-FMBD7UC4-Pi8Fs7F6.cjs +2 -0
  44. package/dist/chunk-QN33PNHL-DA_6jplh.js +26 -0
  45. package/dist/chunk-QN33PNHL-DcHwlyDo.cjs +2 -0
  46. package/dist/chunk-QZHKN3VN-BfGBK4_s.cjs +2 -0
  47. package/dist/chunk-QZHKN3VN-C5x9oEL1.js +18 -0
  48. package/dist/chunk-TZMSLE5B-BCBp8EeB.cjs +2 -0
  49. package/dist/chunk-TZMSLE5B-Bj2-6aT8.js +109 -0
  50. package/dist/classDiagram-2ON5EDUG-BGUaVc1W.cjs +2 -0
  51. package/dist/classDiagram-2ON5EDUG-BcR1HP9z.js +20 -0
  52. package/dist/classDiagram-v2-WZHVMYZB-BGUaVc1W.cjs +2 -0
  53. package/dist/classDiagram-v2-WZHVMYZB-BcR1HP9z.js +20 -0
  54. package/dist/components/AISearchControl/index.d.ts +1 -0
  55. package/dist/components/Card/index.d.ts +0 -1
  56. package/dist/components/Carousel/index.d.ts +0 -3
  57. package/dist/components/Container/Container.d.ts +1 -9
  58. package/dist/components/Container/IContainerProps.d.ts +10 -4
  59. package/dist/components/Container/index.d.ts +1 -1
  60. package/dist/components/ContentRenderer/ContentRenderer.d.ts +1 -37
  61. package/dist/components/ContentRenderer/IContentRendererProps.d.ts +45 -0
  62. package/dist/components/ContentRenderer/index.d.ts +1 -1
  63. package/dist/components/DataGridV2/DataGridHandle.d.ts +14 -0
  64. package/dist/components/DataGridV2/DataGridV2.d.ts +2 -36
  65. package/dist/components/DataGridV2/IDataGridV2ExtraProps.d.ts +25 -0
  66. package/dist/components/DataGridV2/index.d.ts +1 -0
  67. package/dist/components/Grid/useGridStyles.d.ts +1 -1
  68. package/dist/components/ItemPicker/IItemPickerOption.d.ts +14 -0
  69. package/dist/components/ItemPicker/IItemPickerPagingInfo.d.ts +9 -0
  70. package/dist/components/ItemPicker/IItemPickerProps.d.ts +54 -0
  71. package/dist/components/ItemPicker/ItemPicker.d.ts +4 -0
  72. package/dist/components/ItemPicker/index.d.ts +5 -0
  73. package/dist/components/ItemPicker/useItemPickerStyles.d.ts +10 -0
  74. package/dist/components/KPIControl/IKpiCardData.d.ts +19 -0
  75. package/dist/components/KPIControl/IKpiCardProps.d.ts +6 -0
  76. package/dist/components/KPIControl/KpiCard.d.ts +4 -0
  77. package/dist/components/KPIControl/KpiCardCompact.d.ts +4 -0
  78. package/dist/components/KPIControl/KpiCardSkeleton.d.ts +8 -0
  79. package/dist/components/KPIControl/Kpis.d.ts +7 -0
  80. package/dist/components/KPIControl/NoKpisCard.d.ts +8 -0
  81. package/dist/components/KPIControl/index.d.ts +8 -0
  82. package/dist/components/KPIControl/useKpiStyles.d.ts +33 -0
  83. package/dist/components/ListToolbar/FlatItem.d.ts +8 -0
  84. package/dist/components/ListToolbar/IListToolbarProps.d.ts +27 -0
  85. package/dist/components/ListToolbar/IToolbarItem.d.ts +37 -0
  86. package/dist/components/ListToolbar/IToolbarItemRendererProps.d.ts +13 -0
  87. package/dist/components/ListToolbar/ListToolbar.d.ts +5 -0
  88. package/dist/components/ListToolbar/ToolbarItemRenderer.d.ts +7 -0
  89. package/dist/components/ListToolbar/helpers.d.ts +6 -0
  90. package/dist/components/ListToolbar/index.d.ts +4 -0
  91. package/dist/components/ListToolbar/useListToolbarStyles.d.ts +16 -0
  92. package/dist/components/ListToolbar/useOverflowIndex.d.ts +18 -0
  93. package/dist/components/MarkdownRenderer/MarkdownRenderer.d.ts +1 -1
  94. package/dist/components/MarkdownRenderer/useMarkdownStyles.d.ts +4 -0
  95. package/dist/components/MermaidDiagram/IMermaidDiagramProps.d.ts +31 -0
  96. package/dist/components/MermaidDiagram/MermaidDiagram.d.ts +4 -0
  97. package/dist/components/MermaidDiagram/index.d.ts +4 -0
  98. package/dist/components/MermaidDiagram/useMermaidDiagramStyles.d.ts +9 -0
  99. package/dist/components/Navigation/INavigationProps.d.ts +141 -0
  100. package/dist/components/Navigation/Navigation.d.ts +27 -0
  101. package/dist/components/Navigation/index.d.ts +4 -0
  102. package/dist/components/Navigation/useNavigationStyles.d.ts +13 -0
  103. package/dist/components/SelectTime/IOptionTimeProps.d.ts +23 -0
  104. package/dist/components/SelectTime/ISelectTimeProps.d.ts +25 -0
  105. package/dist/components/SelectTime/OptionTime.d.ts +16 -0
  106. package/dist/components/SelectTime/SelectTime.d.ts +4 -0
  107. package/dist/components/SelectTime/index.d.ts +7 -0
  108. package/dist/components/SelectTime/useOptionTimeStyles.d.ts +6 -0
  109. package/dist/components/SelectTime/useSelectTimeStyles.d.ts +7 -0
  110. package/dist/components/SplitPane/ISplitPaneProps.d.ts +28 -0
  111. package/dist/components/SplitPane/SplitPane.d.ts +10 -0
  112. package/dist/components/SplitPane/index.d.ts +4 -0
  113. package/dist/components/SplitPane/useSplitPaneStyles.d.ts +13 -0
  114. package/dist/components/adaptiveCardHost/AdaptiveCardHost.Utilities.d.ts +1 -1
  115. package/dist/components/adaptiveCardHost/fluentUI/renderCompat.d.ts +7 -0
  116. package/dist/components/aiAssistant/index.d.ts +1 -0
  117. package/dist/components/appDashboard/IAppDashboardProps.d.ts +2 -2
  118. package/dist/components/breadcrumb/IBreadcrumProps.d.ts +1 -1
  119. package/dist/components/breadcrumb/index.d.ts +1 -0
  120. package/dist/components/customControlBar/CustomControlBar.d.ts +1 -13
  121. package/dist/components/customControlBar/IControlItem.d.ts +6 -0
  122. package/dist/components/customControlBar/ICustomControlBarProps.d.ts +11 -0
  123. package/dist/components/customControlBar/index.d.ts +2 -0
  124. package/dist/components/dropDownField/useDropdownFieldStyles.d.ts +5 -0
  125. package/dist/components/index.d.ts +7 -0
  126. package/dist/components/inputField/IInputFieldProps.d.ts +22 -0
  127. package/dist/components/inputField/InputField.d.ts +4 -0
  128. package/dist/components/inputField/index.d.ts +3 -0
  129. package/dist/components/inputField/useInputFieldStyles.d.ts +5 -0
  130. package/dist/components/renderDrawer/RenderDrawer.d.ts +1 -4
  131. package/dist/components/renderHeader/index.d.ts +1 -0
  132. package/dist/components/searchControl/ISearchControlProps.d.ts +14 -0
  133. package/dist/components/searchControl/SearchControl.d.ts +5 -0
  134. package/dist/components/searchControl/index.d.ts +3 -0
  135. package/dist/components/searchControl/useSearchControlStyles.d.ts +13 -0
  136. package/dist/components/stackv2/StackV2.d.ts +1 -1
  137. package/dist/components/worldMap/index.d.ts +2 -0
  138. package/dist/components/worldMap/useContentToolTipStyles.d.ts +2 -8
  139. package/dist/cose-bilkent-S5V4N54A-BcLbJZT7.cjs +2 -0
  140. package/dist/cose-bilkent-S5V4N54A-CtEV3dGx.js +4934 -0
  141. package/dist/cs-D-801PIR.cjs +2 -0
  142. package/dist/cs-DQvRPciB.js +219 -0
  143. package/dist/cy-BxyJCM05.js +219 -0
  144. package/dist/cy-aUPUcn-S.cjs +2 -0
  145. package/dist/cytoscape.esm-BS1owLay.js +30250 -0
  146. package/dist/cytoscape.esm-BxB3woZB.cjs +10 -0
  147. package/dist/da-B05ad5Iq.js +219 -0
  148. package/dist/da-CTiLOqut.cjs +2 -0
  149. package/dist/dagre-6UL2VRFP-BZ9apxkx.js +696 -0
  150. package/dist/dagre-6UL2VRFP-FmOJGmX_.cjs +2 -0
  151. package/dist/de-DJ5iwpd7.js +219 -0
  152. package/dist/de-Dm204UMA.cjs +2 -0
  153. package/dist/defaultLocale-7NeEK7SF.cjs +2 -0
  154. package/dist/defaultLocale-DVr69WTU.js +207 -0
  155. package/dist/diagram-PSM6KHXK-BZxXJahR.cjs +2 -0
  156. package/dist/diagram-PSM6KHXK-_wkJk__z.js +848 -0
  157. package/dist/diagram-QEK2KX5R-NQiK3YZe.cjs +2 -0
  158. package/dist/diagram-QEK2KX5R-YQAU79Lo.js +305 -0
  159. package/dist/diagram-S2PKOQOG-Cob2HIrt.cjs +2 -0
  160. package/dist/diagram-S2PKOQOG-D8jaJbP8.js +212 -0
  161. package/dist/el-CBS9mHS3.js +219 -0
  162. package/dist/el-DbtZj-ph.cjs +2 -0
  163. package/dist/erDiagram-Q2GNP2WA-DAzex-RZ.cjs +2 -0
  164. package/dist/erDiagram-Q2GNP2WA-syuB6Tgc.js +1160 -0
  165. package/dist/es-Bo08apQr.js +219 -0
  166. package/dist/es-Cc-4Vqf7.cjs +2 -0
  167. package/dist/et-D5pQ66eY.cjs +2 -0
  168. package/dist/et-pRL0Tmle.js +219 -0
  169. package/dist/eu-Br68gaf7.js +219 -0
  170. package/dist/eu-RZ-27koK.cjs +2 -0
  171. package/dist/fi-BCXB-k_X.js +219 -0
  172. package/dist/fi-Dqa9mgnW.cjs +2 -0
  173. package/dist/flowDiagram-NV44I4VS-CXJA5Xu7.js +2339 -0
  174. package/dist/flowDiagram-NV44I4VS-DOcXDmk8.cjs +2 -0
  175. package/dist/fr-B7fhkle4.cjs +2 -0
  176. package/dist/fr-gKE1SSIF.js +219 -0
  177. package/dist/ga-4Hf7vKvr.cjs +2 -0
  178. package/dist/ga-C1SpITZy.js +219 -0
  179. package/dist/ganttDiagram-JELNMOA3-BodaBsjX.js +3652 -0
  180. package/dist/ganttDiagram-JELNMOA3-oeOE4Au1.cjs +2 -0
  181. package/dist/gitGraph-G5XIXVHT-BAoUh2t9.js +6 -0
  182. package/dist/gitGraph-G5XIXVHT-bEuOx0_B.cjs +2 -0
  183. package/dist/gitGraphDiagram-V2S2FVAM-B5dByD3_.js +1215 -0
  184. package/dist/gitGraphDiagram-V2S2FVAM-D4G2FRg-.cjs +2 -0
  185. package/dist/gl-COSpsMSK.cjs +2 -0
  186. package/dist/gl-CSzCeu2L.js +219 -0
  187. package/dist/graph-C7xixGrW.cjs +2 -0
  188. package/dist/graph-DH3cnEko.js +421 -0
  189. package/dist/he-BrkfqoIm.js +219 -0
  190. package/dist/he-C7Wi6-EL.cjs +2 -0
  191. package/dist/hi-C1RGDPzn.js +219 -0
  192. package/dist/hi-ojklJj-a.cjs +2 -0
  193. package/dist/hooks/index.d.ts +1 -0
  194. package/dist/hooks/useLocalizationStrings.d.ts +71 -0
  195. package/dist/hr-CsO_h2VT.js +219 -0
  196. package/dist/hr-DkEwOCGU.cjs +2 -0
  197. package/dist/hu-CVtbM-V2.js +219 -0
  198. package/dist/hu-D8uAAzvN.cjs +2 -0
  199. package/dist/id-18yPGK2f.cjs +2 -0
  200. package/dist/id-CARSN0W8.js +219 -0
  201. package/dist/index-CP55uT1-.js +55270 -0
  202. package/dist/index-DkoeCnje.cjs +428 -0
  203. package/dist/index.cjs +2 -0
  204. package/dist/index.d.ts +14 -0
  205. package/dist/index.js +165 -200
  206. package/dist/info-VBDWY6EO-CCtIeR-l.js +6 -0
  207. package/dist/info-VBDWY6EO-CIQZzC1h.cjs +2 -0
  208. package/dist/infoDiagram-HS3SLOUP-BCGLBWdb.js +32 -0
  209. package/dist/infoDiagram-HS3SLOUP-l61UBAGu.cjs +2 -0
  210. package/dist/init-DZ96s0AS.cjs +2 -0
  211. package/dist/init-ZxktEp_H.js +17 -0
  212. package/dist/it-BVq911RW.cjs +2 -0
  213. package/dist/it-ClWGK7XT.js +219 -0
  214. package/dist/ja-BgcKuKZ4.cjs +2 -0
  215. package/dist/ja-DGL12HwE.js +219 -0
  216. package/dist/journeyDiagram-XKPGCS4Q-CngaMpvw.js +1255 -0
  217. package/dist/journeyDiagram-XKPGCS4Q-DDFQr_sf.cjs +2 -0
  218. package/dist/kanban-definition-3W4ZIXB7-DE64tG2k.js +1049 -0
  219. package/dist/kanban-definition-3W4ZIXB7-Yh2cXBd5.cjs +2 -0
  220. package/dist/katex-DPu4QpBP.cjs +2 -0
  221. package/dist/katex-Dd1-wdX2.js +14523 -0
  222. package/dist/kk-CkKXbKso.js +219 -0
  223. package/dist/kk-Dn3FBkOR.cjs +2 -0
  224. package/dist/ko-CKAbV25b.cjs +2 -0
  225. package/dist/ko-QYvDV2aw.js +219 -0
  226. package/dist/layout-D6yO7DzL.cjs +2 -0
  227. package/dist/layout-bxkZz7Cm.js +1919 -0
  228. package/dist/linear-CytTXQM2.cjs +2 -0
  229. package/dist/linear-R5bATomY.js +341 -0
  230. package/dist/localization/ILibraryStrings.d.ts +299 -0
  231. package/dist/localization/defaults/ar.d.ts +8 -0
  232. package/dist/localization/defaults/az.d.ts +8 -0
  233. package/dist/localization/defaults/bg.d.ts +8 -0
  234. package/dist/localization/defaults/bs.d.ts +8 -0
  235. package/dist/localization/defaults/ca.d.ts +8 -0
  236. package/dist/localization/defaults/cs.d.ts +8 -0
  237. package/dist/localization/defaults/cy.d.ts +8 -0
  238. package/dist/localization/defaults/da.d.ts +8 -0
  239. package/dist/localization/defaults/de.d.ts +8 -0
  240. package/dist/localization/defaults/el.d.ts +8 -0
  241. package/dist/localization/defaults/en.d.ts +8 -0
  242. package/dist/localization/defaults/es.d.ts +8 -0
  243. package/dist/localization/defaults/et.d.ts +8 -0
  244. package/dist/localization/defaults/eu.d.ts +8 -0
  245. package/dist/localization/defaults/fi.d.ts +8 -0
  246. package/dist/localization/defaults/fr.d.ts +8 -0
  247. package/dist/localization/defaults/ga.d.ts +8 -0
  248. package/dist/localization/defaults/gl.d.ts +8 -0
  249. package/dist/localization/defaults/he.d.ts +8 -0
  250. package/dist/localization/defaults/hi.d.ts +8 -0
  251. package/dist/localization/defaults/hr.d.ts +8 -0
  252. package/dist/localization/defaults/hu.d.ts +8 -0
  253. package/dist/localization/defaults/id.d.ts +8 -0
  254. package/dist/localization/defaults/index.d.ts +47 -0
  255. package/dist/localization/defaults/it.d.ts +8 -0
  256. package/dist/localization/defaults/ja.d.ts +8 -0
  257. package/dist/localization/defaults/kk.d.ts +8 -0
  258. package/dist/localization/defaults/ko.d.ts +8 -0
  259. package/dist/localization/defaults/lt.d.ts +8 -0
  260. package/dist/localization/defaults/lv.d.ts +8 -0
  261. package/dist/localization/defaults/mk.d.ts +8 -0
  262. package/dist/localization/defaults/ms.d.ts +8 -0
  263. package/dist/localization/defaults/nb.d.ts +8 -0
  264. package/dist/localization/defaults/nl.d.ts +8 -0
  265. package/dist/localization/defaults/pl.d.ts +8 -0
  266. package/dist/localization/defaults/pt.d.ts +8 -0
  267. package/dist/localization/defaults/ro.d.ts +8 -0
  268. package/dist/localization/defaults/ru.d.ts +8 -0
  269. package/dist/localization/defaults/sk.d.ts +8 -0
  270. package/dist/localization/defaults/sl.d.ts +8 -0
  271. package/dist/localization/defaults/sr.d.ts +8 -0
  272. package/dist/localization/defaults/sv.d.ts +8 -0
  273. package/dist/localization/defaults/th.d.ts +8 -0
  274. package/dist/localization/defaults/tr.d.ts +8 -0
  275. package/dist/localization/defaults/uk.d.ts +8 -0
  276. package/dist/localization/defaults/vi.d.ts +8 -0
  277. package/dist/localization/defaults/zh.d.ts +8 -0
  278. package/dist/localization/index.d.ts +8 -0
  279. package/dist/localization/utils.d.ts +10 -0
  280. package/dist/lt-BKnFyiLV.js +219 -0
  281. package/dist/lt-BnGNEsIS.cjs +2 -0
  282. package/dist/lv-Clqo0Ogm.js +219 -0
  283. package/dist/lv-D3rJQRhc.cjs +2 -0
  284. package/dist/maplibre-gl-D9TSGNCf.cjs +6 -0
  285. package/dist/maplibre-gl-DwyiD0x9.js +23511 -0
  286. package/dist/mermaid-parser.core-BbdofhA6.js +23791 -0
  287. package/dist/mermaid-parser.core-C4ChZJz4.cjs +2 -0
  288. package/dist/mindmap-definition-VGOIOE7T-BonbrEly.cjs +2 -0
  289. package/dist/mindmap-definition-VGOIOE7T-C8FL7caj.js +1129 -0
  290. package/dist/mk-EhcD0RzW.js +219 -0
  291. package/dist/mk-hVxJgrE0.cjs +2 -0
  292. package/dist/ms-CJACwjo7.js +219 -0
  293. package/dist/ms-D0txYckK.cjs +2 -0
  294. package/dist/nb-BfKRl99z.cjs +2 -0
  295. package/dist/nb-NCgnP0Pu.js +219 -0
  296. package/dist/nl-EgsNCunP.js +219 -0
  297. package/dist/nl-ZXiLkBj_.cjs +2 -0
  298. package/dist/ordinal-BZdahNih.cjs +2 -0
  299. package/dist/ordinal-DSZU4PqD.js +77 -0
  300. package/dist/packet-DYOGHKS2-64UpspMA.cjs +2 -0
  301. package/dist/packet-DYOGHKS2-DCndr5Wp.js +6 -0
  302. package/dist/pie-VRWISCQL-B_5_SIgL.cjs +2 -0
  303. package/dist/pie-VRWISCQL-BbSFz_Jh.js +6 -0
  304. package/dist/pieDiagram-ADFJNKIX-C8b4kPLp.cjs +2 -0
  305. package/dist/pieDiagram-ADFJNKIX-CQjh4P80.js +238 -0
  306. package/dist/pl-H28GVtiG.js +219 -0
  307. package/dist/pl-tVjdYTB9.cjs +2 -0
  308. package/dist/providers.cjs +2 -0
  309. package/dist/providers.js +252 -1
  310. package/dist/pt-1k62N9F3.cjs +2 -0
  311. package/dist/pt-BSPZhWKl.js +211 -0
  312. package/dist/quadrantDiagram-AYHSOK5B-Bb99yQJL.cjs +2 -0
  313. package/dist/quadrantDiagram-AYHSOK5B-BiLBDCHf.js +1338 -0
  314. package/dist/radar-ZZBFDIW7-DC8bA3_e.cjs +2 -0
  315. package/dist/radar-ZZBFDIW7-DpGZ3D_F.js +6 -0
  316. package/dist/requirementDiagram-UZGBJVZJ-BeLfR5tA.cjs +2 -0
  317. package/dist/requirementDiagram-UZGBJVZJ-D6hcN5kf.js +1164 -0
  318. package/dist/ro-9Qt1qDDA.cjs +2 -0
  319. package/dist/ro-BpaZLre_.js +219 -0
  320. package/dist/ru-4WxRouIU.cjs +2 -0
  321. package/dist/ru-CUZzD-Tx.js +219 -0
  322. package/dist/sankeyDiagram-TZEHDZUN-7K2pggbF.js +1194 -0
  323. package/dist/sankeyDiagram-TZEHDZUN-T1lqY3ke.cjs +2 -0
  324. package/dist/sequenceDiagram-WL72ISMW-CaSRrEHR.cjs +2 -0
  325. package/dist/sequenceDiagram-WL72ISMW-DymCRly8.js +3882 -0
  326. package/dist/sk-CoQ6XiCY.js +219 -0
  327. package/dist/sk-uWukDQab.cjs +2 -0
  328. package/dist/sl-B6DVbKg6.cjs +2 -0
  329. package/dist/sl-CHW-ZGol.js +219 -0
  330. package/dist/sr-BOD8Tc-D.cjs +2 -0
  331. package/dist/sr-EQGjIBJE.js +219 -0
  332. package/dist/stateDiagram-FKZM4ZOC-B3uhYYpW.js +449 -0
  333. package/dist/stateDiagram-FKZM4ZOC-BETxyYxX.cjs +2 -0
  334. package/dist/stateDiagram-v2-4FDKWEC3-B4AjT1wB.cjs +2 -0
  335. package/dist/stateDiagram-v2-4FDKWEC3-BuiA8K0X.js +20 -0
  336. package/dist/style.css +1 -0
  337. package/dist/sv-B6nLuQr7.cjs +2 -0
  338. package/dist/sv-DTxWN6ED.js +219 -0
  339. package/dist/th-BVPzHvBf.js +219 -0
  340. package/dist/th-DmULV6uT.cjs +2 -0
  341. package/dist/timeline-definition-IT6M3QCI-CsJvwNrg.cjs +2 -0
  342. package/dist/timeline-definition-IT6M3QCI-DNROY61n.js +1227 -0
  343. package/dist/tr-BE5geTUC.cjs +2 -0
  344. package/dist/tr-BHR1QA-D.js +219 -0
  345. package/dist/treemap-GDKQZRPO-DbPXSmw-.js +6 -0
  346. package/dist/treemap-GDKQZRPO-Dj3L_VQH.cjs +2 -0
  347. package/dist/uk-Bc5TwelE.js +219 -0
  348. package/dist/uk-DS5ukB_-.cjs +2 -0
  349. package/dist/vi-D9FF4kkG.cjs +2 -0
  350. package/dist/vi-DC0eQZb7.js +219 -0
  351. package/dist/xychartDiagram-PRI3JC2R-CXT2FhOm.cjs +2 -0
  352. package/dist/xychartDiagram-PRI3JC2R-D7UaoGaC.js +1887 -0
  353. package/dist/zh-CGcOiJ3s.cjs +2 -0
  354. package/dist/zh-GsCLn8OE.js +219 -0
  355. package/package.json +95 -92
  356. package/dist/ILoggingProvider-C4FFlnQ0.js +0 -2
  357. package/dist/ILoggingProvider-C4FFlnQ0.js.map +0 -1
  358. package/dist/ILoggingProvider-CYYYCGLY.mjs +0 -18
  359. package/dist/ILoggingProvider-CYYYCGLY.mjs.map +0 -1
  360. package/dist/abstractions/IApplicationContext.d.ts.map +0 -1
  361. package/dist/abstractions/IAuthenticationProvider.d.ts.map +0 -1
  362. package/dist/abstractions/IGraphProvider.d.ts.map +0 -1
  363. package/dist/abstractions/ILoggingProvider.d.ts.map +0 -1
  364. package/dist/abstractions/IPageContext.d.ts.map +0 -1
  365. package/dist/abstractions/IStorageProvider.d.ts.map +0 -1
  366. package/dist/abstractions/index.d.ts.map +0 -1
  367. package/dist/abstractions/providers/ConsoleLoggingProvider.d.ts.map +0 -1
  368. package/dist/abstractions/providers/DefaultGraphClient.d.ts.map +0 -1
  369. package/dist/abstractions/providers/LocalStorageProvider.d.ts.map +0 -1
  370. package/dist/abstractions/providers/index.d.ts.map +0 -1
  371. package/dist/components/AISearchControl/AISearchControl.d.ts.map +0 -1
  372. package/dist/components/AISearchControl/AISearchIcon.d.ts.map +0 -1
  373. package/dist/components/AISearchControl/AISearchIconExample.d.ts.map +0 -1
  374. package/dist/components/AISearchControl/index.d.ts.map +0 -1
  375. package/dist/components/AISearchControl/useAISearchControlStyles.d.ts.map +0 -1
  376. package/dist/components/AspectRatio/AspectRatio.d.ts.map +0 -1
  377. package/dist/components/AspectRatio/IAspectRationProps.d.ts.map +0 -1
  378. package/dist/components/AspectRatio/index.d.ts.map +0 -1
  379. package/dist/components/AspectRatio/useAspectRatioStyles.d.ts.map +0 -1
  380. package/dist/components/Card/Card.d.ts.map +0 -1
  381. package/dist/components/Card/ICardProps.d.ts.map +0 -1
  382. package/dist/components/Card/index.d.ts.map +0 -1
  383. package/dist/components/Card/useCardStyles.d.ts.map +0 -1
  384. package/dist/components/Carousel/Carousel.d.ts.map +0 -1
  385. package/dist/components/Carousel/ICarouselProps.d.ts.map +0 -1
  386. package/dist/components/Carousel/index.d.ts.map +0 -1
  387. package/dist/components/Carousel/useCarouselButton.d.ts.map +0 -1
  388. package/dist/components/Carousel/useCarouselStyles.d.ts.map +0 -1
  389. package/dist/components/Carousel/useCarouselStylesMain.d.ts.map +0 -1
  390. package/dist/components/Center/Center.d.ts.map +0 -1
  391. package/dist/components/Center/ICenterProps.d.ts.map +0 -1
  392. package/dist/components/Center/index.d.ts.map +0 -1
  393. package/dist/components/Center/useCenterStyles.d.ts.map +0 -1
  394. package/dist/components/Container/Container.d.ts.map +0 -1
  395. package/dist/components/Container/IContainerProps.d.ts.map +0 -1
  396. package/dist/components/Container/index.d.ts.map +0 -1
  397. package/dist/components/Container/useContainerStyles.d.ts.map +0 -1
  398. package/dist/components/ContentRenderer/ContentRenderer.d.ts.map +0 -1
  399. package/dist/components/ContentRenderer/index.d.ts.map +0 -1
  400. package/dist/components/DataGridV2/DataGridV2.d.ts.map +0 -1
  401. package/dist/components/DataGridV2/index.d.ts.map +0 -1
  402. package/dist/components/DataGridV2/useDataGridV2Styles.d.ts.map +0 -1
  403. package/dist/components/Grid/Grid.d.ts.map +0 -1
  404. package/dist/components/Grid/IGridProps.d.ts.map +0 -1
  405. package/dist/components/Grid/index.d.ts.map +0 -1
  406. package/dist/components/Grid/useGridStyles.d.ts.map +0 -1
  407. package/dist/components/Layout/ILayoutProps.d.ts.map +0 -1
  408. package/dist/components/Layout/Layout.d.ts.map +0 -1
  409. package/dist/components/Layout/LayoutItem.d.ts.map +0 -1
  410. package/dist/components/Layout/index.d.ts.map +0 -1
  411. package/dist/components/Layout/useLayoutStyles.d.ts.map +0 -1
  412. package/dist/components/ListItemActivityMessage/IAction.d.ts.map +0 -1
  413. package/dist/components/ListItemActivityMessage/IActivity.d.ts.map +0 -1
  414. package/dist/components/ListItemActivityMessage/IActivityMessageProps.d.ts.map +0 -1
  415. package/dist/components/ListItemActivityMessage/IActor.d.ts.map +0 -1
  416. package/dist/components/ListItemActivityMessage/IUserActor.d.ts.map +0 -1
  417. package/dist/components/ListItemActivityMessage/ListItemActivityMessage.d.ts.map +0 -1
  418. package/dist/components/ListItemActivityMessage/index.d.ts.map +0 -1
  419. package/dist/components/ListItemActivityMessage/useSharePointActivities.d.ts.map +0 -1
  420. package/dist/components/LivePersona/ILivePersonaProps.d.ts.map +0 -1
  421. package/dist/components/LivePersona/LivePersona.d.ts.map +0 -1
  422. package/dist/components/LivePersona/index.d.ts.map +0 -1
  423. package/dist/components/MarkdownRenderer/MarkdownRenderer.d.ts.map +0 -1
  424. package/dist/components/MarkdownRenderer/index.d.ts.map +0 -1
  425. package/dist/components/Popup/Popup.d.ts.map +0 -1
  426. package/dist/components/Popup/index.d.ts.map +0 -1
  427. package/dist/components/Provider/UniversalProvider.d.ts.map +0 -1
  428. package/dist/components/Provider/index.d.ts.map +0 -1
  429. package/dist/components/RenderLabel/RenderLabel.d.ts.map +0 -1
  430. package/dist/components/RenderLabel/index.d.ts.map +0 -1
  431. package/dist/components/RenderLabel/useRenderLabelStylesStyles.d.ts.map +0 -1
  432. package/dist/components/RenderSpninner/RenderSpinner.d.ts.map +0 -1
  433. package/dist/components/RenderSpninner/index.d.ts.map +0 -1
  434. package/dist/components/Space/ISpaceProps.d.ts.map +0 -1
  435. package/dist/components/Space/SPace.d.ts.map +0 -1
  436. package/dist/components/Space/index.d.ts.map +0 -1
  437. package/dist/components/Space/useSpaceStyles.d.ts.map +0 -1
  438. package/dist/components/Stack/IStackProps.d.ts.map +0 -1
  439. package/dist/components/Stack/Stack.d.ts.map +0 -1
  440. package/dist/components/Stack/StackItem.d.ts.map +0 -1
  441. package/dist/components/Stack/index.d.ts.map +0 -1
  442. package/dist/components/Stack/useStackStyles.d.ts.map +0 -1
  443. package/dist/components/StackedUsers/IStackedUsersProps.d.ts.map +0 -1
  444. package/dist/components/StackedUsers/StackedUsers.d.ts.map +0 -1
  445. package/dist/components/StackedUsers/index.d.ts.map +0 -1
  446. package/dist/components/StackedUsers/useStackedUsersStyles.d.ts.map +0 -1
  447. package/dist/components/adaptiveCardHost/AdaptiveCardHost.Exports.d.ts.map +0 -1
  448. package/dist/components/adaptiveCardHost/AdaptiveCardHost.HostConfig.d.ts.map +0 -1
  449. package/dist/components/adaptiveCardHost/AdaptiveCardHost.Utilities.d.ts.map +0 -1
  450. package/dist/components/adaptiveCardHost/AdaptiveCardHost.d.ts.map +0 -1
  451. package/dist/components/adaptiveCardHost/IAdaptiveCardHostProps.d.ts.map +0 -1
  452. package/dist/components/adaptiveCardHost/fluentUI/Actions.d.ts.map +0 -1
  453. package/dist/components/adaptiveCardHost/fluentUI/Elements.d.ts.map +0 -1
  454. package/dist/components/adaptiveCardHost/fluentUI/FluentUIChoiceSetInput.d.ts.map +0 -1
  455. package/dist/components/adaptiveCardHost/fluentUI/FluentUIDateInput.d.ts.map +0 -1
  456. package/dist/components/adaptiveCardHost/fluentUI/FluentUINumberInput.d.ts.map +0 -1
  457. package/dist/components/adaptiveCardHost/fluentUI/FluentUITextInput.d.ts.map +0 -1
  458. package/dist/components/adaptiveCardHost/fluentUI/FluentUITimeInput.d.ts.map +0 -1
  459. package/dist/components/adaptiveCardHost/fluentUI/FluentUIToggleInput.d.ts.map +0 -1
  460. package/dist/components/adaptiveCardHost/fluentUI/HostCapability.d.ts.map +0 -1
  461. package/dist/components/adaptiveCardHost/fluentUI/HostConfig.d.ts.map +0 -1
  462. package/dist/components/adaptiveCardHost/fluentUI/IconButton.d.ts.map +0 -1
  463. package/dist/components/adaptiveCardHost/fluentUI/Styles.d.ts.map +0 -1
  464. package/dist/components/adaptiveCardHost/fluentUI/index.d.ts.map +0 -1
  465. package/dist/components/adaptiveCardHost/fluentUI/inlineButtonRootStyle.d.ts.map +0 -1
  466. package/dist/components/adaptiveCardHost/fluentUI/internalRender.d.ts.map +0 -1
  467. package/dist/components/adaptiveCardHost/index.d.ts.map +0 -1
  468. package/dist/components/adaptiveCardHost/models/AdaptiveCardHostThemeType.d.ts.map +0 -1
  469. package/dist/components/adaptiveCardHost/models/IAadInfo.d.ts.map +0 -1
  470. package/dist/components/adaptiveCardHost/models/IAdaptiveCardHostActionResult.d.ts.map +0 -1
  471. package/dist/components/adaptiveCardHost/models/IAdaptiveCardHostConfigResult.d.ts.map +0 -1
  472. package/dist/components/adaptiveCardHost/models/IAdaptiveCardHostEvaluationContext.d.ts.map +0 -1
  473. package/dist/components/adaptiveCardHost/models/ICultureInfo.d.ts.map +0 -1
  474. package/dist/components/adaptiveCardHost/models/ISPListInfo.d.ts.map +0 -1
  475. package/dist/components/adaptiveCardHost/models/ISPListItemInfo.d.ts.map +0 -1
  476. package/dist/components/adaptiveCardHost/models/ISPSiteInfo.d.ts.map +0 -1
  477. package/dist/components/adaptiveCardHost/models/ISPWebInfo.d.ts.map +0 -1
  478. package/dist/components/adaptiveCardHost/models/IUserInfo.d.ts.map +0 -1
  479. package/dist/components/adaptiveCardHost/models/index.d.ts.map +0 -1
  480. package/dist/components/aiAssistant/AIAssistant.d.ts.map +0 -1
  481. package/dist/components/aiAssistant/ChatAction.d.ts.map +0 -1
  482. package/dist/components/aiAssistant/ChatInput.d.ts.map +0 -1
  483. package/dist/components/aiAssistant/ChatInputProps.d.ts.map +0 -1
  484. package/dist/components/aiAssistant/ChatInputWithMensions.d.ts.map +0 -1
  485. package/dist/components/aiAssistant/ChatInputWithMensionsProps.d.ts.map +0 -1
  486. package/dist/components/aiAssistant/ChatInputWithMensionsV1.d.ts.map +0 -1
  487. package/dist/components/aiAssistant/ChatInputWithMensionsV2.d.ts.map +0 -1
  488. package/dist/components/aiAssistant/ChatList.d.ts.map +0 -1
  489. package/dist/components/aiAssistant/ChatState.d.ts.map +0 -1
  490. package/dist/components/aiAssistant/IAIAssistantProps.d.ts.map +0 -1
  491. package/dist/components/aiAssistant/IChatItem.d.ts.map +0 -1
  492. package/dist/components/aiAssistant/IResponse.d.ts.map +0 -1
  493. package/dist/components/aiAssistant/LoadingDots.d.ts.map +0 -1
  494. package/dist/components/aiAssistant/chatReducer.d.ts.map +0 -1
  495. package/dist/components/aiAssistant/index.d.ts.map +0 -1
  496. package/dist/components/aiAssistant/useAIAssistantStyles.d.ts.map +0 -1
  497. package/dist/components/aiAssistant/useChatInputStyles.d.ts.map +0 -1
  498. package/dist/components/aiAssistant/useChatInputWithMensionsStyles.d.ts.map +0 -1
  499. package/dist/components/aiAssistant/useLoadingDotsStyles.d.ts.map +0 -1
  500. package/dist/components/aiAssistant/useStreamRequest.d.ts.map +0 -1
  501. package/dist/components/aiAssistant/useStyles.d.ts.map +0 -1
  502. package/dist/components/appDashboard/AppDashboard.d.ts.map +0 -1
  503. package/dist/components/appDashboard/IAppDashboardProps.d.ts.map +0 -1
  504. package/dist/components/appDashboard/NoDashboards.d.ts.map +0 -1
  505. package/dist/components/appDashboard/index.d.ts.map +0 -1
  506. package/dist/components/appDashboard/selectZoom/SelectZoom.d.ts.map +0 -1
  507. package/dist/components/appDashboard/useDashboardStyles.d.ts.map +0 -1
  508. package/dist/components/baseComponentProps/IBaseProps.d.ts.map +0 -1
  509. package/dist/components/breadcrumb/Breadcrumb.d.ts.map +0 -1
  510. package/dist/components/breadcrumb/IBreadcrumItem.d.ts.map +0 -1
  511. package/dist/components/breadcrumb/IBreadcrumProps.d.ts.map +0 -1
  512. package/dist/components/breadcrumb/OverflowMenu.d.ts.map +0 -1
  513. package/dist/components/breadcrumb/index.d.ts.map +0 -1
  514. package/dist/components/breadcrumb/useBreadcrumStyles.d.ts.map +0 -1
  515. package/dist/components/buttonMenu/ButtonMenu.d.ts.map +0 -1
  516. package/dist/components/buttonMenu/IButtonMenuOption.d.ts.map +0 -1
  517. package/dist/components/buttonMenu/index.d.ts.map +0 -1
  518. package/dist/components/calendarControl/CalendarControl.d.ts.map +0 -1
  519. package/dist/components/calendarControl/Day.d.ts.map +0 -1
  520. package/dist/components/calendarControl/DayView.d.ts.map +0 -1
  521. package/dist/components/calendarControl/EventDetailsPopover.d.ts.map +0 -1
  522. package/dist/components/calendarControl/EventPopoverCard.d.ts.map +0 -1
  523. package/dist/components/calendarControl/EventRender.d.ts.map +0 -1
  524. package/dist/components/calendarControl/RenderEventToDayOfMonth.d.ts.map +0 -1
  525. package/dist/components/calendarControl/SelectCalendarView.d.ts.map +0 -1
  526. package/dist/components/calendarControl/Toolbar.d.ts.map +0 -1
  527. package/dist/components/calendarControl/WeekView.d.ts.map +0 -1
  528. package/dist/components/calendarControl/hooks/index.d.ts.map +0 -1
  529. package/dist/components/calendarControl/hooks/useCalendar.d.ts.map +0 -1
  530. package/dist/components/calendarControl/hooks/useCalendarStyles.d.ts.map +0 -1
  531. package/dist/components/calendarControl/hooks/useDayViewStyles.d.ts.map +0 -1
  532. package/dist/components/calendarControl/hooks/useUtils.d.ts.map +0 -1
  533. package/dist/components/calendarControl/hooks/useWeekViewStyles.d.ts.map +0 -1
  534. package/dist/components/calendarControl/index.d.ts.map +0 -1
  535. package/dist/components/calendarControl/models/ECalendarViews.d.ts.map +0 -1
  536. package/dist/components/calendarControl/models/IAttendee.d.ts.map +0 -1
  537. package/dist/components/calendarControl/models/ICalendarControlProps.d.ts.map +0 -1
  538. package/dist/components/calendarControl/models/ICalendarDay.d.ts.map +0 -1
  539. package/dist/components/calendarControl/models/IEventColors.d.ts.map +0 -1
  540. package/dist/components/calendarControl/models/IEvents.d.ts.map +0 -1
  541. package/dist/components/calendarControl/models/IStrings.d.ts.map +0 -1
  542. package/dist/components/calendarControl/models/index.d.ts.map +0 -1
  543. package/dist/components/customControlBar/CustomControlBar.d.ts.map +0 -1
  544. package/dist/components/customControlBar/index.d.ts.map +0 -1
  545. package/dist/components/dataGrid/DataGrid.d.ts.map +0 -1
  546. package/dist/components/dataGrid/IColumnConfig.d.ts.map +0 -1
  547. package/dist/components/dataGrid/IDataGridProps.d.ts.map +0 -1
  548. package/dist/components/dataGrid/ISortState.d.ts.map +0 -1
  549. package/dist/components/dataGrid/index.d.ts.map +0 -1
  550. package/dist/components/dataGrid/stack/IStackProps.d.ts.map +0 -1
  551. package/dist/components/dataGrid/stack/Stack.d.ts.map +0 -1
  552. package/dist/components/dataGrid/useDataGridStyles.d.ts.map +0 -1
  553. package/dist/components/dropDownField/DropDownField.d.ts.map +0 -1
  554. package/dist/components/dropDownField/IDropDownFieldProps.d.ts.map +0 -1
  555. package/dist/components/dropDownField/IOption.d.ts.map +0 -1
  556. package/dist/components/dropDownField/index.d.ts.map +0 -1
  557. package/dist/components/genericOverFlowMenu/GenericOverFlowMenu.d.ts.map +0 -1
  558. package/dist/components/genericOverFlowMenu/index.d.ts.map +0 -1
  559. package/dist/components/genericOverFlowMenu/useOverflowMenuStyles.d.ts.map +0 -1
  560. package/dist/components/iconButton/IconButton.d.ts.map +0 -1
  561. package/dist/components/iconButton/IconButtonProps.d.ts.map +0 -1
  562. package/dist/components/iconButton/index.d.ts.map +0 -1
  563. package/dist/components/index.d.ts.map +0 -1
  564. package/dist/components/mensions/IMensionsProps.d.ts.map +0 -1
  565. package/dist/components/mensions/Mensions.d.ts.map +0 -1
  566. package/dist/components/mensions/MensionsExample.d.ts.map +0 -1
  567. package/dist/components/mensions/index.d.ts.map +0 -1
  568. package/dist/components/mensions/useMensionsStyles.d.ts.map +0 -1
  569. package/dist/components/renderAdaptiveCard/RenderAdaptiveCard.d.ts.map +0 -1
  570. package/dist/components/renderAdaptiveCard/index.d.ts.map +0 -1
  571. package/dist/components/renderDialog/RenderDialog.d.ts.map +0 -1
  572. package/dist/components/renderDialog/index.d.ts.map +0 -1
  573. package/dist/components/renderDrawer/RenderDrawer.d.ts.map +0 -1
  574. package/dist/components/renderDrawer/index.d.ts.map +0 -1
  575. package/dist/components/renderHeader/IRenderHeaderProps.d.ts.map +0 -1
  576. package/dist/components/renderHeader/RenderHeader.d.ts.map +0 -1
  577. package/dist/components/renderHeader/index.d.ts.map +0 -1
  578. package/dist/components/renderHeader/useRenderHeaderStyles.d.ts.map +0 -1
  579. package/dist/components/selectDay/SelectDay.d.ts.map +0 -1
  580. package/dist/components/selectDay/index.d.ts.map +0 -1
  581. package/dist/components/selectMonth/CalendarMonth.d.ts.map +0 -1
  582. package/dist/components/selectMonth/SelectMonth.d.ts.map +0 -1
  583. package/dist/components/selectMonth/index.d.ts.map +0 -1
  584. package/dist/components/selectView/SelectView.d.ts.map +0 -1
  585. package/dist/components/selectView/index.d.ts.map +0 -1
  586. package/dist/components/selectWeek/SelectWeek.d.ts.map +0 -1
  587. package/dist/components/selectWeek/index.d.ts.map +0 -1
  588. package/dist/components/shareDialog/ShareDialog.d.ts.map +0 -1
  589. package/dist/components/shareDialog/index.d.ts.map +0 -1
  590. package/dist/components/showError/IErrorDisplayProps.d.ts.map +0 -1
  591. package/dist/components/showError/ShowError.d.ts.map +0 -1
  592. package/dist/components/showError/index.d.ts.map +0 -1
  593. package/dist/components/showError/useShowErrorStyles.d.ts.map +0 -1
  594. package/dist/components/showMessage/IShowMessage.d.ts.map +0 -1
  595. package/dist/components/showMessage/ShowMessage.d.ts.map +0 -1
  596. package/dist/components/showMessage/index.d.ts.map +0 -1
  597. package/dist/components/showMessage/useShowMessageStyles.d.ts.map +0 -1
  598. package/dist/components/stackv2/IStackV2Props.d.ts.map +0 -1
  599. package/dist/components/stackv2/StackV2.d.ts.map +0 -1
  600. package/dist/components/stackv2/index.d.ts.map +0 -1
  601. package/dist/components/svgImages/BusinessReportIcon.d.ts.map +0 -1
  602. package/dist/components/typographyControl/ITypographyControlProps.d.ts.map +0 -1
  603. package/dist/components/typographyControl/TypographyControl.d.ts.map +0 -1
  604. package/dist/components/typographyControl/index.d.ts.map +0 -1
  605. package/dist/components/userCard/IUserCardProps.d.ts.map +0 -1
  606. package/dist/components/userCard/IUserInfo.d.ts.map +0 -1
  607. package/dist/components/userCard/UserCard.d.ts.map +0 -1
  608. package/dist/components/userCard/constants.d.ts.map +0 -1
  609. package/dist/components/userCard/index.d.ts.map +0 -1
  610. package/dist/components/userCard/useUserCardStyles.d.ts.map +0 -1
  611. package/dist/components/userCard/useUserProfile.d.ts.map +0 -1
  612. package/dist/components/videoPlayer/VideoPlayer.d.ts.map +0 -1
  613. package/dist/components/videoPlayer/index.d.ts.map +0 -1
  614. package/dist/components/videoPlayer/useVideoStyles.d.ts.map +0 -1
  615. package/dist/components/worldMap/IWorldMapProps.d.ts.map +0 -1
  616. package/dist/components/worldMap/MapNavigation.d.ts.map +0 -1
  617. package/dist/components/worldMap/MaplibreWorldMapProps.d.ts.map +0 -1
  618. package/dist/components/worldMap/TooltipContent.d.ts.map +0 -1
  619. package/dist/components/worldMap/WorldMap.d.ts.map +0 -1
  620. package/dist/components/worldMap/WorldMapControl.d.ts.map +0 -1
  621. package/dist/components/worldMap/data.d.ts.map +0 -1
  622. package/dist/components/worldMap/index.d.ts.map +0 -1
  623. package/dist/components/worldMap/marker.d.ts.map +0 -1
  624. package/dist/components/worldMap/useCleanMapStyle.d.ts.map +0 -1
  625. package/dist/components/worldMap/useContentToolTipStyles.d.ts.map +0 -1
  626. package/dist/components/worldMap/useGeocodedCountries.d.ts.map +0 -1
  627. package/dist/constants/EBreakPoints.d.ts.map +0 -1
  628. package/dist/constants/EMessageTypes.d.ts.map +0 -1
  629. package/dist/constants/index.d.ts.map +0 -1
  630. package/dist/hooks/index.d.ts.map +0 -1
  631. package/dist/hooks/useAIAssistant.d.ts.map +0 -1
  632. package/dist/hooks/useAIAssistantParser.d.ts.map +0 -1
  633. package/dist/hooks/useGraphAPI.d.ts.map +0 -1
  634. package/dist/hooks/useIndexedDB.d.ts.map +0 -1
  635. package/dist/hooks/useLogging.d.ts.map +0 -1
  636. package/dist/hooks/usePolling.d.ts.map +0 -1
  637. package/dist/hooks/useTimeZone.d.ts.map +0 -1
  638. package/dist/hooks/useTimeZoneHelper.d.ts.map +0 -1
  639. package/dist/index.d.ts.map +0 -1
  640. package/dist/index.js.map +0 -1
  641. package/dist/index.mjs +0 -27983
  642. package/dist/index.mjs.map +0 -1
  643. package/dist/models/IAppCardContainer.d.ts.map +0 -1
  644. package/dist/models/index.d.ts.map +0 -1
  645. package/dist/providers.js.map +0 -1
  646. package/dist/providers.mjs +0 -250
  647. package/dist/providers.mjs.map +0 -1
  648. package/dist/types/TBaseSpacing.d.ts.map +0 -1
  649. package/dist/types/THorizontalSpacing.d.ts.map +0 -1
  650. package/dist/types/THorizontalSpacingBreakPoints.d.ts.map +0 -1
  651. package/dist/types/TLayoutBreakPoints.d.ts.map +0 -1
  652. package/dist/types/TPaddingBreakPoints.d.ts.map +0 -1
  653. package/dist/types/TPading.d.ts.map +0 -1
  654. package/dist/types/TVerticalSpacing.d.ts.map +0 -1
  655. package/dist/types/TVerticalSpacingBreakPoints.d.ts.map +0 -1
  656. package/dist/types/index.d.ts.map +0 -1
  657. package/dist/utils/contentDetector.d.ts.map +0 -1
  658. package/dist/utils/index.d.ts.map +0 -1
  659. package/dist/utils/lodash.d.ts.map +0 -1
  660. package/dist/utils/useComponentsUtils.d.ts.map +0 -1
  661. package/dist/utils/useDateUtils.d.ts.map +0 -1
  662. package/dist/utils/useImageUtils.d.ts.map +0 -1
@@ -0,0 +1,1129 @@
1
+ var _a;
2
+ import { g as getDiagramElement } from "./chunk-55IACEB6-__yJgpDO.js";
3
+ import { s as setupViewPortForSVG } from "./chunk-QN33PNHL-DA_6jplh.js";
4
+ import { _ as __name, l as log, p as getRegisteredLayoutAlgorithm, r as render, H as defaultConfig_default, c as getConfig2, i as sanitizeText, ay as getUserDefinedConfig, ad as isDark, ae as lighten, af as darken } from "./index-CP55uT1-.js";
5
+ const byteToHex = [];
6
+ for (let i = 0; i < 256; ++i) {
7
+ byteToHex.push((i + 256).toString(16).slice(1));
8
+ }
9
+ function unsafeStringify(arr, offset = 0) {
10
+ return (byteToHex[arr[offset + 0]] + byteToHex[arr[offset + 1]] + byteToHex[arr[offset + 2]] + byteToHex[arr[offset + 3]] + "-" + byteToHex[arr[offset + 4]] + byteToHex[arr[offset + 5]] + "-" + byteToHex[arr[offset + 6]] + byteToHex[arr[offset + 7]] + "-" + byteToHex[arr[offset + 8]] + byteToHex[arr[offset + 9]] + "-" + byteToHex[arr[offset + 10]] + byteToHex[arr[offset + 11]] + byteToHex[arr[offset + 12]] + byteToHex[arr[offset + 13]] + byteToHex[arr[offset + 14]] + byteToHex[arr[offset + 15]]).toLowerCase();
11
+ }
12
+ let getRandomValues;
13
+ const rnds8 = new Uint8Array(16);
14
+ function rng() {
15
+ if (!getRandomValues) {
16
+ if (typeof crypto === "undefined" || !crypto.getRandomValues) {
17
+ throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");
18
+ }
19
+ getRandomValues = crypto.getRandomValues.bind(crypto);
20
+ }
21
+ return getRandomValues(rnds8);
22
+ }
23
+ const randomUUID = typeof crypto !== "undefined" && crypto.randomUUID && crypto.randomUUID.bind(crypto);
24
+ const native = { randomUUID };
25
+ function v4(options, buf, offset) {
26
+ var _a2;
27
+ if (native.randomUUID && true && !options) {
28
+ return native.randomUUID();
29
+ }
30
+ options = options || {};
31
+ const rnds = options.random ?? ((_a2 = options.rng) == null ? void 0 : _a2.call(options)) ?? rng();
32
+ if (rnds.length < 16) {
33
+ throw new Error("Random bytes length must be >= 16");
34
+ }
35
+ rnds[6] = rnds[6] & 15 | 64;
36
+ rnds[8] = rnds[8] & 63 | 128;
37
+ return unsafeStringify(rnds);
38
+ }
39
+ var parser = function() {
40
+ var o = /* @__PURE__ */ __name(function(k, v, o2, l) {
41
+ for (o2 = o2 || {}, l = k.length; l--; o2[k[l]] = v) ;
42
+ return o2;
43
+ }, "o"), $V0 = [1, 4], $V1 = [1, 13], $V2 = [1, 12], $V3 = [1, 15], $V4 = [1, 16], $V5 = [1, 20], $V6 = [1, 19], $V7 = [6, 7, 8], $V8 = [1, 26], $V9 = [1, 24], $Va = [1, 25], $Vb = [6, 7, 11], $Vc = [1, 6, 13, 15, 16, 19, 22], $Vd = [1, 33], $Ve = [1, 34], $Vf = [1, 6, 7, 11, 13, 15, 16, 19, 22];
44
+ var parser2 = {
45
+ trace: /* @__PURE__ */ __name(function trace() {
46
+ }, "trace"),
47
+ yy: {},
48
+ symbols_: { "error": 2, "start": 3, "mindMap": 4, "spaceLines": 5, "SPACELINE": 6, "NL": 7, "MINDMAP": 8, "document": 9, "stop": 10, "EOF": 11, "statement": 12, "SPACELIST": 13, "node": 14, "ICON": 15, "CLASS": 16, "nodeWithId": 17, "nodeWithoutId": 18, "NODE_DSTART": 19, "NODE_DESCR": 20, "NODE_DEND": 21, "NODE_ID": 22, "$accept": 0, "$end": 1 },
49
+ terminals_: { 2: "error", 6: "SPACELINE", 7: "NL", 8: "MINDMAP", 11: "EOF", 13: "SPACELIST", 15: "ICON", 16: "CLASS", 19: "NODE_DSTART", 20: "NODE_DESCR", 21: "NODE_DEND", 22: "NODE_ID" },
50
+ productions_: [0, [3, 1], [3, 2], [5, 1], [5, 2], [5, 2], [4, 2], [4, 3], [10, 1], [10, 1], [10, 1], [10, 2], [10, 2], [9, 3], [9, 2], [12, 2], [12, 2], [12, 2], [12, 1], [12, 1], [12, 1], [12, 1], [12, 1], [14, 1], [14, 1], [18, 3], [17, 1], [17, 4]],
51
+ performAction: /* @__PURE__ */ __name(function anonymous(yytext, yyleng, yylineno, yy, yystate, $$, _$) {
52
+ var $0 = $$.length - 1;
53
+ switch (yystate) {
54
+ case 6:
55
+ case 7:
56
+ return yy;
57
+ case 8:
58
+ yy.getLogger().trace("Stop NL ");
59
+ break;
60
+ case 9:
61
+ yy.getLogger().trace("Stop EOF ");
62
+ break;
63
+ case 11:
64
+ yy.getLogger().trace("Stop NL2 ");
65
+ break;
66
+ case 12:
67
+ yy.getLogger().trace("Stop EOF2 ");
68
+ break;
69
+ case 15:
70
+ yy.getLogger().info("Node: ", $$[$0].id);
71
+ yy.addNode($$[$0 - 1].length, $$[$0].id, $$[$0].descr, $$[$0].type);
72
+ break;
73
+ case 16:
74
+ yy.getLogger().trace("Icon: ", $$[$0]);
75
+ yy.decorateNode({ icon: $$[$0] });
76
+ break;
77
+ case 17:
78
+ case 21:
79
+ yy.decorateNode({ class: $$[$0] });
80
+ break;
81
+ case 18:
82
+ yy.getLogger().trace("SPACELIST");
83
+ break;
84
+ case 19:
85
+ yy.getLogger().trace("Node: ", $$[$0].id);
86
+ yy.addNode(0, $$[$0].id, $$[$0].descr, $$[$0].type);
87
+ break;
88
+ case 20:
89
+ yy.decorateNode({ icon: $$[$0] });
90
+ break;
91
+ case 25:
92
+ yy.getLogger().trace("node found ..", $$[$0 - 2]);
93
+ this.$ = { id: $$[$0 - 1], descr: $$[$0 - 1], type: yy.getType($$[$0 - 2], $$[$0]) };
94
+ break;
95
+ case 26:
96
+ this.$ = { id: $$[$0], descr: $$[$0], type: yy.nodeType.DEFAULT };
97
+ break;
98
+ case 27:
99
+ yy.getLogger().trace("node found ..", $$[$0 - 3]);
100
+ this.$ = { id: $$[$0 - 3], descr: $$[$0 - 1], type: yy.getType($$[$0 - 2], $$[$0]) };
101
+ break;
102
+ }
103
+ }, "anonymous"),
104
+ table: [{ 3: 1, 4: 2, 5: 3, 6: [1, 5], 8: $V0 }, { 1: [3] }, { 1: [2, 1] }, { 4: 6, 6: [1, 7], 7: [1, 8], 8: $V0 }, { 6: $V1, 7: [1, 10], 9: 9, 12: 11, 13: $V2, 14: 14, 15: $V3, 16: $V4, 17: 17, 18: 18, 19: $V5, 22: $V6 }, o($V7, [2, 3]), { 1: [2, 2] }, o($V7, [2, 4]), o($V7, [2, 5]), { 1: [2, 6], 6: $V1, 12: 21, 13: $V2, 14: 14, 15: $V3, 16: $V4, 17: 17, 18: 18, 19: $V5, 22: $V6 }, { 6: $V1, 9: 22, 12: 11, 13: $V2, 14: 14, 15: $V3, 16: $V4, 17: 17, 18: 18, 19: $V5, 22: $V6 }, { 6: $V8, 7: $V9, 10: 23, 11: $Va }, o($Vb, [2, 22], { 17: 17, 18: 18, 14: 27, 15: [1, 28], 16: [1, 29], 19: $V5, 22: $V6 }), o($Vb, [2, 18]), o($Vb, [2, 19]), o($Vb, [2, 20]), o($Vb, [2, 21]), o($Vb, [2, 23]), o($Vb, [2, 24]), o($Vb, [2, 26], { 19: [1, 30] }), { 20: [1, 31] }, { 6: $V8, 7: $V9, 10: 32, 11: $Va }, { 1: [2, 7], 6: $V1, 12: 21, 13: $V2, 14: 14, 15: $V3, 16: $V4, 17: 17, 18: 18, 19: $V5, 22: $V6 }, o($Vc, [2, 14], { 7: $Vd, 11: $Ve }), o($Vf, [2, 8]), o($Vf, [2, 9]), o($Vf, [2, 10]), o($Vb, [2, 15]), o($Vb, [2, 16]), o($Vb, [2, 17]), { 20: [1, 35] }, { 21: [1, 36] }, o($Vc, [2, 13], { 7: $Vd, 11: $Ve }), o($Vf, [2, 11]), o($Vf, [2, 12]), { 21: [1, 37] }, o($Vb, [2, 25]), o($Vb, [2, 27])],
105
+ defaultActions: { 2: [2, 1], 6: [2, 2] },
106
+ parseError: /* @__PURE__ */ __name(function parseError(str, hash) {
107
+ if (hash.recoverable) {
108
+ this.trace(str);
109
+ } else {
110
+ var error = new Error(str);
111
+ error.hash = hash;
112
+ throw error;
113
+ }
114
+ }, "parseError"),
115
+ parse: /* @__PURE__ */ __name(function parse(input) {
116
+ var self = this, stack = [0], tstack = [], vstack = [null], lstack = [], table = this.table, yytext = "", yylineno = 0, yyleng = 0, TERROR = 2, EOF = 1;
117
+ var args = lstack.slice.call(arguments, 1);
118
+ var lexer2 = Object.create(this.lexer);
119
+ var sharedState = { yy: {} };
120
+ for (var k in this.yy) {
121
+ if (Object.prototype.hasOwnProperty.call(this.yy, k)) {
122
+ sharedState.yy[k] = this.yy[k];
123
+ }
124
+ }
125
+ lexer2.setInput(input, sharedState.yy);
126
+ sharedState.yy.lexer = lexer2;
127
+ sharedState.yy.parser = this;
128
+ if (typeof lexer2.yylloc == "undefined") {
129
+ lexer2.yylloc = {};
130
+ }
131
+ var yyloc = lexer2.yylloc;
132
+ lstack.push(yyloc);
133
+ var ranges = lexer2.options && lexer2.options.ranges;
134
+ if (typeof sharedState.yy.parseError === "function") {
135
+ this.parseError = sharedState.yy.parseError;
136
+ } else {
137
+ this.parseError = Object.getPrototypeOf(this).parseError;
138
+ }
139
+ function popStack(n) {
140
+ stack.length = stack.length - 2 * n;
141
+ vstack.length = vstack.length - n;
142
+ lstack.length = lstack.length - n;
143
+ }
144
+ __name(popStack, "popStack");
145
+ function lex() {
146
+ var token;
147
+ token = tstack.pop() || lexer2.lex() || EOF;
148
+ if (typeof token !== "number") {
149
+ if (token instanceof Array) {
150
+ tstack = token;
151
+ token = tstack.pop();
152
+ }
153
+ token = self.symbols_[token] || token;
154
+ }
155
+ return token;
156
+ }
157
+ __name(lex, "lex");
158
+ var symbol, state, action, r, yyval = {}, p, len, newState, expected;
159
+ while (true) {
160
+ state = stack[stack.length - 1];
161
+ if (this.defaultActions[state]) {
162
+ action = this.defaultActions[state];
163
+ } else {
164
+ if (symbol === null || typeof symbol == "undefined") {
165
+ symbol = lex();
166
+ }
167
+ action = table[state] && table[state][symbol];
168
+ }
169
+ if (typeof action === "undefined" || !action.length || !action[0]) {
170
+ var errStr = "";
171
+ expected = [];
172
+ for (p in table[state]) {
173
+ if (this.terminals_[p] && p > TERROR) {
174
+ expected.push("'" + this.terminals_[p] + "'");
175
+ }
176
+ }
177
+ if (lexer2.showPosition) {
178
+ errStr = "Parse error on line " + (yylineno + 1) + ":\n" + lexer2.showPosition() + "\nExpecting " + expected.join(", ") + ", got '" + (this.terminals_[symbol] || symbol) + "'";
179
+ } else {
180
+ errStr = "Parse error on line " + (yylineno + 1) + ": Unexpected " + (symbol == EOF ? "end of input" : "'" + (this.terminals_[symbol] || symbol) + "'");
181
+ }
182
+ this.parseError(errStr, {
183
+ text: lexer2.match,
184
+ token: this.terminals_[symbol] || symbol,
185
+ line: lexer2.yylineno,
186
+ loc: yyloc,
187
+ expected
188
+ });
189
+ }
190
+ if (action[0] instanceof Array && action.length > 1) {
191
+ throw new Error("Parse Error: multiple actions possible at state: " + state + ", token: " + symbol);
192
+ }
193
+ switch (action[0]) {
194
+ case 1:
195
+ stack.push(symbol);
196
+ vstack.push(lexer2.yytext);
197
+ lstack.push(lexer2.yylloc);
198
+ stack.push(action[1]);
199
+ symbol = null;
200
+ {
201
+ yyleng = lexer2.yyleng;
202
+ yytext = lexer2.yytext;
203
+ yylineno = lexer2.yylineno;
204
+ yyloc = lexer2.yylloc;
205
+ }
206
+ break;
207
+ case 2:
208
+ len = this.productions_[action[1]][1];
209
+ yyval.$ = vstack[vstack.length - len];
210
+ yyval._$ = {
211
+ first_line: lstack[lstack.length - (len || 1)].first_line,
212
+ last_line: lstack[lstack.length - 1].last_line,
213
+ first_column: lstack[lstack.length - (len || 1)].first_column,
214
+ last_column: lstack[lstack.length - 1].last_column
215
+ };
216
+ if (ranges) {
217
+ yyval._$.range = [
218
+ lstack[lstack.length - (len || 1)].range[0],
219
+ lstack[lstack.length - 1].range[1]
220
+ ];
221
+ }
222
+ r = this.performAction.apply(yyval, [
223
+ yytext,
224
+ yyleng,
225
+ yylineno,
226
+ sharedState.yy,
227
+ action[1],
228
+ vstack,
229
+ lstack
230
+ ].concat(args));
231
+ if (typeof r !== "undefined") {
232
+ return r;
233
+ }
234
+ if (len) {
235
+ stack = stack.slice(0, -1 * len * 2);
236
+ vstack = vstack.slice(0, -1 * len);
237
+ lstack = lstack.slice(0, -1 * len);
238
+ }
239
+ stack.push(this.productions_[action[1]][0]);
240
+ vstack.push(yyval.$);
241
+ lstack.push(yyval._$);
242
+ newState = table[stack[stack.length - 2]][stack[stack.length - 1]];
243
+ stack.push(newState);
244
+ break;
245
+ case 3:
246
+ return true;
247
+ }
248
+ }
249
+ return true;
250
+ }, "parse")
251
+ };
252
+ var lexer = /* @__PURE__ */ function() {
253
+ var lexer2 = {
254
+ EOF: 1,
255
+ parseError: /* @__PURE__ */ __name(function parseError(str, hash) {
256
+ if (this.yy.parser) {
257
+ this.yy.parser.parseError(str, hash);
258
+ } else {
259
+ throw new Error(str);
260
+ }
261
+ }, "parseError"),
262
+ // resets the lexer, sets new input
263
+ setInput: /* @__PURE__ */ __name(function(input, yy) {
264
+ this.yy = yy || this.yy || {};
265
+ this._input = input;
266
+ this._more = this._backtrack = this.done = false;
267
+ this.yylineno = this.yyleng = 0;
268
+ this.yytext = this.matched = this.match = "";
269
+ this.conditionStack = ["INITIAL"];
270
+ this.yylloc = {
271
+ first_line: 1,
272
+ first_column: 0,
273
+ last_line: 1,
274
+ last_column: 0
275
+ };
276
+ if (this.options.ranges) {
277
+ this.yylloc.range = [0, 0];
278
+ }
279
+ this.offset = 0;
280
+ return this;
281
+ }, "setInput"),
282
+ // consumes and returns one char from the input
283
+ input: /* @__PURE__ */ __name(function() {
284
+ var ch = this._input[0];
285
+ this.yytext += ch;
286
+ this.yyleng++;
287
+ this.offset++;
288
+ this.match += ch;
289
+ this.matched += ch;
290
+ var lines = ch.match(/(?:\r\n?|\n).*/g);
291
+ if (lines) {
292
+ this.yylineno++;
293
+ this.yylloc.last_line++;
294
+ } else {
295
+ this.yylloc.last_column++;
296
+ }
297
+ if (this.options.ranges) {
298
+ this.yylloc.range[1]++;
299
+ }
300
+ this._input = this._input.slice(1);
301
+ return ch;
302
+ }, "input"),
303
+ // unshifts one char (or a string) into the input
304
+ unput: /* @__PURE__ */ __name(function(ch) {
305
+ var len = ch.length;
306
+ var lines = ch.split(/(?:\r\n?|\n)/g);
307
+ this._input = ch + this._input;
308
+ this.yytext = this.yytext.substr(0, this.yytext.length - len);
309
+ this.offset -= len;
310
+ var oldLines = this.match.split(/(?:\r\n?|\n)/g);
311
+ this.match = this.match.substr(0, this.match.length - 1);
312
+ this.matched = this.matched.substr(0, this.matched.length - 1);
313
+ if (lines.length - 1) {
314
+ this.yylineno -= lines.length - 1;
315
+ }
316
+ var r = this.yylloc.range;
317
+ this.yylloc = {
318
+ first_line: this.yylloc.first_line,
319
+ last_line: this.yylineno + 1,
320
+ first_column: this.yylloc.first_column,
321
+ last_column: lines ? (lines.length === oldLines.length ? this.yylloc.first_column : 0) + oldLines[oldLines.length - lines.length].length - lines[0].length : this.yylloc.first_column - len
322
+ };
323
+ if (this.options.ranges) {
324
+ this.yylloc.range = [r[0], r[0] + this.yyleng - len];
325
+ }
326
+ this.yyleng = this.yytext.length;
327
+ return this;
328
+ }, "unput"),
329
+ // When called from action, caches matched text and appends it on next action
330
+ more: /* @__PURE__ */ __name(function() {
331
+ this._more = true;
332
+ return this;
333
+ }, "more"),
334
+ // When called from action, signals the lexer that this rule fails to match the input, so the next matching rule (regex) should be tested instead.
335
+ reject: /* @__PURE__ */ __name(function() {
336
+ if (this.options.backtrack_lexer) {
337
+ this._backtrack = true;
338
+ } else {
339
+ return this.parseError("Lexical error on line " + (this.yylineno + 1) + ". You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).\n" + this.showPosition(), {
340
+ text: "",
341
+ token: null,
342
+ line: this.yylineno
343
+ });
344
+ }
345
+ return this;
346
+ }, "reject"),
347
+ // retain first n characters of the match
348
+ less: /* @__PURE__ */ __name(function(n) {
349
+ this.unput(this.match.slice(n));
350
+ }, "less"),
351
+ // displays already matched input, i.e. for error messages
352
+ pastInput: /* @__PURE__ */ __name(function() {
353
+ var past = this.matched.substr(0, this.matched.length - this.match.length);
354
+ return (past.length > 20 ? "..." : "") + past.substr(-20).replace(/\n/g, "");
355
+ }, "pastInput"),
356
+ // displays upcoming input, i.e. for error messages
357
+ upcomingInput: /* @__PURE__ */ __name(function() {
358
+ var next = this.match;
359
+ if (next.length < 20) {
360
+ next += this._input.substr(0, 20 - next.length);
361
+ }
362
+ return (next.substr(0, 20) + (next.length > 20 ? "..." : "")).replace(/\n/g, "");
363
+ }, "upcomingInput"),
364
+ // displays the character position where the lexing error occurred, i.e. for error messages
365
+ showPosition: /* @__PURE__ */ __name(function() {
366
+ var pre = this.pastInput();
367
+ var c = new Array(pre.length + 1).join("-");
368
+ return pre + this.upcomingInput() + "\n" + c + "^";
369
+ }, "showPosition"),
370
+ // test the lexed token: return FALSE when not a match, otherwise return token
371
+ test_match: /* @__PURE__ */ __name(function(match, indexed_rule) {
372
+ var token, lines, backup;
373
+ if (this.options.backtrack_lexer) {
374
+ backup = {
375
+ yylineno: this.yylineno,
376
+ yylloc: {
377
+ first_line: this.yylloc.first_line,
378
+ last_line: this.last_line,
379
+ first_column: this.yylloc.first_column,
380
+ last_column: this.yylloc.last_column
381
+ },
382
+ yytext: this.yytext,
383
+ match: this.match,
384
+ matches: this.matches,
385
+ matched: this.matched,
386
+ yyleng: this.yyleng,
387
+ offset: this.offset,
388
+ _more: this._more,
389
+ _input: this._input,
390
+ yy: this.yy,
391
+ conditionStack: this.conditionStack.slice(0),
392
+ done: this.done
393
+ };
394
+ if (this.options.ranges) {
395
+ backup.yylloc.range = this.yylloc.range.slice(0);
396
+ }
397
+ }
398
+ lines = match[0].match(/(?:\r\n?|\n).*/g);
399
+ if (lines) {
400
+ this.yylineno += lines.length;
401
+ }
402
+ this.yylloc = {
403
+ first_line: this.yylloc.last_line,
404
+ last_line: this.yylineno + 1,
405
+ first_column: this.yylloc.last_column,
406
+ last_column: lines ? lines[lines.length - 1].length - lines[lines.length - 1].match(/\r?\n?/)[0].length : this.yylloc.last_column + match[0].length
407
+ };
408
+ this.yytext += match[0];
409
+ this.match += match[0];
410
+ this.matches = match;
411
+ this.yyleng = this.yytext.length;
412
+ if (this.options.ranges) {
413
+ this.yylloc.range = [this.offset, this.offset += this.yyleng];
414
+ }
415
+ this._more = false;
416
+ this._backtrack = false;
417
+ this._input = this._input.slice(match[0].length);
418
+ this.matched += match[0];
419
+ token = this.performAction.call(this, this.yy, this, indexed_rule, this.conditionStack[this.conditionStack.length - 1]);
420
+ if (this.done && this._input) {
421
+ this.done = false;
422
+ }
423
+ if (token) {
424
+ return token;
425
+ } else if (this._backtrack) {
426
+ for (var k in backup) {
427
+ this[k] = backup[k];
428
+ }
429
+ return false;
430
+ }
431
+ return false;
432
+ }, "test_match"),
433
+ // return next match in input
434
+ next: /* @__PURE__ */ __name(function() {
435
+ if (this.done) {
436
+ return this.EOF;
437
+ }
438
+ if (!this._input) {
439
+ this.done = true;
440
+ }
441
+ var token, match, tempMatch, index;
442
+ if (!this._more) {
443
+ this.yytext = "";
444
+ this.match = "";
445
+ }
446
+ var rules = this._currentRules();
447
+ for (var i = 0; i < rules.length; i++) {
448
+ tempMatch = this._input.match(this.rules[rules[i]]);
449
+ if (tempMatch && (!match || tempMatch[0].length > match[0].length)) {
450
+ match = tempMatch;
451
+ index = i;
452
+ if (this.options.backtrack_lexer) {
453
+ token = this.test_match(tempMatch, rules[i]);
454
+ if (token !== false) {
455
+ return token;
456
+ } else if (this._backtrack) {
457
+ match = false;
458
+ continue;
459
+ } else {
460
+ return false;
461
+ }
462
+ } else if (!this.options.flex) {
463
+ break;
464
+ }
465
+ }
466
+ }
467
+ if (match) {
468
+ token = this.test_match(match, rules[index]);
469
+ if (token !== false) {
470
+ return token;
471
+ }
472
+ return false;
473
+ }
474
+ if (this._input === "") {
475
+ return this.EOF;
476
+ } else {
477
+ return this.parseError("Lexical error on line " + (this.yylineno + 1) + ". Unrecognized text.\n" + this.showPosition(), {
478
+ text: "",
479
+ token: null,
480
+ line: this.yylineno
481
+ });
482
+ }
483
+ }, "next"),
484
+ // return next match that has a token
485
+ lex: /* @__PURE__ */ __name(function lex() {
486
+ var r = this.next();
487
+ if (r) {
488
+ return r;
489
+ } else {
490
+ return this.lex();
491
+ }
492
+ }, "lex"),
493
+ // activates a new lexer condition state (pushes the new lexer condition state onto the condition stack)
494
+ begin: /* @__PURE__ */ __name(function begin(condition) {
495
+ this.conditionStack.push(condition);
496
+ }, "begin"),
497
+ // pop the previously active lexer condition state off the condition stack
498
+ popState: /* @__PURE__ */ __name(function popState() {
499
+ var n = this.conditionStack.length - 1;
500
+ if (n > 0) {
501
+ return this.conditionStack.pop();
502
+ } else {
503
+ return this.conditionStack[0];
504
+ }
505
+ }, "popState"),
506
+ // produce the lexer rule set which is active for the currently active lexer condition state
507
+ _currentRules: /* @__PURE__ */ __name(function _currentRules() {
508
+ if (this.conditionStack.length && this.conditionStack[this.conditionStack.length - 1]) {
509
+ return this.conditions[this.conditionStack[this.conditionStack.length - 1]].rules;
510
+ } else {
511
+ return this.conditions["INITIAL"].rules;
512
+ }
513
+ }, "_currentRules"),
514
+ // return the currently active lexer condition state; when an index argument is provided it produces the N-th previous condition state, if available
515
+ topState: /* @__PURE__ */ __name(function topState(n) {
516
+ n = this.conditionStack.length - 1 - Math.abs(n || 0);
517
+ if (n >= 0) {
518
+ return this.conditionStack[n];
519
+ } else {
520
+ return "INITIAL";
521
+ }
522
+ }, "topState"),
523
+ // alias for begin(condition)
524
+ pushState: /* @__PURE__ */ __name(function pushState(condition) {
525
+ this.begin(condition);
526
+ }, "pushState"),
527
+ // return the number of states currently on the stack
528
+ stateStackSize: /* @__PURE__ */ __name(function stateStackSize() {
529
+ return this.conditionStack.length;
530
+ }, "stateStackSize"),
531
+ options: { "case-insensitive": true },
532
+ performAction: /* @__PURE__ */ __name(function anonymous(yy, yy_, $avoiding_name_collisions, YY_START) {
533
+ switch ($avoiding_name_collisions) {
534
+ case 0:
535
+ yy.getLogger().trace("Found comment", yy_.yytext);
536
+ return 6;
537
+ case 1:
538
+ return 8;
539
+ case 2:
540
+ this.begin("CLASS");
541
+ break;
542
+ case 3:
543
+ this.popState();
544
+ return 16;
545
+ case 4:
546
+ this.popState();
547
+ break;
548
+ case 5:
549
+ yy.getLogger().trace("Begin icon");
550
+ this.begin("ICON");
551
+ break;
552
+ case 6:
553
+ yy.getLogger().trace("SPACELINE");
554
+ return 6;
555
+ case 7:
556
+ return 7;
557
+ case 8:
558
+ return 15;
559
+ case 9:
560
+ yy.getLogger().trace("end icon");
561
+ this.popState();
562
+ break;
563
+ case 10:
564
+ yy.getLogger().trace("Exploding node");
565
+ this.begin("NODE");
566
+ return 19;
567
+ case 11:
568
+ yy.getLogger().trace("Cloud");
569
+ this.begin("NODE");
570
+ return 19;
571
+ case 12:
572
+ yy.getLogger().trace("Explosion Bang");
573
+ this.begin("NODE");
574
+ return 19;
575
+ case 13:
576
+ yy.getLogger().trace("Cloud Bang");
577
+ this.begin("NODE");
578
+ return 19;
579
+ case 14:
580
+ this.begin("NODE");
581
+ return 19;
582
+ case 15:
583
+ this.begin("NODE");
584
+ return 19;
585
+ case 16:
586
+ this.begin("NODE");
587
+ return 19;
588
+ case 17:
589
+ this.begin("NODE");
590
+ return 19;
591
+ case 18:
592
+ return 13;
593
+ case 19:
594
+ return 22;
595
+ case 20:
596
+ return 11;
597
+ case 21:
598
+ this.begin("NSTR2");
599
+ break;
600
+ case 22:
601
+ return "NODE_DESCR";
602
+ case 23:
603
+ this.popState();
604
+ break;
605
+ case 24:
606
+ yy.getLogger().trace("Starting NSTR");
607
+ this.begin("NSTR");
608
+ break;
609
+ case 25:
610
+ yy.getLogger().trace("description:", yy_.yytext);
611
+ return "NODE_DESCR";
612
+ case 26:
613
+ this.popState();
614
+ break;
615
+ case 27:
616
+ this.popState();
617
+ yy.getLogger().trace("node end ))");
618
+ return "NODE_DEND";
619
+ case 28:
620
+ this.popState();
621
+ yy.getLogger().trace("node end )");
622
+ return "NODE_DEND";
623
+ case 29:
624
+ this.popState();
625
+ yy.getLogger().trace("node end ...", yy_.yytext);
626
+ return "NODE_DEND";
627
+ case 30:
628
+ this.popState();
629
+ yy.getLogger().trace("node end ((");
630
+ return "NODE_DEND";
631
+ case 31:
632
+ this.popState();
633
+ yy.getLogger().trace("node end (-");
634
+ return "NODE_DEND";
635
+ case 32:
636
+ this.popState();
637
+ yy.getLogger().trace("node end (-");
638
+ return "NODE_DEND";
639
+ case 33:
640
+ this.popState();
641
+ yy.getLogger().trace("node end ((");
642
+ return "NODE_DEND";
643
+ case 34:
644
+ this.popState();
645
+ yy.getLogger().trace("node end ((");
646
+ return "NODE_DEND";
647
+ case 35:
648
+ yy.getLogger().trace("Long description:", yy_.yytext);
649
+ return 20;
650
+ case 36:
651
+ yy.getLogger().trace("Long description:", yy_.yytext);
652
+ return 20;
653
+ }
654
+ }, "anonymous"),
655
+ rules: [/^(?:\s*%%.*)/i, /^(?:mindmap\b)/i, /^(?::::)/i, /^(?:.+)/i, /^(?:\n)/i, /^(?:::icon\()/i, /^(?:[\s]+[\n])/i, /^(?:[\n]+)/i, /^(?:[^\)]+)/i, /^(?:\))/i, /^(?:-\))/i, /^(?:\(-)/i, /^(?:\)\))/i, /^(?:\))/i, /^(?:\(\()/i, /^(?:\{\{)/i, /^(?:\()/i, /^(?:\[)/i, /^(?:[\s]+)/i, /^(?:[^\(\[\n\)\{\}]+)/i, /^(?:$)/i, /^(?:["][`])/i, /^(?:[^`"]+)/i, /^(?:[`]["])/i, /^(?:["])/i, /^(?:[^"]+)/i, /^(?:["])/i, /^(?:[\)]\))/i, /^(?:[\)])/i, /^(?:[\]])/i, /^(?:\}\})/i, /^(?:\(-)/i, /^(?:-\))/i, /^(?:\(\()/i, /^(?:\()/i, /^(?:[^\)\]\(\}]+)/i, /^(?:.+(?!\(\())/i],
656
+ conditions: { "CLASS": { "rules": [3, 4], "inclusive": false }, "ICON": { "rules": [8, 9], "inclusive": false }, "NSTR2": { "rules": [22, 23], "inclusive": false }, "NSTR": { "rules": [25, 26], "inclusive": false }, "NODE": { "rules": [21, 24, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36], "inclusive": false }, "INITIAL": { "rules": [0, 1, 2, 5, 6, 7, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20], "inclusive": true } }
657
+ };
658
+ return lexer2;
659
+ }();
660
+ parser2.lexer = lexer;
661
+ function Parser() {
662
+ this.yy = {};
663
+ }
664
+ __name(Parser, "Parser");
665
+ Parser.prototype = parser2;
666
+ parser2.Parser = Parser;
667
+ return new Parser();
668
+ }();
669
+ parser.parser = parser;
670
+ var mindmap_default = parser;
671
+ var nodeType = {
672
+ DEFAULT: 0,
673
+ NO_BORDER: 0,
674
+ ROUNDED_RECT: 1,
675
+ RECT: 2,
676
+ CIRCLE: 3,
677
+ CLOUD: 4,
678
+ BANG: 5,
679
+ HEXAGON: 6
680
+ };
681
+ var MindmapDB = (_a = class {
682
+ constructor() {
683
+ this.nodes = [];
684
+ this.count = 0;
685
+ this.elements = {};
686
+ this.getLogger = this.getLogger.bind(this);
687
+ this.nodeType = nodeType;
688
+ this.clear();
689
+ this.getType = this.getType.bind(this);
690
+ this.getElementById = this.getElementById.bind(this);
691
+ this.getParent = this.getParent.bind(this);
692
+ this.getMindmap = this.getMindmap.bind(this);
693
+ this.addNode = this.addNode.bind(this);
694
+ this.decorateNode = this.decorateNode.bind(this);
695
+ }
696
+ clear() {
697
+ this.nodes = [];
698
+ this.count = 0;
699
+ this.elements = {};
700
+ this.baseLevel = void 0;
701
+ }
702
+ getParent(level) {
703
+ for (let i = this.nodes.length - 1; i >= 0; i--) {
704
+ if (this.nodes[i].level < level) {
705
+ return this.nodes[i];
706
+ }
707
+ }
708
+ return null;
709
+ }
710
+ getMindmap() {
711
+ return this.nodes.length > 0 ? this.nodes[0] : null;
712
+ }
713
+ addNode(level, id, descr, type) {
714
+ var _a2, _b;
715
+ log.info("addNode", level, id, descr, type);
716
+ let isRoot = false;
717
+ if (this.nodes.length === 0) {
718
+ this.baseLevel = level;
719
+ level = 0;
720
+ isRoot = true;
721
+ } else if (this.baseLevel !== void 0) {
722
+ level = level - this.baseLevel;
723
+ isRoot = false;
724
+ }
725
+ const conf = getConfig2();
726
+ let padding = ((_a2 = conf.mindmap) == null ? void 0 : _a2.padding) ?? defaultConfig_default.mindmap.padding;
727
+ switch (type) {
728
+ case this.nodeType.ROUNDED_RECT:
729
+ case this.nodeType.RECT:
730
+ case this.nodeType.HEXAGON:
731
+ padding *= 2;
732
+ break;
733
+ }
734
+ const node = {
735
+ id: this.count++,
736
+ nodeId: sanitizeText(id, conf),
737
+ level,
738
+ descr: sanitizeText(descr, conf),
739
+ type,
740
+ children: [],
741
+ width: ((_b = conf.mindmap) == null ? void 0 : _b.maxNodeWidth) ?? defaultConfig_default.mindmap.maxNodeWidth,
742
+ padding,
743
+ isRoot
744
+ };
745
+ const parent = this.getParent(level);
746
+ if (parent) {
747
+ parent.children.push(node);
748
+ this.nodes.push(node);
749
+ } else {
750
+ if (isRoot) {
751
+ this.nodes.push(node);
752
+ } else {
753
+ throw new Error(
754
+ `There can be only one root. No parent could be found for ("${node.descr}")`
755
+ );
756
+ }
757
+ }
758
+ }
759
+ getType(startStr, endStr) {
760
+ log.debug("In get type", startStr, endStr);
761
+ switch (startStr) {
762
+ case "[":
763
+ return this.nodeType.RECT;
764
+ case "(":
765
+ return endStr === ")" ? this.nodeType.ROUNDED_RECT : this.nodeType.CLOUD;
766
+ case "((":
767
+ return this.nodeType.CIRCLE;
768
+ case ")":
769
+ return this.nodeType.CLOUD;
770
+ case "))":
771
+ return this.nodeType.BANG;
772
+ case "{{":
773
+ return this.nodeType.HEXAGON;
774
+ default:
775
+ return this.nodeType.DEFAULT;
776
+ }
777
+ }
778
+ setElementForId(id, element) {
779
+ this.elements[id] = element;
780
+ }
781
+ getElementById(id) {
782
+ return this.elements[id];
783
+ }
784
+ decorateNode(decoration) {
785
+ if (!decoration) {
786
+ return;
787
+ }
788
+ const config = getConfig2();
789
+ const node = this.nodes[this.nodes.length - 1];
790
+ if (decoration.icon) {
791
+ node.icon = sanitizeText(decoration.icon, config);
792
+ }
793
+ if (decoration.class) {
794
+ node.class = sanitizeText(decoration.class, config);
795
+ }
796
+ }
797
+ type2Str(type) {
798
+ switch (type) {
799
+ case this.nodeType.DEFAULT:
800
+ return "no-border";
801
+ case this.nodeType.RECT:
802
+ return "rect";
803
+ case this.nodeType.ROUNDED_RECT:
804
+ return "rounded-rect";
805
+ case this.nodeType.CIRCLE:
806
+ return "circle";
807
+ case this.nodeType.CLOUD:
808
+ return "cloud";
809
+ case this.nodeType.BANG:
810
+ return "bang";
811
+ case this.nodeType.HEXAGON:
812
+ return "hexgon";
813
+ default:
814
+ return "no-border";
815
+ }
816
+ }
817
+ /**
818
+ * Assign section numbers to nodes based on their position relative to root
819
+ * @param node - The mindmap node to process
820
+ * @param sectionNumber - The section number to assign (undefined for root)
821
+ */
822
+ assignSections(node, sectionNumber) {
823
+ if (node.level === 0) {
824
+ node.section = void 0;
825
+ } else {
826
+ node.section = sectionNumber;
827
+ }
828
+ if (node.children) {
829
+ for (const [index, child] of node.children.entries()) {
830
+ const childSectionNumber = node.level === 0 ? index : sectionNumber;
831
+ this.assignSections(child, childSectionNumber);
832
+ }
833
+ }
834
+ }
835
+ /**
836
+ * Convert mindmap tree structure to flat array of nodes
837
+ * @param node - The mindmap node to process
838
+ * @param processedNodes - Array to collect processed nodes
839
+ */
840
+ flattenNodes(node, processedNodes) {
841
+ const cssClasses = ["mindmap-node"];
842
+ if (node.isRoot === true) {
843
+ cssClasses.push("section-root", "section--1");
844
+ } else if (node.section !== void 0) {
845
+ cssClasses.push(`section-${node.section}`);
846
+ }
847
+ if (node.class) {
848
+ cssClasses.push(node.class);
849
+ }
850
+ const classes = cssClasses.join(" ");
851
+ const getShapeFromType = /* @__PURE__ */ __name((type) => {
852
+ switch (type) {
853
+ case nodeType.CIRCLE:
854
+ return "mindmapCircle";
855
+ case nodeType.RECT:
856
+ return "rect";
857
+ case nodeType.ROUNDED_RECT:
858
+ return "rounded";
859
+ case nodeType.CLOUD:
860
+ return "cloud";
861
+ case nodeType.BANG:
862
+ return "bang";
863
+ case nodeType.HEXAGON:
864
+ return "hexagon";
865
+ case nodeType.DEFAULT:
866
+ return "defaultMindmapNode";
867
+ case nodeType.NO_BORDER:
868
+ default:
869
+ return "rect";
870
+ }
871
+ }, "getShapeFromType");
872
+ const processedNode = {
873
+ id: node.id.toString(),
874
+ domId: "node_" + node.id.toString(),
875
+ label: node.descr,
876
+ isGroup: false,
877
+ shape: getShapeFromType(node.type),
878
+ width: node.width,
879
+ height: node.height ?? 0,
880
+ padding: node.padding,
881
+ cssClasses: classes,
882
+ cssStyles: [],
883
+ look: "default",
884
+ icon: node.icon,
885
+ x: node.x,
886
+ y: node.y,
887
+ // Mindmap-specific properties
888
+ level: node.level,
889
+ nodeId: node.nodeId,
890
+ type: node.type,
891
+ section: node.section
892
+ };
893
+ processedNodes.push(processedNode);
894
+ if (node.children) {
895
+ for (const child of node.children) {
896
+ this.flattenNodes(child, processedNodes);
897
+ }
898
+ }
899
+ }
900
+ /**
901
+ * Generate edges from parent-child relationships in mindmap tree
902
+ * @param node - The mindmap node to process
903
+ * @param edges - Array to collect edges
904
+ */
905
+ generateEdges(node, edges) {
906
+ if (!node.children) {
907
+ return;
908
+ }
909
+ for (const child of node.children) {
910
+ let edgeClasses = "edge";
911
+ if (child.section !== void 0) {
912
+ edgeClasses += ` section-edge-${child.section}`;
913
+ }
914
+ const edgeDepth = node.level + 1;
915
+ edgeClasses += ` edge-depth-${edgeDepth}`;
916
+ const edge = {
917
+ id: `edge_${node.id}_${child.id}`,
918
+ start: node.id.toString(),
919
+ end: child.id.toString(),
920
+ type: "normal",
921
+ curve: "basis",
922
+ thickness: "normal",
923
+ look: "default",
924
+ classes: edgeClasses,
925
+ // Store mindmap-specific data
926
+ depth: node.level,
927
+ section: child.section
928
+ };
929
+ edges.push(edge);
930
+ this.generateEdges(child, edges);
931
+ }
932
+ }
933
+ /**
934
+ * Get structured data for layout algorithms
935
+ * Following the pattern established by ER diagrams
936
+ * @returns Structured data containing nodes, edges, and config
937
+ */
938
+ getData() {
939
+ const mindmapRoot = this.getMindmap();
940
+ const config = getConfig2();
941
+ const userDefinedConfig = getUserDefinedConfig();
942
+ const hasUserDefinedLayout = userDefinedConfig.layout !== void 0;
943
+ const finalConfig = config;
944
+ if (!hasUserDefinedLayout) {
945
+ finalConfig.layout = "cose-bilkent";
946
+ }
947
+ if (!mindmapRoot) {
948
+ return {
949
+ nodes: [],
950
+ edges: [],
951
+ config: finalConfig
952
+ };
953
+ }
954
+ log.debug("getData: mindmapRoot", mindmapRoot, config);
955
+ this.assignSections(mindmapRoot);
956
+ const processedNodes = [];
957
+ const processedEdges = [];
958
+ this.flattenNodes(mindmapRoot, processedNodes);
959
+ this.generateEdges(mindmapRoot, processedEdges);
960
+ log.debug(
961
+ `getData: processed ${processedNodes.length} nodes and ${processedEdges.length} edges`
962
+ );
963
+ const shapes = /* @__PURE__ */ new Map();
964
+ for (const node of processedNodes) {
965
+ shapes.set(node.id, {
966
+ shape: node.shape,
967
+ width: node.width,
968
+ height: node.height,
969
+ padding: node.padding
970
+ });
971
+ }
972
+ return {
973
+ nodes: processedNodes,
974
+ edges: processedEdges,
975
+ config: finalConfig,
976
+ // Store the root node for mindmap-specific layout algorithms
977
+ rootNode: mindmapRoot,
978
+ // Properties required by dagre layout algorithm
979
+ markers: ["point"],
980
+ // Mindmaps don't use markers
981
+ direction: "TB",
982
+ // Top-to-bottom direction for mindmaps
983
+ nodeSpacing: 50,
984
+ // Default spacing between nodes
985
+ rankSpacing: 50,
986
+ // Default spacing between ranks
987
+ // Add shapes for ELK compatibility
988
+ shapes: Object.fromEntries(shapes),
989
+ // Additional properties that layout algorithms might expect
990
+ type: "mindmap",
991
+ diagramId: "mindmap-" + v4()
992
+ };
993
+ }
994
+ // Expose logger to grammar
995
+ getLogger() {
996
+ return log;
997
+ }
998
+ }, __name(_a, "MindmapDB"), _a);
999
+ var draw = /* @__PURE__ */ __name(async (text, id, _version, diagObj) => {
1000
+ var _a2, _b;
1001
+ log.debug("Rendering mindmap diagram\n" + text);
1002
+ const db = diagObj.db;
1003
+ const data4Layout = db.getData();
1004
+ const svg = getDiagramElement(id, data4Layout.config.securityLevel);
1005
+ data4Layout.type = diagObj.type;
1006
+ data4Layout.layoutAlgorithm = getRegisteredLayoutAlgorithm(data4Layout.config.layout, {
1007
+ fallback: "cose-bilkent"
1008
+ });
1009
+ data4Layout.diagramId = id;
1010
+ const mm = db.getMindmap();
1011
+ if (!mm) {
1012
+ return;
1013
+ }
1014
+ data4Layout.nodes.forEach((node) => {
1015
+ if (node.shape === "rounded") {
1016
+ node.radius = 15;
1017
+ node.taper = 15;
1018
+ node.stroke = "none";
1019
+ node.width = 0;
1020
+ node.padding = 15;
1021
+ } else if (node.shape === "circle") {
1022
+ node.padding = 10;
1023
+ } else if (node.shape === "rect") {
1024
+ node.width = 0;
1025
+ node.padding = 10;
1026
+ }
1027
+ });
1028
+ await render(data4Layout, svg);
1029
+ setupViewPortForSVG(
1030
+ svg,
1031
+ ((_a2 = data4Layout.config.mindmap) == null ? void 0 : _a2.padding) ?? defaultConfig_default.mindmap.padding,
1032
+ "mindmapDiagram",
1033
+ ((_b = data4Layout.config.mindmap) == null ? void 0 : _b.useMaxWidth) ?? defaultConfig_default.mindmap.useMaxWidth
1034
+ );
1035
+ }, "draw");
1036
+ var mindmapRenderer_default = {
1037
+ draw
1038
+ };
1039
+ var genSections = /* @__PURE__ */ __name((options) => {
1040
+ let sections = "";
1041
+ for (let i = 0; i < options.THEME_COLOR_LIMIT; i++) {
1042
+ options["lineColor" + i] = options["lineColor" + i] || options["cScaleInv" + i];
1043
+ if (isDark(options["lineColor" + i])) {
1044
+ options["lineColor" + i] = lighten(options["lineColor" + i], 20);
1045
+ } else {
1046
+ options["lineColor" + i] = darken(options["lineColor" + i], 20);
1047
+ }
1048
+ }
1049
+ for (let i = 0; i < options.THEME_COLOR_LIMIT; i++) {
1050
+ const sw = "" + (17 - 3 * i);
1051
+ sections += `
1052
+ .section-${i - 1} rect, .section-${i - 1} path, .section-${i - 1} circle, .section-${i - 1} polygon, .section-${i - 1} path {
1053
+ fill: ${options["cScale" + i]};
1054
+ }
1055
+ .section-${i - 1} text {
1056
+ fill: ${options["cScaleLabel" + i]};
1057
+ }
1058
+ .node-icon-${i - 1} {
1059
+ font-size: 40px;
1060
+ color: ${options["cScaleLabel" + i]};
1061
+ }
1062
+ .section-edge-${i - 1}{
1063
+ stroke: ${options["cScale" + i]};
1064
+ }
1065
+ .edge-depth-${i - 1}{
1066
+ stroke-width: ${sw};
1067
+ }
1068
+ .section-${i - 1} line {
1069
+ stroke: ${options["cScaleInv" + i]} ;
1070
+ stroke-width: 3;
1071
+ }
1072
+
1073
+ .disabled, .disabled circle, .disabled text {
1074
+ fill: lightgray;
1075
+ }
1076
+ .disabled text {
1077
+ fill: #efefef;
1078
+ }
1079
+ `;
1080
+ }
1081
+ return sections;
1082
+ }, "genSections");
1083
+ var getStyles = /* @__PURE__ */ __name((options) => `
1084
+ .edge {
1085
+ stroke-width: 3;
1086
+ }
1087
+ ${genSections(options)}
1088
+ .section-root rect, .section-root path, .section-root circle, .section-root polygon {
1089
+ fill: ${options.git0};
1090
+ }
1091
+ .section-root text {
1092
+ fill: ${options.gitBranchLabel0};
1093
+ }
1094
+ .section-root span {
1095
+ color: ${options.gitBranchLabel0};
1096
+ }
1097
+ .section-2 span {
1098
+ color: ${options.gitBranchLabel0};
1099
+ }
1100
+ .icon-container {
1101
+ height:100%;
1102
+ display: flex;
1103
+ justify-content: center;
1104
+ align-items: center;
1105
+ }
1106
+ .edge {
1107
+ fill: none;
1108
+ }
1109
+ .mindmap-node-label {
1110
+ dy: 1em;
1111
+ alignment-baseline: middle;
1112
+ text-anchor: middle;
1113
+ dominant-baseline: middle;
1114
+ text-align: center;
1115
+ }
1116
+ `, "getStyles");
1117
+ var styles_default = getStyles;
1118
+ var diagram = {
1119
+ get db() {
1120
+ return new MindmapDB();
1121
+ },
1122
+ renderer: mindmapRenderer_default,
1123
+ parser: mindmap_default,
1124
+ styles: styles_default
1125
+ };
1126
+ export {
1127
+ diagram
1128
+ };
1129
+ //# sourceMappingURL=mindmap-definition-VGOIOE7T-C8FL7caj.js.map