reactive-md 0.9.1 → 0.9.3
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 +44 -0
- package/CHANGELOG.md +44 -0
- package/README-ch.md +7 -7
- package/README-en.md +6 -6
- package/README.md +7 -7
- package/cli/init.mjs +1 -1
- package/dist-library/LocalDocumentView-D6zQkTkt.js +112 -0
- package/dist-library/{LocalDocumentViewCore-GiWV3bey.js → LocalDocumentViewCore-CmJhemcA.js} +387 -9471
- package/dist-library/LocalReactiveDocumentCore-lAKOGAZ7.js +283 -0
- package/dist-library/LocalStaticDocumentView-2J7w0sKm.js +143 -0
- package/dist-library/{authoring-Dsune4Hy.js → authoring-B14SsOXZ.js} +68 -67
- package/dist-library/chart-B1TUtzm-.js +3 -0
- package/dist-library/color-values-r8Wf7ALn.js +6 -0
- package/dist-library/{compile-wUv8KEge.js → compile-D50B5_Ww.js} +32 -32
- package/dist-library/compile-cache-key-6GgpETz_.js +28 -0
- package/dist-library/compiler-DLkKUK4t.js +98 -0
- package/dist-library/{compiler-core-As_m-MNm.js → compiler-core-Niqhp9wV.js} +2963 -3283
- package/dist-library/{registry-core-Bbad9Bm2.js → component-kernel-IG4wOO0i.js} +72 -195
- package/dist-library/component-state-CwKX_SN5.js +763 -0
- package/dist-library/{component-state-C52ZFJGl.js → component-state-Ht-hOK0W.js} +15 -14
- package/dist-library/component-utils-eSj5IdG4.js +338 -0
- package/dist-library/computations-CffoW7Ff.js +340 -0
- package/dist-library/config-validation-Cpol91_M.js +456 -0
- package/dist-library/controls-B-CLSK8Q.js +5927 -0
- package/dist-library/controls-DWlx-AQl.js +3 -0
- package/dist-library/{coordinate-CWS9p5q_.js → coordinate-PyLPMIQK.js} +85 -85
- package/dist-library/data-BtFlkJzp.js +3 -0
- package/dist-library/{data-table-Bgccxd7h.js → data-table-Kv_ZA2Z2.js} +14 -13
- package/dist-library/data-visuals-_Z7QqYTk.js +384 -0
- package/dist-library/{default-components-BwQf0oP-.js → default-components-jugH7Ubr.js} +333 -331
- package/dist-library/{config-BadfhjdP.js → default-config-DIrRpuQz.js} +96 -79
- package/dist-library/default-options-DU5dxuU6.js +125 -0
- package/dist-library/{registry-B9NGct4d.js → default-registry-BlloaZi7.js} +4 -4
- package/dist-library/default-schema-Ch-Vznpm.js +33 -0
- package/dist-library/diagram-BLepzI8l.js +3 -0
- package/dist-library/{display-B-VhqVND.js → display-y4v9v0Qd.js} +1 -1
- package/dist-library/dist-Cueh1Psp.js +4761 -0
- package/dist-library/{config-validation-F47AcE6o.js → document-theme-DBAfnk7y.js} +248 -731
- package/dist-library/{export-BqVmTXm8.js → export-heVBqgxA.js} +46 -44
- package/dist-library/gallery-BC6FYTqw.js +3 -0
- package/dist-library/{gallery-CY6mTx8i.js → gallery-Q6VPS2ep.js} +1 -1
- package/dist-library/{html-CNT4KD-2.js → html-CCnvzan1.js} +56 -54
- package/dist-library/identity-BUx0Q_-d.js +40 -0
- package/dist-library/{incremental-Dv0FSp_U.js → incremental-Bzvh8_lB.js} +529 -380
- package/dist-library/{layout-C0YlEPGr.js → layout-BfUzzO2b.js} +147 -156
- package/dist-library/layout-BnfDeUNy.js +3 -0
- package/dist-library/limits-CFERRrlC.js +10 -0
- package/dist-library/localization-COdJ6lw2.js +6 -0
- package/dist-library/mafs-CnzDC5CR.js +3 -0
- package/dist-library/math-view-B0jthpRw.js +20 -0
- package/dist-library/motion-tokens-Czk0RDmS.js +283 -0
- package/dist-library/mount-preset-C_i37FvY.js +24 -0
- package/dist-library/numeric-sliders-CkWS0-ja.js +542 -0
- package/dist-library/observability-CYLuvFfL.js +502 -0
- package/dist-library/observability-core-Bcu7vpnl.js +24 -0
- package/dist-library/{package-core-WFK1RhAZ.js → package-core-9UK5ZdqB.js} +57 -46
- package/dist-library/parser-9yNJxGip.js +8 -0
- package/dist-library/parser-standard-BPIy4HOu.js +4872 -0
- package/dist-library/plugin-packs-CZb46nuv.js +19 -0
- package/dist-library/preset-core-BW3NWZJ9.js +1300 -0
- package/dist-library/props-pJRrfDc6.js +179 -0
- package/dist-library/react-BSo0o998.js +32 -0
- package/dist-library/reactive-md-authoring.js +274 -263
- package/dist-library/reactive-md-build.js +55 -20
- package/dist-library/reactive-md-compiler-session.js +4 -0
- package/dist-library/reactive-md-compiler-standard.js +6 -6
- package/dist-library/reactive-md-compiler.js +3 -3
- package/dist-library/reactive-md-contracts.js +6 -0
- package/dist-library/reactive-md-default-packs.js +31 -14
- package/dist-library/reactive-md-default-preset.js +7 -6
- package/dist-library/reactive-md-export.js +6 -5
- package/dist-library/reactive-md-minimal-preset.js +2 -2
- package/dist-library/reactive-md-minimal-react-preset.js +22 -20
- package/dist-library/reactive-md-minimal.css +1 -1
- package/dist-library/reactive-md-observability.js +126 -0
- package/dist-library/reactive-md-pack-style-manifest.js +797 -0
- package/dist-library/reactive-md-plugin-chart.js +6 -5
- package/dist-library/reactive-md-plugin-data.js +8 -8
- package/dist-library/reactive-md-plugin-diagram.js +7 -6
- package/dist-library/reactive-md-plugin-forms.js +14 -13
- package/dist-library/reactive-md-plugin-gallery.js +6 -5
- package/dist-library/reactive-md-plugin-navigation.js +9 -9
- package/dist-library/reactive-md-plugin-network.js +13 -12
- package/dist-library/reactive-md-plugin-plot.js +7 -6
- package/dist-library/reactive-md-react-component-accordion.js +10 -0
- package/dist-library/reactive-md-react-component-alert.js +10 -0
- package/dist-library/reactive-md-react-component-anchor.js +10 -0
- package/dist-library/reactive-md-react-component-badge.js +10 -0
- package/dist-library/reactive-md-react-component-card.js +10 -0
- package/dist-library/reactive-md-react-component-chart.js +22 -0
- package/dist-library/reactive-md-react-component-checkbox.js +10 -0
- package/dist-library/reactive-md-react-component-checklist.js +10 -0
- package/dist-library/reactive-md-react-component-choices.js +10 -0
- package/dist-library/reactive-md-react-component-column.js +6 -0
- package/dist-library/reactive-md-react-component-coordinate.js +21 -0
- package/dist-library/reactive-md-react-component-counter.js +10 -0
- package/dist-library/reactive-md-react-component-data-table.js +14 -0
- package/dist-library/reactive-md-react-component-date.js +10 -0
- package/dist-library/reactive-md-react-component-diagram.js +22 -0
- package/dist-library/reactive-md-react-component-disclosure.js +10 -0
- package/dist-library/reactive-md-react-component-edge.js +22 -0
- package/dist-library/reactive-md-react-component-gallery-item.js +10 -0
- package/dist-library/reactive-md-react-component-gallery.js +10 -0
- package/dist-library/reactive-md-react-component-grid.js +10 -0
- package/dist-library/reactive-md-react-component-if.js +10 -0
- package/dist-library/reactive-md-react-component-input.js +10 -0
- package/dist-library/reactive-md-react-component-jump.js +10 -0
- package/dist-library/reactive-md-react-component-multi-select.js +10 -0
- package/dist-library/reactive-md-react-component-node.js +22 -0
- package/dist-library/reactive-md-react-component-number.js +10 -0
- package/dist-library/reactive-md-react-component-option.js +10 -0
- package/dist-library/reactive-md-react-component-panel.js +10 -0
- package/dist-library/reactive-md-react-component-plot.js +26 -0
- package/dist-library/reactive-md-react-component-progress.js +10 -0
- package/dist-library/reactive-md-react-component-quiz.js +10 -0
- package/dist-library/reactive-md-react-component-radio-group.js +10 -0
- package/dist-library/reactive-md-react-component-range-slider.js +10 -0
- package/dist-library/reactive-md-react-component-section.js +10 -0
- package/dist-library/reactive-md-react-component-select.js +10 -0
- package/dist-library/reactive-md-react-component-slider.js +10 -0
- package/dist-library/reactive-md-react-component-step.js +10 -0
- package/dist-library/reactive-md-react-component-steps.js +10 -0
- package/dist-library/reactive-md-react-component-tab.js +10 -0
- package/dist-library/reactive-md-react-component-table.js +14 -0
- package/dist-library/reactive-md-react-component-tabs.js +10 -0
- package/dist-library/reactive-md-react-component-text.js +10 -0
- package/dist-library/reactive-md-react-component-textarea.js +10 -0
- package/dist-library/reactive-md-react-component-timeline.js +14 -0
- package/dist-library/reactive-md-react-component-timer.js +10 -0
- package/dist-library/reactive-md-react-component-toggle.js +10 -0
- package/dist-library/reactive-md-react-component-tooltip.js +10 -0
- package/dist-library/reactive-md-react-component-validation.js +10 -0
- package/dist-library/reactive-md-react-minimal.js +4 -4
- package/dist-library/reactive-md-react-pack-controls.js +44 -0
- package/dist-library/reactive-md-react-pack-data.js +21 -0
- package/dist-library/reactive-md-react-pack-layout.js +36 -0
- package/dist-library/reactive-md-react-pack-visuals.js +43 -0
- package/dist-library/reactive-md-react-packed.js +50 -0
- package/dist-library/reactive-md-react-server.js +26 -25
- package/dist-library/reactive-md-react-static-server.js +24 -0
- package/dist-library/reactive-md-react-static.js +1 -0
- package/dist-library/reactive-md-react-unstyled.js +15 -12
- package/dist-library/reactive-md-react.js +15 -12
- package/dist-library/reactive-md-runtime-browser.js +2 -1
- package/dist-library/reactive-md-runtime.js +4 -3
- package/dist-library/reactive-md-scan.js +1 -0
- package/dist-library/reactive-md-sdk.js +9 -8
- package/dist-library/reactive-md-standalone-configured.js +2 -2
- package/dist-library/reactive-md-standalone-host.js +2 -2
- package/dist-library/reactive-md-testing-browser.js +2 -2
- package/dist-library/reactive-md-testing-react.js +32 -32
- package/dist-library/reactive-md-testing.js +12 -12
- package/dist-library/reactive-md-worker-pool.js +401 -0
- package/dist-library/reactive-md.css +1 -1
- package/dist-library/reactive-md.js +84 -1361
- package/dist-library/registry-core-CziAIP5P.js +125 -0
- package/dist-library/render-nodes-DKjg_TR1.js +9369 -0
- package/dist-library/{resources-D2GDQS0p.js → requirements-DhIkxAbl.js} +37 -84
- package/dist-library/resources-B_nbROgj.js +74 -0
- package/dist-library/rmd-pack-controls.css +1032 -0
- package/dist-library/rmd-pack-data.css +724 -0
- package/dist-library/rmd-pack-layout.css +1825 -0
- package/dist-library/rmd-pack-resource-chart.css +300 -0
- package/dist-library/rmd-pack-resource-controls.css +781 -0
- package/dist-library/rmd-pack-resource-data-visuals.css +501 -0
- package/dist-library/rmd-pack-resource-diagram.css +106 -0
- package/dist-library/rmd-pack-resource-gallery.css +346 -0
- package/dist-library/rmd-pack-resource-graphics.css +516 -0
- package/dist-library/rmd-pack-resource-layout.css +1480 -0
- package/dist-library/rmd-pack-resource-mafs-core.css +124 -0
- package/dist-library/rmd-pack-resource-mafs.css +129 -0
- package/dist-library/rmd-pack-resource-visual-base.css +224 -0
- package/dist-library/rmd-pack-visuals.css +1394 -0
- package/dist-library/{runtime-B2fxeveq.js → runtime-BDnnimPA.js} +17 -16
- package/dist-library/{runtime-kcA7bG7G.js → runtime-CuJndKqK.js} +320 -313
- package/dist-library/runtime-requirement-C4-vNcf5.js +769 -0
- package/dist-library/schema-core-4sd1Vu7V.js +132 -0
- package/dist-library/{sdk-core-BoJT1SIt.js → sdk-core-BLsW9cCy.js} +494 -520
- package/dist-library/{session-core-nmJHuR9c.js → session-core-DLBRPV7f.js} +33 -31
- package/dist-library/{shareable-DpbE-59H.js → shareable-C6mUerpQ.js} +215 -209
- package/dist-library/shared-bTzN-F4g.js +3 -0
- package/dist-library/structural-views-30-YD_TJ.js +11 -0
- package/dist-library/table-surface-CfZn_tk-.js +13 -0
- package/dist-library/types/assemblies/compile-cache-key.d.ts +11 -0
- package/dist-library/types/assemblies/default-config.d.ts +35 -0
- package/dist-library/types/{local/configuration/options.d.ts → assemblies/default-options.d.ts} +4 -4
- package/dist-library/types/assemblies/default-registry.d.ts +18 -0
- package/dist-library/types/{local/configuration/schema.d.ts → assemblies/default-schema.d.ts} +4 -4
- package/dist-library/types/authoring/catalog.d.ts +11 -1
- package/dist-library/types/authoring/extensions.d.ts +1 -1
- package/dist-library/types/authoring/index.d.ts +3 -3
- package/dist-library/types/authoring/templates.d.ts +1 -1
- package/dist-library/types/build/diagnostics.d.ts +1 -1
- package/dist-library/types/compiler/index.d.ts +1 -0
- package/dist-library/types/compiler/session.d.ts +19 -0
- package/dist-library/types/compiler/standard.d.ts +1 -0
- package/dist-library/types/components/entries/accordion.d.ts +3 -0
- package/dist-library/types/components/entries/alert.d.ts +3 -0
- package/dist-library/types/components/entries/anchor.d.ts +3 -0
- package/dist-library/types/components/entries/badge.d.ts +3 -0
- package/dist-library/types/components/entries/card.d.ts +3 -0
- package/dist-library/types/components/entries/chart.d.ts +3 -0
- package/dist-library/types/components/entries/checkbox.d.ts +3 -0
- package/dist-library/types/components/entries/checklist.d.ts +3 -0
- package/dist-library/types/components/entries/choices.d.ts +3 -0
- package/dist-library/types/components/entries/column.d.ts +3 -0
- package/dist-library/types/components/entries/coordinate.d.ts +3 -0
- package/dist-library/types/components/entries/counter.d.ts +3 -0
- package/dist-library/types/components/entries/data-table.d.ts +3 -0
- package/dist-library/types/components/entries/date.d.ts +3 -0
- package/dist-library/types/components/entries/diagram.d.ts +3 -0
- package/dist-library/types/components/entries/disclosure.d.ts +3 -0
- package/dist-library/types/components/entries/edge.d.ts +3 -0
- package/dist-library/types/components/entries/gallery-item.d.ts +3 -0
- package/dist-library/types/components/entries/gallery.d.ts +3 -0
- package/dist-library/types/components/entries/grid.d.ts +3 -0
- package/dist-library/types/components/entries/if.d.ts +3 -0
- package/dist-library/types/components/entries/input.d.ts +3 -0
- package/dist-library/types/components/entries/jump.d.ts +3 -0
- package/dist-library/types/components/entries/multi-select.d.ts +3 -0
- package/dist-library/types/components/entries/node.d.ts +3 -0
- package/dist-library/types/components/entries/number.d.ts +3 -0
- package/dist-library/types/components/entries/option.d.ts +3 -0
- package/dist-library/types/components/entries/panel.d.ts +3 -0
- package/dist-library/types/components/entries/plot.d.ts +3 -0
- package/dist-library/types/components/entries/progress.d.ts +3 -0
- package/dist-library/types/components/entries/quiz.d.ts +3 -0
- package/dist-library/types/components/entries/radio-group.d.ts +3 -0
- package/dist-library/types/components/entries/range-slider.d.ts +3 -0
- package/dist-library/types/components/entries/section.d.ts +3 -0
- package/dist-library/types/components/entries/select.d.ts +3 -0
- package/dist-library/types/components/entries/slider.d.ts +3 -0
- package/dist-library/types/components/entries/step.d.ts +3 -0
- package/dist-library/types/components/entries/steps.d.ts +3 -0
- package/dist-library/types/components/entries/tab.d.ts +3 -0
- package/dist-library/types/components/entries/table.d.ts +3 -0
- package/dist-library/types/components/entries/tabs.d.ts +3 -0
- package/dist-library/types/components/entries/text.d.ts +3 -0
- package/dist-library/types/components/entries/textarea.d.ts +3 -0
- package/dist-library/types/components/entries/timeline.d.ts +3 -0
- package/dist-library/types/components/entries/timer.d.ts +3 -0
- package/dist-library/types/components/entries/toggle.d.ts +3 -0
- package/dist-library/types/components/entries/tooltip.d.ts +3 -0
- package/dist-library/types/components/entries/validation.d.ts +3 -0
- package/dist-library/types/components/layout/layout.d.ts +1 -3
- package/dist-library/types/components/layout/structural-views.d.ts +3 -0
- package/dist-library/types/components/mount-preset.d.ts +2 -0
- package/dist-library/types/components/packs/controls.d.ts +2 -0
- package/dist-library/types/components/packs/data.d.ts +2 -0
- package/dist-library/types/components/packs/layout.d.ts +2 -0
- package/dist-library/types/components/packs/visuals.d.ts +2 -0
- package/dist-library/types/components/shared/data-visuals.d.ts +3 -0
- package/dist-library/types/components/shared/table-surface.d.ts +10 -0
- package/dist-library/types/components/shared/visual-helpers.d.ts +24 -0
- package/dist-library/types/components/shared/visuals.d.ts +0 -2
- package/dist-library/types/components/table/data-table-model.d.ts +48 -0
- package/dist-library/types/components/table/data-table.d.ts +1 -48
- package/dist-library/types/{local/configuration → contracts}/component-kernel.d.ts +4 -2
- package/dist-library/types/contracts/index.d.ts +8 -0
- package/dist-library/types/{local/configuration → contracts}/limits.d.ts +9 -1
- package/dist-library/types/contracts/localization.d.ts +6 -0
- package/dist-library/types/contracts/runtime-types.d.ts +19 -0
- package/dist-library/types/local/compilation/cache-version.d.ts +1 -0
- package/dist-library/types/local/compilation/compile-status.d.ts +2 -0
- package/dist-library/types/local/compilation/compiler-bindings.d.ts +1 -1
- package/dist-library/types/local/compilation/compiler-capabilities.d.ts +4 -1
- package/dist-library/types/local/compilation/compiler-core.d.ts +1 -1
- package/dist-library/types/local/compilation/compiler-embedding.d.ts +20 -0
- package/dist-library/types/local/compilation/compiler-expressions.d.ts +5 -4
- package/dist-library/types/local/compilation/compiler-structure.d.ts +1 -1
- package/dist-library/types/local/compilation/compiler-tables.d.ts +3 -2
- package/dist-library/types/local/compilation/compiler-validation.d.ts +5 -9
- package/dist-library/types/local/compilation/compiler-values.d.ts +1 -1
- package/dist-library/types/local/compilation/compiler.d.ts +1 -1
- package/dist-library/types/local/compilation/component-usage.d.ts +2 -0
- package/dist-library/types/local/compilation/runtime-requirement.d.ts +3 -0
- package/dist-library/types/local/compilation/session/incremental.d.ts +5 -1
- package/dist-library/types/local/compilation/streaming.d.ts +1 -1
- package/dist-library/types/local/configuration/diagnostic-messages.d.ts +55 -0
- package/dist-library/types/local/configuration/embedding.d.ts +4 -0
- package/dist-library/types/local/configuration/kernel-value-rules.d.ts +1 -1
- package/dist-library/types/local/configuration/options-core.d.ts +8 -2
- package/dist-library/types/local/index.d.ts +12 -1
- package/dist-library/types/local/observability-codes.d.ts +2 -0
- package/dist-library/types/local/observability-core.d.ts +44 -0
- package/dist-library/types/local/observability-messages.d.ts +6 -0
- package/dist-library/types/local/observability.d.ts +45 -0
- package/dist-library/types/local/parsing/parse-budget.d.ts +18 -2
- package/dist-library/types/local/parsing/parser-internals.d.ts +2 -1
- package/dist-library/types/local/parsing/parser-region.d.ts +13 -2
- package/dist-library/types/local/parsing/parser-tags.d.ts +6 -1
- package/dist-library/types/local/parsing/rmd-recovery.d.ts +8 -0
- package/dist-library/types/local/performance-report.d.ts +70 -0
- package/dist-library/types/local/runtime/runtime-pool.d.ts +14 -0
- package/dist-library/types/local/transport/worker-handler.d.ts +3 -0
- package/dist-library/types/local/transport/worker-job.d.ts +12 -2
- package/dist-library/types/local/transport/worker-pool.d.ts +68 -0
- package/dist-library/types/local/transport/worker.d.ts +66 -1
- package/dist-library/types/local/types.d.ts +45 -25
- package/dist-library/types/observability.d.ts +8 -0
- package/dist-library/types/presets/default-semantics.d.ts +1 -1
- package/dist-library/types/presets/identity.d.ts +1 -8
- package/dist-library/types/presets/pack-style-entry.d.ts +3 -0
- package/dist-library/types/presets/pack-style-manifest.d.ts +11 -0
- package/dist-library/types/react/component-api.d.ts +3 -2
- package/dist-library/types/react/component-loader.d.ts +61 -0
- package/dist-library/types/react/component-primitives.d.ts +5 -5
- package/dist-library/types/react/index.d.ts +9 -5
- package/dist-library/types/react/localization.d.ts +5 -6
- package/dist-library/types/react/minimal.d.ts +2 -2
- package/dist-library/types/react/package-core.d.ts +3 -0
- package/dist-library/types/react/packed.d.ts +17 -0
- package/dist-library/types/react/render-lifecycle.d.ts +9 -0
- package/dist-library/types/{local → react}/rendering/document/ExtendedHtmlFragment.d.ts +1 -1
- package/dist-library/types/{local → react}/rendering/document/LocalDocumentViewCore.d.ts +11 -4
- package/dist-library/types/react/rendering/document/LocalPooledDocumentView.d.ts +8 -0
- package/dist-library/types/react/rendering/document/LocalReactiveDocumentCore.d.ts +6 -0
- package/dist-library/types/react/rendering/document/LocalStaticDocumentView.d.ts +18 -0
- package/dist-library/types/react/rendering/document/StaticExternalSlot.d.ts +25 -0
- package/dist-library/types/react/rendering/document/StaticHostData.d.ts +14 -0
- package/dist-library/types/{local → react}/rendering/document/render-nodes.d.ts +8 -8
- package/dist-library/types/react/rendering/document/static-runtime.d.ts +11 -0
- package/dist-library/types/{local → react}/rendering/document/use-author-script.d.ts +2 -2
- package/dist-library/types/{local → react}/rendering/document/validation-state.d.ts +2 -2
- package/dist-library/types/{local → react}/rendering/document/view-render-context.d.ts +40 -8
- package/dist-library/types/{local → react}/rendering/document/view-revision.d.ts +2 -2
- package/dist-library/types/{local → react}/rendering/render-types.d.ts +5 -5
- package/dist-library/types/react/rendering/table/data-table.d.ts +5 -0
- package/dist-library/types/{local → react}/rendering/table/table-numeric-columns.d.ts +3 -3
- package/dist-library/types/react/sdk-core.d.ts +12 -3
- package/dist-library/types/react/sdk.d.ts +2 -1
- package/dist-library/types/react/server.d.ts +3 -10
- package/dist-library/types/react/static-server.d.ts +12 -0
- package/dist-library/types/scan/index.d.ts +15 -0
- package/dist-library/types/sdk/config.d.ts +2 -35
- package/dist-library/types/sdk/default-identity.d.ts +3 -0
- package/dist-library/types/sdk/index.d.ts +1 -1
- package/dist-library/types/sdk/preset.d.ts +9 -0
- package/dist-library/types/sdk/props.d.ts +8 -3
- package/dist-library/types/sdk/registry-core.d.ts +2 -2
- package/dist-library/types/sdk/registry.d.ts +2 -18
- package/dist-library/types/sdk/types.d.ts +2 -2
- package/dist-library/types/sdk/version.d.ts +2 -0
- package/dist-library/types/standalone/session-core.d.ts +1 -1
- package/dist-library/{types-BeNtPqdY.js → types-Bza88SGK.js} +1 -1
- package/dist-library/types-daDo2c_w.js +3 -0
- package/dist-library/use-hydrated-W-laKPhY.js +22975 -0
- package/dist-library/validation-XXlb-spV.js +860 -0
- package/dist-library/version-B0G1699c.js +138 -0
- package/dist-library/visual-frame-y5RFhJ0_.js +19 -0
- package/dist-library/visual-helpers-CRmaqCHX.js +75 -0
- package/dist-library/visuals-CdHezgh5.js +3 -0
- package/dist-library/visuals-CoVSjVD8.js +49159 -0
- package/dist-library/worker-D6WMV8xJ.js +1632 -0
- package/dist-standalone/reactive-md-standalone.css +1 -1
- package/dist-standalone/reactive-md-standalone.js +119 -118
- package/docs/README-ch.md +8 -1
- package/docs/README.md +8 -1
- package/docs/compatibility/api-stability-ch.md +25 -0
- package/docs/compatibility/api-stability-en.md +25 -0
- package/docs/compatibility/compatibility-ch.md +32 -15
- package/docs/compatibility/compatibility-en.md +32 -15
- package/docs/compatibility/compatibility-manifest.schema.json +161 -0
- package/docs/compatibility/deprecation-ch.md +21 -0
- package/docs/compatibility/deprecation-en.md +21 -0
- package/docs/compatibility/source-versioning-ch.md +1 -1
- package/docs/compatibility/source-versioning-en.md +1 -1
- package/docs/compatibility/support-matrix-ch.md +108 -0
- package/docs/compatibility/support-matrix-en.md +108 -0
- 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 +16 -0
- package/docs/development/component-development-reference-en.md +16 -0
- package/docs/development/component-protocol-ch.md +31 -11
- package/docs/development/component-protocol-en.md +31 -11
- package/docs/integration/author-tools-ch.md +3 -1
- package/docs/integration/author-tools-en.md +3 -1
- package/docs/integration/compiler-ch.md +42 -1
- package/docs/integration/compiler-en.md +42 -1
- package/docs/integration/editor-ch.md +2 -2
- package/docs/integration/editor-en.md +2 -2
- package/docs/integration/extension-sdk-ch.md +6 -2
- package/docs/integration/extension-sdk-en.md +6 -2
- package/docs/integration/local-integration-ch.md +4 -2
- package/docs/integration/local-integration-en.md +4 -2
- package/docs/reference/public-api-ch.md +143 -7
- package/docs/reference/public-api-en.md +143 -7
- package/docs/releases/release-0.9.2-ch.md +33 -0
- package/docs/releases/release-0.9.2-en.md +33 -0
- package/docs/releases/release-0.9.3-ch.md +45 -0
- package/docs/releases/release-0.9.3-en.md +45 -0
- package/examples/integration/README-ch.md +36 -4
- package/examples/integration/README.md +36 -4
- package/examples/integration/chat-session/index.mjs +91 -0
- package/examples/integration/chat-session/package.json +10 -0
- package/examples/integration/static-embed/embed.mjs +44 -0
- package/examples/integration/static-embed/index.html +12 -0
- package/examples/integration/static-embed/main.mjs +24 -0
- package/examples/integration/static-embed/references.mjs +5 -0
- package/examples/integration/static-embed/render.mjs +10 -0
- package/package.json +67 -2
- package/dist-library/LocalDocumentView-sthUP0ct.js +0 -109
- package/dist-library/LocalReactiveDocumentCore-ZjQSGyHE.js +0 -275
- package/dist-library/compiler-eOfcinZs.js +0 -62
- package/dist-library/component-state-BoLCGee4.js +0 -801
- package/dist-library/controls-CcT6n7k_.js +0 -6740
- package/dist-library/mount-preset-KxvtKgJb.js +0 -13
- package/dist-library/options-1aDLK7JY.js +0 -121
- package/dist-library/parser-standard-Yuf3A_VI.js +0 -9630
- package/dist-library/plugin-packs-B1XPWcFs.js +0 -18
- package/dist-library/preset-core-CKc5YXSM.js +0 -1443
- package/dist-library/props-sJ8vk0cr.js +0 -183
- package/dist-library/react-D5iGiUdL.js +0 -7
- package/dist-library/schema-BufhKUSM.js +0 -40
- package/dist-library/types/local/rendering/document/LocalReactiveDocumentCore.d.ts +0 -6
- package/dist-library/types/local/rendering/table/data-table.d.ts +0 -13
- package/dist-library/validation-BEBA_HvS.js +0 -1121
- package/dist-library/visual-frame-CyV1FXzs.js +0 -48
- package/dist-library/visuals-BZbZYA7w.js +0 -72572
- /package/dist-library/types/{local/configuration → contracts}/color-values.d.ts +0 -0
- /package/dist-library/types/{local/html → contracts}/html-names.d.ts +0 -0
- /package/dist-library/types/{local/configuration → contracts}/schema-core.d.ts +0 -0
- /package/dist-library/types/{local → react}/rendering/code/code-block.d.ts +0 -0
- /package/dist-library/types/{local → react}/rendering/code/code-languages.d.ts +0 -0
- /package/dist-library/types/{local → react}/rendering/document/LocalDocumentView.d.ts +0 -0
- /package/dist-library/types/{local → react}/rendering/document/use-color-scheme.d.ts +0 -0
- /package/dist-library/types/{local → react}/rendering/image/image-view.d.ts +0 -0
- /package/dist-library/types/{local → react}/rendering/math-view.d.ts +0 -0
|
@@ -1,4 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { b as e, c as t, o as n, s as r, u as i } from "./limits-CFERRrlC.js";
|
|
2
|
+
import { T as a } from "./preset-core-BW3NWZJ9.js";
|
|
3
|
+
import { l as o, n as s } from "./version-B0G1699c.js";
|
|
2
4
|
// src/presets/default-authoring.ts
|
|
3
5
|
var c = Object.freeze([
|
|
4
6
|
{
|
|
@@ -1147,7 +1149,7 @@ function m(e, t) {
|
|
|
1147
1149
|
let n = c.find((t) => t.id === e);
|
|
1148
1150
|
return n ? p(n.title, t, n.id) : e;
|
|
1149
1151
|
}
|
|
1150
|
-
function
|
|
1152
|
+
function h(e) {
|
|
1151
1153
|
let t = f(e);
|
|
1152
1154
|
if (!t) return;
|
|
1153
1155
|
let n = [];
|
|
@@ -1157,7 +1159,7 @@ function ee(e) {
|
|
|
1157
1159
|
}
|
|
1158
1160
|
return Object.freeze(n);
|
|
1159
1161
|
}
|
|
1160
|
-
function
|
|
1162
|
+
function g(e) {
|
|
1161
1163
|
let t = f(e);
|
|
1162
1164
|
if (!t) return;
|
|
1163
1165
|
let n = t.insertText.en;
|
|
@@ -1169,7 +1171,7 @@ function h(e) {
|
|
|
1169
1171
|
};
|
|
1170
1172
|
}
|
|
1171
1173
|
// src/presets/default-semantics.ts
|
|
1172
|
-
var
|
|
1174
|
+
var _ = o, v = {
|
|
1173
1175
|
text: (e = {}) => ({
|
|
1174
1176
|
kind: "string",
|
|
1175
1177
|
coerce: "text",
|
|
@@ -1202,11 +1204,11 @@ var g = t, _ = {
|
|
|
1202
1204
|
enum: e,
|
|
1203
1205
|
...t
|
|
1204
1206
|
})
|
|
1205
|
-
},
|
|
1207
|
+
}, y = (e = {}) => v.text(e), b = () => v.text(), x = () => v.text(), S = () => v.boolean({
|
|
1206
1208
|
dynamic: !0,
|
|
1207
1209
|
default: !1
|
|
1208
|
-
}),
|
|
1209
|
-
function
|
|
1210
|
+
}), C = () => v.staticText({ color: !0 });
|
|
1211
|
+
function ee() {
|
|
1210
1212
|
return Object.freeze({
|
|
1211
1213
|
interactive: !0,
|
|
1212
1214
|
static: !0,
|
|
@@ -1214,7 +1216,7 @@ function te() {
|
|
|
1214
1216
|
offline: !0
|
|
1215
1217
|
});
|
|
1216
1218
|
}
|
|
1217
|
-
function
|
|
1219
|
+
function w(e, t, n, r = {}) {
|
|
1218
1220
|
return Object.freeze({
|
|
1219
1221
|
kind: e,
|
|
1220
1222
|
family: t,
|
|
@@ -1224,7 +1226,7 @@ function C(e, t, n, r = {}) {
|
|
|
1224
1226
|
...r
|
|
1225
1227
|
});
|
|
1226
1228
|
}
|
|
1227
|
-
function
|
|
1229
|
+
function T(e, t, n = {}) {
|
|
1228
1230
|
return Object.freeze({
|
|
1229
1231
|
kind: "number",
|
|
1230
1232
|
family: "number",
|
|
@@ -1235,57 +1237,57 @@ function w(e, t, n = {}) {
|
|
|
1235
1237
|
...n
|
|
1236
1238
|
});
|
|
1237
1239
|
}
|
|
1238
|
-
var
|
|
1240
|
+
var E = (e, t, n = "step") => ({
|
|
1239
1241
|
min: { prop: e },
|
|
1240
1242
|
max: { prop: t },
|
|
1241
1243
|
step: { prop: n }
|
|
1242
1244
|
});
|
|
1243
|
-
function
|
|
1245
|
+
function D(e) {
|
|
1244
1246
|
return Object.freeze(e);
|
|
1245
1247
|
}
|
|
1246
|
-
function
|
|
1248
|
+
function O(...e) {
|
|
1247
1249
|
return Object.freeze(e.map((e) => Object.freeze(e)));
|
|
1248
1250
|
}
|
|
1249
|
-
function
|
|
1250
|
-
return
|
|
1251
|
+
function k(e, t, n) {
|
|
1252
|
+
return a({
|
|
1251
1253
|
id: `reactive-md/${e}`,
|
|
1252
1254
|
name: e,
|
|
1253
|
-
version:
|
|
1254
|
-
protocol:
|
|
1255
|
+
version: _,
|
|
1256
|
+
protocol: s,
|
|
1255
1257
|
form: t,
|
|
1256
|
-
capabilities:
|
|
1257
|
-
...
|
|
1258
|
+
capabilities: ee(),
|
|
1259
|
+
...n
|
|
1258
1260
|
});
|
|
1259
1261
|
}
|
|
1260
|
-
var
|
|
1262
|
+
var A = k("input", "leaf", {
|
|
1261
1263
|
props: {
|
|
1262
|
-
label:
|
|
1263
|
-
type:
|
|
1264
|
+
label: y(),
|
|
1265
|
+
type: v.choice(["text", "email"], {
|
|
1264
1266
|
static: !0,
|
|
1265
1267
|
default: "text"
|
|
1266
1268
|
}),
|
|
1267
|
-
placeholder:
|
|
1268
|
-
required:
|
|
1269
|
+
placeholder: v.text(),
|
|
1270
|
+
required: v.boolean({
|
|
1269
1271
|
dynamic: !0,
|
|
1270
1272
|
default: !1
|
|
1271
1273
|
}),
|
|
1272
|
-
"min-length":
|
|
1274
|
+
"min-length": v.number({
|
|
1273
1275
|
integer: !0,
|
|
1274
1276
|
min: 0,
|
|
1275
1277
|
default: 0
|
|
1276
1278
|
}),
|
|
1277
|
-
"max-length":
|
|
1279
|
+
"max-length": v.number({
|
|
1278
1280
|
integer: !0,
|
|
1279
1281
|
min: 0
|
|
1280
1282
|
}),
|
|
1281
|
-
disabled:
|
|
1283
|
+
disabled: S()
|
|
1282
1284
|
},
|
|
1283
|
-
bindings: { value:
|
|
1284
|
-
structure:
|
|
1285
|
+
bindings: { value: w("string", "text", "empty") },
|
|
1286
|
+
structure: D({
|
|
1285
1287
|
rule: "none",
|
|
1286
1288
|
label: "required"
|
|
1287
1289
|
}),
|
|
1288
|
-
rules:
|
|
1290
|
+
rules: O({
|
|
1289
1291
|
kind: "text-length",
|
|
1290
1292
|
min: "min-length",
|
|
1291
1293
|
max: "max-length"
|
|
@@ -1302,36 +1304,36 @@ var k = O("input", "leaf", {
|
|
|
1302
1304
|
kind: "value-required",
|
|
1303
1305
|
required: "required"
|
|
1304
1306
|
})
|
|
1305
|
-
}),
|
|
1307
|
+
}), j = k("textarea", "leaf", {
|
|
1306
1308
|
props: {
|
|
1307
|
-
label:
|
|
1308
|
-
placeholder:
|
|
1309
|
-
rows:
|
|
1309
|
+
label: y(),
|
|
1310
|
+
placeholder: v.text(),
|
|
1311
|
+
rows: v.number({
|
|
1310
1312
|
integer: !0,
|
|
1311
1313
|
positive: !0,
|
|
1312
1314
|
default: 4
|
|
1313
1315
|
}),
|
|
1314
|
-
required:
|
|
1316
|
+
required: v.boolean({
|
|
1315
1317
|
dynamic: !0,
|
|
1316
1318
|
default: !1
|
|
1317
1319
|
}),
|
|
1318
|
-
"min-length":
|
|
1320
|
+
"min-length": v.number({
|
|
1319
1321
|
integer: !0,
|
|
1320
1322
|
min: 0,
|
|
1321
1323
|
default: 0
|
|
1322
1324
|
}),
|
|
1323
|
-
"max-length":
|
|
1325
|
+
"max-length": v.number({
|
|
1324
1326
|
integer: !0,
|
|
1325
1327
|
min: 0
|
|
1326
1328
|
}),
|
|
1327
|
-
disabled:
|
|
1329
|
+
disabled: S()
|
|
1328
1330
|
},
|
|
1329
|
-
bindings: { value:
|
|
1330
|
-
structure:
|
|
1331
|
+
bindings: { value: w("string", "text", "empty") },
|
|
1332
|
+
structure: D({
|
|
1331
1333
|
rule: "none",
|
|
1332
1334
|
label: "required"
|
|
1333
1335
|
}),
|
|
1334
|
-
rules:
|
|
1336
|
+
rules: O({
|
|
1335
1337
|
kind: "text-length",
|
|
1336
1338
|
min: "min-length",
|
|
1337
1339
|
max: "max-length"
|
|
@@ -1346,23 +1348,23 @@ var k = O("input", "leaf", {
|
|
|
1346
1348
|
kind: "value-required",
|
|
1347
1349
|
required: "required"
|
|
1348
1350
|
})
|
|
1349
|
-
}),
|
|
1351
|
+
}), M = k("number", "leaf", {
|
|
1350
1352
|
props: {
|
|
1351
|
-
label:
|
|
1352
|
-
min:
|
|
1353
|
-
max:
|
|
1354
|
-
step:
|
|
1353
|
+
label: y(),
|
|
1354
|
+
min: v.number({ dynamic: !0 }),
|
|
1355
|
+
max: v.number({ dynamic: !0 }),
|
|
1356
|
+
step: v.number({
|
|
1355
1357
|
positive: !0,
|
|
1356
1358
|
default: 1
|
|
1357
1359
|
}),
|
|
1358
|
-
disabled:
|
|
1360
|
+
disabled: S()
|
|
1359
1361
|
},
|
|
1360
|
-
bindings: { value:
|
|
1361
|
-
structure:
|
|
1362
|
+
bindings: { value: w("number", "number", "nearest-zero", { constraints: E("min", "max") }) },
|
|
1363
|
+
structure: D({
|
|
1362
1364
|
rule: "none",
|
|
1363
1365
|
label: "required"
|
|
1364
1366
|
}),
|
|
1365
|
-
rules:
|
|
1367
|
+
rules: O({
|
|
1366
1368
|
kind: "numeric-range",
|
|
1367
1369
|
min: "min",
|
|
1368
1370
|
max: "max",
|
|
@@ -1371,30 +1373,30 @@ var k = O("input", "leaf", {
|
|
|
1371
1373
|
kind: "dynamic-constraints",
|
|
1372
1374
|
attributes: ["min", "max"]
|
|
1373
1375
|
})
|
|
1374
|
-
}),
|
|
1376
|
+
}), N = k("slider", "leaf", {
|
|
1375
1377
|
props: {
|
|
1376
|
-
label:
|
|
1377
|
-
min:
|
|
1378
|
+
label: y(),
|
|
1379
|
+
min: v.number({
|
|
1378
1380
|
dynamic: !0,
|
|
1379
1381
|
default: 0
|
|
1380
1382
|
}),
|
|
1381
|
-
max:
|
|
1383
|
+
max: v.number({
|
|
1382
1384
|
dynamic: !0,
|
|
1383
1385
|
default: 100
|
|
1384
1386
|
}),
|
|
1385
|
-
step:
|
|
1387
|
+
step: v.number({
|
|
1386
1388
|
positive: !0,
|
|
1387
1389
|
default: 1
|
|
1388
1390
|
}),
|
|
1389
|
-
disabled:
|
|
1390
|
-
color:
|
|
1391
|
+
disabled: S(),
|
|
1392
|
+
color: C()
|
|
1391
1393
|
},
|
|
1392
|
-
bindings: { value:
|
|
1393
|
-
structure:
|
|
1394
|
+
bindings: { value: w("number", "number", "min", { constraints: E("min", "max") }) },
|
|
1395
|
+
structure: D({
|
|
1394
1396
|
rule: "none",
|
|
1395
1397
|
label: "required"
|
|
1396
1398
|
}),
|
|
1397
|
-
rules:
|
|
1399
|
+
rules: O({
|
|
1398
1400
|
kind: "numeric-range",
|
|
1399
1401
|
min: "min",
|
|
1400
1402
|
max: "max",
|
|
@@ -1403,67 +1405,67 @@ var k = O("input", "leaf", {
|
|
|
1403
1405
|
kind: "dynamic-constraints",
|
|
1404
1406
|
attributes: ["min", "max"]
|
|
1405
1407
|
})
|
|
1406
|
-
}),
|
|
1408
|
+
}), P = k("range-slider", "leaf", {
|
|
1407
1409
|
props: {
|
|
1408
|
-
label:
|
|
1409
|
-
min:
|
|
1410
|
-
max:
|
|
1411
|
-
step:
|
|
1410
|
+
label: y(),
|
|
1411
|
+
min: v.number({ default: 0 }),
|
|
1412
|
+
max: v.number({ default: 100 }),
|
|
1413
|
+
step: v.number({
|
|
1412
1414
|
positive: !0,
|
|
1413
1415
|
default: 1
|
|
1414
1416
|
}),
|
|
1415
|
-
disabled:
|
|
1416
|
-
color:
|
|
1417
|
+
disabled: S(),
|
|
1418
|
+
color: C()
|
|
1417
1419
|
},
|
|
1418
1420
|
bindings: {
|
|
1419
|
-
start:
|
|
1420
|
-
end:
|
|
1421
|
+
start: T("start", "min", { constraints: E("min", "max") }),
|
|
1422
|
+
end: T("end", "max-step", { constraints: E("min", "max") })
|
|
1421
1423
|
},
|
|
1422
1424
|
slotRelations: [{
|
|
1423
1425
|
lower: "start",
|
|
1424
1426
|
upper: "end"
|
|
1425
1427
|
}],
|
|
1426
|
-
structure:
|
|
1428
|
+
structure: D({
|
|
1427
1429
|
rule: "none",
|
|
1428
1430
|
label: "required"
|
|
1429
1431
|
}),
|
|
1430
|
-
rules:
|
|
1432
|
+
rules: O({
|
|
1431
1433
|
kind: "numeric-range",
|
|
1432
1434
|
min: "min",
|
|
1433
1435
|
max: "max",
|
|
1434
1436
|
step: "step"
|
|
1435
1437
|
})
|
|
1436
|
-
}),
|
|
1438
|
+
}), F = k("coordinate", "leaf", {
|
|
1437
1439
|
props: {
|
|
1438
|
-
label:
|
|
1439
|
-
"x-min":
|
|
1440
|
-
"x-max":
|
|
1441
|
-
"y-min":
|
|
1442
|
-
"y-max":
|
|
1443
|
-
step:
|
|
1440
|
+
label: y(),
|
|
1441
|
+
"x-min": v.number({ default: -5 }),
|
|
1442
|
+
"x-max": v.number({ default: 5 }),
|
|
1443
|
+
"y-min": v.number({ default: -5 }),
|
|
1444
|
+
"y-max": v.number({ default: 5 }),
|
|
1445
|
+
step: v.number({
|
|
1444
1446
|
positive: !0,
|
|
1445
1447
|
default: 1
|
|
1446
1448
|
}),
|
|
1447
|
-
disabled:
|
|
1448
|
-
color:
|
|
1449
|
+
disabled: S(),
|
|
1450
|
+
color: C()
|
|
1449
1451
|
},
|
|
1450
1452
|
bindings: {
|
|
1451
|
-
x:
|
|
1453
|
+
x: T("x", "nearest-zero", { constraints: {
|
|
1452
1454
|
min: { prop: "x-min" },
|
|
1453
1455
|
max: { prop: "x-max" },
|
|
1454
1456
|
step: { prop: "step" }
|
|
1455
1457
|
} }),
|
|
1456
|
-
y:
|
|
1458
|
+
y: T("y", "nearest-zero", { constraints: {
|
|
1457
1459
|
min: { prop: "y-min" },
|
|
1458
1460
|
max: { prop: "y-max" },
|
|
1459
1461
|
step: { prop: "step" }
|
|
1460
1462
|
} })
|
|
1461
1463
|
},
|
|
1462
|
-
structure:
|
|
1464
|
+
structure: D({
|
|
1463
1465
|
rule: "none",
|
|
1464
1466
|
label: "required"
|
|
1465
1467
|
}),
|
|
1466
|
-
rules:
|
|
1468
|
+
rules: O({
|
|
1467
1469
|
kind: "numeric-range",
|
|
1468
1470
|
min: "x-min",
|
|
1469
1471
|
max: "x-max",
|
|
@@ -1473,45 +1475,45 @@ var k = O("input", "leaf", {
|
|
|
1473
1475
|
min: "y-min",
|
|
1474
1476
|
max: "y-max"
|
|
1475
1477
|
})
|
|
1476
|
-
}),
|
|
1478
|
+
}), I = k("toggle", "leaf", {
|
|
1477
1479
|
props: {
|
|
1478
|
-
label:
|
|
1479
|
-
disabled:
|
|
1480
|
-
color:
|
|
1480
|
+
label: y(),
|
|
1481
|
+
disabled: S(),
|
|
1482
|
+
color: C()
|
|
1481
1483
|
},
|
|
1482
|
-
bindings: { value:
|
|
1483
|
-
structure:
|
|
1484
|
+
bindings: { value: w("boolean", "boolean", "false") },
|
|
1485
|
+
structure: D({
|
|
1484
1486
|
rule: "none",
|
|
1485
1487
|
label: "required"
|
|
1486
1488
|
})
|
|
1487
|
-
}),
|
|
1489
|
+
}), L = k("checkbox", "leaf", {
|
|
1488
1490
|
props: {
|
|
1489
|
-
label:
|
|
1490
|
-
disabled:
|
|
1491
|
-
color:
|
|
1491
|
+
label: y(),
|
|
1492
|
+
disabled: S(),
|
|
1493
|
+
color: C()
|
|
1492
1494
|
},
|
|
1493
|
-
bindings: { value:
|
|
1494
|
-
structure:
|
|
1495
|
+
bindings: { value: w("boolean", "boolean", "false") },
|
|
1496
|
+
structure: D({
|
|
1495
1497
|
rule: "none",
|
|
1496
1498
|
label: "required"
|
|
1497
1499
|
})
|
|
1498
|
-
}),
|
|
1500
|
+
}), R = k("date", "leaf", {
|
|
1499
1501
|
props: {
|
|
1500
|
-
label:
|
|
1501
|
-
min:
|
|
1502
|
-
max:
|
|
1503
|
-
required:
|
|
1502
|
+
label: y(),
|
|
1503
|
+
min: v.dynamicText(),
|
|
1504
|
+
max: v.dynamicText(),
|
|
1505
|
+
required: v.boolean({
|
|
1504
1506
|
dynamic: !0,
|
|
1505
1507
|
default: !1
|
|
1506
1508
|
}),
|
|
1507
|
-
disabled:
|
|
1509
|
+
disabled: S()
|
|
1508
1510
|
},
|
|
1509
|
-
bindings: { value:
|
|
1510
|
-
structure:
|
|
1511
|
+
bindings: { value: w("string", "date", "empty") },
|
|
1512
|
+
structure: D({
|
|
1511
1513
|
rule: "none",
|
|
1512
1514
|
label: "required"
|
|
1513
1515
|
}),
|
|
1514
|
-
rules:
|
|
1516
|
+
rules: O({
|
|
1515
1517
|
kind: "date-bounds",
|
|
1516
1518
|
min: "min",
|
|
1517
1519
|
max: "max"
|
|
@@ -1529,111 +1531,111 @@ var k = O("input", "leaf", {
|
|
|
1529
1531
|
required: "required"
|
|
1530
1532
|
})
|
|
1531
1533
|
});
|
|
1532
|
-
function
|
|
1533
|
-
return
|
|
1534
|
+
function z(e, t = "container") {
|
|
1535
|
+
return k(e, t, {
|
|
1534
1536
|
props: {
|
|
1535
|
-
label:
|
|
1536
|
-
disabled:
|
|
1537
|
-
color:
|
|
1537
|
+
label: y(),
|
|
1538
|
+
disabled: S(),
|
|
1539
|
+
color: C()
|
|
1538
1540
|
},
|
|
1539
|
-
bindings: { value:
|
|
1540
|
-
structure:
|
|
1541
|
+
bindings: { value: w("string", "choice", "first-option") },
|
|
1542
|
+
structure: D({
|
|
1541
1543
|
rule: "options",
|
|
1542
1544
|
label: "required",
|
|
1543
1545
|
child: "option",
|
|
1544
1546
|
children: ["option"],
|
|
1545
1547
|
min: 1,
|
|
1546
|
-
max:
|
|
1548
|
+
max: n,
|
|
1547
1549
|
valueAttribute: "value"
|
|
1548
1550
|
}),
|
|
1549
|
-
rules:
|
|
1551
|
+
rules: O({
|
|
1550
1552
|
kind: "options-body",
|
|
1551
1553
|
child: "option",
|
|
1552
1554
|
valueAttribute: "value",
|
|
1553
1555
|
unique: !0,
|
|
1554
|
-
max:
|
|
1556
|
+
max: n
|
|
1555
1557
|
})
|
|
1556
1558
|
});
|
|
1557
1559
|
}
|
|
1558
|
-
var
|
|
1560
|
+
var B = z("select"), V = z("choices"), H = z("radio-group"), U = k("multi-select", "container", {
|
|
1559
1561
|
props: {
|
|
1560
|
-
label:
|
|
1561
|
-
"max-selected":
|
|
1562
|
+
label: y(),
|
|
1563
|
+
"max-selected": v.number({
|
|
1562
1564
|
integer: !0,
|
|
1563
1565
|
min: 0
|
|
1564
1566
|
}),
|
|
1565
|
-
disabled:
|
|
1566
|
-
color:
|
|
1567
|
+
disabled: S(),
|
|
1568
|
+
color: C()
|
|
1567
1569
|
},
|
|
1568
|
-
bindings: { value:
|
|
1570
|
+
bindings: { value: w("array", "multi-select", "empty-array", {
|
|
1569
1571
|
exclusive: !0,
|
|
1570
1572
|
maxItems: { prop: "max-selected" }
|
|
1571
1573
|
}) },
|
|
1572
|
-
structure:
|
|
1574
|
+
structure: D({
|
|
1573
1575
|
rule: "options",
|
|
1574
1576
|
label: "required",
|
|
1575
1577
|
child: "option",
|
|
1576
1578
|
children: ["option"],
|
|
1577
1579
|
min: 1,
|
|
1578
|
-
max:
|
|
1580
|
+
max: n,
|
|
1579
1581
|
valueAttribute: "value",
|
|
1580
1582
|
forbidSeparator: ","
|
|
1581
1583
|
}),
|
|
1582
|
-
rules:
|
|
1584
|
+
rules: O({
|
|
1583
1585
|
kind: "options-body",
|
|
1584
1586
|
child: "option",
|
|
1585
1587
|
valueAttribute: "value",
|
|
1586
1588
|
unique: !0,
|
|
1587
|
-
max:
|
|
1589
|
+
max: n,
|
|
1588
1590
|
forbidSeparator: ","
|
|
1589
1591
|
}, {
|
|
1590
1592
|
kind: "option-count",
|
|
1591
1593
|
max: "max-selected"
|
|
1592
1594
|
})
|
|
1593
|
-
}),
|
|
1594
|
-
props: { value:
|
|
1595
|
-
structure:
|
|
1595
|
+
}), W = k("option", "container", {
|
|
1596
|
+
props: { value: v.staticText({ required: !0 }) },
|
|
1597
|
+
structure: D({
|
|
1596
1598
|
rule: "inline",
|
|
1597
1599
|
label: "none",
|
|
1598
1600
|
inlineOnly: !0,
|
|
1599
1601
|
noComponents: !0
|
|
1600
1602
|
}),
|
|
1601
|
-
rules:
|
|
1603
|
+
rules: O({
|
|
1602
1604
|
kind: "inline-body",
|
|
1603
1605
|
strict: !0
|
|
1604
1606
|
}, { kind: "no-components" })
|
|
1605
|
-
}),
|
|
1607
|
+
}), G = k("counter", "leaf", {
|
|
1606
1608
|
props: {
|
|
1607
|
-
label:
|
|
1608
|
-
min:
|
|
1609
|
-
max:
|
|
1610
|
-
step:
|
|
1609
|
+
label: y(),
|
|
1610
|
+
min: v.number({ default: 0 }),
|
|
1611
|
+
max: v.number(),
|
|
1612
|
+
step: v.number({
|
|
1611
1613
|
positive: !0,
|
|
1612
1614
|
default: 1
|
|
1613
1615
|
}),
|
|
1614
|
-
disabled:
|
|
1616
|
+
disabled: S()
|
|
1615
1617
|
},
|
|
1616
|
-
bindings: { value:
|
|
1617
|
-
structure:
|
|
1618
|
+
bindings: { value: w("number", "number", "nearest-zero", { constraints: E("min", "max") }) },
|
|
1619
|
+
structure: D({
|
|
1618
1620
|
rule: "none",
|
|
1619
1621
|
label: "required"
|
|
1620
1622
|
}),
|
|
1621
|
-
rules:
|
|
1623
|
+
rules: O({
|
|
1622
1624
|
kind: "numeric-range",
|
|
1623
1625
|
min: "min",
|
|
1624
1626
|
max: "max",
|
|
1625
1627
|
step: "step"
|
|
1626
1628
|
})
|
|
1627
|
-
}),
|
|
1629
|
+
}), K = k("timer", "leaf", {
|
|
1628
1630
|
props: {
|
|
1629
|
-
label:
|
|
1630
|
-
duration:
|
|
1631
|
+
label: y(),
|
|
1632
|
+
duration: v.number({
|
|
1631
1633
|
integer: !0,
|
|
1632
1634
|
positive: !0,
|
|
1633
1635
|
default: 60
|
|
1634
1636
|
})
|
|
1635
1637
|
},
|
|
1636
|
-
bindings: { value:
|
|
1638
|
+
bindings: { value: w("number", "timer", "duration", {
|
|
1637
1639
|
exclusive: !0,
|
|
1638
1640
|
constraints: {
|
|
1639
1641
|
min: { literal: 0 },
|
|
@@ -1642,11 +1644,11 @@ var z = R("select"), B = R("choices"), V = R("radio-group"), H = O("multi-select
|
|
|
1642
1644
|
},
|
|
1643
1645
|
retain: !1
|
|
1644
1646
|
}) },
|
|
1645
|
-
structure:
|
|
1647
|
+
structure: D({
|
|
1646
1648
|
rule: "none",
|
|
1647
1649
|
label: "required"
|
|
1648
1650
|
}),
|
|
1649
|
-
rules:
|
|
1651
|
+
rules: O({
|
|
1650
1652
|
kind: "timer-duration",
|
|
1651
1653
|
attribute: "duration",
|
|
1652
1654
|
default: 60
|
|
@@ -1654,184 +1656,184 @@ var z = R("select"), B = R("choices"), V = R("radio-group"), H = O("multi-select
|
|
|
1654
1656
|
kind: "retain",
|
|
1655
1657
|
value: !1
|
|
1656
1658
|
})
|
|
1657
|
-
}),
|
|
1659
|
+
}), q = k("checklist", "container", {
|
|
1658
1660
|
props: {
|
|
1659
|
-
label:
|
|
1660
|
-
disabled:
|
|
1661
|
-
color:
|
|
1661
|
+
label: y(),
|
|
1662
|
+
disabled: S(),
|
|
1663
|
+
color: C()
|
|
1662
1664
|
},
|
|
1663
|
-
bindings: { value:
|
|
1665
|
+
bindings: { value: w("array", "checklist", "checked", {
|
|
1664
1666
|
exclusive: !0,
|
|
1665
1667
|
retain: !1
|
|
1666
1668
|
}) },
|
|
1667
|
-
structure:
|
|
1669
|
+
structure: D({
|
|
1668
1670
|
rule: "content",
|
|
1669
1671
|
label: "required",
|
|
1670
1672
|
noComponents: !0
|
|
1671
1673
|
}),
|
|
1672
|
-
rules:
|
|
1674
|
+
rules: O({
|
|
1673
1675
|
kind: "checklist-body",
|
|
1674
|
-
itemLimit:
|
|
1676
|
+
itemLimit: n
|
|
1675
1677
|
}, {
|
|
1676
1678
|
kind: "retain",
|
|
1677
1679
|
value: !1
|
|
1678
1680
|
})
|
|
1679
|
-
}),
|
|
1681
|
+
}), J = k("progress", "leaf", {
|
|
1680
1682
|
props: {
|
|
1681
|
-
label:
|
|
1682
|
-
value:
|
|
1683
|
+
label: y(),
|
|
1684
|
+
value: v.number({
|
|
1683
1685
|
dynamic: !0,
|
|
1684
1686
|
required: !0
|
|
1685
1687
|
}),
|
|
1686
|
-
max:
|
|
1688
|
+
max: v.number({
|
|
1687
1689
|
positive: !0,
|
|
1688
1690
|
default: 100
|
|
1689
1691
|
}),
|
|
1690
|
-
color:
|
|
1692
|
+
color: C()
|
|
1691
1693
|
},
|
|
1692
|
-
structure:
|
|
1694
|
+
structure: D({
|
|
1693
1695
|
rule: "none",
|
|
1694
1696
|
label: "required"
|
|
1695
1697
|
}),
|
|
1696
|
-
rules:
|
|
1698
|
+
rules: O({
|
|
1697
1699
|
kind: "progress-bounds",
|
|
1698
1700
|
value: "value",
|
|
1699
1701
|
max: "max",
|
|
1700
1702
|
defaultMax: 100
|
|
1701
1703
|
})
|
|
1702
|
-
}),
|
|
1704
|
+
}), Y = k("jump", "inline", {
|
|
1703
1705
|
props: {
|
|
1704
|
-
to:
|
|
1705
|
-
appearance:
|
|
1706
|
+
to: v.staticText({ required: !0 }),
|
|
1707
|
+
appearance: v.choice(["link", "button"], {
|
|
1706
1708
|
static: !0,
|
|
1707
1709
|
default: "link"
|
|
1708
1710
|
}),
|
|
1709
|
-
color:
|
|
1711
|
+
color: C()
|
|
1710
1712
|
},
|
|
1711
|
-
structure:
|
|
1713
|
+
structure: D({
|
|
1712
1714
|
rule: "inline",
|
|
1713
1715
|
label: "none",
|
|
1714
1716
|
inlineOnly: !0,
|
|
1715
1717
|
noComponents: !0
|
|
1716
1718
|
}),
|
|
1717
|
-
rules:
|
|
1719
|
+
rules: O({
|
|
1718
1720
|
kind: "inline-body",
|
|
1719
1721
|
strict: !0
|
|
1720
1722
|
}, { kind: "no-components" }, {
|
|
1721
1723
|
kind: "navigation",
|
|
1722
1724
|
target: "to"
|
|
1723
1725
|
})
|
|
1724
|
-
}),
|
|
1725
|
-
props: { id:
|
|
1726
|
-
structure:
|
|
1726
|
+
}), X = k("anchor", "leaf", {
|
|
1727
|
+
props: { id: v.staticText({ required: !0 }) },
|
|
1728
|
+
structure: D({
|
|
1727
1729
|
rule: "none",
|
|
1728
1730
|
label: "none"
|
|
1729
1731
|
}),
|
|
1730
|
-
rules:
|
|
1732
|
+
rules: O({
|
|
1731
1733
|
kind: "anchor",
|
|
1732
1734
|
id: "id"
|
|
1733
1735
|
})
|
|
1734
|
-
}),
|
|
1735
|
-
props: { color:
|
|
1736
|
+
}), Z = k("text", "inline", {
|
|
1737
|
+
props: { color: v.staticText({
|
|
1736
1738
|
required: !0,
|
|
1737
1739
|
color: !0
|
|
1738
1740
|
}) },
|
|
1739
|
-
structure:
|
|
1741
|
+
structure: D({
|
|
1740
1742
|
rule: "inline",
|
|
1741
1743
|
label: "none",
|
|
1742
1744
|
inlineOnly: !0,
|
|
1743
1745
|
noComponents: !0
|
|
1744
1746
|
}),
|
|
1745
|
-
rules:
|
|
1747
|
+
rules: O({
|
|
1746
1748
|
kind: "inline-body",
|
|
1747
1749
|
strict: !0
|
|
1748
1750
|
}, { kind: "no-components" })
|
|
1749
|
-
}),
|
|
1750
|
-
props: { color:
|
|
1751
|
+
}), te = k("section", "container", {
|
|
1752
|
+
props: { color: v.staticText({
|
|
1751
1753
|
required: !0,
|
|
1752
1754
|
color: !0
|
|
1753
1755
|
}) },
|
|
1754
|
-
structure:
|
|
1756
|
+
structure: D({
|
|
1755
1757
|
rule: "any",
|
|
1756
1758
|
label: "none"
|
|
1757
1759
|
})
|
|
1758
|
-
}),
|
|
1760
|
+
}), Q = k("quiz", "container", {
|
|
1759
1761
|
props: {
|
|
1760
|
-
type:
|
|
1762
|
+
type: v.choice(["choice", "number"], {
|
|
1761
1763
|
static: !0,
|
|
1762
1764
|
default: "choice"
|
|
1763
1765
|
}),
|
|
1764
|
-
label:
|
|
1765
|
-
answer:
|
|
1766
|
-
explanation:
|
|
1767
|
-
tolerance:
|
|
1766
|
+
label: y(),
|
|
1767
|
+
answer: v.staticText({ required: !0 }),
|
|
1768
|
+
explanation: v.text(),
|
|
1769
|
+
tolerance: v.number({
|
|
1768
1770
|
min: 0,
|
|
1769
1771
|
default: 0
|
|
1770
1772
|
}),
|
|
1771
|
-
disabled:
|
|
1773
|
+
disabled: S()
|
|
1772
1774
|
},
|
|
1773
|
-
structure:
|
|
1775
|
+
structure: D({
|
|
1774
1776
|
rule: "quiz",
|
|
1775
1777
|
label: "required",
|
|
1776
1778
|
child: "option",
|
|
1777
1779
|
children: ["option"],
|
|
1778
|
-
max:
|
|
1780
|
+
max: n,
|
|
1779
1781
|
valueAttribute: "value"
|
|
1780
1782
|
}),
|
|
1781
|
-
rules:
|
|
1783
|
+
rules: O({
|
|
1782
1784
|
kind: "quiz-body",
|
|
1783
1785
|
type: "type",
|
|
1784
1786
|
answer: "answer",
|
|
1785
1787
|
tolerance: "tolerance",
|
|
1786
1788
|
child: "option",
|
|
1787
1789
|
valueAttribute: "value",
|
|
1788
|
-
max:
|
|
1790
|
+
max: n
|
|
1789
1791
|
}, {
|
|
1790
1792
|
kind: "nonempty",
|
|
1791
1793
|
attribute: "answer"
|
|
1792
1794
|
})
|
|
1793
|
-
}),
|
|
1795
|
+
}), ne = k("panel", "container", {
|
|
1794
1796
|
props: {
|
|
1795
|
-
title:
|
|
1796
|
-
reset:
|
|
1797
|
+
title: x(),
|
|
1798
|
+
reset: v.boolean({ default: !0 })
|
|
1797
1799
|
},
|
|
1798
|
-
structure:
|
|
1800
|
+
structure: D({
|
|
1799
1801
|
rule: "any",
|
|
1800
1802
|
label: "none"
|
|
1801
1803
|
}),
|
|
1802
|
-
rules:
|
|
1804
|
+
rules: O({
|
|
1803
1805
|
kind: "self-binding-read",
|
|
1804
1806
|
mode: "always"
|
|
1805
1807
|
})
|
|
1806
|
-
}),
|
|
1807
|
-
props: { title:
|
|
1808
|
-
structure:
|
|
1808
|
+
}), re = k("card", "container", {
|
|
1809
|
+
props: { title: x() },
|
|
1810
|
+
structure: D({
|
|
1809
1811
|
rule: "any",
|
|
1810
1812
|
label: "none"
|
|
1811
1813
|
})
|
|
1812
|
-
}),
|
|
1813
|
-
props: { columns:
|
|
1814
|
+
}), ie = k("grid", "container", {
|
|
1815
|
+
props: { columns: v.number({
|
|
1814
1816
|
integer: !0,
|
|
1815
1817
|
min: 1,
|
|
1816
1818
|
max: 4,
|
|
1817
1819
|
default: 2
|
|
1818
1820
|
}) },
|
|
1819
|
-
structure:
|
|
1821
|
+
structure: D({
|
|
1820
1822
|
rule: "components",
|
|
1821
1823
|
label: "none",
|
|
1822
1824
|
child: "card",
|
|
1823
1825
|
children: ["card"],
|
|
1824
1826
|
min: 1
|
|
1825
1827
|
}),
|
|
1826
|
-
rules:
|
|
1828
|
+
rules: O({
|
|
1827
1829
|
kind: "only-children",
|
|
1828
1830
|
children: ["card"],
|
|
1829
1831
|
min: 1
|
|
1830
1832
|
})
|
|
1831
|
-
}),
|
|
1833
|
+
}), ae = k("gallery", "container", {
|
|
1832
1834
|
props: {
|
|
1833
|
-
label:
|
|
1834
|
-
"item-width":
|
|
1835
|
+
label: y({ required: !0 }),
|
|
1836
|
+
"item-width": v.number({
|
|
1835
1837
|
dynamic: !0,
|
|
1836
1838
|
integer: !0,
|
|
1837
1839
|
default: 280,
|
|
@@ -1839,28 +1841,28 @@ var z = R("select"), B = R("choices"), V = R("radio-group"), H = O("multi-select
|
|
|
1839
1841
|
max: 480
|
|
1840
1842
|
})
|
|
1841
1843
|
},
|
|
1842
|
-
structure:
|
|
1844
|
+
structure: D({
|
|
1843
1845
|
rule: "components",
|
|
1844
1846
|
label: "required",
|
|
1845
1847
|
child: "gallery-item",
|
|
1846
1848
|
children: ["gallery-item"],
|
|
1847
1849
|
min: 1
|
|
1848
1850
|
}),
|
|
1849
|
-
rules:
|
|
1851
|
+
rules: O({
|
|
1850
1852
|
kind: "only-children",
|
|
1851
1853
|
children: ["gallery-item"],
|
|
1852
1854
|
min: 1
|
|
1853
1855
|
})
|
|
1854
|
-
}),
|
|
1855
|
-
props: { label:
|
|
1856
|
-
structure:
|
|
1856
|
+
}), oe = k("gallery-item", "container", {
|
|
1857
|
+
props: { label: b() },
|
|
1858
|
+
structure: D({
|
|
1857
1859
|
rule: "any",
|
|
1858
1860
|
label: "none"
|
|
1859
1861
|
})
|
|
1860
|
-
}),
|
|
1861
|
-
props: { label:
|
|
1862
|
-
bindings: { value:
|
|
1863
|
-
structure:
|
|
1862
|
+
}), se = k("tabs", "container", {
|
|
1863
|
+
props: { label: b() },
|
|
1864
|
+
bindings: { value: w("string", "tabs", "first-tab", { exclusive: !0 }) },
|
|
1865
|
+
structure: D({
|
|
1864
1866
|
rule: "tabs",
|
|
1865
1867
|
label: "optional",
|
|
1866
1868
|
child: "tab",
|
|
@@ -1869,7 +1871,7 @@ var z = R("select"), B = R("choices"), V = R("radio-group"), H = O("multi-select
|
|
|
1869
1871
|
valueAttribute: "value",
|
|
1870
1872
|
generatedPrefix: "tab-"
|
|
1871
1873
|
}),
|
|
1872
|
-
rules:
|
|
1874
|
+
rules: O({
|
|
1873
1875
|
kind: "value-sequence",
|
|
1874
1876
|
child: "tab",
|
|
1875
1877
|
valueAttribute: "value",
|
|
@@ -1877,20 +1879,20 @@ var z = R("select"), B = R("choices"), V = R("radio-group"), H = O("multi-select
|
|
|
1877
1879
|
generatedPrefix: "tab-",
|
|
1878
1880
|
unique: !0
|
|
1879
1881
|
})
|
|
1880
|
-
}),
|
|
1882
|
+
}), ce = k("tab", "container", {
|
|
1881
1883
|
props: {
|
|
1882
|
-
label:
|
|
1883
|
-
value:
|
|
1884
|
+
label: y(),
|
|
1885
|
+
value: v.staticText()
|
|
1884
1886
|
},
|
|
1885
|
-
structure:
|
|
1887
|
+
structure: D({
|
|
1886
1888
|
rule: "any",
|
|
1887
1889
|
label: "required",
|
|
1888
1890
|
parents: ["tabs"]
|
|
1889
1891
|
})
|
|
1890
|
-
}),
|
|
1891
|
-
props: { label:
|
|
1892
|
-
bindings: { value:
|
|
1893
|
-
structure:
|
|
1892
|
+
}), le = k("steps", "container", {
|
|
1893
|
+
props: { label: b() },
|
|
1894
|
+
bindings: { value: w("string", "steps", "first-step", { exclusive: !0 }) },
|
|
1895
|
+
structure: D({
|
|
1894
1896
|
rule: "steps",
|
|
1895
1897
|
label: "optional",
|
|
1896
1898
|
child: "step",
|
|
@@ -1899,7 +1901,7 @@ var z = R("select"), B = R("choices"), V = R("radio-group"), H = O("multi-select
|
|
|
1899
1901
|
valueAttribute: "value",
|
|
1900
1902
|
generatedPrefix: "step-"
|
|
1901
1903
|
}),
|
|
1902
|
-
rules:
|
|
1904
|
+
rules: O({
|
|
1903
1905
|
kind: "value-sequence",
|
|
1904
1906
|
child: "step",
|
|
1905
1907
|
valueAttribute: "value",
|
|
@@ -1907,57 +1909,57 @@ var z = R("select"), B = R("choices"), V = R("radio-group"), H = O("multi-select
|
|
|
1907
1909
|
generatedPrefix: "step-",
|
|
1908
1910
|
unique: !0
|
|
1909
1911
|
})
|
|
1910
|
-
}),
|
|
1912
|
+
}), ue = k("step", "container", {
|
|
1911
1913
|
props: {
|
|
1912
|
-
label:
|
|
1913
|
-
value:
|
|
1914
|
+
label: y(),
|
|
1915
|
+
value: v.staticText()
|
|
1914
1916
|
},
|
|
1915
|
-
structure:
|
|
1917
|
+
structure: D({
|
|
1916
1918
|
rule: "any",
|
|
1917
1919
|
label: "required",
|
|
1918
1920
|
parents: ["steps"]
|
|
1919
1921
|
})
|
|
1920
|
-
}),
|
|
1921
|
-
props: { label:
|
|
1922
|
-
structure:
|
|
1922
|
+
}), de = k("accordion", "container", {
|
|
1923
|
+
props: { label: b() },
|
|
1924
|
+
structure: D({
|
|
1923
1925
|
rule: "components",
|
|
1924
1926
|
label: "optional",
|
|
1925
1927
|
child: "disclosure",
|
|
1926
1928
|
children: ["disclosure"],
|
|
1927
1929
|
min: 1
|
|
1928
1930
|
}),
|
|
1929
|
-
rules:
|
|
1931
|
+
rules: O({
|
|
1930
1932
|
kind: "only-children",
|
|
1931
1933
|
children: ["disclosure"],
|
|
1932
1934
|
min: 1
|
|
1933
1935
|
})
|
|
1934
|
-
}),
|
|
1936
|
+
}), fe = k("disclosure", "container", {
|
|
1935
1937
|
props: {
|
|
1936
|
-
label:
|
|
1937
|
-
open:
|
|
1938
|
+
label: y(),
|
|
1939
|
+
open: v.boolean({ default: !1 })
|
|
1938
1940
|
},
|
|
1939
|
-
structure:
|
|
1941
|
+
structure: D({
|
|
1940
1942
|
rule: "any",
|
|
1941
1943
|
label: "required",
|
|
1942
1944
|
parents: ["accordion"]
|
|
1943
1945
|
})
|
|
1944
|
-
}),
|
|
1945
|
-
props: { when:
|
|
1946
|
+
}), pe = k("if", "container", {
|
|
1947
|
+
props: { when: v.boolean({
|
|
1946
1948
|
dynamic: !0,
|
|
1947
1949
|
required: !0
|
|
1948
1950
|
}) },
|
|
1949
|
-
structure:
|
|
1951
|
+
structure: D({
|
|
1950
1952
|
rule: "any",
|
|
1951
1953
|
label: "none"
|
|
1952
1954
|
}),
|
|
1953
|
-
rules:
|
|
1955
|
+
rules: O({
|
|
1954
1956
|
kind: "require-full-interpolation",
|
|
1955
1957
|
attributes: ["when"]
|
|
1956
1958
|
})
|
|
1957
|
-
}),
|
|
1959
|
+
}), me = k("alert", "container", {
|
|
1958
1960
|
props: {
|
|
1959
|
-
title:
|
|
1960
|
-
tone:
|
|
1961
|
+
title: x(),
|
|
1962
|
+
tone: v.choice([
|
|
1961
1963
|
"info",
|
|
1962
1964
|
"success",
|
|
1963
1965
|
"warning",
|
|
@@ -1967,13 +1969,13 @@ var z = R("select"), B = R("choices"), V = R("radio-group"), H = O("multi-select
|
|
|
1967
1969
|
default: "info"
|
|
1968
1970
|
})
|
|
1969
1971
|
},
|
|
1970
|
-
structure:
|
|
1972
|
+
structure: D({
|
|
1971
1973
|
rule: "any",
|
|
1972
1974
|
label: "none"
|
|
1973
1975
|
})
|
|
1974
|
-
}),
|
|
1976
|
+
}), he = k("badge", "inline", {
|
|
1975
1977
|
props: {
|
|
1976
|
-
tone:
|
|
1978
|
+
tone: v.choice([
|
|
1977
1979
|
"neutral",
|
|
1978
1980
|
"success",
|
|
1979
1981
|
"warning"
|
|
@@ -1981,44 +1983,44 @@ var z = R("select"), B = R("choices"), V = R("radio-group"), H = O("multi-select
|
|
|
1981
1983
|
dynamic: !0,
|
|
1982
1984
|
default: "neutral"
|
|
1983
1985
|
}),
|
|
1984
|
-
color:
|
|
1986
|
+
color: C()
|
|
1985
1987
|
},
|
|
1986
|
-
structure:
|
|
1988
|
+
structure: D({
|
|
1987
1989
|
rule: "inline",
|
|
1988
1990
|
label: "none",
|
|
1989
1991
|
inlineOnly: !0,
|
|
1990
1992
|
noComponents: !0
|
|
1991
1993
|
}),
|
|
1992
|
-
rules:
|
|
1994
|
+
rules: O({
|
|
1993
1995
|
kind: "inline-body",
|
|
1994
1996
|
strict: !0
|
|
1995
1997
|
}, { kind: "no-components" })
|
|
1996
|
-
}),
|
|
1997
|
-
props: { text:
|
|
1998
|
-
structure:
|
|
1998
|
+
}), ge = k("tooltip", "inline", {
|
|
1999
|
+
props: { text: v.text({ required: !0 }) },
|
|
2000
|
+
structure: D({
|
|
1999
2001
|
rule: "inline",
|
|
2000
2002
|
label: "none",
|
|
2001
2003
|
inlineOnly: !0,
|
|
2002
2004
|
noComponents: !0
|
|
2003
2005
|
}),
|
|
2004
|
-
rules:
|
|
2006
|
+
rules: O({
|
|
2005
2007
|
kind: "inline-body",
|
|
2006
2008
|
strict: !0
|
|
2007
2009
|
}, { kind: "no-components" })
|
|
2008
|
-
}),
|
|
2010
|
+
}), _e = k("validation", "leaf", {
|
|
2009
2011
|
props: {
|
|
2010
|
-
when:
|
|
2012
|
+
when: v.boolean({
|
|
2011
2013
|
dynamic: !0,
|
|
2012
2014
|
required: !0
|
|
2013
2015
|
}),
|
|
2014
|
-
message:
|
|
2015
|
-
fields:
|
|
2016
|
+
message: v.text({ required: !0 }),
|
|
2017
|
+
fields: v.staticText({ required: !0 })
|
|
2016
2018
|
},
|
|
2017
|
-
structure:
|
|
2019
|
+
structure: D({
|
|
2018
2020
|
rule: "none",
|
|
2019
2021
|
label: "none"
|
|
2020
2022
|
}),
|
|
2021
|
-
rules:
|
|
2023
|
+
rules: O({
|
|
2022
2024
|
kind: "validation-rule",
|
|
2023
2025
|
when: "when",
|
|
2024
2026
|
fields: "fields",
|
|
@@ -2030,19 +2032,19 @@ var z = R("select"), B = R("choices"), V = R("radio-group"), H = O("multi-select
|
|
|
2030
2032
|
attributes: ["fields"],
|
|
2031
2033
|
scope: "validation"
|
|
2032
2034
|
})
|
|
2033
|
-
}),
|
|
2035
|
+
}), ve = k("data-table", "container", {
|
|
2034
2036
|
props: {
|
|
2035
|
-
label:
|
|
2036
|
-
rows:
|
|
2037
|
-
key:
|
|
2038
|
-
"max-rows":
|
|
2037
|
+
label: v.staticText(),
|
|
2038
|
+
rows: v.expressionText({ required: !0 }),
|
|
2039
|
+
key: v.expressionText({ required: !0 }),
|
|
2040
|
+
"max-rows": v.number({
|
|
2039
2041
|
integer: !0,
|
|
2040
2042
|
positive: !0,
|
|
2041
|
-
max:
|
|
2043
|
+
max: i,
|
|
2042
2044
|
default: 100
|
|
2043
2045
|
})
|
|
2044
2046
|
},
|
|
2045
|
-
structure:
|
|
2047
|
+
structure: D({
|
|
2046
2048
|
rule: "components",
|
|
2047
2049
|
label: "required",
|
|
2048
2050
|
child: "column",
|
|
@@ -2050,7 +2052,7 @@ var z = R("select"), B = R("choices"), V = R("radio-group"), H = O("multi-select
|
|
|
2050
2052
|
min: 1,
|
|
2051
2053
|
max: 20
|
|
2052
2054
|
}),
|
|
2053
|
-
rules:
|
|
2055
|
+
rules: O({
|
|
2054
2056
|
kind: "data-table",
|
|
2055
2057
|
rows: "rows",
|
|
2056
2058
|
key: "key",
|
|
@@ -2059,8 +2061,8 @@ var z = R("select"), B = R("choices"), V = R("radio-group"), H = O("multi-select
|
|
|
2059
2061
|
label: "label",
|
|
2060
2062
|
maxRows: "max-rows",
|
|
2061
2063
|
defaultMaxRows: 100,
|
|
2062
|
-
documentRows:
|
|
2063
|
-
documentCells:
|
|
2064
|
+
documentRows: t,
|
|
2065
|
+
documentCells: r,
|
|
2064
2066
|
maxColumns: 20
|
|
2065
2067
|
}, {
|
|
2066
2068
|
kind: "require-full-interpolation",
|
|
@@ -2076,17 +2078,17 @@ var z = R("select"), B = R("choices"), V = R("radio-group"), H = O("multi-select
|
|
|
2076
2078
|
child: "column",
|
|
2077
2079
|
childValue: "value"
|
|
2078
2080
|
})
|
|
2079
|
-
}),
|
|
2081
|
+
}), ye = k("column", "leaf", {
|
|
2080
2082
|
props: {
|
|
2081
|
-
label:
|
|
2082
|
-
value:
|
|
2083
|
+
label: v.staticText({ required: !0 }),
|
|
2084
|
+
value: v.expressionText({ required: !0 })
|
|
2083
2085
|
},
|
|
2084
|
-
structure:
|
|
2086
|
+
structure: D({
|
|
2085
2087
|
rule: "none",
|
|
2086
2088
|
label: "none",
|
|
2087
2089
|
parents: ["data-table"]
|
|
2088
2090
|
}),
|
|
2089
|
-
rules:
|
|
2091
|
+
rules: O({
|
|
2090
2092
|
kind: "require-full-interpolation",
|
|
2091
2093
|
attributes: ["value"]
|
|
2092
2094
|
}, {
|
|
@@ -2094,24 +2096,24 @@ var z = R("select"), B = R("choices"), V = R("radio-group"), H = O("multi-select
|
|
|
2094
2096
|
attributes: ["value"],
|
|
2095
2097
|
scope: "row"
|
|
2096
2098
|
})
|
|
2097
|
-
}),
|
|
2099
|
+
}), be = k("table", "container", {
|
|
2098
2100
|
props: {
|
|
2099
|
-
label:
|
|
2100
|
-
searchable:
|
|
2101
|
-
sortable:
|
|
2102
|
-
"page-size":
|
|
2101
|
+
label: b(),
|
|
2102
|
+
searchable: v.boolean({ default: !0 }),
|
|
2103
|
+
sortable: v.boolean({ default: !0 }),
|
|
2104
|
+
"page-size": v.number({
|
|
2103
2105
|
integer: !0,
|
|
2104
2106
|
positive: !0,
|
|
2105
2107
|
default: 10
|
|
2106
2108
|
}),
|
|
2107
|
-
key:
|
|
2109
|
+
key: v.staticText()
|
|
2108
2110
|
},
|
|
2109
|
-
bindings: { value:
|
|
2110
|
-
structure:
|
|
2111
|
+
bindings: { value: w("string", "selection", "none", { requiresAttributes: ["key"] }) },
|
|
2112
|
+
structure: D({
|
|
2111
2113
|
rule: "table",
|
|
2112
2114
|
label: "optional"
|
|
2113
2115
|
}),
|
|
2114
|
-
rules:
|
|
2116
|
+
rules: O({ kind: "single-table" }, {
|
|
2115
2117
|
kind: "selection-requires",
|
|
2116
2118
|
key: "key",
|
|
2117
2119
|
attributes: ["bind", "initial"]
|
|
@@ -2124,9 +2126,9 @@ var z = R("select"), B = R("choices"), V = R("radio-group"), H = O("multi-select
|
|
|
2124
2126
|
mode: "attribute",
|
|
2125
2127
|
attribute: "key"
|
|
2126
2128
|
})
|
|
2127
|
-
}),
|
|
2129
|
+
}), xe = k("chart", "container", {
|
|
2128
2130
|
props: {
|
|
2129
|
-
kind:
|
|
2131
|
+
kind: v.choice([
|
|
2130
2132
|
"bar",
|
|
2131
2133
|
"line",
|
|
2132
2134
|
"area",
|
|
@@ -2137,19 +2139,19 @@ var z = R("select"), B = R("choices"), V = R("radio-group"), H = O("multi-select
|
|
|
2137
2139
|
static: !0,
|
|
2138
2140
|
default: "bar"
|
|
2139
2141
|
}),
|
|
2140
|
-
title:
|
|
2141
|
-
x:
|
|
2142
|
-
y:
|
|
2143
|
-
"x-label":
|
|
2144
|
-
"y-label":
|
|
2145
|
-
key:
|
|
2146
|
-
},
|
|
2147
|
-
bindings: { value:
|
|
2148
|
-
structure:
|
|
2142
|
+
title: x(),
|
|
2143
|
+
x: v.staticText(),
|
|
2144
|
+
y: v.staticText(),
|
|
2145
|
+
"x-label": v.text(),
|
|
2146
|
+
"y-label": v.text(),
|
|
2147
|
+
key: v.staticText()
|
|
2148
|
+
},
|
|
2149
|
+
bindings: { value: w("string", "selection", "none", { requiresAttributes: ["key"] }) },
|
|
2150
|
+
structure: D({
|
|
2149
2151
|
rule: "table",
|
|
2150
2152
|
label: "none"
|
|
2151
2153
|
}),
|
|
2152
|
-
rules:
|
|
2154
|
+
rules: O({ kind: "single-table" }, {
|
|
2153
2155
|
kind: "chart-table",
|
|
2154
2156
|
chartKind: "kind",
|
|
2155
2157
|
x: "x",
|
|
@@ -2167,38 +2169,38 @@ var z = R("select"), B = R("choices"), V = R("radio-group"), H = O("multi-select
|
|
|
2167
2169
|
mode: "attribute",
|
|
2168
2170
|
attribute: "key"
|
|
2169
2171
|
})
|
|
2170
|
-
}), Se =
|
|
2172
|
+
}), Se = k("plot", "container", {
|
|
2171
2173
|
props: {
|
|
2172
|
-
label:
|
|
2173
|
-
min:
|
|
2174
|
+
label: b(),
|
|
2175
|
+
min: v.number({
|
|
2174
2176
|
dynamic: !0,
|
|
2175
2177
|
default: -10
|
|
2176
2178
|
}),
|
|
2177
|
-
max:
|
|
2179
|
+
max: v.number({
|
|
2178
2180
|
dynamic: !0,
|
|
2179
2181
|
default: 10
|
|
2180
2182
|
}),
|
|
2181
|
-
samples:
|
|
2183
|
+
samples: v.number({
|
|
2182
2184
|
integer: !0,
|
|
2183
2185
|
min: 2,
|
|
2184
2186
|
max: 2e3,
|
|
2185
2187
|
static: !0,
|
|
2186
2188
|
default: 200
|
|
2187
2189
|
}),
|
|
2188
|
-
points:
|
|
2190
|
+
points: v.number({
|
|
2189
2191
|
integer: !0,
|
|
2190
2192
|
min: 2,
|
|
2191
2193
|
max: 2e3,
|
|
2192
2194
|
static: !0
|
|
2193
2195
|
}),
|
|
2194
|
-
"x-label":
|
|
2195
|
-
"y-label":
|
|
2196
|
+
"x-label": v.text({ default: "x" }),
|
|
2197
|
+
"y-label": v.text({ default: "y" })
|
|
2196
2198
|
},
|
|
2197
|
-
structure:
|
|
2199
|
+
structure: D({
|
|
2198
2200
|
rule: "plot",
|
|
2199
2201
|
label: "optional"
|
|
2200
2202
|
}),
|
|
2201
|
-
rules:
|
|
2203
|
+
rules: O({ kind: "math-body" }, {
|
|
2202
2204
|
kind: "numeric-range",
|
|
2203
2205
|
min: "min",
|
|
2204
2206
|
max: "max",
|
|
@@ -2210,18 +2212,18 @@ var z = R("select"), B = R("choices"), V = R("radio-group"), H = O("multi-select
|
|
|
2210
2212
|
samples: "samples",
|
|
2211
2213
|
samplesAlias: "points",
|
|
2212
2214
|
curves: 16,
|
|
2213
|
-
points:
|
|
2215
|
+
points: e
|
|
2214
2216
|
}, { kind: "inline-math-reads" })
|
|
2215
|
-
}), Ce =
|
|
2217
|
+
}), Ce = k("timeline", "container", {
|
|
2216
2218
|
props: {
|
|
2217
|
-
title:
|
|
2218
|
-
unit:
|
|
2219
|
+
title: x(),
|
|
2220
|
+
unit: v.text({ default: "minutes" })
|
|
2219
2221
|
},
|
|
2220
|
-
structure:
|
|
2222
|
+
structure: D({
|
|
2221
2223
|
rule: "table",
|
|
2222
2224
|
label: "none"
|
|
2223
2225
|
}),
|
|
2224
|
-
rules:
|
|
2226
|
+
rules: O({ kind: "single-table" }, {
|
|
2225
2227
|
kind: "timeline-table",
|
|
2226
2228
|
headerSets: [[
|
|
2227
2229
|
"Task",
|
|
@@ -2235,23 +2237,23 @@ var z = R("select"), B = R("choices"), V = R("radio-group"), H = O("multi-select
|
|
|
2235
2237
|
"说明"
|
|
2236
2238
|
]]
|
|
2237
2239
|
})
|
|
2238
|
-
}), we =
|
|
2240
|
+
}), we = k("diagram", "container", {
|
|
2239
2241
|
props: {
|
|
2240
|
-
label:
|
|
2241
|
-
direction:
|
|
2242
|
+
label: b(),
|
|
2243
|
+
direction: v.choice(["right", "down"], {
|
|
2242
2244
|
static: !0,
|
|
2243
2245
|
default: "right"
|
|
2244
2246
|
})
|
|
2245
2247
|
},
|
|
2246
|
-
bindings: { value:
|
|
2247
|
-
structure:
|
|
2248
|
+
bindings: { value: w("string", "diagram", "first-node", { exclusive: !0 }) },
|
|
2249
|
+
structure: D({
|
|
2248
2250
|
rule: "diagram",
|
|
2249
2251
|
label: "optional",
|
|
2250
2252
|
child: "node",
|
|
2251
2253
|
children: ["node", "edge"],
|
|
2252
2254
|
min: 1
|
|
2253
2255
|
}),
|
|
2254
|
-
rules:
|
|
2256
|
+
rules: O({
|
|
2255
2257
|
kind: "diagram-body",
|
|
2256
2258
|
node: "node",
|
|
2257
2259
|
edge: "edge",
|
|
@@ -2263,11 +2265,11 @@ var z = R("select"), B = R("choices"), V = R("radio-group"), H = O("multi-select
|
|
|
2263
2265
|
kind: "self-binding-read",
|
|
2264
2266
|
mode: "always"
|
|
2265
2267
|
})
|
|
2266
|
-
}), Te =
|
|
2268
|
+
}), Te = k("node", "container", {
|
|
2267
2269
|
props: {
|
|
2268
|
-
id:
|
|
2269
|
-
label:
|
|
2270
|
-
tone:
|
|
2270
|
+
id: v.staticText({ required: !0 }),
|
|
2271
|
+
label: y(),
|
|
2272
|
+
tone: v.choice([
|
|
2271
2273
|
"neutral",
|
|
2272
2274
|
"success",
|
|
2273
2275
|
"warning"
|
|
@@ -2276,26 +2278,25 @@ var z = R("select"), B = R("choices"), V = R("radio-group"), H = O("multi-select
|
|
|
2276
2278
|
default: "neutral"
|
|
2277
2279
|
})
|
|
2278
2280
|
},
|
|
2279
|
-
structure:
|
|
2281
|
+
structure: D({
|
|
2280
2282
|
rule: "content",
|
|
2281
2283
|
label: "required",
|
|
2282
2284
|
noComponents: !0,
|
|
2283
2285
|
parents: ["diagram"]
|
|
2284
2286
|
}),
|
|
2285
|
-
rules:
|
|
2286
|
-
}), Ee =
|
|
2287
|
+
rules: O({ kind: "no-components" })
|
|
2288
|
+
}), Ee = k("edge", "leaf", {
|
|
2287
2289
|
props: {
|
|
2288
|
-
from:
|
|
2289
|
-
to:
|
|
2290
|
-
label:
|
|
2290
|
+
from: v.staticText({ required: !0 }),
|
|
2291
|
+
to: v.staticText({ required: !0 }),
|
|
2292
|
+
label: b()
|
|
2291
2293
|
},
|
|
2292
|
-
structure:
|
|
2294
|
+
structure: D({
|
|
2293
2295
|
rule: "none",
|
|
2294
2296
|
label: "none",
|
|
2295
2297
|
parents: ["diagram"]
|
|
2296
2298
|
})
|
|
2297
2299
|
}), $ = Object.freeze([
|
|
2298
|
-
k,
|
|
2299
2300
|
A,
|
|
2300
2301
|
j,
|
|
2301
2302
|
M,
|
|
@@ -2304,7 +2305,7 @@ var z = R("select"), B = R("choices"), V = R("radio-group"), H = O("multi-select
|
|
|
2304
2305
|
F,
|
|
2305
2306
|
I,
|
|
2306
2307
|
L,
|
|
2307
|
-
|
|
2308
|
+
R,
|
|
2308
2309
|
B,
|
|
2309
2310
|
V,
|
|
2310
2311
|
H,
|
|
@@ -2316,8 +2317,10 @@ var z = R("select"), B = R("choices"), V = R("radio-group"), H = O("multi-select
|
|
|
2316
2317
|
J,
|
|
2317
2318
|
Y,
|
|
2318
2319
|
X,
|
|
2319
|
-
ne,
|
|
2320
2320
|
Z,
|
|
2321
|
+
te,
|
|
2322
|
+
Q,
|
|
2323
|
+
ne,
|
|
2321
2324
|
re,
|
|
2322
2325
|
ie,
|
|
2323
2326
|
ae,
|
|
@@ -2337,7 +2340,6 @@ var z = R("select"), B = R("choices"), V = R("radio-group"), H = O("multi-select
|
|
|
2337
2340
|
ye,
|
|
2338
2341
|
be,
|
|
2339
2342
|
xe,
|
|
2340
|
-
Q,
|
|
2341
2343
|
Se,
|
|
2342
2344
|
Ce,
|
|
2343
2345
|
we,
|
|
@@ -2346,11 +2348,11 @@ var z = R("select"), B = R("choices"), V = R("radio-group"), H = O("multi-select
|
|
|
2346
2348
|
]), De = Object.freeze($.map((e) => e.name));
|
|
2347
2349
|
// src/presets/default-components.ts
|
|
2348
2350
|
function Oe(e) {
|
|
2349
|
-
let t =
|
|
2350
|
-
return t ?
|
|
2351
|
+
let t = g(e.name);
|
|
2352
|
+
return t ? a({
|
|
2351
2353
|
...e,
|
|
2352
2354
|
authoring: t
|
|
2353
2355
|
}) : e;
|
|
2354
2356
|
}
|
|
2355
2357
|
var ke = Object.freeze($.map(Oe));
|
|
2356
|
-
export { d as a,
|
|
2358
|
+
export { d as a, h as c, p as d, c as i, f as l, De as n, u as o, $ as r, m as s, ke as t, g as u };
|