@loopstack/loopstack-studio 0.20.2 → 0.21.0-rc.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/_virtual/rolldown_runtime.js +20 -0
- package/dist/components/data-table/ConfirmDialog.js +30 -0
- package/dist/components/data-table/DataList.js +216 -0
- package/dist/components/data-table/DataTable.js +264 -0
- package/dist/components/data-table/DataTableBatchAction.js +32 -0
- package/dist/components/data-table/DataTableFilters.js +83 -0
- package/dist/components/data-table/DataTablePagination.js +108 -0
- package/dist/components/data-table/DataTableToolbar.js +70 -0
- package/dist/components/dynamic-form/ArrayController.js +100 -0
- package/dist/components/dynamic-form/CodeContent.js +174 -0
- package/dist/components/dynamic-form/Form.js +35 -0
- package/dist/components/dynamic-form/FormBody.js +26 -0
- package/dist/components/dynamic-form/FormElement.js +42 -0
- package/dist/components/dynamic-form/FormElementHeader.js +20 -0
- package/dist/components/dynamic-form/InputController.js +38 -0
- package/dist/components/dynamic-form/MarkdownContent.js +76 -0
- package/dist/components/dynamic-form/MermaidDiagram.js +41 -0
- package/dist/components/dynamic-form/ObjectController.js +32 -0
- package/dist/components/dynamic-form/fields/BaseFieldWrapper.js +47 -0
- package/dist/components/dynamic-form/fields/CheckboxField.js +53 -0
- package/dist/components/dynamic-form/fields/CodeViewField.js +63 -0
- package/dist/components/dynamic-form/fields/InputField.js +105 -0
- package/dist/components/dynamic-form/fields/RadioField.js +67 -0
- package/dist/components/dynamic-form/fields/SelectField.js +60 -0
- package/dist/components/dynamic-form/fields/SliderField.js +112 -0
- package/dist/components/dynamic-form/fields/SwitchField.js +66 -0
- package/dist/components/dynamic-form/fields/TextareaField.js +77 -0
- package/dist/components/dynamic-form/fields/utils/text-validation-utils.js +33 -0
- package/dist/components/dynamic-form/hooks/useArrayDefaultValue.js +42 -0
- package/dist/components/dynamic-form/hooks/useFieldConfig.js +21 -0
- package/dist/components/dynamic-form/hooks/useMergeParentKey.js +5 -0
- package/dist/components/dynamic-form/hooks/useSortPropertyNames.js +5 -0
- package/dist/components/layout/MainLayout.js +24 -0
- package/dist/components/lists/CustomListView.js +87 -0
- package/dist/components/lists/ListView.js +118 -0
- package/dist/components/page/PageBreadcrumbs.js +41 -0
- package/dist/components/snackbars/ErrorSnackbar.js +30 -0
- package/dist/components/snackbars/Snackbar.js +44 -0
- package/dist/components/ui/alert-dialog.js +121 -0
- package/dist/components/ui/badge.js +28 -0
- package/dist/components/ui/breadcrumb.js +85 -0
- package/dist/components/ui/button.js +47 -0
- package/dist/components/ui/card.js +29 -0
- package/dist/components/ui/checkbox.js +26 -0
- package/dist/components/ui/collapsible.js +32 -0
- package/dist/components/ui/dialog.js +88 -0
- package/dist/components/ui/input.js +18 -0
- package/dist/components/ui/label.js +19 -0
- package/dist/components/ui/radio-group.js +38 -0
- package/dist/components/ui/select.js +125 -0
- package/dist/components/ui/sheet.js +97 -0
- package/dist/components/ui/slider.js +35 -0
- package/dist/components/ui/switch.js +24 -0
- package/dist/components/ui/table.js +81 -0
- package/dist/components/ui/textarea.js +17 -0
- package/dist/components/ui/tooltip.js +50 -0
- package/dist/features/health/LocalHealthCheck.js +95 -0
- package/dist/features/workspaces/Workspaces.js +162 -0
- package/dist/features/workspaces/components/CreateWorkspace.js +128 -0
- package/dist/features/workspaces/components/ExecutionTimeline.js +204 -0
- package/dist/features/workspaces/components/NewPipelineRunDialog.js +31 -0
- package/dist/features/workspaces/components/PipelineForm.js +152 -0
- package/dist/features/workspaces/components/pipeline-form/ArgumentsView.js +75 -0
- package/dist/features/workspaces/components/pipeline-form/HeaderSection.js +43 -0
- package/dist/features/workspaces/components/pipeline-form/SelectionView.js +105 -0
- package/dist/hooks/use-mobile.js +3 -3
- package/dist/hooks/useAuth.js +56 -0
- package/dist/hooks/useConfig.js +46 -0
- package/dist/hooks/useDebounce.js +27 -0
- package/dist/hooks/usePipelines.js +117 -0
- package/dist/hooks/useProcessor.js +24 -0
- package/dist/hooks/useWorkspaces.js +142 -0
- package/dist/index.d.ts +7 -0
- package/dist/index.js +4 -1
- package/dist/lib/utils.js +6 -0
- package/dist/loopstack-studio.css +2 -0
- package/dist/node_modules/@braintree/sanitize-url/dist/constants.js +6 -0
- package/dist/node_modules/@braintree/sanitize-url/dist/index.js +48 -0
- package/dist/node_modules/@chevrotain/gast/lib/src/helpers.js +26 -0
- package/dist/node_modules/@chevrotain/gast/lib/src/model.js +154 -0
- package/dist/node_modules/@chevrotain/gast/lib/src/visitor.js +40 -0
- package/dist/node_modules/@chevrotain/regexp-to-ast/lib/src/api.js +2 -0
- package/dist/node_modules/@chevrotain/regexp-to-ast/lib/src/base-regexp-visitor.js +85 -0
- package/dist/node_modules/@chevrotain/regexp-to-ast/lib/src/character-classes.js +35 -0
- package/dist/node_modules/@chevrotain/regexp-to-ast/lib/src/regexp-parser.js +570 -0
- package/dist/node_modules/@chevrotain/regexp-to-ast/lib/src/utils.js +25 -0
- package/dist/node_modules/@chevrotain/utils/lib/src/print.js +9 -0
- package/dist/node_modules/@chevrotain/utils/lib/src/timer.js +8 -0
- package/dist/node_modules/@chevrotain/utils/lib/src/to-fast-properties.js +10 -0
- package/dist/node_modules/@iconify/utils/lib/customisations/defaults.js +9 -0
- package/dist/node_modules/@iconify/utils/lib/icon/defaults.js +18 -0
- package/dist/node_modules/@iconify/utils/lib/icon/merge.js +8 -0
- package/dist/node_modules/@iconify/utils/lib/icon/name.js +35 -0
- package/dist/node_modules/@iconify/utils/lib/icon/transformations.js +7 -0
- package/dist/node_modules/@iconify/utils/lib/icon-set/get-icon.js +15 -0
- package/dist/node_modules/@iconify/utils/lib/icon-set/tree.js +14 -0
- package/dist/node_modules/@iconify/utils/lib/svg/build.js +54 -0
- package/dist/node_modules/@iconify/utils/lib/svg/defs.js +22 -0
- package/dist/node_modules/@iconify/utils/lib/svg/html.js +6 -0
- package/dist/node_modules/@iconify/utils/lib/svg/id.js +17 -0
- package/dist/node_modules/@iconify/utils/lib/svg/size.js +18 -0
- package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/architecture-7HQA4BMR.js +3 -0
- package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-4F5CHEZ2.js +23 -0
- package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-B2363JML.js +60 -0
- package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-FRFDVMJY.js +23 -0
- package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-PL6DKKU2.js +28 -0
- package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-SJTYNZTY.js +23 -0
- package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-TCCFYFTB.js +787 -0
- package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-TQ3KTPDO.js +23 -0
- package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-UMXZTB3W.js +30 -0
- package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/gitGraph-G5XIXVHT.js +3 -0
- package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/info-VBDWY6EO.js +3 -0
- package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/packet-DYOGHKS2.js +3 -0
- package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/pie-VRWISCQL.js +3 -0
- package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/radar-ZZBFDIW7.js +3 -0
- package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/treemap-GDKQZRPO.js +3 -0
- package/dist/node_modules/@mermaid-js/parser/dist/mermaid-parser.core.js +55 -0
- package/dist/node_modules/ccount/index.js +8 -0
- package/dist/node_modules/chevrotain/lib/src/api.js +10 -0
- package/dist/node_modules/chevrotain/lib/src/lang/lang_extensions.js +10 -0
- package/dist/node_modules/chevrotain/lib/src/parse/constants.js +2 -0
- package/dist/node_modules/chevrotain/lib/src/parse/cst/cst.js +13 -0
- package/dist/node_modules/chevrotain/lib/src/parse/cst/cst_visitor.js +58 -0
- package/dist/node_modules/chevrotain/lib/src/parse/errors_public.js +75 -0
- package/dist/node_modules/chevrotain/lib/src/parse/exceptions_public.js +34 -0
- package/dist/node_modules/chevrotain/lib/src/parse/grammar/checks.js +299 -0
- package/dist/node_modules/chevrotain/lib/src/parse/grammar/first.js +25 -0
- package/dist/node_modules/chevrotain/lib/src/parse/grammar/follow.js +29 -0
- package/dist/node_modules/chevrotain/lib/src/parse/grammar/gast/gast_resolver_public.js +15 -0
- package/dist/node_modules/chevrotain/lib/src/parse/grammar/interpreter.js +269 -0
- package/dist/node_modules/chevrotain/lib/src/parse/grammar/keys.js +5 -0
- package/dist/node_modules/chevrotain/lib/src/parse/grammar/llk_lookahead.js +43 -0
- package/dist/node_modules/chevrotain/lib/src/parse/grammar/lookahead.js +248 -0
- package/dist/node_modules/chevrotain/lib/src/parse/grammar/resolver.js +32 -0
- package/dist/node_modules/chevrotain/lib/src/parse/grammar/rest.js +58 -0
- package/dist/node_modules/chevrotain/lib/src/parse/parser/parser.js +122 -0
- package/dist/node_modules/chevrotain/lib/src/parse/parser/traits/context_assist.js +16 -0
- package/dist/node_modules/chevrotain/lib/src/parse/parser/traits/error_handler.js +48 -0
- package/dist/node_modules/chevrotain/lib/src/parse/parser/traits/gast_recorder.js +172 -0
- package/dist/node_modules/chevrotain/lib/src/parse/parser/traits/lexer_adapter.js +39 -0
- package/dist/node_modules/chevrotain/lib/src/parse/parser/traits/looksahead.js +109 -0
- package/dist/node_modules/chevrotain/lib/src/parse/parser/traits/perf_tracer.js +22 -0
- package/dist/node_modules/chevrotain/lib/src/parse/parser/traits/recognizer_api.js +313 -0
- package/dist/node_modules/chevrotain/lib/src/parse/parser/traits/recognizer_engine.js +275 -0
- package/dist/node_modules/chevrotain/lib/src/parse/parser/traits/recoverable.js +144 -0
- package/dist/node_modules/chevrotain/lib/src/parse/parser/traits/tree_builder.js +102 -0
- package/dist/node_modules/chevrotain/lib/src/parse/parser/utils/apply_mixins.js +11 -0
- package/dist/node_modules/chevrotain/lib/src/scan/lexer.js +465 -0
- package/dist/node_modules/chevrotain/lib/src/scan/lexer_errors_public.js +9 -0
- package/dist/node_modules/chevrotain/lib/src/scan/lexer_public.js +275 -0
- package/dist/node_modules/chevrotain/lib/src/scan/reg_exp.js +152 -0
- package/dist/node_modules/chevrotain/lib/src/scan/reg_exp_parser.js +15 -0
- package/dist/node_modules/chevrotain/lib/src/scan/tokens.js +75 -0
- package/dist/node_modules/chevrotain/lib/src/scan/tokens_public.js +42 -0
- package/dist/node_modules/chevrotain-allstar/lib/all-star-lookahead.js +346 -0
- package/dist/node_modules/chevrotain-allstar/lib/atn.js +194 -0
- package/dist/node_modules/chevrotain-allstar/lib/dfa.js +32 -0
- package/dist/node_modules/chevrotain-allstar/lib/index.js +1 -0
- package/dist/node_modules/comma-separated-tokens/index.js +10 -0
- package/dist/node_modules/cose-base/cose-base.js +469 -0
- package/dist/node_modules/cytoscape/dist/cytoscape.esm.js +18100 -0
- package/dist/node_modules/cytoscape-cose-bilkent/cytoscape-cose-bilkent.js +172 -0
- package/dist/node_modules/cytoscape-fcose/cytoscape-fcose.js +604 -0
- package/dist/node_modules/cytoscape-fcose/node_modules/cose-base/cose-base.js +1142 -0
- package/dist/node_modules/cytoscape-fcose/node_modules/layout-base/layout-base.js +1635 -0
- package/dist/node_modules/d3/src/index.js +93 -0
- package/dist/node_modules/d3-array/src/ascending.js +4 -0
- package/dist/node_modules/d3-array/src/bisect.js +8 -0
- package/dist/node_modules/d3-array/src/bisector.js +39 -0
- package/dist/node_modules/d3-array/src/descending.js +4 -0
- package/dist/node_modules/d3-array/src/max.js +10 -0
- package/dist/node_modules/d3-array/src/min.js +10 -0
- package/dist/node_modules/d3-array/src/number.js +4 -0
- package/dist/node_modules/d3-array/src/range.js +6 -0
- package/dist/node_modules/d3-array/src/ticks.js +30 -0
- package/dist/node_modules/d3-axis/src/axis.js +61 -0
- package/dist/node_modules/d3-axis/src/identity.js +4 -0
- package/dist/node_modules/d3-brush/src/brush.js +15 -0
- package/dist/node_modules/d3-brush/src/index.js +1 -0
- package/dist/node_modules/d3-color/src/color.js +287 -0
- package/dist/node_modules/d3-color/src/define.js +9 -0
- package/dist/node_modules/d3-color/src/lab.js +70 -0
- package/dist/node_modules/d3-color/src/math.js +2 -0
- package/dist/node_modules/d3-dispatch/src/dispatch.js +64 -0
- package/dist/node_modules/d3-ease/src/cubic.js +4 -0
- package/dist/node_modules/d3-format/src/defaultLocale.js +11 -0
- package/dist/node_modules/d3-format/src/exponent.js +5 -0
- package/dist/node_modules/d3-format/src/formatDecimal.js +9 -0
- package/dist/node_modules/d3-format/src/formatGroup.js +7 -0
- package/dist/node_modules/d3-format/src/formatNumerals.js +8 -0
- package/dist/node_modules/d3-format/src/formatPrefixAuto.js +9 -0
- package/dist/node_modules/d3-format/src/formatRounded.js +8 -0
- package/dist/node_modules/d3-format/src/formatSpecifier.js +25 -0
- package/dist/node_modules/d3-format/src/formatTrim.js +16 -0
- package/dist/node_modules/d3-format/src/formatTypes.js +19 -0
- package/dist/node_modules/d3-format/src/identity.js +4 -0
- package/dist/node_modules/d3-format/src/locale.js +82 -0
- package/dist/node_modules/d3-format/src/precisionFixed.js +5 -0
- package/dist/node_modules/d3-format/src/precisionPrefix.js +5 -0
- package/dist/node_modules/d3-format/src/precisionRound.js +5 -0
- package/dist/node_modules/d3-hierarchy/src/accessors.js +5 -0
- package/dist/node_modules/d3-hierarchy/src/constant.js +9 -0
- package/dist/node_modules/d3-hierarchy/src/hierarchy/ancestors.js +5 -0
- package/dist/node_modules/d3-hierarchy/src/hierarchy/count.js +10 -0
- package/dist/node_modules/d3-hierarchy/src/hierarchy/descendants.js +4 -0
- package/dist/node_modules/d3-hierarchy/src/hierarchy/each.js +6 -0
- package/dist/node_modules/d3-hierarchy/src/hierarchy/eachAfter.js +6 -0
- package/dist/node_modules/d3-hierarchy/src/hierarchy/eachBefore.js +5 -0
- package/dist/node_modules/d3-hierarchy/src/hierarchy/find.js +5 -0
- package/dist/node_modules/d3-hierarchy/src/hierarchy/index.js +57 -0
- package/dist/node_modules/d3-hierarchy/src/hierarchy/iterator.js +7 -0
- package/dist/node_modules/d3-hierarchy/src/hierarchy/leaves.js +7 -0
- package/dist/node_modules/d3-hierarchy/src/hierarchy/links.js +10 -0
- package/dist/node_modules/d3-hierarchy/src/hierarchy/path.js +12 -0
- package/dist/node_modules/d3-hierarchy/src/hierarchy/sort.js +6 -0
- package/dist/node_modules/d3-hierarchy/src/hierarchy/sum.js +7 -0
- package/dist/node_modules/d3-hierarchy/src/treemap/dice.js +4 -0
- package/dist/node_modules/d3-hierarchy/src/treemap/index.js +36 -0
- package/dist/node_modules/d3-hierarchy/src/treemap/round.js +4 -0
- package/dist/node_modules/d3-hierarchy/src/treemap/slice.js +4 -0
- package/dist/node_modules/d3-hierarchy/src/treemap/squarify.js +33 -0
- package/dist/node_modules/d3-interpolate/src/array.js +11 -0
- package/dist/node_modules/d3-interpolate/src/basis.js +12 -0
- package/dist/node_modules/d3-interpolate/src/basisClosed.js +9 -0
- package/dist/node_modules/d3-interpolate/src/color.js +25 -0
- package/dist/node_modules/d3-interpolate/src/constant.js +2 -0
- package/dist/node_modules/d3-interpolate/src/date.js +7 -0
- package/dist/node_modules/d3-interpolate/src/hcl.js +12 -0
- package/dist/node_modules/d3-interpolate/src/number.js +6 -0
- package/dist/node_modules/d3-interpolate/src/numberArray.js +12 -0
- package/dist/node_modules/d3-interpolate/src/object.js +10 -0
- package/dist/node_modules/d3-interpolate/src/rgb.js +15 -0
- package/dist/node_modules/d3-interpolate/src/round.js +6 -0
- package/dist/node_modules/d3-interpolate/src/string.js +24 -0
- package/dist/node_modules/d3-interpolate/src/transform/decompose.js +20 -0
- package/dist/node_modules/d3-interpolate/src/transform/index.js +52 -0
- package/dist/node_modules/d3-interpolate/src/transform/parse.js +10 -0
- package/dist/node_modules/d3-interpolate/src/value.js +14 -0
- package/dist/node_modules/d3-path/src/path.js +61 -0
- package/dist/node_modules/d3-sankey/node_modules/d3-array/src/max.js +10 -0
- package/dist/node_modules/d3-sankey/node_modules/d3-array/src/min.js +10 -0
- package/dist/node_modules/d3-sankey/node_modules/d3-array/src/sum.js +10 -0
- package/dist/node_modules/d3-sankey/node_modules/d3-path/src/path.js +50 -0
- package/dist/node_modules/d3-sankey/node_modules/d3-shape/src/array.js +2 -0
- package/dist/node_modules/d3-sankey/node_modules/d3-shape/src/constant.js +6 -0
- package/dist/node_modules/d3-sankey/node_modules/d3-shape/src/link/index.js +35 -0
- package/dist/node_modules/d3-sankey/node_modules/d3-shape/src/point.js +7 -0
- package/dist/node_modules/d3-sankey/src/align.js +17 -0
- package/dist/node_modules/d3-sankey/src/constant.js +6 -0
- package/dist/node_modules/d3-sankey/src/sankey.js +224 -0
- package/dist/node_modules/d3-sankey/src/sankeyLinkHorizontal.js +11 -0
- package/dist/node_modules/d3-scale/src/band.js +39 -0
- package/dist/node_modules/d3-scale/src/constant.js +6 -0
- package/dist/node_modules/d3-scale/src/continuous.js +69 -0
- package/dist/node_modules/d3-scale/src/init.js +13 -0
- package/dist/node_modules/d3-scale/src/linear.js +32 -0
- package/dist/node_modules/d3-scale/src/nice.js +6 -0
- package/dist/node_modules/d3-scale/src/number.js +4 -0
- package/dist/node_modules/d3-scale/src/ordinal.js +27 -0
- package/dist/node_modules/d3-scale/src/tickFormat.js +27 -0
- package/dist/node_modules/d3-scale/src/time.js +43 -0
- package/dist/node_modules/d3-scale-chromatic/src/categorical/Tableau10.js +3 -0
- package/dist/node_modules/d3-scale-chromatic/src/colors.js +5 -0
- package/dist/node_modules/d3-selection/src/array.js +4 -0
- package/dist/node_modules/d3-selection/src/constant.js +6 -0
- package/dist/node_modules/d3-selection/src/creator.js +18 -0
- package/dist/node_modules/d3-selection/src/matcher.js +11 -0
- package/dist/node_modules/d3-selection/src/namespace.js +9 -0
- package/dist/node_modules/d3-selection/src/namespaces.js +8 -0
- package/dist/node_modules/d3-selection/src/select.js +5 -0
- package/dist/node_modules/d3-selection/src/selection/append.js +8 -0
- package/dist/node_modules/d3-selection/src/selection/attr.js +42 -0
- package/dist/node_modules/d3-selection/src/selection/call.js +5 -0
- package/dist/node_modules/d3-selection/src/selection/classed.js +51 -0
- package/dist/node_modules/d3-selection/src/selection/clone.js +12 -0
- package/dist/node_modules/d3-selection/src/selection/data.js +34 -0
- package/dist/node_modules/d3-selection/src/selection/datum.js +4 -0
- package/dist/node_modules/d3-selection/src/selection/dispatch.js +19 -0
- package/dist/node_modules/d3-selection/src/selection/each.js +5 -0
- package/dist/node_modules/d3-selection/src/selection/empty.js +4 -0
- package/dist/node_modules/d3-selection/src/selection/enter.js +24 -0
- package/dist/node_modules/d3-selection/src/selection/exit.js +6 -0
- package/dist/node_modules/d3-selection/src/selection/filter.js +8 -0
- package/dist/node_modules/d3-selection/src/selection/html.js +17 -0
- package/dist/node_modules/d3-selection/src/selection/index.js +84 -0
- package/dist/node_modules/d3-selection/src/selection/insert.js +12 -0
- package/dist/node_modules/d3-selection/src/selection/iterator.js +4 -0
- package/dist/node_modules/d3-selection/src/selection/join.js +5 -0
- package/dist/node_modules/d3-selection/src/selection/lower.js +7 -0
- package/dist/node_modules/d3-selection/src/selection/merge.js +7 -0
- package/dist/node_modules/d3-selection/src/selection/node.js +8 -0
- package/dist/node_modules/d3-selection/src/selection/nodes.js +4 -0
- package/dist/node_modules/d3-selection/src/selection/on.js +54 -0
- package/dist/node_modules/d3-selection/src/selection/order.js +5 -0
- package/dist/node_modules/d3-selection/src/selection/property.js +20 -0
- package/dist/node_modules/d3-selection/src/selection/raise.js +7 -0
- package/dist/node_modules/d3-selection/src/selection/remove.js +8 -0
- package/dist/node_modules/d3-selection/src/selection/select.js +8 -0
- package/dist/node_modules/d3-selection/src/selection/selectAll.js +14 -0
- package/dist/node_modules/d3-selection/src/selection/selectChild.js +14 -0
- package/dist/node_modules/d3-selection/src/selection/selectChildren.js +14 -0
- package/dist/node_modules/d3-selection/src/selection/size.js +6 -0
- package/dist/node_modules/d3-selection/src/selection/sort.js +16 -0
- package/dist/node_modules/d3-selection/src/selection/sparse.js +4 -0
- package/dist/node_modules/d3-selection/src/selection/style.js +24 -0
- package/dist/node_modules/d3-selection/src/selection/text.js +17 -0
- package/dist/node_modules/d3-selection/src/selector.js +7 -0
- package/dist/node_modules/d3-selection/src/selectorAll.js +9 -0
- package/dist/node_modules/d3-selection/src/window.js +4 -0
- package/dist/node_modules/d3-shape/src/arc.js +79 -0
- package/dist/node_modules/d3-shape/src/array.js +5 -0
- package/dist/node_modules/d3-shape/src/constant.js +6 -0
- package/dist/node_modules/d3-shape/src/curve/basis.js +45 -0
- package/dist/node_modules/d3-shape/src/curve/basisClosed.js +46 -0
- package/dist/node_modules/d3-shape/src/curve/basisOpen.js +42 -0
- package/dist/node_modules/d3-shape/src/curve/bump.js +36 -0
- package/dist/node_modules/d3-shape/src/curve/bundle.js +26 -0
- package/dist/node_modules/d3-shape/src/curve/cardinal.js +52 -0
- package/dist/node_modules/d3-shape/src/curve/cardinalClosed.js +51 -0
- package/dist/node_modules/d3-shape/src/curve/cardinalOpen.js +45 -0
- package/dist/node_modules/d3-shape/src/curve/catmullRom.js +67 -0
- package/dist/node_modules/d3-shape/src/curve/catmullRomClosed.js +56 -0
- package/dist/node_modules/d3-shape/src/curve/catmullRomOpen.js +50 -0
- package/dist/node_modules/d3-shape/src/curve/linear.js +32 -0
- package/dist/node_modules/d3-shape/src/curve/linearClosed.js +21 -0
- package/dist/node_modules/d3-shape/src/curve/monotone.js +90 -0
- package/dist/node_modules/d3-shape/src/curve/natural.js +35 -0
- package/dist/node_modules/d3-shape/src/curve/step.js +43 -0
- package/dist/node_modules/d3-shape/src/descending.js +4 -0
- package/dist/node_modules/d3-shape/src/identity.js +4 -0
- package/dist/node_modules/d3-shape/src/line.js +26 -0
- package/dist/node_modules/d3-shape/src/math.js +8 -0
- package/dist/node_modules/d3-shape/src/noop.js +2 -0
- package/dist/node_modules/d3-shape/src/path.js +15 -0
- package/dist/node_modules/d3-shape/src/pie.js +39 -0
- package/dist/node_modules/d3-shape/src/point.js +7 -0
- package/dist/node_modules/d3-time/src/day.js +17 -0
- package/dist/node_modules/d3-time/src/duration.js +2 -0
- package/dist/node_modules/d3-time/src/hour.js +15 -0
- package/dist/node_modules/d3-time/src/interval.js +24 -0
- package/dist/node_modules/d3-time/src/millisecond.js +10 -0
- package/dist/node_modules/d3-time/src/minute.js +15 -0
- package/dist/node_modules/d3-time/src/month.js +14 -0
- package/dist/node_modules/d3-time/src/second.js +9 -0
- package/dist/node_modules/d3-time/src/ticks.js +121 -0
- package/dist/node_modules/d3-time/src/week.js +21 -0
- package/dist/node_modules/d3-time/src/year.js +22 -0
- package/dist/node_modules/d3-time-format/src/defaultLocale.js +58 -0
- package/dist/node_modules/d3-time-format/src/locale.js +486 -0
- package/dist/node_modules/d3-timer/src/timeout.js +8 -0
- package/dist/node_modules/d3-timer/src/timer.js +51 -0
- package/dist/node_modules/d3-transition/src/index.js +3 -0
- package/dist/node_modules/d3-transition/src/interrupt.js +15 -0
- package/dist/node_modules/d3-transition/src/selection/index.js +4 -0
- package/dist/node_modules/d3-transition/src/selection/interrupt.js +7 -0
- package/dist/node_modules/d3-transition/src/selection/transition.js +21 -0
- package/dist/node_modules/d3-transition/src/transition/attr.js +47 -0
- package/dist/node_modules/d3-transition/src/transition/attrTween.js +36 -0
- package/dist/node_modules/d3-transition/src/transition/delay.js +16 -0
- package/dist/node_modules/d3-transition/src/transition/duration.js +16 -0
- package/dist/node_modules/d3-transition/src/transition/ease.js +12 -0
- package/dist/node_modules/d3-transition/src/transition/easeVarying.js +13 -0
- package/dist/node_modules/d3-transition/src/transition/end.js +14 -0
- package/dist/node_modules/d3-transition/src/transition/filter.js +8 -0
- package/dist/node_modules/d3-transition/src/transition/index.js +65 -0
- package/dist/node_modules/d3-transition/src/transition/interpolate.js +9 -0
- package/dist/node_modules/d3-transition/src/transition/merge.js +8 -0
- package/dist/node_modules/d3-transition/src/transition/on.js +19 -0
- package/dist/node_modules/d3-transition/src/transition/remove.js +11 -0
- package/dist/node_modules/d3-transition/src/transition/schedule.js +67 -0
- package/dist/node_modules/d3-transition/src/transition/select.js +10 -0
- package/dist/node_modules/d3-transition/src/transition/selectAll.js +13 -0
- package/dist/node_modules/d3-transition/src/transition/selection.js +6 -0
- package/dist/node_modules/d3-transition/src/transition/style.js +43 -0
- package/dist/node_modules/d3-transition/src/transition/styleTween.js +21 -0
- package/dist/node_modules/d3-transition/src/transition/text.js +15 -0
- package/dist/node_modules/d3-transition/src/transition/textTween.js +21 -0
- package/dist/node_modules/d3-transition/src/transition/transition.js +15 -0
- package/dist/node_modules/d3-transition/src/transition/tween.js +52 -0
- package/dist/node_modules/d3-zoom/src/index.js +2 -0
- package/dist/node_modules/d3-zoom/src/transform.js +46 -0
- package/dist/node_modules/d3-zoom/src/zoom.js +2 -0
- package/dist/node_modules/dagre-d3-es/src/dagre/acyclic.js +34 -0
- package/dist/node_modules/dagre-d3-es/src/dagre/add-border-segments.js +22 -0
- package/dist/node_modules/dagre-d3-es/src/dagre/coordinate-system.js +44 -0
- package/dist/node_modules/dagre-d3-es/src/dagre/data/list.js +25 -0
- package/dist/node_modules/dagre-d3-es/src/dagre/greedy-fas.js +69 -0
- package/dist/node_modules/dagre-d3-es/src/dagre/index.js +4 -0
- package/dist/node_modules/dagre-d3-es/src/dagre/layout.js +241 -0
- package/dist/node_modules/dagre-d3-es/src/dagre/nesting-graph.js +66 -0
- package/dist/node_modules/dagre-d3-es/src/dagre/normalize.js +32 -0
- package/dist/node_modules/dagre-d3-es/src/dagre/order/add-subgraph-constraints.js +14 -0
- package/dist/node_modules/dagre-d3-es/src/dagre/order/barycenter.js +25 -0
- package/dist/node_modules/dagre-d3-es/src/dagre/order/build-layer-graph.js +25 -0
- package/dist/node_modules/dagre-d3-es/src/dagre/order/cross-count.js +33 -0
- package/dist/node_modules/dagre-d3-es/src/dagre/order/index.js +44 -0
- package/dist/node_modules/dagre-d3-es/src/dagre/order/init-order.js +23 -0
- package/dist/node_modules/dagre-d3-es/src/dagre/order/resolve-conflicts.js +55 -0
- package/dist/node_modules/dagre-d3-es/src/dagre/order/sort-subgraph.js +43 -0
- package/dist/node_modules/dagre-d3-es/src/dagre/order/sort.js +27 -0
- package/dist/node_modules/dagre-d3-es/src/dagre/parent-dummy-chains.js +40 -0
- package/dist/node_modules/dagre-d3-es/src/dagre/position/bk.js +216 -0
- package/dist/node_modules/dagre-d3-es/src/dagre/position/index.js +23 -0
- package/dist/node_modules/dagre-d3-es/src/dagre/rank/feasible-tree.js +31 -0
- package/dist/node_modules/dagre-d3-es/src/dagre/rank/index.js +25 -0
- package/dist/node_modules/dagre-d3-es/src/dagre/rank/network-simplex.js +84 -0
- package/dist/node_modules/dagre-d3-es/src/dagre/rank/util.js +20 -0
- package/dist/node_modules/dagre-d3-es/src/dagre/util.js +117 -0
- package/dist/node_modules/dagre-d3-es/src/graphlib/alg/dfs.js +16 -0
- package/dist/node_modules/dagre-d3-es/src/graphlib/alg/dijkstra-all.js +1 -0
- package/dist/node_modules/dagre-d3-es/src/graphlib/alg/dijkstra.js +2 -0
- package/dist/node_modules/dagre-d3-es/src/graphlib/alg/floyd-warshall.js +2 -0
- package/dist/node_modules/dagre-d3-es/src/graphlib/alg/index.js +8 -0
- package/dist/node_modules/dagre-d3-es/src/graphlib/alg/is-acyclic.js +1 -0
- package/dist/node_modules/dagre-d3-es/src/graphlib/alg/postorder.js +5 -0
- package/dist/node_modules/dagre-d3-es/src/graphlib/alg/preorder.js +5 -0
- package/dist/node_modules/dagre-d3-es/src/graphlib/alg/prim.js +1 -0
- package/dist/node_modules/dagre-d3-es/src/graphlib/alg/topsort.js +15 -0
- package/dist/node_modules/dagre-d3-es/src/graphlib/graph.js +228 -0
- package/dist/node_modules/dagre-d3-es/src/graphlib/index.js +1 -0
- package/dist/node_modules/dagre-d3-es/src/graphlib/json.js +32 -0
- package/dist/node_modules/dayjs/dayjs.min.js +298 -0
- package/dist/node_modules/dayjs/plugin/advancedFormat.js +37 -0
- package/dist/node_modules/dayjs/plugin/customParseFormat.js +160 -0
- package/dist/node_modules/dayjs/plugin/duration.js +164 -0
- package/dist/node_modules/dayjs/plugin/isoWeek.js +29 -0
- package/dist/node_modules/devlop/lib/default.js +2 -0
- package/dist/node_modules/dompurify/dist/purify.es.js +547 -0
- package/dist/node_modules/hast-util-from-dom/lib/index.js +58 -0
- package/dist/node_modules/hast-util-from-html-isomorphic/lib/browser.js +10 -0
- package/dist/node_modules/hast-util-is-element/lib/index.js +36 -0
- package/dist/node_modules/hast-util-parse-selector/lib/index.js +16 -0
- package/dist/node_modules/hast-util-to-text/lib/index.js +104 -0
- package/dist/node_modules/hastscript/lib/create-h.js +86 -0
- package/dist/node_modules/hastscript/lib/index.js +5 -0
- package/dist/node_modules/hastscript/lib/svg-case-sensitive-tag-names.js +2 -0
- package/dist/node_modules/internmap/src/index.js +36 -0
- package/dist/node_modules/katex/dist/katex.js +22103 -0
- package/dist/node_modules/khroma/dist/channels/index.js +68 -0
- package/dist/node_modules/khroma/dist/channels/reusable.js +8 -0
- package/dist/node_modules/khroma/dist/channels/type.js +20 -0
- package/dist/node_modules/khroma/dist/color/hex.js +22 -0
- package/dist/node_modules/khroma/dist/color/hsl.js +36 -0
- package/dist/node_modules/khroma/dist/color/index.js +23 -0
- package/dist/node_modules/khroma/dist/color/keyword.js +162 -0
- package/dist/node_modules/khroma/dist/color/rgb.js +23 -0
- package/dist/node_modules/khroma/dist/constants.js +9 -0
- package/dist/node_modules/khroma/dist/methods/adjust.js +8 -0
- package/dist/node_modules/khroma/dist/methods/adjust_channel.js +7 -0
- package/dist/node_modules/khroma/dist/methods/change.js +8 -0
- package/dist/node_modules/khroma/dist/methods/channel.js +4 -0
- package/dist/node_modules/khroma/dist/methods/darken.js +3 -0
- package/dist/node_modules/khroma/dist/methods/invert.js +7 -0
- package/dist/node_modules/khroma/dist/methods/is_dark.js +3 -0
- package/dist/node_modules/khroma/dist/methods/is_light.js +3 -0
- package/dist/node_modules/khroma/dist/methods/lighten.js +3 -0
- package/dist/node_modules/khroma/dist/methods/luminance.js +7 -0
- package/dist/node_modules/khroma/dist/methods/mix.js +7 -0
- package/dist/node_modules/khroma/dist/methods/rgba.js +15 -0
- package/dist/node_modules/khroma/dist/utils/channel.js +58 -0
- package/dist/node_modules/khroma/dist/utils/index.js +9 -0
- package/dist/node_modules/khroma/dist/utils/lang.js +5 -0
- package/dist/node_modules/khroma/dist/utils/unit.js +5 -0
- package/dist/node_modules/langium/lib/default-module.js +85 -0
- package/dist/node_modules/langium/lib/dependency-injection.js +62 -0
- package/dist/node_modules/langium/lib/documentation/comment-provider.js +11 -0
- package/dist/node_modules/langium/lib/documentation/documentation-provider.js +36 -0
- package/dist/node_modules/langium/lib/documentation/jsdoc.js +303 -0
- package/dist/node_modules/langium/lib/index.js +182 -0
- package/dist/node_modules/langium/lib/languages/generated/ast.js +1089 -0
- package/dist/node_modules/langium/lib/languages/grammar-config.js +13 -0
- package/dist/node_modules/langium/lib/parser/async-parser.js +83 -0
- package/dist/node_modules/langium/lib/parser/completion-parser-builder.js +7 -0
- package/dist/node_modules/langium/lib/parser/cst-node-builder.js +160 -0
- package/dist/node_modules/langium/lib/parser/indentation-aware.js +141 -0
- package/dist/node_modules/langium/lib/parser/langium-parser-builder.js +11 -0
- package/dist/node_modules/langium/lib/parser/langium-parser.js +388 -0
- package/dist/node_modules/langium/lib/parser/lexer.js +50 -0
- package/dist/node_modules/langium/lib/parser/parser-builder-base.js +275 -0
- package/dist/node_modules/langium/lib/parser/token-builder.js +61 -0
- package/dist/node_modules/langium/lib/parser/value-converter.js +78 -0
- package/dist/node_modules/langium/lib/references/linker.js +190 -0
- package/dist/node_modules/langium/lib/references/name-provider.js +13 -0
- package/dist/node_modules/langium/lib/references/references.js +76 -0
- package/dist/node_modules/langium/lib/references/scope-computation.js +35 -0
- package/dist/node_modules/langium/lib/references/scope-provider.js +34 -0
- package/dist/node_modules/langium/lib/references/scope.js +73 -0
- package/dist/node_modules/langium/lib/serializer/hydrator.js +125 -0
- package/dist/node_modules/langium/lib/serializer/json-serializer.js +145 -0
- package/dist/node_modules/langium/lib/service-registry.js +37 -0
- package/dist/node_modules/langium/lib/syntax-tree.js +70 -0
- package/dist/node_modules/langium/lib/utils/ast-utils.js +157 -0
- package/dist/node_modules/langium/lib/utils/caching.js +91 -0
- package/dist/node_modules/langium/lib/utils/cancellation.js +5 -0
- package/dist/node_modules/langium/lib/utils/collections.js +85 -0
- package/dist/node_modules/langium/lib/utils/cst-utils.js +190 -0
- package/dist/node_modules/langium/lib/utils/disposable.js +8 -0
- package/dist/node_modules/langium/lib/utils/errors.js +12 -0
- package/dist/node_modules/langium/lib/utils/event.js +5 -0
- package/dist/node_modules/langium/lib/utils/grammar-loader.js +22 -0
- package/dist/node_modules/langium/lib/utils/grammar-utils.js +296 -0
- package/dist/node_modules/langium/lib/utils/index.js +53 -0
- package/dist/node_modules/langium/lib/utils/promise-utils.js +30 -0
- package/dist/node_modules/langium/lib/utils/regexp-utils.js +167 -0
- package/dist/node_modules/langium/lib/utils/stream.js +327 -0
- package/dist/node_modules/langium/lib/utils/uri-utils.js +107 -0
- package/dist/node_modules/langium/lib/validation/document-validator.js +210 -0
- package/dist/node_modules/langium/lib/validation/validation-registry.js +87 -0
- package/dist/node_modules/langium/lib/workspace/ast-descriptions.js +57 -0
- package/dist/node_modules/langium/lib/workspace/ast-node-locator.js +28 -0
- package/dist/node_modules/langium/lib/workspace/configuration.js +51 -0
- package/dist/node_modules/langium/lib/workspace/document-builder.js +201 -0
- package/dist/node_modules/langium/lib/workspace/documents.js +142 -0
- package/dist/node_modules/langium/lib/workspace/file-system-provider.js +34 -0
- package/dist/node_modules/langium/lib/workspace/index-manager.js +49 -0
- package/dist/node_modules/langium/lib/workspace/profiler.js +89 -0
- package/dist/node_modules/langium/lib/workspace/workspace-lock.js +42 -0
- package/dist/node_modules/langium/lib/workspace/workspace-manager.js +66 -0
- package/dist/node_modules/layout-base/layout-base.js +1407 -0
- package/dist/node_modules/lodash-es/_DataView.js +4 -0
- package/dist/node_modules/lodash-es/_Hash.js +15 -0
- package/dist/node_modules/lodash-es/_ListCache.js +15 -0
- package/dist/node_modules/lodash-es/_Map.js +4 -0
- package/dist/node_modules/lodash-es/_MapCache.js +15 -0
- package/dist/node_modules/lodash-es/_Promise.js +4 -0
- package/dist/node_modules/lodash-es/_Set.js +4 -0
- package/dist/node_modules/lodash-es/_SetCache.js +10 -0
- package/dist/node_modules/lodash-es/_Stack.js +12 -0
- package/dist/node_modules/lodash-es/_Symbol.js +3 -0
- package/dist/node_modules/lodash-es/_Uint8Array.js +3 -0
- package/dist/node_modules/lodash-es/_WeakMap.js +4 -0
- package/dist/node_modules/lodash-es/_apply.js +11 -0
- package/dist/node_modules/lodash-es/_arrayAggregator.js +9 -0
- package/dist/node_modules/lodash-es/_arrayEach.js +6 -0
- package/dist/node_modules/lodash-es/_arrayEvery.js +6 -0
- package/dist/node_modules/lodash-es/_arrayFilter.js +9 -0
- package/dist/node_modules/lodash-es/_arrayIncludes.js +6 -0
- package/dist/node_modules/lodash-es/_arrayIncludesWith.js +6 -0
- package/dist/node_modules/lodash-es/_arrayLikeKeys.js +14 -0
- package/dist/node_modules/lodash-es/_arrayMap.js +6 -0
- package/dist/node_modules/lodash-es/_arrayPush.js +6 -0
- package/dist/node_modules/lodash-es/_arrayReduce.js +7 -0
- package/dist/node_modules/lodash-es/_arraySome.js +6 -0
- package/dist/node_modules/lodash-es/_asciiSize.js +3 -0
- package/dist/node_modules/lodash-es/_assignMergeValue.js +7 -0
- package/dist/node_modules/lodash-es/_assignValue.js +9 -0
- package/dist/node_modules/lodash-es/_assocIndexOf.js +7 -0
- package/dist/node_modules/lodash-es/_baseAggregator.js +8 -0
- package/dist/node_modules/lodash-es/_baseAssign.js +7 -0
- package/dist/node_modules/lodash-es/_baseAssignIn.js +7 -0
- package/dist/node_modules/lodash-es/_baseAssignValue.js +11 -0
- package/dist/node_modules/lodash-es/_baseClone.js +56 -0
- package/dist/node_modules/lodash-es/_baseCreate.js +12 -0
- package/dist/node_modules/lodash-es/_baseDifference.js +22 -0
- package/dist/node_modules/lodash-es/_baseEach.js +4 -0
- package/dist/node_modules/lodash-es/_baseEvery.js +9 -0
- package/dist/node_modules/lodash-es/_baseExtremum.js +10 -0
- package/dist/node_modules/lodash-es/_baseFilter.js +9 -0
- package/dist/node_modules/lodash-es/_baseFindIndex.js +6 -0
- package/dist/node_modules/lodash-es/_baseFlatten.js +12 -0
- package/dist/node_modules/lodash-es/_baseFor.js +3 -0
- package/dist/node_modules/lodash-es/_baseForOwn.js +7 -0
- package/dist/node_modules/lodash-es/_baseGet.js +9 -0
- package/dist/node_modules/lodash-es/_baseGetAllKeys.js +8 -0
- package/dist/node_modules/lodash-es/_baseGetTag.js +9 -0
- package/dist/node_modules/lodash-es/_baseGt.js +5 -0
- package/dist/node_modules/lodash-es/_baseHas.js +6 -0
- package/dist/node_modules/lodash-es/_baseHasIn.js +5 -0
- package/dist/node_modules/lodash-es/_baseIndexOf.js +8 -0
- package/dist/node_modules/lodash-es/_baseIsArguments.js +8 -0
- package/dist/node_modules/lodash-es/_baseIsEqual.js +7 -0
- package/dist/node_modules/lodash-es/_baseIsEqualDeep.js +29 -0
- package/dist/node_modules/lodash-es/_baseIsMap.js +8 -0
- package/dist/node_modules/lodash-es/_baseIsMatch.js +25 -0
- package/dist/node_modules/lodash-es/_baseIsNaN.js +5 -0
- package/dist/node_modules/lodash-es/_baseIsNative.js +10 -0
- package/dist/node_modules/lodash-es/_baseIsRegExp.js +8 -0
- package/dist/node_modules/lodash-es/_baseIsSet.js +8 -0
- package/dist/node_modules/lodash-es/_baseIsTypedArray.js +10 -0
- package/dist/node_modules/lodash-es/_baseIteratee.js +10 -0
- package/dist/node_modules/lodash-es/_baseKeys.js +11 -0
- package/dist/node_modules/lodash-es/_baseKeysIn.js +12 -0
- package/dist/node_modules/lodash-es/_baseLt.js +5 -0
- package/dist/node_modules/lodash-es/_baseMap.js +10 -0
- package/dist/node_modules/lodash-es/_baseMatches.js +11 -0
- package/dist/node_modules/lodash-es/_baseMatchesProperty.js +16 -0
- package/dist/node_modules/lodash-es/_baseMerge.js +18 -0
- package/dist/node_modules/lodash-es/_baseMergeDeep.js +30 -0
- package/dist/node_modules/lodash-es/_baseOrderBy.js +30 -0
- package/dist/node_modules/lodash-es/_basePick.js +9 -0
- package/dist/node_modules/lodash-es/_basePickBy.js +12 -0
- package/dist/node_modules/lodash-es/_baseProperty.js +7 -0
- package/dist/node_modules/lodash-es/_basePropertyDeep.js +8 -0
- package/dist/node_modules/lodash-es/_baseRange.js +7 -0
- package/dist/node_modules/lodash-es/_baseReduce.js +7 -0
- package/dist/node_modules/lodash-es/_baseRest.js +8 -0
- package/dist/node_modules/lodash-es/_baseSet.js +21 -0
- package/dist/node_modules/lodash-es/_baseSetToString.js +12 -0
- package/dist/node_modules/lodash-es/_baseSlice.js +8 -0
- package/dist/node_modules/lodash-es/_baseSome.js +9 -0
- package/dist/node_modules/lodash-es/_baseSortBy.js +7 -0
- package/dist/node_modules/lodash-es/_baseTimes.js +6 -0
- package/dist/node_modules/lodash-es/_baseToString.js +14 -0
- package/dist/node_modules/lodash-es/_baseTrim.js +7 -0
- package/dist/node_modules/lodash-es/_baseUnary.js +7 -0
- package/dist/node_modules/lodash-es/_baseUniq.js +26 -0
- package/dist/node_modules/lodash-es/_baseValues.js +8 -0
- package/dist/node_modules/lodash-es/_baseZipObject.js +9 -0
- package/dist/node_modules/lodash-es/_cacheHas.js +5 -0
- package/dist/node_modules/lodash-es/_castFunction.js +6 -0
- package/dist/node_modules/lodash-es/_castPath.js +9 -0
- package/dist/node_modules/lodash-es/_cloneArrayBuffer.js +7 -0
- package/dist/node_modules/lodash-es/_cloneBuffer.js +9 -0
- package/dist/node_modules/lodash-es/_cloneDataView.js +7 -0
- package/dist/node_modules/lodash-es/_cloneRegExp.js +7 -0
- package/dist/node_modules/lodash-es/_cloneSymbol.js +7 -0
- package/dist/node_modules/lodash-es/_cloneTypedArray.js +7 -0
- package/dist/node_modules/lodash-es/_compareAscending.js +11 -0
- package/dist/node_modules/lodash-es/_compareMultiple.js +10 -0
- package/dist/node_modules/lodash-es/_copyArray.js +7 -0
- package/dist/node_modules/lodash-es/_copyObject.js +13 -0
- package/dist/node_modules/lodash-es/_copySymbols.js +7 -0
- package/dist/node_modules/lodash-es/_copySymbolsIn.js +7 -0
- package/dist/node_modules/lodash-es/_coreJsData.js +3 -0
- package/dist/node_modules/lodash-es/_createAggregator.js +12 -0
- package/dist/node_modules/lodash-es/_createAssigner.js +14 -0
- package/dist/node_modules/lodash-es/_createBaseEach.js +11 -0
- package/dist/node_modules/lodash-es/_createBaseFor.js +11 -0
- package/dist/node_modules/lodash-es/_createFind.js +18 -0
- package/dist/node_modules/lodash-es/_createRange.js +10 -0
- package/dist/node_modules/lodash-es/_createSet.js +7 -0
- package/dist/node_modules/lodash-es/_defineProperty.js +8 -0
- package/dist/node_modules/lodash-es/_equalArrays.js +34 -0
- package/dist/node_modules/lodash-es/_equalByTag.js +34 -0
- package/dist/node_modules/lodash-es/_equalObjects.js +31 -0
- package/dist/node_modules/lodash-es/_flatRest.js +8 -0
- package/dist/node_modules/lodash-es/_freeGlobal.js +2 -0
- package/dist/node_modules/lodash-es/_getAllKeys.js +8 -0
- package/dist/node_modules/lodash-es/_getAllKeysIn.js +8 -0
- package/dist/node_modules/lodash-es/_getMapData.js +7 -0
- package/dist/node_modules/lodash-es/_getMatchData.js +15 -0
- package/dist/node_modules/lodash-es/_getNative.js +8 -0
- package/dist/node_modules/lodash-es/_getPrototype.js +3 -0
- package/dist/node_modules/lodash-es/_getRawTag.js +13 -0
- package/dist/node_modules/lodash-es/_getSymbols.js +8 -0
- package/dist/node_modules/lodash-es/_getSymbolsIn.js +9 -0
- package/dist/node_modules/lodash-es/_getTag.js +21 -0
- package/dist/node_modules/lodash-es/_getValue.js +5 -0
- package/dist/node_modules/lodash-es/_hasPath.js +17 -0
- package/dist/node_modules/lodash-es/_hasUnicode.js +6 -0
- package/dist/node_modules/lodash-es/_hashClear.js +6 -0
- package/dist/node_modules/lodash-es/_hashDelete.js +6 -0
- package/dist/node_modules/lodash-es/_hashGet.js +12 -0
- package/dist/node_modules/lodash-es/_hashHas.js +8 -0
- package/dist/node_modules/lodash-es/_hashSet.js +8 -0
- package/dist/node_modules/lodash-es/_initCloneArray.js +7 -0
- package/dist/node_modules/lodash-es/_initCloneByTag.js +32 -0
- package/dist/node_modules/lodash-es/_initCloneObject.js +8 -0
- package/dist/node_modules/lodash-es/_isFlattenable.js +9 -0
- package/dist/node_modules/lodash-es/_isIndex.js +7 -0
- package/dist/node_modules/lodash-es/_isIterateeCall.js +11 -0
- package/dist/node_modules/lodash-es/_isKey.js +10 -0
- package/dist/node_modules/lodash-es/_isKeyable.js +6 -0
- package/dist/node_modules/lodash-es/_isMasked.js +10 -0
- package/dist/node_modules/lodash-es/_isPrototype.js +7 -0
- package/dist/node_modules/lodash-es/_isStrictComparable.js +6 -0
- package/dist/node_modules/lodash-es/_listCacheClear.js +5 -0
- package/dist/node_modules/lodash-es/_listCacheDelete.js +8 -0
- package/dist/node_modules/lodash-es/_listCacheGet.js +7 -0
- package/dist/node_modules/lodash-es/_listCacheHas.js +6 -0
- package/dist/node_modules/lodash-es/_listCacheSet.js +7 -0
- package/dist/node_modules/lodash-es/_mapCacheClear.js +12 -0
- package/dist/node_modules/lodash-es/_mapCacheDelete.js +7 -0
- package/dist/node_modules/lodash-es/_mapCacheGet.js +6 -0
- package/dist/node_modules/lodash-es/_mapCacheHas.js +6 -0
- package/dist/node_modules/lodash-es/_mapCacheSet.js +7 -0
- package/dist/node_modules/lodash-es/_mapToArray.js +8 -0
- package/dist/node_modules/lodash-es/_matchesStrictComparable.js +7 -0
- package/dist/node_modules/lodash-es/_memoizeCapped.js +10 -0
- package/dist/node_modules/lodash-es/_nativeCreate.js +3 -0
- package/dist/node_modules/lodash-es/_nativeKeys.js +3 -0
- package/dist/node_modules/lodash-es/_nativeKeysIn.js +7 -0
- package/dist/node_modules/lodash-es/_nodeUtil.js +7 -0
- package/dist/node_modules/lodash-es/_objectToString.js +6 -0
- package/dist/node_modules/lodash-es/_overArg.js +7 -0
- package/dist/node_modules/lodash-es/_overRest.js +12 -0
- package/dist/node_modules/lodash-es/_root.js +3 -0
- package/dist/node_modules/lodash-es/_safeGet.js +5 -0
- package/dist/node_modules/lodash-es/_setCacheAdd.js +6 -0
- package/dist/node_modules/lodash-es/_setCacheHas.js +5 -0
- package/dist/node_modules/lodash-es/_setToArray.js +8 -0
- package/dist/node_modules/lodash-es/_setToString.js +4 -0
- package/dist/node_modules/lodash-es/_shortOut.js +13 -0
- package/dist/node_modules/lodash-es/_stackClear.js +6 -0
- package/dist/node_modules/lodash-es/_stackDelete.js +6 -0
- package/dist/node_modules/lodash-es/_stackGet.js +5 -0
- package/dist/node_modules/lodash-es/_stackHas.js +5 -0
- package/dist/node_modules/lodash-es/_stackSet.js +15 -0
- package/dist/node_modules/lodash-es/_strictIndexOf.js +6 -0
- package/dist/node_modules/lodash-es/_stringSize.js +8 -0
- package/dist/node_modules/lodash-es/_stringToPath.js +8 -0
- package/dist/node_modules/lodash-es/_toKey.js +9 -0
- package/dist/node_modules/lodash-es/_toSource.js +14 -0
- package/dist/node_modules/lodash-es/_trimmedEndIndex.js +7 -0
- package/dist/node_modules/lodash-es/_unicodeSize.js +17 -0
- package/dist/node_modules/lodash-es/assign.js +14 -0
- package/dist/node_modules/lodash-es/clone.js +7 -0
- package/dist/node_modules/lodash-es/cloneDeep.js +7 -0
- package/dist/node_modules/lodash-es/compact.js +9 -0
- package/dist/node_modules/lodash-es/constant.js +7 -0
- package/dist/node_modules/lodash-es/defaults.js +14 -0
- package/dist/node_modules/lodash-es/difference.js +8 -0
- package/dist/node_modules/lodash-es/drop.js +8 -0
- package/dist/node_modules/lodash-es/dropRight.js +8 -0
- package/dist/node_modules/lodash-es/eq.js +5 -0
- package/dist/node_modules/lodash-es/every.js +11 -0
- package/dist/node_modules/lodash-es/filter.js +9 -0
- package/dist/node_modules/lodash-es/find.js +4 -0
- package/dist/node_modules/lodash-es/findIndex.js +12 -0
- package/dist/node_modules/lodash-es/flatMap.js +7 -0
- package/dist/node_modules/lodash-es/flatten.js +6 -0
- package/dist/node_modules/lodash-es/forEach.js +9 -0
- package/dist/node_modules/lodash-es/forIn.js +8 -0
- package/dist/node_modules/lodash-es/forOwn.js +7 -0
- package/dist/node_modules/lodash-es/get.js +7 -0
- package/dist/node_modules/lodash-es/groupBy.js +6 -0
- package/dist/node_modules/lodash-es/has.js +7 -0
- package/dist/node_modules/lodash-es/hasIn.js +7 -0
- package/dist/node_modules/lodash-es/head.js +5 -0
- package/dist/node_modules/lodash-es/identity.js +5 -0
- package/dist/node_modules/lodash-es/includes.js +13 -0
- package/dist/node_modules/lodash-es/indexOf.js +11 -0
- package/dist/node_modules/lodash-es/isArguments.js +8 -0
- package/dist/node_modules/lodash-es/isArray.js +2 -0
- package/dist/node_modules/lodash-es/isArrayLike.js +7 -0
- package/dist/node_modules/lodash-es/isArrayLikeObject.js +7 -0
- package/dist/node_modules/lodash-es/isBuffer.js +4 -0
- package/dist/node_modules/lodash-es/isEmpty.js +20 -0
- package/dist/node_modules/lodash-es/isFunction.js +10 -0
- package/dist/node_modules/lodash-es/isLength.js +6 -0
- package/dist/node_modules/lodash-es/isMap.js +5 -0
- package/dist/node_modules/lodash-es/isObject.js +6 -0
- package/dist/node_modules/lodash-es/isObjectLike.js +5 -0
- package/dist/node_modules/lodash-es/isPlainObject.js +13 -0
- package/dist/node_modules/lodash-es/isRegExp.js +5 -0
- package/dist/node_modules/lodash-es/isSet.js +5 -0
- package/dist/node_modules/lodash-es/isString.js +9 -0
- package/dist/node_modules/lodash-es/isSymbol.js +8 -0
- package/dist/node_modules/lodash-es/isTypedArray.js +5 -0
- package/dist/node_modules/lodash-es/isUndefined.js +5 -0
- package/dist/node_modules/lodash-es/keys.js +8 -0
- package/dist/node_modules/lodash-es/keysIn.js +8 -0
- package/dist/node_modules/lodash-es/last.js +6 -0
- package/dist/node_modules/lodash-es/map.js +9 -0
- package/dist/node_modules/lodash-es/mapValues.js +11 -0
- package/dist/node_modules/lodash-es/max.js +8 -0
- package/dist/node_modules/lodash-es/memoize.js +15 -0
- package/dist/node_modules/lodash-es/merge.js +6 -0
- package/dist/node_modules/lodash-es/min.js +8 -0
- package/dist/node_modules/lodash-es/minBy.js +8 -0
- package/dist/node_modules/lodash-es/negate.js +16 -0
- package/dist/node_modules/lodash-es/noop.js +3 -0
- package/dist/node_modules/lodash-es/now.js +5 -0
- package/dist/node_modules/lodash-es/pick.js +6 -0
- package/dist/node_modules/lodash-es/pickBy.js +15 -0
- package/dist/node_modules/lodash-es/property.js +9 -0
- package/dist/node_modules/lodash-es/range.js +3 -0
- package/dist/node_modules/lodash-es/reduce.js +11 -0
- package/dist/node_modules/lodash-es/reject.js +10 -0
- package/dist/node_modules/lodash-es/size.js +14 -0
- package/dist/node_modules/lodash-es/some.js +11 -0
- package/dist/node_modules/lodash-es/sortBy.js +10 -0
- package/dist/node_modules/lodash-es/stubArray.js +5 -0
- package/dist/node_modules/lodash-es/stubFalse.js +5 -0
- package/dist/node_modules/lodash-es/toFinite.js +7 -0
- package/dist/node_modules/lodash-es/toInteger.js +7 -0
- package/dist/node_modules/lodash-es/toNumber.js +18 -0
- package/dist/node_modules/lodash-es/toPlainObject.js +7 -0
- package/dist/node_modules/lodash-es/toString.js +6 -0
- package/dist/node_modules/lodash-es/union.js +8 -0
- package/dist/node_modules/lodash-es/uniq.js +6 -0
- package/dist/node_modules/lodash-es/uniqBy.js +7 -0
- package/dist/node_modules/lodash-es/uniqueId.js +8 -0
- package/dist/node_modules/lodash-es/values.js +7 -0
- package/dist/node_modules/lodash-es/zipObject.js +7 -0
- package/dist/node_modules/longest-streak/index.js +7 -0
- package/dist/node_modules/markdown-table/index.js +57 -0
- package/dist/node_modules/marked/lib/marked.esm.js +1384 -0
- package/dist/node_modules/mdast-util-find-and-replace/lib/index.js +59 -0
- package/dist/node_modules/mdast-util-find-and-replace/node_modules/escape-string-regexp/index.js +5 -0
- package/dist/node_modules/mdast-util-gfm/lib/index.js +24 -0
- package/dist/node_modules/mdast-util-gfm-autolink-literal/lib/index.js +127 -0
- package/dist/node_modules/mdast-util-gfm-footnote/lib/index.js +95 -0
- package/dist/node_modules/mdast-util-gfm-strikethrough/lib/index.js +47 -0
- package/dist/node_modules/mdast-util-gfm-table/lib/index.js +135 -0
- package/dist/node_modules/mdast-util-gfm-task-list-item/lib/index.js +56 -0
- package/dist/node_modules/mdast-util-math/lib/index.js +142 -0
- package/dist/node_modules/mdast-util-phrasing/lib/index.js +20 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/blockquote.js +10 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/break.js +7 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/code.js +34 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/definition.js +22 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/emphasis.js +23 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/heading.js +22 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/html.js +8 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/image-reference.js +21 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/image.js +26 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/index.js +42 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/inline-code.js +17 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/link-reference.js +21 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/link.js +39 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/list-item.js +16 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/list.js +24 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/paragraph.js +5 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/root.js +7 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/strong.js +23 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/text.js +4 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/thematic-break.js +7 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/util/check-bullet-ordered.js +6 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/util/check-bullet-other.js +9 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/util/check-bullet.js +6 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/util/check-emphasis.js +6 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/util/check-fence.js +6 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/util/check-list-item-indent.js +6 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/util/check-quote.js +6 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/util/check-rule-repetition.js +6 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/util/check-rule.js +6 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/util/check-strong.js +6 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/util/encode-character-reference.js +4 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/util/encode-info.js +36 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/util/format-code-as-indented.js +4 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/util/format-heading-as-setext.js +10 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/util/format-link-as-autolink.js +6 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/util/pattern-in-scope.js +10 -0
- package/dist/node_modules/mdast-util-to-string/lib/index.js +22 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/architectureDiagram-VXUJARFQ.js +673 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/blockDiagram-VD42YOAC.js +3010 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/c4Diagram-YG6GDRKO.js +2955 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-4BX2VUAB.js +6 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-55IACEB6.js +8 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-ABZYJK2D.js +1547 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-AGHRB4JF.js +29 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-ATLVNIR6.js +65 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-B4BG7PRW.js +3110 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-CVBHYZKI.js +10 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-DI55MBZ5.js +1994 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-DR5Q36YT.js +135 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-EXTU4WIE.js +9 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-FMBD7UC4.js +3 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-HN2XXSSU.js +74 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-JA3XYJ7Z.js +247 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-JZLCHNYA.js +3516 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-MI3HLSF2.js +1140 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-N4CR4FBY.js +39 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-QN33PNHL.js +23 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-QXUST7PY.js +497 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-QZHKN3VN.js +11 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-S3R3BYOJ.js +338 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-TZMSLE5B.js +55 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/classDiagram-2ON5EDUG.js +26 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/classDiagram-v2-WZHVMYZB.js +26 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/cose-bilkent-S5V4N54A.js +219 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/dagre-6UL2VRFP.js +263 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/diagram-PSM6KHXK.js +283 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/diagram-QEK2KX5R.js +211 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/diagram-S2PKOQOG.js +129 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/erDiagram-Q2GNP2WA.js +1599 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/flowDiagram-NV44I4VS.js +4128 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/ganttDiagram-JELNMOA3.js +1688 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/gitGraphDiagram-V2S2FVAM.js +621 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/infoDiagram-HS3SLOUP.js +18 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/journeyDiagram-XKPGCS4Q.js +883 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/kanban-definition-3W4ZIXB7.js +970 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/mindmap-definition-VGOIOE7T.js +931 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/pieDiagram-ADFJNKIX.js +117 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/quadrantDiagram-AYHSOK5B.js +1970 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/requirementDiagram-UZGBJVZJ.js +2187 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/sankeyDiagram-TZEHDZUN.js +519 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/sequenceDiagram-WL72ISMW.js +3560 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/stateDiagram-FKZM4ZOC.js +220 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/stateDiagram-v2-4FDKWEC3.js +25 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/timeline-definition-IT6M3QCI.js +833 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/xychartDiagram-PRI3JC2R.js +1975 -0
- package/dist/node_modules/mermaid/dist/mermaid.core.js +662 -0
- package/dist/node_modules/micromark-core-commonmark/lib/blank-line.js +16 -0
- package/dist/node_modules/micromark-extension-gfm/index.js +16 -0
- package/dist/node_modules/micromark-extension-gfm-autolink-literal/lib/syntax.js +172 -0
- package/dist/node_modules/micromark-extension-gfm-footnote/lib/syntax.js +191 -0
- package/dist/node_modules/micromark-extension-gfm-strikethrough/lib/syntax.js +94 -0
- package/dist/node_modules/micromark-extension-gfm-table/lib/edit-map.js +41 -0
- package/dist/node_modules/micromark-extension-gfm-table/lib/infer.js +18 -0
- package/dist/node_modules/micromark-extension-gfm-table/lib/syntax.js +199 -0
- package/dist/node_modules/micromark-extension-gfm-task-list-item/lib/syntax.js +32 -0
- package/dist/node_modules/micromark-extension-math/lib/math-flow.js +72 -0
- package/dist/node_modules/micromark-extension-math/lib/math-text.js +44 -0
- package/dist/node_modules/micromark-extension-math/lib/syntax.js +9 -0
- package/dist/node_modules/micromark-factory-space/index.js +12 -0
- package/dist/node_modules/micromark-util-character/index.js +21 -0
- package/dist/node_modules/micromark-util-chunked/index.js +6 -0
- package/dist/node_modules/micromark-util-classify-character/index.js +6 -0
- package/dist/node_modules/micromark-util-combine-extensions/index.js +24 -0
- package/dist/node_modules/micromark-util-normalize-identifier/index.js +4 -0
- package/dist/node_modules/micromark-util-resolve-all/index.js +9 -0
- package/dist/node_modules/property-information/index.js +23 -0
- package/dist/node_modules/property-information/lib/aria.js +59 -0
- package/dist/node_modules/property-information/lib/find.js +29 -0
- package/dist/node_modules/property-information/lib/html.js +314 -0
- package/dist/node_modules/property-information/lib/normalize.js +4 -0
- package/dist/node_modules/property-information/lib/svg.js +560 -0
- package/dist/node_modules/property-information/lib/util/case-insensitive-transform.js +5 -0
- package/dist/node_modules/property-information/lib/util/case-sensitive-transform.js +4 -0
- package/dist/node_modules/property-information/lib/util/create.js +12 -0
- package/dist/node_modules/property-information/lib/util/defined-info.js +16 -0
- package/dist/node_modules/property-information/lib/util/info.js +7 -0
- package/dist/node_modules/property-information/lib/util/merge.js +7 -0
- package/dist/node_modules/property-information/lib/util/schema.js +7 -0
- package/dist/node_modules/property-information/lib/util/types.js +15 -0
- package/dist/node_modules/property-information/lib/xlink.js +17 -0
- package/dist/node_modules/property-information/lib/xml.js +13 -0
- package/dist/node_modules/property-information/lib/xmlns.js +12 -0
- package/dist/node_modules/rehype-katex/lib/index.js +60 -0
- package/dist/node_modules/remark-gfm/lib/index.js +8 -0
- package/dist/node_modules/remark-math/lib/index.js +8 -0
- package/dist/node_modules/roughjs/bundled/rough.esm.js +1350 -0
- package/dist/node_modules/space-separated-tokens/index.js +5 -0
- package/dist/node_modules/stylis/src/Enum.js +2 -0
- package/dist/node_modules/stylis/src/Parser.js +93 -0
- package/dist/node_modules/stylis/src/Serializer.js +19 -0
- package/dist/node_modules/stylis/src/Tokenizer.js +104 -0
- package/dist/node_modules/stylis/src/Utility.js +26 -0
- package/dist/node_modules/ts-dedent/esm/index.js +25 -0
- package/dist/node_modules/unist-util-find-after/lib/index.js +10 -0
- package/dist/node_modules/unist-util-is/lib/index.js +45 -0
- package/dist/node_modules/unist-util-visit/lib/index.js +10 -0
- package/dist/node_modules/unist-util-visit-parents/lib/color.js +4 -0
- package/dist/node_modules/unist-util-visit-parents/lib/index.js +35 -0
- package/dist/node_modules/uuid/dist/esm-browser/native.js +2 -0
- package/dist/node_modules/uuid/dist/esm-browser/rng.js +9 -0
- package/dist/node_modules/uuid/dist/esm-browser/stringify.js +6 -0
- package/dist/node_modules/uuid/dist/esm-browser/v4.js +17 -0
- package/dist/node_modules/vscode-jsonrpc/browser.js +7 -0
- package/dist/node_modules/vscode-jsonrpc/lib/browser/main.js +52 -0
- package/dist/node_modules/vscode-jsonrpc/lib/browser/ril.js +120 -0
- package/dist/node_modules/vscode-jsonrpc/lib/common/api.js +337 -0
- package/dist/node_modules/vscode-jsonrpc/lib/common/cancellation.js +57 -0
- package/dist/node_modules/vscode-jsonrpc/lib/common/connection.js +647 -0
- package/dist/node_modules/vscode-jsonrpc/lib/common/disposable.js +13 -0
- package/dist/node_modules/vscode-jsonrpc/lib/common/events.js +64 -0
- package/dist/node_modules/vscode-jsonrpc/lib/common/is.js +34 -0
- package/dist/node_modules/vscode-jsonrpc/lib/common/linkedMap.js +235 -0
- package/dist/node_modules/vscode-jsonrpc/lib/common/messageBuffer.js +93 -0
- package/dist/node_modules/vscode-jsonrpc/lib/common/messageReader.js +129 -0
- package/dist/node_modules/vscode-jsonrpc/lib/common/messageWriter.js +85 -0
- package/dist/node_modules/vscode-jsonrpc/lib/common/messages.js +161 -0
- package/dist/node_modules/vscode-jsonrpc/lib/common/ral.js +18 -0
- package/dist/node_modules/vscode-jsonrpc/lib/common/semaphore.js +44 -0
- package/dist/node_modules/vscode-jsonrpc/lib/common/sharedArrayCancellation.js +58 -0
- package/dist/node_modules/vscode-languageserver-protocol/lib/browser/main.js +28 -0
- package/dist/node_modules/vscode-languageserver-protocol/lib/common/api.js +36 -0
- package/dist/node_modules/vscode-languageserver-protocol/lib/common/connection.js +12 -0
- package/dist/node_modules/vscode-languageserver-protocol/lib/common/messages.js +31 -0
- package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.callHierarchy.js +19 -0
- package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.colorProvider.js +15 -0
- package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.configuration.js +11 -0
- package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.declaration.js +11 -0
- package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.diagnostic.js +33 -0
- package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.fileOperations.js +35 -0
- package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.foldingRange.js +15 -0
- package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.implementation.js +11 -0
- package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.inlayHint.js +19 -0
- package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.inlineCompletion.js +11 -0
- package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.inlineValue.js +15 -0
- package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.js +674 -0
- package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.linkedEditingRange.js +11 -0
- package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.moniker.js +19 -0
- package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.notebook.js +126 -0
- package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.progress.js +24 -0
- package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.selectionRange.js +11 -0
- package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.semanticTokens.js +31 -0
- package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.showDocument.js +11 -0
- package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.typeDefinition.js +11 -0
- package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.typeHierarchy.js +19 -0
- package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.workspaceFolder.js +15 -0
- package/dist/node_modules/vscode-languageserver-protocol/lib/common/utils/is.js +42 -0
- package/dist/node_modules/vscode-languageserver-textdocument/lib/esm/main.js +138 -0
- package/dist/node_modules/vscode-languageserver-types/lib/esm/main.js +1084 -0
- package/dist/node_modules/vscode-uri/lib/esm/index.js +373 -0
- package/dist/node_modules/web-namespaces/index.js +9 -0
- package/dist/pages/WorkspacePage.js +63 -0
- package/dist/pages/WorkspacesPage.js +36 -0
- package/package.json +32 -32
|
@@ -0,0 +1,1975 @@
|
|
|
1
|
+
import { __name, log } from "./chunk-AGHRB4JF.js";
|
|
2
|
+
import { clear, configureSvgSize, defaultConfig_default, getAccDescription, getAccTitle, getConfig, getDiagramTitle, getThemeVariables3, sanitizeText, setAccDescription, setAccTitle, setDiagramTitle } from "./chunk-ABZYJK2D.js";
|
|
3
|
+
import band from "../../../../d3-scale/src/band.js";
|
|
4
|
+
import linear from "../../../../d3-scale/src/linear.js";
|
|
5
|
+
import line_default from "../../../../d3-shape/src/line.js";
|
|
6
|
+
import "../../../../d3/src/index.js";
|
|
7
|
+
import { selectSvgElement } from "./chunk-EXTU4WIE.js";
|
|
8
|
+
import { cleanAndMerge } from "./chunk-S3R3BYOJ.js";
|
|
9
|
+
import { computeDimensionOfText } from "./chunk-JA3XYJ7Z.js";
|
|
10
|
+
var parser = (function() {
|
|
11
|
+
var S = /* @__PURE__ */ __name(function(e, S, C, w) {
|
|
12
|
+
for (C ||= {}, w = e.length; w--; C[e[w]] = S);
|
|
13
|
+
return C;
|
|
14
|
+
}, "o"), C = [
|
|
15
|
+
1,
|
|
16
|
+
10,
|
|
17
|
+
12,
|
|
18
|
+
14,
|
|
19
|
+
16,
|
|
20
|
+
18,
|
|
21
|
+
19,
|
|
22
|
+
21,
|
|
23
|
+
23
|
|
24
|
+
], w = [2, 6], T = [1, 3], E = [1, 5], D = [1, 6], O = [1, 7], k = [
|
|
25
|
+
1,
|
|
26
|
+
5,
|
|
27
|
+
10,
|
|
28
|
+
12,
|
|
29
|
+
14,
|
|
30
|
+
16,
|
|
31
|
+
18,
|
|
32
|
+
19,
|
|
33
|
+
21,
|
|
34
|
+
23,
|
|
35
|
+
34,
|
|
36
|
+
35,
|
|
37
|
+
36
|
|
38
|
+
], A = [1, 25], j = [1, 26], M = [1, 28], N = [1, 29], P = [1, 30], F = [1, 31], I = [1, 32], L = [1, 33], R = [1, 34], z = [1, 35], B = [1, 36], V = [1, 37], H = [1, 43], U = [1, 42], W = [1, 47], G = [1, 50], K = [
|
|
39
|
+
1,
|
|
40
|
+
10,
|
|
41
|
+
12,
|
|
42
|
+
14,
|
|
43
|
+
16,
|
|
44
|
+
18,
|
|
45
|
+
19,
|
|
46
|
+
21,
|
|
47
|
+
23,
|
|
48
|
+
34,
|
|
49
|
+
35,
|
|
50
|
+
36
|
|
51
|
+
], q = [
|
|
52
|
+
1,
|
|
53
|
+
10,
|
|
54
|
+
12,
|
|
55
|
+
14,
|
|
56
|
+
16,
|
|
57
|
+
18,
|
|
58
|
+
19,
|
|
59
|
+
21,
|
|
60
|
+
23,
|
|
61
|
+
24,
|
|
62
|
+
26,
|
|
63
|
+
27,
|
|
64
|
+
28,
|
|
65
|
+
34,
|
|
66
|
+
35,
|
|
67
|
+
36
|
|
68
|
+
], J = [
|
|
69
|
+
1,
|
|
70
|
+
10,
|
|
71
|
+
12,
|
|
72
|
+
14,
|
|
73
|
+
16,
|
|
74
|
+
18,
|
|
75
|
+
19,
|
|
76
|
+
21,
|
|
77
|
+
23,
|
|
78
|
+
24,
|
|
79
|
+
26,
|
|
80
|
+
27,
|
|
81
|
+
28,
|
|
82
|
+
34,
|
|
83
|
+
35,
|
|
84
|
+
36,
|
|
85
|
+
41,
|
|
86
|
+
42,
|
|
87
|
+
43,
|
|
88
|
+
44,
|
|
89
|
+
45,
|
|
90
|
+
46,
|
|
91
|
+
47,
|
|
92
|
+
48,
|
|
93
|
+
49,
|
|
94
|
+
50
|
|
95
|
+
], Y = [1, 64], X = {
|
|
96
|
+
trace: /* @__PURE__ */ __name(function() {}, "trace"),
|
|
97
|
+
yy: {},
|
|
98
|
+
symbols_: {
|
|
99
|
+
error: 2,
|
|
100
|
+
start: 3,
|
|
101
|
+
eol: 4,
|
|
102
|
+
XYCHART: 5,
|
|
103
|
+
chartConfig: 6,
|
|
104
|
+
document: 7,
|
|
105
|
+
CHART_ORIENTATION: 8,
|
|
106
|
+
statement: 9,
|
|
107
|
+
title: 10,
|
|
108
|
+
text: 11,
|
|
109
|
+
X_AXIS: 12,
|
|
110
|
+
parseXAxis: 13,
|
|
111
|
+
Y_AXIS: 14,
|
|
112
|
+
parseYAxis: 15,
|
|
113
|
+
LINE: 16,
|
|
114
|
+
plotData: 17,
|
|
115
|
+
BAR: 18,
|
|
116
|
+
acc_title: 19,
|
|
117
|
+
acc_title_value: 20,
|
|
118
|
+
acc_descr: 21,
|
|
119
|
+
acc_descr_value: 22,
|
|
120
|
+
acc_descr_multiline_value: 23,
|
|
121
|
+
SQUARE_BRACES_START: 24,
|
|
122
|
+
commaSeparatedNumbers: 25,
|
|
123
|
+
SQUARE_BRACES_END: 26,
|
|
124
|
+
NUMBER_WITH_DECIMAL: 27,
|
|
125
|
+
COMMA: 28,
|
|
126
|
+
xAxisData: 29,
|
|
127
|
+
bandData: 30,
|
|
128
|
+
ARROW_DELIMITER: 31,
|
|
129
|
+
commaSeparatedTexts: 32,
|
|
130
|
+
yAxisData: 33,
|
|
131
|
+
NEWLINE: 34,
|
|
132
|
+
SEMI: 35,
|
|
133
|
+
EOF: 36,
|
|
134
|
+
alphaNum: 37,
|
|
135
|
+
STR: 38,
|
|
136
|
+
MD_STR: 39,
|
|
137
|
+
alphaNumToken: 40,
|
|
138
|
+
AMP: 41,
|
|
139
|
+
NUM: 42,
|
|
140
|
+
ALPHA: 43,
|
|
141
|
+
PLUS: 44,
|
|
142
|
+
EQUALS: 45,
|
|
143
|
+
MULT: 46,
|
|
144
|
+
DOT: 47,
|
|
145
|
+
BRKT: 48,
|
|
146
|
+
MINUS: 49,
|
|
147
|
+
UNDERSCORE: 50,
|
|
148
|
+
$accept: 0,
|
|
149
|
+
$end: 1
|
|
150
|
+
},
|
|
151
|
+
terminals_: {
|
|
152
|
+
2: "error",
|
|
153
|
+
5: "XYCHART",
|
|
154
|
+
8: "CHART_ORIENTATION",
|
|
155
|
+
10: "title",
|
|
156
|
+
12: "X_AXIS",
|
|
157
|
+
14: "Y_AXIS",
|
|
158
|
+
16: "LINE",
|
|
159
|
+
18: "BAR",
|
|
160
|
+
19: "acc_title",
|
|
161
|
+
20: "acc_title_value",
|
|
162
|
+
21: "acc_descr",
|
|
163
|
+
22: "acc_descr_value",
|
|
164
|
+
23: "acc_descr_multiline_value",
|
|
165
|
+
24: "SQUARE_BRACES_START",
|
|
166
|
+
26: "SQUARE_BRACES_END",
|
|
167
|
+
27: "NUMBER_WITH_DECIMAL",
|
|
168
|
+
28: "COMMA",
|
|
169
|
+
31: "ARROW_DELIMITER",
|
|
170
|
+
34: "NEWLINE",
|
|
171
|
+
35: "SEMI",
|
|
172
|
+
36: "EOF",
|
|
173
|
+
38: "STR",
|
|
174
|
+
39: "MD_STR",
|
|
175
|
+
41: "AMP",
|
|
176
|
+
42: "NUM",
|
|
177
|
+
43: "ALPHA",
|
|
178
|
+
44: "PLUS",
|
|
179
|
+
45: "EQUALS",
|
|
180
|
+
46: "MULT",
|
|
181
|
+
47: "DOT",
|
|
182
|
+
48: "BRKT",
|
|
183
|
+
49: "MINUS",
|
|
184
|
+
50: "UNDERSCORE"
|
|
185
|
+
},
|
|
186
|
+
productions_: [
|
|
187
|
+
0,
|
|
188
|
+
[3, 2],
|
|
189
|
+
[3, 3],
|
|
190
|
+
[3, 2],
|
|
191
|
+
[3, 1],
|
|
192
|
+
[6, 1],
|
|
193
|
+
[7, 0],
|
|
194
|
+
[7, 2],
|
|
195
|
+
[9, 2],
|
|
196
|
+
[9, 2],
|
|
197
|
+
[9, 2],
|
|
198
|
+
[9, 2],
|
|
199
|
+
[9, 2],
|
|
200
|
+
[9, 3],
|
|
201
|
+
[9, 2],
|
|
202
|
+
[9, 3],
|
|
203
|
+
[9, 2],
|
|
204
|
+
[9, 2],
|
|
205
|
+
[9, 1],
|
|
206
|
+
[17, 3],
|
|
207
|
+
[25, 3],
|
|
208
|
+
[25, 1],
|
|
209
|
+
[13, 1],
|
|
210
|
+
[13, 2],
|
|
211
|
+
[13, 1],
|
|
212
|
+
[29, 1],
|
|
213
|
+
[29, 3],
|
|
214
|
+
[30, 3],
|
|
215
|
+
[32, 3],
|
|
216
|
+
[32, 1],
|
|
217
|
+
[15, 1],
|
|
218
|
+
[15, 2],
|
|
219
|
+
[15, 1],
|
|
220
|
+
[33, 3],
|
|
221
|
+
[4, 1],
|
|
222
|
+
[4, 1],
|
|
223
|
+
[4, 1],
|
|
224
|
+
[11, 1],
|
|
225
|
+
[11, 1],
|
|
226
|
+
[11, 1],
|
|
227
|
+
[37, 1],
|
|
228
|
+
[37, 2],
|
|
229
|
+
[40, 1],
|
|
230
|
+
[40, 1],
|
|
231
|
+
[40, 1],
|
|
232
|
+
[40, 1],
|
|
233
|
+
[40, 1],
|
|
234
|
+
[40, 1],
|
|
235
|
+
[40, 1],
|
|
236
|
+
[40, 1],
|
|
237
|
+
[40, 1],
|
|
238
|
+
[40, 1]
|
|
239
|
+
],
|
|
240
|
+
performAction: /* @__PURE__ */ __name(function(e, S, C, w, T, E, D) {
|
|
241
|
+
var O = E.length - 1;
|
|
242
|
+
switch (T) {
|
|
243
|
+
case 5:
|
|
244
|
+
w.setOrientation(E[O]);
|
|
245
|
+
break;
|
|
246
|
+
case 9:
|
|
247
|
+
w.setDiagramTitle(E[O].text.trim());
|
|
248
|
+
break;
|
|
249
|
+
case 12:
|
|
250
|
+
w.setLineData({
|
|
251
|
+
text: "",
|
|
252
|
+
type: "text"
|
|
253
|
+
}, E[O]);
|
|
254
|
+
break;
|
|
255
|
+
case 13:
|
|
256
|
+
w.setLineData(E[O - 1], E[O]);
|
|
257
|
+
break;
|
|
258
|
+
case 14:
|
|
259
|
+
w.setBarData({
|
|
260
|
+
text: "",
|
|
261
|
+
type: "text"
|
|
262
|
+
}, E[O]);
|
|
263
|
+
break;
|
|
264
|
+
case 15:
|
|
265
|
+
w.setBarData(E[O - 1], E[O]);
|
|
266
|
+
break;
|
|
267
|
+
case 16:
|
|
268
|
+
this.$ = E[O].trim(), w.setAccTitle(this.$);
|
|
269
|
+
break;
|
|
270
|
+
case 17:
|
|
271
|
+
case 18:
|
|
272
|
+
this.$ = E[O].trim(), w.setAccDescription(this.$);
|
|
273
|
+
break;
|
|
274
|
+
case 19:
|
|
275
|
+
this.$ = E[O - 1];
|
|
276
|
+
break;
|
|
277
|
+
case 20:
|
|
278
|
+
this.$ = [Number(E[O - 2]), ...E[O]];
|
|
279
|
+
break;
|
|
280
|
+
case 21:
|
|
281
|
+
this.$ = [Number(E[O])];
|
|
282
|
+
break;
|
|
283
|
+
case 22:
|
|
284
|
+
w.setXAxisTitle(E[O]);
|
|
285
|
+
break;
|
|
286
|
+
case 23:
|
|
287
|
+
w.setXAxisTitle(E[O - 1]);
|
|
288
|
+
break;
|
|
289
|
+
case 24:
|
|
290
|
+
w.setXAxisTitle({
|
|
291
|
+
type: "text",
|
|
292
|
+
text: ""
|
|
293
|
+
});
|
|
294
|
+
break;
|
|
295
|
+
case 25:
|
|
296
|
+
w.setXAxisBand(E[O]);
|
|
297
|
+
break;
|
|
298
|
+
case 26:
|
|
299
|
+
w.setXAxisRangeData(Number(E[O - 2]), Number(E[O]));
|
|
300
|
+
break;
|
|
301
|
+
case 27:
|
|
302
|
+
this.$ = E[O - 1];
|
|
303
|
+
break;
|
|
304
|
+
case 28:
|
|
305
|
+
this.$ = [E[O - 2], ...E[O]];
|
|
306
|
+
break;
|
|
307
|
+
case 29:
|
|
308
|
+
this.$ = [E[O]];
|
|
309
|
+
break;
|
|
310
|
+
case 30:
|
|
311
|
+
w.setYAxisTitle(E[O]);
|
|
312
|
+
break;
|
|
313
|
+
case 31:
|
|
314
|
+
w.setYAxisTitle(E[O - 1]);
|
|
315
|
+
break;
|
|
316
|
+
case 32:
|
|
317
|
+
w.setYAxisTitle({
|
|
318
|
+
type: "text",
|
|
319
|
+
text: ""
|
|
320
|
+
});
|
|
321
|
+
break;
|
|
322
|
+
case 33:
|
|
323
|
+
w.setYAxisRangeData(Number(E[O - 2]), Number(E[O]));
|
|
324
|
+
break;
|
|
325
|
+
case 37:
|
|
326
|
+
this.$ = {
|
|
327
|
+
text: E[O],
|
|
328
|
+
type: "text"
|
|
329
|
+
};
|
|
330
|
+
break;
|
|
331
|
+
case 38:
|
|
332
|
+
this.$ = {
|
|
333
|
+
text: E[O],
|
|
334
|
+
type: "text"
|
|
335
|
+
};
|
|
336
|
+
break;
|
|
337
|
+
case 39:
|
|
338
|
+
this.$ = {
|
|
339
|
+
text: E[O],
|
|
340
|
+
type: "markdown"
|
|
341
|
+
};
|
|
342
|
+
break;
|
|
343
|
+
case 40:
|
|
344
|
+
this.$ = E[O];
|
|
345
|
+
break;
|
|
346
|
+
case 41:
|
|
347
|
+
this.$ = E[O - 1] + "" + E[O];
|
|
348
|
+
break;
|
|
349
|
+
}
|
|
350
|
+
}, "anonymous"),
|
|
351
|
+
table: [
|
|
352
|
+
S(C, w, {
|
|
353
|
+
3: 1,
|
|
354
|
+
4: 2,
|
|
355
|
+
7: 4,
|
|
356
|
+
5: T,
|
|
357
|
+
34: E,
|
|
358
|
+
35: D,
|
|
359
|
+
36: O
|
|
360
|
+
}),
|
|
361
|
+
{ 1: [3] },
|
|
362
|
+
S(C, w, {
|
|
363
|
+
4: 2,
|
|
364
|
+
7: 4,
|
|
365
|
+
3: 8,
|
|
366
|
+
5: T,
|
|
367
|
+
34: E,
|
|
368
|
+
35: D,
|
|
369
|
+
36: O
|
|
370
|
+
}),
|
|
371
|
+
S(C, w, {
|
|
372
|
+
4: 2,
|
|
373
|
+
7: 4,
|
|
374
|
+
6: 9,
|
|
375
|
+
3: 10,
|
|
376
|
+
5: T,
|
|
377
|
+
8: [1, 11],
|
|
378
|
+
34: E,
|
|
379
|
+
35: D,
|
|
380
|
+
36: O
|
|
381
|
+
}),
|
|
382
|
+
{
|
|
383
|
+
1: [2, 4],
|
|
384
|
+
9: 12,
|
|
385
|
+
10: [1, 13],
|
|
386
|
+
12: [1, 14],
|
|
387
|
+
14: [1, 15],
|
|
388
|
+
16: [1, 16],
|
|
389
|
+
18: [1, 17],
|
|
390
|
+
19: [1, 18],
|
|
391
|
+
21: [1, 19],
|
|
392
|
+
23: [1, 20]
|
|
393
|
+
},
|
|
394
|
+
S(k, [2, 34]),
|
|
395
|
+
S(k, [2, 35]),
|
|
396
|
+
S(k, [2, 36]),
|
|
397
|
+
{ 1: [2, 1] },
|
|
398
|
+
S(C, w, {
|
|
399
|
+
4: 2,
|
|
400
|
+
7: 4,
|
|
401
|
+
3: 21,
|
|
402
|
+
5: T,
|
|
403
|
+
34: E,
|
|
404
|
+
35: D,
|
|
405
|
+
36: O
|
|
406
|
+
}),
|
|
407
|
+
{ 1: [2, 3] },
|
|
408
|
+
S(k, [2, 5]),
|
|
409
|
+
S(C, [2, 7], {
|
|
410
|
+
4: 22,
|
|
411
|
+
34: E,
|
|
412
|
+
35: D,
|
|
413
|
+
36: O
|
|
414
|
+
}),
|
|
415
|
+
{
|
|
416
|
+
11: 23,
|
|
417
|
+
37: 24,
|
|
418
|
+
38: A,
|
|
419
|
+
39: j,
|
|
420
|
+
40: 27,
|
|
421
|
+
41: M,
|
|
422
|
+
42: N,
|
|
423
|
+
43: P,
|
|
424
|
+
44: F,
|
|
425
|
+
45: I,
|
|
426
|
+
46: L,
|
|
427
|
+
47: R,
|
|
428
|
+
48: z,
|
|
429
|
+
49: B,
|
|
430
|
+
50: V
|
|
431
|
+
},
|
|
432
|
+
{
|
|
433
|
+
11: 39,
|
|
434
|
+
13: 38,
|
|
435
|
+
24: H,
|
|
436
|
+
27: U,
|
|
437
|
+
29: 40,
|
|
438
|
+
30: 41,
|
|
439
|
+
37: 24,
|
|
440
|
+
38: A,
|
|
441
|
+
39: j,
|
|
442
|
+
40: 27,
|
|
443
|
+
41: M,
|
|
444
|
+
42: N,
|
|
445
|
+
43: P,
|
|
446
|
+
44: F,
|
|
447
|
+
45: I,
|
|
448
|
+
46: L,
|
|
449
|
+
47: R,
|
|
450
|
+
48: z,
|
|
451
|
+
49: B,
|
|
452
|
+
50: V
|
|
453
|
+
},
|
|
454
|
+
{
|
|
455
|
+
11: 45,
|
|
456
|
+
15: 44,
|
|
457
|
+
27: W,
|
|
458
|
+
33: 46,
|
|
459
|
+
37: 24,
|
|
460
|
+
38: A,
|
|
461
|
+
39: j,
|
|
462
|
+
40: 27,
|
|
463
|
+
41: M,
|
|
464
|
+
42: N,
|
|
465
|
+
43: P,
|
|
466
|
+
44: F,
|
|
467
|
+
45: I,
|
|
468
|
+
46: L,
|
|
469
|
+
47: R,
|
|
470
|
+
48: z,
|
|
471
|
+
49: B,
|
|
472
|
+
50: V
|
|
473
|
+
},
|
|
474
|
+
{
|
|
475
|
+
11: 49,
|
|
476
|
+
17: 48,
|
|
477
|
+
24: G,
|
|
478
|
+
37: 24,
|
|
479
|
+
38: A,
|
|
480
|
+
39: j,
|
|
481
|
+
40: 27,
|
|
482
|
+
41: M,
|
|
483
|
+
42: N,
|
|
484
|
+
43: P,
|
|
485
|
+
44: F,
|
|
486
|
+
45: I,
|
|
487
|
+
46: L,
|
|
488
|
+
47: R,
|
|
489
|
+
48: z,
|
|
490
|
+
49: B,
|
|
491
|
+
50: V
|
|
492
|
+
},
|
|
493
|
+
{
|
|
494
|
+
11: 52,
|
|
495
|
+
17: 51,
|
|
496
|
+
24: G,
|
|
497
|
+
37: 24,
|
|
498
|
+
38: A,
|
|
499
|
+
39: j,
|
|
500
|
+
40: 27,
|
|
501
|
+
41: M,
|
|
502
|
+
42: N,
|
|
503
|
+
43: P,
|
|
504
|
+
44: F,
|
|
505
|
+
45: I,
|
|
506
|
+
46: L,
|
|
507
|
+
47: R,
|
|
508
|
+
48: z,
|
|
509
|
+
49: B,
|
|
510
|
+
50: V
|
|
511
|
+
},
|
|
512
|
+
{ 20: [1, 53] },
|
|
513
|
+
{ 22: [1, 54] },
|
|
514
|
+
S(K, [2, 18]),
|
|
515
|
+
{ 1: [2, 2] },
|
|
516
|
+
S(K, [2, 8]),
|
|
517
|
+
S(K, [2, 9]),
|
|
518
|
+
S(q, [2, 37], {
|
|
519
|
+
40: 55,
|
|
520
|
+
41: M,
|
|
521
|
+
42: N,
|
|
522
|
+
43: P,
|
|
523
|
+
44: F,
|
|
524
|
+
45: I,
|
|
525
|
+
46: L,
|
|
526
|
+
47: R,
|
|
527
|
+
48: z,
|
|
528
|
+
49: B,
|
|
529
|
+
50: V
|
|
530
|
+
}),
|
|
531
|
+
S(q, [2, 38]),
|
|
532
|
+
S(q, [2, 39]),
|
|
533
|
+
S(J, [2, 40]),
|
|
534
|
+
S(J, [2, 42]),
|
|
535
|
+
S(J, [2, 43]),
|
|
536
|
+
S(J, [2, 44]),
|
|
537
|
+
S(J, [2, 45]),
|
|
538
|
+
S(J, [2, 46]),
|
|
539
|
+
S(J, [2, 47]),
|
|
540
|
+
S(J, [2, 48]),
|
|
541
|
+
S(J, [2, 49]),
|
|
542
|
+
S(J, [2, 50]),
|
|
543
|
+
S(J, [2, 51]),
|
|
544
|
+
S(K, [2, 10]),
|
|
545
|
+
S(K, [2, 22], {
|
|
546
|
+
30: 41,
|
|
547
|
+
29: 56,
|
|
548
|
+
24: H,
|
|
549
|
+
27: U
|
|
550
|
+
}),
|
|
551
|
+
S(K, [2, 24]),
|
|
552
|
+
S(K, [2, 25]),
|
|
553
|
+
{ 31: [1, 57] },
|
|
554
|
+
{
|
|
555
|
+
11: 59,
|
|
556
|
+
32: 58,
|
|
557
|
+
37: 24,
|
|
558
|
+
38: A,
|
|
559
|
+
39: j,
|
|
560
|
+
40: 27,
|
|
561
|
+
41: M,
|
|
562
|
+
42: N,
|
|
563
|
+
43: P,
|
|
564
|
+
44: F,
|
|
565
|
+
45: I,
|
|
566
|
+
46: L,
|
|
567
|
+
47: R,
|
|
568
|
+
48: z,
|
|
569
|
+
49: B,
|
|
570
|
+
50: V
|
|
571
|
+
},
|
|
572
|
+
S(K, [2, 11]),
|
|
573
|
+
S(K, [2, 30], {
|
|
574
|
+
33: 60,
|
|
575
|
+
27: W
|
|
576
|
+
}),
|
|
577
|
+
S(K, [2, 32]),
|
|
578
|
+
{ 31: [1, 61] },
|
|
579
|
+
S(K, [2, 12]),
|
|
580
|
+
{
|
|
581
|
+
17: 62,
|
|
582
|
+
24: G
|
|
583
|
+
},
|
|
584
|
+
{
|
|
585
|
+
25: 63,
|
|
586
|
+
27: Y
|
|
587
|
+
},
|
|
588
|
+
S(K, [2, 14]),
|
|
589
|
+
{
|
|
590
|
+
17: 65,
|
|
591
|
+
24: G
|
|
592
|
+
},
|
|
593
|
+
S(K, [2, 16]),
|
|
594
|
+
S(K, [2, 17]),
|
|
595
|
+
S(J, [2, 41]),
|
|
596
|
+
S(K, [2, 23]),
|
|
597
|
+
{ 27: [1, 66] },
|
|
598
|
+
{ 26: [1, 67] },
|
|
599
|
+
{
|
|
600
|
+
26: [2, 29],
|
|
601
|
+
28: [1, 68]
|
|
602
|
+
},
|
|
603
|
+
S(K, [2, 31]),
|
|
604
|
+
{ 27: [1, 69] },
|
|
605
|
+
S(K, [2, 13]),
|
|
606
|
+
{ 26: [1, 70] },
|
|
607
|
+
{
|
|
608
|
+
26: [2, 21],
|
|
609
|
+
28: [1, 71]
|
|
610
|
+
},
|
|
611
|
+
S(K, [2, 15]),
|
|
612
|
+
S(K, [2, 26]),
|
|
613
|
+
S(K, [2, 27]),
|
|
614
|
+
{
|
|
615
|
+
11: 59,
|
|
616
|
+
32: 72,
|
|
617
|
+
37: 24,
|
|
618
|
+
38: A,
|
|
619
|
+
39: j,
|
|
620
|
+
40: 27,
|
|
621
|
+
41: M,
|
|
622
|
+
42: N,
|
|
623
|
+
43: P,
|
|
624
|
+
44: F,
|
|
625
|
+
45: I,
|
|
626
|
+
46: L,
|
|
627
|
+
47: R,
|
|
628
|
+
48: z,
|
|
629
|
+
49: B,
|
|
630
|
+
50: V
|
|
631
|
+
},
|
|
632
|
+
S(K, [2, 33]),
|
|
633
|
+
S(K, [2, 19]),
|
|
634
|
+
{
|
|
635
|
+
25: 73,
|
|
636
|
+
27: Y
|
|
637
|
+
},
|
|
638
|
+
{ 26: [2, 28] },
|
|
639
|
+
{ 26: [2, 20] }
|
|
640
|
+
],
|
|
641
|
+
defaultActions: {
|
|
642
|
+
8: [2, 1],
|
|
643
|
+
10: [2, 3],
|
|
644
|
+
21: [2, 2],
|
|
645
|
+
72: [2, 28],
|
|
646
|
+
73: [2, 20]
|
|
647
|
+
},
|
|
648
|
+
parseError: /* @__PURE__ */ __name(function(e, S) {
|
|
649
|
+
if (S.recoverable) this.trace(e);
|
|
650
|
+
else {
|
|
651
|
+
var C = Error(e);
|
|
652
|
+
throw C.hash = S, C;
|
|
653
|
+
}
|
|
654
|
+
}, "parseError"),
|
|
655
|
+
parse: /* @__PURE__ */ __name(function(S) {
|
|
656
|
+
var C = this, w = [0], T = [], E = [null], D = [], O = this.table, k = "", A = 0, j = 0, M = 0, N = 2, P = 1, F = D.slice.call(arguments, 1), I = Object.create(this.lexer), L = { yy: {} };
|
|
657
|
+
for (var R in this.yy) Object.prototype.hasOwnProperty.call(this.yy, R) && (L.yy[R] = this.yy[R]);
|
|
658
|
+
I.setInput(S, L.yy), L.yy.lexer = I, L.yy.parser = this, I.yylloc === void 0 && (I.yylloc = {});
|
|
659
|
+
var z = I.yylloc;
|
|
660
|
+
D.push(z);
|
|
661
|
+
var B = I.options && I.options.ranges;
|
|
662
|
+
typeof L.yy.parseError == "function" ? this.parseError = L.yy.parseError : this.parseError = Object.getPrototypeOf(this).parseError;
|
|
663
|
+
function V(e) {
|
|
664
|
+
w.length -= 2 * e, E.length -= e, D.length -= e;
|
|
665
|
+
}
|
|
666
|
+
__name(V, "popStack");
|
|
667
|
+
function H() {
|
|
668
|
+
var e = T.pop() || I.lex() || P;
|
|
669
|
+
return typeof e != "number" && (e instanceof Array && (T = e, e = T.pop()), e = C.symbols_[e] || e), e;
|
|
670
|
+
}
|
|
671
|
+
__name(H, "lex");
|
|
672
|
+
for (var U, W, G, K, q, J = {}, Y, X, Z, Q;;) {
|
|
673
|
+
if (G = w[w.length - 1], this.defaultActions[G] ? K = this.defaultActions[G] : (U ??= H(), K = O[G] && O[G][U]), K === void 0 || !K.length || !K[0]) {
|
|
674
|
+
var $ = "";
|
|
675
|
+
for (Y in Q = [], O[G]) this.terminals_[Y] && Y > N && Q.push("'" + this.terminals_[Y] + "'");
|
|
676
|
+
$ = I.showPosition ? "Parse error on line " + (A + 1) + ":\n" + I.showPosition() + "\nExpecting " + Q.join(", ") + ", got '" + (this.terminals_[U] || U) + "'" : "Parse error on line " + (A + 1) + ": Unexpected " + (U == P ? "end of input" : "'" + (this.terminals_[U] || U) + "'"), this.parseError($, {
|
|
677
|
+
text: I.match,
|
|
678
|
+
token: this.terminals_[U] || U,
|
|
679
|
+
line: I.yylineno,
|
|
680
|
+
loc: z,
|
|
681
|
+
expected: Q
|
|
682
|
+
});
|
|
683
|
+
}
|
|
684
|
+
if (K[0] instanceof Array && K.length > 1) throw Error("Parse Error: multiple actions possible at state: " + G + ", token: " + U);
|
|
685
|
+
switch (K[0]) {
|
|
686
|
+
case 1:
|
|
687
|
+
w.push(U), E.push(I.yytext), D.push(I.yylloc), w.push(K[1]), U = null, W ? (U = W, W = null) : (j = I.yyleng, k = I.yytext, A = I.yylineno, z = I.yylloc, M > 0 && M--);
|
|
688
|
+
break;
|
|
689
|
+
case 2:
|
|
690
|
+
if (X = this.productions_[K[1]][1], J.$ = E[E.length - X], J._$ = {
|
|
691
|
+
first_line: D[D.length - (X || 1)].first_line,
|
|
692
|
+
last_line: D[D.length - 1].last_line,
|
|
693
|
+
first_column: D[D.length - (X || 1)].first_column,
|
|
694
|
+
last_column: D[D.length - 1].last_column
|
|
695
|
+
}, B && (J._$.range = [D[D.length - (X || 1)].range[0], D[D.length - 1].range[1]]), q = this.performAction.apply(J, [
|
|
696
|
+
k,
|
|
697
|
+
j,
|
|
698
|
+
A,
|
|
699
|
+
L.yy,
|
|
700
|
+
K[1],
|
|
701
|
+
E,
|
|
702
|
+
D
|
|
703
|
+
].concat(F)), q !== void 0) return q;
|
|
704
|
+
X && (w = w.slice(0, -1 * X * 2), E = E.slice(0, -1 * X), D = D.slice(0, -1 * X)), w.push(this.productions_[K[1]][0]), E.push(J.$), D.push(J._$), Z = O[w[w.length - 2]][w[w.length - 1]], w.push(Z);
|
|
705
|
+
break;
|
|
706
|
+
case 3: return !0;
|
|
707
|
+
}
|
|
708
|
+
}
|
|
709
|
+
return !0;
|
|
710
|
+
}, "parse")
|
|
711
|
+
};
|
|
712
|
+
X.lexer = /* @__PURE__ */ (function() {
|
|
713
|
+
return {
|
|
714
|
+
EOF: 1,
|
|
715
|
+
parseError: /* @__PURE__ */ __name(function(e, S) {
|
|
716
|
+
if (this.yy.parser) this.yy.parser.parseError(e, S);
|
|
717
|
+
else throw Error(e);
|
|
718
|
+
}, "parseError"),
|
|
719
|
+
setInput: /* @__PURE__ */ __name(function(e, S) {
|
|
720
|
+
return this.yy = S || this.yy || {}, this._input = e, this._more = this._backtrack = this.done = !1, this.yylineno = this.yyleng = 0, this.yytext = this.matched = this.match = "", this.conditionStack = ["INITIAL"], this.yylloc = {
|
|
721
|
+
first_line: 1,
|
|
722
|
+
first_column: 0,
|
|
723
|
+
last_line: 1,
|
|
724
|
+
last_column: 0
|
|
725
|
+
}, this.options.ranges && (this.yylloc.range = [0, 0]), this.offset = 0, this;
|
|
726
|
+
}, "setInput"),
|
|
727
|
+
input: /* @__PURE__ */ __name(function() {
|
|
728
|
+
var e = this._input[0];
|
|
729
|
+
return this.yytext += e, this.yyleng++, this.offset++, this.match += e, this.matched += e, e.match(/(?:\r\n?|\n).*/g) ? (this.yylineno++, this.yylloc.last_line++) : this.yylloc.last_column++, this.options.ranges && this.yylloc.range[1]++, this._input = this._input.slice(1), e;
|
|
730
|
+
}, "input"),
|
|
731
|
+
unput: /* @__PURE__ */ __name(function(e) {
|
|
732
|
+
var S = e.length, C = e.split(/(?:\r\n?|\n)/g);
|
|
733
|
+
this._input = e + this._input, this.yytext = this.yytext.substr(0, this.yytext.length - S), this.offset -= S;
|
|
734
|
+
var w = this.match.split(/(?:\r\n?|\n)/g);
|
|
735
|
+
this.match = this.match.substr(0, this.match.length - 1), this.matched = this.matched.substr(0, this.matched.length - 1), C.length - 1 && (this.yylineno -= C.length - 1);
|
|
736
|
+
var T = this.yylloc.range;
|
|
737
|
+
return this.yylloc = {
|
|
738
|
+
first_line: this.yylloc.first_line,
|
|
739
|
+
last_line: this.yylineno + 1,
|
|
740
|
+
first_column: this.yylloc.first_column,
|
|
741
|
+
last_column: C ? (C.length === w.length ? this.yylloc.first_column : 0) + w[w.length - C.length].length - C[0].length : this.yylloc.first_column - S
|
|
742
|
+
}, this.options.ranges && (this.yylloc.range = [T[0], T[0] + this.yyleng - S]), this.yyleng = this.yytext.length, this;
|
|
743
|
+
}, "unput"),
|
|
744
|
+
more: /* @__PURE__ */ __name(function() {
|
|
745
|
+
return this._more = !0, this;
|
|
746
|
+
}, "more"),
|
|
747
|
+
reject: /* @__PURE__ */ __name(function() {
|
|
748
|
+
if (this.options.backtrack_lexer) this._backtrack = !0;
|
|
749
|
+
else return this.parseError("Lexical error on line " + (this.yylineno + 1) + ". You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).\n" + this.showPosition(), {
|
|
750
|
+
text: "",
|
|
751
|
+
token: null,
|
|
752
|
+
line: this.yylineno
|
|
753
|
+
});
|
|
754
|
+
return this;
|
|
755
|
+
}, "reject"),
|
|
756
|
+
less: /* @__PURE__ */ __name(function(e) {
|
|
757
|
+
this.unput(this.match.slice(e));
|
|
758
|
+
}, "less"),
|
|
759
|
+
pastInput: /* @__PURE__ */ __name(function() {
|
|
760
|
+
var e = this.matched.substr(0, this.matched.length - this.match.length);
|
|
761
|
+
return (e.length > 20 ? "..." : "") + e.substr(-20).replace(/\n/g, "");
|
|
762
|
+
}, "pastInput"),
|
|
763
|
+
upcomingInput: /* @__PURE__ */ __name(function() {
|
|
764
|
+
var e = this.match;
|
|
765
|
+
return e.length < 20 && (e += this._input.substr(0, 20 - e.length)), (e.substr(0, 20) + (e.length > 20 ? "..." : "")).replace(/\n/g, "");
|
|
766
|
+
}, "upcomingInput"),
|
|
767
|
+
showPosition: /* @__PURE__ */ __name(function() {
|
|
768
|
+
var e = this.pastInput(), S = Array(e.length + 1).join("-");
|
|
769
|
+
return e + this.upcomingInput() + "\n" + S + "^";
|
|
770
|
+
}, "showPosition"),
|
|
771
|
+
test_match: /* @__PURE__ */ __name(function(e, S) {
|
|
772
|
+
var C, w, T;
|
|
773
|
+
if (this.options.backtrack_lexer && (T = {
|
|
774
|
+
yylineno: this.yylineno,
|
|
775
|
+
yylloc: {
|
|
776
|
+
first_line: this.yylloc.first_line,
|
|
777
|
+
last_line: this.last_line,
|
|
778
|
+
first_column: this.yylloc.first_column,
|
|
779
|
+
last_column: this.yylloc.last_column
|
|
780
|
+
},
|
|
781
|
+
yytext: this.yytext,
|
|
782
|
+
match: this.match,
|
|
783
|
+
matches: this.matches,
|
|
784
|
+
matched: this.matched,
|
|
785
|
+
yyleng: this.yyleng,
|
|
786
|
+
offset: this.offset,
|
|
787
|
+
_more: this._more,
|
|
788
|
+
_input: this._input,
|
|
789
|
+
yy: this.yy,
|
|
790
|
+
conditionStack: this.conditionStack.slice(0),
|
|
791
|
+
done: this.done
|
|
792
|
+
}, this.options.ranges && (T.yylloc.range = this.yylloc.range.slice(0))), w = e[0].match(/(?:\r\n?|\n).*/g), w && (this.yylineno += w.length), this.yylloc = {
|
|
793
|
+
first_line: this.yylloc.last_line,
|
|
794
|
+
last_line: this.yylineno + 1,
|
|
795
|
+
first_column: this.yylloc.last_column,
|
|
796
|
+
last_column: w ? w[w.length - 1].length - w[w.length - 1].match(/\r?\n?/)[0].length : this.yylloc.last_column + e[0].length
|
|
797
|
+
}, this.yytext += e[0], this.match += e[0], this.matches = e, this.yyleng = this.yytext.length, this.options.ranges && (this.yylloc.range = [this.offset, this.offset += this.yyleng]), this._more = !1, this._backtrack = !1, this._input = this._input.slice(e[0].length), this.matched += e[0], C = this.performAction.call(this, this.yy, this, S, this.conditionStack[this.conditionStack.length - 1]), this.done && this._input && (this.done = !1), C) return C;
|
|
798
|
+
if (this._backtrack) {
|
|
799
|
+
for (var E in T) this[E] = T[E];
|
|
800
|
+
return !1;
|
|
801
|
+
}
|
|
802
|
+
return !1;
|
|
803
|
+
}, "test_match"),
|
|
804
|
+
next: /* @__PURE__ */ __name(function() {
|
|
805
|
+
if (this.done) return this.EOF;
|
|
806
|
+
this._input || (this.done = !0);
|
|
807
|
+
var e, S, C, w;
|
|
808
|
+
this._more || (this.yytext = "", this.match = "");
|
|
809
|
+
for (var T = this._currentRules(), E = 0; E < T.length; E++) if (C = this._input.match(this.rules[T[E]]), C && (!S || C[0].length > S[0].length)) {
|
|
810
|
+
if (S = C, w = E, this.options.backtrack_lexer) {
|
|
811
|
+
if (e = this.test_match(C, T[E]), e !== !1) return e;
|
|
812
|
+
if (this._backtrack) {
|
|
813
|
+
S = !1;
|
|
814
|
+
continue;
|
|
815
|
+
} else return !1;
|
|
816
|
+
} else if (!this.options.flex) break;
|
|
817
|
+
}
|
|
818
|
+
return S ? (e = this.test_match(S, T[w]), e === !1 ? !1 : e) : this._input === "" ? this.EOF : this.parseError("Lexical error on line " + (this.yylineno + 1) + ". Unrecognized text.\n" + this.showPosition(), {
|
|
819
|
+
text: "",
|
|
820
|
+
token: null,
|
|
821
|
+
line: this.yylineno
|
|
822
|
+
});
|
|
823
|
+
}, "next"),
|
|
824
|
+
lex: /* @__PURE__ */ __name(function() {
|
|
825
|
+
return this.next() || this.lex();
|
|
826
|
+
}, "lex"),
|
|
827
|
+
begin: /* @__PURE__ */ __name(function(e) {
|
|
828
|
+
this.conditionStack.push(e);
|
|
829
|
+
}, "begin"),
|
|
830
|
+
popState: /* @__PURE__ */ __name(function() {
|
|
831
|
+
return this.conditionStack.length - 1 > 0 ? this.conditionStack.pop() : this.conditionStack[0];
|
|
832
|
+
}, "popState"),
|
|
833
|
+
_currentRules: /* @__PURE__ */ __name(function() {
|
|
834
|
+
return this.conditionStack.length && this.conditionStack[this.conditionStack.length - 1] ? this.conditions[this.conditionStack[this.conditionStack.length - 1]].rules : this.conditions.INITIAL.rules;
|
|
835
|
+
}, "_currentRules"),
|
|
836
|
+
topState: /* @__PURE__ */ __name(function(e) {
|
|
837
|
+
return e = this.conditionStack.length - 1 - Math.abs(e || 0), e >= 0 ? this.conditionStack[e] : "INITIAL";
|
|
838
|
+
}, "topState"),
|
|
839
|
+
pushState: /* @__PURE__ */ __name(function(e) {
|
|
840
|
+
this.begin(e);
|
|
841
|
+
}, "pushState"),
|
|
842
|
+
stateStackSize: /* @__PURE__ */ __name(function() {
|
|
843
|
+
return this.conditionStack.length;
|
|
844
|
+
}, "stateStackSize"),
|
|
845
|
+
options: { "case-insensitive": !0 },
|
|
846
|
+
performAction: /* @__PURE__ */ __name(function(e, S, C, w) {
|
|
847
|
+
switch (C) {
|
|
848
|
+
case 0: break;
|
|
849
|
+
case 1: break;
|
|
850
|
+
case 2: return this.popState(), 34;
|
|
851
|
+
case 3: return this.popState(), 34;
|
|
852
|
+
case 4: return 34;
|
|
853
|
+
case 5: break;
|
|
854
|
+
case 6: return 10;
|
|
855
|
+
case 7: return this.pushState("acc_title"), 19;
|
|
856
|
+
case 8: return this.popState(), "acc_title_value";
|
|
857
|
+
case 9: return this.pushState("acc_descr"), 21;
|
|
858
|
+
case 10: return this.popState(), "acc_descr_value";
|
|
859
|
+
case 11:
|
|
860
|
+
this.pushState("acc_descr_multiline");
|
|
861
|
+
break;
|
|
862
|
+
case 12:
|
|
863
|
+
this.popState();
|
|
864
|
+
break;
|
|
865
|
+
case 13: return "acc_descr_multiline_value";
|
|
866
|
+
case 14: return 5;
|
|
867
|
+
case 15: return 5;
|
|
868
|
+
case 16: return 8;
|
|
869
|
+
case 17: return this.pushState("axis_data"), "X_AXIS";
|
|
870
|
+
case 18: return this.pushState("axis_data"), "Y_AXIS";
|
|
871
|
+
case 19: return this.pushState("axis_band_data"), 24;
|
|
872
|
+
case 20: return 31;
|
|
873
|
+
case 21: return this.pushState("data"), 16;
|
|
874
|
+
case 22: return this.pushState("data"), 18;
|
|
875
|
+
case 23: return this.pushState("data_inner"), 24;
|
|
876
|
+
case 24: return 27;
|
|
877
|
+
case 25: return this.popState(), 26;
|
|
878
|
+
case 26:
|
|
879
|
+
this.popState();
|
|
880
|
+
break;
|
|
881
|
+
case 27:
|
|
882
|
+
this.pushState("string");
|
|
883
|
+
break;
|
|
884
|
+
case 28:
|
|
885
|
+
this.popState();
|
|
886
|
+
break;
|
|
887
|
+
case 29: return "STR";
|
|
888
|
+
case 30: return 24;
|
|
889
|
+
case 31: return 26;
|
|
890
|
+
case 32: return 43;
|
|
891
|
+
case 33: return "COLON";
|
|
892
|
+
case 34: return 44;
|
|
893
|
+
case 35: return 28;
|
|
894
|
+
case 36: return 45;
|
|
895
|
+
case 37: return 46;
|
|
896
|
+
case 38: return 48;
|
|
897
|
+
case 39: return 50;
|
|
898
|
+
case 40: return 47;
|
|
899
|
+
case 41: return 41;
|
|
900
|
+
case 42: return 49;
|
|
901
|
+
case 43: return 42;
|
|
902
|
+
case 44: break;
|
|
903
|
+
case 45: return 35;
|
|
904
|
+
case 46: return 36;
|
|
905
|
+
}
|
|
906
|
+
}, "anonymous"),
|
|
907
|
+
rules: [
|
|
908
|
+
/^(?:%%(?!\{)[^\n]*)/i,
|
|
909
|
+
/^(?:[^\}]%%[^\n]*)/i,
|
|
910
|
+
/^(?:(\r?\n))/i,
|
|
911
|
+
/^(?:(\r?\n))/i,
|
|
912
|
+
/^(?:[\n\r]+)/i,
|
|
913
|
+
/^(?:%%[^\n]*)/i,
|
|
914
|
+
/^(?:title\b)/i,
|
|
915
|
+
/^(?:accTitle\s*:\s*)/i,
|
|
916
|
+
/^(?:(?!\n||)*[^\n]*)/i,
|
|
917
|
+
/^(?:accDescr\s*:\s*)/i,
|
|
918
|
+
/^(?:(?!\n||)*[^\n]*)/i,
|
|
919
|
+
/^(?:accDescr\s*\{\s*)/i,
|
|
920
|
+
/^(?:\{)/i,
|
|
921
|
+
/^(?:[^\}]*)/i,
|
|
922
|
+
/^(?:xychart-beta\b)/i,
|
|
923
|
+
/^(?:xychart\b)/i,
|
|
924
|
+
/^(?:(?:vertical|horizontal))/i,
|
|
925
|
+
/^(?:x-axis\b)/i,
|
|
926
|
+
/^(?:y-axis\b)/i,
|
|
927
|
+
/^(?:\[)/i,
|
|
928
|
+
/^(?:-->)/i,
|
|
929
|
+
/^(?:line\b)/i,
|
|
930
|
+
/^(?:bar\b)/i,
|
|
931
|
+
/^(?:\[)/i,
|
|
932
|
+
/^(?:[+-]?(?:\d+(?:\.\d+)?|\.\d+))/i,
|
|
933
|
+
/^(?:\])/i,
|
|
934
|
+
/^(?:(?:`\) \{ this\.pushState\(md_string\); \}\n<md_string>\(\?:\(\?!`"\)\.\)\+ \{ return MD_STR; \}\n<md_string>\(\?:`))/i,
|
|
935
|
+
/^(?:["])/i,
|
|
936
|
+
/^(?:["])/i,
|
|
937
|
+
/^(?:[^"]*)/i,
|
|
938
|
+
/^(?:\[)/i,
|
|
939
|
+
/^(?:\])/i,
|
|
940
|
+
/^(?:[A-Za-z]+)/i,
|
|
941
|
+
/^(?::)/i,
|
|
942
|
+
/^(?:\+)/i,
|
|
943
|
+
/^(?:,)/i,
|
|
944
|
+
/^(?:=)/i,
|
|
945
|
+
/^(?:\*)/i,
|
|
946
|
+
/^(?:#)/i,
|
|
947
|
+
/^(?:[\_])/i,
|
|
948
|
+
/^(?:\.)/i,
|
|
949
|
+
/^(?:&)/i,
|
|
950
|
+
/^(?:-)/i,
|
|
951
|
+
/^(?:[0-9]+)/i,
|
|
952
|
+
/^(?:\s+)/i,
|
|
953
|
+
/^(?:;)/i,
|
|
954
|
+
/^(?:$)/i
|
|
955
|
+
],
|
|
956
|
+
conditions: {
|
|
957
|
+
data_inner: {
|
|
958
|
+
rules: [
|
|
959
|
+
0,
|
|
960
|
+
1,
|
|
961
|
+
4,
|
|
962
|
+
5,
|
|
963
|
+
6,
|
|
964
|
+
7,
|
|
965
|
+
9,
|
|
966
|
+
11,
|
|
967
|
+
14,
|
|
968
|
+
15,
|
|
969
|
+
16,
|
|
970
|
+
17,
|
|
971
|
+
18,
|
|
972
|
+
21,
|
|
973
|
+
22,
|
|
974
|
+
24,
|
|
975
|
+
25,
|
|
976
|
+
26,
|
|
977
|
+
27,
|
|
978
|
+
30,
|
|
979
|
+
31,
|
|
980
|
+
32,
|
|
981
|
+
33,
|
|
982
|
+
34,
|
|
983
|
+
35,
|
|
984
|
+
36,
|
|
985
|
+
37,
|
|
986
|
+
38,
|
|
987
|
+
39,
|
|
988
|
+
40,
|
|
989
|
+
41,
|
|
990
|
+
42,
|
|
991
|
+
43,
|
|
992
|
+
44,
|
|
993
|
+
45,
|
|
994
|
+
46
|
|
995
|
+
],
|
|
996
|
+
inclusive: !0
|
|
997
|
+
},
|
|
998
|
+
data: {
|
|
999
|
+
rules: [
|
|
1000
|
+
0,
|
|
1001
|
+
1,
|
|
1002
|
+
3,
|
|
1003
|
+
4,
|
|
1004
|
+
5,
|
|
1005
|
+
6,
|
|
1006
|
+
7,
|
|
1007
|
+
9,
|
|
1008
|
+
11,
|
|
1009
|
+
14,
|
|
1010
|
+
15,
|
|
1011
|
+
16,
|
|
1012
|
+
17,
|
|
1013
|
+
18,
|
|
1014
|
+
21,
|
|
1015
|
+
22,
|
|
1016
|
+
23,
|
|
1017
|
+
26,
|
|
1018
|
+
27,
|
|
1019
|
+
30,
|
|
1020
|
+
31,
|
|
1021
|
+
32,
|
|
1022
|
+
33,
|
|
1023
|
+
34,
|
|
1024
|
+
35,
|
|
1025
|
+
36,
|
|
1026
|
+
37,
|
|
1027
|
+
38,
|
|
1028
|
+
39,
|
|
1029
|
+
40,
|
|
1030
|
+
41,
|
|
1031
|
+
42,
|
|
1032
|
+
43,
|
|
1033
|
+
44,
|
|
1034
|
+
45,
|
|
1035
|
+
46
|
|
1036
|
+
],
|
|
1037
|
+
inclusive: !0
|
|
1038
|
+
},
|
|
1039
|
+
axis_band_data: {
|
|
1040
|
+
rules: [
|
|
1041
|
+
0,
|
|
1042
|
+
1,
|
|
1043
|
+
4,
|
|
1044
|
+
5,
|
|
1045
|
+
6,
|
|
1046
|
+
7,
|
|
1047
|
+
9,
|
|
1048
|
+
11,
|
|
1049
|
+
14,
|
|
1050
|
+
15,
|
|
1051
|
+
16,
|
|
1052
|
+
17,
|
|
1053
|
+
18,
|
|
1054
|
+
21,
|
|
1055
|
+
22,
|
|
1056
|
+
25,
|
|
1057
|
+
26,
|
|
1058
|
+
27,
|
|
1059
|
+
30,
|
|
1060
|
+
31,
|
|
1061
|
+
32,
|
|
1062
|
+
33,
|
|
1063
|
+
34,
|
|
1064
|
+
35,
|
|
1065
|
+
36,
|
|
1066
|
+
37,
|
|
1067
|
+
38,
|
|
1068
|
+
39,
|
|
1069
|
+
40,
|
|
1070
|
+
41,
|
|
1071
|
+
42,
|
|
1072
|
+
43,
|
|
1073
|
+
44,
|
|
1074
|
+
45,
|
|
1075
|
+
46
|
|
1076
|
+
],
|
|
1077
|
+
inclusive: !0
|
|
1078
|
+
},
|
|
1079
|
+
axis_data: {
|
|
1080
|
+
rules: [
|
|
1081
|
+
0,
|
|
1082
|
+
1,
|
|
1083
|
+
2,
|
|
1084
|
+
4,
|
|
1085
|
+
5,
|
|
1086
|
+
6,
|
|
1087
|
+
7,
|
|
1088
|
+
9,
|
|
1089
|
+
11,
|
|
1090
|
+
14,
|
|
1091
|
+
15,
|
|
1092
|
+
16,
|
|
1093
|
+
17,
|
|
1094
|
+
18,
|
|
1095
|
+
19,
|
|
1096
|
+
20,
|
|
1097
|
+
21,
|
|
1098
|
+
22,
|
|
1099
|
+
24,
|
|
1100
|
+
26,
|
|
1101
|
+
27,
|
|
1102
|
+
30,
|
|
1103
|
+
31,
|
|
1104
|
+
32,
|
|
1105
|
+
33,
|
|
1106
|
+
34,
|
|
1107
|
+
35,
|
|
1108
|
+
36,
|
|
1109
|
+
37,
|
|
1110
|
+
38,
|
|
1111
|
+
39,
|
|
1112
|
+
40,
|
|
1113
|
+
41,
|
|
1114
|
+
42,
|
|
1115
|
+
43,
|
|
1116
|
+
44,
|
|
1117
|
+
45,
|
|
1118
|
+
46
|
|
1119
|
+
],
|
|
1120
|
+
inclusive: !0
|
|
1121
|
+
},
|
|
1122
|
+
acc_descr_multiline: {
|
|
1123
|
+
rules: [12, 13],
|
|
1124
|
+
inclusive: !1
|
|
1125
|
+
},
|
|
1126
|
+
acc_descr: {
|
|
1127
|
+
rules: [10],
|
|
1128
|
+
inclusive: !1
|
|
1129
|
+
},
|
|
1130
|
+
acc_title: {
|
|
1131
|
+
rules: [8],
|
|
1132
|
+
inclusive: !1
|
|
1133
|
+
},
|
|
1134
|
+
title: {
|
|
1135
|
+
rules: [],
|
|
1136
|
+
inclusive: !1
|
|
1137
|
+
},
|
|
1138
|
+
md_string: {
|
|
1139
|
+
rules: [],
|
|
1140
|
+
inclusive: !1
|
|
1141
|
+
},
|
|
1142
|
+
string: {
|
|
1143
|
+
rules: [28, 29],
|
|
1144
|
+
inclusive: !1
|
|
1145
|
+
},
|
|
1146
|
+
INITIAL: {
|
|
1147
|
+
rules: [
|
|
1148
|
+
0,
|
|
1149
|
+
1,
|
|
1150
|
+
4,
|
|
1151
|
+
5,
|
|
1152
|
+
6,
|
|
1153
|
+
7,
|
|
1154
|
+
9,
|
|
1155
|
+
11,
|
|
1156
|
+
14,
|
|
1157
|
+
15,
|
|
1158
|
+
16,
|
|
1159
|
+
17,
|
|
1160
|
+
18,
|
|
1161
|
+
21,
|
|
1162
|
+
22,
|
|
1163
|
+
26,
|
|
1164
|
+
27,
|
|
1165
|
+
30,
|
|
1166
|
+
31,
|
|
1167
|
+
32,
|
|
1168
|
+
33,
|
|
1169
|
+
34,
|
|
1170
|
+
35,
|
|
1171
|
+
36,
|
|
1172
|
+
37,
|
|
1173
|
+
38,
|
|
1174
|
+
39,
|
|
1175
|
+
40,
|
|
1176
|
+
41,
|
|
1177
|
+
42,
|
|
1178
|
+
43,
|
|
1179
|
+
44,
|
|
1180
|
+
45,
|
|
1181
|
+
46
|
|
1182
|
+
],
|
|
1183
|
+
inclusive: !0
|
|
1184
|
+
}
|
|
1185
|
+
}
|
|
1186
|
+
};
|
|
1187
|
+
})();
|
|
1188
|
+
function Z() {
|
|
1189
|
+
this.yy = {};
|
|
1190
|
+
}
|
|
1191
|
+
return __name(Z, "Parser"), Z.prototype = X, X.Parser = Z, new Z();
|
|
1192
|
+
})();
|
|
1193
|
+
parser.parser = parser;
|
|
1194
|
+
var xychart_default = parser;
|
|
1195
|
+
function isBarPlot(e) {
|
|
1196
|
+
return e.type === "bar";
|
|
1197
|
+
}
|
|
1198
|
+
__name(isBarPlot, "isBarPlot");
|
|
1199
|
+
function isBandAxisData(e) {
|
|
1200
|
+
return e.type === "band";
|
|
1201
|
+
}
|
|
1202
|
+
__name(isBandAxisData, "isBandAxisData");
|
|
1203
|
+
function isLinearAxisData(e) {
|
|
1204
|
+
return e.type === "linear";
|
|
1205
|
+
}
|
|
1206
|
+
__name(isLinearAxisData, "isLinearAxisData");
|
|
1207
|
+
var TextDimensionCalculatorWithFont = class {
|
|
1208
|
+
constructor(e) {
|
|
1209
|
+
this.parentGroup = e;
|
|
1210
|
+
}
|
|
1211
|
+
static #e = __name(this, "TextDimensionCalculatorWithFont");
|
|
1212
|
+
getMaxDimension(e, S) {
|
|
1213
|
+
if (!this.parentGroup) return {
|
|
1214
|
+
width: e.reduce((e, S) => Math.max(S.length, e), 0) * S,
|
|
1215
|
+
height: S
|
|
1216
|
+
};
|
|
1217
|
+
let C = {
|
|
1218
|
+
width: 0,
|
|
1219
|
+
height: 0
|
|
1220
|
+
}, w = this.parentGroup.append("g").attr("visibility", "hidden").attr("font-size", S);
|
|
1221
|
+
for (let T of e) {
|
|
1222
|
+
let e = computeDimensionOfText(w, 1, T), E = e ? e.width : T.length * S, D = e ? e.height : S;
|
|
1223
|
+
C.width = Math.max(C.width, E), C.height = Math.max(C.height, D);
|
|
1224
|
+
}
|
|
1225
|
+
return w.remove(), C;
|
|
1226
|
+
}
|
|
1227
|
+
}, BAR_WIDTH_TO_TICK_WIDTH_RATIO = .7, MAX_OUTER_PADDING_PERCENT_FOR_WRT_LABEL = .2, BaseAxis = class {
|
|
1228
|
+
constructor(e, S, C, w) {
|
|
1229
|
+
this.axisConfig = e, this.title = S, this.textDimensionCalculator = C, this.axisThemeConfig = w, this.boundingRect = {
|
|
1230
|
+
x: 0,
|
|
1231
|
+
y: 0,
|
|
1232
|
+
width: 0,
|
|
1233
|
+
height: 0
|
|
1234
|
+
}, this.axisPosition = "left", this.showTitle = !1, this.showLabel = !1, this.showTick = !1, this.showAxisLine = !1, this.outerPadding = 0, this.titleTextHeight = 0, this.labelTextHeight = 0, this.range = [0, 10], this.boundingRect = {
|
|
1235
|
+
x: 0,
|
|
1236
|
+
y: 0,
|
|
1237
|
+
width: 0,
|
|
1238
|
+
height: 0
|
|
1239
|
+
}, this.axisPosition = "left";
|
|
1240
|
+
}
|
|
1241
|
+
static #e = __name(this, "BaseAxis");
|
|
1242
|
+
setRange(e) {
|
|
1243
|
+
this.range = e, this.axisPosition === "left" || this.axisPosition === "right" ? this.boundingRect.height = e[1] - e[0] : this.boundingRect.width = e[1] - e[0], this.recalculateScale();
|
|
1244
|
+
}
|
|
1245
|
+
getRange() {
|
|
1246
|
+
return [this.range[0] + this.outerPadding, this.range[1] - this.outerPadding];
|
|
1247
|
+
}
|
|
1248
|
+
setAxisPosition(e) {
|
|
1249
|
+
this.axisPosition = e, this.setRange(this.range);
|
|
1250
|
+
}
|
|
1251
|
+
getTickDistance() {
|
|
1252
|
+
let e = this.getRange();
|
|
1253
|
+
return Math.abs(e[0] - e[1]) / this.getTickValues().length;
|
|
1254
|
+
}
|
|
1255
|
+
getAxisOuterPadding() {
|
|
1256
|
+
return this.outerPadding;
|
|
1257
|
+
}
|
|
1258
|
+
getLabelDimension() {
|
|
1259
|
+
return this.textDimensionCalculator.getMaxDimension(this.getTickValues().map((e) => e.toString()), this.axisConfig.labelFontSize);
|
|
1260
|
+
}
|
|
1261
|
+
recalculateOuterPaddingToDrawBar() {
|
|
1262
|
+
BAR_WIDTH_TO_TICK_WIDTH_RATIO * this.getTickDistance() > this.outerPadding * 2 && (this.outerPadding = Math.floor(BAR_WIDTH_TO_TICK_WIDTH_RATIO * this.getTickDistance() / 2)), this.recalculateScale();
|
|
1263
|
+
}
|
|
1264
|
+
calculateSpaceIfDrawnHorizontally(e) {
|
|
1265
|
+
let S = e.height;
|
|
1266
|
+
if (this.axisConfig.showAxisLine && S > this.axisConfig.axisLineWidth && (S -= this.axisConfig.axisLineWidth, this.showAxisLine = !0), this.axisConfig.showLabel) {
|
|
1267
|
+
let C = this.getLabelDimension(), w = MAX_OUTER_PADDING_PERCENT_FOR_WRT_LABEL * e.width;
|
|
1268
|
+
this.outerPadding = Math.min(C.width / 2, w);
|
|
1269
|
+
let T = C.height + this.axisConfig.labelPadding * 2;
|
|
1270
|
+
this.labelTextHeight = C.height, T <= S && (S -= T, this.showLabel = !0);
|
|
1271
|
+
}
|
|
1272
|
+
if (this.axisConfig.showTick && S >= this.axisConfig.tickLength && (this.showTick = !0, S -= this.axisConfig.tickLength), this.axisConfig.showTitle && this.title) {
|
|
1273
|
+
let e = this.textDimensionCalculator.getMaxDimension([this.title], this.axisConfig.titleFontSize), C = e.height + this.axisConfig.titlePadding * 2;
|
|
1274
|
+
this.titleTextHeight = e.height, C <= S && (S -= C, this.showTitle = !0);
|
|
1275
|
+
}
|
|
1276
|
+
this.boundingRect.width = e.width, this.boundingRect.height = e.height - S;
|
|
1277
|
+
}
|
|
1278
|
+
calculateSpaceIfDrawnVertical(e) {
|
|
1279
|
+
let S = e.width;
|
|
1280
|
+
if (this.axisConfig.showAxisLine && S > this.axisConfig.axisLineWidth && (S -= this.axisConfig.axisLineWidth, this.showAxisLine = !0), this.axisConfig.showLabel) {
|
|
1281
|
+
let C = this.getLabelDimension(), w = MAX_OUTER_PADDING_PERCENT_FOR_WRT_LABEL * e.height;
|
|
1282
|
+
this.outerPadding = Math.min(C.height / 2, w);
|
|
1283
|
+
let T = C.width + this.axisConfig.labelPadding * 2;
|
|
1284
|
+
T <= S && (S -= T, this.showLabel = !0);
|
|
1285
|
+
}
|
|
1286
|
+
if (this.axisConfig.showTick && S >= this.axisConfig.tickLength && (this.showTick = !0, S -= this.axisConfig.tickLength), this.axisConfig.showTitle && this.title) {
|
|
1287
|
+
let e = this.textDimensionCalculator.getMaxDimension([this.title], this.axisConfig.titleFontSize), C = e.height + this.axisConfig.titlePadding * 2;
|
|
1288
|
+
this.titleTextHeight = e.height, C <= S && (S -= C, this.showTitle = !0);
|
|
1289
|
+
}
|
|
1290
|
+
this.boundingRect.width = e.width - S, this.boundingRect.height = e.height;
|
|
1291
|
+
}
|
|
1292
|
+
calculateSpace(e) {
|
|
1293
|
+
return this.axisPosition === "left" || this.axisPosition === "right" ? this.calculateSpaceIfDrawnVertical(e) : this.calculateSpaceIfDrawnHorizontally(e), this.recalculateScale(), {
|
|
1294
|
+
width: this.boundingRect.width,
|
|
1295
|
+
height: this.boundingRect.height
|
|
1296
|
+
};
|
|
1297
|
+
}
|
|
1298
|
+
setBoundingBoxXY(e) {
|
|
1299
|
+
this.boundingRect.x = e.x, this.boundingRect.y = e.y;
|
|
1300
|
+
}
|
|
1301
|
+
getDrawableElementsForLeftAxis() {
|
|
1302
|
+
let e = [];
|
|
1303
|
+
if (this.showAxisLine) {
|
|
1304
|
+
let S = this.boundingRect.x + this.boundingRect.width - this.axisConfig.axisLineWidth / 2;
|
|
1305
|
+
e.push({
|
|
1306
|
+
type: "path",
|
|
1307
|
+
groupTexts: ["left-axis", "axisl-line"],
|
|
1308
|
+
data: [{
|
|
1309
|
+
path: `M ${S},${this.boundingRect.y} L ${S},${this.boundingRect.y + this.boundingRect.height} `,
|
|
1310
|
+
strokeFill: this.axisThemeConfig.axisLineColor,
|
|
1311
|
+
strokeWidth: this.axisConfig.axisLineWidth
|
|
1312
|
+
}]
|
|
1313
|
+
});
|
|
1314
|
+
}
|
|
1315
|
+
if (this.showLabel && e.push({
|
|
1316
|
+
type: "text",
|
|
1317
|
+
groupTexts: ["left-axis", "label"],
|
|
1318
|
+
data: this.getTickValues().map((e) => ({
|
|
1319
|
+
text: e.toString(),
|
|
1320
|
+
x: this.boundingRect.x + this.boundingRect.width - (this.showLabel ? this.axisConfig.labelPadding : 0) - (this.showTick ? this.axisConfig.tickLength : 0) - (this.showAxisLine ? this.axisConfig.axisLineWidth : 0),
|
|
1321
|
+
y: this.getScaleValue(e),
|
|
1322
|
+
fill: this.axisThemeConfig.labelColor,
|
|
1323
|
+
fontSize: this.axisConfig.labelFontSize,
|
|
1324
|
+
rotation: 0,
|
|
1325
|
+
verticalPos: "middle",
|
|
1326
|
+
horizontalPos: "right"
|
|
1327
|
+
}))
|
|
1328
|
+
}), this.showTick) {
|
|
1329
|
+
let S = this.boundingRect.x + this.boundingRect.width - (this.showAxisLine ? this.axisConfig.axisLineWidth : 0);
|
|
1330
|
+
e.push({
|
|
1331
|
+
type: "path",
|
|
1332
|
+
groupTexts: ["left-axis", "ticks"],
|
|
1333
|
+
data: this.getTickValues().map((e) => ({
|
|
1334
|
+
path: `M ${S},${this.getScaleValue(e)} L ${S - this.axisConfig.tickLength},${this.getScaleValue(e)}`,
|
|
1335
|
+
strokeFill: this.axisThemeConfig.tickColor,
|
|
1336
|
+
strokeWidth: this.axisConfig.tickWidth
|
|
1337
|
+
}))
|
|
1338
|
+
});
|
|
1339
|
+
}
|
|
1340
|
+
return this.showTitle && e.push({
|
|
1341
|
+
type: "text",
|
|
1342
|
+
groupTexts: ["left-axis", "title"],
|
|
1343
|
+
data: [{
|
|
1344
|
+
text: this.title,
|
|
1345
|
+
x: this.boundingRect.x + this.axisConfig.titlePadding,
|
|
1346
|
+
y: this.boundingRect.y + this.boundingRect.height / 2,
|
|
1347
|
+
fill: this.axisThemeConfig.titleColor,
|
|
1348
|
+
fontSize: this.axisConfig.titleFontSize,
|
|
1349
|
+
rotation: 270,
|
|
1350
|
+
verticalPos: "top",
|
|
1351
|
+
horizontalPos: "center"
|
|
1352
|
+
}]
|
|
1353
|
+
}), e;
|
|
1354
|
+
}
|
|
1355
|
+
getDrawableElementsForBottomAxis() {
|
|
1356
|
+
let e = [];
|
|
1357
|
+
if (this.showAxisLine) {
|
|
1358
|
+
let S = this.boundingRect.y + this.axisConfig.axisLineWidth / 2;
|
|
1359
|
+
e.push({
|
|
1360
|
+
type: "path",
|
|
1361
|
+
groupTexts: ["bottom-axis", "axis-line"],
|
|
1362
|
+
data: [{
|
|
1363
|
+
path: `M ${this.boundingRect.x},${S} L ${this.boundingRect.x + this.boundingRect.width},${S}`,
|
|
1364
|
+
strokeFill: this.axisThemeConfig.axisLineColor,
|
|
1365
|
+
strokeWidth: this.axisConfig.axisLineWidth
|
|
1366
|
+
}]
|
|
1367
|
+
});
|
|
1368
|
+
}
|
|
1369
|
+
if (this.showLabel && e.push({
|
|
1370
|
+
type: "text",
|
|
1371
|
+
groupTexts: ["bottom-axis", "label"],
|
|
1372
|
+
data: this.getTickValues().map((e) => ({
|
|
1373
|
+
text: e.toString(),
|
|
1374
|
+
x: this.getScaleValue(e),
|
|
1375
|
+
y: this.boundingRect.y + this.axisConfig.labelPadding + (this.showTick ? this.axisConfig.tickLength : 0) + (this.showAxisLine ? this.axisConfig.axisLineWidth : 0),
|
|
1376
|
+
fill: this.axisThemeConfig.labelColor,
|
|
1377
|
+
fontSize: this.axisConfig.labelFontSize,
|
|
1378
|
+
rotation: 0,
|
|
1379
|
+
verticalPos: "top",
|
|
1380
|
+
horizontalPos: "center"
|
|
1381
|
+
}))
|
|
1382
|
+
}), this.showTick) {
|
|
1383
|
+
let S = this.boundingRect.y + (this.showAxisLine ? this.axisConfig.axisLineWidth : 0);
|
|
1384
|
+
e.push({
|
|
1385
|
+
type: "path",
|
|
1386
|
+
groupTexts: ["bottom-axis", "ticks"],
|
|
1387
|
+
data: this.getTickValues().map((e) => ({
|
|
1388
|
+
path: `M ${this.getScaleValue(e)},${S} L ${this.getScaleValue(e)},${S + this.axisConfig.tickLength}`,
|
|
1389
|
+
strokeFill: this.axisThemeConfig.tickColor,
|
|
1390
|
+
strokeWidth: this.axisConfig.tickWidth
|
|
1391
|
+
}))
|
|
1392
|
+
});
|
|
1393
|
+
}
|
|
1394
|
+
return this.showTitle && e.push({
|
|
1395
|
+
type: "text",
|
|
1396
|
+
groupTexts: ["bottom-axis", "title"],
|
|
1397
|
+
data: [{
|
|
1398
|
+
text: this.title,
|
|
1399
|
+
x: this.range[0] + (this.range[1] - this.range[0]) / 2,
|
|
1400
|
+
y: this.boundingRect.y + this.boundingRect.height - this.axisConfig.titlePadding - this.titleTextHeight,
|
|
1401
|
+
fill: this.axisThemeConfig.titleColor,
|
|
1402
|
+
fontSize: this.axisConfig.titleFontSize,
|
|
1403
|
+
rotation: 0,
|
|
1404
|
+
verticalPos: "top",
|
|
1405
|
+
horizontalPos: "center"
|
|
1406
|
+
}]
|
|
1407
|
+
}), e;
|
|
1408
|
+
}
|
|
1409
|
+
getDrawableElementsForTopAxis() {
|
|
1410
|
+
let e = [];
|
|
1411
|
+
if (this.showAxisLine) {
|
|
1412
|
+
let S = this.boundingRect.y + this.boundingRect.height - this.axisConfig.axisLineWidth / 2;
|
|
1413
|
+
e.push({
|
|
1414
|
+
type: "path",
|
|
1415
|
+
groupTexts: ["top-axis", "axis-line"],
|
|
1416
|
+
data: [{
|
|
1417
|
+
path: `M ${this.boundingRect.x},${S} L ${this.boundingRect.x + this.boundingRect.width},${S}`,
|
|
1418
|
+
strokeFill: this.axisThemeConfig.axisLineColor,
|
|
1419
|
+
strokeWidth: this.axisConfig.axisLineWidth
|
|
1420
|
+
}]
|
|
1421
|
+
});
|
|
1422
|
+
}
|
|
1423
|
+
if (this.showLabel && e.push({
|
|
1424
|
+
type: "text",
|
|
1425
|
+
groupTexts: ["top-axis", "label"],
|
|
1426
|
+
data: this.getTickValues().map((e) => ({
|
|
1427
|
+
text: e.toString(),
|
|
1428
|
+
x: this.getScaleValue(e),
|
|
1429
|
+
y: this.boundingRect.y + (this.showTitle ? this.titleTextHeight + this.axisConfig.titlePadding * 2 : 0) + this.axisConfig.labelPadding,
|
|
1430
|
+
fill: this.axisThemeConfig.labelColor,
|
|
1431
|
+
fontSize: this.axisConfig.labelFontSize,
|
|
1432
|
+
rotation: 0,
|
|
1433
|
+
verticalPos: "top",
|
|
1434
|
+
horizontalPos: "center"
|
|
1435
|
+
}))
|
|
1436
|
+
}), this.showTick) {
|
|
1437
|
+
let S = this.boundingRect.y;
|
|
1438
|
+
e.push({
|
|
1439
|
+
type: "path",
|
|
1440
|
+
groupTexts: ["top-axis", "ticks"],
|
|
1441
|
+
data: this.getTickValues().map((e) => ({
|
|
1442
|
+
path: `M ${this.getScaleValue(e)},${S + this.boundingRect.height - (this.showAxisLine ? this.axisConfig.axisLineWidth : 0)} L ${this.getScaleValue(e)},${S + this.boundingRect.height - this.axisConfig.tickLength - (this.showAxisLine ? this.axisConfig.axisLineWidth : 0)}`,
|
|
1443
|
+
strokeFill: this.axisThemeConfig.tickColor,
|
|
1444
|
+
strokeWidth: this.axisConfig.tickWidth
|
|
1445
|
+
}))
|
|
1446
|
+
});
|
|
1447
|
+
}
|
|
1448
|
+
return this.showTitle && e.push({
|
|
1449
|
+
type: "text",
|
|
1450
|
+
groupTexts: ["top-axis", "title"],
|
|
1451
|
+
data: [{
|
|
1452
|
+
text: this.title,
|
|
1453
|
+
x: this.boundingRect.x + this.boundingRect.width / 2,
|
|
1454
|
+
y: this.boundingRect.y + this.axisConfig.titlePadding,
|
|
1455
|
+
fill: this.axisThemeConfig.titleColor,
|
|
1456
|
+
fontSize: this.axisConfig.titleFontSize,
|
|
1457
|
+
rotation: 0,
|
|
1458
|
+
verticalPos: "top",
|
|
1459
|
+
horizontalPos: "center"
|
|
1460
|
+
}]
|
|
1461
|
+
}), e;
|
|
1462
|
+
}
|
|
1463
|
+
getDrawableElements() {
|
|
1464
|
+
if (this.axisPosition === "left") return this.getDrawableElementsForLeftAxis();
|
|
1465
|
+
if (this.axisPosition === "right") throw Error("Drawing of right axis is not implemented");
|
|
1466
|
+
return this.axisPosition === "bottom" ? this.getDrawableElementsForBottomAxis() : this.axisPosition === "top" ? this.getDrawableElementsForTopAxis() : [];
|
|
1467
|
+
}
|
|
1468
|
+
}, BandAxis = class extends BaseAxis {
|
|
1469
|
+
static #e = __name(this, "BandAxis");
|
|
1470
|
+
constructor(e, S, C, w, T) {
|
|
1471
|
+
super(e, w, T, S), this.categories = C, this.scale = band().domain(this.categories).range(this.getRange());
|
|
1472
|
+
}
|
|
1473
|
+
setRange(e) {
|
|
1474
|
+
super.setRange(e);
|
|
1475
|
+
}
|
|
1476
|
+
recalculateScale() {
|
|
1477
|
+
this.scale = band().domain(this.categories).range(this.getRange()).paddingInner(1).paddingOuter(0).align(.5), log.trace("BandAxis axis final categories, range: ", this.categories, this.getRange());
|
|
1478
|
+
}
|
|
1479
|
+
getTickValues() {
|
|
1480
|
+
return this.categories;
|
|
1481
|
+
}
|
|
1482
|
+
getScaleValue(e) {
|
|
1483
|
+
return this.scale(e) ?? this.getRange()[0];
|
|
1484
|
+
}
|
|
1485
|
+
}, LinearAxis = class extends BaseAxis {
|
|
1486
|
+
static #e = __name(this, "LinearAxis");
|
|
1487
|
+
constructor(e, S, C, w, T) {
|
|
1488
|
+
super(e, w, T, S), this.domain = C, this.scale = linear().domain(this.domain).range(this.getRange());
|
|
1489
|
+
}
|
|
1490
|
+
getTickValues() {
|
|
1491
|
+
return this.scale.ticks();
|
|
1492
|
+
}
|
|
1493
|
+
recalculateScale() {
|
|
1494
|
+
let e = [...this.domain];
|
|
1495
|
+
this.axisPosition === "left" && e.reverse(), this.scale = linear().domain(e).range(this.getRange());
|
|
1496
|
+
}
|
|
1497
|
+
getScaleValue(e) {
|
|
1498
|
+
return this.scale(e);
|
|
1499
|
+
}
|
|
1500
|
+
};
|
|
1501
|
+
function getAxis(e, S, C, w) {
|
|
1502
|
+
let T = new TextDimensionCalculatorWithFont(w);
|
|
1503
|
+
return isBandAxisData(e) ? new BandAxis(S, C, e.categories, e.title, T) : new LinearAxis(S, C, [e.min, e.max], e.title, T);
|
|
1504
|
+
}
|
|
1505
|
+
__name(getAxis, "getAxis");
|
|
1506
|
+
var ChartTitle = class {
|
|
1507
|
+
constructor(e, S, C, w) {
|
|
1508
|
+
this.textDimensionCalculator = e, this.chartConfig = S, this.chartData = C, this.chartThemeConfig = w, this.boundingRect = {
|
|
1509
|
+
x: 0,
|
|
1510
|
+
y: 0,
|
|
1511
|
+
width: 0,
|
|
1512
|
+
height: 0
|
|
1513
|
+
}, this.showChartTitle = !1;
|
|
1514
|
+
}
|
|
1515
|
+
static #e = __name(this, "ChartTitle");
|
|
1516
|
+
setBoundingBoxXY(e) {
|
|
1517
|
+
this.boundingRect.x = e.x, this.boundingRect.y = e.y;
|
|
1518
|
+
}
|
|
1519
|
+
calculateSpace(e) {
|
|
1520
|
+
let S = this.textDimensionCalculator.getMaxDimension([this.chartData.title], this.chartConfig.titleFontSize), C = Math.max(S.width, e.width), w = S.height + 2 * this.chartConfig.titlePadding;
|
|
1521
|
+
return S.width <= C && S.height <= w && this.chartConfig.showTitle && this.chartData.title && (this.boundingRect.width = C, this.boundingRect.height = w, this.showChartTitle = !0), {
|
|
1522
|
+
width: this.boundingRect.width,
|
|
1523
|
+
height: this.boundingRect.height
|
|
1524
|
+
};
|
|
1525
|
+
}
|
|
1526
|
+
getDrawableElements() {
|
|
1527
|
+
let e = [];
|
|
1528
|
+
return this.showChartTitle && e.push({
|
|
1529
|
+
groupTexts: ["chart-title"],
|
|
1530
|
+
type: "text",
|
|
1531
|
+
data: [{
|
|
1532
|
+
fontSize: this.chartConfig.titleFontSize,
|
|
1533
|
+
text: this.chartData.title,
|
|
1534
|
+
verticalPos: "middle",
|
|
1535
|
+
horizontalPos: "center",
|
|
1536
|
+
x: this.boundingRect.x + this.boundingRect.width / 2,
|
|
1537
|
+
y: this.boundingRect.y + this.boundingRect.height / 2,
|
|
1538
|
+
fill: this.chartThemeConfig.titleColor,
|
|
1539
|
+
rotation: 0
|
|
1540
|
+
}]
|
|
1541
|
+
}), e;
|
|
1542
|
+
}
|
|
1543
|
+
};
|
|
1544
|
+
function getChartTitleComponent(e, S, C, w) {
|
|
1545
|
+
return new ChartTitle(new TextDimensionCalculatorWithFont(w), e, S, C);
|
|
1546
|
+
}
|
|
1547
|
+
__name(getChartTitleComponent, "getChartTitleComponent");
|
|
1548
|
+
var LinePlot = class {
|
|
1549
|
+
constructor(e, S, C, w, T) {
|
|
1550
|
+
this.plotData = e, this.xAxis = S, this.yAxis = C, this.orientation = w, this.plotIndex = T;
|
|
1551
|
+
}
|
|
1552
|
+
static #e = __name(this, "LinePlot");
|
|
1553
|
+
getDrawableElement() {
|
|
1554
|
+
let e = this.plotData.data.map((e) => [this.xAxis.getScaleValue(e[0]), this.yAxis.getScaleValue(e[1])]), S;
|
|
1555
|
+
return S = this.orientation === "horizontal" ? line_default().y((e) => e[0]).x((e) => e[1])(e) : line_default().x((e) => e[0]).y((e) => e[1])(e), S ? [{
|
|
1556
|
+
groupTexts: ["plot", `line-plot-${this.plotIndex}`],
|
|
1557
|
+
type: "path",
|
|
1558
|
+
data: [{
|
|
1559
|
+
path: S,
|
|
1560
|
+
strokeFill: this.plotData.strokeFill,
|
|
1561
|
+
strokeWidth: this.plotData.strokeWidth
|
|
1562
|
+
}]
|
|
1563
|
+
}] : [];
|
|
1564
|
+
}
|
|
1565
|
+
}, BarPlot = class {
|
|
1566
|
+
constructor(e, S, C, w, T, E) {
|
|
1567
|
+
this.barData = e, this.boundingRect = S, this.xAxis = C, this.yAxis = w, this.orientation = T, this.plotIndex = E;
|
|
1568
|
+
}
|
|
1569
|
+
static #e = __name(this, "BarPlot");
|
|
1570
|
+
getDrawableElement() {
|
|
1571
|
+
let e = this.barData.data.map((e) => [this.xAxis.getScaleValue(e[0]), this.yAxis.getScaleValue(e[1])]), S = Math.min(this.xAxis.getAxisOuterPadding() * 2, this.xAxis.getTickDistance()) * .95, C = S / 2;
|
|
1572
|
+
return this.orientation === "horizontal" ? [{
|
|
1573
|
+
groupTexts: ["plot", `bar-plot-${this.plotIndex}`],
|
|
1574
|
+
type: "rect",
|
|
1575
|
+
data: e.map((e) => ({
|
|
1576
|
+
x: this.boundingRect.x,
|
|
1577
|
+
y: e[0] - C,
|
|
1578
|
+
height: S,
|
|
1579
|
+
width: e[1] - this.boundingRect.x,
|
|
1580
|
+
fill: this.barData.fill,
|
|
1581
|
+
strokeWidth: 0,
|
|
1582
|
+
strokeFill: this.barData.fill
|
|
1583
|
+
}))
|
|
1584
|
+
}] : [{
|
|
1585
|
+
groupTexts: ["plot", `bar-plot-${this.plotIndex}`],
|
|
1586
|
+
type: "rect",
|
|
1587
|
+
data: e.map((e) => ({
|
|
1588
|
+
x: e[0] - C,
|
|
1589
|
+
y: e[1],
|
|
1590
|
+
width: S,
|
|
1591
|
+
height: this.boundingRect.y + this.boundingRect.height - e[1],
|
|
1592
|
+
fill: this.barData.fill,
|
|
1593
|
+
strokeWidth: 0,
|
|
1594
|
+
strokeFill: this.barData.fill
|
|
1595
|
+
}))
|
|
1596
|
+
}];
|
|
1597
|
+
}
|
|
1598
|
+
}, BasePlot = class {
|
|
1599
|
+
constructor(e, S, C) {
|
|
1600
|
+
this.chartConfig = e, this.chartData = S, this.chartThemeConfig = C, this.boundingRect = {
|
|
1601
|
+
x: 0,
|
|
1602
|
+
y: 0,
|
|
1603
|
+
width: 0,
|
|
1604
|
+
height: 0
|
|
1605
|
+
};
|
|
1606
|
+
}
|
|
1607
|
+
static #e = __name(this, "BasePlot");
|
|
1608
|
+
setAxes(e, S) {
|
|
1609
|
+
this.xAxis = e, this.yAxis = S;
|
|
1610
|
+
}
|
|
1611
|
+
setBoundingBoxXY(e) {
|
|
1612
|
+
this.boundingRect.x = e.x, this.boundingRect.y = e.y;
|
|
1613
|
+
}
|
|
1614
|
+
calculateSpace(e) {
|
|
1615
|
+
return this.boundingRect.width = e.width, this.boundingRect.height = e.height, {
|
|
1616
|
+
width: this.boundingRect.width,
|
|
1617
|
+
height: this.boundingRect.height
|
|
1618
|
+
};
|
|
1619
|
+
}
|
|
1620
|
+
getDrawableElements() {
|
|
1621
|
+
if (!(this.xAxis && this.yAxis)) throw Error("Axes must be passed to render Plots");
|
|
1622
|
+
let e = [];
|
|
1623
|
+
for (let [S, C] of this.chartData.plots.entries()) switch (C.type) {
|
|
1624
|
+
case "line":
|
|
1625
|
+
{
|
|
1626
|
+
let w = new LinePlot(C, this.xAxis, this.yAxis, this.chartConfig.chartOrientation, S);
|
|
1627
|
+
e.push(...w.getDrawableElement());
|
|
1628
|
+
}
|
|
1629
|
+
break;
|
|
1630
|
+
case "bar":
|
|
1631
|
+
{
|
|
1632
|
+
let w = new BarPlot(C, this.boundingRect, this.xAxis, this.yAxis, this.chartConfig.chartOrientation, S);
|
|
1633
|
+
e.push(...w.getDrawableElement());
|
|
1634
|
+
}
|
|
1635
|
+
break;
|
|
1636
|
+
}
|
|
1637
|
+
return e;
|
|
1638
|
+
}
|
|
1639
|
+
};
|
|
1640
|
+
function getPlotComponent(e, S, C) {
|
|
1641
|
+
return new BasePlot(e, S, C);
|
|
1642
|
+
}
|
|
1643
|
+
__name(getPlotComponent, "getPlotComponent");
|
|
1644
|
+
var Orchestrator = class {
|
|
1645
|
+
constructor(e, S, C, w) {
|
|
1646
|
+
this.chartConfig = e, this.chartData = S, this.componentStore = {
|
|
1647
|
+
title: getChartTitleComponent(e, S, C, w),
|
|
1648
|
+
plot: getPlotComponent(e, S, C),
|
|
1649
|
+
xAxis: getAxis(S.xAxis, e.xAxis, {
|
|
1650
|
+
titleColor: C.xAxisTitleColor,
|
|
1651
|
+
labelColor: C.xAxisLabelColor,
|
|
1652
|
+
tickColor: C.xAxisTickColor,
|
|
1653
|
+
axisLineColor: C.xAxisLineColor
|
|
1654
|
+
}, w),
|
|
1655
|
+
yAxis: getAxis(S.yAxis, e.yAxis, {
|
|
1656
|
+
titleColor: C.yAxisTitleColor,
|
|
1657
|
+
labelColor: C.yAxisLabelColor,
|
|
1658
|
+
tickColor: C.yAxisTickColor,
|
|
1659
|
+
axisLineColor: C.yAxisLineColor
|
|
1660
|
+
}, w)
|
|
1661
|
+
};
|
|
1662
|
+
}
|
|
1663
|
+
static #e = __name(this, "Orchestrator");
|
|
1664
|
+
calculateVerticalSpace() {
|
|
1665
|
+
let e = this.chartConfig.width, S = this.chartConfig.height, C = 0, w = 0, T = Math.floor(e * this.chartConfig.plotReservedSpacePercent / 100), E = Math.floor(S * this.chartConfig.plotReservedSpacePercent / 100), D = this.componentStore.plot.calculateSpace({
|
|
1666
|
+
width: T,
|
|
1667
|
+
height: E
|
|
1668
|
+
});
|
|
1669
|
+
e -= D.width, S -= D.height, D = this.componentStore.title.calculateSpace({
|
|
1670
|
+
width: this.chartConfig.width,
|
|
1671
|
+
height: S
|
|
1672
|
+
}), w = D.height, S -= D.height, this.componentStore.xAxis.setAxisPosition("bottom"), D = this.componentStore.xAxis.calculateSpace({
|
|
1673
|
+
width: e,
|
|
1674
|
+
height: S
|
|
1675
|
+
}), S -= D.height, this.componentStore.yAxis.setAxisPosition("left"), D = this.componentStore.yAxis.calculateSpace({
|
|
1676
|
+
width: e,
|
|
1677
|
+
height: S
|
|
1678
|
+
}), C = D.width, e -= D.width, e > 0 && (T += e, e = 0), S > 0 && (E += S, S = 0), this.componentStore.plot.calculateSpace({
|
|
1679
|
+
width: T,
|
|
1680
|
+
height: E
|
|
1681
|
+
}), this.componentStore.plot.setBoundingBoxXY({
|
|
1682
|
+
x: C,
|
|
1683
|
+
y: w
|
|
1684
|
+
}), this.componentStore.xAxis.setRange([C, C + T]), this.componentStore.xAxis.setBoundingBoxXY({
|
|
1685
|
+
x: C,
|
|
1686
|
+
y: w + E
|
|
1687
|
+
}), this.componentStore.yAxis.setRange([w, w + E]), this.componentStore.yAxis.setBoundingBoxXY({
|
|
1688
|
+
x: 0,
|
|
1689
|
+
y: w
|
|
1690
|
+
}), this.chartData.plots.some((e) => isBarPlot(e)) && this.componentStore.xAxis.recalculateOuterPaddingToDrawBar();
|
|
1691
|
+
}
|
|
1692
|
+
calculateHorizontalSpace() {
|
|
1693
|
+
let e = this.chartConfig.width, S = this.chartConfig.height, C = 0, w = 0, T = 0, E = Math.floor(e * this.chartConfig.plotReservedSpacePercent / 100), D = Math.floor(S * this.chartConfig.plotReservedSpacePercent / 100), O = this.componentStore.plot.calculateSpace({
|
|
1694
|
+
width: E,
|
|
1695
|
+
height: D
|
|
1696
|
+
});
|
|
1697
|
+
e -= O.width, S -= O.height, O = this.componentStore.title.calculateSpace({
|
|
1698
|
+
width: this.chartConfig.width,
|
|
1699
|
+
height: S
|
|
1700
|
+
}), C = O.height, S -= O.height, this.componentStore.xAxis.setAxisPosition("left"), O = this.componentStore.xAxis.calculateSpace({
|
|
1701
|
+
width: e,
|
|
1702
|
+
height: S
|
|
1703
|
+
}), e -= O.width, w = O.width, this.componentStore.yAxis.setAxisPosition("top"), O = this.componentStore.yAxis.calculateSpace({
|
|
1704
|
+
width: e,
|
|
1705
|
+
height: S
|
|
1706
|
+
}), S -= O.height, T = C + O.height, e > 0 && (E += e, e = 0), S > 0 && (D += S, S = 0), this.componentStore.plot.calculateSpace({
|
|
1707
|
+
width: E,
|
|
1708
|
+
height: D
|
|
1709
|
+
}), this.componentStore.plot.setBoundingBoxXY({
|
|
1710
|
+
x: w,
|
|
1711
|
+
y: T
|
|
1712
|
+
}), this.componentStore.yAxis.setRange([w, w + E]), this.componentStore.yAxis.setBoundingBoxXY({
|
|
1713
|
+
x: w,
|
|
1714
|
+
y: C
|
|
1715
|
+
}), this.componentStore.xAxis.setRange([T, T + D]), this.componentStore.xAxis.setBoundingBoxXY({
|
|
1716
|
+
x: 0,
|
|
1717
|
+
y: T
|
|
1718
|
+
}), this.chartData.plots.some((e) => isBarPlot(e)) && this.componentStore.xAxis.recalculateOuterPaddingToDrawBar();
|
|
1719
|
+
}
|
|
1720
|
+
calculateSpace() {
|
|
1721
|
+
this.chartConfig.chartOrientation === "horizontal" ? this.calculateHorizontalSpace() : this.calculateVerticalSpace();
|
|
1722
|
+
}
|
|
1723
|
+
getDrawableElement() {
|
|
1724
|
+
this.calculateSpace();
|
|
1725
|
+
let e = [];
|
|
1726
|
+
this.componentStore.plot.setAxes(this.componentStore.xAxis, this.componentStore.yAxis);
|
|
1727
|
+
for (let S of Object.values(this.componentStore)) e.push(...S.getDrawableElements());
|
|
1728
|
+
return e;
|
|
1729
|
+
}
|
|
1730
|
+
}, XYChartBuilder = class {
|
|
1731
|
+
static #e = __name(this, "XYChartBuilder");
|
|
1732
|
+
static build(e, S, C, w) {
|
|
1733
|
+
return new Orchestrator(e, S, C, w).getDrawableElement();
|
|
1734
|
+
}
|
|
1735
|
+
}, plotIndex = 0, tmpSVGGroup, xyChartConfig = getChartDefaultConfig(), xyChartThemeConfig = getChartDefaultThemeConfig(), xyChartData = getChartDefaultData(), plotColorPalette = xyChartThemeConfig.plotColorPalette.split(",").map((e) => e.trim()), hasSetXAxis = !1, hasSetYAxis = !1;
|
|
1736
|
+
function getChartDefaultThemeConfig() {
|
|
1737
|
+
let e = getThemeVariables3(), S = getConfig();
|
|
1738
|
+
return cleanAndMerge(e.xyChart, S.themeVariables.xyChart);
|
|
1739
|
+
}
|
|
1740
|
+
__name(getChartDefaultThemeConfig, "getChartDefaultThemeConfig");
|
|
1741
|
+
function getChartDefaultConfig() {
|
|
1742
|
+
let e = getConfig();
|
|
1743
|
+
return cleanAndMerge(defaultConfig_default.xyChart, e.xyChart);
|
|
1744
|
+
}
|
|
1745
|
+
__name(getChartDefaultConfig, "getChartDefaultConfig");
|
|
1746
|
+
function getChartDefaultData() {
|
|
1747
|
+
return {
|
|
1748
|
+
yAxis: {
|
|
1749
|
+
type: "linear",
|
|
1750
|
+
title: "",
|
|
1751
|
+
min: Infinity,
|
|
1752
|
+
max: -Infinity
|
|
1753
|
+
},
|
|
1754
|
+
xAxis: {
|
|
1755
|
+
type: "band",
|
|
1756
|
+
title: "",
|
|
1757
|
+
categories: []
|
|
1758
|
+
},
|
|
1759
|
+
title: "",
|
|
1760
|
+
plots: []
|
|
1761
|
+
};
|
|
1762
|
+
}
|
|
1763
|
+
__name(getChartDefaultData, "getChartDefaultData");
|
|
1764
|
+
function textSanitizer(e) {
|
|
1765
|
+
let S = getConfig();
|
|
1766
|
+
return sanitizeText(e.trim(), S);
|
|
1767
|
+
}
|
|
1768
|
+
__name(textSanitizer, "textSanitizer");
|
|
1769
|
+
function setTmpSVGG(e) {
|
|
1770
|
+
tmpSVGGroup = e;
|
|
1771
|
+
}
|
|
1772
|
+
__name(setTmpSVGG, "setTmpSVGG");
|
|
1773
|
+
function setOrientation(e) {
|
|
1774
|
+
e === "horizontal" ? xyChartConfig.chartOrientation = "horizontal" : xyChartConfig.chartOrientation = "vertical";
|
|
1775
|
+
}
|
|
1776
|
+
__name(setOrientation, "setOrientation");
|
|
1777
|
+
function setXAxisTitle(e) {
|
|
1778
|
+
xyChartData.xAxis.title = textSanitizer(e.text);
|
|
1779
|
+
}
|
|
1780
|
+
__name(setXAxisTitle, "setXAxisTitle");
|
|
1781
|
+
function setXAxisRangeData(e, S) {
|
|
1782
|
+
xyChartData.xAxis = {
|
|
1783
|
+
type: "linear",
|
|
1784
|
+
title: xyChartData.xAxis.title,
|
|
1785
|
+
min: e,
|
|
1786
|
+
max: S
|
|
1787
|
+
}, hasSetXAxis = !0;
|
|
1788
|
+
}
|
|
1789
|
+
__name(setXAxisRangeData, "setXAxisRangeData");
|
|
1790
|
+
function setXAxisBand(e) {
|
|
1791
|
+
xyChartData.xAxis = {
|
|
1792
|
+
type: "band",
|
|
1793
|
+
title: xyChartData.xAxis.title,
|
|
1794
|
+
categories: e.map((e) => textSanitizer(e.text))
|
|
1795
|
+
}, hasSetXAxis = !0;
|
|
1796
|
+
}
|
|
1797
|
+
__name(setXAxisBand, "setXAxisBand");
|
|
1798
|
+
function setYAxisTitle(e) {
|
|
1799
|
+
xyChartData.yAxis.title = textSanitizer(e.text);
|
|
1800
|
+
}
|
|
1801
|
+
__name(setYAxisTitle, "setYAxisTitle");
|
|
1802
|
+
function setYAxisRangeData(e, S) {
|
|
1803
|
+
xyChartData.yAxis = {
|
|
1804
|
+
type: "linear",
|
|
1805
|
+
title: xyChartData.yAxis.title,
|
|
1806
|
+
min: e,
|
|
1807
|
+
max: S
|
|
1808
|
+
}, hasSetYAxis = !0;
|
|
1809
|
+
}
|
|
1810
|
+
__name(setYAxisRangeData, "setYAxisRangeData");
|
|
1811
|
+
function setYAxisRangeFromPlotData(e) {
|
|
1812
|
+
let S = Math.min(...e), C = Math.max(...e), w = isLinearAxisData(xyChartData.yAxis) ? xyChartData.yAxis.min : Infinity, T = isLinearAxisData(xyChartData.yAxis) ? xyChartData.yAxis.max : -Infinity;
|
|
1813
|
+
xyChartData.yAxis = {
|
|
1814
|
+
type: "linear",
|
|
1815
|
+
title: xyChartData.yAxis.title,
|
|
1816
|
+
min: Math.min(w, S),
|
|
1817
|
+
max: Math.max(T, C)
|
|
1818
|
+
};
|
|
1819
|
+
}
|
|
1820
|
+
__name(setYAxisRangeFromPlotData, "setYAxisRangeFromPlotData");
|
|
1821
|
+
function transformDataWithoutCategory(e) {
|
|
1822
|
+
let S = [];
|
|
1823
|
+
if (e.length === 0) return S;
|
|
1824
|
+
if (!hasSetXAxis) {
|
|
1825
|
+
let S = isLinearAxisData(xyChartData.xAxis) ? xyChartData.xAxis.min : Infinity, C = isLinearAxisData(xyChartData.xAxis) ? xyChartData.xAxis.max : -Infinity;
|
|
1826
|
+
setXAxisRangeData(Math.min(S, 1), Math.max(C, e.length));
|
|
1827
|
+
}
|
|
1828
|
+
if (hasSetYAxis || setYAxisRangeFromPlotData(e), isBandAxisData(xyChartData.xAxis) && (S = xyChartData.xAxis.categories.map((S, C) => [S, e[C]])), isLinearAxisData(xyChartData.xAxis)) {
|
|
1829
|
+
let C = xyChartData.xAxis.min, w = xyChartData.xAxis.max, T = (w - C) / (e.length - 1), E = [];
|
|
1830
|
+
for (let e = C; e <= w; e += T) E.push(`${e}`);
|
|
1831
|
+
S = E.map((S, C) => [S, e[C]]);
|
|
1832
|
+
}
|
|
1833
|
+
return S;
|
|
1834
|
+
}
|
|
1835
|
+
__name(transformDataWithoutCategory, "transformDataWithoutCategory");
|
|
1836
|
+
function getPlotColorFromPalette(e) {
|
|
1837
|
+
return plotColorPalette[e === 0 ? 0 : e % plotColorPalette.length];
|
|
1838
|
+
}
|
|
1839
|
+
__name(getPlotColorFromPalette, "getPlotColorFromPalette");
|
|
1840
|
+
function setLineData(e, S) {
|
|
1841
|
+
let C = transformDataWithoutCategory(S);
|
|
1842
|
+
xyChartData.plots.push({
|
|
1843
|
+
type: "line",
|
|
1844
|
+
strokeFill: getPlotColorFromPalette(plotIndex),
|
|
1845
|
+
strokeWidth: 2,
|
|
1846
|
+
data: C
|
|
1847
|
+
}), plotIndex++;
|
|
1848
|
+
}
|
|
1849
|
+
__name(setLineData, "setLineData");
|
|
1850
|
+
function setBarData(e, S) {
|
|
1851
|
+
let C = transformDataWithoutCategory(S);
|
|
1852
|
+
xyChartData.plots.push({
|
|
1853
|
+
type: "bar",
|
|
1854
|
+
fill: getPlotColorFromPalette(plotIndex),
|
|
1855
|
+
data: C
|
|
1856
|
+
}), plotIndex++;
|
|
1857
|
+
}
|
|
1858
|
+
__name(setBarData, "setBarData");
|
|
1859
|
+
function getDrawableElem() {
|
|
1860
|
+
if (xyChartData.plots.length === 0) throw Error("No Plot to render, please provide a plot with some data");
|
|
1861
|
+
return xyChartData.title = getDiagramTitle(), XYChartBuilder.build(xyChartConfig, xyChartData, xyChartThemeConfig, tmpSVGGroup);
|
|
1862
|
+
}
|
|
1863
|
+
__name(getDrawableElem, "getDrawableElem");
|
|
1864
|
+
function getChartThemeConfig() {
|
|
1865
|
+
return xyChartThemeConfig;
|
|
1866
|
+
}
|
|
1867
|
+
__name(getChartThemeConfig, "getChartThemeConfig");
|
|
1868
|
+
function getChartConfig() {
|
|
1869
|
+
return xyChartConfig;
|
|
1870
|
+
}
|
|
1871
|
+
__name(getChartConfig, "getChartConfig");
|
|
1872
|
+
function getXYChartData() {
|
|
1873
|
+
return xyChartData;
|
|
1874
|
+
}
|
|
1875
|
+
__name(getXYChartData, "getXYChartData");
|
|
1876
|
+
var diagram = {
|
|
1877
|
+
parser: xychart_default,
|
|
1878
|
+
db: {
|
|
1879
|
+
getDrawableElem,
|
|
1880
|
+
clear: /* @__PURE__ */ __name(function() {
|
|
1881
|
+
clear(), plotIndex = 0, xyChartConfig = getChartDefaultConfig(), xyChartData = getChartDefaultData(), xyChartThemeConfig = getChartDefaultThemeConfig(), plotColorPalette = xyChartThemeConfig.plotColorPalette.split(",").map((e) => e.trim()), hasSetXAxis = !1, hasSetYAxis = !1;
|
|
1882
|
+
}, "clear"),
|
|
1883
|
+
setAccTitle,
|
|
1884
|
+
getAccTitle,
|
|
1885
|
+
setDiagramTitle,
|
|
1886
|
+
getDiagramTitle,
|
|
1887
|
+
getAccDescription,
|
|
1888
|
+
setAccDescription,
|
|
1889
|
+
setOrientation,
|
|
1890
|
+
setXAxisTitle,
|
|
1891
|
+
setXAxisRangeData,
|
|
1892
|
+
setXAxisBand,
|
|
1893
|
+
setYAxisTitle,
|
|
1894
|
+
setYAxisRangeData,
|
|
1895
|
+
setLineData,
|
|
1896
|
+
setBarData,
|
|
1897
|
+
setTmpSVGG,
|
|
1898
|
+
getChartThemeConfig,
|
|
1899
|
+
getChartConfig,
|
|
1900
|
+
getXYChartData
|
|
1901
|
+
},
|
|
1902
|
+
renderer: { draw: /* @__PURE__ */ __name((C, T, E, D) => {
|
|
1903
|
+
let O = D.db, k = O.getChartThemeConfig(), A = O.getChartConfig(), j = O.getXYChartData().plots[0].data.map((e) => e[1]);
|
|
1904
|
+
function M(e) {
|
|
1905
|
+
return e === "top" ? "text-before-edge" : "middle";
|
|
1906
|
+
}
|
|
1907
|
+
__name(M, "getDominantBaseLine");
|
|
1908
|
+
function N(e) {
|
|
1909
|
+
return e === "left" ? "start" : e === "right" ? "end" : "middle";
|
|
1910
|
+
}
|
|
1911
|
+
__name(N, "getTextAnchor");
|
|
1912
|
+
function P(e) {
|
|
1913
|
+
return `translate(${e.x}, ${e.y}) rotate(${e.rotation || 0})`;
|
|
1914
|
+
}
|
|
1915
|
+
__name(P, "getTextTransformation"), log.debug("Rendering xychart chart\n" + C);
|
|
1916
|
+
let F = selectSvgElement(T), I = F.append("g").attr("class", "main"), L = I.append("rect").attr("width", A.width).attr("height", A.height).attr("class", "background");
|
|
1917
|
+
configureSvgSize(F, A.height, A.width, !0), F.attr("viewBox", `0 0 ${A.width} ${A.height}`), L.attr("fill", k.backgroundColor), O.setTmpSVGG(F.append("g").attr("class", "mermaid-tmp-group"));
|
|
1918
|
+
let z = O.getDrawableElem(), B = {};
|
|
1919
|
+
function V(e) {
|
|
1920
|
+
let S = I, C = "";
|
|
1921
|
+
for (let [w] of e.entries()) {
|
|
1922
|
+
let T = I;
|
|
1923
|
+
w > 0 && B[C] && (T = B[C]), C += e[w], S = B[C], S ||= B[C] = T.append("g").attr("class", e[w]);
|
|
1924
|
+
}
|
|
1925
|
+
return S;
|
|
1926
|
+
}
|
|
1927
|
+
__name(V, "getGroup");
|
|
1928
|
+
for (let S of z) {
|
|
1929
|
+
if (S.data.length === 0) continue;
|
|
1930
|
+
let C = V(S.groupTexts);
|
|
1931
|
+
switch (S.type) {
|
|
1932
|
+
case "rect":
|
|
1933
|
+
if (C.selectAll("rect").data(S.data).enter().append("rect").attr("x", (e) => e.x).attr("y", (e) => e.y).attr("width", (e) => e.width).attr("height", (e) => e.height).attr("fill", (e) => e.fill).attr("stroke", (e) => e.strokeFill).attr("stroke-width", (e) => e.strokeWidth), A.showDataLabel) if (A.chartOrientation === "horizontal") {
|
|
1934
|
+
let w = function(e, S) {
|
|
1935
|
+
let { data: C, label: w } = e;
|
|
1936
|
+
return S * w.length * T <= C.width - 10;
|
|
1937
|
+
};
|
|
1938
|
+
__name(w, "fitsHorizontally");
|
|
1939
|
+
let T = .7, E = S.data.map((e, S) => ({
|
|
1940
|
+
data: e,
|
|
1941
|
+
label: j[S].toString()
|
|
1942
|
+
})).filter((e) => e.data.width > 0 && e.data.height > 0), D = E.map((e) => {
|
|
1943
|
+
let { data: S } = e, C = S.height * .7;
|
|
1944
|
+
for (; !w(e, C) && C > 0;) --C;
|
|
1945
|
+
return C;
|
|
1946
|
+
}), O = Math.floor(Math.min(...D));
|
|
1947
|
+
C.selectAll("text").data(E).enter().append("text").attr("x", (e) => e.data.x + e.data.width - 10).attr("y", (e) => e.data.y + e.data.height / 2).attr("text-anchor", "end").attr("dominant-baseline", "middle").attr("fill", "black").attr("font-size", `${O}px`).text((e) => e.label);
|
|
1948
|
+
} else {
|
|
1949
|
+
let w = function(e, S, C) {
|
|
1950
|
+
let { data: w, label: T } = e, E = S * T.length * .7, D = w.x + w.width / 2, O = D - E / 2, k = D + E / 2, A = O >= w.x && k <= w.x + w.width, j = w.y + C + S <= w.y + w.height;
|
|
1951
|
+
return A && j;
|
|
1952
|
+
};
|
|
1953
|
+
__name(w, "fitsInBar");
|
|
1954
|
+
let T = S.data.map((e, S) => ({
|
|
1955
|
+
data: e,
|
|
1956
|
+
label: j[S].toString()
|
|
1957
|
+
})).filter((e) => e.data.width > 0 && e.data.height > 0), E = T.map((e) => {
|
|
1958
|
+
let { data: S, label: C } = e, T = S.width / (C.length * .7);
|
|
1959
|
+
for (; !w(e, T, 10) && T > 0;) --T;
|
|
1960
|
+
return T;
|
|
1961
|
+
}), D = Math.floor(Math.min(...E));
|
|
1962
|
+
C.selectAll("text").data(T).enter().append("text").attr("x", (e) => e.data.x + e.data.width / 2).attr("y", (e) => e.data.y + 10).attr("text-anchor", "middle").attr("dominant-baseline", "hanging").attr("fill", "black").attr("font-size", `${D}px`).text((e) => e.label);
|
|
1963
|
+
}
|
|
1964
|
+
break;
|
|
1965
|
+
case "text":
|
|
1966
|
+
C.selectAll("text").data(S.data).enter().append("text").attr("x", 0).attr("y", 0).attr("fill", (e) => e.fill).attr("font-size", (e) => e.fontSize).attr("dominant-baseline", (e) => M(e.verticalPos)).attr("text-anchor", (e) => N(e.horizontalPos)).attr("transform", (e) => P(e)).text((e) => e.text);
|
|
1967
|
+
break;
|
|
1968
|
+
case "path":
|
|
1969
|
+
C.selectAll("path").data(S.data).enter().append("path").attr("d", (e) => e.path).attr("fill", (e) => e.fill ? e.fill : "none").attr("stroke", (e) => e.strokeFill).attr("stroke-width", (e) => e.strokeWidth);
|
|
1970
|
+
break;
|
|
1971
|
+
}
|
|
1972
|
+
}
|
|
1973
|
+
}, "draw") }
|
|
1974
|
+
};
|
|
1975
|
+
export { diagram };
|