@loopstack/loopstack-studio 0.20.3 → 0.21.0-rc.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/_virtual/rolldown_runtime.js +20 -0
- package/dist/components/data-table/ConfirmDialog.js +30 -0
- package/dist/components/data-table/DataList.js +216 -0
- package/dist/components/data-table/DataTable.js +264 -0
- package/dist/components/data-table/DataTableBatchAction.js +32 -0
- package/dist/components/data-table/DataTableFilters.js +83 -0
- package/dist/components/data-table/DataTablePagination.js +108 -0
- package/dist/components/data-table/DataTableToolbar.js +70 -0
- package/dist/components/dynamic-form/ArrayController.js +100 -0
- package/dist/components/dynamic-form/CodeContent.js +174 -0
- package/dist/components/dynamic-form/Form.js +35 -0
- package/dist/components/dynamic-form/FormBody.js +26 -0
- package/dist/components/dynamic-form/FormElement.js +42 -0
- package/dist/components/dynamic-form/FormElementHeader.js +20 -0
- package/dist/components/dynamic-form/InputController.js +38 -0
- package/dist/components/dynamic-form/MarkdownContent.js +76 -0
- package/dist/components/dynamic-form/MermaidDiagram.js +41 -0
- package/dist/components/dynamic-form/ObjectController.js +32 -0
- package/dist/components/dynamic-form/fields/BaseFieldWrapper.js +47 -0
- package/dist/components/dynamic-form/fields/CheckboxField.js +53 -0
- package/dist/components/dynamic-form/fields/CodeViewField.js +63 -0
- package/dist/components/dynamic-form/fields/InputField.js +105 -0
- package/dist/components/dynamic-form/fields/RadioField.js +67 -0
- package/dist/components/dynamic-form/fields/SelectField.js +60 -0
- package/dist/components/dynamic-form/fields/SliderField.js +112 -0
- package/dist/components/dynamic-form/fields/SwitchField.js +66 -0
- package/dist/components/dynamic-form/fields/TextareaField.js +77 -0
- package/dist/components/dynamic-form/fields/utils/text-validation-utils.js +33 -0
- package/dist/components/dynamic-form/hooks/useArrayDefaultValue.js +42 -0
- package/dist/components/dynamic-form/hooks/useFieldConfig.js +21 -0
- package/dist/components/dynamic-form/hooks/useMergeParentKey.js +5 -0
- package/dist/components/dynamic-form/hooks/useSortPropertyNames.js +5 -0
- package/dist/components/layout/MainLayout.js +24 -0
- package/dist/components/lists/CustomListView.js +87 -0
- package/dist/components/lists/ListView.js +118 -0
- package/dist/components/page/PageBreadcrumbs.js +41 -0
- package/dist/components/snackbars/ErrorSnackbar.js +30 -0
- package/dist/components/snackbars/Snackbar.js +44 -0
- package/dist/components/ui/alert-dialog.js +121 -0
- package/dist/components/ui/badge.js +28 -0
- package/dist/components/ui/breadcrumb.js +85 -0
- package/dist/components/ui/button.js +47 -0
- package/dist/components/ui/card.js +29 -0
- package/dist/components/ui/checkbox.js +26 -0
- package/dist/components/ui/collapsible.js +32 -0
- package/dist/components/ui/dialog.js +88 -0
- package/dist/components/ui/input.js +18 -0
- package/dist/components/ui/label.js +19 -0
- package/dist/components/ui/radio-group.js +38 -0
- package/dist/components/ui/select.js +125 -0
- package/dist/components/ui/sheet.js +97 -0
- package/dist/components/ui/slider.js +35 -0
- package/dist/components/ui/switch.js +24 -0
- package/dist/components/ui/table.js +81 -0
- package/dist/components/ui/textarea.js +17 -0
- package/dist/components/ui/tooltip.js +50 -0
- package/dist/features/health/LocalHealthCheck.js +95 -0
- package/dist/features/workspaces/Workspaces.js +162 -0
- package/dist/features/workspaces/components/CreateWorkspace.js +128 -0
- package/dist/features/workspaces/components/ExecutionTimeline.js +204 -0
- package/dist/features/workspaces/components/NewPipelineRunDialog.js +31 -0
- package/dist/features/workspaces/components/PipelineForm.js +152 -0
- package/dist/features/workspaces/components/pipeline-form/ArgumentsView.js +75 -0
- package/dist/features/workspaces/components/pipeline-form/HeaderSection.js +43 -0
- package/dist/features/workspaces/components/pipeline-form/SelectionView.js +105 -0
- package/dist/hooks/use-mobile.js +3 -3
- package/dist/hooks/useAuth.js +56 -0
- package/dist/hooks/useConfig.js +46 -0
- package/dist/hooks/useDebounce.js +27 -0
- package/dist/hooks/usePipelines.js +117 -0
- package/dist/hooks/useProcessor.js +24 -0
- package/dist/hooks/useWorkspaces.js +142 -0
- package/dist/index.d.ts +7 -0
- package/dist/index.js +4 -1
- package/dist/lib/utils.js +6 -0
- package/dist/loopstack-studio.css +2 -0
- package/dist/node_modules/@braintree/sanitize-url/dist/constants.js +6 -0
- package/dist/node_modules/@braintree/sanitize-url/dist/index.js +48 -0
- package/dist/node_modules/@chevrotain/gast/lib/src/helpers.js +26 -0
- package/dist/node_modules/@chevrotain/gast/lib/src/model.js +154 -0
- package/dist/node_modules/@chevrotain/gast/lib/src/visitor.js +40 -0
- package/dist/node_modules/@chevrotain/regexp-to-ast/lib/src/api.js +2 -0
- package/dist/node_modules/@chevrotain/regexp-to-ast/lib/src/base-regexp-visitor.js +85 -0
- package/dist/node_modules/@chevrotain/regexp-to-ast/lib/src/character-classes.js +35 -0
- package/dist/node_modules/@chevrotain/regexp-to-ast/lib/src/regexp-parser.js +570 -0
- package/dist/node_modules/@chevrotain/regexp-to-ast/lib/src/utils.js +25 -0
- package/dist/node_modules/@chevrotain/utils/lib/src/print.js +9 -0
- package/dist/node_modules/@chevrotain/utils/lib/src/timer.js +8 -0
- package/dist/node_modules/@chevrotain/utils/lib/src/to-fast-properties.js +10 -0
- package/dist/node_modules/@iconify/utils/lib/customisations/defaults.js +9 -0
- package/dist/node_modules/@iconify/utils/lib/icon/defaults.js +18 -0
- package/dist/node_modules/@iconify/utils/lib/icon/merge.js +8 -0
- package/dist/node_modules/@iconify/utils/lib/icon/name.js +35 -0
- package/dist/node_modules/@iconify/utils/lib/icon/transformations.js +7 -0
- package/dist/node_modules/@iconify/utils/lib/icon-set/get-icon.js +15 -0
- package/dist/node_modules/@iconify/utils/lib/icon-set/tree.js +14 -0
- package/dist/node_modules/@iconify/utils/lib/svg/build.js +54 -0
- package/dist/node_modules/@iconify/utils/lib/svg/defs.js +22 -0
- package/dist/node_modules/@iconify/utils/lib/svg/html.js +6 -0
- package/dist/node_modules/@iconify/utils/lib/svg/id.js +17 -0
- package/dist/node_modules/@iconify/utils/lib/svg/size.js +18 -0
- package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/architecture-7HQA4BMR.js +3 -0
- package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-4F5CHEZ2.js +23 -0
- package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-B2363JML.js +60 -0
- package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-FRFDVMJY.js +23 -0
- package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-PL6DKKU2.js +28 -0
- package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-SJTYNZTY.js +23 -0
- package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-TCCFYFTB.js +787 -0
- package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-TQ3KTPDO.js +23 -0
- package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-UMXZTB3W.js +30 -0
- package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/gitGraph-G5XIXVHT.js +3 -0
- package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/info-VBDWY6EO.js +3 -0
- package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/packet-DYOGHKS2.js +3 -0
- package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/pie-VRWISCQL.js +3 -0
- package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/radar-ZZBFDIW7.js +3 -0
- package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/treemap-GDKQZRPO.js +3 -0
- package/dist/node_modules/@mermaid-js/parser/dist/mermaid-parser.core.js +55 -0
- package/dist/node_modules/ccount/index.js +8 -0
- package/dist/node_modules/chevrotain/lib/src/api.js +10 -0
- package/dist/node_modules/chevrotain/lib/src/lang/lang_extensions.js +10 -0
- package/dist/node_modules/chevrotain/lib/src/parse/constants.js +2 -0
- package/dist/node_modules/chevrotain/lib/src/parse/cst/cst.js +13 -0
- package/dist/node_modules/chevrotain/lib/src/parse/cst/cst_visitor.js +58 -0
- package/dist/node_modules/chevrotain/lib/src/parse/errors_public.js +75 -0
- package/dist/node_modules/chevrotain/lib/src/parse/exceptions_public.js +34 -0
- package/dist/node_modules/chevrotain/lib/src/parse/grammar/checks.js +299 -0
- package/dist/node_modules/chevrotain/lib/src/parse/grammar/first.js +25 -0
- package/dist/node_modules/chevrotain/lib/src/parse/grammar/follow.js +29 -0
- package/dist/node_modules/chevrotain/lib/src/parse/grammar/gast/gast_resolver_public.js +15 -0
- package/dist/node_modules/chevrotain/lib/src/parse/grammar/interpreter.js +269 -0
- package/dist/node_modules/chevrotain/lib/src/parse/grammar/keys.js +5 -0
- package/dist/node_modules/chevrotain/lib/src/parse/grammar/llk_lookahead.js +43 -0
- package/dist/node_modules/chevrotain/lib/src/parse/grammar/lookahead.js +248 -0
- package/dist/node_modules/chevrotain/lib/src/parse/grammar/resolver.js +32 -0
- package/dist/node_modules/chevrotain/lib/src/parse/grammar/rest.js +58 -0
- package/dist/node_modules/chevrotain/lib/src/parse/parser/parser.js +122 -0
- package/dist/node_modules/chevrotain/lib/src/parse/parser/traits/context_assist.js +16 -0
- package/dist/node_modules/chevrotain/lib/src/parse/parser/traits/error_handler.js +48 -0
- package/dist/node_modules/chevrotain/lib/src/parse/parser/traits/gast_recorder.js +172 -0
- package/dist/node_modules/chevrotain/lib/src/parse/parser/traits/lexer_adapter.js +39 -0
- package/dist/node_modules/chevrotain/lib/src/parse/parser/traits/looksahead.js +109 -0
- package/dist/node_modules/chevrotain/lib/src/parse/parser/traits/perf_tracer.js +22 -0
- package/dist/node_modules/chevrotain/lib/src/parse/parser/traits/recognizer_api.js +313 -0
- package/dist/node_modules/chevrotain/lib/src/parse/parser/traits/recognizer_engine.js +275 -0
- package/dist/node_modules/chevrotain/lib/src/parse/parser/traits/recoverable.js +144 -0
- package/dist/node_modules/chevrotain/lib/src/parse/parser/traits/tree_builder.js +102 -0
- package/dist/node_modules/chevrotain/lib/src/parse/parser/utils/apply_mixins.js +11 -0
- package/dist/node_modules/chevrotain/lib/src/scan/lexer.js +465 -0
- package/dist/node_modules/chevrotain/lib/src/scan/lexer_errors_public.js +9 -0
- package/dist/node_modules/chevrotain/lib/src/scan/lexer_public.js +275 -0
- package/dist/node_modules/chevrotain/lib/src/scan/reg_exp.js +152 -0
- package/dist/node_modules/chevrotain/lib/src/scan/reg_exp_parser.js +15 -0
- package/dist/node_modules/chevrotain/lib/src/scan/tokens.js +75 -0
- package/dist/node_modules/chevrotain/lib/src/scan/tokens_public.js +42 -0
- package/dist/node_modules/chevrotain-allstar/lib/all-star-lookahead.js +346 -0
- package/dist/node_modules/chevrotain-allstar/lib/atn.js +194 -0
- package/dist/node_modules/chevrotain-allstar/lib/dfa.js +32 -0
- package/dist/node_modules/chevrotain-allstar/lib/index.js +1 -0
- package/dist/node_modules/comma-separated-tokens/index.js +10 -0
- package/dist/node_modules/cose-base/cose-base.js +469 -0
- package/dist/node_modules/cytoscape/dist/cytoscape.esm.js +18100 -0
- package/dist/node_modules/cytoscape-cose-bilkent/cytoscape-cose-bilkent.js +172 -0
- package/dist/node_modules/cytoscape-fcose/cytoscape-fcose.js +604 -0
- package/dist/node_modules/cytoscape-fcose/node_modules/cose-base/cose-base.js +1142 -0
- package/dist/node_modules/cytoscape-fcose/node_modules/layout-base/layout-base.js +1635 -0
- package/dist/node_modules/d3/src/index.js +93 -0
- package/dist/node_modules/d3-array/src/ascending.js +4 -0
- package/dist/node_modules/d3-array/src/bisect.js +8 -0
- package/dist/node_modules/d3-array/src/bisector.js +39 -0
- package/dist/node_modules/d3-array/src/descending.js +4 -0
- package/dist/node_modules/d3-array/src/max.js +10 -0
- package/dist/node_modules/d3-array/src/min.js +10 -0
- package/dist/node_modules/d3-array/src/number.js +4 -0
- package/dist/node_modules/d3-array/src/range.js +6 -0
- package/dist/node_modules/d3-array/src/ticks.js +30 -0
- package/dist/node_modules/d3-axis/src/axis.js +61 -0
- package/dist/node_modules/d3-axis/src/identity.js +4 -0
- package/dist/node_modules/d3-brush/src/brush.js +15 -0
- package/dist/node_modules/d3-brush/src/index.js +1 -0
- package/dist/node_modules/d3-color/src/color.js +287 -0
- package/dist/node_modules/d3-color/src/define.js +9 -0
- package/dist/node_modules/d3-color/src/lab.js +70 -0
- package/dist/node_modules/d3-color/src/math.js +2 -0
- package/dist/node_modules/d3-dispatch/src/dispatch.js +64 -0
- package/dist/node_modules/d3-ease/src/cubic.js +4 -0
- package/dist/node_modules/d3-format/src/defaultLocale.js +11 -0
- package/dist/node_modules/d3-format/src/exponent.js +5 -0
- package/dist/node_modules/d3-format/src/formatDecimal.js +9 -0
- package/dist/node_modules/d3-format/src/formatGroup.js +7 -0
- package/dist/node_modules/d3-format/src/formatNumerals.js +8 -0
- package/dist/node_modules/d3-format/src/formatPrefixAuto.js +9 -0
- package/dist/node_modules/d3-format/src/formatRounded.js +8 -0
- package/dist/node_modules/d3-format/src/formatSpecifier.js +25 -0
- package/dist/node_modules/d3-format/src/formatTrim.js +16 -0
- package/dist/node_modules/d3-format/src/formatTypes.js +19 -0
- package/dist/node_modules/d3-format/src/identity.js +4 -0
- package/dist/node_modules/d3-format/src/locale.js +82 -0
- package/dist/node_modules/d3-format/src/precisionFixed.js +5 -0
- package/dist/node_modules/d3-format/src/precisionPrefix.js +5 -0
- package/dist/node_modules/d3-format/src/precisionRound.js +5 -0
- package/dist/node_modules/d3-hierarchy/src/accessors.js +5 -0
- package/dist/node_modules/d3-hierarchy/src/constant.js +9 -0
- package/dist/node_modules/d3-hierarchy/src/hierarchy/ancestors.js +5 -0
- package/dist/node_modules/d3-hierarchy/src/hierarchy/count.js +10 -0
- package/dist/node_modules/d3-hierarchy/src/hierarchy/descendants.js +4 -0
- package/dist/node_modules/d3-hierarchy/src/hierarchy/each.js +6 -0
- package/dist/node_modules/d3-hierarchy/src/hierarchy/eachAfter.js +6 -0
- package/dist/node_modules/d3-hierarchy/src/hierarchy/eachBefore.js +5 -0
- package/dist/node_modules/d3-hierarchy/src/hierarchy/find.js +5 -0
- package/dist/node_modules/d3-hierarchy/src/hierarchy/index.js +57 -0
- package/dist/node_modules/d3-hierarchy/src/hierarchy/iterator.js +7 -0
- package/dist/node_modules/d3-hierarchy/src/hierarchy/leaves.js +7 -0
- package/dist/node_modules/d3-hierarchy/src/hierarchy/links.js +10 -0
- package/dist/node_modules/d3-hierarchy/src/hierarchy/path.js +12 -0
- package/dist/node_modules/d3-hierarchy/src/hierarchy/sort.js +6 -0
- package/dist/node_modules/d3-hierarchy/src/hierarchy/sum.js +7 -0
- package/dist/node_modules/d3-hierarchy/src/treemap/dice.js +4 -0
- package/dist/node_modules/d3-hierarchy/src/treemap/index.js +36 -0
- package/dist/node_modules/d3-hierarchy/src/treemap/round.js +4 -0
- package/dist/node_modules/d3-hierarchy/src/treemap/slice.js +4 -0
- package/dist/node_modules/d3-hierarchy/src/treemap/squarify.js +33 -0
- package/dist/node_modules/d3-interpolate/src/array.js +11 -0
- package/dist/node_modules/d3-interpolate/src/basis.js +12 -0
- package/dist/node_modules/d3-interpolate/src/basisClosed.js +9 -0
- package/dist/node_modules/d3-interpolate/src/color.js +25 -0
- package/dist/node_modules/d3-interpolate/src/constant.js +2 -0
- package/dist/node_modules/d3-interpolate/src/date.js +7 -0
- package/dist/node_modules/d3-interpolate/src/hcl.js +12 -0
- package/dist/node_modules/d3-interpolate/src/number.js +6 -0
- package/dist/node_modules/d3-interpolate/src/numberArray.js +12 -0
- package/dist/node_modules/d3-interpolate/src/object.js +10 -0
- package/dist/node_modules/d3-interpolate/src/rgb.js +15 -0
- package/dist/node_modules/d3-interpolate/src/round.js +6 -0
- package/dist/node_modules/d3-interpolate/src/string.js +24 -0
- package/dist/node_modules/d3-interpolate/src/transform/decompose.js +20 -0
- package/dist/node_modules/d3-interpolate/src/transform/index.js +52 -0
- package/dist/node_modules/d3-interpolate/src/transform/parse.js +10 -0
- package/dist/node_modules/d3-interpolate/src/value.js +14 -0
- package/dist/node_modules/d3-path/src/path.js +61 -0
- package/dist/node_modules/d3-sankey/node_modules/d3-array/src/max.js +10 -0
- package/dist/node_modules/d3-sankey/node_modules/d3-array/src/min.js +10 -0
- package/dist/node_modules/d3-sankey/node_modules/d3-array/src/sum.js +10 -0
- package/dist/node_modules/d3-sankey/node_modules/d3-path/src/path.js +50 -0
- package/dist/node_modules/d3-sankey/node_modules/d3-shape/src/array.js +2 -0
- package/dist/node_modules/d3-sankey/node_modules/d3-shape/src/constant.js +6 -0
- package/dist/node_modules/d3-sankey/node_modules/d3-shape/src/link/index.js +35 -0
- package/dist/node_modules/d3-sankey/node_modules/d3-shape/src/point.js +7 -0
- package/dist/node_modules/d3-sankey/src/align.js +17 -0
- package/dist/node_modules/d3-sankey/src/constant.js +6 -0
- package/dist/node_modules/d3-sankey/src/sankey.js +224 -0
- package/dist/node_modules/d3-sankey/src/sankeyLinkHorizontal.js +11 -0
- package/dist/node_modules/d3-scale/src/band.js +39 -0
- package/dist/node_modules/d3-scale/src/constant.js +6 -0
- package/dist/node_modules/d3-scale/src/continuous.js +69 -0
- package/dist/node_modules/d3-scale/src/init.js +13 -0
- package/dist/node_modules/d3-scale/src/linear.js +32 -0
- package/dist/node_modules/d3-scale/src/nice.js +6 -0
- package/dist/node_modules/d3-scale/src/number.js +4 -0
- package/dist/node_modules/d3-scale/src/ordinal.js +27 -0
- package/dist/node_modules/d3-scale/src/tickFormat.js +27 -0
- package/dist/node_modules/d3-scale/src/time.js +43 -0
- package/dist/node_modules/d3-scale-chromatic/src/categorical/Tableau10.js +3 -0
- package/dist/node_modules/d3-scale-chromatic/src/colors.js +5 -0
- package/dist/node_modules/d3-selection/src/array.js +4 -0
- package/dist/node_modules/d3-selection/src/constant.js +6 -0
- package/dist/node_modules/d3-selection/src/creator.js +18 -0
- package/dist/node_modules/d3-selection/src/matcher.js +11 -0
- package/dist/node_modules/d3-selection/src/namespace.js +9 -0
- package/dist/node_modules/d3-selection/src/namespaces.js +8 -0
- package/dist/node_modules/d3-selection/src/select.js +5 -0
- package/dist/node_modules/d3-selection/src/selection/append.js +8 -0
- package/dist/node_modules/d3-selection/src/selection/attr.js +42 -0
- package/dist/node_modules/d3-selection/src/selection/call.js +5 -0
- package/dist/node_modules/d3-selection/src/selection/classed.js +51 -0
- package/dist/node_modules/d3-selection/src/selection/clone.js +12 -0
- package/dist/node_modules/d3-selection/src/selection/data.js +34 -0
- package/dist/node_modules/d3-selection/src/selection/datum.js +4 -0
- package/dist/node_modules/d3-selection/src/selection/dispatch.js +19 -0
- package/dist/node_modules/d3-selection/src/selection/each.js +5 -0
- package/dist/node_modules/d3-selection/src/selection/empty.js +4 -0
- package/dist/node_modules/d3-selection/src/selection/enter.js +24 -0
- package/dist/node_modules/d3-selection/src/selection/exit.js +6 -0
- package/dist/node_modules/d3-selection/src/selection/filter.js +8 -0
- package/dist/node_modules/d3-selection/src/selection/html.js +17 -0
- package/dist/node_modules/d3-selection/src/selection/index.js +84 -0
- package/dist/node_modules/d3-selection/src/selection/insert.js +12 -0
- package/dist/node_modules/d3-selection/src/selection/iterator.js +4 -0
- package/dist/node_modules/d3-selection/src/selection/join.js +5 -0
- package/dist/node_modules/d3-selection/src/selection/lower.js +7 -0
- package/dist/node_modules/d3-selection/src/selection/merge.js +7 -0
- package/dist/node_modules/d3-selection/src/selection/node.js +8 -0
- package/dist/node_modules/d3-selection/src/selection/nodes.js +4 -0
- package/dist/node_modules/d3-selection/src/selection/on.js +54 -0
- package/dist/node_modules/d3-selection/src/selection/order.js +5 -0
- package/dist/node_modules/d3-selection/src/selection/property.js +20 -0
- package/dist/node_modules/d3-selection/src/selection/raise.js +7 -0
- package/dist/node_modules/d3-selection/src/selection/remove.js +8 -0
- package/dist/node_modules/d3-selection/src/selection/select.js +8 -0
- package/dist/node_modules/d3-selection/src/selection/selectAll.js +14 -0
- package/dist/node_modules/d3-selection/src/selection/selectChild.js +14 -0
- package/dist/node_modules/d3-selection/src/selection/selectChildren.js +14 -0
- package/dist/node_modules/d3-selection/src/selection/size.js +6 -0
- package/dist/node_modules/d3-selection/src/selection/sort.js +16 -0
- package/dist/node_modules/d3-selection/src/selection/sparse.js +4 -0
- package/dist/node_modules/d3-selection/src/selection/style.js +24 -0
- package/dist/node_modules/d3-selection/src/selection/text.js +17 -0
- package/dist/node_modules/d3-selection/src/selector.js +7 -0
- package/dist/node_modules/d3-selection/src/selectorAll.js +9 -0
- package/dist/node_modules/d3-selection/src/window.js +4 -0
- package/dist/node_modules/d3-shape/src/arc.js +79 -0
- package/dist/node_modules/d3-shape/src/array.js +5 -0
- package/dist/node_modules/d3-shape/src/constant.js +6 -0
- package/dist/node_modules/d3-shape/src/curve/basis.js +45 -0
- package/dist/node_modules/d3-shape/src/curve/basisClosed.js +46 -0
- package/dist/node_modules/d3-shape/src/curve/basisOpen.js +42 -0
- package/dist/node_modules/d3-shape/src/curve/bump.js +36 -0
- package/dist/node_modules/d3-shape/src/curve/bundle.js +26 -0
- package/dist/node_modules/d3-shape/src/curve/cardinal.js +52 -0
- package/dist/node_modules/d3-shape/src/curve/cardinalClosed.js +51 -0
- package/dist/node_modules/d3-shape/src/curve/cardinalOpen.js +45 -0
- package/dist/node_modules/d3-shape/src/curve/catmullRom.js +67 -0
- package/dist/node_modules/d3-shape/src/curve/catmullRomClosed.js +56 -0
- package/dist/node_modules/d3-shape/src/curve/catmullRomOpen.js +50 -0
- package/dist/node_modules/d3-shape/src/curve/linear.js +32 -0
- package/dist/node_modules/d3-shape/src/curve/linearClosed.js +21 -0
- package/dist/node_modules/d3-shape/src/curve/monotone.js +90 -0
- package/dist/node_modules/d3-shape/src/curve/natural.js +35 -0
- package/dist/node_modules/d3-shape/src/curve/step.js +43 -0
- package/dist/node_modules/d3-shape/src/descending.js +4 -0
- package/dist/node_modules/d3-shape/src/identity.js +4 -0
- package/dist/node_modules/d3-shape/src/line.js +26 -0
- package/dist/node_modules/d3-shape/src/math.js +8 -0
- package/dist/node_modules/d3-shape/src/noop.js +2 -0
- package/dist/node_modules/d3-shape/src/path.js +15 -0
- package/dist/node_modules/d3-shape/src/pie.js +39 -0
- package/dist/node_modules/d3-shape/src/point.js +7 -0
- package/dist/node_modules/d3-time/src/day.js +17 -0
- package/dist/node_modules/d3-time/src/duration.js +2 -0
- package/dist/node_modules/d3-time/src/hour.js +15 -0
- package/dist/node_modules/d3-time/src/interval.js +24 -0
- package/dist/node_modules/d3-time/src/millisecond.js +10 -0
- package/dist/node_modules/d3-time/src/minute.js +15 -0
- package/dist/node_modules/d3-time/src/month.js +14 -0
- package/dist/node_modules/d3-time/src/second.js +9 -0
- package/dist/node_modules/d3-time/src/ticks.js +121 -0
- package/dist/node_modules/d3-time/src/week.js +21 -0
- package/dist/node_modules/d3-time/src/year.js +22 -0
- package/dist/node_modules/d3-time-format/src/defaultLocale.js +58 -0
- package/dist/node_modules/d3-time-format/src/locale.js +486 -0
- package/dist/node_modules/d3-timer/src/timeout.js +8 -0
- package/dist/node_modules/d3-timer/src/timer.js +51 -0
- package/dist/node_modules/d3-transition/src/index.js +3 -0
- package/dist/node_modules/d3-transition/src/interrupt.js +15 -0
- package/dist/node_modules/d3-transition/src/selection/index.js +4 -0
- package/dist/node_modules/d3-transition/src/selection/interrupt.js +7 -0
- package/dist/node_modules/d3-transition/src/selection/transition.js +21 -0
- package/dist/node_modules/d3-transition/src/transition/attr.js +47 -0
- package/dist/node_modules/d3-transition/src/transition/attrTween.js +36 -0
- package/dist/node_modules/d3-transition/src/transition/delay.js +16 -0
- package/dist/node_modules/d3-transition/src/transition/duration.js +16 -0
- package/dist/node_modules/d3-transition/src/transition/ease.js +12 -0
- package/dist/node_modules/d3-transition/src/transition/easeVarying.js +13 -0
- package/dist/node_modules/d3-transition/src/transition/end.js +14 -0
- package/dist/node_modules/d3-transition/src/transition/filter.js +8 -0
- package/dist/node_modules/d3-transition/src/transition/index.js +65 -0
- package/dist/node_modules/d3-transition/src/transition/interpolate.js +9 -0
- package/dist/node_modules/d3-transition/src/transition/merge.js +8 -0
- package/dist/node_modules/d3-transition/src/transition/on.js +19 -0
- package/dist/node_modules/d3-transition/src/transition/remove.js +11 -0
- package/dist/node_modules/d3-transition/src/transition/schedule.js +67 -0
- package/dist/node_modules/d3-transition/src/transition/select.js +10 -0
- package/dist/node_modules/d3-transition/src/transition/selectAll.js +13 -0
- package/dist/node_modules/d3-transition/src/transition/selection.js +6 -0
- package/dist/node_modules/d3-transition/src/transition/style.js +43 -0
- package/dist/node_modules/d3-transition/src/transition/styleTween.js +21 -0
- package/dist/node_modules/d3-transition/src/transition/text.js +15 -0
- package/dist/node_modules/d3-transition/src/transition/textTween.js +21 -0
- package/dist/node_modules/d3-transition/src/transition/transition.js +15 -0
- package/dist/node_modules/d3-transition/src/transition/tween.js +52 -0
- package/dist/node_modules/d3-zoom/src/index.js +2 -0
- package/dist/node_modules/d3-zoom/src/transform.js +46 -0
- package/dist/node_modules/d3-zoom/src/zoom.js +2 -0
- package/dist/node_modules/dagre-d3-es/src/dagre/acyclic.js +34 -0
- package/dist/node_modules/dagre-d3-es/src/dagre/add-border-segments.js +22 -0
- package/dist/node_modules/dagre-d3-es/src/dagre/coordinate-system.js +44 -0
- package/dist/node_modules/dagre-d3-es/src/dagre/data/list.js +25 -0
- package/dist/node_modules/dagre-d3-es/src/dagre/greedy-fas.js +69 -0
- package/dist/node_modules/dagre-d3-es/src/dagre/index.js +4 -0
- package/dist/node_modules/dagre-d3-es/src/dagre/layout.js +241 -0
- package/dist/node_modules/dagre-d3-es/src/dagre/nesting-graph.js +66 -0
- package/dist/node_modules/dagre-d3-es/src/dagre/normalize.js +32 -0
- package/dist/node_modules/dagre-d3-es/src/dagre/order/add-subgraph-constraints.js +14 -0
- package/dist/node_modules/dagre-d3-es/src/dagre/order/barycenter.js +25 -0
- package/dist/node_modules/dagre-d3-es/src/dagre/order/build-layer-graph.js +25 -0
- package/dist/node_modules/dagre-d3-es/src/dagre/order/cross-count.js +33 -0
- package/dist/node_modules/dagre-d3-es/src/dagre/order/index.js +44 -0
- package/dist/node_modules/dagre-d3-es/src/dagre/order/init-order.js +23 -0
- package/dist/node_modules/dagre-d3-es/src/dagre/order/resolve-conflicts.js +55 -0
- package/dist/node_modules/dagre-d3-es/src/dagre/order/sort-subgraph.js +43 -0
- package/dist/node_modules/dagre-d3-es/src/dagre/order/sort.js +27 -0
- package/dist/node_modules/dagre-d3-es/src/dagre/parent-dummy-chains.js +40 -0
- package/dist/node_modules/dagre-d3-es/src/dagre/position/bk.js +216 -0
- package/dist/node_modules/dagre-d3-es/src/dagre/position/index.js +23 -0
- package/dist/node_modules/dagre-d3-es/src/dagre/rank/feasible-tree.js +31 -0
- package/dist/node_modules/dagre-d3-es/src/dagre/rank/index.js +25 -0
- package/dist/node_modules/dagre-d3-es/src/dagre/rank/network-simplex.js +84 -0
- package/dist/node_modules/dagre-d3-es/src/dagre/rank/util.js +20 -0
- package/dist/node_modules/dagre-d3-es/src/dagre/util.js +117 -0
- package/dist/node_modules/dagre-d3-es/src/graphlib/alg/dfs.js +16 -0
- package/dist/node_modules/dagre-d3-es/src/graphlib/alg/dijkstra-all.js +1 -0
- package/dist/node_modules/dagre-d3-es/src/graphlib/alg/dijkstra.js +2 -0
- package/dist/node_modules/dagre-d3-es/src/graphlib/alg/floyd-warshall.js +2 -0
- package/dist/node_modules/dagre-d3-es/src/graphlib/alg/index.js +8 -0
- package/dist/node_modules/dagre-d3-es/src/graphlib/alg/is-acyclic.js +1 -0
- package/dist/node_modules/dagre-d3-es/src/graphlib/alg/postorder.js +5 -0
- package/dist/node_modules/dagre-d3-es/src/graphlib/alg/preorder.js +5 -0
- package/dist/node_modules/dagre-d3-es/src/graphlib/alg/prim.js +1 -0
- package/dist/node_modules/dagre-d3-es/src/graphlib/alg/topsort.js +15 -0
- package/dist/node_modules/dagre-d3-es/src/graphlib/graph.js +228 -0
- package/dist/node_modules/dagre-d3-es/src/graphlib/index.js +1 -0
- package/dist/node_modules/dagre-d3-es/src/graphlib/json.js +32 -0
- package/dist/node_modules/dayjs/dayjs.min.js +298 -0
- package/dist/node_modules/dayjs/plugin/advancedFormat.js +37 -0
- package/dist/node_modules/dayjs/plugin/customParseFormat.js +160 -0
- package/dist/node_modules/dayjs/plugin/duration.js +164 -0
- package/dist/node_modules/dayjs/plugin/isoWeek.js +29 -0
- package/dist/node_modules/devlop/lib/default.js +2 -0
- package/dist/node_modules/dompurify/dist/purify.es.js +547 -0
- package/dist/node_modules/hast-util-from-dom/lib/index.js +58 -0
- package/dist/node_modules/hast-util-from-html-isomorphic/lib/browser.js +10 -0
- package/dist/node_modules/hast-util-is-element/lib/index.js +36 -0
- package/dist/node_modules/hast-util-parse-selector/lib/index.js +16 -0
- package/dist/node_modules/hast-util-to-text/lib/index.js +104 -0
- package/dist/node_modules/hastscript/lib/create-h.js +86 -0
- package/dist/node_modules/hastscript/lib/index.js +5 -0
- package/dist/node_modules/hastscript/lib/svg-case-sensitive-tag-names.js +2 -0
- package/dist/node_modules/internmap/src/index.js +36 -0
- package/dist/node_modules/katex/dist/katex.js +22103 -0
- package/dist/node_modules/khroma/dist/channels/index.js +68 -0
- package/dist/node_modules/khroma/dist/channels/reusable.js +8 -0
- package/dist/node_modules/khroma/dist/channels/type.js +20 -0
- package/dist/node_modules/khroma/dist/color/hex.js +22 -0
- package/dist/node_modules/khroma/dist/color/hsl.js +36 -0
- package/dist/node_modules/khroma/dist/color/index.js +23 -0
- package/dist/node_modules/khroma/dist/color/keyword.js +162 -0
- package/dist/node_modules/khroma/dist/color/rgb.js +23 -0
- package/dist/node_modules/khroma/dist/constants.js +9 -0
- package/dist/node_modules/khroma/dist/methods/adjust.js +8 -0
- package/dist/node_modules/khroma/dist/methods/adjust_channel.js +7 -0
- package/dist/node_modules/khroma/dist/methods/change.js +8 -0
- package/dist/node_modules/khroma/dist/methods/channel.js +4 -0
- package/dist/node_modules/khroma/dist/methods/darken.js +3 -0
- package/dist/node_modules/khroma/dist/methods/invert.js +7 -0
- package/dist/node_modules/khroma/dist/methods/is_dark.js +3 -0
- package/dist/node_modules/khroma/dist/methods/is_light.js +3 -0
- package/dist/node_modules/khroma/dist/methods/lighten.js +3 -0
- package/dist/node_modules/khroma/dist/methods/luminance.js +7 -0
- package/dist/node_modules/khroma/dist/methods/mix.js +7 -0
- package/dist/node_modules/khroma/dist/methods/rgba.js +15 -0
- package/dist/node_modules/khroma/dist/utils/channel.js +58 -0
- package/dist/node_modules/khroma/dist/utils/index.js +9 -0
- package/dist/node_modules/khroma/dist/utils/lang.js +5 -0
- package/dist/node_modules/khroma/dist/utils/unit.js +5 -0
- package/dist/node_modules/langium/lib/default-module.js +85 -0
- package/dist/node_modules/langium/lib/dependency-injection.js +62 -0
- package/dist/node_modules/langium/lib/documentation/comment-provider.js +11 -0
- package/dist/node_modules/langium/lib/documentation/documentation-provider.js +36 -0
- package/dist/node_modules/langium/lib/documentation/jsdoc.js +303 -0
- package/dist/node_modules/langium/lib/index.js +182 -0
- package/dist/node_modules/langium/lib/languages/generated/ast.js +1089 -0
- package/dist/node_modules/langium/lib/languages/grammar-config.js +13 -0
- package/dist/node_modules/langium/lib/parser/async-parser.js +83 -0
- package/dist/node_modules/langium/lib/parser/completion-parser-builder.js +7 -0
- package/dist/node_modules/langium/lib/parser/cst-node-builder.js +160 -0
- package/dist/node_modules/langium/lib/parser/indentation-aware.js +141 -0
- package/dist/node_modules/langium/lib/parser/langium-parser-builder.js +11 -0
- package/dist/node_modules/langium/lib/parser/langium-parser.js +388 -0
- package/dist/node_modules/langium/lib/parser/lexer.js +50 -0
- package/dist/node_modules/langium/lib/parser/parser-builder-base.js +275 -0
- package/dist/node_modules/langium/lib/parser/token-builder.js +61 -0
- package/dist/node_modules/langium/lib/parser/value-converter.js +78 -0
- package/dist/node_modules/langium/lib/references/linker.js +190 -0
- package/dist/node_modules/langium/lib/references/name-provider.js +13 -0
- package/dist/node_modules/langium/lib/references/references.js +76 -0
- package/dist/node_modules/langium/lib/references/scope-computation.js +35 -0
- package/dist/node_modules/langium/lib/references/scope-provider.js +34 -0
- package/dist/node_modules/langium/lib/references/scope.js +73 -0
- package/dist/node_modules/langium/lib/serializer/hydrator.js +125 -0
- package/dist/node_modules/langium/lib/serializer/json-serializer.js +145 -0
- package/dist/node_modules/langium/lib/service-registry.js +37 -0
- package/dist/node_modules/langium/lib/syntax-tree.js +70 -0
- package/dist/node_modules/langium/lib/utils/ast-utils.js +157 -0
- package/dist/node_modules/langium/lib/utils/caching.js +91 -0
- package/dist/node_modules/langium/lib/utils/cancellation.js +5 -0
- package/dist/node_modules/langium/lib/utils/collections.js +85 -0
- package/dist/node_modules/langium/lib/utils/cst-utils.js +190 -0
- package/dist/node_modules/langium/lib/utils/disposable.js +8 -0
- package/dist/node_modules/langium/lib/utils/errors.js +12 -0
- package/dist/node_modules/langium/lib/utils/event.js +5 -0
- package/dist/node_modules/langium/lib/utils/grammar-loader.js +22 -0
- package/dist/node_modules/langium/lib/utils/grammar-utils.js +296 -0
- package/dist/node_modules/langium/lib/utils/index.js +53 -0
- package/dist/node_modules/langium/lib/utils/promise-utils.js +30 -0
- package/dist/node_modules/langium/lib/utils/regexp-utils.js +167 -0
- package/dist/node_modules/langium/lib/utils/stream.js +327 -0
- package/dist/node_modules/langium/lib/utils/uri-utils.js +107 -0
- package/dist/node_modules/langium/lib/validation/document-validator.js +210 -0
- package/dist/node_modules/langium/lib/validation/validation-registry.js +87 -0
- package/dist/node_modules/langium/lib/workspace/ast-descriptions.js +57 -0
- package/dist/node_modules/langium/lib/workspace/ast-node-locator.js +28 -0
- package/dist/node_modules/langium/lib/workspace/configuration.js +51 -0
- package/dist/node_modules/langium/lib/workspace/document-builder.js +201 -0
- package/dist/node_modules/langium/lib/workspace/documents.js +142 -0
- package/dist/node_modules/langium/lib/workspace/file-system-provider.js +34 -0
- package/dist/node_modules/langium/lib/workspace/index-manager.js +49 -0
- package/dist/node_modules/langium/lib/workspace/profiler.js +89 -0
- package/dist/node_modules/langium/lib/workspace/workspace-lock.js +42 -0
- package/dist/node_modules/langium/lib/workspace/workspace-manager.js +66 -0
- package/dist/node_modules/layout-base/layout-base.js +1407 -0
- package/dist/node_modules/lodash-es/_DataView.js +4 -0
- package/dist/node_modules/lodash-es/_Hash.js +15 -0
- package/dist/node_modules/lodash-es/_ListCache.js +15 -0
- package/dist/node_modules/lodash-es/_Map.js +4 -0
- package/dist/node_modules/lodash-es/_MapCache.js +15 -0
- package/dist/node_modules/lodash-es/_Promise.js +4 -0
- package/dist/node_modules/lodash-es/_Set.js +4 -0
- package/dist/node_modules/lodash-es/_SetCache.js +10 -0
- package/dist/node_modules/lodash-es/_Stack.js +12 -0
- package/dist/node_modules/lodash-es/_Symbol.js +3 -0
- package/dist/node_modules/lodash-es/_Uint8Array.js +3 -0
- package/dist/node_modules/lodash-es/_WeakMap.js +4 -0
- package/dist/node_modules/lodash-es/_apply.js +11 -0
- package/dist/node_modules/lodash-es/_arrayAggregator.js +9 -0
- package/dist/node_modules/lodash-es/_arrayEach.js +6 -0
- package/dist/node_modules/lodash-es/_arrayEvery.js +6 -0
- package/dist/node_modules/lodash-es/_arrayFilter.js +9 -0
- package/dist/node_modules/lodash-es/_arrayIncludes.js +6 -0
- package/dist/node_modules/lodash-es/_arrayIncludesWith.js +6 -0
- package/dist/node_modules/lodash-es/_arrayLikeKeys.js +14 -0
- package/dist/node_modules/lodash-es/_arrayMap.js +6 -0
- package/dist/node_modules/lodash-es/_arrayPush.js +6 -0
- package/dist/node_modules/lodash-es/_arrayReduce.js +7 -0
- package/dist/node_modules/lodash-es/_arraySome.js +6 -0
- package/dist/node_modules/lodash-es/_asciiSize.js +3 -0
- package/dist/node_modules/lodash-es/_assignMergeValue.js +7 -0
- package/dist/node_modules/lodash-es/_assignValue.js +9 -0
- package/dist/node_modules/lodash-es/_assocIndexOf.js +7 -0
- package/dist/node_modules/lodash-es/_baseAggregator.js +8 -0
- package/dist/node_modules/lodash-es/_baseAssign.js +7 -0
- package/dist/node_modules/lodash-es/_baseAssignIn.js +7 -0
- package/dist/node_modules/lodash-es/_baseAssignValue.js +11 -0
- package/dist/node_modules/lodash-es/_baseClone.js +56 -0
- package/dist/node_modules/lodash-es/_baseCreate.js +12 -0
- package/dist/node_modules/lodash-es/_baseDifference.js +22 -0
- package/dist/node_modules/lodash-es/_baseEach.js +4 -0
- package/dist/node_modules/lodash-es/_baseEvery.js +9 -0
- package/dist/node_modules/lodash-es/_baseExtremum.js +10 -0
- package/dist/node_modules/lodash-es/_baseFilter.js +9 -0
- package/dist/node_modules/lodash-es/_baseFindIndex.js +6 -0
- package/dist/node_modules/lodash-es/_baseFlatten.js +12 -0
- package/dist/node_modules/lodash-es/_baseFor.js +3 -0
- package/dist/node_modules/lodash-es/_baseForOwn.js +7 -0
- package/dist/node_modules/lodash-es/_baseGet.js +9 -0
- package/dist/node_modules/lodash-es/_baseGetAllKeys.js +8 -0
- package/dist/node_modules/lodash-es/_baseGetTag.js +9 -0
- package/dist/node_modules/lodash-es/_baseGt.js +5 -0
- package/dist/node_modules/lodash-es/_baseHas.js +6 -0
- package/dist/node_modules/lodash-es/_baseHasIn.js +5 -0
- package/dist/node_modules/lodash-es/_baseIndexOf.js +8 -0
- package/dist/node_modules/lodash-es/_baseIsArguments.js +8 -0
- package/dist/node_modules/lodash-es/_baseIsEqual.js +7 -0
- package/dist/node_modules/lodash-es/_baseIsEqualDeep.js +29 -0
- package/dist/node_modules/lodash-es/_baseIsMap.js +8 -0
- package/dist/node_modules/lodash-es/_baseIsMatch.js +25 -0
- package/dist/node_modules/lodash-es/_baseIsNaN.js +5 -0
- package/dist/node_modules/lodash-es/_baseIsNative.js +10 -0
- package/dist/node_modules/lodash-es/_baseIsRegExp.js +8 -0
- package/dist/node_modules/lodash-es/_baseIsSet.js +8 -0
- package/dist/node_modules/lodash-es/_baseIsTypedArray.js +10 -0
- package/dist/node_modules/lodash-es/_baseIteratee.js +10 -0
- package/dist/node_modules/lodash-es/_baseKeys.js +11 -0
- package/dist/node_modules/lodash-es/_baseKeysIn.js +12 -0
- package/dist/node_modules/lodash-es/_baseLt.js +5 -0
- package/dist/node_modules/lodash-es/_baseMap.js +10 -0
- package/dist/node_modules/lodash-es/_baseMatches.js +11 -0
- package/dist/node_modules/lodash-es/_baseMatchesProperty.js +16 -0
- package/dist/node_modules/lodash-es/_baseMerge.js +18 -0
- package/dist/node_modules/lodash-es/_baseMergeDeep.js +30 -0
- package/dist/node_modules/lodash-es/_baseOrderBy.js +30 -0
- package/dist/node_modules/lodash-es/_basePick.js +9 -0
- package/dist/node_modules/lodash-es/_basePickBy.js +12 -0
- package/dist/node_modules/lodash-es/_baseProperty.js +7 -0
- package/dist/node_modules/lodash-es/_basePropertyDeep.js +8 -0
- package/dist/node_modules/lodash-es/_baseRange.js +7 -0
- package/dist/node_modules/lodash-es/_baseReduce.js +7 -0
- package/dist/node_modules/lodash-es/_baseRest.js +8 -0
- package/dist/node_modules/lodash-es/_baseSet.js +21 -0
- package/dist/node_modules/lodash-es/_baseSetToString.js +12 -0
- package/dist/node_modules/lodash-es/_baseSlice.js +8 -0
- package/dist/node_modules/lodash-es/_baseSome.js +9 -0
- package/dist/node_modules/lodash-es/_baseSortBy.js +7 -0
- package/dist/node_modules/lodash-es/_baseTimes.js +6 -0
- package/dist/node_modules/lodash-es/_baseToString.js +14 -0
- package/dist/node_modules/lodash-es/_baseTrim.js +7 -0
- package/dist/node_modules/lodash-es/_baseUnary.js +7 -0
- package/dist/node_modules/lodash-es/_baseUniq.js +26 -0
- package/dist/node_modules/lodash-es/_baseValues.js +8 -0
- package/dist/node_modules/lodash-es/_baseZipObject.js +9 -0
- package/dist/node_modules/lodash-es/_cacheHas.js +5 -0
- package/dist/node_modules/lodash-es/_castFunction.js +6 -0
- package/dist/node_modules/lodash-es/_castPath.js +9 -0
- package/dist/node_modules/lodash-es/_cloneArrayBuffer.js +7 -0
- package/dist/node_modules/lodash-es/_cloneBuffer.js +9 -0
- package/dist/node_modules/lodash-es/_cloneDataView.js +7 -0
- package/dist/node_modules/lodash-es/_cloneRegExp.js +7 -0
- package/dist/node_modules/lodash-es/_cloneSymbol.js +7 -0
- package/dist/node_modules/lodash-es/_cloneTypedArray.js +7 -0
- package/dist/node_modules/lodash-es/_compareAscending.js +11 -0
- package/dist/node_modules/lodash-es/_compareMultiple.js +10 -0
- package/dist/node_modules/lodash-es/_copyArray.js +7 -0
- package/dist/node_modules/lodash-es/_copyObject.js +13 -0
- package/dist/node_modules/lodash-es/_copySymbols.js +7 -0
- package/dist/node_modules/lodash-es/_copySymbolsIn.js +7 -0
- package/dist/node_modules/lodash-es/_coreJsData.js +3 -0
- package/dist/node_modules/lodash-es/_createAggregator.js +12 -0
- package/dist/node_modules/lodash-es/_createAssigner.js +14 -0
- package/dist/node_modules/lodash-es/_createBaseEach.js +11 -0
- package/dist/node_modules/lodash-es/_createBaseFor.js +11 -0
- package/dist/node_modules/lodash-es/_createFind.js +18 -0
- package/dist/node_modules/lodash-es/_createRange.js +10 -0
- package/dist/node_modules/lodash-es/_createSet.js +7 -0
- package/dist/node_modules/lodash-es/_defineProperty.js +8 -0
- package/dist/node_modules/lodash-es/_equalArrays.js +34 -0
- package/dist/node_modules/lodash-es/_equalByTag.js +34 -0
- package/dist/node_modules/lodash-es/_equalObjects.js +31 -0
- package/dist/node_modules/lodash-es/_flatRest.js +8 -0
- package/dist/node_modules/lodash-es/_freeGlobal.js +2 -0
- package/dist/node_modules/lodash-es/_getAllKeys.js +8 -0
- package/dist/node_modules/lodash-es/_getAllKeysIn.js +8 -0
- package/dist/node_modules/lodash-es/_getMapData.js +7 -0
- package/dist/node_modules/lodash-es/_getMatchData.js +15 -0
- package/dist/node_modules/lodash-es/_getNative.js +8 -0
- package/dist/node_modules/lodash-es/_getPrototype.js +3 -0
- package/dist/node_modules/lodash-es/_getRawTag.js +13 -0
- package/dist/node_modules/lodash-es/_getSymbols.js +8 -0
- package/dist/node_modules/lodash-es/_getSymbolsIn.js +9 -0
- package/dist/node_modules/lodash-es/_getTag.js +21 -0
- package/dist/node_modules/lodash-es/_getValue.js +5 -0
- package/dist/node_modules/lodash-es/_hasPath.js +17 -0
- package/dist/node_modules/lodash-es/_hasUnicode.js +6 -0
- package/dist/node_modules/lodash-es/_hashClear.js +6 -0
- package/dist/node_modules/lodash-es/_hashDelete.js +6 -0
- package/dist/node_modules/lodash-es/_hashGet.js +12 -0
- package/dist/node_modules/lodash-es/_hashHas.js +8 -0
- package/dist/node_modules/lodash-es/_hashSet.js +8 -0
- package/dist/node_modules/lodash-es/_initCloneArray.js +7 -0
- package/dist/node_modules/lodash-es/_initCloneByTag.js +32 -0
- package/dist/node_modules/lodash-es/_initCloneObject.js +8 -0
- package/dist/node_modules/lodash-es/_isFlattenable.js +9 -0
- package/dist/node_modules/lodash-es/_isIndex.js +7 -0
- package/dist/node_modules/lodash-es/_isIterateeCall.js +11 -0
- package/dist/node_modules/lodash-es/_isKey.js +10 -0
- package/dist/node_modules/lodash-es/_isKeyable.js +6 -0
- package/dist/node_modules/lodash-es/_isMasked.js +10 -0
- package/dist/node_modules/lodash-es/_isPrototype.js +7 -0
- package/dist/node_modules/lodash-es/_isStrictComparable.js +6 -0
- package/dist/node_modules/lodash-es/_listCacheClear.js +5 -0
- package/dist/node_modules/lodash-es/_listCacheDelete.js +8 -0
- package/dist/node_modules/lodash-es/_listCacheGet.js +7 -0
- package/dist/node_modules/lodash-es/_listCacheHas.js +6 -0
- package/dist/node_modules/lodash-es/_listCacheSet.js +7 -0
- package/dist/node_modules/lodash-es/_mapCacheClear.js +12 -0
- package/dist/node_modules/lodash-es/_mapCacheDelete.js +7 -0
- package/dist/node_modules/lodash-es/_mapCacheGet.js +6 -0
- package/dist/node_modules/lodash-es/_mapCacheHas.js +6 -0
- package/dist/node_modules/lodash-es/_mapCacheSet.js +7 -0
- package/dist/node_modules/lodash-es/_mapToArray.js +8 -0
- package/dist/node_modules/lodash-es/_matchesStrictComparable.js +7 -0
- package/dist/node_modules/lodash-es/_memoizeCapped.js +10 -0
- package/dist/node_modules/lodash-es/_nativeCreate.js +3 -0
- package/dist/node_modules/lodash-es/_nativeKeys.js +3 -0
- package/dist/node_modules/lodash-es/_nativeKeysIn.js +7 -0
- package/dist/node_modules/lodash-es/_nodeUtil.js +7 -0
- package/dist/node_modules/lodash-es/_objectToString.js +6 -0
- package/dist/node_modules/lodash-es/_overArg.js +7 -0
- package/dist/node_modules/lodash-es/_overRest.js +12 -0
- package/dist/node_modules/lodash-es/_root.js +3 -0
- package/dist/node_modules/lodash-es/_safeGet.js +5 -0
- package/dist/node_modules/lodash-es/_setCacheAdd.js +6 -0
- package/dist/node_modules/lodash-es/_setCacheHas.js +5 -0
- package/dist/node_modules/lodash-es/_setToArray.js +8 -0
- package/dist/node_modules/lodash-es/_setToString.js +4 -0
- package/dist/node_modules/lodash-es/_shortOut.js +13 -0
- package/dist/node_modules/lodash-es/_stackClear.js +6 -0
- package/dist/node_modules/lodash-es/_stackDelete.js +6 -0
- package/dist/node_modules/lodash-es/_stackGet.js +5 -0
- package/dist/node_modules/lodash-es/_stackHas.js +5 -0
- package/dist/node_modules/lodash-es/_stackSet.js +15 -0
- package/dist/node_modules/lodash-es/_strictIndexOf.js +6 -0
- package/dist/node_modules/lodash-es/_stringSize.js +8 -0
- package/dist/node_modules/lodash-es/_stringToPath.js +8 -0
- package/dist/node_modules/lodash-es/_toKey.js +9 -0
- package/dist/node_modules/lodash-es/_toSource.js +14 -0
- package/dist/node_modules/lodash-es/_trimmedEndIndex.js +7 -0
- package/dist/node_modules/lodash-es/_unicodeSize.js +17 -0
- package/dist/node_modules/lodash-es/assign.js +14 -0
- package/dist/node_modules/lodash-es/clone.js +7 -0
- package/dist/node_modules/lodash-es/cloneDeep.js +7 -0
- package/dist/node_modules/lodash-es/compact.js +9 -0
- package/dist/node_modules/lodash-es/constant.js +7 -0
- package/dist/node_modules/lodash-es/defaults.js +14 -0
- package/dist/node_modules/lodash-es/difference.js +8 -0
- package/dist/node_modules/lodash-es/drop.js +8 -0
- package/dist/node_modules/lodash-es/dropRight.js +8 -0
- package/dist/node_modules/lodash-es/eq.js +5 -0
- package/dist/node_modules/lodash-es/every.js +11 -0
- package/dist/node_modules/lodash-es/filter.js +9 -0
- package/dist/node_modules/lodash-es/find.js +4 -0
- package/dist/node_modules/lodash-es/findIndex.js +12 -0
- package/dist/node_modules/lodash-es/flatMap.js +7 -0
- package/dist/node_modules/lodash-es/flatten.js +6 -0
- package/dist/node_modules/lodash-es/forEach.js +9 -0
- package/dist/node_modules/lodash-es/forIn.js +8 -0
- package/dist/node_modules/lodash-es/forOwn.js +7 -0
- package/dist/node_modules/lodash-es/get.js +7 -0
- package/dist/node_modules/lodash-es/groupBy.js +6 -0
- package/dist/node_modules/lodash-es/has.js +7 -0
- package/dist/node_modules/lodash-es/hasIn.js +7 -0
- package/dist/node_modules/lodash-es/head.js +5 -0
- package/dist/node_modules/lodash-es/identity.js +5 -0
- package/dist/node_modules/lodash-es/includes.js +13 -0
- package/dist/node_modules/lodash-es/indexOf.js +11 -0
- package/dist/node_modules/lodash-es/isArguments.js +8 -0
- package/dist/node_modules/lodash-es/isArray.js +2 -0
- package/dist/node_modules/lodash-es/isArrayLike.js +7 -0
- package/dist/node_modules/lodash-es/isArrayLikeObject.js +7 -0
- package/dist/node_modules/lodash-es/isBuffer.js +4 -0
- package/dist/node_modules/lodash-es/isEmpty.js +20 -0
- package/dist/node_modules/lodash-es/isFunction.js +10 -0
- package/dist/node_modules/lodash-es/isLength.js +6 -0
- package/dist/node_modules/lodash-es/isMap.js +5 -0
- package/dist/node_modules/lodash-es/isObject.js +6 -0
- package/dist/node_modules/lodash-es/isObjectLike.js +5 -0
- package/dist/node_modules/lodash-es/isPlainObject.js +13 -0
- package/dist/node_modules/lodash-es/isRegExp.js +5 -0
- package/dist/node_modules/lodash-es/isSet.js +5 -0
- package/dist/node_modules/lodash-es/isString.js +9 -0
- package/dist/node_modules/lodash-es/isSymbol.js +8 -0
- package/dist/node_modules/lodash-es/isTypedArray.js +5 -0
- package/dist/node_modules/lodash-es/isUndefined.js +5 -0
- package/dist/node_modules/lodash-es/keys.js +8 -0
- package/dist/node_modules/lodash-es/keysIn.js +8 -0
- package/dist/node_modules/lodash-es/last.js +6 -0
- package/dist/node_modules/lodash-es/map.js +9 -0
- package/dist/node_modules/lodash-es/mapValues.js +11 -0
- package/dist/node_modules/lodash-es/max.js +8 -0
- package/dist/node_modules/lodash-es/memoize.js +15 -0
- package/dist/node_modules/lodash-es/merge.js +6 -0
- package/dist/node_modules/lodash-es/min.js +8 -0
- package/dist/node_modules/lodash-es/minBy.js +8 -0
- package/dist/node_modules/lodash-es/negate.js +16 -0
- package/dist/node_modules/lodash-es/noop.js +3 -0
- package/dist/node_modules/lodash-es/now.js +5 -0
- package/dist/node_modules/lodash-es/pick.js +6 -0
- package/dist/node_modules/lodash-es/pickBy.js +15 -0
- package/dist/node_modules/lodash-es/property.js +9 -0
- package/dist/node_modules/lodash-es/range.js +3 -0
- package/dist/node_modules/lodash-es/reduce.js +11 -0
- package/dist/node_modules/lodash-es/reject.js +10 -0
- package/dist/node_modules/lodash-es/size.js +14 -0
- package/dist/node_modules/lodash-es/some.js +11 -0
- package/dist/node_modules/lodash-es/sortBy.js +10 -0
- package/dist/node_modules/lodash-es/stubArray.js +5 -0
- package/dist/node_modules/lodash-es/stubFalse.js +5 -0
- package/dist/node_modules/lodash-es/toFinite.js +7 -0
- package/dist/node_modules/lodash-es/toInteger.js +7 -0
- package/dist/node_modules/lodash-es/toNumber.js +18 -0
- package/dist/node_modules/lodash-es/toPlainObject.js +7 -0
- package/dist/node_modules/lodash-es/toString.js +6 -0
- package/dist/node_modules/lodash-es/union.js +8 -0
- package/dist/node_modules/lodash-es/uniq.js +6 -0
- package/dist/node_modules/lodash-es/uniqBy.js +7 -0
- package/dist/node_modules/lodash-es/uniqueId.js +8 -0
- package/dist/node_modules/lodash-es/values.js +7 -0
- package/dist/node_modules/lodash-es/zipObject.js +7 -0
- package/dist/node_modules/longest-streak/index.js +7 -0
- package/dist/node_modules/markdown-table/index.js +57 -0
- package/dist/node_modules/marked/lib/marked.esm.js +1384 -0
- package/dist/node_modules/mdast-util-find-and-replace/lib/index.js +59 -0
- package/dist/node_modules/mdast-util-find-and-replace/node_modules/escape-string-regexp/index.js +5 -0
- package/dist/node_modules/mdast-util-gfm/lib/index.js +24 -0
- package/dist/node_modules/mdast-util-gfm-autolink-literal/lib/index.js +127 -0
- package/dist/node_modules/mdast-util-gfm-footnote/lib/index.js +95 -0
- package/dist/node_modules/mdast-util-gfm-strikethrough/lib/index.js +47 -0
- package/dist/node_modules/mdast-util-gfm-table/lib/index.js +135 -0
- package/dist/node_modules/mdast-util-gfm-task-list-item/lib/index.js +56 -0
- package/dist/node_modules/mdast-util-math/lib/index.js +142 -0
- package/dist/node_modules/mdast-util-phrasing/lib/index.js +20 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/blockquote.js +10 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/break.js +7 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/code.js +34 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/definition.js +22 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/emphasis.js +23 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/heading.js +22 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/html.js +8 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/image-reference.js +21 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/image.js +26 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/index.js +42 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/inline-code.js +17 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/link-reference.js +21 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/link.js +39 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/list-item.js +16 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/list.js +24 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/paragraph.js +5 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/root.js +7 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/strong.js +23 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/text.js +4 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/thematic-break.js +7 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/util/check-bullet-ordered.js +6 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/util/check-bullet-other.js +9 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/util/check-bullet.js +6 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/util/check-emphasis.js +6 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/util/check-fence.js +6 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/util/check-list-item-indent.js +6 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/util/check-quote.js +6 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/util/check-rule-repetition.js +6 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/util/check-rule.js +6 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/util/check-strong.js +6 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/util/encode-character-reference.js +4 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/util/encode-info.js +36 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/util/format-code-as-indented.js +4 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/util/format-heading-as-setext.js +10 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/util/format-link-as-autolink.js +6 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/util/pattern-in-scope.js +10 -0
- package/dist/node_modules/mdast-util-to-string/lib/index.js +22 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/architectureDiagram-VXUJARFQ.js +673 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/blockDiagram-VD42YOAC.js +3010 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/c4Diagram-YG6GDRKO.js +2955 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-4BX2VUAB.js +6 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-55IACEB6.js +8 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-ABZYJK2D.js +1547 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-AGHRB4JF.js +29 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-ATLVNIR6.js +65 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-B4BG7PRW.js +3110 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-CVBHYZKI.js +10 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-DI55MBZ5.js +1994 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-DR5Q36YT.js +135 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-EXTU4WIE.js +9 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-FMBD7UC4.js +3 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-HN2XXSSU.js +74 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-JA3XYJ7Z.js +247 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-JZLCHNYA.js +3516 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-MI3HLSF2.js +1140 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-N4CR4FBY.js +39 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-QN33PNHL.js +23 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-QXUST7PY.js +497 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-QZHKN3VN.js +11 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-S3R3BYOJ.js +338 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-TZMSLE5B.js +55 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/classDiagram-2ON5EDUG.js +26 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/classDiagram-v2-WZHVMYZB.js +26 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/cose-bilkent-S5V4N54A.js +219 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/dagre-6UL2VRFP.js +263 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/diagram-PSM6KHXK.js +283 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/diagram-QEK2KX5R.js +211 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/diagram-S2PKOQOG.js +129 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/erDiagram-Q2GNP2WA.js +1599 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/flowDiagram-NV44I4VS.js +4128 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/ganttDiagram-JELNMOA3.js +1688 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/gitGraphDiagram-V2S2FVAM.js +621 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/infoDiagram-HS3SLOUP.js +18 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/journeyDiagram-XKPGCS4Q.js +883 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/kanban-definition-3W4ZIXB7.js +970 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/mindmap-definition-VGOIOE7T.js +931 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/pieDiagram-ADFJNKIX.js +117 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/quadrantDiagram-AYHSOK5B.js +1970 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/requirementDiagram-UZGBJVZJ.js +2187 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/sankeyDiagram-TZEHDZUN.js +519 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/sequenceDiagram-WL72ISMW.js +3560 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/stateDiagram-FKZM4ZOC.js +220 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/stateDiagram-v2-4FDKWEC3.js +25 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/timeline-definition-IT6M3QCI.js +833 -0
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/xychartDiagram-PRI3JC2R.js +1975 -0
- package/dist/node_modules/mermaid/dist/mermaid.core.js +662 -0
- package/dist/node_modules/micromark-core-commonmark/lib/blank-line.js +16 -0
- package/dist/node_modules/micromark-extension-gfm/index.js +16 -0
- package/dist/node_modules/micromark-extension-gfm-autolink-literal/lib/syntax.js +172 -0
- package/dist/node_modules/micromark-extension-gfm-footnote/lib/syntax.js +191 -0
- package/dist/node_modules/micromark-extension-gfm-strikethrough/lib/syntax.js +94 -0
- package/dist/node_modules/micromark-extension-gfm-table/lib/edit-map.js +41 -0
- package/dist/node_modules/micromark-extension-gfm-table/lib/infer.js +18 -0
- package/dist/node_modules/micromark-extension-gfm-table/lib/syntax.js +199 -0
- package/dist/node_modules/micromark-extension-gfm-task-list-item/lib/syntax.js +32 -0
- package/dist/node_modules/micromark-extension-math/lib/math-flow.js +72 -0
- package/dist/node_modules/micromark-extension-math/lib/math-text.js +44 -0
- package/dist/node_modules/micromark-extension-math/lib/syntax.js +9 -0
- package/dist/node_modules/micromark-factory-space/index.js +12 -0
- package/dist/node_modules/micromark-util-character/index.js +21 -0
- package/dist/node_modules/micromark-util-chunked/index.js +6 -0
- package/dist/node_modules/micromark-util-classify-character/index.js +6 -0
- package/dist/node_modules/micromark-util-combine-extensions/index.js +24 -0
- package/dist/node_modules/micromark-util-normalize-identifier/index.js +4 -0
- package/dist/node_modules/micromark-util-resolve-all/index.js +9 -0
- package/dist/node_modules/property-information/index.js +23 -0
- package/dist/node_modules/property-information/lib/aria.js +59 -0
- package/dist/node_modules/property-information/lib/find.js +29 -0
- package/dist/node_modules/property-information/lib/html.js +314 -0
- package/dist/node_modules/property-information/lib/normalize.js +4 -0
- package/dist/node_modules/property-information/lib/svg.js +560 -0
- package/dist/node_modules/property-information/lib/util/case-insensitive-transform.js +5 -0
- package/dist/node_modules/property-information/lib/util/case-sensitive-transform.js +4 -0
- package/dist/node_modules/property-information/lib/util/create.js +12 -0
- package/dist/node_modules/property-information/lib/util/defined-info.js +16 -0
- package/dist/node_modules/property-information/lib/util/info.js +7 -0
- package/dist/node_modules/property-information/lib/util/merge.js +7 -0
- package/dist/node_modules/property-information/lib/util/schema.js +7 -0
- package/dist/node_modules/property-information/lib/util/types.js +15 -0
- package/dist/node_modules/property-information/lib/xlink.js +17 -0
- package/dist/node_modules/property-information/lib/xml.js +13 -0
- package/dist/node_modules/property-information/lib/xmlns.js +12 -0
- package/dist/node_modules/rehype-katex/lib/index.js +60 -0
- package/dist/node_modules/remark-gfm/lib/index.js +8 -0
- package/dist/node_modules/remark-math/lib/index.js +8 -0
- package/dist/node_modules/roughjs/bundled/rough.esm.js +1350 -0
- package/dist/node_modules/space-separated-tokens/index.js +5 -0
- package/dist/node_modules/stylis/src/Enum.js +2 -0
- package/dist/node_modules/stylis/src/Parser.js +93 -0
- package/dist/node_modules/stylis/src/Serializer.js +19 -0
- package/dist/node_modules/stylis/src/Tokenizer.js +104 -0
- package/dist/node_modules/stylis/src/Utility.js +26 -0
- package/dist/node_modules/ts-dedent/esm/index.js +25 -0
- package/dist/node_modules/unist-util-find-after/lib/index.js +10 -0
- package/dist/node_modules/unist-util-is/lib/index.js +45 -0
- package/dist/node_modules/unist-util-visit/lib/index.js +10 -0
- package/dist/node_modules/unist-util-visit-parents/lib/color.js +4 -0
- package/dist/node_modules/unist-util-visit-parents/lib/index.js +35 -0
- package/dist/node_modules/uuid/dist/esm-browser/native.js +2 -0
- package/dist/node_modules/uuid/dist/esm-browser/rng.js +9 -0
- package/dist/node_modules/uuid/dist/esm-browser/stringify.js +6 -0
- package/dist/node_modules/uuid/dist/esm-browser/v4.js +17 -0
- package/dist/node_modules/vscode-jsonrpc/browser.js +7 -0
- package/dist/node_modules/vscode-jsonrpc/lib/browser/main.js +52 -0
- package/dist/node_modules/vscode-jsonrpc/lib/browser/ril.js +120 -0
- package/dist/node_modules/vscode-jsonrpc/lib/common/api.js +337 -0
- package/dist/node_modules/vscode-jsonrpc/lib/common/cancellation.js +57 -0
- package/dist/node_modules/vscode-jsonrpc/lib/common/connection.js +647 -0
- package/dist/node_modules/vscode-jsonrpc/lib/common/disposable.js +13 -0
- package/dist/node_modules/vscode-jsonrpc/lib/common/events.js +64 -0
- package/dist/node_modules/vscode-jsonrpc/lib/common/is.js +34 -0
- package/dist/node_modules/vscode-jsonrpc/lib/common/linkedMap.js +235 -0
- package/dist/node_modules/vscode-jsonrpc/lib/common/messageBuffer.js +93 -0
- package/dist/node_modules/vscode-jsonrpc/lib/common/messageReader.js +129 -0
- package/dist/node_modules/vscode-jsonrpc/lib/common/messageWriter.js +85 -0
- package/dist/node_modules/vscode-jsonrpc/lib/common/messages.js +161 -0
- package/dist/node_modules/vscode-jsonrpc/lib/common/ral.js +18 -0
- package/dist/node_modules/vscode-jsonrpc/lib/common/semaphore.js +44 -0
- package/dist/node_modules/vscode-jsonrpc/lib/common/sharedArrayCancellation.js +58 -0
- package/dist/node_modules/vscode-languageserver-protocol/lib/browser/main.js +28 -0
- package/dist/node_modules/vscode-languageserver-protocol/lib/common/api.js +36 -0
- package/dist/node_modules/vscode-languageserver-protocol/lib/common/connection.js +12 -0
- package/dist/node_modules/vscode-languageserver-protocol/lib/common/messages.js +31 -0
- package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.callHierarchy.js +19 -0
- package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.colorProvider.js +15 -0
- package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.configuration.js +11 -0
- package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.declaration.js +11 -0
- package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.diagnostic.js +33 -0
- package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.fileOperations.js +35 -0
- package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.foldingRange.js +15 -0
- package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.implementation.js +11 -0
- package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.inlayHint.js +19 -0
- package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.inlineCompletion.js +11 -0
- package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.inlineValue.js +15 -0
- package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.js +674 -0
- package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.linkedEditingRange.js +11 -0
- package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.moniker.js +19 -0
- package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.notebook.js +126 -0
- package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.progress.js +24 -0
- package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.selectionRange.js +11 -0
- package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.semanticTokens.js +31 -0
- package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.showDocument.js +11 -0
- package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.typeDefinition.js +11 -0
- package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.typeHierarchy.js +19 -0
- package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.workspaceFolder.js +15 -0
- package/dist/node_modules/vscode-languageserver-protocol/lib/common/utils/is.js +42 -0
- package/dist/node_modules/vscode-languageserver-textdocument/lib/esm/main.js +138 -0
- package/dist/node_modules/vscode-languageserver-types/lib/esm/main.js +1084 -0
- package/dist/node_modules/vscode-uri/lib/esm/index.js +373 -0
- package/dist/node_modules/web-namespaces/index.js +9 -0
- package/dist/pages/WorkspacePage.js +63 -0
- package/dist/pages/WorkspacesPage.js +36 -0
- package/package.json +32 -32
|
@@ -0,0 +1,275 @@
|
|
|
1
|
+
import isArray_default from "../../../../lodash-es/isArray.js";
|
|
2
|
+
import identity_default from "../../../../lodash-es/identity.js";
|
|
3
|
+
import isEmpty_default from "../../../../lodash-es/isEmpty.js";
|
|
4
|
+
import noop_default from "../../../../lodash-es/noop.js";
|
|
5
|
+
import keys_default from "../../../../lodash-es/keys.js";
|
|
6
|
+
import assign_default from "../../../../lodash-es/assign.js";
|
|
7
|
+
import clone_default from "../../../../lodash-es/clone.js";
|
|
8
|
+
import last_default from "../../../../lodash-es/last.js";
|
|
9
|
+
import forEach_default from "../../../../lodash-es/forEach.js";
|
|
10
|
+
import map_default from "../../../../lodash-es/map.js";
|
|
11
|
+
import isUndefined_default from "../../../../lodash-es/isUndefined.js";
|
|
12
|
+
import reduce_default from "../../../../lodash-es/reduce.js";
|
|
13
|
+
import reject_default from "../../../../lodash-es/reject.js";
|
|
14
|
+
import { PRINT_WARNING } from "../../../../@chevrotain/utils/lib/src/print.js";
|
|
15
|
+
import { timer } from "../../../../@chevrotain/utils/lib/src/timer.js";
|
|
16
|
+
import { toFastProperties } from "../../../../@chevrotain/utils/lib/src/to-fast-properties.js";
|
|
17
|
+
import { clearRegExpParserCache } from "./reg_exp_parser.js";
|
|
18
|
+
import { DEFAULT_MODE, LineTerminatorOptimizedTester, SUPPORT_STICKY, analyzeTokenTypes, charCodeToOptimizedIndex, cloneEmptyGroups, performRuntimeChecks, performWarningRuntimeChecks, validatePatterns } from "./lexer.js";
|
|
19
|
+
import { augmentTokenTypes } from "./tokens.js";
|
|
20
|
+
import { defaultLexerErrorProvider } from "./lexer_errors_public.js";
|
|
21
|
+
var LexerDefinitionErrorType;
|
|
22
|
+
(function(e) {
|
|
23
|
+
e[e.MISSING_PATTERN = 0] = "MISSING_PATTERN", e[e.INVALID_PATTERN = 1] = "INVALID_PATTERN", e[e.EOI_ANCHOR_FOUND = 2] = "EOI_ANCHOR_FOUND", e[e.UNSUPPORTED_FLAGS_FOUND = 3] = "UNSUPPORTED_FLAGS_FOUND", e[e.DUPLICATE_PATTERNS_FOUND = 4] = "DUPLICATE_PATTERNS_FOUND", e[e.INVALID_GROUP_TYPE_FOUND = 5] = "INVALID_GROUP_TYPE_FOUND", e[e.PUSH_MODE_DOES_NOT_EXIST = 6] = "PUSH_MODE_DOES_NOT_EXIST", e[e.MULTI_MODE_LEXER_WITHOUT_DEFAULT_MODE = 7] = "MULTI_MODE_LEXER_WITHOUT_DEFAULT_MODE", e[e.MULTI_MODE_LEXER_WITHOUT_MODES_PROPERTY = 8] = "MULTI_MODE_LEXER_WITHOUT_MODES_PROPERTY", e[e.MULTI_MODE_LEXER_DEFAULT_MODE_VALUE_DOES_NOT_EXIST = 9] = "MULTI_MODE_LEXER_DEFAULT_MODE_VALUE_DOES_NOT_EXIST", e[e.LEXER_DEFINITION_CANNOT_CONTAIN_UNDEFINED = 10] = "LEXER_DEFINITION_CANNOT_CONTAIN_UNDEFINED", e[e.SOI_ANCHOR_FOUND = 11] = "SOI_ANCHOR_FOUND", e[e.EMPTY_MATCH_PATTERN = 12] = "EMPTY_MATCH_PATTERN", e[e.NO_LINE_BREAKS_FLAGS = 13] = "NO_LINE_BREAKS_FLAGS", e[e.UNREACHABLE_PATTERN = 14] = "UNREACHABLE_PATTERN", e[e.IDENTIFY_TERMINATOR = 15] = "IDENTIFY_TERMINATOR", e[e.CUSTOM_LINE_BREAK = 16] = "CUSTOM_LINE_BREAK", e[e.MULTI_MODE_LEXER_LONGER_ALT_NOT_IN_CURRENT_MODE = 17] = "MULTI_MODE_LEXER_LONGER_ALT_NOT_IN_CURRENT_MODE";
|
|
24
|
+
})(LexerDefinitionErrorType ||= {});
|
|
25
|
+
var DEFAULT_LEXER_CONFIG = {
|
|
26
|
+
deferDefinitionErrorsHandling: !1,
|
|
27
|
+
positionTracking: "full",
|
|
28
|
+
lineTerminatorsPattern: /\n|\r\n?/g,
|
|
29
|
+
lineTerminatorCharacters: ["\n", "\r"],
|
|
30
|
+
ensureOptimizations: !1,
|
|
31
|
+
safeMode: !1,
|
|
32
|
+
errorMessageProvider: defaultLexerErrorProvider,
|
|
33
|
+
traceInitPerf: !1,
|
|
34
|
+
skipValidations: !1,
|
|
35
|
+
recoveryEnabled: !0
|
|
36
|
+
};
|
|
37
|
+
Object.freeze(DEFAULT_LEXER_CONFIG);
|
|
38
|
+
var Lexer = class {
|
|
39
|
+
constructor(s, x = DEFAULT_LEXER_CONFIG) {
|
|
40
|
+
if (this.lexerDefinition = s, this.lexerDefinitionErrors = [], this.lexerDefinitionWarning = [], this.patternIdxToConfig = {}, this.charCodeToPatternIdxToConfig = {}, this.modes = [], this.emptyGroups = {}, this.trackStartLines = !0, this.trackEndLines = !0, this.hasCustom = !1, this.canModeBeOptimized = {}, this.TRACE_INIT = (e, t) => {
|
|
41
|
+
if (this.traceInitPerf === !0) {
|
|
42
|
+
this.traceInitIndent++;
|
|
43
|
+
let n = Array(this.traceInitIndent + 1).join(" ");
|
|
44
|
+
this.traceInitIndent < this.traceInitMaxIdent && console.log(`${n}--> <${e}>`);
|
|
45
|
+
let { time: r, value: i } = timer(t), a = r > 10 ? console.warn : console.log;
|
|
46
|
+
return this.traceInitIndent < this.traceInitMaxIdent && a(`${n}<-- <${e}> time: ${r}ms`), this.traceInitIndent--, i;
|
|
47
|
+
} else return t();
|
|
48
|
+
}, typeof x == "boolean") throw Error("The second argument to the Lexer constructor is now an ILexerConfig Object.\na boolean 2nd argument is no longer supported");
|
|
49
|
+
this.config = assign_default({}, DEFAULT_LEXER_CONFIG, x);
|
|
50
|
+
let S = this.config.traceInitPerf;
|
|
51
|
+
S === !0 ? (this.traceInitMaxIdent = Infinity, this.traceInitPerf = !0) : typeof S == "number" && (this.traceInitMaxIdent = S, this.traceInitPerf = !0), this.traceInitIndent = -1, this.TRACE_INIT("Lexer Constructor", () => {
|
|
52
|
+
let m, S = !0;
|
|
53
|
+
this.TRACE_INIT("Lexer Config handling", () => {
|
|
54
|
+
if (this.config.lineTerminatorsPattern === DEFAULT_LEXER_CONFIG.lineTerminatorsPattern) this.config.lineTerminatorsPattern = LineTerminatorOptimizedTester;
|
|
55
|
+
else if (this.config.lineTerminatorCharacters === DEFAULT_LEXER_CONFIG.lineTerminatorCharacters) throw Error("Error: Missing <lineTerminatorCharacters> property on the Lexer config.\n For details See: https://chevrotain.io/docs/guide/resolving_lexer_errors.html#MISSING_LINE_TERM_CHARS");
|
|
56
|
+
if (x.safeMode && x.ensureOptimizations) throw Error("\"safeMode\" and \"ensureOptimizations\" flags are mutually exclusive.");
|
|
57
|
+
this.trackStartLines = /full|onlyStart/i.test(this.config.positionTracking), this.trackEndLines = /full/i.test(this.config.positionTracking), isArray_default(s) ? m = {
|
|
58
|
+
modes: { defaultMode: clone_default(s) },
|
|
59
|
+
defaultMode: DEFAULT_MODE
|
|
60
|
+
} : (S = !1, m = clone_default(s));
|
|
61
|
+
}), this.config.skipValidations === !1 && (this.TRACE_INIT("performRuntimeChecks", () => {
|
|
62
|
+
this.lexerDefinitionErrors = this.lexerDefinitionErrors.concat(performRuntimeChecks(m, this.trackStartLines, this.config.lineTerminatorCharacters));
|
|
63
|
+
}), this.TRACE_INIT("performWarningRuntimeChecks", () => {
|
|
64
|
+
this.lexerDefinitionWarning = this.lexerDefinitionWarning.concat(performWarningRuntimeChecks(m, this.trackStartLines, this.config.lineTerminatorCharacters));
|
|
65
|
+
})), m.modes = m.modes ? m.modes : {}, forEach_default(m.modes, (e, t) => {
|
|
66
|
+
m.modes[t] = reject_default(e, (e) => isUndefined_default(e));
|
|
67
|
+
});
|
|
68
|
+
let D = keys_default(m.modes);
|
|
69
|
+
if (forEach_default(m.modes, (e, t) => {
|
|
70
|
+
this.TRACE_INIT(`Mode: <${t}> processing`, () => {
|
|
71
|
+
if (this.modes.push(t), this.config.skipValidations === !1 && this.TRACE_INIT("validatePatterns", () => {
|
|
72
|
+
this.lexerDefinitionErrors = this.lexerDefinitionErrors.concat(validatePatterns(e, D));
|
|
73
|
+
}), isEmpty_default(this.lexerDefinitionErrors)) {
|
|
74
|
+
augmentTokenTypes(e);
|
|
75
|
+
let n;
|
|
76
|
+
this.TRACE_INIT("analyzeTokenTypes", () => {
|
|
77
|
+
n = analyzeTokenTypes(e, {
|
|
78
|
+
lineTerminatorCharacters: this.config.lineTerminatorCharacters,
|
|
79
|
+
positionTracking: x.positionTracking,
|
|
80
|
+
ensureOptimizations: x.ensureOptimizations,
|
|
81
|
+
safeMode: x.safeMode,
|
|
82
|
+
tracer: this.TRACE_INIT
|
|
83
|
+
});
|
|
84
|
+
}), this.patternIdxToConfig[t] = n.patternIdxToConfig, this.charCodeToPatternIdxToConfig[t] = n.charCodeToPatternIdxToConfig, this.emptyGroups = assign_default({}, this.emptyGroups, n.emptyGroups), this.hasCustom = n.hasCustom || this.hasCustom, this.canModeBeOptimized[t] = n.canBeOptimized;
|
|
85
|
+
}
|
|
86
|
+
});
|
|
87
|
+
}), this.defaultMode = m.defaultMode, !isEmpty_default(this.lexerDefinitionErrors) && !this.config.deferDefinitionErrorsHandling) {
|
|
88
|
+
let e = map_default(this.lexerDefinitionErrors, (e) => e.message).join("-----------------------\n");
|
|
89
|
+
throw Error("Errors detected in definition of Lexer:\n" + e);
|
|
90
|
+
}
|
|
91
|
+
forEach_default(this.lexerDefinitionWarning, (e) => {
|
|
92
|
+
PRINT_WARNING(e.message);
|
|
93
|
+
}), this.TRACE_INIT("Choosing sub-methods implementations", () => {
|
|
94
|
+
if (SUPPORT_STICKY ? (this.chopInput = identity_default, this.match = this.matchWithTest) : (this.updateLastIndex = noop_default, this.match = this.matchWithExec), S && (this.handleModes = noop_default), this.trackStartLines === !1 && (this.computeNewColumn = identity_default), this.trackEndLines === !1 && (this.updateTokenEndLineColumnLocation = noop_default), /full/i.test(this.config.positionTracking)) this.createTokenInstance = this.createFullToken;
|
|
95
|
+
else if (/onlyStart/i.test(this.config.positionTracking)) this.createTokenInstance = this.createStartOnlyToken;
|
|
96
|
+
else if (/onlyOffset/i.test(this.config.positionTracking)) this.createTokenInstance = this.createOffsetOnlyToken;
|
|
97
|
+
else throw Error(`Invalid <positionTracking> config option: "${this.config.positionTracking}"`);
|
|
98
|
+
this.hasCustom ? (this.addToken = this.addTokenUsingPush, this.handlePayload = this.handlePayloadWithCustom) : (this.addToken = this.addTokenUsingMemberAccess, this.handlePayload = this.handlePayloadNoCustom);
|
|
99
|
+
}), this.TRACE_INIT("Failed Optimization Warnings", () => {
|
|
100
|
+
let e = reduce_default(this.canModeBeOptimized, (e, t, n) => (t === !1 && e.push(n), e), []);
|
|
101
|
+
if (x.ensureOptimizations && !isEmpty_default(e)) throw Error(`Lexer Modes: < ${e.join(", ")} > cannot be optimized.\n Disable the "ensureOptimizations" lexer config flag to silently ignore this and run the lexer in an un-optimized mode.
|
|
102
|
+
Or inspect the console log for details on how to resolve these issues.`);
|
|
103
|
+
}), this.TRACE_INIT("clearRegExpParserCache", () => {
|
|
104
|
+
clearRegExpParserCache();
|
|
105
|
+
}), this.TRACE_INIT("toFastProperties", () => {
|
|
106
|
+
toFastProperties(this);
|
|
107
|
+
});
|
|
108
|
+
});
|
|
109
|
+
}
|
|
110
|
+
tokenize(e, t = this.defaultMode) {
|
|
111
|
+
if (!isEmpty_default(this.lexerDefinitionErrors)) {
|
|
112
|
+
let e = map_default(this.lexerDefinitionErrors, (e) => e.message).join("-----------------------\n");
|
|
113
|
+
throw Error("Unable to Tokenize because Errors detected in definition of Lexer:\n" + e);
|
|
114
|
+
}
|
|
115
|
+
return this.tokenizeInternal(e, t);
|
|
116
|
+
}
|
|
117
|
+
tokenizeInternal(e, t) {
|
|
118
|
+
let n, r, i, a, o, c, l, u, d, f, p, m, h, g, _, v = e, y = v.length, b = 0, C = 0, w = this.hasCustom ? 0 : Math.floor(e.length / 10), T = Array(w), E = [], D = this.trackStartLines ? 1 : void 0, O = this.trackStartLines ? 1 : void 0, k = cloneEmptyGroups(this.emptyGroups), A = this.trackStartLines, j = this.config.lineTerminatorsPattern, M = 0, N = [], P = [], F = [], I = [];
|
|
119
|
+
Object.freeze(I);
|
|
120
|
+
let L;
|
|
121
|
+
function R() {
|
|
122
|
+
return N;
|
|
123
|
+
}
|
|
124
|
+
function z(e) {
|
|
125
|
+
let t = charCodeToOptimizedIndex(e), n = P[t];
|
|
126
|
+
return n === void 0 ? I : n;
|
|
127
|
+
}
|
|
128
|
+
let B = (e) => {
|
|
129
|
+
if (F.length === 1 && e.tokenType.PUSH_MODE === void 0) {
|
|
130
|
+
let t = this.config.errorMessageProvider.buildUnableToPopLexerModeMessage(e);
|
|
131
|
+
E.push({
|
|
132
|
+
offset: e.startOffset,
|
|
133
|
+
line: e.startLine,
|
|
134
|
+
column: e.startColumn,
|
|
135
|
+
length: e.image.length,
|
|
136
|
+
message: t
|
|
137
|
+
});
|
|
138
|
+
} else {
|
|
139
|
+
F.pop();
|
|
140
|
+
let e = last_default(F);
|
|
141
|
+
N = this.patternIdxToConfig[e], P = this.charCodeToPatternIdxToConfig[e], M = N.length;
|
|
142
|
+
let t = this.canModeBeOptimized[e] && this.config.safeMode === !1;
|
|
143
|
+
L = P && t ? z : R;
|
|
144
|
+
}
|
|
145
|
+
};
|
|
146
|
+
function V(e) {
|
|
147
|
+
F.push(e), P = this.charCodeToPatternIdxToConfig[e], N = this.patternIdxToConfig[e], M = N.length, M = N.length;
|
|
148
|
+
let t = this.canModeBeOptimized[e] && this.config.safeMode === !1;
|
|
149
|
+
L = P && t ? z : R;
|
|
150
|
+
}
|
|
151
|
+
V.call(this, t);
|
|
152
|
+
let H, U = this.config.recoveryEnabled;
|
|
153
|
+
for (; b < y;) {
|
|
154
|
+
c = null;
|
|
155
|
+
let t = v.charCodeAt(b), x = L(t), S = x.length;
|
|
156
|
+
for (n = 0; n < S; n++) {
|
|
157
|
+
H = x[n];
|
|
158
|
+
let r = H.pattern;
|
|
159
|
+
l = null;
|
|
160
|
+
let s = H.short;
|
|
161
|
+
if (s === !1 ? H.isCustom === !0 ? (_ = r.exec(v, b, T, k), _ === null ? c = null : (c = _[0], _.payload !== void 0 && (l = _.payload))) : (this.updateLastIndex(r, b), c = this.match(r, e, b)) : t === s && (c = r), c !== null) {
|
|
162
|
+
if (o = H.longerAlt, o !== void 0) {
|
|
163
|
+
let t = o.length;
|
|
164
|
+
for (i = 0; i < t; i++) {
|
|
165
|
+
let t = N[o[i]], n = t.pattern;
|
|
166
|
+
if (u = null, t.isCustom === !0 ? (_ = n.exec(v, b, T, k), _ === null ? a = null : (a = _[0], _.payload !== void 0 && (u = _.payload))) : (this.updateLastIndex(n, b), a = this.match(n, e, b)), a && a.length > c.length) {
|
|
167
|
+
c = a, l = u, H = t;
|
|
168
|
+
break;
|
|
169
|
+
}
|
|
170
|
+
}
|
|
171
|
+
}
|
|
172
|
+
break;
|
|
173
|
+
}
|
|
174
|
+
}
|
|
175
|
+
if (c !== null) {
|
|
176
|
+
if (d = c.length, f = H.group, f !== void 0 && (p = H.tokenTypeIdx, m = this.createTokenInstance(c, b, p, H.tokenType, D, O, d), this.handlePayload(m, l), f === !1 ? C = this.addToken(T, C, m) : k[f].push(m)), e = this.chopInput(e, d), b += d, O = this.computeNewColumn(O, d), A === !0 && H.canLineTerminator === !0) {
|
|
177
|
+
let e = 0, t, n;
|
|
178
|
+
j.lastIndex = 0;
|
|
179
|
+
do
|
|
180
|
+
t = j.test(c), t === !0 && (n = j.lastIndex - 1, e++);
|
|
181
|
+
while (t === !0);
|
|
182
|
+
e !== 0 && (D += e, O = d - n, this.updateTokenEndLineColumnLocation(m, f, n, e, D, O, d));
|
|
183
|
+
}
|
|
184
|
+
this.handleModes(H, B, V, m);
|
|
185
|
+
} else {
|
|
186
|
+
let t = b, n = D, i = O, a = U === !1;
|
|
187
|
+
for (; a === !1 && b < y;) for (e = this.chopInput(e, 1), b++, r = 0; r < M; r++) {
|
|
188
|
+
let t = N[r], n = t.pattern, i = t.short;
|
|
189
|
+
if (i === !1 ? t.isCustom === !0 ? a = n.exec(v, b, T, k) !== null : (this.updateLastIndex(n, b), a = n.exec(e) !== null) : v.charCodeAt(b) === i && (a = !0), a === !0) break;
|
|
190
|
+
}
|
|
191
|
+
if (h = b - t, O = this.computeNewColumn(O, h), g = this.config.errorMessageProvider.buildUnexpectedCharactersMessage(v, t, h, n, i, last_default(F)), E.push({
|
|
192
|
+
offset: t,
|
|
193
|
+
line: n,
|
|
194
|
+
column: i,
|
|
195
|
+
length: h,
|
|
196
|
+
message: g
|
|
197
|
+
}), U === !1) break;
|
|
198
|
+
}
|
|
199
|
+
}
|
|
200
|
+
return this.hasCustom || (T.length = C), {
|
|
201
|
+
tokens: T,
|
|
202
|
+
groups: k,
|
|
203
|
+
errors: E
|
|
204
|
+
};
|
|
205
|
+
}
|
|
206
|
+
handleModes(e, t, n, r) {
|
|
207
|
+
if (e.pop === !0) {
|
|
208
|
+
let i = e.push;
|
|
209
|
+
t(r), i !== void 0 && n.call(this, i);
|
|
210
|
+
} else e.push !== void 0 && n.call(this, e.push);
|
|
211
|
+
}
|
|
212
|
+
chopInput(e, t) {
|
|
213
|
+
return e.substring(t);
|
|
214
|
+
}
|
|
215
|
+
updateLastIndex(e, t) {
|
|
216
|
+
e.lastIndex = t;
|
|
217
|
+
}
|
|
218
|
+
updateTokenEndLineColumnLocation(e, t, n, r, i, a, o) {
|
|
219
|
+
let s, c;
|
|
220
|
+
t !== void 0 && (s = n === o - 1, c = s ? -1 : 0, r === 1 && s === !0 || (e.endLine = i + c, e.endColumn = a - 1 + -c));
|
|
221
|
+
}
|
|
222
|
+
computeNewColumn(e, t) {
|
|
223
|
+
return e + t;
|
|
224
|
+
}
|
|
225
|
+
createOffsetOnlyToken(e, t, n, r) {
|
|
226
|
+
return {
|
|
227
|
+
image: e,
|
|
228
|
+
startOffset: t,
|
|
229
|
+
tokenTypeIdx: n,
|
|
230
|
+
tokenType: r
|
|
231
|
+
};
|
|
232
|
+
}
|
|
233
|
+
createStartOnlyToken(e, t, n, r, i, a) {
|
|
234
|
+
return {
|
|
235
|
+
image: e,
|
|
236
|
+
startOffset: t,
|
|
237
|
+
startLine: i,
|
|
238
|
+
startColumn: a,
|
|
239
|
+
tokenTypeIdx: n,
|
|
240
|
+
tokenType: r
|
|
241
|
+
};
|
|
242
|
+
}
|
|
243
|
+
createFullToken(e, t, n, r, i, a, o) {
|
|
244
|
+
return {
|
|
245
|
+
image: e,
|
|
246
|
+
startOffset: t,
|
|
247
|
+
endOffset: t + o - 1,
|
|
248
|
+
startLine: i,
|
|
249
|
+
endLine: i,
|
|
250
|
+
startColumn: a,
|
|
251
|
+
endColumn: a + o - 1,
|
|
252
|
+
tokenTypeIdx: n,
|
|
253
|
+
tokenType: r
|
|
254
|
+
};
|
|
255
|
+
}
|
|
256
|
+
addTokenUsingPush(e, t, n) {
|
|
257
|
+
return e.push(n), t;
|
|
258
|
+
}
|
|
259
|
+
addTokenUsingMemberAccess(e, t, n) {
|
|
260
|
+
return e[t] = n, t++, t;
|
|
261
|
+
}
|
|
262
|
+
handlePayloadNoCustom(e, t) {}
|
|
263
|
+
handlePayloadWithCustom(e, t) {
|
|
264
|
+
t !== null && (e.payload = t);
|
|
265
|
+
}
|
|
266
|
+
matchWithTest(e, t, n) {
|
|
267
|
+
return e.test(t) === !0 ? t.substring(n, e.lastIndex) : null;
|
|
268
|
+
}
|
|
269
|
+
matchWithExec(e, t) {
|
|
270
|
+
let n = e.exec(t);
|
|
271
|
+
return n === null ? null : n[0];
|
|
272
|
+
}
|
|
273
|
+
};
|
|
274
|
+
Lexer.SKIPPED = "This marks a skipped Token pattern, this means each token identified by it will be consumed and then thrown into oblivion, this can be used to for example to completely ignore whitespace.", Lexer.NA = /NOT_APPLICABLE/;
|
|
275
|
+
export { Lexer, LexerDefinitionErrorType };
|
|
@@ -0,0 +1,152 @@
|
|
|
1
|
+
import isArray_default from "../../../../lodash-es/isArray.js";
|
|
2
|
+
import { BaseRegExpVisitor } from "../../../../@chevrotain/regexp-to-ast/lib/src/base-regexp-visitor.js";
|
|
3
|
+
import "../../../../@chevrotain/regexp-to-ast/lib/src/api.js";
|
|
4
|
+
import forEach_default from "../../../../lodash-es/forEach.js";
|
|
5
|
+
import every_default from "../../../../lodash-es/every.js";
|
|
6
|
+
import find_default from "../../../../lodash-es/find.js";
|
|
7
|
+
import values_default from "../../../../lodash-es/values.js";
|
|
8
|
+
import includes_default from "../../../../lodash-es/includes.js";
|
|
9
|
+
import { PRINT_ERROR, PRINT_WARNING } from "../../../../@chevrotain/utils/lib/src/print.js";
|
|
10
|
+
import { getRegExpAst } from "./reg_exp_parser.js";
|
|
11
|
+
import { charCodeToOptimizedIndex, minOptimizationVal } from "./lexer.js";
|
|
12
|
+
var complementErrorMessage = "Complement Sets are not supported for first char optimization";
|
|
13
|
+
const failedOptimizationPrefixMsg = "Unable to use \"first char\" lexer optimizations:\n";
|
|
14
|
+
function getOptimizedStartCodesIndices(e, h = !1) {
|
|
15
|
+
try {
|
|
16
|
+
let h = getRegExpAst(e);
|
|
17
|
+
return firstCharOptimizedIndices(h.value, {}, h.flags.ignoreCase);
|
|
18
|
+
} catch (g) {
|
|
19
|
+
/* istanbul ignore next */
|
|
20
|
+
if (g.message === complementErrorMessage) h && PRINT_WARNING(`${failedOptimizationPrefixMsg}\tUnable to optimize: < ${e.toString()} >\n Complement Sets cannot be automatically optimized.
|
|
21
|
+
This will disable the lexer's first char optimizations.
|
|
22
|
+
See: https://chevrotain.io/docs/guide/resolving_lexer_errors.html#COMPLEMENT for details.`);
|
|
23
|
+
else {
|
|
24
|
+
let g = "";
|
|
25
|
+
h && (g = "\n This will disable the lexer's first char optimizations.\n See: https://chevrotain.io/docs/guide/resolving_lexer_errors.html#REGEXP_PARSING for details."), PRINT_ERROR(`${failedOptimizationPrefixMsg}\n\tFailed parsing: < ${e.toString()} >\n\tUsing the @chevrotain/regexp-to-ast library\n Please open an issue at: https://github.com/chevrotain/chevrotain/issues` + g);
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
return [];
|
|
29
|
+
}
|
|
30
|
+
function firstCharOptimizedIndices(e, h, _) {
|
|
31
|
+
switch (e.type) {
|
|
32
|
+
case "Disjunction":
|
|
33
|
+
for (let g = 0; g < e.value.length; g++) firstCharOptimizedIndices(e.value[g], h, _);
|
|
34
|
+
break;
|
|
35
|
+
case "Alternative":
|
|
36
|
+
let v = e.value;
|
|
37
|
+
for (let e = 0; e < v.length; e++) {
|
|
38
|
+
let y = v[e];
|
|
39
|
+
switch (y.type) {
|
|
40
|
+
case "EndAnchor":
|
|
41
|
+
case "GroupBackReference":
|
|
42
|
+
case "Lookahead":
|
|
43
|
+
case "NegativeLookahead":
|
|
44
|
+
case "Lookbehind":
|
|
45
|
+
case "NegativeLookbehind":
|
|
46
|
+
case "StartAnchor":
|
|
47
|
+
case "WordBoundary":
|
|
48
|
+
case "NonWordBoundary": continue;
|
|
49
|
+
}
|
|
50
|
+
let b = y;
|
|
51
|
+
switch (b.type) {
|
|
52
|
+
case "Character":
|
|
53
|
+
addOptimizedIdxToResult(b.value, h, _);
|
|
54
|
+
break;
|
|
55
|
+
case "Set":
|
|
56
|
+
if (b.complement === !0) throw Error(complementErrorMessage);
|
|
57
|
+
forEach_default(b.value, (e) => {
|
|
58
|
+
if (typeof e == "number") addOptimizedIdxToResult(e, h, _);
|
|
59
|
+
else {
|
|
60
|
+
let g = e;
|
|
61
|
+
if (_ === !0) for (let e = g.from; e <= g.to; e++) addOptimizedIdxToResult(e, h, _);
|
|
62
|
+
else {
|
|
63
|
+
for (let e = g.from; e <= g.to && e < 256; e++) addOptimizedIdxToResult(e, h, _);
|
|
64
|
+
if (g.to >= 256) {
|
|
65
|
+
let e = g.from >= 256 ? g.from : 256, _ = g.to, v = charCodeToOptimizedIndex(e), y = charCodeToOptimizedIndex(_);
|
|
66
|
+
for (let e = v; e <= y; e++) h[e] = e;
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
});
|
|
71
|
+
break;
|
|
72
|
+
case "Group":
|
|
73
|
+
firstCharOptimizedIndices(b.value, h, _);
|
|
74
|
+
break;
|
|
75
|
+
default: throw Error("Non Exhaustive Match");
|
|
76
|
+
}
|
|
77
|
+
let x = b.quantifier !== void 0 && b.quantifier.atLeast === 0;
|
|
78
|
+
if (b.type === "Group" && isWholeOptional(b) === !1 || b.type !== "Group" && x === !1) break;
|
|
79
|
+
}
|
|
80
|
+
break;
|
|
81
|
+
default: throw Error("non exhaustive match!");
|
|
82
|
+
}
|
|
83
|
+
return values_default(h);
|
|
84
|
+
}
|
|
85
|
+
function addOptimizedIdxToResult(e, h, g) {
|
|
86
|
+
let _ = charCodeToOptimizedIndex(e);
|
|
87
|
+
h[_] = _, g === !0 && handleIgnoreCase(e, h);
|
|
88
|
+
}
|
|
89
|
+
function handleIgnoreCase(e, h) {
|
|
90
|
+
let g = String.fromCharCode(e), _ = g.toUpperCase();
|
|
91
|
+
/* istanbul ignore else */
|
|
92
|
+
if (_ !== g) {
|
|
93
|
+
let e = charCodeToOptimizedIndex(_.charCodeAt(0));
|
|
94
|
+
h[e] = e;
|
|
95
|
+
} else {
|
|
96
|
+
let e = g.toLowerCase();
|
|
97
|
+
if (e !== g) {
|
|
98
|
+
let g = charCodeToOptimizedIndex(e.charCodeAt(0));
|
|
99
|
+
h[g] = g;
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
function findCode(e, h) {
|
|
104
|
+
return find_default(e.value, (e) => {
|
|
105
|
+
if (typeof e == "number") return includes_default(h, e);
|
|
106
|
+
{
|
|
107
|
+
let g = e;
|
|
108
|
+
return find_default(h, (e) => g.from <= e && e <= g.to) !== void 0;
|
|
109
|
+
}
|
|
110
|
+
});
|
|
111
|
+
}
|
|
112
|
+
function isWholeOptional(h) {
|
|
113
|
+
let g = h.quantifier;
|
|
114
|
+
return g && g.atLeast === 0 ? !0 : h.value ? isArray_default(h.value) ? every_default(h.value, isWholeOptional) : isWholeOptional(h.value) : !1;
|
|
115
|
+
}
|
|
116
|
+
var CharCodeFinder = class extends BaseRegExpVisitor {
|
|
117
|
+
constructor(e) {
|
|
118
|
+
super(), this.targetCharCodes = e, this.found = !1;
|
|
119
|
+
}
|
|
120
|
+
visitChildren(e) {
|
|
121
|
+
if (this.found !== !0) {
|
|
122
|
+
switch (e.type) {
|
|
123
|
+
case "Lookahead":
|
|
124
|
+
this.visitLookahead(e);
|
|
125
|
+
return;
|
|
126
|
+
case "NegativeLookahead":
|
|
127
|
+
this.visitNegativeLookahead(e);
|
|
128
|
+
return;
|
|
129
|
+
case "Lookbehind":
|
|
130
|
+
this.visitLookbehind(e);
|
|
131
|
+
return;
|
|
132
|
+
case "NegativeLookbehind":
|
|
133
|
+
this.visitNegativeLookbehind(e);
|
|
134
|
+
return;
|
|
135
|
+
}
|
|
136
|
+
super.visitChildren(e);
|
|
137
|
+
}
|
|
138
|
+
}
|
|
139
|
+
visitCharacter(e) {
|
|
140
|
+
includes_default(this.targetCharCodes, e.value) && (this.found = !0);
|
|
141
|
+
}
|
|
142
|
+
visitSet(e) {
|
|
143
|
+
e.complement ? findCode(e, this.targetCharCodes) === void 0 && (this.found = !0) : findCode(e, this.targetCharCodes) !== void 0 && (this.found = !0);
|
|
144
|
+
}
|
|
145
|
+
};
|
|
146
|
+
function canMatchCharCode(e, h) {
|
|
147
|
+
if (h instanceof RegExp) {
|
|
148
|
+
let g = getRegExpAst(h), _ = new CharCodeFinder(e);
|
|
149
|
+
return _.visit(g), _.found;
|
|
150
|
+
} else return find_default(h, (h) => includes_default(e, h.charCodeAt(0))) !== void 0;
|
|
151
|
+
}
|
|
152
|
+
export { canMatchCharCode, failedOptimizationPrefixMsg, getOptimizedStartCodesIndices };
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { RegExpParser } from "../../../../@chevrotain/regexp-to-ast/lib/src/regexp-parser.js";
|
|
2
|
+
import "../../../../@chevrotain/regexp-to-ast/lib/src/api.js";
|
|
3
|
+
var regExpAstCache = {}, regExpParser = new RegExpParser();
|
|
4
|
+
function getRegExpAst(e) {
|
|
5
|
+
let i = e.toString();
|
|
6
|
+
if (regExpAstCache.hasOwnProperty(i)) return regExpAstCache[i];
|
|
7
|
+
{
|
|
8
|
+
let e = regExpParser.pattern(i);
|
|
9
|
+
return regExpAstCache[i] = e, e;
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
function clearRegExpParserCache() {
|
|
13
|
+
regExpAstCache = {};
|
|
14
|
+
}
|
|
15
|
+
export { clearRegExpParserCache, getRegExpAst };
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
import isArray_default from "../../../../lodash-es/isArray.js";
|
|
2
|
+
import isEmpty_default from "../../../../lodash-es/isEmpty.js";
|
|
3
|
+
import flatten_default from "../../../../lodash-es/flatten.js";
|
|
4
|
+
import clone_default from "../../../../lodash-es/clone.js";
|
|
5
|
+
import compact_default from "../../../../lodash-es/compact.js";
|
|
6
|
+
import difference_default from "../../../../lodash-es/difference.js";
|
|
7
|
+
import forEach_default from "../../../../lodash-es/forEach.js";
|
|
8
|
+
import map_default from "../../../../lodash-es/map.js";
|
|
9
|
+
import has_default from "../../../../lodash-es/has.js";
|
|
10
|
+
import includes_default from "../../../../lodash-es/includes.js";
|
|
11
|
+
function tokenStructuredMatcher(e, y) {
|
|
12
|
+
let b = e.tokenTypeIdx;
|
|
13
|
+
return b === y.tokenTypeIdx ? !0 : y.isParent === !0 && y.categoryMatchesMap[b] === !0;
|
|
14
|
+
}
|
|
15
|
+
function tokenStructuredMatcherNoCategories(e, y) {
|
|
16
|
+
return e.tokenTypeIdx === y.tokenTypeIdx;
|
|
17
|
+
}
|
|
18
|
+
let tokenShortNameIdx = 1;
|
|
19
|
+
const tokenIdxToClass = {};
|
|
20
|
+
function augmentTokenTypes(e) {
|
|
21
|
+
let y = expandCategories(e);
|
|
22
|
+
assignTokenDefaultProps(y), assignCategoriesMapProp(y), assignCategoriesTokensProp(y), forEach_default(y, (e) => {
|
|
23
|
+
e.isParent = e.categoryMatches.length > 0;
|
|
24
|
+
});
|
|
25
|
+
}
|
|
26
|
+
function expandCategories(e) {
|
|
27
|
+
let S = clone_default(e), C = e, w = !0;
|
|
28
|
+
for (; w;) {
|
|
29
|
+
C = compact_default(flatten_default(map_default(C, (e) => e.CATEGORIES)));
|
|
30
|
+
let e = difference_default(C, S);
|
|
31
|
+
S = S.concat(e), isEmpty_default(e) ? w = !1 : C = e;
|
|
32
|
+
}
|
|
33
|
+
return S;
|
|
34
|
+
}
|
|
35
|
+
function assignTokenDefaultProps(y) {
|
|
36
|
+
forEach_default(y, (y) => {
|
|
37
|
+
hasShortKeyProperty(y) || (tokenIdxToClass[tokenShortNameIdx] = y, y.tokenTypeIdx = tokenShortNameIdx++), hasCategoriesProperty(y) && !isArray_default(y.CATEGORIES) && (y.CATEGORIES = [y.CATEGORIES]), hasCategoriesProperty(y) || (y.CATEGORIES = []), hasExtendingTokensTypesProperty(y) || (y.categoryMatches = []), hasExtendingTokensTypesMapProperty(y) || (y.categoryMatchesMap = {});
|
|
38
|
+
});
|
|
39
|
+
}
|
|
40
|
+
function assignCategoriesTokensProp(e) {
|
|
41
|
+
forEach_default(e, (e) => {
|
|
42
|
+
e.categoryMatches = [], forEach_default(e.categoryMatchesMap, (y, b) => {
|
|
43
|
+
e.categoryMatches.push(tokenIdxToClass[b].tokenTypeIdx);
|
|
44
|
+
});
|
|
45
|
+
});
|
|
46
|
+
}
|
|
47
|
+
function assignCategoriesMapProp(e) {
|
|
48
|
+
forEach_default(e, (e) => {
|
|
49
|
+
singleAssignCategoriesToksMap([], e);
|
|
50
|
+
});
|
|
51
|
+
}
|
|
52
|
+
function singleAssignCategoriesToksMap(e, y) {
|
|
53
|
+
forEach_default(e, (e) => {
|
|
54
|
+
y.categoryMatchesMap[e.tokenTypeIdx] = !0;
|
|
55
|
+
}), forEach_default(y.CATEGORIES, (b) => {
|
|
56
|
+
let x = e.concat(y);
|
|
57
|
+
includes_default(x, b) || singleAssignCategoriesToksMap(x, b);
|
|
58
|
+
});
|
|
59
|
+
}
|
|
60
|
+
function hasShortKeyProperty(e) {
|
|
61
|
+
return has_default(e, "tokenTypeIdx");
|
|
62
|
+
}
|
|
63
|
+
function hasCategoriesProperty(e) {
|
|
64
|
+
return has_default(e, "CATEGORIES");
|
|
65
|
+
}
|
|
66
|
+
function hasExtendingTokensTypesProperty(e) {
|
|
67
|
+
return has_default(e, "categoryMatches");
|
|
68
|
+
}
|
|
69
|
+
function hasExtendingTokensTypesMapProperty(e) {
|
|
70
|
+
return has_default(e, "categoryMatchesMap");
|
|
71
|
+
}
|
|
72
|
+
function isTokenType(e) {
|
|
73
|
+
return has_default(e, "tokenTypeIdx");
|
|
74
|
+
}
|
|
75
|
+
export { augmentTokenTypes, hasShortKeyProperty, isTokenType, tokenStructuredMatcher, tokenStructuredMatcherNoCategories };
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import has_default from "../../../../lodash-es/has.js";
|
|
2
|
+
import isString_default from "../../../../lodash-es/isString.js";
|
|
3
|
+
import isUndefined_default from "../../../../lodash-es/isUndefined.js";
|
|
4
|
+
import { augmentTokenTypes, tokenStructuredMatcher } from "./tokens.js";
|
|
5
|
+
import { Lexer } from "./lexer_public.js";
|
|
6
|
+
function tokenLabel(e) {
|
|
7
|
+
return hasTokenLabel(e) ? e.LABEL : e.name;
|
|
8
|
+
}
|
|
9
|
+
function hasTokenLabel(e) {
|
|
10
|
+
return isString_default(e.LABEL) && e.LABEL !== "";
|
|
11
|
+
}
|
|
12
|
+
var PARENT = "parent", CATEGORIES = "categories", LABEL = "label", GROUP = "group", PUSH_MODE = "push_mode", POP_MODE = "pop_mode", LONGER_ALT = "longer_alt", LINE_BREAKS = "line_breaks", START_CHARS_HINT = "start_chars_hint";
|
|
13
|
+
function createToken(e) {
|
|
14
|
+
return createTokenInternal(e);
|
|
15
|
+
}
|
|
16
|
+
function createTokenInternal(h) {
|
|
17
|
+
let v = h.pattern, y = {};
|
|
18
|
+
if (y.name = h.name, isUndefined_default(v) || (y.PATTERN = v), has_default(h, PARENT)) throw "The parent property is no longer supported.\nSee: https://github.com/chevrotain/chevrotain/issues/564#issuecomment-349062346 for details.";
|
|
19
|
+
return has_default(h, CATEGORIES) && (y.CATEGORIES = h[CATEGORIES]), augmentTokenTypes([y]), has_default(h, LABEL) && (y.LABEL = h[LABEL]), has_default(h, GROUP) && (y.GROUP = h[GROUP]), has_default(h, POP_MODE) && (y.POP_MODE = h[POP_MODE]), has_default(h, PUSH_MODE) && (y.PUSH_MODE = h[PUSH_MODE]), has_default(h, LONGER_ALT) && (y.LONGER_ALT = h[LONGER_ALT]), has_default(h, LINE_BREAKS) && (y.LINE_BREAKS = h[LINE_BREAKS]), has_default(h, START_CHARS_HINT) && (y.START_CHARS_HINT = h[START_CHARS_HINT]), y;
|
|
20
|
+
}
|
|
21
|
+
const EOF = createToken({
|
|
22
|
+
name: "EOF",
|
|
23
|
+
pattern: Lexer.NA
|
|
24
|
+
});
|
|
25
|
+
augmentTokenTypes([EOF]);
|
|
26
|
+
function createTokenInstance(e, h, g, _, v, y, b, x) {
|
|
27
|
+
return {
|
|
28
|
+
image: h,
|
|
29
|
+
startOffset: g,
|
|
30
|
+
endOffset: _,
|
|
31
|
+
startLine: v,
|
|
32
|
+
endLine: y,
|
|
33
|
+
startColumn: b,
|
|
34
|
+
endColumn: x,
|
|
35
|
+
tokenTypeIdx: e.tokenTypeIdx,
|
|
36
|
+
tokenType: e
|
|
37
|
+
};
|
|
38
|
+
}
|
|
39
|
+
function tokenMatcher(e, h) {
|
|
40
|
+
return tokenStructuredMatcher(e, h);
|
|
41
|
+
}
|
|
42
|
+
export { EOF, createToken, createTokenInstance, hasTokenLabel, tokenLabel, tokenMatcher };
|