@spteck/react-controls-v2 2.0.18 → 2.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +1 -1
- package/README.md +143 -387
- package/dist/LocalizationProvider-BLjmybBa.cjs +2 -0
- package/dist/LocalizationProvider-BSlUf0tp.js +497 -0
- package/dist/_arrayEach-CnIMt1eB.js +61 -0
- package/dist/_arrayEach-vx8gLv03.cjs +2 -0
- package/dist/abstractions/ILocalizationProvider.d.ts +52 -0
- package/dist/abstractions/index.d.ts +1 -0
- package/dist/abstractions/providers/DefaultLocalizationProvider.d.ts +52 -0
- package/dist/abstractions/providers/LocalizationProvider.d.ts +47 -0
- package/dist/abstractions/providers/index.d.ts +3 -1
- package/dist/ar-C1pLt8fa.js +219 -0
- package/dist/ar-Jzw7PLrc.cjs +2 -0
- package/dist/arc-DPTV8xm_.js +132 -0
- package/dist/arc-fdHOvWdS.cjs +2 -0
- package/dist/architecture-7HQA4BMR-BAUhgjE2.js +6 -0
- package/dist/architecture-7HQA4BMR-DwCjpO72.cjs +2 -0
- package/dist/architectureDiagram-VXUJARFQ-B5yGOjRk.js +8680 -0
- package/dist/architectureDiagram-VXUJARFQ-C7K57uon.cjs +2 -0
- package/dist/az-C0Ow5Hxa.cjs +2 -0
- package/dist/az-C3-F9ybX.js +219 -0
- package/dist/bg-YB0TmpRF.cjs +2 -0
- package/dist/bg-w2e_udiK.js +219 -0
- package/dist/blockDiagram-VD42YOAC-B9MtQVc8.js +3756 -0
- package/dist/blockDiagram-VD42YOAC-CXUX1_9K.cjs +2 -0
- package/dist/bs-BoW04lRb.cjs +2 -0
- package/dist/bs-CEe_gjEx.js +219 -0
- package/dist/c4Diagram-YG6GDRKO-0rSYap-S.cjs +2 -0
- package/dist/c4Diagram-YG6GDRKO-CKFTKCbq.js +2483 -0
- package/dist/ca-Bsy2Y5pS.cjs +2 -0
- package/dist/ca-CKpd72XI.js +219 -0
- package/dist/channel-CJ2FoHig.js +8 -0
- package/dist/channel-DjKs64mj.cjs +2 -0
- package/dist/chunk-4BX2VUAB-DJlF8TIZ.cjs +2 -0
- package/dist/chunk-4BX2VUAB-ghaW5jSQ.js +18 -0
- package/dist/chunk-55IACEB6-9B1z6QHL.cjs +2 -0
- package/dist/chunk-55IACEB6-__yJgpDO.js +14 -0
- package/dist/chunk-B4BG7PRW-Dbzu88Oo.cjs +2 -0
- package/dist/chunk-B4BG7PRW-NVucxzRs.js +1828 -0
- package/dist/chunk-DI55MBZ5-Bun58OTZ.js +1928 -0
- package/dist/chunk-DI55MBZ5-e__JA50C.cjs +2 -0
- package/dist/chunk-FMBD7UC4-DulgQOWY.js +20 -0
- package/dist/chunk-FMBD7UC4-Pi8Fs7F6.cjs +2 -0
- package/dist/chunk-QN33PNHL-DA_6jplh.js +26 -0
- package/dist/chunk-QN33PNHL-DcHwlyDo.cjs +2 -0
- package/dist/chunk-QZHKN3VN-BfGBK4_s.cjs +2 -0
- package/dist/chunk-QZHKN3VN-C5x9oEL1.js +18 -0
- package/dist/chunk-TZMSLE5B-BCBp8EeB.cjs +2 -0
- package/dist/chunk-TZMSLE5B-Bj2-6aT8.js +109 -0
- package/dist/classDiagram-2ON5EDUG-BGUaVc1W.cjs +2 -0
- package/dist/classDiagram-2ON5EDUG-BcR1HP9z.js +20 -0
- package/dist/classDiagram-v2-WZHVMYZB-BGUaVc1W.cjs +2 -0
- package/dist/classDiagram-v2-WZHVMYZB-BcR1HP9z.js +20 -0
- package/dist/components/AISearchControl/index.d.ts +1 -0
- package/dist/components/Card/index.d.ts +0 -1
- package/dist/components/Carousel/index.d.ts +0 -3
- package/dist/components/Container/Container.d.ts +1 -9
- package/dist/components/Container/IContainerProps.d.ts +10 -4
- package/dist/components/Container/index.d.ts +1 -1
- package/dist/components/ContentRenderer/ContentRenderer.d.ts +1 -37
- package/dist/components/ContentRenderer/IContentRendererProps.d.ts +45 -0
- package/dist/components/ContentRenderer/index.d.ts +1 -1
- package/dist/components/DataGridV2/DataGridHandle.d.ts +14 -0
- package/dist/components/DataGridV2/DataGridV2.d.ts +2 -36
- package/dist/components/DataGridV2/IDataGridV2ExtraProps.d.ts +25 -0
- package/dist/components/DataGridV2/index.d.ts +1 -0
- package/dist/components/Grid/useGridStyles.d.ts +1 -1
- package/dist/components/ItemPicker/IItemPickerOption.d.ts +14 -0
- package/dist/components/ItemPicker/IItemPickerPagingInfo.d.ts +9 -0
- package/dist/components/ItemPicker/IItemPickerProps.d.ts +54 -0
- package/dist/components/ItemPicker/ItemPicker.d.ts +4 -0
- package/dist/components/ItemPicker/index.d.ts +5 -0
- package/dist/components/ItemPicker/useItemPickerStyles.d.ts +10 -0
- package/dist/components/KPIControl/IKpiCardData.d.ts +19 -0
- package/dist/components/KPIControl/IKpiCardProps.d.ts +6 -0
- package/dist/components/KPIControl/KpiCard.d.ts +4 -0
- package/dist/components/KPIControl/KpiCardCompact.d.ts +4 -0
- package/dist/components/KPIControl/KpiCardSkeleton.d.ts +8 -0
- package/dist/components/KPIControl/Kpis.d.ts +7 -0
- package/dist/components/KPIControl/NoKpisCard.d.ts +8 -0
- package/dist/components/KPIControl/index.d.ts +8 -0
- package/dist/components/KPIControl/useKpiStyles.d.ts +33 -0
- package/dist/components/ListToolbar/FlatItem.d.ts +8 -0
- package/dist/components/ListToolbar/IListToolbarProps.d.ts +27 -0
- package/dist/components/ListToolbar/IToolbarItem.d.ts +37 -0
- package/dist/components/ListToolbar/IToolbarItemRendererProps.d.ts +13 -0
- package/dist/components/ListToolbar/ListToolbar.d.ts +5 -0
- package/dist/components/ListToolbar/ToolbarItemRenderer.d.ts +7 -0
- package/dist/components/ListToolbar/helpers.d.ts +6 -0
- package/dist/components/ListToolbar/index.d.ts +4 -0
- package/dist/components/ListToolbar/useListToolbarStyles.d.ts +16 -0
- package/dist/components/ListToolbar/useOverflowIndex.d.ts +18 -0
- package/dist/components/MarkdownRenderer/MarkdownRenderer.d.ts +1 -1
- package/dist/components/MarkdownRenderer/useMarkdownStyles.d.ts +4 -0
- package/dist/components/MermaidDiagram/IMermaidDiagramProps.d.ts +31 -0
- package/dist/components/MermaidDiagram/MermaidDiagram.d.ts +4 -0
- package/dist/components/MermaidDiagram/index.d.ts +4 -0
- package/dist/components/MermaidDiagram/useMermaidDiagramStyles.d.ts +9 -0
- package/dist/components/Navigation/INavigationProps.d.ts +141 -0
- package/dist/components/Navigation/Navigation.d.ts +27 -0
- package/dist/components/Navigation/index.d.ts +4 -0
- package/dist/components/Navigation/useNavigationStyles.d.ts +13 -0
- package/dist/components/SelectTime/IOptionTimeProps.d.ts +23 -0
- package/dist/components/SelectTime/ISelectTimeProps.d.ts +25 -0
- package/dist/components/SelectTime/OptionTime.d.ts +16 -0
- package/dist/components/SelectTime/SelectTime.d.ts +4 -0
- package/dist/components/SelectTime/index.d.ts +7 -0
- package/dist/components/SelectTime/useOptionTimeStyles.d.ts +6 -0
- package/dist/components/SelectTime/useSelectTimeStyles.d.ts +7 -0
- package/dist/components/SplitPane/ISplitPaneProps.d.ts +28 -0
- package/dist/components/SplitPane/SplitPane.d.ts +10 -0
- package/dist/components/SplitPane/index.d.ts +4 -0
- package/dist/components/SplitPane/useSplitPaneStyles.d.ts +13 -0
- package/dist/components/adaptiveCardHost/AdaptiveCardHost.Utilities.d.ts +1 -1
- package/dist/components/adaptiveCardHost/fluentUI/renderCompat.d.ts +7 -0
- package/dist/components/aiAssistant/index.d.ts +1 -0
- package/dist/components/appDashboard/IAppDashboardProps.d.ts +2 -2
- package/dist/components/breadcrumb/IBreadcrumProps.d.ts +1 -1
- package/dist/components/breadcrumb/index.d.ts +1 -0
- package/dist/components/customControlBar/CustomControlBar.d.ts +1 -13
- package/dist/components/customControlBar/IControlItem.d.ts +6 -0
- package/dist/components/customControlBar/ICustomControlBarProps.d.ts +11 -0
- package/dist/components/customControlBar/index.d.ts +2 -0
- package/dist/components/dropDownField/useDropdownFieldStyles.d.ts +5 -0
- package/dist/components/index.d.ts +7 -0
- package/dist/components/inputField/IInputFieldProps.d.ts +22 -0
- package/dist/components/inputField/InputField.d.ts +4 -0
- package/dist/components/inputField/index.d.ts +3 -0
- package/dist/components/inputField/useInputFieldStyles.d.ts +5 -0
- package/dist/components/renderDrawer/RenderDrawer.d.ts +1 -4
- package/dist/components/renderHeader/index.d.ts +1 -0
- package/dist/components/searchControl/ISearchControlProps.d.ts +14 -0
- package/dist/components/searchControl/SearchControl.d.ts +5 -0
- package/dist/components/searchControl/index.d.ts +3 -0
- package/dist/components/searchControl/useSearchControlStyles.d.ts +13 -0
- package/dist/components/stackv2/StackV2.d.ts +1 -1
- package/dist/components/worldMap/index.d.ts +2 -0
- package/dist/components/worldMap/useContentToolTipStyles.d.ts +2 -8
- package/dist/cose-bilkent-S5V4N54A-BcLbJZT7.cjs +2 -0
- package/dist/cose-bilkent-S5V4N54A-CtEV3dGx.js +4934 -0
- package/dist/cs-D-801PIR.cjs +2 -0
- package/dist/cs-DQvRPciB.js +219 -0
- package/dist/cy-BxyJCM05.js +219 -0
- package/dist/cy-aUPUcn-S.cjs +2 -0
- package/dist/cytoscape.esm-BS1owLay.js +30250 -0
- package/dist/cytoscape.esm-BxB3woZB.cjs +10 -0
- package/dist/da-B05ad5Iq.js +219 -0
- package/dist/da-CTiLOqut.cjs +2 -0
- package/dist/dagre-6UL2VRFP-BZ9apxkx.js +696 -0
- package/dist/dagre-6UL2VRFP-FmOJGmX_.cjs +2 -0
- package/dist/de-DJ5iwpd7.js +219 -0
- package/dist/de-Dm204UMA.cjs +2 -0
- package/dist/defaultLocale-7NeEK7SF.cjs +2 -0
- package/dist/defaultLocale-DVr69WTU.js +207 -0
- package/dist/diagram-PSM6KHXK-BZxXJahR.cjs +2 -0
- package/dist/diagram-PSM6KHXK-_wkJk__z.js +848 -0
- package/dist/diagram-QEK2KX5R-NQiK3YZe.cjs +2 -0
- package/dist/diagram-QEK2KX5R-YQAU79Lo.js +305 -0
- package/dist/diagram-S2PKOQOG-Cob2HIrt.cjs +2 -0
- package/dist/diagram-S2PKOQOG-D8jaJbP8.js +212 -0
- package/dist/el-CBS9mHS3.js +219 -0
- package/dist/el-DbtZj-ph.cjs +2 -0
- package/dist/erDiagram-Q2GNP2WA-DAzex-RZ.cjs +2 -0
- package/dist/erDiagram-Q2GNP2WA-syuB6Tgc.js +1160 -0
- package/dist/es-Bo08apQr.js +219 -0
- package/dist/es-Cc-4Vqf7.cjs +2 -0
- package/dist/et-D5pQ66eY.cjs +2 -0
- package/dist/et-pRL0Tmle.js +219 -0
- package/dist/eu-Br68gaf7.js +219 -0
- package/dist/eu-RZ-27koK.cjs +2 -0
- package/dist/fi-BCXB-k_X.js +219 -0
- package/dist/fi-Dqa9mgnW.cjs +2 -0
- package/dist/flowDiagram-NV44I4VS-CXJA5Xu7.js +2339 -0
- package/dist/flowDiagram-NV44I4VS-DOcXDmk8.cjs +2 -0
- package/dist/fr-B7fhkle4.cjs +2 -0
- package/dist/fr-gKE1SSIF.js +219 -0
- package/dist/ga-4Hf7vKvr.cjs +2 -0
- package/dist/ga-C1SpITZy.js +219 -0
- package/dist/ganttDiagram-JELNMOA3-BodaBsjX.js +3652 -0
- package/dist/ganttDiagram-JELNMOA3-oeOE4Au1.cjs +2 -0
- package/dist/gitGraph-G5XIXVHT-BAoUh2t9.js +6 -0
- package/dist/gitGraph-G5XIXVHT-bEuOx0_B.cjs +2 -0
- package/dist/gitGraphDiagram-V2S2FVAM-B5dByD3_.js +1215 -0
- package/dist/gitGraphDiagram-V2S2FVAM-D4G2FRg-.cjs +2 -0
- package/dist/gl-COSpsMSK.cjs +2 -0
- package/dist/gl-CSzCeu2L.js +219 -0
- package/dist/graph-C7xixGrW.cjs +2 -0
- package/dist/graph-DH3cnEko.js +421 -0
- package/dist/he-BrkfqoIm.js +219 -0
- package/dist/he-C7Wi6-EL.cjs +2 -0
- package/dist/hi-C1RGDPzn.js +219 -0
- package/dist/hi-ojklJj-a.cjs +2 -0
- package/dist/hooks/index.d.ts +1 -0
- package/dist/hooks/useLocalizationStrings.d.ts +71 -0
- package/dist/hr-CsO_h2VT.js +219 -0
- package/dist/hr-DkEwOCGU.cjs +2 -0
- package/dist/hu-CVtbM-V2.js +219 -0
- package/dist/hu-D8uAAzvN.cjs +2 -0
- package/dist/id-18yPGK2f.cjs +2 -0
- package/dist/id-CARSN0W8.js +219 -0
- package/dist/index-CP55uT1-.js +55270 -0
- package/dist/index-DkoeCnje.cjs +428 -0
- package/dist/index.cjs +2 -0
- package/dist/index.d.ts +14 -0
- package/dist/index.js +165 -200
- package/dist/info-VBDWY6EO-CCtIeR-l.js +6 -0
- package/dist/info-VBDWY6EO-CIQZzC1h.cjs +2 -0
- package/dist/infoDiagram-HS3SLOUP-BCGLBWdb.js +32 -0
- package/dist/infoDiagram-HS3SLOUP-l61UBAGu.cjs +2 -0
- package/dist/init-DZ96s0AS.cjs +2 -0
- package/dist/init-ZxktEp_H.js +17 -0
- package/dist/it-BVq911RW.cjs +2 -0
- package/dist/it-ClWGK7XT.js +219 -0
- package/dist/ja-BgcKuKZ4.cjs +2 -0
- package/dist/ja-DGL12HwE.js +219 -0
- package/dist/journeyDiagram-XKPGCS4Q-CngaMpvw.js +1255 -0
- package/dist/journeyDiagram-XKPGCS4Q-DDFQr_sf.cjs +2 -0
- package/dist/kanban-definition-3W4ZIXB7-DE64tG2k.js +1049 -0
- package/dist/kanban-definition-3W4ZIXB7-Yh2cXBd5.cjs +2 -0
- package/dist/katex-DPu4QpBP.cjs +2 -0
- package/dist/katex-Dd1-wdX2.js +14523 -0
- package/dist/kk-CkKXbKso.js +219 -0
- package/dist/kk-Dn3FBkOR.cjs +2 -0
- package/dist/ko-CKAbV25b.cjs +2 -0
- package/dist/ko-QYvDV2aw.js +219 -0
- package/dist/layout-D6yO7DzL.cjs +2 -0
- package/dist/layout-bxkZz7Cm.js +1919 -0
- package/dist/linear-CytTXQM2.cjs +2 -0
- package/dist/linear-R5bATomY.js +341 -0
- package/dist/localization/ILibraryStrings.d.ts +299 -0
- package/dist/localization/defaults/ar.d.ts +8 -0
- package/dist/localization/defaults/az.d.ts +8 -0
- package/dist/localization/defaults/bg.d.ts +8 -0
- package/dist/localization/defaults/bs.d.ts +8 -0
- package/dist/localization/defaults/ca.d.ts +8 -0
- package/dist/localization/defaults/cs.d.ts +8 -0
- package/dist/localization/defaults/cy.d.ts +8 -0
- package/dist/localization/defaults/da.d.ts +8 -0
- package/dist/localization/defaults/de.d.ts +8 -0
- package/dist/localization/defaults/el.d.ts +8 -0
- package/dist/localization/defaults/en.d.ts +8 -0
- package/dist/localization/defaults/es.d.ts +8 -0
- package/dist/localization/defaults/et.d.ts +8 -0
- package/dist/localization/defaults/eu.d.ts +8 -0
- package/dist/localization/defaults/fi.d.ts +8 -0
- package/dist/localization/defaults/fr.d.ts +8 -0
- package/dist/localization/defaults/ga.d.ts +8 -0
- package/dist/localization/defaults/gl.d.ts +8 -0
- package/dist/localization/defaults/he.d.ts +8 -0
- package/dist/localization/defaults/hi.d.ts +8 -0
- package/dist/localization/defaults/hr.d.ts +8 -0
- package/dist/localization/defaults/hu.d.ts +8 -0
- package/dist/localization/defaults/id.d.ts +8 -0
- package/dist/localization/defaults/index.d.ts +47 -0
- package/dist/localization/defaults/it.d.ts +8 -0
- package/dist/localization/defaults/ja.d.ts +8 -0
- package/dist/localization/defaults/kk.d.ts +8 -0
- package/dist/localization/defaults/ko.d.ts +8 -0
- package/dist/localization/defaults/lt.d.ts +8 -0
- package/dist/localization/defaults/lv.d.ts +8 -0
- package/dist/localization/defaults/mk.d.ts +8 -0
- package/dist/localization/defaults/ms.d.ts +8 -0
- package/dist/localization/defaults/nb.d.ts +8 -0
- package/dist/localization/defaults/nl.d.ts +8 -0
- package/dist/localization/defaults/pl.d.ts +8 -0
- package/dist/localization/defaults/pt.d.ts +8 -0
- package/dist/localization/defaults/ro.d.ts +8 -0
- package/dist/localization/defaults/ru.d.ts +8 -0
- package/dist/localization/defaults/sk.d.ts +8 -0
- package/dist/localization/defaults/sl.d.ts +8 -0
- package/dist/localization/defaults/sr.d.ts +8 -0
- package/dist/localization/defaults/sv.d.ts +8 -0
- package/dist/localization/defaults/th.d.ts +8 -0
- package/dist/localization/defaults/tr.d.ts +8 -0
- package/dist/localization/defaults/uk.d.ts +8 -0
- package/dist/localization/defaults/vi.d.ts +8 -0
- package/dist/localization/defaults/zh.d.ts +8 -0
- package/dist/localization/index.d.ts +8 -0
- package/dist/localization/utils.d.ts +10 -0
- package/dist/lt-BKnFyiLV.js +219 -0
- package/dist/lt-BnGNEsIS.cjs +2 -0
- package/dist/lv-Clqo0Ogm.js +219 -0
- package/dist/lv-D3rJQRhc.cjs +2 -0
- package/dist/maplibre-gl-D9TSGNCf.cjs +6 -0
- package/dist/maplibre-gl-DwyiD0x9.js +23511 -0
- package/dist/mermaid-parser.core-BbdofhA6.js +23791 -0
- package/dist/mermaid-parser.core-C4ChZJz4.cjs +2 -0
- package/dist/mindmap-definition-VGOIOE7T-BonbrEly.cjs +2 -0
- package/dist/mindmap-definition-VGOIOE7T-C8FL7caj.js +1129 -0
- package/dist/mk-EhcD0RzW.js +219 -0
- package/dist/mk-hVxJgrE0.cjs +2 -0
- package/dist/ms-CJACwjo7.js +219 -0
- package/dist/ms-D0txYckK.cjs +2 -0
- package/dist/nb-BfKRl99z.cjs +2 -0
- package/dist/nb-NCgnP0Pu.js +219 -0
- package/dist/nl-EgsNCunP.js +219 -0
- package/dist/nl-ZXiLkBj_.cjs +2 -0
- package/dist/ordinal-BZdahNih.cjs +2 -0
- package/dist/ordinal-DSZU4PqD.js +77 -0
- package/dist/packet-DYOGHKS2-64UpspMA.cjs +2 -0
- package/dist/packet-DYOGHKS2-DCndr5Wp.js +6 -0
- package/dist/pie-VRWISCQL-B_5_SIgL.cjs +2 -0
- package/dist/pie-VRWISCQL-BbSFz_Jh.js +6 -0
- package/dist/pieDiagram-ADFJNKIX-C8b4kPLp.cjs +2 -0
- package/dist/pieDiagram-ADFJNKIX-CQjh4P80.js +238 -0
- package/dist/pl-H28GVtiG.js +219 -0
- package/dist/pl-tVjdYTB9.cjs +2 -0
- package/dist/providers.cjs +2 -0
- package/dist/providers.js +252 -1
- package/dist/pt-1k62N9F3.cjs +2 -0
- package/dist/pt-BSPZhWKl.js +211 -0
- package/dist/quadrantDiagram-AYHSOK5B-Bb99yQJL.cjs +2 -0
- package/dist/quadrantDiagram-AYHSOK5B-BiLBDCHf.js +1338 -0
- package/dist/radar-ZZBFDIW7-DC8bA3_e.cjs +2 -0
- package/dist/radar-ZZBFDIW7-DpGZ3D_F.js +6 -0
- package/dist/requirementDiagram-UZGBJVZJ-BeLfR5tA.cjs +2 -0
- package/dist/requirementDiagram-UZGBJVZJ-D6hcN5kf.js +1164 -0
- package/dist/ro-9Qt1qDDA.cjs +2 -0
- package/dist/ro-BpaZLre_.js +219 -0
- package/dist/ru-4WxRouIU.cjs +2 -0
- package/dist/ru-CUZzD-Tx.js +219 -0
- package/dist/sankeyDiagram-TZEHDZUN-7K2pggbF.js +1194 -0
- package/dist/sankeyDiagram-TZEHDZUN-T1lqY3ke.cjs +2 -0
- package/dist/sequenceDiagram-WL72ISMW-CaSRrEHR.cjs +2 -0
- package/dist/sequenceDiagram-WL72ISMW-DymCRly8.js +3882 -0
- package/dist/sk-CoQ6XiCY.js +219 -0
- package/dist/sk-uWukDQab.cjs +2 -0
- package/dist/sl-B6DVbKg6.cjs +2 -0
- package/dist/sl-CHW-ZGol.js +219 -0
- package/dist/sr-BOD8Tc-D.cjs +2 -0
- package/dist/sr-EQGjIBJE.js +219 -0
- package/dist/stateDiagram-FKZM4ZOC-B3uhYYpW.js +449 -0
- package/dist/stateDiagram-FKZM4ZOC-BETxyYxX.cjs +2 -0
- package/dist/stateDiagram-v2-4FDKWEC3-B4AjT1wB.cjs +2 -0
- package/dist/stateDiagram-v2-4FDKWEC3-BuiA8K0X.js +20 -0
- package/dist/style.css +1 -0
- package/dist/sv-B6nLuQr7.cjs +2 -0
- package/dist/sv-DTxWN6ED.js +219 -0
- package/dist/th-BVPzHvBf.js +219 -0
- package/dist/th-DmULV6uT.cjs +2 -0
- package/dist/timeline-definition-IT6M3QCI-CsJvwNrg.cjs +2 -0
- package/dist/timeline-definition-IT6M3QCI-DNROY61n.js +1227 -0
- package/dist/tr-BE5geTUC.cjs +2 -0
- package/dist/tr-BHR1QA-D.js +219 -0
- package/dist/treemap-GDKQZRPO-DbPXSmw-.js +6 -0
- package/dist/treemap-GDKQZRPO-Dj3L_VQH.cjs +2 -0
- package/dist/uk-Bc5TwelE.js +219 -0
- package/dist/uk-DS5ukB_-.cjs +2 -0
- package/dist/vi-D9FF4kkG.cjs +2 -0
- package/dist/vi-DC0eQZb7.js +219 -0
- package/dist/xychartDiagram-PRI3JC2R-CXT2FhOm.cjs +2 -0
- package/dist/xychartDiagram-PRI3JC2R-D7UaoGaC.js +1887 -0
- package/dist/zh-CGcOiJ3s.cjs +2 -0
- package/dist/zh-GsCLn8OE.js +219 -0
- package/package.json +95 -92
- package/dist/ILoggingProvider-C4FFlnQ0.js +0 -2
- package/dist/ILoggingProvider-C4FFlnQ0.js.map +0 -1
- package/dist/ILoggingProvider-CYYYCGLY.mjs +0 -18
- package/dist/ILoggingProvider-CYYYCGLY.mjs.map +0 -1
- package/dist/abstractions/IApplicationContext.d.ts.map +0 -1
- package/dist/abstractions/IAuthenticationProvider.d.ts.map +0 -1
- package/dist/abstractions/IGraphProvider.d.ts.map +0 -1
- package/dist/abstractions/ILoggingProvider.d.ts.map +0 -1
- package/dist/abstractions/IPageContext.d.ts.map +0 -1
- package/dist/abstractions/IStorageProvider.d.ts.map +0 -1
- package/dist/abstractions/index.d.ts.map +0 -1
- package/dist/abstractions/providers/ConsoleLoggingProvider.d.ts.map +0 -1
- package/dist/abstractions/providers/DefaultGraphClient.d.ts.map +0 -1
- package/dist/abstractions/providers/LocalStorageProvider.d.ts.map +0 -1
- package/dist/abstractions/providers/index.d.ts.map +0 -1
- package/dist/components/AISearchControl/AISearchControl.d.ts.map +0 -1
- package/dist/components/AISearchControl/AISearchIcon.d.ts.map +0 -1
- package/dist/components/AISearchControl/AISearchIconExample.d.ts.map +0 -1
- package/dist/components/AISearchControl/index.d.ts.map +0 -1
- package/dist/components/AISearchControl/useAISearchControlStyles.d.ts.map +0 -1
- package/dist/components/AspectRatio/AspectRatio.d.ts.map +0 -1
- package/dist/components/AspectRatio/IAspectRationProps.d.ts.map +0 -1
- package/dist/components/AspectRatio/index.d.ts.map +0 -1
- package/dist/components/AspectRatio/useAspectRatioStyles.d.ts.map +0 -1
- package/dist/components/Card/Card.d.ts.map +0 -1
- package/dist/components/Card/ICardProps.d.ts.map +0 -1
- package/dist/components/Card/index.d.ts.map +0 -1
- package/dist/components/Card/useCardStyles.d.ts.map +0 -1
- package/dist/components/Carousel/Carousel.d.ts.map +0 -1
- package/dist/components/Carousel/ICarouselProps.d.ts.map +0 -1
- package/dist/components/Carousel/index.d.ts.map +0 -1
- package/dist/components/Carousel/useCarouselButton.d.ts.map +0 -1
- package/dist/components/Carousel/useCarouselStyles.d.ts.map +0 -1
- package/dist/components/Carousel/useCarouselStylesMain.d.ts.map +0 -1
- package/dist/components/Center/Center.d.ts.map +0 -1
- package/dist/components/Center/ICenterProps.d.ts.map +0 -1
- package/dist/components/Center/index.d.ts.map +0 -1
- package/dist/components/Center/useCenterStyles.d.ts.map +0 -1
- package/dist/components/Container/Container.d.ts.map +0 -1
- package/dist/components/Container/IContainerProps.d.ts.map +0 -1
- package/dist/components/Container/index.d.ts.map +0 -1
- package/dist/components/Container/useContainerStyles.d.ts.map +0 -1
- package/dist/components/ContentRenderer/ContentRenderer.d.ts.map +0 -1
- package/dist/components/ContentRenderer/index.d.ts.map +0 -1
- package/dist/components/DataGridV2/DataGridV2.d.ts.map +0 -1
- package/dist/components/DataGridV2/index.d.ts.map +0 -1
- package/dist/components/DataGridV2/useDataGridV2Styles.d.ts.map +0 -1
- package/dist/components/Grid/Grid.d.ts.map +0 -1
- package/dist/components/Grid/IGridProps.d.ts.map +0 -1
- package/dist/components/Grid/index.d.ts.map +0 -1
- package/dist/components/Grid/useGridStyles.d.ts.map +0 -1
- package/dist/components/Layout/ILayoutProps.d.ts.map +0 -1
- package/dist/components/Layout/Layout.d.ts.map +0 -1
- package/dist/components/Layout/LayoutItem.d.ts.map +0 -1
- package/dist/components/Layout/index.d.ts.map +0 -1
- package/dist/components/Layout/useLayoutStyles.d.ts.map +0 -1
- package/dist/components/ListItemActivityMessage/IAction.d.ts.map +0 -1
- package/dist/components/ListItemActivityMessage/IActivity.d.ts.map +0 -1
- package/dist/components/ListItemActivityMessage/IActivityMessageProps.d.ts.map +0 -1
- package/dist/components/ListItemActivityMessage/IActor.d.ts.map +0 -1
- package/dist/components/ListItemActivityMessage/IUserActor.d.ts.map +0 -1
- package/dist/components/ListItemActivityMessage/ListItemActivityMessage.d.ts.map +0 -1
- package/dist/components/ListItemActivityMessage/index.d.ts.map +0 -1
- package/dist/components/ListItemActivityMessage/useSharePointActivities.d.ts.map +0 -1
- package/dist/components/LivePersona/ILivePersonaProps.d.ts.map +0 -1
- package/dist/components/LivePersona/LivePersona.d.ts.map +0 -1
- package/dist/components/LivePersona/index.d.ts.map +0 -1
- package/dist/components/MarkdownRenderer/MarkdownRenderer.d.ts.map +0 -1
- package/dist/components/MarkdownRenderer/index.d.ts.map +0 -1
- package/dist/components/Popup/Popup.d.ts.map +0 -1
- package/dist/components/Popup/index.d.ts.map +0 -1
- package/dist/components/Provider/UniversalProvider.d.ts.map +0 -1
- package/dist/components/Provider/index.d.ts.map +0 -1
- package/dist/components/RenderLabel/RenderLabel.d.ts.map +0 -1
- package/dist/components/RenderLabel/index.d.ts.map +0 -1
- package/dist/components/RenderLabel/useRenderLabelStylesStyles.d.ts.map +0 -1
- package/dist/components/RenderSpninner/RenderSpinner.d.ts.map +0 -1
- package/dist/components/RenderSpninner/index.d.ts.map +0 -1
- package/dist/components/Space/ISpaceProps.d.ts.map +0 -1
- package/dist/components/Space/SPace.d.ts.map +0 -1
- package/dist/components/Space/index.d.ts.map +0 -1
- package/dist/components/Space/useSpaceStyles.d.ts.map +0 -1
- package/dist/components/Stack/IStackProps.d.ts.map +0 -1
- package/dist/components/Stack/Stack.d.ts.map +0 -1
- package/dist/components/Stack/StackItem.d.ts.map +0 -1
- package/dist/components/Stack/index.d.ts.map +0 -1
- package/dist/components/Stack/useStackStyles.d.ts.map +0 -1
- package/dist/components/StackedUsers/IStackedUsersProps.d.ts.map +0 -1
- package/dist/components/StackedUsers/StackedUsers.d.ts.map +0 -1
- package/dist/components/StackedUsers/index.d.ts.map +0 -1
- package/dist/components/StackedUsers/useStackedUsersStyles.d.ts.map +0 -1
- package/dist/components/adaptiveCardHost/AdaptiveCardHost.Exports.d.ts.map +0 -1
- package/dist/components/adaptiveCardHost/AdaptiveCardHost.HostConfig.d.ts.map +0 -1
- package/dist/components/adaptiveCardHost/AdaptiveCardHost.Utilities.d.ts.map +0 -1
- package/dist/components/adaptiveCardHost/AdaptiveCardHost.d.ts.map +0 -1
- package/dist/components/adaptiveCardHost/IAdaptiveCardHostProps.d.ts.map +0 -1
- package/dist/components/adaptiveCardHost/fluentUI/Actions.d.ts.map +0 -1
- package/dist/components/adaptiveCardHost/fluentUI/Elements.d.ts.map +0 -1
- package/dist/components/adaptiveCardHost/fluentUI/FluentUIChoiceSetInput.d.ts.map +0 -1
- package/dist/components/adaptiveCardHost/fluentUI/FluentUIDateInput.d.ts.map +0 -1
- package/dist/components/adaptiveCardHost/fluentUI/FluentUINumberInput.d.ts.map +0 -1
- package/dist/components/adaptiveCardHost/fluentUI/FluentUITextInput.d.ts.map +0 -1
- package/dist/components/adaptiveCardHost/fluentUI/FluentUITimeInput.d.ts.map +0 -1
- package/dist/components/adaptiveCardHost/fluentUI/FluentUIToggleInput.d.ts.map +0 -1
- package/dist/components/adaptiveCardHost/fluentUI/HostCapability.d.ts.map +0 -1
- package/dist/components/adaptiveCardHost/fluentUI/HostConfig.d.ts.map +0 -1
- package/dist/components/adaptiveCardHost/fluentUI/IconButton.d.ts.map +0 -1
- package/dist/components/adaptiveCardHost/fluentUI/Styles.d.ts.map +0 -1
- package/dist/components/adaptiveCardHost/fluentUI/index.d.ts.map +0 -1
- package/dist/components/adaptiveCardHost/fluentUI/inlineButtonRootStyle.d.ts.map +0 -1
- package/dist/components/adaptiveCardHost/fluentUI/internalRender.d.ts.map +0 -1
- package/dist/components/adaptiveCardHost/index.d.ts.map +0 -1
- package/dist/components/adaptiveCardHost/models/AdaptiveCardHostThemeType.d.ts.map +0 -1
- package/dist/components/adaptiveCardHost/models/IAadInfo.d.ts.map +0 -1
- package/dist/components/adaptiveCardHost/models/IAdaptiveCardHostActionResult.d.ts.map +0 -1
- package/dist/components/adaptiveCardHost/models/IAdaptiveCardHostConfigResult.d.ts.map +0 -1
- package/dist/components/adaptiveCardHost/models/IAdaptiveCardHostEvaluationContext.d.ts.map +0 -1
- package/dist/components/adaptiveCardHost/models/ICultureInfo.d.ts.map +0 -1
- package/dist/components/adaptiveCardHost/models/ISPListInfo.d.ts.map +0 -1
- package/dist/components/adaptiveCardHost/models/ISPListItemInfo.d.ts.map +0 -1
- package/dist/components/adaptiveCardHost/models/ISPSiteInfo.d.ts.map +0 -1
- package/dist/components/adaptiveCardHost/models/ISPWebInfo.d.ts.map +0 -1
- package/dist/components/adaptiveCardHost/models/IUserInfo.d.ts.map +0 -1
- package/dist/components/adaptiveCardHost/models/index.d.ts.map +0 -1
- package/dist/components/aiAssistant/AIAssistant.d.ts.map +0 -1
- package/dist/components/aiAssistant/ChatAction.d.ts.map +0 -1
- package/dist/components/aiAssistant/ChatInput.d.ts.map +0 -1
- package/dist/components/aiAssistant/ChatInputProps.d.ts.map +0 -1
- package/dist/components/aiAssistant/ChatInputWithMensions.d.ts.map +0 -1
- package/dist/components/aiAssistant/ChatInputWithMensionsProps.d.ts.map +0 -1
- package/dist/components/aiAssistant/ChatInputWithMensionsV1.d.ts.map +0 -1
- package/dist/components/aiAssistant/ChatInputWithMensionsV2.d.ts.map +0 -1
- package/dist/components/aiAssistant/ChatList.d.ts.map +0 -1
- package/dist/components/aiAssistant/ChatState.d.ts.map +0 -1
- package/dist/components/aiAssistant/IAIAssistantProps.d.ts.map +0 -1
- package/dist/components/aiAssistant/IChatItem.d.ts.map +0 -1
- package/dist/components/aiAssistant/IResponse.d.ts.map +0 -1
- package/dist/components/aiAssistant/LoadingDots.d.ts.map +0 -1
- package/dist/components/aiAssistant/chatReducer.d.ts.map +0 -1
- package/dist/components/aiAssistant/index.d.ts.map +0 -1
- package/dist/components/aiAssistant/useAIAssistantStyles.d.ts.map +0 -1
- package/dist/components/aiAssistant/useChatInputStyles.d.ts.map +0 -1
- package/dist/components/aiAssistant/useChatInputWithMensionsStyles.d.ts.map +0 -1
- package/dist/components/aiAssistant/useLoadingDotsStyles.d.ts.map +0 -1
- package/dist/components/aiAssistant/useStreamRequest.d.ts.map +0 -1
- package/dist/components/aiAssistant/useStyles.d.ts.map +0 -1
- package/dist/components/appDashboard/AppDashboard.d.ts.map +0 -1
- package/dist/components/appDashboard/IAppDashboardProps.d.ts.map +0 -1
- package/dist/components/appDashboard/NoDashboards.d.ts.map +0 -1
- package/dist/components/appDashboard/index.d.ts.map +0 -1
- package/dist/components/appDashboard/selectZoom/SelectZoom.d.ts.map +0 -1
- package/dist/components/appDashboard/useDashboardStyles.d.ts.map +0 -1
- package/dist/components/baseComponentProps/IBaseProps.d.ts.map +0 -1
- package/dist/components/breadcrumb/Breadcrumb.d.ts.map +0 -1
- package/dist/components/breadcrumb/IBreadcrumItem.d.ts.map +0 -1
- package/dist/components/breadcrumb/IBreadcrumProps.d.ts.map +0 -1
- package/dist/components/breadcrumb/OverflowMenu.d.ts.map +0 -1
- package/dist/components/breadcrumb/index.d.ts.map +0 -1
- package/dist/components/breadcrumb/useBreadcrumStyles.d.ts.map +0 -1
- package/dist/components/buttonMenu/ButtonMenu.d.ts.map +0 -1
- package/dist/components/buttonMenu/IButtonMenuOption.d.ts.map +0 -1
- package/dist/components/buttonMenu/index.d.ts.map +0 -1
- package/dist/components/calendarControl/CalendarControl.d.ts.map +0 -1
- package/dist/components/calendarControl/Day.d.ts.map +0 -1
- package/dist/components/calendarControl/DayView.d.ts.map +0 -1
- package/dist/components/calendarControl/EventDetailsPopover.d.ts.map +0 -1
- package/dist/components/calendarControl/EventPopoverCard.d.ts.map +0 -1
- package/dist/components/calendarControl/EventRender.d.ts.map +0 -1
- package/dist/components/calendarControl/RenderEventToDayOfMonth.d.ts.map +0 -1
- package/dist/components/calendarControl/SelectCalendarView.d.ts.map +0 -1
- package/dist/components/calendarControl/Toolbar.d.ts.map +0 -1
- package/dist/components/calendarControl/WeekView.d.ts.map +0 -1
- package/dist/components/calendarControl/hooks/index.d.ts.map +0 -1
- package/dist/components/calendarControl/hooks/useCalendar.d.ts.map +0 -1
- package/dist/components/calendarControl/hooks/useCalendarStyles.d.ts.map +0 -1
- package/dist/components/calendarControl/hooks/useDayViewStyles.d.ts.map +0 -1
- package/dist/components/calendarControl/hooks/useUtils.d.ts.map +0 -1
- package/dist/components/calendarControl/hooks/useWeekViewStyles.d.ts.map +0 -1
- package/dist/components/calendarControl/index.d.ts.map +0 -1
- package/dist/components/calendarControl/models/ECalendarViews.d.ts.map +0 -1
- package/dist/components/calendarControl/models/IAttendee.d.ts.map +0 -1
- package/dist/components/calendarControl/models/ICalendarControlProps.d.ts.map +0 -1
- package/dist/components/calendarControl/models/ICalendarDay.d.ts.map +0 -1
- package/dist/components/calendarControl/models/IEventColors.d.ts.map +0 -1
- package/dist/components/calendarControl/models/IEvents.d.ts.map +0 -1
- package/dist/components/calendarControl/models/IStrings.d.ts.map +0 -1
- package/dist/components/calendarControl/models/index.d.ts.map +0 -1
- package/dist/components/customControlBar/CustomControlBar.d.ts.map +0 -1
- package/dist/components/customControlBar/index.d.ts.map +0 -1
- package/dist/components/dataGrid/DataGrid.d.ts.map +0 -1
- package/dist/components/dataGrid/IColumnConfig.d.ts.map +0 -1
- package/dist/components/dataGrid/IDataGridProps.d.ts.map +0 -1
- package/dist/components/dataGrid/ISortState.d.ts.map +0 -1
- package/dist/components/dataGrid/index.d.ts.map +0 -1
- package/dist/components/dataGrid/stack/IStackProps.d.ts.map +0 -1
- package/dist/components/dataGrid/stack/Stack.d.ts.map +0 -1
- package/dist/components/dataGrid/useDataGridStyles.d.ts.map +0 -1
- package/dist/components/dropDownField/DropDownField.d.ts.map +0 -1
- package/dist/components/dropDownField/IDropDownFieldProps.d.ts.map +0 -1
- package/dist/components/dropDownField/IOption.d.ts.map +0 -1
- package/dist/components/dropDownField/index.d.ts.map +0 -1
- package/dist/components/genericOverFlowMenu/GenericOverFlowMenu.d.ts.map +0 -1
- package/dist/components/genericOverFlowMenu/index.d.ts.map +0 -1
- package/dist/components/genericOverFlowMenu/useOverflowMenuStyles.d.ts.map +0 -1
- package/dist/components/iconButton/IconButton.d.ts.map +0 -1
- package/dist/components/iconButton/IconButtonProps.d.ts.map +0 -1
- package/dist/components/iconButton/index.d.ts.map +0 -1
- package/dist/components/index.d.ts.map +0 -1
- package/dist/components/mensions/IMensionsProps.d.ts.map +0 -1
- package/dist/components/mensions/Mensions.d.ts.map +0 -1
- package/dist/components/mensions/MensionsExample.d.ts.map +0 -1
- package/dist/components/mensions/index.d.ts.map +0 -1
- package/dist/components/mensions/useMensionsStyles.d.ts.map +0 -1
- package/dist/components/renderAdaptiveCard/RenderAdaptiveCard.d.ts.map +0 -1
- package/dist/components/renderAdaptiveCard/index.d.ts.map +0 -1
- package/dist/components/renderDialog/RenderDialog.d.ts.map +0 -1
- package/dist/components/renderDialog/index.d.ts.map +0 -1
- package/dist/components/renderDrawer/RenderDrawer.d.ts.map +0 -1
- package/dist/components/renderDrawer/index.d.ts.map +0 -1
- package/dist/components/renderHeader/IRenderHeaderProps.d.ts.map +0 -1
- package/dist/components/renderHeader/RenderHeader.d.ts.map +0 -1
- package/dist/components/renderHeader/index.d.ts.map +0 -1
- package/dist/components/renderHeader/useRenderHeaderStyles.d.ts.map +0 -1
- package/dist/components/selectDay/SelectDay.d.ts.map +0 -1
- package/dist/components/selectDay/index.d.ts.map +0 -1
- package/dist/components/selectMonth/CalendarMonth.d.ts.map +0 -1
- package/dist/components/selectMonth/SelectMonth.d.ts.map +0 -1
- package/dist/components/selectMonth/index.d.ts.map +0 -1
- package/dist/components/selectView/SelectView.d.ts.map +0 -1
- package/dist/components/selectView/index.d.ts.map +0 -1
- package/dist/components/selectWeek/SelectWeek.d.ts.map +0 -1
- package/dist/components/selectWeek/index.d.ts.map +0 -1
- package/dist/components/shareDialog/ShareDialog.d.ts.map +0 -1
- package/dist/components/shareDialog/index.d.ts.map +0 -1
- package/dist/components/showError/IErrorDisplayProps.d.ts.map +0 -1
- package/dist/components/showError/ShowError.d.ts.map +0 -1
- package/dist/components/showError/index.d.ts.map +0 -1
- package/dist/components/showError/useShowErrorStyles.d.ts.map +0 -1
- package/dist/components/showMessage/IShowMessage.d.ts.map +0 -1
- package/dist/components/showMessage/ShowMessage.d.ts.map +0 -1
- package/dist/components/showMessage/index.d.ts.map +0 -1
- package/dist/components/showMessage/useShowMessageStyles.d.ts.map +0 -1
- package/dist/components/stackv2/IStackV2Props.d.ts.map +0 -1
- package/dist/components/stackv2/StackV2.d.ts.map +0 -1
- package/dist/components/stackv2/index.d.ts.map +0 -1
- package/dist/components/svgImages/BusinessReportIcon.d.ts.map +0 -1
- package/dist/components/typographyControl/ITypographyControlProps.d.ts.map +0 -1
- package/dist/components/typographyControl/TypographyControl.d.ts.map +0 -1
- package/dist/components/typographyControl/index.d.ts.map +0 -1
- package/dist/components/userCard/IUserCardProps.d.ts.map +0 -1
- package/dist/components/userCard/IUserInfo.d.ts.map +0 -1
- package/dist/components/userCard/UserCard.d.ts.map +0 -1
- package/dist/components/userCard/constants.d.ts.map +0 -1
- package/dist/components/userCard/index.d.ts.map +0 -1
- package/dist/components/userCard/useUserCardStyles.d.ts.map +0 -1
- package/dist/components/userCard/useUserProfile.d.ts.map +0 -1
- package/dist/components/videoPlayer/VideoPlayer.d.ts.map +0 -1
- package/dist/components/videoPlayer/index.d.ts.map +0 -1
- package/dist/components/videoPlayer/useVideoStyles.d.ts.map +0 -1
- package/dist/components/worldMap/IWorldMapProps.d.ts.map +0 -1
- package/dist/components/worldMap/MapNavigation.d.ts.map +0 -1
- package/dist/components/worldMap/MaplibreWorldMapProps.d.ts.map +0 -1
- package/dist/components/worldMap/TooltipContent.d.ts.map +0 -1
- package/dist/components/worldMap/WorldMap.d.ts.map +0 -1
- package/dist/components/worldMap/WorldMapControl.d.ts.map +0 -1
- package/dist/components/worldMap/data.d.ts.map +0 -1
- package/dist/components/worldMap/index.d.ts.map +0 -1
- package/dist/components/worldMap/marker.d.ts.map +0 -1
- package/dist/components/worldMap/useCleanMapStyle.d.ts.map +0 -1
- package/dist/components/worldMap/useContentToolTipStyles.d.ts.map +0 -1
- package/dist/components/worldMap/useGeocodedCountries.d.ts.map +0 -1
- package/dist/constants/EBreakPoints.d.ts.map +0 -1
- package/dist/constants/EMessageTypes.d.ts.map +0 -1
- package/dist/constants/index.d.ts.map +0 -1
- package/dist/hooks/index.d.ts.map +0 -1
- package/dist/hooks/useAIAssistant.d.ts.map +0 -1
- package/dist/hooks/useAIAssistantParser.d.ts.map +0 -1
- package/dist/hooks/useGraphAPI.d.ts.map +0 -1
- package/dist/hooks/useIndexedDB.d.ts.map +0 -1
- package/dist/hooks/useLogging.d.ts.map +0 -1
- package/dist/hooks/usePolling.d.ts.map +0 -1
- package/dist/hooks/useTimeZone.d.ts.map +0 -1
- package/dist/hooks/useTimeZoneHelper.d.ts.map +0 -1
- package/dist/index.d.ts.map +0 -1
- package/dist/index.js.map +0 -1
- package/dist/index.mjs +0 -27983
- package/dist/index.mjs.map +0 -1
- package/dist/models/IAppCardContainer.d.ts.map +0 -1
- package/dist/models/index.d.ts.map +0 -1
- package/dist/providers.js.map +0 -1
- package/dist/providers.mjs +0 -250
- package/dist/providers.mjs.map +0 -1
- package/dist/types/TBaseSpacing.d.ts.map +0 -1
- package/dist/types/THorizontalSpacing.d.ts.map +0 -1
- package/dist/types/THorizontalSpacingBreakPoints.d.ts.map +0 -1
- package/dist/types/TLayoutBreakPoints.d.ts.map +0 -1
- package/dist/types/TPaddingBreakPoints.d.ts.map +0 -1
- package/dist/types/TPading.d.ts.map +0 -1
- package/dist/types/TVerticalSpacing.d.ts.map +0 -1
- package/dist/types/TVerticalSpacingBreakPoints.d.ts.map +0 -1
- package/dist/types/index.d.ts.map +0 -1
- package/dist/utils/contentDetector.d.ts.map +0 -1
- package/dist/utils/index.d.ts.map +0 -1
- package/dist/utils/lodash.d.ts.map +0 -1
- package/dist/utils/useComponentsUtils.d.ts.map +0 -1
- package/dist/utils/useDateUtils.d.ts.map +0 -1
- package/dist/utils/useImageUtils.d.ts.map +0 -1
|
@@ -0,0 +1,696 @@
|
|
|
1
|
+
import { _ as __name, am as markers_default, an as clear2, ao as clear, ap as clear$1, l as log, c as getConfig2, aq as updateNodeBounds, ar as setNodeElem, ai as insertNode, as as getSubGraphTitleMargins, aj as positionNode, ah as insertCluster, at as insertEdge, au as positionEdgeLabel, av as insertEdgeLabel } from "./index-CP55uT1-.js";
|
|
2
|
+
import * as _ from "lodash-es";
|
|
3
|
+
import { l as layout } from "./layout-bxkZz7Cm.js";
|
|
4
|
+
import { G as Graph } from "./graph-DH3cnEko.js";
|
|
5
|
+
function write(g) {
|
|
6
|
+
var json = {
|
|
7
|
+
options: {
|
|
8
|
+
directed: g.isDirected(),
|
|
9
|
+
multigraph: g.isMultigraph(),
|
|
10
|
+
compound: g.isCompound()
|
|
11
|
+
},
|
|
12
|
+
nodes: writeNodes(g),
|
|
13
|
+
edges: writeEdges(g)
|
|
14
|
+
};
|
|
15
|
+
if (!_.isUndefined(g.graph())) {
|
|
16
|
+
json.value = _.clone(g.graph());
|
|
17
|
+
}
|
|
18
|
+
return json;
|
|
19
|
+
}
|
|
20
|
+
function writeNodes(g) {
|
|
21
|
+
return _.map(g.nodes(), function(v) {
|
|
22
|
+
var nodeValue = g.node(v);
|
|
23
|
+
var parent = g.parent(v);
|
|
24
|
+
var node = { v };
|
|
25
|
+
if (!_.isUndefined(nodeValue)) {
|
|
26
|
+
node.value = nodeValue;
|
|
27
|
+
}
|
|
28
|
+
if (!_.isUndefined(parent)) {
|
|
29
|
+
node.parent = parent;
|
|
30
|
+
}
|
|
31
|
+
return node;
|
|
32
|
+
});
|
|
33
|
+
}
|
|
34
|
+
function writeEdges(g) {
|
|
35
|
+
return _.map(g.edges(), function(e) {
|
|
36
|
+
var edgeValue = g.edge(e);
|
|
37
|
+
var edge = { v: e.v, w: e.w };
|
|
38
|
+
if (!_.isUndefined(e.name)) {
|
|
39
|
+
edge.name = e.name;
|
|
40
|
+
}
|
|
41
|
+
if (!_.isUndefined(edgeValue)) {
|
|
42
|
+
edge.value = edgeValue;
|
|
43
|
+
}
|
|
44
|
+
return edge;
|
|
45
|
+
});
|
|
46
|
+
}
|
|
47
|
+
var clusterDb = /* @__PURE__ */ new Map();
|
|
48
|
+
var descendants = /* @__PURE__ */ new Map();
|
|
49
|
+
var parents = /* @__PURE__ */ new Map();
|
|
50
|
+
var clear4 = /* @__PURE__ */ __name(() => {
|
|
51
|
+
descendants.clear();
|
|
52
|
+
parents.clear();
|
|
53
|
+
clusterDb.clear();
|
|
54
|
+
}, "clear");
|
|
55
|
+
var isDescendant = /* @__PURE__ */ __name((id, ancestorId) => {
|
|
56
|
+
const ancestorDescendants = descendants.get(ancestorId) || [];
|
|
57
|
+
log.trace("In isDescendant", ancestorId, " ", id, " = ", ancestorDescendants.includes(id));
|
|
58
|
+
return ancestorDescendants.includes(id);
|
|
59
|
+
}, "isDescendant");
|
|
60
|
+
var edgeInCluster = /* @__PURE__ */ __name((edge, clusterId) => {
|
|
61
|
+
const clusterDescendants = descendants.get(clusterId) || [];
|
|
62
|
+
log.info("Descendants of ", clusterId, " is ", clusterDescendants);
|
|
63
|
+
log.info("Edge is ", edge);
|
|
64
|
+
if (edge.v === clusterId || edge.w === clusterId) {
|
|
65
|
+
return false;
|
|
66
|
+
}
|
|
67
|
+
if (!clusterDescendants) {
|
|
68
|
+
log.debug("Tilt, ", clusterId, ",not in descendants");
|
|
69
|
+
return false;
|
|
70
|
+
}
|
|
71
|
+
return clusterDescendants.includes(edge.v) || isDescendant(edge.v, clusterId) || isDescendant(edge.w, clusterId) || clusterDescendants.includes(edge.w);
|
|
72
|
+
}, "edgeInCluster");
|
|
73
|
+
var copy = /* @__PURE__ */ __name((clusterId, graph, newGraph, rootId) => {
|
|
74
|
+
log.warn(
|
|
75
|
+
"Copying children of ",
|
|
76
|
+
clusterId,
|
|
77
|
+
"root",
|
|
78
|
+
rootId,
|
|
79
|
+
"data",
|
|
80
|
+
graph.node(clusterId),
|
|
81
|
+
rootId
|
|
82
|
+
);
|
|
83
|
+
const nodes = graph.children(clusterId) || [];
|
|
84
|
+
if (clusterId !== rootId) {
|
|
85
|
+
nodes.push(clusterId);
|
|
86
|
+
}
|
|
87
|
+
log.warn("Copying (nodes) clusterId", clusterId, "nodes", nodes);
|
|
88
|
+
nodes.forEach((node) => {
|
|
89
|
+
if (graph.children(node).length > 0) {
|
|
90
|
+
copy(node, graph, newGraph, rootId);
|
|
91
|
+
} else {
|
|
92
|
+
const data = graph.node(node);
|
|
93
|
+
log.info("cp ", node, " to ", rootId, " with parent ", clusterId);
|
|
94
|
+
newGraph.setNode(node, data);
|
|
95
|
+
if (rootId !== graph.parent(node)) {
|
|
96
|
+
log.warn("Setting parent", node, graph.parent(node));
|
|
97
|
+
newGraph.setParent(node, graph.parent(node));
|
|
98
|
+
}
|
|
99
|
+
if (clusterId !== rootId && node !== clusterId) {
|
|
100
|
+
log.debug("Setting parent", node, clusterId);
|
|
101
|
+
newGraph.setParent(node, clusterId);
|
|
102
|
+
} else {
|
|
103
|
+
log.info("In copy ", clusterId, "root", rootId, "data", graph.node(clusterId), rootId);
|
|
104
|
+
log.debug(
|
|
105
|
+
"Not Setting parent for node=",
|
|
106
|
+
node,
|
|
107
|
+
"cluster!==rootId",
|
|
108
|
+
clusterId !== rootId,
|
|
109
|
+
"node!==clusterId",
|
|
110
|
+
node !== clusterId
|
|
111
|
+
);
|
|
112
|
+
}
|
|
113
|
+
const edges = graph.edges(node);
|
|
114
|
+
log.debug("Copying Edges", edges);
|
|
115
|
+
edges.forEach((edge) => {
|
|
116
|
+
log.info("Edge", edge);
|
|
117
|
+
const data2 = graph.edge(edge.v, edge.w, edge.name);
|
|
118
|
+
log.info("Edge data", data2, rootId);
|
|
119
|
+
try {
|
|
120
|
+
if (edgeInCluster(edge, rootId)) {
|
|
121
|
+
log.info("Copying as ", edge.v, edge.w, data2, edge.name);
|
|
122
|
+
newGraph.setEdge(edge.v, edge.w, data2, edge.name);
|
|
123
|
+
log.info("newGraph edges ", newGraph.edges(), newGraph.edge(newGraph.edges()[0]));
|
|
124
|
+
} else {
|
|
125
|
+
log.info(
|
|
126
|
+
"Skipping copy of edge ",
|
|
127
|
+
edge.v,
|
|
128
|
+
"-->",
|
|
129
|
+
edge.w,
|
|
130
|
+
" rootId: ",
|
|
131
|
+
rootId,
|
|
132
|
+
" clusterId:",
|
|
133
|
+
clusterId
|
|
134
|
+
);
|
|
135
|
+
}
|
|
136
|
+
} catch (e) {
|
|
137
|
+
log.error(e);
|
|
138
|
+
}
|
|
139
|
+
});
|
|
140
|
+
}
|
|
141
|
+
log.debug("Removing node", node);
|
|
142
|
+
graph.removeNode(node);
|
|
143
|
+
});
|
|
144
|
+
}, "copy");
|
|
145
|
+
var extractDescendants = /* @__PURE__ */ __name((id, graph) => {
|
|
146
|
+
const children = graph.children(id);
|
|
147
|
+
let res = [...children];
|
|
148
|
+
for (const child of children) {
|
|
149
|
+
parents.set(child, id);
|
|
150
|
+
res = [...res, ...extractDescendants(child, graph)];
|
|
151
|
+
}
|
|
152
|
+
return res;
|
|
153
|
+
}, "extractDescendants");
|
|
154
|
+
var findCommonEdges = /* @__PURE__ */ __name((graph, id1, id2) => {
|
|
155
|
+
const edges1 = graph.edges().filter((edge) => edge.v === id1 || edge.w === id1);
|
|
156
|
+
const edges2 = graph.edges().filter((edge) => edge.v === id2 || edge.w === id2);
|
|
157
|
+
const edges1Prim = edges1.map((edge) => {
|
|
158
|
+
return { v: edge.v === id1 ? id2 : edge.v, w: edge.w === id1 ? id1 : edge.w };
|
|
159
|
+
});
|
|
160
|
+
const edges2Prim = edges2.map((edge) => {
|
|
161
|
+
return { v: edge.v, w: edge.w };
|
|
162
|
+
});
|
|
163
|
+
const result = edges1Prim.filter((edgeIn1) => {
|
|
164
|
+
return edges2Prim.some((edge) => edgeIn1.v === edge.v && edgeIn1.w === edge.w);
|
|
165
|
+
});
|
|
166
|
+
return result;
|
|
167
|
+
}, "findCommonEdges");
|
|
168
|
+
var findNonClusterChild = /* @__PURE__ */ __name((id, graph, clusterId) => {
|
|
169
|
+
const children = graph.children(id);
|
|
170
|
+
log.trace("Searching children of id ", id, children);
|
|
171
|
+
if (children.length < 1) {
|
|
172
|
+
return id;
|
|
173
|
+
}
|
|
174
|
+
let reserve;
|
|
175
|
+
for (const child of children) {
|
|
176
|
+
const _id = findNonClusterChild(child, graph, clusterId);
|
|
177
|
+
const commonEdges = findCommonEdges(graph, clusterId, _id);
|
|
178
|
+
if (_id) {
|
|
179
|
+
if (commonEdges.length > 0) {
|
|
180
|
+
reserve = _id;
|
|
181
|
+
} else {
|
|
182
|
+
return _id;
|
|
183
|
+
}
|
|
184
|
+
}
|
|
185
|
+
}
|
|
186
|
+
return reserve;
|
|
187
|
+
}, "findNonClusterChild");
|
|
188
|
+
var getAnchorId = /* @__PURE__ */ __name((id) => {
|
|
189
|
+
if (!clusterDb.has(id)) {
|
|
190
|
+
return id;
|
|
191
|
+
}
|
|
192
|
+
if (!clusterDb.get(id).externalConnections) {
|
|
193
|
+
return id;
|
|
194
|
+
}
|
|
195
|
+
if (clusterDb.has(id)) {
|
|
196
|
+
return clusterDb.get(id).id;
|
|
197
|
+
}
|
|
198
|
+
return id;
|
|
199
|
+
}, "getAnchorId");
|
|
200
|
+
var adjustClustersAndEdges = /* @__PURE__ */ __name((graph, depth) => {
|
|
201
|
+
if (!graph || depth > 10) {
|
|
202
|
+
log.debug("Opting out, no graph ");
|
|
203
|
+
return;
|
|
204
|
+
} else {
|
|
205
|
+
log.debug("Opting in, graph ");
|
|
206
|
+
}
|
|
207
|
+
graph.nodes().forEach(function(id) {
|
|
208
|
+
const children = graph.children(id);
|
|
209
|
+
if (children.length > 0) {
|
|
210
|
+
log.warn(
|
|
211
|
+
"Cluster identified",
|
|
212
|
+
id,
|
|
213
|
+
" Replacement id in edges: ",
|
|
214
|
+
findNonClusterChild(id, graph, id)
|
|
215
|
+
);
|
|
216
|
+
descendants.set(id, extractDescendants(id, graph));
|
|
217
|
+
clusterDb.set(id, { id: findNonClusterChild(id, graph, id), clusterData: graph.node(id) });
|
|
218
|
+
}
|
|
219
|
+
});
|
|
220
|
+
graph.nodes().forEach(function(id) {
|
|
221
|
+
const children = graph.children(id);
|
|
222
|
+
const edges = graph.edges();
|
|
223
|
+
if (children.length > 0) {
|
|
224
|
+
log.debug("Cluster identified", id, descendants);
|
|
225
|
+
edges.forEach((edge) => {
|
|
226
|
+
const d1 = isDescendant(edge.v, id);
|
|
227
|
+
const d2 = isDescendant(edge.w, id);
|
|
228
|
+
if (d1 ^ d2) {
|
|
229
|
+
log.warn("Edge: ", edge, " leaves cluster ", id);
|
|
230
|
+
log.warn("Descendants of XXX ", id, ": ", descendants.get(id));
|
|
231
|
+
clusterDb.get(id).externalConnections = true;
|
|
232
|
+
}
|
|
233
|
+
});
|
|
234
|
+
} else {
|
|
235
|
+
log.debug("Not a cluster ", id, descendants);
|
|
236
|
+
}
|
|
237
|
+
});
|
|
238
|
+
for (let id of clusterDb.keys()) {
|
|
239
|
+
const nonClusterChild = clusterDb.get(id).id;
|
|
240
|
+
const parent = graph.parent(nonClusterChild);
|
|
241
|
+
if (parent !== id && clusterDb.has(parent) && !clusterDb.get(parent).externalConnections) {
|
|
242
|
+
clusterDb.get(id).id = parent;
|
|
243
|
+
}
|
|
244
|
+
}
|
|
245
|
+
graph.edges().forEach(function(e) {
|
|
246
|
+
const edge = graph.edge(e);
|
|
247
|
+
log.warn("Edge " + e.v + " -> " + e.w + ": " + JSON.stringify(e));
|
|
248
|
+
log.warn("Edge " + e.v + " -> " + e.w + ": " + JSON.stringify(graph.edge(e)));
|
|
249
|
+
let v = e.v;
|
|
250
|
+
let w = e.w;
|
|
251
|
+
log.warn(
|
|
252
|
+
"Fix XXX",
|
|
253
|
+
clusterDb,
|
|
254
|
+
"ids:",
|
|
255
|
+
e.v,
|
|
256
|
+
e.w,
|
|
257
|
+
"Translating: ",
|
|
258
|
+
clusterDb.get(e.v),
|
|
259
|
+
" --- ",
|
|
260
|
+
clusterDb.get(e.w)
|
|
261
|
+
);
|
|
262
|
+
if (clusterDb.get(e.v) || clusterDb.get(e.w)) {
|
|
263
|
+
log.warn("Fixing and trying - removing XXX", e.v, e.w, e.name);
|
|
264
|
+
v = getAnchorId(e.v);
|
|
265
|
+
w = getAnchorId(e.w);
|
|
266
|
+
graph.removeEdge(e.v, e.w, e.name);
|
|
267
|
+
if (v !== e.v) {
|
|
268
|
+
const parent = graph.parent(v);
|
|
269
|
+
clusterDb.get(parent).externalConnections = true;
|
|
270
|
+
edge.fromCluster = e.v;
|
|
271
|
+
}
|
|
272
|
+
if (w !== e.w) {
|
|
273
|
+
const parent = graph.parent(w);
|
|
274
|
+
clusterDb.get(parent).externalConnections = true;
|
|
275
|
+
edge.toCluster = e.w;
|
|
276
|
+
}
|
|
277
|
+
log.warn("Fix Replacing with XXX", v, w, e.name);
|
|
278
|
+
graph.setEdge(v, w, edge, e.name);
|
|
279
|
+
}
|
|
280
|
+
});
|
|
281
|
+
log.warn("Adjusted Graph", write(graph));
|
|
282
|
+
extractor(graph, 0);
|
|
283
|
+
log.trace(clusterDb);
|
|
284
|
+
}, "adjustClustersAndEdges");
|
|
285
|
+
var extractor = /* @__PURE__ */ __name((graph, depth) => {
|
|
286
|
+
var _a, _b;
|
|
287
|
+
log.warn("extractor - ", depth, write(graph), graph.children("D"));
|
|
288
|
+
if (depth > 10) {
|
|
289
|
+
log.error("Bailing out");
|
|
290
|
+
return;
|
|
291
|
+
}
|
|
292
|
+
let nodes = graph.nodes();
|
|
293
|
+
let hasChildren = false;
|
|
294
|
+
for (const node of nodes) {
|
|
295
|
+
const children = graph.children(node);
|
|
296
|
+
hasChildren = hasChildren || children.length > 0;
|
|
297
|
+
}
|
|
298
|
+
if (!hasChildren) {
|
|
299
|
+
log.debug("Done, no node has children", graph.nodes());
|
|
300
|
+
return;
|
|
301
|
+
}
|
|
302
|
+
log.debug("Nodes = ", nodes, depth);
|
|
303
|
+
for (const node of nodes) {
|
|
304
|
+
log.debug(
|
|
305
|
+
"Extracting node",
|
|
306
|
+
node,
|
|
307
|
+
clusterDb,
|
|
308
|
+
clusterDb.has(node) && !clusterDb.get(node).externalConnections,
|
|
309
|
+
!graph.parent(node),
|
|
310
|
+
graph.node(node),
|
|
311
|
+
graph.children("D"),
|
|
312
|
+
" Depth ",
|
|
313
|
+
depth
|
|
314
|
+
);
|
|
315
|
+
if (!clusterDb.has(node)) {
|
|
316
|
+
log.debug("Not a cluster", node, depth);
|
|
317
|
+
} else if (!clusterDb.get(node).externalConnections && graph.children(node) && graph.children(node).length > 0) {
|
|
318
|
+
log.warn(
|
|
319
|
+
"Cluster without external connections, without a parent and with children",
|
|
320
|
+
node,
|
|
321
|
+
depth
|
|
322
|
+
);
|
|
323
|
+
const graphSettings = graph.graph();
|
|
324
|
+
let dir = graphSettings.rankdir === "TB" ? "LR" : "TB";
|
|
325
|
+
if ((_b = (_a = clusterDb.get(node)) == null ? void 0 : _a.clusterData) == null ? void 0 : _b.dir) {
|
|
326
|
+
dir = clusterDb.get(node).clusterData.dir;
|
|
327
|
+
log.warn("Fixing dir", clusterDb.get(node).clusterData.dir, dir);
|
|
328
|
+
}
|
|
329
|
+
const clusterGraph = new Graph({
|
|
330
|
+
multigraph: true,
|
|
331
|
+
compound: true
|
|
332
|
+
}).setGraph({
|
|
333
|
+
rankdir: dir,
|
|
334
|
+
nodesep: 50,
|
|
335
|
+
ranksep: 50,
|
|
336
|
+
marginx: 8,
|
|
337
|
+
marginy: 8
|
|
338
|
+
}).setDefaultEdgeLabel(function() {
|
|
339
|
+
return {};
|
|
340
|
+
});
|
|
341
|
+
log.warn("Old graph before copy", write(graph));
|
|
342
|
+
copy(node, graph, clusterGraph, node);
|
|
343
|
+
graph.setNode(node, {
|
|
344
|
+
clusterNode: true,
|
|
345
|
+
id: node,
|
|
346
|
+
clusterData: clusterDb.get(node).clusterData,
|
|
347
|
+
label: clusterDb.get(node).label,
|
|
348
|
+
graph: clusterGraph
|
|
349
|
+
});
|
|
350
|
+
log.warn("New graph after copy node: (", node, ")", write(clusterGraph));
|
|
351
|
+
log.debug("Old graph after copy", write(graph));
|
|
352
|
+
} else {
|
|
353
|
+
log.warn(
|
|
354
|
+
"Cluster ** ",
|
|
355
|
+
node,
|
|
356
|
+
" **not meeting the criteria !externalConnections:",
|
|
357
|
+
!clusterDb.get(node).externalConnections,
|
|
358
|
+
" no parent: ",
|
|
359
|
+
!graph.parent(node),
|
|
360
|
+
" children ",
|
|
361
|
+
graph.children(node) && graph.children(node).length > 0,
|
|
362
|
+
graph.children("D"),
|
|
363
|
+
depth
|
|
364
|
+
);
|
|
365
|
+
log.debug(clusterDb);
|
|
366
|
+
}
|
|
367
|
+
}
|
|
368
|
+
nodes = graph.nodes();
|
|
369
|
+
log.warn("New list of nodes", nodes);
|
|
370
|
+
for (const node of nodes) {
|
|
371
|
+
const data = graph.node(node);
|
|
372
|
+
log.warn(" Now next level", node, data);
|
|
373
|
+
if (data == null ? void 0 : data.clusterNode) {
|
|
374
|
+
extractor(data.graph, depth + 1);
|
|
375
|
+
}
|
|
376
|
+
}
|
|
377
|
+
}, "extractor");
|
|
378
|
+
var sorter = /* @__PURE__ */ __name((graph, nodes) => {
|
|
379
|
+
if (nodes.length === 0) {
|
|
380
|
+
return [];
|
|
381
|
+
}
|
|
382
|
+
let result = Object.assign([], nodes);
|
|
383
|
+
nodes.forEach((node) => {
|
|
384
|
+
const children = graph.children(node);
|
|
385
|
+
const sorted = sorter(graph, children);
|
|
386
|
+
result = [...result, ...sorted];
|
|
387
|
+
});
|
|
388
|
+
return result;
|
|
389
|
+
}, "sorter");
|
|
390
|
+
var sortNodesByHierarchy = /* @__PURE__ */ __name((graph) => sorter(graph, graph.children()), "sortNodesByHierarchy");
|
|
391
|
+
var recursiveRender = /* @__PURE__ */ __name(async (_elem, graph, diagramType, id, parentCluster, siteConfig) => {
|
|
392
|
+
log.warn("Graph in recursive render:XAX", write(graph), parentCluster);
|
|
393
|
+
const dir = graph.graph().rankdir;
|
|
394
|
+
log.trace("Dir in recursive render - dir:", dir);
|
|
395
|
+
const elem = _elem.insert("g").attr("class", "root");
|
|
396
|
+
if (!graph.nodes()) {
|
|
397
|
+
log.info("No nodes found for", graph);
|
|
398
|
+
} else {
|
|
399
|
+
log.info("Recursive render XXX", graph.nodes());
|
|
400
|
+
}
|
|
401
|
+
if (graph.edges().length > 0) {
|
|
402
|
+
log.info("Recursive edges", graph.edge(graph.edges()[0]));
|
|
403
|
+
}
|
|
404
|
+
const clusters = elem.insert("g").attr("class", "clusters");
|
|
405
|
+
const edgePaths = elem.insert("g").attr("class", "edgePaths");
|
|
406
|
+
const edgeLabels = elem.insert("g").attr("class", "edgeLabels");
|
|
407
|
+
const nodes = elem.insert("g").attr("class", "nodes");
|
|
408
|
+
await Promise.all(
|
|
409
|
+
graph.nodes().map(async function(v) {
|
|
410
|
+
const node = graph.node(v);
|
|
411
|
+
if (parentCluster !== void 0) {
|
|
412
|
+
const data = JSON.parse(JSON.stringify(parentCluster.clusterData));
|
|
413
|
+
log.trace(
|
|
414
|
+
"Setting data for parent cluster XXX\n Node.id = ",
|
|
415
|
+
v,
|
|
416
|
+
"\n data=",
|
|
417
|
+
data.height,
|
|
418
|
+
"\nParent cluster",
|
|
419
|
+
parentCluster.height
|
|
420
|
+
);
|
|
421
|
+
graph.setNode(parentCluster.id, data);
|
|
422
|
+
if (!graph.parent(v)) {
|
|
423
|
+
log.trace("Setting parent", v, parentCluster.id);
|
|
424
|
+
graph.setParent(v, parentCluster.id, data);
|
|
425
|
+
}
|
|
426
|
+
}
|
|
427
|
+
log.info("(Insert) Node XXX" + v + ": " + JSON.stringify(graph.node(v)));
|
|
428
|
+
if (node == null ? void 0 : node.clusterNode) {
|
|
429
|
+
log.info("Cluster identified XBX", v, node.width, graph.node(v));
|
|
430
|
+
const { ranksep, nodesep } = graph.graph();
|
|
431
|
+
node.graph.setGraph({
|
|
432
|
+
...node.graph.graph(),
|
|
433
|
+
ranksep: ranksep + 25,
|
|
434
|
+
nodesep
|
|
435
|
+
});
|
|
436
|
+
const o = await recursiveRender(
|
|
437
|
+
nodes,
|
|
438
|
+
node.graph,
|
|
439
|
+
diagramType,
|
|
440
|
+
id,
|
|
441
|
+
graph.node(v),
|
|
442
|
+
siteConfig
|
|
443
|
+
);
|
|
444
|
+
const newEl = o.elem;
|
|
445
|
+
updateNodeBounds(node, newEl);
|
|
446
|
+
node.diff = o.diff || 0;
|
|
447
|
+
log.info(
|
|
448
|
+
"New compound node after recursive render XAX",
|
|
449
|
+
v,
|
|
450
|
+
"width",
|
|
451
|
+
// node,
|
|
452
|
+
node.width,
|
|
453
|
+
"height",
|
|
454
|
+
node.height
|
|
455
|
+
// node.x,
|
|
456
|
+
// node.y
|
|
457
|
+
);
|
|
458
|
+
setNodeElem(newEl, node);
|
|
459
|
+
} else {
|
|
460
|
+
if (graph.children(v).length > 0) {
|
|
461
|
+
log.trace(
|
|
462
|
+
"Cluster - the non recursive path XBX",
|
|
463
|
+
v,
|
|
464
|
+
node.id,
|
|
465
|
+
node,
|
|
466
|
+
node.width,
|
|
467
|
+
"Graph:",
|
|
468
|
+
graph
|
|
469
|
+
);
|
|
470
|
+
log.trace(findNonClusterChild(node.id, graph));
|
|
471
|
+
clusterDb.set(node.id, { id: findNonClusterChild(node.id, graph), node });
|
|
472
|
+
} else {
|
|
473
|
+
log.trace("Node - the non recursive path XAX", v, nodes, graph.node(v), dir);
|
|
474
|
+
await insertNode(nodes, graph.node(v), { config: siteConfig, dir });
|
|
475
|
+
}
|
|
476
|
+
}
|
|
477
|
+
})
|
|
478
|
+
);
|
|
479
|
+
const processEdges = /* @__PURE__ */ __name(async () => {
|
|
480
|
+
const edgePromises = graph.edges().map(async function(e) {
|
|
481
|
+
const edge = graph.edge(e.v, e.w, e.name);
|
|
482
|
+
log.info("Edge " + e.v + " -> " + e.w + ": " + JSON.stringify(e));
|
|
483
|
+
log.info("Edge " + e.v + " -> " + e.w + ": ", e, " ", JSON.stringify(graph.edge(e)));
|
|
484
|
+
log.info(
|
|
485
|
+
"Fix",
|
|
486
|
+
clusterDb,
|
|
487
|
+
"ids:",
|
|
488
|
+
e.v,
|
|
489
|
+
e.w,
|
|
490
|
+
"Translating: ",
|
|
491
|
+
clusterDb.get(e.v),
|
|
492
|
+
clusterDb.get(e.w)
|
|
493
|
+
);
|
|
494
|
+
await insertEdgeLabel(edgeLabels, edge);
|
|
495
|
+
});
|
|
496
|
+
await Promise.all(edgePromises);
|
|
497
|
+
}, "processEdges");
|
|
498
|
+
await processEdges();
|
|
499
|
+
log.info("Graph before layout:", JSON.stringify(write(graph)));
|
|
500
|
+
log.info("############################################# XXX");
|
|
501
|
+
log.info("### Layout ### XXX");
|
|
502
|
+
log.info("############################################# XXX");
|
|
503
|
+
layout(graph);
|
|
504
|
+
log.info("Graph after layout:", JSON.stringify(write(graph)));
|
|
505
|
+
let diff = 0;
|
|
506
|
+
let { subGraphTitleTotalMargin } = getSubGraphTitleMargins(siteConfig);
|
|
507
|
+
await Promise.all(
|
|
508
|
+
sortNodesByHierarchy(graph).map(async function(v) {
|
|
509
|
+
var _a;
|
|
510
|
+
const node = graph.node(v);
|
|
511
|
+
log.info(
|
|
512
|
+
"Position XBX => " + v + ": (" + node.x,
|
|
513
|
+
"," + node.y,
|
|
514
|
+
") width: ",
|
|
515
|
+
node.width,
|
|
516
|
+
" height: ",
|
|
517
|
+
node.height
|
|
518
|
+
);
|
|
519
|
+
if (node == null ? void 0 : node.clusterNode) {
|
|
520
|
+
node.y += subGraphTitleTotalMargin;
|
|
521
|
+
log.info(
|
|
522
|
+
"A tainted cluster node XBX1",
|
|
523
|
+
v,
|
|
524
|
+
node.id,
|
|
525
|
+
node.width,
|
|
526
|
+
node.height,
|
|
527
|
+
node.x,
|
|
528
|
+
node.y,
|
|
529
|
+
graph.parent(v)
|
|
530
|
+
);
|
|
531
|
+
clusterDb.get(node.id).node = node;
|
|
532
|
+
positionNode(node);
|
|
533
|
+
} else {
|
|
534
|
+
if (graph.children(v).length > 0) {
|
|
535
|
+
log.info(
|
|
536
|
+
"A pure cluster node XBX1",
|
|
537
|
+
v,
|
|
538
|
+
node.id,
|
|
539
|
+
node.x,
|
|
540
|
+
node.y,
|
|
541
|
+
node.width,
|
|
542
|
+
node.height,
|
|
543
|
+
graph.parent(v)
|
|
544
|
+
);
|
|
545
|
+
node.height += subGraphTitleTotalMargin;
|
|
546
|
+
graph.node(node.parentId);
|
|
547
|
+
const halfPadding = (node == null ? void 0 : node.padding) / 2 || 0;
|
|
548
|
+
const labelHeight = ((_a = node == null ? void 0 : node.labelBBox) == null ? void 0 : _a.height) || 0;
|
|
549
|
+
const offsetY = labelHeight - halfPadding || 0;
|
|
550
|
+
log.debug("OffsetY", offsetY, "labelHeight", labelHeight, "halfPadding", halfPadding);
|
|
551
|
+
await insertCluster(clusters, node);
|
|
552
|
+
clusterDb.get(node.id).node = node;
|
|
553
|
+
} else {
|
|
554
|
+
const parent = graph.node(node.parentId);
|
|
555
|
+
node.y += subGraphTitleTotalMargin / 2;
|
|
556
|
+
log.info(
|
|
557
|
+
"A regular node XBX1 - using the padding",
|
|
558
|
+
node.id,
|
|
559
|
+
"parent",
|
|
560
|
+
node.parentId,
|
|
561
|
+
node.width,
|
|
562
|
+
node.height,
|
|
563
|
+
node.x,
|
|
564
|
+
node.y,
|
|
565
|
+
"offsetY",
|
|
566
|
+
node.offsetY,
|
|
567
|
+
"parent",
|
|
568
|
+
parent,
|
|
569
|
+
parent == null ? void 0 : parent.offsetY,
|
|
570
|
+
node
|
|
571
|
+
);
|
|
572
|
+
positionNode(node);
|
|
573
|
+
}
|
|
574
|
+
}
|
|
575
|
+
})
|
|
576
|
+
);
|
|
577
|
+
graph.edges().forEach(function(e) {
|
|
578
|
+
const edge = graph.edge(e);
|
|
579
|
+
log.info("Edge " + e.v + " -> " + e.w + ": " + JSON.stringify(edge), edge);
|
|
580
|
+
edge.points.forEach((point) => point.y += subGraphTitleTotalMargin / 2);
|
|
581
|
+
const startNode = graph.node(e.v);
|
|
582
|
+
var endNode = graph.node(e.w);
|
|
583
|
+
const paths = insertEdge(edgePaths, edge, clusterDb, diagramType, startNode, endNode, id);
|
|
584
|
+
positionEdgeLabel(edge, paths);
|
|
585
|
+
});
|
|
586
|
+
graph.nodes().forEach(function(v) {
|
|
587
|
+
const n = graph.node(v);
|
|
588
|
+
log.info(v, n.type, n.diff);
|
|
589
|
+
if (n.isGroup) {
|
|
590
|
+
diff = n.diff;
|
|
591
|
+
}
|
|
592
|
+
});
|
|
593
|
+
log.warn("Returning from recursive render XAX", elem, diff);
|
|
594
|
+
return { elem, diff };
|
|
595
|
+
}, "recursiveRender");
|
|
596
|
+
var render = /* @__PURE__ */ __name(async (data4Layout, svg) => {
|
|
597
|
+
var _a, _b, _c, _d, _e, _f;
|
|
598
|
+
const graph = new Graph({
|
|
599
|
+
multigraph: true,
|
|
600
|
+
compound: true
|
|
601
|
+
}).setGraph({
|
|
602
|
+
rankdir: data4Layout.direction,
|
|
603
|
+
nodesep: ((_a = data4Layout.config) == null ? void 0 : _a.nodeSpacing) || ((_c = (_b = data4Layout.config) == null ? void 0 : _b.flowchart) == null ? void 0 : _c.nodeSpacing) || data4Layout.nodeSpacing,
|
|
604
|
+
ranksep: ((_d = data4Layout.config) == null ? void 0 : _d.rankSpacing) || ((_f = (_e = data4Layout.config) == null ? void 0 : _e.flowchart) == null ? void 0 : _f.rankSpacing) || data4Layout.rankSpacing,
|
|
605
|
+
marginx: 8,
|
|
606
|
+
marginy: 8
|
|
607
|
+
}).setDefaultEdgeLabel(function() {
|
|
608
|
+
return {};
|
|
609
|
+
});
|
|
610
|
+
const element = svg.select("g");
|
|
611
|
+
markers_default(element, data4Layout.markers, data4Layout.type, data4Layout.diagramId);
|
|
612
|
+
clear2();
|
|
613
|
+
clear();
|
|
614
|
+
clear$1();
|
|
615
|
+
clear4();
|
|
616
|
+
data4Layout.nodes.forEach((node) => {
|
|
617
|
+
graph.setNode(node.id, { ...node });
|
|
618
|
+
if (node.parentId) {
|
|
619
|
+
graph.setParent(node.id, node.parentId);
|
|
620
|
+
}
|
|
621
|
+
});
|
|
622
|
+
log.debug("Edges:", data4Layout.edges);
|
|
623
|
+
data4Layout.edges.forEach((edge) => {
|
|
624
|
+
if (edge.start === edge.end) {
|
|
625
|
+
const nodeId = edge.start;
|
|
626
|
+
const specialId1 = nodeId + "---" + nodeId + "---1";
|
|
627
|
+
const specialId2 = nodeId + "---" + nodeId + "---2";
|
|
628
|
+
const node = graph.node(nodeId);
|
|
629
|
+
graph.setNode(specialId1, {
|
|
630
|
+
domId: specialId1,
|
|
631
|
+
id: specialId1,
|
|
632
|
+
parentId: node.parentId,
|
|
633
|
+
labelStyle: "",
|
|
634
|
+
label: "",
|
|
635
|
+
padding: 0,
|
|
636
|
+
shape: "labelRect",
|
|
637
|
+
// shape: 'rect',
|
|
638
|
+
style: "",
|
|
639
|
+
width: 10,
|
|
640
|
+
height: 10
|
|
641
|
+
});
|
|
642
|
+
graph.setParent(specialId1, node.parentId);
|
|
643
|
+
graph.setNode(specialId2, {
|
|
644
|
+
domId: specialId2,
|
|
645
|
+
id: specialId2,
|
|
646
|
+
parentId: node.parentId,
|
|
647
|
+
labelStyle: "",
|
|
648
|
+
padding: 0,
|
|
649
|
+
// shape: 'rect',
|
|
650
|
+
shape: "labelRect",
|
|
651
|
+
label: "",
|
|
652
|
+
style: "",
|
|
653
|
+
width: 10,
|
|
654
|
+
height: 10
|
|
655
|
+
});
|
|
656
|
+
graph.setParent(specialId2, node.parentId);
|
|
657
|
+
const edge1 = structuredClone(edge);
|
|
658
|
+
const edgeMid = structuredClone(edge);
|
|
659
|
+
const edge2 = structuredClone(edge);
|
|
660
|
+
edge1.label = "";
|
|
661
|
+
edge1.arrowTypeEnd = "none";
|
|
662
|
+
edge1.id = nodeId + "-cyclic-special-1";
|
|
663
|
+
edgeMid.arrowTypeStart = "none";
|
|
664
|
+
edgeMid.arrowTypeEnd = "none";
|
|
665
|
+
edgeMid.id = nodeId + "-cyclic-special-mid";
|
|
666
|
+
edge2.label = "";
|
|
667
|
+
if (node.isGroup) {
|
|
668
|
+
edge1.fromCluster = nodeId;
|
|
669
|
+
edge2.toCluster = nodeId;
|
|
670
|
+
}
|
|
671
|
+
edge2.id = nodeId + "-cyclic-special-2";
|
|
672
|
+
edge2.arrowTypeStart = "none";
|
|
673
|
+
graph.setEdge(nodeId, specialId1, edge1, nodeId + "-cyclic-special-0");
|
|
674
|
+
graph.setEdge(specialId1, specialId2, edgeMid, nodeId + "-cyclic-special-1");
|
|
675
|
+
graph.setEdge(specialId2, nodeId, edge2, nodeId + "-cyc<lic-special-2");
|
|
676
|
+
} else {
|
|
677
|
+
graph.setEdge(edge.start, edge.end, { ...edge }, edge.id);
|
|
678
|
+
}
|
|
679
|
+
});
|
|
680
|
+
log.warn("Graph at first:", JSON.stringify(write(graph)));
|
|
681
|
+
adjustClustersAndEdges(graph);
|
|
682
|
+
log.warn("Graph after XAX:", JSON.stringify(write(graph)));
|
|
683
|
+
const siteConfig = getConfig2();
|
|
684
|
+
await recursiveRender(
|
|
685
|
+
element,
|
|
686
|
+
graph,
|
|
687
|
+
data4Layout.type,
|
|
688
|
+
data4Layout.diagramId,
|
|
689
|
+
void 0,
|
|
690
|
+
siteConfig
|
|
691
|
+
);
|
|
692
|
+
}, "render");
|
|
693
|
+
export {
|
|
694
|
+
render
|
|
695
|
+
};
|
|
696
|
+
//# sourceMappingURL=dagre-6UL2VRFP-BZ9apxkx.js.map
|