@spteck/react-controls-v2 2.3.7 → 2.3.9

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-DD0xIF4q.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 +22828 -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-Cje_jmPk.cjs +0 -2
  445. package/dist/_arrayEach-FofefpDi.js +0 -61
  446. package/dist/ar-C1pLt8fa.js +0 -219
  447. package/dist/ar-Jzw7PLrc.cjs +0 -2
  448. package/dist/arc-5Gjtja_I.js +0 -132
  449. package/dist/arc-DJHyDr2O.cjs +0 -2
  450. package/dist/architecture-7HQA4BMR-B3tJE43W.js +0 -6
  451. package/dist/architecture-7HQA4BMR-gT33-zCB.cjs +0 -2
  452. package/dist/architectureDiagram-VXUJARFQ-2JSYYGtM.js +0 -8680
  453. package/dist/architectureDiagram-VXUJARFQ-DXZHHpiT.cjs +0 -2
  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-B6nGrskI.js +0 -3756
  459. package/dist/blockDiagram-VD42YOAC-quPSWMXj.cjs +0 -2
  460. package/dist/bs-BoW04lRb.cjs +0 -2
  461. package/dist/bs-CEe_gjEx.js +0 -219
  462. package/dist/c4Diagram-YG6GDRKO-CvSU_nSb.js +0 -2483
  463. package/dist/c4Diagram-YG6GDRKO-yrm6z9xI.cjs +0 -2
  464. package/dist/ca-Bsy2Y5pS.cjs +0 -2
  465. package/dist/ca-CKpd72XI.js +0 -219
  466. package/dist/channel-BGx_PGej.cjs +0 -2
  467. package/dist/channel-Dx_x_I-e.js +0 -8
  468. package/dist/chunk-4BX2VUAB-DE7Tf1KJ.js +0 -18
  469. package/dist/chunk-4BX2VUAB-hg2h7y7T.cjs +0 -2
  470. package/dist/chunk-55IACEB6-5VDRE5b9.js +0 -14
  471. package/dist/chunk-55IACEB6-DQzh2BFT.cjs +0 -2
  472. package/dist/chunk-B4BG7PRW-BONACuKe.cjs +0 -2
  473. package/dist/chunk-B4BG7PRW-ClXZOBBj.js +0 -1828
  474. package/dist/chunk-DI55MBZ5-CnX_pntz.cjs +0 -2
  475. package/dist/chunk-DI55MBZ5-Cw4AXuM5.js +0 -1928
  476. package/dist/chunk-FMBD7UC4-vGLXIanH.cjs +0 -2
  477. package/dist/chunk-QN33PNHL-Bi6cNSdZ.cjs +0 -2
  478. package/dist/chunk-QN33PNHL-NyikcZce.js +0 -26
  479. package/dist/chunk-QZHKN3VN-Cj-nkoY3.cjs +0 -2
  480. package/dist/chunk-QZHKN3VN-DRpbGzBX.js +0 -18
  481. package/dist/chunk-TZMSLE5B-Dbk2wKaP.cjs +0 -2
  482. package/dist/chunk-TZMSLE5B-DiEITu_i.js +0 -109
  483. package/dist/classDiagram-2ON5EDUG-CZ8qM-r0.js +0 -20
  484. package/dist/classDiagram-2ON5EDUG-GEqVHOl4.cjs +0 -2
  485. package/dist/classDiagram-v2-WZHVMYZB-CZ8qM-r0.js +0 -20
  486. package/dist/classDiagram-v2-WZHVMYZB-GEqVHOl4.cjs +0 -2
  487. package/dist/cose-bilkent-S5V4N54A-Bk5UrOC6.cjs +0 -2
  488. package/dist/cose-bilkent-S5V4N54A-D9POuI1b.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-BGgMwKrx.cjs +0 -2
  498. package/dist/dagre-6UL2VRFP-D1VXYHDk.js +0 -696
  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-BnJ6u90U.cjs +0 -2
  504. package/dist/diagram-PSM6KHXK-MkySzwCw.js +0 -848
  505. package/dist/diagram-QEK2KX5R-7oJbO__T.js +0 -305
  506. package/dist/diagram-QEK2KX5R-CQjADuvs.cjs +0 -2
  507. package/dist/diagram-S2PKOQOG-AFF7RL6D.cjs +0 -2
  508. package/dist/diagram-S2PKOQOG-t6d3dY_R.js +0 -212
  509. package/dist/el-CBS9mHS3.js +0 -219
  510. package/dist/el-DbtZj-ph.cjs +0 -2
  511. package/dist/erDiagram-Q2GNP2WA-BY5cfs21.js +0 -1160
  512. package/dist/erDiagram-Q2GNP2WA-CsdjPSsg.cjs +0 -2
  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-BcaW6-_t.cjs +0 -2
  522. package/dist/flowDiagram-NV44I4VS-DoSHOTLX.js +0 -2339
  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-C8aHKsjy.js +0 -3652
  528. package/dist/ganttDiagram-JELNMOA3-YuzFUWYN.cjs +0 -2
  529. package/dist/gitGraph-G5XIXVHT-DN5M1zzB.cjs +0 -2
  530. package/dist/gitGraph-G5XIXVHT-kJP_icZ5.js +0 -6
  531. package/dist/gitGraphDiagram-V2S2FVAM-Bl2LJ6uK.js +0 -1215
  532. package/dist/gitGraphDiagram-V2S2FVAM-DI5S_ure.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-BMfuEpa-.cjs +0 -428
  548. package/dist/index-BiWHWaTZ.js +0 -55588
  549. package/dist/info-VBDWY6EO-0yZ4VJNq.cjs +0 -2
  550. package/dist/info-VBDWY6EO-CcLNynBA.js +0 -6
  551. package/dist/infoDiagram-HS3SLOUP-Bp0yOoLT.js +0 -32
  552. package/dist/infoDiagram-HS3SLOUP-C0Zno052.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-0OiMrl1O.cjs +0 -2
  560. package/dist/journeyDiagram-XKPGCS4Q-Ci2gigtu.js +0 -1255
  561. package/dist/kanban-definition-3W4ZIXB7-DTLYV2yk.js +0 -1049
  562. package/dist/kanban-definition-3W4ZIXB7-DbJAXyvr.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-CmvLp6xX.js +0 -341
  572. package/dist/linear-d_werDwb.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-B3PlRf6V.js +0 -23511
  578. package/dist/maplibre-gl-Cc1i9T04.cjs +0 -6
  579. package/dist/mermaid-parser.core-CNPkkUbW.cjs +0 -2
  580. package/dist/mermaid-parser.core-CnjbJ8mb.js +0 -23791
  581. package/dist/mindmap-definition-VGOIOE7T-D4S37eSG.cjs +0 -2
  582. package/dist/mindmap-definition-VGOIOE7T-z7i6md6S.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-8TxNXRiu.js +0 -6
  594. package/dist/packet-DYOGHKS2-T2_NOyn2.cjs +0 -2
  595. package/dist/pie-VRWISCQL-CVgwt5hn.cjs +0 -2
  596. package/dist/pie-VRWISCQL-Cw5ps4Uc.js +0 -6
  597. package/dist/pieDiagram-ADFJNKIX-9tCdDAIz.cjs +0 -2
  598. package/dist/pieDiagram-ADFJNKIX-BLMaZqln.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-B_5PU35F.cjs +0 -2
  604. package/dist/quadrantDiagram-AYHSOK5B-Njb3KunW.js +0 -1338
  605. package/dist/radar-ZZBFDIW7-B5WKe_gp.js +0 -6
  606. package/dist/radar-ZZBFDIW7-DGwkdfQQ.cjs +0 -2
  607. package/dist/requirementDiagram-UZGBJVZJ-BOgHmi8B.cjs +0 -2
  608. package/dist/requirementDiagram-UZGBJVZJ-wkSzPa52.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-p1th2H-P.js +0 -1194
  614. package/dist/sankeyDiagram-TZEHDZUN-wNi-DuI_.cjs +0 -2
  615. package/dist/sequenceDiagram-WL72ISMW-CZsA3nl_.js +0 -3882
  616. package/dist/sequenceDiagram-WL72ISMW-DHsfFVVL.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-CZDqf83I.js +0 -449
  624. package/dist/stateDiagram-FKZM4ZOC-uCSdqeo_.cjs +0 -2
  625. package/dist/stateDiagram-v2-4FDKWEC3-Ard7BOGd.js +0 -20
  626. package/dist/stateDiagram-v2-4FDKWEC3-LQ3nCDHa.cjs +0 -2
  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-5Kl_f6ac.cjs +0 -2
  632. package/dist/timeline-definition-IT6M3QCI-DOIExRzF.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-BsGYh-La.cjs +0 -2
  636. package/dist/treemap-GDKQZRPO-DQPba0Eh.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-DkaIeov2.cjs +0 -2
  642. package/dist/xychartDiagram-PRI3JC2R-DyqZd9yp.js +0 -1887
  643. package/dist/zh-CGcOiJ3s.cjs +0 -2
  644. package/dist/zh-GsCLn8OE.js +0 -219
@@ -1,1160 +0,0 @@
1
- var _a;
2
- import { g as getDiagramElement } from "./chunk-55IACEB6-5VDRE5b9.js";
3
- import { s as setupViewPortForSVG } from "./chunk-QN33PNHL-NyikcZce.js";
4
- import { _ as __name, b as setAccTitle, a as getAccTitle, s as setAccDescription, g as getAccDescription, q as setDiagramTitle, t as getDiagramTitle, c as getConfig2, l as log, z as clear, y as getEdgeId, B as rgba, D as __export, p as getRegisteredLayoutAlgorithm, r as render, d as select, u as utils_default } from "./index-BiWHWaTZ.js";
5
- import { c as channel } from "./channel-Dx_x_I-e.js";
6
- var parser = function() {
7
- var o = /* @__PURE__ */ __name(function(k, v, o2, l) {
8
- for (o2 = o2 || {}, l = k.length; l--; o2[k[l]] = v) ;
9
- return o2;
10
- }, "o"), $V0 = [6, 8, 10, 22, 24, 26, 28, 33, 34, 35, 36, 37, 40, 43, 44, 50], $V1 = [1, 10], $V2 = [1, 11], $V3 = [1, 12], $V4 = [1, 13], $V5 = [1, 20], $V6 = [1, 21], $V7 = [1, 22], $V8 = [1, 23], $V9 = [1, 24], $Va = [1, 19], $Vb = [1, 25], $Vc = [1, 26], $Vd = [1, 18], $Ve = [1, 33], $Vf = [1, 34], $Vg = [1, 35], $Vh = [1, 36], $Vi = [1, 37], $Vj = [6, 8, 10, 13, 15, 17, 20, 21, 22, 24, 26, 28, 33, 34, 35, 36, 37, 40, 43, 44, 50, 63, 64, 65, 66, 67], $Vk = [1, 42], $Vl = [1, 43], $Vm = [1, 52], $Vn = [40, 50, 68, 69], $Vo = [1, 63], $Vp = [1, 61], $Vq = [1, 58], $Vr = [1, 62], $Vs = [1, 64], $Vt = [6, 8, 10, 13, 17, 22, 24, 26, 28, 33, 34, 35, 36, 37, 40, 41, 42, 43, 44, 48, 49, 50, 63, 64, 65, 66, 67], $Vu = [63, 64, 65, 66, 67], $Vv = [1, 81], $Vw = [1, 80], $Vx = [1, 78], $Vy = [1, 79], $Vz = [6, 10, 42, 47], $VA = [6, 10, 13, 41, 42, 47, 48, 49], $VB = [1, 89], $VC = [1, 88], $VD = [1, 87], $VE = [19, 56], $VF = [1, 98], $VG = [1, 97], $VH = [19, 56, 58, 60];
11
- var parser2 = {
12
- trace: /* @__PURE__ */ __name(function trace() {
13
- }, "trace"),
14
- yy: {},
15
- symbols_: { "error": 2, "start": 3, "ER_DIAGRAM": 4, "document": 5, "EOF": 6, "line": 7, "SPACE": 8, "statement": 9, "NEWLINE": 10, "entityName": 11, "relSpec": 12, "COLON": 13, "role": 14, "STYLE_SEPARATOR": 15, "idList": 16, "BLOCK_START": 17, "attributes": 18, "BLOCK_STOP": 19, "SQS": 20, "SQE": 21, "title": 22, "title_value": 23, "acc_title": 24, "acc_title_value": 25, "acc_descr": 26, "acc_descr_value": 27, "acc_descr_multiline_value": 28, "direction": 29, "classDefStatement": 30, "classStatement": 31, "styleStatement": 32, "direction_tb": 33, "direction_bt": 34, "direction_rl": 35, "direction_lr": 36, "CLASSDEF": 37, "stylesOpt": 38, "separator": 39, "UNICODE_TEXT": 40, "STYLE_TEXT": 41, "COMMA": 42, "CLASS": 43, "STYLE": 44, "style": 45, "styleComponent": 46, "SEMI": 47, "NUM": 48, "BRKT": 49, "ENTITY_NAME": 50, "attribute": 51, "attributeType": 52, "attributeName": 53, "attributeKeyTypeList": 54, "attributeComment": 55, "ATTRIBUTE_WORD": 56, "attributeKeyType": 57, ",": 58, "ATTRIBUTE_KEY": 59, "COMMENT": 60, "cardinality": 61, "relType": 62, "ZERO_OR_ONE": 63, "ZERO_OR_MORE": 64, "ONE_OR_MORE": 65, "ONLY_ONE": 66, "MD_PARENT": 67, "NON_IDENTIFYING": 68, "IDENTIFYING": 69, "WORD": 70, "$accept": 0, "$end": 1 },
16
- terminals_: { 2: "error", 4: "ER_DIAGRAM", 6: "EOF", 8: "SPACE", 10: "NEWLINE", 13: "COLON", 15: "STYLE_SEPARATOR", 17: "BLOCK_START", 19: "BLOCK_STOP", 20: "SQS", 21: "SQE", 22: "title", 23: "title_value", 24: "acc_title", 25: "acc_title_value", 26: "acc_descr", 27: "acc_descr_value", 28: "acc_descr_multiline_value", 33: "direction_tb", 34: "direction_bt", 35: "direction_rl", 36: "direction_lr", 37: "CLASSDEF", 40: "UNICODE_TEXT", 41: "STYLE_TEXT", 42: "COMMA", 43: "CLASS", 44: "STYLE", 47: "SEMI", 48: "NUM", 49: "BRKT", 50: "ENTITY_NAME", 56: "ATTRIBUTE_WORD", 58: ",", 59: "ATTRIBUTE_KEY", 60: "COMMENT", 63: "ZERO_OR_ONE", 64: "ZERO_OR_MORE", 65: "ONE_OR_MORE", 66: "ONLY_ONE", 67: "MD_PARENT", 68: "NON_IDENTIFYING", 69: "IDENTIFYING", 70: "WORD" },
17
- productions_: [0, [3, 3], [5, 0], [5, 2], [7, 2], [7, 1], [7, 1], [7, 1], [9, 5], [9, 9], [9, 7], [9, 7], [9, 4], [9, 6], [9, 3], [9, 5], [9, 1], [9, 3], [9, 7], [9, 9], [9, 6], [9, 8], [9, 4], [9, 6], [9, 2], [9, 2], [9, 2], [9, 1], [9, 1], [9, 1], [9, 1], [9, 1], [29, 1], [29, 1], [29, 1], [29, 1], [30, 4], [16, 1], [16, 1], [16, 3], [16, 3], [31, 3], [32, 4], [38, 1], [38, 3], [45, 1], [45, 2], [39, 1], [39, 1], [39, 1], [46, 1], [46, 1], [46, 1], [46, 1], [11, 1], [11, 1], [18, 1], [18, 2], [51, 2], [51, 3], [51, 3], [51, 4], [52, 1], [53, 1], [54, 1], [54, 3], [57, 1], [55, 1], [12, 3], [61, 1], [61, 1], [61, 1], [61, 1], [61, 1], [62, 1], [62, 1], [14, 1], [14, 1], [14, 1]],
18
- performAction: /* @__PURE__ */ __name(function anonymous(yytext, yyleng, yylineno, yy, yystate, $$, _$) {
19
- var $0 = $$.length - 1;
20
- switch (yystate) {
21
- case 1:
22
- break;
23
- case 2:
24
- this.$ = [];
25
- break;
26
- case 3:
27
- $$[$0 - 1].push($$[$0]);
28
- this.$ = $$[$0 - 1];
29
- break;
30
- case 4:
31
- case 5:
32
- this.$ = $$[$0];
33
- break;
34
- case 6:
35
- case 7:
36
- this.$ = [];
37
- break;
38
- case 8:
39
- yy.addEntity($$[$0 - 4]);
40
- yy.addEntity($$[$0 - 2]);
41
- yy.addRelationship($$[$0 - 4], $$[$0], $$[$0 - 2], $$[$0 - 3]);
42
- break;
43
- case 9:
44
- yy.addEntity($$[$0 - 8]);
45
- yy.addEntity($$[$0 - 4]);
46
- yy.addRelationship($$[$0 - 8], $$[$0], $$[$0 - 4], $$[$0 - 5]);
47
- yy.setClass([$$[$0 - 8]], $$[$0 - 6]);
48
- yy.setClass([$$[$0 - 4]], $$[$0 - 2]);
49
- break;
50
- case 10:
51
- yy.addEntity($$[$0 - 6]);
52
- yy.addEntity($$[$0 - 2]);
53
- yy.addRelationship($$[$0 - 6], $$[$0], $$[$0 - 2], $$[$0 - 3]);
54
- yy.setClass([$$[$0 - 6]], $$[$0 - 4]);
55
- break;
56
- case 11:
57
- yy.addEntity($$[$0 - 6]);
58
- yy.addEntity($$[$0 - 4]);
59
- yy.addRelationship($$[$0 - 6], $$[$0], $$[$0 - 4], $$[$0 - 5]);
60
- yy.setClass([$$[$0 - 4]], $$[$0 - 2]);
61
- break;
62
- case 12:
63
- yy.addEntity($$[$0 - 3]);
64
- yy.addAttributes($$[$0 - 3], $$[$0 - 1]);
65
- break;
66
- case 13:
67
- yy.addEntity($$[$0 - 5]);
68
- yy.addAttributes($$[$0 - 5], $$[$0 - 1]);
69
- yy.setClass([$$[$0 - 5]], $$[$0 - 3]);
70
- break;
71
- case 14:
72
- yy.addEntity($$[$0 - 2]);
73
- break;
74
- case 15:
75
- yy.addEntity($$[$0 - 4]);
76
- yy.setClass([$$[$0 - 4]], $$[$0 - 2]);
77
- break;
78
- case 16:
79
- yy.addEntity($$[$0]);
80
- break;
81
- case 17:
82
- yy.addEntity($$[$0 - 2]);
83
- yy.setClass([$$[$0 - 2]], $$[$0]);
84
- break;
85
- case 18:
86
- yy.addEntity($$[$0 - 6], $$[$0 - 4]);
87
- yy.addAttributes($$[$0 - 6], $$[$0 - 1]);
88
- break;
89
- case 19:
90
- yy.addEntity($$[$0 - 8], $$[$0 - 6]);
91
- yy.addAttributes($$[$0 - 8], $$[$0 - 1]);
92
- yy.setClass([$$[$0 - 8]], $$[$0 - 3]);
93
- break;
94
- case 20:
95
- yy.addEntity($$[$0 - 5], $$[$0 - 3]);
96
- break;
97
- case 21:
98
- yy.addEntity($$[$0 - 7], $$[$0 - 5]);
99
- yy.setClass([$$[$0 - 7]], $$[$0 - 2]);
100
- break;
101
- case 22:
102
- yy.addEntity($$[$0 - 3], $$[$0 - 1]);
103
- break;
104
- case 23:
105
- yy.addEntity($$[$0 - 5], $$[$0 - 3]);
106
- yy.setClass([$$[$0 - 5]], $$[$0]);
107
- break;
108
- case 24:
109
- case 25:
110
- this.$ = $$[$0].trim();
111
- yy.setAccTitle(this.$);
112
- break;
113
- case 26:
114
- case 27:
115
- this.$ = $$[$0].trim();
116
- yy.setAccDescription(this.$);
117
- break;
118
- case 32:
119
- yy.setDirection("TB");
120
- break;
121
- case 33:
122
- yy.setDirection("BT");
123
- break;
124
- case 34:
125
- yy.setDirection("RL");
126
- break;
127
- case 35:
128
- yy.setDirection("LR");
129
- break;
130
- case 36:
131
- this.$ = $$[$0 - 3];
132
- yy.addClass($$[$0 - 2], $$[$0 - 1]);
133
- break;
134
- case 37:
135
- case 38:
136
- case 56:
137
- case 64:
138
- this.$ = [$$[$0]];
139
- break;
140
- case 39:
141
- case 40:
142
- this.$ = $$[$0 - 2].concat([$$[$0]]);
143
- break;
144
- case 41:
145
- this.$ = $$[$0 - 2];
146
- yy.setClass($$[$0 - 1], $$[$0]);
147
- break;
148
- case 42:
149
- this.$ = $$[$0 - 3];
150
- yy.addCssStyles($$[$0 - 2], $$[$0 - 1]);
151
- break;
152
- case 43:
153
- this.$ = [$$[$0]];
154
- break;
155
- case 44:
156
- $$[$0 - 2].push($$[$0]);
157
- this.$ = $$[$0 - 2];
158
- break;
159
- case 46:
160
- this.$ = $$[$0 - 1] + $$[$0];
161
- break;
162
- case 54:
163
- case 76:
164
- case 77:
165
- this.$ = $$[$0].replace(/"/g, "");
166
- break;
167
- case 55:
168
- case 78:
169
- this.$ = $$[$0];
170
- break;
171
- case 57:
172
- $$[$0].push($$[$0 - 1]);
173
- this.$ = $$[$0];
174
- break;
175
- case 58:
176
- this.$ = { type: $$[$0 - 1], name: $$[$0] };
177
- break;
178
- case 59:
179
- this.$ = { type: $$[$0 - 2], name: $$[$0 - 1], keys: $$[$0] };
180
- break;
181
- case 60:
182
- this.$ = { type: $$[$0 - 2], name: $$[$0 - 1], comment: $$[$0] };
183
- break;
184
- case 61:
185
- this.$ = { type: $$[$0 - 3], name: $$[$0 - 2], keys: $$[$0 - 1], comment: $$[$0] };
186
- break;
187
- case 62:
188
- case 63:
189
- case 66:
190
- this.$ = $$[$0];
191
- break;
192
- case 65:
193
- $$[$0 - 2].push($$[$0]);
194
- this.$ = $$[$0 - 2];
195
- break;
196
- case 67:
197
- this.$ = $$[$0].replace(/"/g, "");
198
- break;
199
- case 68:
200
- this.$ = { cardA: $$[$0], relType: $$[$0 - 1], cardB: $$[$0 - 2] };
201
- break;
202
- case 69:
203
- this.$ = yy.Cardinality.ZERO_OR_ONE;
204
- break;
205
- case 70:
206
- this.$ = yy.Cardinality.ZERO_OR_MORE;
207
- break;
208
- case 71:
209
- this.$ = yy.Cardinality.ONE_OR_MORE;
210
- break;
211
- case 72:
212
- this.$ = yy.Cardinality.ONLY_ONE;
213
- break;
214
- case 73:
215
- this.$ = yy.Cardinality.MD_PARENT;
216
- break;
217
- case 74:
218
- this.$ = yy.Identification.NON_IDENTIFYING;
219
- break;
220
- case 75:
221
- this.$ = yy.Identification.IDENTIFYING;
222
- break;
223
- }
224
- }, "anonymous"),
225
- 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: 9, 22: $V1, 24: $V2, 26: $V3, 28: $V4, 29: 14, 30: 15, 31: 16, 32: 17, 33: $V5, 34: $V6, 35: $V7, 36: $V8, 37: $V9, 40: $Va, 43: $Vb, 44: $Vc, 50: $Vd }, o($V0, [2, 7], { 1: [2, 1] }), o($V0, [2, 3]), { 9: 27, 11: 9, 22: $V1, 24: $V2, 26: $V3, 28: $V4, 29: 14, 30: 15, 31: 16, 32: 17, 33: $V5, 34: $V6, 35: $V7, 36: $V8, 37: $V9, 40: $Va, 43: $Vb, 44: $Vc, 50: $Vd }, o($V0, [2, 5]), o($V0, [2, 6]), o($V0, [2, 16], { 12: 28, 61: 32, 15: [1, 29], 17: [1, 30], 20: [1, 31], 63: $Ve, 64: $Vf, 65: $Vg, 66: $Vh, 67: $Vi }), { 23: [1, 38] }, { 25: [1, 39] }, { 27: [1, 40] }, o($V0, [2, 27]), o($V0, [2, 28]), o($V0, [2, 29]), o($V0, [2, 30]), o($V0, [2, 31]), o($Vj, [2, 54]), o($Vj, [2, 55]), o($V0, [2, 32]), o($V0, [2, 33]), o($V0, [2, 34]), o($V0, [2, 35]), { 16: 41, 40: $Vk, 41: $Vl }, { 16: 44, 40: $Vk, 41: $Vl }, { 16: 45, 40: $Vk, 41: $Vl }, o($V0, [2, 4]), { 11: 46, 40: $Va, 50: $Vd }, { 16: 47, 40: $Vk, 41: $Vl }, { 18: 48, 19: [1, 49], 51: 50, 52: 51, 56: $Vm }, { 11: 53, 40: $Va, 50: $Vd }, { 62: 54, 68: [1, 55], 69: [1, 56] }, o($Vn, [2, 69]), o($Vn, [2, 70]), o($Vn, [2, 71]), o($Vn, [2, 72]), o($Vn, [2, 73]), o($V0, [2, 24]), o($V0, [2, 25]), o($V0, [2, 26]), { 13: $Vo, 38: 57, 41: $Vp, 42: $Vq, 45: 59, 46: 60, 48: $Vr, 49: $Vs }, o($Vt, [2, 37]), o($Vt, [2, 38]), { 16: 65, 40: $Vk, 41: $Vl, 42: $Vq }, { 13: $Vo, 38: 66, 41: $Vp, 42: $Vq, 45: 59, 46: 60, 48: $Vr, 49: $Vs }, { 13: [1, 67], 15: [1, 68] }, o($V0, [2, 17], { 61: 32, 12: 69, 17: [1, 70], 42: $Vq, 63: $Ve, 64: $Vf, 65: $Vg, 66: $Vh, 67: $Vi }), { 19: [1, 71] }, o($V0, [2, 14]), { 18: 72, 19: [2, 56], 51: 50, 52: 51, 56: $Vm }, { 53: 73, 56: [1, 74] }, { 56: [2, 62] }, { 21: [1, 75] }, { 61: 76, 63: $Ve, 64: $Vf, 65: $Vg, 66: $Vh, 67: $Vi }, o($Vu, [2, 74]), o($Vu, [2, 75]), { 6: $Vv, 10: $Vw, 39: 77, 42: $Vx, 47: $Vy }, { 40: [1, 82], 41: [1, 83] }, o($Vz, [2, 43], { 46: 84, 13: $Vo, 41: $Vp, 48: $Vr, 49: $Vs }), o($VA, [2, 45]), o($VA, [2, 50]), o($VA, [2, 51]), o($VA, [2, 52]), o($VA, [2, 53]), o($V0, [2, 41], { 42: $Vq }), { 6: $Vv, 10: $Vw, 39: 85, 42: $Vx, 47: $Vy }, { 14: 86, 40: $VB, 50: $VC, 70: $VD }, { 16: 90, 40: $Vk, 41: $Vl }, { 11: 91, 40: $Va, 50: $Vd }, { 18: 92, 19: [1, 93], 51: 50, 52: 51, 56: $Vm }, o($V0, [2, 12]), { 19: [2, 57] }, o($VE, [2, 58], { 54: 94, 55: 95, 57: 96, 59: $VF, 60: $VG }), o([19, 56, 59, 60], [2, 63]), o($V0, [2, 22], { 15: [1, 100], 17: [1, 99] }), o([40, 50], [2, 68]), o($V0, [2, 36]), { 13: $Vo, 41: $Vp, 45: 101, 46: 60, 48: $Vr, 49: $Vs }, o($V0, [2, 47]), o($V0, [2, 48]), o($V0, [2, 49]), o($Vt, [2, 39]), o($Vt, [2, 40]), o($VA, [2, 46]), o($V0, [2, 42]), o($V0, [2, 8]), o($V0, [2, 76]), o($V0, [2, 77]), o($V0, [2, 78]), { 13: [1, 102], 42: $Vq }, { 13: [1, 104], 15: [1, 103] }, { 19: [1, 105] }, o($V0, [2, 15]), o($VE, [2, 59], { 55: 106, 58: [1, 107], 60: $VG }), o($VE, [2, 60]), o($VH, [2, 64]), o($VE, [2, 67]), o($VH, [2, 66]), { 18: 108, 19: [1, 109], 51: 50, 52: 51, 56: $Vm }, { 16: 110, 40: $Vk, 41: $Vl }, o($Vz, [2, 44], { 46: 84, 13: $Vo, 41: $Vp, 48: $Vr, 49: $Vs }), { 14: 111, 40: $VB, 50: $VC, 70: $VD }, { 16: 112, 40: $Vk, 41: $Vl }, { 14: 113, 40: $VB, 50: $VC, 70: $VD }, o($V0, [2, 13]), o($VE, [2, 61]), { 57: 114, 59: $VF }, { 19: [1, 115] }, o($V0, [2, 20]), o($V0, [2, 23], { 17: [1, 116], 42: $Vq }), o($V0, [2, 11]), { 13: [1, 117], 42: $Vq }, o($V0, [2, 10]), o($VH, [2, 65]), o($V0, [2, 18]), { 18: 118, 19: [1, 119], 51: 50, 52: 51, 56: $Vm }, { 14: 120, 40: $VB, 50: $VC, 70: $VD }, { 19: [1, 121] }, o($V0, [2, 21]), o($V0, [2, 9]), o($V0, [2, 19])],
226
- defaultActions: { 52: [2, 62], 72: [2, 57] },
227
- parseError: /* @__PURE__ */ __name(function parseError(str, hash) {
228
- if (hash.recoverable) {
229
- this.trace(str);
230
- } else {
231
- var error = new Error(str);
232
- error.hash = hash;
233
- throw error;
234
- }
235
- }, "parseError"),
236
- parse: /* @__PURE__ */ __name(function parse(input) {
237
- var self = this, stack = [0], tstack = [], vstack = [null], lstack = [], table = this.table, yytext = "", yylineno = 0, yyleng = 0, TERROR = 2, EOF = 1;
238
- var args = lstack.slice.call(arguments, 1);
239
- var lexer2 = Object.create(this.lexer);
240
- var sharedState = { yy: {} };
241
- for (var k in this.yy) {
242
- if (Object.prototype.hasOwnProperty.call(this.yy, k)) {
243
- sharedState.yy[k] = this.yy[k];
244
- }
245
- }
246
- lexer2.setInput(input, sharedState.yy);
247
- sharedState.yy.lexer = lexer2;
248
- sharedState.yy.parser = this;
249
- if (typeof lexer2.yylloc == "undefined") {
250
- lexer2.yylloc = {};
251
- }
252
- var yyloc = lexer2.yylloc;
253
- lstack.push(yyloc);
254
- var ranges = lexer2.options && lexer2.options.ranges;
255
- if (typeof sharedState.yy.parseError === "function") {
256
- this.parseError = sharedState.yy.parseError;
257
- } else {
258
- this.parseError = Object.getPrototypeOf(this).parseError;
259
- }
260
- function popStack(n) {
261
- stack.length = stack.length - 2 * n;
262
- vstack.length = vstack.length - n;
263
- lstack.length = lstack.length - n;
264
- }
265
- __name(popStack, "popStack");
266
- function lex() {
267
- var token;
268
- token = tstack.pop() || lexer2.lex() || EOF;
269
- if (typeof token !== "number") {
270
- if (token instanceof Array) {
271
- tstack = token;
272
- token = tstack.pop();
273
- }
274
- token = self.symbols_[token] || token;
275
- }
276
- return token;
277
- }
278
- __name(lex, "lex");
279
- var symbol, state, action, r, yyval = {}, p, len, newState, expected;
280
- while (true) {
281
- state = stack[stack.length - 1];
282
- if (this.defaultActions[state]) {
283
- action = this.defaultActions[state];
284
- } else {
285
- if (symbol === null || typeof symbol == "undefined") {
286
- symbol = lex();
287
- }
288
- action = table[state] && table[state][symbol];
289
- }
290
- if (typeof action === "undefined" || !action.length || !action[0]) {
291
- var errStr = "";
292
- expected = [];
293
- for (p in table[state]) {
294
- if (this.terminals_[p] && p > TERROR) {
295
- expected.push("'" + this.terminals_[p] + "'");
296
- }
297
- }
298
- if (lexer2.showPosition) {
299
- errStr = "Parse error on line " + (yylineno + 1) + ":\n" + lexer2.showPosition() + "\nExpecting " + expected.join(", ") + ", got '" + (this.terminals_[symbol] || symbol) + "'";
300
- } else {
301
- errStr = "Parse error on line " + (yylineno + 1) + ": Unexpected " + (symbol == EOF ? "end of input" : "'" + (this.terminals_[symbol] || symbol) + "'");
302
- }
303
- this.parseError(errStr, {
304
- text: lexer2.match,
305
- token: this.terminals_[symbol] || symbol,
306
- line: lexer2.yylineno,
307
- loc: yyloc,
308
- expected
309
- });
310
- }
311
- if (action[0] instanceof Array && action.length > 1) {
312
- throw new Error("Parse Error: multiple actions possible at state: " + state + ", token: " + symbol);
313
- }
314
- switch (action[0]) {
315
- case 1:
316
- stack.push(symbol);
317
- vstack.push(lexer2.yytext);
318
- lstack.push(lexer2.yylloc);
319
- stack.push(action[1]);
320
- symbol = null;
321
- {
322
- yyleng = lexer2.yyleng;
323
- yytext = lexer2.yytext;
324
- yylineno = lexer2.yylineno;
325
- yyloc = lexer2.yylloc;
326
- }
327
- break;
328
- case 2:
329
- len = this.productions_[action[1]][1];
330
- yyval.$ = vstack[vstack.length - len];
331
- yyval._$ = {
332
- first_line: lstack[lstack.length - (len || 1)].first_line,
333
- last_line: lstack[lstack.length - 1].last_line,
334
- first_column: lstack[lstack.length - (len || 1)].first_column,
335
- last_column: lstack[lstack.length - 1].last_column
336
- };
337
- if (ranges) {
338
- yyval._$.range = [
339
- lstack[lstack.length - (len || 1)].range[0],
340
- lstack[lstack.length - 1].range[1]
341
- ];
342
- }
343
- r = this.performAction.apply(yyval, [
344
- yytext,
345
- yyleng,
346
- yylineno,
347
- sharedState.yy,
348
- action[1],
349
- vstack,
350
- lstack
351
- ].concat(args));
352
- if (typeof r !== "undefined") {
353
- return r;
354
- }
355
- if (len) {
356
- stack = stack.slice(0, -1 * len * 2);
357
- vstack = vstack.slice(0, -1 * len);
358
- lstack = lstack.slice(0, -1 * len);
359
- }
360
- stack.push(this.productions_[action[1]][0]);
361
- vstack.push(yyval.$);
362
- lstack.push(yyval._$);
363
- newState = table[stack[stack.length - 2]][stack[stack.length - 1]];
364
- stack.push(newState);
365
- break;
366
- case 3:
367
- return true;
368
- }
369
- }
370
- return true;
371
- }, "parse")
372
- };
373
- var lexer = /* @__PURE__ */ function() {
374
- var lexer2 = {
375
- EOF: 1,
376
- parseError: /* @__PURE__ */ __name(function parseError(str, hash) {
377
- if (this.yy.parser) {
378
- this.yy.parser.parseError(str, hash);
379
- } else {
380
- throw new Error(str);
381
- }
382
- }, "parseError"),
383
- // resets the lexer, sets new input
384
- setInput: /* @__PURE__ */ __name(function(input, yy) {
385
- this.yy = yy || this.yy || {};
386
- this._input = input;
387
- this._more = this._backtrack = this.done = false;
388
- this.yylineno = this.yyleng = 0;
389
- this.yytext = this.matched = this.match = "";
390
- this.conditionStack = ["INITIAL"];
391
- this.yylloc = {
392
- first_line: 1,
393
- first_column: 0,
394
- last_line: 1,
395
- last_column: 0
396
- };
397
- if (this.options.ranges) {
398
- this.yylloc.range = [0, 0];
399
- }
400
- this.offset = 0;
401
- return this;
402
- }, "setInput"),
403
- // consumes and returns one char from the input
404
- input: /* @__PURE__ */ __name(function() {
405
- var ch = this._input[0];
406
- this.yytext += ch;
407
- this.yyleng++;
408
- this.offset++;
409
- this.match += ch;
410
- this.matched += ch;
411
- var lines = ch.match(/(?:\r\n?|\n).*/g);
412
- if (lines) {
413
- this.yylineno++;
414
- this.yylloc.last_line++;
415
- } else {
416
- this.yylloc.last_column++;
417
- }
418
- if (this.options.ranges) {
419
- this.yylloc.range[1]++;
420
- }
421
- this._input = this._input.slice(1);
422
- return ch;
423
- }, "input"),
424
- // unshifts one char (or a string) into the input
425
- unput: /* @__PURE__ */ __name(function(ch) {
426
- var len = ch.length;
427
- var lines = ch.split(/(?:\r\n?|\n)/g);
428
- this._input = ch + this._input;
429
- this.yytext = this.yytext.substr(0, this.yytext.length - len);
430
- this.offset -= len;
431
- var oldLines = this.match.split(/(?:\r\n?|\n)/g);
432
- this.match = this.match.substr(0, this.match.length - 1);
433
- this.matched = this.matched.substr(0, this.matched.length - 1);
434
- if (lines.length - 1) {
435
- this.yylineno -= lines.length - 1;
436
- }
437
- var r = this.yylloc.range;
438
- this.yylloc = {
439
- first_line: this.yylloc.first_line,
440
- last_line: this.yylineno + 1,
441
- first_column: this.yylloc.first_column,
442
- 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
443
- };
444
- if (this.options.ranges) {
445
- this.yylloc.range = [r[0], r[0] + this.yyleng - len];
446
- }
447
- this.yyleng = this.yytext.length;
448
- return this;
449
- }, "unput"),
450
- // When called from action, caches matched text and appends it on next action
451
- more: /* @__PURE__ */ __name(function() {
452
- this._more = true;
453
- return this;
454
- }, "more"),
455
- // 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.
456
- reject: /* @__PURE__ */ __name(function() {
457
- if (this.options.backtrack_lexer) {
458
- this._backtrack = true;
459
- } else {
460
- 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(), {
461
- text: "",
462
- token: null,
463
- line: this.yylineno
464
- });
465
- }
466
- return this;
467
- }, "reject"),
468
- // retain first n characters of the match
469
- less: /* @__PURE__ */ __name(function(n) {
470
- this.unput(this.match.slice(n));
471
- }, "less"),
472
- // displays already matched input, i.e. for error messages
473
- pastInput: /* @__PURE__ */ __name(function() {
474
- var past = this.matched.substr(0, this.matched.length - this.match.length);
475
- return (past.length > 20 ? "..." : "") + past.substr(-20).replace(/\n/g, "");
476
- }, "pastInput"),
477
- // displays upcoming input, i.e. for error messages
478
- upcomingInput: /* @__PURE__ */ __name(function() {
479
- var next = this.match;
480
- if (next.length < 20) {
481
- next += this._input.substr(0, 20 - next.length);
482
- }
483
- return (next.substr(0, 20) + (next.length > 20 ? "..." : "")).replace(/\n/g, "");
484
- }, "upcomingInput"),
485
- // displays the character position where the lexing error occurred, i.e. for error messages
486
- showPosition: /* @__PURE__ */ __name(function() {
487
- var pre = this.pastInput();
488
- var c = new Array(pre.length + 1).join("-");
489
- return pre + this.upcomingInput() + "\n" + c + "^";
490
- }, "showPosition"),
491
- // test the lexed token: return FALSE when not a match, otherwise return token
492
- test_match: /* @__PURE__ */ __name(function(match, indexed_rule) {
493
- var token, lines, backup;
494
- if (this.options.backtrack_lexer) {
495
- backup = {
496
- yylineno: this.yylineno,
497
- yylloc: {
498
- first_line: this.yylloc.first_line,
499
- last_line: this.last_line,
500
- first_column: this.yylloc.first_column,
501
- last_column: this.yylloc.last_column
502
- },
503
- yytext: this.yytext,
504
- match: this.match,
505
- matches: this.matches,
506
- matched: this.matched,
507
- yyleng: this.yyleng,
508
- offset: this.offset,
509
- _more: this._more,
510
- _input: this._input,
511
- yy: this.yy,
512
- conditionStack: this.conditionStack.slice(0),
513
- done: this.done
514
- };
515
- if (this.options.ranges) {
516
- backup.yylloc.range = this.yylloc.range.slice(0);
517
- }
518
- }
519
- lines = match[0].match(/(?:\r\n?|\n).*/g);
520
- if (lines) {
521
- this.yylineno += lines.length;
522
- }
523
- this.yylloc = {
524
- first_line: this.yylloc.last_line,
525
- last_line: this.yylineno + 1,
526
- first_column: this.yylloc.last_column,
527
- last_column: lines ? lines[lines.length - 1].length - lines[lines.length - 1].match(/\r?\n?/)[0].length : this.yylloc.last_column + match[0].length
528
- };
529
- this.yytext += match[0];
530
- this.match += match[0];
531
- this.matches = match;
532
- this.yyleng = this.yytext.length;
533
- if (this.options.ranges) {
534
- this.yylloc.range = [this.offset, this.offset += this.yyleng];
535
- }
536
- this._more = false;
537
- this._backtrack = false;
538
- this._input = this._input.slice(match[0].length);
539
- this.matched += match[0];
540
- token = this.performAction.call(this, this.yy, this, indexed_rule, this.conditionStack[this.conditionStack.length - 1]);
541
- if (this.done && this._input) {
542
- this.done = false;
543
- }
544
- if (token) {
545
- return token;
546
- } else if (this._backtrack) {
547
- for (var k in backup) {
548
- this[k] = backup[k];
549
- }
550
- return false;
551
- }
552
- return false;
553
- }, "test_match"),
554
- // return next match in input
555
- next: /* @__PURE__ */ __name(function() {
556
- if (this.done) {
557
- return this.EOF;
558
- }
559
- if (!this._input) {
560
- this.done = true;
561
- }
562
- var token, match, tempMatch, index;
563
- if (!this._more) {
564
- this.yytext = "";
565
- this.match = "";
566
- }
567
- var rules = this._currentRules();
568
- for (var i = 0; i < rules.length; i++) {
569
- tempMatch = this._input.match(this.rules[rules[i]]);
570
- if (tempMatch && (!match || tempMatch[0].length > match[0].length)) {
571
- match = tempMatch;
572
- index = i;
573
- if (this.options.backtrack_lexer) {
574
- token = this.test_match(tempMatch, rules[i]);
575
- if (token !== false) {
576
- return token;
577
- } else if (this._backtrack) {
578
- match = false;
579
- continue;
580
- } else {
581
- return false;
582
- }
583
- } else if (!this.options.flex) {
584
- break;
585
- }
586
- }
587
- }
588
- if (match) {
589
- token = this.test_match(match, rules[index]);
590
- if (token !== false) {
591
- return token;
592
- }
593
- return false;
594
- }
595
- if (this._input === "") {
596
- return this.EOF;
597
- } else {
598
- return this.parseError("Lexical error on line " + (this.yylineno + 1) + ". Unrecognized text.\n" + this.showPosition(), {
599
- text: "",
600
- token: null,
601
- line: this.yylineno
602
- });
603
- }
604
- }, "next"),
605
- // return next match that has a token
606
- lex: /* @__PURE__ */ __name(function lex() {
607
- var r = this.next();
608
- if (r) {
609
- return r;
610
- } else {
611
- return this.lex();
612
- }
613
- }, "lex"),
614
- // activates a new lexer condition state (pushes the new lexer condition state onto the condition stack)
615
- begin: /* @__PURE__ */ __name(function begin(condition) {
616
- this.conditionStack.push(condition);
617
- }, "begin"),
618
- // pop the previously active lexer condition state off the condition stack
619
- popState: /* @__PURE__ */ __name(function popState() {
620
- var n = this.conditionStack.length - 1;
621
- if (n > 0) {
622
- return this.conditionStack.pop();
623
- } else {
624
- return this.conditionStack[0];
625
- }
626
- }, "popState"),
627
- // produce the lexer rule set which is active for the currently active lexer condition state
628
- _currentRules: /* @__PURE__ */ __name(function _currentRules() {
629
- if (this.conditionStack.length && this.conditionStack[this.conditionStack.length - 1]) {
630
- return this.conditions[this.conditionStack[this.conditionStack.length - 1]].rules;
631
- } else {
632
- return this.conditions["INITIAL"].rules;
633
- }
634
- }, "_currentRules"),
635
- // return the currently active lexer condition state; when an index argument is provided it produces the N-th previous condition state, if available
636
- topState: /* @__PURE__ */ __name(function topState(n) {
637
- n = this.conditionStack.length - 1 - Math.abs(n || 0);
638
- if (n >= 0) {
639
- return this.conditionStack[n];
640
- } else {
641
- return "INITIAL";
642
- }
643
- }, "topState"),
644
- // alias for begin(condition)
645
- pushState: /* @__PURE__ */ __name(function pushState(condition) {
646
- this.begin(condition);
647
- }, "pushState"),
648
- // return the number of states currently on the stack
649
- stateStackSize: /* @__PURE__ */ __name(function stateStackSize() {
650
- return this.conditionStack.length;
651
- }, "stateStackSize"),
652
- options: { "case-insensitive": true },
653
- performAction: /* @__PURE__ */ __name(function anonymous(yy, yy_, $avoiding_name_collisions, YY_START) {
654
- switch ($avoiding_name_collisions) {
655
- case 0:
656
- this.begin("acc_title");
657
- return 24;
658
- case 1:
659
- this.popState();
660
- return "acc_title_value";
661
- case 2:
662
- this.begin("acc_descr");
663
- return 26;
664
- case 3:
665
- this.popState();
666
- return "acc_descr_value";
667
- case 4:
668
- this.begin("acc_descr_multiline");
669
- break;
670
- case 5:
671
- this.popState();
672
- break;
673
- case 6:
674
- return "acc_descr_multiline_value";
675
- case 7:
676
- return 33;
677
- case 8:
678
- return 34;
679
- case 9:
680
- return 35;
681
- case 10:
682
- return 36;
683
- case 11:
684
- return 10;
685
- case 12:
686
- break;
687
- case 13:
688
- return 8;
689
- case 14:
690
- return 50;
691
- case 15:
692
- return 70;
693
- case 16:
694
- return 4;
695
- case 17:
696
- this.begin("block");
697
- return 17;
698
- case 18:
699
- return 49;
700
- case 19:
701
- return 49;
702
- case 20:
703
- return 42;
704
- case 21:
705
- return 15;
706
- case 22:
707
- return 13;
708
- case 23:
709
- break;
710
- case 24:
711
- return 59;
712
- case 25:
713
- return 56;
714
- case 26:
715
- return 56;
716
- case 27:
717
- return 60;
718
- case 28:
719
- break;
720
- case 29:
721
- this.popState();
722
- return 19;
723
- case 30:
724
- return yy_.yytext[0];
725
- case 31:
726
- return 20;
727
- case 32:
728
- return 21;
729
- case 33:
730
- this.begin("style");
731
- return 44;
732
- case 34:
733
- this.popState();
734
- return 10;
735
- case 35:
736
- break;
737
- case 36:
738
- return 13;
739
- case 37:
740
- return 42;
741
- case 38:
742
- return 49;
743
- case 39:
744
- this.begin("style");
745
- return 37;
746
- case 40:
747
- return 43;
748
- case 41:
749
- return 63;
750
- case 42:
751
- return 65;
752
- case 43:
753
- return 65;
754
- case 44:
755
- return 65;
756
- case 45:
757
- return 63;
758
- case 46:
759
- return 63;
760
- case 47:
761
- return 64;
762
- case 48:
763
- return 64;
764
- case 49:
765
- return 64;
766
- case 50:
767
- return 64;
768
- case 51:
769
- return 64;
770
- case 52:
771
- return 65;
772
- case 53:
773
- return 64;
774
- case 54:
775
- return 65;
776
- case 55:
777
- return 66;
778
- case 56:
779
- return 66;
780
- case 57:
781
- return 66;
782
- case 58:
783
- return 66;
784
- case 59:
785
- return 63;
786
- case 60:
787
- return 64;
788
- case 61:
789
- return 65;
790
- case 62:
791
- return 67;
792
- case 63:
793
- return 68;
794
- case 64:
795
- return 69;
796
- case 65:
797
- return 69;
798
- case 66:
799
- return 68;
800
- case 67:
801
- return 68;
802
- case 68:
803
- return 68;
804
- case 69:
805
- return 41;
806
- case 70:
807
- return 47;
808
- case 71:
809
- return 40;
810
- case 72:
811
- return 48;
812
- case 73:
813
- return yy_.yytext[0];
814
- case 74:
815
- return 6;
816
- }
817
- }, "anonymous"),
818
- rules: [/^(?:accTitle\s*:\s*)/i, /^(?:(?!\n||)*[^\n]*)/i, /^(?:accDescr\s*:\s*)/i, /^(?:(?!\n||)*[^\n]*)/i, /^(?:accDescr\s*\{\s*)/i, /^(?:[\}])/i, /^(?:[^\}]*)/i, /^(?:.*direction\s+TB[^\n]*)/i, /^(?:.*direction\s+BT[^\n]*)/i, /^(?:.*direction\s+RL[^\n]*)/i, /^(?:.*direction\s+LR[^\n]*)/i, /^(?:[\n]+)/i, /^(?:\s+)/i, /^(?:[\s]+)/i, /^(?:"[^"%\r\n\v\b\\]+")/i, /^(?:"[^"]*")/i, /^(?:erDiagram\b)/i, /^(?:\{)/i, /^(?:#)/i, /^(?:#)/i, /^(?:,)/i, /^(?::::)/i, /^(?::)/i, /^(?:\s+)/i, /^(?:\b((?:PK)|(?:FK)|(?:UK))\b)/i, /^(?:([^\s]*)[~].*[~]([^\s]*))/i, /^(?:([\*A-Za-z_\u00C0-\uFFFF][A-Za-z0-9\-\_\[\]\(\)\u00C0-\uFFFF\*]*))/i, /^(?:"[^"]*")/i, /^(?:[\n]+)/i, /^(?:\})/i, /^(?:.)/i, /^(?:\[)/i, /^(?:\])/i, /^(?:style\b)/i, /^(?:[\n]+)/i, /^(?:\s+)/i, /^(?::)/i, /^(?:,)/i, /^(?:#)/i, /^(?:classDef\b)/i, /^(?:class\b)/i, /^(?:one or zero\b)/i, /^(?:one or more\b)/i, /^(?:one or many\b)/i, /^(?:1\+)/i, /^(?:\|o\b)/i, /^(?:zero or one\b)/i, /^(?:zero or more\b)/i, /^(?:zero or many\b)/i, /^(?:0\+)/i, /^(?:\}o\b)/i, /^(?:many\(0\))/i, /^(?:many\(1\))/i, /^(?:many\b)/i, /^(?:\}\|)/i, /^(?:one\b)/i, /^(?:only one\b)/i, /^(?:1\b)/i, /^(?:\|\|)/i, /^(?:o\|)/i, /^(?:o\{)/i, /^(?:\|\{)/i, /^(?:\s*u\b)/i, /^(?:\.\.)/i, /^(?:--)/i, /^(?:to\b)/i, /^(?:optionally to\b)/i, /^(?:\.-)/i, /^(?:-\.)/i, /^(?:([^\x00-\x7F]|\w|-|\*)+)/i, /^(?:;)/i, /^(?:([^\x00-\x7F]|\w|-|\*)+)/i, /^(?:[0-9])/i, /^(?:.)/i, /^(?:$)/i],
819
- conditions: { "style": { "rules": [34, 35, 36, 37, 38, 69, 70], "inclusive": false }, "acc_descr_multiline": { "rules": [5, 6], "inclusive": false }, "acc_descr": { "rules": [3], "inclusive": false }, "acc_title": { "rules": [1], "inclusive": false }, "block": { "rules": [23, 24, 25, 26, 27, 28, 29, 30], "inclusive": false }, "INITIAL": { "rules": [0, 2, 4, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 31, 32, 33, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 71, 72, 73, 74], "inclusive": true } }
820
- };
821
- return lexer2;
822
- }();
823
- parser2.lexer = lexer;
824
- function Parser() {
825
- this.yy = {};
826
- }
827
- __name(Parser, "Parser");
828
- Parser.prototype = parser2;
829
- parser2.Parser = Parser;
830
- return new Parser();
831
- }();
832
- parser.parser = parser;
833
- var erDiagram_default = parser;
834
- var ErDB = (_a = class {
835
- constructor() {
836
- this.entities = /* @__PURE__ */ new Map();
837
- this.relationships = [];
838
- this.classes = /* @__PURE__ */ new Map();
839
- this.direction = "TB";
840
- this.Cardinality = {
841
- ZERO_OR_ONE: "ZERO_OR_ONE",
842
- ZERO_OR_MORE: "ZERO_OR_MORE",
843
- ONE_OR_MORE: "ONE_OR_MORE",
844
- ONLY_ONE: "ONLY_ONE",
845
- MD_PARENT: "MD_PARENT"
846
- };
847
- this.Identification = {
848
- NON_IDENTIFYING: "NON_IDENTIFYING",
849
- IDENTIFYING: "IDENTIFYING"
850
- };
851
- this.setAccTitle = setAccTitle;
852
- this.getAccTitle = getAccTitle;
853
- this.setAccDescription = setAccDescription;
854
- this.getAccDescription = getAccDescription;
855
- this.setDiagramTitle = setDiagramTitle;
856
- this.getDiagramTitle = getDiagramTitle;
857
- this.getConfig = /* @__PURE__ */ __name(() => getConfig2().er, "getConfig");
858
- this.clear();
859
- this.addEntity = this.addEntity.bind(this);
860
- this.addAttributes = this.addAttributes.bind(this);
861
- this.addRelationship = this.addRelationship.bind(this);
862
- this.setDirection = this.setDirection.bind(this);
863
- this.addCssStyles = this.addCssStyles.bind(this);
864
- this.addClass = this.addClass.bind(this);
865
- this.setClass = this.setClass.bind(this);
866
- this.setAccTitle = this.setAccTitle.bind(this);
867
- this.setAccDescription = this.setAccDescription.bind(this);
868
- }
869
- /**
870
- * Add entity
871
- * @param name - The name of the entity
872
- * @param alias - The alias of the entity
873
- */
874
- addEntity(name, alias = "") {
875
- var _a2;
876
- if (!this.entities.has(name)) {
877
- this.entities.set(name, {
878
- id: `entity-${name}-${this.entities.size}`,
879
- label: name,
880
- attributes: [],
881
- alias,
882
- shape: "erBox",
883
- look: getConfig2().look ?? "default",
884
- cssClasses: "default",
885
- cssStyles: []
886
- });
887
- log.info("Added new entity :", name);
888
- } else if (!((_a2 = this.entities.get(name)) == null ? void 0 : _a2.alias) && alias) {
889
- this.entities.get(name).alias = alias;
890
- log.info(`Add alias '${alias}' to entity '${name}'`);
891
- }
892
- return this.entities.get(name);
893
- }
894
- getEntity(name) {
895
- return this.entities.get(name);
896
- }
897
- getEntities() {
898
- return this.entities;
899
- }
900
- getClasses() {
901
- return this.classes;
902
- }
903
- addAttributes(entityName, attribs) {
904
- const entity = this.addEntity(entityName);
905
- let i;
906
- for (i = attribs.length - 1; i >= 0; i--) {
907
- if (!attribs[i].keys) {
908
- attribs[i].keys = [];
909
- }
910
- if (!attribs[i].comment) {
911
- attribs[i].comment = "";
912
- }
913
- entity.attributes.push(attribs[i]);
914
- log.debug("Added attribute ", attribs[i].name);
915
- }
916
- }
917
- /**
918
- * Add a relationship
919
- *
920
- * @param entA - The first entity in the relationship
921
- * @param rolA - The role played by the first entity in relation to the second
922
- * @param entB - The second entity in the relationship
923
- * @param rSpec - The details of the relationship between the two entities
924
- */
925
- addRelationship(entA, rolA, entB, rSpec) {
926
- const entityA = this.entities.get(entA);
927
- const entityB = this.entities.get(entB);
928
- if (!entityA || !entityB) {
929
- return;
930
- }
931
- const rel = {
932
- entityA: entityA.id,
933
- roleA: rolA,
934
- entityB: entityB.id,
935
- relSpec: rSpec
936
- };
937
- this.relationships.push(rel);
938
- log.debug("Added new relationship :", rel);
939
- }
940
- getRelationships() {
941
- return this.relationships;
942
- }
943
- getDirection() {
944
- return this.direction;
945
- }
946
- setDirection(dir) {
947
- this.direction = dir;
948
- }
949
- getCompiledStyles(classDefs) {
950
- let compiledStyles = [];
951
- for (const customClass of classDefs) {
952
- const cssClass = this.classes.get(customClass);
953
- if (cssClass == null ? void 0 : cssClass.styles) {
954
- compiledStyles = [...compiledStyles, ...cssClass.styles ?? []].map((s) => s.trim());
955
- }
956
- if (cssClass == null ? void 0 : cssClass.textStyles) {
957
- compiledStyles = [...compiledStyles, ...cssClass.textStyles ?? []].map((s) => s.trim());
958
- }
959
- }
960
- return compiledStyles;
961
- }
962
- addCssStyles(ids, styles) {
963
- for (const id of ids) {
964
- const entity = this.entities.get(id);
965
- if (!styles || !entity) {
966
- return;
967
- }
968
- for (const style of styles) {
969
- entity.cssStyles.push(style);
970
- }
971
- }
972
- }
973
- addClass(ids, style) {
974
- ids.forEach((id) => {
975
- let classNode = this.classes.get(id);
976
- if (classNode === void 0) {
977
- classNode = { id, styles: [], textStyles: [] };
978
- this.classes.set(id, classNode);
979
- }
980
- if (style) {
981
- style.forEach(function(s) {
982
- if (/color/.exec(s)) {
983
- const newStyle = s.replace("fill", "bgFill");
984
- classNode.textStyles.push(newStyle);
985
- }
986
- classNode.styles.push(s);
987
- });
988
- }
989
- });
990
- }
991
- setClass(ids, classNames) {
992
- for (const id of ids) {
993
- const entity = this.entities.get(id);
994
- if (entity) {
995
- for (const className of classNames) {
996
- entity.cssClasses += " " + className;
997
- }
998
- }
999
- }
1000
- }
1001
- clear() {
1002
- this.entities = /* @__PURE__ */ new Map();
1003
- this.classes = /* @__PURE__ */ new Map();
1004
- this.relationships = [];
1005
- clear();
1006
- }
1007
- getData() {
1008
- const nodes = [];
1009
- const edges = [];
1010
- const config = getConfig2();
1011
- for (const entityKey of this.entities.keys()) {
1012
- const entityNode = this.entities.get(entityKey);
1013
- if (entityNode) {
1014
- entityNode.cssCompiledStyles = this.getCompiledStyles(entityNode.cssClasses.split(" "));
1015
- nodes.push(entityNode);
1016
- }
1017
- }
1018
- let count = 0;
1019
- for (const relationship of this.relationships) {
1020
- const edge = {
1021
- id: getEdgeId(relationship.entityA, relationship.entityB, {
1022
- prefix: "id",
1023
- counter: count++
1024
- }),
1025
- type: "normal",
1026
- curve: "basis",
1027
- start: relationship.entityA,
1028
- end: relationship.entityB,
1029
- label: relationship.roleA,
1030
- labelpos: "c",
1031
- thickness: "normal",
1032
- classes: "relationshipLine",
1033
- arrowTypeStart: relationship.relSpec.cardB.toLowerCase(),
1034
- arrowTypeEnd: relationship.relSpec.cardA.toLowerCase(),
1035
- pattern: relationship.relSpec.relType == "IDENTIFYING" ? "solid" : "dashed",
1036
- look: config.look
1037
- };
1038
- edges.push(edge);
1039
- }
1040
- return { nodes, edges, other: {}, config, direction: "TB" };
1041
- }
1042
- }, __name(_a, "ErDB"), _a);
1043
- var erRenderer_unified_exports = {};
1044
- __export(erRenderer_unified_exports, {
1045
- draw: () => draw
1046
- });
1047
- var draw = /* @__PURE__ */ __name(async function(text, id, _version, diag) {
1048
- log.info("REF0:");
1049
- log.info("Drawing er diagram (unified)", id);
1050
- const { securityLevel, er: conf, layout } = getConfig2();
1051
- const data4Layout = diag.db.getData();
1052
- const svg = getDiagramElement(id, securityLevel);
1053
- data4Layout.type = diag.type;
1054
- data4Layout.layoutAlgorithm = getRegisteredLayoutAlgorithm(layout);
1055
- data4Layout.config.flowchart.nodeSpacing = (conf == null ? void 0 : conf.nodeSpacing) || 140;
1056
- data4Layout.config.flowchart.rankSpacing = (conf == null ? void 0 : conf.rankSpacing) || 80;
1057
- data4Layout.direction = diag.db.getDirection();
1058
- data4Layout.markers = ["only_one", "zero_or_one", "one_or_more", "zero_or_more"];
1059
- data4Layout.diagramId = id;
1060
- await render(data4Layout, svg);
1061
- if (data4Layout.layoutAlgorithm === "elk") {
1062
- svg.select(".edges").lower();
1063
- }
1064
- const backgroundNodes = svg.selectAll('[id*="-background"]');
1065
- if (Array.from(backgroundNodes).length > 0) {
1066
- backgroundNodes.each(function() {
1067
- const backgroundNode = select(this);
1068
- const backgroundId = backgroundNode.attr("id");
1069
- const nonBackgroundId = backgroundId.replace("-background", "");
1070
- const nonBackgroundNode = svg.select(`#${CSS.escape(nonBackgroundId)}`);
1071
- if (!nonBackgroundNode.empty()) {
1072
- const transform = nonBackgroundNode.attr("transform");
1073
- backgroundNode.attr("transform", transform);
1074
- }
1075
- });
1076
- }
1077
- const padding = 8;
1078
- utils_default.insertTitle(
1079
- svg,
1080
- "erDiagramTitleText",
1081
- (conf == null ? void 0 : conf.titleTopMargin) ?? 25,
1082
- diag.db.getDiagramTitle()
1083
- );
1084
- setupViewPortForSVG(svg, padding, "erDiagram", (conf == null ? void 0 : conf.useMaxWidth) ?? true);
1085
- }, "draw");
1086
- var fade = /* @__PURE__ */ __name((color, opacity) => {
1087
- const channel2 = channel;
1088
- const r = channel2(color, "r");
1089
- const g = channel2(color, "g");
1090
- const b = channel2(color, "b");
1091
- return rgba(r, g, b, opacity);
1092
- }, "fade");
1093
- var getStyles = /* @__PURE__ */ __name((options) => `
1094
- .entityBox {
1095
- fill: ${options.mainBkg};
1096
- stroke: ${options.nodeBorder};
1097
- }
1098
-
1099
- .relationshipLabelBox {
1100
- fill: ${options.tertiaryColor};
1101
- opacity: 0.7;
1102
- background-color: ${options.tertiaryColor};
1103
- rect {
1104
- opacity: 0.5;
1105
- }
1106
- }
1107
-
1108
- .labelBkg {
1109
- background-color: ${fade(options.tertiaryColor, 0.5)};
1110
- }
1111
-
1112
- .edgeLabel .label {
1113
- fill: ${options.nodeBorder};
1114
- font-size: 14px;
1115
- }
1116
-
1117
- .label {
1118
- font-family: ${options.fontFamily};
1119
- color: ${options.nodeTextColor || options.textColor};
1120
- }
1121
-
1122
- .edge-pattern-dashed {
1123
- stroke-dasharray: 8,8;
1124
- }
1125
-
1126
- .node rect,
1127
- .node circle,
1128
- .node ellipse,
1129
- .node polygon
1130
- {
1131
- fill: ${options.mainBkg};
1132
- stroke: ${options.nodeBorder};
1133
- stroke-width: 1px;
1134
- }
1135
-
1136
- .relationshipLine {
1137
- stroke: ${options.lineColor};
1138
- stroke-width: 1;
1139
- fill: none;
1140
- }
1141
-
1142
- .marker {
1143
- fill: none !important;
1144
- stroke: ${options.lineColor} !important;
1145
- stroke-width: 1;
1146
- }
1147
- `, "getStyles");
1148
- var styles_default = getStyles;
1149
- var diagram = {
1150
- parser: erDiagram_default,
1151
- get db() {
1152
- return new ErDB();
1153
- },
1154
- renderer: erRenderer_unified_exports,
1155
- styles: styles_default
1156
- };
1157
- export {
1158
- diagram
1159
- };
1160
- //# sourceMappingURL=erDiagram-Q2GNP2WA-BY5cfs21.js.map