@spteck/react-controls-v2 2.3.5 → 2.3.8

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 (644) hide show
  1. package/dist/LocalizationProvider-B6NxHbu2.cjs +2 -0
  2. package/dist/LocalizationProvider-te5iu_6z.js +363 -0
  3. package/dist/_arrayEach-BuSFKyFt.js +54 -0
  4. package/dist/_arrayEach-ChR-TejB.cjs +2 -0
  5. package/dist/_getTag-BRuLtYrv.js +28 -0
  6. package/dist/_getTag-D6VVyrEu.cjs +2 -0
  7. package/dist/abstractions/IApplicationContext.d.ts +0 -1
  8. package/dist/abstractions/IAuthenticationProvider.d.ts +0 -1
  9. package/dist/abstractions/ILocalizationProvider.d.ts +0 -1
  10. package/dist/abstractions/providers/ConsoleLoggingProvider.d.ts +0 -1
  11. package/dist/abstractions/providers/DefaultGraphClient.d.ts +0 -1
  12. package/dist/abstractions/providers/DefaultLocalizationProvider.d.ts +0 -1
  13. package/dist/abstractions/providers/LocalStorageProvider.d.ts +0 -1
  14. package/dist/abstractions/providers/LocalizationProvider.d.ts +0 -1
  15. package/dist/ar-Blifx2MN.js +210 -0
  16. package/dist/ar-ip3bGOX3.cjs +2 -0
  17. package/dist/arc-4yb49ncY.js +82 -0
  18. package/dist/arc-djsA8IT0.cjs +2 -0
  19. package/dist/architecture-PBZL5I3N-CvTfVLFi.js +3 -0
  20. package/dist/architecture-PBZL5I3N-wZIE3ggH.cjs +1 -0
  21. package/dist/architectureDiagram-2XIMDMQ5-DFEvJNx1.cjs +37 -0
  22. package/dist/architectureDiagram-2XIMDMQ5-g-HotzpG.js +4047 -0
  23. package/dist/array-BNB_vRFv.cjs +2 -0
  24. package/dist/array-DP0duYiO.js +8 -0
  25. package/dist/az-CMhDjtnj.js +210 -0
  26. package/dist/az-CyVLdUDz.cjs +2 -0
  27. package/dist/bg-Bexoz3hL.cjs +2 -0
  28. package/dist/bg-C96WirSv.js +210 -0
  29. package/dist/blockDiagram-WCTKOSBZ-DWgb5Ghz.js +3165 -0
  30. package/dist/blockDiagram-WCTKOSBZ-Dl04FBAy.cjs +133 -0
  31. package/dist/bs-MMcvhwLv.cjs +2 -0
  32. package/dist/bs-_St1wBE_.js +210 -0
  33. package/dist/c4Diagram-IC4MRINW-ClZvialQ.js +2966 -0
  34. package/dist/c4Diagram-IC4MRINW-ZFE2cGZP.cjs +11 -0
  35. package/dist/ca-BspMSeHN.cjs +2 -0
  36. package/dist/ca-QlLcV4wf.js +210 -0
  37. package/dist/channel-2Bqnb1FY.js +7 -0
  38. package/dist/channel-5_aP1EVB.cjs +2 -0
  39. package/dist/chunk-4BX2VUAB-B5Va_oZz.js +10 -0
  40. package/dist/chunk-4BX2VUAB-BWDW-gYk.cjs +2 -0
  41. package/dist/chunk-55IACEB6-4ind_ByS.cjs +2 -0
  42. package/dist/chunk-55IACEB6-Pcyz_aR_.js +10 -0
  43. package/dist/chunk-7E7YKBS2-Sw9_w4gt.cjs +2 -0
  44. package/dist/chunk-7E7YKBS2-VHdgsed6.js +25 -0
  45. package/dist/chunk-7R4GIKGN-BKoqTTU_.cjs +81 -0
  46. package/dist/chunk-7R4GIKGN-CaQJ0QBF.js +2598 -0
  47. package/dist/chunk-C72U2L5F-CCvi6jiy.cjs +2 -0
  48. package/dist/chunk-C72U2L5F-MjJQTOMh.js +25 -0
  49. package/dist/chunk-D-IZpNpi.cjs +1 -0
  50. package/dist/chunk-EGIJ26TM-Bffl84Wq.cjs +2 -0
  51. package/dist/chunk-EGIJ26TM-DLMAfvpZ.js +25 -0
  52. package/dist/{chunk-FMBD7UC4-B7ANnE_H.js → chunk-FMBD7UC4-BvqqU04Z.cjs} +3 -7
  53. package/dist/chunk-FMBD7UC4-xjRtkFXe.js +7 -0
  54. package/dist/chunk-GEFDOKGD-BNgT40Ex.js +1302 -0
  55. package/dist/chunk-GEFDOKGD-BOwd6Jqp.cjs +3 -0
  56. package/dist/chunk-GLR3WWYH-DdNAJNRC.cjs +2 -0
  57. package/dist/chunk-GLR3WWYH-kyo6BUtq.js +43 -0
  58. package/dist/chunk-HHEYEP7N-DO1AYIZw.js +11 -0
  59. package/dist/chunk-HHEYEP7N-pdmgQZzP.cjs +2 -0
  60. package/dist/chunk-JSJVCQXG-Ci0seBb4.cjs +2 -0
  61. package/dist/chunk-JSJVCQXG-DowfYWcD.js +62 -0
  62. package/dist/chunk-KX2RTZJC-BJeOHReu.cjs +2 -0
  63. package/dist/chunk-KX2RTZJC-D-bUTSNy.js +27 -0
  64. package/dist/chunk-KYZI473N-DEPuSXaW.js +3436 -0
  65. package/dist/chunk-KYZI473N-DzBMFOER.cjs +54 -0
  66. package/dist/chunk-L3YUKLVL-BDGCTzmy.js +25 -0
  67. package/dist/chunk-L3YUKLVL-BZ17sqh5.cjs +2 -0
  68. package/dist/chunk-MX3YWQON-CAsnAj2e.js +82 -0
  69. package/dist/chunk-MX3YWQON-DulrBJdn.cjs +2 -0
  70. package/dist/chunk-NBPlniwU.js +23 -0
  71. package/dist/chunk-NQ4KR5QH-BJBAT2kM.cjs +221 -0
  72. package/dist/chunk-NQ4KR5QH-DFem-ORD.js +2004 -0
  73. package/dist/chunk-O4XLMI2P-BQF7MAo7.cjs +8 -0
  74. package/dist/chunk-O4XLMI2P-DA4TPzPG.js +513 -0
  75. package/dist/chunk-OZEHJAEY-CAiiXJUP.cjs +2 -0
  76. package/dist/chunk-OZEHJAEY-D7SX2SbR.js +66 -0
  77. package/dist/chunk-PQ6SQG4A-BZnW4-Sd.cjs +2 -0
  78. package/dist/chunk-PQ6SQG4A-ObFGkauo.js +69 -0
  79. package/dist/chunk-PU5JKC2W-BM5NPS-q.js +1887 -0
  80. package/dist/chunk-PU5JKC2W-eRU8wnTH.cjs +71 -0
  81. package/dist/chunk-QZHKN3VN-Dhli_tM0.cjs +2 -0
  82. package/dist/chunk-QZHKN3VN-x258g6EH.js +17 -0
  83. package/dist/chunk-R5LLSJPH-CNTEucEd.cjs +2 -0
  84. package/dist/chunk-R5LLSJPH-Gt27ml2m.js +37 -0
  85. package/dist/chunk-WL4C6EOR-CQXw6d0l.cjs +190 -0
  86. package/dist/chunk-WL4C6EOR-DuM6QmqM.js +3196 -0
  87. package/dist/chunk-XIRO2GV7-CswC9CO8.cjs +2 -0
  88. package/dist/chunk-XIRO2GV7-DXlO8X82.js +32 -0
  89. package/dist/chunk-XPW4576I-Bpsr4SZJ.js +1148 -0
  90. package/dist/chunk-XPW4576I-C68T-WIW.cjs +33 -0
  91. package/dist/chunk-XZSTWKYB-DJv9rEVU.cjs +95 -0
  92. package/dist/chunk-XZSTWKYB-jD9M1izK.js +16132 -0
  93. package/dist/chunk-YBOYWFTD-B6CeuteH.js +34 -0
  94. package/dist/chunk-YBOYWFTD-CiLW6HW_.cjs +2 -0
  95. package/dist/classDiagram-VBA2DB6C-Us0kuDfz.cjs +2 -0
  96. package/dist/classDiagram-VBA2DB6C-VOsE3gN0.js +31 -0
  97. package/dist/classDiagram-v2-RAHNMMFH-BWsm3ea6.cjs +2 -0
  98. package/dist/classDiagram-v2-RAHNMMFH-DPqMNfOz.js +31 -0
  99. package/dist/components/AISearchControl/useAISearchControlStyles.d.ts +0 -1
  100. package/dist/components/AspectRatio/AspectRatio.d.ts +0 -1
  101. package/dist/components/AspectRatio/IAspectRationProps.d.ts +0 -1
  102. package/dist/components/Card/ICardProps.d.ts +0 -1
  103. package/dist/components/Carousel/ICarouselProps.d.ts +0 -1
  104. package/dist/components/Carousel/useCarouselButton.d.ts +0 -1
  105. package/dist/components/Carousel/useCarouselStyles.d.ts +0 -1
  106. package/dist/components/Center/ICenterProps.d.ts +0 -1
  107. package/dist/components/ContentRenderer/IContentRendererProps.d.ts +0 -1
  108. package/dist/components/DataGridV2/DataGridV2.d.ts +2 -1
  109. package/dist/components/DataGridV2/IDataGridV2ExtraProps.d.ts +0 -1
  110. package/dist/components/Grid/IGridProps.d.ts +0 -1
  111. package/dist/components/ItemPicker/IItemPickerProps.d.ts +0 -1
  112. package/dist/components/KPIControl/IKpiCardProps.d.ts +0 -1
  113. package/dist/components/ListItemActivityMessage/IActivity.d.ts +0 -1
  114. package/dist/components/ListItemActivityMessage/IActivityMessageProps.d.ts +0 -1
  115. package/dist/components/ListItemActivityMessage/IActor.d.ts +0 -1
  116. package/dist/components/ListItemActivityMessage/useSharePointActivities.d.ts +0 -1
  117. package/dist/components/ListToolbar/FlatItem.d.ts +0 -1
  118. package/dist/components/ListToolbar/IListToolbarProps.d.ts +0 -1
  119. package/dist/components/ListToolbar/IToolbarItem.d.ts +0 -1
  120. package/dist/components/ListToolbar/IToolbarItemRendererProps.d.ts +0 -1
  121. package/dist/components/ListToolbar/helpers.d.ts +0 -1
  122. package/dist/components/MermaidDiagram/useMermaidDiagramStyles.d.ts +0 -1
  123. package/dist/components/Navigation/Navigation.d.ts +0 -1
  124. package/dist/components/Popup/Popup.d.ts +0 -1
  125. package/dist/components/Provider/UniversalProvider.d.ts +0 -1
  126. package/dist/components/Space/ISpaceProps.d.ts +0 -1
  127. package/dist/components/SplitPane/ISplitPaneProps.d.ts +0 -1
  128. package/dist/components/SplitPane/useSplitPaneStyles.d.ts +0 -1
  129. package/dist/components/Stack/IStackProps.d.ts +0 -1
  130. package/dist/components/StackedUsers/IStackedUsersProps.d.ts +0 -1
  131. package/dist/components/StackedUsers/StackedUsers.d.ts +0 -1
  132. package/dist/components/adaptiveCardHost/AdaptiveCardHost.HostConfig.d.ts +0 -1
  133. package/dist/components/adaptiveCardHost/AdaptiveCardHost.Utilities.d.ts +0 -1
  134. package/dist/components/adaptiveCardHost/AdaptiveCardHost.d.ts +0 -1
  135. package/dist/components/adaptiveCardHost/IAdaptiveCardHostProps.d.ts +0 -1
  136. package/dist/components/adaptiveCardHost/fluentUI/Elements.d.ts +0 -1
  137. package/dist/components/adaptiveCardHost/fluentUI/FluentUIChoiceSetInput.d.ts +0 -1
  138. package/dist/components/adaptiveCardHost/fluentUI/FluentUIDateInput.d.ts +0 -1
  139. package/dist/components/adaptiveCardHost/fluentUI/FluentUINumberInput.d.ts +0 -1
  140. package/dist/components/adaptiveCardHost/fluentUI/FluentUITextInput.d.ts +0 -1
  141. package/dist/components/adaptiveCardHost/fluentUI/FluentUIToggleInput.d.ts +0 -1
  142. package/dist/components/adaptiveCardHost/fluentUI/HostCapability.d.ts +0 -1
  143. package/dist/components/adaptiveCardHost/fluentUI/HostConfig.d.ts +0 -1
  144. package/dist/components/adaptiveCardHost/fluentUI/Styles.d.ts +0 -1
  145. package/dist/components/adaptiveCardHost/models/IAdaptiveCardHostConfigResult.d.ts +0 -1
  146. package/dist/components/adaptiveCardHost/models/IAdaptiveCardHostEvaluationContext.d.ts +0 -1
  147. package/dist/components/aiAssistant/ChatAction.d.ts +0 -1
  148. package/dist/components/aiAssistant/ChatInputProps.d.ts +0 -1
  149. package/dist/components/aiAssistant/ChatInputWithMensions.d.ts +0 -1
  150. package/dist/components/aiAssistant/ChatInputWithMensionsProps.d.ts +0 -1
  151. package/dist/components/aiAssistant/ChatInputWithMensionsV1.d.ts +0 -1
  152. package/dist/components/aiAssistant/ChatInputWithMensionsV2.d.ts +0 -1
  153. package/dist/components/aiAssistant/ChatState.d.ts +0 -1
  154. package/dist/components/aiAssistant/IAIAssistantProps.d.ts +0 -1
  155. package/dist/components/aiAssistant/chatReducer.d.ts +0 -1
  156. package/dist/components/aiAssistant/useChatInputStyles.d.ts +0 -1
  157. package/dist/components/aiAssistant/useChatInputWithMensionsStyles.d.ts +0 -1
  158. package/dist/components/aiAssistant/useStyles.d.ts +0 -1
  159. package/dist/components/appDashboard/AppDashboard.d.ts +0 -1
  160. package/dist/components/appDashboard/IAppDashboardProps.d.ts +0 -1
  161. package/dist/components/baseComponentProps/IBaseProps.d.ts +0 -1
  162. package/dist/components/breadcrumb/Breadcrumb.d.ts +0 -1
  163. package/dist/components/breadcrumb/IBreadcrumProps.d.ts +0 -1
  164. package/dist/components/breadcrumb/OverflowMenu.d.ts +0 -1
  165. package/dist/components/breadcrumb/useBreadcrumStyles.d.ts +0 -1
  166. package/dist/components/calendarControl/hooks/useCalendar.d.ts +0 -1
  167. package/dist/components/calendarControl/hooks/useUtils.d.ts +0 -1
  168. package/dist/components/calendarControl/models/ICalendarControlProps.d.ts +0 -1
  169. package/dist/components/calendarControl/models/IEvents.d.ts +0 -1
  170. package/dist/components/customControlBar/ICustomControlBarProps.d.ts +0 -1
  171. package/dist/components/dataGrid/DataGrid.d.ts +0 -1
  172. package/dist/components/dataGrid/IDataGridProps.d.ts +0 -1
  173. package/dist/components/dataGrid/ISortState.d.ts +0 -1
  174. package/dist/components/dataGrid/stack/IStackProps.d.ts +0 -1
  175. package/dist/components/dataGrid/stack/Stack.d.ts +0 -1
  176. package/dist/components/dataGrid/useDataGridStyles.d.ts +0 -1
  177. package/dist/components/dropDownField/IDropDownFieldProps.d.ts +0 -1
  178. package/dist/components/fluentUIProvider/FluentUIProvider.d.ts +0 -1
  179. package/dist/components/iconButton/IconButton.d.ts +0 -1
  180. package/dist/components/iconButton/IconButtonProps.d.ts +0 -1
  181. package/dist/components/mensions/IMensionsProps.d.ts +0 -1
  182. package/dist/components/mensions/Mensions.d.ts +0 -1
  183. package/dist/components/mensions/MensionsExample.d.ts +0 -1
  184. package/dist/components/renderAdaptiveCard/RenderAdaptiveCard.d.ts +0 -1
  185. package/dist/components/searchControl/useSearchControlStyles.d.ts +0 -1
  186. package/dist/components/selectView/SelectView.d.ts +0 -1
  187. package/dist/components/showError/ShowError.d.ts +0 -1
  188. package/dist/components/stackv2/IStackV2Props.d.ts +0 -1
  189. package/dist/components/stackv2/StackV2.d.ts +0 -1
  190. package/dist/components/userCard/IUserCardProps.d.ts +0 -1
  191. package/dist/components/userCard/IUserInfo.d.ts +0 -1
  192. package/dist/components/userCard/UserCard.d.ts +0 -1
  193. package/dist/components/userCard/constants.d.ts +0 -1
  194. package/dist/components/userCard/useUserProfile.d.ts +0 -1
  195. package/dist/components/videoPlayer/VideoPlayer.d.ts +0 -1
  196. package/dist/components/videoPlayer/useVideoStyles.d.ts +0 -1
  197. package/dist/components/worldMap/IWorldMapProps.d.ts +0 -1
  198. package/dist/components/worldMap/MaplibreWorldMapProps.d.ts +0 -1
  199. package/dist/components/worldMap/WorldMap.d.ts +0 -1
  200. package/dist/components/worldMap/WorldMapControl.d.ts +0 -1
  201. package/dist/components/worldMap/useCleanMapStyle.d.ts +0 -1
  202. package/dist/components/worldMap/useGeocodedCountries.d.ts +0 -1
  203. package/dist/cose-bilkent-S5V4N54A-CKhwzobJ.js +2252 -0
  204. package/dist/cose-bilkent-S5V4N54A-DmyaRQ6l.cjs +2 -0
  205. package/dist/cs-FZSeHYld.cjs +2 -0
  206. package/dist/cs-MrS2bH7F.js +210 -0
  207. package/dist/cy-BX97Tgwk.js +210 -0
  208. package/dist/cy-CzQmM2lQ.cjs +2 -0
  209. package/dist/cytoscape.esm-CcJAI0wG.cjs +322 -0
  210. package/dist/cytoscape.esm-D9EjU25_.js +18102 -0
  211. package/dist/da-BnewPPrh.js +210 -0
  212. package/dist/da-CexFt-Oj.cjs +2 -0
  213. package/dist/dagre-CpEPaL3r.cjs +2 -0
  214. package/dist/dagre-Dd8wCGc6.js +1305 -0
  215. package/dist/dagre-KLK3FWXG-BpxkjvB3.js +294 -0
  216. package/dist/dagre-KLK3FWXG-DIznPQl_.cjs +5 -0
  217. package/dist/de-B68HwuYu.cjs +2 -0
  218. package/dist/de-BSZuzGTL.js +210 -0
  219. package/dist/defaultLocale-CYOzCjwh.js +203 -0
  220. package/dist/defaultLocale-DSgylVA1.cjs +2 -0
  221. package/dist/diagram-E7M64L7V-dXqTi77U.cjs +25 -0
  222. package/dist/diagram-E7M64L7V-oX07GVAD.js +529 -0
  223. package/dist/diagram-IFDJBPK2-CriVAAmI.cjs +44 -0
  224. package/dist/diagram-IFDJBPK2-lCNF06_S.js +215 -0
  225. package/dist/diagram-P4PSJMXO-TfwVJh4S.js +135 -0
  226. package/dist/diagram-P4PSJMXO-k7F0lH6Q.cjs +25 -0
  227. package/dist/dist-CV9Ez7cn.js +52 -0
  228. package/dist/dist-DVthN7lF.cjs +2 -0
  229. package/dist/el-DQc4jSMd.cjs +2 -0
  230. package/dist/el-DrOk3N7-.js +210 -0
  231. package/dist/erDiagram-INFDFZHY-CDt3mOSU.cjs +71 -0
  232. package/dist/erDiagram-INFDFZHY-Ds_R2Ds4.js +1668 -0
  233. package/dist/es-CGqzubZ2.js +210 -0
  234. package/dist/es-DI8Y4Bv1.cjs +2 -0
  235. package/dist/et-DGqkocuq.js +210 -0
  236. package/dist/et-DfaryKvp.cjs +2 -0
  237. package/dist/eu-BVOSXciF.cjs +2 -0
  238. package/dist/eu-DEo7fdTW.js +210 -0
  239. package/dist/fi-C5L-OzaI.cjs +2 -0
  240. package/dist/fi-DxErwnd5.js +210 -0
  241. package/dist/flowDiagram-PKNHOUZH-7XJG07fo.cjs +163 -0
  242. package/dist/flowDiagram-PKNHOUZH-CkeYebJ5.js +4163 -0
  243. package/dist/fr-yFvjqx8B.cjs +2 -0
  244. package/dist/fr-zrtSZX0o.js +210 -0
  245. package/dist/ga-6mVQhlWi.cjs +2 -0
  246. package/dist/ga-CbHxGc9_.js +210 -0
  247. package/dist/ganttDiagram-A5KZAMGK-Bbck1pyM.cjs +293 -0
  248. package/dist/ganttDiagram-A5KZAMGK-CFT3Xn_r.js +3074 -0
  249. package/dist/gitGraph-HDMCJU4V-BKE04oIl.js +3 -0
  250. package/dist/gitGraph-HDMCJU4V-C9GYfOYb.cjs +1 -0
  251. package/dist/gitGraphDiagram-K3NZZRJ6-CXz9SHBX.js +627 -0
  252. package/dist/gitGraphDiagram-K3NZZRJ6-Dt4D-ig1.cjs +66 -0
  253. package/dist/gl--w0P3RY4.js +210 -0
  254. package/dist/gl-BJzJe1sq.cjs +2 -0
  255. package/dist/graphlib-CPo7oIsu.js +223 -0
  256. package/dist/graphlib-CmUS4Qin.cjs +2 -0
  257. package/dist/he-B3Bw3qr0.cjs +2 -0
  258. package/dist/he-DY19lzWp.js +210 -0
  259. package/dist/hi-CFSsoO_8.js +210 -0
  260. package/dist/hi-kofL-mD8.cjs +2 -0
  261. package/dist/hooks/useBrandCenterFonts.d.ts +0 -1
  262. package/dist/hooks/useGraphAPI.d.ts +0 -1
  263. package/dist/hooks/useLocalizationStrings.d.ts +0 -1
  264. package/dist/hooks/useLogging.d.ts +0 -1
  265. package/dist/hr-CDxqA9Jm.cjs +2 -0
  266. package/dist/hr-DIRJ1Z8e.js +210 -0
  267. package/dist/hu-Defen_75.cjs +2 -0
  268. package/dist/hu-DqYPRWZh.js +210 -0
  269. package/dist/id-DcwMRgmX.cjs +2 -0
  270. package/dist/id-Dgj7SUCi.js +210 -0
  271. package/dist/identity-6JlhFhuM.cjs +2 -0
  272. package/dist/identity-C1jKsMoW.js +395 -0
  273. package/dist/index.cjs +453 -2
  274. package/dist/index.js +22827 -168
  275. package/dist/info-3K5VOQVL-DfN_3mKd.js +3 -0
  276. package/dist/info-3K5VOQVL-d6J9FY0_.cjs +1 -0
  277. package/dist/infoDiagram-LFFYTUFH-Bp9btqnA.cjs +3 -0
  278. package/dist/infoDiagram-LFFYTUFH-DnvgRFnx.js +21 -0
  279. package/dist/init-BAFZAp9S.cjs +2 -0
  280. package/dist/init-m0TwgR4W.js +17 -0
  281. package/dist/isEmpty-BTp1uKIj.cjs +2 -0
  282. package/dist/isEmpty-uXVYZZYe.js +17 -0
  283. package/dist/ishikawaDiagram-PHBUUO56-DLaOkz38.js +719 -0
  284. package/dist/ishikawaDiagram-PHBUUO56-DmqObwMZ.cjs +71 -0
  285. package/dist/it-D5nM6KCi.cjs +2 -0
  286. package/dist/it-QdChHqVN.js +210 -0
  287. package/dist/ja-BNS0BbY-.js +210 -0
  288. package/dist/ja-BtuHirv7.cjs +2 -0
  289. package/dist/journeyDiagram-4ABVD52K-Cv0DbLMi.cjs +140 -0
  290. package/dist/journeyDiagram-4ABVD52K-DYmmcNK4.js +885 -0
  291. package/dist/kanban-definition-K7BYSVSG-BdQLAMeB.cjs +90 -0
  292. package/dist/kanban-definition-K7BYSVSG-CLEYqSz5.js +973 -0
  293. package/dist/katex-B-Nju2J8.js +22002 -0
  294. package/dist/katex-WY67Rp7A.cjs +266 -0
  295. package/dist/kk-BSl8IqgQ.cjs +2 -0
  296. package/dist/kk-Dhkax68h.js +210 -0
  297. package/dist/ko-eplb1GD0.cjs +2 -0
  298. package/dist/ko-heRMHZWp.js +210 -0
  299. package/dist/line-CbEBKCYr.js +36 -0
  300. package/dist/line-DqSdvtRR.cjs +2 -0
  301. package/dist/linear-DvLDpS6A.cjs +2 -0
  302. package/dist/linear-Eb79THx6.js +291 -0
  303. package/dist/localization/ILibraryStrings.d.ts +0 -1
  304. package/dist/localization/defaults/ar.d.ts +0 -1
  305. package/dist/localization/defaults/az.d.ts +0 -1
  306. package/dist/localization/defaults/bg.d.ts +0 -1
  307. package/dist/localization/defaults/bs.d.ts +0 -1
  308. package/dist/localization/defaults/ca.d.ts +0 -1
  309. package/dist/localization/defaults/cs.d.ts +0 -1
  310. package/dist/localization/defaults/cy.d.ts +0 -1
  311. package/dist/localization/defaults/da.d.ts +0 -1
  312. package/dist/localization/defaults/de.d.ts +0 -1
  313. package/dist/localization/defaults/el.d.ts +0 -1
  314. package/dist/localization/defaults/en.d.ts +0 -1
  315. package/dist/localization/defaults/es.d.ts +0 -1
  316. package/dist/localization/defaults/et.d.ts +0 -1
  317. package/dist/localization/defaults/eu.d.ts +0 -1
  318. package/dist/localization/defaults/fi.d.ts +0 -1
  319. package/dist/localization/defaults/fr.d.ts +0 -1
  320. package/dist/localization/defaults/ga.d.ts +0 -1
  321. package/dist/localization/defaults/gl.d.ts +0 -1
  322. package/dist/localization/defaults/he.d.ts +0 -1
  323. package/dist/localization/defaults/hi.d.ts +0 -1
  324. package/dist/localization/defaults/hr.d.ts +0 -1
  325. package/dist/localization/defaults/hu.d.ts +0 -1
  326. package/dist/localization/defaults/id.d.ts +0 -1
  327. package/dist/localization/defaults/it.d.ts +0 -1
  328. package/dist/localization/defaults/ja.d.ts +0 -1
  329. package/dist/localization/defaults/kk.d.ts +0 -1
  330. package/dist/localization/defaults/ko.d.ts +0 -1
  331. package/dist/localization/defaults/lt.d.ts +0 -1
  332. package/dist/localization/defaults/lv.d.ts +0 -1
  333. package/dist/localization/defaults/mk.d.ts +0 -1
  334. package/dist/localization/defaults/ms.d.ts +0 -1
  335. package/dist/localization/defaults/nb.d.ts +0 -1
  336. package/dist/localization/defaults/nl.d.ts +0 -1
  337. package/dist/localization/defaults/pl.d.ts +0 -1
  338. package/dist/localization/defaults/pt.d.ts +0 -1
  339. package/dist/localization/defaults/ro.d.ts +0 -1
  340. package/dist/localization/defaults/ru.d.ts +0 -1
  341. package/dist/localization/defaults/sk.d.ts +0 -1
  342. package/dist/localization/defaults/sl.d.ts +0 -1
  343. package/dist/localization/defaults/sr.d.ts +0 -1
  344. package/dist/localization/defaults/sv.d.ts +0 -1
  345. package/dist/localization/defaults/th.d.ts +0 -1
  346. package/dist/localization/defaults/tr.d.ts +0 -1
  347. package/dist/localization/defaults/uk.d.ts +0 -1
  348. package/dist/localization/defaults/vi.d.ts +0 -1
  349. package/dist/localization/defaults/zh.d.ts +0 -1
  350. package/dist/lt-Decqbo8S.js +210 -0
  351. package/dist/lt-DsYAWFbF.cjs +2 -0
  352. package/dist/lv-DHmTjCb8.cjs +2 -0
  353. package/dist/lv-wZASv0Lw.js +210 -0
  354. package/dist/maplibre-gl-qSrG75fp.js +33003 -0
  355. package/dist/maplibre-gl-tm_pVdmb.cjs +757 -0
  356. package/dist/math-DR9t6ixc.cjs +2 -0
  357. package/dist/math-DyURnvXC.js +12 -0
  358. package/dist/mermaid-parser.core-BdTB9qx-.js +61 -0
  359. package/dist/mermaid-parser.core-BlzF5RRD.cjs +4 -0
  360. package/dist/mindmap-definition-YRQLILUH-CzcVgr-U.js +966 -0
  361. package/dist/mindmap-definition-YRQLILUH-zWN_YXC3.cjs +69 -0
  362. package/dist/mk-BTsLGTJT.js +210 -0
  363. package/dist/mk-CCV_308U.cjs +2 -0
  364. package/dist/ms-C0cVNwky.js +210 -0
  365. package/dist/ms-CH83xVYN.cjs +2 -0
  366. package/dist/nb-DGX4q4tS.js +210 -0
  367. package/dist/nb-DZ-DlwcL.cjs +2 -0
  368. package/dist/nl-CnXZa8tZ.js +210 -0
  369. package/dist/nl-Xdf-A19i.cjs +2 -0
  370. package/dist/ordinal-BAWGEQkf.js +67 -0
  371. package/dist/ordinal-CL2X4e2C.cjs +2 -0
  372. package/dist/packet-RMMSAZCW-Bek1stRX.cjs +1 -0
  373. package/dist/packet-RMMSAZCW-DUN6t9lN.js +3 -0
  374. package/dist/path-Bt6guLtL.cjs +2 -0
  375. package/dist/path-DSzKK8fH.js +87 -0
  376. package/dist/pie-UPGHQEXC-DjqNO54R.js +3 -0
  377. package/dist/pie-UPGHQEXC-pJq6_YgE.cjs +1 -0
  378. package/dist/pieDiagram-SKSYHLDU-Ba-c0fRA.cjs +31 -0
  379. package/dist/pieDiagram-SKSYHLDU-ya07MTY-.js +167 -0
  380. package/dist/pl-BStql1S-.cjs +2 -0
  381. package/dist/pl-DbIdTNpg.js +210 -0
  382. package/dist/providers.cjs +2 -2
  383. package/dist/providers.d.ts +1 -0
  384. package/dist/providers.js +188 -252
  385. package/dist/pt-CcKYweQk.js +210 -0
  386. package/dist/pt-Dk4jELuZ.cjs +2 -0
  387. package/dist/quadrantDiagram-337W2JSQ-CQQEVC49.cjs +8 -0
  388. package/dist/quadrantDiagram-337W2JSQ-Dp_QyIEO.js +1976 -0
  389. package/dist/radar-KQ55EAFF-Bid2hXXI.cjs +1 -0
  390. package/dist/radar-KQ55EAFF-C6zhEkCz.js +3 -0
  391. package/dist/requirementDiagram-Z7DCOOCP-CRl2914V.js +2203 -0
  392. package/dist/requirementDiagram-Z7DCOOCP-CeMYhXEm.cjs +74 -0
  393. package/dist/ro-BvhMyTKh.cjs +2 -0
  394. package/dist/ro-C-8tiqgA.js +210 -0
  395. package/dist/rough.esm-BjJ_weyP.cjs +2 -0
  396. package/dist/rough.esm-DBHP55VQ.js +1354 -0
  397. package/dist/ru-BQosng8l.cjs +2 -0
  398. package/dist/ru-Dhnz96q2.js +210 -0
  399. package/dist/sankeyDiagram-WA2Y5GQK-BFrF47Iv.js +922 -0
  400. package/dist/sankeyDiagram-WA2Y5GQK-DDfjtQ4G.cjs +11 -0
  401. package/dist/sequenceDiagram-2WXFIKYE-B-zWyr9f.cjs +146 -0
  402. package/dist/sequenceDiagram-2WXFIKYE-BAd8OVlz.js +4111 -0
  403. package/dist/sk-BU-Z5EsC.js +210 -0
  404. package/dist/sk-BhA7UeAk.cjs +2 -0
  405. package/dist/sl-6Mczv4jG.cjs +2 -0
  406. package/dist/sl-CcfjJFxo.js +210 -0
  407. package/dist/sr-CxObZdu0.cjs +2 -0
  408. package/dist/sr-S53unrLA.js +210 -0
  409. package/dist/src-DFxq-N5I.cjs +2 -0
  410. package/dist/src-Dm6r9c7l.js +2148 -0
  411. package/dist/stateDiagram-RAJIS63D-C-tfqeC-.js +219 -0
  412. package/dist/stateDiagram-RAJIS63D-C1Aj8vJQ.cjs +2 -0
  413. package/dist/stateDiagram-v2-FVOUBMTO-C-w53gXL.js +29 -0
  414. package/dist/stateDiagram-v2-FVOUBMTO-VoIE_KVn.cjs +2 -0
  415. package/dist/sv-BfiunVuX.cjs +2 -0
  416. package/dist/sv-BiJrVfZr.js +210 -0
  417. package/dist/th-BqLGltZi.cjs +2 -0
  418. package/dist/th-vQ7LQ7nD.js +210 -0
  419. package/dist/timeline-definition-YZTLITO2-CE1y2S_r.js +832 -0
  420. package/dist/timeline-definition-YZTLITO2-D8aFfnYE.cjs +62 -0
  421. package/dist/tr-Brwl4o_Z.cjs +2 -0
  422. package/dist/tr-C5RrNGLz.js +210 -0
  423. package/dist/treemap-KZPCXAKY-D2v0uStP.cjs +1 -0
  424. package/dist/treemap-KZPCXAKY-DLE_f1Bk.js +3 -0
  425. package/dist/types/THorizontalSpacing.d.ts +0 -1
  426. package/dist/types/THorizontalSpacingBreakPoints.d.ts +0 -1
  427. package/dist/types/TPaddingBreakPoints.d.ts +0 -1
  428. package/dist/types/TPading.d.ts +0 -1
  429. package/dist/types/TVerticalSpacing.d.ts +0 -1
  430. package/dist/types/TVerticalSpacingBreakPoints.d.ts +0 -1
  431. package/dist/uk-CV49TRvS.cjs +2 -0
  432. package/dist/uk-WGCFH0fY.js +210 -0
  433. package/dist/vennDiagram-LZ73GAT5-BSpVMORX.js +1860 -0
  434. package/dist/vennDiagram-LZ73GAT5-DvnB0e7u.cjs +35 -0
  435. package/dist/vi-JzM7bjn_.cjs +2 -0
  436. package/dist/vi-Waa7HkXq.js +210 -0
  437. package/dist/xychartDiagram-JWTSCODW-0qbVGrDs.cjs +8 -0
  438. package/dist/xychartDiagram-JWTSCODW-DpIry-th.js +2043 -0
  439. package/dist/zh-BmUS7Wn_.js +210 -0
  440. package/dist/zh-DEm0SGzZ.cjs +2 -0
  441. package/package.json +7 -7
  442. package/dist/LocalizationProvider-BLjmybBa.cjs +0 -2
  443. package/dist/LocalizationProvider-BSlUf0tp.js +0 -497
  444. package/dist/_arrayEach-DEUflJGE.cjs +0 -2
  445. package/dist/_arrayEach-tusrzNIw.js +0 -61
  446. package/dist/ar-C1pLt8fa.js +0 -219
  447. package/dist/ar-Jzw7PLrc.cjs +0 -2
  448. package/dist/arc-CDaXffrF.cjs +0 -2
  449. package/dist/arc-DfZkgffF.js +0 -132
  450. package/dist/architecture-7HQA4BMR-BwNHkZOR.cjs +0 -2
  451. package/dist/architecture-7HQA4BMR-ZD14yPTj.js +0 -6
  452. package/dist/architectureDiagram-VXUJARFQ-C2ZHmMwH.cjs +0 -2
  453. package/dist/architectureDiagram-VXUJARFQ-ZqTwLC_K.js +0 -8680
  454. package/dist/az-C0Ow5Hxa.cjs +0 -2
  455. package/dist/az-C3-F9ybX.js +0 -219
  456. package/dist/bg-YB0TmpRF.cjs +0 -2
  457. package/dist/bg-w2e_udiK.js +0 -219
  458. package/dist/blockDiagram-VD42YOAC-De0hLG3f.cjs +0 -2
  459. package/dist/blockDiagram-VD42YOAC-Dik4nU5R.js +0 -3756
  460. package/dist/bs-BoW04lRb.cjs +0 -2
  461. package/dist/bs-CEe_gjEx.js +0 -219
  462. package/dist/c4Diagram-YG6GDRKO-B97gU-WH.cjs +0 -2
  463. package/dist/c4Diagram-YG6GDRKO-BG0ZffB9.js +0 -2483
  464. package/dist/ca-Bsy2Y5pS.cjs +0 -2
  465. package/dist/ca-CKpd72XI.js +0 -219
  466. package/dist/channel-D35vM90y.cjs +0 -2
  467. package/dist/channel-DjCO9_Le.js +0 -8
  468. package/dist/chunk-4BX2VUAB-BOD7DqfU.cjs +0 -2
  469. package/dist/chunk-4BX2VUAB-ahGWfN9s.js +0 -18
  470. package/dist/chunk-55IACEB6-BE4LiqRj.js +0 -14
  471. package/dist/chunk-55IACEB6-aYtTY_gp.cjs +0 -2
  472. package/dist/chunk-B4BG7PRW-D7Ivw3g-.cjs +0 -2
  473. package/dist/chunk-B4BG7PRW-l_C90AO9.js +0 -1828
  474. package/dist/chunk-DI55MBZ5-CML-bpvH.cjs +0 -2
  475. package/dist/chunk-DI55MBZ5-CkzP_mAJ.js +0 -1928
  476. package/dist/chunk-FMBD7UC4-up_42EsF.cjs +0 -2
  477. package/dist/chunk-QN33PNHL-BQktMy72.js +0 -26
  478. package/dist/chunk-QN33PNHL-D3tw3Y1o.cjs +0 -2
  479. package/dist/chunk-QZHKN3VN-OgubCPUl.cjs +0 -2
  480. package/dist/chunk-QZHKN3VN-VbliCc4p.js +0 -18
  481. package/dist/chunk-TZMSLE5B-B2adgZpn.cjs +0 -2
  482. package/dist/chunk-TZMSLE5B-ogHnlNAL.js +0 -109
  483. package/dist/classDiagram-2ON5EDUG-DV3kGCmC.cjs +0 -2
  484. package/dist/classDiagram-2ON5EDUG-NFuoveOc.js +0 -20
  485. package/dist/classDiagram-v2-WZHVMYZB-DV3kGCmC.cjs +0 -2
  486. package/dist/classDiagram-v2-WZHVMYZB-NFuoveOc.js +0 -20
  487. package/dist/cose-bilkent-S5V4N54A-C1H2cJER.cjs +0 -2
  488. package/dist/cose-bilkent-S5V4N54A-CFFp3u42.js +0 -4934
  489. package/dist/cs-D-801PIR.cjs +0 -2
  490. package/dist/cs-DQvRPciB.js +0 -219
  491. package/dist/cy-BxyJCM05.js +0 -219
  492. package/dist/cy-aUPUcn-S.cjs +0 -2
  493. package/dist/cytoscape.esm-BS1owLay.js +0 -30250
  494. package/dist/cytoscape.esm-BxB3woZB.cjs +0 -10
  495. package/dist/da-B05ad5Iq.js +0 -219
  496. package/dist/da-CTiLOqut.cjs +0 -2
  497. package/dist/dagre-6UL2VRFP-BbRK6OVd.js +0 -696
  498. package/dist/dagre-6UL2VRFP-DceBzHY0.cjs +0 -2
  499. package/dist/de-DJ5iwpd7.js +0 -219
  500. package/dist/de-Dm204UMA.cjs +0 -2
  501. package/dist/defaultLocale-7NeEK7SF.cjs +0 -2
  502. package/dist/defaultLocale-DVr69WTU.js +0 -207
  503. package/dist/diagram-PSM6KHXK-CCRrPaN5.js +0 -848
  504. package/dist/diagram-PSM6KHXK-Dap3wmh3.cjs +0 -2
  505. package/dist/diagram-QEK2KX5R-CwkM4da6.js +0 -305
  506. package/dist/diagram-QEK2KX5R-CycnDjjr.cjs +0 -2
  507. package/dist/diagram-S2PKOQOG-BjWuQflk.js +0 -212
  508. package/dist/diagram-S2PKOQOG-C8bvmCRh.cjs +0 -2
  509. package/dist/el-CBS9mHS3.js +0 -219
  510. package/dist/el-DbtZj-ph.cjs +0 -2
  511. package/dist/erDiagram-Q2GNP2WA-CVwE6kCH.cjs +0 -2
  512. package/dist/erDiagram-Q2GNP2WA-DK_cVUc0.js +0 -1160
  513. package/dist/es-Bo08apQr.js +0 -219
  514. package/dist/es-Cc-4Vqf7.cjs +0 -2
  515. package/dist/et-D5pQ66eY.cjs +0 -2
  516. package/dist/et-pRL0Tmle.js +0 -219
  517. package/dist/eu-Br68gaf7.js +0 -219
  518. package/dist/eu-RZ-27koK.cjs +0 -2
  519. package/dist/fi-BCXB-k_X.js +0 -219
  520. package/dist/fi-Dqa9mgnW.cjs +0 -2
  521. package/dist/flowDiagram-NV44I4VS-BC9ZXfqx.js +0 -2339
  522. package/dist/flowDiagram-NV44I4VS-BmvwN_Qr.cjs +0 -2
  523. package/dist/fr-B7fhkle4.cjs +0 -2
  524. package/dist/fr-gKE1SSIF.js +0 -219
  525. package/dist/ga-4Hf7vKvr.cjs +0 -2
  526. package/dist/ga-C1SpITZy.js +0 -219
  527. package/dist/ganttDiagram-JELNMOA3-Cxvs4xUM.cjs +0 -2
  528. package/dist/ganttDiagram-JELNMOA3-DCPYcGQ7.js +0 -3652
  529. package/dist/gitGraph-G5XIXVHT-CGc4Dw_9.cjs +0 -2
  530. package/dist/gitGraph-G5XIXVHT-D2TpybaV.js +0 -6
  531. package/dist/gitGraphDiagram-V2S2FVAM-BLwOtAPI.js +0 -1215
  532. package/dist/gitGraphDiagram-V2S2FVAM-CxKeCiX6.cjs +0 -2
  533. package/dist/gl-COSpsMSK.cjs +0 -2
  534. package/dist/gl-CSzCeu2L.js +0 -219
  535. package/dist/graph-C7xixGrW.cjs +0 -2
  536. package/dist/graph-DH3cnEko.js +0 -421
  537. package/dist/he-BrkfqoIm.js +0 -219
  538. package/dist/he-C7Wi6-EL.cjs +0 -2
  539. package/dist/hi-C1RGDPzn.js +0 -219
  540. package/dist/hi-ojklJj-a.cjs +0 -2
  541. package/dist/hr-CsO_h2VT.js +0 -219
  542. package/dist/hr-DkEwOCGU.cjs +0 -2
  543. package/dist/hu-CVtbM-V2.js +0 -219
  544. package/dist/hu-D8uAAzvN.cjs +0 -2
  545. package/dist/id-18yPGK2f.cjs +0 -2
  546. package/dist/id-CARSN0W8.js +0 -219
  547. package/dist/index-Bo3Feswn.js +0 -55587
  548. package/dist/index-C6Yk2BjU.cjs +0 -428
  549. package/dist/info-VBDWY6EO-Bp4BP7Eb.js +0 -6
  550. package/dist/info-VBDWY6EO-dcVOFyXm.cjs +0 -2
  551. package/dist/infoDiagram-HS3SLOUP-BH_AfMqs.js +0 -32
  552. package/dist/infoDiagram-HS3SLOUP-BZqbkXM8.cjs +0 -2
  553. package/dist/init-DZ96s0AS.cjs +0 -2
  554. package/dist/init-ZxktEp_H.js +0 -17
  555. package/dist/it-BVq911RW.cjs +0 -2
  556. package/dist/it-ClWGK7XT.js +0 -219
  557. package/dist/ja-BgcKuKZ4.cjs +0 -2
  558. package/dist/ja-DGL12HwE.js +0 -219
  559. package/dist/journeyDiagram-XKPGCS4Q-B6LA5FxS.js +0 -1255
  560. package/dist/journeyDiagram-XKPGCS4Q-D738Gof9.cjs +0 -2
  561. package/dist/kanban-definition-3W4ZIXB7-BiudWCGQ.js +0 -1049
  562. package/dist/kanban-definition-3W4ZIXB7-CYpFGeof.cjs +0 -2
  563. package/dist/katex-DPu4QpBP.cjs +0 -2
  564. package/dist/katex-Dd1-wdX2.js +0 -14523
  565. package/dist/kk-CkKXbKso.js +0 -219
  566. package/dist/kk-Dn3FBkOR.cjs +0 -2
  567. package/dist/ko-CKAbV25b.cjs +0 -2
  568. package/dist/ko-QYvDV2aw.js +0 -219
  569. package/dist/layout-D6yO7DzL.cjs +0 -2
  570. package/dist/layout-bxkZz7Cm.js +0 -1919
  571. package/dist/linear-CsAdQFhD.js +0 -341
  572. package/dist/linear-Cu3RCqOH.cjs +0 -2
  573. package/dist/lt-BKnFyiLV.js +0 -219
  574. package/dist/lt-BnGNEsIS.cjs +0 -2
  575. package/dist/lv-Clqo0Ogm.js +0 -219
  576. package/dist/lv-D3rJQRhc.cjs +0 -2
  577. package/dist/maplibre-gl-Bu4KbMVz.js +0 -23511
  578. package/dist/maplibre-gl-oIss86aW.cjs +0 -6
  579. package/dist/mermaid-parser.core-BeAFxlhX.cjs +0 -2
  580. package/dist/mermaid-parser.core-EaBMrmE0.js +0 -23731
  581. package/dist/mindmap-definition-VGOIOE7T-BdPsEBSQ.cjs +0 -2
  582. package/dist/mindmap-definition-VGOIOE7T-CV_iinaV.js +0 -1129
  583. package/dist/mk-EhcD0RzW.js +0 -219
  584. package/dist/mk-hVxJgrE0.cjs +0 -2
  585. package/dist/ms-CJACwjo7.js +0 -219
  586. package/dist/ms-D0txYckK.cjs +0 -2
  587. package/dist/nb-BfKRl99z.cjs +0 -2
  588. package/dist/nb-NCgnP0Pu.js +0 -219
  589. package/dist/nl-EgsNCunP.js +0 -219
  590. package/dist/nl-ZXiLkBj_.cjs +0 -2
  591. package/dist/ordinal-BZdahNih.cjs +0 -2
  592. package/dist/ordinal-DSZU4PqD.js +0 -77
  593. package/dist/packet-DYOGHKS2-CxyBgIUF.js +0 -6
  594. package/dist/packet-DYOGHKS2-lB1ZNdq9.cjs +0 -2
  595. package/dist/pie-VRWISCQL-CvTcddz_.cjs +0 -2
  596. package/dist/pie-VRWISCQL-yxV8OJyl.js +0 -6
  597. package/dist/pieDiagram-ADFJNKIX-B0W0v6lo.cjs +0 -2
  598. package/dist/pieDiagram-ADFJNKIX-CkAS8Z8i.js +0 -238
  599. package/dist/pl-H28GVtiG.js +0 -219
  600. package/dist/pl-tVjdYTB9.cjs +0 -2
  601. package/dist/pt-1k62N9F3.cjs +0 -2
  602. package/dist/pt-BSPZhWKl.js +0 -211
  603. package/dist/quadrantDiagram-AYHSOK5B-Bzqn0a-l.js +0 -1338
  604. package/dist/quadrantDiagram-AYHSOK5B-SWF7EmO_.cjs +0 -2
  605. package/dist/radar-ZZBFDIW7-Cx_1gtna.js +0 -6
  606. package/dist/radar-ZZBFDIW7-Dt6yDSJ-.cjs +0 -2
  607. package/dist/requirementDiagram-UZGBJVZJ-CG-2-gxk.cjs +0 -2
  608. package/dist/requirementDiagram-UZGBJVZJ-DYGD-StR.js +0 -1164
  609. package/dist/ro-9Qt1qDDA.cjs +0 -2
  610. package/dist/ro-BpaZLre_.js +0 -219
  611. package/dist/ru-4WxRouIU.cjs +0 -2
  612. package/dist/ru-CUZzD-Tx.js +0 -219
  613. package/dist/sankeyDiagram-TZEHDZUN-DhUxbYSw.js +0 -1194
  614. package/dist/sankeyDiagram-TZEHDZUN-sLCJH1s2.cjs +0 -2
  615. package/dist/sequenceDiagram-WL72ISMW--4TVFyeB.js +0 -3882
  616. package/dist/sequenceDiagram-WL72ISMW-CFPZgLxH.cjs +0 -2
  617. package/dist/sk-CoQ6XiCY.js +0 -219
  618. package/dist/sk-uWukDQab.cjs +0 -2
  619. package/dist/sl-B6DVbKg6.cjs +0 -2
  620. package/dist/sl-CHW-ZGol.js +0 -219
  621. package/dist/sr-BOD8Tc-D.cjs +0 -2
  622. package/dist/sr-EQGjIBJE.js +0 -219
  623. package/dist/stateDiagram-FKZM4ZOC-CF_Lwk8j.js +0 -449
  624. package/dist/stateDiagram-FKZM4ZOC-D8CSpH_U.cjs +0 -2
  625. package/dist/stateDiagram-v2-4FDKWEC3-BDRDUNPf.cjs +0 -2
  626. package/dist/stateDiagram-v2-4FDKWEC3-BavZNkxV.js +0 -20
  627. package/dist/sv-B6nLuQr7.cjs +0 -2
  628. package/dist/sv-DTxWN6ED.js +0 -219
  629. package/dist/th-BVPzHvBf.js +0 -219
  630. package/dist/th-DmULV6uT.cjs +0 -2
  631. package/dist/timeline-definition-IT6M3QCI-DVBW6O_2.cjs +0 -2
  632. package/dist/timeline-definition-IT6M3QCI-Du5tfms8.js +0 -1227
  633. package/dist/tr-BE5geTUC.cjs +0 -2
  634. package/dist/tr-BHR1QA-D.js +0 -219
  635. package/dist/treemap-GDKQZRPO-7BeIVnJ2.cjs +0 -2
  636. package/dist/treemap-GDKQZRPO-Dc6Nwpnf.js +0 -6
  637. package/dist/uk-Bc5TwelE.js +0 -219
  638. package/dist/uk-DS5ukB_-.cjs +0 -2
  639. package/dist/vi-D9FF4kkG.cjs +0 -2
  640. package/dist/vi-DC0eQZb7.js +0 -219
  641. package/dist/xychartDiagram-PRI3JC2R-BMoq4LTz.js +0 -1887
  642. package/dist/xychartDiagram-PRI3JC2R-BbGEetiQ.cjs +0 -2
  643. package/dist/zh-CGcOiJ3s.cjs +0 -2
  644. package/dist/zh-GsCLn8OE.js +0 -219
@@ -1,1255 +0,0 @@
1
- import { a as drawBackgroundRect, g as getNoteRect, f as drawText, d as drawRect } from "./chunk-TZMSLE5B-ogHnlNAL.js";
2
- import { g as getIconStyles } from "./chunk-FMBD7UC4-B7ANnE_H.js";
3
- import { _ as __name, g as getAccDescription, s as setAccDescription, a as getAccTitle, b as setAccTitle, t as getDiagramTitle, q as setDiagramTitle, c as getConfig2, d as select, e as configureSvgSize, z as clear } from "./index-Bo3Feswn.js";
4
- import { d as d3arc } from "./arc-DfZkgffF.js";
5
- var parser = function() {
6
- var o = /* @__PURE__ */ __name(function(k, v, o2, l) {
7
- for (o2 = o2 || {}, l = k.length; l--; o2[k[l]] = v) ;
8
- return o2;
9
- }, "o"), $V0 = [6, 8, 10, 11, 12, 14, 16, 17, 18], $V1 = [1, 9], $V2 = [1, 10], $V3 = [1, 11], $V4 = [1, 12], $V5 = [1, 13], $V6 = [1, 14];
10
- var parser2 = {
11
- trace: /* @__PURE__ */ __name(function trace() {
12
- }, "trace"),
13
- yy: {},
14
- symbols_: { "error": 2, "start": 3, "journey": 4, "document": 5, "EOF": 6, "line": 7, "SPACE": 8, "statement": 9, "NEWLINE": 10, "title": 11, "acc_title": 12, "acc_title_value": 13, "acc_descr": 14, "acc_descr_value": 15, "acc_descr_multiline_value": 16, "section": 17, "taskName": 18, "taskData": 19, "$accept": 0, "$end": 1 },
15
- terminals_: { 2: "error", 4: "journey", 6: "EOF", 8: "SPACE", 10: "NEWLINE", 11: "title", 12: "acc_title", 13: "acc_title_value", 14: "acc_descr", 15: "acc_descr_value", 16: "acc_descr_multiline_value", 17: "section", 18: "taskName", 19: "taskData" },
16
- productions_: [0, [3, 3], [5, 0], [5, 2], [7, 2], [7, 1], [7, 1], [7, 1], [9, 1], [9, 2], [9, 2], [9, 1], [9, 1], [9, 2]],
17
- performAction: /* @__PURE__ */ __name(function anonymous(yytext, yyleng, yylineno, yy, yystate, $$, _$) {
18
- var $0 = $$.length - 1;
19
- switch (yystate) {
20
- case 1:
21
- return $$[$0 - 1];
22
- case 2:
23
- this.$ = [];
24
- break;
25
- case 3:
26
- $$[$0 - 1].push($$[$0]);
27
- this.$ = $$[$0 - 1];
28
- break;
29
- case 4:
30
- case 5:
31
- this.$ = $$[$0];
32
- break;
33
- case 6:
34
- case 7:
35
- this.$ = [];
36
- break;
37
- case 8:
38
- yy.setDiagramTitle($$[$0].substr(6));
39
- this.$ = $$[$0].substr(6);
40
- break;
41
- case 9:
42
- this.$ = $$[$0].trim();
43
- yy.setAccTitle(this.$);
44
- break;
45
- case 10:
46
- case 11:
47
- this.$ = $$[$0].trim();
48
- yy.setAccDescription(this.$);
49
- break;
50
- case 12:
51
- yy.addSection($$[$0].substr(8));
52
- this.$ = $$[$0].substr(8);
53
- break;
54
- case 13:
55
- yy.addTask($$[$0 - 1], $$[$0]);
56
- this.$ = "task";
57
- break;
58
- }
59
- }, "anonymous"),
60
- table: [{ 3: 1, 4: [1, 2] }, { 1: [3] }, o($V0, [2, 2], { 5: 3 }), { 6: [1, 4], 7: 5, 8: [1, 6], 9: 7, 10: [1, 8], 11: $V1, 12: $V2, 14: $V3, 16: $V4, 17: $V5, 18: $V6 }, o($V0, [2, 7], { 1: [2, 1] }), o($V0, [2, 3]), { 9: 15, 11: $V1, 12: $V2, 14: $V3, 16: $V4, 17: $V5, 18: $V6 }, o($V0, [2, 5]), o($V0, [2, 6]), o($V0, [2, 8]), { 13: [1, 16] }, { 15: [1, 17] }, o($V0, [2, 11]), o($V0, [2, 12]), { 19: [1, 18] }, o($V0, [2, 4]), o($V0, [2, 9]), o($V0, [2, 10]), o($V0, [2, 13])],
61
- defaultActions: {},
62
- parseError: /* @__PURE__ */ __name(function parseError(str, hash) {
63
- if (hash.recoverable) {
64
- this.trace(str);
65
- } else {
66
- var error = new Error(str);
67
- error.hash = hash;
68
- throw error;
69
- }
70
- }, "parseError"),
71
- parse: /* @__PURE__ */ __name(function parse(input) {
72
- var self = this, stack = [0], tstack = [], vstack = [null], lstack = [], table = this.table, yytext = "", yylineno = 0, yyleng = 0, TERROR = 2, EOF = 1;
73
- var args = lstack.slice.call(arguments, 1);
74
- var lexer2 = Object.create(this.lexer);
75
- var sharedState = { yy: {} };
76
- for (var k in this.yy) {
77
- if (Object.prototype.hasOwnProperty.call(this.yy, k)) {
78
- sharedState.yy[k] = this.yy[k];
79
- }
80
- }
81
- lexer2.setInput(input, sharedState.yy);
82
- sharedState.yy.lexer = lexer2;
83
- sharedState.yy.parser = this;
84
- if (typeof lexer2.yylloc == "undefined") {
85
- lexer2.yylloc = {};
86
- }
87
- var yyloc = lexer2.yylloc;
88
- lstack.push(yyloc);
89
- var ranges = lexer2.options && lexer2.options.ranges;
90
- if (typeof sharedState.yy.parseError === "function") {
91
- this.parseError = sharedState.yy.parseError;
92
- } else {
93
- this.parseError = Object.getPrototypeOf(this).parseError;
94
- }
95
- function popStack(n) {
96
- stack.length = stack.length - 2 * n;
97
- vstack.length = vstack.length - n;
98
- lstack.length = lstack.length - n;
99
- }
100
- __name(popStack, "popStack");
101
- function lex() {
102
- var token;
103
- token = tstack.pop() || lexer2.lex() || EOF;
104
- if (typeof token !== "number") {
105
- if (token instanceof Array) {
106
- tstack = token;
107
- token = tstack.pop();
108
- }
109
- token = self.symbols_[token] || token;
110
- }
111
- return token;
112
- }
113
- __name(lex, "lex");
114
- var symbol, state, action, r, yyval = {}, p, len, newState, expected;
115
- while (true) {
116
- state = stack[stack.length - 1];
117
- if (this.defaultActions[state]) {
118
- action = this.defaultActions[state];
119
- } else {
120
- if (symbol === null || typeof symbol == "undefined") {
121
- symbol = lex();
122
- }
123
- action = table[state] && table[state][symbol];
124
- }
125
- if (typeof action === "undefined" || !action.length || !action[0]) {
126
- var errStr = "";
127
- expected = [];
128
- for (p in table[state]) {
129
- if (this.terminals_[p] && p > TERROR) {
130
- expected.push("'" + this.terminals_[p] + "'");
131
- }
132
- }
133
- if (lexer2.showPosition) {
134
- errStr = "Parse error on line " + (yylineno + 1) + ":\n" + lexer2.showPosition() + "\nExpecting " + expected.join(", ") + ", got '" + (this.terminals_[symbol] || symbol) + "'";
135
- } else {
136
- errStr = "Parse error on line " + (yylineno + 1) + ": Unexpected " + (symbol == EOF ? "end of input" : "'" + (this.terminals_[symbol] || symbol) + "'");
137
- }
138
- this.parseError(errStr, {
139
- text: lexer2.match,
140
- token: this.terminals_[symbol] || symbol,
141
- line: lexer2.yylineno,
142
- loc: yyloc,
143
- expected
144
- });
145
- }
146
- if (action[0] instanceof Array && action.length > 1) {
147
- throw new Error("Parse Error: multiple actions possible at state: " + state + ", token: " + symbol);
148
- }
149
- switch (action[0]) {
150
- case 1:
151
- stack.push(symbol);
152
- vstack.push(lexer2.yytext);
153
- lstack.push(lexer2.yylloc);
154
- stack.push(action[1]);
155
- symbol = null;
156
- {
157
- yyleng = lexer2.yyleng;
158
- yytext = lexer2.yytext;
159
- yylineno = lexer2.yylineno;
160
- yyloc = lexer2.yylloc;
161
- }
162
- break;
163
- case 2:
164
- len = this.productions_[action[1]][1];
165
- yyval.$ = vstack[vstack.length - len];
166
- yyval._$ = {
167
- first_line: lstack[lstack.length - (len || 1)].first_line,
168
- last_line: lstack[lstack.length - 1].last_line,
169
- first_column: lstack[lstack.length - (len || 1)].first_column,
170
- last_column: lstack[lstack.length - 1].last_column
171
- };
172
- if (ranges) {
173
- yyval._$.range = [
174
- lstack[lstack.length - (len || 1)].range[0],
175
- lstack[lstack.length - 1].range[1]
176
- ];
177
- }
178
- r = this.performAction.apply(yyval, [
179
- yytext,
180
- yyleng,
181
- yylineno,
182
- sharedState.yy,
183
- action[1],
184
- vstack,
185
- lstack
186
- ].concat(args));
187
- if (typeof r !== "undefined") {
188
- return r;
189
- }
190
- if (len) {
191
- stack = stack.slice(0, -1 * len * 2);
192
- vstack = vstack.slice(0, -1 * len);
193
- lstack = lstack.slice(0, -1 * len);
194
- }
195
- stack.push(this.productions_[action[1]][0]);
196
- vstack.push(yyval.$);
197
- lstack.push(yyval._$);
198
- newState = table[stack[stack.length - 2]][stack[stack.length - 1]];
199
- stack.push(newState);
200
- break;
201
- case 3:
202
- return true;
203
- }
204
- }
205
- return true;
206
- }, "parse")
207
- };
208
- var lexer = /* @__PURE__ */ function() {
209
- var lexer2 = {
210
- EOF: 1,
211
- parseError: /* @__PURE__ */ __name(function parseError(str, hash) {
212
- if (this.yy.parser) {
213
- this.yy.parser.parseError(str, hash);
214
- } else {
215
- throw new Error(str);
216
- }
217
- }, "parseError"),
218
- // resets the lexer, sets new input
219
- setInput: /* @__PURE__ */ __name(function(input, yy) {
220
- this.yy = yy || this.yy || {};
221
- this._input = input;
222
- this._more = this._backtrack = this.done = false;
223
- this.yylineno = this.yyleng = 0;
224
- this.yytext = this.matched = this.match = "";
225
- this.conditionStack = ["INITIAL"];
226
- this.yylloc = {
227
- first_line: 1,
228
- first_column: 0,
229
- last_line: 1,
230
- last_column: 0
231
- };
232
- if (this.options.ranges) {
233
- this.yylloc.range = [0, 0];
234
- }
235
- this.offset = 0;
236
- return this;
237
- }, "setInput"),
238
- // consumes and returns one char from the input
239
- input: /* @__PURE__ */ __name(function() {
240
- var ch = this._input[0];
241
- this.yytext += ch;
242
- this.yyleng++;
243
- this.offset++;
244
- this.match += ch;
245
- this.matched += ch;
246
- var lines = ch.match(/(?:\r\n?|\n).*/g);
247
- if (lines) {
248
- this.yylineno++;
249
- this.yylloc.last_line++;
250
- } else {
251
- this.yylloc.last_column++;
252
- }
253
- if (this.options.ranges) {
254
- this.yylloc.range[1]++;
255
- }
256
- this._input = this._input.slice(1);
257
- return ch;
258
- }, "input"),
259
- // unshifts one char (or a string) into the input
260
- unput: /* @__PURE__ */ __name(function(ch) {
261
- var len = ch.length;
262
- var lines = ch.split(/(?:\r\n?|\n)/g);
263
- this._input = ch + this._input;
264
- this.yytext = this.yytext.substr(0, this.yytext.length - len);
265
- this.offset -= len;
266
- var oldLines = this.match.split(/(?:\r\n?|\n)/g);
267
- this.match = this.match.substr(0, this.match.length - 1);
268
- this.matched = this.matched.substr(0, this.matched.length - 1);
269
- if (lines.length - 1) {
270
- this.yylineno -= lines.length - 1;
271
- }
272
- var r = this.yylloc.range;
273
- this.yylloc = {
274
- first_line: this.yylloc.first_line,
275
- last_line: this.yylineno + 1,
276
- first_column: this.yylloc.first_column,
277
- 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
278
- };
279
- if (this.options.ranges) {
280
- this.yylloc.range = [r[0], r[0] + this.yyleng - len];
281
- }
282
- this.yyleng = this.yytext.length;
283
- return this;
284
- }, "unput"),
285
- // When called from action, caches matched text and appends it on next action
286
- more: /* @__PURE__ */ __name(function() {
287
- this._more = true;
288
- return this;
289
- }, "more"),
290
- // 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.
291
- reject: /* @__PURE__ */ __name(function() {
292
- if (this.options.backtrack_lexer) {
293
- this._backtrack = true;
294
- } else {
295
- 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(), {
296
- text: "",
297
- token: null,
298
- line: this.yylineno
299
- });
300
- }
301
- return this;
302
- }, "reject"),
303
- // retain first n characters of the match
304
- less: /* @__PURE__ */ __name(function(n) {
305
- this.unput(this.match.slice(n));
306
- }, "less"),
307
- // displays already matched input, i.e. for error messages
308
- pastInput: /* @__PURE__ */ __name(function() {
309
- var past = this.matched.substr(0, this.matched.length - this.match.length);
310
- return (past.length > 20 ? "..." : "") + past.substr(-20).replace(/\n/g, "");
311
- }, "pastInput"),
312
- // displays upcoming input, i.e. for error messages
313
- upcomingInput: /* @__PURE__ */ __name(function() {
314
- var next = this.match;
315
- if (next.length < 20) {
316
- next += this._input.substr(0, 20 - next.length);
317
- }
318
- return (next.substr(0, 20) + (next.length > 20 ? "..." : "")).replace(/\n/g, "");
319
- }, "upcomingInput"),
320
- // displays the character position where the lexing error occurred, i.e. for error messages
321
- showPosition: /* @__PURE__ */ __name(function() {
322
- var pre = this.pastInput();
323
- var c = new Array(pre.length + 1).join("-");
324
- return pre + this.upcomingInput() + "\n" + c + "^";
325
- }, "showPosition"),
326
- // test the lexed token: return FALSE when not a match, otherwise return token
327
- test_match: /* @__PURE__ */ __name(function(match, indexed_rule) {
328
- var token, lines, backup;
329
- if (this.options.backtrack_lexer) {
330
- backup = {
331
- yylineno: this.yylineno,
332
- yylloc: {
333
- first_line: this.yylloc.first_line,
334
- last_line: this.last_line,
335
- first_column: this.yylloc.first_column,
336
- last_column: this.yylloc.last_column
337
- },
338
- yytext: this.yytext,
339
- match: this.match,
340
- matches: this.matches,
341
- matched: this.matched,
342
- yyleng: this.yyleng,
343
- offset: this.offset,
344
- _more: this._more,
345
- _input: this._input,
346
- yy: this.yy,
347
- conditionStack: this.conditionStack.slice(0),
348
- done: this.done
349
- };
350
- if (this.options.ranges) {
351
- backup.yylloc.range = this.yylloc.range.slice(0);
352
- }
353
- }
354
- lines = match[0].match(/(?:\r\n?|\n).*/g);
355
- if (lines) {
356
- this.yylineno += lines.length;
357
- }
358
- this.yylloc = {
359
- first_line: this.yylloc.last_line,
360
- last_line: this.yylineno + 1,
361
- first_column: this.yylloc.last_column,
362
- last_column: lines ? lines[lines.length - 1].length - lines[lines.length - 1].match(/\r?\n?/)[0].length : this.yylloc.last_column + match[0].length
363
- };
364
- this.yytext += match[0];
365
- this.match += match[0];
366
- this.matches = match;
367
- this.yyleng = this.yytext.length;
368
- if (this.options.ranges) {
369
- this.yylloc.range = [this.offset, this.offset += this.yyleng];
370
- }
371
- this._more = false;
372
- this._backtrack = false;
373
- this._input = this._input.slice(match[0].length);
374
- this.matched += match[0];
375
- token = this.performAction.call(this, this.yy, this, indexed_rule, this.conditionStack[this.conditionStack.length - 1]);
376
- if (this.done && this._input) {
377
- this.done = false;
378
- }
379
- if (token) {
380
- return token;
381
- } else if (this._backtrack) {
382
- for (var k in backup) {
383
- this[k] = backup[k];
384
- }
385
- return false;
386
- }
387
- return false;
388
- }, "test_match"),
389
- // return next match in input
390
- next: /* @__PURE__ */ __name(function() {
391
- if (this.done) {
392
- return this.EOF;
393
- }
394
- if (!this._input) {
395
- this.done = true;
396
- }
397
- var token, match, tempMatch, index;
398
- if (!this._more) {
399
- this.yytext = "";
400
- this.match = "";
401
- }
402
- var rules = this._currentRules();
403
- for (var i = 0; i < rules.length; i++) {
404
- tempMatch = this._input.match(this.rules[rules[i]]);
405
- if (tempMatch && (!match || tempMatch[0].length > match[0].length)) {
406
- match = tempMatch;
407
- index = i;
408
- if (this.options.backtrack_lexer) {
409
- token = this.test_match(tempMatch, rules[i]);
410
- if (token !== false) {
411
- return token;
412
- } else if (this._backtrack) {
413
- match = false;
414
- continue;
415
- } else {
416
- return false;
417
- }
418
- } else if (!this.options.flex) {
419
- break;
420
- }
421
- }
422
- }
423
- if (match) {
424
- token = this.test_match(match, rules[index]);
425
- if (token !== false) {
426
- return token;
427
- }
428
- return false;
429
- }
430
- if (this._input === "") {
431
- return this.EOF;
432
- } else {
433
- return this.parseError("Lexical error on line " + (this.yylineno + 1) + ". Unrecognized text.\n" + this.showPosition(), {
434
- text: "",
435
- token: null,
436
- line: this.yylineno
437
- });
438
- }
439
- }, "next"),
440
- // return next match that has a token
441
- lex: /* @__PURE__ */ __name(function lex() {
442
- var r = this.next();
443
- if (r) {
444
- return r;
445
- } else {
446
- return this.lex();
447
- }
448
- }, "lex"),
449
- // activates a new lexer condition state (pushes the new lexer condition state onto the condition stack)
450
- begin: /* @__PURE__ */ __name(function begin(condition) {
451
- this.conditionStack.push(condition);
452
- }, "begin"),
453
- // pop the previously active lexer condition state off the condition stack
454
- popState: /* @__PURE__ */ __name(function popState() {
455
- var n = this.conditionStack.length - 1;
456
- if (n > 0) {
457
- return this.conditionStack.pop();
458
- } else {
459
- return this.conditionStack[0];
460
- }
461
- }, "popState"),
462
- // produce the lexer rule set which is active for the currently active lexer condition state
463
- _currentRules: /* @__PURE__ */ __name(function _currentRules() {
464
- if (this.conditionStack.length && this.conditionStack[this.conditionStack.length - 1]) {
465
- return this.conditions[this.conditionStack[this.conditionStack.length - 1]].rules;
466
- } else {
467
- return this.conditions["INITIAL"].rules;
468
- }
469
- }, "_currentRules"),
470
- // return the currently active lexer condition state; when an index argument is provided it produces the N-th previous condition state, if available
471
- topState: /* @__PURE__ */ __name(function topState(n) {
472
- n = this.conditionStack.length - 1 - Math.abs(n || 0);
473
- if (n >= 0) {
474
- return this.conditionStack[n];
475
- } else {
476
- return "INITIAL";
477
- }
478
- }, "topState"),
479
- // alias for begin(condition)
480
- pushState: /* @__PURE__ */ __name(function pushState(condition) {
481
- this.begin(condition);
482
- }, "pushState"),
483
- // return the number of states currently on the stack
484
- stateStackSize: /* @__PURE__ */ __name(function stateStackSize() {
485
- return this.conditionStack.length;
486
- }, "stateStackSize"),
487
- options: { "case-insensitive": true },
488
- performAction: /* @__PURE__ */ __name(function anonymous(yy, yy_, $avoiding_name_collisions, YY_START) {
489
- switch ($avoiding_name_collisions) {
490
- case 0:
491
- break;
492
- case 1:
493
- break;
494
- case 2:
495
- return 10;
496
- case 3:
497
- break;
498
- case 4:
499
- break;
500
- case 5:
501
- return 4;
502
- case 6:
503
- return 11;
504
- case 7:
505
- this.begin("acc_title");
506
- return 12;
507
- case 8:
508
- this.popState();
509
- return "acc_title_value";
510
- case 9:
511
- this.begin("acc_descr");
512
- return 14;
513
- case 10:
514
- this.popState();
515
- return "acc_descr_value";
516
- case 11:
517
- this.begin("acc_descr_multiline");
518
- break;
519
- case 12:
520
- this.popState();
521
- break;
522
- case 13:
523
- return "acc_descr_multiline_value";
524
- case 14:
525
- return 17;
526
- case 15:
527
- return 18;
528
- case 16:
529
- return 19;
530
- case 17:
531
- return ":";
532
- case 18:
533
- return 6;
534
- case 19:
535
- return "INVALID";
536
- }
537
- }, "anonymous"),
538
- rules: [/^(?:%(?!\{)[^\n]*)/i, /^(?:[^\}]%%[^\n]*)/i, /^(?:[\n]+)/i, /^(?:\s+)/i, /^(?:#[^\n]*)/i, /^(?:journey\b)/i, /^(?:title\s[^#\n;]+)/i, /^(?:accTitle\s*:\s*)/i, /^(?:(?!\n||)*[^\n]*)/i, /^(?:accDescr\s*:\s*)/i, /^(?:(?!\n||)*[^\n]*)/i, /^(?:accDescr\s*\{\s*)/i, /^(?:[\}])/i, /^(?:[^\}]*)/i, /^(?:section\s[^#:\n;]+)/i, /^(?:[^#:\n;]+)/i, /^(?::[^#\n;]+)/i, /^(?::)/i, /^(?:$)/i, /^(?:.)/i],
539
- conditions: { "acc_descr_multiline": { "rules": [12, 13], "inclusive": false }, "acc_descr": { "rules": [10], "inclusive": false }, "acc_title": { "rules": [8], "inclusive": false }, "INITIAL": { "rules": [0, 1, 2, 3, 4, 5, 6, 7, 9, 11, 14, 15, 16, 17, 18, 19], "inclusive": true } }
540
- };
541
- return lexer2;
542
- }();
543
- parser2.lexer = lexer;
544
- function Parser() {
545
- this.yy = {};
546
- }
547
- __name(Parser, "Parser");
548
- Parser.prototype = parser2;
549
- parser2.Parser = Parser;
550
- return new Parser();
551
- }();
552
- parser.parser = parser;
553
- var journey_default = parser;
554
- var currentSection = "";
555
- var sections = [];
556
- var tasks = [];
557
- var rawTasks = [];
558
- var clear2 = /* @__PURE__ */ __name(function() {
559
- sections.length = 0;
560
- tasks.length = 0;
561
- currentSection = "";
562
- rawTasks.length = 0;
563
- clear();
564
- }, "clear");
565
- var addSection = /* @__PURE__ */ __name(function(txt) {
566
- currentSection = txt;
567
- sections.push(txt);
568
- }, "addSection");
569
- var getSections = /* @__PURE__ */ __name(function() {
570
- return sections;
571
- }, "getSections");
572
- var getTasks = /* @__PURE__ */ __name(function() {
573
- let allItemsProcessed = compileTasks();
574
- const maxDepth = 100;
575
- let iterationCount = 0;
576
- while (!allItemsProcessed && iterationCount < maxDepth) {
577
- allItemsProcessed = compileTasks();
578
- iterationCount++;
579
- }
580
- tasks.push(...rawTasks);
581
- return tasks;
582
- }, "getTasks");
583
- var updateActors = /* @__PURE__ */ __name(function() {
584
- const tempActors = [];
585
- tasks.forEach((task) => {
586
- if (task.people) {
587
- tempActors.push(...task.people);
588
- }
589
- });
590
- const unique = new Set(tempActors);
591
- return [...unique].sort();
592
- }, "updateActors");
593
- var addTask = /* @__PURE__ */ __name(function(descr, taskData) {
594
- const pieces = taskData.substr(1).split(":");
595
- let score = 0;
596
- let peeps = [];
597
- if (pieces.length === 1) {
598
- score = Number(pieces[0]);
599
- peeps = [];
600
- } else {
601
- score = Number(pieces[0]);
602
- peeps = pieces[1].split(",");
603
- }
604
- const peopleList = peeps.map((s) => s.trim());
605
- const rawTask = {
606
- section: currentSection,
607
- type: currentSection,
608
- people: peopleList,
609
- task: descr,
610
- score
611
- };
612
- rawTasks.push(rawTask);
613
- }, "addTask");
614
- var addTaskOrg = /* @__PURE__ */ __name(function(descr) {
615
- const newTask = {
616
- section: currentSection,
617
- type: currentSection,
618
- description: descr,
619
- task: descr,
620
- classes: []
621
- };
622
- tasks.push(newTask);
623
- }, "addTaskOrg");
624
- var compileTasks = /* @__PURE__ */ __name(function() {
625
- const compileTask = /* @__PURE__ */ __name(function(pos) {
626
- return rawTasks[pos].processed;
627
- }, "compileTask");
628
- let allProcessed = true;
629
- for (const [i, rawTask] of rawTasks.entries()) {
630
- compileTask(i);
631
- allProcessed = allProcessed && rawTask.processed;
632
- }
633
- return allProcessed;
634
- }, "compileTasks");
635
- var getActors = /* @__PURE__ */ __name(function() {
636
- return updateActors();
637
- }, "getActors");
638
- var journeyDb_default = {
639
- getConfig: /* @__PURE__ */ __name(() => getConfig2().journey, "getConfig"),
640
- clear: clear2,
641
- setDiagramTitle,
642
- getDiagramTitle,
643
- setAccTitle,
644
- getAccTitle,
645
- setAccDescription,
646
- getAccDescription,
647
- addSection,
648
- getSections,
649
- getTasks,
650
- addTask,
651
- addTaskOrg,
652
- getActors
653
- };
654
- var getStyles = /* @__PURE__ */ __name((options) => `.label {
655
- font-family: ${options.fontFamily};
656
- color: ${options.textColor};
657
- }
658
- .mouth {
659
- stroke: #666;
660
- }
661
-
662
- line {
663
- stroke: ${options.textColor}
664
- }
665
-
666
- .legend {
667
- fill: ${options.textColor};
668
- font-family: ${options.fontFamily};
669
- }
670
-
671
- .label text {
672
- fill: #333;
673
- }
674
- .label {
675
- color: ${options.textColor}
676
- }
677
-
678
- .face {
679
- ${options.faceColor ? `fill: ${options.faceColor}` : "fill: #FFF8DC"};
680
- stroke: #999;
681
- }
682
-
683
- .node rect,
684
- .node circle,
685
- .node ellipse,
686
- .node polygon,
687
- .node path {
688
- fill: ${options.mainBkg};
689
- stroke: ${options.nodeBorder};
690
- stroke-width: 1px;
691
- }
692
-
693
- .node .label {
694
- text-align: center;
695
- }
696
- .node.clickable {
697
- cursor: pointer;
698
- }
699
-
700
- .arrowheadPath {
701
- fill: ${options.arrowheadColor};
702
- }
703
-
704
- .edgePath .path {
705
- stroke: ${options.lineColor};
706
- stroke-width: 1.5px;
707
- }
708
-
709
- .flowchart-link {
710
- stroke: ${options.lineColor};
711
- fill: none;
712
- }
713
-
714
- .edgeLabel {
715
- background-color: ${options.edgeLabelBackground};
716
- rect {
717
- opacity: 0.5;
718
- }
719
- text-align: center;
720
- }
721
-
722
- .cluster rect {
723
- }
724
-
725
- .cluster text {
726
- fill: ${options.titleColor};
727
- }
728
-
729
- div.mermaidTooltip {
730
- position: absolute;
731
- text-align: center;
732
- max-width: 200px;
733
- padding: 2px;
734
- font-family: ${options.fontFamily};
735
- font-size: 12px;
736
- background: ${options.tertiaryColor};
737
- border: 1px solid ${options.border2};
738
- border-radius: 2px;
739
- pointer-events: none;
740
- z-index: 100;
741
- }
742
-
743
- .task-type-0, .section-type-0 {
744
- ${options.fillType0 ? `fill: ${options.fillType0}` : ""};
745
- }
746
- .task-type-1, .section-type-1 {
747
- ${options.fillType0 ? `fill: ${options.fillType1}` : ""};
748
- }
749
- .task-type-2, .section-type-2 {
750
- ${options.fillType0 ? `fill: ${options.fillType2}` : ""};
751
- }
752
- .task-type-3, .section-type-3 {
753
- ${options.fillType0 ? `fill: ${options.fillType3}` : ""};
754
- }
755
- .task-type-4, .section-type-4 {
756
- ${options.fillType0 ? `fill: ${options.fillType4}` : ""};
757
- }
758
- .task-type-5, .section-type-5 {
759
- ${options.fillType0 ? `fill: ${options.fillType5}` : ""};
760
- }
761
- .task-type-6, .section-type-6 {
762
- ${options.fillType0 ? `fill: ${options.fillType6}` : ""};
763
- }
764
- .task-type-7, .section-type-7 {
765
- ${options.fillType0 ? `fill: ${options.fillType7}` : ""};
766
- }
767
-
768
- .actor-0 {
769
- ${options.actor0 ? `fill: ${options.actor0}` : ""};
770
- }
771
- .actor-1 {
772
- ${options.actor1 ? `fill: ${options.actor1}` : ""};
773
- }
774
- .actor-2 {
775
- ${options.actor2 ? `fill: ${options.actor2}` : ""};
776
- }
777
- .actor-3 {
778
- ${options.actor3 ? `fill: ${options.actor3}` : ""};
779
- }
780
- .actor-4 {
781
- ${options.actor4 ? `fill: ${options.actor4}` : ""};
782
- }
783
- .actor-5 {
784
- ${options.actor5 ? `fill: ${options.actor5}` : ""};
785
- }
786
- ${getIconStyles()}
787
- `, "getStyles");
788
- var styles_default = getStyles;
789
- var drawRect2 = /* @__PURE__ */ __name(function(elem, rectData) {
790
- return drawRect(elem, rectData);
791
- }, "drawRect");
792
- var drawFace = /* @__PURE__ */ __name(function(element, faceData) {
793
- const radius = 15;
794
- const circleElement = element.append("circle").attr("cx", faceData.cx).attr("cy", faceData.cy).attr("class", "face").attr("r", radius).attr("stroke-width", 2).attr("overflow", "visible");
795
- const face = element.append("g");
796
- face.append("circle").attr("cx", faceData.cx - radius / 3).attr("cy", faceData.cy - radius / 3).attr("r", 1.5).attr("stroke-width", 2).attr("fill", "#666").attr("stroke", "#666");
797
- face.append("circle").attr("cx", faceData.cx + radius / 3).attr("cy", faceData.cy - radius / 3).attr("r", 1.5).attr("stroke-width", 2).attr("fill", "#666").attr("stroke", "#666");
798
- function smile(face2) {
799
- const arc = d3arc().startAngle(Math.PI / 2).endAngle(3 * (Math.PI / 2)).innerRadius(radius / 2).outerRadius(radius / 2.2);
800
- face2.append("path").attr("class", "mouth").attr("d", arc).attr("transform", "translate(" + faceData.cx + "," + (faceData.cy + 2) + ")");
801
- }
802
- __name(smile, "smile");
803
- function sad(face2) {
804
- const arc = d3arc().startAngle(3 * Math.PI / 2).endAngle(5 * (Math.PI / 2)).innerRadius(radius / 2).outerRadius(radius / 2.2);
805
- face2.append("path").attr("class", "mouth").attr("d", arc).attr("transform", "translate(" + faceData.cx + "," + (faceData.cy + 7) + ")");
806
- }
807
- __name(sad, "sad");
808
- function ambivalent(face2) {
809
- face2.append("line").attr("class", "mouth").attr("stroke", 2).attr("x1", faceData.cx - 5).attr("y1", faceData.cy + 7).attr("x2", faceData.cx + 5).attr("y2", faceData.cy + 7).attr("class", "mouth").attr("stroke-width", "1px").attr("stroke", "#666");
810
- }
811
- __name(ambivalent, "ambivalent");
812
- if (faceData.score > 3) {
813
- smile(face);
814
- } else if (faceData.score < 3) {
815
- sad(face);
816
- } else {
817
- ambivalent(face);
818
- }
819
- return circleElement;
820
- }, "drawFace");
821
- var drawCircle = /* @__PURE__ */ __name(function(element, circleData) {
822
- const circleElement = element.append("circle");
823
- circleElement.attr("cx", circleData.cx);
824
- circleElement.attr("cy", circleData.cy);
825
- circleElement.attr("class", "actor-" + circleData.pos);
826
- circleElement.attr("fill", circleData.fill);
827
- circleElement.attr("stroke", circleData.stroke);
828
- circleElement.attr("r", circleData.r);
829
- if (circleElement.class !== void 0) {
830
- circleElement.attr("class", circleElement.class);
831
- }
832
- if (circleData.title !== void 0) {
833
- circleElement.append("title").text(circleData.title);
834
- }
835
- return circleElement;
836
- }, "drawCircle");
837
- var drawText2 = /* @__PURE__ */ __name(function(elem, textData) {
838
- return drawText(elem, textData);
839
- }, "drawText");
840
- var drawLabel = /* @__PURE__ */ __name(function(elem, txtObject) {
841
- function genPoints(x, y, width, height, cut) {
842
- return x + "," + y + " " + (x + width) + "," + y + " " + (x + width) + "," + (y + height - cut) + " " + (x + width - cut * 1.2) + "," + (y + height) + " " + x + "," + (y + height);
843
- }
844
- __name(genPoints, "genPoints");
845
- const polygon = elem.append("polygon");
846
- polygon.attr("points", genPoints(txtObject.x, txtObject.y, 50, 20, 7));
847
- polygon.attr("class", "labelBox");
848
- txtObject.y = txtObject.y + txtObject.labelMargin;
849
- txtObject.x = txtObject.x + 0.5 * txtObject.labelMargin;
850
- drawText2(elem, txtObject);
851
- }, "drawLabel");
852
- var drawSection = /* @__PURE__ */ __name(function(elem, section, conf2) {
853
- const g = elem.append("g");
854
- const rect = getNoteRect();
855
- rect.x = section.x;
856
- rect.y = section.y;
857
- rect.fill = section.fill;
858
- rect.width = conf2.width * section.taskCount + // width of the tasks
859
- conf2.diagramMarginX * (section.taskCount - 1);
860
- rect.height = conf2.height;
861
- rect.class = "journey-section section-type-" + section.num;
862
- rect.rx = 3;
863
- rect.ry = 3;
864
- drawRect2(g, rect);
865
- _drawTextCandidateFunc(conf2)(
866
- section.text,
867
- g,
868
- rect.x,
869
- rect.y,
870
- rect.width,
871
- rect.height,
872
- { class: "journey-section section-type-" + section.num },
873
- conf2,
874
- section.colour
875
- );
876
- }, "drawSection");
877
- var taskCount = -1;
878
- var drawTask = /* @__PURE__ */ __name(function(elem, task, conf2) {
879
- const center = task.x + conf2.width / 2;
880
- const g = elem.append("g");
881
- taskCount++;
882
- const maxHeight = 300 + 5 * 30;
883
- g.append("line").attr("id", "task" + taskCount).attr("x1", center).attr("y1", task.y).attr("x2", center).attr("y2", maxHeight).attr("class", "task-line").attr("stroke-width", "1px").attr("stroke-dasharray", "4 2").attr("stroke", "#666");
884
- drawFace(g, {
885
- cx: center,
886
- cy: 300 + (5 - task.score) * 30,
887
- score: task.score
888
- });
889
- const rect = getNoteRect();
890
- rect.x = task.x;
891
- rect.y = task.y;
892
- rect.fill = task.fill;
893
- rect.width = conf2.width;
894
- rect.height = conf2.height;
895
- rect.class = "task task-type-" + task.num;
896
- rect.rx = 3;
897
- rect.ry = 3;
898
- drawRect2(g, rect);
899
- let xPos = task.x + 14;
900
- task.people.forEach((person) => {
901
- const colour = task.actors[person].color;
902
- const circle = {
903
- cx: xPos,
904
- cy: task.y,
905
- r: 7,
906
- fill: colour,
907
- stroke: "#000",
908
- title: person,
909
- pos: task.actors[person].position
910
- };
911
- drawCircle(g, circle);
912
- xPos += 10;
913
- });
914
- _drawTextCandidateFunc(conf2)(
915
- task.task,
916
- g,
917
- rect.x,
918
- rect.y,
919
- rect.width,
920
- rect.height,
921
- { class: "task" },
922
- conf2,
923
- task.colour
924
- );
925
- }, "drawTask");
926
- var drawBackgroundRect2 = /* @__PURE__ */ __name(function(elem, bounds2) {
927
- drawBackgroundRect(elem, bounds2);
928
- }, "drawBackgroundRect");
929
- var _drawTextCandidateFunc = /* @__PURE__ */ function() {
930
- function byText(content, g, x, y, width, height, textAttrs, colour) {
931
- const text = g.append("text").attr("x", x + width / 2).attr("y", y + height / 2 + 5).style("font-color", colour).style("text-anchor", "middle").text(content);
932
- _setTextAttrs(text, textAttrs);
933
- }
934
- __name(byText, "byText");
935
- function byTspan(content, g, x, y, width, height, textAttrs, conf2, colour) {
936
- const { taskFontSize, taskFontFamily } = conf2;
937
- const lines = content.split(/<br\s*\/?>/gi);
938
- for (let i = 0; i < lines.length; i++) {
939
- const dy = i * taskFontSize - taskFontSize * (lines.length - 1) / 2;
940
- const text = g.append("text").attr("x", x + width / 2).attr("y", y).attr("fill", colour).style("text-anchor", "middle").style("font-size", taskFontSize).style("font-family", taskFontFamily);
941
- text.append("tspan").attr("x", x + width / 2).attr("dy", dy).text(lines[i]);
942
- text.attr("y", y + height / 2).attr("dominant-baseline", "central").attr("alignment-baseline", "central");
943
- _setTextAttrs(text, textAttrs);
944
- }
945
- }
946
- __name(byTspan, "byTspan");
947
- function byFo(content, g, x, y, width, height, textAttrs, conf2) {
948
- const body = g.append("switch");
949
- const f = body.append("foreignObject").attr("x", x).attr("y", y).attr("width", width).attr("height", height).attr("position", "fixed");
950
- const text = f.append("xhtml:div").style("display", "table").style("height", "100%").style("width", "100%");
951
- text.append("div").attr("class", "label").style("display", "table-cell").style("text-align", "center").style("vertical-align", "middle").text(content);
952
- byTspan(content, body, x, y, width, height, textAttrs, conf2);
953
- _setTextAttrs(text, textAttrs);
954
- }
955
- __name(byFo, "byFo");
956
- function _setTextAttrs(toText, fromTextAttrsDict) {
957
- for (const key in fromTextAttrsDict) {
958
- if (key in fromTextAttrsDict) {
959
- toText.attr(key, fromTextAttrsDict[key]);
960
- }
961
- }
962
- }
963
- __name(_setTextAttrs, "_setTextAttrs");
964
- return function(conf2) {
965
- return conf2.textPlacement === "fo" ? byFo : conf2.textPlacement === "old" ? byText : byTspan;
966
- };
967
- }();
968
- var initGraphics = /* @__PURE__ */ __name(function(graphics) {
969
- graphics.append("defs").append("marker").attr("id", "arrowhead").attr("refX", 5).attr("refY", 2).attr("markerWidth", 6).attr("markerHeight", 4).attr("orient", "auto").append("path").attr("d", "M 0,0 V 4 L6,2 Z");
970
- }, "initGraphics");
971
- var svgDraw_default = {
972
- drawRect: drawRect2,
973
- drawCircle,
974
- drawSection,
975
- drawText: drawText2,
976
- drawLabel,
977
- drawTask,
978
- drawBackgroundRect: drawBackgroundRect2,
979
- initGraphics
980
- };
981
- var setConf = /* @__PURE__ */ __name(function(cnf) {
982
- const keys = Object.keys(cnf);
983
- keys.forEach(function(key) {
984
- conf[key] = cnf[key];
985
- });
986
- }, "setConf");
987
- var actors = {};
988
- var maxWidth = 0;
989
- function drawActorLegend(diagram2) {
990
- const conf2 = getConfig2().journey;
991
- const maxLabelWidth = conf2.maxLabelWidth;
992
- maxWidth = 0;
993
- let yPos = 60;
994
- Object.keys(actors).forEach((person) => {
995
- const colour = actors[person].color;
996
- const circleData = {
997
- cx: 20,
998
- cy: yPos,
999
- r: 7,
1000
- fill: colour,
1001
- stroke: "#000",
1002
- pos: actors[person].position
1003
- };
1004
- svgDraw_default.drawCircle(diagram2, circleData);
1005
- let measureText = diagram2.append("text").attr("visibility", "hidden").text(person);
1006
- const fullTextWidth = measureText.node().getBoundingClientRect().width;
1007
- measureText.remove();
1008
- let lines = [];
1009
- if (fullTextWidth <= maxLabelWidth) {
1010
- lines = [person];
1011
- } else {
1012
- const words = person.split(" ");
1013
- let currentLine = "";
1014
- measureText = diagram2.append("text").attr("visibility", "hidden");
1015
- words.forEach((word) => {
1016
- const testLine = currentLine ? `${currentLine} ${word}` : word;
1017
- measureText.text(testLine);
1018
- const textWidth = measureText.node().getBoundingClientRect().width;
1019
- if (textWidth > maxLabelWidth) {
1020
- if (currentLine) {
1021
- lines.push(currentLine);
1022
- }
1023
- currentLine = word;
1024
- measureText.text(word);
1025
- if (measureText.node().getBoundingClientRect().width > maxLabelWidth) {
1026
- let brokenWord = "";
1027
- for (const char of word) {
1028
- brokenWord += char;
1029
- measureText.text(brokenWord + "-");
1030
- if (measureText.node().getBoundingClientRect().width > maxLabelWidth) {
1031
- lines.push(brokenWord.slice(0, -1) + "-");
1032
- brokenWord = char;
1033
- }
1034
- }
1035
- currentLine = brokenWord;
1036
- }
1037
- } else {
1038
- currentLine = testLine;
1039
- }
1040
- });
1041
- if (currentLine) {
1042
- lines.push(currentLine);
1043
- }
1044
- measureText.remove();
1045
- }
1046
- lines.forEach((line, index) => {
1047
- const labelData = {
1048
- x: 40,
1049
- y: yPos + 7 + index * 20,
1050
- fill: "#666",
1051
- text: line,
1052
- textMargin: conf2.boxTextMargin ?? 5
1053
- };
1054
- const textElement = svgDraw_default.drawText(diagram2, labelData);
1055
- const lineWidth = textElement.node().getBoundingClientRect().width;
1056
- if (lineWidth > maxWidth && lineWidth > conf2.leftMargin - lineWidth) {
1057
- maxWidth = lineWidth;
1058
- }
1059
- });
1060
- yPos += Math.max(20, lines.length * 20);
1061
- });
1062
- }
1063
- __name(drawActorLegend, "drawActorLegend");
1064
- var conf = getConfig2().journey;
1065
- var leftMargin = 0;
1066
- var draw = /* @__PURE__ */ __name(function(text, id, version, diagObj) {
1067
- const configObject = getConfig2();
1068
- const titleColor = configObject.journey.titleColor;
1069
- const titleFontSize = configObject.journey.titleFontSize;
1070
- const titleFontFamily = configObject.journey.titleFontFamily;
1071
- const securityLevel = configObject.securityLevel;
1072
- let sandboxElement;
1073
- if (securityLevel === "sandbox") {
1074
- sandboxElement = select("#i" + id);
1075
- }
1076
- const root = securityLevel === "sandbox" ? select(sandboxElement.nodes()[0].contentDocument.body) : select("body");
1077
- bounds.init();
1078
- const diagram2 = root.select("#" + id);
1079
- svgDraw_default.initGraphics(diagram2);
1080
- const tasks2 = diagObj.db.getTasks();
1081
- const title = diagObj.db.getDiagramTitle();
1082
- const actorNames = diagObj.db.getActors();
1083
- for (const member in actors) {
1084
- delete actors[member];
1085
- }
1086
- let actorPos = 0;
1087
- actorNames.forEach((actorName) => {
1088
- actors[actorName] = {
1089
- color: conf.actorColours[actorPos % conf.actorColours.length],
1090
- position: actorPos
1091
- };
1092
- actorPos++;
1093
- });
1094
- drawActorLegend(diagram2);
1095
- leftMargin = conf.leftMargin + maxWidth;
1096
- bounds.insert(0, 0, leftMargin, Object.keys(actors).length * 50);
1097
- drawTasks(diagram2, tasks2, 0);
1098
- const box = bounds.getBounds();
1099
- if (title) {
1100
- diagram2.append("text").text(title).attr("x", leftMargin).attr("font-size", titleFontSize).attr("font-weight", "bold").attr("y", 25).attr("fill", titleColor).attr("font-family", titleFontFamily);
1101
- }
1102
- const height = box.stopy - box.starty + 2 * conf.diagramMarginY;
1103
- const width = leftMargin + box.stopx + 2 * conf.diagramMarginX;
1104
- configureSvgSize(diagram2, height, width, conf.useMaxWidth);
1105
- diagram2.append("line").attr("x1", leftMargin).attr("y1", conf.height * 4).attr("x2", width - leftMargin - 4).attr("y2", conf.height * 4).attr("stroke-width", 4).attr("stroke", "black").attr("marker-end", "url(#arrowhead)");
1106
- const extraVertForTitle = title ? 70 : 0;
1107
- diagram2.attr("viewBox", `${box.startx} -25 ${width} ${height + extraVertForTitle}`);
1108
- diagram2.attr("preserveAspectRatio", "xMinYMin meet");
1109
- diagram2.attr("height", height + extraVertForTitle + 25);
1110
- }, "draw");
1111
- var bounds = {
1112
- data: {
1113
- startx: void 0,
1114
- stopx: void 0,
1115
- starty: void 0,
1116
- stopy: void 0
1117
- },
1118
- verticalPos: 0,
1119
- sequenceItems: [],
1120
- init: /* @__PURE__ */ __name(function() {
1121
- this.sequenceItems = [];
1122
- this.data = {
1123
- startx: void 0,
1124
- stopx: void 0,
1125
- starty: void 0,
1126
- stopy: void 0
1127
- };
1128
- this.verticalPos = 0;
1129
- }, "init"),
1130
- updateVal: /* @__PURE__ */ __name(function(obj, key, val, fun) {
1131
- if (obj[key] === void 0) {
1132
- obj[key] = val;
1133
- } else {
1134
- obj[key] = fun(val, obj[key]);
1135
- }
1136
- }, "updateVal"),
1137
- updateBounds: /* @__PURE__ */ __name(function(startx, starty, stopx, stopy) {
1138
- const conf2 = getConfig2().journey;
1139
- const _self = this;
1140
- let cnt = 0;
1141
- function updateFn(type) {
1142
- return /* @__PURE__ */ __name(function updateItemBounds(item) {
1143
- cnt++;
1144
- const n = _self.sequenceItems.length - cnt + 1;
1145
- _self.updateVal(item, "starty", starty - n * conf2.boxMargin, Math.min);
1146
- _self.updateVal(item, "stopy", stopy + n * conf2.boxMargin, Math.max);
1147
- _self.updateVal(bounds.data, "startx", startx - n * conf2.boxMargin, Math.min);
1148
- _self.updateVal(bounds.data, "stopx", stopx + n * conf2.boxMargin, Math.max);
1149
- if (!(type === "activation")) {
1150
- _self.updateVal(item, "startx", startx - n * conf2.boxMargin, Math.min);
1151
- _self.updateVal(item, "stopx", stopx + n * conf2.boxMargin, Math.max);
1152
- _self.updateVal(bounds.data, "starty", starty - n * conf2.boxMargin, Math.min);
1153
- _self.updateVal(bounds.data, "stopy", stopy + n * conf2.boxMargin, Math.max);
1154
- }
1155
- }, "updateItemBounds");
1156
- }
1157
- __name(updateFn, "updateFn");
1158
- this.sequenceItems.forEach(updateFn());
1159
- }, "updateBounds"),
1160
- insert: /* @__PURE__ */ __name(function(startx, starty, stopx, stopy) {
1161
- const _startx = Math.min(startx, stopx);
1162
- const _stopx = Math.max(startx, stopx);
1163
- const _starty = Math.min(starty, stopy);
1164
- const _stopy = Math.max(starty, stopy);
1165
- this.updateVal(bounds.data, "startx", _startx, Math.min);
1166
- this.updateVal(bounds.data, "starty", _starty, Math.min);
1167
- this.updateVal(bounds.data, "stopx", _stopx, Math.max);
1168
- this.updateVal(bounds.data, "stopy", _stopy, Math.max);
1169
- this.updateBounds(_startx, _starty, _stopx, _stopy);
1170
- }, "insert"),
1171
- bumpVerticalPos: /* @__PURE__ */ __name(function(bump) {
1172
- this.verticalPos = this.verticalPos + bump;
1173
- this.data.stopy = this.verticalPos;
1174
- }, "bumpVerticalPos"),
1175
- getVerticalPos: /* @__PURE__ */ __name(function() {
1176
- return this.verticalPos;
1177
- }, "getVerticalPos"),
1178
- getBounds: /* @__PURE__ */ __name(function() {
1179
- return this.data;
1180
- }, "getBounds")
1181
- };
1182
- var fills = conf.sectionFills;
1183
- var textColours = conf.sectionColours;
1184
- var drawTasks = /* @__PURE__ */ __name(function(diagram2, tasks2, verticalPos) {
1185
- const conf2 = getConfig2().journey;
1186
- let lastSection = "";
1187
- const sectionVHeight = conf2.height * 2 + conf2.diagramMarginY;
1188
- const taskPos = verticalPos + sectionVHeight;
1189
- let sectionNumber = 0;
1190
- let fill = "#CCC";
1191
- let colour = "black";
1192
- let num = 0;
1193
- for (const [i, task] of tasks2.entries()) {
1194
- if (lastSection !== task.section) {
1195
- fill = fills[sectionNumber % fills.length];
1196
- num = sectionNumber % fills.length;
1197
- colour = textColours[sectionNumber % textColours.length];
1198
- let taskInSectionCount = 0;
1199
- const currentSection2 = task.section;
1200
- for (let taskIndex = i; taskIndex < tasks2.length; taskIndex++) {
1201
- if (tasks2[taskIndex].section == currentSection2) {
1202
- taskInSectionCount = taskInSectionCount + 1;
1203
- } else {
1204
- break;
1205
- }
1206
- }
1207
- const section = {
1208
- x: i * conf2.taskMargin + i * conf2.width + leftMargin,
1209
- y: 50,
1210
- text: task.section,
1211
- fill,
1212
- num,
1213
- colour,
1214
- taskCount: taskInSectionCount
1215
- };
1216
- svgDraw_default.drawSection(diagram2, section, conf2);
1217
- lastSection = task.section;
1218
- sectionNumber++;
1219
- }
1220
- const taskActors = task.people.reduce((acc, actorName) => {
1221
- if (actors[actorName]) {
1222
- acc[actorName] = actors[actorName];
1223
- }
1224
- return acc;
1225
- }, {});
1226
- task.x = i * conf2.taskMargin + i * conf2.width + leftMargin;
1227
- task.y = taskPos;
1228
- task.width = conf2.diagramMarginX;
1229
- task.height = conf2.diagramMarginY;
1230
- task.colour = colour;
1231
- task.fill = fill;
1232
- task.num = num;
1233
- task.actors = taskActors;
1234
- svgDraw_default.drawTask(diagram2, task, conf2);
1235
- bounds.insert(task.x, task.y, task.x + task.width + conf2.taskMargin, 300 + 5 * 30);
1236
- }
1237
- }, "drawTasks");
1238
- var journeyRenderer_default = {
1239
- setConf,
1240
- draw
1241
- };
1242
- var diagram = {
1243
- parser: journey_default,
1244
- db: journeyDb_default,
1245
- renderer: journeyRenderer_default,
1246
- styles: styles_default,
1247
- init: /* @__PURE__ */ __name((cnf) => {
1248
- journeyRenderer_default.setConf(cnf.journey);
1249
- journeyDb_default.clear();
1250
- }, "init")
1251
- };
1252
- export {
1253
- diagram
1254
- };
1255
- //# sourceMappingURL=journeyDiagram-XKPGCS4Q-B6LA5FxS.js.map