reactive-md 0.9.2 → 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 +363 -333
- package/CHANGELOG.md +364 -334
- package/CONTRIBUTING-ch.md +22 -22
- package/CONTRIBUTING.md +22 -22
- package/README-ch.md +431 -431
- package/README-en.md +431 -431
- package/README.md +429 -429
- package/SECURITY-ch.md +83 -83
- package/SECURITY.md +83 -83
- package/bin/reactive-md.mjs +39 -39
- package/cli/args.mjs +263 -263
- package/cli/assets.mjs +395 -395
- package/cli/build.mjs +445 -445
- package/cli/check.mjs +444 -444
- package/cli/document.mjs +130 -130
- package/cli/errors.mjs +61 -61
- package/cli/fs-utils.mjs +133 -133
- package/cli/glob.mjs +203 -203
- package/cli/help.mjs +323 -323
- package/cli/init.mjs +1577 -1577
- package/cli/lint.mjs +177 -177
- package/cli/main.mjs +65 -65
- package/cli/migrate.mjs +368 -368
- package/cli/package-loader.mjs +41 -41
- package/cli/package.mjs +211 -211
- package/dist-library/LocalDocumentView-D6zQkTkt.js +112 -0
- package/dist-library/{LocalDocumentViewCore-DXE0I0Qc.js → LocalDocumentViewCore-CmJhemcA.js} +356 -9441
- package/dist-library/LocalReactiveDocumentCore-lAKOGAZ7.js +283 -0
- package/dist-library/LocalStaticDocumentView-2J7w0sKm.js +143 -0
- package/dist-library/{authoring-Ci_KzJ0q.js → authoring-B14SsOXZ.js} +21 -20
- package/dist-library/chart-B1TUtzm-.js +3 -0
- package/dist-library/color-values-r8Wf7ALn.js +6 -0
- package/dist-library/{compile-Dx6Uw3D9.js → compile-D50B5_Ww.js} +25 -25
- package/dist-library/compile-cache-key-6GgpETz_.js +28 -0
- package/dist-library/compiler-DLkKUK4t.js +98 -0
- package/dist-library/{compiler-core-DDDdvuLy.js → compiler-core-Niqhp9wV.js} +2877 -3262
- package/dist-library/{registry-core-C9xOunaw.js → component-kernel-IG4wOO0i.js} +72 -195
- package/dist-library/{component-state-BRwvTV0d.js → component-state-Ht-hOK0W.js} +1 -1
- 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-B1VFK9fd.js → coordinate-PyLPMIQK.js} +85 -85
- package/dist-library/data-BtFlkJzp.js +3 -0
- package/dist-library/{data-table-8-3F15Jf.js → data-table-Kv_ZA2Z2.js} +14 -13
- package/dist-library/data-visuals-_Z7QqYTk.js +384 -0
- package/dist-library/{default-components-s21NevON.js → default-components-jugH7Ubr.js} +327 -326
- package/dist-library/{config-DXLvctiZ.js → default-config-DIrRpuQz.js} +103 -88
- package/dist-library/default-options-DU5dxuU6.js +125 -0
- package/dist-library/{registry-D6OGkOcX.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_uutKkN.js → display-y4v9v0Qd.js} +1 -1
- package/dist-library/dist-Cueh1Psp.js +4761 -0
- package/dist-library/{document-theme-C8J6UyNO.js → document-theme-DBAfnk7y.js} +57 -2
- package/dist-library/{export-CIAIPBov.js → export-heVBqgxA.js} +64 -63
- package/dist-library/gallery-BC6FYTqw.js +3 -0
- package/dist-library/{gallery-Dv1rOvL0.js → gallery-Q6VPS2ep.js} +1 -1
- package/dist-library/{html-Cr4CBwAH.js → html-CCnvzan1.js} +49 -48
- package/dist-library/{incremental-9nx92u9c.js → incremental-Bzvh8_lB.js} +526 -379
- package/dist-library/{layout-BBB2VF0S.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-4KqXhIEU.js → observability-CYLuvFfL.js} +124 -43
- package/dist-library/package-core-9UK5ZdqB.js +127 -0
- 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-DeZPA8IE.js → preset-core-BW3NWZJ9.js} +212 -210
- package/dist-library/props-pJRrfDc6.js +179 -0
- package/dist-library/react-BSo0o998.js +32 -0
- package/dist-library/reactive-md-authoring.js +268 -257
- package/dist-library/reactive-md-build.js +7 -10
- 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 -15
- package/dist-library/reactive-md-default-preset.js +7 -7
- 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 +125 -3
- 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 -13
- package/dist-library/reactive-md-plugin-plot.js +7 -6
- package/dist-library/reactive-md-print.css +304 -304
- 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-scan.js +1 -0
- package/dist-library/reactive-md-sdk.js +9 -9
- 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 +82 -1548
- package/dist-library/registry-core-CziAIP5P.js +125 -0
- package/dist-library/render-nodes-DKjg_TR1.js +9369 -0
- package/dist-library/requirements-DhIkxAbl.js +157 -0
- 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-BpQdZmFI.js → runtime-CuJndKqK.js} +53 -52
- package/dist-library/runtime-requirement-C4-vNcf5.js +769 -0
- package/dist-library/schema-core-4sd1Vu7V.js +132 -0
- package/dist-library/{sdk-core-ChslheKs.js → sdk-core-BLsW9cCy.js} +497 -524
- package/dist-library/{session-core-dxQCJBNa.js → session-core-DLBRPV7f.js} +26 -25
- package/dist-library/{shareable-B8xMoGEa.js → shareable-C6mUerpQ.js} +145 -142
- 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/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 +6 -1
- package/dist-library/types/local/observability-core.d.ts +20 -1
- package/dist-library/types/local/observability.d.ts +2 -0
- package/dist-library/types/local/parsing/parse-budget.d.ts +18 -2
- 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 +14 -0
- package/dist-library/types/local/types.d.ts +37 -25
- package/dist-library/types/observability.d.ts +1 -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-Ib5kSScP.js → types-Bza88SGK.js} +1 -1
- package/dist-library/use-hydrated-W-laKPhY.js +22975 -0
- package/dist-library/validation-XXlb-spV.js +860 -0
- package/dist-library/{version-DAxuGOG2.js → version-B0G1699c.js} +24 -33
- 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 +121 -120
- package/docs/README-ch.md +102 -101
- package/docs/README.md +102 -101
- package/docs/compatibility/compatibility-ch.md +146 -146
- package/docs/compatibility/compatibility-en.md +146 -146
- package/docs/compatibility/deprecation-ch.md +1 -1
- package/docs/compatibility/deprecation-en.md +1 -1
- package/docs/compatibility/source-versioning-ch.md +162 -162
- package/docs/compatibility/source-versioning-en.md +162 -162
- package/docs/compatibility/support-matrix-ch.md +1 -1
- package/docs/compatibility/support-matrix-en.md +1 -1
- package/docs/development/component-development-ch.md +66 -66
- package/docs/development/component-development-en.md +66 -66
- package/docs/development/component-development-reference-ch.md +269 -253
- package/docs/development/component-development-reference-en.md +254 -238
- package/docs/development/component-protocol-ch.md +768 -748
- package/docs/development/component-protocol-en.md +770 -750
- package/docs/development/extension-tutorial-ch.md +308 -308
- package/docs/development/extension-tutorial-en.md +308 -308
- package/docs/development/performance-overview-ch.md +422 -422
- package/docs/development/performance-overview-en.md +422 -422
- package/docs/guides/local-guide-ch.md +532 -532
- package/docs/guides/local-guide-en.md +532 -532
- package/docs/integration/author-tools-ch.md +66 -64
- package/docs/integration/author-tools-en.md +66 -64
- package/docs/integration/compiler-ch.md +90 -49
- package/docs/integration/compiler-en.md +77 -36
- package/docs/integration/directory-discovery-en.md +1 -1
- package/docs/integration/editor-ch.md +295 -295
- package/docs/integration/editor-en.md +303 -303
- package/docs/integration/extension-sdk-ch.md +398 -394
- package/docs/integration/extension-sdk-en.md +383 -379
- package/docs/integration/local-integration-ch.md +648 -646
- package/docs/integration/local-integration-en.md +664 -662
- package/docs/integration/shareable-export-ch.md +307 -307
- package/docs/integration/shareable-export-en.md +309 -309
- package/docs/reference/diagnostics-counting-ch.md +104 -104
- package/docs/reference/diagnostics-counting-en.md +104 -104
- package/docs/reference/html-compatibility-ch.md +93 -93
- package/docs/reference/html-compatibility-en.md +95 -95
- package/docs/reference/local-interaction-syntax-ch.md +724 -724
- package/docs/reference/local-interaction-syntax-en.md +722 -722
- package/docs/reference/public-api-ch.md +114 -7
- package/docs/reference/public-api-en.md +114 -7
- package/docs/reference/theme-protocol-ch.md +198 -198
- package/docs/reference/theme-protocol-en.md +217 -217
- package/docs/releases/release-0.4.0-ch.md +91 -91
- package/docs/releases/release-0.4.0-en.md +91 -91
- package/docs/releases/release-0.4.1-ch.md +25 -25
- package/docs/releases/release-0.4.1-en.md +25 -25
- package/docs/releases/release-0.5.0-ch.md +43 -43
- package/docs/releases/release-0.5.0-en.md +43 -43
- package/docs/releases/release-0.5.1-ch.md +41 -41
- package/docs/releases/release-0.5.1-en.md +41 -41
- package/docs/releases/release-0.5.2-ch.md +37 -37
- package/docs/releases/release-0.5.2-en.md +37 -37
- package/docs/releases/release-0.5.3-ch.md +26 -26
- package/docs/releases/release-0.5.3-en.md +26 -26
- package/docs/releases/release-0.6.0-ch.md +59 -59
- package/docs/releases/release-0.6.0-en.md +59 -59
- package/docs/releases/release-0.6.1-ch.md +29 -29
- package/docs/releases/release-0.6.1-en.md +29 -29
- package/docs/releases/release-0.7.0-ch.md +86 -86
- package/docs/releases/release-0.7.0-en.md +86 -86
- package/docs/releases/release-0.9.3-ch.md +45 -0
- package/docs/releases/release-0.9.3-en.md +45 -0
- package/examples/component-package/README-ch.md +101 -101
- package/examples/component-package/README.md +133 -133
- package/examples/conformance/README-ch.md +55 -55
- package/examples/conformance/README.md +55 -55
- package/examples/conformance/component-protocol-1.json +482 -482
- package/examples/conformance/component-protocol-1.schema.json +76 -76
- package/examples/conformance/local-draft-1.json +50 -50
- package/examples/conformance/local-draft-2.json +212 -212
- package/examples/game-2048-package/LICENSE +21 -21
- package/examples/game-2048-package/NOTICES.md +11 -11
- package/examples/game-2048-package/README-ch.md +91 -91
- package/examples/game-2048-package/README.md +98 -98
- package/examples/game-2048-package/package.json +35 -35
- package/examples/game-2048-package/sample/document.reactive.md +17 -17
- package/examples/game-2048-package/scripts/build-export.mjs +44 -44
- package/examples/game-2048-package/scripts/build.mjs +130 -130
- package/examples/game-2048-package/scripts/verify.mjs +180 -180
- package/examples/game-2048-package/src/component.css +161 -161
- package/examples/game-2048-package/src/components.tsx +326 -326
- package/examples/game-2048-package/src/game-engine.ts +228 -228
- package/examples/game-2048-package/src/harness.tsx +34 -34
- package/examples/game-2048-package/src/manifest.ts +85 -85
- package/examples/game-2048-package/src/node-entry.ts +30 -30
- package/examples/game-2048-package/src/sample.ts +4 -4
- package/examples/game-2048-package/tsconfig.json +15 -15
- package/examples/integration/README-ch.md +114 -82
- package/examples/integration/README.md +114 -82
- package/examples/integration/chat-session/index.mjs +91 -0
- package/examples/integration/chat-session/package.json +10 -0
- package/examples/integration/core/index.mjs +32 -32
- package/examples/integration/extension-sdk/README-ch.md +24 -24
- package/examples/integration/extension-sdk/README.md +24 -24
- 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/examples/integration/worker/index.html +19 -19
- package/examples/integration/worker/main.js +61 -61
- package/examples/integration/worker/package.json +13 -13
- package/examples/integration/worker/worker.js +3 -3
- package/examples/local/README-ch.md +76 -76
- package/examples/local/README.md +76 -76
- package/examples/local/charts.reactive.md +73 -73
- package/examples/local/recipes/invoice-zh.reactive.md +36 -36
- package/examples/local/recipes/invoice.reactive.md +36 -36
- package/examples/local/recipes/workshop-zh.reactive.md +33 -33
- package/examples/local/recipes/workshop.reactive.md +33 -33
- package/examples/local/showcase/README-ch.md +22 -22
- package/examples/local/showcase/README.md +31 -31
- package/examples/local/showcase/explore.reactive.md +102 -102
- package/examples/local/showcase/flow.reactive.md +86 -86
- package/examples/local/showcase/forms.reactive.md +126 -126
- package/examples/local/showcase/functions.reactive.md +119 -119
- package/examples/local/showcase/layout.reactive.md +100 -100
- package/examples/local/showcase/statistics.reactive.md +108 -108
- package/examples/local/showcase/tasks.reactive.md +89 -89
- package/examples/local/showcase/zh/explore.reactive.md +102 -102
- package/examples/local/showcase/zh/flow.reactive.md +86 -86
- package/examples/local/showcase/zh/forms.reactive.md +126 -126
- package/examples/local/showcase/zh/functions.reactive.md +119 -119
- package/examples/local/showcase/zh/layout.reactive.md +100 -100
- package/examples/local/showcase/zh/statistics.reactive.md +108 -108
- package/examples/local/showcase/zh/tasks.reactive.md +89 -89
- package/examples/minimal-extension/README-ch.md +78 -78
- package/examples/minimal-extension/README.md +78 -78
- package/examples/minimal-extension/index.html +15 -15
- package/examples/minimal-extension/package.json +26 -26
- package/examples/minimal-extension/sample/document.reactive.md +10 -10
- package/examples/minimal-extension/scripts/build.mjs +32 -32
- package/examples/minimal-extension/scripts/export.mjs +72 -72
- package/examples/minimal-extension/scripts/test-node.mjs +75 -75
- package/examples/minimal-extension/src/extension.tsx +90 -90
- package/examples/minimal-extension/src/preview.tsx +12 -12
- package/examples/minimal-extension/src/source.ts +4 -4
- package/examples/minimal-extension/tsconfig.json +14 -14
- package/examples/sci-fi-theme/README-ch.md +133 -133
- package/examples/sci-fi-theme/README.md +148 -148
- package/examples/sci-fi-theme/demo/acceptance.reactive.md +454 -454
- package/examples/sci-fi-theme/demo/demo.css +638 -638
- package/examples/sci-fi-theme/demo/document.reactive.md +206 -206
- package/examples/sci-fi-theme/demo/index.html +13 -13
- package/examples/sci-fi-theme/demo/main.tsx +215 -215
- package/examples/sci-fi-theme/docs/design-system-ch.md +245 -245
- package/examples/sci-fi-theme/docs/design-system.md +474 -474
- package/examples/sci-fi-theme/package.json +28 -28
- package/examples/sci-fi-theme/scripts/screenshot.mjs +98 -98
- package/examples/sci-fi-theme/src/components.css +2370 -2370
- package/examples/sci-fi-theme/src/index.ts +6 -6
- package/examples/sci-fi-theme/src/notch.css +142 -142
- package/examples/sci-fi-theme/src/sci-fi.css +7 -7
- package/examples/sci-fi-theme/src/theme.ts +39 -39
- package/examples/sci-fi-theme/tsconfig.json +20 -20
- package/examples/sci-fi-theme/vite.config.ts +24 -24
- package/examples/tetris-package/LICENSE +21 -21
- package/examples/tetris-package/NOTICES.md +11 -11
- package/examples/tetris-package/README-ch.md +91 -91
- package/examples/tetris-package/README.md +95 -95
- package/examples/tetris-package/package.json +35 -35
- package/examples/tetris-package/sample/document.reactive.md +16 -16
- package/examples/tetris-package/scripts/build-export.mjs +44 -44
- package/examples/tetris-package/scripts/build.mjs +130 -130
- package/examples/tetris-package/scripts/verify.mjs +173 -173
- package/examples/tetris-package/src/component.css +145 -145
- package/examples/tetris-package/src/components.tsx +334 -334
- package/examples/tetris-package/src/harness.tsx +34 -34
- package/examples/tetris-package/src/manifests.ts +93 -93
- package/examples/tetris-package/src/node-entry.ts +16 -16
- package/examples/tetris-package/src/sample.ts +4 -4
- package/examples/tetris-package/src/tetris-engine.ts +325 -325
- package/examples/tetris-package/tsconfig.json +15 -15
- package/package.json +61 -2
- package/dist-library/LocalDocumentView-BuqgJZEY.js +0 -109
- package/dist-library/LocalReactiveDocumentCore-CWBe4Mm5.js +0 -275
- package/dist-library/compiler-dxLPB9Ym.js +0 -86
- package/dist-library/config-validation-D3D7Dy2J.js +0 -586
- package/dist-library/controls-DoZyLCrV.js +0 -6740
- package/dist-library/mount-preset-DMZ5wd3t.js +0 -13
- package/dist-library/options-BBp9IcHm.js +0 -121
- package/dist-library/package-core-K5xesGqy.js +0 -117
- package/dist-library/parser-standard-CBA1-hdG.js +0 -9630
- package/dist-library/plugin-packs-Bh1HhLym.js +0 -19
- package/dist-library/props-sJ8vk0cr.js +0 -183
- package/dist-library/react-0DCh-Mar.js +0 -7
- package/dist-library/resources-B0x_w3s9.js +0 -229
- package/dist-library/schema-BryM_VRW.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-B3RI0xOk.js +0 -1123
- package/dist-library/visual-frame-_rcd5HUv.js +0 -48
- package/dist-library/visuals-DkDhNdEZ.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,5 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { T as
|
|
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";
|
|
3
4
|
// src/presets/default-authoring.ts
|
|
4
5
|
var c = Object.freeze([
|
|
5
6
|
{
|
|
@@ -1170,7 +1171,7 @@ function g(e) {
|
|
|
1170
1171
|
};
|
|
1171
1172
|
}
|
|
1172
1173
|
// src/presets/default-semantics.ts
|
|
1173
|
-
var
|
|
1174
|
+
var _ = o, v = {
|
|
1174
1175
|
text: (e = {}) => ({
|
|
1175
1176
|
kind: "string",
|
|
1176
1177
|
coerce: "text",
|
|
@@ -1203,11 +1204,11 @@ var ee = r, _ = {
|
|
|
1203
1204
|
enum: e,
|
|
1204
1205
|
...t
|
|
1205
1206
|
})
|
|
1206
|
-
},
|
|
1207
|
+
}, y = (e = {}) => v.text(e), b = () => v.text(), x = () => v.text(), S = () => v.boolean({
|
|
1207
1208
|
dynamic: !0,
|
|
1208
1209
|
default: !1
|
|
1209
|
-
}),
|
|
1210
|
-
function
|
|
1210
|
+
}), C = () => v.staticText({ color: !0 });
|
|
1211
|
+
function ee() {
|
|
1211
1212
|
return Object.freeze({
|
|
1212
1213
|
interactive: !0,
|
|
1213
1214
|
static: !0,
|
|
@@ -1215,7 +1216,7 @@ function te() {
|
|
|
1215
1216
|
offline: !0
|
|
1216
1217
|
});
|
|
1217
1218
|
}
|
|
1218
|
-
function
|
|
1219
|
+
function w(e, t, n, r = {}) {
|
|
1219
1220
|
return Object.freeze({
|
|
1220
1221
|
kind: e,
|
|
1221
1222
|
family: t,
|
|
@@ -1225,7 +1226,7 @@ function C(e, t, n, r = {}) {
|
|
|
1225
1226
|
...r
|
|
1226
1227
|
});
|
|
1227
1228
|
}
|
|
1228
|
-
function
|
|
1229
|
+
function T(e, t, n = {}) {
|
|
1229
1230
|
return Object.freeze({
|
|
1230
1231
|
kind: "number",
|
|
1231
1232
|
family: "number",
|
|
@@ -1236,57 +1237,57 @@ function w(e, t, n = {}) {
|
|
|
1236
1237
|
...n
|
|
1237
1238
|
});
|
|
1238
1239
|
}
|
|
1239
|
-
var
|
|
1240
|
+
var E = (e, t, n = "step") => ({
|
|
1240
1241
|
min: { prop: e },
|
|
1241
1242
|
max: { prop: t },
|
|
1242
1243
|
step: { prop: n }
|
|
1243
1244
|
});
|
|
1244
|
-
function
|
|
1245
|
+
function D(e) {
|
|
1245
1246
|
return Object.freeze(e);
|
|
1246
1247
|
}
|
|
1247
|
-
function
|
|
1248
|
+
function O(...e) {
|
|
1248
1249
|
return Object.freeze(e.map((e) => Object.freeze(e)));
|
|
1249
1250
|
}
|
|
1250
|
-
function
|
|
1251
|
-
return
|
|
1251
|
+
function k(e, t, n) {
|
|
1252
|
+
return a({
|
|
1252
1253
|
id: `reactive-md/${e}`,
|
|
1253
1254
|
name: e,
|
|
1254
|
-
version:
|
|
1255
|
-
protocol:
|
|
1255
|
+
version: _,
|
|
1256
|
+
protocol: s,
|
|
1256
1257
|
form: t,
|
|
1257
|
-
capabilities:
|
|
1258
|
+
capabilities: ee(),
|
|
1258
1259
|
...n
|
|
1259
1260
|
});
|
|
1260
1261
|
}
|
|
1261
|
-
var
|
|
1262
|
+
var A = k("input", "leaf", {
|
|
1262
1263
|
props: {
|
|
1263
|
-
label:
|
|
1264
|
-
type:
|
|
1264
|
+
label: y(),
|
|
1265
|
+
type: v.choice(["text", "email"], {
|
|
1265
1266
|
static: !0,
|
|
1266
1267
|
default: "text"
|
|
1267
1268
|
}),
|
|
1268
|
-
placeholder:
|
|
1269
|
-
required:
|
|
1269
|
+
placeholder: v.text(),
|
|
1270
|
+
required: v.boolean({
|
|
1270
1271
|
dynamic: !0,
|
|
1271
1272
|
default: !1
|
|
1272
1273
|
}),
|
|
1273
|
-
"min-length":
|
|
1274
|
+
"min-length": v.number({
|
|
1274
1275
|
integer: !0,
|
|
1275
1276
|
min: 0,
|
|
1276
1277
|
default: 0
|
|
1277
1278
|
}),
|
|
1278
|
-
"max-length":
|
|
1279
|
+
"max-length": v.number({
|
|
1279
1280
|
integer: !0,
|
|
1280
1281
|
min: 0
|
|
1281
1282
|
}),
|
|
1282
|
-
disabled:
|
|
1283
|
+
disabled: S()
|
|
1283
1284
|
},
|
|
1284
|
-
bindings: { value:
|
|
1285
|
-
structure:
|
|
1285
|
+
bindings: { value: w("string", "text", "empty") },
|
|
1286
|
+
structure: D({
|
|
1286
1287
|
rule: "none",
|
|
1287
1288
|
label: "required"
|
|
1288
1289
|
}),
|
|
1289
|
-
rules:
|
|
1290
|
+
rules: O({
|
|
1290
1291
|
kind: "text-length",
|
|
1291
1292
|
min: "min-length",
|
|
1292
1293
|
max: "max-length"
|
|
@@ -1303,36 +1304,36 @@ var k = O("input", "leaf", {
|
|
|
1303
1304
|
kind: "value-required",
|
|
1304
1305
|
required: "required"
|
|
1305
1306
|
})
|
|
1306
|
-
}),
|
|
1307
|
+
}), j = k("textarea", "leaf", {
|
|
1307
1308
|
props: {
|
|
1308
|
-
label:
|
|
1309
|
-
placeholder:
|
|
1310
|
-
rows:
|
|
1309
|
+
label: y(),
|
|
1310
|
+
placeholder: v.text(),
|
|
1311
|
+
rows: v.number({
|
|
1311
1312
|
integer: !0,
|
|
1312
1313
|
positive: !0,
|
|
1313
1314
|
default: 4
|
|
1314
1315
|
}),
|
|
1315
|
-
required:
|
|
1316
|
+
required: v.boolean({
|
|
1316
1317
|
dynamic: !0,
|
|
1317
1318
|
default: !1
|
|
1318
1319
|
}),
|
|
1319
|
-
"min-length":
|
|
1320
|
+
"min-length": v.number({
|
|
1320
1321
|
integer: !0,
|
|
1321
1322
|
min: 0,
|
|
1322
1323
|
default: 0
|
|
1323
1324
|
}),
|
|
1324
|
-
"max-length":
|
|
1325
|
+
"max-length": v.number({
|
|
1325
1326
|
integer: !0,
|
|
1326
1327
|
min: 0
|
|
1327
1328
|
}),
|
|
1328
|
-
disabled:
|
|
1329
|
+
disabled: S()
|
|
1329
1330
|
},
|
|
1330
|
-
bindings: { value:
|
|
1331
|
-
structure:
|
|
1331
|
+
bindings: { value: w("string", "text", "empty") },
|
|
1332
|
+
structure: D({
|
|
1332
1333
|
rule: "none",
|
|
1333
1334
|
label: "required"
|
|
1334
1335
|
}),
|
|
1335
|
-
rules:
|
|
1336
|
+
rules: O({
|
|
1336
1337
|
kind: "text-length",
|
|
1337
1338
|
min: "min-length",
|
|
1338
1339
|
max: "max-length"
|
|
@@ -1347,23 +1348,23 @@ var k = O("input", "leaf", {
|
|
|
1347
1348
|
kind: "value-required",
|
|
1348
1349
|
required: "required"
|
|
1349
1350
|
})
|
|
1350
|
-
}),
|
|
1351
|
+
}), M = k("number", "leaf", {
|
|
1351
1352
|
props: {
|
|
1352
|
-
label:
|
|
1353
|
-
min:
|
|
1354
|
-
max:
|
|
1355
|
-
step:
|
|
1353
|
+
label: y(),
|
|
1354
|
+
min: v.number({ dynamic: !0 }),
|
|
1355
|
+
max: v.number({ dynamic: !0 }),
|
|
1356
|
+
step: v.number({
|
|
1356
1357
|
positive: !0,
|
|
1357
1358
|
default: 1
|
|
1358
1359
|
}),
|
|
1359
|
-
disabled:
|
|
1360
|
+
disabled: S()
|
|
1360
1361
|
},
|
|
1361
|
-
bindings: { value:
|
|
1362
|
-
structure:
|
|
1362
|
+
bindings: { value: w("number", "number", "nearest-zero", { constraints: E("min", "max") }) },
|
|
1363
|
+
structure: D({
|
|
1363
1364
|
rule: "none",
|
|
1364
1365
|
label: "required"
|
|
1365
1366
|
}),
|
|
1366
|
-
rules:
|
|
1367
|
+
rules: O({
|
|
1367
1368
|
kind: "numeric-range",
|
|
1368
1369
|
min: "min",
|
|
1369
1370
|
max: "max",
|
|
@@ -1372,30 +1373,30 @@ var k = O("input", "leaf", {
|
|
|
1372
1373
|
kind: "dynamic-constraints",
|
|
1373
1374
|
attributes: ["min", "max"]
|
|
1374
1375
|
})
|
|
1375
|
-
}),
|
|
1376
|
+
}), N = k("slider", "leaf", {
|
|
1376
1377
|
props: {
|
|
1377
|
-
label:
|
|
1378
|
-
min:
|
|
1378
|
+
label: y(),
|
|
1379
|
+
min: v.number({
|
|
1379
1380
|
dynamic: !0,
|
|
1380
1381
|
default: 0
|
|
1381
1382
|
}),
|
|
1382
|
-
max:
|
|
1383
|
+
max: v.number({
|
|
1383
1384
|
dynamic: !0,
|
|
1384
1385
|
default: 100
|
|
1385
1386
|
}),
|
|
1386
|
-
step:
|
|
1387
|
+
step: v.number({
|
|
1387
1388
|
positive: !0,
|
|
1388
1389
|
default: 1
|
|
1389
1390
|
}),
|
|
1390
|
-
disabled:
|
|
1391
|
-
color:
|
|
1391
|
+
disabled: S(),
|
|
1392
|
+
color: C()
|
|
1392
1393
|
},
|
|
1393
|
-
bindings: { value:
|
|
1394
|
-
structure:
|
|
1394
|
+
bindings: { value: w("number", "number", "min", { constraints: E("min", "max") }) },
|
|
1395
|
+
structure: D({
|
|
1395
1396
|
rule: "none",
|
|
1396
1397
|
label: "required"
|
|
1397
1398
|
}),
|
|
1398
|
-
rules:
|
|
1399
|
+
rules: O({
|
|
1399
1400
|
kind: "numeric-range",
|
|
1400
1401
|
min: "min",
|
|
1401
1402
|
max: "max",
|
|
@@ -1404,67 +1405,67 @@ var k = O("input", "leaf", {
|
|
|
1404
1405
|
kind: "dynamic-constraints",
|
|
1405
1406
|
attributes: ["min", "max"]
|
|
1406
1407
|
})
|
|
1407
|
-
}),
|
|
1408
|
+
}), P = k("range-slider", "leaf", {
|
|
1408
1409
|
props: {
|
|
1409
|
-
label:
|
|
1410
|
-
min:
|
|
1411
|
-
max:
|
|
1412
|
-
step:
|
|
1410
|
+
label: y(),
|
|
1411
|
+
min: v.number({ default: 0 }),
|
|
1412
|
+
max: v.number({ default: 100 }),
|
|
1413
|
+
step: v.number({
|
|
1413
1414
|
positive: !0,
|
|
1414
1415
|
default: 1
|
|
1415
1416
|
}),
|
|
1416
|
-
disabled:
|
|
1417
|
-
color:
|
|
1417
|
+
disabled: S(),
|
|
1418
|
+
color: C()
|
|
1418
1419
|
},
|
|
1419
1420
|
bindings: {
|
|
1420
|
-
start:
|
|
1421
|
-
end:
|
|
1421
|
+
start: T("start", "min", { constraints: E("min", "max") }),
|
|
1422
|
+
end: T("end", "max-step", { constraints: E("min", "max") })
|
|
1422
1423
|
},
|
|
1423
1424
|
slotRelations: [{
|
|
1424
1425
|
lower: "start",
|
|
1425
1426
|
upper: "end"
|
|
1426
1427
|
}],
|
|
1427
|
-
structure:
|
|
1428
|
+
structure: D({
|
|
1428
1429
|
rule: "none",
|
|
1429
1430
|
label: "required"
|
|
1430
1431
|
}),
|
|
1431
|
-
rules:
|
|
1432
|
+
rules: O({
|
|
1432
1433
|
kind: "numeric-range",
|
|
1433
1434
|
min: "min",
|
|
1434
1435
|
max: "max",
|
|
1435
1436
|
step: "step"
|
|
1436
1437
|
})
|
|
1437
|
-
}),
|
|
1438
|
+
}), F = k("coordinate", "leaf", {
|
|
1438
1439
|
props: {
|
|
1439
|
-
label:
|
|
1440
|
-
"x-min":
|
|
1441
|
-
"x-max":
|
|
1442
|
-
"y-min":
|
|
1443
|
-
"y-max":
|
|
1444
|
-
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({
|
|
1445
1446
|
positive: !0,
|
|
1446
1447
|
default: 1
|
|
1447
1448
|
}),
|
|
1448
|
-
disabled:
|
|
1449
|
-
color:
|
|
1449
|
+
disabled: S(),
|
|
1450
|
+
color: C()
|
|
1450
1451
|
},
|
|
1451
1452
|
bindings: {
|
|
1452
|
-
x:
|
|
1453
|
+
x: T("x", "nearest-zero", { constraints: {
|
|
1453
1454
|
min: { prop: "x-min" },
|
|
1454
1455
|
max: { prop: "x-max" },
|
|
1455
1456
|
step: { prop: "step" }
|
|
1456
1457
|
} }),
|
|
1457
|
-
y:
|
|
1458
|
+
y: T("y", "nearest-zero", { constraints: {
|
|
1458
1459
|
min: { prop: "y-min" },
|
|
1459
1460
|
max: { prop: "y-max" },
|
|
1460
1461
|
step: { prop: "step" }
|
|
1461
1462
|
} })
|
|
1462
1463
|
},
|
|
1463
|
-
structure:
|
|
1464
|
+
structure: D({
|
|
1464
1465
|
rule: "none",
|
|
1465
1466
|
label: "required"
|
|
1466
1467
|
}),
|
|
1467
|
-
rules:
|
|
1468
|
+
rules: O({
|
|
1468
1469
|
kind: "numeric-range",
|
|
1469
1470
|
min: "x-min",
|
|
1470
1471
|
max: "x-max",
|
|
@@ -1474,45 +1475,45 @@ var k = O("input", "leaf", {
|
|
|
1474
1475
|
min: "y-min",
|
|
1475
1476
|
max: "y-max"
|
|
1476
1477
|
})
|
|
1477
|
-
}),
|
|
1478
|
+
}), I = k("toggle", "leaf", {
|
|
1478
1479
|
props: {
|
|
1479
|
-
label:
|
|
1480
|
-
disabled:
|
|
1481
|
-
color:
|
|
1480
|
+
label: y(),
|
|
1481
|
+
disabled: S(),
|
|
1482
|
+
color: C()
|
|
1482
1483
|
},
|
|
1483
|
-
bindings: { value:
|
|
1484
|
-
structure:
|
|
1484
|
+
bindings: { value: w("boolean", "boolean", "false") },
|
|
1485
|
+
structure: D({
|
|
1485
1486
|
rule: "none",
|
|
1486
1487
|
label: "required"
|
|
1487
1488
|
})
|
|
1488
|
-
}),
|
|
1489
|
+
}), L = k("checkbox", "leaf", {
|
|
1489
1490
|
props: {
|
|
1490
|
-
label:
|
|
1491
|
-
disabled:
|
|
1492
|
-
color:
|
|
1491
|
+
label: y(),
|
|
1492
|
+
disabled: S(),
|
|
1493
|
+
color: C()
|
|
1493
1494
|
},
|
|
1494
|
-
bindings: { value:
|
|
1495
|
-
structure:
|
|
1495
|
+
bindings: { value: w("boolean", "boolean", "false") },
|
|
1496
|
+
structure: D({
|
|
1496
1497
|
rule: "none",
|
|
1497
1498
|
label: "required"
|
|
1498
1499
|
})
|
|
1499
|
-
}),
|
|
1500
|
+
}), R = k("date", "leaf", {
|
|
1500
1501
|
props: {
|
|
1501
|
-
label:
|
|
1502
|
-
min:
|
|
1503
|
-
max:
|
|
1504
|
-
required:
|
|
1502
|
+
label: y(),
|
|
1503
|
+
min: v.dynamicText(),
|
|
1504
|
+
max: v.dynamicText(),
|
|
1505
|
+
required: v.boolean({
|
|
1505
1506
|
dynamic: !0,
|
|
1506
1507
|
default: !1
|
|
1507
1508
|
}),
|
|
1508
|
-
disabled:
|
|
1509
|
+
disabled: S()
|
|
1509
1510
|
},
|
|
1510
|
-
bindings: { value:
|
|
1511
|
-
structure:
|
|
1511
|
+
bindings: { value: w("string", "date", "empty") },
|
|
1512
|
+
structure: D({
|
|
1512
1513
|
rule: "none",
|
|
1513
1514
|
label: "required"
|
|
1514
1515
|
}),
|
|
1515
|
-
rules:
|
|
1516
|
+
rules: O({
|
|
1516
1517
|
kind: "date-bounds",
|
|
1517
1518
|
min: "min",
|
|
1518
1519
|
max: "max"
|
|
@@ -1530,111 +1531,111 @@ var k = O("input", "leaf", {
|
|
|
1530
1531
|
required: "required"
|
|
1531
1532
|
})
|
|
1532
1533
|
});
|
|
1533
|
-
function
|
|
1534
|
-
return
|
|
1534
|
+
function z(e, t = "container") {
|
|
1535
|
+
return k(e, t, {
|
|
1535
1536
|
props: {
|
|
1536
|
-
label:
|
|
1537
|
-
disabled:
|
|
1538
|
-
color:
|
|
1537
|
+
label: y(),
|
|
1538
|
+
disabled: S(),
|
|
1539
|
+
color: C()
|
|
1539
1540
|
},
|
|
1540
|
-
bindings: { value:
|
|
1541
|
-
structure:
|
|
1541
|
+
bindings: { value: w("string", "choice", "first-option") },
|
|
1542
|
+
structure: D({
|
|
1542
1543
|
rule: "options",
|
|
1543
1544
|
label: "required",
|
|
1544
1545
|
child: "option",
|
|
1545
1546
|
children: ["option"],
|
|
1546
1547
|
min: 1,
|
|
1547
|
-
max:
|
|
1548
|
+
max: n,
|
|
1548
1549
|
valueAttribute: "value"
|
|
1549
1550
|
}),
|
|
1550
|
-
rules:
|
|
1551
|
+
rules: O({
|
|
1551
1552
|
kind: "options-body",
|
|
1552
1553
|
child: "option",
|
|
1553
1554
|
valueAttribute: "value",
|
|
1554
1555
|
unique: !0,
|
|
1555
|
-
max:
|
|
1556
|
+
max: n
|
|
1556
1557
|
})
|
|
1557
1558
|
});
|
|
1558
1559
|
}
|
|
1559
|
-
var
|
|
1560
|
+
var B = z("select"), V = z("choices"), H = z("radio-group"), U = k("multi-select", "container", {
|
|
1560
1561
|
props: {
|
|
1561
|
-
label:
|
|
1562
|
-
"max-selected":
|
|
1562
|
+
label: y(),
|
|
1563
|
+
"max-selected": v.number({
|
|
1563
1564
|
integer: !0,
|
|
1564
1565
|
min: 0
|
|
1565
1566
|
}),
|
|
1566
|
-
disabled:
|
|
1567
|
-
color:
|
|
1567
|
+
disabled: S(),
|
|
1568
|
+
color: C()
|
|
1568
1569
|
},
|
|
1569
|
-
bindings: { value:
|
|
1570
|
+
bindings: { value: w("array", "multi-select", "empty-array", {
|
|
1570
1571
|
exclusive: !0,
|
|
1571
1572
|
maxItems: { prop: "max-selected" }
|
|
1572
1573
|
}) },
|
|
1573
|
-
structure:
|
|
1574
|
+
structure: D({
|
|
1574
1575
|
rule: "options",
|
|
1575
1576
|
label: "required",
|
|
1576
1577
|
child: "option",
|
|
1577
1578
|
children: ["option"],
|
|
1578
1579
|
min: 1,
|
|
1579
|
-
max:
|
|
1580
|
+
max: n,
|
|
1580
1581
|
valueAttribute: "value",
|
|
1581
1582
|
forbidSeparator: ","
|
|
1582
1583
|
}),
|
|
1583
|
-
rules:
|
|
1584
|
+
rules: O({
|
|
1584
1585
|
kind: "options-body",
|
|
1585
1586
|
child: "option",
|
|
1586
1587
|
valueAttribute: "value",
|
|
1587
1588
|
unique: !0,
|
|
1588
|
-
max:
|
|
1589
|
+
max: n,
|
|
1589
1590
|
forbidSeparator: ","
|
|
1590
1591
|
}, {
|
|
1591
1592
|
kind: "option-count",
|
|
1592
1593
|
max: "max-selected"
|
|
1593
1594
|
})
|
|
1594
|
-
}),
|
|
1595
|
-
props: { value:
|
|
1596
|
-
structure:
|
|
1595
|
+
}), W = k("option", "container", {
|
|
1596
|
+
props: { value: v.staticText({ required: !0 }) },
|
|
1597
|
+
structure: D({
|
|
1597
1598
|
rule: "inline",
|
|
1598
1599
|
label: "none",
|
|
1599
1600
|
inlineOnly: !0,
|
|
1600
1601
|
noComponents: !0
|
|
1601
1602
|
}),
|
|
1602
|
-
rules:
|
|
1603
|
+
rules: O({
|
|
1603
1604
|
kind: "inline-body",
|
|
1604
1605
|
strict: !0
|
|
1605
1606
|
}, { kind: "no-components" })
|
|
1606
|
-
}),
|
|
1607
|
+
}), G = k("counter", "leaf", {
|
|
1607
1608
|
props: {
|
|
1608
|
-
label:
|
|
1609
|
-
min:
|
|
1610
|
-
max:
|
|
1611
|
-
step:
|
|
1609
|
+
label: y(),
|
|
1610
|
+
min: v.number({ default: 0 }),
|
|
1611
|
+
max: v.number(),
|
|
1612
|
+
step: v.number({
|
|
1612
1613
|
positive: !0,
|
|
1613
1614
|
default: 1
|
|
1614
1615
|
}),
|
|
1615
|
-
disabled:
|
|
1616
|
+
disabled: S()
|
|
1616
1617
|
},
|
|
1617
|
-
bindings: { value:
|
|
1618
|
-
structure:
|
|
1618
|
+
bindings: { value: w("number", "number", "nearest-zero", { constraints: E("min", "max") }) },
|
|
1619
|
+
structure: D({
|
|
1619
1620
|
rule: "none",
|
|
1620
1621
|
label: "required"
|
|
1621
1622
|
}),
|
|
1622
|
-
rules:
|
|
1623
|
+
rules: O({
|
|
1623
1624
|
kind: "numeric-range",
|
|
1624
1625
|
min: "min",
|
|
1625
1626
|
max: "max",
|
|
1626
1627
|
step: "step"
|
|
1627
1628
|
})
|
|
1628
|
-
}),
|
|
1629
|
+
}), K = k("timer", "leaf", {
|
|
1629
1630
|
props: {
|
|
1630
|
-
label:
|
|
1631
|
-
duration:
|
|
1631
|
+
label: y(),
|
|
1632
|
+
duration: v.number({
|
|
1632
1633
|
integer: !0,
|
|
1633
1634
|
positive: !0,
|
|
1634
1635
|
default: 60
|
|
1635
1636
|
})
|
|
1636
1637
|
},
|
|
1637
|
-
bindings: { value:
|
|
1638
|
+
bindings: { value: w("number", "timer", "duration", {
|
|
1638
1639
|
exclusive: !0,
|
|
1639
1640
|
constraints: {
|
|
1640
1641
|
min: { literal: 0 },
|
|
@@ -1643,11 +1644,11 @@ var z = R("select"), B = R("choices"), V = R("radio-group"), H = O("multi-select
|
|
|
1643
1644
|
},
|
|
1644
1645
|
retain: !1
|
|
1645
1646
|
}) },
|
|
1646
|
-
structure:
|
|
1647
|
+
structure: D({
|
|
1647
1648
|
rule: "none",
|
|
1648
1649
|
label: "required"
|
|
1649
1650
|
}),
|
|
1650
|
-
rules:
|
|
1651
|
+
rules: O({
|
|
1651
1652
|
kind: "timer-duration",
|
|
1652
1653
|
attribute: "duration",
|
|
1653
1654
|
default: 60
|
|
@@ -1655,184 +1656,184 @@ var z = R("select"), B = R("choices"), V = R("radio-group"), H = O("multi-select
|
|
|
1655
1656
|
kind: "retain",
|
|
1656
1657
|
value: !1
|
|
1657
1658
|
})
|
|
1658
|
-
}),
|
|
1659
|
+
}), q = k("checklist", "container", {
|
|
1659
1660
|
props: {
|
|
1660
|
-
label:
|
|
1661
|
-
disabled:
|
|
1662
|
-
color:
|
|
1661
|
+
label: y(),
|
|
1662
|
+
disabled: S(),
|
|
1663
|
+
color: C()
|
|
1663
1664
|
},
|
|
1664
|
-
bindings: { value:
|
|
1665
|
+
bindings: { value: w("array", "checklist", "checked", {
|
|
1665
1666
|
exclusive: !0,
|
|
1666
1667
|
retain: !1
|
|
1667
1668
|
}) },
|
|
1668
|
-
structure:
|
|
1669
|
+
structure: D({
|
|
1669
1670
|
rule: "content",
|
|
1670
1671
|
label: "required",
|
|
1671
1672
|
noComponents: !0
|
|
1672
1673
|
}),
|
|
1673
|
-
rules:
|
|
1674
|
+
rules: O({
|
|
1674
1675
|
kind: "checklist-body",
|
|
1675
|
-
itemLimit:
|
|
1676
|
+
itemLimit: n
|
|
1676
1677
|
}, {
|
|
1677
1678
|
kind: "retain",
|
|
1678
1679
|
value: !1
|
|
1679
1680
|
})
|
|
1680
|
-
}),
|
|
1681
|
+
}), J = k("progress", "leaf", {
|
|
1681
1682
|
props: {
|
|
1682
|
-
label:
|
|
1683
|
-
value:
|
|
1683
|
+
label: y(),
|
|
1684
|
+
value: v.number({
|
|
1684
1685
|
dynamic: !0,
|
|
1685
1686
|
required: !0
|
|
1686
1687
|
}),
|
|
1687
|
-
max:
|
|
1688
|
+
max: v.number({
|
|
1688
1689
|
positive: !0,
|
|
1689
1690
|
default: 100
|
|
1690
1691
|
}),
|
|
1691
|
-
color:
|
|
1692
|
+
color: C()
|
|
1692
1693
|
},
|
|
1693
|
-
structure:
|
|
1694
|
+
structure: D({
|
|
1694
1695
|
rule: "none",
|
|
1695
1696
|
label: "required"
|
|
1696
1697
|
}),
|
|
1697
|
-
rules:
|
|
1698
|
+
rules: O({
|
|
1698
1699
|
kind: "progress-bounds",
|
|
1699
1700
|
value: "value",
|
|
1700
1701
|
max: "max",
|
|
1701
1702
|
defaultMax: 100
|
|
1702
1703
|
})
|
|
1703
|
-
}),
|
|
1704
|
+
}), Y = k("jump", "inline", {
|
|
1704
1705
|
props: {
|
|
1705
|
-
to:
|
|
1706
|
-
appearance:
|
|
1706
|
+
to: v.staticText({ required: !0 }),
|
|
1707
|
+
appearance: v.choice(["link", "button"], {
|
|
1707
1708
|
static: !0,
|
|
1708
1709
|
default: "link"
|
|
1709
1710
|
}),
|
|
1710
|
-
color:
|
|
1711
|
+
color: C()
|
|
1711
1712
|
},
|
|
1712
|
-
structure:
|
|
1713
|
+
structure: D({
|
|
1713
1714
|
rule: "inline",
|
|
1714
1715
|
label: "none",
|
|
1715
1716
|
inlineOnly: !0,
|
|
1716
1717
|
noComponents: !0
|
|
1717
1718
|
}),
|
|
1718
|
-
rules:
|
|
1719
|
+
rules: O({
|
|
1719
1720
|
kind: "inline-body",
|
|
1720
1721
|
strict: !0
|
|
1721
1722
|
}, { kind: "no-components" }, {
|
|
1722
1723
|
kind: "navigation",
|
|
1723
1724
|
target: "to"
|
|
1724
1725
|
})
|
|
1725
|
-
}),
|
|
1726
|
-
props: { id:
|
|
1727
|
-
structure:
|
|
1726
|
+
}), X = k("anchor", "leaf", {
|
|
1727
|
+
props: { id: v.staticText({ required: !0 }) },
|
|
1728
|
+
structure: D({
|
|
1728
1729
|
rule: "none",
|
|
1729
1730
|
label: "none"
|
|
1730
1731
|
}),
|
|
1731
|
-
rules:
|
|
1732
|
+
rules: O({
|
|
1732
1733
|
kind: "anchor",
|
|
1733
1734
|
id: "id"
|
|
1734
1735
|
})
|
|
1735
|
-
}),
|
|
1736
|
-
props: { color:
|
|
1736
|
+
}), Z = k("text", "inline", {
|
|
1737
|
+
props: { color: v.staticText({
|
|
1737
1738
|
required: !0,
|
|
1738
1739
|
color: !0
|
|
1739
1740
|
}) },
|
|
1740
|
-
structure:
|
|
1741
|
+
structure: D({
|
|
1741
1742
|
rule: "inline",
|
|
1742
1743
|
label: "none",
|
|
1743
1744
|
inlineOnly: !0,
|
|
1744
1745
|
noComponents: !0
|
|
1745
1746
|
}),
|
|
1746
|
-
rules:
|
|
1747
|
+
rules: O({
|
|
1747
1748
|
kind: "inline-body",
|
|
1748
1749
|
strict: !0
|
|
1749
1750
|
}, { kind: "no-components" })
|
|
1750
|
-
}),
|
|
1751
|
-
props: { color:
|
|
1751
|
+
}), te = k("section", "container", {
|
|
1752
|
+
props: { color: v.staticText({
|
|
1752
1753
|
required: !0,
|
|
1753
1754
|
color: !0
|
|
1754
1755
|
}) },
|
|
1755
|
-
structure:
|
|
1756
|
+
structure: D({
|
|
1756
1757
|
rule: "any",
|
|
1757
1758
|
label: "none"
|
|
1758
1759
|
})
|
|
1759
|
-
}),
|
|
1760
|
+
}), Q = k("quiz", "container", {
|
|
1760
1761
|
props: {
|
|
1761
|
-
type:
|
|
1762
|
+
type: v.choice(["choice", "number"], {
|
|
1762
1763
|
static: !0,
|
|
1763
1764
|
default: "choice"
|
|
1764
1765
|
}),
|
|
1765
|
-
label:
|
|
1766
|
-
answer:
|
|
1767
|
-
explanation:
|
|
1768
|
-
tolerance:
|
|
1766
|
+
label: y(),
|
|
1767
|
+
answer: v.staticText({ required: !0 }),
|
|
1768
|
+
explanation: v.text(),
|
|
1769
|
+
tolerance: v.number({
|
|
1769
1770
|
min: 0,
|
|
1770
1771
|
default: 0
|
|
1771
1772
|
}),
|
|
1772
|
-
disabled:
|
|
1773
|
+
disabled: S()
|
|
1773
1774
|
},
|
|
1774
|
-
structure:
|
|
1775
|
+
structure: D({
|
|
1775
1776
|
rule: "quiz",
|
|
1776
1777
|
label: "required",
|
|
1777
1778
|
child: "option",
|
|
1778
1779
|
children: ["option"],
|
|
1779
|
-
max:
|
|
1780
|
+
max: n,
|
|
1780
1781
|
valueAttribute: "value"
|
|
1781
1782
|
}),
|
|
1782
|
-
rules:
|
|
1783
|
+
rules: O({
|
|
1783
1784
|
kind: "quiz-body",
|
|
1784
1785
|
type: "type",
|
|
1785
1786
|
answer: "answer",
|
|
1786
1787
|
tolerance: "tolerance",
|
|
1787
1788
|
child: "option",
|
|
1788
1789
|
valueAttribute: "value",
|
|
1789
|
-
max:
|
|
1790
|
+
max: n
|
|
1790
1791
|
}, {
|
|
1791
1792
|
kind: "nonempty",
|
|
1792
1793
|
attribute: "answer"
|
|
1793
1794
|
})
|
|
1794
|
-
}),
|
|
1795
|
+
}), ne = k("panel", "container", {
|
|
1795
1796
|
props: {
|
|
1796
|
-
title:
|
|
1797
|
-
reset:
|
|
1797
|
+
title: x(),
|
|
1798
|
+
reset: v.boolean({ default: !0 })
|
|
1798
1799
|
},
|
|
1799
|
-
structure:
|
|
1800
|
+
structure: D({
|
|
1800
1801
|
rule: "any",
|
|
1801
1802
|
label: "none"
|
|
1802
1803
|
}),
|
|
1803
|
-
rules:
|
|
1804
|
+
rules: O({
|
|
1804
1805
|
kind: "self-binding-read",
|
|
1805
1806
|
mode: "always"
|
|
1806
1807
|
})
|
|
1807
|
-
}),
|
|
1808
|
-
props: { title:
|
|
1809
|
-
structure:
|
|
1808
|
+
}), re = k("card", "container", {
|
|
1809
|
+
props: { title: x() },
|
|
1810
|
+
structure: D({
|
|
1810
1811
|
rule: "any",
|
|
1811
1812
|
label: "none"
|
|
1812
1813
|
})
|
|
1813
|
-
}),
|
|
1814
|
-
props: { columns:
|
|
1814
|
+
}), ie = k("grid", "container", {
|
|
1815
|
+
props: { columns: v.number({
|
|
1815
1816
|
integer: !0,
|
|
1816
1817
|
min: 1,
|
|
1817
1818
|
max: 4,
|
|
1818
1819
|
default: 2
|
|
1819
1820
|
}) },
|
|
1820
|
-
structure:
|
|
1821
|
+
structure: D({
|
|
1821
1822
|
rule: "components",
|
|
1822
1823
|
label: "none",
|
|
1823
1824
|
child: "card",
|
|
1824
1825
|
children: ["card"],
|
|
1825
1826
|
min: 1
|
|
1826
1827
|
}),
|
|
1827
|
-
rules:
|
|
1828
|
+
rules: O({
|
|
1828
1829
|
kind: "only-children",
|
|
1829
1830
|
children: ["card"],
|
|
1830
1831
|
min: 1
|
|
1831
1832
|
})
|
|
1832
|
-
}),
|
|
1833
|
+
}), ae = k("gallery", "container", {
|
|
1833
1834
|
props: {
|
|
1834
|
-
label:
|
|
1835
|
-
"item-width":
|
|
1835
|
+
label: y({ required: !0 }),
|
|
1836
|
+
"item-width": v.number({
|
|
1836
1837
|
dynamic: !0,
|
|
1837
1838
|
integer: !0,
|
|
1838
1839
|
default: 280,
|
|
@@ -1840,28 +1841,28 @@ var z = R("select"), B = R("choices"), V = R("radio-group"), H = O("multi-select
|
|
|
1840
1841
|
max: 480
|
|
1841
1842
|
})
|
|
1842
1843
|
},
|
|
1843
|
-
structure:
|
|
1844
|
+
structure: D({
|
|
1844
1845
|
rule: "components",
|
|
1845
1846
|
label: "required",
|
|
1846
1847
|
child: "gallery-item",
|
|
1847
1848
|
children: ["gallery-item"],
|
|
1848
1849
|
min: 1
|
|
1849
1850
|
}),
|
|
1850
|
-
rules:
|
|
1851
|
+
rules: O({
|
|
1851
1852
|
kind: "only-children",
|
|
1852
1853
|
children: ["gallery-item"],
|
|
1853
1854
|
min: 1
|
|
1854
1855
|
})
|
|
1855
|
-
}),
|
|
1856
|
-
props: { label:
|
|
1857
|
-
structure:
|
|
1856
|
+
}), oe = k("gallery-item", "container", {
|
|
1857
|
+
props: { label: b() },
|
|
1858
|
+
structure: D({
|
|
1858
1859
|
rule: "any",
|
|
1859
1860
|
label: "none"
|
|
1860
1861
|
})
|
|
1861
|
-
}),
|
|
1862
|
-
props: { label:
|
|
1863
|
-
bindings: { value:
|
|
1864
|
-
structure:
|
|
1862
|
+
}), se = k("tabs", "container", {
|
|
1863
|
+
props: { label: b() },
|
|
1864
|
+
bindings: { value: w("string", "tabs", "first-tab", { exclusive: !0 }) },
|
|
1865
|
+
structure: D({
|
|
1865
1866
|
rule: "tabs",
|
|
1866
1867
|
label: "optional",
|
|
1867
1868
|
child: "tab",
|
|
@@ -1870,7 +1871,7 @@ var z = R("select"), B = R("choices"), V = R("radio-group"), H = O("multi-select
|
|
|
1870
1871
|
valueAttribute: "value",
|
|
1871
1872
|
generatedPrefix: "tab-"
|
|
1872
1873
|
}),
|
|
1873
|
-
rules:
|
|
1874
|
+
rules: O({
|
|
1874
1875
|
kind: "value-sequence",
|
|
1875
1876
|
child: "tab",
|
|
1876
1877
|
valueAttribute: "value",
|
|
@@ -1878,20 +1879,20 @@ var z = R("select"), B = R("choices"), V = R("radio-group"), H = O("multi-select
|
|
|
1878
1879
|
generatedPrefix: "tab-",
|
|
1879
1880
|
unique: !0
|
|
1880
1881
|
})
|
|
1881
|
-
}),
|
|
1882
|
+
}), ce = k("tab", "container", {
|
|
1882
1883
|
props: {
|
|
1883
|
-
label:
|
|
1884
|
-
value:
|
|
1884
|
+
label: y(),
|
|
1885
|
+
value: v.staticText()
|
|
1885
1886
|
},
|
|
1886
|
-
structure:
|
|
1887
|
+
structure: D({
|
|
1887
1888
|
rule: "any",
|
|
1888
1889
|
label: "required",
|
|
1889
1890
|
parents: ["tabs"]
|
|
1890
1891
|
})
|
|
1891
|
-
}),
|
|
1892
|
-
props: { label:
|
|
1893
|
-
bindings: { value:
|
|
1894
|
-
structure:
|
|
1892
|
+
}), le = k("steps", "container", {
|
|
1893
|
+
props: { label: b() },
|
|
1894
|
+
bindings: { value: w("string", "steps", "first-step", { exclusive: !0 }) },
|
|
1895
|
+
structure: D({
|
|
1895
1896
|
rule: "steps",
|
|
1896
1897
|
label: "optional",
|
|
1897
1898
|
child: "step",
|
|
@@ -1900,7 +1901,7 @@ var z = R("select"), B = R("choices"), V = R("radio-group"), H = O("multi-select
|
|
|
1900
1901
|
valueAttribute: "value",
|
|
1901
1902
|
generatedPrefix: "step-"
|
|
1902
1903
|
}),
|
|
1903
|
-
rules:
|
|
1904
|
+
rules: O({
|
|
1904
1905
|
kind: "value-sequence",
|
|
1905
1906
|
child: "step",
|
|
1906
1907
|
valueAttribute: "value",
|
|
@@ -1908,57 +1909,57 @@ var z = R("select"), B = R("choices"), V = R("radio-group"), H = O("multi-select
|
|
|
1908
1909
|
generatedPrefix: "step-",
|
|
1909
1910
|
unique: !0
|
|
1910
1911
|
})
|
|
1911
|
-
}),
|
|
1912
|
+
}), ue = k("step", "container", {
|
|
1912
1913
|
props: {
|
|
1913
|
-
label:
|
|
1914
|
-
value:
|
|
1914
|
+
label: y(),
|
|
1915
|
+
value: v.staticText()
|
|
1915
1916
|
},
|
|
1916
|
-
structure:
|
|
1917
|
+
structure: D({
|
|
1917
1918
|
rule: "any",
|
|
1918
1919
|
label: "required",
|
|
1919
1920
|
parents: ["steps"]
|
|
1920
1921
|
})
|
|
1921
|
-
}),
|
|
1922
|
-
props: { label:
|
|
1923
|
-
structure:
|
|
1922
|
+
}), de = k("accordion", "container", {
|
|
1923
|
+
props: { label: b() },
|
|
1924
|
+
structure: D({
|
|
1924
1925
|
rule: "components",
|
|
1925
1926
|
label: "optional",
|
|
1926
1927
|
child: "disclosure",
|
|
1927
1928
|
children: ["disclosure"],
|
|
1928
1929
|
min: 1
|
|
1929
1930
|
}),
|
|
1930
|
-
rules:
|
|
1931
|
+
rules: O({
|
|
1931
1932
|
kind: "only-children",
|
|
1932
1933
|
children: ["disclosure"],
|
|
1933
1934
|
min: 1
|
|
1934
1935
|
})
|
|
1935
|
-
}),
|
|
1936
|
+
}), fe = k("disclosure", "container", {
|
|
1936
1937
|
props: {
|
|
1937
|
-
label:
|
|
1938
|
-
open:
|
|
1938
|
+
label: y(),
|
|
1939
|
+
open: v.boolean({ default: !1 })
|
|
1939
1940
|
},
|
|
1940
|
-
structure:
|
|
1941
|
+
structure: D({
|
|
1941
1942
|
rule: "any",
|
|
1942
1943
|
label: "required",
|
|
1943
1944
|
parents: ["accordion"]
|
|
1944
1945
|
})
|
|
1945
|
-
}),
|
|
1946
|
-
props: { when:
|
|
1946
|
+
}), pe = k("if", "container", {
|
|
1947
|
+
props: { when: v.boolean({
|
|
1947
1948
|
dynamic: !0,
|
|
1948
1949
|
required: !0
|
|
1949
1950
|
}) },
|
|
1950
|
-
structure:
|
|
1951
|
+
structure: D({
|
|
1951
1952
|
rule: "any",
|
|
1952
1953
|
label: "none"
|
|
1953
1954
|
}),
|
|
1954
|
-
rules:
|
|
1955
|
+
rules: O({
|
|
1955
1956
|
kind: "require-full-interpolation",
|
|
1956
1957
|
attributes: ["when"]
|
|
1957
1958
|
})
|
|
1958
|
-
}),
|
|
1959
|
+
}), me = k("alert", "container", {
|
|
1959
1960
|
props: {
|
|
1960
|
-
title:
|
|
1961
|
-
tone:
|
|
1961
|
+
title: x(),
|
|
1962
|
+
tone: v.choice([
|
|
1962
1963
|
"info",
|
|
1963
1964
|
"success",
|
|
1964
1965
|
"warning",
|
|
@@ -1968,13 +1969,13 @@ var z = R("select"), B = R("choices"), V = R("radio-group"), H = O("multi-select
|
|
|
1968
1969
|
default: "info"
|
|
1969
1970
|
})
|
|
1970
1971
|
},
|
|
1971
|
-
structure:
|
|
1972
|
+
structure: D({
|
|
1972
1973
|
rule: "any",
|
|
1973
1974
|
label: "none"
|
|
1974
1975
|
})
|
|
1975
|
-
}),
|
|
1976
|
+
}), he = k("badge", "inline", {
|
|
1976
1977
|
props: {
|
|
1977
|
-
tone:
|
|
1978
|
+
tone: v.choice([
|
|
1978
1979
|
"neutral",
|
|
1979
1980
|
"success",
|
|
1980
1981
|
"warning"
|
|
@@ -1982,44 +1983,44 @@ var z = R("select"), B = R("choices"), V = R("radio-group"), H = O("multi-select
|
|
|
1982
1983
|
dynamic: !0,
|
|
1983
1984
|
default: "neutral"
|
|
1984
1985
|
}),
|
|
1985
|
-
color:
|
|
1986
|
+
color: C()
|
|
1986
1987
|
},
|
|
1987
|
-
structure:
|
|
1988
|
+
structure: D({
|
|
1988
1989
|
rule: "inline",
|
|
1989
1990
|
label: "none",
|
|
1990
1991
|
inlineOnly: !0,
|
|
1991
1992
|
noComponents: !0
|
|
1992
1993
|
}),
|
|
1993
|
-
rules:
|
|
1994
|
+
rules: O({
|
|
1994
1995
|
kind: "inline-body",
|
|
1995
1996
|
strict: !0
|
|
1996
1997
|
}, { kind: "no-components" })
|
|
1997
|
-
}),
|
|
1998
|
-
props: { text:
|
|
1999
|
-
structure:
|
|
1998
|
+
}), ge = k("tooltip", "inline", {
|
|
1999
|
+
props: { text: v.text({ required: !0 }) },
|
|
2000
|
+
structure: D({
|
|
2000
2001
|
rule: "inline",
|
|
2001
2002
|
label: "none",
|
|
2002
2003
|
inlineOnly: !0,
|
|
2003
2004
|
noComponents: !0
|
|
2004
2005
|
}),
|
|
2005
|
-
rules:
|
|
2006
|
+
rules: O({
|
|
2006
2007
|
kind: "inline-body",
|
|
2007
2008
|
strict: !0
|
|
2008
2009
|
}, { kind: "no-components" })
|
|
2009
|
-
}),
|
|
2010
|
+
}), _e = k("validation", "leaf", {
|
|
2010
2011
|
props: {
|
|
2011
|
-
when:
|
|
2012
|
+
when: v.boolean({
|
|
2012
2013
|
dynamic: !0,
|
|
2013
2014
|
required: !0
|
|
2014
2015
|
}),
|
|
2015
|
-
message:
|
|
2016
|
-
fields:
|
|
2016
|
+
message: v.text({ required: !0 }),
|
|
2017
|
+
fields: v.staticText({ required: !0 })
|
|
2017
2018
|
},
|
|
2018
|
-
structure:
|
|
2019
|
+
structure: D({
|
|
2019
2020
|
rule: "none",
|
|
2020
2021
|
label: "none"
|
|
2021
2022
|
}),
|
|
2022
|
-
rules:
|
|
2023
|
+
rules: O({
|
|
2023
2024
|
kind: "validation-rule",
|
|
2024
2025
|
when: "when",
|
|
2025
2026
|
fields: "fields",
|
|
@@ -2031,19 +2032,19 @@ var z = R("select"), B = R("choices"), V = R("radio-group"), H = O("multi-select
|
|
|
2031
2032
|
attributes: ["fields"],
|
|
2032
2033
|
scope: "validation"
|
|
2033
2034
|
})
|
|
2034
|
-
}),
|
|
2035
|
+
}), ve = k("data-table", "container", {
|
|
2035
2036
|
props: {
|
|
2036
|
-
label:
|
|
2037
|
-
rows:
|
|
2038
|
-
key:
|
|
2039
|
-
"max-rows":
|
|
2037
|
+
label: v.staticText(),
|
|
2038
|
+
rows: v.expressionText({ required: !0 }),
|
|
2039
|
+
key: v.expressionText({ required: !0 }),
|
|
2040
|
+
"max-rows": v.number({
|
|
2040
2041
|
integer: !0,
|
|
2041
2042
|
positive: !0,
|
|
2042
|
-
max:
|
|
2043
|
+
max: i,
|
|
2043
2044
|
default: 100
|
|
2044
2045
|
})
|
|
2045
2046
|
},
|
|
2046
|
-
structure:
|
|
2047
|
+
structure: D({
|
|
2047
2048
|
rule: "components",
|
|
2048
2049
|
label: "required",
|
|
2049
2050
|
child: "column",
|
|
@@ -2051,7 +2052,7 @@ var z = R("select"), B = R("choices"), V = R("radio-group"), H = O("multi-select
|
|
|
2051
2052
|
min: 1,
|
|
2052
2053
|
max: 20
|
|
2053
2054
|
}),
|
|
2054
|
-
rules:
|
|
2055
|
+
rules: O({
|
|
2055
2056
|
kind: "data-table",
|
|
2056
2057
|
rows: "rows",
|
|
2057
2058
|
key: "key",
|
|
@@ -2060,8 +2061,8 @@ var z = R("select"), B = R("choices"), V = R("radio-group"), H = O("multi-select
|
|
|
2060
2061
|
label: "label",
|
|
2061
2062
|
maxRows: "max-rows",
|
|
2062
2063
|
defaultMaxRows: 100,
|
|
2063
|
-
documentRows:
|
|
2064
|
-
documentCells:
|
|
2064
|
+
documentRows: t,
|
|
2065
|
+
documentCells: r,
|
|
2065
2066
|
maxColumns: 20
|
|
2066
2067
|
}, {
|
|
2067
2068
|
kind: "require-full-interpolation",
|
|
@@ -2077,17 +2078,17 @@ var z = R("select"), B = R("choices"), V = R("radio-group"), H = O("multi-select
|
|
|
2077
2078
|
child: "column",
|
|
2078
2079
|
childValue: "value"
|
|
2079
2080
|
})
|
|
2080
|
-
}),
|
|
2081
|
+
}), ye = k("column", "leaf", {
|
|
2081
2082
|
props: {
|
|
2082
|
-
label:
|
|
2083
|
-
value:
|
|
2083
|
+
label: v.staticText({ required: !0 }),
|
|
2084
|
+
value: v.expressionText({ required: !0 })
|
|
2084
2085
|
},
|
|
2085
|
-
structure:
|
|
2086
|
+
structure: D({
|
|
2086
2087
|
rule: "none",
|
|
2087
2088
|
label: "none",
|
|
2088
2089
|
parents: ["data-table"]
|
|
2089
2090
|
}),
|
|
2090
|
-
rules:
|
|
2091
|
+
rules: O({
|
|
2091
2092
|
kind: "require-full-interpolation",
|
|
2092
2093
|
attributes: ["value"]
|
|
2093
2094
|
}, {
|
|
@@ -2095,24 +2096,24 @@ var z = R("select"), B = R("choices"), V = R("radio-group"), H = O("multi-select
|
|
|
2095
2096
|
attributes: ["value"],
|
|
2096
2097
|
scope: "row"
|
|
2097
2098
|
})
|
|
2098
|
-
}),
|
|
2099
|
+
}), be = k("table", "container", {
|
|
2099
2100
|
props: {
|
|
2100
|
-
label:
|
|
2101
|
-
searchable:
|
|
2102
|
-
sortable:
|
|
2103
|
-
"page-size":
|
|
2101
|
+
label: b(),
|
|
2102
|
+
searchable: v.boolean({ default: !0 }),
|
|
2103
|
+
sortable: v.boolean({ default: !0 }),
|
|
2104
|
+
"page-size": v.number({
|
|
2104
2105
|
integer: !0,
|
|
2105
2106
|
positive: !0,
|
|
2106
2107
|
default: 10
|
|
2107
2108
|
}),
|
|
2108
|
-
key:
|
|
2109
|
+
key: v.staticText()
|
|
2109
2110
|
},
|
|
2110
|
-
bindings: { value:
|
|
2111
|
-
structure:
|
|
2111
|
+
bindings: { value: w("string", "selection", "none", { requiresAttributes: ["key"] }) },
|
|
2112
|
+
structure: D({
|
|
2112
2113
|
rule: "table",
|
|
2113
2114
|
label: "optional"
|
|
2114
2115
|
}),
|
|
2115
|
-
rules:
|
|
2116
|
+
rules: O({ kind: "single-table" }, {
|
|
2116
2117
|
kind: "selection-requires",
|
|
2117
2118
|
key: "key",
|
|
2118
2119
|
attributes: ["bind", "initial"]
|
|
@@ -2125,9 +2126,9 @@ var z = R("select"), B = R("choices"), V = R("radio-group"), H = O("multi-select
|
|
|
2125
2126
|
mode: "attribute",
|
|
2126
2127
|
attribute: "key"
|
|
2127
2128
|
})
|
|
2128
|
-
}),
|
|
2129
|
+
}), xe = k("chart", "container", {
|
|
2129
2130
|
props: {
|
|
2130
|
-
kind:
|
|
2131
|
+
kind: v.choice([
|
|
2131
2132
|
"bar",
|
|
2132
2133
|
"line",
|
|
2133
2134
|
"area",
|
|
@@ -2138,19 +2139,19 @@ var z = R("select"), B = R("choices"), V = R("radio-group"), H = O("multi-select
|
|
|
2138
2139
|
static: !0,
|
|
2139
2140
|
default: "bar"
|
|
2140
2141
|
}),
|
|
2141
|
-
title:
|
|
2142
|
-
x:
|
|
2143
|
-
y:
|
|
2144
|
-
"x-label":
|
|
2145
|
-
"y-label":
|
|
2146
|
-
key:
|
|
2147
|
-
},
|
|
2148
|
-
bindings: { value:
|
|
2149
|
-
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({
|
|
2150
2151
|
rule: "table",
|
|
2151
2152
|
label: "none"
|
|
2152
2153
|
}),
|
|
2153
|
-
rules:
|
|
2154
|
+
rules: O({ kind: "single-table" }, {
|
|
2154
2155
|
kind: "chart-table",
|
|
2155
2156
|
chartKind: "kind",
|
|
2156
2157
|
x: "x",
|
|
@@ -2168,38 +2169,38 @@ var z = R("select"), B = R("choices"), V = R("radio-group"), H = O("multi-select
|
|
|
2168
2169
|
mode: "attribute",
|
|
2169
2170
|
attribute: "key"
|
|
2170
2171
|
})
|
|
2171
|
-
}), Se =
|
|
2172
|
+
}), Se = k("plot", "container", {
|
|
2172
2173
|
props: {
|
|
2173
|
-
label:
|
|
2174
|
-
min:
|
|
2174
|
+
label: b(),
|
|
2175
|
+
min: v.number({
|
|
2175
2176
|
dynamic: !0,
|
|
2176
2177
|
default: -10
|
|
2177
2178
|
}),
|
|
2178
|
-
max:
|
|
2179
|
+
max: v.number({
|
|
2179
2180
|
dynamic: !0,
|
|
2180
2181
|
default: 10
|
|
2181
2182
|
}),
|
|
2182
|
-
samples:
|
|
2183
|
+
samples: v.number({
|
|
2183
2184
|
integer: !0,
|
|
2184
2185
|
min: 2,
|
|
2185
2186
|
max: 2e3,
|
|
2186
2187
|
static: !0,
|
|
2187
2188
|
default: 200
|
|
2188
2189
|
}),
|
|
2189
|
-
points:
|
|
2190
|
+
points: v.number({
|
|
2190
2191
|
integer: !0,
|
|
2191
2192
|
min: 2,
|
|
2192
2193
|
max: 2e3,
|
|
2193
2194
|
static: !0
|
|
2194
2195
|
}),
|
|
2195
|
-
"x-label":
|
|
2196
|
-
"y-label":
|
|
2196
|
+
"x-label": v.text({ default: "x" }),
|
|
2197
|
+
"y-label": v.text({ default: "y" })
|
|
2197
2198
|
},
|
|
2198
|
-
structure:
|
|
2199
|
+
structure: D({
|
|
2199
2200
|
rule: "plot",
|
|
2200
2201
|
label: "optional"
|
|
2201
2202
|
}),
|
|
2202
|
-
rules:
|
|
2203
|
+
rules: O({ kind: "math-body" }, {
|
|
2203
2204
|
kind: "numeric-range",
|
|
2204
2205
|
min: "min",
|
|
2205
2206
|
max: "max",
|
|
@@ -2211,18 +2212,18 @@ var z = R("select"), B = R("choices"), V = R("radio-group"), H = O("multi-select
|
|
|
2211
2212
|
samples: "samples",
|
|
2212
2213
|
samplesAlias: "points",
|
|
2213
2214
|
curves: 16,
|
|
2214
|
-
points:
|
|
2215
|
+
points: e
|
|
2215
2216
|
}, { kind: "inline-math-reads" })
|
|
2216
|
-
}), Ce =
|
|
2217
|
+
}), Ce = k("timeline", "container", {
|
|
2217
2218
|
props: {
|
|
2218
|
-
title:
|
|
2219
|
-
unit:
|
|
2219
|
+
title: x(),
|
|
2220
|
+
unit: v.text({ default: "minutes" })
|
|
2220
2221
|
},
|
|
2221
|
-
structure:
|
|
2222
|
+
structure: D({
|
|
2222
2223
|
rule: "table",
|
|
2223
2224
|
label: "none"
|
|
2224
2225
|
}),
|
|
2225
|
-
rules:
|
|
2226
|
+
rules: O({ kind: "single-table" }, {
|
|
2226
2227
|
kind: "timeline-table",
|
|
2227
2228
|
headerSets: [[
|
|
2228
2229
|
"Task",
|
|
@@ -2236,23 +2237,23 @@ var z = R("select"), B = R("choices"), V = R("radio-group"), H = O("multi-select
|
|
|
2236
2237
|
"说明"
|
|
2237
2238
|
]]
|
|
2238
2239
|
})
|
|
2239
|
-
}), we =
|
|
2240
|
+
}), we = k("diagram", "container", {
|
|
2240
2241
|
props: {
|
|
2241
|
-
label:
|
|
2242
|
-
direction:
|
|
2242
|
+
label: b(),
|
|
2243
|
+
direction: v.choice(["right", "down"], {
|
|
2243
2244
|
static: !0,
|
|
2244
2245
|
default: "right"
|
|
2245
2246
|
})
|
|
2246
2247
|
},
|
|
2247
|
-
bindings: { value:
|
|
2248
|
-
structure:
|
|
2248
|
+
bindings: { value: w("string", "diagram", "first-node", { exclusive: !0 }) },
|
|
2249
|
+
structure: D({
|
|
2249
2250
|
rule: "diagram",
|
|
2250
2251
|
label: "optional",
|
|
2251
2252
|
child: "node",
|
|
2252
2253
|
children: ["node", "edge"],
|
|
2253
2254
|
min: 1
|
|
2254
2255
|
}),
|
|
2255
|
-
rules:
|
|
2256
|
+
rules: O({
|
|
2256
2257
|
kind: "diagram-body",
|
|
2257
2258
|
node: "node",
|
|
2258
2259
|
edge: "edge",
|
|
@@ -2264,11 +2265,11 @@ var z = R("select"), B = R("choices"), V = R("radio-group"), H = O("multi-select
|
|
|
2264
2265
|
kind: "self-binding-read",
|
|
2265
2266
|
mode: "always"
|
|
2266
2267
|
})
|
|
2267
|
-
}), Te =
|
|
2268
|
+
}), Te = k("node", "container", {
|
|
2268
2269
|
props: {
|
|
2269
|
-
id:
|
|
2270
|
-
label:
|
|
2271
|
-
tone:
|
|
2270
|
+
id: v.staticText({ required: !0 }),
|
|
2271
|
+
label: y(),
|
|
2272
|
+
tone: v.choice([
|
|
2272
2273
|
"neutral",
|
|
2273
2274
|
"success",
|
|
2274
2275
|
"warning"
|
|
@@ -2277,26 +2278,25 @@ var z = R("select"), B = R("choices"), V = R("radio-group"), H = O("multi-select
|
|
|
2277
2278
|
default: "neutral"
|
|
2278
2279
|
})
|
|
2279
2280
|
},
|
|
2280
|
-
structure:
|
|
2281
|
+
structure: D({
|
|
2281
2282
|
rule: "content",
|
|
2282
2283
|
label: "required",
|
|
2283
2284
|
noComponents: !0,
|
|
2284
2285
|
parents: ["diagram"]
|
|
2285
2286
|
}),
|
|
2286
|
-
rules:
|
|
2287
|
-
}), Ee =
|
|
2287
|
+
rules: O({ kind: "no-components" })
|
|
2288
|
+
}), Ee = k("edge", "leaf", {
|
|
2288
2289
|
props: {
|
|
2289
|
-
from:
|
|
2290
|
-
to:
|
|
2291
|
-
label:
|
|
2290
|
+
from: v.staticText({ required: !0 }),
|
|
2291
|
+
to: v.staticText({ required: !0 }),
|
|
2292
|
+
label: b()
|
|
2292
2293
|
},
|
|
2293
|
-
structure:
|
|
2294
|
+
structure: D({
|
|
2294
2295
|
rule: "none",
|
|
2295
2296
|
label: "none",
|
|
2296
2297
|
parents: ["diagram"]
|
|
2297
2298
|
})
|
|
2298
2299
|
}), $ = Object.freeze([
|
|
2299
|
-
k,
|
|
2300
2300
|
A,
|
|
2301
2301
|
j,
|
|
2302
2302
|
M,
|
|
@@ -2305,7 +2305,7 @@ var z = R("select"), B = R("choices"), V = R("radio-group"), H = O("multi-select
|
|
|
2305
2305
|
F,
|
|
2306
2306
|
I,
|
|
2307
2307
|
L,
|
|
2308
|
-
|
|
2308
|
+
R,
|
|
2309
2309
|
B,
|
|
2310
2310
|
V,
|
|
2311
2311
|
H,
|
|
@@ -2318,6 +2318,8 @@ var z = R("select"), B = R("choices"), V = R("radio-group"), H = O("multi-select
|
|
|
2318
2318
|
Y,
|
|
2319
2319
|
X,
|
|
2320
2320
|
Z,
|
|
2321
|
+
te,
|
|
2322
|
+
Q,
|
|
2321
2323
|
ne,
|
|
2322
2324
|
re,
|
|
2323
2325
|
ie,
|
|
@@ -2338,7 +2340,6 @@ var z = R("select"), B = R("choices"), V = R("radio-group"), H = O("multi-select
|
|
|
2338
2340
|
ye,
|
|
2339
2341
|
be,
|
|
2340
2342
|
xe,
|
|
2341
|
-
Q,
|
|
2342
2343
|
Se,
|
|
2343
2344
|
Ce,
|
|
2344
2345
|
we,
|
|
@@ -2348,7 +2349,7 @@ var z = R("select"), B = R("choices"), V = R("radio-group"), H = O("multi-select
|
|
|
2348
2349
|
// src/presets/default-components.ts
|
|
2349
2350
|
function Oe(e) {
|
|
2350
2351
|
let t = g(e.name);
|
|
2351
|
-
return t ?
|
|
2352
|
+
return t ? a({
|
|
2352
2353
|
...e,
|
|
2353
2354
|
authoring: t
|
|
2354
2355
|
}) : e;
|