@loopstack/loopstack-studio 0.25.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 +4 -2
- package/dist/api/dashboard.js +4 -2
- package/dist/api/documents.js +4 -2
- package/dist/api/index.js +21 -19
- package/dist/api/processor.js +4 -2
- package/dist/api/secrets.js +4 -2
- package/dist/api/workflows.js +4 -2
- 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 +65 -104
- package/dist/components/loopstack-elements/tool.js +70 -142
- 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 -37
- package/dist/components/ui-widgets/UiWidget.js +34 -46
- package/dist/components/ui-widgets/widgets/AiPromptInput.js +28 -42
- package/dist/components/ui-widgets/widgets/ButtonFullWidth.js +16 -21
- package/dist/components/ui-widgets/widgets/SandboxRun.js +19 -26
- package/dist/components/ui-widgets/widgets/SubmitButton.js +15 -20
- 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 +108 -148
- 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 +30 -46
- package/dist/features/debug/components/WorkflowDebugLegend.js +56 -68
- package/dist/features/debug/components/WorkflowFlowViewer.js +76 -96
- package/dist/features/debug/components/workflow-flow/StateNode.js +73 -102
- package/dist/features/debug/components/workflow-flow/WorkflowGraph.js +35 -40
- package/dist/features/debug/components/workflow-flow/WorkflowTransitionEdge.js +61 -94
- 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 +147 -145
- package/dist/features/documents/DocumentRenderer.js +73 -77
- package/dist/features/documents/components/DocumentItem.js +21 -24
- package/dist/features/documents/components/DocumentList.js +39 -45
- 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 +77 -89
- package/dist/features/documents/renderers/ClaudeMessage.js +74 -91
- package/dist/features/documents/renderers/ConfirmPromptRenderer.js +44 -53
- package/dist/features/documents/renderers/DocumentDebugRenderer.js +26 -30
- package/dist/features/documents/renderers/DocumentFormRenderer.js +69 -85
- 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 -14
- 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 +37 -35
- package/dist/features/documents/renderers/TextPromptRenderer.js +45 -54
- package/dist/features/documents/renderers/useDocumentTransition.js +9 -7
- 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 +148 -197
- 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 -68
- package/dist/features/workbench/WorkflowList.js +51 -66
- package/dist/features/workbench/components/NewRunDialog.js +212 -309
- 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 -51
- package/dist/features/workbench/components/WorkbenchFlowPanel.js +35 -44
- package/dist/features/workbench/components/WorkbenchIconSidebar.js +50 -68
- package/dist/features/workbench/components/WorkbenchPreviewPanel.js +51 -49
- package/dist/features/workbench/components/WorkbenchSecretsPanel.js +143 -172
- package/dist/features/workbench/components/WorkbenchSettingsModal.js +49 -60
- package/dist/features/workbench/components/WorkflowForms.js +17 -23
- package/dist/features/workbench/components/WorkflowHistoryItem.js +96 -122
- package/dist/features/workbench/components/WorkflowHistoryList.js +31 -54
- package/dist/features/workbench/components/buttons/WorkflowButtons.js +70 -99
- 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 +31 -44
- package/dist/features/workbench/hooks/useWorkflowListState.js +13 -12
- package/dist/features/workbench/index.js +7 -7
- package/dist/features/workbench/providers/RemoteFileExplorerProvider.js +123 -138
- package/dist/features/workbench/providers/ScrollProvider.js +15 -19
- 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 +143 -185
- package/dist/features/workspaces/components/NewWorkflowRunDialog.js +18 -26
- package/dist/features/workspaces/components/WorkflowRunForm.js +85 -133
- package/dist/features/workspaces/components/WorkspaceHomePage.js +59 -80
- package/dist/features/workspaces/components/workflow-form/ArgumentsView.js +52 -69
- package/dist/features/workspaces/components/workflow-form/HeaderSection.js +27 -41
- package/dist/features/workspaces/components/workflow-form/SelectionView.js +64 -103
- 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 +33 -31
- 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 +109 -161
- package/dist/hooks/useWorkspaces.js +83 -123
- package/dist/index.d.ts +0 -1304
- 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 +14 -12
- 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 +6 -4
- 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 +39 -37
- package/dist/pages/EmbedWorkbenchPage.js +48 -62
- package/dist/pages/PreviewWorkbenchPage.js +243 -324
- 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 +74 -110
- package/dist/pages/WorkspacePage.js +72 -115
- 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 -29
- package/dist/providers/StudioProvider.js +14 -19
- package/dist/routing/LocalRouter.js +6 -9
- 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/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
|
@@ -0,0 +1,2348 @@
|
|
|
1
|
+
import { __export as e, __name as t, log as n, setLogLevel as r } from "./chunk-AGHRB4JF.js";
|
|
2
|
+
import i from "../../../../khroma/dist/methods/rgba.js";
|
|
3
|
+
import a from "../../../../khroma/dist/methods/is_dark.js";
|
|
4
|
+
import o from "../../../../khroma/dist/methods/lighten.js";
|
|
5
|
+
import s from "../../../../khroma/dist/methods/darken.js";
|
|
6
|
+
import c from "../../../../khroma/dist/methods/adjust.js";
|
|
7
|
+
import l from "../../../../khroma/dist/methods/invert.js";
|
|
8
|
+
import { purify as u } from "../../../../dompurify/dist/purify.es.js";
|
|
9
|
+
//#region ../../node_modules/mermaid/dist/chunks/mermaid.core/chunk-ICPOFSXX.mjs
|
|
10
|
+
var d = /^-{3}\s*[\n\r](.*?)[\n\r]-{3}\s*[\n\r]+/s, f = /%{2}{\s*(?:(\w+)\s*:|(\w+))\s*(?:(\w+)|((?:(?!}%{2}).|\r?\n)*))?\s*(?:}%{2})?/gi, ee = /\s*%%.*\n/gm, p = class extends Error {
|
|
11
|
+
static {
|
|
12
|
+
t(this, "UnknownDiagramError");
|
|
13
|
+
}
|
|
14
|
+
constructor(e) {
|
|
15
|
+
super(e), this.name = "UnknownDiagramError";
|
|
16
|
+
}
|
|
17
|
+
}, m = {}, te = /* @__PURE__ */ t(function(e, t) {
|
|
18
|
+
e = e.replace(d, "").replace(f, "").replace(ee, "\n");
|
|
19
|
+
for (let [n, { detector: r }] of Object.entries(m)) if (r(e, t)) return n;
|
|
20
|
+
throw new p(`No diagram type detected matching given configuration for text: ${e}`);
|
|
21
|
+
}, "detectType"), ne = /* @__PURE__ */ t((...e) => {
|
|
22
|
+
for (let { id: t, detector: n, loader: r } of e) h(t, n, r);
|
|
23
|
+
}, "registerLazyLoadedDiagrams"), h = /* @__PURE__ */ t((e, t, r) => {
|
|
24
|
+
m[e] && n.warn(`Detector with key ${e} already exists. Overwriting.`), m[e] = {
|
|
25
|
+
detector: t,
|
|
26
|
+
loader: r
|
|
27
|
+
}, n.debug(`Detector with key ${e} added${r ? " with loader" : ""}`);
|
|
28
|
+
}, "addDetector"), re = /* @__PURE__ */ t((e) => m[e].loader, "getDiagramLoader"), g = /* @__PURE__ */ t((e, t, { depth: n = 2, clobber: r = !1 } = {}) => {
|
|
29
|
+
let i = {
|
|
30
|
+
depth: n,
|
|
31
|
+
clobber: r
|
|
32
|
+
};
|
|
33
|
+
return Array.isArray(t) && !Array.isArray(e) ? (t.forEach((t) => g(e, t, i)), e) : Array.isArray(t) && Array.isArray(e) ? (t.forEach((t) => {
|
|
34
|
+
e.includes(t) || e.push(t);
|
|
35
|
+
}), e) : e === void 0 || n <= 0 ? typeof e == "object" && e && typeof t == "object" ? Object.assign(e, t) : t : (t !== void 0 && typeof e == "object" && typeof t == "object" && Object.keys(t).forEach((i) => {
|
|
36
|
+
typeof t[i] == "object" && t[i] !== null && (e[i] === void 0 || typeof e[i] == "object") ? (e[i] === void 0 && (e[i] = Array.isArray(t[i]) ? [] : {}), e[i] = g(e[i], t[i], {
|
|
37
|
+
depth: n - 1,
|
|
38
|
+
clobber: r
|
|
39
|
+
})) : (r || typeof e[i] != "object" && typeof t[i] != "object") && (e[i] = t[i]);
|
|
40
|
+
}), e);
|
|
41
|
+
}, "assignWithDepth"), _ = g, v = "#ffffff", y = "#f2f2f2", b = /* @__PURE__ */ t((e, t) => t ? c(e, {
|
|
42
|
+
s: -40,
|
|
43
|
+
l: 10
|
|
44
|
+
}) : c(e, {
|
|
45
|
+
s: -40,
|
|
46
|
+
l: -10
|
|
47
|
+
}), "mkBorder"), ie = class {
|
|
48
|
+
static {
|
|
49
|
+
t(this, "Theme");
|
|
50
|
+
}
|
|
51
|
+
constructor() {
|
|
52
|
+
this.background = "#f4f4f4", this.primaryColor = "#fff4dd", this.noteBkgColor = "#fff5ad", this.noteTextColor = "#333", this.THEME_COLOR_LIMIT = 12, this.radius = 5, this.strokeWidth = 1, this.fontFamily = "\"trebuchet ms\", verdana, arial, sans-serif", this.fontSize = "16px", this.useGradient = !0, this.dropShadow = "drop-shadow( 1px 2px 2px rgba(185,185,185,1))";
|
|
53
|
+
}
|
|
54
|
+
updateColors() {
|
|
55
|
+
if (this.primaryTextColor = this.primaryTextColor || (this.darkMode ? "#eee" : "#333"), this.secondaryColor = this.secondaryColor || c(this.primaryColor, { h: -120 }), this.tertiaryColor = this.tertiaryColor || c(this.primaryColor, {
|
|
56
|
+
h: 180,
|
|
57
|
+
l: 5
|
|
58
|
+
}), this.primaryBorderColor = this.primaryBorderColor || b(this.primaryColor, this.darkMode), this.secondaryBorderColor = this.secondaryBorderColor || b(this.secondaryColor, this.darkMode), this.tertiaryBorderColor = this.tertiaryBorderColor || b(this.tertiaryColor, this.darkMode), this.noteBorderColor = this.noteBorderColor || b(this.noteBkgColor, this.darkMode), this.noteBkgColor = this.noteBkgColor || "#fff5ad", this.noteTextColor = this.noteTextColor || "#333", this.secondaryTextColor = this.secondaryTextColor || l(this.secondaryColor), this.tertiaryTextColor = this.tertiaryTextColor || l(this.tertiaryColor), this.lineColor = this.lineColor || l(this.background), this.arrowheadColor = this.arrowheadColor || l(this.background), this.textColor = this.textColor || this.primaryTextColor, this.border2 = this.border2 || this.tertiaryBorderColor, this.nodeBkg = this.nodeBkg || this.primaryColor, this.mainBkg = this.mainBkg || this.primaryColor, this.nodeBorder = this.nodeBorder || this.primaryBorderColor, this.clusterBkg = this.clusterBkg || this.tertiaryColor, this.clusterBorder = this.clusterBorder || this.tertiaryBorderColor, this.defaultLinkColor = this.defaultLinkColor || this.lineColor, this.titleColor = this.titleColor || this.tertiaryTextColor, this.edgeLabelBackground = this.edgeLabelBackground || (this.darkMode ? s(this.secondaryColor, 30) : this.secondaryColor), this.nodeTextColor = this.nodeTextColor || this.primaryTextColor, this.actorBorder = this.actorBorder || this.primaryBorderColor, this.actorBkg = this.actorBkg || this.mainBkg, this.actorTextColor = this.actorTextColor || this.primaryTextColor, this.actorLineColor = this.actorLineColor || this.actorBorder, this.labelBoxBkgColor = this.labelBoxBkgColor || this.actorBkg, this.signalColor = this.signalColor || this.textColor, this.signalTextColor = this.signalTextColor || this.textColor, this.labelBoxBorderColor = this.labelBoxBorderColor || this.actorBorder, this.labelTextColor = this.labelTextColor || this.actorTextColor, this.loopTextColor = this.loopTextColor || this.actorTextColor, this.activationBorderColor = this.activationBorderColor || s(this.secondaryColor, 10), this.activationBkgColor = this.activationBkgColor || this.secondaryColor, this.sequenceNumberColor = this.sequenceNumberColor || l(this.lineColor), this.sectionBkgColor = this.sectionBkgColor || this.tertiaryColor, this.altSectionBkgColor = this.altSectionBkgColor || "white", this.sectionBkgColor = this.sectionBkgColor || this.secondaryColor, this.sectionBkgColor2 = this.sectionBkgColor2 || this.primaryColor, this.excludeBkgColor = this.excludeBkgColor || "#eeeeee", this.taskBorderColor = this.taskBorderColor || this.primaryBorderColor, this.taskBkgColor = this.taskBkgColor || this.primaryColor, this.activeTaskBorderColor = this.activeTaskBorderColor || this.primaryColor, this.activeTaskBkgColor = this.activeTaskBkgColor || o(this.primaryColor, 23), this.gridColor = this.gridColor || "lightgrey", this.doneTaskBkgColor = this.doneTaskBkgColor || "lightgrey", this.doneTaskBorderColor = this.doneTaskBorderColor || "grey", this.critBorderColor = this.critBorderColor || "#ff8888", this.critBkgColor = this.critBkgColor || "red", this.todayLineColor = this.todayLineColor || "red", this.vertLineColor = this.vertLineColor || "navy", this.taskTextColor = this.taskTextColor || this.textColor, this.taskTextOutsideColor = this.taskTextOutsideColor || this.textColor, this.taskTextLightColor = this.taskTextLightColor || this.textColor, this.taskTextColor = this.taskTextColor || this.primaryTextColor, this.taskTextDarkColor = this.taskTextDarkColor || this.textColor, this.taskTextClickableColor = this.taskTextClickableColor || "#003163", this.noteFontWeight = this.noteFontWeight || "normal", this.fontWeight = this.fontWeight || "normal", this.personBorder = this.personBorder || this.primaryBorderColor, this.personBkg = this.personBkg || this.mainBkg, this.darkMode ? (this.rowOdd = this.rowOdd || s(this.mainBkg, 5) || "#ffffff", this.rowEven = this.rowEven || s(this.mainBkg, 10)) : (this.rowOdd = this.rowOdd || o(this.mainBkg, 75) || "#ffffff", this.rowEven = this.rowEven || o(this.mainBkg, 5)), this.transitionColor = this.transitionColor || this.lineColor, this.transitionLabelColor = this.transitionLabelColor || this.textColor, this.stateLabelColor = this.stateLabelColor || this.stateBkg || this.primaryTextColor, this.stateBkg = this.stateBkg || this.mainBkg, this.labelBackgroundColor = this.labelBackgroundColor || this.stateBkg, this.compositeBackground = this.compositeBackground || this.background || this.tertiaryColor, this.altBackground = this.altBackground || this.tertiaryColor, this.compositeTitleBackground = this.compositeTitleBackground || this.mainBkg, this.compositeBorder = this.compositeBorder || this.nodeBorder, this.innerEndBackground = this.nodeBorder, this.errorBkgColor = this.errorBkgColor || this.tertiaryColor, this.errorTextColor = this.errorTextColor || this.tertiaryTextColor, this.transitionColor = this.transitionColor || this.lineColor, this.specialStateColor = this.lineColor, this.cScale0 = this.cScale0 || this.primaryColor, this.cScale1 = this.cScale1 || this.secondaryColor, this.cScale2 = this.cScale2 || this.tertiaryColor, this.cScale3 = this.cScale3 || c(this.primaryColor, { h: 30 }), this.cScale4 = this.cScale4 || c(this.primaryColor, { h: 60 }), this.cScale5 = this.cScale5 || c(this.primaryColor, { h: 90 }), this.cScale6 = this.cScale6 || c(this.primaryColor, { h: 120 }), this.cScale7 = this.cScale7 || c(this.primaryColor, { h: 150 }), this.cScale8 = this.cScale8 || c(this.primaryColor, {
|
|
59
|
+
h: 210,
|
|
60
|
+
l: 150
|
|
61
|
+
}), this.cScale9 = this.cScale9 || c(this.primaryColor, { h: 270 }), this.cScale10 = this.cScale10 || c(this.primaryColor, { h: 300 }), this.cScale11 = this.cScale11 || c(this.primaryColor, { h: 330 }), this.darkMode) for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScale" + e] = s(this["cScale" + e], 75);
|
|
62
|
+
else for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScale" + e] = s(this["cScale" + e], 25);
|
|
63
|
+
for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScaleInv" + e] = this["cScaleInv" + e] || l(this["cScale" + e]);
|
|
64
|
+
for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this.darkMode ? this["cScalePeer" + e] = this["cScalePeer" + e] || o(this["cScale" + e], 10) : this["cScalePeer" + e] = this["cScalePeer" + e] || s(this["cScale" + e], 10);
|
|
65
|
+
this.scaleLabelColor = this.scaleLabelColor || this.labelTextColor;
|
|
66
|
+
for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScaleLabel" + e] = this["cScaleLabel" + e] || this.scaleLabelColor;
|
|
67
|
+
let e = this.darkMode ? -4 : -1;
|
|
68
|
+
for (let t = 0; t < 5; t++) this["surface" + t] = this["surface" + t] || c(this.mainBkg, {
|
|
69
|
+
h: 180,
|
|
70
|
+
s: -15,
|
|
71
|
+
l: e * (5 + t * 3)
|
|
72
|
+
}), this["surfacePeer" + t] = this["surfacePeer" + t] || c(this.mainBkg, {
|
|
73
|
+
h: 180,
|
|
74
|
+
s: -15,
|
|
75
|
+
l: e * (8 + t * 3)
|
|
76
|
+
});
|
|
77
|
+
this.classText = this.classText || this.textColor, this.fillType0 = this.fillType0 || this.primaryColor, this.fillType1 = this.fillType1 || this.secondaryColor, this.fillType2 = this.fillType2 || c(this.primaryColor, { h: 64 }), this.fillType3 = this.fillType3 || c(this.secondaryColor, { h: 64 }), this.fillType4 = this.fillType4 || c(this.primaryColor, { h: -64 }), this.fillType5 = this.fillType5 || c(this.secondaryColor, { h: -64 }), this.fillType6 = this.fillType6 || c(this.primaryColor, { h: 128 }), this.fillType7 = this.fillType7 || c(this.secondaryColor, { h: 128 }), this.pie1 = this.pie1 || this.primaryColor, this.pie2 = this.pie2 || this.secondaryColor, this.pie3 = this.pie3 || this.tertiaryColor, this.pie4 = this.pie4 || c(this.primaryColor, { l: -10 }), this.pie5 = this.pie5 || c(this.secondaryColor, { l: -10 }), this.pie6 = this.pie6 || c(this.tertiaryColor, { l: -10 }), this.pie7 = this.pie7 || c(this.primaryColor, {
|
|
78
|
+
h: 60,
|
|
79
|
+
l: -10
|
|
80
|
+
}), this.pie8 = this.pie8 || c(this.primaryColor, {
|
|
81
|
+
h: -60,
|
|
82
|
+
l: -10
|
|
83
|
+
}), this.pie9 = this.pie9 || c(this.primaryColor, {
|
|
84
|
+
h: 120,
|
|
85
|
+
l: 0
|
|
86
|
+
}), this.pie10 = this.pie10 || c(this.primaryColor, {
|
|
87
|
+
h: 60,
|
|
88
|
+
l: -20
|
|
89
|
+
}), this.pie11 = this.pie11 || c(this.primaryColor, {
|
|
90
|
+
h: -60,
|
|
91
|
+
l: -20
|
|
92
|
+
}), this.pie12 = this.pie12 || c(this.primaryColor, {
|
|
93
|
+
h: 120,
|
|
94
|
+
l: -10
|
|
95
|
+
}), this.pieTitleTextSize = this.pieTitleTextSize || "25px", this.pieTitleTextColor = this.pieTitleTextColor || this.taskTextDarkColor, this.pieSectionTextSize = this.pieSectionTextSize || "17px", this.pieSectionTextColor = this.pieSectionTextColor || this.textColor, this.pieLegendTextSize = this.pieLegendTextSize || "17px", this.pieLegendTextColor = this.pieLegendTextColor || this.taskTextDarkColor, this.pieStrokeColor = this.pieStrokeColor || "black", this.pieStrokeWidth = this.pieStrokeWidth || "2px", this.pieOuterStrokeWidth = this.pieOuterStrokeWidth || "2px", this.pieOuterStrokeColor = this.pieOuterStrokeColor || "black", this.pieOpacity = this.pieOpacity || "0.7", this.venn1 = this.venn1 ?? c(this.primaryColor, { l: -30 }), this.venn2 = this.venn2 ?? c(this.secondaryColor, { l: -30 }), this.venn3 = this.venn3 ?? c(this.tertiaryColor, { l: -30 }), this.venn4 = this.venn4 ?? c(this.primaryColor, {
|
|
96
|
+
h: 60,
|
|
97
|
+
l: -30
|
|
98
|
+
}), this.venn5 = this.venn5 ?? c(this.primaryColor, {
|
|
99
|
+
h: -60,
|
|
100
|
+
l: -30
|
|
101
|
+
}), this.venn6 = this.venn6 ?? c(this.secondaryColor, {
|
|
102
|
+
h: 60,
|
|
103
|
+
l: -30
|
|
104
|
+
}), this.venn7 = this.venn7 ?? c(this.primaryColor, {
|
|
105
|
+
h: 120,
|
|
106
|
+
l: -30
|
|
107
|
+
}), this.venn8 = this.venn8 ?? c(this.secondaryColor, {
|
|
108
|
+
h: 120,
|
|
109
|
+
l: -30
|
|
110
|
+
}), this.vennTitleTextColor = this.vennTitleTextColor ?? this.titleColor, this.vennSetTextColor = this.vennSetTextColor ?? this.textColor, this.radar = {
|
|
111
|
+
axisColor: this.radar?.axisColor || this.lineColor,
|
|
112
|
+
axisStrokeWidth: this.radar?.axisStrokeWidth || 2,
|
|
113
|
+
axisLabelFontSize: this.radar?.axisLabelFontSize || 12,
|
|
114
|
+
curveOpacity: this.radar?.curveOpacity || .5,
|
|
115
|
+
curveStrokeWidth: this.radar?.curveStrokeWidth || 2,
|
|
116
|
+
graticuleColor: this.radar?.graticuleColor || "#DEDEDE",
|
|
117
|
+
graticuleStrokeWidth: this.radar?.graticuleStrokeWidth || 1,
|
|
118
|
+
graticuleOpacity: this.radar?.graticuleOpacity || .3,
|
|
119
|
+
legendBoxSize: this.radar?.legendBoxSize || 12,
|
|
120
|
+
legendFontSize: this.radar?.legendFontSize || 12
|
|
121
|
+
}, this.archEdgeColor = this.archEdgeColor || "#777", this.archEdgeArrowColor = this.archEdgeArrowColor || "#777", this.archEdgeWidth = this.archEdgeWidth || "3", this.archGroupBorderColor = this.archGroupBorderColor || "#000", this.archGroupBorderWidth = this.archGroupBorderWidth || "2px", this.quadrant1Fill = this.quadrant1Fill || this.primaryColor, this.quadrant2Fill = this.quadrant2Fill || c(this.primaryColor, {
|
|
122
|
+
r: 5,
|
|
123
|
+
g: 5,
|
|
124
|
+
b: 5
|
|
125
|
+
}), this.quadrant3Fill = this.quadrant3Fill || c(this.primaryColor, {
|
|
126
|
+
r: 10,
|
|
127
|
+
g: 10,
|
|
128
|
+
b: 10
|
|
129
|
+
}), this.quadrant4Fill = this.quadrant4Fill || c(this.primaryColor, {
|
|
130
|
+
r: 15,
|
|
131
|
+
g: 15,
|
|
132
|
+
b: 15
|
|
133
|
+
}), this.quadrant1TextFill = this.quadrant1TextFill || this.primaryTextColor, this.quadrant2TextFill = this.quadrant2TextFill || c(this.primaryTextColor, {
|
|
134
|
+
r: -5,
|
|
135
|
+
g: -5,
|
|
136
|
+
b: -5
|
|
137
|
+
}), this.quadrant3TextFill = this.quadrant3TextFill || c(this.primaryTextColor, {
|
|
138
|
+
r: -10,
|
|
139
|
+
g: -10,
|
|
140
|
+
b: -10
|
|
141
|
+
}), this.quadrant4TextFill = this.quadrant4TextFill || c(this.primaryTextColor, {
|
|
142
|
+
r: -15,
|
|
143
|
+
g: -15,
|
|
144
|
+
b: -15
|
|
145
|
+
}), this.quadrantPointFill = this.quadrantPointFill || a(this.quadrant1Fill) ? o(this.quadrant1Fill) : s(this.quadrant1Fill), this.quadrantPointTextFill = this.quadrantPointTextFill || this.primaryTextColor, this.quadrantXAxisTextFill = this.quadrantXAxisTextFill || this.primaryTextColor, this.quadrantYAxisTextFill = this.quadrantYAxisTextFill || this.primaryTextColor, this.quadrantInternalBorderStrokeFill = this.quadrantInternalBorderStrokeFill || this.primaryBorderColor, this.quadrantExternalBorderStrokeFill = this.quadrantExternalBorderStrokeFill || this.primaryBorderColor, this.quadrantTitleFill = this.quadrantTitleFill || this.primaryTextColor, this.xyChart = {
|
|
146
|
+
backgroundColor: this.xyChart?.backgroundColor || this.background,
|
|
147
|
+
titleColor: this.xyChart?.titleColor || this.primaryTextColor,
|
|
148
|
+
dataLabelColor: this.xyChart?.dataLabelColor || this.primaryTextColor,
|
|
149
|
+
xAxisTitleColor: this.xyChart?.xAxisTitleColor || this.primaryTextColor,
|
|
150
|
+
xAxisLabelColor: this.xyChart?.xAxisLabelColor || this.primaryTextColor,
|
|
151
|
+
xAxisTickColor: this.xyChart?.xAxisTickColor || this.primaryTextColor,
|
|
152
|
+
xAxisLineColor: this.xyChart?.xAxisLineColor || this.primaryTextColor,
|
|
153
|
+
yAxisTitleColor: this.xyChart?.yAxisTitleColor || this.primaryTextColor,
|
|
154
|
+
yAxisLabelColor: this.xyChart?.yAxisLabelColor || this.primaryTextColor,
|
|
155
|
+
yAxisTickColor: this.xyChart?.yAxisTickColor || this.primaryTextColor,
|
|
156
|
+
yAxisLineColor: this.xyChart?.yAxisLineColor || this.primaryTextColor,
|
|
157
|
+
plotColorPalette: this.xyChart?.plotColorPalette || "#FFF4DD,#FFD8B1,#FFA07A,#ECEFF1,#D6DBDF,#C3E0A8,#FFB6A4,#FFD74D,#738FA7,#FFFFF0"
|
|
158
|
+
}, this.requirementBackground = this.requirementBackground || this.primaryColor, this.requirementBorderColor = this.requirementBorderColor || this.primaryBorderColor, this.requirementBorderSize = this.requirementBorderSize || "1", this.requirementTextColor = this.requirementTextColor || this.primaryTextColor, this.relationColor = this.relationColor || this.lineColor, this.relationLabelBackground = this.relationLabelBackground || (this.darkMode ? s(this.secondaryColor, 30) : this.secondaryColor), this.relationLabelColor = this.relationLabelColor || this.actorTextColor, this.git0 = this.git0 || this.primaryColor, this.git1 = this.git1 || this.secondaryColor, this.git2 = this.git2 || this.tertiaryColor, this.git3 = this.git3 || c(this.primaryColor, { h: -30 }), this.git4 = this.git4 || c(this.primaryColor, { h: -60 }), this.git5 = this.git5 || c(this.primaryColor, { h: -90 }), this.git6 = this.git6 || c(this.primaryColor, { h: 60 }), this.git7 = this.git7 || c(this.primaryColor, { h: 120 }), this.darkMode ? (this.git0 = o(this.git0, 25), this.git1 = o(this.git1, 25), this.git2 = o(this.git2, 25), this.git3 = o(this.git3, 25), this.git4 = o(this.git4, 25), this.git5 = o(this.git5, 25), this.git6 = o(this.git6, 25), this.git7 = o(this.git7, 25)) : (this.git0 = s(this.git0, 25), this.git1 = s(this.git1, 25), this.git2 = s(this.git2, 25), this.git3 = s(this.git3, 25), this.git4 = s(this.git4, 25), this.git5 = s(this.git5, 25), this.git6 = s(this.git6, 25), this.git7 = s(this.git7, 25)), this.gitInv0 = this.gitInv0 || l(this.git0), this.gitInv1 = this.gitInv1 || l(this.git1), this.gitInv2 = this.gitInv2 || l(this.git2), this.gitInv3 = this.gitInv3 || l(this.git3), this.gitInv4 = this.gitInv4 || l(this.git4), this.gitInv5 = this.gitInv5 || l(this.git5), this.gitInv6 = this.gitInv6 || l(this.git6), this.gitInv7 = this.gitInv7 || l(this.git7), this.branchLabelColor = this.branchLabelColor || (this.darkMode ? "black" : this.labelTextColor), this.gitBranchLabel0 = this.gitBranchLabel0 || this.branchLabelColor, this.gitBranchLabel1 = this.gitBranchLabel1 || this.branchLabelColor, this.gitBranchLabel2 = this.gitBranchLabel2 || this.branchLabelColor, this.gitBranchLabel3 = this.gitBranchLabel3 || this.branchLabelColor, this.gitBranchLabel4 = this.gitBranchLabel4 || this.branchLabelColor, this.gitBranchLabel5 = this.gitBranchLabel5 || this.branchLabelColor, this.gitBranchLabel6 = this.gitBranchLabel6 || this.branchLabelColor, this.gitBranchLabel7 = this.gitBranchLabel7 || this.branchLabelColor, this.tagLabelColor = this.tagLabelColor || this.primaryTextColor, this.tagLabelBackground = this.tagLabelBackground || this.primaryColor, this.tagLabelBorder = this.tagBorder || this.primaryBorderColor, this.tagLabelFontSize = this.tagLabelFontSize || "10px", this.commitLabelColor = this.commitLabelColor || this.secondaryTextColor, this.commitLabelBackground = this.commitLabelBackground || this.secondaryColor, this.commitLabelFontSize = this.commitLabelFontSize || "10px", this.attributeBackgroundColorOdd = this.attributeBackgroundColorOdd || v, this.attributeBackgroundColorEven = this.attributeBackgroundColorEven || y, this.gradientStart = this.primaryBorderColor, this.gradientStop = this.secondaryBorderColor;
|
|
159
|
+
}
|
|
160
|
+
calculate(e) {
|
|
161
|
+
if (typeof e != "object") {
|
|
162
|
+
this.updateColors();
|
|
163
|
+
return;
|
|
164
|
+
}
|
|
165
|
+
let t = Object.keys(e);
|
|
166
|
+
t.forEach((t) => {
|
|
167
|
+
this[t] = e[t];
|
|
168
|
+
}), this.updateColors(), t.forEach((t) => {
|
|
169
|
+
this[t] = e[t];
|
|
170
|
+
});
|
|
171
|
+
}
|
|
172
|
+
}, ae = /* @__PURE__ */ t((e) => {
|
|
173
|
+
let t = new ie();
|
|
174
|
+
return t.calculate(e), t;
|
|
175
|
+
}, "getThemeVariables"), oe = class {
|
|
176
|
+
static {
|
|
177
|
+
t(this, "Theme");
|
|
178
|
+
}
|
|
179
|
+
constructor() {
|
|
180
|
+
this.background = "#333", this.primaryColor = "#1f2020", this.secondaryColor = o(this.primaryColor, 16), this.tertiaryColor = c(this.primaryColor, { h: -160 }), this.primaryBorderColor = l(this.background), this.secondaryBorderColor = b(this.secondaryColor, this.darkMode), this.tertiaryBorderColor = b(this.tertiaryColor, this.darkMode), this.primaryTextColor = l(this.primaryColor), this.secondaryTextColor = l(this.secondaryColor), this.tertiaryTextColor = l(this.tertiaryColor), this.lineColor = l(this.background), this.textColor = l(this.background), this.mainBkg = "#1f2020", this.secondBkg = "calculated", this.mainContrastColor = "lightgrey", this.darkTextColor = o(l("#323D47"), 10), this.lineColor = "calculated", this.border1 = "#ccc", this.border2 = i(255, 255, 255, .25), this.arrowheadColor = "calculated", this.fontFamily = "\"trebuchet ms\", verdana, arial, sans-serif", this.fontSize = "16px", this.labelBackground = "#181818", this.textColor = "#ccc", this.THEME_COLOR_LIMIT = 12, this.radius = 5, this.strokeWidth = 1, this.nodeBkg = "calculated", this.nodeBorder = "calculated", this.clusterBkg = "calculated", this.clusterBorder = "calculated", this.defaultLinkColor = "calculated", this.titleColor = "#F9FFFE", this.edgeLabelBackground = "calculated", this.actorBorder = "calculated", this.actorBkg = "calculated", this.actorTextColor = "calculated", this.actorLineColor = "calculated", this.signalColor = "calculated", this.signalTextColor = "calculated", this.labelBoxBkgColor = "calculated", this.labelBoxBorderColor = "calculated", this.labelTextColor = "calculated", this.loopTextColor = "calculated", this.noteBorderColor = "calculated", this.noteBkgColor = "#fff5ad", this.noteTextColor = "calculated", this.activationBorderColor = "calculated", this.activationBkgColor = "calculated", this.sequenceNumberColor = "black", this.clusterBkg = "#302F3D", this.sectionBkgColor = s("#EAE8D9", 30), this.altSectionBkgColor = "calculated", this.sectionBkgColor2 = "#EAE8D9", this.excludeBkgColor = s(this.sectionBkgColor, 10), this.taskBorderColor = i(255, 255, 255, 70), this.taskBkgColor = "calculated", this.taskTextColor = "calculated", this.taskTextLightColor = "calculated", this.taskTextOutsideColor = "calculated", this.taskTextClickableColor = "#003163", this.activeTaskBorderColor = i(255, 255, 255, 50), this.activeTaskBkgColor = "#81B1DB", this.gridColor = "calculated", this.doneTaskBkgColor = "calculated", this.doneTaskBorderColor = "grey", this.critBorderColor = "#E83737", this.critBkgColor = "#E83737", this.taskTextDarkColor = "calculated", this.todayLineColor = "#DB5757", this.vertLineColor = "#00BFFF", this.personBorder = this.primaryBorderColor, this.personBkg = this.mainBkg, this.archEdgeColor = "calculated", this.archEdgeArrowColor = "calculated", this.archEdgeWidth = "3", this.archGroupBorderColor = this.primaryBorderColor, this.archGroupBorderWidth = "2px", this.rowOdd = this.rowOdd || o(this.mainBkg, 5) || "#ffffff", this.rowEven = this.rowEven || s(this.mainBkg, 10), this.labelColor = "calculated", this.errorBkgColor = "#a44141", this.errorTextColor = "#ddd", this.useGradient = !0, this.gradientStart = this.primaryBorderColor, this.gradientStop = this.secondaryBorderColor, this.dropShadow = "drop-shadow( 1px 2px 2px rgba(185,185,185,1))", this.noteFontWeight = this.noteFontWeight || "normal", this.fontWeight = this.fontWeight || "normal";
|
|
181
|
+
}
|
|
182
|
+
updateColors() {
|
|
183
|
+
this.secondBkg = o(this.mainBkg, 16), this.lineColor = this.mainContrastColor, this.arrowheadColor = this.mainContrastColor, this.nodeBkg = this.mainBkg, this.nodeBorder = this.border1, this.clusterBkg = this.secondBkg, this.clusterBorder = this.border2, this.defaultLinkColor = this.lineColor, this.edgeLabelBackground = o(this.labelBackground, 25), this.actorBorder = this.border1, this.actorBkg = this.mainBkg, this.actorTextColor = this.mainContrastColor, this.actorLineColor = this.actorBorder, this.signalColor = this.mainContrastColor, this.signalTextColor = this.mainContrastColor, this.labelBoxBkgColor = this.actorBkg, this.labelBoxBorderColor = this.actorBorder, this.labelTextColor = this.mainContrastColor, this.loopTextColor = this.mainContrastColor, this.noteBorderColor = this.secondaryBorderColor, this.noteBkgColor = this.secondBkg, this.noteTextColor = this.secondaryTextColor, this.activationBorderColor = this.border1, this.activationBkgColor = this.secondBkg, this.altSectionBkgColor = this.background, this.taskBkgColor = o(this.mainBkg, 23), this.taskTextColor = this.darkTextColor, this.taskTextLightColor = this.mainContrastColor, this.taskTextOutsideColor = this.taskTextLightColor, this.gridColor = this.mainContrastColor, this.doneTaskBkgColor = this.mainContrastColor, this.taskTextDarkColor = l(this.doneTaskBkgColor), this.archEdgeColor = this.lineColor, this.archEdgeArrowColor = this.lineColor, this.transitionColor = this.transitionColor || this.lineColor, this.transitionLabelColor = this.transitionLabelColor || this.textColor, this.stateLabelColor = this.stateLabelColor || this.stateBkg || this.primaryTextColor, this.stateBkg = this.stateBkg || this.mainBkg, this.labelBackgroundColor = this.labelBackgroundColor || this.stateBkg, this.compositeBackground = this.compositeBackground || this.background || this.tertiaryColor, this.altBackground = this.altBackground || "#555", this.compositeTitleBackground = this.compositeTitleBackground || this.mainBkg, this.compositeBorder = this.compositeBorder || this.nodeBorder, this.innerEndBackground = this.primaryBorderColor, this.specialStateColor = "#f4f4f4", this.errorBkgColor = this.errorBkgColor || this.tertiaryColor, this.errorTextColor = this.errorTextColor || this.tertiaryTextColor, this.fillType0 = this.primaryColor, this.fillType1 = this.secondaryColor, this.fillType2 = c(this.primaryColor, { h: 64 }), this.fillType3 = c(this.secondaryColor, { h: 64 }), this.fillType4 = c(this.primaryColor, { h: -64 }), this.fillType5 = c(this.secondaryColor, { h: -64 }), this.fillType6 = c(this.primaryColor, { h: 128 }), this.fillType7 = c(this.secondaryColor, { h: 128 }), this.cScale1 = this.cScale1 || "#0b0000", this.cScale2 = this.cScale2 || "#4d1037", this.cScale3 = this.cScale3 || "#3f5258", this.cScale4 = this.cScale4 || "#4f2f1b", this.cScale5 = this.cScale5 || "#6e0a0a", this.cScale6 = this.cScale6 || "#3b0048", this.cScale7 = this.cScale7 || "#995a01", this.cScale8 = this.cScale8 || "#154706", this.cScale9 = this.cScale9 || "#161722", this.cScale10 = this.cScale10 || "#00296f", this.cScale11 = this.cScale11 || "#01629c", this.cScale12 = this.cScale12 || "#010029", this.cScale0 = this.cScale0 || this.primaryColor, this.cScale1 = this.cScale1 || this.secondaryColor, this.cScale2 = this.cScale2 || this.tertiaryColor, this.cScale3 = this.cScale3 || c(this.primaryColor, { h: 30 }), this.cScale4 = this.cScale4 || c(this.primaryColor, { h: 60 }), this.cScale5 = this.cScale5 || c(this.primaryColor, { h: 90 }), this.cScale6 = this.cScale6 || c(this.primaryColor, { h: 120 }), this.cScale7 = this.cScale7 || c(this.primaryColor, { h: 150 }), this.cScale8 = this.cScale8 || c(this.primaryColor, { h: 210 }), this.cScale9 = this.cScale9 || c(this.primaryColor, { h: 270 }), this.cScale10 = this.cScale10 || c(this.primaryColor, { h: 300 }), this.cScale11 = this.cScale11 || c(this.primaryColor, { h: 330 });
|
|
184
|
+
for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScaleInv" + e] = this["cScaleInv" + e] || l(this["cScale" + e]);
|
|
185
|
+
for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScalePeer" + e] = this["cScalePeer" + e] || o(this["cScale" + e], 10);
|
|
186
|
+
for (let e = 0; e < 5; e++) this["surface" + e] = this["surface" + e] || c(this.mainBkg, {
|
|
187
|
+
h: 30,
|
|
188
|
+
s: -30,
|
|
189
|
+
l: -(-10 + e * 4)
|
|
190
|
+
}), this["surfacePeer" + e] = this["surfacePeer" + e] || c(this.mainBkg, {
|
|
191
|
+
h: 30,
|
|
192
|
+
s: -30,
|
|
193
|
+
l: -(-7 + e * 4)
|
|
194
|
+
});
|
|
195
|
+
this.scaleLabelColor = this.scaleLabelColor || (this.darkMode ? "black" : this.labelTextColor);
|
|
196
|
+
for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScaleLabel" + e] = this["cScaleLabel" + e] || this.scaleLabelColor;
|
|
197
|
+
for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["pie" + e] = this["cScale" + e];
|
|
198
|
+
this.pieTitleTextSize = this.pieTitleTextSize || "25px", this.pieTitleTextColor = this.pieTitleTextColor || this.mainContrastColor, this.pieSectionTextSize = this.pieSectionTextSize || "17px", this.pieSectionTextColor = this.pieSectionTextColor || this.textColor, this.pieLegendTextSize = this.pieLegendTextSize || "17px", this.pieLegendTextColor = this.pieLegendTextColor || this.mainContrastColor, this.pieStrokeColor = this.pieStrokeColor || "black", this.pieStrokeWidth = this.pieStrokeWidth || "2px", this.pieOuterStrokeWidth = this.pieOuterStrokeWidth || "2px", this.pieOuterStrokeColor = this.pieOuterStrokeColor || "black", this.pieOpacity = this.pieOpacity || "0.7";
|
|
199
|
+
for (let e = 0; e < 8; e++) this["venn" + (e + 1)] = this["venn" + (e + 1)] ?? o(this["cScale" + e], 30);
|
|
200
|
+
this.vennTitleTextColor = this.vennTitleTextColor ?? this.titleColor, this.vennSetTextColor = this.vennSetTextColor ?? this.textColor, this.quadrant1Fill = this.quadrant1Fill || this.primaryColor, this.quadrant2Fill = this.quadrant2Fill || c(this.primaryColor, {
|
|
201
|
+
r: 5,
|
|
202
|
+
g: 5,
|
|
203
|
+
b: 5
|
|
204
|
+
}), this.quadrant3Fill = this.quadrant3Fill || c(this.primaryColor, {
|
|
205
|
+
r: 10,
|
|
206
|
+
g: 10,
|
|
207
|
+
b: 10
|
|
208
|
+
}), this.quadrant4Fill = this.quadrant4Fill || c(this.primaryColor, {
|
|
209
|
+
r: 15,
|
|
210
|
+
g: 15,
|
|
211
|
+
b: 15
|
|
212
|
+
}), this.quadrant1TextFill = this.quadrant1TextFill || this.primaryTextColor, this.quadrant2TextFill = this.quadrant2TextFill || c(this.primaryTextColor, {
|
|
213
|
+
r: -5,
|
|
214
|
+
g: -5,
|
|
215
|
+
b: -5
|
|
216
|
+
}), this.quadrant3TextFill = this.quadrant3TextFill || c(this.primaryTextColor, {
|
|
217
|
+
r: -10,
|
|
218
|
+
g: -10,
|
|
219
|
+
b: -10
|
|
220
|
+
}), this.quadrant4TextFill = this.quadrant4TextFill || c(this.primaryTextColor, {
|
|
221
|
+
r: -15,
|
|
222
|
+
g: -15,
|
|
223
|
+
b: -15
|
|
224
|
+
}), this.quadrantPointFill = this.quadrantPointFill || a(this.quadrant1Fill) ? o(this.quadrant1Fill) : s(this.quadrant1Fill), this.quadrantPointTextFill = this.quadrantPointTextFill || this.primaryTextColor, this.quadrantXAxisTextFill = this.quadrantXAxisTextFill || this.primaryTextColor, this.quadrantYAxisTextFill = this.quadrantYAxisTextFill || this.primaryTextColor, this.quadrantInternalBorderStrokeFill = this.quadrantInternalBorderStrokeFill || this.primaryBorderColor, this.quadrantExternalBorderStrokeFill = this.quadrantExternalBorderStrokeFill || this.primaryBorderColor, this.quadrantTitleFill = this.quadrantTitleFill || this.primaryTextColor, this.xyChart = {
|
|
225
|
+
backgroundColor: this.xyChart?.backgroundColor || this.background,
|
|
226
|
+
titleColor: this.xyChart?.titleColor || this.primaryTextColor,
|
|
227
|
+
dataLabelColor: this.xyChart?.dataLabelColor || this.primaryTextColor,
|
|
228
|
+
xAxisTitleColor: this.xyChart?.xAxisTitleColor || this.primaryTextColor,
|
|
229
|
+
xAxisLabelColor: this.xyChart?.xAxisLabelColor || this.primaryTextColor,
|
|
230
|
+
xAxisTickColor: this.xyChart?.xAxisTickColor || this.primaryTextColor,
|
|
231
|
+
xAxisLineColor: this.xyChart?.xAxisLineColor || this.primaryTextColor,
|
|
232
|
+
yAxisTitleColor: this.xyChart?.yAxisTitleColor || this.primaryTextColor,
|
|
233
|
+
yAxisLabelColor: this.xyChart?.yAxisLabelColor || this.primaryTextColor,
|
|
234
|
+
yAxisTickColor: this.xyChart?.yAxisTickColor || this.primaryTextColor,
|
|
235
|
+
yAxisLineColor: this.xyChart?.yAxisLineColor || this.primaryTextColor,
|
|
236
|
+
plotColorPalette: this.xyChart?.plotColorPalette || "#3498db,#2ecc71,#e74c3c,#f1c40f,#bdc3c7,#ffffff,#34495e,#9b59b6,#1abc9c,#e67e22"
|
|
237
|
+
}, this.packet = {
|
|
238
|
+
startByteColor: this.primaryTextColor,
|
|
239
|
+
endByteColor: this.primaryTextColor,
|
|
240
|
+
labelColor: this.primaryTextColor,
|
|
241
|
+
titleColor: this.primaryTextColor,
|
|
242
|
+
blockStrokeColor: this.primaryTextColor,
|
|
243
|
+
blockFillColor: this.background
|
|
244
|
+
}, this.radar = {
|
|
245
|
+
axisColor: this.radar?.axisColor || this.lineColor,
|
|
246
|
+
axisStrokeWidth: this.radar?.axisStrokeWidth || 2,
|
|
247
|
+
axisLabelFontSize: this.radar?.axisLabelFontSize || 12,
|
|
248
|
+
curveOpacity: this.radar?.curveOpacity || .5,
|
|
249
|
+
curveStrokeWidth: this.radar?.curveStrokeWidth || 2,
|
|
250
|
+
graticuleColor: this.radar?.graticuleColor || "#DEDEDE",
|
|
251
|
+
graticuleStrokeWidth: this.radar?.graticuleStrokeWidth || 1,
|
|
252
|
+
graticuleOpacity: this.radar?.graticuleOpacity || .3,
|
|
253
|
+
legendBoxSize: this.radar?.legendBoxSize || 12,
|
|
254
|
+
legendFontSize: this.radar?.legendFontSize || 12
|
|
255
|
+
}, this.classText = this.primaryTextColor, this.requirementBackground = this.requirementBackground || this.primaryColor, this.requirementBorderColor = this.requirementBorderColor || this.primaryBorderColor, this.requirementBorderSize = this.requirementBorderSize || "1", this.requirementTextColor = this.requirementTextColor || this.primaryTextColor, this.relationColor = this.relationColor || this.lineColor, this.relationLabelBackground = this.relationLabelBackground || (this.darkMode ? s(this.secondaryColor, 30) : this.secondaryColor), this.relationLabelColor = this.relationLabelColor || this.actorTextColor, this.git0 = o(this.secondaryColor, 20), this.git1 = o(this.pie2 || this.secondaryColor, 20), this.git2 = o(this.pie3 || this.tertiaryColor, 20), this.git3 = o(this.pie4 || c(this.primaryColor, { h: -30 }), 20), this.git4 = o(this.pie5 || c(this.primaryColor, { h: -60 }), 20), this.git5 = o(this.pie6 || c(this.primaryColor, { h: -90 }), 10), this.git6 = o(this.pie7 || c(this.primaryColor, { h: 60 }), 10), this.git7 = o(this.pie8 || c(this.primaryColor, { h: 120 }), 20), this.gitInv0 = this.gitInv0 || l(this.git0), this.gitInv1 = this.gitInv1 || l(this.git1), this.gitInv2 = this.gitInv2 || l(this.git2), this.gitInv3 = this.gitInv3 || l(this.git3), this.gitInv4 = this.gitInv4 || l(this.git4), this.gitInv5 = this.gitInv5 || l(this.git5), this.gitInv6 = this.gitInv6 || l(this.git6), this.gitInv7 = this.gitInv7 || l(this.git7), this.gitBranchLabel0 = this.gitBranchLabel0 || l(this.labelTextColor), this.gitBranchLabel1 = this.gitBranchLabel1 || this.labelTextColor, this.gitBranchLabel2 = this.gitBranchLabel2 || this.labelTextColor, this.gitBranchLabel3 = this.gitBranchLabel3 || l(this.labelTextColor), this.gitBranchLabel4 = this.gitBranchLabel4 || this.labelTextColor, this.gitBranchLabel5 = this.gitBranchLabel5 || this.labelTextColor, this.gitBranchLabel6 = this.gitBranchLabel6 || this.labelTextColor, this.gitBranchLabel7 = this.gitBranchLabel7 || this.labelTextColor, this.tagLabelColor = this.tagLabelColor || this.primaryTextColor, this.tagLabelBackground = this.tagLabelBackground || this.primaryColor, this.tagLabelBorder = this.tagBorder || this.primaryBorderColor, this.tagLabelFontSize = this.tagLabelFontSize || "10px", this.commitLabelColor = this.commitLabelColor || this.secondaryTextColor, this.commitLabelBackground = this.commitLabelBackground || this.secondaryColor, this.commitLabelFontSize = this.commitLabelFontSize || "10px", this.attributeBackgroundColorOdd = this.attributeBackgroundColorOdd || o(this.background, 12), this.attributeBackgroundColorEven = this.attributeBackgroundColorEven || o(this.background, 2), this.nodeBorder = this.nodeBorder || "#999";
|
|
256
|
+
}
|
|
257
|
+
calculate(e) {
|
|
258
|
+
if (typeof e != "object") {
|
|
259
|
+
this.updateColors();
|
|
260
|
+
return;
|
|
261
|
+
}
|
|
262
|
+
let t = Object.keys(e);
|
|
263
|
+
t.forEach((t) => {
|
|
264
|
+
this[t] = e[t];
|
|
265
|
+
}), this.updateColors(), t.forEach((t) => {
|
|
266
|
+
this[t] = e[t];
|
|
267
|
+
});
|
|
268
|
+
}
|
|
269
|
+
}, se = /* @__PURE__ */ t((e) => {
|
|
270
|
+
let t = new oe();
|
|
271
|
+
return t.calculate(e), t;
|
|
272
|
+
}, "getThemeVariables"), ce = class {
|
|
273
|
+
static {
|
|
274
|
+
t(this, "Theme");
|
|
275
|
+
}
|
|
276
|
+
constructor() {
|
|
277
|
+
this.background = "#f4f4f4", this.primaryColor = "#ECECFF", this.secondaryColor = c(this.primaryColor, { h: 120 }), this.secondaryColor = "#ffffde", this.tertiaryColor = c(this.primaryColor, { h: -160 }), this.primaryBorderColor = b(this.primaryColor, this.darkMode), this.secondaryBorderColor = b(this.secondaryColor, this.darkMode), this.tertiaryBorderColor = b(this.tertiaryColor, this.darkMode), this.primaryTextColor = l(this.primaryColor), this.secondaryTextColor = l(this.secondaryColor), this.tertiaryTextColor = l(this.tertiaryColor), this.lineColor = l(this.background), this.textColor = l(this.background), this.background = "white", this.mainBkg = "#ECECFF", this.secondBkg = "#ffffde", this.lineColor = "#333333", this.border1 = "#9370DB", this.primaryBorderColor = b(this.primaryColor, this.darkMode), this.border2 = "#aaaa33", this.arrowheadColor = "#333333", this.fontFamily = "\"trebuchet ms\", verdana, arial, sans-serif", this.fontSize = "16px", this.labelBackground = "rgba(232,232,232, 0.8)", this.textColor = "#333", this.THEME_COLOR_LIMIT = 12, this.radius = 5, this.strokeWidth = 1, this.nodeBkg = "calculated", this.nodeBorder = "calculated", this.clusterBkg = "calculated", this.clusterBorder = "calculated", this.defaultLinkColor = "calculated", this.titleColor = "calculated", this.edgeLabelBackground = "calculated", this.actorBorder = "calculated", this.actorBkg = "calculated", this.actorTextColor = "black", this.actorLineColor = "calculated", this.signalColor = "calculated", this.signalTextColor = "calculated", this.labelBoxBkgColor = "calculated", this.labelBoxBorderColor = "calculated", this.labelTextColor = "calculated", this.loopTextColor = "calculated", this.noteBorderColor = "calculated", this.noteBkgColor = "#fff5ad", this.noteTextColor = "calculated", this.activationBorderColor = "#666", this.activationBkgColor = "#f4f4f4", this.sequenceNumberColor = "white", this.clusterBkg = "#FBFBFF", this.sectionBkgColor = "calculated", this.altSectionBkgColor = "calculated", this.sectionBkgColor2 = "calculated", this.excludeBkgColor = "#eeeeee", this.taskBorderColor = "calculated", this.taskBkgColor = "calculated", this.taskTextLightColor = "calculated", this.taskTextColor = this.taskTextLightColor, this.taskTextDarkColor = "calculated", this.taskTextOutsideColor = this.taskTextDarkColor, this.taskTextClickableColor = "calculated", this.activeTaskBorderColor = "calculated", this.activeTaskBkgColor = "calculated", this.gridColor = "calculated", this.doneTaskBkgColor = "calculated", this.doneTaskBorderColor = "calculated", this.critBorderColor = "calculated", this.critBkgColor = "calculated", this.todayLineColor = "calculated", this.vertLineColor = "calculated", this.sectionBkgColor = i(102, 102, 255, .49), this.altSectionBkgColor = "white", this.sectionBkgColor2 = "#fff400", this.taskBorderColor = "#534fbc", this.taskBkgColor = "#8a90dd", this.taskTextLightColor = "white", this.taskTextColor = "calculated", this.taskTextDarkColor = "black", this.taskTextOutsideColor = "calculated", this.taskTextClickableColor = "#003163", this.activeTaskBorderColor = "#534fbc", this.activeTaskBkgColor = "#bfc7ff", this.gridColor = "lightgrey", this.doneTaskBkgColor = "lightgrey", this.doneTaskBorderColor = "grey", this.critBorderColor = "#ff8888", this.critBkgColor = "red", this.todayLineColor = "red", this.vertLineColor = "navy", this.noteFontWeight = this.noteFontWeight || "normal", this.fontWeight = this.fontWeight || "normal", this.personBorder = this.primaryBorderColor, this.personBkg = this.mainBkg, this.archEdgeColor = "calculated", this.archEdgeArrowColor = "calculated", this.archEdgeWidth = "3", this.archGroupBorderColor = this.primaryBorderColor, this.archGroupBorderWidth = "2px", this.rowOdd = "calculated", this.rowEven = "calculated", this.labelColor = "black", this.errorBkgColor = "#552222", this.errorTextColor = "#552222", this.useGradient = !1, this.gradientStart = this.primaryBorderColor, this.gradientStop = this.secondaryBorderColor, this.dropShadow = "drop-shadow(1px 2px 2px rgba(185, 185, 185, 1))", this.updateColors();
|
|
278
|
+
}
|
|
279
|
+
updateColors() {
|
|
280
|
+
this.cScale0 = this.cScale0 || this.primaryColor, this.cScale1 = this.cScale1 || this.secondaryColor, this.cScale2 = this.cScale2 || this.tertiaryColor, this.cScale3 = this.cScale3 || c(this.primaryColor, { h: 30 }), this.cScale4 = this.cScale4 || c(this.primaryColor, { h: 60 }), this.cScale5 = this.cScale5 || c(this.primaryColor, { h: 90 }), this.cScale6 = this.cScale6 || c(this.primaryColor, { h: 120 }), this.cScale7 = this.cScale7 || c(this.primaryColor, { h: 150 }), this.cScale8 = this.cScale8 || c(this.primaryColor, { h: 210 }), this.cScale9 = this.cScale9 || c(this.primaryColor, { h: 270 }), this.cScale10 = this.cScale10 || c(this.primaryColor, { h: 300 }), this.cScale11 = this.cScale11 || c(this.primaryColor, { h: 330 }), this.cScalePeer1 = this.cScalePeer1 || s(this.secondaryColor, 45), this.cScalePeer2 = this.cScalePeer2 || s(this.tertiaryColor, 40);
|
|
281
|
+
for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScale" + e] = s(this["cScale" + e], 10), this["cScalePeer" + e] = this["cScalePeer" + e] || s(this["cScale" + e], 25);
|
|
282
|
+
for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScaleInv" + e] = this["cScaleInv" + e] || c(this["cScale" + e], { h: 180 });
|
|
283
|
+
for (let e = 0; e < 5; e++) this["surface" + e] = this["surface" + e] || c(this.mainBkg, {
|
|
284
|
+
h: 30,
|
|
285
|
+
l: -(5 + e * 5)
|
|
286
|
+
}), this["surfacePeer" + e] = this["surfacePeer" + e] || c(this.mainBkg, {
|
|
287
|
+
h: 30,
|
|
288
|
+
l: -(7 + e * 5)
|
|
289
|
+
});
|
|
290
|
+
if (this.scaleLabelColor = this.scaleLabelColor !== "calculated" && this.scaleLabelColor ? this.scaleLabelColor : this.labelTextColor, this.labelTextColor !== "calculated") {
|
|
291
|
+
this.cScaleLabel0 = this.cScaleLabel0 || l(this.labelTextColor), this.cScaleLabel3 = this.cScaleLabel3 || l(this.labelTextColor);
|
|
292
|
+
for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScaleLabel" + e] = this["cScaleLabel" + e] || this.labelTextColor;
|
|
293
|
+
}
|
|
294
|
+
this.nodeBkg = this.mainBkg, this.nodeBorder = this.border1, this.clusterBkg = this.secondBkg, this.clusterBorder = this.border2, this.defaultLinkColor = this.lineColor, this.titleColor = this.textColor, this.edgeLabelBackground = this.labelBackground, this.actorBorder = this.border1, this.actorBkg = this.mainBkg, this.labelBoxBkgColor = this.actorBkg, this.signalColor = this.textColor, this.signalTextColor = this.textColor, this.labelBoxBorderColor = this.actorBorder, this.labelTextColor = this.actorTextColor, this.loopTextColor = this.actorTextColor, this.noteBorderColor = this.border2, this.noteTextColor = this.actorTextColor, this.actorLineColor = this.actorBorder, this.taskTextColor = this.taskTextLightColor, this.taskTextOutsideColor = this.taskTextDarkColor, this.archEdgeColor = this.lineColor, this.archEdgeArrowColor = this.lineColor, this.rowOdd = this.rowOdd || o(this.primaryColor, 75) || "#ffffff", this.rowEven = this.rowEven || o(this.primaryColor, 1), this.transitionColor = this.transitionColor || this.lineColor, this.transitionLabelColor = this.transitionLabelColor || this.textColor, this.stateLabelColor = this.stateLabelColor || this.stateBkg || this.primaryTextColor, this.stateBkg = this.stateBkg || this.mainBkg, this.labelBackgroundColor = this.labelBackgroundColor || this.stateBkg, this.compositeBackground = this.compositeBackground || this.background || this.tertiaryColor, this.altBackground = this.altBackground || "#f0f0f0", this.compositeTitleBackground = this.compositeTitleBackground || this.mainBkg, this.compositeBorder = this.compositeBorder || this.nodeBorder, this.innerEndBackground = this.nodeBorder, this.specialStateColor = this.lineColor, this.errorBkgColor = this.errorBkgColor || this.tertiaryColor, this.errorTextColor = this.errorTextColor || this.tertiaryTextColor, this.transitionColor = this.transitionColor || this.lineColor, this.classText = this.primaryTextColor, this.fillType0 = this.primaryColor, this.fillType1 = this.secondaryColor, this.fillType2 = c(this.primaryColor, { h: 64 }), this.fillType3 = c(this.secondaryColor, { h: 64 }), this.fillType4 = c(this.primaryColor, { h: -64 }), this.fillType5 = c(this.secondaryColor, { h: -64 }), this.fillType6 = c(this.primaryColor, { h: 128 }), this.fillType7 = c(this.secondaryColor, { h: 128 }), this.pie1 = this.pie1 || this.primaryColor, this.pie2 = this.pie2 || this.secondaryColor, this.pie3 = this.pie3 || c(this.tertiaryColor, { l: -40 }), this.pie4 = this.pie4 || c(this.primaryColor, { l: -10 }), this.pie5 = this.pie5 || c(this.secondaryColor, { l: -30 }), this.pie6 = this.pie6 || c(this.tertiaryColor, { l: -20 }), this.pie7 = this.pie7 || c(this.primaryColor, {
|
|
295
|
+
h: 60,
|
|
296
|
+
l: -20
|
|
297
|
+
}), this.pie8 = this.pie8 || c(this.primaryColor, {
|
|
298
|
+
h: -60,
|
|
299
|
+
l: -40
|
|
300
|
+
}), this.pie9 = this.pie9 || c(this.primaryColor, {
|
|
301
|
+
h: 120,
|
|
302
|
+
l: -40
|
|
303
|
+
}), this.pie10 = this.pie10 || c(this.primaryColor, {
|
|
304
|
+
h: 60,
|
|
305
|
+
l: -40
|
|
306
|
+
}), this.pie11 = this.pie11 || c(this.primaryColor, {
|
|
307
|
+
h: -90,
|
|
308
|
+
l: -40
|
|
309
|
+
}), this.pie12 = this.pie12 || c(this.primaryColor, {
|
|
310
|
+
h: 120,
|
|
311
|
+
l: -30
|
|
312
|
+
}), this.pieTitleTextSize = this.pieTitleTextSize || "25px", this.pieTitleTextColor = this.pieTitleTextColor || this.taskTextDarkColor, this.pieSectionTextSize = this.pieSectionTextSize || "17px", this.pieSectionTextColor = this.pieSectionTextColor || this.textColor, this.pieLegendTextSize = this.pieLegendTextSize || "17px", this.pieLegendTextColor = this.pieLegendTextColor || this.taskTextDarkColor, this.pieStrokeColor = this.pieStrokeColor || "black", this.pieStrokeWidth = this.pieStrokeWidth || "2px", this.pieOuterStrokeWidth = this.pieOuterStrokeWidth || "2px", this.pieOuterStrokeColor = this.pieOuterStrokeColor || "black", this.pieOpacity = this.pieOpacity || "0.7", this.venn1 = this.venn1 ?? c(this.primaryColor, { l: -30 }), this.venn2 = this.venn2 ?? c(this.secondaryColor, { l: -30 }), this.venn3 = this.venn3 ?? c(this.tertiaryColor, { l: -40 }), this.venn4 = this.venn4 ?? c(this.primaryColor, {
|
|
313
|
+
h: 60,
|
|
314
|
+
l: -30
|
|
315
|
+
}), this.venn5 = this.venn5 ?? c(this.primaryColor, {
|
|
316
|
+
h: -60,
|
|
317
|
+
l: -30
|
|
318
|
+
}), this.venn6 = this.venn6 ?? c(this.secondaryColor, {
|
|
319
|
+
h: 60,
|
|
320
|
+
l: -30
|
|
321
|
+
}), this.venn7 = this.venn7 ?? c(this.primaryColor, {
|
|
322
|
+
h: 120,
|
|
323
|
+
l: -30
|
|
324
|
+
}), this.venn8 = this.venn8 ?? c(this.secondaryColor, {
|
|
325
|
+
h: 120,
|
|
326
|
+
l: -30
|
|
327
|
+
}), this.vennTitleTextColor = this.vennTitleTextColor ?? this.titleColor, this.vennSetTextColor = this.vennSetTextColor ?? this.textColor, this.quadrant1Fill = this.quadrant1Fill || this.primaryColor, this.quadrant2Fill = this.quadrant2Fill || c(this.primaryColor, {
|
|
328
|
+
r: 5,
|
|
329
|
+
g: 5,
|
|
330
|
+
b: 5
|
|
331
|
+
}), this.quadrant3Fill = this.quadrant3Fill || c(this.primaryColor, {
|
|
332
|
+
r: 10,
|
|
333
|
+
g: 10,
|
|
334
|
+
b: 10
|
|
335
|
+
}), this.quadrant4Fill = this.quadrant4Fill || c(this.primaryColor, {
|
|
336
|
+
r: 15,
|
|
337
|
+
g: 15,
|
|
338
|
+
b: 15
|
|
339
|
+
}), this.quadrant1TextFill = this.quadrant1TextFill || this.primaryTextColor, this.quadrant2TextFill = this.quadrant2TextFill || c(this.primaryTextColor, {
|
|
340
|
+
r: -5,
|
|
341
|
+
g: -5,
|
|
342
|
+
b: -5
|
|
343
|
+
}), this.quadrant3TextFill = this.quadrant3TextFill || c(this.primaryTextColor, {
|
|
344
|
+
r: -10,
|
|
345
|
+
g: -10,
|
|
346
|
+
b: -10
|
|
347
|
+
}), this.quadrant4TextFill = this.quadrant4TextFill || c(this.primaryTextColor, {
|
|
348
|
+
r: -15,
|
|
349
|
+
g: -15,
|
|
350
|
+
b: -15
|
|
351
|
+
}), this.quadrantPointFill = this.quadrantPointFill || a(this.quadrant1Fill) ? o(this.quadrant1Fill) : s(this.quadrant1Fill), this.quadrantPointTextFill = this.quadrantPointTextFill || this.primaryTextColor, this.quadrantXAxisTextFill = this.quadrantXAxisTextFill || this.primaryTextColor, this.quadrantYAxisTextFill = this.quadrantYAxisTextFill || this.primaryTextColor, this.quadrantInternalBorderStrokeFill = this.quadrantInternalBorderStrokeFill || this.primaryBorderColor, this.quadrantExternalBorderStrokeFill = this.quadrantExternalBorderStrokeFill || this.primaryBorderColor, this.quadrantTitleFill = this.quadrantTitleFill || this.primaryTextColor, this.radar = {
|
|
352
|
+
axisColor: this.radar?.axisColor || this.lineColor,
|
|
353
|
+
axisStrokeWidth: this.radar?.axisStrokeWidth || 2,
|
|
354
|
+
axisLabelFontSize: this.radar?.axisLabelFontSize || 12,
|
|
355
|
+
curveOpacity: this.radar?.curveOpacity || .5,
|
|
356
|
+
curveStrokeWidth: this.radar?.curveStrokeWidth || 2,
|
|
357
|
+
graticuleColor: this.radar?.graticuleColor || "#DEDEDE",
|
|
358
|
+
graticuleStrokeWidth: this.radar?.graticuleStrokeWidth || 1,
|
|
359
|
+
graticuleOpacity: this.radar?.graticuleOpacity || .3,
|
|
360
|
+
legendBoxSize: this.radar?.legendBoxSize || 12,
|
|
361
|
+
legendFontSize: this.radar?.legendFontSize || 12
|
|
362
|
+
}, this.xyChart = {
|
|
363
|
+
backgroundColor: this.xyChart?.backgroundColor || this.background,
|
|
364
|
+
titleColor: this.xyChart?.titleColor || this.primaryTextColor,
|
|
365
|
+
dataLabelColor: this.xyChart?.dataLabelColor || this.primaryTextColor,
|
|
366
|
+
xAxisTitleColor: this.xyChart?.xAxisTitleColor || this.primaryTextColor,
|
|
367
|
+
xAxisLabelColor: this.xyChart?.xAxisLabelColor || this.primaryTextColor,
|
|
368
|
+
xAxisTickColor: this.xyChart?.xAxisTickColor || this.primaryTextColor,
|
|
369
|
+
xAxisLineColor: this.xyChart?.xAxisLineColor || this.primaryTextColor,
|
|
370
|
+
yAxisTitleColor: this.xyChart?.yAxisTitleColor || this.primaryTextColor,
|
|
371
|
+
yAxisLabelColor: this.xyChart?.yAxisLabelColor || this.primaryTextColor,
|
|
372
|
+
yAxisTickColor: this.xyChart?.yAxisTickColor || this.primaryTextColor,
|
|
373
|
+
yAxisLineColor: this.xyChart?.yAxisLineColor || this.primaryTextColor,
|
|
374
|
+
plotColorPalette: this.xyChart?.plotColorPalette || "#ECECFF,#8493A6,#FFC3A0,#DCDDE1,#B8E994,#D1A36F,#C3CDE6,#FFB6C1,#496078,#F8F3E3"
|
|
375
|
+
}, this.requirementBackground = this.requirementBackground || this.primaryColor, this.requirementBorderColor = this.requirementBorderColor || this.primaryBorderColor, this.requirementBorderSize = this.requirementBorderSize || "1", this.requirementTextColor = this.requirementTextColor || this.primaryTextColor, this.relationColor = this.relationColor || this.lineColor, this.relationLabelBackground = this.relationLabelBackground || this.labelBackground, this.relationLabelColor = this.relationLabelColor || this.actorTextColor, this.git0 = this.git0 || this.primaryColor, this.git1 = this.git1 || this.secondaryColor, this.git2 = this.git2 || this.tertiaryColor, this.git3 = this.git3 || c(this.primaryColor, { h: -30 }), this.git4 = this.git4 || c(this.primaryColor, { h: -60 }), this.git5 = this.git5 || c(this.primaryColor, { h: -90 }), this.git6 = this.git6 || c(this.primaryColor, { h: 60 }), this.git7 = this.git7 || c(this.primaryColor, { h: 120 }), this.darkMode ? (this.git0 = o(this.git0, 25), this.git1 = o(this.git1, 25), this.git2 = o(this.git2, 25), this.git3 = o(this.git3, 25), this.git4 = o(this.git4, 25), this.git5 = o(this.git5, 25), this.git6 = o(this.git6, 25), this.git7 = o(this.git7, 25)) : (this.git0 = s(this.git0, 25), this.git1 = s(this.git1, 25), this.git2 = s(this.git2, 25), this.git3 = s(this.git3, 25), this.git4 = s(this.git4, 25), this.git5 = s(this.git5, 25), this.git6 = s(this.git6, 25), this.git7 = s(this.git7, 25)), this.gitInv0 = this.gitInv0 || s(l(this.git0), 25), this.gitInv1 = this.gitInv1 || l(this.git1), this.gitInv2 = this.gitInv2 || l(this.git2), this.gitInv3 = this.gitInv3 || l(this.git3), this.gitInv4 = this.gitInv4 || l(this.git4), this.gitInv5 = this.gitInv5 || l(this.git5), this.gitInv6 = this.gitInv6 || l(this.git6), this.gitInv7 = this.gitInv7 || l(this.git7), this.gitBranchLabel0 = this.gitBranchLabel0 || l(this.labelTextColor), this.gitBranchLabel1 = this.gitBranchLabel1 || this.labelTextColor, this.gitBranchLabel2 = this.gitBranchLabel2 || this.labelTextColor, this.gitBranchLabel3 = this.gitBranchLabel3 || l(this.labelTextColor), this.gitBranchLabel4 = this.gitBranchLabel4 || this.labelTextColor, this.gitBranchLabel5 = this.gitBranchLabel5 || this.labelTextColor, this.gitBranchLabel6 = this.gitBranchLabel6 || this.labelTextColor, this.gitBranchLabel7 = this.gitBranchLabel7 || this.labelTextColor, this.tagLabelColor = this.tagLabelColor || this.primaryTextColor, this.tagLabelBackground = this.tagLabelBackground || this.primaryColor, this.tagLabelBorder = this.tagBorder || this.primaryBorderColor, this.tagLabelFontSize = this.tagLabelFontSize || "10px", this.commitLabelColor = this.commitLabelColor || this.secondaryTextColor, this.commitLabelBackground = this.commitLabelBackground || this.secondaryColor, this.commitLabelFontSize = this.commitLabelFontSize || "10px", this.attributeBackgroundColorOdd = this.attributeBackgroundColorOdd || v, this.attributeBackgroundColorEven = this.attributeBackgroundColorEven || y;
|
|
376
|
+
}
|
|
377
|
+
calculate(e) {
|
|
378
|
+
if (Object.keys(this).forEach((e) => {
|
|
379
|
+
this[e] === "calculated" && (this[e] = void 0);
|
|
380
|
+
}), typeof e != "object") {
|
|
381
|
+
this.updateColors();
|
|
382
|
+
return;
|
|
383
|
+
}
|
|
384
|
+
let t = Object.keys(e);
|
|
385
|
+
t.forEach((t) => {
|
|
386
|
+
this[t] = e[t];
|
|
387
|
+
}), this.updateColors(), t.forEach((t) => {
|
|
388
|
+
this[t] = e[t];
|
|
389
|
+
});
|
|
390
|
+
}
|
|
391
|
+
}, le = /* @__PURE__ */ t((e) => {
|
|
392
|
+
let t = new ce();
|
|
393
|
+
return t.calculate(e), t;
|
|
394
|
+
}, "getThemeVariables"), ue = class {
|
|
395
|
+
static {
|
|
396
|
+
t(this, "Theme");
|
|
397
|
+
}
|
|
398
|
+
constructor() {
|
|
399
|
+
this.background = "#f4f4f4", this.primaryColor = "#cde498", this.secondaryColor = "#cdffb2", this.background = "white", this.mainBkg = "#cde498", this.secondBkg = "#cdffb2", this.lineColor = "green", this.border1 = "#13540c", this.border2 = "#6eaa49", this.arrowheadColor = "green", this.fontFamily = "\"trebuchet ms\", verdana, arial, sans-serif", this.fontSize = "16px", this.tertiaryColor = o("#cde498", 10), this.primaryBorderColor = b(this.primaryColor, this.darkMode), this.secondaryBorderColor = b(this.secondaryColor, this.darkMode), this.tertiaryBorderColor = b(this.tertiaryColor, this.darkMode), this.primaryTextColor = l(this.primaryColor), this.secondaryTextColor = l(this.secondaryColor), this.tertiaryTextColor = l(this.primaryColor), this.lineColor = l(this.background), this.textColor = l(this.background), this.THEME_COLOR_LIMIT = 12, this.radius = 5, this.strokeWidth = 1, this.nodeBkg = "calculated", this.nodeBorder = "calculated", this.clusterBkg = "calculated", this.clusterBorder = "calculated", this.defaultLinkColor = "calculated", this.titleColor = "#333", this.edgeLabelBackground = "#e8e8e8", this.actorBorder = "calculated", this.actorBkg = "calculated", this.actorTextColor = "black", this.actorLineColor = "calculated", this.signalColor = "#333", this.signalTextColor = "#333", this.labelBoxBkgColor = "calculated", this.labelBoxBorderColor = "#326932", this.labelTextColor = "calculated", this.loopTextColor = "calculated", this.noteBorderColor = "calculated", this.noteBkgColor = "#fff5ad", this.noteTextColor = "calculated", this.activationBorderColor = "#666", this.activationBkgColor = "#f4f4f4", this.sequenceNumberColor = "white", this.sectionBkgColor = "#6eaa49", this.altSectionBkgColor = "white", this.sectionBkgColor2 = "#6eaa49", this.excludeBkgColor = "#eeeeee", this.taskBorderColor = "calculated", this.taskBkgColor = "#487e3a", this.taskTextLightColor = "white", this.taskTextColor = "calculated", this.taskTextDarkColor = "black", this.taskTextOutsideColor = "calculated", this.taskTextClickableColor = "#003163", this.activeTaskBorderColor = "calculated", this.activeTaskBkgColor = "calculated", this.gridColor = "lightgrey", this.doneTaskBkgColor = "lightgrey", this.doneTaskBorderColor = "grey", this.critBorderColor = "#ff8888", this.critBkgColor = "red", this.todayLineColor = "red", this.vertLineColor = "#00BFFF", this.personBorder = this.primaryBorderColor, this.personBkg = this.mainBkg, this.archEdgeColor = "calculated", this.archEdgeArrowColor = "calculated", this.archEdgeWidth = "3", this.archGroupBorderColor = this.primaryBorderColor, this.archGroupBorderWidth = "2px", this.noteFontWeight = "normal", this.fontWeight = "normal", this.labelColor = "black", this.errorBkgColor = "#552222", this.errorTextColor = "#552222", this.useGradient = !0, this.gradientStart = this.primaryBorderColor, this.gradientStop = this.secondaryBorderColor, this.dropShadow = "drop-shadow( 1px 2px 2px rgba(185,185,185,0.5))";
|
|
400
|
+
}
|
|
401
|
+
updateColors() {
|
|
402
|
+
this.actorBorder = s(this.mainBkg, 20), this.actorBkg = this.mainBkg, this.labelBoxBkgColor = this.actorBkg, this.labelTextColor = this.actorTextColor, this.loopTextColor = this.actorTextColor, this.noteBorderColor = this.border2, this.noteTextColor = this.actorTextColor, this.actorLineColor = this.actorBorder, this.cScale0 = this.cScale0 || this.primaryColor, this.cScale1 = this.cScale1 || this.secondaryColor, this.cScale2 = this.cScale2 || this.tertiaryColor, this.cScale3 = this.cScale3 || c(this.primaryColor, { h: 30 }), this.cScale4 = this.cScale4 || c(this.primaryColor, { h: 60 }), this.cScale5 = this.cScale5 || c(this.primaryColor, { h: 90 }), this.cScale6 = this.cScale6 || c(this.primaryColor, { h: 120 }), this.cScale7 = this.cScale7 || c(this.primaryColor, { h: 150 }), this.cScale8 = this.cScale8 || c(this.primaryColor, { h: 210 }), this.cScale9 = this.cScale9 || c(this.primaryColor, { h: 270 }), this.cScale10 = this.cScale10 || c(this.primaryColor, { h: 300 }), this.cScale11 = this.cScale11 || c(this.primaryColor, { h: 330 }), this.cScalePeer1 = this.cScalePeer1 || s(this.secondaryColor, 45), this.cScalePeer2 = this.cScalePeer2 || s(this.tertiaryColor, 40);
|
|
403
|
+
for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScale" + e] = s(this["cScale" + e], 10), this["cScalePeer" + e] = this["cScalePeer" + e] || s(this["cScale" + e], 25);
|
|
404
|
+
for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScaleInv" + e] = this["cScaleInv" + e] || c(this["cScale" + e], { h: 180 });
|
|
405
|
+
this.scaleLabelColor = this.scaleLabelColor !== "calculated" && this.scaleLabelColor ? this.scaleLabelColor : this.labelTextColor;
|
|
406
|
+
for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScaleLabel" + e] = this["cScaleLabel" + e] || this.scaleLabelColor;
|
|
407
|
+
for (let e = 0; e < 5; e++) this["surface" + e] = this["surface" + e] || c(this.mainBkg, {
|
|
408
|
+
h: 30,
|
|
409
|
+
s: -30,
|
|
410
|
+
l: -(5 + e * 5)
|
|
411
|
+
}), this["surfacePeer" + e] = this["surfacePeer" + e] || c(this.mainBkg, {
|
|
412
|
+
h: 30,
|
|
413
|
+
s: -30,
|
|
414
|
+
l: -(8 + e * 5)
|
|
415
|
+
});
|
|
416
|
+
this.nodeBkg = this.mainBkg, this.nodeBorder = this.border1, this.clusterBkg = this.secondBkg, this.clusterBorder = this.border2, this.defaultLinkColor = this.lineColor, this.taskBorderColor = this.border1, this.taskTextColor = this.taskTextLightColor, this.taskTextOutsideColor = this.taskTextDarkColor, this.activeTaskBorderColor = this.taskBorderColor, this.activeTaskBkgColor = this.mainBkg, this.archEdgeColor = this.lineColor, this.archEdgeArrowColor = this.lineColor, this.rowOdd = this.rowOdd || o(this.mainBkg, 75) || "#ffffff", this.rowEven = this.rowEven || o(this.mainBkg, 20), this.transitionColor = this.transitionColor || this.lineColor, this.transitionLabelColor = this.transitionLabelColor || this.textColor, this.stateLabelColor = this.stateLabelColor || this.stateBkg || this.primaryTextColor, this.stateBkg = this.stateBkg || this.mainBkg, this.labelBackgroundColor = this.labelBackgroundColor || this.stateBkg, this.compositeBackground = this.compositeBackground || this.background || this.tertiaryColor, this.altBackground = this.altBackground || "#f0f0f0", this.compositeTitleBackground = this.compositeTitleBackground || this.mainBkg, this.compositeBorder = this.compositeBorder || this.nodeBorder, this.innerEndBackground = this.primaryBorderColor, this.specialStateColor = this.lineColor, this.errorBkgColor = this.errorBkgColor || this.tertiaryColor, this.errorTextColor = this.errorTextColor || this.tertiaryTextColor, this.transitionColor = this.transitionColor || this.lineColor, this.classText = this.primaryTextColor, this.fillType0 = this.primaryColor, this.fillType1 = this.secondaryColor, this.fillType2 = c(this.primaryColor, { h: 64 }), this.fillType3 = c(this.secondaryColor, { h: 64 }), this.fillType4 = c(this.primaryColor, { h: -64 }), this.fillType5 = c(this.secondaryColor, { h: -64 }), this.fillType6 = c(this.primaryColor, { h: 128 }), this.fillType7 = c(this.secondaryColor, { h: 128 }), this.pie1 = this.pie1 || this.primaryColor, this.pie2 = this.pie2 || this.secondaryColor, this.pie3 = this.pie3 || this.tertiaryColor, this.pie4 = this.pie4 || c(this.primaryColor, { l: -30 }), this.pie5 = this.pie5 || c(this.secondaryColor, { l: -30 }), this.pie6 = this.pie6 || c(this.tertiaryColor, {
|
|
417
|
+
h: 40,
|
|
418
|
+
l: -40
|
|
419
|
+
}), this.pie7 = this.pie7 || c(this.primaryColor, {
|
|
420
|
+
h: 60,
|
|
421
|
+
l: -10
|
|
422
|
+
}), this.pie8 = this.pie8 || c(this.primaryColor, {
|
|
423
|
+
h: -60,
|
|
424
|
+
l: -10
|
|
425
|
+
}), this.pie9 = this.pie9 || c(this.primaryColor, {
|
|
426
|
+
h: 120,
|
|
427
|
+
l: 0
|
|
428
|
+
}), this.pie10 = this.pie10 || c(this.primaryColor, {
|
|
429
|
+
h: 60,
|
|
430
|
+
l: -50
|
|
431
|
+
}), this.pie11 = this.pie11 || c(this.primaryColor, {
|
|
432
|
+
h: -60,
|
|
433
|
+
l: -50
|
|
434
|
+
}), this.pie12 = this.pie12 || c(this.primaryColor, {
|
|
435
|
+
h: 120,
|
|
436
|
+
l: -50
|
|
437
|
+
}), this.pieTitleTextSize = this.pieTitleTextSize || "25px", this.pieTitleTextColor = this.pieTitleTextColor || this.taskTextDarkColor, this.pieSectionTextSize = this.pieSectionTextSize || "17px", this.pieSectionTextColor = this.pieSectionTextColor || this.textColor, this.pieLegendTextSize = this.pieLegendTextSize || "17px", this.pieLegendTextColor = this.pieLegendTextColor || this.taskTextDarkColor, this.pieStrokeColor = this.pieStrokeColor || "black", this.pieStrokeWidth = this.pieStrokeWidth || "2px", this.pieOuterStrokeWidth = this.pieOuterStrokeWidth || "2px", this.pieOuterStrokeColor = this.pieOuterStrokeColor || "black", this.pieOpacity = this.pieOpacity || "0.7", this.venn1 = this.venn1 ?? c(this.primaryColor, { l: -30 }), this.venn2 = this.venn2 ?? c(this.secondaryColor, { l: -30 }), this.venn3 = this.venn3 ?? c(this.tertiaryColor, { l: -30 }), this.venn4 = this.venn4 ?? c(this.primaryColor, {
|
|
438
|
+
h: 60,
|
|
439
|
+
l: -30
|
|
440
|
+
}), this.venn5 = this.venn5 ?? c(this.primaryColor, {
|
|
441
|
+
h: -60,
|
|
442
|
+
l: -30
|
|
443
|
+
}), this.venn6 = this.venn6 ?? c(this.secondaryColor, {
|
|
444
|
+
h: 60,
|
|
445
|
+
l: -30
|
|
446
|
+
}), this.venn7 = this.venn7 ?? c(this.primaryColor, {
|
|
447
|
+
h: 120,
|
|
448
|
+
l: -30
|
|
449
|
+
}), this.venn8 = this.venn8 ?? c(this.secondaryColor, {
|
|
450
|
+
h: 120,
|
|
451
|
+
l: -30
|
|
452
|
+
}), this.vennTitleTextColor = this.vennTitleTextColor ?? this.titleColor, this.vennSetTextColor = this.vennSetTextColor ?? this.textColor, this.quadrant1Fill = this.quadrant1Fill || this.primaryColor, this.quadrant2Fill = this.quadrant2Fill || c(this.primaryColor, {
|
|
453
|
+
r: 5,
|
|
454
|
+
g: 5,
|
|
455
|
+
b: 5
|
|
456
|
+
}), this.quadrant3Fill = this.quadrant3Fill || c(this.primaryColor, {
|
|
457
|
+
r: 10,
|
|
458
|
+
g: 10,
|
|
459
|
+
b: 10
|
|
460
|
+
}), this.quadrant4Fill = this.quadrant4Fill || c(this.primaryColor, {
|
|
461
|
+
r: 15,
|
|
462
|
+
g: 15,
|
|
463
|
+
b: 15
|
|
464
|
+
}), this.quadrant1TextFill = this.quadrant1TextFill || this.primaryTextColor, this.quadrant2TextFill = this.quadrant2TextFill || c(this.primaryTextColor, {
|
|
465
|
+
r: -5,
|
|
466
|
+
g: -5,
|
|
467
|
+
b: -5
|
|
468
|
+
}), this.quadrant3TextFill = this.quadrant3TextFill || c(this.primaryTextColor, {
|
|
469
|
+
r: -10,
|
|
470
|
+
g: -10,
|
|
471
|
+
b: -10
|
|
472
|
+
}), this.quadrant4TextFill = this.quadrant4TextFill || c(this.primaryTextColor, {
|
|
473
|
+
r: -15,
|
|
474
|
+
g: -15,
|
|
475
|
+
b: -15
|
|
476
|
+
}), this.quadrantPointFill = this.quadrantPointFill || a(this.quadrant1Fill) ? o(this.quadrant1Fill) : s(this.quadrant1Fill), this.quadrantPointTextFill = this.quadrantPointTextFill || this.primaryTextColor, this.quadrantXAxisTextFill = this.quadrantXAxisTextFill || this.primaryTextColor, this.quadrantYAxisTextFill = this.quadrantYAxisTextFill || this.primaryTextColor, this.quadrantInternalBorderStrokeFill = this.quadrantInternalBorderStrokeFill || this.primaryBorderColor, this.quadrantExternalBorderStrokeFill = this.quadrantExternalBorderStrokeFill || this.primaryBorderColor, this.quadrantTitleFill = this.quadrantTitleFill || this.primaryTextColor, this.packet = {
|
|
477
|
+
startByteColor: this.primaryTextColor,
|
|
478
|
+
endByteColor: this.primaryTextColor,
|
|
479
|
+
labelColor: this.primaryTextColor,
|
|
480
|
+
titleColor: this.primaryTextColor,
|
|
481
|
+
blockStrokeColor: this.primaryTextColor,
|
|
482
|
+
blockFillColor: this.mainBkg
|
|
483
|
+
}, this.radar = {
|
|
484
|
+
axisColor: this.radar?.axisColor || this.lineColor,
|
|
485
|
+
axisStrokeWidth: this.radar?.axisStrokeWidth || 2,
|
|
486
|
+
axisLabelFontSize: this.radar?.axisLabelFontSize || 12,
|
|
487
|
+
curveOpacity: this.radar?.curveOpacity || .5,
|
|
488
|
+
curveStrokeWidth: this.radar?.curveStrokeWidth || 2,
|
|
489
|
+
graticuleColor: this.radar?.graticuleColor || "#DEDEDE",
|
|
490
|
+
graticuleStrokeWidth: this.radar?.graticuleStrokeWidth || 1,
|
|
491
|
+
graticuleOpacity: this.radar?.graticuleOpacity || .3,
|
|
492
|
+
legendBoxSize: this.radar?.legendBoxSize || 12,
|
|
493
|
+
legendFontSize: this.radar?.legendFontSize || 12
|
|
494
|
+
}, this.xyChart = {
|
|
495
|
+
backgroundColor: this.xyChart?.backgroundColor || this.background,
|
|
496
|
+
titleColor: this.xyChart?.titleColor || this.primaryTextColor,
|
|
497
|
+
dataLabelColor: this.xyChart?.dataLabelColor || this.primaryTextColor,
|
|
498
|
+
xAxisTitleColor: this.xyChart?.xAxisTitleColor || this.primaryTextColor,
|
|
499
|
+
xAxisLabelColor: this.xyChart?.xAxisLabelColor || this.primaryTextColor,
|
|
500
|
+
xAxisTickColor: this.xyChart?.xAxisTickColor || this.primaryTextColor,
|
|
501
|
+
xAxisLineColor: this.xyChart?.xAxisLineColor || this.primaryTextColor,
|
|
502
|
+
yAxisTitleColor: this.xyChart?.yAxisTitleColor || this.primaryTextColor,
|
|
503
|
+
yAxisLabelColor: this.xyChart?.yAxisLabelColor || this.primaryTextColor,
|
|
504
|
+
yAxisTickColor: this.xyChart?.yAxisTickColor || this.primaryTextColor,
|
|
505
|
+
yAxisLineColor: this.xyChart?.yAxisLineColor || this.primaryTextColor,
|
|
506
|
+
plotColorPalette: this.xyChart?.plotColorPalette || "#CDE498,#FF6B6B,#A0D2DB,#D7BDE2,#F0F0F0,#FFC3A0,#7FD8BE,#FF9A8B,#FAF3E0,#FFF176"
|
|
507
|
+
}, this.requirementBackground = this.requirementBackground || this.primaryColor, this.requirementBorderColor = this.requirementBorderColor || this.primaryBorderColor, this.requirementBorderSize = this.requirementBorderSize || "1", this.requirementTextColor = this.requirementTextColor || this.primaryTextColor, this.relationColor = this.relationColor || this.lineColor, this.relationLabelBackground = this.relationLabelBackground || this.edgeLabelBackground, this.relationLabelColor = this.relationLabelColor || this.actorTextColor, this.git0 = this.git0 || this.primaryColor, this.git1 = this.git1 || this.secondaryColor, this.git2 = this.git2 || this.tertiaryColor, this.git3 = this.git3 || c(this.primaryColor, { h: -30 }), this.git4 = this.git4 || c(this.primaryColor, { h: -60 }), this.git5 = this.git5 || c(this.primaryColor, { h: -90 }), this.git6 = this.git6 || c(this.primaryColor, { h: 60 }), this.git7 = this.git7 || c(this.primaryColor, { h: 120 }), this.darkMode ? (this.git0 = o(this.git0, 25), this.git1 = o(this.git1, 25), this.git2 = o(this.git2, 25), this.git3 = o(this.git3, 25), this.git4 = o(this.git4, 25), this.git5 = o(this.git5, 25), this.git6 = o(this.git6, 25), this.git7 = o(this.git7, 25)) : (this.git0 = s(this.git0, 25), this.git1 = s(this.git1, 25), this.git2 = s(this.git2, 25), this.git3 = s(this.git3, 25), this.git4 = s(this.git4, 25), this.git5 = s(this.git5, 25), this.git6 = s(this.git6, 25), this.git7 = s(this.git7, 25)), this.gitInv0 = this.gitInv0 || l(this.git0), this.gitInv1 = this.gitInv1 || l(this.git1), this.gitInv2 = this.gitInv2 || l(this.git2), this.gitInv3 = this.gitInv3 || l(this.git3), this.gitInv4 = this.gitInv4 || l(this.git4), this.gitInv5 = this.gitInv5 || l(this.git5), this.gitInv6 = this.gitInv6 || l(this.git6), this.gitInv7 = this.gitInv7 || l(this.git7), this.gitBranchLabel0 = this.gitBranchLabel0 || l(this.labelTextColor), this.gitBranchLabel1 = this.gitBranchLabel1 || this.labelTextColor, this.gitBranchLabel2 = this.gitBranchLabel2 || this.labelTextColor, this.gitBranchLabel3 = this.gitBranchLabel3 || l(this.labelTextColor), this.gitBranchLabel4 = this.gitBranchLabel4 || this.labelTextColor, this.gitBranchLabel5 = this.gitBranchLabel5 || this.labelTextColor, this.gitBranchLabel6 = this.gitBranchLabel6 || this.labelTextColor, this.gitBranchLabel7 = this.gitBranchLabel7 || this.labelTextColor, this.tagLabelColor = this.tagLabelColor || this.primaryTextColor, this.tagLabelBackground = this.tagLabelBackground || this.primaryColor, this.tagLabelBorder = this.tagBorder || this.primaryBorderColor, this.tagLabelFontSize = this.tagLabelFontSize || "10px", this.commitLabelColor = this.commitLabelColor || this.secondaryTextColor, this.commitLabelBackground = this.commitLabelBackground || this.secondaryColor, this.commitLabelFontSize = this.commitLabelFontSize || "10px", this.attributeBackgroundColorOdd = this.attributeBackgroundColorOdd || v, this.attributeBackgroundColorEven = this.attributeBackgroundColorEven || y;
|
|
508
|
+
}
|
|
509
|
+
calculate(e) {
|
|
510
|
+
if (typeof e != "object") {
|
|
511
|
+
this.updateColors();
|
|
512
|
+
return;
|
|
513
|
+
}
|
|
514
|
+
let t = Object.keys(e);
|
|
515
|
+
t.forEach((t) => {
|
|
516
|
+
this[t] = e[t];
|
|
517
|
+
}), this.updateColors(), t.forEach((t) => {
|
|
518
|
+
this[t] = e[t];
|
|
519
|
+
});
|
|
520
|
+
}
|
|
521
|
+
}, de = /* @__PURE__ */ t((e) => {
|
|
522
|
+
let t = new ue();
|
|
523
|
+
return t.calculate(e), t;
|
|
524
|
+
}, "getThemeVariables"), fe = class {
|
|
525
|
+
static {
|
|
526
|
+
t(this, "Theme");
|
|
527
|
+
}
|
|
528
|
+
constructor() {
|
|
529
|
+
this.primaryColor = "#eee", this.contrast = "#707070", this.secondaryColor = o(this.contrast, 55), this.background = "#ffffff", this.tertiaryColor = c(this.primaryColor, { h: -160 }), this.primaryBorderColor = b(this.primaryColor, this.darkMode), this.secondaryBorderColor = b(this.secondaryColor, this.darkMode), this.tertiaryBorderColor = b(this.tertiaryColor, this.darkMode), this.primaryTextColor = l(this.primaryColor), this.secondaryTextColor = l(this.secondaryColor), this.tertiaryTextColor = l(this.tertiaryColor), this.lineColor = l(this.background), this.textColor = l(this.background), this.mainBkg = "#eee", this.secondBkg = "calculated", this.lineColor = "#666", this.border1 = "#999", this.border2 = "calculated", this.note = "#ffa", this.text = "#333", this.critical = "#d42", this.done = "#bbb", this.arrowheadColor = "#333333", this.fontFamily = "\"trebuchet ms\", verdana, arial, sans-serif", this.fontSize = "16px", this.THEME_COLOR_LIMIT = 12, this.radius = 5, this.strokeWidth = 1, this.nodeBkg = "calculated", this.nodeBorder = "calculated", this.clusterBkg = "calculated", this.clusterBorder = "calculated", this.defaultLinkColor = "calculated", this.titleColor = "calculated", this.edgeLabelBackground = "white", this.actorBorder = "calculated", this.actorBkg = "calculated", this.actorTextColor = "calculated", this.actorLineColor = this.actorBorder, this.signalColor = "calculated", this.signalTextColor = "calculated", this.labelBoxBkgColor = "calculated", this.labelBoxBorderColor = "calculated", this.labelTextColor = "calculated", this.loopTextColor = "calculated", this.noteBorderColor = "calculated", this.noteBkgColor = "calculated", this.noteTextColor = "calculated", this.activationBorderColor = "#666", this.activationBkgColor = "#f4f4f4", this.sequenceNumberColor = "white", this.sectionBkgColor = "calculated", this.altSectionBkgColor = "white", this.sectionBkgColor2 = "calculated", this.excludeBkgColor = "#eeeeee", this.taskBorderColor = "calculated", this.taskBkgColor = "calculated", this.taskTextLightColor = "white", this.taskTextColor = "calculated", this.taskTextDarkColor = "calculated", this.taskTextOutsideColor = "calculated", this.taskTextClickableColor = "#003163", this.activeTaskBorderColor = "calculated", this.activeTaskBkgColor = "calculated", this.gridColor = "calculated", this.doneTaskBkgColor = "calculated", this.doneTaskBorderColor = "calculated", this.critBkgColor = "calculated", this.critBorderColor = "calculated", this.todayLineColor = "calculated", this.vertLineColor = "calculated", this.personBorder = this.primaryBorderColor, this.personBkg = this.mainBkg, this.archEdgeColor = "calculated", this.archEdgeArrowColor = "calculated", this.archEdgeWidth = "3", this.archGroupBorderColor = this.primaryBorderColor, this.archGroupBorderWidth = "2px", this.noteFontWeight = "normal", this.fontWeight = "normal", this.rowOdd = this.rowOdd || o(this.mainBkg, 75) || "#ffffff", this.rowEven = this.rowEven || "#f4f4f4", this.labelColor = "black", this.errorBkgColor = "#552222", this.errorTextColor = "#552222", this.useGradient = !0, this.gradientStart = this.primaryBorderColor, this.gradientStop = this.secondaryBorderColor, this.dropShadow = "drop-shadow( 1px 2px 2px rgba(185,185,185,1))";
|
|
530
|
+
}
|
|
531
|
+
updateColors() {
|
|
532
|
+
this.secondBkg = o(this.contrast, 55), this.border2 = this.contrast, this.actorBorder = o(this.border1, 23), this.actorBkg = this.mainBkg, this.actorTextColor = this.text, this.actorLineColor = this.actorBorder, this.signalColor = this.text, this.signalTextColor = this.text, this.labelBoxBkgColor = this.actorBkg, this.labelBoxBorderColor = this.actorBorder, this.labelTextColor = this.text, this.loopTextColor = this.text, this.noteBorderColor = "#999", this.noteBkgColor = "#666", this.noteTextColor = "#fff", this.cScale0 = this.cScale0 || "#555", this.cScale1 = this.cScale1 || "#F4F4F4", this.cScale2 = this.cScale2 || "#555", this.cScale3 = this.cScale3 || "#BBB", this.cScale4 = this.cScale4 || "#777", this.cScale5 = this.cScale5 || "#999", this.cScale6 = this.cScale6 || "#DDD", this.cScale7 = this.cScale7 || "#FFF", this.cScale8 = this.cScale8 || "#DDD", this.cScale9 = this.cScale9 || "#BBB", this.cScale10 = this.cScale10 || "#999", this.cScale11 = this.cScale11 || "#777";
|
|
533
|
+
for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScaleInv" + e] = this["cScaleInv" + e] || l(this["cScale" + e]);
|
|
534
|
+
for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this.darkMode ? this["cScalePeer" + e] = this["cScalePeer" + e] || o(this["cScale" + e], 10) : this["cScalePeer" + e] = this["cScalePeer" + e] || s(this["cScale" + e], 10);
|
|
535
|
+
this.scaleLabelColor = this.scaleLabelColor || (this.darkMode ? "black" : this.labelTextColor), this.cScaleLabel0 = this.cScaleLabel0 || this.cScale1, this.cScaleLabel2 = this.cScaleLabel2 || this.cScale1;
|
|
536
|
+
for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScaleLabel" + e] = this["cScaleLabel" + e] || this.scaleLabelColor;
|
|
537
|
+
for (let e = 0; e < 5; e++) this["surface" + e] = this["surface" + e] || c(this.mainBkg, { l: -(5 + e * 5) }), this["surfacePeer" + e] = this["surfacePeer" + e] || c(this.mainBkg, { l: -(8 + e * 5) });
|
|
538
|
+
this.nodeBkg = this.mainBkg, this.nodeBorder = this.border1, this.clusterBkg = this.secondBkg, this.clusterBorder = this.border2, this.defaultLinkColor = this.lineColor, this.titleColor = this.text, this.sectionBkgColor = o(this.contrast, 30), this.sectionBkgColor2 = o(this.contrast, 30), this.taskBorderColor = s(this.contrast, 10), this.taskBkgColor = this.contrast, this.taskTextColor = this.taskTextLightColor, this.taskTextDarkColor = this.text, this.taskTextOutsideColor = this.taskTextDarkColor, this.activeTaskBorderColor = this.taskBorderColor, this.activeTaskBkgColor = this.mainBkg, this.gridColor = o(this.border1, 30), this.doneTaskBkgColor = this.done, this.doneTaskBorderColor = this.lineColor, this.critBkgColor = this.critical, this.critBorderColor = s(this.critBkgColor, 10), this.todayLineColor = this.critBkgColor, this.vertLineColor = this.critBkgColor, this.archEdgeColor = this.lineColor, this.archEdgeArrowColor = this.lineColor, this.transitionColor = this.transitionColor || "#000", this.transitionLabelColor = this.transitionLabelColor || this.textColor, this.stateLabelColor = this.stateLabelColor || this.stateBkg || this.primaryTextColor, this.stateBkg = this.stateBkg || this.mainBkg, this.labelBackgroundColor = this.labelBackgroundColor || this.stateBkg, this.compositeBackground = this.compositeBackground || this.background || this.tertiaryColor, this.altBackground = this.altBackground || "#f4f4f4", this.compositeTitleBackground = this.compositeTitleBackground || this.mainBkg, this.stateBorder = this.stateBorder || "#000", this.innerEndBackground = this.primaryBorderColor, this.specialStateColor = "#222", this.errorBkgColor = this.errorBkgColor || this.tertiaryColor, this.errorTextColor = this.errorTextColor || this.tertiaryTextColor, this.classText = this.primaryTextColor, this.fillType0 = this.primaryColor, this.fillType1 = this.secondaryColor, this.fillType2 = c(this.primaryColor, { h: 64 }), this.fillType3 = c(this.secondaryColor, { h: 64 }), this.fillType4 = c(this.primaryColor, { h: -64 }), this.fillType5 = c(this.secondaryColor, { h: -64 }), this.fillType6 = c(this.primaryColor, { h: 128 }), this.fillType7 = c(this.secondaryColor, { h: 128 });
|
|
539
|
+
for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["pie" + e] = this["cScale" + e];
|
|
540
|
+
this.pie12 = this.pie0, this.pieTitleTextSize = this.pieTitleTextSize || "25px", this.pieTitleTextColor = this.pieTitleTextColor || this.taskTextDarkColor, this.pieSectionTextSize = this.pieSectionTextSize || "17px", this.pieSectionTextColor = this.pieSectionTextColor || this.textColor, this.pieLegendTextSize = this.pieLegendTextSize || "17px", this.pieLegendTextColor = this.pieLegendTextColor || this.taskTextDarkColor, this.pieStrokeColor = this.pieStrokeColor || "black", this.pieStrokeWidth = this.pieStrokeWidth || "2px", this.pieOuterStrokeWidth = this.pieOuterStrokeWidth || "2px", this.pieOuterStrokeColor = this.pieOuterStrokeColor || "black", this.pieOpacity = this.pieOpacity || "0.7";
|
|
541
|
+
for (let e = 0; e < 8; e++) this["venn" + (e + 1)] = this["venn" + (e + 1)] ?? this["cScale" + e];
|
|
542
|
+
this.vennTitleTextColor = this.vennTitleTextColor ?? this.titleColor, this.vennSetTextColor = this.vennSetTextColor ?? this.textColor, this.quadrant1Fill = this.quadrant1Fill || this.primaryColor, this.quadrant2Fill = this.quadrant2Fill || c(this.primaryColor, {
|
|
543
|
+
r: 5,
|
|
544
|
+
g: 5,
|
|
545
|
+
b: 5
|
|
546
|
+
}), this.quadrant3Fill = this.quadrant3Fill || c(this.primaryColor, {
|
|
547
|
+
r: 10,
|
|
548
|
+
g: 10,
|
|
549
|
+
b: 10
|
|
550
|
+
}), this.quadrant4Fill = this.quadrant4Fill || c(this.primaryColor, {
|
|
551
|
+
r: 15,
|
|
552
|
+
g: 15,
|
|
553
|
+
b: 15
|
|
554
|
+
}), this.quadrant1TextFill = this.quadrant1TextFill || this.primaryTextColor, this.quadrant2TextFill = this.quadrant2TextFill || c(this.primaryTextColor, {
|
|
555
|
+
r: -5,
|
|
556
|
+
g: -5,
|
|
557
|
+
b: -5
|
|
558
|
+
}), this.quadrant3TextFill = this.quadrant3TextFill || c(this.primaryTextColor, {
|
|
559
|
+
r: -10,
|
|
560
|
+
g: -10,
|
|
561
|
+
b: -10
|
|
562
|
+
}), this.quadrant4TextFill = this.quadrant4TextFill || c(this.primaryTextColor, {
|
|
563
|
+
r: -15,
|
|
564
|
+
g: -15,
|
|
565
|
+
b: -15
|
|
566
|
+
}), this.quadrantPointFill = this.quadrantPointFill || a(this.quadrant1Fill) ? o(this.quadrant1Fill) : s(this.quadrant1Fill), this.quadrantPointTextFill = this.quadrantPointTextFill || this.primaryTextColor, this.quadrantXAxisTextFill = this.quadrantXAxisTextFill || this.primaryTextColor, this.quadrantYAxisTextFill = this.quadrantYAxisTextFill || this.primaryTextColor, this.quadrantInternalBorderStrokeFill = this.quadrantInternalBorderStrokeFill || this.primaryBorderColor, this.quadrantExternalBorderStrokeFill = this.quadrantExternalBorderStrokeFill || this.primaryBorderColor, this.quadrantTitleFill = this.quadrantTitleFill || this.primaryTextColor, this.xyChart = {
|
|
567
|
+
backgroundColor: this.xyChart?.backgroundColor || this.background,
|
|
568
|
+
titleColor: this.xyChart?.titleColor || this.primaryTextColor,
|
|
569
|
+
dataLabelColor: this.xyChart?.dataLabelColor || this.primaryTextColor,
|
|
570
|
+
xAxisTitleColor: this.xyChart?.xAxisTitleColor || this.primaryTextColor,
|
|
571
|
+
xAxisLabelColor: this.xyChart?.xAxisLabelColor || this.primaryTextColor,
|
|
572
|
+
xAxisTickColor: this.xyChart?.xAxisTickColor || this.primaryTextColor,
|
|
573
|
+
xAxisLineColor: this.xyChart?.xAxisLineColor || this.primaryTextColor,
|
|
574
|
+
yAxisTitleColor: this.xyChart?.yAxisTitleColor || this.primaryTextColor,
|
|
575
|
+
yAxisLabelColor: this.xyChart?.yAxisLabelColor || this.primaryTextColor,
|
|
576
|
+
yAxisTickColor: this.xyChart?.yAxisTickColor || this.primaryTextColor,
|
|
577
|
+
yAxisLineColor: this.xyChart?.yAxisLineColor || this.primaryTextColor,
|
|
578
|
+
plotColorPalette: this.xyChart?.plotColorPalette || "#EEE,#6BB8E4,#8ACB88,#C7ACD6,#E8DCC2,#FFB2A8,#FFF380,#7E8D91,#FFD8B1,#FAF3E0"
|
|
579
|
+
}, this.radar = {
|
|
580
|
+
axisColor: this.radar?.axisColor || this.lineColor,
|
|
581
|
+
axisStrokeWidth: this.radar?.axisStrokeWidth || 2,
|
|
582
|
+
axisLabelFontSize: this.radar?.axisLabelFontSize || 12,
|
|
583
|
+
curveOpacity: this.radar?.curveOpacity || .5,
|
|
584
|
+
curveStrokeWidth: this.radar?.curveStrokeWidth || 2,
|
|
585
|
+
graticuleColor: this.radar?.graticuleColor || "#DEDEDE",
|
|
586
|
+
graticuleStrokeWidth: this.radar?.graticuleStrokeWidth || 1,
|
|
587
|
+
graticuleOpacity: this.radar?.graticuleOpacity || .3,
|
|
588
|
+
legendBoxSize: this.radar?.legendBoxSize || 12,
|
|
589
|
+
legendFontSize: this.radar?.legendFontSize || 12
|
|
590
|
+
}, this.requirementBackground = this.requirementBackground || this.primaryColor, this.requirementBorderColor = this.requirementBorderColor || this.primaryBorderColor, this.requirementBorderSize = this.requirementBorderSize || "1", this.requirementTextColor = this.requirementTextColor || this.primaryTextColor, this.relationColor = this.relationColor || this.lineColor, this.relationLabelBackground = this.relationLabelBackground || this.edgeLabelBackground, this.relationLabelColor = this.relationLabelColor || this.actorTextColor, this.git0 = s(this.pie1, 25) || this.primaryColor, this.git1 = this.pie2 || this.secondaryColor, this.git2 = this.pie3 || this.tertiaryColor, this.git3 = this.pie4 || c(this.primaryColor, { h: -30 }), this.git4 = this.pie5 || c(this.primaryColor, { h: -60 }), this.git5 = this.pie6 || c(this.primaryColor, { h: -90 }), this.git6 = this.pie7 || c(this.primaryColor, { h: 60 }), this.git7 = this.pie8 || c(this.primaryColor, { h: 120 }), this.gitInv0 = this.gitInv0 || l(this.git0), this.gitInv1 = this.gitInv1 || l(this.git1), this.gitInv2 = this.gitInv2 || l(this.git2), this.gitInv3 = this.gitInv3 || l(this.git3), this.gitInv4 = this.gitInv4 || l(this.git4), this.gitInv5 = this.gitInv5 || l(this.git5), this.gitInv6 = this.gitInv6 || l(this.git6), this.gitInv7 = this.gitInv7 || l(this.git7), this.branchLabelColor = this.branchLabelColor || this.labelTextColor, this.gitBranchLabel0 = this.branchLabelColor, this.gitBranchLabel1 = "white", this.gitBranchLabel2 = this.branchLabelColor, this.gitBranchLabel3 = "white", this.gitBranchLabel4 = this.branchLabelColor, this.gitBranchLabel5 = this.branchLabelColor, this.gitBranchLabel6 = this.branchLabelColor, this.gitBranchLabel7 = this.branchLabelColor, this.tagLabelColor = this.tagLabelColor || this.primaryTextColor, this.tagLabelBackground = this.tagLabelBackground || this.primaryColor, this.tagLabelBorder = this.tagBorder || this.primaryBorderColor, this.tagLabelFontSize = this.tagLabelFontSize || "10px", this.commitLabelColor = this.commitLabelColor || this.secondaryTextColor, this.commitLabelBackground = this.commitLabelBackground || this.secondaryColor, this.commitLabelFontSize = this.commitLabelFontSize || "10px", this.attributeBackgroundColorOdd = this.attributeBackgroundColorOdd || v, this.attributeBackgroundColorEven = this.attributeBackgroundColorEven || y;
|
|
591
|
+
}
|
|
592
|
+
calculate(e) {
|
|
593
|
+
if (typeof e != "object") {
|
|
594
|
+
this.updateColors();
|
|
595
|
+
return;
|
|
596
|
+
}
|
|
597
|
+
let t = Object.keys(e);
|
|
598
|
+
t.forEach((t) => {
|
|
599
|
+
this[t] = e[t];
|
|
600
|
+
}), this.updateColors(), t.forEach((t) => {
|
|
601
|
+
this[t] = e[t];
|
|
602
|
+
});
|
|
603
|
+
}
|
|
604
|
+
}, pe = /* @__PURE__ */ t((e) => {
|
|
605
|
+
let t = new fe();
|
|
606
|
+
return t.calculate(e), t;
|
|
607
|
+
}, "getThemeVariables"), me = class {
|
|
608
|
+
static {
|
|
609
|
+
t(this, "Theme");
|
|
610
|
+
}
|
|
611
|
+
constructor() {
|
|
612
|
+
this.background = "#ffffff", this.primaryColor = "#cccccc", this.mainBkg = "#ffffff", this.noteBkgColor = "#fff5ad", this.noteTextColor = "#333", this.THEME_COLOR_LIMIT = 12, this.radius = 3, this.strokeWidth = 2, this.primaryBorderColor = b(this.primaryColor, this.darkMode), this.fontFamily = "arial, sans-serif", this.fontSize = "14px", this.nodeBorder = "#000000", this.stateBorder = "#000000", this.useGradient = !0, this.gradientStart = "#0042eb", this.gradientStop = "#eb0042", this.dropShadow = "drop-shadow( 0px 1px 2px rgba(0, 0, 0, 0.25));", this.tertiaryColor = "#ffffff", this.archEdgeColor = "calculated", this.archEdgeArrowColor = "calculated", this.archEdgeWidth = "3", this.archGroupBorderColor = this.primaryBorderColor, this.archGroupBorderWidth = "2px", this.noteFontWeight = "normal", this.fontWeight = "normal";
|
|
613
|
+
}
|
|
614
|
+
updateColors() {
|
|
615
|
+
this.primaryTextColor = this.primaryTextColor || (this.darkMode ? "#eee" : "#333"), this.secondaryColor = this.secondaryColor || c(this.primaryColor, { h: -120 }), this.tertiaryColor = this.tertiaryColor || c(this.primaryColor, {
|
|
616
|
+
h: 180,
|
|
617
|
+
l: 5
|
|
618
|
+
}), this.primaryBorderColor = this.primaryBorderColor || b(this.primaryColor, this.darkMode), this.secondaryBorderColor = this.secondaryBorderColor || b(this.secondaryColor, this.darkMode), this.tertiaryBorderColor = this.tertiaryBorderColor || b(this.tertiaryColor, this.darkMode), this.noteBorderColor = this.noteBorderColor || b(this.noteBkgColor, this.darkMode), this.noteBkgColor = this.noteBkgColor || "#fff5ad", this.noteTextColor = this.noteTextColor || "#333", this.secondaryTextColor = this.secondaryTextColor || l(this.secondaryColor), this.tertiaryTextColor = this.tertiaryTextColor || l(this.tertiaryColor), this.lineColor = this.lineColor || l(this.background), this.arrowheadColor = this.arrowheadColor || l(this.background), this.textColor = this.textColor || this.primaryTextColor, this.border2 = this.border2 || this.tertiaryBorderColor, this.nodeBkg = this.nodeBkg || this.primaryColor, this.mainBkg = this.mainBkg || this.primaryColor, this.nodeBorder = this.nodeBorder || this.primaryBorderColor, this.clusterBkg = this.clusterBkg || this.tertiaryColor, this.clusterBorder = this.clusterBorder || this.tertiaryBorderColor, this.defaultLinkColor = this.defaultLinkColor || this.lineColor, this.titleColor = this.titleColor || this.tertiaryTextColor, this.edgeLabelBackground = this.edgeLabelBackground || (this.darkMode ? s(this.secondaryColor, 30) : this.secondaryColor), this.nodeTextColor = this.nodeTextColor || this.primaryTextColor, this.actorBorder = this.actorBorder || this.primaryBorderColor, this.actorBkg = this.actorBkg || this.mainBkg, this.actorTextColor = this.actorTextColor || this.primaryTextColor, this.actorLineColor = this.actorLineColor || this.actorBorder, this.labelBoxBkgColor = this.labelBoxBkgColor || this.actorBkg, this.signalColor = this.signalColor || this.textColor, this.signalTextColor = this.signalTextColor || this.textColor, this.labelBoxBorderColor = this.labelBoxBorderColor || this.actorBorder, this.labelTextColor = this.labelTextColor || this.actorTextColor, this.loopTextColor = this.loopTextColor || this.actorTextColor, this.activationBorderColor = this.activationBorderColor || s(this.secondaryColor, 10), this.activationBkgColor = this.activationBkgColor || this.secondaryColor, this.sequenceNumberColor = this.sequenceNumberColor || l(this.lineColor);
|
|
619
|
+
let e = "#ECECFE", t = "#E9E9F1", n = c(e, {
|
|
620
|
+
h: 180,
|
|
621
|
+
l: 5
|
|
622
|
+
});
|
|
623
|
+
if (this.sectionBkgColor = this.sectionBkgColor || n, this.altSectionBkgColor = this.altSectionBkgColor || "white", this.sectionBkgColor = this.sectionBkgColor || t, this.sectionBkgColor2 = this.sectionBkgColor2 || e, this.excludeBkgColor = this.excludeBkgColor || "#eeeeee", this.taskBorderColor = this.taskBorderColor || this.primaryBorderColor, this.taskBkgColor = this.taskBkgColor || e, this.activeTaskBorderColor = this.activeTaskBorderColor || e, this.activeTaskBkgColor = this.activeTaskBkgColor || o(e, 23), this.gridColor = this.gridColor || "lightgrey", this.doneTaskBkgColor = this.doneTaskBkgColor || "lightgrey", this.doneTaskBorderColor = this.doneTaskBorderColor || "grey", this.critBorderColor = this.critBorderColor || "#ff8888", this.critBkgColor = this.critBkgColor || "red", this.todayLineColor = this.todayLineColor || "red", this.taskTextColor = this.taskTextColor || this.textColor, this.taskTextOutsideColor = this.taskTextOutsideColor || this.textColor, this.vertLineColor = this.vertLineColor || this.primaryBorderColor, this.taskTextLightColor = this.taskTextLightColor || this.textColor, this.taskTextColor = this.taskTextColor || this.primaryTextColor, this.taskTextDarkColor = this.taskTextDarkColor || this.textColor, this.taskTextClickableColor = this.taskTextClickableColor || "#003163", this.archEdgeColor = this.lineColor, this.archEdgeArrowColor = this.lineColor, this.personBorder = this.personBorder || this.primaryBorderColor, this.personBkg = this.personBkg || this.mainBkg, this.transitionColor = this.transitionColor || this.lineColor, this.transitionLabelColor = this.transitionLabelColor || this.textColor, this.stateLabelColor = this.stateLabelColor || this.stateBkg || this.primaryTextColor, this.stateBkg = this.stateBkg || this.mainBkg, this.labelBackgroundColor = this.labelBackgroundColor || this.stateBkg, this.compositeBackground = this.compositeBackground || this.background || this.tertiaryColor, this.altBackground = this.altBackground || "#f0f0f0", this.compositeTitleBackground = this.compositeTitleBackground || this.mainBkg, this.compositeBorder = this.compositeBorder || this.nodeBorder, this.innerEndBackground = this.nodeBorder, this.errorBkgColor = this.errorBkgColor || this.tertiaryColor, this.errorTextColor = this.errorTextColor || this.tertiaryTextColor, this.transitionColor = this.transitionColor || this.lineColor, this.specialStateColor = this.lineColor, this.cScale0 = this.cScale0 || e, this.cScale1 = this.cScale1 || t, this.cScale2 = this.cScale2 || n, this.cScale3 = this.cScale3 || c(e, { h: 30 }), this.cScale4 = this.cScale4 || c(e, { h: 60 }), this.cScale5 = this.cScale5 || c(e, { h: 90 }), this.cScale6 = this.cScale6 || c(e, { h: 120 }), this.cScale7 = this.cScale7 || c(e, { h: 150 }), this.cScale8 = this.cScale8 || c(e, {
|
|
624
|
+
h: 210,
|
|
625
|
+
l: 150
|
|
626
|
+
}), this.cScale9 = this.cScale9 || c(e, { h: 270 }), this.cScale10 = this.cScale10 || c(e, { h: 300 }), this.cScale11 = this.cScale11 || c(e, { h: 330 }), this.darkMode) for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScale" + e] = s(this["cScale" + e], 75);
|
|
627
|
+
else for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScale" + e] = s(this["cScale" + e], 25);
|
|
628
|
+
for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScaleInv" + e] = this["cScaleInv" + e] || l(this["cScale" + e]);
|
|
629
|
+
for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this.darkMode ? this["cScalePeer" + e] = this["cScalePeer" + e] || o(this["cScale" + e], 10) : this["cScalePeer" + e] = this["cScalePeer" + e] || s(this["cScale" + e], 10);
|
|
630
|
+
this.scaleLabelColor = this.scaleLabelColor || this.labelTextColor;
|
|
631
|
+
for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScaleLabel" + e] = this["cScaleLabel" + e] || this.scaleLabelColor;
|
|
632
|
+
let r = this.darkMode ? -4 : -1;
|
|
633
|
+
for (let e = 0; e < 5; e++) this["surface" + e] = this["surface" + e] || c(this.mainBkg, {
|
|
634
|
+
h: 180,
|
|
635
|
+
s: -15,
|
|
636
|
+
l: r * (5 + e * 3)
|
|
637
|
+
}), this["surfacePeer" + e] = this["surfacePeer" + e] || c(this.mainBkg, {
|
|
638
|
+
h: 180,
|
|
639
|
+
s: -15,
|
|
640
|
+
l: r * (8 + e * 3)
|
|
641
|
+
});
|
|
642
|
+
this.classText = this.classText || this.textColor, this.fillType0 = this.fillType0 || e, this.fillType1 = this.fillType1 || t, this.fillType2 = this.fillType2 || c(e, { h: 64 }), this.fillType3 = this.fillType3 || c(t, { h: 64 }), this.fillType4 = this.fillType4 || c(e, { h: -64 }), this.fillType5 = this.fillType5 || c(t, { h: -64 }), this.fillType6 = this.fillType6 || c(e, { h: 128 }), this.fillType7 = this.fillType7 || c(t, { h: 128 }), this.pie1 = this.pie1 || e, this.pie2 = this.pie2 || t, this.pie3 = this.pie3 || n, this.pie4 = this.pie4 || c(e, { l: -10 }), this.pie5 = this.pie5 || c(t, { l: -10 }), this.pie6 = this.pie6 || c(n, { l: -10 }), this.pie7 = this.pie7 || c(e, {
|
|
643
|
+
h: 60,
|
|
644
|
+
l: -10
|
|
645
|
+
}), this.pie8 = this.pie8 || c(e, {
|
|
646
|
+
h: -60,
|
|
647
|
+
l: -10
|
|
648
|
+
}), this.pie9 = this.pie9 || c(e, {
|
|
649
|
+
h: 120,
|
|
650
|
+
l: 0
|
|
651
|
+
}), this.pie10 = this.pie10 || c(e, {
|
|
652
|
+
h: 60,
|
|
653
|
+
l: -20
|
|
654
|
+
}), this.pie11 = this.pie11 || c(e, {
|
|
655
|
+
h: -60,
|
|
656
|
+
l: -20
|
|
657
|
+
}), this.pie12 = this.pie12 || c(e, {
|
|
658
|
+
h: 120,
|
|
659
|
+
l: -10
|
|
660
|
+
}), this.pieTitleTextSize = this.pieTitleTextSize || "25px", this.pieTitleTextColor = this.pieTitleTextColor || this.taskTextDarkColor, this.pieSectionTextSize = this.pieSectionTextSize || "17px", this.pieSectionTextColor = this.pieSectionTextColor || this.textColor, this.pieLegendTextSize = this.pieLegendTextSize || "17px", this.pieLegendTextColor = this.pieLegendTextColor || this.taskTextDarkColor, this.pieStrokeColor = this.pieStrokeColor || "black", this.pieStrokeWidth = this.pieStrokeWidth || "2px", this.pieOuterStrokeWidth = this.pieOuterStrokeWidth || "2px", this.pieOuterStrokeColor = this.pieOuterStrokeColor || "black", this.pieOpacity = this.pieOpacity || "0.7", this.vennTitleTextColor = this.vennTitleTextColor ?? this.titleColor, this.vennSetTextColor = this.vennSetTextColor ?? this.textColor, this.quadrant1Fill = this.quadrant1Fill || e, this.quadrant2Fill = this.quadrant2Fill || c(e, {
|
|
661
|
+
r: 5,
|
|
662
|
+
g: 5,
|
|
663
|
+
b: 5
|
|
664
|
+
}), this.quadrant3Fill = this.quadrant3Fill || c(e, {
|
|
665
|
+
r: 10,
|
|
666
|
+
g: 10,
|
|
667
|
+
b: 10
|
|
668
|
+
}), this.quadrant4Fill = this.quadrant4Fill || c(e, {
|
|
669
|
+
r: 15,
|
|
670
|
+
g: 15,
|
|
671
|
+
b: 15
|
|
672
|
+
}), this.quadrant1TextFill = this.quadrant1TextFill || this.primaryTextColor, this.quadrant2TextFill = this.quadrant2TextFill || c(this.primaryTextColor, {
|
|
673
|
+
r: -5,
|
|
674
|
+
g: -5,
|
|
675
|
+
b: -5
|
|
676
|
+
}), this.quadrant3TextFill = this.quadrant3TextFill || c(this.primaryTextColor, {
|
|
677
|
+
r: -10,
|
|
678
|
+
g: -10,
|
|
679
|
+
b: -10
|
|
680
|
+
}), this.quadrant4TextFill = this.quadrant4TextFill || c(this.primaryTextColor, {
|
|
681
|
+
r: -15,
|
|
682
|
+
g: -15,
|
|
683
|
+
b: -15
|
|
684
|
+
}), this.quadrantPointFill = this.quadrantPointFill || a(this.quadrant1Fill) ? o(this.quadrant1Fill) : s(this.quadrant1Fill), this.quadrantPointTextFill = this.quadrantPointTextFill || this.primaryTextColor, this.quadrantXAxisTextFill = this.quadrantXAxisTextFill || this.primaryTextColor, this.quadrantYAxisTextFill = this.quadrantYAxisTextFill || this.primaryTextColor, this.quadrantInternalBorderStrokeFill = this.quadrantInternalBorderStrokeFill || this.primaryBorderColor, this.quadrantExternalBorderStrokeFill = this.quadrantExternalBorderStrokeFill || this.primaryBorderColor, this.quadrantTitleFill = this.quadrantTitleFill || this.primaryTextColor, this.xyChart = {
|
|
685
|
+
backgroundColor: this.xyChart?.backgroundColor || this.background,
|
|
686
|
+
titleColor: this.xyChart?.titleColor || this.primaryTextColor,
|
|
687
|
+
xAxisTitleColor: this.xyChart?.xAxisTitleColor || this.primaryTextColor,
|
|
688
|
+
xAxisLabelColor: this.xyChart?.xAxisLabelColor || this.primaryTextColor,
|
|
689
|
+
xAxisTickColor: this.xyChart?.xAxisTickColor || this.primaryTextColor,
|
|
690
|
+
xAxisLineColor: this.xyChart?.xAxisLineColor || this.primaryTextColor,
|
|
691
|
+
yAxisTitleColor: this.xyChart?.yAxisTitleColor || this.primaryTextColor,
|
|
692
|
+
yAxisLabelColor: this.xyChart?.yAxisLabelColor || this.primaryTextColor,
|
|
693
|
+
yAxisTickColor: this.xyChart?.yAxisTickColor || this.primaryTextColor,
|
|
694
|
+
yAxisLineColor: this.xyChart?.yAxisLineColor || this.primaryTextColor,
|
|
695
|
+
plotColorPalette: this.xyChart?.plotColorPalette || "#FFF4DD,#FFD8B1,#FFA07A,#ECEFF1,#D6DBDF,#C3E0A8,#FFB6A4,#FFD74D,#738FA7,#FFFFF0"
|
|
696
|
+
}, this.requirementBackground = this.requirementBackground || e, this.requirementBorderColor = this.requirementBorderColor || this.primaryBorderColor, this.requirementBorderSize = this.requirementBorderSize || "1", this.requirementTextColor = this.requirementTextColor || this.primaryTextColor, this.relationColor = this.relationColor || this.lineColor, this.relationLabelBackground = this.relationLabelBackground || (this.darkMode ? s(this.secondaryColor, 30) : this.secondaryColor), this.relationLabelColor = this.relationLabelColor || this.actorTextColor, this.git0 = this.git0 || e, this.git1 = this.git1 || t, this.git2 = this.git2 || n, this.git3 = this.git3 || c(e, { h: -30 }), this.git4 = this.git4 || c(e, { h: -60 }), this.git5 = this.git5 || c(e, { h: -90 }), this.git6 = this.git6 || c(e, { h: 60 }), this.git7 = this.git7 || c(e, { h: 120 }), this.darkMode ? (this.git0 = o(this.git0, 25), this.git1 = o(this.git1, 25), this.git2 = o(this.git2, 25), this.git3 = o(this.git3, 25), this.git4 = o(this.git4, 25), this.git5 = o(this.git5, 25), this.git6 = o(this.git6, 25), this.git7 = o(this.git7, 25)) : (this.git0 = s(this.git0, 25), this.git1 = s(this.git1, 25), this.git2 = s(this.git2, 25), this.git3 = s(this.git3, 25), this.git4 = s(this.git4, 25), this.git5 = s(this.git5, 25), this.git6 = s(this.git6, 25), this.git7 = s(this.git7, 25)), this.gitInv0 = this.gitInv0 || l(this.git0), this.gitInv1 = this.gitInv1 || l(this.git1), this.gitInv2 = this.gitInv2 || l(this.git2), this.gitInv3 = this.gitInv3 || l(this.git3), this.gitInv4 = this.gitInv4 || l(this.git4), this.gitInv5 = this.gitInv5 || l(this.git5), this.gitInv6 = this.gitInv6 || l(this.git6), this.gitInv7 = this.gitInv7 || l(this.git7), this.branchLabelColor = this.branchLabelColor || (this.darkMode ? "black" : this.labelTextColor), this.gitBranchLabel0 = this.gitBranchLabel0 || this.branchLabelColor, this.gitBranchLabel1 = this.gitBranchLabel1 || this.branchLabelColor, this.gitBranchLabel2 = this.gitBranchLabel2 || this.branchLabelColor, this.gitBranchLabel3 = this.gitBranchLabel3 || this.branchLabelColor, this.gitBranchLabel4 = this.gitBranchLabel4 || this.branchLabelColor, this.gitBranchLabel5 = this.gitBranchLabel5 || this.branchLabelColor, this.gitBranchLabel6 = this.gitBranchLabel6 || this.branchLabelColor, this.gitBranchLabel7 = this.gitBranchLabel7 || this.branchLabelColor, this.tagLabelColor = this.tagLabelColor || this.primaryTextColor, this.tagLabelBackground = this.tagLabelBackground || this.primaryColor, this.tagLabelBorder = this.tagBorder || this.primaryBorderColor, this.tagLabelFontSize = this.tagLabelFontSize || "10px", this.commitLabelColor = this.commitLabelColor || this.secondaryTextColor, this.commitLabelBackground = this.commitLabelBackground || this.secondaryColor, this.commitLabelFontSize = this.commitLabelFontSize || "10px", this.attributeBackgroundColorOdd = this.attributeBackgroundColorOdd || v, this.attributeBackgroundColorEven = this.attributeBackgroundColorEven || y;
|
|
697
|
+
}
|
|
698
|
+
calculate(e) {
|
|
699
|
+
if (typeof e != "object") {
|
|
700
|
+
this.updateColors();
|
|
701
|
+
return;
|
|
702
|
+
}
|
|
703
|
+
let t = Object.keys(e);
|
|
704
|
+
t.forEach((t) => {
|
|
705
|
+
this[t] = e[t];
|
|
706
|
+
}), this.updateColors(), t.forEach((t) => {
|
|
707
|
+
this[t] = e[t];
|
|
708
|
+
});
|
|
709
|
+
}
|
|
710
|
+
}, he = /* @__PURE__ */ t((e) => {
|
|
711
|
+
let t = new me();
|
|
712
|
+
return t.calculate(e), t;
|
|
713
|
+
}, "getThemeVariables"), ge = class {
|
|
714
|
+
static {
|
|
715
|
+
t(this, "Theme");
|
|
716
|
+
}
|
|
717
|
+
constructor() {
|
|
718
|
+
this.background = "#333", this.primaryColor = "#1f2020", this.secondaryColor = o(this.primaryColor, 16), this.tertiaryColor = c(this.primaryColor, { h: -160 }), this.primaryBorderColor = l(this.background), this.secondaryBorderColor = b(this.secondaryColor, this.darkMode), this.tertiaryBorderColor = b(this.tertiaryColor, this.darkMode), this.primaryTextColor = l(this.primaryColor), this.secondaryTextColor = l(this.secondaryColor), this.tertiaryTextColor = l(this.tertiaryColor), this.mainBkg = "#2a2020", this.secondBkg = "calculated", this.mainContrastColor = "lightgrey", this.darkTextColor = o(l("#323D47"), 10), this.border1 = "#ccc", this.border2 = i(255, 255, 255, .25), this.arrowheadColor = l(this.background), this.fontFamily = "arial, sans-serif", this.fontSize = "14px", this.labelBackground = "#181818", this.textColor = "#ccc", this.THEME_COLOR_LIMIT = 12, this.radius = 3, this.strokeWidth = 1, this.noteBkgColor = "#fff5ad", this.noteTextColor = "#333", this.THEME_COLOR_LIMIT = 12, this.fontFamily = "arial, sans-serif", this.fontSize = "14px", this.useGradient = !0, this.gradientStart = "#0042eb", this.gradientStop = "#eb0042", this.dropShadow = "drop-shadow( 1px 2px 2px rgba(185,185,185,0.2))", this.archEdgeColor = "calculated", this.archEdgeArrowColor = "calculated", this.archEdgeWidth = "3", this.archGroupBorderColor = this.primaryBorderColor, this.archGroupBorderWidth = "2px", this.noteFontWeight = "normal", this.fontWeight = "normal";
|
|
719
|
+
}
|
|
720
|
+
updateColors() {
|
|
721
|
+
if (this.primaryTextColor = this.primaryTextColor || (this.darkMode ? "#eee" : "#333"), this.secondaryColor = this.secondaryColor || c(this.primaryColor, { h: -120 }), this.tertiaryColor = this.tertiaryColor || c(this.primaryColor, {
|
|
722
|
+
h: 180,
|
|
723
|
+
l: 5
|
|
724
|
+
}), this.primaryBorderColor = this.primaryBorderColor || b(this.primaryColor, this.darkMode), this.secondaryBorderColor = this.secondaryBorderColor || b(this.secondaryColor, this.darkMode), this.tertiaryBorderColor = this.tertiaryBorderColor || b(this.tertiaryColor, this.darkMode), this.noteBorderColor = this.noteBorderColor || b(this.noteBkgColor, this.darkMode), this.noteBkgColor = this.noteBkgColor || "#fff5ad", this.noteTextColor = this.noteTextColor || "#333", this.secondaryTextColor = this.secondaryTextColor || l(this.secondaryColor), this.tertiaryTextColor = this.tertiaryTextColor || l(this.tertiaryColor), this.lineColor = this.lineColor || l(this.background), this.arrowheadColor = this.arrowheadColor || l(this.background), this.textColor = this.textColor || this.primaryTextColor, this.border2 = this.border2 || this.tertiaryBorderColor, this.nodeBkg = this.nodeBkg || this.primaryColor, this.mainBkg = this.mainBkg || this.primaryColor, this.nodeBorder = this.nodeBorder || this.border1, this.clusterBkg = this.clusterBkg || this.tertiaryColor, this.clusterBorder = this.clusterBorder || this.tertiaryBorderColor, this.defaultLinkColor = this.defaultLinkColor || this.lineColor, this.titleColor = this.titleColor || this.tertiaryTextColor, this.edgeLabelBackground = this.edgeLabelBackground || (this.darkMode ? s(this.secondaryColor, 30) : this.secondaryColor), this.nodeTextColor = this.nodeTextColor || this.primaryTextColor, this.actorBorder = this.actorBorder || this.primaryBorderColor, this.actorBkg = this.actorBkg || this.mainBkg, this.actorTextColor = this.actorTextColor || this.primaryTextColor, this.actorLineColor = this.actorLineColor || this.actorBorder, this.labelBoxBkgColor = this.labelBoxBkgColor || this.actorBkg, this.signalColor = this.signalColor || this.textColor, this.signalTextColor = this.signalTextColor || this.textColor, this.labelBoxBorderColor = this.labelBoxBorderColor || this.actorBorder, this.labelTextColor = this.labelTextColor || this.actorTextColor, this.loopTextColor = this.loopTextColor || this.actorTextColor, this.activationBorderColor = this.activationBorderColor || s(this.secondaryColor, 10), this.activationBkgColor = this.activationBkgColor || this.secondaryColor, this.sequenceNumberColor = this.sequenceNumberColor || l(this.lineColor), this.sectionBkgColor = this.sectionBkgColor || this.tertiaryColor, this.altSectionBkgColor = this.altSectionBkgColor || "white", this.sectionBkgColor = this.sectionBkgColor || this.secondaryColor, this.sectionBkgColor2 = this.sectionBkgColor2 || this.primaryColor, this.excludeBkgColor = this.excludeBkgColor || "#eeeeee", this.taskBorderColor = this.taskBorderColor || this.primaryBorderColor, this.taskBkgColor = this.taskBkgColor || this.primaryColor, this.activeTaskBorderColor = this.activeTaskBorderColor || this.primaryColor, this.activeTaskBkgColor = this.activeTaskBkgColor || o(this.primaryColor, 23), this.gridColor = this.gridColor || "lightgrey", this.doneTaskBkgColor = this.doneTaskBkgColor || "lightgrey", this.doneTaskBorderColor = this.doneTaskBorderColor || "grey", this.critBorderColor = this.critBorderColor || "#ff8888", this.critBkgColor = this.critBkgColor || "red", this.todayLineColor = this.todayLineColor || "red", this.vertLineColor = this.vertLineColor || this.primaryBorderColor, this.taskTextColor = this.taskTextColor || this.textColor, this.taskTextOutsideColor = this.taskTextOutsideColor || this.textColor, this.taskTextLightColor = this.taskTextLightColor || this.textColor, this.taskTextColor = this.taskTextColor || this.primaryTextColor, this.taskTextDarkColor = this.taskTextDarkColor || this.textColor, this.taskTextClickableColor = this.taskTextClickableColor || "#003163", this.archEdgeColor = this.lineColor, this.archEdgeArrowColor = this.lineColor, this.personBorder = this.personBorder || this.primaryBorderColor, this.personBkg = this.personBkg || this.mainBkg, this.transitionColor = this.transitionColor || this.lineColor, this.transitionLabelColor = this.transitionLabelColor || this.textColor, this.stateLabelColor = this.stateLabelColor || this.stateBkg || this.primaryTextColor, this.stateBkg = this.stateBkg || this.mainBkg, this.labelBackgroundColor = this.labelBackgroundColor || this.stateBkg, this.compositeBackground = this.compositeBackground || this.background || this.tertiaryColor, this.altBackground = this.altBackground || "#f0f0f0", this.compositeTitleBackground = this.compositeTitleBackground || this.mainBkg, this.compositeBorder = this.compositeBorder || this.nodeBorder, this.innerEndBackground = this.nodeBorder, this.errorBkgColor = this.errorBkgColor || this.tertiaryColor, this.errorTextColor = this.errorTextColor || this.tertiaryTextColor, this.transitionColor = this.transitionColor || this.lineColor, this.specialStateColor = this.lineColor, this.cScale0 = this.cScale0 || this.primaryColor, this.cScale1 = this.cScale1 || this.secondaryColor, this.cScale2 = this.cScale2 || this.tertiaryColor, this.cScale3 = this.cScale3 || c(this.primaryColor, { h: 30 }), this.cScale4 = this.cScale4 || c(this.primaryColor, { h: 60 }), this.cScale5 = this.cScale5 || c(this.primaryColor, { h: 90 }), this.cScale6 = this.cScale6 || c(this.primaryColor, { h: 120 }), this.cScale7 = this.cScale7 || c(this.primaryColor, { h: 150 }), this.cScale8 = this.cScale8 || c(this.primaryColor, {
|
|
725
|
+
h: 210,
|
|
726
|
+
l: 150
|
|
727
|
+
}), this.cScale9 = this.cScale9 || c(this.primaryColor, { h: 270 }), this.cScale10 = this.cScale10 || c(this.primaryColor, { h: 300 }), this.cScale11 = this.cScale11 || c(this.primaryColor, { h: 330 }), this.darkMode) for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScale" + e] = s(this["cScale" + e], 75);
|
|
728
|
+
else for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScale" + e] = s(this["cScale" + e], 25);
|
|
729
|
+
for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScaleInv" + e] = this["cScaleInv" + e] || l(this["cScale" + e]);
|
|
730
|
+
for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this.darkMode ? this["cScalePeer" + e] = this["cScalePeer" + e] || o(this["cScale" + e], 10) : this["cScalePeer" + e] = this["cScalePeer" + e] || s(this["cScale" + e], 10);
|
|
731
|
+
this.scaleLabelColor = this.scaleLabelColor || this.labelTextColor;
|
|
732
|
+
for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScaleLabel" + e] = this["cScaleLabel" + e] || this.scaleLabelColor;
|
|
733
|
+
let e = this.darkMode ? -4 : -1;
|
|
734
|
+
for (let t = 0; t < 5; t++) this["surface" + t] = this["surface" + t] || c(this.mainBkg, {
|
|
735
|
+
h: 180,
|
|
736
|
+
s: -15,
|
|
737
|
+
l: e * (5 + t * 3)
|
|
738
|
+
}), this["surfacePeer" + t] = this["surfacePeer" + t] || c(this.mainBkg, {
|
|
739
|
+
h: 180,
|
|
740
|
+
s: -15,
|
|
741
|
+
l: e * (8 + t * 3)
|
|
742
|
+
});
|
|
743
|
+
this.classText = this.classText || this.textColor, this.fillType0 = this.fillType0 || this.primaryColor, this.fillType1 = this.fillType1 || this.secondaryColor, this.fillType2 = this.fillType2 || c(this.primaryColor, { h: 64 }), this.fillType3 = this.fillType3 || c(this.secondaryColor, { h: 64 }), this.fillType4 = this.fillType4 || c(this.primaryColor, { h: -64 }), this.fillType5 = this.fillType5 || c(this.secondaryColor, { h: -64 }), this.fillType6 = this.fillType6 || c(this.primaryColor, { h: 128 }), this.fillType7 = this.fillType7 || c(this.secondaryColor, { h: 128 }), this.pie1 = this.pie1 || this.primaryColor, this.pie2 = this.pie2 || this.secondaryColor, this.pie3 = this.pie3 || this.tertiaryColor, this.pie4 = this.pie4 || c(this.primaryColor, { l: -10 }), this.pie5 = this.pie5 || c(this.secondaryColor, { l: -10 }), this.pie6 = this.pie6 || c(this.tertiaryColor, { l: -10 }), this.pie7 = this.pie7 || c(this.primaryColor, {
|
|
744
|
+
h: 60,
|
|
745
|
+
l: -10
|
|
746
|
+
}), this.pie8 = this.pie8 || c(this.primaryColor, {
|
|
747
|
+
h: -60,
|
|
748
|
+
l: -10
|
|
749
|
+
}), this.pie9 = this.pie9 || c(this.primaryColor, {
|
|
750
|
+
h: 120,
|
|
751
|
+
l: 0
|
|
752
|
+
}), this.pie10 = this.pie10 || c(this.primaryColor, {
|
|
753
|
+
h: 60,
|
|
754
|
+
l: -20
|
|
755
|
+
}), this.pie11 = this.pie11 || c(this.primaryColor, {
|
|
756
|
+
h: -60,
|
|
757
|
+
l: -20
|
|
758
|
+
}), this.pie12 = this.pie12 || c(this.primaryColor, {
|
|
759
|
+
h: 120,
|
|
760
|
+
l: -10
|
|
761
|
+
}), this.pieTitleTextSize = this.pieTitleTextSize || "25px", this.pieTitleTextColor = this.pieTitleTextColor || this.taskTextDarkColor, this.pieSectionTextSize = this.pieSectionTextSize || "17px", this.pieSectionTextColor = this.pieSectionTextColor || this.textColor, this.pieLegendTextSize = this.pieLegendTextSize || "17px", this.pieLegendTextColor = this.pieLegendTextColor || this.taskTextDarkColor, this.pieStrokeColor = this.pieStrokeColor || "black", this.pieStrokeWidth = this.pieStrokeWidth || "2px", this.pieOuterStrokeWidth = this.pieOuterStrokeWidth || "2px", this.pieOuterStrokeColor = this.pieOuterStrokeColor || "black", this.pieOpacity = this.pieOpacity || "0.7", this.vennTitleTextColor = this.vennTitleTextColor ?? this.titleColor, this.vennSetTextColor = this.vennSetTextColor ?? this.textColor, this.quadrant1Fill = this.quadrant1Fill || this.primaryColor, this.quadrant2Fill = this.quadrant2Fill || c(this.primaryColor, {
|
|
762
|
+
r: 5,
|
|
763
|
+
g: 5,
|
|
764
|
+
b: 5
|
|
765
|
+
}), this.quadrant3Fill = this.quadrant3Fill || c(this.primaryColor, {
|
|
766
|
+
r: 10,
|
|
767
|
+
g: 10,
|
|
768
|
+
b: 10
|
|
769
|
+
}), this.quadrant4Fill = this.quadrant4Fill || c(this.primaryColor, {
|
|
770
|
+
r: 15,
|
|
771
|
+
g: 15,
|
|
772
|
+
b: 15
|
|
773
|
+
}), this.quadrant1TextFill = this.quadrant1TextFill || this.primaryTextColor, this.quadrant2TextFill = this.quadrant2TextFill || c(this.primaryTextColor, {
|
|
774
|
+
r: -5,
|
|
775
|
+
g: -5,
|
|
776
|
+
b: -5
|
|
777
|
+
}), this.quadrant3TextFill = this.quadrant3TextFill || c(this.primaryTextColor, {
|
|
778
|
+
r: -10,
|
|
779
|
+
g: -10,
|
|
780
|
+
b: -10
|
|
781
|
+
}), this.quadrant4TextFill = this.quadrant4TextFill || c(this.primaryTextColor, {
|
|
782
|
+
r: -15,
|
|
783
|
+
g: -15,
|
|
784
|
+
b: -15
|
|
785
|
+
}), this.quadrantPointFill = this.quadrantPointFill || a(this.quadrant1Fill) ? o(this.quadrant1Fill) : s(this.quadrant1Fill), this.quadrantPointTextFill = this.quadrantPointTextFill || this.primaryTextColor, this.quadrantXAxisTextFill = this.quadrantXAxisTextFill || this.primaryTextColor, this.quadrantYAxisTextFill = this.quadrantYAxisTextFill || this.primaryTextColor, this.quadrantInternalBorderStrokeFill = this.quadrantInternalBorderStrokeFill || this.primaryBorderColor, this.quadrantExternalBorderStrokeFill = this.quadrantExternalBorderStrokeFill || this.primaryBorderColor, this.quadrantTitleFill = this.quadrantTitleFill || this.primaryTextColor, this.xyChart = {
|
|
786
|
+
backgroundColor: this.xyChart?.backgroundColor || this.background,
|
|
787
|
+
titleColor: this.xyChart?.titleColor || this.primaryTextColor,
|
|
788
|
+
xAxisTitleColor: this.xyChart?.xAxisTitleColor || this.primaryTextColor,
|
|
789
|
+
xAxisLabelColor: this.xyChart?.xAxisLabelColor || this.primaryTextColor,
|
|
790
|
+
xAxisTickColor: this.xyChart?.xAxisTickColor || this.primaryTextColor,
|
|
791
|
+
xAxisLineColor: this.xyChart?.xAxisLineColor || this.primaryTextColor,
|
|
792
|
+
yAxisTitleColor: this.xyChart?.yAxisTitleColor || this.primaryTextColor,
|
|
793
|
+
yAxisLabelColor: this.xyChart?.yAxisLabelColor || this.primaryTextColor,
|
|
794
|
+
yAxisTickColor: this.xyChart?.yAxisTickColor || this.primaryTextColor,
|
|
795
|
+
yAxisLineColor: this.xyChart?.yAxisLineColor || this.primaryTextColor,
|
|
796
|
+
plotColorPalette: this.xyChart?.plotColorPalette || "#FFF4DD,#FFD8B1,#FFA07A,#ECEFF1,#D6DBDF,#C3E0A8,#FFB6A4,#FFD74D,#738FA7,#FFFFF0"
|
|
797
|
+
}, this.requirementBackground = this.requirementBackground || this.primaryColor, this.requirementBorderColor = this.requirementBorderColor || this.primaryBorderColor, this.requirementBorderSize = this.requirementBorderSize || "1", this.requirementTextColor = this.requirementTextColor || this.primaryTextColor, this.relationColor = this.relationColor || this.lineColor, this.relationLabelBackground = this.relationLabelBackground || (this.darkMode ? s(this.secondaryColor, 30) : this.secondaryColor), this.relationLabelColor = this.relationLabelColor || this.actorTextColor, this.git0 = this.git0 || "#0b0000", this.git1 = this.git1 || "#4d1037", this.git2 = this.git2 || "#3f5258", this.git3 = this.git3 || "#4f2f1b", this.git4 = this.git4 || "#6e0a0a", this.git5 = this.git5 || "#3b0048", this.git6 = this.git6 || "#995a01", this.git7 = this.git7 || "#154706", this.gitDarkMode = !0, this.gitDarkMode ? (this.git0 = o(this.git0, 25), this.git1 = o(this.git1, 25), this.git2 = o(this.git2, 25), this.git3 = o(this.git3, 25), this.git4 = o(this.git4, 25), this.git5 = o(this.git5, 25), this.git6 = o(this.git6, 25), this.git7 = o(this.git7, 25)) : (this.git0 = s(this.git0, 25), this.git1 = s(this.git1, 25), this.git2 = s(this.git2, 25), this.git3 = s(this.git3, 25), this.git4 = s(this.git4, 25), this.git5 = s(this.git5, 25), this.git6 = s(this.git6, 25), this.git7 = s(this.git7, 25)), this.gitInv0 = this.gitInv0 || l(this.git0), this.gitInv1 = this.gitInv1 || l(this.git1), this.gitInv2 = this.gitInv2 || l(this.git2), this.gitInv3 = this.gitInv3 || l(this.git3), this.gitInv4 = this.gitInv4 || l(this.git4), this.gitInv5 = this.gitInv5 || l(this.git5), this.gitInv6 = this.gitInv6 || l(this.git6), this.gitInv7 = this.gitInv7 || l(this.git7), this.branchLabelColor = this.branchLabelColor || (this.darkMode ? "black" : this.labelTextColor), this.gitBranchLabel0 = this.gitBranchLabel0 || this.branchLabelColor, this.gitBranchLabel1 = this.gitBranchLabel1 || this.branchLabelColor, this.gitBranchLabel2 = this.gitBranchLabel2 || this.branchLabelColor, this.gitBranchLabel3 = this.gitBranchLabel3 || this.branchLabelColor, this.gitBranchLabel4 = this.gitBranchLabel4 || this.branchLabelColor, this.gitBranchLabel5 = this.gitBranchLabel5 || this.branchLabelColor, this.gitBranchLabel6 = this.gitBranchLabel6 || this.branchLabelColor, this.gitBranchLabel7 = this.gitBranchLabel7 || this.branchLabelColor, this.tagLabelColor = this.tagLabelColor || this.primaryTextColor, this.tagLabelBackground = this.tagLabelBackground || this.primaryColor, this.tagLabelBorder = this.tagBorder || this.primaryBorderColor, this.tagLabelFontSize = this.tagLabelFontSize || "10px", this.commitLabelColor = this.commitLabelColor || this.secondaryTextColor, this.commitLabelBackground = this.commitLabelBackground || this.secondaryColor, this.commitLabelFontSize = this.commitLabelFontSize || "10px", this.attributeBackgroundColorOdd = this.attributeBackgroundColorOdd || v, this.attributeBackgroundColorEven = this.attributeBackgroundColorEven || y;
|
|
798
|
+
}
|
|
799
|
+
calculate(e) {
|
|
800
|
+
if (typeof e != "object") {
|
|
801
|
+
this.updateColors();
|
|
802
|
+
return;
|
|
803
|
+
}
|
|
804
|
+
let t = Object.keys(e);
|
|
805
|
+
t.forEach((t) => {
|
|
806
|
+
this[t] = e[t];
|
|
807
|
+
}), this.updateColors(), t.forEach((t) => {
|
|
808
|
+
this[t] = e[t];
|
|
809
|
+
});
|
|
810
|
+
}
|
|
811
|
+
}, _e = /* @__PURE__ */ t((e) => {
|
|
812
|
+
let t = new ge();
|
|
813
|
+
return t.calculate(e), t;
|
|
814
|
+
}, "getThemeVariables"), ve = class {
|
|
815
|
+
static {
|
|
816
|
+
t(this, "Theme");
|
|
817
|
+
}
|
|
818
|
+
constructor() {
|
|
819
|
+
this.background = "#ffffff", this.primaryColor = "#cccccc", this.mainBkg = "#ffffff", this.noteBkgColor = "#fff5ad", this.noteTextColor = "#28253D", this.THEME_COLOR_LIMIT = 12, this.radius = 12, this.strokeWidth = 2, this.primaryBorderColor = b("#28253D", this.darkMode), this.fontFamily = "\"Recursive Variable\", arial, sans-serif", this.fontSize = "14px", this.nodeBorder = "#28253D", this.stateBorder = "#28253D", this.useGradient = !1, this.gradientStart = "#0042eb", this.gradientStop = "#eb0042", this.dropShadow = "url(#drop-shadow)", this.nodeShadow = !0, this.tertiaryColor = "#ffffff", this.clusterBkg = "#F9F9FB", this.clusterBorder = "#BDBCCC", this.noteBorderColor = "#FACC15", this.archEdgeColor = "calculated", this.archEdgeArrowColor = "calculated", this.archEdgeWidth = "3", this.archGroupBorderColor = this.primaryBorderColor, this.archGroupBorderWidth = "2px", this.actorBorder = "#28253D", this.filterColor = "#000000";
|
|
820
|
+
}
|
|
821
|
+
updateColors() {
|
|
822
|
+
this.primaryTextColor = this.primaryTextColor || (this.darkMode ? "#eee" : "#28253D"), this.secondaryColor = this.secondaryColor || c(this.primaryColor, { h: -120 }), this.tertiaryColor = this.tertiaryColor || c(this.primaryColor, {
|
|
823
|
+
h: 180,
|
|
824
|
+
l: 5
|
|
825
|
+
}), this.primaryBorderColor = this.primaryBorderColor || b(this.primaryColor, this.darkMode), this.secondaryBorderColor = this.secondaryBorderColor || b(this.secondaryColor, this.darkMode), this.tertiaryBorderColor = this.tertiaryBorderColor || b(this.tertiaryColor, this.darkMode), this.noteBorderColor = this.noteBorderColor || b(this.noteBkgColor, this.darkMode), this.noteBkgColor = this.noteBkgColor || "#FEF9C3", this.noteTextColor = this.noteTextColor || "#28253D", this.secondaryTextColor = this.secondaryTextColor || l(this.secondaryColor), this.tertiaryTextColor = this.tertiaryTextColor || l(this.tertiaryColor), this.lineColor = this.lineColor || l(this.background), this.arrowheadColor = this.arrowheadColor || l(this.background), this.textColor = this.textColor || this.primaryTextColor, this.border2 = this.border2 || this.tertiaryBorderColor, this.nodeBkg = this.nodeBkg || this.primaryColor, this.mainBkg = this.mainBkg || this.primaryColor, this.nodeBorder = this.nodeBorder || this.primaryBorderColor, this.clusterBkg = this.clusterBkg || this.tertiaryColor, this.clusterBorder = this.clusterBorder || this.tertiaryBorderColor, this.defaultLinkColor = this.defaultLinkColor || this.lineColor, this.titleColor = this.titleColor || this.tertiaryTextColor, this.edgeLabelBackground = this.edgeLabelBackground || (this.darkMode ? s(this.secondaryColor, 30) : this.secondaryColor), this.nodeTextColor = this.nodeTextColor || this.primaryTextColor, this.noteFontWeight = 600, this.actorBorder = this.actorBorder || this.primaryBorderColor, this.actorBkg = this.actorBkg || this.mainBkg, this.actorTextColor = this.actorTextColor || this.primaryTextColor, this.actorLineColor = this.actorLineColor || this.actorBorder, this.labelBoxBkgColor = this.labelBoxBkgColor || this.actorBkg, this.signalColor = this.signalColor || this.textColor, this.signalTextColor = this.signalTextColor || this.textColor, this.labelBoxBorderColor = this.labelBoxBorderColor || this.actorBorder, this.labelTextColor = this.labelTextColor || this.actorTextColor, this.loopTextColor = this.loopTextColor || this.actorTextColor, this.activationBorderColor = this.activationBorderColor || s(this.secondaryColor, 10), this.activationBkgColor = this.activationBkgColor || this.secondaryColor, this.sequenceNumberColor = this.sequenceNumberColor || l(this.lineColor);
|
|
826
|
+
let e = "#ECECFE", t = "#E9E9F1", n = c(e, {
|
|
827
|
+
h: 180,
|
|
828
|
+
l: 5
|
|
829
|
+
});
|
|
830
|
+
this.sectionBkgColor = this.sectionBkgColor || n, this.altSectionBkgColor = this.altSectionBkgColor || "white", this.sectionBkgColor = this.sectionBkgColor || t, this.sectionBkgColor2 = this.sectionBkgColor2 || e, this.excludeBkgColor = this.excludeBkgColor || "#eeeeee", this.taskBorderColor = this.taskBorderColor || this.primaryBorderColor, this.taskBkgColor = this.taskBkgColor || e, this.activeTaskBorderColor = this.activeTaskBorderColor || e, this.activeTaskBkgColor = this.activeTaskBkgColor || o(e, 23), this.gridColor = this.gridColor || "lightgrey", this.doneTaskBkgColor = this.doneTaskBkgColor || "lightgrey", this.doneTaskBorderColor = this.doneTaskBorderColor || "grey", this.critBorderColor = this.critBorderColor || "#ff8888", this.critBkgColor = this.critBkgColor || "red", this.todayLineColor = this.todayLineColor || "red", this.taskTextColor = this.taskTextColor || this.textColor, this.vertLineColor = this.vertLineColor || this.primaryBorderColor, this.taskTextOutsideColor = this.taskTextOutsideColor || this.textColor, this.taskTextLightColor = this.taskTextLightColor || this.textColor, this.taskTextColor = this.taskTextColor || this.primaryTextColor, this.taskTextDarkColor = this.taskTextDarkColor || this.textColor, this.taskTextClickableColor = this.taskTextClickableColor || "#003163", this.archEdgeColor = this.lineColor, this.archEdgeArrowColor = this.lineColor, this.personBorder = this.personBorder || this.primaryBorderColor, this.personBkg = this.personBkg || this.mainBkg, this.transitionColor = this.transitionColor || this.lineColor, this.transitionLabelColor = this.transitionLabelColor || this.textColor, this.stateLabelColor = this.stateLabelColor || this.stateBkg || this.primaryTextColor, this.compositeTitleBackground = "#F9F9FB", this.altBackground = "#F9F9FB", this.stateEdgeLabelBackground = "#FFFFFF", this.fontWeight = 600, this.stateBkg = this.stateBkg || this.mainBkg, this.labelBackgroundColor = this.labelBackgroundColor || this.stateBkg, this.compositeBackground = this.compositeBackground || this.background || this.tertiaryColor, this.altBackground = this.altBackground || "#f0f0f0", this.compositeTitleBackground = this.compositeTitleBackground || this.mainBkg, this.compositeBorder = this.compositeBorder || this.nodeBorder, this.innerEndBackground = this.nodeBorder, this.errorBkgColor = this.errorBkgColor || this.tertiaryColor, this.errorTextColor = this.errorTextColor || this.tertiaryTextColor, this.transitionColor = this.transitionColor || this.lineColor, this.specialStateColor = this.lineColor;
|
|
831
|
+
for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScale" + e] = this.mainBkg;
|
|
832
|
+
if (this.darkMode) for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScale" + e] = s(this["cScale" + e], 75);
|
|
833
|
+
else for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScale" + e] = s(this["cScale" + e], 25);
|
|
834
|
+
for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScaleInv" + e] = this["cScaleInv" + e] || l(this["cScale" + e]);
|
|
835
|
+
for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this.darkMode ? this["cScalePeer" + e] = this["cScalePeer" + e] || o(this["cScale" + e], 10) : this["cScalePeer" + e] = this["cScalePeer" + e] || s(this["cScale" + e], 10);
|
|
836
|
+
this.scaleLabelColor = this.scaleLabelColor || this.labelTextColor;
|
|
837
|
+
for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScaleLabel" + e] = this["cScaleLabel" + e] || this.scaleLabelColor;
|
|
838
|
+
let r = this.darkMode ? -4 : -1;
|
|
839
|
+
for (let e = 0; e < 5; e++) this["surface" + e] = this["surface" + e] || c(this.mainBkg, {
|
|
840
|
+
h: 180,
|
|
841
|
+
s: -15,
|
|
842
|
+
l: r * (5 + e * 3)
|
|
843
|
+
}), this["surfacePeer" + e] = this["surfacePeer" + e] || c(this.mainBkg, {
|
|
844
|
+
h: 180,
|
|
845
|
+
s: -15,
|
|
846
|
+
l: r * (8 + e * 3)
|
|
847
|
+
});
|
|
848
|
+
this.classText = this.classText || this.textColor, this.fillType0 = this.fillType0 || e, this.fillType1 = this.fillType1 || t, this.fillType2 = this.fillType2 || c(e, { h: 64 }), this.fillType3 = this.fillType3 || c(t, { h: 64 }), this.fillType4 = this.fillType4 || c(e, { h: -64 }), this.fillType5 = this.fillType5 || c(t, { h: -64 }), this.fillType6 = this.fillType6 || c(e, { h: 128 }), this.fillType7 = this.fillType7 || c(t, { h: 128 }), this.pie1 = this.pie1 || e, this.pie2 = this.pie2 || t, this.pie3 = this.pie3 || n, this.pie4 = this.pie4 || c(e, { l: -10 }), this.pie5 = this.pie5 || c(t, { l: -10 }), this.pie6 = this.pie6 || c(n, { l: -10 }), this.pie7 = this.pie7 || c(e, {
|
|
849
|
+
h: 60,
|
|
850
|
+
l: -10
|
|
851
|
+
}), this.pie8 = this.pie8 || c(e, {
|
|
852
|
+
h: -60,
|
|
853
|
+
l: -10
|
|
854
|
+
}), this.pie9 = this.pie9 || c(e, {
|
|
855
|
+
h: 120,
|
|
856
|
+
l: 0
|
|
857
|
+
}), this.pie10 = this.pie10 || c(e, {
|
|
858
|
+
h: 60,
|
|
859
|
+
l: -20
|
|
860
|
+
}), this.pie11 = this.pie11 || c(e, {
|
|
861
|
+
h: -60,
|
|
862
|
+
l: -20
|
|
863
|
+
}), this.pie12 = this.pie12 || c(e, {
|
|
864
|
+
h: 120,
|
|
865
|
+
l: -10
|
|
866
|
+
}), this.pieTitleTextSize = this.pieTitleTextSize || "25px", this.pieTitleTextColor = this.pieTitleTextColor || this.taskTextDarkColor, this.pieSectionTextSize = this.pieSectionTextSize || "17px", this.pieSectionTextColor = this.pieSectionTextColor || this.textColor, this.pieLegendTextSize = this.pieLegendTextSize || "17px", this.pieLegendTextColor = this.pieLegendTextColor || this.taskTextDarkColor, this.pieStrokeColor = this.pieStrokeColor || "black", this.pieStrokeWidth = this.pieStrokeWidth || "2px", this.pieOuterStrokeWidth = this.pieOuterStrokeWidth || "2px", this.pieOuterStrokeColor = this.pieOuterStrokeColor || "black", this.pieOpacity = this.pieOpacity || "0.7", this.vennTitleTextColor = this.vennTitleTextColor ?? this.titleColor, this.vennSetTextColor = this.vennSetTextColor ?? this.textColor, this.quadrant1Fill = this.quadrant1Fill || e, this.quadrant2Fill = this.quadrant2Fill || c(e, {
|
|
867
|
+
r: 5,
|
|
868
|
+
g: 5,
|
|
869
|
+
b: 5
|
|
870
|
+
}), this.quadrant3Fill = this.quadrant3Fill || c(e, {
|
|
871
|
+
r: 10,
|
|
872
|
+
g: 10,
|
|
873
|
+
b: 10
|
|
874
|
+
}), this.quadrant4Fill = this.quadrant4Fill || c(e, {
|
|
875
|
+
r: 15,
|
|
876
|
+
g: 15,
|
|
877
|
+
b: 15
|
|
878
|
+
}), this.quadrant1TextFill = this.quadrant1TextFill || this.primaryTextColor, this.quadrant2TextFill = this.quadrant2TextFill || c(this.primaryTextColor, {
|
|
879
|
+
r: -5,
|
|
880
|
+
g: -5,
|
|
881
|
+
b: -5
|
|
882
|
+
}), this.quadrant3TextFill = this.quadrant3TextFill || c(this.primaryTextColor, {
|
|
883
|
+
r: -10,
|
|
884
|
+
g: -10,
|
|
885
|
+
b: -10
|
|
886
|
+
}), this.quadrant4TextFill = this.quadrant4TextFill || c(this.primaryTextColor, {
|
|
887
|
+
r: -15,
|
|
888
|
+
g: -15,
|
|
889
|
+
b: -15
|
|
890
|
+
}), this.quadrantPointFill = this.quadrantPointFill || a(this.quadrant1Fill) ? o(this.quadrant1Fill) : s(this.quadrant1Fill), this.quadrantPointTextFill = this.quadrantPointTextFill || this.primaryTextColor, this.quadrantXAxisTextFill = this.quadrantXAxisTextFill || this.primaryTextColor, this.quadrantYAxisTextFill = this.quadrantYAxisTextFill || this.primaryTextColor, this.quadrantInternalBorderStrokeFill = this.quadrantInternalBorderStrokeFill || this.primaryBorderColor, this.quadrantExternalBorderStrokeFill = this.quadrantExternalBorderStrokeFill || this.primaryBorderColor, this.quadrantTitleFill = this.quadrantTitleFill || this.primaryTextColor, this.xyChart = {
|
|
891
|
+
backgroundColor: this.xyChart?.backgroundColor || this.background,
|
|
892
|
+
titleColor: this.xyChart?.titleColor || this.primaryTextColor,
|
|
893
|
+
xAxisTitleColor: this.xyChart?.xAxisTitleColor || this.primaryTextColor,
|
|
894
|
+
xAxisLabelColor: this.xyChart?.xAxisLabelColor || this.primaryTextColor,
|
|
895
|
+
xAxisTickColor: this.xyChart?.xAxisTickColor || this.primaryTextColor,
|
|
896
|
+
xAxisLineColor: this.xyChart?.xAxisLineColor || this.primaryTextColor,
|
|
897
|
+
yAxisTitleColor: this.xyChart?.yAxisTitleColor || this.primaryTextColor,
|
|
898
|
+
yAxisLabelColor: this.xyChart?.yAxisLabelColor || this.primaryTextColor,
|
|
899
|
+
yAxisTickColor: this.xyChart?.yAxisTickColor || this.primaryTextColor,
|
|
900
|
+
yAxisLineColor: this.xyChart?.yAxisLineColor || this.primaryTextColor,
|
|
901
|
+
plotColorPalette: this.xyChart?.plotColorPalette || "#FFF4DD,#FFD8B1,#FFA07A,#ECEFF1,#D6DBDF,#C3E0A8,#FFB6A4,#FFD74D,#738FA7,#FFFFF0"
|
|
902
|
+
}, this.requirementBackground = this.requirementBackground || e, this.requirementBorderColor = this.requirementBorderColor || this.primaryBorderColor, this.requirementBorderSize = this.requirementBorderSize || "1", this.requirementTextColor = this.requirementTextColor || this.primaryTextColor, this.relationColor = this.relationColor || this.lineColor, this.relationLabelBackground = this.relationLabelBackground || (this.darkMode ? s(this.secondaryColor, 30) : this.secondaryColor), this.relationLabelColor = this.relationLabelColor || this.actorTextColor, this.requirementEdgeLabelBackground = "#FFFFFF", this.git0 = this.git0 || e, this.git1 = this.git1 || t, this.git2 = this.git2 || n, this.git3 = this.git3 || c(e, { h: -30 }), this.git4 = this.git4 || c(e, { h: -60 }), this.git5 = this.git5 || c(e, { h: -90 }), this.git6 = this.git6 || c(e, { h: 60 }), this.git7 = this.git7 || c(e, { h: 120 }), this.darkMode ? (this.git0 = o(this.git0, 25), this.git1 = o(this.git1, 25), this.git2 = o(this.git2, 25), this.git3 = o(this.git3, 25), this.git4 = o(this.git4, 25), this.git5 = o(this.git5, 25), this.git6 = o(this.git6, 25), this.git7 = o(this.git7, 25)) : (this.git0 = s(this.git0, 25), this.git1 = s(this.git1, 25), this.git2 = s(this.git2, 25), this.git3 = s(this.git3, 25), this.git4 = s(this.git4, 25), this.git5 = s(this.git5, 25), this.git6 = s(this.git6, 25), this.git7 = s(this.git7, 25)), this.gitInv0 = this.gitInv0 || l(this.git0), this.gitInv1 = this.gitInv1 || l(this.git1), this.gitInv2 = this.gitInv2 || l(this.git2), this.gitInv3 = this.gitInv3 || l(this.git3), this.gitInv4 = this.gitInv4 || l(this.git4), this.gitInv5 = this.gitInv5 || l(this.git5), this.gitInv6 = this.gitInv6 || l(this.git6), this.gitInv7 = this.gitInv7 || l(this.git7), this.branchLabelColor = this.branchLabelColor || (this.darkMode ? "black" : this.labelTextColor), this.gitBranchLabel0 = this.gitBranchLabel0 || this.branchLabelColor, this.gitBranchLabel1 = this.gitBranchLabel1 || this.branchLabelColor, this.gitBranchLabel2 = this.gitBranchLabel2 || this.branchLabelColor, this.gitBranchLabel3 = this.gitBranchLabel3 || this.branchLabelColor, this.gitBranchLabel4 = this.gitBranchLabel4 || this.branchLabelColor, this.gitBranchLabel5 = this.gitBranchLabel5 || this.branchLabelColor, this.gitBranchLabel6 = this.gitBranchLabel6 || this.branchLabelColor, this.gitBranchLabel7 = this.gitBranchLabel7 || this.branchLabelColor, this.tagLabelColor = this.tagLabelColor || this.primaryTextColor, this.tagLabelBackground = this.tagLabelBackground || this.primaryColor, this.tagLabelBorder = this.tagBorder || this.primaryBorderColor, this.tagLabelFontSize = this.tagLabelFontSize || "10px", this.commitLabelColor = this.commitLabelColor || this.secondaryTextColor, this.commitLabelBackground = this.commitLabelBackground || this.secondaryColor, this.commitLabelFontSize = this.commitLabelFontSize || "10px", this.commitLineColor = this.commitLineColor ?? "#BDBCCC", this.erEdgeLabelBackground = "#FFFFFF", this.attributeBackgroundColorOdd = this.attributeBackgroundColorOdd || v, this.attributeBackgroundColorEven = this.attributeBackgroundColorEven || y;
|
|
903
|
+
}
|
|
904
|
+
calculate(e) {
|
|
905
|
+
if (typeof e != "object") {
|
|
906
|
+
this.updateColors();
|
|
907
|
+
return;
|
|
908
|
+
}
|
|
909
|
+
let t = Object.keys(e);
|
|
910
|
+
t.forEach((t) => {
|
|
911
|
+
this[t] = e[t];
|
|
912
|
+
}), this.updateColors(), t.forEach((t) => {
|
|
913
|
+
this[t] = e[t];
|
|
914
|
+
});
|
|
915
|
+
}
|
|
916
|
+
}, ye = /* @__PURE__ */ t((e) => {
|
|
917
|
+
let t = new ve();
|
|
918
|
+
return t.calculate(e), t;
|
|
919
|
+
}, "getThemeVariables"), be = class {
|
|
920
|
+
static {
|
|
921
|
+
t(this, "Theme");
|
|
922
|
+
}
|
|
923
|
+
constructor() {
|
|
924
|
+
this.background = "#333", this.primaryColor = "#1f2020", this.secondaryColor = o(this.primaryColor, 16), this.tertiaryColor = c(this.primaryColor, { h: -160 }), this.primaryBorderColor = l(this.background), this.secondaryBorderColor = b(this.secondaryColor, this.darkMode), this.tertiaryBorderColor = b(this.tertiaryColor, this.darkMode), this.primaryTextColor = l(this.primaryColor), this.secondaryTextColor = l(this.secondaryColor), this.tertiaryTextColor = l(this.tertiaryColor), this.mainBkg = "#111113", this.secondBkg = "calculated", this.mainContrastColor = "lightgrey", this.darkTextColor = o(l("#323D47"), 10), this.border1 = "#ccc", this.border2 = i(255, 255, 255, .25), this.arrowheadColor = l(this.background), this.fontFamily = "\"Recursive Variable\", arial, sans-serif", this.fontSize = "14px", this.labelBackground = "#111113", this.textColor = "#ccc", this.THEME_COLOR_LIMIT = 12, this.radius = 12, this.strokeWidth = 2, this.noteBkgColor = this.noteBkgColor ?? "#FEF9C3", this.noteTextColor = this.noteTextColor ?? "#28253D", this.THEME_COLOR_LIMIT = 12, this.fontFamily = "\"Recursive Variable\", arial, sans-serif", this.fontSize = "14px", this.nodeBorder = "#FFFFFF", this.stateBorder = "#FFFFFF", this.useGradient = !1, this.gradientStart = "#0042eb", this.gradientStop = "#eb0042", this.dropShadow = "url(#drop-shadow)", this.nodeShadow = !0, this.archEdgeColor = "calculated", this.archEdgeArrowColor = "calculated", this.archEdgeWidth = "3", this.archGroupBorderColor = this.primaryBorderColor, this.archGroupBorderWidth = "2px", this.clusterBkg = "#1E1A2E", this.clusterBorder = "#BDBCCC", this.noteBorderColor = "#FACC15", this.noteFontWeight = 600, this.filterColor = "#FFFFFF";
|
|
925
|
+
}
|
|
926
|
+
updateColors() {
|
|
927
|
+
if (this.primaryTextColor = this.primaryTextColor || (this.darkMode ? "#eee" : "#FFFFFF"), this.secondaryColor = this.secondaryColor || c(this.primaryColor, { h: -120 }), this.tertiaryColor = this.tertiaryColor || c(this.primaryColor, {
|
|
928
|
+
h: 180,
|
|
929
|
+
l: 5
|
|
930
|
+
}), this.primaryBorderColor = this.primaryBorderColor || b(this.primaryColor, this.darkMode), this.secondaryBorderColor = this.secondaryBorderColor || b(this.secondaryColor, this.darkMode), this.tertiaryBorderColor = this.tertiaryBorderColor || b(this.tertiaryColor, this.darkMode), this.noteBorderColor = this.noteBorderColor || b(this.noteBkgColor, this.darkMode), this.noteBkgColor = this.noteBkgColor || "#fff5ad", this.noteTextColor = this.noteTextColor || "#FFFFFF", this.secondaryTextColor = this.secondaryTextColor || l(this.secondaryColor), this.tertiaryTextColor = this.tertiaryTextColor || l(this.tertiaryColor), this.lineColor = this.lineColor || l(this.background), this.arrowheadColor = this.arrowheadColor || l(this.background), this.textColor = this.textColor || this.primaryTextColor, this.border2 = this.border2 || this.tertiaryBorderColor, this.nodeBkg = this.nodeBkg || this.primaryColor, this.mainBkg = this.mainBkg || this.primaryColor, this.nodeBorder = this.nodeBorder || this.border1, this.clusterBkg = this.clusterBkg || this.tertiaryColor, this.clusterBorder = this.clusterBorder || this.tertiaryBorderColor, this.defaultLinkColor = this.defaultLinkColor || this.lineColor, this.titleColor = this.titleColor || this.tertiaryTextColor, this.edgeLabelBackground = this.edgeLabelBackground || (this.darkMode ? s(this.secondaryColor, 30) : this.secondaryColor), this.nodeTextColor = this.nodeTextColor || this.primaryTextColor, this.actorBorder = "#FFFFFF", this.signalColor = "#FFFFFF", this.labelBoxBorderColor = "#BDBCCC", this.actorBorder = this.actorBorder || this.primaryBorderColor, this.actorBkg = this.actorBkg || this.mainBkg, this.actorTextColor = this.actorTextColor || this.primaryTextColor, this.actorLineColor = this.actorLineColor || this.actorBorder, this.labelBoxBkgColor = this.labelBoxBkgColor || this.actorBkg, this.signalColor = this.signalColor || this.textColor, this.signalTextColor = this.signalTextColor || this.textColor, this.labelBoxBorderColor = this.labelBoxBorderColor || this.actorBorder, this.labelTextColor = this.labelTextColor || this.actorTextColor, this.loopTextColor = this.loopTextColor || this.actorTextColor, this.activationBorderColor = this.activationBorderColor || s(this.secondaryColor, 10), this.activationBkgColor = this.activationBkgColor || this.secondaryColor, this.sequenceNumberColor = this.sequenceNumberColor || l(this.lineColor), this.sectionBkgColor = this.sectionBkgColor || this.tertiaryColor, this.altSectionBkgColor = this.altSectionBkgColor || "white", this.sectionBkgColor = this.sectionBkgColor || this.secondaryColor, this.sectionBkgColor2 = this.sectionBkgColor2 || this.primaryColor, this.excludeBkgColor = this.excludeBkgColor || "#eeeeee", this.taskBorderColor = this.taskBorderColor || this.primaryBorderColor, this.taskBkgColor = this.taskBkgColor || this.primaryColor, this.activeTaskBorderColor = this.activeTaskBorderColor || this.primaryColor, this.activeTaskBkgColor = this.activeTaskBkgColor || o(this.primaryColor, 23), this.gridColor = this.gridColor || "lightgrey", this.doneTaskBkgColor = this.doneTaskBkgColor || "lightgrey", this.doneTaskBorderColor = this.doneTaskBorderColor || "grey", this.critBorderColor = this.critBorderColor || "#ff8888", this.critBkgColor = this.critBkgColor || "red", this.todayLineColor = this.todayLineColor || "red", this.taskTextColor = this.taskTextColor || this.textColor, this.taskTextOutsideColor = this.taskTextOutsideColor || this.textColor, this.taskTextLightColor = this.taskTextLightColor || this.textColor, this.taskTextColor = this.taskTextColor || this.primaryTextColor, this.taskTextDarkColor = this.taskTextDarkColor || this.textColor, this.taskTextClickableColor = this.taskTextClickableColor || "#003163", this.archEdgeColor = this.lineColor, this.archEdgeArrowColor = this.lineColor, this.personBorder = this.personBorder || this.primaryBorderColor, this.personBkg = this.personBkg || this.mainBkg, this.transitionColor = this.transitionColor || this.lineColor, this.transitionLabelColor = this.transitionLabelColor || this.textColor, this.stateLabelColor = this.stateLabelColor || this.stateBkg || this.primaryTextColor, this.vertLineColor = this.vertLineColor || this.primaryBorderColor, this.compositeBackground = "#16141F", this.altBackground = "#16141F", this.compositeTitleBackground = "#16141F", this.stateEdgeLabelBackground = "#16141F", this.fontWeight = 600, this.stateBkg = this.stateBkg || this.mainBkg, this.labelBackgroundColor = this.labelBackgroundColor || this.stateBkg, this.compositeBackground = this.compositeBackground || this.background || this.tertiaryColor, this.altBackground = this.altBackground || "#f0f0f0", this.compositeTitleBackground = this.compositeTitleBackground || this.mainBkg, this.compositeBorder = this.compositeBorder || this.nodeBorder, this.innerEndBackground = this.nodeBorder, this.errorBkgColor = this.errorBkgColor || this.tertiaryColor, this.errorTextColor = this.errorTextColor || this.tertiaryTextColor, this.transitionColor = this.transitionColor || this.lineColor, this.specialStateColor = this.lineColor, this.cScale0 = this.cScale0 || this.primaryColor, this.cScale1 = this.cScale1 || this.secondaryColor, this.cScale2 = this.cScale2 || this.tertiaryColor, this.cScale3 = this.cScale3 || c(this.primaryColor, { h: 30 }), this.cScale4 = this.cScale4 || c(this.primaryColor, { h: 60 }), this.cScale5 = this.cScale5 || c(this.primaryColor, { h: 90 }), this.cScale6 = this.cScale6 || c(this.primaryColor, { h: 120 }), this.cScale7 = this.cScale7 || c(this.primaryColor, { h: 150 }), this.cScale8 = this.cScale8 || c(this.primaryColor, {
|
|
931
|
+
h: 210,
|
|
932
|
+
l: 150
|
|
933
|
+
}), this.cScale9 = this.cScale9 || c(this.primaryColor, { h: 270 }), this.cScale10 = this.cScale10 || c(this.primaryColor, { h: 300 }), this.cScale11 = this.cScale11 || c(this.primaryColor, { h: 330 }), this.darkMode) for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScale" + e] = s(this["cScale" + e], 75);
|
|
934
|
+
else for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScale" + e] = s(this["cScale" + e], 25);
|
|
935
|
+
for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScaleInv" + e] = this["cScaleInv" + e] || l(this["cScale" + e]);
|
|
936
|
+
for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this.darkMode ? this["cScalePeer" + e] = this["cScalePeer" + e] || o(this["cScale" + e], 10) : this["cScalePeer" + e] = this["cScalePeer" + e] || s(this["cScale" + e], 10);
|
|
937
|
+
this.scaleLabelColor = this.scaleLabelColor || this.labelTextColor;
|
|
938
|
+
for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScaleLabel" + e] = this["cScaleLabel" + e] || this.scaleLabelColor;
|
|
939
|
+
let e = this.darkMode ? -4 : -1;
|
|
940
|
+
for (let t = 0; t < 5; t++) this["surface" + t] = this["surface" + t] || c(this.mainBkg, {
|
|
941
|
+
h: 180,
|
|
942
|
+
s: -15,
|
|
943
|
+
l: e * (5 + t * 3)
|
|
944
|
+
}), this["surfacePeer" + t] = this["surfacePeer" + t] || c(this.mainBkg, {
|
|
945
|
+
h: 180,
|
|
946
|
+
s: -15,
|
|
947
|
+
l: e * (8 + t * 3)
|
|
948
|
+
});
|
|
949
|
+
this.classText = this.classText || this.textColor, this.fillType0 = this.fillType0 || this.primaryColor, this.fillType1 = this.fillType1 || this.secondaryColor, this.fillType2 = this.fillType2 || c(this.primaryColor, { h: 64 }), this.fillType3 = this.fillType3 || c(this.secondaryColor, { h: 64 }), this.fillType4 = this.fillType4 || c(this.primaryColor, { h: -64 }), this.fillType5 = this.fillType5 || c(this.secondaryColor, { h: -64 }), this.fillType6 = this.fillType6 || c(this.primaryColor, { h: 128 }), this.fillType7 = this.fillType7 || c(this.secondaryColor, { h: 128 }), this.pie1 = this.pie1 || this.primaryColor, this.pie2 = this.pie2 || this.secondaryColor, this.pie3 = this.pie3 || this.tertiaryColor, this.pie4 = this.pie4 || c(this.primaryColor, { l: -10 }), this.pie5 = this.pie5 || c(this.secondaryColor, { l: -10 }), this.pie6 = this.pie6 || c(this.tertiaryColor, { l: -10 }), this.pie7 = this.pie7 || c(this.primaryColor, {
|
|
950
|
+
h: 60,
|
|
951
|
+
l: -10
|
|
952
|
+
}), this.pie8 = this.pie8 || c(this.primaryColor, {
|
|
953
|
+
h: -60,
|
|
954
|
+
l: -10
|
|
955
|
+
}), this.pie9 = this.pie9 || c(this.primaryColor, {
|
|
956
|
+
h: 120,
|
|
957
|
+
l: 0
|
|
958
|
+
}), this.pie10 = this.pie10 || c(this.primaryColor, {
|
|
959
|
+
h: 60,
|
|
960
|
+
l: -20
|
|
961
|
+
}), this.pie11 = this.pie11 || c(this.primaryColor, {
|
|
962
|
+
h: -60,
|
|
963
|
+
l: -20
|
|
964
|
+
}), this.pie12 = this.pie12 || c(this.primaryColor, {
|
|
965
|
+
h: 120,
|
|
966
|
+
l: -10
|
|
967
|
+
}), this.pieTitleTextSize = this.pieTitleTextSize || "25px", this.pieTitleTextColor = this.pieTitleTextColor || this.taskTextDarkColor, this.pieSectionTextSize = this.pieSectionTextSize || "17px", this.pieSectionTextColor = this.pieSectionTextColor || this.textColor, this.pieLegendTextSize = this.pieLegendTextSize || "17px", this.pieLegendTextColor = this.pieLegendTextColor || this.taskTextDarkColor, this.pieStrokeColor = this.pieStrokeColor || "black", this.pieStrokeWidth = this.pieStrokeWidth || "2px", this.pieOuterStrokeWidth = this.pieOuterStrokeWidth || "2px", this.pieOuterStrokeColor = this.pieOuterStrokeColor || "black", this.pieOpacity = this.pieOpacity || "0.7", this.vennTitleTextColor = this.vennTitleTextColor ?? this.titleColor, this.vennSetTextColor = this.vennSetTextColor ?? this.textColor, this.quadrant1Fill = this.quadrant1Fill || this.primaryColor, this.quadrant2Fill = this.quadrant2Fill || c(this.primaryColor, {
|
|
968
|
+
r: 5,
|
|
969
|
+
g: 5,
|
|
970
|
+
b: 5
|
|
971
|
+
}), this.quadrant3Fill = this.quadrant3Fill || c(this.primaryColor, {
|
|
972
|
+
r: 10,
|
|
973
|
+
g: 10,
|
|
974
|
+
b: 10
|
|
975
|
+
}), this.quadrant4Fill = this.quadrant4Fill || c(this.primaryColor, {
|
|
976
|
+
r: 15,
|
|
977
|
+
g: 15,
|
|
978
|
+
b: 15
|
|
979
|
+
}), this.quadrant1TextFill = this.quadrant1TextFill || this.primaryTextColor, this.quadrant2TextFill = this.quadrant2TextFill || c(this.primaryTextColor, {
|
|
980
|
+
r: -5,
|
|
981
|
+
g: -5,
|
|
982
|
+
b: -5
|
|
983
|
+
}), this.quadrant3TextFill = this.quadrant3TextFill || c(this.primaryTextColor, {
|
|
984
|
+
r: -10,
|
|
985
|
+
g: -10,
|
|
986
|
+
b: -10
|
|
987
|
+
}), this.quadrant4TextFill = this.quadrant4TextFill || c(this.primaryTextColor, {
|
|
988
|
+
r: -15,
|
|
989
|
+
g: -15,
|
|
990
|
+
b: -15
|
|
991
|
+
}), this.quadrantPointFill = this.quadrantPointFill || a(this.quadrant1Fill) ? o(this.quadrant1Fill) : s(this.quadrant1Fill), this.quadrantPointTextFill = this.quadrantPointTextFill || this.primaryTextColor, this.quadrantXAxisTextFill = this.quadrantXAxisTextFill || this.primaryTextColor, this.quadrantYAxisTextFill = this.quadrantYAxisTextFill || this.primaryTextColor, this.quadrantInternalBorderStrokeFill = this.quadrantInternalBorderStrokeFill || this.primaryBorderColor, this.quadrantExternalBorderStrokeFill = this.quadrantExternalBorderStrokeFill || this.primaryBorderColor, this.quadrantTitleFill = this.quadrantTitleFill || this.primaryTextColor, this.xyChart = {
|
|
992
|
+
backgroundColor: this.xyChart?.backgroundColor || this.background,
|
|
993
|
+
titleColor: this.xyChart?.titleColor || this.primaryTextColor,
|
|
994
|
+
xAxisTitleColor: this.xyChart?.xAxisTitleColor || this.primaryTextColor,
|
|
995
|
+
xAxisLabelColor: this.xyChart?.xAxisLabelColor || this.primaryTextColor,
|
|
996
|
+
xAxisTickColor: this.xyChart?.xAxisTickColor || this.primaryTextColor,
|
|
997
|
+
xAxisLineColor: this.xyChart?.xAxisLineColor || this.primaryTextColor,
|
|
998
|
+
yAxisTitleColor: this.xyChart?.yAxisTitleColor || this.primaryTextColor,
|
|
999
|
+
yAxisLabelColor: this.xyChart?.yAxisLabelColor || this.primaryTextColor,
|
|
1000
|
+
yAxisTickColor: this.xyChart?.yAxisTickColor || this.primaryTextColor,
|
|
1001
|
+
yAxisLineColor: this.xyChart?.yAxisLineColor || this.primaryTextColor,
|
|
1002
|
+
plotColorPalette: this.xyChart?.plotColorPalette || "#FFF4DD,#FFD8B1,#FFA07A,#ECEFF1,#D6DBDF,#C3E0A8,#FFB6A4,#FFD74D,#738FA7,#FFFFF0"
|
|
1003
|
+
}, this.requirementBackground = this.requirementBackground || this.primaryColor, this.requirementBorderColor = this.requirementBorderColor || this.primaryBorderColor, this.requirementBorderSize = this.requirementBorderSize || "1", this.requirementTextColor = this.requirementTextColor || this.primaryTextColor, this.relationColor = this.relationColor || this.lineColor, this.relationLabelBackground = this.relationLabelBackground || (this.darkMode ? s(this.secondaryColor, 30) : this.secondaryColor), this.relationLabelColor = this.relationLabelColor || this.actorTextColor, this.requirementEdgeLabelBackground = "#16141F", this.git0 = this.git0 || this.primaryColor, this.git1 = this.git1 || this.secondaryColor, this.git2 = this.git2 || this.tertiaryColor, this.git3 = this.git3 || c(this.primaryColor, { h: -30 }), this.git4 = this.git4 || c(this.primaryColor, { h: -60 }), this.git5 = this.git5 || c(this.primaryColor, { h: -90 }), this.git6 = this.git6 || c(this.primaryColor, { h: 60 }), this.git7 = this.git7 || c(this.primaryColor, { h: 120 }), this.darkMode ? (this.git0 = o(this.git0, 25), this.git1 = o(this.git1, 25), this.git2 = o(this.git2, 25), this.git3 = o(this.git3, 25), this.git4 = o(this.git4, 25), this.git5 = o(this.git5, 25), this.git6 = o(this.git6, 25), this.git7 = o(this.git7, 25)) : (this.git0 = s(this.git0, 25), this.git1 = s(this.git1, 25), this.git2 = s(this.git2, 25), this.git3 = s(this.git3, 25), this.git4 = s(this.git4, 25), this.git5 = s(this.git5, 25), this.git6 = s(this.git6, 25), this.git7 = s(this.git7, 25)), this.gitInv0 = this.gitInv0 || l(this.git0), this.gitInv1 = this.gitInv1 || l(this.git1), this.gitInv2 = this.gitInv2 || l(this.git2), this.gitInv3 = this.gitInv3 || l(this.git3), this.gitInv4 = this.gitInv4 || l(this.git4), this.gitInv5 = this.gitInv5 || l(this.git5), this.gitInv6 = this.gitInv6 || l(this.git6), this.gitInv7 = this.gitInv7 || l(this.git7), this.branchLabelColor = this.branchLabelColor || (this.darkMode ? "black" : this.labelTextColor), this.gitBranchLabel0 = this.gitBranchLabel0 || this.branchLabelColor, this.gitBranchLabel1 = this.gitBranchLabel1 || this.branchLabelColor, this.gitBranchLabel2 = this.gitBranchLabel2 || this.branchLabelColor, this.gitBranchLabel3 = this.gitBranchLabel3 || this.branchLabelColor, this.gitBranchLabel4 = this.gitBranchLabel4 || this.branchLabelColor, this.gitBranchLabel5 = this.gitBranchLabel5 || this.branchLabelColor, this.gitBranchLabel6 = this.gitBranchLabel6 || this.branchLabelColor, this.gitBranchLabel7 = this.gitBranchLabel7 || this.branchLabelColor, this.tagLabelColor = this.tagLabelColor || this.primaryTextColor, this.tagLabelBackground = this.tagLabelBackground || this.primaryColor, this.tagLabelBorder = this.tagBorder || this.primaryBorderColor, this.tagLabelFontSize = this.tagLabelFontSize || "10px", this.commitLabelColor = this.commitLabelColor || this.secondaryTextColor, this.commitLabelBackground = this.commitLabelBackground || this.secondaryColor, this.commitLabelFontSize = this.commitLabelFontSize || "10px", this.commitLineColor = this.commitLineColor ?? "#BDBCCC", this.erEdgeLabelBackground = "#16141F", this.attributeBackgroundColorOdd = this.attributeBackgroundColorOdd || v, this.attributeBackgroundColorEven = this.attributeBackgroundColorEven || y;
|
|
1004
|
+
}
|
|
1005
|
+
calculate(e) {
|
|
1006
|
+
if (typeof e != "object") {
|
|
1007
|
+
this.updateColors();
|
|
1008
|
+
return;
|
|
1009
|
+
}
|
|
1010
|
+
let t = Object.keys(e);
|
|
1011
|
+
t.forEach((t) => {
|
|
1012
|
+
this[t] = e[t];
|
|
1013
|
+
}), this.updateColors(), t.forEach((t) => {
|
|
1014
|
+
this[t] = e[t];
|
|
1015
|
+
});
|
|
1016
|
+
}
|
|
1017
|
+
}, xe = /* @__PURE__ */ t((e) => {
|
|
1018
|
+
let t = new be();
|
|
1019
|
+
return t.calculate(e), t;
|
|
1020
|
+
}, "getThemeVariables"), Se = class {
|
|
1021
|
+
static {
|
|
1022
|
+
t(this, "Theme");
|
|
1023
|
+
}
|
|
1024
|
+
constructor() {
|
|
1025
|
+
this.background = "#ffffff", this.primaryColor = "#cccccc", this.mainBkg = "#ffffff", this.noteBkgColor = "#fff5ad", this.noteTextColor = "#28253D", this.THEME_COLOR_LIMIT = 12, this.radius = 12, this.strokeWidth = 2, this.primaryBorderColor = b(this.primaryColor, this.darkMode), this.fontFamily = "\"Recursive Variable\", arial, sans-serif", this.fontSize = "14px", this.nodeBorder = "#28253D", this.stateBorder = "#28253D", this.useGradient = !1, this.gradientStart = "#0042eb", this.gradientStop = "#eb0042", this.dropShadow = "url(#drop-shadow)", this.nodeShadow = !0, this.tertiaryColor = "#ffffff", this.archEdgeColor = "calculated", this.archEdgeArrowColor = "calculated", this.archEdgeWidth = "3", this.archGroupBorderColor = this.primaryBorderColor, this.archGroupBorderWidth = "2px", this.actorBorder = "#28253D", this.noteBorderColor = "#FACC15", this.noteFontWeight = 600, this.borderColorArray = [
|
|
1026
|
+
"#E879F9",
|
|
1027
|
+
"#2DD4BF",
|
|
1028
|
+
"#FB923C",
|
|
1029
|
+
"#22D3EE",
|
|
1030
|
+
"#4ADE80",
|
|
1031
|
+
"#A78BFA",
|
|
1032
|
+
"#F87171",
|
|
1033
|
+
"#FACC15",
|
|
1034
|
+
"#818CF8",
|
|
1035
|
+
"#A3E635 ",
|
|
1036
|
+
"#38BDF8",
|
|
1037
|
+
"#FB7185"
|
|
1038
|
+
], this.bkgColorArray = [
|
|
1039
|
+
"#FDF4FF",
|
|
1040
|
+
"#F0FDFA",
|
|
1041
|
+
"#FFF7ED",
|
|
1042
|
+
"#ECFEFF",
|
|
1043
|
+
"#F0FDF4",
|
|
1044
|
+
"#F5F3FF",
|
|
1045
|
+
"#FEF2F2",
|
|
1046
|
+
"#FEFCE8",
|
|
1047
|
+
"#EEF2FF",
|
|
1048
|
+
"#F7FEE7",
|
|
1049
|
+
"#F0F9FF",
|
|
1050
|
+
"#FFF1F2"
|
|
1051
|
+
], this.filterColor = "#000000";
|
|
1052
|
+
}
|
|
1053
|
+
updateColors() {
|
|
1054
|
+
this.primaryTextColor = this.primaryTextColor || (this.darkMode ? "#eee" : "#28253D"), this.secondaryColor = this.secondaryColor || c(this.primaryColor, { h: -120 }), this.tertiaryColor = this.tertiaryColor || c(this.primaryColor, {
|
|
1055
|
+
h: 180,
|
|
1056
|
+
l: 5
|
|
1057
|
+
}), this.primaryBorderColor = this.primaryBorderColor || b(this.primaryColor, this.darkMode), this.secondaryBorderColor = this.secondaryBorderColor || b(this.secondaryColor, this.darkMode), this.tertiaryBorderColor = this.tertiaryBorderColor || b(this.tertiaryColor, this.darkMode), this.noteBorderColor = this.noteBorderColor || b(this.noteBkgColor, this.darkMode), this.noteBkgColor = this.noteBkgColor || "#fff5ad", this.noteTextColor = this.noteTextColor || "#28253D", this.secondaryTextColor = this.secondaryTextColor || l(this.secondaryColor), this.tertiaryTextColor = this.tertiaryTextColor || l(this.tertiaryColor), this.lineColor = this.lineColor || l(this.background), this.arrowheadColor = this.arrowheadColor || l(this.background), this.textColor = this.textColor || this.primaryTextColor, this.border2 = this.border2 || this.tertiaryBorderColor, this.nodeBkg = this.nodeBkg || this.primaryColor, this.mainBkg = this.mainBkg || this.primaryColor, this.nodeBorder = this.nodeBorder || this.primaryBorderColor, this.clusterBkg = this.clusterBkg || this.tertiaryColor, this.clusterBorder = this.clusterBorder || this.tertiaryBorderColor, this.defaultLinkColor = this.defaultLinkColor || this.lineColor, this.titleColor = this.titleColor || this.tertiaryTextColor, this.edgeLabelBackground = this.edgeLabelBackground || (this.darkMode ? s(this.secondaryColor, 30) : this.secondaryColor), this.nodeTextColor = this.nodeTextColor || this.primaryTextColor, this.actorBorder = this.actorBorder || this.primaryBorderColor, this.actorBkg = this.actorBkg || this.mainBkg, this.actorTextColor = this.actorTextColor || this.primaryTextColor, this.actorLineColor = this.actorLineColor || this.actorBorder, this.labelBoxBkgColor = this.labelBoxBkgColor || this.actorBkg, this.signalColor = this.signalColor || this.textColor, this.signalTextColor = this.signalTextColor || this.textColor, this.labelBoxBorderColor = this.labelBoxBorderColor || this.actorBorder, this.labelTextColor = this.labelTextColor || this.actorTextColor, this.loopTextColor = this.loopTextColor || this.actorTextColor, this.activationBorderColor = this.activationBorderColor || s(this.secondaryColor, 10), this.activationBkgColor = this.activationBkgColor || this.secondaryColor, this.sequenceNumberColor = this.sequenceNumberColor || l(this.lineColor);
|
|
1058
|
+
let e = "#ECECFE", t = "#E9E9F1", n = c(e, {
|
|
1059
|
+
h: 180,
|
|
1060
|
+
l: 5
|
|
1061
|
+
});
|
|
1062
|
+
this.sectionBkgColor = this.sectionBkgColor || n, this.altSectionBkgColor = this.altSectionBkgColor || "white", this.sectionBkgColor = this.sectionBkgColor || t, this.sectionBkgColor2 = this.sectionBkgColor2 || e, this.excludeBkgColor = this.excludeBkgColor || "#eeeeee", this.taskBorderColor = this.taskBorderColor || this.primaryBorderColor, this.taskBkgColor = this.taskBkgColor || e, this.activeTaskBorderColor = this.activeTaskBorderColor || e, this.activeTaskBkgColor = this.activeTaskBkgColor || o(e, 23), this.gridColor = this.gridColor || "lightgrey", this.doneTaskBkgColor = this.doneTaskBkgColor || "lightgrey", this.doneTaskBorderColor = this.doneTaskBorderColor || "grey", this.critBorderColor = this.critBorderColor || "#ff8888", this.critBkgColor = this.critBkgColor || "red", this.todayLineColor = this.todayLineColor || "red", this.taskTextColor = this.taskTextColor || this.textColor, this.vertLineColor = this.vertLineColor || this.primaryBorderColor, this.taskTextOutsideColor = this.taskTextOutsideColor || this.textColor, this.taskTextLightColor = this.taskTextLightColor || this.textColor, this.taskTextColor = this.taskTextColor || this.primaryTextColor, this.taskTextDarkColor = this.taskTextDarkColor || this.textColor, this.taskTextClickableColor = this.taskTextClickableColor || "#003163", this.archEdgeColor = this.lineColor, this.archEdgeArrowColor = this.lineColor, this.personBorder = this.personBorder || this.primaryBorderColor, this.personBkg = this.personBkg || this.mainBkg, this.transitionColor = this.transitionColor || this.lineColor, this.transitionLabelColor = this.transitionLabelColor || this.textColor, this.stateLabelColor = this.stateLabelColor || this.stateBkg || this.primaryTextColor, this.stateBkg = this.stateBkg || this.mainBkg, this.labelBackgroundColor = this.labelBackgroundColor || this.stateBkg, this.compositeBackground = this.compositeBackground || this.background || this.tertiaryColor, this.altBackground = this.altBackground || "#f0f0f0", this.compositeTitleBackground = this.compositeTitleBackground || this.mainBkg, this.compositeBorder = this.compositeBorder || this.nodeBorder, this.innerEndBackground = this.nodeBorder, this.errorBkgColor = this.errorBkgColor || this.tertiaryColor, this.errorTextColor = this.errorTextColor || this.tertiaryTextColor, this.transitionColor = this.transitionColor || this.lineColor, this.specialStateColor = this.lineColor, this.cScale0 = this.cScale0 || "#f4a8ff", this.cScale1 = this.cScale1 || "#46ecd5", this.cScale2 = this.cScale2 || "#ffb86a", this.cScale3 = this.cScale3 || "#dab2ff", this.cScale4 = this.cScale4 || "#7bf1a8", this.cScale5 = this.cScale5 || "#c4b4ff", this.cScale6 = this.cScale6 || "#ffa2a2", this.cScale7 = this.cScale7 || "#ffdf20", this.cScale8 = this.cScale8 || "#a3b3ff", this.cScale9 = this.cScale9 || "#bbf451", this.cScale10 = this.cScale10 || "#74d4ff", this.cScale11 = this.cScale11 || "#ffa1ad";
|
|
1063
|
+
for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScaleInv" + e] = this["cScaleInv" + e] || l(this["cScale" + e]);
|
|
1064
|
+
for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this.darkMode ? this["cScalePeer" + e] = this["cScalePeer" + e] || o(this["cScale" + e], 10) : this["cScalePeer" + e] = this["cScalePeer" + e] || s(this["cScale" + e], 10);
|
|
1065
|
+
this.scaleLabelColor = this.scaleLabelColor || this.labelTextColor;
|
|
1066
|
+
for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScaleLabel" + e] = this["cScaleLabel" + e] || this.scaleLabelColor;
|
|
1067
|
+
let r = this.darkMode ? -4 : -1;
|
|
1068
|
+
for (let e = 0; e < 5; e++) this["surface" + e] = this["surface" + e] || c(this.mainBkg, {
|
|
1069
|
+
h: 180,
|
|
1070
|
+
s: -15,
|
|
1071
|
+
l: r * (5 + e * 3)
|
|
1072
|
+
}), this["surfacePeer" + e] = this["surfacePeer" + e] || c(this.mainBkg, {
|
|
1073
|
+
h: 180,
|
|
1074
|
+
s: -15,
|
|
1075
|
+
l: r * (8 + e * 3)
|
|
1076
|
+
});
|
|
1077
|
+
this.classText = this.classText || this.textColor, this.fillType0 = this.fillType0 || e, this.fillType1 = this.fillType1 || t, this.fillType2 = this.fillType2 || c(e, { h: 64 }), this.fillType3 = this.fillType3 || c(t, { h: 64 }), this.fillType4 = this.fillType4 || c(e, { h: -64 }), this.fillType5 = this.fillType5 || c(t, { h: -64 }), this.fillType6 = this.fillType6 || c(e, { h: 128 }), this.fillType7 = this.fillType7 || c(t, { h: 128 }), this.pie1 = this.pie1 || e, this.pie2 = this.pie2 || t, this.pie3 = this.pie3 || n, this.pie4 = this.pie4 || c(e, { l: -10 }), this.pie5 = this.pie5 || c(t, { l: -10 }), this.pie6 = this.pie6 || c(n, { l: -10 }), this.pie7 = this.pie7 || c(e, {
|
|
1078
|
+
h: 60,
|
|
1079
|
+
l: -10
|
|
1080
|
+
}), this.pie8 = this.pie8 || c(e, {
|
|
1081
|
+
h: -60,
|
|
1082
|
+
l: -10
|
|
1083
|
+
}), this.pie9 = this.pie9 || c(e, {
|
|
1084
|
+
h: 120,
|
|
1085
|
+
l: 0
|
|
1086
|
+
}), this.pie10 = this.pie10 || c(e, {
|
|
1087
|
+
h: 60,
|
|
1088
|
+
l: -20
|
|
1089
|
+
}), this.pie11 = this.pie11 || c(e, {
|
|
1090
|
+
h: -60,
|
|
1091
|
+
l: -20
|
|
1092
|
+
}), this.pie12 = this.pie12 || c(e, {
|
|
1093
|
+
h: 120,
|
|
1094
|
+
l: -10
|
|
1095
|
+
}), this.pieTitleTextSize = this.pieTitleTextSize || "25px", this.pieTitleTextColor = this.pieTitleTextColor || this.taskTextDarkColor, this.pieSectionTextSize = this.pieSectionTextSize || "17px", this.pieSectionTextColor = this.pieSectionTextColor || this.textColor, this.pieLegendTextSize = this.pieLegendTextSize || "17px", this.pieLegendTextColor = this.pieLegendTextColor || this.taskTextDarkColor, this.pieStrokeColor = this.pieStrokeColor || "black", this.pieStrokeWidth = this.pieStrokeWidth || "2px", this.pieOuterStrokeWidth = this.pieOuterStrokeWidth || "2px", this.pieOuterStrokeColor = this.pieOuterStrokeColor || "black", this.pieOpacity = this.pieOpacity || "0.7", this.vennTitleTextColor = this.vennTitleTextColor ?? this.titleColor, this.vennSetTextColor = this.vennSetTextColor ?? this.textColor, this.quadrant1Fill = this.quadrant1Fill || e, this.quadrant2Fill = this.quadrant2Fill || c(e, {
|
|
1096
|
+
r: 5,
|
|
1097
|
+
g: 5,
|
|
1098
|
+
b: 5
|
|
1099
|
+
}), this.quadrant3Fill = this.quadrant3Fill || c(e, {
|
|
1100
|
+
r: 10,
|
|
1101
|
+
g: 10,
|
|
1102
|
+
b: 10
|
|
1103
|
+
}), this.quadrant4Fill = this.quadrant4Fill || c(e, {
|
|
1104
|
+
r: 15,
|
|
1105
|
+
g: 15,
|
|
1106
|
+
b: 15
|
|
1107
|
+
}), this.quadrant1TextFill = this.quadrant1TextFill || this.primaryTextColor, this.quadrant2TextFill = this.quadrant2TextFill || c(this.primaryTextColor, {
|
|
1108
|
+
r: -5,
|
|
1109
|
+
g: -5,
|
|
1110
|
+
b: -5
|
|
1111
|
+
}), this.quadrant3TextFill = this.quadrant3TextFill || c(this.primaryTextColor, {
|
|
1112
|
+
r: -10,
|
|
1113
|
+
g: -10,
|
|
1114
|
+
b: -10
|
|
1115
|
+
}), this.quadrant4TextFill = this.quadrant4TextFill || c(this.primaryTextColor, {
|
|
1116
|
+
r: -15,
|
|
1117
|
+
g: -15,
|
|
1118
|
+
b: -15
|
|
1119
|
+
}), this.quadrantPointFill = this.quadrantPointFill || a(this.quadrant1Fill) ? o(this.quadrant1Fill) : s(this.quadrant1Fill), this.quadrantPointTextFill = this.quadrantPointTextFill || this.primaryTextColor, this.quadrantXAxisTextFill = this.quadrantXAxisTextFill || this.primaryTextColor, this.quadrantYAxisTextFill = this.quadrantYAxisTextFill || this.primaryTextColor, this.quadrantInternalBorderStrokeFill = this.quadrantInternalBorderStrokeFill || this.primaryBorderColor, this.quadrantExternalBorderStrokeFill = this.quadrantExternalBorderStrokeFill || this.primaryBorderColor, this.quadrantTitleFill = this.quadrantTitleFill || this.primaryTextColor, this.xyChart = {
|
|
1120
|
+
backgroundColor: this.xyChart?.backgroundColor || this.background,
|
|
1121
|
+
titleColor: this.xyChart?.titleColor || this.primaryTextColor,
|
|
1122
|
+
xAxisTitleColor: this.xyChart?.xAxisTitleColor || this.primaryTextColor,
|
|
1123
|
+
xAxisLabelColor: this.xyChart?.xAxisLabelColor || this.primaryTextColor,
|
|
1124
|
+
xAxisTickColor: this.xyChart?.xAxisTickColor || this.primaryTextColor,
|
|
1125
|
+
xAxisLineColor: this.xyChart?.xAxisLineColor || this.primaryTextColor,
|
|
1126
|
+
yAxisTitleColor: this.xyChart?.yAxisTitleColor || this.primaryTextColor,
|
|
1127
|
+
yAxisLabelColor: this.xyChart?.yAxisLabelColor || this.primaryTextColor,
|
|
1128
|
+
yAxisTickColor: this.xyChart?.yAxisTickColor || this.primaryTextColor,
|
|
1129
|
+
yAxisLineColor: this.xyChart?.yAxisLineColor || this.primaryTextColor,
|
|
1130
|
+
plotColorPalette: this.xyChart?.plotColorPalette || "#FFF4DD,#FFD8B1,#FFA07A,#ECEFF1,#D6DBDF,#C3E0A8,#FFB6A4,#FFD74D,#738FA7,#FFFFF0"
|
|
1131
|
+
}, this.requirementBackground = this.requirementBackground || e, this.requirementBorderColor = this.requirementBorderColor || this.primaryBorderColor, this.requirementBorderSize = this.requirementBorderSize || "1", this.requirementTextColor = this.requirementTextColor || this.primaryTextColor, this.relationColor = this.relationColor || this.lineColor, this.relationLabelBackground = this.relationLabelBackground || (this.darkMode ? s(this.secondaryColor, 30) : this.secondaryColor), this.relationLabelColor = this.relationLabelColor || this.actorTextColor, this.git0 = this.git0 || e, this.git1 = this.git1 || t, this.git2 = this.git2 || n, this.git3 = this.git3 || c(e, { h: -30 }), this.git4 = this.git4 || c(e, { h: -60 }), this.git5 = this.git5 || c(e, { h: -90 }), this.git6 = this.git6 || c(e, { h: 60 }), this.git7 = this.git7 || c(e, { h: 120 }), this.darkMode ? (this.git0 = o(this.git0, 25), this.git1 = o(this.git1, 25), this.git2 = o(this.git2, 25), this.git3 = o(this.git3, 25), this.git4 = o(this.git4, 25), this.git5 = o(this.git5, 25), this.git6 = o(this.git6, 25), this.git7 = o(this.git7, 25)) : (this.git0 = s(this.git0, 25), this.git1 = s(this.git1, 25), this.git2 = s(this.git2, 25), this.git3 = s(this.git3, 25), this.git4 = s(this.git4, 25), this.git5 = s(this.git5, 25), this.git6 = s(this.git6, 25), this.git7 = s(this.git7, 25)), this.gitInv0 = this.gitInv0 || l(this.git0), this.gitInv1 = this.gitInv1 || l(this.git1), this.gitInv2 = this.gitInv2 || l(this.git2), this.gitInv3 = this.gitInv3 || l(this.git3), this.gitInv4 = this.gitInv4 || l(this.git4), this.gitInv5 = this.gitInv5 || l(this.git5), this.gitInv6 = this.gitInv6 || l(this.git6), this.gitInv7 = this.gitInv7 || l(this.git7), this.branchLabelColor = this.branchLabelColor || (this.darkMode ? "black" : this.labelTextColor), this.gitBranchLabel0 = this.gitBranchLabel0 || this.branchLabelColor, this.gitBranchLabel1 = this.gitBranchLabel1 || this.branchLabelColor, this.gitBranchLabel2 = this.gitBranchLabel2 || this.branchLabelColor, this.gitBranchLabel3 = this.gitBranchLabel3 || this.branchLabelColor, this.gitBranchLabel4 = this.gitBranchLabel4 || this.branchLabelColor, this.gitBranchLabel5 = this.gitBranchLabel5 || this.branchLabelColor, this.gitBranchLabel6 = this.gitBranchLabel6 || this.branchLabelColor, this.gitBranchLabel7 = this.gitBranchLabel7 || this.branchLabelColor, this.tagLabelColor = this.tagLabelColor || this.primaryTextColor, this.tagLabelBackground = this.tagLabelBackground || this.primaryColor, this.tagLabelBorder = this.tagBorder || this.primaryBorderColor, this.tagLabelFontSize = this.tagLabelFontSize || "10px", this.commitLabelColor = this.commitLabelColor || this.secondaryTextColor, this.commitLabelBackground = this.commitLabelBackground || this.secondaryColor, this.commitLineColor = this.commitLineColor ?? "#BDBCCC", this.commitLabelFontSize = this.commitLabelFontSize || "10px", this.fontWeight = 600, this.erEdgeLabelBackground = "#FFFFFF", this.attributeBackgroundColorOdd = this.attributeBackgroundColorOdd || v, this.attributeBackgroundColorEven = this.attributeBackgroundColorEven || y;
|
|
1132
|
+
}
|
|
1133
|
+
calculate(e) {
|
|
1134
|
+
if (typeof e != "object") {
|
|
1135
|
+
this.updateColors();
|
|
1136
|
+
return;
|
|
1137
|
+
}
|
|
1138
|
+
let t = Object.keys(e);
|
|
1139
|
+
t.forEach((t) => {
|
|
1140
|
+
this[t] = e[t];
|
|
1141
|
+
}), this.updateColors(), t.forEach((t) => {
|
|
1142
|
+
this[t] = e[t];
|
|
1143
|
+
});
|
|
1144
|
+
}
|
|
1145
|
+
}, Ce = /* @__PURE__ */ t((e) => {
|
|
1146
|
+
let t = new Se();
|
|
1147
|
+
return t.calculate(e), t;
|
|
1148
|
+
}, "getThemeVariables"), we = class {
|
|
1149
|
+
static {
|
|
1150
|
+
t(this, "Theme");
|
|
1151
|
+
}
|
|
1152
|
+
constructor() {
|
|
1153
|
+
this.background = "#333", this.primaryColor = "#1f2020", this.secondaryColor = o(this.primaryColor, 16), this.tertiaryColor = c(this.primaryColor, { h: -160 }), this.primaryBorderColor = l(this.background), this.secondaryBorderColor = b(this.secondaryColor, this.darkMode), this.tertiaryBorderColor = b(this.tertiaryColor, this.darkMode), this.primaryTextColor = l(this.primaryColor), this.secondaryTextColor = l(this.secondaryColor), this.tertiaryTextColor = l(this.tertiaryColor), this.mainBkg = "#111113", this.secondBkg = "calculated", this.mainContrastColor = "lightgrey", this.darkTextColor = o(l("#323D47"), 10), this.border1 = "#ccc", this.border2 = i(255, 255, 255, .25), this.arrowheadColor = l(this.background), this.fontFamily = "\"Recursive Variable\", arial, sans-serif", this.fontSize = "14px", this.labelBackground = "#111113", this.textColor = "#ccc", this.THEME_COLOR_LIMIT = 12, this.radius = 12, this.strokeWidth = 2, this.noteBkgColor = this.noteBkgColor ?? "#FEF9C3", this.noteTextColor = this.noteTextColor ?? "#28253D", this.THEME_COLOR_LIMIT = 12, this.fontFamily = "\"Recursive Variable\", arial, sans-serif", this.fontSize = "14px", this.nodeBorder = "#FFFFFF", this.stateBorder = "#FFFFFF", this.useGradient = !1, this.gradientStart = "#0042eb", this.gradientStop = "#eb0042", this.dropShadow = "url(#drop-shadow)", this.nodeShadow = !0, this.archEdgeColor = "calculated", this.archEdgeArrowColor = "calculated", this.archEdgeWidth = "3", this.archGroupBorderColor = this.primaryBorderColor, this.archGroupBorderWidth = "2px", this.clusterBkg = "#1E1A2E", this.clusterBorder = "#BDBCCC", this.noteBorderColor = "#FACC15", this.noteFontWeight = 600, this.borderColorArray = [
|
|
1154
|
+
"#E879F9",
|
|
1155
|
+
"#2DD4BF",
|
|
1156
|
+
"#FB923C",
|
|
1157
|
+
"#22D3EE",
|
|
1158
|
+
"#4ADE80",
|
|
1159
|
+
"#A78BFA",
|
|
1160
|
+
"#F87171",
|
|
1161
|
+
"#FACC15",
|
|
1162
|
+
"#818CF8",
|
|
1163
|
+
"#A3E635 ",
|
|
1164
|
+
"#38BDF8",
|
|
1165
|
+
"#FB7185"
|
|
1166
|
+
], this.bkgColorArray = [], this.filterColor = "#FFFFFF";
|
|
1167
|
+
}
|
|
1168
|
+
updateColors() {
|
|
1169
|
+
this.primaryTextColor = this.primaryTextColor || (this.darkMode ? "#eee" : "#FFFFFF"), this.secondaryColor = this.secondaryColor || c(this.primaryColor, { h: -120 }), this.tertiaryColor = this.tertiaryColor || c(this.primaryColor, {
|
|
1170
|
+
h: 180,
|
|
1171
|
+
l: 5
|
|
1172
|
+
}), this.primaryBorderColor = this.primaryBorderColor || b(this.primaryColor, this.darkMode), this.secondaryBorderColor = this.secondaryBorderColor || b(this.secondaryColor, this.darkMode), this.tertiaryBorderColor = this.tertiaryBorderColor || b(this.tertiaryColor, this.darkMode), this.noteBorderColor = this.noteBorderColor || b(this.noteBkgColor, this.darkMode), this.noteBkgColor = this.noteBkgColor || "#fff5ad", this.noteTextColor = this.noteTextColor || "#FFFFFF", this.secondaryTextColor = this.secondaryTextColor || l(this.secondaryColor), this.tertiaryTextColor = this.tertiaryTextColor || l(this.tertiaryColor), this.lineColor = this.lineColor || l(this.background), this.arrowheadColor = this.arrowheadColor || l(this.background), this.textColor = this.textColor || this.primaryTextColor, this.border2 = this.border2 || this.tertiaryBorderColor, this.nodeBkg = this.nodeBkg || this.primaryColor, this.mainBkg = this.mainBkg || this.primaryColor, this.nodeBorder = this.nodeBorder || this.border1, this.clusterBkg = this.clusterBkg || this.tertiaryColor, this.clusterBorder = this.clusterBorder || this.tertiaryBorderColor, this.defaultLinkColor = this.defaultLinkColor || this.lineColor, this.titleColor = this.titleColor || this.tertiaryTextColor, this.edgeLabelBackground = this.edgeLabelBackground || (this.darkMode ? s(this.secondaryColor, 30) : this.secondaryColor), this.nodeTextColor = this.nodeTextColor || this.primaryTextColor, this.actorBorder = "#FFFFFF", this.signalColor = "#FFFFFF", this.labelBoxBorderColor = "#BDBCCC", this.actorBorder = this.actorBorder || this.primaryBorderColor, this.actorBkg = this.actorBkg || this.mainBkg, this.actorTextColor = this.actorTextColor || this.primaryTextColor, this.actorLineColor = this.actorLineColor || this.actorBorder, this.labelBoxBkgColor = this.labelBoxBkgColor || this.actorBkg, this.signalColor = this.signalColor || this.textColor, this.signalTextColor = this.signalTextColor || this.textColor, this.labelBoxBorderColor = this.labelBoxBorderColor || this.actorBorder, this.labelTextColor = this.labelTextColor || this.actorTextColor, this.loopTextColor = this.loopTextColor || this.actorTextColor, this.activationBorderColor = this.activationBorderColor || s(this.secondaryColor, 10), this.activationBkgColor = this.activationBkgColor || this.secondaryColor, this.sequenceNumberColor = this.sequenceNumberColor || l(this.lineColor), this.rootLabelColor = "#FFFFFF", this.sectionBkgColor = this.sectionBkgColor || this.tertiaryColor, this.altSectionBkgColor = this.altSectionBkgColor || "white", this.sectionBkgColor = this.sectionBkgColor || this.secondaryColor, this.sectionBkgColor2 = this.sectionBkgColor2 || this.primaryColor, this.excludeBkgColor = this.excludeBkgColor || "#eeeeee", this.taskBorderColor = this.taskBorderColor || this.primaryBorderColor, this.taskBkgColor = this.taskBkgColor || this.primaryColor, this.activeTaskBorderColor = this.activeTaskBorderColor || this.primaryColor, this.activeTaskBkgColor = this.activeTaskBkgColor || o(this.primaryColor, 23), this.gridColor = this.gridColor || "lightgrey", this.doneTaskBkgColor = this.doneTaskBkgColor || "lightgrey", this.doneTaskBorderColor = this.doneTaskBorderColor || "grey", this.critBorderColor = this.critBorderColor || "#ff8888", this.critBkgColor = this.critBkgColor || "red", this.todayLineColor = this.todayLineColor || "red", this.taskTextColor = this.taskTextColor || this.textColor, this.vertLineColor = this.vertLineColor || this.primaryBorderColor, this.taskTextOutsideColor = this.taskTextOutsideColor || this.textColor, this.taskTextLightColor = this.taskTextLightColor || this.textColor, this.taskTextColor = this.taskTextColor || this.primaryTextColor, this.taskTextDarkColor = this.taskTextDarkColor || this.textColor, this.taskTextClickableColor = this.taskTextClickableColor || "#003163", this.archEdgeColor = this.lineColor, this.archEdgeArrowColor = this.lineColor, this.personBorder = this.personBorder || this.primaryBorderColor, this.personBkg = this.personBkg || this.mainBkg, this.transitionColor = this.transitionColor || this.lineColor, this.transitionLabelColor = this.transitionLabelColor || this.textColor, this.stateLabelColor = this.stateLabelColor || this.stateBkg || this.primaryTextColor, this.stateBkg = this.stateBkg || this.mainBkg, this.labelBackgroundColor = this.labelBackgroundColor || this.stateBkg, this.compositeBackground = this.compositeBackground || this.background || this.tertiaryColor, this.altBackground = this.altBackground || "#f0f0f0", this.compositeTitleBackground = this.compositeTitleBackground || this.mainBkg, this.compositeBorder = this.compositeBorder || this.nodeBorder, this.innerEndBackground = this.nodeBorder, this.errorBkgColor = this.errorBkgColor || this.tertiaryColor, this.errorTextColor = this.errorTextColor || this.tertiaryTextColor, this.transitionColor = this.transitionColor || this.lineColor, this.specialStateColor = this.lineColor, this.cScale0 = this.cScale0 || "#f4a8ff", this.cScale1 = this.cScale1 || "#46ecd5", this.cScale2 = this.cScale2 || "#ffb86a", this.cScale3 = this.cScale3 || "#dab2ff", this.cScale4 = this.cScale4 || "#7bf1a8", this.cScale5 = this.cScale5 || "#c4b4ff", this.cScale6 = this.cScale6 || "#ffa2a2", this.cScale7 = this.cScale7 || "#ffdf20", this.cScale8 = this.cScale8 || "#a3b3ff", this.cScale9 = this.cScale9 || "#bbf451", this.cScale10 = this.cScale10 || "#74d4ff", this.cScale11 = this.cScale11 || "#ffa1ad";
|
|
1173
|
+
for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScaleInv" + e] = this["cScaleInv" + e] || l(this["cScale" + e]);
|
|
1174
|
+
for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this.darkMode ? this["cScalePeer" + e] = this["cScalePeer" + e] || o(this["cScale" + e], 10) : this["cScalePeer" + e] = this["cScalePeer" + e] || s(this["cScale" + e], 10);
|
|
1175
|
+
this.scaleLabelColor = this.scaleLabelColor || this.labelTextColor;
|
|
1176
|
+
for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScaleLabel" + e] = s(this["cScale" + e], 75);
|
|
1177
|
+
let e = this.darkMode ? -4 : -1;
|
|
1178
|
+
for (let t = 0; t < 5; t++) this["surface" + t] = this["surface" + t] || c(this.mainBkg, {
|
|
1179
|
+
h: 180,
|
|
1180
|
+
s: -15,
|
|
1181
|
+
l: e * (5 + t * 3)
|
|
1182
|
+
}), this["surfacePeer" + t] = this["surfacePeer" + t] || c(this.mainBkg, {
|
|
1183
|
+
h: 180,
|
|
1184
|
+
s: -15,
|
|
1185
|
+
l: e * (8 + t * 3)
|
|
1186
|
+
});
|
|
1187
|
+
this.classText = this.classText || this.textColor, this.fillType0 = this.fillType0 || this.primaryColor, this.fillType1 = this.fillType1 || this.secondaryColor, this.fillType2 = this.fillType2 || c(this.primaryColor, { h: 64 }), this.fillType3 = this.fillType3 || c(this.secondaryColor, { h: 64 }), this.fillType4 = this.fillType4 || c(this.primaryColor, { h: -64 }), this.fillType5 = this.fillType5 || c(this.secondaryColor, { h: -64 }), this.fillType6 = this.fillType6 || c(this.primaryColor, { h: 128 }), this.fillType7 = this.fillType7 || c(this.secondaryColor, { h: 128 }), this.pie1 = this.pie1 || this.primaryColor, this.pie2 = this.pie2 || this.secondaryColor, this.pie3 = this.pie3 || this.tertiaryColor, this.pie4 = this.pie4 || c(this.primaryColor, { l: -10 }), this.pie5 = this.pie5 || c(this.secondaryColor, { l: -10 }), this.pie6 = this.pie6 || c(this.tertiaryColor, { l: -10 }), this.pie7 = this.pie7 || c(this.primaryColor, {
|
|
1188
|
+
h: 60,
|
|
1189
|
+
l: -10
|
|
1190
|
+
}), this.pie8 = this.pie8 || c(this.primaryColor, {
|
|
1191
|
+
h: -60,
|
|
1192
|
+
l: -10
|
|
1193
|
+
}), this.pie9 = this.pie9 || c(this.primaryColor, {
|
|
1194
|
+
h: 120,
|
|
1195
|
+
l: 0
|
|
1196
|
+
}), this.pie10 = this.pie10 || c(this.primaryColor, {
|
|
1197
|
+
h: 60,
|
|
1198
|
+
l: -20
|
|
1199
|
+
}), this.pie11 = this.pie11 || c(this.primaryColor, {
|
|
1200
|
+
h: -60,
|
|
1201
|
+
l: -20
|
|
1202
|
+
}), this.pie12 = this.pie12 || c(this.primaryColor, {
|
|
1203
|
+
h: 120,
|
|
1204
|
+
l: -10
|
|
1205
|
+
}), this.pieTitleTextSize = this.pieTitleTextSize || "25px", this.pieTitleTextColor = this.pieTitleTextColor || this.taskTextDarkColor, this.pieSectionTextSize = this.pieSectionTextSize || "17px", this.pieSectionTextColor = this.pieSectionTextColor || this.textColor, this.pieLegendTextSize = this.pieLegendTextSize || "17px", this.pieLegendTextColor = this.pieLegendTextColor || this.taskTextDarkColor, this.pieStrokeColor = this.pieStrokeColor || "black", this.pieStrokeWidth = this.pieStrokeWidth || "2px", this.pieOuterStrokeWidth = this.pieOuterStrokeWidth || "2px", this.pieOuterStrokeColor = this.pieOuterStrokeColor || "black", this.pieOpacity = this.pieOpacity || "0.7", this.vennTitleTextColor = this.vennTitleTextColor ?? this.titleColor, this.vennSetTextColor = this.vennSetTextColor ?? this.textColor, this.quadrant1Fill = this.quadrant1Fill || this.primaryColor, this.quadrant2Fill = this.quadrant2Fill || c(this.primaryColor, {
|
|
1206
|
+
r: 5,
|
|
1207
|
+
g: 5,
|
|
1208
|
+
b: 5
|
|
1209
|
+
}), this.quadrant3Fill = this.quadrant3Fill || c(this.primaryColor, {
|
|
1210
|
+
r: 10,
|
|
1211
|
+
g: 10,
|
|
1212
|
+
b: 10
|
|
1213
|
+
}), this.quadrant4Fill = this.quadrant4Fill || c(this.primaryColor, {
|
|
1214
|
+
r: 15,
|
|
1215
|
+
g: 15,
|
|
1216
|
+
b: 15
|
|
1217
|
+
}), this.quadrant1TextFill = this.quadrant1TextFill || this.primaryTextColor, this.quadrant2TextFill = this.quadrant2TextFill || c(this.primaryTextColor, {
|
|
1218
|
+
r: -5,
|
|
1219
|
+
g: -5,
|
|
1220
|
+
b: -5
|
|
1221
|
+
}), this.quadrant3TextFill = this.quadrant3TextFill || c(this.primaryTextColor, {
|
|
1222
|
+
r: -10,
|
|
1223
|
+
g: -10,
|
|
1224
|
+
b: -10
|
|
1225
|
+
}), this.quadrant4TextFill = this.quadrant4TextFill || c(this.primaryTextColor, {
|
|
1226
|
+
r: -15,
|
|
1227
|
+
g: -15,
|
|
1228
|
+
b: -15
|
|
1229
|
+
}), this.quadrantPointFill = this.quadrantPointFill || a(this.quadrant1Fill) ? o(this.quadrant1Fill) : s(this.quadrant1Fill), this.quadrantPointTextFill = this.quadrantPointTextFill || this.primaryTextColor, this.quadrantXAxisTextFill = this.quadrantXAxisTextFill || this.primaryTextColor, this.quadrantYAxisTextFill = this.quadrantYAxisTextFill || this.primaryTextColor, this.quadrantInternalBorderStrokeFill = this.quadrantInternalBorderStrokeFill || this.primaryBorderColor, this.quadrantExternalBorderStrokeFill = this.quadrantExternalBorderStrokeFill || this.primaryBorderColor, this.quadrantTitleFill = this.quadrantTitleFill || this.primaryTextColor, this.xyChart = {
|
|
1230
|
+
backgroundColor: this.xyChart?.backgroundColor || this.background,
|
|
1231
|
+
titleColor: this.xyChart?.titleColor || this.primaryTextColor,
|
|
1232
|
+
xAxisTitleColor: this.xyChart?.xAxisTitleColor || this.primaryTextColor,
|
|
1233
|
+
xAxisLabelColor: this.xyChart?.xAxisLabelColor || this.primaryTextColor,
|
|
1234
|
+
xAxisTickColor: this.xyChart?.xAxisTickColor || this.primaryTextColor,
|
|
1235
|
+
xAxisLineColor: this.xyChart?.xAxisLineColor || this.primaryTextColor,
|
|
1236
|
+
yAxisTitleColor: this.xyChart?.yAxisTitleColor || this.primaryTextColor,
|
|
1237
|
+
yAxisLabelColor: this.xyChart?.yAxisLabelColor || this.primaryTextColor,
|
|
1238
|
+
yAxisTickColor: this.xyChart?.yAxisTickColor || this.primaryTextColor,
|
|
1239
|
+
yAxisLineColor: this.xyChart?.yAxisLineColor || this.primaryTextColor,
|
|
1240
|
+
plotColorPalette: this.xyChart?.plotColorPalette || "#FFF4DD,#FFD8B1,#FFA07A,#ECEFF1,#D6DBDF,#C3E0A8,#FFB6A4,#FFD74D,#738FA7,#FFFFF0"
|
|
1241
|
+
}, this.requirementBackground = this.requirementBackground || this.primaryColor, this.requirementBorderColor = this.requirementBorderColor || this.primaryBorderColor, this.requirementBorderSize = this.requirementBorderSize || "1", this.requirementTextColor = this.requirementTextColor || this.primaryTextColor, this.relationColor = this.relationColor || this.lineColor, this.relationLabelBackground = this.relationLabelBackground || (this.darkMode ? s(this.secondaryColor, 30) : this.secondaryColor), this.relationLabelColor = this.relationLabelColor || this.actorTextColor, this.git0 = this.git0 || this.primaryColor, this.git1 = this.git1 || this.secondaryColor, this.git2 = this.git2 || this.tertiaryColor, this.git3 = this.git3 || c(this.primaryColor, { h: -30 }), this.git4 = this.git4 || c(this.primaryColor, { h: -60 }), this.git5 = this.git5 || c(this.primaryColor, { h: -90 }), this.git6 = this.git6 || c(this.primaryColor, { h: 60 }), this.git7 = this.git7 || c(this.primaryColor, { h: 120 }), this.darkMode ? (this.git0 = o(this.git0, 25), this.git1 = o(this.git1, 25), this.git2 = o(this.git2, 25), this.git3 = o(this.git3, 25), this.git4 = o(this.git4, 25), this.git5 = o(this.git5, 25), this.git6 = o(this.git6, 25), this.git7 = o(this.git7, 25)) : (this.git0 = s(this.git0, 25), this.git1 = s(this.git1, 25), this.git2 = s(this.git2, 25), this.git3 = s(this.git3, 25), this.git4 = s(this.git4, 25), this.git5 = s(this.git5, 25), this.git6 = s(this.git6, 25), this.git7 = s(this.git7, 25)), this.gitInv0 = this.gitInv0 || l(this.git0), this.gitInv1 = this.gitInv1 || l(this.git1), this.gitInv2 = this.gitInv2 || l(this.git2), this.gitInv3 = this.gitInv3 || l(this.git3), this.gitInv4 = this.gitInv4 || l(this.git4), this.gitInv5 = this.gitInv5 || l(this.git5), this.gitInv6 = this.gitInv6 || l(this.git6), this.gitInv7 = this.gitInv7 || l(this.git7), this.branchLabelColor = this.branchLabelColor || (this.darkMode ? "black" : this.labelTextColor), this.gitBranchLabel0 = this.gitBranchLabel0 || this.branchLabelColor, this.gitBranchLabel1 = this.gitBranchLabel1 || this.branchLabelColor, this.gitBranchLabel2 = this.gitBranchLabel2 || this.branchLabelColor, this.gitBranchLabel3 = this.gitBranchLabel3 || this.branchLabelColor, this.gitBranchLabel4 = this.gitBranchLabel4 || this.branchLabelColor, this.gitBranchLabel5 = this.gitBranchLabel5 || this.branchLabelColor, this.gitBranchLabel6 = this.gitBranchLabel6 || this.branchLabelColor, this.gitBranchLabel7 = this.gitBranchLabel7 || this.branchLabelColor, this.tagLabelColor = this.tagLabelColor || this.primaryTextColor, this.tagLabelBackground = this.tagLabelBackground || this.primaryColor, this.tagLabelBorder = this.tagBorder || this.primaryBorderColor, this.tagLabelFontSize = this.tagLabelFontSize || "10px", this.commitLabelColor = this.commitLabelColor || this.secondaryTextColor, this.commitLabelBackground = this.commitLabelBackground || this.secondaryColor, this.commitLabelFontSize = this.commitLabelFontSize || "10px", this.commitLineColor = this.commitLineColor ?? "#BDBCCC", this.fontWeight = 600, this.erEdgeLabelBackground = "#16141F", this.attributeBackgroundColorOdd = this.attributeBackgroundColorOdd || v, this.attributeBackgroundColorEven = this.attributeBackgroundColorEven || y;
|
|
1242
|
+
}
|
|
1243
|
+
calculate(e) {
|
|
1244
|
+
if (typeof e != "object") {
|
|
1245
|
+
this.updateColors();
|
|
1246
|
+
return;
|
|
1247
|
+
}
|
|
1248
|
+
let t = Object.keys(e);
|
|
1249
|
+
t.forEach((t) => {
|
|
1250
|
+
this[t] = e[t];
|
|
1251
|
+
}), this.updateColors(), t.forEach((t) => {
|
|
1252
|
+
this[t] = e[t];
|
|
1253
|
+
});
|
|
1254
|
+
}
|
|
1255
|
+
}, x = {
|
|
1256
|
+
base: { getThemeVariables: ae },
|
|
1257
|
+
dark: { getThemeVariables: se },
|
|
1258
|
+
default: { getThemeVariables: le },
|
|
1259
|
+
forest: { getThemeVariables: de },
|
|
1260
|
+
neutral: { getThemeVariables: pe },
|
|
1261
|
+
neo: { getThemeVariables: he },
|
|
1262
|
+
"neo-dark": { getThemeVariables: _e },
|
|
1263
|
+
redux: { getThemeVariables: ye },
|
|
1264
|
+
"redux-dark": { getThemeVariables: xe },
|
|
1265
|
+
"redux-color": { getThemeVariables: Ce },
|
|
1266
|
+
"redux-dark-color": { getThemeVariables: /* @__PURE__ */ t((e) => {
|
|
1267
|
+
let t = new we();
|
|
1268
|
+
return t.calculate(e), t;
|
|
1269
|
+
}, "getThemeVariables") }
|
|
1270
|
+
}, S = {
|
|
1271
|
+
flowchart: {
|
|
1272
|
+
useMaxWidth: !0,
|
|
1273
|
+
titleTopMargin: 25,
|
|
1274
|
+
subGraphTitleMargin: {
|
|
1275
|
+
top: 0,
|
|
1276
|
+
bottom: 0
|
|
1277
|
+
},
|
|
1278
|
+
diagramPadding: 8,
|
|
1279
|
+
htmlLabels: null,
|
|
1280
|
+
nodeSpacing: 50,
|
|
1281
|
+
rankSpacing: 50,
|
|
1282
|
+
curve: "basis",
|
|
1283
|
+
padding: 15,
|
|
1284
|
+
defaultRenderer: "dagre-wrapper",
|
|
1285
|
+
wrappingWidth: 200,
|
|
1286
|
+
inheritDir: !1
|
|
1287
|
+
},
|
|
1288
|
+
sequence: {
|
|
1289
|
+
useMaxWidth: !0,
|
|
1290
|
+
hideUnusedParticipants: !1,
|
|
1291
|
+
activationWidth: 10,
|
|
1292
|
+
diagramMarginX: 50,
|
|
1293
|
+
diagramMarginY: 10,
|
|
1294
|
+
actorMargin: 50,
|
|
1295
|
+
width: 150,
|
|
1296
|
+
height: 65,
|
|
1297
|
+
boxMargin: 10,
|
|
1298
|
+
boxTextMargin: 5,
|
|
1299
|
+
noteMargin: 10,
|
|
1300
|
+
messageMargin: 35,
|
|
1301
|
+
messageAlign: "center",
|
|
1302
|
+
mirrorActors: !0,
|
|
1303
|
+
forceMenus: !1,
|
|
1304
|
+
bottomMarginAdj: 1,
|
|
1305
|
+
rightAngles: !1,
|
|
1306
|
+
showSequenceNumbers: !1,
|
|
1307
|
+
actorFontSize: 14,
|
|
1308
|
+
actorFontFamily: "\"Open Sans\", sans-serif",
|
|
1309
|
+
actorFontWeight: 400,
|
|
1310
|
+
noteFontSize: 14,
|
|
1311
|
+
noteFontFamily: "\"trebuchet ms\", verdana, arial, sans-serif",
|
|
1312
|
+
noteFontWeight: 400,
|
|
1313
|
+
noteAlign: "center",
|
|
1314
|
+
messageFontSize: 16,
|
|
1315
|
+
messageFontFamily: "\"trebuchet ms\", verdana, arial, sans-serif",
|
|
1316
|
+
messageFontWeight: 400,
|
|
1317
|
+
wrap: !1,
|
|
1318
|
+
wrapPadding: 10,
|
|
1319
|
+
labelBoxWidth: 50,
|
|
1320
|
+
labelBoxHeight: 20
|
|
1321
|
+
},
|
|
1322
|
+
gantt: {
|
|
1323
|
+
useMaxWidth: !0,
|
|
1324
|
+
titleTopMargin: 25,
|
|
1325
|
+
barHeight: 20,
|
|
1326
|
+
barGap: 4,
|
|
1327
|
+
topPadding: 50,
|
|
1328
|
+
rightPadding: 75,
|
|
1329
|
+
leftPadding: 75,
|
|
1330
|
+
gridLineStartPadding: 35,
|
|
1331
|
+
fontSize: 11,
|
|
1332
|
+
sectionFontSize: 11,
|
|
1333
|
+
numberSectionStyles: 4,
|
|
1334
|
+
axisFormat: "%Y-%m-%d",
|
|
1335
|
+
topAxis: !1,
|
|
1336
|
+
displayMode: "",
|
|
1337
|
+
weekday: "sunday"
|
|
1338
|
+
},
|
|
1339
|
+
journey: {
|
|
1340
|
+
useMaxWidth: !0,
|
|
1341
|
+
diagramMarginX: 50,
|
|
1342
|
+
diagramMarginY: 10,
|
|
1343
|
+
leftMargin: 150,
|
|
1344
|
+
maxLabelWidth: 360,
|
|
1345
|
+
width: 150,
|
|
1346
|
+
height: 50,
|
|
1347
|
+
boxMargin: 10,
|
|
1348
|
+
boxTextMargin: 5,
|
|
1349
|
+
noteMargin: 10,
|
|
1350
|
+
messageMargin: 35,
|
|
1351
|
+
messageAlign: "center",
|
|
1352
|
+
bottomMarginAdj: 1,
|
|
1353
|
+
rightAngles: !1,
|
|
1354
|
+
taskFontSize: 14,
|
|
1355
|
+
taskFontFamily: "\"Open Sans\", sans-serif",
|
|
1356
|
+
taskMargin: 50,
|
|
1357
|
+
activationWidth: 10,
|
|
1358
|
+
textPlacement: "fo",
|
|
1359
|
+
actorColours: [
|
|
1360
|
+
"#8FBC8F",
|
|
1361
|
+
"#7CFC00",
|
|
1362
|
+
"#00FFFF",
|
|
1363
|
+
"#20B2AA",
|
|
1364
|
+
"#B0E0E6",
|
|
1365
|
+
"#FFFFE0"
|
|
1366
|
+
],
|
|
1367
|
+
sectionFills: [
|
|
1368
|
+
"#191970",
|
|
1369
|
+
"#8B008B",
|
|
1370
|
+
"#4B0082",
|
|
1371
|
+
"#2F4F4F",
|
|
1372
|
+
"#800000",
|
|
1373
|
+
"#8B4513",
|
|
1374
|
+
"#00008B"
|
|
1375
|
+
],
|
|
1376
|
+
sectionColours: ["#fff"],
|
|
1377
|
+
titleColor: "",
|
|
1378
|
+
titleFontFamily: "\"trebuchet ms\", verdana, arial, sans-serif",
|
|
1379
|
+
titleFontSize: "4ex"
|
|
1380
|
+
},
|
|
1381
|
+
class: {
|
|
1382
|
+
useMaxWidth: !0,
|
|
1383
|
+
titleTopMargin: 25,
|
|
1384
|
+
arrowMarkerAbsolute: !1,
|
|
1385
|
+
dividerMargin: 10,
|
|
1386
|
+
padding: 5,
|
|
1387
|
+
textHeight: 10,
|
|
1388
|
+
defaultRenderer: "dagre-wrapper",
|
|
1389
|
+
htmlLabels: !1,
|
|
1390
|
+
hideEmptyMembersBox: !1
|
|
1391
|
+
},
|
|
1392
|
+
state: {
|
|
1393
|
+
useMaxWidth: !0,
|
|
1394
|
+
titleTopMargin: 25,
|
|
1395
|
+
dividerMargin: 10,
|
|
1396
|
+
sizeUnit: 5,
|
|
1397
|
+
padding: 8,
|
|
1398
|
+
textHeight: 10,
|
|
1399
|
+
titleShift: -15,
|
|
1400
|
+
noteMargin: 10,
|
|
1401
|
+
forkWidth: 70,
|
|
1402
|
+
forkHeight: 7,
|
|
1403
|
+
miniPadding: 2,
|
|
1404
|
+
fontSizeFactor: 5.02,
|
|
1405
|
+
fontSize: 24,
|
|
1406
|
+
labelHeight: 16,
|
|
1407
|
+
edgeLengthFactor: "20",
|
|
1408
|
+
compositTitleSize: 35,
|
|
1409
|
+
radius: 5,
|
|
1410
|
+
defaultRenderer: "dagre-wrapper"
|
|
1411
|
+
},
|
|
1412
|
+
er: {
|
|
1413
|
+
useMaxWidth: !0,
|
|
1414
|
+
titleTopMargin: 25,
|
|
1415
|
+
diagramPadding: 20,
|
|
1416
|
+
layoutDirection: "TB",
|
|
1417
|
+
minEntityWidth: 100,
|
|
1418
|
+
minEntityHeight: 75,
|
|
1419
|
+
entityPadding: 15,
|
|
1420
|
+
nodeSpacing: 140,
|
|
1421
|
+
rankSpacing: 80,
|
|
1422
|
+
stroke: "gray",
|
|
1423
|
+
fill: "honeydew",
|
|
1424
|
+
fontSize: 12
|
|
1425
|
+
},
|
|
1426
|
+
pie: {
|
|
1427
|
+
useMaxWidth: !0,
|
|
1428
|
+
textPosition: .75
|
|
1429
|
+
},
|
|
1430
|
+
quadrantChart: {
|
|
1431
|
+
useMaxWidth: !0,
|
|
1432
|
+
chartWidth: 500,
|
|
1433
|
+
chartHeight: 500,
|
|
1434
|
+
titleFontSize: 20,
|
|
1435
|
+
titlePadding: 10,
|
|
1436
|
+
quadrantPadding: 5,
|
|
1437
|
+
xAxisLabelPadding: 5,
|
|
1438
|
+
yAxisLabelPadding: 5,
|
|
1439
|
+
xAxisLabelFontSize: 16,
|
|
1440
|
+
yAxisLabelFontSize: 16,
|
|
1441
|
+
quadrantLabelFontSize: 16,
|
|
1442
|
+
quadrantTextTopPadding: 5,
|
|
1443
|
+
pointTextPadding: 5,
|
|
1444
|
+
pointLabelFontSize: 12,
|
|
1445
|
+
pointRadius: 5,
|
|
1446
|
+
xAxisPosition: "top",
|
|
1447
|
+
yAxisPosition: "left",
|
|
1448
|
+
quadrantInternalBorderStrokeWidth: 1,
|
|
1449
|
+
quadrantExternalBorderStrokeWidth: 2
|
|
1450
|
+
},
|
|
1451
|
+
xyChart: {
|
|
1452
|
+
useMaxWidth: !0,
|
|
1453
|
+
width: 700,
|
|
1454
|
+
height: 500,
|
|
1455
|
+
titleFontSize: 20,
|
|
1456
|
+
titlePadding: 10,
|
|
1457
|
+
showDataLabel: !1,
|
|
1458
|
+
showDataLabelOutsideBar: !1,
|
|
1459
|
+
showTitle: !0,
|
|
1460
|
+
xAxis: {
|
|
1461
|
+
$ref: "#/$defs/XYChartAxisConfig",
|
|
1462
|
+
showLabel: !0,
|
|
1463
|
+
labelFontSize: 14,
|
|
1464
|
+
labelPadding: 5,
|
|
1465
|
+
showTitle: !0,
|
|
1466
|
+
titleFontSize: 16,
|
|
1467
|
+
titlePadding: 5,
|
|
1468
|
+
showTick: !0,
|
|
1469
|
+
tickLength: 5,
|
|
1470
|
+
tickWidth: 2,
|
|
1471
|
+
showAxisLine: !0,
|
|
1472
|
+
axisLineWidth: 2
|
|
1473
|
+
},
|
|
1474
|
+
yAxis: {
|
|
1475
|
+
$ref: "#/$defs/XYChartAxisConfig",
|
|
1476
|
+
showLabel: !0,
|
|
1477
|
+
labelFontSize: 14,
|
|
1478
|
+
labelPadding: 5,
|
|
1479
|
+
showTitle: !0,
|
|
1480
|
+
titleFontSize: 16,
|
|
1481
|
+
titlePadding: 5,
|
|
1482
|
+
showTick: !0,
|
|
1483
|
+
tickLength: 5,
|
|
1484
|
+
tickWidth: 2,
|
|
1485
|
+
showAxisLine: !0,
|
|
1486
|
+
axisLineWidth: 2
|
|
1487
|
+
},
|
|
1488
|
+
chartOrientation: "vertical",
|
|
1489
|
+
plotReservedSpacePercent: 50
|
|
1490
|
+
},
|
|
1491
|
+
requirement: {
|
|
1492
|
+
useMaxWidth: !0,
|
|
1493
|
+
rect_fill: "#f9f9f9",
|
|
1494
|
+
text_color: "#333",
|
|
1495
|
+
rect_border_size: "0.5px",
|
|
1496
|
+
rect_border_color: "#bbb",
|
|
1497
|
+
rect_min_width: 200,
|
|
1498
|
+
rect_min_height: 200,
|
|
1499
|
+
fontSize: 14,
|
|
1500
|
+
rect_padding: 10,
|
|
1501
|
+
line_height: 20
|
|
1502
|
+
},
|
|
1503
|
+
mindmap: {
|
|
1504
|
+
useMaxWidth: !0,
|
|
1505
|
+
padding: 10,
|
|
1506
|
+
maxNodeWidth: 200,
|
|
1507
|
+
layoutAlgorithm: "cose-bilkent"
|
|
1508
|
+
},
|
|
1509
|
+
ishikawa: {
|
|
1510
|
+
useMaxWidth: !0,
|
|
1511
|
+
diagramPadding: 20
|
|
1512
|
+
},
|
|
1513
|
+
kanban: {
|
|
1514
|
+
useMaxWidth: !0,
|
|
1515
|
+
padding: 8,
|
|
1516
|
+
sectionWidth: 200,
|
|
1517
|
+
ticketBaseUrl: ""
|
|
1518
|
+
},
|
|
1519
|
+
timeline: {
|
|
1520
|
+
useMaxWidth: !0,
|
|
1521
|
+
diagramMarginX: 50,
|
|
1522
|
+
diagramMarginY: 10,
|
|
1523
|
+
leftMargin: 150,
|
|
1524
|
+
width: 150,
|
|
1525
|
+
height: 50,
|
|
1526
|
+
boxMargin: 10,
|
|
1527
|
+
boxTextMargin: 5,
|
|
1528
|
+
noteMargin: 10,
|
|
1529
|
+
messageMargin: 35,
|
|
1530
|
+
messageAlign: "center",
|
|
1531
|
+
bottomMarginAdj: 1,
|
|
1532
|
+
rightAngles: !1,
|
|
1533
|
+
taskFontSize: 14,
|
|
1534
|
+
taskFontFamily: "\"Open Sans\", sans-serif",
|
|
1535
|
+
taskMargin: 50,
|
|
1536
|
+
activationWidth: 10,
|
|
1537
|
+
textPlacement: "fo",
|
|
1538
|
+
actorColours: [
|
|
1539
|
+
"#8FBC8F",
|
|
1540
|
+
"#7CFC00",
|
|
1541
|
+
"#00FFFF",
|
|
1542
|
+
"#20B2AA",
|
|
1543
|
+
"#B0E0E6",
|
|
1544
|
+
"#FFFFE0"
|
|
1545
|
+
],
|
|
1546
|
+
sectionFills: [
|
|
1547
|
+
"#191970",
|
|
1548
|
+
"#8B008B",
|
|
1549
|
+
"#4B0082",
|
|
1550
|
+
"#2F4F4F",
|
|
1551
|
+
"#800000",
|
|
1552
|
+
"#8B4513",
|
|
1553
|
+
"#00008B"
|
|
1554
|
+
],
|
|
1555
|
+
sectionColours: ["#fff"],
|
|
1556
|
+
disableMulticolor: !1
|
|
1557
|
+
},
|
|
1558
|
+
gitGraph: {
|
|
1559
|
+
useMaxWidth: !0,
|
|
1560
|
+
titleTopMargin: 25,
|
|
1561
|
+
diagramPadding: 8,
|
|
1562
|
+
nodeLabel: {
|
|
1563
|
+
width: 75,
|
|
1564
|
+
height: 100,
|
|
1565
|
+
x: -25,
|
|
1566
|
+
y: 0
|
|
1567
|
+
},
|
|
1568
|
+
mainBranchName: "main",
|
|
1569
|
+
mainBranchOrder: 0,
|
|
1570
|
+
showCommitLabel: !0,
|
|
1571
|
+
showBranches: !0,
|
|
1572
|
+
rotateCommitLabel: !0,
|
|
1573
|
+
parallelCommits: !1,
|
|
1574
|
+
arrowMarkerAbsolute: !1
|
|
1575
|
+
},
|
|
1576
|
+
c4: {
|
|
1577
|
+
useMaxWidth: !0,
|
|
1578
|
+
diagramMarginX: 50,
|
|
1579
|
+
diagramMarginY: 10,
|
|
1580
|
+
c4ShapeMargin: 50,
|
|
1581
|
+
c4ShapePadding: 20,
|
|
1582
|
+
width: 216,
|
|
1583
|
+
height: 60,
|
|
1584
|
+
boxMargin: 10,
|
|
1585
|
+
c4ShapeInRow: 4,
|
|
1586
|
+
nextLinePaddingX: 0,
|
|
1587
|
+
c4BoundaryInRow: 2,
|
|
1588
|
+
personFontSize: 14,
|
|
1589
|
+
personFontFamily: "\"Open Sans\", sans-serif",
|
|
1590
|
+
personFontWeight: "normal",
|
|
1591
|
+
external_personFontSize: 14,
|
|
1592
|
+
external_personFontFamily: "\"Open Sans\", sans-serif",
|
|
1593
|
+
external_personFontWeight: "normal",
|
|
1594
|
+
systemFontSize: 14,
|
|
1595
|
+
systemFontFamily: "\"Open Sans\", sans-serif",
|
|
1596
|
+
systemFontWeight: "normal",
|
|
1597
|
+
external_systemFontSize: 14,
|
|
1598
|
+
external_systemFontFamily: "\"Open Sans\", sans-serif",
|
|
1599
|
+
external_systemFontWeight: "normal",
|
|
1600
|
+
system_dbFontSize: 14,
|
|
1601
|
+
system_dbFontFamily: "\"Open Sans\", sans-serif",
|
|
1602
|
+
system_dbFontWeight: "normal",
|
|
1603
|
+
external_system_dbFontSize: 14,
|
|
1604
|
+
external_system_dbFontFamily: "\"Open Sans\", sans-serif",
|
|
1605
|
+
external_system_dbFontWeight: "normal",
|
|
1606
|
+
system_queueFontSize: 14,
|
|
1607
|
+
system_queueFontFamily: "\"Open Sans\", sans-serif",
|
|
1608
|
+
system_queueFontWeight: "normal",
|
|
1609
|
+
external_system_queueFontSize: 14,
|
|
1610
|
+
external_system_queueFontFamily: "\"Open Sans\", sans-serif",
|
|
1611
|
+
external_system_queueFontWeight: "normal",
|
|
1612
|
+
boundaryFontSize: 14,
|
|
1613
|
+
boundaryFontFamily: "\"Open Sans\", sans-serif",
|
|
1614
|
+
boundaryFontWeight: "normal",
|
|
1615
|
+
messageFontSize: 12,
|
|
1616
|
+
messageFontFamily: "\"Open Sans\", sans-serif",
|
|
1617
|
+
messageFontWeight: "normal",
|
|
1618
|
+
containerFontSize: 14,
|
|
1619
|
+
containerFontFamily: "\"Open Sans\", sans-serif",
|
|
1620
|
+
containerFontWeight: "normal",
|
|
1621
|
+
external_containerFontSize: 14,
|
|
1622
|
+
external_containerFontFamily: "\"Open Sans\", sans-serif",
|
|
1623
|
+
external_containerFontWeight: "normal",
|
|
1624
|
+
container_dbFontSize: 14,
|
|
1625
|
+
container_dbFontFamily: "\"Open Sans\", sans-serif",
|
|
1626
|
+
container_dbFontWeight: "normal",
|
|
1627
|
+
external_container_dbFontSize: 14,
|
|
1628
|
+
external_container_dbFontFamily: "\"Open Sans\", sans-serif",
|
|
1629
|
+
external_container_dbFontWeight: "normal",
|
|
1630
|
+
container_queueFontSize: 14,
|
|
1631
|
+
container_queueFontFamily: "\"Open Sans\", sans-serif",
|
|
1632
|
+
container_queueFontWeight: "normal",
|
|
1633
|
+
external_container_queueFontSize: 14,
|
|
1634
|
+
external_container_queueFontFamily: "\"Open Sans\", sans-serif",
|
|
1635
|
+
external_container_queueFontWeight: "normal",
|
|
1636
|
+
componentFontSize: 14,
|
|
1637
|
+
componentFontFamily: "\"Open Sans\", sans-serif",
|
|
1638
|
+
componentFontWeight: "normal",
|
|
1639
|
+
external_componentFontSize: 14,
|
|
1640
|
+
external_componentFontFamily: "\"Open Sans\", sans-serif",
|
|
1641
|
+
external_componentFontWeight: "normal",
|
|
1642
|
+
component_dbFontSize: 14,
|
|
1643
|
+
component_dbFontFamily: "\"Open Sans\", sans-serif",
|
|
1644
|
+
component_dbFontWeight: "normal",
|
|
1645
|
+
external_component_dbFontSize: 14,
|
|
1646
|
+
external_component_dbFontFamily: "\"Open Sans\", sans-serif",
|
|
1647
|
+
external_component_dbFontWeight: "normal",
|
|
1648
|
+
component_queueFontSize: 14,
|
|
1649
|
+
component_queueFontFamily: "\"Open Sans\", sans-serif",
|
|
1650
|
+
component_queueFontWeight: "normal",
|
|
1651
|
+
external_component_queueFontSize: 14,
|
|
1652
|
+
external_component_queueFontFamily: "\"Open Sans\", sans-serif",
|
|
1653
|
+
external_component_queueFontWeight: "normal",
|
|
1654
|
+
wrap: !0,
|
|
1655
|
+
wrapPadding: 10,
|
|
1656
|
+
person_bg_color: "#08427B",
|
|
1657
|
+
person_border_color: "#073B6F",
|
|
1658
|
+
external_person_bg_color: "#686868",
|
|
1659
|
+
external_person_border_color: "#8A8A8A",
|
|
1660
|
+
system_bg_color: "#1168BD",
|
|
1661
|
+
system_border_color: "#3C7FC0",
|
|
1662
|
+
system_db_bg_color: "#1168BD",
|
|
1663
|
+
system_db_border_color: "#3C7FC0",
|
|
1664
|
+
system_queue_bg_color: "#1168BD",
|
|
1665
|
+
system_queue_border_color: "#3C7FC0",
|
|
1666
|
+
external_system_bg_color: "#999999",
|
|
1667
|
+
external_system_border_color: "#8A8A8A",
|
|
1668
|
+
external_system_db_bg_color: "#999999",
|
|
1669
|
+
external_system_db_border_color: "#8A8A8A",
|
|
1670
|
+
external_system_queue_bg_color: "#999999",
|
|
1671
|
+
external_system_queue_border_color: "#8A8A8A",
|
|
1672
|
+
container_bg_color: "#438DD5",
|
|
1673
|
+
container_border_color: "#3C7FC0",
|
|
1674
|
+
container_db_bg_color: "#438DD5",
|
|
1675
|
+
container_db_border_color: "#3C7FC0",
|
|
1676
|
+
container_queue_bg_color: "#438DD5",
|
|
1677
|
+
container_queue_border_color: "#3C7FC0",
|
|
1678
|
+
external_container_bg_color: "#B3B3B3",
|
|
1679
|
+
external_container_border_color: "#A6A6A6",
|
|
1680
|
+
external_container_db_bg_color: "#B3B3B3",
|
|
1681
|
+
external_container_db_border_color: "#A6A6A6",
|
|
1682
|
+
external_container_queue_bg_color: "#B3B3B3",
|
|
1683
|
+
external_container_queue_border_color: "#A6A6A6",
|
|
1684
|
+
component_bg_color: "#85BBF0",
|
|
1685
|
+
component_border_color: "#78A8D8",
|
|
1686
|
+
component_db_bg_color: "#85BBF0",
|
|
1687
|
+
component_db_border_color: "#78A8D8",
|
|
1688
|
+
component_queue_bg_color: "#85BBF0",
|
|
1689
|
+
component_queue_border_color: "#78A8D8",
|
|
1690
|
+
external_component_bg_color: "#CCCCCC",
|
|
1691
|
+
external_component_border_color: "#BFBFBF",
|
|
1692
|
+
external_component_db_bg_color: "#CCCCCC",
|
|
1693
|
+
external_component_db_border_color: "#BFBFBF",
|
|
1694
|
+
external_component_queue_bg_color: "#CCCCCC",
|
|
1695
|
+
external_component_queue_border_color: "#BFBFBF"
|
|
1696
|
+
},
|
|
1697
|
+
sankey: {
|
|
1698
|
+
useMaxWidth: !0,
|
|
1699
|
+
width: 600,
|
|
1700
|
+
height: 400,
|
|
1701
|
+
linkColor: "gradient",
|
|
1702
|
+
nodeAlignment: "justify",
|
|
1703
|
+
showValues: !0,
|
|
1704
|
+
prefix: "",
|
|
1705
|
+
suffix: ""
|
|
1706
|
+
},
|
|
1707
|
+
block: {
|
|
1708
|
+
useMaxWidth: !0,
|
|
1709
|
+
padding: 8
|
|
1710
|
+
},
|
|
1711
|
+
packet: {
|
|
1712
|
+
useMaxWidth: !0,
|
|
1713
|
+
rowHeight: 32,
|
|
1714
|
+
bitWidth: 32,
|
|
1715
|
+
bitsPerRow: 32,
|
|
1716
|
+
showBits: !0,
|
|
1717
|
+
paddingX: 5,
|
|
1718
|
+
paddingY: 5
|
|
1719
|
+
},
|
|
1720
|
+
treeView: {
|
|
1721
|
+
useMaxWidth: !0,
|
|
1722
|
+
rowIndent: 10,
|
|
1723
|
+
paddingX: 5,
|
|
1724
|
+
paddingY: 5,
|
|
1725
|
+
lineThickness: 1
|
|
1726
|
+
},
|
|
1727
|
+
architecture: {
|
|
1728
|
+
useMaxWidth: !0,
|
|
1729
|
+
padding: 40,
|
|
1730
|
+
iconSize: 80,
|
|
1731
|
+
fontSize: 16,
|
|
1732
|
+
randomize: !1
|
|
1733
|
+
},
|
|
1734
|
+
radar: {
|
|
1735
|
+
useMaxWidth: !0,
|
|
1736
|
+
width: 600,
|
|
1737
|
+
height: 600,
|
|
1738
|
+
marginTop: 50,
|
|
1739
|
+
marginRight: 50,
|
|
1740
|
+
marginBottom: 50,
|
|
1741
|
+
marginLeft: 50,
|
|
1742
|
+
axisScaleFactor: 1,
|
|
1743
|
+
axisLabelFactor: 1.05,
|
|
1744
|
+
curveTension: .17
|
|
1745
|
+
},
|
|
1746
|
+
venn: {
|
|
1747
|
+
useMaxWidth: !0,
|
|
1748
|
+
width: 800,
|
|
1749
|
+
height: 450,
|
|
1750
|
+
padding: 8,
|
|
1751
|
+
useDebugLayout: !1
|
|
1752
|
+
},
|
|
1753
|
+
theme: "default",
|
|
1754
|
+
look: "classic",
|
|
1755
|
+
handDrawnSeed: 0,
|
|
1756
|
+
layout: "dagre",
|
|
1757
|
+
maxTextSize: 5e4,
|
|
1758
|
+
maxEdges: 500,
|
|
1759
|
+
darkMode: !1,
|
|
1760
|
+
fontFamily: "\"trebuchet ms\", verdana, arial, sans-serif;",
|
|
1761
|
+
logLevel: 5,
|
|
1762
|
+
securityLevel: "strict",
|
|
1763
|
+
startOnLoad: !0,
|
|
1764
|
+
arrowMarkerAbsolute: !1,
|
|
1765
|
+
secure: [
|
|
1766
|
+
"secure",
|
|
1767
|
+
"securityLevel",
|
|
1768
|
+
"startOnLoad",
|
|
1769
|
+
"maxTextSize",
|
|
1770
|
+
"suppressErrorRendering",
|
|
1771
|
+
"maxEdges"
|
|
1772
|
+
],
|
|
1773
|
+
legacyMathML: !1,
|
|
1774
|
+
forceLegacyMathML: !1,
|
|
1775
|
+
deterministicIds: !1,
|
|
1776
|
+
fontSize: 16,
|
|
1777
|
+
markdownAutoWrap: !0,
|
|
1778
|
+
suppressErrorRendering: !1
|
|
1779
|
+
}, C = {
|
|
1780
|
+
...S,
|
|
1781
|
+
deterministicIDSeed: void 0,
|
|
1782
|
+
elk: {
|
|
1783
|
+
mergeEdges: !1,
|
|
1784
|
+
nodePlacementStrategy: "BRANDES_KOEPF",
|
|
1785
|
+
forceNodeModelOrder: !1,
|
|
1786
|
+
considerModelOrder: "NODES_AND_EDGES"
|
|
1787
|
+
},
|
|
1788
|
+
themeCSS: void 0,
|
|
1789
|
+
themeVariables: x.default.getThemeVariables(),
|
|
1790
|
+
sequence: {
|
|
1791
|
+
...S.sequence,
|
|
1792
|
+
messageFont: /* @__PURE__ */ t(function() {
|
|
1793
|
+
return {
|
|
1794
|
+
fontFamily: this.messageFontFamily,
|
|
1795
|
+
fontSize: this.messageFontSize,
|
|
1796
|
+
fontWeight: this.messageFontWeight
|
|
1797
|
+
};
|
|
1798
|
+
}, "messageFont"),
|
|
1799
|
+
noteFont: /* @__PURE__ */ t(function() {
|
|
1800
|
+
return {
|
|
1801
|
+
fontFamily: this.noteFontFamily,
|
|
1802
|
+
fontSize: this.noteFontSize,
|
|
1803
|
+
fontWeight: this.noteFontWeight
|
|
1804
|
+
};
|
|
1805
|
+
}, "noteFont"),
|
|
1806
|
+
actorFont: /* @__PURE__ */ t(function() {
|
|
1807
|
+
return {
|
|
1808
|
+
fontFamily: this.actorFontFamily,
|
|
1809
|
+
fontSize: this.actorFontSize,
|
|
1810
|
+
fontWeight: this.actorFontWeight
|
|
1811
|
+
};
|
|
1812
|
+
}, "actorFont")
|
|
1813
|
+
},
|
|
1814
|
+
class: { hideEmptyMembersBox: !1 },
|
|
1815
|
+
gantt: {
|
|
1816
|
+
...S.gantt,
|
|
1817
|
+
tickInterval: void 0,
|
|
1818
|
+
useWidth: void 0
|
|
1819
|
+
},
|
|
1820
|
+
c4: {
|
|
1821
|
+
...S.c4,
|
|
1822
|
+
useWidth: void 0,
|
|
1823
|
+
personFont: /* @__PURE__ */ t(function() {
|
|
1824
|
+
return {
|
|
1825
|
+
fontFamily: this.personFontFamily,
|
|
1826
|
+
fontSize: this.personFontSize,
|
|
1827
|
+
fontWeight: this.personFontWeight
|
|
1828
|
+
};
|
|
1829
|
+
}, "personFont"),
|
|
1830
|
+
flowchart: {
|
|
1831
|
+
...S.flowchart,
|
|
1832
|
+
inheritDir: !1
|
|
1833
|
+
},
|
|
1834
|
+
external_personFont: /* @__PURE__ */ t(function() {
|
|
1835
|
+
return {
|
|
1836
|
+
fontFamily: this.external_personFontFamily,
|
|
1837
|
+
fontSize: this.external_personFontSize,
|
|
1838
|
+
fontWeight: this.external_personFontWeight
|
|
1839
|
+
};
|
|
1840
|
+
}, "external_personFont"),
|
|
1841
|
+
systemFont: /* @__PURE__ */ t(function() {
|
|
1842
|
+
return {
|
|
1843
|
+
fontFamily: this.systemFontFamily,
|
|
1844
|
+
fontSize: this.systemFontSize,
|
|
1845
|
+
fontWeight: this.systemFontWeight
|
|
1846
|
+
};
|
|
1847
|
+
}, "systemFont"),
|
|
1848
|
+
external_systemFont: /* @__PURE__ */ t(function() {
|
|
1849
|
+
return {
|
|
1850
|
+
fontFamily: this.external_systemFontFamily,
|
|
1851
|
+
fontSize: this.external_systemFontSize,
|
|
1852
|
+
fontWeight: this.external_systemFontWeight
|
|
1853
|
+
};
|
|
1854
|
+
}, "external_systemFont"),
|
|
1855
|
+
system_dbFont: /* @__PURE__ */ t(function() {
|
|
1856
|
+
return {
|
|
1857
|
+
fontFamily: this.system_dbFontFamily,
|
|
1858
|
+
fontSize: this.system_dbFontSize,
|
|
1859
|
+
fontWeight: this.system_dbFontWeight
|
|
1860
|
+
};
|
|
1861
|
+
}, "system_dbFont"),
|
|
1862
|
+
external_system_dbFont: /* @__PURE__ */ t(function() {
|
|
1863
|
+
return {
|
|
1864
|
+
fontFamily: this.external_system_dbFontFamily,
|
|
1865
|
+
fontSize: this.external_system_dbFontSize,
|
|
1866
|
+
fontWeight: this.external_system_dbFontWeight
|
|
1867
|
+
};
|
|
1868
|
+
}, "external_system_dbFont"),
|
|
1869
|
+
system_queueFont: /* @__PURE__ */ t(function() {
|
|
1870
|
+
return {
|
|
1871
|
+
fontFamily: this.system_queueFontFamily,
|
|
1872
|
+
fontSize: this.system_queueFontSize,
|
|
1873
|
+
fontWeight: this.system_queueFontWeight
|
|
1874
|
+
};
|
|
1875
|
+
}, "system_queueFont"),
|
|
1876
|
+
external_system_queueFont: /* @__PURE__ */ t(function() {
|
|
1877
|
+
return {
|
|
1878
|
+
fontFamily: this.external_system_queueFontFamily,
|
|
1879
|
+
fontSize: this.external_system_queueFontSize,
|
|
1880
|
+
fontWeight: this.external_system_queueFontWeight
|
|
1881
|
+
};
|
|
1882
|
+
}, "external_system_queueFont"),
|
|
1883
|
+
containerFont: /* @__PURE__ */ t(function() {
|
|
1884
|
+
return {
|
|
1885
|
+
fontFamily: this.containerFontFamily,
|
|
1886
|
+
fontSize: this.containerFontSize,
|
|
1887
|
+
fontWeight: this.containerFontWeight
|
|
1888
|
+
};
|
|
1889
|
+
}, "containerFont"),
|
|
1890
|
+
external_containerFont: /* @__PURE__ */ t(function() {
|
|
1891
|
+
return {
|
|
1892
|
+
fontFamily: this.external_containerFontFamily,
|
|
1893
|
+
fontSize: this.external_containerFontSize,
|
|
1894
|
+
fontWeight: this.external_containerFontWeight
|
|
1895
|
+
};
|
|
1896
|
+
}, "external_containerFont"),
|
|
1897
|
+
container_dbFont: /* @__PURE__ */ t(function() {
|
|
1898
|
+
return {
|
|
1899
|
+
fontFamily: this.container_dbFontFamily,
|
|
1900
|
+
fontSize: this.container_dbFontSize,
|
|
1901
|
+
fontWeight: this.container_dbFontWeight
|
|
1902
|
+
};
|
|
1903
|
+
}, "container_dbFont"),
|
|
1904
|
+
external_container_dbFont: /* @__PURE__ */ t(function() {
|
|
1905
|
+
return {
|
|
1906
|
+
fontFamily: this.external_container_dbFontFamily,
|
|
1907
|
+
fontSize: this.external_container_dbFontSize,
|
|
1908
|
+
fontWeight: this.external_container_dbFontWeight
|
|
1909
|
+
};
|
|
1910
|
+
}, "external_container_dbFont"),
|
|
1911
|
+
container_queueFont: /* @__PURE__ */ t(function() {
|
|
1912
|
+
return {
|
|
1913
|
+
fontFamily: this.container_queueFontFamily,
|
|
1914
|
+
fontSize: this.container_queueFontSize,
|
|
1915
|
+
fontWeight: this.container_queueFontWeight
|
|
1916
|
+
};
|
|
1917
|
+
}, "container_queueFont"),
|
|
1918
|
+
external_container_queueFont: /* @__PURE__ */ t(function() {
|
|
1919
|
+
return {
|
|
1920
|
+
fontFamily: this.external_container_queueFontFamily,
|
|
1921
|
+
fontSize: this.external_container_queueFontSize,
|
|
1922
|
+
fontWeight: this.external_container_queueFontWeight
|
|
1923
|
+
};
|
|
1924
|
+
}, "external_container_queueFont"),
|
|
1925
|
+
componentFont: /* @__PURE__ */ t(function() {
|
|
1926
|
+
return {
|
|
1927
|
+
fontFamily: this.componentFontFamily,
|
|
1928
|
+
fontSize: this.componentFontSize,
|
|
1929
|
+
fontWeight: this.componentFontWeight
|
|
1930
|
+
};
|
|
1931
|
+
}, "componentFont"),
|
|
1932
|
+
external_componentFont: /* @__PURE__ */ t(function() {
|
|
1933
|
+
return {
|
|
1934
|
+
fontFamily: this.external_componentFontFamily,
|
|
1935
|
+
fontSize: this.external_componentFontSize,
|
|
1936
|
+
fontWeight: this.external_componentFontWeight
|
|
1937
|
+
};
|
|
1938
|
+
}, "external_componentFont"),
|
|
1939
|
+
component_dbFont: /* @__PURE__ */ t(function() {
|
|
1940
|
+
return {
|
|
1941
|
+
fontFamily: this.component_dbFontFamily,
|
|
1942
|
+
fontSize: this.component_dbFontSize,
|
|
1943
|
+
fontWeight: this.component_dbFontWeight
|
|
1944
|
+
};
|
|
1945
|
+
}, "component_dbFont"),
|
|
1946
|
+
external_component_dbFont: /* @__PURE__ */ t(function() {
|
|
1947
|
+
return {
|
|
1948
|
+
fontFamily: this.external_component_dbFontFamily,
|
|
1949
|
+
fontSize: this.external_component_dbFontSize,
|
|
1950
|
+
fontWeight: this.external_component_dbFontWeight
|
|
1951
|
+
};
|
|
1952
|
+
}, "external_component_dbFont"),
|
|
1953
|
+
component_queueFont: /* @__PURE__ */ t(function() {
|
|
1954
|
+
return {
|
|
1955
|
+
fontFamily: this.component_queueFontFamily,
|
|
1956
|
+
fontSize: this.component_queueFontSize,
|
|
1957
|
+
fontWeight: this.component_queueFontWeight
|
|
1958
|
+
};
|
|
1959
|
+
}, "component_queueFont"),
|
|
1960
|
+
external_component_queueFont: /* @__PURE__ */ t(function() {
|
|
1961
|
+
return {
|
|
1962
|
+
fontFamily: this.external_component_queueFontFamily,
|
|
1963
|
+
fontSize: this.external_component_queueFontSize,
|
|
1964
|
+
fontWeight: this.external_component_queueFontWeight
|
|
1965
|
+
};
|
|
1966
|
+
}, "external_component_queueFont"),
|
|
1967
|
+
boundaryFont: /* @__PURE__ */ t(function() {
|
|
1968
|
+
return {
|
|
1969
|
+
fontFamily: this.boundaryFontFamily,
|
|
1970
|
+
fontSize: this.boundaryFontSize,
|
|
1971
|
+
fontWeight: this.boundaryFontWeight
|
|
1972
|
+
};
|
|
1973
|
+
}, "boundaryFont"),
|
|
1974
|
+
messageFont: /* @__PURE__ */ t(function() {
|
|
1975
|
+
return {
|
|
1976
|
+
fontFamily: this.messageFontFamily,
|
|
1977
|
+
fontSize: this.messageFontSize,
|
|
1978
|
+
fontWeight: this.messageFontWeight
|
|
1979
|
+
};
|
|
1980
|
+
}, "messageFont")
|
|
1981
|
+
},
|
|
1982
|
+
pie: {
|
|
1983
|
+
...S.pie,
|
|
1984
|
+
useWidth: 984
|
|
1985
|
+
},
|
|
1986
|
+
xyChart: {
|
|
1987
|
+
...S.xyChart,
|
|
1988
|
+
useWidth: void 0
|
|
1989
|
+
},
|
|
1990
|
+
requirement: {
|
|
1991
|
+
...S.requirement,
|
|
1992
|
+
useWidth: void 0
|
|
1993
|
+
},
|
|
1994
|
+
packet: { ...S.packet },
|
|
1995
|
+
treeView: {
|
|
1996
|
+
...S.treeView,
|
|
1997
|
+
useWidth: void 0
|
|
1998
|
+
},
|
|
1999
|
+
radar: { ...S.radar },
|
|
2000
|
+
ishikawa: { ...S.ishikawa },
|
|
2001
|
+
treemap: {
|
|
2002
|
+
useMaxWidth: !0,
|
|
2003
|
+
padding: 10,
|
|
2004
|
+
diagramPadding: 8,
|
|
2005
|
+
showValues: !0,
|
|
2006
|
+
nodeWidth: 100,
|
|
2007
|
+
nodeHeight: 40,
|
|
2008
|
+
borderWidth: 1,
|
|
2009
|
+
valueFontSize: 12,
|
|
2010
|
+
labelFontSize: 14,
|
|
2011
|
+
valueFormat: ","
|
|
2012
|
+
},
|
|
2013
|
+
venn: { ...S.venn }
|
|
2014
|
+
}, w = /* @__PURE__ */ t((e, t = "") => Object.keys(e).reduce((n, r) => Array.isArray(e[r]) ? n : typeof e[r] == "object" && e[r] !== null ? [
|
|
2015
|
+
...n,
|
|
2016
|
+
t + r,
|
|
2017
|
+
...w(e[r], "")
|
|
2018
|
+
] : [...n, t + r], []), "keyify"), Te = new Set(w(C, "")), T = C, E = /* @__PURE__ */ t((e) => {
|
|
2019
|
+
if (n.debug("sanitizeDirective called with", e), !(typeof e != "object" || !e)) {
|
|
2020
|
+
if (Array.isArray(e)) {
|
|
2021
|
+
e.forEach((e) => E(e));
|
|
2022
|
+
return;
|
|
2023
|
+
}
|
|
2024
|
+
for (let t of Object.keys(e)) {
|
|
2025
|
+
if (n.debug("Checking key", t), t.startsWith("__") || t.includes("proto") || t.includes("constr") || !Te.has(t) || e[t] == null) {
|
|
2026
|
+
n.debug("sanitize deleting key: ", t), delete e[t];
|
|
2027
|
+
continue;
|
|
2028
|
+
}
|
|
2029
|
+
if (typeof e[t] == "object") {
|
|
2030
|
+
n.debug("sanitizing object", t), E(e[t]);
|
|
2031
|
+
continue;
|
|
2032
|
+
}
|
|
2033
|
+
for (let r of [
|
|
2034
|
+
"themeCSS",
|
|
2035
|
+
"fontFamily",
|
|
2036
|
+
"altFontFamily"
|
|
2037
|
+
]) t.includes(r) && (n.debug("sanitizing css option", t), e[t] = Ee(e[t]));
|
|
2038
|
+
}
|
|
2039
|
+
if (e.themeVariables) for (let t of Object.keys(e.themeVariables)) {
|
|
2040
|
+
let n = e.themeVariables[t];
|
|
2041
|
+
n?.match && !n.match(/^[\d "#%(),.;A-Za-z]+$/) && (e.themeVariables[t] = "");
|
|
2042
|
+
}
|
|
2043
|
+
n.debug("After sanitization", e);
|
|
2044
|
+
}
|
|
2045
|
+
}, "sanitizeDirective"), Ee = /* @__PURE__ */ t((e) => {
|
|
2046
|
+
let t = 0, n = 0;
|
|
2047
|
+
for (let r of e) {
|
|
2048
|
+
if (t < n) return "{ /* ERROR: Unbalanced CSS */ }";
|
|
2049
|
+
r === "{" ? t++ : r === "}" && n++;
|
|
2050
|
+
}
|
|
2051
|
+
return t === n ? e : "{ /* ERROR: Unbalanced CSS */ }";
|
|
2052
|
+
}, "sanitizeCss"), D = Object.freeze(T), O = /* @__PURE__ */ t((e) => !(e === !1 || [
|
|
2053
|
+
"false",
|
|
2054
|
+
"null",
|
|
2055
|
+
"0"
|
|
2056
|
+
].includes(String(e).trim().toLowerCase())), "evaluate"), k = _({}, D), A, j = [], M = _({}, D), N = /* @__PURE__ */ t((e, t) => {
|
|
2057
|
+
let n = _({}, e), r = {};
|
|
2058
|
+
for (let e of t) I(e), r = _(r, e);
|
|
2059
|
+
if (n = _(n, r), r.theme && r.theme in x) {
|
|
2060
|
+
let e = _(_({}, A).themeVariables || {}, r.themeVariables);
|
|
2061
|
+
n.theme && n.theme in x && (n.themeVariables = x[n.theme].getThemeVariables(e));
|
|
2062
|
+
}
|
|
2063
|
+
return M = n, Pe(M), M;
|
|
2064
|
+
}, "updateCurrentConfig"), De = /* @__PURE__ */ t((e) => (k = _({}, D), k = _(k, e), e.theme && x[e.theme] && (k.themeVariables = x[e.theme].getThemeVariables(e.themeVariables)), N(k, j), k), "setSiteConfig"), Oe = /* @__PURE__ */ t((e) => {
|
|
2065
|
+
A = _({}, e);
|
|
2066
|
+
}, "saveConfigFromInitialize"), ke = /* @__PURE__ */ t((e) => (k = _(k, e), N(k, j), k), "updateSiteConfig"), Ae = /* @__PURE__ */ t(() => _({}, k), "getSiteConfig"), P = /* @__PURE__ */ t((e) => (Pe(e), _(M, e), F()), "setConfig"), F = /* @__PURE__ */ t(() => _({}, M), "getConfig"), I = /* @__PURE__ */ t((e) => {
|
|
2067
|
+
e && (["secure", ...k.secure ?? []].forEach((t) => {
|
|
2068
|
+
Object.hasOwn(e, t) && (n.debug(`Denied attempt to modify a secure key ${t}`, e[t]), delete e[t]);
|
|
2069
|
+
}), Object.keys(e).forEach((t) => {
|
|
2070
|
+
t.startsWith("__") && delete e[t];
|
|
2071
|
+
}), Object.keys(e).forEach((t) => {
|
|
2072
|
+
typeof e[t] == "string" && (e[t].includes("<") || e[t].includes(">") || e[t].includes("url(data:")) && delete e[t], typeof e[t] == "object" && I(e[t]);
|
|
2073
|
+
}));
|
|
2074
|
+
}, "sanitize"), je = /* @__PURE__ */ t((e) => {
|
|
2075
|
+
E(e), e.fontFamily && !e.themeVariables?.fontFamily && (e.themeVariables = {
|
|
2076
|
+
...e.themeVariables,
|
|
2077
|
+
fontFamily: e.fontFamily
|
|
2078
|
+
}), j.push(e), N(k, j);
|
|
2079
|
+
}, "addDirective"), Me = /* @__PURE__ */ t((e = k) => {
|
|
2080
|
+
j = [], N(e, j);
|
|
2081
|
+
}, "reset"), Ne = {
|
|
2082
|
+
LAZY_LOAD_DEPRECATED: "The configuration options lazyLoadedDiagrams and loadExternalDiagramsAtStartup are deprecated. Please use registerExternalDiagrams instead.",
|
|
2083
|
+
FLOWCHART_HTML_LABELS_DEPRECATED: "flowchart.htmlLabels is deprecated. Please use global htmlLabels instead."
|
|
2084
|
+
}, L = {}, R = /* @__PURE__ */ t((e) => {
|
|
2085
|
+
L[e] || (n.warn(Ne[e]), L[e] = !0);
|
|
2086
|
+
}, "issueWarning"), Pe = /* @__PURE__ */ t((e) => {
|
|
2087
|
+
e && (e.lazyLoadedDiagrams || e.loadExternalDiagramsAtStartup) && R("LAZY_LOAD_DEPRECATED");
|
|
2088
|
+
}, "checkConfig"), Fe = /* @__PURE__ */ t(() => {
|
|
2089
|
+
let e = {};
|
|
2090
|
+
A && (e = _(e, A));
|
|
2091
|
+
for (let t of j) e = _(e, t);
|
|
2092
|
+
return e;
|
|
2093
|
+
}, "getUserDefinedConfig"), Ie = /* @__PURE__ */ t((e) => (e.flowchart?.htmlLabels != null && R("FLOWCHART_HTML_LABELS_DEPRECATED"), O(e.htmlLabels ?? e.flowchart?.htmlLabels ?? !0)), "getEffectiveHtmlLabels"), z = /<br\s*\/?>/gi, Le = /* @__PURE__ */ t((e) => e ? Ke(e).replace(/\\n/g, "#br#").split("#br#") : [""], "getRows"), Re = /* @__PURE__ */ (() => {
|
|
2094
|
+
let e = !1;
|
|
2095
|
+
return () => {
|
|
2096
|
+
e ||= (ze(), !0);
|
|
2097
|
+
};
|
|
2098
|
+
})();
|
|
2099
|
+
function ze() {
|
|
2100
|
+
let e = "data-temp-href-target";
|
|
2101
|
+
u.addHook("beforeSanitizeAttributes", (t) => {
|
|
2102
|
+
t.tagName === "A" && t.hasAttribute("target") && t.setAttribute(e, t.getAttribute("target") ?? "");
|
|
2103
|
+
}), u.addHook("afterSanitizeAttributes", (t) => {
|
|
2104
|
+
t.tagName === "A" && t.hasAttribute(e) && (t.setAttribute("target", t.getAttribute(e) ?? ""), t.removeAttribute(e), t.getAttribute("target") === "_blank" && t.setAttribute("rel", "noopener"));
|
|
2105
|
+
});
|
|
2106
|
+
}
|
|
2107
|
+
t(ze, "setupDompurifyHooks");
|
|
2108
|
+
var Be = /* @__PURE__ */ t((e) => (Re(), u.sanitize(e)), "removeScript"), Ve = /* @__PURE__ */ t((e, t) => {
|
|
2109
|
+
if (Ie(t)) {
|
|
2110
|
+
let n = t.securityLevel;
|
|
2111
|
+
n === "antiscript" || n === "strict" || n === "sandbox" ? e = Be(e) : n !== "loose" && (e = Ke(e), e = e.replace(/</g, "<").replace(/>/g, ">"), e = e.replace(/=/g, "="), e = Ge(e));
|
|
2112
|
+
}
|
|
2113
|
+
return e;
|
|
2114
|
+
}, "sanitizeMore"), B = /* @__PURE__ */ t((e, t) => e && (e = t.dompurifyConfig ? u.sanitize(Ve(e, t), t.dompurifyConfig).toString() : u.sanitize(Ve(e, t), { FORBID_TAGS: ["style"] }).toString(), e), "sanitizeText"), He = /* @__PURE__ */ t((e, t) => typeof e == "string" ? B(e, t) : e.flat().map((e) => B(e, t)), "sanitizeTextOrArray"), Ue = /* @__PURE__ */ t((e) => z.test(e), "hasBreaks"), We = /* @__PURE__ */ t((e) => e.split(z), "splitBreaks"), Ge = /* @__PURE__ */ t((e) => e.replace(/#br#/g, "<br/>"), "placeholderToBreak"), Ke = /* @__PURE__ */ t((e) => e.replace(z, "#br#"), "breakToPlaceholder"), qe = /* @__PURE__ */ t((e) => {
|
|
2115
|
+
let t = "";
|
|
2116
|
+
return e && (t = window.location.protocol + "//" + window.location.host + window.location.pathname + window.location.search, t = CSS.escape(t)), t;
|
|
2117
|
+
}, "getUrl"), Je = /* @__PURE__ */ t(function(...e) {
|
|
2118
|
+
let t = e.filter((e) => !isNaN(e));
|
|
2119
|
+
return Math.max(...t);
|
|
2120
|
+
}, "getMax"), Ye = /* @__PURE__ */ t(function(...e) {
|
|
2121
|
+
let t = e.filter((e) => !isNaN(e));
|
|
2122
|
+
return Math.min(...t);
|
|
2123
|
+
}, "getMin"), Xe = /* @__PURE__ */ t(function(e) {
|
|
2124
|
+
let t = e.split(/(,)/), n = [];
|
|
2125
|
+
for (let e = 0; e < t.length; e++) {
|
|
2126
|
+
let r = t[e];
|
|
2127
|
+
if (r === "," && e > 0 && e + 1 < t.length) {
|
|
2128
|
+
let i = t[e - 1], a = t[e + 1];
|
|
2129
|
+
Ze(i, a) && (r = i + "," + a, e++, n.pop());
|
|
2130
|
+
}
|
|
2131
|
+
n.push(Qe(r));
|
|
2132
|
+
}
|
|
2133
|
+
return n.join("");
|
|
2134
|
+
}, "parseGenericTypes"), V = /* @__PURE__ */ t((e, t) => Math.max(0, e.split(t).length - 1), "countOccurrence"), Ze = /* @__PURE__ */ t((e, t) => {
|
|
2135
|
+
let n = V(e, "~"), r = V(t, "~");
|
|
2136
|
+
return n === 1 && r === 1;
|
|
2137
|
+
}, "shouldCombineSets"), Qe = /* @__PURE__ */ t((e) => {
|
|
2138
|
+
let t = V(e, "~"), n = !1;
|
|
2139
|
+
if (t <= 1) return e;
|
|
2140
|
+
t % 2 != 0 && e.startsWith("~") && (e = e.substring(1), n = !0);
|
|
2141
|
+
let r = [...e], i = r.indexOf("~"), a = r.lastIndexOf("~");
|
|
2142
|
+
for (; i !== -1 && a !== -1 && i !== a;) r[i] = "<", r[a] = ">", i = r.indexOf("~"), a = r.lastIndexOf("~");
|
|
2143
|
+
return n && r.unshift("~"), r.join("");
|
|
2144
|
+
}, "processSet"), $e = /* @__PURE__ */ t(() => window.MathMLElement !== void 0, "isMathMLSupported"), H = /\$\$(.*)\$\$/g, U = /* @__PURE__ */ t((e) => (e.match(H)?.length ?? 0) > 0, "hasKatex"), et = /* @__PURE__ */ t(async (e, t) => {
|
|
2145
|
+
let n = document.createElement("div");
|
|
2146
|
+
n.innerHTML = await nt(e, t), n.id = "katex-temp", n.style.visibility = "hidden", n.style.position = "absolute", n.style.top = "0", document.querySelector("body")?.insertAdjacentElement("beforeend", n);
|
|
2147
|
+
let r = {
|
|
2148
|
+
width: n.clientWidth,
|
|
2149
|
+
height: n.clientHeight
|
|
2150
|
+
};
|
|
2151
|
+
return n.remove(), r;
|
|
2152
|
+
}, "calculateMathMLDimensions"), tt = /* @__PURE__ */ t(async (e, t) => {
|
|
2153
|
+
if (!U(e)) return e;
|
|
2154
|
+
if (!($e() || t.legacyMathML || t.forceLegacyMathML)) return e.replace(H, "MathML is unsupported in this environment.");
|
|
2155
|
+
{
|
|
2156
|
+
let { default: n } = await import("../../../../katex/dist/katex.js"), r = t.forceLegacyMathML || !$e() && t.legacyMathML ? "htmlAndMathml" : "mathml";
|
|
2157
|
+
return e.split(z).map((e) => U(e) ? `<div style="display: flex; align-items: center; justify-content: center; white-space: nowrap;">${e}</div>` : `<div>${e}</div>`).join("").replace(H, (e, t) => n.renderToString(t, {
|
|
2158
|
+
throwOnError: !0,
|
|
2159
|
+
displayMode: !0,
|
|
2160
|
+
output: r
|
|
2161
|
+
}).replace(/\n/g, " ").replace(/<annotation.*<\/annotation>/g, ""));
|
|
2162
|
+
}
|
|
2163
|
+
return e.replace(H, "Katex is not supported in @mermaid-js/tiny. Please use the full mermaid library.");
|
|
2164
|
+
}, "renderKatexUnsanitized"), nt = /* @__PURE__ */ t(async (e, t) => B(await tt(e, t), t), "renderKatexSanitized"), rt = {
|
|
2165
|
+
getRows: Le,
|
|
2166
|
+
sanitizeText: B,
|
|
2167
|
+
sanitizeTextOrArray: He,
|
|
2168
|
+
hasBreaks: Ue,
|
|
2169
|
+
splitBreaks: We,
|
|
2170
|
+
lineBreakRegex: z,
|
|
2171
|
+
removeScript: Be,
|
|
2172
|
+
getUrl: qe,
|
|
2173
|
+
evaluate: O,
|
|
2174
|
+
getMax: Je,
|
|
2175
|
+
getMin: Ye
|
|
2176
|
+
}, it = /* @__PURE__ */ t(function(e, t) {
|
|
2177
|
+
for (let n of t) e.attr(n[0], n[1]);
|
|
2178
|
+
}, "d3Attrs"), at = /* @__PURE__ */ t(function(e, t, n) {
|
|
2179
|
+
let r = /* @__PURE__ */ new Map();
|
|
2180
|
+
return n ? (r.set("width", "100%"), r.set("style", `max-width: ${t}px;`)) : (r.set("height", e), r.set("width", t)), r;
|
|
2181
|
+
}, "calculateSvgSizeAttrs"), ot = /* @__PURE__ */ t(function(e, t, n, r) {
|
|
2182
|
+
it(e, at(t, n, r));
|
|
2183
|
+
}, "configureSvgSize"), st = /* @__PURE__ */ t(function(e, t, r, i) {
|
|
2184
|
+
let a = t.node().getBBox(), o = a.width, s = a.height;
|
|
2185
|
+
n.info(`SVG bounds: ${o}x${s}`, a);
|
|
2186
|
+
let c = 0, l = 0;
|
|
2187
|
+
n.info(`Graph bounds: ${c}x${l}`, e), c = o + r * 2, l = s + r * 2, n.info(`Calculated bounds: ${c}x${l}`), ot(t, l, c, i);
|
|
2188
|
+
let u = `${a.x - r} ${a.y - r} ${a.width + 2 * r} ${a.height + 2 * r}`;
|
|
2189
|
+
t.attr("viewBox", u);
|
|
2190
|
+
}, "setupGraphViewbox"), W = {}, ct = /* @__PURE__ */ t((e, t, r, i) => {
|
|
2191
|
+
let a = "";
|
|
2192
|
+
return e in W && W[e] ? a = W[e]({
|
|
2193
|
+
...r,
|
|
2194
|
+
svgId: i
|
|
2195
|
+
}) : n.warn(`No theme found for ${e}`), ` & {
|
|
2196
|
+
font-family: ${r.fontFamily};
|
|
2197
|
+
font-size: ${r.fontSize};
|
|
2198
|
+
fill: ${r.textColor}
|
|
2199
|
+
}
|
|
2200
|
+
@keyframes edge-animation-frame {
|
|
2201
|
+
from {
|
|
2202
|
+
stroke-dashoffset: 0;
|
|
2203
|
+
}
|
|
2204
|
+
}
|
|
2205
|
+
@keyframes dash {
|
|
2206
|
+
to {
|
|
2207
|
+
stroke-dashoffset: 0;
|
|
2208
|
+
}
|
|
2209
|
+
}
|
|
2210
|
+
& .edge-animation-slow {
|
|
2211
|
+
stroke-dasharray: 9,5 !important;
|
|
2212
|
+
stroke-dashoffset: 900;
|
|
2213
|
+
animation: dash 50s linear infinite;
|
|
2214
|
+
stroke-linecap: round;
|
|
2215
|
+
}
|
|
2216
|
+
& .edge-animation-fast {
|
|
2217
|
+
stroke-dasharray: 9,5 !important;
|
|
2218
|
+
stroke-dashoffset: 900;
|
|
2219
|
+
animation: dash 20s linear infinite;
|
|
2220
|
+
stroke-linecap: round;
|
|
2221
|
+
}
|
|
2222
|
+
/* Classes common for multiple diagrams */
|
|
2223
|
+
|
|
2224
|
+
& .error-icon {
|
|
2225
|
+
fill: ${r.errorBkgColor};
|
|
2226
|
+
}
|
|
2227
|
+
& .error-text {
|
|
2228
|
+
fill: ${r.errorTextColor};
|
|
2229
|
+
stroke: ${r.errorTextColor};
|
|
2230
|
+
}
|
|
2231
|
+
|
|
2232
|
+
& .edge-thickness-normal {
|
|
2233
|
+
stroke-width: ${r.strokeWidth ?? 1}px;
|
|
2234
|
+
}
|
|
2235
|
+
& .edge-thickness-thick {
|
|
2236
|
+
stroke-width: 3.5px
|
|
2237
|
+
}
|
|
2238
|
+
& .edge-pattern-solid {
|
|
2239
|
+
stroke-dasharray: 0;
|
|
2240
|
+
}
|
|
2241
|
+
& .edge-thickness-invisible {
|
|
2242
|
+
stroke-width: 0;
|
|
2243
|
+
fill: none;
|
|
2244
|
+
}
|
|
2245
|
+
& .edge-pattern-dashed{
|
|
2246
|
+
stroke-dasharray: 3;
|
|
2247
|
+
}
|
|
2248
|
+
.edge-pattern-dotted {
|
|
2249
|
+
stroke-dasharray: 2;
|
|
2250
|
+
}
|
|
2251
|
+
|
|
2252
|
+
& .marker {
|
|
2253
|
+
fill: ${r.lineColor};
|
|
2254
|
+
stroke: ${r.lineColor};
|
|
2255
|
+
}
|
|
2256
|
+
& .marker.cross {
|
|
2257
|
+
stroke: ${r.lineColor};
|
|
2258
|
+
}
|
|
2259
|
+
|
|
2260
|
+
& svg {
|
|
2261
|
+
font-family: ${r.fontFamily};
|
|
2262
|
+
font-size: ${r.fontSize};
|
|
2263
|
+
}
|
|
2264
|
+
& p {
|
|
2265
|
+
margin: 0
|
|
2266
|
+
}
|
|
2267
|
+
|
|
2268
|
+
${a}
|
|
2269
|
+
.node .neo-node {
|
|
2270
|
+
stroke: ${r.nodeBorder};
|
|
2271
|
+
}
|
|
2272
|
+
|
|
2273
|
+
[data-look="neo"].node rect, [data-look="neo"].cluster rect, [data-look="neo"].node polygon {
|
|
2274
|
+
stroke: ${r.useGradient ? "url(" + i + "-gradient)" : r.nodeBorder};
|
|
2275
|
+
filter: ${r.dropShadow ? r.dropShadow.replace("url(#drop-shadow)", `url(${i}-drop-shadow)`) : "none"};
|
|
2276
|
+
}
|
|
2277
|
+
|
|
2278
|
+
|
|
2279
|
+
[data-look="neo"].node path {
|
|
2280
|
+
stroke: ${r.useGradient ? "url(" + i + "-gradient)" : r.nodeBorder};
|
|
2281
|
+
stroke-width: ${r.strokeWidth ?? 1}px;
|
|
2282
|
+
}
|
|
2283
|
+
|
|
2284
|
+
[data-look="neo"].node .outer-path {
|
|
2285
|
+
filter: ${r.dropShadow ? r.dropShadow.replace("url(#drop-shadow)", `url(${i}-drop-shadow)`) : "none"};
|
|
2286
|
+
}
|
|
2287
|
+
|
|
2288
|
+
[data-look="neo"].node .neo-line path {
|
|
2289
|
+
stroke: ${r.nodeBorder};
|
|
2290
|
+
filter: none;
|
|
2291
|
+
}
|
|
2292
|
+
|
|
2293
|
+
[data-look="neo"].node circle{
|
|
2294
|
+
stroke: ${r.useGradient ? "url(" + i + "-gradient)" : r.nodeBorder};
|
|
2295
|
+
filter: ${r.dropShadow ? r.dropShadow.replace("url(#drop-shadow)", `url(${i}-drop-shadow)`) : "none"};
|
|
2296
|
+
}
|
|
2297
|
+
|
|
2298
|
+
[data-look="neo"].node circle .state-start{
|
|
2299
|
+
fill: #000000;
|
|
2300
|
+
}
|
|
2301
|
+
|
|
2302
|
+
[data-look="neo"].icon-shape .icon {
|
|
2303
|
+
fill: ${r.useGradient ? "url(" + i + "-gradient)" : r.nodeBorder};
|
|
2304
|
+
filter: ${r.dropShadow ? r.dropShadow.replace("url(#drop-shadow)", `url(${i}-drop-shadow)`) : "none"};
|
|
2305
|
+
}
|
|
2306
|
+
|
|
2307
|
+
[data-look="neo"].icon-shape .icon-neo path {
|
|
2308
|
+
stroke: ${r.useGradient ? "url(" + i + "-gradient)" : r.nodeBorder};
|
|
2309
|
+
filter: ${r.dropShadow ? r.dropShadow.replace("url(#drop-shadow)", `url(${i}-drop-shadow)`) : "none"};
|
|
2310
|
+
}
|
|
2311
|
+
|
|
2312
|
+
${t}
|
|
2313
|
+
`;
|
|
2314
|
+
}, "getStyles"), lt = /* @__PURE__ */ t((e, t) => {
|
|
2315
|
+
t !== void 0 && (W[e] = t);
|
|
2316
|
+
}, "addStylesForDiagram"), ut = ct, G = {};
|
|
2317
|
+
e(G, {
|
|
2318
|
+
clear: () => dt,
|
|
2319
|
+
getAccDescription: () => ht,
|
|
2320
|
+
getAccTitle: () => pt,
|
|
2321
|
+
getDiagramTitle: () => gt,
|
|
2322
|
+
setAccDescription: () => mt,
|
|
2323
|
+
setAccTitle: () => ft,
|
|
2324
|
+
setDiagramTitle: () => X
|
|
2325
|
+
});
|
|
2326
|
+
var K = "", q = "", J = "", Y = /* @__PURE__ */ t((e) => B(e, F()), "sanitizeText"), dt = /* @__PURE__ */ t(() => {
|
|
2327
|
+
K = "", J = "", q = "";
|
|
2328
|
+
}, "clear"), ft = /* @__PURE__ */ t((e) => {
|
|
2329
|
+
K = Y(e).replace(/^\s+/g, "");
|
|
2330
|
+
}, "setAccTitle"), pt = /* @__PURE__ */ t(() => K, "getAccTitle"), mt = /* @__PURE__ */ t((e) => {
|
|
2331
|
+
J = Y(e).replace(/\n\s+/g, "\n");
|
|
2332
|
+
}, "setAccDescription"), ht = /* @__PURE__ */ t(() => J, "getAccDescription"), X = /* @__PURE__ */ t((e) => {
|
|
2333
|
+
q = Y(e);
|
|
2334
|
+
}, "setDiagramTitle"), gt = /* @__PURE__ */ t(() => q, "getDiagramTitle"), _t = n, vt = r, Z = F, yt = P, bt = D, xt = /* @__PURE__ */ t((e) => B(e, Z()), "sanitizeText"), Q = st, St = /* @__PURE__ */ t(() => G, "getCommonDb"), $ = {}, Ct = /* @__PURE__ */ t((e, t, n) => {
|
|
2335
|
+
$[e] && _t.warn(`Diagram with id ${e} already registered. Overwriting.`), $[e] = t, n && h(e, n), lt(e, t.styles), t.injectUtils?.(_t, vt, Z, xt, Q, St(), () => {});
|
|
2336
|
+
}, "registerDiagram"), wt = /* @__PURE__ */ t((e) => {
|
|
2337
|
+
if (e in $) return $[e];
|
|
2338
|
+
throw new Tt(e);
|
|
2339
|
+
}, "getDiagram"), Tt = class extends Error {
|
|
2340
|
+
static {
|
|
2341
|
+
t(this, "DiagramNotFoundError");
|
|
2342
|
+
}
|
|
2343
|
+
constructor(e) {
|
|
2344
|
+
super(`Diagram ${e} not found.`);
|
|
2345
|
+
}
|
|
2346
|
+
};
|
|
2347
|
+
//#endregion
|
|
2348
|
+
export { p as UnknownDiagramError, je as addDirective, _ as assignWithDepth_default, et as calculateMathMLDimensions, dt as clear, G as commonDb_exports, rt as common_default, ot as configureSvgSize, D as defaultConfig, bt as defaultConfig2, T as defaultConfig_default, te as detectType, m as detectors, f as directiveRegex, O as evaluate, d as frontMatterRegex, ht as getAccDescription, pt as getAccTitle, F as getConfig, Z as getConfig2, wt as getDiagram, re as getDiagramLoader, gt as getDiagramTitle, Ie as getEffectiveHtmlLabels, Ae as getSiteConfig, le as getThemeVariables3, qe as getUrl, Fe as getUserDefinedConfig, U as hasKatex, z as lineBreakRegex, Xe as parseGenericTypes, Ct as registerDiagram, ne as registerLazyLoadedDiagrams, nt as renderKatexSanitized, Me as reset, E as sanitizeDirective, B as sanitizeText, xt as sanitizeText3, Oe as saveConfigFromInitialize, mt as setAccDescription, ft as setAccTitle, P as setConfig, yt as setConfig2, X as setDiagramTitle, De as setSiteConfig, st as setupGraphViewbox, Q as setupGraphViewbox2, ut as styles_default, x as themes_default, ke as updateSiteConfig };
|