@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,1164 @@
|
|
|
1
|
+
var _a;
|
|
2
|
+
import { g as getDiagramElement } from "./chunk-55IACEB6-__yJgpDO.js";
|
|
3
|
+
import { s as setupViewPortForSVG } from "./chunk-QN33PNHL-DA_6jplh.js";
|
|
4
|
+
import { _ as __name, b as setAccTitle, a as getAccTitle, s as setAccDescription, g as getAccDescription, q as setDiagramTitle, t as getDiagramTitle, c as getConfig2, l as log, z as clear, D as __export, p as getRegisteredLayoutAlgorithm, r as render, u as utils_default } from "./index-CP55uT1-.js";
|
|
5
|
+
var parser = function() {
|
|
6
|
+
var o = /* @__PURE__ */ __name(function(k, v, o2, l) {
|
|
7
|
+
for (o2 = o2 || {}, l = k.length; l--; o2[k[l]] = v) ;
|
|
8
|
+
return o2;
|
|
9
|
+
}, "o"), $V0 = [1, 3], $V1 = [1, 4], $V2 = [1, 5], $V3 = [1, 6], $V4 = [5, 6, 8, 9, 11, 13, 21, 22, 23, 24, 41, 42, 43, 44, 45, 46, 54, 72, 74, 77, 89, 90], $V5 = [1, 22], $V6 = [2, 7], $V7 = [1, 26], $V8 = [1, 27], $V9 = [1, 28], $Va = [1, 29], $Vb = [1, 33], $Vc = [1, 34], $Vd = [1, 35], $Ve = [1, 36], $Vf = [1, 37], $Vg = [1, 38], $Vh = [1, 24], $Vi = [1, 31], $Vj = [1, 32], $Vk = [1, 30], $Vl = [1, 39], $Vm = [1, 40], $Vn = [5, 8, 9, 11, 13, 21, 22, 23, 24, 41, 42, 43, 44, 45, 46, 54, 72, 74, 77, 89, 90], $Vo = [1, 61], $Vp = [89, 90], $Vq = [5, 8, 9, 11, 13, 21, 22, 23, 24, 27, 29, 41, 42, 43, 44, 45, 46, 54, 61, 63, 72, 74, 75, 76, 77, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90], $Vr = [27, 29], $Vs = [1, 70], $Vt = [1, 71], $Vu = [1, 72], $Vv = [1, 73], $Vw = [1, 74], $Vx = [1, 75], $Vy = [1, 76], $Vz = [1, 83], $VA = [1, 80], $VB = [1, 84], $VC = [1, 85], $VD = [1, 86], $VE = [1, 87], $VF = [1, 88], $VG = [1, 89], $VH = [1, 90], $VI = [1, 91], $VJ = [1, 92], $VK = [5, 8, 9, 11, 13, 21, 22, 23, 24, 27, 41, 42, 43, 44, 45, 46, 54, 72, 74, 75, 76, 77, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90], $VL = [63, 64], $VM = [1, 101], $VN = [5, 8, 9, 11, 13, 21, 22, 23, 24, 41, 42, 43, 44, 45, 46, 54, 72, 74, 76, 77, 89, 90], $VO = [5, 8, 9, 11, 13, 21, 22, 23, 24, 41, 42, 43, 44, 45, 46, 54, 72, 74, 75, 76, 77, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90], $VP = [1, 110], $VQ = [1, 106], $VR = [1, 107], $VS = [1, 108], $VT = [1, 109], $VU = [1, 111], $VV = [1, 116], $VW = [1, 117], $VX = [1, 114], $VY = [1, 115];
|
|
10
|
+
var parser2 = {
|
|
11
|
+
trace: /* @__PURE__ */ __name(function trace() {
|
|
12
|
+
}, "trace"),
|
|
13
|
+
yy: {},
|
|
14
|
+
symbols_: { "error": 2, "start": 3, "directive": 4, "NEWLINE": 5, "RD": 6, "diagram": 7, "EOF": 8, "acc_title": 9, "acc_title_value": 10, "acc_descr": 11, "acc_descr_value": 12, "acc_descr_multiline_value": 13, "requirementDef": 14, "elementDef": 15, "relationshipDef": 16, "direction": 17, "styleStatement": 18, "classDefStatement": 19, "classStatement": 20, "direction_tb": 21, "direction_bt": 22, "direction_rl": 23, "direction_lr": 24, "requirementType": 25, "requirementName": 26, "STRUCT_START": 27, "requirementBody": 28, "STYLE_SEPARATOR": 29, "idList": 30, "ID": 31, "COLONSEP": 32, "id": 33, "TEXT": 34, "text": 35, "RISK": 36, "riskLevel": 37, "VERIFYMTHD": 38, "verifyType": 39, "STRUCT_STOP": 40, "REQUIREMENT": 41, "FUNCTIONAL_REQUIREMENT": 42, "INTERFACE_REQUIREMENT": 43, "PERFORMANCE_REQUIREMENT": 44, "PHYSICAL_REQUIREMENT": 45, "DESIGN_CONSTRAINT": 46, "LOW_RISK": 47, "MED_RISK": 48, "HIGH_RISK": 49, "VERIFY_ANALYSIS": 50, "VERIFY_DEMONSTRATION": 51, "VERIFY_INSPECTION": 52, "VERIFY_TEST": 53, "ELEMENT": 54, "elementName": 55, "elementBody": 56, "TYPE": 57, "type": 58, "DOCREF": 59, "ref": 60, "END_ARROW_L": 61, "relationship": 62, "LINE": 63, "END_ARROW_R": 64, "CONTAINS": 65, "COPIES": 66, "DERIVES": 67, "SATISFIES": 68, "VERIFIES": 69, "REFINES": 70, "TRACES": 71, "CLASSDEF": 72, "stylesOpt": 73, "CLASS": 74, "ALPHA": 75, "COMMA": 76, "STYLE": 77, "style": 78, "styleComponent": 79, "NUM": 80, "COLON": 81, "UNIT": 82, "SPACE": 83, "BRKT": 84, "PCT": 85, "MINUS": 86, "LABEL": 87, "SEMICOLON": 88, "unqString": 89, "qString": 90, "$accept": 0, "$end": 1 },
|
|
15
|
+
terminals_: { 2: "error", 5: "NEWLINE", 6: "RD", 8: "EOF", 9: "acc_title", 10: "acc_title_value", 11: "acc_descr", 12: "acc_descr_value", 13: "acc_descr_multiline_value", 21: "direction_tb", 22: "direction_bt", 23: "direction_rl", 24: "direction_lr", 27: "STRUCT_START", 29: "STYLE_SEPARATOR", 31: "ID", 32: "COLONSEP", 34: "TEXT", 36: "RISK", 38: "VERIFYMTHD", 40: "STRUCT_STOP", 41: "REQUIREMENT", 42: "FUNCTIONAL_REQUIREMENT", 43: "INTERFACE_REQUIREMENT", 44: "PERFORMANCE_REQUIREMENT", 45: "PHYSICAL_REQUIREMENT", 46: "DESIGN_CONSTRAINT", 47: "LOW_RISK", 48: "MED_RISK", 49: "HIGH_RISK", 50: "VERIFY_ANALYSIS", 51: "VERIFY_DEMONSTRATION", 52: "VERIFY_INSPECTION", 53: "VERIFY_TEST", 54: "ELEMENT", 57: "TYPE", 59: "DOCREF", 61: "END_ARROW_L", 63: "LINE", 64: "END_ARROW_R", 65: "CONTAINS", 66: "COPIES", 67: "DERIVES", 68: "SATISFIES", 69: "VERIFIES", 70: "REFINES", 71: "TRACES", 72: "CLASSDEF", 74: "CLASS", 75: "ALPHA", 76: "COMMA", 77: "STYLE", 80: "NUM", 81: "COLON", 82: "UNIT", 83: "SPACE", 84: "BRKT", 85: "PCT", 86: "MINUS", 87: "LABEL", 88: "SEMICOLON", 89: "unqString", 90: "qString" },
|
|
16
|
+
productions_: [0, [3, 3], [3, 2], [3, 4], [4, 2], [4, 2], [4, 1], [7, 0], [7, 2], [7, 2], [7, 2], [7, 2], [7, 2], [7, 2], [7, 2], [7, 2], [7, 2], [17, 1], [17, 1], [17, 1], [17, 1], [14, 5], [14, 7], [28, 5], [28, 5], [28, 5], [28, 5], [28, 2], [28, 1], [25, 1], [25, 1], [25, 1], [25, 1], [25, 1], [25, 1], [37, 1], [37, 1], [37, 1], [39, 1], [39, 1], [39, 1], [39, 1], [15, 5], [15, 7], [56, 5], [56, 5], [56, 2], [56, 1], [16, 5], [16, 5], [62, 1], [62, 1], [62, 1], [62, 1], [62, 1], [62, 1], [62, 1], [19, 3], [20, 3], [20, 3], [30, 1], [30, 3], [30, 1], [30, 3], [18, 3], [73, 1], [73, 3], [78, 1], [78, 2], [79, 1], [79, 1], [79, 1], [79, 1], [79, 1], [79, 1], [79, 1], [79, 1], [79, 1], [79, 1], [26, 1], [26, 1], [33, 1], [33, 1], [35, 1], [35, 1], [55, 1], [55, 1], [58, 1], [58, 1], [60, 1], [60, 1]],
|
|
17
|
+
performAction: /* @__PURE__ */ __name(function anonymous(yytext, yyleng, yylineno, yy, yystate, $$, _$) {
|
|
18
|
+
var $0 = $$.length - 1;
|
|
19
|
+
switch (yystate) {
|
|
20
|
+
case 4:
|
|
21
|
+
this.$ = $$[$0].trim();
|
|
22
|
+
yy.setAccTitle(this.$);
|
|
23
|
+
break;
|
|
24
|
+
case 5:
|
|
25
|
+
case 6:
|
|
26
|
+
this.$ = $$[$0].trim();
|
|
27
|
+
yy.setAccDescription(this.$);
|
|
28
|
+
break;
|
|
29
|
+
case 7:
|
|
30
|
+
this.$ = [];
|
|
31
|
+
break;
|
|
32
|
+
case 17:
|
|
33
|
+
yy.setDirection("TB");
|
|
34
|
+
break;
|
|
35
|
+
case 18:
|
|
36
|
+
yy.setDirection("BT");
|
|
37
|
+
break;
|
|
38
|
+
case 19:
|
|
39
|
+
yy.setDirection("RL");
|
|
40
|
+
break;
|
|
41
|
+
case 20:
|
|
42
|
+
yy.setDirection("LR");
|
|
43
|
+
break;
|
|
44
|
+
case 21:
|
|
45
|
+
yy.addRequirement($$[$0 - 3], $$[$0 - 4]);
|
|
46
|
+
break;
|
|
47
|
+
case 22:
|
|
48
|
+
yy.addRequirement($$[$0 - 5], $$[$0 - 6]);
|
|
49
|
+
yy.setClass([$$[$0 - 5]], $$[$0 - 3]);
|
|
50
|
+
break;
|
|
51
|
+
case 23:
|
|
52
|
+
yy.setNewReqId($$[$0 - 2]);
|
|
53
|
+
break;
|
|
54
|
+
case 24:
|
|
55
|
+
yy.setNewReqText($$[$0 - 2]);
|
|
56
|
+
break;
|
|
57
|
+
case 25:
|
|
58
|
+
yy.setNewReqRisk($$[$0 - 2]);
|
|
59
|
+
break;
|
|
60
|
+
case 26:
|
|
61
|
+
yy.setNewReqVerifyMethod($$[$0 - 2]);
|
|
62
|
+
break;
|
|
63
|
+
case 29:
|
|
64
|
+
this.$ = yy.RequirementType.REQUIREMENT;
|
|
65
|
+
break;
|
|
66
|
+
case 30:
|
|
67
|
+
this.$ = yy.RequirementType.FUNCTIONAL_REQUIREMENT;
|
|
68
|
+
break;
|
|
69
|
+
case 31:
|
|
70
|
+
this.$ = yy.RequirementType.INTERFACE_REQUIREMENT;
|
|
71
|
+
break;
|
|
72
|
+
case 32:
|
|
73
|
+
this.$ = yy.RequirementType.PERFORMANCE_REQUIREMENT;
|
|
74
|
+
break;
|
|
75
|
+
case 33:
|
|
76
|
+
this.$ = yy.RequirementType.PHYSICAL_REQUIREMENT;
|
|
77
|
+
break;
|
|
78
|
+
case 34:
|
|
79
|
+
this.$ = yy.RequirementType.DESIGN_CONSTRAINT;
|
|
80
|
+
break;
|
|
81
|
+
case 35:
|
|
82
|
+
this.$ = yy.RiskLevel.LOW_RISK;
|
|
83
|
+
break;
|
|
84
|
+
case 36:
|
|
85
|
+
this.$ = yy.RiskLevel.MED_RISK;
|
|
86
|
+
break;
|
|
87
|
+
case 37:
|
|
88
|
+
this.$ = yy.RiskLevel.HIGH_RISK;
|
|
89
|
+
break;
|
|
90
|
+
case 38:
|
|
91
|
+
this.$ = yy.VerifyType.VERIFY_ANALYSIS;
|
|
92
|
+
break;
|
|
93
|
+
case 39:
|
|
94
|
+
this.$ = yy.VerifyType.VERIFY_DEMONSTRATION;
|
|
95
|
+
break;
|
|
96
|
+
case 40:
|
|
97
|
+
this.$ = yy.VerifyType.VERIFY_INSPECTION;
|
|
98
|
+
break;
|
|
99
|
+
case 41:
|
|
100
|
+
this.$ = yy.VerifyType.VERIFY_TEST;
|
|
101
|
+
break;
|
|
102
|
+
case 42:
|
|
103
|
+
yy.addElement($$[$0 - 3]);
|
|
104
|
+
break;
|
|
105
|
+
case 43:
|
|
106
|
+
yy.addElement($$[$0 - 5]);
|
|
107
|
+
yy.setClass([$$[$0 - 5]], $$[$0 - 3]);
|
|
108
|
+
break;
|
|
109
|
+
case 44:
|
|
110
|
+
yy.setNewElementType($$[$0 - 2]);
|
|
111
|
+
break;
|
|
112
|
+
case 45:
|
|
113
|
+
yy.setNewElementDocRef($$[$0 - 2]);
|
|
114
|
+
break;
|
|
115
|
+
case 48:
|
|
116
|
+
yy.addRelationship($$[$0 - 2], $$[$0], $$[$0 - 4]);
|
|
117
|
+
break;
|
|
118
|
+
case 49:
|
|
119
|
+
yy.addRelationship($$[$0 - 2], $$[$0 - 4], $$[$0]);
|
|
120
|
+
break;
|
|
121
|
+
case 50:
|
|
122
|
+
this.$ = yy.Relationships.CONTAINS;
|
|
123
|
+
break;
|
|
124
|
+
case 51:
|
|
125
|
+
this.$ = yy.Relationships.COPIES;
|
|
126
|
+
break;
|
|
127
|
+
case 52:
|
|
128
|
+
this.$ = yy.Relationships.DERIVES;
|
|
129
|
+
break;
|
|
130
|
+
case 53:
|
|
131
|
+
this.$ = yy.Relationships.SATISFIES;
|
|
132
|
+
break;
|
|
133
|
+
case 54:
|
|
134
|
+
this.$ = yy.Relationships.VERIFIES;
|
|
135
|
+
break;
|
|
136
|
+
case 55:
|
|
137
|
+
this.$ = yy.Relationships.REFINES;
|
|
138
|
+
break;
|
|
139
|
+
case 56:
|
|
140
|
+
this.$ = yy.Relationships.TRACES;
|
|
141
|
+
break;
|
|
142
|
+
case 57:
|
|
143
|
+
this.$ = $$[$0 - 2];
|
|
144
|
+
yy.defineClass($$[$0 - 1], $$[$0]);
|
|
145
|
+
break;
|
|
146
|
+
case 58:
|
|
147
|
+
yy.setClass($$[$0 - 1], $$[$0]);
|
|
148
|
+
break;
|
|
149
|
+
case 59:
|
|
150
|
+
yy.setClass([$$[$0 - 2]], $$[$0]);
|
|
151
|
+
break;
|
|
152
|
+
case 60:
|
|
153
|
+
case 62:
|
|
154
|
+
this.$ = [$$[$0]];
|
|
155
|
+
break;
|
|
156
|
+
case 61:
|
|
157
|
+
case 63:
|
|
158
|
+
this.$ = $$[$0 - 2].concat([$$[$0]]);
|
|
159
|
+
break;
|
|
160
|
+
case 64:
|
|
161
|
+
this.$ = $$[$0 - 2];
|
|
162
|
+
yy.setCssStyle($$[$0 - 1], $$[$0]);
|
|
163
|
+
break;
|
|
164
|
+
case 65:
|
|
165
|
+
this.$ = [$$[$0]];
|
|
166
|
+
break;
|
|
167
|
+
case 66:
|
|
168
|
+
$$[$0 - 2].push($$[$0]);
|
|
169
|
+
this.$ = $$[$0 - 2];
|
|
170
|
+
break;
|
|
171
|
+
case 68:
|
|
172
|
+
this.$ = $$[$0 - 1] + $$[$0];
|
|
173
|
+
break;
|
|
174
|
+
}
|
|
175
|
+
}, "anonymous"),
|
|
176
|
+
table: [{ 3: 1, 4: 2, 6: $V0, 9: $V1, 11: $V2, 13: $V3 }, { 1: [3] }, { 3: 8, 4: 2, 5: [1, 7], 6: $V0, 9: $V1, 11: $V2, 13: $V3 }, { 5: [1, 9] }, { 10: [1, 10] }, { 12: [1, 11] }, o($V4, [2, 6]), { 3: 12, 4: 2, 6: $V0, 9: $V1, 11: $V2, 13: $V3 }, { 1: [2, 2] }, { 4: 17, 5: $V5, 7: 13, 8: $V6, 9: $V1, 11: $V2, 13: $V3, 14: 14, 15: 15, 16: 16, 17: 18, 18: 19, 19: 20, 20: 21, 21: $V7, 22: $V8, 23: $V9, 24: $Va, 25: 23, 33: 25, 41: $Vb, 42: $Vc, 43: $Vd, 44: $Ve, 45: $Vf, 46: $Vg, 54: $Vh, 72: $Vi, 74: $Vj, 77: $Vk, 89: $Vl, 90: $Vm }, o($V4, [2, 4]), o($V4, [2, 5]), { 1: [2, 1] }, { 8: [1, 41] }, { 4: 17, 5: $V5, 7: 42, 8: $V6, 9: $V1, 11: $V2, 13: $V3, 14: 14, 15: 15, 16: 16, 17: 18, 18: 19, 19: 20, 20: 21, 21: $V7, 22: $V8, 23: $V9, 24: $Va, 25: 23, 33: 25, 41: $Vb, 42: $Vc, 43: $Vd, 44: $Ve, 45: $Vf, 46: $Vg, 54: $Vh, 72: $Vi, 74: $Vj, 77: $Vk, 89: $Vl, 90: $Vm }, { 4: 17, 5: $V5, 7: 43, 8: $V6, 9: $V1, 11: $V2, 13: $V3, 14: 14, 15: 15, 16: 16, 17: 18, 18: 19, 19: 20, 20: 21, 21: $V7, 22: $V8, 23: $V9, 24: $Va, 25: 23, 33: 25, 41: $Vb, 42: $Vc, 43: $Vd, 44: $Ve, 45: $Vf, 46: $Vg, 54: $Vh, 72: $Vi, 74: $Vj, 77: $Vk, 89: $Vl, 90: $Vm }, { 4: 17, 5: $V5, 7: 44, 8: $V6, 9: $V1, 11: $V2, 13: $V3, 14: 14, 15: 15, 16: 16, 17: 18, 18: 19, 19: 20, 20: 21, 21: $V7, 22: $V8, 23: $V9, 24: $Va, 25: 23, 33: 25, 41: $Vb, 42: $Vc, 43: $Vd, 44: $Ve, 45: $Vf, 46: $Vg, 54: $Vh, 72: $Vi, 74: $Vj, 77: $Vk, 89: $Vl, 90: $Vm }, { 4: 17, 5: $V5, 7: 45, 8: $V6, 9: $V1, 11: $V2, 13: $V3, 14: 14, 15: 15, 16: 16, 17: 18, 18: 19, 19: 20, 20: 21, 21: $V7, 22: $V8, 23: $V9, 24: $Va, 25: 23, 33: 25, 41: $Vb, 42: $Vc, 43: $Vd, 44: $Ve, 45: $Vf, 46: $Vg, 54: $Vh, 72: $Vi, 74: $Vj, 77: $Vk, 89: $Vl, 90: $Vm }, { 4: 17, 5: $V5, 7: 46, 8: $V6, 9: $V1, 11: $V2, 13: $V3, 14: 14, 15: 15, 16: 16, 17: 18, 18: 19, 19: 20, 20: 21, 21: $V7, 22: $V8, 23: $V9, 24: $Va, 25: 23, 33: 25, 41: $Vb, 42: $Vc, 43: $Vd, 44: $Ve, 45: $Vf, 46: $Vg, 54: $Vh, 72: $Vi, 74: $Vj, 77: $Vk, 89: $Vl, 90: $Vm }, { 4: 17, 5: $V5, 7: 47, 8: $V6, 9: $V1, 11: $V2, 13: $V3, 14: 14, 15: 15, 16: 16, 17: 18, 18: 19, 19: 20, 20: 21, 21: $V7, 22: $V8, 23: $V9, 24: $Va, 25: 23, 33: 25, 41: $Vb, 42: $Vc, 43: $Vd, 44: $Ve, 45: $Vf, 46: $Vg, 54: $Vh, 72: $Vi, 74: $Vj, 77: $Vk, 89: $Vl, 90: $Vm }, { 4: 17, 5: $V5, 7: 48, 8: $V6, 9: $V1, 11: $V2, 13: $V3, 14: 14, 15: 15, 16: 16, 17: 18, 18: 19, 19: 20, 20: 21, 21: $V7, 22: $V8, 23: $V9, 24: $Va, 25: 23, 33: 25, 41: $Vb, 42: $Vc, 43: $Vd, 44: $Ve, 45: $Vf, 46: $Vg, 54: $Vh, 72: $Vi, 74: $Vj, 77: $Vk, 89: $Vl, 90: $Vm }, { 4: 17, 5: $V5, 7: 49, 8: $V6, 9: $V1, 11: $V2, 13: $V3, 14: 14, 15: 15, 16: 16, 17: 18, 18: 19, 19: 20, 20: 21, 21: $V7, 22: $V8, 23: $V9, 24: $Va, 25: 23, 33: 25, 41: $Vb, 42: $Vc, 43: $Vd, 44: $Ve, 45: $Vf, 46: $Vg, 54: $Vh, 72: $Vi, 74: $Vj, 77: $Vk, 89: $Vl, 90: $Vm }, { 4: 17, 5: $V5, 7: 50, 8: $V6, 9: $V1, 11: $V2, 13: $V3, 14: 14, 15: 15, 16: 16, 17: 18, 18: 19, 19: 20, 20: 21, 21: $V7, 22: $V8, 23: $V9, 24: $Va, 25: 23, 33: 25, 41: $Vb, 42: $Vc, 43: $Vd, 44: $Ve, 45: $Vf, 46: $Vg, 54: $Vh, 72: $Vi, 74: $Vj, 77: $Vk, 89: $Vl, 90: $Vm }, { 26: 51, 89: [1, 52], 90: [1, 53] }, { 55: 54, 89: [1, 55], 90: [1, 56] }, { 29: [1, 59], 61: [1, 57], 63: [1, 58] }, o($Vn, [2, 17]), o($Vn, [2, 18]), o($Vn, [2, 19]), o($Vn, [2, 20]), { 30: 60, 33: 62, 75: $Vo, 89: $Vl, 90: $Vm }, { 30: 63, 33: 62, 75: $Vo, 89: $Vl, 90: $Vm }, { 30: 64, 33: 62, 75: $Vo, 89: $Vl, 90: $Vm }, o($Vp, [2, 29]), o($Vp, [2, 30]), o($Vp, [2, 31]), o($Vp, [2, 32]), o($Vp, [2, 33]), o($Vp, [2, 34]), o($Vq, [2, 81]), o($Vq, [2, 82]), { 1: [2, 3] }, { 8: [2, 8] }, { 8: [2, 9] }, { 8: [2, 10] }, { 8: [2, 11] }, { 8: [2, 12] }, { 8: [2, 13] }, { 8: [2, 14] }, { 8: [2, 15] }, { 8: [2, 16] }, { 27: [1, 65], 29: [1, 66] }, o($Vr, [2, 79]), o($Vr, [2, 80]), { 27: [1, 67], 29: [1, 68] }, o($Vr, [2, 85]), o($Vr, [2, 86]), { 62: 69, 65: $Vs, 66: $Vt, 67: $Vu, 68: $Vv, 69: $Vw, 70: $Vx, 71: $Vy }, { 62: 77, 65: $Vs, 66: $Vt, 67: $Vu, 68: $Vv, 69: $Vw, 70: $Vx, 71: $Vy }, { 30: 78, 33: 62, 75: $Vo, 89: $Vl, 90: $Vm }, { 73: 79, 75: $Vz, 76: $VA, 78: 81, 79: 82, 80: $VB, 81: $VC, 82: $VD, 83: $VE, 84: $VF, 85: $VG, 86: $VH, 87: $VI, 88: $VJ }, o($VK, [2, 60]), o($VK, [2, 62]), { 73: 93, 75: $Vz, 76: $VA, 78: 81, 79: 82, 80: $VB, 81: $VC, 82: $VD, 83: $VE, 84: $VF, 85: $VG, 86: $VH, 87: $VI, 88: $VJ }, { 30: 94, 33: 62, 75: $Vo, 76: $VA, 89: $Vl, 90: $Vm }, { 5: [1, 95] }, { 30: 96, 33: 62, 75: $Vo, 89: $Vl, 90: $Vm }, { 5: [1, 97] }, { 30: 98, 33: 62, 75: $Vo, 89: $Vl, 90: $Vm }, { 63: [1, 99] }, o($VL, [2, 50]), o($VL, [2, 51]), o($VL, [2, 52]), o($VL, [2, 53]), o($VL, [2, 54]), o($VL, [2, 55]), o($VL, [2, 56]), { 64: [1, 100] }, o($Vn, [2, 59], { 76: $VA }), o($Vn, [2, 64], { 76: $VM }), { 33: 103, 75: [1, 102], 89: $Vl, 90: $Vm }, o($VN, [2, 65], { 79: 104, 75: $Vz, 80: $VB, 81: $VC, 82: $VD, 83: $VE, 84: $VF, 85: $VG, 86: $VH, 87: $VI, 88: $VJ }), o($VO, [2, 67]), o($VO, [2, 69]), o($VO, [2, 70]), o($VO, [2, 71]), o($VO, [2, 72]), o($VO, [2, 73]), o($VO, [2, 74]), o($VO, [2, 75]), o($VO, [2, 76]), o($VO, [2, 77]), o($VO, [2, 78]), o($Vn, [2, 57], { 76: $VM }), o($Vn, [2, 58], { 76: $VA }), { 5: $VP, 28: 105, 31: $VQ, 34: $VR, 36: $VS, 38: $VT, 40: $VU }, { 27: [1, 112], 76: $VA }, { 5: $VV, 40: $VW, 56: 113, 57: $VX, 59: $VY }, { 27: [1, 118], 76: $VA }, { 33: 119, 89: $Vl, 90: $Vm }, { 33: 120, 89: $Vl, 90: $Vm }, { 75: $Vz, 78: 121, 79: 82, 80: $VB, 81: $VC, 82: $VD, 83: $VE, 84: $VF, 85: $VG, 86: $VH, 87: $VI, 88: $VJ }, o($VK, [2, 61]), o($VK, [2, 63]), o($VO, [2, 68]), o($Vn, [2, 21]), { 32: [1, 122] }, { 32: [1, 123] }, { 32: [1, 124] }, { 32: [1, 125] }, { 5: $VP, 28: 126, 31: $VQ, 34: $VR, 36: $VS, 38: $VT, 40: $VU }, o($Vn, [2, 28]), { 5: [1, 127] }, o($Vn, [2, 42]), { 32: [1, 128] }, { 32: [1, 129] }, { 5: $VV, 40: $VW, 56: 130, 57: $VX, 59: $VY }, o($Vn, [2, 47]), { 5: [1, 131] }, o($Vn, [2, 48]), o($Vn, [2, 49]), o($VN, [2, 66], { 79: 104, 75: $Vz, 80: $VB, 81: $VC, 82: $VD, 83: $VE, 84: $VF, 85: $VG, 86: $VH, 87: $VI, 88: $VJ }), { 33: 132, 89: $Vl, 90: $Vm }, { 35: 133, 89: [1, 134], 90: [1, 135] }, { 37: 136, 47: [1, 137], 48: [1, 138], 49: [1, 139] }, { 39: 140, 50: [1, 141], 51: [1, 142], 52: [1, 143], 53: [1, 144] }, o($Vn, [2, 27]), { 5: $VP, 28: 145, 31: $VQ, 34: $VR, 36: $VS, 38: $VT, 40: $VU }, { 58: 146, 89: [1, 147], 90: [1, 148] }, { 60: 149, 89: [1, 150], 90: [1, 151] }, o($Vn, [2, 46]), { 5: $VV, 40: $VW, 56: 152, 57: $VX, 59: $VY }, { 5: [1, 153] }, { 5: [1, 154] }, { 5: [2, 83] }, { 5: [2, 84] }, { 5: [1, 155] }, { 5: [2, 35] }, { 5: [2, 36] }, { 5: [2, 37] }, { 5: [1, 156] }, { 5: [2, 38] }, { 5: [2, 39] }, { 5: [2, 40] }, { 5: [2, 41] }, o($Vn, [2, 22]), { 5: [1, 157] }, { 5: [2, 87] }, { 5: [2, 88] }, { 5: [1, 158] }, { 5: [2, 89] }, { 5: [2, 90] }, o($Vn, [2, 43]), { 5: $VP, 28: 159, 31: $VQ, 34: $VR, 36: $VS, 38: $VT, 40: $VU }, { 5: $VP, 28: 160, 31: $VQ, 34: $VR, 36: $VS, 38: $VT, 40: $VU }, { 5: $VP, 28: 161, 31: $VQ, 34: $VR, 36: $VS, 38: $VT, 40: $VU }, { 5: $VP, 28: 162, 31: $VQ, 34: $VR, 36: $VS, 38: $VT, 40: $VU }, { 5: $VV, 40: $VW, 56: 163, 57: $VX, 59: $VY }, { 5: $VV, 40: $VW, 56: 164, 57: $VX, 59: $VY }, o($Vn, [2, 23]), o($Vn, [2, 24]), o($Vn, [2, 25]), o($Vn, [2, 26]), o($Vn, [2, 44]), o($Vn, [2, 45])],
|
|
177
|
+
defaultActions: { 8: [2, 2], 12: [2, 1], 41: [2, 3], 42: [2, 8], 43: [2, 9], 44: [2, 10], 45: [2, 11], 46: [2, 12], 47: [2, 13], 48: [2, 14], 49: [2, 15], 50: [2, 16], 134: [2, 83], 135: [2, 84], 137: [2, 35], 138: [2, 36], 139: [2, 37], 141: [2, 38], 142: [2, 39], 143: [2, 40], 144: [2, 41], 147: [2, 87], 148: [2, 88], 150: [2, 89], 151: [2, 90] },
|
|
178
|
+
parseError: /* @__PURE__ */ __name(function parseError(str, hash) {
|
|
179
|
+
if (hash.recoverable) {
|
|
180
|
+
this.trace(str);
|
|
181
|
+
} else {
|
|
182
|
+
var error = new Error(str);
|
|
183
|
+
error.hash = hash;
|
|
184
|
+
throw error;
|
|
185
|
+
}
|
|
186
|
+
}, "parseError"),
|
|
187
|
+
parse: /* @__PURE__ */ __name(function parse(input) {
|
|
188
|
+
var self = this, stack = [0], tstack = [], vstack = [null], lstack = [], table = this.table, yytext = "", yylineno = 0, yyleng = 0, TERROR = 2, EOF = 1;
|
|
189
|
+
var args = lstack.slice.call(arguments, 1);
|
|
190
|
+
var lexer2 = Object.create(this.lexer);
|
|
191
|
+
var sharedState = { yy: {} };
|
|
192
|
+
for (var k in this.yy) {
|
|
193
|
+
if (Object.prototype.hasOwnProperty.call(this.yy, k)) {
|
|
194
|
+
sharedState.yy[k] = this.yy[k];
|
|
195
|
+
}
|
|
196
|
+
}
|
|
197
|
+
lexer2.setInput(input, sharedState.yy);
|
|
198
|
+
sharedState.yy.lexer = lexer2;
|
|
199
|
+
sharedState.yy.parser = this;
|
|
200
|
+
if (typeof lexer2.yylloc == "undefined") {
|
|
201
|
+
lexer2.yylloc = {};
|
|
202
|
+
}
|
|
203
|
+
var yyloc = lexer2.yylloc;
|
|
204
|
+
lstack.push(yyloc);
|
|
205
|
+
var ranges = lexer2.options && lexer2.options.ranges;
|
|
206
|
+
if (typeof sharedState.yy.parseError === "function") {
|
|
207
|
+
this.parseError = sharedState.yy.parseError;
|
|
208
|
+
} else {
|
|
209
|
+
this.parseError = Object.getPrototypeOf(this).parseError;
|
|
210
|
+
}
|
|
211
|
+
function popStack(n) {
|
|
212
|
+
stack.length = stack.length - 2 * n;
|
|
213
|
+
vstack.length = vstack.length - n;
|
|
214
|
+
lstack.length = lstack.length - n;
|
|
215
|
+
}
|
|
216
|
+
__name(popStack, "popStack");
|
|
217
|
+
function lex() {
|
|
218
|
+
var token;
|
|
219
|
+
token = tstack.pop() || lexer2.lex() || EOF;
|
|
220
|
+
if (typeof token !== "number") {
|
|
221
|
+
if (token instanceof Array) {
|
|
222
|
+
tstack = token;
|
|
223
|
+
token = tstack.pop();
|
|
224
|
+
}
|
|
225
|
+
token = self.symbols_[token] || token;
|
|
226
|
+
}
|
|
227
|
+
return token;
|
|
228
|
+
}
|
|
229
|
+
__name(lex, "lex");
|
|
230
|
+
var symbol, state, action, r, yyval = {}, p, len, newState, expected;
|
|
231
|
+
while (true) {
|
|
232
|
+
state = stack[stack.length - 1];
|
|
233
|
+
if (this.defaultActions[state]) {
|
|
234
|
+
action = this.defaultActions[state];
|
|
235
|
+
} else {
|
|
236
|
+
if (symbol === null || typeof symbol == "undefined") {
|
|
237
|
+
symbol = lex();
|
|
238
|
+
}
|
|
239
|
+
action = table[state] && table[state][symbol];
|
|
240
|
+
}
|
|
241
|
+
if (typeof action === "undefined" || !action.length || !action[0]) {
|
|
242
|
+
var errStr = "";
|
|
243
|
+
expected = [];
|
|
244
|
+
for (p in table[state]) {
|
|
245
|
+
if (this.terminals_[p] && p > TERROR) {
|
|
246
|
+
expected.push("'" + this.terminals_[p] + "'");
|
|
247
|
+
}
|
|
248
|
+
}
|
|
249
|
+
if (lexer2.showPosition) {
|
|
250
|
+
errStr = "Parse error on line " + (yylineno + 1) + ":\n" + lexer2.showPosition() + "\nExpecting " + expected.join(", ") + ", got '" + (this.terminals_[symbol] || symbol) + "'";
|
|
251
|
+
} else {
|
|
252
|
+
errStr = "Parse error on line " + (yylineno + 1) + ": Unexpected " + (symbol == EOF ? "end of input" : "'" + (this.terminals_[symbol] || symbol) + "'");
|
|
253
|
+
}
|
|
254
|
+
this.parseError(errStr, {
|
|
255
|
+
text: lexer2.match,
|
|
256
|
+
token: this.terminals_[symbol] || symbol,
|
|
257
|
+
line: lexer2.yylineno,
|
|
258
|
+
loc: yyloc,
|
|
259
|
+
expected
|
|
260
|
+
});
|
|
261
|
+
}
|
|
262
|
+
if (action[0] instanceof Array && action.length > 1) {
|
|
263
|
+
throw new Error("Parse Error: multiple actions possible at state: " + state + ", token: " + symbol);
|
|
264
|
+
}
|
|
265
|
+
switch (action[0]) {
|
|
266
|
+
case 1:
|
|
267
|
+
stack.push(symbol);
|
|
268
|
+
vstack.push(lexer2.yytext);
|
|
269
|
+
lstack.push(lexer2.yylloc);
|
|
270
|
+
stack.push(action[1]);
|
|
271
|
+
symbol = null;
|
|
272
|
+
{
|
|
273
|
+
yyleng = lexer2.yyleng;
|
|
274
|
+
yytext = lexer2.yytext;
|
|
275
|
+
yylineno = lexer2.yylineno;
|
|
276
|
+
yyloc = lexer2.yylloc;
|
|
277
|
+
}
|
|
278
|
+
break;
|
|
279
|
+
case 2:
|
|
280
|
+
len = this.productions_[action[1]][1];
|
|
281
|
+
yyval.$ = vstack[vstack.length - len];
|
|
282
|
+
yyval._$ = {
|
|
283
|
+
first_line: lstack[lstack.length - (len || 1)].first_line,
|
|
284
|
+
last_line: lstack[lstack.length - 1].last_line,
|
|
285
|
+
first_column: lstack[lstack.length - (len || 1)].first_column,
|
|
286
|
+
last_column: lstack[lstack.length - 1].last_column
|
|
287
|
+
};
|
|
288
|
+
if (ranges) {
|
|
289
|
+
yyval._$.range = [
|
|
290
|
+
lstack[lstack.length - (len || 1)].range[0],
|
|
291
|
+
lstack[lstack.length - 1].range[1]
|
|
292
|
+
];
|
|
293
|
+
}
|
|
294
|
+
r = this.performAction.apply(yyval, [
|
|
295
|
+
yytext,
|
|
296
|
+
yyleng,
|
|
297
|
+
yylineno,
|
|
298
|
+
sharedState.yy,
|
|
299
|
+
action[1],
|
|
300
|
+
vstack,
|
|
301
|
+
lstack
|
|
302
|
+
].concat(args));
|
|
303
|
+
if (typeof r !== "undefined") {
|
|
304
|
+
return r;
|
|
305
|
+
}
|
|
306
|
+
if (len) {
|
|
307
|
+
stack = stack.slice(0, -1 * len * 2);
|
|
308
|
+
vstack = vstack.slice(0, -1 * len);
|
|
309
|
+
lstack = lstack.slice(0, -1 * len);
|
|
310
|
+
}
|
|
311
|
+
stack.push(this.productions_[action[1]][0]);
|
|
312
|
+
vstack.push(yyval.$);
|
|
313
|
+
lstack.push(yyval._$);
|
|
314
|
+
newState = table[stack[stack.length - 2]][stack[stack.length - 1]];
|
|
315
|
+
stack.push(newState);
|
|
316
|
+
break;
|
|
317
|
+
case 3:
|
|
318
|
+
return true;
|
|
319
|
+
}
|
|
320
|
+
}
|
|
321
|
+
return true;
|
|
322
|
+
}, "parse")
|
|
323
|
+
};
|
|
324
|
+
var lexer = /* @__PURE__ */ function() {
|
|
325
|
+
var lexer2 = {
|
|
326
|
+
EOF: 1,
|
|
327
|
+
parseError: /* @__PURE__ */ __name(function parseError(str, hash) {
|
|
328
|
+
if (this.yy.parser) {
|
|
329
|
+
this.yy.parser.parseError(str, hash);
|
|
330
|
+
} else {
|
|
331
|
+
throw new Error(str);
|
|
332
|
+
}
|
|
333
|
+
}, "parseError"),
|
|
334
|
+
// resets the lexer, sets new input
|
|
335
|
+
setInput: /* @__PURE__ */ __name(function(input, yy) {
|
|
336
|
+
this.yy = yy || this.yy || {};
|
|
337
|
+
this._input = input;
|
|
338
|
+
this._more = this._backtrack = this.done = false;
|
|
339
|
+
this.yylineno = this.yyleng = 0;
|
|
340
|
+
this.yytext = this.matched = this.match = "";
|
|
341
|
+
this.conditionStack = ["INITIAL"];
|
|
342
|
+
this.yylloc = {
|
|
343
|
+
first_line: 1,
|
|
344
|
+
first_column: 0,
|
|
345
|
+
last_line: 1,
|
|
346
|
+
last_column: 0
|
|
347
|
+
};
|
|
348
|
+
if (this.options.ranges) {
|
|
349
|
+
this.yylloc.range = [0, 0];
|
|
350
|
+
}
|
|
351
|
+
this.offset = 0;
|
|
352
|
+
return this;
|
|
353
|
+
}, "setInput"),
|
|
354
|
+
// consumes and returns one char from the input
|
|
355
|
+
input: /* @__PURE__ */ __name(function() {
|
|
356
|
+
var ch = this._input[0];
|
|
357
|
+
this.yytext += ch;
|
|
358
|
+
this.yyleng++;
|
|
359
|
+
this.offset++;
|
|
360
|
+
this.match += ch;
|
|
361
|
+
this.matched += ch;
|
|
362
|
+
var lines = ch.match(/(?:\r\n?|\n).*/g);
|
|
363
|
+
if (lines) {
|
|
364
|
+
this.yylineno++;
|
|
365
|
+
this.yylloc.last_line++;
|
|
366
|
+
} else {
|
|
367
|
+
this.yylloc.last_column++;
|
|
368
|
+
}
|
|
369
|
+
if (this.options.ranges) {
|
|
370
|
+
this.yylloc.range[1]++;
|
|
371
|
+
}
|
|
372
|
+
this._input = this._input.slice(1);
|
|
373
|
+
return ch;
|
|
374
|
+
}, "input"),
|
|
375
|
+
// unshifts one char (or a string) into the input
|
|
376
|
+
unput: /* @__PURE__ */ __name(function(ch) {
|
|
377
|
+
var len = ch.length;
|
|
378
|
+
var lines = ch.split(/(?:\r\n?|\n)/g);
|
|
379
|
+
this._input = ch + this._input;
|
|
380
|
+
this.yytext = this.yytext.substr(0, this.yytext.length - len);
|
|
381
|
+
this.offset -= len;
|
|
382
|
+
var oldLines = this.match.split(/(?:\r\n?|\n)/g);
|
|
383
|
+
this.match = this.match.substr(0, this.match.length - 1);
|
|
384
|
+
this.matched = this.matched.substr(0, this.matched.length - 1);
|
|
385
|
+
if (lines.length - 1) {
|
|
386
|
+
this.yylineno -= lines.length - 1;
|
|
387
|
+
}
|
|
388
|
+
var r = this.yylloc.range;
|
|
389
|
+
this.yylloc = {
|
|
390
|
+
first_line: this.yylloc.first_line,
|
|
391
|
+
last_line: this.yylineno + 1,
|
|
392
|
+
first_column: this.yylloc.first_column,
|
|
393
|
+
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
|
|
394
|
+
};
|
|
395
|
+
if (this.options.ranges) {
|
|
396
|
+
this.yylloc.range = [r[0], r[0] + this.yyleng - len];
|
|
397
|
+
}
|
|
398
|
+
this.yyleng = this.yytext.length;
|
|
399
|
+
return this;
|
|
400
|
+
}, "unput"),
|
|
401
|
+
// When called from action, caches matched text and appends it on next action
|
|
402
|
+
more: /* @__PURE__ */ __name(function() {
|
|
403
|
+
this._more = true;
|
|
404
|
+
return this;
|
|
405
|
+
}, "more"),
|
|
406
|
+
// 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.
|
|
407
|
+
reject: /* @__PURE__ */ __name(function() {
|
|
408
|
+
if (this.options.backtrack_lexer) {
|
|
409
|
+
this._backtrack = true;
|
|
410
|
+
} else {
|
|
411
|
+
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(), {
|
|
412
|
+
text: "",
|
|
413
|
+
token: null,
|
|
414
|
+
line: this.yylineno
|
|
415
|
+
});
|
|
416
|
+
}
|
|
417
|
+
return this;
|
|
418
|
+
}, "reject"),
|
|
419
|
+
// retain first n characters of the match
|
|
420
|
+
less: /* @__PURE__ */ __name(function(n) {
|
|
421
|
+
this.unput(this.match.slice(n));
|
|
422
|
+
}, "less"),
|
|
423
|
+
// displays already matched input, i.e. for error messages
|
|
424
|
+
pastInput: /* @__PURE__ */ __name(function() {
|
|
425
|
+
var past = this.matched.substr(0, this.matched.length - this.match.length);
|
|
426
|
+
return (past.length > 20 ? "..." : "") + past.substr(-20).replace(/\n/g, "");
|
|
427
|
+
}, "pastInput"),
|
|
428
|
+
// displays upcoming input, i.e. for error messages
|
|
429
|
+
upcomingInput: /* @__PURE__ */ __name(function() {
|
|
430
|
+
var next = this.match;
|
|
431
|
+
if (next.length < 20) {
|
|
432
|
+
next += this._input.substr(0, 20 - next.length);
|
|
433
|
+
}
|
|
434
|
+
return (next.substr(0, 20) + (next.length > 20 ? "..." : "")).replace(/\n/g, "");
|
|
435
|
+
}, "upcomingInput"),
|
|
436
|
+
// displays the character position where the lexing error occurred, i.e. for error messages
|
|
437
|
+
showPosition: /* @__PURE__ */ __name(function() {
|
|
438
|
+
var pre = this.pastInput();
|
|
439
|
+
var c = new Array(pre.length + 1).join("-");
|
|
440
|
+
return pre + this.upcomingInput() + "\n" + c + "^";
|
|
441
|
+
}, "showPosition"),
|
|
442
|
+
// test the lexed token: return FALSE when not a match, otherwise return token
|
|
443
|
+
test_match: /* @__PURE__ */ __name(function(match, indexed_rule) {
|
|
444
|
+
var token, lines, backup;
|
|
445
|
+
if (this.options.backtrack_lexer) {
|
|
446
|
+
backup = {
|
|
447
|
+
yylineno: this.yylineno,
|
|
448
|
+
yylloc: {
|
|
449
|
+
first_line: this.yylloc.first_line,
|
|
450
|
+
last_line: this.last_line,
|
|
451
|
+
first_column: this.yylloc.first_column,
|
|
452
|
+
last_column: this.yylloc.last_column
|
|
453
|
+
},
|
|
454
|
+
yytext: this.yytext,
|
|
455
|
+
match: this.match,
|
|
456
|
+
matches: this.matches,
|
|
457
|
+
matched: this.matched,
|
|
458
|
+
yyleng: this.yyleng,
|
|
459
|
+
offset: this.offset,
|
|
460
|
+
_more: this._more,
|
|
461
|
+
_input: this._input,
|
|
462
|
+
yy: this.yy,
|
|
463
|
+
conditionStack: this.conditionStack.slice(0),
|
|
464
|
+
done: this.done
|
|
465
|
+
};
|
|
466
|
+
if (this.options.ranges) {
|
|
467
|
+
backup.yylloc.range = this.yylloc.range.slice(0);
|
|
468
|
+
}
|
|
469
|
+
}
|
|
470
|
+
lines = match[0].match(/(?:\r\n?|\n).*/g);
|
|
471
|
+
if (lines) {
|
|
472
|
+
this.yylineno += lines.length;
|
|
473
|
+
}
|
|
474
|
+
this.yylloc = {
|
|
475
|
+
first_line: this.yylloc.last_line,
|
|
476
|
+
last_line: this.yylineno + 1,
|
|
477
|
+
first_column: this.yylloc.last_column,
|
|
478
|
+
last_column: lines ? lines[lines.length - 1].length - lines[lines.length - 1].match(/\r?\n?/)[0].length : this.yylloc.last_column + match[0].length
|
|
479
|
+
};
|
|
480
|
+
this.yytext += match[0];
|
|
481
|
+
this.match += match[0];
|
|
482
|
+
this.matches = match;
|
|
483
|
+
this.yyleng = this.yytext.length;
|
|
484
|
+
if (this.options.ranges) {
|
|
485
|
+
this.yylloc.range = [this.offset, this.offset += this.yyleng];
|
|
486
|
+
}
|
|
487
|
+
this._more = false;
|
|
488
|
+
this._backtrack = false;
|
|
489
|
+
this._input = this._input.slice(match[0].length);
|
|
490
|
+
this.matched += match[0];
|
|
491
|
+
token = this.performAction.call(this, this.yy, this, indexed_rule, this.conditionStack[this.conditionStack.length - 1]);
|
|
492
|
+
if (this.done && this._input) {
|
|
493
|
+
this.done = false;
|
|
494
|
+
}
|
|
495
|
+
if (token) {
|
|
496
|
+
return token;
|
|
497
|
+
} else if (this._backtrack) {
|
|
498
|
+
for (var k in backup) {
|
|
499
|
+
this[k] = backup[k];
|
|
500
|
+
}
|
|
501
|
+
return false;
|
|
502
|
+
}
|
|
503
|
+
return false;
|
|
504
|
+
}, "test_match"),
|
|
505
|
+
// return next match in input
|
|
506
|
+
next: /* @__PURE__ */ __name(function() {
|
|
507
|
+
if (this.done) {
|
|
508
|
+
return this.EOF;
|
|
509
|
+
}
|
|
510
|
+
if (!this._input) {
|
|
511
|
+
this.done = true;
|
|
512
|
+
}
|
|
513
|
+
var token, match, tempMatch, index;
|
|
514
|
+
if (!this._more) {
|
|
515
|
+
this.yytext = "";
|
|
516
|
+
this.match = "";
|
|
517
|
+
}
|
|
518
|
+
var rules = this._currentRules();
|
|
519
|
+
for (var i = 0; i < rules.length; i++) {
|
|
520
|
+
tempMatch = this._input.match(this.rules[rules[i]]);
|
|
521
|
+
if (tempMatch && (!match || tempMatch[0].length > match[0].length)) {
|
|
522
|
+
match = tempMatch;
|
|
523
|
+
index = i;
|
|
524
|
+
if (this.options.backtrack_lexer) {
|
|
525
|
+
token = this.test_match(tempMatch, rules[i]);
|
|
526
|
+
if (token !== false) {
|
|
527
|
+
return token;
|
|
528
|
+
} else if (this._backtrack) {
|
|
529
|
+
match = false;
|
|
530
|
+
continue;
|
|
531
|
+
} else {
|
|
532
|
+
return false;
|
|
533
|
+
}
|
|
534
|
+
} else if (!this.options.flex) {
|
|
535
|
+
break;
|
|
536
|
+
}
|
|
537
|
+
}
|
|
538
|
+
}
|
|
539
|
+
if (match) {
|
|
540
|
+
token = this.test_match(match, rules[index]);
|
|
541
|
+
if (token !== false) {
|
|
542
|
+
return token;
|
|
543
|
+
}
|
|
544
|
+
return false;
|
|
545
|
+
}
|
|
546
|
+
if (this._input === "") {
|
|
547
|
+
return this.EOF;
|
|
548
|
+
} else {
|
|
549
|
+
return this.parseError("Lexical error on line " + (this.yylineno + 1) + ". Unrecognized text.\n" + this.showPosition(), {
|
|
550
|
+
text: "",
|
|
551
|
+
token: null,
|
|
552
|
+
line: this.yylineno
|
|
553
|
+
});
|
|
554
|
+
}
|
|
555
|
+
}, "next"),
|
|
556
|
+
// return next match that has a token
|
|
557
|
+
lex: /* @__PURE__ */ __name(function lex() {
|
|
558
|
+
var r = this.next();
|
|
559
|
+
if (r) {
|
|
560
|
+
return r;
|
|
561
|
+
} else {
|
|
562
|
+
return this.lex();
|
|
563
|
+
}
|
|
564
|
+
}, "lex"),
|
|
565
|
+
// activates a new lexer condition state (pushes the new lexer condition state onto the condition stack)
|
|
566
|
+
begin: /* @__PURE__ */ __name(function begin(condition) {
|
|
567
|
+
this.conditionStack.push(condition);
|
|
568
|
+
}, "begin"),
|
|
569
|
+
// pop the previously active lexer condition state off the condition stack
|
|
570
|
+
popState: /* @__PURE__ */ __name(function popState() {
|
|
571
|
+
var n = this.conditionStack.length - 1;
|
|
572
|
+
if (n > 0) {
|
|
573
|
+
return this.conditionStack.pop();
|
|
574
|
+
} else {
|
|
575
|
+
return this.conditionStack[0];
|
|
576
|
+
}
|
|
577
|
+
}, "popState"),
|
|
578
|
+
// produce the lexer rule set which is active for the currently active lexer condition state
|
|
579
|
+
_currentRules: /* @__PURE__ */ __name(function _currentRules() {
|
|
580
|
+
if (this.conditionStack.length && this.conditionStack[this.conditionStack.length - 1]) {
|
|
581
|
+
return this.conditions[this.conditionStack[this.conditionStack.length - 1]].rules;
|
|
582
|
+
} else {
|
|
583
|
+
return this.conditions["INITIAL"].rules;
|
|
584
|
+
}
|
|
585
|
+
}, "_currentRules"),
|
|
586
|
+
// return the currently active lexer condition state; when an index argument is provided it produces the N-th previous condition state, if available
|
|
587
|
+
topState: /* @__PURE__ */ __name(function topState(n) {
|
|
588
|
+
n = this.conditionStack.length - 1 - Math.abs(n || 0);
|
|
589
|
+
if (n >= 0) {
|
|
590
|
+
return this.conditionStack[n];
|
|
591
|
+
} else {
|
|
592
|
+
return "INITIAL";
|
|
593
|
+
}
|
|
594
|
+
}, "topState"),
|
|
595
|
+
// alias for begin(condition)
|
|
596
|
+
pushState: /* @__PURE__ */ __name(function pushState(condition) {
|
|
597
|
+
this.begin(condition);
|
|
598
|
+
}, "pushState"),
|
|
599
|
+
// return the number of states currently on the stack
|
|
600
|
+
stateStackSize: /* @__PURE__ */ __name(function stateStackSize() {
|
|
601
|
+
return this.conditionStack.length;
|
|
602
|
+
}, "stateStackSize"),
|
|
603
|
+
options: { "case-insensitive": true },
|
|
604
|
+
performAction: /* @__PURE__ */ __name(function anonymous(yy, yy_, $avoiding_name_collisions, YY_START) {
|
|
605
|
+
switch ($avoiding_name_collisions) {
|
|
606
|
+
case 0:
|
|
607
|
+
return "title";
|
|
608
|
+
case 1:
|
|
609
|
+
this.begin("acc_title");
|
|
610
|
+
return 9;
|
|
611
|
+
case 2:
|
|
612
|
+
this.popState();
|
|
613
|
+
return "acc_title_value";
|
|
614
|
+
case 3:
|
|
615
|
+
this.begin("acc_descr");
|
|
616
|
+
return 11;
|
|
617
|
+
case 4:
|
|
618
|
+
this.popState();
|
|
619
|
+
return "acc_descr_value";
|
|
620
|
+
case 5:
|
|
621
|
+
this.begin("acc_descr_multiline");
|
|
622
|
+
break;
|
|
623
|
+
case 6:
|
|
624
|
+
this.popState();
|
|
625
|
+
break;
|
|
626
|
+
case 7:
|
|
627
|
+
return "acc_descr_multiline_value";
|
|
628
|
+
case 8:
|
|
629
|
+
return 21;
|
|
630
|
+
case 9:
|
|
631
|
+
return 22;
|
|
632
|
+
case 10:
|
|
633
|
+
return 23;
|
|
634
|
+
case 11:
|
|
635
|
+
return 24;
|
|
636
|
+
case 12:
|
|
637
|
+
return 5;
|
|
638
|
+
case 13:
|
|
639
|
+
break;
|
|
640
|
+
case 14:
|
|
641
|
+
break;
|
|
642
|
+
case 15:
|
|
643
|
+
break;
|
|
644
|
+
case 16:
|
|
645
|
+
return 8;
|
|
646
|
+
case 17:
|
|
647
|
+
return 6;
|
|
648
|
+
case 18:
|
|
649
|
+
return 27;
|
|
650
|
+
case 19:
|
|
651
|
+
return 40;
|
|
652
|
+
case 20:
|
|
653
|
+
return 29;
|
|
654
|
+
case 21:
|
|
655
|
+
return 32;
|
|
656
|
+
case 22:
|
|
657
|
+
return 31;
|
|
658
|
+
case 23:
|
|
659
|
+
return 34;
|
|
660
|
+
case 24:
|
|
661
|
+
return 36;
|
|
662
|
+
case 25:
|
|
663
|
+
return 38;
|
|
664
|
+
case 26:
|
|
665
|
+
return 41;
|
|
666
|
+
case 27:
|
|
667
|
+
return 42;
|
|
668
|
+
case 28:
|
|
669
|
+
return 43;
|
|
670
|
+
case 29:
|
|
671
|
+
return 44;
|
|
672
|
+
case 30:
|
|
673
|
+
return 45;
|
|
674
|
+
case 31:
|
|
675
|
+
return 46;
|
|
676
|
+
case 32:
|
|
677
|
+
return 47;
|
|
678
|
+
case 33:
|
|
679
|
+
return 48;
|
|
680
|
+
case 34:
|
|
681
|
+
return 49;
|
|
682
|
+
case 35:
|
|
683
|
+
return 50;
|
|
684
|
+
case 36:
|
|
685
|
+
return 51;
|
|
686
|
+
case 37:
|
|
687
|
+
return 52;
|
|
688
|
+
case 38:
|
|
689
|
+
return 53;
|
|
690
|
+
case 39:
|
|
691
|
+
return 54;
|
|
692
|
+
case 40:
|
|
693
|
+
return 65;
|
|
694
|
+
case 41:
|
|
695
|
+
return 66;
|
|
696
|
+
case 42:
|
|
697
|
+
return 67;
|
|
698
|
+
case 43:
|
|
699
|
+
return 68;
|
|
700
|
+
case 44:
|
|
701
|
+
return 69;
|
|
702
|
+
case 45:
|
|
703
|
+
return 70;
|
|
704
|
+
case 46:
|
|
705
|
+
return 71;
|
|
706
|
+
case 47:
|
|
707
|
+
return 57;
|
|
708
|
+
case 48:
|
|
709
|
+
return 59;
|
|
710
|
+
case 49:
|
|
711
|
+
this.begin("style");
|
|
712
|
+
return 77;
|
|
713
|
+
case 50:
|
|
714
|
+
return 75;
|
|
715
|
+
case 51:
|
|
716
|
+
return 81;
|
|
717
|
+
case 52:
|
|
718
|
+
return 88;
|
|
719
|
+
case 53:
|
|
720
|
+
return "PERCENT";
|
|
721
|
+
case 54:
|
|
722
|
+
return 86;
|
|
723
|
+
case 55:
|
|
724
|
+
return 84;
|
|
725
|
+
case 56:
|
|
726
|
+
break;
|
|
727
|
+
case 57:
|
|
728
|
+
this.begin("string");
|
|
729
|
+
break;
|
|
730
|
+
case 58:
|
|
731
|
+
this.popState();
|
|
732
|
+
break;
|
|
733
|
+
case 59:
|
|
734
|
+
this.begin("style");
|
|
735
|
+
return 72;
|
|
736
|
+
case 60:
|
|
737
|
+
this.begin("style");
|
|
738
|
+
return 74;
|
|
739
|
+
case 61:
|
|
740
|
+
return 61;
|
|
741
|
+
case 62:
|
|
742
|
+
return 64;
|
|
743
|
+
case 63:
|
|
744
|
+
return 63;
|
|
745
|
+
case 64:
|
|
746
|
+
this.begin("string");
|
|
747
|
+
break;
|
|
748
|
+
case 65:
|
|
749
|
+
this.popState();
|
|
750
|
+
break;
|
|
751
|
+
case 66:
|
|
752
|
+
return "qString";
|
|
753
|
+
case 67:
|
|
754
|
+
yy_.yytext = yy_.yytext.trim();
|
|
755
|
+
return 89;
|
|
756
|
+
case 68:
|
|
757
|
+
return 75;
|
|
758
|
+
case 69:
|
|
759
|
+
return 80;
|
|
760
|
+
case 70:
|
|
761
|
+
return 76;
|
|
762
|
+
}
|
|
763
|
+
}, "anonymous"),
|
|
764
|
+
rules: [/^(?:title\s[^#\n;]+)/i, /^(?:accTitle\s*:\s*)/i, /^(?:(?!\n||)*[^\n]*)/i, /^(?:accDescr\s*:\s*)/i, /^(?:(?!\n||)*[^\n]*)/i, /^(?:accDescr\s*\{\s*)/i, /^(?:[\}])/i, /^(?:[^\}]*)/i, /^(?:.*direction\s+TB[^\n]*)/i, /^(?:.*direction\s+BT[^\n]*)/i, /^(?:.*direction\s+RL[^\n]*)/i, /^(?:.*direction\s+LR[^\n]*)/i, /^(?:(\r?\n)+)/i, /^(?:\s+)/i, /^(?:#[^\n]*)/i, /^(?:%[^\n]*)/i, /^(?:$)/i, /^(?:requirementDiagram\b)/i, /^(?:\{)/i, /^(?:\})/i, /^(?::{3})/i, /^(?::)/i, /^(?:id\b)/i, /^(?:text\b)/i, /^(?:risk\b)/i, /^(?:verifyMethod\b)/i, /^(?:requirement\b)/i, /^(?:functionalRequirement\b)/i, /^(?:interfaceRequirement\b)/i, /^(?:performanceRequirement\b)/i, /^(?:physicalRequirement\b)/i, /^(?:designConstraint\b)/i, /^(?:low\b)/i, /^(?:medium\b)/i, /^(?:high\b)/i, /^(?:analysis\b)/i, /^(?:demonstration\b)/i, /^(?:inspection\b)/i, /^(?:test\b)/i, /^(?:element\b)/i, /^(?:contains\b)/i, /^(?:copies\b)/i, /^(?:derives\b)/i, /^(?:satisfies\b)/i, /^(?:verifies\b)/i, /^(?:refines\b)/i, /^(?:traces\b)/i, /^(?:type\b)/i, /^(?:docref\b)/i, /^(?:style\b)/i, /^(?:\w+)/i, /^(?::)/i, /^(?:;)/i, /^(?:%)/i, /^(?:-)/i, /^(?:#)/i, /^(?: )/i, /^(?:["])/i, /^(?:\n)/i, /^(?:classDef\b)/i, /^(?:class\b)/i, /^(?:<-)/i, /^(?:->)/i, /^(?:-)/i, /^(?:["])/i, /^(?:["])/i, /^(?:[^"]*)/i, /^(?:[\w][^:,\r\n\{\<\>\-\=]*)/i, /^(?:\w+)/i, /^(?:[0-9]+)/i, /^(?:,)/i],
|
|
765
|
+
conditions: { "acc_descr_multiline": { "rules": [6, 7, 68, 69, 70], "inclusive": false }, "acc_descr": { "rules": [4, 68, 69, 70], "inclusive": false }, "acc_title": { "rules": [2, 68, 69, 70], "inclusive": false }, "style": { "rules": [50, 51, 52, 53, 54, 55, 56, 57, 58, 68, 69, 70], "inclusive": false }, "unqString": { "rules": [68, 69, 70], "inclusive": false }, "token": { "rules": [68, 69, 70], "inclusive": false }, "string": { "rules": [65, 66, 68, 69, 70], "inclusive": false }, "INITIAL": { "rules": [0, 1, 3, 5, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 59, 60, 61, 62, 63, 64, 67, 68, 69, 70], "inclusive": true } }
|
|
766
|
+
};
|
|
767
|
+
return lexer2;
|
|
768
|
+
}();
|
|
769
|
+
parser2.lexer = lexer;
|
|
770
|
+
function Parser() {
|
|
771
|
+
this.yy = {};
|
|
772
|
+
}
|
|
773
|
+
__name(Parser, "Parser");
|
|
774
|
+
Parser.prototype = parser2;
|
|
775
|
+
parser2.Parser = Parser;
|
|
776
|
+
return new Parser();
|
|
777
|
+
}();
|
|
778
|
+
parser.parser = parser;
|
|
779
|
+
var requirementDiagram_default = parser;
|
|
780
|
+
var RequirementDB = (_a = class {
|
|
781
|
+
constructor() {
|
|
782
|
+
this.relations = [];
|
|
783
|
+
this.latestRequirement = this.getInitialRequirement();
|
|
784
|
+
this.requirements = /* @__PURE__ */ new Map();
|
|
785
|
+
this.latestElement = this.getInitialElement();
|
|
786
|
+
this.elements = /* @__PURE__ */ new Map();
|
|
787
|
+
this.classes = /* @__PURE__ */ new Map();
|
|
788
|
+
this.direction = "TB";
|
|
789
|
+
this.RequirementType = {
|
|
790
|
+
REQUIREMENT: "Requirement",
|
|
791
|
+
FUNCTIONAL_REQUIREMENT: "Functional Requirement",
|
|
792
|
+
INTERFACE_REQUIREMENT: "Interface Requirement",
|
|
793
|
+
PERFORMANCE_REQUIREMENT: "Performance Requirement",
|
|
794
|
+
PHYSICAL_REQUIREMENT: "Physical Requirement",
|
|
795
|
+
DESIGN_CONSTRAINT: "Design Constraint"
|
|
796
|
+
};
|
|
797
|
+
this.RiskLevel = {
|
|
798
|
+
LOW_RISK: "Low",
|
|
799
|
+
MED_RISK: "Medium",
|
|
800
|
+
HIGH_RISK: "High"
|
|
801
|
+
};
|
|
802
|
+
this.VerifyType = {
|
|
803
|
+
VERIFY_ANALYSIS: "Analysis",
|
|
804
|
+
VERIFY_DEMONSTRATION: "Demonstration",
|
|
805
|
+
VERIFY_INSPECTION: "Inspection",
|
|
806
|
+
VERIFY_TEST: "Test"
|
|
807
|
+
};
|
|
808
|
+
this.Relationships = {
|
|
809
|
+
CONTAINS: "contains",
|
|
810
|
+
COPIES: "copies",
|
|
811
|
+
DERIVES: "derives",
|
|
812
|
+
SATISFIES: "satisfies",
|
|
813
|
+
VERIFIES: "verifies",
|
|
814
|
+
REFINES: "refines",
|
|
815
|
+
TRACES: "traces"
|
|
816
|
+
};
|
|
817
|
+
this.setAccTitle = setAccTitle;
|
|
818
|
+
this.getAccTitle = getAccTitle;
|
|
819
|
+
this.setAccDescription = setAccDescription;
|
|
820
|
+
this.getAccDescription = getAccDescription;
|
|
821
|
+
this.setDiagramTitle = setDiagramTitle;
|
|
822
|
+
this.getDiagramTitle = getDiagramTitle;
|
|
823
|
+
this.getConfig = /* @__PURE__ */ __name(() => getConfig2().requirement, "getConfig");
|
|
824
|
+
this.clear();
|
|
825
|
+
this.setDirection = this.setDirection.bind(this);
|
|
826
|
+
this.addRequirement = this.addRequirement.bind(this);
|
|
827
|
+
this.setNewReqId = this.setNewReqId.bind(this);
|
|
828
|
+
this.setNewReqRisk = this.setNewReqRisk.bind(this);
|
|
829
|
+
this.setNewReqText = this.setNewReqText.bind(this);
|
|
830
|
+
this.setNewReqVerifyMethod = this.setNewReqVerifyMethod.bind(this);
|
|
831
|
+
this.addElement = this.addElement.bind(this);
|
|
832
|
+
this.setNewElementType = this.setNewElementType.bind(this);
|
|
833
|
+
this.setNewElementDocRef = this.setNewElementDocRef.bind(this);
|
|
834
|
+
this.addRelationship = this.addRelationship.bind(this);
|
|
835
|
+
this.setCssStyle = this.setCssStyle.bind(this);
|
|
836
|
+
this.setClass = this.setClass.bind(this);
|
|
837
|
+
this.defineClass = this.defineClass.bind(this);
|
|
838
|
+
this.setAccTitle = this.setAccTitle.bind(this);
|
|
839
|
+
this.setAccDescription = this.setAccDescription.bind(this);
|
|
840
|
+
}
|
|
841
|
+
getDirection() {
|
|
842
|
+
return this.direction;
|
|
843
|
+
}
|
|
844
|
+
setDirection(dir) {
|
|
845
|
+
this.direction = dir;
|
|
846
|
+
}
|
|
847
|
+
resetLatestRequirement() {
|
|
848
|
+
this.latestRequirement = this.getInitialRequirement();
|
|
849
|
+
}
|
|
850
|
+
resetLatestElement() {
|
|
851
|
+
this.latestElement = this.getInitialElement();
|
|
852
|
+
}
|
|
853
|
+
getInitialRequirement() {
|
|
854
|
+
return {
|
|
855
|
+
requirementId: "",
|
|
856
|
+
text: "",
|
|
857
|
+
risk: "",
|
|
858
|
+
verifyMethod: "",
|
|
859
|
+
name: "",
|
|
860
|
+
type: "",
|
|
861
|
+
cssStyles: [],
|
|
862
|
+
classes: ["default"]
|
|
863
|
+
};
|
|
864
|
+
}
|
|
865
|
+
getInitialElement() {
|
|
866
|
+
return {
|
|
867
|
+
name: "",
|
|
868
|
+
type: "",
|
|
869
|
+
docRef: "",
|
|
870
|
+
cssStyles: [],
|
|
871
|
+
classes: ["default"]
|
|
872
|
+
};
|
|
873
|
+
}
|
|
874
|
+
addRequirement(name, type) {
|
|
875
|
+
if (!this.requirements.has(name)) {
|
|
876
|
+
this.requirements.set(name, {
|
|
877
|
+
name,
|
|
878
|
+
type,
|
|
879
|
+
requirementId: this.latestRequirement.requirementId,
|
|
880
|
+
text: this.latestRequirement.text,
|
|
881
|
+
risk: this.latestRequirement.risk,
|
|
882
|
+
verifyMethod: this.latestRequirement.verifyMethod,
|
|
883
|
+
cssStyles: [],
|
|
884
|
+
classes: ["default"]
|
|
885
|
+
});
|
|
886
|
+
}
|
|
887
|
+
this.resetLatestRequirement();
|
|
888
|
+
return this.requirements.get(name);
|
|
889
|
+
}
|
|
890
|
+
getRequirements() {
|
|
891
|
+
return this.requirements;
|
|
892
|
+
}
|
|
893
|
+
setNewReqId(id) {
|
|
894
|
+
if (this.latestRequirement !== void 0) {
|
|
895
|
+
this.latestRequirement.requirementId = id;
|
|
896
|
+
}
|
|
897
|
+
}
|
|
898
|
+
setNewReqText(text) {
|
|
899
|
+
if (this.latestRequirement !== void 0) {
|
|
900
|
+
this.latestRequirement.text = text;
|
|
901
|
+
}
|
|
902
|
+
}
|
|
903
|
+
setNewReqRisk(risk) {
|
|
904
|
+
if (this.latestRequirement !== void 0) {
|
|
905
|
+
this.latestRequirement.risk = risk;
|
|
906
|
+
}
|
|
907
|
+
}
|
|
908
|
+
setNewReqVerifyMethod(verifyMethod) {
|
|
909
|
+
if (this.latestRequirement !== void 0) {
|
|
910
|
+
this.latestRequirement.verifyMethod = verifyMethod;
|
|
911
|
+
}
|
|
912
|
+
}
|
|
913
|
+
addElement(name) {
|
|
914
|
+
if (!this.elements.has(name)) {
|
|
915
|
+
this.elements.set(name, {
|
|
916
|
+
name,
|
|
917
|
+
type: this.latestElement.type,
|
|
918
|
+
docRef: this.latestElement.docRef,
|
|
919
|
+
cssStyles: [],
|
|
920
|
+
classes: ["default"]
|
|
921
|
+
});
|
|
922
|
+
log.info("Added new element: ", name);
|
|
923
|
+
}
|
|
924
|
+
this.resetLatestElement();
|
|
925
|
+
return this.elements.get(name);
|
|
926
|
+
}
|
|
927
|
+
getElements() {
|
|
928
|
+
return this.elements;
|
|
929
|
+
}
|
|
930
|
+
setNewElementType(type) {
|
|
931
|
+
if (this.latestElement !== void 0) {
|
|
932
|
+
this.latestElement.type = type;
|
|
933
|
+
}
|
|
934
|
+
}
|
|
935
|
+
setNewElementDocRef(docRef) {
|
|
936
|
+
if (this.latestElement !== void 0) {
|
|
937
|
+
this.latestElement.docRef = docRef;
|
|
938
|
+
}
|
|
939
|
+
}
|
|
940
|
+
addRelationship(type, src, dst) {
|
|
941
|
+
this.relations.push({
|
|
942
|
+
type,
|
|
943
|
+
src,
|
|
944
|
+
dst
|
|
945
|
+
});
|
|
946
|
+
}
|
|
947
|
+
getRelationships() {
|
|
948
|
+
return this.relations;
|
|
949
|
+
}
|
|
950
|
+
clear() {
|
|
951
|
+
this.relations = [];
|
|
952
|
+
this.resetLatestRequirement();
|
|
953
|
+
this.requirements = /* @__PURE__ */ new Map();
|
|
954
|
+
this.resetLatestElement();
|
|
955
|
+
this.elements = /* @__PURE__ */ new Map();
|
|
956
|
+
this.classes = /* @__PURE__ */ new Map();
|
|
957
|
+
clear();
|
|
958
|
+
}
|
|
959
|
+
setCssStyle(ids, styles) {
|
|
960
|
+
for (const id of ids) {
|
|
961
|
+
const node = this.requirements.get(id) ?? this.elements.get(id);
|
|
962
|
+
if (!styles || !node) {
|
|
963
|
+
return;
|
|
964
|
+
}
|
|
965
|
+
for (const s of styles) {
|
|
966
|
+
if (s.includes(",")) {
|
|
967
|
+
node.cssStyles.push(...s.split(","));
|
|
968
|
+
} else {
|
|
969
|
+
node.cssStyles.push(s);
|
|
970
|
+
}
|
|
971
|
+
}
|
|
972
|
+
}
|
|
973
|
+
}
|
|
974
|
+
setClass(ids, classNames) {
|
|
975
|
+
var _a2;
|
|
976
|
+
for (const id of ids) {
|
|
977
|
+
const node = this.requirements.get(id) ?? this.elements.get(id);
|
|
978
|
+
if (node) {
|
|
979
|
+
for (const _class of classNames) {
|
|
980
|
+
node.classes.push(_class);
|
|
981
|
+
const styles = (_a2 = this.classes.get(_class)) == null ? void 0 : _a2.styles;
|
|
982
|
+
if (styles) {
|
|
983
|
+
node.cssStyles.push(...styles);
|
|
984
|
+
}
|
|
985
|
+
}
|
|
986
|
+
}
|
|
987
|
+
}
|
|
988
|
+
}
|
|
989
|
+
defineClass(ids, style) {
|
|
990
|
+
for (const id of ids) {
|
|
991
|
+
let styleClass = this.classes.get(id);
|
|
992
|
+
if (styleClass === void 0) {
|
|
993
|
+
styleClass = { id, styles: [], textStyles: [] };
|
|
994
|
+
this.classes.set(id, styleClass);
|
|
995
|
+
}
|
|
996
|
+
if (style) {
|
|
997
|
+
style.forEach(function(s) {
|
|
998
|
+
if (/color/.exec(s)) {
|
|
999
|
+
const newStyle = s.replace("fill", "bgFill");
|
|
1000
|
+
styleClass.textStyles.push(newStyle);
|
|
1001
|
+
}
|
|
1002
|
+
styleClass.styles.push(s);
|
|
1003
|
+
});
|
|
1004
|
+
}
|
|
1005
|
+
this.requirements.forEach((value) => {
|
|
1006
|
+
if (value.classes.includes(id)) {
|
|
1007
|
+
value.cssStyles.push(...style.flatMap((s) => s.split(",")));
|
|
1008
|
+
}
|
|
1009
|
+
});
|
|
1010
|
+
this.elements.forEach((value) => {
|
|
1011
|
+
if (value.classes.includes(id)) {
|
|
1012
|
+
value.cssStyles.push(...style.flatMap((s) => s.split(",")));
|
|
1013
|
+
}
|
|
1014
|
+
});
|
|
1015
|
+
}
|
|
1016
|
+
}
|
|
1017
|
+
getClasses() {
|
|
1018
|
+
return this.classes;
|
|
1019
|
+
}
|
|
1020
|
+
getData() {
|
|
1021
|
+
var _a2, _b, _c, _d;
|
|
1022
|
+
const config = getConfig2();
|
|
1023
|
+
const nodes = [];
|
|
1024
|
+
const edges = [];
|
|
1025
|
+
for (const requirement of this.requirements.values()) {
|
|
1026
|
+
const node = requirement;
|
|
1027
|
+
node.id = requirement.name;
|
|
1028
|
+
node.cssStyles = requirement.cssStyles;
|
|
1029
|
+
node.cssClasses = requirement.classes.join(" ");
|
|
1030
|
+
node.shape = "requirementBox";
|
|
1031
|
+
node.look = config.look;
|
|
1032
|
+
nodes.push(node);
|
|
1033
|
+
}
|
|
1034
|
+
for (const element of this.elements.values()) {
|
|
1035
|
+
const node = element;
|
|
1036
|
+
node.shape = "requirementBox";
|
|
1037
|
+
node.look = config.look;
|
|
1038
|
+
node.id = element.name;
|
|
1039
|
+
node.cssStyles = element.cssStyles;
|
|
1040
|
+
node.cssClasses = element.classes.join(" ");
|
|
1041
|
+
nodes.push(node);
|
|
1042
|
+
}
|
|
1043
|
+
for (const relation of this.relations) {
|
|
1044
|
+
let counter = 0;
|
|
1045
|
+
const isContains = relation.type === this.Relationships.CONTAINS;
|
|
1046
|
+
const edge = {
|
|
1047
|
+
id: `${relation.src}-${relation.dst}-${counter}`,
|
|
1048
|
+
start: ((_a2 = this.requirements.get(relation.src)) == null ? void 0 : _a2.name) ?? ((_b = this.elements.get(relation.src)) == null ? void 0 : _b.name),
|
|
1049
|
+
end: ((_c = this.requirements.get(relation.dst)) == null ? void 0 : _c.name) ?? ((_d = this.elements.get(relation.dst)) == null ? void 0 : _d.name),
|
|
1050
|
+
label: `<<${relation.type}>>`,
|
|
1051
|
+
classes: "relationshipLine",
|
|
1052
|
+
style: ["fill:none", isContains ? "" : "stroke-dasharray: 10,7"],
|
|
1053
|
+
labelpos: "c",
|
|
1054
|
+
thickness: "normal",
|
|
1055
|
+
type: "normal",
|
|
1056
|
+
pattern: isContains ? "normal" : "dashed",
|
|
1057
|
+
arrowTypeStart: isContains ? "requirement_contains" : "",
|
|
1058
|
+
arrowTypeEnd: isContains ? "" : "requirement_arrow",
|
|
1059
|
+
look: config.look
|
|
1060
|
+
};
|
|
1061
|
+
edges.push(edge);
|
|
1062
|
+
counter++;
|
|
1063
|
+
}
|
|
1064
|
+
return { nodes, edges, other: {}, config, direction: this.getDirection() };
|
|
1065
|
+
}
|
|
1066
|
+
}, __name(_a, "RequirementDB"), _a);
|
|
1067
|
+
var getStyles = /* @__PURE__ */ __name((options) => `
|
|
1068
|
+
|
|
1069
|
+
marker {
|
|
1070
|
+
fill: ${options.relationColor};
|
|
1071
|
+
stroke: ${options.relationColor};
|
|
1072
|
+
}
|
|
1073
|
+
|
|
1074
|
+
marker.cross {
|
|
1075
|
+
stroke: ${options.lineColor};
|
|
1076
|
+
}
|
|
1077
|
+
|
|
1078
|
+
svg {
|
|
1079
|
+
font-family: ${options.fontFamily};
|
|
1080
|
+
font-size: ${options.fontSize};
|
|
1081
|
+
}
|
|
1082
|
+
|
|
1083
|
+
.reqBox {
|
|
1084
|
+
fill: ${options.requirementBackground};
|
|
1085
|
+
fill-opacity: 1.0;
|
|
1086
|
+
stroke: ${options.requirementBorderColor};
|
|
1087
|
+
stroke-width: ${options.requirementBorderSize};
|
|
1088
|
+
}
|
|
1089
|
+
|
|
1090
|
+
.reqTitle, .reqLabel{
|
|
1091
|
+
fill: ${options.requirementTextColor};
|
|
1092
|
+
}
|
|
1093
|
+
.reqLabelBox {
|
|
1094
|
+
fill: ${options.relationLabelBackground};
|
|
1095
|
+
fill-opacity: 1.0;
|
|
1096
|
+
}
|
|
1097
|
+
|
|
1098
|
+
.req-title-line {
|
|
1099
|
+
stroke: ${options.requirementBorderColor};
|
|
1100
|
+
stroke-width: ${options.requirementBorderSize};
|
|
1101
|
+
}
|
|
1102
|
+
.relationshipLine {
|
|
1103
|
+
stroke: ${options.relationColor};
|
|
1104
|
+
stroke-width: 1;
|
|
1105
|
+
}
|
|
1106
|
+
.relationshipLabel {
|
|
1107
|
+
fill: ${options.relationLabelColor};
|
|
1108
|
+
}
|
|
1109
|
+
.divider {
|
|
1110
|
+
stroke: ${options.nodeBorder};
|
|
1111
|
+
stroke-width: 1;
|
|
1112
|
+
}
|
|
1113
|
+
.label {
|
|
1114
|
+
font-family: ${options.fontFamily};
|
|
1115
|
+
color: ${options.nodeTextColor || options.textColor};
|
|
1116
|
+
}
|
|
1117
|
+
.label text,span {
|
|
1118
|
+
fill: ${options.nodeTextColor || options.textColor};
|
|
1119
|
+
color: ${options.nodeTextColor || options.textColor};
|
|
1120
|
+
}
|
|
1121
|
+
.labelBkg {
|
|
1122
|
+
background-color: ${options.edgeLabelBackground};
|
|
1123
|
+
}
|
|
1124
|
+
|
|
1125
|
+
`, "getStyles");
|
|
1126
|
+
var styles_default = getStyles;
|
|
1127
|
+
var requirementRenderer_exports = {};
|
|
1128
|
+
__export(requirementRenderer_exports, {
|
|
1129
|
+
draw: () => draw
|
|
1130
|
+
});
|
|
1131
|
+
var draw = /* @__PURE__ */ __name(async function(text, id, _version, diag) {
|
|
1132
|
+
log.info("REF0:");
|
|
1133
|
+
log.info("Drawing requirement diagram (unified)", id);
|
|
1134
|
+
const { securityLevel, state: conf, layout } = getConfig2();
|
|
1135
|
+
const data4Layout = diag.db.getData();
|
|
1136
|
+
const svg = getDiagramElement(id, securityLevel);
|
|
1137
|
+
data4Layout.type = diag.type;
|
|
1138
|
+
data4Layout.layoutAlgorithm = getRegisteredLayoutAlgorithm(layout);
|
|
1139
|
+
data4Layout.nodeSpacing = (conf == null ? void 0 : conf.nodeSpacing) ?? 50;
|
|
1140
|
+
data4Layout.rankSpacing = (conf == null ? void 0 : conf.rankSpacing) ?? 50;
|
|
1141
|
+
data4Layout.markers = ["requirement_contains", "requirement_arrow"];
|
|
1142
|
+
data4Layout.diagramId = id;
|
|
1143
|
+
await render(data4Layout, svg);
|
|
1144
|
+
const padding = 8;
|
|
1145
|
+
utils_default.insertTitle(
|
|
1146
|
+
svg,
|
|
1147
|
+
"requirementDiagramTitleText",
|
|
1148
|
+
(conf == null ? void 0 : conf.titleTopMargin) ?? 25,
|
|
1149
|
+
diag.db.getDiagramTitle()
|
|
1150
|
+
);
|
|
1151
|
+
setupViewPortForSVG(svg, padding, "requirementDiagram", (conf == null ? void 0 : conf.useMaxWidth) ?? true);
|
|
1152
|
+
}, "draw");
|
|
1153
|
+
var diagram = {
|
|
1154
|
+
parser: requirementDiagram_default,
|
|
1155
|
+
get db() {
|
|
1156
|
+
return new RequirementDB();
|
|
1157
|
+
},
|
|
1158
|
+
renderer: requirementRenderer_exports,
|
|
1159
|
+
styles: styles_default
|
|
1160
|
+
};
|
|
1161
|
+
export {
|
|
1162
|
+
diagram
|
|
1163
|
+
};
|
|
1164
|
+
//# sourceMappingURL=requirementDiagram-UZGBJVZJ-D6hcN5kf.js.map
|