@spteck/react-controls-v2 2.3.5 → 2.3.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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-B7ANnE_H.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 +22827 -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-DEUflJGE.cjs +0 -2
- package/dist/_arrayEach-tusrzNIw.js +0 -61
- package/dist/ar-C1pLt8fa.js +0 -219
- package/dist/ar-Jzw7PLrc.cjs +0 -2
- package/dist/arc-CDaXffrF.cjs +0 -2
- package/dist/arc-DfZkgffF.js +0 -132
- package/dist/architecture-7HQA4BMR-BwNHkZOR.cjs +0 -2
- package/dist/architecture-7HQA4BMR-ZD14yPTj.js +0 -6
- package/dist/architectureDiagram-VXUJARFQ-C2ZHmMwH.cjs +0 -2
- package/dist/architectureDiagram-VXUJARFQ-ZqTwLC_K.js +0 -8680
- 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-De0hLG3f.cjs +0 -2
- package/dist/blockDiagram-VD42YOAC-Dik4nU5R.js +0 -3756
- package/dist/bs-BoW04lRb.cjs +0 -2
- package/dist/bs-CEe_gjEx.js +0 -219
- package/dist/c4Diagram-YG6GDRKO-B97gU-WH.cjs +0 -2
- package/dist/c4Diagram-YG6GDRKO-BG0ZffB9.js +0 -2483
- package/dist/ca-Bsy2Y5pS.cjs +0 -2
- package/dist/ca-CKpd72XI.js +0 -219
- package/dist/channel-D35vM90y.cjs +0 -2
- package/dist/channel-DjCO9_Le.js +0 -8
- package/dist/chunk-4BX2VUAB-BOD7DqfU.cjs +0 -2
- package/dist/chunk-4BX2VUAB-ahGWfN9s.js +0 -18
- package/dist/chunk-55IACEB6-BE4LiqRj.js +0 -14
- package/dist/chunk-55IACEB6-aYtTY_gp.cjs +0 -2
- package/dist/chunk-B4BG7PRW-D7Ivw3g-.cjs +0 -2
- package/dist/chunk-B4BG7PRW-l_C90AO9.js +0 -1828
- package/dist/chunk-DI55MBZ5-CML-bpvH.cjs +0 -2
- package/dist/chunk-DI55MBZ5-CkzP_mAJ.js +0 -1928
- package/dist/chunk-FMBD7UC4-up_42EsF.cjs +0 -2
- package/dist/chunk-QN33PNHL-BQktMy72.js +0 -26
- package/dist/chunk-QN33PNHL-D3tw3Y1o.cjs +0 -2
- package/dist/chunk-QZHKN3VN-OgubCPUl.cjs +0 -2
- package/dist/chunk-QZHKN3VN-VbliCc4p.js +0 -18
- package/dist/chunk-TZMSLE5B-B2adgZpn.cjs +0 -2
- package/dist/chunk-TZMSLE5B-ogHnlNAL.js +0 -109
- package/dist/classDiagram-2ON5EDUG-DV3kGCmC.cjs +0 -2
- package/dist/classDiagram-2ON5EDUG-NFuoveOc.js +0 -20
- package/dist/classDiagram-v2-WZHVMYZB-DV3kGCmC.cjs +0 -2
- package/dist/classDiagram-v2-WZHVMYZB-NFuoveOc.js +0 -20
- package/dist/cose-bilkent-S5V4N54A-C1H2cJER.cjs +0 -2
- package/dist/cose-bilkent-S5V4N54A-CFFp3u42.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-BbRK6OVd.js +0 -696
- package/dist/dagre-6UL2VRFP-DceBzHY0.cjs +0 -2
- 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-CCRrPaN5.js +0 -848
- package/dist/diagram-PSM6KHXK-Dap3wmh3.cjs +0 -2
- package/dist/diagram-QEK2KX5R-CwkM4da6.js +0 -305
- package/dist/diagram-QEK2KX5R-CycnDjjr.cjs +0 -2
- package/dist/diagram-S2PKOQOG-BjWuQflk.js +0 -212
- package/dist/diagram-S2PKOQOG-C8bvmCRh.cjs +0 -2
- package/dist/el-CBS9mHS3.js +0 -219
- package/dist/el-DbtZj-ph.cjs +0 -2
- package/dist/erDiagram-Q2GNP2WA-CVwE6kCH.cjs +0 -2
- package/dist/erDiagram-Q2GNP2WA-DK_cVUc0.js +0 -1160
- 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-BC9ZXfqx.js +0 -2339
- package/dist/flowDiagram-NV44I4VS-BmvwN_Qr.cjs +0 -2
- 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-Cxvs4xUM.cjs +0 -2
- package/dist/ganttDiagram-JELNMOA3-DCPYcGQ7.js +0 -3652
- package/dist/gitGraph-G5XIXVHT-CGc4Dw_9.cjs +0 -2
- package/dist/gitGraph-G5XIXVHT-D2TpybaV.js +0 -6
- package/dist/gitGraphDiagram-V2S2FVAM-BLwOtAPI.js +0 -1215
- package/dist/gitGraphDiagram-V2S2FVAM-CxKeCiX6.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-Bo3Feswn.js +0 -55587
- package/dist/index-C6Yk2BjU.cjs +0 -428
- package/dist/info-VBDWY6EO-Bp4BP7Eb.js +0 -6
- package/dist/info-VBDWY6EO-dcVOFyXm.cjs +0 -2
- package/dist/infoDiagram-HS3SLOUP-BH_AfMqs.js +0 -32
- package/dist/infoDiagram-HS3SLOUP-BZqbkXM8.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-B6LA5FxS.js +0 -1255
- package/dist/journeyDiagram-XKPGCS4Q-D738Gof9.cjs +0 -2
- package/dist/kanban-definition-3W4ZIXB7-BiudWCGQ.js +0 -1049
- package/dist/kanban-definition-3W4ZIXB7-CYpFGeof.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-CsAdQFhD.js +0 -341
- package/dist/linear-Cu3RCqOH.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-Bu4KbMVz.js +0 -23511
- package/dist/maplibre-gl-oIss86aW.cjs +0 -6
- package/dist/mermaid-parser.core-BeAFxlhX.cjs +0 -2
- package/dist/mermaid-parser.core-EaBMrmE0.js +0 -23731
- package/dist/mindmap-definition-VGOIOE7T-BdPsEBSQ.cjs +0 -2
- package/dist/mindmap-definition-VGOIOE7T-CV_iinaV.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-CxyBgIUF.js +0 -6
- package/dist/packet-DYOGHKS2-lB1ZNdq9.cjs +0 -2
- package/dist/pie-VRWISCQL-CvTcddz_.cjs +0 -2
- package/dist/pie-VRWISCQL-yxV8OJyl.js +0 -6
- package/dist/pieDiagram-ADFJNKIX-B0W0v6lo.cjs +0 -2
- package/dist/pieDiagram-ADFJNKIX-CkAS8Z8i.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-Bzqn0a-l.js +0 -1338
- package/dist/quadrantDiagram-AYHSOK5B-SWF7EmO_.cjs +0 -2
- package/dist/radar-ZZBFDIW7-Cx_1gtna.js +0 -6
- package/dist/radar-ZZBFDIW7-Dt6yDSJ-.cjs +0 -2
- package/dist/requirementDiagram-UZGBJVZJ-CG-2-gxk.cjs +0 -2
- package/dist/requirementDiagram-UZGBJVZJ-DYGD-StR.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-DhUxbYSw.js +0 -1194
- package/dist/sankeyDiagram-TZEHDZUN-sLCJH1s2.cjs +0 -2
- package/dist/sequenceDiagram-WL72ISMW--4TVFyeB.js +0 -3882
- package/dist/sequenceDiagram-WL72ISMW-CFPZgLxH.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-CF_Lwk8j.js +0 -449
- package/dist/stateDiagram-FKZM4ZOC-D8CSpH_U.cjs +0 -2
- package/dist/stateDiagram-v2-4FDKWEC3-BDRDUNPf.cjs +0 -2
- package/dist/stateDiagram-v2-4FDKWEC3-BavZNkxV.js +0 -20
- 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-DVBW6O_2.cjs +0 -2
- package/dist/timeline-definition-IT6M3QCI-Du5tfms8.js +0 -1227
- package/dist/tr-BE5geTUC.cjs +0 -2
- package/dist/tr-BHR1QA-D.js +0 -219
- package/dist/treemap-GDKQZRPO-7BeIVnJ2.cjs +0 -2
- package/dist/treemap-GDKQZRPO-Dc6Nwpnf.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-BMoq4LTz.js +0 -1887
- package/dist/xychartDiagram-PRI3JC2R-BbGEetiQ.cjs +0 -2
- package/dist/zh-CGcOiJ3s.cjs +0 -2
- package/dist/zh-GsCLn8OE.js +0 -219
|
@@ -0,0 +1 @@
|
|
|
1
|
+
require(`./chunk-D-IZpNpi.cjs`),require(`./chunk-XZSTWKYB-DJv9rEVU.cjs`);const e=require(`./chunk-7E7YKBS2-Sw9_w4gt.cjs`);exports.createGitGraphServices=e.n;
|
|
@@ -0,0 +1,627 @@
|
|
|
1
|
+
import { g as e, h as t, p as n } from "./src-Dm6r9c7l.js";
|
|
2
|
+
import { B as r, C as i, V as a, W as o, _ as s, a as c, d as l, q as u, s as d, v as f, y as p } from "./chunk-7R4GIKGN-CaQJ0QBF.js";
|
|
3
|
+
import { h as ee, p as te, r as m } from "./chunk-GEFDOKGD-BNgT40Ex.js";
|
|
4
|
+
import { t as h } from "./chunk-4BX2VUAB-B5Va_oZz.js";
|
|
5
|
+
import { t as g } from "./mermaid-parser.core-BdTB9qx-.js";
|
|
6
|
+
import { t as ne } from "./chunk-QZHKN3VN-x258g6EH.js";
|
|
7
|
+
//#region node_modules/mermaid/dist/chunks/mermaid.core/gitGraphDiagram-K3NZZRJ6.mjs
|
|
8
|
+
var _ = {
|
|
9
|
+
NORMAL: 0,
|
|
10
|
+
REVERSE: 1,
|
|
11
|
+
HIGHLIGHT: 2,
|
|
12
|
+
MERGE: 3,
|
|
13
|
+
CHERRY_PICK: 4
|
|
14
|
+
}, re = l.gitGraph, v = /* @__PURE__ */ t(() => m({
|
|
15
|
+
...re,
|
|
16
|
+
...p().gitGraph
|
|
17
|
+
}), "getConfig"), y = new ne(() => {
|
|
18
|
+
let e = v(), t = e.mainBranchName, n = e.mainBranchOrder;
|
|
19
|
+
return {
|
|
20
|
+
mainBranchName: t,
|
|
21
|
+
commits: /* @__PURE__ */ new Map(),
|
|
22
|
+
head: null,
|
|
23
|
+
branchConfig: /* @__PURE__ */ new Map([[t, {
|
|
24
|
+
name: t,
|
|
25
|
+
order: n
|
|
26
|
+
}]]),
|
|
27
|
+
branches: /* @__PURE__ */ new Map([[t, null]]),
|
|
28
|
+
currBranch: t,
|
|
29
|
+
direction: "LR",
|
|
30
|
+
seq: 0,
|
|
31
|
+
options: {}
|
|
32
|
+
};
|
|
33
|
+
});
|
|
34
|
+
function b() {
|
|
35
|
+
return te({ length: 7 });
|
|
36
|
+
}
|
|
37
|
+
t(b, "getID");
|
|
38
|
+
function x(e, t) {
|
|
39
|
+
let n = /* @__PURE__ */ Object.create(null);
|
|
40
|
+
return e.reduce((e, r) => {
|
|
41
|
+
let i = t(r);
|
|
42
|
+
return n[i] || (n[i] = !0, e.push(r)), e;
|
|
43
|
+
}, []);
|
|
44
|
+
}
|
|
45
|
+
t(x, "uniqBy");
|
|
46
|
+
var S = /* @__PURE__ */ t(function(e) {
|
|
47
|
+
y.records.direction = e;
|
|
48
|
+
}, "setDirection"), C = /* @__PURE__ */ t(function(t) {
|
|
49
|
+
e.debug("options str", t), t = t?.trim(), t ||= "{}";
|
|
50
|
+
try {
|
|
51
|
+
y.records.options = JSON.parse(t);
|
|
52
|
+
} catch (t) {
|
|
53
|
+
e.error("error while parsing gitGraph options", t.message);
|
|
54
|
+
}
|
|
55
|
+
}, "setOptions"), ie = /* @__PURE__ */ t(function() {
|
|
56
|
+
return y.records.options;
|
|
57
|
+
}, "getOptions"), ae = /* @__PURE__ */ t(function(t) {
|
|
58
|
+
let n = t.msg, r = t.id, i = t.type, a = t.tags;
|
|
59
|
+
e.info("commit", n, r, i, a), e.debug("Entering commit:", n, r, i, a);
|
|
60
|
+
let o = v();
|
|
61
|
+
r = d.sanitizeText(r, o), n = d.sanitizeText(n, o), a = a?.map((e) => d.sanitizeText(e, o));
|
|
62
|
+
let s = {
|
|
63
|
+
id: r || y.records.seq + "-" + b(),
|
|
64
|
+
message: n,
|
|
65
|
+
seq: y.records.seq++,
|
|
66
|
+
type: i ?? _.NORMAL,
|
|
67
|
+
tags: a ?? [],
|
|
68
|
+
parents: y.records.head == null ? [] : [y.records.head.id],
|
|
69
|
+
branch: y.records.currBranch
|
|
70
|
+
};
|
|
71
|
+
y.records.head = s, e.info("main branch", o.mainBranchName), y.records.commits.has(s.id) && e.warn(`Commit ID ${s.id} already exists`), y.records.commits.set(s.id, s), y.records.branches.set(y.records.currBranch, s.id), e.debug("in pushCommit " + s.id);
|
|
72
|
+
}, "commit"), oe = /* @__PURE__ */ t(function(t) {
|
|
73
|
+
let n = t.name, r = t.order;
|
|
74
|
+
if (n = d.sanitizeText(n, v()), y.records.branches.has(n)) throw Error(`Trying to create an existing branch. (Help: Either use a new name if you want create a new branch or try using "checkout ${n}")`);
|
|
75
|
+
y.records.branches.set(n, y.records.head == null ? null : y.records.head.id), y.records.branchConfig.set(n, {
|
|
76
|
+
name: n,
|
|
77
|
+
order: r
|
|
78
|
+
}), w(n), e.debug("in createBranch");
|
|
79
|
+
}, "branch"), se = /* @__PURE__ */ t((t) => {
|
|
80
|
+
let n = t.branch, r = t.id, i = t.type, a = t.tags, o = v();
|
|
81
|
+
n = d.sanitizeText(n, o), r &&= d.sanitizeText(r, o);
|
|
82
|
+
let s = y.records.branches.get(y.records.currBranch), c = y.records.branches.get(n), l = s ? y.records.commits.get(s) : void 0, u = c ? y.records.commits.get(c) : void 0;
|
|
83
|
+
if (l && u && l.branch === n) throw Error(`Cannot merge branch '${n}' into itself.`);
|
|
84
|
+
if (y.records.currBranch === n) {
|
|
85
|
+
let e = /* @__PURE__ */ Error("Incorrect usage of \"merge\". Cannot merge a branch to itself");
|
|
86
|
+
throw e.hash = {
|
|
87
|
+
text: `merge ${n}`,
|
|
88
|
+
token: `merge ${n}`,
|
|
89
|
+
expected: ["branch abc"]
|
|
90
|
+
}, e;
|
|
91
|
+
}
|
|
92
|
+
if (l === void 0 || !l) {
|
|
93
|
+
let e = /* @__PURE__ */ Error(`Incorrect usage of "merge". Current branch (${y.records.currBranch})has no commits`);
|
|
94
|
+
throw e.hash = {
|
|
95
|
+
text: `merge ${n}`,
|
|
96
|
+
token: `merge ${n}`,
|
|
97
|
+
expected: ["commit"]
|
|
98
|
+
}, e;
|
|
99
|
+
}
|
|
100
|
+
if (!y.records.branches.has(n)) {
|
|
101
|
+
let e = /* @__PURE__ */ Error("Incorrect usage of \"merge\". Branch to be merged (" + n + ") does not exist");
|
|
102
|
+
throw e.hash = {
|
|
103
|
+
text: `merge ${n}`,
|
|
104
|
+
token: `merge ${n}`,
|
|
105
|
+
expected: [`branch ${n}`]
|
|
106
|
+
}, e;
|
|
107
|
+
}
|
|
108
|
+
if (u === void 0 || !u) {
|
|
109
|
+
let e = /* @__PURE__ */ Error("Incorrect usage of \"merge\". Branch to be merged (" + n + ") has no commits");
|
|
110
|
+
throw e.hash = {
|
|
111
|
+
text: `merge ${n}`,
|
|
112
|
+
token: `merge ${n}`,
|
|
113
|
+
expected: ["\"commit\""]
|
|
114
|
+
}, e;
|
|
115
|
+
}
|
|
116
|
+
if (l === u) {
|
|
117
|
+
let e = /* @__PURE__ */ Error("Incorrect usage of \"merge\". Both branches have same head");
|
|
118
|
+
throw e.hash = {
|
|
119
|
+
text: `merge ${n}`,
|
|
120
|
+
token: `merge ${n}`,
|
|
121
|
+
expected: ["branch abc"]
|
|
122
|
+
}, e;
|
|
123
|
+
}
|
|
124
|
+
if (r && y.records.commits.has(r)) {
|
|
125
|
+
let e = /* @__PURE__ */ Error("Incorrect usage of \"merge\". Commit with id:" + r + " already exists, use different custom id");
|
|
126
|
+
throw e.hash = {
|
|
127
|
+
text: `merge ${n} ${r} ${i} ${a?.join(" ")}`,
|
|
128
|
+
token: `merge ${n} ${r} ${i} ${a?.join(" ")}`,
|
|
129
|
+
expected: [`merge ${n} ${r}_UNIQUE ${i} ${a?.join(" ")}`]
|
|
130
|
+
}, e;
|
|
131
|
+
}
|
|
132
|
+
let f = c || "", p = {
|
|
133
|
+
id: r || `${y.records.seq}-${b()}`,
|
|
134
|
+
message: `merged branch ${n} into ${y.records.currBranch}`,
|
|
135
|
+
seq: y.records.seq++,
|
|
136
|
+
parents: y.records.head == null ? [] : [y.records.head.id, f],
|
|
137
|
+
branch: y.records.currBranch,
|
|
138
|
+
type: _.MERGE,
|
|
139
|
+
customType: i,
|
|
140
|
+
customId: !!r,
|
|
141
|
+
tags: a ?? []
|
|
142
|
+
};
|
|
143
|
+
y.records.head = p, y.records.commits.set(p.id, p), y.records.branches.set(y.records.currBranch, p.id), e.debug(y.records.branches), e.debug("in mergeBranch");
|
|
144
|
+
}, "merge"), ce = /* @__PURE__ */ t(function(t) {
|
|
145
|
+
let n = t.id, r = t.targetId, i = t.tags, a = t.parent;
|
|
146
|
+
e.debug("Entering cherryPick:", n, r, i);
|
|
147
|
+
let o = v();
|
|
148
|
+
if (n = d.sanitizeText(n, o), r = d.sanitizeText(r, o), i = i?.map((e) => d.sanitizeText(e, o)), a = d.sanitizeText(a, o), !n || !y.records.commits.has(n)) {
|
|
149
|
+
let e = /* @__PURE__ */ Error("Incorrect usage of \"cherryPick\". Source commit id should exist and provided");
|
|
150
|
+
throw e.hash = {
|
|
151
|
+
text: `cherryPick ${n} ${r}`,
|
|
152
|
+
token: `cherryPick ${n} ${r}`,
|
|
153
|
+
expected: ["cherry-pick abc"]
|
|
154
|
+
}, e;
|
|
155
|
+
}
|
|
156
|
+
let s = y.records.commits.get(n);
|
|
157
|
+
if (s === void 0 || !s) throw Error("Incorrect usage of \"cherryPick\". Source commit id should exist and provided");
|
|
158
|
+
if (a && !(Array.isArray(s.parents) && s.parents.includes(a))) throw /* @__PURE__ */ Error("Invalid operation: The specified parent commit is not an immediate parent of the cherry-picked commit.");
|
|
159
|
+
let c = s.branch;
|
|
160
|
+
if (s.type === _.MERGE && !a) throw /* @__PURE__ */ Error("Incorrect usage of cherry-pick: If the source commit is a merge commit, an immediate parent commit must be specified.");
|
|
161
|
+
if (!r || !y.records.commits.has(r)) {
|
|
162
|
+
if (c === y.records.currBranch) {
|
|
163
|
+
let e = /* @__PURE__ */ Error("Incorrect usage of \"cherryPick\". Source commit is already on current branch");
|
|
164
|
+
throw e.hash = {
|
|
165
|
+
text: `cherryPick ${n} ${r}`,
|
|
166
|
+
token: `cherryPick ${n} ${r}`,
|
|
167
|
+
expected: ["cherry-pick abc"]
|
|
168
|
+
}, e;
|
|
169
|
+
}
|
|
170
|
+
let t = y.records.branches.get(y.records.currBranch);
|
|
171
|
+
if (t === void 0 || !t) {
|
|
172
|
+
let e = /* @__PURE__ */ Error(`Incorrect usage of "cherry-pick". Current branch (${y.records.currBranch})has no commits`);
|
|
173
|
+
throw e.hash = {
|
|
174
|
+
text: `cherryPick ${n} ${r}`,
|
|
175
|
+
token: `cherryPick ${n} ${r}`,
|
|
176
|
+
expected: ["cherry-pick abc"]
|
|
177
|
+
}, e;
|
|
178
|
+
}
|
|
179
|
+
let o = y.records.commits.get(t);
|
|
180
|
+
if (o === void 0 || !o) {
|
|
181
|
+
let e = /* @__PURE__ */ Error(`Incorrect usage of "cherry-pick". Current branch (${y.records.currBranch})has no commits`);
|
|
182
|
+
throw e.hash = {
|
|
183
|
+
text: `cherryPick ${n} ${r}`,
|
|
184
|
+
token: `cherryPick ${n} ${r}`,
|
|
185
|
+
expected: ["cherry-pick abc"]
|
|
186
|
+
}, e;
|
|
187
|
+
}
|
|
188
|
+
let l = {
|
|
189
|
+
id: y.records.seq + "-" + b(),
|
|
190
|
+
message: `cherry-picked ${s?.message} into ${y.records.currBranch}`,
|
|
191
|
+
seq: y.records.seq++,
|
|
192
|
+
parents: y.records.head == null ? [] : [y.records.head.id, s.id],
|
|
193
|
+
branch: y.records.currBranch,
|
|
194
|
+
type: _.CHERRY_PICK,
|
|
195
|
+
tags: i ? i.filter(Boolean) : [`cherry-pick:${s.id}${s.type === _.MERGE ? `|parent:${a}` : ""}`]
|
|
196
|
+
};
|
|
197
|
+
y.records.head = l, y.records.commits.set(l.id, l), y.records.branches.set(y.records.currBranch, l.id), e.debug(y.records.branches), e.debug("in cherryPick");
|
|
198
|
+
}
|
|
199
|
+
}, "cherryPick"), w = /* @__PURE__ */ t(function(e) {
|
|
200
|
+
if (e = d.sanitizeText(e, v()), y.records.branches.has(e)) {
|
|
201
|
+
y.records.currBranch = e;
|
|
202
|
+
let t = y.records.branches.get(y.records.currBranch);
|
|
203
|
+
t === void 0 || !t ? y.records.head = null : y.records.head = y.records.commits.get(t) ?? null;
|
|
204
|
+
} else {
|
|
205
|
+
let t = /* @__PURE__ */ Error(`Trying to checkout branch which is not yet created. (Help try using "branch ${e}")`);
|
|
206
|
+
throw t.hash = {
|
|
207
|
+
text: `checkout ${e}`,
|
|
208
|
+
token: `checkout ${e}`,
|
|
209
|
+
expected: [`branch ${e}`]
|
|
210
|
+
}, t;
|
|
211
|
+
}
|
|
212
|
+
}, "checkout");
|
|
213
|
+
function T(e, t, n) {
|
|
214
|
+
let r = e.indexOf(t);
|
|
215
|
+
r === -1 ? e.push(n) : e.splice(r, 1, n);
|
|
216
|
+
}
|
|
217
|
+
t(T, "upsert");
|
|
218
|
+
function E(t) {
|
|
219
|
+
let n = t.reduce((e, t) => e.seq > t.seq ? e : t, t[0]), r = "";
|
|
220
|
+
t.forEach(function(e) {
|
|
221
|
+
e === n ? r += " *" : r += " |";
|
|
222
|
+
});
|
|
223
|
+
let i = [
|
|
224
|
+
r,
|
|
225
|
+
n.id,
|
|
226
|
+
n.seq
|
|
227
|
+
];
|
|
228
|
+
for (let e in y.records.branches) y.records.branches.get(e) === n.id && i.push(e);
|
|
229
|
+
if (e.debug(i.join(" ")), n.parents && n.parents.length == 2 && n.parents[0] && n.parents[1]) {
|
|
230
|
+
let e = y.records.commits.get(n.parents[0]);
|
|
231
|
+
T(t, n, e), n.parents[1] && t.push(y.records.commits.get(n.parents[1]));
|
|
232
|
+
} else if (n.parents.length == 0) return;
|
|
233
|
+
else if (n.parents[0]) {
|
|
234
|
+
let e = y.records.commits.get(n.parents[0]);
|
|
235
|
+
T(t, n, e);
|
|
236
|
+
}
|
|
237
|
+
t = x(t, (e) => e.id), E(t);
|
|
238
|
+
}
|
|
239
|
+
t(E, "prettyPrintCommitHistory");
|
|
240
|
+
var le = /* @__PURE__ */ t(function() {
|
|
241
|
+
e.debug(y.records.commits);
|
|
242
|
+
let t = D()[0];
|
|
243
|
+
E([t]);
|
|
244
|
+
}, "prettyPrint"), ue = /* @__PURE__ */ t(function() {
|
|
245
|
+
y.reset(), c();
|
|
246
|
+
}, "clear"), de = /* @__PURE__ */ t(function() {
|
|
247
|
+
return [...y.records.branchConfig.values()].map((e, t) => e.order !== null && e.order !== void 0 ? e : {
|
|
248
|
+
...e,
|
|
249
|
+
order: parseFloat(`0.${t}`)
|
|
250
|
+
}).sort((e, t) => (e.order ?? 0) - (t.order ?? 0)).map(({ name: e }) => ({ name: e }));
|
|
251
|
+
}, "getBranchesAsObjArray"), fe = /* @__PURE__ */ t(function() {
|
|
252
|
+
return y.records.branches;
|
|
253
|
+
}, "getBranches"), pe = /* @__PURE__ */ t(function() {
|
|
254
|
+
return y.records.commits;
|
|
255
|
+
}, "getCommits"), D = /* @__PURE__ */ t(function() {
|
|
256
|
+
let t = [...y.records.commits.values()];
|
|
257
|
+
return t.forEach(function(t) {
|
|
258
|
+
e.debug(t.id);
|
|
259
|
+
}), t.sort((e, t) => e.seq - t.seq), t;
|
|
260
|
+
}, "getCommitsArray"), O = {
|
|
261
|
+
commitType: _,
|
|
262
|
+
getConfig: v,
|
|
263
|
+
setDirection: S,
|
|
264
|
+
setOptions: C,
|
|
265
|
+
getOptions: ie,
|
|
266
|
+
commit: ae,
|
|
267
|
+
branch: oe,
|
|
268
|
+
merge: se,
|
|
269
|
+
cherryPick: ce,
|
|
270
|
+
checkout: w,
|
|
271
|
+
prettyPrint: le,
|
|
272
|
+
clear: ue,
|
|
273
|
+
getBranchesAsObjArray: de,
|
|
274
|
+
getBranches: fe,
|
|
275
|
+
getCommits: pe,
|
|
276
|
+
getCommitsArray: D,
|
|
277
|
+
getCurrentBranch: /* @__PURE__ */ t(function() {
|
|
278
|
+
return y.records.currBranch;
|
|
279
|
+
}, "getCurrentBranch"),
|
|
280
|
+
getDirection: /* @__PURE__ */ t(function() {
|
|
281
|
+
return y.records.direction;
|
|
282
|
+
}, "getDirection"),
|
|
283
|
+
getHead: /* @__PURE__ */ t(function() {
|
|
284
|
+
return y.records.head;
|
|
285
|
+
}, "getHead"),
|
|
286
|
+
setAccTitle: a,
|
|
287
|
+
getAccTitle: f,
|
|
288
|
+
getAccDescription: s,
|
|
289
|
+
setAccDescription: r,
|
|
290
|
+
setDiagramTitle: o,
|
|
291
|
+
getDiagramTitle: i
|
|
292
|
+
}, k = /* @__PURE__ */ t((e, t) => {
|
|
293
|
+
h(e, t), e.dir && t.setDirection(e.dir);
|
|
294
|
+
for (let n of e.statements) A(n, t);
|
|
295
|
+
}, "populate"), A = /* @__PURE__ */ t((n, r) => {
|
|
296
|
+
let i = {
|
|
297
|
+
Commit: /* @__PURE__ */ t((e) => r.commit(j(e)), "Commit"),
|
|
298
|
+
Branch: /* @__PURE__ */ t((e) => r.branch(M(e)), "Branch"),
|
|
299
|
+
Merge: /* @__PURE__ */ t((e) => r.merge(N(e)), "Merge"),
|
|
300
|
+
Checkout: /* @__PURE__ */ t((e) => r.checkout(P(e)), "Checkout"),
|
|
301
|
+
CherryPicking: /* @__PURE__ */ t((e) => r.cherryPick(F(e)), "CherryPicking")
|
|
302
|
+
}[n.$type];
|
|
303
|
+
i ? i(n) : e.error(`Unknown statement type: ${n.$type}`);
|
|
304
|
+
}, "parseStatement"), j = /* @__PURE__ */ t((e) => ({
|
|
305
|
+
id: e.id,
|
|
306
|
+
msg: e.message ?? "",
|
|
307
|
+
type: e.type === void 0 ? _.NORMAL : _[e.type],
|
|
308
|
+
tags: e.tags ?? void 0
|
|
309
|
+
}), "parseCommit"), M = /* @__PURE__ */ t((e) => ({
|
|
310
|
+
name: e.name,
|
|
311
|
+
order: e.order ?? 0
|
|
312
|
+
}), "parseBranch"), N = /* @__PURE__ */ t((e) => ({
|
|
313
|
+
branch: e.branch,
|
|
314
|
+
id: e.id ?? "",
|
|
315
|
+
type: e.type === void 0 ? void 0 : _[e.type],
|
|
316
|
+
tags: e.tags ?? void 0
|
|
317
|
+
}), "parseMerge"), P = /* @__PURE__ */ t((e) => e.branch, "parseCheckout"), F = /* @__PURE__ */ t((e) => ({
|
|
318
|
+
id: e.id,
|
|
319
|
+
targetId: "",
|
|
320
|
+
tags: e.tags?.length === 0 ? void 0 : e.tags,
|
|
321
|
+
parent: e.parent
|
|
322
|
+
}), "parseCherryPicking"), I = { parse: /* @__PURE__ */ t(async (t) => {
|
|
323
|
+
let n = await g("gitGraph", t);
|
|
324
|
+
e.debug(n), k(n, O);
|
|
325
|
+
}, "parse") }, L = 10, R = 40, z = 4, B = 2, V = 8, H = /* @__PURE__ */ new Map(), U = /* @__PURE__ */ new Map(), W = 30, G = /* @__PURE__ */ new Map(), K = [], q = 0, J = "LR", me = /* @__PURE__ */ t(() => {
|
|
326
|
+
H.clear(), U.clear(), G.clear(), q = 0, K = [], J = "LR";
|
|
327
|
+
}, "clear"), Y = /* @__PURE__ */ t((e) => {
|
|
328
|
+
let t = document.createElementNS("http://www.w3.org/2000/svg", "text");
|
|
329
|
+
return (typeof e == "string" ? e.split(/\\n|\n|<br\s*\/?>/gi) : e).forEach((e) => {
|
|
330
|
+
let n = document.createElementNS("http://www.w3.org/2000/svg", "tspan");
|
|
331
|
+
n.setAttributeNS("http://www.w3.org/XML/1998/namespace", "xml:space", "preserve"), n.setAttribute("dy", "1em"), n.setAttribute("x", "0"), n.setAttribute("class", "row"), n.textContent = e.trim(), t.appendChild(n);
|
|
332
|
+
}), t;
|
|
333
|
+
}, "drawText"), X = /* @__PURE__ */ t((e) => {
|
|
334
|
+
let n, r, i;
|
|
335
|
+
return J === "BT" ? (r = /* @__PURE__ */ t((e, t) => e <= t, "comparisonFunc"), i = Infinity) : (r = /* @__PURE__ */ t((e, t) => e >= t, "comparisonFunc"), i = 0), e.forEach((e) => {
|
|
336
|
+
let t = J === "TB" || J == "BT" ? U.get(e)?.y : U.get(e)?.x;
|
|
337
|
+
t !== void 0 && r(t, i) && (n = e, i = t);
|
|
338
|
+
}), n;
|
|
339
|
+
}, "findClosestParent"), he = /* @__PURE__ */ t((e) => {
|
|
340
|
+
let t = "", n = Infinity;
|
|
341
|
+
return e.forEach((e) => {
|
|
342
|
+
let r = U.get(e).y;
|
|
343
|
+
r <= n && (t = e, n = r);
|
|
344
|
+
}), t || void 0;
|
|
345
|
+
}, "findClosestParentBT"), ge = /* @__PURE__ */ t((e, t, n) => {
|
|
346
|
+
let r = n, i = n, a = [];
|
|
347
|
+
e.forEach((e) => {
|
|
348
|
+
let n = t.get(e);
|
|
349
|
+
if (!n) throw Error(`Commit not found for key ${e}`);
|
|
350
|
+
n.parents.length ? (r = ve(n), i = Math.max(r, i)) : a.push(n), ye(n, r);
|
|
351
|
+
}), r = i, a.forEach((e) => {
|
|
352
|
+
be(e, r, n);
|
|
353
|
+
}), e.forEach((e) => {
|
|
354
|
+
let n = t.get(e);
|
|
355
|
+
if (n?.parents.length) {
|
|
356
|
+
let e = he(n.parents);
|
|
357
|
+
r = U.get(e).y - R, r <= i && (i = r);
|
|
358
|
+
let t = H.get(n.branch).pos, a = r - L;
|
|
359
|
+
U.set(n.id, {
|
|
360
|
+
x: t,
|
|
361
|
+
y: a
|
|
362
|
+
});
|
|
363
|
+
}
|
|
364
|
+
});
|
|
365
|
+
}, "setParallelBTPos"), _e = /* @__PURE__ */ t((e) => {
|
|
366
|
+
let t = X(e.parents.filter((e) => e !== null));
|
|
367
|
+
if (!t) throw Error(`Closest parent not found for commit ${e.id}`);
|
|
368
|
+
let n = U.get(t)?.y;
|
|
369
|
+
if (n === void 0) throw Error(`Closest parent position not found for commit ${e.id}`);
|
|
370
|
+
return n;
|
|
371
|
+
}, "findClosestParentPos"), ve = /* @__PURE__ */ t((e) => _e(e) + R, "calculateCommitPosition"), ye = /* @__PURE__ */ t((e, t) => {
|
|
372
|
+
let n = H.get(e.branch);
|
|
373
|
+
if (!n) throw Error(`Branch not found for commit ${e.id}`);
|
|
374
|
+
let r = n.pos, i = t + L;
|
|
375
|
+
return U.set(e.id, {
|
|
376
|
+
x: r,
|
|
377
|
+
y: i
|
|
378
|
+
}), {
|
|
379
|
+
x: r,
|
|
380
|
+
y: i
|
|
381
|
+
};
|
|
382
|
+
}, "setCommitPosition"), be = /* @__PURE__ */ t((e, t, n) => {
|
|
383
|
+
let r = H.get(e.branch);
|
|
384
|
+
if (!r) throw Error(`Branch not found for commit ${e.id}`);
|
|
385
|
+
let i = t + n, a = r.pos;
|
|
386
|
+
U.set(e.id, {
|
|
387
|
+
x: a,
|
|
388
|
+
y: i
|
|
389
|
+
});
|
|
390
|
+
}, "setRootPosition"), xe = /* @__PURE__ */ t((e, t, n, r, i, a) => {
|
|
391
|
+
if (a === _.HIGHLIGHT) e.append("rect").attr("x", n.x - 10).attr("y", n.y - 10).attr("width", 20).attr("height", 20).attr("class", `commit ${t.id} commit-highlight${i % V} ${r}-outer`), e.append("rect").attr("x", n.x - 6).attr("y", n.y - 6).attr("width", 12).attr("height", 12).attr("class", `commit ${t.id} commit${i % V} ${r}-inner`);
|
|
392
|
+
else if (a === _.CHERRY_PICK) e.append("circle").attr("cx", n.x).attr("cy", n.y).attr("r", 10).attr("class", `commit ${t.id} ${r}`), e.append("circle").attr("cx", n.x - 3).attr("cy", n.y + 2).attr("r", 2.75).attr("fill", "#fff").attr("class", `commit ${t.id} ${r}`), e.append("circle").attr("cx", n.x + 3).attr("cy", n.y + 2).attr("r", 2.75).attr("fill", "#fff").attr("class", `commit ${t.id} ${r}`), e.append("line").attr("x1", n.x + 3).attr("y1", n.y + 1).attr("x2", n.x).attr("y2", n.y - 5).attr("stroke", "#fff").attr("class", `commit ${t.id} ${r}`), e.append("line").attr("x1", n.x - 3).attr("y1", n.y + 1).attr("x2", n.x).attr("y2", n.y - 5).attr("stroke", "#fff").attr("class", `commit ${t.id} ${r}`);
|
|
393
|
+
else {
|
|
394
|
+
let o = e.append("circle");
|
|
395
|
+
if (o.attr("cx", n.x), o.attr("cy", n.y), o.attr("r", t.type === _.MERGE ? 9 : 10), o.attr("class", `commit ${t.id} commit${i % V}`), a === _.MERGE) {
|
|
396
|
+
let a = e.append("circle");
|
|
397
|
+
a.attr("cx", n.x), a.attr("cy", n.y), a.attr("r", 6), a.attr("class", `commit ${r} ${t.id} commit${i % V}`);
|
|
398
|
+
}
|
|
399
|
+
a === _.REVERSE && e.append("path").attr("d", `M ${n.x - 5},${n.y - 5}L${n.x + 5},${n.y + 5}M${n.x - 5},${n.y + 5}L${n.x + 5},${n.y - 5}`).attr("class", `commit ${r} ${t.id} commit${i % V}`);
|
|
400
|
+
}
|
|
401
|
+
}, "drawCommitBullet"), Se = /* @__PURE__ */ t((e, t, n, r, i) => {
|
|
402
|
+
if (t.type !== _.CHERRY_PICK && (t.customId && t.type === _.MERGE || t.type !== _.MERGE) && i.showCommitLabel) {
|
|
403
|
+
let a = e.append("g"), o = a.insert("rect").attr("class", "commit-label-bkg"), s = a.append("text").attr("x", r).attr("y", n.y + 25).attr("class", "commit-label").text(t.id), c = s.node()?.getBBox();
|
|
404
|
+
if (c && (o.attr("x", n.posWithOffset - c.width / 2 - B).attr("y", n.y + 13.5).attr("width", c.width + 2 * B).attr("height", c.height + 2 * B), J === "TB" || J === "BT" ? (o.attr("x", n.x - (c.width + 4 * z + 5)).attr("y", n.y - 12), s.attr("x", n.x - (c.width + 4 * z)).attr("y", n.y + c.height - 12)) : s.attr("x", n.posWithOffset - c.width / 2), i.rotateCommitLabel)) if (J === "TB" || J === "BT") s.attr("transform", "rotate(-45, " + n.x + ", " + n.y + ")"), o.attr("transform", "rotate(-45, " + n.x + ", " + n.y + ")");
|
|
405
|
+
else {
|
|
406
|
+
let e = -7.5 - (c.width + 10) / 25 * 9.5, t = 10 + c.width / 25 * 8.5;
|
|
407
|
+
a.attr("transform", "translate(" + e + ", " + t + ") rotate(-45, " + r + ", " + n.y + ")");
|
|
408
|
+
}
|
|
409
|
+
}
|
|
410
|
+
}, "drawCommitLabel"), Z = /* @__PURE__ */ t((e, t, n, r) => {
|
|
411
|
+
if (t.tags.length > 0) {
|
|
412
|
+
let i = 0, a = 0, o = 0, s = [];
|
|
413
|
+
for (let r of t.tags.reverse()) {
|
|
414
|
+
let t = e.insert("polygon"), c = e.append("circle"), l = e.append("text").attr("y", n.y - 16 - i).attr("class", "tag-label").text(r), u = l.node()?.getBBox();
|
|
415
|
+
if (!u) throw Error("Tag bbox not found");
|
|
416
|
+
a = Math.max(a, u.width), o = Math.max(o, u.height), l.attr("x", n.posWithOffset - u.width / 2), s.push({
|
|
417
|
+
tag: l,
|
|
418
|
+
hole: c,
|
|
419
|
+
rect: t,
|
|
420
|
+
yOffset: i
|
|
421
|
+
}), i += 20;
|
|
422
|
+
}
|
|
423
|
+
for (let { tag: e, hole: t, rect: i, yOffset: c } of s) {
|
|
424
|
+
let s = o / 2, l = n.y - 19.2 - c;
|
|
425
|
+
if (i.attr("class", "tag-label-bkg").attr("points", `
|
|
426
|
+
${r - a / 2 - z / 2},${l + B}
|
|
427
|
+
${r - a / 2 - z / 2},${l - B}
|
|
428
|
+
${n.posWithOffset - a / 2 - z},${l - s - B}
|
|
429
|
+
${n.posWithOffset + a / 2 + z},${l - s - B}
|
|
430
|
+
${n.posWithOffset + a / 2 + z},${l + s + B}
|
|
431
|
+
${n.posWithOffset - a / 2 - z},${l + s + B}`), t.attr("cy", l).attr("cx", r - a / 2 + z / 2).attr("r", 1.5).attr("class", "tag-hole"), J === "TB" || J === "BT") {
|
|
432
|
+
let o = r + c;
|
|
433
|
+
i.attr("class", "tag-label-bkg").attr("points", `
|
|
434
|
+
${n.x},${o + 2}
|
|
435
|
+
${n.x},${o - 2}
|
|
436
|
+
${n.x + L},${o - s - 2}
|
|
437
|
+
${n.x + L + a + 4},${o - s - 2}
|
|
438
|
+
${n.x + L + a + 4},${o + s + 2}
|
|
439
|
+
${n.x + L},${o + s + 2}`).attr("transform", "translate(12,12) rotate(45, " + n.x + "," + r + ")"), t.attr("cx", n.x + z / 2).attr("cy", o).attr("transform", "translate(12,12) rotate(45, " + n.x + "," + r + ")"), e.attr("x", n.x + 5).attr("y", o + 3).attr("transform", "translate(14,14) rotate(45, " + n.x + "," + r + ")");
|
|
440
|
+
}
|
|
441
|
+
}
|
|
442
|
+
}
|
|
443
|
+
}, "drawCommitTags"), Ce = /* @__PURE__ */ t((e) => {
|
|
444
|
+
switch (e.customType ?? e.type) {
|
|
445
|
+
case _.NORMAL: return "commit-normal";
|
|
446
|
+
case _.REVERSE: return "commit-reverse";
|
|
447
|
+
case _.HIGHLIGHT: return "commit-highlight";
|
|
448
|
+
case _.MERGE: return "commit-merge";
|
|
449
|
+
case _.CHERRY_PICK: return "commit-cherry-pick";
|
|
450
|
+
default: return "commit-normal";
|
|
451
|
+
}
|
|
452
|
+
}, "getCommitClassType"), we = /* @__PURE__ */ t((e, t, n, r) => {
|
|
453
|
+
let i = {
|
|
454
|
+
x: 0,
|
|
455
|
+
y: 0
|
|
456
|
+
};
|
|
457
|
+
if (e.parents.length > 0) {
|
|
458
|
+
let n = X(e.parents);
|
|
459
|
+
if (n) {
|
|
460
|
+
let a = r.get(n) ?? i;
|
|
461
|
+
return t === "TB" ? a.y + R : t === "BT" ? (r.get(e.id) ?? i).y - R : a.x + R;
|
|
462
|
+
}
|
|
463
|
+
} else if (t === "TB") return W;
|
|
464
|
+
else if (t === "BT") return (r.get(e.id) ?? i).y - R;
|
|
465
|
+
else return 0;
|
|
466
|
+
return 0;
|
|
467
|
+
}, "calculatePosition"), Te = /* @__PURE__ */ t((e, t, n) => {
|
|
468
|
+
let r = J === "BT" && n ? t : t + L, i = J === "TB" || J === "BT" ? r : H.get(e.branch)?.pos, a = J === "TB" || J === "BT" ? H.get(e.branch)?.pos : r;
|
|
469
|
+
if (a === void 0 || i === void 0) throw Error(`Position were undefined for commit ${e.id}`);
|
|
470
|
+
return {
|
|
471
|
+
x: a,
|
|
472
|
+
y: i,
|
|
473
|
+
posWithOffset: r
|
|
474
|
+
};
|
|
475
|
+
}, "getCommitPosition"), Q = /* @__PURE__ */ t((e, n, r, i) => {
|
|
476
|
+
let a = e.append("g").attr("class", "commit-bullets"), o = e.append("g").attr("class", "commit-labels"), s = J === "TB" || J === "BT" ? W : 0, c = [...n.keys()], l = i.parallelCommits ?? !1, u = /* @__PURE__ */ t((e, t) => {
|
|
477
|
+
let r = n.get(e)?.seq, i = n.get(t)?.seq;
|
|
478
|
+
return r !== void 0 && i !== void 0 ? r - i : 0;
|
|
479
|
+
}, "sortKeys"), d = c.sort(u);
|
|
480
|
+
J === "BT" && (l && ge(d, n, s), d = d.reverse()), d.forEach((e) => {
|
|
481
|
+
let t = n.get(e);
|
|
482
|
+
if (!t) throw Error(`Commit not found for key ${e}`);
|
|
483
|
+
l && (s = we(t, J, s, U));
|
|
484
|
+
let c = Te(t, s, l);
|
|
485
|
+
if (r) {
|
|
486
|
+
let e = Ce(t), n = t.customType ?? t.type;
|
|
487
|
+
xe(a, t, c, e, H.get(t.branch)?.index ?? 0, n), Se(o, t, c, s, i), Z(o, t, c, s);
|
|
488
|
+
}
|
|
489
|
+
J === "TB" || J === "BT" ? U.set(t.id, {
|
|
490
|
+
x: c.x,
|
|
491
|
+
y: c.posWithOffset
|
|
492
|
+
}) : U.set(t.id, {
|
|
493
|
+
x: c.posWithOffset,
|
|
494
|
+
y: c.y
|
|
495
|
+
}), s = J === "BT" && l ? s + R : s + R + L, s > q && (q = s);
|
|
496
|
+
});
|
|
497
|
+
}, "drawCommits"), Ee = /* @__PURE__ */ t((e, n, r, i, a) => {
|
|
498
|
+
let o = (J === "TB" || J === "BT" ? r.x < i.x : r.y < i.y) ? n.branch : e.branch, s = /* @__PURE__ */ t((e) => e.branch === o, "isOnBranchToGetCurve"), c = /* @__PURE__ */ t((t) => t.seq > e.seq && t.seq < n.seq, "isBetweenCommits");
|
|
499
|
+
return [...a.values()].some((e) => c(e) && s(e));
|
|
500
|
+
}, "shouldRerouteArrow"), $ = /* @__PURE__ */ t((e, t, n = 0) => {
|
|
501
|
+
let r = e + Math.abs(e - t) / 2;
|
|
502
|
+
return n > 5 ? r : K.every((e) => Math.abs(e - r) >= 10) ? (K.push(r), r) : $(e, t - Math.abs(e - t) / 5, n + 1);
|
|
503
|
+
}, "findLane"), De = /* @__PURE__ */ t((e, t, n, r) => {
|
|
504
|
+
let i = U.get(t.id), a = U.get(n.id);
|
|
505
|
+
if (i === void 0 || a === void 0) throw Error(`Commit positions not found for commits ${t.id} and ${n.id}`);
|
|
506
|
+
let o = Ee(t, n, i, a, r), s = "", c = "", l = 0, u = 0, d = H.get(n.branch)?.index;
|
|
507
|
+
n.type === _.MERGE && t.id !== n.parents[0] && (d = H.get(t.branch)?.index);
|
|
508
|
+
let f;
|
|
509
|
+
if (o) {
|
|
510
|
+
s = "A 10 10, 0, 0, 0,", c = "A 10 10, 0, 0, 1,", l = 10, u = 10;
|
|
511
|
+
let e = i.y < a.y ? $(i.y, a.y) : $(a.y, i.y), n = i.x < a.x ? $(i.x, a.x) : $(a.x, i.x);
|
|
512
|
+
J === "TB" ? i.x < a.x ? f = `M ${i.x} ${i.y} L ${n - l} ${i.y} ${c} ${n} ${i.y + u} L ${n} ${a.y - l} ${s} ${n + u} ${a.y} L ${a.x} ${a.y}` : (d = H.get(t.branch)?.index, f = `M ${i.x} ${i.y} L ${n + l} ${i.y} ${s} ${n} ${i.y + u} L ${n} ${a.y - l} ${c} ${n - u} ${a.y} L ${a.x} ${a.y}`) : J === "BT" ? i.x < a.x ? f = `M ${i.x} ${i.y} L ${n - l} ${i.y} ${s} ${n} ${i.y - u} L ${n} ${a.y + l} ${c} ${n + u} ${a.y} L ${a.x} ${a.y}` : (d = H.get(t.branch)?.index, f = `M ${i.x} ${i.y} L ${n + l} ${i.y} ${c} ${n} ${i.y - u} L ${n} ${a.y + l} ${s} ${n - u} ${a.y} L ${a.x} ${a.y}`) : i.y < a.y ? f = `M ${i.x} ${i.y} L ${i.x} ${e - l} ${s} ${i.x + u} ${e} L ${a.x - l} ${e} ${c} ${a.x} ${e + u} L ${a.x} ${a.y}` : (d = H.get(t.branch)?.index, f = `M ${i.x} ${i.y} L ${i.x} ${e + l} ${c} ${i.x + u} ${e} L ${a.x - l} ${e} ${s} ${a.x} ${e - u} L ${a.x} ${a.y}`);
|
|
513
|
+
} else s = "A 20 20, 0, 0, 0,", c = "A 20 20, 0, 0, 1,", l = 20, u = 20, J === "TB" ? (i.x < a.x && (f = n.type === _.MERGE && t.id !== n.parents[0] ? `M ${i.x} ${i.y} L ${i.x} ${a.y - l} ${s} ${i.x + u} ${a.y} L ${a.x} ${a.y}` : `M ${i.x} ${i.y} L ${a.x - l} ${i.y} ${c} ${a.x} ${i.y + u} L ${a.x} ${a.y}`), i.x > a.x && (s = "A 20 20, 0, 0, 0,", c = "A 20 20, 0, 0, 1,", l = 20, u = 20, f = n.type === _.MERGE && t.id !== n.parents[0] ? `M ${i.x} ${i.y} L ${i.x} ${a.y - l} ${c} ${i.x - u} ${a.y} L ${a.x} ${a.y}` : `M ${i.x} ${i.y} L ${a.x + l} ${i.y} ${s} ${a.x} ${i.y + u} L ${a.x} ${a.y}`), i.x === a.x && (f = `M ${i.x} ${i.y} L ${a.x} ${a.y}`)) : J === "BT" ? (i.x < a.x && (f = n.type === _.MERGE && t.id !== n.parents[0] ? `M ${i.x} ${i.y} L ${i.x} ${a.y + l} ${c} ${i.x + u} ${a.y} L ${a.x} ${a.y}` : `M ${i.x} ${i.y} L ${a.x - l} ${i.y} ${s} ${a.x} ${i.y - u} L ${a.x} ${a.y}`), i.x > a.x && (s = "A 20 20, 0, 0, 0,", c = "A 20 20, 0, 0, 1,", l = 20, u = 20, f = n.type === _.MERGE && t.id !== n.parents[0] ? `M ${i.x} ${i.y} L ${i.x} ${a.y + l} ${s} ${i.x - u} ${a.y} L ${a.x} ${a.y}` : `M ${i.x} ${i.y} L ${a.x + l} ${i.y} ${c} ${a.x} ${i.y - u} L ${a.x} ${a.y}`), i.x === a.x && (f = `M ${i.x} ${i.y} L ${a.x} ${a.y}`)) : (i.y < a.y && (f = n.type === _.MERGE && t.id !== n.parents[0] ? `M ${i.x} ${i.y} L ${a.x - l} ${i.y} ${c} ${a.x} ${i.y + u} L ${a.x} ${a.y}` : `M ${i.x} ${i.y} L ${i.x} ${a.y - l} ${s} ${i.x + u} ${a.y} L ${a.x} ${a.y}`), i.y > a.y && (f = n.type === _.MERGE && t.id !== n.parents[0] ? `M ${i.x} ${i.y} L ${a.x - l} ${i.y} ${s} ${a.x} ${i.y - u} L ${a.x} ${a.y}` : `M ${i.x} ${i.y} L ${i.x} ${a.y + l} ${c} ${i.x + u} ${a.y} L ${a.x} ${a.y}`), i.y === a.y && (f = `M ${i.x} ${i.y} L ${a.x} ${a.y}`));
|
|
514
|
+
if (f === void 0) throw Error("Line definition not found");
|
|
515
|
+
e.append("path").attr("d", f).attr("class", "arrow arrow" + d % V);
|
|
516
|
+
}, "drawArrow"), Oe = /* @__PURE__ */ t((e, t) => {
|
|
517
|
+
let n = e.append("g").attr("class", "commit-arrows");
|
|
518
|
+
[...t.keys()].forEach((e) => {
|
|
519
|
+
let r = t.get(e);
|
|
520
|
+
r.parents && r.parents.length > 0 && r.parents.forEach((e) => {
|
|
521
|
+
De(n, t.get(e), r, t);
|
|
522
|
+
});
|
|
523
|
+
});
|
|
524
|
+
}, "drawArrows"), ke = /* @__PURE__ */ t((e, t, n) => {
|
|
525
|
+
let r = e.append("g");
|
|
526
|
+
t.forEach((e, t) => {
|
|
527
|
+
let i = t % V, a = H.get(e.name)?.pos;
|
|
528
|
+
if (a === void 0) throw Error(`Position not found for branch ${e.name}`);
|
|
529
|
+
let o = r.append("line");
|
|
530
|
+
o.attr("x1", 0), o.attr("y1", a), o.attr("x2", q), o.attr("y2", a), o.attr("class", "branch branch" + i), J === "TB" ? (o.attr("y1", W), o.attr("x1", a), o.attr("y2", q), o.attr("x2", a)) : J === "BT" && (o.attr("y1", q), o.attr("x1", a), o.attr("y2", W), o.attr("x2", a)), K.push(a);
|
|
531
|
+
let s = e.name, c = Y(s), l = r.insert("rect"), u = r.insert("g").attr("class", "branchLabel").insert("g").attr("class", "label branch-label" + i);
|
|
532
|
+
u.node().appendChild(c);
|
|
533
|
+
let d = c.getBBox();
|
|
534
|
+
l.attr("class", "branchLabelBkg label" + i).attr("rx", 4).attr("ry", 4).attr("x", -d.width - 4 - (n.rotateCommitLabel === !0 ? 30 : 0)).attr("y", -d.height / 2 + 8).attr("width", d.width + 18).attr("height", d.height + 4), u.attr("transform", "translate(" + (-d.width - 14 - (n.rotateCommitLabel === !0 ? 30 : 0)) + ", " + (a - d.height / 2 - 1) + ")"), J === "TB" ? (l.attr("x", a - d.width / 2 - 10).attr("y", 0), u.attr("transform", "translate(" + (a - d.width / 2 - 5) + ", 0)")) : J === "BT" ? (l.attr("x", a - d.width / 2 - 10).attr("y", q), u.attr("transform", "translate(" + (a - d.width / 2 - 5) + ", " + q + ")")) : l.attr("transform", "translate(-19, " + (a - d.height / 2) + ")");
|
|
535
|
+
});
|
|
536
|
+
}, "drawBranches"), Ae = /* @__PURE__ */ t(function(e, t, n, r, i) {
|
|
537
|
+
return H.set(e, {
|
|
538
|
+
pos: t,
|
|
539
|
+
index: n
|
|
540
|
+
}), t += 50 + (i ? 40 : 0) + (J === "TB" || J === "BT" ? r.width / 2 : 0), t;
|
|
541
|
+
}, "setBranchPosition"), je = {
|
|
542
|
+
parser: I,
|
|
543
|
+
db: O,
|
|
544
|
+
renderer: { draw: /* @__PURE__ */ t(function(t, r, i, a) {
|
|
545
|
+
me(), e.debug("in gitgraph renderer", t + "\n", "id:", r, i);
|
|
546
|
+
let o = a.db;
|
|
547
|
+
if (!o.getConfig) {
|
|
548
|
+
e.error("getConfig method is not available on db");
|
|
549
|
+
return;
|
|
550
|
+
}
|
|
551
|
+
let s = o.getConfig(), c = s.rotateCommitLabel ?? !1;
|
|
552
|
+
G = o.getCommits();
|
|
553
|
+
let l = o.getBranchesAsObjArray();
|
|
554
|
+
J = o.getDirection();
|
|
555
|
+
let d = n(`[id="${r}"]`), f = 0;
|
|
556
|
+
l.forEach((e, t) => {
|
|
557
|
+
let n = Y(e.name), r = d.append("g"), i = r.insert("g").attr("class", "branchLabel"), a = i.insert("g").attr("class", "label branch-label");
|
|
558
|
+
a.node()?.appendChild(n);
|
|
559
|
+
let o = n.getBBox();
|
|
560
|
+
f = Ae(e.name, f, t, o, c), a.remove(), i.remove(), r.remove();
|
|
561
|
+
}), Q(d, G, !1, s), s.showBranches && ke(d, l, s), Oe(d, G), Q(d, G, !0, s), ee.insertTitle(d, "gitTitleText", s.titleTopMargin ?? 0, o.getDiagramTitle()), u(void 0, d, s.diagramPadding, s.useMaxWidth);
|
|
562
|
+
}, "draw") },
|
|
563
|
+
styles: /* @__PURE__ */ t((e) => `
|
|
564
|
+
.commit-id,
|
|
565
|
+
.commit-msg,
|
|
566
|
+
.branch-label {
|
|
567
|
+
fill: lightgrey;
|
|
568
|
+
color: lightgrey;
|
|
569
|
+
font-family: 'trebuchet ms', verdana, arial, sans-serif;
|
|
570
|
+
font-family: var(--mermaid-font-family);
|
|
571
|
+
}
|
|
572
|
+
${[
|
|
573
|
+
0,
|
|
574
|
+
1,
|
|
575
|
+
2,
|
|
576
|
+
3,
|
|
577
|
+
4,
|
|
578
|
+
5,
|
|
579
|
+
6,
|
|
580
|
+
7
|
|
581
|
+
].map((t) => `
|
|
582
|
+
.branch-label${t} { fill: ${e["gitBranchLabel" + t]}; }
|
|
583
|
+
.commit${t} { stroke: ${e["git" + t]}; fill: ${e["git" + t]}; }
|
|
584
|
+
.commit-highlight${t} { stroke: ${e["gitInv" + t]}; fill: ${e["gitInv" + t]}; }
|
|
585
|
+
.label${t} { fill: ${e["git" + t]}; }
|
|
586
|
+
.arrow${t} { stroke: ${e["git" + t]}; }
|
|
587
|
+
`).join("\n")}
|
|
588
|
+
|
|
589
|
+
.branch {
|
|
590
|
+
stroke-width: 1;
|
|
591
|
+
stroke: ${e.lineColor};
|
|
592
|
+
stroke-dasharray: 2;
|
|
593
|
+
}
|
|
594
|
+
.commit-label { font-size: ${e.commitLabelFontSize}; fill: ${e.commitLabelColor};}
|
|
595
|
+
.commit-label-bkg { font-size: ${e.commitLabelFontSize}; fill: ${e.commitLabelBackground}; opacity: 0.5; }
|
|
596
|
+
.tag-label { font-size: ${e.tagLabelFontSize}; fill: ${e.tagLabelColor};}
|
|
597
|
+
.tag-label-bkg { fill: ${e.tagLabelBackground}; stroke: ${e.tagLabelBorder}; }
|
|
598
|
+
.tag-hole { fill: ${e.textColor}; }
|
|
599
|
+
|
|
600
|
+
.commit-merge {
|
|
601
|
+
stroke: ${e.primaryColor};
|
|
602
|
+
fill: ${e.primaryColor};
|
|
603
|
+
}
|
|
604
|
+
.commit-reverse {
|
|
605
|
+
stroke: ${e.primaryColor};
|
|
606
|
+
fill: ${e.primaryColor};
|
|
607
|
+
stroke-width: 3;
|
|
608
|
+
}
|
|
609
|
+
.commit-highlight-outer {
|
|
610
|
+
}
|
|
611
|
+
.commit-highlight-inner {
|
|
612
|
+
stroke: ${e.primaryColor};
|
|
613
|
+
fill: ${e.primaryColor};
|
|
614
|
+
}
|
|
615
|
+
|
|
616
|
+
.arrow { stroke-width: 8; stroke-linecap: round; fill: none}
|
|
617
|
+
.gitTitleText {
|
|
618
|
+
text-anchor: middle;
|
|
619
|
+
font-size: 18px;
|
|
620
|
+
fill: ${e.textColor};
|
|
621
|
+
}
|
|
622
|
+
`, "getStyles")
|
|
623
|
+
};
|
|
624
|
+
//#endregion
|
|
625
|
+
export { je as diagram };
|
|
626
|
+
|
|
627
|
+
//# sourceMappingURL=gitGraphDiagram-K3NZZRJ6-CXz9SHBX.js.map
|