@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
|
@@ -1,1994 +0,0 @@
|
|
|
1
|
-
import { __name, log } from "./chunk-AGHRB4JF.js";
|
|
2
|
-
import { clear, common_default, getAccDescription, getAccTitle, getConfig2, getDiagramTitle, setAccDescription, setAccTitle, setDiagramTitle } from "./chunk-ABZYJK2D.js";
|
|
3
|
-
import { generateId, utils_default } from "./chunk-S3R3BYOJ.js";
|
|
4
|
-
import { render } from "./chunk-N4CR4FBY.js";
|
|
5
|
-
import { getDiagramElement } from "./chunk-55IACEB6.js";
|
|
6
|
-
import { setupViewPortForSVG } from "./chunk-QN33PNHL.js";
|
|
7
|
-
var parser = (function() {
|
|
8
|
-
var b = /* @__PURE__ */ __name(function(e, b, x, S) {
|
|
9
|
-
for (x ||= {}, S = e.length; S--; x[e[S]] = b);
|
|
10
|
-
return x;
|
|
11
|
-
}, "o"), x = [1, 2], S = [1, 3], C = [1, 4], w = [2, 4], T = [1, 9], E = [1, 11], D = [1, 16], O = [1, 17], k = [1, 18], A = [1, 19], j = [1, 33], M = [1, 20], N = [1, 21], P = [1, 22], F = [1, 23], I = [1, 24], L = [1, 26], R = [1, 27], z = [1, 28], B = [1, 29], V = [1, 30], H = [1, 31], U = [1, 32], W = [1, 35], G = [1, 36], K = [1, 37], q = [1, 38], J = [1, 34], Y = [
|
|
12
|
-
1,
|
|
13
|
-
4,
|
|
14
|
-
5,
|
|
15
|
-
16,
|
|
16
|
-
17,
|
|
17
|
-
19,
|
|
18
|
-
21,
|
|
19
|
-
22,
|
|
20
|
-
24,
|
|
21
|
-
25,
|
|
22
|
-
26,
|
|
23
|
-
27,
|
|
24
|
-
28,
|
|
25
|
-
29,
|
|
26
|
-
33,
|
|
27
|
-
35,
|
|
28
|
-
37,
|
|
29
|
-
38,
|
|
30
|
-
41,
|
|
31
|
-
45,
|
|
32
|
-
48,
|
|
33
|
-
51,
|
|
34
|
-
52,
|
|
35
|
-
53,
|
|
36
|
-
54,
|
|
37
|
-
57
|
|
38
|
-
], X = [
|
|
39
|
-
1,
|
|
40
|
-
4,
|
|
41
|
-
5,
|
|
42
|
-
14,
|
|
43
|
-
15,
|
|
44
|
-
16,
|
|
45
|
-
17,
|
|
46
|
-
19,
|
|
47
|
-
21,
|
|
48
|
-
22,
|
|
49
|
-
24,
|
|
50
|
-
25,
|
|
51
|
-
26,
|
|
52
|
-
27,
|
|
53
|
-
28,
|
|
54
|
-
29,
|
|
55
|
-
33,
|
|
56
|
-
35,
|
|
57
|
-
37,
|
|
58
|
-
38,
|
|
59
|
-
39,
|
|
60
|
-
40,
|
|
61
|
-
41,
|
|
62
|
-
45,
|
|
63
|
-
48,
|
|
64
|
-
51,
|
|
65
|
-
52,
|
|
66
|
-
53,
|
|
67
|
-
54,
|
|
68
|
-
57
|
|
69
|
-
], Z = [
|
|
70
|
-
4,
|
|
71
|
-
5,
|
|
72
|
-
16,
|
|
73
|
-
17,
|
|
74
|
-
19,
|
|
75
|
-
21,
|
|
76
|
-
22,
|
|
77
|
-
24,
|
|
78
|
-
25,
|
|
79
|
-
26,
|
|
80
|
-
27,
|
|
81
|
-
28,
|
|
82
|
-
29,
|
|
83
|
-
33,
|
|
84
|
-
35,
|
|
85
|
-
37,
|
|
86
|
-
38,
|
|
87
|
-
41,
|
|
88
|
-
45,
|
|
89
|
-
48,
|
|
90
|
-
51,
|
|
91
|
-
52,
|
|
92
|
-
53,
|
|
93
|
-
54,
|
|
94
|
-
57
|
|
95
|
-
], Q = {
|
|
96
|
-
trace: /* @__PURE__ */ __name(function() {}, "trace"),
|
|
97
|
-
yy: {},
|
|
98
|
-
symbols_: {
|
|
99
|
-
error: 2,
|
|
100
|
-
start: 3,
|
|
101
|
-
SPACE: 4,
|
|
102
|
-
NL: 5,
|
|
103
|
-
SD: 6,
|
|
104
|
-
document: 7,
|
|
105
|
-
line: 8,
|
|
106
|
-
statement: 9,
|
|
107
|
-
classDefStatement: 10,
|
|
108
|
-
styleStatement: 11,
|
|
109
|
-
cssClassStatement: 12,
|
|
110
|
-
idStatement: 13,
|
|
111
|
-
DESCR: 14,
|
|
112
|
-
"-->": 15,
|
|
113
|
-
HIDE_EMPTY: 16,
|
|
114
|
-
scale: 17,
|
|
115
|
-
WIDTH: 18,
|
|
116
|
-
COMPOSIT_STATE: 19,
|
|
117
|
-
STRUCT_START: 20,
|
|
118
|
-
STRUCT_STOP: 21,
|
|
119
|
-
STATE_DESCR: 22,
|
|
120
|
-
AS: 23,
|
|
121
|
-
ID: 24,
|
|
122
|
-
FORK: 25,
|
|
123
|
-
JOIN: 26,
|
|
124
|
-
CHOICE: 27,
|
|
125
|
-
CONCURRENT: 28,
|
|
126
|
-
note: 29,
|
|
127
|
-
notePosition: 30,
|
|
128
|
-
NOTE_TEXT: 31,
|
|
129
|
-
direction: 32,
|
|
130
|
-
acc_title: 33,
|
|
131
|
-
acc_title_value: 34,
|
|
132
|
-
acc_descr: 35,
|
|
133
|
-
acc_descr_value: 36,
|
|
134
|
-
acc_descr_multiline_value: 37,
|
|
135
|
-
CLICK: 38,
|
|
136
|
-
STRING: 39,
|
|
137
|
-
HREF: 40,
|
|
138
|
-
classDef: 41,
|
|
139
|
-
CLASSDEF_ID: 42,
|
|
140
|
-
CLASSDEF_STYLEOPTS: 43,
|
|
141
|
-
DEFAULT: 44,
|
|
142
|
-
style: 45,
|
|
143
|
-
STYLE_IDS: 46,
|
|
144
|
-
STYLEDEF_STYLEOPTS: 47,
|
|
145
|
-
class: 48,
|
|
146
|
-
CLASSENTITY_IDS: 49,
|
|
147
|
-
STYLECLASS: 50,
|
|
148
|
-
direction_tb: 51,
|
|
149
|
-
direction_bt: 52,
|
|
150
|
-
direction_rl: 53,
|
|
151
|
-
direction_lr: 54,
|
|
152
|
-
eol: 55,
|
|
153
|
-
";": 56,
|
|
154
|
-
EDGE_STATE: 57,
|
|
155
|
-
STYLE_SEPARATOR: 58,
|
|
156
|
-
left_of: 59,
|
|
157
|
-
right_of: 60,
|
|
158
|
-
$accept: 0,
|
|
159
|
-
$end: 1
|
|
160
|
-
},
|
|
161
|
-
terminals_: {
|
|
162
|
-
2: "error",
|
|
163
|
-
4: "SPACE",
|
|
164
|
-
5: "NL",
|
|
165
|
-
6: "SD",
|
|
166
|
-
14: "DESCR",
|
|
167
|
-
15: "-->",
|
|
168
|
-
16: "HIDE_EMPTY",
|
|
169
|
-
17: "scale",
|
|
170
|
-
18: "WIDTH",
|
|
171
|
-
19: "COMPOSIT_STATE",
|
|
172
|
-
20: "STRUCT_START",
|
|
173
|
-
21: "STRUCT_STOP",
|
|
174
|
-
22: "STATE_DESCR",
|
|
175
|
-
23: "AS",
|
|
176
|
-
24: "ID",
|
|
177
|
-
25: "FORK",
|
|
178
|
-
26: "JOIN",
|
|
179
|
-
27: "CHOICE",
|
|
180
|
-
28: "CONCURRENT",
|
|
181
|
-
29: "note",
|
|
182
|
-
31: "NOTE_TEXT",
|
|
183
|
-
33: "acc_title",
|
|
184
|
-
34: "acc_title_value",
|
|
185
|
-
35: "acc_descr",
|
|
186
|
-
36: "acc_descr_value",
|
|
187
|
-
37: "acc_descr_multiline_value",
|
|
188
|
-
38: "CLICK",
|
|
189
|
-
39: "STRING",
|
|
190
|
-
40: "HREF",
|
|
191
|
-
41: "classDef",
|
|
192
|
-
42: "CLASSDEF_ID",
|
|
193
|
-
43: "CLASSDEF_STYLEOPTS",
|
|
194
|
-
44: "DEFAULT",
|
|
195
|
-
45: "style",
|
|
196
|
-
46: "STYLE_IDS",
|
|
197
|
-
47: "STYLEDEF_STYLEOPTS",
|
|
198
|
-
48: "class",
|
|
199
|
-
49: "CLASSENTITY_IDS",
|
|
200
|
-
50: "STYLECLASS",
|
|
201
|
-
51: "direction_tb",
|
|
202
|
-
52: "direction_bt",
|
|
203
|
-
53: "direction_rl",
|
|
204
|
-
54: "direction_lr",
|
|
205
|
-
56: ";",
|
|
206
|
-
57: "EDGE_STATE",
|
|
207
|
-
58: "STYLE_SEPARATOR",
|
|
208
|
-
59: "left_of",
|
|
209
|
-
60: "right_of"
|
|
210
|
-
},
|
|
211
|
-
productions_: [
|
|
212
|
-
0,
|
|
213
|
-
[3, 2],
|
|
214
|
-
[3, 2],
|
|
215
|
-
[3, 2],
|
|
216
|
-
[7, 0],
|
|
217
|
-
[7, 2],
|
|
218
|
-
[8, 2],
|
|
219
|
-
[8, 1],
|
|
220
|
-
[8, 1],
|
|
221
|
-
[9, 1],
|
|
222
|
-
[9, 1],
|
|
223
|
-
[9, 1],
|
|
224
|
-
[9, 1],
|
|
225
|
-
[9, 2],
|
|
226
|
-
[9, 3],
|
|
227
|
-
[9, 4],
|
|
228
|
-
[9, 1],
|
|
229
|
-
[9, 2],
|
|
230
|
-
[9, 1],
|
|
231
|
-
[9, 4],
|
|
232
|
-
[9, 3],
|
|
233
|
-
[9, 6],
|
|
234
|
-
[9, 1],
|
|
235
|
-
[9, 1],
|
|
236
|
-
[9, 1],
|
|
237
|
-
[9, 1],
|
|
238
|
-
[9, 4],
|
|
239
|
-
[9, 4],
|
|
240
|
-
[9, 1],
|
|
241
|
-
[9, 2],
|
|
242
|
-
[9, 2],
|
|
243
|
-
[9, 1],
|
|
244
|
-
[9, 5],
|
|
245
|
-
[9, 5],
|
|
246
|
-
[10, 3],
|
|
247
|
-
[10, 3],
|
|
248
|
-
[11, 3],
|
|
249
|
-
[12, 3],
|
|
250
|
-
[32, 1],
|
|
251
|
-
[32, 1],
|
|
252
|
-
[32, 1],
|
|
253
|
-
[32, 1],
|
|
254
|
-
[55, 1],
|
|
255
|
-
[55, 1],
|
|
256
|
-
[13, 1],
|
|
257
|
-
[13, 1],
|
|
258
|
-
[13, 3],
|
|
259
|
-
[13, 3],
|
|
260
|
-
[30, 1],
|
|
261
|
-
[30, 1]
|
|
262
|
-
],
|
|
263
|
-
performAction: /* @__PURE__ */ __name(function(e, b, x, S, C, w, T) {
|
|
264
|
-
var E = w.length - 1;
|
|
265
|
-
switch (C) {
|
|
266
|
-
case 3: return S.setRootDoc(w[E]), w[E];
|
|
267
|
-
case 4:
|
|
268
|
-
this.$ = [];
|
|
269
|
-
break;
|
|
270
|
-
case 5:
|
|
271
|
-
w[E] != "nl" && (w[E - 1].push(w[E]), this.$ = w[E - 1]);
|
|
272
|
-
break;
|
|
273
|
-
case 6:
|
|
274
|
-
case 7:
|
|
275
|
-
this.$ = w[E];
|
|
276
|
-
break;
|
|
277
|
-
case 8:
|
|
278
|
-
this.$ = "nl";
|
|
279
|
-
break;
|
|
280
|
-
case 12:
|
|
281
|
-
this.$ = w[E];
|
|
282
|
-
break;
|
|
283
|
-
case 13:
|
|
284
|
-
let e = w[E - 1];
|
|
285
|
-
e.description = S.trimColon(w[E]), this.$ = e;
|
|
286
|
-
break;
|
|
287
|
-
case 14:
|
|
288
|
-
this.$ = {
|
|
289
|
-
stmt: "relation",
|
|
290
|
-
state1: w[E - 2],
|
|
291
|
-
state2: w[E]
|
|
292
|
-
};
|
|
293
|
-
break;
|
|
294
|
-
case 15:
|
|
295
|
-
let b = S.trimColon(w[E]);
|
|
296
|
-
this.$ = {
|
|
297
|
-
stmt: "relation",
|
|
298
|
-
state1: w[E - 3],
|
|
299
|
-
state2: w[E - 1],
|
|
300
|
-
description: b
|
|
301
|
-
};
|
|
302
|
-
break;
|
|
303
|
-
case 19:
|
|
304
|
-
this.$ = {
|
|
305
|
-
stmt: "state",
|
|
306
|
-
id: w[E - 3],
|
|
307
|
-
type: "default",
|
|
308
|
-
description: "",
|
|
309
|
-
doc: w[E - 1]
|
|
310
|
-
};
|
|
311
|
-
break;
|
|
312
|
-
case 20:
|
|
313
|
-
var D = w[E], O = w[E - 2].trim();
|
|
314
|
-
if (w[E].match(":")) {
|
|
315
|
-
var k = w[E].split(":");
|
|
316
|
-
D = k[0], O = [O, k[1]];
|
|
317
|
-
}
|
|
318
|
-
this.$ = {
|
|
319
|
-
stmt: "state",
|
|
320
|
-
id: D,
|
|
321
|
-
type: "default",
|
|
322
|
-
description: O
|
|
323
|
-
};
|
|
324
|
-
break;
|
|
325
|
-
case 21:
|
|
326
|
-
this.$ = {
|
|
327
|
-
stmt: "state",
|
|
328
|
-
id: w[E - 3],
|
|
329
|
-
type: "default",
|
|
330
|
-
description: w[E - 5],
|
|
331
|
-
doc: w[E - 1]
|
|
332
|
-
};
|
|
333
|
-
break;
|
|
334
|
-
case 22:
|
|
335
|
-
this.$ = {
|
|
336
|
-
stmt: "state",
|
|
337
|
-
id: w[E],
|
|
338
|
-
type: "fork"
|
|
339
|
-
};
|
|
340
|
-
break;
|
|
341
|
-
case 23:
|
|
342
|
-
this.$ = {
|
|
343
|
-
stmt: "state",
|
|
344
|
-
id: w[E],
|
|
345
|
-
type: "join"
|
|
346
|
-
};
|
|
347
|
-
break;
|
|
348
|
-
case 24:
|
|
349
|
-
this.$ = {
|
|
350
|
-
stmt: "state",
|
|
351
|
-
id: w[E],
|
|
352
|
-
type: "choice"
|
|
353
|
-
};
|
|
354
|
-
break;
|
|
355
|
-
case 25:
|
|
356
|
-
this.$ = {
|
|
357
|
-
stmt: "state",
|
|
358
|
-
id: S.getDividerId(),
|
|
359
|
-
type: "divider"
|
|
360
|
-
};
|
|
361
|
-
break;
|
|
362
|
-
case 26:
|
|
363
|
-
this.$ = {
|
|
364
|
-
stmt: "state",
|
|
365
|
-
id: w[E - 1].trim(),
|
|
366
|
-
note: {
|
|
367
|
-
position: w[E - 2].trim(),
|
|
368
|
-
text: w[E].trim()
|
|
369
|
-
}
|
|
370
|
-
};
|
|
371
|
-
break;
|
|
372
|
-
case 29:
|
|
373
|
-
this.$ = w[E].trim(), S.setAccTitle(this.$);
|
|
374
|
-
break;
|
|
375
|
-
case 30:
|
|
376
|
-
case 31:
|
|
377
|
-
this.$ = w[E].trim(), S.setAccDescription(this.$);
|
|
378
|
-
break;
|
|
379
|
-
case 32:
|
|
380
|
-
this.$ = {
|
|
381
|
-
stmt: "click",
|
|
382
|
-
id: w[E - 3],
|
|
383
|
-
url: w[E - 2],
|
|
384
|
-
tooltip: w[E - 1]
|
|
385
|
-
};
|
|
386
|
-
break;
|
|
387
|
-
case 33:
|
|
388
|
-
this.$ = {
|
|
389
|
-
stmt: "click",
|
|
390
|
-
id: w[E - 3],
|
|
391
|
-
url: w[E - 1],
|
|
392
|
-
tooltip: ""
|
|
393
|
-
};
|
|
394
|
-
break;
|
|
395
|
-
case 34:
|
|
396
|
-
case 35:
|
|
397
|
-
this.$ = {
|
|
398
|
-
stmt: "classDef",
|
|
399
|
-
id: w[E - 1].trim(),
|
|
400
|
-
classes: w[E].trim()
|
|
401
|
-
};
|
|
402
|
-
break;
|
|
403
|
-
case 36:
|
|
404
|
-
this.$ = {
|
|
405
|
-
stmt: "style",
|
|
406
|
-
id: w[E - 1].trim(),
|
|
407
|
-
styleClass: w[E].trim()
|
|
408
|
-
};
|
|
409
|
-
break;
|
|
410
|
-
case 37:
|
|
411
|
-
this.$ = {
|
|
412
|
-
stmt: "applyClass",
|
|
413
|
-
id: w[E - 1].trim(),
|
|
414
|
-
styleClass: w[E].trim()
|
|
415
|
-
};
|
|
416
|
-
break;
|
|
417
|
-
case 38:
|
|
418
|
-
S.setDirection("TB"), this.$ = {
|
|
419
|
-
stmt: "dir",
|
|
420
|
-
value: "TB"
|
|
421
|
-
};
|
|
422
|
-
break;
|
|
423
|
-
case 39:
|
|
424
|
-
S.setDirection("BT"), this.$ = {
|
|
425
|
-
stmt: "dir",
|
|
426
|
-
value: "BT"
|
|
427
|
-
};
|
|
428
|
-
break;
|
|
429
|
-
case 40:
|
|
430
|
-
S.setDirection("RL"), this.$ = {
|
|
431
|
-
stmt: "dir",
|
|
432
|
-
value: "RL"
|
|
433
|
-
};
|
|
434
|
-
break;
|
|
435
|
-
case 41:
|
|
436
|
-
S.setDirection("LR"), this.$ = {
|
|
437
|
-
stmt: "dir",
|
|
438
|
-
value: "LR"
|
|
439
|
-
};
|
|
440
|
-
break;
|
|
441
|
-
case 44:
|
|
442
|
-
case 45:
|
|
443
|
-
this.$ = {
|
|
444
|
-
stmt: "state",
|
|
445
|
-
id: w[E].trim(),
|
|
446
|
-
type: "default",
|
|
447
|
-
description: ""
|
|
448
|
-
};
|
|
449
|
-
break;
|
|
450
|
-
case 46:
|
|
451
|
-
this.$ = {
|
|
452
|
-
stmt: "state",
|
|
453
|
-
id: w[E - 2].trim(),
|
|
454
|
-
classes: [w[E].trim()],
|
|
455
|
-
type: "default",
|
|
456
|
-
description: ""
|
|
457
|
-
};
|
|
458
|
-
break;
|
|
459
|
-
case 47:
|
|
460
|
-
this.$ = {
|
|
461
|
-
stmt: "state",
|
|
462
|
-
id: w[E - 2].trim(),
|
|
463
|
-
classes: [w[E].trim()],
|
|
464
|
-
type: "default",
|
|
465
|
-
description: ""
|
|
466
|
-
};
|
|
467
|
-
break;
|
|
468
|
-
}
|
|
469
|
-
}, "anonymous"),
|
|
470
|
-
table: [
|
|
471
|
-
{
|
|
472
|
-
3: 1,
|
|
473
|
-
4: x,
|
|
474
|
-
5: S,
|
|
475
|
-
6: C
|
|
476
|
-
},
|
|
477
|
-
{ 1: [3] },
|
|
478
|
-
{
|
|
479
|
-
3: 5,
|
|
480
|
-
4: x,
|
|
481
|
-
5: S,
|
|
482
|
-
6: C
|
|
483
|
-
},
|
|
484
|
-
{
|
|
485
|
-
3: 6,
|
|
486
|
-
4: x,
|
|
487
|
-
5: S,
|
|
488
|
-
6: C
|
|
489
|
-
},
|
|
490
|
-
b([
|
|
491
|
-
1,
|
|
492
|
-
4,
|
|
493
|
-
5,
|
|
494
|
-
16,
|
|
495
|
-
17,
|
|
496
|
-
19,
|
|
497
|
-
22,
|
|
498
|
-
24,
|
|
499
|
-
25,
|
|
500
|
-
26,
|
|
501
|
-
27,
|
|
502
|
-
28,
|
|
503
|
-
29,
|
|
504
|
-
33,
|
|
505
|
-
35,
|
|
506
|
-
37,
|
|
507
|
-
38,
|
|
508
|
-
41,
|
|
509
|
-
45,
|
|
510
|
-
48,
|
|
511
|
-
51,
|
|
512
|
-
52,
|
|
513
|
-
53,
|
|
514
|
-
54,
|
|
515
|
-
57
|
|
516
|
-
], w, { 7: 7 }),
|
|
517
|
-
{ 1: [2, 1] },
|
|
518
|
-
{ 1: [2, 2] },
|
|
519
|
-
{
|
|
520
|
-
1: [2, 3],
|
|
521
|
-
4: T,
|
|
522
|
-
5: E,
|
|
523
|
-
8: 8,
|
|
524
|
-
9: 10,
|
|
525
|
-
10: 12,
|
|
526
|
-
11: 13,
|
|
527
|
-
12: 14,
|
|
528
|
-
13: 15,
|
|
529
|
-
16: D,
|
|
530
|
-
17: O,
|
|
531
|
-
19: k,
|
|
532
|
-
22: A,
|
|
533
|
-
24: j,
|
|
534
|
-
25: M,
|
|
535
|
-
26: N,
|
|
536
|
-
27: P,
|
|
537
|
-
28: F,
|
|
538
|
-
29: I,
|
|
539
|
-
32: 25,
|
|
540
|
-
33: L,
|
|
541
|
-
35: R,
|
|
542
|
-
37: z,
|
|
543
|
-
38: B,
|
|
544
|
-
41: V,
|
|
545
|
-
45: H,
|
|
546
|
-
48: U,
|
|
547
|
-
51: W,
|
|
548
|
-
52: G,
|
|
549
|
-
53: K,
|
|
550
|
-
54: q,
|
|
551
|
-
57: J
|
|
552
|
-
},
|
|
553
|
-
b(Y, [2, 5]),
|
|
554
|
-
{
|
|
555
|
-
9: 39,
|
|
556
|
-
10: 12,
|
|
557
|
-
11: 13,
|
|
558
|
-
12: 14,
|
|
559
|
-
13: 15,
|
|
560
|
-
16: D,
|
|
561
|
-
17: O,
|
|
562
|
-
19: k,
|
|
563
|
-
22: A,
|
|
564
|
-
24: j,
|
|
565
|
-
25: M,
|
|
566
|
-
26: N,
|
|
567
|
-
27: P,
|
|
568
|
-
28: F,
|
|
569
|
-
29: I,
|
|
570
|
-
32: 25,
|
|
571
|
-
33: L,
|
|
572
|
-
35: R,
|
|
573
|
-
37: z,
|
|
574
|
-
38: B,
|
|
575
|
-
41: V,
|
|
576
|
-
45: H,
|
|
577
|
-
48: U,
|
|
578
|
-
51: W,
|
|
579
|
-
52: G,
|
|
580
|
-
53: K,
|
|
581
|
-
54: q,
|
|
582
|
-
57: J
|
|
583
|
-
},
|
|
584
|
-
b(Y, [2, 7]),
|
|
585
|
-
b(Y, [2, 8]),
|
|
586
|
-
b(Y, [2, 9]),
|
|
587
|
-
b(Y, [2, 10]),
|
|
588
|
-
b(Y, [2, 11]),
|
|
589
|
-
b(Y, [2, 12], {
|
|
590
|
-
14: [1, 40],
|
|
591
|
-
15: [1, 41]
|
|
592
|
-
}),
|
|
593
|
-
b(Y, [2, 16]),
|
|
594
|
-
{ 18: [1, 42] },
|
|
595
|
-
b(Y, [2, 18], { 20: [1, 43] }),
|
|
596
|
-
{ 23: [1, 44] },
|
|
597
|
-
b(Y, [2, 22]),
|
|
598
|
-
b(Y, [2, 23]),
|
|
599
|
-
b(Y, [2, 24]),
|
|
600
|
-
b(Y, [2, 25]),
|
|
601
|
-
{
|
|
602
|
-
30: 45,
|
|
603
|
-
31: [1, 46],
|
|
604
|
-
59: [1, 47],
|
|
605
|
-
60: [1, 48]
|
|
606
|
-
},
|
|
607
|
-
b(Y, [2, 28]),
|
|
608
|
-
{ 34: [1, 49] },
|
|
609
|
-
{ 36: [1, 50] },
|
|
610
|
-
b(Y, [2, 31]),
|
|
611
|
-
{
|
|
612
|
-
13: 51,
|
|
613
|
-
24: j,
|
|
614
|
-
57: J
|
|
615
|
-
},
|
|
616
|
-
{
|
|
617
|
-
42: [1, 52],
|
|
618
|
-
44: [1, 53]
|
|
619
|
-
},
|
|
620
|
-
{ 46: [1, 54] },
|
|
621
|
-
{ 49: [1, 55] },
|
|
622
|
-
b(X, [2, 44], { 58: [1, 56] }),
|
|
623
|
-
b(X, [2, 45], { 58: [1, 57] }),
|
|
624
|
-
b(Y, [2, 38]),
|
|
625
|
-
b(Y, [2, 39]),
|
|
626
|
-
b(Y, [2, 40]),
|
|
627
|
-
b(Y, [2, 41]),
|
|
628
|
-
b(Y, [2, 6]),
|
|
629
|
-
b(Y, [2, 13]),
|
|
630
|
-
{
|
|
631
|
-
13: 58,
|
|
632
|
-
24: j,
|
|
633
|
-
57: J
|
|
634
|
-
},
|
|
635
|
-
b(Y, [2, 17]),
|
|
636
|
-
b(Z, w, { 7: 59 }),
|
|
637
|
-
{ 24: [1, 60] },
|
|
638
|
-
{ 24: [1, 61] },
|
|
639
|
-
{ 23: [1, 62] },
|
|
640
|
-
{ 24: [2, 48] },
|
|
641
|
-
{ 24: [2, 49] },
|
|
642
|
-
b(Y, [2, 29]),
|
|
643
|
-
b(Y, [2, 30]),
|
|
644
|
-
{
|
|
645
|
-
39: [1, 63],
|
|
646
|
-
40: [1, 64]
|
|
647
|
-
},
|
|
648
|
-
{ 43: [1, 65] },
|
|
649
|
-
{ 43: [1, 66] },
|
|
650
|
-
{ 47: [1, 67] },
|
|
651
|
-
{ 50: [1, 68] },
|
|
652
|
-
{ 24: [1, 69] },
|
|
653
|
-
{ 24: [1, 70] },
|
|
654
|
-
b(Y, [2, 14], { 14: [1, 71] }),
|
|
655
|
-
{
|
|
656
|
-
4: T,
|
|
657
|
-
5: E,
|
|
658
|
-
8: 8,
|
|
659
|
-
9: 10,
|
|
660
|
-
10: 12,
|
|
661
|
-
11: 13,
|
|
662
|
-
12: 14,
|
|
663
|
-
13: 15,
|
|
664
|
-
16: D,
|
|
665
|
-
17: O,
|
|
666
|
-
19: k,
|
|
667
|
-
21: [1, 72],
|
|
668
|
-
22: A,
|
|
669
|
-
24: j,
|
|
670
|
-
25: M,
|
|
671
|
-
26: N,
|
|
672
|
-
27: P,
|
|
673
|
-
28: F,
|
|
674
|
-
29: I,
|
|
675
|
-
32: 25,
|
|
676
|
-
33: L,
|
|
677
|
-
35: R,
|
|
678
|
-
37: z,
|
|
679
|
-
38: B,
|
|
680
|
-
41: V,
|
|
681
|
-
45: H,
|
|
682
|
-
48: U,
|
|
683
|
-
51: W,
|
|
684
|
-
52: G,
|
|
685
|
-
53: K,
|
|
686
|
-
54: q,
|
|
687
|
-
57: J
|
|
688
|
-
},
|
|
689
|
-
b(Y, [2, 20], { 20: [1, 73] }),
|
|
690
|
-
{ 31: [1, 74] },
|
|
691
|
-
{ 24: [1, 75] },
|
|
692
|
-
{ 39: [1, 76] },
|
|
693
|
-
{ 39: [1, 77] },
|
|
694
|
-
b(Y, [2, 34]),
|
|
695
|
-
b(Y, [2, 35]),
|
|
696
|
-
b(Y, [2, 36]),
|
|
697
|
-
b(Y, [2, 37]),
|
|
698
|
-
b(X, [2, 46]),
|
|
699
|
-
b(X, [2, 47]),
|
|
700
|
-
b(Y, [2, 15]),
|
|
701
|
-
b(Y, [2, 19]),
|
|
702
|
-
b(Z, w, { 7: 78 }),
|
|
703
|
-
b(Y, [2, 26]),
|
|
704
|
-
b(Y, [2, 27]),
|
|
705
|
-
{ 5: [1, 79] },
|
|
706
|
-
{ 5: [1, 80] },
|
|
707
|
-
{
|
|
708
|
-
4: T,
|
|
709
|
-
5: E,
|
|
710
|
-
8: 8,
|
|
711
|
-
9: 10,
|
|
712
|
-
10: 12,
|
|
713
|
-
11: 13,
|
|
714
|
-
12: 14,
|
|
715
|
-
13: 15,
|
|
716
|
-
16: D,
|
|
717
|
-
17: O,
|
|
718
|
-
19: k,
|
|
719
|
-
21: [1, 81],
|
|
720
|
-
22: A,
|
|
721
|
-
24: j,
|
|
722
|
-
25: M,
|
|
723
|
-
26: N,
|
|
724
|
-
27: P,
|
|
725
|
-
28: F,
|
|
726
|
-
29: I,
|
|
727
|
-
32: 25,
|
|
728
|
-
33: L,
|
|
729
|
-
35: R,
|
|
730
|
-
37: z,
|
|
731
|
-
38: B,
|
|
732
|
-
41: V,
|
|
733
|
-
45: H,
|
|
734
|
-
48: U,
|
|
735
|
-
51: W,
|
|
736
|
-
52: G,
|
|
737
|
-
53: K,
|
|
738
|
-
54: q,
|
|
739
|
-
57: J
|
|
740
|
-
},
|
|
741
|
-
b(Y, [2, 32]),
|
|
742
|
-
b(Y, [2, 33]),
|
|
743
|
-
b(Y, [2, 21])
|
|
744
|
-
],
|
|
745
|
-
defaultActions: {
|
|
746
|
-
5: [2, 1],
|
|
747
|
-
6: [2, 2],
|
|
748
|
-
47: [2, 48],
|
|
749
|
-
48: [2, 49]
|
|
750
|
-
},
|
|
751
|
-
parseError: /* @__PURE__ */ __name(function(e, b) {
|
|
752
|
-
if (b.recoverable) this.trace(e);
|
|
753
|
-
else {
|
|
754
|
-
var x = Error(e);
|
|
755
|
-
throw x.hash = b, x;
|
|
756
|
-
}
|
|
757
|
-
}, "parseError"),
|
|
758
|
-
parse: /* @__PURE__ */ __name(function(b) {
|
|
759
|
-
var x = this, S = [0], C = [], w = [null], T = [], E = this.table, D = "", O = 0, k = 0, A = 0, j = 2, M = 1, N = T.slice.call(arguments, 1), P = Object.create(this.lexer), F = { yy: {} };
|
|
760
|
-
for (var I in this.yy) Object.prototype.hasOwnProperty.call(this.yy, I) && (F.yy[I] = this.yy[I]);
|
|
761
|
-
P.setInput(b, F.yy), F.yy.lexer = P, F.yy.parser = this, P.yylloc === void 0 && (P.yylloc = {});
|
|
762
|
-
var L = P.yylloc;
|
|
763
|
-
T.push(L);
|
|
764
|
-
var R = P.options && P.options.ranges;
|
|
765
|
-
typeof F.yy.parseError == "function" ? this.parseError = F.yy.parseError : this.parseError = Object.getPrototypeOf(this).parseError;
|
|
766
|
-
function z(e) {
|
|
767
|
-
S.length -= 2 * e, w.length -= e, T.length -= e;
|
|
768
|
-
}
|
|
769
|
-
__name(z, "popStack");
|
|
770
|
-
function B() {
|
|
771
|
-
var e = C.pop() || P.lex() || M;
|
|
772
|
-
return typeof e != "number" && (e instanceof Array && (C = e, e = C.pop()), e = x.symbols_[e] || e), e;
|
|
773
|
-
}
|
|
774
|
-
__name(B, "lex");
|
|
775
|
-
for (var V, H, U, W, G, K = {}, q, J, Y, X;;) {
|
|
776
|
-
if (U = S[S.length - 1], this.defaultActions[U] ? W = this.defaultActions[U] : (V ??= B(), W = E[U] && E[U][V]), W === void 0 || !W.length || !W[0]) {
|
|
777
|
-
var Z = "";
|
|
778
|
-
for (q in X = [], E[U]) this.terminals_[q] && q > j && X.push("'" + this.terminals_[q] + "'");
|
|
779
|
-
Z = P.showPosition ? "Parse error on line " + (O + 1) + ":\n" + P.showPosition() + "\nExpecting " + X.join(", ") + ", got '" + (this.terminals_[V] || V) + "'" : "Parse error on line " + (O + 1) + ": Unexpected " + (V == M ? "end of input" : "'" + (this.terminals_[V] || V) + "'"), this.parseError(Z, {
|
|
780
|
-
text: P.match,
|
|
781
|
-
token: this.terminals_[V] || V,
|
|
782
|
-
line: P.yylineno,
|
|
783
|
-
loc: L,
|
|
784
|
-
expected: X
|
|
785
|
-
});
|
|
786
|
-
}
|
|
787
|
-
if (W[0] instanceof Array && W.length > 1) throw Error("Parse Error: multiple actions possible at state: " + U + ", token: " + V);
|
|
788
|
-
switch (W[0]) {
|
|
789
|
-
case 1:
|
|
790
|
-
S.push(V), w.push(P.yytext), T.push(P.yylloc), S.push(W[1]), V = null, H ? (V = H, H = null) : (k = P.yyleng, D = P.yytext, O = P.yylineno, L = P.yylloc, A > 0 && A--);
|
|
791
|
-
break;
|
|
792
|
-
case 2:
|
|
793
|
-
if (J = this.productions_[W[1]][1], K.$ = w[w.length - J], K._$ = {
|
|
794
|
-
first_line: T[T.length - (J || 1)].first_line,
|
|
795
|
-
last_line: T[T.length - 1].last_line,
|
|
796
|
-
first_column: T[T.length - (J || 1)].first_column,
|
|
797
|
-
last_column: T[T.length - 1].last_column
|
|
798
|
-
}, R && (K._$.range = [T[T.length - (J || 1)].range[0], T[T.length - 1].range[1]]), G = this.performAction.apply(K, [
|
|
799
|
-
D,
|
|
800
|
-
k,
|
|
801
|
-
O,
|
|
802
|
-
F.yy,
|
|
803
|
-
W[1],
|
|
804
|
-
w,
|
|
805
|
-
T
|
|
806
|
-
].concat(N)), G !== void 0) return G;
|
|
807
|
-
J && (S = S.slice(0, -1 * J * 2), w = w.slice(0, -1 * J), T = T.slice(0, -1 * J)), S.push(this.productions_[W[1]][0]), w.push(K.$), T.push(K._$), Y = E[S[S.length - 2]][S[S.length - 1]], S.push(Y);
|
|
808
|
-
break;
|
|
809
|
-
case 3: return !0;
|
|
810
|
-
}
|
|
811
|
-
}
|
|
812
|
-
return !0;
|
|
813
|
-
}, "parse")
|
|
814
|
-
};
|
|
815
|
-
Q.lexer = /* @__PURE__ */ (function() {
|
|
816
|
-
return {
|
|
817
|
-
EOF: 1,
|
|
818
|
-
parseError: /* @__PURE__ */ __name(function(e, b) {
|
|
819
|
-
if (this.yy.parser) this.yy.parser.parseError(e, b);
|
|
820
|
-
else throw Error(e);
|
|
821
|
-
}, "parseError"),
|
|
822
|
-
setInput: /* @__PURE__ */ __name(function(e, b) {
|
|
823
|
-
return this.yy = b || this.yy || {}, this._input = e, this._more = this._backtrack = this.done = !1, this.yylineno = this.yyleng = 0, this.yytext = this.matched = this.match = "", this.conditionStack = ["INITIAL"], this.yylloc = {
|
|
824
|
-
first_line: 1,
|
|
825
|
-
first_column: 0,
|
|
826
|
-
last_line: 1,
|
|
827
|
-
last_column: 0
|
|
828
|
-
}, this.options.ranges && (this.yylloc.range = [0, 0]), this.offset = 0, this;
|
|
829
|
-
}, "setInput"),
|
|
830
|
-
input: /* @__PURE__ */ __name(function() {
|
|
831
|
-
var e = this._input[0];
|
|
832
|
-
return this.yytext += e, this.yyleng++, this.offset++, this.match += e, this.matched += e, e.match(/(?:\r\n?|\n).*/g) ? (this.yylineno++, this.yylloc.last_line++) : this.yylloc.last_column++, this.options.ranges && this.yylloc.range[1]++, this._input = this._input.slice(1), e;
|
|
833
|
-
}, "input"),
|
|
834
|
-
unput: /* @__PURE__ */ __name(function(e) {
|
|
835
|
-
var b = e.length, x = e.split(/(?:\r\n?|\n)/g);
|
|
836
|
-
this._input = e + this._input, this.yytext = this.yytext.substr(0, this.yytext.length - b), this.offset -= b;
|
|
837
|
-
var S = this.match.split(/(?:\r\n?|\n)/g);
|
|
838
|
-
this.match = this.match.substr(0, this.match.length - 1), this.matched = this.matched.substr(0, this.matched.length - 1), x.length - 1 && (this.yylineno -= x.length - 1);
|
|
839
|
-
var C = this.yylloc.range;
|
|
840
|
-
return this.yylloc = {
|
|
841
|
-
first_line: this.yylloc.first_line,
|
|
842
|
-
last_line: this.yylineno + 1,
|
|
843
|
-
first_column: this.yylloc.first_column,
|
|
844
|
-
last_column: x ? (x.length === S.length ? this.yylloc.first_column : 0) + S[S.length - x.length].length - x[0].length : this.yylloc.first_column - b
|
|
845
|
-
}, this.options.ranges && (this.yylloc.range = [C[0], C[0] + this.yyleng - b]), this.yyleng = this.yytext.length, this;
|
|
846
|
-
}, "unput"),
|
|
847
|
-
more: /* @__PURE__ */ __name(function() {
|
|
848
|
-
return this._more = !0, this;
|
|
849
|
-
}, "more"),
|
|
850
|
-
reject: /* @__PURE__ */ __name(function() {
|
|
851
|
-
if (this.options.backtrack_lexer) this._backtrack = !0;
|
|
852
|
-
else return this.parseError("Lexical error on line " + (this.yylineno + 1) + ". You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).\n" + this.showPosition(), {
|
|
853
|
-
text: "",
|
|
854
|
-
token: null,
|
|
855
|
-
line: this.yylineno
|
|
856
|
-
});
|
|
857
|
-
return this;
|
|
858
|
-
}, "reject"),
|
|
859
|
-
less: /* @__PURE__ */ __name(function(e) {
|
|
860
|
-
this.unput(this.match.slice(e));
|
|
861
|
-
}, "less"),
|
|
862
|
-
pastInput: /* @__PURE__ */ __name(function() {
|
|
863
|
-
var e = this.matched.substr(0, this.matched.length - this.match.length);
|
|
864
|
-
return (e.length > 20 ? "..." : "") + e.substr(-20).replace(/\n/g, "");
|
|
865
|
-
}, "pastInput"),
|
|
866
|
-
upcomingInput: /* @__PURE__ */ __name(function() {
|
|
867
|
-
var e = this.match;
|
|
868
|
-
return e.length < 20 && (e += this._input.substr(0, 20 - e.length)), (e.substr(0, 20) + (e.length > 20 ? "..." : "")).replace(/\n/g, "");
|
|
869
|
-
}, "upcomingInput"),
|
|
870
|
-
showPosition: /* @__PURE__ */ __name(function() {
|
|
871
|
-
var e = this.pastInput(), b = Array(e.length + 1).join("-");
|
|
872
|
-
return e + this.upcomingInput() + "\n" + b + "^";
|
|
873
|
-
}, "showPosition"),
|
|
874
|
-
test_match: /* @__PURE__ */ __name(function(e, b) {
|
|
875
|
-
var x, S, C;
|
|
876
|
-
if (this.options.backtrack_lexer && (C = {
|
|
877
|
-
yylineno: this.yylineno,
|
|
878
|
-
yylloc: {
|
|
879
|
-
first_line: this.yylloc.first_line,
|
|
880
|
-
last_line: this.last_line,
|
|
881
|
-
first_column: this.yylloc.first_column,
|
|
882
|
-
last_column: this.yylloc.last_column
|
|
883
|
-
},
|
|
884
|
-
yytext: this.yytext,
|
|
885
|
-
match: this.match,
|
|
886
|
-
matches: this.matches,
|
|
887
|
-
matched: this.matched,
|
|
888
|
-
yyleng: this.yyleng,
|
|
889
|
-
offset: this.offset,
|
|
890
|
-
_more: this._more,
|
|
891
|
-
_input: this._input,
|
|
892
|
-
yy: this.yy,
|
|
893
|
-
conditionStack: this.conditionStack.slice(0),
|
|
894
|
-
done: this.done
|
|
895
|
-
}, this.options.ranges && (C.yylloc.range = this.yylloc.range.slice(0))), S = e[0].match(/(?:\r\n?|\n).*/g), S && (this.yylineno += S.length), this.yylloc = {
|
|
896
|
-
first_line: this.yylloc.last_line,
|
|
897
|
-
last_line: this.yylineno + 1,
|
|
898
|
-
first_column: this.yylloc.last_column,
|
|
899
|
-
last_column: S ? S[S.length - 1].length - S[S.length - 1].match(/\r?\n?/)[0].length : this.yylloc.last_column + e[0].length
|
|
900
|
-
}, this.yytext += e[0], this.match += e[0], this.matches = e, this.yyleng = this.yytext.length, this.options.ranges && (this.yylloc.range = [this.offset, this.offset += this.yyleng]), this._more = !1, this._backtrack = !1, this._input = this._input.slice(e[0].length), this.matched += e[0], x = this.performAction.call(this, this.yy, this, b, this.conditionStack[this.conditionStack.length - 1]), this.done && this._input && (this.done = !1), x) return x;
|
|
901
|
-
if (this._backtrack) {
|
|
902
|
-
for (var w in C) this[w] = C[w];
|
|
903
|
-
return !1;
|
|
904
|
-
}
|
|
905
|
-
return !1;
|
|
906
|
-
}, "test_match"),
|
|
907
|
-
next: /* @__PURE__ */ __name(function() {
|
|
908
|
-
if (this.done) return this.EOF;
|
|
909
|
-
this._input || (this.done = !0);
|
|
910
|
-
var e, b, x, S;
|
|
911
|
-
this._more || (this.yytext = "", this.match = "");
|
|
912
|
-
for (var C = this._currentRules(), w = 0; w < C.length; w++) if (x = this._input.match(this.rules[C[w]]), x && (!b || x[0].length > b[0].length)) {
|
|
913
|
-
if (b = x, S = w, this.options.backtrack_lexer) {
|
|
914
|
-
if (e = this.test_match(x, C[w]), e !== !1) return e;
|
|
915
|
-
if (this._backtrack) {
|
|
916
|
-
b = !1;
|
|
917
|
-
continue;
|
|
918
|
-
} else return !1;
|
|
919
|
-
} else if (!this.options.flex) break;
|
|
920
|
-
}
|
|
921
|
-
return b ? (e = this.test_match(b, C[S]), e === !1 ? !1 : e) : this._input === "" ? this.EOF : this.parseError("Lexical error on line " + (this.yylineno + 1) + ". Unrecognized text.\n" + this.showPosition(), {
|
|
922
|
-
text: "",
|
|
923
|
-
token: null,
|
|
924
|
-
line: this.yylineno
|
|
925
|
-
});
|
|
926
|
-
}, "next"),
|
|
927
|
-
lex: /* @__PURE__ */ __name(function() {
|
|
928
|
-
return this.next() || this.lex();
|
|
929
|
-
}, "lex"),
|
|
930
|
-
begin: /* @__PURE__ */ __name(function(e) {
|
|
931
|
-
this.conditionStack.push(e);
|
|
932
|
-
}, "begin"),
|
|
933
|
-
popState: /* @__PURE__ */ __name(function() {
|
|
934
|
-
return this.conditionStack.length - 1 > 0 ? this.conditionStack.pop() : this.conditionStack[0];
|
|
935
|
-
}, "popState"),
|
|
936
|
-
_currentRules: /* @__PURE__ */ __name(function() {
|
|
937
|
-
return this.conditionStack.length && this.conditionStack[this.conditionStack.length - 1] ? this.conditions[this.conditionStack[this.conditionStack.length - 1]].rules : this.conditions.INITIAL.rules;
|
|
938
|
-
}, "_currentRules"),
|
|
939
|
-
topState: /* @__PURE__ */ __name(function(e) {
|
|
940
|
-
return e = this.conditionStack.length - 1 - Math.abs(e || 0), e >= 0 ? this.conditionStack[e] : "INITIAL";
|
|
941
|
-
}, "topState"),
|
|
942
|
-
pushState: /* @__PURE__ */ __name(function(e) {
|
|
943
|
-
this.begin(e);
|
|
944
|
-
}, "pushState"),
|
|
945
|
-
stateStackSize: /* @__PURE__ */ __name(function() {
|
|
946
|
-
return this.conditionStack.length;
|
|
947
|
-
}, "stateStackSize"),
|
|
948
|
-
options: { "case-insensitive": !0 },
|
|
949
|
-
performAction: /* @__PURE__ */ __name(function(e, b, x, S) {
|
|
950
|
-
switch (x) {
|
|
951
|
-
case 0: return 38;
|
|
952
|
-
case 1: return 40;
|
|
953
|
-
case 2: return 39;
|
|
954
|
-
case 3: return 44;
|
|
955
|
-
case 4: return 51;
|
|
956
|
-
case 5: return 52;
|
|
957
|
-
case 6: return 53;
|
|
958
|
-
case 7: return 54;
|
|
959
|
-
case 8: break;
|
|
960
|
-
case 9: break;
|
|
961
|
-
case 10: return 5;
|
|
962
|
-
case 11: break;
|
|
963
|
-
case 12: break;
|
|
964
|
-
case 13: break;
|
|
965
|
-
case 14: break;
|
|
966
|
-
case 15: return this.pushState("SCALE"), 17;
|
|
967
|
-
case 16: return 18;
|
|
968
|
-
case 17:
|
|
969
|
-
this.popState();
|
|
970
|
-
break;
|
|
971
|
-
case 18: return this.begin("acc_title"), 33;
|
|
972
|
-
case 19: return this.popState(), "acc_title_value";
|
|
973
|
-
case 20: return this.begin("acc_descr"), 35;
|
|
974
|
-
case 21: return this.popState(), "acc_descr_value";
|
|
975
|
-
case 22:
|
|
976
|
-
this.begin("acc_descr_multiline");
|
|
977
|
-
break;
|
|
978
|
-
case 23:
|
|
979
|
-
this.popState();
|
|
980
|
-
break;
|
|
981
|
-
case 24: return "acc_descr_multiline_value";
|
|
982
|
-
case 25: return this.pushState("CLASSDEF"), 41;
|
|
983
|
-
case 26: return this.popState(), this.pushState("CLASSDEFID"), "DEFAULT_CLASSDEF_ID";
|
|
984
|
-
case 27: return this.popState(), this.pushState("CLASSDEFID"), 42;
|
|
985
|
-
case 28: return this.popState(), 43;
|
|
986
|
-
case 29: return this.pushState("CLASS"), 48;
|
|
987
|
-
case 30: return this.popState(), this.pushState("CLASS_STYLE"), 49;
|
|
988
|
-
case 31: return this.popState(), 50;
|
|
989
|
-
case 32: return this.pushState("STYLE"), 45;
|
|
990
|
-
case 33: return this.popState(), this.pushState("STYLEDEF_STYLES"), 46;
|
|
991
|
-
case 34: return this.popState(), 47;
|
|
992
|
-
case 35: return this.pushState("SCALE"), 17;
|
|
993
|
-
case 36: return 18;
|
|
994
|
-
case 37:
|
|
995
|
-
this.popState();
|
|
996
|
-
break;
|
|
997
|
-
case 38:
|
|
998
|
-
this.pushState("STATE");
|
|
999
|
-
break;
|
|
1000
|
-
case 39: return this.popState(), b.yytext = b.yytext.slice(0, -8).trim(), 25;
|
|
1001
|
-
case 40: return this.popState(), b.yytext = b.yytext.slice(0, -8).trim(), 26;
|
|
1002
|
-
case 41: return this.popState(), b.yytext = b.yytext.slice(0, -10).trim(), 27;
|
|
1003
|
-
case 42: return this.popState(), b.yytext = b.yytext.slice(0, -8).trim(), 25;
|
|
1004
|
-
case 43: return this.popState(), b.yytext = b.yytext.slice(0, -8).trim(), 26;
|
|
1005
|
-
case 44: return this.popState(), b.yytext = b.yytext.slice(0, -10).trim(), 27;
|
|
1006
|
-
case 45: return 51;
|
|
1007
|
-
case 46: return 52;
|
|
1008
|
-
case 47: return 53;
|
|
1009
|
-
case 48: return 54;
|
|
1010
|
-
case 49:
|
|
1011
|
-
this.pushState("STATE_STRING");
|
|
1012
|
-
break;
|
|
1013
|
-
case 50: return this.pushState("STATE_ID"), "AS";
|
|
1014
|
-
case 51: return this.popState(), "ID";
|
|
1015
|
-
case 52:
|
|
1016
|
-
this.popState();
|
|
1017
|
-
break;
|
|
1018
|
-
case 53: return "STATE_DESCR";
|
|
1019
|
-
case 54: return 19;
|
|
1020
|
-
case 55:
|
|
1021
|
-
this.popState();
|
|
1022
|
-
break;
|
|
1023
|
-
case 56: return this.popState(), this.pushState("struct"), 20;
|
|
1024
|
-
case 57: break;
|
|
1025
|
-
case 58: return this.popState(), 21;
|
|
1026
|
-
case 59: break;
|
|
1027
|
-
case 60: return this.begin("NOTE"), 29;
|
|
1028
|
-
case 61: return this.popState(), this.pushState("NOTE_ID"), 59;
|
|
1029
|
-
case 62: return this.popState(), this.pushState("NOTE_ID"), 60;
|
|
1030
|
-
case 63:
|
|
1031
|
-
this.popState(), this.pushState("FLOATING_NOTE");
|
|
1032
|
-
break;
|
|
1033
|
-
case 64: return this.popState(), this.pushState("FLOATING_NOTE_ID"), "AS";
|
|
1034
|
-
case 65: break;
|
|
1035
|
-
case 66: return "NOTE_TEXT";
|
|
1036
|
-
case 67: return this.popState(), "ID";
|
|
1037
|
-
case 68: return this.popState(), this.pushState("NOTE_TEXT"), 24;
|
|
1038
|
-
case 69: return this.popState(), b.yytext = b.yytext.substr(2).trim(), 31;
|
|
1039
|
-
case 70: return this.popState(), b.yytext = b.yytext.slice(0, -8).trim(), 31;
|
|
1040
|
-
case 71: return 6;
|
|
1041
|
-
case 72: return 6;
|
|
1042
|
-
case 73: return 16;
|
|
1043
|
-
case 74: return 57;
|
|
1044
|
-
case 75: return 24;
|
|
1045
|
-
case 76: return b.yytext = b.yytext.trim(), 14;
|
|
1046
|
-
case 77: return 15;
|
|
1047
|
-
case 78: return 28;
|
|
1048
|
-
case 79: return 58;
|
|
1049
|
-
case 80: return 5;
|
|
1050
|
-
case 81: return "INVALID";
|
|
1051
|
-
}
|
|
1052
|
-
}, "anonymous"),
|
|
1053
|
-
rules: [
|
|
1054
|
-
/^(?:click\b)/i,
|
|
1055
|
-
/^(?:href\b)/i,
|
|
1056
|
-
/^(?:"[^"]*")/i,
|
|
1057
|
-
/^(?:default\b)/i,
|
|
1058
|
-
/^(?:.*direction\s+TB[^\n]*)/i,
|
|
1059
|
-
/^(?:.*direction\s+BT[^\n]*)/i,
|
|
1060
|
-
/^(?:.*direction\s+RL[^\n]*)/i,
|
|
1061
|
-
/^(?:.*direction\s+LR[^\n]*)/i,
|
|
1062
|
-
/^(?:%%(?!\{)[^\n]*)/i,
|
|
1063
|
-
/^(?:[^\}]%%[^\n]*)/i,
|
|
1064
|
-
/^(?:[\n]+)/i,
|
|
1065
|
-
/^(?:[\s]+)/i,
|
|
1066
|
-
/^(?:((?!\n)\s)+)/i,
|
|
1067
|
-
/^(?:#[^\n]*)/i,
|
|
1068
|
-
/^(?:%[^\n]*)/i,
|
|
1069
|
-
/^(?:scale\s+)/i,
|
|
1070
|
-
/^(?:\d+)/i,
|
|
1071
|
-
/^(?:\s+width\b)/i,
|
|
1072
|
-
/^(?:accTitle\s*:\s*)/i,
|
|
1073
|
-
/^(?:(?!\n||)*[^\n]*)/i,
|
|
1074
|
-
/^(?:accDescr\s*:\s*)/i,
|
|
1075
|
-
/^(?:(?!\n||)*[^\n]*)/i,
|
|
1076
|
-
/^(?:accDescr\s*\{\s*)/i,
|
|
1077
|
-
/^(?:[\}])/i,
|
|
1078
|
-
/^(?:[^\}]*)/i,
|
|
1079
|
-
/^(?:classDef\s+)/i,
|
|
1080
|
-
/^(?:DEFAULT\s+)/i,
|
|
1081
|
-
/^(?:\w+\s+)/i,
|
|
1082
|
-
/^(?:[^\n]*)/i,
|
|
1083
|
-
/^(?:class\s+)/i,
|
|
1084
|
-
/^(?:(\w+)+((,\s*\w+)*))/i,
|
|
1085
|
-
/^(?:[^\n]*)/i,
|
|
1086
|
-
/^(?:style\s+)/i,
|
|
1087
|
-
/^(?:[\w,]+\s+)/i,
|
|
1088
|
-
/^(?:[^\n]*)/i,
|
|
1089
|
-
/^(?:scale\s+)/i,
|
|
1090
|
-
/^(?:\d+)/i,
|
|
1091
|
-
/^(?:\s+width\b)/i,
|
|
1092
|
-
/^(?:state\s+)/i,
|
|
1093
|
-
/^(?:.*<<fork>>)/i,
|
|
1094
|
-
/^(?:.*<<join>>)/i,
|
|
1095
|
-
/^(?:.*<<choice>>)/i,
|
|
1096
|
-
/^(?:.*\[\[fork\]\])/i,
|
|
1097
|
-
/^(?:.*\[\[join\]\])/i,
|
|
1098
|
-
/^(?:.*\[\[choice\]\])/i,
|
|
1099
|
-
/^(?:.*direction\s+TB[^\n]*)/i,
|
|
1100
|
-
/^(?:.*direction\s+BT[^\n]*)/i,
|
|
1101
|
-
/^(?:.*direction\s+RL[^\n]*)/i,
|
|
1102
|
-
/^(?:.*direction\s+LR[^\n]*)/i,
|
|
1103
|
-
/^(?:["])/i,
|
|
1104
|
-
/^(?:\s*as\s+)/i,
|
|
1105
|
-
/^(?:[^\n\{]*)/i,
|
|
1106
|
-
/^(?:["])/i,
|
|
1107
|
-
/^(?:[^"]*)/i,
|
|
1108
|
-
/^(?:[^\n\s\{]+)/i,
|
|
1109
|
-
/^(?:\n)/i,
|
|
1110
|
-
/^(?:\{)/i,
|
|
1111
|
-
/^(?:%%(?!\{)[^\n]*)/i,
|
|
1112
|
-
/^(?:\})/i,
|
|
1113
|
-
/^(?:[\n])/i,
|
|
1114
|
-
/^(?:note\s+)/i,
|
|
1115
|
-
/^(?:left of\b)/i,
|
|
1116
|
-
/^(?:right of\b)/i,
|
|
1117
|
-
/^(?:")/i,
|
|
1118
|
-
/^(?:\s*as\s*)/i,
|
|
1119
|
-
/^(?:["])/i,
|
|
1120
|
-
/^(?:[^"]*)/i,
|
|
1121
|
-
/^(?:[^\n]*)/i,
|
|
1122
|
-
/^(?:\s*[^:\n\s\-]+)/i,
|
|
1123
|
-
/^(?:\s*:[^:\n;]+)/i,
|
|
1124
|
-
/^(?:[\s\S]*?end note\b)/i,
|
|
1125
|
-
/^(?:stateDiagram\s+)/i,
|
|
1126
|
-
/^(?:stateDiagram-v2\s+)/i,
|
|
1127
|
-
/^(?:hide empty description\b)/i,
|
|
1128
|
-
/^(?:\[\*\])/i,
|
|
1129
|
-
/^(?:[^:\n\s\-\{]+)/i,
|
|
1130
|
-
/^(?:\s*:[^:\n;]+)/i,
|
|
1131
|
-
/^(?:-->)/i,
|
|
1132
|
-
/^(?:--)/i,
|
|
1133
|
-
/^(?::::)/i,
|
|
1134
|
-
/^(?:$)/i,
|
|
1135
|
-
/^(?:.)/i
|
|
1136
|
-
],
|
|
1137
|
-
conditions: {
|
|
1138
|
-
LINE: {
|
|
1139
|
-
rules: [12, 13],
|
|
1140
|
-
inclusive: !1
|
|
1141
|
-
},
|
|
1142
|
-
struct: {
|
|
1143
|
-
rules: [
|
|
1144
|
-
12,
|
|
1145
|
-
13,
|
|
1146
|
-
25,
|
|
1147
|
-
29,
|
|
1148
|
-
32,
|
|
1149
|
-
38,
|
|
1150
|
-
45,
|
|
1151
|
-
46,
|
|
1152
|
-
47,
|
|
1153
|
-
48,
|
|
1154
|
-
57,
|
|
1155
|
-
58,
|
|
1156
|
-
59,
|
|
1157
|
-
60,
|
|
1158
|
-
74,
|
|
1159
|
-
75,
|
|
1160
|
-
76,
|
|
1161
|
-
77,
|
|
1162
|
-
78
|
|
1163
|
-
],
|
|
1164
|
-
inclusive: !1
|
|
1165
|
-
},
|
|
1166
|
-
FLOATING_NOTE_ID: {
|
|
1167
|
-
rules: [67],
|
|
1168
|
-
inclusive: !1
|
|
1169
|
-
},
|
|
1170
|
-
FLOATING_NOTE: {
|
|
1171
|
-
rules: [
|
|
1172
|
-
64,
|
|
1173
|
-
65,
|
|
1174
|
-
66
|
|
1175
|
-
],
|
|
1176
|
-
inclusive: !1
|
|
1177
|
-
},
|
|
1178
|
-
NOTE_TEXT: {
|
|
1179
|
-
rules: [69, 70],
|
|
1180
|
-
inclusive: !1
|
|
1181
|
-
},
|
|
1182
|
-
NOTE_ID: {
|
|
1183
|
-
rules: [68],
|
|
1184
|
-
inclusive: !1
|
|
1185
|
-
},
|
|
1186
|
-
NOTE: {
|
|
1187
|
-
rules: [
|
|
1188
|
-
61,
|
|
1189
|
-
62,
|
|
1190
|
-
63
|
|
1191
|
-
],
|
|
1192
|
-
inclusive: !1
|
|
1193
|
-
},
|
|
1194
|
-
STYLEDEF_STYLEOPTS: {
|
|
1195
|
-
rules: [],
|
|
1196
|
-
inclusive: !1
|
|
1197
|
-
},
|
|
1198
|
-
STYLEDEF_STYLES: {
|
|
1199
|
-
rules: [34],
|
|
1200
|
-
inclusive: !1
|
|
1201
|
-
},
|
|
1202
|
-
STYLE_IDS: {
|
|
1203
|
-
rules: [],
|
|
1204
|
-
inclusive: !1
|
|
1205
|
-
},
|
|
1206
|
-
STYLE: {
|
|
1207
|
-
rules: [33],
|
|
1208
|
-
inclusive: !1
|
|
1209
|
-
},
|
|
1210
|
-
CLASS_STYLE: {
|
|
1211
|
-
rules: [31],
|
|
1212
|
-
inclusive: !1
|
|
1213
|
-
},
|
|
1214
|
-
CLASS: {
|
|
1215
|
-
rules: [30],
|
|
1216
|
-
inclusive: !1
|
|
1217
|
-
},
|
|
1218
|
-
CLASSDEFID: {
|
|
1219
|
-
rules: [28],
|
|
1220
|
-
inclusive: !1
|
|
1221
|
-
},
|
|
1222
|
-
CLASSDEF: {
|
|
1223
|
-
rules: [26, 27],
|
|
1224
|
-
inclusive: !1
|
|
1225
|
-
},
|
|
1226
|
-
acc_descr_multiline: {
|
|
1227
|
-
rules: [23, 24],
|
|
1228
|
-
inclusive: !1
|
|
1229
|
-
},
|
|
1230
|
-
acc_descr: {
|
|
1231
|
-
rules: [21],
|
|
1232
|
-
inclusive: !1
|
|
1233
|
-
},
|
|
1234
|
-
acc_title: {
|
|
1235
|
-
rules: [19],
|
|
1236
|
-
inclusive: !1
|
|
1237
|
-
},
|
|
1238
|
-
SCALE: {
|
|
1239
|
-
rules: [
|
|
1240
|
-
16,
|
|
1241
|
-
17,
|
|
1242
|
-
36,
|
|
1243
|
-
37
|
|
1244
|
-
],
|
|
1245
|
-
inclusive: !1
|
|
1246
|
-
},
|
|
1247
|
-
ALIAS: {
|
|
1248
|
-
rules: [],
|
|
1249
|
-
inclusive: !1
|
|
1250
|
-
},
|
|
1251
|
-
STATE_ID: {
|
|
1252
|
-
rules: [51],
|
|
1253
|
-
inclusive: !1
|
|
1254
|
-
},
|
|
1255
|
-
STATE_STRING: {
|
|
1256
|
-
rules: [52, 53],
|
|
1257
|
-
inclusive: !1
|
|
1258
|
-
},
|
|
1259
|
-
FORK_STATE: {
|
|
1260
|
-
rules: [],
|
|
1261
|
-
inclusive: !1
|
|
1262
|
-
},
|
|
1263
|
-
STATE: {
|
|
1264
|
-
rules: [
|
|
1265
|
-
12,
|
|
1266
|
-
13,
|
|
1267
|
-
39,
|
|
1268
|
-
40,
|
|
1269
|
-
41,
|
|
1270
|
-
42,
|
|
1271
|
-
43,
|
|
1272
|
-
44,
|
|
1273
|
-
49,
|
|
1274
|
-
50,
|
|
1275
|
-
54,
|
|
1276
|
-
55,
|
|
1277
|
-
56
|
|
1278
|
-
],
|
|
1279
|
-
inclusive: !1
|
|
1280
|
-
},
|
|
1281
|
-
ID: {
|
|
1282
|
-
rules: [12, 13],
|
|
1283
|
-
inclusive: !1
|
|
1284
|
-
},
|
|
1285
|
-
INITIAL: {
|
|
1286
|
-
rules: [
|
|
1287
|
-
0,
|
|
1288
|
-
1,
|
|
1289
|
-
2,
|
|
1290
|
-
3,
|
|
1291
|
-
4,
|
|
1292
|
-
5,
|
|
1293
|
-
6,
|
|
1294
|
-
7,
|
|
1295
|
-
8,
|
|
1296
|
-
9,
|
|
1297
|
-
10,
|
|
1298
|
-
11,
|
|
1299
|
-
13,
|
|
1300
|
-
14,
|
|
1301
|
-
15,
|
|
1302
|
-
18,
|
|
1303
|
-
20,
|
|
1304
|
-
22,
|
|
1305
|
-
25,
|
|
1306
|
-
29,
|
|
1307
|
-
32,
|
|
1308
|
-
35,
|
|
1309
|
-
38,
|
|
1310
|
-
56,
|
|
1311
|
-
60,
|
|
1312
|
-
71,
|
|
1313
|
-
72,
|
|
1314
|
-
73,
|
|
1315
|
-
74,
|
|
1316
|
-
75,
|
|
1317
|
-
76,
|
|
1318
|
-
77,
|
|
1319
|
-
79,
|
|
1320
|
-
80,
|
|
1321
|
-
81
|
|
1322
|
-
],
|
|
1323
|
-
inclusive: !0
|
|
1324
|
-
}
|
|
1325
|
-
}
|
|
1326
|
-
};
|
|
1327
|
-
})();
|
|
1328
|
-
function $() {
|
|
1329
|
-
this.yy = {};
|
|
1330
|
-
}
|
|
1331
|
-
return __name($, "Parser"), $.prototype = Q, Q.Parser = $, new $();
|
|
1332
|
-
})();
|
|
1333
|
-
parser.parser = parser;
|
|
1334
|
-
var stateDiagram_default = parser, DEFAULT_DIAGRAM_DIRECTION = "TB", DEFAULT_NESTED_DOC_DIR = "TB", STMT_DIRECTION = "dir", STMT_STATE = "state", STMT_ROOT = "root", STMT_RELATION = "relation", STMT_CLASSDEF = "classDef", STMT_STYLEDEF = "style", STMT_APPLYCLASS = "applyClass", DEFAULT_STATE_TYPE = "default", DIVIDER_TYPE = "divider", G_EDGE_STYLE = "fill:none", G_EDGE_ARROWHEADSTYLE = "fill: #333", G_EDGE_LABELPOS = "c", G_EDGE_LABELTYPE = "text", G_EDGE_THICKNESS = "normal", SHAPE_STATE = "rect", SHAPE_STATE_WITH_DESC = "rectWithTitle", SHAPE_START = "stateStart", SHAPE_END = "stateEnd", SHAPE_DIVIDER = "divider", SHAPE_GROUP = "roundedWithTitle", SHAPE_NOTE = "note", SHAPE_NOTEGROUP = "noteGroup", CSS_DIAGRAM = "statediagram", CSS_DIAGRAM_STATE = `${CSS_DIAGRAM}-state`, CSS_EDGE = "transition", CSS_NOTE = "note", CSS_EDGE_NOTE_EDGE = `${CSS_EDGE} note-edge`, CSS_DIAGRAM_NOTE = `${CSS_DIAGRAM}-${CSS_NOTE}`, CSS_DIAGRAM_CLUSTER = `${CSS_DIAGRAM}-cluster`, CSS_DIAGRAM_CLUSTER_ALT = `${CSS_DIAGRAM}-cluster-alt`, PARENT = "parent", NOTE = "note", DOMID_STATE = "state", DOMID_TYPE_SPACER = "----", NOTE_ID = `${DOMID_TYPE_SPACER}${NOTE}`, PARENT_ID = `${DOMID_TYPE_SPACER}${PARENT}`, getDir = /* @__PURE__ */ __name((e, b = DEFAULT_NESTED_DOC_DIR) => {
|
|
1335
|
-
if (!e.doc) return b;
|
|
1336
|
-
let x = b;
|
|
1337
|
-
for (let b of e.doc) b.stmt === "dir" && (x = b.value);
|
|
1338
|
-
return x;
|
|
1339
|
-
}, "getDir"), stateRenderer_v3_unified_default = {
|
|
1340
|
-
getClasses: /* @__PURE__ */ __name(function(e, b) {
|
|
1341
|
-
return b.db.getClasses();
|
|
1342
|
-
}, "getClasses"),
|
|
1343
|
-
draw: /* @__PURE__ */ __name(async function(e, x, S, C) {
|
|
1344
|
-
log.info("REF0:"), log.info("Drawing state diagram (v2)", x);
|
|
1345
|
-
let { securityLevel: w, state: E, layout: D } = getConfig2();
|
|
1346
|
-
C.db.extract(C.db.getRootDocV2());
|
|
1347
|
-
let O = C.db.getData(), k = getDiagramElement(x, w);
|
|
1348
|
-
O.type = C.type, O.layoutAlgorithm = D, O.nodeSpacing = E?.nodeSpacing || 50, O.rankSpacing = E?.rankSpacing || 50, O.markers = ["barb"], O.diagramId = x, await render(O, k);
|
|
1349
|
-
try {
|
|
1350
|
-
(typeof C.db.getLinks == "function" ? C.db.getLinks() : /* @__PURE__ */ new Map()).forEach((e, x) => {
|
|
1351
|
-
let S = typeof x == "string" ? x : typeof x?.id == "string" ? x.id : "";
|
|
1352
|
-
if (!S) {
|
|
1353
|
-
log.warn("⚠️ Invalid or missing stateId from key:", JSON.stringify(x));
|
|
1354
|
-
return;
|
|
1355
|
-
}
|
|
1356
|
-
let C = k.node()?.querySelectorAll("g"), w;
|
|
1357
|
-
if (C?.forEach((e) => {
|
|
1358
|
-
e.textContent?.trim() === S && (w = e);
|
|
1359
|
-
}), !w) {
|
|
1360
|
-
log.warn("⚠️ Could not find node matching text:", S);
|
|
1361
|
-
return;
|
|
1362
|
-
}
|
|
1363
|
-
let T = w.parentNode;
|
|
1364
|
-
if (!T) {
|
|
1365
|
-
log.warn("⚠️ Node has no parent, cannot wrap:", S);
|
|
1366
|
-
return;
|
|
1367
|
-
}
|
|
1368
|
-
let E = document.createElementNS("http://www.w3.org/2000/svg", "a"), D = e.url.replace(/^"+|"+$/g, "");
|
|
1369
|
-
if (E.setAttributeNS("http://www.w3.org/1999/xlink", "xlink:href", D), E.setAttribute("target", "_blank"), e.tooltip) {
|
|
1370
|
-
let b = e.tooltip.replace(/^"+|"+$/g, "");
|
|
1371
|
-
E.setAttribute("title", b);
|
|
1372
|
-
}
|
|
1373
|
-
T.replaceChild(E, w), E.appendChild(w), log.info("🔗 Wrapped node in <a> tag for:", S, e.url);
|
|
1374
|
-
});
|
|
1375
|
-
} catch (e) {
|
|
1376
|
-
log.error("❌ Error injecting clickable links:", e);
|
|
1377
|
-
}
|
|
1378
|
-
utils_default.insertTitle(k, "statediagramTitleText", E?.titleTopMargin ?? 25, C.db.getDiagramTitle()), setupViewPortForSVG(k, 8, CSS_DIAGRAM, E?.useMaxWidth ?? !0);
|
|
1379
|
-
}, "draw"),
|
|
1380
|
-
getDir
|
|
1381
|
-
}, nodeDb = /* @__PURE__ */ new Map(), graphItemCount = 0;
|
|
1382
|
-
function stateDomId(e = "", b = 0, x = "", S = DOMID_TYPE_SPACER) {
|
|
1383
|
-
return `${DOMID_STATE}-${e}${x !== null && x.length > 0 ? `${S}${x}` : ""}-${b}`;
|
|
1384
|
-
}
|
|
1385
|
-
__name(stateDomId, "stateDomId");
|
|
1386
|
-
var setupDoc = /* @__PURE__ */ __name((e, x, C, w, E, D, O, k) => {
|
|
1387
|
-
log.trace("items", x), x.forEach((b) => {
|
|
1388
|
-
switch (b.stmt) {
|
|
1389
|
-
case STMT_STATE:
|
|
1390
|
-
dataFetcher(e, b, C, w, E, D, O, k);
|
|
1391
|
-
break;
|
|
1392
|
-
case DEFAULT_STATE_TYPE:
|
|
1393
|
-
dataFetcher(e, b, C, w, E, D, O, k);
|
|
1394
|
-
break;
|
|
1395
|
-
case STMT_RELATION:
|
|
1396
|
-
{
|
|
1397
|
-
dataFetcher(e, b.state1, C, w, E, D, O, k), dataFetcher(e, b.state2, C, w, E, D, O, k);
|
|
1398
|
-
let x = {
|
|
1399
|
-
id: "edge" + graphItemCount,
|
|
1400
|
-
start: b.state1.id,
|
|
1401
|
-
end: b.state2.id,
|
|
1402
|
-
arrowhead: "normal",
|
|
1403
|
-
arrowTypeEnd: "arrow_barb",
|
|
1404
|
-
style: G_EDGE_STYLE,
|
|
1405
|
-
labelStyle: "",
|
|
1406
|
-
label: common_default.sanitizeText(b.description ?? "", getConfig2()),
|
|
1407
|
-
arrowheadStyle: G_EDGE_ARROWHEADSTYLE,
|
|
1408
|
-
labelpos: G_EDGE_LABELPOS,
|
|
1409
|
-
labelType: G_EDGE_LABELTYPE,
|
|
1410
|
-
thickness: G_EDGE_THICKNESS,
|
|
1411
|
-
classes: CSS_EDGE,
|
|
1412
|
-
look: O
|
|
1413
|
-
};
|
|
1414
|
-
E.push(x), graphItemCount++;
|
|
1415
|
-
}
|
|
1416
|
-
break;
|
|
1417
|
-
}
|
|
1418
|
-
});
|
|
1419
|
-
}, "setupDoc"), getDir2 = /* @__PURE__ */ __name((e, b = DEFAULT_NESTED_DOC_DIR) => {
|
|
1420
|
-
let x = b;
|
|
1421
|
-
if (e.doc) for (let b of e.doc) b.stmt === "dir" && (x = b.value);
|
|
1422
|
-
return x;
|
|
1423
|
-
}, "getDir");
|
|
1424
|
-
function insertOrUpdateNode(e, b, x) {
|
|
1425
|
-
if (!b.id || b.id === "</join></fork>" || b.id === "</choice>") return;
|
|
1426
|
-
b.cssClasses && (Array.isArray(b.cssCompiledStyles) || (b.cssCompiledStyles = []), b.cssClasses.split(" ").forEach((e) => {
|
|
1427
|
-
let S = x.get(e);
|
|
1428
|
-
S && (b.cssCompiledStyles = [...b.cssCompiledStyles ?? [], ...S.styles]);
|
|
1429
|
-
}));
|
|
1430
|
-
let S = e.find((e) => e.id === b.id);
|
|
1431
|
-
S ? Object.assign(S, b) : e.push(b);
|
|
1432
|
-
}
|
|
1433
|
-
__name(insertOrUpdateNode, "insertOrUpdateNode");
|
|
1434
|
-
function getClassesFromDbInfo(e) {
|
|
1435
|
-
return e?.classes?.join(" ") ?? "";
|
|
1436
|
-
}
|
|
1437
|
-
__name(getClassesFromDbInfo, "getClassesFromDbInfo");
|
|
1438
|
-
function getStylesFromDbInfo(e) {
|
|
1439
|
-
return e?.styles ?? [];
|
|
1440
|
-
}
|
|
1441
|
-
__name(getStylesFromDbInfo, "getStylesFromDbInfo");
|
|
1442
|
-
var dataFetcher = /* @__PURE__ */ __name((e, x, C, w, E, D, O, k) => {
|
|
1443
|
-
let A = x.id, j = C.get(A), M = getClassesFromDbInfo(j), N = getStylesFromDbInfo(j), P = getConfig2();
|
|
1444
|
-
if (log.info("dataFetcher parsedItem", x, j, N), A !== "root") {
|
|
1445
|
-
let C = SHAPE_STATE;
|
|
1446
|
-
x.start === !0 ? C = SHAPE_START : x.start === !1 && (C = SHAPE_END), x.type !== DEFAULT_STATE_TYPE && (C = x.type), nodeDb.get(A) || nodeDb.set(A, {
|
|
1447
|
-
id: A,
|
|
1448
|
-
shape: C,
|
|
1449
|
-
description: common_default.sanitizeText(A, P),
|
|
1450
|
-
cssClasses: `${M} ${CSS_DIAGRAM_STATE}`,
|
|
1451
|
-
cssStyles: N
|
|
1452
|
-
});
|
|
1453
|
-
let T = nodeDb.get(A);
|
|
1454
|
-
x.description && (Array.isArray(T.description) ? (T.shape = SHAPE_STATE_WITH_DESC, T.description.push(x.description)) : T.description?.length && T.description.length > 0 ? (T.shape = SHAPE_STATE_WITH_DESC, T.description === A ? T.description = [x.description] : T.description = [T.description, x.description]) : (T.shape = SHAPE_STATE, T.description = x.description), T.description = common_default.sanitizeTextOrArray(T.description, P)), T.description?.length === 1 && T.shape === SHAPE_STATE_WITH_DESC && (T.type === "group" ? T.shape = SHAPE_GROUP : T.shape = SHAPE_STATE), !T.type && x.doc && (log.info("Setting cluster for XCX", A, getDir2(x)), T.type = "group", T.isGroup = !0, T.dir = getDir2(x), T.shape = x.type === DIVIDER_TYPE ? SHAPE_DIVIDER : SHAPE_GROUP, T.cssClasses = `${T.cssClasses} ${CSS_DIAGRAM_CLUSTER} ${D ? CSS_DIAGRAM_CLUSTER_ALT : ""}`);
|
|
1455
|
-
let j = {
|
|
1456
|
-
labelStyle: "",
|
|
1457
|
-
shape: T.shape,
|
|
1458
|
-
label: T.description,
|
|
1459
|
-
cssClasses: T.cssClasses,
|
|
1460
|
-
cssCompiledStyles: [],
|
|
1461
|
-
cssStyles: T.cssStyles,
|
|
1462
|
-
id: A,
|
|
1463
|
-
dir: T.dir,
|
|
1464
|
-
domId: stateDomId(A, graphItemCount),
|
|
1465
|
-
type: T.type,
|
|
1466
|
-
isGroup: T.type === "group",
|
|
1467
|
-
padding: 8,
|
|
1468
|
-
rx: 10,
|
|
1469
|
-
ry: 10,
|
|
1470
|
-
look: O
|
|
1471
|
-
};
|
|
1472
|
-
if (j.shape === SHAPE_DIVIDER && (j.label = ""), e && e.id !== "root" && (log.trace("Setting node ", A, " to be child of its parent ", e.id), j.parentId = e.id), j.centerLabel = !0, x.note) {
|
|
1473
|
-
let e = {
|
|
1474
|
-
labelStyle: "",
|
|
1475
|
-
shape: SHAPE_NOTE,
|
|
1476
|
-
label: x.note.text,
|
|
1477
|
-
cssClasses: CSS_DIAGRAM_NOTE,
|
|
1478
|
-
cssStyles: [],
|
|
1479
|
-
cssCompiledStyles: [],
|
|
1480
|
-
id: A + NOTE_ID + "-" + graphItemCount,
|
|
1481
|
-
domId: stateDomId(A, graphItemCount, NOTE),
|
|
1482
|
-
type: T.type,
|
|
1483
|
-
isGroup: T.type === "group",
|
|
1484
|
-
padding: P.flowchart?.padding,
|
|
1485
|
-
look: O,
|
|
1486
|
-
position: x.note.position
|
|
1487
|
-
}, b = A + PARENT_ID, S = {
|
|
1488
|
-
labelStyle: "",
|
|
1489
|
-
shape: SHAPE_NOTEGROUP,
|
|
1490
|
-
label: x.note.text,
|
|
1491
|
-
cssClasses: T.cssClasses,
|
|
1492
|
-
cssStyles: [],
|
|
1493
|
-
id: A + PARENT_ID,
|
|
1494
|
-
domId: stateDomId(A, graphItemCount, PARENT),
|
|
1495
|
-
type: "group",
|
|
1496
|
-
isGroup: !0,
|
|
1497
|
-
padding: 16,
|
|
1498
|
-
look: O,
|
|
1499
|
-
position: x.note.position
|
|
1500
|
-
};
|
|
1501
|
-
graphItemCount++, S.id = b, e.parentId = b, insertOrUpdateNode(w, S, k), insertOrUpdateNode(w, e, k), insertOrUpdateNode(w, j, k);
|
|
1502
|
-
let C = A, D = e.id;
|
|
1503
|
-
x.note.position === "left of" && (C = e.id, D = A), E.push({
|
|
1504
|
-
id: C + "-" + D,
|
|
1505
|
-
start: C,
|
|
1506
|
-
end: D,
|
|
1507
|
-
arrowhead: "none",
|
|
1508
|
-
arrowTypeEnd: "",
|
|
1509
|
-
style: G_EDGE_STYLE,
|
|
1510
|
-
labelStyle: "",
|
|
1511
|
-
classes: CSS_EDGE_NOTE_EDGE,
|
|
1512
|
-
arrowheadStyle: G_EDGE_ARROWHEADSTYLE,
|
|
1513
|
-
labelpos: G_EDGE_LABELPOS,
|
|
1514
|
-
labelType: G_EDGE_LABELTYPE,
|
|
1515
|
-
thickness: G_EDGE_THICKNESS,
|
|
1516
|
-
look: O
|
|
1517
|
-
});
|
|
1518
|
-
} else insertOrUpdateNode(w, j, k);
|
|
1519
|
-
}
|
|
1520
|
-
x.doc && (log.trace("Adding nodes children "), setupDoc(x, x.doc, C, w, E, !D, O, k));
|
|
1521
|
-
}, "dataFetcher"), reset = /* @__PURE__ */ __name(() => {
|
|
1522
|
-
nodeDb.clear(), graphItemCount = 0;
|
|
1523
|
-
}, "reset"), CONSTANTS = {
|
|
1524
|
-
START_NODE: "[*]",
|
|
1525
|
-
START_TYPE: "start",
|
|
1526
|
-
END_NODE: "[*]",
|
|
1527
|
-
END_TYPE: "end",
|
|
1528
|
-
COLOR_KEYWORD: "color",
|
|
1529
|
-
FILL_KEYWORD: "fill",
|
|
1530
|
-
BG_FILL: "bgFill",
|
|
1531
|
-
STYLECLASS_SEP: ","
|
|
1532
|
-
}, newClassesList = /* @__PURE__ */ __name(() => /* @__PURE__ */ new Map(), "newClassesList"), newDoc = /* @__PURE__ */ __name(() => ({
|
|
1533
|
-
relations: [],
|
|
1534
|
-
states: /* @__PURE__ */ new Map(),
|
|
1535
|
-
documents: {}
|
|
1536
|
-
}), "newDoc"), clone = /* @__PURE__ */ __name((e) => JSON.parse(JSON.stringify(e)), "clone"), StateDB = class {
|
|
1537
|
-
constructor(e) {
|
|
1538
|
-
this.version = e, this.nodes = [], this.edges = [], this.rootDoc = [], this.classes = newClassesList(), this.documents = { root: newDoc() }, this.currentDocument = this.documents.root, this.startEndCount = 0, this.dividerCnt = 0, this.links = /* @__PURE__ */ new Map(), this.getAccTitle = getAccTitle, this.setAccTitle = setAccTitle, this.getAccDescription = getAccDescription, this.setAccDescription = setAccDescription, this.setDiagramTitle = setDiagramTitle, this.getDiagramTitle = getDiagramTitle, this.clear(), this.setRootDoc = this.setRootDoc.bind(this), this.getDividerId = this.getDividerId.bind(this), this.setDirection = this.setDirection.bind(this), this.trimColon = this.trimColon.bind(this);
|
|
1539
|
-
}
|
|
1540
|
-
static #e = __name(this, "StateDB");
|
|
1541
|
-
static #t = this.relationType = {
|
|
1542
|
-
AGGREGATION: 0,
|
|
1543
|
-
EXTENSION: 1,
|
|
1544
|
-
COMPOSITION: 2,
|
|
1545
|
-
DEPENDENCY: 3
|
|
1546
|
-
};
|
|
1547
|
-
extract(e) {
|
|
1548
|
-
this.clear(!0);
|
|
1549
|
-
for (let b of Array.isArray(e) ? e : e.doc) switch (b.stmt) {
|
|
1550
|
-
case STMT_STATE:
|
|
1551
|
-
this.addState(b.id.trim(), b.type, b.doc, b.description, b.note);
|
|
1552
|
-
break;
|
|
1553
|
-
case STMT_RELATION:
|
|
1554
|
-
this.addRelation(b.state1, b.state2, b.description);
|
|
1555
|
-
break;
|
|
1556
|
-
case STMT_CLASSDEF:
|
|
1557
|
-
this.addStyleClass(b.id.trim(), b.classes);
|
|
1558
|
-
break;
|
|
1559
|
-
case STMT_STYLEDEF:
|
|
1560
|
-
this.handleStyleDef(b);
|
|
1561
|
-
break;
|
|
1562
|
-
case STMT_APPLYCLASS:
|
|
1563
|
-
this.setCssClass(b.id.trim(), b.styleClass);
|
|
1564
|
-
break;
|
|
1565
|
-
case "click":
|
|
1566
|
-
this.addLink(b.id, b.url, b.tooltip);
|
|
1567
|
-
break;
|
|
1568
|
-
}
|
|
1569
|
-
let b = this.getStates(), x = getConfig2();
|
|
1570
|
-
reset(), dataFetcher(void 0, this.getRootDocV2(), b, this.nodes, this.edges, !0, x.look, this.classes);
|
|
1571
|
-
for (let e of this.nodes) if (Array.isArray(e.label)) {
|
|
1572
|
-
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}]`);
|
|
1573
|
-
e.label = e.label[0];
|
|
1574
|
-
}
|
|
1575
|
-
}
|
|
1576
|
-
handleStyleDef(e) {
|
|
1577
|
-
let b = e.id.trim().split(","), x = e.styleClass.split(",");
|
|
1578
|
-
for (let e of b) {
|
|
1579
|
-
let b = this.getState(e);
|
|
1580
|
-
if (!b) {
|
|
1581
|
-
let x = e.trim();
|
|
1582
|
-
this.addState(x), b = this.getState(x);
|
|
1583
|
-
}
|
|
1584
|
-
b && (b.styles = x.map((e) => e.replace(/;/g, "")?.trim()));
|
|
1585
|
-
}
|
|
1586
|
-
}
|
|
1587
|
-
setRootDoc(e) {
|
|
1588
|
-
log.info("Setting root doc", e), this.rootDoc = e, this.version === 1 ? this.extract(e) : this.extract(this.getRootDocV2());
|
|
1589
|
-
}
|
|
1590
|
-
docTranslator(e, b, x) {
|
|
1591
|
-
if (b.stmt === STMT_RELATION) {
|
|
1592
|
-
this.docTranslator(e, b.state1, !0), this.docTranslator(e, b.state2, !1);
|
|
1593
|
-
return;
|
|
1594
|
-
}
|
|
1595
|
-
if (b.stmt === STMT_STATE && (b.id === CONSTANTS.START_NODE ? (b.id = e.id + (x ? "_start" : "_end"), b.start = x) : b.id = b.id.trim()), b.stmt !== STMT_ROOT && b.stmt !== STMT_STATE || !b.doc) return;
|
|
1596
|
-
let S = [], C = [];
|
|
1597
|
-
for (let e of b.doc) if (e.type === DIVIDER_TYPE) {
|
|
1598
|
-
let b = clone(e);
|
|
1599
|
-
b.doc = clone(C), S.push(b), C = [];
|
|
1600
|
-
} else C.push(e);
|
|
1601
|
-
if (S.length > 0 && C.length > 0) {
|
|
1602
|
-
let e = {
|
|
1603
|
-
stmt: STMT_STATE,
|
|
1604
|
-
id: generateId(),
|
|
1605
|
-
type: "divider",
|
|
1606
|
-
doc: clone(C)
|
|
1607
|
-
};
|
|
1608
|
-
S.push(clone(e)), b.doc = S;
|
|
1609
|
-
}
|
|
1610
|
-
b.doc.forEach((e) => this.docTranslator(b, e, !0));
|
|
1611
|
-
}
|
|
1612
|
-
getRootDocV2() {
|
|
1613
|
-
return this.docTranslator({
|
|
1614
|
-
id: STMT_ROOT,
|
|
1615
|
-
stmt: STMT_ROOT
|
|
1616
|
-
}, {
|
|
1617
|
-
id: STMT_ROOT,
|
|
1618
|
-
stmt: STMT_ROOT,
|
|
1619
|
-
doc: this.rootDoc
|
|
1620
|
-
}, !0), {
|
|
1621
|
-
id: STMT_ROOT,
|
|
1622
|
-
doc: this.rootDoc
|
|
1623
|
-
};
|
|
1624
|
-
}
|
|
1625
|
-
addState(e, x = DEFAULT_STATE_TYPE, C = void 0, w = void 0, E = void 0, D = void 0, O = void 0, k = void 0) {
|
|
1626
|
-
let A = e?.trim();
|
|
1627
|
-
if (!this.currentDocument.states.has(A)) log.info("Adding state ", A, w), this.currentDocument.states.set(A, {
|
|
1628
|
-
stmt: STMT_STATE,
|
|
1629
|
-
id: A,
|
|
1630
|
-
descriptions: [],
|
|
1631
|
-
type: x,
|
|
1632
|
-
doc: C,
|
|
1633
|
-
note: E,
|
|
1634
|
-
classes: [],
|
|
1635
|
-
styles: [],
|
|
1636
|
-
textStyles: []
|
|
1637
|
-
});
|
|
1638
|
-
else {
|
|
1639
|
-
let e = this.currentDocument.states.get(A);
|
|
1640
|
-
if (!e) throw Error(`State not found: ${A}`);
|
|
1641
|
-
e.doc ||= C, e.type ||= x;
|
|
1642
|
-
}
|
|
1643
|
-
if (w && (log.info("Setting state description", A, w), (Array.isArray(w) ? w : [w]).forEach((e) => this.addDescription(A, e.trim()))), E) {
|
|
1644
|
-
let e = this.currentDocument.states.get(A);
|
|
1645
|
-
if (!e) throw Error(`State not found: ${A}`);
|
|
1646
|
-
e.note = E, e.note.text = common_default.sanitizeText(e.note.text, getConfig2());
|
|
1647
|
-
}
|
|
1648
|
-
D && (log.info("Setting state classes", A, D), (Array.isArray(D) ? D : [D]).forEach((e) => this.setCssClass(A, e.trim()))), O && (log.info("Setting state styles", A, O), (Array.isArray(O) ? O : [O]).forEach((e) => this.setStyle(A, e.trim()))), k && (log.info("Setting state styles", A, O), (Array.isArray(k) ? k : [k]).forEach((e) => this.setTextStyle(A, e.trim())));
|
|
1649
|
-
}
|
|
1650
|
-
clear(e) {
|
|
1651
|
-
this.nodes = [], this.edges = [], this.documents = { root: newDoc() }, this.currentDocument = this.documents.root, this.startEndCount = 0, this.classes = newClassesList(), e || (this.links = /* @__PURE__ */ new Map(), clear());
|
|
1652
|
-
}
|
|
1653
|
-
getState(e) {
|
|
1654
|
-
return this.currentDocument.states.get(e);
|
|
1655
|
-
}
|
|
1656
|
-
getStates() {
|
|
1657
|
-
return this.currentDocument.states;
|
|
1658
|
-
}
|
|
1659
|
-
logDocuments() {
|
|
1660
|
-
log.info("Documents = ", this.documents);
|
|
1661
|
-
}
|
|
1662
|
-
getRelations() {
|
|
1663
|
-
return this.currentDocument.relations;
|
|
1664
|
-
}
|
|
1665
|
-
addLink(e, x, S) {
|
|
1666
|
-
this.links.set(e, {
|
|
1667
|
-
url: x,
|
|
1668
|
-
tooltip: S
|
|
1669
|
-
}), log.warn("Adding link", e, x, S);
|
|
1670
|
-
}
|
|
1671
|
-
getLinks() {
|
|
1672
|
-
return this.links;
|
|
1673
|
-
}
|
|
1674
|
-
startIdIfNeeded(e = "") {
|
|
1675
|
-
return e === CONSTANTS.START_NODE ? (this.startEndCount++, `${CONSTANTS.START_TYPE}${this.startEndCount}`) : e;
|
|
1676
|
-
}
|
|
1677
|
-
startTypeIfNeeded(e = "", b = DEFAULT_STATE_TYPE) {
|
|
1678
|
-
return e === CONSTANTS.START_NODE ? CONSTANTS.START_TYPE : b;
|
|
1679
|
-
}
|
|
1680
|
-
endIdIfNeeded(e = "") {
|
|
1681
|
-
return e === CONSTANTS.END_NODE ? (this.startEndCount++, `${CONSTANTS.END_TYPE}${this.startEndCount}`) : e;
|
|
1682
|
-
}
|
|
1683
|
-
endTypeIfNeeded(e = "", b = DEFAULT_STATE_TYPE) {
|
|
1684
|
-
return e === CONSTANTS.END_NODE ? CONSTANTS.END_TYPE : b;
|
|
1685
|
-
}
|
|
1686
|
-
addRelationObjs(e, b, x = "") {
|
|
1687
|
-
let C = this.startIdIfNeeded(e.id.trim()), w = this.startTypeIfNeeded(e.id.trim(), e.type), E = this.startIdIfNeeded(b.id.trim()), D = this.startTypeIfNeeded(b.id.trim(), b.type);
|
|
1688
|
-
this.addState(C, w, e.doc, e.description, e.note, e.classes, e.styles, e.textStyles), this.addState(E, D, b.doc, b.description, b.note, b.classes, b.styles, b.textStyles), this.currentDocument.relations.push({
|
|
1689
|
-
id1: C,
|
|
1690
|
-
id2: E,
|
|
1691
|
-
relationTitle: common_default.sanitizeText(x, getConfig2())
|
|
1692
|
-
});
|
|
1693
|
-
}
|
|
1694
|
-
addRelation(e, b, x) {
|
|
1695
|
-
if (typeof e == "object" && typeof b == "object") this.addRelationObjs(e, b, x);
|
|
1696
|
-
else if (typeof e == "string" && typeof b == "string") {
|
|
1697
|
-
let C = this.startIdIfNeeded(e.trim()), w = this.startTypeIfNeeded(e), E = this.endIdIfNeeded(b.trim()), D = this.endTypeIfNeeded(b);
|
|
1698
|
-
this.addState(C, w), this.addState(E, D), this.currentDocument.relations.push({
|
|
1699
|
-
id1: C,
|
|
1700
|
-
id2: E,
|
|
1701
|
-
relationTitle: x ? common_default.sanitizeText(x, getConfig2()) : void 0
|
|
1702
|
-
});
|
|
1703
|
-
}
|
|
1704
|
-
}
|
|
1705
|
-
addDescription(e, b) {
|
|
1706
|
-
let x = this.currentDocument.states.get(e), C = b.startsWith(":") ? b.replace(":", "").trim() : b;
|
|
1707
|
-
x?.descriptions?.push(common_default.sanitizeText(C, getConfig2()));
|
|
1708
|
-
}
|
|
1709
|
-
cleanupLabel(e) {
|
|
1710
|
-
return e.startsWith(":") ? e.slice(2).trim() : e.trim();
|
|
1711
|
-
}
|
|
1712
|
-
getDividerId() {
|
|
1713
|
-
return this.dividerCnt++, `divider-id-${this.dividerCnt}`;
|
|
1714
|
-
}
|
|
1715
|
-
addStyleClass(e, b = "") {
|
|
1716
|
-
this.classes.has(e) || this.classes.set(e, {
|
|
1717
|
-
id: e,
|
|
1718
|
-
styles: [],
|
|
1719
|
-
textStyles: []
|
|
1720
|
-
});
|
|
1721
|
-
let x = this.classes.get(e);
|
|
1722
|
-
b && x && b.split(CONSTANTS.STYLECLASS_SEP).forEach((e) => {
|
|
1723
|
-
let b = e.replace(/([^;]*);/, "$1").trim();
|
|
1724
|
-
if (RegExp(CONSTANTS.COLOR_KEYWORD).exec(e)) {
|
|
1725
|
-
let e = b.replace(CONSTANTS.FILL_KEYWORD, CONSTANTS.BG_FILL).replace(CONSTANTS.COLOR_KEYWORD, CONSTANTS.FILL_KEYWORD);
|
|
1726
|
-
x.textStyles.push(e);
|
|
1727
|
-
}
|
|
1728
|
-
x.styles.push(b);
|
|
1729
|
-
});
|
|
1730
|
-
}
|
|
1731
|
-
getClasses() {
|
|
1732
|
-
return this.classes;
|
|
1733
|
-
}
|
|
1734
|
-
setCssClass(e, b) {
|
|
1735
|
-
e.split(",").forEach((e) => {
|
|
1736
|
-
let x = this.getState(e);
|
|
1737
|
-
if (!x) {
|
|
1738
|
-
let b = e.trim();
|
|
1739
|
-
this.addState(b), x = this.getState(b);
|
|
1740
|
-
}
|
|
1741
|
-
x?.classes?.push(b);
|
|
1742
|
-
});
|
|
1743
|
-
}
|
|
1744
|
-
setStyle(e, b) {
|
|
1745
|
-
this.getState(e)?.styles?.push(b);
|
|
1746
|
-
}
|
|
1747
|
-
setTextStyle(e, b) {
|
|
1748
|
-
this.getState(e)?.textStyles?.push(b);
|
|
1749
|
-
}
|
|
1750
|
-
getDirectionStatement() {
|
|
1751
|
-
return this.rootDoc.find((e) => e.stmt === STMT_DIRECTION);
|
|
1752
|
-
}
|
|
1753
|
-
getDirection() {
|
|
1754
|
-
return this.getDirectionStatement()?.value ?? DEFAULT_DIAGRAM_DIRECTION;
|
|
1755
|
-
}
|
|
1756
|
-
setDirection(e) {
|
|
1757
|
-
let b = this.getDirectionStatement();
|
|
1758
|
-
b ? b.value = e : this.rootDoc.unshift({
|
|
1759
|
-
stmt: STMT_DIRECTION,
|
|
1760
|
-
value: e
|
|
1761
|
-
});
|
|
1762
|
-
}
|
|
1763
|
-
trimColon(e) {
|
|
1764
|
-
return e.startsWith(":") ? e.slice(1).trim() : e.trim();
|
|
1765
|
-
}
|
|
1766
|
-
getData() {
|
|
1767
|
-
let e = getConfig2();
|
|
1768
|
-
return {
|
|
1769
|
-
nodes: this.nodes,
|
|
1770
|
-
edges: this.edges,
|
|
1771
|
-
other: {},
|
|
1772
|
-
config: e,
|
|
1773
|
-
direction: getDir(this.getRootDocV2())
|
|
1774
|
-
};
|
|
1775
|
-
}
|
|
1776
|
-
getConfig() {
|
|
1777
|
-
return getConfig2().state;
|
|
1778
|
-
}
|
|
1779
|
-
}, styles_default = /* @__PURE__ */ __name((e) => `
|
|
1780
|
-
defs #statediagram-barbEnd {
|
|
1781
|
-
fill: ${e.transitionColor};
|
|
1782
|
-
stroke: ${e.transitionColor};
|
|
1783
|
-
}
|
|
1784
|
-
g.stateGroup text {
|
|
1785
|
-
fill: ${e.nodeBorder};
|
|
1786
|
-
stroke: none;
|
|
1787
|
-
font-size: 10px;
|
|
1788
|
-
}
|
|
1789
|
-
g.stateGroup text {
|
|
1790
|
-
fill: ${e.textColor};
|
|
1791
|
-
stroke: none;
|
|
1792
|
-
font-size: 10px;
|
|
1793
|
-
|
|
1794
|
-
}
|
|
1795
|
-
g.stateGroup .state-title {
|
|
1796
|
-
font-weight: bolder;
|
|
1797
|
-
fill: ${e.stateLabelColor};
|
|
1798
|
-
}
|
|
1799
|
-
|
|
1800
|
-
g.stateGroup rect {
|
|
1801
|
-
fill: ${e.mainBkg};
|
|
1802
|
-
stroke: ${e.nodeBorder};
|
|
1803
|
-
}
|
|
1804
|
-
|
|
1805
|
-
g.stateGroup line {
|
|
1806
|
-
stroke: ${e.lineColor};
|
|
1807
|
-
stroke-width: 1;
|
|
1808
|
-
}
|
|
1809
|
-
|
|
1810
|
-
.transition {
|
|
1811
|
-
stroke: ${e.transitionColor};
|
|
1812
|
-
stroke-width: 1;
|
|
1813
|
-
fill: none;
|
|
1814
|
-
}
|
|
1815
|
-
|
|
1816
|
-
.stateGroup .composit {
|
|
1817
|
-
fill: ${e.background};
|
|
1818
|
-
border-bottom: 1px
|
|
1819
|
-
}
|
|
1820
|
-
|
|
1821
|
-
.stateGroup .alt-composit {
|
|
1822
|
-
fill: #e0e0e0;
|
|
1823
|
-
border-bottom: 1px
|
|
1824
|
-
}
|
|
1825
|
-
|
|
1826
|
-
.state-note {
|
|
1827
|
-
stroke: ${e.noteBorderColor};
|
|
1828
|
-
fill: ${e.noteBkgColor};
|
|
1829
|
-
|
|
1830
|
-
text {
|
|
1831
|
-
fill: ${e.noteTextColor};
|
|
1832
|
-
stroke: none;
|
|
1833
|
-
font-size: 10px;
|
|
1834
|
-
}
|
|
1835
|
-
}
|
|
1836
|
-
|
|
1837
|
-
.stateLabel .box {
|
|
1838
|
-
stroke: none;
|
|
1839
|
-
stroke-width: 0;
|
|
1840
|
-
fill: ${e.mainBkg};
|
|
1841
|
-
opacity: 0.5;
|
|
1842
|
-
}
|
|
1843
|
-
|
|
1844
|
-
.edgeLabel .label rect {
|
|
1845
|
-
fill: ${e.labelBackgroundColor};
|
|
1846
|
-
opacity: 0.5;
|
|
1847
|
-
}
|
|
1848
|
-
.edgeLabel {
|
|
1849
|
-
background-color: ${e.edgeLabelBackground};
|
|
1850
|
-
p {
|
|
1851
|
-
background-color: ${e.edgeLabelBackground};
|
|
1852
|
-
}
|
|
1853
|
-
rect {
|
|
1854
|
-
opacity: 0.5;
|
|
1855
|
-
background-color: ${e.edgeLabelBackground};
|
|
1856
|
-
fill: ${e.edgeLabelBackground};
|
|
1857
|
-
}
|
|
1858
|
-
text-align: center;
|
|
1859
|
-
}
|
|
1860
|
-
.edgeLabel .label text {
|
|
1861
|
-
fill: ${e.transitionLabelColor || e.tertiaryTextColor};
|
|
1862
|
-
}
|
|
1863
|
-
.label div .edgeLabel {
|
|
1864
|
-
color: ${e.transitionLabelColor || e.tertiaryTextColor};
|
|
1865
|
-
}
|
|
1866
|
-
|
|
1867
|
-
.stateLabel text {
|
|
1868
|
-
fill: ${e.stateLabelColor};
|
|
1869
|
-
font-size: 10px;
|
|
1870
|
-
font-weight: bold;
|
|
1871
|
-
}
|
|
1872
|
-
|
|
1873
|
-
.node circle.state-start {
|
|
1874
|
-
fill: ${e.specialStateColor};
|
|
1875
|
-
stroke: ${e.specialStateColor};
|
|
1876
|
-
}
|
|
1877
|
-
|
|
1878
|
-
.node .fork-join {
|
|
1879
|
-
fill: ${e.specialStateColor};
|
|
1880
|
-
stroke: ${e.specialStateColor};
|
|
1881
|
-
}
|
|
1882
|
-
|
|
1883
|
-
.node circle.state-end {
|
|
1884
|
-
fill: ${e.innerEndBackground};
|
|
1885
|
-
stroke: ${e.background};
|
|
1886
|
-
stroke-width: 1.5
|
|
1887
|
-
}
|
|
1888
|
-
.end-state-inner {
|
|
1889
|
-
fill: ${e.compositeBackground || e.background};
|
|
1890
|
-
// stroke: ${e.background};
|
|
1891
|
-
stroke-width: 1.5
|
|
1892
|
-
}
|
|
1893
|
-
|
|
1894
|
-
.node rect {
|
|
1895
|
-
fill: ${e.stateBkg || e.mainBkg};
|
|
1896
|
-
stroke: ${e.stateBorder || e.nodeBorder};
|
|
1897
|
-
stroke-width: 1px;
|
|
1898
|
-
}
|
|
1899
|
-
.node polygon {
|
|
1900
|
-
fill: ${e.mainBkg};
|
|
1901
|
-
stroke: ${e.stateBorder || e.nodeBorder};;
|
|
1902
|
-
stroke-width: 1px;
|
|
1903
|
-
}
|
|
1904
|
-
#statediagram-barbEnd {
|
|
1905
|
-
fill: ${e.lineColor};
|
|
1906
|
-
}
|
|
1907
|
-
|
|
1908
|
-
.statediagram-cluster rect {
|
|
1909
|
-
fill: ${e.compositeTitleBackground};
|
|
1910
|
-
stroke: ${e.stateBorder || e.nodeBorder};
|
|
1911
|
-
stroke-width: 1px;
|
|
1912
|
-
}
|
|
1913
|
-
|
|
1914
|
-
.cluster-label, .nodeLabel {
|
|
1915
|
-
color: ${e.stateLabelColor};
|
|
1916
|
-
// line-height: 1;
|
|
1917
|
-
}
|
|
1918
|
-
|
|
1919
|
-
.statediagram-cluster rect.outer {
|
|
1920
|
-
rx: 5px;
|
|
1921
|
-
ry: 5px;
|
|
1922
|
-
}
|
|
1923
|
-
.statediagram-state .divider {
|
|
1924
|
-
stroke: ${e.stateBorder || e.nodeBorder};
|
|
1925
|
-
}
|
|
1926
|
-
|
|
1927
|
-
.statediagram-state .title-state {
|
|
1928
|
-
rx: 5px;
|
|
1929
|
-
ry: 5px;
|
|
1930
|
-
}
|
|
1931
|
-
.statediagram-cluster.statediagram-cluster .inner {
|
|
1932
|
-
fill: ${e.compositeBackground || e.background};
|
|
1933
|
-
}
|
|
1934
|
-
.statediagram-cluster.statediagram-cluster-alt .inner {
|
|
1935
|
-
fill: ${e.altBackground ? e.altBackground : "#efefef"};
|
|
1936
|
-
}
|
|
1937
|
-
|
|
1938
|
-
.statediagram-cluster .inner {
|
|
1939
|
-
rx:0;
|
|
1940
|
-
ry:0;
|
|
1941
|
-
}
|
|
1942
|
-
|
|
1943
|
-
.statediagram-state rect.basic {
|
|
1944
|
-
rx: 5px;
|
|
1945
|
-
ry: 5px;
|
|
1946
|
-
}
|
|
1947
|
-
.statediagram-state rect.divider {
|
|
1948
|
-
stroke-dasharray: 10,10;
|
|
1949
|
-
fill: ${e.altBackground ? e.altBackground : "#efefef"};
|
|
1950
|
-
}
|
|
1951
|
-
|
|
1952
|
-
.note-edge {
|
|
1953
|
-
stroke-dasharray: 5;
|
|
1954
|
-
}
|
|
1955
|
-
|
|
1956
|
-
.statediagram-note rect {
|
|
1957
|
-
fill: ${e.noteBkgColor};
|
|
1958
|
-
stroke: ${e.noteBorderColor};
|
|
1959
|
-
stroke-width: 1px;
|
|
1960
|
-
rx: 0;
|
|
1961
|
-
ry: 0;
|
|
1962
|
-
}
|
|
1963
|
-
.statediagram-note rect {
|
|
1964
|
-
fill: ${e.noteBkgColor};
|
|
1965
|
-
stroke: ${e.noteBorderColor};
|
|
1966
|
-
stroke-width: 1px;
|
|
1967
|
-
rx: 0;
|
|
1968
|
-
ry: 0;
|
|
1969
|
-
}
|
|
1970
|
-
|
|
1971
|
-
.statediagram-note text {
|
|
1972
|
-
fill: ${e.noteTextColor};
|
|
1973
|
-
}
|
|
1974
|
-
|
|
1975
|
-
.statediagram-note .nodeLabel {
|
|
1976
|
-
color: ${e.noteTextColor};
|
|
1977
|
-
}
|
|
1978
|
-
.statediagram .edgeLabel {
|
|
1979
|
-
color: red; // ${e.noteTextColor};
|
|
1980
|
-
}
|
|
1981
|
-
|
|
1982
|
-
#dependencyStart, #dependencyEnd {
|
|
1983
|
-
fill: ${e.lineColor};
|
|
1984
|
-
stroke: ${e.lineColor};
|
|
1985
|
-
stroke-width: 1;
|
|
1986
|
-
}
|
|
1987
|
-
|
|
1988
|
-
.statediagramTitleText {
|
|
1989
|
-
text-anchor: middle;
|
|
1990
|
-
font-size: 18px;
|
|
1991
|
-
fill: ${e.textColor};
|
|
1992
|
-
}
|
|
1993
|
-
`, "getStyles");
|
|
1994
|
-
export { StateDB, stateDiagram_default, stateRenderer_v3_unified_default, styles_default };
|