@loopstack/loopstack-studio 0.20.2 → 0.21.0-rc.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/_virtual/rolldown_runtime.js +20 -0
- package/dist/components/data-table/ConfirmDialog.js +30 -0
- package/dist/components/data-table/DataList.js +216 -0
- package/dist/components/data-table/DataTable.js +264 -0
- package/dist/components/data-table/DataTableBatchAction.js +32 -0
- package/dist/components/data-table/DataTableFilters.js +83 -0
- package/dist/components/data-table/DataTablePagination.js +108 -0
- package/dist/components/data-table/DataTableToolbar.js +70 -0
- package/dist/components/dynamic-form/ArrayController.js +100 -0
- package/dist/components/dynamic-form/CodeContent.js +174 -0
- package/dist/components/dynamic-form/Form.js +35 -0
- package/dist/components/dynamic-form/FormBody.js +26 -0
- package/dist/components/dynamic-form/FormElement.js +42 -0
- package/dist/components/dynamic-form/FormElementHeader.js +20 -0
- package/dist/components/dynamic-form/InputController.js +38 -0
- package/dist/components/dynamic-form/MarkdownContent.js +76 -0
- package/dist/components/dynamic-form/MermaidDiagram.js +41 -0
- package/dist/components/dynamic-form/ObjectController.js +32 -0
- package/dist/components/dynamic-form/fields/BaseFieldWrapper.js +47 -0
- package/dist/components/dynamic-form/fields/CheckboxField.js +53 -0
- package/dist/components/dynamic-form/fields/CodeViewField.js +63 -0
- package/dist/components/dynamic-form/fields/InputField.js +105 -0
- package/dist/components/dynamic-form/fields/RadioField.js +67 -0
- package/dist/components/dynamic-form/fields/SelectField.js +60 -0
- package/dist/components/dynamic-form/fields/SliderField.js +112 -0
- package/dist/components/dynamic-form/fields/SwitchField.js +66 -0
- package/dist/components/dynamic-form/fields/TextareaField.js +77 -0
- package/dist/components/dynamic-form/fields/utils/text-validation-utils.js +33 -0
- package/dist/components/dynamic-form/hooks/useArrayDefaultValue.js +42 -0
- package/dist/components/dynamic-form/hooks/useFieldConfig.js +21 -0
- package/dist/components/dynamic-form/hooks/useMergeParentKey.js +5 -0
- package/dist/components/dynamic-form/hooks/useSortPropertyNames.js +5 -0
- package/dist/components/layout/MainLayout.js +24 -0
- package/dist/components/lists/CustomListView.js +87 -0
- package/dist/components/lists/ListView.js +118 -0
- package/dist/components/page/PageBreadcrumbs.js +41 -0
- package/dist/components/snackbars/ErrorSnackbar.js +30 -0
- package/dist/components/snackbars/Snackbar.js +44 -0
- package/dist/components/ui/alert-dialog.js +121 -0
- package/dist/components/ui/badge.js +28 -0
- package/dist/components/ui/breadcrumb.js +85 -0
- package/dist/components/ui/button.js +47 -0
- package/dist/components/ui/card.js +29 -0
- package/dist/components/ui/checkbox.js +26 -0
- package/dist/components/ui/collapsible.js +32 -0
- package/dist/components/ui/dialog.js +88 -0
- package/dist/components/ui/input.js +18 -0
- package/dist/components/ui/label.js +19 -0
- package/dist/components/ui/radio-group.js +38 -0
- package/dist/components/ui/select.js +125 -0
- package/dist/components/ui/sheet.js +97 -0
- package/dist/components/ui/slider.js +35 -0
- package/dist/components/ui/switch.js +24 -0
- package/dist/components/ui/table.js +81 -0
- package/dist/components/ui/textarea.js +17 -0
- package/dist/components/ui/tooltip.js +50 -0
- package/dist/features/health/LocalHealthCheck.js +95 -0
- package/dist/features/workspaces/Workspaces.js +162 -0
- package/dist/features/workspaces/components/CreateWorkspace.js +128 -0
- package/dist/features/workspaces/components/ExecutionTimeline.js +204 -0
- package/dist/features/workspaces/components/NewPipelineRunDialog.js +31 -0
- package/dist/features/workspaces/components/PipelineForm.js +152 -0
- package/dist/features/workspaces/components/pipeline-form/ArgumentsView.js +75 -0
- package/dist/features/workspaces/components/pipeline-form/HeaderSection.js +43 -0
- package/dist/features/workspaces/components/pipeline-form/SelectionView.js +105 -0
- package/dist/hooks/use-mobile.js +3 -3
- package/dist/hooks/useAuth.js +56 -0
- package/dist/hooks/useConfig.js +46 -0
- package/dist/hooks/useDebounce.js +27 -0
- package/dist/hooks/usePipelines.js +117 -0
- package/dist/hooks/useProcessor.js +24 -0
- package/dist/hooks/useWorkspaces.js +142 -0
- package/dist/index.d.ts +7 -0
- package/dist/index.js +4 -1
- package/dist/lib/utils.js +6 -0
- package/dist/loopstack-studio.css +2 -0
- package/dist/node_modules/@braintree/sanitize-url/dist/constants.js +6 -0
- package/dist/node_modules/@braintree/sanitize-url/dist/index.js +48 -0
- package/dist/node_modules/@chevrotain/gast/lib/src/helpers.js +26 -0
- package/dist/node_modules/@chevrotain/gast/lib/src/model.js +154 -0
- package/dist/node_modules/@chevrotain/gast/lib/src/visitor.js +40 -0
- package/dist/node_modules/@chevrotain/regexp-to-ast/lib/src/api.js +2 -0
- package/dist/node_modules/@chevrotain/regexp-to-ast/lib/src/base-regexp-visitor.js +85 -0
- package/dist/node_modules/@chevrotain/regexp-to-ast/lib/src/character-classes.js +35 -0
- package/dist/node_modules/@chevrotain/regexp-to-ast/lib/src/regexp-parser.js +570 -0
- package/dist/node_modules/@chevrotain/regexp-to-ast/lib/src/utils.js +25 -0
- package/dist/node_modules/@chevrotain/utils/lib/src/print.js +9 -0
- package/dist/node_modules/@chevrotain/utils/lib/src/timer.js +8 -0
- package/dist/node_modules/@chevrotain/utils/lib/src/to-fast-properties.js +10 -0
- package/dist/node_modules/@iconify/utils/lib/customisations/defaults.js +9 -0
- package/dist/node_modules/@iconify/utils/lib/icon/defaults.js +18 -0
- package/dist/node_modules/@iconify/utils/lib/icon/merge.js +8 -0
- package/dist/node_modules/@iconify/utils/lib/icon/name.js +35 -0
- package/dist/node_modules/@iconify/utils/lib/icon/transformations.js +7 -0
- package/dist/node_modules/@iconify/utils/lib/icon-set/get-icon.js +15 -0
- package/dist/node_modules/@iconify/utils/lib/icon-set/tree.js +14 -0
- package/dist/node_modules/@iconify/utils/lib/svg/build.js +54 -0
- package/dist/node_modules/@iconify/utils/lib/svg/defs.js +22 -0
- package/dist/node_modules/@iconify/utils/lib/svg/html.js +6 -0
- package/dist/node_modules/@iconify/utils/lib/svg/id.js +17 -0
- package/dist/node_modules/@iconify/utils/lib/svg/size.js +18 -0
- package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/architecture-7HQA4BMR.js +3 -0
- package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-4F5CHEZ2.js +23 -0
- package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-B2363JML.js +60 -0
- package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-FRFDVMJY.js +23 -0
- package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-PL6DKKU2.js +28 -0
- package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-SJTYNZTY.js +23 -0
- package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-TCCFYFTB.js +787 -0
- package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-TQ3KTPDO.js +23 -0
- package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-UMXZTB3W.js +30 -0
- package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/gitGraph-G5XIXVHT.js +3 -0
- package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/info-VBDWY6EO.js +3 -0
- package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/packet-DYOGHKS2.js +3 -0
- package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/pie-VRWISCQL.js +3 -0
- package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/radar-ZZBFDIW7.js +3 -0
- package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/treemap-GDKQZRPO.js +3 -0
- package/dist/node_modules/@mermaid-js/parser/dist/mermaid-parser.core.js +55 -0
- package/dist/node_modules/ccount/index.js +8 -0
- package/dist/node_modules/chevrotain/lib/src/api.js +10 -0
- package/dist/node_modules/chevrotain/lib/src/lang/lang_extensions.js +10 -0
- package/dist/node_modules/chevrotain/lib/src/parse/constants.js +2 -0
- package/dist/node_modules/chevrotain/lib/src/parse/cst/cst.js +13 -0
- package/dist/node_modules/chevrotain/lib/src/parse/cst/cst_visitor.js +58 -0
- package/dist/node_modules/chevrotain/lib/src/parse/errors_public.js +75 -0
- package/dist/node_modules/chevrotain/lib/src/parse/exceptions_public.js +34 -0
- package/dist/node_modules/chevrotain/lib/src/parse/grammar/checks.js +299 -0
- package/dist/node_modules/chevrotain/lib/src/parse/grammar/first.js +25 -0
- package/dist/node_modules/chevrotain/lib/src/parse/grammar/follow.js +29 -0
- package/dist/node_modules/chevrotain/lib/src/parse/grammar/gast/gast_resolver_public.js +15 -0
- package/dist/node_modules/chevrotain/lib/src/parse/grammar/interpreter.js +269 -0
- package/dist/node_modules/chevrotain/lib/src/parse/grammar/keys.js +5 -0
- package/dist/node_modules/chevrotain/lib/src/parse/grammar/llk_lookahead.js +43 -0
- package/dist/node_modules/chevrotain/lib/src/parse/grammar/lookahead.js +248 -0
- package/dist/node_modules/chevrotain/lib/src/parse/grammar/resolver.js +32 -0
- package/dist/node_modules/chevrotain/lib/src/parse/grammar/rest.js +58 -0
- package/dist/node_modules/chevrotain/lib/src/parse/parser/parser.js +122 -0
- package/dist/node_modules/chevrotain/lib/src/parse/parser/traits/context_assist.js +16 -0
- package/dist/node_modules/chevrotain/lib/src/parse/parser/traits/error_handler.js +48 -0
- package/dist/node_modules/chevrotain/lib/src/parse/parser/traits/gast_recorder.js +172 -0
- package/dist/node_modules/chevrotain/lib/src/parse/parser/traits/lexer_adapter.js +39 -0
- package/dist/node_modules/chevrotain/lib/src/parse/parser/traits/looksahead.js +109 -0
- package/dist/node_modules/chevrotain/lib/src/parse/parser/traits/perf_tracer.js +22 -0
- package/dist/node_modules/chevrotain/lib/src/parse/parser/traits/recognizer_api.js +313 -0
- package/dist/node_modules/chevrotain/lib/src/parse/parser/traits/recognizer_engine.js +275 -0
- package/dist/node_modules/chevrotain/lib/src/parse/parser/traits/recoverable.js +144 -0
- package/dist/node_modules/chevrotain/lib/src/parse/parser/traits/tree_builder.js +102 -0
- package/dist/node_modules/chevrotain/lib/src/parse/parser/utils/apply_mixins.js +11 -0
- package/dist/node_modules/chevrotain/lib/src/scan/lexer.js +465 -0
- package/dist/node_modules/chevrotain/lib/src/scan/lexer_errors_public.js +9 -0
- package/dist/node_modules/chevrotain/lib/src/scan/lexer_public.js +275 -0
- package/dist/node_modules/chevrotain/lib/src/scan/reg_exp.js +152 -0
- package/dist/node_modules/chevrotain/lib/src/scan/reg_exp_parser.js +15 -0
- package/dist/node_modules/chevrotain/lib/src/scan/tokens.js +75 -0
- package/dist/node_modules/chevrotain/lib/src/scan/tokens_public.js +42 -0
- package/dist/node_modules/chevrotain-allstar/lib/all-star-lookahead.js +346 -0
- package/dist/node_modules/chevrotain-allstar/lib/atn.js +194 -0
- package/dist/node_modules/chevrotain-allstar/lib/dfa.js +32 -0
- package/dist/node_modules/chevrotain-allstar/lib/index.js +1 -0
- package/dist/node_modules/comma-separated-tokens/index.js +10 -0
- package/dist/node_modules/cose-base/cose-base.js +469 -0
- package/dist/node_modules/cytoscape/dist/cytoscape.esm.js +18100 -0
- package/dist/node_modules/cytoscape-cose-bilkent/cytoscape-cose-bilkent.js +172 -0
- package/dist/node_modules/cytoscape-fcose/cytoscape-fcose.js +604 -0
- package/dist/node_modules/cytoscape-fcose/node_modules/cose-base/cose-base.js +1142 -0
- package/dist/node_modules/cytoscape-fcose/node_modules/layout-base/layout-base.js +1635 -0
- package/dist/node_modules/d3/src/index.js +93 -0
- package/dist/node_modules/d3-array/src/ascending.js +4 -0
- package/dist/node_modules/d3-array/src/bisect.js +8 -0
- package/dist/node_modules/d3-array/src/bisector.js +39 -0
- package/dist/node_modules/d3-array/src/descending.js +4 -0
- package/dist/node_modules/d3-array/src/max.js +10 -0
- package/dist/node_modules/d3-array/src/min.js +10 -0
- package/dist/node_modules/d3-array/src/number.js +4 -0
- package/dist/node_modules/d3-array/src/range.js +6 -0
- package/dist/node_modules/d3-array/src/ticks.js +30 -0
- package/dist/node_modules/d3-axis/src/axis.js +61 -0
- package/dist/node_modules/d3-axis/src/identity.js +4 -0
- package/dist/node_modules/d3-brush/src/brush.js +15 -0
- package/dist/node_modules/d3-brush/src/index.js +1 -0
- package/dist/node_modules/d3-color/src/color.js +287 -0
- package/dist/node_modules/d3-color/src/define.js +9 -0
- package/dist/node_modules/d3-color/src/lab.js +70 -0
- package/dist/node_modules/d3-color/src/math.js +2 -0
- package/dist/node_modules/d3-dispatch/src/dispatch.js +64 -0
- package/dist/node_modules/d3-ease/src/cubic.js +4 -0
- package/dist/node_modules/d3-format/src/defaultLocale.js +11 -0
- package/dist/node_modules/d3-format/src/exponent.js +5 -0
- package/dist/node_modules/d3-format/src/formatDecimal.js +9 -0
- package/dist/node_modules/d3-format/src/formatGroup.js +7 -0
- package/dist/node_modules/d3-format/src/formatNumerals.js +8 -0
- package/dist/node_modules/d3-format/src/formatPrefixAuto.js +9 -0
- package/dist/node_modules/d3-format/src/formatRounded.js +8 -0
- package/dist/node_modules/d3-format/src/formatSpecifier.js +25 -0
- package/dist/node_modules/d3-format/src/formatTrim.js +16 -0
- package/dist/node_modules/d3-format/src/formatTypes.js +19 -0
- package/dist/node_modules/d3-format/src/identity.js +4 -0
- package/dist/node_modules/d3-format/src/locale.js +82 -0
- package/dist/node_modules/d3-format/src/precisionFixed.js +5 -0
- package/dist/node_modules/d3-format/src/precisionPrefix.js +5 -0
- package/dist/node_modules/d3-format/src/precisionRound.js +5 -0
- package/dist/node_modules/d3-hierarchy/src/accessors.js +5 -0
- package/dist/node_modules/d3-hierarchy/src/constant.js +9 -0
- package/dist/node_modules/d3-hierarchy/src/hierarchy/ancestors.js +5 -0
- package/dist/node_modules/d3-hierarchy/src/hierarchy/count.js +10 -0
- package/dist/node_modules/d3-hierarchy/src/hierarchy/descendants.js +4 -0
- package/dist/node_modules/d3-hierarchy/src/hierarchy/each.js +6 -0
- package/dist/node_modules/d3-hierarchy/src/hierarchy/eachAfter.js +6 -0
- package/dist/node_modules/d3-hierarchy/src/hierarchy/eachBefore.js +5 -0
- package/dist/node_modules/d3-hierarchy/src/hierarchy/find.js +5 -0
- package/dist/node_modules/d3-hierarchy/src/hierarchy/index.js +57 -0
- package/dist/node_modules/d3-hierarchy/src/hierarchy/iterator.js +7 -0
- package/dist/node_modules/d3-hierarchy/src/hierarchy/leaves.js +7 -0
- package/dist/node_modules/d3-hierarchy/src/hierarchy/links.js +10 -0
- package/dist/node_modules/d3-hierarchy/src/hierarchy/path.js +12 -0
- package/dist/node_modules/d3-hierarchy/src/hierarchy/sort.js +6 -0
- package/dist/node_modules/d3-hierarchy/src/hierarchy/sum.js +7 -0
- package/dist/node_modules/d3-hierarchy/src/treemap/dice.js +4 -0
- package/dist/node_modules/d3-hierarchy/src/treemap/index.js +36 -0
- package/dist/node_modules/d3-hierarchy/src/treemap/round.js +4 -0
- package/dist/node_modules/d3-hierarchy/src/treemap/slice.js +4 -0
- package/dist/node_modules/d3-hierarchy/src/treemap/squarify.js +33 -0
- package/dist/node_modules/d3-interpolate/src/array.js +11 -0
- package/dist/node_modules/d3-interpolate/src/basis.js +12 -0
- package/dist/node_modules/d3-interpolate/src/basisClosed.js +9 -0
- package/dist/node_modules/d3-interpolate/src/color.js +25 -0
- package/dist/node_modules/d3-interpolate/src/constant.js +2 -0
- package/dist/node_modules/d3-interpolate/src/date.js +7 -0
- package/dist/node_modules/d3-interpolate/src/hcl.js +12 -0
- package/dist/node_modules/d3-interpolate/src/number.js +6 -0
- package/dist/node_modules/d3-interpolate/src/numberArray.js +12 -0
- package/dist/node_modules/d3-interpolate/src/object.js +10 -0
- package/dist/node_modules/d3-interpolate/src/rgb.js +15 -0
- package/dist/node_modules/d3-interpolate/src/round.js +6 -0
- package/dist/node_modules/d3-interpolate/src/string.js +24 -0
- package/dist/node_modules/d3-interpolate/src/transform/decompose.js +20 -0
- package/dist/node_modules/d3-interpolate/src/transform/index.js +52 -0
- package/dist/node_modules/d3-interpolate/src/transform/parse.js +10 -0
- package/dist/node_modules/d3-interpolate/src/value.js +14 -0
- package/dist/node_modules/d3-path/src/path.js +61 -0
- package/dist/node_modules/d3-sankey/node_modules/d3-array/src/max.js +10 -0
- package/dist/node_modules/d3-sankey/node_modules/d3-array/src/min.js +10 -0
- package/dist/node_modules/d3-sankey/node_modules/d3-array/src/sum.js +10 -0
- package/dist/node_modules/d3-sankey/node_modules/d3-path/src/path.js +50 -0
- package/dist/node_modules/d3-sankey/node_modules/d3-shape/src/array.js +2 -0
- package/dist/node_modules/d3-sankey/node_modules/d3-shape/src/constant.js +6 -0
- package/dist/node_modules/d3-sankey/node_modules/d3-shape/src/link/index.js +35 -0
- package/dist/node_modules/d3-sankey/node_modules/d3-shape/src/point.js +7 -0
- package/dist/node_modules/d3-sankey/src/align.js +17 -0
- package/dist/node_modules/d3-sankey/src/constant.js +6 -0
- package/dist/node_modules/d3-sankey/src/sankey.js +224 -0
- package/dist/node_modules/d3-sankey/src/sankeyLinkHorizontal.js +11 -0
- package/dist/node_modules/d3-scale/src/band.js +39 -0
- package/dist/node_modules/d3-scale/src/constant.js +6 -0
- package/dist/node_modules/d3-scale/src/continuous.js +69 -0
- package/dist/node_modules/d3-scale/src/init.js +13 -0
- package/dist/node_modules/d3-scale/src/linear.js +32 -0
- package/dist/node_modules/d3-scale/src/nice.js +6 -0
- package/dist/node_modules/d3-scale/src/number.js +4 -0
- package/dist/node_modules/d3-scale/src/ordinal.js +27 -0
- package/dist/node_modules/d3-scale/src/tickFormat.js +27 -0
- package/dist/node_modules/d3-scale/src/time.js +43 -0
- package/dist/node_modules/d3-scale-chromatic/src/categorical/Tableau10.js +3 -0
- package/dist/node_modules/d3-scale-chromatic/src/colors.js +5 -0
- package/dist/node_modules/d3-selection/src/array.js +4 -0
- package/dist/node_modules/d3-selection/src/constant.js +6 -0
- package/dist/node_modules/d3-selection/src/creator.js +18 -0
- package/dist/node_modules/d3-selection/src/matcher.js +11 -0
- package/dist/node_modules/d3-selection/src/namespace.js +9 -0
- package/dist/node_modules/d3-selection/src/namespaces.js +8 -0
- package/dist/node_modules/d3-selection/src/select.js +5 -0
- package/dist/node_modules/d3-selection/src/selection/append.js +8 -0
- package/dist/node_modules/d3-selection/src/selection/attr.js +42 -0
- package/dist/node_modules/d3-selection/src/selection/call.js +5 -0
- package/dist/node_modules/d3-selection/src/selection/classed.js +51 -0
- package/dist/node_modules/d3-selection/src/selection/clone.js +12 -0
- package/dist/node_modules/d3-selection/src/selection/data.js +34 -0
- package/dist/node_modules/d3-selection/src/selection/datum.js +4 -0
- package/dist/node_modules/d3-selection/src/selection/dispatch.js +19 -0
- package/dist/node_modules/d3-selection/src/selection/each.js +5 -0
- package/dist/node_modules/d3-selection/src/selection/empty.js +4 -0
- package/dist/node_modules/d3-selection/src/selection/enter.js +24 -0
- package/dist/node_modules/d3-selection/src/selection/exit.js +6 -0
- package/dist/node_modules/d3-selection/src/selection/filter.js +8 -0
- package/dist/node_modules/d3-selection/src/selection/html.js +17 -0
- package/dist/node_modules/d3-selection/src/selection/index.js +84 -0
- package/dist/node_modules/d3-selection/src/selection/insert.js +12 -0
- package/dist/node_modules/d3-selection/src/selection/iterator.js +4 -0
- package/dist/node_modules/d3-selection/src/selection/join.js +5 -0
- package/dist/node_modules/d3-selection/src/selection/lower.js +7 -0
- package/dist/node_modules/d3-selection/src/selection/merge.js +7 -0
- package/dist/node_modules/d3-selection/src/selection/node.js +8 -0
- package/dist/node_modules/d3-selection/src/selection/nodes.js +4 -0
- package/dist/node_modules/d3-selection/src/selection/on.js +54 -0
- package/dist/node_modules/d3-selection/src/selection/order.js +5 -0
- package/dist/node_modules/d3-selection/src/selection/property.js +20 -0
- package/dist/node_modules/d3-selection/src/selection/raise.js +7 -0
- package/dist/node_modules/d3-selection/src/selection/remove.js +8 -0
- package/dist/node_modules/d3-selection/src/selection/select.js +8 -0
- package/dist/node_modules/d3-selection/src/selection/selectAll.js +14 -0
- package/dist/node_modules/d3-selection/src/selection/selectChild.js +14 -0
- package/dist/node_modules/d3-selection/src/selection/selectChildren.js +14 -0
- package/dist/node_modules/d3-selection/src/selection/size.js +6 -0
- package/dist/node_modules/d3-selection/src/selection/sort.js +16 -0
- package/dist/node_modules/d3-selection/src/selection/sparse.js +4 -0
- package/dist/node_modules/d3-selection/src/selection/style.js +24 -0
- package/dist/node_modules/d3-selection/src/selection/text.js +17 -0
- package/dist/node_modules/d3-selection/src/selector.js +7 -0
- package/dist/node_modules/d3-selection/src/selectorAll.js +9 -0
- package/dist/node_modules/d3-selection/src/window.js +4 -0
- package/dist/node_modules/d3-shape/src/arc.js +79 -0
- package/dist/node_modules/d3-shape/src/array.js +5 -0
- package/dist/node_modules/d3-shape/src/constant.js +6 -0
- package/dist/node_modules/d3-shape/src/curve/basis.js +45 -0
- package/dist/node_modules/d3-shape/src/curve/basisClosed.js +46 -0
- package/dist/node_modules/d3-shape/src/curve/basisOpen.js +42 -0
- package/dist/node_modules/d3-shape/src/curve/bump.js +36 -0
- package/dist/node_modules/d3-shape/src/curve/bundle.js +26 -0
- package/dist/node_modules/d3-shape/src/curve/cardinal.js +52 -0
- package/dist/node_modules/d3-shape/src/curve/cardinalClosed.js +51 -0
- package/dist/node_modules/d3-shape/src/curve/cardinalOpen.js +45 -0
- package/dist/node_modules/d3-shape/src/curve/catmullRom.js +67 -0
- package/dist/node_modules/d3-shape/src/curve/catmullRomClosed.js +56 -0
- package/dist/node_modules/d3-shape/src/curve/catmullRomOpen.js +50 -0
- package/dist/node_modules/d3-shape/src/curve/linear.js +32 -0
- package/dist/node_modules/d3-shape/src/curve/linearClosed.js +21 -0
- package/dist/node_modules/d3-shape/src/curve/monotone.js +90 -0
- package/dist/node_modules/d3-shape/src/curve/natural.js +35 -0
- package/dist/node_modules/d3-shape/src/curve/step.js +43 -0
- package/dist/node_modules/d3-shape/src/descending.js +4 -0
- package/dist/node_modules/d3-shape/src/identity.js +4 -0
- package/dist/node_modules/d3-shape/src/line.js +26 -0
- package/dist/node_modules/d3-shape/src/math.js +8 -0
- package/dist/node_modules/d3-shape/src/noop.js +2 -0
- package/dist/node_modules/d3-shape/src/path.js +15 -0
- package/dist/node_modules/d3-shape/src/pie.js +39 -0
- package/dist/node_modules/d3-shape/src/point.js +7 -0
- package/dist/node_modules/d3-time/src/day.js +17 -0
- package/dist/node_modules/d3-time/src/duration.js +2 -0
- package/dist/node_modules/d3-time/src/hour.js +15 -0
- package/dist/node_modules/d3-time/src/interval.js +24 -0
- package/dist/node_modules/d3-time/src/millisecond.js +10 -0
- package/dist/node_modules/d3-time/src/minute.js +15 -0
- package/dist/node_modules/d3-time/src/month.js +14 -0
- package/dist/node_modules/d3-time/src/second.js +9 -0
- package/dist/node_modules/d3-time/src/ticks.js +121 -0
- package/dist/node_modules/d3-time/src/week.js +21 -0
- package/dist/node_modules/d3-time/src/year.js +22 -0
- package/dist/node_modules/d3-time-format/src/defaultLocale.js +58 -0
- package/dist/node_modules/d3-time-format/src/locale.js +486 -0
- package/dist/node_modules/d3-timer/src/timeout.js +8 -0
- package/dist/node_modules/d3-timer/src/timer.js +51 -0
- package/dist/node_modules/d3-transition/src/index.js +3 -0
- package/dist/node_modules/d3-transition/src/interrupt.js +15 -0
- package/dist/node_modules/d3-transition/src/selection/index.js +4 -0
- package/dist/node_modules/d3-transition/src/selection/interrupt.js +7 -0
- package/dist/node_modules/d3-transition/src/selection/transition.js +21 -0
- package/dist/node_modules/d3-transition/src/transition/attr.js +47 -0
- package/dist/node_modules/d3-transition/src/transition/attrTween.js +36 -0
- package/dist/node_modules/d3-transition/src/transition/delay.js +16 -0
- package/dist/node_modules/d3-transition/src/transition/duration.js +16 -0
- package/dist/node_modules/d3-transition/src/transition/ease.js +12 -0
- package/dist/node_modules/d3-transition/src/transition/easeVarying.js +13 -0
- package/dist/node_modules/d3-transition/src/transition/end.js +14 -0
- package/dist/node_modules/d3-transition/src/transition/filter.js +8 -0
- package/dist/node_modules/d3-transition/src/transition/index.js +65 -0
- package/dist/node_modules/d3-transition/src/transition/interpolate.js +9 -0
- package/dist/node_modules/d3-transition/src/transition/merge.js +8 -0
- package/dist/node_modules/d3-transition/src/transition/on.js +19 -0
- package/dist/node_modules/d3-transition/src/transition/remove.js +11 -0
- package/dist/node_modules/d3-transition/src/transition/schedule.js +67 -0
- package/dist/node_modules/d3-transition/src/transition/select.js +10 -0
- package/dist/node_modules/d3-transition/src/transition/selectAll.js +13 -0
- package/dist/node_modules/d3-transition/src/transition/selection.js +6 -0
- package/dist/node_modules/d3-transition/src/transition/style.js +43 -0
- package/dist/node_modules/d3-transition/src/transition/styleTween.js +21 -0
- package/dist/node_modules/d3-transition/src/transition/text.js +15 -0
- package/dist/node_modules/d3-transition/src/transition/textTween.js +21 -0
- package/dist/node_modules/d3-transition/src/transition/transition.js +15 -0
- package/dist/node_modules/d3-transition/src/transition/tween.js +52 -0
- package/dist/node_modules/d3-zoom/src/index.js +2 -0
- package/dist/node_modules/d3-zoom/src/transform.js +46 -0
- package/dist/node_modules/d3-zoom/src/zoom.js +2 -0
- package/dist/node_modules/dagre-d3-es/src/dagre/acyclic.js +34 -0
- package/dist/node_modules/dagre-d3-es/src/dagre/add-border-segments.js +22 -0
- package/dist/node_modules/dagre-d3-es/src/dagre/coordinate-system.js +44 -0
- package/dist/node_modules/dagre-d3-es/src/dagre/data/list.js +25 -0
- package/dist/node_modules/dagre-d3-es/src/dagre/greedy-fas.js +69 -0
- package/dist/node_modules/dagre-d3-es/src/dagre/index.js +4 -0
- package/dist/node_modules/dagre-d3-es/src/dagre/layout.js +241 -0
- package/dist/node_modules/dagre-d3-es/src/dagre/nesting-graph.js +66 -0
- package/dist/node_modules/dagre-d3-es/src/dagre/normalize.js +32 -0
- package/dist/node_modules/dagre-d3-es/src/dagre/order/add-subgraph-constraints.js +14 -0
- package/dist/node_modules/dagre-d3-es/src/dagre/order/barycenter.js +25 -0
- package/dist/node_modules/dagre-d3-es/src/dagre/order/build-layer-graph.js +25 -0
- package/dist/node_modules/dagre-d3-es/src/dagre/order/cross-count.js +33 -0
- package/dist/node_modules/dagre-d3-es/src/dagre/order/index.js +44 -0
- package/dist/node_modules/dagre-d3-es/src/dagre/order/init-order.js +23 -0
- package/dist/node_modules/dagre-d3-es/src/dagre/order/resolve-conflicts.js +55 -0
- package/dist/node_modules/dagre-d3-es/src/dagre/order/sort-subgraph.js +43 -0
- package/dist/node_modules/dagre-d3-es/src/dagre/order/sort.js +27 -0
- package/dist/node_modules/dagre-d3-es/src/dagre/parent-dummy-chains.js +40 -0
- package/dist/node_modules/dagre-d3-es/src/dagre/position/bk.js +216 -0
- package/dist/node_modules/dagre-d3-es/src/dagre/position/index.js +23 -0
- package/dist/node_modules/dagre-d3-es/src/dagre/rank/feasible-tree.js +31 -0
- package/dist/node_modules/dagre-d3-es/src/dagre/rank/index.js +25 -0
- package/dist/node_modules/dagre-d3-es/src/dagre/rank/network-simplex.js +84 -0
- package/dist/node_modules/dagre-d3-es/src/dagre/rank/util.js +20 -0
- package/dist/node_modules/dagre-d3-es/src/dagre/util.js +117 -0
- package/dist/node_modules/dagre-d3-es/src/graphlib/alg/dfs.js +16 -0
- package/dist/node_modules/dagre-d3-es/src/graphlib/alg/dijkstra-all.js +1 -0
- package/dist/node_modules/dagre-d3-es/src/graphlib/alg/dijkstra.js +2 -0
- package/dist/node_modules/dagre-d3-es/src/graphlib/alg/floyd-warshall.js +2 -0
- package/dist/node_modules/dagre-d3-es/src/graphlib/alg/index.js +8 -0
- package/dist/node_modules/dagre-d3-es/src/graphlib/alg/is-acyclic.js +1 -0
- package/dist/node_modules/dagre-d3-es/src/graphlib/alg/postorder.js +5 -0
- package/dist/node_modules/dagre-d3-es/src/graphlib/alg/preorder.js +5 -0
- package/dist/node_modules/dagre-d3-es/src/graphlib/alg/prim.js +1 -0
- package/dist/node_modules/dagre-d3-es/src/graphlib/alg/topsort.js +15 -0
- package/dist/node_modules/dagre-d3-es/src/graphlib/graph.js +228 -0
- package/dist/node_modules/dagre-d3-es/src/graphlib/index.js +1 -0
- package/dist/node_modules/dagre-d3-es/src/graphlib/json.js +32 -0
- package/dist/node_modules/dayjs/dayjs.min.js +298 -0
- package/dist/node_modules/dayjs/plugin/advancedFormat.js +37 -0
- package/dist/node_modules/dayjs/plugin/customParseFormat.js +160 -0
- package/dist/node_modules/dayjs/plugin/duration.js +164 -0
- package/dist/node_modules/dayjs/plugin/isoWeek.js +29 -0
- package/dist/node_modules/devlop/lib/default.js +2 -0
- package/dist/node_modules/dompurify/dist/purify.es.js +547 -0
- package/dist/node_modules/hast-util-from-dom/lib/index.js +58 -0
- package/dist/node_modules/hast-util-from-html-isomorphic/lib/browser.js +10 -0
- package/dist/node_modules/hast-util-is-element/lib/index.js +36 -0
- package/dist/node_modules/hast-util-parse-selector/lib/index.js +16 -0
- package/dist/node_modules/hast-util-to-text/lib/index.js +104 -0
- package/dist/node_modules/hastscript/lib/create-h.js +86 -0
- package/dist/node_modules/hastscript/lib/index.js +5 -0
- package/dist/node_modules/hastscript/lib/svg-case-sensitive-tag-names.js +2 -0
- package/dist/node_modules/internmap/src/index.js +36 -0
- package/dist/node_modules/katex/dist/katex.js +22103 -0
- package/dist/node_modules/khroma/dist/channels/index.js +68 -0
- package/dist/node_modules/khroma/dist/channels/reusable.js +8 -0
- package/dist/node_modules/khroma/dist/channels/type.js +20 -0
- package/dist/node_modules/khroma/dist/color/hex.js +22 -0
- package/dist/node_modules/khroma/dist/color/hsl.js +36 -0
- package/dist/node_modules/khroma/dist/color/index.js +23 -0
- package/dist/node_modules/khroma/dist/color/keyword.js +162 -0
- package/dist/node_modules/khroma/dist/color/rgb.js +23 -0
- package/dist/node_modules/khroma/dist/constants.js +9 -0
- package/dist/node_modules/khroma/dist/methods/adjust.js +8 -0
- package/dist/node_modules/khroma/dist/methods/adjust_channel.js +7 -0
- package/dist/node_modules/khroma/dist/methods/change.js +8 -0
- package/dist/node_modules/khroma/dist/methods/channel.js +4 -0
- package/dist/node_modules/khroma/dist/methods/darken.js +3 -0
- package/dist/node_modules/khroma/dist/methods/invert.js +7 -0
- package/dist/node_modules/khroma/dist/methods/is_dark.js +3 -0
- package/dist/node_modules/khroma/dist/methods/is_light.js +3 -0
- package/dist/node_modules/khroma/dist/methods/lighten.js +3 -0
- package/dist/node_modules/khroma/dist/methods/luminance.js +7 -0
- package/dist/node_modules/khroma/dist/methods/mix.js +7 -0
- package/dist/node_modules/khroma/dist/methods/rgba.js +15 -0
- package/dist/node_modules/khroma/dist/utils/channel.js +58 -0
- package/dist/node_modules/khroma/dist/utils/index.js +9 -0
- package/dist/node_modules/khroma/dist/utils/lang.js +5 -0
- package/dist/node_modules/khroma/dist/utils/unit.js +5 -0
- package/dist/node_modules/langium/lib/default-module.js +85 -0
- package/dist/node_modules/langium/lib/dependency-injection.js +62 -0
- package/dist/node_modules/langium/lib/documentation/comment-provider.js +11 -0
- package/dist/node_modules/langium/lib/documentation/documentation-provider.js +36 -0
- package/dist/node_modules/langium/lib/documentation/jsdoc.js +303 -0
- package/dist/node_modules/langium/lib/index.js +182 -0
- package/dist/node_modules/langium/lib/languages/generated/ast.js +1089 -0
- package/dist/node_modules/langium/lib/languages/grammar-config.js +13 -0
- package/dist/node_modules/langium/lib/parser/async-parser.js +83 -0
- package/dist/node_modules/langium/lib/parser/completion-parser-builder.js +7 -0
- package/dist/node_modules/langium/lib/parser/cst-node-builder.js +160 -0
- package/dist/node_modules/langium/lib/parser/indentation-aware.js +141 -0
- package/dist/node_modules/langium/lib/parser/langium-parser-builder.js +11 -0
- package/dist/node_modules/langium/lib/parser/langium-parser.js +388 -0
- package/dist/node_modules/langium/lib/parser/lexer.js +50 -0
- package/dist/node_modules/langium/lib/parser/parser-builder-base.js +275 -0
- package/dist/node_modules/langium/lib/parser/token-builder.js +61 -0
- package/dist/node_modules/langium/lib/parser/value-converter.js +78 -0
- package/dist/node_modules/langium/lib/references/linker.js +190 -0
- package/dist/node_modules/langium/lib/references/name-provider.js +13 -0
- package/dist/node_modules/langium/lib/references/references.js +76 -0
- package/dist/node_modules/langium/lib/references/scope-computation.js +35 -0
- package/dist/node_modules/langium/lib/references/scope-provider.js +34 -0
- package/dist/node_modules/langium/lib/references/scope.js +73 -0
- package/dist/node_modules/langium/lib/serializer/hydrator.js +125 -0
- package/dist/node_modules/langium/lib/serializer/json-serializer.js +145 -0
- package/dist/node_modules/langium/lib/service-registry.js +37 -0
- package/dist/node_modules/langium/lib/syntax-tree.js +70 -0
- package/dist/node_modules/langium/lib/utils/ast-utils.js +157 -0
- package/dist/node_modules/langium/lib/utils/caching.js +91 -0
- package/dist/node_modules/langium/lib/utils/cancellation.js +5 -0
- package/dist/node_modules/langium/lib/utils/collections.js +85 -0
- package/dist/node_modules/langium/lib/utils/cst-utils.js +190 -0
- package/dist/node_modules/langium/lib/utils/disposable.js +8 -0
- package/dist/node_modules/langium/lib/utils/errors.js +12 -0
- package/dist/node_modules/langium/lib/utils/event.js +5 -0
- package/dist/node_modules/langium/lib/utils/grammar-loader.js +22 -0
- package/dist/node_modules/langium/lib/utils/grammar-utils.js +296 -0
- package/dist/node_modules/langium/lib/utils/index.js +53 -0
- package/dist/node_modules/langium/lib/utils/promise-utils.js +30 -0
- package/dist/node_modules/langium/lib/utils/regexp-utils.js +167 -0
- package/dist/node_modules/langium/lib/utils/stream.js +327 -0
- package/dist/node_modules/langium/lib/utils/uri-utils.js +107 -0
- package/dist/node_modules/langium/lib/validation/document-validator.js +210 -0
- package/dist/node_modules/langium/lib/validation/validation-registry.js +87 -0
- package/dist/node_modules/langium/lib/workspace/ast-descriptions.js +57 -0
- package/dist/node_modules/langium/lib/workspace/ast-node-locator.js +28 -0
- package/dist/node_modules/langium/lib/workspace/configuration.js +51 -0
- package/dist/node_modules/langium/lib/workspace/document-builder.js +201 -0
- package/dist/node_modules/langium/lib/workspace/documents.js +142 -0
- package/dist/node_modules/langium/lib/workspace/file-system-provider.js +34 -0
- package/dist/node_modules/langium/lib/workspace/index-manager.js +49 -0
- package/dist/node_modules/langium/lib/workspace/profiler.js +89 -0
- package/dist/node_modules/langium/lib/workspace/workspace-lock.js +42 -0
- package/dist/node_modules/langium/lib/workspace/workspace-manager.js +66 -0
- package/dist/node_modules/layout-base/layout-base.js +1407 -0
- package/dist/node_modules/lodash-es/_DataView.js +4 -0
- package/dist/node_modules/lodash-es/_Hash.js +15 -0
- package/dist/node_modules/lodash-es/_ListCache.js +15 -0
- package/dist/node_modules/lodash-es/_Map.js +4 -0
- package/dist/node_modules/lodash-es/_MapCache.js +15 -0
- package/dist/node_modules/lodash-es/_Promise.js +4 -0
- package/dist/node_modules/lodash-es/_Set.js +4 -0
- package/dist/node_modules/lodash-es/_SetCache.js +10 -0
- package/dist/node_modules/lodash-es/_Stack.js +12 -0
- package/dist/node_modules/lodash-es/_Symbol.js +3 -0
- package/dist/node_modules/lodash-es/_Uint8Array.js +3 -0
- package/dist/node_modules/lodash-es/_WeakMap.js +4 -0
- package/dist/node_modules/lodash-es/_apply.js +11 -0
- package/dist/node_modules/lodash-es/_arrayAggregator.js +9 -0
- package/dist/node_modules/lodash-es/_arrayEach.js +6 -0
- package/dist/node_modules/lodash-es/_arrayEvery.js +6 -0
- package/dist/node_modules/lodash-es/_arrayFilter.js +9 -0
- package/dist/node_modules/lodash-es/_arrayIncludes.js +6 -0
- package/dist/node_modules/lodash-es/_arrayIncludesWith.js +6 -0
- package/dist/node_modules/lodash-es/_arrayLikeKeys.js +14 -0
- package/dist/node_modules/lodash-es/_arrayMap.js +6 -0
- package/dist/node_modules/lodash-es/_arrayPush.js +6 -0
- package/dist/node_modules/lodash-es/_arrayReduce.js +7 -0
- package/dist/node_modules/lodash-es/_arraySome.js +6 -0
- package/dist/node_modules/lodash-es/_asciiSize.js +3 -0
- package/dist/node_modules/lodash-es/_assignMergeValue.js +7 -0
- package/dist/node_modules/lodash-es/_assignValue.js +9 -0
- package/dist/node_modules/lodash-es/_assocIndexOf.js +7 -0
- package/dist/node_modules/lodash-es/_baseAggregator.js +8 -0
- package/dist/node_modules/lodash-es/_baseAssign.js +7 -0
- package/dist/node_modules/lodash-es/_baseAssignIn.js +7 -0
- package/dist/node_modules/lodash-es/_baseAssignValue.js +11 -0
- package/dist/node_modules/lodash-es/_baseClone.js +56 -0
- package/dist/node_modules/lodash-es/_baseCreate.js +12 -0
- package/dist/node_modules/lodash-es/_baseDifference.js +22 -0
- package/dist/node_modules/lodash-es/_baseEach.js +4 -0
- package/dist/node_modules/lodash-es/_baseEvery.js +9 -0
- package/dist/node_modules/lodash-es/_baseExtremum.js +10 -0
- package/dist/node_modules/lodash-es/_baseFilter.js +9 -0
- package/dist/node_modules/lodash-es/_baseFindIndex.js +6 -0
- package/dist/node_modules/lodash-es/_baseFlatten.js +12 -0
- package/dist/node_modules/lodash-es/_baseFor.js +3 -0
- package/dist/node_modules/lodash-es/_baseForOwn.js +7 -0
- package/dist/node_modules/lodash-es/_baseGet.js +9 -0
- package/dist/node_modules/lodash-es/_baseGetAllKeys.js +8 -0
- package/dist/node_modules/lodash-es/_baseGetTag.js +9 -0
- package/dist/node_modules/lodash-es/_baseGt.js +5 -0
- package/dist/node_modules/lodash-es/_baseHas.js +6 -0
- package/dist/node_modules/lodash-es/_baseHasIn.js +5 -0
- package/dist/node_modules/lodash-es/_baseIndexOf.js +8 -0
- package/dist/node_modules/lodash-es/_baseIsArguments.js +8 -0
- package/dist/node_modules/lodash-es/_baseIsEqual.js +7 -0
- package/dist/node_modules/lodash-es/_baseIsEqualDeep.js +29 -0
- package/dist/node_modules/lodash-es/_baseIsMap.js +8 -0
- package/dist/node_modules/lodash-es/_baseIsMatch.js +25 -0
- package/dist/node_modules/lodash-es/_baseIsNaN.js +5 -0
- package/dist/node_modules/lodash-es/_baseIsNative.js +10 -0
- package/dist/node_modules/lodash-es/_baseIsRegExp.js +8 -0
- package/dist/node_modules/lodash-es/_baseIsSet.js +8 -0
- package/dist/node_modules/lodash-es/_baseIsTypedArray.js +10 -0
- package/dist/node_modules/lodash-es/_baseIteratee.js +10 -0
- package/dist/node_modules/lodash-es/_baseKeys.js +11 -0
- package/dist/node_modules/lodash-es/_baseKeysIn.js +12 -0
- package/dist/node_modules/lodash-es/_baseLt.js +5 -0
- package/dist/node_modules/lodash-es/_baseMap.js +10 -0
- package/dist/node_modules/lodash-es/_baseMatches.js +11 -0
- package/dist/node_modules/lodash-es/_baseMatchesProperty.js +16 -0
- package/dist/node_modules/lodash-es/_baseMerge.js +18 -0
- package/dist/node_modules/lodash-es/_baseMergeDeep.js +30 -0
- package/dist/node_modules/lodash-es/_baseOrderBy.js +30 -0
- package/dist/node_modules/lodash-es/_basePick.js +9 -0
- package/dist/node_modules/lodash-es/_basePickBy.js +12 -0
- package/dist/node_modules/lodash-es/_baseProperty.js +7 -0
- package/dist/node_modules/lodash-es/_basePropertyDeep.js +8 -0
- package/dist/node_modules/lodash-es/_baseRange.js +7 -0
- package/dist/node_modules/lodash-es/_baseReduce.js +7 -0
- package/dist/node_modules/lodash-es/_baseRest.js +8 -0
- package/dist/node_modules/lodash-es/_baseSet.js +21 -0
- package/dist/node_modules/lodash-es/_baseSetToString.js +12 -0
- package/dist/node_modules/lodash-es/_baseSlice.js +8 -0
- package/dist/node_modules/lodash-es/_baseSome.js +9 -0
- package/dist/node_modules/lodash-es/_baseSortBy.js +7 -0
- package/dist/node_modules/lodash-es/_baseTimes.js +6 -0
- package/dist/node_modules/lodash-es/_baseToString.js +14 -0
- package/dist/node_modules/lodash-es/_baseTrim.js +7 -0
- package/dist/node_modules/lodash-es/_baseUnary.js +7 -0
- package/dist/node_modules/lodash-es/_baseUniq.js +26 -0
- package/dist/node_modules/lodash-es/_baseValues.js +8 -0
- package/dist/node_modules/lodash-es/_baseZipObject.js +9 -0
- package/dist/node_modules/lodash-es/_cacheHas.js +5 -0
- package/dist/node_modules/lodash-es/_castFunction.js +6 -0
- package/dist/node_modules/lodash-es/_castPath.js +9 -0
- package/dist/node_modules/lodash-es/_cloneArrayBuffer.js +7 -0
- package/dist/node_modules/lodash-es/_cloneBuffer.js +9 -0
- package/dist/node_modules/lodash-es/_cloneDataView.js +7 -0
- package/dist/node_modules/lodash-es/_cloneRegExp.js +7 -0
- package/dist/node_modules/lodash-es/_cloneSymbol.js +7 -0
- package/dist/node_modules/lodash-es/_cloneTypedArray.js +7 -0
- package/dist/node_modules/lodash-es/_compareAscending.js +11 -0
- package/dist/node_modules/lodash-es/_compareMultiple.js +10 -0
- package/dist/node_modules/lodash-es/_copyArray.js +7 -0
- package/dist/node_modules/lodash-es/_copyObject.js +13 -0
- package/dist/node_modules/lodash-es/_copySymbols.js +7 -0
- package/dist/node_modules/lodash-es/_copySymbolsIn.js +7 -0
- package/dist/node_modules/lodash-es/_coreJsData.js +3 -0
- package/dist/node_modules/lodash-es/_createAggregator.js +12 -0
- package/dist/node_modules/lodash-es/_createAssigner.js +14 -0
- package/dist/node_modules/lodash-es/_createBaseEach.js +11 -0
- package/dist/node_modules/lodash-es/_createBaseFor.js +11 -0
- package/dist/node_modules/lodash-es/_createFind.js +18 -0
- package/dist/node_modules/lodash-es/_createRange.js +10 -0
- package/dist/node_modules/lodash-es/_createSet.js +7 -0
- package/dist/node_modules/lodash-es/_defineProperty.js +8 -0
- package/dist/node_modules/lodash-es/_equalArrays.js +34 -0
- package/dist/node_modules/lodash-es/_equalByTag.js +34 -0
- package/dist/node_modules/lodash-es/_equalObjects.js +31 -0
- package/dist/node_modules/lodash-es/_flatRest.js +8 -0
- package/dist/node_modules/lodash-es/_freeGlobal.js +2 -0
- package/dist/node_modules/lodash-es/_getAllKeys.js +8 -0
- package/dist/node_modules/lodash-es/_getAllKeysIn.js +8 -0
- package/dist/node_modules/lodash-es/_getMapData.js +7 -0
- package/dist/node_modules/lodash-es/_getMatchData.js +15 -0
- package/dist/node_modules/lodash-es/_getNative.js +8 -0
- package/dist/node_modules/lodash-es/_getPrototype.js +3 -0
- package/dist/node_modules/lodash-es/_getRawTag.js +13 -0
- package/dist/node_modules/lodash-es/_getSymbols.js +8 -0
- package/dist/node_modules/lodash-es/_getSymbolsIn.js +9 -0
- package/dist/node_modules/lodash-es/_getTag.js +21 -0
- package/dist/node_modules/lodash-es/_getValue.js +5 -0
- package/dist/node_modules/lodash-es/_hasPath.js +17 -0
- package/dist/node_modules/lodash-es/_hasUnicode.js +6 -0
- package/dist/node_modules/lodash-es/_hashClear.js +6 -0
- package/dist/node_modules/lodash-es/_hashDelete.js +6 -0
- package/dist/node_modules/lodash-es/_hashGet.js +12 -0
- package/dist/node_modules/lodash-es/_hashHas.js +8 -0
- package/dist/node_modules/lodash-es/_hashSet.js +8 -0
- package/dist/node_modules/lodash-es/_initCloneArray.js +7 -0
- package/dist/node_modules/lodash-es/_initCloneByTag.js +32 -0
- package/dist/node_modules/lodash-es/_initCloneObject.js +8 -0
- package/dist/node_modules/lodash-es/_isFlattenable.js +9 -0
- package/dist/node_modules/lodash-es/_isIndex.js +7 -0
- package/dist/node_modules/lodash-es/_isIterateeCall.js +11 -0
- package/dist/node_modules/lodash-es/_isKey.js +10 -0
- package/dist/node_modules/lodash-es/_isKeyable.js +6 -0
- package/dist/node_modules/lodash-es/_isMasked.js +10 -0
- package/dist/node_modules/lodash-es/_isPrototype.js +7 -0
- package/dist/node_modules/lodash-es/_isStrictComparable.js +6 -0
- package/dist/node_modules/lodash-es/_listCacheClear.js +5 -0
- package/dist/node_modules/lodash-es/_listCacheDelete.js +8 -0
- package/dist/node_modules/lodash-es/_listCacheGet.js +7 -0
- package/dist/node_modules/lodash-es/_listCacheHas.js +6 -0
- package/dist/node_modules/lodash-es/_listCacheSet.js +7 -0
- package/dist/node_modules/lodash-es/_mapCacheClear.js +12 -0
- package/dist/node_modules/lodash-es/_mapCacheDelete.js +7 -0
- package/dist/node_modules/lodash-es/_mapCacheGet.js +6 -0
- package/dist/node_modules/lodash-es/_mapCacheHas.js +6 -0
- package/dist/node_modules/lodash-es/_mapCacheSet.js +7 -0
- package/dist/node_modules/lodash-es/_mapToArray.js +8 -0
- package/dist/node_modules/lodash-es/_matchesStrictComparable.js +7 -0
- package/dist/node_modules/lodash-es/_memoizeCapped.js +10 -0
- package/dist/node_modules/lodash-es/_nativeCreate.js +3 -0
- package/dist/node_modules/lodash-es/_nativeKeys.js +3 -0
- package/dist/node_modules/lodash-es/_nativeKeysIn.js +7 -0
- package/dist/node_modules/lodash-es/_nodeUtil.js +7 -0
- package/dist/node_modules/lodash-es/_objectToString.js +6 -0
- package/dist/node_modules/lodash-es/_overArg.js +7 -0
- package/dist/node_modules/lodash-es/_overRest.js +12 -0
- package/dist/node_modules/lodash-es/_root.js +3 -0
- package/dist/node_modules/lodash-es/_safeGet.js +5 -0
- package/dist/node_modules/lodash-es/_setCacheAdd.js +6 -0
- package/dist/node_modules/lodash-es/_setCacheHas.js +5 -0
- package/dist/node_modules/lodash-es/_setToArray.js +8 -0
- package/dist/node_modules/lodash-es/_setToString.js +4 -0
- package/dist/node_modules/lodash-es/_shortOut.js +13 -0
- package/dist/node_modules/lodash-es/_stackClear.js +6 -0
- package/dist/node_modules/lodash-es/_stackDelete.js +6 -0
- package/dist/node_modules/lodash-es/_stackGet.js +5 -0
- package/dist/node_modules/lodash-es/_stackHas.js +5 -0
- package/dist/node_modules/lodash-es/_stackSet.js +15 -0
- package/dist/node_modules/lodash-es/_strictIndexOf.js +6 -0
- package/dist/node_modules/lodash-es/_stringSize.js +8 -0
- package/dist/node_modules/lodash-es/_stringToPath.js +8 -0
- package/dist/node_modules/lodash-es/_toKey.js +9 -0
- package/dist/node_modules/lodash-es/_toSource.js +14 -0
- package/dist/node_modules/lodash-es/_trimmedEndIndex.js +7 -0
- package/dist/node_modules/lodash-es/_unicodeSize.js +17 -0
- package/dist/node_modules/lodash-es/assign.js +14 -0
- package/dist/node_modules/lodash-es/clone.js +7 -0
- package/dist/node_modules/lodash-es/cloneDeep.js +7 -0
- package/dist/node_modules/lodash-es/compact.js +9 -0
- package/dist/node_modules/lodash-es/constant.js +7 -0
- package/dist/node_modules/lodash-es/defaults.js +14 -0
- package/dist/node_modules/lodash-es/difference.js +8 -0
- package/dist/node_modules/lodash-es/drop.js +8 -0
- package/dist/node_modules/lodash-es/dropRight.js +8 -0
- package/dist/node_modules/lodash-es/eq.js +5 -0
- package/dist/node_modules/lodash-es/every.js +11 -0
- package/dist/node_modules/lodash-es/filter.js +9 -0
- package/dist/node_modules/lodash-es/find.js +4 -0
- package/dist/node_modules/lodash-es/findIndex.js +12 -0
- package/dist/node_modules/lodash-es/flatMap.js +7 -0
- package/dist/node_modules/lodash-es/flatten.js +6 -0
- package/dist/node_modules/lodash-es/forEach.js +9 -0
- package/dist/node_modules/lodash-es/forIn.js +8 -0
- package/dist/node_modules/lodash-es/forOwn.js +7 -0
- package/dist/node_modules/lodash-es/get.js +7 -0
- package/dist/node_modules/lodash-es/groupBy.js +6 -0
- package/dist/node_modules/lodash-es/has.js +7 -0
- package/dist/node_modules/lodash-es/hasIn.js +7 -0
- package/dist/node_modules/lodash-es/head.js +5 -0
- package/dist/node_modules/lodash-es/identity.js +5 -0
- package/dist/node_modules/lodash-es/includes.js +13 -0
- package/dist/node_modules/lodash-es/indexOf.js +11 -0
- package/dist/node_modules/lodash-es/isArguments.js +8 -0
- package/dist/node_modules/lodash-es/isArray.js +2 -0
- package/dist/node_modules/lodash-es/isArrayLike.js +7 -0
- package/dist/node_modules/lodash-es/isArrayLikeObject.js +7 -0
- package/dist/node_modules/lodash-es/isBuffer.js +4 -0
- package/dist/node_modules/lodash-es/isEmpty.js +20 -0
- package/dist/node_modules/lodash-es/isFunction.js +10 -0
- package/dist/node_modules/lodash-es/isLength.js +6 -0
- package/dist/node_modules/lodash-es/isMap.js +5 -0
- package/dist/node_modules/lodash-es/isObject.js +6 -0
- package/dist/node_modules/lodash-es/isObjectLike.js +5 -0
- package/dist/node_modules/lodash-es/isPlainObject.js +13 -0
- package/dist/node_modules/lodash-es/isRegExp.js +5 -0
- package/dist/node_modules/lodash-es/isSet.js +5 -0
- package/dist/node_modules/lodash-es/isString.js +9 -0
- package/dist/node_modules/lodash-es/isSymbol.js +8 -0
- package/dist/node_modules/lodash-es/isTypedArray.js +5 -0
- package/dist/node_modules/lodash-es/isUndefined.js +5 -0
- package/dist/node_modules/lodash-es/keys.js +8 -0
- package/dist/node_modules/lodash-es/keysIn.js +8 -0
- package/dist/node_modules/lodash-es/last.js +6 -0
- package/dist/node_modules/lodash-es/map.js +9 -0
- package/dist/node_modules/lodash-es/mapValues.js +11 -0
- package/dist/node_modules/lodash-es/max.js +8 -0
- package/dist/node_modules/lodash-es/memoize.js +15 -0
- package/dist/node_modules/lodash-es/merge.js +6 -0
- package/dist/node_modules/lodash-es/min.js +8 -0
- package/dist/node_modules/lodash-es/minBy.js +8 -0
- package/dist/node_modules/lodash-es/negate.js +16 -0
- package/dist/node_modules/lodash-es/noop.js +3 -0
- package/dist/node_modules/lodash-es/now.js +5 -0
- package/dist/node_modules/lodash-es/pick.js +6 -0
- package/dist/node_modules/lodash-es/pickBy.js +15 -0
- package/dist/node_modules/lodash-es/property.js +9 -0
- package/dist/node_modules/lodash-es/range.js +3 -0
- package/dist/node_modules/lodash-es/reduce.js +11 -0
- package/dist/node_modules/lodash-es/reject.js +10 -0
- package/dist/node_modules/lodash-es/size.js +14 -0
- package/dist/node_modules/lodash-es/some.js +11 -0
- package/dist/node_modules/lodash-es/sortBy.js +10 -0
- package/dist/node_modules/lodash-es/stubArray.js +5 -0
- package/dist/node_modules/lodash-es/stubFalse.js +5 -0
- package/dist/node_modules/lodash-es/toFinite.js +7 -0
- package/dist/node_modules/lodash-es/toInteger.js +7 -0
- package/dist/node_modules/lodash-es/toNumber.js +18 -0
- package/dist/node_modules/lodash-es/toPlainObject.js +7 -0
- package/dist/node_modules/lodash-es/toString.js +6 -0
- package/dist/node_modules/lodash-es/union.js +8 -0
- package/dist/node_modules/lodash-es/uniq.js +6 -0
- package/dist/node_modules/lodash-es/uniqBy.js +7 -0
- package/dist/node_modules/lodash-es/uniqueId.js +8 -0
- package/dist/node_modules/lodash-es/values.js +7 -0
- package/dist/node_modules/lodash-es/zipObject.js +7 -0
- package/dist/node_modules/longest-streak/index.js +7 -0
- package/dist/node_modules/markdown-table/index.js +57 -0
- package/dist/node_modules/marked/lib/marked.esm.js +1384 -0
- package/dist/node_modules/mdast-util-find-and-replace/lib/index.js +59 -0
- package/dist/node_modules/mdast-util-find-and-replace/node_modules/escape-string-regexp/index.js +5 -0
- package/dist/node_modules/mdast-util-gfm/lib/index.js +24 -0
- package/dist/node_modules/mdast-util-gfm-autolink-literal/lib/index.js +127 -0
- package/dist/node_modules/mdast-util-gfm-footnote/lib/index.js +95 -0
- package/dist/node_modules/mdast-util-gfm-strikethrough/lib/index.js +47 -0
- package/dist/node_modules/mdast-util-gfm-table/lib/index.js +135 -0
- package/dist/node_modules/mdast-util-gfm-task-list-item/lib/index.js +56 -0
- package/dist/node_modules/mdast-util-math/lib/index.js +142 -0
- package/dist/node_modules/mdast-util-phrasing/lib/index.js +20 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/blockquote.js +10 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/break.js +7 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/code.js +34 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/definition.js +22 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/emphasis.js +23 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/heading.js +22 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/html.js +8 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/image-reference.js +21 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/image.js +26 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/index.js +42 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/inline-code.js +17 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/link-reference.js +21 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/link.js +39 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/list-item.js +16 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/list.js +24 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/paragraph.js +5 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/root.js +7 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/strong.js +23 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/text.js +4 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/thematic-break.js +7 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/util/check-bullet-ordered.js +6 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/util/check-bullet-other.js +9 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/util/check-bullet.js +6 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/util/check-emphasis.js +6 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/util/check-fence.js +6 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/util/check-list-item-indent.js +6 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/util/check-quote.js +6 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/util/check-rule-repetition.js +6 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/util/check-rule.js +6 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/util/check-strong.js +6 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/util/encode-character-reference.js +4 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/util/encode-info.js +36 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/util/format-code-as-indented.js +4 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/util/format-heading-as-setext.js +10 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/util/format-link-as-autolink.js +6 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/util/pattern-in-scope.js +10 -0
- package/dist/node_modules/mdast-util-to-string/lib/index.js +22 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/architectureDiagram-VXUJARFQ.js +673 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/blockDiagram-VD42YOAC.js +3010 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/c4Diagram-YG6GDRKO.js +2955 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-4BX2VUAB.js +6 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-55IACEB6.js +8 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-ABZYJK2D.js +1547 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-AGHRB4JF.js +29 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-ATLVNIR6.js +65 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-B4BG7PRW.js +3110 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-CVBHYZKI.js +10 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-DI55MBZ5.js +1994 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-DR5Q36YT.js +135 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-EXTU4WIE.js +9 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-FMBD7UC4.js +3 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-HN2XXSSU.js +74 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-JA3XYJ7Z.js +247 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-JZLCHNYA.js +3516 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-MI3HLSF2.js +1140 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-N4CR4FBY.js +39 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-QN33PNHL.js +23 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-QXUST7PY.js +497 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-QZHKN3VN.js +11 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-S3R3BYOJ.js +338 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-TZMSLE5B.js +55 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/classDiagram-2ON5EDUG.js +26 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/classDiagram-v2-WZHVMYZB.js +26 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/cose-bilkent-S5V4N54A.js +219 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/dagre-6UL2VRFP.js +263 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/diagram-PSM6KHXK.js +283 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/diagram-QEK2KX5R.js +211 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/diagram-S2PKOQOG.js +129 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/erDiagram-Q2GNP2WA.js +1599 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/flowDiagram-NV44I4VS.js +4128 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/ganttDiagram-JELNMOA3.js +1688 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/gitGraphDiagram-V2S2FVAM.js +621 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/infoDiagram-HS3SLOUP.js +18 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/journeyDiagram-XKPGCS4Q.js +883 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/kanban-definition-3W4ZIXB7.js +970 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/mindmap-definition-VGOIOE7T.js +931 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/pieDiagram-ADFJNKIX.js +117 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/quadrantDiagram-AYHSOK5B.js +1970 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/requirementDiagram-UZGBJVZJ.js +2187 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/sankeyDiagram-TZEHDZUN.js +519 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/sequenceDiagram-WL72ISMW.js +3560 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/stateDiagram-FKZM4ZOC.js +220 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/stateDiagram-v2-4FDKWEC3.js +25 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/timeline-definition-IT6M3QCI.js +833 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/xychartDiagram-PRI3JC2R.js +1975 -0
- package/dist/node_modules/mermaid/dist/mermaid.core.js +662 -0
- package/dist/node_modules/micromark-core-commonmark/lib/blank-line.js +16 -0
- package/dist/node_modules/micromark-extension-gfm/index.js +16 -0
- package/dist/node_modules/micromark-extension-gfm-autolink-literal/lib/syntax.js +172 -0
- package/dist/node_modules/micromark-extension-gfm-footnote/lib/syntax.js +191 -0
- package/dist/node_modules/micromark-extension-gfm-strikethrough/lib/syntax.js +94 -0
- package/dist/node_modules/micromark-extension-gfm-table/lib/edit-map.js +41 -0
- package/dist/node_modules/micromark-extension-gfm-table/lib/infer.js +18 -0
- package/dist/node_modules/micromark-extension-gfm-table/lib/syntax.js +199 -0
- package/dist/node_modules/micromark-extension-gfm-task-list-item/lib/syntax.js +32 -0
- package/dist/node_modules/micromark-extension-math/lib/math-flow.js +72 -0
- package/dist/node_modules/micromark-extension-math/lib/math-text.js +44 -0
- package/dist/node_modules/micromark-extension-math/lib/syntax.js +9 -0
- package/dist/node_modules/micromark-factory-space/index.js +12 -0
- package/dist/node_modules/micromark-util-character/index.js +21 -0
- package/dist/node_modules/micromark-util-chunked/index.js +6 -0
- package/dist/node_modules/micromark-util-classify-character/index.js +6 -0
- package/dist/node_modules/micromark-util-combine-extensions/index.js +24 -0
- package/dist/node_modules/micromark-util-normalize-identifier/index.js +4 -0
- package/dist/node_modules/micromark-util-resolve-all/index.js +9 -0
- package/dist/node_modules/property-information/index.js +23 -0
- package/dist/node_modules/property-information/lib/aria.js +59 -0
- package/dist/node_modules/property-information/lib/find.js +29 -0
- package/dist/node_modules/property-information/lib/html.js +314 -0
- package/dist/node_modules/property-information/lib/normalize.js +4 -0
- package/dist/node_modules/property-information/lib/svg.js +560 -0
- package/dist/node_modules/property-information/lib/util/case-insensitive-transform.js +5 -0
- package/dist/node_modules/property-information/lib/util/case-sensitive-transform.js +4 -0
- package/dist/node_modules/property-information/lib/util/create.js +12 -0
- package/dist/node_modules/property-information/lib/util/defined-info.js +16 -0
- package/dist/node_modules/property-information/lib/util/info.js +7 -0
- package/dist/node_modules/property-information/lib/util/merge.js +7 -0
- package/dist/node_modules/property-information/lib/util/schema.js +7 -0
- package/dist/node_modules/property-information/lib/util/types.js +15 -0
- package/dist/node_modules/property-information/lib/xlink.js +17 -0
- package/dist/node_modules/property-information/lib/xml.js +13 -0
- package/dist/node_modules/property-information/lib/xmlns.js +12 -0
- package/dist/node_modules/rehype-katex/lib/index.js +60 -0
- package/dist/node_modules/remark-gfm/lib/index.js +8 -0
- package/dist/node_modules/remark-math/lib/index.js +8 -0
- package/dist/node_modules/roughjs/bundled/rough.esm.js +1350 -0
- package/dist/node_modules/space-separated-tokens/index.js +5 -0
- package/dist/node_modules/stylis/src/Enum.js +2 -0
- package/dist/node_modules/stylis/src/Parser.js +93 -0
- package/dist/node_modules/stylis/src/Serializer.js +19 -0
- package/dist/node_modules/stylis/src/Tokenizer.js +104 -0
- package/dist/node_modules/stylis/src/Utility.js +26 -0
- package/dist/node_modules/ts-dedent/esm/index.js +25 -0
- package/dist/node_modules/unist-util-find-after/lib/index.js +10 -0
- package/dist/node_modules/unist-util-is/lib/index.js +45 -0
- package/dist/node_modules/unist-util-visit/lib/index.js +10 -0
- package/dist/node_modules/unist-util-visit-parents/lib/color.js +4 -0
- package/dist/node_modules/unist-util-visit-parents/lib/index.js +35 -0
- package/dist/node_modules/uuid/dist/esm-browser/native.js +2 -0
- package/dist/node_modules/uuid/dist/esm-browser/rng.js +9 -0
- package/dist/node_modules/uuid/dist/esm-browser/stringify.js +6 -0
- package/dist/node_modules/uuid/dist/esm-browser/v4.js +17 -0
- package/dist/node_modules/vscode-jsonrpc/browser.js +7 -0
- package/dist/node_modules/vscode-jsonrpc/lib/browser/main.js +52 -0
- package/dist/node_modules/vscode-jsonrpc/lib/browser/ril.js +120 -0
- package/dist/node_modules/vscode-jsonrpc/lib/common/api.js +337 -0
- package/dist/node_modules/vscode-jsonrpc/lib/common/cancellation.js +57 -0
- package/dist/node_modules/vscode-jsonrpc/lib/common/connection.js +647 -0
- package/dist/node_modules/vscode-jsonrpc/lib/common/disposable.js +13 -0
- package/dist/node_modules/vscode-jsonrpc/lib/common/events.js +64 -0
- package/dist/node_modules/vscode-jsonrpc/lib/common/is.js +34 -0
- package/dist/node_modules/vscode-jsonrpc/lib/common/linkedMap.js +235 -0
- package/dist/node_modules/vscode-jsonrpc/lib/common/messageBuffer.js +93 -0
- package/dist/node_modules/vscode-jsonrpc/lib/common/messageReader.js +129 -0
- package/dist/node_modules/vscode-jsonrpc/lib/common/messageWriter.js +85 -0
- package/dist/node_modules/vscode-jsonrpc/lib/common/messages.js +161 -0
- package/dist/node_modules/vscode-jsonrpc/lib/common/ral.js +18 -0
- package/dist/node_modules/vscode-jsonrpc/lib/common/semaphore.js +44 -0
- package/dist/node_modules/vscode-jsonrpc/lib/common/sharedArrayCancellation.js +58 -0
- package/dist/node_modules/vscode-languageserver-protocol/lib/browser/main.js +28 -0
- package/dist/node_modules/vscode-languageserver-protocol/lib/common/api.js +36 -0
- package/dist/node_modules/vscode-languageserver-protocol/lib/common/connection.js +12 -0
- package/dist/node_modules/vscode-languageserver-protocol/lib/common/messages.js +31 -0
- package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.callHierarchy.js +19 -0
- package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.colorProvider.js +15 -0
- package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.configuration.js +11 -0
- package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.declaration.js +11 -0
- package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.diagnostic.js +33 -0
- package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.fileOperations.js +35 -0
- package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.foldingRange.js +15 -0
- package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.implementation.js +11 -0
- package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.inlayHint.js +19 -0
- package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.inlineCompletion.js +11 -0
- package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.inlineValue.js +15 -0
- package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.js +674 -0
- package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.linkedEditingRange.js +11 -0
- package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.moniker.js +19 -0
- package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.notebook.js +126 -0
- package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.progress.js +24 -0
- package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.selectionRange.js +11 -0
- package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.semanticTokens.js +31 -0
- package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.showDocument.js +11 -0
- package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.typeDefinition.js +11 -0
- package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.typeHierarchy.js +19 -0
- package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.workspaceFolder.js +15 -0
- package/dist/node_modules/vscode-languageserver-protocol/lib/common/utils/is.js +42 -0
- package/dist/node_modules/vscode-languageserver-textdocument/lib/esm/main.js +138 -0
- package/dist/node_modules/vscode-languageserver-types/lib/esm/main.js +1084 -0
- package/dist/node_modules/vscode-uri/lib/esm/index.js +373 -0
- package/dist/node_modules/web-namespaces/index.js +9 -0
- package/dist/pages/WorkspacePage.js +63 -0
- package/dist/pages/WorkspacesPage.js +36 -0
- package/package.json +32 -32
|
@@ -0,0 +1,1547 @@
|
|
|
1
|
+
import { __export, __name, log, setLogLevel } from "./chunk-AGHRB4JF.js";
|
|
2
|
+
import rgba_default from "../../../../khroma/dist/methods/rgba.js";
|
|
3
|
+
import is_dark_default from "../../../../khroma/dist/methods/is_dark.js";
|
|
4
|
+
import lighten_default from "../../../../khroma/dist/methods/lighten.js";
|
|
5
|
+
import darken_default from "../../../../khroma/dist/methods/darken.js";
|
|
6
|
+
import adjust_default from "../../../../khroma/dist/methods/adjust.js";
|
|
7
|
+
import invert_default from "../../../../khroma/dist/methods/invert.js";
|
|
8
|
+
import { purify } from "../../../../dompurify/dist/purify.es.js";
|
|
9
|
+
var frontMatterRegex = /^-{3}\s*[\n\r](.*?)[\n\r]-{3}\s*[\n\r]+/s, directiveRegex = /%{2}{\s*(?:(\w+)\s*:|(\w+))\s*(?:(\w+)|((?:(?!}%{2}).|\r?\n)*))?\s*(?:}%{2})?/gi, anyCommentRegex = /\s*%%.*\n/gm, UnknownDiagramError = class extends Error {
|
|
10
|
+
static #e = __name(this, "UnknownDiagramError");
|
|
11
|
+
constructor(h) {
|
|
12
|
+
super(h), this.name = "UnknownDiagramError";
|
|
13
|
+
}
|
|
14
|
+
}, detectors = {}, detectType = /* @__PURE__ */ __name(function(h, W) {
|
|
15
|
+
h = h.replace(frontMatterRegex, "").replace(directiveRegex, "").replace(anyCommentRegex, "\n");
|
|
16
|
+
for (let [G, { detector: K }] of Object.entries(detectors)) if (K(h, W)) return G;
|
|
17
|
+
throw new UnknownDiagramError(`No diagram type detected matching given configuration for text: ${h}`);
|
|
18
|
+
}, "detectType"), registerLazyLoadedDiagrams = /* @__PURE__ */ __name((...h) => {
|
|
19
|
+
for (let { id: W, detector: G, loader: K } of h) addDetector(W, G, K);
|
|
20
|
+
}, "registerLazyLoadedDiagrams"), addDetector = /* @__PURE__ */ __name((h, W, K) => {
|
|
21
|
+
detectors[h] && log.warn(`Detector with key ${h} already exists. Overwriting.`), detectors[h] = {
|
|
22
|
+
detector: W,
|
|
23
|
+
loader: K
|
|
24
|
+
}, log.debug(`Detector with key ${h} added${K ? " with loader" : ""}`);
|
|
25
|
+
}, "addDetector"), getDiagramLoader = /* @__PURE__ */ __name((h) => detectors[h].loader, "getDiagramLoader"), assignWithDepth = /* @__PURE__ */ __name((h, W, { depth: G = 2, clobber: K = !1 } = {}) => {
|
|
26
|
+
let q = {
|
|
27
|
+
depth: G,
|
|
28
|
+
clobber: K
|
|
29
|
+
};
|
|
30
|
+
return Array.isArray(W) && !Array.isArray(h) ? (W.forEach((W) => assignWithDepth(h, W, q)), h) : Array.isArray(W) && Array.isArray(h) ? (W.forEach((W) => {
|
|
31
|
+
h.includes(W) || h.push(W);
|
|
32
|
+
}), h) : h === void 0 || G <= 0 ? typeof h == "object" && h && typeof W == "object" ? Object.assign(h, W) : W : (W !== void 0 && typeof h == "object" && typeof W == "object" && Object.keys(W).forEach((q) => {
|
|
33
|
+
typeof W[q] == "object" && (h[q] === void 0 || typeof h[q] == "object") ? (h[q] === void 0 && (h[q] = Array.isArray(W[q]) ? [] : {}), h[q] = assignWithDepth(h[q], W[q], {
|
|
34
|
+
depth: G - 1,
|
|
35
|
+
clobber: K
|
|
36
|
+
})) : (K || typeof h[q] != "object" && typeof W[q] != "object") && (h[q] = W[q]);
|
|
37
|
+
}), h);
|
|
38
|
+
}, "assignWithDepth"), assignWithDepth_default = assignWithDepth, oldAttributeBackgroundColorOdd = "#ffffff", oldAttributeBackgroundColorEven = "#f2f2f2", mkBorder = /* @__PURE__ */ __name((h, W) => W ? adjust_default(h, {
|
|
39
|
+
s: -40,
|
|
40
|
+
l: 10
|
|
41
|
+
}) : adjust_default(h, {
|
|
42
|
+
s: -40,
|
|
43
|
+
l: -10
|
|
44
|
+
}), "mkBorder"), Theme = class {
|
|
45
|
+
static #e = __name(this, "Theme");
|
|
46
|
+
constructor() {
|
|
47
|
+
this.background = "#f4f4f4", this.primaryColor = "#fff4dd", this.noteBkgColor = "#fff5ad", this.noteTextColor = "#333", this.THEME_COLOR_LIMIT = 12, this.fontFamily = "\"trebuchet ms\", verdana, arial, sans-serif", this.fontSize = "16px";
|
|
48
|
+
}
|
|
49
|
+
updateColors() {
|
|
50
|
+
if (this.primaryTextColor = this.primaryTextColor || (this.darkMode ? "#eee" : "#333"), this.secondaryColor = this.secondaryColor || adjust_default(this.primaryColor, { h: -120 }), this.tertiaryColor = this.tertiaryColor || adjust_default(this.primaryColor, {
|
|
51
|
+
h: 180,
|
|
52
|
+
l: 5
|
|
53
|
+
}), this.primaryBorderColor = this.primaryBorderColor || mkBorder(this.primaryColor, this.darkMode), this.secondaryBorderColor = this.secondaryBorderColor || mkBorder(this.secondaryColor, this.darkMode), this.tertiaryBorderColor = this.tertiaryBorderColor || mkBorder(this.tertiaryColor, this.darkMode), this.noteBorderColor = this.noteBorderColor || mkBorder(this.noteBkgColor, this.darkMode), this.noteBkgColor = this.noteBkgColor || "#fff5ad", this.noteTextColor = this.noteTextColor || "#333", this.secondaryTextColor = this.secondaryTextColor || invert_default(this.secondaryColor), this.tertiaryTextColor = this.tertiaryTextColor || invert_default(this.tertiaryColor), this.lineColor = this.lineColor || invert_default(this.background), this.arrowheadColor = this.arrowheadColor || invert_default(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 ? darken_default(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 || darken_default(this.secondaryColor, 10), this.activationBkgColor = this.activationBkgColor || this.secondaryColor, this.sequenceNumberColor = this.sequenceNumberColor || invert_default(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 || lighten_default(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.personBorder = this.personBorder || this.primaryBorderColor, this.personBkg = this.personBkg || this.mainBkg, this.darkMode ? (this.rowOdd = this.rowOdd || darken_default(this.mainBkg, 5) || "#ffffff", this.rowEven = this.rowEven || darken_default(this.mainBkg, 10)) : (this.rowOdd = this.rowOdd || lighten_default(this.mainBkg, 75) || "#ffffff", this.rowEven = this.rowEven || lighten_default(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 || adjust_default(this.primaryColor, { h: 30 }), this.cScale4 = this.cScale4 || adjust_default(this.primaryColor, { h: 60 }), this.cScale5 = this.cScale5 || adjust_default(this.primaryColor, { h: 90 }), this.cScale6 = this.cScale6 || adjust_default(this.primaryColor, { h: 120 }), this.cScale7 = this.cScale7 || adjust_default(this.primaryColor, { h: 150 }), this.cScale8 = this.cScale8 || adjust_default(this.primaryColor, {
|
|
54
|
+
h: 210,
|
|
55
|
+
l: 150
|
|
56
|
+
}), this.cScale9 = this.cScale9 || adjust_default(this.primaryColor, { h: 270 }), this.cScale10 = this.cScale10 || adjust_default(this.primaryColor, { h: 300 }), this.cScale11 = this.cScale11 || adjust_default(this.primaryColor, { h: 330 }), this.darkMode) for (let h = 0; h < this.THEME_COLOR_LIMIT; h++) this["cScale" + h] = darken_default(this["cScale" + h], 75);
|
|
57
|
+
else for (let h = 0; h < this.THEME_COLOR_LIMIT; h++) this["cScale" + h] = darken_default(this["cScale" + h], 25);
|
|
58
|
+
for (let h = 0; h < this.THEME_COLOR_LIMIT; h++) this["cScaleInv" + h] = this["cScaleInv" + h] || invert_default(this["cScale" + h]);
|
|
59
|
+
for (let h = 0; h < this.THEME_COLOR_LIMIT; h++) this.darkMode ? this["cScalePeer" + h] = this["cScalePeer" + h] || lighten_default(this["cScale" + h], 10) : this["cScalePeer" + h] = this["cScalePeer" + h] || darken_default(this["cScale" + h], 10);
|
|
60
|
+
this.scaleLabelColor = this.scaleLabelColor || this.labelTextColor;
|
|
61
|
+
for (let h = 0; h < this.THEME_COLOR_LIMIT; h++) this["cScaleLabel" + h] = this["cScaleLabel" + h] || this.scaleLabelColor;
|
|
62
|
+
let h = this.darkMode ? -4 : -1;
|
|
63
|
+
for (let W = 0; W < 5; W++) this["surface" + W] = this["surface" + W] || adjust_default(this.mainBkg, {
|
|
64
|
+
h: 180,
|
|
65
|
+
s: -15,
|
|
66
|
+
l: h * (5 + W * 3)
|
|
67
|
+
}), this["surfacePeer" + W] = this["surfacePeer" + W] || adjust_default(this.mainBkg, {
|
|
68
|
+
h: 180,
|
|
69
|
+
s: -15,
|
|
70
|
+
l: h * (8 + W * 3)
|
|
71
|
+
});
|
|
72
|
+
this.classText = this.classText || this.textColor, this.fillType0 = this.fillType0 || this.primaryColor, this.fillType1 = this.fillType1 || this.secondaryColor, this.fillType2 = this.fillType2 || adjust_default(this.primaryColor, { h: 64 }), this.fillType3 = this.fillType3 || adjust_default(this.secondaryColor, { h: 64 }), this.fillType4 = this.fillType4 || adjust_default(this.primaryColor, { h: -64 }), this.fillType5 = this.fillType5 || adjust_default(this.secondaryColor, { h: -64 }), this.fillType6 = this.fillType6 || adjust_default(this.primaryColor, { h: 128 }), this.fillType7 = this.fillType7 || adjust_default(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 || adjust_default(this.primaryColor, { l: -10 }), this.pie5 = this.pie5 || adjust_default(this.secondaryColor, { l: -10 }), this.pie6 = this.pie6 || adjust_default(this.tertiaryColor, { l: -10 }), this.pie7 = this.pie7 || adjust_default(this.primaryColor, {
|
|
73
|
+
h: 60,
|
|
74
|
+
l: -10
|
|
75
|
+
}), this.pie8 = this.pie8 || adjust_default(this.primaryColor, {
|
|
76
|
+
h: -60,
|
|
77
|
+
l: -10
|
|
78
|
+
}), this.pie9 = this.pie9 || adjust_default(this.primaryColor, {
|
|
79
|
+
h: 120,
|
|
80
|
+
l: 0
|
|
81
|
+
}), this.pie10 = this.pie10 || adjust_default(this.primaryColor, {
|
|
82
|
+
h: 60,
|
|
83
|
+
l: -20
|
|
84
|
+
}), this.pie11 = this.pie11 || adjust_default(this.primaryColor, {
|
|
85
|
+
h: -60,
|
|
86
|
+
l: -20
|
|
87
|
+
}), this.pie12 = this.pie12 || adjust_default(this.primaryColor, {
|
|
88
|
+
h: 120,
|
|
89
|
+
l: -10
|
|
90
|
+
}), 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.radar = {
|
|
91
|
+
axisColor: this.radar?.axisColor || this.lineColor,
|
|
92
|
+
axisStrokeWidth: this.radar?.axisStrokeWidth || 2,
|
|
93
|
+
axisLabelFontSize: this.radar?.axisLabelFontSize || 12,
|
|
94
|
+
curveOpacity: this.radar?.curveOpacity || .5,
|
|
95
|
+
curveStrokeWidth: this.radar?.curveStrokeWidth || 2,
|
|
96
|
+
graticuleColor: this.radar?.graticuleColor || "#DEDEDE",
|
|
97
|
+
graticuleStrokeWidth: this.radar?.graticuleStrokeWidth || 1,
|
|
98
|
+
graticuleOpacity: this.radar?.graticuleOpacity || .3,
|
|
99
|
+
legendBoxSize: this.radar?.legendBoxSize || 12,
|
|
100
|
+
legendFontSize: this.radar?.legendFontSize || 12
|
|
101
|
+
}, 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 || adjust_default(this.primaryColor, {
|
|
102
|
+
r: 5,
|
|
103
|
+
g: 5,
|
|
104
|
+
b: 5
|
|
105
|
+
}), this.quadrant3Fill = this.quadrant3Fill || adjust_default(this.primaryColor, {
|
|
106
|
+
r: 10,
|
|
107
|
+
g: 10,
|
|
108
|
+
b: 10
|
|
109
|
+
}), this.quadrant4Fill = this.quadrant4Fill || adjust_default(this.primaryColor, {
|
|
110
|
+
r: 15,
|
|
111
|
+
g: 15,
|
|
112
|
+
b: 15
|
|
113
|
+
}), this.quadrant1TextFill = this.quadrant1TextFill || this.primaryTextColor, this.quadrant2TextFill = this.quadrant2TextFill || adjust_default(this.primaryTextColor, {
|
|
114
|
+
r: -5,
|
|
115
|
+
g: -5,
|
|
116
|
+
b: -5
|
|
117
|
+
}), this.quadrant3TextFill = this.quadrant3TextFill || adjust_default(this.primaryTextColor, {
|
|
118
|
+
r: -10,
|
|
119
|
+
g: -10,
|
|
120
|
+
b: -10
|
|
121
|
+
}), this.quadrant4TextFill = this.quadrant4TextFill || adjust_default(this.primaryTextColor, {
|
|
122
|
+
r: -15,
|
|
123
|
+
g: -15,
|
|
124
|
+
b: -15
|
|
125
|
+
}), this.quadrantPointFill = this.quadrantPointFill || is_dark_default(this.quadrant1Fill) ? lighten_default(this.quadrant1Fill) : darken_default(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 = {
|
|
126
|
+
backgroundColor: this.xyChart?.backgroundColor || this.background,
|
|
127
|
+
titleColor: this.xyChart?.titleColor || this.primaryTextColor,
|
|
128
|
+
xAxisTitleColor: this.xyChart?.xAxisTitleColor || this.primaryTextColor,
|
|
129
|
+
xAxisLabelColor: this.xyChart?.xAxisLabelColor || this.primaryTextColor,
|
|
130
|
+
xAxisTickColor: this.xyChart?.xAxisTickColor || this.primaryTextColor,
|
|
131
|
+
xAxisLineColor: this.xyChart?.xAxisLineColor || this.primaryTextColor,
|
|
132
|
+
yAxisTitleColor: this.xyChart?.yAxisTitleColor || this.primaryTextColor,
|
|
133
|
+
yAxisLabelColor: this.xyChart?.yAxisLabelColor || this.primaryTextColor,
|
|
134
|
+
yAxisTickColor: this.xyChart?.yAxisTickColor || this.primaryTextColor,
|
|
135
|
+
yAxisLineColor: this.xyChart?.yAxisLineColor || this.primaryTextColor,
|
|
136
|
+
plotColorPalette: this.xyChart?.plotColorPalette || "#FFF4DD,#FFD8B1,#FFA07A,#ECEFF1,#D6DBDF,#C3E0A8,#FFB6A4,#FFD74D,#738FA7,#FFFFF0"
|
|
137
|
+
}, 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 ? darken_default(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 || adjust_default(this.primaryColor, { h: -30 }), this.git4 = this.git4 || adjust_default(this.primaryColor, { h: -60 }), this.git5 = this.git5 || adjust_default(this.primaryColor, { h: -90 }), this.git6 = this.git6 || adjust_default(this.primaryColor, { h: 60 }), this.git7 = this.git7 || adjust_default(this.primaryColor, { h: 120 }), this.darkMode ? (this.git0 = lighten_default(this.git0, 25), this.git1 = lighten_default(this.git1, 25), this.git2 = lighten_default(this.git2, 25), this.git3 = lighten_default(this.git3, 25), this.git4 = lighten_default(this.git4, 25), this.git5 = lighten_default(this.git5, 25), this.git6 = lighten_default(this.git6, 25), this.git7 = lighten_default(this.git7, 25)) : (this.git0 = darken_default(this.git0, 25), this.git1 = darken_default(this.git1, 25), this.git2 = darken_default(this.git2, 25), this.git3 = darken_default(this.git3, 25), this.git4 = darken_default(this.git4, 25), this.git5 = darken_default(this.git5, 25), this.git6 = darken_default(this.git6, 25), this.git7 = darken_default(this.git7, 25)), this.gitInv0 = this.gitInv0 || invert_default(this.git0), this.gitInv1 = this.gitInv1 || invert_default(this.git1), this.gitInv2 = this.gitInv2 || invert_default(this.git2), this.gitInv3 = this.gitInv3 || invert_default(this.git3), this.gitInv4 = this.gitInv4 || invert_default(this.git4), this.gitInv5 = this.gitInv5 || invert_default(this.git5), this.gitInv6 = this.gitInv6 || invert_default(this.git6), this.gitInv7 = this.gitInv7 || invert_default(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 || oldAttributeBackgroundColorOdd, this.attributeBackgroundColorEven = this.attributeBackgroundColorEven || oldAttributeBackgroundColorEven;
|
|
138
|
+
}
|
|
139
|
+
calculate(h) {
|
|
140
|
+
if (typeof h != "object") {
|
|
141
|
+
this.updateColors();
|
|
142
|
+
return;
|
|
143
|
+
}
|
|
144
|
+
let W = Object.keys(h);
|
|
145
|
+
W.forEach((W) => {
|
|
146
|
+
this[W] = h[W];
|
|
147
|
+
}), this.updateColors(), W.forEach((W) => {
|
|
148
|
+
this[W] = h[W];
|
|
149
|
+
});
|
|
150
|
+
}
|
|
151
|
+
}, getThemeVariables = /* @__PURE__ */ __name((h) => {
|
|
152
|
+
let W = new Theme();
|
|
153
|
+
return W.calculate(h), W;
|
|
154
|
+
}, "getThemeVariables"), Theme2 = class {
|
|
155
|
+
static #e = __name(this, "Theme");
|
|
156
|
+
constructor() {
|
|
157
|
+
this.background = "#333", this.primaryColor = "#1f2020", this.secondaryColor = lighten_default(this.primaryColor, 16), this.tertiaryColor = adjust_default(this.primaryColor, { h: -160 }), this.primaryBorderColor = invert_default(this.background), this.secondaryBorderColor = mkBorder(this.secondaryColor, this.darkMode), this.tertiaryBorderColor = mkBorder(this.tertiaryColor, this.darkMode), this.primaryTextColor = invert_default(this.primaryColor), this.secondaryTextColor = invert_default(this.secondaryColor), this.tertiaryTextColor = invert_default(this.tertiaryColor), this.lineColor = invert_default(this.background), this.textColor = invert_default(this.background), this.mainBkg = "#1f2020", this.secondBkg = "calculated", this.mainContrastColor = "lightgrey", this.darkTextColor = lighten_default(invert_default("#323D47"), 10), this.lineColor = "calculated", this.border1 = "#ccc", this.border2 = rgba_default(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.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.sectionBkgColor = darken_default("#EAE8D9", 30), this.altSectionBkgColor = "calculated", this.sectionBkgColor2 = "#EAE8D9", this.excludeBkgColor = darken_default(this.sectionBkgColor, 10), this.taskBorderColor = rgba_default(255, 255, 255, 70), this.taskBkgColor = "calculated", this.taskTextColor = "calculated", this.taskTextLightColor = "calculated", this.taskTextOutsideColor = "calculated", this.taskTextClickableColor = "#003163", this.activeTaskBorderColor = rgba_default(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 || lighten_default(this.mainBkg, 5) || "#ffffff", this.rowEven = this.rowEven || darken_default(this.mainBkg, 10), this.labelColor = "calculated", this.errorBkgColor = "#a44141", this.errorTextColor = "#ddd";
|
|
158
|
+
}
|
|
159
|
+
updateColors() {
|
|
160
|
+
this.secondBkg = lighten_default(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 = lighten_default(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 = lighten_default(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 = this.darkTextColor, 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 = adjust_default(this.primaryColor, { h: 64 }), this.fillType3 = adjust_default(this.secondaryColor, { h: 64 }), this.fillType4 = adjust_default(this.primaryColor, { h: -64 }), this.fillType5 = adjust_default(this.secondaryColor, { h: -64 }), this.fillType6 = adjust_default(this.primaryColor, { h: 128 }), this.fillType7 = adjust_default(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 || adjust_default(this.primaryColor, { h: 30 }), this.cScale4 = this.cScale4 || adjust_default(this.primaryColor, { h: 60 }), this.cScale5 = this.cScale5 || adjust_default(this.primaryColor, { h: 90 }), this.cScale6 = this.cScale6 || adjust_default(this.primaryColor, { h: 120 }), this.cScale7 = this.cScale7 || adjust_default(this.primaryColor, { h: 150 }), this.cScale8 = this.cScale8 || adjust_default(this.primaryColor, { h: 210 }), this.cScale9 = this.cScale9 || adjust_default(this.primaryColor, { h: 270 }), this.cScale10 = this.cScale10 || adjust_default(this.primaryColor, { h: 300 }), this.cScale11 = this.cScale11 || adjust_default(this.primaryColor, { h: 330 });
|
|
161
|
+
for (let h = 0; h < this.THEME_COLOR_LIMIT; h++) this["cScaleInv" + h] = this["cScaleInv" + h] || invert_default(this["cScale" + h]);
|
|
162
|
+
for (let h = 0; h < this.THEME_COLOR_LIMIT; h++) this["cScalePeer" + h] = this["cScalePeer" + h] || lighten_default(this["cScale" + h], 10);
|
|
163
|
+
for (let h = 0; h < 5; h++) this["surface" + h] = this["surface" + h] || adjust_default(this.mainBkg, {
|
|
164
|
+
h: 30,
|
|
165
|
+
s: -30,
|
|
166
|
+
l: -(-10 + h * 4)
|
|
167
|
+
}), this["surfacePeer" + h] = this["surfacePeer" + h] || adjust_default(this.mainBkg, {
|
|
168
|
+
h: 30,
|
|
169
|
+
s: -30,
|
|
170
|
+
l: -(-7 + h * 4)
|
|
171
|
+
});
|
|
172
|
+
this.scaleLabelColor = this.scaleLabelColor || (this.darkMode ? "black" : this.labelTextColor);
|
|
173
|
+
for (let h = 0; h < this.THEME_COLOR_LIMIT; h++) this["cScaleLabel" + h] = this["cScaleLabel" + h] || this.scaleLabelColor;
|
|
174
|
+
for (let h = 0; h < this.THEME_COLOR_LIMIT; h++) this["pie" + h] = this["cScale" + h];
|
|
175
|
+
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.quadrant1Fill = this.quadrant1Fill || this.primaryColor, this.quadrant2Fill = this.quadrant2Fill || adjust_default(this.primaryColor, {
|
|
176
|
+
r: 5,
|
|
177
|
+
g: 5,
|
|
178
|
+
b: 5
|
|
179
|
+
}), this.quadrant3Fill = this.quadrant3Fill || adjust_default(this.primaryColor, {
|
|
180
|
+
r: 10,
|
|
181
|
+
g: 10,
|
|
182
|
+
b: 10
|
|
183
|
+
}), this.quadrant4Fill = this.quadrant4Fill || adjust_default(this.primaryColor, {
|
|
184
|
+
r: 15,
|
|
185
|
+
g: 15,
|
|
186
|
+
b: 15
|
|
187
|
+
}), this.quadrant1TextFill = this.quadrant1TextFill || this.primaryTextColor, this.quadrant2TextFill = this.quadrant2TextFill || adjust_default(this.primaryTextColor, {
|
|
188
|
+
r: -5,
|
|
189
|
+
g: -5,
|
|
190
|
+
b: -5
|
|
191
|
+
}), this.quadrant3TextFill = this.quadrant3TextFill || adjust_default(this.primaryTextColor, {
|
|
192
|
+
r: -10,
|
|
193
|
+
g: -10,
|
|
194
|
+
b: -10
|
|
195
|
+
}), this.quadrant4TextFill = this.quadrant4TextFill || adjust_default(this.primaryTextColor, {
|
|
196
|
+
r: -15,
|
|
197
|
+
g: -15,
|
|
198
|
+
b: -15
|
|
199
|
+
}), this.quadrantPointFill = this.quadrantPointFill || is_dark_default(this.quadrant1Fill) ? lighten_default(this.quadrant1Fill) : darken_default(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 = {
|
|
200
|
+
backgroundColor: this.xyChart?.backgroundColor || this.background,
|
|
201
|
+
titleColor: this.xyChart?.titleColor || this.primaryTextColor,
|
|
202
|
+
xAxisTitleColor: this.xyChart?.xAxisTitleColor || this.primaryTextColor,
|
|
203
|
+
xAxisLabelColor: this.xyChart?.xAxisLabelColor || this.primaryTextColor,
|
|
204
|
+
xAxisTickColor: this.xyChart?.xAxisTickColor || this.primaryTextColor,
|
|
205
|
+
xAxisLineColor: this.xyChart?.xAxisLineColor || this.primaryTextColor,
|
|
206
|
+
yAxisTitleColor: this.xyChart?.yAxisTitleColor || this.primaryTextColor,
|
|
207
|
+
yAxisLabelColor: this.xyChart?.yAxisLabelColor || this.primaryTextColor,
|
|
208
|
+
yAxisTickColor: this.xyChart?.yAxisTickColor || this.primaryTextColor,
|
|
209
|
+
yAxisLineColor: this.xyChart?.yAxisLineColor || this.primaryTextColor,
|
|
210
|
+
plotColorPalette: this.xyChart?.plotColorPalette || "#3498db,#2ecc71,#e74c3c,#f1c40f,#bdc3c7,#ffffff,#34495e,#9b59b6,#1abc9c,#e67e22"
|
|
211
|
+
}, this.packet = {
|
|
212
|
+
startByteColor: this.primaryTextColor,
|
|
213
|
+
endByteColor: this.primaryTextColor,
|
|
214
|
+
labelColor: this.primaryTextColor,
|
|
215
|
+
titleColor: this.primaryTextColor,
|
|
216
|
+
blockStrokeColor: this.primaryTextColor,
|
|
217
|
+
blockFillColor: this.background
|
|
218
|
+
}, this.radar = {
|
|
219
|
+
axisColor: this.radar?.axisColor || this.lineColor,
|
|
220
|
+
axisStrokeWidth: this.radar?.axisStrokeWidth || 2,
|
|
221
|
+
axisLabelFontSize: this.radar?.axisLabelFontSize || 12,
|
|
222
|
+
curveOpacity: this.radar?.curveOpacity || .5,
|
|
223
|
+
curveStrokeWidth: this.radar?.curveStrokeWidth || 2,
|
|
224
|
+
graticuleColor: this.radar?.graticuleColor || "#DEDEDE",
|
|
225
|
+
graticuleStrokeWidth: this.radar?.graticuleStrokeWidth || 1,
|
|
226
|
+
graticuleOpacity: this.radar?.graticuleOpacity || .3,
|
|
227
|
+
legendBoxSize: this.radar?.legendBoxSize || 12,
|
|
228
|
+
legendFontSize: this.radar?.legendFontSize || 12
|
|
229
|
+
}, 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 ? darken_default(this.secondaryColor, 30) : this.secondaryColor), this.relationLabelColor = this.relationLabelColor || this.actorTextColor, this.git0 = lighten_default(this.secondaryColor, 20), this.git1 = lighten_default(this.pie2 || this.secondaryColor, 20), this.git2 = lighten_default(this.pie3 || this.tertiaryColor, 20), this.git3 = lighten_default(this.pie4 || adjust_default(this.primaryColor, { h: -30 }), 20), this.git4 = lighten_default(this.pie5 || adjust_default(this.primaryColor, { h: -60 }), 20), this.git5 = lighten_default(this.pie6 || adjust_default(this.primaryColor, { h: -90 }), 10), this.git6 = lighten_default(this.pie7 || adjust_default(this.primaryColor, { h: 60 }), 10), this.git7 = lighten_default(this.pie8 || adjust_default(this.primaryColor, { h: 120 }), 20), this.gitInv0 = this.gitInv0 || invert_default(this.git0), this.gitInv1 = this.gitInv1 || invert_default(this.git1), this.gitInv2 = this.gitInv2 || invert_default(this.git2), this.gitInv3 = this.gitInv3 || invert_default(this.git3), this.gitInv4 = this.gitInv4 || invert_default(this.git4), this.gitInv5 = this.gitInv5 || invert_default(this.git5), this.gitInv6 = this.gitInv6 || invert_default(this.git6), this.gitInv7 = this.gitInv7 || invert_default(this.git7), this.gitBranchLabel0 = this.gitBranchLabel0 || invert_default(this.labelTextColor), this.gitBranchLabel1 = this.gitBranchLabel1 || this.labelTextColor, this.gitBranchLabel2 = this.gitBranchLabel2 || this.labelTextColor, this.gitBranchLabel3 = this.gitBranchLabel3 || invert_default(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 || lighten_default(this.background, 12), this.attributeBackgroundColorEven = this.attributeBackgroundColorEven || lighten_default(this.background, 2), this.nodeBorder = this.nodeBorder || "#999";
|
|
230
|
+
}
|
|
231
|
+
calculate(h) {
|
|
232
|
+
if (typeof h != "object") {
|
|
233
|
+
this.updateColors();
|
|
234
|
+
return;
|
|
235
|
+
}
|
|
236
|
+
let W = Object.keys(h);
|
|
237
|
+
W.forEach((W) => {
|
|
238
|
+
this[W] = h[W];
|
|
239
|
+
}), this.updateColors(), W.forEach((W) => {
|
|
240
|
+
this[W] = h[W];
|
|
241
|
+
});
|
|
242
|
+
}
|
|
243
|
+
}, getThemeVariables2 = /* @__PURE__ */ __name((h) => {
|
|
244
|
+
let W = new Theme2();
|
|
245
|
+
return W.calculate(h), W;
|
|
246
|
+
}, "getThemeVariables"), Theme3 = class {
|
|
247
|
+
static #e = __name(this, "Theme");
|
|
248
|
+
constructor() {
|
|
249
|
+
this.background = "#f4f4f4", this.primaryColor = "#ECECFF", this.secondaryColor = adjust_default(this.primaryColor, { h: 120 }), this.secondaryColor = "#ffffde", this.tertiaryColor = adjust_default(this.primaryColor, { h: -160 }), this.primaryBorderColor = mkBorder(this.primaryColor, this.darkMode), this.secondaryBorderColor = mkBorder(this.secondaryColor, this.darkMode), this.tertiaryBorderColor = mkBorder(this.tertiaryColor, this.darkMode), this.primaryTextColor = invert_default(this.primaryColor), this.secondaryTextColor = invert_default(this.secondaryColor), this.tertiaryTextColor = invert_default(this.tertiaryColor), this.lineColor = invert_default(this.background), this.textColor = invert_default(this.background), this.background = "white", this.mainBkg = "#ECECFF", this.secondBkg = "#ffffde", this.lineColor = "#333333", this.border1 = "#9370DB", 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.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.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 = rgba_default(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.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.updateColors();
|
|
250
|
+
}
|
|
251
|
+
updateColors() {
|
|
252
|
+
this.cScale0 = this.cScale0 || this.primaryColor, this.cScale1 = this.cScale1 || this.secondaryColor, this.cScale2 = this.cScale2 || this.tertiaryColor, this.cScale3 = this.cScale3 || adjust_default(this.primaryColor, { h: 30 }), this.cScale4 = this.cScale4 || adjust_default(this.primaryColor, { h: 60 }), this.cScale5 = this.cScale5 || adjust_default(this.primaryColor, { h: 90 }), this.cScale6 = this.cScale6 || adjust_default(this.primaryColor, { h: 120 }), this.cScale7 = this.cScale7 || adjust_default(this.primaryColor, { h: 150 }), this.cScale8 = this.cScale8 || adjust_default(this.primaryColor, { h: 210 }), this.cScale9 = this.cScale9 || adjust_default(this.primaryColor, { h: 270 }), this.cScale10 = this.cScale10 || adjust_default(this.primaryColor, { h: 300 }), this.cScale11 = this.cScale11 || adjust_default(this.primaryColor, { h: 330 }), this.cScalePeer1 = this.cScalePeer1 || darken_default(this.secondaryColor, 45), this.cScalePeer2 = this.cScalePeer2 || darken_default(this.tertiaryColor, 40);
|
|
253
|
+
for (let h = 0; h < this.THEME_COLOR_LIMIT; h++) this["cScale" + h] = darken_default(this["cScale" + h], 10), this["cScalePeer" + h] = this["cScalePeer" + h] || darken_default(this["cScale" + h], 25);
|
|
254
|
+
for (let h = 0; h < this.THEME_COLOR_LIMIT; h++) this["cScaleInv" + h] = this["cScaleInv" + h] || adjust_default(this["cScale" + h], { h: 180 });
|
|
255
|
+
for (let h = 0; h < 5; h++) this["surface" + h] = this["surface" + h] || adjust_default(this.mainBkg, {
|
|
256
|
+
h: 30,
|
|
257
|
+
l: -(5 + h * 5)
|
|
258
|
+
}), this["surfacePeer" + h] = this["surfacePeer" + h] || adjust_default(this.mainBkg, {
|
|
259
|
+
h: 30,
|
|
260
|
+
l: -(7 + h * 5)
|
|
261
|
+
});
|
|
262
|
+
if (this.scaleLabelColor = this.scaleLabelColor !== "calculated" && this.scaleLabelColor ? this.scaleLabelColor : this.labelTextColor, this.labelTextColor !== "calculated") {
|
|
263
|
+
this.cScaleLabel0 = this.cScaleLabel0 || invert_default(this.labelTextColor), this.cScaleLabel3 = this.cScaleLabel3 || invert_default(this.labelTextColor);
|
|
264
|
+
for (let h = 0; h < this.THEME_COLOR_LIMIT; h++) this["cScaleLabel" + h] = this["cScaleLabel" + h] || this.labelTextColor;
|
|
265
|
+
}
|
|
266
|
+
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 = lighten_default(this.border1, 23), 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 || lighten_default(this.primaryColor, 75) || "#ffffff", this.rowEven = this.rowEven || lighten_default(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 = adjust_default(this.primaryColor, { h: 64 }), this.fillType3 = adjust_default(this.secondaryColor, { h: 64 }), this.fillType4 = adjust_default(this.primaryColor, { h: -64 }), this.fillType5 = adjust_default(this.secondaryColor, { h: -64 }), this.fillType6 = adjust_default(this.primaryColor, { h: 128 }), this.fillType7 = adjust_default(this.secondaryColor, { h: 128 }), this.pie1 = this.pie1 || this.primaryColor, this.pie2 = this.pie2 || this.secondaryColor, this.pie3 = this.pie3 || adjust_default(this.tertiaryColor, { l: -40 }), this.pie4 = this.pie4 || adjust_default(this.primaryColor, { l: -10 }), this.pie5 = this.pie5 || adjust_default(this.secondaryColor, { l: -30 }), this.pie6 = this.pie6 || adjust_default(this.tertiaryColor, { l: -20 }), this.pie7 = this.pie7 || adjust_default(this.primaryColor, {
|
|
267
|
+
h: 60,
|
|
268
|
+
l: -20
|
|
269
|
+
}), this.pie8 = this.pie8 || adjust_default(this.primaryColor, {
|
|
270
|
+
h: -60,
|
|
271
|
+
l: -40
|
|
272
|
+
}), this.pie9 = this.pie9 || adjust_default(this.primaryColor, {
|
|
273
|
+
h: 120,
|
|
274
|
+
l: -40
|
|
275
|
+
}), this.pie10 = this.pie10 || adjust_default(this.primaryColor, {
|
|
276
|
+
h: 60,
|
|
277
|
+
l: -40
|
|
278
|
+
}), this.pie11 = this.pie11 || adjust_default(this.primaryColor, {
|
|
279
|
+
h: -90,
|
|
280
|
+
l: -40
|
|
281
|
+
}), this.pie12 = this.pie12 || adjust_default(this.primaryColor, {
|
|
282
|
+
h: 120,
|
|
283
|
+
l: -30
|
|
284
|
+
}), 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.quadrant1Fill = this.quadrant1Fill || this.primaryColor, this.quadrant2Fill = this.quadrant2Fill || adjust_default(this.primaryColor, {
|
|
285
|
+
r: 5,
|
|
286
|
+
g: 5,
|
|
287
|
+
b: 5
|
|
288
|
+
}), this.quadrant3Fill = this.quadrant3Fill || adjust_default(this.primaryColor, {
|
|
289
|
+
r: 10,
|
|
290
|
+
g: 10,
|
|
291
|
+
b: 10
|
|
292
|
+
}), this.quadrant4Fill = this.quadrant4Fill || adjust_default(this.primaryColor, {
|
|
293
|
+
r: 15,
|
|
294
|
+
g: 15,
|
|
295
|
+
b: 15
|
|
296
|
+
}), this.quadrant1TextFill = this.quadrant1TextFill || this.primaryTextColor, this.quadrant2TextFill = this.quadrant2TextFill || adjust_default(this.primaryTextColor, {
|
|
297
|
+
r: -5,
|
|
298
|
+
g: -5,
|
|
299
|
+
b: -5
|
|
300
|
+
}), this.quadrant3TextFill = this.quadrant3TextFill || adjust_default(this.primaryTextColor, {
|
|
301
|
+
r: -10,
|
|
302
|
+
g: -10,
|
|
303
|
+
b: -10
|
|
304
|
+
}), this.quadrant4TextFill = this.quadrant4TextFill || adjust_default(this.primaryTextColor, {
|
|
305
|
+
r: -15,
|
|
306
|
+
g: -15,
|
|
307
|
+
b: -15
|
|
308
|
+
}), this.quadrantPointFill = this.quadrantPointFill || is_dark_default(this.quadrant1Fill) ? lighten_default(this.quadrant1Fill) : darken_default(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 = {
|
|
309
|
+
axisColor: this.radar?.axisColor || this.lineColor,
|
|
310
|
+
axisStrokeWidth: this.radar?.axisStrokeWidth || 2,
|
|
311
|
+
axisLabelFontSize: this.radar?.axisLabelFontSize || 12,
|
|
312
|
+
curveOpacity: this.radar?.curveOpacity || .5,
|
|
313
|
+
curveStrokeWidth: this.radar?.curveStrokeWidth || 2,
|
|
314
|
+
graticuleColor: this.radar?.graticuleColor || "#DEDEDE",
|
|
315
|
+
graticuleStrokeWidth: this.radar?.graticuleStrokeWidth || 1,
|
|
316
|
+
graticuleOpacity: this.radar?.graticuleOpacity || .3,
|
|
317
|
+
legendBoxSize: this.radar?.legendBoxSize || 12,
|
|
318
|
+
legendFontSize: this.radar?.legendFontSize || 12
|
|
319
|
+
}, this.xyChart = {
|
|
320
|
+
backgroundColor: this.xyChart?.backgroundColor || this.background,
|
|
321
|
+
titleColor: this.xyChart?.titleColor || this.primaryTextColor,
|
|
322
|
+
xAxisTitleColor: this.xyChart?.xAxisTitleColor || this.primaryTextColor,
|
|
323
|
+
xAxisLabelColor: this.xyChart?.xAxisLabelColor || this.primaryTextColor,
|
|
324
|
+
xAxisTickColor: this.xyChart?.xAxisTickColor || this.primaryTextColor,
|
|
325
|
+
xAxisLineColor: this.xyChart?.xAxisLineColor || this.primaryTextColor,
|
|
326
|
+
yAxisTitleColor: this.xyChart?.yAxisTitleColor || this.primaryTextColor,
|
|
327
|
+
yAxisLabelColor: this.xyChart?.yAxisLabelColor || this.primaryTextColor,
|
|
328
|
+
yAxisTickColor: this.xyChart?.yAxisTickColor || this.primaryTextColor,
|
|
329
|
+
yAxisLineColor: this.xyChart?.yAxisLineColor || this.primaryTextColor,
|
|
330
|
+
plotColorPalette: this.xyChart?.plotColorPalette || "#ECECFF,#8493A6,#FFC3A0,#DCDDE1,#B8E994,#D1A36F,#C3CDE6,#FFB6C1,#496078,#F8F3E3"
|
|
331
|
+
}, 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 || adjust_default(this.primaryColor, { h: -30 }), this.git4 = this.git4 || adjust_default(this.primaryColor, { h: -60 }), this.git5 = this.git5 || adjust_default(this.primaryColor, { h: -90 }), this.git6 = this.git6 || adjust_default(this.primaryColor, { h: 60 }), this.git7 = this.git7 || adjust_default(this.primaryColor, { h: 120 }), this.darkMode ? (this.git0 = lighten_default(this.git0, 25), this.git1 = lighten_default(this.git1, 25), this.git2 = lighten_default(this.git2, 25), this.git3 = lighten_default(this.git3, 25), this.git4 = lighten_default(this.git4, 25), this.git5 = lighten_default(this.git5, 25), this.git6 = lighten_default(this.git6, 25), this.git7 = lighten_default(this.git7, 25)) : (this.git0 = darken_default(this.git0, 25), this.git1 = darken_default(this.git1, 25), this.git2 = darken_default(this.git2, 25), this.git3 = darken_default(this.git3, 25), this.git4 = darken_default(this.git4, 25), this.git5 = darken_default(this.git5, 25), this.git6 = darken_default(this.git6, 25), this.git7 = darken_default(this.git7, 25)), this.gitInv0 = this.gitInv0 || darken_default(invert_default(this.git0), 25), this.gitInv1 = this.gitInv1 || invert_default(this.git1), this.gitInv2 = this.gitInv2 || invert_default(this.git2), this.gitInv3 = this.gitInv3 || invert_default(this.git3), this.gitInv4 = this.gitInv4 || invert_default(this.git4), this.gitInv5 = this.gitInv5 || invert_default(this.git5), this.gitInv6 = this.gitInv6 || invert_default(this.git6), this.gitInv7 = this.gitInv7 || invert_default(this.git7), this.gitBranchLabel0 = this.gitBranchLabel0 || invert_default(this.labelTextColor), this.gitBranchLabel1 = this.gitBranchLabel1 || this.labelTextColor, this.gitBranchLabel2 = this.gitBranchLabel2 || this.labelTextColor, this.gitBranchLabel3 = this.gitBranchLabel3 || invert_default(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 || oldAttributeBackgroundColorOdd, this.attributeBackgroundColorEven = this.attributeBackgroundColorEven || oldAttributeBackgroundColorEven;
|
|
332
|
+
}
|
|
333
|
+
calculate(h) {
|
|
334
|
+
if (Object.keys(this).forEach((h) => {
|
|
335
|
+
this[h] === "calculated" && (this[h] = void 0);
|
|
336
|
+
}), typeof h != "object") {
|
|
337
|
+
this.updateColors();
|
|
338
|
+
return;
|
|
339
|
+
}
|
|
340
|
+
let W = Object.keys(h);
|
|
341
|
+
W.forEach((W) => {
|
|
342
|
+
this[W] = h[W];
|
|
343
|
+
}), this.updateColors(), W.forEach((W) => {
|
|
344
|
+
this[W] = h[W];
|
|
345
|
+
});
|
|
346
|
+
}
|
|
347
|
+
}, getThemeVariables3 = /* @__PURE__ */ __name((h) => {
|
|
348
|
+
let W = new Theme3();
|
|
349
|
+
return W.calculate(h), W;
|
|
350
|
+
}, "getThemeVariables"), Theme4 = class {
|
|
351
|
+
static #e = __name(this, "Theme");
|
|
352
|
+
constructor() {
|
|
353
|
+
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 = lighten_default("#cde498", 10), this.primaryBorderColor = mkBorder(this.primaryColor, this.darkMode), this.secondaryBorderColor = mkBorder(this.secondaryColor, this.darkMode), this.tertiaryBorderColor = mkBorder(this.tertiaryColor, this.darkMode), this.primaryTextColor = invert_default(this.primaryColor), this.secondaryTextColor = invert_default(this.secondaryColor), this.tertiaryTextColor = invert_default(this.primaryColor), this.lineColor = invert_default(this.background), this.textColor = invert_default(this.background), this.THEME_COLOR_LIMIT = 12, 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.labelColor = "black", this.errorBkgColor = "#552222", this.errorTextColor = "#552222";
|
|
354
|
+
}
|
|
355
|
+
updateColors() {
|
|
356
|
+
this.actorBorder = darken_default(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 || adjust_default(this.primaryColor, { h: 30 }), this.cScale4 = this.cScale4 || adjust_default(this.primaryColor, { h: 60 }), this.cScale5 = this.cScale5 || adjust_default(this.primaryColor, { h: 90 }), this.cScale6 = this.cScale6 || adjust_default(this.primaryColor, { h: 120 }), this.cScale7 = this.cScale7 || adjust_default(this.primaryColor, { h: 150 }), this.cScale8 = this.cScale8 || adjust_default(this.primaryColor, { h: 210 }), this.cScale9 = this.cScale9 || adjust_default(this.primaryColor, { h: 270 }), this.cScale10 = this.cScale10 || adjust_default(this.primaryColor, { h: 300 }), this.cScale11 = this.cScale11 || adjust_default(this.primaryColor, { h: 330 }), this.cScalePeer1 = this.cScalePeer1 || darken_default(this.secondaryColor, 45), this.cScalePeer2 = this.cScalePeer2 || darken_default(this.tertiaryColor, 40);
|
|
357
|
+
for (let h = 0; h < this.THEME_COLOR_LIMIT; h++) this["cScale" + h] = darken_default(this["cScale" + h], 10), this["cScalePeer" + h] = this["cScalePeer" + h] || darken_default(this["cScale" + h], 25);
|
|
358
|
+
for (let h = 0; h < this.THEME_COLOR_LIMIT; h++) this["cScaleInv" + h] = this["cScaleInv" + h] || adjust_default(this["cScale" + h], { h: 180 });
|
|
359
|
+
this.scaleLabelColor = this.scaleLabelColor !== "calculated" && this.scaleLabelColor ? this.scaleLabelColor : this.labelTextColor;
|
|
360
|
+
for (let h = 0; h < this.THEME_COLOR_LIMIT; h++) this["cScaleLabel" + h] = this["cScaleLabel" + h] || this.scaleLabelColor;
|
|
361
|
+
for (let h = 0; h < 5; h++) this["surface" + h] = this["surface" + h] || adjust_default(this.mainBkg, {
|
|
362
|
+
h: 30,
|
|
363
|
+
s: -30,
|
|
364
|
+
l: -(5 + h * 5)
|
|
365
|
+
}), this["surfacePeer" + h] = this["surfacePeer" + h] || adjust_default(this.mainBkg, {
|
|
366
|
+
h: 30,
|
|
367
|
+
s: -30,
|
|
368
|
+
l: -(8 + h * 5)
|
|
369
|
+
});
|
|
370
|
+
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 || lighten_default(this.mainBkg, 75) || "#ffffff", this.rowEven = this.rowEven || lighten_default(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 = adjust_default(this.primaryColor, { h: 64 }), this.fillType3 = adjust_default(this.secondaryColor, { h: 64 }), this.fillType4 = adjust_default(this.primaryColor, { h: -64 }), this.fillType5 = adjust_default(this.secondaryColor, { h: -64 }), this.fillType6 = adjust_default(this.primaryColor, { h: 128 }), this.fillType7 = adjust_default(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 || adjust_default(this.primaryColor, { l: -30 }), this.pie5 = this.pie5 || adjust_default(this.secondaryColor, { l: -30 }), this.pie6 = this.pie6 || adjust_default(this.tertiaryColor, {
|
|
371
|
+
h: 40,
|
|
372
|
+
l: -40
|
|
373
|
+
}), this.pie7 = this.pie7 || adjust_default(this.primaryColor, {
|
|
374
|
+
h: 60,
|
|
375
|
+
l: -10
|
|
376
|
+
}), this.pie8 = this.pie8 || adjust_default(this.primaryColor, {
|
|
377
|
+
h: -60,
|
|
378
|
+
l: -10
|
|
379
|
+
}), this.pie9 = this.pie9 || adjust_default(this.primaryColor, {
|
|
380
|
+
h: 120,
|
|
381
|
+
l: 0
|
|
382
|
+
}), this.pie10 = this.pie10 || adjust_default(this.primaryColor, {
|
|
383
|
+
h: 60,
|
|
384
|
+
l: -50
|
|
385
|
+
}), this.pie11 = this.pie11 || adjust_default(this.primaryColor, {
|
|
386
|
+
h: -60,
|
|
387
|
+
l: -50
|
|
388
|
+
}), this.pie12 = this.pie12 || adjust_default(this.primaryColor, {
|
|
389
|
+
h: 120,
|
|
390
|
+
l: -50
|
|
391
|
+
}), 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.quadrant1Fill = this.quadrant1Fill || this.primaryColor, this.quadrant2Fill = this.quadrant2Fill || adjust_default(this.primaryColor, {
|
|
392
|
+
r: 5,
|
|
393
|
+
g: 5,
|
|
394
|
+
b: 5
|
|
395
|
+
}), this.quadrant3Fill = this.quadrant3Fill || adjust_default(this.primaryColor, {
|
|
396
|
+
r: 10,
|
|
397
|
+
g: 10,
|
|
398
|
+
b: 10
|
|
399
|
+
}), this.quadrant4Fill = this.quadrant4Fill || adjust_default(this.primaryColor, {
|
|
400
|
+
r: 15,
|
|
401
|
+
g: 15,
|
|
402
|
+
b: 15
|
|
403
|
+
}), this.quadrant1TextFill = this.quadrant1TextFill || this.primaryTextColor, this.quadrant2TextFill = this.quadrant2TextFill || adjust_default(this.primaryTextColor, {
|
|
404
|
+
r: -5,
|
|
405
|
+
g: -5,
|
|
406
|
+
b: -5
|
|
407
|
+
}), this.quadrant3TextFill = this.quadrant3TextFill || adjust_default(this.primaryTextColor, {
|
|
408
|
+
r: -10,
|
|
409
|
+
g: -10,
|
|
410
|
+
b: -10
|
|
411
|
+
}), this.quadrant4TextFill = this.quadrant4TextFill || adjust_default(this.primaryTextColor, {
|
|
412
|
+
r: -15,
|
|
413
|
+
g: -15,
|
|
414
|
+
b: -15
|
|
415
|
+
}), this.quadrantPointFill = this.quadrantPointFill || is_dark_default(this.quadrant1Fill) ? lighten_default(this.quadrant1Fill) : darken_default(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 = {
|
|
416
|
+
startByteColor: this.primaryTextColor,
|
|
417
|
+
endByteColor: this.primaryTextColor,
|
|
418
|
+
labelColor: this.primaryTextColor,
|
|
419
|
+
titleColor: this.primaryTextColor,
|
|
420
|
+
blockStrokeColor: this.primaryTextColor,
|
|
421
|
+
blockFillColor: this.mainBkg
|
|
422
|
+
}, this.radar = {
|
|
423
|
+
axisColor: this.radar?.axisColor || this.lineColor,
|
|
424
|
+
axisStrokeWidth: this.radar?.axisStrokeWidth || 2,
|
|
425
|
+
axisLabelFontSize: this.radar?.axisLabelFontSize || 12,
|
|
426
|
+
curveOpacity: this.radar?.curveOpacity || .5,
|
|
427
|
+
curveStrokeWidth: this.radar?.curveStrokeWidth || 2,
|
|
428
|
+
graticuleColor: this.radar?.graticuleColor || "#DEDEDE",
|
|
429
|
+
graticuleStrokeWidth: this.radar?.graticuleStrokeWidth || 1,
|
|
430
|
+
graticuleOpacity: this.radar?.graticuleOpacity || .3,
|
|
431
|
+
legendBoxSize: this.radar?.legendBoxSize || 12,
|
|
432
|
+
legendFontSize: this.radar?.legendFontSize || 12
|
|
433
|
+
}, this.xyChart = {
|
|
434
|
+
backgroundColor: this.xyChart?.backgroundColor || this.background,
|
|
435
|
+
titleColor: this.xyChart?.titleColor || this.primaryTextColor,
|
|
436
|
+
xAxisTitleColor: this.xyChart?.xAxisTitleColor || this.primaryTextColor,
|
|
437
|
+
xAxisLabelColor: this.xyChart?.xAxisLabelColor || this.primaryTextColor,
|
|
438
|
+
xAxisTickColor: this.xyChart?.xAxisTickColor || this.primaryTextColor,
|
|
439
|
+
xAxisLineColor: this.xyChart?.xAxisLineColor || this.primaryTextColor,
|
|
440
|
+
yAxisTitleColor: this.xyChart?.yAxisTitleColor || this.primaryTextColor,
|
|
441
|
+
yAxisLabelColor: this.xyChart?.yAxisLabelColor || this.primaryTextColor,
|
|
442
|
+
yAxisTickColor: this.xyChart?.yAxisTickColor || this.primaryTextColor,
|
|
443
|
+
yAxisLineColor: this.xyChart?.yAxisLineColor || this.primaryTextColor,
|
|
444
|
+
plotColorPalette: this.xyChart?.plotColorPalette || "#CDE498,#FF6B6B,#A0D2DB,#D7BDE2,#F0F0F0,#FFC3A0,#7FD8BE,#FF9A8B,#FAF3E0,#FFF176"
|
|
445
|
+
}, 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 || adjust_default(this.primaryColor, { h: -30 }), this.git4 = this.git4 || adjust_default(this.primaryColor, { h: -60 }), this.git5 = this.git5 || adjust_default(this.primaryColor, { h: -90 }), this.git6 = this.git6 || adjust_default(this.primaryColor, { h: 60 }), this.git7 = this.git7 || adjust_default(this.primaryColor, { h: 120 }), this.darkMode ? (this.git0 = lighten_default(this.git0, 25), this.git1 = lighten_default(this.git1, 25), this.git2 = lighten_default(this.git2, 25), this.git3 = lighten_default(this.git3, 25), this.git4 = lighten_default(this.git4, 25), this.git5 = lighten_default(this.git5, 25), this.git6 = lighten_default(this.git6, 25), this.git7 = lighten_default(this.git7, 25)) : (this.git0 = darken_default(this.git0, 25), this.git1 = darken_default(this.git1, 25), this.git2 = darken_default(this.git2, 25), this.git3 = darken_default(this.git3, 25), this.git4 = darken_default(this.git4, 25), this.git5 = darken_default(this.git5, 25), this.git6 = darken_default(this.git6, 25), this.git7 = darken_default(this.git7, 25)), this.gitInv0 = this.gitInv0 || invert_default(this.git0), this.gitInv1 = this.gitInv1 || invert_default(this.git1), this.gitInv2 = this.gitInv2 || invert_default(this.git2), this.gitInv3 = this.gitInv3 || invert_default(this.git3), this.gitInv4 = this.gitInv4 || invert_default(this.git4), this.gitInv5 = this.gitInv5 || invert_default(this.git5), this.gitInv6 = this.gitInv6 || invert_default(this.git6), this.gitInv7 = this.gitInv7 || invert_default(this.git7), this.gitBranchLabel0 = this.gitBranchLabel0 || invert_default(this.labelTextColor), this.gitBranchLabel1 = this.gitBranchLabel1 || this.labelTextColor, this.gitBranchLabel2 = this.gitBranchLabel2 || this.labelTextColor, this.gitBranchLabel3 = this.gitBranchLabel3 || invert_default(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 || oldAttributeBackgroundColorOdd, this.attributeBackgroundColorEven = this.attributeBackgroundColorEven || oldAttributeBackgroundColorEven;
|
|
446
|
+
}
|
|
447
|
+
calculate(h) {
|
|
448
|
+
if (typeof h != "object") {
|
|
449
|
+
this.updateColors();
|
|
450
|
+
return;
|
|
451
|
+
}
|
|
452
|
+
let W = Object.keys(h);
|
|
453
|
+
W.forEach((W) => {
|
|
454
|
+
this[W] = h[W];
|
|
455
|
+
}), this.updateColors(), W.forEach((W) => {
|
|
456
|
+
this[W] = h[W];
|
|
457
|
+
});
|
|
458
|
+
}
|
|
459
|
+
}, getThemeVariables4 = /* @__PURE__ */ __name((h) => {
|
|
460
|
+
let W = new Theme4();
|
|
461
|
+
return W.calculate(h), W;
|
|
462
|
+
}, "getThemeVariables"), Theme5 = class {
|
|
463
|
+
static #e = __name(this, "Theme");
|
|
464
|
+
constructor() {
|
|
465
|
+
this.primaryColor = "#eee", this.contrast = "#707070", this.secondaryColor = lighten_default(this.contrast, 55), this.background = "#ffffff", this.tertiaryColor = adjust_default(this.primaryColor, { h: -160 }), this.primaryBorderColor = mkBorder(this.primaryColor, this.darkMode), this.secondaryBorderColor = mkBorder(this.secondaryColor, this.darkMode), this.tertiaryBorderColor = mkBorder(this.tertiaryColor, this.darkMode), this.primaryTextColor = invert_default(this.primaryColor), this.secondaryTextColor = invert_default(this.secondaryColor), this.tertiaryTextColor = invert_default(this.tertiaryColor), this.lineColor = invert_default(this.background), this.textColor = invert_default(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.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.rowOdd = this.rowOdd || lighten_default(this.mainBkg, 75) || "#ffffff", this.rowEven = this.rowEven || "#f4f4f4", this.labelColor = "black", this.errorBkgColor = "#552222", this.errorTextColor = "#552222";
|
|
466
|
+
}
|
|
467
|
+
updateColors() {
|
|
468
|
+
this.secondBkg = lighten_default(this.contrast, 55), this.border2 = this.contrast, this.actorBorder = lighten_default(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";
|
|
469
|
+
for (let h = 0; h < this.THEME_COLOR_LIMIT; h++) this["cScaleInv" + h] = this["cScaleInv" + h] || invert_default(this["cScale" + h]);
|
|
470
|
+
for (let h = 0; h < this.THEME_COLOR_LIMIT; h++) this.darkMode ? this["cScalePeer" + h] = this["cScalePeer" + h] || lighten_default(this["cScale" + h], 10) : this["cScalePeer" + h] = this["cScalePeer" + h] || darken_default(this["cScale" + h], 10);
|
|
471
|
+
this.scaleLabelColor = this.scaleLabelColor || (this.darkMode ? "black" : this.labelTextColor), this.cScaleLabel0 = this.cScaleLabel0 || this.cScale1, this.cScaleLabel2 = this.cScaleLabel2 || this.cScale1;
|
|
472
|
+
for (let h = 0; h < this.THEME_COLOR_LIMIT; h++) this["cScaleLabel" + h] = this["cScaleLabel" + h] || this.scaleLabelColor;
|
|
473
|
+
for (let h = 0; h < 5; h++) this["surface" + h] = this["surface" + h] || adjust_default(this.mainBkg, { l: -(5 + h * 5) }), this["surfacePeer" + h] = this["surfacePeer" + h] || adjust_default(this.mainBkg, { l: -(8 + h * 5) });
|
|
474
|
+
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 = lighten_default(this.contrast, 30), this.sectionBkgColor2 = lighten_default(this.contrast, 30), this.taskBorderColor = darken_default(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 = lighten_default(this.border1, 30), this.doneTaskBkgColor = this.done, this.doneTaskBorderColor = this.lineColor, this.critBkgColor = this.critical, this.critBorderColor = darken_default(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 = adjust_default(this.primaryColor, { h: 64 }), this.fillType3 = adjust_default(this.secondaryColor, { h: 64 }), this.fillType4 = adjust_default(this.primaryColor, { h: -64 }), this.fillType5 = adjust_default(this.secondaryColor, { h: -64 }), this.fillType6 = adjust_default(this.primaryColor, { h: 128 }), this.fillType7 = adjust_default(this.secondaryColor, { h: 128 });
|
|
475
|
+
for (let h = 0; h < this.THEME_COLOR_LIMIT; h++) this["pie" + h] = this["cScale" + h];
|
|
476
|
+
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", this.quadrant1Fill = this.quadrant1Fill || this.primaryColor, this.quadrant2Fill = this.quadrant2Fill || adjust_default(this.primaryColor, {
|
|
477
|
+
r: 5,
|
|
478
|
+
g: 5,
|
|
479
|
+
b: 5
|
|
480
|
+
}), this.quadrant3Fill = this.quadrant3Fill || adjust_default(this.primaryColor, {
|
|
481
|
+
r: 10,
|
|
482
|
+
g: 10,
|
|
483
|
+
b: 10
|
|
484
|
+
}), this.quadrant4Fill = this.quadrant4Fill || adjust_default(this.primaryColor, {
|
|
485
|
+
r: 15,
|
|
486
|
+
g: 15,
|
|
487
|
+
b: 15
|
|
488
|
+
}), this.quadrant1TextFill = this.quadrant1TextFill || this.primaryTextColor, this.quadrant2TextFill = this.quadrant2TextFill || adjust_default(this.primaryTextColor, {
|
|
489
|
+
r: -5,
|
|
490
|
+
g: -5,
|
|
491
|
+
b: -5
|
|
492
|
+
}), this.quadrant3TextFill = this.quadrant3TextFill || adjust_default(this.primaryTextColor, {
|
|
493
|
+
r: -10,
|
|
494
|
+
g: -10,
|
|
495
|
+
b: -10
|
|
496
|
+
}), this.quadrant4TextFill = this.quadrant4TextFill || adjust_default(this.primaryTextColor, {
|
|
497
|
+
r: -15,
|
|
498
|
+
g: -15,
|
|
499
|
+
b: -15
|
|
500
|
+
}), this.quadrantPointFill = this.quadrantPointFill || is_dark_default(this.quadrant1Fill) ? lighten_default(this.quadrant1Fill) : darken_default(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 = {
|
|
501
|
+
backgroundColor: this.xyChart?.backgroundColor || this.background,
|
|
502
|
+
titleColor: this.xyChart?.titleColor || this.primaryTextColor,
|
|
503
|
+
xAxisTitleColor: this.xyChart?.xAxisTitleColor || this.primaryTextColor,
|
|
504
|
+
xAxisLabelColor: this.xyChart?.xAxisLabelColor || this.primaryTextColor,
|
|
505
|
+
xAxisTickColor: this.xyChart?.xAxisTickColor || this.primaryTextColor,
|
|
506
|
+
xAxisLineColor: this.xyChart?.xAxisLineColor || this.primaryTextColor,
|
|
507
|
+
yAxisTitleColor: this.xyChart?.yAxisTitleColor || this.primaryTextColor,
|
|
508
|
+
yAxisLabelColor: this.xyChart?.yAxisLabelColor || this.primaryTextColor,
|
|
509
|
+
yAxisTickColor: this.xyChart?.yAxisTickColor || this.primaryTextColor,
|
|
510
|
+
yAxisLineColor: this.xyChart?.yAxisLineColor || this.primaryTextColor,
|
|
511
|
+
plotColorPalette: this.xyChart?.plotColorPalette || "#EEE,#6BB8E4,#8ACB88,#C7ACD6,#E8DCC2,#FFB2A8,#FFF380,#7E8D91,#FFD8B1,#FAF3E0"
|
|
512
|
+
}, this.radar = {
|
|
513
|
+
axisColor: this.radar?.axisColor || this.lineColor,
|
|
514
|
+
axisStrokeWidth: this.radar?.axisStrokeWidth || 2,
|
|
515
|
+
axisLabelFontSize: this.radar?.axisLabelFontSize || 12,
|
|
516
|
+
curveOpacity: this.radar?.curveOpacity || .5,
|
|
517
|
+
curveStrokeWidth: this.radar?.curveStrokeWidth || 2,
|
|
518
|
+
graticuleColor: this.radar?.graticuleColor || "#DEDEDE",
|
|
519
|
+
graticuleStrokeWidth: this.radar?.graticuleStrokeWidth || 1,
|
|
520
|
+
graticuleOpacity: this.radar?.graticuleOpacity || .3,
|
|
521
|
+
legendBoxSize: this.radar?.legendBoxSize || 12,
|
|
522
|
+
legendFontSize: this.radar?.legendFontSize || 12
|
|
523
|
+
}, 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 = darken_default(this.pie1, 25) || this.primaryColor, this.git1 = this.pie2 || this.secondaryColor, this.git2 = this.pie3 || this.tertiaryColor, this.git3 = this.pie4 || adjust_default(this.primaryColor, { h: -30 }), this.git4 = this.pie5 || adjust_default(this.primaryColor, { h: -60 }), this.git5 = this.pie6 || adjust_default(this.primaryColor, { h: -90 }), this.git6 = this.pie7 || adjust_default(this.primaryColor, { h: 60 }), this.git7 = this.pie8 || adjust_default(this.primaryColor, { h: 120 }), this.gitInv0 = this.gitInv0 || invert_default(this.git0), this.gitInv1 = this.gitInv1 || invert_default(this.git1), this.gitInv2 = this.gitInv2 || invert_default(this.git2), this.gitInv3 = this.gitInv3 || invert_default(this.git3), this.gitInv4 = this.gitInv4 || invert_default(this.git4), this.gitInv5 = this.gitInv5 || invert_default(this.git5), this.gitInv6 = this.gitInv6 || invert_default(this.git6), this.gitInv7 = this.gitInv7 || invert_default(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 || oldAttributeBackgroundColorOdd, this.attributeBackgroundColorEven = this.attributeBackgroundColorEven || oldAttributeBackgroundColorEven;
|
|
524
|
+
}
|
|
525
|
+
calculate(h) {
|
|
526
|
+
if (typeof h != "object") {
|
|
527
|
+
this.updateColors();
|
|
528
|
+
return;
|
|
529
|
+
}
|
|
530
|
+
let W = Object.keys(h);
|
|
531
|
+
W.forEach((W) => {
|
|
532
|
+
this[W] = h[W];
|
|
533
|
+
}), this.updateColors(), W.forEach((W) => {
|
|
534
|
+
this[W] = h[W];
|
|
535
|
+
});
|
|
536
|
+
}
|
|
537
|
+
}, themes_default = {
|
|
538
|
+
base: { getThemeVariables },
|
|
539
|
+
dark: { getThemeVariables: getThemeVariables2 },
|
|
540
|
+
default: { getThemeVariables: getThemeVariables3 },
|
|
541
|
+
forest: { getThemeVariables: getThemeVariables4 },
|
|
542
|
+
neutral: { getThemeVariables: /* @__PURE__ */ __name((h) => {
|
|
543
|
+
let W = new Theme5();
|
|
544
|
+
return W.calculate(h), W;
|
|
545
|
+
}, "getThemeVariables") }
|
|
546
|
+
}, config_schema_default = {
|
|
547
|
+
flowchart: {
|
|
548
|
+
useMaxWidth: !0,
|
|
549
|
+
titleTopMargin: 25,
|
|
550
|
+
subGraphTitleMargin: {
|
|
551
|
+
top: 0,
|
|
552
|
+
bottom: 0
|
|
553
|
+
},
|
|
554
|
+
diagramPadding: 8,
|
|
555
|
+
htmlLabels: !0,
|
|
556
|
+
nodeSpacing: 50,
|
|
557
|
+
rankSpacing: 50,
|
|
558
|
+
curve: "basis",
|
|
559
|
+
padding: 15,
|
|
560
|
+
defaultRenderer: "dagre-wrapper",
|
|
561
|
+
wrappingWidth: 200,
|
|
562
|
+
inheritDir: !1
|
|
563
|
+
},
|
|
564
|
+
sequence: {
|
|
565
|
+
useMaxWidth: !0,
|
|
566
|
+
hideUnusedParticipants: !1,
|
|
567
|
+
activationWidth: 10,
|
|
568
|
+
diagramMarginX: 50,
|
|
569
|
+
diagramMarginY: 10,
|
|
570
|
+
actorMargin: 50,
|
|
571
|
+
width: 150,
|
|
572
|
+
height: 65,
|
|
573
|
+
boxMargin: 10,
|
|
574
|
+
boxTextMargin: 5,
|
|
575
|
+
noteMargin: 10,
|
|
576
|
+
messageMargin: 35,
|
|
577
|
+
messageAlign: "center",
|
|
578
|
+
mirrorActors: !0,
|
|
579
|
+
forceMenus: !1,
|
|
580
|
+
bottomMarginAdj: 1,
|
|
581
|
+
rightAngles: !1,
|
|
582
|
+
showSequenceNumbers: !1,
|
|
583
|
+
actorFontSize: 14,
|
|
584
|
+
actorFontFamily: "\"Open Sans\", sans-serif",
|
|
585
|
+
actorFontWeight: 400,
|
|
586
|
+
noteFontSize: 14,
|
|
587
|
+
noteFontFamily: "\"trebuchet ms\", verdana, arial, sans-serif",
|
|
588
|
+
noteFontWeight: 400,
|
|
589
|
+
noteAlign: "center",
|
|
590
|
+
messageFontSize: 16,
|
|
591
|
+
messageFontFamily: "\"trebuchet ms\", verdana, arial, sans-serif",
|
|
592
|
+
messageFontWeight: 400,
|
|
593
|
+
wrap: !1,
|
|
594
|
+
wrapPadding: 10,
|
|
595
|
+
labelBoxWidth: 50,
|
|
596
|
+
labelBoxHeight: 20
|
|
597
|
+
},
|
|
598
|
+
gantt: {
|
|
599
|
+
useMaxWidth: !0,
|
|
600
|
+
titleTopMargin: 25,
|
|
601
|
+
barHeight: 20,
|
|
602
|
+
barGap: 4,
|
|
603
|
+
topPadding: 50,
|
|
604
|
+
rightPadding: 75,
|
|
605
|
+
leftPadding: 75,
|
|
606
|
+
gridLineStartPadding: 35,
|
|
607
|
+
fontSize: 11,
|
|
608
|
+
sectionFontSize: 11,
|
|
609
|
+
numberSectionStyles: 4,
|
|
610
|
+
axisFormat: "%Y-%m-%d",
|
|
611
|
+
topAxis: !1,
|
|
612
|
+
displayMode: "",
|
|
613
|
+
weekday: "sunday"
|
|
614
|
+
},
|
|
615
|
+
journey: {
|
|
616
|
+
useMaxWidth: !0,
|
|
617
|
+
diagramMarginX: 50,
|
|
618
|
+
diagramMarginY: 10,
|
|
619
|
+
leftMargin: 150,
|
|
620
|
+
maxLabelWidth: 360,
|
|
621
|
+
width: 150,
|
|
622
|
+
height: 50,
|
|
623
|
+
boxMargin: 10,
|
|
624
|
+
boxTextMargin: 5,
|
|
625
|
+
noteMargin: 10,
|
|
626
|
+
messageMargin: 35,
|
|
627
|
+
messageAlign: "center",
|
|
628
|
+
bottomMarginAdj: 1,
|
|
629
|
+
rightAngles: !1,
|
|
630
|
+
taskFontSize: 14,
|
|
631
|
+
taskFontFamily: "\"Open Sans\", sans-serif",
|
|
632
|
+
taskMargin: 50,
|
|
633
|
+
activationWidth: 10,
|
|
634
|
+
textPlacement: "fo",
|
|
635
|
+
actorColours: [
|
|
636
|
+
"#8FBC8F",
|
|
637
|
+
"#7CFC00",
|
|
638
|
+
"#00FFFF",
|
|
639
|
+
"#20B2AA",
|
|
640
|
+
"#B0E0E6",
|
|
641
|
+
"#FFFFE0"
|
|
642
|
+
],
|
|
643
|
+
sectionFills: [
|
|
644
|
+
"#191970",
|
|
645
|
+
"#8B008B",
|
|
646
|
+
"#4B0082",
|
|
647
|
+
"#2F4F4F",
|
|
648
|
+
"#800000",
|
|
649
|
+
"#8B4513",
|
|
650
|
+
"#00008B"
|
|
651
|
+
],
|
|
652
|
+
sectionColours: ["#fff"],
|
|
653
|
+
titleColor: "",
|
|
654
|
+
titleFontFamily: "\"trebuchet ms\", verdana, arial, sans-serif",
|
|
655
|
+
titleFontSize: "4ex"
|
|
656
|
+
},
|
|
657
|
+
class: {
|
|
658
|
+
useMaxWidth: !0,
|
|
659
|
+
titleTopMargin: 25,
|
|
660
|
+
arrowMarkerAbsolute: !1,
|
|
661
|
+
dividerMargin: 10,
|
|
662
|
+
padding: 5,
|
|
663
|
+
textHeight: 10,
|
|
664
|
+
defaultRenderer: "dagre-wrapper",
|
|
665
|
+
htmlLabels: !1,
|
|
666
|
+
hideEmptyMembersBox: !1
|
|
667
|
+
},
|
|
668
|
+
state: {
|
|
669
|
+
useMaxWidth: !0,
|
|
670
|
+
titleTopMargin: 25,
|
|
671
|
+
dividerMargin: 10,
|
|
672
|
+
sizeUnit: 5,
|
|
673
|
+
padding: 8,
|
|
674
|
+
textHeight: 10,
|
|
675
|
+
titleShift: -15,
|
|
676
|
+
noteMargin: 10,
|
|
677
|
+
forkWidth: 70,
|
|
678
|
+
forkHeight: 7,
|
|
679
|
+
miniPadding: 2,
|
|
680
|
+
fontSizeFactor: 5.02,
|
|
681
|
+
fontSize: 24,
|
|
682
|
+
labelHeight: 16,
|
|
683
|
+
edgeLengthFactor: "20",
|
|
684
|
+
compositTitleSize: 35,
|
|
685
|
+
radius: 5,
|
|
686
|
+
defaultRenderer: "dagre-wrapper"
|
|
687
|
+
},
|
|
688
|
+
er: {
|
|
689
|
+
useMaxWidth: !0,
|
|
690
|
+
titleTopMargin: 25,
|
|
691
|
+
diagramPadding: 20,
|
|
692
|
+
layoutDirection: "TB",
|
|
693
|
+
minEntityWidth: 100,
|
|
694
|
+
minEntityHeight: 75,
|
|
695
|
+
entityPadding: 15,
|
|
696
|
+
nodeSpacing: 140,
|
|
697
|
+
rankSpacing: 80,
|
|
698
|
+
stroke: "gray",
|
|
699
|
+
fill: "honeydew",
|
|
700
|
+
fontSize: 12
|
|
701
|
+
},
|
|
702
|
+
pie: {
|
|
703
|
+
useMaxWidth: !0,
|
|
704
|
+
textPosition: .75
|
|
705
|
+
},
|
|
706
|
+
quadrantChart: {
|
|
707
|
+
useMaxWidth: !0,
|
|
708
|
+
chartWidth: 500,
|
|
709
|
+
chartHeight: 500,
|
|
710
|
+
titleFontSize: 20,
|
|
711
|
+
titlePadding: 10,
|
|
712
|
+
quadrantPadding: 5,
|
|
713
|
+
xAxisLabelPadding: 5,
|
|
714
|
+
yAxisLabelPadding: 5,
|
|
715
|
+
xAxisLabelFontSize: 16,
|
|
716
|
+
yAxisLabelFontSize: 16,
|
|
717
|
+
quadrantLabelFontSize: 16,
|
|
718
|
+
quadrantTextTopPadding: 5,
|
|
719
|
+
pointTextPadding: 5,
|
|
720
|
+
pointLabelFontSize: 12,
|
|
721
|
+
pointRadius: 5,
|
|
722
|
+
xAxisPosition: "top",
|
|
723
|
+
yAxisPosition: "left",
|
|
724
|
+
quadrantInternalBorderStrokeWidth: 1,
|
|
725
|
+
quadrantExternalBorderStrokeWidth: 2
|
|
726
|
+
},
|
|
727
|
+
xyChart: {
|
|
728
|
+
useMaxWidth: !0,
|
|
729
|
+
width: 700,
|
|
730
|
+
height: 500,
|
|
731
|
+
titleFontSize: 20,
|
|
732
|
+
titlePadding: 10,
|
|
733
|
+
showDataLabel: !1,
|
|
734
|
+
showTitle: !0,
|
|
735
|
+
xAxis: {
|
|
736
|
+
$ref: "#/$defs/XYChartAxisConfig",
|
|
737
|
+
showLabel: !0,
|
|
738
|
+
labelFontSize: 14,
|
|
739
|
+
labelPadding: 5,
|
|
740
|
+
showTitle: !0,
|
|
741
|
+
titleFontSize: 16,
|
|
742
|
+
titlePadding: 5,
|
|
743
|
+
showTick: !0,
|
|
744
|
+
tickLength: 5,
|
|
745
|
+
tickWidth: 2,
|
|
746
|
+
showAxisLine: !0,
|
|
747
|
+
axisLineWidth: 2
|
|
748
|
+
},
|
|
749
|
+
yAxis: {
|
|
750
|
+
$ref: "#/$defs/XYChartAxisConfig",
|
|
751
|
+
showLabel: !0,
|
|
752
|
+
labelFontSize: 14,
|
|
753
|
+
labelPadding: 5,
|
|
754
|
+
showTitle: !0,
|
|
755
|
+
titleFontSize: 16,
|
|
756
|
+
titlePadding: 5,
|
|
757
|
+
showTick: !0,
|
|
758
|
+
tickLength: 5,
|
|
759
|
+
tickWidth: 2,
|
|
760
|
+
showAxisLine: !0,
|
|
761
|
+
axisLineWidth: 2
|
|
762
|
+
},
|
|
763
|
+
chartOrientation: "vertical",
|
|
764
|
+
plotReservedSpacePercent: 50
|
|
765
|
+
},
|
|
766
|
+
requirement: {
|
|
767
|
+
useMaxWidth: !0,
|
|
768
|
+
rect_fill: "#f9f9f9",
|
|
769
|
+
text_color: "#333",
|
|
770
|
+
rect_border_size: "0.5px",
|
|
771
|
+
rect_border_color: "#bbb",
|
|
772
|
+
rect_min_width: 200,
|
|
773
|
+
rect_min_height: 200,
|
|
774
|
+
fontSize: 14,
|
|
775
|
+
rect_padding: 10,
|
|
776
|
+
line_height: 20
|
|
777
|
+
},
|
|
778
|
+
mindmap: {
|
|
779
|
+
useMaxWidth: !0,
|
|
780
|
+
padding: 10,
|
|
781
|
+
maxNodeWidth: 200,
|
|
782
|
+
layoutAlgorithm: "cose-bilkent"
|
|
783
|
+
},
|
|
784
|
+
kanban: {
|
|
785
|
+
useMaxWidth: !0,
|
|
786
|
+
padding: 8,
|
|
787
|
+
sectionWidth: 200,
|
|
788
|
+
ticketBaseUrl: ""
|
|
789
|
+
},
|
|
790
|
+
timeline: {
|
|
791
|
+
useMaxWidth: !0,
|
|
792
|
+
diagramMarginX: 50,
|
|
793
|
+
diagramMarginY: 10,
|
|
794
|
+
leftMargin: 150,
|
|
795
|
+
width: 150,
|
|
796
|
+
height: 50,
|
|
797
|
+
boxMargin: 10,
|
|
798
|
+
boxTextMargin: 5,
|
|
799
|
+
noteMargin: 10,
|
|
800
|
+
messageMargin: 35,
|
|
801
|
+
messageAlign: "center",
|
|
802
|
+
bottomMarginAdj: 1,
|
|
803
|
+
rightAngles: !1,
|
|
804
|
+
taskFontSize: 14,
|
|
805
|
+
taskFontFamily: "\"Open Sans\", sans-serif",
|
|
806
|
+
taskMargin: 50,
|
|
807
|
+
activationWidth: 10,
|
|
808
|
+
textPlacement: "fo",
|
|
809
|
+
actorColours: [
|
|
810
|
+
"#8FBC8F",
|
|
811
|
+
"#7CFC00",
|
|
812
|
+
"#00FFFF",
|
|
813
|
+
"#20B2AA",
|
|
814
|
+
"#B0E0E6",
|
|
815
|
+
"#FFFFE0"
|
|
816
|
+
],
|
|
817
|
+
sectionFills: [
|
|
818
|
+
"#191970",
|
|
819
|
+
"#8B008B",
|
|
820
|
+
"#4B0082",
|
|
821
|
+
"#2F4F4F",
|
|
822
|
+
"#800000",
|
|
823
|
+
"#8B4513",
|
|
824
|
+
"#00008B"
|
|
825
|
+
],
|
|
826
|
+
sectionColours: ["#fff"],
|
|
827
|
+
disableMulticolor: !1
|
|
828
|
+
},
|
|
829
|
+
gitGraph: {
|
|
830
|
+
useMaxWidth: !0,
|
|
831
|
+
titleTopMargin: 25,
|
|
832
|
+
diagramPadding: 8,
|
|
833
|
+
nodeLabel: {
|
|
834
|
+
width: 75,
|
|
835
|
+
height: 100,
|
|
836
|
+
x: -25,
|
|
837
|
+
y: 0
|
|
838
|
+
},
|
|
839
|
+
mainBranchName: "main",
|
|
840
|
+
mainBranchOrder: 0,
|
|
841
|
+
showCommitLabel: !0,
|
|
842
|
+
showBranches: !0,
|
|
843
|
+
rotateCommitLabel: !0,
|
|
844
|
+
parallelCommits: !1,
|
|
845
|
+
arrowMarkerAbsolute: !1
|
|
846
|
+
},
|
|
847
|
+
c4: {
|
|
848
|
+
useMaxWidth: !0,
|
|
849
|
+
diagramMarginX: 50,
|
|
850
|
+
diagramMarginY: 10,
|
|
851
|
+
c4ShapeMargin: 50,
|
|
852
|
+
c4ShapePadding: 20,
|
|
853
|
+
width: 216,
|
|
854
|
+
height: 60,
|
|
855
|
+
boxMargin: 10,
|
|
856
|
+
c4ShapeInRow: 4,
|
|
857
|
+
nextLinePaddingX: 0,
|
|
858
|
+
c4BoundaryInRow: 2,
|
|
859
|
+
personFontSize: 14,
|
|
860
|
+
personFontFamily: "\"Open Sans\", sans-serif",
|
|
861
|
+
personFontWeight: "normal",
|
|
862
|
+
external_personFontSize: 14,
|
|
863
|
+
external_personFontFamily: "\"Open Sans\", sans-serif",
|
|
864
|
+
external_personFontWeight: "normal",
|
|
865
|
+
systemFontSize: 14,
|
|
866
|
+
systemFontFamily: "\"Open Sans\", sans-serif",
|
|
867
|
+
systemFontWeight: "normal",
|
|
868
|
+
external_systemFontSize: 14,
|
|
869
|
+
external_systemFontFamily: "\"Open Sans\", sans-serif",
|
|
870
|
+
external_systemFontWeight: "normal",
|
|
871
|
+
system_dbFontSize: 14,
|
|
872
|
+
system_dbFontFamily: "\"Open Sans\", sans-serif",
|
|
873
|
+
system_dbFontWeight: "normal",
|
|
874
|
+
external_system_dbFontSize: 14,
|
|
875
|
+
external_system_dbFontFamily: "\"Open Sans\", sans-serif",
|
|
876
|
+
external_system_dbFontWeight: "normal",
|
|
877
|
+
system_queueFontSize: 14,
|
|
878
|
+
system_queueFontFamily: "\"Open Sans\", sans-serif",
|
|
879
|
+
system_queueFontWeight: "normal",
|
|
880
|
+
external_system_queueFontSize: 14,
|
|
881
|
+
external_system_queueFontFamily: "\"Open Sans\", sans-serif",
|
|
882
|
+
external_system_queueFontWeight: "normal",
|
|
883
|
+
boundaryFontSize: 14,
|
|
884
|
+
boundaryFontFamily: "\"Open Sans\", sans-serif",
|
|
885
|
+
boundaryFontWeight: "normal",
|
|
886
|
+
messageFontSize: 12,
|
|
887
|
+
messageFontFamily: "\"Open Sans\", sans-serif",
|
|
888
|
+
messageFontWeight: "normal",
|
|
889
|
+
containerFontSize: 14,
|
|
890
|
+
containerFontFamily: "\"Open Sans\", sans-serif",
|
|
891
|
+
containerFontWeight: "normal",
|
|
892
|
+
external_containerFontSize: 14,
|
|
893
|
+
external_containerFontFamily: "\"Open Sans\", sans-serif",
|
|
894
|
+
external_containerFontWeight: "normal",
|
|
895
|
+
container_dbFontSize: 14,
|
|
896
|
+
container_dbFontFamily: "\"Open Sans\", sans-serif",
|
|
897
|
+
container_dbFontWeight: "normal",
|
|
898
|
+
external_container_dbFontSize: 14,
|
|
899
|
+
external_container_dbFontFamily: "\"Open Sans\", sans-serif",
|
|
900
|
+
external_container_dbFontWeight: "normal",
|
|
901
|
+
container_queueFontSize: 14,
|
|
902
|
+
container_queueFontFamily: "\"Open Sans\", sans-serif",
|
|
903
|
+
container_queueFontWeight: "normal",
|
|
904
|
+
external_container_queueFontSize: 14,
|
|
905
|
+
external_container_queueFontFamily: "\"Open Sans\", sans-serif",
|
|
906
|
+
external_container_queueFontWeight: "normal",
|
|
907
|
+
componentFontSize: 14,
|
|
908
|
+
componentFontFamily: "\"Open Sans\", sans-serif",
|
|
909
|
+
componentFontWeight: "normal",
|
|
910
|
+
external_componentFontSize: 14,
|
|
911
|
+
external_componentFontFamily: "\"Open Sans\", sans-serif",
|
|
912
|
+
external_componentFontWeight: "normal",
|
|
913
|
+
component_dbFontSize: 14,
|
|
914
|
+
component_dbFontFamily: "\"Open Sans\", sans-serif",
|
|
915
|
+
component_dbFontWeight: "normal",
|
|
916
|
+
external_component_dbFontSize: 14,
|
|
917
|
+
external_component_dbFontFamily: "\"Open Sans\", sans-serif",
|
|
918
|
+
external_component_dbFontWeight: "normal",
|
|
919
|
+
component_queueFontSize: 14,
|
|
920
|
+
component_queueFontFamily: "\"Open Sans\", sans-serif",
|
|
921
|
+
component_queueFontWeight: "normal",
|
|
922
|
+
external_component_queueFontSize: 14,
|
|
923
|
+
external_component_queueFontFamily: "\"Open Sans\", sans-serif",
|
|
924
|
+
external_component_queueFontWeight: "normal",
|
|
925
|
+
wrap: !0,
|
|
926
|
+
wrapPadding: 10,
|
|
927
|
+
person_bg_color: "#08427B",
|
|
928
|
+
person_border_color: "#073B6F",
|
|
929
|
+
external_person_bg_color: "#686868",
|
|
930
|
+
external_person_border_color: "#8A8A8A",
|
|
931
|
+
system_bg_color: "#1168BD",
|
|
932
|
+
system_border_color: "#3C7FC0",
|
|
933
|
+
system_db_bg_color: "#1168BD",
|
|
934
|
+
system_db_border_color: "#3C7FC0",
|
|
935
|
+
system_queue_bg_color: "#1168BD",
|
|
936
|
+
system_queue_border_color: "#3C7FC0",
|
|
937
|
+
external_system_bg_color: "#999999",
|
|
938
|
+
external_system_border_color: "#8A8A8A",
|
|
939
|
+
external_system_db_bg_color: "#999999",
|
|
940
|
+
external_system_db_border_color: "#8A8A8A",
|
|
941
|
+
external_system_queue_bg_color: "#999999",
|
|
942
|
+
external_system_queue_border_color: "#8A8A8A",
|
|
943
|
+
container_bg_color: "#438DD5",
|
|
944
|
+
container_border_color: "#3C7FC0",
|
|
945
|
+
container_db_bg_color: "#438DD5",
|
|
946
|
+
container_db_border_color: "#3C7FC0",
|
|
947
|
+
container_queue_bg_color: "#438DD5",
|
|
948
|
+
container_queue_border_color: "#3C7FC0",
|
|
949
|
+
external_container_bg_color: "#B3B3B3",
|
|
950
|
+
external_container_border_color: "#A6A6A6",
|
|
951
|
+
external_container_db_bg_color: "#B3B3B3",
|
|
952
|
+
external_container_db_border_color: "#A6A6A6",
|
|
953
|
+
external_container_queue_bg_color: "#B3B3B3",
|
|
954
|
+
external_container_queue_border_color: "#A6A6A6",
|
|
955
|
+
component_bg_color: "#85BBF0",
|
|
956
|
+
component_border_color: "#78A8D8",
|
|
957
|
+
component_db_bg_color: "#85BBF0",
|
|
958
|
+
component_db_border_color: "#78A8D8",
|
|
959
|
+
component_queue_bg_color: "#85BBF0",
|
|
960
|
+
component_queue_border_color: "#78A8D8",
|
|
961
|
+
external_component_bg_color: "#CCCCCC",
|
|
962
|
+
external_component_border_color: "#BFBFBF",
|
|
963
|
+
external_component_db_bg_color: "#CCCCCC",
|
|
964
|
+
external_component_db_border_color: "#BFBFBF",
|
|
965
|
+
external_component_queue_bg_color: "#CCCCCC",
|
|
966
|
+
external_component_queue_border_color: "#BFBFBF"
|
|
967
|
+
},
|
|
968
|
+
sankey: {
|
|
969
|
+
useMaxWidth: !0,
|
|
970
|
+
width: 600,
|
|
971
|
+
height: 400,
|
|
972
|
+
linkColor: "gradient",
|
|
973
|
+
nodeAlignment: "justify",
|
|
974
|
+
showValues: !0,
|
|
975
|
+
prefix: "",
|
|
976
|
+
suffix: ""
|
|
977
|
+
},
|
|
978
|
+
block: {
|
|
979
|
+
useMaxWidth: !0,
|
|
980
|
+
padding: 8
|
|
981
|
+
},
|
|
982
|
+
packet: {
|
|
983
|
+
useMaxWidth: !0,
|
|
984
|
+
rowHeight: 32,
|
|
985
|
+
bitWidth: 32,
|
|
986
|
+
bitsPerRow: 32,
|
|
987
|
+
showBits: !0,
|
|
988
|
+
paddingX: 5,
|
|
989
|
+
paddingY: 5
|
|
990
|
+
},
|
|
991
|
+
architecture: {
|
|
992
|
+
useMaxWidth: !0,
|
|
993
|
+
padding: 40,
|
|
994
|
+
iconSize: 80,
|
|
995
|
+
fontSize: 16
|
|
996
|
+
},
|
|
997
|
+
radar: {
|
|
998
|
+
useMaxWidth: !0,
|
|
999
|
+
width: 600,
|
|
1000
|
+
height: 600,
|
|
1001
|
+
marginTop: 50,
|
|
1002
|
+
marginRight: 50,
|
|
1003
|
+
marginBottom: 50,
|
|
1004
|
+
marginLeft: 50,
|
|
1005
|
+
axisScaleFactor: 1,
|
|
1006
|
+
axisLabelFactor: 1.05,
|
|
1007
|
+
curveTension: .17
|
|
1008
|
+
},
|
|
1009
|
+
theme: "default",
|
|
1010
|
+
look: "classic",
|
|
1011
|
+
handDrawnSeed: 0,
|
|
1012
|
+
layout: "dagre",
|
|
1013
|
+
maxTextSize: 5e4,
|
|
1014
|
+
maxEdges: 500,
|
|
1015
|
+
darkMode: !1,
|
|
1016
|
+
fontFamily: "\"trebuchet ms\", verdana, arial, sans-serif;",
|
|
1017
|
+
logLevel: 5,
|
|
1018
|
+
securityLevel: "strict",
|
|
1019
|
+
startOnLoad: !0,
|
|
1020
|
+
arrowMarkerAbsolute: !1,
|
|
1021
|
+
secure: [
|
|
1022
|
+
"secure",
|
|
1023
|
+
"securityLevel",
|
|
1024
|
+
"startOnLoad",
|
|
1025
|
+
"maxTextSize",
|
|
1026
|
+
"suppressErrorRendering",
|
|
1027
|
+
"maxEdges"
|
|
1028
|
+
],
|
|
1029
|
+
legacyMathML: !1,
|
|
1030
|
+
forceLegacyMathML: !1,
|
|
1031
|
+
deterministicIds: !1,
|
|
1032
|
+
fontSize: 16,
|
|
1033
|
+
markdownAutoWrap: !0,
|
|
1034
|
+
suppressErrorRendering: !1
|
|
1035
|
+
}, config = {
|
|
1036
|
+
...config_schema_default,
|
|
1037
|
+
deterministicIDSeed: void 0,
|
|
1038
|
+
elk: {
|
|
1039
|
+
mergeEdges: !1,
|
|
1040
|
+
nodePlacementStrategy: "BRANDES_KOEPF",
|
|
1041
|
+
forceNodeModelOrder: !1,
|
|
1042
|
+
considerModelOrder: "NODES_AND_EDGES"
|
|
1043
|
+
},
|
|
1044
|
+
themeCSS: void 0,
|
|
1045
|
+
themeVariables: themes_default.default.getThemeVariables(),
|
|
1046
|
+
sequence: {
|
|
1047
|
+
...config_schema_default.sequence,
|
|
1048
|
+
messageFont: /* @__PURE__ */ __name(function() {
|
|
1049
|
+
return {
|
|
1050
|
+
fontFamily: this.messageFontFamily,
|
|
1051
|
+
fontSize: this.messageFontSize,
|
|
1052
|
+
fontWeight: this.messageFontWeight
|
|
1053
|
+
};
|
|
1054
|
+
}, "messageFont"),
|
|
1055
|
+
noteFont: /* @__PURE__ */ __name(function() {
|
|
1056
|
+
return {
|
|
1057
|
+
fontFamily: this.noteFontFamily,
|
|
1058
|
+
fontSize: this.noteFontSize,
|
|
1059
|
+
fontWeight: this.noteFontWeight
|
|
1060
|
+
};
|
|
1061
|
+
}, "noteFont"),
|
|
1062
|
+
actorFont: /* @__PURE__ */ __name(function() {
|
|
1063
|
+
return {
|
|
1064
|
+
fontFamily: this.actorFontFamily,
|
|
1065
|
+
fontSize: this.actorFontSize,
|
|
1066
|
+
fontWeight: this.actorFontWeight
|
|
1067
|
+
};
|
|
1068
|
+
}, "actorFont")
|
|
1069
|
+
},
|
|
1070
|
+
class: { hideEmptyMembersBox: !1 },
|
|
1071
|
+
gantt: {
|
|
1072
|
+
...config_schema_default.gantt,
|
|
1073
|
+
tickInterval: void 0,
|
|
1074
|
+
useWidth: void 0
|
|
1075
|
+
},
|
|
1076
|
+
c4: {
|
|
1077
|
+
...config_schema_default.c4,
|
|
1078
|
+
useWidth: void 0,
|
|
1079
|
+
personFont: /* @__PURE__ */ __name(function() {
|
|
1080
|
+
return {
|
|
1081
|
+
fontFamily: this.personFontFamily,
|
|
1082
|
+
fontSize: this.personFontSize,
|
|
1083
|
+
fontWeight: this.personFontWeight
|
|
1084
|
+
};
|
|
1085
|
+
}, "personFont"),
|
|
1086
|
+
flowchart: {
|
|
1087
|
+
...config_schema_default.flowchart,
|
|
1088
|
+
inheritDir: !1
|
|
1089
|
+
},
|
|
1090
|
+
external_personFont: /* @__PURE__ */ __name(function() {
|
|
1091
|
+
return {
|
|
1092
|
+
fontFamily: this.external_personFontFamily,
|
|
1093
|
+
fontSize: this.external_personFontSize,
|
|
1094
|
+
fontWeight: this.external_personFontWeight
|
|
1095
|
+
};
|
|
1096
|
+
}, "external_personFont"),
|
|
1097
|
+
systemFont: /* @__PURE__ */ __name(function() {
|
|
1098
|
+
return {
|
|
1099
|
+
fontFamily: this.systemFontFamily,
|
|
1100
|
+
fontSize: this.systemFontSize,
|
|
1101
|
+
fontWeight: this.systemFontWeight
|
|
1102
|
+
};
|
|
1103
|
+
}, "systemFont"),
|
|
1104
|
+
external_systemFont: /* @__PURE__ */ __name(function() {
|
|
1105
|
+
return {
|
|
1106
|
+
fontFamily: this.external_systemFontFamily,
|
|
1107
|
+
fontSize: this.external_systemFontSize,
|
|
1108
|
+
fontWeight: this.external_systemFontWeight
|
|
1109
|
+
};
|
|
1110
|
+
}, "external_systemFont"),
|
|
1111
|
+
system_dbFont: /* @__PURE__ */ __name(function() {
|
|
1112
|
+
return {
|
|
1113
|
+
fontFamily: this.system_dbFontFamily,
|
|
1114
|
+
fontSize: this.system_dbFontSize,
|
|
1115
|
+
fontWeight: this.system_dbFontWeight
|
|
1116
|
+
};
|
|
1117
|
+
}, "system_dbFont"),
|
|
1118
|
+
external_system_dbFont: /* @__PURE__ */ __name(function() {
|
|
1119
|
+
return {
|
|
1120
|
+
fontFamily: this.external_system_dbFontFamily,
|
|
1121
|
+
fontSize: this.external_system_dbFontSize,
|
|
1122
|
+
fontWeight: this.external_system_dbFontWeight
|
|
1123
|
+
};
|
|
1124
|
+
}, "external_system_dbFont"),
|
|
1125
|
+
system_queueFont: /* @__PURE__ */ __name(function() {
|
|
1126
|
+
return {
|
|
1127
|
+
fontFamily: this.system_queueFontFamily,
|
|
1128
|
+
fontSize: this.system_queueFontSize,
|
|
1129
|
+
fontWeight: this.system_queueFontWeight
|
|
1130
|
+
};
|
|
1131
|
+
}, "system_queueFont"),
|
|
1132
|
+
external_system_queueFont: /* @__PURE__ */ __name(function() {
|
|
1133
|
+
return {
|
|
1134
|
+
fontFamily: this.external_system_queueFontFamily,
|
|
1135
|
+
fontSize: this.external_system_queueFontSize,
|
|
1136
|
+
fontWeight: this.external_system_queueFontWeight
|
|
1137
|
+
};
|
|
1138
|
+
}, "external_system_queueFont"),
|
|
1139
|
+
containerFont: /* @__PURE__ */ __name(function() {
|
|
1140
|
+
return {
|
|
1141
|
+
fontFamily: this.containerFontFamily,
|
|
1142
|
+
fontSize: this.containerFontSize,
|
|
1143
|
+
fontWeight: this.containerFontWeight
|
|
1144
|
+
};
|
|
1145
|
+
}, "containerFont"),
|
|
1146
|
+
external_containerFont: /* @__PURE__ */ __name(function() {
|
|
1147
|
+
return {
|
|
1148
|
+
fontFamily: this.external_containerFontFamily,
|
|
1149
|
+
fontSize: this.external_containerFontSize,
|
|
1150
|
+
fontWeight: this.external_containerFontWeight
|
|
1151
|
+
};
|
|
1152
|
+
}, "external_containerFont"),
|
|
1153
|
+
container_dbFont: /* @__PURE__ */ __name(function() {
|
|
1154
|
+
return {
|
|
1155
|
+
fontFamily: this.container_dbFontFamily,
|
|
1156
|
+
fontSize: this.container_dbFontSize,
|
|
1157
|
+
fontWeight: this.container_dbFontWeight
|
|
1158
|
+
};
|
|
1159
|
+
}, "container_dbFont"),
|
|
1160
|
+
external_container_dbFont: /* @__PURE__ */ __name(function() {
|
|
1161
|
+
return {
|
|
1162
|
+
fontFamily: this.external_container_dbFontFamily,
|
|
1163
|
+
fontSize: this.external_container_dbFontSize,
|
|
1164
|
+
fontWeight: this.external_container_dbFontWeight
|
|
1165
|
+
};
|
|
1166
|
+
}, "external_container_dbFont"),
|
|
1167
|
+
container_queueFont: /* @__PURE__ */ __name(function() {
|
|
1168
|
+
return {
|
|
1169
|
+
fontFamily: this.container_queueFontFamily,
|
|
1170
|
+
fontSize: this.container_queueFontSize,
|
|
1171
|
+
fontWeight: this.container_queueFontWeight
|
|
1172
|
+
};
|
|
1173
|
+
}, "container_queueFont"),
|
|
1174
|
+
external_container_queueFont: /* @__PURE__ */ __name(function() {
|
|
1175
|
+
return {
|
|
1176
|
+
fontFamily: this.external_container_queueFontFamily,
|
|
1177
|
+
fontSize: this.external_container_queueFontSize,
|
|
1178
|
+
fontWeight: this.external_container_queueFontWeight
|
|
1179
|
+
};
|
|
1180
|
+
}, "external_container_queueFont"),
|
|
1181
|
+
componentFont: /* @__PURE__ */ __name(function() {
|
|
1182
|
+
return {
|
|
1183
|
+
fontFamily: this.componentFontFamily,
|
|
1184
|
+
fontSize: this.componentFontSize,
|
|
1185
|
+
fontWeight: this.componentFontWeight
|
|
1186
|
+
};
|
|
1187
|
+
}, "componentFont"),
|
|
1188
|
+
external_componentFont: /* @__PURE__ */ __name(function() {
|
|
1189
|
+
return {
|
|
1190
|
+
fontFamily: this.external_componentFontFamily,
|
|
1191
|
+
fontSize: this.external_componentFontSize,
|
|
1192
|
+
fontWeight: this.external_componentFontWeight
|
|
1193
|
+
};
|
|
1194
|
+
}, "external_componentFont"),
|
|
1195
|
+
component_dbFont: /* @__PURE__ */ __name(function() {
|
|
1196
|
+
return {
|
|
1197
|
+
fontFamily: this.component_dbFontFamily,
|
|
1198
|
+
fontSize: this.component_dbFontSize,
|
|
1199
|
+
fontWeight: this.component_dbFontWeight
|
|
1200
|
+
};
|
|
1201
|
+
}, "component_dbFont"),
|
|
1202
|
+
external_component_dbFont: /* @__PURE__ */ __name(function() {
|
|
1203
|
+
return {
|
|
1204
|
+
fontFamily: this.external_component_dbFontFamily,
|
|
1205
|
+
fontSize: this.external_component_dbFontSize,
|
|
1206
|
+
fontWeight: this.external_component_dbFontWeight
|
|
1207
|
+
};
|
|
1208
|
+
}, "external_component_dbFont"),
|
|
1209
|
+
component_queueFont: /* @__PURE__ */ __name(function() {
|
|
1210
|
+
return {
|
|
1211
|
+
fontFamily: this.component_queueFontFamily,
|
|
1212
|
+
fontSize: this.component_queueFontSize,
|
|
1213
|
+
fontWeight: this.component_queueFontWeight
|
|
1214
|
+
};
|
|
1215
|
+
}, "component_queueFont"),
|
|
1216
|
+
external_component_queueFont: /* @__PURE__ */ __name(function() {
|
|
1217
|
+
return {
|
|
1218
|
+
fontFamily: this.external_component_queueFontFamily,
|
|
1219
|
+
fontSize: this.external_component_queueFontSize,
|
|
1220
|
+
fontWeight: this.external_component_queueFontWeight
|
|
1221
|
+
};
|
|
1222
|
+
}, "external_component_queueFont"),
|
|
1223
|
+
boundaryFont: /* @__PURE__ */ __name(function() {
|
|
1224
|
+
return {
|
|
1225
|
+
fontFamily: this.boundaryFontFamily,
|
|
1226
|
+
fontSize: this.boundaryFontSize,
|
|
1227
|
+
fontWeight: this.boundaryFontWeight
|
|
1228
|
+
};
|
|
1229
|
+
}, "boundaryFont"),
|
|
1230
|
+
messageFont: /* @__PURE__ */ __name(function() {
|
|
1231
|
+
return {
|
|
1232
|
+
fontFamily: this.messageFontFamily,
|
|
1233
|
+
fontSize: this.messageFontSize,
|
|
1234
|
+
fontWeight: this.messageFontWeight
|
|
1235
|
+
};
|
|
1236
|
+
}, "messageFont")
|
|
1237
|
+
},
|
|
1238
|
+
pie: {
|
|
1239
|
+
...config_schema_default.pie,
|
|
1240
|
+
useWidth: 984
|
|
1241
|
+
},
|
|
1242
|
+
xyChart: {
|
|
1243
|
+
...config_schema_default.xyChart,
|
|
1244
|
+
useWidth: void 0
|
|
1245
|
+
},
|
|
1246
|
+
requirement: {
|
|
1247
|
+
...config_schema_default.requirement,
|
|
1248
|
+
useWidth: void 0
|
|
1249
|
+
},
|
|
1250
|
+
packet: { ...config_schema_default.packet },
|
|
1251
|
+
radar: { ...config_schema_default.radar },
|
|
1252
|
+
treemap: {
|
|
1253
|
+
useMaxWidth: !0,
|
|
1254
|
+
padding: 10,
|
|
1255
|
+
diagramPadding: 8,
|
|
1256
|
+
showValues: !0,
|
|
1257
|
+
nodeWidth: 100,
|
|
1258
|
+
nodeHeight: 40,
|
|
1259
|
+
borderWidth: 1,
|
|
1260
|
+
valueFontSize: 12,
|
|
1261
|
+
labelFontSize: 14,
|
|
1262
|
+
valueFormat: ","
|
|
1263
|
+
}
|
|
1264
|
+
}, keyify = /* @__PURE__ */ __name((h, W = "") => Object.keys(h).reduce((G, K) => Array.isArray(h[K]) ? G : typeof h[K] == "object" && h[K] !== null ? [
|
|
1265
|
+
...G,
|
|
1266
|
+
W + K,
|
|
1267
|
+
...keyify(h[K], "")
|
|
1268
|
+
] : [...G, W + K], []), "keyify"), configKeys = new Set(keyify(config, "")), defaultConfig_default = config, sanitizeDirective = /* @__PURE__ */ __name((h) => {
|
|
1269
|
+
if (log.debug("sanitizeDirective called with", h), !(typeof h != "object" || !h)) {
|
|
1270
|
+
if (Array.isArray(h)) {
|
|
1271
|
+
h.forEach((h) => sanitizeDirective(h));
|
|
1272
|
+
return;
|
|
1273
|
+
}
|
|
1274
|
+
for (let W of Object.keys(h)) {
|
|
1275
|
+
if (log.debug("Checking key", W), W.startsWith("__") || W.includes("proto") || W.includes("constr") || !configKeys.has(W) || h[W] == null) {
|
|
1276
|
+
log.debug("sanitize deleting key: ", W), delete h[W];
|
|
1277
|
+
continue;
|
|
1278
|
+
}
|
|
1279
|
+
if (typeof h[W] == "object") {
|
|
1280
|
+
log.debug("sanitizing object", W), sanitizeDirective(h[W]);
|
|
1281
|
+
continue;
|
|
1282
|
+
}
|
|
1283
|
+
for (let K of [
|
|
1284
|
+
"themeCSS",
|
|
1285
|
+
"fontFamily",
|
|
1286
|
+
"altFontFamily"
|
|
1287
|
+
]) W.includes(K) && (log.debug("sanitizing css option", W), h[W] = sanitizeCss(h[W]));
|
|
1288
|
+
}
|
|
1289
|
+
if (h.themeVariables) for (let W of Object.keys(h.themeVariables)) {
|
|
1290
|
+
let G = h.themeVariables[W];
|
|
1291
|
+
G?.match && !G.match(/^[\d "#%(),.;A-Za-z]+$/) && (h.themeVariables[W] = "");
|
|
1292
|
+
}
|
|
1293
|
+
log.debug("After sanitization", h);
|
|
1294
|
+
}
|
|
1295
|
+
}, "sanitizeDirective"), sanitizeCss = /* @__PURE__ */ __name((h) => {
|
|
1296
|
+
let W = 0, G = 0;
|
|
1297
|
+
for (let K of h) {
|
|
1298
|
+
if (W < G) return "{ /* ERROR: Unbalanced CSS */ }";
|
|
1299
|
+
K === "{" ? W++ : K === "}" && G++;
|
|
1300
|
+
}
|
|
1301
|
+
return W === G ? h : "{ /* ERROR: Unbalanced CSS */ }";
|
|
1302
|
+
}, "sanitizeCss"), defaultConfig = Object.freeze(defaultConfig_default), siteConfig = assignWithDepth_default({}, defaultConfig), configFromInitialize, directives = [], currentConfig = assignWithDepth_default({}, defaultConfig), updateCurrentConfig = /* @__PURE__ */ __name((h, W) => {
|
|
1303
|
+
let G = assignWithDepth_default({}, h), K = {};
|
|
1304
|
+
for (let h of W) sanitize(h), K = assignWithDepth_default(K, h);
|
|
1305
|
+
if (G = assignWithDepth_default(G, K), K.theme && K.theme in themes_default) {
|
|
1306
|
+
let h = assignWithDepth_default(assignWithDepth_default({}, configFromInitialize).themeVariables || {}, K.themeVariables);
|
|
1307
|
+
G.theme && G.theme in themes_default && (G.themeVariables = themes_default[G.theme].getThemeVariables(h));
|
|
1308
|
+
}
|
|
1309
|
+
return currentConfig = G, checkConfig(currentConfig), currentConfig;
|
|
1310
|
+
}, "updateCurrentConfig"), setSiteConfig = /* @__PURE__ */ __name((h) => (siteConfig = assignWithDepth_default({}, defaultConfig), siteConfig = assignWithDepth_default(siteConfig, h), h.theme && themes_default[h.theme] && (siteConfig.themeVariables = themes_default[h.theme].getThemeVariables(h.themeVariables)), updateCurrentConfig(siteConfig, directives), siteConfig), "setSiteConfig"), saveConfigFromInitialize = /* @__PURE__ */ __name((h) => {
|
|
1311
|
+
configFromInitialize = assignWithDepth_default({}, h);
|
|
1312
|
+
}, "saveConfigFromInitialize"), updateSiteConfig = /* @__PURE__ */ __name((h) => (siteConfig = assignWithDepth_default(siteConfig, h), updateCurrentConfig(siteConfig, directives), siteConfig), "updateSiteConfig"), getSiteConfig = /* @__PURE__ */ __name(() => assignWithDepth_default({}, siteConfig), "getSiteConfig"), setConfig = /* @__PURE__ */ __name((h) => (checkConfig(h), assignWithDepth_default(currentConfig, h), getConfig()), "setConfig"), getConfig = /* @__PURE__ */ __name(() => assignWithDepth_default({}, currentConfig), "getConfig"), sanitize = /* @__PURE__ */ __name((h) => {
|
|
1313
|
+
h && (["secure", ...siteConfig.secure ?? []].forEach((W) => {
|
|
1314
|
+
Object.hasOwn(h, W) && (log.debug(`Denied attempt to modify a secure key ${W}`, h[W]), delete h[W]);
|
|
1315
|
+
}), Object.keys(h).forEach((W) => {
|
|
1316
|
+
W.startsWith("__") && delete h[W];
|
|
1317
|
+
}), Object.keys(h).forEach((W) => {
|
|
1318
|
+
typeof h[W] == "string" && (h[W].includes("<") || h[W].includes(">") || h[W].includes("url(data:")) && delete h[W], typeof h[W] == "object" && sanitize(h[W]);
|
|
1319
|
+
}));
|
|
1320
|
+
}, "sanitize"), addDirective = /* @__PURE__ */ __name((h) => {
|
|
1321
|
+
sanitizeDirective(h), h.fontFamily && !h.themeVariables?.fontFamily && (h.themeVariables = {
|
|
1322
|
+
...h.themeVariables,
|
|
1323
|
+
fontFamily: h.fontFamily
|
|
1324
|
+
}), directives.push(h), updateCurrentConfig(siteConfig, directives);
|
|
1325
|
+
}, "addDirective"), reset = /* @__PURE__ */ __name((h = siteConfig) => {
|
|
1326
|
+
directives = [], updateCurrentConfig(h, directives);
|
|
1327
|
+
}, "reset"), ConfigWarning = { LAZY_LOAD_DEPRECATED: "The configuration options lazyLoadedDiagrams and loadExternalDiagramsAtStartup are deprecated. Please use registerExternalDiagrams instead." }, issuedWarnings = {}, issueWarning = /* @__PURE__ */ __name((h) => {
|
|
1328
|
+
issuedWarnings[h] || (log.warn(ConfigWarning[h]), issuedWarnings[h] = !0);
|
|
1329
|
+
}, "issueWarning"), checkConfig = /* @__PURE__ */ __name((h) => {
|
|
1330
|
+
h && (h.lazyLoadedDiagrams || h.loadExternalDiagramsAtStartup) && issueWarning("LAZY_LOAD_DEPRECATED");
|
|
1331
|
+
}, "checkConfig"), getUserDefinedConfig = /* @__PURE__ */ __name(() => {
|
|
1332
|
+
let h = {};
|
|
1333
|
+
configFromInitialize && (h = assignWithDepth_default(h, configFromInitialize));
|
|
1334
|
+
for (let W of directives) h = assignWithDepth_default(h, W);
|
|
1335
|
+
return h;
|
|
1336
|
+
}, "getUserDefinedConfig"), lineBreakRegex = /<br\s*\/?>/gi, getRows = /* @__PURE__ */ __name((h) => h ? breakToPlaceholder(h).replace(/\\n/g, "#br#").split("#br#") : [""], "getRows"), setupDompurifyHooksIfNotSetup = /* @__PURE__ */ (() => {
|
|
1337
|
+
let h = !1;
|
|
1338
|
+
return () => {
|
|
1339
|
+
h ||= (setupDompurifyHooks(), !0);
|
|
1340
|
+
};
|
|
1341
|
+
})();
|
|
1342
|
+
function setupDompurifyHooks() {
|
|
1343
|
+
let h = "data-temp-href-target";
|
|
1344
|
+
purify.addHook("beforeSanitizeAttributes", (W) => {
|
|
1345
|
+
W.tagName === "A" && W.hasAttribute("target") && W.setAttribute(h, W.getAttribute("target") ?? "");
|
|
1346
|
+
}), purify.addHook("afterSanitizeAttributes", (W) => {
|
|
1347
|
+
W.tagName === "A" && W.hasAttribute(h) && (W.setAttribute("target", W.getAttribute(h) ?? ""), W.removeAttribute(h), W.getAttribute("target") === "_blank" && W.setAttribute("rel", "noopener"));
|
|
1348
|
+
});
|
|
1349
|
+
}
|
|
1350
|
+
__name(setupDompurifyHooks, "setupDompurifyHooks");
|
|
1351
|
+
var removeScript = /* @__PURE__ */ __name((h) => (setupDompurifyHooksIfNotSetup(), purify.sanitize(h)), "removeScript"), sanitizeMore = /* @__PURE__ */ __name((h, W) => {
|
|
1352
|
+
if (W.flowchart?.htmlLabels !== !1) {
|
|
1353
|
+
let G = W.securityLevel;
|
|
1354
|
+
G === "antiscript" || G === "strict" ? h = removeScript(h) : G !== "loose" && (h = breakToPlaceholder(h), h = h.replace(/</g, "<").replace(/>/g, ">"), h = h.replace(/=/g, "="), h = placeholderToBreak(h));
|
|
1355
|
+
}
|
|
1356
|
+
return h;
|
|
1357
|
+
}, "sanitizeMore"), sanitizeText = /* @__PURE__ */ __name((h, W) => h && (h = W.dompurifyConfig ? purify.sanitize(sanitizeMore(h, W), W.dompurifyConfig).toString() : purify.sanitize(sanitizeMore(h, W), { FORBID_TAGS: ["style"] }).toString(), h), "sanitizeText"), sanitizeTextOrArray = /* @__PURE__ */ __name((h, W) => typeof h == "string" ? sanitizeText(h, W) : h.flat().map((h) => sanitizeText(h, W)), "sanitizeTextOrArray"), hasBreaks = /* @__PURE__ */ __name((h) => lineBreakRegex.test(h), "hasBreaks"), splitBreaks = /* @__PURE__ */ __name((h) => h.split(lineBreakRegex), "splitBreaks"), placeholderToBreak = /* @__PURE__ */ __name((h) => h.replace(/#br#/g, "<br/>"), "placeholderToBreak"), breakToPlaceholder = /* @__PURE__ */ __name((h) => h.replace(lineBreakRegex, "#br#"), "breakToPlaceholder"), getUrl = /* @__PURE__ */ __name((h) => {
|
|
1358
|
+
let W = "";
|
|
1359
|
+
return h && (W = window.location.protocol + "//" + window.location.host + window.location.pathname + window.location.search, W = CSS.escape(W)), W;
|
|
1360
|
+
}, "getUrl"), evaluate = /* @__PURE__ */ __name((h) => !(h === !1 || [
|
|
1361
|
+
"false",
|
|
1362
|
+
"null",
|
|
1363
|
+
"0"
|
|
1364
|
+
].includes(String(h).trim().toLowerCase())), "evaluate"), getMax = /* @__PURE__ */ __name(function(...h) {
|
|
1365
|
+
let W = h.filter((h) => !isNaN(h));
|
|
1366
|
+
return Math.max(...W);
|
|
1367
|
+
}, "getMax"), getMin = /* @__PURE__ */ __name(function(...h) {
|
|
1368
|
+
let W = h.filter((h) => !isNaN(h));
|
|
1369
|
+
return Math.min(...W);
|
|
1370
|
+
}, "getMin"), parseGenericTypes = /* @__PURE__ */ __name(function(h) {
|
|
1371
|
+
let W = h.split(/(,)/), G = [];
|
|
1372
|
+
for (let h = 0; h < W.length; h++) {
|
|
1373
|
+
let K = W[h];
|
|
1374
|
+
if (K === "," && h > 0 && h + 1 < W.length) {
|
|
1375
|
+
let q = W[h - 1], J = W[h + 1];
|
|
1376
|
+
shouldCombineSets(q, J) && (K = q + "," + J, h++, G.pop());
|
|
1377
|
+
}
|
|
1378
|
+
G.push(processSet(K));
|
|
1379
|
+
}
|
|
1380
|
+
return G.join("");
|
|
1381
|
+
}, "parseGenericTypes"), countOccurrence = /* @__PURE__ */ __name((h, W) => Math.max(0, h.split(W).length - 1), "countOccurrence"), shouldCombineSets = /* @__PURE__ */ __name((h, W) => {
|
|
1382
|
+
let G = countOccurrence(h, "~"), K = countOccurrence(W, "~");
|
|
1383
|
+
return G === 1 && K === 1;
|
|
1384
|
+
}, "shouldCombineSets"), processSet = /* @__PURE__ */ __name((h) => {
|
|
1385
|
+
let W = countOccurrence(h, "~"), G = !1;
|
|
1386
|
+
if (W <= 1) return h;
|
|
1387
|
+
W % 2 != 0 && h.startsWith("~") && (h = h.substring(1), G = !0);
|
|
1388
|
+
let K = [...h], q = K.indexOf("~"), J = K.lastIndexOf("~");
|
|
1389
|
+
for (; q !== -1 && J !== -1 && q !== J;) K[q] = "<", K[J] = ">", q = K.indexOf("~"), J = K.lastIndexOf("~");
|
|
1390
|
+
return G && K.unshift("~"), K.join("");
|
|
1391
|
+
}, "processSet"), isMathMLSupported = /* @__PURE__ */ __name(() => window.MathMLElement !== void 0, "isMathMLSupported"), katexRegex = /\$\$(.*)\$\$/g, hasKatex = /* @__PURE__ */ __name((h) => (h.match(katexRegex)?.length ?? 0) > 0, "hasKatex"), calculateMathMLDimensions = /* @__PURE__ */ __name(async (h, W) => {
|
|
1392
|
+
let G = document.createElement("div");
|
|
1393
|
+
G.innerHTML = await renderKatexSanitized(h, W), G.id = "katex-temp", G.style.visibility = "hidden", G.style.position = "absolute", G.style.top = "0", document.querySelector("body")?.insertAdjacentElement("beforeend", G);
|
|
1394
|
+
let K = {
|
|
1395
|
+
width: G.clientWidth,
|
|
1396
|
+
height: G.clientHeight
|
|
1397
|
+
};
|
|
1398
|
+
return G.remove(), K;
|
|
1399
|
+
}, "calculateMathMLDimensions"), renderKatexUnsanitized = /* @__PURE__ */ __name(async (h, W) => {
|
|
1400
|
+
if (!hasKatex(h)) return h;
|
|
1401
|
+
if (!(isMathMLSupported() || W.legacyMathML || W.forceLegacyMathML)) return h.replace(katexRegex, "MathML is unsupported in this environment.");
|
|
1402
|
+
{
|
|
1403
|
+
let { default: G } = await import("../../../../katex/dist/katex.js"), K = W.forceLegacyMathML || !isMathMLSupported() && W.legacyMathML ? "htmlAndMathml" : "mathml";
|
|
1404
|
+
return h.split(lineBreakRegex).map((h) => hasKatex(h) ? `<div style="display: flex; align-items: center; justify-content: center; white-space: nowrap;">${h}</div>` : `<div>${h}</div>`).join("").replace(katexRegex, (h, W) => G.renderToString(W, {
|
|
1405
|
+
throwOnError: !0,
|
|
1406
|
+
displayMode: !0,
|
|
1407
|
+
output: K
|
|
1408
|
+
}).replace(/\n/g, " ").replace(/<annotation.*<\/annotation>/g, ""));
|
|
1409
|
+
}
|
|
1410
|
+
return h.replace(katexRegex, "Katex is not supported in @mermaid-js/tiny. Please use the full mermaid library.");
|
|
1411
|
+
}, "renderKatexUnsanitized"), renderKatexSanitized = /* @__PURE__ */ __name(async (h, W) => sanitizeText(await renderKatexUnsanitized(h, W), W), "renderKatexSanitized"), common_default = {
|
|
1412
|
+
getRows,
|
|
1413
|
+
sanitizeText,
|
|
1414
|
+
sanitizeTextOrArray,
|
|
1415
|
+
hasBreaks,
|
|
1416
|
+
splitBreaks,
|
|
1417
|
+
lineBreakRegex,
|
|
1418
|
+
removeScript,
|
|
1419
|
+
getUrl,
|
|
1420
|
+
evaluate,
|
|
1421
|
+
getMax,
|
|
1422
|
+
getMin
|
|
1423
|
+
}, d3Attrs = /* @__PURE__ */ __name(function(h, W) {
|
|
1424
|
+
for (let G of W) h.attr(G[0], G[1]);
|
|
1425
|
+
}, "d3Attrs"), calculateSvgSizeAttrs = /* @__PURE__ */ __name(function(h, W, G) {
|
|
1426
|
+
let K = /* @__PURE__ */ new Map();
|
|
1427
|
+
return G ? (K.set("width", "100%"), K.set("style", `max-width: ${W}px;`)) : (K.set("height", h), K.set("width", W)), K;
|
|
1428
|
+
}, "calculateSvgSizeAttrs"), configureSvgSize = /* @__PURE__ */ __name(function(h, W, G, K) {
|
|
1429
|
+
d3Attrs(h, calculateSvgSizeAttrs(W, G, K));
|
|
1430
|
+
}, "configureSvgSize"), setupGraphViewbox = /* @__PURE__ */ __name(function(h, W, K, q) {
|
|
1431
|
+
let J = W.node().getBBox(), Y = J.width, X = J.height;
|
|
1432
|
+
log.info(`SVG bounds: ${Y}x${X}`, J);
|
|
1433
|
+
let Z = 0, Q = 0;
|
|
1434
|
+
log.info(`Graph bounds: ${Z}x${Q}`, h), Z = Y + K * 2, Q = X + K * 2, log.info(`Calculated bounds: ${Z}x${Q}`), configureSvgSize(W, Q, Z, q);
|
|
1435
|
+
let $ = `${J.x - K} ${J.y - K} ${J.width + 2 * K} ${J.height + 2 * K}`;
|
|
1436
|
+
W.attr("viewBox", $);
|
|
1437
|
+
}, "setupGraphViewbox"), themes = {}, getStyles = /* @__PURE__ */ __name((h, W, K) => {
|
|
1438
|
+
let q = "";
|
|
1439
|
+
return h in themes && themes[h] ? q = themes[h](K) : log.warn(`No theme found for ${h}`), ` & {
|
|
1440
|
+
font-family: ${K.fontFamily};
|
|
1441
|
+
font-size: ${K.fontSize};
|
|
1442
|
+
fill: ${K.textColor}
|
|
1443
|
+
}
|
|
1444
|
+
@keyframes edge-animation-frame {
|
|
1445
|
+
from {
|
|
1446
|
+
stroke-dashoffset: 0;
|
|
1447
|
+
}
|
|
1448
|
+
}
|
|
1449
|
+
@keyframes dash {
|
|
1450
|
+
to {
|
|
1451
|
+
stroke-dashoffset: 0;
|
|
1452
|
+
}
|
|
1453
|
+
}
|
|
1454
|
+
& .edge-animation-slow {
|
|
1455
|
+
stroke-dasharray: 9,5 !important;
|
|
1456
|
+
stroke-dashoffset: 900;
|
|
1457
|
+
animation: dash 50s linear infinite;
|
|
1458
|
+
stroke-linecap: round;
|
|
1459
|
+
}
|
|
1460
|
+
& .edge-animation-fast {
|
|
1461
|
+
stroke-dasharray: 9,5 !important;
|
|
1462
|
+
stroke-dashoffset: 900;
|
|
1463
|
+
animation: dash 20s linear infinite;
|
|
1464
|
+
stroke-linecap: round;
|
|
1465
|
+
}
|
|
1466
|
+
/* Classes common for multiple diagrams */
|
|
1467
|
+
|
|
1468
|
+
& .error-icon {
|
|
1469
|
+
fill: ${K.errorBkgColor};
|
|
1470
|
+
}
|
|
1471
|
+
& .error-text {
|
|
1472
|
+
fill: ${K.errorTextColor};
|
|
1473
|
+
stroke: ${K.errorTextColor};
|
|
1474
|
+
}
|
|
1475
|
+
|
|
1476
|
+
& .edge-thickness-normal {
|
|
1477
|
+
stroke-width: 1px;
|
|
1478
|
+
}
|
|
1479
|
+
& .edge-thickness-thick {
|
|
1480
|
+
stroke-width: 3.5px
|
|
1481
|
+
}
|
|
1482
|
+
& .edge-pattern-solid {
|
|
1483
|
+
stroke-dasharray: 0;
|
|
1484
|
+
}
|
|
1485
|
+
& .edge-thickness-invisible {
|
|
1486
|
+
stroke-width: 0;
|
|
1487
|
+
fill: none;
|
|
1488
|
+
}
|
|
1489
|
+
& .edge-pattern-dashed{
|
|
1490
|
+
stroke-dasharray: 3;
|
|
1491
|
+
}
|
|
1492
|
+
.edge-pattern-dotted {
|
|
1493
|
+
stroke-dasharray: 2;
|
|
1494
|
+
}
|
|
1495
|
+
|
|
1496
|
+
& .marker {
|
|
1497
|
+
fill: ${K.lineColor};
|
|
1498
|
+
stroke: ${K.lineColor};
|
|
1499
|
+
}
|
|
1500
|
+
& .marker.cross {
|
|
1501
|
+
stroke: ${K.lineColor};
|
|
1502
|
+
}
|
|
1503
|
+
|
|
1504
|
+
& svg {
|
|
1505
|
+
font-family: ${K.fontFamily};
|
|
1506
|
+
font-size: ${K.fontSize};
|
|
1507
|
+
}
|
|
1508
|
+
& p {
|
|
1509
|
+
margin: 0
|
|
1510
|
+
}
|
|
1511
|
+
|
|
1512
|
+
${q}
|
|
1513
|
+
|
|
1514
|
+
${W}
|
|
1515
|
+
`;
|
|
1516
|
+
}, "getStyles"), addStylesForDiagram = /* @__PURE__ */ __name((h, W) => {
|
|
1517
|
+
W !== void 0 && (themes[h] = W);
|
|
1518
|
+
}, "addStylesForDiagram"), styles_default = getStyles, commonDb_exports = {};
|
|
1519
|
+
__export(commonDb_exports, {
|
|
1520
|
+
clear: () => clear,
|
|
1521
|
+
getAccDescription: () => getAccDescription,
|
|
1522
|
+
getAccTitle: () => getAccTitle,
|
|
1523
|
+
getDiagramTitle: () => getDiagramTitle,
|
|
1524
|
+
setAccDescription: () => setAccDescription,
|
|
1525
|
+
setAccTitle: () => setAccTitle,
|
|
1526
|
+
setDiagramTitle: () => setDiagramTitle
|
|
1527
|
+
});
|
|
1528
|
+
var accTitle = "", diagramTitle = "", accDescription = "", sanitizeText2 = /* @__PURE__ */ __name((h) => sanitizeText(h, getConfig()), "sanitizeText"), clear = /* @__PURE__ */ __name(() => {
|
|
1529
|
+
accTitle = "", accDescription = "", diagramTitle = "";
|
|
1530
|
+
}, "clear"), setAccTitle = /* @__PURE__ */ __name((h) => {
|
|
1531
|
+
accTitle = sanitizeText2(h).replace(/^\s+/g, "");
|
|
1532
|
+
}, "setAccTitle"), getAccTitle = /* @__PURE__ */ __name(() => accTitle, "getAccTitle"), setAccDescription = /* @__PURE__ */ __name((h) => {
|
|
1533
|
+
accDescription = sanitizeText2(h).replace(/\n\s+/g, "\n");
|
|
1534
|
+
}, "setAccDescription"), getAccDescription = /* @__PURE__ */ __name(() => accDescription, "getAccDescription"), setDiagramTitle = /* @__PURE__ */ __name((h) => {
|
|
1535
|
+
diagramTitle = sanitizeText2(h);
|
|
1536
|
+
}, "setDiagramTitle"), getDiagramTitle = /* @__PURE__ */ __name(() => diagramTitle, "getDiagramTitle"), log2 = log, setLogLevel2 = setLogLevel, getConfig2 = getConfig, setConfig2 = setConfig, defaultConfig2 = defaultConfig, sanitizeText3 = /* @__PURE__ */ __name((h) => sanitizeText(h, getConfig2()), "sanitizeText"), setupGraphViewbox2 = setupGraphViewbox, getCommonDb = /* @__PURE__ */ __name(() => commonDb_exports, "getCommonDb"), diagrams = {}, registerDiagram = /* @__PURE__ */ __name((h, W, G) => {
|
|
1537
|
+
diagrams[h] && log2.warn(`Diagram with id ${h} already registered. Overwriting.`), diagrams[h] = W, G && addDetector(h, G), addStylesForDiagram(h, W.styles), W.injectUtils?.(log2, setLogLevel2, getConfig2, sanitizeText3, setupGraphViewbox2, getCommonDb(), () => {});
|
|
1538
|
+
}, "registerDiagram"), getDiagram = /* @__PURE__ */ __name((h) => {
|
|
1539
|
+
if (h in diagrams) return diagrams[h];
|
|
1540
|
+
throw new DiagramNotFoundError(h);
|
|
1541
|
+
}, "getDiagram"), DiagramNotFoundError = class extends Error {
|
|
1542
|
+
static #e = __name(this, "DiagramNotFoundError");
|
|
1543
|
+
constructor(h) {
|
|
1544
|
+
super(`Diagram ${h} not found.`);
|
|
1545
|
+
}
|
|
1546
|
+
};
|
|
1547
|
+
export { UnknownDiagramError, addDirective, assignWithDepth_default, calculateMathMLDimensions, clear, commonDb_exports, common_default, configureSvgSize, defaultConfig, defaultConfig2, defaultConfig_default, detectType, detectors, directiveRegex, evaluate, frontMatterRegex, getAccDescription, getAccTitle, getConfig, getConfig2, getDiagram, getDiagramLoader, getDiagramTitle, getSiteConfig, getThemeVariables3, getUrl, getUserDefinedConfig, hasKatex, lineBreakRegex, parseGenericTypes, registerDiagram, registerLazyLoadedDiagrams, renderKatexSanitized, reset, sanitizeDirective, sanitizeText, sanitizeText3, saveConfigFromInitialize, setAccDescription, setAccTitle, setConfig, setConfig2, setDiagramTitle, setSiteConfig, setupGraphViewbox, setupGraphViewbox2, styles_default, themes_default, updateSiteConfig };
|