@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,1688 @@
|
|
|
1
|
+
import { __toESM } from "../../../../../_virtual/rolldown_runtime.js";
|
|
2
|
+
import { require_dayjs_min } from "../../../../dayjs/dayjs.min.js";
|
|
3
|
+
import { __name, log } from "./chunk-AGHRB4JF.js";
|
|
4
|
+
import { clear, common_default, configureSvgSize, getAccDescription, getAccTitle, getConfig2, getDiagramTitle, setAccDescription, setAccTitle, setDiagramTitle } from "./chunk-ABZYJK2D.js";
|
|
5
|
+
import max from "../../../../d3-array/src/max.js";
|
|
6
|
+
import min from "../../../../d3-array/src/min.js";
|
|
7
|
+
import { axisBottom, axisTop } from "../../../../d3-axis/src/axis.js";
|
|
8
|
+
import select_default from "../../../../d3-selection/src/select.js";
|
|
9
|
+
import hcl_default from "../../../../d3-interpolate/src/hcl.js";
|
|
10
|
+
import linear from "../../../../d3-scale/src/linear.js";
|
|
11
|
+
import { millisecond } from "../../../../d3-time/src/millisecond.js";
|
|
12
|
+
import { second } from "../../../../d3-time/src/second.js";
|
|
13
|
+
import { timeMinute } from "../../../../d3-time/src/minute.js";
|
|
14
|
+
import { timeHour } from "../../../../d3-time/src/hour.js";
|
|
15
|
+
import { timeDay } from "../../../../d3-time/src/day.js";
|
|
16
|
+
import { timeFriday, timeMonday, timeSaturday, timeSunday, timeThursday, timeTuesday, timeWednesday } from "../../../../d3-time/src/week.js";
|
|
17
|
+
import { timeMonth } from "../../../../d3-time/src/month.js";
|
|
18
|
+
import { timeFormat } from "../../../../d3-time-format/src/defaultLocale.js";
|
|
19
|
+
import time from "../../../../d3-scale/src/time.js";
|
|
20
|
+
import "../../../../d3/src/index.js";
|
|
21
|
+
import { require_dist } from "../../../../@braintree/sanitize-url/dist/index.js";
|
|
22
|
+
import { utils_default } from "./chunk-S3R3BYOJ.js";
|
|
23
|
+
import { require_isoWeek } from "../../../../dayjs/plugin/isoWeek.js";
|
|
24
|
+
import { require_customParseFormat } from "../../../../dayjs/plugin/customParseFormat.js";
|
|
25
|
+
import { require_advancedFormat } from "../../../../dayjs/plugin/advancedFormat.js";
|
|
26
|
+
import { require_duration } from "../../../../dayjs/plugin/duration.js";
|
|
27
|
+
var import_dist = require_dist(), import_dayjs_min = /* @__PURE__ */ __toESM(require_dayjs_min(), 1), import_isoWeek = /* @__PURE__ */ __toESM(require_isoWeek(), 1), import_customParseFormat = /* @__PURE__ */ __toESM(require_customParseFormat(), 1), import_advancedFormat = /* @__PURE__ */ __toESM(require_advancedFormat(), 1), import_dayjs_min$1 = /* @__PURE__ */ __toESM(require_dayjs_min(), 1), import_duration = /* @__PURE__ */ __toESM(require_duration(), 1), parser = (function() {
|
|
28
|
+
var e = /* @__PURE__ */ __name(function(e, f, p, m) {
|
|
29
|
+
for (p ||= {}, m = e.length; m--; p[e[m]] = f);
|
|
30
|
+
return p;
|
|
31
|
+
}, "o"), f = [
|
|
32
|
+
6,
|
|
33
|
+
8,
|
|
34
|
+
10,
|
|
35
|
+
12,
|
|
36
|
+
13,
|
|
37
|
+
14,
|
|
38
|
+
15,
|
|
39
|
+
16,
|
|
40
|
+
17,
|
|
41
|
+
18,
|
|
42
|
+
20,
|
|
43
|
+
21,
|
|
44
|
+
22,
|
|
45
|
+
23,
|
|
46
|
+
24,
|
|
47
|
+
25,
|
|
48
|
+
26,
|
|
49
|
+
27,
|
|
50
|
+
28,
|
|
51
|
+
29,
|
|
52
|
+
30,
|
|
53
|
+
31,
|
|
54
|
+
33,
|
|
55
|
+
35,
|
|
56
|
+
36,
|
|
57
|
+
38,
|
|
58
|
+
40
|
|
59
|
+
], m = [1, 26], h = [1, 27], g = [1, 28], _ = [1, 29], v = [1, 30], y = [1, 31], b = [1, 32], x = [1, 33], S = [1, 34], C = [1, 9], T = [1, 10], E = [1, 11], D = [1, 12], O = [1, 13], k = [1, 14], A = [1, 15], j = [1, 16], M = [1, 19], N = [1, 20], P = [1, 21], F = [1, 22], I = [1, 23], L = [1, 25], R = [1, 35], z = {
|
|
60
|
+
trace: /* @__PURE__ */ __name(function() {}, "trace"),
|
|
61
|
+
yy: {},
|
|
62
|
+
symbols_: {
|
|
63
|
+
error: 2,
|
|
64
|
+
start: 3,
|
|
65
|
+
gantt: 4,
|
|
66
|
+
document: 5,
|
|
67
|
+
EOF: 6,
|
|
68
|
+
line: 7,
|
|
69
|
+
SPACE: 8,
|
|
70
|
+
statement: 9,
|
|
71
|
+
NL: 10,
|
|
72
|
+
weekday: 11,
|
|
73
|
+
weekday_monday: 12,
|
|
74
|
+
weekday_tuesday: 13,
|
|
75
|
+
weekday_wednesday: 14,
|
|
76
|
+
weekday_thursday: 15,
|
|
77
|
+
weekday_friday: 16,
|
|
78
|
+
weekday_saturday: 17,
|
|
79
|
+
weekday_sunday: 18,
|
|
80
|
+
weekend: 19,
|
|
81
|
+
weekend_friday: 20,
|
|
82
|
+
weekend_saturday: 21,
|
|
83
|
+
dateFormat: 22,
|
|
84
|
+
inclusiveEndDates: 23,
|
|
85
|
+
topAxis: 24,
|
|
86
|
+
axisFormat: 25,
|
|
87
|
+
tickInterval: 26,
|
|
88
|
+
excludes: 27,
|
|
89
|
+
includes: 28,
|
|
90
|
+
todayMarker: 29,
|
|
91
|
+
title: 30,
|
|
92
|
+
acc_title: 31,
|
|
93
|
+
acc_title_value: 32,
|
|
94
|
+
acc_descr: 33,
|
|
95
|
+
acc_descr_value: 34,
|
|
96
|
+
acc_descr_multiline_value: 35,
|
|
97
|
+
section: 36,
|
|
98
|
+
clickStatement: 37,
|
|
99
|
+
taskTxt: 38,
|
|
100
|
+
taskData: 39,
|
|
101
|
+
click: 40,
|
|
102
|
+
callbackname: 41,
|
|
103
|
+
callbackargs: 42,
|
|
104
|
+
href: 43,
|
|
105
|
+
clickStatementDebug: 44,
|
|
106
|
+
$accept: 0,
|
|
107
|
+
$end: 1
|
|
108
|
+
},
|
|
109
|
+
terminals_: {
|
|
110
|
+
2: "error",
|
|
111
|
+
4: "gantt",
|
|
112
|
+
6: "EOF",
|
|
113
|
+
8: "SPACE",
|
|
114
|
+
10: "NL",
|
|
115
|
+
12: "weekday_monday",
|
|
116
|
+
13: "weekday_tuesday",
|
|
117
|
+
14: "weekday_wednesday",
|
|
118
|
+
15: "weekday_thursday",
|
|
119
|
+
16: "weekday_friday",
|
|
120
|
+
17: "weekday_saturday",
|
|
121
|
+
18: "weekday_sunday",
|
|
122
|
+
20: "weekend_friday",
|
|
123
|
+
21: "weekend_saturday",
|
|
124
|
+
22: "dateFormat",
|
|
125
|
+
23: "inclusiveEndDates",
|
|
126
|
+
24: "topAxis",
|
|
127
|
+
25: "axisFormat",
|
|
128
|
+
26: "tickInterval",
|
|
129
|
+
27: "excludes",
|
|
130
|
+
28: "includes",
|
|
131
|
+
29: "todayMarker",
|
|
132
|
+
30: "title",
|
|
133
|
+
31: "acc_title",
|
|
134
|
+
32: "acc_title_value",
|
|
135
|
+
33: "acc_descr",
|
|
136
|
+
34: "acc_descr_value",
|
|
137
|
+
35: "acc_descr_multiline_value",
|
|
138
|
+
36: "section",
|
|
139
|
+
38: "taskTxt",
|
|
140
|
+
39: "taskData",
|
|
141
|
+
40: "click",
|
|
142
|
+
41: "callbackname",
|
|
143
|
+
42: "callbackargs",
|
|
144
|
+
43: "href"
|
|
145
|
+
},
|
|
146
|
+
productions_: [
|
|
147
|
+
0,
|
|
148
|
+
[3, 3],
|
|
149
|
+
[5, 0],
|
|
150
|
+
[5, 2],
|
|
151
|
+
[7, 2],
|
|
152
|
+
[7, 1],
|
|
153
|
+
[7, 1],
|
|
154
|
+
[7, 1],
|
|
155
|
+
[11, 1],
|
|
156
|
+
[11, 1],
|
|
157
|
+
[11, 1],
|
|
158
|
+
[11, 1],
|
|
159
|
+
[11, 1],
|
|
160
|
+
[11, 1],
|
|
161
|
+
[11, 1],
|
|
162
|
+
[19, 1],
|
|
163
|
+
[19, 1],
|
|
164
|
+
[9, 1],
|
|
165
|
+
[9, 1],
|
|
166
|
+
[9, 1],
|
|
167
|
+
[9, 1],
|
|
168
|
+
[9, 1],
|
|
169
|
+
[9, 1],
|
|
170
|
+
[9, 1],
|
|
171
|
+
[9, 1],
|
|
172
|
+
[9, 1],
|
|
173
|
+
[9, 1],
|
|
174
|
+
[9, 1],
|
|
175
|
+
[9, 2],
|
|
176
|
+
[9, 2],
|
|
177
|
+
[9, 1],
|
|
178
|
+
[9, 1],
|
|
179
|
+
[9, 1],
|
|
180
|
+
[9, 2],
|
|
181
|
+
[37, 2],
|
|
182
|
+
[37, 3],
|
|
183
|
+
[37, 3],
|
|
184
|
+
[37, 4],
|
|
185
|
+
[37, 3],
|
|
186
|
+
[37, 4],
|
|
187
|
+
[37, 2],
|
|
188
|
+
[44, 2],
|
|
189
|
+
[44, 3],
|
|
190
|
+
[44, 3],
|
|
191
|
+
[44, 4],
|
|
192
|
+
[44, 3],
|
|
193
|
+
[44, 4],
|
|
194
|
+
[44, 2]
|
|
195
|
+
],
|
|
196
|
+
performAction: /* @__PURE__ */ __name(function(e, f, p, m, h, g, _) {
|
|
197
|
+
var v = g.length - 1;
|
|
198
|
+
switch (h) {
|
|
199
|
+
case 1: return g[v - 1];
|
|
200
|
+
case 2:
|
|
201
|
+
this.$ = [];
|
|
202
|
+
break;
|
|
203
|
+
case 3:
|
|
204
|
+
g[v - 1].push(g[v]), this.$ = g[v - 1];
|
|
205
|
+
break;
|
|
206
|
+
case 4:
|
|
207
|
+
case 5:
|
|
208
|
+
this.$ = g[v];
|
|
209
|
+
break;
|
|
210
|
+
case 6:
|
|
211
|
+
case 7:
|
|
212
|
+
this.$ = [];
|
|
213
|
+
break;
|
|
214
|
+
case 8:
|
|
215
|
+
m.setWeekday("monday");
|
|
216
|
+
break;
|
|
217
|
+
case 9:
|
|
218
|
+
m.setWeekday("tuesday");
|
|
219
|
+
break;
|
|
220
|
+
case 10:
|
|
221
|
+
m.setWeekday("wednesday");
|
|
222
|
+
break;
|
|
223
|
+
case 11:
|
|
224
|
+
m.setWeekday("thursday");
|
|
225
|
+
break;
|
|
226
|
+
case 12:
|
|
227
|
+
m.setWeekday("friday");
|
|
228
|
+
break;
|
|
229
|
+
case 13:
|
|
230
|
+
m.setWeekday("saturday");
|
|
231
|
+
break;
|
|
232
|
+
case 14:
|
|
233
|
+
m.setWeekday("sunday");
|
|
234
|
+
break;
|
|
235
|
+
case 15:
|
|
236
|
+
m.setWeekend("friday");
|
|
237
|
+
break;
|
|
238
|
+
case 16:
|
|
239
|
+
m.setWeekend("saturday");
|
|
240
|
+
break;
|
|
241
|
+
case 17:
|
|
242
|
+
m.setDateFormat(g[v].substr(11)), this.$ = g[v].substr(11);
|
|
243
|
+
break;
|
|
244
|
+
case 18:
|
|
245
|
+
m.enableInclusiveEndDates(), this.$ = g[v].substr(18);
|
|
246
|
+
break;
|
|
247
|
+
case 19:
|
|
248
|
+
m.TopAxis(), this.$ = g[v].substr(8);
|
|
249
|
+
break;
|
|
250
|
+
case 20:
|
|
251
|
+
m.setAxisFormat(g[v].substr(11)), this.$ = g[v].substr(11);
|
|
252
|
+
break;
|
|
253
|
+
case 21:
|
|
254
|
+
m.setTickInterval(g[v].substr(13)), this.$ = g[v].substr(13);
|
|
255
|
+
break;
|
|
256
|
+
case 22:
|
|
257
|
+
m.setExcludes(g[v].substr(9)), this.$ = g[v].substr(9);
|
|
258
|
+
break;
|
|
259
|
+
case 23:
|
|
260
|
+
m.setIncludes(g[v].substr(9)), this.$ = g[v].substr(9);
|
|
261
|
+
break;
|
|
262
|
+
case 24:
|
|
263
|
+
m.setTodayMarker(g[v].substr(12)), this.$ = g[v].substr(12);
|
|
264
|
+
break;
|
|
265
|
+
case 27:
|
|
266
|
+
m.setDiagramTitle(g[v].substr(6)), this.$ = g[v].substr(6);
|
|
267
|
+
break;
|
|
268
|
+
case 28:
|
|
269
|
+
this.$ = g[v].trim(), m.setAccTitle(this.$);
|
|
270
|
+
break;
|
|
271
|
+
case 29:
|
|
272
|
+
case 30:
|
|
273
|
+
this.$ = g[v].trim(), m.setAccDescription(this.$);
|
|
274
|
+
break;
|
|
275
|
+
case 31:
|
|
276
|
+
m.addSection(g[v].substr(8)), this.$ = g[v].substr(8);
|
|
277
|
+
break;
|
|
278
|
+
case 33:
|
|
279
|
+
m.addTask(g[v - 1], g[v]), this.$ = "task";
|
|
280
|
+
break;
|
|
281
|
+
case 34:
|
|
282
|
+
this.$ = g[v - 1], m.setClickEvent(g[v - 1], g[v], null);
|
|
283
|
+
break;
|
|
284
|
+
case 35:
|
|
285
|
+
this.$ = g[v - 2], m.setClickEvent(g[v - 2], g[v - 1], g[v]);
|
|
286
|
+
break;
|
|
287
|
+
case 36:
|
|
288
|
+
this.$ = g[v - 2], m.setClickEvent(g[v - 2], g[v - 1], null), m.setLink(g[v - 2], g[v]);
|
|
289
|
+
break;
|
|
290
|
+
case 37:
|
|
291
|
+
this.$ = g[v - 3], m.setClickEvent(g[v - 3], g[v - 2], g[v - 1]), m.setLink(g[v - 3], g[v]);
|
|
292
|
+
break;
|
|
293
|
+
case 38:
|
|
294
|
+
this.$ = g[v - 2], m.setClickEvent(g[v - 2], g[v], null), m.setLink(g[v - 2], g[v - 1]);
|
|
295
|
+
break;
|
|
296
|
+
case 39:
|
|
297
|
+
this.$ = g[v - 3], m.setClickEvent(g[v - 3], g[v - 1], g[v]), m.setLink(g[v - 3], g[v - 2]);
|
|
298
|
+
break;
|
|
299
|
+
case 40:
|
|
300
|
+
this.$ = g[v - 1], m.setLink(g[v - 1], g[v]);
|
|
301
|
+
break;
|
|
302
|
+
case 41:
|
|
303
|
+
case 47:
|
|
304
|
+
this.$ = g[v - 1] + " " + g[v];
|
|
305
|
+
break;
|
|
306
|
+
case 42:
|
|
307
|
+
case 43:
|
|
308
|
+
case 45:
|
|
309
|
+
this.$ = g[v - 2] + " " + g[v - 1] + " " + g[v];
|
|
310
|
+
break;
|
|
311
|
+
case 44:
|
|
312
|
+
case 46:
|
|
313
|
+
this.$ = g[v - 3] + " " + g[v - 2] + " " + g[v - 1] + " " + g[v];
|
|
314
|
+
break;
|
|
315
|
+
}
|
|
316
|
+
}, "anonymous"),
|
|
317
|
+
table: [
|
|
318
|
+
{
|
|
319
|
+
3: 1,
|
|
320
|
+
4: [1, 2]
|
|
321
|
+
},
|
|
322
|
+
{ 1: [3] },
|
|
323
|
+
e(f, [2, 2], { 5: 3 }),
|
|
324
|
+
{
|
|
325
|
+
6: [1, 4],
|
|
326
|
+
7: 5,
|
|
327
|
+
8: [1, 6],
|
|
328
|
+
9: 7,
|
|
329
|
+
10: [1, 8],
|
|
330
|
+
11: 17,
|
|
331
|
+
12: m,
|
|
332
|
+
13: h,
|
|
333
|
+
14: g,
|
|
334
|
+
15: _,
|
|
335
|
+
16: v,
|
|
336
|
+
17: y,
|
|
337
|
+
18: b,
|
|
338
|
+
19: 18,
|
|
339
|
+
20: x,
|
|
340
|
+
21: S,
|
|
341
|
+
22: C,
|
|
342
|
+
23: T,
|
|
343
|
+
24: E,
|
|
344
|
+
25: D,
|
|
345
|
+
26: O,
|
|
346
|
+
27: k,
|
|
347
|
+
28: A,
|
|
348
|
+
29: j,
|
|
349
|
+
30: M,
|
|
350
|
+
31: N,
|
|
351
|
+
33: P,
|
|
352
|
+
35: F,
|
|
353
|
+
36: I,
|
|
354
|
+
37: 24,
|
|
355
|
+
38: L,
|
|
356
|
+
40: R
|
|
357
|
+
},
|
|
358
|
+
e(f, [2, 7], { 1: [2, 1] }),
|
|
359
|
+
e(f, [2, 3]),
|
|
360
|
+
{
|
|
361
|
+
9: 36,
|
|
362
|
+
11: 17,
|
|
363
|
+
12: m,
|
|
364
|
+
13: h,
|
|
365
|
+
14: g,
|
|
366
|
+
15: _,
|
|
367
|
+
16: v,
|
|
368
|
+
17: y,
|
|
369
|
+
18: b,
|
|
370
|
+
19: 18,
|
|
371
|
+
20: x,
|
|
372
|
+
21: S,
|
|
373
|
+
22: C,
|
|
374
|
+
23: T,
|
|
375
|
+
24: E,
|
|
376
|
+
25: D,
|
|
377
|
+
26: O,
|
|
378
|
+
27: k,
|
|
379
|
+
28: A,
|
|
380
|
+
29: j,
|
|
381
|
+
30: M,
|
|
382
|
+
31: N,
|
|
383
|
+
33: P,
|
|
384
|
+
35: F,
|
|
385
|
+
36: I,
|
|
386
|
+
37: 24,
|
|
387
|
+
38: L,
|
|
388
|
+
40: R
|
|
389
|
+
},
|
|
390
|
+
e(f, [2, 5]),
|
|
391
|
+
e(f, [2, 6]),
|
|
392
|
+
e(f, [2, 17]),
|
|
393
|
+
e(f, [2, 18]),
|
|
394
|
+
e(f, [2, 19]),
|
|
395
|
+
e(f, [2, 20]),
|
|
396
|
+
e(f, [2, 21]),
|
|
397
|
+
e(f, [2, 22]),
|
|
398
|
+
e(f, [2, 23]),
|
|
399
|
+
e(f, [2, 24]),
|
|
400
|
+
e(f, [2, 25]),
|
|
401
|
+
e(f, [2, 26]),
|
|
402
|
+
e(f, [2, 27]),
|
|
403
|
+
{ 32: [1, 37] },
|
|
404
|
+
{ 34: [1, 38] },
|
|
405
|
+
e(f, [2, 30]),
|
|
406
|
+
e(f, [2, 31]),
|
|
407
|
+
e(f, [2, 32]),
|
|
408
|
+
{ 39: [1, 39] },
|
|
409
|
+
e(f, [2, 8]),
|
|
410
|
+
e(f, [2, 9]),
|
|
411
|
+
e(f, [2, 10]),
|
|
412
|
+
e(f, [2, 11]),
|
|
413
|
+
e(f, [2, 12]),
|
|
414
|
+
e(f, [2, 13]),
|
|
415
|
+
e(f, [2, 14]),
|
|
416
|
+
e(f, [2, 15]),
|
|
417
|
+
e(f, [2, 16]),
|
|
418
|
+
{
|
|
419
|
+
41: [1, 40],
|
|
420
|
+
43: [1, 41]
|
|
421
|
+
},
|
|
422
|
+
e(f, [2, 4]),
|
|
423
|
+
e(f, [2, 28]),
|
|
424
|
+
e(f, [2, 29]),
|
|
425
|
+
e(f, [2, 33]),
|
|
426
|
+
e(f, [2, 34], {
|
|
427
|
+
42: [1, 42],
|
|
428
|
+
43: [1, 43]
|
|
429
|
+
}),
|
|
430
|
+
e(f, [2, 40], { 41: [1, 44] }),
|
|
431
|
+
e(f, [2, 35], { 43: [1, 45] }),
|
|
432
|
+
e(f, [2, 36]),
|
|
433
|
+
e(f, [2, 38], { 42: [1, 46] }),
|
|
434
|
+
e(f, [2, 37]),
|
|
435
|
+
e(f, [2, 39])
|
|
436
|
+
],
|
|
437
|
+
defaultActions: {},
|
|
438
|
+
parseError: /* @__PURE__ */ __name(function(e, f) {
|
|
439
|
+
if (f.recoverable) this.trace(e);
|
|
440
|
+
else {
|
|
441
|
+
var p = Error(e);
|
|
442
|
+
throw p.hash = f, p;
|
|
443
|
+
}
|
|
444
|
+
}, "parseError"),
|
|
445
|
+
parse: /* @__PURE__ */ __name(function(e) {
|
|
446
|
+
var f = this, m = [0], h = [], g = [null], _ = [], v = this.table, y = "", b = 0, x = 0, S = 0, C = 2, T = 1, E = _.slice.call(arguments, 1), D = Object.create(this.lexer), O = { yy: {} };
|
|
447
|
+
for (var k in this.yy) Object.prototype.hasOwnProperty.call(this.yy, k) && (O.yy[k] = this.yy[k]);
|
|
448
|
+
D.setInput(e, O.yy), O.yy.lexer = D, O.yy.parser = this, D.yylloc === void 0 && (D.yylloc = {});
|
|
449
|
+
var A = D.yylloc;
|
|
450
|
+
_.push(A);
|
|
451
|
+
var j = D.options && D.options.ranges;
|
|
452
|
+
typeof O.yy.parseError == "function" ? this.parseError = O.yy.parseError : this.parseError = Object.getPrototypeOf(this).parseError;
|
|
453
|
+
function M(e) {
|
|
454
|
+
m.length -= 2 * e, g.length -= e, _.length -= e;
|
|
455
|
+
}
|
|
456
|
+
__name(M, "popStack");
|
|
457
|
+
function N() {
|
|
458
|
+
var e = h.pop() || D.lex() || T;
|
|
459
|
+
return typeof e != "number" && (e instanceof Array && (h = e, e = h.pop()), e = f.symbols_[e] || e), e;
|
|
460
|
+
}
|
|
461
|
+
__name(N, "lex");
|
|
462
|
+
for (var P, F, I, L, R, z = {}, B, V, H, U;;) {
|
|
463
|
+
if (I = m[m.length - 1], this.defaultActions[I] ? L = this.defaultActions[I] : (P ??= N(), L = v[I] && v[I][P]), L === void 0 || !L.length || !L[0]) {
|
|
464
|
+
var W = "";
|
|
465
|
+
for (B in U = [], v[I]) this.terminals_[B] && B > C && U.push("'" + this.terminals_[B] + "'");
|
|
466
|
+
W = D.showPosition ? "Parse error on line " + (b + 1) + ":\n" + D.showPosition() + "\nExpecting " + U.join(", ") + ", got '" + (this.terminals_[P] || P) + "'" : "Parse error on line " + (b + 1) + ": Unexpected " + (P == T ? "end of input" : "'" + (this.terminals_[P] || P) + "'"), this.parseError(W, {
|
|
467
|
+
text: D.match,
|
|
468
|
+
token: this.terminals_[P] || P,
|
|
469
|
+
line: D.yylineno,
|
|
470
|
+
loc: A,
|
|
471
|
+
expected: U
|
|
472
|
+
});
|
|
473
|
+
}
|
|
474
|
+
if (L[0] instanceof Array && L.length > 1) throw Error("Parse Error: multiple actions possible at state: " + I + ", token: " + P);
|
|
475
|
+
switch (L[0]) {
|
|
476
|
+
case 1:
|
|
477
|
+
m.push(P), g.push(D.yytext), _.push(D.yylloc), m.push(L[1]), P = null, F ? (P = F, F = null) : (x = D.yyleng, y = D.yytext, b = D.yylineno, A = D.yylloc, S > 0 && S--);
|
|
478
|
+
break;
|
|
479
|
+
case 2:
|
|
480
|
+
if (V = this.productions_[L[1]][1], z.$ = g[g.length - V], z._$ = {
|
|
481
|
+
first_line: _[_.length - (V || 1)].first_line,
|
|
482
|
+
last_line: _[_.length - 1].last_line,
|
|
483
|
+
first_column: _[_.length - (V || 1)].first_column,
|
|
484
|
+
last_column: _[_.length - 1].last_column
|
|
485
|
+
}, j && (z._$.range = [_[_.length - (V || 1)].range[0], _[_.length - 1].range[1]]), R = this.performAction.apply(z, [
|
|
486
|
+
y,
|
|
487
|
+
x,
|
|
488
|
+
b,
|
|
489
|
+
O.yy,
|
|
490
|
+
L[1],
|
|
491
|
+
g,
|
|
492
|
+
_
|
|
493
|
+
].concat(E)), R !== void 0) return R;
|
|
494
|
+
V && (m = m.slice(0, -1 * V * 2), g = g.slice(0, -1 * V), _ = _.slice(0, -1 * V)), m.push(this.productions_[L[1]][0]), g.push(z.$), _.push(z._$), H = v[m[m.length - 2]][m[m.length - 1]], m.push(H);
|
|
495
|
+
break;
|
|
496
|
+
case 3: return !0;
|
|
497
|
+
}
|
|
498
|
+
}
|
|
499
|
+
return !0;
|
|
500
|
+
}, "parse")
|
|
501
|
+
};
|
|
502
|
+
z.lexer = /* @__PURE__ */ (function() {
|
|
503
|
+
return {
|
|
504
|
+
EOF: 1,
|
|
505
|
+
parseError: /* @__PURE__ */ __name(function(e, f) {
|
|
506
|
+
if (this.yy.parser) this.yy.parser.parseError(e, f);
|
|
507
|
+
else throw Error(e);
|
|
508
|
+
}, "parseError"),
|
|
509
|
+
setInput: /* @__PURE__ */ __name(function(e, f) {
|
|
510
|
+
return this.yy = f || 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 = {
|
|
511
|
+
first_line: 1,
|
|
512
|
+
first_column: 0,
|
|
513
|
+
last_line: 1,
|
|
514
|
+
last_column: 0
|
|
515
|
+
}, this.options.ranges && (this.yylloc.range = [0, 0]), this.offset = 0, this;
|
|
516
|
+
}, "setInput"),
|
|
517
|
+
input: /* @__PURE__ */ __name(function() {
|
|
518
|
+
var e = this._input[0];
|
|
519
|
+
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;
|
|
520
|
+
}, "input"),
|
|
521
|
+
unput: /* @__PURE__ */ __name(function(e) {
|
|
522
|
+
var f = e.length, p = e.split(/(?:\r\n?|\n)/g);
|
|
523
|
+
this._input = e + this._input, this.yytext = this.yytext.substr(0, this.yytext.length - f), this.offset -= f;
|
|
524
|
+
var m = this.match.split(/(?:\r\n?|\n)/g);
|
|
525
|
+
this.match = this.match.substr(0, this.match.length - 1), this.matched = this.matched.substr(0, this.matched.length - 1), p.length - 1 && (this.yylineno -= p.length - 1);
|
|
526
|
+
var h = this.yylloc.range;
|
|
527
|
+
return this.yylloc = {
|
|
528
|
+
first_line: this.yylloc.first_line,
|
|
529
|
+
last_line: this.yylineno + 1,
|
|
530
|
+
first_column: this.yylloc.first_column,
|
|
531
|
+
last_column: p ? (p.length === m.length ? this.yylloc.first_column : 0) + m[m.length - p.length].length - p[0].length : this.yylloc.first_column - f
|
|
532
|
+
}, this.options.ranges && (this.yylloc.range = [h[0], h[0] + this.yyleng - f]), this.yyleng = this.yytext.length, this;
|
|
533
|
+
}, "unput"),
|
|
534
|
+
more: /* @__PURE__ */ __name(function() {
|
|
535
|
+
return this._more = !0, this;
|
|
536
|
+
}, "more"),
|
|
537
|
+
reject: /* @__PURE__ */ __name(function() {
|
|
538
|
+
if (this.options.backtrack_lexer) this._backtrack = !0;
|
|
539
|
+
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(), {
|
|
540
|
+
text: "",
|
|
541
|
+
token: null,
|
|
542
|
+
line: this.yylineno
|
|
543
|
+
});
|
|
544
|
+
return this;
|
|
545
|
+
}, "reject"),
|
|
546
|
+
less: /* @__PURE__ */ __name(function(e) {
|
|
547
|
+
this.unput(this.match.slice(e));
|
|
548
|
+
}, "less"),
|
|
549
|
+
pastInput: /* @__PURE__ */ __name(function() {
|
|
550
|
+
var e = this.matched.substr(0, this.matched.length - this.match.length);
|
|
551
|
+
return (e.length > 20 ? "..." : "") + e.substr(-20).replace(/\n/g, "");
|
|
552
|
+
}, "pastInput"),
|
|
553
|
+
upcomingInput: /* @__PURE__ */ __name(function() {
|
|
554
|
+
var e = this.match;
|
|
555
|
+
return e.length < 20 && (e += this._input.substr(0, 20 - e.length)), (e.substr(0, 20) + (e.length > 20 ? "..." : "")).replace(/\n/g, "");
|
|
556
|
+
}, "upcomingInput"),
|
|
557
|
+
showPosition: /* @__PURE__ */ __name(function() {
|
|
558
|
+
var e = this.pastInput(), f = Array(e.length + 1).join("-");
|
|
559
|
+
return e + this.upcomingInput() + "\n" + f + "^";
|
|
560
|
+
}, "showPosition"),
|
|
561
|
+
test_match: /* @__PURE__ */ __name(function(e, f) {
|
|
562
|
+
var p, m, h;
|
|
563
|
+
if (this.options.backtrack_lexer && (h = {
|
|
564
|
+
yylineno: this.yylineno,
|
|
565
|
+
yylloc: {
|
|
566
|
+
first_line: this.yylloc.first_line,
|
|
567
|
+
last_line: this.last_line,
|
|
568
|
+
first_column: this.yylloc.first_column,
|
|
569
|
+
last_column: this.yylloc.last_column
|
|
570
|
+
},
|
|
571
|
+
yytext: this.yytext,
|
|
572
|
+
match: this.match,
|
|
573
|
+
matches: this.matches,
|
|
574
|
+
matched: this.matched,
|
|
575
|
+
yyleng: this.yyleng,
|
|
576
|
+
offset: this.offset,
|
|
577
|
+
_more: this._more,
|
|
578
|
+
_input: this._input,
|
|
579
|
+
yy: this.yy,
|
|
580
|
+
conditionStack: this.conditionStack.slice(0),
|
|
581
|
+
done: this.done
|
|
582
|
+
}, this.options.ranges && (h.yylloc.range = this.yylloc.range.slice(0))), m = e[0].match(/(?:\r\n?|\n).*/g), m && (this.yylineno += m.length), this.yylloc = {
|
|
583
|
+
first_line: this.yylloc.last_line,
|
|
584
|
+
last_line: this.yylineno + 1,
|
|
585
|
+
first_column: this.yylloc.last_column,
|
|
586
|
+
last_column: m ? m[m.length - 1].length - m[m.length - 1].match(/\r?\n?/)[0].length : this.yylloc.last_column + e[0].length
|
|
587
|
+
}, 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], p = this.performAction.call(this, this.yy, this, f, this.conditionStack[this.conditionStack.length - 1]), this.done && this._input && (this.done = !1), p) return p;
|
|
588
|
+
if (this._backtrack) {
|
|
589
|
+
for (var g in h) this[g] = h[g];
|
|
590
|
+
return !1;
|
|
591
|
+
}
|
|
592
|
+
return !1;
|
|
593
|
+
}, "test_match"),
|
|
594
|
+
next: /* @__PURE__ */ __name(function() {
|
|
595
|
+
if (this.done) return this.EOF;
|
|
596
|
+
this._input || (this.done = !0);
|
|
597
|
+
var e, f, p, m;
|
|
598
|
+
this._more || (this.yytext = "", this.match = "");
|
|
599
|
+
for (var h = this._currentRules(), g = 0; g < h.length; g++) if (p = this._input.match(this.rules[h[g]]), p && (!f || p[0].length > f[0].length)) {
|
|
600
|
+
if (f = p, m = g, this.options.backtrack_lexer) {
|
|
601
|
+
if (e = this.test_match(p, h[g]), e !== !1) return e;
|
|
602
|
+
if (this._backtrack) {
|
|
603
|
+
f = !1;
|
|
604
|
+
continue;
|
|
605
|
+
} else return !1;
|
|
606
|
+
} else if (!this.options.flex) break;
|
|
607
|
+
}
|
|
608
|
+
return f ? (e = this.test_match(f, h[m]), e === !1 ? !1 : e) : this._input === "" ? this.EOF : this.parseError("Lexical error on line " + (this.yylineno + 1) + ". Unrecognized text.\n" + this.showPosition(), {
|
|
609
|
+
text: "",
|
|
610
|
+
token: null,
|
|
611
|
+
line: this.yylineno
|
|
612
|
+
});
|
|
613
|
+
}, "next"),
|
|
614
|
+
lex: /* @__PURE__ */ __name(function() {
|
|
615
|
+
return this.next() || this.lex();
|
|
616
|
+
}, "lex"),
|
|
617
|
+
begin: /* @__PURE__ */ __name(function(e) {
|
|
618
|
+
this.conditionStack.push(e);
|
|
619
|
+
}, "begin"),
|
|
620
|
+
popState: /* @__PURE__ */ __name(function() {
|
|
621
|
+
return this.conditionStack.length - 1 > 0 ? this.conditionStack.pop() : this.conditionStack[0];
|
|
622
|
+
}, "popState"),
|
|
623
|
+
_currentRules: /* @__PURE__ */ __name(function() {
|
|
624
|
+
return this.conditionStack.length && this.conditionStack[this.conditionStack.length - 1] ? this.conditions[this.conditionStack[this.conditionStack.length - 1]].rules : this.conditions.INITIAL.rules;
|
|
625
|
+
}, "_currentRules"),
|
|
626
|
+
topState: /* @__PURE__ */ __name(function(e) {
|
|
627
|
+
return e = this.conditionStack.length - 1 - Math.abs(e || 0), e >= 0 ? this.conditionStack[e] : "INITIAL";
|
|
628
|
+
}, "topState"),
|
|
629
|
+
pushState: /* @__PURE__ */ __name(function(e) {
|
|
630
|
+
this.begin(e);
|
|
631
|
+
}, "pushState"),
|
|
632
|
+
stateStackSize: /* @__PURE__ */ __name(function() {
|
|
633
|
+
return this.conditionStack.length;
|
|
634
|
+
}, "stateStackSize"),
|
|
635
|
+
options: { "case-insensitive": !0 },
|
|
636
|
+
performAction: /* @__PURE__ */ __name(function(e, f, p, m) {
|
|
637
|
+
switch (p) {
|
|
638
|
+
case 0: return this.begin("open_directive"), "open_directive";
|
|
639
|
+
case 1: return this.begin("acc_title"), 31;
|
|
640
|
+
case 2: return this.popState(), "acc_title_value";
|
|
641
|
+
case 3: return this.begin("acc_descr"), 33;
|
|
642
|
+
case 4: return this.popState(), "acc_descr_value";
|
|
643
|
+
case 5:
|
|
644
|
+
this.begin("acc_descr_multiline");
|
|
645
|
+
break;
|
|
646
|
+
case 6:
|
|
647
|
+
this.popState();
|
|
648
|
+
break;
|
|
649
|
+
case 7: return "acc_descr_multiline_value";
|
|
650
|
+
case 8: break;
|
|
651
|
+
case 9: break;
|
|
652
|
+
case 10: break;
|
|
653
|
+
case 11: return 10;
|
|
654
|
+
case 12: break;
|
|
655
|
+
case 13: break;
|
|
656
|
+
case 14:
|
|
657
|
+
this.begin("href");
|
|
658
|
+
break;
|
|
659
|
+
case 15:
|
|
660
|
+
this.popState();
|
|
661
|
+
break;
|
|
662
|
+
case 16: return 43;
|
|
663
|
+
case 17:
|
|
664
|
+
this.begin("callbackname");
|
|
665
|
+
break;
|
|
666
|
+
case 18:
|
|
667
|
+
this.popState();
|
|
668
|
+
break;
|
|
669
|
+
case 19:
|
|
670
|
+
this.popState(), this.begin("callbackargs");
|
|
671
|
+
break;
|
|
672
|
+
case 20: return 41;
|
|
673
|
+
case 21:
|
|
674
|
+
this.popState();
|
|
675
|
+
break;
|
|
676
|
+
case 22: return 42;
|
|
677
|
+
case 23:
|
|
678
|
+
this.begin("click");
|
|
679
|
+
break;
|
|
680
|
+
case 24:
|
|
681
|
+
this.popState();
|
|
682
|
+
break;
|
|
683
|
+
case 25: return 40;
|
|
684
|
+
case 26: return 4;
|
|
685
|
+
case 27: return 22;
|
|
686
|
+
case 28: return 23;
|
|
687
|
+
case 29: return 24;
|
|
688
|
+
case 30: return 25;
|
|
689
|
+
case 31: return 26;
|
|
690
|
+
case 32: return 28;
|
|
691
|
+
case 33: return 27;
|
|
692
|
+
case 34: return 29;
|
|
693
|
+
case 35: return 12;
|
|
694
|
+
case 36: return 13;
|
|
695
|
+
case 37: return 14;
|
|
696
|
+
case 38: return 15;
|
|
697
|
+
case 39: return 16;
|
|
698
|
+
case 40: return 17;
|
|
699
|
+
case 41: return 18;
|
|
700
|
+
case 42: return 20;
|
|
701
|
+
case 43: return 21;
|
|
702
|
+
case 44: return "date";
|
|
703
|
+
case 45: return 30;
|
|
704
|
+
case 46: return "accDescription";
|
|
705
|
+
case 47: return 36;
|
|
706
|
+
case 48: return 38;
|
|
707
|
+
case 49: return 39;
|
|
708
|
+
case 50: return ":";
|
|
709
|
+
case 51: return 6;
|
|
710
|
+
case 52: return "INVALID";
|
|
711
|
+
}
|
|
712
|
+
}, "anonymous"),
|
|
713
|
+
rules: [
|
|
714
|
+
/^(?:%%\{)/i,
|
|
715
|
+
/^(?:accTitle\s*:\s*)/i,
|
|
716
|
+
/^(?:(?!\n||)*[^\n]*)/i,
|
|
717
|
+
/^(?:accDescr\s*:\s*)/i,
|
|
718
|
+
/^(?:(?!\n||)*[^\n]*)/i,
|
|
719
|
+
/^(?:accDescr\s*\{\s*)/i,
|
|
720
|
+
/^(?:[\}])/i,
|
|
721
|
+
/^(?:[^\}]*)/i,
|
|
722
|
+
/^(?:%%(?!\{)*[^\n]*)/i,
|
|
723
|
+
/^(?:[^\}]%%*[^\n]*)/i,
|
|
724
|
+
/^(?:%%*[^\n]*[\n]*)/i,
|
|
725
|
+
/^(?:[\n]+)/i,
|
|
726
|
+
/^(?:\s+)/i,
|
|
727
|
+
/^(?:%[^\n]*)/i,
|
|
728
|
+
/^(?:href[\s]+["])/i,
|
|
729
|
+
/^(?:["])/i,
|
|
730
|
+
/^(?:[^"]*)/i,
|
|
731
|
+
/^(?:call[\s]+)/i,
|
|
732
|
+
/^(?:\([\s]*\))/i,
|
|
733
|
+
/^(?:\()/i,
|
|
734
|
+
/^(?:[^(]*)/i,
|
|
735
|
+
/^(?:\))/i,
|
|
736
|
+
/^(?:[^)]*)/i,
|
|
737
|
+
/^(?:click[\s]+)/i,
|
|
738
|
+
/^(?:[\s\n])/i,
|
|
739
|
+
/^(?:[^\s\n]*)/i,
|
|
740
|
+
/^(?:gantt\b)/i,
|
|
741
|
+
/^(?:dateFormat\s[^#\n;]+)/i,
|
|
742
|
+
/^(?:inclusiveEndDates\b)/i,
|
|
743
|
+
/^(?:topAxis\b)/i,
|
|
744
|
+
/^(?:axisFormat\s[^#\n;]+)/i,
|
|
745
|
+
/^(?:tickInterval\s[^#\n;]+)/i,
|
|
746
|
+
/^(?:includes\s[^#\n;]+)/i,
|
|
747
|
+
/^(?:excludes\s[^#\n;]+)/i,
|
|
748
|
+
/^(?:todayMarker\s[^\n;]+)/i,
|
|
749
|
+
/^(?:weekday\s+monday\b)/i,
|
|
750
|
+
/^(?:weekday\s+tuesday\b)/i,
|
|
751
|
+
/^(?:weekday\s+wednesday\b)/i,
|
|
752
|
+
/^(?:weekday\s+thursday\b)/i,
|
|
753
|
+
/^(?:weekday\s+friday\b)/i,
|
|
754
|
+
/^(?:weekday\s+saturday\b)/i,
|
|
755
|
+
/^(?:weekday\s+sunday\b)/i,
|
|
756
|
+
/^(?:weekend\s+friday\b)/i,
|
|
757
|
+
/^(?:weekend\s+saturday\b)/i,
|
|
758
|
+
/^(?:\d\d\d\d-\d\d-\d\d\b)/i,
|
|
759
|
+
/^(?:title\s[^\n]+)/i,
|
|
760
|
+
/^(?:accDescription\s[^#\n;]+)/i,
|
|
761
|
+
/^(?:section\s[^\n]+)/i,
|
|
762
|
+
/^(?:[^:\n]+)/i,
|
|
763
|
+
/^(?::[^#\n;]+)/i,
|
|
764
|
+
/^(?::)/i,
|
|
765
|
+
/^(?:$)/i,
|
|
766
|
+
/^(?:.)/i
|
|
767
|
+
],
|
|
768
|
+
conditions: {
|
|
769
|
+
acc_descr_multiline: {
|
|
770
|
+
rules: [6, 7],
|
|
771
|
+
inclusive: !1
|
|
772
|
+
},
|
|
773
|
+
acc_descr: {
|
|
774
|
+
rules: [4],
|
|
775
|
+
inclusive: !1
|
|
776
|
+
},
|
|
777
|
+
acc_title: {
|
|
778
|
+
rules: [2],
|
|
779
|
+
inclusive: !1
|
|
780
|
+
},
|
|
781
|
+
callbackargs: {
|
|
782
|
+
rules: [21, 22],
|
|
783
|
+
inclusive: !1
|
|
784
|
+
},
|
|
785
|
+
callbackname: {
|
|
786
|
+
rules: [
|
|
787
|
+
18,
|
|
788
|
+
19,
|
|
789
|
+
20
|
|
790
|
+
],
|
|
791
|
+
inclusive: !1
|
|
792
|
+
},
|
|
793
|
+
href: {
|
|
794
|
+
rules: [15, 16],
|
|
795
|
+
inclusive: !1
|
|
796
|
+
},
|
|
797
|
+
click: {
|
|
798
|
+
rules: [24, 25],
|
|
799
|
+
inclusive: !1
|
|
800
|
+
},
|
|
801
|
+
INITIAL: {
|
|
802
|
+
rules: [
|
|
803
|
+
0,
|
|
804
|
+
1,
|
|
805
|
+
3,
|
|
806
|
+
5,
|
|
807
|
+
8,
|
|
808
|
+
9,
|
|
809
|
+
10,
|
|
810
|
+
11,
|
|
811
|
+
12,
|
|
812
|
+
13,
|
|
813
|
+
14,
|
|
814
|
+
17,
|
|
815
|
+
23,
|
|
816
|
+
26,
|
|
817
|
+
27,
|
|
818
|
+
28,
|
|
819
|
+
29,
|
|
820
|
+
30,
|
|
821
|
+
31,
|
|
822
|
+
32,
|
|
823
|
+
33,
|
|
824
|
+
34,
|
|
825
|
+
35,
|
|
826
|
+
36,
|
|
827
|
+
37,
|
|
828
|
+
38,
|
|
829
|
+
39,
|
|
830
|
+
40,
|
|
831
|
+
41,
|
|
832
|
+
42,
|
|
833
|
+
43,
|
|
834
|
+
44,
|
|
835
|
+
45,
|
|
836
|
+
46,
|
|
837
|
+
47,
|
|
838
|
+
48,
|
|
839
|
+
49,
|
|
840
|
+
50,
|
|
841
|
+
51,
|
|
842
|
+
52
|
|
843
|
+
],
|
|
844
|
+
inclusive: !0
|
|
845
|
+
}
|
|
846
|
+
}
|
|
847
|
+
};
|
|
848
|
+
})();
|
|
849
|
+
function B() {
|
|
850
|
+
this.yy = {};
|
|
851
|
+
}
|
|
852
|
+
return __name(B, "Parser"), B.prototype = z, z.Parser = B, new B();
|
|
853
|
+
})();
|
|
854
|
+
parser.parser = parser;
|
|
855
|
+
var gantt_default = parser;
|
|
856
|
+
import_dayjs_min.default.extend(import_isoWeek.default), import_dayjs_min.default.extend(import_customParseFormat.default), import_dayjs_min.default.extend(import_advancedFormat.default);
|
|
857
|
+
var WEEKEND_START_DAY = {
|
|
858
|
+
friday: 5,
|
|
859
|
+
saturday: 6
|
|
860
|
+
}, dateFormat = "", axisFormat = "", tickInterval = void 0, todayMarker = "", includes = [], excludes = [], links = /* @__PURE__ */ new Map(), sections = [], tasks = [], currentSection = "", displayMode = "", tags = [
|
|
861
|
+
"active",
|
|
862
|
+
"done",
|
|
863
|
+
"crit",
|
|
864
|
+
"milestone",
|
|
865
|
+
"vert"
|
|
866
|
+
], funs = [], inclusiveEndDates = !1, topAxis = !1, weekday = "sunday", weekend = "saturday", lastOrder = 0, clear2 = /* @__PURE__ */ __name(function() {
|
|
867
|
+
sections = [], tasks = [], currentSection = "", funs = [], taskCnt = 0, lastTask = void 0, lastTaskID = void 0, rawTasks = [], dateFormat = "", axisFormat = "", displayMode = "", tickInterval = void 0, todayMarker = "", includes = [], excludes = [], inclusiveEndDates = !1, topAxis = !1, lastOrder = 0, links = /* @__PURE__ */ new Map(), clear(), weekday = "sunday", weekend = "saturday";
|
|
868
|
+
}, "clear"), setAxisFormat = /* @__PURE__ */ __name(function(e) {
|
|
869
|
+
axisFormat = e;
|
|
870
|
+
}, "setAxisFormat"), getAxisFormat = /* @__PURE__ */ __name(function() {
|
|
871
|
+
return axisFormat;
|
|
872
|
+
}, "getAxisFormat"), setTickInterval = /* @__PURE__ */ __name(function(e) {
|
|
873
|
+
tickInterval = e;
|
|
874
|
+
}, "setTickInterval"), getTickInterval = /* @__PURE__ */ __name(function() {
|
|
875
|
+
return tickInterval;
|
|
876
|
+
}, "getTickInterval"), setTodayMarker = /* @__PURE__ */ __name(function(e) {
|
|
877
|
+
todayMarker = e;
|
|
878
|
+
}, "setTodayMarker"), getTodayMarker = /* @__PURE__ */ __name(function() {
|
|
879
|
+
return todayMarker;
|
|
880
|
+
}, "getTodayMarker"), setDateFormat = /* @__PURE__ */ __name(function(e) {
|
|
881
|
+
dateFormat = e;
|
|
882
|
+
}, "setDateFormat"), enableInclusiveEndDates = /* @__PURE__ */ __name(function() {
|
|
883
|
+
inclusiveEndDates = !0;
|
|
884
|
+
}, "enableInclusiveEndDates"), endDatesAreInclusive = /* @__PURE__ */ __name(function() {
|
|
885
|
+
return inclusiveEndDates;
|
|
886
|
+
}, "endDatesAreInclusive"), enableTopAxis = /* @__PURE__ */ __name(function() {
|
|
887
|
+
topAxis = !0;
|
|
888
|
+
}, "enableTopAxis"), topAxisEnabled = /* @__PURE__ */ __name(function() {
|
|
889
|
+
return topAxis;
|
|
890
|
+
}, "topAxisEnabled"), setDisplayMode = /* @__PURE__ */ __name(function(e) {
|
|
891
|
+
displayMode = e;
|
|
892
|
+
}, "setDisplayMode"), getDisplayMode = /* @__PURE__ */ __name(function() {
|
|
893
|
+
return displayMode;
|
|
894
|
+
}, "getDisplayMode"), getDateFormat = /* @__PURE__ */ __name(function() {
|
|
895
|
+
return dateFormat;
|
|
896
|
+
}, "getDateFormat"), setIncludes = /* @__PURE__ */ __name(function(e) {
|
|
897
|
+
includes = e.toLowerCase().split(/[\s,]+/);
|
|
898
|
+
}, "setIncludes"), getIncludes = /* @__PURE__ */ __name(function() {
|
|
899
|
+
return includes;
|
|
900
|
+
}, "getIncludes"), setExcludes = /* @__PURE__ */ __name(function(e) {
|
|
901
|
+
excludes = e.toLowerCase().split(/[\s,]+/);
|
|
902
|
+
}, "setExcludes"), getExcludes = /* @__PURE__ */ __name(function() {
|
|
903
|
+
return excludes;
|
|
904
|
+
}, "getExcludes"), getLinks = /* @__PURE__ */ __name(function() {
|
|
905
|
+
return links;
|
|
906
|
+
}, "getLinks"), addSection = /* @__PURE__ */ __name(function(e) {
|
|
907
|
+
currentSection = e, sections.push(e);
|
|
908
|
+
}, "addSection"), getSections = /* @__PURE__ */ __name(function() {
|
|
909
|
+
return sections;
|
|
910
|
+
}, "getSections"), getTasks = /* @__PURE__ */ __name(function() {
|
|
911
|
+
let e = compileTasks(), f = 0;
|
|
912
|
+
for (; !e && f < 10;) e = compileTasks(), f++;
|
|
913
|
+
return tasks = rawTasks, tasks;
|
|
914
|
+
}, "getTasks"), isInvalidDate = /* @__PURE__ */ __name(function(e, f, p, m) {
|
|
915
|
+
let h = e.format(f.trim()), g = e.format("YYYY-MM-DD");
|
|
916
|
+
return m.includes(h) || m.includes(g) ? !1 : p.includes("weekends") && (e.isoWeekday() === WEEKEND_START_DAY[weekend] || e.isoWeekday() === WEEKEND_START_DAY[weekend] + 1) || p.includes(e.format("dddd").toLowerCase()) ? !0 : p.includes(h) || p.includes(g);
|
|
917
|
+
}, "isInvalidDate"), setWeekday = /* @__PURE__ */ __name(function(e) {
|
|
918
|
+
weekday = e;
|
|
919
|
+
}, "setWeekday"), getWeekday = /* @__PURE__ */ __name(function() {
|
|
920
|
+
return weekday;
|
|
921
|
+
}, "getWeekday"), setWeekend = /* @__PURE__ */ __name(function(e) {
|
|
922
|
+
weekend = e;
|
|
923
|
+
}, "setWeekend"), checkTaskDates = /* @__PURE__ */ __name(function(e, f, p, m) {
|
|
924
|
+
if (!p.length || e.manualEndTime) return;
|
|
925
|
+
let h;
|
|
926
|
+
h = e.startTime instanceof Date ? (0, import_dayjs_min.default)(e.startTime) : (0, import_dayjs_min.default)(e.startTime, f, !0), h = h.add(1, "d");
|
|
927
|
+
let g;
|
|
928
|
+
g = e.endTime instanceof Date ? (0, import_dayjs_min.default)(e.endTime) : (0, import_dayjs_min.default)(e.endTime, f, !0);
|
|
929
|
+
let [_, v] = fixTaskDates(h, g, f, p, m);
|
|
930
|
+
e.endTime = _.toDate(), e.renderEndTime = v;
|
|
931
|
+
}, "checkTaskDates"), fixTaskDates = /* @__PURE__ */ __name(function(e, f, p, m, h) {
|
|
932
|
+
let g = !1, _ = null;
|
|
933
|
+
for (; e <= f;) g || (_ = f.toDate()), g = isInvalidDate(e, p, m, h), g && (f = f.add(1, "d")), e = e.add(1, "d");
|
|
934
|
+
return [f, _];
|
|
935
|
+
}, "fixTaskDates"), getStartDate = /* @__PURE__ */ __name(function(e, f, h) {
|
|
936
|
+
if (h = h.trim(), (/* @__PURE__ */ __name((e) => {
|
|
937
|
+
let f = e.trim();
|
|
938
|
+
return f === "x" || f === "X";
|
|
939
|
+
}, "isTimestampFormat"))(f) && /^\d+$/.test(h)) return new Date(Number(h));
|
|
940
|
+
let g = /^after\s+(?<ids>[\d\w- ]+)/.exec(h);
|
|
941
|
+
if (g !== null) {
|
|
942
|
+
let e = null;
|
|
943
|
+
for (let f of g.groups.ids.split(" ")) {
|
|
944
|
+
let p = findTaskById(f);
|
|
945
|
+
p !== void 0 && (!e || p.endTime > e.endTime) && (e = p);
|
|
946
|
+
}
|
|
947
|
+
if (e) return e.endTime;
|
|
948
|
+
let f = /* @__PURE__ */ new Date();
|
|
949
|
+
return f.setHours(0, 0, 0, 0), f;
|
|
950
|
+
}
|
|
951
|
+
let _ = (0, import_dayjs_min.default)(h, f.trim(), !0);
|
|
952
|
+
if (_.isValid()) return _.toDate();
|
|
953
|
+
{
|
|
954
|
+
log.debug("Invalid date:" + h), log.debug("With date format:" + f.trim());
|
|
955
|
+
let e = new Date(h);
|
|
956
|
+
if (e === void 0 || isNaN(e.getTime()) || e.getFullYear() < -1e4 || e.getFullYear() > 1e4) throw Error("Invalid date:" + h);
|
|
957
|
+
return e;
|
|
958
|
+
}
|
|
959
|
+
}, "getStartDate"), parseDuration = /* @__PURE__ */ __name(function(e) {
|
|
960
|
+
let f = /^(\d+(?:\.\d+)?)([Mdhmswy]|ms)$/.exec(e.trim());
|
|
961
|
+
return f === null ? [NaN, "ms"] : [Number.parseFloat(f[1]), f[2]];
|
|
962
|
+
}, "parseDuration"), getEndDate = /* @__PURE__ */ __name(function(e, f, p, m = !1) {
|
|
963
|
+
p = p.trim();
|
|
964
|
+
let h = /^until\s+(?<ids>[\d\w- ]+)/.exec(p);
|
|
965
|
+
if (h !== null) {
|
|
966
|
+
let e = null;
|
|
967
|
+
for (let f of h.groups.ids.split(" ")) {
|
|
968
|
+
let p = findTaskById(f);
|
|
969
|
+
p !== void 0 && (!e || p.startTime < e.startTime) && (e = p);
|
|
970
|
+
}
|
|
971
|
+
if (e) return e.startTime;
|
|
972
|
+
let f = /* @__PURE__ */ new Date();
|
|
973
|
+
return f.setHours(0, 0, 0, 0), f;
|
|
974
|
+
}
|
|
975
|
+
let g = (0, import_dayjs_min.default)(p, f.trim(), !0);
|
|
976
|
+
if (g.isValid()) return m && (g = g.add(1, "d")), g.toDate();
|
|
977
|
+
let _ = (0, import_dayjs_min.default)(e), [v, y] = parseDuration(p);
|
|
978
|
+
if (!Number.isNaN(v)) {
|
|
979
|
+
let e = _.add(v, y);
|
|
980
|
+
e.isValid() && (_ = e);
|
|
981
|
+
}
|
|
982
|
+
return _.toDate();
|
|
983
|
+
}, "getEndDate"), taskCnt = 0, parseId = /* @__PURE__ */ __name(function(e) {
|
|
984
|
+
return e === void 0 ? (taskCnt += 1, "task" + taskCnt) : e;
|
|
985
|
+
}, "parseId"), compileData = /* @__PURE__ */ __name(function(e, f) {
|
|
986
|
+
let p;
|
|
987
|
+
p = f.substr(0, 1) === ":" ? f.substr(1, f.length) : f;
|
|
988
|
+
let m = p.split(","), h = {};
|
|
989
|
+
getTaskTags(m, h, tags);
|
|
990
|
+
for (let e = 0; e < m.length; e++) m[e] = m[e].trim();
|
|
991
|
+
let g = "";
|
|
992
|
+
switch (m.length) {
|
|
993
|
+
case 1:
|
|
994
|
+
h.id = parseId(), h.startTime = e.endTime, g = m[0];
|
|
995
|
+
break;
|
|
996
|
+
case 2:
|
|
997
|
+
h.id = parseId(), h.startTime = getStartDate(void 0, dateFormat, m[0]), g = m[1];
|
|
998
|
+
break;
|
|
999
|
+
case 3:
|
|
1000
|
+
h.id = parseId(m[0]), h.startTime = getStartDate(void 0, dateFormat, m[1]), g = m[2];
|
|
1001
|
+
break;
|
|
1002
|
+
default:
|
|
1003
|
+
}
|
|
1004
|
+
return g && (h.endTime = getEndDate(h.startTime, dateFormat, g, inclusiveEndDates), h.manualEndTime = (0, import_dayjs_min.default)(g, "YYYY-MM-DD", !0).isValid(), checkTaskDates(h, dateFormat, excludes, includes)), h;
|
|
1005
|
+
}, "compileData"), parseData = /* @__PURE__ */ __name(function(e, f) {
|
|
1006
|
+
let p;
|
|
1007
|
+
p = f.substr(0, 1) === ":" ? f.substr(1, f.length) : f;
|
|
1008
|
+
let m = p.split(","), h = {};
|
|
1009
|
+
getTaskTags(m, h, tags);
|
|
1010
|
+
for (let e = 0; e < m.length; e++) m[e] = m[e].trim();
|
|
1011
|
+
switch (m.length) {
|
|
1012
|
+
case 1:
|
|
1013
|
+
h.id = parseId(), h.startTime = {
|
|
1014
|
+
type: "prevTaskEnd",
|
|
1015
|
+
id: e
|
|
1016
|
+
}, h.endTime = { data: m[0] };
|
|
1017
|
+
break;
|
|
1018
|
+
case 2:
|
|
1019
|
+
h.id = parseId(), h.startTime = {
|
|
1020
|
+
type: "getStartDate",
|
|
1021
|
+
startData: m[0]
|
|
1022
|
+
}, h.endTime = { data: m[1] };
|
|
1023
|
+
break;
|
|
1024
|
+
case 3:
|
|
1025
|
+
h.id = parseId(m[0]), h.startTime = {
|
|
1026
|
+
type: "getStartDate",
|
|
1027
|
+
startData: m[1]
|
|
1028
|
+
}, h.endTime = { data: m[2] };
|
|
1029
|
+
break;
|
|
1030
|
+
default:
|
|
1031
|
+
}
|
|
1032
|
+
return h;
|
|
1033
|
+
}, "parseData"), lastTask, lastTaskID, rawTasks = [], taskDb = {}, addTask = /* @__PURE__ */ __name(function(e, f) {
|
|
1034
|
+
let p = {
|
|
1035
|
+
section: currentSection,
|
|
1036
|
+
type: currentSection,
|
|
1037
|
+
processed: !1,
|
|
1038
|
+
manualEndTime: !1,
|
|
1039
|
+
renderEndTime: null,
|
|
1040
|
+
raw: { data: f },
|
|
1041
|
+
task: e,
|
|
1042
|
+
classes: []
|
|
1043
|
+
}, m = parseData(lastTaskID, f);
|
|
1044
|
+
p.raw.startTime = m.startTime, p.raw.endTime = m.endTime, p.id = m.id, p.prevTaskId = lastTaskID, p.active = m.active, p.done = m.done, p.crit = m.crit, p.milestone = m.milestone, p.vert = m.vert, p.order = lastOrder, lastOrder++;
|
|
1045
|
+
let h = rawTasks.push(p);
|
|
1046
|
+
lastTaskID = p.id, taskDb[p.id] = h - 1;
|
|
1047
|
+
}, "addTask"), findTaskById = /* @__PURE__ */ __name(function(e) {
|
|
1048
|
+
let f = taskDb[e];
|
|
1049
|
+
return rawTasks[f];
|
|
1050
|
+
}, "findTaskById"), addTaskOrg = /* @__PURE__ */ __name(function(e, f) {
|
|
1051
|
+
let p = {
|
|
1052
|
+
section: currentSection,
|
|
1053
|
+
type: currentSection,
|
|
1054
|
+
description: e,
|
|
1055
|
+
task: e,
|
|
1056
|
+
classes: []
|
|
1057
|
+
}, m = compileData(lastTask, f);
|
|
1058
|
+
p.startTime = m.startTime, p.endTime = m.endTime, p.id = m.id, p.active = m.active, p.done = m.done, p.crit = m.crit, p.milestone = m.milestone, p.vert = m.vert, lastTask = p, tasks.push(p);
|
|
1059
|
+
}, "addTaskOrg"), compileTasks = /* @__PURE__ */ __name(function() {
|
|
1060
|
+
let e = /* @__PURE__ */ __name(function(e) {
|
|
1061
|
+
let f = rawTasks[e], p = "";
|
|
1062
|
+
switch (rawTasks[e].raw.startTime.type) {
|
|
1063
|
+
case "prevTaskEnd":
|
|
1064
|
+
f.startTime = findTaskById(f.prevTaskId).endTime;
|
|
1065
|
+
break;
|
|
1066
|
+
case "getStartDate":
|
|
1067
|
+
p = getStartDate(void 0, dateFormat, rawTasks[e].raw.startTime.startData), p && (rawTasks[e].startTime = p);
|
|
1068
|
+
break;
|
|
1069
|
+
}
|
|
1070
|
+
return rawTasks[e].startTime && (rawTasks[e].endTime = getEndDate(rawTasks[e].startTime, dateFormat, rawTasks[e].raw.endTime.data, inclusiveEndDates), rawTasks[e].endTime && (rawTasks[e].processed = !0, rawTasks[e].manualEndTime = (0, import_dayjs_min.default)(rawTasks[e].raw.endTime.data, "YYYY-MM-DD", !0).isValid(), checkTaskDates(rawTasks[e], dateFormat, excludes, includes))), rawTasks[e].processed;
|
|
1071
|
+
}, "compileTask"), f = !0;
|
|
1072
|
+
for (let [p, m] of rawTasks.entries()) e(p), f &&= m.processed;
|
|
1073
|
+
return f;
|
|
1074
|
+
}, "compileTasks"), setLink = /* @__PURE__ */ __name(function(e, f) {
|
|
1075
|
+
let p = f;
|
|
1076
|
+
getConfig2().securityLevel !== "loose" && (p = (0, import_dist.sanitizeUrl)(f)), e.split(",").forEach(function(e) {
|
|
1077
|
+
findTaskById(e) !== void 0 && (pushFun(e, () => {
|
|
1078
|
+
window.open(p, "_self");
|
|
1079
|
+
}), links.set(e, p));
|
|
1080
|
+
}), setClass(e, "clickable");
|
|
1081
|
+
}, "setLink"), setClass = /* @__PURE__ */ __name(function(e, f) {
|
|
1082
|
+
e.split(",").forEach(function(e) {
|
|
1083
|
+
let p = findTaskById(e);
|
|
1084
|
+
p !== void 0 && p.classes.push(f);
|
|
1085
|
+
});
|
|
1086
|
+
}, "setClass"), setClickFun = /* @__PURE__ */ __name(function(e, f, p) {
|
|
1087
|
+
if (getConfig2().securityLevel !== "loose" || f === void 0) return;
|
|
1088
|
+
let m = [];
|
|
1089
|
+
if (typeof p == "string") {
|
|
1090
|
+
m = p.split(/,(?=(?:(?:[^"]*"){2})*[^"]*$)/);
|
|
1091
|
+
for (let e = 0; e < m.length; e++) {
|
|
1092
|
+
let f = m[e].trim();
|
|
1093
|
+
f.startsWith("\"") && f.endsWith("\"") && (f = f.substr(1, f.length - 2)), m[e] = f;
|
|
1094
|
+
}
|
|
1095
|
+
}
|
|
1096
|
+
m.length === 0 && m.push(e), findTaskById(e) !== void 0 && pushFun(e, () => {
|
|
1097
|
+
utils_default.runFunc(f, ...m);
|
|
1098
|
+
});
|
|
1099
|
+
}, "setClickFun"), pushFun = /* @__PURE__ */ __name(function(e, f) {
|
|
1100
|
+
funs.push(function() {
|
|
1101
|
+
let p = document.querySelector(`[id="${e}"]`);
|
|
1102
|
+
p !== null && p.addEventListener("click", function() {
|
|
1103
|
+
f();
|
|
1104
|
+
});
|
|
1105
|
+
}, function() {
|
|
1106
|
+
let p = document.querySelector(`[id="${e}-text"]`);
|
|
1107
|
+
p !== null && p.addEventListener("click", function() {
|
|
1108
|
+
f();
|
|
1109
|
+
});
|
|
1110
|
+
});
|
|
1111
|
+
}, "pushFun"), ganttDb_default = {
|
|
1112
|
+
getConfig: /* @__PURE__ */ __name(() => getConfig2().gantt, "getConfig"),
|
|
1113
|
+
clear: clear2,
|
|
1114
|
+
setDateFormat,
|
|
1115
|
+
getDateFormat,
|
|
1116
|
+
enableInclusiveEndDates,
|
|
1117
|
+
endDatesAreInclusive,
|
|
1118
|
+
enableTopAxis,
|
|
1119
|
+
topAxisEnabled,
|
|
1120
|
+
setAxisFormat,
|
|
1121
|
+
getAxisFormat,
|
|
1122
|
+
setTickInterval,
|
|
1123
|
+
getTickInterval,
|
|
1124
|
+
setTodayMarker,
|
|
1125
|
+
getTodayMarker,
|
|
1126
|
+
setAccTitle,
|
|
1127
|
+
getAccTitle,
|
|
1128
|
+
setDiagramTitle,
|
|
1129
|
+
getDiagramTitle,
|
|
1130
|
+
setDisplayMode,
|
|
1131
|
+
getDisplayMode,
|
|
1132
|
+
setAccDescription,
|
|
1133
|
+
getAccDescription,
|
|
1134
|
+
addSection,
|
|
1135
|
+
getSections,
|
|
1136
|
+
getTasks,
|
|
1137
|
+
addTask,
|
|
1138
|
+
findTaskById,
|
|
1139
|
+
addTaskOrg,
|
|
1140
|
+
setIncludes,
|
|
1141
|
+
getIncludes,
|
|
1142
|
+
setExcludes,
|
|
1143
|
+
getExcludes,
|
|
1144
|
+
setClickEvent: /* @__PURE__ */ __name(function(e, f, p) {
|
|
1145
|
+
e.split(",").forEach(function(e) {
|
|
1146
|
+
setClickFun(e, f, p);
|
|
1147
|
+
}), setClass(e, "clickable");
|
|
1148
|
+
}, "setClickEvent"),
|
|
1149
|
+
setLink,
|
|
1150
|
+
getLinks,
|
|
1151
|
+
bindFunctions: /* @__PURE__ */ __name(function(e) {
|
|
1152
|
+
funs.forEach(function(f) {
|
|
1153
|
+
f(e);
|
|
1154
|
+
});
|
|
1155
|
+
}, "bindFunctions"),
|
|
1156
|
+
parseDuration,
|
|
1157
|
+
isInvalidDate,
|
|
1158
|
+
setWeekday,
|
|
1159
|
+
getWeekday,
|
|
1160
|
+
setWeekend
|
|
1161
|
+
};
|
|
1162
|
+
function getTaskTags(e, f, p) {
|
|
1163
|
+
let m = !0;
|
|
1164
|
+
for (; m;) m = !1, p.forEach(function(p) {
|
|
1165
|
+
let h = "^\\s*" + p + "\\s*$", g = new RegExp(h);
|
|
1166
|
+
e[0].match(g) && (f[p] = !0, e.shift(1), m = !0);
|
|
1167
|
+
});
|
|
1168
|
+
}
|
|
1169
|
+
__name(getTaskTags, "getTaskTags"), import_dayjs_min$1.default.extend(import_duration.default);
|
|
1170
|
+
var setConf = /* @__PURE__ */ __name(function() {
|
|
1171
|
+
log.debug("Something is calling, setConf, remove the call");
|
|
1172
|
+
}, "setConf"), mapWeekdayToTimeFunction = {
|
|
1173
|
+
monday: timeMonday,
|
|
1174
|
+
tuesday: timeTuesday,
|
|
1175
|
+
wednesday: timeWednesday,
|
|
1176
|
+
thursday: timeThursday,
|
|
1177
|
+
friday: timeFriday,
|
|
1178
|
+
saturday: timeSaturday,
|
|
1179
|
+
sunday: timeSunday
|
|
1180
|
+
}, getMaxIntersections = /* @__PURE__ */ __name((e, f) => {
|
|
1181
|
+
let p = [...e].map(() => -Infinity), m = [...e].sort((e, f) => e.startTime - f.startTime || e.order - f.order), h = 0;
|
|
1182
|
+
for (let e of m) for (let m = 0; m < p.length; m++) if (e.startTime >= p[m]) {
|
|
1183
|
+
p[m] = e.endTime, e.order = m + f, m > h && (h = m);
|
|
1184
|
+
break;
|
|
1185
|
+
}
|
|
1186
|
+
return h;
|
|
1187
|
+
}, "getMaxIntersections"), w, MAX_TICK_COUNT = 1e4, diagram = {
|
|
1188
|
+
parser: gantt_default,
|
|
1189
|
+
db: ganttDb_default,
|
|
1190
|
+
renderer: {
|
|
1191
|
+
setConf,
|
|
1192
|
+
draw: /* @__PURE__ */ __name(function(e, f, h, v) {
|
|
1193
|
+
let y = getConfig2().gantt, x = getConfig2().securityLevel, S;
|
|
1194
|
+
x === "sandbox" && (S = select_default("#i" + f));
|
|
1195
|
+
let C = select_default(x === "sandbox" ? S.nodes()[0].contentDocument.body : "body"), T = x === "sandbox" ? S.nodes()[0].contentDocument : document, R = T.getElementById(f);
|
|
1196
|
+
w = R.parentElement.offsetWidth, w === void 0 && (w = 1200), y.useWidth !== void 0 && (w = y.useWidth);
|
|
1197
|
+
let z = v.db.getTasks(), B = [];
|
|
1198
|
+
for (let e of z) B.push(e.type);
|
|
1199
|
+
B = $(B);
|
|
1200
|
+
let V = {}, H = 2 * y.topPadding;
|
|
1201
|
+
if (v.db.getDisplayMode() === "compact" || y.displayMode === "compact") {
|
|
1202
|
+
let e = {};
|
|
1203
|
+
for (let f of z) e[f.section] === void 0 ? e[f.section] = [f] : e[f.section].push(f);
|
|
1204
|
+
let f = 0;
|
|
1205
|
+
for (let p of Object.keys(e)) {
|
|
1206
|
+
let m = getMaxIntersections(e[p], f) + 1;
|
|
1207
|
+
f += m, H += m * (y.barHeight + y.barGap), V[p] = m;
|
|
1208
|
+
}
|
|
1209
|
+
} else {
|
|
1210
|
+
H += z.length * (y.barHeight + y.barGap);
|
|
1211
|
+
for (let e of B) V[e] = z.filter((f) => f.type === e).length;
|
|
1212
|
+
}
|
|
1213
|
+
R.setAttribute("viewBox", "0 0 " + w + " " + H);
|
|
1214
|
+
let U = C.select(`[id="${f}"]`), W = time().domain([min(z, function(e) {
|
|
1215
|
+
return e.startTime;
|
|
1216
|
+
}), max(z, function(e) {
|
|
1217
|
+
return e.endTime;
|
|
1218
|
+
})]).rangeRound([0, w - y.leftPadding - y.rightPadding]);
|
|
1219
|
+
function G(e, f) {
|
|
1220
|
+
let p = e.startTime, m = f.startTime, h = 0;
|
|
1221
|
+
return p > m ? h = 1 : p < m && (h = -1), h;
|
|
1222
|
+
}
|
|
1223
|
+
__name(G, "taskCompare"), z.sort(G), K(z, w, H), configureSvgSize(U, H, w, y.useMaxWidth), U.append("text").text(v.db.getDiagramTitle()).attr("x", w / 2).attr("y", y.titleTopMargin).attr("class", "titleText");
|
|
1224
|
+
function K(e, f, p) {
|
|
1225
|
+
let m = y.barHeight, h = m + y.barGap, g = y.topPadding, _ = y.leftPadding, b = linear().domain([0, B.length]).range(["#00B9FA", "#F95002"]).interpolate(hcl_default);
|
|
1226
|
+
J(h, g, _, f, p, e, v.db.getExcludes(), v.db.getIncludes()), X(_, g, f, p), q(e, h, g, _, m, b, f, p), Z(h, g, _, m, b), Q(_, g, f, p);
|
|
1227
|
+
}
|
|
1228
|
+
__name(K, "makeGantt");
|
|
1229
|
+
function q(e, p, m, h, g, _, x) {
|
|
1230
|
+
e.sort((e, f) => e.vert === f.vert ? 0 : e.vert ? 1 : -1);
|
|
1231
|
+
let S = [...new Set(e.map((e) => e.order))].map((f) => e.find((e) => e.order === f));
|
|
1232
|
+
U.append("g").selectAll("rect").data(S).enter().append("rect").attr("x", 0).attr("y", function(e, f) {
|
|
1233
|
+
return f = e.order, f * p + m - 2;
|
|
1234
|
+
}).attr("width", function() {
|
|
1235
|
+
return x - y.rightPadding / 2;
|
|
1236
|
+
}).attr("height", p).attr("class", function(e) {
|
|
1237
|
+
for (let [f, p] of B.entries()) if (e.type === p) return "section section" + f % y.numberSectionStyles;
|
|
1238
|
+
return "section section0";
|
|
1239
|
+
}).enter();
|
|
1240
|
+
let C = U.append("g").selectAll("rect").data(e).enter(), T = v.db.getLinks();
|
|
1241
|
+
if (C.append("rect").attr("id", function(e) {
|
|
1242
|
+
return e.id;
|
|
1243
|
+
}).attr("rx", 3).attr("ry", 3).attr("x", function(e) {
|
|
1244
|
+
return e.milestone ? W(e.startTime) + h + .5 * (W(e.endTime) - W(e.startTime)) - .5 * g : W(e.startTime) + h;
|
|
1245
|
+
}).attr("y", function(e, f) {
|
|
1246
|
+
return f = e.order, e.vert ? y.gridLineStartPadding : f * p + m;
|
|
1247
|
+
}).attr("width", function(e) {
|
|
1248
|
+
return e.milestone ? g : e.vert ? .08 * g : W(e.renderEndTime || e.endTime) - W(e.startTime);
|
|
1249
|
+
}).attr("height", function(e) {
|
|
1250
|
+
return e.vert ? z.length * (y.barHeight + y.barGap) + y.barHeight * 2 : g;
|
|
1251
|
+
}).attr("transform-origin", function(e, f) {
|
|
1252
|
+
return f = e.order, (W(e.startTime) + h + .5 * (W(e.endTime) - W(e.startTime))).toString() + "px " + (f * p + m + .5 * g).toString() + "px";
|
|
1253
|
+
}).attr("class", function(e) {
|
|
1254
|
+
let f = "";
|
|
1255
|
+
e.classes.length > 0 && (f = e.classes.join(" "));
|
|
1256
|
+
let p = 0;
|
|
1257
|
+
for (let [f, m] of B.entries()) e.type === m && (p = f % y.numberSectionStyles);
|
|
1258
|
+
let m = "";
|
|
1259
|
+
return e.active ? e.crit ? m += " activeCrit" : m = " active" : e.done ? m = e.crit ? " doneCrit" : " done" : e.crit && (m += " crit"), m.length === 0 && (m = " task"), e.milestone && (m = " milestone " + m), e.vert && (m = " vert " + m), m += p, m += " " + f, "task" + m;
|
|
1260
|
+
}), C.append("text").attr("id", function(e) {
|
|
1261
|
+
return e.id + "-text";
|
|
1262
|
+
}).text(function(e) {
|
|
1263
|
+
return e.task;
|
|
1264
|
+
}).attr("font-size", y.fontSize).attr("x", function(e) {
|
|
1265
|
+
let f = W(e.startTime), p = W(e.renderEndTime || e.endTime);
|
|
1266
|
+
if (e.milestone && (f += .5 * (W(e.endTime) - W(e.startTime)) - .5 * g, p = f + g), e.vert) return W(e.startTime) + h;
|
|
1267
|
+
let m = this.getBBox().width;
|
|
1268
|
+
return m > p - f ? p + m + 1.5 * y.leftPadding > x ? f + h - 5 : p + h + 5 : (p - f) / 2 + f + h;
|
|
1269
|
+
}).attr("y", function(e, f) {
|
|
1270
|
+
return e.vert ? y.gridLineStartPadding + z.length * (y.barHeight + y.barGap) + 60 : (f = e.order, f * p + y.barHeight / 2 + (y.fontSize / 2 - 2) + m);
|
|
1271
|
+
}).attr("text-height", g).attr("class", function(e) {
|
|
1272
|
+
let f = W(e.startTime), p = W(e.endTime);
|
|
1273
|
+
e.milestone && (p = f + g);
|
|
1274
|
+
let m = this.getBBox().width, h = "";
|
|
1275
|
+
e.classes.length > 0 && (h = e.classes.join(" "));
|
|
1276
|
+
let _ = 0;
|
|
1277
|
+
for (let [f, p] of B.entries()) e.type === p && (_ = f % y.numberSectionStyles);
|
|
1278
|
+
let v = "";
|
|
1279
|
+
return e.active && (v = e.crit ? "activeCritText" + _ : "activeText" + _), e.done ? v = e.crit ? v + " doneCritText" + _ : v + " doneText" + _ : e.crit && (v = v + " critText" + _), e.milestone && (v += " milestoneText"), e.vert && (v += " vertText"), m > p - f ? p + m + 1.5 * y.leftPadding > x ? h + " taskTextOutsideLeft taskTextOutside" + _ + " " + v : h + " taskTextOutsideRight taskTextOutside" + _ + " " + v + " width-" + m : h + " taskText taskText" + _ + " " + v + " width-" + m;
|
|
1280
|
+
}), getConfig2().securityLevel === "sandbox") {
|
|
1281
|
+
let e;
|
|
1282
|
+
e = select_default("#i" + f);
|
|
1283
|
+
let p = e.nodes()[0].contentDocument;
|
|
1284
|
+
C.filter(function(e) {
|
|
1285
|
+
return T.has(e.id);
|
|
1286
|
+
}).each(function(e) {
|
|
1287
|
+
var f = p.querySelector("#" + e.id), m = p.querySelector("#" + e.id + "-text");
|
|
1288
|
+
let h = f.parentNode;
|
|
1289
|
+
var g = p.createElement("a");
|
|
1290
|
+
g.setAttribute("xlink:href", T.get(e.id)), g.setAttribute("target", "_top"), h.appendChild(g), g.appendChild(f), g.appendChild(m);
|
|
1291
|
+
});
|
|
1292
|
+
}
|
|
1293
|
+
}
|
|
1294
|
+
__name(q, "drawRects");
|
|
1295
|
+
function J(e, f, p, h, g, _, b, x) {
|
|
1296
|
+
if (b.length === 0 && x.length === 0) return;
|
|
1297
|
+
let S, C;
|
|
1298
|
+
for (let { startTime: e, endTime: f } of _) (S === void 0 || e < S) && (S = e), (C === void 0 || f > C) && (C = f);
|
|
1299
|
+
if (!S || !C) return;
|
|
1300
|
+
if ((0, import_dayjs_min$1.default)(C).diff((0, import_dayjs_min$1.default)(S), "year") > 5) {
|
|
1301
|
+
log.warn("The difference between the min and max time is more than 5 years. This will cause performance issues. Skipping drawing exclude days.");
|
|
1302
|
+
return;
|
|
1303
|
+
}
|
|
1304
|
+
let T = v.db.getDateFormat(), E = [], D = null, O = (0, import_dayjs_min$1.default)(S);
|
|
1305
|
+
for (; O.valueOf() <= C;) v.db.isInvalidDate(O, T, b, x) ? D ? D.end = O : D = {
|
|
1306
|
+
start: O,
|
|
1307
|
+
end: O
|
|
1308
|
+
} : D &&= (E.push(D), null), O = O.add(1, "d");
|
|
1309
|
+
U.append("g").selectAll("rect").data(E).enter().append("rect").attr("id", (e) => "exclude-" + e.start.format("YYYY-MM-DD")).attr("x", (e) => W(e.start.startOf("day")) + p).attr("y", y.gridLineStartPadding).attr("width", (e) => W(e.end.endOf("day")) - W(e.start.startOf("day"))).attr("height", g - f - y.gridLineStartPadding).attr("transform-origin", function(f, m) {
|
|
1310
|
+
return (W(f.start) + p + .5 * (W(f.end) - W(f.start))).toString() + "px " + (m * e + .5 * g).toString() + "px";
|
|
1311
|
+
}).attr("class", "exclude-range");
|
|
1312
|
+
}
|
|
1313
|
+
__name(J, "drawExcludeDays");
|
|
1314
|
+
function Y(e, f, p, m) {
|
|
1315
|
+
if (p <= 0 || e > f) return Infinity;
|
|
1316
|
+
let h = f - e, g = import_dayjs_min$1.default.duration({ [m ?? "day"]: p }).asMilliseconds();
|
|
1317
|
+
return g <= 0 ? Infinity : Math.ceil(h / g);
|
|
1318
|
+
}
|
|
1319
|
+
__name(Y, "getEstimatedTickCount");
|
|
1320
|
+
function X(e, f, p, h) {
|
|
1321
|
+
let g = v.db.getDateFormat(), _ = v.db.getAxisFormat(), b;
|
|
1322
|
+
b = _ || (g === "D" ? "%d" : y.axisFormat ?? "%Y-%m-%d");
|
|
1323
|
+
let x = axisBottom(W).tickSize(-h + f + y.gridLineStartPadding).tickFormat(timeFormat(b)), S = /^([1-9]\d*)(millisecond|second|minute|hour|day|week|month)$/.exec(v.db.getTickInterval() || y.tickInterval);
|
|
1324
|
+
if (S !== null) {
|
|
1325
|
+
let e = parseInt(S[1], 10);
|
|
1326
|
+
if (isNaN(e) || e <= 0) log.warn(`Invalid tick interval value: "${S[1]}". Skipping custom tick interval.`);
|
|
1327
|
+
else {
|
|
1328
|
+
let f = S[2], p = v.db.getWeekday() || y.weekday, h = W.domain(), g = h[0], _ = h[1], b = Y(g, _, e, f);
|
|
1329
|
+
if (b > MAX_TICK_COUNT) log.warn(`The tick interval "${e}${f}" would generate ${b} ticks, which exceeds the maximum allowed (${MAX_TICK_COUNT}). This may indicate an invalid date or time range. Skipping custom tick interval.`);
|
|
1330
|
+
else switch (f) {
|
|
1331
|
+
case "millisecond":
|
|
1332
|
+
x.ticks(millisecond.every(e));
|
|
1333
|
+
break;
|
|
1334
|
+
case "second":
|
|
1335
|
+
x.ticks(second.every(e));
|
|
1336
|
+
break;
|
|
1337
|
+
case "minute":
|
|
1338
|
+
x.ticks(timeMinute.every(e));
|
|
1339
|
+
break;
|
|
1340
|
+
case "hour":
|
|
1341
|
+
x.ticks(timeHour.every(e));
|
|
1342
|
+
break;
|
|
1343
|
+
case "day":
|
|
1344
|
+
x.ticks(timeDay.every(e));
|
|
1345
|
+
break;
|
|
1346
|
+
case "week":
|
|
1347
|
+
x.ticks(mapWeekdayToTimeFunction[p].every(e));
|
|
1348
|
+
break;
|
|
1349
|
+
case "month":
|
|
1350
|
+
x.ticks(timeMonth.every(e));
|
|
1351
|
+
break;
|
|
1352
|
+
}
|
|
1353
|
+
}
|
|
1354
|
+
}
|
|
1355
|
+
if (U.append("g").attr("class", "grid").attr("transform", "translate(" + e + ", " + (h - 50) + ")").call(x).selectAll("text").style("text-anchor", "middle").attr("fill", "#000").attr("stroke", "none").attr("font-size", 10).attr("dy", "1em"), v.db.topAxisEnabled() || y.topAxis) {
|
|
1356
|
+
let p = axisTop(W).tickSize(-h + f + y.gridLineStartPadding).tickFormat(timeFormat(b));
|
|
1357
|
+
if (S !== null) {
|
|
1358
|
+
let e = parseInt(S[1], 10);
|
|
1359
|
+
if (isNaN(e) || e <= 0) log.warn(`Invalid tick interval value: "${S[1]}". Skipping custom tick interval.`);
|
|
1360
|
+
else {
|
|
1361
|
+
let f = S[2], m = v.db.getWeekday() || y.weekday, h = W.domain(), g = h[0], _ = h[1];
|
|
1362
|
+
if (Y(g, _, e, f) <= MAX_TICK_COUNT) switch (f) {
|
|
1363
|
+
case "millisecond":
|
|
1364
|
+
p.ticks(millisecond.every(e));
|
|
1365
|
+
break;
|
|
1366
|
+
case "second":
|
|
1367
|
+
p.ticks(second.every(e));
|
|
1368
|
+
break;
|
|
1369
|
+
case "minute":
|
|
1370
|
+
p.ticks(timeMinute.every(e));
|
|
1371
|
+
break;
|
|
1372
|
+
case "hour":
|
|
1373
|
+
p.ticks(timeHour.every(e));
|
|
1374
|
+
break;
|
|
1375
|
+
case "day":
|
|
1376
|
+
p.ticks(timeDay.every(e));
|
|
1377
|
+
break;
|
|
1378
|
+
case "week":
|
|
1379
|
+
p.ticks(mapWeekdayToTimeFunction[m].every(e));
|
|
1380
|
+
break;
|
|
1381
|
+
case "month":
|
|
1382
|
+
p.ticks(timeMonth.every(e));
|
|
1383
|
+
break;
|
|
1384
|
+
}
|
|
1385
|
+
}
|
|
1386
|
+
}
|
|
1387
|
+
U.append("g").attr("class", "grid").attr("transform", "translate(" + e + ", " + f + ")").call(p).selectAll("text").style("text-anchor", "middle").attr("fill", "#000").attr("stroke", "none").attr("font-size", 10);
|
|
1388
|
+
}
|
|
1389
|
+
}
|
|
1390
|
+
__name(X, "makeGrid");
|
|
1391
|
+
function Z(e, f) {
|
|
1392
|
+
let p = 0, m = Object.keys(V).map((e) => [e, V[e]]);
|
|
1393
|
+
U.append("g").selectAll("text").data(m).enter().append(function(e) {
|
|
1394
|
+
let f = e[0].split(common_default.lineBreakRegex), p = -(f.length - 1) / 2, m = T.createElementNS("http://www.w3.org/2000/svg", "text");
|
|
1395
|
+
m.setAttribute("dy", p + "em");
|
|
1396
|
+
for (let [e, p] of f.entries()) {
|
|
1397
|
+
let f = T.createElementNS("http://www.w3.org/2000/svg", "tspan");
|
|
1398
|
+
f.setAttribute("alignment-baseline", "central"), f.setAttribute("x", "10"), e > 0 && f.setAttribute("dy", "1em"), f.textContent = p, m.appendChild(f);
|
|
1399
|
+
}
|
|
1400
|
+
return m;
|
|
1401
|
+
}).attr("x", 10).attr("y", function(h, g) {
|
|
1402
|
+
if (g > 0) for (let _ = 0; _ < g; _++) return p += m[g - 1][1], h[1] * e / 2 + p * e + f;
|
|
1403
|
+
else return h[1] * e / 2 + f;
|
|
1404
|
+
}).attr("font-size", y.sectionFontSize).attr("class", function(e) {
|
|
1405
|
+
for (let [f, p] of B.entries()) if (e[0] === p) return "sectionTitle sectionTitle" + f % y.numberSectionStyles;
|
|
1406
|
+
return "sectionTitle";
|
|
1407
|
+
});
|
|
1408
|
+
}
|
|
1409
|
+
__name(Z, "vertLabels");
|
|
1410
|
+
function Q(e, f, p, m) {
|
|
1411
|
+
let h = v.db.getTodayMarker();
|
|
1412
|
+
if (h === "off") return;
|
|
1413
|
+
let g = U.append("g").attr("class", "today"), _ = /* @__PURE__ */ new Date(), b = g.append("line");
|
|
1414
|
+
b.attr("x1", W(_) + e).attr("x2", W(_) + e).attr("y1", y.titleTopMargin).attr("y2", m - y.titleTopMargin).attr("class", "today"), h !== "" && b.attr("style", h.replace(/,/g, ";"));
|
|
1415
|
+
}
|
|
1416
|
+
__name(Q, "drawToday");
|
|
1417
|
+
function $(e) {
|
|
1418
|
+
let f = {}, p = [];
|
|
1419
|
+
for (let m = 0, h = e.length; m < h; ++m) Object.prototype.hasOwnProperty.call(f, e[m]) || (f[e[m]] = !0, p.push(e[m]));
|
|
1420
|
+
return p;
|
|
1421
|
+
}
|
|
1422
|
+
__name($, "checkUnique");
|
|
1423
|
+
}, "draw")
|
|
1424
|
+
},
|
|
1425
|
+
styles: /* @__PURE__ */ __name((e) => `
|
|
1426
|
+
.mermaid-main-font {
|
|
1427
|
+
font-family: ${e.fontFamily};
|
|
1428
|
+
}
|
|
1429
|
+
|
|
1430
|
+
.exclude-range {
|
|
1431
|
+
fill: ${e.excludeBkgColor};
|
|
1432
|
+
}
|
|
1433
|
+
|
|
1434
|
+
.section {
|
|
1435
|
+
stroke: none;
|
|
1436
|
+
opacity: 0.2;
|
|
1437
|
+
}
|
|
1438
|
+
|
|
1439
|
+
.section0 {
|
|
1440
|
+
fill: ${e.sectionBkgColor};
|
|
1441
|
+
}
|
|
1442
|
+
|
|
1443
|
+
.section2 {
|
|
1444
|
+
fill: ${e.sectionBkgColor2};
|
|
1445
|
+
}
|
|
1446
|
+
|
|
1447
|
+
.section1,
|
|
1448
|
+
.section3 {
|
|
1449
|
+
fill: ${e.altSectionBkgColor};
|
|
1450
|
+
opacity: 0.2;
|
|
1451
|
+
}
|
|
1452
|
+
|
|
1453
|
+
.sectionTitle0 {
|
|
1454
|
+
fill: ${e.titleColor};
|
|
1455
|
+
}
|
|
1456
|
+
|
|
1457
|
+
.sectionTitle1 {
|
|
1458
|
+
fill: ${e.titleColor};
|
|
1459
|
+
}
|
|
1460
|
+
|
|
1461
|
+
.sectionTitle2 {
|
|
1462
|
+
fill: ${e.titleColor};
|
|
1463
|
+
}
|
|
1464
|
+
|
|
1465
|
+
.sectionTitle3 {
|
|
1466
|
+
fill: ${e.titleColor};
|
|
1467
|
+
}
|
|
1468
|
+
|
|
1469
|
+
.sectionTitle {
|
|
1470
|
+
text-anchor: start;
|
|
1471
|
+
font-family: ${e.fontFamily};
|
|
1472
|
+
}
|
|
1473
|
+
|
|
1474
|
+
|
|
1475
|
+
/* Grid and axis */
|
|
1476
|
+
|
|
1477
|
+
.grid .tick {
|
|
1478
|
+
stroke: ${e.gridColor};
|
|
1479
|
+
opacity: 0.8;
|
|
1480
|
+
shape-rendering: crispEdges;
|
|
1481
|
+
}
|
|
1482
|
+
|
|
1483
|
+
.grid .tick text {
|
|
1484
|
+
font-family: ${e.fontFamily};
|
|
1485
|
+
fill: ${e.textColor};
|
|
1486
|
+
}
|
|
1487
|
+
|
|
1488
|
+
.grid path {
|
|
1489
|
+
stroke-width: 0;
|
|
1490
|
+
}
|
|
1491
|
+
|
|
1492
|
+
|
|
1493
|
+
/* Today line */
|
|
1494
|
+
|
|
1495
|
+
.today {
|
|
1496
|
+
fill: none;
|
|
1497
|
+
stroke: ${e.todayLineColor};
|
|
1498
|
+
stroke-width: 2px;
|
|
1499
|
+
}
|
|
1500
|
+
|
|
1501
|
+
|
|
1502
|
+
/* Task styling */
|
|
1503
|
+
|
|
1504
|
+
/* Default task */
|
|
1505
|
+
|
|
1506
|
+
.task {
|
|
1507
|
+
stroke-width: 2;
|
|
1508
|
+
}
|
|
1509
|
+
|
|
1510
|
+
.taskText {
|
|
1511
|
+
text-anchor: middle;
|
|
1512
|
+
font-family: ${e.fontFamily};
|
|
1513
|
+
}
|
|
1514
|
+
|
|
1515
|
+
.taskTextOutsideRight {
|
|
1516
|
+
fill: ${e.taskTextDarkColor};
|
|
1517
|
+
text-anchor: start;
|
|
1518
|
+
font-family: ${e.fontFamily};
|
|
1519
|
+
}
|
|
1520
|
+
|
|
1521
|
+
.taskTextOutsideLeft {
|
|
1522
|
+
fill: ${e.taskTextDarkColor};
|
|
1523
|
+
text-anchor: end;
|
|
1524
|
+
}
|
|
1525
|
+
|
|
1526
|
+
|
|
1527
|
+
/* Special case clickable */
|
|
1528
|
+
|
|
1529
|
+
.task.clickable {
|
|
1530
|
+
cursor: pointer;
|
|
1531
|
+
}
|
|
1532
|
+
|
|
1533
|
+
.taskText.clickable {
|
|
1534
|
+
cursor: pointer;
|
|
1535
|
+
fill: ${e.taskTextClickableColor} !important;
|
|
1536
|
+
font-weight: bold;
|
|
1537
|
+
}
|
|
1538
|
+
|
|
1539
|
+
.taskTextOutsideLeft.clickable {
|
|
1540
|
+
cursor: pointer;
|
|
1541
|
+
fill: ${e.taskTextClickableColor} !important;
|
|
1542
|
+
font-weight: bold;
|
|
1543
|
+
}
|
|
1544
|
+
|
|
1545
|
+
.taskTextOutsideRight.clickable {
|
|
1546
|
+
cursor: pointer;
|
|
1547
|
+
fill: ${e.taskTextClickableColor} !important;
|
|
1548
|
+
font-weight: bold;
|
|
1549
|
+
}
|
|
1550
|
+
|
|
1551
|
+
|
|
1552
|
+
/* Specific task settings for the sections*/
|
|
1553
|
+
|
|
1554
|
+
.taskText0,
|
|
1555
|
+
.taskText1,
|
|
1556
|
+
.taskText2,
|
|
1557
|
+
.taskText3 {
|
|
1558
|
+
fill: ${e.taskTextColor};
|
|
1559
|
+
}
|
|
1560
|
+
|
|
1561
|
+
.task0,
|
|
1562
|
+
.task1,
|
|
1563
|
+
.task2,
|
|
1564
|
+
.task3 {
|
|
1565
|
+
fill: ${e.taskBkgColor};
|
|
1566
|
+
stroke: ${e.taskBorderColor};
|
|
1567
|
+
}
|
|
1568
|
+
|
|
1569
|
+
.taskTextOutside0,
|
|
1570
|
+
.taskTextOutside2
|
|
1571
|
+
{
|
|
1572
|
+
fill: ${e.taskTextOutsideColor};
|
|
1573
|
+
}
|
|
1574
|
+
|
|
1575
|
+
.taskTextOutside1,
|
|
1576
|
+
.taskTextOutside3 {
|
|
1577
|
+
fill: ${e.taskTextOutsideColor};
|
|
1578
|
+
}
|
|
1579
|
+
|
|
1580
|
+
|
|
1581
|
+
/* Active task */
|
|
1582
|
+
|
|
1583
|
+
.active0,
|
|
1584
|
+
.active1,
|
|
1585
|
+
.active2,
|
|
1586
|
+
.active3 {
|
|
1587
|
+
fill: ${e.activeTaskBkgColor};
|
|
1588
|
+
stroke: ${e.activeTaskBorderColor};
|
|
1589
|
+
}
|
|
1590
|
+
|
|
1591
|
+
.activeText0,
|
|
1592
|
+
.activeText1,
|
|
1593
|
+
.activeText2,
|
|
1594
|
+
.activeText3 {
|
|
1595
|
+
fill: ${e.taskTextDarkColor} !important;
|
|
1596
|
+
}
|
|
1597
|
+
|
|
1598
|
+
|
|
1599
|
+
/* Completed task */
|
|
1600
|
+
|
|
1601
|
+
.done0,
|
|
1602
|
+
.done1,
|
|
1603
|
+
.done2,
|
|
1604
|
+
.done3 {
|
|
1605
|
+
stroke: ${e.doneTaskBorderColor};
|
|
1606
|
+
fill: ${e.doneTaskBkgColor};
|
|
1607
|
+
stroke-width: 2;
|
|
1608
|
+
}
|
|
1609
|
+
|
|
1610
|
+
.doneText0,
|
|
1611
|
+
.doneText1,
|
|
1612
|
+
.doneText2,
|
|
1613
|
+
.doneText3 {
|
|
1614
|
+
fill: ${e.taskTextDarkColor} !important;
|
|
1615
|
+
}
|
|
1616
|
+
|
|
1617
|
+
|
|
1618
|
+
/* Tasks on the critical line */
|
|
1619
|
+
|
|
1620
|
+
.crit0,
|
|
1621
|
+
.crit1,
|
|
1622
|
+
.crit2,
|
|
1623
|
+
.crit3 {
|
|
1624
|
+
stroke: ${e.critBorderColor};
|
|
1625
|
+
fill: ${e.critBkgColor};
|
|
1626
|
+
stroke-width: 2;
|
|
1627
|
+
}
|
|
1628
|
+
|
|
1629
|
+
.activeCrit0,
|
|
1630
|
+
.activeCrit1,
|
|
1631
|
+
.activeCrit2,
|
|
1632
|
+
.activeCrit3 {
|
|
1633
|
+
stroke: ${e.critBorderColor};
|
|
1634
|
+
fill: ${e.activeTaskBkgColor};
|
|
1635
|
+
stroke-width: 2;
|
|
1636
|
+
}
|
|
1637
|
+
|
|
1638
|
+
.doneCrit0,
|
|
1639
|
+
.doneCrit1,
|
|
1640
|
+
.doneCrit2,
|
|
1641
|
+
.doneCrit3 {
|
|
1642
|
+
stroke: ${e.critBorderColor};
|
|
1643
|
+
fill: ${e.doneTaskBkgColor};
|
|
1644
|
+
stroke-width: 2;
|
|
1645
|
+
cursor: pointer;
|
|
1646
|
+
shape-rendering: crispEdges;
|
|
1647
|
+
}
|
|
1648
|
+
|
|
1649
|
+
.milestone {
|
|
1650
|
+
transform: rotate(45deg) scale(0.8,0.8);
|
|
1651
|
+
}
|
|
1652
|
+
|
|
1653
|
+
.milestoneText {
|
|
1654
|
+
font-style: italic;
|
|
1655
|
+
}
|
|
1656
|
+
.doneCritText0,
|
|
1657
|
+
.doneCritText1,
|
|
1658
|
+
.doneCritText2,
|
|
1659
|
+
.doneCritText3 {
|
|
1660
|
+
fill: ${e.taskTextDarkColor} !important;
|
|
1661
|
+
}
|
|
1662
|
+
|
|
1663
|
+
.vert {
|
|
1664
|
+
stroke: ${e.vertLineColor};
|
|
1665
|
+
}
|
|
1666
|
+
|
|
1667
|
+
.vertText {
|
|
1668
|
+
font-size: 15px;
|
|
1669
|
+
text-anchor: middle;
|
|
1670
|
+
fill: ${e.vertLineColor} !important;
|
|
1671
|
+
}
|
|
1672
|
+
|
|
1673
|
+
.activeCritText0,
|
|
1674
|
+
.activeCritText1,
|
|
1675
|
+
.activeCritText2,
|
|
1676
|
+
.activeCritText3 {
|
|
1677
|
+
fill: ${e.taskTextDarkColor} !important;
|
|
1678
|
+
}
|
|
1679
|
+
|
|
1680
|
+
.titleText {
|
|
1681
|
+
text-anchor: middle;
|
|
1682
|
+
font-size: 18px;
|
|
1683
|
+
fill: ${e.titleColor || e.textColor};
|
|
1684
|
+
font-family: ${e.fontFamily};
|
|
1685
|
+
}
|
|
1686
|
+
`, "getStyles")
|
|
1687
|
+
};
|
|
1688
|
+
export { diagram };
|