@loopstack/loopstack-studio 0.24.0 → 0.25.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/_virtual/_rolldown/runtime.js +20 -0
- package/dist/api/auth.js +4 -2
- package/dist/api/client.js +9 -7
- package/dist/api/config.js +7 -5
- package/dist/api/dashboard.js +4 -2
- package/dist/api/documents.js +4 -2
- package/dist/api/index.js +21 -23
- package/dist/api/processor.js +5 -3
- package/dist/api/secrets.js +4 -2
- package/dist/api/workflows.js +11 -3
- package/dist/api/workspaces.js +4 -2
- package/dist/app/EnvironmentEmbedRoot.js +24 -31
- package/dist/components/ai-elements/code-block.js +53 -71
- package/dist/components/ai-elements/message.js +41 -82
- package/dist/components/ai-elements/prompt-input.js +162 -253
- package/dist/components/ai-elements/reasoning.js +78 -116
- package/dist/components/ai-elements/shimmer.js +23 -35
- package/dist/components/ai-elements/sources.js +29 -58
- package/dist/components/data-table/ConfirmDialog.js +14 -30
- package/dist/components/data-table/DataList.js +138 -198
- package/dist/components/data-table/DataTable.js +168 -234
- package/dist/components/data-table/DataTableBatchAction.js +18 -27
- package/dist/components/data-table/DataTableFilters.js +53 -78
- package/dist/components/data-table/DataTablePagination.js +72 -104
- package/dist/components/data-table/DataTableToolbar.js +53 -65
- package/dist/components/dynamic-form/ArrayController.js +85 -103
- package/dist/components/dynamic-form/CodeContent.js +28 -36
- package/dist/components/dynamic-form/Form.js +43 -56
- package/dist/components/dynamic-form/FormBody.js +12 -10
- package/dist/components/dynamic-form/FormElement.js +31 -41
- package/dist/components/dynamic-form/FormElementHeader.js +12 -20
- package/dist/components/dynamic-form/InputController.js +36 -38
- package/dist/components/dynamic-form/MarkdownContent.js +53 -74
- package/dist/components/dynamic-form/MermaidDiagram.js +22 -24
- package/dist/components/dynamic-form/ObjectController.js +24 -32
- package/dist/components/dynamic-form/fields/BaseFieldWrapper.js +35 -47
- package/dist/components/dynamic-form/fields/CheckboxField.js +39 -48
- package/dist/components/dynamic-form/fields/CodeViewField.js +42 -50
- package/dist/components/dynamic-form/fields/InputField.js +62 -90
- package/dist/components/dynamic-form/fields/MarkdownViewField.js +16 -19
- package/dist/components/dynamic-form/fields/RadioField.js +46 -62
- package/dist/components/dynamic-form/fields/SelectField.js +40 -58
- package/dist/components/dynamic-form/fields/SliderField.js +94 -100
- package/dist/components/dynamic-form/fields/SwitchField.js +42 -61
- package/dist/components/dynamic-form/fields/TextareaField.js +53 -72
- package/dist/components/dynamic-form/fields/utils/text-validation-utils.js +4 -2
- package/dist/components/dynamic-form/hooks/useArrayDefaultValue.js +6 -5
- package/dist/components/dynamic-form/hooks/useFieldConfig.js +19 -20
- package/dist/components/dynamic-form/hooks/useMergeParentKey.js +4 -2
- package/dist/components/dynamic-form/hooks/useSortPropertyNames.js +4 -2
- package/dist/components/feedback/ErrorAlert.js +11 -17
- package/dist/components/feedback/ErrorBoundary.js +16 -14
- package/dist/components/feedback/ErrorSnackbar.js +13 -30
- package/dist/components/feedback/LoadingCentered.js +15 -28
- package/dist/components/feedback/Snackbar.js +43 -44
- package/dist/components/feedback/index.js +5 -5
- package/dist/components/index.js +47 -47
- package/dist/components/layout/MainLayout.js +17 -25
- package/dist/components/layout/StudioSidebar.js +132 -202
- package/dist/components/lists/CustomListView.js +49 -74
- package/dist/components/lists/ListView.js +66 -102
- package/dist/components/loopstack-elements/link.js +71 -109
- package/dist/components/loopstack-elements/tool.js +99 -0
- package/dist/components/messages/CompletionMessagePaper.js +53 -85
- package/dist/components/page/PageBreadcrumbs.js +64 -83
- package/dist/components/ui/DiscordLogo.js +16 -22
- package/dist/components/ui/GoogleLogo.js +40 -44
- package/dist/components/ui/accordion.js +31 -52
- package/dist/components/ui/alert-dialog.js +59 -109
- package/dist/components/ui/alert.js +22 -36
- package/dist/components/ui/avatar.js +21 -35
- package/dist/components/ui/badge.js +13 -17
- package/dist/components/ui/breadcrumb.js +46 -82
- package/dist/components/ui/button-group.js +5 -5
- package/dist/components/ui/button.js +17 -21
- package/dist/components/ui/card.js +40 -74
- package/dist/components/ui/checkbox.js +17 -23
- package/dist/components/ui/collapsible.js +17 -25
- package/dist/components/ui/command.js +1 -2
- package/dist/components/ui/context-menu.js +32 -52
- package/dist/components/ui/dialog.js +62 -107
- package/dist/components/ui/drawer.js +54 -99
- package/dist/components/ui/dropdown-menu.js +91 -159
- package/dist/components/ui/hover-card.js +1 -2
- package/dist/components/ui/input-group.js +36 -56
- package/dist/components/ui/input.js +11 -15
- package/dist/components/ui/label.js +11 -15
- package/dist/components/ui/popover.js +25 -38
- package/dist/components/ui/radio-group.js +22 -33
- package/dist/components/ui/scroll-area.js +28 -43
- package/dist/components/ui/select.js +73 -134
- package/dist/components/ui/separator.js +13 -17
- package/dist/components/ui/sheet.js +60 -105
- package/dist/components/ui/sidebar.js +269 -451
- package/dist/components/ui/skeleton.js +10 -14
- package/dist/components/ui/slider.js +17 -15
- package/dist/components/ui/switch.js +15 -21
- package/dist/components/ui/table.js +46 -85
- package/dist/components/ui/tabs.js +26 -45
- package/dist/components/ui/textarea.js +10 -14
- package/dist/components/ui/tooltip.js +26 -41
- package/dist/components/ui-widgets/UiActions.js +30 -31
- package/dist/components/ui-widgets/UiWidget.js +34 -55
- package/dist/components/ui-widgets/widgets/AiPromptInput.js +28 -42
- package/dist/components/ui-widgets/widgets/ButtonFullWidth.js +16 -19
- package/dist/components/ui-widgets/widgets/SandboxRun.js +19 -26
- package/dist/components/ui-widgets/widgets/SubmitButton.js +15 -18
- package/dist/events/api-client-events.js +4 -2
- package/dist/events/sse-client-events.js +4 -2
- package/dist/features/code-explorer/CodeExplorer.js +1 -2
- package/dist/features/code-explorer/components/CodeExplorerTree.js +2 -2
- package/dist/features/code-explorer/components/CodeExplorerTreeNode.js +31 -29
- package/dist/features/code-explorer/components/FileContentViewer.js +120 -185
- package/dist/features/code-explorer/components/FileTabsBar.js +1 -2
- package/dist/features/code-explorer/components/FileTabsBarBase.js +134 -169
- package/dist/features/code-explorer/index.js +1 -1
- package/dist/features/code-explorer/providers/CodeExplorerProvider.js +4 -4
- package/dist/features/code-explorer/utils/fileIcons.js +41 -39
- package/dist/features/dashboard/Dashboard.js +79 -121
- package/dist/features/dashboard/RunItem.js +50 -68
- package/dist/features/dashboard/RunList.js +17 -28
- package/dist/features/debug/components/ConfigFlowViewer.js +49 -67
- package/dist/features/debug/components/WorkflowDebugHeader.js +32 -0
- package/dist/features/debug/components/WorkflowDebugLegend.js +56 -0
- package/dist/features/debug/components/WorkflowFlowViewer.js +90 -0
- package/dist/features/debug/components/workflow-flow/StateNode.js +82 -0
- package/dist/features/debug/components/workflow-flow/WorkflowGraph.js +41 -0
- package/dist/features/debug/components/workflow-flow/WorkflowTransitionEdge.js +64 -0
- package/dist/features/debug/index.js +3 -3
- package/dist/features/debug/lib/edge-paths.js +33 -31
- package/dist/features/debug/lib/flow-utils.js +156 -162
- package/dist/features/documents/DocumentRenderer.js +77 -45
- package/dist/features/documents/components/DocumentItem.js +21 -24
- package/dist/features/documents/components/DocumentList.js +39 -42
- package/dist/features/documents/components/DocumentMetadataPills.js +44 -59
- package/dist/features/documents/document-details/DocumentDetails.js +298 -413
- package/dist/features/documents/document-details/PromptDetails.js +105 -142
- package/dist/features/documents/index.js +4 -4
- package/dist/features/documents/renderers/AiMessage.js +39 -48
- package/dist/features/documents/renderers/AiMessageContent.js +108 -164
- package/dist/features/documents/renderers/ChoicesRenderer.js +80 -0
- package/dist/features/documents/renderers/ClaudeMessage.js +74 -91
- package/dist/features/documents/renderers/ConfirmPromptRenderer.js +47 -0
- package/dist/features/documents/renderers/DocumentDebugRenderer.js +26 -30
- package/dist/features/documents/renderers/DocumentFormRenderer.js +80 -72
- package/dist/features/documents/renderers/DocumentMessageRenderer.js +10 -9
- package/dist/features/documents/renderers/ErrorMessageRenderer.js +11 -13
- package/dist/features/documents/renderers/LinkMessageRenderer.js +15 -16
- package/dist/features/documents/renderers/MarkdownMessageRenderer.js +8 -10
- package/dist/features/documents/renderers/PlainMessageRenderer.js +7 -9
- package/dist/features/documents/renderers/SecretInputRenderer.js +89 -0
- package/dist/features/documents/renderers/TextPromptRenderer.js +48 -0
- package/dist/features/documents/renderers/useDocumentTransition.js +32 -0
- package/dist/features/health/LocalHealthCheck.js +54 -53
- package/dist/features/health/index.js +1 -1
- package/dist/features/oauth/OAuthCallbackPage.js +2 -2
- package/dist/features/oauth/OAuthPromptRenderer.js +135 -184
- package/dist/features/oauth/index.js +2 -2
- package/dist/features/oauth/useOAuthPopup.js +52 -71
- package/dist/features/runs/Runs.js +145 -187
- package/dist/features/workbench/Workbench.js +72 -98
- package/dist/features/workbench/WorkflowItem.js +49 -67
- package/dist/features/workbench/WorkflowList.js +50 -82
- package/dist/features/workbench/components/NewRunDialog.js +214 -311
- package/dist/features/workbench/components/RemoteFileTabsBar.js +18 -17
- package/dist/features/workbench/components/RemoteFileTree.js +54 -85
- package/dist/features/workbench/components/WorkbenchFilesPanel.js +52 -63
- package/dist/features/workbench/components/WorkbenchFloatingPanel.js +34 -90
- package/dist/features/workbench/components/WorkbenchFlowPanel.js +35 -46
- package/dist/features/workbench/components/WorkbenchIconSidebar.js +50 -80
- package/dist/features/workbench/components/WorkbenchPreviewPanel.js +52 -50
- package/dist/features/workbench/components/WorkbenchSecretsPanel.js +143 -172
- package/dist/features/workbench/components/WorkbenchSettingsModal.js +50 -86
- package/dist/features/workbench/components/WorkflowForms.js +17 -22
- package/dist/features/workbench/components/WorkflowHistoryItem.js +96 -143
- package/dist/features/workbench/components/WorkflowHistoryList.js +33 -0
- package/dist/features/workbench/components/buttons/WorkflowButtons.js +70 -97
- package/dist/features/workbench/hooks/useAutoScrollBottom.js +21 -25
- package/dist/features/workbench/hooks/useScrollToListItem.js +20 -21
- package/dist/features/workbench/hooks/useWorkflowData.js +32 -45
- package/dist/features/workbench/hooks/useWorkflowListState.js +13 -49
- package/dist/features/workbench/index.js +7 -8
- package/dist/features/workbench/providers/RemoteFileExplorerProvider.js +123 -138
- package/dist/features/workbench/providers/ScrollProvider.js +16 -20
- package/dist/features/workbench/providers/WorkbenchLayoutProvider.js +76 -75
- package/dist/features/workspaces/Workspaces.js +161 -226
- package/dist/features/workspaces/components/CreateWorkspace.js +137 -194
- package/dist/features/workspaces/components/EnvironmentSlotSelector.js +27 -25
- package/dist/features/workspaces/components/ExecutionTimeline.js +144 -185
- package/dist/features/workspaces/components/NewWorkflowRunDialog.js +23 -0
- package/dist/features/workspaces/components/WorkflowRunForm.js +104 -0
- package/dist/features/workspaces/components/WorkspaceHomePage.js +60 -81
- package/dist/features/workspaces/components/workflow-form/ArgumentsView.js +58 -0
- package/dist/features/workspaces/components/workflow-form/HeaderSection.js +29 -0
- package/dist/features/workspaces/components/workflow-form/SelectionView.js +66 -0
- package/dist/features/workspaces/index.js +3 -3
- package/dist/frontend/studio/node_modules/lodash/_Symbol.js +9 -0
- package/dist/frontend/studio/node_modules/lodash/_baseGetTag.js +15 -0
- package/dist/frontend/studio/node_modules/lodash/_baseTrim.js +13 -0
- package/dist/frontend/studio/node_modules/lodash/_freeGlobal.js +8 -0
- package/dist/frontend/studio/node_modules/lodash/_getRawTag.js +19 -0
- package/dist/frontend/studio/node_modules/lodash/_objectToString.js +12 -0
- package/dist/frontend/studio/node_modules/lodash/_root.js +10 -0
- package/dist/frontend/studio/node_modules/lodash/_trimmedEndIndex.js +13 -0
- package/dist/{node_modules → frontend/studio/node_modules}/lodash/debounce.js +10 -8
- package/dist/frontend/studio/node_modules/lodash/isObject.js +12 -0
- package/dist/frontend/studio/node_modules/lodash/isObjectLike.js +11 -0
- package/dist/frontend/studio/node_modules/lodash/isSymbol.js +14 -0
- package/dist/frontend/studio/node_modules/lodash/now.js +12 -0
- package/dist/frontend/studio/node_modules/lodash/toNumber.js +24 -0
- package/dist/hooks/index.js +6 -6
- package/dist/hooks/query-keys.js +39 -78
- package/dist/hooks/use-mobile.js +12 -11
- package/dist/hooks/useApi.js +16 -14
- package/dist/hooks/useAuth.js +38 -53
- package/dist/hooks/useConfig.js +26 -37
- package/dist/hooks/useDashboard.js +12 -15
- package/dist/hooks/useDebounce.js +12 -11
- package/dist/hooks/useDocuments.js +23 -35
- package/dist/hooks/useFiles.js +1 -2
- package/dist/hooks/useProcessor.js +14 -17
- package/dist/hooks/useSecrets.js +45 -64
- package/dist/hooks/useWorkflows.js +113 -78
- package/dist/hooks/useWorkspaces.js +83 -123
- package/dist/index.d.ts +0 -1305
- package/dist/index.js +80 -80
- package/dist/lib/requireParam.js +4 -2
- package/dist/lib/utils.js +7 -5
- package/dist/loopstack-studio.css +1 -1
- package/dist/node_modules/@braintree/sanitize-url/dist/constants.js +6 -4
- package/dist/node_modules/@braintree/sanitize-url/dist/index.js +8 -6
- package/dist/node_modules/@chevrotain/gast/lib/src/helpers.js +19 -20
- package/dist/node_modules/@chevrotain/gast/lib/src/model.js +87 -88
- package/dist/node_modules/@chevrotain/gast/lib/src/visitor.js +16 -13
- package/dist/node_modules/@chevrotain/regexp-to-ast/lib/src/api.js +2 -2
- package/dist/node_modules/@chevrotain/regexp-to-ast/lib/src/base-regexp-visitor.js +4 -2
- package/dist/node_modules/@chevrotain/regexp-to-ast/lib/src/character-classes.js +36 -34
- package/dist/node_modules/@chevrotain/regexp-to-ast/lib/src/regexp-parser.js +138 -110
- package/dist/node_modules/@chevrotain/regexp-to-ast/lib/src/utils.js +13 -11
- package/dist/node_modules/@chevrotain/utils/lib/src/print.js +5 -3
- package/dist/node_modules/@chevrotain/utils/lib/src/timer.js +4 -2
- package/dist/node_modules/@chevrotain/utils/lib/src/to-fast-properties.js +4 -2
- package/dist/node_modules/@dagrejs/dagre/dist/dagre.esm.js +1812 -1913
- package/dist/node_modules/@iconify/utils/lib/customisations/defaults.js +8 -6
- package/dist/node_modules/@iconify/utils/lib/icon/defaults.js +10 -8
- package/dist/node_modules/@iconify/utils/lib/icon/merge.js +8 -6
- package/dist/node_modules/@iconify/utils/lib/icon/name.js +8 -6
- package/dist/node_modules/@iconify/utils/lib/icon/transformations.js +4 -2
- package/dist/node_modules/@iconify/utils/lib/icon-set/get-icon.js +12 -10
- package/dist/node_modules/@iconify/utils/lib/icon-set/tree.js +4 -2
- package/dist/node_modules/@iconify/utils/lib/svg/build.js +20 -18
- package/dist/node_modules/@iconify/utils/lib/svg/defs.js +8 -6
- package/dist/node_modules/@iconify/utils/lib/svg/html.js +4 -2
- package/dist/node_modules/@iconify/utils/lib/svg/id.js +10 -8
- package/dist/node_modules/@iconify/utils/lib/svg/size.js +7 -5
- package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/architecture-YZFGNWBL.js +3 -0
- package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-2KRD3SAO.js +26 -0
- package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-67CJDMHE.js +26 -0
- package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-7N4EOEYR.js +38 -0
- package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-AA7GKIK3.js +33 -0
- package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-CIAEETIT.js +26 -0
- package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-FOC6F5B3.js +26 -0
- package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-K5T4RW27.js +1208 -0
- package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-KGLVRYIC.js +26 -0
- package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-LIHQZDEY.js +67 -0
- package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-ORNJ4GCN.js +34 -0
- package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/gitGraph-7Q5UKJZL.js +3 -0
- package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/info-OMHHGYJF.js +3 -0
- package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/packet-4T2RLAQJ.js +3 -0
- package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/pie-ZZUOXDRM.js +3 -0
- package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/radar-PYXPWWZC.js +3 -0
- package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/treeView-SZITEDCU.js +3 -0
- package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/treemap-W4RFUUIX.js +3 -0
- package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/wardley-RL74JXVD.js +3 -0
- package/dist/node_modules/@mermaid-js/parser/dist/mermaid-parser.core.js +59 -45
- package/dist/node_modules/@shikijs/core/dist/index.js +583 -1119
- package/dist/node_modules/@shikijs/engine-oniguruma/dist/index.js +163 -148
- package/dist/node_modules/@shikijs/engine-oniguruma/dist/wasm-inlined.js +4 -2
- package/dist/node_modules/@shikijs/langs/dist/abap.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/actionscript-3.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/ada.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/angular-expression.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/angular-html.js +15 -13
- package/dist/node_modules/@shikijs/langs/dist/angular-inline-style.js +5 -3
- package/dist/node_modules/@shikijs/langs/dist/angular-inline-template.js +9 -7
- package/dist/node_modules/@shikijs/langs/dist/angular-let-declaration.js +5 -3
- package/dist/node_modules/@shikijs/langs/dist/angular-template-blocks.js +9 -7
- package/dist/node_modules/@shikijs/langs/dist/angular-template.js +5 -3
- package/dist/node_modules/@shikijs/langs/dist/angular-ts.js +17 -15
- package/dist/node_modules/@shikijs/langs/dist/apache.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/apex.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/apl.js +15 -13
- package/dist/node_modules/@shikijs/langs/dist/applescript.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/ara.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/asciidoc.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/asm.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/astro.js +17 -15
- package/dist/node_modules/@shikijs/langs/dist/awk.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/ballerina.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/bat.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/beancount.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/berry.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/bibtex.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/bicep.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/bird2.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/blade.js +19 -17
- package/dist/node_modules/@shikijs/langs/dist/bsl.js +5 -3
- package/dist/node_modules/@shikijs/langs/dist/c.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/c3.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/cadence.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/cairo.js +5 -3
- package/dist/node_modules/@shikijs/langs/dist/clarity.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/clojure.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/cmake.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/cobol.js +9 -7
- package/dist/node_modules/@shikijs/langs/dist/codeowners.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/codeql.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/coffee.js +5 -3
- package/dist/node_modules/@shikijs/langs/dist/common-lisp.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/coq.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/cpp-macro.js +11 -9
- package/dist/node_modules/@shikijs/langs/dist/cpp.js +13 -11
- package/dist/node_modules/@shikijs/langs/dist/crystal.js +17 -15
- package/dist/node_modules/@shikijs/langs/dist/csharp.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/css.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/csv.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/cue.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/cypher.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/d.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/dart.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/dax.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/desktop.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/diff.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/docker.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/dotenv.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/dream-maker.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/edge.js +11 -9
- package/dist/node_modules/@shikijs/langs/dist/elixir.js +5 -3
- package/dist/node_modules/@shikijs/langs/dist/elm.js +5 -3
- package/dist/node_modules/@shikijs/langs/dist/emacs-lisp.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/erb.js +9 -7
- package/dist/node_modules/@shikijs/langs/dist/erlang.js +5 -3
- package/dist/node_modules/@shikijs/langs/dist/es-tag-css.js +11 -9
- package/dist/node_modules/@shikijs/langs/dist/es-tag-glsl.js +11 -9
- package/dist/node_modules/@shikijs/langs/dist/es-tag-html.js +11 -9
- package/dist/node_modules/@shikijs/langs/dist/es-tag-sql.js +9 -7
- package/dist/node_modules/@shikijs/langs/dist/es-tag-xml.js +5 -3
- package/dist/node_modules/@shikijs/langs/dist/fennel.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/fish.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/fluent.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/fortran-fixed-form.js +5 -3
- package/dist/node_modules/@shikijs/langs/dist/fortran-free-form.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/fsharp.js +5 -3
- package/dist/node_modules/@shikijs/langs/dist/gdresource.js +9 -7
- package/dist/node_modules/@shikijs/langs/dist/gdscript.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/gdshader.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/genie.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/gherkin.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/git-commit.js +5 -3
- package/dist/node_modules/@shikijs/langs/dist/git-rebase.js +5 -3
- package/dist/node_modules/@shikijs/langs/dist/gleam.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/glimmer-js.js +13 -11
- package/dist/node_modules/@shikijs/langs/dist/glimmer-ts.js +13 -11
- package/dist/node_modules/@shikijs/langs/dist/glsl.js +5 -3
- package/dist/node_modules/@shikijs/langs/dist/gn.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/gnuplot.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/go.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/graphql.js +13 -11
- package/dist/node_modules/@shikijs/langs/dist/groovy.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/hack.js +9 -7
- package/dist/node_modules/@shikijs/langs/dist/haml.js +9 -7
- package/dist/node_modules/@shikijs/langs/dist/handlebars.js +13 -11
- package/dist/node_modules/@shikijs/langs/dist/haskell.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/haxe.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/hcl.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/hjson.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/hlsl.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/html-derivative.js +5 -3
- package/dist/node_modules/@shikijs/langs/dist/html.js +9 -7
- package/dist/node_modules/@shikijs/langs/dist/http.js +13 -11
- package/dist/node_modules/@shikijs/langs/dist/hurl.js +11 -9
- package/dist/node_modules/@shikijs/langs/dist/hxml.js +5 -3
- package/dist/node_modules/@shikijs/langs/dist/hy.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/imba.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/ini.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/java.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/javascript.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/jinja-html.js +5 -3
- package/dist/node_modules/@shikijs/langs/dist/jinja.js +5 -3
- package/dist/node_modules/@shikijs/langs/dist/jison.js +5 -3
- package/dist/node_modules/@shikijs/langs/dist/json.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/json5.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/jsonc.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/jsonl.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/jsonnet.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/jssm.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/jsx.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/julia.js +15 -13
- package/dist/node_modules/@shikijs/langs/dist/just.js +17 -15
- package/dist/node_modules/@shikijs/langs/dist/kdl.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/kotlin.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/kusto.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/latex.js +5 -3
- package/dist/node_modules/@shikijs/langs/dist/lean.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/less.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/liquid.js +13 -11
- package/dist/node_modules/@shikijs/langs/dist/llvm.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/log.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/logo.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/lua.js +5 -3
- package/dist/node_modules/@shikijs/langs/dist/luau.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/make.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/markdown-nix.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/markdown-vue.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/markdown.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/marko.js +13 -11
- package/dist/node_modules/@shikijs/langs/dist/matlab.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/mdc.js +11 -9
- package/dist/node_modules/@shikijs/langs/dist/mdx.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/mermaid.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/mipsasm.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/mojo.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/moonbit.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/move.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/narrat.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/nextflow-groovy.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/nextflow.js +5 -3
- package/dist/node_modules/@shikijs/langs/dist/nginx.js +5 -3
- package/dist/node_modules/@shikijs/langs/dist/nim.js +19 -17
- package/dist/node_modules/@shikijs/langs/dist/nix.js +5 -3
- package/dist/node_modules/@shikijs/langs/dist/nushell.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/objective-c.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/objective-cpp.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/ocaml.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/odin.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/openscad.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/pascal.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/perl.js +15 -13
- package/dist/node_modules/@shikijs/langs/dist/php.js +17 -15
- package/dist/node_modules/@shikijs/langs/dist/pkl.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/plsql.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/po.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/polar.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/postcss.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/powerquery.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/powershell.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/prisma.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/prolog.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/proto.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/pug.js +11 -9
- package/dist/node_modules/@shikijs/langs/dist/puppet.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/purescript.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/python.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/qml.js +5 -3
- package/dist/node_modules/@shikijs/langs/dist/qmldir.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/qss.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/r.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/racket.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/raku.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/razor.js +9 -7
- package/dist/node_modules/@shikijs/langs/dist/reg.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/regexp.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/rel.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/riscv.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/ron.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/rosmsg.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/rst.js +21 -19
- package/dist/node_modules/@shikijs/langs/dist/ruby.js +29 -27
- package/dist/node_modules/@shikijs/langs/dist/rust.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/sas.js +5 -3
- package/dist/node_modules/@shikijs/langs/dist/sass.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/scala.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/scheme.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/scss.js +5 -3
- package/dist/node_modules/@shikijs/langs/dist/sdbl.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/shaderlab.js +5 -3
- package/dist/node_modules/@shikijs/langs/dist/shellscript.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/shellsession.js +5 -3
- package/dist/node_modules/@shikijs/langs/dist/smalltalk.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/solidity.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/soy.js +5 -3
- package/dist/node_modules/@shikijs/langs/dist/sparql.js +5 -3
- package/dist/node_modules/@shikijs/langs/dist/splunk.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/sql.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/ssh-config.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/stata.js +5 -3
- package/dist/node_modules/@shikijs/langs/dist/stylus.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/surrealql.js +5 -3
- package/dist/node_modules/@shikijs/langs/dist/svelte.js +13 -11
- package/dist/node_modules/@shikijs/langs/dist/swift.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/system-verilog.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/systemd.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/talonscript.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/tasl.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/tcl.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/templ.js +11 -9
- package/dist/node_modules/@shikijs/langs/dist/terraform.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/tex.js +5 -3
- package/dist/node_modules/@shikijs/langs/dist/toml.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/ts-tags.js +17 -15
- package/dist/node_modules/@shikijs/langs/dist/tsv.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/tsx.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/turtle.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/twig.js +17 -15
- package/dist/node_modules/@shikijs/langs/dist/typescript.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/typespec.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/typst.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/v.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/vala.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/vb.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/verilog.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/vhdl.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/viml.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/vue-directives.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/vue-html.js +5 -3
- package/dist/node_modules/@shikijs/langs/dist/vue-interpolations.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/vue-sfc-style-variable-injection.js +5 -3
- package/dist/node_modules/@shikijs/langs/dist/vue-vine.js +17 -15
- package/dist/node_modules/@shikijs/langs/dist/vue.js +25 -23
- package/dist/node_modules/@shikijs/langs/dist/vyper.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/wasm.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/wenyan.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/wgsl.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/wikitext.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/wit.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/wolfram.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/xml.js +5 -3
- package/dist/node_modules/@shikijs/langs/dist/xsl.js +5 -3
- package/dist/node_modules/@shikijs/langs/dist/yaml.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/zenscript.js +3 -2
- package/dist/node_modules/@shikijs/langs/dist/zig.js +3 -2
- package/dist/node_modules/@shikijs/primitive/dist/index.js +540 -0
- package/dist/node_modules/@shikijs/themes/dist/andromeeda.js +4 -2
- package/dist/node_modules/@shikijs/themes/dist/aurora-x.js +4 -2
- package/dist/node_modules/@shikijs/themes/dist/ayu-dark.js +4 -2
- package/dist/node_modules/@shikijs/themes/dist/ayu-light.js +4 -2
- package/dist/node_modules/@shikijs/themes/dist/ayu-mirage.js +4 -2
- package/dist/node_modules/@shikijs/themes/dist/catppuccin-frappe.js +4 -2
- package/dist/node_modules/@shikijs/themes/dist/catppuccin-latte.js +4 -2
- package/dist/node_modules/@shikijs/themes/dist/catppuccin-macchiato.js +4 -2
- package/dist/node_modules/@shikijs/themes/dist/catppuccin-mocha.js +4 -2
- package/dist/node_modules/@shikijs/themes/dist/dark-plus.js +4 -2
- package/dist/node_modules/@shikijs/themes/dist/dracula-soft.js +4 -2
- package/dist/node_modules/@shikijs/themes/dist/dracula.js +4 -2
- package/dist/node_modules/@shikijs/themes/dist/everforest-dark.js +4 -2
- package/dist/node_modules/@shikijs/themes/dist/everforest-light.js +4 -2
- package/dist/node_modules/@shikijs/themes/dist/github-dark-default.js +4 -2
- package/dist/node_modules/@shikijs/themes/dist/github-dark-dimmed.js +4 -2
- package/dist/node_modules/@shikijs/themes/dist/github-dark-high-contrast.js +4 -2
- package/dist/node_modules/@shikijs/themes/dist/github-dark.js +4 -2
- package/dist/node_modules/@shikijs/themes/dist/github-light-default.js +4 -2
- package/dist/node_modules/@shikijs/themes/dist/github-light-high-contrast.js +4 -2
- package/dist/node_modules/@shikijs/themes/dist/github-light.js +4 -2
- package/dist/node_modules/@shikijs/themes/dist/gruvbox-dark-hard.js +4 -2
- package/dist/node_modules/@shikijs/themes/dist/gruvbox-dark-medium.js +4 -2
- package/dist/node_modules/@shikijs/themes/dist/gruvbox-dark-soft.js +4 -2
- package/dist/node_modules/@shikijs/themes/dist/gruvbox-light-hard.js +4 -2
- package/dist/node_modules/@shikijs/themes/dist/gruvbox-light-medium.js +4 -2
- package/dist/node_modules/@shikijs/themes/dist/gruvbox-light-soft.js +4 -2
- package/dist/node_modules/@shikijs/themes/dist/horizon-bright.js +4 -2
- package/dist/node_modules/@shikijs/themes/dist/horizon.js +4 -2
- package/dist/node_modules/@shikijs/themes/dist/houston.js +4 -2
- package/dist/node_modules/@shikijs/themes/dist/kanagawa-dragon.js +4 -2
- package/dist/node_modules/@shikijs/themes/dist/kanagawa-lotus.js +4 -2
- package/dist/node_modules/@shikijs/themes/dist/kanagawa-wave.js +4 -2
- package/dist/node_modules/@shikijs/themes/dist/laserwave.js +4 -2
- package/dist/node_modules/@shikijs/themes/dist/light-plus.js +4 -2
- package/dist/node_modules/@shikijs/themes/dist/material-theme-darker.js +4 -2
- package/dist/node_modules/@shikijs/themes/dist/material-theme-lighter.js +4 -2
- package/dist/node_modules/@shikijs/themes/dist/material-theme-ocean.js +4 -2
- package/dist/node_modules/@shikijs/themes/dist/material-theme-palenight.js +4 -2
- package/dist/node_modules/@shikijs/themes/dist/material-theme.js +4 -2
- package/dist/node_modules/@shikijs/themes/dist/min-dark.js +4 -2
- package/dist/node_modules/@shikijs/themes/dist/min-light.js +4 -2
- package/dist/node_modules/@shikijs/themes/dist/monokai.js +4 -2
- package/dist/node_modules/@shikijs/themes/dist/night-owl-light.js +4 -2
- package/dist/node_modules/@shikijs/themes/dist/night-owl.js +4 -2
- package/dist/node_modules/@shikijs/themes/dist/nord.js +4 -2
- package/dist/node_modules/@shikijs/themes/dist/one-dark-pro.js +4 -2
- package/dist/node_modules/@shikijs/themes/dist/one-light.js +4 -2
- package/dist/node_modules/@shikijs/themes/dist/plastic.js +4 -2
- package/dist/node_modules/@shikijs/themes/dist/poimandres.js +4 -2
- package/dist/node_modules/@shikijs/themes/dist/red.js +4 -2
- package/dist/node_modules/@shikijs/themes/dist/rose-pine-dawn.js +4 -2
- package/dist/node_modules/@shikijs/themes/dist/rose-pine-moon.js +4 -2
- package/dist/node_modules/@shikijs/themes/dist/rose-pine.js +4 -2
- package/dist/node_modules/@shikijs/themes/dist/slack-dark.js +4 -2
- package/dist/node_modules/@shikijs/themes/dist/slack-ochin.js +4 -2
- package/dist/node_modules/@shikijs/themes/dist/snazzy-light.js +4 -2
- package/dist/node_modules/@shikijs/themes/dist/solarized-dark.js +4 -2
- package/dist/node_modules/@shikijs/themes/dist/solarized-light.js +4 -2
- package/dist/node_modules/@shikijs/themes/dist/synthwave-84.js +4 -2
- package/dist/node_modules/@shikijs/themes/dist/tokyo-night.js +4 -2
- package/dist/node_modules/@shikijs/themes/dist/vesper.js +4 -2
- package/dist/node_modules/@shikijs/themes/dist/vitesse-black.js +4 -2
- package/dist/node_modules/@shikijs/themes/dist/vitesse-dark.js +4 -2
- package/dist/node_modules/@shikijs/themes/dist/vitesse-light.js +4 -2
- package/dist/node_modules/@shikijs/types/dist/index.js +4 -2
- package/dist/node_modules/@shikijs/vscode-textmate/dist/index.js +949 -947
- package/dist/node_modules/@ungap/structured-clone/esm/deserialize.js +30 -30
- package/dist/node_modules/@ungap/structured-clone/esm/index.js +6 -4
- package/dist/node_modules/@ungap/structured-clone/esm/serialize.js +64 -64
- package/dist/node_modules/@upsetjs/venn.js/build/venn.esm.js +905 -0
- package/dist/node_modules/@xyflow/react/dist/esm/index.js +904 -901
- package/dist/node_modules/@xyflow/system/dist/esm/index.js +1226 -1222
- package/dist/node_modules/bail/index.js +4 -2
- package/dist/node_modules/ccount/index.js +4 -2
- package/dist/node_modules/character-entities-html4/index.js +4 -2
- package/dist/node_modules/character-entities-legacy/index.js +4 -2
- package/dist/node_modules/chevrotain/lib/src/api.js +10 -10
- package/dist/node_modules/chevrotain/lib/src/lang/lang_extensions.js +6 -4
- package/dist/node_modules/chevrotain/lib/src/parse/constants.js +4 -2
- package/dist/node_modules/chevrotain/lib/src/parse/cst/cst.js +11 -9
- package/dist/node_modules/chevrotain/lib/src/parse/cst/cst_visitor.js +38 -45
- package/dist/node_modules/chevrotain/lib/src/parse/errors_public.js +35 -36
- package/dist/node_modules/chevrotain/lib/src/parse/exceptions_public.js +26 -25
- package/dist/node_modules/chevrotain/lib/src/parse/grammar/checks.js +204 -226
- package/dist/node_modules/chevrotain/lib/src/parse/grammar/first.js +18 -18
- package/dist/node_modules/chevrotain/lib/src/parse/grammar/follow.js +20 -19
- package/dist/node_modules/chevrotain/lib/src/parse/grammar/gast/gast_resolver_public.js +14 -13
- package/dist/node_modules/chevrotain/lib/src/parse/grammar/interpreter.js +195 -200
- package/dist/node_modules/chevrotain/lib/src/parse/grammar/keys.js +5 -4
- package/dist/node_modules/chevrotain/lib/src/parse/grammar/llk_lookahead.js +28 -28
- package/dist/node_modules/chevrotain/lib/src/parse/grammar/lookahead.js +165 -170
- package/dist/node_modules/chevrotain/lib/src/parse/grammar/resolver.js +17 -17
- package/dist/node_modules/chevrotain/lib/src/parse/grammar/rest.js +50 -50
- package/dist/node_modules/chevrotain/lib/src/parse/parser/parser.js +76 -83
- package/dist/node_modules/chevrotain/lib/src/parse/parser/traits/error_handler.js +21 -21
- package/dist/node_modules/chevrotain/lib/src/parse/parser/traits/gast_recorder.js +117 -121
- package/dist/node_modules/chevrotain/lib/src/parse/parser/traits/lexer_adapter.js +12 -6
- package/dist/node_modules/chevrotain/lib/src/parse/parser/traits/looksahead.js +51 -51
- package/dist/node_modules/chevrotain/lib/src/parse/parser/traits/perf_tracer.js +15 -14
- package/dist/node_modules/chevrotain/lib/src/parse/parser/traits/recognizer_api.js +81 -80
- package/dist/node_modules/chevrotain/lib/src/parse/parser/traits/recognizer_engine.js +229 -217
- package/dist/node_modules/chevrotain/lib/src/parse/parser/traits/recoverable.js +87 -86
- package/dist/node_modules/chevrotain/lib/src/parse/parser/traits/tree_builder.js +36 -44
- package/dist/node_modules/chevrotain/lib/src/parse/parser/utils/apply_mixins.js +4 -2
- package/dist/node_modules/chevrotain/lib/src/scan/lexer.js +287 -309
- package/dist/node_modules/chevrotain/lib/src/scan/lexer_errors_public.js +4 -2
- package/dist/node_modules/chevrotain/lib/src/scan/lexer_public.js +115 -126
- package/dist/node_modules/chevrotain/lib/src/scan/reg_exp.js +73 -70
- package/dist/node_modules/chevrotain/lib/src/scan/reg_exp_parser.js +12 -10
- package/dist/node_modules/chevrotain/lib/src/scan/tokens.js +45 -54
- package/dist/node_modules/chevrotain/lib/src/scan/tokens_public.js +29 -30
- package/dist/node_modules/chevrotain-allstar/lib/all-star-lookahead.js +242 -240
- package/dist/node_modules/chevrotain-allstar/lib/atn.js +134 -133
- package/dist/node_modules/chevrotain-allstar/lib/dfa.js +11 -10
- package/dist/node_modules/chevrotain-allstar/lib/index.js +1 -1
- package/dist/node_modules/classcat/index.js +5 -3
- package/dist/node_modules/comma-separated-tokens/index.js +5 -3
- package/dist/node_modules/cose-base/cose-base.js +21 -21
- package/dist/node_modules/cytoscape/dist/cytoscape.esm.js +7935 -7935
- package/dist/node_modules/cytoscape-cose-bilkent/cytoscape-cose-bilkent.js +8 -6
- package/dist/node_modules/cytoscape-fcose/cytoscape-fcose.js +8 -6
- package/dist/node_modules/cytoscape-fcose/node_modules/cose-base/cose-base.js +20 -20
- package/dist/node_modules/cytoscape-fcose/node_modules/layout-base/layout-base.js +6 -4
- package/dist/node_modules/d3/src/index.js +95 -95
- package/dist/node_modules/d3-array/src/ascending.js +4 -2
- package/dist/node_modules/d3-array/src/bisect.js +8 -8
- package/dist/node_modules/d3-array/src/bisector.js +8 -6
- package/dist/node_modules/d3-array/src/descending.js +4 -2
- package/dist/node_modules/d3-array/src/max.js +4 -2
- package/dist/node_modules/d3-array/src/min.js +4 -2
- package/dist/node_modules/d3-array/src/number.js +4 -2
- package/dist/node_modules/d3-array/src/range.js +4 -2
- package/dist/node_modules/d3-array/src/ticks.js +13 -11
- package/dist/node_modules/d3-axis/src/axis.js +48 -46
- package/dist/node_modules/d3-axis/src/identity.js +4 -2
- package/dist/node_modules/d3-brush/src/brush.js +6 -4
- package/dist/node_modules/d3-color/src/color.js +86 -84
- package/dist/node_modules/d3-color/src/define.js +5 -3
- package/dist/node_modules/d3-color/src/lab.js +45 -43
- package/dist/node_modules/d3-color/src/math.js +4 -2
- package/dist/node_modules/d3-dispatch/src/dispatch.js +18 -17
- package/dist/node_modules/d3-drag/src/constant.js +4 -2
- package/dist/node_modules/d3-drag/src/drag.js +77 -75
- package/dist/node_modules/d3-drag/src/event.js +5 -3
- package/dist/node_modules/d3-drag/src/nodrag.js +11 -9
- package/dist/node_modules/d3-drag/src/noevent.js +6 -4
- package/dist/node_modules/d3-ease/src/cubic.js +4 -2
- package/dist/node_modules/d3-format/src/defaultLocale.js +8 -6
- package/dist/node_modules/d3-format/src/exponent.js +6 -4
- package/dist/node_modules/d3-format/src/formatDecimal.js +5 -3
- package/dist/node_modules/d3-format/src/formatGroup.js +4 -2
- package/dist/node_modules/d3-format/src/formatNumerals.js +4 -2
- package/dist/node_modules/d3-format/src/formatPrefixAuto.js +10 -8
- package/dist/node_modules/d3-format/src/formatRounded.js +6 -4
- package/dist/node_modules/d3-format/src/formatSpecifier.js +10 -8
- package/dist/node_modules/d3-format/src/formatTrim.js +4 -2
- package/dist/node_modules/d3-format/src/formatTypes.js +15 -13
- package/dist/node_modules/d3-format/src/identity.js +4 -2
- package/dist/node_modules/d3-format/src/locale.js +33 -31
- package/dist/node_modules/d3-format/src/precisionFixed.js +6 -4
- package/dist/node_modules/d3-format/src/precisionPrefix.js +6 -4
- package/dist/node_modules/d3-format/src/precisionRound.js +6 -4
- package/dist/node_modules/d3-hierarchy/src/accessors.js +4 -2
- package/dist/node_modules/d3-hierarchy/src/constant.js +5 -3
- package/dist/node_modules/d3-hierarchy/src/hierarchy/ancestors.js +4 -2
- package/dist/node_modules/d3-hierarchy/src/hierarchy/count.js +6 -4
- package/dist/node_modules/d3-hierarchy/src/hierarchy/descendants.js +4 -2
- package/dist/node_modules/d3-hierarchy/src/hierarchy/each.js +4 -2
- package/dist/node_modules/d3-hierarchy/src/hierarchy/eachAfter.js +4 -2
- package/dist/node_modules/d3-hierarchy/src/hierarchy/eachBefore.js +4 -2
- package/dist/node_modules/d3-hierarchy/src/hierarchy/find.js +4 -2
- package/dist/node_modules/d3-hierarchy/src/hierarchy/index.js +46 -44
- package/dist/node_modules/d3-hierarchy/src/hierarchy/iterator.js +4 -2
- package/dist/node_modules/d3-hierarchy/src/hierarchy/leaves.js +4 -2
- package/dist/node_modules/d3-hierarchy/src/hierarchy/links.js +4 -2
- package/dist/node_modules/d3-hierarchy/src/hierarchy/path.js +6 -4
- package/dist/node_modules/d3-hierarchy/src/hierarchy/sort.js +4 -2
- package/dist/node_modules/d3-hierarchy/src/hierarchy/sum.js +4 -2
- package/dist/node_modules/d3-hierarchy/src/treemap/dice.js +4 -2
- package/dist/node_modules/d3-hierarchy/src/treemap/index.js +16 -14
- package/dist/node_modules/d3-hierarchy/src/treemap/round.js +4 -2
- package/dist/node_modules/d3-hierarchy/src/treemap/slice.js +4 -2
- package/dist/node_modules/d3-hierarchy/src/treemap/squarify.js +11 -9
- package/dist/node_modules/d3-interpolate/src/array.js +6 -4
- package/dist/node_modules/d3-interpolate/src/basis.js +6 -4
- package/dist/node_modules/d3-interpolate/src/basisClosed.js +6 -4
- package/dist/node_modules/d3-interpolate/src/color.js +19 -17
- package/dist/node_modules/d3-interpolate/src/constant.js +4 -2
- package/dist/node_modules/d3-interpolate/src/date.js +4 -2
- package/dist/node_modules/d3-interpolate/src/hcl.js +8 -6
- package/dist/node_modules/d3-interpolate/src/number.js +4 -2
- package/dist/node_modules/d3-interpolate/src/numberArray.js +5 -3
- package/dist/node_modules/d3-interpolate/src/object.js +6 -4
- package/dist/node_modules/d3-interpolate/src/rgb.js +11 -9
- package/dist/node_modules/d3-interpolate/src/round.js +4 -2
- package/dist/node_modules/d3-interpolate/src/string.js +16 -14
- package/dist/node_modules/d3-interpolate/src/transform/decompose.js +7 -5
- package/dist/node_modules/d3-interpolate/src/transform/index.js +13 -11
- package/dist/node_modules/d3-interpolate/src/transform/parse.js +10 -8
- package/dist/node_modules/d3-interpolate/src/value.js +14 -12
- package/dist/node_modules/d3-interpolate/src/zoom.js +13 -11
- package/dist/node_modules/d3-path/src/path.js +16 -14
- package/dist/node_modules/d3-sankey/node_modules/d3-array/src/max.js +4 -2
- package/dist/node_modules/d3-sankey/node_modules/d3-array/src/min.js +4 -2
- package/dist/node_modules/d3-sankey/node_modules/d3-array/src/sum.js +4 -2
- package/dist/node_modules/d3-sankey/node_modules/d3-path/src/path.js +13 -12
- package/dist/node_modules/d3-sankey/node_modules/d3-shape/src/array.js +4 -2
- package/dist/node_modules/d3-sankey/node_modules/d3-shape/src/constant.js +4 -2
- package/dist/node_modules/d3-sankey/node_modules/d3-shape/src/link/index.js +19 -17
- package/dist/node_modules/d3-sankey/node_modules/d3-shape/src/point.js +5 -3
- package/dist/node_modules/d3-sankey/src/align.js +12 -10
- package/dist/node_modules/d3-sankey/src/constant.js +4 -2
- package/dist/node_modules/d3-sankey/src/sankey.js +170 -168
- package/dist/node_modules/d3-sankey/src/sankeyLinkHorizontal.js +8 -6
- package/dist/node_modules/d3-scale/src/band.js +11 -9
- package/dist/node_modules/d3-scale/src/constant.js +4 -2
- package/dist/node_modules/d3-scale/src/continuous.js +49 -47
- package/dist/node_modules/d3-scale/src/init.js +4 -2
- package/dist/node_modules/d3-scale/src/linear.js +15 -13
- package/dist/node_modules/d3-scale/src/nice.js +4 -2
- package/dist/node_modules/d3-scale/src/number.js +4 -2
- package/dist/node_modules/d3-scale/src/ordinal.js +18 -16
- package/dist/node_modules/d3-scale/src/tickFormat.js +16 -14
- package/dist/node_modules/d3-scale/src/time.js +36 -34
- package/dist/node_modules/d3-scale-chromatic/src/categorical/Tableau10.js +5 -3
- package/dist/node_modules/d3-scale-chromatic/src/colors.js +4 -2
- package/dist/node_modules/d3-selection/src/array.js +4 -2
- package/dist/node_modules/d3-selection/src/constant.js +4 -2
- package/dist/node_modules/d3-selection/src/creator.js +12 -10
- package/dist/node_modules/d3-selection/src/matcher.js +5 -3
- package/dist/node_modules/d3-selection/src/namespace.js +7 -5
- package/dist/node_modules/d3-selection/src/namespaces.js +5 -3
- package/dist/node_modules/d3-selection/src/pointer.js +6 -4
- package/dist/node_modules/d3-selection/src/select.js +6 -4
- package/dist/node_modules/d3-selection/src/selection/append.js +6 -4
- package/dist/node_modules/d3-selection/src/selection/attr.js +19 -17
- package/dist/node_modules/d3-selection/src/selection/call.js +4 -2
- package/dist/node_modules/d3-selection/src/selection/classed.js +25 -23
- package/dist/node_modules/d3-selection/src/selection/clone.js +7 -5
- package/dist/node_modules/d3-selection/src/selection/data.js +18 -16
- package/dist/node_modules/d3-selection/src/selection/datum.js +4 -2
- package/dist/node_modules/d3-selection/src/selection/dispatch.js +12 -10
- package/dist/node_modules/d3-selection/src/selection/each.js +4 -2
- package/dist/node_modules/d3-selection/src/selection/empty.js +4 -2
- package/dist/node_modules/d3-selection/src/selection/enter.js +13 -11
- package/dist/node_modules/d3-selection/src/selection/exit.js +7 -5
- package/dist/node_modules/d3-selection/src/selection/filter.js +8 -6
- package/dist/node_modules/d3-selection/src/selection/html.js +8 -6
- package/dist/node_modules/d3-selection/src/selection/index.js +80 -79
- package/dist/node_modules/d3-selection/src/selection/insert.js +8 -6
- package/dist/node_modules/d3-selection/src/selection/iterator.js +4 -2
- package/dist/node_modules/d3-selection/src/selection/join.js +4 -2
- package/dist/node_modules/d3-selection/src/selection/lower.js +6 -4
- package/dist/node_modules/d3-selection/src/selection/merge.js +6 -4
- package/dist/node_modules/d3-selection/src/selection/node.js +4 -2
- package/dist/node_modules/d3-selection/src/selection/nodes.js +4 -2
- package/dist/node_modules/d3-selection/src/selection/on.js +11 -9
- package/dist/node_modules/d3-selection/src/selection/order.js +4 -2
- package/dist/node_modules/d3-selection/src/selection/property.js +8 -6
- package/dist/node_modules/d3-selection/src/selection/raise.js +6 -4
- package/dist/node_modules/d3-selection/src/selection/remove.js +6 -4
- package/dist/node_modules/d3-selection/src/selection/select.js +8 -6
- package/dist/node_modules/d3-selection/src/selection/selectAll.js +11 -9
- package/dist/node_modules/d3-selection/src/selection/selectChild.js +10 -8
- package/dist/node_modules/d3-selection/src/selection/selectChildren.js +10 -8
- package/dist/node_modules/d3-selection/src/selection/size.js +4 -2
- package/dist/node_modules/d3-selection/src/selection/sort.js +8 -6
- package/dist/node_modules/d3-selection/src/selection/sparse.js +4 -2
- package/dist/node_modules/d3-selection/src/selection/style.js +14 -12
- package/dist/node_modules/d3-selection/src/selection/text.js +8 -6
- package/dist/node_modules/d3-selection/src/selector.js +6 -4
- package/dist/node_modules/d3-selection/src/selectorAll.js +6 -4
- package/dist/node_modules/d3-selection/src/sourceEvent.js +4 -2
- package/dist/node_modules/d3-selection/src/window.js +4 -2
- package/dist/node_modules/d3-shape/src/arc.js +38 -36
- package/dist/node_modules/d3-shape/src/array.js +3 -2
- package/dist/node_modules/d3-shape/src/constant.js +4 -2
- package/dist/node_modules/d3-shape/src/curve/basis.js +10 -8
- package/dist/node_modules/d3-shape/src/curve/basisClosed.js +18 -16
- package/dist/node_modules/d3-shape/src/curve/basisOpen.js +9 -7
- package/dist/node_modules/d3-shape/src/curve/bump.js +15 -13
- package/dist/node_modules/d3-shape/src/curve/bundle.js +9 -7
- package/dist/node_modules/d3-shape/src/curve/cardinal.js +10 -8
- package/dist/node_modules/d3-shape/src/curve/cardinalClosed.js +12 -10
- package/dist/node_modules/d3-shape/src/curve/cardinalOpen.js +9 -7
- package/dist/node_modules/d3-shape/src/curve/catmullRom.js +19 -17
- package/dist/node_modules/d3-shape/src/curve/catmullRomClosed.js +13 -11
- package/dist/node_modules/d3-shape/src/curve/catmullRomOpen.js +10 -8
- package/dist/node_modules/d3-shape/src/curve/linear.js +7 -5
- package/dist/node_modules/d3-shape/src/curve/linearClosed.js +12 -10
- package/dist/node_modules/d3-shape/src/curve/monotone.js +23 -21
- package/dist/node_modules/d3-shape/src/curve/natural.js +9 -7
- package/dist/node_modules/d3-shape/src/curve/step.js +19 -17
- package/dist/node_modules/d3-shape/src/descending.js +4 -2
- package/dist/node_modules/d3-shape/src/identity.js +4 -2
- package/dist/node_modules/d3-shape/src/line.js +19 -17
- package/dist/node_modules/d3-shape/src/math.js +8 -6
- package/dist/node_modules/d3-shape/src/noop.js +4 -2
- package/dist/node_modules/d3-shape/src/path.js +6 -4
- package/dist/node_modules/d3-shape/src/pie.js +15 -13
- package/dist/node_modules/d3-shape/src/point.js +5 -3
- package/dist/node_modules/d3-time/src/day.js +17 -15
- package/dist/node_modules/d3-time/src/duration.js +4 -2
- package/dist/node_modules/d3-time/src/hour.js +16 -14
- package/dist/node_modules/d3-time/src/interval.js +7 -5
- package/dist/node_modules/d3-time/src/millisecond.js +7 -5
- package/dist/node_modules/d3-time/src/minute.js +16 -14
- package/dist/node_modules/d3-time/src/month.js +14 -12
- package/dist/node_modules/d3-time/src/second.js +9 -7
- package/dist/node_modules/d3-time/src/ticks.js +66 -64
- package/dist/node_modules/d3-time/src/week.js +21 -19
- package/dist/node_modules/d3-time/src/year.js +10 -8
- package/dist/node_modules/d3-time-format/src/defaultLocale.js +8 -6
- package/dist/node_modules/d3-time-format/src/locale.js +346 -344
- package/dist/node_modules/d3-timer/src/timeout.js +6 -4
- package/dist/node_modules/d3-timer/src/timer.js +33 -31
- package/dist/node_modules/d3-transition/src/index.js +2 -2
- package/dist/node_modules/d3-transition/src/interrupt.js +4 -3
- package/dist/node_modules/d3-transition/src/selection/index.js +5 -4
- package/dist/node_modules/d3-transition/src/selection/interrupt.js +6 -4
- package/dist/node_modules/d3-transition/src/selection/transition.js +16 -14
- package/dist/node_modules/d3-transition/src/transition/attr.js +28 -26
- package/dist/node_modules/d3-transition/src/transition/attrTween.js +13 -11
- package/dist/node_modules/d3-transition/src/transition/delay.js +11 -9
- package/dist/node_modules/d3-transition/src/transition/duration.js +11 -9
- package/dist/node_modules/d3-transition/src/transition/ease.js +8 -6
- package/dist/node_modules/d3-transition/src/transition/easeVarying.js +8 -6
- package/dist/node_modules/d3-transition/src/transition/end.js +6 -4
- package/dist/node_modules/d3-transition/src/transition/filter.js +8 -6
- package/dist/node_modules/d3-transition/src/transition/index.js +63 -61
- package/dist/node_modules/d3-transition/src/transition/interpolate.js +9 -7
- package/dist/node_modules/d3-transition/src/transition/merge.js +6 -4
- package/dist/node_modules/d3-transition/src/transition/on.js +9 -7
- package/dist/node_modules/d3-transition/src/transition/remove.js +6 -4
- package/dist/node_modules/d3-transition/src/transition/schedule.js +20 -18
- package/dist/node_modules/d3-transition/src/transition/select.js +10 -8
- package/dist/node_modules/d3-transition/src/transition/selectAll.js +10 -8
- package/dist/node_modules/d3-transition/src/transition/selection.js +7 -5
- package/dist/node_modules/d3-transition/src/transition/style.js +21 -19
- package/dist/node_modules/d3-transition/src/transition/styleTween.js +8 -6
- package/dist/node_modules/d3-transition/src/transition/text.js +8 -6
- package/dist/node_modules/d3-transition/src/transition/textTween.js +8 -6
- package/dist/node_modules/d3-transition/src/transition/transition.js +10 -8
- package/dist/node_modules/d3-transition/src/transition/tween.js +14 -12
- package/dist/node_modules/d3-zoom/src/constant.js +4 -2
- package/dist/node_modules/d3-zoom/src/event.js +4 -2
- package/dist/node_modules/d3-zoom/src/index.js +2 -2
- package/dist/node_modules/d3-zoom/src/noevent.js +5 -3
- package/dist/node_modules/d3-zoom/src/transform.js +12 -10
- package/dist/node_modules/d3-zoom/src/zoom.js +116 -114
- package/dist/node_modules/dagre-d3-es/src/dagre/acyclic.js +14 -12
- package/dist/node_modules/dagre-d3-es/src/dagre/add-border-segments.js +11 -9
- package/dist/node_modules/dagre-d3-es/src/dagre/coordinate-system.js +36 -34
- package/dist/node_modules/dagre-d3-es/src/dagre/data/list.js +9 -7
- package/dist/node_modules/dagre-d3-es/src/dagre/greedy-fas.js +51 -49
- package/dist/node_modules/dagre-d3-es/src/dagre/index.js +2 -2
- package/dist/node_modules/dagre-d3-es/src/dagre/layout.js +165 -163
- package/dist/node_modules/dagre-d3-es/src/dagre/nesting-graph.js +45 -43
- package/dist/node_modules/dagre-d3-es/src/dagre/normalize.js +12 -10
- package/dist/node_modules/dagre-d3-es/src/dagre/order/add-subgraph-constraints.js +6 -4
- package/dist/node_modules/dagre-d3-es/src/dagre/order/barycenter.js +8 -6
- package/dist/node_modules/dagre-d3-es/src/dagre/order/build-layer-graph.js +14 -12
- package/dist/node_modules/dagre-d3-es/src/dagre/order/cross-count.js +22 -20
- package/dist/node_modules/dagre-d3-es/src/dagre/order/index.js +36 -34
- package/dist/node_modules/dagre-d3-es/src/dagre/order/init-order.js +16 -14
- package/dist/node_modules/dagre-d3-es/src/dagre/order/resolve-conflicts.js +32 -30
- package/dist/node_modules/dagre-d3-es/src/dagre/order/sort-subgraph.js +30 -28
- package/dist/node_modules/dagre-d3-es/src/dagre/order/sort.js +20 -18
- package/dist/node_modules/dagre-d3-es/src/dagre/parent-dummy-chains.js +12 -10
- package/dist/node_modules/dagre-d3-es/src/dagre/position/bk.js +150 -148
- package/dist/node_modules/dagre-d3-es/src/dagre/position/index.js +20 -18
- package/dist/node_modules/dagre-d3-es/src/dagre/rank/feasible-tree.js +19 -17
- package/dist/node_modules/dagre-d3-es/src/dagre/rank/index.js +16 -14
- package/dist/node_modules/dagre-d3-es/src/dagre/rank/network-simplex.js +64 -63
- package/dist/node_modules/dagre-d3-es/src/dagre/rank/util.js +15 -13
- package/dist/node_modules/dagre-d3-es/src/dagre/util.js +84 -82
- package/dist/node_modules/dagre-d3-es/src/graphlib/alg/dfs.js +15 -13
- package/dist/node_modules/dagre-d3-es/src/graphlib/alg/dijkstra.js +3 -2
- package/dist/node_modules/dagre-d3-es/src/graphlib/alg/floyd-warshall.js +3 -2
- package/dist/node_modules/dagre-d3-es/src/graphlib/alg/index.js +3 -3
- package/dist/node_modules/dagre-d3-es/src/graphlib/alg/postorder.js +6 -4
- package/dist/node_modules/dagre-d3-es/src/graphlib/alg/preorder.js +6 -4
- package/dist/node_modules/dagre-d3-es/src/graphlib/alg/topsort.js +13 -11
- package/dist/node_modules/dagre-d3-es/src/graphlib/graph.js +131 -129
- package/dist/node_modules/dagre-d3-es/src/graphlib/index.js +1 -1
- package/dist/node_modules/dagre-d3-es/src/graphlib/json.js +23 -21
- package/dist/node_modules/dayjs/dayjs.min.js +6 -4
- package/dist/node_modules/dayjs/plugin/advancedFormat.js +6 -4
- package/dist/node_modules/dayjs/plugin/customParseFormat.js +6 -4
- package/dist/node_modules/dayjs/plugin/duration.js +6 -4
- package/dist/node_modules/dayjs/plugin/isoWeek.js +6 -4
- package/dist/node_modules/decode-named-character-reference/index.dom.js +7 -5
- package/dist/node_modules/devlop/lib/default.js +4 -2
- package/dist/node_modules/dompurify/dist/purify.es.js +203 -201
- package/dist/node_modules/entities/dist/esm/decode-codepoint.js +6 -4
- package/dist/node_modules/entities/dist/esm/decode.js +87 -85
- package/dist/node_modules/entities/dist/esm/generated/decode-data-html.js +4 -2
- package/dist/node_modules/estree-util-is-identifier-name/lib/index.js +6 -4
- package/dist/node_modules/extend/index.js +9 -6
- package/dist/node_modules/hast-util-from-dom/lib/index.js +32 -30
- package/dist/node_modules/hast-util-from-html-isomorphic/lib/browser.js +10 -8
- package/dist/node_modules/hast-util-from-parse5/lib/index.js +82 -80
- package/dist/node_modules/hast-util-is-element/lib/index.js +17 -15
- package/dist/node_modules/hast-util-parse-selector/lib/index.js +7 -5
- package/dist/node_modules/hast-util-raw/lib/index.js +136 -134
- package/dist/node_modules/hast-util-raw/node_modules/parse5/dist/common/doctype.js +23 -21
- package/dist/node_modules/hast-util-raw/node_modules/parse5/dist/common/error-codes.js +5 -3
- package/dist/node_modules/hast-util-raw/node_modules/parse5/dist/common/foreign-content.js +89 -89
- package/dist/node_modules/hast-util-raw/node_modules/parse5/dist/common/html.js +250 -249
- package/dist/node_modules/hast-util-raw/node_modules/parse5/dist/common/token.js +6 -4
- package/dist/node_modules/hast-util-raw/node_modules/parse5/dist/common/unicode.js +14 -14
- package/dist/node_modules/hast-util-raw/node_modules/parse5/dist/index.js +4 -4
- package/dist/node_modules/hast-util-raw/node_modules/parse5/dist/parser/formatting-element-list.js +17 -15
- package/dist/node_modules/hast-util-raw/node_modules/parse5/dist/parser/index.js +1497 -1495
- package/dist/node_modules/hast-util-raw/node_modules/parse5/dist/parser/open-element-stack.js +148 -146
- package/dist/node_modules/hast-util-raw/node_modules/parse5/dist/serializer/index.js +20 -19
- package/dist/node_modules/hast-util-raw/node_modules/parse5/dist/tokenizer/index.js +800 -798
- package/dist/node_modules/hast-util-raw/node_modules/parse5/dist/tokenizer/preprocessor.js +33 -31
- package/dist/node_modules/hast-util-raw/node_modules/parse5/dist/tree-adapters/default.js +10 -8
- package/dist/node_modules/hast-util-sanitize/lib/index.js +106 -104
- package/dist/node_modules/hast-util-sanitize/lib/schema.js +12 -11
- package/dist/node_modules/hast-util-to-html/lib/handle/comment.js +9 -7
- package/dist/node_modules/hast-util-to-html/lib/handle/doctype.js +4 -2
- package/dist/node_modules/hast-util-to-html/lib/handle/element.js +25 -23
- package/dist/node_modules/hast-util-to-html/lib/handle/index.js +22 -21
- package/dist/node_modules/hast-util-to-html/lib/handle/raw.js +6 -4
- package/dist/node_modules/hast-util-to-html/lib/handle/root.js +4 -2
- package/dist/node_modules/hast-util-to-html/lib/handle/text.js +7 -5
- package/dist/node_modules/hast-util-to-html/lib/index.js +38 -36
- package/dist/node_modules/hast-util-to-html/lib/omission/closing.js +70 -68
- package/dist/node_modules/hast-util-to-html/lib/omission/omission.js +6 -4
- package/dist/node_modules/hast-util-to-html/lib/omission/opening.js +32 -30
- package/dist/node_modules/hast-util-to-html/lib/omission/util/siblings.js +10 -9
- package/dist/node_modules/hast-util-to-jsx-runtime/lib/index.js +192 -190
- package/dist/node_modules/hast-util-to-parse5/lib/index.js +71 -69
- package/dist/node_modules/hast-util-to-text/lib/index.js +61 -59
- package/dist/node_modules/hast-util-whitespace/lib/index.js +8 -6
- package/dist/node_modules/hastscript/lib/create-h.js +26 -24
- package/dist/node_modules/hastscript/lib/index.js +7 -5
- package/dist/node_modules/hastscript/lib/svg-case-sensitive-tag-names.js +4 -2
- package/dist/node_modules/html-url-attributes/lib/index.js +4 -2
- package/dist/node_modules/html-void-elements/index.js +4 -2
- package/dist/node_modules/inline-style-parser/cjs/index.js +6 -4
- package/dist/node_modules/internmap/src/index.js +22 -20
- package/dist/node_modules/katex/dist/katex.js +2914 -2873
- package/dist/node_modules/khroma/dist/channels/index.js +23 -21
- package/dist/node_modules/khroma/dist/channels/reusable.js +5 -3
- package/dist/node_modules/khroma/dist/channels/type.js +7 -5
- package/dist/node_modules/khroma/dist/color/hex.js +10 -8
- package/dist/node_modules/khroma/dist/color/hsl.js +19 -17
- package/dist/node_modules/khroma/dist/color/index.js +17 -15
- package/dist/node_modules/khroma/dist/color/keyword.js +10 -8
- package/dist/node_modules/khroma/dist/color/rgb.js +14 -12
- package/dist/node_modules/khroma/dist/constants.js +7 -5
- package/dist/node_modules/khroma/dist/methods/adjust.js +8 -6
- package/dist/node_modules/khroma/dist/methods/adjust_channel.js +8 -6
- package/dist/node_modules/khroma/dist/methods/change.js +9 -7
- package/dist/node_modules/khroma/dist/methods/channel.js +6 -4
- package/dist/node_modules/khroma/dist/methods/darken.js +5 -3
- package/dist/node_modules/khroma/dist/methods/invert.js +8 -6
- package/dist/node_modules/khroma/dist/methods/is_dark.js +5 -3
- package/dist/node_modules/khroma/dist/methods/is_light.js +5 -3
- package/dist/node_modules/khroma/dist/methods/lighten.js +5 -3
- package/dist/node_modules/khroma/dist/methods/luminance.js +8 -6
- package/dist/node_modules/khroma/dist/methods/mix.js +8 -6
- package/dist/node_modules/khroma/dist/methods/rgba.js +15 -13
- package/dist/node_modules/khroma/dist/methods/transparentize.js +5 -0
- package/dist/node_modules/khroma/dist/utils/channel.js +8 -6
- package/dist/node_modules/khroma/dist/utils/index.js +10 -8
- package/dist/node_modules/khroma/dist/utils/lang.js +4 -2
- package/dist/node_modules/khroma/dist/utils/unit.js +4 -2
- package/dist/node_modules/langium/lib/default-module.js +66 -64
- package/dist/node_modules/langium/lib/dependency-injection.js +37 -39
- package/dist/node_modules/langium/lib/documentation/comment-provider.js +7 -5
- package/dist/node_modules/langium/lib/documentation/documentation-provider.js +8 -6
- package/dist/node_modules/langium/lib/documentation/jsdoc.js +204 -202
- package/dist/node_modules/langium/lib/languages/generated/ast.js +343 -534
- package/dist/node_modules/langium/lib/languages/grammar-config.js +10 -8
- package/dist/node_modules/langium/lib/parser/async-parser.js +4 -76
- package/dist/node_modules/langium/lib/parser/completion-parser-builder.js +8 -6
- package/dist/node_modules/langium/lib/parser/cst-node-builder.js +56 -54
- package/dist/node_modules/langium/lib/parser/langium-parser-builder.js +9 -7
- package/dist/node_modules/langium/lib/parser/langium-parser.js +190 -188
- package/dist/node_modules/langium/lib/parser/lexer.js +25 -25
- package/dist/node_modules/langium/lib/parser/parser-builder-base.js +204 -203
- package/dist/node_modules/langium/lib/parser/token-builder.js +32 -30
- package/dist/node_modules/langium/lib/parser/value-converter.js +17 -15
- package/dist/node_modules/langium/lib/references/linker.js +104 -103
- package/dist/node_modules/langium/lib/references/name-provider.js +9 -7
- package/dist/node_modules/langium/lib/references/references.js +53 -51
- package/dist/node_modules/langium/lib/references/scope-computation.js +14 -12
- package/dist/node_modules/langium/lib/references/scope-provider.js +13 -11
- package/dist/node_modules/langium/lib/references/scope.js +27 -56
- package/dist/node_modules/langium/lib/serializer/hydrator.js +71 -69
- package/dist/node_modules/langium/lib/serializer/json-serializer.js +23 -21
- package/dist/node_modules/langium/lib/service-registry.js +7 -5
- package/dist/node_modules/langium/lib/syntax-tree.js +33 -31
- package/dist/node_modules/langium/lib/utils/ast-utils.js +77 -112
- package/dist/node_modules/langium/lib/utils/caching.js +33 -42
- package/dist/node_modules/langium/lib/utils/cancellation.js +7 -5
- package/dist/node_modules/langium/lib/utils/collections.js +35 -33
- package/dist/node_modules/langium/lib/utils/cst-utils.js +46 -161
- package/dist/node_modules/langium/lib/utils/disposable.js +5 -3
- package/dist/node_modules/langium/lib/utils/errors.js +8 -9
- package/dist/node_modules/langium/lib/utils/event.js +7 -5
- package/dist/node_modules/langium/lib/utils/grammar-loader.js +16 -14
- package/dist/node_modules/langium/lib/utils/grammar-utils.js +172 -249
- package/dist/node_modules/langium/lib/utils/promise-utils.js +18 -19
- package/dist/node_modules/langium/lib/utils/regexp-utils.js +53 -76
- package/dist/node_modules/langium/lib/utils/stream.js +155 -153
- package/dist/node_modules/langium/lib/utils/uri-utils.js +14 -12
- package/dist/node_modules/langium/lib/validation/document-validator.js +104 -103
- package/dist/node_modules/langium/lib/validation/validation-registry.js +15 -14
- package/dist/node_modules/langium/lib/workspace/ast-descriptions.js +19 -17
- package/dist/node_modules/langium/lib/workspace/ast-node-locator.js +4 -2
- package/dist/node_modules/langium/lib/workspace/configuration.js +7 -5
- package/dist/node_modules/langium/lib/workspace/document-builder.js +131 -134
- package/dist/node_modules/langium/lib/workspace/documents.js +85 -83
- package/dist/node_modules/langium/lib/workspace/file-system-provider.js +5 -4
- package/dist/node_modules/langium/lib/workspace/index-manager.js +16 -14
- package/dist/node_modules/langium/lib/workspace/workspace-lock.js +11 -9
- package/dist/node_modules/langium/lib/workspace/workspace-manager.js +35 -33
- package/dist/node_modules/layout-base/layout-base.js +6 -4
- package/dist/node_modules/lodash-es/_DataView.js +6 -4
- package/dist/node_modules/lodash-es/_Hash.js +14 -13
- package/dist/node_modules/lodash-es/_ListCache.js +14 -13
- package/dist/node_modules/lodash-es/_Map.js +6 -4
- package/dist/node_modules/lodash-es/_MapCache.js +14 -13
- package/dist/node_modules/lodash-es/_Promise.js +6 -4
- package/dist/node_modules/lodash-es/_Set.js +6 -4
- package/dist/node_modules/lodash-es/_SetCache.js +10 -9
- package/dist/node_modules/lodash-es/_Stack.js +12 -11
- package/dist/node_modules/lodash-es/_Symbol.js +5 -3
- package/dist/node_modules/lodash-es/_Uint8Array.js +5 -3
- package/dist/node_modules/lodash-es/_WeakMap.js +6 -4
- package/dist/node_modules/lodash-es/_apply.js +4 -3
- package/dist/node_modules/lodash-es/_arrayEach.js +4 -3
- package/dist/node_modules/lodash-es/_arrayFilter.js +4 -3
- package/dist/node_modules/lodash-es/_arrayIncludes.js +6 -5
- package/dist/node_modules/lodash-es/_arrayIncludesWith.js +4 -3
- package/dist/node_modules/lodash-es/_arrayLikeKeys.js +13 -12
- package/dist/node_modules/lodash-es/_arrayMap.js +4 -3
- package/dist/node_modules/lodash-es/_arrayPush.js +4 -3
- package/dist/node_modules/lodash-es/_arrayReduce.js +4 -3
- package/dist/node_modules/lodash-es/_arraySome.js +4 -3
- package/dist/node_modules/lodash-es/_asciiSize.js +5 -3
- package/dist/node_modules/lodash-es/_assignMergeValue.js +7 -6
- package/dist/node_modules/lodash-es/_assignValue.js +8 -7
- package/dist/node_modules/lodash-es/_assocIndexOf.js +6 -5
- package/dist/node_modules/lodash-es/_baseAssign.js +7 -6
- package/dist/node_modules/lodash-es/_baseAssignIn.js +7 -6
- package/dist/node_modules/lodash-es/_baseAssignValue.js +6 -5
- package/dist/node_modules/lodash-es/_baseClone.js +51 -50
- package/dist/node_modules/lodash-es/_baseCreate.js +7 -5
- package/dist/node_modules/lodash-es/_baseEach.js +6 -4
- package/dist/node_modules/lodash-es/_baseExtremum.js +6 -5
- package/dist/node_modules/lodash-es/_baseFilter.js +6 -5
- package/dist/node_modules/lodash-es/_baseFindIndex.js +4 -3
- package/dist/node_modules/lodash-es/_baseFlatten.js +8 -7
- package/dist/node_modules/lodash-es/_baseFor.js +5 -3
- package/dist/node_modules/lodash-es/_baseForOwn.js +7 -6
- package/dist/node_modules/lodash-es/_baseGet.js +8 -7
- package/dist/node_modules/lodash-es/_baseGetAllKeys.js +7 -6
- package/dist/node_modules/lodash-es/_baseGetTag.js +9 -8
- package/dist/node_modules/lodash-es/_baseGt.js +4 -3
- package/dist/node_modules/lodash-es/_baseHas.js +6 -5
- package/dist/node_modules/lodash-es/_baseHasIn.js +4 -3
- package/dist/node_modules/lodash-es/_baseIndexOf.js +8 -7
- package/dist/node_modules/lodash-es/_baseIsArguments.js +8 -7
- package/dist/node_modules/lodash-es/_baseIsEqual.js +7 -6
- package/dist/node_modules/lodash-es/_baseIsEqualDeep.js +23 -22
- package/dist/node_modules/lodash-es/_baseIsMap.js +8 -7
- package/dist/node_modules/lodash-es/_baseIsMatch.js +9 -8
- package/dist/node_modules/lodash-es/_baseIsNaN.js +4 -3
- package/dist/node_modules/lodash-es/_baseIsNative.js +10 -9
- package/dist/node_modules/lodash-es/_baseIsSet.js +8 -7
- package/dist/node_modules/lodash-es/_baseIsTypedArray.js +10 -9
- package/dist/node_modules/lodash-es/_baseIteratee.js +10 -9
- package/dist/node_modules/lodash-es/_baseKeys.js +9 -8
- package/dist/node_modules/lodash-es/_baseKeysIn.js +11 -10
- package/dist/node_modules/lodash-es/_baseLt.js +4 -3
- package/dist/node_modules/lodash-es/_baseMap.js +8 -7
- package/dist/node_modules/lodash-es/_baseMatches.js +10 -9
- package/dist/node_modules/lodash-es/_baseMatchesProperty.js +15 -14
- package/dist/node_modules/lodash-es/_baseMerge.js +16 -15
- package/dist/node_modules/lodash-es/_baseMergeDeep.js +24 -23
- package/dist/node_modules/lodash-es/_baseOrderBy.js +23 -22
- package/dist/node_modules/lodash-es/_basePick.js +8 -7
- package/dist/node_modules/lodash-es/_basePickBy.js +9 -8
- package/dist/node_modules/lodash-es/_baseProperty.js +4 -3
- package/dist/node_modules/lodash-es/_basePropertyDeep.js +6 -5
- package/dist/node_modules/lodash-es/_baseRange.js +6 -5
- package/dist/node_modules/lodash-es/_baseReduce.js +4 -3
- package/dist/node_modules/lodash-es/_baseRest.js +8 -7
- package/dist/node_modules/lodash-es/_baseSet.js +14 -13
- package/dist/node_modules/lodash-es/_baseSetToString.js +10 -8
- package/dist/node_modules/lodash-es/_baseSortBy.js +4 -3
- package/dist/node_modules/lodash-es/_baseTimes.js +4 -3
- package/dist/node_modules/lodash-es/_baseToString.js +13 -12
- package/dist/node_modules/lodash-es/_baseTrim.js +7 -6
- package/dist/node_modules/lodash-es/_baseUnary.js +4 -3
- package/dist/node_modules/lodash-es/_baseUniq.js +17 -16
- package/dist/node_modules/lodash-es/_baseValues.js +6 -5
- package/dist/node_modules/lodash-es/_baseZipObject.js +4 -3
- package/dist/node_modules/lodash-es/_cacheHas.js +4 -3
- package/dist/node_modules/lodash-es/_castFunction.js +6 -5
- package/dist/node_modules/lodash-es/_castPath.js +9 -8
- package/dist/node_modules/lodash-es/_cloneArrayBuffer.js +6 -5
- package/dist/node_modules/lodash-es/_cloneBuffer.js +9 -8
- package/dist/node_modules/lodash-es/_cloneDataView.js +6 -5
- package/dist/node_modules/lodash-es/_cloneRegExp.js +6 -5
- package/dist/node_modules/lodash-es/_cloneSymbol.js +7 -6
- package/dist/node_modules/lodash-es/_cloneTypedArray.js +6 -5
- package/dist/node_modules/lodash-es/_compareAscending.js +6 -5
- package/dist/node_modules/lodash-es/_compareMultiple.js +6 -5
- package/dist/node_modules/lodash-es/_copyArray.js +4 -3
- package/dist/node_modules/lodash-es/_copyObject.js +7 -6
- package/dist/node_modules/lodash-es/_copySymbols.js +7 -6
- package/dist/node_modules/lodash-es/_copySymbolsIn.js +7 -6
- package/dist/node_modules/lodash-es/_coreJsData.js +5 -3
- package/dist/node_modules/lodash-es/_createAssigner.js +8 -7
- package/dist/node_modules/lodash-es/_createBaseEach.js +6 -5
- package/dist/node_modules/lodash-es/_createBaseFor.js +4 -3
- package/dist/node_modules/lodash-es/_createFind.js +10 -9
- package/dist/node_modules/lodash-es/_createRange.js +8 -7
- package/dist/node_modules/lodash-es/_createSet.js +9 -7
- package/dist/node_modules/lodash-es/_defineProperty.js +6 -4
- package/dist/node_modules/lodash-es/_equalArrays.js +12 -11
- package/dist/node_modules/lodash-es/_equalByTag.js +29 -28
- package/dist/node_modules/lodash-es/_equalObjects.js +9 -8
- package/dist/node_modules/lodash-es/_flatRest.js +8 -7
- package/dist/node_modules/lodash-es/_freeGlobal.js +4 -2
- package/dist/node_modules/lodash-es/_getAllKeys.js +8 -7
- package/dist/node_modules/lodash-es/_getAllKeysIn.js +8 -7
- package/dist/node_modules/lodash-es/_getMapData.js +6 -5
- package/dist/node_modules/lodash-es/_getMatchData.js +8 -7
- package/dist/node_modules/lodash-es/_getNative.js +8 -7
- package/dist/node_modules/lodash-es/_getPrototype.js +5 -3
- package/dist/node_modules/lodash-es/_getRawTag.js +10 -9
- package/dist/node_modules/lodash-es/_getSymbols.js +9 -7
- package/dist/node_modules/lodash-es/_getSymbolsIn.js +10 -8
- package/dist/node_modules/lodash-es/_getTag.js +21 -19
- package/dist/node_modules/lodash-es/_getValue.js +4 -3
- package/dist/node_modules/lodash-es/_hasPath.js +13 -12
- package/dist/node_modules/lodash-es/_hasUnicode.js +6 -5
- package/dist/node_modules/lodash-es/_hashClear.js +6 -5
- package/dist/node_modules/lodash-es/_hashDelete.js +5 -4
- package/dist/node_modules/lodash-es/_hashGet.js +9 -8
- package/dist/node_modules/lodash-es/_hashHas.js +7 -6
- package/dist/node_modules/lodash-es/_hashSet.js +7 -6
- package/dist/node_modules/lodash-es/_initCloneArray.js +6 -5
- package/dist/node_modules/lodash-es/_initCloneByTag.js +29 -28
- package/dist/node_modules/lodash-es/_initCloneObject.js +8 -7
- package/dist/node_modules/lodash-es/_isFlattenable.js +9 -8
- package/dist/node_modules/lodash-es/_isIndex.js +6 -5
- package/dist/node_modules/lodash-es/_isIterateeCall.js +10 -9
- package/dist/node_modules/lodash-es/_isKey.js +9 -8
- package/dist/node_modules/lodash-es/_isKeyable.js +4 -3
- package/dist/node_modules/lodash-es/_isMasked.js +9 -8
- package/dist/node_modules/lodash-es/_isPrototype.js +6 -5
- package/dist/node_modules/lodash-es/_isStrictComparable.js +6 -5
- package/dist/node_modules/lodash-es/_listCacheClear.js +4 -3
- package/dist/node_modules/lodash-es/_listCacheDelete.js +8 -7
- package/dist/node_modules/lodash-es/_listCacheGet.js +6 -5
- package/dist/node_modules/lodash-es/_listCacheHas.js +6 -5
- package/dist/node_modules/lodash-es/_listCacheSet.js +6 -5
- package/dist/node_modules/lodash-es/_mapCacheClear.js +10 -9
- package/dist/node_modules/lodash-es/_mapCacheDelete.js +7 -6
- package/dist/node_modules/lodash-es/_mapCacheGet.js +6 -5
- package/dist/node_modules/lodash-es/_mapCacheHas.js +6 -5
- package/dist/node_modules/lodash-es/_mapCacheSet.js +6 -5
- package/dist/node_modules/lodash-es/_mapToArray.js +4 -3
- package/dist/node_modules/lodash-es/_matchesStrictComparable.js +4 -3
- package/dist/node_modules/lodash-es/_memoizeCapped.js +8 -7
- package/dist/node_modules/lodash-es/_nativeCreate.js +5 -3
- package/dist/node_modules/lodash-es/_nativeKeys.js +5 -3
- package/dist/node_modules/lodash-es/_nativeKeysIn.js +4 -3
- package/dist/node_modules/lodash-es/_nodeUtil.js +6 -4
- package/dist/node_modules/lodash-es/_objectToString.js +6 -5
- package/dist/node_modules/lodash-es/_overArg.js +4 -3
- package/dist/node_modules/lodash-es/_overRest.js +9 -8
- package/dist/node_modules/lodash-es/_root.js +5 -3
- package/dist/node_modules/lodash-es/_safeGet.js +4 -3
- package/dist/node_modules/lodash-es/_setCacheAdd.js +6 -5
- package/dist/node_modules/lodash-es/_setCacheHas.js +4 -3
- package/dist/node_modules/lodash-es/_setToArray.js +4 -3
- package/dist/node_modules/lodash-es/_setToString.js +6 -4
- package/dist/node_modules/lodash-es/_shortOut.js +7 -6
- package/dist/node_modules/lodash-es/_stackClear.js +6 -5
- package/dist/node_modules/lodash-es/_stackDelete.js +4 -3
- package/dist/node_modules/lodash-es/_stackGet.js +4 -3
- package/dist/node_modules/lodash-es/_stackHas.js +4 -3
- package/dist/node_modules/lodash-es/_stackSet.js +11 -10
- package/dist/node_modules/lodash-es/_strictIndexOf.js +4 -3
- package/dist/node_modules/lodash-es/_stringSize.js +8 -7
- package/dist/node_modules/lodash-es/_stringToPath.js +7 -5
- package/dist/node_modules/lodash-es/_toKey.js +8 -7
- package/dist/node_modules/lodash-es/_toSource.js +8 -7
- package/dist/node_modules/lodash-es/_trimmedEndIndex.js +6 -5
- package/dist/node_modules/lodash-es/_unicodeSize.js +17 -16
- package/dist/node_modules/lodash-es/clone.js +7 -6
- package/dist/node_modules/lodash-es/cloneDeep.js +7 -6
- package/dist/node_modules/lodash-es/constant.js +4 -3
- package/dist/node_modules/lodash-es/defaults.js +13 -11
- package/dist/node_modules/lodash-es/eq.js +4 -3
- package/dist/node_modules/lodash-es/filter.js +9 -8
- package/dist/node_modules/lodash-es/find.js +6 -4
- package/dist/node_modules/lodash-es/findIndex.js +10 -9
- package/dist/node_modules/lodash-es/flatMap.js +7 -6
- package/dist/node_modules/lodash-es/flatten.js +6 -5
- package/dist/node_modules/lodash-es/forEach.js +9 -8
- package/dist/node_modules/lodash-es/forIn.js +8 -7
- package/dist/node_modules/lodash-es/forOwn.js +7 -6
- package/dist/node_modules/lodash-es/get.js +6 -5
- package/dist/node_modules/lodash-es/has.js +7 -6
- package/dist/node_modules/lodash-es/hasIn.js +7 -6
- package/dist/node_modules/lodash-es/identity.js +4 -3
- package/dist/node_modules/lodash-es/isArguments.js +8 -6
- package/dist/node_modules/lodash-es/isArray.js +4 -2
- package/dist/node_modules/lodash-es/isArrayLike.js +7 -6
- package/dist/node_modules/lodash-es/isArrayLikeObject.js +7 -6
- package/dist/node_modules/lodash-es/isBuffer.js +6 -4
- package/dist/node_modules/lodash-es/isEmpty.js +18 -17
- package/dist/node_modules/lodash-es/isFunction.js +10 -9
- package/dist/node_modules/lodash-es/isLength.js +6 -5
- package/dist/node_modules/lodash-es/isMap.js +7 -5
- package/dist/node_modules/lodash-es/isObject.js +4 -3
- package/dist/node_modules/lodash-es/isObjectLike.js +4 -3
- package/dist/node_modules/lodash-es/isPlainObject.js +13 -12
- package/dist/node_modules/lodash-es/isSet.js +7 -5
- package/dist/node_modules/lodash-es/isString.js +9 -8
- package/dist/node_modules/lodash-es/isSymbol.js +8 -7
- package/dist/node_modules/lodash-es/isTypedArray.js +7 -5
- package/dist/node_modules/lodash-es/isUndefined.js +4 -3
- package/dist/node_modules/lodash-es/keys.js +8 -7
- package/dist/node_modules/lodash-es/keysIn.js +8 -7
- package/dist/node_modules/lodash-es/last.js +4 -3
- package/dist/node_modules/lodash-es/map.js +9 -8
- package/dist/node_modules/lodash-es/mapValues.js +9 -8
- package/dist/node_modules/lodash-es/max.js +8 -7
- package/dist/node_modules/lodash-es/memoize.js +9 -8
- package/dist/node_modules/lodash-es/merge.js +7 -5
- package/dist/node_modules/lodash-es/min.js +8 -7
- package/dist/node_modules/lodash-es/minBy.js +8 -7
- package/dist/node_modules/lodash-es/noop.js +4 -3
- package/dist/node_modules/lodash-es/now.js +6 -4
- package/dist/node_modules/lodash-es/pick.js +7 -5
- package/dist/node_modules/lodash-es/property.js +9 -8
- package/dist/node_modules/lodash-es/range.js +5 -3
- package/dist/node_modules/lodash-es/reduce.js +11 -10
- package/dist/node_modules/lodash-es/size.js +13 -12
- package/dist/node_modules/lodash-es/sortBy.js +9 -7
- package/dist/node_modules/lodash-es/stubArray.js +4 -3
- package/dist/node_modules/lodash-es/stubFalse.js +4 -3
- package/dist/node_modules/lodash-es/toFinite.js +7 -6
- package/dist/node_modules/lodash-es/toInteger.js +6 -5
- package/dist/node_modules/lodash-es/toNumber.js +14 -13
- package/dist/node_modules/lodash-es/toPlainObject.js +7 -6
- package/dist/node_modules/lodash-es/toString.js +6 -5
- package/dist/node_modules/lodash-es/union.js +9 -7
- package/dist/node_modules/lodash-es/uniqBy.js +7 -6
- package/dist/node_modules/lodash-es/uniqueId.js +8 -7
- package/dist/node_modules/lodash-es/values.js +7 -6
- package/dist/node_modules/lodash-es/zipObject.js +7 -6
- package/dist/node_modules/longest-streak/index.js +4 -2
- package/dist/node_modules/markdown-table/index.js +11 -9
- package/dist/node_modules/marked/lib/marked.esm.js +687 -685
- package/dist/node_modules/mdast-util-find-and-replace/lib/index.js +14 -12
- package/dist/node_modules/mdast-util-find-and-replace/node_modules/escape-string-regexp/index.js +4 -2
- package/dist/node_modules/mdast-util-from-markdown/lib/index.js +182 -180
- package/dist/node_modules/mdast-util-gfm/lib/index.js +20 -18
- package/dist/node_modules/mdast-util-gfm-autolink-literal/lib/index.js +69 -67
- package/dist/node_modules/mdast-util-gfm-footnote/lib/index.js +47 -45
- package/dist/node_modules/mdast-util-gfm-strikethrough/lib/index.js +15 -13
- package/dist/node_modules/mdast-util-gfm-table/lib/index.js +30 -28
- package/dist/node_modules/mdast-util-gfm-task-list-item/lib/index.js +16 -14
- package/dist/node_modules/mdast-util-math/lib/index.js +15 -13
- package/dist/node_modules/mdast-util-phrasing/lib/index.js +5 -3
- package/dist/node_modules/mdast-util-to-hast/lib/footer.js +11 -9
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/blockquote.js +4 -2
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/break.js +4 -2
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/code.js +4 -2
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/delete.js +4 -2
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/emphasis.js +4 -2
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/footnote-reference.js +6 -4
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/heading.js +4 -2
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/html.js +4 -2
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/image-reference.js +8 -6
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/image.js +6 -4
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/index.js +55 -53
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/inline-code.js +4 -2
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/link-reference.js +8 -6
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/link.js +6 -4
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/list-item.js +15 -13
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/list.js +4 -2
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/paragraph.js +4 -2
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/root.js +4 -2
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/strong.js +4 -2
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/table-cell.js +4 -2
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/table-row.js +4 -2
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/table.js +6 -4
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/text.js +6 -4
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/thematic-break.js +4 -2
- package/dist/node_modules/mdast-util-to-hast/lib/index.js +8 -6
- package/dist/node_modules/mdast-util-to-hast/lib/revert.js +4 -2
- package/dist/node_modules/mdast-util-to-hast/lib/state.js +61 -59
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/blockquote.js +6 -4
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/break.js +6 -4
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/code.js +18 -16
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/definition.js +6 -4
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/emphasis.js +14 -12
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/heading.js +8 -6
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/html.js +6 -4
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/image-reference.js +6 -4
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/image.js +8 -6
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/index.js +43 -41
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/inline-code.js +7 -5
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/link-reference.js +6 -4
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/link.js +11 -9
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/list-item.js +7 -5
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/list.js +12 -10
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/paragraph.js +4 -2
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/root.js +6 -4
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/strong.js +14 -12
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/text.js +4 -2
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/thematic-break.js +7 -5
- package/dist/node_modules/mdast-util-to-markdown/lib/util/check-bullet-ordered.js +4 -2
- package/dist/node_modules/mdast-util-to-markdown/lib/util/check-bullet-other.js +6 -4
- package/dist/node_modules/mdast-util-to-markdown/lib/util/check-bullet.js +4 -2
- package/dist/node_modules/mdast-util-to-markdown/lib/util/check-emphasis.js +4 -2
- package/dist/node_modules/mdast-util-to-markdown/lib/util/check-fence.js +4 -2
- package/dist/node_modules/mdast-util-to-markdown/lib/util/check-list-item-indent.js +4 -2
- package/dist/node_modules/mdast-util-to-markdown/lib/util/check-quote.js +4 -2
- package/dist/node_modules/mdast-util-to-markdown/lib/util/check-rule-repetition.js +4 -2
- package/dist/node_modules/mdast-util-to-markdown/lib/util/check-rule.js +4 -2
- package/dist/node_modules/mdast-util-to-markdown/lib/util/check-strong.js +4 -2
- package/dist/node_modules/mdast-util-to-markdown/lib/util/encode-character-reference.js +4 -2
- package/dist/node_modules/mdast-util-to-markdown/lib/util/encode-info.js +6 -4
- package/dist/node_modules/mdast-util-to-markdown/lib/util/format-code-as-indented.js +4 -2
- package/dist/node_modules/mdast-util-to-markdown/lib/util/format-heading-as-setext.js +8 -7
- package/dist/node_modules/mdast-util-to-markdown/lib/util/format-link-as-autolink.js +6 -4
- package/dist/node_modules/mdast-util-to-markdown/lib/util/pattern-in-scope.js +6 -4
- package/dist/node_modules/mdast-util-to-string/lib/index.js +14 -12
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/architectureDiagram-Q4EWVU46.js +695 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/blockDiagram-DXYQGD6D.js +3038 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/{c4Diagram-YG6GDRKO.js → c4Diagram-AHTNJAMY.js} +581 -573
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-336JU56O.js +49 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-426QAEUC.js +11 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-4BX2VUAB.js +6 -4
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/{chunk-B4BG7PRW.js → chunk-4TB4RGXK.js} +590 -444
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-55IACEB6.js +7 -5
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-5FUZZQ4R.js +3640 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-5PVQY5BW.js +342 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-AGHRB4JF.js +22 -20
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-BSJP7CBP.js +82 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-EDXVE4YY.js +25 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-ENJZ2VHE.js +570 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-FMBD7UC4.js +5 -3
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-ICPOFSXX.js +2348 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-OYMX7WX6.js +2014 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-QZHKN3VN.js +8 -4
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-U2HBQHQK.js +274 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-X2U36JSP.js +67 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-XPW4576I.js +1146 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-YZCP3GAM.js +62 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-ZZ45TVLE.js +32 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/classDiagram-6PBFFD2Q.js +29 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/classDiagram-v2-HSJHXN6E.js +29 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/cose-bilkent-S5V4N54A.js +116 -114
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/dagre-KV5264BT.js +265 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/diagram-5BDNPKRD.js +101 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/diagram-G4DWMVQ6.js +284 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/diagram-MMDJMWI5.js +213 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/diagram-TYMM5635.js +133 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/{erDiagram-Q2GNP2WA.js → erDiagram-SMLLAGMA.js} +549 -445
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/{flowDiagram-NV44I4VS.js → flowDiagram-DWJPFMVM.js} +1366 -1345
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/ganttDiagram-T4ZO3ILL.js +1720 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/gitGraphDiagram-UUTBAWPF.js +730 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/infoDiagram-42DDH7IO.js +19 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/ishikawaDiagram-UXIWVN3A.js +718 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/journeyDiagram-VCZTEJTY.js +885 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/{kanban-definition-3W4ZIXB7.js → kanban-definition-6JOO6SKY.js} +124 -118
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/{mindmap-definition-VGOIOE7T.js → mindmap-definition-QFDTVHPH.js} +172 -122
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/pieDiagram-DEJITSTG.js +119 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/{quadrantDiagram-AYHSOK5B.js → quadrantDiagram-34T5L4WZ.js} +279 -273
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/{requirementDiagram-UZGBJVZJ.js → requirementDiagram-MS252O5E.js} +100 -66
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/sankeyDiagram-XADWPNL6.js +529 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/sequenceDiagram-FGHM5R23.js +4159 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/stateDiagram-FHFEXIEX.js +222 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/stateDiagram-v2-QKLJ7IA2.js +27 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/timeline-definition-GMOUNBTQ.js +1073 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/vennDiagram-DHZGUBPP.js +961 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/wardleyDiagram-NUSXRM2D.js +578 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/xychartDiagram-5P7HB3ND.js +2000 -0
- package/dist/node_modules/mermaid/dist/mermaid.core.js +492 -445
- package/dist/node_modules/micromark/lib/constructs.js +80 -79
- package/dist/node_modules/micromark/lib/create-tokenizer.js +14 -12
- package/dist/node_modules/micromark/lib/initialize/content.js +9 -7
- package/dist/node_modules/micromark/lib/initialize/document.js +15 -14
- package/dist/node_modules/micromark/lib/initialize/flow.js +9 -7
- package/dist/node_modules/micromark/lib/initialize/text.js +8 -6
- package/dist/node_modules/micromark/lib/parse.js +20 -18
- package/dist/node_modules/micromark/lib/postprocess.js +6 -4
- package/dist/node_modules/micromark/lib/preprocess.js +6 -4
- package/dist/node_modules/micromark-core-commonmark/lib/attention.js +20 -18
- package/dist/node_modules/micromark-core-commonmark/lib/autolink.js +17 -15
- package/dist/node_modules/micromark-core-commonmark/lib/blank-line.js +11 -9
- package/dist/node_modules/micromark-core-commonmark/lib/block-quote.js +15 -13
- package/dist/node_modules/micromark-core-commonmark/lib/character-escape.js +8 -6
- package/dist/node_modules/micromark-core-commonmark/lib/character-reference.js +16 -14
- package/dist/node_modules/micromark-core-commonmark/lib/code-fenced.js +22 -21
- package/dist/node_modules/micromark-core-commonmark/lib/code-indented.js +16 -15
- package/dist/node_modules/micromark-core-commonmark/lib/code-text.js +13 -11
- package/dist/node_modules/micromark-core-commonmark/lib/content.js +18 -17
- package/dist/node_modules/micromark-core-commonmark/lib/definition.js +30 -29
- package/dist/node_modules/micromark-core-commonmark/lib/hard-break-escape.js +8 -6
- package/dist/node_modules/micromark-core-commonmark/lib/heading-atx.js +15 -13
- package/dist/node_modules/micromark-core-commonmark/lib/html-flow.js +68 -67
- package/dist/node_modules/micromark-core-commonmark/lib/html-text.js +66 -64
- package/dist/node_modules/micromark-core-commonmark/lib/label-end.js +112 -111
- package/dist/node_modules/micromark-core-commonmark/lib/label-start-image.js +8 -6
- package/dist/node_modules/micromark-core-commonmark/lib/label-start-link.js +8 -6
- package/dist/node_modules/micromark-core-commonmark/lib/line-ending.js +8 -6
- package/dist/node_modules/micromark-core-commonmark/lib/list.js +32 -31
- package/dist/node_modules/micromark-core-commonmark/lib/setext-underline.js +12 -10
- package/dist/node_modules/micromark-core-commonmark/lib/thematic-break.js +11 -9
- package/dist/node_modules/micromark-extension-gfm/index.js +16 -14
- package/dist/node_modules/micromark-extension-gfm-autolink-literal/lib/syntax.js +122 -120
- package/dist/node_modules/micromark-extension-gfm-footnote/lib/syntax.js +33 -31
- package/dist/node_modules/micromark-extension-gfm-strikethrough/lib/syntax.js +11 -9
- package/dist/node_modules/micromark-extension-gfm-table/lib/edit-map.js +6 -4
- package/dist/node_modules/micromark-extension-gfm-table/lib/infer.js +4 -2
- package/dist/node_modules/micromark-extension-gfm-table/lib/syntax.js +36 -34
- package/dist/node_modules/micromark-extension-gfm-task-list-item/lib/syntax.js +20 -18
- package/dist/node_modules/micromark-extension-math/lib/math-flow.js +21 -20
- package/dist/node_modules/micromark-extension-math/lib/math-text.js +11 -9
- package/dist/node_modules/micromark-extension-math/lib/syntax.js +8 -6
- package/dist/node_modules/micromark-factory-destination/index.js +10 -8
- package/dist/node_modules/micromark-factory-label/index.js +7 -5
- package/dist/node_modules/micromark-factory-space/index.js +7 -5
- package/dist/node_modules/micromark-factory-title/index.js +8 -6
- package/dist/node_modules/micromark-factory-whitespace/index.js +7 -5
- package/dist/node_modules/micromark-util-character/index.js +14 -12
- package/dist/node_modules/micromark-util-chunked/index.js +6 -4
- package/dist/node_modules/micromark-util-classify-character/index.js +7 -5
- package/dist/node_modules/micromark-util-combine-extensions/index.js +13 -11
- package/dist/node_modules/micromark-util-decode-numeric-character-reference/index.js +4 -2
- package/dist/node_modules/micromark-util-decode-string/index.js +11 -9
- package/dist/node_modules/micromark-util-html-tag-name/index.js +4 -2
- package/dist/node_modules/micromark-util-normalize-identifier/index.js +4 -2
- package/dist/node_modules/micromark-util-resolve-all/index.js +4 -2
- package/dist/node_modules/micromark-util-sanitize-uri/index.js +6 -4
- package/dist/node_modules/micromark-util-subtokenize/index.js +10 -8
- package/dist/node_modules/micromark-util-subtokenize/lib/splice-buffer.js +10 -8
- package/dist/node_modules/motion/dist/es/react.js +2 -2
- package/dist/node_modules/nanoid/index.browser.js +6 -4
- package/dist/node_modules/nanoid/url-alphabet/index.js +4 -2
- package/dist/node_modules/property-information/index.js +25 -23
- package/dist/node_modules/property-information/lib/aria.js +41 -39
- package/dist/node_modules/property-information/lib/find.js +18 -16
- package/dist/node_modules/property-information/lib/hast-to-react.js +4 -2
- package/dist/node_modules/property-information/lib/html.js +96 -94
- package/dist/node_modules/property-information/lib/normalize.js +4 -2
- package/dist/node_modules/property-information/lib/svg.js +79 -77
- package/dist/node_modules/property-information/lib/util/case-insensitive-transform.js +6 -4
- package/dist/node_modules/property-information/lib/util/case-sensitive-transform.js +4 -2
- package/dist/node_modules/property-information/lib/util/create.js +10 -8
- package/dist/node_modules/property-information/lib/util/defined-info.js +13 -11
- package/dist/node_modules/property-information/lib/util/info.js +5 -3
- package/dist/node_modules/property-information/lib/util/merge.js +6 -4
- package/dist/node_modules/property-information/lib/util/schema.js +5 -3
- package/dist/node_modules/property-information/lib/util/types.js +15 -14
- package/dist/node_modules/property-information/lib/xlink.js +5 -3
- package/dist/node_modules/property-information/lib/xml.js +5 -3
- package/dist/node_modules/property-information/lib/xmlns.js +7 -5
- package/dist/node_modules/rehype-harden/dist/index.js +47 -45
- package/dist/node_modules/rehype-katex/lib/index.js +25 -23
- package/dist/node_modules/rehype-raw/lib/index.js +6 -4
- package/dist/node_modules/rehype-sanitize/lib/index.js +6 -4
- package/dist/node_modules/remark-gfm/lib/index.js +9 -7
- package/dist/node_modules/remark-math/lib/index.js +9 -7
- package/dist/node_modules/remark-parse/lib/index.js +6 -4
- package/dist/node_modules/remark-rehype/lib/index.js +7 -5
- package/dist/node_modules/remend/dist/index.js +368 -297
- package/dist/node_modules/roughjs/bundled/rough.esm.js +877 -875
- package/dist/node_modules/shiki/dist/bundle-full.js +13 -11
- package/dist/node_modules/shiki/dist/chunk-CtajNgzt.js +17 -0
- package/dist/node_modules/shiki/dist/engine-oniguruma.js +7 -0
- package/dist/node_modules/shiki/dist/{langs.js → langs-bundle-full-DfKZStlK.js} +8 -6
- package/dist/node_modules/shiki/dist/themes.js +6 -4
- package/dist/node_modules/shiki/dist/wasm.js +2 -2
- package/dist/node_modules/space-separated-tokens/index.js +5 -3
- package/dist/node_modules/streamdown/dist/chunk-BO2N2NFS.js +2500 -0
- package/dist/node_modules/streamdown/dist/highlighted-body-OFNGDK62.js +37 -0
- package/dist/node_modules/streamdown/dist/index.js +1 -1
- package/dist/node_modules/streamdown/dist/mermaid-GHXKKRXX.js +3 -0
- package/dist/node_modules/streamdown/node_modules/marked/lib/marked.esm.js +701 -699
- package/dist/node_modules/stringify-entities/lib/constant/dangerous.js +4 -2
- package/dist/node_modules/stringify-entities/lib/core.js +18 -16
- package/dist/node_modules/stringify-entities/lib/index.js +7 -5
- package/dist/node_modules/stringify-entities/lib/util/format-smart.js +10 -8
- package/dist/node_modules/stringify-entities/lib/util/to-decimal.js +6 -4
- package/dist/node_modules/stringify-entities/lib/util/to-hexadecimal.js +6 -4
- package/dist/node_modules/stringify-entities/lib/util/to-named.js +14 -12
- package/dist/node_modules/style-to-js/cjs/index.js +9 -7
- package/dist/node_modules/style-to-js/cjs/utilities.js +6 -4
- package/dist/node_modules/style-to-object/cjs/index.js +8 -6
- package/dist/node_modules/stylis/src/Enum.js +4 -2
- package/dist/node_modules/stylis/src/Parser.js +38 -36
- package/dist/node_modules/stylis/src/Serializer.js +17 -15
- package/dist/node_modules/stylis/src/Tokenizer.js +53 -51
- package/dist/node_modules/stylis/src/Utility.js +17 -15
- package/dist/node_modules/trim-lines/index.js +10 -8
- package/dist/node_modules/trough/lib/index.js +6 -4
- package/dist/node_modules/ts-dedent/esm/index.js +4 -2
- package/dist/node_modules/unified/lib/callable-instance.js +4 -2
- package/dist/node_modules/unified/lib/index.js +102 -101
- package/dist/node_modules/unified/node_modules/is-plain-obj/index.js +4 -2
- package/dist/node_modules/unist-util-find-after/lib/index.js +6 -4
- package/dist/node_modules/unist-util-is/lib/index.js +31 -29
- package/dist/node_modules/unist-util-position/lib/index.js +7 -5
- package/dist/node_modules/unist-util-stringify-position/lib/index.js +10 -8
- package/dist/node_modules/unist-util-visit/lib/index.js +6 -4
- package/dist/node_modules/unist-util-visit-parents/lib/color.js +4 -2
- package/dist/node_modules/unist-util-visit-parents/lib/index.js +21 -20
- package/dist/node_modules/uuid/dist/esm-browser/native.js +3 -2
- package/dist/node_modules/uuid/dist/esm-browser/rng.js +8 -6
- package/dist/node_modules/uuid/dist/esm-browser/stringify.js +7 -5
- package/dist/node_modules/uuid/dist/esm-browser/v4.js +10 -9
- package/dist/node_modules/vaul/dist/index.js +276 -274
- package/dist/node_modules/vfile/lib/index.js +44 -42
- package/dist/node_modules/vfile/lib/minpath.browser.js +22 -20
- package/dist/node_modules/vfile/lib/minproc.browser.js +5 -3
- package/dist/node_modules/vfile/lib/minurl.browser.js +8 -6
- package/dist/node_modules/vfile/lib/minurl.shared.js +4 -2
- package/dist/node_modules/vfile-location/lib/index.js +7 -5
- package/dist/node_modules/vfile-message/lib/index.js +7 -5
- package/dist/node_modules/vscode-jsonrpc/browser.js +8 -6
- package/dist/node_modules/vscode-jsonrpc/lib/browser/main.js +11 -9
- package/dist/node_modules/vscode-jsonrpc/lib/browser/ril.js +8 -6
- package/dist/node_modules/vscode-jsonrpc/lib/common/api.js +28 -26
- package/dist/node_modules/vscode-jsonrpc/lib/common/cancellation.js +17 -15
- package/dist/node_modules/vscode-jsonrpc/lib/common/connection.js +13 -11
- package/dist/node_modules/vscode-jsonrpc/lib/common/disposable.js +6 -4
- package/dist/node_modules/vscode-jsonrpc/lib/common/events.js +8 -6
- package/dist/node_modules/vscode-jsonrpc/lib/common/is.js +6 -4
- package/dist/node_modules/vscode-jsonrpc/lib/common/linkedMap.js +6 -4
- package/dist/node_modules/vscode-jsonrpc/lib/common/messageBuffer.js +6 -4
- package/dist/node_modules/vscode-jsonrpc/lib/common/messageReader.js +11 -9
- package/dist/node_modules/vscode-jsonrpc/lib/common/messageWriter.js +31 -29
- package/dist/node_modules/vscode-jsonrpc/lib/common/messages.js +8 -6
- package/dist/node_modules/vscode-jsonrpc/lib/common/ral.js +6 -4
- package/dist/node_modules/vscode-jsonrpc/lib/common/semaphore.js +8 -6
- package/dist/node_modules/vscode-jsonrpc/lib/common/sharedArrayCancellation.js +8 -6
- package/dist/node_modules/vscode-languageserver-protocol/lib/browser/main.js +10 -8
- package/dist/node_modules/vscode-languageserver-protocol/lib/common/api.js +23 -21
- package/dist/node_modules/vscode-languageserver-protocol/lib/common/connection.js +8 -6
- package/dist/node_modules/vscode-languageserver-protocol/lib/common/messages.js +8 -6
- package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.callHierarchy.js +8 -6
- package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.colorProvider.js +8 -6
- package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.configuration.js +8 -6
- package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.declaration.js +8 -6
- package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.diagnostic.js +14 -12
- package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.fileOperations.js +8 -6
- package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.foldingRange.js +8 -6
- package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.implementation.js +8 -6
- package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.inlayHint.js +8 -6
- package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.inlineCompletion.js +8 -6
- package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.inlineValue.js +8 -6
- package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.js +55 -53
- package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.linkedEditingRange.js +8 -6
- package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.moniker.js +8 -6
- package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.notebook.js +10 -8
- package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.progress.js +12 -10
- package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.selectionRange.js +8 -6
- package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.semanticTokens.js +8 -6
- package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.showDocument.js +8 -6
- package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.typeDefinition.js +8 -6
- package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.typeHierarchy.js +8 -6
- package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.workspaceFolder.js +8 -6
- package/dist/node_modules/vscode-languageserver-protocol/lib/common/utils/is.js +6 -4
- package/dist/node_modules/vscode-languageserver-textdocument/lib/esm/main.js +21 -19
- package/dist/node_modules/vscode-languageserver-types/lib/esm/main.js +849 -847
- package/dist/node_modules/vscode-uri/lib/esm/index.js +6 -4
- package/dist/node_modules/web-namespaces/index.js +4 -2
- package/dist/node_modules/zwitch/index.js +7 -5
- package/dist/packages/contracts/dist/enums/index.js +21 -20
- package/dist/packages/contracts/dist/enums/registry.enum.js +6 -4
- package/dist/packages/contracts/dist/enums/sort-order.enum.js +6 -4
- package/dist/packages/contracts/dist/enums/user-type.enum.js +6 -4
- package/dist/packages/contracts/dist/enums/workflow-state.enum.js +7 -5
- package/dist/pages/DashboardPage.js +55 -99
- package/dist/pages/DebugPage.js +12 -17
- package/dist/pages/DebugWorkflowDetailsPage.js +91 -119
- package/dist/pages/DebugWorkflowsPage.js +44 -42
- package/dist/pages/EmbedWorkbenchPage.js +49 -73
- package/dist/pages/PreviewWorkbenchPage.js +242 -448
- package/dist/pages/RunsListPage.js +44 -61
- package/dist/pages/RunsPage.js +31 -48
- package/dist/pages/StudioLandingPage.js +97 -132
- package/dist/pages/WorkbenchPage.js +56 -86
- package/dist/pages/WorkflowDebugPage.js +78 -0
- package/dist/pages/WorkspacePage.js +72 -113
- package/dist/pages/WorkspaceRunsPage.js +43 -70
- package/dist/pages/WorkspacesPage.js +24 -35
- package/dist/providers/ComponentOverridesProvider.js +9 -12
- package/dist/providers/InvalidationEventsProvider.js +33 -35
- package/dist/providers/QueryProvider.js +14 -18
- package/dist/providers/SseProvider.js +28 -30
- package/dist/providers/StudioProvider.js +14 -19
- package/dist/routing/LocalRouter.js +20 -26
- package/dist/services/createApiClient.js +7 -5
- package/dist/services/eventEmitter.js +3 -2
- package/dist/services/index.js +2 -2
- package/dist/types/ai.types.js +7 -5
- package/package.json +33 -33
- package/dist/_virtual/rolldown_runtime.js +0 -20
- package/dist/api/namespaces.js +0 -7
- package/dist/api/pipelines.js +0 -13
- package/dist/components/ai-elements/tool.js +0 -158
- package/dist/components/ui-widgets/widgets/SecretInput.js +0 -42
- package/dist/features/debug/components/PipelineDebugHeader.js +0 -48
- package/dist/features/debug/components/PipelineDebugLegend.js +0 -68
- package/dist/features/debug/components/PipelineFlowViewer.js +0 -110
- package/dist/features/debug/components/pipeline-flow/StateNode.js +0 -111
- package/dist/features/debug/components/pipeline-flow/WorkflowGraph.js +0 -41
- package/dist/features/debug/components/pipeline-flow/WorkflowTransitionEdge.js +0 -97
- package/dist/features/workbench/NavigationItems.js +0 -52
- package/dist/features/workbench/WorkbenchNavigation.js +0 -38
- package/dist/features/workbench/components/NavigationItem.js +0 -68
- package/dist/features/workbench/components/PipelineHistoryList.js +0 -56
- package/dist/features/workbench/hooks/useIntersectionObserver.js +0 -44
- package/dist/features/workspaces/components/NewPipelineRunDialog.js +0 -31
- package/dist/features/workspaces/components/PipelineForm.js +0 -152
- package/dist/features/workspaces/components/pipeline-form/ArgumentsView.js +0 -75
- package/dist/features/workspaces/components/pipeline-form/HeaderSection.js +0 -43
- package/dist/features/workspaces/components/pipeline-form/SelectionView.js +0 -105
- package/dist/hooks/useNamespaceTree.js +0 -27
- package/dist/hooks/useNamespaces.js +0 -25
- package/dist/hooks/usePipelines.js +0 -161
- package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/architecture-7HQA4BMR.js +0 -3
- package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-4F5CHEZ2.js +0 -23
- package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-B2363JML.js +0 -60
- package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-FRFDVMJY.js +0 -23
- package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-PL6DKKU2.js +0 -28
- package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-SJTYNZTY.js +0 -23
- package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-TCCFYFTB.js +0 -787
- package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-TQ3KTPDO.js +0 -23
- package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-UMXZTB3W.js +0 -30
- package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/gitGraph-G5XIXVHT.js +0 -3
- package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/info-VBDWY6EO.js +0 -3
- package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/packet-DYOGHKS2.js +0 -3
- package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/pie-VRWISCQL.js +0 -3
- package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/radar-ZZBFDIW7.js +0 -3
- package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/treemap-GDKQZRPO.js +0 -3
- package/dist/node_modules/@ungap/structured-clone/esm/types.js +0 -2
- package/dist/node_modules/chevrotain/lib/src/parse/parser/traits/context_assist.js +0 -16
- package/dist/node_modules/langium/lib/index.js +0 -182
- package/dist/node_modules/langium/lib/parser/indentation-aware.js +0 -141
- package/dist/node_modules/langium/lib/utils/index.js +0 -53
- package/dist/node_modules/langium/lib/workspace/profiler.js +0 -89
- package/dist/node_modules/lodash/_Symbol.js +0 -7
- package/dist/node_modules/lodash/_baseGetTag.js +0 -13
- package/dist/node_modules/lodash/_baseTrim.js +0 -11
- package/dist/node_modules/lodash/_freeGlobal.js +0 -6
- package/dist/node_modules/lodash/_getRawTag.js +0 -17
- package/dist/node_modules/lodash/_objectToString.js +0 -10
- package/dist/node_modules/lodash/_root.js +0 -8
- package/dist/node_modules/lodash/_trimmedEndIndex.js +0 -11
- package/dist/node_modules/lodash/isObject.js +0 -10
- package/dist/node_modules/lodash/isObjectLike.js +0 -9
- package/dist/node_modules/lodash/isSymbol.js +0 -12
- package/dist/node_modules/lodash/now.js +0 -10
- package/dist/node_modules/lodash/toNumber.js +0 -22
- package/dist/node_modules/lodash-es/_arrayAggregator.js +0 -9
- package/dist/node_modules/lodash-es/_arrayEvery.js +0 -6
- package/dist/node_modules/lodash-es/_baseAggregator.js +0 -8
- package/dist/node_modules/lodash-es/_baseDifference.js +0 -22
- package/dist/node_modules/lodash-es/_baseEvery.js +0 -9
- package/dist/node_modules/lodash-es/_baseIsRegExp.js +0 -8
- package/dist/node_modules/lodash-es/_baseSlice.js +0 -8
- package/dist/node_modules/lodash-es/_baseSome.js +0 -9
- package/dist/node_modules/lodash-es/_createAggregator.js +0 -12
- package/dist/node_modules/lodash-es/assign.js +0 -14
- package/dist/node_modules/lodash-es/compact.js +0 -9
- package/dist/node_modules/lodash-es/difference.js +0 -8
- package/dist/node_modules/lodash-es/drop.js +0 -8
- package/dist/node_modules/lodash-es/dropRight.js +0 -8
- package/dist/node_modules/lodash-es/every.js +0 -11
- package/dist/node_modules/lodash-es/groupBy.js +0 -6
- package/dist/node_modules/lodash-es/head.js +0 -5
- package/dist/node_modules/lodash-es/includes.js +0 -13
- package/dist/node_modules/lodash-es/indexOf.js +0 -11
- package/dist/node_modules/lodash-es/isRegExp.js +0 -5
- package/dist/node_modules/lodash-es/negate.js +0 -16
- package/dist/node_modules/lodash-es/pickBy.js +0 -15
- package/dist/node_modules/lodash-es/reject.js +0 -10
- package/dist/node_modules/lodash-es/some.js +0 -11
- package/dist/node_modules/lodash-es/uniq.js +0 -6
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/architectureDiagram-VXUJARFQ.js +0 -673
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/blockDiagram-VD42YOAC.js +0 -3010
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-ABZYJK2D.js +0 -1547
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-ATLVNIR6.js +0 -65
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-CVBHYZKI.js +0 -10
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-DI55MBZ5.js +0 -1994
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-DR5Q36YT.js +0 -135
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-EXTU4WIE.js +0 -9
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-HN2XXSSU.js +0 -74
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-JA3XYJ7Z.js +0 -247
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-JZLCHNYA.js +0 -3516
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-MI3HLSF2.js +0 -1140
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-N4CR4FBY.js +0 -39
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-QN33PNHL.js +0 -23
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-QXUST7PY.js +0 -497
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-S3R3BYOJ.js +0 -338
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-TZMSLE5B.js +0 -55
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/classDiagram-2ON5EDUG.js +0 -26
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/classDiagram-v2-WZHVMYZB.js +0 -26
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/dagre-6UL2VRFP.js +0 -263
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/diagram-PSM6KHXK.js +0 -283
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/diagram-QEK2KX5R.js +0 -211
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/diagram-S2PKOQOG.js +0 -129
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/ganttDiagram-JELNMOA3.js +0 -1688
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/gitGraphDiagram-V2S2FVAM.js +0 -621
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/infoDiagram-HS3SLOUP.js +0 -18
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/journeyDiagram-XKPGCS4Q.js +0 -883
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/pieDiagram-ADFJNKIX.js +0 -117
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/sankeyDiagram-TZEHDZUN.js +0 -519
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/sequenceDiagram-WL72ISMW.js +0 -3560
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/stateDiagram-FKZM4ZOC.js +0 -220
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/stateDiagram-v2-4FDKWEC3.js +0 -25
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/timeline-definition-IT6M3QCI.js +0 -833
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/xychartDiagram-PRI3JC2R.js +0 -1975
- package/dist/node_modules/streamdown/dist/chunk-RLXIAIE6.js +0 -2189
- package/dist/node_modules/streamdown/dist/highlighted-body-B3W2YXNL.js +0 -33
- package/dist/node_modules/streamdown/dist/mermaid-3ZIDBTTL.js +0 -3
- package/dist/packages/contracts/dist/enums/pipeline-state.js +0 -10
- package/dist/pages/PipelineDebugPage.js +0 -115
|
@@ -1,1975 +0,0 @@
|
|
|
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-ABZYJK2D.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
|
-
import "../../../../d3/src/index.js";
|
|
7
|
-
import { selectSvgElement } from "./chunk-EXTU4WIE.js";
|
|
8
|
-
import { cleanAndMerge } from "./chunk-S3R3BYOJ.js";
|
|
9
|
-
import { computeDimensionOfText } from "./chunk-JA3XYJ7Z.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 = [
|
|
15
|
-
1,
|
|
16
|
-
10,
|
|
17
|
-
12,
|
|
18
|
-
14,
|
|
19
|
-
16,
|
|
20
|
-
18,
|
|
21
|
-
19,
|
|
22
|
-
21,
|
|
23
|
-
23
|
|
24
|
-
], w = [2, 6], T = [1, 3], E = [1, 5], D = [1, 6], O = [1, 7], k = [
|
|
25
|
-
1,
|
|
26
|
-
5,
|
|
27
|
-
10,
|
|
28
|
-
12,
|
|
29
|
-
14,
|
|
30
|
-
16,
|
|
31
|
-
18,
|
|
32
|
-
19,
|
|
33
|
-
21,
|
|
34
|
-
23,
|
|
35
|
-
34,
|
|
36
|
-
35,
|
|
37
|
-
36
|
|
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 = [
|
|
39
|
-
1,
|
|
40
|
-
10,
|
|
41
|
-
12,
|
|
42
|
-
14,
|
|
43
|
-
16,
|
|
44
|
-
18,
|
|
45
|
-
19,
|
|
46
|
-
21,
|
|
47
|
-
23,
|
|
48
|
-
34,
|
|
49
|
-
35,
|
|
50
|
-
36
|
|
51
|
-
], q = [
|
|
52
|
-
1,
|
|
53
|
-
10,
|
|
54
|
-
12,
|
|
55
|
-
14,
|
|
56
|
-
16,
|
|
57
|
-
18,
|
|
58
|
-
19,
|
|
59
|
-
21,
|
|
60
|
-
23,
|
|
61
|
-
24,
|
|
62
|
-
26,
|
|
63
|
-
27,
|
|
64
|
-
28,
|
|
65
|
-
34,
|
|
66
|
-
35,
|
|
67
|
-
36
|
|
68
|
-
], J = [
|
|
69
|
-
1,
|
|
70
|
-
10,
|
|
71
|
-
12,
|
|
72
|
-
14,
|
|
73
|
-
16,
|
|
74
|
-
18,
|
|
75
|
-
19,
|
|
76
|
-
21,
|
|
77
|
-
23,
|
|
78
|
-
24,
|
|
79
|
-
26,
|
|
80
|
-
27,
|
|
81
|
-
28,
|
|
82
|
-
34,
|
|
83
|
-
35,
|
|
84
|
-
36,
|
|
85
|
-
41,
|
|
86
|
-
42,
|
|
87
|
-
43,
|
|
88
|
-
44,
|
|
89
|
-
45,
|
|
90
|
-
46,
|
|
91
|
-
47,
|
|
92
|
-
48,
|
|
93
|
-
49,
|
|
94
|
-
50
|
|
95
|
-
], Y = [1, 64], X = {
|
|
96
|
-
trace: /* @__PURE__ */ __name(function() {}, "trace"),
|
|
97
|
-
yy: {},
|
|
98
|
-
symbols_: {
|
|
99
|
-
error: 2,
|
|
100
|
-
start: 3,
|
|
101
|
-
eol: 4,
|
|
102
|
-
XYCHART: 5,
|
|
103
|
-
chartConfig: 6,
|
|
104
|
-
document: 7,
|
|
105
|
-
CHART_ORIENTATION: 8,
|
|
106
|
-
statement: 9,
|
|
107
|
-
title: 10,
|
|
108
|
-
text: 11,
|
|
109
|
-
X_AXIS: 12,
|
|
110
|
-
parseXAxis: 13,
|
|
111
|
-
Y_AXIS: 14,
|
|
112
|
-
parseYAxis: 15,
|
|
113
|
-
LINE: 16,
|
|
114
|
-
plotData: 17,
|
|
115
|
-
BAR: 18,
|
|
116
|
-
acc_title: 19,
|
|
117
|
-
acc_title_value: 20,
|
|
118
|
-
acc_descr: 21,
|
|
119
|
-
acc_descr_value: 22,
|
|
120
|
-
acc_descr_multiline_value: 23,
|
|
121
|
-
SQUARE_BRACES_START: 24,
|
|
122
|
-
commaSeparatedNumbers: 25,
|
|
123
|
-
SQUARE_BRACES_END: 26,
|
|
124
|
-
NUMBER_WITH_DECIMAL: 27,
|
|
125
|
-
COMMA: 28,
|
|
126
|
-
xAxisData: 29,
|
|
127
|
-
bandData: 30,
|
|
128
|
-
ARROW_DELIMITER: 31,
|
|
129
|
-
commaSeparatedTexts: 32,
|
|
130
|
-
yAxisData: 33,
|
|
131
|
-
NEWLINE: 34,
|
|
132
|
-
SEMI: 35,
|
|
133
|
-
EOF: 36,
|
|
134
|
-
alphaNum: 37,
|
|
135
|
-
STR: 38,
|
|
136
|
-
MD_STR: 39,
|
|
137
|
-
alphaNumToken: 40,
|
|
138
|
-
AMP: 41,
|
|
139
|
-
NUM: 42,
|
|
140
|
-
ALPHA: 43,
|
|
141
|
-
PLUS: 44,
|
|
142
|
-
EQUALS: 45,
|
|
143
|
-
MULT: 46,
|
|
144
|
-
DOT: 47,
|
|
145
|
-
BRKT: 48,
|
|
146
|
-
MINUS: 49,
|
|
147
|
-
UNDERSCORE: 50,
|
|
148
|
-
$accept: 0,
|
|
149
|
-
$end: 1
|
|
150
|
-
},
|
|
151
|
-
terminals_: {
|
|
152
|
-
2: "error",
|
|
153
|
-
5: "XYCHART",
|
|
154
|
-
8: "CHART_ORIENTATION",
|
|
155
|
-
10: "title",
|
|
156
|
-
12: "X_AXIS",
|
|
157
|
-
14: "Y_AXIS",
|
|
158
|
-
16: "LINE",
|
|
159
|
-
18: "BAR",
|
|
160
|
-
19: "acc_title",
|
|
161
|
-
20: "acc_title_value",
|
|
162
|
-
21: "acc_descr",
|
|
163
|
-
22: "acc_descr_value",
|
|
164
|
-
23: "acc_descr_multiline_value",
|
|
165
|
-
24: "SQUARE_BRACES_START",
|
|
166
|
-
26: "SQUARE_BRACES_END",
|
|
167
|
-
27: "NUMBER_WITH_DECIMAL",
|
|
168
|
-
28: "COMMA",
|
|
169
|
-
31: "ARROW_DELIMITER",
|
|
170
|
-
34: "NEWLINE",
|
|
171
|
-
35: "SEMI",
|
|
172
|
-
36: "EOF",
|
|
173
|
-
38: "STR",
|
|
174
|
-
39: "MD_STR",
|
|
175
|
-
41: "AMP",
|
|
176
|
-
42: "NUM",
|
|
177
|
-
43: "ALPHA",
|
|
178
|
-
44: "PLUS",
|
|
179
|
-
45: "EQUALS",
|
|
180
|
-
46: "MULT",
|
|
181
|
-
47: "DOT",
|
|
182
|
-
48: "BRKT",
|
|
183
|
-
49: "MINUS",
|
|
184
|
-
50: "UNDERSCORE"
|
|
185
|
-
},
|
|
186
|
-
productions_: [
|
|
187
|
-
0,
|
|
188
|
-
[3, 2],
|
|
189
|
-
[3, 3],
|
|
190
|
-
[3, 2],
|
|
191
|
-
[3, 1],
|
|
192
|
-
[6, 1],
|
|
193
|
-
[7, 0],
|
|
194
|
-
[7, 2],
|
|
195
|
-
[9, 2],
|
|
196
|
-
[9, 2],
|
|
197
|
-
[9, 2],
|
|
198
|
-
[9, 2],
|
|
199
|
-
[9, 2],
|
|
200
|
-
[9, 3],
|
|
201
|
-
[9, 2],
|
|
202
|
-
[9, 3],
|
|
203
|
-
[9, 2],
|
|
204
|
-
[9, 2],
|
|
205
|
-
[9, 1],
|
|
206
|
-
[17, 3],
|
|
207
|
-
[25, 3],
|
|
208
|
-
[25, 1],
|
|
209
|
-
[13, 1],
|
|
210
|
-
[13, 2],
|
|
211
|
-
[13, 1],
|
|
212
|
-
[29, 1],
|
|
213
|
-
[29, 3],
|
|
214
|
-
[30, 3],
|
|
215
|
-
[32, 3],
|
|
216
|
-
[32, 1],
|
|
217
|
-
[15, 1],
|
|
218
|
-
[15, 2],
|
|
219
|
-
[15, 1],
|
|
220
|
-
[33, 3],
|
|
221
|
-
[4, 1],
|
|
222
|
-
[4, 1],
|
|
223
|
-
[4, 1],
|
|
224
|
-
[11, 1],
|
|
225
|
-
[11, 1],
|
|
226
|
-
[11, 1],
|
|
227
|
-
[37, 1],
|
|
228
|
-
[37, 2],
|
|
229
|
-
[40, 1],
|
|
230
|
-
[40, 1],
|
|
231
|
-
[40, 1],
|
|
232
|
-
[40, 1],
|
|
233
|
-
[40, 1],
|
|
234
|
-
[40, 1],
|
|
235
|
-
[40, 1],
|
|
236
|
-
[40, 1],
|
|
237
|
-
[40, 1],
|
|
238
|
-
[40, 1]
|
|
239
|
-
],
|
|
240
|
-
performAction: /* @__PURE__ */ __name(function(e, S, C, w, T, E, D) {
|
|
241
|
-
var O = E.length - 1;
|
|
242
|
-
switch (T) {
|
|
243
|
-
case 5:
|
|
244
|
-
w.setOrientation(E[O]);
|
|
245
|
-
break;
|
|
246
|
-
case 9:
|
|
247
|
-
w.setDiagramTitle(E[O].text.trim());
|
|
248
|
-
break;
|
|
249
|
-
case 12:
|
|
250
|
-
w.setLineData({
|
|
251
|
-
text: "",
|
|
252
|
-
type: "text"
|
|
253
|
-
}, E[O]);
|
|
254
|
-
break;
|
|
255
|
-
case 13:
|
|
256
|
-
w.setLineData(E[O - 1], E[O]);
|
|
257
|
-
break;
|
|
258
|
-
case 14:
|
|
259
|
-
w.setBarData({
|
|
260
|
-
text: "",
|
|
261
|
-
type: "text"
|
|
262
|
-
}, E[O]);
|
|
263
|
-
break;
|
|
264
|
-
case 15:
|
|
265
|
-
w.setBarData(E[O - 1], E[O]);
|
|
266
|
-
break;
|
|
267
|
-
case 16:
|
|
268
|
-
this.$ = E[O].trim(), w.setAccTitle(this.$);
|
|
269
|
-
break;
|
|
270
|
-
case 17:
|
|
271
|
-
case 18:
|
|
272
|
-
this.$ = E[O].trim(), w.setAccDescription(this.$);
|
|
273
|
-
break;
|
|
274
|
-
case 19:
|
|
275
|
-
this.$ = E[O - 1];
|
|
276
|
-
break;
|
|
277
|
-
case 20:
|
|
278
|
-
this.$ = [Number(E[O - 2]), ...E[O]];
|
|
279
|
-
break;
|
|
280
|
-
case 21:
|
|
281
|
-
this.$ = [Number(E[O])];
|
|
282
|
-
break;
|
|
283
|
-
case 22:
|
|
284
|
-
w.setXAxisTitle(E[O]);
|
|
285
|
-
break;
|
|
286
|
-
case 23:
|
|
287
|
-
w.setXAxisTitle(E[O - 1]);
|
|
288
|
-
break;
|
|
289
|
-
case 24:
|
|
290
|
-
w.setXAxisTitle({
|
|
291
|
-
type: "text",
|
|
292
|
-
text: ""
|
|
293
|
-
});
|
|
294
|
-
break;
|
|
295
|
-
case 25:
|
|
296
|
-
w.setXAxisBand(E[O]);
|
|
297
|
-
break;
|
|
298
|
-
case 26:
|
|
299
|
-
w.setXAxisRangeData(Number(E[O - 2]), Number(E[O]));
|
|
300
|
-
break;
|
|
301
|
-
case 27:
|
|
302
|
-
this.$ = E[O - 1];
|
|
303
|
-
break;
|
|
304
|
-
case 28:
|
|
305
|
-
this.$ = [E[O - 2], ...E[O]];
|
|
306
|
-
break;
|
|
307
|
-
case 29:
|
|
308
|
-
this.$ = [E[O]];
|
|
309
|
-
break;
|
|
310
|
-
case 30:
|
|
311
|
-
w.setYAxisTitle(E[O]);
|
|
312
|
-
break;
|
|
313
|
-
case 31:
|
|
314
|
-
w.setYAxisTitle(E[O - 1]);
|
|
315
|
-
break;
|
|
316
|
-
case 32:
|
|
317
|
-
w.setYAxisTitle({
|
|
318
|
-
type: "text",
|
|
319
|
-
text: ""
|
|
320
|
-
});
|
|
321
|
-
break;
|
|
322
|
-
case 33:
|
|
323
|
-
w.setYAxisRangeData(Number(E[O - 2]), Number(E[O]));
|
|
324
|
-
break;
|
|
325
|
-
case 37:
|
|
326
|
-
this.$ = {
|
|
327
|
-
text: E[O],
|
|
328
|
-
type: "text"
|
|
329
|
-
};
|
|
330
|
-
break;
|
|
331
|
-
case 38:
|
|
332
|
-
this.$ = {
|
|
333
|
-
text: E[O],
|
|
334
|
-
type: "text"
|
|
335
|
-
};
|
|
336
|
-
break;
|
|
337
|
-
case 39:
|
|
338
|
-
this.$ = {
|
|
339
|
-
text: E[O],
|
|
340
|
-
type: "markdown"
|
|
341
|
-
};
|
|
342
|
-
break;
|
|
343
|
-
case 40:
|
|
344
|
-
this.$ = E[O];
|
|
345
|
-
break;
|
|
346
|
-
case 41:
|
|
347
|
-
this.$ = E[O - 1] + "" + E[O];
|
|
348
|
-
break;
|
|
349
|
-
}
|
|
350
|
-
}, "anonymous"),
|
|
351
|
-
table: [
|
|
352
|
-
S(C, w, {
|
|
353
|
-
3: 1,
|
|
354
|
-
4: 2,
|
|
355
|
-
7: 4,
|
|
356
|
-
5: T,
|
|
357
|
-
34: E,
|
|
358
|
-
35: D,
|
|
359
|
-
36: O
|
|
360
|
-
}),
|
|
361
|
-
{ 1: [3] },
|
|
362
|
-
S(C, w, {
|
|
363
|
-
4: 2,
|
|
364
|
-
7: 4,
|
|
365
|
-
3: 8,
|
|
366
|
-
5: T,
|
|
367
|
-
34: E,
|
|
368
|
-
35: D,
|
|
369
|
-
36: O
|
|
370
|
-
}),
|
|
371
|
-
S(C, w, {
|
|
372
|
-
4: 2,
|
|
373
|
-
7: 4,
|
|
374
|
-
6: 9,
|
|
375
|
-
3: 10,
|
|
376
|
-
5: T,
|
|
377
|
-
8: [1, 11],
|
|
378
|
-
34: E,
|
|
379
|
-
35: D,
|
|
380
|
-
36: O
|
|
381
|
-
}),
|
|
382
|
-
{
|
|
383
|
-
1: [2, 4],
|
|
384
|
-
9: 12,
|
|
385
|
-
10: [1, 13],
|
|
386
|
-
12: [1, 14],
|
|
387
|
-
14: [1, 15],
|
|
388
|
-
16: [1, 16],
|
|
389
|
-
18: [1, 17],
|
|
390
|
-
19: [1, 18],
|
|
391
|
-
21: [1, 19],
|
|
392
|
-
23: [1, 20]
|
|
393
|
-
},
|
|
394
|
-
S(k, [2, 34]),
|
|
395
|
-
S(k, [2, 35]),
|
|
396
|
-
S(k, [2, 36]),
|
|
397
|
-
{ 1: [2, 1] },
|
|
398
|
-
S(C, w, {
|
|
399
|
-
4: 2,
|
|
400
|
-
7: 4,
|
|
401
|
-
3: 21,
|
|
402
|
-
5: T,
|
|
403
|
-
34: E,
|
|
404
|
-
35: D,
|
|
405
|
-
36: O
|
|
406
|
-
}),
|
|
407
|
-
{ 1: [2, 3] },
|
|
408
|
-
S(k, [2, 5]),
|
|
409
|
-
S(C, [2, 7], {
|
|
410
|
-
4: 22,
|
|
411
|
-
34: E,
|
|
412
|
-
35: D,
|
|
413
|
-
36: O
|
|
414
|
-
}),
|
|
415
|
-
{
|
|
416
|
-
11: 23,
|
|
417
|
-
37: 24,
|
|
418
|
-
38: A,
|
|
419
|
-
39: j,
|
|
420
|
-
40: 27,
|
|
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
|
|
431
|
-
},
|
|
432
|
-
{
|
|
433
|
-
11: 39,
|
|
434
|
-
13: 38,
|
|
435
|
-
24: H,
|
|
436
|
-
27: U,
|
|
437
|
-
29: 40,
|
|
438
|
-
30: 41,
|
|
439
|
-
37: 24,
|
|
440
|
-
38: A,
|
|
441
|
-
39: j,
|
|
442
|
-
40: 27,
|
|
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
|
|
453
|
-
},
|
|
454
|
-
{
|
|
455
|
-
11: 45,
|
|
456
|
-
15: 44,
|
|
457
|
-
27: W,
|
|
458
|
-
33: 46,
|
|
459
|
-
37: 24,
|
|
460
|
-
38: A,
|
|
461
|
-
39: j,
|
|
462
|
-
40: 27,
|
|
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
|
|
473
|
-
},
|
|
474
|
-
{
|
|
475
|
-
11: 49,
|
|
476
|
-
17: 48,
|
|
477
|
-
24: G,
|
|
478
|
-
37: 24,
|
|
479
|
-
38: A,
|
|
480
|
-
39: j,
|
|
481
|
-
40: 27,
|
|
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
|
|
492
|
-
},
|
|
493
|
-
{
|
|
494
|
-
11: 52,
|
|
495
|
-
17: 51,
|
|
496
|
-
24: G,
|
|
497
|
-
37: 24,
|
|
498
|
-
38: A,
|
|
499
|
-
39: j,
|
|
500
|
-
40: 27,
|
|
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
|
|
511
|
-
},
|
|
512
|
-
{ 20: [1, 53] },
|
|
513
|
-
{ 22: [1, 54] },
|
|
514
|
-
S(K, [2, 18]),
|
|
515
|
-
{ 1: [2, 2] },
|
|
516
|
-
S(K, [2, 8]),
|
|
517
|
-
S(K, [2, 9]),
|
|
518
|
-
S(q, [2, 37], {
|
|
519
|
-
40: 55,
|
|
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
|
|
530
|
-
}),
|
|
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], {
|
|
546
|
-
30: 41,
|
|
547
|
-
29: 56,
|
|
548
|
-
24: H,
|
|
549
|
-
27: U
|
|
550
|
-
}),
|
|
551
|
-
S(K, [2, 24]),
|
|
552
|
-
S(K, [2, 25]),
|
|
553
|
-
{ 31: [1, 57] },
|
|
554
|
-
{
|
|
555
|
-
11: 59,
|
|
556
|
-
32: 58,
|
|
557
|
-
37: 24,
|
|
558
|
-
38: A,
|
|
559
|
-
39: j,
|
|
560
|
-
40: 27,
|
|
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
|
|
571
|
-
},
|
|
572
|
-
S(K, [2, 11]),
|
|
573
|
-
S(K, [2, 30], {
|
|
574
|
-
33: 60,
|
|
575
|
-
27: W
|
|
576
|
-
}),
|
|
577
|
-
S(K, [2, 32]),
|
|
578
|
-
{ 31: [1, 61] },
|
|
579
|
-
S(K, [2, 12]),
|
|
580
|
-
{
|
|
581
|
-
17: 62,
|
|
582
|
-
24: G
|
|
583
|
-
},
|
|
584
|
-
{
|
|
585
|
-
25: 63,
|
|
586
|
-
27: Y
|
|
587
|
-
},
|
|
588
|
-
S(K, [2, 14]),
|
|
589
|
-
{
|
|
590
|
-
17: 65,
|
|
591
|
-
24: G
|
|
592
|
-
},
|
|
593
|
-
S(K, [2, 16]),
|
|
594
|
-
S(K, [2, 17]),
|
|
595
|
-
S(J, [2, 41]),
|
|
596
|
-
S(K, [2, 23]),
|
|
597
|
-
{ 27: [1, 66] },
|
|
598
|
-
{ 26: [1, 67] },
|
|
599
|
-
{
|
|
600
|
-
26: [2, 29],
|
|
601
|
-
28: [1, 68]
|
|
602
|
-
},
|
|
603
|
-
S(K, [2, 31]),
|
|
604
|
-
{ 27: [1, 69] },
|
|
605
|
-
S(K, [2, 13]),
|
|
606
|
-
{ 26: [1, 70] },
|
|
607
|
-
{
|
|
608
|
-
26: [2, 21],
|
|
609
|
-
28: [1, 71]
|
|
610
|
-
},
|
|
611
|
-
S(K, [2, 15]),
|
|
612
|
-
S(K, [2, 26]),
|
|
613
|
-
S(K, [2, 27]),
|
|
614
|
-
{
|
|
615
|
-
11: 59,
|
|
616
|
-
32: 72,
|
|
617
|
-
37: 24,
|
|
618
|
-
38: A,
|
|
619
|
-
39: j,
|
|
620
|
-
40: 27,
|
|
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
|
|
631
|
-
},
|
|
632
|
-
S(K, [2, 33]),
|
|
633
|
-
S(K, [2, 19]),
|
|
634
|
-
{
|
|
635
|
-
25: 73,
|
|
636
|
-
27: Y
|
|
637
|
-
},
|
|
638
|
-
{ 26: [2, 28] },
|
|
639
|
-
{ 26: [2, 20] }
|
|
640
|
-
],
|
|
641
|
-
defaultActions: {
|
|
642
|
-
8: [2, 1],
|
|
643
|
-
10: [2, 3],
|
|
644
|
-
21: [2, 2],
|
|
645
|
-
72: [2, 28],
|
|
646
|
-
73: [2, 20]
|
|
647
|
-
},
|
|
648
|
-
parseError: /* @__PURE__ */ __name(function(e, S) {
|
|
649
|
-
if (S.recoverable) this.trace(e);
|
|
650
|
-
else {
|
|
651
|
-
var C = Error(e);
|
|
652
|
-
throw C.hash = S, C;
|
|
653
|
-
}
|
|
654
|
-
}, "parseError"),
|
|
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;
|
|
665
|
-
}
|
|
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;
|
|
670
|
-
}
|
|
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
|
|
682
|
-
});
|
|
683
|
-
}
|
|
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]) {
|
|
686
|
-
case 1:
|
|
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--);
|
|
688
|
-
break;
|
|
689
|
-
case 2:
|
|
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);
|
|
705
|
-
break;
|
|
706
|
-
case 3: return !0;
|
|
707
|
-
}
|
|
708
|
-
}
|
|
709
|
-
return !0;
|
|
710
|
-
}, "parse")
|
|
711
|
-
};
|
|
712
|
-
X.lexer = /* @__PURE__ */ (function() {
|
|
713
|
-
return {
|
|
714
|
-
EOF: 1,
|
|
715
|
-
parseError: /* @__PURE__ */ __name(function(e, S) {
|
|
716
|
-
if (this.yy.parser) this.yy.parser.parseError(e, S);
|
|
717
|
-
else throw Error(e);
|
|
718
|
-
}, "parseError"),
|
|
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 = {
|
|
721
|
-
first_line: 1,
|
|
722
|
-
first_column: 0,
|
|
723
|
-
last_line: 1,
|
|
724
|
-
last_column: 0
|
|
725
|
-
}, this.options.ranges && (this.yylloc.range = [0, 0]), this.offset = 0, this;
|
|
726
|
-
}, "setInput"),
|
|
727
|
-
input: /* @__PURE__ */ __name(function() {
|
|
728
|
-
var e = this._input[0];
|
|
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;
|
|
730
|
-
}, "input"),
|
|
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;
|
|
737
|
-
return this.yylloc = {
|
|
738
|
-
first_line: this.yylloc.first_line,
|
|
739
|
-
last_line: this.yylineno + 1,
|
|
740
|
-
first_column: this.yylloc.first_column,
|
|
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;
|
|
743
|
-
}, "unput"),
|
|
744
|
-
more: /* @__PURE__ */ __name(function() {
|
|
745
|
-
return this._more = !0, this;
|
|
746
|
-
}, "more"),
|
|
747
|
-
reject: /* @__PURE__ */ __name(function() {
|
|
748
|
-
if (this.options.backtrack_lexer) this._backtrack = !0;
|
|
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(), {
|
|
750
|
-
text: "",
|
|
751
|
-
token: null,
|
|
752
|
-
line: this.yylineno
|
|
753
|
-
});
|
|
754
|
-
return this;
|
|
755
|
-
}, "reject"),
|
|
756
|
-
less: /* @__PURE__ */ __name(function(e) {
|
|
757
|
-
this.unput(this.match.slice(e));
|
|
758
|
-
}, "less"),
|
|
759
|
-
pastInput: /* @__PURE__ */ __name(function() {
|
|
760
|
-
var e = this.matched.substr(0, this.matched.length - this.match.length);
|
|
761
|
-
return (e.length > 20 ? "..." : "") + e.substr(-20).replace(/\n/g, "");
|
|
762
|
-
}, "pastInput"),
|
|
763
|
-
upcomingInput: /* @__PURE__ */ __name(function() {
|
|
764
|
-
var e = this.match;
|
|
765
|
-
return e.length < 20 && (e += this._input.substr(0, 20 - e.length)), (e.substr(0, 20) + (e.length > 20 ? "..." : "")).replace(/\n/g, "");
|
|
766
|
-
}, "upcomingInput"),
|
|
767
|
-
showPosition: /* @__PURE__ */ __name(function() {
|
|
768
|
-
var e = this.pastInput(), S = Array(e.length + 1).join("-");
|
|
769
|
-
return e + this.upcomingInput() + "\n" + S + "^";
|
|
770
|
-
}, "showPosition"),
|
|
771
|
-
test_match: /* @__PURE__ */ __name(function(e, S) {
|
|
772
|
-
var C, w, T;
|
|
773
|
-
if (this.options.backtrack_lexer && (T = {
|
|
774
|
-
yylineno: this.yylineno,
|
|
775
|
-
yylloc: {
|
|
776
|
-
first_line: this.yylloc.first_line,
|
|
777
|
-
last_line: this.last_line,
|
|
778
|
-
first_column: this.yylloc.first_column,
|
|
779
|
-
last_column: this.yylloc.last_column
|
|
780
|
-
},
|
|
781
|
-
yytext: this.yytext,
|
|
782
|
-
match: this.match,
|
|
783
|
-
matches: this.matches,
|
|
784
|
-
matched: this.matched,
|
|
785
|
-
yyleng: this.yyleng,
|
|
786
|
-
offset: this.offset,
|
|
787
|
-
_more: this._more,
|
|
788
|
-
_input: this._input,
|
|
789
|
-
yy: this.yy,
|
|
790
|
-
conditionStack: this.conditionStack.slice(0),
|
|
791
|
-
done: this.done
|
|
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 = {
|
|
793
|
-
first_line: this.yylloc.last_line,
|
|
794
|
-
last_line: this.yylineno + 1,
|
|
795
|
-
first_column: this.yylloc.last_column,
|
|
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;
|
|
798
|
-
if (this._backtrack) {
|
|
799
|
-
for (var E in T) this[E] = T[E];
|
|
800
|
-
return !1;
|
|
801
|
-
}
|
|
802
|
-
return !1;
|
|
803
|
-
}, "test_match"),
|
|
804
|
-
next: /* @__PURE__ */ __name(function() {
|
|
805
|
-
if (this.done) return this.EOF;
|
|
806
|
-
this._input || (this.done = !0);
|
|
807
|
-
var e, S, C, w;
|
|
808
|
-
this._more || (this.yytext = "", this.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;
|
|
812
|
-
if (this._backtrack) {
|
|
813
|
-
S = !1;
|
|
814
|
-
continue;
|
|
815
|
-
} else return !1;
|
|
816
|
-
} else if (!this.options.flex) break;
|
|
817
|
-
}
|
|
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(), {
|
|
819
|
-
text: "",
|
|
820
|
-
token: null,
|
|
821
|
-
line: this.yylineno
|
|
822
|
-
});
|
|
823
|
-
}, "next"),
|
|
824
|
-
lex: /* @__PURE__ */ __name(function() {
|
|
825
|
-
return this.next() || this.lex();
|
|
826
|
-
}, "lex"),
|
|
827
|
-
begin: /* @__PURE__ */ __name(function(e) {
|
|
828
|
-
this.conditionStack.push(e);
|
|
829
|
-
}, "begin"),
|
|
830
|
-
popState: /* @__PURE__ */ __name(function() {
|
|
831
|
-
return this.conditionStack.length - 1 > 0 ? this.conditionStack.pop() : this.conditionStack[0];
|
|
832
|
-
}, "popState"),
|
|
833
|
-
_currentRules: /* @__PURE__ */ __name(function() {
|
|
834
|
-
return this.conditionStack.length && this.conditionStack[this.conditionStack.length - 1] ? this.conditions[this.conditionStack[this.conditionStack.length - 1]].rules : this.conditions.INITIAL.rules;
|
|
835
|
-
}, "_currentRules"),
|
|
836
|
-
topState: /* @__PURE__ */ __name(function(e) {
|
|
837
|
-
return e = this.conditionStack.length - 1 - Math.abs(e || 0), e >= 0 ? this.conditionStack[e] : "INITIAL";
|
|
838
|
-
}, "topState"),
|
|
839
|
-
pushState: /* @__PURE__ */ __name(function(e) {
|
|
840
|
-
this.begin(e);
|
|
841
|
-
}, "pushState"),
|
|
842
|
-
stateStackSize: /* @__PURE__ */ __name(function() {
|
|
843
|
-
return this.conditionStack.length;
|
|
844
|
-
}, "stateStackSize"),
|
|
845
|
-
options: { "case-insensitive": !0 },
|
|
846
|
-
performAction: /* @__PURE__ */ __name(function(e, S, C, w) {
|
|
847
|
-
switch (C) {
|
|
848
|
-
case 0: break;
|
|
849
|
-
case 1: break;
|
|
850
|
-
case 2: return this.popState(), 34;
|
|
851
|
-
case 3: return this.popState(), 34;
|
|
852
|
-
case 4: return 34;
|
|
853
|
-
case 5: break;
|
|
854
|
-
case 6: return 10;
|
|
855
|
-
case 7: return this.pushState("acc_title"), 19;
|
|
856
|
-
case 8: return this.popState(), "acc_title_value";
|
|
857
|
-
case 9: return this.pushState("acc_descr"), 21;
|
|
858
|
-
case 10: return this.popState(), "acc_descr_value";
|
|
859
|
-
case 11:
|
|
860
|
-
this.pushState("acc_descr_multiline");
|
|
861
|
-
break;
|
|
862
|
-
case 12:
|
|
863
|
-
this.popState();
|
|
864
|
-
break;
|
|
865
|
-
case 13: return "acc_descr_multiline_value";
|
|
866
|
-
case 14: return 5;
|
|
867
|
-
case 15: return 5;
|
|
868
|
-
case 16: return 8;
|
|
869
|
-
case 17: return this.pushState("axis_data"), "X_AXIS";
|
|
870
|
-
case 18: return this.pushState("axis_data"), "Y_AXIS";
|
|
871
|
-
case 19: return this.pushState("axis_band_data"), 24;
|
|
872
|
-
case 20: return 31;
|
|
873
|
-
case 21: return this.pushState("data"), 16;
|
|
874
|
-
case 22: return this.pushState("data"), 18;
|
|
875
|
-
case 23: return this.pushState("data_inner"), 24;
|
|
876
|
-
case 24: return 27;
|
|
877
|
-
case 25: return this.popState(), 26;
|
|
878
|
-
case 26:
|
|
879
|
-
this.popState();
|
|
880
|
-
break;
|
|
881
|
-
case 27:
|
|
882
|
-
this.pushState("string");
|
|
883
|
-
break;
|
|
884
|
-
case 28:
|
|
885
|
-
this.popState();
|
|
886
|
-
break;
|
|
887
|
-
case 29: return "STR";
|
|
888
|
-
case 30: return 24;
|
|
889
|
-
case 31: return 26;
|
|
890
|
-
case 32: return 43;
|
|
891
|
-
case 33: return "COLON";
|
|
892
|
-
case 34: return 44;
|
|
893
|
-
case 35: return 28;
|
|
894
|
-
case 36: return 45;
|
|
895
|
-
case 37: return 46;
|
|
896
|
-
case 38: return 48;
|
|
897
|
-
case 39: return 50;
|
|
898
|
-
case 40: return 47;
|
|
899
|
-
case 41: return 41;
|
|
900
|
-
case 42: return 49;
|
|
901
|
-
case 43: return 42;
|
|
902
|
-
case 44: break;
|
|
903
|
-
case 45: return 35;
|
|
904
|
-
case 46: return 36;
|
|
905
|
-
}
|
|
906
|
-
}, "anonymous"),
|
|
907
|
-
rules: [
|
|
908
|
-
/^(?:%%(?!\{)[^\n]*)/i,
|
|
909
|
-
/^(?:[^\}]%%[^\n]*)/i,
|
|
910
|
-
/^(?:(\r?\n))/i,
|
|
911
|
-
/^(?:(\r?\n))/i,
|
|
912
|
-
/^(?:[\n\r]+)/i,
|
|
913
|
-
/^(?:%%[^\n]*)/i,
|
|
914
|
-
/^(?:title\b)/i,
|
|
915
|
-
/^(?:accTitle\s*:\s*)/i,
|
|
916
|
-
/^(?:(?!\n||)*[^\n]*)/i,
|
|
917
|
-
/^(?:accDescr\s*:\s*)/i,
|
|
918
|
-
/^(?:(?!\n||)*[^\n]*)/i,
|
|
919
|
-
/^(?:accDescr\s*\{\s*)/i,
|
|
920
|
-
/^(?:\{)/i,
|
|
921
|
-
/^(?:[^\}]*)/i,
|
|
922
|
-
/^(?:xychart-beta\b)/i,
|
|
923
|
-
/^(?:xychart\b)/i,
|
|
924
|
-
/^(?:(?:vertical|horizontal))/i,
|
|
925
|
-
/^(?:x-axis\b)/i,
|
|
926
|
-
/^(?:y-axis\b)/i,
|
|
927
|
-
/^(?:\[)/i,
|
|
928
|
-
/^(?:-->)/i,
|
|
929
|
-
/^(?:line\b)/i,
|
|
930
|
-
/^(?:bar\b)/i,
|
|
931
|
-
/^(?:\[)/i,
|
|
932
|
-
/^(?:[+-]?(?:\d+(?:\.\d+)?|\.\d+))/i,
|
|
933
|
-
/^(?:\])/i,
|
|
934
|
-
/^(?:(?:`\) \{ this\.pushState\(md_string\); \}\n<md_string>\(\?:\(\?!`"\)\.\)\+ \{ return MD_STR; \}\n<md_string>\(\?:`))/i,
|
|
935
|
-
/^(?:["])/i,
|
|
936
|
-
/^(?:["])/i,
|
|
937
|
-
/^(?:[^"]*)/i,
|
|
938
|
-
/^(?:\[)/i,
|
|
939
|
-
/^(?:\])/i,
|
|
940
|
-
/^(?:[A-Za-z]+)/i,
|
|
941
|
-
/^(?::)/i,
|
|
942
|
-
/^(?:\+)/i,
|
|
943
|
-
/^(?:,)/i,
|
|
944
|
-
/^(?:=)/i,
|
|
945
|
-
/^(?:\*)/i,
|
|
946
|
-
/^(?:#)/i,
|
|
947
|
-
/^(?:[\_])/i,
|
|
948
|
-
/^(?:\.)/i,
|
|
949
|
-
/^(?:&)/i,
|
|
950
|
-
/^(?:-)/i,
|
|
951
|
-
/^(?:[0-9]+)/i,
|
|
952
|
-
/^(?:\s+)/i,
|
|
953
|
-
/^(?:;)/i,
|
|
954
|
-
/^(?:$)/i
|
|
955
|
-
],
|
|
956
|
-
conditions: {
|
|
957
|
-
data_inner: {
|
|
958
|
-
rules: [
|
|
959
|
-
0,
|
|
960
|
-
1,
|
|
961
|
-
4,
|
|
962
|
-
5,
|
|
963
|
-
6,
|
|
964
|
-
7,
|
|
965
|
-
9,
|
|
966
|
-
11,
|
|
967
|
-
14,
|
|
968
|
-
15,
|
|
969
|
-
16,
|
|
970
|
-
17,
|
|
971
|
-
18,
|
|
972
|
-
21,
|
|
973
|
-
22,
|
|
974
|
-
24,
|
|
975
|
-
25,
|
|
976
|
-
26,
|
|
977
|
-
27,
|
|
978
|
-
30,
|
|
979
|
-
31,
|
|
980
|
-
32,
|
|
981
|
-
33,
|
|
982
|
-
34,
|
|
983
|
-
35,
|
|
984
|
-
36,
|
|
985
|
-
37,
|
|
986
|
-
38,
|
|
987
|
-
39,
|
|
988
|
-
40,
|
|
989
|
-
41,
|
|
990
|
-
42,
|
|
991
|
-
43,
|
|
992
|
-
44,
|
|
993
|
-
45,
|
|
994
|
-
46
|
|
995
|
-
],
|
|
996
|
-
inclusive: !0
|
|
997
|
-
},
|
|
998
|
-
data: {
|
|
999
|
-
rules: [
|
|
1000
|
-
0,
|
|
1001
|
-
1,
|
|
1002
|
-
3,
|
|
1003
|
-
4,
|
|
1004
|
-
5,
|
|
1005
|
-
6,
|
|
1006
|
-
7,
|
|
1007
|
-
9,
|
|
1008
|
-
11,
|
|
1009
|
-
14,
|
|
1010
|
-
15,
|
|
1011
|
-
16,
|
|
1012
|
-
17,
|
|
1013
|
-
18,
|
|
1014
|
-
21,
|
|
1015
|
-
22,
|
|
1016
|
-
23,
|
|
1017
|
-
26,
|
|
1018
|
-
27,
|
|
1019
|
-
30,
|
|
1020
|
-
31,
|
|
1021
|
-
32,
|
|
1022
|
-
33,
|
|
1023
|
-
34,
|
|
1024
|
-
35,
|
|
1025
|
-
36,
|
|
1026
|
-
37,
|
|
1027
|
-
38,
|
|
1028
|
-
39,
|
|
1029
|
-
40,
|
|
1030
|
-
41,
|
|
1031
|
-
42,
|
|
1032
|
-
43,
|
|
1033
|
-
44,
|
|
1034
|
-
45,
|
|
1035
|
-
46
|
|
1036
|
-
],
|
|
1037
|
-
inclusive: !0
|
|
1038
|
-
},
|
|
1039
|
-
axis_band_data: {
|
|
1040
|
-
rules: [
|
|
1041
|
-
0,
|
|
1042
|
-
1,
|
|
1043
|
-
4,
|
|
1044
|
-
5,
|
|
1045
|
-
6,
|
|
1046
|
-
7,
|
|
1047
|
-
9,
|
|
1048
|
-
11,
|
|
1049
|
-
14,
|
|
1050
|
-
15,
|
|
1051
|
-
16,
|
|
1052
|
-
17,
|
|
1053
|
-
18,
|
|
1054
|
-
21,
|
|
1055
|
-
22,
|
|
1056
|
-
25,
|
|
1057
|
-
26,
|
|
1058
|
-
27,
|
|
1059
|
-
30,
|
|
1060
|
-
31,
|
|
1061
|
-
32,
|
|
1062
|
-
33,
|
|
1063
|
-
34,
|
|
1064
|
-
35,
|
|
1065
|
-
36,
|
|
1066
|
-
37,
|
|
1067
|
-
38,
|
|
1068
|
-
39,
|
|
1069
|
-
40,
|
|
1070
|
-
41,
|
|
1071
|
-
42,
|
|
1072
|
-
43,
|
|
1073
|
-
44,
|
|
1074
|
-
45,
|
|
1075
|
-
46
|
|
1076
|
-
],
|
|
1077
|
-
inclusive: !0
|
|
1078
|
-
},
|
|
1079
|
-
axis_data: {
|
|
1080
|
-
rules: [
|
|
1081
|
-
0,
|
|
1082
|
-
1,
|
|
1083
|
-
2,
|
|
1084
|
-
4,
|
|
1085
|
-
5,
|
|
1086
|
-
6,
|
|
1087
|
-
7,
|
|
1088
|
-
9,
|
|
1089
|
-
11,
|
|
1090
|
-
14,
|
|
1091
|
-
15,
|
|
1092
|
-
16,
|
|
1093
|
-
17,
|
|
1094
|
-
18,
|
|
1095
|
-
19,
|
|
1096
|
-
20,
|
|
1097
|
-
21,
|
|
1098
|
-
22,
|
|
1099
|
-
24,
|
|
1100
|
-
26,
|
|
1101
|
-
27,
|
|
1102
|
-
30,
|
|
1103
|
-
31,
|
|
1104
|
-
32,
|
|
1105
|
-
33,
|
|
1106
|
-
34,
|
|
1107
|
-
35,
|
|
1108
|
-
36,
|
|
1109
|
-
37,
|
|
1110
|
-
38,
|
|
1111
|
-
39,
|
|
1112
|
-
40,
|
|
1113
|
-
41,
|
|
1114
|
-
42,
|
|
1115
|
-
43,
|
|
1116
|
-
44,
|
|
1117
|
-
45,
|
|
1118
|
-
46
|
|
1119
|
-
],
|
|
1120
|
-
inclusive: !0
|
|
1121
|
-
},
|
|
1122
|
-
acc_descr_multiline: {
|
|
1123
|
-
rules: [12, 13],
|
|
1124
|
-
inclusive: !1
|
|
1125
|
-
},
|
|
1126
|
-
acc_descr: {
|
|
1127
|
-
rules: [10],
|
|
1128
|
-
inclusive: !1
|
|
1129
|
-
},
|
|
1130
|
-
acc_title: {
|
|
1131
|
-
rules: [8],
|
|
1132
|
-
inclusive: !1
|
|
1133
|
-
},
|
|
1134
|
-
title: {
|
|
1135
|
-
rules: [],
|
|
1136
|
-
inclusive: !1
|
|
1137
|
-
},
|
|
1138
|
-
md_string: {
|
|
1139
|
-
rules: [],
|
|
1140
|
-
inclusive: !1
|
|
1141
|
-
},
|
|
1142
|
-
string: {
|
|
1143
|
-
rules: [28, 29],
|
|
1144
|
-
inclusive: !1
|
|
1145
|
-
},
|
|
1146
|
-
INITIAL: {
|
|
1147
|
-
rules: [
|
|
1148
|
-
0,
|
|
1149
|
-
1,
|
|
1150
|
-
4,
|
|
1151
|
-
5,
|
|
1152
|
-
6,
|
|
1153
|
-
7,
|
|
1154
|
-
9,
|
|
1155
|
-
11,
|
|
1156
|
-
14,
|
|
1157
|
-
15,
|
|
1158
|
-
16,
|
|
1159
|
-
17,
|
|
1160
|
-
18,
|
|
1161
|
-
21,
|
|
1162
|
-
22,
|
|
1163
|
-
26,
|
|
1164
|
-
27,
|
|
1165
|
-
30,
|
|
1166
|
-
31,
|
|
1167
|
-
32,
|
|
1168
|
-
33,
|
|
1169
|
-
34,
|
|
1170
|
-
35,
|
|
1171
|
-
36,
|
|
1172
|
-
37,
|
|
1173
|
-
38,
|
|
1174
|
-
39,
|
|
1175
|
-
40,
|
|
1176
|
-
41,
|
|
1177
|
-
42,
|
|
1178
|
-
43,
|
|
1179
|
-
44,
|
|
1180
|
-
45,
|
|
1181
|
-
46
|
|
1182
|
-
],
|
|
1183
|
-
inclusive: !0
|
|
1184
|
-
}
|
|
1185
|
-
}
|
|
1186
|
-
};
|
|
1187
|
-
})();
|
|
1188
|
-
function Z() {
|
|
1189
|
-
this.yy = {};
|
|
1190
|
-
}
|
|
1191
|
-
return __name(Z, "Parser"), Z.prototype = X, X.Parser = Z, new Z();
|
|
1192
|
-
})();
|
|
1193
|
-
parser.parser = parser;
|
|
1194
|
-
var xychart_default = parser;
|
|
1195
|
-
function isBarPlot(e) {
|
|
1196
|
-
return e.type === "bar";
|
|
1197
|
-
}
|
|
1198
|
-
__name(isBarPlot, "isBarPlot");
|
|
1199
|
-
function isBandAxisData(e) {
|
|
1200
|
-
return e.type === "band";
|
|
1201
|
-
}
|
|
1202
|
-
__name(isBandAxisData, "isBandAxisData");
|
|
1203
|
-
function isLinearAxisData(e) {
|
|
1204
|
-
return e.type === "linear";
|
|
1205
|
-
}
|
|
1206
|
-
__name(isLinearAxisData, "isLinearAxisData");
|
|
1207
|
-
var TextDimensionCalculatorWithFont = class {
|
|
1208
|
-
constructor(e) {
|
|
1209
|
-
this.parentGroup = e;
|
|
1210
|
-
}
|
|
1211
|
-
static #e = __name(this, "TextDimensionCalculatorWithFont");
|
|
1212
|
-
getMaxDimension(e, S) {
|
|
1213
|
-
if (!this.parentGroup) return {
|
|
1214
|
-
width: e.reduce((e, S) => Math.max(S.length, e), 0) * S,
|
|
1215
|
-
height: S
|
|
1216
|
-
};
|
|
1217
|
-
let C = {
|
|
1218
|
-
width: 0,
|
|
1219
|
-
height: 0
|
|
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);
|
|
1224
|
-
}
|
|
1225
|
-
return w.remove(), C;
|
|
1226
|
-
}
|
|
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 = {
|
|
1230
|
-
x: 0,
|
|
1231
|
-
y: 0,
|
|
1232
|
-
width: 0,
|
|
1233
|
-
height: 0
|
|
1234
|
-
}, this.axisPosition = "left", this.showTitle = !1, this.showLabel = !1, this.showTick = !1, this.showAxisLine = !1, this.outerPadding = 0, this.titleTextHeight = 0, this.labelTextHeight = 0, this.range = [0, 10], this.boundingRect = {
|
|
1235
|
-
x: 0,
|
|
1236
|
-
y: 0,
|
|
1237
|
-
width: 0,
|
|
1238
|
-
height: 0
|
|
1239
|
-
}, this.axisPosition = "left";
|
|
1240
|
-
}
|
|
1241
|
-
static #e = __name(this, "BaseAxis");
|
|
1242
|
-
setRange(e) {
|
|
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();
|
|
1244
|
-
}
|
|
1245
|
-
getRange() {
|
|
1246
|
-
return [this.range[0] + this.outerPadding, this.range[1] - this.outerPadding];
|
|
1247
|
-
}
|
|
1248
|
-
setAxisPosition(e) {
|
|
1249
|
-
this.axisPosition = e, this.setRange(this.range);
|
|
1250
|
-
}
|
|
1251
|
-
getTickDistance() {
|
|
1252
|
-
let e = this.getRange();
|
|
1253
|
-
return Math.abs(e[0] - e[1]) / this.getTickValues().length;
|
|
1254
|
-
}
|
|
1255
|
-
getAxisOuterPadding() {
|
|
1256
|
-
return this.outerPadding;
|
|
1257
|
-
}
|
|
1258
|
-
getLabelDimension() {
|
|
1259
|
-
return this.textDimensionCalculator.getMaxDimension(this.getTickValues().map((e) => e.toString()), this.axisConfig.labelFontSize);
|
|
1260
|
-
}
|
|
1261
|
-
recalculateOuterPaddingToDrawBar() {
|
|
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();
|
|
1263
|
-
}
|
|
1264
|
-
calculateSpaceIfDrawnHorizontally(e) {
|
|
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);
|
|
1271
|
-
}
|
|
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);
|
|
1275
|
-
}
|
|
1276
|
-
this.boundingRect.width = e.width, this.boundingRect.height = e.height - S;
|
|
1277
|
-
}
|
|
1278
|
-
calculateSpaceIfDrawnVertical(e) {
|
|
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);
|
|
1285
|
-
}
|
|
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);
|
|
1289
|
-
}
|
|
1290
|
-
this.boundingRect.width = e.width - S, this.boundingRect.height = e.height;
|
|
1291
|
-
}
|
|
1292
|
-
calculateSpace(e) {
|
|
1293
|
-
return this.axisPosition === "left" || this.axisPosition === "right" ? this.calculateSpaceIfDrawnVertical(e) : this.calculateSpaceIfDrawnHorizontally(e), this.recalculateScale(), {
|
|
1294
|
-
width: this.boundingRect.width,
|
|
1295
|
-
height: this.boundingRect.height
|
|
1296
|
-
};
|
|
1297
|
-
}
|
|
1298
|
-
setBoundingBoxXY(e) {
|
|
1299
|
-
this.boundingRect.x = e.x, this.boundingRect.y = e.y;
|
|
1300
|
-
}
|
|
1301
|
-
getDrawableElementsForLeftAxis() {
|
|
1302
|
-
let e = [];
|
|
1303
|
-
if (this.showAxisLine) {
|
|
1304
|
-
let S = this.boundingRect.x + this.boundingRect.width - this.axisConfig.axisLineWidth / 2;
|
|
1305
|
-
e.push({
|
|
1306
|
-
type: "path",
|
|
1307
|
-
groupTexts: ["left-axis", "axisl-line"],
|
|
1308
|
-
data: [{
|
|
1309
|
-
path: `M ${S},${this.boundingRect.y} L ${S},${this.boundingRect.y + this.boundingRect.height} `,
|
|
1310
|
-
strokeFill: this.axisThemeConfig.axisLineColor,
|
|
1311
|
-
strokeWidth: this.axisConfig.axisLineWidth
|
|
1312
|
-
}]
|
|
1313
|
-
});
|
|
1314
|
-
}
|
|
1315
|
-
if (this.showLabel && e.push({
|
|
1316
|
-
type: "text",
|
|
1317
|
-
groupTexts: ["left-axis", "label"],
|
|
1318
|
-
data: this.getTickValues().map((e) => ({
|
|
1319
|
-
text: e.toString(),
|
|
1320
|
-
x: this.boundingRect.x + this.boundingRect.width - (this.showLabel ? this.axisConfig.labelPadding : 0) - (this.showTick ? this.axisConfig.tickLength : 0) - (this.showAxisLine ? this.axisConfig.axisLineWidth : 0),
|
|
1321
|
-
y: this.getScaleValue(e),
|
|
1322
|
-
fill: this.axisThemeConfig.labelColor,
|
|
1323
|
-
fontSize: this.axisConfig.labelFontSize,
|
|
1324
|
-
rotation: 0,
|
|
1325
|
-
verticalPos: "middle",
|
|
1326
|
-
horizontalPos: "right"
|
|
1327
|
-
}))
|
|
1328
|
-
}), this.showTick) {
|
|
1329
|
-
let S = this.boundingRect.x + this.boundingRect.width - (this.showAxisLine ? this.axisConfig.axisLineWidth : 0);
|
|
1330
|
-
e.push({
|
|
1331
|
-
type: "path",
|
|
1332
|
-
groupTexts: ["left-axis", "ticks"],
|
|
1333
|
-
data: this.getTickValues().map((e) => ({
|
|
1334
|
-
path: `M ${S},${this.getScaleValue(e)} L ${S - this.axisConfig.tickLength},${this.getScaleValue(e)}`,
|
|
1335
|
-
strokeFill: this.axisThemeConfig.tickColor,
|
|
1336
|
-
strokeWidth: this.axisConfig.tickWidth
|
|
1337
|
-
}))
|
|
1338
|
-
});
|
|
1339
|
-
}
|
|
1340
|
-
return this.showTitle && e.push({
|
|
1341
|
-
type: "text",
|
|
1342
|
-
groupTexts: ["left-axis", "title"],
|
|
1343
|
-
data: [{
|
|
1344
|
-
text: this.title,
|
|
1345
|
-
x: this.boundingRect.x + this.axisConfig.titlePadding,
|
|
1346
|
-
y: this.boundingRect.y + this.boundingRect.height / 2,
|
|
1347
|
-
fill: this.axisThemeConfig.titleColor,
|
|
1348
|
-
fontSize: this.axisConfig.titleFontSize,
|
|
1349
|
-
rotation: 270,
|
|
1350
|
-
verticalPos: "top",
|
|
1351
|
-
horizontalPos: "center"
|
|
1352
|
-
}]
|
|
1353
|
-
}), e;
|
|
1354
|
-
}
|
|
1355
|
-
getDrawableElementsForBottomAxis() {
|
|
1356
|
-
let e = [];
|
|
1357
|
-
if (this.showAxisLine) {
|
|
1358
|
-
let S = this.boundingRect.y + this.axisConfig.axisLineWidth / 2;
|
|
1359
|
-
e.push({
|
|
1360
|
-
type: "path",
|
|
1361
|
-
groupTexts: ["bottom-axis", "axis-line"],
|
|
1362
|
-
data: [{
|
|
1363
|
-
path: `M ${this.boundingRect.x},${S} L ${this.boundingRect.x + this.boundingRect.width},${S}`,
|
|
1364
|
-
strokeFill: this.axisThemeConfig.axisLineColor,
|
|
1365
|
-
strokeWidth: this.axisConfig.axisLineWidth
|
|
1366
|
-
}]
|
|
1367
|
-
});
|
|
1368
|
-
}
|
|
1369
|
-
if (this.showLabel && e.push({
|
|
1370
|
-
type: "text",
|
|
1371
|
-
groupTexts: ["bottom-axis", "label"],
|
|
1372
|
-
data: this.getTickValues().map((e) => ({
|
|
1373
|
-
text: e.toString(),
|
|
1374
|
-
x: this.getScaleValue(e),
|
|
1375
|
-
y: this.boundingRect.y + this.axisConfig.labelPadding + (this.showTick ? this.axisConfig.tickLength : 0) + (this.showAxisLine ? this.axisConfig.axisLineWidth : 0),
|
|
1376
|
-
fill: this.axisThemeConfig.labelColor,
|
|
1377
|
-
fontSize: this.axisConfig.labelFontSize,
|
|
1378
|
-
rotation: 0,
|
|
1379
|
-
verticalPos: "top",
|
|
1380
|
-
horizontalPos: "center"
|
|
1381
|
-
}))
|
|
1382
|
-
}), this.showTick) {
|
|
1383
|
-
let S = this.boundingRect.y + (this.showAxisLine ? this.axisConfig.axisLineWidth : 0);
|
|
1384
|
-
e.push({
|
|
1385
|
-
type: "path",
|
|
1386
|
-
groupTexts: ["bottom-axis", "ticks"],
|
|
1387
|
-
data: this.getTickValues().map((e) => ({
|
|
1388
|
-
path: `M ${this.getScaleValue(e)},${S} L ${this.getScaleValue(e)},${S + this.axisConfig.tickLength}`,
|
|
1389
|
-
strokeFill: this.axisThemeConfig.tickColor,
|
|
1390
|
-
strokeWidth: this.axisConfig.tickWidth
|
|
1391
|
-
}))
|
|
1392
|
-
});
|
|
1393
|
-
}
|
|
1394
|
-
return this.showTitle && e.push({
|
|
1395
|
-
type: "text",
|
|
1396
|
-
groupTexts: ["bottom-axis", "title"],
|
|
1397
|
-
data: [{
|
|
1398
|
-
text: this.title,
|
|
1399
|
-
x: this.range[0] + (this.range[1] - this.range[0]) / 2,
|
|
1400
|
-
y: this.boundingRect.y + this.boundingRect.height - this.axisConfig.titlePadding - this.titleTextHeight,
|
|
1401
|
-
fill: this.axisThemeConfig.titleColor,
|
|
1402
|
-
fontSize: this.axisConfig.titleFontSize,
|
|
1403
|
-
rotation: 0,
|
|
1404
|
-
verticalPos: "top",
|
|
1405
|
-
horizontalPos: "center"
|
|
1406
|
-
}]
|
|
1407
|
-
}), e;
|
|
1408
|
-
}
|
|
1409
|
-
getDrawableElementsForTopAxis() {
|
|
1410
|
-
let e = [];
|
|
1411
|
-
if (this.showAxisLine) {
|
|
1412
|
-
let S = this.boundingRect.y + this.boundingRect.height - this.axisConfig.axisLineWidth / 2;
|
|
1413
|
-
e.push({
|
|
1414
|
-
type: "path",
|
|
1415
|
-
groupTexts: ["top-axis", "axis-line"],
|
|
1416
|
-
data: [{
|
|
1417
|
-
path: `M ${this.boundingRect.x},${S} L ${this.boundingRect.x + this.boundingRect.width},${S}`,
|
|
1418
|
-
strokeFill: this.axisThemeConfig.axisLineColor,
|
|
1419
|
-
strokeWidth: this.axisConfig.axisLineWidth
|
|
1420
|
-
}]
|
|
1421
|
-
});
|
|
1422
|
-
}
|
|
1423
|
-
if (this.showLabel && e.push({
|
|
1424
|
-
type: "text",
|
|
1425
|
-
groupTexts: ["top-axis", "label"],
|
|
1426
|
-
data: this.getTickValues().map((e) => ({
|
|
1427
|
-
text: e.toString(),
|
|
1428
|
-
x: this.getScaleValue(e),
|
|
1429
|
-
y: this.boundingRect.y + (this.showTitle ? this.titleTextHeight + this.axisConfig.titlePadding * 2 : 0) + this.axisConfig.labelPadding,
|
|
1430
|
-
fill: this.axisThemeConfig.labelColor,
|
|
1431
|
-
fontSize: this.axisConfig.labelFontSize,
|
|
1432
|
-
rotation: 0,
|
|
1433
|
-
verticalPos: "top",
|
|
1434
|
-
horizontalPos: "center"
|
|
1435
|
-
}))
|
|
1436
|
-
}), this.showTick) {
|
|
1437
|
-
let S = this.boundingRect.y;
|
|
1438
|
-
e.push({
|
|
1439
|
-
type: "path",
|
|
1440
|
-
groupTexts: ["top-axis", "ticks"],
|
|
1441
|
-
data: this.getTickValues().map((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)}`,
|
|
1443
|
-
strokeFill: this.axisThemeConfig.tickColor,
|
|
1444
|
-
strokeWidth: this.axisConfig.tickWidth
|
|
1445
|
-
}))
|
|
1446
|
-
});
|
|
1447
|
-
}
|
|
1448
|
-
return this.showTitle && e.push({
|
|
1449
|
-
type: "text",
|
|
1450
|
-
groupTexts: ["top-axis", "title"],
|
|
1451
|
-
data: [{
|
|
1452
|
-
text: this.title,
|
|
1453
|
-
x: this.boundingRect.x + this.boundingRect.width / 2,
|
|
1454
|
-
y: this.boundingRect.y + this.axisConfig.titlePadding,
|
|
1455
|
-
fill: this.axisThemeConfig.titleColor,
|
|
1456
|
-
fontSize: this.axisConfig.titleFontSize,
|
|
1457
|
-
rotation: 0,
|
|
1458
|
-
verticalPos: "top",
|
|
1459
|
-
horizontalPos: "center"
|
|
1460
|
-
}]
|
|
1461
|
-
}), e;
|
|
1462
|
-
}
|
|
1463
|
-
getDrawableElements() {
|
|
1464
|
-
if (this.axisPosition === "left") return this.getDrawableElementsForLeftAxis();
|
|
1465
|
-
if (this.axisPosition === "right") throw Error("Drawing of right axis is not implemented");
|
|
1466
|
-
return this.axisPosition === "bottom" ? this.getDrawableElementsForBottomAxis() : this.axisPosition === "top" ? this.getDrawableElementsForTopAxis() : [];
|
|
1467
|
-
}
|
|
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());
|
|
1472
|
-
}
|
|
1473
|
-
setRange(e) {
|
|
1474
|
-
super.setRange(e);
|
|
1475
|
-
}
|
|
1476
|
-
recalculateScale() {
|
|
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());
|
|
1478
|
-
}
|
|
1479
|
-
getTickValues() {
|
|
1480
|
-
return this.categories;
|
|
1481
|
-
}
|
|
1482
|
-
getScaleValue(e) {
|
|
1483
|
-
return this.scale(e) ?? this.getRange()[0];
|
|
1484
|
-
}
|
|
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());
|
|
1489
|
-
}
|
|
1490
|
-
getTickValues() {
|
|
1491
|
-
return this.scale.ticks();
|
|
1492
|
-
}
|
|
1493
|
-
recalculateScale() {
|
|
1494
|
-
let e = [...this.domain];
|
|
1495
|
-
this.axisPosition === "left" && e.reverse(), this.scale = linear().domain(e).range(this.getRange());
|
|
1496
|
-
}
|
|
1497
|
-
getScaleValue(e) {
|
|
1498
|
-
return this.scale(e);
|
|
1499
|
-
}
|
|
1500
|
-
};
|
|
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);
|
|
1504
|
-
}
|
|
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 = {
|
|
1509
|
-
x: 0,
|
|
1510
|
-
y: 0,
|
|
1511
|
-
width: 0,
|
|
1512
|
-
height: 0
|
|
1513
|
-
}, this.showChartTitle = !1;
|
|
1514
|
-
}
|
|
1515
|
-
static #e = __name(this, "ChartTitle");
|
|
1516
|
-
setBoundingBoxXY(e) {
|
|
1517
|
-
this.boundingRect.x = e.x, this.boundingRect.y = e.y;
|
|
1518
|
-
}
|
|
1519
|
-
calculateSpace(e) {
|
|
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), {
|
|
1522
|
-
width: this.boundingRect.width,
|
|
1523
|
-
height: this.boundingRect.height
|
|
1524
|
-
};
|
|
1525
|
-
}
|
|
1526
|
-
getDrawableElements() {
|
|
1527
|
-
let e = [];
|
|
1528
|
-
return this.showChartTitle && e.push({
|
|
1529
|
-
groupTexts: ["chart-title"],
|
|
1530
|
-
type: "text",
|
|
1531
|
-
data: [{
|
|
1532
|
-
fontSize: this.chartConfig.titleFontSize,
|
|
1533
|
-
text: this.chartData.title,
|
|
1534
|
-
verticalPos: "middle",
|
|
1535
|
-
horizontalPos: "center",
|
|
1536
|
-
x: this.boundingRect.x + this.boundingRect.width / 2,
|
|
1537
|
-
y: this.boundingRect.y + this.boundingRect.height / 2,
|
|
1538
|
-
fill: this.chartThemeConfig.titleColor,
|
|
1539
|
-
rotation: 0
|
|
1540
|
-
}]
|
|
1541
|
-
}), e;
|
|
1542
|
-
}
|
|
1543
|
-
};
|
|
1544
|
-
function getChartTitleComponent(e, S, C, w) {
|
|
1545
|
-
return new ChartTitle(new TextDimensionCalculatorWithFont(w), e, S, C);
|
|
1546
|
-
}
|
|
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;
|
|
1551
|
-
}
|
|
1552
|
-
static #e = __name(this, "LinePlot");
|
|
1553
|
-
getDrawableElement() {
|
|
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 ? [{
|
|
1556
|
-
groupTexts: ["plot", `line-plot-${this.plotIndex}`],
|
|
1557
|
-
type: "path",
|
|
1558
|
-
data: [{
|
|
1559
|
-
path: S,
|
|
1560
|
-
strokeFill: this.plotData.strokeFill,
|
|
1561
|
-
strokeWidth: this.plotData.strokeWidth
|
|
1562
|
-
}]
|
|
1563
|
-
}] : [];
|
|
1564
|
-
}
|
|
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;
|
|
1568
|
-
}
|
|
1569
|
-
static #e = __name(this, "BarPlot");
|
|
1570
|
-
getDrawableElement() {
|
|
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;
|
|
1572
|
-
return this.orientation === "horizontal" ? [{
|
|
1573
|
-
groupTexts: ["plot", `bar-plot-${this.plotIndex}`],
|
|
1574
|
-
type: "rect",
|
|
1575
|
-
data: e.map((e) => ({
|
|
1576
|
-
x: this.boundingRect.x,
|
|
1577
|
-
y: e[0] - C,
|
|
1578
|
-
height: S,
|
|
1579
|
-
width: e[1] - this.boundingRect.x,
|
|
1580
|
-
fill: this.barData.fill,
|
|
1581
|
-
strokeWidth: 0,
|
|
1582
|
-
strokeFill: this.barData.fill
|
|
1583
|
-
}))
|
|
1584
|
-
}] : [{
|
|
1585
|
-
groupTexts: ["plot", `bar-plot-${this.plotIndex}`],
|
|
1586
|
-
type: "rect",
|
|
1587
|
-
data: e.map((e) => ({
|
|
1588
|
-
x: e[0] - C,
|
|
1589
|
-
y: e[1],
|
|
1590
|
-
width: S,
|
|
1591
|
-
height: this.boundingRect.y + this.boundingRect.height - e[1],
|
|
1592
|
-
fill: this.barData.fill,
|
|
1593
|
-
strokeWidth: 0,
|
|
1594
|
-
strokeFill: this.barData.fill
|
|
1595
|
-
}))
|
|
1596
|
-
}];
|
|
1597
|
-
}
|
|
1598
|
-
}, BasePlot = class {
|
|
1599
|
-
constructor(e, S, C) {
|
|
1600
|
-
this.chartConfig = e, this.chartData = S, this.chartThemeConfig = C, this.boundingRect = {
|
|
1601
|
-
x: 0,
|
|
1602
|
-
y: 0,
|
|
1603
|
-
width: 0,
|
|
1604
|
-
height: 0
|
|
1605
|
-
};
|
|
1606
|
-
}
|
|
1607
|
-
static #e = __name(this, "BasePlot");
|
|
1608
|
-
setAxes(e, S) {
|
|
1609
|
-
this.xAxis = e, this.yAxis = S;
|
|
1610
|
-
}
|
|
1611
|
-
setBoundingBoxXY(e) {
|
|
1612
|
-
this.boundingRect.x = e.x, this.boundingRect.y = e.y;
|
|
1613
|
-
}
|
|
1614
|
-
calculateSpace(e) {
|
|
1615
|
-
return this.boundingRect.width = e.width, this.boundingRect.height = e.height, {
|
|
1616
|
-
width: this.boundingRect.width,
|
|
1617
|
-
height: this.boundingRect.height
|
|
1618
|
-
};
|
|
1619
|
-
}
|
|
1620
|
-
getDrawableElements() {
|
|
1621
|
-
if (!(this.xAxis && this.yAxis)) throw Error("Axes must be passed to render Plots");
|
|
1622
|
-
let e = [];
|
|
1623
|
-
for (let [S, C] of this.chartData.plots.entries()) switch (C.type) {
|
|
1624
|
-
case "line":
|
|
1625
|
-
{
|
|
1626
|
-
let w = new LinePlot(C, this.xAxis, this.yAxis, this.chartConfig.chartOrientation, S);
|
|
1627
|
-
e.push(...w.getDrawableElement());
|
|
1628
|
-
}
|
|
1629
|
-
break;
|
|
1630
|
-
case "bar":
|
|
1631
|
-
{
|
|
1632
|
-
let w = new BarPlot(C, this.boundingRect, this.xAxis, this.yAxis, this.chartConfig.chartOrientation, S);
|
|
1633
|
-
e.push(...w.getDrawableElement());
|
|
1634
|
-
}
|
|
1635
|
-
break;
|
|
1636
|
-
}
|
|
1637
|
-
return e;
|
|
1638
|
-
}
|
|
1639
|
-
};
|
|
1640
|
-
function getPlotComponent(e, S, C) {
|
|
1641
|
-
return new BasePlot(e, S, C);
|
|
1642
|
-
}
|
|
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)
|
|
1661
|
-
};
|
|
1662
|
-
}
|
|
1663
|
-
static #e = __name(this, "Orchestrator");
|
|
1664
|
-
calculateVerticalSpace() {
|
|
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
|
|
1668
|
-
});
|
|
1669
|
-
e -= D.width, S -= D.height, D = this.componentStore.title.calculateSpace({
|
|
1670
|
-
width: this.chartConfig.width,
|
|
1671
|
-
height: S
|
|
1672
|
-
}), w = D.height, S -= D.height, this.componentStore.xAxis.setAxisPosition("bottom"), D = this.componentStore.xAxis.calculateSpace({
|
|
1673
|
-
width: e,
|
|
1674
|
-
height: S
|
|
1675
|
-
}), S -= D.height, this.componentStore.yAxis.setAxisPosition("left"), D = this.componentStore.yAxis.calculateSpace({
|
|
1676
|
-
width: e,
|
|
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
|
|
1681
|
-
}), this.componentStore.plot.setBoundingBoxXY({
|
|
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({
|
|
1688
|
-
x: 0,
|
|
1689
|
-
y: w
|
|
1690
|
-
}), this.chartData.plots.some((e) => isBarPlot(e)) && this.componentStore.xAxis.recalculateOuterPaddingToDrawBar();
|
|
1691
|
-
}
|
|
1692
|
-
calculateHorizontalSpace() {
|
|
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
|
|
1696
|
-
});
|
|
1697
|
-
e -= O.width, S -= O.height, O = this.componentStore.title.calculateSpace({
|
|
1698
|
-
width: this.chartConfig.width,
|
|
1699
|
-
height: S
|
|
1700
|
-
}), C = O.height, S -= O.height, this.componentStore.xAxis.setAxisPosition("left"), O = this.componentStore.xAxis.calculateSpace({
|
|
1701
|
-
width: e,
|
|
1702
|
-
height: S
|
|
1703
|
-
}), e -= O.width, w = O.width, this.componentStore.yAxis.setAxisPosition("top"), O = this.componentStore.yAxis.calculateSpace({
|
|
1704
|
-
width: e,
|
|
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
|
|
1709
|
-
}), this.componentStore.plot.setBoundingBoxXY({
|
|
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({
|
|
1716
|
-
x: 0,
|
|
1717
|
-
y: T
|
|
1718
|
-
}), this.chartData.plots.some((e) => isBarPlot(e)) && this.componentStore.xAxis.recalculateOuterPaddingToDrawBar();
|
|
1719
|
-
}
|
|
1720
|
-
calculateSpace() {
|
|
1721
|
-
this.chartConfig.chartOrientation === "horizontal" ? this.calculateHorizontalSpace() : this.calculateVerticalSpace();
|
|
1722
|
-
}
|
|
1723
|
-
getDrawableElement() {
|
|
1724
|
-
this.calculateSpace();
|
|
1725
|
-
let e = [];
|
|
1726
|
-
this.componentStore.plot.setAxes(this.componentStore.xAxis, this.componentStore.yAxis);
|
|
1727
|
-
for (let S of Object.values(this.componentStore)) e.push(...S.getDrawableElements());
|
|
1728
|
-
return e;
|
|
1729
|
-
}
|
|
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();
|
|
1734
|
-
}
|
|
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);
|
|
1739
|
-
}
|
|
1740
|
-
__name(getChartDefaultThemeConfig, "getChartDefaultThemeConfig");
|
|
1741
|
-
function getChartDefaultConfig() {
|
|
1742
|
-
let e = getConfig();
|
|
1743
|
-
return cleanAndMerge(defaultConfig_default.xyChart, e.xyChart);
|
|
1744
|
-
}
|
|
1745
|
-
__name(getChartDefaultConfig, "getChartDefaultConfig");
|
|
1746
|
-
function getChartDefaultData() {
|
|
1747
|
-
return {
|
|
1748
|
-
yAxis: {
|
|
1749
|
-
type: "linear",
|
|
1750
|
-
title: "",
|
|
1751
|
-
min: Infinity,
|
|
1752
|
-
max: -Infinity
|
|
1753
|
-
},
|
|
1754
|
-
xAxis: {
|
|
1755
|
-
type: "band",
|
|
1756
|
-
title: "",
|
|
1757
|
-
categories: []
|
|
1758
|
-
},
|
|
1759
|
-
title: "",
|
|
1760
|
-
plots: []
|
|
1761
|
-
};
|
|
1762
|
-
}
|
|
1763
|
-
__name(getChartDefaultData, "getChartDefaultData");
|
|
1764
|
-
function textSanitizer(e) {
|
|
1765
|
-
let S = getConfig();
|
|
1766
|
-
return sanitizeText(e.trim(), S);
|
|
1767
|
-
}
|
|
1768
|
-
__name(textSanitizer, "textSanitizer");
|
|
1769
|
-
function setTmpSVGG(e) {
|
|
1770
|
-
tmpSVGGroup = e;
|
|
1771
|
-
}
|
|
1772
|
-
__name(setTmpSVGG, "setTmpSVGG");
|
|
1773
|
-
function setOrientation(e) {
|
|
1774
|
-
e === "horizontal" ? xyChartConfig.chartOrientation = "horizontal" : xyChartConfig.chartOrientation = "vertical";
|
|
1775
|
-
}
|
|
1776
|
-
__name(setOrientation, "setOrientation");
|
|
1777
|
-
function setXAxisTitle(e) {
|
|
1778
|
-
xyChartData.xAxis.title = textSanitizer(e.text);
|
|
1779
|
-
}
|
|
1780
|
-
__name(setXAxisTitle, "setXAxisTitle");
|
|
1781
|
-
function setXAxisRangeData(e, S) {
|
|
1782
|
-
xyChartData.xAxis = {
|
|
1783
|
-
type: "linear",
|
|
1784
|
-
title: xyChartData.xAxis.title,
|
|
1785
|
-
min: e,
|
|
1786
|
-
max: S
|
|
1787
|
-
}, hasSetXAxis = !0;
|
|
1788
|
-
}
|
|
1789
|
-
__name(setXAxisRangeData, "setXAxisRangeData");
|
|
1790
|
-
function setXAxisBand(e) {
|
|
1791
|
-
xyChartData.xAxis = {
|
|
1792
|
-
type: "band",
|
|
1793
|
-
title: xyChartData.xAxis.title,
|
|
1794
|
-
categories: e.map((e) => textSanitizer(e.text))
|
|
1795
|
-
}, hasSetXAxis = !0;
|
|
1796
|
-
}
|
|
1797
|
-
__name(setXAxisBand, "setXAxisBand");
|
|
1798
|
-
function setYAxisTitle(e) {
|
|
1799
|
-
xyChartData.yAxis.title = textSanitizer(e.text);
|
|
1800
|
-
}
|
|
1801
|
-
__name(setYAxisTitle, "setYAxisTitle");
|
|
1802
|
-
function setYAxisRangeData(e, S) {
|
|
1803
|
-
xyChartData.yAxis = {
|
|
1804
|
-
type: "linear",
|
|
1805
|
-
title: xyChartData.yAxis.title,
|
|
1806
|
-
min: e,
|
|
1807
|
-
max: S
|
|
1808
|
-
}, hasSetYAxis = !0;
|
|
1809
|
-
}
|
|
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 = {
|
|
1814
|
-
type: "linear",
|
|
1815
|
-
title: xyChartData.yAxis.title,
|
|
1816
|
-
min: Math.min(w, S),
|
|
1817
|
-
max: Math.max(T, C)
|
|
1818
|
-
};
|
|
1819
|
-
}
|
|
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));
|
|
1827
|
-
}
|
|
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]]);
|
|
1832
|
-
}
|
|
1833
|
-
return S;
|
|
1834
|
-
}
|
|
1835
|
-
__name(transformDataWithoutCategory, "transformDataWithoutCategory");
|
|
1836
|
-
function getPlotColorFromPalette(e) {
|
|
1837
|
-
return plotColorPalette[e === 0 ? 0 : e % plotColorPalette.length];
|
|
1838
|
-
}
|
|
1839
|
-
__name(getPlotColorFromPalette, "getPlotColorFromPalette");
|
|
1840
|
-
function setLineData(e, S) {
|
|
1841
|
-
let C = transformDataWithoutCategory(S);
|
|
1842
|
-
xyChartData.plots.push({
|
|
1843
|
-
type: "line",
|
|
1844
|
-
strokeFill: getPlotColorFromPalette(plotIndex),
|
|
1845
|
-
strokeWidth: 2,
|
|
1846
|
-
data: C
|
|
1847
|
-
}), plotIndex++;
|
|
1848
|
-
}
|
|
1849
|
-
__name(setLineData, "setLineData");
|
|
1850
|
-
function setBarData(e, S) {
|
|
1851
|
-
let C = transformDataWithoutCategory(S);
|
|
1852
|
-
xyChartData.plots.push({
|
|
1853
|
-
type: "bar",
|
|
1854
|
-
fill: getPlotColorFromPalette(plotIndex),
|
|
1855
|
-
data: C
|
|
1856
|
-
}), plotIndex++;
|
|
1857
|
-
}
|
|
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);
|
|
1862
|
-
}
|
|
1863
|
-
__name(getDrawableElem, "getDrawableElem");
|
|
1864
|
-
function getChartThemeConfig() {
|
|
1865
|
-
return xyChartThemeConfig;
|
|
1866
|
-
}
|
|
1867
|
-
__name(getChartThemeConfig, "getChartThemeConfig");
|
|
1868
|
-
function getChartConfig() {
|
|
1869
|
-
return xyChartConfig;
|
|
1870
|
-
}
|
|
1871
|
-
__name(getChartConfig, "getChartConfig");
|
|
1872
|
-
function getXYChartData() {
|
|
1873
|
-
return xyChartData;
|
|
1874
|
-
}
|
|
1875
|
-
__name(getXYChartData, "getXYChartData");
|
|
1876
|
-
var diagram = {
|
|
1877
|
-
parser: xychart_default,
|
|
1878
|
-
db: {
|
|
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;
|
|
1882
|
-
}, "clear"),
|
|
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
|
|
1901
|
-
},
|
|
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) {
|
|
1905
|
-
return e === "top" ? "text-before-edge" : "middle";
|
|
1906
|
-
}
|
|
1907
|
-
__name(M, "getDominantBaseLine");
|
|
1908
|
-
function N(e) {
|
|
1909
|
-
return e === "left" ? "start" : e === "right" ? "end" : "middle";
|
|
1910
|
-
}
|
|
1911
|
-
__name(N, "getTextAnchor");
|
|
1912
|
-
function P(e) {
|
|
1913
|
-
return `translate(${e.x}, ${e.y}) rotate(${e.rotation || 0})`;
|
|
1914
|
-
}
|
|
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]);
|
|
1924
|
-
}
|
|
1925
|
-
return S;
|
|
1926
|
-
}
|
|
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) {
|
|
1932
|
-
case "rect":
|
|
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) if (A.chartOrientation === "horizontal") {
|
|
1934
|
-
let w = function(e, S) {
|
|
1935
|
-
let { data: C, label: w } = e;
|
|
1936
|
-
return S * w.length * T <= C.width - 10;
|
|
1937
|
-
};
|
|
1938
|
-
__name(w, "fitsHorizontally");
|
|
1939
|
-
let T = .7, E = S.data.map((e, S) => ({
|
|
1940
|
-
data: e,
|
|
1941
|
-
label: j[S].toString()
|
|
1942
|
-
})).filter((e) => e.data.width > 0 && e.data.height > 0), D = E.map((e) => {
|
|
1943
|
-
let { data: S } = e, C = S.height * .7;
|
|
1944
|
-
for (; !w(e, C) && C > 0;) --C;
|
|
1945
|
-
return C;
|
|
1946
|
-
}), O = Math.floor(Math.min(...D));
|
|
1947
|
-
C.selectAll("text").data(E).enter().append("text").attr("x", (e) => e.data.x + e.data.width - 10).attr("y", (e) => e.data.y + e.data.height / 2).attr("text-anchor", "end").attr("dominant-baseline", "middle").attr("fill", "black").attr("font-size", `${O}px`).text((e) => e.label);
|
|
1948
|
-
} else {
|
|
1949
|
-
let w = function(e, S, C) {
|
|
1950
|
-
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;
|
|
1951
|
-
return A && j;
|
|
1952
|
-
};
|
|
1953
|
-
__name(w, "fitsInBar");
|
|
1954
|
-
let T = S.data.map((e, S) => ({
|
|
1955
|
-
data: e,
|
|
1956
|
-
label: j[S].toString()
|
|
1957
|
-
})).filter((e) => e.data.width > 0 && e.data.height > 0), E = T.map((e) => {
|
|
1958
|
-
let { data: S, label: C } = e, T = S.width / (C.length * .7);
|
|
1959
|
-
for (; !w(e, T, 10) && T > 0;) --T;
|
|
1960
|
-
return T;
|
|
1961
|
-
}), D = Math.floor(Math.min(...E));
|
|
1962
|
-
C.selectAll("text").data(T).enter().append("text").attr("x", (e) => e.data.x + e.data.width / 2).attr("y", (e) => e.data.y + 10).attr("text-anchor", "middle").attr("dominant-baseline", "hanging").attr("fill", "black").attr("font-size", `${D}px`).text((e) => e.label);
|
|
1963
|
-
}
|
|
1964
|
-
break;
|
|
1965
|
-
case "text":
|
|
1966
|
-
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);
|
|
1967
|
-
break;
|
|
1968
|
-
case "path":
|
|
1969
|
-
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);
|
|
1970
|
-
break;
|
|
1971
|
-
}
|
|
1972
|
-
}
|
|
1973
|
-
}, "draw") }
|
|
1974
|
-
};
|
|
1975
|
-
export { diagram };
|