@spteck/react-controls-v2 2.3.7 → 2.3.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/LocalizationProvider-B6NxHbu2.cjs +2 -0
- package/dist/LocalizationProvider-te5iu_6z.js +363 -0
- package/dist/_arrayEach-BuSFKyFt.js +54 -0
- package/dist/_arrayEach-ChR-TejB.cjs +2 -0
- package/dist/_getTag-BRuLtYrv.js +28 -0
- package/dist/_getTag-D6VVyrEu.cjs +2 -0
- package/dist/abstractions/IApplicationContext.d.ts +0 -1
- package/dist/abstractions/IAuthenticationProvider.d.ts +0 -1
- package/dist/abstractions/ILocalizationProvider.d.ts +0 -1
- package/dist/abstractions/providers/ConsoleLoggingProvider.d.ts +0 -1
- package/dist/abstractions/providers/DefaultGraphClient.d.ts +0 -1
- package/dist/abstractions/providers/DefaultLocalizationProvider.d.ts +0 -1
- package/dist/abstractions/providers/LocalStorageProvider.d.ts +0 -1
- package/dist/abstractions/providers/LocalizationProvider.d.ts +0 -1
- package/dist/ar-Blifx2MN.js +210 -0
- package/dist/ar-ip3bGOX3.cjs +2 -0
- package/dist/arc-4yb49ncY.js +82 -0
- package/dist/arc-djsA8IT0.cjs +2 -0
- package/dist/architecture-PBZL5I3N-CvTfVLFi.js +3 -0
- package/dist/architecture-PBZL5I3N-wZIE3ggH.cjs +1 -0
- package/dist/architectureDiagram-2XIMDMQ5-DFEvJNx1.cjs +37 -0
- package/dist/architectureDiagram-2XIMDMQ5-g-HotzpG.js +4047 -0
- package/dist/array-BNB_vRFv.cjs +2 -0
- package/dist/array-DP0duYiO.js +8 -0
- package/dist/az-CMhDjtnj.js +210 -0
- package/dist/az-CyVLdUDz.cjs +2 -0
- package/dist/bg-Bexoz3hL.cjs +2 -0
- package/dist/bg-C96WirSv.js +210 -0
- package/dist/blockDiagram-WCTKOSBZ-DWgb5Ghz.js +3165 -0
- package/dist/blockDiagram-WCTKOSBZ-Dl04FBAy.cjs +133 -0
- package/dist/bs-MMcvhwLv.cjs +2 -0
- package/dist/bs-_St1wBE_.js +210 -0
- package/dist/c4Diagram-IC4MRINW-ClZvialQ.js +2966 -0
- package/dist/c4Diagram-IC4MRINW-ZFE2cGZP.cjs +11 -0
- package/dist/ca-BspMSeHN.cjs +2 -0
- package/dist/ca-QlLcV4wf.js +210 -0
- package/dist/channel-2Bqnb1FY.js +7 -0
- package/dist/channel-5_aP1EVB.cjs +2 -0
- package/dist/chunk-4BX2VUAB-B5Va_oZz.js +10 -0
- package/dist/chunk-4BX2VUAB-BWDW-gYk.cjs +2 -0
- package/dist/chunk-55IACEB6-4ind_ByS.cjs +2 -0
- package/dist/chunk-55IACEB6-Pcyz_aR_.js +10 -0
- package/dist/chunk-7E7YKBS2-Sw9_w4gt.cjs +2 -0
- package/dist/chunk-7E7YKBS2-VHdgsed6.js +25 -0
- package/dist/chunk-7R4GIKGN-BKoqTTU_.cjs +81 -0
- package/dist/chunk-7R4GIKGN-CaQJ0QBF.js +2598 -0
- package/dist/chunk-C72U2L5F-CCvi6jiy.cjs +2 -0
- package/dist/chunk-C72U2L5F-MjJQTOMh.js +25 -0
- package/dist/chunk-D-IZpNpi.cjs +1 -0
- package/dist/chunk-EGIJ26TM-Bffl84Wq.cjs +2 -0
- package/dist/chunk-EGIJ26TM-DLMAfvpZ.js +25 -0
- package/dist/{chunk-FMBD7UC4-DD0xIF4q.js → chunk-FMBD7UC4-BvqqU04Z.cjs} +3 -7
- package/dist/chunk-FMBD7UC4-xjRtkFXe.js +7 -0
- package/dist/chunk-GEFDOKGD-BNgT40Ex.js +1302 -0
- package/dist/chunk-GEFDOKGD-BOwd6Jqp.cjs +3 -0
- package/dist/chunk-GLR3WWYH-DdNAJNRC.cjs +2 -0
- package/dist/chunk-GLR3WWYH-kyo6BUtq.js +43 -0
- package/dist/chunk-HHEYEP7N-DO1AYIZw.js +11 -0
- package/dist/chunk-HHEYEP7N-pdmgQZzP.cjs +2 -0
- package/dist/chunk-JSJVCQXG-Ci0seBb4.cjs +2 -0
- package/dist/chunk-JSJVCQXG-DowfYWcD.js +62 -0
- package/dist/chunk-KX2RTZJC-BJeOHReu.cjs +2 -0
- package/dist/chunk-KX2RTZJC-D-bUTSNy.js +27 -0
- package/dist/chunk-KYZI473N-DEPuSXaW.js +3436 -0
- package/dist/chunk-KYZI473N-DzBMFOER.cjs +54 -0
- package/dist/chunk-L3YUKLVL-BDGCTzmy.js +25 -0
- package/dist/chunk-L3YUKLVL-BZ17sqh5.cjs +2 -0
- package/dist/chunk-MX3YWQON-CAsnAj2e.js +82 -0
- package/dist/chunk-MX3YWQON-DulrBJdn.cjs +2 -0
- package/dist/chunk-NBPlniwU.js +23 -0
- package/dist/chunk-NQ4KR5QH-BJBAT2kM.cjs +221 -0
- package/dist/chunk-NQ4KR5QH-DFem-ORD.js +2004 -0
- package/dist/chunk-O4XLMI2P-BQF7MAo7.cjs +8 -0
- package/dist/chunk-O4XLMI2P-DA4TPzPG.js +513 -0
- package/dist/chunk-OZEHJAEY-CAiiXJUP.cjs +2 -0
- package/dist/chunk-OZEHJAEY-D7SX2SbR.js +66 -0
- package/dist/chunk-PQ6SQG4A-BZnW4-Sd.cjs +2 -0
- package/dist/chunk-PQ6SQG4A-ObFGkauo.js +69 -0
- package/dist/chunk-PU5JKC2W-BM5NPS-q.js +1887 -0
- package/dist/chunk-PU5JKC2W-eRU8wnTH.cjs +71 -0
- package/dist/chunk-QZHKN3VN-Dhli_tM0.cjs +2 -0
- package/dist/chunk-QZHKN3VN-x258g6EH.js +17 -0
- package/dist/chunk-R5LLSJPH-CNTEucEd.cjs +2 -0
- package/dist/chunk-R5LLSJPH-Gt27ml2m.js +37 -0
- package/dist/chunk-WL4C6EOR-CQXw6d0l.cjs +190 -0
- package/dist/chunk-WL4C6EOR-DuM6QmqM.js +3196 -0
- package/dist/chunk-XIRO2GV7-CswC9CO8.cjs +2 -0
- package/dist/chunk-XIRO2GV7-DXlO8X82.js +32 -0
- package/dist/chunk-XPW4576I-Bpsr4SZJ.js +1148 -0
- package/dist/chunk-XPW4576I-C68T-WIW.cjs +33 -0
- package/dist/chunk-XZSTWKYB-DJv9rEVU.cjs +95 -0
- package/dist/chunk-XZSTWKYB-jD9M1izK.js +16132 -0
- package/dist/chunk-YBOYWFTD-B6CeuteH.js +34 -0
- package/dist/chunk-YBOYWFTD-CiLW6HW_.cjs +2 -0
- package/dist/classDiagram-VBA2DB6C-Us0kuDfz.cjs +2 -0
- package/dist/classDiagram-VBA2DB6C-VOsE3gN0.js +31 -0
- package/dist/classDiagram-v2-RAHNMMFH-BWsm3ea6.cjs +2 -0
- package/dist/classDiagram-v2-RAHNMMFH-DPqMNfOz.js +31 -0
- package/dist/components/AISearchControl/useAISearchControlStyles.d.ts +0 -1
- package/dist/components/AspectRatio/AspectRatio.d.ts +0 -1
- package/dist/components/AspectRatio/IAspectRationProps.d.ts +0 -1
- package/dist/components/Card/ICardProps.d.ts +0 -1
- package/dist/components/Carousel/ICarouselProps.d.ts +0 -1
- package/dist/components/Carousel/useCarouselButton.d.ts +0 -1
- package/dist/components/Carousel/useCarouselStyles.d.ts +0 -1
- package/dist/components/Center/ICenterProps.d.ts +0 -1
- package/dist/components/ContentRenderer/IContentRendererProps.d.ts +0 -1
- package/dist/components/DataGridV2/DataGridV2.d.ts +2 -1
- package/dist/components/DataGridV2/IDataGridV2ExtraProps.d.ts +0 -1
- package/dist/components/Grid/IGridProps.d.ts +0 -1
- package/dist/components/ItemPicker/IItemPickerProps.d.ts +0 -1
- package/dist/components/KPIControl/IKpiCardProps.d.ts +0 -1
- package/dist/components/ListItemActivityMessage/IActivity.d.ts +0 -1
- package/dist/components/ListItemActivityMessage/IActivityMessageProps.d.ts +0 -1
- package/dist/components/ListItemActivityMessage/IActor.d.ts +0 -1
- package/dist/components/ListItemActivityMessage/useSharePointActivities.d.ts +0 -1
- package/dist/components/ListToolbar/FlatItem.d.ts +0 -1
- package/dist/components/ListToolbar/IListToolbarProps.d.ts +0 -1
- package/dist/components/ListToolbar/IToolbarItem.d.ts +0 -1
- package/dist/components/ListToolbar/IToolbarItemRendererProps.d.ts +0 -1
- package/dist/components/ListToolbar/helpers.d.ts +0 -1
- package/dist/components/MermaidDiagram/useMermaidDiagramStyles.d.ts +0 -1
- package/dist/components/Navigation/Navigation.d.ts +0 -1
- package/dist/components/Popup/Popup.d.ts +0 -1
- package/dist/components/Provider/UniversalProvider.d.ts +0 -1
- package/dist/components/Space/ISpaceProps.d.ts +0 -1
- package/dist/components/SplitPane/ISplitPaneProps.d.ts +0 -1
- package/dist/components/SplitPane/useSplitPaneStyles.d.ts +0 -1
- package/dist/components/Stack/IStackProps.d.ts +0 -1
- package/dist/components/StackedUsers/IStackedUsersProps.d.ts +0 -1
- package/dist/components/StackedUsers/StackedUsers.d.ts +0 -1
- package/dist/components/adaptiveCardHost/AdaptiveCardHost.HostConfig.d.ts +0 -1
- package/dist/components/adaptiveCardHost/AdaptiveCardHost.Utilities.d.ts +0 -1
- package/dist/components/adaptiveCardHost/AdaptiveCardHost.d.ts +0 -1
- package/dist/components/adaptiveCardHost/IAdaptiveCardHostProps.d.ts +0 -1
- package/dist/components/adaptiveCardHost/fluentUI/Elements.d.ts +0 -1
- package/dist/components/adaptiveCardHost/fluentUI/FluentUIChoiceSetInput.d.ts +0 -1
- package/dist/components/adaptiveCardHost/fluentUI/FluentUIDateInput.d.ts +0 -1
- package/dist/components/adaptiveCardHost/fluentUI/FluentUINumberInput.d.ts +0 -1
- package/dist/components/adaptiveCardHost/fluentUI/FluentUITextInput.d.ts +0 -1
- package/dist/components/adaptiveCardHost/fluentUI/FluentUIToggleInput.d.ts +0 -1
- package/dist/components/adaptiveCardHost/fluentUI/HostCapability.d.ts +0 -1
- package/dist/components/adaptiveCardHost/fluentUI/HostConfig.d.ts +0 -1
- package/dist/components/adaptiveCardHost/fluentUI/Styles.d.ts +0 -1
- package/dist/components/adaptiveCardHost/models/IAdaptiveCardHostConfigResult.d.ts +0 -1
- package/dist/components/adaptiveCardHost/models/IAdaptiveCardHostEvaluationContext.d.ts +0 -1
- package/dist/components/aiAssistant/ChatAction.d.ts +0 -1
- package/dist/components/aiAssistant/ChatInputProps.d.ts +0 -1
- package/dist/components/aiAssistant/ChatInputWithMensions.d.ts +0 -1
- package/dist/components/aiAssistant/ChatInputWithMensionsProps.d.ts +0 -1
- package/dist/components/aiAssistant/ChatInputWithMensionsV1.d.ts +0 -1
- package/dist/components/aiAssistant/ChatInputWithMensionsV2.d.ts +0 -1
- package/dist/components/aiAssistant/ChatState.d.ts +0 -1
- package/dist/components/aiAssistant/IAIAssistantProps.d.ts +0 -1
- package/dist/components/aiAssistant/chatReducer.d.ts +0 -1
- package/dist/components/aiAssistant/useChatInputStyles.d.ts +0 -1
- package/dist/components/aiAssistant/useChatInputWithMensionsStyles.d.ts +0 -1
- package/dist/components/aiAssistant/useStyles.d.ts +0 -1
- package/dist/components/appDashboard/AppDashboard.d.ts +0 -1
- package/dist/components/appDashboard/IAppDashboardProps.d.ts +0 -1
- package/dist/components/baseComponentProps/IBaseProps.d.ts +0 -1
- package/dist/components/breadcrumb/Breadcrumb.d.ts +0 -1
- package/dist/components/breadcrumb/IBreadcrumProps.d.ts +0 -1
- package/dist/components/breadcrumb/OverflowMenu.d.ts +0 -1
- package/dist/components/breadcrumb/useBreadcrumStyles.d.ts +0 -1
- package/dist/components/calendarControl/hooks/useCalendar.d.ts +0 -1
- package/dist/components/calendarControl/hooks/useUtils.d.ts +0 -1
- package/dist/components/calendarControl/models/ICalendarControlProps.d.ts +0 -1
- package/dist/components/calendarControl/models/IEvents.d.ts +0 -1
- package/dist/components/customControlBar/ICustomControlBarProps.d.ts +0 -1
- package/dist/components/dataGrid/DataGrid.d.ts +0 -1
- package/dist/components/dataGrid/IDataGridProps.d.ts +0 -1
- package/dist/components/dataGrid/ISortState.d.ts +0 -1
- package/dist/components/dataGrid/stack/IStackProps.d.ts +0 -1
- package/dist/components/dataGrid/stack/Stack.d.ts +0 -1
- package/dist/components/dataGrid/useDataGridStyles.d.ts +0 -1
- package/dist/components/dropDownField/IDropDownFieldProps.d.ts +0 -1
- package/dist/components/fluentUIProvider/FluentUIProvider.d.ts +0 -1
- package/dist/components/iconButton/IconButton.d.ts +0 -1
- package/dist/components/iconButton/IconButtonProps.d.ts +0 -1
- package/dist/components/mensions/IMensionsProps.d.ts +0 -1
- package/dist/components/mensions/Mensions.d.ts +0 -1
- package/dist/components/mensions/MensionsExample.d.ts +0 -1
- package/dist/components/renderAdaptiveCard/RenderAdaptiveCard.d.ts +0 -1
- package/dist/components/searchControl/useSearchControlStyles.d.ts +0 -1
- package/dist/components/selectView/SelectView.d.ts +0 -1
- package/dist/components/showError/ShowError.d.ts +0 -1
- package/dist/components/stackv2/IStackV2Props.d.ts +0 -1
- package/dist/components/stackv2/StackV2.d.ts +0 -1
- package/dist/components/userCard/IUserCardProps.d.ts +0 -1
- package/dist/components/userCard/IUserInfo.d.ts +0 -1
- package/dist/components/userCard/UserCard.d.ts +0 -1
- package/dist/components/userCard/constants.d.ts +0 -1
- package/dist/components/userCard/useUserProfile.d.ts +0 -1
- package/dist/components/videoPlayer/VideoPlayer.d.ts +0 -1
- package/dist/components/videoPlayer/useVideoStyles.d.ts +0 -1
- package/dist/components/worldMap/IWorldMapProps.d.ts +0 -1
- package/dist/components/worldMap/MaplibreWorldMapProps.d.ts +0 -1
- package/dist/components/worldMap/WorldMap.d.ts +0 -1
- package/dist/components/worldMap/WorldMapControl.d.ts +0 -1
- package/dist/components/worldMap/useCleanMapStyle.d.ts +0 -1
- package/dist/components/worldMap/useGeocodedCountries.d.ts +0 -1
- package/dist/cose-bilkent-S5V4N54A-CKhwzobJ.js +2252 -0
- package/dist/cose-bilkent-S5V4N54A-DmyaRQ6l.cjs +2 -0
- package/dist/cs-FZSeHYld.cjs +2 -0
- package/dist/cs-MrS2bH7F.js +210 -0
- package/dist/cy-BX97Tgwk.js +210 -0
- package/dist/cy-CzQmM2lQ.cjs +2 -0
- package/dist/cytoscape.esm-CcJAI0wG.cjs +322 -0
- package/dist/cytoscape.esm-D9EjU25_.js +18102 -0
- package/dist/da-BnewPPrh.js +210 -0
- package/dist/da-CexFt-Oj.cjs +2 -0
- package/dist/dagre-CpEPaL3r.cjs +2 -0
- package/dist/dagre-Dd8wCGc6.js +1305 -0
- package/dist/dagre-KLK3FWXG-BpxkjvB3.js +294 -0
- package/dist/dagre-KLK3FWXG-DIznPQl_.cjs +5 -0
- package/dist/de-B68HwuYu.cjs +2 -0
- package/dist/de-BSZuzGTL.js +210 -0
- package/dist/defaultLocale-CYOzCjwh.js +203 -0
- package/dist/defaultLocale-DSgylVA1.cjs +2 -0
- package/dist/diagram-E7M64L7V-dXqTi77U.cjs +25 -0
- package/dist/diagram-E7M64L7V-oX07GVAD.js +529 -0
- package/dist/diagram-IFDJBPK2-CriVAAmI.cjs +44 -0
- package/dist/diagram-IFDJBPK2-lCNF06_S.js +215 -0
- package/dist/diagram-P4PSJMXO-TfwVJh4S.js +135 -0
- package/dist/diagram-P4PSJMXO-k7F0lH6Q.cjs +25 -0
- package/dist/dist-CV9Ez7cn.js +52 -0
- package/dist/dist-DVthN7lF.cjs +2 -0
- package/dist/el-DQc4jSMd.cjs +2 -0
- package/dist/el-DrOk3N7-.js +210 -0
- package/dist/erDiagram-INFDFZHY-CDt3mOSU.cjs +71 -0
- package/dist/erDiagram-INFDFZHY-Ds_R2Ds4.js +1668 -0
- package/dist/es-CGqzubZ2.js +210 -0
- package/dist/es-DI8Y4Bv1.cjs +2 -0
- package/dist/et-DGqkocuq.js +210 -0
- package/dist/et-DfaryKvp.cjs +2 -0
- package/dist/eu-BVOSXciF.cjs +2 -0
- package/dist/eu-DEo7fdTW.js +210 -0
- package/dist/fi-C5L-OzaI.cjs +2 -0
- package/dist/fi-DxErwnd5.js +210 -0
- package/dist/flowDiagram-PKNHOUZH-7XJG07fo.cjs +163 -0
- package/dist/flowDiagram-PKNHOUZH-CkeYebJ5.js +4163 -0
- package/dist/fr-yFvjqx8B.cjs +2 -0
- package/dist/fr-zrtSZX0o.js +210 -0
- package/dist/ga-6mVQhlWi.cjs +2 -0
- package/dist/ga-CbHxGc9_.js +210 -0
- package/dist/ganttDiagram-A5KZAMGK-Bbck1pyM.cjs +293 -0
- package/dist/ganttDiagram-A5KZAMGK-CFT3Xn_r.js +3074 -0
- package/dist/gitGraph-HDMCJU4V-BKE04oIl.js +3 -0
- package/dist/gitGraph-HDMCJU4V-C9GYfOYb.cjs +1 -0
- package/dist/gitGraphDiagram-K3NZZRJ6-CXz9SHBX.js +627 -0
- package/dist/gitGraphDiagram-K3NZZRJ6-Dt4D-ig1.cjs +66 -0
- package/dist/gl--w0P3RY4.js +210 -0
- package/dist/gl-BJzJe1sq.cjs +2 -0
- package/dist/graphlib-CPo7oIsu.js +223 -0
- package/dist/graphlib-CmUS4Qin.cjs +2 -0
- package/dist/he-B3Bw3qr0.cjs +2 -0
- package/dist/he-DY19lzWp.js +210 -0
- package/dist/hi-CFSsoO_8.js +210 -0
- package/dist/hi-kofL-mD8.cjs +2 -0
- package/dist/hooks/useBrandCenterFonts.d.ts +0 -1
- package/dist/hooks/useGraphAPI.d.ts +0 -1
- package/dist/hooks/useLocalizationStrings.d.ts +0 -1
- package/dist/hooks/useLogging.d.ts +0 -1
- package/dist/hr-CDxqA9Jm.cjs +2 -0
- package/dist/hr-DIRJ1Z8e.js +210 -0
- package/dist/hu-Defen_75.cjs +2 -0
- package/dist/hu-DqYPRWZh.js +210 -0
- package/dist/id-DcwMRgmX.cjs +2 -0
- package/dist/id-Dgj7SUCi.js +210 -0
- package/dist/identity-6JlhFhuM.cjs +2 -0
- package/dist/identity-C1jKsMoW.js +395 -0
- package/dist/index.cjs +453 -2
- package/dist/index.js +22828 -168
- package/dist/info-3K5VOQVL-DfN_3mKd.js +3 -0
- package/dist/info-3K5VOQVL-d6J9FY0_.cjs +1 -0
- package/dist/infoDiagram-LFFYTUFH-Bp9btqnA.cjs +3 -0
- package/dist/infoDiagram-LFFYTUFH-DnvgRFnx.js +21 -0
- package/dist/init-BAFZAp9S.cjs +2 -0
- package/dist/init-m0TwgR4W.js +17 -0
- package/dist/isEmpty-BTp1uKIj.cjs +2 -0
- package/dist/isEmpty-uXVYZZYe.js +17 -0
- package/dist/ishikawaDiagram-PHBUUO56-DLaOkz38.js +719 -0
- package/dist/ishikawaDiagram-PHBUUO56-DmqObwMZ.cjs +71 -0
- package/dist/it-D5nM6KCi.cjs +2 -0
- package/dist/it-QdChHqVN.js +210 -0
- package/dist/ja-BNS0BbY-.js +210 -0
- package/dist/ja-BtuHirv7.cjs +2 -0
- package/dist/journeyDiagram-4ABVD52K-Cv0DbLMi.cjs +140 -0
- package/dist/journeyDiagram-4ABVD52K-DYmmcNK4.js +885 -0
- package/dist/kanban-definition-K7BYSVSG-BdQLAMeB.cjs +90 -0
- package/dist/kanban-definition-K7BYSVSG-CLEYqSz5.js +973 -0
- package/dist/katex-B-Nju2J8.js +22002 -0
- package/dist/katex-WY67Rp7A.cjs +266 -0
- package/dist/kk-BSl8IqgQ.cjs +2 -0
- package/dist/kk-Dhkax68h.js +210 -0
- package/dist/ko-eplb1GD0.cjs +2 -0
- package/dist/ko-heRMHZWp.js +210 -0
- package/dist/line-CbEBKCYr.js +36 -0
- package/dist/line-DqSdvtRR.cjs +2 -0
- package/dist/linear-DvLDpS6A.cjs +2 -0
- package/dist/linear-Eb79THx6.js +291 -0
- package/dist/localization/ILibraryStrings.d.ts +0 -1
- package/dist/localization/defaults/ar.d.ts +0 -1
- package/dist/localization/defaults/az.d.ts +0 -1
- package/dist/localization/defaults/bg.d.ts +0 -1
- package/dist/localization/defaults/bs.d.ts +0 -1
- package/dist/localization/defaults/ca.d.ts +0 -1
- package/dist/localization/defaults/cs.d.ts +0 -1
- package/dist/localization/defaults/cy.d.ts +0 -1
- package/dist/localization/defaults/da.d.ts +0 -1
- package/dist/localization/defaults/de.d.ts +0 -1
- package/dist/localization/defaults/el.d.ts +0 -1
- package/dist/localization/defaults/en.d.ts +0 -1
- package/dist/localization/defaults/es.d.ts +0 -1
- package/dist/localization/defaults/et.d.ts +0 -1
- package/dist/localization/defaults/eu.d.ts +0 -1
- package/dist/localization/defaults/fi.d.ts +0 -1
- package/dist/localization/defaults/fr.d.ts +0 -1
- package/dist/localization/defaults/ga.d.ts +0 -1
- package/dist/localization/defaults/gl.d.ts +0 -1
- package/dist/localization/defaults/he.d.ts +0 -1
- package/dist/localization/defaults/hi.d.ts +0 -1
- package/dist/localization/defaults/hr.d.ts +0 -1
- package/dist/localization/defaults/hu.d.ts +0 -1
- package/dist/localization/defaults/id.d.ts +0 -1
- package/dist/localization/defaults/it.d.ts +0 -1
- package/dist/localization/defaults/ja.d.ts +0 -1
- package/dist/localization/defaults/kk.d.ts +0 -1
- package/dist/localization/defaults/ko.d.ts +0 -1
- package/dist/localization/defaults/lt.d.ts +0 -1
- package/dist/localization/defaults/lv.d.ts +0 -1
- package/dist/localization/defaults/mk.d.ts +0 -1
- package/dist/localization/defaults/ms.d.ts +0 -1
- package/dist/localization/defaults/nb.d.ts +0 -1
- package/dist/localization/defaults/nl.d.ts +0 -1
- package/dist/localization/defaults/pl.d.ts +0 -1
- package/dist/localization/defaults/pt.d.ts +0 -1
- package/dist/localization/defaults/ro.d.ts +0 -1
- package/dist/localization/defaults/ru.d.ts +0 -1
- package/dist/localization/defaults/sk.d.ts +0 -1
- package/dist/localization/defaults/sl.d.ts +0 -1
- package/dist/localization/defaults/sr.d.ts +0 -1
- package/dist/localization/defaults/sv.d.ts +0 -1
- package/dist/localization/defaults/th.d.ts +0 -1
- package/dist/localization/defaults/tr.d.ts +0 -1
- package/dist/localization/defaults/uk.d.ts +0 -1
- package/dist/localization/defaults/vi.d.ts +0 -1
- package/dist/localization/defaults/zh.d.ts +0 -1
- package/dist/lt-Decqbo8S.js +210 -0
- package/dist/lt-DsYAWFbF.cjs +2 -0
- package/dist/lv-DHmTjCb8.cjs +2 -0
- package/dist/lv-wZASv0Lw.js +210 -0
- package/dist/maplibre-gl-qSrG75fp.js +33003 -0
- package/dist/maplibre-gl-tm_pVdmb.cjs +757 -0
- package/dist/math-DR9t6ixc.cjs +2 -0
- package/dist/math-DyURnvXC.js +12 -0
- package/dist/mermaid-parser.core-BdTB9qx-.js +61 -0
- package/dist/mermaid-parser.core-BlzF5RRD.cjs +4 -0
- package/dist/mindmap-definition-YRQLILUH-CzcVgr-U.js +966 -0
- package/dist/mindmap-definition-YRQLILUH-zWN_YXC3.cjs +69 -0
- package/dist/mk-BTsLGTJT.js +210 -0
- package/dist/mk-CCV_308U.cjs +2 -0
- package/dist/ms-C0cVNwky.js +210 -0
- package/dist/ms-CH83xVYN.cjs +2 -0
- package/dist/nb-DGX4q4tS.js +210 -0
- package/dist/nb-DZ-DlwcL.cjs +2 -0
- package/dist/nl-CnXZa8tZ.js +210 -0
- package/dist/nl-Xdf-A19i.cjs +2 -0
- package/dist/ordinal-BAWGEQkf.js +67 -0
- package/dist/ordinal-CL2X4e2C.cjs +2 -0
- package/dist/packet-RMMSAZCW-Bek1stRX.cjs +1 -0
- package/dist/packet-RMMSAZCW-DUN6t9lN.js +3 -0
- package/dist/path-Bt6guLtL.cjs +2 -0
- package/dist/path-DSzKK8fH.js +87 -0
- package/dist/pie-UPGHQEXC-DjqNO54R.js +3 -0
- package/dist/pie-UPGHQEXC-pJq6_YgE.cjs +1 -0
- package/dist/pieDiagram-SKSYHLDU-Ba-c0fRA.cjs +31 -0
- package/dist/pieDiagram-SKSYHLDU-ya07MTY-.js +167 -0
- package/dist/pl-BStql1S-.cjs +2 -0
- package/dist/pl-DbIdTNpg.js +210 -0
- package/dist/providers.cjs +2 -2
- package/dist/providers.d.ts +1 -0
- package/dist/providers.js +188 -252
- package/dist/pt-CcKYweQk.js +210 -0
- package/dist/pt-Dk4jELuZ.cjs +2 -0
- package/dist/quadrantDiagram-337W2JSQ-CQQEVC49.cjs +8 -0
- package/dist/quadrantDiagram-337W2JSQ-Dp_QyIEO.js +1976 -0
- package/dist/radar-KQ55EAFF-Bid2hXXI.cjs +1 -0
- package/dist/radar-KQ55EAFF-C6zhEkCz.js +3 -0
- package/dist/requirementDiagram-Z7DCOOCP-CRl2914V.js +2203 -0
- package/dist/requirementDiagram-Z7DCOOCP-CeMYhXEm.cjs +74 -0
- package/dist/ro-BvhMyTKh.cjs +2 -0
- package/dist/ro-C-8tiqgA.js +210 -0
- package/dist/rough.esm-BjJ_weyP.cjs +2 -0
- package/dist/rough.esm-DBHP55VQ.js +1354 -0
- package/dist/ru-BQosng8l.cjs +2 -0
- package/dist/ru-Dhnz96q2.js +210 -0
- package/dist/sankeyDiagram-WA2Y5GQK-BFrF47Iv.js +922 -0
- package/dist/sankeyDiagram-WA2Y5GQK-DDfjtQ4G.cjs +11 -0
- package/dist/sequenceDiagram-2WXFIKYE-B-zWyr9f.cjs +146 -0
- package/dist/sequenceDiagram-2WXFIKYE-BAd8OVlz.js +4111 -0
- package/dist/sk-BU-Z5EsC.js +210 -0
- package/dist/sk-BhA7UeAk.cjs +2 -0
- package/dist/sl-6Mczv4jG.cjs +2 -0
- package/dist/sl-CcfjJFxo.js +210 -0
- package/dist/sr-CxObZdu0.cjs +2 -0
- package/dist/sr-S53unrLA.js +210 -0
- package/dist/src-DFxq-N5I.cjs +2 -0
- package/dist/src-Dm6r9c7l.js +2148 -0
- package/dist/stateDiagram-RAJIS63D-C-tfqeC-.js +219 -0
- package/dist/stateDiagram-RAJIS63D-C1Aj8vJQ.cjs +2 -0
- package/dist/stateDiagram-v2-FVOUBMTO-C-w53gXL.js +29 -0
- package/dist/stateDiagram-v2-FVOUBMTO-VoIE_KVn.cjs +2 -0
- package/dist/sv-BfiunVuX.cjs +2 -0
- package/dist/sv-BiJrVfZr.js +210 -0
- package/dist/th-BqLGltZi.cjs +2 -0
- package/dist/th-vQ7LQ7nD.js +210 -0
- package/dist/timeline-definition-YZTLITO2-CE1y2S_r.js +832 -0
- package/dist/timeline-definition-YZTLITO2-D8aFfnYE.cjs +62 -0
- package/dist/tr-Brwl4o_Z.cjs +2 -0
- package/dist/tr-C5RrNGLz.js +210 -0
- package/dist/treemap-KZPCXAKY-D2v0uStP.cjs +1 -0
- package/dist/treemap-KZPCXAKY-DLE_f1Bk.js +3 -0
- package/dist/types/THorizontalSpacing.d.ts +0 -1
- package/dist/types/THorizontalSpacingBreakPoints.d.ts +0 -1
- package/dist/types/TPaddingBreakPoints.d.ts +0 -1
- package/dist/types/TPading.d.ts +0 -1
- package/dist/types/TVerticalSpacing.d.ts +0 -1
- package/dist/types/TVerticalSpacingBreakPoints.d.ts +0 -1
- package/dist/uk-CV49TRvS.cjs +2 -0
- package/dist/uk-WGCFH0fY.js +210 -0
- package/dist/vennDiagram-LZ73GAT5-BSpVMORX.js +1860 -0
- package/dist/vennDiagram-LZ73GAT5-DvnB0e7u.cjs +35 -0
- package/dist/vi-JzM7bjn_.cjs +2 -0
- package/dist/vi-Waa7HkXq.js +210 -0
- package/dist/xychartDiagram-JWTSCODW-0qbVGrDs.cjs +8 -0
- package/dist/xychartDiagram-JWTSCODW-DpIry-th.js +2043 -0
- package/dist/zh-BmUS7Wn_.js +210 -0
- package/dist/zh-DEm0SGzZ.cjs +2 -0
- package/package.json +7 -7
- package/dist/LocalizationProvider-BLjmybBa.cjs +0 -2
- package/dist/LocalizationProvider-BSlUf0tp.js +0 -497
- package/dist/_arrayEach-Cje_jmPk.cjs +0 -2
- package/dist/_arrayEach-FofefpDi.js +0 -61
- package/dist/ar-C1pLt8fa.js +0 -219
- package/dist/ar-Jzw7PLrc.cjs +0 -2
- package/dist/arc-5Gjtja_I.js +0 -132
- package/dist/arc-DJHyDr2O.cjs +0 -2
- package/dist/architecture-7HQA4BMR-B3tJE43W.js +0 -6
- package/dist/architecture-7HQA4BMR-gT33-zCB.cjs +0 -2
- package/dist/architectureDiagram-VXUJARFQ-2JSYYGtM.js +0 -8680
- package/dist/architectureDiagram-VXUJARFQ-DXZHHpiT.cjs +0 -2
- package/dist/az-C0Ow5Hxa.cjs +0 -2
- package/dist/az-C3-F9ybX.js +0 -219
- package/dist/bg-YB0TmpRF.cjs +0 -2
- package/dist/bg-w2e_udiK.js +0 -219
- package/dist/blockDiagram-VD42YOAC-B6nGrskI.js +0 -3756
- package/dist/blockDiagram-VD42YOAC-quPSWMXj.cjs +0 -2
- package/dist/bs-BoW04lRb.cjs +0 -2
- package/dist/bs-CEe_gjEx.js +0 -219
- package/dist/c4Diagram-YG6GDRKO-CvSU_nSb.js +0 -2483
- package/dist/c4Diagram-YG6GDRKO-yrm6z9xI.cjs +0 -2
- package/dist/ca-Bsy2Y5pS.cjs +0 -2
- package/dist/ca-CKpd72XI.js +0 -219
- package/dist/channel-BGx_PGej.cjs +0 -2
- package/dist/channel-Dx_x_I-e.js +0 -8
- package/dist/chunk-4BX2VUAB-DE7Tf1KJ.js +0 -18
- package/dist/chunk-4BX2VUAB-hg2h7y7T.cjs +0 -2
- package/dist/chunk-55IACEB6-5VDRE5b9.js +0 -14
- package/dist/chunk-55IACEB6-DQzh2BFT.cjs +0 -2
- package/dist/chunk-B4BG7PRW-BONACuKe.cjs +0 -2
- package/dist/chunk-B4BG7PRW-ClXZOBBj.js +0 -1828
- package/dist/chunk-DI55MBZ5-CnX_pntz.cjs +0 -2
- package/dist/chunk-DI55MBZ5-Cw4AXuM5.js +0 -1928
- package/dist/chunk-FMBD7UC4-vGLXIanH.cjs +0 -2
- package/dist/chunk-QN33PNHL-Bi6cNSdZ.cjs +0 -2
- package/dist/chunk-QN33PNHL-NyikcZce.js +0 -26
- package/dist/chunk-QZHKN3VN-Cj-nkoY3.cjs +0 -2
- package/dist/chunk-QZHKN3VN-DRpbGzBX.js +0 -18
- package/dist/chunk-TZMSLE5B-Dbk2wKaP.cjs +0 -2
- package/dist/chunk-TZMSLE5B-DiEITu_i.js +0 -109
- package/dist/classDiagram-2ON5EDUG-CZ8qM-r0.js +0 -20
- package/dist/classDiagram-2ON5EDUG-GEqVHOl4.cjs +0 -2
- package/dist/classDiagram-v2-WZHVMYZB-CZ8qM-r0.js +0 -20
- package/dist/classDiagram-v2-WZHVMYZB-GEqVHOl4.cjs +0 -2
- package/dist/cose-bilkent-S5V4N54A-Bk5UrOC6.cjs +0 -2
- package/dist/cose-bilkent-S5V4N54A-D9POuI1b.js +0 -4934
- package/dist/cs-D-801PIR.cjs +0 -2
- package/dist/cs-DQvRPciB.js +0 -219
- package/dist/cy-BxyJCM05.js +0 -219
- package/dist/cy-aUPUcn-S.cjs +0 -2
- package/dist/cytoscape.esm-BS1owLay.js +0 -30250
- package/dist/cytoscape.esm-BxB3woZB.cjs +0 -10
- package/dist/da-B05ad5Iq.js +0 -219
- package/dist/da-CTiLOqut.cjs +0 -2
- package/dist/dagre-6UL2VRFP-BGgMwKrx.cjs +0 -2
- package/dist/dagre-6UL2VRFP-D1VXYHDk.js +0 -696
- package/dist/de-DJ5iwpd7.js +0 -219
- package/dist/de-Dm204UMA.cjs +0 -2
- package/dist/defaultLocale-7NeEK7SF.cjs +0 -2
- package/dist/defaultLocale-DVr69WTU.js +0 -207
- package/dist/diagram-PSM6KHXK-BnJ6u90U.cjs +0 -2
- package/dist/diagram-PSM6KHXK-MkySzwCw.js +0 -848
- package/dist/diagram-QEK2KX5R-7oJbO__T.js +0 -305
- package/dist/diagram-QEK2KX5R-CQjADuvs.cjs +0 -2
- package/dist/diagram-S2PKOQOG-AFF7RL6D.cjs +0 -2
- package/dist/diagram-S2PKOQOG-t6d3dY_R.js +0 -212
- package/dist/el-CBS9mHS3.js +0 -219
- package/dist/el-DbtZj-ph.cjs +0 -2
- package/dist/erDiagram-Q2GNP2WA-BY5cfs21.js +0 -1160
- package/dist/erDiagram-Q2GNP2WA-CsdjPSsg.cjs +0 -2
- package/dist/es-Bo08apQr.js +0 -219
- package/dist/es-Cc-4Vqf7.cjs +0 -2
- package/dist/et-D5pQ66eY.cjs +0 -2
- package/dist/et-pRL0Tmle.js +0 -219
- package/dist/eu-Br68gaf7.js +0 -219
- package/dist/eu-RZ-27koK.cjs +0 -2
- package/dist/fi-BCXB-k_X.js +0 -219
- package/dist/fi-Dqa9mgnW.cjs +0 -2
- package/dist/flowDiagram-NV44I4VS-BcaW6-_t.cjs +0 -2
- package/dist/flowDiagram-NV44I4VS-DoSHOTLX.js +0 -2339
- package/dist/fr-B7fhkle4.cjs +0 -2
- package/dist/fr-gKE1SSIF.js +0 -219
- package/dist/ga-4Hf7vKvr.cjs +0 -2
- package/dist/ga-C1SpITZy.js +0 -219
- package/dist/ganttDiagram-JELNMOA3-C8aHKsjy.js +0 -3652
- package/dist/ganttDiagram-JELNMOA3-YuzFUWYN.cjs +0 -2
- package/dist/gitGraph-G5XIXVHT-DN5M1zzB.cjs +0 -2
- package/dist/gitGraph-G5XIXVHT-kJP_icZ5.js +0 -6
- package/dist/gitGraphDiagram-V2S2FVAM-Bl2LJ6uK.js +0 -1215
- package/dist/gitGraphDiagram-V2S2FVAM-DI5S_ure.cjs +0 -2
- package/dist/gl-COSpsMSK.cjs +0 -2
- package/dist/gl-CSzCeu2L.js +0 -219
- package/dist/graph-C7xixGrW.cjs +0 -2
- package/dist/graph-DH3cnEko.js +0 -421
- package/dist/he-BrkfqoIm.js +0 -219
- package/dist/he-C7Wi6-EL.cjs +0 -2
- package/dist/hi-C1RGDPzn.js +0 -219
- package/dist/hi-ojklJj-a.cjs +0 -2
- package/dist/hr-CsO_h2VT.js +0 -219
- package/dist/hr-DkEwOCGU.cjs +0 -2
- package/dist/hu-CVtbM-V2.js +0 -219
- package/dist/hu-D8uAAzvN.cjs +0 -2
- package/dist/id-18yPGK2f.cjs +0 -2
- package/dist/id-CARSN0W8.js +0 -219
- package/dist/index-BMfuEpa-.cjs +0 -428
- package/dist/index-BiWHWaTZ.js +0 -55588
- package/dist/info-VBDWY6EO-0yZ4VJNq.cjs +0 -2
- package/dist/info-VBDWY6EO-CcLNynBA.js +0 -6
- package/dist/infoDiagram-HS3SLOUP-Bp0yOoLT.js +0 -32
- package/dist/infoDiagram-HS3SLOUP-C0Zno052.cjs +0 -2
- package/dist/init-DZ96s0AS.cjs +0 -2
- package/dist/init-ZxktEp_H.js +0 -17
- package/dist/it-BVq911RW.cjs +0 -2
- package/dist/it-ClWGK7XT.js +0 -219
- package/dist/ja-BgcKuKZ4.cjs +0 -2
- package/dist/ja-DGL12HwE.js +0 -219
- package/dist/journeyDiagram-XKPGCS4Q-0OiMrl1O.cjs +0 -2
- package/dist/journeyDiagram-XKPGCS4Q-Ci2gigtu.js +0 -1255
- package/dist/kanban-definition-3W4ZIXB7-DTLYV2yk.js +0 -1049
- package/dist/kanban-definition-3W4ZIXB7-DbJAXyvr.cjs +0 -2
- package/dist/katex-DPu4QpBP.cjs +0 -2
- package/dist/katex-Dd1-wdX2.js +0 -14523
- package/dist/kk-CkKXbKso.js +0 -219
- package/dist/kk-Dn3FBkOR.cjs +0 -2
- package/dist/ko-CKAbV25b.cjs +0 -2
- package/dist/ko-QYvDV2aw.js +0 -219
- package/dist/layout-D6yO7DzL.cjs +0 -2
- package/dist/layout-bxkZz7Cm.js +0 -1919
- package/dist/linear-CmvLp6xX.js +0 -341
- package/dist/linear-d_werDwb.cjs +0 -2
- package/dist/lt-BKnFyiLV.js +0 -219
- package/dist/lt-BnGNEsIS.cjs +0 -2
- package/dist/lv-Clqo0Ogm.js +0 -219
- package/dist/lv-D3rJQRhc.cjs +0 -2
- package/dist/maplibre-gl-B3PlRf6V.js +0 -23511
- package/dist/maplibre-gl-Cc1i9T04.cjs +0 -6
- package/dist/mermaid-parser.core-CNPkkUbW.cjs +0 -2
- package/dist/mermaid-parser.core-CnjbJ8mb.js +0 -23791
- package/dist/mindmap-definition-VGOIOE7T-D4S37eSG.cjs +0 -2
- package/dist/mindmap-definition-VGOIOE7T-z7i6md6S.js +0 -1129
- package/dist/mk-EhcD0RzW.js +0 -219
- package/dist/mk-hVxJgrE0.cjs +0 -2
- package/dist/ms-CJACwjo7.js +0 -219
- package/dist/ms-D0txYckK.cjs +0 -2
- package/dist/nb-BfKRl99z.cjs +0 -2
- package/dist/nb-NCgnP0Pu.js +0 -219
- package/dist/nl-EgsNCunP.js +0 -219
- package/dist/nl-ZXiLkBj_.cjs +0 -2
- package/dist/ordinal-BZdahNih.cjs +0 -2
- package/dist/ordinal-DSZU4PqD.js +0 -77
- package/dist/packet-DYOGHKS2-8TxNXRiu.js +0 -6
- package/dist/packet-DYOGHKS2-T2_NOyn2.cjs +0 -2
- package/dist/pie-VRWISCQL-CVgwt5hn.cjs +0 -2
- package/dist/pie-VRWISCQL-Cw5ps4Uc.js +0 -6
- package/dist/pieDiagram-ADFJNKIX-9tCdDAIz.cjs +0 -2
- package/dist/pieDiagram-ADFJNKIX-BLMaZqln.js +0 -238
- package/dist/pl-H28GVtiG.js +0 -219
- package/dist/pl-tVjdYTB9.cjs +0 -2
- package/dist/pt-1k62N9F3.cjs +0 -2
- package/dist/pt-BSPZhWKl.js +0 -211
- package/dist/quadrantDiagram-AYHSOK5B-B_5PU35F.cjs +0 -2
- package/dist/quadrantDiagram-AYHSOK5B-Njb3KunW.js +0 -1338
- package/dist/radar-ZZBFDIW7-B5WKe_gp.js +0 -6
- package/dist/radar-ZZBFDIW7-DGwkdfQQ.cjs +0 -2
- package/dist/requirementDiagram-UZGBJVZJ-BOgHmi8B.cjs +0 -2
- package/dist/requirementDiagram-UZGBJVZJ-wkSzPa52.js +0 -1164
- package/dist/ro-9Qt1qDDA.cjs +0 -2
- package/dist/ro-BpaZLre_.js +0 -219
- package/dist/ru-4WxRouIU.cjs +0 -2
- package/dist/ru-CUZzD-Tx.js +0 -219
- package/dist/sankeyDiagram-TZEHDZUN-p1th2H-P.js +0 -1194
- package/dist/sankeyDiagram-TZEHDZUN-wNi-DuI_.cjs +0 -2
- package/dist/sequenceDiagram-WL72ISMW-CZsA3nl_.js +0 -3882
- package/dist/sequenceDiagram-WL72ISMW-DHsfFVVL.cjs +0 -2
- package/dist/sk-CoQ6XiCY.js +0 -219
- package/dist/sk-uWukDQab.cjs +0 -2
- package/dist/sl-B6DVbKg6.cjs +0 -2
- package/dist/sl-CHW-ZGol.js +0 -219
- package/dist/sr-BOD8Tc-D.cjs +0 -2
- package/dist/sr-EQGjIBJE.js +0 -219
- package/dist/stateDiagram-FKZM4ZOC-CZDqf83I.js +0 -449
- package/dist/stateDiagram-FKZM4ZOC-uCSdqeo_.cjs +0 -2
- package/dist/stateDiagram-v2-4FDKWEC3-Ard7BOGd.js +0 -20
- package/dist/stateDiagram-v2-4FDKWEC3-LQ3nCDHa.cjs +0 -2
- package/dist/sv-B6nLuQr7.cjs +0 -2
- package/dist/sv-DTxWN6ED.js +0 -219
- package/dist/th-BVPzHvBf.js +0 -219
- package/dist/th-DmULV6uT.cjs +0 -2
- package/dist/timeline-definition-IT6M3QCI-5Kl_f6ac.cjs +0 -2
- package/dist/timeline-definition-IT6M3QCI-DOIExRzF.js +0 -1227
- package/dist/tr-BE5geTUC.cjs +0 -2
- package/dist/tr-BHR1QA-D.js +0 -219
- package/dist/treemap-GDKQZRPO-BsGYh-La.cjs +0 -2
- package/dist/treemap-GDKQZRPO-DQPba0Eh.js +0 -6
- package/dist/uk-Bc5TwelE.js +0 -219
- package/dist/uk-DS5ukB_-.cjs +0 -2
- package/dist/vi-D9FF4kkG.cjs +0 -2
- package/dist/vi-DC0eQZb7.js +0 -219
- package/dist/xychartDiagram-PRI3JC2R-DkaIeov2.cjs +0 -2
- package/dist/xychartDiagram-PRI3JC2R-DyqZd9yp.js +0 -1887
- package/dist/zh-CGcOiJ3s.cjs +0 -2
- package/dist/zh-GsCLn8OE.js +0 -219
|
@@ -1,1164 +0,0 @@
|
|
|
1
|
-
var _a;
|
|
2
|
-
import { g as getDiagramElement } from "./chunk-55IACEB6-5VDRE5b9.js";
|
|
3
|
-
import { s as setupViewPortForSVG } from "./chunk-QN33PNHL-NyikcZce.js";
|
|
4
|
-
import { _ as __name, b as setAccTitle, a as getAccTitle, s as setAccDescription, g as getAccDescription, q as setDiagramTitle, t as getDiagramTitle, c as getConfig2, l as log, z as clear, D as __export, p as getRegisteredLayoutAlgorithm, r as render, u as utils_default } from "./index-BiWHWaTZ.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-wkSzPa52.js.map
|