@loopstack/loopstack-studio 0.25.1 → 0.26.0
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/_virtual/rolldown_runtime.js +20 -0
- package/dist/api/auth.js +2 -4
- package/dist/api/client.js +7 -9
- package/dist/api/config.js +2 -4
- package/dist/api/dashboard.js +2 -4
- package/dist/api/documents.js +2 -4
- package/dist/api/environments.js +4 -0
- package/dist/api/index.js +23 -21
- package/dist/api/processor.js +2 -4
- package/dist/api/secrets.js +2 -4
- package/dist/api/workflows.js +2 -4
- package/dist/api/workspaces.js +2 -4
- package/dist/app/EnvironmentEmbedRoot.js +41 -24
- package/dist/components/ai-elements/code-block.js +71 -53
- package/dist/components/ai-elements/message.js +82 -41
- package/dist/components/ai-elements/prompt-input.js +253 -162
- package/dist/components/ai-elements/reasoning.js +116 -78
- package/dist/components/ai-elements/shimmer.js +35 -23
- package/dist/components/ai-elements/sources.js +58 -29
- package/dist/components/data-table/ConfirmDialog.js +30 -14
- package/dist/components/data-table/DataList.js +200 -138
- package/dist/components/data-table/DataTable.js +236 -168
- package/dist/components/data-table/DataTableBatchAction.js +27 -18
- package/dist/components/data-table/DataTableFilters.js +78 -53
- package/dist/components/data-table/DataTablePagination.js +104 -72
- package/dist/components/data-table/DataTableToolbar.js +65 -53
- package/dist/components/dynamic-form/ArrayController.js +103 -85
- package/dist/components/dynamic-form/CodeContent.js +36 -28
- package/dist/components/dynamic-form/Form.js +56 -43
- package/dist/components/dynamic-form/FormBody.js +10 -12
- package/dist/components/dynamic-form/FormElement.js +41 -31
- package/dist/components/dynamic-form/FormElementHeader.js +20 -12
- package/dist/components/dynamic-form/InputController.js +38 -36
- package/dist/components/dynamic-form/MarkdownContent.js +74 -53
- package/dist/components/dynamic-form/MermaidDiagram.js +24 -22
- package/dist/components/dynamic-form/ObjectController.js +32 -24
- package/dist/components/dynamic-form/fields/BaseFieldWrapper.js +47 -35
- package/dist/components/dynamic-form/fields/CheckboxField.js +48 -39
- package/dist/components/dynamic-form/fields/CodeViewField.js +50 -42
- package/dist/components/dynamic-form/fields/InputField.js +90 -62
- package/dist/components/dynamic-form/fields/MarkdownViewField.js +19 -16
- package/dist/components/dynamic-form/fields/RadioField.js +62 -46
- package/dist/components/dynamic-form/fields/SelectField.js +58 -40
- package/dist/components/dynamic-form/fields/SliderField.js +100 -94
- package/dist/components/dynamic-form/fields/SwitchField.js +61 -42
- package/dist/components/dynamic-form/fields/TextareaField.js +72 -53
- package/dist/components/dynamic-form/fields/utils/text-validation-utils.js +2 -4
- package/dist/components/dynamic-form/hooks/useArrayDefaultValue.js +5 -6
- package/dist/components/dynamic-form/hooks/useFieldConfig.js +20 -19
- package/dist/components/dynamic-form/hooks/useMergeParentKey.js +2 -4
- package/dist/components/dynamic-form/hooks/useSortPropertyNames.js +2 -4
- package/dist/components/feedback/ErrorAlert.js +17 -11
- package/dist/components/feedback/ErrorBoundary.js +14 -16
- package/dist/components/feedback/ErrorSnackbar.js +30 -13
- package/dist/components/feedback/LoadingCentered.js +28 -15
- package/dist/components/feedback/Snackbar.js +44 -43
- package/dist/components/feedback/index.js +5 -5
- package/dist/components/index.js +47 -47
- package/dist/components/layout/MainLayout.js +25 -17
- package/dist/components/layout/StudioSidebar.js +203 -140
- package/dist/components/lists/CustomListView.js +74 -49
- package/dist/components/lists/ListView.js +102 -66
- package/dist/components/loopstack-elements/link.js +104 -65
- package/dist/components/loopstack-elements/tool.js +142 -70
- package/dist/components/messages/CompletionMessagePaper.js +85 -53
- package/dist/components/page/PageBreadcrumbs.js +83 -64
- package/dist/components/ui/DiscordLogo.js +22 -16
- package/dist/components/ui/GoogleLogo.js +44 -40
- package/dist/components/ui/accordion.js +52 -31
- package/dist/components/ui/alert-dialog.js +109 -59
- package/dist/components/ui/alert.js +36 -22
- package/dist/components/ui/avatar.js +35 -21
- package/dist/components/ui/badge.js +17 -13
- package/dist/components/ui/breadcrumb.js +82 -46
- package/dist/components/ui/button-group.js +5 -5
- package/dist/components/ui/button.js +21 -17
- package/dist/components/ui/card.js +74 -40
- package/dist/components/ui/checkbox.js +23 -17
- package/dist/components/ui/collapsible.js +25 -17
- package/dist/components/ui/command.js +2 -1
- package/dist/components/ui/context-menu.js +52 -32
- package/dist/components/ui/dialog.js +107 -62
- package/dist/components/ui/drawer.js +99 -54
- package/dist/components/ui/dropdown-menu.js +159 -91
- package/dist/components/ui/hover-card.js +2 -1
- package/dist/components/ui/input-group.js +56 -36
- package/dist/components/ui/input.js +15 -11
- package/dist/components/ui/label.js +15 -11
- package/dist/components/ui/popover.js +38 -25
- package/dist/components/ui/radio-group.js +33 -22
- package/dist/components/ui/scroll-area.js +43 -28
- package/dist/components/ui/select.js +134 -73
- package/dist/components/ui/separator.js +17 -13
- package/dist/components/ui/sheet.js +105 -60
- package/dist/components/ui/sidebar.js +451 -269
- package/dist/components/ui/skeleton.js +14 -10
- package/dist/components/ui/slider.js +41 -32
- package/dist/components/ui/switch.js +21 -15
- package/dist/components/ui/table.js +85 -46
- package/dist/components/ui/tabs.js +45 -26
- package/dist/components/ui/textarea.js +14 -10
- package/dist/components/ui/tooltip.js +41 -26
- package/dist/components/ui-widgets/UiActions.js +37 -30
- package/dist/components/ui-widgets/UiWidget.js +46 -34
- package/dist/components/ui-widgets/widgets/AiPromptInput.js +42 -28
- package/dist/components/ui-widgets/widgets/ButtonFullWidth.js +21 -16
- package/dist/components/ui-widgets/widgets/SandboxRun.js +28 -19
- package/dist/components/ui-widgets/widgets/SubmitButton.js +20 -15
- package/dist/events/api-client-events.js +2 -4
- package/dist/events/sse-client-events.js +2 -4
- package/dist/features/code-explorer/CodeExplorer.js +2 -1
- package/dist/features/code-explorer/components/CodeExplorerTree.js +3 -2
- package/dist/features/code-explorer/components/CodeExplorerTreeNode.js +29 -31
- package/dist/features/code-explorer/components/FileContentViewer.js +148 -108
- package/dist/features/code-explorer/components/FileTabsBar.js +2 -1
- package/dist/features/code-explorer/components/FileTabsBarBase.js +169 -134
- package/dist/features/code-explorer/index.js +1 -1
- package/dist/features/code-explorer/providers/CodeExplorerProvider.js +4 -4
- package/dist/features/code-explorer/utils/fileIcons.js +39 -41
- package/dist/features/dashboard/Dashboard.js +121 -79
- package/dist/features/dashboard/RunItem.js +70 -50
- package/dist/features/dashboard/RunList.js +28 -17
- package/dist/features/debug/components/ConfigFlowViewer.js +67 -49
- package/dist/features/debug/components/WorkflowDebugHeader.js +46 -30
- package/dist/features/debug/components/WorkflowDebugLegend.js +68 -56
- package/dist/features/debug/components/WorkflowFlowViewer.js +96 -76
- package/dist/features/debug/components/workflow-flow/StateNode.js +102 -73
- package/dist/features/debug/components/workflow-flow/WorkflowGraph.js +40 -35
- package/dist/features/debug/components/workflow-flow/WorkflowTransitionEdge.js +94 -61
- package/dist/features/debug/index.js +3 -3
- package/dist/features/debug/lib/edge-paths.js +31 -33
- package/dist/features/debug/lib/flow-utils.js +145 -147
- package/dist/features/documents/DocumentRenderer.js +73 -68
- package/dist/features/documents/components/DocumentItem.js +24 -21
- package/dist/features/documents/components/DocumentList.js +45 -39
- package/dist/features/documents/components/DocumentMetadataPills.js +59 -44
- package/dist/features/documents/document-details/DocumentDetails.js +413 -298
- package/dist/features/documents/document-details/PromptDetails.js +142 -105
- package/dist/features/documents/index.js +4 -4
- package/dist/features/documents/renderers/AiMessage.js +48 -39
- package/dist/features/documents/renderers/AiMessageContent.js +164 -108
- package/dist/features/documents/renderers/ChoicesRenderer.js +89 -77
- package/dist/features/documents/renderers/ClaudeMessage.js +91 -74
- package/dist/features/documents/renderers/ConfirmPromptRenderer.js +53 -44
- package/dist/features/documents/renderers/DocumentDebugRenderer.js +30 -26
- package/dist/features/documents/renderers/DocumentFormRenderer.js +85 -69
- package/dist/features/documents/renderers/DocumentMessageRenderer.js +9 -10
- package/dist/features/documents/renderers/ErrorMessageRenderer.js +13 -11
- package/dist/features/documents/renderers/LinkMessageRenderer.js +14 -15
- package/dist/features/documents/renderers/MarkdownMessageRenderer.js +10 -8
- package/dist/features/documents/renderers/PlainMessageRenderer.js +9 -7
- package/dist/features/documents/renderers/TextPromptRenderer.js +54 -45
- package/dist/features/documents/renderers/useDocumentTransition.js +33 -30
- package/dist/features/feature-registry/FeatureRegistryProvider.js +17 -0
- package/dist/features/feature-registry/index.js +1 -0
- package/dist/features/file-explorer/api/files.js +7 -0
- package/dist/features/file-explorer/components/FileExplorerPanel.js +95 -0
- package/dist/features/file-explorer/components/FileTabsBar.js +18 -0
- package/dist/features/file-explorer/components/FileTree.js +90 -0
- package/dist/features/file-explorer/file-explorer-feature.js +12 -0
- package/dist/features/file-explorer/hooks/useFileExplorer.js +44 -0
- package/dist/features/file-explorer/index.js +2 -0
- package/dist/features/file-explorer/providers/FileExplorerProvider.js +112 -0
- package/dist/features/health/LocalHealthCheck.js +53 -54
- package/dist/features/health/index.js +1 -1
- package/dist/features/oauth/OAuthCallbackPage.js +2 -2
- package/dist/features/oauth/OAuthPromptRenderer.js +235 -156
- package/dist/features/oauth/index.js +2 -2
- package/dist/features/oauth/useOAuthPopup.js +71 -52
- package/dist/features/runs/Runs.js +187 -145
- package/dist/features/secrets/components/WorkbenchSecretsPanel.js +178 -0
- package/dist/features/secrets/index.js +1 -0
- package/dist/features/secrets/renderers/SecretInputRenderer.js +87 -0
- package/dist/features/secrets/secrets-feature.js +14 -0
- package/dist/features/workbench/Workbench.js +50 -74
- package/dist/features/workbench/WorkflowItem.js +68 -49
- package/dist/features/workbench/WorkflowList.js +127 -49
- package/dist/features/workbench/components/NewRunDialog.js +309 -212
- package/dist/features/workbench/components/SidebarPanel.js +155 -0
- package/dist/features/workbench/components/WorkbenchEnvironmentPanel.js +82 -0
- package/dist/features/workbench/components/WorkbenchIconSidebar.js +137 -51
- package/dist/features/workbench/components/WorkbenchPreviewPanel.js +134 -123
- package/dist/features/workbench/components/WorkbenchRunsPanel.js +32 -0
- package/dist/features/workbench/components/WorkbenchSettingsModal.js +60 -49
- package/dist/features/workbench/components/WorkbenchSidebarShell.js +80 -0
- package/dist/features/workbench/components/WorkflowForms.js +23 -17
- package/dist/features/workbench/components/WorkflowHistoryItem.js +122 -96
- package/dist/features/workbench/components/WorkflowHistoryList.js +54 -31
- package/dist/features/workbench/components/buttons/WorkflowButtons.js +99 -70
- package/dist/features/workbench/hooks/useAutoScrollBottom.js +25 -21
- package/dist/features/workbench/hooks/useScrollToListItem.js +21 -20
- package/dist/features/workbench/hooks/useWorkflowData.js +44 -31
- package/dist/features/workbench/hooks/useWorkflowListState.js +12 -13
- package/dist/features/workbench/index.js +8 -7
- package/dist/features/workbench/providers/ScrollProvider.js +19 -15
- package/dist/features/workbench/providers/WorkbenchLayoutProvider.js +75 -78
- package/dist/features/workspaces/Workspaces.js +226 -161
- package/dist/features/workspaces/components/CreateWorkspace.js +194 -137
- package/dist/features/workspaces/components/EnvironmentSlotSelector.js +75 -60
- package/dist/features/workspaces/components/ExecutionTimeline.js +185 -143
- package/dist/features/workspaces/components/NewWorkflowRunDialog.js +26 -18
- package/dist/features/workspaces/components/WorkflowRunForm.js +133 -85
- package/dist/features/workspaces/components/WorkspaceHomePage.js +81 -60
- package/dist/features/workspaces/components/workflow-form/ArgumentsView.js +69 -52
- package/dist/features/workspaces/components/workflow-form/HeaderSection.js +41 -27
- package/dist/features/workspaces/components/workflow-form/SelectionView.js +103 -64
- package/dist/features/workspaces/index.js +3 -3
- package/dist/frontend/studio/node_modules/@dagrejs/dagre/dist/dagre.esm.js +1968 -0
- package/dist/hooks/index.js +6 -6
- package/dist/hooks/query-keys.js +31 -33
- package/dist/hooks/use-mobile.js +11 -12
- package/dist/hooks/useApi.js +14 -16
- package/dist/hooks/useAuth.js +53 -38
- package/dist/hooks/useConfig.js +37 -26
- package/dist/hooks/useDashboard.js +15 -12
- package/dist/hooks/useDebounce.js +11 -12
- package/dist/hooks/useDocuments.js +35 -23
- package/dist/hooks/useEnvironmentPreviewUrl.js +13 -0
- package/dist/hooks/useEnvironments.js +8 -0
- package/dist/hooks/useFiles.js +2 -1
- package/dist/hooks/useProcessor.js +17 -14
- package/dist/hooks/useSecrets.js +64 -45
- package/dist/hooks/useWorkflows.js +163 -109
- package/dist/hooks/useWorkspaces.js +125 -83
- package/dist/index.d.ts +1395 -0
- package/dist/index.js +87 -80
- package/dist/lib/requireParam.js +2 -4
- package/dist/lib/utils.js +5 -7
- package/dist/loopstack-studio.css +1 -1
- package/dist/node_modules/@braintree/sanitize-url/dist/constants.js +4 -6
- package/dist/node_modules/@braintree/sanitize-url/dist/index.js +6 -8
- package/dist/node_modules/@chevrotain/gast/lib/src/helpers.js +17 -19
- package/dist/node_modules/@chevrotain/gast/lib/src/model.js +71 -73
- package/dist/node_modules/@chevrotain/gast/lib/src/visitor.js +13 -16
- package/dist/node_modules/@chevrotain/regexp-to-ast/lib/src/api.js +2 -2
- package/dist/node_modules/@chevrotain/regexp-to-ast/lib/src/base-regexp-visitor.js +2 -4
- package/dist/node_modules/@chevrotain/regexp-to-ast/lib/src/character-classes.js +34 -36
- package/dist/node_modules/@chevrotain/regexp-to-ast/lib/src/regexp-parser.js +110 -138
- package/dist/node_modules/@chevrotain/regexp-to-ast/lib/src/utils.js +11 -13
- package/dist/node_modules/@chevrotain/utils/lib/src/print.js +3 -5
- package/dist/node_modules/@chevrotain/utils/lib/src/timer.js +2 -4
- package/dist/node_modules/@chevrotain/utils/lib/src/to-fast-properties.js +2 -4
- package/dist/node_modules/@iconify/utils/lib/customisations/defaults.js +6 -8
- package/dist/node_modules/@iconify/utils/lib/icon/defaults.js +8 -10
- package/dist/node_modules/@iconify/utils/lib/icon/merge.js +6 -8
- package/dist/node_modules/@iconify/utils/lib/icon/name.js +6 -8
- package/dist/node_modules/@iconify/utils/lib/icon/transformations.js +2 -4
- package/dist/node_modules/@iconify/utils/lib/icon-set/get-icon.js +10 -12
- package/dist/node_modules/@iconify/utils/lib/icon-set/tree.js +2 -4
- package/dist/node_modules/@iconify/utils/lib/svg/build.js +18 -20
- package/dist/node_modules/@iconify/utils/lib/svg/defs.js +6 -8
- package/dist/node_modules/@iconify/utils/lib/svg/html.js +2 -4
- package/dist/node_modules/@iconify/utils/lib/svg/id.js +8 -10
- package/dist/node_modules/@iconify/utils/lib/svg/size.js +5 -7
- package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/architecture-YZFGNWBL.js +2 -2
- package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-2KRD3SAO.js +17 -20
- package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-67CJDMHE.js +17 -20
- package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-7N4EOEYR.js +23 -28
- package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-AA7GKIK3.js +21 -26
- package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-CIAEETIT.js +17 -20
- package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-FOC6F5B3.js +17 -20
- package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-K5T4RW27.js +425 -436
- package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-KGLVRYIC.js +17 -20
- package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-LIHQZDEY.js +38 -45
- package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-ORNJ4GCN.js +22 -27
- package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/gitGraph-7Q5UKJZL.js +2 -2
- package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/info-OMHHGYJF.js +2 -2
- package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/packet-4T2RLAQJ.js +2 -2
- package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/pie-ZZUOXDRM.js +2 -2
- package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/radar-PYXPWWZC.js +2 -2
- package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/treeView-SZITEDCU.js +2 -2
- package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/treemap-W4RFUUIX.js +2 -2
- package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/wardley-RL74JXVD.js +2 -2
- package/dist/node_modules/@mermaid-js/parser/dist/mermaid-parser.core.js +52 -56
- package/dist/node_modules/@shikijs/core/dist/index.js +575 -577
- package/dist/node_modules/@shikijs/engine-oniguruma/dist/index.js +157 -159
- package/dist/node_modules/@shikijs/engine-oniguruma/dist/wasm-inlined.js +2 -4
- package/dist/node_modules/@shikijs/langs/dist/abap.js +2 -3
- package/dist/node_modules/@shikijs/langs/dist/actionscript-3.js +2 -3
- package/dist/node_modules/@shikijs/langs/dist/ada.js +2 -3
- package/dist/node_modules/@shikijs/langs/dist/angular-expression.js +2 -3
- package/dist/node_modules/@shikijs/langs/dist/angular-html.js +13 -15
- package/dist/node_modules/@shikijs/langs/dist/angular-inline-style.js +3 -5
- package/dist/node_modules/@shikijs/langs/dist/angular-inline-template.js +7 -9
- package/dist/node_modules/@shikijs/langs/dist/angular-let-declaration.js +3 -5
- package/dist/node_modules/@shikijs/langs/dist/angular-template-blocks.js +7 -9
- package/dist/node_modules/@shikijs/langs/dist/angular-template.js +3 -5
- package/dist/node_modules/@shikijs/langs/dist/angular-ts.js +15 -17
- package/dist/node_modules/@shikijs/langs/dist/apache.js +2 -3
- package/dist/node_modules/@shikijs/langs/dist/apex.js +2 -3
- package/dist/node_modules/@shikijs/langs/dist/apl.js +13 -15
- package/dist/node_modules/@shikijs/langs/dist/applescript.js +2 -3
- package/dist/node_modules/@shikijs/langs/dist/ara.js +2 -3
- package/dist/node_modules/@shikijs/langs/dist/asciidoc.js +2 -3
- package/dist/node_modules/@shikijs/langs/dist/asm.js +2 -3
- package/dist/node_modules/@shikijs/langs/dist/astro.js +15 -17
- package/dist/node_modules/@shikijs/langs/dist/awk.js +2 -3
- package/dist/node_modules/@shikijs/langs/dist/ballerina.js +2 -3
- package/dist/node_modules/@shikijs/langs/dist/bat.js +2 -3
- package/dist/node_modules/@shikijs/langs/dist/beancount.js +2 -3
- package/dist/node_modules/@shikijs/langs/dist/berry.js +2 -3
- package/dist/node_modules/@shikijs/langs/dist/bibtex.js +2 -3
- package/dist/node_modules/@shikijs/langs/dist/bicep.js +2 -3
- package/dist/node_modules/@shikijs/langs/dist/bird2.js +2 -3
- package/dist/node_modules/@shikijs/langs/dist/blade.js +17 -19
- package/dist/node_modules/@shikijs/langs/dist/bsl.js +3 -5
- package/dist/node_modules/@shikijs/langs/dist/c.js +2 -3
- package/dist/node_modules/@shikijs/langs/dist/c3.js +2 -3
- package/dist/node_modules/@shikijs/langs/dist/cadence.js +2 -3
- package/dist/node_modules/@shikijs/langs/dist/cairo.js +3 -5
- package/dist/node_modules/@shikijs/langs/dist/clarity.js +2 -3
- package/dist/node_modules/@shikijs/langs/dist/clojure.js +2 -3
- package/dist/node_modules/@shikijs/langs/dist/cmake.js +2 -3
- package/dist/node_modules/@shikijs/langs/dist/cobol.js +7 -9
- package/dist/node_modules/@shikijs/langs/dist/codeowners.js +2 -3
- package/dist/node_modules/@shikijs/langs/dist/codeql.js +2 -3
- package/dist/node_modules/@shikijs/langs/dist/coffee.js +3 -5
- package/dist/node_modules/@shikijs/langs/dist/common-lisp.js +2 -3
- package/dist/node_modules/@shikijs/langs/dist/coq.js +2 -3
- package/dist/node_modules/@shikijs/langs/dist/cpp-macro.js +9 -11
- package/dist/node_modules/@shikijs/langs/dist/cpp.js +11 -13
- package/dist/node_modules/@shikijs/langs/dist/crystal.js +15 -17
- package/dist/node_modules/@shikijs/langs/dist/csharp.js +2 -3
- package/dist/node_modules/@shikijs/langs/dist/css.js +2 -3
- package/dist/node_modules/@shikijs/langs/dist/csv.js +2 -3
- package/dist/node_modules/@shikijs/langs/dist/cue.js +2 -3
- package/dist/node_modules/@shikijs/langs/dist/cypher.js +2 -3
- package/dist/node_modules/@shikijs/langs/dist/d.js +2 -3
- package/dist/node_modules/@shikijs/langs/dist/dart.js +2 -3
- package/dist/node_modules/@shikijs/langs/dist/dax.js +2 -3
- package/dist/node_modules/@shikijs/langs/dist/desktop.js +2 -3
- package/dist/node_modules/@shikijs/langs/dist/diff.js +2 -3
- package/dist/node_modules/@shikijs/langs/dist/docker.js +2 -3
- package/dist/node_modules/@shikijs/langs/dist/dotenv.js +2 -3
- package/dist/node_modules/@shikijs/langs/dist/dream-maker.js +2 -3
- package/dist/node_modules/@shikijs/langs/dist/edge.js +9 -11
- package/dist/node_modules/@shikijs/langs/dist/elixir.js +3 -5
- package/dist/node_modules/@shikijs/langs/dist/elm.js +3 -5
- package/dist/node_modules/@shikijs/langs/dist/emacs-lisp.js +2 -3
- package/dist/node_modules/@shikijs/langs/dist/erb.js +7 -9
- package/dist/node_modules/@shikijs/langs/dist/erlang.js +3 -5
- package/dist/node_modules/@shikijs/langs/dist/es-tag-css.js +9 -11
- package/dist/node_modules/@shikijs/langs/dist/es-tag-glsl.js +9 -11
- package/dist/node_modules/@shikijs/langs/dist/es-tag-html.js +9 -11
- package/dist/node_modules/@shikijs/langs/dist/es-tag-sql.js +7 -9
- package/dist/node_modules/@shikijs/langs/dist/es-tag-xml.js +3 -5
- package/dist/node_modules/@shikijs/langs/dist/fennel.js +2 -3
- package/dist/node_modules/@shikijs/langs/dist/fish.js +2 -3
- package/dist/node_modules/@shikijs/langs/dist/fluent.js +2 -3
- package/dist/node_modules/@shikijs/langs/dist/fortran-fixed-form.js +3 -5
- package/dist/node_modules/@shikijs/langs/dist/fortran-free-form.js +2 -3
- package/dist/node_modules/@shikijs/langs/dist/fsharp.js +3 -5
- package/dist/node_modules/@shikijs/langs/dist/gdresource.js +7 -9
- package/dist/node_modules/@shikijs/langs/dist/gdscript.js +2 -3
- package/dist/node_modules/@shikijs/langs/dist/gdshader.js +2 -3
- package/dist/node_modules/@shikijs/langs/dist/genie.js +2 -3
- package/dist/node_modules/@shikijs/langs/dist/gherkin.js +2 -3
- package/dist/node_modules/@shikijs/langs/dist/git-commit.js +3 -5
- package/dist/node_modules/@shikijs/langs/dist/git-rebase.js +3 -5
- package/dist/node_modules/@shikijs/langs/dist/gleam.js +2 -3
- package/dist/node_modules/@shikijs/langs/dist/glimmer-js.js +11 -13
- package/dist/node_modules/@shikijs/langs/dist/glimmer-ts.js +11 -13
- package/dist/node_modules/@shikijs/langs/dist/glsl.js +3 -5
- package/dist/node_modules/@shikijs/langs/dist/gn.js +2 -3
- package/dist/node_modules/@shikijs/langs/dist/gnuplot.js +2 -3
- package/dist/node_modules/@shikijs/langs/dist/go.js +2 -3
- package/dist/node_modules/@shikijs/langs/dist/graphql.js +11 -13
- package/dist/node_modules/@shikijs/langs/dist/groovy.js +2 -3
- package/dist/node_modules/@shikijs/langs/dist/hack.js +7 -9
- package/dist/node_modules/@shikijs/langs/dist/haml.js +7 -9
- package/dist/node_modules/@shikijs/langs/dist/handlebars.js +11 -13
- package/dist/node_modules/@shikijs/langs/dist/haskell.js +2 -3
- package/dist/node_modules/@shikijs/langs/dist/haxe.js +2 -3
- package/dist/node_modules/@shikijs/langs/dist/hcl.js +2 -3
- package/dist/node_modules/@shikijs/langs/dist/hjson.js +2 -3
- package/dist/node_modules/@shikijs/langs/dist/hlsl.js +2 -3
- package/dist/node_modules/@shikijs/langs/dist/html-derivative.js +3 -5
- package/dist/node_modules/@shikijs/langs/dist/html.js +7 -9
- package/dist/node_modules/@shikijs/langs/dist/http.js +11 -13
- package/dist/node_modules/@shikijs/langs/dist/hurl.js +9 -11
- package/dist/node_modules/@shikijs/langs/dist/hxml.js +3 -5
- package/dist/node_modules/@shikijs/langs/dist/hy.js +2 -3
- package/dist/node_modules/@shikijs/langs/dist/imba.js +2 -3
- package/dist/node_modules/@shikijs/langs/dist/ini.js +2 -3
- package/dist/node_modules/@shikijs/langs/dist/java.js +2 -3
- package/dist/node_modules/@shikijs/langs/dist/javascript.js +2 -3
- package/dist/node_modules/@shikijs/langs/dist/jinja-html.js +3 -5
- package/dist/node_modules/@shikijs/langs/dist/jinja.js +3 -5
- package/dist/node_modules/@shikijs/langs/dist/jison.js +3 -5
- package/dist/node_modules/@shikijs/langs/dist/json.js +2 -3
- package/dist/node_modules/@shikijs/langs/dist/json5.js +2 -3
- package/dist/node_modules/@shikijs/langs/dist/jsonc.js +2 -3
- package/dist/node_modules/@shikijs/langs/dist/jsonl.js +2 -3
- package/dist/node_modules/@shikijs/langs/dist/jsonnet.js +2 -3
- package/dist/node_modules/@shikijs/langs/dist/jssm.js +2 -3
- package/dist/node_modules/@shikijs/langs/dist/jsx.js +2 -3
- package/dist/node_modules/@shikijs/langs/dist/julia.js +13 -15
- package/dist/node_modules/@shikijs/langs/dist/just.js +15 -17
- package/dist/node_modules/@shikijs/langs/dist/kdl.js +2 -3
- package/dist/node_modules/@shikijs/langs/dist/kotlin.js +2 -3
- package/dist/node_modules/@shikijs/langs/dist/kusto.js +2 -3
- package/dist/node_modules/@shikijs/langs/dist/latex.js +3 -5
- package/dist/node_modules/@shikijs/langs/dist/lean.js +2 -3
- package/dist/node_modules/@shikijs/langs/dist/less.js +2 -3
- package/dist/node_modules/@shikijs/langs/dist/liquid.js +11 -13
- package/dist/node_modules/@shikijs/langs/dist/llvm.js +2 -3
- package/dist/node_modules/@shikijs/langs/dist/log.js +2 -3
- package/dist/node_modules/@shikijs/langs/dist/logo.js +2 -3
- package/dist/node_modules/@shikijs/langs/dist/lua.js +3 -5
- package/dist/node_modules/@shikijs/langs/dist/luau.js +2 -3
- package/dist/node_modules/@shikijs/langs/dist/make.js +2 -3
- package/dist/node_modules/@shikijs/langs/dist/markdown-nix.js +2 -3
- package/dist/node_modules/@shikijs/langs/dist/markdown-vue.js +2 -3
- package/dist/node_modules/@shikijs/langs/dist/markdown.js +2 -3
- package/dist/node_modules/@shikijs/langs/dist/marko.js +11 -13
- package/dist/node_modules/@shikijs/langs/dist/matlab.js +2 -3
- package/dist/node_modules/@shikijs/langs/dist/mdc.js +9 -11
- package/dist/node_modules/@shikijs/langs/dist/mdx.js +2 -3
- package/dist/node_modules/@shikijs/langs/dist/mermaid.js +2 -3
- package/dist/node_modules/@shikijs/langs/dist/mipsasm.js +2 -3
- package/dist/node_modules/@shikijs/langs/dist/mojo.js +2 -3
- package/dist/node_modules/@shikijs/langs/dist/moonbit.js +2 -3
- package/dist/node_modules/@shikijs/langs/dist/move.js +2 -3
- package/dist/node_modules/@shikijs/langs/dist/narrat.js +2 -3
- package/dist/node_modules/@shikijs/langs/dist/nextflow-groovy.js +2 -3
- package/dist/node_modules/@shikijs/langs/dist/nextflow.js +3 -5
- package/dist/node_modules/@shikijs/langs/dist/nginx.js +3 -5
- package/dist/node_modules/@shikijs/langs/dist/nim.js +17 -19
- package/dist/node_modules/@shikijs/langs/dist/nix.js +3 -5
- package/dist/node_modules/@shikijs/langs/dist/nushell.js +2 -3
- package/dist/node_modules/@shikijs/langs/dist/objective-c.js +2 -3
- package/dist/node_modules/@shikijs/langs/dist/objective-cpp.js +2 -3
- package/dist/node_modules/@shikijs/langs/dist/ocaml.js +2 -3
- package/dist/node_modules/@shikijs/langs/dist/odin.js +2 -3
- package/dist/node_modules/@shikijs/langs/dist/openscad.js +2 -3
- package/dist/node_modules/@shikijs/langs/dist/pascal.js +2 -3
- package/dist/node_modules/@shikijs/langs/dist/perl.js +13 -15
- package/dist/node_modules/@shikijs/langs/dist/php.js +15 -17
- package/dist/node_modules/@shikijs/langs/dist/pkl.js +2 -3
- package/dist/node_modules/@shikijs/langs/dist/plsql.js +2 -3
- package/dist/node_modules/@shikijs/langs/dist/po.js +2 -3
- package/dist/node_modules/@shikijs/langs/dist/polar.js +2 -3
- package/dist/node_modules/@shikijs/langs/dist/postcss.js +2 -3
- package/dist/node_modules/@shikijs/langs/dist/powerquery.js +2 -3
- package/dist/node_modules/@shikijs/langs/dist/powershell.js +2 -3
- package/dist/node_modules/@shikijs/langs/dist/prisma.js +2 -3
- package/dist/node_modules/@shikijs/langs/dist/prolog.js +2 -3
- package/dist/node_modules/@shikijs/langs/dist/proto.js +2 -3
- package/dist/node_modules/@shikijs/langs/dist/pug.js +9 -11
- package/dist/node_modules/@shikijs/langs/dist/puppet.js +2 -3
- package/dist/node_modules/@shikijs/langs/dist/purescript.js +2 -3
- package/dist/node_modules/@shikijs/langs/dist/python.js +2 -3
- package/dist/node_modules/@shikijs/langs/dist/qml.js +3 -5
- package/dist/node_modules/@shikijs/langs/dist/qmldir.js +2 -3
- package/dist/node_modules/@shikijs/langs/dist/qss.js +2 -3
- package/dist/node_modules/@shikijs/langs/dist/r.js +2 -3
- package/dist/node_modules/@shikijs/langs/dist/racket.js +2 -3
- package/dist/node_modules/@shikijs/langs/dist/raku.js +2 -3
- package/dist/node_modules/@shikijs/langs/dist/razor.js +7 -9
- package/dist/node_modules/@shikijs/langs/dist/reg.js +2 -3
- package/dist/node_modules/@shikijs/langs/dist/regexp.js +2 -3
- package/dist/node_modules/@shikijs/langs/dist/rel.js +2 -3
- package/dist/node_modules/@shikijs/langs/dist/riscv.js +2 -3
- package/dist/node_modules/@shikijs/langs/dist/ron.js +2 -3
- package/dist/node_modules/@shikijs/langs/dist/rosmsg.js +2 -3
- package/dist/node_modules/@shikijs/langs/dist/rst.js +19 -21
- package/dist/node_modules/@shikijs/langs/dist/ruby.js +27 -29
- package/dist/node_modules/@shikijs/langs/dist/rust.js +2 -3
- package/dist/node_modules/@shikijs/langs/dist/sas.js +3 -5
- package/dist/node_modules/@shikijs/langs/dist/sass.js +2 -3
- package/dist/node_modules/@shikijs/langs/dist/scala.js +2 -3
- package/dist/node_modules/@shikijs/langs/dist/scheme.js +2 -3
- package/dist/node_modules/@shikijs/langs/dist/scss.js +3 -5
- package/dist/node_modules/@shikijs/langs/dist/sdbl.js +2 -3
- package/dist/node_modules/@shikijs/langs/dist/shaderlab.js +3 -5
- package/dist/node_modules/@shikijs/langs/dist/shellscript.js +2 -3
- package/dist/node_modules/@shikijs/langs/dist/shellsession.js +3 -5
- package/dist/node_modules/@shikijs/langs/dist/smalltalk.js +2 -3
- package/dist/node_modules/@shikijs/langs/dist/solidity.js +2 -3
- package/dist/node_modules/@shikijs/langs/dist/soy.js +3 -5
- package/dist/node_modules/@shikijs/langs/dist/sparql.js +3 -5
- package/dist/node_modules/@shikijs/langs/dist/splunk.js +2 -3
- package/dist/node_modules/@shikijs/langs/dist/sql.js +2 -3
- package/dist/node_modules/@shikijs/langs/dist/ssh-config.js +2 -3
- package/dist/node_modules/@shikijs/langs/dist/stata.js +3 -5
- package/dist/node_modules/@shikijs/langs/dist/stylus.js +2 -3
- package/dist/node_modules/@shikijs/langs/dist/surrealql.js +3 -5
- package/dist/node_modules/@shikijs/langs/dist/svelte.js +11 -13
- package/dist/node_modules/@shikijs/langs/dist/swift.js +2 -3
- package/dist/node_modules/@shikijs/langs/dist/system-verilog.js +2 -3
- package/dist/node_modules/@shikijs/langs/dist/systemd.js +2 -3
- package/dist/node_modules/@shikijs/langs/dist/talonscript.js +2 -3
- package/dist/node_modules/@shikijs/langs/dist/tasl.js +2 -3
- package/dist/node_modules/@shikijs/langs/dist/tcl.js +2 -3
- package/dist/node_modules/@shikijs/langs/dist/templ.js +9 -11
- package/dist/node_modules/@shikijs/langs/dist/terraform.js +2 -3
- package/dist/node_modules/@shikijs/langs/dist/tex.js +3 -5
- package/dist/node_modules/@shikijs/langs/dist/toml.js +2 -3
- package/dist/node_modules/@shikijs/langs/dist/ts-tags.js +15 -17
- package/dist/node_modules/@shikijs/langs/dist/tsv.js +2 -3
- package/dist/node_modules/@shikijs/langs/dist/tsx.js +2 -3
- package/dist/node_modules/@shikijs/langs/dist/turtle.js +2 -3
- package/dist/node_modules/@shikijs/langs/dist/twig.js +15 -17
- package/dist/node_modules/@shikijs/langs/dist/typescript.js +2 -3
- package/dist/node_modules/@shikijs/langs/dist/typespec.js +2 -3
- package/dist/node_modules/@shikijs/langs/dist/typst.js +2 -3
- package/dist/node_modules/@shikijs/langs/dist/v.js +2 -3
- package/dist/node_modules/@shikijs/langs/dist/vala.js +2 -3
- package/dist/node_modules/@shikijs/langs/dist/vb.js +2 -3
- package/dist/node_modules/@shikijs/langs/dist/verilog.js +2 -3
- package/dist/node_modules/@shikijs/langs/dist/vhdl.js +2 -3
- package/dist/node_modules/@shikijs/langs/dist/viml.js +2 -3
- package/dist/node_modules/@shikijs/langs/dist/vue-directives.js +2 -3
- package/dist/node_modules/@shikijs/langs/dist/vue-html.js +3 -5
- package/dist/node_modules/@shikijs/langs/dist/vue-interpolations.js +2 -3
- package/dist/node_modules/@shikijs/langs/dist/vue-sfc-style-variable-injection.js +3 -5
- package/dist/node_modules/@shikijs/langs/dist/vue-vine.js +15 -17
- package/dist/node_modules/@shikijs/langs/dist/vue.js +23 -25
- package/dist/node_modules/@shikijs/langs/dist/vyper.js +2 -3
- package/dist/node_modules/@shikijs/langs/dist/wasm.js +2 -3
- package/dist/node_modules/@shikijs/langs/dist/wenyan.js +2 -3
- package/dist/node_modules/@shikijs/langs/dist/wgsl.js +2 -3
- package/dist/node_modules/@shikijs/langs/dist/wikitext.js +2 -3
- package/dist/node_modules/@shikijs/langs/dist/wit.js +2 -3
- package/dist/node_modules/@shikijs/langs/dist/wolfram.js +2 -3
- package/dist/node_modules/@shikijs/langs/dist/xml.js +3 -5
- package/dist/node_modules/@shikijs/langs/dist/xsl.js +3 -5
- package/dist/node_modules/@shikijs/langs/dist/yaml.js +2 -3
- package/dist/node_modules/@shikijs/langs/dist/zenscript.js +2 -3
- package/dist/node_modules/@shikijs/langs/dist/zig.js +2 -3
- package/dist/node_modules/@shikijs/primitive/dist/index.js +319 -321
- package/dist/node_modules/@shikijs/themes/dist/andromeeda.js +2 -4
- package/dist/node_modules/@shikijs/themes/dist/aurora-x.js +2 -4
- package/dist/node_modules/@shikijs/themes/dist/ayu-dark.js +2 -4
- package/dist/node_modules/@shikijs/themes/dist/ayu-light.js +2 -4
- package/dist/node_modules/@shikijs/themes/dist/ayu-mirage.js +2 -4
- package/dist/node_modules/@shikijs/themes/dist/catppuccin-frappe.js +2 -4
- package/dist/node_modules/@shikijs/themes/dist/catppuccin-latte.js +2 -4
- package/dist/node_modules/@shikijs/themes/dist/catppuccin-macchiato.js +2 -4
- package/dist/node_modules/@shikijs/themes/dist/catppuccin-mocha.js +2 -4
- package/dist/node_modules/@shikijs/themes/dist/dark-plus.js +2 -4
- package/dist/node_modules/@shikijs/themes/dist/dracula-soft.js +2 -4
- package/dist/node_modules/@shikijs/themes/dist/dracula.js +2 -4
- package/dist/node_modules/@shikijs/themes/dist/everforest-dark.js +2 -4
- package/dist/node_modules/@shikijs/themes/dist/everforest-light.js +2 -4
- package/dist/node_modules/@shikijs/themes/dist/github-dark-default.js +2 -4
- package/dist/node_modules/@shikijs/themes/dist/github-dark-dimmed.js +2 -4
- package/dist/node_modules/@shikijs/themes/dist/github-dark-high-contrast.js +2 -4
- package/dist/node_modules/@shikijs/themes/dist/github-dark.js +2 -4
- package/dist/node_modules/@shikijs/themes/dist/github-light-default.js +2 -4
- package/dist/node_modules/@shikijs/themes/dist/github-light-high-contrast.js +2 -4
- package/dist/node_modules/@shikijs/themes/dist/github-light.js +2 -4
- package/dist/node_modules/@shikijs/themes/dist/gruvbox-dark-hard.js +2 -4
- package/dist/node_modules/@shikijs/themes/dist/gruvbox-dark-medium.js +2 -4
- package/dist/node_modules/@shikijs/themes/dist/gruvbox-dark-soft.js +2 -4
- package/dist/node_modules/@shikijs/themes/dist/gruvbox-light-hard.js +2 -4
- package/dist/node_modules/@shikijs/themes/dist/gruvbox-light-medium.js +2 -4
- package/dist/node_modules/@shikijs/themes/dist/gruvbox-light-soft.js +2 -4
- package/dist/node_modules/@shikijs/themes/dist/horizon-bright.js +2 -4
- package/dist/node_modules/@shikijs/themes/dist/horizon.js +2 -4
- package/dist/node_modules/@shikijs/themes/dist/houston.js +2 -4
- package/dist/node_modules/@shikijs/themes/dist/kanagawa-dragon.js +2 -4
- package/dist/node_modules/@shikijs/themes/dist/kanagawa-lotus.js +2 -4
- package/dist/node_modules/@shikijs/themes/dist/kanagawa-wave.js +2 -4
- package/dist/node_modules/@shikijs/themes/dist/laserwave.js +2 -4
- package/dist/node_modules/@shikijs/themes/dist/light-plus.js +2 -4
- package/dist/node_modules/@shikijs/themes/dist/material-theme-darker.js +2 -4
- package/dist/node_modules/@shikijs/themes/dist/material-theme-lighter.js +2 -4
- package/dist/node_modules/@shikijs/themes/dist/material-theme-ocean.js +2 -4
- package/dist/node_modules/@shikijs/themes/dist/material-theme-palenight.js +2 -4
- package/dist/node_modules/@shikijs/themes/dist/material-theme.js +2 -4
- package/dist/node_modules/@shikijs/themes/dist/min-dark.js +2 -4
- package/dist/node_modules/@shikijs/themes/dist/min-light.js +2 -4
- package/dist/node_modules/@shikijs/themes/dist/monokai.js +2 -4
- package/dist/node_modules/@shikijs/themes/dist/night-owl-light.js +2 -4
- package/dist/node_modules/@shikijs/themes/dist/night-owl.js +2 -4
- package/dist/node_modules/@shikijs/themes/dist/nord.js +2 -4
- package/dist/node_modules/@shikijs/themes/dist/one-dark-pro.js +2 -4
- package/dist/node_modules/@shikijs/themes/dist/one-light.js +2 -4
- package/dist/node_modules/@shikijs/themes/dist/plastic.js +2 -4
- package/dist/node_modules/@shikijs/themes/dist/poimandres.js +2 -4
- package/dist/node_modules/@shikijs/themes/dist/red.js +2 -4
- package/dist/node_modules/@shikijs/themes/dist/rose-pine-dawn.js +2 -4
- package/dist/node_modules/@shikijs/themes/dist/rose-pine-moon.js +2 -4
- package/dist/node_modules/@shikijs/themes/dist/rose-pine.js +2 -4
- package/dist/node_modules/@shikijs/themes/dist/slack-dark.js +2 -4
- package/dist/node_modules/@shikijs/themes/dist/slack-ochin.js +2 -4
- package/dist/node_modules/@shikijs/themes/dist/snazzy-light.js +2 -4
- package/dist/node_modules/@shikijs/themes/dist/solarized-dark.js +2 -4
- package/dist/node_modules/@shikijs/themes/dist/solarized-light.js +2 -4
- package/dist/node_modules/@shikijs/themes/dist/synthwave-84.js +2 -4
- package/dist/node_modules/@shikijs/themes/dist/tokyo-night.js +2 -4
- package/dist/node_modules/@shikijs/themes/dist/vesper.js +2 -4
- package/dist/node_modules/@shikijs/themes/dist/vitesse-black.js +2 -4
- package/dist/node_modules/@shikijs/themes/dist/vitesse-dark.js +2 -4
- package/dist/node_modules/@shikijs/themes/dist/vitesse-light.js +2 -4
- package/dist/node_modules/@shikijs/types/dist/index.js +2 -4
- package/dist/node_modules/@shikijs/vscode-textmate/dist/index.js +947 -949
- package/dist/node_modules/@ungap/structured-clone/esm/deserialize.js +30 -30
- package/dist/node_modules/@ungap/structured-clone/esm/index.js +4 -6
- package/dist/node_modules/@ungap/structured-clone/esm/serialize.js +64 -64
- package/dist/node_modules/@ungap/structured-clone/esm/types.js +2 -0
- package/dist/node_modules/@upsetjs/venn.js/build/venn.esm.js +693 -695
- package/dist/node_modules/@xyflow/react/dist/esm/index.js +881 -883
- package/dist/node_modules/@xyflow/system/dist/esm/index.js +1221 -1223
- package/dist/node_modules/bail/index.js +2 -4
- package/dist/node_modules/ccount/index.js +2 -4
- package/dist/node_modules/character-entities-html4/index.js +2 -4
- package/dist/node_modules/character-entities-legacy/index.js +2 -4
- package/dist/node_modules/chevrotain/lib/src/api.js +10 -10
- package/dist/node_modules/chevrotain/lib/src/lang/lang_extensions.js +4 -6
- package/dist/node_modules/chevrotain/lib/src/parse/constants.js +2 -4
- package/dist/node_modules/chevrotain/lib/src/parse/cst/cst.js +9 -11
- package/dist/node_modules/chevrotain/lib/src/parse/cst/cst_visitor.js +15 -17
- package/dist/node_modules/chevrotain/lib/src/parse/errors_public.js +17 -19
- package/dist/node_modules/chevrotain/lib/src/parse/exceptions_public.js +24 -26
- package/dist/node_modules/chevrotain/lib/src/parse/grammar/checks.js +201 -203
- package/dist/node_modules/chevrotain/lib/src/parse/grammar/first.js +16 -18
- package/dist/node_modules/chevrotain/lib/src/parse/grammar/follow.js +17 -19
- package/dist/node_modules/chevrotain/lib/src/parse/grammar/gast/gast_resolver_public.js +12 -14
- package/dist/node_modules/chevrotain/lib/src/parse/grammar/interpreter.js +140 -142
- package/dist/node_modules/chevrotain/lib/src/parse/grammar/keys.js +4 -5
- package/dist/node_modules/chevrotain/lib/src/parse/grammar/llk_lookahead.js +25 -27
- package/dist/node_modules/chevrotain/lib/src/parse/grammar/lookahead.js +149 -151
- package/dist/node_modules/chevrotain/lib/src/parse/grammar/resolver.js +14 -16
- package/dist/node_modules/chevrotain/lib/src/parse/grammar/rest.js +38 -40
- package/dist/node_modules/chevrotain/lib/src/parse/parser/parser.js +64 -65
- package/dist/node_modules/chevrotain/lib/src/parse/parser/traits/error_handler.js +11 -13
- package/dist/node_modules/chevrotain/lib/src/parse/parser/traits/gast_recorder.js +101 -103
- package/dist/node_modules/chevrotain/lib/src/parse/parser/traits/lexer_adapter.js +5 -7
- package/dist/node_modules/chevrotain/lib/src/parse/parser/traits/looksahead.js +45 -47
- package/dist/node_modules/chevrotain/lib/src/parse/parser/traits/perf_tracer.js +6 -8
- package/dist/node_modules/chevrotain/lib/src/parse/parser/traits/recognizer_api.js +73 -75
- package/dist/node_modules/chevrotain/lib/src/parse/parser/traits/recognizer_engine.js +180 -182
- package/dist/node_modules/chevrotain/lib/src/parse/parser/traits/recoverable.js +23 -24
- package/dist/node_modules/chevrotain/lib/src/parse/parser/traits/tree_builder.js +26 -28
- package/dist/node_modules/chevrotain/lib/src/parse/parser/utils/apply_mixins.js +2 -4
- package/dist/node_modules/chevrotain/lib/src/scan/lexer.js +246 -246
- package/dist/node_modules/chevrotain/lib/src/scan/lexer_errors_public.js +2 -4
- package/dist/node_modules/chevrotain/lib/src/scan/lexer_public.js +31 -33
- package/dist/node_modules/chevrotain/lib/src/scan/reg_exp.js +64 -67
- package/dist/node_modules/chevrotain/lib/src/scan/reg_exp_parser.js +10 -12
- package/dist/node_modules/chevrotain/lib/src/scan/tokens.js +35 -36
- package/dist/node_modules/chevrotain/lib/src/scan/tokens_public.js +26 -28
- package/dist/node_modules/chevrotain-allstar/lib/all-star-lookahead.js +240 -242
- package/dist/node_modules/chevrotain-allstar/lib/atn.js +133 -134
- package/dist/node_modules/chevrotain-allstar/lib/dfa.js +10 -11
- package/dist/node_modules/chevrotain-allstar/lib/index.js +1 -1
- package/dist/node_modules/classcat/index.js +3 -5
- package/dist/node_modules/comma-separated-tokens/index.js +3 -5
- package/dist/node_modules/cose-base/cose-base.js +21 -21
- package/dist/node_modules/cytoscape/dist/cytoscape.esm.js +7940 -7937
- package/dist/node_modules/cytoscape-cose-bilkent/cytoscape-cose-bilkent.js +6 -8
- package/dist/node_modules/cytoscape-fcose/cytoscape-fcose.js +6 -8
- package/dist/node_modules/cytoscape-fcose/node_modules/cose-base/cose-base.js +20 -20
- package/dist/node_modules/cytoscape-fcose/node_modules/layout-base/layout-base.js +4 -6
- package/dist/node_modules/d3/src/index.js +95 -95
- package/dist/node_modules/d3-array/src/ascending.js +2 -4
- package/dist/node_modules/d3-array/src/bisect.js +8 -8
- package/dist/node_modules/d3-array/src/bisector.js +6 -8
- package/dist/node_modules/d3-array/src/descending.js +2 -4
- package/dist/node_modules/d3-array/src/max.js +2 -4
- package/dist/node_modules/d3-array/src/min.js +2 -4
- package/dist/node_modules/d3-array/src/number.js +2 -4
- package/dist/node_modules/d3-array/src/range.js +2 -4
- package/dist/node_modules/d3-array/src/ticks.js +11 -13
- package/dist/node_modules/d3-axis/src/axis.js +46 -48
- package/dist/node_modules/d3-axis/src/identity.js +2 -4
- package/dist/node_modules/d3-brush/src/brush.js +4 -6
- package/dist/node_modules/d3-color/src/color.js +84 -86
- package/dist/node_modules/d3-color/src/define.js +3 -5
- package/dist/node_modules/d3-color/src/lab.js +43 -45
- package/dist/node_modules/d3-color/src/math.js +2 -4
- package/dist/node_modules/d3-dispatch/src/dispatch.js +17 -18
- package/dist/node_modules/d3-drag/src/constant.js +2 -4
- package/dist/node_modules/d3-drag/src/drag.js +75 -77
- package/dist/node_modules/d3-drag/src/event.js +3 -5
- package/dist/node_modules/d3-drag/src/nodrag.js +9 -11
- package/dist/node_modules/d3-drag/src/noevent.js +4 -6
- package/dist/node_modules/d3-ease/src/cubic.js +2 -4
- package/dist/node_modules/d3-format/src/defaultLocale.js +6 -8
- package/dist/node_modules/d3-format/src/exponent.js +4 -6
- package/dist/node_modules/d3-format/src/formatDecimal.js +3 -5
- package/dist/node_modules/d3-format/src/formatGroup.js +2 -4
- package/dist/node_modules/d3-format/src/formatNumerals.js +2 -4
- package/dist/node_modules/d3-format/src/formatPrefixAuto.js +8 -10
- package/dist/node_modules/d3-format/src/formatRounded.js +4 -6
- package/dist/node_modules/d3-format/src/formatSpecifier.js +8 -10
- package/dist/node_modules/d3-format/src/formatTrim.js +2 -4
- package/dist/node_modules/d3-format/src/formatTypes.js +13 -15
- package/dist/node_modules/d3-format/src/identity.js +2 -4
- package/dist/node_modules/d3-format/src/locale.js +31 -33
- package/dist/node_modules/d3-format/src/precisionFixed.js +4 -6
- package/dist/node_modules/d3-format/src/precisionPrefix.js +4 -6
- package/dist/node_modules/d3-format/src/precisionRound.js +4 -6
- package/dist/node_modules/d3-hierarchy/src/accessors.js +2 -4
- package/dist/node_modules/d3-hierarchy/src/constant.js +3 -5
- package/dist/node_modules/d3-hierarchy/src/hierarchy/ancestors.js +2 -4
- package/dist/node_modules/d3-hierarchy/src/hierarchy/count.js +4 -6
- package/dist/node_modules/d3-hierarchy/src/hierarchy/descendants.js +2 -4
- package/dist/node_modules/d3-hierarchy/src/hierarchy/each.js +2 -4
- package/dist/node_modules/d3-hierarchy/src/hierarchy/eachAfter.js +2 -4
- package/dist/node_modules/d3-hierarchy/src/hierarchy/eachBefore.js +2 -4
- package/dist/node_modules/d3-hierarchy/src/hierarchy/find.js +2 -4
- package/dist/node_modules/d3-hierarchy/src/hierarchy/index.js +44 -46
- package/dist/node_modules/d3-hierarchy/src/hierarchy/iterator.js +2 -4
- package/dist/node_modules/d3-hierarchy/src/hierarchy/leaves.js +2 -4
- package/dist/node_modules/d3-hierarchy/src/hierarchy/links.js +2 -4
- package/dist/node_modules/d3-hierarchy/src/hierarchy/path.js +4 -6
- package/dist/node_modules/d3-hierarchy/src/hierarchy/sort.js +2 -4
- package/dist/node_modules/d3-hierarchy/src/hierarchy/sum.js +2 -4
- package/dist/node_modules/d3-hierarchy/src/treemap/dice.js +2 -4
- package/dist/node_modules/d3-hierarchy/src/treemap/index.js +14 -16
- package/dist/node_modules/d3-hierarchy/src/treemap/round.js +2 -4
- package/dist/node_modules/d3-hierarchy/src/treemap/slice.js +2 -4
- package/dist/node_modules/d3-hierarchy/src/treemap/squarify.js +9 -11
- package/dist/node_modules/d3-interpolate/src/array.js +4 -6
- package/dist/node_modules/d3-interpolate/src/basis.js +4 -6
- package/dist/node_modules/d3-interpolate/src/basisClosed.js +4 -6
- package/dist/node_modules/d3-interpolate/src/color.js +17 -19
- package/dist/node_modules/d3-interpolate/src/constant.js +2 -4
- package/dist/node_modules/d3-interpolate/src/date.js +2 -4
- package/dist/node_modules/d3-interpolate/src/hcl.js +6 -8
- package/dist/node_modules/d3-interpolate/src/number.js +2 -4
- package/dist/node_modules/d3-interpolate/src/numberArray.js +3 -5
- package/dist/node_modules/d3-interpolate/src/object.js +4 -6
- package/dist/node_modules/d3-interpolate/src/rgb.js +9 -11
- package/dist/node_modules/d3-interpolate/src/round.js +2 -4
- package/dist/node_modules/d3-interpolate/src/string.js +14 -16
- package/dist/node_modules/d3-interpolate/src/transform/decompose.js +5 -7
- package/dist/node_modules/d3-interpolate/src/transform/index.js +11 -13
- package/dist/node_modules/d3-interpolate/src/transform/parse.js +8 -10
- package/dist/node_modules/d3-interpolate/src/value.js +12 -14
- package/dist/node_modules/d3-interpolate/src/zoom.js +11 -13
- package/dist/node_modules/d3-path/src/path.js +14 -16
- package/dist/node_modules/d3-sankey/node_modules/d3-array/src/max.js +2 -4
- package/dist/node_modules/d3-sankey/node_modules/d3-array/src/min.js +2 -4
- package/dist/node_modules/d3-sankey/node_modules/d3-array/src/sum.js +2 -4
- package/dist/node_modules/d3-sankey/node_modules/d3-path/src/path.js +12 -13
- package/dist/node_modules/d3-sankey/node_modules/d3-shape/src/array.js +2 -4
- package/dist/node_modules/d3-sankey/node_modules/d3-shape/src/constant.js +2 -4
- package/dist/node_modules/d3-sankey/node_modules/d3-shape/src/link/index.js +17 -19
- package/dist/node_modules/d3-sankey/node_modules/d3-shape/src/point.js +3 -5
- package/dist/node_modules/d3-sankey/src/align.js +10 -12
- package/dist/node_modules/d3-sankey/src/constant.js +2 -4
- package/dist/node_modules/d3-sankey/src/sankey.js +168 -170
- package/dist/node_modules/d3-sankey/src/sankeyLinkHorizontal.js +6 -8
- package/dist/node_modules/d3-scale/src/band.js +9 -11
- package/dist/node_modules/d3-scale/src/constant.js +2 -4
- package/dist/node_modules/d3-scale/src/continuous.js +47 -49
- package/dist/node_modules/d3-scale/src/init.js +2 -4
- package/dist/node_modules/d3-scale/src/linear.js +13 -15
- package/dist/node_modules/d3-scale/src/nice.js +2 -4
- package/dist/node_modules/d3-scale/src/number.js +2 -4
- package/dist/node_modules/d3-scale/src/ordinal.js +16 -18
- package/dist/node_modules/d3-scale/src/tickFormat.js +14 -16
- package/dist/node_modules/d3-scale/src/time.js +34 -36
- package/dist/node_modules/d3-scale-chromatic/src/categorical/Tableau10.js +3 -5
- package/dist/node_modules/d3-scale-chromatic/src/colors.js +2 -4
- package/dist/node_modules/d3-selection/src/array.js +2 -4
- package/dist/node_modules/d3-selection/src/constant.js +2 -4
- package/dist/node_modules/d3-selection/src/creator.js +10 -12
- package/dist/node_modules/d3-selection/src/matcher.js +3 -5
- package/dist/node_modules/d3-selection/src/namespace.js +5 -7
- package/dist/node_modules/d3-selection/src/namespaces.js +3 -5
- package/dist/node_modules/d3-selection/src/pointer.js +4 -6
- package/dist/node_modules/d3-selection/src/select.js +4 -6
- package/dist/node_modules/d3-selection/src/selection/append.js +4 -6
- package/dist/node_modules/d3-selection/src/selection/attr.js +17 -19
- package/dist/node_modules/d3-selection/src/selection/call.js +2 -4
- package/dist/node_modules/d3-selection/src/selection/classed.js +23 -25
- package/dist/node_modules/d3-selection/src/selection/clone.js +5 -7
- package/dist/node_modules/d3-selection/src/selection/data.js +16 -18
- package/dist/node_modules/d3-selection/src/selection/datum.js +2 -4
- package/dist/node_modules/d3-selection/src/selection/dispatch.js +10 -12
- package/dist/node_modules/d3-selection/src/selection/each.js +2 -4
- package/dist/node_modules/d3-selection/src/selection/empty.js +2 -4
- package/dist/node_modules/d3-selection/src/selection/enter.js +11 -13
- package/dist/node_modules/d3-selection/src/selection/exit.js +5 -7
- package/dist/node_modules/d3-selection/src/selection/filter.js +6 -8
- package/dist/node_modules/d3-selection/src/selection/html.js +6 -8
- package/dist/node_modules/d3-selection/src/selection/index.js +79 -80
- package/dist/node_modules/d3-selection/src/selection/insert.js +6 -8
- package/dist/node_modules/d3-selection/src/selection/iterator.js +2 -4
- package/dist/node_modules/d3-selection/src/selection/join.js +2 -4
- package/dist/node_modules/d3-selection/src/selection/lower.js +4 -6
- package/dist/node_modules/d3-selection/src/selection/merge.js +4 -6
- package/dist/node_modules/d3-selection/src/selection/node.js +2 -4
- package/dist/node_modules/d3-selection/src/selection/nodes.js +2 -4
- package/dist/node_modules/d3-selection/src/selection/on.js +9 -11
- package/dist/node_modules/d3-selection/src/selection/order.js +2 -4
- package/dist/node_modules/d3-selection/src/selection/property.js +6 -8
- package/dist/node_modules/d3-selection/src/selection/raise.js +4 -6
- package/dist/node_modules/d3-selection/src/selection/remove.js +4 -6
- package/dist/node_modules/d3-selection/src/selection/select.js +6 -8
- package/dist/node_modules/d3-selection/src/selection/selectAll.js +9 -11
- package/dist/node_modules/d3-selection/src/selection/selectChild.js +8 -10
- package/dist/node_modules/d3-selection/src/selection/selectChildren.js +8 -10
- package/dist/node_modules/d3-selection/src/selection/size.js +2 -4
- package/dist/node_modules/d3-selection/src/selection/sort.js +6 -8
- package/dist/node_modules/d3-selection/src/selection/sparse.js +2 -4
- package/dist/node_modules/d3-selection/src/selection/style.js +12 -14
- package/dist/node_modules/d3-selection/src/selection/text.js +6 -8
- package/dist/node_modules/d3-selection/src/selector.js +4 -6
- package/dist/node_modules/d3-selection/src/selectorAll.js +4 -6
- package/dist/node_modules/d3-selection/src/sourceEvent.js +2 -4
- package/dist/node_modules/d3-selection/src/window.js +2 -4
- package/dist/node_modules/d3-shape/src/arc.js +36 -38
- package/dist/node_modules/d3-shape/src/array.js +2 -3
- package/dist/node_modules/d3-shape/src/constant.js +2 -4
- package/dist/node_modules/d3-shape/src/curve/basis.js +8 -10
- package/dist/node_modules/d3-shape/src/curve/basisClosed.js +16 -18
- package/dist/node_modules/d3-shape/src/curve/basisOpen.js +7 -9
- package/dist/node_modules/d3-shape/src/curve/bump.js +13 -15
- package/dist/node_modules/d3-shape/src/curve/bundle.js +7 -9
- package/dist/node_modules/d3-shape/src/curve/cardinal.js +8 -10
- package/dist/node_modules/d3-shape/src/curve/cardinalClosed.js +10 -12
- package/dist/node_modules/d3-shape/src/curve/cardinalOpen.js +7 -9
- package/dist/node_modules/d3-shape/src/curve/catmullRom.js +17 -19
- package/dist/node_modules/d3-shape/src/curve/catmullRomClosed.js +11 -13
- package/dist/node_modules/d3-shape/src/curve/catmullRomOpen.js +8 -10
- package/dist/node_modules/d3-shape/src/curve/linear.js +5 -7
- package/dist/node_modules/d3-shape/src/curve/linearClosed.js +10 -12
- package/dist/node_modules/d3-shape/src/curve/monotone.js +21 -23
- package/dist/node_modules/d3-shape/src/curve/natural.js +7 -9
- package/dist/node_modules/d3-shape/src/curve/step.js +17 -19
- package/dist/node_modules/d3-shape/src/descending.js +2 -4
- package/dist/node_modules/d3-shape/src/identity.js +2 -4
- package/dist/node_modules/d3-shape/src/line.js +17 -19
- package/dist/node_modules/d3-shape/src/math.js +6 -8
- package/dist/node_modules/d3-shape/src/noop.js +2 -4
- package/dist/node_modules/d3-shape/src/path.js +4 -6
- package/dist/node_modules/d3-shape/src/pie.js +13 -15
- package/dist/node_modules/d3-shape/src/point.js +3 -5
- package/dist/node_modules/d3-time/src/day.js +15 -17
- package/dist/node_modules/d3-time/src/duration.js +2 -4
- package/dist/node_modules/d3-time/src/hour.js +14 -16
- package/dist/node_modules/d3-time/src/interval.js +5 -7
- package/dist/node_modules/d3-time/src/millisecond.js +5 -7
- package/dist/node_modules/d3-time/src/minute.js +14 -16
- package/dist/node_modules/d3-time/src/month.js +12 -14
- package/dist/node_modules/d3-time/src/second.js +7 -9
- package/dist/node_modules/d3-time/src/ticks.js +64 -66
- package/dist/node_modules/d3-time/src/week.js +19 -21
- package/dist/node_modules/d3-time/src/year.js +8 -10
- package/dist/node_modules/d3-time-format/src/defaultLocale.js +6 -8
- package/dist/node_modules/d3-time-format/src/locale.js +344 -346
- package/dist/node_modules/d3-timer/src/timeout.js +4 -6
- package/dist/node_modules/d3-timer/src/timer.js +31 -33
- package/dist/node_modules/d3-transition/src/index.js +2 -2
- package/dist/node_modules/d3-transition/src/interrupt.js +3 -4
- package/dist/node_modules/d3-transition/src/selection/index.js +4 -5
- package/dist/node_modules/d3-transition/src/selection/interrupt.js +4 -6
- package/dist/node_modules/d3-transition/src/selection/transition.js +14 -16
- package/dist/node_modules/d3-transition/src/transition/attr.js +26 -28
- package/dist/node_modules/d3-transition/src/transition/attrTween.js +11 -13
- package/dist/node_modules/d3-transition/src/transition/delay.js +9 -11
- package/dist/node_modules/d3-transition/src/transition/duration.js +9 -11
- package/dist/node_modules/d3-transition/src/transition/ease.js +6 -8
- package/dist/node_modules/d3-transition/src/transition/easeVarying.js +6 -8
- package/dist/node_modules/d3-transition/src/transition/end.js +4 -6
- package/dist/node_modules/d3-transition/src/transition/filter.js +6 -8
- package/dist/node_modules/d3-transition/src/transition/index.js +61 -63
- package/dist/node_modules/d3-transition/src/transition/interpolate.js +7 -9
- package/dist/node_modules/d3-transition/src/transition/merge.js +4 -6
- package/dist/node_modules/d3-transition/src/transition/on.js +7 -9
- package/dist/node_modules/d3-transition/src/transition/remove.js +4 -6
- package/dist/node_modules/d3-transition/src/transition/schedule.js +18 -20
- package/dist/node_modules/d3-transition/src/transition/select.js +8 -10
- package/dist/node_modules/d3-transition/src/transition/selectAll.js +8 -10
- package/dist/node_modules/d3-transition/src/transition/selection.js +5 -7
- package/dist/node_modules/d3-transition/src/transition/style.js +19 -21
- package/dist/node_modules/d3-transition/src/transition/styleTween.js +6 -8
- package/dist/node_modules/d3-transition/src/transition/text.js +6 -8
- package/dist/node_modules/d3-transition/src/transition/textTween.js +6 -8
- package/dist/node_modules/d3-transition/src/transition/transition.js +8 -10
- package/dist/node_modules/d3-transition/src/transition/tween.js +12 -14
- package/dist/node_modules/d3-zoom/src/constant.js +2 -4
- package/dist/node_modules/d3-zoom/src/event.js +2 -4
- package/dist/node_modules/d3-zoom/src/index.js +2 -2
- package/dist/node_modules/d3-zoom/src/noevent.js +3 -5
- package/dist/node_modules/d3-zoom/src/transform.js +10 -12
- package/dist/node_modules/d3-zoom/src/zoom.js +114 -116
- package/dist/node_modules/dagre-d3-es/src/dagre/acyclic.js +12 -14
- package/dist/node_modules/dagre-d3-es/src/dagre/add-border-segments.js +9 -11
- package/dist/node_modules/dagre-d3-es/src/dagre/coordinate-system.js +34 -36
- package/dist/node_modules/dagre-d3-es/src/dagre/data/list.js +7 -9
- package/dist/node_modules/dagre-d3-es/src/dagre/greedy-fas.js +49 -51
- package/dist/node_modules/dagre-d3-es/src/dagre/index.js +2 -2
- package/dist/node_modules/dagre-d3-es/src/dagre/layout.js +163 -165
- package/dist/node_modules/dagre-d3-es/src/dagre/nesting-graph.js +43 -45
- package/dist/node_modules/dagre-d3-es/src/dagre/normalize.js +10 -12
- package/dist/node_modules/dagre-d3-es/src/dagre/order/add-subgraph-constraints.js +4 -6
- package/dist/node_modules/dagre-d3-es/src/dagre/order/barycenter.js +6 -8
- package/dist/node_modules/dagre-d3-es/src/dagre/order/build-layer-graph.js +12 -14
- package/dist/node_modules/dagre-d3-es/src/dagre/order/cross-count.js +20 -22
- package/dist/node_modules/dagre-d3-es/src/dagre/order/index.js +34 -36
- package/dist/node_modules/dagre-d3-es/src/dagre/order/init-order.js +13 -15
- package/dist/node_modules/dagre-d3-es/src/dagre/order/resolve-conflicts.js +30 -32
- package/dist/node_modules/dagre-d3-es/src/dagre/order/sort-subgraph.js +28 -30
- package/dist/node_modules/dagre-d3-es/src/dagre/order/sort.js +18 -20
- package/dist/node_modules/dagre-d3-es/src/dagre/parent-dummy-chains.js +10 -12
- package/dist/node_modules/dagre-d3-es/src/dagre/position/bk.js +148 -150
- package/dist/node_modules/dagre-d3-es/src/dagre/position/index.js +18 -20
- package/dist/node_modules/dagre-d3-es/src/dagre/rank/feasible-tree.js +17 -19
- package/dist/node_modules/dagre-d3-es/src/dagre/rank/index.js +14 -16
- package/dist/node_modules/dagre-d3-es/src/dagre/rank/network-simplex.js +63 -64
- package/dist/node_modules/dagre-d3-es/src/dagre/rank/util.js +8 -10
- package/dist/node_modules/dagre-d3-es/src/dagre/util.js +82 -84
- package/dist/node_modules/dagre-d3-es/src/graphlib/alg/dfs.js +13 -15
- package/dist/node_modules/dagre-d3-es/src/graphlib/alg/dijkstra.js +2 -3
- package/dist/node_modules/dagre-d3-es/src/graphlib/alg/floyd-warshall.js +2 -3
- package/dist/node_modules/dagre-d3-es/src/graphlib/alg/index.js +3 -3
- package/dist/node_modules/dagre-d3-es/src/graphlib/alg/postorder.js +4 -6
- package/dist/node_modules/dagre-d3-es/src/graphlib/alg/preorder.js +4 -6
- package/dist/node_modules/dagre-d3-es/src/graphlib/alg/topsort.js +11 -13
- package/dist/node_modules/dagre-d3-es/src/graphlib/graph.js +129 -131
- package/dist/node_modules/dagre-d3-es/src/graphlib/index.js +1 -1
- package/dist/node_modules/dagre-d3-es/src/graphlib/json.js +16 -18
- package/dist/node_modules/dayjs/dayjs.min.js +4 -6
- package/dist/node_modules/dayjs/plugin/advancedFormat.js +4 -6
- package/dist/node_modules/dayjs/plugin/customParseFormat.js +4 -6
- package/dist/node_modules/dayjs/plugin/duration.js +4 -6
- package/dist/node_modules/dayjs/plugin/isoWeek.js +4 -6
- package/dist/node_modules/decode-named-character-reference/index.dom.js +5 -7
- package/dist/node_modules/devlop/lib/default.js +2 -4
- package/dist/node_modules/dompurify/dist/purify.es.js +180 -182
- package/dist/node_modules/entities/dist/esm/decode-codepoint.js +4 -6
- package/dist/node_modules/entities/dist/esm/decode.js +85 -87
- package/dist/node_modules/entities/dist/esm/generated/decode-data-html.js +2 -4
- package/dist/node_modules/estree-util-is-identifier-name/lib/index.js +4 -6
- package/dist/node_modules/extend/index.js +6 -9
- package/dist/node_modules/hast-util-from-dom/lib/index.js +30 -32
- package/dist/node_modules/hast-util-from-html-isomorphic/lib/browser.js +8 -10
- package/dist/node_modules/hast-util-from-parse5/lib/index.js +80 -82
- package/dist/node_modules/hast-util-is-element/lib/index.js +15 -17
- package/dist/node_modules/hast-util-parse-selector/lib/index.js +5 -7
- package/dist/node_modules/hast-util-raw/lib/index.js +134 -136
- package/dist/node_modules/hast-util-raw/node_modules/parse5/dist/common/doctype.js +21 -23
- package/dist/node_modules/hast-util-raw/node_modules/parse5/dist/common/error-codes.js +3 -5
- package/dist/node_modules/hast-util-raw/node_modules/parse5/dist/common/foreign-content.js +89 -89
- package/dist/node_modules/hast-util-raw/node_modules/parse5/dist/common/html.js +249 -250
- package/dist/node_modules/hast-util-raw/node_modules/parse5/dist/common/token.js +4 -6
- package/dist/node_modules/hast-util-raw/node_modules/parse5/dist/common/unicode.js +14 -14
- package/dist/node_modules/hast-util-raw/node_modules/parse5/dist/index.js +4 -4
- package/dist/node_modules/hast-util-raw/node_modules/parse5/dist/parser/formatting-element-list.js +15 -17
- package/dist/node_modules/hast-util-raw/node_modules/parse5/dist/parser/index.js +1495 -1497
- package/dist/node_modules/hast-util-raw/node_modules/parse5/dist/parser/open-element-stack.js +146 -148
- package/dist/node_modules/hast-util-raw/node_modules/parse5/dist/serializer/index.js +19 -20
- package/dist/node_modules/hast-util-raw/node_modules/parse5/dist/tokenizer/index.js +798 -800
- package/dist/node_modules/hast-util-raw/node_modules/parse5/dist/tokenizer/preprocessor.js +31 -33
- package/dist/node_modules/hast-util-raw/node_modules/parse5/dist/tree-adapters/default.js +8 -10
- package/dist/node_modules/hast-util-sanitize/lib/index.js +104 -106
- package/dist/node_modules/hast-util-sanitize/lib/schema.js +11 -12
- package/dist/node_modules/hast-util-to-html/lib/handle/comment.js +7 -9
- package/dist/node_modules/hast-util-to-html/lib/handle/doctype.js +2 -4
- package/dist/node_modules/hast-util-to-html/lib/handle/element.js +23 -25
- package/dist/node_modules/hast-util-to-html/lib/handle/index.js +21 -22
- package/dist/node_modules/hast-util-to-html/lib/handle/raw.js +4 -6
- package/dist/node_modules/hast-util-to-html/lib/handle/root.js +2 -4
- package/dist/node_modules/hast-util-to-html/lib/handle/text.js +5 -7
- package/dist/node_modules/hast-util-to-html/lib/index.js +36 -38
- package/dist/node_modules/hast-util-to-html/lib/omission/closing.js +68 -70
- package/dist/node_modules/hast-util-to-html/lib/omission/omission.js +4 -6
- package/dist/node_modules/hast-util-to-html/lib/omission/opening.js +30 -32
- package/dist/node_modules/hast-util-to-html/lib/omission/util/siblings.js +9 -10
- package/dist/node_modules/hast-util-to-jsx-runtime/lib/index.js +190 -192
- package/dist/node_modules/hast-util-to-parse5/lib/index.js +69 -71
- package/dist/node_modules/hast-util-to-text/lib/index.js +59 -61
- package/dist/node_modules/hast-util-whitespace/lib/index.js +6 -8
- package/dist/node_modules/hastscript/lib/create-h.js +24 -26
- package/dist/node_modules/hastscript/lib/index.js +5 -7
- package/dist/node_modules/hastscript/lib/svg-case-sensitive-tag-names.js +2 -4
- package/dist/node_modules/html-url-attributes/lib/index.js +2 -4
- package/dist/node_modules/html-void-elements/index.js +2 -4
- package/dist/node_modules/inline-style-parser/cjs/index.js +4 -6
- package/dist/node_modules/internmap/src/index.js +20 -22
- package/dist/node_modules/katex/dist/katex.js +2307 -2301
- package/dist/node_modules/khroma/dist/channels/index.js +21 -23
- package/dist/node_modules/khroma/dist/channels/reusable.js +3 -5
- package/dist/node_modules/khroma/dist/channels/type.js +5 -7
- package/dist/node_modules/khroma/dist/color/hex.js +8 -10
- package/dist/node_modules/khroma/dist/color/hsl.js +17 -19
- package/dist/node_modules/khroma/dist/color/index.js +15 -17
- package/dist/node_modules/khroma/dist/color/keyword.js +8 -10
- package/dist/node_modules/khroma/dist/color/rgb.js +12 -14
- package/dist/node_modules/khroma/dist/constants.js +5 -7
- package/dist/node_modules/khroma/dist/methods/adjust.js +6 -8
- package/dist/node_modules/khroma/dist/methods/adjust_channel.js +6 -8
- package/dist/node_modules/khroma/dist/methods/change.js +7 -9
- package/dist/node_modules/khroma/dist/methods/channel.js +4 -6
- package/dist/node_modules/khroma/dist/methods/darken.js +3 -5
- package/dist/node_modules/khroma/dist/methods/invert.js +6 -8
- package/dist/node_modules/khroma/dist/methods/is_dark.js +3 -5
- package/dist/node_modules/khroma/dist/methods/is_light.js +3 -5
- package/dist/node_modules/khroma/dist/methods/lighten.js +3 -5
- package/dist/node_modules/khroma/dist/methods/luminance.js +6 -8
- package/dist/node_modules/khroma/dist/methods/mix.js +6 -8
- package/dist/node_modules/khroma/dist/methods/rgba.js +13 -15
- package/dist/node_modules/khroma/dist/methods/transparentize.js +3 -5
- package/dist/node_modules/khroma/dist/utils/channel.js +6 -8
- package/dist/node_modules/khroma/dist/utils/index.js +8 -10
- package/dist/node_modules/khroma/dist/utils/lang.js +2 -4
- package/dist/node_modules/khroma/dist/utils/unit.js +2 -4
- package/dist/node_modules/langium/lib/default-module.js +64 -66
- package/dist/node_modules/langium/lib/dependency-injection.js +39 -37
- package/dist/node_modules/langium/lib/documentation/comment-provider.js +5 -7
- package/dist/node_modules/langium/lib/documentation/documentation-provider.js +6 -8
- package/dist/node_modules/langium/lib/documentation/jsdoc.js +202 -204
- package/dist/node_modules/langium/lib/index.js +182 -0
- package/dist/node_modules/langium/lib/languages/generated/ast.js +534 -343
- package/dist/node_modules/langium/lib/languages/grammar-config.js +8 -10
- package/dist/node_modules/langium/lib/parser/async-parser.js +76 -4
- package/dist/node_modules/langium/lib/parser/completion-parser-builder.js +6 -8
- package/dist/node_modules/langium/lib/parser/cst-node-builder.js +54 -56
- package/dist/node_modules/langium/lib/parser/indentation-aware.js +141 -0
- package/dist/node_modules/langium/lib/parser/langium-parser-builder.js +7 -9
- package/dist/node_modules/langium/lib/parser/langium-parser.js +188 -190
- package/dist/node_modules/langium/lib/parser/lexer.js +25 -25
- package/dist/node_modules/langium/lib/parser/parser-builder-base.js +203 -204
- package/dist/node_modules/langium/lib/parser/token-builder.js +30 -32
- package/dist/node_modules/langium/lib/parser/value-converter.js +15 -17
- package/dist/node_modules/langium/lib/references/linker.js +103 -104
- package/dist/node_modules/langium/lib/references/name-provider.js +7 -9
- package/dist/node_modules/langium/lib/references/references.js +51 -53
- package/dist/node_modules/langium/lib/references/scope-computation.js +12 -14
- package/dist/node_modules/langium/lib/references/scope-provider.js +11 -13
- package/dist/node_modules/langium/lib/references/scope.js +56 -27
- package/dist/node_modules/langium/lib/serializer/hydrator.js +69 -71
- package/dist/node_modules/langium/lib/serializer/json-serializer.js +21 -23
- package/dist/node_modules/langium/lib/service-registry.js +5 -7
- package/dist/node_modules/langium/lib/syntax-tree.js +31 -33
- package/dist/node_modules/langium/lib/utils/ast-utils.js +112 -77
- package/dist/node_modules/langium/lib/utils/caching.js +42 -33
- package/dist/node_modules/langium/lib/utils/cancellation.js +5 -7
- package/dist/node_modules/langium/lib/utils/collections.js +33 -35
- package/dist/node_modules/langium/lib/utils/cst-utils.js +161 -46
- package/dist/node_modules/langium/lib/utils/disposable.js +3 -5
- package/dist/node_modules/langium/lib/utils/errors.js +9 -8
- package/dist/node_modules/langium/lib/utils/event.js +5 -7
- package/dist/node_modules/langium/lib/utils/grammar-loader.js +14 -16
- package/dist/node_modules/langium/lib/utils/grammar-utils.js +249 -172
- package/dist/node_modules/langium/lib/utils/index.js +53 -0
- package/dist/node_modules/langium/lib/utils/promise-utils.js +19 -18
- package/dist/node_modules/langium/lib/utils/regexp-utils.js +76 -53
- package/dist/node_modules/langium/lib/utils/stream.js +153 -155
- package/dist/node_modules/langium/lib/utils/uri-utils.js +12 -14
- package/dist/node_modules/langium/lib/validation/document-validator.js +103 -104
- package/dist/node_modules/langium/lib/validation/validation-registry.js +14 -15
- package/dist/node_modules/langium/lib/workspace/ast-descriptions.js +17 -19
- package/dist/node_modules/langium/lib/workspace/ast-node-locator.js +2 -4
- package/dist/node_modules/langium/lib/workspace/configuration.js +5 -7
- package/dist/node_modules/langium/lib/workspace/document-builder.js +134 -131
- package/dist/node_modules/langium/lib/workspace/documents.js +83 -85
- package/dist/node_modules/langium/lib/workspace/file-system-provider.js +4 -5
- package/dist/node_modules/langium/lib/workspace/index-manager.js +14 -16
- package/dist/node_modules/langium/lib/workspace/profiler.js +89 -0
- package/dist/node_modules/langium/lib/workspace/workspace-lock.js +9 -11
- package/dist/node_modules/langium/lib/workspace/workspace-manager.js +33 -35
- package/dist/node_modules/layout-base/layout-base.js +4 -6
- package/dist/node_modules/lodash/_Symbol.js +7 -0
- package/dist/node_modules/lodash/_baseGetTag.js +13 -0
- package/dist/node_modules/lodash/_baseTrim.js +11 -0
- package/dist/node_modules/lodash/_freeGlobal.js +6 -0
- package/dist/node_modules/lodash/_getRawTag.js +17 -0
- package/dist/node_modules/lodash/_objectToString.js +10 -0
- package/dist/node_modules/lodash/_root.js +8 -0
- package/dist/node_modules/lodash/_trimmedEndIndex.js +11 -0
- package/dist/{frontend/studio/node_modules → node_modules}/lodash/debounce.js +8 -10
- package/dist/node_modules/lodash/isObject.js +10 -0
- package/dist/node_modules/lodash/isObjectLike.js +9 -0
- package/dist/node_modules/lodash/isSymbol.js +12 -0
- package/dist/node_modules/lodash/now.js +10 -0
- package/dist/node_modules/lodash/toNumber.js +22 -0
- package/dist/node_modules/lodash-es/_DataView.js +4 -6
- package/dist/node_modules/lodash-es/_Hash.js +13 -14
- package/dist/node_modules/lodash-es/_ListCache.js +13 -14
- package/dist/node_modules/lodash-es/_Map.js +4 -6
- package/dist/node_modules/lodash-es/_MapCache.js +13 -14
- package/dist/node_modules/lodash-es/_Promise.js +4 -6
- package/dist/node_modules/lodash-es/_Set.js +4 -6
- package/dist/node_modules/lodash-es/_SetCache.js +9 -10
- package/dist/node_modules/lodash-es/_Stack.js +11 -12
- package/dist/node_modules/lodash-es/_Symbol.js +3 -5
- package/dist/node_modules/lodash-es/_Uint8Array.js +3 -5
- package/dist/node_modules/lodash-es/_WeakMap.js +4 -6
- package/dist/node_modules/lodash-es/_apply.js +3 -4
- package/dist/node_modules/lodash-es/_arrayEach.js +3 -4
- package/dist/node_modules/lodash-es/_arrayFilter.js +3 -4
- package/dist/node_modules/lodash-es/_arrayIncludes.js +5 -6
- package/dist/node_modules/lodash-es/_arrayIncludesWith.js +3 -4
- package/dist/node_modules/lodash-es/_arrayLikeKeys.js +12 -13
- package/dist/node_modules/lodash-es/_arrayMap.js +3 -4
- package/dist/node_modules/lodash-es/_arrayPush.js +3 -4
- package/dist/node_modules/lodash-es/_arrayReduce.js +3 -4
- package/dist/node_modules/lodash-es/_arraySome.js +3 -4
- package/dist/node_modules/lodash-es/_asciiSize.js +3 -5
- package/dist/node_modules/lodash-es/_assignMergeValue.js +6 -7
- package/dist/node_modules/lodash-es/_assignValue.js +7 -8
- package/dist/node_modules/lodash-es/_assocIndexOf.js +5 -6
- package/dist/node_modules/lodash-es/_baseAssign.js +6 -7
- package/dist/node_modules/lodash-es/_baseAssignIn.js +6 -7
- package/dist/node_modules/lodash-es/_baseAssignValue.js +5 -6
- package/dist/node_modules/lodash-es/_baseClone.js +50 -51
- package/dist/node_modules/lodash-es/_baseCreate.js +5 -7
- package/dist/node_modules/lodash-es/_baseEach.js +4 -6
- package/dist/node_modules/lodash-es/_baseExtremum.js +5 -6
- package/dist/node_modules/lodash-es/_baseFilter.js +5 -6
- package/dist/node_modules/lodash-es/_baseFindIndex.js +3 -4
- package/dist/node_modules/lodash-es/_baseFlatten.js +7 -8
- package/dist/node_modules/lodash-es/_baseFor.js +3 -5
- package/dist/node_modules/lodash-es/_baseForOwn.js +6 -7
- package/dist/node_modules/lodash-es/_baseGet.js +7 -8
- package/dist/node_modules/lodash-es/_baseGetAllKeys.js +6 -7
- package/dist/node_modules/lodash-es/_baseGetTag.js +8 -9
- package/dist/node_modules/lodash-es/_baseGt.js +3 -4
- package/dist/node_modules/lodash-es/_baseHas.js +5 -6
- package/dist/node_modules/lodash-es/_baseHasIn.js +3 -4
- package/dist/node_modules/lodash-es/_baseIndexOf.js +7 -8
- package/dist/node_modules/lodash-es/_baseIsArguments.js +7 -8
- package/dist/node_modules/lodash-es/_baseIsEqual.js +6 -7
- package/dist/node_modules/lodash-es/_baseIsEqualDeep.js +22 -23
- package/dist/node_modules/lodash-es/_baseIsMap.js +7 -8
- package/dist/node_modules/lodash-es/_baseIsMatch.js +8 -9
- package/dist/node_modules/lodash-es/_baseIsNaN.js +3 -4
- package/dist/node_modules/lodash-es/_baseIsNative.js +9 -10
- package/dist/node_modules/lodash-es/_baseIsSet.js +7 -8
- package/dist/node_modules/lodash-es/_baseIsTypedArray.js +9 -10
- package/dist/node_modules/lodash-es/_baseIteratee.js +9 -10
- package/dist/node_modules/lodash-es/_baseKeys.js +8 -9
- package/dist/node_modules/lodash-es/_baseKeysIn.js +10 -11
- package/dist/node_modules/lodash-es/_baseLt.js +3 -4
- package/dist/node_modules/lodash-es/_baseMap.js +7 -8
- package/dist/node_modules/lodash-es/_baseMatches.js +9 -10
- package/dist/node_modules/lodash-es/_baseMatchesProperty.js +14 -15
- package/dist/node_modules/lodash-es/_baseMerge.js +15 -16
- package/dist/node_modules/lodash-es/_baseMergeDeep.js +23 -24
- package/dist/node_modules/lodash-es/_baseOrderBy.js +22 -23
- package/dist/node_modules/lodash-es/_basePick.js +7 -8
- package/dist/node_modules/lodash-es/_basePickBy.js +8 -9
- package/dist/node_modules/lodash-es/_baseProperty.js +3 -4
- package/dist/node_modules/lodash-es/_basePropertyDeep.js +5 -6
- package/dist/node_modules/lodash-es/_baseRange.js +5 -6
- package/dist/node_modules/lodash-es/_baseReduce.js +3 -4
- package/dist/node_modules/lodash-es/_baseRest.js +7 -8
- package/dist/node_modules/lodash-es/_baseSet.js +13 -14
- package/dist/node_modules/lodash-es/_baseSetToString.js +8 -10
- package/dist/node_modules/lodash-es/_baseSortBy.js +3 -4
- package/dist/node_modules/lodash-es/_baseTimes.js +3 -4
- package/dist/node_modules/lodash-es/_baseToString.js +12 -13
- package/dist/node_modules/lodash-es/_baseTrim.js +6 -7
- package/dist/node_modules/lodash-es/_baseUnary.js +3 -4
- package/dist/node_modules/lodash-es/_baseUniq.js +16 -17
- package/dist/node_modules/lodash-es/_baseValues.js +5 -6
- package/dist/node_modules/lodash-es/_baseZipObject.js +3 -4
- package/dist/node_modules/lodash-es/_cacheHas.js +3 -4
- package/dist/node_modules/lodash-es/_castFunction.js +5 -6
- package/dist/node_modules/lodash-es/_castPath.js +8 -9
- package/dist/node_modules/lodash-es/_cloneArrayBuffer.js +5 -6
- package/dist/node_modules/lodash-es/_cloneBuffer.js +8 -9
- package/dist/node_modules/lodash-es/_cloneDataView.js +5 -6
- package/dist/node_modules/lodash-es/_cloneRegExp.js +5 -6
- package/dist/node_modules/lodash-es/_cloneSymbol.js +6 -7
- package/dist/node_modules/lodash-es/_cloneTypedArray.js +5 -6
- package/dist/node_modules/lodash-es/_compareAscending.js +5 -6
- package/dist/node_modules/lodash-es/_compareMultiple.js +5 -6
- package/dist/node_modules/lodash-es/_copyArray.js +3 -4
- package/dist/node_modules/lodash-es/_copyObject.js +6 -7
- package/dist/node_modules/lodash-es/_copySymbols.js +6 -7
- package/dist/node_modules/lodash-es/_copySymbolsIn.js +6 -7
- package/dist/node_modules/lodash-es/_coreJsData.js +3 -5
- package/dist/node_modules/lodash-es/_createAssigner.js +7 -8
- package/dist/node_modules/lodash-es/_createBaseEach.js +5 -6
- package/dist/node_modules/lodash-es/_createBaseFor.js +3 -4
- package/dist/node_modules/lodash-es/_createFind.js +9 -10
- package/dist/node_modules/lodash-es/_createRange.js +7 -8
- package/dist/node_modules/lodash-es/_createSet.js +7 -9
- package/dist/node_modules/lodash-es/_defineProperty.js +4 -6
- package/dist/node_modules/lodash-es/_equalArrays.js +11 -12
- package/dist/node_modules/lodash-es/_equalByTag.js +28 -29
- package/dist/node_modules/lodash-es/_equalObjects.js +8 -9
- package/dist/node_modules/lodash-es/_flatRest.js +7 -8
- package/dist/node_modules/lodash-es/_freeGlobal.js +2 -4
- package/dist/node_modules/lodash-es/_getAllKeys.js +7 -8
- package/dist/node_modules/lodash-es/_getAllKeysIn.js +7 -8
- package/dist/node_modules/lodash-es/_getMapData.js +5 -6
- package/dist/node_modules/lodash-es/_getMatchData.js +7 -8
- package/dist/node_modules/lodash-es/_getNative.js +7 -8
- package/dist/node_modules/lodash-es/_getPrototype.js +3 -5
- package/dist/node_modules/lodash-es/_getRawTag.js +9 -10
- package/dist/node_modules/lodash-es/_getSymbols.js +7 -9
- package/dist/node_modules/lodash-es/_getSymbolsIn.js +8 -10
- package/dist/node_modules/lodash-es/_getTag.js +19 -21
- package/dist/node_modules/lodash-es/_getValue.js +3 -4
- package/dist/node_modules/lodash-es/_hasPath.js +12 -13
- package/dist/node_modules/lodash-es/_hasUnicode.js +5 -6
- package/dist/node_modules/lodash-es/_hashClear.js +5 -6
- package/dist/node_modules/lodash-es/_hashDelete.js +4 -5
- package/dist/node_modules/lodash-es/_hashGet.js +8 -9
- package/dist/node_modules/lodash-es/_hashHas.js +6 -7
- package/dist/node_modules/lodash-es/_hashSet.js +6 -7
- package/dist/node_modules/lodash-es/_initCloneArray.js +5 -6
- package/dist/node_modules/lodash-es/_initCloneByTag.js +28 -29
- package/dist/node_modules/lodash-es/_initCloneObject.js +7 -8
- package/dist/node_modules/lodash-es/_isFlattenable.js +8 -9
- package/dist/node_modules/lodash-es/_isIndex.js +5 -6
- package/dist/node_modules/lodash-es/_isIterateeCall.js +9 -10
- package/dist/node_modules/lodash-es/_isKey.js +8 -9
- package/dist/node_modules/lodash-es/_isKeyable.js +3 -4
- package/dist/node_modules/lodash-es/_isMasked.js +8 -9
- package/dist/node_modules/lodash-es/_isPrototype.js +5 -6
- package/dist/node_modules/lodash-es/_isStrictComparable.js +5 -6
- package/dist/node_modules/lodash-es/_listCacheClear.js +3 -4
- package/dist/node_modules/lodash-es/_listCacheDelete.js +7 -8
- package/dist/node_modules/lodash-es/_listCacheGet.js +5 -6
- package/dist/node_modules/lodash-es/_listCacheHas.js +5 -6
- package/dist/node_modules/lodash-es/_listCacheSet.js +5 -6
- package/dist/node_modules/lodash-es/_mapCacheClear.js +9 -10
- package/dist/node_modules/lodash-es/_mapCacheDelete.js +6 -7
- package/dist/node_modules/lodash-es/_mapCacheGet.js +5 -6
- package/dist/node_modules/lodash-es/_mapCacheHas.js +5 -6
- package/dist/node_modules/lodash-es/_mapCacheSet.js +5 -6
- package/dist/node_modules/lodash-es/_mapToArray.js +3 -4
- package/dist/node_modules/lodash-es/_matchesStrictComparable.js +3 -4
- package/dist/node_modules/lodash-es/_memoizeCapped.js +7 -8
- package/dist/node_modules/lodash-es/_nativeCreate.js +3 -5
- package/dist/node_modules/lodash-es/_nativeKeys.js +3 -5
- package/dist/node_modules/lodash-es/_nativeKeysIn.js +3 -4
- package/dist/node_modules/lodash-es/_nodeUtil.js +4 -6
- package/dist/node_modules/lodash-es/_objectToString.js +5 -6
- package/dist/node_modules/lodash-es/_overArg.js +3 -4
- package/dist/node_modules/lodash-es/_overRest.js +8 -9
- package/dist/node_modules/lodash-es/_root.js +3 -5
- package/dist/node_modules/lodash-es/_safeGet.js +3 -4
- package/dist/node_modules/lodash-es/_setCacheAdd.js +5 -6
- package/dist/node_modules/lodash-es/_setCacheHas.js +3 -4
- package/dist/node_modules/lodash-es/_setToArray.js +3 -4
- package/dist/node_modules/lodash-es/_setToString.js +4 -6
- package/dist/node_modules/lodash-es/_shortOut.js +6 -7
- package/dist/node_modules/lodash-es/_stackClear.js +5 -6
- package/dist/node_modules/lodash-es/_stackDelete.js +3 -4
- package/dist/node_modules/lodash-es/_stackGet.js +3 -4
- package/dist/node_modules/lodash-es/_stackHas.js +3 -4
- package/dist/node_modules/lodash-es/_stackSet.js +10 -11
- package/dist/node_modules/lodash-es/_strictIndexOf.js +3 -4
- package/dist/node_modules/lodash-es/_stringSize.js +7 -8
- package/dist/node_modules/lodash-es/_stringToPath.js +5 -7
- package/dist/node_modules/lodash-es/_toKey.js +7 -8
- package/dist/node_modules/lodash-es/_toSource.js +7 -8
- package/dist/node_modules/lodash-es/_trimmedEndIndex.js +5 -6
- package/dist/node_modules/lodash-es/_unicodeSize.js +16 -17
- package/dist/node_modules/lodash-es/clone.js +6 -7
- package/dist/node_modules/lodash-es/cloneDeep.js +6 -7
- package/dist/node_modules/lodash-es/constant.js +3 -4
- package/dist/node_modules/lodash-es/defaults.js +11 -13
- package/dist/node_modules/lodash-es/eq.js +3 -4
- package/dist/node_modules/lodash-es/filter.js +8 -9
- package/dist/node_modules/lodash-es/find.js +4 -6
- package/dist/node_modules/lodash-es/findIndex.js +9 -10
- package/dist/node_modules/lodash-es/flatMap.js +6 -7
- package/dist/node_modules/lodash-es/flatten.js +5 -6
- package/dist/node_modules/lodash-es/forEach.js +8 -9
- package/dist/node_modules/lodash-es/forIn.js +7 -8
- package/dist/node_modules/lodash-es/forOwn.js +6 -7
- package/dist/node_modules/lodash-es/get.js +5 -6
- package/dist/node_modules/lodash-es/has.js +6 -7
- package/dist/node_modules/lodash-es/hasIn.js +6 -7
- package/dist/node_modules/lodash-es/identity.js +3 -4
- package/dist/node_modules/lodash-es/isArguments.js +6 -8
- package/dist/node_modules/lodash-es/isArray.js +2 -4
- package/dist/node_modules/lodash-es/isArrayLike.js +6 -7
- package/dist/node_modules/lodash-es/isArrayLikeObject.js +6 -7
- package/dist/node_modules/lodash-es/isBuffer.js +4 -6
- package/dist/node_modules/lodash-es/isEmpty.js +17 -18
- package/dist/node_modules/lodash-es/isFunction.js +9 -10
- package/dist/node_modules/lodash-es/isLength.js +5 -6
- package/dist/node_modules/lodash-es/isMap.js +5 -7
- package/dist/node_modules/lodash-es/isObject.js +3 -4
- package/dist/node_modules/lodash-es/isObjectLike.js +3 -4
- package/dist/node_modules/lodash-es/isPlainObject.js +12 -13
- package/dist/node_modules/lodash-es/isSet.js +5 -7
- package/dist/node_modules/lodash-es/isString.js +8 -9
- package/dist/node_modules/lodash-es/isSymbol.js +7 -8
- package/dist/node_modules/lodash-es/isTypedArray.js +5 -7
- package/dist/node_modules/lodash-es/isUndefined.js +3 -4
- package/dist/node_modules/lodash-es/keys.js +7 -8
- package/dist/node_modules/lodash-es/keysIn.js +7 -8
- package/dist/node_modules/lodash-es/last.js +3 -4
- package/dist/node_modules/lodash-es/map.js +8 -9
- package/dist/node_modules/lodash-es/mapValues.js +8 -9
- package/dist/node_modules/lodash-es/max.js +7 -8
- package/dist/node_modules/lodash-es/memoize.js +8 -9
- package/dist/node_modules/lodash-es/merge.js +5 -7
- package/dist/node_modules/lodash-es/min.js +7 -8
- package/dist/node_modules/lodash-es/minBy.js +7 -8
- package/dist/node_modules/lodash-es/noop.js +3 -4
- package/dist/node_modules/lodash-es/now.js +4 -6
- package/dist/node_modules/lodash-es/pick.js +5 -7
- package/dist/node_modules/lodash-es/property.js +8 -9
- package/dist/node_modules/lodash-es/range.js +3 -5
- package/dist/node_modules/lodash-es/reduce.js +10 -11
- package/dist/node_modules/lodash-es/size.js +12 -13
- package/dist/node_modules/lodash-es/sortBy.js +7 -9
- package/dist/node_modules/lodash-es/stubArray.js +3 -4
- package/dist/node_modules/lodash-es/stubFalse.js +3 -4
- package/dist/node_modules/lodash-es/toFinite.js +6 -7
- package/dist/node_modules/lodash-es/toInteger.js +5 -6
- package/dist/node_modules/lodash-es/toNumber.js +13 -14
- package/dist/node_modules/lodash-es/toPlainObject.js +6 -7
- package/dist/node_modules/lodash-es/toString.js +5 -6
- package/dist/node_modules/lodash-es/union.js +7 -9
- package/dist/node_modules/lodash-es/uniqBy.js +6 -7
- package/dist/node_modules/lodash-es/uniqueId.js +7 -8
- package/dist/node_modules/lodash-es/values.js +6 -7
- package/dist/node_modules/lodash-es/zipObject.js +6 -7
- package/dist/node_modules/longest-streak/index.js +2 -4
- package/dist/node_modules/markdown-table/index.js +9 -11
- package/dist/node_modules/marked/lib/marked.esm.js +685 -687
- package/dist/node_modules/mdast-util-find-and-replace/lib/index.js +12 -14
- package/dist/node_modules/mdast-util-find-and-replace/node_modules/escape-string-regexp/index.js +2 -4
- package/dist/node_modules/mdast-util-from-markdown/lib/index.js +180 -182
- package/dist/node_modules/mdast-util-gfm/lib/index.js +18 -20
- package/dist/node_modules/mdast-util-gfm-autolink-literal/lib/index.js +67 -69
- package/dist/node_modules/mdast-util-gfm-footnote/lib/index.js +45 -47
- package/dist/node_modules/mdast-util-gfm-strikethrough/lib/index.js +13 -15
- package/dist/node_modules/mdast-util-gfm-table/lib/index.js +28 -30
- package/dist/node_modules/mdast-util-gfm-task-list-item/lib/index.js +14 -16
- package/dist/node_modules/mdast-util-math/lib/index.js +13 -15
- package/dist/node_modules/mdast-util-phrasing/lib/index.js +3 -5
- package/dist/node_modules/mdast-util-to-hast/lib/footer.js +9 -11
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/blockquote.js +2 -4
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/break.js +2 -4
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/code.js +2 -4
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/delete.js +2 -4
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/emphasis.js +2 -4
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/footnote-reference.js +4 -6
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/heading.js +2 -4
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/html.js +2 -4
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/image-reference.js +6 -8
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/image.js +4 -6
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/index.js +53 -55
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/inline-code.js +2 -4
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/link-reference.js +6 -8
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/link.js +4 -6
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/list-item.js +13 -15
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/list.js +2 -4
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/paragraph.js +2 -4
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/root.js +2 -4
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/strong.js +2 -4
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/table-cell.js +2 -4
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/table-row.js +2 -4
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/table.js +4 -6
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/text.js +4 -6
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/thematic-break.js +2 -4
- package/dist/node_modules/mdast-util-to-hast/lib/index.js +6 -8
- package/dist/node_modules/mdast-util-to-hast/lib/revert.js +2 -4
- package/dist/node_modules/mdast-util-to-hast/lib/state.js +59 -61
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/blockquote.js +4 -6
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/break.js +4 -6
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/code.js +16 -18
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/definition.js +4 -6
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/emphasis.js +12 -14
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/heading.js +6 -8
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/html.js +4 -6
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/image-reference.js +4 -6
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/image.js +6 -8
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/index.js +41 -43
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/inline-code.js +5 -7
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/link-reference.js +4 -6
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/link.js +9 -11
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/list-item.js +5 -7
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/list.js +10 -12
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/paragraph.js +2 -4
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/root.js +4 -6
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/strong.js +12 -14
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/text.js +2 -4
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/thematic-break.js +5 -7
- package/dist/node_modules/mdast-util-to-markdown/lib/util/check-bullet-ordered.js +2 -4
- package/dist/node_modules/mdast-util-to-markdown/lib/util/check-bullet-other.js +4 -6
- package/dist/node_modules/mdast-util-to-markdown/lib/util/check-bullet.js +2 -4
- package/dist/node_modules/mdast-util-to-markdown/lib/util/check-emphasis.js +2 -4
- package/dist/node_modules/mdast-util-to-markdown/lib/util/check-fence.js +2 -4
- package/dist/node_modules/mdast-util-to-markdown/lib/util/check-list-item-indent.js +2 -4
- package/dist/node_modules/mdast-util-to-markdown/lib/util/check-quote.js +2 -4
- package/dist/node_modules/mdast-util-to-markdown/lib/util/check-rule-repetition.js +2 -4
- package/dist/node_modules/mdast-util-to-markdown/lib/util/check-rule.js +2 -4
- package/dist/node_modules/mdast-util-to-markdown/lib/util/check-strong.js +2 -4
- package/dist/node_modules/mdast-util-to-markdown/lib/util/encode-character-reference.js +2 -4
- package/dist/node_modules/mdast-util-to-markdown/lib/util/encode-info.js +4 -6
- package/dist/node_modules/mdast-util-to-markdown/lib/util/format-code-as-indented.js +2 -4
- package/dist/node_modules/mdast-util-to-markdown/lib/util/format-heading-as-setext.js +7 -8
- package/dist/node_modules/mdast-util-to-markdown/lib/util/format-link-as-autolink.js +4 -6
- package/dist/node_modules/mdast-util-to-markdown/lib/util/pattern-in-scope.js +4 -6
- package/dist/node_modules/mdast-util-to-string/lib/index.js +12 -14
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/architectureDiagram-Q4EWVU46.js +374 -378
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/blockDiagram-DXYQGD6D.js +1347 -1349
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/c4Diagram-AHTNJAMY.js +549 -555
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-336JU56O.js +38 -40
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-426QAEUC.js +7 -9
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-4BX2VUAB.js +4 -6
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-4TB4RGXK.js +198 -204
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-55IACEB6.js +5 -7
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-5FUZZQ4R.js +2345 -2347
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-5PVQY5BW.js +253 -257
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-AGHRB4JF.js +20 -22
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-BSJP7CBP.js +35 -37
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-EDXVE4YY.js +15 -17
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-ENJZ2VHE.js +344 -346
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-FMBD7UC4.js +3 -5
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-ICPOFSXX.js +718 -746
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-OYMX7WX6.js +588 -594
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-QZHKN3VN.js +4 -8
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-U2HBQHQK.js +204 -206
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-X2U36JSP.js +37 -39
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-XPW4576I.js +891 -893
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-YZCP3GAM.js +37 -39
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-ZZ45TVLE.js +13 -15
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/classDiagram-6PBFFD2Q.js +9 -11
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/classDiagram-v2-HSJHXN6E.js +9 -11
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/cose-bilkent-S5V4N54A.js +114 -116
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/dagre-KV5264BT.js +188 -190
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/diagram-5BDNPKRD.js +70 -72
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/diagram-G4DWMVQ6.js +185 -189
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/diagram-MMDJMWI5.js +154 -156
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/diagram-TYMM5635.js +72 -76
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/erDiagram-SMLLAGMA.js +75 -79
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/flowDiagram-DWJPFMVM.js +896 -900
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/ganttDiagram-T4ZO3ILL.js +685 -687
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/gitGraphDiagram-UUTBAWPF.js +569 -571
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/infoDiagram-42DDH7IO.js +15 -17
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/ishikawaDiagram-UXIWVN3A.js +304 -308
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/journeyDiagram-VCZTEJTY.js +377 -379
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/kanban-definition-6JOO6SKY.js +114 -116
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/mindmap-definition-QFDTVHPH.js +87 -91
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/pieDiagram-DEJITSTG.js +94 -96
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/quadrantDiagram-34T5L4WZ.js +273 -279
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/requirementDiagram-MS252O5E.js +59 -63
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/sankeyDiagram-XADWPNL6.js +202 -212
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/sequenceDiagram-FGHM5R23.js +564 -568
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/stateDiagram-FHFEXIEX.js +155 -157
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/stateDiagram-v2-QKLJ7IA2.js +9 -11
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/timeline-definition-GMOUNBTQ.js +559 -561
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/vennDiagram-DHZGUBPP.js +370 -372
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/wardleyDiagram-NUSXRM2D.js +450 -454
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/xychartDiagram-5P7HB3ND.js +658 -680
- package/dist/node_modules/mermaid/dist/mermaid.core.js +430 -434
- package/dist/node_modules/micromark/lib/constructs.js +79 -80
- package/dist/node_modules/micromark/lib/create-tokenizer.js +12 -14
- package/dist/node_modules/micromark/lib/initialize/content.js +7 -9
- package/dist/node_modules/micromark/lib/initialize/document.js +14 -15
- package/dist/node_modules/micromark/lib/initialize/flow.js +7 -9
- package/dist/node_modules/micromark/lib/initialize/text.js +6 -8
- package/dist/node_modules/micromark/lib/parse.js +18 -20
- package/dist/node_modules/micromark/lib/postprocess.js +4 -6
- package/dist/node_modules/micromark/lib/preprocess.js +4 -6
- package/dist/node_modules/micromark-core-commonmark/lib/attention.js +18 -20
- package/dist/node_modules/micromark-core-commonmark/lib/autolink.js +15 -17
- package/dist/node_modules/micromark-core-commonmark/lib/blank-line.js +9 -11
- package/dist/node_modules/micromark-core-commonmark/lib/block-quote.js +13 -15
- package/dist/node_modules/micromark-core-commonmark/lib/character-escape.js +6 -8
- package/dist/node_modules/micromark-core-commonmark/lib/character-reference.js +14 -16
- package/dist/node_modules/micromark-core-commonmark/lib/code-fenced.js +21 -22
- package/dist/node_modules/micromark-core-commonmark/lib/code-indented.js +15 -16
- package/dist/node_modules/micromark-core-commonmark/lib/code-text.js +11 -13
- package/dist/node_modules/micromark-core-commonmark/lib/content.js +17 -18
- package/dist/node_modules/micromark-core-commonmark/lib/definition.js +29 -30
- package/dist/node_modules/micromark-core-commonmark/lib/hard-break-escape.js +6 -8
- package/dist/node_modules/micromark-core-commonmark/lib/heading-atx.js +13 -15
- package/dist/node_modules/micromark-core-commonmark/lib/html-flow.js +67 -68
- package/dist/node_modules/micromark-core-commonmark/lib/html-text.js +64 -66
- package/dist/node_modules/micromark-core-commonmark/lib/label-end.js +111 -112
- package/dist/node_modules/micromark-core-commonmark/lib/label-start-image.js +6 -8
- package/dist/node_modules/micromark-core-commonmark/lib/label-start-link.js +6 -8
- package/dist/node_modules/micromark-core-commonmark/lib/line-ending.js +6 -8
- package/dist/node_modules/micromark-core-commonmark/lib/list.js +31 -32
- package/dist/node_modules/micromark-core-commonmark/lib/setext-underline.js +10 -12
- package/dist/node_modules/micromark-core-commonmark/lib/thematic-break.js +9 -11
- package/dist/node_modules/micromark-extension-gfm/index.js +14 -16
- package/dist/node_modules/micromark-extension-gfm-autolink-literal/lib/syntax.js +120 -122
- package/dist/node_modules/micromark-extension-gfm-footnote/lib/syntax.js +31 -33
- package/dist/node_modules/micromark-extension-gfm-strikethrough/lib/syntax.js +9 -11
- package/dist/node_modules/micromark-extension-gfm-table/lib/edit-map.js +4 -6
- package/dist/node_modules/micromark-extension-gfm-table/lib/infer.js +2 -4
- package/dist/node_modules/micromark-extension-gfm-table/lib/syntax.js +34 -36
- package/dist/node_modules/micromark-extension-gfm-task-list-item/lib/syntax.js +18 -20
- package/dist/node_modules/micromark-extension-math/lib/math-flow.js +20 -21
- package/dist/node_modules/micromark-extension-math/lib/math-text.js +9 -11
- package/dist/node_modules/micromark-extension-math/lib/syntax.js +6 -8
- package/dist/node_modules/micromark-factory-destination/index.js +8 -10
- package/dist/node_modules/micromark-factory-label/index.js +5 -7
- package/dist/node_modules/micromark-factory-space/index.js +5 -7
- package/dist/node_modules/micromark-factory-title/index.js +6 -8
- package/dist/node_modules/micromark-factory-whitespace/index.js +5 -7
- package/dist/node_modules/micromark-util-character/index.js +12 -14
- package/dist/node_modules/micromark-util-chunked/index.js +4 -6
- package/dist/node_modules/micromark-util-classify-character/index.js +5 -7
- package/dist/node_modules/micromark-util-combine-extensions/index.js +11 -13
- package/dist/node_modules/micromark-util-decode-numeric-character-reference/index.js +2 -4
- package/dist/node_modules/micromark-util-decode-string/index.js +9 -11
- package/dist/node_modules/micromark-util-html-tag-name/index.js +2 -4
- package/dist/node_modules/micromark-util-normalize-identifier/index.js +2 -4
- package/dist/node_modules/micromark-util-resolve-all/index.js +2 -4
- package/dist/node_modules/micromark-util-sanitize-uri/index.js +4 -6
- package/dist/node_modules/micromark-util-subtokenize/index.js +8 -10
- package/dist/node_modules/micromark-util-subtokenize/lib/splice-buffer.js +8 -10
- package/dist/node_modules/motion/dist/es/react.js +2 -2
- package/dist/node_modules/nanoid/index.browser.js +4 -6
- package/dist/node_modules/nanoid/url-alphabet/index.js +2 -4
- package/dist/node_modules/property-information/index.js +23 -25
- package/dist/node_modules/property-information/lib/aria.js +39 -41
- package/dist/node_modules/property-information/lib/find.js +16 -18
- package/dist/node_modules/property-information/lib/hast-to-react.js +2 -4
- package/dist/node_modules/property-information/lib/html.js +94 -96
- package/dist/node_modules/property-information/lib/normalize.js +2 -4
- package/dist/node_modules/property-information/lib/svg.js +77 -79
- package/dist/node_modules/property-information/lib/util/case-insensitive-transform.js +4 -6
- package/dist/node_modules/property-information/lib/util/case-sensitive-transform.js +2 -4
- package/dist/node_modules/property-information/lib/util/create.js +8 -10
- package/dist/node_modules/property-information/lib/util/defined-info.js +11 -13
- package/dist/node_modules/property-information/lib/util/info.js +3 -5
- package/dist/node_modules/property-information/lib/util/merge.js +4 -6
- package/dist/node_modules/property-information/lib/util/schema.js +3 -5
- package/dist/node_modules/property-information/lib/util/types.js +14 -15
- package/dist/node_modules/property-information/lib/xlink.js +3 -5
- package/dist/node_modules/property-information/lib/xml.js +3 -5
- package/dist/node_modules/property-information/lib/xmlns.js +5 -7
- package/dist/node_modules/rehype-harden/dist/index.js +45 -47
- package/dist/node_modules/rehype-katex/lib/index.js +23 -25
- package/dist/node_modules/rehype-raw/lib/index.js +4 -6
- package/dist/node_modules/rehype-sanitize/lib/index.js +4 -6
- package/dist/node_modules/remark-gfm/lib/index.js +7 -9
- package/dist/node_modules/remark-math/lib/index.js +7 -9
- package/dist/node_modules/remark-parse/lib/index.js +4 -6
- package/dist/node_modules/remark-rehype/lib/index.js +5 -7
- package/dist/node_modules/remend/dist/index.js +324 -326
- package/dist/node_modules/roughjs/bundled/rough.esm.js +875 -877
- package/dist/node_modules/shiki/dist/bundle-full.js +12 -13
- package/dist/node_modules/shiki/dist/chunk-CtajNgzt.js +8 -10
- package/dist/node_modules/shiki/dist/engine-oniguruma.js +5 -7
- package/dist/node_modules/shiki/dist/langs-bundle-full-DfKZStlK.js +5 -7
- package/dist/node_modules/shiki/dist/themes.js +3 -5
- package/dist/node_modules/shiki/dist/wasm.js +2 -2
- package/dist/node_modules/space-separated-tokens/index.js +3 -5
- package/dist/node_modules/streamdown/dist/chunk-BO2N2NFS.js +699 -701
- package/dist/node_modules/streamdown/dist/highlighted-body-OFNGDK62.js +8 -10
- package/dist/node_modules/streamdown/dist/index.js +1 -1
- package/dist/node_modules/streamdown/dist/mermaid-GHXKKRXX.js +2 -2
- package/dist/node_modules/streamdown/node_modules/marked/lib/marked.esm.js +712 -709
- package/dist/node_modules/stringify-entities/lib/constant/dangerous.js +2 -4
- package/dist/node_modules/stringify-entities/lib/core.js +16 -18
- package/dist/node_modules/stringify-entities/lib/index.js +5 -7
- package/dist/node_modules/stringify-entities/lib/util/format-smart.js +8 -10
- package/dist/node_modules/stringify-entities/lib/util/to-decimal.js +4 -6
- package/dist/node_modules/stringify-entities/lib/util/to-hexadecimal.js +4 -6
- package/dist/node_modules/stringify-entities/lib/util/to-named.js +12 -14
- package/dist/node_modules/style-to-js/cjs/index.js +7 -9
- package/dist/node_modules/style-to-js/cjs/utilities.js +4 -6
- package/dist/node_modules/style-to-object/cjs/index.js +6 -8
- package/dist/node_modules/stylis/src/Enum.js +2 -4
- package/dist/node_modules/stylis/src/Parser.js +36 -38
- package/dist/node_modules/stylis/src/Serializer.js +15 -17
- package/dist/node_modules/stylis/src/Tokenizer.js +51 -53
- package/dist/node_modules/stylis/src/Utility.js +15 -17
- package/dist/node_modules/trim-lines/index.js +8 -10
- package/dist/node_modules/trough/lib/index.js +4 -6
- package/dist/node_modules/ts-dedent/esm/index.js +2 -4
- package/dist/node_modules/unified/lib/callable-instance.js +2 -4
- package/dist/node_modules/unified/lib/index.js +101 -102
- package/dist/node_modules/unified/node_modules/is-plain-obj/index.js +2 -4
- package/dist/node_modules/unist-util-find-after/lib/index.js +4 -6
- package/dist/node_modules/unist-util-is/lib/index.js +29 -31
- package/dist/node_modules/unist-util-position/lib/index.js +5 -7
- package/dist/node_modules/unist-util-stringify-position/lib/index.js +8 -10
- package/dist/node_modules/unist-util-visit/lib/index.js +4 -6
- package/dist/node_modules/unist-util-visit-parents/lib/color.js +2 -4
- package/dist/node_modules/unist-util-visit-parents/lib/index.js +20 -21
- package/dist/node_modules/uuid/dist/esm-browser/native.js +2 -3
- package/dist/node_modules/uuid/dist/esm-browser/rng.js +6 -8
- package/dist/node_modules/uuid/dist/esm-browser/stringify.js +5 -7
- package/dist/node_modules/uuid/dist/esm-browser/v4.js +9 -10
- package/dist/node_modules/vaul/dist/index.js +274 -276
- package/dist/node_modules/vfile/lib/index.js +42 -44
- package/dist/node_modules/vfile/lib/minpath.browser.js +20 -22
- package/dist/node_modules/vfile/lib/minproc.browser.js +3 -5
- package/dist/node_modules/vfile/lib/minurl.browser.js +6 -8
- package/dist/node_modules/vfile/lib/minurl.shared.js +2 -4
- package/dist/node_modules/vfile-location/lib/index.js +5 -7
- package/dist/node_modules/vfile-message/lib/index.js +5 -7
- package/dist/node_modules/vscode-jsonrpc/browser.js +6 -8
- package/dist/node_modules/vscode-jsonrpc/lib/browser/main.js +9 -11
- package/dist/node_modules/vscode-jsonrpc/lib/browser/ril.js +6 -8
- package/dist/node_modules/vscode-jsonrpc/lib/common/api.js +26 -28
- package/dist/node_modules/vscode-jsonrpc/lib/common/cancellation.js +15 -17
- package/dist/node_modules/vscode-jsonrpc/lib/common/connection.js +11 -13
- package/dist/node_modules/vscode-jsonrpc/lib/common/disposable.js +4 -6
- package/dist/node_modules/vscode-jsonrpc/lib/common/events.js +6 -8
- package/dist/node_modules/vscode-jsonrpc/lib/common/is.js +4 -6
- package/dist/node_modules/vscode-jsonrpc/lib/common/linkedMap.js +4 -6
- package/dist/node_modules/vscode-jsonrpc/lib/common/messageBuffer.js +4 -6
- package/dist/node_modules/vscode-jsonrpc/lib/common/messageReader.js +9 -11
- package/dist/node_modules/vscode-jsonrpc/lib/common/messageWriter.js +29 -31
- package/dist/node_modules/vscode-jsonrpc/lib/common/messages.js +6 -8
- package/dist/node_modules/vscode-jsonrpc/lib/common/ral.js +4 -6
- package/dist/node_modules/vscode-jsonrpc/lib/common/semaphore.js +6 -8
- package/dist/node_modules/vscode-jsonrpc/lib/common/sharedArrayCancellation.js +6 -8
- package/dist/node_modules/vscode-languageserver-protocol/lib/browser/main.js +8 -10
- package/dist/node_modules/vscode-languageserver-protocol/lib/common/api.js +21 -23
- package/dist/node_modules/vscode-languageserver-protocol/lib/common/connection.js +6 -8
- package/dist/node_modules/vscode-languageserver-protocol/lib/common/messages.js +6 -8
- package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.callHierarchy.js +6 -8
- package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.colorProvider.js +6 -8
- package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.configuration.js +6 -8
- package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.declaration.js +6 -8
- package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.diagnostic.js +12 -14
- package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.fileOperations.js +6 -8
- package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.foldingRange.js +6 -8
- package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.implementation.js +6 -8
- package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.inlayHint.js +6 -8
- package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.inlineCompletion.js +6 -8
- package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.inlineValue.js +6 -8
- package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.js +53 -55
- package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.linkedEditingRange.js +6 -8
- package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.moniker.js +6 -8
- package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.notebook.js +8 -10
- package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.progress.js +10 -12
- package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.selectionRange.js +6 -8
- package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.semanticTokens.js +6 -8
- package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.showDocument.js +6 -8
- package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.typeDefinition.js +6 -8
- package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.typeHierarchy.js +6 -8
- package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.workspaceFolder.js +6 -8
- package/dist/node_modules/vscode-languageserver-protocol/lib/common/utils/is.js +4 -6
- package/dist/node_modules/vscode-languageserver-textdocument/lib/esm/main.js +19 -21
- package/dist/node_modules/vscode-languageserver-types/lib/esm/main.js +847 -849
- package/dist/node_modules/vscode-uri/lib/esm/index.js +4 -6
- package/dist/node_modules/web-namespaces/index.js +2 -4
- package/dist/node_modules/zwitch/index.js +5 -7
- package/dist/packages/contracts/dist/enums/index.js +12 -14
- package/dist/packages/contracts/dist/enums/registry.enum.js +4 -6
- package/dist/packages/contracts/dist/enums/sort-order.enum.js +4 -6
- package/dist/packages/contracts/dist/enums/user-type.enum.js +4 -6
- package/dist/packages/contracts/dist/enums/workflow-state.enum.js +4 -6
- package/dist/pages/DashboardPage.js +78 -59
- package/dist/pages/DebugPage.js +17 -12
- package/dist/pages/DebugWorkflowDetailsPage.js +105 -91
- package/dist/pages/DebugWorkflowsPage.js +162 -125
- package/dist/pages/EmbedWorkbenchPage.js +63 -48
- package/dist/pages/PreviewWorkbenchPage.js +370 -271
- package/dist/pages/RunsListPage.js +46 -43
- package/dist/pages/RunsPage.js +33 -31
- package/dist/pages/StudioLandingPage.js +132 -97
- package/dist/pages/WorkbenchPage.js +65 -57
- package/dist/pages/WorkflowDebugPage.js +96 -74
- package/dist/pages/WorkspacePage.js +88 -72
- package/dist/pages/WorkspaceRunsPage.js +75 -43
- package/dist/pages/WorkspacesPage.js +17 -22
- package/dist/providers/ComponentOverridesProvider.js +12 -9
- package/dist/providers/InvalidationEventsProvider.js +35 -33
- package/dist/providers/QueryProvider.js +18 -14
- package/dist/providers/SseProvider.js +29 -28
- package/dist/providers/StudioPreferencesProvider.js +54 -0
- package/dist/providers/StudioProvider.js +19 -14
- package/dist/routing/LocalRouter.js +9 -6
- package/dist/services/createApiClient.js +5 -7
- package/dist/services/eventEmitter.js +2 -3
- package/dist/services/index.js +2 -2
- package/dist/types/ai.types.js +5 -7
- package/package.json +8 -8
- package/dist/_virtual/_rolldown/runtime.js +0 -20
- package/dist/features/documents/renderers/SecretInputRenderer.js +0 -89
- package/dist/features/workbench/components/RemoteFileTabsBar.js +0 -19
- package/dist/features/workbench/components/RemoteFileTree.js +0 -59
- package/dist/features/workbench/components/WorkbenchFilesPanel.js +0 -56
- package/dist/features/workbench/components/WorkbenchFloatingPanel.js +0 -40
- package/dist/features/workbench/components/WorkbenchFlowPanel.js +0 -38
- package/dist/features/workbench/components/WorkbenchSecretsPanel.js +0 -153
- package/dist/features/workbench/providers/RemoteFileExplorerProvider.js +0 -145
- package/dist/frontend/studio/node_modules/lodash/_Symbol.js +0 -9
- package/dist/frontend/studio/node_modules/lodash/_baseGetTag.js +0 -15
- package/dist/frontend/studio/node_modules/lodash/_baseTrim.js +0 -13
- package/dist/frontend/studio/node_modules/lodash/_freeGlobal.js +0 -8
- package/dist/frontend/studio/node_modules/lodash/_getRawTag.js +0 -19
- package/dist/frontend/studio/node_modules/lodash/_objectToString.js +0 -12
- package/dist/frontend/studio/node_modules/lodash/_root.js +0 -10
- package/dist/frontend/studio/node_modules/lodash/_trimmedEndIndex.js +0 -13
- package/dist/frontend/studio/node_modules/lodash/isObject.js +0 -12
- package/dist/frontend/studio/node_modules/lodash/isObjectLike.js +0 -11
- package/dist/frontend/studio/node_modules/lodash/isSymbol.js +0 -14
- package/dist/frontend/studio/node_modules/lodash/now.js +0 -12
- package/dist/frontend/studio/node_modules/lodash/toNumber.js +0 -24
- package/dist/node_modules/@dagrejs/dagre/dist/dagre.esm.js +0 -1867
|
@@ -1,678 +1,677 @@
|
|
|
1
|
-
import { __name
|
|
2
|
-
import { clear
|
|
3
|
-
import
|
|
1
|
+
import { __name, log } from "./chunk-AGHRB4JF.js";
|
|
2
|
+
import { clear, common_default, defaultConfig_default, getAccDescription, getAccTitle, getConfig, getConfig2, getDiagramTitle, setAccDescription, setAccTitle, setDiagramTitle, setupGraphViewbox2 } from "./chunk-ICPOFSXX.js";
|
|
3
|
+
import select_default from "../../../../d3-selection/src/select.js";
|
|
4
4
|
import "../../../../d3/src/index.js";
|
|
5
|
-
import { cleanAndMerge
|
|
6
|
-
import { populateCommonDb
|
|
7
|
-
import { parse
|
|
8
|
-
import { ImperativeState
|
|
9
|
-
|
|
10
|
-
var x = {
|
|
5
|
+
import { cleanAndMerge, random, utils_default } from "./chunk-5PVQY5BW.js";
|
|
6
|
+
import { populateCommonDb } from "./chunk-4BX2VUAB.js";
|
|
7
|
+
import { parse } from "../../../../@mermaid-js/parser/dist/mermaid-parser.core.js";
|
|
8
|
+
import { ImperativeState } from "./chunk-QZHKN3VN.js";
|
|
9
|
+
var commitType = {
|
|
11
10
|
NORMAL: 0,
|
|
12
11
|
REVERSE: 1,
|
|
13
12
|
HIGHLIGHT: 2,
|
|
14
13
|
MERGE: 3,
|
|
15
14
|
CHERRY_PICK: 4
|
|
16
|
-
},
|
|
17
|
-
...
|
|
18
|
-
...
|
|
19
|
-
}), "getConfig"),
|
|
20
|
-
let
|
|
15
|
+
}, DEFAULT_GITGRAPH_CONFIG = defaultConfig_default.gitGraph, getConfig3 = /* @__PURE__ */ __name(() => cleanAndMerge({
|
|
16
|
+
...DEFAULT_GITGRAPH_CONFIG,
|
|
17
|
+
...getConfig().gitGraph
|
|
18
|
+
}), "getConfig"), state = new ImperativeState(() => {
|
|
19
|
+
let i = getConfig3(), N = i.mainBranchName, P = i.mainBranchOrder;
|
|
21
20
|
return {
|
|
22
|
-
mainBranchName:
|
|
21
|
+
mainBranchName: N,
|
|
23
22
|
commits: /* @__PURE__ */ new Map(),
|
|
24
23
|
head: null,
|
|
25
|
-
branchConfig: /* @__PURE__ */ new Map([[
|
|
26
|
-
name:
|
|
27
|
-
order:
|
|
24
|
+
branchConfig: /* @__PURE__ */ new Map([[N, {
|
|
25
|
+
name: N,
|
|
26
|
+
order: P
|
|
28
27
|
}]]),
|
|
29
|
-
branches: /* @__PURE__ */ new Map([[
|
|
30
|
-
currBranch:
|
|
28
|
+
branches: /* @__PURE__ */ new Map([[N, null]]),
|
|
29
|
+
currBranch: N,
|
|
31
30
|
direction: "LR",
|
|
32
31
|
seq: 0,
|
|
33
32
|
options: {}
|
|
34
33
|
};
|
|
35
34
|
});
|
|
36
|
-
function
|
|
37
|
-
return
|
|
35
|
+
function getID() {
|
|
36
|
+
return random({ length: 7 });
|
|
38
37
|
}
|
|
39
|
-
|
|
40
|
-
function
|
|
41
|
-
let
|
|
42
|
-
return
|
|
43
|
-
let
|
|
44
|
-
return
|
|
38
|
+
__name(getID, "getID");
|
|
39
|
+
function uniqBy(i, N) {
|
|
40
|
+
let P = /* @__PURE__ */ Object.create(null);
|
|
41
|
+
return i.reduce((i, F) => {
|
|
42
|
+
let I = N(F);
|
|
43
|
+
return P[I] || (P[I] = !0, i.push(F)), i;
|
|
45
44
|
}, []);
|
|
46
45
|
}
|
|
47
|
-
|
|
48
|
-
var
|
|
49
|
-
|
|
50
|
-
}, "setDirection"),
|
|
51
|
-
|
|
46
|
+
__name(uniqBy, "uniqBy");
|
|
47
|
+
var setDirection = /* @__PURE__ */ __name(function(i) {
|
|
48
|
+
state.records.direction = i;
|
|
49
|
+
}, "setDirection"), setOptions = /* @__PURE__ */ __name(function(i) {
|
|
50
|
+
log.debug("options str", i), i = i?.trim(), i ||= "{}";
|
|
52
51
|
try {
|
|
53
|
-
|
|
54
|
-
} catch (
|
|
55
|
-
|
|
52
|
+
state.records.options = JSON.parse(i);
|
|
53
|
+
} catch (i) {
|
|
54
|
+
log.error("error while parsing gitGraph options", i.message);
|
|
56
55
|
}
|
|
57
|
-
}, "setOptions"),
|
|
58
|
-
return
|
|
59
|
-
}, "getOptions"),
|
|
60
|
-
let
|
|
61
|
-
|
|
62
|
-
let
|
|
63
|
-
|
|
64
|
-
let
|
|
65
|
-
id:
|
|
66
|
-
message:
|
|
67
|
-
seq:
|
|
68
|
-
type:
|
|
69
|
-
tags:
|
|
70
|
-
parents:
|
|
71
|
-
branch:
|
|
56
|
+
}, "setOptions"), getOptions = /* @__PURE__ */ __name(function() {
|
|
57
|
+
return state.records.options;
|
|
58
|
+
}, "getOptions"), commit = /* @__PURE__ */ __name(function(i) {
|
|
59
|
+
let P = i.msg, I = i.id, L = i.type, R = i.tags;
|
|
60
|
+
log.info("commit", P, I, L, R), log.debug("Entering commit:", P, I, L, R);
|
|
61
|
+
let z = getConfig3();
|
|
62
|
+
I = common_default.sanitizeText(I, z), P = common_default.sanitizeText(P, z), R = R?.map((i) => common_default.sanitizeText(i, z));
|
|
63
|
+
let B = {
|
|
64
|
+
id: I || state.records.seq + "-" + getID(),
|
|
65
|
+
message: P,
|
|
66
|
+
seq: state.records.seq++,
|
|
67
|
+
type: L ?? commitType.NORMAL,
|
|
68
|
+
tags: R ?? [],
|
|
69
|
+
parents: state.records.head == null ? [] : [state.records.head.id],
|
|
70
|
+
branch: state.records.currBranch
|
|
72
71
|
};
|
|
73
|
-
|
|
74
|
-
}, "commit"),
|
|
75
|
-
let
|
|
76
|
-
if (
|
|
77
|
-
|
|
78
|
-
name:
|
|
79
|
-
order:
|
|
80
|
-
}),
|
|
81
|
-
}, "branch"),
|
|
82
|
-
let
|
|
83
|
-
|
|
84
|
-
let
|
|
85
|
-
if (
|
|
86
|
-
if (
|
|
87
|
-
let
|
|
88
|
-
throw
|
|
89
|
-
text: `merge ${
|
|
90
|
-
token: `merge ${
|
|
72
|
+
state.records.head = B, log.info("main branch", z.mainBranchName), state.records.commits.has(B.id) && log.warn(`Commit ID ${B.id} already exists`), state.records.commits.set(B.id, B), state.records.branches.set(state.records.currBranch, B.id), log.debug("in pushCommit " + B.id);
|
|
73
|
+
}, "commit"), branch = /* @__PURE__ */ __name(function(i) {
|
|
74
|
+
let P = i.name, I = i.order;
|
|
75
|
+
if (P = common_default.sanitizeText(P, getConfig3()), state.records.branches.has(P)) 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 ${P}")`);
|
|
76
|
+
state.records.branches.set(P, state.records.head == null ? null : state.records.head.id), state.records.branchConfig.set(P, {
|
|
77
|
+
name: P,
|
|
78
|
+
order: I
|
|
79
|
+
}), checkout(P), log.debug("in createBranch");
|
|
80
|
+
}, "branch"), merge = /* @__PURE__ */ __name((i) => {
|
|
81
|
+
let P = i.branch, I = i.id, L = i.type, R = i.tags, z = getConfig3();
|
|
82
|
+
P = common_default.sanitizeText(P, z), I &&= common_default.sanitizeText(I, z);
|
|
83
|
+
let B = state.records.branches.get(state.records.currBranch), V = state.records.branches.get(P), H = B ? state.records.commits.get(B) : void 0, U = V ? state.records.commits.get(V) : void 0;
|
|
84
|
+
if (H && U && H.branch === P) throw Error(`Cannot merge branch '${P}' into itself.`);
|
|
85
|
+
if (state.records.currBranch === P) {
|
|
86
|
+
let i = /* @__PURE__ */ Error("Incorrect usage of \"merge\". Cannot merge a branch to itself");
|
|
87
|
+
throw i.hash = {
|
|
88
|
+
text: `merge ${P}`,
|
|
89
|
+
token: `merge ${P}`,
|
|
91
90
|
expected: ["branch abc"]
|
|
92
|
-
},
|
|
91
|
+
}, i;
|
|
93
92
|
}
|
|
94
|
-
if (
|
|
95
|
-
let
|
|
96
|
-
throw
|
|
97
|
-
text: `merge ${
|
|
98
|
-
token: `merge ${
|
|
93
|
+
if (H === void 0 || !H) {
|
|
94
|
+
let i = /* @__PURE__ */ Error(`Incorrect usage of "merge". Current branch (${state.records.currBranch})has no commits`);
|
|
95
|
+
throw i.hash = {
|
|
96
|
+
text: `merge ${P}`,
|
|
97
|
+
token: `merge ${P}`,
|
|
99
98
|
expected: ["commit"]
|
|
100
|
-
},
|
|
99
|
+
}, i;
|
|
101
100
|
}
|
|
102
|
-
if (!
|
|
103
|
-
let
|
|
104
|
-
throw
|
|
105
|
-
text: `merge ${
|
|
106
|
-
token: `merge ${
|
|
107
|
-
expected: [`branch ${
|
|
108
|
-
},
|
|
101
|
+
if (!state.records.branches.has(P)) {
|
|
102
|
+
let i = /* @__PURE__ */ Error("Incorrect usage of \"merge\". Branch to be merged (" + P + ") does not exist");
|
|
103
|
+
throw i.hash = {
|
|
104
|
+
text: `merge ${P}`,
|
|
105
|
+
token: `merge ${P}`,
|
|
106
|
+
expected: [`branch ${P}`]
|
|
107
|
+
}, i;
|
|
109
108
|
}
|
|
110
|
-
if (
|
|
111
|
-
let
|
|
112
|
-
throw
|
|
113
|
-
text: `merge ${
|
|
114
|
-
token: `merge ${
|
|
109
|
+
if (U === void 0 || !U) {
|
|
110
|
+
let i = /* @__PURE__ */ Error("Incorrect usage of \"merge\". Branch to be merged (" + P + ") has no commits");
|
|
111
|
+
throw i.hash = {
|
|
112
|
+
text: `merge ${P}`,
|
|
113
|
+
token: `merge ${P}`,
|
|
115
114
|
expected: ["\"commit\""]
|
|
116
|
-
},
|
|
115
|
+
}, i;
|
|
117
116
|
}
|
|
118
|
-
if (
|
|
119
|
-
let
|
|
120
|
-
throw
|
|
121
|
-
text: `merge ${
|
|
122
|
-
token: `merge ${
|
|
117
|
+
if (H === U) {
|
|
118
|
+
let i = /* @__PURE__ */ Error("Incorrect usage of \"merge\". Both branches have same head");
|
|
119
|
+
throw i.hash = {
|
|
120
|
+
text: `merge ${P}`,
|
|
121
|
+
token: `merge ${P}`,
|
|
123
122
|
expected: ["branch abc"]
|
|
124
|
-
},
|
|
123
|
+
}, i;
|
|
125
124
|
}
|
|
126
|
-
if (
|
|
127
|
-
let
|
|
128
|
-
throw
|
|
129
|
-
text: `merge ${
|
|
130
|
-
token: `merge ${
|
|
131
|
-
expected: [`merge ${
|
|
132
|
-
},
|
|
125
|
+
if (I && state.records.commits.has(I)) {
|
|
126
|
+
let i = /* @__PURE__ */ Error("Incorrect usage of \"merge\". Commit with id:" + I + " already exists, use different custom id");
|
|
127
|
+
throw i.hash = {
|
|
128
|
+
text: `merge ${P} ${I} ${L} ${R?.join(" ")}`,
|
|
129
|
+
token: `merge ${P} ${I} ${L} ${R?.join(" ")}`,
|
|
130
|
+
expected: [`merge ${P} ${I}_UNIQUE ${L} ${R?.join(" ")}`]
|
|
131
|
+
}, i;
|
|
133
132
|
}
|
|
134
|
-
let
|
|
135
|
-
id:
|
|
136
|
-
message: `merged branch ${
|
|
137
|
-
seq:
|
|
138
|
-
parents:
|
|
139
|
-
branch:
|
|
140
|
-
type:
|
|
141
|
-
customType:
|
|
142
|
-
customId: !!
|
|
143
|
-
tags:
|
|
133
|
+
let W = V || "", G = {
|
|
134
|
+
id: I || `${state.records.seq}-${getID()}`,
|
|
135
|
+
message: `merged branch ${P} into ${state.records.currBranch}`,
|
|
136
|
+
seq: state.records.seq++,
|
|
137
|
+
parents: state.records.head == null ? [] : [state.records.head.id, W],
|
|
138
|
+
branch: state.records.currBranch,
|
|
139
|
+
type: commitType.MERGE,
|
|
140
|
+
customType: L,
|
|
141
|
+
customId: !!I,
|
|
142
|
+
tags: R ?? []
|
|
144
143
|
};
|
|
145
|
-
|
|
146
|
-
}, "merge"),
|
|
147
|
-
let
|
|
148
|
-
|
|
149
|
-
let
|
|
150
|
-
if (
|
|
151
|
-
let
|
|
152
|
-
throw
|
|
153
|
-
text: `cherryPick ${
|
|
154
|
-
token: `cherryPick ${
|
|
144
|
+
state.records.head = G, state.records.commits.set(G.id, G), state.records.branches.set(state.records.currBranch, G.id), log.debug(state.records.branches), log.debug("in mergeBranch");
|
|
145
|
+
}, "merge"), cherryPick = /* @__PURE__ */ __name(function(i) {
|
|
146
|
+
let P = i.id, I = i.targetId, L = i.tags, R = i.parent;
|
|
147
|
+
log.debug("Entering cherryPick:", P, I, L);
|
|
148
|
+
let z = getConfig3();
|
|
149
|
+
if (P = common_default.sanitizeText(P, z), I = common_default.sanitizeText(I, z), L = L?.map((i) => common_default.sanitizeText(i, z)), R = common_default.sanitizeText(R, z), !P || !state.records.commits.has(P)) {
|
|
150
|
+
let i = /* @__PURE__ */ Error("Incorrect usage of \"cherryPick\". Source commit id should exist and provided");
|
|
151
|
+
throw i.hash = {
|
|
152
|
+
text: `cherryPick ${P} ${I}`,
|
|
153
|
+
token: `cherryPick ${P} ${I}`,
|
|
155
154
|
expected: ["cherry-pick abc"]
|
|
156
|
-
},
|
|
155
|
+
}, i;
|
|
157
156
|
}
|
|
158
|
-
let
|
|
159
|
-
if (
|
|
160
|
-
if (
|
|
161
|
-
let
|
|
162
|
-
if (
|
|
163
|
-
if (!
|
|
164
|
-
if (
|
|
165
|
-
let
|
|
166
|
-
throw
|
|
167
|
-
text: `cherryPick ${
|
|
168
|
-
token: `cherryPick ${
|
|
157
|
+
let B = state.records.commits.get(P);
|
|
158
|
+
if (B === void 0 || !B) throw Error("Incorrect usage of \"cherryPick\". Source commit id should exist and provided");
|
|
159
|
+
if (R && !(Array.isArray(B.parents) && B.parents.includes(R))) throw /* @__PURE__ */ Error("Invalid operation: The specified parent commit is not an immediate parent of the cherry-picked commit.");
|
|
160
|
+
let V = B.branch;
|
|
161
|
+
if (B.type === commitType.MERGE && !R) throw /* @__PURE__ */ Error("Incorrect usage of cherry-pick: If the source commit is a merge commit, an immediate parent commit must be specified.");
|
|
162
|
+
if (!I || !state.records.commits.has(I)) {
|
|
163
|
+
if (V === state.records.currBranch) {
|
|
164
|
+
let i = /* @__PURE__ */ Error("Incorrect usage of \"cherryPick\". Source commit is already on current branch");
|
|
165
|
+
throw i.hash = {
|
|
166
|
+
text: `cherryPick ${P} ${I}`,
|
|
167
|
+
token: `cherryPick ${P} ${I}`,
|
|
169
168
|
expected: ["cherry-pick abc"]
|
|
170
|
-
},
|
|
169
|
+
}, i;
|
|
171
170
|
}
|
|
172
|
-
let
|
|
173
|
-
if (
|
|
174
|
-
let
|
|
175
|
-
throw
|
|
176
|
-
text: `cherryPick ${
|
|
177
|
-
token: `cherryPick ${
|
|
171
|
+
let i = state.records.branches.get(state.records.currBranch);
|
|
172
|
+
if (i === void 0 || !i) {
|
|
173
|
+
let i = /* @__PURE__ */ Error(`Incorrect usage of "cherry-pick". Current branch (${state.records.currBranch})has no commits`);
|
|
174
|
+
throw i.hash = {
|
|
175
|
+
text: `cherryPick ${P} ${I}`,
|
|
176
|
+
token: `cherryPick ${P} ${I}`,
|
|
178
177
|
expected: ["cherry-pick abc"]
|
|
179
|
-
},
|
|
178
|
+
}, i;
|
|
180
179
|
}
|
|
181
|
-
let
|
|
182
|
-
if (
|
|
183
|
-
let
|
|
184
|
-
throw
|
|
185
|
-
text: `cherryPick ${
|
|
186
|
-
token: `cherryPick ${
|
|
180
|
+
let F = state.records.commits.get(i);
|
|
181
|
+
if (F === void 0 || !F) {
|
|
182
|
+
let i = /* @__PURE__ */ Error(`Incorrect usage of "cherry-pick". Current branch (${state.records.currBranch})has no commits`);
|
|
183
|
+
throw i.hash = {
|
|
184
|
+
text: `cherryPick ${P} ${I}`,
|
|
185
|
+
token: `cherryPick ${P} ${I}`,
|
|
187
186
|
expected: ["cherry-pick abc"]
|
|
188
|
-
},
|
|
187
|
+
}, i;
|
|
189
188
|
}
|
|
190
|
-
let
|
|
191
|
-
id:
|
|
192
|
-
message: `cherry-picked ${
|
|
193
|
-
seq:
|
|
194
|
-
parents:
|
|
195
|
-
branch:
|
|
196
|
-
type:
|
|
197
|
-
tags:
|
|
189
|
+
let z = {
|
|
190
|
+
id: state.records.seq + "-" + getID(),
|
|
191
|
+
message: `cherry-picked ${B?.message} into ${state.records.currBranch}`,
|
|
192
|
+
seq: state.records.seq++,
|
|
193
|
+
parents: state.records.head == null ? [] : [state.records.head.id, B.id],
|
|
194
|
+
branch: state.records.currBranch,
|
|
195
|
+
type: commitType.CHERRY_PICK,
|
|
196
|
+
tags: L ? L.filter(Boolean) : [`cherry-pick:${B.id}${B.type === commitType.MERGE ? `|parent:${R}` : ""}`]
|
|
198
197
|
};
|
|
199
|
-
|
|
198
|
+
state.records.head = z, state.records.commits.set(z.id, z), state.records.branches.set(state.records.currBranch, z.id), log.debug(state.records.branches), log.debug("in cherryPick");
|
|
200
199
|
}
|
|
201
|
-
}, "cherryPick"),
|
|
202
|
-
if (
|
|
203
|
-
|
|
204
|
-
let
|
|
205
|
-
|
|
200
|
+
}, "cherryPick"), checkout = /* @__PURE__ */ __name(function(i) {
|
|
201
|
+
if (i = common_default.sanitizeText(i, getConfig3()), state.records.branches.has(i)) {
|
|
202
|
+
state.records.currBranch = i;
|
|
203
|
+
let N = state.records.branches.get(state.records.currBranch);
|
|
204
|
+
N === void 0 || !N ? state.records.head = null : state.records.head = state.records.commits.get(N) ?? null;
|
|
206
205
|
} else {
|
|
207
|
-
let
|
|
208
|
-
throw
|
|
209
|
-
text: `checkout ${
|
|
210
|
-
token: `checkout ${
|
|
211
|
-
expected: [`branch ${
|
|
212
|
-
},
|
|
206
|
+
let N = /* @__PURE__ */ Error(`Trying to checkout branch which is not yet created. (Help try using "branch ${i}")`);
|
|
207
|
+
throw N.hash = {
|
|
208
|
+
text: `checkout ${i}`,
|
|
209
|
+
token: `checkout ${i}`,
|
|
210
|
+
expected: [`branch ${i}`]
|
|
211
|
+
}, N;
|
|
213
212
|
}
|
|
214
213
|
}, "checkout");
|
|
215
|
-
function
|
|
216
|
-
let
|
|
217
|
-
|
|
214
|
+
function upsert(i, N, P) {
|
|
215
|
+
let F = i.indexOf(N);
|
|
216
|
+
F === -1 ? i.push(P) : i.splice(F, 1, P);
|
|
218
217
|
}
|
|
219
|
-
|
|
220
|
-
function
|
|
221
|
-
let
|
|
222
|
-
|
|
223
|
-
|
|
218
|
+
__name(upsert, "upsert");
|
|
219
|
+
function prettyPrintCommitHistory(i) {
|
|
220
|
+
let P = i.reduce((i, N) => i.seq > N.seq ? i : N, i[0]), F = "";
|
|
221
|
+
i.forEach(function(i) {
|
|
222
|
+
i === P ? F += " *" : F += " |";
|
|
224
223
|
});
|
|
225
|
-
let
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
224
|
+
let I = [
|
|
225
|
+
F,
|
|
226
|
+
P.id,
|
|
227
|
+
P.seq
|
|
229
228
|
];
|
|
230
|
-
for (let
|
|
231
|
-
if (
|
|
232
|
-
let
|
|
233
|
-
|
|
234
|
-
} else if (
|
|
235
|
-
else if (
|
|
236
|
-
let
|
|
237
|
-
|
|
229
|
+
for (let i in state.records.branches) state.records.branches.get(i) === P.id && I.push(i);
|
|
230
|
+
if (log.debug(I.join(" ")), P.parents && P.parents.length == 2 && P.parents[0] && P.parents[1]) {
|
|
231
|
+
let N = state.records.commits.get(P.parents[0]);
|
|
232
|
+
upsert(i, P, N), P.parents[1] && i.push(state.records.commits.get(P.parents[1]));
|
|
233
|
+
} else if (P.parents.length == 0) return;
|
|
234
|
+
else if (P.parents[0]) {
|
|
235
|
+
let N = state.records.commits.get(P.parents[0]);
|
|
236
|
+
upsert(i, P, N);
|
|
238
237
|
}
|
|
239
|
-
|
|
238
|
+
i = uniqBy(i, (i) => i.id), prettyPrintCommitHistory(i);
|
|
240
239
|
}
|
|
241
|
-
|
|
242
|
-
var
|
|
243
|
-
|
|
244
|
-
let
|
|
245
|
-
|
|
246
|
-
}, "prettyPrint"),
|
|
247
|
-
|
|
248
|
-
}, "clear"),
|
|
249
|
-
return [...
|
|
250
|
-
...
|
|
251
|
-
order: parseFloat(`0.${
|
|
252
|
-
}).sort((
|
|
253
|
-
}, "getBranchesAsObjArray"),
|
|
254
|
-
return
|
|
255
|
-
}, "getBranches"),
|
|
256
|
-
return
|
|
257
|
-
}, "getCommits"),
|
|
258
|
-
let
|
|
259
|
-
return
|
|
260
|
-
|
|
261
|
-
}),
|
|
262
|
-
}, "getCommitsArray"),
|
|
263
|
-
commitType
|
|
264
|
-
getConfig:
|
|
265
|
-
setDirection
|
|
266
|
-
setOptions
|
|
267
|
-
getOptions
|
|
268
|
-
commit
|
|
269
|
-
branch
|
|
270
|
-
merge
|
|
271
|
-
cherryPick
|
|
272
|
-
checkout
|
|
273
|
-
prettyPrint
|
|
274
|
-
clear:
|
|
275
|
-
getBranchesAsObjArray
|
|
276
|
-
getBranches
|
|
277
|
-
getCommits
|
|
278
|
-
getCommitsArray
|
|
279
|
-
getCurrentBranch: /* @__PURE__ */
|
|
280
|
-
return
|
|
240
|
+
__name(prettyPrintCommitHistory, "prettyPrintCommitHistory");
|
|
241
|
+
var prettyPrint = /* @__PURE__ */ __name(function() {
|
|
242
|
+
log.debug(state.records.commits);
|
|
243
|
+
let i = getCommitsArray()[0];
|
|
244
|
+
prettyPrintCommitHistory([i]);
|
|
245
|
+
}, "prettyPrint"), clear2 = /* @__PURE__ */ __name(function() {
|
|
246
|
+
state.reset(), clear();
|
|
247
|
+
}, "clear"), getBranchesAsObjArray = /* @__PURE__ */ __name(function() {
|
|
248
|
+
return [...state.records.branchConfig.values()].map((i, N) => i.order !== null && i.order !== void 0 ? i : {
|
|
249
|
+
...i,
|
|
250
|
+
order: parseFloat(`0.${N}`)
|
|
251
|
+
}).sort((i, N) => (i.order ?? 0) - (N.order ?? 0)).map(({ name: i }) => ({ name: i }));
|
|
252
|
+
}, "getBranchesAsObjArray"), getBranches = /* @__PURE__ */ __name(function() {
|
|
253
|
+
return state.records.branches;
|
|
254
|
+
}, "getBranches"), getCommits = /* @__PURE__ */ __name(function() {
|
|
255
|
+
return state.records.commits;
|
|
256
|
+
}, "getCommits"), getCommitsArray = /* @__PURE__ */ __name(function() {
|
|
257
|
+
let i = [...state.records.commits.values()];
|
|
258
|
+
return i.forEach(function(i) {
|
|
259
|
+
log.debug(i.id);
|
|
260
|
+
}), i.sort((i, N) => i.seq - N.seq), i;
|
|
261
|
+
}, "getCommitsArray"), db = {
|
|
262
|
+
commitType,
|
|
263
|
+
getConfig: getConfig3,
|
|
264
|
+
setDirection,
|
|
265
|
+
setOptions,
|
|
266
|
+
getOptions,
|
|
267
|
+
commit,
|
|
268
|
+
branch,
|
|
269
|
+
merge,
|
|
270
|
+
cherryPick,
|
|
271
|
+
checkout,
|
|
272
|
+
prettyPrint,
|
|
273
|
+
clear: clear2,
|
|
274
|
+
getBranchesAsObjArray,
|
|
275
|
+
getBranches,
|
|
276
|
+
getCommits,
|
|
277
|
+
getCommitsArray,
|
|
278
|
+
getCurrentBranch: /* @__PURE__ */ __name(function() {
|
|
279
|
+
return state.records.currBranch;
|
|
281
280
|
}, "getCurrentBranch"),
|
|
282
|
-
getDirection: /* @__PURE__ */
|
|
283
|
-
return
|
|
281
|
+
getDirection: /* @__PURE__ */ __name(function() {
|
|
282
|
+
return state.records.direction;
|
|
284
283
|
}, "getDirection"),
|
|
285
|
-
getHead: /* @__PURE__ */
|
|
286
|
-
return
|
|
284
|
+
getHead: /* @__PURE__ */ __name(function() {
|
|
285
|
+
return state.records.head;
|
|
287
286
|
}, "getHead"),
|
|
288
|
-
setAccTitle
|
|
289
|
-
getAccTitle
|
|
290
|
-
getAccDescription
|
|
291
|
-
setAccDescription
|
|
292
|
-
setDiagramTitle
|
|
293
|
-
getDiagramTitle
|
|
294
|
-
},
|
|
295
|
-
|
|
296
|
-
for (let
|
|
297
|
-
}, "populate"),
|
|
298
|
-
let
|
|
299
|
-
Commit: /* @__PURE__ */
|
|
300
|
-
Branch: /* @__PURE__ */
|
|
301
|
-
Merge: /* @__PURE__ */
|
|
302
|
-
Checkout: /* @__PURE__ */
|
|
303
|
-
CherryPicking: /* @__PURE__ */
|
|
304
|
-
}[
|
|
305
|
-
|
|
306
|
-
}, "parseStatement"),
|
|
307
|
-
id:
|
|
308
|
-
msg:
|
|
309
|
-
type:
|
|
310
|
-
tags:
|
|
311
|
-
}), "parseCommit"),
|
|
312
|
-
name:
|
|
313
|
-
order:
|
|
314
|
-
}), "parseBranch"),
|
|
315
|
-
branch:
|
|
316
|
-
id:
|
|
317
|
-
type:
|
|
318
|
-
tags:
|
|
319
|
-
}), "parseMerge"),
|
|
320
|
-
id:
|
|
287
|
+
setAccTitle,
|
|
288
|
+
getAccTitle,
|
|
289
|
+
getAccDescription,
|
|
290
|
+
setAccDescription,
|
|
291
|
+
setDiagramTitle,
|
|
292
|
+
getDiagramTitle
|
|
293
|
+
}, populate = /* @__PURE__ */ __name((i, N) => {
|
|
294
|
+
populateCommonDb(i, N), i.dir && N.setDirection(i.dir);
|
|
295
|
+
for (let P of i.statements) parseStatement(P, N);
|
|
296
|
+
}, "populate"), parseStatement = /* @__PURE__ */ __name((P, F) => {
|
|
297
|
+
let I = {
|
|
298
|
+
Commit: /* @__PURE__ */ __name((i) => F.commit(parseCommit(i)), "Commit"),
|
|
299
|
+
Branch: /* @__PURE__ */ __name((i) => F.branch(parseBranch(i)), "Branch"),
|
|
300
|
+
Merge: /* @__PURE__ */ __name((i) => F.merge(parseMerge(i)), "Merge"),
|
|
301
|
+
Checkout: /* @__PURE__ */ __name((i) => F.checkout(parseCheckout(i)), "Checkout"),
|
|
302
|
+
CherryPicking: /* @__PURE__ */ __name((i) => F.cherryPick(parseCherryPicking(i)), "CherryPicking")
|
|
303
|
+
}[P.$type];
|
|
304
|
+
I ? I(P) : log.error(`Unknown statement type: ${P.$type}`);
|
|
305
|
+
}, "parseStatement"), parseCommit = /* @__PURE__ */ __name((i) => ({
|
|
306
|
+
id: i.id,
|
|
307
|
+
msg: i.message ?? "",
|
|
308
|
+
type: i.type === void 0 ? commitType.NORMAL : commitType[i.type],
|
|
309
|
+
tags: i.tags ?? void 0
|
|
310
|
+
}), "parseCommit"), parseBranch = /* @__PURE__ */ __name((i) => ({
|
|
311
|
+
name: i.name,
|
|
312
|
+
order: i.order ?? 0
|
|
313
|
+
}), "parseBranch"), parseMerge = /* @__PURE__ */ __name((i) => ({
|
|
314
|
+
branch: i.branch,
|
|
315
|
+
id: i.id ?? "",
|
|
316
|
+
type: i.type === void 0 ? void 0 : commitType[i.type],
|
|
317
|
+
tags: i.tags ?? void 0
|
|
318
|
+
}), "parseMerge"), parseCheckout = /* @__PURE__ */ __name((i) => i.branch, "parseCheckout"), parseCherryPicking = /* @__PURE__ */ __name((i) => ({
|
|
319
|
+
id: i.id,
|
|
321
320
|
targetId: "",
|
|
322
|
-
tags:
|
|
323
|
-
parent:
|
|
324
|
-
}), "parseCherryPicking"),
|
|
325
|
-
let
|
|
326
|
-
|
|
327
|
-
}, "parse") },
|
|
321
|
+
tags: i.tags?.length === 0 ? void 0 : i.tags,
|
|
322
|
+
parent: i.parent
|
|
323
|
+
}), "parseCherryPicking"), parser = { parse: /* @__PURE__ */ __name(async (i) => {
|
|
324
|
+
let P = await parse("gitGraph", i);
|
|
325
|
+
log.debug(P), populate(P, db);
|
|
326
|
+
}, "parse") }, LAYOUT_OFFSET = 10, COMMIT_STEP = 40, PX = 4, PY = 2, THEME_COLOR_LIMIT = 8, REDUX_GEOMETRY_THEMES = /* @__PURE__ */ new Set([
|
|
328
327
|
"redux",
|
|
329
328
|
"redux-dark",
|
|
330
329
|
"redux-color",
|
|
331
330
|
"redux-dark-color"
|
|
332
|
-
]),
|
|
331
|
+
]), REDUX_BRANCH_LABEL_PADDING_Y = 12, COLOR_THEMES = /* @__PURE__ */ new Set(["redux-color", "redux-dark-color"]), DARK_THEMES = /* @__PURE__ */ new Set([
|
|
333
332
|
"dark",
|
|
334
333
|
"redux-dark",
|
|
335
334
|
"redux-dark-color",
|
|
336
335
|
"neo-dark"
|
|
337
|
-
]),
|
|
338
|
-
|
|
339
|
-
}, "clear"),
|
|
340
|
-
let
|
|
341
|
-
return (typeof
|
|
342
|
-
let
|
|
343
|
-
|
|
344
|
-
}),
|
|
345
|
-
}, "drawText"),
|
|
346
|
-
let
|
|
347
|
-
return
|
|
348
|
-
let
|
|
349
|
-
|
|
350
|
-
}),
|
|
351
|
-
}, "findClosestParent"),
|
|
352
|
-
let
|
|
353
|
-
return
|
|
354
|
-
let
|
|
355
|
-
|
|
356
|
-
}),
|
|
357
|
-
}, "findClosestParentBT"),
|
|
358
|
-
let
|
|
359
|
-
|
|
360
|
-
let
|
|
361
|
-
if (!
|
|
362
|
-
|
|
363
|
-
}),
|
|
364
|
-
|
|
365
|
-
}),
|
|
366
|
-
let
|
|
367
|
-
if (
|
|
368
|
-
let
|
|
369
|
-
|
|
370
|
-
let
|
|
371
|
-
|
|
372
|
-
x:
|
|
373
|
-
y:
|
|
336
|
+
]), calcColorIndex = /* @__PURE__ */ __name((i, N, P = !1) => P && i > 0 ? (i - 1) % (N - 1) + 1 : i % N, "calcColorIndex"), branchPos = /* @__PURE__ */ new Map(), commitPos = /* @__PURE__ */ new Map(), defaultPos = 30, allCommitsDict = /* @__PURE__ */ new Map(), lanes = [], maxPos = 0, dir = "LR", clear3 = /* @__PURE__ */ __name(() => {
|
|
337
|
+
branchPos.clear(), commitPos.clear(), allCommitsDict.clear(), maxPos = 0, lanes = [], dir = "LR";
|
|
338
|
+
}, "clear"), drawText = /* @__PURE__ */ __name((i) => {
|
|
339
|
+
let N = document.createElementNS("http://www.w3.org/2000/svg", "text");
|
|
340
|
+
return (typeof i == "string" ? i.split(/\\n|\n|<br\s*\/?>/gi) : i).forEach((i) => {
|
|
341
|
+
let P = document.createElementNS("http://www.w3.org/2000/svg", "tspan");
|
|
342
|
+
P.setAttributeNS("http://www.w3.org/XML/1998/namespace", "xml:space", "preserve"), P.setAttribute("dy", "1em"), P.setAttribute("x", "0"), P.setAttribute("class", "row"), P.textContent = i.trim(), N.appendChild(P);
|
|
343
|
+
}), N;
|
|
344
|
+
}, "drawText"), findClosestParent = /* @__PURE__ */ __name((N) => {
|
|
345
|
+
let P, F, I;
|
|
346
|
+
return dir === "BT" ? (F = /* @__PURE__ */ __name((i, N) => i <= N, "comparisonFunc"), I = Infinity) : (F = /* @__PURE__ */ __name((i, N) => i >= N, "comparisonFunc"), I = 0), N.forEach((i) => {
|
|
347
|
+
let N = dir === "TB" || dir == "BT" ? commitPos.get(i)?.y : commitPos.get(i)?.x;
|
|
348
|
+
N !== void 0 && F(N, I) && (P = i, I = N);
|
|
349
|
+
}), P;
|
|
350
|
+
}, "findClosestParent"), findClosestParentBT = /* @__PURE__ */ __name((i) => {
|
|
351
|
+
let N = "", P = Infinity;
|
|
352
|
+
return i.forEach((i) => {
|
|
353
|
+
let F = commitPos.get(i).y;
|
|
354
|
+
F <= P && (N = i, P = F);
|
|
355
|
+
}), N || void 0;
|
|
356
|
+
}, "findClosestParentBT"), setParallelBTPos = /* @__PURE__ */ __name((i, N, P) => {
|
|
357
|
+
let F = P, I = P, L = [];
|
|
358
|
+
i.forEach((i) => {
|
|
359
|
+
let P = N.get(i);
|
|
360
|
+
if (!P) throw Error(`Commit not found for key ${i}`);
|
|
361
|
+
P.parents.length ? (F = calculateCommitPosition(P), I = Math.max(F, I)) : L.push(P), setCommitPosition(P, F);
|
|
362
|
+
}), F = I, L.forEach((i) => {
|
|
363
|
+
setRootPosition(i, F, P);
|
|
364
|
+
}), i.forEach((i) => {
|
|
365
|
+
let P = N.get(i);
|
|
366
|
+
if (P?.parents.length) {
|
|
367
|
+
let i = findClosestParentBT(P.parents);
|
|
368
|
+
F = commitPos.get(i).y - COMMIT_STEP, F <= I && (I = F);
|
|
369
|
+
let N = branchPos.get(P.branch).pos, L = F - LAYOUT_OFFSET;
|
|
370
|
+
commitPos.set(P.id, {
|
|
371
|
+
x: N,
|
|
372
|
+
y: L
|
|
374
373
|
});
|
|
375
374
|
}
|
|
376
375
|
});
|
|
377
|
-
}, "setParallelBTPos"),
|
|
378
|
-
let
|
|
379
|
-
if (!
|
|
380
|
-
let
|
|
381
|
-
if (
|
|
382
|
-
return
|
|
383
|
-
}, "findClosestParentPos"),
|
|
384
|
-
let
|
|
385
|
-
if (!
|
|
386
|
-
let
|
|
387
|
-
return
|
|
388
|
-
x:
|
|
389
|
-
y:
|
|
376
|
+
}, "setParallelBTPos"), findClosestParentPos = /* @__PURE__ */ __name((i) => {
|
|
377
|
+
let N = findClosestParent(i.parents.filter((i) => i !== null));
|
|
378
|
+
if (!N) throw Error(`Closest parent not found for commit ${i.id}`);
|
|
379
|
+
let P = commitPos.get(N)?.y;
|
|
380
|
+
if (P === void 0) throw Error(`Closest parent position not found for commit ${i.id}`);
|
|
381
|
+
return P;
|
|
382
|
+
}, "findClosestParentPos"), calculateCommitPosition = /* @__PURE__ */ __name((i) => findClosestParentPos(i) + COMMIT_STEP, "calculateCommitPosition"), setCommitPosition = /* @__PURE__ */ __name((i, N) => {
|
|
383
|
+
let P = branchPos.get(i.branch);
|
|
384
|
+
if (!P) throw Error(`Branch not found for commit ${i.id}`);
|
|
385
|
+
let F = P.pos, I = N + LAYOUT_OFFSET;
|
|
386
|
+
return commitPos.set(i.id, {
|
|
387
|
+
x: F,
|
|
388
|
+
y: I
|
|
390
389
|
}), {
|
|
391
|
-
x:
|
|
392
|
-
y:
|
|
390
|
+
x: F,
|
|
391
|
+
y: I
|
|
393
392
|
};
|
|
394
|
-
}, "setCommitPosition"),
|
|
395
|
-
let
|
|
396
|
-
if (!
|
|
397
|
-
let
|
|
398
|
-
|
|
399
|
-
x:
|
|
400
|
-
y:
|
|
393
|
+
}, "setCommitPosition"), setRootPosition = /* @__PURE__ */ __name((i, N, P) => {
|
|
394
|
+
let F = branchPos.get(i.branch);
|
|
395
|
+
if (!F) throw Error(`Branch not found for commit ${i.id}`);
|
|
396
|
+
let I = N + P, L = F.pos;
|
|
397
|
+
commitPos.set(i.id, {
|
|
398
|
+
x: L,
|
|
399
|
+
y: I
|
|
401
400
|
});
|
|
402
|
-
}, "setRootPosition"),
|
|
403
|
-
let { theme:
|
|
404
|
-
if (
|
|
405
|
-
else if (
|
|
401
|
+
}, "setRootPosition"), drawCommitBullet = /* @__PURE__ */ __name((i, N, P, F, I, L) => {
|
|
402
|
+
let { theme: R } = getConfig2(), z = REDUX_GEOMETRY_THEMES.has(R ?? ""), V = COLOR_THEMES.has(R ?? ""), H = DARK_THEMES.has(R ?? "");
|
|
403
|
+
if (L === commitType.HIGHLIGHT) i.append("rect").attr("x", P.x - 10 + (z ? 3 : 0)).attr("y", P.y - 10 + (z ? 3 : 0)).attr("width", z ? 14 : 20).attr("height", z ? 14 : 20).attr("class", `commit ${N.id} commit-highlight${calcColorIndex(I, THEME_COLOR_LIMIT, V)} ${F}-outer`), i.append("rect").attr("x", P.x - 6 + (z ? 2 : 0)).attr("y", P.y - 6 + (z ? 2 : 0)).attr("width", z ? 8 : 12).attr("height", z ? 8 : 12).attr("class", `commit ${N.id} commit${calcColorIndex(I, THEME_COLOR_LIMIT, V)} ${F}-inner`);
|
|
404
|
+
else if (L === commitType.CHERRY_PICK) i.append("circle").attr("cx", P.x).attr("cy", P.y).attr("r", z ? 7 : 10).attr("class", `commit ${N.id} ${F}`), i.append("circle").attr("cx", P.x - 3).attr("cy", P.y + 2).attr("r", z ? 2.5 : 2.75).attr("fill", H ? "#000000" : "#fff").attr("class", `commit ${N.id} ${F}`), i.append("circle").attr("cx", P.x + 3).attr("cy", P.y + 2).attr("r", z ? 2.5 : 2.75).attr("fill", H ? "#000000" : "#fff").attr("class", `commit ${N.id} ${F}`), i.append("line").attr("x1", P.x + 3).attr("y1", P.y + 1).attr("x2", P.x).attr("y2", P.y - 5).attr("stroke", H ? "#000000" : "#fff").attr("class", `commit ${N.id} ${F}`), i.append("line").attr("x1", P.x - 3).attr("y1", P.y + 1).attr("x2", P.x).attr("y2", P.y - 5).attr("stroke", H ? "#000000" : "#fff").attr("class", `commit ${N.id} ${F}`);
|
|
406
405
|
else {
|
|
407
|
-
let
|
|
408
|
-
if (
|
|
409
|
-
let
|
|
410
|
-
|
|
406
|
+
let R = i.append("circle");
|
|
407
|
+
if (R.attr("cx", P.x), R.attr("cy", P.y), R.attr("r", z ? 7 : 10), R.attr("class", `commit ${N.id} commit${calcColorIndex(I, THEME_COLOR_LIMIT, V)}`), L === commitType.MERGE) {
|
|
408
|
+
let L = i.append("circle");
|
|
409
|
+
L.attr("cx", P.x), L.attr("cy", P.y), L.attr("r", z ? 5 : 6), L.attr("class", `commit ${F} ${N.id} commit${calcColorIndex(I, THEME_COLOR_LIMIT, V)}`);
|
|
411
410
|
}
|
|
412
|
-
if (
|
|
413
|
-
let
|
|
414
|
-
|
|
411
|
+
if (L === commitType.REVERSE) {
|
|
412
|
+
let L = i.append("path"), R = z ? 4 : 5;
|
|
413
|
+
L.attr("d", `M ${P.x - R},${P.y - R}L${P.x + R},${P.y + R}M${P.x - R},${P.y + R}L${P.x + R},${P.y - R}`).attr("class", `commit ${F} ${N.id} commit${calcColorIndex(I, THEME_COLOR_LIMIT, V)}`);
|
|
415
414
|
}
|
|
416
415
|
}
|
|
417
|
-
}, "drawCommitBullet"),
|
|
418
|
-
if (
|
|
419
|
-
let
|
|
420
|
-
if (
|
|
416
|
+
}, "drawCommitBullet"), drawCommitLabel = /* @__PURE__ */ __name((i, N, P, F, I) => {
|
|
417
|
+
if (N.type !== commitType.CHERRY_PICK && (N.customId && N.type === commitType.MERGE || N.type !== commitType.MERGE) && I.showCommitLabel) {
|
|
418
|
+
let L = i.append("g"), R = L.insert("rect").attr("class", "commit-label-bkg"), z = L.append("text").attr("x", F).attr("y", P.y + 25).attr("class", "commit-label").text(N.id), B = z.node()?.getBBox();
|
|
419
|
+
if (B && (R.attr("x", P.posWithOffset - B.width / 2 - PY).attr("y", P.y + 13.5).attr("width", B.width + 2 * PY).attr("height", B.height + 2 * PY), dir === "TB" || dir === "BT" ? (R.attr("x", P.x - (B.width + 4 * PX + 5)).attr("y", P.y - 12), z.attr("x", P.x - (B.width + 4 * PX)).attr("y", P.y + B.height - 12)) : z.attr("x", P.posWithOffset - B.width / 2), I.rotateCommitLabel)) if (dir === "TB" || dir === "BT") z.attr("transform", "rotate(-45, " + P.x + ", " + P.y + ")"), R.attr("transform", "rotate(-45, " + P.x + ", " + P.y + ")");
|
|
421
420
|
else {
|
|
422
|
-
let
|
|
423
|
-
|
|
421
|
+
let i = -7.5 - (B.width + 10) / 25 * 9.5, N = 10 + B.width / 25 * 8.5;
|
|
422
|
+
L.attr("transform", "translate(" + i + ", " + N + ") rotate(-45, " + F + ", " + P.y + ")");
|
|
424
423
|
}
|
|
425
424
|
}
|
|
426
|
-
}, "drawCommitLabel"),
|
|
427
|
-
if (
|
|
428
|
-
let
|
|
429
|
-
for (let
|
|
430
|
-
let
|
|
431
|
-
if (!
|
|
432
|
-
|
|
433
|
-
tag:
|
|
434
|
-
hole:
|
|
435
|
-
rect:
|
|
436
|
-
yOffset:
|
|
437
|
-
}),
|
|
425
|
+
}, "drawCommitLabel"), drawCommitTags = /* @__PURE__ */ __name((i, N, P, F) => {
|
|
426
|
+
if (N.tags.length > 0) {
|
|
427
|
+
let I = 0, L = 0, R = 0, z = [];
|
|
428
|
+
for (let F of N.tags.reverse()) {
|
|
429
|
+
let N = i.insert("polygon"), B = i.append("circle"), V = i.append("text").attr("y", P.y - 16 - I).attr("class", "tag-label").text(F), H = V.node()?.getBBox();
|
|
430
|
+
if (!H) throw Error("Tag bbox not found");
|
|
431
|
+
L = Math.max(L, H.width), R = Math.max(R, H.height), V.attr("x", P.posWithOffset - H.width / 2), z.push({
|
|
432
|
+
tag: V,
|
|
433
|
+
hole: B,
|
|
434
|
+
rect: N,
|
|
435
|
+
yOffset: I
|
|
436
|
+
}), I += 20;
|
|
438
437
|
}
|
|
439
|
-
for (let { tag:
|
|
440
|
-
let
|
|
441
|
-
if (
|
|
442
|
-
${
|
|
443
|
-
${
|
|
444
|
-
${
|
|
445
|
-
${
|
|
446
|
-
${
|
|
447
|
-
${
|
|
448
|
-
let
|
|
449
|
-
|
|
450
|
-
${
|
|
451
|
-
${
|
|
452
|
-
${
|
|
453
|
-
${
|
|
454
|
-
${
|
|
455
|
-
${
|
|
438
|
+
for (let { tag: i, hole: N, rect: I, yOffset: B } of z) {
|
|
439
|
+
let z = R / 2, V = P.y - 19.2 - B;
|
|
440
|
+
if (I.attr("class", "tag-label-bkg").attr("points", `
|
|
441
|
+
${F - L / 2 - PX / 2},${V + PY}
|
|
442
|
+
${F - L / 2 - PX / 2},${V - PY}
|
|
443
|
+
${P.posWithOffset - L / 2 - PX},${V - z - PY}
|
|
444
|
+
${P.posWithOffset + L / 2 + PX},${V - z - PY}
|
|
445
|
+
${P.posWithOffset + L / 2 + PX},${V + z + PY}
|
|
446
|
+
${P.posWithOffset - L / 2 - PX},${V + z + PY}`), N.attr("cy", V).attr("cx", F - L / 2 + PX / 2).attr("r", 1.5).attr("class", "tag-hole"), dir === "TB" || dir === "BT") {
|
|
447
|
+
let R = F + B;
|
|
448
|
+
I.attr("class", "tag-label-bkg").attr("points", `
|
|
449
|
+
${P.x},${R + 2}
|
|
450
|
+
${P.x},${R - 2}
|
|
451
|
+
${P.x + LAYOUT_OFFSET},${R - z - 2}
|
|
452
|
+
${P.x + LAYOUT_OFFSET + L + 4},${R - z - 2}
|
|
453
|
+
${P.x + LAYOUT_OFFSET + L + 4},${R + z + 2}
|
|
454
|
+
${P.x + LAYOUT_OFFSET},${R + z + 2}`).attr("transform", "translate(12,12) rotate(45, " + P.x + "," + F + ")"), N.attr("cx", P.x + PX / 2).attr("cy", R).attr("transform", "translate(12,12) rotate(45, " + P.x + "," + F + ")"), i.attr("x", P.x + 5).attr("y", R + 3).attr("transform", "translate(14,14) rotate(45, " + P.x + "," + F + ")");
|
|
456
455
|
}
|
|
457
456
|
}
|
|
458
457
|
}
|
|
459
|
-
}, "drawCommitTags"),
|
|
460
|
-
switch (
|
|
461
|
-
case
|
|
462
|
-
case
|
|
463
|
-
case
|
|
464
|
-
case
|
|
465
|
-
case
|
|
458
|
+
}, "drawCommitTags"), getCommitClassType = /* @__PURE__ */ __name((i) => {
|
|
459
|
+
switch (i.customType ?? i.type) {
|
|
460
|
+
case commitType.NORMAL: return "commit-normal";
|
|
461
|
+
case commitType.REVERSE: return "commit-reverse";
|
|
462
|
+
case commitType.HIGHLIGHT: return "commit-highlight";
|
|
463
|
+
case commitType.MERGE: return "commit-merge";
|
|
464
|
+
case commitType.CHERRY_PICK: return "commit-cherry-pick";
|
|
466
465
|
default: return "commit-normal";
|
|
467
466
|
}
|
|
468
|
-
}, "getCommitClassType"),
|
|
469
|
-
let
|
|
467
|
+
}, "getCommitClassType"), calculatePosition = /* @__PURE__ */ __name((i, N, P, F) => {
|
|
468
|
+
let I = {
|
|
470
469
|
x: 0,
|
|
471
470
|
y: 0
|
|
472
471
|
};
|
|
473
|
-
if (
|
|
474
|
-
let
|
|
475
|
-
if (
|
|
476
|
-
let
|
|
477
|
-
return
|
|
472
|
+
if (i.parents.length > 0) {
|
|
473
|
+
let P = findClosestParent(i.parents);
|
|
474
|
+
if (P) {
|
|
475
|
+
let L = F.get(P) ?? I;
|
|
476
|
+
return N === "TB" ? L.y + COMMIT_STEP : N === "BT" ? (F.get(i.id) ?? I).y - COMMIT_STEP : L.x + COMMIT_STEP;
|
|
478
477
|
}
|
|
479
|
-
} else if (
|
|
480
|
-
else if (
|
|
478
|
+
} else if (N === "TB") return defaultPos;
|
|
479
|
+
else if (N === "BT") return (F.get(i.id) ?? I).y - COMMIT_STEP;
|
|
481
480
|
else return 0;
|
|
482
481
|
return 0;
|
|
483
|
-
}, "calculatePosition"),
|
|
484
|
-
let
|
|
485
|
-
if (
|
|
486
|
-
let
|
|
482
|
+
}, "calculatePosition"), getCommitPosition = /* @__PURE__ */ __name((i, N, P) => {
|
|
483
|
+
let F = dir === "BT" && P ? N : N + LAYOUT_OFFSET, I = branchPos.get(i.branch)?.pos, L = dir === "TB" || dir === "BT" ? branchPos.get(i.branch)?.pos : F;
|
|
484
|
+
if (L === void 0 || I === void 0) throw Error(`Position were undefined for commit ${i.id}`);
|
|
485
|
+
let R = REDUX_GEOMETRY_THEMES.has(getConfig2().theme ?? "");
|
|
487
486
|
return {
|
|
488
|
-
x:
|
|
489
|
-
y:
|
|
490
|
-
posWithOffset:
|
|
487
|
+
x: L,
|
|
488
|
+
y: dir === "TB" || dir === "BT" ? F : I + (R ? REDUX_BRANCH_LABEL_PADDING_Y / 2 + 1 : -2),
|
|
489
|
+
posWithOffset: F
|
|
491
490
|
};
|
|
492
|
-
}, "getCommitPosition"),
|
|
493
|
-
let
|
|
494
|
-
let
|
|
495
|
-
return
|
|
496
|
-
}, "sortKeys"),
|
|
497
|
-
|
|
498
|
-
let
|
|
499
|
-
if (!
|
|
500
|
-
|
|
501
|
-
let
|
|
502
|
-
if (
|
|
503
|
-
let
|
|
504
|
-
|
|
491
|
+
}, "getCommitPosition"), drawCommits = /* @__PURE__ */ __name((N, P, F, I) => {
|
|
492
|
+
let L = N.append("g").attr("class", "commit-bullets"), R = N.append("g").attr("class", "commit-labels"), z = dir === "TB" || dir === "BT" ? defaultPos : 0, B = [...P.keys()], V = I.parallelCommits ?? !1, H = /* @__PURE__ */ __name((i, N) => {
|
|
493
|
+
let F = P.get(i)?.seq, I = P.get(N)?.seq;
|
|
494
|
+
return F !== void 0 && I !== void 0 ? F - I : 0;
|
|
495
|
+
}, "sortKeys"), U = B.sort(H);
|
|
496
|
+
dir === "BT" && (V && setParallelBTPos(U, P, z), U = U.reverse()), U.forEach((i) => {
|
|
497
|
+
let N = P.get(i);
|
|
498
|
+
if (!N) throw Error(`Commit not found for key ${i}`);
|
|
499
|
+
V && (z = calculatePosition(N, dir, z, commitPos));
|
|
500
|
+
let B = getCommitPosition(N, z, V);
|
|
501
|
+
if (F) {
|
|
502
|
+
let i = getCommitClassType(N), P = N.customType ?? N.type;
|
|
503
|
+
drawCommitBullet(L, N, B, i, branchPos.get(N.branch)?.index ?? 0, P), drawCommitLabel(R, N, B, z, I), drawCommitTags(R, N, B, z);
|
|
505
504
|
}
|
|
506
|
-
|
|
507
|
-
x:
|
|
508
|
-
y:
|
|
509
|
-
}) :
|
|
510
|
-
x:
|
|
511
|
-
y:
|
|
512
|
-
}),
|
|
505
|
+
dir === "TB" || dir === "BT" ? commitPos.set(N.id, {
|
|
506
|
+
x: B.x,
|
|
507
|
+
y: B.posWithOffset
|
|
508
|
+
}) : commitPos.set(N.id, {
|
|
509
|
+
x: B.posWithOffset,
|
|
510
|
+
y: B.y
|
|
511
|
+
}), z = dir === "BT" && V ? z + COMMIT_STEP : z + COMMIT_STEP + LAYOUT_OFFSET, z > maxPos && (maxPos = z);
|
|
513
512
|
});
|
|
514
|
-
}, "drawCommits"),
|
|
515
|
-
let
|
|
516
|
-
return [...
|
|
517
|
-
}, "shouldRerouteArrow"),
|
|
518
|
-
let
|
|
519
|
-
return
|
|
520
|
-
}, "findLane"),
|
|
521
|
-
let { theme:
|
|
522
|
-
if (
|
|
523
|
-
let
|
|
524
|
-
|
|
525
|
-
let
|
|
526
|
-
if (
|
|
527
|
-
|
|
528
|
-
let
|
|
529
|
-
|
|
530
|
-
} else
|
|
531
|
-
if (
|
|
532
|
-
|
|
533
|
-
}, "drawArrow"),
|
|
534
|
-
let
|
|
535
|
-
[...
|
|
536
|
-
let
|
|
537
|
-
|
|
538
|
-
|
|
513
|
+
}, "drawCommits"), shouldRerouteArrow = /* @__PURE__ */ __name((N, P, F, I, L) => {
|
|
514
|
+
let R = (dir === "TB" || dir === "BT" ? F.x < I.x : F.y < I.y) ? P.branch : N.branch, z = /* @__PURE__ */ __name((i) => i.branch === R, "isOnBranchToGetCurve"), B = /* @__PURE__ */ __name((i) => i.seq > N.seq && i.seq < P.seq, "isBetweenCommits");
|
|
515
|
+
return [...L.values()].some((i) => B(i) && z(i));
|
|
516
|
+
}, "shouldRerouteArrow"), findLane = /* @__PURE__ */ __name((i, N, P = 0) => {
|
|
517
|
+
let F = i + Math.abs(i - N) / 2;
|
|
518
|
+
return P > 5 ? F : lanes.every((i) => Math.abs(i - F) >= 10) ? (lanes.push(F), F) : findLane(i, N - Math.abs(i - N) / 5, P + 1);
|
|
519
|
+
}, "findLane"), drawArrow = /* @__PURE__ */ __name((i, N, P, F) => {
|
|
520
|
+
let { theme: I } = getConfig2(), L = COLOR_THEMES.has(I ?? ""), R = commitPos.get(N.id), z = commitPos.get(P.id);
|
|
521
|
+
if (R === void 0 || z === void 0) throw Error(`Commit positions not found for commits ${N.id} and ${P.id}`);
|
|
522
|
+
let V = shouldRerouteArrow(N, P, R, z, F), H = "", U = "", W = 0, G = 0, K = branchPos.get(P.branch)?.index;
|
|
523
|
+
P.type === commitType.MERGE && N.id !== P.parents[0] && (K = branchPos.get(N.branch)?.index);
|
|
524
|
+
let q;
|
|
525
|
+
if (V) {
|
|
526
|
+
H = "A 10 10, 0, 0, 0,", U = "A 10 10, 0, 0, 1,", W = 10, G = 10;
|
|
527
|
+
let i = R.y < z.y ? findLane(R.y, z.y) : findLane(z.y, R.y), P = R.x < z.x ? findLane(R.x, z.x) : findLane(z.x, R.x);
|
|
528
|
+
dir === "TB" ? R.x < z.x ? q = `M ${R.x} ${R.y} L ${P - W} ${R.y} ${U} ${P} ${R.y + G} L ${P} ${z.y - W} ${H} ${P + G} ${z.y} L ${z.x} ${z.y}` : (K = branchPos.get(N.branch)?.index, q = `M ${R.x} ${R.y} L ${P + W} ${R.y} ${H} ${P} ${R.y + G} L ${P} ${z.y - W} ${U} ${P - G} ${z.y} L ${z.x} ${z.y}`) : dir === "BT" ? R.x < z.x ? q = `M ${R.x} ${R.y} L ${P - W} ${R.y} ${H} ${P} ${R.y - G} L ${P} ${z.y + W} ${U} ${P + G} ${z.y} L ${z.x} ${z.y}` : (K = branchPos.get(N.branch)?.index, q = `M ${R.x} ${R.y} L ${P + W} ${R.y} ${U} ${P} ${R.y - G} L ${P} ${z.y + W} ${H} ${P - G} ${z.y} L ${z.x} ${z.y}`) : R.y < z.y ? q = `M ${R.x} ${R.y} L ${R.x} ${i - W} ${H} ${R.x + G} ${i} L ${z.x - W} ${i} ${U} ${z.x} ${i + G} L ${z.x} ${z.y}` : (K = branchPos.get(N.branch)?.index, q = `M ${R.x} ${R.y} L ${R.x} ${i + W} ${U} ${R.x + G} ${i} L ${z.x - W} ${i} ${H} ${z.x} ${i - G} L ${z.x} ${z.y}`);
|
|
529
|
+
} else H = "A 20 20, 0, 0, 0,", U = "A 20 20, 0, 0, 1,", W = 20, G = 20, dir === "TB" ? (R.x < z.x && (q = P.type === commitType.MERGE && N.id !== P.parents[0] ? `M ${R.x} ${R.y} L ${R.x} ${z.y - W} ${H} ${R.x + G} ${z.y} L ${z.x} ${z.y}` : `M ${R.x} ${R.y} L ${z.x - W} ${R.y} ${U} ${z.x} ${R.y + G} L ${z.x} ${z.y}`), R.x > z.x && (H = "A 20 20, 0, 0, 0,", U = "A 20 20, 0, 0, 1,", W = 20, G = 20, q = P.type === commitType.MERGE && N.id !== P.parents[0] ? `M ${R.x} ${R.y} L ${R.x} ${z.y - W} ${U} ${R.x - G} ${z.y} L ${z.x} ${z.y}` : `M ${R.x} ${R.y} L ${z.x + W} ${R.y} ${H} ${z.x} ${R.y + G} L ${z.x} ${z.y}`), R.x === z.x && (q = `M ${R.x} ${R.y} L ${z.x} ${z.y}`)) : dir === "BT" ? (R.x < z.x && (q = P.type === commitType.MERGE && N.id !== P.parents[0] ? `M ${R.x} ${R.y} L ${R.x} ${z.y + W} ${U} ${R.x + G} ${z.y} L ${z.x} ${z.y}` : `M ${R.x} ${R.y} L ${z.x - W} ${R.y} ${H} ${z.x} ${R.y - G} L ${z.x} ${z.y}`), R.x > z.x && (H = "A 20 20, 0, 0, 0,", U = "A 20 20, 0, 0, 1,", W = 20, G = 20, q = P.type === commitType.MERGE && N.id !== P.parents[0] ? `M ${R.x} ${R.y} L ${R.x} ${z.y + W} ${H} ${R.x - G} ${z.y} L ${z.x} ${z.y}` : `M ${R.x} ${R.y} L ${z.x + W} ${R.y} ${U} ${z.x} ${R.y - G} L ${z.x} ${z.y}`), R.x === z.x && (q = `M ${R.x} ${R.y} L ${z.x} ${z.y}`)) : (R.y < z.y && (q = P.type === commitType.MERGE && N.id !== P.parents[0] ? `M ${R.x} ${R.y} L ${z.x - W} ${R.y} ${U} ${z.x} ${R.y + G} L ${z.x} ${z.y}` : `M ${R.x} ${R.y} L ${R.x} ${z.y - W} ${H} ${R.x + G} ${z.y} L ${z.x} ${z.y}`), R.y > z.y && (q = P.type === commitType.MERGE && N.id !== P.parents[0] ? `M ${R.x} ${R.y} L ${z.x - W} ${R.y} ${H} ${z.x} ${R.y - G} L ${z.x} ${z.y}` : `M ${R.x} ${R.y} L ${R.x} ${z.y + W} ${U} ${R.x + G} ${z.y} L ${z.x} ${z.y}`), R.y === z.y && (q = `M ${R.x} ${R.y} L ${z.x} ${z.y}`));
|
|
530
|
+
if (q === void 0) throw Error("Line definition not found");
|
|
531
|
+
i.append("path").attr("d", q).attr("class", "arrow arrow" + calcColorIndex(K, THEME_COLOR_LIMIT, L));
|
|
532
|
+
}, "drawArrow"), drawArrows = /* @__PURE__ */ __name((i, N) => {
|
|
533
|
+
let P = i.append("g").attr("class", "commit-arrows");
|
|
534
|
+
[...N.keys()].forEach((i) => {
|
|
535
|
+
let F = N.get(i);
|
|
536
|
+
F.parents && F.parents.length > 0 && F.parents.forEach((i) => {
|
|
537
|
+
drawArrow(P, N.get(i), F, N);
|
|
539
538
|
});
|
|
540
539
|
});
|
|
541
|
-
}, "drawArrows"),
|
|
542
|
-
let { look:
|
|
543
|
-
|
|
544
|
-
let
|
|
545
|
-
if (
|
|
546
|
-
let
|
|
547
|
-
|
|
548
|
-
let
|
|
549
|
-
|
|
550
|
-
let
|
|
551
|
-
|
|
540
|
+
}, "drawArrows"), drawBranches = /* @__PURE__ */ __name((i, N, P, F) => {
|
|
541
|
+
let { look: I, theme: L, themeVariables: R } = getConfig2(), { dropShadow: z, THEME_COLOR_LIMIT: V } = R, H = REDUX_GEOMETRY_THEMES.has(L ?? ""), U = COLOR_THEMES.has(L ?? ""), W = i.append("g");
|
|
542
|
+
N.forEach((i, N) => {
|
|
543
|
+
let L = calcColorIndex(N, H ? V : THEME_COLOR_LIMIT, U), R = branchPos.get(i.name)?.pos;
|
|
544
|
+
if (R === void 0) throw Error(`Position not found for branch ${i.name}`);
|
|
545
|
+
let B = dir === "TB" || dir === "BT" ? R : H ? R + REDUX_BRANCH_LABEL_PADDING_Y / 2 + 1 : R - 2, G = W.append("line");
|
|
546
|
+
G.attr("x1", 0), G.attr("y1", B), G.attr("x2", maxPos), G.attr("y2", B), G.attr("class", "branch branch" + L), dir === "TB" ? (G.attr("y1", defaultPos), G.attr("x1", R), G.attr("y2", maxPos), G.attr("x2", R)) : dir === "BT" && (G.attr("y1", maxPos), G.attr("x1", R), G.attr("y2", defaultPos), G.attr("x2", R)), lanes.push(B);
|
|
547
|
+
let K = i.name, q = drawText(K), J = W.insert("rect"), Y = W.insert("g").attr("class", "branchLabel").insert("g").attr("class", "label branch-label" + L);
|
|
548
|
+
Y.node().appendChild(q);
|
|
549
|
+
let X = q.getBBox(), Z = H ? 0 : 4, Q = H ? 16 : 0, $ = H ? REDUX_BRANCH_LABEL_PADDING_Y : 0;
|
|
550
|
+
I === "neo" && J.attr("data-look", "neo"), J.attr("class", "branchLabelBkg label" + L).attr("style", I === "neo" ? `filter:${H ? `url(#${F}-drop-shadow)` : z}` : "").attr("rx", Z).attr("ry", Z).attr("x", -X.width - 4 - (P.rotateCommitLabel === !0 ? 30 : 0)).attr("y", -X.height / 2 + 10).attr("width", X.width + 18 + Q).attr("height", X.height + 4 + $), Y.attr("transform", "translate(" + (-X.width - 14 - (P.rotateCommitLabel === !0 ? 30 : 0) + Q / 2) + ", " + (B - X.height / 2 - 2) + ")"), dir === "TB" ? (J.attr("x", R - X.width / 2 - 10).attr("y", 0), Y.attr("transform", "translate(" + (R - X.width / 2 - 5) + ", 0)"), H && (J.attr("transform", `translate(${-Q / 2 - 3}, ${-$ - 10})`), Y.attr("transform", "translate(" + (R - X.width / 2 - 5) + ", " + (-$ * 2 + 7) + ")"))) : dir === "BT" ? (J.attr("x", R - X.width / 2 - 10).attr("y", maxPos), Y.attr("transform", "translate(" + (R - X.width / 2 - 5) + ", " + maxPos + ")"), H && (J.attr("transform", `translate(${-Q / 2 - 3}, ${$ + 10})`), Y.attr("transform", "translate(" + (R - X.width / 2 - 5) + ", " + (maxPos + $ * 2 + 4) + ")"))) : J.attr("transform", "translate(-19, " + (B - 12 - $ / 2) + ")");
|
|
552
551
|
});
|
|
553
|
-
}, "drawBranches"),
|
|
554
|
-
return
|
|
555
|
-
pos:
|
|
556
|
-
index:
|
|
557
|
-
}),
|
|
558
|
-
}, "setBranchPosition"),
|
|
559
|
-
|
|
560
|
-
let
|
|
561
|
-
if (!
|
|
562
|
-
|
|
552
|
+
}, "drawBranches"), setBranchPosition = /* @__PURE__ */ __name(function(i, N, P, F, I) {
|
|
553
|
+
return branchPos.set(i, {
|
|
554
|
+
pos: N,
|
|
555
|
+
index: P
|
|
556
|
+
}), N += 50 + (I ? 40 : 0) + (dir === "TB" || dir === "BT" ? F.width / 2 : 0), N;
|
|
557
|
+
}, "setBranchPosition"), gitGraphRenderer_default = { draw: /* @__PURE__ */ __name(function(i, P, F, I) {
|
|
558
|
+
clear3(), log.debug("in gitgraph renderer", i + "\n", "id:", P, F);
|
|
559
|
+
let L = I.db;
|
|
560
|
+
if (!L.getConfig) {
|
|
561
|
+
log.error("getConfig method is not available on db");
|
|
563
562
|
return;
|
|
564
563
|
}
|
|
565
|
-
let
|
|
566
|
-
|
|
567
|
-
let
|
|
568
|
-
|
|
569
|
-
let
|
|
570
|
-
if (
|
|
571
|
-
let
|
|
572
|
-
|
|
564
|
+
let R = L.getConfig(), z = R.rotateCommitLabel ?? !1;
|
|
565
|
+
allCommitsDict = L.getCommits();
|
|
566
|
+
let V = L.getBranchesAsObjArray();
|
|
567
|
+
dir = L.getDirection();
|
|
568
|
+
let H = select_default(`[id="${P}"]`), { look: U, theme: W, themeVariables: q } = getConfig2(), { useGradient: J, gradientStart: X, gradientStop: Z, filterColor: Q } = q;
|
|
569
|
+
if (J) {
|
|
570
|
+
let i = H.append("defs").append("linearGradient").attr("id", P + "-gradient").attr("gradientUnits", "objectBoundingBox").attr("x1", "0%").attr("y1", "0%").attr("x2", "100%").attr("y2", "0%");
|
|
571
|
+
i.append("stop").attr("offset", "0%").attr("stop-color", X).attr("stop-opacity", 1), i.append("stop").attr("offset", "100%").attr("stop-color", Z).attr("stop-opacity", 1);
|
|
573
572
|
}
|
|
574
|
-
|
|
575
|
-
let
|
|
576
|
-
|
|
577
|
-
let
|
|
578
|
-
|
|
579
|
-
let
|
|
580
|
-
|
|
581
|
-
}),
|
|
582
|
-
}, "draw") },
|
|
573
|
+
U === "neo" && REDUX_GEOMETRY_THEMES.has(W ?? "") && H.append("defs").append("filter").attr("id", P + "-drop-shadow").attr("height", "130%").attr("width", "130%").append("feDropShadow").attr("dx", "4").attr("dy", "4").attr("stdDeviation", 0).attr("flood-opacity", "0.06").attr("flood-color", Q);
|
|
574
|
+
let $ = 0;
|
|
575
|
+
V.forEach((i, N) => {
|
|
576
|
+
let P = drawText(i.name), F = H.append("g"), I = F.insert("g").attr("class", "branchLabel"), L = I.insert("g").attr("class", "label branch-label");
|
|
577
|
+
L.node()?.appendChild(P);
|
|
578
|
+
let R = P.getBBox();
|
|
579
|
+
$ = setBranchPosition(i.name, $, N, R, z), L.remove(), I.remove(), F.remove();
|
|
580
|
+
}), drawCommits(H, allCommitsDict, !1, R), R.showBranches && drawBranches(H, V, R, P), drawArrows(H, allCommitsDict), drawCommits(H, allCommitsDict, !0, R), utils_default.insertTitle(H, "gitTitleText", R.titleTopMargin ?? 0, L.getDiagramTitle()), setupGraphViewbox2(void 0, H, R.diagramPadding, R.useMaxWidth);
|
|
581
|
+
}, "draw") }, GIT_NAMED_COLOR_COUNT = 8, REDUX_GEOMETRY_THEMES2 = /* @__PURE__ */ new Set([
|
|
583
582
|
"redux",
|
|
584
583
|
"redux-dark",
|
|
585
584
|
"redux-color",
|
|
586
585
|
"redux-dark-color"
|
|
587
|
-
]),
|
|
586
|
+
]), COLOR_THEMES2 = /* @__PURE__ */ new Set(["redux-color", "redux-dark-color"]), NEO_THEMES = /* @__PURE__ */ new Set(["neo", "neo-dark"]), DARK_THEMES2 = /* @__PURE__ */ new Set([
|
|
588
587
|
"dark",
|
|
589
588
|
"redux-dark",
|
|
590
589
|
"redux-dark-color",
|
|
591
590
|
"neo-dark"
|
|
592
|
-
]),
|
|
591
|
+
]), NEO_COLOR_GEN_THEMES = /* @__PURE__ */ new Set([
|
|
593
592
|
"redux",
|
|
594
593
|
"redux-dark",
|
|
595
594
|
"redux-color",
|
|
596
595
|
"redux-dark-color",
|
|
597
596
|
"neo",
|
|
598
597
|
"neo-dark"
|
|
599
|
-
]),
|
|
600
|
-
let { svgId:
|
|
601
|
-
if (
|
|
602
|
-
.label${
|
|
598
|
+
]), genGitGraphGradient = /* @__PURE__ */ __name((i) => {
|
|
599
|
+
let { svgId: N } = i, P = "";
|
|
600
|
+
if (i.useGradient && N) for (let F = 0; F < i.THEME_COLOR_LIMIT; F++) P += `
|
|
601
|
+
.label${F} { fill: ${i.mainBkg}; stroke: url(${N}-gradient); stroke-width: ${i.strokeWidth};}
|
|
603
602
|
`;
|
|
604
|
-
return
|
|
605
|
-
}, "genGitGraphGradient"),
|
|
606
|
-
let { theme:
|
|
607
|
-
if (
|
|
608
|
-
let
|
|
609
|
-
for (let
|
|
610
|
-
.branch-label${
|
|
611
|
-
.commit${
|
|
612
|
-
.commit-highlight${
|
|
613
|
-
.arrow${
|
|
614
|
-
.commit-bullets { fill: ${
|
|
615
|
-
.commit-cherry-pick${
|
|
616
|
-
${
|
|
603
|
+
return P;
|
|
604
|
+
}, "genGitGraphGradient"), genColor = /* @__PURE__ */ __name((i) => {
|
|
605
|
+
let { theme: N, themeVariables: P } = getConfig(), { borderColorArray: F } = P, I = REDUX_GEOMETRY_THEMES2.has(N);
|
|
606
|
+
if (NEO_THEMES.has(N)) {
|
|
607
|
+
let N = "";
|
|
608
|
+
for (let P = 0; P < i.THEME_COLOR_LIMIT; P++) if (P === 0) N += `
|
|
609
|
+
.branch-label${P} { fill: ${i.nodeBorder};}
|
|
610
|
+
.commit${P} { stroke: ${i.nodeBorder}; }
|
|
611
|
+
.commit-highlight${P} { stroke: ${i.nodeBorder}; fill: ${i.nodeBorder}; }
|
|
612
|
+
.arrow${P} { stroke: ${i.nodeBorder}; }
|
|
613
|
+
.commit-bullets { fill: ${i.nodeBorder}; }
|
|
614
|
+
.commit-cherry-pick${P} { stroke: ${i.nodeBorder}; }
|
|
615
|
+
${genGitGraphGradient(i)}`;
|
|
617
616
|
else {
|
|
618
|
-
let
|
|
619
|
-
|
|
620
|
-
.branch-label${
|
|
621
|
-
.commit${
|
|
622
|
-
.commit-highlight${
|
|
623
|
-
.arrow${
|
|
617
|
+
let F = P % GIT_NAMED_COLOR_COUNT;
|
|
618
|
+
N += `
|
|
619
|
+
.branch-label${P} { fill: ${i["gitBranchLabel" + F]}; }
|
|
620
|
+
.commit${P} { stroke: ${i["git" + F]}; fill: ${i["git" + F]}; }
|
|
621
|
+
.commit-highlight${P} { stroke: ${i["gitInv" + F]}; fill: ${i["gitInv" + F]}; }
|
|
622
|
+
.arrow${P} { stroke: ${i["git" + F]}; }
|
|
624
623
|
`;
|
|
625
624
|
}
|
|
626
|
-
return
|
|
627
|
-
} else if (
|
|
628
|
-
let
|
|
629
|
-
for (let
|
|
630
|
-
.branch-label${
|
|
631
|
-
.commit${
|
|
632
|
-
.commit-highlight${
|
|
633
|
-
.label${
|
|
634
|
-
.arrow${
|
|
635
|
-
.commit-bullets { fill: ${
|
|
625
|
+
return N;
|
|
626
|
+
} else if (COLOR_THEMES2.has(N)) {
|
|
627
|
+
let P = "";
|
|
628
|
+
for (let L = 0; L < i.THEME_COLOR_LIMIT; L++) if (L === 0) P += `
|
|
629
|
+
.branch-label${L} { fill: ${i.nodeBorder}; ${I ? `font-weight:${i.noteFontWeight}` : ""} }
|
|
630
|
+
.commit${L} { stroke: ${i.nodeBorder}; }
|
|
631
|
+
.commit-highlight${L} { stroke: ${i.nodeBorder}; fill: ${i.mainBkg}; }
|
|
632
|
+
.label${L} { fill: ${i.mainBkg}; stroke: ${i.nodeBorder}; stroke-width: ${i.strokeWidth}; ${I ? `font-weight:${i.noteFontWeight}` : ""} }
|
|
633
|
+
.arrow${L} { stroke: ${i.nodeBorder}; }
|
|
634
|
+
.commit-bullets { fill: ${i.nodeBorder}; }
|
|
636
635
|
`;
|
|
637
636
|
else {
|
|
638
|
-
let
|
|
639
|
-
|
|
640
|
-
.branch-label${
|
|
641
|
-
.commit${
|
|
642
|
-
.commit-highlight${
|
|
643
|
-
.label${
|
|
644
|
-
.arrow${
|
|
637
|
+
let R = L % F.length;
|
|
638
|
+
P += `
|
|
639
|
+
.branch-label${L} { fill: ${i.nodeBorder}; ${I ? `font-weight:${i.noteFontWeight}` : ""} }
|
|
640
|
+
.commit${L} { stroke: ${F[R]}; fill: ${F[R]}; }
|
|
641
|
+
.commit-highlight${L} { stroke: ${F[R]}; fill: ${F[R]}; }
|
|
642
|
+
.label${L} { fill: ${DARK_THEMES2.has(N) ? i.mainBkg : F[R]}; stroke: ${F[R]}; stroke-width: ${i.strokeWidth}; }
|
|
643
|
+
.arrow${L} { stroke: ${F[R]}; }
|
|
645
644
|
`;
|
|
646
645
|
}
|
|
647
|
-
return
|
|
646
|
+
return P;
|
|
648
647
|
} else {
|
|
649
|
-
let
|
|
650
|
-
for (let
|
|
651
|
-
.branch-label${
|
|
652
|
-
.commit${
|
|
653
|
-
.commit-highlight${
|
|
654
|
-
.label${
|
|
655
|
-
.arrow${
|
|
656
|
-
.commit-bullets { fill: ${
|
|
657
|
-
.commit-cherry-pick${
|
|
648
|
+
let N = "";
|
|
649
|
+
for (let P = 0; P < i.THEME_COLOR_LIMIT; P++) N += `
|
|
650
|
+
.branch-label${P} { fill: ${i.nodeBorder}; ${I ? `font-weight:${i.noteFontWeight}` : ""} }
|
|
651
|
+
.commit${P} { stroke: ${i.nodeBorder}; }
|
|
652
|
+
.commit-highlight${P} { stroke: ${i.nodeBorder}; fill: ${i.nodeBorder}; }
|
|
653
|
+
.label${P} { fill: ${i.mainBkg}; stroke: ${i.nodeBorder}; stroke-width: ${i.strokeWidth}; ${I ? `font-weight:${i.noteFontWeight}` : ""}}
|
|
654
|
+
.arrow${P} { stroke: ${i.nodeBorder}; }
|
|
655
|
+
.commit-bullets { fill: ${i.nodeBorder}; }
|
|
656
|
+
.commit-cherry-pick${P} { stroke: ${i.nodeBorder}; }
|
|
658
657
|
`;
|
|
659
|
-
return
|
|
658
|
+
return N;
|
|
660
659
|
}
|
|
661
|
-
}, "genColor"),
|
|
662
|
-
let
|
|
660
|
+
}, "genColor"), normalTheme = /* @__PURE__ */ __name((i) => `${Array.from({ length: i.THEME_COLOR_LIMIT }, (i, N) => N).map((N) => {
|
|
661
|
+
let P = N % GIT_NAMED_COLOR_COUNT;
|
|
663
662
|
return `
|
|
664
|
-
.branch-label${
|
|
665
|
-
.commit${
|
|
666
|
-
.commit-highlight${
|
|
667
|
-
.label${
|
|
668
|
-
.arrow${
|
|
663
|
+
.branch-label${N} { fill: ${i["gitBranchLabel" + P]}; }
|
|
664
|
+
.commit${N} { stroke: ${i["git" + P]}; fill: ${i["git" + P]}; }
|
|
665
|
+
.commit-highlight${N} { stroke: ${i["gitInv" + P]}; fill: ${i["gitInv" + P]}; }
|
|
666
|
+
.label${N} { fill: ${i["git" + P]}; }
|
|
667
|
+
.arrow${N} { stroke: ${i["git" + P]}; }
|
|
669
668
|
`;
|
|
670
|
-
}).join("\n")}`, "normalTheme"),
|
|
671
|
-
parser
|
|
672
|
-
db
|
|
673
|
-
renderer:
|
|
674
|
-
styles: /* @__PURE__ */
|
|
675
|
-
let { theme:
|
|
669
|
+
}).join("\n")}`, "normalTheme"), diagram = {
|
|
670
|
+
parser,
|
|
671
|
+
db,
|
|
672
|
+
renderer: gitGraphRenderer_default,
|
|
673
|
+
styles: /* @__PURE__ */ __name((i) => {
|
|
674
|
+
let { theme: N } = getConfig(), P = NEO_COLOR_GEN_THEMES.has(N);
|
|
676
675
|
return `
|
|
677
676
|
.commit-id,
|
|
678
677
|
.commit-msg,
|
|
@@ -683,48 +682,47 @@ var ce = /* @__PURE__ */ e(function() {
|
|
|
683
682
|
font-family: var(--mermaid-font-family);
|
|
684
683
|
}
|
|
685
684
|
|
|
686
|
-
${
|
|
685
|
+
${P ? genColor(i) : normalTheme(i)}
|
|
687
686
|
|
|
688
687
|
.branch {
|
|
689
|
-
stroke-width: ${
|
|
690
|
-
stroke: ${
|
|
691
|
-
stroke-dasharray: ${
|
|
688
|
+
stroke-width: ${i.strokeWidth};
|
|
689
|
+
stroke: ${i.commitLineColor ?? i.lineColor};
|
|
690
|
+
stroke-dasharray: ${P ? "4 2" : "2"};
|
|
692
691
|
}
|
|
693
|
-
.commit-label { font-size: ${
|
|
694
|
-
.commit-label-bkg { font-size: ${
|
|
695
|
-
.tag-label { font-size: ${
|
|
696
|
-
.tag-label-bkg { fill: ${
|
|
697
|
-
.tag-hole { fill: ${
|
|
692
|
+
.commit-label { font-size: ${i.commitLabelFontSize}; fill: ${P ? i.nodeBorder : i.commitLabelColor}; ${P ? `font-weight:${i.noteFontWeight};` : ""}}
|
|
693
|
+
.commit-label-bkg { font-size: ${i.commitLabelFontSize}; fill: ${P ? "transparent" : i.commitLabelBackground}; opacity: ${P ? "" : .5}; }
|
|
694
|
+
.tag-label { font-size: ${i.tagLabelFontSize}; fill: ${i.tagLabelColor};}
|
|
695
|
+
.tag-label-bkg { fill: ${P ? i.mainBkg : i.tagLabelBackground}; stroke: ${P ? i.nodeBorder : i.tagLabelBorder}; ${P ? `filter:${i.dropShadow}` : ""} }
|
|
696
|
+
.tag-hole { fill: ${i.textColor}; }
|
|
698
697
|
|
|
699
698
|
.commit-merge {
|
|
700
|
-
stroke: ${
|
|
701
|
-
fill: ${
|
|
699
|
+
stroke: ${P ? i.mainBkg : i.primaryColor};
|
|
700
|
+
fill: ${P ? i.mainBkg : i.primaryColor};
|
|
702
701
|
}
|
|
703
702
|
.commit-reverse {
|
|
704
|
-
stroke: ${
|
|
705
|
-
fill: ${
|
|
706
|
-
stroke-width: ${
|
|
703
|
+
stroke: ${P ? i.mainBkg : i.primaryColor};
|
|
704
|
+
fill: ${P ? i.mainBkg : i.primaryColor};
|
|
705
|
+
stroke-width: ${P ? i.strokeWidth : 3};
|
|
707
706
|
}
|
|
708
707
|
.commit-highlight-outer {
|
|
709
708
|
}
|
|
710
709
|
.commit-highlight-inner {
|
|
711
|
-
stroke: ${
|
|
712
|
-
fill: ${
|
|
710
|
+
stroke: ${P ? i.mainBkg : i.primaryColor};
|
|
711
|
+
fill: ${P ? i.mainBkg : i.primaryColor};
|
|
713
712
|
}
|
|
714
713
|
|
|
715
714
|
.arrow {
|
|
716
715
|
/* Intentional: neo themes keep the bold 8px arrow (like classic themes); only redux-geometry themes use the thinner options.strokeWidth. */
|
|
717
|
-
stroke-width: ${
|
|
716
|
+
stroke-width: ${REDUX_GEOMETRY_THEMES2.has(N) ? i.strokeWidth : 8};
|
|
718
717
|
stroke-linecap: round;
|
|
719
718
|
fill: none
|
|
720
719
|
}
|
|
721
720
|
.gitTitleText {
|
|
722
721
|
text-anchor: middle;
|
|
723
722
|
font-size: 18px;
|
|
724
|
-
fill: ${
|
|
723
|
+
fill: ${i.textColor};
|
|
725
724
|
}
|
|
726
725
|
`;
|
|
727
726
|
}, "getStyles")
|
|
728
727
|
};
|
|
729
|
-
|
|
730
|
-
export { qe as diagram };
|
|
728
|
+
export { diagram };
|