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,731 @@
|
|
|
1
|
+
/** Binding, expression and runtime diagnostic templates. */
|
|
2
|
+
export declare const LOCAL_RUNTIME_DIAGNOSTIC_MESSAGES: {
|
|
3
|
+
readonly 'budget.identifier': {
|
|
4
|
+
readonly en: 'Parameter name exceeds the {limit}-character limit.';
|
|
5
|
+
readonly zh: '参数名超过 {limit} 个字符的上限。';
|
|
6
|
+
};
|
|
7
|
+
readonly 'binding.nameInvalid': {
|
|
8
|
+
readonly en: 'Parameter name "{name}" must match [A-Za-z_][A-Za-z0-9_]*.';
|
|
9
|
+
readonly zh: '参数名“{name}”必须匹配 [A-Za-z_][A-Za-z0-9_]*。';
|
|
10
|
+
};
|
|
11
|
+
readonly 'binding.reserved': {
|
|
12
|
+
readonly en: 'Parameter name "{name}" is reserved; choose another name.';
|
|
13
|
+
readonly zh: '参数名“{name}”是保留名称;请换一个名称。';
|
|
14
|
+
};
|
|
15
|
+
readonly 'binding.typeConflict': {
|
|
16
|
+
readonly en: 'Parameter "{key}" is already declared as {kind} by <{first}> and cannot also bind <{second}>.';
|
|
17
|
+
readonly zh: '参数“{key}”已由 <{first}> 声明为 {kind},不能再绑定 <{second}>。';
|
|
18
|
+
};
|
|
19
|
+
readonly 'binding.exclusive': {
|
|
20
|
+
readonly en: 'Parameter "{key}" of <{first}> can only be owned by one component and cannot be shared with <{second}>.';
|
|
21
|
+
readonly zh: '<{first}> 的参数“{key}”只能由一个组件拥有,不能与 <{second}> 共享。';
|
|
22
|
+
};
|
|
23
|
+
readonly 'binding.slotExclusive': {
|
|
24
|
+
readonly en: 'Parameter "{key}" of the {slot} slot of <{name}> is exclusive and cannot be shared with another control.';
|
|
25
|
+
readonly zh: '<{name}> 的 {slot} 槽参数“{key}”是独占的,不能与另一个控件共享。';
|
|
26
|
+
};
|
|
27
|
+
readonly 'binding.constraintConflict': {
|
|
28
|
+
readonly en: 'Parameter "{key}" must use the same numeric range and step: <{first}> has {firstConstraints}, <{second}> has {secondConstraints}.';
|
|
29
|
+
readonly zh: '参数“{key}”必须使用相同的数值范围和步长:<{first}> 为 {firstConstraints},<{second}> 为 {secondConstraints}。';
|
|
30
|
+
};
|
|
31
|
+
readonly 'binding.optionConflict': {
|
|
32
|
+
readonly en: 'Parameter "{key}" must use the same option set in the same order.';
|
|
33
|
+
readonly zh: '参数“{key}”必须使用相同顺序的同一组选项。';
|
|
34
|
+
};
|
|
35
|
+
readonly 'initial.duplicate': {
|
|
36
|
+
readonly en: 'Parameter "{key}" has multiple explicit initial values ({count} in total).';
|
|
37
|
+
readonly zh: '参数“{key}”有多个显式初值(共 {count} 个)。';
|
|
38
|
+
};
|
|
39
|
+
readonly 'initial.duplicatePeers': {
|
|
40
|
+
readonly en: 'Parameter "{key}" has multiple explicit initial values ({count} in total; see also line {lines}).';
|
|
41
|
+
readonly zh: '参数“{key}”有多个显式初值(共 {count} 个;另见第 {lines} 行)。';
|
|
42
|
+
};
|
|
43
|
+
readonly 'initial.rangeNoStep': {
|
|
44
|
+
readonly en: 'Parameter "{key}" has no valid step value within range [{min}, {max}].';
|
|
45
|
+
readonly zh: '参数“{key}”在范围 [{min}, {max}] 内没有有效的步长值。';
|
|
46
|
+
};
|
|
47
|
+
readonly 'initial.cannotDerive': {
|
|
48
|
+
readonly en: 'Cannot derive a default initial value for <{name}> parameter "{key}".';
|
|
49
|
+
readonly zh: '无法为 <{name}> 的参数“{key}”推导默认初值。';
|
|
50
|
+
};
|
|
51
|
+
readonly 'initial.typeFiniteNumber': {
|
|
52
|
+
readonly en: 'Initial value of parameter "{key}" must be a finite number.';
|
|
53
|
+
readonly zh: '参数“{key}”的初值必须是有限数字。';
|
|
54
|
+
};
|
|
55
|
+
readonly 'initial.belowMin': {
|
|
56
|
+
readonly en: 'Initial value {value} of parameter "{key}" is below the minimum {min}.';
|
|
57
|
+
readonly zh: '参数“{key}”的初值 {value} 小于最小值 {min}。';
|
|
58
|
+
};
|
|
59
|
+
readonly 'initial.aboveMax': {
|
|
60
|
+
readonly en: 'Initial value {value} of parameter "{key}" exceeds the maximum {max}.';
|
|
61
|
+
readonly zh: '参数“{key}”的初值 {value} 超过最大值 {max}。';
|
|
62
|
+
};
|
|
63
|
+
readonly 'initial.offStep': {
|
|
64
|
+
readonly en: 'Initial value {value} of parameter "{key}" is not on step {step} (based at {base}).';
|
|
65
|
+
readonly zh: '参数“{key}”的初值 {value} 不在步长 {step} 上(基准 {base})。';
|
|
66
|
+
};
|
|
67
|
+
readonly 'initial.typeBoolean': {
|
|
68
|
+
readonly en: 'Initial value of parameter "{key}" must be a boolean.';
|
|
69
|
+
readonly zh: '参数“{key}”的初值必须是布尔值。';
|
|
70
|
+
};
|
|
71
|
+
readonly 'initial.notAmongOptions': {
|
|
72
|
+
readonly en: 'Initial value "{value}" of parameter "{key}" is not among the available values {options}.';
|
|
73
|
+
readonly zh: '参数“{key}”的初值“{value}”不在可用值 {options} 中。';
|
|
74
|
+
};
|
|
75
|
+
readonly 'initial.typeWrong': {
|
|
76
|
+
readonly en: 'Initial value of parameter "{name}" has the wrong type.';
|
|
77
|
+
readonly zh: '参数“{name}”的初值类型不正确。';
|
|
78
|
+
};
|
|
79
|
+
readonly 'initial.typeCollection': {
|
|
80
|
+
readonly en: 'Initial value of parameter "{key}" must be a JSON array.';
|
|
81
|
+
readonly zh: '参数“{key}”的初值必须是 JSON 数组。';
|
|
82
|
+
};
|
|
83
|
+
readonly 'initial.typeStringArray': {
|
|
84
|
+
readonly en: 'Initial value of parameter "{key}" must be an array of strings.';
|
|
85
|
+
readonly zh: '参数“{key}”的初值必须是字符串数组。';
|
|
86
|
+
};
|
|
87
|
+
readonly 'initial.typeNumberArray': {
|
|
88
|
+
readonly en: 'Initial value of parameter "{key}" must be an array of finite numbers.';
|
|
89
|
+
readonly zh: '参数“{key}”的初值必须是有限数字组成的数组。';
|
|
90
|
+
};
|
|
91
|
+
readonly 'initial.maxItems': {
|
|
92
|
+
readonly en: 'Initial value of parameter "{key}" exceeds the limit of {max} items.';
|
|
93
|
+
readonly zh: '参数“{key}”的初值超过 {max} 项的上限。';
|
|
94
|
+
};
|
|
95
|
+
readonly 'initial.dateInvalid': {
|
|
96
|
+
readonly en: 'Initial date "{value}" is not a valid YYYY-MM-DD.';
|
|
97
|
+
readonly zh: '初值日期“{value}”不是有效的 YYYY-MM-DD。';
|
|
98
|
+
};
|
|
99
|
+
readonly 'initial.notAvailableOption': {
|
|
100
|
+
readonly en: 'Initial value "{value}" is not an available option: {options}.';
|
|
101
|
+
readonly zh: '初值“{value}”不是可用选项:{options}。';
|
|
102
|
+
};
|
|
103
|
+
readonly 'initial.multiSelectOption': {
|
|
104
|
+
readonly en: 'Initial value "{value}" of parameter "{key}" is not an option of <multi-select>.';
|
|
105
|
+
readonly zh: '参数“{key}”的初值“{value}”不是 <multi-select> 的选项。';
|
|
106
|
+
};
|
|
107
|
+
readonly 'initial.rangeSliderOrder': {
|
|
108
|
+
readonly en: '<range-slider> start {start} cannot be greater than end {end}.';
|
|
109
|
+
readonly zh: '<range-slider> 的 start {start} 不能大于 end {end}。';
|
|
110
|
+
};
|
|
111
|
+
readonly 'initial.slotBelowMin': {
|
|
112
|
+
readonly en: 'Initial value {value} of <{name}> {slot} is below the minimum {min}.';
|
|
113
|
+
readonly zh: '<{name}> 的 {slot} 初值 {value} 小于最小值 {min}。';
|
|
114
|
+
};
|
|
115
|
+
readonly 'initial.slotAboveMax': {
|
|
116
|
+
readonly en: 'Initial value {value} of <{name}> {slot} exceeds the maximum {max}.';
|
|
117
|
+
readonly zh: '<{name}> 的 {slot} 初值 {value} 超过最大值 {max}。';
|
|
118
|
+
};
|
|
119
|
+
readonly 'initial.slotOffStep': {
|
|
120
|
+
readonly en: 'Initial value {value} of <{name}> {slot} is not on step {step} (based at {base}).';
|
|
121
|
+
readonly zh: '<{name}> 的 {slot} 初值 {value} 不在步长 {step} 上(基准 {base})。';
|
|
122
|
+
};
|
|
123
|
+
readonly 'initial.lengthBelow': {
|
|
124
|
+
readonly en: 'Initial value of parameter "{key}" has length {length}, below the minimum length {min} required by <{name}>.';
|
|
125
|
+
readonly zh: '参数“{key}”的初值长度为 {length},小于 <{name}> 要求的最小长度 {min}。';
|
|
126
|
+
};
|
|
127
|
+
readonly 'initial.lengthAbove': {
|
|
128
|
+
readonly en: 'Initial value of parameter "{key}" has length {length}, exceeding the maximum length {max} allowed by <{name}>.';
|
|
129
|
+
readonly zh: '参数“{key}”的初值长度为 {length},超过 <{name}> 允许的最大长度 {max}。';
|
|
130
|
+
};
|
|
131
|
+
readonly 'initial.email': {
|
|
132
|
+
readonly en: 'Initial value of parameter "{key}" is not a valid email address.';
|
|
133
|
+
readonly zh: '参数“{key}”的初值不是有效的电子邮件地址。';
|
|
134
|
+
};
|
|
135
|
+
readonly 'initial.dateBelow': {
|
|
136
|
+
readonly en: 'Initial value {value} of parameter "{key}" is earlier than the minimum date {min} of <date>.';
|
|
137
|
+
readonly zh: '参数“{key}”的初值 {value} 早于 <date> 的最小日期 {min}。';
|
|
138
|
+
};
|
|
139
|
+
readonly 'initial.dateAbove': {
|
|
140
|
+
readonly en: 'Initial value {value} of parameter "{key}" is later than the maximum date {max} of <date>.';
|
|
141
|
+
readonly zh: '参数“{key}”的初值 {value} 晚于 <date> 的最大日期 {max}。';
|
|
142
|
+
};
|
|
143
|
+
readonly 'initial.multiSelectExceeds': {
|
|
144
|
+
readonly en: 'Initial values of <multi-select> exceed max-selected {max}.';
|
|
145
|
+
readonly zh: '<multi-select> 的初值数量超过 max-selected {max}。';
|
|
146
|
+
};
|
|
147
|
+
readonly 'expression.error': {
|
|
148
|
+
readonly en: 'Expression error: {detail}';
|
|
149
|
+
readonly zh: '表达式错误:{detail}';
|
|
150
|
+
};
|
|
151
|
+
readonly 'binding.unknownSuggestion': {
|
|
152
|
+
readonly en: 'Reference to undeclared parameter {name}. Did you mean {suggestion}?';
|
|
153
|
+
readonly zh: '引用了未声明的参数 {name}。是否想使用 {suggestion}?';
|
|
154
|
+
};
|
|
155
|
+
readonly 'binding.unknownPlain': {
|
|
156
|
+
readonly en: 'Reference to undeclared parameter {name}.';
|
|
157
|
+
readonly zh: '引用了未声明的参数 {name}。';
|
|
158
|
+
};
|
|
159
|
+
readonly 'type.number': {
|
|
160
|
+
readonly en: 'Expected a number here, but the expression evaluates to {kind}.';
|
|
161
|
+
readonly zh: '此处需要数字,但表达式结果为 {kind}。';
|
|
162
|
+
};
|
|
163
|
+
readonly 'type.boolean': {
|
|
164
|
+
readonly en: 'Expected a boolean here, but the expression evaluates to {kind}.';
|
|
165
|
+
readonly zh: '此处需要布尔值,但表达式结果为 {kind}。';
|
|
166
|
+
};
|
|
167
|
+
readonly 'type.string': {
|
|
168
|
+
readonly en: 'Expected a string here, but the expression evaluates to {kind}.';
|
|
169
|
+
readonly zh: '此处需要字符串,但表达式结果为 {kind}。';
|
|
170
|
+
};
|
|
171
|
+
readonly 'type.arrayNoDisplay': {
|
|
172
|
+
readonly en: 'Arrays cannot be displayed directly; convert them first with a function such as len.';
|
|
173
|
+
readonly zh: '数组不能直接显示;请先用 len 等函数转换。';
|
|
174
|
+
};
|
|
175
|
+
readonly 'attribute.fullInterpolation': {
|
|
176
|
+
readonly en: 'The {name} attribute of <{component}> must be a full interpolation.';
|
|
177
|
+
readonly zh: '<{component}> 的 {name} 属性必须是完整插值。';
|
|
178
|
+
};
|
|
179
|
+
readonly 'anchor.idInvalid': {
|
|
180
|
+
readonly en: 'Anchor id "{id}" must match [A-Za-z_][A-Za-z0-9_-]*.';
|
|
181
|
+
readonly zh: '锚点 id“{id}”必须匹配 [A-Za-z_][A-Za-z0-9_-]*。';
|
|
182
|
+
};
|
|
183
|
+
readonly 'anchor.duplicate': {
|
|
184
|
+
readonly en: 'Duplicate anchor id "{id}".';
|
|
185
|
+
readonly zh: '重复的锚点 id“{id}”。';
|
|
186
|
+
};
|
|
187
|
+
readonly 'anchor.headingCollision': {
|
|
188
|
+
readonly en: 'Anchor id "{id}" collides with an automatic heading target.';
|
|
189
|
+
readonly zh: '锚点 id“{id}”与自动标题目标冲突。';
|
|
190
|
+
};
|
|
191
|
+
readonly 'jump.empty': {
|
|
192
|
+
readonly en: '<jump> target cannot be empty.';
|
|
193
|
+
readonly zh: '<jump> 的目标不能为空。';
|
|
194
|
+
};
|
|
195
|
+
readonly 'jump.badTarget': {
|
|
196
|
+
readonly en: '<jump> target "{target}" must be a bare heading slug or anchor id without "#" or whitespace.';
|
|
197
|
+
readonly zh: '<jump> 的目标“{target}”必须是不含“#”或空白的标题 slug 或锚点 id。';
|
|
198
|
+
};
|
|
199
|
+
readonly 'jump.unresolved': {
|
|
200
|
+
readonly en: '<jump> target "{target}" does not resolve to a heading or explicit anchor in this document.';
|
|
201
|
+
readonly zh: '<jump> 的目标“{target}”无法解析到本文档中的标题或显式锚点。';
|
|
202
|
+
};
|
|
203
|
+
readonly 'budget.plotCurves': {
|
|
204
|
+
readonly en: '<plot> supports at most {limit} curves, but has {count}.';
|
|
205
|
+
readonly zh: '<plot> 最多支持 {limit} 条曲线,当前有 {count} 条。';
|
|
206
|
+
};
|
|
207
|
+
readonly 'budget.plotPoints': {
|
|
208
|
+
readonly en: "The document's total plot sample count exceeds the limit of {limit}.";
|
|
209
|
+
readonly zh: '文档的绘图采样点总数超过上限 {limit}。';
|
|
210
|
+
};
|
|
211
|
+
readonly 'math.formulaShape': {
|
|
212
|
+
readonly en: '<plot> formulas must be an equation: y = f(x), a parametric cases block, r = f(\\theta), or an implicit equation in x and y.';
|
|
213
|
+
readonly zh: '<plot> 的公式必须是方程:y = f(x)、参数方程 cases 块、r = f(\\theta),或关于 x 和 y 的隐式方程。';
|
|
214
|
+
};
|
|
215
|
+
readonly 'math.computeFailed': {
|
|
216
|
+
readonly en: 'Cannot compute plot formula: {detail}';
|
|
217
|
+
readonly zh: '无法计算绘图公式(错误代码 {code}):{detail}';
|
|
218
|
+
};
|
|
219
|
+
readonly 'math.bindingUnknown': {
|
|
220
|
+
readonly en: 'Plot formula references undeclared parameter "{name}".';
|
|
221
|
+
readonly zh: '绘图公式引用了未声明的参数“{name}”。';
|
|
222
|
+
};
|
|
223
|
+
readonly 'math.bindingType': {
|
|
224
|
+
readonly en: 'Plot parameter "{name}" must be a number, but is {kind}.';
|
|
225
|
+
readonly zh: '绘图参数“{name}”必须是数字,但当前为 {kind}。';
|
|
226
|
+
};
|
|
227
|
+
readonly 'math.displayUnsupportedCommand': {
|
|
228
|
+
readonly en: 'Formula command \\{name} is not supported; it is displayed as literal text.';
|
|
229
|
+
readonly zh: '公式命令 \\{name} 不受支持;已按原文显示。';
|
|
230
|
+
};
|
|
231
|
+
readonly 'math.displayUnsupportedEnvironment': {
|
|
232
|
+
readonly en: 'Formula environment {name} is not supported; it is displayed as literal text.';
|
|
233
|
+
readonly zh: '公式环境 {name} 不受支持;已按原文显示。';
|
|
234
|
+
};
|
|
235
|
+
readonly 'math.displayBudget': {
|
|
236
|
+
readonly en: 'Formula exceeds a display resource limit ({limit}); it is displayed as literal text.';
|
|
237
|
+
readonly zh: '公式超过显示资源上限({limit});已按原文显示。';
|
|
238
|
+
};
|
|
239
|
+
readonly 'math.displayStrayEnd': {
|
|
240
|
+
readonly en: 'Formula has an unmatched \\end; it is displayed as literal text.';
|
|
241
|
+
readonly zh: '公式中存在未匹配的 \\end;已按原文显示。';
|
|
242
|
+
};
|
|
243
|
+
readonly 'math.displayEnvironmentUnclosed': {
|
|
244
|
+
readonly en: 'Formula environment {name} is missing its closing brace; it is displayed as literal text.';
|
|
245
|
+
readonly zh: '公式环境 {name} 缺少结束花括号;已按原文显示。';
|
|
246
|
+
};
|
|
247
|
+
readonly 'math.displayEnvironmentMissingName': {
|
|
248
|
+
readonly en: 'Formula environment is missing its name; \\begin is displayed as literal text.';
|
|
249
|
+
readonly zh: '公式环境缺少名称;\\begin 已按原文显示。';
|
|
250
|
+
};
|
|
251
|
+
readonly 'math.displaySyntax': {
|
|
252
|
+
readonly en: 'Formula structure cannot be displayed and is shown as literal text.';
|
|
253
|
+
readonly zh: '公式结构无法显示,已按原文显示。';
|
|
254
|
+
};
|
|
255
|
+
readonly 'table.missingHeader': {
|
|
256
|
+
readonly en: 'The table for <{name}> is missing a header.';
|
|
257
|
+
readonly zh: '<{name}> 的表格缺少表头。';
|
|
258
|
+
};
|
|
259
|
+
readonly 'table.headerInterpolation': {
|
|
260
|
+
readonly en: 'Table headers cannot contain interpolations.';
|
|
261
|
+
readonly zh: '表格表头不能包含插值。';
|
|
262
|
+
};
|
|
263
|
+
readonly 'table.headerEmpty': {
|
|
264
|
+
readonly en: 'Table headers cannot be empty.';
|
|
265
|
+
readonly zh: '表格表头不能为空。';
|
|
266
|
+
};
|
|
267
|
+
readonly 'table.headerDuplicate': {
|
|
268
|
+
readonly en: 'Duplicate table header "{name}".';
|
|
269
|
+
readonly zh: '重复的表格表头“{name}”。';
|
|
270
|
+
};
|
|
271
|
+
readonly 'table.rowColumnMismatch': {
|
|
272
|
+
readonly en: 'Table row has a different column count: header has {header} columns, this row has {row}.';
|
|
273
|
+
readonly zh: '表格行的列数不一致:表头有 {header} 列,此行有 {row} 列。';
|
|
274
|
+
};
|
|
275
|
+
readonly 'chart.numericExpression': {
|
|
276
|
+
readonly en: 'Chart column "{name}" requires a number in row {row}, but the expression evaluates to {kind}.';
|
|
277
|
+
readonly zh: '图表列“{name}”第 {row} 行需要数字,但表达式结果为 {kind}。';
|
|
278
|
+
};
|
|
279
|
+
readonly 'timeline.numericExpression': {
|
|
280
|
+
readonly en: 'Timeline column "{name}" requires a number in row {row}, but the expression evaluates to {kind}.';
|
|
281
|
+
readonly zh: '时间线列“{name}”第 {row} 行需要数字,但表达式结果为 {kind}。';
|
|
282
|
+
};
|
|
283
|
+
readonly 'chart.numericPlain': {
|
|
284
|
+
readonly en: 'Chart column "{name}" requires a plain number in row {row}, got "{value}".';
|
|
285
|
+
readonly zh: '图表列“{name}”第 {row} 行需要普通数字,当前为“{value}”。';
|
|
286
|
+
};
|
|
287
|
+
readonly 'timeline.numericPlain': {
|
|
288
|
+
readonly en: 'Timeline column "{name}" requires a plain number in row {row}, got "{value}".';
|
|
289
|
+
readonly zh: '时间线列“{name}”第 {row} 行需要普通数字,当前为“{value}”。';
|
|
290
|
+
};
|
|
291
|
+
readonly 'selection.keyEmpty': {
|
|
292
|
+
readonly en: '<{component}> key cannot be empty.';
|
|
293
|
+
readonly zh: '<{component}> 的 key 不能为空。';
|
|
294
|
+
};
|
|
295
|
+
readonly 'selection.keyMissingColumn': {
|
|
296
|
+
readonly en: '<{component}> key column "{name}" does not exist in its table.';
|
|
297
|
+
readonly zh: '<{component}> 的 key 列“{name}”在表格中不存在。';
|
|
298
|
+
};
|
|
299
|
+
readonly 'selection.keyInterpolation': {
|
|
300
|
+
readonly en: '<{component}> key column "{name}" must contain static text; row {row} contains an interpolation.';
|
|
301
|
+
readonly zh: '<{component}> 的 key 列“{name}”必须包含静态文本;第 {row} 行包含插值。';
|
|
302
|
+
};
|
|
303
|
+
readonly 'selection.keyEmptyCell': {
|
|
304
|
+
readonly en: '<{component}> key column "{name}" cannot be empty in row {row}.';
|
|
305
|
+
readonly zh: '<{component}> 的 key 列“{name}”在第 {row} 行不能为空。';
|
|
306
|
+
};
|
|
307
|
+
readonly 'selection.keyDuplicate': {
|
|
308
|
+
readonly en: '<{component}> key column "{name}" must be unique; duplicate value "{value}".';
|
|
309
|
+
readonly zh: '<{component}> 的 key 列“{name}”必须唯一;重复值“{value}”。';
|
|
310
|
+
};
|
|
311
|
+
readonly 'initial.selectionNotValue': {
|
|
312
|
+
readonly en: 'Initial selection "{value}" of <{component}> is not a value of key column "{name}".';
|
|
313
|
+
readonly zh: '<{component}> 的初始选择“{value}”不是 key 列“{name}”中的值。';
|
|
314
|
+
};
|
|
315
|
+
readonly 'chart.columnComma': {
|
|
316
|
+
readonly en: 'Chart column names cannot contain commas: "{name}".';
|
|
317
|
+
readonly zh: '图表列名不能包含逗号:“{name}”。';
|
|
318
|
+
};
|
|
319
|
+
readonly 'chart.xMissing': {
|
|
320
|
+
readonly en: 'Chart x column "{name}" does not exist.';
|
|
321
|
+
readonly zh: '图表 x 列“{name}”不存在。';
|
|
322
|
+
};
|
|
323
|
+
readonly 'chart.yRequired': {
|
|
324
|
+
readonly en: 'Chart y requires a column name.';
|
|
325
|
+
readonly zh: '图表 y 需要列名。';
|
|
326
|
+
};
|
|
327
|
+
readonly 'chart.yMissing': {
|
|
328
|
+
readonly en: 'Chart y column "{name}" does not exist.';
|
|
329
|
+
readonly zh: '图表 y 列“{name}”不存在。';
|
|
330
|
+
};
|
|
331
|
+
readonly 'chart.needsNumeric': {
|
|
332
|
+
readonly en: 'Chart requires at least one numeric column.';
|
|
333
|
+
readonly zh: '图表至少需要一个数值列。';
|
|
334
|
+
};
|
|
335
|
+
readonly 'chart.scatterXMissing': {
|
|
336
|
+
readonly en: 'Scatter chart x column "{name}" does not exist.';
|
|
337
|
+
readonly zh: '散点图的 x 列“{name}”不存在。';
|
|
338
|
+
};
|
|
339
|
+
readonly 'chart.scatterNeedsNumeric': {
|
|
340
|
+
readonly en: 'Scatter chart requires at least one numeric column.';
|
|
341
|
+
readonly zh: '散点图至少需要一个数值列。';
|
|
342
|
+
};
|
|
343
|
+
readonly 'chart.donutNeedsColumns': {
|
|
344
|
+
readonly en: 'Donut chart requires a label column and a value column.';
|
|
345
|
+
readonly zh: '环形图需要一个标签列和一个数值列。';
|
|
346
|
+
};
|
|
347
|
+
readonly 'chart.donutYOne': {
|
|
348
|
+
readonly en: 'Donut chart y can only specify one numeric column.';
|
|
349
|
+
readonly zh: '环形图的 y 只能指定一个数值列。';
|
|
350
|
+
};
|
|
351
|
+
readonly 'chart.donutNeedY': {
|
|
352
|
+
readonly en: 'A donut chart with more than two columns must use y to specify the single numeric column.';
|
|
353
|
+
readonly zh: '超过两列的环形图必须用 y 指定唯一的数值列。';
|
|
354
|
+
};
|
|
355
|
+
readonly 'chart.negative': {
|
|
356
|
+
readonly en: 'Donut chart values cannot be negative; row {row} is {value}.';
|
|
357
|
+
readonly zh: '环形图的数值不能为负;第 {row} 行为 {value}。';
|
|
358
|
+
};
|
|
359
|
+
readonly 'timeline.headerMissing': {
|
|
360
|
+
readonly en: 'Timeline requires either Task, Start and Duration columns or 事项, 开始 and 时长 columns, with optional Notes or 说明.';
|
|
361
|
+
readonly zh: '时间线需要 Task、Start、Duration 列,或 事项、开始、时长 列,并可选 Notes 或 说明。';
|
|
362
|
+
};
|
|
363
|
+
readonly 'timeline.columnUnsupported': {
|
|
364
|
+
readonly en: 'Timeline does not support column "{name}".';
|
|
365
|
+
readonly zh: '时间线不支持列“{name}”。';
|
|
366
|
+
};
|
|
367
|
+
readonly 'timeline.negative': {
|
|
368
|
+
readonly en: 'Timeline column "{name}" cannot be negative in row {row}.';
|
|
369
|
+
readonly zh: '时间线列“{name}”在第 {row} 行不能为负。';
|
|
370
|
+
};
|
|
371
|
+
readonly 'runtime.bindingNoWritable': {
|
|
372
|
+
readonly en: 'This component has no writable binding state.';
|
|
373
|
+
readonly zh: '此组件没有可写的绑定状态。';
|
|
374
|
+
};
|
|
375
|
+
readonly 'runtime.bindingNeedsSlot': {
|
|
376
|
+
readonly en: 'This multi-slot component requires a slot such as start/end or x/y.';
|
|
377
|
+
readonly zh: '此多槽组件需要 start/end 或 x/y 之类的槽位。';
|
|
378
|
+
};
|
|
379
|
+
readonly 'runtime.bindingUnknownSlot': {
|
|
380
|
+
readonly en: 'This component has no writable slot "{slot}".';
|
|
381
|
+
readonly zh: '此组件没有可写的槽位“{slot}”。';
|
|
382
|
+
};
|
|
383
|
+
readonly 'runtime.bindingNoMultiSlot': {
|
|
384
|
+
readonly en: 'This component does not support multiple slots.';
|
|
385
|
+
readonly zh: '此组件不支持多个槽位。';
|
|
386
|
+
};
|
|
387
|
+
readonly 'runtime.dateInvalid': {
|
|
388
|
+
readonly en: 'Date must be a valid YYYY-MM-DD or an empty string.';
|
|
389
|
+
readonly zh: '日期必须是有效的 YYYY-MM-DD 或空字符串。';
|
|
390
|
+
};
|
|
391
|
+
readonly 'runtime.dateRequired': {
|
|
392
|
+
readonly en: 'This date is required.';
|
|
393
|
+
readonly zh: '此日期为必填项。';
|
|
394
|
+
};
|
|
395
|
+
readonly 'runtime.dateEarlier': {
|
|
396
|
+
readonly en: 'Date cannot be earlier than {min}.';
|
|
397
|
+
readonly zh: '日期不能早于 {min}。';
|
|
398
|
+
};
|
|
399
|
+
readonly 'runtime.dateLater': {
|
|
400
|
+
readonly en: 'Date cannot be later than {max}.';
|
|
401
|
+
readonly zh: '日期不能晚于 {max}。';
|
|
402
|
+
};
|
|
403
|
+
readonly 'runtime.fieldRequired': {
|
|
404
|
+
readonly en: 'This field is required.';
|
|
405
|
+
readonly zh: '此字段为必填项。';
|
|
406
|
+
};
|
|
407
|
+
readonly 'runtime.minLength': {
|
|
408
|
+
readonly en: 'At least {min} characters.';
|
|
409
|
+
readonly zh: '至少 {min} 个字符。';
|
|
410
|
+
};
|
|
411
|
+
readonly 'runtime.maxLength': {
|
|
412
|
+
readonly en: 'At most {max} characters.';
|
|
413
|
+
readonly zh: '至多 {max} 个字符。';
|
|
414
|
+
};
|
|
415
|
+
readonly 'runtime.emailLength': {
|
|
416
|
+
readonly en: 'Email address cannot exceed {limit} characters.';
|
|
417
|
+
readonly zh: '电子邮件地址不能超过 {limit} 个字符。';
|
|
418
|
+
};
|
|
419
|
+
readonly 'runtime.emailInvalid': {
|
|
420
|
+
readonly en: 'Enter a valid email address.';
|
|
421
|
+
readonly zh: '请输入有效的电子邮件地址。';
|
|
422
|
+
};
|
|
423
|
+
readonly 'runtime.finiteNumber': {
|
|
424
|
+
readonly en: 'Parameter "{name}" requires a finite number.';
|
|
425
|
+
readonly zh: '参数“{name}”需要有限数字。';
|
|
426
|
+
};
|
|
427
|
+
readonly 'runtime.min': {
|
|
428
|
+
readonly en: 'Parameter "{name}" must be at least {min}.';
|
|
429
|
+
readonly zh: '参数“{name}”必须至少为 {min}。';
|
|
430
|
+
};
|
|
431
|
+
readonly 'runtime.max': {
|
|
432
|
+
readonly en: 'Parameter "{name}" must be at most {max}.';
|
|
433
|
+
readonly zh: '参数“{name}”必须至多为 {max}。';
|
|
434
|
+
};
|
|
435
|
+
readonly 'runtime.step': {
|
|
436
|
+
readonly en: 'Parameter "{name}" must be a multiple of step {step} (base {base}).';
|
|
437
|
+
readonly zh: '参数“{name}”必须是步长 {step} 的倍数(基准 {base})。';
|
|
438
|
+
};
|
|
439
|
+
readonly 'runtime.boolean': {
|
|
440
|
+
readonly en: 'Parameter "{name}" requires a boolean.';
|
|
441
|
+
readonly zh: '参数“{name}”需要布尔值。';
|
|
442
|
+
};
|
|
443
|
+
readonly 'runtime.string': {
|
|
444
|
+
readonly en: 'Parameter "{name}" requires a string.';
|
|
445
|
+
readonly zh: '参数“{name}”需要字符串。';
|
|
446
|
+
};
|
|
447
|
+
readonly 'runtime.array': {
|
|
448
|
+
readonly en: 'Parameter "{name}" requires an array of strings.';
|
|
449
|
+
readonly zh: '参数“{name}”需要字符串数组。';
|
|
450
|
+
};
|
|
451
|
+
readonly 'runtime.arrayMembers': {
|
|
452
|
+
readonly en: 'Parameter "{name}" members must be strings.';
|
|
453
|
+
readonly zh: '参数“{name}”的成员必须是字符串。';
|
|
454
|
+
};
|
|
455
|
+
readonly 'runtime.numberArray': {
|
|
456
|
+
readonly en: 'Parameter "{name}" requires an array of finite numbers.';
|
|
457
|
+
readonly zh: '参数“{name}”需要有限数字数组。';
|
|
458
|
+
};
|
|
459
|
+
readonly 'runtime.numberArrayMembers': {
|
|
460
|
+
readonly en: 'Parameter "{name}" members must be finite numbers.';
|
|
461
|
+
readonly zh: '参数“{name}”的成员必须是有限数字。';
|
|
462
|
+
};
|
|
463
|
+
readonly 'runtime.null': {
|
|
464
|
+
readonly en: 'Parameter "{name}" requires null.';
|
|
465
|
+
readonly zh: '参数“{name}”需要 null。';
|
|
466
|
+
};
|
|
467
|
+
readonly 'runtime.checklistOption': {
|
|
468
|
+
readonly en: 'Checklist item "{value}" does not exist.';
|
|
469
|
+
readonly zh: '清单项“{value}”不存在。';
|
|
470
|
+
};
|
|
471
|
+
readonly 'runtime.maxItems': {
|
|
472
|
+
readonly en: 'Parameter "{name}" allows at most {max} selected values.';
|
|
473
|
+
readonly zh: '参数“{name}”最多允许选择 {max} 个值。';
|
|
474
|
+
};
|
|
475
|
+
readonly 'runtime.unsupportedType': {
|
|
476
|
+
readonly en: 'Parameter "{name}" has an unsupported value type.';
|
|
477
|
+
readonly zh: '参数“{name}”的值类型不受支持。';
|
|
478
|
+
};
|
|
479
|
+
readonly 'runtime.option': {
|
|
480
|
+
readonly en: 'Value "{value}" is not among the options: {options}.';
|
|
481
|
+
readonly zh: '值“{value}”不在选项中:{options}。';
|
|
482
|
+
};
|
|
483
|
+
readonly 'runtime.budget': {
|
|
484
|
+
readonly en: 'Parameter "{name}": {detail}';
|
|
485
|
+
readonly zh: '参数“{name}”:{detail}';
|
|
486
|
+
};
|
|
487
|
+
readonly 'runtime.rangeOrder': {
|
|
488
|
+
readonly en: 'The range start cannot be greater than its end.';
|
|
489
|
+
readonly zh: '范围起点不能大于终点。';
|
|
490
|
+
};
|
|
491
|
+
readonly 'budget.string': {
|
|
492
|
+
readonly en: 'String exceeds the {limit}-character limit.';
|
|
493
|
+
readonly zh: '字符串超过 {limit} 个字符的上限。';
|
|
494
|
+
};
|
|
495
|
+
readonly 'budget.array': {
|
|
496
|
+
readonly en: 'Array exceeds the {limit}-item limit.';
|
|
497
|
+
readonly zh: '数组超过 {limit} 个项的上限。';
|
|
498
|
+
};
|
|
499
|
+
readonly 'budget.arrayMember': {
|
|
500
|
+
readonly en: 'Array member exceeds the {limit}-character limit.';
|
|
501
|
+
readonly zh: '数组成员超过 {limit} 个字符的上限。';
|
|
502
|
+
};
|
|
503
|
+
readonly 'budget.arrayContents': {
|
|
504
|
+
readonly en: 'Array contents exceed the {limit}-character limit.';
|
|
505
|
+
readonly zh: '数组内容超过 {limit} 个字符的上限。';
|
|
506
|
+
};
|
|
507
|
+
readonly 'theme.missing': {
|
|
508
|
+
readonly en: 'Theme "{name}" is not registered by the host; using the default theme.';
|
|
509
|
+
readonly zh: '宿主未注册主题“{name}”;将使用默认主题。';
|
|
510
|
+
};
|
|
511
|
+
readonly 'theme.registryUnreadable': {
|
|
512
|
+
readonly en: 'The host theme registry could not be read; using the default theme.';
|
|
513
|
+
readonly zh: '无法读取宿主主题注册表;将使用默认主题。';
|
|
514
|
+
};
|
|
515
|
+
readonly 'theme.invalidDefinition': {
|
|
516
|
+
readonly en: 'The selected theme "{name}" is not a valid definition; using the default theme.';
|
|
517
|
+
readonly zh: '所选主题“{name}”不是有效定义;将使用默认主题。';
|
|
518
|
+
};
|
|
519
|
+
readonly 'theme.duplicateRegistration': {
|
|
520
|
+
readonly en: 'Theme "{name}" is registered more than once; using the default theme.';
|
|
521
|
+
readonly zh: '主题“{name}”被多次注册;将使用默认主题。';
|
|
522
|
+
};
|
|
523
|
+
readonly 'theme.protocol': {
|
|
524
|
+
readonly en: 'Theme "{name}" does not support the {protocol} protocol; using the default theme.';
|
|
525
|
+
readonly zh: '主题“{name}”不支持 {protocol} 协议;将使用默认主题。';
|
|
526
|
+
};
|
|
527
|
+
readonly 'theme.modes': {
|
|
528
|
+
readonly en: 'Theme "{name}" must supply both light and dark color schemes; using the default theme.';
|
|
529
|
+
readonly zh: '主题“{name}”必须同时提供浅色和深色配色;将使用默认主题。';
|
|
530
|
+
};
|
|
531
|
+
readonly 'theme.selectedUnreadable': {
|
|
532
|
+
readonly en: 'The selected theme "{name}" could not be read; using the default theme.';
|
|
533
|
+
readonly zh: '所选主题“{name}”无法读取;将使用默认主题。';
|
|
534
|
+
};
|
|
535
|
+
readonly 'error.expression-syntax': {
|
|
536
|
+
readonly en: 'Check expression operators, parentheses and arguments.';
|
|
537
|
+
readonly zh: '表达式语法不正确,请检查运算符、括号或参数是否完整。';
|
|
538
|
+
};
|
|
539
|
+
readonly 'error.expression-index': {
|
|
540
|
+
readonly en: 'An array index must be a finite safe integer.';
|
|
541
|
+
readonly zh: '数组索引必须为有限的安全整数。';
|
|
542
|
+
};
|
|
543
|
+
readonly 'error.expression-cycle': {
|
|
544
|
+
readonly en: 'Named calculations contain a dependency cycle.';
|
|
545
|
+
readonly zh: '命名计算中存在循环依赖。';
|
|
546
|
+
};
|
|
547
|
+
readonly 'error.array.homogeneous': {
|
|
548
|
+
readonly en: 'Array elements must all be strings or all be numbers.';
|
|
549
|
+
readonly zh: '数组元素必须全部为字符串或全部为数字。';
|
|
550
|
+
};
|
|
551
|
+
readonly 'error.array.finite': {
|
|
552
|
+
readonly en: 'Array members must be finite numbers.';
|
|
553
|
+
readonly zh: '数字数组元素必须为有限数值。';
|
|
554
|
+
};
|
|
555
|
+
readonly 'error.array.members': {
|
|
556
|
+
readonly en: 'Array members must be strings or finite numbers.';
|
|
557
|
+
readonly zh: '数组元素必须为字符串或有限数值。';
|
|
558
|
+
};
|
|
559
|
+
readonly 'error.expression-number': {
|
|
560
|
+
readonly en: 'A numeric literal must be finite and valid.';
|
|
561
|
+
readonly zh: '数字字面量无效,必须是有限数值。';
|
|
562
|
+
};
|
|
563
|
+
readonly 'error.expression-string': {
|
|
564
|
+
readonly en: 'Check the string quotes and escape sequences.';
|
|
565
|
+
readonly zh: '字符串格式不正确,请检查引号和转义。';
|
|
566
|
+
};
|
|
567
|
+
readonly 'error.expression-budget': {
|
|
568
|
+
readonly en: 'The expression exceeded a resource budget.';
|
|
569
|
+
readonly zh: '表达式超过长度、节点、深度或求值步数预算,请简化表达式。';
|
|
570
|
+
};
|
|
571
|
+
readonly 'error.expression-assignment': {
|
|
572
|
+
readonly en: 'Assignment is not allowed in expressions.';
|
|
573
|
+
readonly zh: '表达式不能执行赋值,请使用比较运算符。';
|
|
574
|
+
};
|
|
575
|
+
readonly 'error.expression-property': {
|
|
576
|
+
readonly en: 'Property access is not allowed.';
|
|
577
|
+
readonly zh: '表达式不支持属性访问,请直接引用绑定名称。';
|
|
578
|
+
};
|
|
579
|
+
readonly 'error.expression-empty': {
|
|
580
|
+
readonly en: 'An expression is required.';
|
|
581
|
+
readonly zh: '此处需要非空表达式。';
|
|
582
|
+
};
|
|
583
|
+
readonly 'error.expression-unknown-function': {
|
|
584
|
+
readonly en: 'Use a supported built-in function.';
|
|
585
|
+
readonly zh: '函数不受支持,请使用语言内置函数。';
|
|
586
|
+
};
|
|
587
|
+
readonly 'error.expression-arity': {
|
|
588
|
+
readonly en: 'Check the function argument count.';
|
|
589
|
+
readonly zh: '函数参数数量不正确。';
|
|
590
|
+
};
|
|
591
|
+
readonly 'error.expression-forbidden-name': {
|
|
592
|
+
readonly en: 'The name is forbidden.';
|
|
593
|
+
readonly zh: '此名称属于禁止访问的名称,请使用已声明的绑定。';
|
|
594
|
+
};
|
|
595
|
+
readonly 'error.expression-type': {
|
|
596
|
+
readonly en: 'Operand or argument types do not match.';
|
|
597
|
+
readonly zh: '操作数或函数参数的类型不匹配,请检查绑定类型。';
|
|
598
|
+
};
|
|
599
|
+
readonly 'error.expression-unknown-name': {
|
|
600
|
+
readonly en: 'The binding is not declared.';
|
|
601
|
+
readonly zh: '引用了未声明的绑定。';
|
|
602
|
+
};
|
|
603
|
+
readonly 'error.expression-value': {
|
|
604
|
+
readonly en: 'The binding value is not supported.';
|
|
605
|
+
readonly zh: '绑定值不符合表达式支持的类型或数值范围。';
|
|
606
|
+
};
|
|
607
|
+
readonly 'error.expression-eval': {
|
|
608
|
+
readonly en: 'The expression cannot be evaluated.';
|
|
609
|
+
readonly zh: '表达式无法求值,请检查输入和运算条件。';
|
|
610
|
+
};
|
|
611
|
+
readonly 'error.expression-domain': {
|
|
612
|
+
readonly en: 'A value lies outside the function domain.';
|
|
613
|
+
readonly zh: '参数超出函数定义域。';
|
|
614
|
+
};
|
|
615
|
+
readonly 'error.expression-divide-by-zero': {
|
|
616
|
+
readonly en: 'Division by zero is undefined.';
|
|
617
|
+
readonly zh: '除数不能为零。';
|
|
618
|
+
};
|
|
619
|
+
readonly 'error.expression-interpolation': {
|
|
620
|
+
readonly en: 'Check interpolation delimiters and content.';
|
|
621
|
+
readonly zh: '插值格式不正确,请检查分隔符和表达式内容。';
|
|
622
|
+
};
|
|
623
|
+
readonly 'error.latex-budget': {
|
|
624
|
+
readonly en: 'The formula exceeded a resource budget.';
|
|
625
|
+
readonly zh: '公式超过长度、记号、节点、深度或计算步数预算,请简化公式。';
|
|
626
|
+
};
|
|
627
|
+
readonly 'error.latex-syntax': {
|
|
628
|
+
readonly en: 'Check formula syntax and delimiters.';
|
|
629
|
+
readonly zh: '公式语法不正确,请检查命令、括号和分隔符。';
|
|
630
|
+
};
|
|
631
|
+
readonly 'error.latex-empty': {
|
|
632
|
+
readonly en: 'A formula is required.';
|
|
633
|
+
readonly zh: '公式不能为空。';
|
|
634
|
+
};
|
|
635
|
+
readonly 'error.latex-relation': {
|
|
636
|
+
readonly en: 'Check the formula relation.';
|
|
637
|
+
readonly zh: '公式中的关系式不符合计算语法。';
|
|
638
|
+
};
|
|
639
|
+
readonly 'error.latex-number': {
|
|
640
|
+
readonly en: 'A formula number must be finite.';
|
|
641
|
+
readonly zh: '公式中的数字必须是有限数值。';
|
|
642
|
+
};
|
|
643
|
+
readonly 'error.latex-name': {
|
|
644
|
+
readonly en: 'Use a valid formula parameter name.';
|
|
645
|
+
readonly zh: '公式参数名称无效,请使用合法绑定名。';
|
|
646
|
+
};
|
|
647
|
+
readonly 'error.latex-unsupported': {
|
|
648
|
+
readonly en: 'The LaTeX structure is not computable.';
|
|
649
|
+
readonly zh: '此 LaTeX 结构不支持计算,请改用支持的函数和运算。';
|
|
650
|
+
};
|
|
651
|
+
readonly 'error.latex-variable': {
|
|
652
|
+
readonly en: 'A numeric formula parameter is missing or invalid.';
|
|
653
|
+
readonly zh: '公式引用的参数缺失或不是有限数字。';
|
|
654
|
+
};
|
|
655
|
+
readonly 'error.latex-type': {
|
|
656
|
+
readonly en: 'A formula parameter has the wrong type.';
|
|
657
|
+
readonly zh: '公式参数类型不正确,计算参数必须为数字。';
|
|
658
|
+
};
|
|
659
|
+
readonly 'error.latex-divide-by-zero': {
|
|
660
|
+
readonly en: 'Division by zero is undefined.';
|
|
661
|
+
readonly zh: '公式中的除数不能为零。';
|
|
662
|
+
};
|
|
663
|
+
readonly 'error.latex-domain': {
|
|
664
|
+
readonly en: 'A formula value lies outside the function domain.';
|
|
665
|
+
readonly zh: '公式参数超出函数定义域。';
|
|
666
|
+
};
|
|
667
|
+
readonly 'error.latex-undefined': {
|
|
668
|
+
readonly en: 'The formula is undefined at this point.';
|
|
669
|
+
readonly zh: '公式在此点没有有限定义值。';
|
|
670
|
+
};
|
|
671
|
+
readonly 'error.latex-plot-range': {
|
|
672
|
+
readonly en: 'Plot bounds must be finite and increasing.';
|
|
673
|
+
readonly zh: '绘图区间必须由有限数值构成,且最小值小于最大值。';
|
|
674
|
+
};
|
|
675
|
+
readonly 'error.latex-plot-samples': {
|
|
676
|
+
readonly en: 'The sample count must be an integer from 2 to 2000.';
|
|
677
|
+
readonly zh: '采样点数必须为 2 至 2000 的整数。';
|
|
678
|
+
};
|
|
679
|
+
readonly 'local.external.placement': {
|
|
680
|
+
readonly en: '<external> declarations must be standalone tags at the document top level.';
|
|
681
|
+
readonly zh: '<external> 声明必须独占一行,位于文档顶层。';
|
|
682
|
+
};
|
|
683
|
+
readonly 'local.external.name': {
|
|
684
|
+
readonly en: 'External name "{name}" must match [A-Za-z_][A-Za-z0-9_]*.';
|
|
685
|
+
readonly zh: '外部名称“{name}”必须匹配 [A-Za-z_][A-Za-z0-9_]*。';
|
|
686
|
+
};
|
|
687
|
+
readonly 'local.external.reserved': {
|
|
688
|
+
readonly en: 'External name "{name}" is reserved; choose another name.';
|
|
689
|
+
readonly zh: '外部名称“{name}”为保留名称,请更换。';
|
|
690
|
+
};
|
|
691
|
+
readonly 'local.external.duplicate': {
|
|
692
|
+
readonly en: 'External name "{name}" is declared more than once.';
|
|
693
|
+
readonly zh: '外部名称“{name}”被重复声明。';
|
|
694
|
+
};
|
|
695
|
+
readonly 'local.external.conflict': {
|
|
696
|
+
readonly en: 'External name "{name}" conflicts with a control parameter of the same name.';
|
|
697
|
+
readonly zh: '外部名称“{name}”与同名控件参数冲突。';
|
|
698
|
+
};
|
|
699
|
+
readonly 'local.external.type': {
|
|
700
|
+
readonly en: 'External "{name}" must declare type string, number, boolean, string-array or number-array.';
|
|
701
|
+
readonly zh: '外部声明“{name}”必须声明 string、number、boolean、string-array 或 number-array 类型。';
|
|
702
|
+
};
|
|
703
|
+
readonly 'local.host.structure.leaf': {
|
|
704
|
+
readonly en: 'Host component <{component}> is a leaf and cannot have body content.';
|
|
705
|
+
readonly zh: '宿主组件 <{component}> 是叶子组件,不能包含正文内容。';
|
|
706
|
+
};
|
|
707
|
+
readonly 'local.runtime.external': {
|
|
708
|
+
readonly en: 'External value {name} cannot be written.';
|
|
709
|
+
readonly zh: '无法写入外部数据 {name}。';
|
|
710
|
+
};
|
|
711
|
+
readonly 'local.runtime.external-value': {
|
|
712
|
+
readonly en: 'External value {name} must be {kind}.';
|
|
713
|
+
readonly zh: '外部数据 {name} 必须是 {kind} 类型。';
|
|
714
|
+
};
|
|
715
|
+
readonly 'local.runtime.external-budget': {
|
|
716
|
+
readonly en: 'External value {name} exceeds a resource limit.';
|
|
717
|
+
readonly zh: '外部数据 {name} 超过资源限制。';
|
|
718
|
+
};
|
|
719
|
+
readonly 'local.runtime.value.constraint': {
|
|
720
|
+
readonly en: 'Dynamic {attribute} constraint failed for parameter {name}.';
|
|
721
|
+
readonly zh: '参数 {name} 的动态 {attribute} 约束无法计算。';
|
|
722
|
+
};
|
|
723
|
+
readonly 'local.runtime.value.constraint-range': {
|
|
724
|
+
readonly en: 'Dynamic constraints for parameter {name} produce an invalid range.';
|
|
725
|
+
readonly zh: '参数 {name} 的动态约束产生无效范围。';
|
|
726
|
+
};
|
|
727
|
+
readonly 'local.runtime.value.constraint-date': {
|
|
728
|
+
readonly en: 'Dynamic {attribute} date bound for parameter {name} is not a valid YYYY-MM-DD value.';
|
|
729
|
+
readonly zh: '参数 {name} 的动态 {attribute} 日期边界不是合法的 YYYY-MM-DD。';
|
|
730
|
+
};
|
|
731
|
+
};
|