@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,15 +1,14 @@
|
|
|
1
|
-
import { __name
|
|
2
|
-
import { clear
|
|
3
|
-
import { generateId
|
|
4
|
-
import { render
|
|
5
|
-
import { getDiagramElement
|
|
6
|
-
import { setupViewPortForSVG
|
|
7
|
-
|
|
8
|
-
var
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
}, "o"), n = [1, 2], r = [1, 3], i = [1, 4], a = [2, 4], o = [1, 9], s = [1, 11], c = [1, 16], l = [1, 17], u = [1, 18], d = [1, 19], f = [1, 33], p = [1, 20], m = [1, 21], h = [1, 22], g = [1, 23], _ = [1, 24], v = [1, 26], y = [1, 27], b = [1, 28], x = [1, 29], S = [1, 30], C = [1, 31], w = [1, 32], T = [1, 35], E = [1, 36], D = [1, 37], O = [1, 38], k = [1, 34], A = [
|
|
1
|
+
import { __name, log } from "./chunk-AGHRB4JF.js";
|
|
2
|
+
import { clear, common_default, getAccDescription, getAccTitle, getConfig2, getDiagramTitle, setAccDescription, setAccTitle, setDiagramTitle } from "./chunk-ICPOFSXX.js";
|
|
3
|
+
import { generateId, utils_default } from "./chunk-5PVQY5BW.js";
|
|
4
|
+
import { render } from "./chunk-336JU56O.js";
|
|
5
|
+
import { getDiagramElement } from "./chunk-55IACEB6.js";
|
|
6
|
+
import { setupViewPortForSVG } from "./chunk-EDXVE4YY.js";
|
|
7
|
+
var parser = (function() {
|
|
8
|
+
var b = /* @__PURE__ */ __name(function(e, b, x, S) {
|
|
9
|
+
for (x ||= {}, S = e.length; S--; x[e[S]] = b);
|
|
10
|
+
return x;
|
|
11
|
+
}, "o"), x = [1, 2], S = [1, 3], C = [1, 4], w = [2, 4], T = [1, 9], E = [1, 11], D = [1, 16], O = [1, 17], k = [1, 18], A = [1, 19], j = [1, 33], M = [1, 20], N = [1, 21], P = [1, 22], F = [1, 23], I = [1, 24], L = [1, 26], R = [1, 27], z = [1, 28], B = [1, 29], V = [1, 30], H = [1, 31], U = [1, 32], W = [1, 35], G = [1, 36], K = [1, 37], q = [1, 38], J = [1, 34], Y = [
|
|
13
12
|
1,
|
|
14
13
|
4,
|
|
15
14
|
5,
|
|
@@ -36,7 +35,7 @@ var g = (function() {
|
|
|
36
35
|
53,
|
|
37
36
|
54,
|
|
38
37
|
57
|
|
39
|
-
],
|
|
38
|
+
], X = [
|
|
40
39
|
1,
|
|
41
40
|
4,
|
|
42
41
|
5,
|
|
@@ -67,7 +66,7 @@ var g = (function() {
|
|
|
67
66
|
53,
|
|
68
67
|
54,
|
|
69
68
|
57
|
|
70
|
-
],
|
|
69
|
+
], Z = [
|
|
71
70
|
4,
|
|
72
71
|
5,
|
|
73
72
|
16,
|
|
@@ -93,8 +92,8 @@ var g = (function() {
|
|
|
93
92
|
53,
|
|
94
93
|
54,
|
|
95
94
|
57
|
|
96
|
-
],
|
|
97
|
-
trace: /* @__PURE__ */
|
|
95
|
+
], Q = {
|
|
96
|
+
trace: /* @__PURE__ */ __name(function() {}, "trace"),
|
|
98
97
|
yy: {},
|
|
99
98
|
symbols_: {
|
|
100
99
|
error: 2,
|
|
@@ -261,135 +260,135 @@ var g = (function() {
|
|
|
261
260
|
[30, 1],
|
|
262
261
|
[30, 1]
|
|
263
262
|
],
|
|
264
|
-
performAction: /* @__PURE__ */
|
|
265
|
-
var
|
|
266
|
-
switch (
|
|
267
|
-
case 3: return
|
|
263
|
+
performAction: /* @__PURE__ */ __name(function(e, b, x, S, C, w, T) {
|
|
264
|
+
var E = w.length - 1;
|
|
265
|
+
switch (C) {
|
|
266
|
+
case 3: return S.setRootDoc(w[E]), w[E];
|
|
268
267
|
case 4:
|
|
269
268
|
this.$ = [];
|
|
270
269
|
break;
|
|
271
270
|
case 5:
|
|
272
|
-
|
|
271
|
+
w[E] != "nl" && (w[E - 1].push(w[E]), this.$ = w[E - 1]);
|
|
273
272
|
break;
|
|
274
273
|
case 6:
|
|
275
274
|
case 7:
|
|
276
|
-
this.$ =
|
|
275
|
+
this.$ = w[E];
|
|
277
276
|
break;
|
|
278
277
|
case 8:
|
|
279
278
|
this.$ = "nl";
|
|
280
279
|
break;
|
|
281
280
|
case 12:
|
|
282
|
-
this.$ =
|
|
281
|
+
this.$ = w[E];
|
|
283
282
|
break;
|
|
284
283
|
case 13:
|
|
285
|
-
let e =
|
|
286
|
-
e.description =
|
|
284
|
+
let e = w[E - 1];
|
|
285
|
+
e.description = S.trimColon(w[E]), this.$ = e;
|
|
287
286
|
break;
|
|
288
287
|
case 14:
|
|
289
288
|
this.$ = {
|
|
290
289
|
stmt: "relation",
|
|
291
|
-
state1:
|
|
292
|
-
state2:
|
|
290
|
+
state1: w[E - 2],
|
|
291
|
+
state2: w[E]
|
|
293
292
|
};
|
|
294
293
|
break;
|
|
295
294
|
case 15:
|
|
296
|
-
let
|
|
295
|
+
let b = S.trimColon(w[E]);
|
|
297
296
|
this.$ = {
|
|
298
297
|
stmt: "relation",
|
|
299
|
-
state1:
|
|
300
|
-
state2:
|
|
301
|
-
description:
|
|
298
|
+
state1: w[E - 3],
|
|
299
|
+
state2: w[E - 1],
|
|
300
|
+
description: b
|
|
302
301
|
};
|
|
303
302
|
break;
|
|
304
303
|
case 19:
|
|
305
304
|
this.$ = {
|
|
306
305
|
stmt: "state",
|
|
307
|
-
id:
|
|
306
|
+
id: w[E - 3],
|
|
308
307
|
type: "default",
|
|
309
308
|
description: "",
|
|
310
|
-
doc:
|
|
309
|
+
doc: w[E - 1]
|
|
311
310
|
};
|
|
312
311
|
break;
|
|
313
312
|
case 20:
|
|
314
|
-
var
|
|
315
|
-
if (
|
|
316
|
-
var
|
|
317
|
-
|
|
313
|
+
var D = w[E], O = w[E - 2].trim();
|
|
314
|
+
if (w[E].match(":")) {
|
|
315
|
+
var k = w[E].split(":");
|
|
316
|
+
D = k[0], O = [O, k[1]];
|
|
318
317
|
}
|
|
319
318
|
this.$ = {
|
|
320
319
|
stmt: "state",
|
|
321
|
-
id:
|
|
320
|
+
id: D,
|
|
322
321
|
type: "default",
|
|
323
|
-
description:
|
|
322
|
+
description: O
|
|
324
323
|
};
|
|
325
324
|
break;
|
|
326
325
|
case 21:
|
|
327
326
|
this.$ = {
|
|
328
327
|
stmt: "state",
|
|
329
|
-
id:
|
|
328
|
+
id: w[E - 3],
|
|
330
329
|
type: "default",
|
|
331
|
-
description:
|
|
332
|
-
doc:
|
|
330
|
+
description: w[E - 5],
|
|
331
|
+
doc: w[E - 1]
|
|
333
332
|
};
|
|
334
333
|
break;
|
|
335
334
|
case 22:
|
|
336
335
|
this.$ = {
|
|
337
336
|
stmt: "state",
|
|
338
|
-
id:
|
|
337
|
+
id: w[E],
|
|
339
338
|
type: "fork"
|
|
340
339
|
};
|
|
341
340
|
break;
|
|
342
341
|
case 23:
|
|
343
342
|
this.$ = {
|
|
344
343
|
stmt: "state",
|
|
345
|
-
id:
|
|
344
|
+
id: w[E],
|
|
346
345
|
type: "join"
|
|
347
346
|
};
|
|
348
347
|
break;
|
|
349
348
|
case 24:
|
|
350
349
|
this.$ = {
|
|
351
350
|
stmt: "state",
|
|
352
|
-
id:
|
|
351
|
+
id: w[E],
|
|
353
352
|
type: "choice"
|
|
354
353
|
};
|
|
355
354
|
break;
|
|
356
355
|
case 25:
|
|
357
356
|
this.$ = {
|
|
358
357
|
stmt: "state",
|
|
359
|
-
id:
|
|
358
|
+
id: S.getDividerId(),
|
|
360
359
|
type: "divider"
|
|
361
360
|
};
|
|
362
361
|
break;
|
|
363
362
|
case 26:
|
|
364
363
|
this.$ = {
|
|
365
364
|
stmt: "state",
|
|
366
|
-
id:
|
|
365
|
+
id: w[E - 1].trim(),
|
|
367
366
|
note: {
|
|
368
|
-
position:
|
|
369
|
-
text:
|
|
367
|
+
position: w[E - 2].trim(),
|
|
368
|
+
text: w[E].trim()
|
|
370
369
|
}
|
|
371
370
|
};
|
|
372
371
|
break;
|
|
373
372
|
case 29:
|
|
374
|
-
this.$ =
|
|
373
|
+
this.$ = w[E].trim(), S.setAccTitle(this.$);
|
|
375
374
|
break;
|
|
376
375
|
case 30:
|
|
377
376
|
case 31:
|
|
378
|
-
this.$ =
|
|
377
|
+
this.$ = w[E].trim(), S.setAccDescription(this.$);
|
|
379
378
|
break;
|
|
380
379
|
case 32:
|
|
381
380
|
this.$ = {
|
|
382
381
|
stmt: "click",
|
|
383
|
-
id:
|
|
384
|
-
url:
|
|
385
|
-
tooltip:
|
|
382
|
+
id: w[E - 3],
|
|
383
|
+
url: w[E - 2],
|
|
384
|
+
tooltip: w[E - 1]
|
|
386
385
|
};
|
|
387
386
|
break;
|
|
388
387
|
case 33:
|
|
389
388
|
this.$ = {
|
|
390
389
|
stmt: "click",
|
|
391
|
-
id:
|
|
392
|
-
url:
|
|
390
|
+
id: w[E - 3],
|
|
391
|
+
url: w[E - 1],
|
|
393
392
|
tooltip: ""
|
|
394
393
|
};
|
|
395
394
|
break;
|
|
@@ -397,44 +396,44 @@ var g = (function() {
|
|
|
397
396
|
case 35:
|
|
398
397
|
this.$ = {
|
|
399
398
|
stmt: "classDef",
|
|
400
|
-
id:
|
|
401
|
-
classes:
|
|
399
|
+
id: w[E - 1].trim(),
|
|
400
|
+
classes: w[E].trim()
|
|
402
401
|
};
|
|
403
402
|
break;
|
|
404
403
|
case 36:
|
|
405
404
|
this.$ = {
|
|
406
405
|
stmt: "style",
|
|
407
|
-
id:
|
|
408
|
-
styleClass:
|
|
406
|
+
id: w[E - 1].trim(),
|
|
407
|
+
styleClass: w[E].trim()
|
|
409
408
|
};
|
|
410
409
|
break;
|
|
411
410
|
case 37:
|
|
412
411
|
this.$ = {
|
|
413
412
|
stmt: "applyClass",
|
|
414
|
-
id:
|
|
415
|
-
styleClass:
|
|
413
|
+
id: w[E - 1].trim(),
|
|
414
|
+
styleClass: w[E].trim()
|
|
416
415
|
};
|
|
417
416
|
break;
|
|
418
417
|
case 38:
|
|
419
|
-
|
|
418
|
+
S.setDirection("TB"), this.$ = {
|
|
420
419
|
stmt: "dir",
|
|
421
420
|
value: "TB"
|
|
422
421
|
};
|
|
423
422
|
break;
|
|
424
423
|
case 39:
|
|
425
|
-
|
|
424
|
+
S.setDirection("BT"), this.$ = {
|
|
426
425
|
stmt: "dir",
|
|
427
426
|
value: "BT"
|
|
428
427
|
};
|
|
429
428
|
break;
|
|
430
429
|
case 40:
|
|
431
|
-
|
|
430
|
+
S.setDirection("RL"), this.$ = {
|
|
432
431
|
stmt: "dir",
|
|
433
432
|
value: "RL"
|
|
434
433
|
};
|
|
435
434
|
break;
|
|
436
435
|
case 41:
|
|
437
|
-
|
|
436
|
+
S.setDirection("LR"), this.$ = {
|
|
438
437
|
stmt: "dir",
|
|
439
438
|
value: "LR"
|
|
440
439
|
};
|
|
@@ -443,7 +442,7 @@ var g = (function() {
|
|
|
443
442
|
case 45:
|
|
444
443
|
this.$ = {
|
|
445
444
|
stmt: "state",
|
|
446
|
-
id:
|
|
445
|
+
id: w[E].trim(),
|
|
447
446
|
type: "default",
|
|
448
447
|
description: ""
|
|
449
448
|
};
|
|
@@ -451,8 +450,8 @@ var g = (function() {
|
|
|
451
450
|
case 46:
|
|
452
451
|
this.$ = {
|
|
453
452
|
stmt: "state",
|
|
454
|
-
id:
|
|
455
|
-
classes: [
|
|
453
|
+
id: w[E - 2].trim(),
|
|
454
|
+
classes: [w[E].trim()],
|
|
456
455
|
type: "default",
|
|
457
456
|
description: ""
|
|
458
457
|
};
|
|
@@ -460,8 +459,8 @@ var g = (function() {
|
|
|
460
459
|
case 47:
|
|
461
460
|
this.$ = {
|
|
462
461
|
stmt: "state",
|
|
463
|
-
id:
|
|
464
|
-
classes: [
|
|
462
|
+
id: w[E - 2].trim(),
|
|
463
|
+
classes: [w[E].trim()],
|
|
465
464
|
type: "default",
|
|
466
465
|
description: ""
|
|
467
466
|
};
|
|
@@ -471,24 +470,24 @@ var g = (function() {
|
|
|
471
470
|
table: [
|
|
472
471
|
{
|
|
473
472
|
3: 1,
|
|
474
|
-
4:
|
|
475
|
-
5:
|
|
476
|
-
6:
|
|
473
|
+
4: x,
|
|
474
|
+
5: S,
|
|
475
|
+
6: C
|
|
477
476
|
},
|
|
478
477
|
{ 1: [3] },
|
|
479
478
|
{
|
|
480
479
|
3: 5,
|
|
481
|
-
4:
|
|
482
|
-
5:
|
|
483
|
-
6:
|
|
480
|
+
4: x,
|
|
481
|
+
5: S,
|
|
482
|
+
6: C
|
|
484
483
|
},
|
|
485
484
|
{
|
|
486
485
|
3: 6,
|
|
487
|
-
4:
|
|
488
|
-
5:
|
|
489
|
-
6:
|
|
486
|
+
4: x,
|
|
487
|
+
5: S,
|
|
488
|
+
6: C
|
|
490
489
|
},
|
|
491
|
-
|
|
490
|
+
b([
|
|
492
491
|
1,
|
|
493
492
|
4,
|
|
494
493
|
5,
|
|
@@ -514,105 +513,105 @@ var g = (function() {
|
|
|
514
513
|
53,
|
|
515
514
|
54,
|
|
516
515
|
57
|
|
517
|
-
],
|
|
516
|
+
], w, { 7: 7 }),
|
|
518
517
|
{ 1: [2, 1] },
|
|
519
518
|
{ 1: [2, 2] },
|
|
520
519
|
{
|
|
521
520
|
1: [2, 3],
|
|
522
|
-
4:
|
|
523
|
-
5:
|
|
521
|
+
4: T,
|
|
522
|
+
5: E,
|
|
524
523
|
8: 8,
|
|
525
524
|
9: 10,
|
|
526
525
|
10: 12,
|
|
527
526
|
11: 13,
|
|
528
527
|
12: 14,
|
|
529
528
|
13: 15,
|
|
530
|
-
16:
|
|
531
|
-
17:
|
|
532
|
-
19:
|
|
533
|
-
22:
|
|
534
|
-
24:
|
|
535
|
-
25:
|
|
536
|
-
26:
|
|
537
|
-
27:
|
|
538
|
-
28:
|
|
539
|
-
29:
|
|
529
|
+
16: D,
|
|
530
|
+
17: O,
|
|
531
|
+
19: k,
|
|
532
|
+
22: A,
|
|
533
|
+
24: j,
|
|
534
|
+
25: M,
|
|
535
|
+
26: N,
|
|
536
|
+
27: P,
|
|
537
|
+
28: F,
|
|
538
|
+
29: I,
|
|
540
539
|
32: 25,
|
|
541
|
-
33:
|
|
542
|
-
35:
|
|
543
|
-
37:
|
|
544
|
-
38:
|
|
545
|
-
41:
|
|
546
|
-
45:
|
|
547
|
-
48:
|
|
548
|
-
51:
|
|
549
|
-
52:
|
|
550
|
-
53:
|
|
551
|
-
54:
|
|
552
|
-
57:
|
|
540
|
+
33: L,
|
|
541
|
+
35: R,
|
|
542
|
+
37: z,
|
|
543
|
+
38: B,
|
|
544
|
+
41: V,
|
|
545
|
+
45: H,
|
|
546
|
+
48: U,
|
|
547
|
+
51: W,
|
|
548
|
+
52: G,
|
|
549
|
+
53: K,
|
|
550
|
+
54: q,
|
|
551
|
+
57: J
|
|
553
552
|
},
|
|
554
|
-
|
|
553
|
+
b(Y, [2, 5]),
|
|
555
554
|
{
|
|
556
555
|
9: 39,
|
|
557
556
|
10: 12,
|
|
558
557
|
11: 13,
|
|
559
558
|
12: 14,
|
|
560
559
|
13: 15,
|
|
561
|
-
16:
|
|
562
|
-
17:
|
|
563
|
-
19:
|
|
564
|
-
22:
|
|
565
|
-
24:
|
|
566
|
-
25:
|
|
567
|
-
26:
|
|
568
|
-
27:
|
|
569
|
-
28:
|
|
570
|
-
29:
|
|
560
|
+
16: D,
|
|
561
|
+
17: O,
|
|
562
|
+
19: k,
|
|
563
|
+
22: A,
|
|
564
|
+
24: j,
|
|
565
|
+
25: M,
|
|
566
|
+
26: N,
|
|
567
|
+
27: P,
|
|
568
|
+
28: F,
|
|
569
|
+
29: I,
|
|
571
570
|
32: 25,
|
|
572
|
-
33:
|
|
573
|
-
35:
|
|
574
|
-
37:
|
|
575
|
-
38:
|
|
576
|
-
41:
|
|
577
|
-
45:
|
|
578
|
-
48:
|
|
579
|
-
51:
|
|
580
|
-
52:
|
|
581
|
-
53:
|
|
582
|
-
54:
|
|
583
|
-
57:
|
|
571
|
+
33: L,
|
|
572
|
+
35: R,
|
|
573
|
+
37: z,
|
|
574
|
+
38: B,
|
|
575
|
+
41: V,
|
|
576
|
+
45: H,
|
|
577
|
+
48: U,
|
|
578
|
+
51: W,
|
|
579
|
+
52: G,
|
|
580
|
+
53: K,
|
|
581
|
+
54: q,
|
|
582
|
+
57: J
|
|
584
583
|
},
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
584
|
+
b(Y, [2, 7]),
|
|
585
|
+
b(Y, [2, 8]),
|
|
586
|
+
b(Y, [2, 9]),
|
|
587
|
+
b(Y, [2, 10]),
|
|
588
|
+
b(Y, [2, 11]),
|
|
589
|
+
b(Y, [2, 12], {
|
|
591
590
|
14: [1, 40],
|
|
592
591
|
15: [1, 41]
|
|
593
592
|
}),
|
|
594
|
-
|
|
593
|
+
b(Y, [2, 16]),
|
|
595
594
|
{ 18: [1, 42] },
|
|
596
|
-
|
|
595
|
+
b(Y, [2, 18], { 20: [1, 43] }),
|
|
597
596
|
{ 23: [1, 44] },
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
597
|
+
b(Y, [2, 22]),
|
|
598
|
+
b(Y, [2, 23]),
|
|
599
|
+
b(Y, [2, 24]),
|
|
600
|
+
b(Y, [2, 25]),
|
|
602
601
|
{
|
|
603
602
|
30: 45,
|
|
604
603
|
31: [1, 46],
|
|
605
604
|
59: [1, 47],
|
|
606
605
|
60: [1, 48]
|
|
607
606
|
},
|
|
608
|
-
|
|
607
|
+
b(Y, [2, 28]),
|
|
609
608
|
{ 34: [1, 49] },
|
|
610
609
|
{ 36: [1, 50] },
|
|
611
|
-
|
|
610
|
+
b(Y, [2, 31]),
|
|
612
611
|
{
|
|
613
612
|
13: 51,
|
|
614
|
-
24:
|
|
615
|
-
57:
|
|
613
|
+
24: j,
|
|
614
|
+
57: J
|
|
616
615
|
},
|
|
617
616
|
{
|
|
618
617
|
42: [1, 52],
|
|
@@ -620,28 +619,28 @@ var g = (function() {
|
|
|
620
619
|
},
|
|
621
620
|
{ 46: [1, 54] },
|
|
622
621
|
{ 49: [1, 55] },
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
|
|
622
|
+
b(X, [2, 44], { 58: [1, 56] }),
|
|
623
|
+
b(X, [2, 45], { 58: [1, 57] }),
|
|
624
|
+
b(Y, [2, 38]),
|
|
625
|
+
b(Y, [2, 39]),
|
|
626
|
+
b(Y, [2, 40]),
|
|
627
|
+
b(Y, [2, 41]),
|
|
628
|
+
b(Y, [2, 6]),
|
|
629
|
+
b(Y, [2, 13]),
|
|
631
630
|
{
|
|
632
631
|
13: 58,
|
|
633
|
-
24:
|
|
634
|
-
57:
|
|
632
|
+
24: j,
|
|
633
|
+
57: J
|
|
635
634
|
},
|
|
636
|
-
|
|
637
|
-
|
|
635
|
+
b(Y, [2, 17]),
|
|
636
|
+
b(Z, w, { 7: 59 }),
|
|
638
637
|
{ 24: [1, 60] },
|
|
639
638
|
{ 24: [1, 61] },
|
|
640
639
|
{ 23: [1, 62] },
|
|
641
640
|
{ 24: [2, 48] },
|
|
642
641
|
{ 24: [2, 49] },
|
|
643
|
-
|
|
644
|
-
|
|
642
|
+
b(Y, [2, 29]),
|
|
643
|
+
b(Y, [2, 30]),
|
|
645
644
|
{
|
|
646
645
|
39: [1, 63],
|
|
647
646
|
40: [1, 64]
|
|
@@ -652,96 +651,96 @@ var g = (function() {
|
|
|
652
651
|
{ 50: [1, 68] },
|
|
653
652
|
{ 24: [1, 69] },
|
|
654
653
|
{ 24: [1, 70] },
|
|
655
|
-
|
|
654
|
+
b(Y, [2, 14], { 14: [1, 71] }),
|
|
656
655
|
{
|
|
657
|
-
4:
|
|
658
|
-
5:
|
|
656
|
+
4: T,
|
|
657
|
+
5: E,
|
|
659
658
|
8: 8,
|
|
660
659
|
9: 10,
|
|
661
660
|
10: 12,
|
|
662
661
|
11: 13,
|
|
663
662
|
12: 14,
|
|
664
663
|
13: 15,
|
|
665
|
-
16:
|
|
666
|
-
17:
|
|
667
|
-
19:
|
|
664
|
+
16: D,
|
|
665
|
+
17: O,
|
|
666
|
+
19: k,
|
|
668
667
|
21: [1, 72],
|
|
669
|
-
22:
|
|
670
|
-
24:
|
|
671
|
-
25:
|
|
672
|
-
26:
|
|
673
|
-
27:
|
|
674
|
-
28:
|
|
675
|
-
29:
|
|
668
|
+
22: A,
|
|
669
|
+
24: j,
|
|
670
|
+
25: M,
|
|
671
|
+
26: N,
|
|
672
|
+
27: P,
|
|
673
|
+
28: F,
|
|
674
|
+
29: I,
|
|
676
675
|
32: 25,
|
|
677
|
-
33:
|
|
678
|
-
35:
|
|
679
|
-
37:
|
|
680
|
-
38:
|
|
681
|
-
41:
|
|
682
|
-
45:
|
|
683
|
-
48:
|
|
684
|
-
51:
|
|
685
|
-
52:
|
|
686
|
-
53:
|
|
687
|
-
54:
|
|
688
|
-
57:
|
|
676
|
+
33: L,
|
|
677
|
+
35: R,
|
|
678
|
+
37: z,
|
|
679
|
+
38: B,
|
|
680
|
+
41: V,
|
|
681
|
+
45: H,
|
|
682
|
+
48: U,
|
|
683
|
+
51: W,
|
|
684
|
+
52: G,
|
|
685
|
+
53: K,
|
|
686
|
+
54: q,
|
|
687
|
+
57: J
|
|
689
688
|
},
|
|
690
|
-
|
|
689
|
+
b(Y, [2, 20], { 20: [1, 73] }),
|
|
691
690
|
{ 31: [1, 74] },
|
|
692
691
|
{ 24: [1, 75] },
|
|
693
692
|
{ 39: [1, 76] },
|
|
694
693
|
{ 39: [1, 77] },
|
|
695
|
-
|
|
696
|
-
|
|
697
|
-
|
|
698
|
-
|
|
699
|
-
|
|
700
|
-
|
|
701
|
-
|
|
702
|
-
|
|
703
|
-
|
|
704
|
-
|
|
705
|
-
|
|
694
|
+
b(Y, [2, 34]),
|
|
695
|
+
b(Y, [2, 35]),
|
|
696
|
+
b(Y, [2, 36]),
|
|
697
|
+
b(Y, [2, 37]),
|
|
698
|
+
b(X, [2, 46]),
|
|
699
|
+
b(X, [2, 47]),
|
|
700
|
+
b(Y, [2, 15]),
|
|
701
|
+
b(Y, [2, 19]),
|
|
702
|
+
b(Z, w, { 7: 78 }),
|
|
703
|
+
b(Y, [2, 26]),
|
|
704
|
+
b(Y, [2, 27]),
|
|
706
705
|
{ 5: [1, 79] },
|
|
707
706
|
{ 5: [1, 80] },
|
|
708
707
|
{
|
|
709
|
-
4:
|
|
710
|
-
5:
|
|
708
|
+
4: T,
|
|
709
|
+
5: E,
|
|
711
710
|
8: 8,
|
|
712
711
|
9: 10,
|
|
713
712
|
10: 12,
|
|
714
713
|
11: 13,
|
|
715
714
|
12: 14,
|
|
716
715
|
13: 15,
|
|
717
|
-
16:
|
|
718
|
-
17:
|
|
719
|
-
19:
|
|
716
|
+
16: D,
|
|
717
|
+
17: O,
|
|
718
|
+
19: k,
|
|
720
719
|
21: [1, 81],
|
|
721
|
-
22:
|
|
722
|
-
24:
|
|
723
|
-
25:
|
|
724
|
-
26:
|
|
725
|
-
27:
|
|
726
|
-
28:
|
|
727
|
-
29:
|
|
720
|
+
22: A,
|
|
721
|
+
24: j,
|
|
722
|
+
25: M,
|
|
723
|
+
26: N,
|
|
724
|
+
27: P,
|
|
725
|
+
28: F,
|
|
726
|
+
29: I,
|
|
728
727
|
32: 25,
|
|
729
|
-
33:
|
|
730
|
-
35:
|
|
731
|
-
37:
|
|
732
|
-
38:
|
|
733
|
-
41:
|
|
734
|
-
45:
|
|
735
|
-
48:
|
|
736
|
-
51:
|
|
737
|
-
52:
|
|
738
|
-
53:
|
|
739
|
-
54:
|
|
740
|
-
57:
|
|
728
|
+
33: L,
|
|
729
|
+
35: R,
|
|
730
|
+
37: z,
|
|
731
|
+
38: B,
|
|
732
|
+
41: V,
|
|
733
|
+
45: H,
|
|
734
|
+
48: U,
|
|
735
|
+
51: W,
|
|
736
|
+
52: G,
|
|
737
|
+
53: K,
|
|
738
|
+
54: q,
|
|
739
|
+
57: J
|
|
741
740
|
},
|
|
742
|
-
|
|
743
|
-
|
|
744
|
-
|
|
741
|
+
b(Y, [2, 32]),
|
|
742
|
+
b(Y, [2, 33]),
|
|
743
|
+
b(Y, [2, 21])
|
|
745
744
|
],
|
|
746
745
|
defaultActions: {
|
|
747
746
|
5: [2, 1],
|
|
@@ -749,63 +748,63 @@ var g = (function() {
|
|
|
749
748
|
47: [2, 48],
|
|
750
749
|
48: [2, 49]
|
|
751
750
|
},
|
|
752
|
-
parseError: /* @__PURE__ */
|
|
753
|
-
if (
|
|
751
|
+
parseError: /* @__PURE__ */ __name(function(e, b) {
|
|
752
|
+
if (b.recoverable) this.trace(e);
|
|
754
753
|
else {
|
|
755
|
-
var
|
|
756
|
-
throw
|
|
754
|
+
var x = Error(e);
|
|
755
|
+
throw x.hash = b, x;
|
|
757
756
|
}
|
|
758
757
|
}, "parseError"),
|
|
759
|
-
parse: /* @__PURE__ */
|
|
760
|
-
var
|
|
761
|
-
for (var
|
|
762
|
-
|
|
763
|
-
var
|
|
764
|
-
|
|
765
|
-
var
|
|
766
|
-
typeof
|
|
767
|
-
function
|
|
768
|
-
|
|
758
|
+
parse: /* @__PURE__ */ __name(function(b) {
|
|
759
|
+
var x = this, S = [0], C = [], w = [null], T = [], E = this.table, D = "", O = 0, k = 0, A = 0, j = 2, M = 1, N = T.slice.call(arguments, 1), P = Object.create(this.lexer), F = { yy: {} };
|
|
760
|
+
for (var I in this.yy) Object.prototype.hasOwnProperty.call(this.yy, I) && (F.yy[I] = this.yy[I]);
|
|
761
|
+
P.setInput(b, F.yy), F.yy.lexer = P, F.yy.parser = this, P.yylloc === void 0 && (P.yylloc = {});
|
|
762
|
+
var L = P.yylloc;
|
|
763
|
+
T.push(L);
|
|
764
|
+
var R = P.options && P.options.ranges;
|
|
765
|
+
typeof F.yy.parseError == "function" ? this.parseError = F.yy.parseError : this.parseError = Object.getPrototypeOf(this).parseError;
|
|
766
|
+
function z(e) {
|
|
767
|
+
S.length -= 2 * e, w.length -= e, T.length -= e;
|
|
769
768
|
}
|
|
770
|
-
|
|
771
|
-
function
|
|
772
|
-
var e =
|
|
773
|
-
return typeof e != "number" && (e instanceof Array && (
|
|
769
|
+
__name(z, "popStack");
|
|
770
|
+
function B() {
|
|
771
|
+
var e = C.pop() || P.lex() || M;
|
|
772
|
+
return typeof e != "number" && (e instanceof Array && (C = e, e = C.pop()), e = x.symbols_[e] || e), e;
|
|
774
773
|
}
|
|
775
|
-
|
|
776
|
-
for (var
|
|
777
|
-
if (
|
|
778
|
-
var
|
|
779
|
-
for (
|
|
780
|
-
|
|
781
|
-
text:
|
|
782
|
-
token: this.terminals_[
|
|
783
|
-
line:
|
|
784
|
-
loc:
|
|
785
|
-
expected:
|
|
774
|
+
__name(B, "lex");
|
|
775
|
+
for (var V, H, U, W, G, K = {}, q, J, Y, X;;) {
|
|
776
|
+
if (U = S[S.length - 1], this.defaultActions[U] ? W = this.defaultActions[U] : (V ??= B(), W = E[U] && E[U][V]), W === void 0 || !W.length || !W[0]) {
|
|
777
|
+
var Z = "";
|
|
778
|
+
for (q in X = [], E[U]) this.terminals_[q] && q > j && X.push("'" + this.terminals_[q] + "'");
|
|
779
|
+
Z = P.showPosition ? "Parse error on line " + (O + 1) + ":\n" + P.showPosition() + "\nExpecting " + X.join(", ") + ", got '" + (this.terminals_[V] || V) + "'" : "Parse error on line " + (O + 1) + ": Unexpected " + (V == M ? "end of input" : "'" + (this.terminals_[V] || V) + "'"), this.parseError(Z, {
|
|
780
|
+
text: P.match,
|
|
781
|
+
token: this.terminals_[V] || V,
|
|
782
|
+
line: P.yylineno,
|
|
783
|
+
loc: L,
|
|
784
|
+
expected: X
|
|
786
785
|
});
|
|
787
786
|
}
|
|
788
|
-
if (
|
|
789
|
-
switch (
|
|
787
|
+
if (W[0] instanceof Array && W.length > 1) throw Error("Parse Error: multiple actions possible at state: " + U + ", token: " + V);
|
|
788
|
+
switch (W[0]) {
|
|
790
789
|
case 1:
|
|
791
|
-
|
|
790
|
+
S.push(V), w.push(P.yytext), T.push(P.yylloc), S.push(W[1]), V = null, H ? (V = H, H = null) : (k = P.yyleng, D = P.yytext, O = P.yylineno, L = P.yylloc, A > 0 && A--);
|
|
792
791
|
break;
|
|
793
792
|
case 2:
|
|
794
|
-
if (
|
|
795
|
-
first_line:
|
|
796
|
-
last_line:
|
|
797
|
-
first_column:
|
|
798
|
-
last_column:
|
|
799
|
-
},
|
|
800
|
-
|
|
801
|
-
|
|
802
|
-
|
|
803
|
-
|
|
804
|
-
|
|
805
|
-
|
|
806
|
-
|
|
807
|
-
].concat(
|
|
808
|
-
|
|
793
|
+
if (J = this.productions_[W[1]][1], K.$ = w[w.length - J], K._$ = {
|
|
794
|
+
first_line: T[T.length - (J || 1)].first_line,
|
|
795
|
+
last_line: T[T.length - 1].last_line,
|
|
796
|
+
first_column: T[T.length - (J || 1)].first_column,
|
|
797
|
+
last_column: T[T.length - 1].last_column
|
|
798
|
+
}, R && (K._$.range = [T[T.length - (J || 1)].range[0], T[T.length - 1].range[1]]), G = this.performAction.apply(K, [
|
|
799
|
+
D,
|
|
800
|
+
k,
|
|
801
|
+
O,
|
|
802
|
+
F.yy,
|
|
803
|
+
W[1],
|
|
804
|
+
w,
|
|
805
|
+
T
|
|
806
|
+
].concat(N)), G !== void 0) return G;
|
|
807
|
+
J && (S = S.slice(0, -1 * J * 2), w = w.slice(0, -1 * J), T = T.slice(0, -1 * J)), S.push(this.productions_[W[1]][0]), w.push(K.$), T.push(K._$), Y = E[S[S.length - 2]][S[S.length - 1]], S.push(Y);
|
|
809
808
|
break;
|
|
810
809
|
case 3: return !0;
|
|
811
810
|
}
|
|
@@ -813,42 +812,42 @@ var g = (function() {
|
|
|
813
812
|
return !0;
|
|
814
813
|
}, "parse")
|
|
815
814
|
};
|
|
816
|
-
|
|
815
|
+
Q.lexer = /* @__PURE__ */ (function() {
|
|
817
816
|
return {
|
|
818
817
|
EOF: 1,
|
|
819
|
-
parseError: /* @__PURE__ */
|
|
820
|
-
if (this.yy.parser) this.yy.parser.parseError(e,
|
|
818
|
+
parseError: /* @__PURE__ */ __name(function(e, b) {
|
|
819
|
+
if (this.yy.parser) this.yy.parser.parseError(e, b);
|
|
821
820
|
else throw Error(e);
|
|
822
821
|
}, "parseError"),
|
|
823
|
-
setInput: /* @__PURE__ */
|
|
824
|
-
return this.yy =
|
|
822
|
+
setInput: /* @__PURE__ */ __name(function(e, b) {
|
|
823
|
+
return this.yy = b || this.yy || {}, this._input = e, this._more = this._backtrack = this.done = !1, this.yylineno = this.yyleng = 0, this.yytext = this.matched = this.match = "", this.conditionStack = ["INITIAL"], this.yylloc = {
|
|
825
824
|
first_line: 1,
|
|
826
825
|
first_column: 0,
|
|
827
826
|
last_line: 1,
|
|
828
827
|
last_column: 0
|
|
829
828
|
}, this.options.ranges && (this.yylloc.range = [0, 0]), this.offset = 0, this;
|
|
830
829
|
}, "setInput"),
|
|
831
|
-
input: /* @__PURE__ */
|
|
830
|
+
input: /* @__PURE__ */ __name(function() {
|
|
832
831
|
var e = this._input[0];
|
|
833
832
|
return this.yytext += e, this.yyleng++, this.offset++, this.match += e, this.matched += e, e.match(/(?:\r\n?|\n).*/g) ? (this.yylineno++, this.yylloc.last_line++) : this.yylloc.last_column++, this.options.ranges && this.yylloc.range[1]++, this._input = this._input.slice(1), e;
|
|
834
833
|
}, "input"),
|
|
835
|
-
unput: /* @__PURE__ */
|
|
836
|
-
var
|
|
837
|
-
this._input = e + this._input, this.yytext = this.yytext.substr(0, this.yytext.length -
|
|
838
|
-
var
|
|
839
|
-
this.match = this.match.substr(0, this.match.length - 1), this.matched = this.matched.substr(0, this.matched.length - 1),
|
|
840
|
-
var
|
|
834
|
+
unput: /* @__PURE__ */ __name(function(e) {
|
|
835
|
+
var b = e.length, x = e.split(/(?:\r\n?|\n)/g);
|
|
836
|
+
this._input = e + this._input, this.yytext = this.yytext.substr(0, this.yytext.length - b), this.offset -= b;
|
|
837
|
+
var S = this.match.split(/(?:\r\n?|\n)/g);
|
|
838
|
+
this.match = this.match.substr(0, this.match.length - 1), this.matched = this.matched.substr(0, this.matched.length - 1), x.length - 1 && (this.yylineno -= x.length - 1);
|
|
839
|
+
var C = this.yylloc.range;
|
|
841
840
|
return this.yylloc = {
|
|
842
841
|
first_line: this.yylloc.first_line,
|
|
843
842
|
last_line: this.yylineno + 1,
|
|
844
843
|
first_column: this.yylloc.first_column,
|
|
845
|
-
last_column:
|
|
846
|
-
}, this.options.ranges && (this.yylloc.range = [
|
|
844
|
+
last_column: x ? (x.length === S.length ? this.yylloc.first_column : 0) + S[S.length - x.length].length - x[0].length : this.yylloc.first_column - b
|
|
845
|
+
}, this.options.ranges && (this.yylloc.range = [C[0], C[0] + this.yyleng - b]), this.yyleng = this.yytext.length, this;
|
|
847
846
|
}, "unput"),
|
|
848
|
-
more: /* @__PURE__ */
|
|
847
|
+
more: /* @__PURE__ */ __name(function() {
|
|
849
848
|
return this._more = !0, this;
|
|
850
849
|
}, "more"),
|
|
851
|
-
reject: /* @__PURE__ */
|
|
850
|
+
reject: /* @__PURE__ */ __name(function() {
|
|
852
851
|
if (this.options.backtrack_lexer) this._backtrack = !0;
|
|
853
852
|
else return this.parseError("Lexical error on line " + (this.yylineno + 1) + ". You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).\n" + this.showPosition(), {
|
|
854
853
|
text: "",
|
|
@@ -857,24 +856,24 @@ var g = (function() {
|
|
|
857
856
|
});
|
|
858
857
|
return this;
|
|
859
858
|
}, "reject"),
|
|
860
|
-
less: /* @__PURE__ */
|
|
859
|
+
less: /* @__PURE__ */ __name(function(e) {
|
|
861
860
|
this.unput(this.match.slice(e));
|
|
862
861
|
}, "less"),
|
|
863
|
-
pastInput: /* @__PURE__ */
|
|
862
|
+
pastInput: /* @__PURE__ */ __name(function() {
|
|
864
863
|
var e = this.matched.substr(0, this.matched.length - this.match.length);
|
|
865
864
|
return (e.length > 20 ? "..." : "") + e.substr(-20).replace(/\n/g, "");
|
|
866
865
|
}, "pastInput"),
|
|
867
|
-
upcomingInput: /* @__PURE__ */
|
|
866
|
+
upcomingInput: /* @__PURE__ */ __name(function() {
|
|
868
867
|
var e = this.match;
|
|
869
868
|
return e.length < 20 && (e += this._input.substr(0, 20 - e.length)), (e.substr(0, 20) + (e.length > 20 ? "..." : "")).replace(/\n/g, "");
|
|
870
869
|
}, "upcomingInput"),
|
|
871
|
-
showPosition: /* @__PURE__ */
|
|
872
|
-
var e = this.pastInput(),
|
|
873
|
-
return e + this.upcomingInput() + "\n" +
|
|
870
|
+
showPosition: /* @__PURE__ */ __name(function() {
|
|
871
|
+
var e = this.pastInput(), b = Array(e.length + 1).join("-");
|
|
872
|
+
return e + this.upcomingInput() + "\n" + b + "^";
|
|
874
873
|
}, "showPosition"),
|
|
875
|
-
test_match: /* @__PURE__ */
|
|
876
|
-
var
|
|
877
|
-
if (this.options.backtrack_lexer && (
|
|
874
|
+
test_match: /* @__PURE__ */ __name(function(e, b) {
|
|
875
|
+
var x, S, C;
|
|
876
|
+
if (this.options.backtrack_lexer && (C = {
|
|
878
877
|
yylineno: this.yylineno,
|
|
879
878
|
yylloc: {
|
|
880
879
|
first_line: this.yylloc.first_line,
|
|
@@ -893,62 +892,62 @@ var g = (function() {
|
|
|
893
892
|
yy: this.yy,
|
|
894
893
|
conditionStack: this.conditionStack.slice(0),
|
|
895
894
|
done: this.done
|
|
896
|
-
}, this.options.ranges && (
|
|
895
|
+
}, this.options.ranges && (C.yylloc.range = this.yylloc.range.slice(0))), S = e[0].match(/(?:\r\n?|\n).*/g), S && (this.yylineno += S.length), this.yylloc = {
|
|
897
896
|
first_line: this.yylloc.last_line,
|
|
898
897
|
last_line: this.yylineno + 1,
|
|
899
898
|
first_column: this.yylloc.last_column,
|
|
900
|
-
last_column:
|
|
901
|
-
}, this.yytext += e[0], this.match += e[0], this.matches = e, this.yyleng = this.yytext.length, this.options.ranges && (this.yylloc.range = [this.offset, this.offset += this.yyleng]), this._more = !1, this._backtrack = !1, this._input = this._input.slice(e[0].length), this.matched += e[0],
|
|
899
|
+
last_column: S ? S[S.length - 1].length - S[S.length - 1].match(/\r?\n?/)[0].length : this.yylloc.last_column + e[0].length
|
|
900
|
+
}, this.yytext += e[0], this.match += e[0], this.matches = e, this.yyleng = this.yytext.length, this.options.ranges && (this.yylloc.range = [this.offset, this.offset += this.yyleng]), this._more = !1, this._backtrack = !1, this._input = this._input.slice(e[0].length), this.matched += e[0], x = this.performAction.call(this, this.yy, this, b, this.conditionStack[this.conditionStack.length - 1]), this.done && this._input && (this.done = !1), x) return x;
|
|
902
901
|
if (this._backtrack) {
|
|
903
|
-
for (var
|
|
902
|
+
for (var w in C) this[w] = C[w];
|
|
904
903
|
return !1;
|
|
905
904
|
}
|
|
906
905
|
return !1;
|
|
907
906
|
}, "test_match"),
|
|
908
|
-
next: /* @__PURE__ */
|
|
907
|
+
next: /* @__PURE__ */ __name(function() {
|
|
909
908
|
if (this.done) return this.EOF;
|
|
910
909
|
this._input || (this.done = !0);
|
|
911
|
-
var e,
|
|
910
|
+
var e, b, x, S;
|
|
912
911
|
this._more || (this.yytext = "", this.match = "");
|
|
913
|
-
for (var
|
|
914
|
-
if (
|
|
915
|
-
if (e = this.test_match(
|
|
912
|
+
for (var C = this._currentRules(), w = 0; w < C.length; w++) if (x = this._input.match(this.rules[C[w]]), x && (!b || x[0].length > b[0].length)) {
|
|
913
|
+
if (b = x, S = w, this.options.backtrack_lexer) {
|
|
914
|
+
if (e = this.test_match(x, C[w]), e !== !1) return e;
|
|
916
915
|
if (this._backtrack) {
|
|
917
|
-
|
|
916
|
+
b = !1;
|
|
918
917
|
continue;
|
|
919
918
|
} else return !1;
|
|
920
919
|
} else if (!this.options.flex) break;
|
|
921
920
|
}
|
|
922
|
-
return
|
|
921
|
+
return b ? (e = this.test_match(b, C[S]), e === !1 ? !1 : e) : this._input === "" ? this.EOF : this.parseError("Lexical error on line " + (this.yylineno + 1) + ". Unrecognized text.\n" + this.showPosition(), {
|
|
923
922
|
text: "",
|
|
924
923
|
token: null,
|
|
925
924
|
line: this.yylineno
|
|
926
925
|
});
|
|
927
926
|
}, "next"),
|
|
928
|
-
lex: /* @__PURE__ */
|
|
927
|
+
lex: /* @__PURE__ */ __name(function() {
|
|
929
928
|
return this.next() || this.lex();
|
|
930
929
|
}, "lex"),
|
|
931
|
-
begin: /* @__PURE__ */
|
|
930
|
+
begin: /* @__PURE__ */ __name(function(e) {
|
|
932
931
|
this.conditionStack.push(e);
|
|
933
932
|
}, "begin"),
|
|
934
|
-
popState: /* @__PURE__ */
|
|
933
|
+
popState: /* @__PURE__ */ __name(function() {
|
|
935
934
|
return this.conditionStack.length - 1 > 0 ? this.conditionStack.pop() : this.conditionStack[0];
|
|
936
935
|
}, "popState"),
|
|
937
|
-
_currentRules: /* @__PURE__ */
|
|
936
|
+
_currentRules: /* @__PURE__ */ __name(function() {
|
|
938
937
|
return this.conditionStack.length && this.conditionStack[this.conditionStack.length - 1] ? this.conditions[this.conditionStack[this.conditionStack.length - 1]].rules : this.conditions.INITIAL.rules;
|
|
939
938
|
}, "_currentRules"),
|
|
940
|
-
topState: /* @__PURE__ */
|
|
939
|
+
topState: /* @__PURE__ */ __name(function(e) {
|
|
941
940
|
return e = this.conditionStack.length - 1 - Math.abs(e || 0), e >= 0 ? this.conditionStack[e] : "INITIAL";
|
|
942
941
|
}, "topState"),
|
|
943
|
-
pushState: /* @__PURE__ */
|
|
942
|
+
pushState: /* @__PURE__ */ __name(function(e) {
|
|
944
943
|
this.begin(e);
|
|
945
944
|
}, "pushState"),
|
|
946
|
-
stateStackSize: /* @__PURE__ */
|
|
945
|
+
stateStackSize: /* @__PURE__ */ __name(function() {
|
|
947
946
|
return this.conditionStack.length;
|
|
948
947
|
}, "stateStackSize"),
|
|
949
948
|
options: { "case-insensitive": !0 },
|
|
950
|
-
performAction: /* @__PURE__ */
|
|
951
|
-
switch (
|
|
949
|
+
performAction: /* @__PURE__ */ __name(function(e, b, x, S) {
|
|
950
|
+
switch (x) {
|
|
952
951
|
case 0: return 38;
|
|
953
952
|
case 1: return 40;
|
|
954
953
|
case 2: return 39;
|
|
@@ -998,12 +997,12 @@ var g = (function() {
|
|
|
998
997
|
case 38:
|
|
999
998
|
this.pushState("STATE");
|
|
1000
999
|
break;
|
|
1001
|
-
case 39: return this.popState(),
|
|
1002
|
-
case 40: return this.popState(),
|
|
1003
|
-
case 41: return this.popState(),
|
|
1004
|
-
case 42: return this.popState(),
|
|
1005
|
-
case 43: return this.popState(),
|
|
1006
|
-
case 44: return this.popState(),
|
|
1000
|
+
case 39: return this.popState(), b.yytext = b.yytext.slice(0, -8).trim(), 25;
|
|
1001
|
+
case 40: return this.popState(), b.yytext = b.yytext.slice(0, -8).trim(), 26;
|
|
1002
|
+
case 41: return this.popState(), b.yytext = b.yytext.slice(0, -10).trim(), 27;
|
|
1003
|
+
case 42: return this.popState(), b.yytext = b.yytext.slice(0, -8).trim(), 25;
|
|
1004
|
+
case 43: return this.popState(), b.yytext = b.yytext.slice(0, -8).trim(), 26;
|
|
1005
|
+
case 44: return this.popState(), b.yytext = b.yytext.slice(0, -10).trim(), 27;
|
|
1007
1006
|
case 45: return 51;
|
|
1008
1007
|
case 46: return 52;
|
|
1009
1008
|
case 47: return 53;
|
|
@@ -1036,14 +1035,14 @@ var g = (function() {
|
|
|
1036
1035
|
case 66: return "NOTE_TEXT";
|
|
1037
1036
|
case 67: return this.popState(), "ID";
|
|
1038
1037
|
case 68: return this.popState(), this.pushState("NOTE_TEXT"), 24;
|
|
1039
|
-
case 69: return this.popState(),
|
|
1040
|
-
case 70: return this.popState(),
|
|
1038
|
+
case 69: return this.popState(), b.yytext = b.yytext.substr(2).trim(), 31;
|
|
1039
|
+
case 70: return this.popState(), b.yytext = b.yytext.slice(0, -8).trim(), 31;
|
|
1041
1040
|
case 71: return 6;
|
|
1042
1041
|
case 72: return 6;
|
|
1043
1042
|
case 73: return 16;
|
|
1044
1043
|
case 74: return 57;
|
|
1045
1044
|
case 75: return 24;
|
|
1046
|
-
case 76: return
|
|
1045
|
+
case 76: return b.yytext = b.yytext.trim(), 14;
|
|
1047
1046
|
case 77: return 15;
|
|
1048
1047
|
case 78: return 28;
|
|
1049
1048
|
case 79: return 58;
|
|
@@ -1327,204 +1326,204 @@ var g = (function() {
|
|
|
1327
1326
|
}
|
|
1328
1327
|
};
|
|
1329
1328
|
})();
|
|
1330
|
-
function
|
|
1329
|
+
function $() {
|
|
1331
1330
|
this.yy = {};
|
|
1332
1331
|
}
|
|
1333
|
-
return
|
|
1332
|
+
return __name($, "Parser"), $.prototype = Q, Q.Parser = $, new $();
|
|
1334
1333
|
})();
|
|
1335
|
-
|
|
1336
|
-
var
|
|
1337
|
-
if (!e.doc) return
|
|
1338
|
-
let
|
|
1339
|
-
for (let
|
|
1340
|
-
return
|
|
1341
|
-
}, "getDir"),
|
|
1342
|
-
getClasses: /* @__PURE__ */
|
|
1343
|
-
return
|
|
1334
|
+
parser.parser = parser;
|
|
1335
|
+
var stateDiagram_default = parser, DEFAULT_DIAGRAM_DIRECTION = "TB", DEFAULT_NESTED_DOC_DIR = "TB", STMT_DIRECTION = "dir", STMT_STATE = "state", STMT_ROOT = "root", STMT_RELATION = "relation", STMT_CLASSDEF = "classDef", STMT_STYLEDEF = "style", STMT_APPLYCLASS = "applyClass", DEFAULT_STATE_TYPE = "default", DIVIDER_TYPE = "divider", G_EDGE_STYLE = "fill:none", G_EDGE_ARROWHEADSTYLE = "fill: #333", G_EDGE_LABELPOS = "c", G_EDGE_LABELTYPE = "markdown", G_EDGE_THICKNESS = "normal", SHAPE_STATE = "rect", SHAPE_STATE_WITH_DESC = "rectWithTitle", SHAPE_START = "stateStart", SHAPE_END = "stateEnd", SHAPE_DIVIDER = "divider", SHAPE_GROUP = "roundedWithTitle", SHAPE_NOTE = "note", SHAPE_NOTEGROUP = "noteGroup", CSS_DIAGRAM = "statediagram", CSS_DIAGRAM_STATE = `${CSS_DIAGRAM}-state`, CSS_EDGE = "transition", CSS_NOTE = "note", CSS_EDGE_NOTE_EDGE = `${CSS_EDGE} note-edge`, CSS_DIAGRAM_NOTE = `${CSS_DIAGRAM}-${CSS_NOTE}`, CSS_DIAGRAM_CLUSTER = `${CSS_DIAGRAM}-cluster`, CSS_DIAGRAM_CLUSTER_ALT = `${CSS_DIAGRAM}-cluster-alt`, PARENT = "parent", NOTE = "note", DOMID_STATE = "state", DOMID_TYPE_SPACER = "----", NOTE_ID = `${DOMID_TYPE_SPACER}${NOTE}`, PARENT_ID = `${DOMID_TYPE_SPACER}${PARENT}`, getDir = /* @__PURE__ */ __name((e, b = DEFAULT_NESTED_DOC_DIR) => {
|
|
1336
|
+
if (!e.doc) return b;
|
|
1337
|
+
let x = b;
|
|
1338
|
+
for (let b of e.doc) b.stmt === "dir" && (x = b.value);
|
|
1339
|
+
return x;
|
|
1340
|
+
}, "getDir"), stateRenderer_v3_unified_default = {
|
|
1341
|
+
getClasses: /* @__PURE__ */ __name(function(e, b) {
|
|
1342
|
+
return b.db.getClasses();
|
|
1344
1343
|
}, "getClasses"),
|
|
1345
|
-
draw: /* @__PURE__ */
|
|
1346
|
-
|
|
1347
|
-
let { securityLevel:
|
|
1348
|
-
|
|
1349
|
-
let
|
|
1350
|
-
|
|
1344
|
+
draw: /* @__PURE__ */ __name(async function(e, x, S, C) {
|
|
1345
|
+
log.info("REF0:"), log.info("Drawing state diagram (v2)", x);
|
|
1346
|
+
let { securityLevel: w, state: E, layout: D } = getConfig2();
|
|
1347
|
+
C.db.extract(C.db.getRootDocV2());
|
|
1348
|
+
let O = C.db.getData(), k = getDiagramElement(x, w);
|
|
1349
|
+
O.type = C.type, O.layoutAlgorithm = D, O.nodeSpacing = E?.nodeSpacing || 50, O.rankSpacing = E?.rankSpacing || 50, getConfig2().look === "neo" ? O.markers = ["barbNeo"] : O.markers = ["barb"], O.diagramId = x, await render(O, k);
|
|
1351
1350
|
try {
|
|
1352
|
-
(typeof
|
|
1353
|
-
let
|
|
1354
|
-
if (!
|
|
1355
|
-
|
|
1351
|
+
(typeof C.db.getLinks == "function" ? C.db.getLinks() : /* @__PURE__ */ new Map()).forEach((e, x) => {
|
|
1352
|
+
let S = typeof x == "string" ? x : typeof x?.id == "string" ? x.id : "";
|
|
1353
|
+
if (!S) {
|
|
1354
|
+
log.warn("⚠️ Invalid or missing stateId from key:", JSON.stringify(x));
|
|
1356
1355
|
return;
|
|
1357
1356
|
}
|
|
1358
|
-
let
|
|
1359
|
-
if (
|
|
1360
|
-
e.textContent?.trim() ===
|
|
1361
|
-
}), !
|
|
1362
|
-
|
|
1357
|
+
let C = k.node()?.querySelectorAll("g"), w;
|
|
1358
|
+
if (C?.forEach((e) => {
|
|
1359
|
+
e.textContent?.trim() === S && (w = e);
|
|
1360
|
+
}), !w) {
|
|
1361
|
+
log.warn("⚠️ Could not find node matching text:", S);
|
|
1363
1362
|
return;
|
|
1364
1363
|
}
|
|
1365
|
-
let
|
|
1366
|
-
if (!
|
|
1367
|
-
|
|
1364
|
+
let T = w.parentNode;
|
|
1365
|
+
if (!T) {
|
|
1366
|
+
log.warn("⚠️ Node has no parent, cannot wrap:", S);
|
|
1368
1367
|
return;
|
|
1369
1368
|
}
|
|
1370
|
-
let
|
|
1371
|
-
if (
|
|
1372
|
-
let
|
|
1373
|
-
|
|
1369
|
+
let E = document.createElementNS("http://www.w3.org/2000/svg", "a"), D = e.url.replace(/^"+|"+$/g, "");
|
|
1370
|
+
if (E.setAttributeNS("http://www.w3.org/1999/xlink", "xlink:href", D), E.setAttribute("target", "_blank"), e.tooltip) {
|
|
1371
|
+
let b = e.tooltip.replace(/^"+|"+$/g, "");
|
|
1372
|
+
E.setAttribute("title", b);
|
|
1374
1373
|
}
|
|
1375
|
-
|
|
1374
|
+
T.replaceChild(E, w), E.appendChild(w), log.info("🔗 Wrapped node in <a> tag for:", S, e.url);
|
|
1376
1375
|
});
|
|
1377
1376
|
} catch (e) {
|
|
1378
|
-
|
|
1377
|
+
log.error("❌ Error injecting clickable links:", e);
|
|
1379
1378
|
}
|
|
1380
|
-
|
|
1379
|
+
utils_default.insertTitle(k, "statediagramTitleText", E?.titleTopMargin ?? 25, C.db.getDiagramTitle()), setupViewPortForSVG(k, 8, CSS_DIAGRAM, E?.useMaxWidth ?? !0);
|
|
1381
1380
|
}, "draw"),
|
|
1382
|
-
getDir
|
|
1383
|
-
},
|
|
1384
|
-
function
|
|
1385
|
-
return `${
|
|
1381
|
+
getDir
|
|
1382
|
+
}, nodeDb = /* @__PURE__ */ new Map(), graphItemCount = 0;
|
|
1383
|
+
function stateDomId(e = "", b = 0, x = "", S = DOMID_TYPE_SPACER) {
|
|
1384
|
+
return `${DOMID_STATE}-${e}${x !== null && x.length > 0 ? `${S}${x}` : ""}-${b}`;
|
|
1386
1385
|
}
|
|
1387
|
-
|
|
1388
|
-
var
|
|
1389
|
-
|
|
1390
|
-
switch (
|
|
1391
|
-
case
|
|
1392
|
-
|
|
1386
|
+
__name(stateDomId, "stateDomId");
|
|
1387
|
+
var setupDoc = /* @__PURE__ */ __name((e, x, C, w, E, D, O, k) => {
|
|
1388
|
+
log.trace("items", x), x.forEach((b) => {
|
|
1389
|
+
switch (b.stmt) {
|
|
1390
|
+
case STMT_STATE:
|
|
1391
|
+
dataFetcher(e, b, C, w, E, D, O, k);
|
|
1393
1392
|
break;
|
|
1394
|
-
case
|
|
1395
|
-
|
|
1393
|
+
case DEFAULT_STATE_TYPE:
|
|
1394
|
+
dataFetcher(e, b, C, w, E, D, O, k);
|
|
1396
1395
|
break;
|
|
1397
|
-
case
|
|
1396
|
+
case STMT_RELATION:
|
|
1398
1397
|
{
|
|
1399
|
-
|
|
1400
|
-
let
|
|
1401
|
-
id: "edge" +
|
|
1402
|
-
start:
|
|
1403
|
-
end:
|
|
1398
|
+
dataFetcher(e, b.state1, C, w, E, D, O, k), dataFetcher(e, b.state2, C, w, E, D, O, k);
|
|
1399
|
+
let x = O === "neo", A = {
|
|
1400
|
+
id: "edge" + graphItemCount,
|
|
1401
|
+
start: b.state1.id,
|
|
1402
|
+
end: b.state2.id,
|
|
1404
1403
|
arrowhead: "normal",
|
|
1405
|
-
arrowTypeEnd:
|
|
1406
|
-
style:
|
|
1404
|
+
arrowTypeEnd: x ? "arrow_barb_neo" : "arrow_barb",
|
|
1405
|
+
style: G_EDGE_STYLE,
|
|
1407
1406
|
labelStyle: "",
|
|
1408
|
-
label:
|
|
1409
|
-
arrowheadStyle:
|
|
1410
|
-
labelpos:
|
|
1411
|
-
labelType:
|
|
1412
|
-
thickness:
|
|
1413
|
-
classes:
|
|
1414
|
-
look:
|
|
1407
|
+
label: common_default.sanitizeText(b.description ?? "", getConfig2()),
|
|
1408
|
+
arrowheadStyle: G_EDGE_ARROWHEADSTYLE,
|
|
1409
|
+
labelpos: G_EDGE_LABELPOS,
|
|
1410
|
+
labelType: G_EDGE_LABELTYPE,
|
|
1411
|
+
thickness: G_EDGE_THICKNESS,
|
|
1412
|
+
classes: CSS_EDGE,
|
|
1413
|
+
look: O
|
|
1415
1414
|
};
|
|
1416
|
-
|
|
1415
|
+
E.push(A), graphItemCount++;
|
|
1417
1416
|
}
|
|
1418
1417
|
break;
|
|
1419
1418
|
}
|
|
1420
1419
|
});
|
|
1421
|
-
}, "setupDoc"),
|
|
1422
|
-
let
|
|
1423
|
-
if (e.doc) for (let
|
|
1424
|
-
return
|
|
1420
|
+
}, "setupDoc"), getDir2 = /* @__PURE__ */ __name((e, b = DEFAULT_NESTED_DOC_DIR) => {
|
|
1421
|
+
let x = b;
|
|
1422
|
+
if (e.doc) for (let b of e.doc) b.stmt === "dir" && (x = b.value);
|
|
1423
|
+
return x;
|
|
1425
1424
|
}, "getDir");
|
|
1426
|
-
function
|
|
1427
|
-
if (!
|
|
1428
|
-
|
|
1429
|
-
let
|
|
1430
|
-
|
|
1425
|
+
function insertOrUpdateNode(e, b, x) {
|
|
1426
|
+
if (!b.id || b.id === "</join></fork>" || b.id === "</choice>") return;
|
|
1427
|
+
b.cssClasses && (Array.isArray(b.cssCompiledStyles) || (b.cssCompiledStyles = []), b.cssClasses.split(" ").forEach((e) => {
|
|
1428
|
+
let S = x.get(e);
|
|
1429
|
+
S && (b.cssCompiledStyles = [...b.cssCompiledStyles ?? [], ...S.styles]);
|
|
1431
1430
|
}));
|
|
1432
|
-
let
|
|
1433
|
-
|
|
1431
|
+
let S = e.find((e) => e.id === b.id);
|
|
1432
|
+
S ? Object.assign(S, b) : e.push(b);
|
|
1434
1433
|
}
|
|
1435
|
-
|
|
1436
|
-
function
|
|
1434
|
+
__name(insertOrUpdateNode, "insertOrUpdateNode");
|
|
1435
|
+
function getClassesFromDbInfo(e) {
|
|
1437
1436
|
return e?.classes?.join(" ") ?? "";
|
|
1438
1437
|
}
|
|
1439
|
-
|
|
1440
|
-
function
|
|
1438
|
+
__name(getClassesFromDbInfo, "getClassesFromDbInfo");
|
|
1439
|
+
function getStylesFromDbInfo(e) {
|
|
1441
1440
|
return e?.styles ?? [];
|
|
1442
1441
|
}
|
|
1443
|
-
|
|
1444
|
-
var
|
|
1445
|
-
let
|
|
1446
|
-
if (
|
|
1447
|
-
let
|
|
1448
|
-
|
|
1449
|
-
id:
|
|
1450
|
-
shape:
|
|
1451
|
-
description:
|
|
1452
|
-
cssClasses: `${
|
|
1453
|
-
cssStyles:
|
|
1442
|
+
__name(getStylesFromDbInfo, "getStylesFromDbInfo");
|
|
1443
|
+
var dataFetcher = /* @__PURE__ */ __name((e, x, C, w, E, D, O, k) => {
|
|
1444
|
+
let A = x.id, j = C.get(A), M = getClassesFromDbInfo(j), N = getStylesFromDbInfo(j), P = getConfig2();
|
|
1445
|
+
if (log.info("dataFetcher parsedItem", x, j, N), A !== "root") {
|
|
1446
|
+
let C = SHAPE_STATE;
|
|
1447
|
+
x.start === !0 ? C = SHAPE_START : x.start === !1 && (C = SHAPE_END), x.type !== DEFAULT_STATE_TYPE && (C = x.type), nodeDb.get(A) || nodeDb.set(A, {
|
|
1448
|
+
id: A,
|
|
1449
|
+
shape: C,
|
|
1450
|
+
description: common_default.sanitizeText(A, P),
|
|
1451
|
+
cssClasses: `${M} ${CSS_DIAGRAM_STATE}`,
|
|
1452
|
+
cssStyles: N
|
|
1454
1453
|
});
|
|
1455
|
-
let
|
|
1456
|
-
|
|
1457
|
-
let
|
|
1454
|
+
let T = nodeDb.get(A);
|
|
1455
|
+
x.description && (Array.isArray(T.description) ? (T.shape = SHAPE_STATE_WITH_DESC, T.description.push(x.description)) : T.description?.length && T.description.length > 0 ? (T.shape = SHAPE_STATE_WITH_DESC, T.description === A ? T.description = [x.description] : T.description = [T.description, x.description]) : (T.shape = SHAPE_STATE, T.description = x.description), T.description = common_default.sanitizeTextOrArray(T.description, P)), T.description?.length === 1 && T.shape === SHAPE_STATE_WITH_DESC && (T.type === "group" ? T.shape = SHAPE_GROUP : T.shape = SHAPE_STATE), !T.type && x.doc && (log.info("Setting cluster for XCX", A, getDir2(x)), T.type = "group", T.isGroup = !0, T.dir = getDir2(x), T.shape = x.type === DIVIDER_TYPE ? SHAPE_DIVIDER : SHAPE_GROUP, T.cssClasses = `${T.cssClasses} ${CSS_DIAGRAM_CLUSTER} ${D ? CSS_DIAGRAM_CLUSTER_ALT : ""}`);
|
|
1456
|
+
let j = {
|
|
1458
1457
|
labelStyle: "",
|
|
1459
|
-
shape:
|
|
1460
|
-
label:
|
|
1461
|
-
cssClasses:
|
|
1458
|
+
shape: T.shape,
|
|
1459
|
+
label: T.description,
|
|
1460
|
+
cssClasses: T.cssClasses,
|
|
1462
1461
|
cssCompiledStyles: [],
|
|
1463
|
-
cssStyles:
|
|
1464
|
-
id:
|
|
1465
|
-
dir:
|
|
1466
|
-
domId:
|
|
1467
|
-
type:
|
|
1468
|
-
isGroup:
|
|
1462
|
+
cssStyles: T.cssStyles,
|
|
1463
|
+
id: A,
|
|
1464
|
+
dir: T.dir,
|
|
1465
|
+
domId: stateDomId(A, graphItemCount),
|
|
1466
|
+
type: T.type,
|
|
1467
|
+
isGroup: T.type === "group",
|
|
1469
1468
|
padding: 8,
|
|
1470
1469
|
rx: 10,
|
|
1471
1470
|
ry: 10,
|
|
1472
|
-
look:
|
|
1471
|
+
look: O,
|
|
1473
1472
|
labelType: "markdown"
|
|
1474
1473
|
};
|
|
1475
|
-
if (
|
|
1474
|
+
if (j.shape === SHAPE_DIVIDER && (j.label = ""), e && e.id !== "root" && (log.trace("Setting node ", A, " to be child of its parent ", e.id), j.parentId = e.id), j.centerLabel = !0, x.note) {
|
|
1476
1475
|
let e = {
|
|
1477
1476
|
labelStyle: "",
|
|
1478
|
-
shape:
|
|
1479
|
-
label:
|
|
1477
|
+
shape: SHAPE_NOTE,
|
|
1478
|
+
label: x.note.text,
|
|
1480
1479
|
labelType: "markdown",
|
|
1481
|
-
cssClasses:
|
|
1480
|
+
cssClasses: CSS_DIAGRAM_NOTE,
|
|
1482
1481
|
cssStyles: [],
|
|
1483
1482
|
cssCompiledStyles: [],
|
|
1484
|
-
id:
|
|
1485
|
-
domId:
|
|
1486
|
-
type:
|
|
1487
|
-
isGroup:
|
|
1488
|
-
padding:
|
|
1489
|
-
look:
|
|
1490
|
-
position:
|
|
1491
|
-
},
|
|
1483
|
+
id: A + NOTE_ID + "-" + graphItemCount,
|
|
1484
|
+
domId: stateDomId(A, graphItemCount, NOTE),
|
|
1485
|
+
type: T.type,
|
|
1486
|
+
isGroup: T.type === "group",
|
|
1487
|
+
padding: P.flowchart?.padding,
|
|
1488
|
+
look: O,
|
|
1489
|
+
position: x.note.position
|
|
1490
|
+
}, b = A + PARENT_ID, S = {
|
|
1492
1491
|
labelStyle: "",
|
|
1493
|
-
shape:
|
|
1494
|
-
label:
|
|
1495
|
-
cssClasses:
|
|
1492
|
+
shape: SHAPE_NOTEGROUP,
|
|
1493
|
+
label: x.note.text,
|
|
1494
|
+
cssClasses: T.cssClasses,
|
|
1496
1495
|
cssStyles: [],
|
|
1497
|
-
id:
|
|
1498
|
-
domId:
|
|
1496
|
+
id: A + PARENT_ID,
|
|
1497
|
+
domId: stateDomId(A, graphItemCount, PARENT),
|
|
1499
1498
|
type: "group",
|
|
1500
1499
|
isGroup: !0,
|
|
1501
1500
|
padding: 16,
|
|
1502
|
-
look:
|
|
1503
|
-
position:
|
|
1501
|
+
look: O,
|
|
1502
|
+
position: x.note.position
|
|
1504
1503
|
};
|
|
1505
|
-
|
|
1506
|
-
let
|
|
1507
|
-
|
|
1508
|
-
id:
|
|
1509
|
-
start:
|
|
1510
|
-
end:
|
|
1504
|
+
graphItemCount++, S.id = b, e.parentId = b, insertOrUpdateNode(w, S, k), insertOrUpdateNode(w, e, k), insertOrUpdateNode(w, j, k);
|
|
1505
|
+
let C = A, D = e.id;
|
|
1506
|
+
x.note.position === "left of" && (C = e.id, D = A), E.push({
|
|
1507
|
+
id: C + "-" + D,
|
|
1508
|
+
start: C,
|
|
1509
|
+
end: D,
|
|
1511
1510
|
arrowhead: "none",
|
|
1512
1511
|
arrowTypeEnd: "",
|
|
1513
|
-
style:
|
|
1512
|
+
style: G_EDGE_STYLE,
|
|
1514
1513
|
labelStyle: "",
|
|
1515
|
-
classes:
|
|
1516
|
-
arrowheadStyle:
|
|
1517
|
-
labelpos:
|
|
1518
|
-
labelType:
|
|
1519
|
-
thickness:
|
|
1520
|
-
look:
|
|
1514
|
+
classes: CSS_EDGE_NOTE_EDGE,
|
|
1515
|
+
arrowheadStyle: G_EDGE_ARROWHEADSTYLE,
|
|
1516
|
+
labelpos: G_EDGE_LABELPOS,
|
|
1517
|
+
labelType: G_EDGE_LABELTYPE,
|
|
1518
|
+
thickness: G_EDGE_THICKNESS,
|
|
1519
|
+
look: O
|
|
1521
1520
|
});
|
|
1522
|
-
} else
|
|
1521
|
+
} else insertOrUpdateNode(w, j, k);
|
|
1523
1522
|
}
|
|
1524
|
-
|
|
1525
|
-
}, "dataFetcher"),
|
|
1526
|
-
|
|
1527
|
-
}, "reset"),
|
|
1523
|
+
x.doc && (log.trace("Adding nodes children "), setupDoc(x, x.doc, C, w, E, !D, O, k));
|
|
1524
|
+
}, "dataFetcher"), reset = /* @__PURE__ */ __name(() => {
|
|
1525
|
+
nodeDb.clear(), graphItemCount = 0;
|
|
1526
|
+
}, "reset"), CONSTANTS = {
|
|
1528
1527
|
START_NODE: "[*]",
|
|
1529
1528
|
START_TYPE: "start",
|
|
1530
1529
|
END_NODE: "[*]",
|
|
@@ -1533,130 +1532,126 @@ var X = /* @__PURE__ */ e((e, n, i, a, s, c, l, u) => {
|
|
|
1533
1532
|
FILL_KEYWORD: "fill",
|
|
1534
1533
|
BG_FILL: "bgFill",
|
|
1535
1534
|
STYLECLASS_SEP: ","
|
|
1536
|
-
},
|
|
1535
|
+
}, newClassesList = /* @__PURE__ */ __name(() => /* @__PURE__ */ new Map(), "newClassesList"), newDoc = /* @__PURE__ */ __name(() => ({
|
|
1537
1536
|
relations: [],
|
|
1538
1537
|
states: /* @__PURE__ */ new Map(),
|
|
1539
1538
|
documents: {}
|
|
1540
|
-
}), "newDoc"),
|
|
1539
|
+
}), "newDoc"), clone = /* @__PURE__ */ __name((e) => JSON.parse(JSON.stringify(e)), "clone"), StateDB = class {
|
|
1541
1540
|
constructor(e) {
|
|
1542
|
-
this.version = e, this.nodes = [], this.edges = [], this.rootDoc = [], this.classes =
|
|
1543
|
-
}
|
|
1544
|
-
static {
|
|
1545
|
-
e(this, "StateDB");
|
|
1546
|
-
}
|
|
1547
|
-
static {
|
|
1548
|
-
this.relationType = {
|
|
1549
|
-
AGGREGATION: 0,
|
|
1550
|
-
EXTENSION: 1,
|
|
1551
|
-
COMPOSITION: 2,
|
|
1552
|
-
DEPENDENCY: 3
|
|
1553
|
-
};
|
|
1541
|
+
this.version = e, this.nodes = [], this.edges = [], this.rootDoc = [], this.classes = newClassesList(), this.documents = { root: newDoc() }, this.currentDocument = this.documents.root, this.startEndCount = 0, this.dividerCnt = 0, this.links = /* @__PURE__ */ new Map(), this.getAccTitle = getAccTitle, this.setAccTitle = setAccTitle, this.getAccDescription = getAccDescription, this.setAccDescription = setAccDescription, this.setDiagramTitle = setDiagramTitle, this.getDiagramTitle = getDiagramTitle, this.clear(), this.setRootDoc = this.setRootDoc.bind(this), this.getDividerId = this.getDividerId.bind(this), this.setDirection = this.setDirection.bind(this), this.trimColon = this.trimColon.bind(this);
|
|
1554
1542
|
}
|
|
1543
|
+
static #e = __name(this, "StateDB");
|
|
1544
|
+
static #t = this.relationType = {
|
|
1545
|
+
AGGREGATION: 0,
|
|
1546
|
+
EXTENSION: 1,
|
|
1547
|
+
COMPOSITION: 2,
|
|
1548
|
+
DEPENDENCY: 3
|
|
1549
|
+
};
|
|
1555
1550
|
extract(e) {
|
|
1556
1551
|
this.clear(!0);
|
|
1557
|
-
for (let
|
|
1558
|
-
case
|
|
1559
|
-
this.addState(
|
|
1552
|
+
for (let b of Array.isArray(e) ? e : e.doc) switch (b.stmt) {
|
|
1553
|
+
case STMT_STATE:
|
|
1554
|
+
this.addState(b.id.trim(), b.type, b.doc, b.description, b.note);
|
|
1560
1555
|
break;
|
|
1561
|
-
case
|
|
1562
|
-
this.addRelation(
|
|
1556
|
+
case STMT_RELATION:
|
|
1557
|
+
this.addRelation(b.state1, b.state2, b.description);
|
|
1563
1558
|
break;
|
|
1564
|
-
case
|
|
1565
|
-
this.addStyleClass(
|
|
1559
|
+
case STMT_CLASSDEF:
|
|
1560
|
+
this.addStyleClass(b.id.trim(), b.classes);
|
|
1566
1561
|
break;
|
|
1567
|
-
case
|
|
1568
|
-
this.handleStyleDef(
|
|
1562
|
+
case STMT_STYLEDEF:
|
|
1563
|
+
this.handleStyleDef(b);
|
|
1569
1564
|
break;
|
|
1570
|
-
case
|
|
1571
|
-
this.setCssClass(
|
|
1565
|
+
case STMT_APPLYCLASS:
|
|
1566
|
+
this.setCssClass(b.id.trim(), b.styleClass);
|
|
1572
1567
|
break;
|
|
1573
1568
|
case "click":
|
|
1574
|
-
this.addLink(
|
|
1569
|
+
this.addLink(b.id, b.url, b.tooltip);
|
|
1575
1570
|
break;
|
|
1576
1571
|
}
|
|
1577
|
-
let
|
|
1578
|
-
|
|
1572
|
+
let b = this.getStates(), x = getConfig2();
|
|
1573
|
+
reset(), dataFetcher(void 0, this.getRootDocV2(), b, this.nodes, this.edges, !0, x.look, this.classes);
|
|
1579
1574
|
for (let e of this.nodes) if (Array.isArray(e.label)) {
|
|
1580
1575
|
if (e.description = e.label.slice(1), e.isGroup && e.description.length > 0) throw Error(`Group nodes can only have label. Remove the additional description for node [${e.id}]`);
|
|
1581
1576
|
e.label = e.label[0];
|
|
1582
1577
|
}
|
|
1583
1578
|
}
|
|
1584
1579
|
handleStyleDef(e) {
|
|
1585
|
-
let
|
|
1586
|
-
for (let e of
|
|
1587
|
-
let
|
|
1588
|
-
if (!
|
|
1589
|
-
let
|
|
1590
|
-
this.addState(
|
|
1580
|
+
let b = e.id.trim().split(","), x = e.styleClass.split(",");
|
|
1581
|
+
for (let e of b) {
|
|
1582
|
+
let b = this.getState(e);
|
|
1583
|
+
if (!b) {
|
|
1584
|
+
let x = e.trim();
|
|
1585
|
+
this.addState(x), b = this.getState(x);
|
|
1591
1586
|
}
|
|
1592
|
-
|
|
1587
|
+
b && (b.styles = x.map((e) => e.replace(/;/g, "")?.trim()));
|
|
1593
1588
|
}
|
|
1594
1589
|
}
|
|
1595
1590
|
setRootDoc(e) {
|
|
1596
|
-
|
|
1591
|
+
log.info("Setting root doc", e), this.rootDoc = e, this.version === 1 ? this.extract(e) : this.extract(this.getRootDocV2());
|
|
1597
1592
|
}
|
|
1598
|
-
docTranslator(e,
|
|
1599
|
-
if (
|
|
1600
|
-
this.docTranslator(e,
|
|
1593
|
+
docTranslator(e, b, x) {
|
|
1594
|
+
if (b.stmt === STMT_RELATION) {
|
|
1595
|
+
this.docTranslator(e, b.state1, !0), this.docTranslator(e, b.state2, !1);
|
|
1601
1596
|
return;
|
|
1602
1597
|
}
|
|
1603
|
-
if (
|
|
1604
|
-
let
|
|
1605
|
-
for (let e of
|
|
1606
|
-
let
|
|
1607
|
-
|
|
1608
|
-
} else
|
|
1609
|
-
if (
|
|
1598
|
+
if (b.stmt === STMT_STATE && (b.id === CONSTANTS.START_NODE ? (b.id = e.id + (x ? "_start" : "_end"), b.start = x) : b.id = b.id.trim()), b.stmt !== STMT_ROOT && b.stmt !== STMT_STATE || !b.doc) return;
|
|
1599
|
+
let S = [], C = [];
|
|
1600
|
+
for (let e of b.doc) if (e.type === DIVIDER_TYPE) {
|
|
1601
|
+
let b = clone(e);
|
|
1602
|
+
b.doc = clone(C), S.push(b), C = [];
|
|
1603
|
+
} else C.push(e);
|
|
1604
|
+
if (S.length > 0 && C.length > 0) {
|
|
1610
1605
|
let e = {
|
|
1611
|
-
stmt:
|
|
1612
|
-
id:
|
|
1606
|
+
stmt: STMT_STATE,
|
|
1607
|
+
id: generateId(),
|
|
1613
1608
|
type: "divider",
|
|
1614
|
-
doc:
|
|
1609
|
+
doc: clone(C)
|
|
1615
1610
|
};
|
|
1616
|
-
|
|
1611
|
+
S.push(clone(e)), b.doc = S;
|
|
1617
1612
|
}
|
|
1618
|
-
|
|
1613
|
+
b.doc.forEach((e) => this.docTranslator(b, e, !0));
|
|
1619
1614
|
}
|
|
1620
1615
|
getRootDocV2() {
|
|
1621
1616
|
return this.docTranslator({
|
|
1622
|
-
id:
|
|
1623
|
-
stmt:
|
|
1617
|
+
id: STMT_ROOT,
|
|
1618
|
+
stmt: STMT_ROOT
|
|
1624
1619
|
}, {
|
|
1625
|
-
id:
|
|
1626
|
-
stmt:
|
|
1620
|
+
id: STMT_ROOT,
|
|
1621
|
+
stmt: STMT_ROOT,
|
|
1627
1622
|
doc: this.rootDoc
|
|
1628
1623
|
}, !0), {
|
|
1629
|
-
id:
|
|
1624
|
+
id: STMT_ROOT,
|
|
1630
1625
|
doc: this.rootDoc
|
|
1631
1626
|
};
|
|
1632
1627
|
}
|
|
1633
|
-
addState(e,
|
|
1634
|
-
let
|
|
1635
|
-
if (!this.currentDocument.states.has(
|
|
1636
|
-
stmt:
|
|
1637
|
-
id:
|
|
1628
|
+
addState(e, x = DEFAULT_STATE_TYPE, C = void 0, w = void 0, E = void 0, D = void 0, O = void 0, k = void 0) {
|
|
1629
|
+
let A = e?.trim();
|
|
1630
|
+
if (!this.currentDocument.states.has(A)) log.info("Adding state ", A, w), this.currentDocument.states.set(A, {
|
|
1631
|
+
stmt: STMT_STATE,
|
|
1632
|
+
id: A,
|
|
1638
1633
|
descriptions: [],
|
|
1639
|
-
type:
|
|
1640
|
-
doc:
|
|
1641
|
-
note:
|
|
1634
|
+
type: x,
|
|
1635
|
+
doc: C,
|
|
1636
|
+
note: E,
|
|
1642
1637
|
classes: [],
|
|
1643
1638
|
styles: [],
|
|
1644
1639
|
textStyles: []
|
|
1645
1640
|
});
|
|
1646
1641
|
else {
|
|
1647
|
-
let e = this.currentDocument.states.get(
|
|
1648
|
-
if (!e) throw Error(`State not found: ${
|
|
1649
|
-
e.doc ||=
|
|
1642
|
+
let e = this.currentDocument.states.get(A);
|
|
1643
|
+
if (!e) throw Error(`State not found: ${A}`);
|
|
1644
|
+
e.doc ||= C, e.type ||= x;
|
|
1650
1645
|
}
|
|
1651
|
-
if (
|
|
1652
|
-
let e = this.currentDocument.states.get(
|
|
1653
|
-
if (!e) throw Error(`State not found: ${
|
|
1654
|
-
e.note =
|
|
1646
|
+
if (w && (log.info("Setting state description", A, w), (Array.isArray(w) ? w : [w]).forEach((e) => this.addDescription(A, e.trim()))), E) {
|
|
1647
|
+
let e = this.currentDocument.states.get(A);
|
|
1648
|
+
if (!e) throw Error(`State not found: ${A}`);
|
|
1649
|
+
e.note = E, e.note.text = common_default.sanitizeText(e.note.text, getConfig2());
|
|
1655
1650
|
}
|
|
1656
|
-
|
|
1651
|
+
D && (log.info("Setting state classes", A, D), (Array.isArray(D) ? D : [D]).forEach((e) => this.setCssClass(A, e.trim()))), O && (log.info("Setting state styles", A, O), (Array.isArray(O) ? O : [O]).forEach((e) => this.setStyle(A, e.trim()))), k && (log.info("Setting state styles", A, O), (Array.isArray(k) ? k : [k]).forEach((e) => this.setTextStyle(A, e.trim())));
|
|
1657
1652
|
}
|
|
1658
1653
|
clear(e) {
|
|
1659
|
-
this.nodes = [], this.edges = [], this.documents = { root:
|
|
1654
|
+
this.nodes = [], this.edges = [], this.documents = { root: newDoc() }, this.currentDocument = this.documents.root, this.startEndCount = 0, this.classes = newClassesList(), e || (this.links = /* @__PURE__ */ new Map(), clear());
|
|
1660
1655
|
}
|
|
1661
1656
|
getState(e) {
|
|
1662
1657
|
return this.currentDocument.states.get(e);
|
|
@@ -1665,54 +1660,54 @@ var X = /* @__PURE__ */ e((e, n, i, a, s, c, l, u) => {
|
|
|
1665
1660
|
return this.currentDocument.states;
|
|
1666
1661
|
}
|
|
1667
1662
|
logDocuments() {
|
|
1668
|
-
|
|
1663
|
+
log.info("Documents = ", this.documents);
|
|
1669
1664
|
}
|
|
1670
1665
|
getRelations() {
|
|
1671
1666
|
return this.currentDocument.relations;
|
|
1672
1667
|
}
|
|
1673
|
-
addLink(e,
|
|
1668
|
+
addLink(e, x, S) {
|
|
1674
1669
|
this.links.set(e, {
|
|
1675
|
-
url:
|
|
1676
|
-
tooltip:
|
|
1677
|
-
}),
|
|
1670
|
+
url: x,
|
|
1671
|
+
tooltip: S
|
|
1672
|
+
}), log.warn("Adding link", e, x, S);
|
|
1678
1673
|
}
|
|
1679
1674
|
getLinks() {
|
|
1680
1675
|
return this.links;
|
|
1681
1676
|
}
|
|
1682
1677
|
startIdIfNeeded(e = "") {
|
|
1683
|
-
return e ===
|
|
1678
|
+
return e === CONSTANTS.START_NODE ? (this.startEndCount++, `${CONSTANTS.START_TYPE}${this.startEndCount}`) : e;
|
|
1684
1679
|
}
|
|
1685
|
-
startTypeIfNeeded(e = "",
|
|
1686
|
-
return e ===
|
|
1680
|
+
startTypeIfNeeded(e = "", b = DEFAULT_STATE_TYPE) {
|
|
1681
|
+
return e === CONSTANTS.START_NODE ? CONSTANTS.START_TYPE : b;
|
|
1687
1682
|
}
|
|
1688
1683
|
endIdIfNeeded(e = "") {
|
|
1689
|
-
return e ===
|
|
1684
|
+
return e === CONSTANTS.END_NODE ? (this.startEndCount++, `${CONSTANTS.END_TYPE}${this.startEndCount}`) : e;
|
|
1690
1685
|
}
|
|
1691
|
-
endTypeIfNeeded(e = "",
|
|
1692
|
-
return e ===
|
|
1686
|
+
endTypeIfNeeded(e = "", b = DEFAULT_STATE_TYPE) {
|
|
1687
|
+
return e === CONSTANTS.END_NODE ? CONSTANTS.END_TYPE : b;
|
|
1693
1688
|
}
|
|
1694
|
-
addRelationObjs(e,
|
|
1695
|
-
let
|
|
1696
|
-
this.addState(
|
|
1697
|
-
id1:
|
|
1698
|
-
id2:
|
|
1699
|
-
relationTitle:
|
|
1689
|
+
addRelationObjs(e, b, x = "") {
|
|
1690
|
+
let C = this.startIdIfNeeded(e.id.trim()), w = this.startTypeIfNeeded(e.id.trim(), e.type), E = this.startIdIfNeeded(b.id.trim()), D = this.startTypeIfNeeded(b.id.trim(), b.type);
|
|
1691
|
+
this.addState(C, w, e.doc, e.description, e.note, e.classes, e.styles, e.textStyles), this.addState(E, D, b.doc, b.description, b.note, b.classes, b.styles, b.textStyles), this.currentDocument.relations.push({
|
|
1692
|
+
id1: C,
|
|
1693
|
+
id2: E,
|
|
1694
|
+
relationTitle: common_default.sanitizeText(x, getConfig2())
|
|
1700
1695
|
});
|
|
1701
1696
|
}
|
|
1702
|
-
addRelation(e,
|
|
1703
|
-
if (typeof e == "object" && typeof
|
|
1704
|
-
else if (typeof e == "string" && typeof
|
|
1705
|
-
let
|
|
1706
|
-
this.addState(
|
|
1707
|
-
id1:
|
|
1708
|
-
id2:
|
|
1709
|
-
relationTitle:
|
|
1697
|
+
addRelation(e, b, x) {
|
|
1698
|
+
if (typeof e == "object" && typeof b == "object") this.addRelationObjs(e, b, x);
|
|
1699
|
+
else if (typeof e == "string" && typeof b == "string") {
|
|
1700
|
+
let C = this.startIdIfNeeded(e.trim()), w = this.startTypeIfNeeded(e), E = this.endIdIfNeeded(b.trim()), D = this.endTypeIfNeeded(b);
|
|
1701
|
+
this.addState(C, w), this.addState(E, D), this.currentDocument.relations.push({
|
|
1702
|
+
id1: C,
|
|
1703
|
+
id2: E,
|
|
1704
|
+
relationTitle: x ? common_default.sanitizeText(x, getConfig2()) : void 0
|
|
1710
1705
|
});
|
|
1711
1706
|
}
|
|
1712
1707
|
}
|
|
1713
|
-
addDescription(e,
|
|
1714
|
-
let
|
|
1715
|
-
|
|
1708
|
+
addDescription(e, b) {
|
|
1709
|
+
let x = this.currentDocument.states.get(e), C = b.startsWith(":") ? b.replace(":", "").trim() : b;
|
|
1710
|
+
x?.descriptions?.push(common_default.sanitizeText(C, getConfig2()));
|
|
1716
1711
|
}
|
|
1717
1712
|
cleanupLabel(e) {
|
|
1718
1713
|
return e.startsWith(":") ? e.slice(2).trim() : e.trim();
|
|
@@ -1720,51 +1715,51 @@ var X = /* @__PURE__ */ e((e, n, i, a, s, c, l, u) => {
|
|
|
1720
1715
|
getDividerId() {
|
|
1721
1716
|
return this.dividerCnt++, `divider-id-${this.dividerCnt}`;
|
|
1722
1717
|
}
|
|
1723
|
-
addStyleClass(e,
|
|
1718
|
+
addStyleClass(e, b = "") {
|
|
1724
1719
|
this.classes.has(e) || this.classes.set(e, {
|
|
1725
1720
|
id: e,
|
|
1726
1721
|
styles: [],
|
|
1727
1722
|
textStyles: []
|
|
1728
1723
|
});
|
|
1729
|
-
let
|
|
1730
|
-
|
|
1731
|
-
let
|
|
1732
|
-
if (RegExp(
|
|
1733
|
-
let e =
|
|
1734
|
-
|
|
1724
|
+
let x = this.classes.get(e);
|
|
1725
|
+
b && x && b.split(CONSTANTS.STYLECLASS_SEP).forEach((e) => {
|
|
1726
|
+
let b = e.replace(/([^;]*);/, "$1").trim();
|
|
1727
|
+
if (RegExp(CONSTANTS.COLOR_KEYWORD).exec(e)) {
|
|
1728
|
+
let e = b.replace(CONSTANTS.FILL_KEYWORD, CONSTANTS.BG_FILL).replace(CONSTANTS.COLOR_KEYWORD, CONSTANTS.FILL_KEYWORD);
|
|
1729
|
+
x.textStyles.push(e);
|
|
1735
1730
|
}
|
|
1736
|
-
|
|
1731
|
+
x.styles.push(b);
|
|
1737
1732
|
});
|
|
1738
1733
|
}
|
|
1739
1734
|
getClasses() {
|
|
1740
1735
|
return this.classes;
|
|
1741
1736
|
}
|
|
1742
|
-
setCssClass(e,
|
|
1737
|
+
setCssClass(e, b) {
|
|
1743
1738
|
e.split(",").forEach((e) => {
|
|
1744
|
-
let
|
|
1745
|
-
if (!
|
|
1746
|
-
let
|
|
1747
|
-
this.addState(
|
|
1739
|
+
let x = this.getState(e);
|
|
1740
|
+
if (!x) {
|
|
1741
|
+
let b = e.trim();
|
|
1742
|
+
this.addState(b), x = this.getState(b);
|
|
1748
1743
|
}
|
|
1749
|
-
|
|
1744
|
+
x?.classes?.push(b);
|
|
1750
1745
|
});
|
|
1751
1746
|
}
|
|
1752
|
-
setStyle(e,
|
|
1753
|
-
this.getState(e)?.styles?.push(
|
|
1747
|
+
setStyle(e, b) {
|
|
1748
|
+
this.getState(e)?.styles?.push(b);
|
|
1754
1749
|
}
|
|
1755
|
-
setTextStyle(e,
|
|
1756
|
-
this.getState(e)?.textStyles?.push(
|
|
1750
|
+
setTextStyle(e, b) {
|
|
1751
|
+
this.getState(e)?.textStyles?.push(b);
|
|
1757
1752
|
}
|
|
1758
1753
|
getDirectionStatement() {
|
|
1759
|
-
return this.rootDoc.find((e) => e.stmt ===
|
|
1754
|
+
return this.rootDoc.find((e) => e.stmt === STMT_DIRECTION);
|
|
1760
1755
|
}
|
|
1761
1756
|
getDirection() {
|
|
1762
|
-
return this.getDirectionStatement()?.value ??
|
|
1757
|
+
return this.getDirectionStatement()?.value ?? DEFAULT_DIAGRAM_DIRECTION;
|
|
1763
1758
|
}
|
|
1764
1759
|
setDirection(e) {
|
|
1765
|
-
let
|
|
1766
|
-
|
|
1767
|
-
stmt:
|
|
1760
|
+
let b = this.getDirectionStatement();
|
|
1761
|
+
b ? b.value = e : this.rootDoc.unshift({
|
|
1762
|
+
stmt: STMT_DIRECTION,
|
|
1768
1763
|
value: e
|
|
1769
1764
|
});
|
|
1770
1765
|
}
|
|
@@ -1772,19 +1767,19 @@ var X = /* @__PURE__ */ e((e, n, i, a, s, c, l, u) => {
|
|
|
1772
1767
|
return e.startsWith(":") ? e.slice(1).trim() : e.trim();
|
|
1773
1768
|
}
|
|
1774
1769
|
getData() {
|
|
1775
|
-
let e =
|
|
1770
|
+
let e = getConfig2();
|
|
1776
1771
|
return {
|
|
1777
1772
|
nodes: this.nodes,
|
|
1778
1773
|
edges: this.edges,
|
|
1779
1774
|
other: {},
|
|
1780
1775
|
config: e,
|
|
1781
|
-
direction:
|
|
1776
|
+
direction: getDir(this.getRootDocV2())
|
|
1782
1777
|
};
|
|
1783
1778
|
}
|
|
1784
1779
|
getConfig() {
|
|
1785
|
-
return
|
|
1780
|
+
return getConfig2().state;
|
|
1786
1781
|
}
|
|
1787
|
-
},
|
|
1782
|
+
}, styles_default = /* @__PURE__ */ __name((e) => `
|
|
1788
1783
|
defs [id$="-barbEnd"] {
|
|
1789
1784
|
fill: ${e.transitionColor};
|
|
1790
1785
|
stroke: ${e.transitionColor};
|
|
@@ -2010,5 +2005,4 @@ g.stateGroup line {
|
|
|
2010
2005
|
filter: ${e.dropShadow ? e.dropShadow.replace("url(#drop-shadow)", `url(${e.svgId}-drop-shadow)`) : "none"}
|
|
2011
2006
|
}
|
|
2012
2007
|
`, "getStyles");
|
|
2013
|
-
|
|
2014
|
-
export { ve as StateDB, _ as stateDiagram_default, pe as stateRenderer_v3_unified_default, ye as styles_default };
|
|
2008
|
+
export { StateDB, stateDiagram_default, stateRenderer_v3_unified_default, styles_default };
|