@loopstack/loopstack-studio 0.24.0 → 0.25.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/_virtual/_rolldown/runtime.js +20 -0
- package/dist/api/auth.js +4 -2
- package/dist/api/client.js +9 -7
- package/dist/api/config.js +7 -5
- package/dist/api/dashboard.js +4 -2
- package/dist/api/documents.js +4 -2
- package/dist/api/index.js +21 -23
- package/dist/api/processor.js +5 -3
- package/dist/api/secrets.js +4 -2
- package/dist/api/workflows.js +11 -3
- package/dist/api/workspaces.js +4 -2
- package/dist/app/EnvironmentEmbedRoot.js +24 -31
- package/dist/components/ai-elements/code-block.js +53 -71
- package/dist/components/ai-elements/message.js +41 -82
- package/dist/components/ai-elements/prompt-input.js +162 -253
- package/dist/components/ai-elements/reasoning.js +78 -116
- package/dist/components/ai-elements/shimmer.js +23 -35
- package/dist/components/ai-elements/sources.js +29 -58
- package/dist/components/data-table/ConfirmDialog.js +14 -30
- package/dist/components/data-table/DataList.js +138 -198
- package/dist/components/data-table/DataTable.js +168 -234
- package/dist/components/data-table/DataTableBatchAction.js +18 -27
- package/dist/components/data-table/DataTableFilters.js +53 -78
- package/dist/components/data-table/DataTablePagination.js +72 -104
- package/dist/components/data-table/DataTableToolbar.js +53 -65
- package/dist/components/dynamic-form/ArrayController.js +85 -103
- package/dist/components/dynamic-form/CodeContent.js +28 -36
- package/dist/components/dynamic-form/Form.js +43 -56
- package/dist/components/dynamic-form/FormBody.js +12 -10
- package/dist/components/dynamic-form/FormElement.js +31 -41
- package/dist/components/dynamic-form/FormElementHeader.js +12 -20
- package/dist/components/dynamic-form/InputController.js +36 -38
- package/dist/components/dynamic-form/MarkdownContent.js +53 -74
- package/dist/components/dynamic-form/MermaidDiagram.js +22 -24
- package/dist/components/dynamic-form/ObjectController.js +24 -32
- package/dist/components/dynamic-form/fields/BaseFieldWrapper.js +35 -47
- package/dist/components/dynamic-form/fields/CheckboxField.js +39 -48
- package/dist/components/dynamic-form/fields/CodeViewField.js +42 -50
- package/dist/components/dynamic-form/fields/InputField.js +62 -90
- package/dist/components/dynamic-form/fields/MarkdownViewField.js +16 -19
- package/dist/components/dynamic-form/fields/RadioField.js +46 -62
- package/dist/components/dynamic-form/fields/SelectField.js +40 -58
- package/dist/components/dynamic-form/fields/SliderField.js +94 -100
- package/dist/components/dynamic-form/fields/SwitchField.js +42 -61
- package/dist/components/dynamic-form/fields/TextareaField.js +53 -72
- package/dist/components/dynamic-form/fields/utils/text-validation-utils.js +4 -2
- package/dist/components/dynamic-form/hooks/useArrayDefaultValue.js +6 -5
- package/dist/components/dynamic-form/hooks/useFieldConfig.js +19 -20
- package/dist/components/dynamic-form/hooks/useMergeParentKey.js +4 -2
- package/dist/components/dynamic-form/hooks/useSortPropertyNames.js +4 -2
- package/dist/components/feedback/ErrorAlert.js +11 -17
- package/dist/components/feedback/ErrorBoundary.js +16 -14
- package/dist/components/feedback/ErrorSnackbar.js +13 -30
- package/dist/components/feedback/LoadingCentered.js +15 -28
- package/dist/components/feedback/Snackbar.js +43 -44
- package/dist/components/feedback/index.js +5 -5
- package/dist/components/index.js +47 -47
- package/dist/components/layout/MainLayout.js +17 -25
- package/dist/components/layout/StudioSidebar.js +132 -202
- package/dist/components/lists/CustomListView.js +49 -74
- package/dist/components/lists/ListView.js +66 -102
- package/dist/components/loopstack-elements/link.js +71 -109
- package/dist/components/loopstack-elements/tool.js +99 -0
- package/dist/components/messages/CompletionMessagePaper.js +53 -85
- package/dist/components/page/PageBreadcrumbs.js +64 -83
- package/dist/components/ui/DiscordLogo.js +16 -22
- package/dist/components/ui/GoogleLogo.js +40 -44
- package/dist/components/ui/accordion.js +31 -52
- package/dist/components/ui/alert-dialog.js +59 -109
- package/dist/components/ui/alert.js +22 -36
- package/dist/components/ui/avatar.js +21 -35
- package/dist/components/ui/badge.js +13 -17
- package/dist/components/ui/breadcrumb.js +46 -82
- package/dist/components/ui/button-group.js +5 -5
- package/dist/components/ui/button.js +17 -21
- package/dist/components/ui/card.js +40 -74
- package/dist/components/ui/checkbox.js +17 -23
- package/dist/components/ui/collapsible.js +17 -25
- package/dist/components/ui/command.js +1 -2
- package/dist/components/ui/context-menu.js +32 -52
- package/dist/components/ui/dialog.js +62 -107
- package/dist/components/ui/drawer.js +54 -99
- package/dist/components/ui/dropdown-menu.js +91 -159
- package/dist/components/ui/hover-card.js +1 -2
- package/dist/components/ui/input-group.js +36 -56
- package/dist/components/ui/input.js +11 -15
- package/dist/components/ui/label.js +11 -15
- package/dist/components/ui/popover.js +25 -38
- package/dist/components/ui/radio-group.js +22 -33
- package/dist/components/ui/scroll-area.js +28 -43
- package/dist/components/ui/select.js +73 -134
- package/dist/components/ui/separator.js +13 -17
- package/dist/components/ui/sheet.js +60 -105
- package/dist/components/ui/sidebar.js +269 -451
- package/dist/components/ui/skeleton.js +10 -14
- package/dist/components/ui/slider.js +17 -15
- package/dist/components/ui/switch.js +15 -21
- package/dist/components/ui/table.js +46 -85
- package/dist/components/ui/tabs.js +26 -45
- package/dist/components/ui/textarea.js +10 -14
- package/dist/components/ui/tooltip.js +26 -41
- package/dist/components/ui-widgets/UiActions.js +30 -31
- package/dist/components/ui-widgets/UiWidget.js +34 -55
- package/dist/components/ui-widgets/widgets/AiPromptInput.js +28 -42
- package/dist/components/ui-widgets/widgets/ButtonFullWidth.js +16 -19
- package/dist/components/ui-widgets/widgets/SandboxRun.js +19 -26
- package/dist/components/ui-widgets/widgets/SubmitButton.js +15 -18
- package/dist/events/api-client-events.js +4 -2
- package/dist/events/sse-client-events.js +4 -2
- package/dist/features/code-explorer/CodeExplorer.js +1 -2
- package/dist/features/code-explorer/components/CodeExplorerTree.js +2 -2
- package/dist/features/code-explorer/components/CodeExplorerTreeNode.js +31 -29
- package/dist/features/code-explorer/components/FileContentViewer.js +120 -185
- package/dist/features/code-explorer/components/FileTabsBar.js +1 -2
- package/dist/features/code-explorer/components/FileTabsBarBase.js +134 -169
- 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 +41 -39
- package/dist/features/dashboard/Dashboard.js +79 -121
- package/dist/features/dashboard/RunItem.js +50 -68
- package/dist/features/dashboard/RunList.js +17 -28
- package/dist/features/debug/components/ConfigFlowViewer.js +49 -67
- package/dist/features/debug/components/WorkflowDebugHeader.js +32 -0
- package/dist/features/debug/components/WorkflowDebugLegend.js +56 -0
- package/dist/features/debug/components/WorkflowFlowViewer.js +90 -0
- package/dist/features/debug/components/workflow-flow/StateNode.js +82 -0
- package/dist/features/debug/components/workflow-flow/WorkflowGraph.js +41 -0
- package/dist/features/debug/components/workflow-flow/WorkflowTransitionEdge.js +64 -0
- package/dist/features/debug/index.js +3 -3
- package/dist/features/debug/lib/edge-paths.js +33 -31
- package/dist/features/debug/lib/flow-utils.js +156 -162
- package/dist/features/documents/DocumentRenderer.js +77 -45
- package/dist/features/documents/components/DocumentItem.js +21 -24
- package/dist/features/documents/components/DocumentList.js +39 -42
- package/dist/features/documents/components/DocumentMetadataPills.js +44 -59
- package/dist/features/documents/document-details/DocumentDetails.js +298 -413
- package/dist/features/documents/document-details/PromptDetails.js +105 -142
- package/dist/features/documents/index.js +4 -4
- package/dist/features/documents/renderers/AiMessage.js +39 -48
- package/dist/features/documents/renderers/AiMessageContent.js +108 -164
- package/dist/features/documents/renderers/ChoicesRenderer.js +80 -0
- package/dist/features/documents/renderers/ClaudeMessage.js +74 -91
- package/dist/features/documents/renderers/ConfirmPromptRenderer.js +47 -0
- package/dist/features/documents/renderers/DocumentDebugRenderer.js +26 -30
- package/dist/features/documents/renderers/DocumentFormRenderer.js +80 -72
- package/dist/features/documents/renderers/DocumentMessageRenderer.js +10 -9
- package/dist/features/documents/renderers/ErrorMessageRenderer.js +11 -13
- package/dist/features/documents/renderers/LinkMessageRenderer.js +15 -16
- package/dist/features/documents/renderers/MarkdownMessageRenderer.js +8 -10
- package/dist/features/documents/renderers/PlainMessageRenderer.js +7 -9
- package/dist/features/documents/renderers/SecretInputRenderer.js +89 -0
- package/dist/features/documents/renderers/TextPromptRenderer.js +48 -0
- package/dist/features/documents/renderers/useDocumentTransition.js +32 -0
- package/dist/features/health/LocalHealthCheck.js +54 -53
- package/dist/features/health/index.js +1 -1
- package/dist/features/oauth/OAuthCallbackPage.js +2 -2
- package/dist/features/oauth/OAuthPromptRenderer.js +135 -184
- package/dist/features/oauth/index.js +2 -2
- package/dist/features/oauth/useOAuthPopup.js +52 -71
- package/dist/features/runs/Runs.js +145 -187
- package/dist/features/workbench/Workbench.js +72 -98
- package/dist/features/workbench/WorkflowItem.js +49 -67
- package/dist/features/workbench/WorkflowList.js +50 -82
- package/dist/features/workbench/components/NewRunDialog.js +214 -311
- package/dist/features/workbench/components/RemoteFileTabsBar.js +18 -17
- package/dist/features/workbench/components/RemoteFileTree.js +54 -85
- package/dist/features/workbench/components/WorkbenchFilesPanel.js +52 -63
- package/dist/features/workbench/components/WorkbenchFloatingPanel.js +34 -90
- package/dist/features/workbench/components/WorkbenchFlowPanel.js +35 -46
- package/dist/features/workbench/components/WorkbenchIconSidebar.js +50 -80
- package/dist/features/workbench/components/WorkbenchPreviewPanel.js +52 -50
- package/dist/features/workbench/components/WorkbenchSecretsPanel.js +143 -172
- package/dist/features/workbench/components/WorkbenchSettingsModal.js +50 -86
- package/dist/features/workbench/components/WorkflowForms.js +17 -22
- package/dist/features/workbench/components/WorkflowHistoryItem.js +96 -143
- package/dist/features/workbench/components/WorkflowHistoryList.js +33 -0
- package/dist/features/workbench/components/buttons/WorkflowButtons.js +70 -97
- package/dist/features/workbench/hooks/useAutoScrollBottom.js +21 -25
- package/dist/features/workbench/hooks/useScrollToListItem.js +20 -21
- package/dist/features/workbench/hooks/useWorkflowData.js +32 -45
- package/dist/features/workbench/hooks/useWorkflowListState.js +13 -49
- package/dist/features/workbench/index.js +7 -8
- package/dist/features/workbench/providers/RemoteFileExplorerProvider.js +123 -138
- package/dist/features/workbench/providers/ScrollProvider.js +16 -20
- package/dist/features/workbench/providers/WorkbenchLayoutProvider.js +76 -75
- package/dist/features/workspaces/Workspaces.js +161 -226
- package/dist/features/workspaces/components/CreateWorkspace.js +137 -194
- package/dist/features/workspaces/components/EnvironmentSlotSelector.js +27 -25
- package/dist/features/workspaces/components/ExecutionTimeline.js +144 -185
- package/dist/features/workspaces/components/NewWorkflowRunDialog.js +23 -0
- package/dist/features/workspaces/components/WorkflowRunForm.js +104 -0
- package/dist/features/workspaces/components/WorkspaceHomePage.js +60 -81
- package/dist/features/workspaces/components/workflow-form/ArgumentsView.js +58 -0
- package/dist/features/workspaces/components/workflow-form/HeaderSection.js +29 -0
- package/dist/features/workspaces/components/workflow-form/SelectionView.js +66 -0
- package/dist/features/workspaces/index.js +3 -3
- package/dist/frontend/studio/node_modules/lodash/_Symbol.js +9 -0
- package/dist/frontend/studio/node_modules/lodash/_baseGetTag.js +15 -0
- package/dist/frontend/studio/node_modules/lodash/_baseTrim.js +13 -0
- package/dist/frontend/studio/node_modules/lodash/_freeGlobal.js +8 -0
- package/dist/frontend/studio/node_modules/lodash/_getRawTag.js +19 -0
- package/dist/frontend/studio/node_modules/lodash/_objectToString.js +12 -0
- package/dist/frontend/studio/node_modules/lodash/_root.js +10 -0
- package/dist/frontend/studio/node_modules/lodash/_trimmedEndIndex.js +13 -0
- package/dist/{node_modules → frontend/studio/node_modules}/lodash/debounce.js +10 -8
- package/dist/frontend/studio/node_modules/lodash/isObject.js +12 -0
- package/dist/frontend/studio/node_modules/lodash/isObjectLike.js +11 -0
- package/dist/frontend/studio/node_modules/lodash/isSymbol.js +14 -0
- package/dist/frontend/studio/node_modules/lodash/now.js +12 -0
- package/dist/frontend/studio/node_modules/lodash/toNumber.js +24 -0
- package/dist/hooks/index.js +6 -6
- package/dist/hooks/query-keys.js +39 -78
- package/dist/hooks/use-mobile.js +12 -11
- package/dist/hooks/useApi.js +16 -14
- package/dist/hooks/useAuth.js +38 -53
- package/dist/hooks/useConfig.js +26 -37
- package/dist/hooks/useDashboard.js +12 -15
- package/dist/hooks/useDebounce.js +12 -11
- package/dist/hooks/useDocuments.js +23 -35
- package/dist/hooks/useFiles.js +1 -2
- package/dist/hooks/useProcessor.js +14 -17
- package/dist/hooks/useSecrets.js +45 -64
- package/dist/hooks/useWorkflows.js +113 -78
- package/dist/hooks/useWorkspaces.js +83 -123
- package/dist/index.d.ts +0 -1305
- package/dist/index.js +80 -80
- package/dist/lib/requireParam.js +4 -2
- package/dist/lib/utils.js +7 -5
- package/dist/loopstack-studio.css +1 -1
- package/dist/node_modules/@braintree/sanitize-url/dist/constants.js +6 -4
- package/dist/node_modules/@braintree/sanitize-url/dist/index.js +8 -6
- package/dist/node_modules/@chevrotain/gast/lib/src/helpers.js +19 -20
- package/dist/node_modules/@chevrotain/gast/lib/src/model.js +87 -88
- package/dist/node_modules/@chevrotain/gast/lib/src/visitor.js +16 -13
- 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 +4 -2
- package/dist/node_modules/@chevrotain/regexp-to-ast/lib/src/character-classes.js +36 -34
- package/dist/node_modules/@chevrotain/regexp-to-ast/lib/src/regexp-parser.js +138 -110
- package/dist/node_modules/@chevrotain/regexp-to-ast/lib/src/utils.js +13 -11
- package/dist/node_modules/@chevrotain/utils/lib/src/print.js +5 -3
- package/dist/node_modules/@chevrotain/utils/lib/src/timer.js +4 -2
- package/dist/node_modules/@chevrotain/utils/lib/src/to-fast-properties.js +4 -2
- package/dist/node_modules/@dagrejs/dagre/dist/dagre.esm.js +1812 -1913
- package/dist/node_modules/@iconify/utils/lib/customisations/defaults.js +8 -6
- package/dist/node_modules/@iconify/utils/lib/icon/defaults.js +10 -8
- package/dist/node_modules/@iconify/utils/lib/icon/merge.js +8 -6
- package/dist/node_modules/@iconify/utils/lib/icon/name.js +8 -6
- package/dist/node_modules/@iconify/utils/lib/icon/transformations.js +4 -2
- package/dist/node_modules/@iconify/utils/lib/icon-set/get-icon.js +12 -10
- package/dist/node_modules/@iconify/utils/lib/icon-set/tree.js +4 -2
- package/dist/node_modules/@iconify/utils/lib/svg/build.js +20 -18
- package/dist/node_modules/@iconify/utils/lib/svg/defs.js +8 -6
- package/dist/node_modules/@iconify/utils/lib/svg/html.js +4 -2
- package/dist/node_modules/@iconify/utils/lib/svg/id.js +10 -8
- package/dist/node_modules/@iconify/utils/lib/svg/size.js +7 -5
- package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/architecture-YZFGNWBL.js +3 -0
- package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-2KRD3SAO.js +26 -0
- package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-67CJDMHE.js +26 -0
- package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-7N4EOEYR.js +38 -0
- package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-AA7GKIK3.js +33 -0
- package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-CIAEETIT.js +26 -0
- package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-FOC6F5B3.js +26 -0
- package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-K5T4RW27.js +1208 -0
- package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-KGLVRYIC.js +26 -0
- package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-LIHQZDEY.js +67 -0
- package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-ORNJ4GCN.js +34 -0
- package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/gitGraph-7Q5UKJZL.js +3 -0
- package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/info-OMHHGYJF.js +3 -0
- package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/packet-4T2RLAQJ.js +3 -0
- package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/pie-ZZUOXDRM.js +3 -0
- package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/radar-PYXPWWZC.js +3 -0
- package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/treeView-SZITEDCU.js +3 -0
- package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/treemap-W4RFUUIX.js +3 -0
- package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/wardley-RL74JXVD.js +3 -0
- package/dist/node_modules/@mermaid-js/parser/dist/mermaid-parser.core.js +59 -45
- package/dist/node_modules/@shikijs/core/dist/index.js +583 -1119
- package/dist/node_modules/@shikijs/engine-oniguruma/dist/index.js +163 -148
- package/dist/node_modules/@shikijs/engine-oniguruma/dist/wasm-inlined.js +4 -2
- package/dist/node_modules/@shikijs/langs/dist/abap.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/actionscript-3.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/ada.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/angular-expression.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/angular-html.js +15 -13
- package/dist/node_modules/@shikijs/langs/dist/angular-inline-style.js +5 -3
- package/dist/node_modules/@shikijs/langs/dist/angular-inline-template.js +9 -7
- package/dist/node_modules/@shikijs/langs/dist/angular-let-declaration.js +5 -3
- package/dist/node_modules/@shikijs/langs/dist/angular-template-blocks.js +9 -7
- package/dist/node_modules/@shikijs/langs/dist/angular-template.js +5 -3
- package/dist/node_modules/@shikijs/langs/dist/angular-ts.js +17 -15
- package/dist/node_modules/@shikijs/langs/dist/apache.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/apex.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/apl.js +15 -13
- package/dist/node_modules/@shikijs/langs/dist/applescript.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/ara.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/asciidoc.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/asm.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/astro.js +17 -15
- package/dist/node_modules/@shikijs/langs/dist/awk.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/ballerina.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/bat.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/beancount.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/berry.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/bibtex.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/bicep.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/bird2.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/blade.js +19 -17
- package/dist/node_modules/@shikijs/langs/dist/bsl.js +5 -3
- package/dist/node_modules/@shikijs/langs/dist/c.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/c3.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/cadence.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/cairo.js +5 -3
- package/dist/node_modules/@shikijs/langs/dist/clarity.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/clojure.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/cmake.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/cobol.js +9 -7
- package/dist/node_modules/@shikijs/langs/dist/codeowners.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/codeql.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/coffee.js +5 -3
- package/dist/node_modules/@shikijs/langs/dist/common-lisp.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/coq.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/cpp-macro.js +11 -9
- package/dist/node_modules/@shikijs/langs/dist/cpp.js +13 -11
- package/dist/node_modules/@shikijs/langs/dist/crystal.js +17 -15
- package/dist/node_modules/@shikijs/langs/dist/csharp.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/css.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/csv.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/cue.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/cypher.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/d.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/dart.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/dax.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/desktop.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/diff.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/docker.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/dotenv.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/dream-maker.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/edge.js +11 -9
- package/dist/node_modules/@shikijs/langs/dist/elixir.js +5 -3
- package/dist/node_modules/@shikijs/langs/dist/elm.js +5 -3
- package/dist/node_modules/@shikijs/langs/dist/emacs-lisp.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/erb.js +9 -7
- package/dist/node_modules/@shikijs/langs/dist/erlang.js +5 -3
- package/dist/node_modules/@shikijs/langs/dist/es-tag-css.js +11 -9
- package/dist/node_modules/@shikijs/langs/dist/es-tag-glsl.js +11 -9
- package/dist/node_modules/@shikijs/langs/dist/es-tag-html.js +11 -9
- package/dist/node_modules/@shikijs/langs/dist/es-tag-sql.js +9 -7
- package/dist/node_modules/@shikijs/langs/dist/es-tag-xml.js +5 -3
- package/dist/node_modules/@shikijs/langs/dist/fennel.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/fish.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/fluent.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/fortran-fixed-form.js +5 -3
- package/dist/node_modules/@shikijs/langs/dist/fortran-free-form.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/fsharp.js +5 -3
- package/dist/node_modules/@shikijs/langs/dist/gdresource.js +9 -7
- package/dist/node_modules/@shikijs/langs/dist/gdscript.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/gdshader.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/genie.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/gherkin.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/git-commit.js +5 -3
- package/dist/node_modules/@shikijs/langs/dist/git-rebase.js +5 -3
- package/dist/node_modules/@shikijs/langs/dist/gleam.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/glimmer-js.js +13 -11
- package/dist/node_modules/@shikijs/langs/dist/glimmer-ts.js +13 -11
- package/dist/node_modules/@shikijs/langs/dist/glsl.js +5 -3
- package/dist/node_modules/@shikijs/langs/dist/gn.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/gnuplot.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/go.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/graphql.js +13 -11
- package/dist/node_modules/@shikijs/langs/dist/groovy.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/hack.js +9 -7
- package/dist/node_modules/@shikijs/langs/dist/haml.js +9 -7
- package/dist/node_modules/@shikijs/langs/dist/handlebars.js +13 -11
- package/dist/node_modules/@shikijs/langs/dist/haskell.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/haxe.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/hcl.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/hjson.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/hlsl.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/html-derivative.js +5 -3
- package/dist/node_modules/@shikijs/langs/dist/html.js +9 -7
- package/dist/node_modules/@shikijs/langs/dist/http.js +13 -11
- package/dist/node_modules/@shikijs/langs/dist/hurl.js +11 -9
- package/dist/node_modules/@shikijs/langs/dist/hxml.js +5 -3
- package/dist/node_modules/@shikijs/langs/dist/hy.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/imba.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/ini.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/java.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/javascript.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/jinja-html.js +5 -3
- package/dist/node_modules/@shikijs/langs/dist/jinja.js +5 -3
- package/dist/node_modules/@shikijs/langs/dist/jison.js +5 -3
- package/dist/node_modules/@shikijs/langs/dist/json.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/json5.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/jsonc.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/jsonl.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/jsonnet.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/jssm.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/jsx.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/julia.js +15 -13
- package/dist/node_modules/@shikijs/langs/dist/just.js +17 -15
- package/dist/node_modules/@shikijs/langs/dist/kdl.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/kotlin.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/kusto.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/latex.js +5 -3
- package/dist/node_modules/@shikijs/langs/dist/lean.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/less.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/liquid.js +13 -11
- package/dist/node_modules/@shikijs/langs/dist/llvm.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/log.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/logo.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/lua.js +5 -3
- package/dist/node_modules/@shikijs/langs/dist/luau.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/make.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/markdown-nix.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/markdown-vue.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/markdown.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/marko.js +13 -11
- package/dist/node_modules/@shikijs/langs/dist/matlab.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/mdc.js +11 -9
- package/dist/node_modules/@shikijs/langs/dist/mdx.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/mermaid.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/mipsasm.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/mojo.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/moonbit.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/move.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/narrat.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/nextflow-groovy.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/nextflow.js +5 -3
- package/dist/node_modules/@shikijs/langs/dist/nginx.js +5 -3
- package/dist/node_modules/@shikijs/langs/dist/nim.js +19 -17
- package/dist/node_modules/@shikijs/langs/dist/nix.js +5 -3
- package/dist/node_modules/@shikijs/langs/dist/nushell.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/objective-c.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/objective-cpp.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/ocaml.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/odin.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/openscad.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/pascal.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/perl.js +15 -13
- package/dist/node_modules/@shikijs/langs/dist/php.js +17 -15
- package/dist/node_modules/@shikijs/langs/dist/pkl.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/plsql.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/po.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/polar.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/postcss.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/powerquery.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/powershell.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/prisma.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/prolog.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/proto.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/pug.js +11 -9
- package/dist/node_modules/@shikijs/langs/dist/puppet.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/purescript.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/python.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/qml.js +5 -3
- package/dist/node_modules/@shikijs/langs/dist/qmldir.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/qss.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/r.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/racket.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/raku.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/razor.js +9 -7
- package/dist/node_modules/@shikijs/langs/dist/reg.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/regexp.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/rel.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/riscv.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/ron.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/rosmsg.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/rst.js +21 -19
- package/dist/node_modules/@shikijs/langs/dist/ruby.js +29 -27
- package/dist/node_modules/@shikijs/langs/dist/rust.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/sas.js +5 -3
- package/dist/node_modules/@shikijs/langs/dist/sass.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/scala.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/scheme.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/scss.js +5 -3
- package/dist/node_modules/@shikijs/langs/dist/sdbl.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/shaderlab.js +5 -3
- package/dist/node_modules/@shikijs/langs/dist/shellscript.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/shellsession.js +5 -3
- package/dist/node_modules/@shikijs/langs/dist/smalltalk.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/solidity.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/soy.js +5 -3
- package/dist/node_modules/@shikijs/langs/dist/sparql.js +5 -3
- package/dist/node_modules/@shikijs/langs/dist/splunk.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/sql.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/ssh-config.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/stata.js +5 -3
- package/dist/node_modules/@shikijs/langs/dist/stylus.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/surrealql.js +5 -3
- package/dist/node_modules/@shikijs/langs/dist/svelte.js +13 -11
- package/dist/node_modules/@shikijs/langs/dist/swift.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/system-verilog.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/systemd.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/talonscript.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/tasl.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/tcl.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/templ.js +11 -9
- package/dist/node_modules/@shikijs/langs/dist/terraform.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/tex.js +5 -3
- package/dist/node_modules/@shikijs/langs/dist/toml.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/ts-tags.js +17 -15
- package/dist/node_modules/@shikijs/langs/dist/tsv.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/tsx.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/turtle.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/twig.js +17 -15
- package/dist/node_modules/@shikijs/langs/dist/typescript.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/typespec.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/typst.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/v.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/vala.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/vb.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/verilog.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/vhdl.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/viml.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/vue-directives.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/vue-html.js +5 -3
- package/dist/node_modules/@shikijs/langs/dist/vue-interpolations.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/vue-sfc-style-variable-injection.js +5 -3
- package/dist/node_modules/@shikijs/langs/dist/vue-vine.js +17 -15
- package/dist/node_modules/@shikijs/langs/dist/vue.js +25 -23
- package/dist/node_modules/@shikijs/langs/dist/vyper.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/wasm.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/wenyan.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/wgsl.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/wikitext.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/wit.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/wolfram.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/xml.js +5 -3
- package/dist/node_modules/@shikijs/langs/dist/xsl.js +5 -3
- package/dist/node_modules/@shikijs/langs/dist/yaml.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/zenscript.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/zig.js +3 -2
- package/dist/node_modules/@shikijs/primitive/dist/index.js +540 -0
- package/dist/node_modules/@shikijs/themes/dist/andromeeda.js +4 -2
- package/dist/node_modules/@shikijs/themes/dist/aurora-x.js +4 -2
- package/dist/node_modules/@shikijs/themes/dist/ayu-dark.js +4 -2
- package/dist/node_modules/@shikijs/themes/dist/ayu-light.js +4 -2
- package/dist/node_modules/@shikijs/themes/dist/ayu-mirage.js +4 -2
- package/dist/node_modules/@shikijs/themes/dist/catppuccin-frappe.js +4 -2
- package/dist/node_modules/@shikijs/themes/dist/catppuccin-latte.js +4 -2
- package/dist/node_modules/@shikijs/themes/dist/catppuccin-macchiato.js +4 -2
- package/dist/node_modules/@shikijs/themes/dist/catppuccin-mocha.js +4 -2
- package/dist/node_modules/@shikijs/themes/dist/dark-plus.js +4 -2
- package/dist/node_modules/@shikijs/themes/dist/dracula-soft.js +4 -2
- package/dist/node_modules/@shikijs/themes/dist/dracula.js +4 -2
- package/dist/node_modules/@shikijs/themes/dist/everforest-dark.js +4 -2
- package/dist/node_modules/@shikijs/themes/dist/everforest-light.js +4 -2
- package/dist/node_modules/@shikijs/themes/dist/github-dark-default.js +4 -2
- package/dist/node_modules/@shikijs/themes/dist/github-dark-dimmed.js +4 -2
- package/dist/node_modules/@shikijs/themes/dist/github-dark-high-contrast.js +4 -2
- package/dist/node_modules/@shikijs/themes/dist/github-dark.js +4 -2
- package/dist/node_modules/@shikijs/themes/dist/github-light-default.js +4 -2
- package/dist/node_modules/@shikijs/themes/dist/github-light-high-contrast.js +4 -2
- package/dist/node_modules/@shikijs/themes/dist/github-light.js +4 -2
- package/dist/node_modules/@shikijs/themes/dist/gruvbox-dark-hard.js +4 -2
- package/dist/node_modules/@shikijs/themes/dist/gruvbox-dark-medium.js +4 -2
- package/dist/node_modules/@shikijs/themes/dist/gruvbox-dark-soft.js +4 -2
- package/dist/node_modules/@shikijs/themes/dist/gruvbox-light-hard.js +4 -2
- package/dist/node_modules/@shikijs/themes/dist/gruvbox-light-medium.js +4 -2
- package/dist/node_modules/@shikijs/themes/dist/gruvbox-light-soft.js +4 -2
- package/dist/node_modules/@shikijs/themes/dist/horizon-bright.js +4 -2
- package/dist/node_modules/@shikijs/themes/dist/horizon.js +4 -2
- package/dist/node_modules/@shikijs/themes/dist/houston.js +4 -2
- package/dist/node_modules/@shikijs/themes/dist/kanagawa-dragon.js +4 -2
- package/dist/node_modules/@shikijs/themes/dist/kanagawa-lotus.js +4 -2
- package/dist/node_modules/@shikijs/themes/dist/kanagawa-wave.js +4 -2
- package/dist/node_modules/@shikijs/themes/dist/laserwave.js +4 -2
- package/dist/node_modules/@shikijs/themes/dist/light-plus.js +4 -2
- package/dist/node_modules/@shikijs/themes/dist/material-theme-darker.js +4 -2
- package/dist/node_modules/@shikijs/themes/dist/material-theme-lighter.js +4 -2
- package/dist/node_modules/@shikijs/themes/dist/material-theme-ocean.js +4 -2
- package/dist/node_modules/@shikijs/themes/dist/material-theme-palenight.js +4 -2
- package/dist/node_modules/@shikijs/themes/dist/material-theme.js +4 -2
- package/dist/node_modules/@shikijs/themes/dist/min-dark.js +4 -2
- package/dist/node_modules/@shikijs/themes/dist/min-light.js +4 -2
- package/dist/node_modules/@shikijs/themes/dist/monokai.js +4 -2
- package/dist/node_modules/@shikijs/themes/dist/night-owl-light.js +4 -2
- package/dist/node_modules/@shikijs/themes/dist/night-owl.js +4 -2
- package/dist/node_modules/@shikijs/themes/dist/nord.js +4 -2
- package/dist/node_modules/@shikijs/themes/dist/one-dark-pro.js +4 -2
- package/dist/node_modules/@shikijs/themes/dist/one-light.js +4 -2
- package/dist/node_modules/@shikijs/themes/dist/plastic.js +4 -2
- package/dist/node_modules/@shikijs/themes/dist/poimandres.js +4 -2
- package/dist/node_modules/@shikijs/themes/dist/red.js +4 -2
- package/dist/node_modules/@shikijs/themes/dist/rose-pine-dawn.js +4 -2
- package/dist/node_modules/@shikijs/themes/dist/rose-pine-moon.js +4 -2
- package/dist/node_modules/@shikijs/themes/dist/rose-pine.js +4 -2
- package/dist/node_modules/@shikijs/themes/dist/slack-dark.js +4 -2
- package/dist/node_modules/@shikijs/themes/dist/slack-ochin.js +4 -2
- package/dist/node_modules/@shikijs/themes/dist/snazzy-light.js +4 -2
- package/dist/node_modules/@shikijs/themes/dist/solarized-dark.js +4 -2
- package/dist/node_modules/@shikijs/themes/dist/solarized-light.js +4 -2
- package/dist/node_modules/@shikijs/themes/dist/synthwave-84.js +4 -2
- package/dist/node_modules/@shikijs/themes/dist/tokyo-night.js +4 -2
- package/dist/node_modules/@shikijs/themes/dist/vesper.js +4 -2
- package/dist/node_modules/@shikijs/themes/dist/vitesse-black.js +4 -2
- package/dist/node_modules/@shikijs/themes/dist/vitesse-dark.js +4 -2
- package/dist/node_modules/@shikijs/themes/dist/vitesse-light.js +4 -2
- package/dist/node_modules/@shikijs/types/dist/index.js +4 -2
- package/dist/node_modules/@shikijs/vscode-textmate/dist/index.js +949 -947
- package/dist/node_modules/@ungap/structured-clone/esm/deserialize.js +30 -30
- package/dist/node_modules/@ungap/structured-clone/esm/index.js +6 -4
- package/dist/node_modules/@ungap/structured-clone/esm/serialize.js +64 -64
- package/dist/node_modules/@upsetjs/venn.js/build/venn.esm.js +905 -0
- package/dist/node_modules/@xyflow/react/dist/esm/index.js +904 -901
- package/dist/node_modules/@xyflow/system/dist/esm/index.js +1226 -1222
- package/dist/node_modules/bail/index.js +4 -2
- package/dist/node_modules/ccount/index.js +4 -2
- package/dist/node_modules/character-entities-html4/index.js +4 -2
- package/dist/node_modules/character-entities-legacy/index.js +4 -2
- package/dist/node_modules/chevrotain/lib/src/api.js +10 -10
- package/dist/node_modules/chevrotain/lib/src/lang/lang_extensions.js +6 -4
- package/dist/node_modules/chevrotain/lib/src/parse/constants.js +4 -2
- package/dist/node_modules/chevrotain/lib/src/parse/cst/cst.js +11 -9
- package/dist/node_modules/chevrotain/lib/src/parse/cst/cst_visitor.js +38 -45
- package/dist/node_modules/chevrotain/lib/src/parse/errors_public.js +35 -36
- package/dist/node_modules/chevrotain/lib/src/parse/exceptions_public.js +26 -25
- package/dist/node_modules/chevrotain/lib/src/parse/grammar/checks.js +204 -226
- package/dist/node_modules/chevrotain/lib/src/parse/grammar/first.js +18 -18
- package/dist/node_modules/chevrotain/lib/src/parse/grammar/follow.js +20 -19
- package/dist/node_modules/chevrotain/lib/src/parse/grammar/gast/gast_resolver_public.js +14 -13
- package/dist/node_modules/chevrotain/lib/src/parse/grammar/interpreter.js +195 -200
- package/dist/node_modules/chevrotain/lib/src/parse/grammar/keys.js +5 -4
- package/dist/node_modules/chevrotain/lib/src/parse/grammar/llk_lookahead.js +28 -28
- package/dist/node_modules/chevrotain/lib/src/parse/grammar/lookahead.js +165 -170
- package/dist/node_modules/chevrotain/lib/src/parse/grammar/resolver.js +17 -17
- package/dist/node_modules/chevrotain/lib/src/parse/grammar/rest.js +50 -50
- package/dist/node_modules/chevrotain/lib/src/parse/parser/parser.js +76 -83
- package/dist/node_modules/chevrotain/lib/src/parse/parser/traits/error_handler.js +21 -21
- package/dist/node_modules/chevrotain/lib/src/parse/parser/traits/gast_recorder.js +117 -121
- package/dist/node_modules/chevrotain/lib/src/parse/parser/traits/lexer_adapter.js +12 -6
- package/dist/node_modules/chevrotain/lib/src/parse/parser/traits/looksahead.js +51 -51
- package/dist/node_modules/chevrotain/lib/src/parse/parser/traits/perf_tracer.js +15 -14
- package/dist/node_modules/chevrotain/lib/src/parse/parser/traits/recognizer_api.js +81 -80
- package/dist/node_modules/chevrotain/lib/src/parse/parser/traits/recognizer_engine.js +229 -217
- package/dist/node_modules/chevrotain/lib/src/parse/parser/traits/recoverable.js +87 -86
- package/dist/node_modules/chevrotain/lib/src/parse/parser/traits/tree_builder.js +36 -44
- package/dist/node_modules/chevrotain/lib/src/parse/parser/utils/apply_mixins.js +4 -2
- package/dist/node_modules/chevrotain/lib/src/scan/lexer.js +287 -309
- package/dist/node_modules/chevrotain/lib/src/scan/lexer_errors_public.js +4 -2
- package/dist/node_modules/chevrotain/lib/src/scan/lexer_public.js +115 -126
- package/dist/node_modules/chevrotain/lib/src/scan/reg_exp.js +73 -70
- package/dist/node_modules/chevrotain/lib/src/scan/reg_exp_parser.js +12 -10
- package/dist/node_modules/chevrotain/lib/src/scan/tokens.js +45 -54
- package/dist/node_modules/chevrotain/lib/src/scan/tokens_public.js +29 -30
- package/dist/node_modules/chevrotain-allstar/lib/all-star-lookahead.js +242 -240
- package/dist/node_modules/chevrotain-allstar/lib/atn.js +134 -133
- package/dist/node_modules/chevrotain-allstar/lib/dfa.js +11 -10
- package/dist/node_modules/chevrotain-allstar/lib/index.js +1 -1
- package/dist/node_modules/classcat/index.js +5 -3
- package/dist/node_modules/comma-separated-tokens/index.js +5 -3
- package/dist/node_modules/cose-base/cose-base.js +21 -21
- package/dist/node_modules/cytoscape/dist/cytoscape.esm.js +7935 -7935
- package/dist/node_modules/cytoscape-cose-bilkent/cytoscape-cose-bilkent.js +8 -6
- package/dist/node_modules/cytoscape-fcose/cytoscape-fcose.js +8 -6
- 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 +6 -4
- package/dist/node_modules/d3/src/index.js +95 -95
- package/dist/node_modules/d3-array/src/ascending.js +4 -2
- package/dist/node_modules/d3-array/src/bisect.js +8 -8
- package/dist/node_modules/d3-array/src/bisector.js +8 -6
- package/dist/node_modules/d3-array/src/descending.js +4 -2
- package/dist/node_modules/d3-array/src/max.js +4 -2
- package/dist/node_modules/d3-array/src/min.js +4 -2
- package/dist/node_modules/d3-array/src/number.js +4 -2
- package/dist/node_modules/d3-array/src/range.js +4 -2
- package/dist/node_modules/d3-array/src/ticks.js +13 -11
- package/dist/node_modules/d3-axis/src/axis.js +48 -46
- package/dist/node_modules/d3-axis/src/identity.js +4 -2
- package/dist/node_modules/d3-brush/src/brush.js +6 -4
- package/dist/node_modules/d3-color/src/color.js +86 -84
- package/dist/node_modules/d3-color/src/define.js +5 -3
- package/dist/node_modules/d3-color/src/lab.js +45 -43
- package/dist/node_modules/d3-color/src/math.js +4 -2
- package/dist/node_modules/d3-dispatch/src/dispatch.js +18 -17
- package/dist/node_modules/d3-drag/src/constant.js +4 -2
- package/dist/node_modules/d3-drag/src/drag.js +77 -75
- package/dist/node_modules/d3-drag/src/event.js +5 -3
- package/dist/node_modules/d3-drag/src/nodrag.js +11 -9
- package/dist/node_modules/d3-drag/src/noevent.js +6 -4
- package/dist/node_modules/d3-ease/src/cubic.js +4 -2
- package/dist/node_modules/d3-format/src/defaultLocale.js +8 -6
- package/dist/node_modules/d3-format/src/exponent.js +6 -4
- package/dist/node_modules/d3-format/src/formatDecimal.js +5 -3
- package/dist/node_modules/d3-format/src/formatGroup.js +4 -2
- package/dist/node_modules/d3-format/src/formatNumerals.js +4 -2
- package/dist/node_modules/d3-format/src/formatPrefixAuto.js +10 -8
- package/dist/node_modules/d3-format/src/formatRounded.js +6 -4
- package/dist/node_modules/d3-format/src/formatSpecifier.js +10 -8
- package/dist/node_modules/d3-format/src/formatTrim.js +4 -2
- package/dist/node_modules/d3-format/src/formatTypes.js +15 -13
- package/dist/node_modules/d3-format/src/identity.js +4 -2
- package/dist/node_modules/d3-format/src/locale.js +33 -31
- package/dist/node_modules/d3-format/src/precisionFixed.js +6 -4
- package/dist/node_modules/d3-format/src/precisionPrefix.js +6 -4
- package/dist/node_modules/d3-format/src/precisionRound.js +6 -4
- package/dist/node_modules/d3-hierarchy/src/accessors.js +4 -2
- package/dist/node_modules/d3-hierarchy/src/constant.js +5 -3
- package/dist/node_modules/d3-hierarchy/src/hierarchy/ancestors.js +4 -2
- package/dist/node_modules/d3-hierarchy/src/hierarchy/count.js +6 -4
- package/dist/node_modules/d3-hierarchy/src/hierarchy/descendants.js +4 -2
- package/dist/node_modules/d3-hierarchy/src/hierarchy/each.js +4 -2
- package/dist/node_modules/d3-hierarchy/src/hierarchy/eachAfter.js +4 -2
- package/dist/node_modules/d3-hierarchy/src/hierarchy/eachBefore.js +4 -2
- package/dist/node_modules/d3-hierarchy/src/hierarchy/find.js +4 -2
- package/dist/node_modules/d3-hierarchy/src/hierarchy/index.js +46 -44
- package/dist/node_modules/d3-hierarchy/src/hierarchy/iterator.js +4 -2
- package/dist/node_modules/d3-hierarchy/src/hierarchy/leaves.js +4 -2
- package/dist/node_modules/d3-hierarchy/src/hierarchy/links.js +4 -2
- package/dist/node_modules/d3-hierarchy/src/hierarchy/path.js +6 -4
- package/dist/node_modules/d3-hierarchy/src/hierarchy/sort.js +4 -2
- package/dist/node_modules/d3-hierarchy/src/hierarchy/sum.js +4 -2
- package/dist/node_modules/d3-hierarchy/src/treemap/dice.js +4 -2
- package/dist/node_modules/d3-hierarchy/src/treemap/index.js +16 -14
- package/dist/node_modules/d3-hierarchy/src/treemap/round.js +4 -2
- package/dist/node_modules/d3-hierarchy/src/treemap/slice.js +4 -2
- package/dist/node_modules/d3-hierarchy/src/treemap/squarify.js +11 -9
- package/dist/node_modules/d3-interpolate/src/array.js +6 -4
- package/dist/node_modules/d3-interpolate/src/basis.js +6 -4
- package/dist/node_modules/d3-interpolate/src/basisClosed.js +6 -4
- package/dist/node_modules/d3-interpolate/src/color.js +19 -17
- package/dist/node_modules/d3-interpolate/src/constant.js +4 -2
- package/dist/node_modules/d3-interpolate/src/date.js +4 -2
- package/dist/node_modules/d3-interpolate/src/hcl.js +8 -6
- package/dist/node_modules/d3-interpolate/src/number.js +4 -2
- package/dist/node_modules/d3-interpolate/src/numberArray.js +5 -3
- package/dist/node_modules/d3-interpolate/src/object.js +6 -4
- package/dist/node_modules/d3-interpolate/src/rgb.js +11 -9
- package/dist/node_modules/d3-interpolate/src/round.js +4 -2
- package/dist/node_modules/d3-interpolate/src/string.js +16 -14
- package/dist/node_modules/d3-interpolate/src/transform/decompose.js +7 -5
- package/dist/node_modules/d3-interpolate/src/transform/index.js +13 -11
- package/dist/node_modules/d3-interpolate/src/transform/parse.js +10 -8
- package/dist/node_modules/d3-interpolate/src/value.js +14 -12
- package/dist/node_modules/d3-interpolate/src/zoom.js +13 -11
- package/dist/node_modules/d3-path/src/path.js +16 -14
- package/dist/node_modules/d3-sankey/node_modules/d3-array/src/max.js +4 -2
- package/dist/node_modules/d3-sankey/node_modules/d3-array/src/min.js +4 -2
- package/dist/node_modules/d3-sankey/node_modules/d3-array/src/sum.js +4 -2
- package/dist/node_modules/d3-sankey/node_modules/d3-path/src/path.js +13 -12
- package/dist/node_modules/d3-sankey/node_modules/d3-shape/src/array.js +4 -2
- package/dist/node_modules/d3-sankey/node_modules/d3-shape/src/constant.js +4 -2
- package/dist/node_modules/d3-sankey/node_modules/d3-shape/src/link/index.js +19 -17
- package/dist/node_modules/d3-sankey/node_modules/d3-shape/src/point.js +5 -3
- package/dist/node_modules/d3-sankey/src/align.js +12 -10
- package/dist/node_modules/d3-sankey/src/constant.js +4 -2
- package/dist/node_modules/d3-sankey/src/sankey.js +170 -168
- package/dist/node_modules/d3-sankey/src/sankeyLinkHorizontal.js +8 -6
- package/dist/node_modules/d3-scale/src/band.js +11 -9
- package/dist/node_modules/d3-scale/src/constant.js +4 -2
- package/dist/node_modules/d3-scale/src/continuous.js +49 -47
- package/dist/node_modules/d3-scale/src/init.js +4 -2
- package/dist/node_modules/d3-scale/src/linear.js +15 -13
- package/dist/node_modules/d3-scale/src/nice.js +4 -2
- package/dist/node_modules/d3-scale/src/number.js +4 -2
- package/dist/node_modules/d3-scale/src/ordinal.js +18 -16
- package/dist/node_modules/d3-scale/src/tickFormat.js +16 -14
- package/dist/node_modules/d3-scale/src/time.js +36 -34
- package/dist/node_modules/d3-scale-chromatic/src/categorical/Tableau10.js +5 -3
- package/dist/node_modules/d3-scale-chromatic/src/colors.js +4 -2
- package/dist/node_modules/d3-selection/src/array.js +4 -2
- package/dist/node_modules/d3-selection/src/constant.js +4 -2
- package/dist/node_modules/d3-selection/src/creator.js +12 -10
- package/dist/node_modules/d3-selection/src/matcher.js +5 -3
- package/dist/node_modules/d3-selection/src/namespace.js +7 -5
- package/dist/node_modules/d3-selection/src/namespaces.js +5 -3
- package/dist/node_modules/d3-selection/src/pointer.js +6 -4
- package/dist/node_modules/d3-selection/src/select.js +6 -4
- package/dist/node_modules/d3-selection/src/selection/append.js +6 -4
- package/dist/node_modules/d3-selection/src/selection/attr.js +19 -17
- package/dist/node_modules/d3-selection/src/selection/call.js +4 -2
- package/dist/node_modules/d3-selection/src/selection/classed.js +25 -23
- package/dist/node_modules/d3-selection/src/selection/clone.js +7 -5
- package/dist/node_modules/d3-selection/src/selection/data.js +18 -16
- package/dist/node_modules/d3-selection/src/selection/datum.js +4 -2
- package/dist/node_modules/d3-selection/src/selection/dispatch.js +12 -10
- package/dist/node_modules/d3-selection/src/selection/each.js +4 -2
- package/dist/node_modules/d3-selection/src/selection/empty.js +4 -2
- package/dist/node_modules/d3-selection/src/selection/enter.js +13 -11
- package/dist/node_modules/d3-selection/src/selection/exit.js +7 -5
- package/dist/node_modules/d3-selection/src/selection/filter.js +8 -6
- package/dist/node_modules/d3-selection/src/selection/html.js +8 -6
- package/dist/node_modules/d3-selection/src/selection/index.js +80 -79
- package/dist/node_modules/d3-selection/src/selection/insert.js +8 -6
- package/dist/node_modules/d3-selection/src/selection/iterator.js +4 -2
- package/dist/node_modules/d3-selection/src/selection/join.js +4 -2
- package/dist/node_modules/d3-selection/src/selection/lower.js +6 -4
- package/dist/node_modules/d3-selection/src/selection/merge.js +6 -4
- package/dist/node_modules/d3-selection/src/selection/node.js +4 -2
- package/dist/node_modules/d3-selection/src/selection/nodes.js +4 -2
- package/dist/node_modules/d3-selection/src/selection/on.js +11 -9
- package/dist/node_modules/d3-selection/src/selection/order.js +4 -2
- package/dist/node_modules/d3-selection/src/selection/property.js +8 -6
- package/dist/node_modules/d3-selection/src/selection/raise.js +6 -4
- package/dist/node_modules/d3-selection/src/selection/remove.js +6 -4
- package/dist/node_modules/d3-selection/src/selection/select.js +8 -6
- package/dist/node_modules/d3-selection/src/selection/selectAll.js +11 -9
- package/dist/node_modules/d3-selection/src/selection/selectChild.js +10 -8
- package/dist/node_modules/d3-selection/src/selection/selectChildren.js +10 -8
- package/dist/node_modules/d3-selection/src/selection/size.js +4 -2
- package/dist/node_modules/d3-selection/src/selection/sort.js +8 -6
- package/dist/node_modules/d3-selection/src/selection/sparse.js +4 -2
- package/dist/node_modules/d3-selection/src/selection/style.js +14 -12
- package/dist/node_modules/d3-selection/src/selection/text.js +8 -6
- package/dist/node_modules/d3-selection/src/selector.js +6 -4
- package/dist/node_modules/d3-selection/src/selectorAll.js +6 -4
- package/dist/node_modules/d3-selection/src/sourceEvent.js +4 -2
- package/dist/node_modules/d3-selection/src/window.js +4 -2
- package/dist/node_modules/d3-shape/src/arc.js +38 -36
- package/dist/node_modules/d3-shape/src/array.js +3 -2
- package/dist/node_modules/d3-shape/src/constant.js +4 -2
- package/dist/node_modules/d3-shape/src/curve/basis.js +10 -8
- package/dist/node_modules/d3-shape/src/curve/basisClosed.js +18 -16
- package/dist/node_modules/d3-shape/src/curve/basisOpen.js +9 -7
- package/dist/node_modules/d3-shape/src/curve/bump.js +15 -13
- package/dist/node_modules/d3-shape/src/curve/bundle.js +9 -7
- package/dist/node_modules/d3-shape/src/curve/cardinal.js +10 -8
- package/dist/node_modules/d3-shape/src/curve/cardinalClosed.js +12 -10
- package/dist/node_modules/d3-shape/src/curve/cardinalOpen.js +9 -7
- package/dist/node_modules/d3-shape/src/curve/catmullRom.js +19 -17
- package/dist/node_modules/d3-shape/src/curve/catmullRomClosed.js +13 -11
- package/dist/node_modules/d3-shape/src/curve/catmullRomOpen.js +10 -8
- package/dist/node_modules/d3-shape/src/curve/linear.js +7 -5
- package/dist/node_modules/d3-shape/src/curve/linearClosed.js +12 -10
- package/dist/node_modules/d3-shape/src/curve/monotone.js +23 -21
- package/dist/node_modules/d3-shape/src/curve/natural.js +9 -7
- package/dist/node_modules/d3-shape/src/curve/step.js +19 -17
- package/dist/node_modules/d3-shape/src/descending.js +4 -2
- package/dist/node_modules/d3-shape/src/identity.js +4 -2
- package/dist/node_modules/d3-shape/src/line.js +19 -17
- package/dist/node_modules/d3-shape/src/math.js +8 -6
- package/dist/node_modules/d3-shape/src/noop.js +4 -2
- package/dist/node_modules/d3-shape/src/path.js +6 -4
- package/dist/node_modules/d3-shape/src/pie.js +15 -13
- package/dist/node_modules/d3-shape/src/point.js +5 -3
- package/dist/node_modules/d3-time/src/day.js +17 -15
- package/dist/node_modules/d3-time/src/duration.js +4 -2
- package/dist/node_modules/d3-time/src/hour.js +16 -14
- package/dist/node_modules/d3-time/src/interval.js +7 -5
- package/dist/node_modules/d3-time/src/millisecond.js +7 -5
- package/dist/node_modules/d3-time/src/minute.js +16 -14
- package/dist/node_modules/d3-time/src/month.js +14 -12
- package/dist/node_modules/d3-time/src/second.js +9 -7
- package/dist/node_modules/d3-time/src/ticks.js +66 -64
- package/dist/node_modules/d3-time/src/week.js +21 -19
- package/dist/node_modules/d3-time/src/year.js +10 -8
- package/dist/node_modules/d3-time-format/src/defaultLocale.js +8 -6
- package/dist/node_modules/d3-time-format/src/locale.js +346 -344
- package/dist/node_modules/d3-timer/src/timeout.js +6 -4
- package/dist/node_modules/d3-timer/src/timer.js +33 -31
- package/dist/node_modules/d3-transition/src/index.js +2 -2
- package/dist/node_modules/d3-transition/src/interrupt.js +4 -3
- package/dist/node_modules/d3-transition/src/selection/index.js +5 -4
- package/dist/node_modules/d3-transition/src/selection/interrupt.js +6 -4
- package/dist/node_modules/d3-transition/src/selection/transition.js +16 -14
- package/dist/node_modules/d3-transition/src/transition/attr.js +28 -26
- package/dist/node_modules/d3-transition/src/transition/attrTween.js +13 -11
- package/dist/node_modules/d3-transition/src/transition/delay.js +11 -9
- package/dist/node_modules/d3-transition/src/transition/duration.js +11 -9
- package/dist/node_modules/d3-transition/src/transition/ease.js +8 -6
- package/dist/node_modules/d3-transition/src/transition/easeVarying.js +8 -6
- package/dist/node_modules/d3-transition/src/transition/end.js +6 -4
- package/dist/node_modules/d3-transition/src/transition/filter.js +8 -6
- package/dist/node_modules/d3-transition/src/transition/index.js +63 -61
- package/dist/node_modules/d3-transition/src/transition/interpolate.js +9 -7
- package/dist/node_modules/d3-transition/src/transition/merge.js +6 -4
- package/dist/node_modules/d3-transition/src/transition/on.js +9 -7
- package/dist/node_modules/d3-transition/src/transition/remove.js +6 -4
- package/dist/node_modules/d3-transition/src/transition/schedule.js +20 -18
- package/dist/node_modules/d3-transition/src/transition/select.js +10 -8
- package/dist/node_modules/d3-transition/src/transition/selectAll.js +10 -8
- package/dist/node_modules/d3-transition/src/transition/selection.js +7 -5
- package/dist/node_modules/d3-transition/src/transition/style.js +21 -19
- package/dist/node_modules/d3-transition/src/transition/styleTween.js +8 -6
- package/dist/node_modules/d3-transition/src/transition/text.js +8 -6
- package/dist/node_modules/d3-transition/src/transition/textTween.js +8 -6
- package/dist/node_modules/d3-transition/src/transition/transition.js +10 -8
- package/dist/node_modules/d3-transition/src/transition/tween.js +14 -12
- package/dist/node_modules/d3-zoom/src/constant.js +4 -2
- package/dist/node_modules/d3-zoom/src/event.js +4 -2
- package/dist/node_modules/d3-zoom/src/index.js +2 -2
- package/dist/node_modules/d3-zoom/src/noevent.js +5 -3
- package/dist/node_modules/d3-zoom/src/transform.js +12 -10
- package/dist/node_modules/d3-zoom/src/zoom.js +116 -114
- package/dist/node_modules/dagre-d3-es/src/dagre/acyclic.js +14 -12
- package/dist/node_modules/dagre-d3-es/src/dagre/add-border-segments.js +11 -9
- package/dist/node_modules/dagre-d3-es/src/dagre/coordinate-system.js +36 -34
- package/dist/node_modules/dagre-d3-es/src/dagre/data/list.js +9 -7
- package/dist/node_modules/dagre-d3-es/src/dagre/greedy-fas.js +51 -49
- package/dist/node_modules/dagre-d3-es/src/dagre/index.js +2 -2
- package/dist/node_modules/dagre-d3-es/src/dagre/layout.js +165 -163
- package/dist/node_modules/dagre-d3-es/src/dagre/nesting-graph.js +45 -43
- package/dist/node_modules/dagre-d3-es/src/dagre/normalize.js +12 -10
- package/dist/node_modules/dagre-d3-es/src/dagre/order/add-subgraph-constraints.js +6 -4
- package/dist/node_modules/dagre-d3-es/src/dagre/order/barycenter.js +8 -6
- package/dist/node_modules/dagre-d3-es/src/dagre/order/build-layer-graph.js +14 -12
- package/dist/node_modules/dagre-d3-es/src/dagre/order/cross-count.js +22 -20
- package/dist/node_modules/dagre-d3-es/src/dagre/order/index.js +36 -34
- package/dist/node_modules/dagre-d3-es/src/dagre/order/init-order.js +16 -14
- package/dist/node_modules/dagre-d3-es/src/dagre/order/resolve-conflicts.js +32 -30
- package/dist/node_modules/dagre-d3-es/src/dagre/order/sort-subgraph.js +30 -28
- package/dist/node_modules/dagre-d3-es/src/dagre/order/sort.js +20 -18
- package/dist/node_modules/dagre-d3-es/src/dagre/parent-dummy-chains.js +12 -10
- package/dist/node_modules/dagre-d3-es/src/dagre/position/bk.js +150 -148
- package/dist/node_modules/dagre-d3-es/src/dagre/position/index.js +20 -18
- package/dist/node_modules/dagre-d3-es/src/dagre/rank/feasible-tree.js +19 -17
- package/dist/node_modules/dagre-d3-es/src/dagre/rank/index.js +16 -14
- package/dist/node_modules/dagre-d3-es/src/dagre/rank/network-simplex.js +64 -63
- package/dist/node_modules/dagre-d3-es/src/dagre/rank/util.js +15 -13
- package/dist/node_modules/dagre-d3-es/src/dagre/util.js +84 -82
- package/dist/node_modules/dagre-d3-es/src/graphlib/alg/dfs.js +15 -13
- package/dist/node_modules/dagre-d3-es/src/graphlib/alg/dijkstra.js +3 -2
- package/dist/node_modules/dagre-d3-es/src/graphlib/alg/floyd-warshall.js +3 -2
- 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 +6 -4
- package/dist/node_modules/dagre-d3-es/src/graphlib/alg/preorder.js +6 -4
- package/dist/node_modules/dagre-d3-es/src/graphlib/alg/topsort.js +13 -11
- package/dist/node_modules/dagre-d3-es/src/graphlib/graph.js +131 -129
- package/dist/node_modules/dagre-d3-es/src/graphlib/index.js +1 -1
- package/dist/node_modules/dagre-d3-es/src/graphlib/json.js +23 -21
- package/dist/node_modules/dayjs/dayjs.min.js +6 -4
- package/dist/node_modules/dayjs/plugin/advancedFormat.js +6 -4
- package/dist/node_modules/dayjs/plugin/customParseFormat.js +6 -4
- package/dist/node_modules/dayjs/plugin/duration.js +6 -4
- package/dist/node_modules/dayjs/plugin/isoWeek.js +6 -4
- package/dist/node_modules/decode-named-character-reference/index.dom.js +7 -5
- package/dist/node_modules/devlop/lib/default.js +4 -2
- package/dist/node_modules/dompurify/dist/purify.es.js +203 -201
- package/dist/node_modules/entities/dist/esm/decode-codepoint.js +6 -4
- package/dist/node_modules/entities/dist/esm/decode.js +87 -85
- package/dist/node_modules/entities/dist/esm/generated/decode-data-html.js +4 -2
- package/dist/node_modules/estree-util-is-identifier-name/lib/index.js +6 -4
- package/dist/node_modules/extend/index.js +9 -6
- package/dist/node_modules/hast-util-from-dom/lib/index.js +32 -30
- package/dist/node_modules/hast-util-from-html-isomorphic/lib/browser.js +10 -8
- package/dist/node_modules/hast-util-from-parse5/lib/index.js +82 -80
- package/dist/node_modules/hast-util-is-element/lib/index.js +17 -15
- package/dist/node_modules/hast-util-parse-selector/lib/index.js +7 -5
- package/dist/node_modules/hast-util-raw/lib/index.js +136 -134
- package/dist/node_modules/hast-util-raw/node_modules/parse5/dist/common/doctype.js +23 -21
- package/dist/node_modules/hast-util-raw/node_modules/parse5/dist/common/error-codes.js +5 -3
- 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 +250 -249
- package/dist/node_modules/hast-util-raw/node_modules/parse5/dist/common/token.js +6 -4
- 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 +17 -15
- package/dist/node_modules/hast-util-raw/node_modules/parse5/dist/parser/index.js +1497 -1495
- package/dist/node_modules/hast-util-raw/node_modules/parse5/dist/parser/open-element-stack.js +148 -146
- package/dist/node_modules/hast-util-raw/node_modules/parse5/dist/serializer/index.js +20 -19
- package/dist/node_modules/hast-util-raw/node_modules/parse5/dist/tokenizer/index.js +800 -798
- package/dist/node_modules/hast-util-raw/node_modules/parse5/dist/tokenizer/preprocessor.js +33 -31
- package/dist/node_modules/hast-util-raw/node_modules/parse5/dist/tree-adapters/default.js +10 -8
- package/dist/node_modules/hast-util-sanitize/lib/index.js +106 -104
- package/dist/node_modules/hast-util-sanitize/lib/schema.js +12 -11
- package/dist/node_modules/hast-util-to-html/lib/handle/comment.js +9 -7
- package/dist/node_modules/hast-util-to-html/lib/handle/doctype.js +4 -2
- package/dist/node_modules/hast-util-to-html/lib/handle/element.js +25 -23
- package/dist/node_modules/hast-util-to-html/lib/handle/index.js +22 -21
- package/dist/node_modules/hast-util-to-html/lib/handle/raw.js +6 -4
- package/dist/node_modules/hast-util-to-html/lib/handle/root.js +4 -2
- package/dist/node_modules/hast-util-to-html/lib/handle/text.js +7 -5
- package/dist/node_modules/hast-util-to-html/lib/index.js +38 -36
- package/dist/node_modules/hast-util-to-html/lib/omission/closing.js +70 -68
- package/dist/node_modules/hast-util-to-html/lib/omission/omission.js +6 -4
- package/dist/node_modules/hast-util-to-html/lib/omission/opening.js +32 -30
- package/dist/node_modules/hast-util-to-html/lib/omission/util/siblings.js +10 -9
- package/dist/node_modules/hast-util-to-jsx-runtime/lib/index.js +192 -190
- package/dist/node_modules/hast-util-to-parse5/lib/index.js +71 -69
- package/dist/node_modules/hast-util-to-text/lib/index.js +61 -59
- package/dist/node_modules/hast-util-whitespace/lib/index.js +8 -6
- package/dist/node_modules/hastscript/lib/create-h.js +26 -24
- package/dist/node_modules/hastscript/lib/index.js +7 -5
- package/dist/node_modules/hastscript/lib/svg-case-sensitive-tag-names.js +4 -2
- package/dist/node_modules/html-url-attributes/lib/index.js +4 -2
- package/dist/node_modules/html-void-elements/index.js +4 -2
- package/dist/node_modules/inline-style-parser/cjs/index.js +6 -4
- package/dist/node_modules/internmap/src/index.js +22 -20
- package/dist/node_modules/katex/dist/katex.js +2914 -2873
- package/dist/node_modules/khroma/dist/channels/index.js +23 -21
- package/dist/node_modules/khroma/dist/channels/reusable.js +5 -3
- package/dist/node_modules/khroma/dist/channels/type.js +7 -5
- package/dist/node_modules/khroma/dist/color/hex.js +10 -8
- package/dist/node_modules/khroma/dist/color/hsl.js +19 -17
- package/dist/node_modules/khroma/dist/color/index.js +17 -15
- package/dist/node_modules/khroma/dist/color/keyword.js +10 -8
- package/dist/node_modules/khroma/dist/color/rgb.js +14 -12
- package/dist/node_modules/khroma/dist/constants.js +7 -5
- package/dist/node_modules/khroma/dist/methods/adjust.js +8 -6
- package/dist/node_modules/khroma/dist/methods/adjust_channel.js +8 -6
- package/dist/node_modules/khroma/dist/methods/change.js +9 -7
- package/dist/node_modules/khroma/dist/methods/channel.js +6 -4
- package/dist/node_modules/khroma/dist/methods/darken.js +5 -3
- package/dist/node_modules/khroma/dist/methods/invert.js +8 -6
- package/dist/node_modules/khroma/dist/methods/is_dark.js +5 -3
- package/dist/node_modules/khroma/dist/methods/is_light.js +5 -3
- package/dist/node_modules/khroma/dist/methods/lighten.js +5 -3
- package/dist/node_modules/khroma/dist/methods/luminance.js +8 -6
- package/dist/node_modules/khroma/dist/methods/mix.js +8 -6
- package/dist/node_modules/khroma/dist/methods/rgba.js +15 -13
- package/dist/node_modules/khroma/dist/methods/transparentize.js +5 -0
- package/dist/node_modules/khroma/dist/utils/channel.js +8 -6
- package/dist/node_modules/khroma/dist/utils/index.js +10 -8
- package/dist/node_modules/khroma/dist/utils/lang.js +4 -2
- package/dist/node_modules/khroma/dist/utils/unit.js +4 -2
- package/dist/node_modules/langium/lib/default-module.js +66 -64
- package/dist/node_modules/langium/lib/dependency-injection.js +37 -39
- package/dist/node_modules/langium/lib/documentation/comment-provider.js +7 -5
- package/dist/node_modules/langium/lib/documentation/documentation-provider.js +8 -6
- package/dist/node_modules/langium/lib/documentation/jsdoc.js +204 -202
- package/dist/node_modules/langium/lib/languages/generated/ast.js +343 -534
- package/dist/node_modules/langium/lib/languages/grammar-config.js +10 -8
- package/dist/node_modules/langium/lib/parser/async-parser.js +4 -76
- package/dist/node_modules/langium/lib/parser/completion-parser-builder.js +8 -6
- package/dist/node_modules/langium/lib/parser/cst-node-builder.js +56 -54
- package/dist/node_modules/langium/lib/parser/langium-parser-builder.js +9 -7
- package/dist/node_modules/langium/lib/parser/langium-parser.js +190 -188
- package/dist/node_modules/langium/lib/parser/lexer.js +25 -25
- package/dist/node_modules/langium/lib/parser/parser-builder-base.js +204 -203
- package/dist/node_modules/langium/lib/parser/token-builder.js +32 -30
- package/dist/node_modules/langium/lib/parser/value-converter.js +17 -15
- package/dist/node_modules/langium/lib/references/linker.js +104 -103
- package/dist/node_modules/langium/lib/references/name-provider.js +9 -7
- package/dist/node_modules/langium/lib/references/references.js +53 -51
- package/dist/node_modules/langium/lib/references/scope-computation.js +14 -12
- package/dist/node_modules/langium/lib/references/scope-provider.js +13 -11
- package/dist/node_modules/langium/lib/references/scope.js +27 -56
- package/dist/node_modules/langium/lib/serializer/hydrator.js +71 -69
- package/dist/node_modules/langium/lib/serializer/json-serializer.js +23 -21
- package/dist/node_modules/langium/lib/service-registry.js +7 -5
- package/dist/node_modules/langium/lib/syntax-tree.js +33 -31
- package/dist/node_modules/langium/lib/utils/ast-utils.js +77 -112
- package/dist/node_modules/langium/lib/utils/caching.js +33 -42
- package/dist/node_modules/langium/lib/utils/cancellation.js +7 -5
- package/dist/node_modules/langium/lib/utils/collections.js +35 -33
- package/dist/node_modules/langium/lib/utils/cst-utils.js +46 -161
- package/dist/node_modules/langium/lib/utils/disposable.js +5 -3
- package/dist/node_modules/langium/lib/utils/errors.js +8 -9
- package/dist/node_modules/langium/lib/utils/event.js +7 -5
- package/dist/node_modules/langium/lib/utils/grammar-loader.js +16 -14
- package/dist/node_modules/langium/lib/utils/grammar-utils.js +172 -249
- package/dist/node_modules/langium/lib/utils/promise-utils.js +18 -19
- package/dist/node_modules/langium/lib/utils/regexp-utils.js +53 -76
- package/dist/node_modules/langium/lib/utils/stream.js +155 -153
- package/dist/node_modules/langium/lib/utils/uri-utils.js +14 -12
- package/dist/node_modules/langium/lib/validation/document-validator.js +104 -103
- package/dist/node_modules/langium/lib/validation/validation-registry.js +15 -14
- package/dist/node_modules/langium/lib/workspace/ast-descriptions.js +19 -17
- package/dist/node_modules/langium/lib/workspace/ast-node-locator.js +4 -2
- package/dist/node_modules/langium/lib/workspace/configuration.js +7 -5
- package/dist/node_modules/langium/lib/workspace/document-builder.js +131 -134
- package/dist/node_modules/langium/lib/workspace/documents.js +85 -83
- package/dist/node_modules/langium/lib/workspace/file-system-provider.js +5 -4
- package/dist/node_modules/langium/lib/workspace/index-manager.js +16 -14
- package/dist/node_modules/langium/lib/workspace/workspace-lock.js +11 -9
- package/dist/node_modules/langium/lib/workspace/workspace-manager.js +35 -33
- package/dist/node_modules/layout-base/layout-base.js +6 -4
- package/dist/node_modules/lodash-es/_DataView.js +6 -4
- package/dist/node_modules/lodash-es/_Hash.js +14 -13
- package/dist/node_modules/lodash-es/_ListCache.js +14 -13
- package/dist/node_modules/lodash-es/_Map.js +6 -4
- package/dist/node_modules/lodash-es/_MapCache.js +14 -13
- package/dist/node_modules/lodash-es/_Promise.js +6 -4
- package/dist/node_modules/lodash-es/_Set.js +6 -4
- package/dist/node_modules/lodash-es/_SetCache.js +10 -9
- package/dist/node_modules/lodash-es/_Stack.js +12 -11
- package/dist/node_modules/lodash-es/_Symbol.js +5 -3
- package/dist/node_modules/lodash-es/_Uint8Array.js +5 -3
- package/dist/node_modules/lodash-es/_WeakMap.js +6 -4
- package/dist/node_modules/lodash-es/_apply.js +4 -3
- package/dist/node_modules/lodash-es/_arrayEach.js +4 -3
- package/dist/node_modules/lodash-es/_arrayFilter.js +4 -3
- package/dist/node_modules/lodash-es/_arrayIncludes.js +6 -5
- package/dist/node_modules/lodash-es/_arrayIncludesWith.js +4 -3
- package/dist/node_modules/lodash-es/_arrayLikeKeys.js +13 -12
- package/dist/node_modules/lodash-es/_arrayMap.js +4 -3
- package/dist/node_modules/lodash-es/_arrayPush.js +4 -3
- package/dist/node_modules/lodash-es/_arrayReduce.js +4 -3
- package/dist/node_modules/lodash-es/_arraySome.js +4 -3
- package/dist/node_modules/lodash-es/_asciiSize.js +5 -3
- package/dist/node_modules/lodash-es/_assignMergeValue.js +7 -6
- package/dist/node_modules/lodash-es/_assignValue.js +8 -7
- package/dist/node_modules/lodash-es/_assocIndexOf.js +6 -5
- package/dist/node_modules/lodash-es/_baseAssign.js +7 -6
- package/dist/node_modules/lodash-es/_baseAssignIn.js +7 -6
- package/dist/node_modules/lodash-es/_baseAssignValue.js +6 -5
- package/dist/node_modules/lodash-es/_baseClone.js +51 -50
- package/dist/node_modules/lodash-es/_baseCreate.js +7 -5
- package/dist/node_modules/lodash-es/_baseEach.js +6 -4
- package/dist/node_modules/lodash-es/_baseExtremum.js +6 -5
- package/dist/node_modules/lodash-es/_baseFilter.js +6 -5
- package/dist/node_modules/lodash-es/_baseFindIndex.js +4 -3
- package/dist/node_modules/lodash-es/_baseFlatten.js +8 -7
- package/dist/node_modules/lodash-es/_baseFor.js +5 -3
- package/dist/node_modules/lodash-es/_baseForOwn.js +7 -6
- package/dist/node_modules/lodash-es/_baseGet.js +8 -7
- package/dist/node_modules/lodash-es/_baseGetAllKeys.js +7 -6
- package/dist/node_modules/lodash-es/_baseGetTag.js +9 -8
- package/dist/node_modules/lodash-es/_baseGt.js +4 -3
- package/dist/node_modules/lodash-es/_baseHas.js +6 -5
- package/dist/node_modules/lodash-es/_baseHasIn.js +4 -3
- package/dist/node_modules/lodash-es/_baseIndexOf.js +8 -7
- package/dist/node_modules/lodash-es/_baseIsArguments.js +8 -7
- package/dist/node_modules/lodash-es/_baseIsEqual.js +7 -6
- package/dist/node_modules/lodash-es/_baseIsEqualDeep.js +23 -22
- package/dist/node_modules/lodash-es/_baseIsMap.js +8 -7
- package/dist/node_modules/lodash-es/_baseIsMatch.js +9 -8
- package/dist/node_modules/lodash-es/_baseIsNaN.js +4 -3
- package/dist/node_modules/lodash-es/_baseIsNative.js +10 -9
- package/dist/node_modules/lodash-es/_baseIsSet.js +8 -7
- package/dist/node_modules/lodash-es/_baseIsTypedArray.js +10 -9
- package/dist/node_modules/lodash-es/_baseIteratee.js +10 -9
- package/dist/node_modules/lodash-es/_baseKeys.js +9 -8
- package/dist/node_modules/lodash-es/_baseKeysIn.js +11 -10
- package/dist/node_modules/lodash-es/_baseLt.js +4 -3
- package/dist/node_modules/lodash-es/_baseMap.js +8 -7
- package/dist/node_modules/lodash-es/_baseMatches.js +10 -9
- package/dist/node_modules/lodash-es/_baseMatchesProperty.js +15 -14
- package/dist/node_modules/lodash-es/_baseMerge.js +16 -15
- package/dist/node_modules/lodash-es/_baseMergeDeep.js +24 -23
- package/dist/node_modules/lodash-es/_baseOrderBy.js +23 -22
- package/dist/node_modules/lodash-es/_basePick.js +8 -7
- package/dist/node_modules/lodash-es/_basePickBy.js +9 -8
- package/dist/node_modules/lodash-es/_baseProperty.js +4 -3
- package/dist/node_modules/lodash-es/_basePropertyDeep.js +6 -5
- package/dist/node_modules/lodash-es/_baseRange.js +6 -5
- package/dist/node_modules/lodash-es/_baseReduce.js +4 -3
- package/dist/node_modules/lodash-es/_baseRest.js +8 -7
- package/dist/node_modules/lodash-es/_baseSet.js +14 -13
- package/dist/node_modules/lodash-es/_baseSetToString.js +10 -8
- package/dist/node_modules/lodash-es/_baseSortBy.js +4 -3
- package/dist/node_modules/lodash-es/_baseTimes.js +4 -3
- package/dist/node_modules/lodash-es/_baseToString.js +13 -12
- package/dist/node_modules/lodash-es/_baseTrim.js +7 -6
- package/dist/node_modules/lodash-es/_baseUnary.js +4 -3
- package/dist/node_modules/lodash-es/_baseUniq.js +17 -16
- package/dist/node_modules/lodash-es/_baseValues.js +6 -5
- package/dist/node_modules/lodash-es/_baseZipObject.js +4 -3
- package/dist/node_modules/lodash-es/_cacheHas.js +4 -3
- package/dist/node_modules/lodash-es/_castFunction.js +6 -5
- package/dist/node_modules/lodash-es/_castPath.js +9 -8
- package/dist/node_modules/lodash-es/_cloneArrayBuffer.js +6 -5
- package/dist/node_modules/lodash-es/_cloneBuffer.js +9 -8
- package/dist/node_modules/lodash-es/_cloneDataView.js +6 -5
- package/dist/node_modules/lodash-es/_cloneRegExp.js +6 -5
- package/dist/node_modules/lodash-es/_cloneSymbol.js +7 -6
- package/dist/node_modules/lodash-es/_cloneTypedArray.js +6 -5
- package/dist/node_modules/lodash-es/_compareAscending.js +6 -5
- package/dist/node_modules/lodash-es/_compareMultiple.js +6 -5
- package/dist/node_modules/lodash-es/_copyArray.js +4 -3
- package/dist/node_modules/lodash-es/_copyObject.js +7 -6
- package/dist/node_modules/lodash-es/_copySymbols.js +7 -6
- package/dist/node_modules/lodash-es/_copySymbolsIn.js +7 -6
- package/dist/node_modules/lodash-es/_coreJsData.js +5 -3
- package/dist/node_modules/lodash-es/_createAssigner.js +8 -7
- package/dist/node_modules/lodash-es/_createBaseEach.js +6 -5
- package/dist/node_modules/lodash-es/_createBaseFor.js +4 -3
- package/dist/node_modules/lodash-es/_createFind.js +10 -9
- package/dist/node_modules/lodash-es/_createRange.js +8 -7
- package/dist/node_modules/lodash-es/_createSet.js +9 -7
- package/dist/node_modules/lodash-es/_defineProperty.js +6 -4
- package/dist/node_modules/lodash-es/_equalArrays.js +12 -11
- package/dist/node_modules/lodash-es/_equalByTag.js +29 -28
- package/dist/node_modules/lodash-es/_equalObjects.js +9 -8
- package/dist/node_modules/lodash-es/_flatRest.js +8 -7
- package/dist/node_modules/lodash-es/_freeGlobal.js +4 -2
- package/dist/node_modules/lodash-es/_getAllKeys.js +8 -7
- package/dist/node_modules/lodash-es/_getAllKeysIn.js +8 -7
- package/dist/node_modules/lodash-es/_getMapData.js +6 -5
- package/dist/node_modules/lodash-es/_getMatchData.js +8 -7
- package/dist/node_modules/lodash-es/_getNative.js +8 -7
- package/dist/node_modules/lodash-es/_getPrototype.js +5 -3
- package/dist/node_modules/lodash-es/_getRawTag.js +10 -9
- package/dist/node_modules/lodash-es/_getSymbols.js +9 -7
- package/dist/node_modules/lodash-es/_getSymbolsIn.js +10 -8
- package/dist/node_modules/lodash-es/_getTag.js +21 -19
- package/dist/node_modules/lodash-es/_getValue.js +4 -3
- package/dist/node_modules/lodash-es/_hasPath.js +13 -12
- package/dist/node_modules/lodash-es/_hasUnicode.js +6 -5
- package/dist/node_modules/lodash-es/_hashClear.js +6 -5
- package/dist/node_modules/lodash-es/_hashDelete.js +5 -4
- package/dist/node_modules/lodash-es/_hashGet.js +9 -8
- package/dist/node_modules/lodash-es/_hashHas.js +7 -6
- package/dist/node_modules/lodash-es/_hashSet.js +7 -6
- package/dist/node_modules/lodash-es/_initCloneArray.js +6 -5
- package/dist/node_modules/lodash-es/_initCloneByTag.js +29 -28
- package/dist/node_modules/lodash-es/_initCloneObject.js +8 -7
- package/dist/node_modules/lodash-es/_isFlattenable.js +9 -8
- package/dist/node_modules/lodash-es/_isIndex.js +6 -5
- package/dist/node_modules/lodash-es/_isIterateeCall.js +10 -9
- package/dist/node_modules/lodash-es/_isKey.js +9 -8
- package/dist/node_modules/lodash-es/_isKeyable.js +4 -3
- package/dist/node_modules/lodash-es/_isMasked.js +9 -8
- package/dist/node_modules/lodash-es/_isPrototype.js +6 -5
- package/dist/node_modules/lodash-es/_isStrictComparable.js +6 -5
- package/dist/node_modules/lodash-es/_listCacheClear.js +4 -3
- package/dist/node_modules/lodash-es/_listCacheDelete.js +8 -7
- package/dist/node_modules/lodash-es/_listCacheGet.js +6 -5
- package/dist/node_modules/lodash-es/_listCacheHas.js +6 -5
- package/dist/node_modules/lodash-es/_listCacheSet.js +6 -5
- package/dist/node_modules/lodash-es/_mapCacheClear.js +10 -9
- package/dist/node_modules/lodash-es/_mapCacheDelete.js +7 -6
- package/dist/node_modules/lodash-es/_mapCacheGet.js +6 -5
- package/dist/node_modules/lodash-es/_mapCacheHas.js +6 -5
- package/dist/node_modules/lodash-es/_mapCacheSet.js +6 -5
- package/dist/node_modules/lodash-es/_mapToArray.js +4 -3
- package/dist/node_modules/lodash-es/_matchesStrictComparable.js +4 -3
- package/dist/node_modules/lodash-es/_memoizeCapped.js +8 -7
- package/dist/node_modules/lodash-es/_nativeCreate.js +5 -3
- package/dist/node_modules/lodash-es/_nativeKeys.js +5 -3
- package/dist/node_modules/lodash-es/_nativeKeysIn.js +4 -3
- package/dist/node_modules/lodash-es/_nodeUtil.js +6 -4
- package/dist/node_modules/lodash-es/_objectToString.js +6 -5
- package/dist/node_modules/lodash-es/_overArg.js +4 -3
- package/dist/node_modules/lodash-es/_overRest.js +9 -8
- package/dist/node_modules/lodash-es/_root.js +5 -3
- package/dist/node_modules/lodash-es/_safeGet.js +4 -3
- package/dist/node_modules/lodash-es/_setCacheAdd.js +6 -5
- package/dist/node_modules/lodash-es/_setCacheHas.js +4 -3
- package/dist/node_modules/lodash-es/_setToArray.js +4 -3
- package/dist/node_modules/lodash-es/_setToString.js +6 -4
- package/dist/node_modules/lodash-es/_shortOut.js +7 -6
- package/dist/node_modules/lodash-es/_stackClear.js +6 -5
- package/dist/node_modules/lodash-es/_stackDelete.js +4 -3
- package/dist/node_modules/lodash-es/_stackGet.js +4 -3
- package/dist/node_modules/lodash-es/_stackHas.js +4 -3
- package/dist/node_modules/lodash-es/_stackSet.js +11 -10
- package/dist/node_modules/lodash-es/_strictIndexOf.js +4 -3
- package/dist/node_modules/lodash-es/_stringSize.js +8 -7
- package/dist/node_modules/lodash-es/_stringToPath.js +7 -5
- package/dist/node_modules/lodash-es/_toKey.js +8 -7
- package/dist/node_modules/lodash-es/_toSource.js +8 -7
- package/dist/node_modules/lodash-es/_trimmedEndIndex.js +6 -5
- package/dist/node_modules/lodash-es/_unicodeSize.js +17 -16
- package/dist/node_modules/lodash-es/clone.js +7 -6
- package/dist/node_modules/lodash-es/cloneDeep.js +7 -6
- package/dist/node_modules/lodash-es/constant.js +4 -3
- package/dist/node_modules/lodash-es/defaults.js +13 -11
- package/dist/node_modules/lodash-es/eq.js +4 -3
- package/dist/node_modules/lodash-es/filter.js +9 -8
- package/dist/node_modules/lodash-es/find.js +6 -4
- package/dist/node_modules/lodash-es/findIndex.js +10 -9
- package/dist/node_modules/lodash-es/flatMap.js +7 -6
- package/dist/node_modules/lodash-es/flatten.js +6 -5
- package/dist/node_modules/lodash-es/forEach.js +9 -8
- package/dist/node_modules/lodash-es/forIn.js +8 -7
- package/dist/node_modules/lodash-es/forOwn.js +7 -6
- package/dist/node_modules/lodash-es/get.js +6 -5
- package/dist/node_modules/lodash-es/has.js +7 -6
- package/dist/node_modules/lodash-es/hasIn.js +7 -6
- package/dist/node_modules/lodash-es/identity.js +4 -3
- package/dist/node_modules/lodash-es/isArguments.js +8 -6
- package/dist/node_modules/lodash-es/isArray.js +4 -2
- package/dist/node_modules/lodash-es/isArrayLike.js +7 -6
- package/dist/node_modules/lodash-es/isArrayLikeObject.js +7 -6
- package/dist/node_modules/lodash-es/isBuffer.js +6 -4
- package/dist/node_modules/lodash-es/isEmpty.js +18 -17
- package/dist/node_modules/lodash-es/isFunction.js +10 -9
- package/dist/node_modules/lodash-es/isLength.js +6 -5
- package/dist/node_modules/lodash-es/isMap.js +7 -5
- package/dist/node_modules/lodash-es/isObject.js +4 -3
- package/dist/node_modules/lodash-es/isObjectLike.js +4 -3
- package/dist/node_modules/lodash-es/isPlainObject.js +13 -12
- package/dist/node_modules/lodash-es/isSet.js +7 -5
- package/dist/node_modules/lodash-es/isString.js +9 -8
- package/dist/node_modules/lodash-es/isSymbol.js +8 -7
- package/dist/node_modules/lodash-es/isTypedArray.js +7 -5
- package/dist/node_modules/lodash-es/isUndefined.js +4 -3
- package/dist/node_modules/lodash-es/keys.js +8 -7
- package/dist/node_modules/lodash-es/keysIn.js +8 -7
- package/dist/node_modules/lodash-es/last.js +4 -3
- package/dist/node_modules/lodash-es/map.js +9 -8
- package/dist/node_modules/lodash-es/mapValues.js +9 -8
- package/dist/node_modules/lodash-es/max.js +8 -7
- package/dist/node_modules/lodash-es/memoize.js +9 -8
- package/dist/node_modules/lodash-es/merge.js +7 -5
- package/dist/node_modules/lodash-es/min.js +8 -7
- package/dist/node_modules/lodash-es/minBy.js +8 -7
- package/dist/node_modules/lodash-es/noop.js +4 -3
- package/dist/node_modules/lodash-es/now.js +6 -4
- package/dist/node_modules/lodash-es/pick.js +7 -5
- package/dist/node_modules/lodash-es/property.js +9 -8
- package/dist/node_modules/lodash-es/range.js +5 -3
- package/dist/node_modules/lodash-es/reduce.js +11 -10
- package/dist/node_modules/lodash-es/size.js +13 -12
- package/dist/node_modules/lodash-es/sortBy.js +9 -7
- package/dist/node_modules/lodash-es/stubArray.js +4 -3
- package/dist/node_modules/lodash-es/stubFalse.js +4 -3
- package/dist/node_modules/lodash-es/toFinite.js +7 -6
- package/dist/node_modules/lodash-es/toInteger.js +6 -5
- package/dist/node_modules/lodash-es/toNumber.js +14 -13
- package/dist/node_modules/lodash-es/toPlainObject.js +7 -6
- package/dist/node_modules/lodash-es/toString.js +6 -5
- package/dist/node_modules/lodash-es/union.js +9 -7
- package/dist/node_modules/lodash-es/uniqBy.js +7 -6
- package/dist/node_modules/lodash-es/uniqueId.js +8 -7
- package/dist/node_modules/lodash-es/values.js +7 -6
- package/dist/node_modules/lodash-es/zipObject.js +7 -6
- package/dist/node_modules/longest-streak/index.js +4 -2
- package/dist/node_modules/markdown-table/index.js +11 -9
- package/dist/node_modules/marked/lib/marked.esm.js +687 -685
- package/dist/node_modules/mdast-util-find-and-replace/lib/index.js +14 -12
- package/dist/node_modules/mdast-util-find-and-replace/node_modules/escape-string-regexp/index.js +4 -2
- package/dist/node_modules/mdast-util-from-markdown/lib/index.js +182 -180
- package/dist/node_modules/mdast-util-gfm/lib/index.js +20 -18
- package/dist/node_modules/mdast-util-gfm-autolink-literal/lib/index.js +69 -67
- package/dist/node_modules/mdast-util-gfm-footnote/lib/index.js +47 -45
- package/dist/node_modules/mdast-util-gfm-strikethrough/lib/index.js +15 -13
- package/dist/node_modules/mdast-util-gfm-table/lib/index.js +30 -28
- package/dist/node_modules/mdast-util-gfm-task-list-item/lib/index.js +16 -14
- package/dist/node_modules/mdast-util-math/lib/index.js +15 -13
- package/dist/node_modules/mdast-util-phrasing/lib/index.js +5 -3
- package/dist/node_modules/mdast-util-to-hast/lib/footer.js +11 -9
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/blockquote.js +4 -2
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/break.js +4 -2
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/code.js +4 -2
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/delete.js +4 -2
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/emphasis.js +4 -2
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/footnote-reference.js +6 -4
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/heading.js +4 -2
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/html.js +4 -2
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/image-reference.js +8 -6
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/image.js +6 -4
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/index.js +55 -53
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/inline-code.js +4 -2
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/link-reference.js +8 -6
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/link.js +6 -4
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/list-item.js +15 -13
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/list.js +4 -2
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/paragraph.js +4 -2
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/root.js +4 -2
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/strong.js +4 -2
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/table-cell.js +4 -2
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/table-row.js +4 -2
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/table.js +6 -4
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/text.js +6 -4
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/thematic-break.js +4 -2
- package/dist/node_modules/mdast-util-to-hast/lib/index.js +8 -6
- package/dist/node_modules/mdast-util-to-hast/lib/revert.js +4 -2
- package/dist/node_modules/mdast-util-to-hast/lib/state.js +61 -59
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/blockquote.js +6 -4
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/break.js +6 -4
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/code.js +18 -16
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/definition.js +6 -4
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/emphasis.js +14 -12
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/heading.js +8 -6
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/html.js +6 -4
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/image-reference.js +6 -4
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/image.js +8 -6
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/index.js +43 -41
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/inline-code.js +7 -5
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/link-reference.js +6 -4
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/link.js +11 -9
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/list-item.js +7 -5
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/list.js +12 -10
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/paragraph.js +4 -2
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/root.js +6 -4
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/strong.js +14 -12
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/text.js +4 -2
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/thematic-break.js +7 -5
- package/dist/node_modules/mdast-util-to-markdown/lib/util/check-bullet-ordered.js +4 -2
- package/dist/node_modules/mdast-util-to-markdown/lib/util/check-bullet-other.js +6 -4
- package/dist/node_modules/mdast-util-to-markdown/lib/util/check-bullet.js +4 -2
- package/dist/node_modules/mdast-util-to-markdown/lib/util/check-emphasis.js +4 -2
- package/dist/node_modules/mdast-util-to-markdown/lib/util/check-fence.js +4 -2
- package/dist/node_modules/mdast-util-to-markdown/lib/util/check-list-item-indent.js +4 -2
- package/dist/node_modules/mdast-util-to-markdown/lib/util/check-quote.js +4 -2
- package/dist/node_modules/mdast-util-to-markdown/lib/util/check-rule-repetition.js +4 -2
- package/dist/node_modules/mdast-util-to-markdown/lib/util/check-rule.js +4 -2
- package/dist/node_modules/mdast-util-to-markdown/lib/util/check-strong.js +4 -2
- package/dist/node_modules/mdast-util-to-markdown/lib/util/encode-character-reference.js +4 -2
- package/dist/node_modules/mdast-util-to-markdown/lib/util/encode-info.js +6 -4
- package/dist/node_modules/mdast-util-to-markdown/lib/util/format-code-as-indented.js +4 -2
- package/dist/node_modules/mdast-util-to-markdown/lib/util/format-heading-as-setext.js +8 -7
- package/dist/node_modules/mdast-util-to-markdown/lib/util/format-link-as-autolink.js +6 -4
- package/dist/node_modules/mdast-util-to-markdown/lib/util/pattern-in-scope.js +6 -4
- package/dist/node_modules/mdast-util-to-string/lib/index.js +14 -12
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/architectureDiagram-Q4EWVU46.js +695 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/blockDiagram-DXYQGD6D.js +3038 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/{c4Diagram-YG6GDRKO.js → c4Diagram-AHTNJAMY.js} +581 -573
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-336JU56O.js +49 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-426QAEUC.js +11 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-4BX2VUAB.js +6 -4
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/{chunk-B4BG7PRW.js → chunk-4TB4RGXK.js} +590 -444
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-55IACEB6.js +7 -5
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-5FUZZQ4R.js +3640 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-5PVQY5BW.js +342 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-AGHRB4JF.js +22 -20
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-BSJP7CBP.js +82 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-EDXVE4YY.js +25 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-ENJZ2VHE.js +570 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-FMBD7UC4.js +5 -3
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-ICPOFSXX.js +2348 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-OYMX7WX6.js +2014 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-QZHKN3VN.js +8 -4
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-U2HBQHQK.js +274 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-X2U36JSP.js +67 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-XPW4576I.js +1146 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-YZCP3GAM.js +62 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-ZZ45TVLE.js +32 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/classDiagram-6PBFFD2Q.js +29 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/classDiagram-v2-HSJHXN6E.js +29 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/cose-bilkent-S5V4N54A.js +116 -114
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/dagre-KV5264BT.js +265 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/diagram-5BDNPKRD.js +101 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/diagram-G4DWMVQ6.js +284 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/diagram-MMDJMWI5.js +213 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/diagram-TYMM5635.js +133 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/{erDiagram-Q2GNP2WA.js → erDiagram-SMLLAGMA.js} +549 -445
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/{flowDiagram-NV44I4VS.js → flowDiagram-DWJPFMVM.js} +1366 -1345
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/ganttDiagram-T4ZO3ILL.js +1720 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/gitGraphDiagram-UUTBAWPF.js +730 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/infoDiagram-42DDH7IO.js +19 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/ishikawaDiagram-UXIWVN3A.js +718 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/journeyDiagram-VCZTEJTY.js +885 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/{kanban-definition-3W4ZIXB7.js → kanban-definition-6JOO6SKY.js} +124 -118
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/{mindmap-definition-VGOIOE7T.js → mindmap-definition-QFDTVHPH.js} +172 -122
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/pieDiagram-DEJITSTG.js +119 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/{quadrantDiagram-AYHSOK5B.js → quadrantDiagram-34T5L4WZ.js} +279 -273
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/{requirementDiagram-UZGBJVZJ.js → requirementDiagram-MS252O5E.js} +100 -66
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/sankeyDiagram-XADWPNL6.js +529 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/sequenceDiagram-FGHM5R23.js +4159 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/stateDiagram-FHFEXIEX.js +222 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/stateDiagram-v2-QKLJ7IA2.js +27 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/timeline-definition-GMOUNBTQ.js +1073 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/vennDiagram-DHZGUBPP.js +961 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/wardleyDiagram-NUSXRM2D.js +578 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/xychartDiagram-5P7HB3ND.js +2000 -0
- package/dist/node_modules/mermaid/dist/mermaid.core.js +492 -445
- package/dist/node_modules/micromark/lib/constructs.js +80 -79
- package/dist/node_modules/micromark/lib/create-tokenizer.js +14 -12
- package/dist/node_modules/micromark/lib/initialize/content.js +9 -7
- package/dist/node_modules/micromark/lib/initialize/document.js +15 -14
- package/dist/node_modules/micromark/lib/initialize/flow.js +9 -7
- package/dist/node_modules/micromark/lib/initialize/text.js +8 -6
- package/dist/node_modules/micromark/lib/parse.js +20 -18
- package/dist/node_modules/micromark/lib/postprocess.js +6 -4
- package/dist/node_modules/micromark/lib/preprocess.js +6 -4
- package/dist/node_modules/micromark-core-commonmark/lib/attention.js +20 -18
- package/dist/node_modules/micromark-core-commonmark/lib/autolink.js +17 -15
- package/dist/node_modules/micromark-core-commonmark/lib/blank-line.js +11 -9
- package/dist/node_modules/micromark-core-commonmark/lib/block-quote.js +15 -13
- package/dist/node_modules/micromark-core-commonmark/lib/character-escape.js +8 -6
- package/dist/node_modules/micromark-core-commonmark/lib/character-reference.js +16 -14
- package/dist/node_modules/micromark-core-commonmark/lib/code-fenced.js +22 -21
- package/dist/node_modules/micromark-core-commonmark/lib/code-indented.js +16 -15
- package/dist/node_modules/micromark-core-commonmark/lib/code-text.js +13 -11
- package/dist/node_modules/micromark-core-commonmark/lib/content.js +18 -17
- package/dist/node_modules/micromark-core-commonmark/lib/definition.js +30 -29
- package/dist/node_modules/micromark-core-commonmark/lib/hard-break-escape.js +8 -6
- package/dist/node_modules/micromark-core-commonmark/lib/heading-atx.js +15 -13
- package/dist/node_modules/micromark-core-commonmark/lib/html-flow.js +68 -67
- package/dist/node_modules/micromark-core-commonmark/lib/html-text.js +66 -64
- package/dist/node_modules/micromark-core-commonmark/lib/label-end.js +112 -111
- package/dist/node_modules/micromark-core-commonmark/lib/label-start-image.js +8 -6
- package/dist/node_modules/micromark-core-commonmark/lib/label-start-link.js +8 -6
- package/dist/node_modules/micromark-core-commonmark/lib/line-ending.js +8 -6
- package/dist/node_modules/micromark-core-commonmark/lib/list.js +32 -31
- package/dist/node_modules/micromark-core-commonmark/lib/setext-underline.js +12 -10
- package/dist/node_modules/micromark-core-commonmark/lib/thematic-break.js +11 -9
- package/dist/node_modules/micromark-extension-gfm/index.js +16 -14
- package/dist/node_modules/micromark-extension-gfm-autolink-literal/lib/syntax.js +122 -120
- package/dist/node_modules/micromark-extension-gfm-footnote/lib/syntax.js +33 -31
- package/dist/node_modules/micromark-extension-gfm-strikethrough/lib/syntax.js +11 -9
- package/dist/node_modules/micromark-extension-gfm-table/lib/edit-map.js +6 -4
- package/dist/node_modules/micromark-extension-gfm-table/lib/infer.js +4 -2
- package/dist/node_modules/micromark-extension-gfm-table/lib/syntax.js +36 -34
- package/dist/node_modules/micromark-extension-gfm-task-list-item/lib/syntax.js +20 -18
- package/dist/node_modules/micromark-extension-math/lib/math-flow.js +21 -20
- package/dist/node_modules/micromark-extension-math/lib/math-text.js +11 -9
- package/dist/node_modules/micromark-extension-math/lib/syntax.js +8 -6
- package/dist/node_modules/micromark-factory-destination/index.js +10 -8
- package/dist/node_modules/micromark-factory-label/index.js +7 -5
- package/dist/node_modules/micromark-factory-space/index.js +7 -5
- package/dist/node_modules/micromark-factory-title/index.js +8 -6
- package/dist/node_modules/micromark-factory-whitespace/index.js +7 -5
- package/dist/node_modules/micromark-util-character/index.js +14 -12
- package/dist/node_modules/micromark-util-chunked/index.js +6 -4
- package/dist/node_modules/micromark-util-classify-character/index.js +7 -5
- package/dist/node_modules/micromark-util-combine-extensions/index.js +13 -11
- package/dist/node_modules/micromark-util-decode-numeric-character-reference/index.js +4 -2
- package/dist/node_modules/micromark-util-decode-string/index.js +11 -9
- package/dist/node_modules/micromark-util-html-tag-name/index.js +4 -2
- package/dist/node_modules/micromark-util-normalize-identifier/index.js +4 -2
- package/dist/node_modules/micromark-util-resolve-all/index.js +4 -2
- package/dist/node_modules/micromark-util-sanitize-uri/index.js +6 -4
- package/dist/node_modules/micromark-util-subtokenize/index.js +10 -8
- package/dist/node_modules/micromark-util-subtokenize/lib/splice-buffer.js +10 -8
- package/dist/node_modules/motion/dist/es/react.js +2 -2
- package/dist/node_modules/nanoid/index.browser.js +6 -4
- package/dist/node_modules/nanoid/url-alphabet/index.js +4 -2
- package/dist/node_modules/property-information/index.js +25 -23
- package/dist/node_modules/property-information/lib/aria.js +41 -39
- package/dist/node_modules/property-information/lib/find.js +18 -16
- package/dist/node_modules/property-information/lib/hast-to-react.js +4 -2
- package/dist/node_modules/property-information/lib/html.js +96 -94
- package/dist/node_modules/property-information/lib/normalize.js +4 -2
- package/dist/node_modules/property-information/lib/svg.js +79 -77
- package/dist/node_modules/property-information/lib/util/case-insensitive-transform.js +6 -4
- package/dist/node_modules/property-information/lib/util/case-sensitive-transform.js +4 -2
- package/dist/node_modules/property-information/lib/util/create.js +10 -8
- package/dist/node_modules/property-information/lib/util/defined-info.js +13 -11
- package/dist/node_modules/property-information/lib/util/info.js +5 -3
- package/dist/node_modules/property-information/lib/util/merge.js +6 -4
- package/dist/node_modules/property-information/lib/util/schema.js +5 -3
- package/dist/node_modules/property-information/lib/util/types.js +15 -14
- package/dist/node_modules/property-information/lib/xlink.js +5 -3
- package/dist/node_modules/property-information/lib/xml.js +5 -3
- package/dist/node_modules/property-information/lib/xmlns.js +7 -5
- package/dist/node_modules/rehype-harden/dist/index.js +47 -45
- package/dist/node_modules/rehype-katex/lib/index.js +25 -23
- package/dist/node_modules/rehype-raw/lib/index.js +6 -4
- package/dist/node_modules/rehype-sanitize/lib/index.js +6 -4
- package/dist/node_modules/remark-gfm/lib/index.js +9 -7
- package/dist/node_modules/remark-math/lib/index.js +9 -7
- package/dist/node_modules/remark-parse/lib/index.js +6 -4
- package/dist/node_modules/remark-rehype/lib/index.js +7 -5
- package/dist/node_modules/remend/dist/index.js +368 -297
- package/dist/node_modules/roughjs/bundled/rough.esm.js +877 -875
- package/dist/node_modules/shiki/dist/bundle-full.js +13 -11
- package/dist/node_modules/shiki/dist/chunk-CtajNgzt.js +17 -0
- package/dist/node_modules/shiki/dist/engine-oniguruma.js +7 -0
- package/dist/node_modules/shiki/dist/{langs.js → langs-bundle-full-DfKZStlK.js} +8 -6
- package/dist/node_modules/shiki/dist/themes.js +6 -4
- package/dist/node_modules/shiki/dist/wasm.js +2 -2
- package/dist/node_modules/space-separated-tokens/index.js +5 -3
- package/dist/node_modules/streamdown/dist/chunk-BO2N2NFS.js +2500 -0
- package/dist/node_modules/streamdown/dist/highlighted-body-OFNGDK62.js +37 -0
- package/dist/node_modules/streamdown/dist/index.js +1 -1
- package/dist/node_modules/streamdown/dist/mermaid-GHXKKRXX.js +3 -0
- package/dist/node_modules/streamdown/node_modules/marked/lib/marked.esm.js +701 -699
- package/dist/node_modules/stringify-entities/lib/constant/dangerous.js +4 -2
- package/dist/node_modules/stringify-entities/lib/core.js +18 -16
- package/dist/node_modules/stringify-entities/lib/index.js +7 -5
- package/dist/node_modules/stringify-entities/lib/util/format-smart.js +10 -8
- package/dist/node_modules/stringify-entities/lib/util/to-decimal.js +6 -4
- package/dist/node_modules/stringify-entities/lib/util/to-hexadecimal.js +6 -4
- package/dist/node_modules/stringify-entities/lib/util/to-named.js +14 -12
- package/dist/node_modules/style-to-js/cjs/index.js +9 -7
- package/dist/node_modules/style-to-js/cjs/utilities.js +6 -4
- package/dist/node_modules/style-to-object/cjs/index.js +8 -6
- package/dist/node_modules/stylis/src/Enum.js +4 -2
- package/dist/node_modules/stylis/src/Parser.js +38 -36
- package/dist/node_modules/stylis/src/Serializer.js +17 -15
- package/dist/node_modules/stylis/src/Tokenizer.js +53 -51
- package/dist/node_modules/stylis/src/Utility.js +17 -15
- package/dist/node_modules/trim-lines/index.js +10 -8
- package/dist/node_modules/trough/lib/index.js +6 -4
- package/dist/node_modules/ts-dedent/esm/index.js +4 -2
- package/dist/node_modules/unified/lib/callable-instance.js +4 -2
- package/dist/node_modules/unified/lib/index.js +102 -101
- package/dist/node_modules/unified/node_modules/is-plain-obj/index.js +4 -2
- package/dist/node_modules/unist-util-find-after/lib/index.js +6 -4
- package/dist/node_modules/unist-util-is/lib/index.js +31 -29
- package/dist/node_modules/unist-util-position/lib/index.js +7 -5
- package/dist/node_modules/unist-util-stringify-position/lib/index.js +10 -8
- package/dist/node_modules/unist-util-visit/lib/index.js +6 -4
- package/dist/node_modules/unist-util-visit-parents/lib/color.js +4 -2
- package/dist/node_modules/unist-util-visit-parents/lib/index.js +21 -20
- package/dist/node_modules/uuid/dist/esm-browser/native.js +3 -2
- package/dist/node_modules/uuid/dist/esm-browser/rng.js +8 -6
- package/dist/node_modules/uuid/dist/esm-browser/stringify.js +7 -5
- package/dist/node_modules/uuid/dist/esm-browser/v4.js +10 -9
- package/dist/node_modules/vaul/dist/index.js +276 -274
- package/dist/node_modules/vfile/lib/index.js +44 -42
- package/dist/node_modules/vfile/lib/minpath.browser.js +22 -20
- package/dist/node_modules/vfile/lib/minproc.browser.js +5 -3
- package/dist/node_modules/vfile/lib/minurl.browser.js +8 -6
- package/dist/node_modules/vfile/lib/minurl.shared.js +4 -2
- package/dist/node_modules/vfile-location/lib/index.js +7 -5
- package/dist/node_modules/vfile-message/lib/index.js +7 -5
- package/dist/node_modules/vscode-jsonrpc/browser.js +8 -6
- package/dist/node_modules/vscode-jsonrpc/lib/browser/main.js +11 -9
- package/dist/node_modules/vscode-jsonrpc/lib/browser/ril.js +8 -6
- package/dist/node_modules/vscode-jsonrpc/lib/common/api.js +28 -26
- package/dist/node_modules/vscode-jsonrpc/lib/common/cancellation.js +17 -15
- package/dist/node_modules/vscode-jsonrpc/lib/common/connection.js +13 -11
- package/dist/node_modules/vscode-jsonrpc/lib/common/disposable.js +6 -4
- package/dist/node_modules/vscode-jsonrpc/lib/common/events.js +8 -6
- package/dist/node_modules/vscode-jsonrpc/lib/common/is.js +6 -4
- package/dist/node_modules/vscode-jsonrpc/lib/common/linkedMap.js +6 -4
- package/dist/node_modules/vscode-jsonrpc/lib/common/messageBuffer.js +6 -4
- package/dist/node_modules/vscode-jsonrpc/lib/common/messageReader.js +11 -9
- package/dist/node_modules/vscode-jsonrpc/lib/common/messageWriter.js +31 -29
- package/dist/node_modules/vscode-jsonrpc/lib/common/messages.js +8 -6
- package/dist/node_modules/vscode-jsonrpc/lib/common/ral.js +6 -4
- package/dist/node_modules/vscode-jsonrpc/lib/common/semaphore.js +8 -6
- package/dist/node_modules/vscode-jsonrpc/lib/common/sharedArrayCancellation.js +8 -6
- package/dist/node_modules/vscode-languageserver-protocol/lib/browser/main.js +10 -8
- package/dist/node_modules/vscode-languageserver-protocol/lib/common/api.js +23 -21
- package/dist/node_modules/vscode-languageserver-protocol/lib/common/connection.js +8 -6
- package/dist/node_modules/vscode-languageserver-protocol/lib/common/messages.js +8 -6
- package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.callHierarchy.js +8 -6
- package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.colorProvider.js +8 -6
- package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.configuration.js +8 -6
- package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.declaration.js +8 -6
- package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.diagnostic.js +14 -12
- package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.fileOperations.js +8 -6
- package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.foldingRange.js +8 -6
- package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.implementation.js +8 -6
- package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.inlayHint.js +8 -6
- package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.inlineCompletion.js +8 -6
- package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.inlineValue.js +8 -6
- package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.js +55 -53
- package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.linkedEditingRange.js +8 -6
- package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.moniker.js +8 -6
- package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.notebook.js +10 -8
- package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.progress.js +12 -10
- package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.selectionRange.js +8 -6
- package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.semanticTokens.js +8 -6
- package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.showDocument.js +8 -6
- package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.typeDefinition.js +8 -6
- package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.typeHierarchy.js +8 -6
- package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.workspaceFolder.js +8 -6
- package/dist/node_modules/vscode-languageserver-protocol/lib/common/utils/is.js +6 -4
- package/dist/node_modules/vscode-languageserver-textdocument/lib/esm/main.js +21 -19
- package/dist/node_modules/vscode-languageserver-types/lib/esm/main.js +849 -847
- package/dist/node_modules/vscode-uri/lib/esm/index.js +6 -4
- package/dist/node_modules/web-namespaces/index.js +4 -2
- package/dist/node_modules/zwitch/index.js +7 -5
- package/dist/packages/contracts/dist/enums/index.js +21 -20
- package/dist/packages/contracts/dist/enums/registry.enum.js +6 -4
- package/dist/packages/contracts/dist/enums/sort-order.enum.js +6 -4
- package/dist/packages/contracts/dist/enums/user-type.enum.js +6 -4
- package/dist/packages/contracts/dist/enums/workflow-state.enum.js +7 -5
- package/dist/pages/DashboardPage.js +55 -99
- package/dist/pages/DebugPage.js +12 -17
- package/dist/pages/DebugWorkflowDetailsPage.js +91 -119
- package/dist/pages/DebugWorkflowsPage.js +44 -42
- package/dist/pages/EmbedWorkbenchPage.js +49 -73
- package/dist/pages/PreviewWorkbenchPage.js +242 -448
- package/dist/pages/RunsListPage.js +44 -61
- package/dist/pages/RunsPage.js +31 -48
- package/dist/pages/StudioLandingPage.js +97 -132
- package/dist/pages/WorkbenchPage.js +56 -86
- package/dist/pages/WorkflowDebugPage.js +78 -0
- package/dist/pages/WorkspacePage.js +72 -113
- package/dist/pages/WorkspaceRunsPage.js +43 -70
- package/dist/pages/WorkspacesPage.js +24 -35
- package/dist/providers/ComponentOverridesProvider.js +9 -12
- package/dist/providers/InvalidationEventsProvider.js +33 -35
- package/dist/providers/QueryProvider.js +14 -18
- package/dist/providers/SseProvider.js +28 -30
- package/dist/providers/StudioProvider.js +14 -19
- package/dist/routing/LocalRouter.js +20 -26
- package/dist/services/createApiClient.js +7 -5
- package/dist/services/eventEmitter.js +3 -2
- package/dist/services/index.js +2 -2
- package/dist/types/ai.types.js +7 -5
- package/package.json +33 -33
- package/dist/_virtual/rolldown_runtime.js +0 -20
- package/dist/api/namespaces.js +0 -7
- package/dist/api/pipelines.js +0 -13
- package/dist/components/ai-elements/tool.js +0 -158
- package/dist/components/ui-widgets/widgets/SecretInput.js +0 -42
- package/dist/features/debug/components/PipelineDebugHeader.js +0 -48
- package/dist/features/debug/components/PipelineDebugLegend.js +0 -68
- package/dist/features/debug/components/PipelineFlowViewer.js +0 -110
- package/dist/features/debug/components/pipeline-flow/StateNode.js +0 -111
- package/dist/features/debug/components/pipeline-flow/WorkflowGraph.js +0 -41
- package/dist/features/debug/components/pipeline-flow/WorkflowTransitionEdge.js +0 -97
- package/dist/features/workbench/NavigationItems.js +0 -52
- package/dist/features/workbench/WorkbenchNavigation.js +0 -38
- package/dist/features/workbench/components/NavigationItem.js +0 -68
- package/dist/features/workbench/components/PipelineHistoryList.js +0 -56
- package/dist/features/workbench/hooks/useIntersectionObserver.js +0 -44
- package/dist/features/workspaces/components/NewPipelineRunDialog.js +0 -31
- package/dist/features/workspaces/components/PipelineForm.js +0 -152
- package/dist/features/workspaces/components/pipeline-form/ArgumentsView.js +0 -75
- package/dist/features/workspaces/components/pipeline-form/HeaderSection.js +0 -43
- package/dist/features/workspaces/components/pipeline-form/SelectionView.js +0 -105
- package/dist/hooks/useNamespaceTree.js +0 -27
- package/dist/hooks/useNamespaces.js +0 -25
- package/dist/hooks/usePipelines.js +0 -161
- package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/architecture-7HQA4BMR.js +0 -3
- package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-4F5CHEZ2.js +0 -23
- package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-B2363JML.js +0 -60
- package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-FRFDVMJY.js +0 -23
- package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-PL6DKKU2.js +0 -28
- package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-SJTYNZTY.js +0 -23
- package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-TCCFYFTB.js +0 -787
- package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-TQ3KTPDO.js +0 -23
- package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-UMXZTB3W.js +0 -30
- package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/gitGraph-G5XIXVHT.js +0 -3
- package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/info-VBDWY6EO.js +0 -3
- package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/packet-DYOGHKS2.js +0 -3
- package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/pie-VRWISCQL.js +0 -3
- package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/radar-ZZBFDIW7.js +0 -3
- package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/treemap-GDKQZRPO.js +0 -3
- package/dist/node_modules/@ungap/structured-clone/esm/types.js +0 -2
- package/dist/node_modules/chevrotain/lib/src/parse/parser/traits/context_assist.js +0 -16
- package/dist/node_modules/langium/lib/index.js +0 -182
- package/dist/node_modules/langium/lib/parser/indentation-aware.js +0 -141
- package/dist/node_modules/langium/lib/utils/index.js +0 -53
- package/dist/node_modules/langium/lib/workspace/profiler.js +0 -89
- package/dist/node_modules/lodash/_Symbol.js +0 -7
- package/dist/node_modules/lodash/_baseGetTag.js +0 -13
- package/dist/node_modules/lodash/_baseTrim.js +0 -11
- package/dist/node_modules/lodash/_freeGlobal.js +0 -6
- package/dist/node_modules/lodash/_getRawTag.js +0 -17
- package/dist/node_modules/lodash/_objectToString.js +0 -10
- package/dist/node_modules/lodash/_root.js +0 -8
- package/dist/node_modules/lodash/_trimmedEndIndex.js +0 -11
- package/dist/node_modules/lodash/isObject.js +0 -10
- package/dist/node_modules/lodash/isObjectLike.js +0 -9
- package/dist/node_modules/lodash/isSymbol.js +0 -12
- package/dist/node_modules/lodash/now.js +0 -10
- package/dist/node_modules/lodash/toNumber.js +0 -22
- package/dist/node_modules/lodash-es/_arrayAggregator.js +0 -9
- package/dist/node_modules/lodash-es/_arrayEvery.js +0 -6
- package/dist/node_modules/lodash-es/_baseAggregator.js +0 -8
- package/dist/node_modules/lodash-es/_baseDifference.js +0 -22
- package/dist/node_modules/lodash-es/_baseEvery.js +0 -9
- package/dist/node_modules/lodash-es/_baseIsRegExp.js +0 -8
- package/dist/node_modules/lodash-es/_baseSlice.js +0 -8
- package/dist/node_modules/lodash-es/_baseSome.js +0 -9
- package/dist/node_modules/lodash-es/_createAggregator.js +0 -12
- package/dist/node_modules/lodash-es/assign.js +0 -14
- package/dist/node_modules/lodash-es/compact.js +0 -9
- package/dist/node_modules/lodash-es/difference.js +0 -8
- package/dist/node_modules/lodash-es/drop.js +0 -8
- package/dist/node_modules/lodash-es/dropRight.js +0 -8
- package/dist/node_modules/lodash-es/every.js +0 -11
- package/dist/node_modules/lodash-es/groupBy.js +0 -6
- package/dist/node_modules/lodash-es/head.js +0 -5
- package/dist/node_modules/lodash-es/includes.js +0 -13
- package/dist/node_modules/lodash-es/indexOf.js +0 -11
- package/dist/node_modules/lodash-es/isRegExp.js +0 -5
- package/dist/node_modules/lodash-es/negate.js +0 -16
- package/dist/node_modules/lodash-es/pickBy.js +0 -15
- package/dist/node_modules/lodash-es/reject.js +0 -10
- package/dist/node_modules/lodash-es/some.js +0 -11
- package/dist/node_modules/lodash-es/uniq.js +0 -6
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/architectureDiagram-VXUJARFQ.js +0 -673
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/blockDiagram-VD42YOAC.js +0 -3010
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-ABZYJK2D.js +0 -1547
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-ATLVNIR6.js +0 -65
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-CVBHYZKI.js +0 -10
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-DI55MBZ5.js +0 -1994
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-DR5Q36YT.js +0 -135
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-EXTU4WIE.js +0 -9
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-HN2XXSSU.js +0 -74
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-JA3XYJ7Z.js +0 -247
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-JZLCHNYA.js +0 -3516
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-MI3HLSF2.js +0 -1140
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-N4CR4FBY.js +0 -39
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-QN33PNHL.js +0 -23
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-QXUST7PY.js +0 -497
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-S3R3BYOJ.js +0 -338
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-TZMSLE5B.js +0 -55
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/classDiagram-2ON5EDUG.js +0 -26
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/classDiagram-v2-WZHVMYZB.js +0 -26
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/dagre-6UL2VRFP.js +0 -263
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/diagram-PSM6KHXK.js +0 -283
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/diagram-QEK2KX5R.js +0 -211
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/diagram-S2PKOQOG.js +0 -129
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/ganttDiagram-JELNMOA3.js +0 -1688
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/gitGraphDiagram-V2S2FVAM.js +0 -621
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/infoDiagram-HS3SLOUP.js +0 -18
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/journeyDiagram-XKPGCS4Q.js +0 -883
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/pieDiagram-ADFJNKIX.js +0 -117
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/sankeyDiagram-TZEHDZUN.js +0 -519
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/sequenceDiagram-WL72ISMW.js +0 -3560
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/stateDiagram-FKZM4ZOC.js +0 -220
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/stateDiagram-v2-4FDKWEC3.js +0 -25
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/timeline-definition-IT6M3QCI.js +0 -833
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/xychartDiagram-PRI3JC2R.js +0 -1975
- package/dist/node_modules/streamdown/dist/chunk-RLXIAIE6.js +0 -2189
- package/dist/node_modules/streamdown/dist/highlighted-body-B3W2YXNL.js +0 -33
- package/dist/node_modules/streamdown/dist/mermaid-3ZIDBTTL.js +0 -3
- package/dist/packages/contracts/dist/enums/pipeline-state.js +0 -10
- package/dist/pages/PipelineDebugPage.js +0 -115
|
@@ -0,0 +1,2014 @@
|
|
|
1
|
+
import { __name as e, log as t } from "./chunk-AGHRB4JF.js";
|
|
2
|
+
import { clear as n, common_default as r, getAccDescription as i, getAccTitle as a, getConfig2 as o, getDiagramTitle as s, setAccDescription as c, setAccTitle as l, setDiagramTitle as u } from "./chunk-ICPOFSXX.js";
|
|
3
|
+
import { generateId as d, utils_default as f } from "./chunk-5PVQY5BW.js";
|
|
4
|
+
import { render as p } from "./chunk-336JU56O.js";
|
|
5
|
+
import { getDiagramElement as m } from "./chunk-55IACEB6.js";
|
|
6
|
+
import { setupViewPortForSVG as h } from "./chunk-EDXVE4YY.js";
|
|
7
|
+
//#region ../../node_modules/mermaid/dist/chunks/mermaid.core/chunk-OYMX7WX6.mjs
|
|
8
|
+
var g = (function() {
|
|
9
|
+
var t = /* @__PURE__ */ e(function(e, t, n, r) {
|
|
10
|
+
for (n ||= {}, r = e.length; r--; n[e[r]] = t);
|
|
11
|
+
return n;
|
|
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 = [
|
|
13
|
+
1,
|
|
14
|
+
4,
|
|
15
|
+
5,
|
|
16
|
+
16,
|
|
17
|
+
17,
|
|
18
|
+
19,
|
|
19
|
+
21,
|
|
20
|
+
22,
|
|
21
|
+
24,
|
|
22
|
+
25,
|
|
23
|
+
26,
|
|
24
|
+
27,
|
|
25
|
+
28,
|
|
26
|
+
29,
|
|
27
|
+
33,
|
|
28
|
+
35,
|
|
29
|
+
37,
|
|
30
|
+
38,
|
|
31
|
+
41,
|
|
32
|
+
45,
|
|
33
|
+
48,
|
|
34
|
+
51,
|
|
35
|
+
52,
|
|
36
|
+
53,
|
|
37
|
+
54,
|
|
38
|
+
57
|
|
39
|
+
], j = [
|
|
40
|
+
1,
|
|
41
|
+
4,
|
|
42
|
+
5,
|
|
43
|
+
14,
|
|
44
|
+
15,
|
|
45
|
+
16,
|
|
46
|
+
17,
|
|
47
|
+
19,
|
|
48
|
+
21,
|
|
49
|
+
22,
|
|
50
|
+
24,
|
|
51
|
+
25,
|
|
52
|
+
26,
|
|
53
|
+
27,
|
|
54
|
+
28,
|
|
55
|
+
29,
|
|
56
|
+
33,
|
|
57
|
+
35,
|
|
58
|
+
37,
|
|
59
|
+
38,
|
|
60
|
+
39,
|
|
61
|
+
40,
|
|
62
|
+
41,
|
|
63
|
+
45,
|
|
64
|
+
48,
|
|
65
|
+
51,
|
|
66
|
+
52,
|
|
67
|
+
53,
|
|
68
|
+
54,
|
|
69
|
+
57
|
|
70
|
+
], M = [
|
|
71
|
+
4,
|
|
72
|
+
5,
|
|
73
|
+
16,
|
|
74
|
+
17,
|
|
75
|
+
19,
|
|
76
|
+
21,
|
|
77
|
+
22,
|
|
78
|
+
24,
|
|
79
|
+
25,
|
|
80
|
+
26,
|
|
81
|
+
27,
|
|
82
|
+
28,
|
|
83
|
+
29,
|
|
84
|
+
33,
|
|
85
|
+
35,
|
|
86
|
+
37,
|
|
87
|
+
38,
|
|
88
|
+
41,
|
|
89
|
+
45,
|
|
90
|
+
48,
|
|
91
|
+
51,
|
|
92
|
+
52,
|
|
93
|
+
53,
|
|
94
|
+
54,
|
|
95
|
+
57
|
|
96
|
+
], N = {
|
|
97
|
+
trace: /* @__PURE__ */ e(function() {}, "trace"),
|
|
98
|
+
yy: {},
|
|
99
|
+
symbols_: {
|
|
100
|
+
error: 2,
|
|
101
|
+
start: 3,
|
|
102
|
+
SPACE: 4,
|
|
103
|
+
NL: 5,
|
|
104
|
+
SD: 6,
|
|
105
|
+
document: 7,
|
|
106
|
+
line: 8,
|
|
107
|
+
statement: 9,
|
|
108
|
+
classDefStatement: 10,
|
|
109
|
+
styleStatement: 11,
|
|
110
|
+
cssClassStatement: 12,
|
|
111
|
+
idStatement: 13,
|
|
112
|
+
DESCR: 14,
|
|
113
|
+
"-->": 15,
|
|
114
|
+
HIDE_EMPTY: 16,
|
|
115
|
+
scale: 17,
|
|
116
|
+
WIDTH: 18,
|
|
117
|
+
COMPOSIT_STATE: 19,
|
|
118
|
+
STRUCT_START: 20,
|
|
119
|
+
STRUCT_STOP: 21,
|
|
120
|
+
STATE_DESCR: 22,
|
|
121
|
+
AS: 23,
|
|
122
|
+
ID: 24,
|
|
123
|
+
FORK: 25,
|
|
124
|
+
JOIN: 26,
|
|
125
|
+
CHOICE: 27,
|
|
126
|
+
CONCURRENT: 28,
|
|
127
|
+
note: 29,
|
|
128
|
+
notePosition: 30,
|
|
129
|
+
NOTE_TEXT: 31,
|
|
130
|
+
direction: 32,
|
|
131
|
+
acc_title: 33,
|
|
132
|
+
acc_title_value: 34,
|
|
133
|
+
acc_descr: 35,
|
|
134
|
+
acc_descr_value: 36,
|
|
135
|
+
acc_descr_multiline_value: 37,
|
|
136
|
+
CLICK: 38,
|
|
137
|
+
STRING: 39,
|
|
138
|
+
HREF: 40,
|
|
139
|
+
classDef: 41,
|
|
140
|
+
CLASSDEF_ID: 42,
|
|
141
|
+
CLASSDEF_STYLEOPTS: 43,
|
|
142
|
+
DEFAULT: 44,
|
|
143
|
+
style: 45,
|
|
144
|
+
STYLE_IDS: 46,
|
|
145
|
+
STYLEDEF_STYLEOPTS: 47,
|
|
146
|
+
class: 48,
|
|
147
|
+
CLASSENTITY_IDS: 49,
|
|
148
|
+
STYLECLASS: 50,
|
|
149
|
+
direction_tb: 51,
|
|
150
|
+
direction_bt: 52,
|
|
151
|
+
direction_rl: 53,
|
|
152
|
+
direction_lr: 54,
|
|
153
|
+
eol: 55,
|
|
154
|
+
";": 56,
|
|
155
|
+
EDGE_STATE: 57,
|
|
156
|
+
STYLE_SEPARATOR: 58,
|
|
157
|
+
left_of: 59,
|
|
158
|
+
right_of: 60,
|
|
159
|
+
$accept: 0,
|
|
160
|
+
$end: 1
|
|
161
|
+
},
|
|
162
|
+
terminals_: {
|
|
163
|
+
2: "error",
|
|
164
|
+
4: "SPACE",
|
|
165
|
+
5: "NL",
|
|
166
|
+
6: "SD",
|
|
167
|
+
14: "DESCR",
|
|
168
|
+
15: "-->",
|
|
169
|
+
16: "HIDE_EMPTY",
|
|
170
|
+
17: "scale",
|
|
171
|
+
18: "WIDTH",
|
|
172
|
+
19: "COMPOSIT_STATE",
|
|
173
|
+
20: "STRUCT_START",
|
|
174
|
+
21: "STRUCT_STOP",
|
|
175
|
+
22: "STATE_DESCR",
|
|
176
|
+
23: "AS",
|
|
177
|
+
24: "ID",
|
|
178
|
+
25: "FORK",
|
|
179
|
+
26: "JOIN",
|
|
180
|
+
27: "CHOICE",
|
|
181
|
+
28: "CONCURRENT",
|
|
182
|
+
29: "note",
|
|
183
|
+
31: "NOTE_TEXT",
|
|
184
|
+
33: "acc_title",
|
|
185
|
+
34: "acc_title_value",
|
|
186
|
+
35: "acc_descr",
|
|
187
|
+
36: "acc_descr_value",
|
|
188
|
+
37: "acc_descr_multiline_value",
|
|
189
|
+
38: "CLICK",
|
|
190
|
+
39: "STRING",
|
|
191
|
+
40: "HREF",
|
|
192
|
+
41: "classDef",
|
|
193
|
+
42: "CLASSDEF_ID",
|
|
194
|
+
43: "CLASSDEF_STYLEOPTS",
|
|
195
|
+
44: "DEFAULT",
|
|
196
|
+
45: "style",
|
|
197
|
+
46: "STYLE_IDS",
|
|
198
|
+
47: "STYLEDEF_STYLEOPTS",
|
|
199
|
+
48: "class",
|
|
200
|
+
49: "CLASSENTITY_IDS",
|
|
201
|
+
50: "STYLECLASS",
|
|
202
|
+
51: "direction_tb",
|
|
203
|
+
52: "direction_bt",
|
|
204
|
+
53: "direction_rl",
|
|
205
|
+
54: "direction_lr",
|
|
206
|
+
56: ";",
|
|
207
|
+
57: "EDGE_STATE",
|
|
208
|
+
58: "STYLE_SEPARATOR",
|
|
209
|
+
59: "left_of",
|
|
210
|
+
60: "right_of"
|
|
211
|
+
},
|
|
212
|
+
productions_: [
|
|
213
|
+
0,
|
|
214
|
+
[3, 2],
|
|
215
|
+
[3, 2],
|
|
216
|
+
[3, 2],
|
|
217
|
+
[7, 0],
|
|
218
|
+
[7, 2],
|
|
219
|
+
[8, 2],
|
|
220
|
+
[8, 1],
|
|
221
|
+
[8, 1],
|
|
222
|
+
[9, 1],
|
|
223
|
+
[9, 1],
|
|
224
|
+
[9, 1],
|
|
225
|
+
[9, 1],
|
|
226
|
+
[9, 2],
|
|
227
|
+
[9, 3],
|
|
228
|
+
[9, 4],
|
|
229
|
+
[9, 1],
|
|
230
|
+
[9, 2],
|
|
231
|
+
[9, 1],
|
|
232
|
+
[9, 4],
|
|
233
|
+
[9, 3],
|
|
234
|
+
[9, 6],
|
|
235
|
+
[9, 1],
|
|
236
|
+
[9, 1],
|
|
237
|
+
[9, 1],
|
|
238
|
+
[9, 1],
|
|
239
|
+
[9, 4],
|
|
240
|
+
[9, 4],
|
|
241
|
+
[9, 1],
|
|
242
|
+
[9, 2],
|
|
243
|
+
[9, 2],
|
|
244
|
+
[9, 1],
|
|
245
|
+
[9, 5],
|
|
246
|
+
[9, 5],
|
|
247
|
+
[10, 3],
|
|
248
|
+
[10, 3],
|
|
249
|
+
[11, 3],
|
|
250
|
+
[12, 3],
|
|
251
|
+
[32, 1],
|
|
252
|
+
[32, 1],
|
|
253
|
+
[32, 1],
|
|
254
|
+
[32, 1],
|
|
255
|
+
[55, 1],
|
|
256
|
+
[55, 1],
|
|
257
|
+
[13, 1],
|
|
258
|
+
[13, 1],
|
|
259
|
+
[13, 3],
|
|
260
|
+
[13, 3],
|
|
261
|
+
[30, 1],
|
|
262
|
+
[30, 1]
|
|
263
|
+
],
|
|
264
|
+
performAction: /* @__PURE__ */ e(function(e, t, n, r, i, a, o) {
|
|
265
|
+
var s = a.length - 1;
|
|
266
|
+
switch (i) {
|
|
267
|
+
case 3: return r.setRootDoc(a[s]), a[s];
|
|
268
|
+
case 4:
|
|
269
|
+
this.$ = [];
|
|
270
|
+
break;
|
|
271
|
+
case 5:
|
|
272
|
+
a[s] != "nl" && (a[s - 1].push(a[s]), this.$ = a[s - 1]);
|
|
273
|
+
break;
|
|
274
|
+
case 6:
|
|
275
|
+
case 7:
|
|
276
|
+
this.$ = a[s];
|
|
277
|
+
break;
|
|
278
|
+
case 8:
|
|
279
|
+
this.$ = "nl";
|
|
280
|
+
break;
|
|
281
|
+
case 12:
|
|
282
|
+
this.$ = a[s];
|
|
283
|
+
break;
|
|
284
|
+
case 13:
|
|
285
|
+
let e = a[s - 1];
|
|
286
|
+
e.description = r.trimColon(a[s]), this.$ = e;
|
|
287
|
+
break;
|
|
288
|
+
case 14:
|
|
289
|
+
this.$ = {
|
|
290
|
+
stmt: "relation",
|
|
291
|
+
state1: a[s - 2],
|
|
292
|
+
state2: a[s]
|
|
293
|
+
};
|
|
294
|
+
break;
|
|
295
|
+
case 15:
|
|
296
|
+
let t = r.trimColon(a[s]);
|
|
297
|
+
this.$ = {
|
|
298
|
+
stmt: "relation",
|
|
299
|
+
state1: a[s - 3],
|
|
300
|
+
state2: a[s - 1],
|
|
301
|
+
description: t
|
|
302
|
+
};
|
|
303
|
+
break;
|
|
304
|
+
case 19:
|
|
305
|
+
this.$ = {
|
|
306
|
+
stmt: "state",
|
|
307
|
+
id: a[s - 3],
|
|
308
|
+
type: "default",
|
|
309
|
+
description: "",
|
|
310
|
+
doc: a[s - 1]
|
|
311
|
+
};
|
|
312
|
+
break;
|
|
313
|
+
case 20:
|
|
314
|
+
var c = a[s], l = a[s - 2].trim();
|
|
315
|
+
if (a[s].match(":")) {
|
|
316
|
+
var u = a[s].split(":");
|
|
317
|
+
c = u[0], l = [l, u[1]];
|
|
318
|
+
}
|
|
319
|
+
this.$ = {
|
|
320
|
+
stmt: "state",
|
|
321
|
+
id: c,
|
|
322
|
+
type: "default",
|
|
323
|
+
description: l
|
|
324
|
+
};
|
|
325
|
+
break;
|
|
326
|
+
case 21:
|
|
327
|
+
this.$ = {
|
|
328
|
+
stmt: "state",
|
|
329
|
+
id: a[s - 3],
|
|
330
|
+
type: "default",
|
|
331
|
+
description: a[s - 5],
|
|
332
|
+
doc: a[s - 1]
|
|
333
|
+
};
|
|
334
|
+
break;
|
|
335
|
+
case 22:
|
|
336
|
+
this.$ = {
|
|
337
|
+
stmt: "state",
|
|
338
|
+
id: a[s],
|
|
339
|
+
type: "fork"
|
|
340
|
+
};
|
|
341
|
+
break;
|
|
342
|
+
case 23:
|
|
343
|
+
this.$ = {
|
|
344
|
+
stmt: "state",
|
|
345
|
+
id: a[s],
|
|
346
|
+
type: "join"
|
|
347
|
+
};
|
|
348
|
+
break;
|
|
349
|
+
case 24:
|
|
350
|
+
this.$ = {
|
|
351
|
+
stmt: "state",
|
|
352
|
+
id: a[s],
|
|
353
|
+
type: "choice"
|
|
354
|
+
};
|
|
355
|
+
break;
|
|
356
|
+
case 25:
|
|
357
|
+
this.$ = {
|
|
358
|
+
stmt: "state",
|
|
359
|
+
id: r.getDividerId(),
|
|
360
|
+
type: "divider"
|
|
361
|
+
};
|
|
362
|
+
break;
|
|
363
|
+
case 26:
|
|
364
|
+
this.$ = {
|
|
365
|
+
stmt: "state",
|
|
366
|
+
id: a[s - 1].trim(),
|
|
367
|
+
note: {
|
|
368
|
+
position: a[s - 2].trim(),
|
|
369
|
+
text: a[s].trim()
|
|
370
|
+
}
|
|
371
|
+
};
|
|
372
|
+
break;
|
|
373
|
+
case 29:
|
|
374
|
+
this.$ = a[s].trim(), r.setAccTitle(this.$);
|
|
375
|
+
break;
|
|
376
|
+
case 30:
|
|
377
|
+
case 31:
|
|
378
|
+
this.$ = a[s].trim(), r.setAccDescription(this.$);
|
|
379
|
+
break;
|
|
380
|
+
case 32:
|
|
381
|
+
this.$ = {
|
|
382
|
+
stmt: "click",
|
|
383
|
+
id: a[s - 3],
|
|
384
|
+
url: a[s - 2],
|
|
385
|
+
tooltip: a[s - 1]
|
|
386
|
+
};
|
|
387
|
+
break;
|
|
388
|
+
case 33:
|
|
389
|
+
this.$ = {
|
|
390
|
+
stmt: "click",
|
|
391
|
+
id: a[s - 3],
|
|
392
|
+
url: a[s - 1],
|
|
393
|
+
tooltip: ""
|
|
394
|
+
};
|
|
395
|
+
break;
|
|
396
|
+
case 34:
|
|
397
|
+
case 35:
|
|
398
|
+
this.$ = {
|
|
399
|
+
stmt: "classDef",
|
|
400
|
+
id: a[s - 1].trim(),
|
|
401
|
+
classes: a[s].trim()
|
|
402
|
+
};
|
|
403
|
+
break;
|
|
404
|
+
case 36:
|
|
405
|
+
this.$ = {
|
|
406
|
+
stmt: "style",
|
|
407
|
+
id: a[s - 1].trim(),
|
|
408
|
+
styleClass: a[s].trim()
|
|
409
|
+
};
|
|
410
|
+
break;
|
|
411
|
+
case 37:
|
|
412
|
+
this.$ = {
|
|
413
|
+
stmt: "applyClass",
|
|
414
|
+
id: a[s - 1].trim(),
|
|
415
|
+
styleClass: a[s].trim()
|
|
416
|
+
};
|
|
417
|
+
break;
|
|
418
|
+
case 38:
|
|
419
|
+
r.setDirection("TB"), this.$ = {
|
|
420
|
+
stmt: "dir",
|
|
421
|
+
value: "TB"
|
|
422
|
+
};
|
|
423
|
+
break;
|
|
424
|
+
case 39:
|
|
425
|
+
r.setDirection("BT"), this.$ = {
|
|
426
|
+
stmt: "dir",
|
|
427
|
+
value: "BT"
|
|
428
|
+
};
|
|
429
|
+
break;
|
|
430
|
+
case 40:
|
|
431
|
+
r.setDirection("RL"), this.$ = {
|
|
432
|
+
stmt: "dir",
|
|
433
|
+
value: "RL"
|
|
434
|
+
};
|
|
435
|
+
break;
|
|
436
|
+
case 41:
|
|
437
|
+
r.setDirection("LR"), this.$ = {
|
|
438
|
+
stmt: "dir",
|
|
439
|
+
value: "LR"
|
|
440
|
+
};
|
|
441
|
+
break;
|
|
442
|
+
case 44:
|
|
443
|
+
case 45:
|
|
444
|
+
this.$ = {
|
|
445
|
+
stmt: "state",
|
|
446
|
+
id: a[s].trim(),
|
|
447
|
+
type: "default",
|
|
448
|
+
description: ""
|
|
449
|
+
};
|
|
450
|
+
break;
|
|
451
|
+
case 46:
|
|
452
|
+
this.$ = {
|
|
453
|
+
stmt: "state",
|
|
454
|
+
id: a[s - 2].trim(),
|
|
455
|
+
classes: [a[s].trim()],
|
|
456
|
+
type: "default",
|
|
457
|
+
description: ""
|
|
458
|
+
};
|
|
459
|
+
break;
|
|
460
|
+
case 47:
|
|
461
|
+
this.$ = {
|
|
462
|
+
stmt: "state",
|
|
463
|
+
id: a[s - 2].trim(),
|
|
464
|
+
classes: [a[s].trim()],
|
|
465
|
+
type: "default",
|
|
466
|
+
description: ""
|
|
467
|
+
};
|
|
468
|
+
break;
|
|
469
|
+
}
|
|
470
|
+
}, "anonymous"),
|
|
471
|
+
table: [
|
|
472
|
+
{
|
|
473
|
+
3: 1,
|
|
474
|
+
4: n,
|
|
475
|
+
5: r,
|
|
476
|
+
6: i
|
|
477
|
+
},
|
|
478
|
+
{ 1: [3] },
|
|
479
|
+
{
|
|
480
|
+
3: 5,
|
|
481
|
+
4: n,
|
|
482
|
+
5: r,
|
|
483
|
+
6: i
|
|
484
|
+
},
|
|
485
|
+
{
|
|
486
|
+
3: 6,
|
|
487
|
+
4: n,
|
|
488
|
+
5: r,
|
|
489
|
+
6: i
|
|
490
|
+
},
|
|
491
|
+
t([
|
|
492
|
+
1,
|
|
493
|
+
4,
|
|
494
|
+
5,
|
|
495
|
+
16,
|
|
496
|
+
17,
|
|
497
|
+
19,
|
|
498
|
+
22,
|
|
499
|
+
24,
|
|
500
|
+
25,
|
|
501
|
+
26,
|
|
502
|
+
27,
|
|
503
|
+
28,
|
|
504
|
+
29,
|
|
505
|
+
33,
|
|
506
|
+
35,
|
|
507
|
+
37,
|
|
508
|
+
38,
|
|
509
|
+
41,
|
|
510
|
+
45,
|
|
511
|
+
48,
|
|
512
|
+
51,
|
|
513
|
+
52,
|
|
514
|
+
53,
|
|
515
|
+
54,
|
|
516
|
+
57
|
|
517
|
+
], a, { 7: 7 }),
|
|
518
|
+
{ 1: [2, 1] },
|
|
519
|
+
{ 1: [2, 2] },
|
|
520
|
+
{
|
|
521
|
+
1: [2, 3],
|
|
522
|
+
4: o,
|
|
523
|
+
5: s,
|
|
524
|
+
8: 8,
|
|
525
|
+
9: 10,
|
|
526
|
+
10: 12,
|
|
527
|
+
11: 13,
|
|
528
|
+
12: 14,
|
|
529
|
+
13: 15,
|
|
530
|
+
16: c,
|
|
531
|
+
17: l,
|
|
532
|
+
19: u,
|
|
533
|
+
22: d,
|
|
534
|
+
24: f,
|
|
535
|
+
25: p,
|
|
536
|
+
26: m,
|
|
537
|
+
27: h,
|
|
538
|
+
28: g,
|
|
539
|
+
29: _,
|
|
540
|
+
32: 25,
|
|
541
|
+
33: v,
|
|
542
|
+
35: y,
|
|
543
|
+
37: b,
|
|
544
|
+
38: x,
|
|
545
|
+
41: S,
|
|
546
|
+
45: C,
|
|
547
|
+
48: w,
|
|
548
|
+
51: T,
|
|
549
|
+
52: E,
|
|
550
|
+
53: D,
|
|
551
|
+
54: O,
|
|
552
|
+
57: k
|
|
553
|
+
},
|
|
554
|
+
t(A, [2, 5]),
|
|
555
|
+
{
|
|
556
|
+
9: 39,
|
|
557
|
+
10: 12,
|
|
558
|
+
11: 13,
|
|
559
|
+
12: 14,
|
|
560
|
+
13: 15,
|
|
561
|
+
16: c,
|
|
562
|
+
17: l,
|
|
563
|
+
19: u,
|
|
564
|
+
22: d,
|
|
565
|
+
24: f,
|
|
566
|
+
25: p,
|
|
567
|
+
26: m,
|
|
568
|
+
27: h,
|
|
569
|
+
28: g,
|
|
570
|
+
29: _,
|
|
571
|
+
32: 25,
|
|
572
|
+
33: v,
|
|
573
|
+
35: y,
|
|
574
|
+
37: b,
|
|
575
|
+
38: x,
|
|
576
|
+
41: S,
|
|
577
|
+
45: C,
|
|
578
|
+
48: w,
|
|
579
|
+
51: T,
|
|
580
|
+
52: E,
|
|
581
|
+
53: D,
|
|
582
|
+
54: O,
|
|
583
|
+
57: k
|
|
584
|
+
},
|
|
585
|
+
t(A, [2, 7]),
|
|
586
|
+
t(A, [2, 8]),
|
|
587
|
+
t(A, [2, 9]),
|
|
588
|
+
t(A, [2, 10]),
|
|
589
|
+
t(A, [2, 11]),
|
|
590
|
+
t(A, [2, 12], {
|
|
591
|
+
14: [1, 40],
|
|
592
|
+
15: [1, 41]
|
|
593
|
+
}),
|
|
594
|
+
t(A, [2, 16]),
|
|
595
|
+
{ 18: [1, 42] },
|
|
596
|
+
t(A, [2, 18], { 20: [1, 43] }),
|
|
597
|
+
{ 23: [1, 44] },
|
|
598
|
+
t(A, [2, 22]),
|
|
599
|
+
t(A, [2, 23]),
|
|
600
|
+
t(A, [2, 24]),
|
|
601
|
+
t(A, [2, 25]),
|
|
602
|
+
{
|
|
603
|
+
30: 45,
|
|
604
|
+
31: [1, 46],
|
|
605
|
+
59: [1, 47],
|
|
606
|
+
60: [1, 48]
|
|
607
|
+
},
|
|
608
|
+
t(A, [2, 28]),
|
|
609
|
+
{ 34: [1, 49] },
|
|
610
|
+
{ 36: [1, 50] },
|
|
611
|
+
t(A, [2, 31]),
|
|
612
|
+
{
|
|
613
|
+
13: 51,
|
|
614
|
+
24: f,
|
|
615
|
+
57: k
|
|
616
|
+
},
|
|
617
|
+
{
|
|
618
|
+
42: [1, 52],
|
|
619
|
+
44: [1, 53]
|
|
620
|
+
},
|
|
621
|
+
{ 46: [1, 54] },
|
|
622
|
+
{ 49: [1, 55] },
|
|
623
|
+
t(j, [2, 44], { 58: [1, 56] }),
|
|
624
|
+
t(j, [2, 45], { 58: [1, 57] }),
|
|
625
|
+
t(A, [2, 38]),
|
|
626
|
+
t(A, [2, 39]),
|
|
627
|
+
t(A, [2, 40]),
|
|
628
|
+
t(A, [2, 41]),
|
|
629
|
+
t(A, [2, 6]),
|
|
630
|
+
t(A, [2, 13]),
|
|
631
|
+
{
|
|
632
|
+
13: 58,
|
|
633
|
+
24: f,
|
|
634
|
+
57: k
|
|
635
|
+
},
|
|
636
|
+
t(A, [2, 17]),
|
|
637
|
+
t(M, a, { 7: 59 }),
|
|
638
|
+
{ 24: [1, 60] },
|
|
639
|
+
{ 24: [1, 61] },
|
|
640
|
+
{ 23: [1, 62] },
|
|
641
|
+
{ 24: [2, 48] },
|
|
642
|
+
{ 24: [2, 49] },
|
|
643
|
+
t(A, [2, 29]),
|
|
644
|
+
t(A, [2, 30]),
|
|
645
|
+
{
|
|
646
|
+
39: [1, 63],
|
|
647
|
+
40: [1, 64]
|
|
648
|
+
},
|
|
649
|
+
{ 43: [1, 65] },
|
|
650
|
+
{ 43: [1, 66] },
|
|
651
|
+
{ 47: [1, 67] },
|
|
652
|
+
{ 50: [1, 68] },
|
|
653
|
+
{ 24: [1, 69] },
|
|
654
|
+
{ 24: [1, 70] },
|
|
655
|
+
t(A, [2, 14], { 14: [1, 71] }),
|
|
656
|
+
{
|
|
657
|
+
4: o,
|
|
658
|
+
5: s,
|
|
659
|
+
8: 8,
|
|
660
|
+
9: 10,
|
|
661
|
+
10: 12,
|
|
662
|
+
11: 13,
|
|
663
|
+
12: 14,
|
|
664
|
+
13: 15,
|
|
665
|
+
16: c,
|
|
666
|
+
17: l,
|
|
667
|
+
19: u,
|
|
668
|
+
21: [1, 72],
|
|
669
|
+
22: d,
|
|
670
|
+
24: f,
|
|
671
|
+
25: p,
|
|
672
|
+
26: m,
|
|
673
|
+
27: h,
|
|
674
|
+
28: g,
|
|
675
|
+
29: _,
|
|
676
|
+
32: 25,
|
|
677
|
+
33: v,
|
|
678
|
+
35: y,
|
|
679
|
+
37: b,
|
|
680
|
+
38: x,
|
|
681
|
+
41: S,
|
|
682
|
+
45: C,
|
|
683
|
+
48: w,
|
|
684
|
+
51: T,
|
|
685
|
+
52: E,
|
|
686
|
+
53: D,
|
|
687
|
+
54: O,
|
|
688
|
+
57: k
|
|
689
|
+
},
|
|
690
|
+
t(A, [2, 20], { 20: [1, 73] }),
|
|
691
|
+
{ 31: [1, 74] },
|
|
692
|
+
{ 24: [1, 75] },
|
|
693
|
+
{ 39: [1, 76] },
|
|
694
|
+
{ 39: [1, 77] },
|
|
695
|
+
t(A, [2, 34]),
|
|
696
|
+
t(A, [2, 35]),
|
|
697
|
+
t(A, [2, 36]),
|
|
698
|
+
t(A, [2, 37]),
|
|
699
|
+
t(j, [2, 46]),
|
|
700
|
+
t(j, [2, 47]),
|
|
701
|
+
t(A, [2, 15]),
|
|
702
|
+
t(A, [2, 19]),
|
|
703
|
+
t(M, a, { 7: 78 }),
|
|
704
|
+
t(A, [2, 26]),
|
|
705
|
+
t(A, [2, 27]),
|
|
706
|
+
{ 5: [1, 79] },
|
|
707
|
+
{ 5: [1, 80] },
|
|
708
|
+
{
|
|
709
|
+
4: o,
|
|
710
|
+
5: s,
|
|
711
|
+
8: 8,
|
|
712
|
+
9: 10,
|
|
713
|
+
10: 12,
|
|
714
|
+
11: 13,
|
|
715
|
+
12: 14,
|
|
716
|
+
13: 15,
|
|
717
|
+
16: c,
|
|
718
|
+
17: l,
|
|
719
|
+
19: u,
|
|
720
|
+
21: [1, 81],
|
|
721
|
+
22: d,
|
|
722
|
+
24: f,
|
|
723
|
+
25: p,
|
|
724
|
+
26: m,
|
|
725
|
+
27: h,
|
|
726
|
+
28: g,
|
|
727
|
+
29: _,
|
|
728
|
+
32: 25,
|
|
729
|
+
33: v,
|
|
730
|
+
35: y,
|
|
731
|
+
37: b,
|
|
732
|
+
38: x,
|
|
733
|
+
41: S,
|
|
734
|
+
45: C,
|
|
735
|
+
48: w,
|
|
736
|
+
51: T,
|
|
737
|
+
52: E,
|
|
738
|
+
53: D,
|
|
739
|
+
54: O,
|
|
740
|
+
57: k
|
|
741
|
+
},
|
|
742
|
+
t(A, [2, 32]),
|
|
743
|
+
t(A, [2, 33]),
|
|
744
|
+
t(A, [2, 21])
|
|
745
|
+
],
|
|
746
|
+
defaultActions: {
|
|
747
|
+
5: [2, 1],
|
|
748
|
+
6: [2, 2],
|
|
749
|
+
47: [2, 48],
|
|
750
|
+
48: [2, 49]
|
|
751
|
+
},
|
|
752
|
+
parseError: /* @__PURE__ */ e(function(e, t) {
|
|
753
|
+
if (t.recoverable) this.trace(e);
|
|
754
|
+
else {
|
|
755
|
+
var n = Error(e);
|
|
756
|
+
throw n.hash = t, n;
|
|
757
|
+
}
|
|
758
|
+
}, "parseError"),
|
|
759
|
+
parse: /* @__PURE__ */ e(function(t) {
|
|
760
|
+
var n = this, r = [0], i = [], a = [null], o = [], s = this.table, c = "", l = 0, u = 0, d = 0, f = 2, p = 1, m = o.slice.call(arguments, 1), h = Object.create(this.lexer), g = { yy: {} };
|
|
761
|
+
for (var _ in this.yy) Object.prototype.hasOwnProperty.call(this.yy, _) && (g.yy[_] = this.yy[_]);
|
|
762
|
+
h.setInput(t, g.yy), g.yy.lexer = h, g.yy.parser = this, h.yylloc === void 0 && (h.yylloc = {});
|
|
763
|
+
var v = h.yylloc;
|
|
764
|
+
o.push(v);
|
|
765
|
+
var y = h.options && h.options.ranges;
|
|
766
|
+
typeof g.yy.parseError == "function" ? this.parseError = g.yy.parseError : this.parseError = Object.getPrototypeOf(this).parseError;
|
|
767
|
+
function b(e) {
|
|
768
|
+
r.length -= 2 * e, a.length -= e, o.length -= e;
|
|
769
|
+
}
|
|
770
|
+
e(b, "popStack");
|
|
771
|
+
function x() {
|
|
772
|
+
var e = i.pop() || h.lex() || p;
|
|
773
|
+
return typeof e != "number" && (e instanceof Array && (i = e, e = i.pop()), e = n.symbols_[e] || e), e;
|
|
774
|
+
}
|
|
775
|
+
e(x, "lex");
|
|
776
|
+
for (var S, C, w, T, E, D = {}, O, k, A, j;;) {
|
|
777
|
+
if (w = r[r.length - 1], this.defaultActions[w] ? T = this.defaultActions[w] : (S ??= x(), T = s[w] && s[w][S]), T === void 0 || !T.length || !T[0]) {
|
|
778
|
+
var M = "";
|
|
779
|
+
for (O in j = [], s[w]) this.terminals_[O] && O > f && j.push("'" + this.terminals_[O] + "'");
|
|
780
|
+
M = h.showPosition ? "Parse error on line " + (l + 1) + ":\n" + h.showPosition() + "\nExpecting " + j.join(", ") + ", got '" + (this.terminals_[S] || S) + "'" : "Parse error on line " + (l + 1) + ": Unexpected " + (S == p ? "end of input" : "'" + (this.terminals_[S] || S) + "'"), this.parseError(M, {
|
|
781
|
+
text: h.match,
|
|
782
|
+
token: this.terminals_[S] || S,
|
|
783
|
+
line: h.yylineno,
|
|
784
|
+
loc: v,
|
|
785
|
+
expected: j
|
|
786
|
+
});
|
|
787
|
+
}
|
|
788
|
+
if (T[0] instanceof Array && T.length > 1) throw Error("Parse Error: multiple actions possible at state: " + w + ", token: " + S);
|
|
789
|
+
switch (T[0]) {
|
|
790
|
+
case 1:
|
|
791
|
+
r.push(S), a.push(h.yytext), o.push(h.yylloc), r.push(T[1]), S = null, C ? (S = C, C = null) : (u = h.yyleng, c = h.yytext, l = h.yylineno, v = h.yylloc, d > 0 && d--);
|
|
792
|
+
break;
|
|
793
|
+
case 2:
|
|
794
|
+
if (k = this.productions_[T[1]][1], D.$ = a[a.length - k], D._$ = {
|
|
795
|
+
first_line: o[o.length - (k || 1)].first_line,
|
|
796
|
+
last_line: o[o.length - 1].last_line,
|
|
797
|
+
first_column: o[o.length - (k || 1)].first_column,
|
|
798
|
+
last_column: o[o.length - 1].last_column
|
|
799
|
+
}, y && (D._$.range = [o[o.length - (k || 1)].range[0], o[o.length - 1].range[1]]), E = this.performAction.apply(D, [
|
|
800
|
+
c,
|
|
801
|
+
u,
|
|
802
|
+
l,
|
|
803
|
+
g.yy,
|
|
804
|
+
T[1],
|
|
805
|
+
a,
|
|
806
|
+
o
|
|
807
|
+
].concat(m)), E !== void 0) return E;
|
|
808
|
+
k && (r = r.slice(0, -1 * k * 2), a = a.slice(0, -1 * k), o = o.slice(0, -1 * k)), r.push(this.productions_[T[1]][0]), a.push(D.$), o.push(D._$), A = s[r[r.length - 2]][r[r.length - 1]], r.push(A);
|
|
809
|
+
break;
|
|
810
|
+
case 3: return !0;
|
|
811
|
+
}
|
|
812
|
+
}
|
|
813
|
+
return !0;
|
|
814
|
+
}, "parse")
|
|
815
|
+
};
|
|
816
|
+
N.lexer = /* @__PURE__ */ (function() {
|
|
817
|
+
return {
|
|
818
|
+
EOF: 1,
|
|
819
|
+
parseError: /* @__PURE__ */ e(function(e, t) {
|
|
820
|
+
if (this.yy.parser) this.yy.parser.parseError(e, t);
|
|
821
|
+
else throw Error(e);
|
|
822
|
+
}, "parseError"),
|
|
823
|
+
setInput: /* @__PURE__ */ e(function(e, t) {
|
|
824
|
+
return this.yy = t || 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
|
+
first_line: 1,
|
|
826
|
+
first_column: 0,
|
|
827
|
+
last_line: 1,
|
|
828
|
+
last_column: 0
|
|
829
|
+
}, this.options.ranges && (this.yylloc.range = [0, 0]), this.offset = 0, this;
|
|
830
|
+
}, "setInput"),
|
|
831
|
+
input: /* @__PURE__ */ e(function() {
|
|
832
|
+
var e = this._input[0];
|
|
833
|
+
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
|
+
}, "input"),
|
|
835
|
+
unput: /* @__PURE__ */ e(function(e) {
|
|
836
|
+
var t = e.length, n = e.split(/(?:\r\n?|\n)/g);
|
|
837
|
+
this._input = e + this._input, this.yytext = this.yytext.substr(0, this.yytext.length - t), this.offset -= t;
|
|
838
|
+
var r = this.match.split(/(?:\r\n?|\n)/g);
|
|
839
|
+
this.match = this.match.substr(0, this.match.length - 1), this.matched = this.matched.substr(0, this.matched.length - 1), n.length - 1 && (this.yylineno -= n.length - 1);
|
|
840
|
+
var i = this.yylloc.range;
|
|
841
|
+
return this.yylloc = {
|
|
842
|
+
first_line: this.yylloc.first_line,
|
|
843
|
+
last_line: this.yylineno + 1,
|
|
844
|
+
first_column: this.yylloc.first_column,
|
|
845
|
+
last_column: n ? (n.length === r.length ? this.yylloc.first_column : 0) + r[r.length - n.length].length - n[0].length : this.yylloc.first_column - t
|
|
846
|
+
}, this.options.ranges && (this.yylloc.range = [i[0], i[0] + this.yyleng - t]), this.yyleng = this.yytext.length, this;
|
|
847
|
+
}, "unput"),
|
|
848
|
+
more: /* @__PURE__ */ e(function() {
|
|
849
|
+
return this._more = !0, this;
|
|
850
|
+
}, "more"),
|
|
851
|
+
reject: /* @__PURE__ */ e(function() {
|
|
852
|
+
if (this.options.backtrack_lexer) this._backtrack = !0;
|
|
853
|
+
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
|
+
text: "",
|
|
855
|
+
token: null,
|
|
856
|
+
line: this.yylineno
|
|
857
|
+
});
|
|
858
|
+
return this;
|
|
859
|
+
}, "reject"),
|
|
860
|
+
less: /* @__PURE__ */ e(function(e) {
|
|
861
|
+
this.unput(this.match.slice(e));
|
|
862
|
+
}, "less"),
|
|
863
|
+
pastInput: /* @__PURE__ */ e(function() {
|
|
864
|
+
var e = this.matched.substr(0, this.matched.length - this.match.length);
|
|
865
|
+
return (e.length > 20 ? "..." : "") + e.substr(-20).replace(/\n/g, "");
|
|
866
|
+
}, "pastInput"),
|
|
867
|
+
upcomingInput: /* @__PURE__ */ e(function() {
|
|
868
|
+
var e = this.match;
|
|
869
|
+
return e.length < 20 && (e += this._input.substr(0, 20 - e.length)), (e.substr(0, 20) + (e.length > 20 ? "..." : "")).replace(/\n/g, "");
|
|
870
|
+
}, "upcomingInput"),
|
|
871
|
+
showPosition: /* @__PURE__ */ e(function() {
|
|
872
|
+
var e = this.pastInput(), t = Array(e.length + 1).join("-");
|
|
873
|
+
return e + this.upcomingInput() + "\n" + t + "^";
|
|
874
|
+
}, "showPosition"),
|
|
875
|
+
test_match: /* @__PURE__ */ e(function(e, t) {
|
|
876
|
+
var n, r, i;
|
|
877
|
+
if (this.options.backtrack_lexer && (i = {
|
|
878
|
+
yylineno: this.yylineno,
|
|
879
|
+
yylloc: {
|
|
880
|
+
first_line: this.yylloc.first_line,
|
|
881
|
+
last_line: this.last_line,
|
|
882
|
+
first_column: this.yylloc.first_column,
|
|
883
|
+
last_column: this.yylloc.last_column
|
|
884
|
+
},
|
|
885
|
+
yytext: this.yytext,
|
|
886
|
+
match: this.match,
|
|
887
|
+
matches: this.matches,
|
|
888
|
+
matched: this.matched,
|
|
889
|
+
yyleng: this.yyleng,
|
|
890
|
+
offset: this.offset,
|
|
891
|
+
_more: this._more,
|
|
892
|
+
_input: this._input,
|
|
893
|
+
yy: this.yy,
|
|
894
|
+
conditionStack: this.conditionStack.slice(0),
|
|
895
|
+
done: this.done
|
|
896
|
+
}, this.options.ranges && (i.yylloc.range = this.yylloc.range.slice(0))), r = e[0].match(/(?:\r\n?|\n).*/g), r && (this.yylineno += r.length), this.yylloc = {
|
|
897
|
+
first_line: this.yylloc.last_line,
|
|
898
|
+
last_line: this.yylineno + 1,
|
|
899
|
+
first_column: this.yylloc.last_column,
|
|
900
|
+
last_column: r ? r[r.length - 1].length - r[r.length - 1].match(/\r?\n?/)[0].length : this.yylloc.last_column + e[0].length
|
|
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], n = this.performAction.call(this, this.yy, this, t, this.conditionStack[this.conditionStack.length - 1]), this.done && this._input && (this.done = !1), n) return n;
|
|
902
|
+
if (this._backtrack) {
|
|
903
|
+
for (var a in i) this[a] = i[a];
|
|
904
|
+
return !1;
|
|
905
|
+
}
|
|
906
|
+
return !1;
|
|
907
|
+
}, "test_match"),
|
|
908
|
+
next: /* @__PURE__ */ e(function() {
|
|
909
|
+
if (this.done) return this.EOF;
|
|
910
|
+
this._input || (this.done = !0);
|
|
911
|
+
var e, t, n, r;
|
|
912
|
+
this._more || (this.yytext = "", this.match = "");
|
|
913
|
+
for (var i = this._currentRules(), a = 0; a < i.length; a++) if (n = this._input.match(this.rules[i[a]]), n && (!t || n[0].length > t[0].length)) {
|
|
914
|
+
if (t = n, r = a, this.options.backtrack_lexer) {
|
|
915
|
+
if (e = this.test_match(n, i[a]), e !== !1) return e;
|
|
916
|
+
if (this._backtrack) {
|
|
917
|
+
t = !1;
|
|
918
|
+
continue;
|
|
919
|
+
} else return !1;
|
|
920
|
+
} else if (!this.options.flex) break;
|
|
921
|
+
}
|
|
922
|
+
return t ? (e = this.test_match(t, i[r]), e === !1 ? !1 : e) : this._input === "" ? this.EOF : this.parseError("Lexical error on line " + (this.yylineno + 1) + ". Unrecognized text.\n" + this.showPosition(), {
|
|
923
|
+
text: "",
|
|
924
|
+
token: null,
|
|
925
|
+
line: this.yylineno
|
|
926
|
+
});
|
|
927
|
+
}, "next"),
|
|
928
|
+
lex: /* @__PURE__ */ e(function() {
|
|
929
|
+
return this.next() || this.lex();
|
|
930
|
+
}, "lex"),
|
|
931
|
+
begin: /* @__PURE__ */ e(function(e) {
|
|
932
|
+
this.conditionStack.push(e);
|
|
933
|
+
}, "begin"),
|
|
934
|
+
popState: /* @__PURE__ */ e(function() {
|
|
935
|
+
return this.conditionStack.length - 1 > 0 ? this.conditionStack.pop() : this.conditionStack[0];
|
|
936
|
+
}, "popState"),
|
|
937
|
+
_currentRules: /* @__PURE__ */ e(function() {
|
|
938
|
+
return this.conditionStack.length && this.conditionStack[this.conditionStack.length - 1] ? this.conditions[this.conditionStack[this.conditionStack.length - 1]].rules : this.conditions.INITIAL.rules;
|
|
939
|
+
}, "_currentRules"),
|
|
940
|
+
topState: /* @__PURE__ */ e(function(e) {
|
|
941
|
+
return e = this.conditionStack.length - 1 - Math.abs(e || 0), e >= 0 ? this.conditionStack[e] : "INITIAL";
|
|
942
|
+
}, "topState"),
|
|
943
|
+
pushState: /* @__PURE__ */ e(function(e) {
|
|
944
|
+
this.begin(e);
|
|
945
|
+
}, "pushState"),
|
|
946
|
+
stateStackSize: /* @__PURE__ */ e(function() {
|
|
947
|
+
return this.conditionStack.length;
|
|
948
|
+
}, "stateStackSize"),
|
|
949
|
+
options: { "case-insensitive": !0 },
|
|
950
|
+
performAction: /* @__PURE__ */ e(function(e, t, n, r) {
|
|
951
|
+
switch (n) {
|
|
952
|
+
case 0: return 38;
|
|
953
|
+
case 1: return 40;
|
|
954
|
+
case 2: return 39;
|
|
955
|
+
case 3: return 44;
|
|
956
|
+
case 4: return 51;
|
|
957
|
+
case 5: return 52;
|
|
958
|
+
case 6: return 53;
|
|
959
|
+
case 7: return 54;
|
|
960
|
+
case 8: break;
|
|
961
|
+
case 9: break;
|
|
962
|
+
case 10: return 5;
|
|
963
|
+
case 11: break;
|
|
964
|
+
case 12: break;
|
|
965
|
+
case 13: break;
|
|
966
|
+
case 14: break;
|
|
967
|
+
case 15: return this.pushState("SCALE"), 17;
|
|
968
|
+
case 16: return 18;
|
|
969
|
+
case 17:
|
|
970
|
+
this.popState();
|
|
971
|
+
break;
|
|
972
|
+
case 18: return this.begin("acc_title"), 33;
|
|
973
|
+
case 19: return this.popState(), "acc_title_value";
|
|
974
|
+
case 20: return this.begin("acc_descr"), 35;
|
|
975
|
+
case 21: return this.popState(), "acc_descr_value";
|
|
976
|
+
case 22:
|
|
977
|
+
this.begin("acc_descr_multiline");
|
|
978
|
+
break;
|
|
979
|
+
case 23:
|
|
980
|
+
this.popState();
|
|
981
|
+
break;
|
|
982
|
+
case 24: return "acc_descr_multiline_value";
|
|
983
|
+
case 25: return this.pushState("CLASSDEF"), 41;
|
|
984
|
+
case 26: return this.popState(), this.pushState("CLASSDEFID"), "DEFAULT_CLASSDEF_ID";
|
|
985
|
+
case 27: return this.popState(), this.pushState("CLASSDEFID"), 42;
|
|
986
|
+
case 28: return this.popState(), 43;
|
|
987
|
+
case 29: return this.pushState("CLASS"), 48;
|
|
988
|
+
case 30: return this.popState(), this.pushState("CLASS_STYLE"), 49;
|
|
989
|
+
case 31: return this.popState(), 50;
|
|
990
|
+
case 32: return this.pushState("STYLE"), 45;
|
|
991
|
+
case 33: return this.popState(), this.pushState("STYLEDEF_STYLES"), 46;
|
|
992
|
+
case 34: return this.popState(), 47;
|
|
993
|
+
case 35: return this.pushState("SCALE"), 17;
|
|
994
|
+
case 36: return 18;
|
|
995
|
+
case 37:
|
|
996
|
+
this.popState();
|
|
997
|
+
break;
|
|
998
|
+
case 38:
|
|
999
|
+
this.pushState("STATE");
|
|
1000
|
+
break;
|
|
1001
|
+
case 39: return this.popState(), t.yytext = t.yytext.slice(0, -8).trim(), 25;
|
|
1002
|
+
case 40: return this.popState(), t.yytext = t.yytext.slice(0, -8).trim(), 26;
|
|
1003
|
+
case 41: return this.popState(), t.yytext = t.yytext.slice(0, -10).trim(), 27;
|
|
1004
|
+
case 42: return this.popState(), t.yytext = t.yytext.slice(0, -8).trim(), 25;
|
|
1005
|
+
case 43: return this.popState(), t.yytext = t.yytext.slice(0, -8).trim(), 26;
|
|
1006
|
+
case 44: return this.popState(), t.yytext = t.yytext.slice(0, -10).trim(), 27;
|
|
1007
|
+
case 45: return 51;
|
|
1008
|
+
case 46: return 52;
|
|
1009
|
+
case 47: return 53;
|
|
1010
|
+
case 48: return 54;
|
|
1011
|
+
case 49:
|
|
1012
|
+
this.pushState("STATE_STRING");
|
|
1013
|
+
break;
|
|
1014
|
+
case 50: return this.pushState("STATE_ID"), "AS";
|
|
1015
|
+
case 51: return this.popState(), "ID";
|
|
1016
|
+
case 52:
|
|
1017
|
+
this.popState();
|
|
1018
|
+
break;
|
|
1019
|
+
case 53: return "STATE_DESCR";
|
|
1020
|
+
case 54: return 19;
|
|
1021
|
+
case 55:
|
|
1022
|
+
this.popState();
|
|
1023
|
+
break;
|
|
1024
|
+
case 56: return this.popState(), this.pushState("struct"), 20;
|
|
1025
|
+
case 57: break;
|
|
1026
|
+
case 58: return this.popState(), 21;
|
|
1027
|
+
case 59: break;
|
|
1028
|
+
case 60: return this.begin("NOTE"), 29;
|
|
1029
|
+
case 61: return this.popState(), this.pushState("NOTE_ID"), 59;
|
|
1030
|
+
case 62: return this.popState(), this.pushState("NOTE_ID"), 60;
|
|
1031
|
+
case 63:
|
|
1032
|
+
this.popState(), this.pushState("FLOATING_NOTE");
|
|
1033
|
+
break;
|
|
1034
|
+
case 64: return this.popState(), this.pushState("FLOATING_NOTE_ID"), "AS";
|
|
1035
|
+
case 65: break;
|
|
1036
|
+
case 66: return "NOTE_TEXT";
|
|
1037
|
+
case 67: return this.popState(), "ID";
|
|
1038
|
+
case 68: return this.popState(), this.pushState("NOTE_TEXT"), 24;
|
|
1039
|
+
case 69: return this.popState(), t.yytext = t.yytext.substr(2).trim(), 31;
|
|
1040
|
+
case 70: return this.popState(), t.yytext = t.yytext.slice(0, -8).trim(), 31;
|
|
1041
|
+
case 71: return 6;
|
|
1042
|
+
case 72: return 6;
|
|
1043
|
+
case 73: return 16;
|
|
1044
|
+
case 74: return 57;
|
|
1045
|
+
case 75: return 24;
|
|
1046
|
+
case 76: return t.yytext = t.yytext.trim(), 14;
|
|
1047
|
+
case 77: return 15;
|
|
1048
|
+
case 78: return 28;
|
|
1049
|
+
case 79: return 58;
|
|
1050
|
+
case 80: return 5;
|
|
1051
|
+
case 81: return "INVALID";
|
|
1052
|
+
}
|
|
1053
|
+
}, "anonymous"),
|
|
1054
|
+
rules: [
|
|
1055
|
+
/^(?:click\b)/i,
|
|
1056
|
+
/^(?:href\b)/i,
|
|
1057
|
+
/^(?:"[^"]*")/i,
|
|
1058
|
+
/^(?:default\b)/i,
|
|
1059
|
+
/^(?:.*direction\s+TB[^\n]*)/i,
|
|
1060
|
+
/^(?:.*direction\s+BT[^\n]*)/i,
|
|
1061
|
+
/^(?:.*direction\s+RL[^\n]*)/i,
|
|
1062
|
+
/^(?:.*direction\s+LR[^\n]*)/i,
|
|
1063
|
+
/^(?:%%(?!\{)[^\n]*)/i,
|
|
1064
|
+
/^(?:[^\}]%%[^\n]*)/i,
|
|
1065
|
+
/^(?:[\n]+)/i,
|
|
1066
|
+
/^(?:[\s]+)/i,
|
|
1067
|
+
/^(?:((?!\n)\s)+)/i,
|
|
1068
|
+
/^(?:#[^\n]*)/i,
|
|
1069
|
+
/^(?:%[^\n]*)/i,
|
|
1070
|
+
/^(?:scale\s+)/i,
|
|
1071
|
+
/^(?:\d+)/i,
|
|
1072
|
+
/^(?:\s+width\b)/i,
|
|
1073
|
+
/^(?:accTitle\s*:\s*)/i,
|
|
1074
|
+
/^(?:(?!\n||)*[^\n]*)/i,
|
|
1075
|
+
/^(?:accDescr\s*:\s*)/i,
|
|
1076
|
+
/^(?:(?!\n||)*[^\n]*)/i,
|
|
1077
|
+
/^(?:accDescr\s*\{\s*)/i,
|
|
1078
|
+
/^(?:[\}])/i,
|
|
1079
|
+
/^(?:[^\}]*)/i,
|
|
1080
|
+
/^(?:classDef\s+)/i,
|
|
1081
|
+
/^(?:DEFAULT\s+)/i,
|
|
1082
|
+
/^(?:\w+\s+)/i,
|
|
1083
|
+
/^(?:[^\n]*)/i,
|
|
1084
|
+
/^(?:class\s+)/i,
|
|
1085
|
+
/^(?:(\w+)+((,\s*\w+)*))/i,
|
|
1086
|
+
/^(?:[^\n]*)/i,
|
|
1087
|
+
/^(?:style\s+)/i,
|
|
1088
|
+
/^(?:[\w,]+\s+)/i,
|
|
1089
|
+
/^(?:[^\n]*)/i,
|
|
1090
|
+
/^(?:scale\s+)/i,
|
|
1091
|
+
/^(?:\d+)/i,
|
|
1092
|
+
/^(?:\s+width\b)/i,
|
|
1093
|
+
/^(?:state\s+)/i,
|
|
1094
|
+
/^(?:.*<<fork>>)/i,
|
|
1095
|
+
/^(?:.*<<join>>)/i,
|
|
1096
|
+
/^(?:.*<<choice>>)/i,
|
|
1097
|
+
/^(?:.*\[\[fork\]\])/i,
|
|
1098
|
+
/^(?:.*\[\[join\]\])/i,
|
|
1099
|
+
/^(?:.*\[\[choice\]\])/i,
|
|
1100
|
+
/^(?:.*direction\s+TB[^\n]*)/i,
|
|
1101
|
+
/^(?:.*direction\s+BT[^\n]*)/i,
|
|
1102
|
+
/^(?:.*direction\s+RL[^\n]*)/i,
|
|
1103
|
+
/^(?:.*direction\s+LR[^\n]*)/i,
|
|
1104
|
+
/^(?:["])/i,
|
|
1105
|
+
/^(?:\s*as\s+)/i,
|
|
1106
|
+
/^(?:[^\n\{]*)/i,
|
|
1107
|
+
/^(?:["])/i,
|
|
1108
|
+
/^(?:[^"]*)/i,
|
|
1109
|
+
/^(?:[^\n\s\{]+)/i,
|
|
1110
|
+
/^(?:\n)/i,
|
|
1111
|
+
/^(?:\{)/i,
|
|
1112
|
+
/^(?:%%(?!\{)[^\n]*)/i,
|
|
1113
|
+
/^(?:\})/i,
|
|
1114
|
+
/^(?:[\n])/i,
|
|
1115
|
+
/^(?:note\s+)/i,
|
|
1116
|
+
/^(?:left of\b)/i,
|
|
1117
|
+
/^(?:right of\b)/i,
|
|
1118
|
+
/^(?:")/i,
|
|
1119
|
+
/^(?:\s*as\s*)/i,
|
|
1120
|
+
/^(?:["])/i,
|
|
1121
|
+
/^(?:[^"]*)/i,
|
|
1122
|
+
/^(?:[^\n]*)/i,
|
|
1123
|
+
/^(?:\s*[^:\n\s\-]+)/i,
|
|
1124
|
+
/^(?:\s*:[^:\n;]+)/i,
|
|
1125
|
+
/^(?:[\s\S]*?end note\b)/i,
|
|
1126
|
+
/^(?:stateDiagram\s+)/i,
|
|
1127
|
+
/^(?:stateDiagram-v2\s+)/i,
|
|
1128
|
+
/^(?:hide empty description\b)/i,
|
|
1129
|
+
/^(?:\[\*\])/i,
|
|
1130
|
+
/^(?:[^:\n\s\-\{]+)/i,
|
|
1131
|
+
/^(?:\s*:(?:[^:\n;]|:[^:\n;])+)/i,
|
|
1132
|
+
/^(?:-->)/i,
|
|
1133
|
+
/^(?:--)/i,
|
|
1134
|
+
/^(?::::)/i,
|
|
1135
|
+
/^(?:$)/i,
|
|
1136
|
+
/^(?:.)/i
|
|
1137
|
+
],
|
|
1138
|
+
conditions: {
|
|
1139
|
+
LINE: {
|
|
1140
|
+
rules: [12, 13],
|
|
1141
|
+
inclusive: !1
|
|
1142
|
+
},
|
|
1143
|
+
struct: {
|
|
1144
|
+
rules: [
|
|
1145
|
+
12,
|
|
1146
|
+
13,
|
|
1147
|
+
25,
|
|
1148
|
+
29,
|
|
1149
|
+
32,
|
|
1150
|
+
38,
|
|
1151
|
+
45,
|
|
1152
|
+
46,
|
|
1153
|
+
47,
|
|
1154
|
+
48,
|
|
1155
|
+
57,
|
|
1156
|
+
58,
|
|
1157
|
+
59,
|
|
1158
|
+
60,
|
|
1159
|
+
74,
|
|
1160
|
+
75,
|
|
1161
|
+
76,
|
|
1162
|
+
77,
|
|
1163
|
+
78,
|
|
1164
|
+
79
|
|
1165
|
+
],
|
|
1166
|
+
inclusive: !1
|
|
1167
|
+
},
|
|
1168
|
+
FLOATING_NOTE_ID: {
|
|
1169
|
+
rules: [67],
|
|
1170
|
+
inclusive: !1
|
|
1171
|
+
},
|
|
1172
|
+
FLOATING_NOTE: {
|
|
1173
|
+
rules: [
|
|
1174
|
+
64,
|
|
1175
|
+
65,
|
|
1176
|
+
66
|
|
1177
|
+
],
|
|
1178
|
+
inclusive: !1
|
|
1179
|
+
},
|
|
1180
|
+
NOTE_TEXT: {
|
|
1181
|
+
rules: [69, 70],
|
|
1182
|
+
inclusive: !1
|
|
1183
|
+
},
|
|
1184
|
+
NOTE_ID: {
|
|
1185
|
+
rules: [68],
|
|
1186
|
+
inclusive: !1
|
|
1187
|
+
},
|
|
1188
|
+
NOTE: {
|
|
1189
|
+
rules: [
|
|
1190
|
+
61,
|
|
1191
|
+
62,
|
|
1192
|
+
63
|
|
1193
|
+
],
|
|
1194
|
+
inclusive: !1
|
|
1195
|
+
},
|
|
1196
|
+
STYLEDEF_STYLEOPTS: {
|
|
1197
|
+
rules: [],
|
|
1198
|
+
inclusive: !1
|
|
1199
|
+
},
|
|
1200
|
+
STYLEDEF_STYLES: {
|
|
1201
|
+
rules: [34],
|
|
1202
|
+
inclusive: !1
|
|
1203
|
+
},
|
|
1204
|
+
STYLE_IDS: {
|
|
1205
|
+
rules: [],
|
|
1206
|
+
inclusive: !1
|
|
1207
|
+
},
|
|
1208
|
+
STYLE: {
|
|
1209
|
+
rules: [33],
|
|
1210
|
+
inclusive: !1
|
|
1211
|
+
},
|
|
1212
|
+
CLASS_STYLE: {
|
|
1213
|
+
rules: [31],
|
|
1214
|
+
inclusive: !1
|
|
1215
|
+
},
|
|
1216
|
+
CLASS: {
|
|
1217
|
+
rules: [30],
|
|
1218
|
+
inclusive: !1
|
|
1219
|
+
},
|
|
1220
|
+
CLASSDEFID: {
|
|
1221
|
+
rules: [28],
|
|
1222
|
+
inclusive: !1
|
|
1223
|
+
},
|
|
1224
|
+
CLASSDEF: {
|
|
1225
|
+
rules: [26, 27],
|
|
1226
|
+
inclusive: !1
|
|
1227
|
+
},
|
|
1228
|
+
acc_descr_multiline: {
|
|
1229
|
+
rules: [23, 24],
|
|
1230
|
+
inclusive: !1
|
|
1231
|
+
},
|
|
1232
|
+
acc_descr: {
|
|
1233
|
+
rules: [21],
|
|
1234
|
+
inclusive: !1
|
|
1235
|
+
},
|
|
1236
|
+
acc_title: {
|
|
1237
|
+
rules: [19],
|
|
1238
|
+
inclusive: !1
|
|
1239
|
+
},
|
|
1240
|
+
SCALE: {
|
|
1241
|
+
rules: [
|
|
1242
|
+
16,
|
|
1243
|
+
17,
|
|
1244
|
+
36,
|
|
1245
|
+
37
|
|
1246
|
+
],
|
|
1247
|
+
inclusive: !1
|
|
1248
|
+
},
|
|
1249
|
+
ALIAS: {
|
|
1250
|
+
rules: [],
|
|
1251
|
+
inclusive: !1
|
|
1252
|
+
},
|
|
1253
|
+
STATE_ID: {
|
|
1254
|
+
rules: [51],
|
|
1255
|
+
inclusive: !1
|
|
1256
|
+
},
|
|
1257
|
+
STATE_STRING: {
|
|
1258
|
+
rules: [52, 53],
|
|
1259
|
+
inclusive: !1
|
|
1260
|
+
},
|
|
1261
|
+
FORK_STATE: {
|
|
1262
|
+
rules: [],
|
|
1263
|
+
inclusive: !1
|
|
1264
|
+
},
|
|
1265
|
+
STATE: {
|
|
1266
|
+
rules: [
|
|
1267
|
+
12,
|
|
1268
|
+
13,
|
|
1269
|
+
39,
|
|
1270
|
+
40,
|
|
1271
|
+
41,
|
|
1272
|
+
42,
|
|
1273
|
+
43,
|
|
1274
|
+
44,
|
|
1275
|
+
49,
|
|
1276
|
+
50,
|
|
1277
|
+
54,
|
|
1278
|
+
55,
|
|
1279
|
+
56
|
|
1280
|
+
],
|
|
1281
|
+
inclusive: !1
|
|
1282
|
+
},
|
|
1283
|
+
ID: {
|
|
1284
|
+
rules: [12, 13],
|
|
1285
|
+
inclusive: !1
|
|
1286
|
+
},
|
|
1287
|
+
INITIAL: {
|
|
1288
|
+
rules: [
|
|
1289
|
+
0,
|
|
1290
|
+
1,
|
|
1291
|
+
2,
|
|
1292
|
+
3,
|
|
1293
|
+
4,
|
|
1294
|
+
5,
|
|
1295
|
+
6,
|
|
1296
|
+
7,
|
|
1297
|
+
8,
|
|
1298
|
+
9,
|
|
1299
|
+
10,
|
|
1300
|
+
11,
|
|
1301
|
+
13,
|
|
1302
|
+
14,
|
|
1303
|
+
15,
|
|
1304
|
+
18,
|
|
1305
|
+
20,
|
|
1306
|
+
22,
|
|
1307
|
+
25,
|
|
1308
|
+
29,
|
|
1309
|
+
32,
|
|
1310
|
+
35,
|
|
1311
|
+
38,
|
|
1312
|
+
56,
|
|
1313
|
+
60,
|
|
1314
|
+
71,
|
|
1315
|
+
72,
|
|
1316
|
+
73,
|
|
1317
|
+
74,
|
|
1318
|
+
75,
|
|
1319
|
+
76,
|
|
1320
|
+
77,
|
|
1321
|
+
79,
|
|
1322
|
+
80,
|
|
1323
|
+
81
|
|
1324
|
+
],
|
|
1325
|
+
inclusive: !0
|
|
1326
|
+
}
|
|
1327
|
+
}
|
|
1328
|
+
};
|
|
1329
|
+
})();
|
|
1330
|
+
function P() {
|
|
1331
|
+
this.yy = {};
|
|
1332
|
+
}
|
|
1333
|
+
return e(P, "Parser"), P.prototype = N, N.Parser = P, new P();
|
|
1334
|
+
})();
|
|
1335
|
+
g.parser = g;
|
|
1336
|
+
var _ = g, v = "TB", y = "TB", b = "dir", x = "state", S = "root", C = "relation", w = "classDef", T = "style", E = "applyClass", D = "default", O = "divider", k = "fill:none", A = "fill: #333", j = "c", M = "markdown", N = "normal", P = "rect", F = "rectWithTitle", ee = "stateStart", te = "stateEnd", I = "divider", L = "roundedWithTitle", ne = "note", re = "noteGroup", R = "statediagram", ie = `${R}-state`, ae = "transition", oe = "note", se = `${ae} note-edge`, ce = `${R}-${oe}`, le = `${R}-cluster`, ue = `${R}-cluster-alt`, z = "parent", B = "note", de = "state", V = "----", fe = `${V}${B}`, H = `${V}${z}`, U = /* @__PURE__ */ e((e, t = y) => {
|
|
1337
|
+
if (!e.doc) return t;
|
|
1338
|
+
let n = t;
|
|
1339
|
+
for (let t of e.doc) t.stmt === "dir" && (n = t.value);
|
|
1340
|
+
return n;
|
|
1341
|
+
}, "getDir"), pe = {
|
|
1342
|
+
getClasses: /* @__PURE__ */ e(function(e, t) {
|
|
1343
|
+
return t.db.getClasses();
|
|
1344
|
+
}, "getClasses"),
|
|
1345
|
+
draw: /* @__PURE__ */ e(async function(e, n, r, i) {
|
|
1346
|
+
t.info("REF0:"), t.info("Drawing state diagram (v2)", n);
|
|
1347
|
+
let { securityLevel: a, state: s, layout: c } = o();
|
|
1348
|
+
i.db.extract(i.db.getRootDocV2());
|
|
1349
|
+
let l = i.db.getData(), u = m(n, a);
|
|
1350
|
+
l.type = i.type, l.layoutAlgorithm = c, l.nodeSpacing = s?.nodeSpacing || 50, l.rankSpacing = s?.rankSpacing || 50, o().look === "neo" ? l.markers = ["barbNeo"] : l.markers = ["barb"], l.diagramId = n, await p(l, u);
|
|
1351
|
+
try {
|
|
1352
|
+
(typeof i.db.getLinks == "function" ? i.db.getLinks() : /* @__PURE__ */ new Map()).forEach((e, n) => {
|
|
1353
|
+
let r = typeof n == "string" ? n : typeof n?.id == "string" ? n.id : "";
|
|
1354
|
+
if (!r) {
|
|
1355
|
+
t.warn("⚠️ Invalid or missing stateId from key:", JSON.stringify(n));
|
|
1356
|
+
return;
|
|
1357
|
+
}
|
|
1358
|
+
let i = u.node()?.querySelectorAll("g"), a;
|
|
1359
|
+
if (i?.forEach((e) => {
|
|
1360
|
+
e.textContent?.trim() === r && (a = e);
|
|
1361
|
+
}), !a) {
|
|
1362
|
+
t.warn("⚠️ Could not find node matching text:", r);
|
|
1363
|
+
return;
|
|
1364
|
+
}
|
|
1365
|
+
let o = a.parentNode;
|
|
1366
|
+
if (!o) {
|
|
1367
|
+
t.warn("⚠️ Node has no parent, cannot wrap:", r);
|
|
1368
|
+
return;
|
|
1369
|
+
}
|
|
1370
|
+
let s = document.createElementNS("http://www.w3.org/2000/svg", "a"), c = e.url.replace(/^"+|"+$/g, "");
|
|
1371
|
+
if (s.setAttributeNS("http://www.w3.org/1999/xlink", "xlink:href", c), s.setAttribute("target", "_blank"), e.tooltip) {
|
|
1372
|
+
let t = e.tooltip.replace(/^"+|"+$/g, "");
|
|
1373
|
+
s.setAttribute("title", t);
|
|
1374
|
+
}
|
|
1375
|
+
o.replaceChild(s, a), s.appendChild(a), t.info("🔗 Wrapped node in <a> tag for:", r, e.url);
|
|
1376
|
+
});
|
|
1377
|
+
} catch (e) {
|
|
1378
|
+
t.error("❌ Error injecting clickable links:", e);
|
|
1379
|
+
}
|
|
1380
|
+
f.insertTitle(u, "statediagramTitleText", s?.titleTopMargin ?? 25, i.db.getDiagramTitle()), h(u, 8, R, s?.useMaxWidth ?? !0);
|
|
1381
|
+
}, "draw"),
|
|
1382
|
+
getDir: U
|
|
1383
|
+
}, W = /* @__PURE__ */ new Map(), G = 0;
|
|
1384
|
+
function K(e = "", t = 0, n = "", r = V) {
|
|
1385
|
+
return `${de}-${e}${n !== null && n.length > 0 ? `${r}${n}` : ""}-${t}`;
|
|
1386
|
+
}
|
|
1387
|
+
e(K, "stateDomId");
|
|
1388
|
+
var me = /* @__PURE__ */ e((e, n, i, a, s, c, l, u) => {
|
|
1389
|
+
t.trace("items", n), n.forEach((t) => {
|
|
1390
|
+
switch (t.stmt) {
|
|
1391
|
+
case x:
|
|
1392
|
+
X(e, t, i, a, s, c, l, u);
|
|
1393
|
+
break;
|
|
1394
|
+
case D:
|
|
1395
|
+
X(e, t, i, a, s, c, l, u);
|
|
1396
|
+
break;
|
|
1397
|
+
case C:
|
|
1398
|
+
{
|
|
1399
|
+
X(e, t.state1, i, a, s, c, l, u), X(e, t.state2, i, a, s, c, l, u);
|
|
1400
|
+
let n = l === "neo", d = {
|
|
1401
|
+
id: "edge" + G,
|
|
1402
|
+
start: t.state1.id,
|
|
1403
|
+
end: t.state2.id,
|
|
1404
|
+
arrowhead: "normal",
|
|
1405
|
+
arrowTypeEnd: n ? "arrow_barb_neo" : "arrow_barb",
|
|
1406
|
+
style: k,
|
|
1407
|
+
labelStyle: "",
|
|
1408
|
+
label: r.sanitizeText(t.description ?? "", o()),
|
|
1409
|
+
arrowheadStyle: A,
|
|
1410
|
+
labelpos: j,
|
|
1411
|
+
labelType: M,
|
|
1412
|
+
thickness: N,
|
|
1413
|
+
classes: ae,
|
|
1414
|
+
look: l
|
|
1415
|
+
};
|
|
1416
|
+
s.push(d), G++;
|
|
1417
|
+
}
|
|
1418
|
+
break;
|
|
1419
|
+
}
|
|
1420
|
+
});
|
|
1421
|
+
}, "setupDoc"), q = /* @__PURE__ */ e((e, t = y) => {
|
|
1422
|
+
let n = t;
|
|
1423
|
+
if (e.doc) for (let t of e.doc) t.stmt === "dir" && (n = t.value);
|
|
1424
|
+
return n;
|
|
1425
|
+
}, "getDir");
|
|
1426
|
+
function J(e, t, n) {
|
|
1427
|
+
if (!t.id || t.id === "</join></fork>" || t.id === "</choice>") return;
|
|
1428
|
+
t.cssClasses && (Array.isArray(t.cssCompiledStyles) || (t.cssCompiledStyles = []), t.cssClasses.split(" ").forEach((e) => {
|
|
1429
|
+
let r = n.get(e);
|
|
1430
|
+
r && (t.cssCompiledStyles = [...t.cssCompiledStyles ?? [], ...r.styles]);
|
|
1431
|
+
}));
|
|
1432
|
+
let r = e.find((e) => e.id === t.id);
|
|
1433
|
+
r ? Object.assign(r, t) : e.push(t);
|
|
1434
|
+
}
|
|
1435
|
+
e(J, "insertOrUpdateNode");
|
|
1436
|
+
function Y(e) {
|
|
1437
|
+
return e?.classes?.join(" ") ?? "";
|
|
1438
|
+
}
|
|
1439
|
+
e(Y, "getClassesFromDbInfo");
|
|
1440
|
+
function he(e) {
|
|
1441
|
+
return e?.styles ?? [];
|
|
1442
|
+
}
|
|
1443
|
+
e(he, "getStylesFromDbInfo");
|
|
1444
|
+
var X = /* @__PURE__ */ e((e, n, i, a, s, c, l, u) => {
|
|
1445
|
+
let d = n.id, f = i.get(d), p = Y(f), m = he(f), h = o();
|
|
1446
|
+
if (t.info("dataFetcher parsedItem", n, f, m), d !== "root") {
|
|
1447
|
+
let i = P;
|
|
1448
|
+
n.start === !0 ? i = ee : n.start === !1 && (i = te), n.type !== D && (i = n.type), W.get(d) || W.set(d, {
|
|
1449
|
+
id: d,
|
|
1450
|
+
shape: i,
|
|
1451
|
+
description: r.sanitizeText(d, h),
|
|
1452
|
+
cssClasses: `${p} ${ie}`,
|
|
1453
|
+
cssStyles: m
|
|
1454
|
+
});
|
|
1455
|
+
let o = W.get(d);
|
|
1456
|
+
n.description && (Array.isArray(o.description) ? (o.shape = F, o.description.push(n.description)) : o.description?.length && o.description.length > 0 ? (o.shape = F, o.description === d ? o.description = [n.description] : o.description = [o.description, n.description]) : (o.shape = P, o.description = n.description), o.description = r.sanitizeTextOrArray(o.description, h)), o.description?.length === 1 && o.shape === F && (o.type === "group" ? o.shape = L : o.shape = P), !o.type && n.doc && (t.info("Setting cluster for XCX", d, q(n)), o.type = "group", o.isGroup = !0, o.dir = q(n), o.shape = n.type === O ? I : L, o.cssClasses = `${o.cssClasses} ${le} ${c ? ue : ""}`);
|
|
1457
|
+
let f = {
|
|
1458
|
+
labelStyle: "",
|
|
1459
|
+
shape: o.shape,
|
|
1460
|
+
label: o.description,
|
|
1461
|
+
cssClasses: o.cssClasses,
|
|
1462
|
+
cssCompiledStyles: [],
|
|
1463
|
+
cssStyles: o.cssStyles,
|
|
1464
|
+
id: d,
|
|
1465
|
+
dir: o.dir,
|
|
1466
|
+
domId: K(d, G),
|
|
1467
|
+
type: o.type,
|
|
1468
|
+
isGroup: o.type === "group",
|
|
1469
|
+
padding: 8,
|
|
1470
|
+
rx: 10,
|
|
1471
|
+
ry: 10,
|
|
1472
|
+
look: l,
|
|
1473
|
+
labelType: "markdown"
|
|
1474
|
+
};
|
|
1475
|
+
if (f.shape === I && (f.label = ""), e && e.id !== "root" && (t.trace("Setting node ", d, " to be child of its parent ", e.id), f.parentId = e.id), f.centerLabel = !0, n.note) {
|
|
1476
|
+
let e = {
|
|
1477
|
+
labelStyle: "",
|
|
1478
|
+
shape: ne,
|
|
1479
|
+
label: n.note.text,
|
|
1480
|
+
labelType: "markdown",
|
|
1481
|
+
cssClasses: ce,
|
|
1482
|
+
cssStyles: [],
|
|
1483
|
+
cssCompiledStyles: [],
|
|
1484
|
+
id: d + fe + "-" + G,
|
|
1485
|
+
domId: K(d, G, B),
|
|
1486
|
+
type: o.type,
|
|
1487
|
+
isGroup: o.type === "group",
|
|
1488
|
+
padding: h.flowchart?.padding,
|
|
1489
|
+
look: l,
|
|
1490
|
+
position: n.note.position
|
|
1491
|
+
}, t = d + H, r = {
|
|
1492
|
+
labelStyle: "",
|
|
1493
|
+
shape: re,
|
|
1494
|
+
label: n.note.text,
|
|
1495
|
+
cssClasses: o.cssClasses,
|
|
1496
|
+
cssStyles: [],
|
|
1497
|
+
id: d + H,
|
|
1498
|
+
domId: K(d, G, z),
|
|
1499
|
+
type: "group",
|
|
1500
|
+
isGroup: !0,
|
|
1501
|
+
padding: 16,
|
|
1502
|
+
look: l,
|
|
1503
|
+
position: n.note.position
|
|
1504
|
+
};
|
|
1505
|
+
G++, r.id = t, e.parentId = t, J(a, r, u), J(a, e, u), J(a, f, u);
|
|
1506
|
+
let i = d, c = e.id;
|
|
1507
|
+
n.note.position === "left of" && (i = e.id, c = d), s.push({
|
|
1508
|
+
id: i + "-" + c,
|
|
1509
|
+
start: i,
|
|
1510
|
+
end: c,
|
|
1511
|
+
arrowhead: "none",
|
|
1512
|
+
arrowTypeEnd: "",
|
|
1513
|
+
style: k,
|
|
1514
|
+
labelStyle: "",
|
|
1515
|
+
classes: se,
|
|
1516
|
+
arrowheadStyle: A,
|
|
1517
|
+
labelpos: j,
|
|
1518
|
+
labelType: M,
|
|
1519
|
+
thickness: N,
|
|
1520
|
+
look: l
|
|
1521
|
+
});
|
|
1522
|
+
} else J(a, f, u);
|
|
1523
|
+
}
|
|
1524
|
+
n.doc && (t.trace("Adding nodes children "), me(n, n.doc, i, a, s, !c, l, u));
|
|
1525
|
+
}, "dataFetcher"), ge = /* @__PURE__ */ e(() => {
|
|
1526
|
+
W.clear(), G = 0;
|
|
1527
|
+
}, "reset"), Z = {
|
|
1528
|
+
START_NODE: "[*]",
|
|
1529
|
+
START_TYPE: "start",
|
|
1530
|
+
END_NODE: "[*]",
|
|
1531
|
+
END_TYPE: "end",
|
|
1532
|
+
COLOR_KEYWORD: "color",
|
|
1533
|
+
FILL_KEYWORD: "fill",
|
|
1534
|
+
BG_FILL: "bgFill",
|
|
1535
|
+
STYLECLASS_SEP: ","
|
|
1536
|
+
}, _e = /* @__PURE__ */ e(() => /* @__PURE__ */ new Map(), "newClassesList"), Q = /* @__PURE__ */ e(() => ({
|
|
1537
|
+
relations: [],
|
|
1538
|
+
states: /* @__PURE__ */ new Map(),
|
|
1539
|
+
documents: {}
|
|
1540
|
+
}), "newDoc"), $ = /* @__PURE__ */ e((e) => JSON.parse(JSON.stringify(e)), "clone"), ve = class {
|
|
1541
|
+
constructor(e) {
|
|
1542
|
+
this.version = e, this.nodes = [], this.edges = [], this.rootDoc = [], this.classes = _e(), this.documents = { root: Q() }, this.currentDocument = this.documents.root, this.startEndCount = 0, this.dividerCnt = 0, this.links = /* @__PURE__ */ new Map(), this.getAccTitle = a, this.setAccTitle = l, this.getAccDescription = i, this.setAccDescription = c, this.setDiagramTitle = u, this.getDiagramTitle = s, 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);
|
|
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
|
+
};
|
|
1554
|
+
}
|
|
1555
|
+
extract(e) {
|
|
1556
|
+
this.clear(!0);
|
|
1557
|
+
for (let t of Array.isArray(e) ? e : e.doc) switch (t.stmt) {
|
|
1558
|
+
case x:
|
|
1559
|
+
this.addState(t.id.trim(), t.type, t.doc, t.description, t.note);
|
|
1560
|
+
break;
|
|
1561
|
+
case C:
|
|
1562
|
+
this.addRelation(t.state1, t.state2, t.description);
|
|
1563
|
+
break;
|
|
1564
|
+
case w:
|
|
1565
|
+
this.addStyleClass(t.id.trim(), t.classes);
|
|
1566
|
+
break;
|
|
1567
|
+
case T:
|
|
1568
|
+
this.handleStyleDef(t);
|
|
1569
|
+
break;
|
|
1570
|
+
case E:
|
|
1571
|
+
this.setCssClass(t.id.trim(), t.styleClass);
|
|
1572
|
+
break;
|
|
1573
|
+
case "click":
|
|
1574
|
+
this.addLink(t.id, t.url, t.tooltip);
|
|
1575
|
+
break;
|
|
1576
|
+
}
|
|
1577
|
+
let t = this.getStates(), n = o();
|
|
1578
|
+
ge(), X(void 0, this.getRootDocV2(), t, this.nodes, this.edges, !0, n.look, this.classes);
|
|
1579
|
+
for (let e of this.nodes) if (Array.isArray(e.label)) {
|
|
1580
|
+
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
|
+
e.label = e.label[0];
|
|
1582
|
+
}
|
|
1583
|
+
}
|
|
1584
|
+
handleStyleDef(e) {
|
|
1585
|
+
let t = e.id.trim().split(","), n = e.styleClass.split(",");
|
|
1586
|
+
for (let e of t) {
|
|
1587
|
+
let t = this.getState(e);
|
|
1588
|
+
if (!t) {
|
|
1589
|
+
let n = e.trim();
|
|
1590
|
+
this.addState(n), t = this.getState(n);
|
|
1591
|
+
}
|
|
1592
|
+
t && (t.styles = n.map((e) => e.replace(/;/g, "")?.trim()));
|
|
1593
|
+
}
|
|
1594
|
+
}
|
|
1595
|
+
setRootDoc(e) {
|
|
1596
|
+
t.info("Setting root doc", e), this.rootDoc = e, this.version === 1 ? this.extract(e) : this.extract(this.getRootDocV2());
|
|
1597
|
+
}
|
|
1598
|
+
docTranslator(e, t, n) {
|
|
1599
|
+
if (t.stmt === C) {
|
|
1600
|
+
this.docTranslator(e, t.state1, !0), this.docTranslator(e, t.state2, !1);
|
|
1601
|
+
return;
|
|
1602
|
+
}
|
|
1603
|
+
if (t.stmt === x && (t.id === Z.START_NODE ? (t.id = e.id + (n ? "_start" : "_end"), t.start = n) : t.id = t.id.trim()), t.stmt !== S && t.stmt !== x || !t.doc) return;
|
|
1604
|
+
let r = [], i = [];
|
|
1605
|
+
for (let e of t.doc) if (e.type === O) {
|
|
1606
|
+
let t = $(e);
|
|
1607
|
+
t.doc = $(i), r.push(t), i = [];
|
|
1608
|
+
} else i.push(e);
|
|
1609
|
+
if (r.length > 0 && i.length > 0) {
|
|
1610
|
+
let e = {
|
|
1611
|
+
stmt: x,
|
|
1612
|
+
id: d(),
|
|
1613
|
+
type: "divider",
|
|
1614
|
+
doc: $(i)
|
|
1615
|
+
};
|
|
1616
|
+
r.push($(e)), t.doc = r;
|
|
1617
|
+
}
|
|
1618
|
+
t.doc.forEach((e) => this.docTranslator(t, e, !0));
|
|
1619
|
+
}
|
|
1620
|
+
getRootDocV2() {
|
|
1621
|
+
return this.docTranslator({
|
|
1622
|
+
id: S,
|
|
1623
|
+
stmt: S
|
|
1624
|
+
}, {
|
|
1625
|
+
id: S,
|
|
1626
|
+
stmt: S,
|
|
1627
|
+
doc: this.rootDoc
|
|
1628
|
+
}, !0), {
|
|
1629
|
+
id: S,
|
|
1630
|
+
doc: this.rootDoc
|
|
1631
|
+
};
|
|
1632
|
+
}
|
|
1633
|
+
addState(e, n = D, i = void 0, a = void 0, s = void 0, c = void 0, l = void 0, u = void 0) {
|
|
1634
|
+
let d = e?.trim();
|
|
1635
|
+
if (!this.currentDocument.states.has(d)) t.info("Adding state ", d, a), this.currentDocument.states.set(d, {
|
|
1636
|
+
stmt: x,
|
|
1637
|
+
id: d,
|
|
1638
|
+
descriptions: [],
|
|
1639
|
+
type: n,
|
|
1640
|
+
doc: i,
|
|
1641
|
+
note: s,
|
|
1642
|
+
classes: [],
|
|
1643
|
+
styles: [],
|
|
1644
|
+
textStyles: []
|
|
1645
|
+
});
|
|
1646
|
+
else {
|
|
1647
|
+
let e = this.currentDocument.states.get(d);
|
|
1648
|
+
if (!e) throw Error(`State not found: ${d}`);
|
|
1649
|
+
e.doc ||= i, e.type ||= n;
|
|
1650
|
+
}
|
|
1651
|
+
if (a && (t.info("Setting state description", d, a), (Array.isArray(a) ? a : [a]).forEach((e) => this.addDescription(d, e.trim()))), s) {
|
|
1652
|
+
let e = this.currentDocument.states.get(d);
|
|
1653
|
+
if (!e) throw Error(`State not found: ${d}`);
|
|
1654
|
+
e.note = s, e.note.text = r.sanitizeText(e.note.text, o());
|
|
1655
|
+
}
|
|
1656
|
+
c && (t.info("Setting state classes", d, c), (Array.isArray(c) ? c : [c]).forEach((e) => this.setCssClass(d, e.trim()))), l && (t.info("Setting state styles", d, l), (Array.isArray(l) ? l : [l]).forEach((e) => this.setStyle(d, e.trim()))), u && (t.info("Setting state styles", d, l), (Array.isArray(u) ? u : [u]).forEach((e) => this.setTextStyle(d, e.trim())));
|
|
1657
|
+
}
|
|
1658
|
+
clear(e) {
|
|
1659
|
+
this.nodes = [], this.edges = [], this.documents = { root: Q() }, this.currentDocument = this.documents.root, this.startEndCount = 0, this.classes = _e(), e || (this.links = /* @__PURE__ */ new Map(), n());
|
|
1660
|
+
}
|
|
1661
|
+
getState(e) {
|
|
1662
|
+
return this.currentDocument.states.get(e);
|
|
1663
|
+
}
|
|
1664
|
+
getStates() {
|
|
1665
|
+
return this.currentDocument.states;
|
|
1666
|
+
}
|
|
1667
|
+
logDocuments() {
|
|
1668
|
+
t.info("Documents = ", this.documents);
|
|
1669
|
+
}
|
|
1670
|
+
getRelations() {
|
|
1671
|
+
return this.currentDocument.relations;
|
|
1672
|
+
}
|
|
1673
|
+
addLink(e, n, r) {
|
|
1674
|
+
this.links.set(e, {
|
|
1675
|
+
url: n,
|
|
1676
|
+
tooltip: r
|
|
1677
|
+
}), t.warn("Adding link", e, n, r);
|
|
1678
|
+
}
|
|
1679
|
+
getLinks() {
|
|
1680
|
+
return this.links;
|
|
1681
|
+
}
|
|
1682
|
+
startIdIfNeeded(e = "") {
|
|
1683
|
+
return e === Z.START_NODE ? (this.startEndCount++, `${Z.START_TYPE}${this.startEndCount}`) : e;
|
|
1684
|
+
}
|
|
1685
|
+
startTypeIfNeeded(e = "", t = D) {
|
|
1686
|
+
return e === Z.START_NODE ? Z.START_TYPE : t;
|
|
1687
|
+
}
|
|
1688
|
+
endIdIfNeeded(e = "") {
|
|
1689
|
+
return e === Z.END_NODE ? (this.startEndCount++, `${Z.END_TYPE}${this.startEndCount}`) : e;
|
|
1690
|
+
}
|
|
1691
|
+
endTypeIfNeeded(e = "", t = D) {
|
|
1692
|
+
return e === Z.END_NODE ? Z.END_TYPE : t;
|
|
1693
|
+
}
|
|
1694
|
+
addRelationObjs(e, t, n = "") {
|
|
1695
|
+
let i = this.startIdIfNeeded(e.id.trim()), a = this.startTypeIfNeeded(e.id.trim(), e.type), s = this.startIdIfNeeded(t.id.trim()), c = this.startTypeIfNeeded(t.id.trim(), t.type);
|
|
1696
|
+
this.addState(i, a, e.doc, e.description, e.note, e.classes, e.styles, e.textStyles), this.addState(s, c, t.doc, t.description, t.note, t.classes, t.styles, t.textStyles), this.currentDocument.relations.push({
|
|
1697
|
+
id1: i,
|
|
1698
|
+
id2: s,
|
|
1699
|
+
relationTitle: r.sanitizeText(n, o())
|
|
1700
|
+
});
|
|
1701
|
+
}
|
|
1702
|
+
addRelation(e, t, n) {
|
|
1703
|
+
if (typeof e == "object" && typeof t == "object") this.addRelationObjs(e, t, n);
|
|
1704
|
+
else if (typeof e == "string" && typeof t == "string") {
|
|
1705
|
+
let i = this.startIdIfNeeded(e.trim()), a = this.startTypeIfNeeded(e), s = this.endIdIfNeeded(t.trim()), c = this.endTypeIfNeeded(t);
|
|
1706
|
+
this.addState(i, a), this.addState(s, c), this.currentDocument.relations.push({
|
|
1707
|
+
id1: i,
|
|
1708
|
+
id2: s,
|
|
1709
|
+
relationTitle: n ? r.sanitizeText(n, o()) : void 0
|
|
1710
|
+
});
|
|
1711
|
+
}
|
|
1712
|
+
}
|
|
1713
|
+
addDescription(e, t) {
|
|
1714
|
+
let n = this.currentDocument.states.get(e), i = t.startsWith(":") ? t.replace(":", "").trim() : t;
|
|
1715
|
+
n?.descriptions?.push(r.sanitizeText(i, o()));
|
|
1716
|
+
}
|
|
1717
|
+
cleanupLabel(e) {
|
|
1718
|
+
return e.startsWith(":") ? e.slice(2).trim() : e.trim();
|
|
1719
|
+
}
|
|
1720
|
+
getDividerId() {
|
|
1721
|
+
return this.dividerCnt++, `divider-id-${this.dividerCnt}`;
|
|
1722
|
+
}
|
|
1723
|
+
addStyleClass(e, t = "") {
|
|
1724
|
+
this.classes.has(e) || this.classes.set(e, {
|
|
1725
|
+
id: e,
|
|
1726
|
+
styles: [],
|
|
1727
|
+
textStyles: []
|
|
1728
|
+
});
|
|
1729
|
+
let n = this.classes.get(e);
|
|
1730
|
+
t && n && t.split(Z.STYLECLASS_SEP).forEach((e) => {
|
|
1731
|
+
let t = e.replace(/([^;]*);/, "$1").trim();
|
|
1732
|
+
if (RegExp(Z.COLOR_KEYWORD).exec(e)) {
|
|
1733
|
+
let e = t.replace(Z.FILL_KEYWORD, Z.BG_FILL).replace(Z.COLOR_KEYWORD, Z.FILL_KEYWORD);
|
|
1734
|
+
n.textStyles.push(e);
|
|
1735
|
+
}
|
|
1736
|
+
n.styles.push(t);
|
|
1737
|
+
});
|
|
1738
|
+
}
|
|
1739
|
+
getClasses() {
|
|
1740
|
+
return this.classes;
|
|
1741
|
+
}
|
|
1742
|
+
setCssClass(e, t) {
|
|
1743
|
+
e.split(",").forEach((e) => {
|
|
1744
|
+
let n = this.getState(e);
|
|
1745
|
+
if (!n) {
|
|
1746
|
+
let t = e.trim();
|
|
1747
|
+
this.addState(t), n = this.getState(t);
|
|
1748
|
+
}
|
|
1749
|
+
n?.classes?.push(t);
|
|
1750
|
+
});
|
|
1751
|
+
}
|
|
1752
|
+
setStyle(e, t) {
|
|
1753
|
+
this.getState(e)?.styles?.push(t);
|
|
1754
|
+
}
|
|
1755
|
+
setTextStyle(e, t) {
|
|
1756
|
+
this.getState(e)?.textStyles?.push(t);
|
|
1757
|
+
}
|
|
1758
|
+
getDirectionStatement() {
|
|
1759
|
+
return this.rootDoc.find((e) => e.stmt === b);
|
|
1760
|
+
}
|
|
1761
|
+
getDirection() {
|
|
1762
|
+
return this.getDirectionStatement()?.value ?? v;
|
|
1763
|
+
}
|
|
1764
|
+
setDirection(e) {
|
|
1765
|
+
let t = this.getDirectionStatement();
|
|
1766
|
+
t ? t.value = e : this.rootDoc.unshift({
|
|
1767
|
+
stmt: b,
|
|
1768
|
+
value: e
|
|
1769
|
+
});
|
|
1770
|
+
}
|
|
1771
|
+
trimColon(e) {
|
|
1772
|
+
return e.startsWith(":") ? e.slice(1).trim() : e.trim();
|
|
1773
|
+
}
|
|
1774
|
+
getData() {
|
|
1775
|
+
let e = o();
|
|
1776
|
+
return {
|
|
1777
|
+
nodes: this.nodes,
|
|
1778
|
+
edges: this.edges,
|
|
1779
|
+
other: {},
|
|
1780
|
+
config: e,
|
|
1781
|
+
direction: U(this.getRootDocV2())
|
|
1782
|
+
};
|
|
1783
|
+
}
|
|
1784
|
+
getConfig() {
|
|
1785
|
+
return o().state;
|
|
1786
|
+
}
|
|
1787
|
+
}, ye = /* @__PURE__ */ e((e) => `
|
|
1788
|
+
defs [id$="-barbEnd"] {
|
|
1789
|
+
fill: ${e.transitionColor};
|
|
1790
|
+
stroke: ${e.transitionColor};
|
|
1791
|
+
}
|
|
1792
|
+
g.stateGroup text {
|
|
1793
|
+
fill: ${e.nodeBorder};
|
|
1794
|
+
stroke: none;
|
|
1795
|
+
font-size: 10px;
|
|
1796
|
+
}
|
|
1797
|
+
g.stateGroup text {
|
|
1798
|
+
fill: ${e.textColor};
|
|
1799
|
+
stroke: none;
|
|
1800
|
+
font-size: 10px;
|
|
1801
|
+
|
|
1802
|
+
}
|
|
1803
|
+
g.stateGroup .state-title {
|
|
1804
|
+
font-weight: bolder;
|
|
1805
|
+
fill: ${e.stateLabelColor};
|
|
1806
|
+
}
|
|
1807
|
+
|
|
1808
|
+
g.stateGroup rect {
|
|
1809
|
+
fill: ${e.mainBkg};
|
|
1810
|
+
stroke: ${e.nodeBorder};
|
|
1811
|
+
}
|
|
1812
|
+
|
|
1813
|
+
g.stateGroup line {
|
|
1814
|
+
stroke: ${e.lineColor};
|
|
1815
|
+
stroke-width: ${e.strokeWidth || 1};
|
|
1816
|
+
}
|
|
1817
|
+
|
|
1818
|
+
.transition {
|
|
1819
|
+
stroke: ${e.transitionColor};
|
|
1820
|
+
stroke-width: ${e.strokeWidth || 1};
|
|
1821
|
+
fill: none;
|
|
1822
|
+
}
|
|
1823
|
+
|
|
1824
|
+
.stateGroup .composit {
|
|
1825
|
+
fill: ${e.background};
|
|
1826
|
+
border-bottom: 1px
|
|
1827
|
+
}
|
|
1828
|
+
|
|
1829
|
+
.stateGroup .alt-composit {
|
|
1830
|
+
fill: #e0e0e0;
|
|
1831
|
+
border-bottom: 1px
|
|
1832
|
+
}
|
|
1833
|
+
|
|
1834
|
+
.state-note {
|
|
1835
|
+
stroke: ${e.noteBorderColor};
|
|
1836
|
+
fill: ${e.noteBkgColor};
|
|
1837
|
+
|
|
1838
|
+
text {
|
|
1839
|
+
fill: ${e.noteTextColor};
|
|
1840
|
+
stroke: none;
|
|
1841
|
+
font-size: 10px;
|
|
1842
|
+
}
|
|
1843
|
+
}
|
|
1844
|
+
|
|
1845
|
+
.stateLabel .box {
|
|
1846
|
+
stroke: none;
|
|
1847
|
+
stroke-width: 0;
|
|
1848
|
+
fill: ${e.mainBkg};
|
|
1849
|
+
opacity: 0.5;
|
|
1850
|
+
}
|
|
1851
|
+
|
|
1852
|
+
.edgeLabel .label rect {
|
|
1853
|
+
fill: ${e.labelBackgroundColor};
|
|
1854
|
+
opacity: 0.5;
|
|
1855
|
+
}
|
|
1856
|
+
.edgeLabel {
|
|
1857
|
+
background-color: ${e.edgeLabelBackground};
|
|
1858
|
+
p {
|
|
1859
|
+
background-color: ${e.edgeLabelBackground};
|
|
1860
|
+
}
|
|
1861
|
+
rect {
|
|
1862
|
+
opacity: 0.5;
|
|
1863
|
+
background-color: ${e.edgeLabelBackground};
|
|
1864
|
+
fill: ${e.edgeLabelBackground};
|
|
1865
|
+
}
|
|
1866
|
+
text-align: center;
|
|
1867
|
+
}
|
|
1868
|
+
.edgeLabel .label text {
|
|
1869
|
+
fill: ${e.transitionLabelColor || e.tertiaryTextColor};
|
|
1870
|
+
}
|
|
1871
|
+
.label div .edgeLabel {
|
|
1872
|
+
color: ${e.transitionLabelColor || e.tertiaryTextColor};
|
|
1873
|
+
}
|
|
1874
|
+
|
|
1875
|
+
.stateLabel text {
|
|
1876
|
+
fill: ${e.stateLabelColor};
|
|
1877
|
+
font-size: 10px;
|
|
1878
|
+
font-weight: bold;
|
|
1879
|
+
}
|
|
1880
|
+
|
|
1881
|
+
.node circle.state-start {
|
|
1882
|
+
fill: ${e.specialStateColor};
|
|
1883
|
+
stroke: ${e.specialStateColor};
|
|
1884
|
+
}
|
|
1885
|
+
|
|
1886
|
+
.node .fork-join {
|
|
1887
|
+
fill: ${e.specialStateColor};
|
|
1888
|
+
stroke: ${e.specialStateColor};
|
|
1889
|
+
}
|
|
1890
|
+
|
|
1891
|
+
.node circle.state-end {
|
|
1892
|
+
fill: ${e.innerEndBackground};
|
|
1893
|
+
stroke: ${e.background};
|
|
1894
|
+
stroke-width: 1.5
|
|
1895
|
+
}
|
|
1896
|
+
.end-state-inner {
|
|
1897
|
+
fill: ${e.compositeBackground || e.background};
|
|
1898
|
+
// stroke: ${e.background};
|
|
1899
|
+
stroke-width: 1.5
|
|
1900
|
+
}
|
|
1901
|
+
|
|
1902
|
+
.node rect {
|
|
1903
|
+
fill: ${e.stateBkg || e.mainBkg};
|
|
1904
|
+
stroke: ${e.stateBorder || e.nodeBorder};
|
|
1905
|
+
stroke-width: ${e.strokeWidth || 1}px;
|
|
1906
|
+
}
|
|
1907
|
+
.node polygon {
|
|
1908
|
+
fill: ${e.mainBkg};
|
|
1909
|
+
stroke: ${e.stateBorder || e.nodeBorder};;
|
|
1910
|
+
stroke-width: ${e.strokeWidth || 1}px;
|
|
1911
|
+
}
|
|
1912
|
+
[id$="-barbEnd"] {
|
|
1913
|
+
fill: ${e.lineColor};
|
|
1914
|
+
}
|
|
1915
|
+
|
|
1916
|
+
.statediagram-cluster rect {
|
|
1917
|
+
fill: ${e.compositeTitleBackground};
|
|
1918
|
+
stroke: ${e.stateBorder || e.nodeBorder};
|
|
1919
|
+
stroke-width: ${e.strokeWidth || 1}px;
|
|
1920
|
+
}
|
|
1921
|
+
|
|
1922
|
+
.cluster-label, .nodeLabel {
|
|
1923
|
+
color: ${e.stateLabelColor};
|
|
1924
|
+
// line-height: 1;
|
|
1925
|
+
}
|
|
1926
|
+
|
|
1927
|
+
.statediagram-cluster rect.outer {
|
|
1928
|
+
rx: 5px;
|
|
1929
|
+
ry: 5px;
|
|
1930
|
+
}
|
|
1931
|
+
.statediagram-state .divider {
|
|
1932
|
+
stroke: ${e.stateBorder || e.nodeBorder};
|
|
1933
|
+
}
|
|
1934
|
+
|
|
1935
|
+
.statediagram-state .title-state {
|
|
1936
|
+
rx: 5px;
|
|
1937
|
+
ry: 5px;
|
|
1938
|
+
}
|
|
1939
|
+
.statediagram-cluster.statediagram-cluster .inner {
|
|
1940
|
+
fill: ${e.compositeBackground || e.background};
|
|
1941
|
+
}
|
|
1942
|
+
.statediagram-cluster.statediagram-cluster-alt .inner {
|
|
1943
|
+
fill: ${e.altBackground ? e.altBackground : "#efefef"};
|
|
1944
|
+
}
|
|
1945
|
+
|
|
1946
|
+
.statediagram-cluster .inner {
|
|
1947
|
+
rx:0;
|
|
1948
|
+
ry:0;
|
|
1949
|
+
}
|
|
1950
|
+
|
|
1951
|
+
.statediagram-state rect.basic {
|
|
1952
|
+
rx: 5px;
|
|
1953
|
+
ry: 5px;
|
|
1954
|
+
}
|
|
1955
|
+
.statediagram-state rect.divider {
|
|
1956
|
+
stroke-dasharray: 10,10;
|
|
1957
|
+
fill: ${e.altBackground ? e.altBackground : "#efefef"};
|
|
1958
|
+
}
|
|
1959
|
+
|
|
1960
|
+
.note-edge {
|
|
1961
|
+
stroke-dasharray: 5;
|
|
1962
|
+
}
|
|
1963
|
+
|
|
1964
|
+
.statediagram-note rect {
|
|
1965
|
+
fill: ${e.noteBkgColor};
|
|
1966
|
+
stroke: ${e.noteBorderColor};
|
|
1967
|
+
stroke-width: 1px;
|
|
1968
|
+
rx: 0;
|
|
1969
|
+
ry: 0;
|
|
1970
|
+
}
|
|
1971
|
+
.statediagram-note rect {
|
|
1972
|
+
fill: ${e.noteBkgColor};
|
|
1973
|
+
stroke: ${e.noteBorderColor};
|
|
1974
|
+
stroke-width: 1px;
|
|
1975
|
+
rx: 0;
|
|
1976
|
+
ry: 0;
|
|
1977
|
+
}
|
|
1978
|
+
|
|
1979
|
+
.statediagram-note text {
|
|
1980
|
+
fill: ${e.noteTextColor};
|
|
1981
|
+
}
|
|
1982
|
+
|
|
1983
|
+
.statediagram-note .nodeLabel {
|
|
1984
|
+
color: ${e.noteTextColor};
|
|
1985
|
+
}
|
|
1986
|
+
.statediagram .edgeLabel {
|
|
1987
|
+
color: red; // ${e.noteTextColor};
|
|
1988
|
+
}
|
|
1989
|
+
|
|
1990
|
+
[id$="-dependencyStart"], [id$="-dependencyEnd"] {
|
|
1991
|
+
fill: ${e.lineColor};
|
|
1992
|
+
stroke: ${e.lineColor};
|
|
1993
|
+
stroke-width: ${e.strokeWidth || 1};
|
|
1994
|
+
}
|
|
1995
|
+
|
|
1996
|
+
.statediagramTitleText {
|
|
1997
|
+
text-anchor: middle;
|
|
1998
|
+
font-size: 18px;
|
|
1999
|
+
fill: ${e.textColor};
|
|
2000
|
+
}
|
|
2001
|
+
|
|
2002
|
+
[data-look="neo"].statediagram-cluster rect {
|
|
2003
|
+
fill: ${e.mainBkg};
|
|
2004
|
+
stroke: ${e.useGradient ? "url(" + e.svgId + "-gradient)" : e.stateBorder || e.nodeBorder};
|
|
2005
|
+
stroke-width: ${e.strokeWidth ?? 1};
|
|
2006
|
+
}
|
|
2007
|
+
[data-look="neo"].statediagram-cluster rect.outer {
|
|
2008
|
+
rx: ${e.radius}px;
|
|
2009
|
+
ry: ${e.radius}px;
|
|
2010
|
+
filter: ${e.dropShadow ? e.dropShadow.replace("url(#drop-shadow)", `url(${e.svgId}-drop-shadow)`) : "none"}
|
|
2011
|
+
}
|
|
2012
|
+
`, "getStyles");
|
|
2013
|
+
//#endregion
|
|
2014
|
+
export { ve as StateDB, _ as stateDiagram_default, pe as stateRenderer_v3_unified_default, ye as styles_default };
|