base-screen 0.2.0 → 0.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -12
- package/dist/_internal/contracts/document/blueprint-capabilities.d.ts +9 -1
- package/dist/_internal/contracts/document/blueprint-capabilities.js +16 -0
- package/dist/_internal/contracts/document/blueprint-graph.d.ts +68 -0
- package/dist/_internal/contracts/document/blueprint-graph.js +424 -0
- package/dist/_internal/contracts/document/blueprint-strict.d.ts +3 -1
- package/dist/_internal/contracts/document/blueprint-strict.js +77 -91
- package/dist/_internal/contracts/document/component-states.d.ts +54 -0
- package/dist/_internal/contracts/document/component-states.js +171 -0
- package/dist/_internal/contracts/document/json-schema.js +49 -17
- package/dist/_internal/contracts/document/limits.d.ts +40 -8
- package/dist/_internal/contracts/document/limits.js +40 -8
- package/dist/_internal/contracts/document/parse-parts.d.ts +12 -0
- package/dist/_internal/contracts/document/parse-parts.js +56 -0
- package/dist/_internal/contracts/document/parse.js +1 -1
- package/dist/_internal/contracts/document/references.js +108 -41
- package/dist/_internal/contracts/document/schema.d.ts +525 -186
- package/dist/_internal/contracts/document/schema.js +234 -95
- package/dist/_internal/contracts/document/sub-canvas.d.ts +27 -0
- package/dist/_internal/contracts/document/sub-canvas.js +38 -0
- package/dist/_internal/contracts/document/theme.d.ts +22 -0
- package/dist/_internal/contracts/document/theme.js +65 -0
- package/dist/_internal/contracts/document/validate-blueprint.d.ts +7 -0
- package/dist/_internal/contracts/document/validate-blueprint.js +223 -25
- package/dist/_internal/contracts/document/validate-component.d.ts +2 -0
- package/dist/_internal/contracts/document/validate-component.js +111 -54
- package/dist/_internal/contracts/document/validate-data-source.js +84 -9
- package/dist/_internal/contracts/document/validate-sub-canvas.d.ts +9 -0
- package/dist/_internal/contracts/document/validate-sub-canvas.js +92 -0
- package/dist/_internal/contracts/document/validate-theme.d.ts +4 -0
- package/dist/_internal/contracts/document/validate-theme.js +20 -0
- package/dist/_internal/contracts/document/validate.js +19 -2
- package/dist/_internal/contracts/index.d.ts +11 -4
- package/dist/_internal/contracts/index.js +8 -2
- package/dist/_internal/contracts/migration/blueprint-graph-migration.d.ts +21 -0
- package/dist/_internal/contracts/migration/blueprint-graph-migration.js +328 -0
- package/dist/_internal/contracts/migration/migrate-document.d.ts +2 -1
- package/dist/_internal/contracts/migration/migrate-document.js +11 -3
- package/dist/_internal/contracts/push/delivery.d.ts +16 -0
- package/dist/_internal/contracts/push/delivery.js +70 -0
- package/dist/_internal/contracts/push/level-scale.d.ts +7 -0
- package/dist/_internal/contracts/push/level-scale.js +91 -0
- package/dist/_internal/contracts/screen-document.schema.json +1056 -383
- package/dist/_internal/contracts/types/document.d.ts +277 -76
- package/dist/_internal/contracts/types/execution.d.ts +12 -2
- package/dist/_internal/contracts/types/execution.js +0 -5
- package/dist/_internal/contracts/types/host.d.ts +35 -1
- package/dist/_internal/contracts/types/host.js +7 -1
- package/dist/_internal/contracts/types/push.d.ts +86 -0
- package/dist/_internal/contracts/types/push.js +1 -0
- package/dist/_internal/contracts/types/variable.d.ts +5 -0
- package/dist/_internal/contracts/variable/parse.js +30 -1
- package/dist/_internal/core/blueprint/runtime-compile.d.ts +4 -0
- package/dist/_internal/core/blueprint/runtime-compile.js +45 -21
- package/dist/_internal/core/blueprint/runtime-dispatch.js +270 -156
- package/dist/_internal/core/blueprint/runtime-types.d.ts +112 -6
- package/dist/_internal/core/blueprint/runtime.d.ts +1 -1
- package/dist/_internal/core/commands/apply-component-commands.d.ts +5 -0
- package/dist/_internal/core/commands/apply-component-commands.js +74 -2
- package/dist/_internal/core/commands/apply.js +63 -3
- package/dist/_internal/core/commands/parse-command.js +12 -0
- package/dist/_internal/core/commands/types.d.ts +28 -3
- package/dist/_internal/core/diff/screen-diff.js +1 -1
- package/dist/_internal/core/index.d.ts +1 -1
- package/dist/_internal/engine/browser/controllers/blueprint/designer-blueprint-canvas-bridge-helpers.d.ts +1 -1
- package/dist/_internal/engine/browser/controllers/blueprint/designer-blueprint-canvas-bridge.d.ts +11 -1
- package/dist/_internal/engine/browser/controllers/blueprint/designer-blueprint-panels-controller.d.ts +18 -4
- package/dist/_internal/engine/browser/controllers/blueprint/designer-blueprint-timer-scheduler.d.ts +21 -0
- package/dist/_internal/engine/browser/controllers/blueprint/designer-blueprint-workbench-panel.d.ts +8 -1
- package/dist/_internal/engine/browser/controllers/dataset/designer-data-source-authoring.d.ts +25 -1
- package/dist/_internal/engine/browser/controllers/dataset/designer-dataset-controller-context.d.ts +6 -2
- package/dist/_internal/engine/browser/controllers/dataset/designer-dataset-draft-controller.d.ts +8 -0
- package/dist/_internal/engine/browser/controllers/dataset/designer-dataset-surface-controller.d.ts +14 -0
- package/dist/_internal/engine/browser/controllers/dataset/designer-update-policy-authoring.d.ts +52 -0
- package/dist/_internal/engine/browser/controllers/designer-artboard-controller.d.ts +80 -0
- package/dist/_internal/engine/browser/controllers/designer-canvas-runtime-controller.d.ts +21 -3
- package/dist/_internal/engine/browser/controllers/designer-change-controller.d.ts +2 -0
- package/dist/_internal/engine/browser/controllers/designer-command-palette-controller.d.ts +2 -0
- package/dist/_internal/engine/browser/controllers/designer-notification-controller.d.ts +7 -0
- package/dist/_internal/engine/browser/controllers/designer-page-preview-controller.d.ts +34 -0
- package/dist/_internal/engine/browser/controllers/designer-popup-preview-controller.d.ts +40 -0
- package/dist/_internal/engine/browser/controllers/designer-preview-controller.d.ts +1 -3
- package/dist/_internal/engine/browser/controllers/designer-reference-layer-controller.d.ts +45 -0
- package/dist/_internal/engine/browser/controllers/designer-viewport-controller.d.ts +10 -0
- package/dist/_internal/engine/browser/controllers/gesture/designer-gesture-callbacks.d.ts +5 -1
- package/dist/_internal/engine/browser/controllers/gesture/designer-gesture-controller.d.ts +2 -0
- package/dist/_internal/engine/browser/controllers/gesture/designer-gesture-environment.d.ts +18 -7
- package/dist/_internal/engine/browser/controllers/gesture/designer-group-editing-controller.d.ts +8 -1
- package/dist/_internal/engine/browser/controllers/layers/designer-layers-controller.d.ts +11 -0
- package/dist/_internal/engine/browser/controllers/panel/designer-component-states-controller.d.ts +26 -0
- package/dist/_internal/engine/browser/controllers/panel/designer-inspector-focus.d.ts +30 -0
- package/dist/_internal/engine/browser/controllers/panel/designer-panel-controller-callbacks.d.ts +23 -6
- package/dist/_internal/engine/browser/controllers/panel/designer-panel-controller.d.ts +2 -2
- package/dist/_internal/engine/browser/controllers/panel/designer-panel-material-controller.d.ts +4 -0
- package/dist/_internal/engine/browser/controllers/panel/designer-panel-property-controller.d.ts +2 -0
- package/dist/_internal/engine/browser/controllers/workbench/designer-snap-controller.d.ts +5 -1
- package/dist/_internal/engine/browser/controllers/workbench/designer-workbench-controller.d.ts +7 -1
- package/dist/_internal/engine/browser/dom/blueprint/designer-blueprint-inspector-configuration.d.ts +12 -0
- package/dist/_internal/engine/browser/dom/blueprint/designer-blueprint-library-dom.d.ts +18 -2
- package/dist/_internal/engine/browser/dom/change/designer-change-dom.d.ts +1 -0
- package/dist/_internal/engine/browser/dom/color/designer-color-palette-dom.d.ts +1 -0
- package/dist/_internal/engine/browser/dom/color/designer-color-palette-theme.d.ts +10 -0
- package/dist/_internal/engine/browser/dom/color/designer-color-palette-types.d.ts +13 -0
- package/dist/_internal/engine/browser/dom/color/designer-color-theme-slots.d.ts +10 -0
- package/dist/_internal/engine/browser/dom/dataset/designer-dataset-types.d.ts +17 -6
- package/dist/_internal/engine/browser/dom/descriptor/designer-descriptor-control-dom.d.ts +17 -1
- package/dist/_internal/engine/browser/dom/descriptor/designer-descriptor-model.d.ts +2 -0
- package/dist/_internal/engine/browser/dom/designer-field-primitives.d.ts +43 -1
- package/dist/_internal/engine/browser/dom/designer-icons.d.ts +2 -0
- package/dist/_internal/engine/browser/dom/designer-select-dom.d.ts +2 -0
- package/dist/_internal/engine/browser/dom/designer-ui-primitives.d.ts +5 -0
- package/dist/_internal/engine/browser/dom/layers/designer-layers-model.d.ts +28 -0
- package/dist/_internal/engine/browser/dom/material-library/designer-material-library-dom.d.ts +18 -2
- package/dist/_internal/engine/browser/dom/material-library/designer-material-library-group-view.d.ts +1 -0
- package/dist/_internal/engine/browser/dom/menu/designer-menu-model.d.ts +4 -2
- package/dist/_internal/engine/browser/dom/panel/designer-canvas-properties-dom.d.ts +10 -2
- package/dist/_internal/engine/browser/dom/panel/designer-canvas-transactions.d.ts +5 -1
- package/dist/_internal/engine/browser/dom/panel/designer-chrome-primitives.d.ts +12 -0
- package/dist/_internal/engine/browser/dom/panel/designer-color-group-dom.d.ts +45 -0
- package/dist/_internal/engine/browser/dom/panel/designer-component-properties-dom.d.ts +4 -3
- package/dist/_internal/engine/browser/dom/panel/designer-component-states-dom.d.ts +22 -0
- package/dist/_internal/engine/browser/dom/panel/designer-panel-primitives.d.ts +18 -2
- package/dist/_internal/engine/browser/dom/workspace/designer-workspace-template.d.ts +13 -0
- package/dist/_internal/engine/browser/dom/workspace/designer-workspace.d.ts +2 -1
- package/dist/_internal/engine/browser/viewport/designer-canvas-aids-types.d.ts +8 -2
- package/dist/_internal/engine/browser/viewport/designer-canvas-aids.d.ts +14 -4
- package/dist/_internal/engine/browser/viewport/designer-canvas-coordinates.d.ts +7 -0
- package/dist/_internal/engine/browser/viewport/designer-canvas-measurements.d.ts +12 -1
- package/dist/_internal/engine/browser/viewport/designer-canvas-snap-alignment-index.d.ts +27 -0
- package/dist/_internal/engine/browser/viewport/designer-canvas-snap-geometry.d.ts +13 -2
- package/dist/_internal/engine/browser/viewport/designer-canvas-snap-preview.d.ts +1 -1
- package/dist/_internal/engine/browser/viewport/designer-canvas-snap-spacing.d.ts +12 -0
- package/dist/_internal/engine/browser/viewport/designer-guide-overlay-nodes.d.ts +2 -0
- package/dist/_internal/engine/common/observability/designer-metrics.d.ts +1 -1
- package/dist/_internal/engine/common/operations/blueprint/designer-blueprint-geometry.d.ts +12 -0
- package/dist/_internal/engine/common/operations/blueprint/designer-blueprint-graph.d.ts +203 -0
- package/dist/_internal/engine/common/operations/blueprint/designer-blueprint-model-types.d.ts +6 -2
- package/dist/_internal/engine/common/operations/blueprint/designer-blueprint-model.d.ts +58 -7
- package/dist/_internal/engine/common/operations/blueprint/designer-blueprint-protocol-types.d.ts +131 -51
- package/dist/_internal/engine/common/operations/blueprint/designer-blueprint-value-sources.d.ts +7 -3
- package/dist/_internal/engine/common/operations/catalog/designer-catalog-refresh.d.ts +13 -1
- package/dist/_internal/engine/common/operations/designer-operation-registry.d.ts +5 -1
- package/dist/_internal/engine/common/operations/designer-variable-operations.d.ts +8 -0
- package/dist/_internal/engine/common/operations/element/designer-element-operation-types.d.ts +8 -0
- package/dist/_internal/engine/common/operations/host-resource/host-resource-authoring.d.ts +1 -1
- package/dist/_internal/engine/common/operations/material-component/material-component-fragment-extract.d.ts +34 -0
- package/dist/_internal/engine/common/operations/material-component/material-component-fragment.d.ts +24 -41
- package/dist/_internal/engine/common/operations/material-component/material-component.d.ts +1 -1
- package/dist/_internal/engine/common/operations/material-library/material-library-fragments.d.ts +46 -0
- package/dist/_internal/engine/common/operations/material-library/material-library-grouping.d.ts +11 -0
- package/dist/_internal/engine/common/operations/selection/designer-group.d.ts +16 -4
- package/dist/_internal/engine/common/operations/selection/designer-multi-selection-operations.d.ts +4 -3
- package/dist/_internal/engine/common/operations/selection/designer-selection-actions.d.ts +6 -0
- package/dist/_internal/engine/common/operations/selection/designer-selection.d.ts +8 -0
- package/dist/_internal/engine/common/operations/style/designer-component-states.d.ts +62 -0
- package/dist/_internal/engine/common/operations/style/designer-material-appearance.d.ts +30 -0
- package/dist/_internal/engine/common/session/designer-artboard.d.ts +40 -0
- package/dist/_internal/engine/common/session/designer-session.d.ts +21 -0
- package/dist/_internal/engine/common/ui-text/designer-blueprint-ui-text.d.ts +169 -0
- package/dist/_internal/engine/common/ui-text/designer-ui-text.d.ts +422 -88
- package/dist/_internal/engine/designer-blueprint-workbench-panel-CJ3iZo5v.js +2872 -0
- package/dist/_internal/engine/{designer-dataset-controller-CPytVNBK.js → designer-dataset-controller-CrfOg2Ys.js} +1764 -1507
- package/dist/_internal/engine/designer-element/api/designer-element-catalog.d.ts +4 -3
- package/dist/_internal/engine/designer-element/api/designer-element-configuration-types.d.ts +11 -8
- package/dist/_internal/engine/designer-element/api/designer-element-fragment-save.d.ts +16 -0
- package/dist/_internal/engine/designer-element/api/designer-element-host-properties.d.ts +0 -5
- package/dist/_internal/engine/designer-element/api/designer-element-insert-component-fragment.d.ts +9 -2
- package/dist/_internal/engine/designer-element/api/designer-element-material-library-fragments.d.ts +17 -0
- package/dist/_internal/engine/designer-element/api/designer-element-project.d.ts +0 -1
- package/dist/_internal/engine/designer-element/base-screen-designer-element.d.ts +24 -24
- package/dist/_internal/engine/designer-element/designer-element-public-api.d.ts +5 -5
- package/dist/_internal/engine/designer-element/runtime/designer-element-guards.d.ts +0 -2
- package/dist/_internal/engine/designer-element/runtime/designer-element-host.d.ts +6 -7
- package/dist/_internal/engine/designer-element/runtime/designer-element-rendering.d.ts +11 -1
- package/dist/_internal/engine/designer-element/runtime/designer-element-runtime.d.ts +15 -14
- package/dist/_internal/engine/designer-element/runtime/designer-element-state.d.ts +29 -10
- package/dist/_internal/engine/{designer-ui-primitives-CH4RNiMa.js → designer-field-primitives-KBZuWN_D.js} +876 -346
- package/dist/_internal/engine/designer-left-panel-groups-dom-N2OHOWjl.js +1282 -0
- package/dist/_internal/engine/host-resource-selection-xo2mLCD4.js +2482 -0
- package/dist/_internal/engine/host-tokens.css +12 -12
- package/dist/_internal/engine/index.js +8643 -6102
- package/dist/_internal/host-kit/index.d.ts +2 -0
- package/dist/_internal/host-kit/index.js +2 -0
- package/dist/_internal/host-kit/push-result.d.ts +5 -0
- package/dist/_internal/host-kit/push-result.js +8 -0
- package/dist/_internal/host-kit/sse-subscribe.d.ts +59 -0
- package/dist/_internal/host-kit/sse-subscribe.js +253 -0
- package/dist/_internal/host-kit/subscription-hub.d.ts +41 -0
- package/dist/_internal/host-kit/subscription-hub.js +179 -0
- package/dist/_internal/material/base-material.d.ts +1 -0
- package/dist/_internal/material/chart.d.ts +4 -0
- package/dist/_internal/material/chart.js +101 -58
- package/dist/_internal/material/container.js +19 -33
- package/dist/_internal/material/{base-material-BArgjOeL.js → editor-descriptor-DJZYygOa.js} +49 -20
- package/dist/_internal/material/editor-descriptor.d.ts +18 -0
- package/dist/_internal/material/image.js +30 -34
- package/dist/_internal/material/rule.js +29 -42
- package/dist/_internal/material/shapes.js +57 -74
- package/dist/_internal/material/table.d.ts +4 -0
- package/dist/_internal/material/table.js +118 -71
- package/dist/_internal/material/text.js +40 -68
- package/dist/_internal/plugin-core/contracts.d.ts +38 -49
- package/dist/_internal/plugin-core/contribution-kind.js +47 -2
- package/dist/_internal/plugin-core/editor/editor-ai-description.d.ts +3 -0
- package/dist/_internal/plugin-core/editor/editor-ai-description.js +124 -0
- package/dist/_internal/plugin-core/editor/editor-descriptor-conditions.js +5 -0
- package/dist/_internal/plugin-core/editor/editor-descriptor-inference.d.ts +32 -0
- package/dist/_internal/plugin-core/editor/editor-descriptor-inference.js +83 -0
- package/dist/_internal/plugin-core/editor/editor-descriptor-items.d.ts +6 -0
- package/dist/_internal/plugin-core/editor/editor-descriptor-items.js +41 -12
- package/dist/_internal/plugin-core/editor/editor-descriptor-model.d.ts +24 -1
- package/dist/_internal/plugin-core/editor/editor-descriptor-model.js +6 -1
- package/dist/_internal/plugin-core/editor/editor-descriptor-schema.js +21 -0
- package/dist/_internal/plugin-core/editor/editor-descriptor-sections.js +5 -7
- package/dist/_internal/plugin-core/editor/editor-descriptor.d.ts +1 -0
- package/dist/_internal/plugin-core/editor/editor-descriptor.js +55 -2
- package/dist/_internal/plugin-core/fragment/fragment.d.ts +96 -0
- package/dist/_internal/plugin-core/fragment/fragment.js +535 -0
- package/dist/_internal/plugin-core/index.d.ts +7 -4
- package/dist/_internal/plugin-core/index.js +5 -2
- package/dist/_internal/plugin-core/material/material-manifest.js +14 -2
- package/dist/_internal/plugin-core/material/material-schema.d.ts +9 -0
- package/dist/_internal/plugin-core/material/material-schema.js +31 -1
- package/dist/_internal/plugin-core/material/material-theme.d.ts +25 -0
- package/dist/_internal/plugin-core/material/material-theme.js +77 -0
- package/dist/_internal/plugin-core/material/material-validation-constants.js +2 -0
- package/dist/_internal/plugin-core/material/material.d.ts +1 -1
- package/dist/_internal/plugin-core/material/material.js +1 -1
- package/dist/_internal/plugin-manager/contribution-kind-plan.d.ts +2 -1
- package/dist/_internal/plugin-manager/contribution-kind-plan.js +6 -0
- package/dist/_internal/plugin-manager/contributions.js +10 -0
- package/dist/_internal/plugin-sdk/authoring-finding.d.ts +19 -0
- package/dist/_internal/plugin-sdk/authoring-finding.js +12 -0
- package/dist/_internal/plugin-sdk/fragment-audit.d.ts +14 -0
- package/dist/_internal/plugin-sdk/fragment-audit.js +170 -0
- package/dist/_internal/plugin-sdk/fragment-definition.d.ts +11 -0
- package/dist/_internal/plugin-sdk/fragment-definition.js +16 -0
- package/dist/_internal/plugin-sdk/index.d.ts +9 -0
- package/dist/_internal/plugin-sdk/index.js +9 -0
- package/dist/_internal/plugin-sdk/material-config-groups.d.ts +44 -0
- package/dist/_internal/plugin-sdk/material-config-groups.js +80 -0
- package/dist/_internal/plugin-sdk/material-editor-audit.d.ts +24 -0
- package/dist/_internal/plugin-sdk/material-editor-audit.js +160 -0
- package/dist/_internal/plugin-sdk/material-rendered-element.d.ts +69 -0
- package/dist/_internal/plugin-sdk/material-rendered-element.js +165 -0
- package/dist/_internal/plugin-sdk/material-spec-audit.d.ts +22 -0
- package/dist/_internal/plugin-sdk/material-spec-audit.js +184 -0
- package/dist/_internal/plugin-sdk/material-spec.d.ts +114 -0
- package/dist/_internal/plugin-sdk/material-spec.js +635 -0
- package/dist/_internal/plugin-sdk/material-style-keys.d.ts +17 -0
- package/dist/_internal/plugin-sdk/material-style-keys.js +82 -0
- package/dist/_internal/renderer/index.d.ts +2 -0
- package/dist/_internal/renderer/index.js +1745 -616
- package/dist/_internal/renderer/renderer/renderer-component-states.d.ts +34 -0
- package/dist/_internal/renderer/renderer/renderer-effective-style.d.ts +12 -6
- package/dist/_internal/renderer/renderer/renderer-material-dom.d.ts +19 -3
- package/dist/_internal/renderer/renderer/renderer-mounted-material.d.ts +11 -10
- package/dist/_internal/renderer/renderer/renderer-state.d.ts +17 -1
- package/dist/_internal/renderer/renderer/renderer-theme.d.ts +11 -0
- package/dist/_internal/renderer/renderer/renderer-types.d.ts +15 -5
- package/dist/_internal/renderer/renderer/renderer.d.ts +30 -9
- package/dist/_internal/renderer/resource/data-source-runtime.d.ts +25 -2
- package/dist/_internal/renderer/resource/push-window.d.ts +43 -0
- package/dist/_internal/renderer/resource/source-query-port.d.ts +8 -1
- package/dist/_internal/renderer/sub-canvas-layer.d.ts +83 -0
- package/dist/_internal/renderer/viewer/viewer-blueprint-timer-scheduler.d.ts +23 -0
- package/dist/_internal/renderer/viewer/viewer-configuration-guards.d.ts +0 -1
- package/dist/_internal/renderer/viewer/viewer-configuration.d.ts +6 -3
- package/dist/_internal/renderer/viewer/viewer-stale-style.d.ts +3 -0
- package/dist/_internal/renderer/viewer/viewer-variable-controller.d.ts +2 -0
- package/dist/_internal/renderer/viewer/viewer.d.ts +18 -7
- package/dist/_internal/sdk/auto-register.js +7 -7
- package/dist/_internal/sdk/designer-auto-register.js +3 -3
- package/dist/_internal/sdk/designer.d.ts +1 -1
- package/dist/_internal/sdk/designer.js +8 -8
- package/dist/_internal/sdk/host-tokens.css +12 -12
- package/dist/_internal/sdk/index.d.ts +1 -1
- package/dist/_internal/sdk/index.js +6 -6
- package/dist/auto-register.js +11 -11
- package/dist/auto-register.js.map +1 -1
- package/dist/contracts.js +73 -43
- package/dist/contracts.js.map +1 -1
- package/dist/core.js +151 -23
- package/dist/core.js.map +1 -1
- package/dist/{data-contracts-BFld0hw_.js → data-contracts-CnnB5KC9.js} +2 -2
- package/dist/{data-contracts-BFld0hw_.js.map → data-contracts-CnnB5KC9.js.map} +1 -1
- package/dist/dataset-port-D993nOlT.js +182 -0
- package/dist/dataset-port-D993nOlT.js.map +1 -0
- package/dist/{designer-Byw45cUM.js → designer-3Tb0EIDV.js} +3 -3
- package/dist/designer-3Tb0EIDV.js.map +1 -0
- package/dist/designer-auto-register.js +6 -6
- package/dist/designer-auto-register.js.map +1 -1
- package/dist/designer-blueprint-workbench-panel-CJ3iZo5v-BebifP4x.js +2852 -0
- package/dist/designer-blueprint-workbench-panel-CJ3iZo5v-BebifP4x.js.map +1 -0
- package/dist/{designer-dataset-controller-CPytVNBK-DWL3SRTP.js → designer-dataset-controller-CrfOg2Ys-DhKUEJJe.js} +1487 -1232
- package/dist/designer-dataset-controller-CrfOg2Ys-DhKUEJJe.js.map +1 -0
- package/dist/{designer-ui-primitives-CH4RNiMa-BNXQwJPZ.js → designer-field-primitives-KBZuWN_D-B3h4jpYe.js} +871 -343
- package/dist/designer-field-primitives-KBZuWN_D-B3h4jpYe.js.map +1 -0
- package/dist/designer-left-panel-groups-dom-N2OHOWjl-D8CzGwbF.js +1265 -0
- package/dist/designer-left-panel-groups-dom-N2OHOWjl-D8CzGwbF.js.map +1 -0
- package/dist/designer.js +5 -5
- package/dist/dist-6GRboBs-.js +3305 -0
- package/dist/dist-6GRboBs-.js.map +1 -0
- package/dist/{dist-BHTClwId.js → dist-BjLjFUy1.js} +8564 -6030
- package/dist/dist-BjLjFUy1.js.map +1 -0
- package/dist/engine.js +5 -4
- package/dist/fragment-Y6YnW6wy.js +393 -0
- package/dist/fragment-Y6YnW6wy.js.map +1 -0
- package/dist/host-kit.js +297 -3
- package/dist/host-kit.js.map +1 -1
- package/dist/{host-resource-selection-5Cf_gclK-Sv4Z8UXS.js → host-resource-selection-xo2mLCD4-BR5XCcim.js} +1233 -937
- package/dist/host-resource-selection-xo2mLCD4-BR5XCcim.js.map +1 -0
- package/dist/host-tokens.css +12 -12
- package/dist/index.js +10 -10
- package/dist/level-scale-BzUjE31V.js +139 -0
- package/dist/level-scale-BzUjE31V.js.map +1 -0
- package/dist/{manager-B2CZ2b5I.js → manager-Ch0RTu_i.js} +20 -10
- package/dist/manager-Ch0RTu_i.js.map +1 -0
- package/dist/material-UbSfiuZq.js +12 -0
- package/dist/{material-BPlvEmDi.js.map → material-UbSfiuZq.js.map} +1 -1
- package/dist/material-auto-register.js +6 -6
- package/dist/material-auto-register.js.map +1 -1
- package/dist/{material-definition-B9xCZcD-.js → material-definition-BeW34dJr.js} +2 -2
- package/dist/{material-definition-B9xCZcD-.js.map → material-definition-BeW34dJr.js.map} +1 -1
- package/dist/{material-manifest-bsGl6vZZ.js → material-manifest-B1XatGPx.js} +222 -137
- package/dist/material-manifest-B1XatGPx.js.map +1 -0
- package/dist/material-schema-CLoDx-Tl.js +203 -0
- package/dist/material-schema-CLoDx-Tl.js.map +1 -0
- package/dist/{editor-descriptor-schema-Be30Wv8w.js → material-theme-C91eus78.js} +90 -28
- package/dist/material-theme-C91eus78.js.map +1 -0
- package/dist/material-validation-utils-ku_6Xxk2.js +125 -0
- package/dist/material-validation-utils-ku_6Xxk2.js.map +1 -0
- package/dist/material.js +3 -3
- package/dist/migrate-document-D3HhCVlZ.js +768 -0
- package/dist/migrate-document-D3HhCVlZ.js.map +1 -0
- package/dist/parse-AOTE9WnD.js +2308 -0
- package/dist/parse-AOTE9WnD.js.map +1 -0
- package/dist/{parse-B0hwp_yj.js → parse-B1OD1teS.js} +69 -61
- package/dist/{parse-B0hwp_yj.js.map → parse-B1OD1teS.js.map} +1 -1
- package/dist/parse-parts-BNrpdG5o.js +42 -0
- package/dist/parse-parts-BNrpdG5o.js.map +1 -0
- package/dist/{plugin-B9Xxtw7G.js → plugin-DHgh9uHh.js} +140 -94
- package/dist/plugin-DHgh9uHh.js.map +1 -0
- package/dist/plugin-core.js +93 -8
- package/dist/plugin-core.js.map +1 -0
- package/dist/plugin-manager.js +1 -1
- package/dist/plugin-package-Dr5ro6h6.js +1221 -0
- package/dist/plugin-package-Dr5ro6h6.js.map +1 -0
- package/dist/{plugin-registration-BjS_CXJU.js → plugin-registration-rsmb4GvS.js} +4 -4
- package/dist/{plugin-registration-BjS_CXJU.js.map → plugin-registration-rsmb4GvS.js.map} +1 -1
- package/dist/plugin-sdk.js +6 -6
- package/dist/{plugins-B9bwk-t6.js → plugins-DGRHgREK.js} +2 -2
- package/dist/{plugins-B9bwk-t6.js.map → plugins-DGRHgREK.js.map} +1 -1
- package/dist/plugins.js +8 -8
- package/dist/renderer.js +1 -1
- package/dist/runtime-dispatch-BfnRDtMe.js +479 -0
- package/dist/runtime-dispatch-BfnRDtMe.js.map +1 -0
- package/dist/{src-Bm7u11mN-BMeb9fvV.js → src-Bm7u11mN-_0u6cMEw.js} +60 -60
- package/dist/{src-Bm7u11mN-BMeb9fvV.js.map → src-Bm7u11mN-_0u6cMEw.js.map} +1 -1
- package/dist/{text-BVzTcUas.js → text-BNksUr5J.js} +401 -360
- package/dist/text-BNksUr5J.js.map +1 -0
- package/dist/theme-CcBXf4Ay.js +48 -0
- package/dist/theme-CcBXf4Ay.js.map +1 -0
- package/dist/{value-ref-y4_YKUP5.js → value-ref-BG_MV9C-.js} +2 -2
- package/dist/{value-ref-y4_YKUP5.js.map → value-ref-BG_MV9C-.js.map} +1 -1
- package/dist/{viewer-CrJupI8I-DZZfdHXr.js → viewer-CrJupI8I-D9dVcNw4.js} +5 -5
- package/dist/{viewer-CrJupI8I-DZZfdHXr.js.map → viewer-CrJupI8I-D9dVcNw4.js.map} +1 -1
- package/dist/viewer-auto-register.js +2 -2
- package/dist/viewer.js +2 -2
- package/dist/{contrast-CZFqj1I5.js → viewport-CiCKeAQH.js} +369 -411
- package/dist/viewport-CiCKeAQH.js.map +1 -0
- package/package.json +11 -11
- package/dist/_internal/contracts/document/blueprint-relations.d.ts +0 -16
- package/dist/_internal/contracts/document/blueprint-relations.js +0 -196
- package/dist/_internal/engine/browser/controllers/blueprint/designer-blueprint-panel-mutations.d.ts +0 -5
- package/dist/_internal/engine/browser/controllers/designer-guard-controller.d.ts +0 -27
- package/dist/_internal/engine/browser/controllers/designer-scene-controller.d.ts +0 -47
- package/dist/_internal/engine/browser/controllers/panel/designer-style-rules-controller.d.ts +0 -12
- package/dist/_internal/engine/browser/dom/guard/designer-contrast-measure.d.ts +0 -24
- package/dist/_internal/engine/browser/dom/guard/designer-guard-dom.d.ts +0 -15
- package/dist/_internal/engine/browser/dom/workspace/designer-canvas-hint-dom.d.ts +0 -6
- package/dist/_internal/engine/browser/viewport/designer-canvas-snap-index.d.ts +0 -9
- package/dist/_internal/engine/common/operations/blueprint/designer-blueprint-connection.d.ts +0 -14
- package/dist/_internal/engine/common/operations/blueprint/designer-blueprint-mutation-helpers.d.ts +0 -20
- package/dist/_internal/engine/common/operations/blueprint/designer-blueprint-mutations.d.ts +0 -15
- package/dist/_internal/engine/common/operations/blueprint/designer-blueprint-node-ids.d.ts +0 -12
- package/dist/_internal/engine/common/operations/designer-name-validation.d.ts +0 -2
- package/dist/_internal/engine/common/operations/scene/designer-scene.d.ts +0 -55
- package/dist/_internal/engine/common/operations/style/designer-host-conditional-style.d.ts +0 -21
- package/dist/_internal/engine/common/operations/style/designer-style-rules.d.ts +0 -25
- package/dist/_internal/engine/common/validation/designer-guard.d.ts +0 -49
- package/dist/_internal/engine/designer-blueprint-workbench-panel-C2MoZwKA.js +0 -3548
- package/dist/_internal/engine/designer-element/api/designer-element-guard.d.ts +0 -13
- package/dist/_internal/engine/designer-element/api/designer-element-scene.d.ts +0 -14
- package/dist/_internal/engine/designer-left-panel-groups-dom-WMsH33zw.js +0 -573
- package/dist/_internal/engine/host-resource-selection-5Cf_gclK.js +0 -2188
- package/dist/_internal/renderer/style-rules.d.ts +0 -9
- package/dist/contrast-CZFqj1I5.js.map +0 -1
- package/dist/dataset-port-CUsMmX2x.js +0 -65
- package/dist/dataset-port-CUsMmX2x.js.map +0 -1
- package/dist/designer-Byw45cUM.js.map +0 -1
- package/dist/designer-blueprint-workbench-panel-C2MoZwKA-CbXkv78O.js +0 -3517
- package/dist/designer-blueprint-workbench-panel-C2MoZwKA-CbXkv78O.js.map +0 -1
- package/dist/designer-dataset-controller-CPytVNBK-DWL3SRTP.js.map +0 -1
- package/dist/designer-left-panel-groups-dom-WMsH33zw-B9pl8loh.js +0 -557
- package/dist/designer-left-panel-groups-dom-WMsH33zw-B9pl8loh.js.map +0 -1
- package/dist/designer-ui-primitives-CH4RNiMa-BNXQwJPZ.js.map +0 -1
- package/dist/dist-BHTClwId.js.map +0 -1
- package/dist/dist-DfAV2jGI.js +0 -2185
- package/dist/dist-DfAV2jGI.js.map +0 -1
- package/dist/editor-descriptor-schema-Be30Wv8w.js.map +0 -1
- package/dist/host-resource-selection-5Cf_gclK-Sv4Z8UXS.js.map +0 -1
- package/dist/manager-B2CZ2b5I.js.map +0 -1
- package/dist/material-BPlvEmDi.js +0 -12
- package/dist/material-manifest-bsGl6vZZ.js.map +0 -1
- package/dist/material-schema-CtxTkCP2.js +0 -267
- package/dist/material-schema-CtxTkCP2.js.map +0 -1
- package/dist/migrate-document-BJUN7NPv.js +0 -436
- package/dist/migrate-document-BJUN7NPv.js.map +0 -1
- package/dist/parse-BQw3u9_4.js +0 -1126
- package/dist/parse-BQw3u9_4.js.map +0 -1
- package/dist/plugin-B9Xxtw7G.js.map +0 -1
- package/dist/plugin-package-BT-pCoTt.js +0 -174
- package/dist/plugin-package-BT-pCoTt.js.map +0 -1
- package/dist/runtime-dispatch-Dt9fhcI5.js +0 -360
- package/dist/runtime-dispatch-Dt9fhcI5.js.map +0 -1
- package/dist/schema-C38FI_z2.js +0 -541
- package/dist/schema-C38FI_z2.js.map +0 -1
- package/dist/text-BVzTcUas.js.map +0 -1
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import { t as e } from "./image-url-D6mUcjY1.js";
|
|
2
|
-
import { n as t
|
|
3
|
-
import { n as r } from "./
|
|
4
|
-
import { n as i
|
|
5
|
-
|
|
6
|
-
|
|
2
|
+
import { n as t } from "./material-manifest-B1XatGPx.js";
|
|
3
|
+
import { n, t as r } from "./data-contracts-CnnB5KC9.js";
|
|
4
|
+
import { n as i } from "./material-definition-BeW34dJr.js";
|
|
5
|
+
import { n as a, r as o, t as s } from "./material-state-view-Bw7xIkEg.js";
|
|
6
|
+
//#region ../material/dist/editor-descriptor-DJZYygOa.js
|
|
7
|
+
var c = globalThis.HTMLElement ?? class {}, l = class extends c {
|
|
7
8
|
#e;
|
|
8
9
|
#t;
|
|
9
10
|
get model() {
|
|
@@ -20,14 +21,12 @@ var s = globalThis.HTMLElement ?? class {}, c = class extends s {
|
|
|
20
21
|
return this.#e;
|
|
21
22
|
}
|
|
22
23
|
drawBoxSurface(e) {
|
|
23
|
-
this.style.boxSizing = "border-box",
|
|
24
|
-
let t =
|
|
25
|
-
this.style.
|
|
26
|
-
let n = m(e.borderRadius);
|
|
27
|
-
this.style.borderRadius = n === void 0 ? "0px" : `${n}px`, this.style.boxShadow = h(e);
|
|
24
|
+
this.style.boxSizing = "border-box", d(this, m(e.fill)), this.applyBoxBorder(m(e.borderColor), h(e.borderWidth));
|
|
25
|
+
let t = h(e.borderRadius);
|
|
26
|
+
this.style.borderRadius = t === void 0 ? "0px" : `${t}px`, this.style.boxShadow = ee(e);
|
|
28
27
|
}
|
|
29
28
|
applyBoxBorder(e, t) {
|
|
30
|
-
let n =
|
|
29
|
+
let n = u(e);
|
|
31
30
|
this.style.borderColor = n ? "transparent" : e, this.style.borderStyle = "solid", this.style.borderWidth = n ? "0px" : t === void 0 ? "" : `${t}px`, this.applyGradientBorderOverlay(n && t !== void 0 && t > 0 ? e : void 0, t);
|
|
32
31
|
}
|
|
33
32
|
applyGradientBorderOverlay(e, t) {
|
|
@@ -38,41 +37,69 @@ var s = globalThis.HTMLElement ?? class {}, c = class extends s {
|
|
|
38
37
|
r.display = "none", r.backgroundImage = "", r.padding = "", r.mask = "", r.maskComposite = "", r.webkitMask = "", r.webkitMaskComposite = "";
|
|
39
38
|
return;
|
|
40
39
|
}
|
|
41
|
-
r.display = "block", r.backgroundImage = e, r.padding = `${t}px`, r.webkitMask =
|
|
40
|
+
r.display = "block", r.backgroundImage = e, r.padding = `${t}px`, r.webkitMask = p, r.webkitMaskComposite = "xor", r.mask = p, r.maskComposite = "exclude";
|
|
42
41
|
}
|
|
43
42
|
ensureGradientBorderLayer() {
|
|
44
43
|
if (this.#t !== void 0) return this.#t;
|
|
45
44
|
let e = this.ownerDocument.createElement("div");
|
|
46
|
-
return e.setAttribute(
|
|
45
|
+
return e.setAttribute(f, ""), e.setAttribute("aria-hidden", "true"), e.style.position = "absolute", e.style.inset = "0", e.style.boxSizing = "border-box", e.style.borderRadius = "inherit", e.style.pointerEvents = "none", this.appendChild(e), this.#t = e, e;
|
|
47
46
|
}
|
|
48
47
|
renderDataState(e, t) {
|
|
49
|
-
let n =
|
|
48
|
+
let n = o(this.ownerDocument, e, t);
|
|
50
49
|
n !== void 0 && this.replaceChildren(n);
|
|
51
50
|
}
|
|
52
51
|
renderInvalidData(e, t) {
|
|
53
|
-
this.replaceChildren(
|
|
52
|
+
this.replaceChildren(a(this.ownerDocument, e, t));
|
|
54
53
|
}
|
|
55
54
|
};
|
|
56
|
-
function
|
|
55
|
+
function u(e) {
|
|
57
56
|
return /^(?:linear|radial)-gradient\(/i.test(e);
|
|
58
57
|
}
|
|
59
|
-
function
|
|
60
|
-
|
|
58
|
+
function d(e, t) {
|
|
59
|
+
u(t) ? (e.style.backgroundColor = "transparent", e.style.backgroundImage = t) : (e.style.backgroundColor = t, e.style.backgroundImage = "");
|
|
61
60
|
}
|
|
62
|
-
var
|
|
63
|
-
function
|
|
61
|
+
var f = "data-base-screen-gradient-border", p = "linear-gradient(#ffffff 0 0) content-box, linear-gradient(#ffffff 0 0)";
|
|
62
|
+
function m(e) {
|
|
64
63
|
return typeof e == "string" ? e : "";
|
|
65
64
|
}
|
|
66
|
-
function
|
|
65
|
+
function h(e) {
|
|
67
66
|
return typeof e == "number" && Number.isFinite(e) ? e : void 0;
|
|
68
67
|
}
|
|
69
|
-
function
|
|
70
|
-
let t =
|
|
71
|
-
return t === "" || !(n > 0) ||
|
|
68
|
+
function ee(e) {
|
|
69
|
+
let t = m(e.shadowColor), n = h(e.shadowBlur) ?? 0, r = h(e.shadowOffsetX) ?? 0, i = h(e.shadowOffsetY) ?? 0;
|
|
70
|
+
return t === "" || !(n > 0) || u(t) ? "" : `${r}px ${i}px ${n}px ${t}`;
|
|
71
|
+
}
|
|
72
|
+
function g(e, n) {
|
|
73
|
+
let r = t(n, e.propsSchema, e.styleSchema, e.events, e.dataBinding?.roles);
|
|
74
|
+
if (!r.ok) throw Error(`${e.type} editor descriptor is invalid: ${r.diagnostics.map((e) => `${e.code}@${e.path.join(".")}`).join(", ")}`);
|
|
75
|
+
return {
|
|
76
|
+
...e,
|
|
77
|
+
editorDescriptor: r.value
|
|
78
|
+
};
|
|
79
|
+
}
|
|
80
|
+
function _(e, t, n, r = {}) {
|
|
81
|
+
return {
|
|
82
|
+
id: e,
|
|
83
|
+
target: "style",
|
|
84
|
+
path: [e],
|
|
85
|
+
label: t,
|
|
86
|
+
control: n,
|
|
87
|
+
...r
|
|
88
|
+
};
|
|
89
|
+
}
|
|
90
|
+
function v(e, t, n, r = {}) {
|
|
91
|
+
return {
|
|
92
|
+
id: e,
|
|
93
|
+
target: "props",
|
|
94
|
+
path: [e],
|
|
95
|
+
label: t,
|
|
96
|
+
control: n,
|
|
97
|
+
...r
|
|
98
|
+
};
|
|
72
99
|
}
|
|
73
100
|
//#endregion
|
|
74
101
|
//#region ../material/dist/chart.js
|
|
75
|
-
var
|
|
102
|
+
var y = g({
|
|
76
103
|
type: "base.chart",
|
|
77
104
|
tagName: "base-screen-chart",
|
|
78
105
|
name: "图表",
|
|
@@ -164,29 +191,7 @@ var g = {
|
|
|
164
191
|
"lineWidth"
|
|
165
192
|
]
|
|
166
193
|
},
|
|
167
|
-
stylePanel: [
|
|
168
|
-
{
|
|
169
|
-
style: "backgroundColor",
|
|
170
|
-
label: "背景色",
|
|
171
|
-
control: "color",
|
|
172
|
-
allowGradient: !0
|
|
173
|
-
},
|
|
174
|
-
{
|
|
175
|
-
style: "color",
|
|
176
|
-
label: "文字色",
|
|
177
|
-
control: "color"
|
|
178
|
-
},
|
|
179
|
-
{
|
|
180
|
-
style: "gridColor",
|
|
181
|
-
label: "网格色",
|
|
182
|
-
control: "color"
|
|
183
|
-
},
|
|
184
|
-
{
|
|
185
|
-
style: "lineWidth",
|
|
186
|
-
label: "线宽",
|
|
187
|
-
control: "number"
|
|
188
|
-
}
|
|
189
|
-
],
|
|
194
|
+
stylePanel: [],
|
|
190
195
|
propsSchema: {
|
|
191
196
|
kind: "object",
|
|
192
197
|
properties: {},
|
|
@@ -220,37 +225,52 @@ var g = {
|
|
|
220
225
|
rotate: !0,
|
|
221
226
|
children: !1
|
|
222
227
|
}
|
|
223
|
-
},
|
|
228
|
+
}, { appearance: [{
|
|
229
|
+
id: "text",
|
|
230
|
+
label: "文字",
|
|
231
|
+
fields: [_("color", "文字色", "color")]
|
|
232
|
+
}, {
|
|
233
|
+
id: "surface",
|
|
234
|
+
label: "填充与描边",
|
|
235
|
+
fields: [
|
|
236
|
+
_("backgroundColor", "背景色", "color", { allowGradient: !0 }),
|
|
237
|
+
_("gridColor", "网格色", "color"),
|
|
238
|
+
_("lineWidth", "线宽", "number")
|
|
239
|
+
]
|
|
240
|
+
}] }), b = [
|
|
224
241
|
"#38bdf8",
|
|
225
242
|
"#f97316",
|
|
226
243
|
"#a78bfa",
|
|
227
244
|
"#4ade80",
|
|
228
245
|
"#facc15",
|
|
229
246
|
"#fb7185"
|
|
230
|
-
],
|
|
231
|
-
static manifest =
|
|
247
|
+
], x = 200, S = 1.4, C = 2.6, w = class extends l {
|
|
248
|
+
static manifest = y;
|
|
249
|
+
activePoint = 0;
|
|
250
|
+
restoreFocus = !1;
|
|
232
251
|
renderMaterial() {
|
|
233
252
|
let e = this.materialModel;
|
|
234
253
|
if (e === void 0 || !this.isConnected) return;
|
|
235
|
-
if (this.replaceChildren(), this.style.display = "block", this.style.overflow = "hidden",
|
|
254
|
+
if (this.restoreFocus = ne(this), this.replaceChildren(), this.style.display !== "none" && (this.style.display = "block"), this.style.overflow = "hidden", d(this, T(e.style.backgroundColor)), this.style.color = T(e.style.color), this.setAttribute("role", "group"), this.setAttribute("aria-label", "图表"), e.dataState.status !== "ready") {
|
|
236
255
|
this.renderDataState(e.dataState);
|
|
237
256
|
return;
|
|
238
257
|
}
|
|
239
|
-
let t =
|
|
258
|
+
let t = r(e.dataState.value);
|
|
240
259
|
if (!t.ok) {
|
|
241
260
|
this.renderInvalidData("HOST_DATASET_INVALID", "图表数据格式无效");
|
|
242
261
|
return;
|
|
243
262
|
}
|
|
244
263
|
if (t.value.series.length === 0) {
|
|
245
|
-
this.replaceChildren(
|
|
264
|
+
this.replaceChildren(s(this.ownerDocument));
|
|
246
265
|
return;
|
|
247
266
|
}
|
|
248
|
-
|
|
267
|
+
let n = t.value.series.reduce((e, t) => e + t.points.length, 0);
|
|
268
|
+
this.setAttribute("aria-label", `图表,${t.value.series.length} 个系列,${n} 个数据点`), this.renderChart(t.value, e);
|
|
249
269
|
}
|
|
250
270
|
renderChart(e, t) {
|
|
251
271
|
let n = this.ownerDocument.createElementNS("http://www.w3.org/2000/svg", "svg");
|
|
252
|
-
n.setAttribute("viewBox", "0 0 100 62"), n.setAttribute("preserveAspectRatio", "none"), n.setAttribute("aria-
|
|
253
|
-
let r =
|
|
272
|
+
n.setAttribute("viewBox", "0 0 100 62"), n.setAttribute("preserveAspectRatio", "none"), n.setAttribute("role", "group"), n.setAttribute("aria-label", "图表数据点"), n.style.cssText = "display: block; width: 100%; height: 100%; padding: 4px 12px 10px; box-sizing: border-box;";
|
|
273
|
+
let r = T(t.style.gridColor);
|
|
254
274
|
for (let e of [
|
|
255
275
|
12,
|
|
256
276
|
24,
|
|
@@ -267,31 +287,49 @@ var g = {
|
|
|
267
287
|
});
|
|
268
288
|
n.appendChild(t);
|
|
269
289
|
}
|
|
270
|
-
let i = e.series.flatMap((e) => e.points.map((e) => e.y)), a = Math.min(0, ...i), o = Math.max(1, ...i)
|
|
290
|
+
let i = e.series.flatMap((e) => e.points.map((e) => e.y)), a = Math.min(0, ...i), o = Math.max(1, ...i), s = t.interactive, c = [], l = e.series.reduce((e, t) => e + t.points.length, 0), u = Math.min(this.activePoint, Math.max(0, l - 1)), d = (e) => {
|
|
291
|
+
let t = c[e];
|
|
292
|
+
t !== void 0 && (c[u]?.setAttribute("tabindex", "-1"), t.setAttribute("tabindex", "0"), u = e, this.activePoint = e, t.focus());
|
|
293
|
+
};
|
|
271
294
|
e.series.forEach((e, r) => {
|
|
272
295
|
let i = e.points.map((t, n) => ({
|
|
273
296
|
x: e.points.length <= 1 ? 50 : 6 + n * 88 / (e.points.length - 1),
|
|
274
297
|
y: 52 - (t.y - a) / (o - a) * 40,
|
|
275
298
|
point: t,
|
|
276
299
|
pointIndex: n
|
|
277
|
-
})),
|
|
300
|
+
})), l = this.svgElement("polyline", {
|
|
278
301
|
points: i.map((e) => `${e.x},${e.y}`).join(" "),
|
|
279
302
|
fill: "none",
|
|
280
|
-
stroke:
|
|
281
|
-
"stroke-width":
|
|
303
|
+
stroke: b[r % b.length],
|
|
304
|
+
"stroke-width": re(t.style.lineWidth, 2),
|
|
282
305
|
"vector-effect": "non-scaling-stroke"
|
|
283
306
|
});
|
|
284
|
-
n.appendChild(
|
|
307
|
+
n.appendChild(l);
|
|
285
308
|
for (let t of i) {
|
|
286
309
|
let i = this.svgElement("circle", {
|
|
287
310
|
cx: t.x,
|
|
288
311
|
cy: t.y,
|
|
289
|
-
r:
|
|
290
|
-
fill:
|
|
312
|
+
r: S,
|
|
313
|
+
fill: b[r % b.length]
|
|
291
314
|
});
|
|
315
|
+
if (s) {
|
|
316
|
+
let n = c.length;
|
|
317
|
+
i.setAttribute("tabindex", n === u ? "0" : "-1"), i.setAttribute("role", "button"), i.setAttribute("aria-label", `${e.label},${String(t.point.x)},${t.point.y}`), i.addEventListener("keydown", (r) => {
|
|
318
|
+
if (r.key === "Enter" || r.key === " ") {
|
|
319
|
+
r.preventDefault(), this.emitPointClick(e, t.point, t.pointIndex);
|
|
320
|
+
return;
|
|
321
|
+
}
|
|
322
|
+
let i = c.length - 1, a = r.key === "ArrowRight" || r.key === "ArrowDown" ? Math.min(n + 1, i) : r.key === "ArrowLeft" || r.key === "ArrowUp" ? Math.max(n - 1, 0) : r.key === "Home" ? 0 : r.key === "End" ? i : void 0;
|
|
323
|
+
a !== void 0 && (r.preventDefault(), d(a));
|
|
324
|
+
}), i.addEventListener("focus", () => {
|
|
325
|
+
i.setAttribute("r", String(C)), i.setAttribute("stroke", "currentColor"), i.setAttribute("stroke-width", "2"), i.setAttribute("vector-effect", "non-scaling-stroke");
|
|
326
|
+
}), i.addEventListener("blur", () => {
|
|
327
|
+
i.setAttribute("r", String(S)), i.removeAttribute("stroke"), i.removeAttribute("stroke-width");
|
|
328
|
+
}), c.push(i);
|
|
329
|
+
}
|
|
292
330
|
i.addEventListener("click", () => this.emitPointClick(e, t.point, t.pointIndex)), n.appendChild(i);
|
|
293
331
|
}
|
|
294
|
-
}), this.appendChild(n);
|
|
332
|
+
}), this.appendChild(n), this.appendChild(te(this.ownerDocument, e)), s && this.restoreFocus && c[u]?.focus({ preventScroll: !0 }), this.restoreFocus = !1;
|
|
295
333
|
}
|
|
296
334
|
emitPointClick(e, t, n) {
|
|
297
335
|
this.materialModel?.interactive === !0 && this.dispatchEvent(new CustomEvent("base-screen-material-event", {
|
|
@@ -314,22 +352,54 @@ var g = {
|
|
|
314
352
|
return n;
|
|
315
353
|
}
|
|
316
354
|
};
|
|
317
|
-
function
|
|
355
|
+
function te(e, t) {
|
|
356
|
+
let n = e.createElement("div");
|
|
357
|
+
n.style.cssText = "position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0;";
|
|
358
|
+
let r = e.createElement("table"), i = e.createElement("caption"), a = e.createElement("thead"), o = e.createElement("tr");
|
|
359
|
+
for (let t of [
|
|
360
|
+
"系列",
|
|
361
|
+
"X",
|
|
362
|
+
"Y"
|
|
363
|
+
]) {
|
|
364
|
+
let n = e.createElement("th");
|
|
365
|
+
n.scope = "col", n.textContent = t, o.appendChild(n);
|
|
366
|
+
}
|
|
367
|
+
a.appendChild(o);
|
|
368
|
+
let s = e.createElement("tbody"), c = t.series.flatMap((e) => e.points.map((t) => [
|
|
369
|
+
e.label,
|
|
370
|
+
t.x,
|
|
371
|
+
t.y
|
|
372
|
+
]));
|
|
373
|
+
for (let t of c.slice(0, x)) {
|
|
374
|
+
let n = e.createElement("tr");
|
|
375
|
+
for (let r of t) {
|
|
376
|
+
let t = e.createElement("td");
|
|
377
|
+
t.textContent = String(r), n.appendChild(t);
|
|
378
|
+
}
|
|
379
|
+
s.appendChild(n);
|
|
380
|
+
}
|
|
381
|
+
let l = c.length;
|
|
382
|
+
return i.textContent = l > x ? `图表数据(仅列出前 ${x} 个,共 ${l} 个数据点)` : "图表数据", r.appendChild(i), r.appendChild(a), r.appendChild(s), n.appendChild(r), n;
|
|
383
|
+
}
|
|
384
|
+
function ne(e) {
|
|
385
|
+
return typeof e.matches == "function" && e.matches(":focus-within");
|
|
386
|
+
}
|
|
387
|
+
function T(e) {
|
|
318
388
|
return typeof e == "string" ? e : "";
|
|
319
389
|
}
|
|
320
|
-
function
|
|
390
|
+
function re(e, t) {
|
|
321
391
|
return typeof e == "number" ? e : t;
|
|
322
392
|
}
|
|
323
|
-
function
|
|
324
|
-
let e =
|
|
325
|
-
manifest:
|
|
326
|
-
element:
|
|
393
|
+
function ie() {
|
|
394
|
+
let e = i({
|
|
395
|
+
manifest: y,
|
|
396
|
+
element: w
|
|
327
397
|
});
|
|
328
398
|
return e.ok ? e.value.define() : e;
|
|
329
399
|
}
|
|
330
|
-
var
|
|
400
|
+
var E = { adapt({ dataset: e, fields: t }) {
|
|
331
401
|
let n = t.dimension?.[0], r = t.measures;
|
|
332
|
-
return n === void 0 || r === void 0 || r.length === 0 ?
|
|
402
|
+
return n === void 0 || r === void 0 || r.length === 0 ? ae() : {
|
|
333
403
|
ok: !0,
|
|
334
404
|
value: { series: r.map((t) => ({
|
|
335
405
|
id: t.id,
|
|
@@ -345,8 +415,8 @@ var b = { adapt({ dataset: e, fields: t }) {
|
|
|
345
415
|
diagnostics: []
|
|
346
416
|
};
|
|
347
417
|
} };
|
|
348
|
-
Object.defineProperty(
|
|
349
|
-
function
|
|
418
|
+
Object.defineProperty(w, "tabularDataAdapter", { value: E });
|
|
419
|
+
function ae() {
|
|
350
420
|
return {
|
|
351
421
|
ok: !1,
|
|
352
422
|
diagnostics: [{
|
|
@@ -359,7 +429,7 @@ function x() {
|
|
|
359
429
|
}
|
|
360
430
|
//#endregion
|
|
361
431
|
//#region ../material/dist/container.js
|
|
362
|
-
var
|
|
432
|
+
var D = g({
|
|
363
433
|
type: "base.container",
|
|
364
434
|
tagName: "base-screen-container",
|
|
365
435
|
name: "容器",
|
|
@@ -403,29 +473,7 @@ var S = {
|
|
|
403
473
|
"opacity"
|
|
404
474
|
]
|
|
405
475
|
},
|
|
406
|
-
stylePanel: [
|
|
407
|
-
{
|
|
408
|
-
style: "fill",
|
|
409
|
-
label: "填充",
|
|
410
|
-
control: "color",
|
|
411
|
-
allowGradient: !0
|
|
412
|
-
},
|
|
413
|
-
{
|
|
414
|
-
style: "borderColor",
|
|
415
|
-
label: "边框颜色",
|
|
416
|
-
control: "color"
|
|
417
|
-
},
|
|
418
|
-
{
|
|
419
|
-
style: "borderWidth",
|
|
420
|
-
label: "边框宽度",
|
|
421
|
-
control: "number"
|
|
422
|
-
},
|
|
423
|
-
{
|
|
424
|
-
style: "opacity",
|
|
425
|
-
label: "不透明度",
|
|
426
|
-
control: "number"
|
|
427
|
-
}
|
|
428
|
-
],
|
|
476
|
+
stylePanel: [],
|
|
429
477
|
propsSchema: {
|
|
430
478
|
kind: "object",
|
|
431
479
|
properties: {},
|
|
@@ -440,23 +488,31 @@ var S = {
|
|
|
440
488
|
children: !0
|
|
441
489
|
},
|
|
442
490
|
libraryVisible: !1
|
|
443
|
-
},
|
|
444
|
-
|
|
491
|
+
}, { appearance: [{
|
|
492
|
+
id: "surface",
|
|
493
|
+
label: "填充与描边",
|
|
494
|
+
fields: [
|
|
495
|
+
_("fill", "填充色", "color", { allowGradient: !0 }),
|
|
496
|
+
_("borderColor", "边框颜色", "color"),
|
|
497
|
+
_("borderWidth", "边框宽度", "number")
|
|
498
|
+
]
|
|
499
|
+
}] }), O = class extends l {
|
|
500
|
+
static manifest = D;
|
|
445
501
|
renderMaterial() {
|
|
446
502
|
let e = this.materialModel;
|
|
447
503
|
e === void 0 || !this.isConnected || this.drawBoxSurface(e.style);
|
|
448
504
|
}
|
|
449
505
|
};
|
|
450
|
-
function
|
|
451
|
-
let e =
|
|
452
|
-
manifest:
|
|
453
|
-
element:
|
|
506
|
+
function k() {
|
|
507
|
+
let e = i({
|
|
508
|
+
manifest: D,
|
|
509
|
+
element: O
|
|
454
510
|
});
|
|
455
511
|
return e.ok ? e.value.define() : e;
|
|
456
512
|
}
|
|
457
513
|
//#endregion
|
|
458
514
|
//#region ../material/dist/image.js
|
|
459
|
-
var
|
|
515
|
+
var A = g({
|
|
460
516
|
type: "base.image",
|
|
461
517
|
tagName: "base-screen-image",
|
|
462
518
|
name: "图片",
|
|
@@ -466,7 +522,7 @@ var T = {
|
|
|
466
522
|
width: 240,
|
|
467
523
|
height: 160
|
|
468
524
|
},
|
|
469
|
-
defaultProps: {},
|
|
525
|
+
defaultProps: { alt: "" },
|
|
470
526
|
defaultData: "",
|
|
471
527
|
staticData: {
|
|
472
528
|
kind: "scalar",
|
|
@@ -499,18 +555,10 @@ var T = {
|
|
|
499
555
|
},
|
|
500
556
|
required: ["objectFit", "opacity"]
|
|
501
557
|
},
|
|
502
|
-
stylePanel: [
|
|
503
|
-
style: "objectFit",
|
|
504
|
-
label: "适应方式",
|
|
505
|
-
control: "select"
|
|
506
|
-
}, {
|
|
507
|
-
style: "opacity",
|
|
508
|
-
label: "不透明度",
|
|
509
|
-
control: "number"
|
|
510
|
-
}],
|
|
558
|
+
stylePanel: [],
|
|
511
559
|
propsSchema: {
|
|
512
560
|
kind: "object",
|
|
513
|
-
properties: {},
|
|
561
|
+
properties: { alt: { kind: "string" } },
|
|
514
562
|
required: []
|
|
515
563
|
},
|
|
516
564
|
propertyPanel: [],
|
|
@@ -526,15 +574,19 @@ var T = {
|
|
|
526
574
|
rotate: !0,
|
|
527
575
|
children: !1
|
|
528
576
|
}
|
|
529
|
-
},
|
|
530
|
-
|
|
577
|
+
}, { appearance: [{
|
|
578
|
+
id: "structure",
|
|
579
|
+
label: "结构",
|
|
580
|
+
fields: [_("objectFit", "适应方式", "select"), v("alt", "替代文本", "text", { help: "描述图片传达的信息;留空按装饰图片处理。" })]
|
|
581
|
+
}] }), j = class extends l {
|
|
582
|
+
static manifest = A;
|
|
531
583
|
#e = 0;
|
|
532
584
|
renderMaterial() {
|
|
533
585
|
let t = ++this.#e;
|
|
534
586
|
this.#t();
|
|
535
587
|
let n = this.materialModel;
|
|
536
588
|
if (n === void 0 || !this.isConnected) return;
|
|
537
|
-
if (this.replaceChildren(), this.style.display
|
|
589
|
+
if (this.replaceChildren(), this.style.display !== "none" && (this.style.display = "block"), this.style.overflow = "hidden", n.dataState.status !== "ready") {
|
|
538
590
|
this.renderDataState(n.dataState, { label: "图片加载中" });
|
|
539
591
|
return;
|
|
540
592
|
}
|
|
@@ -548,7 +600,7 @@ var T = {
|
|
|
548
600
|
return;
|
|
549
601
|
}
|
|
550
602
|
let i = this.ownerDocument.createElement("img");
|
|
551
|
-
i.alt = "", i.style.width = "100%", i.style.height = "100%", i.style.objectFit = typeof n.style.objectFit == "string" ? n.style.objectFit : "contain", i.addEventListener("load", () => {
|
|
603
|
+
i.alt = typeof n.props.alt == "string" ? n.props.alt : "", i.style.width = "100%", i.style.height = "100%", i.style.objectFit = typeof n.style.objectFit == "string" ? n.style.objectFit : "contain", i.addEventListener("load", () => {
|
|
552
604
|
if (!(t !== this.#e || !i.isConnected)) {
|
|
553
605
|
if (!Number.isFinite(i.naturalWidth) || !Number.isFinite(i.naturalHeight) || i.naturalWidth <= 0 || i.naturalHeight <= 0) {
|
|
554
606
|
this.#t();
|
|
@@ -564,20 +616,20 @@ var T = {
|
|
|
564
616
|
delete this.dataset.baseScreenImageNaturalWidth, delete this.dataset.baseScreenImageNaturalHeight;
|
|
565
617
|
}
|
|
566
618
|
};
|
|
567
|
-
function
|
|
568
|
-
let e =
|
|
569
|
-
manifest:
|
|
570
|
-
element:
|
|
619
|
+
function oe() {
|
|
620
|
+
let e = i({
|
|
621
|
+
manifest: A,
|
|
622
|
+
element: j
|
|
571
623
|
});
|
|
572
624
|
return e.ok ? e.value.define() : e;
|
|
573
625
|
}
|
|
574
626
|
//#endregion
|
|
575
627
|
//#region ../material/dist/rule.js
|
|
576
|
-
var
|
|
628
|
+
var M = ["horizontal", "vertical"], N = [
|
|
577
629
|
"solid",
|
|
578
630
|
"dashed",
|
|
579
631
|
"dotted"
|
|
580
|
-
],
|
|
632
|
+
], P = g({
|
|
581
633
|
type: "base.rule",
|
|
582
634
|
tagName: "base-screen-rule",
|
|
583
635
|
name: "分割线",
|
|
@@ -609,7 +661,7 @@ var ne = ["horizontal", "vertical"], O = [
|
|
|
609
661
|
},
|
|
610
662
|
dash: {
|
|
611
663
|
kind: "enum",
|
|
612
|
-
values: [...
|
|
664
|
+
values: [...N]
|
|
613
665
|
},
|
|
614
666
|
opacity: {
|
|
615
667
|
kind: "number",
|
|
@@ -623,41 +675,16 @@ var ne = ["horizontal", "vertical"], O = [
|
|
|
623
675
|
"dash"
|
|
624
676
|
]
|
|
625
677
|
},
|
|
626
|
-
stylePanel: [
|
|
627
|
-
{
|
|
628
|
-
style: "color",
|
|
629
|
-
label: "线条颜色",
|
|
630
|
-
control: "color"
|
|
631
|
-
},
|
|
632
|
-
{
|
|
633
|
-
style: "thickness",
|
|
634
|
-
label: "线宽",
|
|
635
|
-
control: "number"
|
|
636
|
-
},
|
|
637
|
-
{
|
|
638
|
-
style: "dash",
|
|
639
|
-
label: "线型",
|
|
640
|
-
control: "select"
|
|
641
|
-
},
|
|
642
|
-
{
|
|
643
|
-
style: "opacity",
|
|
644
|
-
label: "不透明度",
|
|
645
|
-
control: "number"
|
|
646
|
-
}
|
|
647
|
-
],
|
|
678
|
+
stylePanel: [],
|
|
648
679
|
propsSchema: {
|
|
649
680
|
kind: "object",
|
|
650
681
|
properties: { axis: {
|
|
651
682
|
kind: "enum",
|
|
652
|
-
values: [...
|
|
683
|
+
values: [...M]
|
|
653
684
|
} },
|
|
654
685
|
required: ["axis"]
|
|
655
686
|
},
|
|
656
|
-
propertyPanel: [
|
|
657
|
-
prop: "axis",
|
|
658
|
-
label: "方向",
|
|
659
|
-
control: "select"
|
|
660
|
-
}],
|
|
687
|
+
propertyPanel: [],
|
|
661
688
|
events: [],
|
|
662
689
|
dataCapabilities: [],
|
|
663
690
|
designCapabilities: {
|
|
@@ -665,25 +692,37 @@ var ne = ["horizontal", "vertical"], O = [
|
|
|
665
692
|
rotate: !0,
|
|
666
693
|
children: !1
|
|
667
694
|
}
|
|
668
|
-
},
|
|
669
|
-
|
|
695
|
+
}, { appearance: [{
|
|
696
|
+
id: "structure",
|
|
697
|
+
label: "结构",
|
|
698
|
+
fields: [v("axis", "方向", "select")]
|
|
699
|
+
}, {
|
|
700
|
+
id: "surface",
|
|
701
|
+
label: "填充与描边",
|
|
702
|
+
fields: [
|
|
703
|
+
_("color", "线条颜色", "color"),
|
|
704
|
+
_("thickness", "线宽", "number"),
|
|
705
|
+
_("dash", "线型", "select")
|
|
706
|
+
]
|
|
707
|
+
}] }), F = class extends l {
|
|
708
|
+
static manifest = P;
|
|
670
709
|
renderMaterial() {
|
|
671
710
|
let e = this.materialModel;
|
|
672
711
|
if (e === void 0 || !this.isConnected) return;
|
|
673
|
-
let t = typeof e.style.color == "string" ? e.style.color : "", n = `${typeof e.style.thickness == "number" && Number.isFinite(e.style.thickness) ? e.style.thickness : 2}px ${
|
|
674
|
-
this.style.boxSizing = "border-box", this.style.backgroundColor = "transparent", this.style.backgroundImage = "", this.style.borderTop = "", this.style.borderLeft = "", r ? this.style.borderLeft = n : this.style.borderTop = n
|
|
712
|
+
let t = typeof e.style.color == "string" ? e.style.color : "", n = `${typeof e.style.thickness == "number" && Number.isFinite(e.style.thickness) ? e.style.thickness : 2}px ${N.includes(String(e.style.dash)) ? String(e.style.dash) : "solid"} ${t}`, r = e.props.axis === "vertical";
|
|
713
|
+
this.style.boxSizing = "border-box", this.style.backgroundColor = "transparent", this.style.backgroundImage = "", this.style.borderTop = "", this.style.borderLeft = "", r ? this.style.borderLeft = n : this.style.borderTop = n;
|
|
675
714
|
}
|
|
676
715
|
};
|
|
677
|
-
function
|
|
678
|
-
let e =
|
|
679
|
-
manifest:
|
|
680
|
-
element:
|
|
716
|
+
function se() {
|
|
717
|
+
let e = i({
|
|
718
|
+
manifest: P,
|
|
719
|
+
element: F
|
|
681
720
|
});
|
|
682
721
|
return e.ok ? e.value.define() : e;
|
|
683
722
|
}
|
|
684
723
|
//#endregion
|
|
685
724
|
//#region ../material/dist/shapes.js
|
|
686
|
-
var
|
|
725
|
+
var I = {
|
|
687
726
|
kind: "object",
|
|
688
727
|
properties: {
|
|
689
728
|
fill: { kind: "string" },
|
|
@@ -728,54 +767,17 @@ var M = {
|
|
|
728
767
|
"borderWidth",
|
|
729
768
|
"opacity"
|
|
730
769
|
]
|
|
731
|
-
},
|
|
732
|
-
|
|
733
|
-
|
|
734
|
-
|
|
735
|
-
|
|
736
|
-
|
|
737
|
-
|
|
738
|
-
|
|
739
|
-
|
|
740
|
-
|
|
741
|
-
|
|
742
|
-
},
|
|
743
|
-
{
|
|
744
|
-
style: "borderWidth",
|
|
745
|
-
label: "边框宽度",
|
|
746
|
-
control: "number"
|
|
747
|
-
},
|
|
748
|
-
{
|
|
749
|
-
style: "borderRadius",
|
|
750
|
-
label: "圆角",
|
|
751
|
-
control: "number"
|
|
752
|
-
},
|
|
753
|
-
{
|
|
754
|
-
style: "shadowColor",
|
|
755
|
-
label: "阴影颜色",
|
|
756
|
-
control: "color"
|
|
757
|
-
},
|
|
758
|
-
{
|
|
759
|
-
style: "shadowBlur",
|
|
760
|
-
label: "阴影模糊",
|
|
761
|
-
control: "number"
|
|
762
|
-
},
|
|
763
|
-
{
|
|
764
|
-
style: "shadowOffsetX",
|
|
765
|
-
label: "阴影偏移 X",
|
|
766
|
-
control: "number"
|
|
767
|
-
},
|
|
768
|
-
{
|
|
769
|
-
style: "shadowOffsetY",
|
|
770
|
-
label: "阴影偏移 Y",
|
|
771
|
-
control: "number"
|
|
772
|
-
},
|
|
773
|
-
{
|
|
774
|
-
style: "opacity",
|
|
775
|
-
label: "不透明度",
|
|
776
|
-
control: "number"
|
|
777
|
-
}
|
|
778
|
-
], P = {
|
|
770
|
+
}, L = {
|
|
771
|
+
id: "shadow",
|
|
772
|
+
label: "阴影",
|
|
773
|
+
collapsed: !0,
|
|
774
|
+
fields: [
|
|
775
|
+
_("shadowColor", "阴影颜色", "color"),
|
|
776
|
+
_("shadowBlur", "阴影模糊", "number"),
|
|
777
|
+
_("shadowOffsetX", "阴影偏移 X", "number"),
|
|
778
|
+
_("shadowOffsetY", "阴影偏移 Y", "number")
|
|
779
|
+
]
|
|
780
|
+
}, R = g({
|
|
779
781
|
type: "base.rectangle",
|
|
780
782
|
tagName: "base-screen-rectangle",
|
|
781
783
|
name: "矩形",
|
|
@@ -799,11 +801,8 @@ var M = {
|
|
|
799
801
|
shadowOffsetX: 0,
|
|
800
802
|
shadowOffsetY: 0
|
|
801
803
|
},
|
|
802
|
-
styleSchema:
|
|
803
|
-
stylePanel:
|
|
804
|
-
...e,
|
|
805
|
-
allowGradient: !0
|
|
806
|
-
} : e),
|
|
804
|
+
styleSchema: I,
|
|
805
|
+
stylePanel: [],
|
|
807
806
|
propsSchema: {
|
|
808
807
|
kind: "object",
|
|
809
808
|
properties: {},
|
|
@@ -817,34 +816,57 @@ var M = {
|
|
|
817
816
|
rotate: !0,
|
|
818
817
|
children: !1
|
|
819
818
|
}
|
|
820
|
-
},
|
|
821
|
-
|
|
819
|
+
}, { appearance: [
|
|
820
|
+
{
|
|
821
|
+
id: "structure",
|
|
822
|
+
label: "结构",
|
|
823
|
+
fields: [_("borderRadius", "圆角", "number")]
|
|
824
|
+
},
|
|
825
|
+
{
|
|
826
|
+
id: "surface",
|
|
827
|
+
label: "填充与描边",
|
|
828
|
+
fields: [
|
|
829
|
+
_("fill", "填充色", "color", { allowGradient: !0 }),
|
|
830
|
+
_("borderColor", "边框颜色", "color", { allowGradient: !0 }),
|
|
831
|
+
_("borderWidth", "边框宽度", "number")
|
|
832
|
+
]
|
|
833
|
+
},
|
|
834
|
+
L
|
|
835
|
+
] }), z = g({
|
|
836
|
+
...R,
|
|
822
837
|
type: "base.ellipse",
|
|
823
838
|
tagName: "base-screen-ellipse",
|
|
824
839
|
name: "椭圆",
|
|
825
|
-
keywords: ["椭圆", "形状"]
|
|
826
|
-
|
|
827
|
-
|
|
840
|
+
keywords: ["椭圆", "形状"]
|
|
841
|
+
}, { appearance: [{
|
|
842
|
+
id: "surface",
|
|
843
|
+
label: "填充与描边",
|
|
844
|
+
fields: [
|
|
845
|
+
_("fill", "填充色", "color", { allowGradient: !0 }),
|
|
846
|
+
_("borderColor", "边框颜色", "color"),
|
|
847
|
+
_("borderWidth", "边框宽度", "number")
|
|
848
|
+
]
|
|
849
|
+
}, L] }), B = class extends l {
|
|
828
850
|
renderMaterial() {
|
|
829
851
|
let e = this.materialModel;
|
|
830
852
|
e === void 0 || !this.isConnected || this.drawBoxSurface(e.style);
|
|
831
853
|
}
|
|
832
|
-
},
|
|
833
|
-
static manifest =
|
|
834
|
-
},
|
|
835
|
-
static manifest =
|
|
854
|
+
}, V = class extends B {
|
|
855
|
+
static manifest = R;
|
|
856
|
+
}, H = class extends B {
|
|
857
|
+
static manifest = z;
|
|
836
858
|
renderMaterial() {
|
|
837
859
|
super.renderMaterial(), this.style.borderRadius = "50%";
|
|
838
860
|
}
|
|
839
861
|
};
|
|
840
|
-
function
|
|
841
|
-
return
|
|
862
|
+
function U() {
|
|
863
|
+
return G(R, V);
|
|
842
864
|
}
|
|
843
|
-
function
|
|
844
|
-
return
|
|
865
|
+
function W() {
|
|
866
|
+
return G(z, H);
|
|
845
867
|
}
|
|
846
|
-
function
|
|
847
|
-
let n =
|
|
868
|
+
function G(e, t) {
|
|
869
|
+
let n = i({
|
|
848
870
|
manifest: e,
|
|
849
871
|
element: t
|
|
850
872
|
});
|
|
@@ -852,7 +874,7 @@ function V(e, t) {
|
|
|
852
874
|
}
|
|
853
875
|
//#endregion
|
|
854
876
|
//#region ../material/dist/table.js
|
|
855
|
-
var
|
|
877
|
+
var K = g({
|
|
856
878
|
type: "base.table",
|
|
857
879
|
tagName: "base-screen-table",
|
|
858
880
|
name: "表格",
|
|
@@ -969,40 +991,7 @@ var H = {
|
|
|
969
991
|
"rowHeight"
|
|
970
992
|
]
|
|
971
993
|
},
|
|
972
|
-
stylePanel: [
|
|
973
|
-
{
|
|
974
|
-
style: "backgroundColor",
|
|
975
|
-
label: "背景色",
|
|
976
|
-
control: "color",
|
|
977
|
-
allowGradient: !0
|
|
978
|
-
},
|
|
979
|
-
{
|
|
980
|
-
style: "color",
|
|
981
|
-
label: "文字色",
|
|
982
|
-
control: "color"
|
|
983
|
-
},
|
|
984
|
-
{
|
|
985
|
-
style: "headerBackgroundColor",
|
|
986
|
-
label: "表头色",
|
|
987
|
-
control: "color",
|
|
988
|
-
allowGradient: !0
|
|
989
|
-
},
|
|
990
|
-
{
|
|
991
|
-
style: "borderColor",
|
|
992
|
-
label: "边框色",
|
|
993
|
-
control: "color"
|
|
994
|
-
},
|
|
995
|
-
{
|
|
996
|
-
style: "fontSize",
|
|
997
|
-
label: "字号",
|
|
998
|
-
control: "number"
|
|
999
|
-
},
|
|
1000
|
-
{
|
|
1001
|
-
style: "rowHeight",
|
|
1002
|
-
label: "行高",
|
|
1003
|
-
control: "number"
|
|
1004
|
-
}
|
|
1005
|
-
],
|
|
994
|
+
stylePanel: [],
|
|
1006
995
|
propsSchema: {
|
|
1007
996
|
kind: "object",
|
|
1008
997
|
properties: {},
|
|
@@ -1031,25 +1020,50 @@ var H = {
|
|
|
1031
1020
|
rotate: !0,
|
|
1032
1021
|
children: !1
|
|
1033
1022
|
}
|
|
1034
|
-
},
|
|
1035
|
-
|
|
1023
|
+
}, { appearance: [
|
|
1024
|
+
{
|
|
1025
|
+
id: "structure",
|
|
1026
|
+
label: "结构",
|
|
1027
|
+
fields: [_("rowHeight", "行高", "number")]
|
|
1028
|
+
},
|
|
1029
|
+
{
|
|
1030
|
+
id: "text",
|
|
1031
|
+
label: "文字",
|
|
1032
|
+
fields: [_("color", "文字色", "color"), _("fontSize", "字号", "number")]
|
|
1033
|
+
},
|
|
1034
|
+
{
|
|
1035
|
+
id: "surface",
|
|
1036
|
+
label: "填充与描边",
|
|
1037
|
+
fields: [
|
|
1038
|
+
_("backgroundColor", "背景色", "color", { allowGradient: !0 }),
|
|
1039
|
+
_("headerBackgroundColor", "表头色", "color", { allowGradient: !0 }),
|
|
1040
|
+
_("borderColor", "边框色", "color")
|
|
1041
|
+
]
|
|
1042
|
+
}
|
|
1043
|
+
] }), q = class extends l {
|
|
1044
|
+
static manifest = K;
|
|
1045
|
+
activeCell = {
|
|
1046
|
+
row: 0,
|
|
1047
|
+
column: 0
|
|
1048
|
+
};
|
|
1049
|
+
restoreFocus = !1;
|
|
1036
1050
|
renderMaterial() {
|
|
1037
1051
|
let e = this.materialModel;
|
|
1038
1052
|
if (e === void 0 || !this.isConnected) return;
|
|
1039
|
-
if (this.
|
|
1053
|
+
if (this.restoreFocus = ue(this), this.replaceChildren(), this.style.display !== "none" && (this.style.display = "block"), this.style.overflow = "auto", this.style.scrollbarGutter = "stable", d(this, J(e.style.backgroundColor)), this.style.color = J(e.style.color), this.setAttribute("role", "region"), this.setAttribute("aria-label", "表格"), e.dataState.status !== "ready") {
|
|
1040
1054
|
this.renderDataState(e.dataState);
|
|
1041
1055
|
return;
|
|
1042
1056
|
}
|
|
1043
|
-
let
|
|
1044
|
-
if (!
|
|
1057
|
+
let t = n(e.dataState.value);
|
|
1058
|
+
if (!t.ok) {
|
|
1045
1059
|
this.renderInvalidData("HOST_DATASET_INVALID", "表格数据格式无效");
|
|
1046
1060
|
return;
|
|
1047
1061
|
}
|
|
1048
|
-
if (
|
|
1049
|
-
this.replaceChildren(
|
|
1062
|
+
if (t.value.rows.length === 0) {
|
|
1063
|
+
this.replaceChildren(s(this.ownerDocument));
|
|
1050
1064
|
return;
|
|
1051
1065
|
}
|
|
1052
|
-
this.renderTable(
|
|
1066
|
+
this.renderTable(t.value, e);
|
|
1053
1067
|
}
|
|
1054
1068
|
renderTable(e, t) {
|
|
1055
1069
|
let n = this.ownerDocument.createElement("table");
|
|
@@ -1057,19 +1071,49 @@ var H = {
|
|
|
1057
1071
|
let r = this.ownerDocument.createElement("thead"), i = this.ownerDocument.createElement("tr");
|
|
1058
1072
|
for (let n of e.columns) {
|
|
1059
1073
|
let e = this.ownerDocument.createElement("th");
|
|
1060
|
-
e.scope = "col", e.textContent = n.label, e.style.cssText = `height: ${
|
|
1074
|
+
e.scope = "col", e.textContent = n.label, e.style.cssText = `height: ${Y(t.style.rowHeight, 32)}px; padding: 0 10px; text-align: left; background: ${J(t.style.headerBackgroundColor)}; border: 1px solid ${J(t.style.borderColor)}; font-weight: 600; white-space: nowrap;`, i.appendChild(e);
|
|
1061
1075
|
}
|
|
1062
1076
|
r.appendChild(i), n.appendChild(r);
|
|
1063
|
-
let a = this.ownerDocument.createElement("tbody")
|
|
1077
|
+
let a = this.ownerDocument.createElement("tbody"), o = t.interactive, s = [], c = {
|
|
1078
|
+
row: Math.min(this.activeCell.row, e.rows.length - 1),
|
|
1079
|
+
column: Math.min(this.activeCell.column, e.columns.length - 1)
|
|
1080
|
+
}, l = (e, t) => {
|
|
1081
|
+
let n = s[e]?.[t];
|
|
1082
|
+
n !== void 0 && (s[c.row]?.[c.column]?.setAttribute("tabindex", "-1"), n.setAttribute("tabindex", "0"), c.row = e, c.column = t, this.activeCell = {
|
|
1083
|
+
row: e,
|
|
1084
|
+
column: t
|
|
1085
|
+
}, n.focus());
|
|
1086
|
+
};
|
|
1064
1087
|
e.rows.forEach((n, r) => {
|
|
1065
1088
|
let i = this.ownerDocument.createElement("tr");
|
|
1066
|
-
i.addEventListener("click", () => this.emitRowClick(r, n))
|
|
1067
|
-
|
|
1068
|
-
|
|
1069
|
-
|
|
1070
|
-
|
|
1071
|
-
|
|
1072
|
-
|
|
1089
|
+
i.addEventListener("click", () => this.emitRowClick(r, n));
|
|
1090
|
+
let u = [];
|
|
1091
|
+
e.columns.forEach((a, s) => {
|
|
1092
|
+
let d = this.ownerDocument.createElement("td");
|
|
1093
|
+
if (o) {
|
|
1094
|
+
let e = r === c.row && s === c.column;
|
|
1095
|
+
d.setAttribute("tabindex", e ? "0" : "-1");
|
|
1096
|
+
}
|
|
1097
|
+
d.textContent = le(n[a.id], a.valueType), d.style.cssText = `height: ${Y(t.style.rowHeight, 32)}px; padding: 0 10px; border: 1px solid ${J(t.style.borderColor)}; font-size: ${Y(t.style.fontSize, 13)}px; white-space: nowrap;`;
|
|
1098
|
+
let f = () => {
|
|
1099
|
+
this.emitCellClick(r, a.id, n[a.id] ?? null), this.emitRowClick(r, n);
|
|
1100
|
+
};
|
|
1101
|
+
d.addEventListener("click", (e) => {
|
|
1102
|
+
e.stopPropagation(), f();
|
|
1103
|
+
}), o && (d.addEventListener("focus", () => {
|
|
1104
|
+
d.style.outline = `2px solid ${J(t.style.color) || "currentColor"}`, d.style.outlineOffset = "-2px";
|
|
1105
|
+
}), d.addEventListener("blur", () => {
|
|
1106
|
+
d.style.outline = "", d.style.outlineOffset = "";
|
|
1107
|
+
}), d.addEventListener("keydown", (t) => {
|
|
1108
|
+
if (t.key === "Enter" || t.key === " ") {
|
|
1109
|
+
t.preventDefault(), f();
|
|
1110
|
+
return;
|
|
1111
|
+
}
|
|
1112
|
+
let n = ce(t.key, t.ctrlKey, r, s, e.rows.length, e.columns.length);
|
|
1113
|
+
n !== void 0 && (t.preventDefault(), l(n.row, n.column));
|
|
1114
|
+
})), u.push(d), i.appendChild(d);
|
|
1115
|
+
}), s.push(u), a.appendChild(i);
|
|
1116
|
+
}), n.appendChild(a), this.appendChild(n), o && this.restoreFocus && s[c.row]?.[c.column]?.focus({ preventScroll: !0 }), this.restoreFocus = !1;
|
|
1073
1117
|
}
|
|
1074
1118
|
emitRowClick(e, t) {
|
|
1075
1119
|
this.materialModel?.interactive === !0 && this.dispatchEvent(new CustomEvent("base-screen-material-event", {
|
|
@@ -1099,36 +1143,61 @@ var H = {
|
|
|
1099
1143
|
}));
|
|
1100
1144
|
}
|
|
1101
1145
|
};
|
|
1102
|
-
function
|
|
1146
|
+
function ce(e, t, n, r, i, a) {
|
|
1147
|
+
let o = i - 1, s = a - 1;
|
|
1148
|
+
return e === "ArrowRight" ? {
|
|
1149
|
+
row: n,
|
|
1150
|
+
column: Math.min(r + 1, s)
|
|
1151
|
+
} : e === "ArrowLeft" ? {
|
|
1152
|
+
row: n,
|
|
1153
|
+
column: Math.max(r - 1, 0)
|
|
1154
|
+
} : e === "ArrowDown" ? {
|
|
1155
|
+
row: Math.min(n + 1, o),
|
|
1156
|
+
column: r
|
|
1157
|
+
} : e === "ArrowUp" ? {
|
|
1158
|
+
row: Math.max(n - 1, 0),
|
|
1159
|
+
column: r
|
|
1160
|
+
} : e === "Home" ? {
|
|
1161
|
+
row: t ? 0 : n,
|
|
1162
|
+
column: 0
|
|
1163
|
+
} : e === "End" ? {
|
|
1164
|
+
row: t ? o : n,
|
|
1165
|
+
column: s
|
|
1166
|
+
} : void 0;
|
|
1167
|
+
}
|
|
1168
|
+
function le(e, t) {
|
|
1103
1169
|
return e == null ? "" : t === "boolean" ? e === !0 ? "是" : "否" : String(e);
|
|
1104
1170
|
}
|
|
1105
|
-
function
|
|
1171
|
+
function ue(e) {
|
|
1172
|
+
return typeof e.matches == "function" && e.matches(":focus-within");
|
|
1173
|
+
}
|
|
1174
|
+
function J(e) {
|
|
1106
1175
|
return typeof e == "string" ? e : "";
|
|
1107
1176
|
}
|
|
1108
|
-
function
|
|
1177
|
+
function Y(e, t) {
|
|
1109
1178
|
return typeof e == "number" ? e : t;
|
|
1110
1179
|
}
|
|
1111
|
-
function
|
|
1112
|
-
let e =
|
|
1113
|
-
manifest:
|
|
1114
|
-
element:
|
|
1180
|
+
function de() {
|
|
1181
|
+
let e = i({
|
|
1182
|
+
manifest: K,
|
|
1183
|
+
element: q
|
|
1115
1184
|
});
|
|
1116
1185
|
return e.ok ? e.value.define() : e;
|
|
1117
1186
|
}
|
|
1118
|
-
var
|
|
1187
|
+
var X = { adapt({ dataset: e, fields: t }) {
|
|
1119
1188
|
let n = t.columns;
|
|
1120
|
-
return n === void 0 || n.length === 0 ?
|
|
1189
|
+
return n === void 0 || n.length === 0 ? me() : {
|
|
1121
1190
|
ok: !0,
|
|
1122
1191
|
value: {
|
|
1123
|
-
columns: n.map((e) =>
|
|
1124
|
-
rows: e.rows.map((e) =>
|
|
1192
|
+
columns: n.map((e) => fe(e)),
|
|
1193
|
+
rows: e.rows.map((e) => pe(e, n)),
|
|
1125
1194
|
...e.totalRowCount === void 0 ? {} : { totalRowCount: e.totalRowCount }
|
|
1126
1195
|
},
|
|
1127
1196
|
diagnostics: []
|
|
1128
1197
|
};
|
|
1129
1198
|
} };
|
|
1130
|
-
Object.defineProperty(
|
|
1131
|
-
function
|
|
1199
|
+
Object.defineProperty(q, "tabularDataAdapter", { value: X });
|
|
1200
|
+
function fe(e) {
|
|
1132
1201
|
return {
|
|
1133
1202
|
id: e.id,
|
|
1134
1203
|
label: e.label,
|
|
@@ -1137,10 +1206,10 @@ function Y(e) {
|
|
|
1137
1206
|
filterable: !1
|
|
1138
1207
|
};
|
|
1139
1208
|
}
|
|
1140
|
-
function
|
|
1209
|
+
function pe(e, t) {
|
|
1141
1210
|
return Object.fromEntries(t.map((t) => [t.id, e[t.id] ?? null]));
|
|
1142
1211
|
}
|
|
1143
|
-
function
|
|
1212
|
+
function me() {
|
|
1144
1213
|
return {
|
|
1145
1214
|
ok: !1,
|
|
1146
1215
|
diagnostics: [{
|
|
@@ -1153,7 +1222,7 @@ function re() {
|
|
|
1153
1222
|
}
|
|
1154
1223
|
//#endregion
|
|
1155
1224
|
//#region ../material/dist/text.js
|
|
1156
|
-
var Z = {
|
|
1225
|
+
var Z = g({
|
|
1157
1226
|
type: "base.text",
|
|
1158
1227
|
tagName: "base-screen-text",
|
|
1159
1228
|
name: "文本",
|
|
@@ -1241,64 +1310,19 @@ var Z = {
|
|
|
1241
1310
|
"textAlign"
|
|
1242
1311
|
]
|
|
1243
1312
|
},
|
|
1244
|
-
stylePanel: [
|
|
1245
|
-
{
|
|
1246
|
-
style: "color",
|
|
1247
|
-
label: "颜色",
|
|
1248
|
-
control: "color",
|
|
1249
|
-
allowGradient: !0
|
|
1250
|
-
},
|
|
1251
|
-
{
|
|
1252
|
-
style: "fontSize",
|
|
1253
|
-
label: "字号",
|
|
1254
|
-
control: "number"
|
|
1255
|
-
},
|
|
1256
|
-
{
|
|
1257
|
-
style: "fontWeight",
|
|
1258
|
-
label: "字重",
|
|
1259
|
-
control: "select"
|
|
1260
|
-
},
|
|
1261
|
-
{
|
|
1262
|
-
style: "textAlign",
|
|
1263
|
-
label: "水平对齐",
|
|
1264
|
-
control: "select"
|
|
1265
|
-
},
|
|
1266
|
-
{
|
|
1267
|
-
style: "verticalAlign",
|
|
1268
|
-
label: "垂直对齐",
|
|
1269
|
-
control: "select"
|
|
1270
|
-
},
|
|
1271
|
-
{
|
|
1272
|
-
style: "letterSpacing",
|
|
1273
|
-
label: "字间距",
|
|
1274
|
-
control: "number"
|
|
1275
|
-
},
|
|
1276
|
-
{
|
|
1277
|
-
style: "lineHeight",
|
|
1278
|
-
label: "行高",
|
|
1279
|
-
control: "number"
|
|
1280
|
-
},
|
|
1281
|
-
{
|
|
1282
|
-
style: "lineSpacing",
|
|
1283
|
-
label: "行间距",
|
|
1284
|
-
control: "number"
|
|
1285
|
-
}
|
|
1286
|
-
],
|
|
1313
|
+
stylePanel: [],
|
|
1287
1314
|
propsSchema: {
|
|
1288
1315
|
kind: "object",
|
|
1289
1316
|
properties: { autoWidth: { kind: "boolean" } },
|
|
1290
1317
|
required: []
|
|
1291
1318
|
},
|
|
1292
|
-
propertyPanel: [
|
|
1293
|
-
prop: "autoWidth",
|
|
1294
|
-
label: "自适应宽度",
|
|
1295
|
-
control: "boolean"
|
|
1296
|
-
}],
|
|
1319
|
+
propertyPanel: [],
|
|
1297
1320
|
events: ["valueClick"],
|
|
1298
1321
|
dataCapabilities: [
|
|
1299
1322
|
"static",
|
|
1300
1323
|
"dataset",
|
|
1301
|
-
"variable"
|
|
1324
|
+
"variable",
|
|
1325
|
+
"host-resource"
|
|
1302
1326
|
],
|
|
1303
1327
|
dataBinding: { roles: [{
|
|
1304
1328
|
id: "value",
|
|
@@ -1316,7 +1340,24 @@ var Z = {
|
|
|
1316
1340
|
rotate: !0,
|
|
1317
1341
|
children: !1
|
|
1318
1342
|
}
|
|
1319
|
-
},
|
|
1343
|
+
}, { appearance: [{
|
|
1344
|
+
id: "structure",
|
|
1345
|
+
label: "结构",
|
|
1346
|
+
fields: [v("autoWidth", "自适应宽度", "boolean")]
|
|
1347
|
+
}, {
|
|
1348
|
+
id: "text",
|
|
1349
|
+
label: "文字",
|
|
1350
|
+
fields: [
|
|
1351
|
+
_("color", "颜色", "color", { allowGradient: !0 }),
|
|
1352
|
+
_("fontSize", "字号", "number"),
|
|
1353
|
+
_("fontWeight", "字重", "select"),
|
|
1354
|
+
_("textAlign", "水平对齐", "segmented"),
|
|
1355
|
+
_("verticalAlign", "垂直对齐", "select"),
|
|
1356
|
+
_("letterSpacing", "字间距", "number"),
|
|
1357
|
+
_("lineHeight", "行高", "number"),
|
|
1358
|
+
_("lineSpacing", "行间距", "number")
|
|
1359
|
+
]
|
|
1360
|
+
}] }), Q = class extends l {
|
|
1320
1361
|
static manifest = Z;
|
|
1321
1362
|
#e;
|
|
1322
1363
|
connectedCallback() {
|
|
@@ -1334,7 +1375,7 @@ var Z = {
|
|
|
1334
1375
|
return;
|
|
1335
1376
|
}
|
|
1336
1377
|
let n = typeof e.dataState.value == "string" ? e.dataState.value : "", r = typeof t.color == "string" ? t.color : "";
|
|
1337
|
-
|
|
1378
|
+
he(this, r), this.style.fontSize = typeof t.fontSize == "number" ? `${t.fontSize}px` : "", this.style.fontWeight = typeof t.fontWeight == "string" ? t.fontWeight : "", this.style.textAlign = typeof t.textAlign == "string" ? t.textAlign : "";
|
|
1338
1379
|
let i = typeof t.verticalAlign == "string" ? t.verticalAlign : "top";
|
|
1339
1380
|
if (i === "middle" || i === "bottom") {
|
|
1340
1381
|
let e = this.ensureTextWrapper();
|
|
@@ -1371,11 +1412,11 @@ var Z = {
|
|
|
1371
1412
|
}));
|
|
1372
1413
|
};
|
|
1373
1414
|
};
|
|
1374
|
-
function
|
|
1375
|
-
|
|
1415
|
+
function he(e, t) {
|
|
1416
|
+
u(t) ? (e.style.color = "transparent", e.style.backgroundImage = t, e.style.backgroundClip = "text", e.style.webkitBackgroundClip = "text") : (e.style.color = t, e.style.backgroundImage = "", e.style.backgroundClip = "", e.style.webkitBackgroundClip = "");
|
|
1376
1417
|
}
|
|
1377
|
-
function
|
|
1378
|
-
let e =
|
|
1418
|
+
function ge() {
|
|
1419
|
+
let e = i({
|
|
1379
1420
|
manifest: Z,
|
|
1380
1421
|
element: Q
|
|
1381
1422
|
});
|
|
@@ -1383,7 +1424,7 @@ function ae() {
|
|
|
1383
1424
|
}
|
|
1384
1425
|
var $ = { adapt({ dataset: e, fields: t }) {
|
|
1385
1426
|
let n = t.value?.[0];
|
|
1386
|
-
if (n === void 0) return
|
|
1427
|
+
if (n === void 0) return _e();
|
|
1387
1428
|
let r = e.rows[0]?.[n.id];
|
|
1388
1429
|
return {
|
|
1389
1430
|
ok: !0,
|
|
@@ -1392,7 +1433,7 @@ var $ = { adapt({ dataset: e, fields: t }) {
|
|
|
1392
1433
|
};
|
|
1393
1434
|
} };
|
|
1394
1435
|
Object.defineProperty(Q, "tabularDataAdapter", { value: $ });
|
|
1395
|
-
function
|
|
1436
|
+
function _e() {
|
|
1396
1437
|
return {
|
|
1397
1438
|
ok: !1,
|
|
1398
1439
|
diagnostics: [{
|
|
@@ -1404,6 +1445,6 @@ function oe() {
|
|
|
1404
1445
|
};
|
|
1405
1446
|
}
|
|
1406
1447
|
//#endregion
|
|
1407
|
-
export { C,
|
|
1448
|
+
export { k as C, E as D, y as E, D as S, w as T, P as _, q as a, j as b, K as c, V as d, R as f, se as g, F as h, $ as i, U as l, H as m, Z as n, X as o, z as p, Q as r, de as s, ge as t, W as u, oe as v, ie as w, O as x, A as y };
|
|
1408
1449
|
|
|
1409
|
-
//# sourceMappingURL=text-
|
|
1450
|
+
//# sourceMappingURL=text-BNksUr5J.js.map
|