reactive-md 0.8.0 → 0.9.1
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/CHANGELOG-ch.md +54 -4
- package/CHANGELOG.md +55 -4
- package/CONTRIBUTING-ch.md +13 -2
- package/CONTRIBUTING.md +13 -2
- package/README-ch.md +132 -23
- package/README-en.md +130 -21
- package/README.md +128 -21
- package/SECURITY-ch.md +3 -3
- package/SECURITY.md +3 -3
- package/THIRD_PARTY_NOTICES.md +111 -1
- package/cli/args.mjs +51 -1
- package/cli/assets.mjs +6 -1
- package/cli/build.mjs +125 -9
- package/cli/fs-utils.mjs +3 -3
- package/cli/help.mjs +12 -5
- package/cli/init.mjs +1 -1
- package/cli/package.mjs +1 -0
- package/dist-library/LocalDocumentView-sthUP0ct.js +109 -0
- package/dist-library/LocalDocumentViewCore-GiWV3bey.js +9829 -0
- package/dist-library/LocalReactiveDocumentCore-ZjQSGyHE.js +275 -0
- package/dist-library/{authoring-BsfSwQRm.js → authoring-Dsune4Hy.js} +240 -218
- package/dist-library/compile-wUv8KEge.js +1249 -0
- package/dist-library/{compiler-core-kPiH-gOV.js → compiler-core-As_m-MNm.js} +5372 -5559
- package/dist-library/compiler-eOfcinZs.js +62 -0
- package/dist-library/component-state-BoLCGee4.js +801 -0
- package/dist-library/{component-state-D_cw_EHe.js → component-state-C52ZFJGl.js} +2 -2
- package/dist-library/{registry-B9Jc3FVe.js → config-BadfhjdP.js} +374 -457
- package/dist-library/{config-validation-DXTynAw7.js → config-validation-F47AcE6o.js} +549 -751
- package/dist-library/controls-CcT6n7k_.js +6740 -0
- package/dist-library/coordinate-CWS9p5q_.js +293 -0
- package/dist-library/data-table-Bgccxd7h.js +296 -0
- package/dist-library/{default-components-Z_YMio5P.js → default-components-BwQf0oP-.js} +344 -334
- package/dist-library/{math-display-BJz4gbFc.js → display-B-VhqVND.js} +1299 -1299
- package/dist-library/export-BqVmTXm8.js +369 -0
- package/dist-library/gallery-CY6mTx8i.js +360 -0
- package/dist-library/html-CNT4KD-2.js +757 -0
- package/dist-library/{math-sample-BGEW49zY.js → incremental-Dv0FSp_U.js} +476 -394
- package/dist-library/latex-1w7aQgD5.js +928 -0
- package/dist-library/layout-C0YlEPGr.js +562 -0
- package/dist-library/mount-preset-KxvtKgJb.js +13 -0
- package/dist-library/options-1aDLK7JY.js +121 -0
- package/dist-library/{react-ByOHunUW.js → package-core-WFK1RhAZ.js} +49 -55
- package/dist-library/{parser-standard-DlCk7sLo.js → parser-standard-Yuf3A_VI.js} +6605 -7097
- package/dist-library/plugin-packs-B1XPWcFs.js +18 -0
- package/dist-library/{identity-MYJXKSkB.js → preset-core-CKc5YXSM.js} +31 -31
- package/dist-library/{props-DGlBk0e5.js → props-sJ8vk0cr.js} +1 -1
- package/dist-library/react-BbyAgeXc.js +6070 -0
- package/dist-library/react-D5iGiUdL.js +7 -0
- package/dist-library/reactive-md-authoring.js +222 -223
- package/dist-library/reactive-md-build.js +126 -72
- package/dist-library/reactive-md-compiler-standard.js +12 -10
- package/dist-library/reactive-md-compiler.js +3 -3
- package/dist-library/reactive-md-default-packs.js +2 -2
- package/dist-library/reactive-md-default-preset.js +4 -4
- package/dist-library/reactive-md-export-assets.js +57 -0
- package/dist-library/reactive-md-export.js +5 -111
- package/dist-library/reactive-md-minimal-preset.js +24 -0
- package/dist-library/reactive-md-minimal-react-preset.js +26 -0
- package/dist-library/reactive-md-minimal-styles.js +80 -0
- package/dist-library/reactive-md-minimal.css +2 -0
- package/dist-library/reactive-md-pdf.js +7582 -0
- package/dist-library/reactive-md-plugin-chart.js +13 -0
- package/dist-library/reactive-md-plugin-data.js +17 -0
- package/dist-library/reactive-md-plugin-diagram.js +18 -0
- package/dist-library/reactive-md-plugin-forms.js +18 -0
- package/dist-library/reactive-md-plugin-gallery.js +12 -0
- package/dist-library/reactive-md-plugin-navigation.js +15 -0
- package/dist-library/reactive-md-plugin-network.js +222 -0
- package/dist-library/reactive-md-plugin-plot.js +24 -0
- package/dist-library/reactive-md-print.css +5 -0
- package/dist-library/reactive-md-react-minimal.js +28 -0
- package/dist-library/reactive-md-react-server.js +34 -32
- package/dist-library/reactive-md-react-unstyled.js +14 -9
- package/dist-library/reactive-md-react.js +14 -9
- package/dist-library/reactive-md-runtime-browser.js +847 -15
- package/dist-library/reactive-md-runtime.js +3 -3
- package/dist-library/reactive-md-sdk.js +8 -6
- package/dist-library/reactive-md-standalone-configured.js +16 -0
- package/dist-library/reactive-md-standalone-host.js +9 -438
- package/dist-library/reactive-md-testing-browser.js +5 -4
- package/dist-library/reactive-md-testing-react.js +46 -44
- package/dist-library/reactive-md-testing.js +45 -44
- package/dist-library/reactive-md-vite.js +135 -37
- package/dist-library/reactive-md.css +1 -1
- package/dist-library/reactive-md.js +590 -498
- package/dist-library/registry-B9NGct4d.js +20 -0
- package/dist-library/registry-core-Bbad9Bm2.js +479 -0
- package/dist-library/{resources-BGt8mpDA.js → resources-D2GDQS0p.js} +45 -45
- package/dist-library/{runtime-Dkq7ldyg.js → runtime-B2fxeveq.js} +1 -1
- package/dist-library/runtime-kcA7bG7G.js +1282 -0
- package/dist-library/sample-bP4zHB3L.js +289 -0
- package/dist-library/{schema-ZFufO8V0.js → schema-BufhKUSM.js} +12 -11
- package/dist-library/sdk-core-BoJT1SIt.js +1166 -0
- package/dist-library/session-core-nmJHuR9c.js +452 -0
- package/dist-library/{shareable-DDVL4Fi9.js → shareable-DpbE-59H.js} +250 -283
- package/dist-library/tooltip-layer-HDLrSWs0.js +28 -0
- package/dist-library/types/authoring/catalog.d.ts +2 -3
- package/dist-library/types/authoring/editor-i18n.d.ts +1 -1
- package/dist-library/types/authoring/index.d.ts +1 -1
- package/dist-library/types/authoring/insert.d.ts +1 -1
- package/dist-library/types/authoring/templates.d.ts +2 -2
- package/dist-library/types/build/diagnostics.d.ts +1 -1
- package/dist-library/types/build/host.d.ts +1 -1
- package/dist-library/types/build/index.d.ts +1 -1
- package/dist-library/types/build/notices.d.ts +1 -1
- package/dist-library/types/build/resources.d.ts +1 -1
- package/dist-library/types/build/vite.d.ts +1 -1
- package/dist-library/types/compiler/index.d.ts +2 -2
- package/dist-library/types/compiler/result.d.ts +1 -1
- package/dist-library/types/compiler/standard.d.ts +2 -2
- package/dist-library/types/compiler/types.d.ts +1 -1
- package/dist-library/types/components/{controls.d.ts → controls/controls.d.ts} +2 -3
- package/dist-library/types/components/{numeric-sliders.d.ts → controls/numeric-sliders.d.ts} +1 -1
- package/dist-library/types/components/{gallery.d.ts → gallery/gallery.d.ts} +1 -1
- package/dist-library/types/components/{layout.d.ts → layout/layout.d.ts} +1 -1
- package/dist-library/types/components/minimal-preset.d.ts +2 -0
- package/dist-library/types/components/mount-preset.d.ts +4 -0
- package/dist-library/types/components/network/submit-button.d.ts +10 -0
- package/dist-library/types/components/plot/coordinate.d.ts +2 -0
- package/dist-library/types/components/plugins/chart.d.ts +2 -0
- package/dist-library/types/components/plugins/data.d.ts +2 -0
- package/dist-library/types/components/plugins/diagram.d.ts +2 -0
- package/dist-library/types/components/plugins/forms.d.ts +2 -0
- package/dist-library/types/components/plugins/gallery.d.ts +2 -0
- package/dist-library/types/components/plugins/navigation.d.ts +2 -0
- package/dist-library/types/components/plugins/network.d.ts +2 -0
- package/dist-library/types/components/plugins/plot.d.ts +2 -0
- package/dist-library/types/components/shared/visual-frame.d.ts +12 -0
- package/dist-library/types/components/{visuals.d.ts → shared/visuals.d.ts} +1 -7
- package/dist-library/types/components/{data-table.d.ts → table/data-table.d.ts} +2 -2
- package/dist-library/types/export/component-state.d.ts +1 -1
- package/dist-library/types/export/index.d.ts +2 -1
- package/dist-library/types/export/print-document.d.ts +18 -0
- package/dist-library/types/export/render-markup.d.ts +23 -0
- package/dist-library/types/export/requirements.d.ts +1 -1
- package/dist-library/types/export/resources.d.ts +1 -1
- package/dist-library/types/export/restoration.d.ts +1 -1
- package/dist-library/types/export-assets/index.d.ts +25 -0
- package/dist-library/types/local/compilation/compiler-attributes.d.ts +8 -0
- package/dist-library/types/local/compilation/compiler-bindings.d.ts +19 -0
- package/dist-library/types/local/compilation/compiler-capabilities.d.ts +3 -0
- package/dist-library/types/local/compilation/compiler-core.d.ts +11 -3
- package/dist-library/types/local/compilation/compiler-declarations.d.ts +32 -0
- package/dist-library/types/local/compilation/compiler-expressions.d.ts +32 -0
- package/dist-library/types/local/compilation/compiler-services.d.ts +62 -16
- package/dist-library/types/local/compilation/compiler-structure.d.ts +38 -3
- package/dist-library/types/local/compilation/compiler-tables.d.ts +30 -0
- package/dist-library/types/local/compilation/compiler-validation.d.ts +15 -0
- package/dist-library/types/local/compilation/compiler-values.d.ts +39 -1
- package/dist-library/types/local/compilation/compiler.d.ts +7 -14
- package/dist-library/types/local/compilation/dependencies.d.ts +1 -1
- package/dist-library/types/local/compilation/session/incremental.d.ts +75 -0
- package/dist-library/types/local/{session → compilation/session}/row-reuse.d.ts +1 -1
- package/dist-library/types/local/{session/compiler-cache.d.ts → compilation/session/semantic-cache.d.ts} +5 -19
- package/dist-library/types/local/compilation/streaming.d.ts +27 -0
- package/dist-library/types/local/configuration/capability-policy.d.ts +3 -0
- package/dist-library/types/local/{compilation → configuration}/component-kernel.d.ts +3 -79
- package/dist-library/types/local/configuration/diagnostic-messages.d.ts +1104 -1056
- package/dist-library/types/local/configuration/diagnostic-runtime-messages.d.ts +731 -0
- package/dist-library/types/local/configuration/diagnostics.d.ts +1 -1
- package/dist-library/types/local/configuration/kernel-value-rules.d.ts +66 -0
- package/dist-library/types/local/configuration/official-leaf-syntax.d.ts +24 -0
- package/dist-library/types/local/configuration/options-core.d.ts +5 -4
- package/dist-library/types/local/configuration/options.d.ts +2 -1
- package/dist-library/types/local/configuration/portable-options.d.ts +1 -1
- package/dist-library/types/local/configuration/schema-core.d.ts +1 -1
- package/dist-library/types/local/configuration/schema.d.ts +1 -1
- package/dist-library/types/local/css/author-css.d.ts +66 -0
- package/dist-library/types/local/evaluation/computations.d.ts +2 -2
- package/dist-library/types/local/evaluation/expression/compile.d.ts +30 -0
- package/dist-library/types/local/evaluation/expression/evaluation.d.ts +3 -0
- package/dist-library/types/local/evaluation/expression/inference.d.ts +4 -0
- package/dist-library/types/local/evaluation/expression/syntax.d.ts +72 -0
- package/dist-library/types/local/evaluation/expression/values.d.ts +56 -0
- package/dist-library/types/local/evaluation/{math-display.d.ts → math/display.d.ts} +2 -2
- package/dist-library/types/local/evaluation/math/evaluation.d.ts +10 -0
- package/dist-library/types/local/evaluation/{math.d.ts → math/latex.d.ts} +58 -17
- package/dist-library/types/local/evaluation/{math-sample.d.ts → math/sample.d.ts} +4 -2
- package/dist-library/types/local/evaluation/math/syntax.d.ts +72 -0
- package/dist-library/types/local/evaluation/validation.d.ts +1 -1
- package/dist-library/types/local/html/extended-fragment.d.ts +41 -0
- package/dist-library/types/local/html/html-details.d.ts +1 -1
- package/dist-library/types/local/html/html-entities.d.ts +11 -2
- package/dist-library/types/local/html/html-recovery.d.ts +1 -1
- package/dist-library/types/local/html/html-table.d.ts +1 -1
- package/dist-library/types/local/html/html.d.ts +40 -4
- package/dist-library/types/local/index.d.ts +14 -13
- package/dist-library/types/local/parsing/author-markdown.d.ts +11 -0
- package/dist-library/types/local/{markdown → parsing}/fast-markdown.d.ts +1 -1
- package/dist-library/types/local/{markdown → parsing}/footnotes.d.ts +1 -1
- package/dist-library/types/local/{markdown → parsing}/heading-anchors.d.ts +1 -1
- package/dist-library/types/local/parsing/html-attributes.d.ts +14 -0
- package/dist-library/types/local/parsing/parse-budget.d.ts +1 -1
- package/dist-library/types/local/{session → parsing}/parse-session.d.ts +5 -5
- package/dist-library/types/local/parsing/parser-capabilities.d.ts +7 -2
- package/dist-library/types/local/parsing/parser-convert.d.ts +26 -0
- package/dist-library/types/local/parsing/parser-core.d.ts +10 -4
- package/dist-library/types/local/parsing/parser-internals.d.ts +54 -0
- package/dist-library/types/local/parsing/parser-region.d.ts +46 -0
- package/dist-library/types/local/parsing/parser-standard.d.ts +3 -0
- package/dist-library/types/local/parsing/parser-tags.d.ts +108 -0
- package/dist-library/types/local/parsing/parser.d.ts +3 -3
- package/dist-library/types/local/{markdown → parsing}/plain-paragraphs.d.ts +1 -1
- package/dist-library/types/local/parsing/rmd-recovery.d.ts +1 -1
- package/dist-library/types/local/parsing/theme-declaration.d.ts +22 -0
- package/dist-library/types/local/rendering/document/ExtendedHtmlFragment.d.ts +14 -0
- package/dist-library/types/local/rendering/document/LocalDocumentView.d.ts +5 -0
- package/dist-library/types/local/rendering/{LocalDocumentView.d.ts → document/LocalDocumentViewCore.d.ts} +48 -9
- package/dist-library/types/local/rendering/document/LocalReactiveDocumentCore.d.ts +6 -0
- package/dist-library/types/local/rendering/document/render-nodes.d.ts +24 -0
- package/dist-library/types/local/rendering/document/use-author-script.d.ts +3 -0
- package/dist-library/types/local/rendering/document/use-color-scheme.d.ts +10 -0
- package/dist-library/types/local/rendering/document/validation-state.d.ts +31 -0
- package/dist-library/types/local/rendering/document/view-render-context.d.ts +146 -0
- package/dist-library/types/local/rendering/{view-revision.d.ts → document/view-revision.d.ts} +31 -4
- package/dist-library/types/local/rendering/render-types.d.ts +1 -1
- package/dist-library/types/local/{widgets/table-surface.d.ts → rendering/table/data-table.d.ts} +3 -0
- package/dist-library/types/local/rendering/table/table-numeric-columns.d.ts +7 -0
- package/dist-library/types/local/runtime/author-script-protocol.d.ts +59 -0
- package/dist-library/types/local/runtime/retention.d.ts +1 -1
- package/dist-library/types/local/runtime/runtime-document.d.ts +71 -0
- package/dist-library/types/local/runtime/runtime-migration.d.ts +19 -0
- package/dist-library/types/local/runtime/runtime-values.d.ts +39 -0
- package/dist-library/types/local/runtime/runtime.d.ts +4 -2
- package/dist-library/types/local/runtime/state.d.ts +1 -1
- package/dist-library/types/local/source/authoring-syntax.d.ts +48 -0
- package/dist-library/types/local/source/authoring.d.ts +1 -1
- package/dist-library/types/local/source/source-context.d.ts +23 -0
- package/dist-library/types/local/source/source-migration.d.ts +2 -2
- package/dist-library/types/local/transport/compile-patch.d.ts +1 -1
- package/dist-library/types/local/transport/flat-compiled-data.d.ts +1 -1
- package/dist-library/types/local/transport/shared-data.d.ts +1 -1
- package/dist-library/types/local/transport/worker-handler.d.ts +30 -0
- package/dist-library/types/local/transport/worker-job.d.ts +28 -0
- package/dist-library/types/local/transport/worker.d.ts +32 -46
- package/dist-library/types/local/{contracts/types.d.ts → types.d.ts} +78 -21
- package/dist-library/types/pdf.d.ts +22 -0
- package/dist-library/types/presets/identity.d.ts +1 -0
- package/dist-library/types/presets/minimal.d.ts +2 -0
- package/dist-library/types/presets/plugin-packs.d.ts +1 -0
- package/dist-library/types/react/component-api.d.ts +20 -4
- package/dist-library/types/react/component-primitives.d.ts +10 -10
- package/dist-library/types/react/component-utils.d.ts +9 -1
- package/dist-library/types/react/index.d.ts +6 -5
- package/dist-library/types/{local/theme/i18n.d.ts → react/localization.d.ts} +2 -2
- package/dist-library/types/react/minimal.d.ts +13 -0
- package/dist-library/types/react/package-core.d.ts +67 -0
- package/dist-library/types/react/package.d.ts +3 -67
- package/dist-library/types/react/runtime/common.d.ts +1 -1
- package/dist-library/types/react/sdk-core.d.ts +115 -0
- package/dist-library/types/react/sdk.d.ts +4 -110
- package/dist-library/types/react/server.d.ts +2 -2
- package/dist-library/types/react/use-draft-field.d.ts +5 -1
- package/dist-library/types/runtime-services/browser/duplex.d.ts +163 -0
- package/dist-library/types/runtime-services/browser/http-sse.d.ts +117 -0
- package/dist-library/types/runtime-services/browser/index.d.ts +2 -1
- package/dist-library/types/runtime-services/component-state.d.ts +1 -1
- package/dist-library/types/runtime-services/index.d.ts +2 -0
- package/dist-library/types/runtime-services/network.d.ts +86 -0
- package/dist-library/types/runtime-services/runtime.d.ts +1 -1
- package/dist-library/types/sdk/config.d.ts +1 -1
- package/dist-library/types/sdk/index.d.ts +1 -0
- package/dist-library/types/sdk/props.d.ts +1 -1
- package/dist-library/types/sdk/registry-core.d.ts +1 -1
- package/dist-library/types/sdk/theme.d.ts +5 -4
- package/dist-library/types/sdk/types.d.ts +2 -2
- package/dist-library/types/shareable.d.ts +6 -5
- package/dist-library/types/standalone/diagnostics.d.ts +1 -1
- package/dist-library/types/standalone/host.d.ts +5 -0
- package/dist-library/types/standalone/payload.d.ts +1 -1
- package/dist-library/types/standalone/prepare.d.ts +2 -2
- package/dist-library/types/standalone/session-core.d.ts +68 -0
- package/dist-library/types/standalone/session.d.ts +6 -68
- package/dist-library/types/themes/contract.d.ts +7 -0
- package/dist-library/types/{local/theme/theme.d.ts → themes/document-theme.d.ts} +4 -3
- package/dist-library/types/vite/client.d.ts +19 -0
- package/dist-library/types/vite/index.d.ts +18 -3
- package/dist-library/types/vite/registration.d.ts +2 -2
- package/dist-library/{types-BFCrMrg0.js → types-BeNtPqdY.js} +1 -1
- package/dist-library/validation-BEBA_HvS.js +1121 -0
- package/dist-library/visual-frame-CyV1FXzs.js +48 -0
- package/dist-library/visuals-B5KSafVk.js +3 -0
- package/dist-library/visuals-BZbZYA7w.js +72572 -0
- package/dist-standalone/reactive-md-standalone.css +1 -1
- package/dist-standalone/reactive-md-standalone.js +146 -137
- package/docs/README-ch.md +16 -11
- package/docs/README.md +16 -11
- package/docs/compatibility/compatibility-ch.md +8 -8
- package/docs/compatibility/compatibility-en.md +8 -8
- package/docs/compatibility/source-versioning-ch.md +1 -1
- package/docs/compatibility/source-versioning-en.md +1 -1
- package/docs/development/component-development-ch.md +2 -2
- package/docs/development/component-development-en.md +2 -2
- package/docs/development/component-development-reference-ch.md +4 -4
- package/docs/development/component-development-reference-en.md +4 -4
- package/docs/development/component-protocol-ch.md +14 -14
- package/docs/development/component-protocol-en.md +14 -14
- package/docs/development/extension-tutorial-ch.md +308 -0
- package/docs/development/extension-tutorial-en.md +308 -0
- package/docs/development/local-module-layout-ch.md +10 -50
- package/docs/development/local-module-layout-en.md +9 -49
- package/docs/development/performance-overview-ch.md +174 -154
- package/docs/development/performance-overview-en.md +174 -154
- package/docs/guides/local-guide-ch.md +2 -2
- package/docs/guides/local-guide-en.md +2 -2
- package/docs/integration/author-tools-ch.md +2 -2
- package/docs/integration/author-tools-en.md +2 -2
- package/docs/integration/compiler-ch.md +4 -2
- package/docs/integration/compiler-en.md +4 -2
- package/docs/integration/directory-discovery-ch.md +5 -1
- package/docs/integration/directory-discovery-en.md +5 -1
- package/docs/integration/editor-ch.md +35 -5
- package/docs/integration/editor-en.md +42 -4
- package/docs/integration/extension-sdk-ch.md +6 -4
- package/docs/integration/extension-sdk-en.md +6 -4
- package/docs/integration/local-integration-ch.md +201 -19
- package/docs/integration/local-integration-en.md +194 -18
- package/docs/integration/network-host-ch.md +75 -0
- package/docs/integration/network-host-en.md +75 -0
- package/docs/integration/shareable-export-ch.md +58 -16
- package/docs/integration/shareable-export-en.md +57 -15
- package/docs/reference/html-compatibility-ch.md +20 -67
- package/docs/reference/html-compatibility-en.md +19 -64
- package/docs/reference/local-interaction-syntax-ch.md +199 -26
- package/docs/reference/local-interaction-syntax-en.md +194 -27
- package/docs/reference/public-api-ch.md +416 -0
- package/docs/reference/public-api-en.md +416 -0
- package/docs/reference/theme-protocol-ch.md +27 -8
- package/docs/reference/theme-protocol-en.md +46 -8
- package/docs/releases/release-0.4.0-ch.md +2 -2
- package/docs/releases/release-0.4.0-en.md +2 -2
- package/docs/releases/release-0.8.0-ch.md +19 -3
- package/docs/releases/release-0.8.0-en.md +19 -3
- package/docs/releases/release-0.9.0-ch.md +44 -0
- package/docs/releases/release-0.9.0-en.md +44 -0
- package/docs/releases/release-0.9.1-ch.md +29 -0
- package/docs/releases/release-0.9.1-en.md +29 -0
- package/examples/component-package/README-ch.md +1 -1
- package/examples/component-package/README.md +1 -1
- package/examples/conformance/README-ch.md +3 -3
- package/examples/conformance/README.md +3 -3
- package/examples/game-2048-package/README-ch.md +3 -9
- package/examples/game-2048-package/README.md +8 -12
- package/examples/integration/README-ch.md +21 -2
- package/examples/integration/README.md +21 -2
- package/examples/integration/extension-sdk/README-ch.md +1 -1
- package/examples/integration/extension-sdk/README.md +1 -1
- package/examples/integration/streaming/index.html +48 -0
- package/examples/integration/streaming/main.js +175 -0
- package/examples/integration/streaming/package.json +13 -0
- package/examples/integration/streaming/worker.js +3 -0
- package/examples/local/README-ch.md +3 -3
- package/examples/local/README.md +2 -2
- package/examples/local/minimal-budget.reactive.md +48 -0
- package/examples/minimal-extension/README-ch.md +78 -0
- package/examples/minimal-extension/README.md +78 -0
- package/examples/minimal-extension/index.html +15 -0
- package/examples/minimal-extension/package.json +26 -0
- package/examples/minimal-extension/sample/document.reactive.md +10 -0
- package/examples/minimal-extension/scripts/build.mjs +32 -0
- package/examples/minimal-extension/scripts/export.mjs +72 -0
- package/examples/minimal-extension/scripts/test-node.mjs +75 -0
- package/examples/minimal-extension/src/extension.tsx +90 -0
- package/examples/minimal-extension/src/preview.tsx +12 -0
- package/examples/minimal-extension/src/source.ts +4 -0
- package/examples/minimal-extension/tsconfig.json +14 -0
- package/examples/network-survey/README.md +200 -0
- package/examples/network-survey/index.html +49 -0
- package/examples/network-survey/package.json +26 -0
- package/examples/network-survey/sample/document.reactive.md +51 -0
- package/examples/network-survey/src/components.tsx +325 -0
- package/examples/network-survey/src/host.ts +316 -0
- package/examples/network-survey/src/main.tsx +91 -0
- package/examples/network-survey/src/source.ts +1 -0
- package/examples/network-survey/tsconfig.json +26 -0
- package/examples/network-survey/vite.config.ts +227 -0
- package/examples/sci-fi-theme/README-ch.md +4 -2
- package/examples/sci-fi-theme/README.md +4 -2
- package/examples/sci-fi-theme/demo/acceptance.reactive.md +454 -0
- package/examples/sci-fi-theme/demo/demo.css +129 -23
- package/examples/sci-fi-theme/demo/document.reactive.md +27 -6
- package/examples/sci-fi-theme/demo/main.tsx +45 -10
- package/examples/sci-fi-theme/docs/design-system-ch.md +6 -6
- package/examples/sci-fi-theme/package.json +2 -1
- package/examples/sci-fi-theme/src/components.css +1064 -154
- package/examples/sci-fi-theme/src/notch.css +142 -0
- package/examples/sci-fi-theme/src/sci-fi.css +3 -1
- package/examples/sci-fi-theme/src/theme.ts +2 -0
- package/examples/sci-fi-theme/src/tokens.css +512 -408
- package/examples/tetris-package/README-ch.md +4 -4
- package/examples/tetris-package/README.md +4 -4
- package/package.json +70 -3
- package/dist-library/LocalDocumentView-6trX7xJc.js +0 -97920
- package/dist-library/compiler--ea2CKQF.js +0 -61
- package/dist-library/component-state-Cq2K5gkS.js +0 -490
- package/dist-library/options-CX5m5n-J.js +0 -115
- package/dist-library/runtime-C-sbfpOX.js +0 -1157
- package/dist-library/types/local/contracts/locale.d.ts +0 -1
- package/dist-library/types/local/contracts/version.d.ts +0 -2
- package/dist-library/types/local/evaluation/dates.d.ts +0 -2
- package/dist-library/types/local/evaluation/expression.d.ts +0 -47
- package/dist-library/types/local/markdown/markdown-structure.d.ts +0 -3
- package/dist-library/types/local/rendering/legacy-component-adapter.d.ts +0 -36
- package/dist-library/types/local/session/incremental.d.ts +0 -48
- package/dist-library/types/local/source/node-walk.d.ts +0 -3
- package/dist-library/types/local/source/text-length.d.ts +0 -13
- package/dist-library/types/local/theme/theme-name.d.ts +0 -3
- package/dist-library/types/local/widgets/visuals.d.ts +0 -25
- package/dist-library/types/react/default-theme.d.ts +0 -6
- package/dist-library/validation-W-bmny-x.js +0 -2253
- package/docs/development/releasing-ch.md +0 -12
- package/docs/development/releasing-en.md +0 -12
- package/docs/integration/codemirror-ch.md +0 -52
- package/docs/integration/codemirror-en.md +0 -29
- package/docs/integration/repository-split-ch.md +0 -40
- package/docs/integration/repository-split-en.md +0 -23
- package/docs/reference/computations-formatting-ch.md +0 -89
- package/docs/reference/computations-formatting-en.md +0 -89
- package/docs/reference/constraints-collections-ch.md +0 -104
- package/docs/reference/constraints-collections-en.md +0 -104
- package/docs/reference/local-components-v2-ch.md +0 -140
- package/docs/reference/local-components-v2-en.md +0 -106
- package/docs/reference/tolerance-ch.md +0 -64
- package/docs/reference/tolerance-en.md +0 -57
- /package/dist-library/types/components/{chart-motion.d.ts → chart/chart-motion.d.ts} +0 -0
- /package/dist-library/types/components/{default-chart-types.d.ts → chart/default-chart-types.d.ts} +0 -0
- /package/dist-library/types/components/{default-chart.d.ts → chart/default-chart.d.ts} +0 -0
- /package/dist-library/types/components/{diagram-inspector.d.ts → diagram/diagram-inspector.d.ts} +0 -0
- /package/dist-library/types/{local/widgets/diagram-layout.d.ts → components/diagram/layout.d.ts} +0 -0
- /package/dist-library/types/components/{mafs-plot-grid.d.ts → plot/mafs-plot-grid.d.ts} +0 -0
- /package/dist-library/types/components/{mafs-visuals.d.ts → plot/mafs-visuals.d.ts} +0 -0
- /package/dist-library/types/components/{use-hydrated.d.ts → shared/use-hydrated.d.ts} +0 -0
- /package/dist-library/types/local/{theme/colors.d.ts → configuration/color-values.d.ts} +0 -0
- /package/dist-library/types/local/evaluation/{collection-functions.d.ts → expression/collection-functions.d.ts} +0 -0
- /package/dist-library/types/local/evaluation/{data-functions.d.ts → expression/data-functions.d.ts} +0 -0
- /package/dist-library/types/local/evaluation/{formatting.d.ts → expression/formatting.d.ts} +0 -0
- /package/dist-library/types/local/{markdown → parsing}/markdown-blocks.d.ts +0 -0
- /package/dist-library/types/local/{widgets → rendering/code}/code-block.d.ts +0 -0
- /package/dist-library/types/local/{widgets → rendering/code}/code-languages.d.ts +0 -0
- /package/dist-library/types/local/{widgets → rendering/image}/image-view.d.ts +0 -0
- /package/dist-library/types/local/{widgets → rendering}/math-view.d.ts +0 -0
|
@@ -0,0 +1,289 @@
|
|
|
1
|
+
import { c as e } from "./latex-1w7aQgD5.js";
|
|
2
|
+
// src/local/evaluation/math/sample.ts
|
|
3
|
+
var t = 2e3, n = 5, r = 1e6;
|
|
4
|
+
function i(t, n, r, i) {
|
|
5
|
+
try {
|
|
6
|
+
return t.evaluate(n, r, i);
|
|
7
|
+
} catch (t) {
|
|
8
|
+
if (t instanceof e) {
|
|
9
|
+
if (t.code === "latex-budget") throw t;
|
|
10
|
+
return null;
|
|
11
|
+
}
|
|
12
|
+
throw t;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
function a(e) {
|
|
16
|
+
if (e.length === 0) return 0;
|
|
17
|
+
let t = [...e].sort((e, t) => e - t);
|
|
18
|
+
return t[Math.floor(t.length / 2)];
|
|
19
|
+
}
|
|
20
|
+
function o(e, t, r, i, a, o) {
|
|
21
|
+
let s = r - e;
|
|
22
|
+
if (!(s > 0)) return !1;
|
|
23
|
+
let c = 0, l = 0;
|
|
24
|
+
for (let a = 1; a <= n; a += 1) {
|
|
25
|
+
let n = 1 << a, u = s / n, d = t, f = 0;
|
|
26
|
+
for (let t = 1; t <= n; t += 1) {
|
|
27
|
+
let a = t === n ? r : e + t * u, s = t === n ? i : o(a);
|
|
28
|
+
if (s === null) return !0;
|
|
29
|
+
let c = Math.abs(s - d) / u;
|
|
30
|
+
c > f && (f = c), d = s;
|
|
31
|
+
}
|
|
32
|
+
a === 2 && (c = f), l = f;
|
|
33
|
+
}
|
|
34
|
+
return l > Math.max(c * 6, a * 12, 1e-9);
|
|
35
|
+
}
|
|
36
|
+
function s(n, s, c, l, u = 200, d) {
|
|
37
|
+
if (!Number.isFinite(c) || !Number.isFinite(l)) throw new e("latex-plot-range", "Plot min/max must be finite numbers.", 0);
|
|
38
|
+
if (!(c < l)) throw new e("latex-plot-range", "Plot min must be less than max.", 0);
|
|
39
|
+
if (!Number.isInteger(u) || u < 2 || u > t) throw new e("latex-plot-samples", `Sample count must be an integer between 2 and ${t}.`, 0);
|
|
40
|
+
let f = {
|
|
41
|
+
steps: 0,
|
|
42
|
+
limit: Math.max(r, u * 1024)
|
|
43
|
+
}, p = (e) => {
|
|
44
|
+
let t = f.limit - f.steps, r = d ? Number.isFinite(d.limit) && Number.isFinite(d.steps) ? d.limit - d.steps : 0 : Infinity, a = {
|
|
45
|
+
steps: 0,
|
|
46
|
+
limit: Math.max(0, Math.min(t, r))
|
|
47
|
+
};
|
|
48
|
+
try {
|
|
49
|
+
return i(n, e, s, a);
|
|
50
|
+
} finally {
|
|
51
|
+
f.steps += a.steps, d && (d.steps = Number.isFinite(d.steps) ? d.steps + a.steps : a.steps);
|
|
52
|
+
}
|
|
53
|
+
}, m = (l - c) / (u - 1), h = [];
|
|
54
|
+
for (let e = 0; e < u; e += 1) {
|
|
55
|
+
let t = e === u - 1 ? l : c + e * m;
|
|
56
|
+
h.push({
|
|
57
|
+
x: t,
|
|
58
|
+
y: p(t)
|
|
59
|
+
});
|
|
60
|
+
}
|
|
61
|
+
let g = h.map((e) => e.y).filter((e) => e !== null).map((e) => Math.abs(e)), _ = Math.max(1e-9, a(g) * 8);
|
|
62
|
+
for (let e = 1; e < h.length - 1; e += 1) {
|
|
63
|
+
let t = h[e - 1].y, n = h[e].y, r = h[e + 1].y;
|
|
64
|
+
t !== null && n !== null && r !== null && Math.abs(n) > Math.max(1, Math.abs(t), Math.abs(r)) * 100 && Math.abs(n) > _ && (h[e] = {
|
|
65
|
+
x: h[e].x,
|
|
66
|
+
y: null
|
|
67
|
+
});
|
|
68
|
+
}
|
|
69
|
+
let v = h.length - 1, y = h[v].y, b = v > 0 ? h[v - 1].y : null;
|
|
70
|
+
y !== null && b !== null && Math.abs(y) > Math.max(1, Math.abs(b)) * 100 && Math.abs(y) > _ && (y = null, h[v] = {
|
|
71
|
+
x: h[v].x,
|
|
72
|
+
y: null
|
|
73
|
+
});
|
|
74
|
+
let x = [], S = [];
|
|
75
|
+
for (let e = 0; e < h.length - 1; e += 1) {
|
|
76
|
+
let t = h[e], n = h[e + 1];
|
|
77
|
+
if (t.y === null || n.y === null) continue;
|
|
78
|
+
let r = Math.abs(n.y - t.y);
|
|
79
|
+
x.push(r);
|
|
80
|
+
let i = n.x - t.x;
|
|
81
|
+
i > 0 && S.push(r / i);
|
|
82
|
+
}
|
|
83
|
+
let C = a(x), w = a(S);
|
|
84
|
+
for (let e = 0; e < h.length - 1; e += 1) {
|
|
85
|
+
let t = h[e], n = h[e + 1], r = t.y, i = n.y;
|
|
86
|
+
if (r === null || i === null) continue;
|
|
87
|
+
let a = () => {
|
|
88
|
+
h[e + 1] = {
|
|
89
|
+
x: n.x,
|
|
90
|
+
y: null
|
|
91
|
+
};
|
|
92
|
+
}, s = p(t.x + (n.x - t.x) / 2);
|
|
93
|
+
if (s === null) {
|
|
94
|
+
a();
|
|
95
|
+
continue;
|
|
96
|
+
}
|
|
97
|
+
let c = Math.abs(i - r);
|
|
98
|
+
(Math.abs(s - (r + i) / 2) > Math.max(c * .25, C * .4, 1e-9) || c > Math.max(C * 16, 1e-9)) && o(t.x, r, n.x, i, w, (e) => p(e)) && a();
|
|
99
|
+
}
|
|
100
|
+
return {
|
|
101
|
+
points: h,
|
|
102
|
+
endpoint: y
|
|
103
|
+
};
|
|
104
|
+
}
|
|
105
|
+
function c(t, n, r, i) {
|
|
106
|
+
if (!Number.isFinite(t) || !Number.isFinite(n)) throw new e("latex-plot-range", "Plot min/max must be finite numbers.", 0);
|
|
107
|
+
if (!(t < n)) throw new e("latex-plot-range", "Plot min must be less than max.", 0);
|
|
108
|
+
if (!Number.isInteger(r) || r < 2 || r > i) throw new e("latex-plot-samples", `Sample count must be an integer between 2 and ${i}.`, 0);
|
|
109
|
+
}
|
|
110
|
+
function l(e, t) {
|
|
111
|
+
let n = e.limit - e.steps, r = t ? Number.isFinite(t.limit) && Number.isFinite(t.steps) ? t.limit - t.steps : 0 : Infinity;
|
|
112
|
+
return {
|
|
113
|
+
steps: 0,
|
|
114
|
+
limit: Math.max(0, Math.min(n, r))
|
|
115
|
+
};
|
|
116
|
+
}
|
|
117
|
+
function u(e, t, n) {
|
|
118
|
+
e.steps += n.steps, t && (t.steps = Number.isFinite(t.steps) ? t.steps + n.steps : n.steps);
|
|
119
|
+
}
|
|
120
|
+
function d(e, n, a, o, s, d = 200, f) {
|
|
121
|
+
c(o, s, d, t);
|
|
122
|
+
let p = {
|
|
123
|
+
steps: 0,
|
|
124
|
+
limit: Math.max(r, d * 2048)
|
|
125
|
+
}, m = (s - o) / (d - 1), h = [];
|
|
126
|
+
for (let t = 0; t < d; t += 1) {
|
|
127
|
+
let r = t === d - 1 ? s : o + t * m, c = {
|
|
128
|
+
...a,
|
|
129
|
+
t: r
|
|
130
|
+
}, g = l(p, f), _ = null;
|
|
131
|
+
try {
|
|
132
|
+
_ = i(e, r, c, g);
|
|
133
|
+
} finally {
|
|
134
|
+
u(p, f, g);
|
|
135
|
+
}
|
|
136
|
+
let v = l(p, f), y = null;
|
|
137
|
+
try {
|
|
138
|
+
y = _ === null ? null : i(n, r, c, v);
|
|
139
|
+
} finally {
|
|
140
|
+
u(p, f, v);
|
|
141
|
+
}
|
|
142
|
+
h.push({
|
|
143
|
+
x: _ === null || !Number.isFinite(_) ? NaN : _,
|
|
144
|
+
y: _ === null || y === null || !Number.isFinite(y) ? null : y,
|
|
145
|
+
t: r
|
|
146
|
+
});
|
|
147
|
+
}
|
|
148
|
+
let g = h[h.length - 1];
|
|
149
|
+
return {
|
|
150
|
+
points: h,
|
|
151
|
+
endpoint: g && g.y !== null ? g.y : null
|
|
152
|
+
};
|
|
153
|
+
}
|
|
154
|
+
function f(e, n, a, o, s = 200, d) {
|
|
155
|
+
c(a, o, s, t);
|
|
156
|
+
let f = {
|
|
157
|
+
steps: 0,
|
|
158
|
+
limit: Math.max(r, s * 1024)
|
|
159
|
+
}, p = (o - a) / (s - 1), m = [];
|
|
160
|
+
for (let t = 0; t < s; t += 1) {
|
|
161
|
+
let r = t === s - 1 ? o : a + t * p, c = l(f, d), h;
|
|
162
|
+
try {
|
|
163
|
+
h = i(e, r, {
|
|
164
|
+
...n,
|
|
165
|
+
theta: r
|
|
166
|
+
}, c);
|
|
167
|
+
} finally {
|
|
168
|
+
u(f, d, c);
|
|
169
|
+
}
|
|
170
|
+
h === null || !Number.isFinite(h) || !Number.isFinite(r) ? m.push({
|
|
171
|
+
x: NaN,
|
|
172
|
+
y: null,
|
|
173
|
+
theta: r
|
|
174
|
+
}) : m.push({
|
|
175
|
+
x: h * Math.cos(r),
|
|
176
|
+
y: h * Math.sin(r),
|
|
177
|
+
theta: r
|
|
178
|
+
});
|
|
179
|
+
}
|
|
180
|
+
return {
|
|
181
|
+
points: m,
|
|
182
|
+
endpoint: m.at(-1)?.y ?? null
|
|
183
|
+
};
|
|
184
|
+
}
|
|
185
|
+
function p(e, t, n, r, i, a) {
|
|
186
|
+
let o = n - a, s = o === 0 ? .5 : Math.max(0, Math.min(1, n / o));
|
|
187
|
+
return {
|
|
188
|
+
x: e + (r - e) * s,
|
|
189
|
+
y: t + (i - t) * s
|
|
190
|
+
};
|
|
191
|
+
}
|
|
192
|
+
function m(e, t) {
|
|
193
|
+
switch (e) {
|
|
194
|
+
case 1: return [[3, 0]];
|
|
195
|
+
case 2: return [[0, 1]];
|
|
196
|
+
case 3: return [[3, 1]];
|
|
197
|
+
case 4: return [[1, 2]];
|
|
198
|
+
case 5: return t ? [[0, 1], [2, 3]] : [[3, 0], [1, 2]];
|
|
199
|
+
case 6: return [[0, 2]];
|
|
200
|
+
case 7: return [[3, 2]];
|
|
201
|
+
case 8: return [[2, 3]];
|
|
202
|
+
case 9: return [[0, 2]];
|
|
203
|
+
case 10: return t ? [[3, 0], [1, 2]] : [[0, 1], [2, 3]];
|
|
204
|
+
case 11: return [[1, 2]];
|
|
205
|
+
case 12: return [[3, 1]];
|
|
206
|
+
case 13: return [[0, 1]];
|
|
207
|
+
case 14: return [[3, 0]];
|
|
208
|
+
default: return [];
|
|
209
|
+
}
|
|
210
|
+
}
|
|
211
|
+
function h(e, t, n, r, i) {
|
|
212
|
+
if (e.length === 0) return [];
|
|
213
|
+
let a = n - t || 1, o = i - r || 1, s = (e) => `${Math.round((e.x - t) / a * 1e7)},${Math.round((e.y - r) / o * 1e7)}`, c = /* @__PURE__ */ new Map(), l = (e, t) => {
|
|
214
|
+
let n = c.get(e);
|
|
215
|
+
n ? n.push(t) : c.set(e, [t]);
|
|
216
|
+
};
|
|
217
|
+
e.forEach((e, t) => {
|
|
218
|
+
l(s(e.a), t), l(s(e.b), t);
|
|
219
|
+
});
|
|
220
|
+
let u = new Uint8Array(e.length), d = [], f = (t, n) => {
|
|
221
|
+
let r = c.get(s(n));
|
|
222
|
+
if (!r) return !1;
|
|
223
|
+
for (let i of r) {
|
|
224
|
+
if (u[i]) continue;
|
|
225
|
+
let r = e[i], a = s(r.a) === s(n) ? r.b : r.a;
|
|
226
|
+
if (s(a) === s(n)) u[i] = 1;
|
|
227
|
+
else return u[i] = 1, t.push(a), !0;
|
|
228
|
+
}
|
|
229
|
+
return !1;
|
|
230
|
+
};
|
|
231
|
+
for (let t = 0; t < e.length; t += 1) {
|
|
232
|
+
if (u[t]) continue;
|
|
233
|
+
let n = e[t];
|
|
234
|
+
if (s(n.a) === s(n.b)) {
|
|
235
|
+
u[t] = 1;
|
|
236
|
+
continue;
|
|
237
|
+
}
|
|
238
|
+
u[t] = 1;
|
|
239
|
+
let r = [n.a, n.b], i = 0;
|
|
240
|
+
for (; i < e.length && f(r, r[r.length - 1]);) i += 1;
|
|
241
|
+
for (r.reverse(), i = 0; i < e.length && f(r, r[r.length - 1]);) i += 1;
|
|
242
|
+
r.reverse(), d.push(r);
|
|
243
|
+
}
|
|
244
|
+
return d;
|
|
245
|
+
}
|
|
246
|
+
function g(t, n, a, o, s, d, f = 100, g) {
|
|
247
|
+
if (c(a, o, f, 100), !Number.isFinite(s) || !Number.isFinite(d) || !(s < d)) throw new e("latex-plot-range", "The vertical plot range must be finite and increasing.", 0);
|
|
248
|
+
let _ = {
|
|
249
|
+
steps: 0,
|
|
250
|
+
limit: Math.max(r, f * f * 2048)
|
|
251
|
+
}, v = f + 1, y = Array(v * v).fill(null), b = (o - a) / f, x = (d - s) / f;
|
|
252
|
+
for (let e = 0; e <= f; e += 1) {
|
|
253
|
+
let r = e === f ? d : s + e * x, c = {
|
|
254
|
+
...n,
|
|
255
|
+
y: r
|
|
256
|
+
};
|
|
257
|
+
for (let n = 0; n <= f; n += 1) {
|
|
258
|
+
let r = n === f ? o : a + n * b, s = l(_, g), d = null;
|
|
259
|
+
try {
|
|
260
|
+
d = i(t, r, c, s);
|
|
261
|
+
} finally {
|
|
262
|
+
u(_, g, s);
|
|
263
|
+
}
|
|
264
|
+
y[e * v + n] = d !== null && Number.isFinite(d) ? d : null;
|
|
265
|
+
}
|
|
266
|
+
}
|
|
267
|
+
let S = [], C = (e, t) => y[t * v + e];
|
|
268
|
+
for (let e = 0; e < f; e += 1) {
|
|
269
|
+
let t = e + 1 === f, n = t ? d - x : s + e * x, r = t ? d : s + (e + 1) * x;
|
|
270
|
+
for (let t = 0; t < f; t += 1) {
|
|
271
|
+
let i = t + 1 === f, s = i ? o - b : a + t * b, c = i ? o : a + (t + 1) * b, l = C(t, e), u = C(t + 1, e), d = C(t + 1, e + 1), h = C(t, e + 1);
|
|
272
|
+
if (l === null || u === null || d === null || h === null) continue;
|
|
273
|
+
let g = l >= 0 | (u >= 0 ? 2 : 0) | (d >= 0 ? 4 : 0) | (h >= 0 ? 8 : 0);
|
|
274
|
+
if (g === 0 || g === 15) continue;
|
|
275
|
+
let _ = [
|
|
276
|
+
p(s, n, l, c, n, u),
|
|
277
|
+
p(c, n, u, c, r, d),
|
|
278
|
+
p(s, r, h, c, r, d),
|
|
279
|
+
p(s, n, l, s, r, h)
|
|
280
|
+
], v = (l + u + d + h) / 4;
|
|
281
|
+
for (let [e, t] of m(g, v >= 0)) S.push({
|
|
282
|
+
a: _[e],
|
|
283
|
+
b: _[t]
|
|
284
|
+
});
|
|
285
|
+
}
|
|
286
|
+
}
|
|
287
|
+
return h(S, a, o, s, d);
|
|
288
|
+
}
|
|
289
|
+
export { f as i, d as n, s as r, g as t };
|
|
@@ -1,11 +1,12 @@
|
|
|
1
|
-
import
|
|
2
|
-
import "./
|
|
3
|
-
import {
|
|
4
|
-
import { t as
|
|
5
|
-
import {
|
|
1
|
+
import "./preset-core-CKc5YXSM.js";
|
|
2
|
+
import { b as e, y as t } from "./config-validation-F47AcE6o.js";
|
|
3
|
+
import { p as n } from "./compiler-core-As_m-MNm.js";
|
|
4
|
+
import { t as r } from "./registry-core-Bbad9Bm2.js";
|
|
5
|
+
import { r as i } from "./default-components-BwQf0oP-.js";
|
|
6
|
+
import { r as a } from "./options-1aDLK7JY.js";
|
|
6
7
|
// src/local/parsing/parser.ts
|
|
7
|
-
function o(
|
|
8
|
-
return typeof
|
|
8
|
+
function o(e, t, r, i, o, s) {
|
|
9
|
+
return typeof e != "string" || e.length > 1e6 ? n(e, void 0, r, i, o, s) : n(e, a(t), r, i, o, s);
|
|
9
10
|
}
|
|
10
11
|
// src/local/configuration/schema.ts
|
|
11
12
|
function s() {
|
|
@@ -30,10 +31,10 @@ function p(e) {
|
|
|
30
31
|
function m(e, t) {
|
|
31
32
|
return e.props[t]?.default;
|
|
32
33
|
}
|
|
33
|
-
function h(
|
|
34
|
-
return
|
|
34
|
+
function h(t) {
|
|
35
|
+
return e(t, u);
|
|
35
36
|
}
|
|
36
|
-
function g(
|
|
37
|
-
return n
|
|
37
|
+
function g(t, n) {
|
|
38
|
+
return e(n, Object.keys(t.props));
|
|
38
39
|
}
|
|
39
40
|
export { f as a, o as c, m as i, u as n, g as o, p as r, h as s, l as t };
|