@loopstack/loopstack-studio 0.20.3 → 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,338 @@
|
|
|
1
|
+
import { __name, log } from "./chunk-AGHRB4JF.js";
|
|
2
|
+
import { assignWithDepth_default, common_default, detectType, directiveRegex, sanitizeDirective } from "./chunk-ABZYJK2D.js";
|
|
3
|
+
import select_default from "../../../../d3-selection/src/select.js";
|
|
4
|
+
import linear_default from "../../../../d3-shape/src/curve/linear.js";
|
|
5
|
+
import { bumpX, bumpY } from "../../../../d3-shape/src/curve/bump.js";
|
|
6
|
+
import basis_default from "../../../../d3-shape/src/curve/basis.js";
|
|
7
|
+
import basisClosed_default from "../../../../d3-shape/src/curve/basisClosed.js";
|
|
8
|
+
import basisOpen_default from "../../../../d3-shape/src/curve/basisOpen.js";
|
|
9
|
+
import bundle_default from "../../../../d3-shape/src/curve/bundle.js";
|
|
10
|
+
import cardinal_default from "../../../../d3-shape/src/curve/cardinal.js";
|
|
11
|
+
import cardinalClosed_default from "../../../../d3-shape/src/curve/cardinalClosed.js";
|
|
12
|
+
import cardinalOpen_default from "../../../../d3-shape/src/curve/cardinalOpen.js";
|
|
13
|
+
import catmullRom_default from "../../../../d3-shape/src/curve/catmullRom.js";
|
|
14
|
+
import catmullRomClosed_default from "../../../../d3-shape/src/curve/catmullRomClosed.js";
|
|
15
|
+
import catmullRomOpen_default from "../../../../d3-shape/src/curve/catmullRomOpen.js";
|
|
16
|
+
import linearClosed_default from "../../../../d3-shape/src/curve/linearClosed.js";
|
|
17
|
+
import { monotoneX, monotoneY } from "../../../../d3-shape/src/curve/monotone.js";
|
|
18
|
+
import natural_default from "../../../../d3-shape/src/curve/natural.js";
|
|
19
|
+
import step_default, { stepAfter, stepBefore } from "../../../../d3-shape/src/curve/step.js";
|
|
20
|
+
import "../../../../d3/src/index.js";
|
|
21
|
+
import { require_dist } from "../../../../@braintree/sanitize-url/dist/index.js";
|
|
22
|
+
import memoize_default from "../../../../lodash-es/memoize.js";
|
|
23
|
+
import merge_default from "../../../../lodash-es/merge.js";
|
|
24
|
+
var import_dist = require_dist(), ZERO_WIDTH_SPACE = "", d3CurveTypes = {
|
|
25
|
+
curveBasis: basis_default,
|
|
26
|
+
curveBasisClosed: basisClosed_default,
|
|
27
|
+
curveBasisOpen: basisOpen_default,
|
|
28
|
+
curveBumpX: bumpX,
|
|
29
|
+
curveBumpY: bumpY,
|
|
30
|
+
curveBundle: bundle_default,
|
|
31
|
+
curveCardinalClosed: cardinalClosed_default,
|
|
32
|
+
curveCardinalOpen: cardinalOpen_default,
|
|
33
|
+
curveCardinal: cardinal_default,
|
|
34
|
+
curveCatmullRomClosed: catmullRomClosed_default,
|
|
35
|
+
curveCatmullRomOpen: catmullRomOpen_default,
|
|
36
|
+
curveCatmullRom: catmullRom_default,
|
|
37
|
+
curveLinear: linear_default,
|
|
38
|
+
curveLinearClosed: linearClosed_default,
|
|
39
|
+
curveMonotoneX: monotoneX,
|
|
40
|
+
curveMonotoneY: monotoneY,
|
|
41
|
+
curveNatural: natural_default,
|
|
42
|
+
curveStep: step_default,
|
|
43
|
+
curveStepAfter: stepAfter,
|
|
44
|
+
curveStepBefore: stepBefore
|
|
45
|
+
}, directiveWithoutOpen = /\s*(?:(\w+)(?=:):|(\w+))\s*(?:(\w+)|((?:(?!}%{2}).|\r?\n)*))?\s*(?:}%{2})?/gi, detectInit = /* @__PURE__ */ __name(function(p, H) {
|
|
46
|
+
let W = detectDirective(p, /(?:init\b)|(?:initialize\b)/), K = {};
|
|
47
|
+
if (Array.isArray(W)) {
|
|
48
|
+
let p = W.map((p) => p.args);
|
|
49
|
+
sanitizeDirective(p), K = assignWithDepth_default(K, [...p]);
|
|
50
|
+
} else K = W.args;
|
|
51
|
+
if (!K) return;
|
|
52
|
+
let J = detectType(p, H), Y = "config";
|
|
53
|
+
return K[Y] !== void 0 && (J === "flowchart-v2" && (J = "flowchart"), K[J] = K[Y], delete K[Y]), K;
|
|
54
|
+
}, "detectInit"), detectDirective = /* @__PURE__ */ __name(function(p, U = null) {
|
|
55
|
+
try {
|
|
56
|
+
let W = RegExp(`[%]{2}(?![{]${directiveWithoutOpen.source})(?=[}][%]{2}).*
|
|
57
|
+
`, "ig");
|
|
58
|
+
p = p.trim().replace(W, "").replace(/'/gm, "\""), log.debug(`Detecting diagram directive${U === null ? "" : " type:" + U} based on the text:${p}`);
|
|
59
|
+
let G, q = [];
|
|
60
|
+
for (; (G = directiveRegex.exec(p)) !== null;) if (G.index === directiveRegex.lastIndex && directiveRegex.lastIndex++, G && !U || U && G[1]?.match(U) || U && G[2]?.match(U)) {
|
|
61
|
+
let p = G[1] ? G[1] : G[2], H = G[3] ? G[3].trim() : G[4] ? JSON.parse(G[4].trim()) : null;
|
|
62
|
+
q.push({
|
|
63
|
+
type: p,
|
|
64
|
+
args: H
|
|
65
|
+
});
|
|
66
|
+
}
|
|
67
|
+
return q.length === 0 ? {
|
|
68
|
+
type: p,
|
|
69
|
+
args: null
|
|
70
|
+
} : q.length === 1 ? q[0] : q;
|
|
71
|
+
} catch (W) {
|
|
72
|
+
return log.error(`ERROR: ${W.message} - Unable to parse directive type: '${U}' based on the text: '${p}'`), {
|
|
73
|
+
type: void 0,
|
|
74
|
+
args: null
|
|
75
|
+
};
|
|
76
|
+
}
|
|
77
|
+
}, "detectDirective"), removeDirectives = /* @__PURE__ */ __name(function(p) {
|
|
78
|
+
return p.replace(directiveRegex, "");
|
|
79
|
+
}, "removeDirectives"), isSubstringInArray = /* @__PURE__ */ __name(function(p, H) {
|
|
80
|
+
for (let [U, W] of H.entries()) if (W.match(p)) return U;
|
|
81
|
+
return -1;
|
|
82
|
+
}, "isSubstringInArray");
|
|
83
|
+
function interpolateToCurve(p, H) {
|
|
84
|
+
return p ? d3CurveTypes[`curve${p.charAt(0).toUpperCase() + p.slice(1)}`] ?? H : H;
|
|
85
|
+
}
|
|
86
|
+
__name(interpolateToCurve, "interpolateToCurve");
|
|
87
|
+
function formatUrl(p, H) {
|
|
88
|
+
let U = p.trim();
|
|
89
|
+
if (U) return H.securityLevel === "loose" ? U : (0, import_dist.sanitizeUrl)(U);
|
|
90
|
+
}
|
|
91
|
+
__name(formatUrl, "formatUrl");
|
|
92
|
+
var runFunc = /* @__PURE__ */ __name((p, ...U) => {
|
|
93
|
+
let W = p.split("."), G = W.length - 1, K = W[G], q = window;
|
|
94
|
+
for (let U = 0; U < G; U++) if (q = q[W[U]], !q) {
|
|
95
|
+
log.error(`Function name: ${p} not found in window`);
|
|
96
|
+
return;
|
|
97
|
+
}
|
|
98
|
+
q[K](...U);
|
|
99
|
+
}, "runFunc");
|
|
100
|
+
function distance(p, H) {
|
|
101
|
+
return !p || !H ? 0 : Math.sqrt((H.x - p.x) ** 2 + (H.y - p.y) ** 2);
|
|
102
|
+
}
|
|
103
|
+
__name(distance, "distance");
|
|
104
|
+
function traverseEdge(p) {
|
|
105
|
+
let H, U = 0;
|
|
106
|
+
return p.forEach((p) => {
|
|
107
|
+
U += distance(p, H), H = p;
|
|
108
|
+
}), calculatePoint(p, U / 2);
|
|
109
|
+
}
|
|
110
|
+
__name(traverseEdge, "traverseEdge");
|
|
111
|
+
function calcLabelPosition(p) {
|
|
112
|
+
return p.length === 1 ? p[0] : traverseEdge(p);
|
|
113
|
+
}
|
|
114
|
+
__name(calcLabelPosition, "calcLabelPosition");
|
|
115
|
+
var roundNumber = /* @__PURE__ */ __name((p, H = 2) => {
|
|
116
|
+
let U = 10 ** H;
|
|
117
|
+
return Math.round(p * U) / U;
|
|
118
|
+
}, "roundNumber"), calculatePoint = /* @__PURE__ */ __name((p, H) => {
|
|
119
|
+
let U, W = H;
|
|
120
|
+
for (let H of p) {
|
|
121
|
+
if (U) {
|
|
122
|
+
let p = distance(H, U);
|
|
123
|
+
if (p === 0) return U;
|
|
124
|
+
if (p < W) W -= p;
|
|
125
|
+
else {
|
|
126
|
+
let G = W / p;
|
|
127
|
+
if (G <= 0) return U;
|
|
128
|
+
if (G >= 1) return {
|
|
129
|
+
x: H.x,
|
|
130
|
+
y: H.y
|
|
131
|
+
};
|
|
132
|
+
if (G > 0 && G < 1) return {
|
|
133
|
+
x: roundNumber((1 - G) * U.x + G * H.x, 5),
|
|
134
|
+
y: roundNumber((1 - G) * U.y + G * H.y, 5)
|
|
135
|
+
};
|
|
136
|
+
}
|
|
137
|
+
}
|
|
138
|
+
U = H;
|
|
139
|
+
}
|
|
140
|
+
throw Error("Could not find a suitable point for the given distance");
|
|
141
|
+
}, "calculatePoint"), calcCardinalityPosition = /* @__PURE__ */ __name((p, U, W) => {
|
|
142
|
+
log.info(`our points ${JSON.stringify(U)}`), U[0] !== W && (U = U.reverse());
|
|
143
|
+
let G = calculatePoint(U, 25), K = p ? 10 : 5, q = Math.atan2(U[0].y - G.y, U[0].x - G.x), J = {
|
|
144
|
+
x: 0,
|
|
145
|
+
y: 0
|
|
146
|
+
};
|
|
147
|
+
return J.x = Math.sin(q) * K + (U[0].x + G.x) / 2, J.y = -Math.cos(q) * K + (U[0].y + G.y) / 2, J;
|
|
148
|
+
}, "calcCardinalityPosition");
|
|
149
|
+
function calcTerminalLabelPosition(p, U, W) {
|
|
150
|
+
let G = structuredClone(W);
|
|
151
|
+
log.info("our points", G), U !== "start_left" && U !== "start_right" && G.reverse();
|
|
152
|
+
let K = calculatePoint(G, 25 + p), q = 10 + p * .5, J = Math.atan2(G[0].y - K.y, G[0].x - K.x), Y = {
|
|
153
|
+
x: 0,
|
|
154
|
+
y: 0
|
|
155
|
+
};
|
|
156
|
+
return U === "start_left" ? (Y.x = Math.sin(J + Math.PI) * q + (G[0].x + K.x) / 2, Y.y = -Math.cos(J + Math.PI) * q + (G[0].y + K.y) / 2) : U === "end_right" ? (Y.x = Math.sin(J - Math.PI) * q + (G[0].x + K.x) / 2 - 5, Y.y = -Math.cos(J - Math.PI) * q + (G[0].y + K.y) / 2 - 5) : U === "end_left" ? (Y.x = Math.sin(J) * q + (G[0].x + K.x) / 2 - 5, Y.y = -Math.cos(J) * q + (G[0].y + K.y) / 2 - 5) : (Y.x = Math.sin(J) * q + (G[0].x + K.x) / 2, Y.y = -Math.cos(J) * q + (G[0].y + K.y) / 2), Y;
|
|
157
|
+
}
|
|
158
|
+
__name(calcTerminalLabelPosition, "calcTerminalLabelPosition");
|
|
159
|
+
function getStylesFromArray(p) {
|
|
160
|
+
let H = "", U = "";
|
|
161
|
+
for (let W of p) W !== void 0 && (W.startsWith("color:") || W.startsWith("text-align:") ? U = U + W + ";" : H = H + W + ";");
|
|
162
|
+
return {
|
|
163
|
+
style: H,
|
|
164
|
+
labelStyle: U
|
|
165
|
+
};
|
|
166
|
+
}
|
|
167
|
+
__name(getStylesFromArray, "getStylesFromArray");
|
|
168
|
+
var cnt = 0, generateId = /* @__PURE__ */ __name(() => (cnt++, "id-" + Math.random().toString(36).substr(2, 12) + "-" + cnt), "generateId");
|
|
169
|
+
function makeRandomHex(p) {
|
|
170
|
+
let H = "";
|
|
171
|
+
for (let U = 0; U < p; U++) H += "0123456789abcdef".charAt(Math.floor(Math.random() * 16));
|
|
172
|
+
return H;
|
|
173
|
+
}
|
|
174
|
+
__name(makeRandomHex, "makeRandomHex");
|
|
175
|
+
var random = /* @__PURE__ */ __name((p) => makeRandomHex(p.length), "random"), getTextObj = /* @__PURE__ */ __name(function() {
|
|
176
|
+
return {
|
|
177
|
+
x: 0,
|
|
178
|
+
y: 0,
|
|
179
|
+
fill: void 0,
|
|
180
|
+
anchor: "start",
|
|
181
|
+
style: "#666",
|
|
182
|
+
width: 100,
|
|
183
|
+
height: 100,
|
|
184
|
+
textMargin: 0,
|
|
185
|
+
rx: 0,
|
|
186
|
+
ry: 0,
|
|
187
|
+
valign: void 0,
|
|
188
|
+
text: ""
|
|
189
|
+
};
|
|
190
|
+
}, "getTextObj"), drawSimpleText = /* @__PURE__ */ __name(function(p, H) {
|
|
191
|
+
let U = H.text.replace(common_default.lineBreakRegex, " "), [, G] = parseFontSize(H.fontSize), K = p.append("text");
|
|
192
|
+
K.attr("x", H.x), K.attr("y", H.y), K.style("text-anchor", H.anchor), K.style("font-family", H.fontFamily), K.style("font-size", G), K.style("font-weight", H.fontWeight), K.attr("fill", H.fill), H.class !== void 0 && K.attr("class", H.class);
|
|
193
|
+
let q = K.append("tspan");
|
|
194
|
+
return q.attr("x", H.x + H.textMargin * 2), q.attr("fill", H.fill), q.text(U), K;
|
|
195
|
+
}, "drawSimpleText"), wrapLabel = memoize_default((p, H, U) => {
|
|
196
|
+
if (!p || (U = Object.assign({
|
|
197
|
+
fontSize: 12,
|
|
198
|
+
fontWeight: 400,
|
|
199
|
+
fontFamily: "Arial",
|
|
200
|
+
joinWith: "<br/>"
|
|
201
|
+
}, U), common_default.lineBreakRegex.test(p))) return p;
|
|
202
|
+
let G = p.split(" ").filter(Boolean), K = [], q = "";
|
|
203
|
+
return G.forEach((p, W) => {
|
|
204
|
+
let J = calculateTextWidth(`${p} `, U), Y = calculateTextWidth(q, U);
|
|
205
|
+
if (J > H) {
|
|
206
|
+
let { hyphenatedStrings: W, remainingWord: G } = breakString(p, H, "-", U);
|
|
207
|
+
K.push(q, ...W), q = G;
|
|
208
|
+
} else Y + J >= H ? (K.push(q), q = p) : q = [q, p].filter(Boolean).join(" ");
|
|
209
|
+
W + 1 === G.length && K.push(q);
|
|
210
|
+
}), K.filter((p) => p !== "").join(U.joinWith);
|
|
211
|
+
}, (p, H, U) => `${p}${H}${U.fontSize}${U.fontWeight}${U.fontFamily}${U.joinWith}`), breakString = memoize_default((p, H, U = "-", W) => {
|
|
212
|
+
W = Object.assign({
|
|
213
|
+
fontSize: 12,
|
|
214
|
+
fontWeight: 400,
|
|
215
|
+
fontFamily: "Arial",
|
|
216
|
+
margin: 0
|
|
217
|
+
}, W);
|
|
218
|
+
let G = [...p], K = [], q = "";
|
|
219
|
+
return G.forEach((p, J) => {
|
|
220
|
+
let Y = `${q}${p}`;
|
|
221
|
+
if (calculateTextWidth(Y, W) >= H) {
|
|
222
|
+
let p = J + 1, H = G.length === p, W = `${Y}${U}`;
|
|
223
|
+
K.push(H ? Y : W), q = "";
|
|
224
|
+
} else q = Y;
|
|
225
|
+
}), {
|
|
226
|
+
hyphenatedStrings: K,
|
|
227
|
+
remainingWord: q
|
|
228
|
+
};
|
|
229
|
+
}, (p, H, U = "-", W) => `${p}${H}${U}${W.fontSize}${W.fontWeight}${W.fontFamily}`);
|
|
230
|
+
function calculateTextHeight(p, H) {
|
|
231
|
+
return calculateTextDimensions(p, H).height;
|
|
232
|
+
}
|
|
233
|
+
__name(calculateTextHeight, "calculateTextHeight");
|
|
234
|
+
function calculateTextWidth(p, H) {
|
|
235
|
+
return calculateTextDimensions(p, H).width;
|
|
236
|
+
}
|
|
237
|
+
__name(calculateTextWidth, "calculateTextWidth");
|
|
238
|
+
var calculateTextDimensions = memoize_default((p, H) => {
|
|
239
|
+
let { fontSize: U = 12, fontFamily: G = "Arial", fontWeight: K = 400 } = H;
|
|
240
|
+
if (!p) return {
|
|
241
|
+
width: 0,
|
|
242
|
+
height: 0
|
|
243
|
+
};
|
|
244
|
+
let [, q] = parseFontSize(U), Y = ["sans-serif", G], X = p.split(common_default.lineBreakRegex), Z = [], Q = select_default("body");
|
|
245
|
+
if (!Q.remove) return {
|
|
246
|
+
width: 0,
|
|
247
|
+
height: 0,
|
|
248
|
+
lineHeight: 0
|
|
249
|
+
};
|
|
250
|
+
let $ = Q.append("svg");
|
|
251
|
+
for (let p of Y) {
|
|
252
|
+
let H = 0, U = {
|
|
253
|
+
width: 0,
|
|
254
|
+
height: 0,
|
|
255
|
+
lineHeight: 0
|
|
256
|
+
};
|
|
257
|
+
for (let W of X) {
|
|
258
|
+
let G = getTextObj();
|
|
259
|
+
G.text = W || "";
|
|
260
|
+
let J = drawSimpleText($, G).style("font-size", q).style("font-weight", K).style("font-family", p), Y = (J._groups || J)[0][0].getBBox();
|
|
261
|
+
if (Y.width === 0 && Y.height === 0) throw Error("svg element not in render tree");
|
|
262
|
+
U.width = Math.round(Math.max(U.width, Y.width)), H = Math.round(Y.height), U.height += H, U.lineHeight = Math.round(Math.max(U.lineHeight, H));
|
|
263
|
+
}
|
|
264
|
+
Z.push(U);
|
|
265
|
+
}
|
|
266
|
+
return $.remove(), Z[isNaN(Z[1].height) || isNaN(Z[1].width) || isNaN(Z[1].lineHeight) || Z[0].height > Z[1].height && Z[0].width > Z[1].width && Z[0].lineHeight > Z[1].lineHeight ? 0 : 1];
|
|
267
|
+
}, (p, H) => `${p}${H.fontSize}${H.fontWeight}${H.fontFamily}`), InitIDGenerator = class {
|
|
268
|
+
constructor(p = !1, H) {
|
|
269
|
+
this.count = 0, this.count = H ? H.length : 0, this.next = p ? () => this.count++ : () => Date.now();
|
|
270
|
+
}
|
|
271
|
+
static #e = __name(this, "InitIDGenerator");
|
|
272
|
+
}, decoder, entityDecode = /* @__PURE__ */ __name(function(p) {
|
|
273
|
+
return decoder ||= document.createElement("div"), p = escape(p).replace(/%26/g, "&").replace(/%23/g, "#").replace(/%3B/g, ";"), decoder.innerHTML = p, unescape(decoder.textContent);
|
|
274
|
+
}, "entityDecode");
|
|
275
|
+
function isDetailedError(p) {
|
|
276
|
+
return "str" in p;
|
|
277
|
+
}
|
|
278
|
+
__name(isDetailedError, "isDetailedError");
|
|
279
|
+
var insertTitle = /* @__PURE__ */ __name((p, H, U, W) => {
|
|
280
|
+
if (!W) return;
|
|
281
|
+
let G = p.node()?.getBBox();
|
|
282
|
+
G && p.append("text").text(W).attr("text-anchor", "middle").attr("x", G.x + G.width / 2).attr("y", -U).attr("class", H);
|
|
283
|
+
}, "insertTitle"), parseFontSize = /* @__PURE__ */ __name((p) => {
|
|
284
|
+
if (typeof p == "number") return [p, p + "px"];
|
|
285
|
+
let H = parseInt(p ?? "", 10);
|
|
286
|
+
return Number.isNaN(H) ? [void 0, void 0] : p === String(H) ? [H, p + "px"] : [H, p];
|
|
287
|
+
}, "parseFontSize");
|
|
288
|
+
function cleanAndMerge(p, H) {
|
|
289
|
+
return merge_default({}, p, H);
|
|
290
|
+
}
|
|
291
|
+
__name(cleanAndMerge, "cleanAndMerge");
|
|
292
|
+
var utils_default = {
|
|
293
|
+
assignWithDepth: assignWithDepth_default,
|
|
294
|
+
wrapLabel,
|
|
295
|
+
calculateTextHeight,
|
|
296
|
+
calculateTextWidth,
|
|
297
|
+
calculateTextDimensions,
|
|
298
|
+
cleanAndMerge,
|
|
299
|
+
detectInit,
|
|
300
|
+
detectDirective,
|
|
301
|
+
isSubstringInArray,
|
|
302
|
+
interpolateToCurve,
|
|
303
|
+
calcLabelPosition,
|
|
304
|
+
calcCardinalityPosition,
|
|
305
|
+
calcTerminalLabelPosition,
|
|
306
|
+
formatUrl,
|
|
307
|
+
getStylesFromArray,
|
|
308
|
+
generateId,
|
|
309
|
+
random,
|
|
310
|
+
runFunc,
|
|
311
|
+
entityDecode,
|
|
312
|
+
insertTitle,
|
|
313
|
+
isLabelCoordinateInPath,
|
|
314
|
+
parseFontSize,
|
|
315
|
+
InitIDGenerator
|
|
316
|
+
}, encodeEntities = /* @__PURE__ */ __name(function(p) {
|
|
317
|
+
let H = p;
|
|
318
|
+
return H = H.replace(/style.*:\S*#.*;/g, function(p) {
|
|
319
|
+
return p.substring(0, p.length - 1);
|
|
320
|
+
}), H = H.replace(/classDef.*:\S*#.*;/g, function(p) {
|
|
321
|
+
return p.substring(0, p.length - 1);
|
|
322
|
+
}), H = H.replace(/#\w+;/g, function(p) {
|
|
323
|
+
let H = p.substring(1, p.length - 1);
|
|
324
|
+
return /^\+?\d+$/.test(H) ? "fl°°" + H + "¶ß" : "fl°" + H + "¶ß";
|
|
325
|
+
}), H;
|
|
326
|
+
}, "encodeEntities"), decodeEntities = /* @__PURE__ */ __name(function(p) {
|
|
327
|
+
return p.replace(/fl°°/g, "&#").replace(/fl°/g, "&").replace(/¶ß/g, ";");
|
|
328
|
+
}, "decodeEntities"), getEdgeId = /* @__PURE__ */ __name((p, H, { counter: U = 0, prefix: W, suffix: G }, K) => K || `${W ? `${W}_` : ""}${p}_${H}_${U}${G ? `_${G}` : ""}`, "getEdgeId");
|
|
329
|
+
function handleUndefinedAttr(p) {
|
|
330
|
+
return p ?? null;
|
|
331
|
+
}
|
|
332
|
+
__name(handleUndefinedAttr, "handleUndefinedAttr");
|
|
333
|
+
function isLabelCoordinateInPath(p, H) {
|
|
334
|
+
let U = Math.round(p.x), W = Math.round(p.y), G = H.replace(/(\d+\.\d+)/g, (p) => Math.round(parseFloat(p)).toString());
|
|
335
|
+
return G.includes(U.toString()) || G.includes(W.toString());
|
|
336
|
+
}
|
|
337
|
+
__name(isLabelCoordinateInPath, "isLabelCoordinateInPath");
|
|
338
|
+
export { ZERO_WIDTH_SPACE, calculateTextHeight, calculateTextWidth, cleanAndMerge, decodeEntities, encodeEntities, generateId, getEdgeId, getStylesFromArray, handleUndefinedAttr, interpolateToCurve, isDetailedError, parseFontSize, random, removeDirectives, utils_default, wrapLabel };
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import { __name } from "./chunk-AGHRB4JF.js";
|
|
2
|
+
import { lineBreakRegex } from "./chunk-ABZYJK2D.js";
|
|
3
|
+
import { require_dist } from "../../../../@braintree/sanitize-url/dist/index.js";
|
|
4
|
+
var import_dist = require_dist(), drawRect = /* @__PURE__ */ __name((e, a) => {
|
|
5
|
+
let o = e.append("rect");
|
|
6
|
+
if (o.attr("x", a.x), o.attr("y", a.y), o.attr("fill", a.fill), o.attr("stroke", a.stroke), o.attr("width", a.width), o.attr("height", a.height), a.name && o.attr("name", a.name), a.rx && o.attr("rx", a.rx), a.ry && o.attr("ry", a.ry), a.attrs !== void 0) for (let e in a.attrs) o.attr(e, a.attrs[e]);
|
|
7
|
+
return a.class && o.attr("class", a.class), o;
|
|
8
|
+
}, "drawRect"), drawBackgroundRect = /* @__PURE__ */ __name((e, a) => {
|
|
9
|
+
drawRect(e, {
|
|
10
|
+
x: a.startx,
|
|
11
|
+
y: a.starty,
|
|
12
|
+
width: a.stopx - a.startx,
|
|
13
|
+
height: a.stopy - a.starty,
|
|
14
|
+
fill: a.fill,
|
|
15
|
+
stroke: a.stroke,
|
|
16
|
+
class: "rect"
|
|
17
|
+
}).lower();
|
|
18
|
+
}, "drawBackgroundRect"), drawText = /* @__PURE__ */ __name((e, o) => {
|
|
19
|
+
let s = o.text.replace(lineBreakRegex, " "), c = e.append("text");
|
|
20
|
+
c.attr("x", o.x), c.attr("y", o.y), c.attr("class", "legend"), c.style("text-anchor", o.anchor), o.class && c.attr("class", o.class);
|
|
21
|
+
let l = c.append("tspan");
|
|
22
|
+
return l.attr("x", o.x + o.textMargin * 2), l.text(s), c;
|
|
23
|
+
}, "drawText"), drawImage = /* @__PURE__ */ __name((e, a, o, c) => {
|
|
24
|
+
let l = e.append("image");
|
|
25
|
+
l.attr("x", a), l.attr("y", o);
|
|
26
|
+
let u = (0, import_dist.sanitizeUrl)(c);
|
|
27
|
+
l.attr("xlink:href", u);
|
|
28
|
+
}, "drawImage"), drawEmbeddedImage = /* @__PURE__ */ __name((e, a, o, c) => {
|
|
29
|
+
let l = e.append("use");
|
|
30
|
+
l.attr("x", a), l.attr("y", o);
|
|
31
|
+
let u = (0, import_dist.sanitizeUrl)(c);
|
|
32
|
+
l.attr("xlink:href", `#${u}`);
|
|
33
|
+
}, "drawEmbeddedImage"), getNoteRect = /* @__PURE__ */ __name(() => ({
|
|
34
|
+
x: 0,
|
|
35
|
+
y: 0,
|
|
36
|
+
width: 100,
|
|
37
|
+
height: 100,
|
|
38
|
+
fill: "#EDF2AE",
|
|
39
|
+
stroke: "#666",
|
|
40
|
+
anchor: "start",
|
|
41
|
+
rx: 0,
|
|
42
|
+
ry: 0
|
|
43
|
+
}), "getNoteRect"), getTextObj = /* @__PURE__ */ __name(() => ({
|
|
44
|
+
x: 0,
|
|
45
|
+
y: 0,
|
|
46
|
+
width: 100,
|
|
47
|
+
height: 100,
|
|
48
|
+
"text-anchor": "start",
|
|
49
|
+
style: "#666",
|
|
50
|
+
textMargin: 0,
|
|
51
|
+
rx: 0,
|
|
52
|
+
ry: 0,
|
|
53
|
+
tspan: !0
|
|
54
|
+
}), "getTextObj");
|
|
55
|
+
export { drawBackgroundRect, drawEmbeddedImage, drawImage, drawRect, drawText, getNoteRect, getTextObj };
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { __name } from "./chunk-AGHRB4JF.js";
|
|
2
|
+
import "./chunk-ABZYJK2D.js";
|
|
3
|
+
import "./chunk-HN2XXSSU.js";
|
|
4
|
+
import "./chunk-CVBHYZKI.js";
|
|
5
|
+
import "./chunk-ATLVNIR6.js";
|
|
6
|
+
import "./chunk-S3R3BYOJ.js";
|
|
7
|
+
import "./chunk-JA3XYJ7Z.js";
|
|
8
|
+
import "./chunk-JZLCHNYA.js";
|
|
9
|
+
import "./chunk-QXUST7PY.js";
|
|
10
|
+
import "./chunk-N4CR4FBY.js";
|
|
11
|
+
import "./chunk-FMBD7UC4.js";
|
|
12
|
+
import "./chunk-55IACEB6.js";
|
|
13
|
+
import "./chunk-QN33PNHL.js";
|
|
14
|
+
import { ClassDB, classDiagram_default, classRenderer_v3_unified_default, styles_default } from "./chunk-B4BG7PRW.js";
|
|
15
|
+
var diagram = {
|
|
16
|
+
parser: classDiagram_default,
|
|
17
|
+
get db() {
|
|
18
|
+
return new ClassDB();
|
|
19
|
+
},
|
|
20
|
+
renderer: classRenderer_v3_unified_default,
|
|
21
|
+
styles: styles_default,
|
|
22
|
+
init: /* @__PURE__ */ __name((e) => {
|
|
23
|
+
e.class ||= {}, e.class.arrowMarkerAbsolute = e.arrowMarkerAbsolute;
|
|
24
|
+
}, "init")
|
|
25
|
+
};
|
|
26
|
+
export { diagram };
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { __name } from "./chunk-AGHRB4JF.js";
|
|
2
|
+
import "./chunk-ABZYJK2D.js";
|
|
3
|
+
import "./chunk-HN2XXSSU.js";
|
|
4
|
+
import "./chunk-CVBHYZKI.js";
|
|
5
|
+
import "./chunk-ATLVNIR6.js";
|
|
6
|
+
import "./chunk-S3R3BYOJ.js";
|
|
7
|
+
import "./chunk-JA3XYJ7Z.js";
|
|
8
|
+
import "./chunk-JZLCHNYA.js";
|
|
9
|
+
import "./chunk-QXUST7PY.js";
|
|
10
|
+
import "./chunk-N4CR4FBY.js";
|
|
11
|
+
import "./chunk-FMBD7UC4.js";
|
|
12
|
+
import "./chunk-55IACEB6.js";
|
|
13
|
+
import "./chunk-QN33PNHL.js";
|
|
14
|
+
import { ClassDB, classDiagram_default, classRenderer_v3_unified_default, styles_default } from "./chunk-B4BG7PRW.js";
|
|
15
|
+
var diagram = {
|
|
16
|
+
parser: classDiagram_default,
|
|
17
|
+
get db() {
|
|
18
|
+
return new ClassDB();
|
|
19
|
+
},
|
|
20
|
+
renderer: classRenderer_v3_unified_default,
|
|
21
|
+
styles: styles_default,
|
|
22
|
+
init: /* @__PURE__ */ __name((e) => {
|
|
23
|
+
e.class ||= {}, e.class.arrowMarkerAbsolute = e.arrowMarkerAbsolute;
|
|
24
|
+
}, "init")
|
|
25
|
+
};
|
|
26
|
+
export { diagram };
|
|
@@ -0,0 +1,219 @@
|
|
|
1
|
+
import { __toESM } from "../../../../../_virtual/rolldown_runtime.js";
|
|
2
|
+
import { __name, log } from "./chunk-AGHRB4JF.js";
|
|
3
|
+
import select_default from "../../../../d3-selection/src/select.js";
|
|
4
|
+
import "../../../../d3/src/index.js";
|
|
5
|
+
import { cytoscape } from "../../../../cytoscape/dist/cytoscape.esm.js";
|
|
6
|
+
import { require_cytoscape_cose_bilkent } from "../../../../cytoscape-cose-bilkent/cytoscape-cose-bilkent.js";
|
|
7
|
+
var import_cytoscape_cose_bilkent = /* @__PURE__ */ __toESM(require_cytoscape_cose_bilkent(), 1);
|
|
8
|
+
cytoscape.use(import_cytoscape_cose_bilkent.default);
|
|
9
|
+
function addNodes(e, n) {
|
|
10
|
+
e.forEach((e) => {
|
|
11
|
+
let r = {
|
|
12
|
+
id: e.id,
|
|
13
|
+
labelText: e.label,
|
|
14
|
+
height: e.height,
|
|
15
|
+
width: e.width,
|
|
16
|
+
padding: e.padding ?? 0
|
|
17
|
+
};
|
|
18
|
+
Object.keys(e).forEach((n) => {
|
|
19
|
+
[
|
|
20
|
+
"id",
|
|
21
|
+
"label",
|
|
22
|
+
"height",
|
|
23
|
+
"width",
|
|
24
|
+
"padding",
|
|
25
|
+
"x",
|
|
26
|
+
"y"
|
|
27
|
+
].includes(n) || (r[n] = e[n]);
|
|
28
|
+
}), n.add({
|
|
29
|
+
group: "nodes",
|
|
30
|
+
data: r,
|
|
31
|
+
position: {
|
|
32
|
+
x: e.x ?? 0,
|
|
33
|
+
y: e.y ?? 0
|
|
34
|
+
}
|
|
35
|
+
});
|
|
36
|
+
});
|
|
37
|
+
}
|
|
38
|
+
__name(addNodes, "addNodes");
|
|
39
|
+
function addEdges(e, n) {
|
|
40
|
+
e.forEach((e) => {
|
|
41
|
+
let r = {
|
|
42
|
+
id: e.id,
|
|
43
|
+
source: e.start,
|
|
44
|
+
target: e.end
|
|
45
|
+
};
|
|
46
|
+
Object.keys(e).forEach((n) => {
|
|
47
|
+
[
|
|
48
|
+
"id",
|
|
49
|
+
"start",
|
|
50
|
+
"end"
|
|
51
|
+
].includes(n) || (r[n] = e[n]);
|
|
52
|
+
}), n.add({
|
|
53
|
+
group: "edges",
|
|
54
|
+
data: r
|
|
55
|
+
});
|
|
56
|
+
});
|
|
57
|
+
}
|
|
58
|
+
__name(addEdges, "addEdges");
|
|
59
|
+
function createCytoscapeInstance(e) {
|
|
60
|
+
return new Promise((n) => {
|
|
61
|
+
let o = select_default("body").append("div").attr("id", "cy").attr("style", "display:none"), s = cytoscape({
|
|
62
|
+
container: document.getElementById("cy"),
|
|
63
|
+
style: [{
|
|
64
|
+
selector: "edge",
|
|
65
|
+
style: { "curve-style": "bezier" }
|
|
66
|
+
}]
|
|
67
|
+
});
|
|
68
|
+
o.remove(), addNodes(e.nodes, s), addEdges(e.edges, s), s.nodes().forEach(function(e) {
|
|
69
|
+
e.layoutDimensions = () => {
|
|
70
|
+
let n = e.data();
|
|
71
|
+
return {
|
|
72
|
+
w: n.width,
|
|
73
|
+
h: n.height
|
|
74
|
+
};
|
|
75
|
+
};
|
|
76
|
+
}), s.layout({
|
|
77
|
+
name: "cose-bilkent",
|
|
78
|
+
quality: "proof",
|
|
79
|
+
styleEnabled: !1,
|
|
80
|
+
animate: !1
|
|
81
|
+
}).run(), s.ready((e) => {
|
|
82
|
+
log.info("Cytoscape ready", e), n(s);
|
|
83
|
+
});
|
|
84
|
+
});
|
|
85
|
+
}
|
|
86
|
+
__name(createCytoscapeInstance, "createCytoscapeInstance");
|
|
87
|
+
function extractPositionedNodes(e) {
|
|
88
|
+
return e.nodes().map((e) => {
|
|
89
|
+
let n = e.data(), r = e.position(), i = {
|
|
90
|
+
id: n.id,
|
|
91
|
+
x: r.x,
|
|
92
|
+
y: r.y
|
|
93
|
+
};
|
|
94
|
+
return Object.keys(n).forEach((e) => {
|
|
95
|
+
e !== "id" && (i[e] = n[e]);
|
|
96
|
+
}), i;
|
|
97
|
+
});
|
|
98
|
+
}
|
|
99
|
+
__name(extractPositionedNodes, "extractPositionedNodes");
|
|
100
|
+
function extractPositionedEdges(e) {
|
|
101
|
+
return e.edges().map((e) => {
|
|
102
|
+
let n = e.data(), r = e._private.rscratch, i = {
|
|
103
|
+
id: n.id,
|
|
104
|
+
source: n.source,
|
|
105
|
+
target: n.target,
|
|
106
|
+
startX: r.startX,
|
|
107
|
+
startY: r.startY,
|
|
108
|
+
midX: r.midX,
|
|
109
|
+
midY: r.midY,
|
|
110
|
+
endX: r.endX,
|
|
111
|
+
endY: r.endY
|
|
112
|
+
};
|
|
113
|
+
return Object.keys(n).forEach((e) => {
|
|
114
|
+
[
|
|
115
|
+
"id",
|
|
116
|
+
"source",
|
|
117
|
+
"target"
|
|
118
|
+
].includes(e) || (i[e] = n[e]);
|
|
119
|
+
}), i;
|
|
120
|
+
});
|
|
121
|
+
}
|
|
122
|
+
__name(extractPositionedEdges, "extractPositionedEdges");
|
|
123
|
+
async function executeCoseBilkentLayout(e, n) {
|
|
124
|
+
log.debug("Starting cose-bilkent layout algorithm");
|
|
125
|
+
try {
|
|
126
|
+
validateLayoutData(e);
|
|
127
|
+
let n = await createCytoscapeInstance(e), i = extractPositionedNodes(n), a = extractPositionedEdges(n);
|
|
128
|
+
return log.debug(`Layout completed: ${i.length} nodes, ${a.length} edges`), {
|
|
129
|
+
nodes: i,
|
|
130
|
+
edges: a
|
|
131
|
+
};
|
|
132
|
+
} catch (e) {
|
|
133
|
+
throw log.error("Error in cose-bilkent layout algorithm:", e), e;
|
|
134
|
+
}
|
|
135
|
+
}
|
|
136
|
+
__name(executeCoseBilkentLayout, "executeCoseBilkentLayout");
|
|
137
|
+
function validateLayoutData(e) {
|
|
138
|
+
if (!e) throw Error("Layout data is required");
|
|
139
|
+
if (!e.config) throw Error("Configuration is required in layout data");
|
|
140
|
+
if (!e.rootNode) throw Error("Root node is required");
|
|
141
|
+
if (!e.nodes || !Array.isArray(e.nodes)) throw Error("No nodes found in layout data");
|
|
142
|
+
if (!Array.isArray(e.edges)) throw Error("Edges array is required in layout data");
|
|
143
|
+
return !0;
|
|
144
|
+
}
|
|
145
|
+
__name(validateLayoutData, "validateLayoutData");
|
|
146
|
+
var render2 = /* @__PURE__ */ __name(async (e, n, { insertCluster: r, insertEdge: i, insertEdgeLabel: a, insertMarkers: o, insertNode: s, log: c, positionEdgeLabel: l }, { algorithm: u }) => {
|
|
147
|
+
let d = {}, f = {}, p = n.select("g");
|
|
148
|
+
o(p, e.markers, e.type, e.diagramId);
|
|
149
|
+
let m = p.insert("g").attr("class", "subgraphs"), h = p.insert("g").attr("class", "edgePaths"), g = p.insert("g").attr("class", "edgeLabels"), _ = p.insert("g").attr("class", "nodes");
|
|
150
|
+
c.debug("Inserting nodes into DOM for dimension calculation"), await Promise.all(e.nodes.map(async (n) => {
|
|
151
|
+
if (n.isGroup) {
|
|
152
|
+
let e = { ...n };
|
|
153
|
+
f[n.id] = e, d[n.id] = e, await r(m, n);
|
|
154
|
+
} else {
|
|
155
|
+
let r = { ...n };
|
|
156
|
+
d[n.id] = r;
|
|
157
|
+
let i = await s(_, n, {
|
|
158
|
+
config: e.config,
|
|
159
|
+
dir: e.direction || "TB"
|
|
160
|
+
}), a = i.node().getBBox();
|
|
161
|
+
r.width = a.width, r.height = a.height, r.domId = i, c.debug(`Node ${n.id} dimensions: ${a.width}x${a.height}`);
|
|
162
|
+
}
|
|
163
|
+
})), c.debug("Running cose-bilkent layout algorithm");
|
|
164
|
+
let v = await executeCoseBilkentLayout({
|
|
165
|
+
...e,
|
|
166
|
+
nodes: e.nodes.map((e) => {
|
|
167
|
+
let n = d[e.id];
|
|
168
|
+
return {
|
|
169
|
+
...e,
|
|
170
|
+
width: n.width,
|
|
171
|
+
height: n.height
|
|
172
|
+
};
|
|
173
|
+
})
|
|
174
|
+
}, e.config);
|
|
175
|
+
c.debug("Positioning nodes based on layout results"), v.nodes.forEach((e) => {
|
|
176
|
+
let n = d[e.id];
|
|
177
|
+
n?.domId && (n.domId.attr("transform", `translate(${e.x}, ${e.y})`), n.x = e.x, n.y = e.y, c.debug(`Positioned node ${n.id} at center (${e.x}, ${e.y})`));
|
|
178
|
+
}), v.edges.forEach((n) => {
|
|
179
|
+
let r = e.edges.find((e) => e.id === n.id);
|
|
180
|
+
r && (r.points = [
|
|
181
|
+
{
|
|
182
|
+
x: n.startX,
|
|
183
|
+
y: n.startY
|
|
184
|
+
},
|
|
185
|
+
{
|
|
186
|
+
x: n.midX,
|
|
187
|
+
y: n.midY
|
|
188
|
+
},
|
|
189
|
+
{
|
|
190
|
+
x: n.endX,
|
|
191
|
+
y: n.endY
|
|
192
|
+
}
|
|
193
|
+
]);
|
|
194
|
+
}), c.debug("Inserting and positioning edges"), await Promise.all(e.edges.map(async (n) => {
|
|
195
|
+
await a(g, n);
|
|
196
|
+
let r = d[n.start ?? ""], o = d[n.end ?? ""];
|
|
197
|
+
if (r && o) {
|
|
198
|
+
let a = v.edges.find((e) => e.id === n.id);
|
|
199
|
+
if (a) {
|
|
200
|
+
c.debug("APA01 positionedEdge", a);
|
|
201
|
+
let s = { ...n };
|
|
202
|
+
l(s, i(h, s, f, e.type, r, o, e.diagramId));
|
|
203
|
+
} else {
|
|
204
|
+
let a = {
|
|
205
|
+
...n,
|
|
206
|
+
points: [{
|
|
207
|
+
x: r.x || 0,
|
|
208
|
+
y: r.y || 0
|
|
209
|
+
}, {
|
|
210
|
+
x: o.x || 0,
|
|
211
|
+
y: o.y || 0
|
|
212
|
+
}]
|
|
213
|
+
};
|
|
214
|
+
l(a, i(h, a, f, e.type, r, o, e.diagramId));
|
|
215
|
+
}
|
|
216
|
+
}
|
|
217
|
+
})), c.debug("Cose-bilkent rendering completed");
|
|
218
|
+
}, "render");
|
|
219
|
+
export { render2 as render };
|