@loopstack/loopstack-studio 0.25.1 → 0.26.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/_virtual/rolldown_runtime.js +20 -0
- package/dist/api/auth.js +2 -4
- package/dist/api/client.js +7 -9
- package/dist/api/config.js +2 -4
- package/dist/api/dashboard.js +2 -4
- package/dist/api/documents.js +2 -4
- package/dist/api/environments.js +4 -0
- package/dist/api/index.js +23 -21
- package/dist/api/processor.js +2 -4
- package/dist/api/secrets.js +2 -4
- package/dist/api/workflows.js +2 -4
- package/dist/api/workspaces.js +2 -4
- package/dist/app/EnvironmentEmbedRoot.js +41 -24
- package/dist/components/ai-elements/code-block.js +71 -53
- package/dist/components/ai-elements/message.js +82 -41
- package/dist/components/ai-elements/prompt-input.js +253 -162
- package/dist/components/ai-elements/reasoning.js +116 -78
- package/dist/components/ai-elements/shimmer.js +35 -23
- package/dist/components/ai-elements/sources.js +58 -29
- package/dist/components/data-table/ConfirmDialog.js +30 -14
- package/dist/components/data-table/DataList.js +200 -138
- package/dist/components/data-table/DataTable.js +236 -168
- package/dist/components/data-table/DataTableBatchAction.js +27 -18
- package/dist/components/data-table/DataTableFilters.js +78 -53
- package/dist/components/data-table/DataTablePagination.js +104 -72
- package/dist/components/data-table/DataTableToolbar.js +65 -53
- package/dist/components/dynamic-form/ArrayController.js +103 -85
- package/dist/components/dynamic-form/CodeContent.js +36 -28
- package/dist/components/dynamic-form/Form.js +56 -43
- package/dist/components/dynamic-form/FormBody.js +10 -12
- package/dist/components/dynamic-form/FormElement.js +41 -31
- package/dist/components/dynamic-form/FormElementHeader.js +20 -12
- package/dist/components/dynamic-form/InputController.js +38 -36
- package/dist/components/dynamic-form/MarkdownContent.js +74 -53
- package/dist/components/dynamic-form/MermaidDiagram.js +24 -22
- package/dist/components/dynamic-form/ObjectController.js +32 -24
- package/dist/components/dynamic-form/fields/BaseFieldWrapper.js +47 -35
- package/dist/components/dynamic-form/fields/CheckboxField.js +48 -39
- package/dist/components/dynamic-form/fields/CodeViewField.js +50 -42
- package/dist/components/dynamic-form/fields/InputField.js +90 -62
- package/dist/components/dynamic-form/fields/MarkdownViewField.js +19 -16
- package/dist/components/dynamic-form/fields/RadioField.js +62 -46
- package/dist/components/dynamic-form/fields/SelectField.js +58 -40
- package/dist/components/dynamic-form/fields/SliderField.js +100 -94
- package/dist/components/dynamic-form/fields/SwitchField.js +61 -42
- package/dist/components/dynamic-form/fields/TextareaField.js +72 -53
- package/dist/components/dynamic-form/fields/utils/text-validation-utils.js +2 -4
- package/dist/components/dynamic-form/hooks/useArrayDefaultValue.js +5 -6
- package/dist/components/dynamic-form/hooks/useFieldConfig.js +20 -19
- package/dist/components/dynamic-form/hooks/useMergeParentKey.js +2 -4
- package/dist/components/dynamic-form/hooks/useSortPropertyNames.js +2 -4
- package/dist/components/feedback/ErrorAlert.js +17 -11
- package/dist/components/feedback/ErrorBoundary.js +14 -16
- package/dist/components/feedback/ErrorSnackbar.js +30 -13
- package/dist/components/feedback/LoadingCentered.js +28 -15
- package/dist/components/feedback/Snackbar.js +44 -43
- package/dist/components/feedback/index.js +5 -5
- package/dist/components/index.js +47 -47
- package/dist/components/layout/MainLayout.js +25 -17
- package/dist/components/layout/StudioSidebar.js +203 -140
- package/dist/components/lists/CustomListView.js +74 -49
- package/dist/components/lists/ListView.js +102 -66
- package/dist/components/loopstack-elements/link.js +104 -65
- package/dist/components/loopstack-elements/tool.js +142 -70
- package/dist/components/messages/CompletionMessagePaper.js +85 -53
- package/dist/components/page/PageBreadcrumbs.js +83 -64
- package/dist/components/ui/DiscordLogo.js +22 -16
- package/dist/components/ui/GoogleLogo.js +44 -40
- package/dist/components/ui/accordion.js +52 -31
- package/dist/components/ui/alert-dialog.js +109 -59
- package/dist/components/ui/alert.js +36 -22
- package/dist/components/ui/avatar.js +35 -21
- package/dist/components/ui/badge.js +17 -13
- package/dist/components/ui/breadcrumb.js +82 -46
- package/dist/components/ui/button-group.js +5 -5
- package/dist/components/ui/button.js +21 -17
- package/dist/components/ui/card.js +74 -40
- package/dist/components/ui/checkbox.js +23 -17
- package/dist/components/ui/collapsible.js +25 -17
- package/dist/components/ui/command.js +2 -1
- package/dist/components/ui/context-menu.js +52 -32
- package/dist/components/ui/dialog.js +107 -62
- package/dist/components/ui/drawer.js +99 -54
- package/dist/components/ui/dropdown-menu.js +159 -91
- package/dist/components/ui/hover-card.js +2 -1
- package/dist/components/ui/input-group.js +56 -36
- package/dist/components/ui/input.js +15 -11
- package/dist/components/ui/label.js +15 -11
- package/dist/components/ui/popover.js +38 -25
- package/dist/components/ui/radio-group.js +33 -22
- package/dist/components/ui/scroll-area.js +43 -28
- package/dist/components/ui/select.js +134 -73
- package/dist/components/ui/separator.js +17 -13
- package/dist/components/ui/sheet.js +105 -60
- package/dist/components/ui/sidebar.js +451 -269
- package/dist/components/ui/skeleton.js +14 -10
- package/dist/components/ui/slider.js +41 -32
- package/dist/components/ui/switch.js +21 -15
- package/dist/components/ui/table.js +85 -46
- package/dist/components/ui/tabs.js +45 -26
- package/dist/components/ui/textarea.js +14 -10
- package/dist/components/ui/tooltip.js +41 -26
- package/dist/components/ui-widgets/UiActions.js +37 -30
- package/dist/components/ui-widgets/UiWidget.js +46 -34
- package/dist/components/ui-widgets/widgets/AiPromptInput.js +42 -28
- package/dist/components/ui-widgets/widgets/ButtonFullWidth.js +21 -16
- package/dist/components/ui-widgets/widgets/SandboxRun.js +28 -19
- package/dist/components/ui-widgets/widgets/SubmitButton.js +20 -15
- package/dist/events/api-client-events.js +2 -4
- package/dist/events/sse-client-events.js +2 -4
- package/dist/features/code-explorer/CodeExplorer.js +2 -1
- package/dist/features/code-explorer/components/CodeExplorerTree.js +3 -2
- package/dist/features/code-explorer/components/CodeExplorerTreeNode.js +29 -31
- package/dist/features/code-explorer/components/FileContentViewer.js +148 -108
- package/dist/features/code-explorer/components/FileTabsBar.js +2 -1
- package/dist/features/code-explorer/components/FileTabsBarBase.js +169 -134
- package/dist/features/code-explorer/index.js +1 -1
- package/dist/features/code-explorer/providers/CodeExplorerProvider.js +4 -4
- package/dist/features/code-explorer/utils/fileIcons.js +39 -41
- package/dist/features/dashboard/Dashboard.js +121 -79
- package/dist/features/dashboard/RunItem.js +70 -50
- package/dist/features/dashboard/RunList.js +28 -17
- package/dist/features/debug/components/ConfigFlowViewer.js +67 -49
- package/dist/features/debug/components/WorkflowDebugHeader.js +46 -30
- package/dist/features/debug/components/WorkflowDebugLegend.js +68 -56
- package/dist/features/debug/components/WorkflowFlowViewer.js +96 -76
- package/dist/features/debug/components/workflow-flow/StateNode.js +102 -73
- package/dist/features/debug/components/workflow-flow/WorkflowGraph.js +40 -35
- package/dist/features/debug/components/workflow-flow/WorkflowTransitionEdge.js +94 -61
- package/dist/features/debug/index.js +3 -3
- package/dist/features/debug/lib/edge-paths.js +31 -33
- package/dist/features/debug/lib/flow-utils.js +145 -147
- package/dist/features/documents/DocumentRenderer.js +73 -68
- package/dist/features/documents/components/DocumentItem.js +24 -21
- package/dist/features/documents/components/DocumentList.js +45 -39
- package/dist/features/documents/components/DocumentMetadataPills.js +59 -44
- package/dist/features/documents/document-details/DocumentDetails.js +413 -298
- package/dist/features/documents/document-details/PromptDetails.js +142 -105
- package/dist/features/documents/index.js +4 -4
- package/dist/features/documents/renderers/AiMessage.js +48 -39
- package/dist/features/documents/renderers/AiMessageContent.js +164 -108
- package/dist/features/documents/renderers/ChoicesRenderer.js +89 -77
- package/dist/features/documents/renderers/ClaudeMessage.js +91 -74
- package/dist/features/documents/renderers/ConfirmPromptRenderer.js +53 -44
- package/dist/features/documents/renderers/DocumentDebugRenderer.js +30 -26
- package/dist/features/documents/renderers/DocumentFormRenderer.js +85 -69
- package/dist/features/documents/renderers/DocumentMessageRenderer.js +9 -10
- package/dist/features/documents/renderers/ErrorMessageRenderer.js +13 -11
- package/dist/features/documents/renderers/LinkMessageRenderer.js +14 -15
- package/dist/features/documents/renderers/MarkdownMessageRenderer.js +10 -8
- package/dist/features/documents/renderers/PlainMessageRenderer.js +9 -7
- package/dist/features/documents/renderers/TextPromptRenderer.js +54 -45
- package/dist/features/documents/renderers/useDocumentTransition.js +33 -30
- package/dist/features/feature-registry/FeatureRegistryProvider.js +17 -0
- package/dist/features/feature-registry/index.js +1 -0
- package/dist/features/file-explorer/api/files.js +7 -0
- package/dist/features/file-explorer/components/FileExplorerPanel.js +95 -0
- package/dist/features/file-explorer/components/FileTabsBar.js +18 -0
- package/dist/features/file-explorer/components/FileTree.js +90 -0
- package/dist/features/file-explorer/file-explorer-feature.js +12 -0
- package/dist/features/file-explorer/hooks/useFileExplorer.js +44 -0
- package/dist/features/file-explorer/index.js +2 -0
- package/dist/features/file-explorer/providers/FileExplorerProvider.js +112 -0
- package/dist/features/health/LocalHealthCheck.js +53 -54
- package/dist/features/health/index.js +1 -1
- package/dist/features/oauth/OAuthCallbackPage.js +2 -2
- package/dist/features/oauth/OAuthPromptRenderer.js +235 -156
- package/dist/features/oauth/index.js +2 -2
- package/dist/features/oauth/useOAuthPopup.js +71 -52
- package/dist/features/runs/Runs.js +187 -145
- package/dist/features/secrets/components/WorkbenchSecretsPanel.js +178 -0
- package/dist/features/secrets/index.js +1 -0
- package/dist/features/secrets/renderers/SecretInputRenderer.js +87 -0
- package/dist/features/secrets/secrets-feature.js +14 -0
- package/dist/features/workbench/Workbench.js +50 -74
- package/dist/features/workbench/WorkflowItem.js +68 -49
- package/dist/features/workbench/WorkflowList.js +127 -49
- package/dist/features/workbench/components/NewRunDialog.js +309 -212
- package/dist/features/workbench/components/SidebarPanel.js +155 -0
- package/dist/features/workbench/components/WorkbenchEnvironmentPanel.js +82 -0
- package/dist/features/workbench/components/WorkbenchIconSidebar.js +137 -51
- package/dist/features/workbench/components/WorkbenchPreviewPanel.js +134 -123
- package/dist/features/workbench/components/WorkbenchRunsPanel.js +32 -0
- package/dist/features/workbench/components/WorkbenchSettingsModal.js +60 -49
- package/dist/features/workbench/components/WorkbenchSidebarShell.js +80 -0
- package/dist/features/workbench/components/WorkflowForms.js +23 -17
- package/dist/features/workbench/components/WorkflowHistoryItem.js +122 -96
- package/dist/features/workbench/components/WorkflowHistoryList.js +54 -31
- package/dist/features/workbench/components/buttons/WorkflowButtons.js +99 -70
- package/dist/features/workbench/hooks/useAutoScrollBottom.js +25 -21
- package/dist/features/workbench/hooks/useScrollToListItem.js +21 -20
- package/dist/features/workbench/hooks/useWorkflowData.js +44 -31
- package/dist/features/workbench/hooks/useWorkflowListState.js +12 -13
- package/dist/features/workbench/index.js +8 -7
- package/dist/features/workbench/providers/ScrollProvider.js +19 -15
- package/dist/features/workbench/providers/WorkbenchLayoutProvider.js +75 -78
- package/dist/features/workspaces/Workspaces.js +226 -161
- package/dist/features/workspaces/components/CreateWorkspace.js +194 -137
- package/dist/features/workspaces/components/EnvironmentSlotSelector.js +75 -60
- package/dist/features/workspaces/components/ExecutionTimeline.js +185 -143
- package/dist/features/workspaces/components/NewWorkflowRunDialog.js +26 -18
- package/dist/features/workspaces/components/WorkflowRunForm.js +133 -85
- package/dist/features/workspaces/components/WorkspaceHomePage.js +81 -60
- package/dist/features/workspaces/components/workflow-form/ArgumentsView.js +69 -52
- package/dist/features/workspaces/components/workflow-form/HeaderSection.js +41 -27
- package/dist/features/workspaces/components/workflow-form/SelectionView.js +103 -64
- package/dist/features/workspaces/index.js +3 -3
- package/dist/frontend/studio/node_modules/@dagrejs/dagre/dist/dagre.esm.js +1968 -0
- package/dist/hooks/index.js +6 -6
- package/dist/hooks/query-keys.js +31 -33
- package/dist/hooks/use-mobile.js +11 -12
- package/dist/hooks/useApi.js +14 -16
- package/dist/hooks/useAuth.js +53 -38
- package/dist/hooks/useConfig.js +37 -26
- package/dist/hooks/useDashboard.js +15 -12
- package/dist/hooks/useDebounce.js +11 -12
- package/dist/hooks/useDocuments.js +35 -23
- package/dist/hooks/useEnvironmentPreviewUrl.js +13 -0
- package/dist/hooks/useEnvironments.js +8 -0
- package/dist/hooks/useFiles.js +2 -1
- package/dist/hooks/useProcessor.js +17 -14
- package/dist/hooks/useSecrets.js +64 -45
- package/dist/hooks/useWorkflows.js +163 -109
- package/dist/hooks/useWorkspaces.js +125 -83
- package/dist/index.d.ts +1395 -0
- package/dist/index.js +87 -80
- package/dist/lib/requireParam.js +2 -4
- package/dist/lib/utils.js +5 -7
- package/dist/loopstack-studio.css +1 -1
- package/dist/node_modules/@braintree/sanitize-url/dist/constants.js +4 -6
- package/dist/node_modules/@braintree/sanitize-url/dist/index.js +6 -8
- package/dist/node_modules/@chevrotain/gast/lib/src/helpers.js +17 -19
- package/dist/node_modules/@chevrotain/gast/lib/src/model.js +71 -73
- package/dist/node_modules/@chevrotain/gast/lib/src/visitor.js +13 -16
- package/dist/node_modules/@chevrotain/regexp-to-ast/lib/src/api.js +2 -2
- package/dist/node_modules/@chevrotain/regexp-to-ast/lib/src/base-regexp-visitor.js +2 -4
- package/dist/node_modules/@chevrotain/regexp-to-ast/lib/src/character-classes.js +34 -36
- package/dist/node_modules/@chevrotain/regexp-to-ast/lib/src/regexp-parser.js +110 -138
- package/dist/node_modules/@chevrotain/regexp-to-ast/lib/src/utils.js +11 -13
- package/dist/node_modules/@chevrotain/utils/lib/src/print.js +3 -5
- package/dist/node_modules/@chevrotain/utils/lib/src/timer.js +2 -4
- package/dist/node_modules/@chevrotain/utils/lib/src/to-fast-properties.js +2 -4
- package/dist/node_modules/@iconify/utils/lib/customisations/defaults.js +6 -8
- package/dist/node_modules/@iconify/utils/lib/icon/defaults.js +8 -10
- package/dist/node_modules/@iconify/utils/lib/icon/merge.js +6 -8
- package/dist/node_modules/@iconify/utils/lib/icon/name.js +6 -8
- package/dist/node_modules/@iconify/utils/lib/icon/transformations.js +2 -4
- package/dist/node_modules/@iconify/utils/lib/icon-set/get-icon.js +10 -12
- package/dist/node_modules/@iconify/utils/lib/icon-set/tree.js +2 -4
- package/dist/node_modules/@iconify/utils/lib/svg/build.js +18 -20
- package/dist/node_modules/@iconify/utils/lib/svg/defs.js +6 -8
- package/dist/node_modules/@iconify/utils/lib/svg/html.js +2 -4
- package/dist/node_modules/@iconify/utils/lib/svg/id.js +8 -10
- package/dist/node_modules/@iconify/utils/lib/svg/size.js +5 -7
- package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/architecture-YZFGNWBL.js +2 -2
- package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-2KRD3SAO.js +17 -20
- package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-67CJDMHE.js +17 -20
- package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-7N4EOEYR.js +23 -28
- package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-AA7GKIK3.js +21 -26
- package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-CIAEETIT.js +17 -20
- package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-FOC6F5B3.js +17 -20
- package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-K5T4RW27.js +425 -436
- package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-KGLVRYIC.js +17 -20
- package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-LIHQZDEY.js +38 -45
- package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-ORNJ4GCN.js +22 -27
- package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/gitGraph-7Q5UKJZL.js +2 -2
- package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/info-OMHHGYJF.js +2 -2
- package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/packet-4T2RLAQJ.js +2 -2
- package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/pie-ZZUOXDRM.js +2 -2
- package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/radar-PYXPWWZC.js +2 -2
- package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/treeView-SZITEDCU.js +2 -2
- package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/treemap-W4RFUUIX.js +2 -2
- package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/wardley-RL74JXVD.js +2 -2
- package/dist/node_modules/@mermaid-js/parser/dist/mermaid-parser.core.js +52 -56
- package/dist/node_modules/@shikijs/core/dist/index.js +575 -577
- package/dist/node_modules/@shikijs/engine-oniguruma/dist/index.js +157 -159
- package/dist/node_modules/@shikijs/engine-oniguruma/dist/wasm-inlined.js +2 -4
- package/dist/node_modules/@shikijs/langs/dist/abap.js +2 -3
- package/dist/node_modules/@shikijs/langs/dist/actionscript-3.js +2 -3
- package/dist/node_modules/@shikijs/langs/dist/ada.js +2 -3
- package/dist/node_modules/@shikijs/langs/dist/angular-expression.js +2 -3
- package/dist/node_modules/@shikijs/langs/dist/angular-html.js +13 -15
- package/dist/node_modules/@shikijs/langs/dist/angular-inline-style.js +3 -5
- package/dist/node_modules/@shikijs/langs/dist/angular-inline-template.js +7 -9
- package/dist/node_modules/@shikijs/langs/dist/angular-let-declaration.js +3 -5
- package/dist/node_modules/@shikijs/langs/dist/angular-template-blocks.js +7 -9
- package/dist/node_modules/@shikijs/langs/dist/angular-template.js +3 -5
- package/dist/node_modules/@shikijs/langs/dist/angular-ts.js +15 -17
- package/dist/node_modules/@shikijs/langs/dist/apache.js +2 -3
- package/dist/node_modules/@shikijs/langs/dist/apex.js +2 -3
- package/dist/node_modules/@shikijs/langs/dist/apl.js +13 -15
- package/dist/node_modules/@shikijs/langs/dist/applescript.js +2 -3
- package/dist/node_modules/@shikijs/langs/dist/ara.js +2 -3
- package/dist/node_modules/@shikijs/langs/dist/asciidoc.js +2 -3
- package/dist/node_modules/@shikijs/langs/dist/asm.js +2 -3
- package/dist/node_modules/@shikijs/langs/dist/astro.js +15 -17
- package/dist/node_modules/@shikijs/langs/dist/awk.js +2 -3
- package/dist/node_modules/@shikijs/langs/dist/ballerina.js +2 -3
- package/dist/node_modules/@shikijs/langs/dist/bat.js +2 -3
- package/dist/node_modules/@shikijs/langs/dist/beancount.js +2 -3
- package/dist/node_modules/@shikijs/langs/dist/berry.js +2 -3
- package/dist/node_modules/@shikijs/langs/dist/bibtex.js +2 -3
- package/dist/node_modules/@shikijs/langs/dist/bicep.js +2 -3
- package/dist/node_modules/@shikijs/langs/dist/bird2.js +2 -3
- package/dist/node_modules/@shikijs/langs/dist/blade.js +17 -19
- package/dist/node_modules/@shikijs/langs/dist/bsl.js +3 -5
- package/dist/node_modules/@shikijs/langs/dist/c.js +2 -3
- package/dist/node_modules/@shikijs/langs/dist/c3.js +2 -3
- package/dist/node_modules/@shikijs/langs/dist/cadence.js +2 -3
- package/dist/node_modules/@shikijs/langs/dist/cairo.js +3 -5
- package/dist/node_modules/@shikijs/langs/dist/clarity.js +2 -3
- package/dist/node_modules/@shikijs/langs/dist/clojure.js +2 -3
- package/dist/node_modules/@shikijs/langs/dist/cmake.js +2 -3
- package/dist/node_modules/@shikijs/langs/dist/cobol.js +7 -9
- package/dist/node_modules/@shikijs/langs/dist/codeowners.js +2 -3
- package/dist/node_modules/@shikijs/langs/dist/codeql.js +2 -3
- package/dist/node_modules/@shikijs/langs/dist/coffee.js +3 -5
- package/dist/node_modules/@shikijs/langs/dist/common-lisp.js +2 -3
- package/dist/node_modules/@shikijs/langs/dist/coq.js +2 -3
- package/dist/node_modules/@shikijs/langs/dist/cpp-macro.js +9 -11
- package/dist/node_modules/@shikijs/langs/dist/cpp.js +11 -13
- package/dist/node_modules/@shikijs/langs/dist/crystal.js +15 -17
- package/dist/node_modules/@shikijs/langs/dist/csharp.js +2 -3
- package/dist/node_modules/@shikijs/langs/dist/css.js +2 -3
- package/dist/node_modules/@shikijs/langs/dist/csv.js +2 -3
- package/dist/node_modules/@shikijs/langs/dist/cue.js +2 -3
- package/dist/node_modules/@shikijs/langs/dist/cypher.js +2 -3
- package/dist/node_modules/@shikijs/langs/dist/d.js +2 -3
- package/dist/node_modules/@shikijs/langs/dist/dart.js +2 -3
- package/dist/node_modules/@shikijs/langs/dist/dax.js +2 -3
- package/dist/node_modules/@shikijs/langs/dist/desktop.js +2 -3
- package/dist/node_modules/@shikijs/langs/dist/diff.js +2 -3
- package/dist/node_modules/@shikijs/langs/dist/docker.js +2 -3
- package/dist/node_modules/@shikijs/langs/dist/dotenv.js +2 -3
- package/dist/node_modules/@shikijs/langs/dist/dream-maker.js +2 -3
- package/dist/node_modules/@shikijs/langs/dist/edge.js +9 -11
- package/dist/node_modules/@shikijs/langs/dist/elixir.js +3 -5
- package/dist/node_modules/@shikijs/langs/dist/elm.js +3 -5
- package/dist/node_modules/@shikijs/langs/dist/emacs-lisp.js +2 -3
- package/dist/node_modules/@shikijs/langs/dist/erb.js +7 -9
- package/dist/node_modules/@shikijs/langs/dist/erlang.js +3 -5
- package/dist/node_modules/@shikijs/langs/dist/es-tag-css.js +9 -11
- package/dist/node_modules/@shikijs/langs/dist/es-tag-glsl.js +9 -11
- package/dist/node_modules/@shikijs/langs/dist/es-tag-html.js +9 -11
- package/dist/node_modules/@shikijs/langs/dist/es-tag-sql.js +7 -9
- package/dist/node_modules/@shikijs/langs/dist/es-tag-xml.js +3 -5
- package/dist/node_modules/@shikijs/langs/dist/fennel.js +2 -3
- package/dist/node_modules/@shikijs/langs/dist/fish.js +2 -3
- package/dist/node_modules/@shikijs/langs/dist/fluent.js +2 -3
- package/dist/node_modules/@shikijs/langs/dist/fortran-fixed-form.js +3 -5
- package/dist/node_modules/@shikijs/langs/dist/fortran-free-form.js +2 -3
- package/dist/node_modules/@shikijs/langs/dist/fsharp.js +3 -5
- package/dist/node_modules/@shikijs/langs/dist/gdresource.js +7 -9
- package/dist/node_modules/@shikijs/langs/dist/gdscript.js +2 -3
- package/dist/node_modules/@shikijs/langs/dist/gdshader.js +2 -3
- package/dist/node_modules/@shikijs/langs/dist/genie.js +2 -3
- package/dist/node_modules/@shikijs/langs/dist/gherkin.js +2 -3
- package/dist/node_modules/@shikijs/langs/dist/git-commit.js +3 -5
- package/dist/node_modules/@shikijs/langs/dist/git-rebase.js +3 -5
- package/dist/node_modules/@shikijs/langs/dist/gleam.js +2 -3
- package/dist/node_modules/@shikijs/langs/dist/glimmer-js.js +11 -13
- package/dist/node_modules/@shikijs/langs/dist/glimmer-ts.js +11 -13
- package/dist/node_modules/@shikijs/langs/dist/glsl.js +3 -5
- package/dist/node_modules/@shikijs/langs/dist/gn.js +2 -3
- package/dist/node_modules/@shikijs/langs/dist/gnuplot.js +2 -3
- package/dist/node_modules/@shikijs/langs/dist/go.js +2 -3
- package/dist/node_modules/@shikijs/langs/dist/graphql.js +11 -13
- package/dist/node_modules/@shikijs/langs/dist/groovy.js +2 -3
- package/dist/node_modules/@shikijs/langs/dist/hack.js +7 -9
- package/dist/node_modules/@shikijs/langs/dist/haml.js +7 -9
- package/dist/node_modules/@shikijs/langs/dist/handlebars.js +11 -13
- package/dist/node_modules/@shikijs/langs/dist/haskell.js +2 -3
- package/dist/node_modules/@shikijs/langs/dist/haxe.js +2 -3
- package/dist/node_modules/@shikijs/langs/dist/hcl.js +2 -3
- package/dist/node_modules/@shikijs/langs/dist/hjson.js +2 -3
- package/dist/node_modules/@shikijs/langs/dist/hlsl.js +2 -3
- package/dist/node_modules/@shikijs/langs/dist/html-derivative.js +3 -5
- package/dist/node_modules/@shikijs/langs/dist/html.js +7 -9
- package/dist/node_modules/@shikijs/langs/dist/http.js +11 -13
- package/dist/node_modules/@shikijs/langs/dist/hurl.js +9 -11
- package/dist/node_modules/@shikijs/langs/dist/hxml.js +3 -5
- package/dist/node_modules/@shikijs/langs/dist/hy.js +2 -3
- package/dist/node_modules/@shikijs/langs/dist/imba.js +2 -3
- package/dist/node_modules/@shikijs/langs/dist/ini.js +2 -3
- package/dist/node_modules/@shikijs/langs/dist/java.js +2 -3
- package/dist/node_modules/@shikijs/langs/dist/javascript.js +2 -3
- package/dist/node_modules/@shikijs/langs/dist/jinja-html.js +3 -5
- package/dist/node_modules/@shikijs/langs/dist/jinja.js +3 -5
- package/dist/node_modules/@shikijs/langs/dist/jison.js +3 -5
- package/dist/node_modules/@shikijs/langs/dist/json.js +2 -3
- package/dist/node_modules/@shikijs/langs/dist/json5.js +2 -3
- package/dist/node_modules/@shikijs/langs/dist/jsonc.js +2 -3
- package/dist/node_modules/@shikijs/langs/dist/jsonl.js +2 -3
- package/dist/node_modules/@shikijs/langs/dist/jsonnet.js +2 -3
- package/dist/node_modules/@shikijs/langs/dist/jssm.js +2 -3
- package/dist/node_modules/@shikijs/langs/dist/jsx.js +2 -3
- package/dist/node_modules/@shikijs/langs/dist/julia.js +13 -15
- package/dist/node_modules/@shikijs/langs/dist/just.js +15 -17
- package/dist/node_modules/@shikijs/langs/dist/kdl.js +2 -3
- package/dist/node_modules/@shikijs/langs/dist/kotlin.js +2 -3
- package/dist/node_modules/@shikijs/langs/dist/kusto.js +2 -3
- package/dist/node_modules/@shikijs/langs/dist/latex.js +3 -5
- package/dist/node_modules/@shikijs/langs/dist/lean.js +2 -3
- package/dist/node_modules/@shikijs/langs/dist/less.js +2 -3
- package/dist/node_modules/@shikijs/langs/dist/liquid.js +11 -13
- package/dist/node_modules/@shikijs/langs/dist/llvm.js +2 -3
- package/dist/node_modules/@shikijs/langs/dist/log.js +2 -3
- package/dist/node_modules/@shikijs/langs/dist/logo.js +2 -3
- package/dist/node_modules/@shikijs/langs/dist/lua.js +3 -5
- package/dist/node_modules/@shikijs/langs/dist/luau.js +2 -3
- package/dist/node_modules/@shikijs/langs/dist/make.js +2 -3
- package/dist/node_modules/@shikijs/langs/dist/markdown-nix.js +2 -3
- package/dist/node_modules/@shikijs/langs/dist/markdown-vue.js +2 -3
- package/dist/node_modules/@shikijs/langs/dist/markdown.js +2 -3
- package/dist/node_modules/@shikijs/langs/dist/marko.js +11 -13
- package/dist/node_modules/@shikijs/langs/dist/matlab.js +2 -3
- package/dist/node_modules/@shikijs/langs/dist/mdc.js +9 -11
- package/dist/node_modules/@shikijs/langs/dist/mdx.js +2 -3
- package/dist/node_modules/@shikijs/langs/dist/mermaid.js +2 -3
- package/dist/node_modules/@shikijs/langs/dist/mipsasm.js +2 -3
- package/dist/node_modules/@shikijs/langs/dist/mojo.js +2 -3
- package/dist/node_modules/@shikijs/langs/dist/moonbit.js +2 -3
- package/dist/node_modules/@shikijs/langs/dist/move.js +2 -3
- package/dist/node_modules/@shikijs/langs/dist/narrat.js +2 -3
- package/dist/node_modules/@shikijs/langs/dist/nextflow-groovy.js +2 -3
- package/dist/node_modules/@shikijs/langs/dist/nextflow.js +3 -5
- package/dist/node_modules/@shikijs/langs/dist/nginx.js +3 -5
- package/dist/node_modules/@shikijs/langs/dist/nim.js +17 -19
- package/dist/node_modules/@shikijs/langs/dist/nix.js +3 -5
- package/dist/node_modules/@shikijs/langs/dist/nushell.js +2 -3
- package/dist/node_modules/@shikijs/langs/dist/objective-c.js +2 -3
- package/dist/node_modules/@shikijs/langs/dist/objective-cpp.js +2 -3
- package/dist/node_modules/@shikijs/langs/dist/ocaml.js +2 -3
- package/dist/node_modules/@shikijs/langs/dist/odin.js +2 -3
- package/dist/node_modules/@shikijs/langs/dist/openscad.js +2 -3
- package/dist/node_modules/@shikijs/langs/dist/pascal.js +2 -3
- package/dist/node_modules/@shikijs/langs/dist/perl.js +13 -15
- package/dist/node_modules/@shikijs/langs/dist/php.js +15 -17
- package/dist/node_modules/@shikijs/langs/dist/pkl.js +2 -3
- package/dist/node_modules/@shikijs/langs/dist/plsql.js +2 -3
- package/dist/node_modules/@shikijs/langs/dist/po.js +2 -3
- package/dist/node_modules/@shikijs/langs/dist/polar.js +2 -3
- package/dist/node_modules/@shikijs/langs/dist/postcss.js +2 -3
- package/dist/node_modules/@shikijs/langs/dist/powerquery.js +2 -3
- package/dist/node_modules/@shikijs/langs/dist/powershell.js +2 -3
- package/dist/node_modules/@shikijs/langs/dist/prisma.js +2 -3
- package/dist/node_modules/@shikijs/langs/dist/prolog.js +2 -3
- package/dist/node_modules/@shikijs/langs/dist/proto.js +2 -3
- package/dist/node_modules/@shikijs/langs/dist/pug.js +9 -11
- package/dist/node_modules/@shikijs/langs/dist/puppet.js +2 -3
- package/dist/node_modules/@shikijs/langs/dist/purescript.js +2 -3
- package/dist/node_modules/@shikijs/langs/dist/python.js +2 -3
- package/dist/node_modules/@shikijs/langs/dist/qml.js +3 -5
- package/dist/node_modules/@shikijs/langs/dist/qmldir.js +2 -3
- package/dist/node_modules/@shikijs/langs/dist/qss.js +2 -3
- package/dist/node_modules/@shikijs/langs/dist/r.js +2 -3
- package/dist/node_modules/@shikijs/langs/dist/racket.js +2 -3
- package/dist/node_modules/@shikijs/langs/dist/raku.js +2 -3
- package/dist/node_modules/@shikijs/langs/dist/razor.js +7 -9
- package/dist/node_modules/@shikijs/langs/dist/reg.js +2 -3
- package/dist/node_modules/@shikijs/langs/dist/regexp.js +2 -3
- package/dist/node_modules/@shikijs/langs/dist/rel.js +2 -3
- package/dist/node_modules/@shikijs/langs/dist/riscv.js +2 -3
- package/dist/node_modules/@shikijs/langs/dist/ron.js +2 -3
- package/dist/node_modules/@shikijs/langs/dist/rosmsg.js +2 -3
- package/dist/node_modules/@shikijs/langs/dist/rst.js +19 -21
- package/dist/node_modules/@shikijs/langs/dist/ruby.js +27 -29
- package/dist/node_modules/@shikijs/langs/dist/rust.js +2 -3
- package/dist/node_modules/@shikijs/langs/dist/sas.js +3 -5
- package/dist/node_modules/@shikijs/langs/dist/sass.js +2 -3
- package/dist/node_modules/@shikijs/langs/dist/scala.js +2 -3
- package/dist/node_modules/@shikijs/langs/dist/scheme.js +2 -3
- package/dist/node_modules/@shikijs/langs/dist/scss.js +3 -5
- package/dist/node_modules/@shikijs/langs/dist/sdbl.js +2 -3
- package/dist/node_modules/@shikijs/langs/dist/shaderlab.js +3 -5
- package/dist/node_modules/@shikijs/langs/dist/shellscript.js +2 -3
- package/dist/node_modules/@shikijs/langs/dist/shellsession.js +3 -5
- package/dist/node_modules/@shikijs/langs/dist/smalltalk.js +2 -3
- package/dist/node_modules/@shikijs/langs/dist/solidity.js +2 -3
- package/dist/node_modules/@shikijs/langs/dist/soy.js +3 -5
- package/dist/node_modules/@shikijs/langs/dist/sparql.js +3 -5
- package/dist/node_modules/@shikijs/langs/dist/splunk.js +2 -3
- package/dist/node_modules/@shikijs/langs/dist/sql.js +2 -3
- package/dist/node_modules/@shikijs/langs/dist/ssh-config.js +2 -3
- package/dist/node_modules/@shikijs/langs/dist/stata.js +3 -5
- package/dist/node_modules/@shikijs/langs/dist/stylus.js +2 -3
- package/dist/node_modules/@shikijs/langs/dist/surrealql.js +3 -5
- package/dist/node_modules/@shikijs/langs/dist/svelte.js +11 -13
- package/dist/node_modules/@shikijs/langs/dist/swift.js +2 -3
- package/dist/node_modules/@shikijs/langs/dist/system-verilog.js +2 -3
- package/dist/node_modules/@shikijs/langs/dist/systemd.js +2 -3
- package/dist/node_modules/@shikijs/langs/dist/talonscript.js +2 -3
- package/dist/node_modules/@shikijs/langs/dist/tasl.js +2 -3
- package/dist/node_modules/@shikijs/langs/dist/tcl.js +2 -3
- package/dist/node_modules/@shikijs/langs/dist/templ.js +9 -11
- package/dist/node_modules/@shikijs/langs/dist/terraform.js +2 -3
- package/dist/node_modules/@shikijs/langs/dist/tex.js +3 -5
- package/dist/node_modules/@shikijs/langs/dist/toml.js +2 -3
- package/dist/node_modules/@shikijs/langs/dist/ts-tags.js +15 -17
- package/dist/node_modules/@shikijs/langs/dist/tsv.js +2 -3
- package/dist/node_modules/@shikijs/langs/dist/tsx.js +2 -3
- package/dist/node_modules/@shikijs/langs/dist/turtle.js +2 -3
- package/dist/node_modules/@shikijs/langs/dist/twig.js +15 -17
- package/dist/node_modules/@shikijs/langs/dist/typescript.js +2 -3
- package/dist/node_modules/@shikijs/langs/dist/typespec.js +2 -3
- package/dist/node_modules/@shikijs/langs/dist/typst.js +2 -3
- package/dist/node_modules/@shikijs/langs/dist/v.js +2 -3
- package/dist/node_modules/@shikijs/langs/dist/vala.js +2 -3
- package/dist/node_modules/@shikijs/langs/dist/vb.js +2 -3
- package/dist/node_modules/@shikijs/langs/dist/verilog.js +2 -3
- package/dist/node_modules/@shikijs/langs/dist/vhdl.js +2 -3
- package/dist/node_modules/@shikijs/langs/dist/viml.js +2 -3
- package/dist/node_modules/@shikijs/langs/dist/vue-directives.js +2 -3
- package/dist/node_modules/@shikijs/langs/dist/vue-html.js +3 -5
- package/dist/node_modules/@shikijs/langs/dist/vue-interpolations.js +2 -3
- package/dist/node_modules/@shikijs/langs/dist/vue-sfc-style-variable-injection.js +3 -5
- package/dist/node_modules/@shikijs/langs/dist/vue-vine.js +15 -17
- package/dist/node_modules/@shikijs/langs/dist/vue.js +23 -25
- package/dist/node_modules/@shikijs/langs/dist/vyper.js +2 -3
- package/dist/node_modules/@shikijs/langs/dist/wasm.js +2 -3
- package/dist/node_modules/@shikijs/langs/dist/wenyan.js +2 -3
- package/dist/node_modules/@shikijs/langs/dist/wgsl.js +2 -3
- package/dist/node_modules/@shikijs/langs/dist/wikitext.js +2 -3
- package/dist/node_modules/@shikijs/langs/dist/wit.js +2 -3
- package/dist/node_modules/@shikijs/langs/dist/wolfram.js +2 -3
- package/dist/node_modules/@shikijs/langs/dist/xml.js +3 -5
- package/dist/node_modules/@shikijs/langs/dist/xsl.js +3 -5
- package/dist/node_modules/@shikijs/langs/dist/yaml.js +2 -3
- package/dist/node_modules/@shikijs/langs/dist/zenscript.js +2 -3
- package/dist/node_modules/@shikijs/langs/dist/zig.js +2 -3
- package/dist/node_modules/@shikijs/primitive/dist/index.js +319 -321
- package/dist/node_modules/@shikijs/themes/dist/andromeeda.js +2 -4
- package/dist/node_modules/@shikijs/themes/dist/aurora-x.js +2 -4
- package/dist/node_modules/@shikijs/themes/dist/ayu-dark.js +2 -4
- package/dist/node_modules/@shikijs/themes/dist/ayu-light.js +2 -4
- package/dist/node_modules/@shikijs/themes/dist/ayu-mirage.js +2 -4
- package/dist/node_modules/@shikijs/themes/dist/catppuccin-frappe.js +2 -4
- package/dist/node_modules/@shikijs/themes/dist/catppuccin-latte.js +2 -4
- package/dist/node_modules/@shikijs/themes/dist/catppuccin-macchiato.js +2 -4
- package/dist/node_modules/@shikijs/themes/dist/catppuccin-mocha.js +2 -4
- package/dist/node_modules/@shikijs/themes/dist/dark-plus.js +2 -4
- package/dist/node_modules/@shikijs/themes/dist/dracula-soft.js +2 -4
- package/dist/node_modules/@shikijs/themes/dist/dracula.js +2 -4
- package/dist/node_modules/@shikijs/themes/dist/everforest-dark.js +2 -4
- package/dist/node_modules/@shikijs/themes/dist/everforest-light.js +2 -4
- package/dist/node_modules/@shikijs/themes/dist/github-dark-default.js +2 -4
- package/dist/node_modules/@shikijs/themes/dist/github-dark-dimmed.js +2 -4
- package/dist/node_modules/@shikijs/themes/dist/github-dark-high-contrast.js +2 -4
- package/dist/node_modules/@shikijs/themes/dist/github-dark.js +2 -4
- package/dist/node_modules/@shikijs/themes/dist/github-light-default.js +2 -4
- package/dist/node_modules/@shikijs/themes/dist/github-light-high-contrast.js +2 -4
- package/dist/node_modules/@shikijs/themes/dist/github-light.js +2 -4
- package/dist/node_modules/@shikijs/themes/dist/gruvbox-dark-hard.js +2 -4
- package/dist/node_modules/@shikijs/themes/dist/gruvbox-dark-medium.js +2 -4
- package/dist/node_modules/@shikijs/themes/dist/gruvbox-dark-soft.js +2 -4
- package/dist/node_modules/@shikijs/themes/dist/gruvbox-light-hard.js +2 -4
- package/dist/node_modules/@shikijs/themes/dist/gruvbox-light-medium.js +2 -4
- package/dist/node_modules/@shikijs/themes/dist/gruvbox-light-soft.js +2 -4
- package/dist/node_modules/@shikijs/themes/dist/horizon-bright.js +2 -4
- package/dist/node_modules/@shikijs/themes/dist/horizon.js +2 -4
- package/dist/node_modules/@shikijs/themes/dist/houston.js +2 -4
- package/dist/node_modules/@shikijs/themes/dist/kanagawa-dragon.js +2 -4
- package/dist/node_modules/@shikijs/themes/dist/kanagawa-lotus.js +2 -4
- package/dist/node_modules/@shikijs/themes/dist/kanagawa-wave.js +2 -4
- package/dist/node_modules/@shikijs/themes/dist/laserwave.js +2 -4
- package/dist/node_modules/@shikijs/themes/dist/light-plus.js +2 -4
- package/dist/node_modules/@shikijs/themes/dist/material-theme-darker.js +2 -4
- package/dist/node_modules/@shikijs/themes/dist/material-theme-lighter.js +2 -4
- package/dist/node_modules/@shikijs/themes/dist/material-theme-ocean.js +2 -4
- package/dist/node_modules/@shikijs/themes/dist/material-theme-palenight.js +2 -4
- package/dist/node_modules/@shikijs/themes/dist/material-theme.js +2 -4
- package/dist/node_modules/@shikijs/themes/dist/min-dark.js +2 -4
- package/dist/node_modules/@shikijs/themes/dist/min-light.js +2 -4
- package/dist/node_modules/@shikijs/themes/dist/monokai.js +2 -4
- package/dist/node_modules/@shikijs/themes/dist/night-owl-light.js +2 -4
- package/dist/node_modules/@shikijs/themes/dist/night-owl.js +2 -4
- package/dist/node_modules/@shikijs/themes/dist/nord.js +2 -4
- package/dist/node_modules/@shikijs/themes/dist/one-dark-pro.js +2 -4
- package/dist/node_modules/@shikijs/themes/dist/one-light.js +2 -4
- package/dist/node_modules/@shikijs/themes/dist/plastic.js +2 -4
- package/dist/node_modules/@shikijs/themes/dist/poimandres.js +2 -4
- package/dist/node_modules/@shikijs/themes/dist/red.js +2 -4
- package/dist/node_modules/@shikijs/themes/dist/rose-pine-dawn.js +2 -4
- package/dist/node_modules/@shikijs/themes/dist/rose-pine-moon.js +2 -4
- package/dist/node_modules/@shikijs/themes/dist/rose-pine.js +2 -4
- package/dist/node_modules/@shikijs/themes/dist/slack-dark.js +2 -4
- package/dist/node_modules/@shikijs/themes/dist/slack-ochin.js +2 -4
- package/dist/node_modules/@shikijs/themes/dist/snazzy-light.js +2 -4
- package/dist/node_modules/@shikijs/themes/dist/solarized-dark.js +2 -4
- package/dist/node_modules/@shikijs/themes/dist/solarized-light.js +2 -4
- package/dist/node_modules/@shikijs/themes/dist/synthwave-84.js +2 -4
- package/dist/node_modules/@shikijs/themes/dist/tokyo-night.js +2 -4
- package/dist/node_modules/@shikijs/themes/dist/vesper.js +2 -4
- package/dist/node_modules/@shikijs/themes/dist/vitesse-black.js +2 -4
- package/dist/node_modules/@shikijs/themes/dist/vitesse-dark.js +2 -4
- package/dist/node_modules/@shikijs/themes/dist/vitesse-light.js +2 -4
- package/dist/node_modules/@shikijs/types/dist/index.js +2 -4
- package/dist/node_modules/@shikijs/vscode-textmate/dist/index.js +947 -949
- package/dist/node_modules/@ungap/structured-clone/esm/deserialize.js +30 -30
- package/dist/node_modules/@ungap/structured-clone/esm/index.js +4 -6
- package/dist/node_modules/@ungap/structured-clone/esm/serialize.js +64 -64
- package/dist/node_modules/@ungap/structured-clone/esm/types.js +2 -0
- package/dist/node_modules/@upsetjs/venn.js/build/venn.esm.js +693 -695
- package/dist/node_modules/@xyflow/react/dist/esm/index.js +881 -883
- package/dist/node_modules/@xyflow/system/dist/esm/index.js +1221 -1223
- package/dist/node_modules/bail/index.js +2 -4
- package/dist/node_modules/ccount/index.js +2 -4
- package/dist/node_modules/character-entities-html4/index.js +2 -4
- package/dist/node_modules/character-entities-legacy/index.js +2 -4
- package/dist/node_modules/chevrotain/lib/src/api.js +10 -10
- package/dist/node_modules/chevrotain/lib/src/lang/lang_extensions.js +4 -6
- package/dist/node_modules/chevrotain/lib/src/parse/constants.js +2 -4
- package/dist/node_modules/chevrotain/lib/src/parse/cst/cst.js +9 -11
- package/dist/node_modules/chevrotain/lib/src/parse/cst/cst_visitor.js +15 -17
- package/dist/node_modules/chevrotain/lib/src/parse/errors_public.js +17 -19
- package/dist/node_modules/chevrotain/lib/src/parse/exceptions_public.js +24 -26
- package/dist/node_modules/chevrotain/lib/src/parse/grammar/checks.js +201 -203
- package/dist/node_modules/chevrotain/lib/src/parse/grammar/first.js +16 -18
- package/dist/node_modules/chevrotain/lib/src/parse/grammar/follow.js +17 -19
- package/dist/node_modules/chevrotain/lib/src/parse/grammar/gast/gast_resolver_public.js +12 -14
- package/dist/node_modules/chevrotain/lib/src/parse/grammar/interpreter.js +140 -142
- package/dist/node_modules/chevrotain/lib/src/parse/grammar/keys.js +4 -5
- package/dist/node_modules/chevrotain/lib/src/parse/grammar/llk_lookahead.js +25 -27
- package/dist/node_modules/chevrotain/lib/src/parse/grammar/lookahead.js +149 -151
- package/dist/node_modules/chevrotain/lib/src/parse/grammar/resolver.js +14 -16
- package/dist/node_modules/chevrotain/lib/src/parse/grammar/rest.js +38 -40
- package/dist/node_modules/chevrotain/lib/src/parse/parser/parser.js +64 -65
- package/dist/node_modules/chevrotain/lib/src/parse/parser/traits/error_handler.js +11 -13
- package/dist/node_modules/chevrotain/lib/src/parse/parser/traits/gast_recorder.js +101 -103
- package/dist/node_modules/chevrotain/lib/src/parse/parser/traits/lexer_adapter.js +5 -7
- package/dist/node_modules/chevrotain/lib/src/parse/parser/traits/looksahead.js +45 -47
- package/dist/node_modules/chevrotain/lib/src/parse/parser/traits/perf_tracer.js +6 -8
- package/dist/node_modules/chevrotain/lib/src/parse/parser/traits/recognizer_api.js +73 -75
- package/dist/node_modules/chevrotain/lib/src/parse/parser/traits/recognizer_engine.js +180 -182
- package/dist/node_modules/chevrotain/lib/src/parse/parser/traits/recoverable.js +23 -24
- package/dist/node_modules/chevrotain/lib/src/parse/parser/traits/tree_builder.js +26 -28
- package/dist/node_modules/chevrotain/lib/src/parse/parser/utils/apply_mixins.js +2 -4
- package/dist/node_modules/chevrotain/lib/src/scan/lexer.js +246 -246
- package/dist/node_modules/chevrotain/lib/src/scan/lexer_errors_public.js +2 -4
- package/dist/node_modules/chevrotain/lib/src/scan/lexer_public.js +31 -33
- package/dist/node_modules/chevrotain/lib/src/scan/reg_exp.js +64 -67
- package/dist/node_modules/chevrotain/lib/src/scan/reg_exp_parser.js +10 -12
- package/dist/node_modules/chevrotain/lib/src/scan/tokens.js +35 -36
- package/dist/node_modules/chevrotain/lib/src/scan/tokens_public.js +26 -28
- package/dist/node_modules/chevrotain-allstar/lib/all-star-lookahead.js +240 -242
- package/dist/node_modules/chevrotain-allstar/lib/atn.js +133 -134
- package/dist/node_modules/chevrotain-allstar/lib/dfa.js +10 -11
- package/dist/node_modules/chevrotain-allstar/lib/index.js +1 -1
- package/dist/node_modules/classcat/index.js +3 -5
- package/dist/node_modules/comma-separated-tokens/index.js +3 -5
- package/dist/node_modules/cose-base/cose-base.js +21 -21
- package/dist/node_modules/cytoscape/dist/cytoscape.esm.js +7940 -7937
- package/dist/node_modules/cytoscape-cose-bilkent/cytoscape-cose-bilkent.js +6 -8
- package/dist/node_modules/cytoscape-fcose/cytoscape-fcose.js +6 -8
- package/dist/node_modules/cytoscape-fcose/node_modules/cose-base/cose-base.js +20 -20
- package/dist/node_modules/cytoscape-fcose/node_modules/layout-base/layout-base.js +4 -6
- package/dist/node_modules/d3/src/index.js +95 -95
- package/dist/node_modules/d3-array/src/ascending.js +2 -4
- package/dist/node_modules/d3-array/src/bisect.js +8 -8
- package/dist/node_modules/d3-array/src/bisector.js +6 -8
- package/dist/node_modules/d3-array/src/descending.js +2 -4
- package/dist/node_modules/d3-array/src/max.js +2 -4
- package/dist/node_modules/d3-array/src/min.js +2 -4
- package/dist/node_modules/d3-array/src/number.js +2 -4
- package/dist/node_modules/d3-array/src/range.js +2 -4
- package/dist/node_modules/d3-array/src/ticks.js +11 -13
- package/dist/node_modules/d3-axis/src/axis.js +46 -48
- package/dist/node_modules/d3-axis/src/identity.js +2 -4
- package/dist/node_modules/d3-brush/src/brush.js +4 -6
- package/dist/node_modules/d3-color/src/color.js +84 -86
- package/dist/node_modules/d3-color/src/define.js +3 -5
- package/dist/node_modules/d3-color/src/lab.js +43 -45
- package/dist/node_modules/d3-color/src/math.js +2 -4
- package/dist/node_modules/d3-dispatch/src/dispatch.js +17 -18
- package/dist/node_modules/d3-drag/src/constant.js +2 -4
- package/dist/node_modules/d3-drag/src/drag.js +75 -77
- package/dist/node_modules/d3-drag/src/event.js +3 -5
- package/dist/node_modules/d3-drag/src/nodrag.js +9 -11
- package/dist/node_modules/d3-drag/src/noevent.js +4 -6
- package/dist/node_modules/d3-ease/src/cubic.js +2 -4
- package/dist/node_modules/d3-format/src/defaultLocale.js +6 -8
- package/dist/node_modules/d3-format/src/exponent.js +4 -6
- package/dist/node_modules/d3-format/src/formatDecimal.js +3 -5
- package/dist/node_modules/d3-format/src/formatGroup.js +2 -4
- package/dist/node_modules/d3-format/src/formatNumerals.js +2 -4
- package/dist/node_modules/d3-format/src/formatPrefixAuto.js +8 -10
- package/dist/node_modules/d3-format/src/formatRounded.js +4 -6
- package/dist/node_modules/d3-format/src/formatSpecifier.js +8 -10
- package/dist/node_modules/d3-format/src/formatTrim.js +2 -4
- package/dist/node_modules/d3-format/src/formatTypes.js +13 -15
- package/dist/node_modules/d3-format/src/identity.js +2 -4
- package/dist/node_modules/d3-format/src/locale.js +31 -33
- package/dist/node_modules/d3-format/src/precisionFixed.js +4 -6
- package/dist/node_modules/d3-format/src/precisionPrefix.js +4 -6
- package/dist/node_modules/d3-format/src/precisionRound.js +4 -6
- package/dist/node_modules/d3-hierarchy/src/accessors.js +2 -4
- package/dist/node_modules/d3-hierarchy/src/constant.js +3 -5
- package/dist/node_modules/d3-hierarchy/src/hierarchy/ancestors.js +2 -4
- package/dist/node_modules/d3-hierarchy/src/hierarchy/count.js +4 -6
- package/dist/node_modules/d3-hierarchy/src/hierarchy/descendants.js +2 -4
- package/dist/node_modules/d3-hierarchy/src/hierarchy/each.js +2 -4
- package/dist/node_modules/d3-hierarchy/src/hierarchy/eachAfter.js +2 -4
- package/dist/node_modules/d3-hierarchy/src/hierarchy/eachBefore.js +2 -4
- package/dist/node_modules/d3-hierarchy/src/hierarchy/find.js +2 -4
- package/dist/node_modules/d3-hierarchy/src/hierarchy/index.js +44 -46
- package/dist/node_modules/d3-hierarchy/src/hierarchy/iterator.js +2 -4
- package/dist/node_modules/d3-hierarchy/src/hierarchy/leaves.js +2 -4
- package/dist/node_modules/d3-hierarchy/src/hierarchy/links.js +2 -4
- package/dist/node_modules/d3-hierarchy/src/hierarchy/path.js +4 -6
- package/dist/node_modules/d3-hierarchy/src/hierarchy/sort.js +2 -4
- package/dist/node_modules/d3-hierarchy/src/hierarchy/sum.js +2 -4
- package/dist/node_modules/d3-hierarchy/src/treemap/dice.js +2 -4
- package/dist/node_modules/d3-hierarchy/src/treemap/index.js +14 -16
- package/dist/node_modules/d3-hierarchy/src/treemap/round.js +2 -4
- package/dist/node_modules/d3-hierarchy/src/treemap/slice.js +2 -4
- package/dist/node_modules/d3-hierarchy/src/treemap/squarify.js +9 -11
- package/dist/node_modules/d3-interpolate/src/array.js +4 -6
- package/dist/node_modules/d3-interpolate/src/basis.js +4 -6
- package/dist/node_modules/d3-interpolate/src/basisClosed.js +4 -6
- package/dist/node_modules/d3-interpolate/src/color.js +17 -19
- package/dist/node_modules/d3-interpolate/src/constant.js +2 -4
- package/dist/node_modules/d3-interpolate/src/date.js +2 -4
- package/dist/node_modules/d3-interpolate/src/hcl.js +6 -8
- package/dist/node_modules/d3-interpolate/src/number.js +2 -4
- package/dist/node_modules/d3-interpolate/src/numberArray.js +3 -5
- package/dist/node_modules/d3-interpolate/src/object.js +4 -6
- package/dist/node_modules/d3-interpolate/src/rgb.js +9 -11
- package/dist/node_modules/d3-interpolate/src/round.js +2 -4
- package/dist/node_modules/d3-interpolate/src/string.js +14 -16
- package/dist/node_modules/d3-interpolate/src/transform/decompose.js +5 -7
- package/dist/node_modules/d3-interpolate/src/transform/index.js +11 -13
- package/dist/node_modules/d3-interpolate/src/transform/parse.js +8 -10
- package/dist/node_modules/d3-interpolate/src/value.js +12 -14
- package/dist/node_modules/d3-interpolate/src/zoom.js +11 -13
- package/dist/node_modules/d3-path/src/path.js +14 -16
- package/dist/node_modules/d3-sankey/node_modules/d3-array/src/max.js +2 -4
- package/dist/node_modules/d3-sankey/node_modules/d3-array/src/min.js +2 -4
- package/dist/node_modules/d3-sankey/node_modules/d3-array/src/sum.js +2 -4
- package/dist/node_modules/d3-sankey/node_modules/d3-path/src/path.js +12 -13
- package/dist/node_modules/d3-sankey/node_modules/d3-shape/src/array.js +2 -4
- package/dist/node_modules/d3-sankey/node_modules/d3-shape/src/constant.js +2 -4
- package/dist/node_modules/d3-sankey/node_modules/d3-shape/src/link/index.js +17 -19
- package/dist/node_modules/d3-sankey/node_modules/d3-shape/src/point.js +3 -5
- package/dist/node_modules/d3-sankey/src/align.js +10 -12
- package/dist/node_modules/d3-sankey/src/constant.js +2 -4
- package/dist/node_modules/d3-sankey/src/sankey.js +168 -170
- package/dist/node_modules/d3-sankey/src/sankeyLinkHorizontal.js +6 -8
- package/dist/node_modules/d3-scale/src/band.js +9 -11
- package/dist/node_modules/d3-scale/src/constant.js +2 -4
- package/dist/node_modules/d3-scale/src/continuous.js +47 -49
- package/dist/node_modules/d3-scale/src/init.js +2 -4
- package/dist/node_modules/d3-scale/src/linear.js +13 -15
- package/dist/node_modules/d3-scale/src/nice.js +2 -4
- package/dist/node_modules/d3-scale/src/number.js +2 -4
- package/dist/node_modules/d3-scale/src/ordinal.js +16 -18
- package/dist/node_modules/d3-scale/src/tickFormat.js +14 -16
- package/dist/node_modules/d3-scale/src/time.js +34 -36
- package/dist/node_modules/d3-scale-chromatic/src/categorical/Tableau10.js +3 -5
- package/dist/node_modules/d3-scale-chromatic/src/colors.js +2 -4
- package/dist/node_modules/d3-selection/src/array.js +2 -4
- package/dist/node_modules/d3-selection/src/constant.js +2 -4
- package/dist/node_modules/d3-selection/src/creator.js +10 -12
- package/dist/node_modules/d3-selection/src/matcher.js +3 -5
- package/dist/node_modules/d3-selection/src/namespace.js +5 -7
- package/dist/node_modules/d3-selection/src/namespaces.js +3 -5
- package/dist/node_modules/d3-selection/src/pointer.js +4 -6
- package/dist/node_modules/d3-selection/src/select.js +4 -6
- package/dist/node_modules/d3-selection/src/selection/append.js +4 -6
- package/dist/node_modules/d3-selection/src/selection/attr.js +17 -19
- package/dist/node_modules/d3-selection/src/selection/call.js +2 -4
- package/dist/node_modules/d3-selection/src/selection/classed.js +23 -25
- package/dist/node_modules/d3-selection/src/selection/clone.js +5 -7
- package/dist/node_modules/d3-selection/src/selection/data.js +16 -18
- package/dist/node_modules/d3-selection/src/selection/datum.js +2 -4
- package/dist/node_modules/d3-selection/src/selection/dispatch.js +10 -12
- package/dist/node_modules/d3-selection/src/selection/each.js +2 -4
- package/dist/node_modules/d3-selection/src/selection/empty.js +2 -4
- package/dist/node_modules/d3-selection/src/selection/enter.js +11 -13
- package/dist/node_modules/d3-selection/src/selection/exit.js +5 -7
- package/dist/node_modules/d3-selection/src/selection/filter.js +6 -8
- package/dist/node_modules/d3-selection/src/selection/html.js +6 -8
- package/dist/node_modules/d3-selection/src/selection/index.js +79 -80
- package/dist/node_modules/d3-selection/src/selection/insert.js +6 -8
- package/dist/node_modules/d3-selection/src/selection/iterator.js +2 -4
- package/dist/node_modules/d3-selection/src/selection/join.js +2 -4
- package/dist/node_modules/d3-selection/src/selection/lower.js +4 -6
- package/dist/node_modules/d3-selection/src/selection/merge.js +4 -6
- package/dist/node_modules/d3-selection/src/selection/node.js +2 -4
- package/dist/node_modules/d3-selection/src/selection/nodes.js +2 -4
- package/dist/node_modules/d3-selection/src/selection/on.js +9 -11
- package/dist/node_modules/d3-selection/src/selection/order.js +2 -4
- package/dist/node_modules/d3-selection/src/selection/property.js +6 -8
- package/dist/node_modules/d3-selection/src/selection/raise.js +4 -6
- package/dist/node_modules/d3-selection/src/selection/remove.js +4 -6
- package/dist/node_modules/d3-selection/src/selection/select.js +6 -8
- package/dist/node_modules/d3-selection/src/selection/selectAll.js +9 -11
- package/dist/node_modules/d3-selection/src/selection/selectChild.js +8 -10
- package/dist/node_modules/d3-selection/src/selection/selectChildren.js +8 -10
- package/dist/node_modules/d3-selection/src/selection/size.js +2 -4
- package/dist/node_modules/d3-selection/src/selection/sort.js +6 -8
- package/dist/node_modules/d3-selection/src/selection/sparse.js +2 -4
- package/dist/node_modules/d3-selection/src/selection/style.js +12 -14
- package/dist/node_modules/d3-selection/src/selection/text.js +6 -8
- package/dist/node_modules/d3-selection/src/selector.js +4 -6
- package/dist/node_modules/d3-selection/src/selectorAll.js +4 -6
- package/dist/node_modules/d3-selection/src/sourceEvent.js +2 -4
- package/dist/node_modules/d3-selection/src/window.js +2 -4
- package/dist/node_modules/d3-shape/src/arc.js +36 -38
- package/dist/node_modules/d3-shape/src/array.js +2 -3
- package/dist/node_modules/d3-shape/src/constant.js +2 -4
- package/dist/node_modules/d3-shape/src/curve/basis.js +8 -10
- package/dist/node_modules/d3-shape/src/curve/basisClosed.js +16 -18
- package/dist/node_modules/d3-shape/src/curve/basisOpen.js +7 -9
- package/dist/node_modules/d3-shape/src/curve/bump.js +13 -15
- package/dist/node_modules/d3-shape/src/curve/bundle.js +7 -9
- package/dist/node_modules/d3-shape/src/curve/cardinal.js +8 -10
- package/dist/node_modules/d3-shape/src/curve/cardinalClosed.js +10 -12
- package/dist/node_modules/d3-shape/src/curve/cardinalOpen.js +7 -9
- package/dist/node_modules/d3-shape/src/curve/catmullRom.js +17 -19
- package/dist/node_modules/d3-shape/src/curve/catmullRomClosed.js +11 -13
- package/dist/node_modules/d3-shape/src/curve/catmullRomOpen.js +8 -10
- package/dist/node_modules/d3-shape/src/curve/linear.js +5 -7
- package/dist/node_modules/d3-shape/src/curve/linearClosed.js +10 -12
- package/dist/node_modules/d3-shape/src/curve/monotone.js +21 -23
- package/dist/node_modules/d3-shape/src/curve/natural.js +7 -9
- package/dist/node_modules/d3-shape/src/curve/step.js +17 -19
- package/dist/node_modules/d3-shape/src/descending.js +2 -4
- package/dist/node_modules/d3-shape/src/identity.js +2 -4
- package/dist/node_modules/d3-shape/src/line.js +17 -19
- package/dist/node_modules/d3-shape/src/math.js +6 -8
- package/dist/node_modules/d3-shape/src/noop.js +2 -4
- package/dist/node_modules/d3-shape/src/path.js +4 -6
- package/dist/node_modules/d3-shape/src/pie.js +13 -15
- package/dist/node_modules/d3-shape/src/point.js +3 -5
- package/dist/node_modules/d3-time/src/day.js +15 -17
- package/dist/node_modules/d3-time/src/duration.js +2 -4
- package/dist/node_modules/d3-time/src/hour.js +14 -16
- package/dist/node_modules/d3-time/src/interval.js +5 -7
- package/dist/node_modules/d3-time/src/millisecond.js +5 -7
- package/dist/node_modules/d3-time/src/minute.js +14 -16
- package/dist/node_modules/d3-time/src/month.js +12 -14
- package/dist/node_modules/d3-time/src/second.js +7 -9
- package/dist/node_modules/d3-time/src/ticks.js +64 -66
- package/dist/node_modules/d3-time/src/week.js +19 -21
- package/dist/node_modules/d3-time/src/year.js +8 -10
- package/dist/node_modules/d3-time-format/src/defaultLocale.js +6 -8
- package/dist/node_modules/d3-time-format/src/locale.js +344 -346
- package/dist/node_modules/d3-timer/src/timeout.js +4 -6
- package/dist/node_modules/d3-timer/src/timer.js +31 -33
- package/dist/node_modules/d3-transition/src/index.js +2 -2
- package/dist/node_modules/d3-transition/src/interrupt.js +3 -4
- package/dist/node_modules/d3-transition/src/selection/index.js +4 -5
- package/dist/node_modules/d3-transition/src/selection/interrupt.js +4 -6
- package/dist/node_modules/d3-transition/src/selection/transition.js +14 -16
- package/dist/node_modules/d3-transition/src/transition/attr.js +26 -28
- package/dist/node_modules/d3-transition/src/transition/attrTween.js +11 -13
- package/dist/node_modules/d3-transition/src/transition/delay.js +9 -11
- package/dist/node_modules/d3-transition/src/transition/duration.js +9 -11
- package/dist/node_modules/d3-transition/src/transition/ease.js +6 -8
- package/dist/node_modules/d3-transition/src/transition/easeVarying.js +6 -8
- package/dist/node_modules/d3-transition/src/transition/end.js +4 -6
- package/dist/node_modules/d3-transition/src/transition/filter.js +6 -8
- package/dist/node_modules/d3-transition/src/transition/index.js +61 -63
- package/dist/node_modules/d3-transition/src/transition/interpolate.js +7 -9
- package/dist/node_modules/d3-transition/src/transition/merge.js +4 -6
- package/dist/node_modules/d3-transition/src/transition/on.js +7 -9
- package/dist/node_modules/d3-transition/src/transition/remove.js +4 -6
- package/dist/node_modules/d3-transition/src/transition/schedule.js +18 -20
- package/dist/node_modules/d3-transition/src/transition/select.js +8 -10
- package/dist/node_modules/d3-transition/src/transition/selectAll.js +8 -10
- package/dist/node_modules/d3-transition/src/transition/selection.js +5 -7
- package/dist/node_modules/d3-transition/src/transition/style.js +19 -21
- package/dist/node_modules/d3-transition/src/transition/styleTween.js +6 -8
- package/dist/node_modules/d3-transition/src/transition/text.js +6 -8
- package/dist/node_modules/d3-transition/src/transition/textTween.js +6 -8
- package/dist/node_modules/d3-transition/src/transition/transition.js +8 -10
- package/dist/node_modules/d3-transition/src/transition/tween.js +12 -14
- package/dist/node_modules/d3-zoom/src/constant.js +2 -4
- package/dist/node_modules/d3-zoom/src/event.js +2 -4
- package/dist/node_modules/d3-zoom/src/index.js +2 -2
- package/dist/node_modules/d3-zoom/src/noevent.js +3 -5
- package/dist/node_modules/d3-zoom/src/transform.js +10 -12
- package/dist/node_modules/d3-zoom/src/zoom.js +114 -116
- package/dist/node_modules/dagre-d3-es/src/dagre/acyclic.js +12 -14
- package/dist/node_modules/dagre-d3-es/src/dagre/add-border-segments.js +9 -11
- package/dist/node_modules/dagre-d3-es/src/dagre/coordinate-system.js +34 -36
- package/dist/node_modules/dagre-d3-es/src/dagre/data/list.js +7 -9
- package/dist/node_modules/dagre-d3-es/src/dagre/greedy-fas.js +49 -51
- package/dist/node_modules/dagre-d3-es/src/dagre/index.js +2 -2
- package/dist/node_modules/dagre-d3-es/src/dagre/layout.js +163 -165
- package/dist/node_modules/dagre-d3-es/src/dagre/nesting-graph.js +43 -45
- package/dist/node_modules/dagre-d3-es/src/dagre/normalize.js +10 -12
- package/dist/node_modules/dagre-d3-es/src/dagre/order/add-subgraph-constraints.js +4 -6
- package/dist/node_modules/dagre-d3-es/src/dagre/order/barycenter.js +6 -8
- package/dist/node_modules/dagre-d3-es/src/dagre/order/build-layer-graph.js +12 -14
- package/dist/node_modules/dagre-d3-es/src/dagre/order/cross-count.js +20 -22
- package/dist/node_modules/dagre-d3-es/src/dagre/order/index.js +34 -36
- package/dist/node_modules/dagre-d3-es/src/dagre/order/init-order.js +13 -15
- package/dist/node_modules/dagre-d3-es/src/dagre/order/resolve-conflicts.js +30 -32
- package/dist/node_modules/dagre-d3-es/src/dagre/order/sort-subgraph.js +28 -30
- package/dist/node_modules/dagre-d3-es/src/dagre/order/sort.js +18 -20
- package/dist/node_modules/dagre-d3-es/src/dagre/parent-dummy-chains.js +10 -12
- package/dist/node_modules/dagre-d3-es/src/dagre/position/bk.js +148 -150
- package/dist/node_modules/dagre-d3-es/src/dagre/position/index.js +18 -20
- package/dist/node_modules/dagre-d3-es/src/dagre/rank/feasible-tree.js +17 -19
- package/dist/node_modules/dagre-d3-es/src/dagre/rank/index.js +14 -16
- package/dist/node_modules/dagre-d3-es/src/dagre/rank/network-simplex.js +63 -64
- package/dist/node_modules/dagre-d3-es/src/dagre/rank/util.js +8 -10
- package/dist/node_modules/dagre-d3-es/src/dagre/util.js +82 -84
- package/dist/node_modules/dagre-d3-es/src/graphlib/alg/dfs.js +13 -15
- package/dist/node_modules/dagre-d3-es/src/graphlib/alg/dijkstra.js +2 -3
- package/dist/node_modules/dagre-d3-es/src/graphlib/alg/floyd-warshall.js +2 -3
- package/dist/node_modules/dagre-d3-es/src/graphlib/alg/index.js +3 -3
- package/dist/node_modules/dagre-d3-es/src/graphlib/alg/postorder.js +4 -6
- package/dist/node_modules/dagre-d3-es/src/graphlib/alg/preorder.js +4 -6
- package/dist/node_modules/dagre-d3-es/src/graphlib/alg/topsort.js +11 -13
- package/dist/node_modules/dagre-d3-es/src/graphlib/graph.js +129 -131
- package/dist/node_modules/dagre-d3-es/src/graphlib/index.js +1 -1
- package/dist/node_modules/dagre-d3-es/src/graphlib/json.js +16 -18
- package/dist/node_modules/dayjs/dayjs.min.js +4 -6
- package/dist/node_modules/dayjs/plugin/advancedFormat.js +4 -6
- package/dist/node_modules/dayjs/plugin/customParseFormat.js +4 -6
- package/dist/node_modules/dayjs/plugin/duration.js +4 -6
- package/dist/node_modules/dayjs/plugin/isoWeek.js +4 -6
- package/dist/node_modules/decode-named-character-reference/index.dom.js +5 -7
- package/dist/node_modules/devlop/lib/default.js +2 -4
- package/dist/node_modules/dompurify/dist/purify.es.js +180 -182
- package/dist/node_modules/entities/dist/esm/decode-codepoint.js +4 -6
- package/dist/node_modules/entities/dist/esm/decode.js +85 -87
- package/dist/node_modules/entities/dist/esm/generated/decode-data-html.js +2 -4
- package/dist/node_modules/estree-util-is-identifier-name/lib/index.js +4 -6
- package/dist/node_modules/extend/index.js +6 -9
- package/dist/node_modules/hast-util-from-dom/lib/index.js +30 -32
- package/dist/node_modules/hast-util-from-html-isomorphic/lib/browser.js +8 -10
- package/dist/node_modules/hast-util-from-parse5/lib/index.js +80 -82
- package/dist/node_modules/hast-util-is-element/lib/index.js +15 -17
- package/dist/node_modules/hast-util-parse-selector/lib/index.js +5 -7
- package/dist/node_modules/hast-util-raw/lib/index.js +134 -136
- package/dist/node_modules/hast-util-raw/node_modules/parse5/dist/common/doctype.js +21 -23
- package/dist/node_modules/hast-util-raw/node_modules/parse5/dist/common/error-codes.js +3 -5
- package/dist/node_modules/hast-util-raw/node_modules/parse5/dist/common/foreign-content.js +89 -89
- package/dist/node_modules/hast-util-raw/node_modules/parse5/dist/common/html.js +249 -250
- package/dist/node_modules/hast-util-raw/node_modules/parse5/dist/common/token.js +4 -6
- package/dist/node_modules/hast-util-raw/node_modules/parse5/dist/common/unicode.js +14 -14
- package/dist/node_modules/hast-util-raw/node_modules/parse5/dist/index.js +4 -4
- package/dist/node_modules/hast-util-raw/node_modules/parse5/dist/parser/formatting-element-list.js +15 -17
- package/dist/node_modules/hast-util-raw/node_modules/parse5/dist/parser/index.js +1495 -1497
- package/dist/node_modules/hast-util-raw/node_modules/parse5/dist/parser/open-element-stack.js +146 -148
- package/dist/node_modules/hast-util-raw/node_modules/parse5/dist/serializer/index.js +19 -20
- package/dist/node_modules/hast-util-raw/node_modules/parse5/dist/tokenizer/index.js +798 -800
- package/dist/node_modules/hast-util-raw/node_modules/parse5/dist/tokenizer/preprocessor.js +31 -33
- package/dist/node_modules/hast-util-raw/node_modules/parse5/dist/tree-adapters/default.js +8 -10
- package/dist/node_modules/hast-util-sanitize/lib/index.js +104 -106
- package/dist/node_modules/hast-util-sanitize/lib/schema.js +11 -12
- package/dist/node_modules/hast-util-to-html/lib/handle/comment.js +7 -9
- package/dist/node_modules/hast-util-to-html/lib/handle/doctype.js +2 -4
- package/dist/node_modules/hast-util-to-html/lib/handle/element.js +23 -25
- package/dist/node_modules/hast-util-to-html/lib/handle/index.js +21 -22
- package/dist/node_modules/hast-util-to-html/lib/handle/raw.js +4 -6
- package/dist/node_modules/hast-util-to-html/lib/handle/root.js +2 -4
- package/dist/node_modules/hast-util-to-html/lib/handle/text.js +5 -7
- package/dist/node_modules/hast-util-to-html/lib/index.js +36 -38
- package/dist/node_modules/hast-util-to-html/lib/omission/closing.js +68 -70
- package/dist/node_modules/hast-util-to-html/lib/omission/omission.js +4 -6
- package/dist/node_modules/hast-util-to-html/lib/omission/opening.js +30 -32
- package/dist/node_modules/hast-util-to-html/lib/omission/util/siblings.js +9 -10
- package/dist/node_modules/hast-util-to-jsx-runtime/lib/index.js +190 -192
- package/dist/node_modules/hast-util-to-parse5/lib/index.js +69 -71
- package/dist/node_modules/hast-util-to-text/lib/index.js +59 -61
- package/dist/node_modules/hast-util-whitespace/lib/index.js +6 -8
- package/dist/node_modules/hastscript/lib/create-h.js +24 -26
- package/dist/node_modules/hastscript/lib/index.js +5 -7
- package/dist/node_modules/hastscript/lib/svg-case-sensitive-tag-names.js +2 -4
- package/dist/node_modules/html-url-attributes/lib/index.js +2 -4
- package/dist/node_modules/html-void-elements/index.js +2 -4
- package/dist/node_modules/inline-style-parser/cjs/index.js +4 -6
- package/dist/node_modules/internmap/src/index.js +20 -22
- package/dist/node_modules/katex/dist/katex.js +2307 -2301
- package/dist/node_modules/khroma/dist/channels/index.js +21 -23
- package/dist/node_modules/khroma/dist/channels/reusable.js +3 -5
- package/dist/node_modules/khroma/dist/channels/type.js +5 -7
- package/dist/node_modules/khroma/dist/color/hex.js +8 -10
- package/dist/node_modules/khroma/dist/color/hsl.js +17 -19
- package/dist/node_modules/khroma/dist/color/index.js +15 -17
- package/dist/node_modules/khroma/dist/color/keyword.js +8 -10
- package/dist/node_modules/khroma/dist/color/rgb.js +12 -14
- package/dist/node_modules/khroma/dist/constants.js +5 -7
- package/dist/node_modules/khroma/dist/methods/adjust.js +6 -8
- package/dist/node_modules/khroma/dist/methods/adjust_channel.js +6 -8
- package/dist/node_modules/khroma/dist/methods/change.js +7 -9
- package/dist/node_modules/khroma/dist/methods/channel.js +4 -6
- package/dist/node_modules/khroma/dist/methods/darken.js +3 -5
- package/dist/node_modules/khroma/dist/methods/invert.js +6 -8
- package/dist/node_modules/khroma/dist/methods/is_dark.js +3 -5
- package/dist/node_modules/khroma/dist/methods/is_light.js +3 -5
- package/dist/node_modules/khroma/dist/methods/lighten.js +3 -5
- package/dist/node_modules/khroma/dist/methods/luminance.js +6 -8
- package/dist/node_modules/khroma/dist/methods/mix.js +6 -8
- package/dist/node_modules/khroma/dist/methods/rgba.js +13 -15
- package/dist/node_modules/khroma/dist/methods/transparentize.js +3 -5
- package/dist/node_modules/khroma/dist/utils/channel.js +6 -8
- package/dist/node_modules/khroma/dist/utils/index.js +8 -10
- package/dist/node_modules/khroma/dist/utils/lang.js +2 -4
- package/dist/node_modules/khroma/dist/utils/unit.js +2 -4
- package/dist/node_modules/langium/lib/default-module.js +64 -66
- package/dist/node_modules/langium/lib/dependency-injection.js +39 -37
- package/dist/node_modules/langium/lib/documentation/comment-provider.js +5 -7
- package/dist/node_modules/langium/lib/documentation/documentation-provider.js +6 -8
- package/dist/node_modules/langium/lib/documentation/jsdoc.js +202 -204
- package/dist/node_modules/langium/lib/index.js +182 -0
- package/dist/node_modules/langium/lib/languages/generated/ast.js +534 -343
- package/dist/node_modules/langium/lib/languages/grammar-config.js +8 -10
- package/dist/node_modules/langium/lib/parser/async-parser.js +76 -4
- package/dist/node_modules/langium/lib/parser/completion-parser-builder.js +6 -8
- package/dist/node_modules/langium/lib/parser/cst-node-builder.js +54 -56
- package/dist/node_modules/langium/lib/parser/indentation-aware.js +141 -0
- package/dist/node_modules/langium/lib/parser/langium-parser-builder.js +7 -9
- package/dist/node_modules/langium/lib/parser/langium-parser.js +188 -190
- package/dist/node_modules/langium/lib/parser/lexer.js +25 -25
- package/dist/node_modules/langium/lib/parser/parser-builder-base.js +203 -204
- package/dist/node_modules/langium/lib/parser/token-builder.js +30 -32
- package/dist/node_modules/langium/lib/parser/value-converter.js +15 -17
- package/dist/node_modules/langium/lib/references/linker.js +103 -104
- package/dist/node_modules/langium/lib/references/name-provider.js +7 -9
- package/dist/node_modules/langium/lib/references/references.js +51 -53
- package/dist/node_modules/langium/lib/references/scope-computation.js +12 -14
- package/dist/node_modules/langium/lib/references/scope-provider.js +11 -13
- package/dist/node_modules/langium/lib/references/scope.js +56 -27
- package/dist/node_modules/langium/lib/serializer/hydrator.js +69 -71
- package/dist/node_modules/langium/lib/serializer/json-serializer.js +21 -23
- package/dist/node_modules/langium/lib/service-registry.js +5 -7
- package/dist/node_modules/langium/lib/syntax-tree.js +31 -33
- package/dist/node_modules/langium/lib/utils/ast-utils.js +112 -77
- package/dist/node_modules/langium/lib/utils/caching.js +42 -33
- package/dist/node_modules/langium/lib/utils/cancellation.js +5 -7
- package/dist/node_modules/langium/lib/utils/collections.js +33 -35
- package/dist/node_modules/langium/lib/utils/cst-utils.js +161 -46
- package/dist/node_modules/langium/lib/utils/disposable.js +3 -5
- package/dist/node_modules/langium/lib/utils/errors.js +9 -8
- package/dist/node_modules/langium/lib/utils/event.js +5 -7
- package/dist/node_modules/langium/lib/utils/grammar-loader.js +14 -16
- package/dist/node_modules/langium/lib/utils/grammar-utils.js +249 -172
- package/dist/node_modules/langium/lib/utils/index.js +53 -0
- package/dist/node_modules/langium/lib/utils/promise-utils.js +19 -18
- package/dist/node_modules/langium/lib/utils/regexp-utils.js +76 -53
- package/dist/node_modules/langium/lib/utils/stream.js +153 -155
- package/dist/node_modules/langium/lib/utils/uri-utils.js +12 -14
- package/dist/node_modules/langium/lib/validation/document-validator.js +103 -104
- package/dist/node_modules/langium/lib/validation/validation-registry.js +14 -15
- package/dist/node_modules/langium/lib/workspace/ast-descriptions.js +17 -19
- package/dist/node_modules/langium/lib/workspace/ast-node-locator.js +2 -4
- package/dist/node_modules/langium/lib/workspace/configuration.js +5 -7
- package/dist/node_modules/langium/lib/workspace/document-builder.js +134 -131
- package/dist/node_modules/langium/lib/workspace/documents.js +83 -85
- package/dist/node_modules/langium/lib/workspace/file-system-provider.js +4 -5
- package/dist/node_modules/langium/lib/workspace/index-manager.js +14 -16
- package/dist/node_modules/langium/lib/workspace/profiler.js +89 -0
- package/dist/node_modules/langium/lib/workspace/workspace-lock.js +9 -11
- package/dist/node_modules/langium/lib/workspace/workspace-manager.js +33 -35
- package/dist/node_modules/layout-base/layout-base.js +4 -6
- package/dist/node_modules/lodash/_Symbol.js +7 -0
- package/dist/node_modules/lodash/_baseGetTag.js +13 -0
- package/dist/node_modules/lodash/_baseTrim.js +11 -0
- package/dist/node_modules/lodash/_freeGlobal.js +6 -0
- package/dist/node_modules/lodash/_getRawTag.js +17 -0
- package/dist/node_modules/lodash/_objectToString.js +10 -0
- package/dist/node_modules/lodash/_root.js +8 -0
- package/dist/node_modules/lodash/_trimmedEndIndex.js +11 -0
- package/dist/{frontend/studio/node_modules → node_modules}/lodash/debounce.js +8 -10
- package/dist/node_modules/lodash/isObject.js +10 -0
- package/dist/node_modules/lodash/isObjectLike.js +9 -0
- package/dist/node_modules/lodash/isSymbol.js +12 -0
- package/dist/node_modules/lodash/now.js +10 -0
- package/dist/node_modules/lodash/toNumber.js +22 -0
- package/dist/node_modules/lodash-es/_DataView.js +4 -6
- package/dist/node_modules/lodash-es/_Hash.js +13 -14
- package/dist/node_modules/lodash-es/_ListCache.js +13 -14
- package/dist/node_modules/lodash-es/_Map.js +4 -6
- package/dist/node_modules/lodash-es/_MapCache.js +13 -14
- package/dist/node_modules/lodash-es/_Promise.js +4 -6
- package/dist/node_modules/lodash-es/_Set.js +4 -6
- package/dist/node_modules/lodash-es/_SetCache.js +9 -10
- package/dist/node_modules/lodash-es/_Stack.js +11 -12
- package/dist/node_modules/lodash-es/_Symbol.js +3 -5
- package/dist/node_modules/lodash-es/_Uint8Array.js +3 -5
- package/dist/node_modules/lodash-es/_WeakMap.js +4 -6
- package/dist/node_modules/lodash-es/_apply.js +3 -4
- package/dist/node_modules/lodash-es/_arrayEach.js +3 -4
- package/dist/node_modules/lodash-es/_arrayFilter.js +3 -4
- package/dist/node_modules/lodash-es/_arrayIncludes.js +5 -6
- package/dist/node_modules/lodash-es/_arrayIncludesWith.js +3 -4
- package/dist/node_modules/lodash-es/_arrayLikeKeys.js +12 -13
- package/dist/node_modules/lodash-es/_arrayMap.js +3 -4
- package/dist/node_modules/lodash-es/_arrayPush.js +3 -4
- package/dist/node_modules/lodash-es/_arrayReduce.js +3 -4
- package/dist/node_modules/lodash-es/_arraySome.js +3 -4
- package/dist/node_modules/lodash-es/_asciiSize.js +3 -5
- package/dist/node_modules/lodash-es/_assignMergeValue.js +6 -7
- package/dist/node_modules/lodash-es/_assignValue.js +7 -8
- package/dist/node_modules/lodash-es/_assocIndexOf.js +5 -6
- package/dist/node_modules/lodash-es/_baseAssign.js +6 -7
- package/dist/node_modules/lodash-es/_baseAssignIn.js +6 -7
- package/dist/node_modules/lodash-es/_baseAssignValue.js +5 -6
- package/dist/node_modules/lodash-es/_baseClone.js +50 -51
- package/dist/node_modules/lodash-es/_baseCreate.js +5 -7
- package/dist/node_modules/lodash-es/_baseEach.js +4 -6
- package/dist/node_modules/lodash-es/_baseExtremum.js +5 -6
- package/dist/node_modules/lodash-es/_baseFilter.js +5 -6
- package/dist/node_modules/lodash-es/_baseFindIndex.js +3 -4
- package/dist/node_modules/lodash-es/_baseFlatten.js +7 -8
- package/dist/node_modules/lodash-es/_baseFor.js +3 -5
- package/dist/node_modules/lodash-es/_baseForOwn.js +6 -7
- package/dist/node_modules/lodash-es/_baseGet.js +7 -8
- package/dist/node_modules/lodash-es/_baseGetAllKeys.js +6 -7
- package/dist/node_modules/lodash-es/_baseGetTag.js +8 -9
- package/dist/node_modules/lodash-es/_baseGt.js +3 -4
- package/dist/node_modules/lodash-es/_baseHas.js +5 -6
- package/dist/node_modules/lodash-es/_baseHasIn.js +3 -4
- package/dist/node_modules/lodash-es/_baseIndexOf.js +7 -8
- package/dist/node_modules/lodash-es/_baseIsArguments.js +7 -8
- package/dist/node_modules/lodash-es/_baseIsEqual.js +6 -7
- package/dist/node_modules/lodash-es/_baseIsEqualDeep.js +22 -23
- package/dist/node_modules/lodash-es/_baseIsMap.js +7 -8
- package/dist/node_modules/lodash-es/_baseIsMatch.js +8 -9
- package/dist/node_modules/lodash-es/_baseIsNaN.js +3 -4
- package/dist/node_modules/lodash-es/_baseIsNative.js +9 -10
- package/dist/node_modules/lodash-es/_baseIsSet.js +7 -8
- package/dist/node_modules/lodash-es/_baseIsTypedArray.js +9 -10
- package/dist/node_modules/lodash-es/_baseIteratee.js +9 -10
- package/dist/node_modules/lodash-es/_baseKeys.js +8 -9
- package/dist/node_modules/lodash-es/_baseKeysIn.js +10 -11
- package/dist/node_modules/lodash-es/_baseLt.js +3 -4
- package/dist/node_modules/lodash-es/_baseMap.js +7 -8
- package/dist/node_modules/lodash-es/_baseMatches.js +9 -10
- package/dist/node_modules/lodash-es/_baseMatchesProperty.js +14 -15
- package/dist/node_modules/lodash-es/_baseMerge.js +15 -16
- package/dist/node_modules/lodash-es/_baseMergeDeep.js +23 -24
- package/dist/node_modules/lodash-es/_baseOrderBy.js +22 -23
- package/dist/node_modules/lodash-es/_basePick.js +7 -8
- package/dist/node_modules/lodash-es/_basePickBy.js +8 -9
- package/dist/node_modules/lodash-es/_baseProperty.js +3 -4
- package/dist/node_modules/lodash-es/_basePropertyDeep.js +5 -6
- package/dist/node_modules/lodash-es/_baseRange.js +5 -6
- package/dist/node_modules/lodash-es/_baseReduce.js +3 -4
- package/dist/node_modules/lodash-es/_baseRest.js +7 -8
- package/dist/node_modules/lodash-es/_baseSet.js +13 -14
- package/dist/node_modules/lodash-es/_baseSetToString.js +8 -10
- package/dist/node_modules/lodash-es/_baseSortBy.js +3 -4
- package/dist/node_modules/lodash-es/_baseTimes.js +3 -4
- package/dist/node_modules/lodash-es/_baseToString.js +12 -13
- package/dist/node_modules/lodash-es/_baseTrim.js +6 -7
- package/dist/node_modules/lodash-es/_baseUnary.js +3 -4
- package/dist/node_modules/lodash-es/_baseUniq.js +16 -17
- package/dist/node_modules/lodash-es/_baseValues.js +5 -6
- package/dist/node_modules/lodash-es/_baseZipObject.js +3 -4
- package/dist/node_modules/lodash-es/_cacheHas.js +3 -4
- package/dist/node_modules/lodash-es/_castFunction.js +5 -6
- package/dist/node_modules/lodash-es/_castPath.js +8 -9
- package/dist/node_modules/lodash-es/_cloneArrayBuffer.js +5 -6
- package/dist/node_modules/lodash-es/_cloneBuffer.js +8 -9
- package/dist/node_modules/lodash-es/_cloneDataView.js +5 -6
- package/dist/node_modules/lodash-es/_cloneRegExp.js +5 -6
- package/dist/node_modules/lodash-es/_cloneSymbol.js +6 -7
- package/dist/node_modules/lodash-es/_cloneTypedArray.js +5 -6
- package/dist/node_modules/lodash-es/_compareAscending.js +5 -6
- package/dist/node_modules/lodash-es/_compareMultiple.js +5 -6
- package/dist/node_modules/lodash-es/_copyArray.js +3 -4
- package/dist/node_modules/lodash-es/_copyObject.js +6 -7
- package/dist/node_modules/lodash-es/_copySymbols.js +6 -7
- package/dist/node_modules/lodash-es/_copySymbolsIn.js +6 -7
- package/dist/node_modules/lodash-es/_coreJsData.js +3 -5
- package/dist/node_modules/lodash-es/_createAssigner.js +7 -8
- package/dist/node_modules/lodash-es/_createBaseEach.js +5 -6
- package/dist/node_modules/lodash-es/_createBaseFor.js +3 -4
- package/dist/node_modules/lodash-es/_createFind.js +9 -10
- package/dist/node_modules/lodash-es/_createRange.js +7 -8
- package/dist/node_modules/lodash-es/_createSet.js +7 -9
- package/dist/node_modules/lodash-es/_defineProperty.js +4 -6
- package/dist/node_modules/lodash-es/_equalArrays.js +11 -12
- package/dist/node_modules/lodash-es/_equalByTag.js +28 -29
- package/dist/node_modules/lodash-es/_equalObjects.js +8 -9
- package/dist/node_modules/lodash-es/_flatRest.js +7 -8
- package/dist/node_modules/lodash-es/_freeGlobal.js +2 -4
- package/dist/node_modules/lodash-es/_getAllKeys.js +7 -8
- package/dist/node_modules/lodash-es/_getAllKeysIn.js +7 -8
- package/dist/node_modules/lodash-es/_getMapData.js +5 -6
- package/dist/node_modules/lodash-es/_getMatchData.js +7 -8
- package/dist/node_modules/lodash-es/_getNative.js +7 -8
- package/dist/node_modules/lodash-es/_getPrototype.js +3 -5
- package/dist/node_modules/lodash-es/_getRawTag.js +9 -10
- package/dist/node_modules/lodash-es/_getSymbols.js +7 -9
- package/dist/node_modules/lodash-es/_getSymbolsIn.js +8 -10
- package/dist/node_modules/lodash-es/_getTag.js +19 -21
- package/dist/node_modules/lodash-es/_getValue.js +3 -4
- package/dist/node_modules/lodash-es/_hasPath.js +12 -13
- package/dist/node_modules/lodash-es/_hasUnicode.js +5 -6
- package/dist/node_modules/lodash-es/_hashClear.js +5 -6
- package/dist/node_modules/lodash-es/_hashDelete.js +4 -5
- package/dist/node_modules/lodash-es/_hashGet.js +8 -9
- package/dist/node_modules/lodash-es/_hashHas.js +6 -7
- package/dist/node_modules/lodash-es/_hashSet.js +6 -7
- package/dist/node_modules/lodash-es/_initCloneArray.js +5 -6
- package/dist/node_modules/lodash-es/_initCloneByTag.js +28 -29
- package/dist/node_modules/lodash-es/_initCloneObject.js +7 -8
- package/dist/node_modules/lodash-es/_isFlattenable.js +8 -9
- package/dist/node_modules/lodash-es/_isIndex.js +5 -6
- package/dist/node_modules/lodash-es/_isIterateeCall.js +9 -10
- package/dist/node_modules/lodash-es/_isKey.js +8 -9
- package/dist/node_modules/lodash-es/_isKeyable.js +3 -4
- package/dist/node_modules/lodash-es/_isMasked.js +8 -9
- package/dist/node_modules/lodash-es/_isPrototype.js +5 -6
- package/dist/node_modules/lodash-es/_isStrictComparable.js +5 -6
- package/dist/node_modules/lodash-es/_listCacheClear.js +3 -4
- package/dist/node_modules/lodash-es/_listCacheDelete.js +7 -8
- package/dist/node_modules/lodash-es/_listCacheGet.js +5 -6
- package/dist/node_modules/lodash-es/_listCacheHas.js +5 -6
- package/dist/node_modules/lodash-es/_listCacheSet.js +5 -6
- package/dist/node_modules/lodash-es/_mapCacheClear.js +9 -10
- package/dist/node_modules/lodash-es/_mapCacheDelete.js +6 -7
- package/dist/node_modules/lodash-es/_mapCacheGet.js +5 -6
- package/dist/node_modules/lodash-es/_mapCacheHas.js +5 -6
- package/dist/node_modules/lodash-es/_mapCacheSet.js +5 -6
- package/dist/node_modules/lodash-es/_mapToArray.js +3 -4
- package/dist/node_modules/lodash-es/_matchesStrictComparable.js +3 -4
- package/dist/node_modules/lodash-es/_memoizeCapped.js +7 -8
- package/dist/node_modules/lodash-es/_nativeCreate.js +3 -5
- package/dist/node_modules/lodash-es/_nativeKeys.js +3 -5
- package/dist/node_modules/lodash-es/_nativeKeysIn.js +3 -4
- package/dist/node_modules/lodash-es/_nodeUtil.js +4 -6
- package/dist/node_modules/lodash-es/_objectToString.js +5 -6
- package/dist/node_modules/lodash-es/_overArg.js +3 -4
- package/dist/node_modules/lodash-es/_overRest.js +8 -9
- package/dist/node_modules/lodash-es/_root.js +3 -5
- package/dist/node_modules/lodash-es/_safeGet.js +3 -4
- package/dist/node_modules/lodash-es/_setCacheAdd.js +5 -6
- package/dist/node_modules/lodash-es/_setCacheHas.js +3 -4
- package/dist/node_modules/lodash-es/_setToArray.js +3 -4
- package/dist/node_modules/lodash-es/_setToString.js +4 -6
- package/dist/node_modules/lodash-es/_shortOut.js +6 -7
- package/dist/node_modules/lodash-es/_stackClear.js +5 -6
- package/dist/node_modules/lodash-es/_stackDelete.js +3 -4
- package/dist/node_modules/lodash-es/_stackGet.js +3 -4
- package/dist/node_modules/lodash-es/_stackHas.js +3 -4
- package/dist/node_modules/lodash-es/_stackSet.js +10 -11
- package/dist/node_modules/lodash-es/_strictIndexOf.js +3 -4
- package/dist/node_modules/lodash-es/_stringSize.js +7 -8
- package/dist/node_modules/lodash-es/_stringToPath.js +5 -7
- package/dist/node_modules/lodash-es/_toKey.js +7 -8
- package/dist/node_modules/lodash-es/_toSource.js +7 -8
- package/dist/node_modules/lodash-es/_trimmedEndIndex.js +5 -6
- package/dist/node_modules/lodash-es/_unicodeSize.js +16 -17
- package/dist/node_modules/lodash-es/clone.js +6 -7
- package/dist/node_modules/lodash-es/cloneDeep.js +6 -7
- package/dist/node_modules/lodash-es/constant.js +3 -4
- package/dist/node_modules/lodash-es/defaults.js +11 -13
- package/dist/node_modules/lodash-es/eq.js +3 -4
- package/dist/node_modules/lodash-es/filter.js +8 -9
- package/dist/node_modules/lodash-es/find.js +4 -6
- package/dist/node_modules/lodash-es/findIndex.js +9 -10
- package/dist/node_modules/lodash-es/flatMap.js +6 -7
- package/dist/node_modules/lodash-es/flatten.js +5 -6
- package/dist/node_modules/lodash-es/forEach.js +8 -9
- package/dist/node_modules/lodash-es/forIn.js +7 -8
- package/dist/node_modules/lodash-es/forOwn.js +6 -7
- package/dist/node_modules/lodash-es/get.js +5 -6
- package/dist/node_modules/lodash-es/has.js +6 -7
- package/dist/node_modules/lodash-es/hasIn.js +6 -7
- package/dist/node_modules/lodash-es/identity.js +3 -4
- package/dist/node_modules/lodash-es/isArguments.js +6 -8
- package/dist/node_modules/lodash-es/isArray.js +2 -4
- package/dist/node_modules/lodash-es/isArrayLike.js +6 -7
- package/dist/node_modules/lodash-es/isArrayLikeObject.js +6 -7
- package/dist/node_modules/lodash-es/isBuffer.js +4 -6
- package/dist/node_modules/lodash-es/isEmpty.js +17 -18
- package/dist/node_modules/lodash-es/isFunction.js +9 -10
- package/dist/node_modules/lodash-es/isLength.js +5 -6
- package/dist/node_modules/lodash-es/isMap.js +5 -7
- package/dist/node_modules/lodash-es/isObject.js +3 -4
- package/dist/node_modules/lodash-es/isObjectLike.js +3 -4
- package/dist/node_modules/lodash-es/isPlainObject.js +12 -13
- package/dist/node_modules/lodash-es/isSet.js +5 -7
- package/dist/node_modules/lodash-es/isString.js +8 -9
- package/dist/node_modules/lodash-es/isSymbol.js +7 -8
- package/dist/node_modules/lodash-es/isTypedArray.js +5 -7
- package/dist/node_modules/lodash-es/isUndefined.js +3 -4
- package/dist/node_modules/lodash-es/keys.js +7 -8
- package/dist/node_modules/lodash-es/keysIn.js +7 -8
- package/dist/node_modules/lodash-es/last.js +3 -4
- package/dist/node_modules/lodash-es/map.js +8 -9
- package/dist/node_modules/lodash-es/mapValues.js +8 -9
- package/dist/node_modules/lodash-es/max.js +7 -8
- package/dist/node_modules/lodash-es/memoize.js +8 -9
- package/dist/node_modules/lodash-es/merge.js +5 -7
- package/dist/node_modules/lodash-es/min.js +7 -8
- package/dist/node_modules/lodash-es/minBy.js +7 -8
- package/dist/node_modules/lodash-es/noop.js +3 -4
- package/dist/node_modules/lodash-es/now.js +4 -6
- package/dist/node_modules/lodash-es/pick.js +5 -7
- package/dist/node_modules/lodash-es/property.js +8 -9
- package/dist/node_modules/lodash-es/range.js +3 -5
- package/dist/node_modules/lodash-es/reduce.js +10 -11
- package/dist/node_modules/lodash-es/size.js +12 -13
- package/dist/node_modules/lodash-es/sortBy.js +7 -9
- package/dist/node_modules/lodash-es/stubArray.js +3 -4
- package/dist/node_modules/lodash-es/stubFalse.js +3 -4
- package/dist/node_modules/lodash-es/toFinite.js +6 -7
- package/dist/node_modules/lodash-es/toInteger.js +5 -6
- package/dist/node_modules/lodash-es/toNumber.js +13 -14
- package/dist/node_modules/lodash-es/toPlainObject.js +6 -7
- package/dist/node_modules/lodash-es/toString.js +5 -6
- package/dist/node_modules/lodash-es/union.js +7 -9
- package/dist/node_modules/lodash-es/uniqBy.js +6 -7
- package/dist/node_modules/lodash-es/uniqueId.js +7 -8
- package/dist/node_modules/lodash-es/values.js +6 -7
- package/dist/node_modules/lodash-es/zipObject.js +6 -7
- package/dist/node_modules/longest-streak/index.js +2 -4
- package/dist/node_modules/markdown-table/index.js +9 -11
- package/dist/node_modules/marked/lib/marked.esm.js +685 -687
- package/dist/node_modules/mdast-util-find-and-replace/lib/index.js +12 -14
- package/dist/node_modules/mdast-util-find-and-replace/node_modules/escape-string-regexp/index.js +2 -4
- package/dist/node_modules/mdast-util-from-markdown/lib/index.js +180 -182
- package/dist/node_modules/mdast-util-gfm/lib/index.js +18 -20
- package/dist/node_modules/mdast-util-gfm-autolink-literal/lib/index.js +67 -69
- package/dist/node_modules/mdast-util-gfm-footnote/lib/index.js +45 -47
- package/dist/node_modules/mdast-util-gfm-strikethrough/lib/index.js +13 -15
- package/dist/node_modules/mdast-util-gfm-table/lib/index.js +28 -30
- package/dist/node_modules/mdast-util-gfm-task-list-item/lib/index.js +14 -16
- package/dist/node_modules/mdast-util-math/lib/index.js +13 -15
- package/dist/node_modules/mdast-util-phrasing/lib/index.js +3 -5
- package/dist/node_modules/mdast-util-to-hast/lib/footer.js +9 -11
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/blockquote.js +2 -4
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/break.js +2 -4
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/code.js +2 -4
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/delete.js +2 -4
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/emphasis.js +2 -4
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/footnote-reference.js +4 -6
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/heading.js +2 -4
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/html.js +2 -4
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/image-reference.js +6 -8
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/image.js +4 -6
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/index.js +53 -55
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/inline-code.js +2 -4
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/link-reference.js +6 -8
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/link.js +4 -6
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/list-item.js +13 -15
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/list.js +2 -4
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/paragraph.js +2 -4
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/root.js +2 -4
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/strong.js +2 -4
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/table-cell.js +2 -4
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/table-row.js +2 -4
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/table.js +4 -6
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/text.js +4 -6
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/thematic-break.js +2 -4
- package/dist/node_modules/mdast-util-to-hast/lib/index.js +6 -8
- package/dist/node_modules/mdast-util-to-hast/lib/revert.js +2 -4
- package/dist/node_modules/mdast-util-to-hast/lib/state.js +59 -61
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/blockquote.js +4 -6
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/break.js +4 -6
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/code.js +16 -18
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/definition.js +4 -6
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/emphasis.js +12 -14
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/heading.js +6 -8
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/html.js +4 -6
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/image-reference.js +4 -6
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/image.js +6 -8
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/index.js +41 -43
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/inline-code.js +5 -7
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/link-reference.js +4 -6
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/link.js +9 -11
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/list-item.js +5 -7
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/list.js +10 -12
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/paragraph.js +2 -4
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/root.js +4 -6
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/strong.js +12 -14
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/text.js +2 -4
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/thematic-break.js +5 -7
- package/dist/node_modules/mdast-util-to-markdown/lib/util/check-bullet-ordered.js +2 -4
- package/dist/node_modules/mdast-util-to-markdown/lib/util/check-bullet-other.js +4 -6
- package/dist/node_modules/mdast-util-to-markdown/lib/util/check-bullet.js +2 -4
- package/dist/node_modules/mdast-util-to-markdown/lib/util/check-emphasis.js +2 -4
- package/dist/node_modules/mdast-util-to-markdown/lib/util/check-fence.js +2 -4
- package/dist/node_modules/mdast-util-to-markdown/lib/util/check-list-item-indent.js +2 -4
- package/dist/node_modules/mdast-util-to-markdown/lib/util/check-quote.js +2 -4
- package/dist/node_modules/mdast-util-to-markdown/lib/util/check-rule-repetition.js +2 -4
- package/dist/node_modules/mdast-util-to-markdown/lib/util/check-rule.js +2 -4
- package/dist/node_modules/mdast-util-to-markdown/lib/util/check-strong.js +2 -4
- package/dist/node_modules/mdast-util-to-markdown/lib/util/encode-character-reference.js +2 -4
- package/dist/node_modules/mdast-util-to-markdown/lib/util/encode-info.js +4 -6
- package/dist/node_modules/mdast-util-to-markdown/lib/util/format-code-as-indented.js +2 -4
- package/dist/node_modules/mdast-util-to-markdown/lib/util/format-heading-as-setext.js +7 -8
- package/dist/node_modules/mdast-util-to-markdown/lib/util/format-link-as-autolink.js +4 -6
- package/dist/node_modules/mdast-util-to-markdown/lib/util/pattern-in-scope.js +4 -6
- package/dist/node_modules/mdast-util-to-string/lib/index.js +12 -14
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/architectureDiagram-Q4EWVU46.js +374 -378
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/blockDiagram-DXYQGD6D.js +1347 -1349
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/c4Diagram-AHTNJAMY.js +549 -555
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-336JU56O.js +38 -40
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-426QAEUC.js +7 -9
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-4BX2VUAB.js +4 -6
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-4TB4RGXK.js +198 -204
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-55IACEB6.js +5 -7
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-5FUZZQ4R.js +2345 -2347
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-5PVQY5BW.js +253 -257
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-AGHRB4JF.js +20 -22
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-BSJP7CBP.js +35 -37
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-EDXVE4YY.js +15 -17
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-ENJZ2VHE.js +344 -346
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-FMBD7UC4.js +3 -5
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-ICPOFSXX.js +718 -746
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-OYMX7WX6.js +588 -594
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-QZHKN3VN.js +4 -8
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-U2HBQHQK.js +204 -206
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-X2U36JSP.js +37 -39
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-XPW4576I.js +891 -893
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-YZCP3GAM.js +37 -39
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-ZZ45TVLE.js +13 -15
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/classDiagram-6PBFFD2Q.js +9 -11
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/classDiagram-v2-HSJHXN6E.js +9 -11
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/cose-bilkent-S5V4N54A.js +114 -116
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/dagre-KV5264BT.js +188 -190
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/diagram-5BDNPKRD.js +70 -72
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/diagram-G4DWMVQ6.js +185 -189
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/diagram-MMDJMWI5.js +154 -156
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/diagram-TYMM5635.js +72 -76
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/erDiagram-SMLLAGMA.js +75 -79
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/flowDiagram-DWJPFMVM.js +896 -900
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/ganttDiagram-T4ZO3ILL.js +685 -687
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/gitGraphDiagram-UUTBAWPF.js +569 -571
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/infoDiagram-42DDH7IO.js +15 -17
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/ishikawaDiagram-UXIWVN3A.js +304 -308
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/journeyDiagram-VCZTEJTY.js +377 -379
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/kanban-definition-6JOO6SKY.js +114 -116
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/mindmap-definition-QFDTVHPH.js +87 -91
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/pieDiagram-DEJITSTG.js +94 -96
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/quadrantDiagram-34T5L4WZ.js +273 -279
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/requirementDiagram-MS252O5E.js +59 -63
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/sankeyDiagram-XADWPNL6.js +202 -212
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/sequenceDiagram-FGHM5R23.js +564 -568
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/stateDiagram-FHFEXIEX.js +155 -157
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/stateDiagram-v2-QKLJ7IA2.js +9 -11
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/timeline-definition-GMOUNBTQ.js +559 -561
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/vennDiagram-DHZGUBPP.js +370 -372
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/wardleyDiagram-NUSXRM2D.js +450 -454
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/xychartDiagram-5P7HB3ND.js +658 -680
- package/dist/node_modules/mermaid/dist/mermaid.core.js +430 -434
- package/dist/node_modules/micromark/lib/constructs.js +79 -80
- package/dist/node_modules/micromark/lib/create-tokenizer.js +12 -14
- package/dist/node_modules/micromark/lib/initialize/content.js +7 -9
- package/dist/node_modules/micromark/lib/initialize/document.js +14 -15
- package/dist/node_modules/micromark/lib/initialize/flow.js +7 -9
- package/dist/node_modules/micromark/lib/initialize/text.js +6 -8
- package/dist/node_modules/micromark/lib/parse.js +18 -20
- package/dist/node_modules/micromark/lib/postprocess.js +4 -6
- package/dist/node_modules/micromark/lib/preprocess.js +4 -6
- package/dist/node_modules/micromark-core-commonmark/lib/attention.js +18 -20
- package/dist/node_modules/micromark-core-commonmark/lib/autolink.js +15 -17
- package/dist/node_modules/micromark-core-commonmark/lib/blank-line.js +9 -11
- package/dist/node_modules/micromark-core-commonmark/lib/block-quote.js +13 -15
- package/dist/node_modules/micromark-core-commonmark/lib/character-escape.js +6 -8
- package/dist/node_modules/micromark-core-commonmark/lib/character-reference.js +14 -16
- package/dist/node_modules/micromark-core-commonmark/lib/code-fenced.js +21 -22
- package/dist/node_modules/micromark-core-commonmark/lib/code-indented.js +15 -16
- package/dist/node_modules/micromark-core-commonmark/lib/code-text.js +11 -13
- package/dist/node_modules/micromark-core-commonmark/lib/content.js +17 -18
- package/dist/node_modules/micromark-core-commonmark/lib/definition.js +29 -30
- package/dist/node_modules/micromark-core-commonmark/lib/hard-break-escape.js +6 -8
- package/dist/node_modules/micromark-core-commonmark/lib/heading-atx.js +13 -15
- package/dist/node_modules/micromark-core-commonmark/lib/html-flow.js +67 -68
- package/dist/node_modules/micromark-core-commonmark/lib/html-text.js +64 -66
- package/dist/node_modules/micromark-core-commonmark/lib/label-end.js +111 -112
- package/dist/node_modules/micromark-core-commonmark/lib/label-start-image.js +6 -8
- package/dist/node_modules/micromark-core-commonmark/lib/label-start-link.js +6 -8
- package/dist/node_modules/micromark-core-commonmark/lib/line-ending.js +6 -8
- package/dist/node_modules/micromark-core-commonmark/lib/list.js +31 -32
- package/dist/node_modules/micromark-core-commonmark/lib/setext-underline.js +10 -12
- package/dist/node_modules/micromark-core-commonmark/lib/thematic-break.js +9 -11
- package/dist/node_modules/micromark-extension-gfm/index.js +14 -16
- package/dist/node_modules/micromark-extension-gfm-autolink-literal/lib/syntax.js +120 -122
- package/dist/node_modules/micromark-extension-gfm-footnote/lib/syntax.js +31 -33
- package/dist/node_modules/micromark-extension-gfm-strikethrough/lib/syntax.js +9 -11
- package/dist/node_modules/micromark-extension-gfm-table/lib/edit-map.js +4 -6
- package/dist/node_modules/micromark-extension-gfm-table/lib/infer.js +2 -4
- package/dist/node_modules/micromark-extension-gfm-table/lib/syntax.js +34 -36
- package/dist/node_modules/micromark-extension-gfm-task-list-item/lib/syntax.js +18 -20
- package/dist/node_modules/micromark-extension-math/lib/math-flow.js +20 -21
- package/dist/node_modules/micromark-extension-math/lib/math-text.js +9 -11
- package/dist/node_modules/micromark-extension-math/lib/syntax.js +6 -8
- package/dist/node_modules/micromark-factory-destination/index.js +8 -10
- package/dist/node_modules/micromark-factory-label/index.js +5 -7
- package/dist/node_modules/micromark-factory-space/index.js +5 -7
- package/dist/node_modules/micromark-factory-title/index.js +6 -8
- package/dist/node_modules/micromark-factory-whitespace/index.js +5 -7
- package/dist/node_modules/micromark-util-character/index.js +12 -14
- package/dist/node_modules/micromark-util-chunked/index.js +4 -6
- package/dist/node_modules/micromark-util-classify-character/index.js +5 -7
- package/dist/node_modules/micromark-util-combine-extensions/index.js +11 -13
- package/dist/node_modules/micromark-util-decode-numeric-character-reference/index.js +2 -4
- package/dist/node_modules/micromark-util-decode-string/index.js +9 -11
- package/dist/node_modules/micromark-util-html-tag-name/index.js +2 -4
- package/dist/node_modules/micromark-util-normalize-identifier/index.js +2 -4
- package/dist/node_modules/micromark-util-resolve-all/index.js +2 -4
- package/dist/node_modules/micromark-util-sanitize-uri/index.js +4 -6
- package/dist/node_modules/micromark-util-subtokenize/index.js +8 -10
- package/dist/node_modules/micromark-util-subtokenize/lib/splice-buffer.js +8 -10
- package/dist/node_modules/motion/dist/es/react.js +2 -2
- package/dist/node_modules/nanoid/index.browser.js +4 -6
- package/dist/node_modules/nanoid/url-alphabet/index.js +2 -4
- package/dist/node_modules/property-information/index.js +23 -25
- package/dist/node_modules/property-information/lib/aria.js +39 -41
- package/dist/node_modules/property-information/lib/find.js +16 -18
- package/dist/node_modules/property-information/lib/hast-to-react.js +2 -4
- package/dist/node_modules/property-information/lib/html.js +94 -96
- package/dist/node_modules/property-information/lib/normalize.js +2 -4
- package/dist/node_modules/property-information/lib/svg.js +77 -79
- package/dist/node_modules/property-information/lib/util/case-insensitive-transform.js +4 -6
- package/dist/node_modules/property-information/lib/util/case-sensitive-transform.js +2 -4
- package/dist/node_modules/property-information/lib/util/create.js +8 -10
- package/dist/node_modules/property-information/lib/util/defined-info.js +11 -13
- package/dist/node_modules/property-information/lib/util/info.js +3 -5
- package/dist/node_modules/property-information/lib/util/merge.js +4 -6
- package/dist/node_modules/property-information/lib/util/schema.js +3 -5
- package/dist/node_modules/property-information/lib/util/types.js +14 -15
- package/dist/node_modules/property-information/lib/xlink.js +3 -5
- package/dist/node_modules/property-information/lib/xml.js +3 -5
- package/dist/node_modules/property-information/lib/xmlns.js +5 -7
- package/dist/node_modules/rehype-harden/dist/index.js +45 -47
- package/dist/node_modules/rehype-katex/lib/index.js +23 -25
- package/dist/node_modules/rehype-raw/lib/index.js +4 -6
- package/dist/node_modules/rehype-sanitize/lib/index.js +4 -6
- package/dist/node_modules/remark-gfm/lib/index.js +7 -9
- package/dist/node_modules/remark-math/lib/index.js +7 -9
- package/dist/node_modules/remark-parse/lib/index.js +4 -6
- package/dist/node_modules/remark-rehype/lib/index.js +5 -7
- package/dist/node_modules/remend/dist/index.js +324 -326
- package/dist/node_modules/roughjs/bundled/rough.esm.js +875 -877
- package/dist/node_modules/shiki/dist/bundle-full.js +12 -13
- package/dist/node_modules/shiki/dist/chunk-CtajNgzt.js +8 -10
- package/dist/node_modules/shiki/dist/engine-oniguruma.js +5 -7
- package/dist/node_modules/shiki/dist/langs-bundle-full-DfKZStlK.js +5 -7
- package/dist/node_modules/shiki/dist/themes.js +3 -5
- package/dist/node_modules/shiki/dist/wasm.js +2 -2
- package/dist/node_modules/space-separated-tokens/index.js +3 -5
- package/dist/node_modules/streamdown/dist/chunk-BO2N2NFS.js +699 -701
- package/dist/node_modules/streamdown/dist/highlighted-body-OFNGDK62.js +8 -10
- package/dist/node_modules/streamdown/dist/index.js +1 -1
- package/dist/node_modules/streamdown/dist/mermaid-GHXKKRXX.js +2 -2
- package/dist/node_modules/streamdown/node_modules/marked/lib/marked.esm.js +712 -709
- package/dist/node_modules/stringify-entities/lib/constant/dangerous.js +2 -4
- package/dist/node_modules/stringify-entities/lib/core.js +16 -18
- package/dist/node_modules/stringify-entities/lib/index.js +5 -7
- package/dist/node_modules/stringify-entities/lib/util/format-smart.js +8 -10
- package/dist/node_modules/stringify-entities/lib/util/to-decimal.js +4 -6
- package/dist/node_modules/stringify-entities/lib/util/to-hexadecimal.js +4 -6
- package/dist/node_modules/stringify-entities/lib/util/to-named.js +12 -14
- package/dist/node_modules/style-to-js/cjs/index.js +7 -9
- package/dist/node_modules/style-to-js/cjs/utilities.js +4 -6
- package/dist/node_modules/style-to-object/cjs/index.js +6 -8
- package/dist/node_modules/stylis/src/Enum.js +2 -4
- package/dist/node_modules/stylis/src/Parser.js +36 -38
- package/dist/node_modules/stylis/src/Serializer.js +15 -17
- package/dist/node_modules/stylis/src/Tokenizer.js +51 -53
- package/dist/node_modules/stylis/src/Utility.js +15 -17
- package/dist/node_modules/trim-lines/index.js +8 -10
- package/dist/node_modules/trough/lib/index.js +4 -6
- package/dist/node_modules/ts-dedent/esm/index.js +2 -4
- package/dist/node_modules/unified/lib/callable-instance.js +2 -4
- package/dist/node_modules/unified/lib/index.js +101 -102
- package/dist/node_modules/unified/node_modules/is-plain-obj/index.js +2 -4
- package/dist/node_modules/unist-util-find-after/lib/index.js +4 -6
- package/dist/node_modules/unist-util-is/lib/index.js +29 -31
- package/dist/node_modules/unist-util-position/lib/index.js +5 -7
- package/dist/node_modules/unist-util-stringify-position/lib/index.js +8 -10
- package/dist/node_modules/unist-util-visit/lib/index.js +4 -6
- package/dist/node_modules/unist-util-visit-parents/lib/color.js +2 -4
- package/dist/node_modules/unist-util-visit-parents/lib/index.js +20 -21
- package/dist/node_modules/uuid/dist/esm-browser/native.js +2 -3
- package/dist/node_modules/uuid/dist/esm-browser/rng.js +6 -8
- package/dist/node_modules/uuid/dist/esm-browser/stringify.js +5 -7
- package/dist/node_modules/uuid/dist/esm-browser/v4.js +9 -10
- package/dist/node_modules/vaul/dist/index.js +274 -276
- package/dist/node_modules/vfile/lib/index.js +42 -44
- package/dist/node_modules/vfile/lib/minpath.browser.js +20 -22
- package/dist/node_modules/vfile/lib/minproc.browser.js +3 -5
- package/dist/node_modules/vfile/lib/minurl.browser.js +6 -8
- package/dist/node_modules/vfile/lib/minurl.shared.js +2 -4
- package/dist/node_modules/vfile-location/lib/index.js +5 -7
- package/dist/node_modules/vfile-message/lib/index.js +5 -7
- package/dist/node_modules/vscode-jsonrpc/browser.js +6 -8
- package/dist/node_modules/vscode-jsonrpc/lib/browser/main.js +9 -11
- package/dist/node_modules/vscode-jsonrpc/lib/browser/ril.js +6 -8
- package/dist/node_modules/vscode-jsonrpc/lib/common/api.js +26 -28
- package/dist/node_modules/vscode-jsonrpc/lib/common/cancellation.js +15 -17
- package/dist/node_modules/vscode-jsonrpc/lib/common/connection.js +11 -13
- package/dist/node_modules/vscode-jsonrpc/lib/common/disposable.js +4 -6
- package/dist/node_modules/vscode-jsonrpc/lib/common/events.js +6 -8
- package/dist/node_modules/vscode-jsonrpc/lib/common/is.js +4 -6
- package/dist/node_modules/vscode-jsonrpc/lib/common/linkedMap.js +4 -6
- package/dist/node_modules/vscode-jsonrpc/lib/common/messageBuffer.js +4 -6
- package/dist/node_modules/vscode-jsonrpc/lib/common/messageReader.js +9 -11
- package/dist/node_modules/vscode-jsonrpc/lib/common/messageWriter.js +29 -31
- package/dist/node_modules/vscode-jsonrpc/lib/common/messages.js +6 -8
- package/dist/node_modules/vscode-jsonrpc/lib/common/ral.js +4 -6
- package/dist/node_modules/vscode-jsonrpc/lib/common/semaphore.js +6 -8
- package/dist/node_modules/vscode-jsonrpc/lib/common/sharedArrayCancellation.js +6 -8
- package/dist/node_modules/vscode-languageserver-protocol/lib/browser/main.js +8 -10
- package/dist/node_modules/vscode-languageserver-protocol/lib/common/api.js +21 -23
- package/dist/node_modules/vscode-languageserver-protocol/lib/common/connection.js +6 -8
- package/dist/node_modules/vscode-languageserver-protocol/lib/common/messages.js +6 -8
- package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.callHierarchy.js +6 -8
- package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.colorProvider.js +6 -8
- package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.configuration.js +6 -8
- package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.declaration.js +6 -8
- package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.diagnostic.js +12 -14
- package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.fileOperations.js +6 -8
- package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.foldingRange.js +6 -8
- package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.implementation.js +6 -8
- package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.inlayHint.js +6 -8
- package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.inlineCompletion.js +6 -8
- package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.inlineValue.js +6 -8
- package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.js +53 -55
- package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.linkedEditingRange.js +6 -8
- package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.moniker.js +6 -8
- package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.notebook.js +8 -10
- package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.progress.js +10 -12
- package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.selectionRange.js +6 -8
- package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.semanticTokens.js +6 -8
- package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.showDocument.js +6 -8
- package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.typeDefinition.js +6 -8
- package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.typeHierarchy.js +6 -8
- package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.workspaceFolder.js +6 -8
- package/dist/node_modules/vscode-languageserver-protocol/lib/common/utils/is.js +4 -6
- package/dist/node_modules/vscode-languageserver-textdocument/lib/esm/main.js +19 -21
- package/dist/node_modules/vscode-languageserver-types/lib/esm/main.js +847 -849
- package/dist/node_modules/vscode-uri/lib/esm/index.js +4 -6
- package/dist/node_modules/web-namespaces/index.js +2 -4
- package/dist/node_modules/zwitch/index.js +5 -7
- package/dist/packages/contracts/dist/enums/index.js +12 -14
- package/dist/packages/contracts/dist/enums/registry.enum.js +4 -6
- package/dist/packages/contracts/dist/enums/sort-order.enum.js +4 -6
- package/dist/packages/contracts/dist/enums/user-type.enum.js +4 -6
- package/dist/packages/contracts/dist/enums/workflow-state.enum.js +4 -6
- package/dist/pages/DashboardPage.js +78 -59
- package/dist/pages/DebugPage.js +17 -12
- package/dist/pages/DebugWorkflowDetailsPage.js +105 -91
- package/dist/pages/DebugWorkflowsPage.js +162 -125
- package/dist/pages/EmbedWorkbenchPage.js +63 -48
- package/dist/pages/PreviewWorkbenchPage.js +370 -271
- package/dist/pages/RunsListPage.js +46 -43
- package/dist/pages/RunsPage.js +33 -31
- package/dist/pages/StudioLandingPage.js +132 -97
- package/dist/pages/WorkbenchPage.js +65 -57
- package/dist/pages/WorkflowDebugPage.js +96 -74
- package/dist/pages/WorkspacePage.js +88 -72
- package/dist/pages/WorkspaceRunsPage.js +75 -43
- package/dist/pages/WorkspacesPage.js +17 -22
- package/dist/providers/ComponentOverridesProvider.js +12 -9
- package/dist/providers/InvalidationEventsProvider.js +35 -33
- package/dist/providers/QueryProvider.js +18 -14
- package/dist/providers/SseProvider.js +29 -28
- package/dist/providers/StudioPreferencesProvider.js +54 -0
- package/dist/providers/StudioProvider.js +19 -14
- package/dist/routing/LocalRouter.js +9 -6
- package/dist/services/createApiClient.js +5 -7
- package/dist/services/eventEmitter.js +2 -3
- package/dist/services/index.js +2 -2
- package/dist/types/ai.types.js +5 -7
- package/package.json +8 -8
- package/dist/_virtual/_rolldown/runtime.js +0 -20
- package/dist/features/documents/renderers/SecretInputRenderer.js +0 -89
- package/dist/features/workbench/components/RemoteFileTabsBar.js +0 -19
- package/dist/features/workbench/components/RemoteFileTree.js +0 -59
- package/dist/features/workbench/components/WorkbenchFilesPanel.js +0 -56
- package/dist/features/workbench/components/WorkbenchFloatingPanel.js +0 -40
- package/dist/features/workbench/components/WorkbenchFlowPanel.js +0 -38
- package/dist/features/workbench/components/WorkbenchSecretsPanel.js +0 -153
- package/dist/features/workbench/providers/RemoteFileExplorerProvider.js +0 -145
- package/dist/frontend/studio/node_modules/lodash/_Symbol.js +0 -9
- package/dist/frontend/studio/node_modules/lodash/_baseGetTag.js +0 -15
- package/dist/frontend/studio/node_modules/lodash/_baseTrim.js +0 -13
- package/dist/frontend/studio/node_modules/lodash/_freeGlobal.js +0 -8
- package/dist/frontend/studio/node_modules/lodash/_getRawTag.js +0 -19
- package/dist/frontend/studio/node_modules/lodash/_objectToString.js +0 -12
- package/dist/frontend/studio/node_modules/lodash/_root.js +0 -10
- package/dist/frontend/studio/node_modules/lodash/_trimmedEndIndex.js +0 -13
- package/dist/frontend/studio/node_modules/lodash/isObject.js +0 -12
- package/dist/frontend/studio/node_modules/lodash/isObjectLike.js +0 -11
- package/dist/frontend/studio/node_modules/lodash/isSymbol.js +0 -14
- package/dist/frontend/studio/node_modules/lodash/now.js +0 -12
- package/dist/frontend/studio/node_modules/lodash/toNumber.js +0 -24
- package/dist/node_modules/@dagrejs/dagre/dist/dagre.esm.js +0 -1867
|
@@ -1,18 +1,17 @@
|
|
|
1
|
-
import { __name
|
|
2
|
-
import { clear
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import
|
|
1
|
+
import { __name, log } from "./chunk-AGHRB4JF.js";
|
|
2
|
+
import { clear, configureSvgSize, defaultConfig_default, getAccDescription, getAccTitle, getConfig, getDiagramTitle, getThemeVariables3, sanitizeText, setAccDescription, setAccTitle, setDiagramTitle } from "./chunk-ICPOFSXX.js";
|
|
3
|
+
import band from "../../../../d3-scale/src/band.js";
|
|
4
|
+
import linear from "../../../../d3-scale/src/linear.js";
|
|
5
|
+
import line_default from "../../../../d3-shape/src/line.js";
|
|
6
6
|
import "../../../../d3/src/index.js";
|
|
7
|
-
import { selectSvgElement
|
|
8
|
-
import { cleanAndMerge
|
|
9
|
-
import { computeDimensionOfText
|
|
10
|
-
|
|
11
|
-
var
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
}, "o"), n = [
|
|
7
|
+
import { selectSvgElement } from "./chunk-426QAEUC.js";
|
|
8
|
+
import { cleanAndMerge } from "./chunk-5PVQY5BW.js";
|
|
9
|
+
import { computeDimensionOfText } from "./chunk-U2HBQHQK.js";
|
|
10
|
+
var parser = (function() {
|
|
11
|
+
var S = /* @__PURE__ */ __name(function(e, S, C, w) {
|
|
12
|
+
for (C ||= {}, w = e.length; w--; C[e[w]] = S);
|
|
13
|
+
return C;
|
|
14
|
+
}, "o"), C = [
|
|
16
15
|
1,
|
|
17
16
|
10,
|
|
18
17
|
12,
|
|
@@ -22,7 +21,7 @@ var b = (function() {
|
|
|
22
21
|
19,
|
|
23
22
|
21,
|
|
24
23
|
23
|
|
25
|
-
],
|
|
24
|
+
], w = [2, 6], T = [1, 3], E = [1, 5], D = [1, 6], O = [1, 7], k = [
|
|
26
25
|
1,
|
|
27
26
|
5,
|
|
28
27
|
10,
|
|
@@ -36,7 +35,7 @@ var b = (function() {
|
|
|
36
35
|
34,
|
|
37
36
|
35,
|
|
38
37
|
36
|
|
39
|
-
],
|
|
38
|
+
], A = [1, 25], j = [1, 26], M = [1, 28], N = [1, 29], P = [1, 30], F = [1, 31], I = [1, 32], L = [1, 33], R = [1, 34], z = [1, 35], B = [1, 36], V = [1, 37], H = [1, 43], U = [1, 42], W = [1, 47], G = [1, 50], K = [
|
|
40
39
|
1,
|
|
41
40
|
10,
|
|
42
41
|
12,
|
|
@@ -49,7 +48,7 @@ var b = (function() {
|
|
|
49
48
|
34,
|
|
50
49
|
35,
|
|
51
50
|
36
|
|
52
|
-
],
|
|
51
|
+
], q = [
|
|
53
52
|
1,
|
|
54
53
|
10,
|
|
55
54
|
12,
|
|
@@ -66,7 +65,7 @@ var b = (function() {
|
|
|
66
65
|
34,
|
|
67
66
|
35,
|
|
68
67
|
36
|
|
69
|
-
],
|
|
68
|
+
], J = [
|
|
70
69
|
1,
|
|
71
70
|
10,
|
|
72
71
|
12,
|
|
@@ -93,8 +92,8 @@ var b = (function() {
|
|
|
93
92
|
48,
|
|
94
93
|
49,
|
|
95
94
|
50
|
|
96
|
-
],
|
|
97
|
-
trace: /* @__PURE__ */
|
|
95
|
+
], Y = [1, 64], X = {
|
|
96
|
+
trace: /* @__PURE__ */ __name(function() {}, "trace"),
|
|
98
97
|
yy: {},
|
|
99
98
|
symbols_: {
|
|
100
99
|
error: 2,
|
|
@@ -238,147 +237,147 @@ var b = (function() {
|
|
|
238
237
|
[40, 1],
|
|
239
238
|
[40, 1]
|
|
240
239
|
],
|
|
241
|
-
performAction: /* @__PURE__ */
|
|
242
|
-
var
|
|
243
|
-
switch (
|
|
240
|
+
performAction: /* @__PURE__ */ __name(function(e, S, C, w, T, E, D) {
|
|
241
|
+
var O = E.length - 1;
|
|
242
|
+
switch (T) {
|
|
244
243
|
case 5:
|
|
245
|
-
|
|
244
|
+
w.setOrientation(E[O]);
|
|
246
245
|
break;
|
|
247
246
|
case 9:
|
|
248
|
-
|
|
247
|
+
w.setDiagramTitle(E[O].text.trim());
|
|
249
248
|
break;
|
|
250
249
|
case 12:
|
|
251
|
-
|
|
250
|
+
w.setLineData({
|
|
252
251
|
text: "",
|
|
253
252
|
type: "text"
|
|
254
|
-
},
|
|
253
|
+
}, E[O]);
|
|
255
254
|
break;
|
|
256
255
|
case 13:
|
|
257
|
-
|
|
256
|
+
w.setLineData(E[O - 1], E[O]);
|
|
258
257
|
break;
|
|
259
258
|
case 14:
|
|
260
|
-
|
|
259
|
+
w.setBarData({
|
|
261
260
|
text: "",
|
|
262
261
|
type: "text"
|
|
263
|
-
},
|
|
262
|
+
}, E[O]);
|
|
264
263
|
break;
|
|
265
264
|
case 15:
|
|
266
|
-
|
|
265
|
+
w.setBarData(E[O - 1], E[O]);
|
|
267
266
|
break;
|
|
268
267
|
case 16:
|
|
269
|
-
this.$ =
|
|
268
|
+
this.$ = E[O].trim(), w.setAccTitle(this.$);
|
|
270
269
|
break;
|
|
271
270
|
case 17:
|
|
272
271
|
case 18:
|
|
273
|
-
this.$ =
|
|
272
|
+
this.$ = E[O].trim(), w.setAccDescription(this.$);
|
|
274
273
|
break;
|
|
275
274
|
case 19:
|
|
276
|
-
this.$ =
|
|
275
|
+
this.$ = E[O - 1];
|
|
277
276
|
break;
|
|
278
277
|
case 20:
|
|
279
|
-
this.$ = [Number(
|
|
278
|
+
this.$ = [Number(E[O - 2]), ...E[O]];
|
|
280
279
|
break;
|
|
281
280
|
case 21:
|
|
282
|
-
this.$ = [Number(
|
|
281
|
+
this.$ = [Number(E[O])];
|
|
283
282
|
break;
|
|
284
283
|
case 22:
|
|
285
|
-
|
|
284
|
+
w.setXAxisTitle(E[O]);
|
|
286
285
|
break;
|
|
287
286
|
case 23:
|
|
288
|
-
|
|
287
|
+
w.setXAxisTitle(E[O - 1]);
|
|
289
288
|
break;
|
|
290
289
|
case 24:
|
|
291
|
-
|
|
290
|
+
w.setXAxisTitle({
|
|
292
291
|
type: "text",
|
|
293
292
|
text: ""
|
|
294
293
|
});
|
|
295
294
|
break;
|
|
296
295
|
case 25:
|
|
297
|
-
|
|
296
|
+
w.setXAxisBand(E[O]);
|
|
298
297
|
break;
|
|
299
298
|
case 26:
|
|
300
|
-
|
|
299
|
+
w.setXAxisRangeData(Number(E[O - 2]), Number(E[O]));
|
|
301
300
|
break;
|
|
302
301
|
case 27:
|
|
303
|
-
this.$ =
|
|
302
|
+
this.$ = E[O - 1];
|
|
304
303
|
break;
|
|
305
304
|
case 28:
|
|
306
|
-
this.$ = [
|
|
305
|
+
this.$ = [E[O - 2], ...E[O]];
|
|
307
306
|
break;
|
|
308
307
|
case 29:
|
|
309
|
-
this.$ = [
|
|
308
|
+
this.$ = [E[O]];
|
|
310
309
|
break;
|
|
311
310
|
case 30:
|
|
312
|
-
|
|
311
|
+
w.setYAxisTitle(E[O]);
|
|
313
312
|
break;
|
|
314
313
|
case 31:
|
|
315
|
-
|
|
314
|
+
w.setYAxisTitle(E[O - 1]);
|
|
316
315
|
break;
|
|
317
316
|
case 32:
|
|
318
|
-
|
|
317
|
+
w.setYAxisTitle({
|
|
319
318
|
type: "text",
|
|
320
319
|
text: ""
|
|
321
320
|
});
|
|
322
321
|
break;
|
|
323
322
|
case 33:
|
|
324
|
-
|
|
323
|
+
w.setYAxisRangeData(Number(E[O - 2]), Number(E[O]));
|
|
325
324
|
break;
|
|
326
325
|
case 37:
|
|
327
326
|
this.$ = {
|
|
328
|
-
text:
|
|
327
|
+
text: E[O],
|
|
329
328
|
type: "text"
|
|
330
329
|
};
|
|
331
330
|
break;
|
|
332
331
|
case 38:
|
|
333
332
|
this.$ = {
|
|
334
|
-
text:
|
|
333
|
+
text: E[O],
|
|
335
334
|
type: "text"
|
|
336
335
|
};
|
|
337
336
|
break;
|
|
338
337
|
case 39:
|
|
339
338
|
this.$ = {
|
|
340
|
-
text:
|
|
339
|
+
text: E[O],
|
|
341
340
|
type: "markdown"
|
|
342
341
|
};
|
|
343
342
|
break;
|
|
344
343
|
case 40:
|
|
345
|
-
this.$ =
|
|
344
|
+
this.$ = E[O];
|
|
346
345
|
break;
|
|
347
346
|
case 41:
|
|
348
|
-
this.$ =
|
|
347
|
+
this.$ = E[O - 1] + "" + E[O];
|
|
349
348
|
break;
|
|
350
349
|
}
|
|
351
350
|
}, "anonymous"),
|
|
352
351
|
table: [
|
|
353
|
-
|
|
352
|
+
S(C, w, {
|
|
354
353
|
3: 1,
|
|
355
354
|
4: 2,
|
|
356
355
|
7: 4,
|
|
357
|
-
5:
|
|
358
|
-
34:
|
|
359
|
-
35:
|
|
360
|
-
36:
|
|
356
|
+
5: T,
|
|
357
|
+
34: E,
|
|
358
|
+
35: D,
|
|
359
|
+
36: O
|
|
361
360
|
}),
|
|
362
361
|
{ 1: [3] },
|
|
363
|
-
|
|
362
|
+
S(C, w, {
|
|
364
363
|
4: 2,
|
|
365
364
|
7: 4,
|
|
366
365
|
3: 8,
|
|
367
|
-
5:
|
|
368
|
-
34:
|
|
369
|
-
35:
|
|
370
|
-
36:
|
|
366
|
+
5: T,
|
|
367
|
+
34: E,
|
|
368
|
+
35: D,
|
|
369
|
+
36: O
|
|
371
370
|
}),
|
|
372
|
-
|
|
371
|
+
S(C, w, {
|
|
373
372
|
4: 2,
|
|
374
373
|
7: 4,
|
|
375
374
|
6: 9,
|
|
376
375
|
3: 10,
|
|
377
|
-
5:
|
|
376
|
+
5: T,
|
|
378
377
|
8: [1, 11],
|
|
379
|
-
34:
|
|
380
|
-
35:
|
|
381
|
-
36:
|
|
378
|
+
34: E,
|
|
379
|
+
35: D,
|
|
380
|
+
36: O
|
|
382
381
|
}),
|
|
383
382
|
{
|
|
384
383
|
1: [2, 4],
|
|
@@ -392,249 +391,249 @@ var b = (function() {
|
|
|
392
391
|
21: [1, 19],
|
|
393
392
|
23: [1, 20]
|
|
394
393
|
},
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
394
|
+
S(k, [2, 34]),
|
|
395
|
+
S(k, [2, 35]),
|
|
396
|
+
S(k, [2, 36]),
|
|
398
397
|
{ 1: [2, 1] },
|
|
399
|
-
|
|
398
|
+
S(C, w, {
|
|
400
399
|
4: 2,
|
|
401
400
|
7: 4,
|
|
402
401
|
3: 21,
|
|
403
|
-
5:
|
|
404
|
-
34:
|
|
405
|
-
35:
|
|
406
|
-
36:
|
|
402
|
+
5: T,
|
|
403
|
+
34: E,
|
|
404
|
+
35: D,
|
|
405
|
+
36: O
|
|
407
406
|
}),
|
|
408
407
|
{ 1: [2, 3] },
|
|
409
|
-
|
|
410
|
-
|
|
408
|
+
S(k, [2, 5]),
|
|
409
|
+
S(C, [2, 7], {
|
|
411
410
|
4: 22,
|
|
412
|
-
34:
|
|
413
|
-
35:
|
|
414
|
-
36:
|
|
411
|
+
34: E,
|
|
412
|
+
35: D,
|
|
413
|
+
36: O
|
|
415
414
|
}),
|
|
416
415
|
{
|
|
417
416
|
11: 23,
|
|
418
417
|
37: 24,
|
|
419
|
-
38:
|
|
420
|
-
39:
|
|
418
|
+
38: A,
|
|
419
|
+
39: j,
|
|
421
420
|
40: 27,
|
|
422
|
-
41:
|
|
423
|
-
42:
|
|
424
|
-
43:
|
|
425
|
-
44:
|
|
426
|
-
45:
|
|
427
|
-
46:
|
|
428
|
-
47:
|
|
429
|
-
48:
|
|
430
|
-
49:
|
|
431
|
-
50:
|
|
421
|
+
41: M,
|
|
422
|
+
42: N,
|
|
423
|
+
43: P,
|
|
424
|
+
44: F,
|
|
425
|
+
45: I,
|
|
426
|
+
46: L,
|
|
427
|
+
47: R,
|
|
428
|
+
48: z,
|
|
429
|
+
49: B,
|
|
430
|
+
50: V
|
|
432
431
|
},
|
|
433
432
|
{
|
|
434
433
|
11: 39,
|
|
435
434
|
13: 38,
|
|
436
|
-
24:
|
|
437
|
-
27:
|
|
435
|
+
24: H,
|
|
436
|
+
27: U,
|
|
438
437
|
29: 40,
|
|
439
438
|
30: 41,
|
|
440
439
|
37: 24,
|
|
441
|
-
38:
|
|
442
|
-
39:
|
|
440
|
+
38: A,
|
|
441
|
+
39: j,
|
|
443
442
|
40: 27,
|
|
444
|
-
41:
|
|
445
|
-
42:
|
|
446
|
-
43:
|
|
447
|
-
44:
|
|
448
|
-
45:
|
|
449
|
-
46:
|
|
450
|
-
47:
|
|
451
|
-
48:
|
|
452
|
-
49:
|
|
453
|
-
50:
|
|
443
|
+
41: M,
|
|
444
|
+
42: N,
|
|
445
|
+
43: P,
|
|
446
|
+
44: F,
|
|
447
|
+
45: I,
|
|
448
|
+
46: L,
|
|
449
|
+
47: R,
|
|
450
|
+
48: z,
|
|
451
|
+
49: B,
|
|
452
|
+
50: V
|
|
454
453
|
},
|
|
455
454
|
{
|
|
456
455
|
11: 45,
|
|
457
456
|
15: 44,
|
|
458
|
-
27:
|
|
457
|
+
27: W,
|
|
459
458
|
33: 46,
|
|
460
459
|
37: 24,
|
|
461
|
-
38:
|
|
462
|
-
39:
|
|
460
|
+
38: A,
|
|
461
|
+
39: j,
|
|
463
462
|
40: 27,
|
|
464
|
-
41:
|
|
465
|
-
42:
|
|
466
|
-
43:
|
|
467
|
-
44:
|
|
468
|
-
45:
|
|
469
|
-
46:
|
|
470
|
-
47:
|
|
471
|
-
48:
|
|
472
|
-
49:
|
|
473
|
-
50:
|
|
463
|
+
41: M,
|
|
464
|
+
42: N,
|
|
465
|
+
43: P,
|
|
466
|
+
44: F,
|
|
467
|
+
45: I,
|
|
468
|
+
46: L,
|
|
469
|
+
47: R,
|
|
470
|
+
48: z,
|
|
471
|
+
49: B,
|
|
472
|
+
50: V
|
|
474
473
|
},
|
|
475
474
|
{
|
|
476
475
|
11: 49,
|
|
477
476
|
17: 48,
|
|
478
|
-
24:
|
|
477
|
+
24: G,
|
|
479
478
|
37: 24,
|
|
480
|
-
38:
|
|
481
|
-
39:
|
|
479
|
+
38: A,
|
|
480
|
+
39: j,
|
|
482
481
|
40: 27,
|
|
483
|
-
41:
|
|
484
|
-
42:
|
|
485
|
-
43:
|
|
486
|
-
44:
|
|
487
|
-
45:
|
|
488
|
-
46:
|
|
489
|
-
47:
|
|
490
|
-
48:
|
|
491
|
-
49:
|
|
492
|
-
50:
|
|
482
|
+
41: M,
|
|
483
|
+
42: N,
|
|
484
|
+
43: P,
|
|
485
|
+
44: F,
|
|
486
|
+
45: I,
|
|
487
|
+
46: L,
|
|
488
|
+
47: R,
|
|
489
|
+
48: z,
|
|
490
|
+
49: B,
|
|
491
|
+
50: V
|
|
493
492
|
},
|
|
494
493
|
{
|
|
495
494
|
11: 52,
|
|
496
495
|
17: 51,
|
|
497
|
-
24:
|
|
496
|
+
24: G,
|
|
498
497
|
37: 24,
|
|
499
|
-
38:
|
|
500
|
-
39:
|
|
498
|
+
38: A,
|
|
499
|
+
39: j,
|
|
501
500
|
40: 27,
|
|
502
|
-
41:
|
|
503
|
-
42:
|
|
504
|
-
43:
|
|
505
|
-
44:
|
|
506
|
-
45:
|
|
507
|
-
46:
|
|
508
|
-
47:
|
|
509
|
-
48:
|
|
510
|
-
49:
|
|
511
|
-
50:
|
|
501
|
+
41: M,
|
|
502
|
+
42: N,
|
|
503
|
+
43: P,
|
|
504
|
+
44: F,
|
|
505
|
+
45: I,
|
|
506
|
+
46: L,
|
|
507
|
+
47: R,
|
|
508
|
+
48: z,
|
|
509
|
+
49: B,
|
|
510
|
+
50: V
|
|
512
511
|
},
|
|
513
512
|
{ 20: [1, 53] },
|
|
514
513
|
{ 22: [1, 54] },
|
|
515
|
-
|
|
514
|
+
S(K, [2, 18]),
|
|
516
515
|
{ 1: [2, 2] },
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
516
|
+
S(K, [2, 8]),
|
|
517
|
+
S(K, [2, 9]),
|
|
518
|
+
S(q, [2, 37], {
|
|
520
519
|
40: 55,
|
|
521
|
-
41:
|
|
522
|
-
42:
|
|
523
|
-
43:
|
|
524
|
-
44:
|
|
525
|
-
45:
|
|
526
|
-
46:
|
|
527
|
-
47:
|
|
528
|
-
48:
|
|
529
|
-
49:
|
|
530
|
-
50:
|
|
520
|
+
41: M,
|
|
521
|
+
42: N,
|
|
522
|
+
43: P,
|
|
523
|
+
44: F,
|
|
524
|
+
45: I,
|
|
525
|
+
46: L,
|
|
526
|
+
47: R,
|
|
527
|
+
48: z,
|
|
528
|
+
49: B,
|
|
529
|
+
50: V
|
|
531
530
|
}),
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
531
|
+
S(q, [2, 38]),
|
|
532
|
+
S(q, [2, 39]),
|
|
533
|
+
S(J, [2, 40]),
|
|
534
|
+
S(J, [2, 42]),
|
|
535
|
+
S(J, [2, 43]),
|
|
536
|
+
S(J, [2, 44]),
|
|
537
|
+
S(J, [2, 45]),
|
|
538
|
+
S(J, [2, 46]),
|
|
539
|
+
S(J, [2, 47]),
|
|
540
|
+
S(J, [2, 48]),
|
|
541
|
+
S(J, [2, 49]),
|
|
542
|
+
S(J, [2, 50]),
|
|
543
|
+
S(J, [2, 51]),
|
|
544
|
+
S(K, [2, 10]),
|
|
545
|
+
S(K, [2, 22], {
|
|
547
546
|
30: 41,
|
|
548
547
|
29: 56,
|
|
549
|
-
24:
|
|
550
|
-
27:
|
|
548
|
+
24: H,
|
|
549
|
+
27: U
|
|
551
550
|
}),
|
|
552
|
-
|
|
553
|
-
|
|
551
|
+
S(K, [2, 24]),
|
|
552
|
+
S(K, [2, 25]),
|
|
554
553
|
{ 31: [1, 57] },
|
|
555
554
|
{
|
|
556
555
|
11: 59,
|
|
557
556
|
32: 58,
|
|
558
557
|
37: 24,
|
|
559
|
-
38:
|
|
560
|
-
39:
|
|
558
|
+
38: A,
|
|
559
|
+
39: j,
|
|
561
560
|
40: 27,
|
|
562
|
-
41:
|
|
563
|
-
42:
|
|
564
|
-
43:
|
|
565
|
-
44:
|
|
566
|
-
45:
|
|
567
|
-
46:
|
|
568
|
-
47:
|
|
569
|
-
48:
|
|
570
|
-
49:
|
|
571
|
-
50:
|
|
561
|
+
41: M,
|
|
562
|
+
42: N,
|
|
563
|
+
43: P,
|
|
564
|
+
44: F,
|
|
565
|
+
45: I,
|
|
566
|
+
46: L,
|
|
567
|
+
47: R,
|
|
568
|
+
48: z,
|
|
569
|
+
49: B,
|
|
570
|
+
50: V
|
|
572
571
|
},
|
|
573
|
-
|
|
574
|
-
|
|
572
|
+
S(K, [2, 11]),
|
|
573
|
+
S(K, [2, 30], {
|
|
575
574
|
33: 60,
|
|
576
|
-
27:
|
|
575
|
+
27: W
|
|
577
576
|
}),
|
|
578
|
-
|
|
577
|
+
S(K, [2, 32]),
|
|
579
578
|
{ 31: [1, 61] },
|
|
580
|
-
|
|
579
|
+
S(K, [2, 12]),
|
|
581
580
|
{
|
|
582
581
|
17: 62,
|
|
583
|
-
24:
|
|
582
|
+
24: G
|
|
584
583
|
},
|
|
585
584
|
{
|
|
586
585
|
25: 63,
|
|
587
|
-
27:
|
|
586
|
+
27: Y
|
|
588
587
|
},
|
|
589
|
-
|
|
588
|
+
S(K, [2, 14]),
|
|
590
589
|
{
|
|
591
590
|
17: 65,
|
|
592
|
-
24:
|
|
591
|
+
24: G
|
|
593
592
|
},
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
593
|
+
S(K, [2, 16]),
|
|
594
|
+
S(K, [2, 17]),
|
|
595
|
+
S(J, [2, 41]),
|
|
596
|
+
S(K, [2, 23]),
|
|
598
597
|
{ 27: [1, 66] },
|
|
599
598
|
{ 26: [1, 67] },
|
|
600
599
|
{
|
|
601
600
|
26: [2, 29],
|
|
602
601
|
28: [1, 68]
|
|
603
602
|
},
|
|
604
|
-
|
|
603
|
+
S(K, [2, 31]),
|
|
605
604
|
{ 27: [1, 69] },
|
|
606
|
-
|
|
605
|
+
S(K, [2, 13]),
|
|
607
606
|
{ 26: [1, 70] },
|
|
608
607
|
{
|
|
609
608
|
26: [2, 21],
|
|
610
609
|
28: [1, 71]
|
|
611
610
|
},
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
|
|
611
|
+
S(K, [2, 15]),
|
|
612
|
+
S(K, [2, 26]),
|
|
613
|
+
S(K, [2, 27]),
|
|
615
614
|
{
|
|
616
615
|
11: 59,
|
|
617
616
|
32: 72,
|
|
618
617
|
37: 24,
|
|
619
|
-
38:
|
|
620
|
-
39:
|
|
618
|
+
38: A,
|
|
619
|
+
39: j,
|
|
621
620
|
40: 27,
|
|
622
|
-
41:
|
|
623
|
-
42:
|
|
624
|
-
43:
|
|
625
|
-
44:
|
|
626
|
-
45:
|
|
627
|
-
46:
|
|
628
|
-
47:
|
|
629
|
-
48:
|
|
630
|
-
49:
|
|
631
|
-
50:
|
|
621
|
+
41: M,
|
|
622
|
+
42: N,
|
|
623
|
+
43: P,
|
|
624
|
+
44: F,
|
|
625
|
+
45: I,
|
|
626
|
+
46: L,
|
|
627
|
+
47: R,
|
|
628
|
+
48: z,
|
|
629
|
+
49: B,
|
|
630
|
+
50: V
|
|
632
631
|
},
|
|
633
|
-
|
|
634
|
-
|
|
632
|
+
S(K, [2, 33]),
|
|
633
|
+
S(K, [2, 19]),
|
|
635
634
|
{
|
|
636
635
|
25: 73,
|
|
637
|
-
27:
|
|
636
|
+
27: Y
|
|
638
637
|
},
|
|
639
638
|
{ 26: [2, 28] },
|
|
640
639
|
{ 26: [2, 20] }
|
|
@@ -646,63 +645,63 @@ var b = (function() {
|
|
|
646
645
|
72: [2, 28],
|
|
647
646
|
73: [2, 20]
|
|
648
647
|
},
|
|
649
|
-
parseError: /* @__PURE__ */
|
|
650
|
-
if (
|
|
648
|
+
parseError: /* @__PURE__ */ __name(function(e, S) {
|
|
649
|
+
if (S.recoverable) this.trace(e);
|
|
651
650
|
else {
|
|
652
|
-
var
|
|
653
|
-
throw
|
|
651
|
+
var C = Error(e);
|
|
652
|
+
throw C.hash = S, C;
|
|
654
653
|
}
|
|
655
654
|
}, "parseError"),
|
|
656
|
-
parse: /* @__PURE__ */
|
|
657
|
-
var
|
|
658
|
-
for (var
|
|
659
|
-
|
|
660
|
-
var
|
|
661
|
-
|
|
662
|
-
var
|
|
663
|
-
typeof
|
|
664
|
-
function
|
|
665
|
-
|
|
655
|
+
parse: /* @__PURE__ */ __name(function(S) {
|
|
656
|
+
var C = this, w = [0], T = [], E = [null], D = [], O = this.table, k = "", A = 0, j = 0, M = 0, N = 2, P = 1, F = D.slice.call(arguments, 1), I = Object.create(this.lexer), L = { yy: {} };
|
|
657
|
+
for (var R in this.yy) Object.prototype.hasOwnProperty.call(this.yy, R) && (L.yy[R] = this.yy[R]);
|
|
658
|
+
I.setInput(S, L.yy), L.yy.lexer = I, L.yy.parser = this, I.yylloc === void 0 && (I.yylloc = {});
|
|
659
|
+
var z = I.yylloc;
|
|
660
|
+
D.push(z);
|
|
661
|
+
var B = I.options && I.options.ranges;
|
|
662
|
+
typeof L.yy.parseError == "function" ? this.parseError = L.yy.parseError : this.parseError = Object.getPrototypeOf(this).parseError;
|
|
663
|
+
function V(e) {
|
|
664
|
+
w.length -= 2 * e, E.length -= e, D.length -= e;
|
|
666
665
|
}
|
|
667
|
-
|
|
668
|
-
function
|
|
669
|
-
var e =
|
|
670
|
-
return typeof e != "number" && (e instanceof Array && (
|
|
666
|
+
__name(V, "popStack");
|
|
667
|
+
function H() {
|
|
668
|
+
var e = T.pop() || I.lex() || P;
|
|
669
|
+
return typeof e != "number" && (e instanceof Array && (T = e, e = T.pop()), e = C.symbols_[e] || e), e;
|
|
671
670
|
}
|
|
672
|
-
|
|
673
|
-
for (var
|
|
674
|
-
if (
|
|
675
|
-
var
|
|
676
|
-
for (
|
|
677
|
-
|
|
678
|
-
text:
|
|
679
|
-
token: this.terminals_[
|
|
680
|
-
line:
|
|
681
|
-
loc:
|
|
682
|
-
expected:
|
|
671
|
+
__name(H, "lex");
|
|
672
|
+
for (var U, W, G, K, q, J = {}, Y, X, Z, Q;;) {
|
|
673
|
+
if (G = w[w.length - 1], this.defaultActions[G] ? K = this.defaultActions[G] : (U ??= H(), K = O[G] && O[G][U]), K === void 0 || !K.length || !K[0]) {
|
|
674
|
+
var $ = "";
|
|
675
|
+
for (Y in Q = [], O[G]) this.terminals_[Y] && Y > N && Q.push("'" + this.terminals_[Y] + "'");
|
|
676
|
+
$ = I.showPosition ? "Parse error on line " + (A + 1) + ":\n" + I.showPosition() + "\nExpecting " + Q.join(", ") + ", got '" + (this.terminals_[U] || U) + "'" : "Parse error on line " + (A + 1) + ": Unexpected " + (U == P ? "end of input" : "'" + (this.terminals_[U] || U) + "'"), this.parseError($, {
|
|
677
|
+
text: I.match,
|
|
678
|
+
token: this.terminals_[U] || U,
|
|
679
|
+
line: I.yylineno,
|
|
680
|
+
loc: z,
|
|
681
|
+
expected: Q
|
|
683
682
|
});
|
|
684
683
|
}
|
|
685
|
-
if (
|
|
686
|
-
switch (
|
|
684
|
+
if (K[0] instanceof Array && K.length > 1) throw Error("Parse Error: multiple actions possible at state: " + G + ", token: " + U);
|
|
685
|
+
switch (K[0]) {
|
|
687
686
|
case 1:
|
|
688
|
-
|
|
687
|
+
w.push(U), E.push(I.yytext), D.push(I.yylloc), w.push(K[1]), U = null, W ? (U = W, W = null) : (j = I.yyleng, k = I.yytext, A = I.yylineno, z = I.yylloc, M > 0 && M--);
|
|
689
688
|
break;
|
|
690
689
|
case 2:
|
|
691
|
-
if (
|
|
692
|
-
first_line:
|
|
693
|
-
last_line:
|
|
694
|
-
first_column:
|
|
695
|
-
last_column:
|
|
696
|
-
},
|
|
697
|
-
|
|
698
|
-
|
|
699
|
-
|
|
700
|
-
|
|
701
|
-
|
|
702
|
-
|
|
703
|
-
|
|
704
|
-
].concat(
|
|
705
|
-
|
|
690
|
+
if (X = this.productions_[K[1]][1], J.$ = E[E.length - X], J._$ = {
|
|
691
|
+
first_line: D[D.length - (X || 1)].first_line,
|
|
692
|
+
last_line: D[D.length - 1].last_line,
|
|
693
|
+
first_column: D[D.length - (X || 1)].first_column,
|
|
694
|
+
last_column: D[D.length - 1].last_column
|
|
695
|
+
}, B && (J._$.range = [D[D.length - (X || 1)].range[0], D[D.length - 1].range[1]]), q = this.performAction.apply(J, [
|
|
696
|
+
k,
|
|
697
|
+
j,
|
|
698
|
+
A,
|
|
699
|
+
L.yy,
|
|
700
|
+
K[1],
|
|
701
|
+
E,
|
|
702
|
+
D
|
|
703
|
+
].concat(F)), q !== void 0) return q;
|
|
704
|
+
X && (w = w.slice(0, -1 * X * 2), E = E.slice(0, -1 * X), D = D.slice(0, -1 * X)), w.push(this.productions_[K[1]][0]), E.push(J.$), D.push(J._$), Z = O[w[w.length - 2]][w[w.length - 1]], w.push(Z);
|
|
706
705
|
break;
|
|
707
706
|
case 3: return !0;
|
|
708
707
|
}
|
|
@@ -710,42 +709,42 @@ var b = (function() {
|
|
|
710
709
|
return !0;
|
|
711
710
|
}, "parse")
|
|
712
711
|
};
|
|
713
|
-
|
|
712
|
+
X.lexer = /* @__PURE__ */ (function() {
|
|
714
713
|
return {
|
|
715
714
|
EOF: 1,
|
|
716
|
-
parseError: /* @__PURE__ */
|
|
717
|
-
if (this.yy.parser) this.yy.parser.parseError(e,
|
|
715
|
+
parseError: /* @__PURE__ */ __name(function(e, S) {
|
|
716
|
+
if (this.yy.parser) this.yy.parser.parseError(e, S);
|
|
718
717
|
else throw Error(e);
|
|
719
718
|
}, "parseError"),
|
|
720
|
-
setInput: /* @__PURE__ */
|
|
721
|
-
return this.yy =
|
|
719
|
+
setInput: /* @__PURE__ */ __name(function(e, S) {
|
|
720
|
+
return this.yy = S || 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 = {
|
|
722
721
|
first_line: 1,
|
|
723
722
|
first_column: 0,
|
|
724
723
|
last_line: 1,
|
|
725
724
|
last_column: 0
|
|
726
725
|
}, this.options.ranges && (this.yylloc.range = [0, 0]), this.offset = 0, this;
|
|
727
726
|
}, "setInput"),
|
|
728
|
-
input: /* @__PURE__ */
|
|
727
|
+
input: /* @__PURE__ */ __name(function() {
|
|
729
728
|
var e = this._input[0];
|
|
730
729
|
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;
|
|
731
730
|
}, "input"),
|
|
732
|
-
unput: /* @__PURE__ */
|
|
733
|
-
var
|
|
734
|
-
this._input = e + this._input, this.yytext = this.yytext.substr(0, this.yytext.length -
|
|
735
|
-
var
|
|
736
|
-
this.match = this.match.substr(0, this.match.length - 1), this.matched = this.matched.substr(0, this.matched.length - 1),
|
|
737
|
-
var
|
|
731
|
+
unput: /* @__PURE__ */ __name(function(e) {
|
|
732
|
+
var S = e.length, C = e.split(/(?:\r\n?|\n)/g);
|
|
733
|
+
this._input = e + this._input, this.yytext = this.yytext.substr(0, this.yytext.length - S), this.offset -= S;
|
|
734
|
+
var w = this.match.split(/(?:\r\n?|\n)/g);
|
|
735
|
+
this.match = this.match.substr(0, this.match.length - 1), this.matched = this.matched.substr(0, this.matched.length - 1), C.length - 1 && (this.yylineno -= C.length - 1);
|
|
736
|
+
var T = this.yylloc.range;
|
|
738
737
|
return this.yylloc = {
|
|
739
738
|
first_line: this.yylloc.first_line,
|
|
740
739
|
last_line: this.yylineno + 1,
|
|
741
740
|
first_column: this.yylloc.first_column,
|
|
742
|
-
last_column:
|
|
743
|
-
}, this.options.ranges && (this.yylloc.range = [
|
|
741
|
+
last_column: C ? (C.length === w.length ? this.yylloc.first_column : 0) + w[w.length - C.length].length - C[0].length : this.yylloc.first_column - S
|
|
742
|
+
}, this.options.ranges && (this.yylloc.range = [T[0], T[0] + this.yyleng - S]), this.yyleng = this.yytext.length, this;
|
|
744
743
|
}, "unput"),
|
|
745
|
-
more: /* @__PURE__ */
|
|
744
|
+
more: /* @__PURE__ */ __name(function() {
|
|
746
745
|
return this._more = !0, this;
|
|
747
746
|
}, "more"),
|
|
748
|
-
reject: /* @__PURE__ */
|
|
747
|
+
reject: /* @__PURE__ */ __name(function() {
|
|
749
748
|
if (this.options.backtrack_lexer) this._backtrack = !0;
|
|
750
749
|
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(), {
|
|
751
750
|
text: "",
|
|
@@ -754,24 +753,24 @@ var b = (function() {
|
|
|
754
753
|
});
|
|
755
754
|
return this;
|
|
756
755
|
}, "reject"),
|
|
757
|
-
less: /* @__PURE__ */
|
|
756
|
+
less: /* @__PURE__ */ __name(function(e) {
|
|
758
757
|
this.unput(this.match.slice(e));
|
|
759
758
|
}, "less"),
|
|
760
|
-
pastInput: /* @__PURE__ */
|
|
759
|
+
pastInput: /* @__PURE__ */ __name(function() {
|
|
761
760
|
var e = this.matched.substr(0, this.matched.length - this.match.length);
|
|
762
761
|
return (e.length > 20 ? "..." : "") + e.substr(-20).replace(/\n/g, "");
|
|
763
762
|
}, "pastInput"),
|
|
764
|
-
upcomingInput: /* @__PURE__ */
|
|
763
|
+
upcomingInput: /* @__PURE__ */ __name(function() {
|
|
765
764
|
var e = this.match;
|
|
766
765
|
return e.length < 20 && (e += this._input.substr(0, 20 - e.length)), (e.substr(0, 20) + (e.length > 20 ? "..." : "")).replace(/\n/g, "");
|
|
767
766
|
}, "upcomingInput"),
|
|
768
|
-
showPosition: /* @__PURE__ */
|
|
769
|
-
var e = this.pastInput(),
|
|
770
|
-
return e + this.upcomingInput() + "\n" +
|
|
767
|
+
showPosition: /* @__PURE__ */ __name(function() {
|
|
768
|
+
var e = this.pastInput(), S = Array(e.length + 1).join("-");
|
|
769
|
+
return e + this.upcomingInput() + "\n" + S + "^";
|
|
771
770
|
}, "showPosition"),
|
|
772
|
-
test_match: /* @__PURE__ */
|
|
773
|
-
var
|
|
774
|
-
if (this.options.backtrack_lexer && (
|
|
771
|
+
test_match: /* @__PURE__ */ __name(function(e, S) {
|
|
772
|
+
var C, w, T;
|
|
773
|
+
if (this.options.backtrack_lexer && (T = {
|
|
775
774
|
yylineno: this.yylineno,
|
|
776
775
|
yylloc: {
|
|
777
776
|
first_line: this.yylloc.first_line,
|
|
@@ -790,62 +789,62 @@ var b = (function() {
|
|
|
790
789
|
yy: this.yy,
|
|
791
790
|
conditionStack: this.conditionStack.slice(0),
|
|
792
791
|
done: this.done
|
|
793
|
-
}, this.options.ranges && (
|
|
792
|
+
}, this.options.ranges && (T.yylloc.range = this.yylloc.range.slice(0))), w = e[0].match(/(?:\r\n?|\n).*/g), w && (this.yylineno += w.length), this.yylloc = {
|
|
794
793
|
first_line: this.yylloc.last_line,
|
|
795
794
|
last_line: this.yylineno + 1,
|
|
796
795
|
first_column: this.yylloc.last_column,
|
|
797
|
-
last_column:
|
|
798
|
-
}, 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],
|
|
796
|
+
last_column: w ? w[w.length - 1].length - w[w.length - 1].match(/\r?\n?/)[0].length : this.yylloc.last_column + e[0].length
|
|
797
|
+
}, 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], C = this.performAction.call(this, this.yy, this, S, this.conditionStack[this.conditionStack.length - 1]), this.done && this._input && (this.done = !1), C) return C;
|
|
799
798
|
if (this._backtrack) {
|
|
800
|
-
for (var
|
|
799
|
+
for (var E in T) this[E] = T[E];
|
|
801
800
|
return !1;
|
|
802
801
|
}
|
|
803
802
|
return !1;
|
|
804
803
|
}, "test_match"),
|
|
805
|
-
next: /* @__PURE__ */
|
|
804
|
+
next: /* @__PURE__ */ __name(function() {
|
|
806
805
|
if (this.done) return this.EOF;
|
|
807
806
|
this._input || (this.done = !0);
|
|
808
|
-
var e,
|
|
807
|
+
var e, S, C, w;
|
|
809
808
|
this._more || (this.yytext = "", this.match = "");
|
|
810
|
-
for (var
|
|
811
|
-
if (
|
|
812
|
-
if (e = this.test_match(
|
|
809
|
+
for (var T = this._currentRules(), E = 0; E < T.length; E++) if (C = this._input.match(this.rules[T[E]]), C && (!S || C[0].length > S[0].length)) {
|
|
810
|
+
if (S = C, w = E, this.options.backtrack_lexer) {
|
|
811
|
+
if (e = this.test_match(C, T[E]), e !== !1) return e;
|
|
813
812
|
if (this._backtrack) {
|
|
814
|
-
|
|
813
|
+
S = !1;
|
|
815
814
|
continue;
|
|
816
815
|
} else return !1;
|
|
817
816
|
} else if (!this.options.flex) break;
|
|
818
817
|
}
|
|
819
|
-
return
|
|
818
|
+
return S ? (e = this.test_match(S, T[w]), e === !1 ? !1 : e) : this._input === "" ? this.EOF : this.parseError("Lexical error on line " + (this.yylineno + 1) + ". Unrecognized text.\n" + this.showPosition(), {
|
|
820
819
|
text: "",
|
|
821
820
|
token: null,
|
|
822
821
|
line: this.yylineno
|
|
823
822
|
});
|
|
824
823
|
}, "next"),
|
|
825
|
-
lex: /* @__PURE__ */
|
|
824
|
+
lex: /* @__PURE__ */ __name(function() {
|
|
826
825
|
return this.next() || this.lex();
|
|
827
826
|
}, "lex"),
|
|
828
|
-
begin: /* @__PURE__ */
|
|
827
|
+
begin: /* @__PURE__ */ __name(function(e) {
|
|
829
828
|
this.conditionStack.push(e);
|
|
830
829
|
}, "begin"),
|
|
831
|
-
popState: /* @__PURE__ */
|
|
830
|
+
popState: /* @__PURE__ */ __name(function() {
|
|
832
831
|
return this.conditionStack.length - 1 > 0 ? this.conditionStack.pop() : this.conditionStack[0];
|
|
833
832
|
}, "popState"),
|
|
834
|
-
_currentRules: /* @__PURE__ */
|
|
833
|
+
_currentRules: /* @__PURE__ */ __name(function() {
|
|
835
834
|
return this.conditionStack.length && this.conditionStack[this.conditionStack.length - 1] ? this.conditions[this.conditionStack[this.conditionStack.length - 1]].rules : this.conditions.INITIAL.rules;
|
|
836
835
|
}, "_currentRules"),
|
|
837
|
-
topState: /* @__PURE__ */
|
|
836
|
+
topState: /* @__PURE__ */ __name(function(e) {
|
|
838
837
|
return e = this.conditionStack.length - 1 - Math.abs(e || 0), e >= 0 ? this.conditionStack[e] : "INITIAL";
|
|
839
838
|
}, "topState"),
|
|
840
|
-
pushState: /* @__PURE__ */
|
|
839
|
+
pushState: /* @__PURE__ */ __name(function(e) {
|
|
841
840
|
this.begin(e);
|
|
842
841
|
}, "pushState"),
|
|
843
|
-
stateStackSize: /* @__PURE__ */
|
|
842
|
+
stateStackSize: /* @__PURE__ */ __name(function() {
|
|
844
843
|
return this.conditionStack.length;
|
|
845
844
|
}, "stateStackSize"),
|
|
846
845
|
options: { "case-insensitive": !0 },
|
|
847
|
-
performAction: /* @__PURE__ */
|
|
848
|
-
switch (
|
|
846
|
+
performAction: /* @__PURE__ */ __name(function(e, S, C, w) {
|
|
847
|
+
switch (C) {
|
|
849
848
|
case 0: break;
|
|
850
849
|
case 1: break;
|
|
851
850
|
case 2: return this.popState(), 34;
|
|
@@ -1186,50 +1185,48 @@ var b = (function() {
|
|
|
1186
1185
|
}
|
|
1187
1186
|
};
|
|
1188
1187
|
})();
|
|
1189
|
-
function
|
|
1188
|
+
function Z() {
|
|
1190
1189
|
this.yy = {};
|
|
1191
1190
|
}
|
|
1192
|
-
return
|
|
1191
|
+
return __name(Z, "Parser"), Z.prototype = X, X.Parser = Z, new Z();
|
|
1193
1192
|
})();
|
|
1194
|
-
|
|
1195
|
-
var
|
|
1196
|
-
function
|
|
1193
|
+
parser.parser = parser;
|
|
1194
|
+
var xychart_default = parser;
|
|
1195
|
+
function isBarPlot(e) {
|
|
1197
1196
|
return e.type === "bar";
|
|
1198
1197
|
}
|
|
1199
|
-
|
|
1200
|
-
function
|
|
1198
|
+
__name(isBarPlot, "isBarPlot");
|
|
1199
|
+
function isBandAxisData(e) {
|
|
1201
1200
|
return e.type === "band";
|
|
1202
1201
|
}
|
|
1203
|
-
|
|
1204
|
-
function
|
|
1202
|
+
__name(isBandAxisData, "isBandAxisData");
|
|
1203
|
+
function isLinearAxisData(e) {
|
|
1205
1204
|
return e.type === "linear";
|
|
1206
1205
|
}
|
|
1207
|
-
|
|
1208
|
-
var
|
|
1206
|
+
__name(isLinearAxisData, "isLinearAxisData");
|
|
1207
|
+
var TextDimensionCalculatorWithFont = class {
|
|
1209
1208
|
constructor(e) {
|
|
1210
1209
|
this.parentGroup = e;
|
|
1211
1210
|
}
|
|
1212
|
-
static
|
|
1213
|
-
|
|
1214
|
-
}
|
|
1215
|
-
getMaxDimension(e, t) {
|
|
1211
|
+
static #e = __name(this, "TextDimensionCalculatorWithFont");
|
|
1212
|
+
getMaxDimension(e, S) {
|
|
1216
1213
|
if (!this.parentGroup) return {
|
|
1217
|
-
width: e.reduce((e,
|
|
1218
|
-
height:
|
|
1214
|
+
width: e.reduce((e, S) => Math.max(S.length, e), 0) * S,
|
|
1215
|
+
height: S
|
|
1219
1216
|
};
|
|
1220
|
-
let
|
|
1217
|
+
let C = {
|
|
1221
1218
|
width: 0,
|
|
1222
1219
|
height: 0
|
|
1223
|
-
},
|
|
1224
|
-
for (let
|
|
1225
|
-
let e =
|
|
1226
|
-
|
|
1220
|
+
}, w = this.parentGroup.append("g").attr("visibility", "hidden").attr("font-size", S);
|
|
1221
|
+
for (let T of e) {
|
|
1222
|
+
let e = computeDimensionOfText(w, 1, T), E = e ? e.width : T.length * S, D = e ? e.height : S;
|
|
1223
|
+
C.width = Math.max(C.width, E), C.height = Math.max(C.height, D);
|
|
1227
1224
|
}
|
|
1228
|
-
return
|
|
1225
|
+
return w.remove(), C;
|
|
1229
1226
|
}
|
|
1230
|
-
},
|
|
1231
|
-
constructor(e,
|
|
1232
|
-
this.axisConfig = e, this.title =
|
|
1227
|
+
}, BAR_WIDTH_TO_TICK_WIDTH_RATIO = .7, MAX_OUTER_PADDING_PERCENT_FOR_WRT_LABEL = .2, BaseAxis = class {
|
|
1228
|
+
constructor(e, S, C, w) {
|
|
1229
|
+
this.axisConfig = e, this.title = S, this.textDimensionCalculator = C, this.axisThemeConfig = w, this.boundingRect = {
|
|
1233
1230
|
x: 0,
|
|
1234
1231
|
y: 0,
|
|
1235
1232
|
width: 0,
|
|
@@ -1241,9 +1238,7 @@ var T = class {
|
|
|
1241
1238
|
height: 0
|
|
1242
1239
|
}, this.axisPosition = "left";
|
|
1243
1240
|
}
|
|
1244
|
-
static
|
|
1245
|
-
e(this, "BaseAxis");
|
|
1246
|
-
}
|
|
1241
|
+
static #e = __name(this, "BaseAxis");
|
|
1247
1242
|
setRange(e) {
|
|
1248
1243
|
this.range = e, this.axisPosition === "left" || this.axisPosition === "right" ? this.boundingRect.height = e[1] - e[0] : this.boundingRect.width = e[1] - e[0], this.recalculateScale();
|
|
1249
1244
|
}
|
|
@@ -1264,35 +1259,35 @@ var T = class {
|
|
|
1264
1259
|
return this.textDimensionCalculator.getMaxDimension(this.getTickValues().map((e) => e.toString()), this.axisConfig.labelFontSize);
|
|
1265
1260
|
}
|
|
1266
1261
|
recalculateOuterPaddingToDrawBar() {
|
|
1267
|
-
|
|
1262
|
+
BAR_WIDTH_TO_TICK_WIDTH_RATIO * this.getTickDistance() > this.outerPadding * 2 && (this.outerPadding = Math.floor(BAR_WIDTH_TO_TICK_WIDTH_RATIO * this.getTickDistance() / 2)), this.recalculateScale();
|
|
1268
1263
|
}
|
|
1269
1264
|
calculateSpaceIfDrawnHorizontally(e) {
|
|
1270
|
-
let
|
|
1271
|
-
if (this.axisConfig.showAxisLine &&
|
|
1272
|
-
let
|
|
1273
|
-
this.outerPadding = Math.min(
|
|
1274
|
-
let
|
|
1275
|
-
this.labelTextHeight =
|
|
1265
|
+
let S = e.height;
|
|
1266
|
+
if (this.axisConfig.showAxisLine && S > this.axisConfig.axisLineWidth && (S -= this.axisConfig.axisLineWidth, this.showAxisLine = !0), this.axisConfig.showLabel) {
|
|
1267
|
+
let C = this.getLabelDimension(), w = MAX_OUTER_PADDING_PERCENT_FOR_WRT_LABEL * e.width;
|
|
1268
|
+
this.outerPadding = Math.min(C.width / 2, w);
|
|
1269
|
+
let T = C.height + this.axisConfig.labelPadding * 2;
|
|
1270
|
+
this.labelTextHeight = C.height, T <= S && (S -= T, this.showLabel = !0);
|
|
1276
1271
|
}
|
|
1277
|
-
if (this.axisConfig.showTick &&
|
|
1278
|
-
let e = this.textDimensionCalculator.getMaxDimension([this.title], this.axisConfig.titleFontSize),
|
|
1279
|
-
this.titleTextHeight = e.height,
|
|
1272
|
+
if (this.axisConfig.showTick && S >= this.axisConfig.tickLength && (this.showTick = !0, S -= this.axisConfig.tickLength), this.axisConfig.showTitle && this.title) {
|
|
1273
|
+
let e = this.textDimensionCalculator.getMaxDimension([this.title], this.axisConfig.titleFontSize), C = e.height + this.axisConfig.titlePadding * 2;
|
|
1274
|
+
this.titleTextHeight = e.height, C <= S && (S -= C, this.showTitle = !0);
|
|
1280
1275
|
}
|
|
1281
|
-
this.boundingRect.width = e.width, this.boundingRect.height = e.height -
|
|
1276
|
+
this.boundingRect.width = e.width, this.boundingRect.height = e.height - S;
|
|
1282
1277
|
}
|
|
1283
1278
|
calculateSpaceIfDrawnVertical(e) {
|
|
1284
|
-
let
|
|
1285
|
-
if (this.axisConfig.showAxisLine &&
|
|
1286
|
-
let
|
|
1287
|
-
this.outerPadding = Math.min(
|
|
1288
|
-
let
|
|
1289
|
-
|
|
1279
|
+
let S = e.width;
|
|
1280
|
+
if (this.axisConfig.showAxisLine && S > this.axisConfig.axisLineWidth && (S -= this.axisConfig.axisLineWidth, this.showAxisLine = !0), this.axisConfig.showLabel) {
|
|
1281
|
+
let C = this.getLabelDimension(), w = MAX_OUTER_PADDING_PERCENT_FOR_WRT_LABEL * e.height;
|
|
1282
|
+
this.outerPadding = Math.min(C.height / 2, w);
|
|
1283
|
+
let T = C.width + this.axisConfig.labelPadding * 2;
|
|
1284
|
+
T <= S && (S -= T, this.showLabel = !0);
|
|
1290
1285
|
}
|
|
1291
|
-
if (this.axisConfig.showTick &&
|
|
1292
|
-
let e = this.textDimensionCalculator.getMaxDimension([this.title], this.axisConfig.titleFontSize),
|
|
1293
|
-
this.titleTextHeight = e.height,
|
|
1286
|
+
if (this.axisConfig.showTick && S >= this.axisConfig.tickLength && (this.showTick = !0, S -= this.axisConfig.tickLength), this.axisConfig.showTitle && this.title) {
|
|
1287
|
+
let e = this.textDimensionCalculator.getMaxDimension([this.title], this.axisConfig.titleFontSize), C = e.height + this.axisConfig.titlePadding * 2;
|
|
1288
|
+
this.titleTextHeight = e.height, C <= S && (S -= C, this.showTitle = !0);
|
|
1294
1289
|
}
|
|
1295
|
-
this.boundingRect.width = e.width -
|
|
1290
|
+
this.boundingRect.width = e.width - S, this.boundingRect.height = e.height;
|
|
1296
1291
|
}
|
|
1297
1292
|
calculateSpace(e) {
|
|
1298
1293
|
return this.axisPosition === "left" || this.axisPosition === "right" ? this.calculateSpaceIfDrawnVertical(e) : this.calculateSpaceIfDrawnHorizontally(e), this.recalculateScale(), {
|
|
@@ -1306,12 +1301,12 @@ var T = class {
|
|
|
1306
1301
|
getDrawableElementsForLeftAxis() {
|
|
1307
1302
|
let e = [];
|
|
1308
1303
|
if (this.showAxisLine) {
|
|
1309
|
-
let
|
|
1304
|
+
let S = this.boundingRect.x + this.boundingRect.width - this.axisConfig.axisLineWidth / 2;
|
|
1310
1305
|
e.push({
|
|
1311
1306
|
type: "path",
|
|
1312
1307
|
groupTexts: ["left-axis", "axisl-line"],
|
|
1313
1308
|
data: [{
|
|
1314
|
-
path: `M ${
|
|
1309
|
+
path: `M ${S},${this.boundingRect.y} L ${S},${this.boundingRect.y + this.boundingRect.height} `,
|
|
1315
1310
|
strokeFill: this.axisThemeConfig.axisLineColor,
|
|
1316
1311
|
strokeWidth: this.axisConfig.axisLineWidth
|
|
1317
1312
|
}]
|
|
@@ -1331,12 +1326,12 @@ var T = class {
|
|
|
1331
1326
|
horizontalPos: "right"
|
|
1332
1327
|
}))
|
|
1333
1328
|
}), this.showTick) {
|
|
1334
|
-
let
|
|
1329
|
+
let S = this.boundingRect.x + this.boundingRect.width - (this.showAxisLine ? this.axisConfig.axisLineWidth : 0);
|
|
1335
1330
|
e.push({
|
|
1336
1331
|
type: "path",
|
|
1337
1332
|
groupTexts: ["left-axis", "ticks"],
|
|
1338
1333
|
data: this.getTickValues().map((e) => ({
|
|
1339
|
-
path: `M ${
|
|
1334
|
+
path: `M ${S},${this.getScaleValue(e)} L ${S - this.axisConfig.tickLength},${this.getScaleValue(e)}`,
|
|
1340
1335
|
strokeFill: this.axisThemeConfig.tickColor,
|
|
1341
1336
|
strokeWidth: this.axisConfig.tickWidth
|
|
1342
1337
|
}))
|
|
@@ -1360,12 +1355,12 @@ var T = class {
|
|
|
1360
1355
|
getDrawableElementsForBottomAxis() {
|
|
1361
1356
|
let e = [];
|
|
1362
1357
|
if (this.showAxisLine) {
|
|
1363
|
-
let
|
|
1358
|
+
let S = this.boundingRect.y + this.axisConfig.axisLineWidth / 2;
|
|
1364
1359
|
e.push({
|
|
1365
1360
|
type: "path",
|
|
1366
1361
|
groupTexts: ["bottom-axis", "axis-line"],
|
|
1367
1362
|
data: [{
|
|
1368
|
-
path: `M ${this.boundingRect.x},${
|
|
1363
|
+
path: `M ${this.boundingRect.x},${S} L ${this.boundingRect.x + this.boundingRect.width},${S}`,
|
|
1369
1364
|
strokeFill: this.axisThemeConfig.axisLineColor,
|
|
1370
1365
|
strokeWidth: this.axisConfig.axisLineWidth
|
|
1371
1366
|
}]
|
|
@@ -1385,12 +1380,12 @@ var T = class {
|
|
|
1385
1380
|
horizontalPos: "center"
|
|
1386
1381
|
}))
|
|
1387
1382
|
}), this.showTick) {
|
|
1388
|
-
let
|
|
1383
|
+
let S = this.boundingRect.y + (this.showAxisLine ? this.axisConfig.axisLineWidth : 0);
|
|
1389
1384
|
e.push({
|
|
1390
1385
|
type: "path",
|
|
1391
1386
|
groupTexts: ["bottom-axis", "ticks"],
|
|
1392
1387
|
data: this.getTickValues().map((e) => ({
|
|
1393
|
-
path: `M ${this.getScaleValue(e)},${
|
|
1388
|
+
path: `M ${this.getScaleValue(e)},${S} L ${this.getScaleValue(e)},${S + this.axisConfig.tickLength}`,
|
|
1394
1389
|
strokeFill: this.axisThemeConfig.tickColor,
|
|
1395
1390
|
strokeWidth: this.axisConfig.tickWidth
|
|
1396
1391
|
}))
|
|
@@ -1414,12 +1409,12 @@ var T = class {
|
|
|
1414
1409
|
getDrawableElementsForTopAxis() {
|
|
1415
1410
|
let e = [];
|
|
1416
1411
|
if (this.showAxisLine) {
|
|
1417
|
-
let
|
|
1412
|
+
let S = this.boundingRect.y + this.boundingRect.height - this.axisConfig.axisLineWidth / 2;
|
|
1418
1413
|
e.push({
|
|
1419
1414
|
type: "path",
|
|
1420
1415
|
groupTexts: ["top-axis", "axis-line"],
|
|
1421
1416
|
data: [{
|
|
1422
|
-
path: `M ${this.boundingRect.x},${
|
|
1417
|
+
path: `M ${this.boundingRect.x},${S} L ${this.boundingRect.x + this.boundingRect.width},${S}`,
|
|
1423
1418
|
strokeFill: this.axisThemeConfig.axisLineColor,
|
|
1424
1419
|
strokeWidth: this.axisConfig.axisLineWidth
|
|
1425
1420
|
}]
|
|
@@ -1439,12 +1434,12 @@ var T = class {
|
|
|
1439
1434
|
horizontalPos: "center"
|
|
1440
1435
|
}))
|
|
1441
1436
|
}), this.showTick) {
|
|
1442
|
-
let
|
|
1437
|
+
let S = this.boundingRect.y;
|
|
1443
1438
|
e.push({
|
|
1444
1439
|
type: "path",
|
|
1445
1440
|
groupTexts: ["top-axis", "ticks"],
|
|
1446
1441
|
data: this.getTickValues().map((e) => ({
|
|
1447
|
-
path: `M ${this.getScaleValue(e)},${
|
|
1442
|
+
path: `M ${this.getScaleValue(e)},${S + this.boundingRect.height - (this.showAxisLine ? this.axisConfig.axisLineWidth : 0)} L ${this.getScaleValue(e)},${S + this.boundingRect.height - this.axisConfig.tickLength - (this.showAxisLine ? this.axisConfig.axisLineWidth : 0)}`,
|
|
1448
1443
|
strokeFill: this.axisThemeConfig.tickColor,
|
|
1449
1444
|
strokeWidth: this.axisConfig.tickWidth
|
|
1450
1445
|
}))
|
|
@@ -1470,18 +1465,16 @@ var T = class {
|
|
|
1470
1465
|
if (this.axisPosition === "right") throw Error("Drawing of right axis is not implemented");
|
|
1471
1466
|
return this.axisPosition === "bottom" ? this.getDrawableElementsForBottomAxis() : this.axisPosition === "top" ? this.getDrawableElementsForTopAxis() : [];
|
|
1472
1467
|
}
|
|
1473
|
-
},
|
|
1474
|
-
static
|
|
1475
|
-
|
|
1476
|
-
|
|
1477
|
-
constructor(e, t, n, r, i) {
|
|
1478
|
-
super(e, r, i, t), this.categories = n, this.scale = m().domain(this.categories).range(this.getRange());
|
|
1468
|
+
}, BandAxis = class extends BaseAxis {
|
|
1469
|
+
static #e = __name(this, "BandAxis");
|
|
1470
|
+
constructor(e, S, C, w, T) {
|
|
1471
|
+
super(e, w, T, S), this.categories = C, this.scale = band().domain(this.categories).range(this.getRange());
|
|
1479
1472
|
}
|
|
1480
1473
|
setRange(e) {
|
|
1481
1474
|
super.setRange(e);
|
|
1482
1475
|
}
|
|
1483
1476
|
recalculateScale() {
|
|
1484
|
-
this.scale =
|
|
1477
|
+
this.scale = band().domain(this.categories).range(this.getRange()).paddingInner(1).paddingOuter(0).align(.5), log.trace("BandAxis axis final categories, range: ", this.categories, this.getRange());
|
|
1485
1478
|
}
|
|
1486
1479
|
getTickValues() {
|
|
1487
1480
|
return this.categories;
|
|
@@ -1489,47 +1482,43 @@ var T = class {
|
|
|
1489
1482
|
getScaleValue(e) {
|
|
1490
1483
|
return this.scale(e) ?? this.getRange()[0];
|
|
1491
1484
|
}
|
|
1492
|
-
},
|
|
1493
|
-
static
|
|
1494
|
-
|
|
1495
|
-
|
|
1496
|
-
constructor(e, t, n, r, i) {
|
|
1497
|
-
super(e, r, i, t), this.domain = n, this.scale = h().domain(this.domain).range(this.getRange());
|
|
1485
|
+
}, LinearAxis = class extends BaseAxis {
|
|
1486
|
+
static #e = __name(this, "LinearAxis");
|
|
1487
|
+
constructor(e, S, C, w, T) {
|
|
1488
|
+
super(e, w, T, S), this.domain = C, this.scale = linear().domain(this.domain).range(this.getRange());
|
|
1498
1489
|
}
|
|
1499
1490
|
getTickValues() {
|
|
1500
1491
|
return this.scale.ticks();
|
|
1501
1492
|
}
|
|
1502
1493
|
recalculateScale() {
|
|
1503
1494
|
let e = [...this.domain];
|
|
1504
|
-
this.axisPosition === "left" && e.reverse(), this.scale =
|
|
1495
|
+
this.axisPosition === "left" && e.reverse(), this.scale = linear().domain(e).range(this.getRange());
|
|
1505
1496
|
}
|
|
1506
1497
|
getScaleValue(e) {
|
|
1507
1498
|
return this.scale(e);
|
|
1508
1499
|
}
|
|
1509
1500
|
};
|
|
1510
|
-
function
|
|
1511
|
-
let
|
|
1512
|
-
return
|
|
1501
|
+
function getAxis(e, S, C, w) {
|
|
1502
|
+
let T = new TextDimensionCalculatorWithFont(w);
|
|
1503
|
+
return isBandAxisData(e) ? new BandAxis(S, C, e.categories, e.title, T) : new LinearAxis(S, C, [e.min, e.max], e.title, T);
|
|
1513
1504
|
}
|
|
1514
|
-
|
|
1515
|
-
var
|
|
1516
|
-
constructor(e,
|
|
1517
|
-
this.textDimensionCalculator = e, this.chartConfig =
|
|
1505
|
+
__name(getAxis, "getAxis");
|
|
1506
|
+
var ChartTitle = class {
|
|
1507
|
+
constructor(e, S, C, w) {
|
|
1508
|
+
this.textDimensionCalculator = e, this.chartConfig = S, this.chartData = C, this.chartThemeConfig = w, this.boundingRect = {
|
|
1518
1509
|
x: 0,
|
|
1519
1510
|
y: 0,
|
|
1520
1511
|
width: 0,
|
|
1521
1512
|
height: 0
|
|
1522
1513
|
}, this.showChartTitle = !1;
|
|
1523
1514
|
}
|
|
1524
|
-
static
|
|
1525
|
-
e(this, "ChartTitle");
|
|
1526
|
-
}
|
|
1515
|
+
static #e = __name(this, "ChartTitle");
|
|
1527
1516
|
setBoundingBoxXY(e) {
|
|
1528
1517
|
this.boundingRect.x = e.x, this.boundingRect.y = e.y;
|
|
1529
1518
|
}
|
|
1530
1519
|
calculateSpace(e) {
|
|
1531
|
-
let
|
|
1532
|
-
return
|
|
1520
|
+
let S = this.textDimensionCalculator.getMaxDimension([this.chartData.title], this.chartConfig.titleFontSize), C = Math.max(S.width, e.width), w = S.height + 2 * this.chartConfig.titlePadding;
|
|
1521
|
+
return S.width <= C && S.height <= w && this.chartConfig.showTitle && this.chartData.title && (this.boundingRect.width = C, this.boundingRect.height = w, this.showChartTitle = !0), {
|
|
1533
1522
|
width: this.boundingRect.width,
|
|
1534
1523
|
height: this.boundingRect.height
|
|
1535
1524
|
};
|
|
@@ -1552,45 +1541,41 @@ var M = class {
|
|
|
1552
1541
|
}), e;
|
|
1553
1542
|
}
|
|
1554
1543
|
};
|
|
1555
|
-
function
|
|
1556
|
-
return new
|
|
1544
|
+
function getChartTitleComponent(e, S, C, w) {
|
|
1545
|
+
return new ChartTitle(new TextDimensionCalculatorWithFont(w), e, S, C);
|
|
1557
1546
|
}
|
|
1558
|
-
|
|
1559
|
-
var
|
|
1560
|
-
constructor(e,
|
|
1561
|
-
this.plotData = e, this.xAxis =
|
|
1562
|
-
}
|
|
1563
|
-
static {
|
|
1564
|
-
e(this, "LinePlot");
|
|
1547
|
+
__name(getChartTitleComponent, "getChartTitleComponent");
|
|
1548
|
+
var LinePlot = class {
|
|
1549
|
+
constructor(e, S, C, w, T) {
|
|
1550
|
+
this.plotData = e, this.xAxis = S, this.yAxis = C, this.orientation = w, this.plotIndex = T;
|
|
1565
1551
|
}
|
|
1552
|
+
static #e = __name(this, "LinePlot");
|
|
1566
1553
|
getDrawableElement() {
|
|
1567
|
-
let e = this.plotData.data.map((e) => [this.xAxis.getScaleValue(e[0]), this.yAxis.getScaleValue(e[1])]),
|
|
1568
|
-
return
|
|
1554
|
+
let e = this.plotData.data.map((e) => [this.xAxis.getScaleValue(e[0]), this.yAxis.getScaleValue(e[1])]), S;
|
|
1555
|
+
return S = this.orientation === "horizontal" ? line_default().y((e) => e[0]).x((e) => e[1])(e) : line_default().x((e) => e[0]).y((e) => e[1])(e), S ? [{
|
|
1569
1556
|
groupTexts: ["plot", `line-plot-${this.plotIndex}`],
|
|
1570
1557
|
type: "path",
|
|
1571
1558
|
data: [{
|
|
1572
|
-
path:
|
|
1559
|
+
path: S,
|
|
1573
1560
|
strokeFill: this.plotData.strokeFill,
|
|
1574
1561
|
strokeWidth: this.plotData.strokeWidth
|
|
1575
1562
|
}]
|
|
1576
1563
|
}] : [];
|
|
1577
1564
|
}
|
|
1578
|
-
},
|
|
1579
|
-
constructor(e,
|
|
1580
|
-
this.barData = e, this.boundingRect =
|
|
1581
|
-
}
|
|
1582
|
-
static {
|
|
1583
|
-
e(this, "BarPlot");
|
|
1565
|
+
}, BarPlot = class {
|
|
1566
|
+
constructor(e, S, C, w, T, E) {
|
|
1567
|
+
this.barData = e, this.boundingRect = S, this.xAxis = C, this.yAxis = w, this.orientation = T, this.plotIndex = E;
|
|
1584
1568
|
}
|
|
1569
|
+
static #e = __name(this, "BarPlot");
|
|
1585
1570
|
getDrawableElement() {
|
|
1586
|
-
let e = this.barData.data.map((e) => [this.xAxis.getScaleValue(e[0]), this.yAxis.getScaleValue(e[1])]),
|
|
1571
|
+
let e = this.barData.data.map((e) => [this.xAxis.getScaleValue(e[0]), this.yAxis.getScaleValue(e[1])]), S = Math.min(this.xAxis.getAxisOuterPadding() * 2, this.xAxis.getTickDistance()) * .95, C = S / 2;
|
|
1587
1572
|
return this.orientation === "horizontal" ? [{
|
|
1588
1573
|
groupTexts: ["plot", `bar-plot-${this.plotIndex}`],
|
|
1589
1574
|
type: "rect",
|
|
1590
1575
|
data: e.map((e) => ({
|
|
1591
1576
|
x: this.boundingRect.x,
|
|
1592
|
-
y: e[0] -
|
|
1593
|
-
height:
|
|
1577
|
+
y: e[0] - C,
|
|
1578
|
+
height: S,
|
|
1594
1579
|
width: e[1] - this.boundingRect.x,
|
|
1595
1580
|
fill: this.barData.fill,
|
|
1596
1581
|
strokeWidth: 0,
|
|
@@ -1600,9 +1585,9 @@ var ee = class {
|
|
|
1600
1585
|
groupTexts: ["plot", `bar-plot-${this.plotIndex}`],
|
|
1601
1586
|
type: "rect",
|
|
1602
1587
|
data: e.map((e) => ({
|
|
1603
|
-
x: e[0] -
|
|
1588
|
+
x: e[0] - C,
|
|
1604
1589
|
y: e[1],
|
|
1605
|
-
width:
|
|
1590
|
+
width: S,
|
|
1606
1591
|
height: this.boundingRect.y + this.boundingRect.height - e[1],
|
|
1607
1592
|
fill: this.barData.fill,
|
|
1608
1593
|
strokeWidth: 0,
|
|
@@ -1610,20 +1595,18 @@ var ee = class {
|
|
|
1610
1595
|
}))
|
|
1611
1596
|
}];
|
|
1612
1597
|
}
|
|
1613
|
-
},
|
|
1614
|
-
constructor(e,
|
|
1615
|
-
this.chartConfig = e, this.chartData =
|
|
1598
|
+
}, BasePlot = class {
|
|
1599
|
+
constructor(e, S, C) {
|
|
1600
|
+
this.chartConfig = e, this.chartData = S, this.chartThemeConfig = C, this.boundingRect = {
|
|
1616
1601
|
x: 0,
|
|
1617
1602
|
y: 0,
|
|
1618
1603
|
width: 0,
|
|
1619
1604
|
height: 0
|
|
1620
1605
|
};
|
|
1621
1606
|
}
|
|
1622
|
-
static
|
|
1623
|
-
|
|
1624
|
-
|
|
1625
|
-
setAxes(e, t) {
|
|
1626
|
-
this.xAxis = e, this.yAxis = t;
|
|
1607
|
+
static #e = __name(this, "BasePlot");
|
|
1608
|
+
setAxes(e, S) {
|
|
1609
|
+
this.xAxis = e, this.yAxis = S;
|
|
1627
1610
|
}
|
|
1628
1611
|
setBoundingBoxXY(e) {
|
|
1629
1612
|
this.boundingRect.x = e.x, this.boundingRect.y = e.y;
|
|
@@ -1637,104 +1620,102 @@ var ee = class {
|
|
|
1637
1620
|
getDrawableElements() {
|
|
1638
1621
|
if (!(this.xAxis && this.yAxis)) throw Error("Axes must be passed to render Plots");
|
|
1639
1622
|
let e = [];
|
|
1640
|
-
for (let [
|
|
1623
|
+
for (let [S, C] of this.chartData.plots.entries()) switch (C.type) {
|
|
1641
1624
|
case "line":
|
|
1642
1625
|
{
|
|
1643
|
-
let
|
|
1644
|
-
e.push(...
|
|
1626
|
+
let w = new LinePlot(C, this.xAxis, this.yAxis, this.chartConfig.chartOrientation, S);
|
|
1627
|
+
e.push(...w.getDrawableElement());
|
|
1645
1628
|
}
|
|
1646
1629
|
break;
|
|
1647
1630
|
case "bar":
|
|
1648
1631
|
{
|
|
1649
|
-
let
|
|
1650
|
-
e.push(...
|
|
1632
|
+
let w = new BarPlot(C, this.boundingRect, this.xAxis, this.yAxis, this.chartConfig.chartOrientation, S);
|
|
1633
|
+
e.push(...w.getDrawableElement());
|
|
1651
1634
|
}
|
|
1652
1635
|
break;
|
|
1653
1636
|
}
|
|
1654
1637
|
return e;
|
|
1655
1638
|
}
|
|
1656
1639
|
};
|
|
1657
|
-
function
|
|
1658
|
-
return new
|
|
1640
|
+
function getPlotComponent(e, S, C) {
|
|
1641
|
+
return new BasePlot(e, S, C);
|
|
1659
1642
|
}
|
|
1660
|
-
|
|
1661
|
-
var
|
|
1662
|
-
constructor(e,
|
|
1663
|
-
this.chartConfig = e, this.chartData =
|
|
1664
|
-
title:
|
|
1665
|
-
plot:
|
|
1666
|
-
xAxis:
|
|
1667
|
-
titleColor:
|
|
1668
|
-
labelColor:
|
|
1669
|
-
tickColor:
|
|
1670
|
-
axisLineColor:
|
|
1671
|
-
},
|
|
1672
|
-
yAxis:
|
|
1673
|
-
titleColor:
|
|
1674
|
-
labelColor:
|
|
1675
|
-
tickColor:
|
|
1676
|
-
axisLineColor:
|
|
1677
|
-
},
|
|
1643
|
+
__name(getPlotComponent, "getPlotComponent");
|
|
1644
|
+
var Orchestrator = class {
|
|
1645
|
+
constructor(e, S, C, w) {
|
|
1646
|
+
this.chartConfig = e, this.chartData = S, this.componentStore = {
|
|
1647
|
+
title: getChartTitleComponent(e, S, C, w),
|
|
1648
|
+
plot: getPlotComponent(e, S, C),
|
|
1649
|
+
xAxis: getAxis(S.xAxis, e.xAxis, {
|
|
1650
|
+
titleColor: C.xAxisTitleColor,
|
|
1651
|
+
labelColor: C.xAxisLabelColor,
|
|
1652
|
+
tickColor: C.xAxisTickColor,
|
|
1653
|
+
axisLineColor: C.xAxisLineColor
|
|
1654
|
+
}, w),
|
|
1655
|
+
yAxis: getAxis(S.yAxis, e.yAxis, {
|
|
1656
|
+
titleColor: C.yAxisTitleColor,
|
|
1657
|
+
labelColor: C.yAxisLabelColor,
|
|
1658
|
+
tickColor: C.yAxisTickColor,
|
|
1659
|
+
axisLineColor: C.yAxisLineColor
|
|
1660
|
+
}, w)
|
|
1678
1661
|
};
|
|
1679
1662
|
}
|
|
1680
|
-
static
|
|
1681
|
-
e(this, "Orchestrator");
|
|
1682
|
-
}
|
|
1663
|
+
static #e = __name(this, "Orchestrator");
|
|
1683
1664
|
calculateVerticalSpace() {
|
|
1684
|
-
let e = this.chartConfig.width,
|
|
1685
|
-
width:
|
|
1686
|
-
height:
|
|
1665
|
+
let e = this.chartConfig.width, S = this.chartConfig.height, C = 0, w = 0, T = Math.floor(e * this.chartConfig.plotReservedSpacePercent / 100), E = Math.floor(S * this.chartConfig.plotReservedSpacePercent / 100), D = this.componentStore.plot.calculateSpace({
|
|
1666
|
+
width: T,
|
|
1667
|
+
height: E
|
|
1687
1668
|
});
|
|
1688
|
-
e -=
|
|
1669
|
+
e -= D.width, S -= D.height, D = this.componentStore.title.calculateSpace({
|
|
1689
1670
|
width: this.chartConfig.width,
|
|
1690
|
-
height:
|
|
1691
|
-
}),
|
|
1671
|
+
height: S
|
|
1672
|
+
}), w = D.height, S -= D.height, this.componentStore.xAxis.setAxisPosition("bottom"), D = this.componentStore.xAxis.calculateSpace({
|
|
1692
1673
|
width: e,
|
|
1693
|
-
height:
|
|
1694
|
-
}),
|
|
1674
|
+
height: S
|
|
1675
|
+
}), S -= D.height, this.componentStore.yAxis.setAxisPosition("left"), D = this.componentStore.yAxis.calculateSpace({
|
|
1695
1676
|
width: e,
|
|
1696
|
-
height:
|
|
1697
|
-
}),
|
|
1698
|
-
width:
|
|
1699
|
-
height:
|
|
1677
|
+
height: S
|
|
1678
|
+
}), C = D.width, e -= D.width, e > 0 && (T += e, e = 0), S > 0 && (E += S, S = 0), this.componentStore.plot.calculateSpace({
|
|
1679
|
+
width: T,
|
|
1680
|
+
height: E
|
|
1700
1681
|
}), this.componentStore.plot.setBoundingBoxXY({
|
|
1701
|
-
x:
|
|
1702
|
-
y:
|
|
1703
|
-
}), this.componentStore.xAxis.setRange([
|
|
1704
|
-
x:
|
|
1705
|
-
y:
|
|
1706
|
-
}), this.componentStore.yAxis.setRange([
|
|
1682
|
+
x: C,
|
|
1683
|
+
y: w
|
|
1684
|
+
}), this.componentStore.xAxis.setRange([C, C + T]), this.componentStore.xAxis.setBoundingBoxXY({
|
|
1685
|
+
x: C,
|
|
1686
|
+
y: w + E
|
|
1687
|
+
}), this.componentStore.yAxis.setRange([w, w + E]), this.componentStore.yAxis.setBoundingBoxXY({
|
|
1707
1688
|
x: 0,
|
|
1708
|
-
y:
|
|
1709
|
-
}), this.chartData.plots.some((e) =>
|
|
1689
|
+
y: w
|
|
1690
|
+
}), this.chartData.plots.some((e) => isBarPlot(e)) && this.componentStore.xAxis.recalculateOuterPaddingToDrawBar();
|
|
1710
1691
|
}
|
|
1711
1692
|
calculateHorizontalSpace() {
|
|
1712
|
-
let e = this.chartConfig.width,
|
|
1713
|
-
width:
|
|
1714
|
-
height:
|
|
1693
|
+
let e = this.chartConfig.width, S = this.chartConfig.height, C = 0, w = 0, T = 0, E = Math.floor(e * this.chartConfig.plotReservedSpacePercent / 100), D = Math.floor(S * this.chartConfig.plotReservedSpacePercent / 100), O = this.componentStore.plot.calculateSpace({
|
|
1694
|
+
width: E,
|
|
1695
|
+
height: D
|
|
1715
1696
|
});
|
|
1716
|
-
e -=
|
|
1697
|
+
e -= O.width, S -= O.height, O = this.componentStore.title.calculateSpace({
|
|
1717
1698
|
width: this.chartConfig.width,
|
|
1718
|
-
height:
|
|
1719
|
-
}),
|
|
1699
|
+
height: S
|
|
1700
|
+
}), C = O.height, S -= O.height, this.componentStore.xAxis.setAxisPosition("left"), O = this.componentStore.xAxis.calculateSpace({
|
|
1720
1701
|
width: e,
|
|
1721
|
-
height:
|
|
1722
|
-
}), e -=
|
|
1702
|
+
height: S
|
|
1703
|
+
}), e -= O.width, w = O.width, this.componentStore.yAxis.setAxisPosition("top"), O = this.componentStore.yAxis.calculateSpace({
|
|
1723
1704
|
width: e,
|
|
1724
|
-
height:
|
|
1725
|
-
}),
|
|
1726
|
-
width:
|
|
1727
|
-
height:
|
|
1705
|
+
height: S
|
|
1706
|
+
}), S -= O.height, T = C + O.height, e > 0 && (E += e, e = 0), S > 0 && (D += S, S = 0), this.componentStore.plot.calculateSpace({
|
|
1707
|
+
width: E,
|
|
1708
|
+
height: D
|
|
1728
1709
|
}), this.componentStore.plot.setBoundingBoxXY({
|
|
1729
|
-
x:
|
|
1730
|
-
y:
|
|
1731
|
-
}), this.componentStore.yAxis.setRange([
|
|
1732
|
-
x:
|
|
1733
|
-
y:
|
|
1734
|
-
}), this.componentStore.xAxis.setRange([
|
|
1710
|
+
x: w,
|
|
1711
|
+
y: T
|
|
1712
|
+
}), this.componentStore.yAxis.setRange([w, w + E]), this.componentStore.yAxis.setBoundingBoxXY({
|
|
1713
|
+
x: w,
|
|
1714
|
+
y: C
|
|
1715
|
+
}), this.componentStore.xAxis.setRange([T, T + D]), this.componentStore.xAxis.setBoundingBoxXY({
|
|
1735
1716
|
x: 0,
|
|
1736
|
-
y:
|
|
1737
|
-
}), this.chartData.plots.some((e) =>
|
|
1717
|
+
y: T
|
|
1718
|
+
}), this.chartData.plots.some((e) => isBarPlot(e)) && this.componentStore.xAxis.recalculateOuterPaddingToDrawBar();
|
|
1738
1719
|
}
|
|
1739
1720
|
calculateSpace() {
|
|
1740
1721
|
this.chartConfig.chartOrientation === "horizontal" ? this.calculateHorizontalSpace() : this.calculateVerticalSpace();
|
|
@@ -1743,28 +1724,26 @@ var ie = class {
|
|
|
1743
1724
|
this.calculateSpace();
|
|
1744
1725
|
let e = [];
|
|
1745
1726
|
this.componentStore.plot.setAxes(this.componentStore.xAxis, this.componentStore.yAxis);
|
|
1746
|
-
for (let
|
|
1727
|
+
for (let S of Object.values(this.componentStore)) e.push(...S.getDrawableElements());
|
|
1747
1728
|
return e;
|
|
1748
1729
|
}
|
|
1749
|
-
},
|
|
1750
|
-
static
|
|
1751
|
-
|
|
1752
|
-
|
|
1753
|
-
static build(e, t, n, r) {
|
|
1754
|
-
return new ie(e, t, n, r).getDrawableElement();
|
|
1730
|
+
}, XYChartBuilder = class {
|
|
1731
|
+
static #e = __name(this, "XYChartBuilder");
|
|
1732
|
+
static build(e, S, C, w) {
|
|
1733
|
+
return new Orchestrator(e, S, C, w).getDrawableElement();
|
|
1755
1734
|
}
|
|
1756
|
-
},
|
|
1757
|
-
function
|
|
1758
|
-
let e =
|
|
1759
|
-
return
|
|
1735
|
+
}, plotIndex = 0, tmpSVGGroup, xyChartConfig = getChartDefaultConfig(), xyChartThemeConfig = getChartDefaultThemeConfig(), xyChartData = getChartDefaultData(), plotColorPalette = xyChartThemeConfig.plotColorPalette.split(",").map((e) => e.trim()), hasSetXAxis = !1, hasSetYAxis = !1;
|
|
1736
|
+
function getChartDefaultThemeConfig() {
|
|
1737
|
+
let e = getThemeVariables3(), S = getConfig();
|
|
1738
|
+
return cleanAndMerge(e.xyChart, S.themeVariables.xyChart);
|
|
1760
1739
|
}
|
|
1761
|
-
|
|
1762
|
-
function
|
|
1763
|
-
let e =
|
|
1764
|
-
return
|
|
1740
|
+
__name(getChartDefaultThemeConfig, "getChartDefaultThemeConfig");
|
|
1741
|
+
function getChartDefaultConfig() {
|
|
1742
|
+
let e = getConfig();
|
|
1743
|
+
return cleanAndMerge(defaultConfig_default.xyChart, e.xyChart);
|
|
1765
1744
|
}
|
|
1766
|
-
|
|
1767
|
-
function
|
|
1745
|
+
__name(getChartDefaultConfig, "getChartDefaultConfig");
|
|
1746
|
+
function getChartDefaultData() {
|
|
1768
1747
|
return {
|
|
1769
1748
|
yAxis: {
|
|
1770
1749
|
type: "linear",
|
|
@@ -1781,220 +1760,219 @@ function W() {
|
|
|
1781
1760
|
plots: []
|
|
1782
1761
|
};
|
|
1783
1762
|
}
|
|
1784
|
-
|
|
1785
|
-
function
|
|
1786
|
-
let
|
|
1787
|
-
return
|
|
1763
|
+
__name(getChartDefaultData, "getChartDefaultData");
|
|
1764
|
+
function textSanitizer(e) {
|
|
1765
|
+
let S = getConfig();
|
|
1766
|
+
return sanitizeText(e.trim(), S);
|
|
1788
1767
|
}
|
|
1789
|
-
|
|
1790
|
-
function
|
|
1791
|
-
|
|
1768
|
+
__name(textSanitizer, "textSanitizer");
|
|
1769
|
+
function setTmpSVGG(e) {
|
|
1770
|
+
tmpSVGGroup = e;
|
|
1792
1771
|
}
|
|
1793
|
-
|
|
1794
|
-
function
|
|
1795
|
-
e === "horizontal" ?
|
|
1772
|
+
__name(setTmpSVGG, "setTmpSVGG");
|
|
1773
|
+
function setOrientation(e) {
|
|
1774
|
+
e === "horizontal" ? xyChartConfig.chartOrientation = "horizontal" : xyChartConfig.chartOrientation = "vertical";
|
|
1796
1775
|
}
|
|
1797
|
-
|
|
1798
|
-
function
|
|
1799
|
-
|
|
1776
|
+
__name(setOrientation, "setOrientation");
|
|
1777
|
+
function setXAxisTitle(e) {
|
|
1778
|
+
xyChartData.xAxis.title = textSanitizer(e.text);
|
|
1800
1779
|
}
|
|
1801
|
-
|
|
1802
|
-
function
|
|
1803
|
-
|
|
1780
|
+
__name(setXAxisTitle, "setXAxisTitle");
|
|
1781
|
+
function setXAxisRangeData(e, S) {
|
|
1782
|
+
xyChartData.xAxis = {
|
|
1804
1783
|
type: "linear",
|
|
1805
|
-
title:
|
|
1784
|
+
title: xyChartData.xAxis.title,
|
|
1806
1785
|
min: e,
|
|
1807
|
-
max:
|
|
1808
|
-
},
|
|
1786
|
+
max: S
|
|
1787
|
+
}, hasSetXAxis = !0;
|
|
1809
1788
|
}
|
|
1810
|
-
|
|
1811
|
-
function
|
|
1812
|
-
|
|
1789
|
+
__name(setXAxisRangeData, "setXAxisRangeData");
|
|
1790
|
+
function setXAxisBand(e) {
|
|
1791
|
+
xyChartData.xAxis = {
|
|
1813
1792
|
type: "band",
|
|
1814
|
-
title:
|
|
1815
|
-
categories: e.map((e) =>
|
|
1816
|
-
},
|
|
1793
|
+
title: xyChartData.xAxis.title,
|
|
1794
|
+
categories: e.map((e) => textSanitizer(e.text))
|
|
1795
|
+
}, hasSetXAxis = !0;
|
|
1817
1796
|
}
|
|
1818
|
-
|
|
1819
|
-
function
|
|
1820
|
-
|
|
1797
|
+
__name(setXAxisBand, "setXAxisBand");
|
|
1798
|
+
function setYAxisTitle(e) {
|
|
1799
|
+
xyChartData.yAxis.title = textSanitizer(e.text);
|
|
1821
1800
|
}
|
|
1822
|
-
|
|
1823
|
-
function
|
|
1824
|
-
|
|
1801
|
+
__name(setYAxisTitle, "setYAxisTitle");
|
|
1802
|
+
function setYAxisRangeData(e, S) {
|
|
1803
|
+
xyChartData.yAxis = {
|
|
1825
1804
|
type: "linear",
|
|
1826
|
-
title:
|
|
1805
|
+
title: xyChartData.yAxis.title,
|
|
1827
1806
|
min: e,
|
|
1828
|
-
max:
|
|
1829
|
-
},
|
|
1807
|
+
max: S
|
|
1808
|
+
}, hasSetYAxis = !0;
|
|
1830
1809
|
}
|
|
1831
|
-
|
|
1832
|
-
function
|
|
1833
|
-
let
|
|
1834
|
-
|
|
1810
|
+
__name(setYAxisRangeData, "setYAxisRangeData");
|
|
1811
|
+
function setYAxisRangeFromPlotData(e) {
|
|
1812
|
+
let S = Math.min(...e), C = Math.max(...e), w = isLinearAxisData(xyChartData.yAxis) ? xyChartData.yAxis.min : Infinity, T = isLinearAxisData(xyChartData.yAxis) ? xyChartData.yAxis.max : -Infinity;
|
|
1813
|
+
xyChartData.yAxis = {
|
|
1835
1814
|
type: "linear",
|
|
1836
|
-
title:
|
|
1837
|
-
min: Math.min(
|
|
1838
|
-
max: Math.max(
|
|
1815
|
+
title: xyChartData.yAxis.title,
|
|
1816
|
+
min: Math.min(w, S),
|
|
1817
|
+
max: Math.max(T, C)
|
|
1839
1818
|
};
|
|
1840
1819
|
}
|
|
1841
|
-
|
|
1842
|
-
function
|
|
1843
|
-
let
|
|
1844
|
-
if (e.length === 0) return
|
|
1845
|
-
if (!
|
|
1846
|
-
let
|
|
1847
|
-
|
|
1820
|
+
__name(setYAxisRangeFromPlotData, "setYAxisRangeFromPlotData");
|
|
1821
|
+
function transformDataWithoutCategory(e) {
|
|
1822
|
+
let S = [];
|
|
1823
|
+
if (e.length === 0) return S;
|
|
1824
|
+
if (!hasSetXAxis) {
|
|
1825
|
+
let S = isLinearAxisData(xyChartData.xAxis) ? xyChartData.xAxis.min : Infinity, C = isLinearAxisData(xyChartData.xAxis) ? xyChartData.xAxis.max : -Infinity;
|
|
1826
|
+
setXAxisRangeData(Math.min(S, 1), Math.max(C, e.length));
|
|
1848
1827
|
}
|
|
1849
|
-
if (
|
|
1850
|
-
let
|
|
1851
|
-
for (let e =
|
|
1852
|
-
|
|
1828
|
+
if (hasSetYAxis || setYAxisRangeFromPlotData(e), isBandAxisData(xyChartData.xAxis) && (S = xyChartData.xAxis.categories.map((S, C) => [S, e[C]])), isLinearAxisData(xyChartData.xAxis)) {
|
|
1829
|
+
let C = xyChartData.xAxis.min, w = xyChartData.xAxis.max, T = (w - C) / (e.length - 1), E = [];
|
|
1830
|
+
for (let e = C; e <= w; e += T) E.push(`${e}`);
|
|
1831
|
+
S = E.map((S, C) => [S, e[C]]);
|
|
1853
1832
|
}
|
|
1854
|
-
return
|
|
1833
|
+
return S;
|
|
1855
1834
|
}
|
|
1856
|
-
|
|
1857
|
-
function
|
|
1858
|
-
return
|
|
1835
|
+
__name(transformDataWithoutCategory, "transformDataWithoutCategory");
|
|
1836
|
+
function getPlotColorFromPalette(e) {
|
|
1837
|
+
return plotColorPalette[e === 0 ? 0 : e % plotColorPalette.length];
|
|
1859
1838
|
}
|
|
1860
|
-
|
|
1861
|
-
function
|
|
1862
|
-
let
|
|
1863
|
-
|
|
1839
|
+
__name(getPlotColorFromPalette, "getPlotColorFromPalette");
|
|
1840
|
+
function setLineData(e, S) {
|
|
1841
|
+
let C = transformDataWithoutCategory(S);
|
|
1842
|
+
xyChartData.plots.push({
|
|
1864
1843
|
type: "line",
|
|
1865
|
-
strokeFill:
|
|
1844
|
+
strokeFill: getPlotColorFromPalette(plotIndex),
|
|
1866
1845
|
strokeWidth: 2,
|
|
1867
|
-
data:
|
|
1868
|
-
}),
|
|
1846
|
+
data: C
|
|
1847
|
+
}), plotIndex++;
|
|
1869
1848
|
}
|
|
1870
|
-
|
|
1871
|
-
function
|
|
1872
|
-
let
|
|
1873
|
-
|
|
1849
|
+
__name(setLineData, "setLineData");
|
|
1850
|
+
function setBarData(e, S) {
|
|
1851
|
+
let C = transformDataWithoutCategory(S);
|
|
1852
|
+
xyChartData.plots.push({
|
|
1874
1853
|
type: "bar",
|
|
1875
|
-
fill:
|
|
1876
|
-
data:
|
|
1877
|
-
}),
|
|
1854
|
+
fill: getPlotColorFromPalette(plotIndex),
|
|
1855
|
+
data: C
|
|
1856
|
+
}), plotIndex++;
|
|
1878
1857
|
}
|
|
1879
|
-
|
|
1880
|
-
function
|
|
1881
|
-
if (
|
|
1882
|
-
return
|
|
1858
|
+
__name(setBarData, "setBarData");
|
|
1859
|
+
function getDrawableElem() {
|
|
1860
|
+
if (xyChartData.plots.length === 0) throw Error("No Plot to render, please provide a plot with some data");
|
|
1861
|
+
return xyChartData.title = getDiagramTitle(), XYChartBuilder.build(xyChartConfig, xyChartData, xyChartThemeConfig, tmpSVGGroup);
|
|
1883
1862
|
}
|
|
1884
|
-
|
|
1885
|
-
function
|
|
1886
|
-
return
|
|
1863
|
+
__name(getDrawableElem, "getDrawableElem");
|
|
1864
|
+
function getChartThemeConfig() {
|
|
1865
|
+
return xyChartThemeConfig;
|
|
1887
1866
|
}
|
|
1888
|
-
|
|
1889
|
-
function
|
|
1890
|
-
return
|
|
1867
|
+
__name(getChartThemeConfig, "getChartThemeConfig");
|
|
1868
|
+
function getChartConfig() {
|
|
1869
|
+
return xyChartConfig;
|
|
1891
1870
|
}
|
|
1892
|
-
|
|
1893
|
-
function
|
|
1894
|
-
return
|
|
1871
|
+
__name(getChartConfig, "getChartConfig");
|
|
1872
|
+
function getXYChartData() {
|
|
1873
|
+
return xyChartData;
|
|
1895
1874
|
}
|
|
1896
|
-
|
|
1897
|
-
var
|
|
1898
|
-
parser:
|
|
1875
|
+
__name(getXYChartData, "getXYChartData");
|
|
1876
|
+
var diagram = {
|
|
1877
|
+
parser: xychart_default,
|
|
1899
1878
|
db: {
|
|
1900
|
-
getDrawableElem
|
|
1901
|
-
clear: /* @__PURE__ */
|
|
1902
|
-
|
|
1879
|
+
getDrawableElem,
|
|
1880
|
+
clear: /* @__PURE__ */ __name(function() {
|
|
1881
|
+
clear(), plotIndex = 0, xyChartConfig = getChartDefaultConfig(), xyChartData = getChartDefaultData(), xyChartThemeConfig = getChartDefaultThemeConfig(), plotColorPalette = xyChartThemeConfig.plotColorPalette.split(",").map((e) => e.trim()), hasSetXAxis = !1, hasSetYAxis = !1;
|
|
1903
1882
|
}, "clear"),
|
|
1904
|
-
setAccTitle
|
|
1905
|
-
getAccTitle
|
|
1906
|
-
setDiagramTitle
|
|
1907
|
-
getDiagramTitle
|
|
1908
|
-
getAccDescription
|
|
1909
|
-
setAccDescription
|
|
1910
|
-
setOrientation
|
|
1911
|
-
setXAxisTitle
|
|
1912
|
-
setXAxisRangeData
|
|
1913
|
-
setXAxisBand
|
|
1914
|
-
setYAxisTitle
|
|
1915
|
-
setYAxisRangeData
|
|
1916
|
-
setLineData
|
|
1917
|
-
setBarData
|
|
1918
|
-
setTmpSVGG
|
|
1919
|
-
getChartThemeConfig
|
|
1920
|
-
getChartConfig
|
|
1921
|
-
getXYChartData
|
|
1883
|
+
setAccTitle,
|
|
1884
|
+
getAccTitle,
|
|
1885
|
+
setDiagramTitle,
|
|
1886
|
+
getDiagramTitle,
|
|
1887
|
+
getAccDescription,
|
|
1888
|
+
setAccDescription,
|
|
1889
|
+
setOrientation,
|
|
1890
|
+
setXAxisTitle,
|
|
1891
|
+
setXAxisRangeData,
|
|
1892
|
+
setXAxisBand,
|
|
1893
|
+
setYAxisTitle,
|
|
1894
|
+
setYAxisRangeData,
|
|
1895
|
+
setLineData,
|
|
1896
|
+
setBarData,
|
|
1897
|
+
setTmpSVGG,
|
|
1898
|
+
getChartThemeConfig,
|
|
1899
|
+
getChartConfig,
|
|
1900
|
+
getXYChartData
|
|
1922
1901
|
},
|
|
1923
|
-
renderer: { draw: /* @__PURE__ */
|
|
1924
|
-
let
|
|
1925
|
-
function
|
|
1902
|
+
renderer: { draw: /* @__PURE__ */ __name((C, T, E, D) => {
|
|
1903
|
+
let O = D.db, k = O.getChartThemeConfig(), A = O.getChartConfig(), j = O.getXYChartData().plots[0].data.map((e) => e[1]);
|
|
1904
|
+
function M(e) {
|
|
1926
1905
|
return e === "top" ? "text-before-edge" : "middle";
|
|
1927
1906
|
}
|
|
1928
|
-
|
|
1929
|
-
function
|
|
1907
|
+
__name(M, "getDominantBaseLine");
|
|
1908
|
+
function N(e) {
|
|
1930
1909
|
return e === "left" ? "start" : e === "right" ? "end" : "middle";
|
|
1931
1910
|
}
|
|
1932
|
-
|
|
1933
|
-
function
|
|
1911
|
+
__name(N, "getTextAnchor");
|
|
1912
|
+
function P(e) {
|
|
1934
1913
|
return `translate(${e.x}, ${e.y}) rotate(${e.rotation || 0})`;
|
|
1935
1914
|
}
|
|
1936
|
-
|
|
1937
|
-
let
|
|
1938
|
-
|
|
1939
|
-
let
|
|
1940
|
-
function
|
|
1941
|
-
let
|
|
1942
|
-
for (let [
|
|
1943
|
-
let
|
|
1944
|
-
|
|
1915
|
+
__name(P, "getTextTransformation"), log.debug("Rendering xychart chart\n" + C);
|
|
1916
|
+
let F = selectSvgElement(T), I = F.append("g").attr("class", "main"), L = I.append("rect").attr("width", A.width).attr("height", A.height).attr("class", "background");
|
|
1917
|
+
configureSvgSize(F, A.height, A.width, !0), F.attr("viewBox", `0 0 ${A.width} ${A.height}`), L.attr("fill", k.backgroundColor), O.setTmpSVGG(F.append("g").attr("class", "mermaid-tmp-group"));
|
|
1918
|
+
let z = O.getDrawableElem(), B = {};
|
|
1919
|
+
function V(e) {
|
|
1920
|
+
let S = I, C = "";
|
|
1921
|
+
for (let [w] of e.entries()) {
|
|
1922
|
+
let T = I;
|
|
1923
|
+
w > 0 && B[C] && (T = B[C]), C += e[w], S = B[C], S ||= B[C] = T.append("g").attr("class", e[w]);
|
|
1945
1924
|
}
|
|
1946
|
-
return
|
|
1925
|
+
return S;
|
|
1947
1926
|
}
|
|
1948
|
-
|
|
1949
|
-
for (let
|
|
1950
|
-
if (
|
|
1951
|
-
let
|
|
1952
|
-
switch (
|
|
1927
|
+
__name(V, "getGroup");
|
|
1928
|
+
for (let S of z) {
|
|
1929
|
+
if (S.data.length === 0) continue;
|
|
1930
|
+
let C = V(S.groupTexts);
|
|
1931
|
+
switch (S.type) {
|
|
1953
1932
|
case "rect":
|
|
1954
|
-
if (
|
|
1955
|
-
let
|
|
1956
|
-
if (
|
|
1957
|
-
let
|
|
1958
|
-
let { data:
|
|
1959
|
-
return
|
|
1933
|
+
if (C.selectAll("rect").data(S.data).enter().append("rect").attr("x", (e) => e.x).attr("y", (e) => e.y).attr("width", (e) => e.width).attr("height", (e) => e.height).attr("fill", (e) => e.fill).attr("stroke", (e) => e.strokeFill).attr("stroke-width", (e) => e.strokeWidth), A.showDataLabel) {
|
|
1934
|
+
let w = A.showDataLabelOutsideBar;
|
|
1935
|
+
if (A.chartOrientation === "horizontal") {
|
|
1936
|
+
let T = function(e, S) {
|
|
1937
|
+
let { data: C, label: w } = e;
|
|
1938
|
+
return S * w.length * E <= C.width - D;
|
|
1960
1939
|
};
|
|
1961
|
-
|
|
1962
|
-
let
|
|
1940
|
+
__name(T, "fitsHorizontally");
|
|
1941
|
+
let E = .7, D = 10, O = S.data.map((e, S) => ({
|
|
1963
1942
|
data: e,
|
|
1964
|
-
label:
|
|
1965
|
-
})).filter((e) => e.data.width > 0 && e.data.height > 0),
|
|
1966
|
-
let { data:
|
|
1967
|
-
for (; !
|
|
1968
|
-
return
|
|
1969
|
-
}),
|
|
1970
|
-
|
|
1943
|
+
label: j[S].toString()
|
|
1944
|
+
})).filter((e) => e.data.width > 0 && e.data.height > 0), A = O.map((e) => {
|
|
1945
|
+
let { data: S } = e, C = S.height * .7;
|
|
1946
|
+
for (; !T(e, C) && C > 0;) --C;
|
|
1947
|
+
return C;
|
|
1948
|
+
}), M = Math.floor(Math.min(...A)), N = /* @__PURE__ */ __name((e) => w ? e.data.x + e.data.width + 10 : e.data.x + e.data.width - 10, "determineLabelXPosition");
|
|
1949
|
+
C.selectAll("text").data(O).enter().append("text").attr("x", N).attr("y", (e) => e.data.y + e.data.height / 2).attr("text-anchor", w ? "start" : "end").attr("dominant-baseline", "middle").attr("fill", k.dataLabelColor).attr("font-size", `${M}px`).text((e) => e.label);
|
|
1971
1950
|
} else {
|
|
1972
|
-
let
|
|
1973
|
-
let { data:
|
|
1974
|
-
return
|
|
1951
|
+
let T = function(e, S, C) {
|
|
1952
|
+
let { data: w, label: T } = e, E = S * T.length * .7, D = w.x + w.width / 2, O = D - E / 2, k = D + E / 2, A = O >= w.x && k <= w.x + w.width, j = w.y + C + S <= w.y + w.height;
|
|
1953
|
+
return A && j;
|
|
1975
1954
|
};
|
|
1976
|
-
|
|
1977
|
-
let
|
|
1955
|
+
__name(T, "fitsInBar");
|
|
1956
|
+
let E = S.data.map((e, S) => ({
|
|
1978
1957
|
data: e,
|
|
1979
|
-
label:
|
|
1980
|
-
})).filter((e) => e.data.width > 0 && e.data.height > 0),
|
|
1981
|
-
let { data:
|
|
1982
|
-
for (; !
|
|
1983
|
-
return
|
|
1984
|
-
}),
|
|
1985
|
-
|
|
1958
|
+
label: j[S].toString()
|
|
1959
|
+
})).filter((e) => e.data.width > 0 && e.data.height > 0), D = E.map((e) => {
|
|
1960
|
+
let { data: S, label: C } = e, w = S.width / (C.length * .7);
|
|
1961
|
+
for (; !T(e, w, 10) && w > 0;) --w;
|
|
1962
|
+
return w;
|
|
1963
|
+
}), O = Math.floor(Math.min(...D)), A = /* @__PURE__ */ __name((e) => w ? e.data.y - 10 : e.data.y + 10, "determineLabelYPosition");
|
|
1964
|
+
C.selectAll("text").data(E).enter().append("text").attr("x", (e) => e.data.x + e.data.width / 2).attr("y", A).attr("text-anchor", "middle").attr("dominant-baseline", w ? "auto" : "hanging").attr("fill", k.dataLabelColor).attr("font-size", `${O}px`).text((e) => e.label);
|
|
1986
1965
|
}
|
|
1987
1966
|
}
|
|
1988
1967
|
break;
|
|
1989
1968
|
case "text":
|
|
1990
|
-
|
|
1969
|
+
C.selectAll("text").data(S.data).enter().append("text").attr("x", 0).attr("y", 0).attr("fill", (e) => e.fill).attr("font-size", (e) => e.fontSize).attr("dominant-baseline", (e) => M(e.verticalPos)).attr("text-anchor", (e) => N(e.horizontalPos)).attr("transform", (e) => P(e)).text((e) => e.text);
|
|
1991
1970
|
break;
|
|
1992
1971
|
case "path":
|
|
1993
|
-
|
|
1972
|
+
C.selectAll("path").data(S.data).enter().append("path").attr("d", (e) => e.path).attr("fill", (e) => e.fill ? e.fill : "none").attr("stroke", (e) => e.strokeFill).attr("stroke-width", (e) => e.strokeWidth);
|
|
1994
1973
|
break;
|
|
1995
1974
|
}
|
|
1996
1975
|
}
|
|
1997
1976
|
}, "draw") }
|
|
1998
1977
|
};
|
|
1999
|
-
|
|
2000
|
-
export { me as diagram };
|
|
1978
|
+
export { diagram };
|