@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,1338 +0,0 @@
1
- var _a, _b;
2
- import { _ as __name, s as setAccDescription, g as getAccDescription, t as getDiagramTitle, q as setDiagramTitle, a as getAccTitle, b as setAccTitle, c as getConfig2, l as log, d as select, e as configureSvgSize, z as clear, H as defaultConfig_default, a1 as getThemeVariables3, i as sanitizeText } from "./index-Bo3Feswn.js";
3
- import { l as linear } from "./linear-CsAdQFhD.js";
4
- var parser = function() {
5
- var o = /* @__PURE__ */ __name(function(k, v, o2, l) {
6
- for (o2 = o2 || {}, l = k.length; l--; o2[k[l]] = v) ;
7
- return o2;
8
- }, "o"), $V0 = [1, 3], $V1 = [1, 4], $V2 = [1, 5], $V3 = [1, 6], $V4 = [1, 7], $V5 = [1, 4, 5, 10, 12, 13, 14, 18, 25, 35, 37, 39, 41, 42, 48, 50, 51, 52, 53, 54, 55, 56, 57, 60, 61, 63, 64, 65, 66, 67], $V6 = [1, 4, 5, 10, 12, 13, 14, 18, 25, 28, 35, 37, 39, 41, 42, 48, 50, 51, 52, 53, 54, 55, 56, 57, 60, 61, 63, 64, 65, 66, 67], $V7 = [55, 56, 57], $V8 = [2, 36], $V9 = [1, 37], $Va = [1, 36], $Vb = [1, 38], $Vc = [1, 35], $Vd = [1, 43], $Ve = [1, 41], $Vf = [1, 14], $Vg = [1, 23], $Vh = [1, 18], $Vi = [1, 19], $Vj = [1, 20], $Vk = [1, 21], $Vl = [1, 22], $Vm = [1, 24], $Vn = [1, 25], $Vo = [1, 26], $Vp = [1, 27], $Vq = [1, 28], $Vr = [1, 29], $Vs = [1, 32], $Vt = [1, 33], $Vu = [1, 34], $Vv = [1, 39], $Vw = [1, 40], $Vx = [1, 42], $Vy = [1, 44], $Vz = [1, 62], $VA = [1, 61], $VB = [4, 5, 8, 10, 12, 13, 14, 18, 44, 47, 49, 55, 56, 57, 63, 64, 65, 66, 67], $VC = [1, 65], $VD = [1, 66], $VE = [1, 67], $VF = [1, 68], $VG = [1, 69], $VH = [1, 70], $VI = [1, 71], $VJ = [1, 72], $VK = [1, 73], $VL = [1, 74], $VM = [1, 75], $VN = [1, 76], $VO = [4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 18], $VP = [1, 90], $VQ = [1, 91], $VR = [1, 92], $VS = [1, 99], $VT = [1, 93], $VU = [1, 96], $VV = [1, 94], $VW = [1, 95], $VX = [1, 97], $VY = [1, 98], $VZ = [1, 102], $V_ = [10, 55, 56, 57], $V$ = [4, 5, 6, 8, 10, 11, 13, 17, 18, 19, 20, 55, 56, 57];
9
- var parser2 = {
10
- trace: /* @__PURE__ */ __name(function trace() {
11
- }, "trace"),
12
- yy: {},
13
- symbols_: { "error": 2, "idStringToken": 3, "ALPHA": 4, "NUM": 5, "NODE_STRING": 6, "DOWN": 7, "MINUS": 8, "DEFAULT": 9, "COMMA": 10, "COLON": 11, "AMP": 12, "BRKT": 13, "MULT": 14, "UNICODE_TEXT": 15, "styleComponent": 16, "UNIT": 17, "SPACE": 18, "STYLE": 19, "PCT": 20, "idString": 21, "style": 22, "stylesOpt": 23, "classDefStatement": 24, "CLASSDEF": 25, "start": 26, "eol": 27, "QUADRANT": 28, "document": 29, "line": 30, "statement": 31, "axisDetails": 32, "quadrantDetails": 33, "points": 34, "title": 35, "title_value": 36, "acc_title": 37, "acc_title_value": 38, "acc_descr": 39, "acc_descr_value": 40, "acc_descr_multiline_value": 41, "section": 42, "text": 43, "point_start": 44, "point_x": 45, "point_y": 46, "class_name": 47, "X-AXIS": 48, "AXIS-TEXT-DELIMITER": 49, "Y-AXIS": 50, "QUADRANT_1": 51, "QUADRANT_2": 52, "QUADRANT_3": 53, "QUADRANT_4": 54, "NEWLINE": 55, "SEMI": 56, "EOF": 57, "alphaNumToken": 58, "textNoTagsToken": 59, "STR": 60, "MD_STR": 61, "alphaNum": 62, "PUNCTUATION": 63, "PLUS": 64, "EQUALS": 65, "DOT": 66, "UNDERSCORE": 67, "$accept": 0, "$end": 1 },
14
- terminals_: { 2: "error", 4: "ALPHA", 5: "NUM", 6: "NODE_STRING", 7: "DOWN", 8: "MINUS", 9: "DEFAULT", 10: "COMMA", 11: "COLON", 12: "AMP", 13: "BRKT", 14: "MULT", 15: "UNICODE_TEXT", 17: "UNIT", 18: "SPACE", 19: "STYLE", 20: "PCT", 25: "CLASSDEF", 28: "QUADRANT", 35: "title", 36: "title_value", 37: "acc_title", 38: "acc_title_value", 39: "acc_descr", 40: "acc_descr_value", 41: "acc_descr_multiline_value", 42: "section", 44: "point_start", 45: "point_x", 46: "point_y", 47: "class_name", 48: "X-AXIS", 49: "AXIS-TEXT-DELIMITER", 50: "Y-AXIS", 51: "QUADRANT_1", 52: "QUADRANT_2", 53: "QUADRANT_3", 54: "QUADRANT_4", 55: "NEWLINE", 56: "SEMI", 57: "EOF", 60: "STR", 61: "MD_STR", 63: "PUNCTUATION", 64: "PLUS", 65: "EQUALS", 66: "DOT", 67: "UNDERSCORE" },
15
- productions_: [0, [3, 1], [3, 1], [3, 1], [3, 1], [3, 1], [3, 1], [3, 1], [3, 1], [3, 1], [3, 1], [3, 1], [3, 1], [16, 1], [16, 1], [16, 1], [16, 1], [16, 1], [16, 1], [16, 1], [16, 1], [16, 1], [16, 1], [21, 1], [21, 2], [22, 1], [22, 2], [23, 1], [23, 3], [24, 5], [26, 2], [26, 2], [26, 2], [29, 0], [29, 2], [30, 2], [31, 0], [31, 1], [31, 2], [31, 1], [31, 1], [31, 1], [31, 2], [31, 2], [31, 2], [31, 1], [31, 1], [34, 4], [34, 5], [34, 5], [34, 6], [32, 4], [32, 3], [32, 2], [32, 4], [32, 3], [32, 2], [33, 2], [33, 2], [33, 2], [33, 2], [27, 1], [27, 1], [27, 1], [43, 1], [43, 2], [43, 1], [43, 1], [62, 1], [62, 2], [58, 1], [58, 1], [58, 1], [58, 1], [58, 1], [58, 1], [58, 1], [58, 1], [58, 1], [58, 1], [58, 1], [59, 1], [59, 1], [59, 1]],
16
- performAction: /* @__PURE__ */ __name(function anonymous(yytext, yyleng, yylineno, yy, yystate, $$, _$) {
17
- var $0 = $$.length - 1;
18
- switch (yystate) {
19
- case 23:
20
- this.$ = $$[$0];
21
- break;
22
- case 24:
23
- this.$ = $$[$0 - 1] + "" + $$[$0];
24
- break;
25
- case 26:
26
- this.$ = $$[$0 - 1] + $$[$0];
27
- break;
28
- case 27:
29
- this.$ = [$$[$0].trim()];
30
- break;
31
- case 28:
32
- $$[$0 - 2].push($$[$0].trim());
33
- this.$ = $$[$0 - 2];
34
- break;
35
- case 29:
36
- this.$ = $$[$0 - 4];
37
- yy.addClass($$[$0 - 2], $$[$0]);
38
- break;
39
- case 37:
40
- this.$ = [];
41
- break;
42
- case 42:
43
- this.$ = $$[$0].trim();
44
- yy.setDiagramTitle(this.$);
45
- break;
46
- case 43:
47
- this.$ = $$[$0].trim();
48
- yy.setAccTitle(this.$);
49
- break;
50
- case 44:
51
- case 45:
52
- this.$ = $$[$0].trim();
53
- yy.setAccDescription(this.$);
54
- break;
55
- case 46:
56
- yy.addSection($$[$0].substr(8));
57
- this.$ = $$[$0].substr(8);
58
- break;
59
- case 47:
60
- yy.addPoint($$[$0 - 3], "", $$[$0 - 1], $$[$0], []);
61
- break;
62
- case 48:
63
- yy.addPoint($$[$0 - 4], $$[$0 - 3], $$[$0 - 1], $$[$0], []);
64
- break;
65
- case 49:
66
- yy.addPoint($$[$0 - 4], "", $$[$0 - 2], $$[$0 - 1], $$[$0]);
67
- break;
68
- case 50:
69
- yy.addPoint($$[$0 - 5], $$[$0 - 4], $$[$0 - 2], $$[$0 - 1], $$[$0]);
70
- break;
71
- case 51:
72
- yy.setXAxisLeftText($$[$0 - 2]);
73
- yy.setXAxisRightText($$[$0]);
74
- break;
75
- case 52:
76
- $$[$0 - 1].text += " ⟶ ";
77
- yy.setXAxisLeftText($$[$0 - 1]);
78
- break;
79
- case 53:
80
- yy.setXAxisLeftText($$[$0]);
81
- break;
82
- case 54:
83
- yy.setYAxisBottomText($$[$0 - 2]);
84
- yy.setYAxisTopText($$[$0]);
85
- break;
86
- case 55:
87
- $$[$0 - 1].text += " ⟶ ";
88
- yy.setYAxisBottomText($$[$0 - 1]);
89
- break;
90
- case 56:
91
- yy.setYAxisBottomText($$[$0]);
92
- break;
93
- case 57:
94
- yy.setQuadrant1Text($$[$0]);
95
- break;
96
- case 58:
97
- yy.setQuadrant2Text($$[$0]);
98
- break;
99
- case 59:
100
- yy.setQuadrant3Text($$[$0]);
101
- break;
102
- case 60:
103
- yy.setQuadrant4Text($$[$0]);
104
- break;
105
- case 64:
106
- this.$ = { text: $$[$0], type: "text" };
107
- break;
108
- case 65:
109
- this.$ = { text: $$[$0 - 1].text + "" + $$[$0], type: $$[$0 - 1].type };
110
- break;
111
- case 66:
112
- this.$ = { text: $$[$0], type: "text" };
113
- break;
114
- case 67:
115
- this.$ = { text: $$[$0], type: "markdown" };
116
- break;
117
- case 68:
118
- this.$ = $$[$0];
119
- break;
120
- case 69:
121
- this.$ = $$[$0 - 1] + "" + $$[$0];
122
- break;
123
- }
124
- }, "anonymous"),
125
- table: [{ 18: $V0, 26: 1, 27: 2, 28: $V1, 55: $V2, 56: $V3, 57: $V4 }, { 1: [3] }, { 18: $V0, 26: 8, 27: 2, 28: $V1, 55: $V2, 56: $V3, 57: $V4 }, { 18: $V0, 26: 9, 27: 2, 28: $V1, 55: $V2, 56: $V3, 57: $V4 }, o($V5, [2, 33], { 29: 10 }), o($V6, [2, 61]), o($V6, [2, 62]), o($V6, [2, 63]), { 1: [2, 30] }, { 1: [2, 31] }, o($V7, $V8, { 30: 11, 31: 12, 24: 13, 32: 15, 33: 16, 34: 17, 43: 30, 58: 31, 1: [2, 32], 4: $V9, 5: $Va, 10: $Vb, 12: $Vc, 13: $Vd, 14: $Ve, 18: $Vf, 25: $Vg, 35: $Vh, 37: $Vi, 39: $Vj, 41: $Vk, 42: $Vl, 48: $Vm, 50: $Vn, 51: $Vo, 52: $Vp, 53: $Vq, 54: $Vr, 60: $Vs, 61: $Vt, 63: $Vu, 64: $Vv, 65: $Vw, 66: $Vx, 67: $Vy }), o($V5, [2, 34]), { 27: 45, 55: $V2, 56: $V3, 57: $V4 }, o($V7, [2, 37]), o($V7, $V8, { 24: 13, 32: 15, 33: 16, 34: 17, 43: 30, 58: 31, 31: 46, 4: $V9, 5: $Va, 10: $Vb, 12: $Vc, 13: $Vd, 14: $Ve, 18: $Vf, 25: $Vg, 35: $Vh, 37: $Vi, 39: $Vj, 41: $Vk, 42: $Vl, 48: $Vm, 50: $Vn, 51: $Vo, 52: $Vp, 53: $Vq, 54: $Vr, 60: $Vs, 61: $Vt, 63: $Vu, 64: $Vv, 65: $Vw, 66: $Vx, 67: $Vy }), o($V7, [2, 39]), o($V7, [2, 40]), o($V7, [2, 41]), { 36: [1, 47] }, { 38: [1, 48] }, { 40: [1, 49] }, o($V7, [2, 45]), o($V7, [2, 46]), { 18: [1, 50] }, { 4: $V9, 5: $Va, 10: $Vb, 12: $Vc, 13: $Vd, 14: $Ve, 43: 51, 58: 31, 60: $Vs, 61: $Vt, 63: $Vu, 64: $Vv, 65: $Vw, 66: $Vx, 67: $Vy }, { 4: $V9, 5: $Va, 10: $Vb, 12: $Vc, 13: $Vd, 14: $Ve, 43: 52, 58: 31, 60: $Vs, 61: $Vt, 63: $Vu, 64: $Vv, 65: $Vw, 66: $Vx, 67: $Vy }, { 4: $V9, 5: $Va, 10: $Vb, 12: $Vc, 13: $Vd, 14: $Ve, 43: 53, 58: 31, 60: $Vs, 61: $Vt, 63: $Vu, 64: $Vv, 65: $Vw, 66: $Vx, 67: $Vy }, { 4: $V9, 5: $Va, 10: $Vb, 12: $Vc, 13: $Vd, 14: $Ve, 43: 54, 58: 31, 60: $Vs, 61: $Vt, 63: $Vu, 64: $Vv, 65: $Vw, 66: $Vx, 67: $Vy }, { 4: $V9, 5: $Va, 10: $Vb, 12: $Vc, 13: $Vd, 14: $Ve, 43: 55, 58: 31, 60: $Vs, 61: $Vt, 63: $Vu, 64: $Vv, 65: $Vw, 66: $Vx, 67: $Vy }, { 4: $V9, 5: $Va, 10: $Vb, 12: $Vc, 13: $Vd, 14: $Ve, 43: 56, 58: 31, 60: $Vs, 61: $Vt, 63: $Vu, 64: $Vv, 65: $Vw, 66: $Vx, 67: $Vy }, { 4: $V9, 5: $Va, 8: $Vz, 10: $Vb, 12: $Vc, 13: $Vd, 14: $Ve, 18: $VA, 44: [1, 57], 47: [1, 58], 58: 60, 59: 59, 63: $Vu, 64: $Vv, 65: $Vw, 66: $Vx, 67: $Vy }, o($VB, [2, 64]), o($VB, [2, 66]), o($VB, [2, 67]), o($VB, [2, 70]), o($VB, [2, 71]), o($VB, [2, 72]), o($VB, [2, 73]), o($VB, [2, 74]), o($VB, [2, 75]), o($VB, [2, 76]), o($VB, [2, 77]), o($VB, [2, 78]), o($VB, [2, 79]), o($VB, [2, 80]), o($V5, [2, 35]), o($V7, [2, 38]), o($V7, [2, 42]), o($V7, [2, 43]), o($V7, [2, 44]), { 3: 64, 4: $VC, 5: $VD, 6: $VE, 7: $VF, 8: $VG, 9: $VH, 10: $VI, 11: $VJ, 12: $VK, 13: $VL, 14: $VM, 15: $VN, 21: 63 }, o($V7, [2, 53], { 59: 59, 58: 60, 4: $V9, 5: $Va, 8: $Vz, 10: $Vb, 12: $Vc, 13: $Vd, 14: $Ve, 18: $VA, 49: [1, 77], 63: $Vu, 64: $Vv, 65: $Vw, 66: $Vx, 67: $Vy }), o($V7, [2, 56], { 59: 59, 58: 60, 4: $V9, 5: $Va, 8: $Vz, 10: $Vb, 12: $Vc, 13: $Vd, 14: $Ve, 18: $VA, 49: [1, 78], 63: $Vu, 64: $Vv, 65: $Vw, 66: $Vx, 67: $Vy }), o($V7, [2, 57], { 59: 59, 58: 60, 4: $V9, 5: $Va, 8: $Vz, 10: $Vb, 12: $Vc, 13: $Vd, 14: $Ve, 18: $VA, 63: $Vu, 64: $Vv, 65: $Vw, 66: $Vx, 67: $Vy }), o($V7, [2, 58], { 59: 59, 58: 60, 4: $V9, 5: $Va, 8: $Vz, 10: $Vb, 12: $Vc, 13: $Vd, 14: $Ve, 18: $VA, 63: $Vu, 64: $Vv, 65: $Vw, 66: $Vx, 67: $Vy }), o($V7, [2, 59], { 59: 59, 58: 60, 4: $V9, 5: $Va, 8: $Vz, 10: $Vb, 12: $Vc, 13: $Vd, 14: $Ve, 18: $VA, 63: $Vu, 64: $Vv, 65: $Vw, 66: $Vx, 67: $Vy }), o($V7, [2, 60], { 59: 59, 58: 60, 4: $V9, 5: $Va, 8: $Vz, 10: $Vb, 12: $Vc, 13: $Vd, 14: $Ve, 18: $VA, 63: $Vu, 64: $Vv, 65: $Vw, 66: $Vx, 67: $Vy }), { 45: [1, 79] }, { 44: [1, 80] }, o($VB, [2, 65]), o($VB, [2, 81]), o($VB, [2, 82]), o($VB, [2, 83]), { 3: 82, 4: $VC, 5: $VD, 6: $VE, 7: $VF, 8: $VG, 9: $VH, 10: $VI, 11: $VJ, 12: $VK, 13: $VL, 14: $VM, 15: $VN, 18: [1, 81] }, o($VO, [2, 23]), o($VO, [2, 1]), o($VO, [2, 2]), o($VO, [2, 3]), o($VO, [2, 4]), o($VO, [2, 5]), o($VO, [2, 6]), o($VO, [2, 7]), o($VO, [2, 8]), o($VO, [2, 9]), o($VO, [2, 10]), o($VO, [2, 11]), o($VO, [2, 12]), o($V7, [2, 52], { 58: 31, 43: 83, 4: $V9, 5: $Va, 10: $Vb, 12: $Vc, 13: $Vd, 14: $Ve, 60: $Vs, 61: $Vt, 63: $Vu, 64: $Vv, 65: $Vw, 66: $Vx, 67: $Vy }), o($V7, [2, 55], { 58: 31, 43: 84, 4: $V9, 5: $Va, 10: $Vb, 12: $Vc, 13: $Vd, 14: $Ve, 60: $Vs, 61: $Vt, 63: $Vu, 64: $Vv, 65: $Vw, 66: $Vx, 67: $Vy }), { 46: [1, 85] }, { 45: [1, 86] }, { 4: $VP, 5: $VQ, 6: $VR, 8: $VS, 11: $VT, 13: $VU, 16: 89, 17: $VV, 18: $VW, 19: $VX, 20: $VY, 22: 88, 23: 87 }, o($VO, [2, 24]), o($V7, [2, 51], { 59: 59, 58: 60, 4: $V9, 5: $Va, 8: $Vz, 10: $Vb, 12: $Vc, 13: $Vd, 14: $Ve, 18: $VA, 63: $Vu, 64: $Vv, 65: $Vw, 66: $Vx, 67: $Vy }), o($V7, [2, 54], { 59: 59, 58: 60, 4: $V9, 5: $Va, 8: $Vz, 10: $Vb, 12: $Vc, 13: $Vd, 14: $Ve, 18: $VA, 63: $Vu, 64: $Vv, 65: $Vw, 66: $Vx, 67: $Vy }), o($V7, [2, 47], { 22: 88, 16: 89, 23: 100, 4: $VP, 5: $VQ, 6: $VR, 8: $VS, 11: $VT, 13: $VU, 17: $VV, 18: $VW, 19: $VX, 20: $VY }), { 46: [1, 101] }, o($V7, [2, 29], { 10: $VZ }), o($V_, [2, 27], { 16: 103, 4: $VP, 5: $VQ, 6: $VR, 8: $VS, 11: $VT, 13: $VU, 17: $VV, 18: $VW, 19: $VX, 20: $VY }), o($V$, [2, 25]), o($V$, [2, 13]), o($V$, [2, 14]), o($V$, [2, 15]), o($V$, [2, 16]), o($V$, [2, 17]), o($V$, [2, 18]), o($V$, [2, 19]), o($V$, [2, 20]), o($V$, [2, 21]), o($V$, [2, 22]), o($V7, [2, 49], { 10: $VZ }), o($V7, [2, 48], { 22: 88, 16: 89, 23: 104, 4: $VP, 5: $VQ, 6: $VR, 8: $VS, 11: $VT, 13: $VU, 17: $VV, 18: $VW, 19: $VX, 20: $VY }), { 4: $VP, 5: $VQ, 6: $VR, 8: $VS, 11: $VT, 13: $VU, 16: 89, 17: $VV, 18: $VW, 19: $VX, 20: $VY, 22: 105 }, o($V$, [2, 26]), o($V7, [2, 50], { 10: $VZ }), o($V_, [2, 28], { 16: 103, 4: $VP, 5: $VQ, 6: $VR, 8: $VS, 11: $VT, 13: $VU, 17: $VV, 18: $VW, 19: $VX, 20: $VY })],
126
- defaultActions: { 8: [2, 30], 9: [2, 31] },
127
- parseError: /* @__PURE__ */ __name(function parseError(str, hash) {
128
- if (hash.recoverable) {
129
- this.trace(str);
130
- } else {
131
- var error = new Error(str);
132
- error.hash = hash;
133
- throw error;
134
- }
135
- }, "parseError"),
136
- parse: /* @__PURE__ */ __name(function parse(input) {
137
- var self = this, stack = [0], tstack = [], vstack = [null], lstack = [], table = this.table, yytext = "", yylineno = 0, yyleng = 0, TERROR = 2, EOF = 1;
138
- var args = lstack.slice.call(arguments, 1);
139
- var lexer2 = Object.create(this.lexer);
140
- var sharedState = { yy: {} };
141
- for (var k in this.yy) {
142
- if (Object.prototype.hasOwnProperty.call(this.yy, k)) {
143
- sharedState.yy[k] = this.yy[k];
144
- }
145
- }
146
- lexer2.setInput(input, sharedState.yy);
147
- sharedState.yy.lexer = lexer2;
148
- sharedState.yy.parser = this;
149
- if (typeof lexer2.yylloc == "undefined") {
150
- lexer2.yylloc = {};
151
- }
152
- var yyloc = lexer2.yylloc;
153
- lstack.push(yyloc);
154
- var ranges = lexer2.options && lexer2.options.ranges;
155
- if (typeof sharedState.yy.parseError === "function") {
156
- this.parseError = sharedState.yy.parseError;
157
- } else {
158
- this.parseError = Object.getPrototypeOf(this).parseError;
159
- }
160
- function popStack(n) {
161
- stack.length = stack.length - 2 * n;
162
- vstack.length = vstack.length - n;
163
- lstack.length = lstack.length - n;
164
- }
165
- __name(popStack, "popStack");
166
- function lex() {
167
- var token;
168
- token = tstack.pop() || lexer2.lex() || EOF;
169
- if (typeof token !== "number") {
170
- if (token instanceof Array) {
171
- tstack = token;
172
- token = tstack.pop();
173
- }
174
- token = self.symbols_[token] || token;
175
- }
176
- return token;
177
- }
178
- __name(lex, "lex");
179
- var symbol, state, action, r, yyval = {}, p, len, newState, expected;
180
- while (true) {
181
- state = stack[stack.length - 1];
182
- if (this.defaultActions[state]) {
183
- action = this.defaultActions[state];
184
- } else {
185
- if (symbol === null || typeof symbol == "undefined") {
186
- symbol = lex();
187
- }
188
- action = table[state] && table[state][symbol];
189
- }
190
- if (typeof action === "undefined" || !action.length || !action[0]) {
191
- var errStr = "";
192
- expected = [];
193
- for (p in table[state]) {
194
- if (this.terminals_[p] && p > TERROR) {
195
- expected.push("'" + this.terminals_[p] + "'");
196
- }
197
- }
198
- if (lexer2.showPosition) {
199
- errStr = "Parse error on line " + (yylineno + 1) + ":\n" + lexer2.showPosition() + "\nExpecting " + expected.join(", ") + ", got '" + (this.terminals_[symbol] || symbol) + "'";
200
- } else {
201
- errStr = "Parse error on line " + (yylineno + 1) + ": Unexpected " + (symbol == EOF ? "end of input" : "'" + (this.terminals_[symbol] || symbol) + "'");
202
- }
203
- this.parseError(errStr, {
204
- text: lexer2.match,
205
- token: this.terminals_[symbol] || symbol,
206
- line: lexer2.yylineno,
207
- loc: yyloc,
208
- expected
209
- });
210
- }
211
- if (action[0] instanceof Array && action.length > 1) {
212
- throw new Error("Parse Error: multiple actions possible at state: " + state + ", token: " + symbol);
213
- }
214
- switch (action[0]) {
215
- case 1:
216
- stack.push(symbol);
217
- vstack.push(lexer2.yytext);
218
- lstack.push(lexer2.yylloc);
219
- stack.push(action[1]);
220
- symbol = null;
221
- {
222
- yyleng = lexer2.yyleng;
223
- yytext = lexer2.yytext;
224
- yylineno = lexer2.yylineno;
225
- yyloc = lexer2.yylloc;
226
- }
227
- break;
228
- case 2:
229
- len = this.productions_[action[1]][1];
230
- yyval.$ = vstack[vstack.length - len];
231
- yyval._$ = {
232
- first_line: lstack[lstack.length - (len || 1)].first_line,
233
- last_line: lstack[lstack.length - 1].last_line,
234
- first_column: lstack[lstack.length - (len || 1)].first_column,
235
- last_column: lstack[lstack.length - 1].last_column
236
- };
237
- if (ranges) {
238
- yyval._$.range = [
239
- lstack[lstack.length - (len || 1)].range[0],
240
- lstack[lstack.length - 1].range[1]
241
- ];
242
- }
243
- r = this.performAction.apply(yyval, [
244
- yytext,
245
- yyleng,
246
- yylineno,
247
- sharedState.yy,
248
- action[1],
249
- vstack,
250
- lstack
251
- ].concat(args));
252
- if (typeof r !== "undefined") {
253
- return r;
254
- }
255
- if (len) {
256
- stack = stack.slice(0, -1 * len * 2);
257
- vstack = vstack.slice(0, -1 * len);
258
- lstack = lstack.slice(0, -1 * len);
259
- }
260
- stack.push(this.productions_[action[1]][0]);
261
- vstack.push(yyval.$);
262
- lstack.push(yyval._$);
263
- newState = table[stack[stack.length - 2]][stack[stack.length - 1]];
264
- stack.push(newState);
265
- break;
266
- case 3:
267
- return true;
268
- }
269
- }
270
- return true;
271
- }, "parse")
272
- };
273
- var lexer = /* @__PURE__ */ function() {
274
- var lexer2 = {
275
- EOF: 1,
276
- parseError: /* @__PURE__ */ __name(function parseError(str, hash) {
277
- if (this.yy.parser) {
278
- this.yy.parser.parseError(str, hash);
279
- } else {
280
- throw new Error(str);
281
- }
282
- }, "parseError"),
283
- // resets the lexer, sets new input
284
- setInput: /* @__PURE__ */ __name(function(input, yy) {
285
- this.yy = yy || this.yy || {};
286
- this._input = input;
287
- this._more = this._backtrack = this.done = false;
288
- this.yylineno = this.yyleng = 0;
289
- this.yytext = this.matched = this.match = "";
290
- this.conditionStack = ["INITIAL"];
291
- this.yylloc = {
292
- first_line: 1,
293
- first_column: 0,
294
- last_line: 1,
295
- last_column: 0
296
- };
297
- if (this.options.ranges) {
298
- this.yylloc.range = [0, 0];
299
- }
300
- this.offset = 0;
301
- return this;
302
- }, "setInput"),
303
- // consumes and returns one char from the input
304
- input: /* @__PURE__ */ __name(function() {
305
- var ch = this._input[0];
306
- this.yytext += ch;
307
- this.yyleng++;
308
- this.offset++;
309
- this.match += ch;
310
- this.matched += ch;
311
- var lines = ch.match(/(?:\r\n?|\n).*/g);
312
- if (lines) {
313
- this.yylineno++;
314
- this.yylloc.last_line++;
315
- } else {
316
- this.yylloc.last_column++;
317
- }
318
- if (this.options.ranges) {
319
- this.yylloc.range[1]++;
320
- }
321
- this._input = this._input.slice(1);
322
- return ch;
323
- }, "input"),
324
- // unshifts one char (or a string) into the input
325
- unput: /* @__PURE__ */ __name(function(ch) {
326
- var len = ch.length;
327
- var lines = ch.split(/(?:\r\n?|\n)/g);
328
- this._input = ch + this._input;
329
- this.yytext = this.yytext.substr(0, this.yytext.length - len);
330
- this.offset -= len;
331
- var oldLines = this.match.split(/(?:\r\n?|\n)/g);
332
- this.match = this.match.substr(0, this.match.length - 1);
333
- this.matched = this.matched.substr(0, this.matched.length - 1);
334
- if (lines.length - 1) {
335
- this.yylineno -= lines.length - 1;
336
- }
337
- var r = this.yylloc.range;
338
- this.yylloc = {
339
- first_line: this.yylloc.first_line,
340
- last_line: this.yylineno + 1,
341
- first_column: this.yylloc.first_column,
342
- 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
343
- };
344
- if (this.options.ranges) {
345
- this.yylloc.range = [r[0], r[0] + this.yyleng - len];
346
- }
347
- this.yyleng = this.yytext.length;
348
- return this;
349
- }, "unput"),
350
- // When called from action, caches matched text and appends it on next action
351
- more: /* @__PURE__ */ __name(function() {
352
- this._more = true;
353
- return this;
354
- }, "more"),
355
- // 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.
356
- reject: /* @__PURE__ */ __name(function() {
357
- if (this.options.backtrack_lexer) {
358
- this._backtrack = true;
359
- } else {
360
- 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(), {
361
- text: "",
362
- token: null,
363
- line: this.yylineno
364
- });
365
- }
366
- return this;
367
- }, "reject"),
368
- // retain first n characters of the match
369
- less: /* @__PURE__ */ __name(function(n) {
370
- this.unput(this.match.slice(n));
371
- }, "less"),
372
- // displays already matched input, i.e. for error messages
373
- pastInput: /* @__PURE__ */ __name(function() {
374
- var past = this.matched.substr(0, this.matched.length - this.match.length);
375
- return (past.length > 20 ? "..." : "") + past.substr(-20).replace(/\n/g, "");
376
- }, "pastInput"),
377
- // displays upcoming input, i.e. for error messages
378
- upcomingInput: /* @__PURE__ */ __name(function() {
379
- var next = this.match;
380
- if (next.length < 20) {
381
- next += this._input.substr(0, 20 - next.length);
382
- }
383
- return (next.substr(0, 20) + (next.length > 20 ? "..." : "")).replace(/\n/g, "");
384
- }, "upcomingInput"),
385
- // displays the character position where the lexing error occurred, i.e. for error messages
386
- showPosition: /* @__PURE__ */ __name(function() {
387
- var pre = this.pastInput();
388
- var c = new Array(pre.length + 1).join("-");
389
- return pre + this.upcomingInput() + "\n" + c + "^";
390
- }, "showPosition"),
391
- // test the lexed token: return FALSE when not a match, otherwise return token
392
- test_match: /* @__PURE__ */ __name(function(match, indexed_rule) {
393
- var token, lines, backup;
394
- if (this.options.backtrack_lexer) {
395
- backup = {
396
- yylineno: this.yylineno,
397
- yylloc: {
398
- first_line: this.yylloc.first_line,
399
- last_line: this.last_line,
400
- first_column: this.yylloc.first_column,
401
- last_column: this.yylloc.last_column
402
- },
403
- yytext: this.yytext,
404
- match: this.match,
405
- matches: this.matches,
406
- matched: this.matched,
407
- yyleng: this.yyleng,
408
- offset: this.offset,
409
- _more: this._more,
410
- _input: this._input,
411
- yy: this.yy,
412
- conditionStack: this.conditionStack.slice(0),
413
- done: this.done
414
- };
415
- if (this.options.ranges) {
416
- backup.yylloc.range = this.yylloc.range.slice(0);
417
- }
418
- }
419
- lines = match[0].match(/(?:\r\n?|\n).*/g);
420
- if (lines) {
421
- this.yylineno += lines.length;
422
- }
423
- this.yylloc = {
424
- first_line: this.yylloc.last_line,
425
- last_line: this.yylineno + 1,
426
- first_column: this.yylloc.last_column,
427
- last_column: lines ? lines[lines.length - 1].length - lines[lines.length - 1].match(/\r?\n?/)[0].length : this.yylloc.last_column + match[0].length
428
- };
429
- this.yytext += match[0];
430
- this.match += match[0];
431
- this.matches = match;
432
- this.yyleng = this.yytext.length;
433
- if (this.options.ranges) {
434
- this.yylloc.range = [this.offset, this.offset += this.yyleng];
435
- }
436
- this._more = false;
437
- this._backtrack = false;
438
- this._input = this._input.slice(match[0].length);
439
- this.matched += match[0];
440
- token = this.performAction.call(this, this.yy, this, indexed_rule, this.conditionStack[this.conditionStack.length - 1]);
441
- if (this.done && this._input) {
442
- this.done = false;
443
- }
444
- if (token) {
445
- return token;
446
- } else if (this._backtrack) {
447
- for (var k in backup) {
448
- this[k] = backup[k];
449
- }
450
- return false;
451
- }
452
- return false;
453
- }, "test_match"),
454
- // return next match in input
455
- next: /* @__PURE__ */ __name(function() {
456
- if (this.done) {
457
- return this.EOF;
458
- }
459
- if (!this._input) {
460
- this.done = true;
461
- }
462
- var token, match, tempMatch, index;
463
- if (!this._more) {
464
- this.yytext = "";
465
- this.match = "";
466
- }
467
- var rules = this._currentRules();
468
- for (var i = 0; i < rules.length; i++) {
469
- tempMatch = this._input.match(this.rules[rules[i]]);
470
- if (tempMatch && (!match || tempMatch[0].length > match[0].length)) {
471
- match = tempMatch;
472
- index = i;
473
- if (this.options.backtrack_lexer) {
474
- token = this.test_match(tempMatch, rules[i]);
475
- if (token !== false) {
476
- return token;
477
- } else if (this._backtrack) {
478
- match = false;
479
- continue;
480
- } else {
481
- return false;
482
- }
483
- } else if (!this.options.flex) {
484
- break;
485
- }
486
- }
487
- }
488
- if (match) {
489
- token = this.test_match(match, rules[index]);
490
- if (token !== false) {
491
- return token;
492
- }
493
- return false;
494
- }
495
- if (this._input === "") {
496
- return this.EOF;
497
- } else {
498
- return this.parseError("Lexical error on line " + (this.yylineno + 1) + ". Unrecognized text.\n" + this.showPosition(), {
499
- text: "",
500
- token: null,
501
- line: this.yylineno
502
- });
503
- }
504
- }, "next"),
505
- // return next match that has a token
506
- lex: /* @__PURE__ */ __name(function lex() {
507
- var r = this.next();
508
- if (r) {
509
- return r;
510
- } else {
511
- return this.lex();
512
- }
513
- }, "lex"),
514
- // activates a new lexer condition state (pushes the new lexer condition state onto the condition stack)
515
- begin: /* @__PURE__ */ __name(function begin(condition) {
516
- this.conditionStack.push(condition);
517
- }, "begin"),
518
- // pop the previously active lexer condition state off the condition stack
519
- popState: /* @__PURE__ */ __name(function popState() {
520
- var n = this.conditionStack.length - 1;
521
- if (n > 0) {
522
- return this.conditionStack.pop();
523
- } else {
524
- return this.conditionStack[0];
525
- }
526
- }, "popState"),
527
- // produce the lexer rule set which is active for the currently active lexer condition state
528
- _currentRules: /* @__PURE__ */ __name(function _currentRules() {
529
- if (this.conditionStack.length && this.conditionStack[this.conditionStack.length - 1]) {
530
- return this.conditions[this.conditionStack[this.conditionStack.length - 1]].rules;
531
- } else {
532
- return this.conditions["INITIAL"].rules;
533
- }
534
- }, "_currentRules"),
535
- // return the currently active lexer condition state; when an index argument is provided it produces the N-th previous condition state, if available
536
- topState: /* @__PURE__ */ __name(function topState(n) {
537
- n = this.conditionStack.length - 1 - Math.abs(n || 0);
538
- if (n >= 0) {
539
- return this.conditionStack[n];
540
- } else {
541
- return "INITIAL";
542
- }
543
- }, "topState"),
544
- // alias for begin(condition)
545
- pushState: /* @__PURE__ */ __name(function pushState(condition) {
546
- this.begin(condition);
547
- }, "pushState"),
548
- // return the number of states currently on the stack
549
- stateStackSize: /* @__PURE__ */ __name(function stateStackSize() {
550
- return this.conditionStack.length;
551
- }, "stateStackSize"),
552
- options: { "case-insensitive": true },
553
- performAction: /* @__PURE__ */ __name(function anonymous(yy, yy_, $avoiding_name_collisions, YY_START) {
554
- switch ($avoiding_name_collisions) {
555
- case 0:
556
- break;
557
- case 1:
558
- break;
559
- case 2:
560
- return 55;
561
- case 3:
562
- break;
563
- case 4:
564
- this.begin("title");
565
- return 35;
566
- case 5:
567
- this.popState();
568
- return "title_value";
569
- case 6:
570
- this.begin("acc_title");
571
- return 37;
572
- case 7:
573
- this.popState();
574
- return "acc_title_value";
575
- case 8:
576
- this.begin("acc_descr");
577
- return 39;
578
- case 9:
579
- this.popState();
580
- return "acc_descr_value";
581
- case 10:
582
- this.begin("acc_descr_multiline");
583
- break;
584
- case 11:
585
- this.popState();
586
- break;
587
- case 12:
588
- return "acc_descr_multiline_value";
589
- case 13:
590
- return 48;
591
- case 14:
592
- return 50;
593
- case 15:
594
- return 49;
595
- case 16:
596
- return 51;
597
- case 17:
598
- return 52;
599
- case 18:
600
- return 53;
601
- case 19:
602
- return 54;
603
- case 20:
604
- return 25;
605
- case 21:
606
- this.begin("md_string");
607
- break;
608
- case 22:
609
- return "MD_STR";
610
- case 23:
611
- this.popState();
612
- break;
613
- case 24:
614
- this.begin("string");
615
- break;
616
- case 25:
617
- this.popState();
618
- break;
619
- case 26:
620
- return "STR";
621
- case 27:
622
- this.begin("class_name");
623
- break;
624
- case 28:
625
- this.popState();
626
- return 47;
627
- case 29:
628
- this.begin("point_start");
629
- return 44;
630
- case 30:
631
- this.begin("point_x");
632
- return 45;
633
- case 31:
634
- this.popState();
635
- break;
636
- case 32:
637
- this.popState();
638
- this.begin("point_y");
639
- break;
640
- case 33:
641
- this.popState();
642
- return 46;
643
- case 34:
644
- return 28;
645
- case 35:
646
- return 4;
647
- case 36:
648
- return 11;
649
- case 37:
650
- return 64;
651
- case 38:
652
- return 10;
653
- case 39:
654
- return 65;
655
- case 40:
656
- return 65;
657
- case 41:
658
- return 14;
659
- case 42:
660
- return 13;
661
- case 43:
662
- return 67;
663
- case 44:
664
- return 66;
665
- case 45:
666
- return 12;
667
- case 46:
668
- return 8;
669
- case 47:
670
- return 5;
671
- case 48:
672
- return 18;
673
- case 49:
674
- return 56;
675
- case 50:
676
- return 63;
677
- case 51:
678
- return 57;
679
- }
680
- }, "anonymous"),
681
- rules: [/^(?:%%(?!\{)[^\n]*)/i, /^(?:[^\}]%%[^\n]*)/i, /^(?:[\n\r]+)/i, /^(?:%%[^\n]*)/i, /^(?:title\b)/i, /^(?:(?!\n||)*[^\n]*)/i, /^(?:accTitle\s*:\s*)/i, /^(?:(?!\n||)*[^\n]*)/i, /^(?:accDescr\s*:\s*)/i, /^(?:(?!\n||)*[^\n]*)/i, /^(?:accDescr\s*\{\s*)/i, /^(?:[\}])/i, /^(?:[^\}]*)/i, /^(?: *x-axis *)/i, /^(?: *y-axis *)/i, /^(?: *--+> *)/i, /^(?: *quadrant-1 *)/i, /^(?: *quadrant-2 *)/i, /^(?: *quadrant-3 *)/i, /^(?: *quadrant-4 *)/i, /^(?:classDef\b)/i, /^(?:["][`])/i, /^(?:[^`"]+)/i, /^(?:[`]["])/i, /^(?:["])/i, /^(?:["])/i, /^(?:[^"]*)/i, /^(?::::)/i, /^(?:^\w+)/i, /^(?:\s*:\s*\[\s*)/i, /^(?:(1)|(0(.\d+)?))/i, /^(?:\s*\] *)/i, /^(?:\s*,\s*)/i, /^(?:(1)|(0(.\d+)?))/i, /^(?: *quadrantChart *)/i, /^(?:[A-Za-z]+)/i, /^(?::)/i, /^(?:\+)/i, /^(?:,)/i, /^(?:=)/i, /^(?:=)/i, /^(?:\*)/i, /^(?:#)/i, /^(?:[\_])/i, /^(?:\.)/i, /^(?:&)/i, /^(?:-)/i, /^(?:[0-9]+)/i, /^(?:\s)/i, /^(?:;)/i, /^(?:[!"#$%&'*+,-.`?\\_/])/i, /^(?:$)/i],
682
- conditions: { "class_name": { "rules": [28], "inclusive": false }, "point_y": { "rules": [33], "inclusive": false }, "point_x": { "rules": [32], "inclusive": false }, "point_start": { "rules": [30, 31], "inclusive": false }, "acc_descr_multiline": { "rules": [11, 12], "inclusive": false }, "acc_descr": { "rules": [9], "inclusive": false }, "acc_title": { "rules": [7], "inclusive": false }, "title": { "rules": [5], "inclusive": false }, "md_string": { "rules": [22, 23], "inclusive": false }, "string": { "rules": [25, 26], "inclusive": false }, "INITIAL": { "rules": [0, 1, 2, 3, 4, 6, 8, 10, 13, 14, 15, 16, 17, 18, 19, 20, 21, 24, 27, 29, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51], "inclusive": true } }
683
- };
684
- return lexer2;
685
- }();
686
- parser2.lexer = lexer;
687
- function Parser() {
688
- this.yy = {};
689
- }
690
- __name(Parser, "Parser");
691
- Parser.prototype = parser2;
692
- parser2.Parser = Parser;
693
- return new Parser();
694
- }();
695
- parser.parser = parser;
696
- var quadrant_default = parser;
697
- var defaultThemeVariables = getThemeVariables3();
698
- var QuadrantBuilder = (_a = class {
699
- constructor() {
700
- this.classes = /* @__PURE__ */ new Map();
701
- this.config = this.getDefaultConfig();
702
- this.themeConfig = this.getDefaultThemeConfig();
703
- this.data = this.getDefaultData();
704
- }
705
- getDefaultData() {
706
- return {
707
- titleText: "",
708
- quadrant1Text: "",
709
- quadrant2Text: "",
710
- quadrant3Text: "",
711
- quadrant4Text: "",
712
- xAxisLeftText: "",
713
- xAxisRightText: "",
714
- yAxisBottomText: "",
715
- yAxisTopText: "",
716
- points: []
717
- };
718
- }
719
- getDefaultConfig() {
720
- var _a2, _b2, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n, _o, _p, _q, _r;
721
- return {
722
- showXAxis: true,
723
- showYAxis: true,
724
- showTitle: true,
725
- chartHeight: ((_a2 = defaultConfig_default.quadrantChart) == null ? void 0 : _a2.chartWidth) || 500,
726
- chartWidth: ((_b2 = defaultConfig_default.quadrantChart) == null ? void 0 : _b2.chartHeight) || 500,
727
- titlePadding: ((_c = defaultConfig_default.quadrantChart) == null ? void 0 : _c.titlePadding) || 10,
728
- titleFontSize: ((_d = defaultConfig_default.quadrantChart) == null ? void 0 : _d.titleFontSize) || 20,
729
- quadrantPadding: ((_e = defaultConfig_default.quadrantChart) == null ? void 0 : _e.quadrantPadding) || 5,
730
- xAxisLabelPadding: ((_f = defaultConfig_default.quadrantChart) == null ? void 0 : _f.xAxisLabelPadding) || 5,
731
- yAxisLabelPadding: ((_g = defaultConfig_default.quadrantChart) == null ? void 0 : _g.yAxisLabelPadding) || 5,
732
- xAxisLabelFontSize: ((_h = defaultConfig_default.quadrantChart) == null ? void 0 : _h.xAxisLabelFontSize) || 16,
733
- yAxisLabelFontSize: ((_i = defaultConfig_default.quadrantChart) == null ? void 0 : _i.yAxisLabelFontSize) || 16,
734
- quadrantLabelFontSize: ((_j = defaultConfig_default.quadrantChart) == null ? void 0 : _j.quadrantLabelFontSize) || 16,
735
- quadrantTextTopPadding: ((_k = defaultConfig_default.quadrantChart) == null ? void 0 : _k.quadrantTextTopPadding) || 5,
736
- pointTextPadding: ((_l = defaultConfig_default.quadrantChart) == null ? void 0 : _l.pointTextPadding) || 5,
737
- pointLabelFontSize: ((_m = defaultConfig_default.quadrantChart) == null ? void 0 : _m.pointLabelFontSize) || 12,
738
- pointRadius: ((_n = defaultConfig_default.quadrantChart) == null ? void 0 : _n.pointRadius) || 5,
739
- xAxisPosition: ((_o = defaultConfig_default.quadrantChart) == null ? void 0 : _o.xAxisPosition) || "top",
740
- yAxisPosition: ((_p = defaultConfig_default.quadrantChart) == null ? void 0 : _p.yAxisPosition) || "left",
741
- quadrantInternalBorderStrokeWidth: ((_q = defaultConfig_default.quadrantChart) == null ? void 0 : _q.quadrantInternalBorderStrokeWidth) || 1,
742
- quadrantExternalBorderStrokeWidth: ((_r = defaultConfig_default.quadrantChart) == null ? void 0 : _r.quadrantExternalBorderStrokeWidth) || 2
743
- };
744
- }
745
- getDefaultThemeConfig() {
746
- return {
747
- quadrant1Fill: defaultThemeVariables.quadrant1Fill,
748
- quadrant2Fill: defaultThemeVariables.quadrant2Fill,
749
- quadrant3Fill: defaultThemeVariables.quadrant3Fill,
750
- quadrant4Fill: defaultThemeVariables.quadrant4Fill,
751
- quadrant1TextFill: defaultThemeVariables.quadrant1TextFill,
752
- quadrant2TextFill: defaultThemeVariables.quadrant2TextFill,
753
- quadrant3TextFill: defaultThemeVariables.quadrant3TextFill,
754
- quadrant4TextFill: defaultThemeVariables.quadrant4TextFill,
755
- quadrantPointFill: defaultThemeVariables.quadrantPointFill,
756
- quadrantPointTextFill: defaultThemeVariables.quadrantPointTextFill,
757
- quadrantXAxisTextFill: defaultThemeVariables.quadrantXAxisTextFill,
758
- quadrantYAxisTextFill: defaultThemeVariables.quadrantYAxisTextFill,
759
- quadrantTitleFill: defaultThemeVariables.quadrantTitleFill,
760
- quadrantInternalBorderStrokeFill: defaultThemeVariables.quadrantInternalBorderStrokeFill,
761
- quadrantExternalBorderStrokeFill: defaultThemeVariables.quadrantExternalBorderStrokeFill
762
- };
763
- }
764
- clear() {
765
- this.config = this.getDefaultConfig();
766
- this.themeConfig = this.getDefaultThemeConfig();
767
- this.data = this.getDefaultData();
768
- this.classes = /* @__PURE__ */ new Map();
769
- log.info("clear called");
770
- }
771
- setData(data) {
772
- this.data = { ...this.data, ...data };
773
- }
774
- addPoints(points) {
775
- this.data.points = [...points, ...this.data.points];
776
- }
777
- addClass(className, styles) {
778
- this.classes.set(className, styles);
779
- }
780
- setConfig(config2) {
781
- log.trace("setConfig called with: ", config2);
782
- this.config = { ...this.config, ...config2 };
783
- }
784
- setThemeConfig(themeConfig) {
785
- log.trace("setThemeConfig called with: ", themeConfig);
786
- this.themeConfig = { ...this.themeConfig, ...themeConfig };
787
- }
788
- calculateSpace(xAxisPosition, showXAxis, showYAxis, showTitle) {
789
- const xAxisSpaceCalculation = this.config.xAxisLabelPadding * 2 + this.config.xAxisLabelFontSize;
790
- const xAxisSpace = {
791
- top: xAxisPosition === "top" && showXAxis ? xAxisSpaceCalculation : 0,
792
- bottom: xAxisPosition === "bottom" && showXAxis ? xAxisSpaceCalculation : 0
793
- };
794
- const yAxisSpaceCalculation = this.config.yAxisLabelPadding * 2 + this.config.yAxisLabelFontSize;
795
- const yAxisSpace = {
796
- left: this.config.yAxisPosition === "left" && showYAxis ? yAxisSpaceCalculation : 0,
797
- right: this.config.yAxisPosition === "right" && showYAxis ? yAxisSpaceCalculation : 0
798
- };
799
- const titleSpaceCalculation = this.config.titleFontSize + this.config.titlePadding * 2;
800
- const titleSpace = {
801
- top: showTitle ? titleSpaceCalculation : 0
802
- };
803
- const quadrantLeft = this.config.quadrantPadding + yAxisSpace.left;
804
- const quadrantTop = this.config.quadrantPadding + xAxisSpace.top + titleSpace.top;
805
- const quadrantWidth = this.config.chartWidth - this.config.quadrantPadding * 2 - yAxisSpace.left - yAxisSpace.right;
806
- const quadrantHeight = this.config.chartHeight - this.config.quadrantPadding * 2 - xAxisSpace.top - xAxisSpace.bottom - titleSpace.top;
807
- const quadrantHalfWidth = quadrantWidth / 2;
808
- const quadrantHalfHeight = quadrantHeight / 2;
809
- const quadrantSpace = {
810
- quadrantLeft,
811
- quadrantTop,
812
- quadrantWidth,
813
- quadrantHalfWidth,
814
- quadrantHeight,
815
- quadrantHalfHeight
816
- };
817
- return {
818
- xAxisSpace,
819
- yAxisSpace,
820
- titleSpace,
821
- quadrantSpace
822
- };
823
- }
824
- getAxisLabels(xAxisPosition, showXAxis, showYAxis, spaceData) {
825
- const { quadrantSpace, titleSpace } = spaceData;
826
- const {
827
- quadrantHalfHeight,
828
- quadrantHeight,
829
- quadrantLeft,
830
- quadrantHalfWidth,
831
- quadrantTop,
832
- quadrantWidth
833
- } = quadrantSpace;
834
- const drawXAxisLabelsInMiddle = Boolean(this.data.xAxisRightText);
835
- const drawYAxisLabelsInMiddle = Boolean(this.data.yAxisTopText);
836
- const axisLabels = [];
837
- if (this.data.xAxisLeftText && showXAxis) {
838
- axisLabels.push({
839
- text: this.data.xAxisLeftText,
840
- fill: this.themeConfig.quadrantXAxisTextFill,
841
- x: quadrantLeft + (drawXAxisLabelsInMiddle ? quadrantHalfWidth / 2 : 0),
842
- y: xAxisPosition === "top" ? this.config.xAxisLabelPadding + titleSpace.top : this.config.xAxisLabelPadding + quadrantTop + quadrantHeight + this.config.quadrantPadding,
843
- fontSize: this.config.xAxisLabelFontSize,
844
- verticalPos: drawXAxisLabelsInMiddle ? "center" : "left",
845
- horizontalPos: "top",
846
- rotation: 0
847
- });
848
- }
849
- if (this.data.xAxisRightText && showXAxis) {
850
- axisLabels.push({
851
- text: this.data.xAxisRightText,
852
- fill: this.themeConfig.quadrantXAxisTextFill,
853
- x: quadrantLeft + quadrantHalfWidth + (drawXAxisLabelsInMiddle ? quadrantHalfWidth / 2 : 0),
854
- y: xAxisPosition === "top" ? this.config.xAxisLabelPadding + titleSpace.top : this.config.xAxisLabelPadding + quadrantTop + quadrantHeight + this.config.quadrantPadding,
855
- fontSize: this.config.xAxisLabelFontSize,
856
- verticalPos: drawXAxisLabelsInMiddle ? "center" : "left",
857
- horizontalPos: "top",
858
- rotation: 0
859
- });
860
- }
861
- if (this.data.yAxisBottomText && showYAxis) {
862
- axisLabels.push({
863
- text: this.data.yAxisBottomText,
864
- fill: this.themeConfig.quadrantYAxisTextFill,
865
- x: this.config.yAxisPosition === "left" ? this.config.yAxisLabelPadding : this.config.yAxisLabelPadding + quadrantLeft + quadrantWidth + this.config.quadrantPadding,
866
- y: quadrantTop + quadrantHeight - (drawYAxisLabelsInMiddle ? quadrantHalfHeight / 2 : 0),
867
- fontSize: this.config.yAxisLabelFontSize,
868
- verticalPos: drawYAxisLabelsInMiddle ? "center" : "left",
869
- horizontalPos: "top",
870
- rotation: -90
871
- });
872
- }
873
- if (this.data.yAxisTopText && showYAxis) {
874
- axisLabels.push({
875
- text: this.data.yAxisTopText,
876
- fill: this.themeConfig.quadrantYAxisTextFill,
877
- x: this.config.yAxisPosition === "left" ? this.config.yAxisLabelPadding : this.config.yAxisLabelPadding + quadrantLeft + quadrantWidth + this.config.quadrantPadding,
878
- y: quadrantTop + quadrantHalfHeight - (drawYAxisLabelsInMiddle ? quadrantHalfHeight / 2 : 0),
879
- fontSize: this.config.yAxisLabelFontSize,
880
- verticalPos: drawYAxisLabelsInMiddle ? "center" : "left",
881
- horizontalPos: "top",
882
- rotation: -90
883
- });
884
- }
885
- return axisLabels;
886
- }
887
- getQuadrants(spaceData) {
888
- const { quadrantSpace } = spaceData;
889
- const { quadrantHalfHeight, quadrantLeft, quadrantHalfWidth, quadrantTop } = quadrantSpace;
890
- const quadrants = [
891
- {
892
- text: {
893
- text: this.data.quadrant1Text,
894
- fill: this.themeConfig.quadrant1TextFill,
895
- x: 0,
896
- y: 0,
897
- fontSize: this.config.quadrantLabelFontSize,
898
- verticalPos: "center",
899
- horizontalPos: "middle",
900
- rotation: 0
901
- },
902
- x: quadrantLeft + quadrantHalfWidth,
903
- y: quadrantTop,
904
- width: quadrantHalfWidth,
905
- height: quadrantHalfHeight,
906
- fill: this.themeConfig.quadrant1Fill
907
- },
908
- {
909
- text: {
910
- text: this.data.quadrant2Text,
911
- fill: this.themeConfig.quadrant2TextFill,
912
- x: 0,
913
- y: 0,
914
- fontSize: this.config.quadrantLabelFontSize,
915
- verticalPos: "center",
916
- horizontalPos: "middle",
917
- rotation: 0
918
- },
919
- x: quadrantLeft,
920
- y: quadrantTop,
921
- width: quadrantHalfWidth,
922
- height: quadrantHalfHeight,
923
- fill: this.themeConfig.quadrant2Fill
924
- },
925
- {
926
- text: {
927
- text: this.data.quadrant3Text,
928
- fill: this.themeConfig.quadrant3TextFill,
929
- x: 0,
930
- y: 0,
931
- fontSize: this.config.quadrantLabelFontSize,
932
- verticalPos: "center",
933
- horizontalPos: "middle",
934
- rotation: 0
935
- },
936
- x: quadrantLeft,
937
- y: quadrantTop + quadrantHalfHeight,
938
- width: quadrantHalfWidth,
939
- height: quadrantHalfHeight,
940
- fill: this.themeConfig.quadrant3Fill
941
- },
942
- {
943
- text: {
944
- text: this.data.quadrant4Text,
945
- fill: this.themeConfig.quadrant4TextFill,
946
- x: 0,
947
- y: 0,
948
- fontSize: this.config.quadrantLabelFontSize,
949
- verticalPos: "center",
950
- horizontalPos: "middle",
951
- rotation: 0
952
- },
953
- x: quadrantLeft + quadrantHalfWidth,
954
- y: quadrantTop + quadrantHalfHeight,
955
- width: quadrantHalfWidth,
956
- height: quadrantHalfHeight,
957
- fill: this.themeConfig.quadrant4Fill
958
- }
959
- ];
960
- for (const quadrant of quadrants) {
961
- quadrant.text.x = quadrant.x + quadrant.width / 2;
962
- if (this.data.points.length === 0) {
963
- quadrant.text.y = quadrant.y + quadrant.height / 2;
964
- quadrant.text.horizontalPos = "middle";
965
- } else {
966
- quadrant.text.y = quadrant.y + this.config.quadrantTextTopPadding;
967
- quadrant.text.horizontalPos = "top";
968
- }
969
- }
970
- return quadrants;
971
- }
972
- getQuadrantPoints(spaceData) {
973
- const { quadrantSpace } = spaceData;
974
- const { quadrantHeight, quadrantLeft, quadrantTop, quadrantWidth } = quadrantSpace;
975
- const xAxis = linear().domain([0, 1]).range([quadrantLeft, quadrantWidth + quadrantLeft]);
976
- const yAxis = linear().domain([0, 1]).range([quadrantHeight + quadrantTop, quadrantTop]);
977
- const points = this.data.points.map((point) => {
978
- const classStyles = this.classes.get(point.className);
979
- if (classStyles) {
980
- point = { ...classStyles, ...point };
981
- }
982
- const props = {
983
- x: xAxis(point.x),
984
- y: yAxis(point.y),
985
- fill: point.color ?? this.themeConfig.quadrantPointFill,
986
- radius: point.radius ?? this.config.pointRadius,
987
- text: {
988
- text: point.text,
989
- fill: this.themeConfig.quadrantPointTextFill,
990
- x: xAxis(point.x),
991
- y: yAxis(point.y) + this.config.pointTextPadding,
992
- verticalPos: "center",
993
- horizontalPos: "top",
994
- fontSize: this.config.pointLabelFontSize,
995
- rotation: 0
996
- },
997
- strokeColor: point.strokeColor ?? this.themeConfig.quadrantPointFill,
998
- strokeWidth: point.strokeWidth ?? "0px"
999
- };
1000
- return props;
1001
- });
1002
- return points;
1003
- }
1004
- getBorders(spaceData) {
1005
- const halfExternalBorderWidth = this.config.quadrantExternalBorderStrokeWidth / 2;
1006
- const { quadrantSpace } = spaceData;
1007
- const {
1008
- quadrantHalfHeight,
1009
- quadrantHeight,
1010
- quadrantLeft,
1011
- quadrantHalfWidth,
1012
- quadrantTop,
1013
- quadrantWidth
1014
- } = quadrantSpace;
1015
- const borderLines = [
1016
- // top border
1017
- {
1018
- strokeFill: this.themeConfig.quadrantExternalBorderStrokeFill,
1019
- strokeWidth: this.config.quadrantExternalBorderStrokeWidth,
1020
- x1: quadrantLeft - halfExternalBorderWidth,
1021
- y1: quadrantTop,
1022
- x2: quadrantLeft + quadrantWidth + halfExternalBorderWidth,
1023
- y2: quadrantTop
1024
- },
1025
- // right border
1026
- {
1027
- strokeFill: this.themeConfig.quadrantExternalBorderStrokeFill,
1028
- strokeWidth: this.config.quadrantExternalBorderStrokeWidth,
1029
- x1: quadrantLeft + quadrantWidth,
1030
- y1: quadrantTop + halfExternalBorderWidth,
1031
- x2: quadrantLeft + quadrantWidth,
1032
- y2: quadrantTop + quadrantHeight - halfExternalBorderWidth
1033
- },
1034
- // bottom border
1035
- {
1036
- strokeFill: this.themeConfig.quadrantExternalBorderStrokeFill,
1037
- strokeWidth: this.config.quadrantExternalBorderStrokeWidth,
1038
- x1: quadrantLeft - halfExternalBorderWidth,
1039
- y1: quadrantTop + quadrantHeight,
1040
- x2: quadrantLeft + quadrantWidth + halfExternalBorderWidth,
1041
- y2: quadrantTop + quadrantHeight
1042
- },
1043
- // left border
1044
- {
1045
- strokeFill: this.themeConfig.quadrantExternalBorderStrokeFill,
1046
- strokeWidth: this.config.quadrantExternalBorderStrokeWidth,
1047
- x1: quadrantLeft,
1048
- y1: quadrantTop + halfExternalBorderWidth,
1049
- x2: quadrantLeft,
1050
- y2: quadrantTop + quadrantHeight - halfExternalBorderWidth
1051
- },
1052
- // vertical inner border
1053
- {
1054
- strokeFill: this.themeConfig.quadrantInternalBorderStrokeFill,
1055
- strokeWidth: this.config.quadrantInternalBorderStrokeWidth,
1056
- x1: quadrantLeft + quadrantHalfWidth,
1057
- y1: quadrantTop + halfExternalBorderWidth,
1058
- x2: quadrantLeft + quadrantHalfWidth,
1059
- y2: quadrantTop + quadrantHeight - halfExternalBorderWidth
1060
- },
1061
- // horizontal inner border
1062
- {
1063
- strokeFill: this.themeConfig.quadrantInternalBorderStrokeFill,
1064
- strokeWidth: this.config.quadrantInternalBorderStrokeWidth,
1065
- x1: quadrantLeft + halfExternalBorderWidth,
1066
- y1: quadrantTop + quadrantHalfHeight,
1067
- x2: quadrantLeft + quadrantWidth - halfExternalBorderWidth,
1068
- y2: quadrantTop + quadrantHalfHeight
1069
- }
1070
- ];
1071
- return borderLines;
1072
- }
1073
- getTitle(showTitle) {
1074
- if (showTitle) {
1075
- return {
1076
- text: this.data.titleText,
1077
- fill: this.themeConfig.quadrantTitleFill,
1078
- fontSize: this.config.titleFontSize,
1079
- horizontalPos: "top",
1080
- verticalPos: "center",
1081
- rotation: 0,
1082
- y: this.config.titlePadding,
1083
- x: this.config.chartWidth / 2
1084
- };
1085
- }
1086
- return;
1087
- }
1088
- build() {
1089
- const showXAxis = this.config.showXAxis && !!(this.data.xAxisLeftText || this.data.xAxisRightText);
1090
- const showYAxis = this.config.showYAxis && !!(this.data.yAxisTopText || this.data.yAxisBottomText);
1091
- const showTitle = this.config.showTitle && !!this.data.titleText;
1092
- const xAxisPosition = this.data.points.length > 0 ? "bottom" : this.config.xAxisPosition;
1093
- const calculatedSpace = this.calculateSpace(xAxisPosition, showXAxis, showYAxis, showTitle);
1094
- return {
1095
- points: this.getQuadrantPoints(calculatedSpace),
1096
- quadrants: this.getQuadrants(calculatedSpace),
1097
- axisLabels: this.getAxisLabels(xAxisPosition, showXAxis, showYAxis, calculatedSpace),
1098
- borderLines: this.getBorders(calculatedSpace),
1099
- title: this.getTitle(showTitle)
1100
- };
1101
- }
1102
- }, __name(_a, "QuadrantBuilder"), _a);
1103
- var InvalidStyleError = (_b = class extends Error {
1104
- constructor(style, value, type) {
1105
- super(`value for ${style} ${value} is invalid, please use a valid ${type}`);
1106
- this.name = "InvalidStyleError";
1107
- }
1108
- }, __name(_b, "InvalidStyleError"), _b);
1109
- function validateHexCode(value) {
1110
- return !/^#?([\dA-Fa-f]{6}|[\dA-Fa-f]{3})$/.test(value);
1111
- }
1112
- __name(validateHexCode, "validateHexCode");
1113
- function validateNumber(value) {
1114
- return !/^\d+$/.test(value);
1115
- }
1116
- __name(validateNumber, "validateNumber");
1117
- function validateSizeInPixels(value) {
1118
- return !/^\d+px$/.test(value);
1119
- }
1120
- __name(validateSizeInPixels, "validateSizeInPixels");
1121
- var config = getConfig2();
1122
- function textSanitizer(text) {
1123
- return sanitizeText(text.trim(), config);
1124
- }
1125
- __name(textSanitizer, "textSanitizer");
1126
- var quadrantBuilder = new QuadrantBuilder();
1127
- function setQuadrant1Text(textObj) {
1128
- quadrantBuilder.setData({ quadrant1Text: textSanitizer(textObj.text) });
1129
- }
1130
- __name(setQuadrant1Text, "setQuadrant1Text");
1131
- function setQuadrant2Text(textObj) {
1132
- quadrantBuilder.setData({ quadrant2Text: textSanitizer(textObj.text) });
1133
- }
1134
- __name(setQuadrant2Text, "setQuadrant2Text");
1135
- function setQuadrant3Text(textObj) {
1136
- quadrantBuilder.setData({ quadrant3Text: textSanitizer(textObj.text) });
1137
- }
1138
- __name(setQuadrant3Text, "setQuadrant3Text");
1139
- function setQuadrant4Text(textObj) {
1140
- quadrantBuilder.setData({ quadrant4Text: textSanitizer(textObj.text) });
1141
- }
1142
- __name(setQuadrant4Text, "setQuadrant4Text");
1143
- function setXAxisLeftText(textObj) {
1144
- quadrantBuilder.setData({ xAxisLeftText: textSanitizer(textObj.text) });
1145
- }
1146
- __name(setXAxisLeftText, "setXAxisLeftText");
1147
- function setXAxisRightText(textObj) {
1148
- quadrantBuilder.setData({ xAxisRightText: textSanitizer(textObj.text) });
1149
- }
1150
- __name(setXAxisRightText, "setXAxisRightText");
1151
- function setYAxisTopText(textObj) {
1152
- quadrantBuilder.setData({ yAxisTopText: textSanitizer(textObj.text) });
1153
- }
1154
- __name(setYAxisTopText, "setYAxisTopText");
1155
- function setYAxisBottomText(textObj) {
1156
- quadrantBuilder.setData({ yAxisBottomText: textSanitizer(textObj.text) });
1157
- }
1158
- __name(setYAxisBottomText, "setYAxisBottomText");
1159
- function parseStyles(styles) {
1160
- const stylesObject = {};
1161
- for (const style of styles) {
1162
- const [key, value] = style.trim().split(/\s*:\s*/);
1163
- if (key === "radius") {
1164
- if (validateNumber(value)) {
1165
- throw new InvalidStyleError(key, value, "number");
1166
- }
1167
- stylesObject.radius = parseInt(value);
1168
- } else if (key === "color") {
1169
- if (validateHexCode(value)) {
1170
- throw new InvalidStyleError(key, value, "hex code");
1171
- }
1172
- stylesObject.color = value;
1173
- } else if (key === "stroke-color") {
1174
- if (validateHexCode(value)) {
1175
- throw new InvalidStyleError(key, value, "hex code");
1176
- }
1177
- stylesObject.strokeColor = value;
1178
- } else if (key === "stroke-width") {
1179
- if (validateSizeInPixels(value)) {
1180
- throw new InvalidStyleError(key, value, "number of pixels (eg. 10px)");
1181
- }
1182
- stylesObject.strokeWidth = value;
1183
- } else {
1184
- throw new Error(`style named ${key} is not supported.`);
1185
- }
1186
- }
1187
- return stylesObject;
1188
- }
1189
- __name(parseStyles, "parseStyles");
1190
- function addPoint(textObj, className, x, y, styles) {
1191
- const stylesObject = parseStyles(styles);
1192
- quadrantBuilder.addPoints([
1193
- {
1194
- x,
1195
- y,
1196
- text: textSanitizer(textObj.text),
1197
- className,
1198
- ...stylesObject
1199
- }
1200
- ]);
1201
- }
1202
- __name(addPoint, "addPoint");
1203
- function addClass(className, styles) {
1204
- quadrantBuilder.addClass(className, parseStyles(styles));
1205
- }
1206
- __name(addClass, "addClass");
1207
- function setWidth(width) {
1208
- quadrantBuilder.setConfig({ chartWidth: width });
1209
- }
1210
- __name(setWidth, "setWidth");
1211
- function setHeight(height) {
1212
- quadrantBuilder.setConfig({ chartHeight: height });
1213
- }
1214
- __name(setHeight, "setHeight");
1215
- function getQuadrantData() {
1216
- const config2 = getConfig2();
1217
- const { themeVariables, quadrantChart: quadrantChartConfig } = config2;
1218
- if (quadrantChartConfig) {
1219
- quadrantBuilder.setConfig(quadrantChartConfig);
1220
- }
1221
- quadrantBuilder.setThemeConfig({
1222
- quadrant1Fill: themeVariables.quadrant1Fill,
1223
- quadrant2Fill: themeVariables.quadrant2Fill,
1224
- quadrant3Fill: themeVariables.quadrant3Fill,
1225
- quadrant4Fill: themeVariables.quadrant4Fill,
1226
- quadrant1TextFill: themeVariables.quadrant1TextFill,
1227
- quadrant2TextFill: themeVariables.quadrant2TextFill,
1228
- quadrant3TextFill: themeVariables.quadrant3TextFill,
1229
- quadrant4TextFill: themeVariables.quadrant4TextFill,
1230
- quadrantPointFill: themeVariables.quadrantPointFill,
1231
- quadrantPointTextFill: themeVariables.quadrantPointTextFill,
1232
- quadrantXAxisTextFill: themeVariables.quadrantXAxisTextFill,
1233
- quadrantYAxisTextFill: themeVariables.quadrantYAxisTextFill,
1234
- quadrantExternalBorderStrokeFill: themeVariables.quadrantExternalBorderStrokeFill,
1235
- quadrantInternalBorderStrokeFill: themeVariables.quadrantInternalBorderStrokeFill,
1236
- quadrantTitleFill: themeVariables.quadrantTitleFill
1237
- });
1238
- quadrantBuilder.setData({ titleText: getDiagramTitle() });
1239
- return quadrantBuilder.build();
1240
- }
1241
- __name(getQuadrantData, "getQuadrantData");
1242
- var clear2 = /* @__PURE__ */ __name(function() {
1243
- quadrantBuilder.clear();
1244
- clear();
1245
- }, "clear");
1246
- var quadrantDb_default = {
1247
- setWidth,
1248
- setHeight,
1249
- setQuadrant1Text,
1250
- setQuadrant2Text,
1251
- setQuadrant3Text,
1252
- setQuadrant4Text,
1253
- setXAxisLeftText,
1254
- setXAxisRightText,
1255
- setYAxisTopText,
1256
- setYAxisBottomText,
1257
- parseStyles,
1258
- addPoint,
1259
- addClass,
1260
- getQuadrantData,
1261
- clear: clear2,
1262
- setAccTitle,
1263
- getAccTitle,
1264
- setDiagramTitle,
1265
- getDiagramTitle,
1266
- getAccDescription,
1267
- setAccDescription
1268
- };
1269
- var draw = /* @__PURE__ */ __name((txt, id, _version, diagObj) => {
1270
- var _a2, _b2, _c;
1271
- function getDominantBaseLine(horizontalPos) {
1272
- return horizontalPos === "top" ? "hanging" : "middle";
1273
- }
1274
- __name(getDominantBaseLine, "getDominantBaseLine");
1275
- function getTextAnchor(verticalPos) {
1276
- return verticalPos === "left" ? "start" : "middle";
1277
- }
1278
- __name(getTextAnchor, "getTextAnchor");
1279
- function getTransformation(data) {
1280
- return `translate(${data.x}, ${data.y}) rotate(${data.rotation || 0})`;
1281
- }
1282
- __name(getTransformation, "getTransformation");
1283
- const conf = getConfig2();
1284
- log.debug("Rendering quadrant chart\n" + txt);
1285
- const securityLevel = conf.securityLevel;
1286
- let sandboxElement;
1287
- if (securityLevel === "sandbox") {
1288
- sandboxElement = select("#i" + id);
1289
- }
1290
- const root = securityLevel === "sandbox" ? select(sandboxElement.nodes()[0].contentDocument.body) : select("body");
1291
- const svg = root.select(`[id="${id}"]`);
1292
- const group = svg.append("g").attr("class", "main");
1293
- const width = ((_a2 = conf.quadrantChart) == null ? void 0 : _a2.chartWidth) ?? 500;
1294
- const height = ((_b2 = conf.quadrantChart) == null ? void 0 : _b2.chartHeight) ?? 500;
1295
- configureSvgSize(svg, height, width, ((_c = conf.quadrantChart) == null ? void 0 : _c.useMaxWidth) ?? true);
1296
- svg.attr("viewBox", "0 0 " + width + " " + height);
1297
- diagObj.db.setHeight(height);
1298
- diagObj.db.setWidth(width);
1299
- const quadrantData = diagObj.db.getQuadrantData();
1300
- const quadrantsGroup = group.append("g").attr("class", "quadrants");
1301
- const borderGroup = group.append("g").attr("class", "border");
1302
- const dataPointGroup = group.append("g").attr("class", "data-points");
1303
- const labelGroup = group.append("g").attr("class", "labels");
1304
- const titleGroup = group.append("g").attr("class", "title");
1305
- if (quadrantData.title) {
1306
- titleGroup.append("text").attr("x", 0).attr("y", 0).attr("fill", quadrantData.title.fill).attr("font-size", quadrantData.title.fontSize).attr("dominant-baseline", getDominantBaseLine(quadrantData.title.horizontalPos)).attr("text-anchor", getTextAnchor(quadrantData.title.verticalPos)).attr("transform", getTransformation(quadrantData.title)).text(quadrantData.title.text);
1307
- }
1308
- if (quadrantData.borderLines) {
1309
- borderGroup.selectAll("line").data(quadrantData.borderLines).enter().append("line").attr("x1", (data) => data.x1).attr("y1", (data) => data.y1).attr("x2", (data) => data.x2).attr("y2", (data) => data.y2).style("stroke", (data) => data.strokeFill).style("stroke-width", (data) => data.strokeWidth);
1310
- }
1311
- const quadrants = quadrantsGroup.selectAll("g.quadrant").data(quadrantData.quadrants).enter().append("g").attr("class", "quadrant");
1312
- quadrants.append("rect").attr("x", (data) => data.x).attr("y", (data) => data.y).attr("width", (data) => data.width).attr("height", (data) => data.height).attr("fill", (data) => data.fill);
1313
- quadrants.append("text").attr("x", 0).attr("y", 0).attr("fill", (data) => data.text.fill).attr("font-size", (data) => data.text.fontSize).attr(
1314
- "dominant-baseline",
1315
- (data) => getDominantBaseLine(data.text.horizontalPos)
1316
- ).attr("text-anchor", (data) => getTextAnchor(data.text.verticalPos)).attr("transform", (data) => getTransformation(data.text)).text((data) => data.text.text);
1317
- const labels = labelGroup.selectAll("g.label").data(quadrantData.axisLabels).enter().append("g").attr("class", "label");
1318
- labels.append("text").attr("x", 0).attr("y", 0).text((data) => data.text).attr("fill", (data) => data.fill).attr("font-size", (data) => data.fontSize).attr("dominant-baseline", (data) => getDominantBaseLine(data.horizontalPos)).attr("text-anchor", (data) => getTextAnchor(data.verticalPos)).attr("transform", (data) => getTransformation(data));
1319
- const dataPoints = dataPointGroup.selectAll("g.data-point").data(quadrantData.points).enter().append("g").attr("class", "data-point");
1320
- dataPoints.append("circle").attr("cx", (data) => data.x).attr("cy", (data) => data.y).attr("r", (data) => data.radius).attr("fill", (data) => data.fill).attr("stroke", (data) => data.strokeColor).attr("stroke-width", (data) => data.strokeWidth);
1321
- dataPoints.append("text").attr("x", 0).attr("y", 0).text((data) => data.text.text).attr("fill", (data) => data.text.fill).attr("font-size", (data) => data.text.fontSize).attr(
1322
- "dominant-baseline",
1323
- (data) => getDominantBaseLine(data.text.horizontalPos)
1324
- ).attr("text-anchor", (data) => getTextAnchor(data.text.verticalPos)).attr("transform", (data) => getTransformation(data.text));
1325
- }, "draw");
1326
- var quadrantRenderer_default = {
1327
- draw
1328
- };
1329
- var diagram = {
1330
- parser: quadrant_default,
1331
- db: quadrantDb_default,
1332
- renderer: quadrantRenderer_default,
1333
- styles: /* @__PURE__ */ __name(() => "", "styles")
1334
- };
1335
- export {
1336
- diagram
1337
- };
1338
- //# sourceMappingURL=quadrantDiagram-AYHSOK5B-Bzqn0a-l.js.map