@salsita-ai/sdk 0.50.0-develop.f16492b14e → 0.50.0-develop.f354d3576d
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 +4 -2
- package/dist/admin/AdminShell.js +1 -1
- package/dist/admin/common/admin-interface.d.ts +1 -1
- package/dist/admin/legacy-admin/Application.js +1 -1
- package/dist/application-spec/caching/index.d.ts +6 -1
- package/dist/application-spec/caching/index.js +1 -1
- package/dist/application-spec/errors/diagnostic-codes.d.ts +1 -0
- package/dist/application-spec/errors/diagnostic-codes.js +1 -1
- package/dist/application-spec/errors/diagnostic-messages.d.ts +1 -0
- package/dist/application-spec/errors/diagnostic-messages.js +1 -1
- package/dist/application-spec/generate-application/code/domain-runtime-files.d.ts +0 -19
- package/dist/application-spec/generate-application/code/domain-runtime-files.js +1 -1
- package/dist/application-spec/generate-application/code/templates/gitignore.js +2 -1
- package/dist/application-spec/generate-application/code/templates/index.d.ts +1 -1
- package/dist/application-spec/generate-application/code/templates/index.js +1 -1
- package/dist/application-spec/generate-application/code/templates/lingui-rc.js +5 -4
- package/dist/application-spec/generate-application/code/templates/skills/core/cli.d.ts +2 -0
- package/dist/application-spec/generate-application/code/templates/skills/core/cli.js +1 -0
- package/dist/application-spec/generate-application/code/templates/skills/core/index.d.ts +3 -0
- package/dist/application-spec/generate-application/code/templates/skills/core/index.js +1 -0
- package/dist/application-spec/generate-application/code/templates/skills/core/sdk.d.ts +2 -0
- package/dist/application-spec/generate-application/code/templates/skills/core/sdk.js +118 -0
- package/dist/application-spec/generate-application/code/templates/skills/core/workflow.d.ts +2 -0
- package/dist/application-spec/generate-application/code/templates/skills/core/workflow.js +44 -0
- package/dist/application-spec/generate-application/code/templates/skills/features/application-states/application-states.d.ts +3 -0
- package/dist/application-spec/generate-application/code/templates/skills/features/application-states/application-states.js +3 -0
- package/dist/application-spec/generate-application/code/templates/skills/features/application-states/index.d.ts +1 -0
- package/dist/application-spec/generate-application/code/templates/skills/features/application-states/index.js +1 -0
- package/dist/application-spec/generate-application/code/templates/skills/features/application-states/navigation.d.ts +3 -0
- package/dist/application-spec/generate-application/code/templates/skills/features/application-states/navigation.js +48 -0
- package/dist/application-spec/generate-application/code/templates/skills/features/application-states/presets.d.ts +3 -0
- package/dist/application-spec/generate-application/code/templates/skills/features/application-states/presets.js +38 -0
- package/dist/application-spec/generate-application/code/templates/skills/features/application-states/selection.d.ts +3 -0
- package/dist/application-spec/generate-application/code/templates/skills/features/application-states/selection.js +35 -0
- package/dist/application-spec/generate-application/code/templates/skills/features/application-states/views-and-tools.d.ts +3 -0
- package/dist/application-spec/generate-application/code/templates/skills/features/application-states/views-and-tools.js +61 -0
- package/dist/application-spec/generate-application/code/templates/skills/features/custom-layout/custom-layout.d.ts +3 -0
- package/dist/application-spec/generate-application/code/templates/skills/features/custom-layout/custom-layout.js +7 -0
- package/dist/application-spec/generate-application/code/templates/skills/features/custom-layout/finalization-actions.d.ts +3 -0
- package/dist/application-spec/generate-application/code/templates/skills/features/custom-layout/finalization-actions.js +79 -0
- package/dist/application-spec/generate-application/code/templates/skills/features/custom-layout/index.d.ts +1 -0
- package/dist/application-spec/generate-application/code/templates/skills/features/custom-layout/index.js +1 -0
- package/dist/application-spec/generate-application/code/templates/skills/features/custom-layout/messages.d.ts +3 -0
- package/dist/application-spec/generate-application/code/templates/skills/features/custom-layout/messages.js +52 -0
- package/dist/application-spec/generate-application/code/templates/skills/features/custom-layout/pages.d.ts +3 -0
- package/dist/application-spec/generate-application/code/templates/skills/features/custom-layout/pages.js +49 -0
- package/dist/application-spec/generate-application/code/templates/skills/features/custom-layout/scene-and-safe-area.d.ts +3 -0
- package/dist/application-spec/generate-application/code/templates/skills/features/custom-layout/scene-and-safe-area.js +62 -0
- package/dist/application-spec/generate-application/code/templates/skills/features/custom-layout/slots.d.ts +3 -0
- package/dist/application-spec/generate-application/code/templates/skills/features/custom-layout/slots.js +40 -0
- package/dist/application-spec/generate-application/code/templates/skills/features/custom-layout/tabs-and-steps.d.ts +3 -0
- package/dist/application-spec/generate-application/code/templates/skills/features/custom-layout/tabs-and-steps.js +65 -0
- package/dist/application-spec/generate-application/code/templates/skills/features/custom-layout/toolbar-actions.d.ts +3 -0
- package/dist/application-spec/generate-application/code/templates/skills/features/custom-layout/toolbar-actions.js +58 -0
- package/dist/application-spec/generate-application/code/templates/skills/features/custom-layout/view-mode.d.ts +3 -0
- package/dist/application-spec/generate-application/code/templates/skills/features/custom-layout/view-mode.js +41 -0
- package/dist/application-spec/generate-application/code/templates/skills/features/domain-controls/control-components.d.ts +3 -0
- package/dist/application-spec/generate-application/code/templates/skills/features/domain-controls/control-components.js +24 -0
- package/dist/application-spec/generate-application/code/templates/skills/features/domain-controls/control-hooks.d.ts +3 -0
- package/dist/application-spec/generate-application/code/templates/skills/features/domain-controls/control-hooks.js +44 -0
- package/dist/application-spec/generate-application/code/templates/skills/features/domain-controls/custom-controls.d.ts +3 -0
- package/dist/application-spec/generate-application/code/templates/skills/features/domain-controls/custom-controls.js +74 -0
- package/dist/application-spec/generate-application/code/templates/skills/features/domain-controls/domain-controls.d.ts +3 -0
- package/dist/application-spec/generate-application/code/templates/skills/features/domain-controls/domain-controls.js +8 -0
- package/dist/application-spec/generate-application/code/templates/skills/features/domain-controls/index.d.ts +1 -0
- package/dist/application-spec/generate-application/code/templates/skills/features/domain-controls/index.js +1 -0
- package/dist/application-spec/generate-application/code/templates/skills/features/domain-controls/scene-controls.d.ts +3 -0
- package/dist/application-spec/generate-application/code/templates/skills/features/domain-controls/scene-controls.js +48 -0
- package/dist/application-spec/generate-application/code/templates/skills/features/domain-model/actions.d.ts +3 -0
- package/dist/application-spec/generate-application/code/templates/skills/features/domain-model/actions.js +64 -0
- package/dist/application-spec/generate-application/code/templates/skills/features/domain-model/components.d.ts +3 -0
- package/dist/application-spec/generate-application/code/templates/skills/features/domain-model/components.js +62 -0
- package/dist/application-spec/generate-application/code/templates/skills/features/domain-model/domain-model.d.ts +3 -0
- package/dist/application-spec/generate-application/code/templates/skills/features/domain-model/domain-model.js +1 -0
- package/dist/application-spec/generate-application/code/templates/skills/features/domain-model/entities-and-relations.d.ts +3 -0
- package/dist/application-spec/generate-application/code/templates/skills/features/domain-model/entities-and-relations.js +59 -0
- package/dist/application-spec/generate-application/code/templates/skills/features/domain-model/expressions.d.ts +3 -0
- package/dist/application-spec/generate-application/code/templates/skills/features/domain-model/expressions.js +46 -0
- package/dist/application-spec/generate-application/code/templates/skills/features/domain-model/index.d.ts +1 -0
- package/dist/application-spec/generate-application/code/templates/skills/features/domain-model/index.js +1 -0
- package/dist/application-spec/generate-application/code/templates/skills/features/domain-model/transformers.d.ts +3 -0
- package/dist/application-spec/generate-application/code/templates/skills/features/domain-model/transformers.js +43 -0
- package/dist/application-spec/generate-application/code/templates/skills/features/domain-model/validation-and-repair.d.ts +3 -0
- package/dist/application-spec/generate-application/code/templates/skills/features/domain-model/validation-and-repair.js +30 -0
- package/dist/application-spec/generate-application/code/templates/skills/features/features.d.ts +3 -0
- package/dist/application-spec/generate-application/code/templates/skills/features/features.js +1 -0
- package/dist/application-spec/generate-application/code/templates/skills/features/index.d.ts +1 -0
- package/dist/application-spec/generate-application/code/templates/skills/features/index.js +1 -0
- package/dist/application-spec/generate-application/code/templates/skills/features/inspection.d.ts +2 -0
- package/dist/application-spec/generate-application/code/templates/skills/features/inspection.js +1 -0
- package/dist/application-spec/generate-application/code/templates/skills/features/localization.d.ts +3 -0
- package/dist/application-spec/generate-application/code/templates/skills/features/localization.js +87 -0
- package/dist/application-spec/generate-application/code/templates/skills/features/scene-objects.d.ts +3 -0
- package/dist/application-spec/generate-application/code/templates/skills/features/scene-objects.js +43 -0
- package/dist/application-spec/generate-application/code/templates/skills/features/state/index.d.ts +1 -0
- package/dist/application-spec/generate-application/code/templates/skills/features/state/index.js +1 -0
- package/dist/application-spec/generate-application/code/templates/skills/features/state/slices.d.ts +3 -0
- package/dist/application-spec/generate-application/code/templates/skills/features/state/slices.js +48 -0
- package/dist/application-spec/generate-application/code/templates/skills/features/state/state.d.ts +3 -0
- package/dist/application-spec/generate-application/code/templates/skills/features/state/state.js +1 -0
- package/dist/application-spec/generate-application/code/templates/skills/features/state/updates.d.ts +3 -0
- package/dist/application-spec/generate-application/code/templates/skills/features/state/updates.js +39 -0
- package/dist/application-spec/generate-application/code/templates/skills/features/state/violations.d.ts +3 -0
- package/dist/application-spec/generate-application/code/templates/skills/features/state/violations.js +36 -0
- package/dist/application-spec/generate-application/code/templates/skills/features/variants.d.ts +2 -0
- package/dist/application-spec/generate-application/code/templates/skills/features/variants.js +1 -0
- package/dist/application-spec/generate-application/code/templates/skills/features/webhooks.d.ts +2 -0
- package/dist/application-spec/generate-application/code/templates/skills/features/webhooks.js +1 -0
- package/dist/application-spec/generate-application/code/templates/skills/guide.d.ts +68 -0
- package/dist/application-spec/generate-application/code/templates/skills/guide.js +18 -0
- package/dist/application-spec/generate-application/code/templates/skills/phoenix-skill-bundle.d.ts +2 -2
- package/dist/application-spec/generate-application/code/templates/skills/phoenix-skill-bundle.js +12 -5
- package/dist/application-spec/generate-application/code/templates/skills/phx-members-without-guide.d.ts +9 -0
- package/dist/application-spec/generate-application/code/templates/skills/phx-members-without-guide.js +1 -0
- package/dist/application-spec/generate-application/code/templates/skills/processes/asset-conversion.d.ts +2 -0
- package/dist/application-spec/generate-application/code/templates/skills/processes/asset-conversion.js +23 -0
- package/dist/application-spec/generate-application/code/templates/skills/{phoenix-skill.d.ts → processes/beta.d.ts} +2 -1
- package/dist/application-spec/generate-application/code/templates/skills/processes/beta.js +4 -0
- package/dist/application-spec/generate-application/code/templates/skills/processes/feedback/evaluate.d.ts +2 -0
- package/dist/application-spec/generate-application/code/templates/skills/processes/feedback/evaluate.js +38 -0
- package/dist/application-spec/generate-application/code/templates/skills/processes/feedback/feedback.d.ts +3 -0
- package/dist/application-spec/generate-application/code/templates/skills/processes/feedback/feedback.js +1 -0
- package/dist/application-spec/generate-application/code/templates/skills/processes/feedback/index.d.ts +1 -0
- package/dist/application-spec/generate-application/code/templates/skills/processes/feedback/index.js +1 -0
- package/dist/application-spec/generate-application/code/templates/skills/processes/feedback/report.d.ts +2 -0
- package/dist/application-spec/generate-application/code/templates/skills/processes/feedback/report.js +7 -0
- package/dist/application-spec/generate-application/code/templates/skills/processes/feedback/send.d.ts +2 -0
- package/dist/application-spec/generate-application/code/templates/skills/processes/feedback/send.js +2 -0
- package/dist/application-spec/generate-application/code/templates/skills/processes/finalization.d.ts +2 -0
- package/dist/application-spec/generate-application/code/templates/skills/processes/finalization.js +2 -0
- package/dist/application-spec/generate-application/code/templates/skills/processes/first-draft/build.d.ts +2 -0
- package/dist/application-spec/generate-application/code/templates/skills/processes/first-draft/build.js +25 -0
- package/dist/application-spec/generate-application/code/templates/skills/processes/first-draft/direction.d.ts +2 -0
- package/dist/application-spec/generate-application/code/templates/skills/processes/first-draft/direction.js +35 -0
- package/dist/application-spec/generate-application/code/templates/skills/processes/first-draft/first-draft.d.ts +3 -0
- package/dist/application-spec/generate-application/code/templates/skills/processes/first-draft/first-draft.js +3 -0
- package/dist/application-spec/generate-application/code/templates/skills/processes/first-draft/handoff.d.ts +2 -0
- package/dist/application-spec/generate-application/code/templates/skills/processes/first-draft/handoff.js +9 -0
- package/dist/application-spec/generate-application/code/templates/skills/processes/first-draft/index.d.ts +1 -0
- package/dist/application-spec/generate-application/code/templates/skills/processes/first-draft/index.js +1 -0
- package/dist/application-spec/generate-application/code/templates/skills/processes/index.d.ts +8 -0
- package/dist/application-spec/generate-application/code/templates/skills/processes/index.js +1 -0
- package/dist/application-spec/generate-application/code/templates/skills/processes/model-migration.d.ts +2 -0
- package/dist/application-spec/generate-application/code/templates/skills/processes/model-migration.js +1 -0
- package/dist/application-spec/generate-application/code/templates/skills/processes/review/appearance.d.ts +2 -0
- package/dist/application-spec/generate-application/code/templates/skills/processes/review/appearance.js +46 -0
- package/dist/application-spec/generate-application/code/templates/skills/processes/review/code.d.ts +2 -0
- package/dist/application-spec/generate-application/code/templates/skills/processes/review/code.js +2 -0
- package/dist/application-spec/generate-application/code/templates/skills/processes/review/hand-over.d.ts +2 -0
- package/dist/application-spec/generate-application/code/templates/skills/processes/review/hand-over.js +6 -0
- package/dist/application-spec/generate-application/code/templates/skills/processes/review/index.d.ts +1 -0
- package/dist/application-spec/generate-application/code/templates/skills/processes/review/index.js +1 -0
- package/dist/application-spec/generate-application/code/templates/skills/processes/review/review.d.ts +3 -0
- package/dist/application-spec/generate-application/code/templates/skills/processes/review/review.js +1 -0
- package/dist/application-spec/generate-application/code/templates/skills/processes/review/visual-inspection.d.ts +2 -0
- package/dist/application-spec/generate-application/code/templates/skills/processes/review/visual-inspection.js +13 -0
- package/dist/application-spec/generate-application/code/templates/skills/processes/specification/branding.d.ts +2 -0
- package/dist/application-spec/generate-application/code/templates/skills/processes/specification/branding.js +20 -0
- package/dist/application-spec/generate-application/code/templates/skills/processes/specification/catalog.d.ts +2 -0
- package/dist/application-spec/generate-application/code/templates/skills/processes/specification/catalog.js +1 -0
- package/dist/application-spec/generate-application/code/templates/skills/processes/specification/index.d.ts +1 -0
- package/dist/application-spec/generate-application/code/templates/skills/processes/specification/index.js +1 -0
- package/dist/application-spec/generate-application/code/templates/skills/processes/specification/product-definition.d.ts +2 -0
- package/dist/application-spec/generate-application/code/templates/skills/processes/specification/product-definition.js +22 -0
- package/dist/application-spec/generate-application/code/templates/skills/processes/specification/specification.d.ts +3 -0
- package/dist/application-spec/generate-application/code/templates/skills/processes/specification/specification.js +1 -0
- package/dist/application-spec/generate-application/code/templates/skills/processes/specification/ux-guidelines.d.ts +2 -0
- package/dist/application-spec/generate-application/code/templates/skills/processes/specification/ux-guidelines.js +25 -0
- package/dist/application-spec/generate-application/code/templates/skills/sdk-content.d.ts +51 -258
- package/dist/application-spec/generate-application/code/templates/skills/sdk-content.js +3 -58
- package/dist/application-spec/generate-application/code/templates/skills/sdk-subpath-imports.d.ts +9 -0
- package/dist/application-spec/generate-application/code/templates/skills/sdk-subpath-imports.js +1 -0
- package/dist/application-spec/generate-application/code/templates/spec-code/collect-spec-code.d.ts +1 -1
- package/dist/application-spec/generate-application/code/templates/spec-code/collect-spec-code.js +1 -1
- package/dist/application-spec/generate-application/code/templates/story/wrapper.js +2 -4
- package/dist/application-spec/generate-application/code/templates/tsconfig.js +2 -1
- package/dist/application-spec/generate-application/index.d.ts +1 -8
- package/dist/application-spec/generate-application/index.js +1 -1
- package/dist/application-spec/parse-application-files/merge/merged-assistant.d.ts +1 -1
- package/dist/application-spec/parse-application-files/merge/merged-assistant.js +1 -1
- package/dist/application-spec/parse-application-files/raw-spec/raw-assistant.js +1 -1
- package/dist/client/authorized-client.d.ts +1 -1
- package/dist/client/authorized-client.js +1 -1
- package/dist/client/contract.d.ts +21 -8
- package/dist/client/contract.js +1 -1
- package/dist/client/phoenix-api.d.ts +43 -5
- package/dist/configurator/ConfiguratorApp.js +1 -1
- package/dist/configurator/application-runtime/extensions/selectors.js +1 -1
- package/dist/configurator/application-runtime/extensions/systems/assistant-system/assistant-annotation.d.ts +31 -0
- package/dist/configurator/application-runtime/extensions/systems/assistant-system/assistant-system.d.ts +123 -24
- package/dist/configurator/application-runtime/extensions/systems/assistant-system/assistant-system.js +1 -1
- package/dist/configurator/application-runtime/extensions/systems/camera-control-system/camera-control-system.d.ts +43 -0
- package/dist/configurator/application-runtime/extensions/systems/camera-control-system/camera-control-system.js +1 -1
- package/dist/configurator/application-runtime/extensions/systems/graphql-system/graphql-system.d.ts +8 -2
- package/dist/configurator/application-runtime/extensions/systems/graphql-system/graphql-system.js +1 -1
- package/dist/configurator/application-runtime/extensions/systems/image-rendering-system/capture-next-frame.d.ts +10 -0
- package/dist/configurator/application-runtime/extensions/systems/image-rendering-system/capture-next-frame.js +1 -0
- package/dist/configurator/application-runtime/extensions/systems/image-rendering-system/image-rendering-system.d.ts +8 -0
- package/dist/configurator/application-runtime/extensions/systems/image-rendering-system/image-rendering-system.js +1 -1
- package/dist/configurator/application-runtime/extensions/systems/index.d.ts +3 -2
- package/dist/configurator/application-runtime/extensions/systems/index.js +1 -1
- package/dist/configurator/common/configurator-interface.d.ts +1 -1
- package/dist/configurator/pages/default-configurator-elements.d.ts +6 -2
- package/dist/configurator/pages/default-configurator-elements.js +1 -1
- package/dist/configurator/pages/error-boundaries/BuiltInGeneralErrorFallback.d.ts +5 -0
- package/dist/configurator/pages/error-boundaries/BuiltInGeneralErrorFallback.js +1 -0
- package/dist/configurator/pages/error-boundaries/index.d.ts +1 -0
- package/dist/configurator/pages/error-boundaries/index.js +1 -1
- package/dist/configurator/pages/provider-slots/ContainerSlotProvider.d.ts +3 -0
- package/dist/configurator/pages/provider-slots/ContainerSlotProvider.js +1 -0
- package/dist/configurator/pages/provider-slots/LoaderSlotProvider.d.ts +3 -0
- package/dist/configurator/pages/provider-slots/LoaderSlotProvider.js +1 -0
- package/dist/configurator/pages/provider-slots/MessageHostSlotProvider.d.ts +3 -0
- package/dist/configurator/pages/provider-slots/MessageHostSlotProvider.js +1 -0
- package/dist/configurator/pages/provider-slots/SceneResourcesSlotProvider.d.ts +3 -0
- package/dist/configurator/pages/provider-slots/SceneResourcesSlotProvider.js +1 -0
- package/dist/configurator/pages/provider-slots/ThemeSlotProvider.d.ts +3 -0
- package/dist/configurator/pages/provider-slots/ThemeSlotProvider.js +1 -0
- package/dist/configurator/pages/provider-slots/configurator-provider-slot-elements.d.ts +3 -0
- package/dist/configurator/pages/provider-slots/configurator-provider-slot-elements.js +1 -0
- package/dist/configurator/pages/provider-slots/index.d.ts +6 -0
- package/dist/configurator/pages/provider-slots/index.js +1 -0
- package/dist/configurator/pages/ui-elements/BuiltInInvalidDeploymentReload.d.ts +2 -0
- package/dist/configurator/pages/ui-elements/BuiltInInvalidDeploymentReload.js +1 -0
- package/dist/configurator/pages/ui-elements/configurator-ui-elements.d.ts +3 -0
- package/dist/configurator/pages/ui-elements/configurator-ui-elements.js +1 -0
- package/dist/configurator/pages/ui-elements/index.d.ts +2 -0
- package/dist/configurator/pages/ui-elements/index.js +1 -0
- package/dist/configurator/scene/cameras/CameraPadding.js +1 -1
- package/dist/configurator/ui/assistant/AssistantChips.d.ts +10 -0
- package/dist/configurator/ui/assistant/AssistantChips.js +1 -1
- package/dist/configurator/ui/assistant/AssistantComposer.d.ts +6 -0
- package/dist/configurator/ui/assistant/AssistantComposer.js +2 -1
- package/dist/configurator/ui/assistant/AssistantMarkdown.js +1 -1
- package/dist/configurator/ui/assistant/AssistantThread.d.ts +4 -3
- package/dist/configurator/ui/assistant/AssistantThread.js +1 -1
- package/dist/configurator/ui/assistant/alert/AssistantAlert.d.ts +4 -1
- package/dist/configurator/ui/assistant/alert/AssistantAlert.js +1 -1
- package/dist/configurator/ui/assistant/annotation/AnnotationBadge.d.ts +9 -0
- package/dist/configurator/ui/assistant/annotation/AnnotationBadge.js +1 -0
- package/dist/configurator/ui/assistant/annotation/AnnotationOverlay.d.ts +6 -0
- package/dist/configurator/ui/assistant/annotation/AnnotationOverlay.js +1 -0
- package/dist/configurator/ui/assistant/annotation/AnnotationPin.d.ts +14 -0
- package/dist/configurator/ui/assistant/annotation/AnnotationPin.js +1 -0
- package/dist/configurator/ui/assistant/annotation/AnnotationViewer.d.ts +12 -0
- package/dist/configurator/ui/assistant/annotation/AnnotationViewer.js +1 -0
- package/dist/configurator/ui/assistant/annotation/MessageAnnotations.d.ts +11 -0
- package/dist/configurator/ui/assistant/annotation/MessageAnnotations.js +1 -0
- package/dist/configurator/ui/assistant/annotation/annotation-host-context.d.ts +5 -0
- package/dist/configurator/ui/assistant/annotation/annotation-host-context.js +1 -0
- package/dist/configurator/ui/assistant/annotation/annotation-layout.d.ts +26 -0
- package/dist/configurator/ui/assistant/annotation/annotation-layout.js +1 -0
- package/dist/configurator/ui/assistant/annotation/editor/AnnotationComment.d.ts +15 -0
- package/dist/configurator/ui/assistant/annotation/editor/AnnotationComment.js +1 -0
- package/dist/configurator/ui/assistant/annotation/editor/AnnotationEditor.d.ts +18 -0
- package/dist/configurator/ui/assistant/annotation/editor/AnnotationEditor.js +1 -0
- package/dist/configurator/ui/assistant/annotation/editor/annotation-drawing.d.ts +22 -0
- package/dist/configurator/ui/assistant/annotation/editor/annotation-drawing.js +1 -0
- package/dist/configurator/ui/assistant/annotation/editor/annotation-pins.d.ts +22 -0
- package/dist/configurator/ui/assistant/annotation/editor/annotation-pins.js +1 -0
- package/dist/configurator/ui/assistant/annotation/editor/flatten-annotation.d.ts +17 -0
- package/dist/configurator/ui/assistant/annotation/editor/flatten-annotation.js +1 -0
- package/dist/configurator/ui/assistant/annotation/editor/index.d.ts +1 -0
- package/dist/configurator/ui/assistant/annotation/editor/index.js +1 -0
- package/dist/configurator/ui/assistant/annotation/index.d.ts +4 -0
- package/dist/configurator/ui/assistant/annotation/index.js +1 -0
- package/dist/configurator/ui/assistant/annotation/prefers-reduced-motion.d.ts +2 -0
- package/dist/configurator/ui/assistant/annotation/prefers-reduced-motion.js +1 -0
- package/dist/configurator/ui/assistant/annotation/use-end-on-unmount.d.ts +6 -0
- package/dist/configurator/ui/assistant/annotation/use-end-on-unmount.js +1 -0
- package/dist/configurator/ui/assistant/assistant-failure.d.ts +15 -7
- package/dist/configurator/ui/assistant/assistant-failure.js +1 -1
- package/dist/configurator/ui/assistant/attachments/MessageImages.d.ts +19 -0
- package/dist/configurator/ui/assistant/attachments/MessageImages.js +1 -0
- package/dist/configurator/ui/assistant/attachments/index.d.ts +2 -0
- package/dist/configurator/ui/assistant/attachments/index.js +1 -0
- package/dist/configurator/ui/assistant/attachments/prepare-image.d.ts +24 -0
- package/dist/configurator/ui/assistant/attachments/prepare-image.js +1 -0
- package/dist/configurator/ui/assistant/composer/composer-frame.d.ts +15 -0
- package/dist/configurator/ui/assistant/composer/composer-frame.js +1 -0
- package/dist/configurator/ui/assistant/composer/index.d.ts +1 -0
- package/dist/configurator/ui/assistant/composer/index.js +1 -0
- package/dist/configurator/ui/assistant/entity-link/AssistantEntityLink.js +1 -1
- package/dist/configurator/ui/assistant/form/AssistantForm.js +1 -1
- package/dist/configurator/ui/assistant/form/registry/built-in-form-elements.d.ts +26 -0
- package/dist/configurator/ui/assistant/form-elements/FormNumber.js +1 -1
- package/dist/configurator/ui/assistant/index.d.ts +1 -0
- package/dist/configurator/ui/assistant/index.js +1 -1
- package/dist/configurator/ui/assistant/popover/AssistantPopover.d.ts +24 -0
- package/dist/configurator/ui/assistant/popover/AssistantPopover.js +1 -0
- package/dist/configurator/ui/assistant/popover/index.d.ts +1 -0
- package/dist/configurator/ui/assistant/popover/index.js +1 -0
- package/dist/configurator/ui/assistant/reference-link/AssistantReferenceLink.js +1 -1
- package/dist/configurator/ui/assistant/reference-link/reference-styles.js +1 -1
- package/dist/configurator/ui/assistant/screenshots/index.d.ts +1 -0
- package/dist/configurator/ui/assistant/screenshots/index.js +1 -1
- package/dist/configurator/ui/assistant/screenshots/tool-screenshots.d.ts +3 -9
- package/dist/configurator/ui/assistant/screenshots/tool-screenshots.js +1 -1
- package/dist/configurator/ui/assistant/screenshots/use-screenshot-src.d.ts +4 -4
- package/dist/configurator/ui/assistant/screenshots/use-screenshot-src.js +1 -1
- package/dist/configurator/ui/assistant/streamed-markdown.d.ts +11 -0
- package/dist/configurator/ui/assistant/streamed-markdown.js +2 -2
- package/dist/configurator/ui/assistant/thread-items.d.ts +5 -0
- package/dist/configurator/ui/assistant/thread-items.js +1 -1
- package/dist/configurator/ui/assistant/tool-chip.js +1 -1
- package/dist/configurator/ui/assistant/use-load-older-on-top.d.ts +22 -0
- package/dist/configurator/ui/assistant/use-load-older-on-top.js +1 -0
- package/dist/configurator/ui/configurator-layout/universal/Layout.js +1 -1
- package/dist/docs/3d-scene/animations-basic.mdx +0 -4
- package/dist/docs/3d-scene/camera-based-hiding.mdx +0 -2
- package/dist/docs/3d-scene/cameras/custom.mdx +0 -2
- package/dist/docs/3d-scene/cameras/fit-during-drag.mdx +0 -4
- package/dist/docs/3d-scene/cameras/locks.mdx +0 -4
- package/dist/docs/3d-scene/cameras/transitions.mdx +0 -2
- package/dist/docs/3d-scene/engraving.mdx +0 -4
- package/dist/docs/3d-scene/materials/custom.mdx +1 -2
- package/dist/docs/3d-scene/materials/inherit.mdx +0 -4
- package/dist/docs/3d-scene/materials/multilevel.mdx +0 -47
- package/dist/docs/3d-scene/materials/override.mdx +0 -4
- package/dist/docs/3d-scene/materials/simple.mdx +0 -4
- package/dist/docs/3d-scene/materials/transformer.mdx +0 -4
- package/dist/docs/3d-scene/materials/transition.mdx +0 -4
- package/dist/docs/3d-scene/materials/transmissive.mdx +0 -4
- package/dist/docs/3d-scene/postprocessing.mdx +0 -2
- package/dist/docs/3d-scene/rendering/basic.mdx +5 -9
- package/dist/docs/3d-scene/rendering/custom-entity.mdx +0 -6
- package/dist/docs/3d-scene/rendering/lights/ambient-light.mdx +0 -2
- package/dist/docs/3d-scene/rendering/lights/directional-light.mdx +0 -2
- package/dist/docs/3d-scene/rendering/lights/point-light.mdx +0 -2
- package/dist/docs/3d-scene/rendering/lights/rect-area-light.mdx +0 -2
- package/dist/docs/3d-scene/rendering/lights/spot-light.mdx +0 -2
- package/dist/docs/3d-scene/rendering/object-groups.mdx +0 -2
- package/dist/docs/3d-scene/rendering/objects.mdx +0 -4
- package/dist/docs/3d-scene/rendering/scene-entity-object.mdx +0 -43
- package/dist/docs/3d-scene/rendering/smma.mdx +0 -2
- package/dist/docs/3d-scene/rendering/soft-shadows.mdx +0 -2
- package/dist/docs/3d-scene/rendering/transformer.mdx +1 -3
- package/dist/docs/complex-use-cases/custom-ui-on-root-level.mdx +0 -1
- package/dist/docs/complex-use-cases/filtered-controls-with-fix-dialog.mdx +19 -19
- package/dist/docs/complex-use-cases/navigation-guard.mdx +81 -19
- package/dist/docs/complex-use-cases/navigation-reset-selection.mdx +28 -65
- package/dist/docs/complex-use-cases/navigation-reset-undo.mdx +16 -20
- package/dist/docs/complex-use-cases/sketching.mdx +2 -10
- package/dist/docs/controls/custom.mdx +88 -87
- package/dist/docs/controls/manage-child-entities/entitychildrenlist.mdx +0 -4
- package/dist/docs/controls/nullable-attributes.mdx +0 -2
- package/dist/docs/controls/scene/custom-controls.mdx +7 -8
- package/dist/docs/controls/scene/html-hotspots.mdx +0 -4
- package/dist/docs/controls/scene/object-html-hotspots.mdx +0 -4
- package/dist/docs/controls/select-attribute/cardselect.mdx +0 -4
- package/dist/docs/controls/select-attribute/listselect.mdx +0 -4
- package/dist/docs/controls/select-attribute/select.mdx +0 -4
- package/dist/docs/controls/select-attribute/swatchselect.mdx +0 -4
- package/dist/docs/controls/select-attribute/switchselect.mdx +0 -4
- package/dist/docs/controls/select-attribute/toggleselect.mdx +0 -4
- package/dist/docs/controls/select-child-entity/cardselect.mdx +2 -6
- package/dist/docs/controls/select-child-entity/listselect.mdx +5 -11
- package/dist/docs/controls/select-child-entity/toggleselect.mdx +4 -10
- package/dist/docs/controls/text-input.mdx +90 -19
- package/dist/docs/demos/glass.mdx +0 -4
- package/dist/docs/demos/heater.mdx +0 -10
- package/dist/docs/demos/office-chair.mdx +0 -8
- package/dist/docs/demos/office-desk.mdx +0 -8
- package/dist/docs/demos/ring.mdx +0 -9
- package/dist/docs/dimensions/3d-scene-integration/angle-indicators.mdx +0 -2
- package/dist/docs/dimensions/3d-scene-integration/editable-angle-indicator.mdx +0 -2
- package/dist/docs/dimensions/3d-scene-integration/editable-distance-dimension-indicator.mdx +0 -2
- package/dist/docs/dimensions/3d-scene-integration/editable-offset-indicator.mdx +0 -6
- package/dist/docs/dimensions/3d-scene-integration/editable-size-indicator.mdx +0 -4
- package/dist/docs/dimensions/3d-scene-integration/list-selector-dimension-indicator.mdx +0 -4
- package/dist/docs/dimensions/3d-scene-integration/offset-indicator.mdx +0 -6
- package/dist/docs/dimensions/3d-scene-integration/overlap-offset-demo.mdx +0 -6
- package/dist/docs/dimensions/input-controls/distance-slider.mdx +6 -6
- package/dist/docs/dimensions/selection-controls/list-selector.mdx +0 -2
- package/dist/docs/dimensions/selection-controls/toggle-selector.mdx +0 -2
- package/dist/docs/drag-and-drop/drag-handle.mdx +0 -1
- package/dist/docs/drag-and-drop/hotspot-handle.mdx +0 -1
- package/dist/docs/drag-and-drop/no-selection.mdx +0 -1
- package/dist/docs/drag-and-drop/planes.mdx +0 -3
- package/dist/docs/drag-and-drop/room-planner.mdx +0 -6
- package/dist/docs/drag-and-drop/rotatable.mdx +0 -1
- package/dist/docs/drag-and-drop/snapping/auto-rotation-demo.mdx +0 -2
- package/dist/docs/drag-and-drop/snapping/label-matching-demo.mdx +0 -2
- package/dist/docs/drag-and-drop/snapping/multi-snap-composition-demo.mdx +0 -2
- package/dist/docs/drag-and-drop/snapping/nested-entity-demo.mdx +0 -2
- package/dist/docs/drag-and-drop/snapping/priority-demo.mdx +0 -2
- package/dist/docs/drag-and-drop/snapping/snap-axis-demo.mdx +0 -2
- package/dist/docs/drag-and-drop/snapping/snap-edge-demo.mdx +0 -2
- package/dist/docs/drag-and-drop/snapping/snap-plane-demo.mdx +0 -5
- package/dist/docs/drag-and-drop/snapping/snap-point-demo.mdx +0 -2
- package/dist/docs/drag-and-drop/spatial-constraints/collision-system.mdx +0 -2
- package/dist/docs/drag-and-drop/spatial-constraints/disjoint-and-within.mdx +0 -6
- package/dist/docs/drag-and-drop/spatial-constraints/geometry-override.mdx +0 -4
- package/dist/docs/drag-and-drop/spatial-constraints/multiple-collision-meshes.mdx +0 -4
- package/dist/docs/drag-and-drop/spatial-constraints/touches.mdx +0 -4
- package/dist/docs/drag-and-drop/swap.mdx +0 -4
- package/dist/docs/fabs/basic.mdx +8 -12
- package/dist/docs/fabs/layout.mdx +0 -7
- package/dist/docs/index.json +4 -4
- package/dist/docs/integrations/lifecycle-providers.mdx +0 -12
- package/dist/docs/integrations/onloadprovider.mdx +0 -3
- package/dist/docs/integrations/webcomponent-api/basics.mdx +2 -2
- package/dist/docs/integrations/webcomponent-api/preset-tags.mdx +0 -1
- package/dist/docs/layouts/custom-layout.mdx +1 -41
- package/dist/docs/layouts/custom-price.mdx +0 -2
- package/dist/docs/layouts/custom-theme-handler.mdx +0 -4
- package/dist/docs/layouts/gallery/ardent-compressor.mdx +3 -34
- package/dist/docs/layouts/gallery/corvid-drone.mdx +0 -29
- package/dist/docs/layouts/gallery/fenwick-window.mdx +0 -25
- package/dist/docs/layouts/gallery/ferrule-bar-station.mdx +0 -27
- package/dist/docs/layouts/gallery/kestrel-kettle.mdx +0 -29
- package/dist/docs/layouts/gallery/nightjar-guitar.mdx +2 -35
- package/dist/docs/layouts/gallery/sunfold-solar.mdx +0 -26
- package/dist/docs/layouts/gallery/tidepool-aquascape.mdx +0 -46
- package/dist/docs/layouts/header/custom.mdx +0 -2
- package/dist/docs/layouts/icon-sets.mdx +0 -6
- package/dist/docs/layouts/phoenix-elements.mdx +0 -4
- package/dist/docs/layouts/phoenix-handlers.mdx +19 -28
- package/dist/docs/layouts/presets/action-and-overlay.mdx +0 -8
- package/dist/docs/layouts/presets/custom.mdx +6 -13
- package/dist/docs/layouts/preview/always-expand.mdx +4 -14
- package/dist/docs/layouts/preview/always.mdx +4 -14
- package/dist/docs/layouts/preview/auto-presets.mdx +4 -14
- package/dist/docs/layouts/preview/auto.mdx +4 -14
- package/dist/docs/layouts/preview/never.mdx +4 -14
- package/dist/docs/layouts/sidebar/in-a-custom-layout.mdx +18 -13
- package/dist/docs/layouts/sidebar/property-page-stack.mdx +0 -2
- package/dist/docs/layouts/sidebar/property-page.mdx +0 -2
- package/dist/docs/layouts/sidebar/tabs.mdx +0 -4
- package/dist/docs/layouts/sidebar-footer/custom.mdx +0 -2
- package/dist/docs/layouts/sidebar-footer/universal.mdx +0 -10
- package/dist/docs/layouts/tool-controls.mdx +0 -1
- package/dist/docs/layouts/toolbar.mdx +0 -4
- package/dist/docs/layouts/universal.mdx +2 -10
- package/dist/docs/other-features/client-side-rendering/camera-padding.mdx +0 -2
- package/dist/docs/other-features/client-side-rendering/custom.mdx +0 -6
- package/dist/docs/other-features/client-side-rendering/declarative.mdx +0 -4
- package/dist/docs/other-features/client-side-rendering/postprocessing.mdx +0 -6
- package/dist/docs/other-features/component-filters.mdx +0 -7
- package/dist/docs/other-features/currency.mdx +5 -6
- package/dist/docs/other-features/domain-actions.mdx +0 -5
- package/dist/docs/other-features/dynamic-component-attachments.mdx +75 -46
- package/dist/docs/other-features/error-5xx.mdx +0 -2
- package/dist/docs/other-features/navigation-hotspot.mdx +0 -5
- package/dist/docs/other-features/not-found-404.mdx +0 -2
- package/dist/docs/other-features/projected-entities.mdx +0 -5
- package/dist/docs/other-features/side-effects.mdx +0 -7
- package/dist/docs/other-features/transformers.mdx +101 -96
- package/dist/docs/other-features/violation-messages.mdx +0 -4
- package/dist/docs/other-features/violation-severity.mdx +2 -3
- package/dist/docs/performance/clone-highlight.mdx +0 -7
- package/dist/docs/performance/dynamic-components.mdx +0 -6
- package/dist/docs/performance/editable-dimension-stress-test.mdx +0 -2
- package/dist/docs/performance/fast-highlight.mdx +0 -7
- package/dist/docs/performance/general.mdx +0 -7
- package/dist/docs/performance/render-isolation.mdx +0 -6
- package/dist/docs/phoenix/admin.mdx +75 -100
- package/dist/docs/phoenix/application-states.mdx +45 -27
- package/dist/docs/phoenix/components.mdx +53 -46
- package/dist/docs/phoenix/configurator-interface.mdx +196 -116
- package/dist/docs/phoenix/deployments.mdx +11 -1
- package/dist/docs/phoenix/domain-model.mdx +20 -15
- package/dist/docs/phoenix/expression-context.mdx +3 -29
- package/dist/docs/phoenix/getting-started.mdx +0 -2
- package/dist/docs/phoenix/localization.mdx +64 -54
- package/dist/docs/phoenix/migration-guide.mdx +10 -11
- package/dist/docs/phoenix/phoenix-cli.mdx +21 -12
- package/dist/docs/phoenix/project-structure.mdx +52 -59
- package/dist/docs/phoenix/quickstart.mdx +1 -3
- package/dist/docs/phoenix/sdk-builder-workflow.mdx +3 -9
- package/dist/docs/phoenix/state-management.mdx +18 -16
- package/dist/docs/phoenix/testing.mdx +6 -1
- package/dist/docs/phoenix/webhooks.mdx +4 -0
- package/dist/docs/recipes-and-delete/delete-entity.mdx +3 -6
- package/dist/docs/recipes-and-delete/dynamic-root-entity.mdx +0 -2
- package/dist/docs/recipes-and-delete/grouped-button.mdx +0 -3
- package/dist/docs/recipes-and-delete/grouped-panel.mdx +0 -3
- package/dist/docs/recipes-and-delete/horizontal.mdx +3 -6
- package/dist/docs/recipes-and-delete/recipe-hierarchy-lists.mdx +0 -3
- package/dist/docs/recipes-and-delete/recipe-hierarchy-selection.mdx +0 -5
- package/dist/docs/recipes-and-delete/replace-dropdown.mdx +3 -6
- package/dist/docs/recipes-and-delete/replace-panel.mdx +0 -7
- package/dist/docs/recipes-and-delete/simple.mdx +3 -6
- package/dist/docs/recipes-and-delete/vertical.mdx +3 -6
- package/dist/docs/relations/aliases.mdx +0 -2
- package/dist/docs/relations/all-of-type.mdx +0 -4
- package/dist/docs/relations/child-nullable.mdx +0 -4
- package/dist/docs/relations/child-required.mdx +0 -2
- package/dist/docs/relations/collection-direct.mdx +0 -4
- package/dist/docs/relations/collection-indirect.mdx +0 -4
- package/dist/docs/relations/collection-multiple.mdx +0 -2
- package/dist/docs/relations/cross-reference.mdx +0 -2
- package/dist/docs/relations/hierarchy.mdx +0 -2
- package/dist/docs/selection-and-highlight/canvas.mdx +0 -1
- package/dist/docs/selection-and-highlight/disable-highlight-per-object.mdx +0 -1
- package/dist/docs/selection-and-highlight/disable-highlight.mdx +0 -1
- package/dist/docs/selection-and-highlight/effects/outline.mdx +0 -3
- package/dist/docs/selection-and-highlight/effects/overlay.mdx +0 -3
- package/dist/docs/selection-and-highlight/fast-emissive-highlight.mdx +0 -3
- package/dist/docs/selection-and-highlight/group-highlighting.mdx +0 -1
- package/dist/docs/selection-and-highlight/hierarchy.mdx +100 -151
- package/dist/docs/selection-and-highlight/hotspots.mdx +0 -1
- package/dist/domain/application/GetApplicationWrapperHandler.d.ts +1 -1
- package/dist/domain/application/GetThemeHandler.d.ts +1 -1
- package/dist/domain/application/GetWebComponentOptions.d.ts +1 -1
- package/dist/domain/application/application-config.d.ts +1 -3
- package/dist/domain/application/assistant/assistant-fields.d.ts +1 -1
- package/dist/domain/application/assistant/assistant-value-type.d.ts +1 -1
- package/dist/domain/application/assistant/build-assistant-lenses.d.ts +1 -2
- package/dist/domain/application/assistant/build-assistant-manifest.d.ts +1 -2
- package/dist/domain/application/assistant/generate-assistant-prompt.d.ts +1 -2
- package/dist/domain/application/assistant/generate-assistant-prompt.js +1 -1
- package/dist/domain/application/assistant/index.d.ts +0 -4
- package/dist/domain/application/assistant/index.js +1 -1
- package/dist/domain/application/assistant/session-setup/AssistantSetupHandler.d.ts +1 -1
- package/dist/domain/application/assistant/session-setup/apply-assistant-setup.d.ts +1 -1
- package/dist/domain/application/assistant/session-setup/apply-assistant-setup.js +1 -1
- package/dist/domain/application/assistant/session-setup/assistant-setup-manifest.d.ts +1 -1
- package/dist/domain/application/assistant/session-setup/create-session-assistant.d.ts +1 -2
- package/dist/domain/application/assistant-field-options.d.ts +1 -1
- package/dist/domain/application/assistant-mutations.d.ts +1 -1
- package/dist/domain/application/assistant-recipe-groups.d.ts +1 -1
- package/dist/domain/application/configurator-builder.d.ts +1 -2
- package/dist/domain/application/create-initial-published-data.d.ts +2 -1
- package/dist/domain/application/published-data/DataRowValidatorHandler.d.ts +1 -1
- package/dist/domain/application/published-data/FilterPublishedChunksHandler.d.ts +1 -1
- package/dist/domain/application/published-data/MapPublishedChunkedDataHandler.d.ts +1 -1
- package/dist/domain/application/published-data/MapPublishedRevisionDataHandler.d.ts +1 -1
- package/dist/domain/application/published-data/SheetValidatorHandler.d.ts +1 -1
- package/dist/domain/core/invariant/violation.d.ts +3 -2
- package/dist/domain/domain-builder/domain-builder.d.ts +1 -1
- package/dist/domain/domain-builder/domain-builder.js +1 -1
- package/dist/domain/domain-context/transformers/context.d.ts +4 -2
- package/dist/domain/domain-context/transformers/when-builder.d.ts +2 -1
- package/dist/domain/domain-runtime/domain-runtime.d.ts +24 -24
- package/dist/domain/domain-runtime/index.d.ts +0 -1
- package/dist/domain/domain-runtime/index.js +1 -1
- package/dist/domain/domain-runtime/spec/create-violation-expressions.d.ts +1 -1
- package/dist/domain/domain-runtime/spec/create-violation-expressions.js +1 -1
- package/dist/domain/domain-runtime/spec/index.d.ts +1 -1
- package/dist/domain/domain-runtime/spec/index.js +1 -1
- package/dist/domain/domain-runtime/spec/initialize.js +1 -1
- package/dist/domain/domain-runtime/spec/{module-checks/resolve-imported-transformers.d.ts → resolve-imported-transformers.d.ts} +3 -3
- package/dist/domain/domain-runtime/spec/resolve-imported-transformers.js +1 -0
- package/dist/domain/domain-runtime/spec/selectors.d.ts +5 -5
- package/dist/domain/domain-runtime/spec/types.d.ts +2 -2
- package/dist/domain/extensions/export-images/agent-screenshot.d.ts +6 -0
- package/dist/domain/extensions/export-images/agent-screenshot.js +1 -1
- package/dist/domain/extensions/export-images/index.d.ts +1 -1
- package/dist/domain/extensions/export-images/index.js +1 -1
- package/dist/domain/extensions/index.d.ts +1 -1
- package/dist/domain/extensions/index.js +1 -1
- package/dist/domain/index.d.ts +13 -1
- package/dist/domain/index.js +1 -1
- package/dist/domain/mocks/create-test-application-config.d.ts +1 -1
- package/dist/domain/spec/index.d.ts +3 -8
- package/dist/domain/spec/index.js +1 -1
- package/dist/domain/{domain-runtime/spec/module-checks → spec/modules}/element-registration.d.ts +1 -1
- package/dist/domain/{domain-runtime/spec/module-checks → spec/modules}/find-assistant-form-element-errors.d.ts +1 -1
- package/dist/domain/spec/modules/find-assistant-form-element-errors.js +1 -0
- package/dist/domain/{domain-runtime/spec/module-checks → spec/modules}/index.d.ts +2 -3
- package/dist/domain/spec/modules/index.js +1 -0
- package/dist/domain/{domain-runtime/spec/module-checks → spec/modules}/merge-expression-modules.d.ts +2 -2
- package/dist/domain/spec/modules/merge-expression-modules.js +1 -0
- package/dist/domain/{domain-runtime/spec/module-checks → spec/modules}/project-modules.d.ts +1 -1
- package/dist/domain/spec/modules/project-modules.js +1 -0
- package/dist/domain/{domain-runtime/spec/module-checks → spec/modules}/resolve-action-modules.d.ts +1 -1
- package/dist/domain/{domain-runtime/spec/module-checks → spec/modules}/resolve-component-optic-modules.d.ts +1 -1
- package/dist/domain/{domain-runtime/spec/module-checks → spec/modules}/resolve-expression-modules.d.ts +1 -1
- package/dist/domain/{domain-runtime/spec/module-checks → spec/modules}/resolve-invariant-modules.d.ts +1 -1
- package/dist/domain/spec/phx/index.d.ts +1 -0
- package/dist/domain/spec/phx/index.js +1 -0
- package/dist/{application-spec/generate-application/implementations → domain/spec/phx}/phx-application-types.d.ts +1 -1
- package/dist/domain/spec/phx/phx-application-types.js +1 -0
- package/dist/domain/spec/phx/phx-domain.js +1 -0
- package/dist/{application-spec/generate-application/implementations → domain/spec/phx}/phx-model.d.ts +2 -2
- package/dist/domain/spec/phx/phx-model.js +1 -0
- package/dist/{application-spec/generate-application/implementations → domain/spec/phx}/phx.d.ts +1 -2
- package/dist/{application-spec/generate-application → domain/spec}/runtime/admin-runtime/admin-runtime.d.ts +7 -6
- package/dist/domain/spec/runtime/admin-runtime/admin-runtime.js +1 -0
- package/dist/{application-spec/generate-application → domain/spec}/runtime/admin-runtime/admin-spec-runtime.d.ts +2 -2
- package/dist/domain/spec/runtime/admin-runtime/admin-spec-runtime.js +1 -0
- package/dist/domain/spec/runtime/admin-runtime/index.d.ts +2 -0
- package/dist/domain/spec/runtime/admin-runtime/index.js +1 -0
- package/dist/{application-spec/generate-application → domain/spec}/runtime/admin-runtime/states-runtime.d.ts +1 -1
- package/dist/{application-spec/generate-application → domain/spec}/runtime/application-runtime.d.ts +8 -6
- package/dist/domain/spec/runtime/application-runtime.js +1 -0
- package/dist/{application-spec/generate-application → domain/spec}/runtime/application-spec-slice.d.ts +3 -1
- package/dist/domain/spec/runtime/application-spec-slice.js +1 -0
- package/dist/{application-spec/generate-application → domain/spec}/runtime/configurator-runtime/configurator-runtime.d.ts +8 -10
- package/dist/domain/spec/runtime/configurator-runtime/configurator-runtime.js +1 -0
- package/dist/{application-spec/generate-application → domain/spec}/runtime/configurator-runtime/configurator-spec-runtime.d.ts +2 -2
- package/dist/domain/spec/runtime/configurator-runtime/configurator-spec-runtime.js +1 -0
- package/dist/domain/spec/runtime/configurator-runtime/index.d.ts +2 -0
- package/dist/domain/spec/runtime/configurator-runtime/index.js +1 -0
- package/dist/{application-spec/generate-application → domain/spec}/runtime/configurator-runtime/states-runtime.d.ts +1 -1
- package/dist/{application-spec/generate-application → domain/spec}/runtime/create-application.d.ts +3 -2
- package/dist/domain/spec/runtime/create-application.js +1 -0
- package/dist/{application-spec/generate-application/runtime/sections → domain/spec/runtime/expressions}/expression-runtime.d.ts +5 -2
- package/dist/domain/spec/runtime/expressions/expression-runtime.js +1 -0
- package/dist/{application-spec/generate-application/runtime/sections → domain/spec/runtime/expressions}/generate-memo-eval-plan-runtime.d.ts +2 -1
- package/dist/domain/spec/runtime/expressions/generate-memo-eval-plan-runtime.js +1 -0
- package/dist/domain/spec/runtime/expressions/index.d.ts +3 -0
- package/dist/domain/spec/runtime/expressions/index.js +1 -0
- package/dist/{application-spec/generate-application/runtime/sections → domain/spec/runtime/expressions}/reflection-constants-runtime.d.ts +2 -1
- package/dist/{application-spec/generate-application → domain/spec}/runtime/factory-data/factory-data-runtime.d.ts +4 -2
- package/dist/{application-spec/generate-application → domain/spec}/runtime/factory-data/recipe-defaults.d.ts +1 -1
- package/dist/domain/spec/runtime/factory-data/recipe-defaults.js +1 -0
- package/dist/{application-spec/generate-application → domain/spec}/runtime/factory-data/static-violations.d.ts +2 -1
- package/dist/domain/spec/runtime/factory-data/static-violations.js +1 -0
- package/dist/{application-spec/generate-application → domain/spec}/runtime/generate-runtime-instance.d.ts +1 -1
- package/dist/domain/spec/runtime/generate-runtime-instance.js +1 -0
- package/dist/domain/spec/runtime/index.d.ts +13 -0
- package/dist/domain/spec/runtime/index.js +1 -0
- package/dist/{application-spec/generate-application → domain/spec}/runtime/migrations/migration-runtime.d.ts +2 -2
- package/dist/domain/spec/runtime/migrations/migration-runtime.js +1 -0
- package/dist/{application-spec/generate-application/runtime/admin-runtime → domain/spec/runtime/model}/admin-model-runtime.d.ts +4 -2
- package/dist/domain/spec/runtime/model/admin-model-runtime.js +1 -0
- package/dist/{application-spec/generate-application/runtime/configurator-runtime → domain/spec/runtime/model}/configurator-model-runtime.d.ts +4 -2
- package/dist/domain/spec/runtime/model/configurator-model-runtime.js +1 -0
- package/dist/domain/spec/runtime/model/index.d.ts +2 -0
- package/dist/domain/spec/runtime/model/index.js +1 -0
- package/dist/{application-spec/generate-application/runtime/sections → domain/spec/runtime/optics}/build-sdk-optic.d.ts +3 -4
- package/dist/domain/spec/runtime/optics/build-sdk-optic.js +1 -0
- package/dist/domain/spec/runtime/optics/build-user-bound-optic.d.ts +7 -0
- package/dist/domain/spec/runtime/optics/build-user-bound-optic.js +1 -0
- package/dist/domain/spec/runtime/optics/built-component-optic.d.ts +11 -0
- package/dist/{application-spec/generate-application/runtime/sections → domain/spec/runtime/optics}/component-optic.d.ts +4 -13
- package/dist/domain/spec/runtime/optics/index.d.ts +2 -0
- package/dist/domain/spec/runtime/optics/index.js +1 -0
- package/dist/{application-spec/caching → domain/spec/runtime}/runtime-reference-store.d.ts +1 -5
- package/dist/domain/spec/runtime/runtime-reference-store.js +1 -0
- package/dist/{application-spec/generate-application → domain/spec}/runtime/sections/actions-runtime.d.ts +3 -2
- package/dist/{application-spec/generate-application → domain/spec}/runtime/sections/assistant-runtime.d.ts +2 -2
- package/dist/{application-spec/generate-application → domain/spec}/runtime/sections/data-runtime.d.ts +1 -1
- package/dist/domain/spec/runtime/sections/index.d.ts +6 -0
- package/dist/domain/spec/runtime/sections/index.js +1 -0
- package/dist/{application-spec/generate-application → domain/spec}/runtime/sections/preset-runtime.d.ts +3 -2
- package/dist/{application-spec/generate-application → domain/spec}/runtime/sections/theme-runtime.d.ts +1 -1
- package/dist/{application-spec/generate-application → domain/spec}/runtime/sections/transformers-runtime.d.ts +2 -2
- package/dist/{application-spec/generate-application → domain/spec}/runtime/spec-code/resolve-spec-code.d.ts +1 -1
- package/dist/domain/spec/runtime/spec-code/spec-code-module.js +1 -0
- package/dist/{application-spec/generate-application → domain/spec}/runtime/spec-runtime.d.ts +3 -3
- package/dist/domain/spec/runtime/spec-runtime.js +1 -0
- package/dist/domain/spec/runtime-spec/index.d.ts +4 -0
- package/dist/domain/spec/runtime-spec/index.js +1 -0
- package/dist/{application-spec/generate-application → domain/spec}/runtime-spec/runtime-spec.d.ts +7 -1
- package/dist/{application-spec/generate-application → domain/spec}/runtime-spec/spec-code-id.d.ts +1 -1
- package/dist/domain/spec/sections/assistant/assistant-resolved-manifest.js +1 -0
- package/dist/domain/spec/sections/assistant/index.d.ts +4 -0
- package/dist/domain/spec/sections/assistant/index.js +1 -0
- package/dist/domain/spec/sections/index.d.ts +1 -0
- package/dist/domain/spec/sections/index.js +1 -1
- package/dist/domain/system-components/phoenix-entity-elements/child-entity-card-selector.d.ts +2 -3
- package/dist/domain/system-components/phoenix-entity-elements/child-entity-list-selector.d.ts +2 -3
- package/dist/domain/system-components/phoenix-entity-elements/child-entity-toggle-selector.d.ts +2 -3
- package/dist/i18n/locales/cs/messages.js +1 -1
- package/dist/i18n/locales/da/messages.js +1 -1
- package/dist/i18n/locales/de/messages.js +1 -1
- package/dist/i18n/locales/de-AT/messages.js +1 -1
- package/dist/i18n/locales/en/messages.js +1 -1
- package/dist/i18n/locales/en-AU/messages.js +1 -1
- package/dist/i18n/locales/en-GB/messages.js +1 -1
- package/dist/i18n/locales/es/messages.js +1 -1
- package/dist/i18n/locales/fr/messages.js +1 -1
- package/dist/i18n/locales/hu/messages.js +1 -1
- package/dist/i18n/locales/it/messages.js +1 -1
- package/dist/i18n/locales/nl/messages.js +1 -1
- package/dist/i18n/locales/pl/messages.js +1 -1
- package/dist/i18n/locales/pt/messages.js +1 -1
- package/dist/i18n/locales/ro/messages.js +1 -1
- package/dist/i18n/locales/sk/messages.js +1 -1
- package/dist/i18n/locales/tr/messages.js +1 -1
- package/dist/legacy/domain-spec/__generated/domain-schema.d.ts +2 -2
- package/dist/legacy/phoenix-cli/services/webhook-service/transport.js +1 -1
- package/dist/legacy/phoenix-cli/services/webhook-service/tunnel.d.ts +1 -0
- package/dist/legacy/phoenix-cli/services/webhook-service/tunnel.js +1 -1
- package/dist/legacy/webhook-cli/lambda-local/index.js +1 -1
- package/dist/phoenix/application-spec/application-spec-builder.js +1 -1
- package/dist/phoenix/application-spec/generate-application-spec-project.js +2 -2
- package/dist/phoenix/application-spec/index.d.ts +1 -0
- package/dist/phoenix/application-spec/index.js +1 -1
- package/dist/phoenix/application-spec/project-files.d.ts +8 -2
- package/dist/phoenix/application-spec/project-files.js +1 -1
- package/dist/phoenix/commands/clean.js +1 -1
- package/dist/phoenix/commands/deploy.js +3 -3
- package/dist/phoenix/commands/dev.js +4 -5
- package/dist/phoenix/commands/story-dev.js +2 -2
- package/dist/phoenix/editor-server/commands-router.js +1 -1
- package/dist/phoenix/editor-server/editor-server.d.ts +2 -13
- package/dist/phoenix/editor-server/editor-server.js +1 -1
- package/dist/phoenix/editor-server/spec-router.js +1 -1
- package/dist/phoenix/editor-server/trpc.d.ts +2 -12
- package/dist/phoenix/lingui/lingui.d.ts +4 -4
- package/dist/phoenix/scripts/docs-utils.js +1 -1
- package/dist/phoenix/services/application-spec-project-watcher.d.ts +11 -8
- package/dist/phoenix/services/application-spec-project-watcher.js +2 -2
- package/dist/phoenix/services/deployment/deployment-preparation-service.d.ts +28 -0
- package/dist/phoenix/services/deployment/deployment-preparation-service.js +1 -0
- package/dist/phoenix/services/deployment/index.d.ts +2 -0
- package/dist/phoenix/services/deployment/index.js +1 -0
- package/dist/phoenix/services/index.d.ts +2 -1
- package/dist/phoenix/services/index.js +1 -1
- package/dist/phoenix/services/phoenix-store.d.ts +3 -0
- package/dist/phoenix/services/phoenix-store.js +1 -1
- package/dist/phoenix/services/session/editor-server-handle.d.ts +5 -0
- package/dist/phoenix/services/session/editor-server-handle.js +1 -0
- package/dist/phoenix/services/session/index.d.ts +2 -0
- package/dist/phoenix/services/session/index.js +1 -0
- package/dist/phoenix/services/session/phoenix-application.d.ts +82 -0
- package/dist/phoenix/services/session/phoenix-application.js +2 -0
- package/dist/phoenix/services/source-archive.d.ts +2 -0
- package/dist/phoenix/services/source-archive.js +1 -1
- package/dist/phoenix/services/swc.d.ts +5 -4
- package/dist/phoenix/services/swc.js +2 -2
- package/dist/phoenix/services/vite-config.js +1 -1
- package/dist/phoenix/services/webhook-service/transport.js +1 -1
- package/dist/phoenix/services/webhook-service/tunnel.d.ts +1 -0
- package/dist/phoenix/services/webhook-service/tunnel.js +1 -1
- package/dist/react-sdk/configurator-ui-elements/ConfiguratorUiElementHost.d.ts +7 -0
- package/dist/react-sdk/configurator-ui-elements/ConfiguratorUiElementHost.js +1 -0
- package/dist/react-sdk/configurator-ui-elements/ErrorFallbackElement.d.ts +14 -0
- package/dist/react-sdk/configurator-ui-elements/ErrorFallbackElement.js +1 -0
- package/dist/react-sdk/configurator-ui-elements/ErrorFallbackPropsProvider.d.ts +18 -0
- package/dist/react-sdk/configurator-ui-elements/ErrorFallbackPropsProvider.js +1 -0
- package/dist/react-sdk/configurator-ui-elements/PlainErrorFallback.d.ts +5 -0
- package/dist/react-sdk/configurator-ui-elements/PlainErrorFallback.js +1 -0
- package/dist/react-sdk/configurator-ui-elements/configurator-ui-element.d.ts +17 -0
- package/dist/react-sdk/configurator-ui-elements/configurator-ui-element.js +1 -0
- package/dist/react-sdk/configurator-ui-elements/create-configurator-ui-element.d.ts +5 -0
- package/dist/react-sdk/configurator-ui-elements/create-configurator-ui-element.js +1 -0
- package/dist/react-sdk/configurator-ui-elements/index.d.ts +6 -0
- package/dist/react-sdk/configurator-ui-elements/index.js +1 -0
- package/dist/react-sdk/domain-application-context/BackendDataProvider.js +1 -1
- package/dist/react-sdk/domain-application-context/FrontendDataProvider.js +1 -1
- package/dist/react-sdk/domain-application-context/PublishedDataProvider.js +1 -1
- package/dist/react-sdk/domain-context/common-hooks/use-state-validity.d.ts +7 -1
- package/dist/react-sdk/domain-controls/ChildEntityCardSelector.d.ts +2 -3
- package/dist/react-sdk/domain-controls/ChildEntityListSelector.d.ts +2 -3
- package/dist/react-sdk/domain-controls/ChildEntityToggleSelector.d.ts +2 -3
- package/dist/react-sdk/domain-controls/hooks/use-cook-replace-recipes.d.ts +2 -2
- package/dist/react-sdk/elements/PhoenixEntityElement.js +1 -1
- package/dist/react-sdk/elements/PhoenixLayoutElement.js +1 -1
- package/dist/react-sdk/index.d.ts +2 -0
- package/dist/react-sdk/index.js +1 -1
- package/dist/react-sdk/provider-slots/ConfiguratorProviderSlotHost.d.ts +11 -0
- package/dist/react-sdk/provider-slots/ConfiguratorProviderSlotHost.js +1 -0
- package/dist/react-sdk/provider-slots/configurator-provider-slot.d.ts +24 -0
- package/dist/react-sdk/provider-slots/configurator-provider-slot.js +1 -0
- package/dist/react-sdk/provider-slots/create-configurator-provider-slot.d.ts +5 -0
- package/dist/react-sdk/provider-slots/create-configurator-provider-slot.js +1 -0
- package/dist/react-sdk/provider-slots/index.d.ts +3 -0
- package/dist/react-sdk/provider-slots/index.js +1 -0
- package/dist/react-sdk/session/SessionServiceProvider.d.ts +5 -0
- package/dist/react-sdk/session/SessionServiceProvider.js +1 -1
- package/dist/ui-sdk/components/numerical-input/InputField.d.ts +2 -0
- package/dist/ui-sdk/components/numerical-input/InputField.js +1 -1
- package/dist/ui-sdk/components/numerical-input/NumericalInput.d.ts +2 -2
- package/dist/ui-sdk/components/numerical-input/Slider.d.ts +3 -1
- package/dist/ui-sdk/components/numerical-input/Slider.js +1 -1
- package/dist/ui-sdk/icons/__generated/ChatCircleText.d.ts +3 -0
- package/dist/ui-sdk/icons/__generated/ChatCircleText.js +1 -0
- package/dist/ui-sdk/icons/__generated/Paperclip.d.ts +3 -0
- package/dist/ui-sdk/icons/__generated/Paperclip.js +1 -0
- package/dist/ui-sdk/icons/__generated/PencilSimpleLine.d.ts +3 -0
- package/dist/ui-sdk/icons/__generated/PencilSimpleLine.js +1 -0
- package/dist/ui-sdk/icons/__generated/index.d.ts +6 -0
- package/dist/ui-sdk/icons/__generated/index.js +1 -1
- package/dist/ui-sdk/icons/icons-registry.js +1 -1
- package/dist/ui-sdk/theme/types.d.ts +1 -1
- package/package.json +3 -3
- package/schema/domain-spec.json +22 -4
- package/dist/application-spec/caching/runtime-reference-store.js +0 -1
- package/dist/application-spec/generate-application/code/templates/skills/phoenix-cli-skill.d.ts +0 -1
- package/dist/application-spec/generate-application/code/templates/skills/phoenix-cli-skill.js +0 -1
- package/dist/application-spec/generate-application/code/templates/skills/phoenix-create-configurator-skill.d.ts +0 -3
- package/dist/application-spec/generate-application/code/templates/skills/phoenix-create-configurator-skill.js +0 -166
- package/dist/application-spec/generate-application/code/templates/skills/phoenix-feedback-skill.d.ts +0 -1
- package/dist/application-spec/generate-application/code/templates/skills/phoenix-feedback-skill.js +0 -54
- package/dist/application-spec/generate-application/code/templates/skills/phoenix-review-skill.d.ts +0 -1
- package/dist/application-spec/generate-application/code/templates/skills/phoenix-review-skill.js +0 -115
- package/dist/application-spec/generate-application/code/templates/skills/phoenix-skill.js +0 -1
- package/dist/application-spec/generate-application/code/templates/skills/phoenix-variants-skill.d.ts +0 -1
- package/dist/application-spec/generate-application/code/templates/skills/phoenix-variants-skill.js +0 -6
- package/dist/application-spec/generate-application/implementations/phx-application-types.js +0 -1
- package/dist/application-spec/generate-application/implementations/phx-domain.js +0 -1
- package/dist/application-spec/generate-application/implementations/phx-model.js +0 -1
- package/dist/application-spec/generate-application/runtime/admin-runtime/admin-model-runtime.js +0 -1
- package/dist/application-spec/generate-application/runtime/admin-runtime/admin-runtime.js +0 -1
- package/dist/application-spec/generate-application/runtime/admin-runtime/admin-spec-runtime.js +0 -1
- package/dist/application-spec/generate-application/runtime/application-runtime.js +0 -1
- package/dist/application-spec/generate-application/runtime/application-spec-slice.js +0 -1
- package/dist/application-spec/generate-application/runtime/configurator-runtime/configurator-model-runtime.js +0 -1
- package/dist/application-spec/generate-application/runtime/configurator-runtime/configurator-runtime.js +0 -1
- package/dist/application-spec/generate-application/runtime/configurator-runtime/configurator-spec-runtime.js +0 -1
- package/dist/application-spec/generate-application/runtime/create-application.js +0 -1
- package/dist/application-spec/generate-application/runtime/factory-data/recipe-defaults.js +0 -1
- package/dist/application-spec/generate-application/runtime/factory-data/static-violations.js +0 -1
- package/dist/application-spec/generate-application/runtime/generate-runtime-instance.js +0 -1
- package/dist/application-spec/generate-application/runtime/index.d.ts +0 -8
- package/dist/application-spec/generate-application/runtime/index.js +0 -1
- package/dist/application-spec/generate-application/runtime/migrations/migration-runtime.js +0 -1
- package/dist/application-spec/generate-application/runtime/sections/build-sdk-optic.js +0 -1
- package/dist/application-spec/generate-application/runtime/sections/build-user-bound-optic.d.ts +0 -8
- package/dist/application-spec/generate-application/runtime/sections/build-user-bound-optic.js +0 -1
- package/dist/application-spec/generate-application/runtime/sections/expression-runtime.js +0 -1
- package/dist/application-spec/generate-application/runtime/sections/generate-memo-eval-plan-runtime.js +0 -1
- package/dist/application-spec/generate-application/runtime/sections/index.d.ts +0 -10
- package/dist/application-spec/generate-application/runtime/sections/index.js +0 -1
- package/dist/application-spec/generate-application/runtime/spec-runtime.js +0 -1
- package/dist/application-spec/generate-application/runtime-spec/index.d.ts +0 -5
- package/dist/application-spec/generate-application/runtime-spec/index.js +0 -1
- package/dist/configurator/application-runtime/extensions/systems/assistant-system/browser-details.d.ts +0 -17
- package/dist/configurator/application-runtime/extensions/systems/assistant-system/browser-details.js +0 -1
- package/dist/domain/domain-runtime/spec/module-checks/find-assistant-form-element-errors.js +0 -1
- package/dist/domain/domain-runtime/spec/module-checks/index.js +0 -1
- package/dist/domain/domain-runtime/spec/module-checks/merge-expression-modules.js +0 -1
- package/dist/domain/domain-runtime/spec/module-checks/project-modules.js +0 -1
- package/dist/domain/domain-runtime/spec/module-checks/resolve-imported-transformers.js +0 -1
- package/dist/phoenix/services/phoenix-application.d.ts +0 -21
- package/dist/phoenix/services/phoenix-application.js +0 -1
- /package/dist/{application-spec/generate-application/runtime/spec-code/spec-code-module.js → configurator/application-runtime/extensions/systems/assistant-system/assistant-annotation.js} +0 -0
- /package/dist/configurator/{configurator-context → pages/provider-slots}/ConfiguratorResponsiveProvider.d.ts +0 -0
- /package/dist/configurator/{configurator-context → pages/provider-slots}/ConfiguratorResponsiveProvider.js +0 -0
- /package/dist/domain/{domain-runtime → spec}/errors/implementation-error-collector.d.ts +0 -0
- /package/dist/domain/{domain-runtime → spec}/errors/implementation-error-collector.js +0 -0
- /package/dist/domain/{domain-runtime → spec}/errors/implementation-error.d.ts +0 -0
- /package/dist/domain/{domain-runtime → spec}/errors/implementation-error.js +0 -0
- /package/dist/domain/{domain-runtime → spec}/errors/implementation-errors.d.ts +0 -0
- /package/dist/domain/{domain-runtime → spec}/errors/implementation-errors.js +0 -0
- /package/dist/domain/{domain-runtime → spec}/errors/index.d.ts +0 -0
- /package/dist/domain/{domain-runtime → spec}/errors/index.js +0 -0
- /package/dist/domain/{domain-runtime → spec}/errors/to-implementation-errors.d.ts +0 -0
- /package/dist/domain/{domain-runtime → spec}/errors/to-implementation-errors.js +0 -0
- /package/dist/domain/{domain-runtime/spec/module-checks → spec/modules}/element-registration.js +0 -0
- /package/dist/domain/{domain-runtime/spec/module-checks → spec/modules}/handler-registration.d.ts +0 -0
- /package/dist/domain/{domain-runtime/spec/module-checks → spec/modules}/handler-registration.js +0 -0
- /package/dist/domain/{domain-runtime/spec/module-checks → spec/modules}/resolve-action-modules.js +0 -0
- /package/dist/domain/{domain-runtime/spec/module-checks → spec/modules}/resolve-component-optic-modules.js +0 -0
- /package/dist/domain/{domain-runtime/spec/module-checks → spec/modules}/resolve-expression-modules.js +0 -0
- /package/dist/domain/{domain-runtime/spec/module-checks → spec/modules}/resolve-invariant-modules.js +0 -0
- /package/dist/{application-spec/generate-application/implementations → domain/spec/phx}/phx-domain.d.ts +0 -0
- /package/dist/{application-spec/generate-application/implementations → domain/spec/phx}/phx.js +0 -0
- /package/dist/{application-spec/generate-application → domain/spec}/runtime/admin-runtime/states-runtime.js +0 -0
- /package/dist/{application-spec/generate-application → domain/spec}/runtime/configurator-runtime/states-runtime.js +0 -0
- /package/dist/{application-spec/generate-application/runtime/sections → domain/spec/runtime/expressions}/reflection-constants-runtime.js +0 -0
- /package/dist/{application-spec/generate-application → domain/spec}/runtime/factory-data/factory-data-runtime.js +0 -0
- /package/dist/{application-spec/generate-application → domain/spec}/runtime/factory-data/index.d.ts +0 -0
- /package/dist/{application-spec/generate-application → domain/spec}/runtime/factory-data/index.js +0 -0
- /package/dist/{application-spec/generate-application → domain/spec}/runtime/migrations/index.d.ts +0 -0
- /package/dist/{application-spec/generate-application → domain/spec}/runtime/migrations/index.js +0 -0
- /package/dist/domain/{application/assistant/assistant-resolved-manifest.js → spec/runtime/optics/built-component-optic.js} +0 -0
- /package/dist/{application-spec/generate-application/runtime/sections → domain/spec/runtime/optics}/component-optic.js +0 -0
- /package/dist/{application-spec/generate-application → domain/spec}/runtime/sections/actions-runtime.js +0 -0
- /package/dist/{application-spec/generate-application → domain/spec}/runtime/sections/assistant-runtime.js +0 -0
- /package/dist/{application-spec/generate-application → domain/spec}/runtime/sections/data-runtime.js +0 -0
- /package/dist/{application-spec/generate-application → domain/spec}/runtime/sections/preset-runtime.js +0 -0
- /package/dist/{application-spec/generate-application → domain/spec}/runtime/sections/theme-runtime.js +0 -0
- /package/dist/{application-spec/generate-application → domain/spec}/runtime/sections/transformers-runtime.js +0 -0
- /package/dist/{application-spec/generate-application → domain/spec}/runtime/spec-code/index.d.ts +0 -0
- /package/dist/{application-spec/generate-application → domain/spec}/runtime/spec-code/index.js +0 -0
- /package/dist/{application-spec/generate-application → domain/spec}/runtime/spec-code/resolve-spec-code.js +0 -0
- /package/dist/{application-spec/generate-application → domain/spec}/runtime/spec-code/spec-code-module.d.ts +0 -0
- /package/dist/{application-spec/generate-application → domain/spec}/runtime-spec/decode-runtime-spec.d.ts +0 -0
- /package/dist/{application-spec/generate-application → domain/spec}/runtime-spec/decode-runtime-spec.js +0 -0
- /package/dist/{application-spec/generate-application → domain/spec}/runtime-spec/encode-runtime-spec.d.ts +0 -0
- /package/dist/{application-spec/generate-application → domain/spec}/runtime-spec/encode-runtime-spec.js +0 -0
- /package/dist/{application-spec/generate-application → domain/spec}/runtime-spec/encoded-runtime-spec.d.ts +0 -0
- /package/dist/{application-spec/generate-application → domain/spec}/runtime-spec/encoded-runtime-spec.js +0 -0
- /package/dist/{application-spec/generate-application → domain/spec}/runtime-spec/runtime-spec.js +0 -0
- /package/dist/{application-spec/generate-application → domain/spec}/runtime-spec/spec-code-id.js +0 -0
- /package/dist/domain/{application → spec/sections}/assistant/assistant-manifest.d.ts +0 -0
- /package/dist/domain/{application → spec/sections}/assistant/assistant-manifest.js +0 -0
- /package/dist/domain/{application → spec/sections}/assistant/assistant-resolved-manifest.d.ts +0 -0
- /package/dist/domain/{application → spec/sections}/assistant/form/assistant-form-element-name.d.ts +0 -0
- /package/dist/domain/{application → spec/sections}/assistant/form/assistant-form-element-name.js +0 -0
- /package/dist/domain/{application → spec/sections}/assistant/form/assistant-form-elements.d.ts +0 -0
- /package/dist/domain/{application → spec/sections}/assistant/form/assistant-form-elements.js +0 -0
- /package/dist/domain/{application → spec/sections}/assistant/form/assistant-resource-path.d.ts +0 -0
- /package/dist/domain/{application → spec/sections}/assistant/form/assistant-resource-path.js +0 -0
- /package/dist/domain/{application → spec/sections}/assistant/form/index.d.ts +0 -0
- /package/dist/domain/{application → spec/sections}/assistant/form/index.js +0 -0
- /package/dist/phoenix/{commands → services/deployment}/generated-env-markers.d.ts +0 -0
- /package/dist/phoenix/{commands → services/deployment}/generated-env-markers.js +0 -0
|
@@ -38,8 +38,6 @@ Create the element using `phx.frontend.createCustomPhoenixEntityElement()`:
|
|
|
38
38
|
import { IconButton } from '@mui/material'
|
|
39
39
|
import { CaretUpDown } from '@phosphor-icons/react'
|
|
40
40
|
|
|
41
|
-
import { phx } from '../../.phoenix/phx.js'
|
|
42
|
-
|
|
43
41
|
export default phx.frontend.createCustomPhoenixEntityElement('AnimationTrigger', () => {
|
|
44
42
|
const { animationSystem } = phx.frontend.useConfigurator()
|
|
45
43
|
|
|
@@ -312,8 +310,6 @@ import { IconButton } from '@mui/material'
|
|
|
312
310
|
import { CaretUpDown } from '@phosphor-icons/react'
|
|
313
311
|
import { useCallback } from 'react'
|
|
314
312
|
|
|
315
|
-
import { phx } from '../../.phoenix/phx.js'
|
|
316
|
-
|
|
317
313
|
export default phx.frontend.createCustomPhoenixEntityElement('AnimationTrigger', () => {
|
|
318
314
|
const { animationSystem } = phx.frontend.useConfigurator()
|
|
319
315
|
|
|
@@ -49,8 +49,6 @@ Create the element using `phx.frontend.createCustomPhoenixEntityElement()`:
|
|
|
49
49
|
import { IconButton } from '@mui/material'
|
|
50
50
|
import { CaretUpDown } from '@phosphor-icons/react'
|
|
51
51
|
|
|
52
|
-
import { phx } from '../../.phoenix/phx.js'
|
|
53
|
-
|
|
54
52
|
export default phx.frontend.createCustomPhoenixEntityElement('AnimationTrigger', () => {
|
|
55
53
|
const { animationSystem } = phx.frontend.useConfigurator()
|
|
56
54
|
|
|
@@ -254,8 +252,6 @@ import { IconButton } from '@mui/material'
|
|
|
254
252
|
import { CaretUpDown } from '@phosphor-icons/react'
|
|
255
253
|
import { useCallback } from 'react'
|
|
256
254
|
|
|
257
|
-
import { phx } from '../../.phoenix/phx.js'
|
|
258
|
-
|
|
259
255
|
export default phx.frontend.createCustomPhoenixEntityElement('AnimationTrigger', () => {
|
|
260
256
|
const { animationSystem } = phx.frontend.useConfigurator()
|
|
261
257
|
|
|
@@ -256,8 +256,6 @@ components:
|
|
|
256
256
|
### ./src/expressions/table.ts
|
|
257
257
|
|
|
258
258
|
```ts
|
|
259
|
-
import { phx } from '../../.phoenix/phx.js'
|
|
260
|
-
|
|
261
259
|
export default phx.domain.implementCustomExpressions({
|
|
262
260
|
Table: {
|
|
263
261
|
$edgeFinishFacet: s => {
|
|
@@ -276,8 +274,6 @@ export default phx.domain.implementCustomExpressions({
|
|
|
276
274
|
### ./src/invariants/trunk-disabled.ts
|
|
277
275
|
|
|
278
276
|
```ts
|
|
279
|
-
import { phx } from '../../.phoenix/phx.js'
|
|
280
|
-
|
|
281
277
|
export default phx.domain.implementCustomInvariants({
|
|
282
278
|
Table: {
|
|
283
279
|
trunkDisabled: s => {
|
|
@@ -236,8 +236,6 @@ components:
|
|
|
236
236
|
### ./src/expressions/table.ts
|
|
237
237
|
|
|
238
238
|
```ts
|
|
239
|
-
import { phx } from '../../.phoenix/phx.js'
|
|
240
|
-
|
|
241
239
|
export default phx.domain.implementCustomExpressions({
|
|
242
240
|
Table: {
|
|
243
241
|
$edgeFinishFacet: s => {
|
|
@@ -256,8 +254,6 @@ export default phx.domain.implementCustomExpressions({
|
|
|
256
254
|
### ./src/invariants/table.ts
|
|
257
255
|
|
|
258
256
|
```ts
|
|
259
|
-
import { phx } from '../../.phoenix/phx.js'
|
|
260
|
-
|
|
261
257
|
export default phx.domain.implementCustomInvariants({
|
|
262
258
|
Table: {
|
|
263
259
|
trunkDisabled: s => {
|
|
@@ -220,8 +220,6 @@ components:
|
|
|
220
220
|
### ./src/expressions/table.ts
|
|
221
221
|
|
|
222
222
|
```ts
|
|
223
|
-
import { phx } from '../../.phoenix/phx.js'
|
|
224
|
-
|
|
225
223
|
export default phx.domain.implementCustomExpressions({
|
|
226
224
|
Table: {
|
|
227
225
|
$edgeFinishFacet: s => {
|
|
@@ -240,8 +238,6 @@ export default phx.domain.implementCustomExpressions({
|
|
|
240
238
|
### ./src/invariants/table.ts
|
|
241
239
|
|
|
242
240
|
```ts
|
|
243
|
-
import { phx } from '../../.phoenix/phx.js'
|
|
244
|
-
|
|
245
241
|
export default phx.domain.implementCustomInvariants({
|
|
246
242
|
Table: {
|
|
247
243
|
trunkDisabled: s => {
|
|
@@ -361,8 +361,6 @@ components:
|
|
|
361
361
|
### ./src/expressions/expressions.ts
|
|
362
362
|
|
|
363
363
|
```ts
|
|
364
|
-
import { phx } from '../../.phoenix/phx.js'
|
|
365
|
-
|
|
366
364
|
export default phx.domain.implementCustomExpressions({
|
|
367
365
|
Chair: {
|
|
368
366
|
$colorMaterialColor: (s, __, ctx) => {
|
|
@@ -381,8 +379,6 @@ export default phx.domain.implementCustomExpressions({
|
|
|
381
379
|
### ./src/invariants/invariants.ts
|
|
382
380
|
|
|
383
381
|
```ts
|
|
384
|
-
import { phx } from '../../.phoenix/phx.js'
|
|
385
|
-
|
|
386
382
|
export default phx.domain.implementCustomInvariants({
|
|
387
383
|
Chair: {
|
|
388
384
|
accentColorIncompatibility: (s, __, ctx) => {
|
|
@@ -194,8 +194,6 @@ components:
|
|
|
194
194
|
### ./src/expressions/table.ts
|
|
195
195
|
|
|
196
196
|
```ts
|
|
197
|
-
import { phx } from '../../.phoenix/phx.js'
|
|
198
|
-
|
|
199
197
|
export default phx.domain.implementCustomExpressions({
|
|
200
198
|
Table: {
|
|
201
199
|
$topEdgeMorph: s => (s.hasTreeTrunkEdgeFinish ? 1 : 0),
|
|
@@ -206,8 +204,6 @@ export default phx.domain.implementCustomExpressions({
|
|
|
206
204
|
### ./src/invariants/table.ts
|
|
207
205
|
|
|
208
206
|
```ts
|
|
209
|
-
import { phx } from '../../.phoenix/phx.js'
|
|
210
|
-
|
|
211
207
|
export default phx.domain.implementCustomInvariants({
|
|
212
208
|
Table: {
|
|
213
209
|
trunkDisabled: s => {
|
|
@@ -212,8 +212,6 @@ components:
|
|
|
212
212
|
### ./src/expressions/table.ts
|
|
213
213
|
|
|
214
214
|
```ts
|
|
215
|
-
import { phx } from '../../.phoenix/phx.js'
|
|
216
|
-
|
|
217
215
|
export default phx.domain.implementCustomExpressions({
|
|
218
216
|
Table: {
|
|
219
217
|
$edgeFinishFacet: s => {
|
|
@@ -232,8 +230,6 @@ export default phx.domain.implementCustomExpressions({
|
|
|
232
230
|
### ./src/invariants/table.ts
|
|
233
231
|
|
|
234
232
|
```ts
|
|
235
|
-
import { phx } from '../../.phoenix/phx.js'
|
|
236
|
-
|
|
237
233
|
export default phx.domain.implementCustomInvariants({
|
|
238
234
|
Table: {
|
|
239
235
|
trunkDisabled: s => {
|
|
@@ -147,7 +147,7 @@ components:
|
|
|
147
147
|
fixableViolations: ['tDisabled'] # Violations to ignore in tooltips
|
|
148
148
|
```
|
|
149
149
|
|
|
150
|
-
The component dry-runs each option and disables those that would
|
|
150
|
+
The component dry-runs each option and disables those that would cause a `fatal` or `fixable` violation of your domain invariants. Violation messages are concatenated and displayed in tooltips. `fixableViolations` only leaves the listed violation types out of the tooltip: an option that causes them stays disabled. To make such an option selectable, repair the violation with a [transformer](?path=/docs/other-features-transformers--docs).
|
|
151
151
|
|
|
152
152
|
### Entity Tree Structure Requirements
|
|
153
153
|
|
|
@@ -208,7 +208,7 @@ interface ChildEntitySelectionOption {
|
|
|
208
208
|
- All options rendered as cards with label and image; select → child entity replaced, 3D scene updates
|
|
209
209
|
- Card layout respects `imageLayout` setting (square, vertical, horizontal)
|
|
210
210
|
- Options violating invariants are disabled with violation tooltip (T legs)
|
|
211
|
-
-
|
|
211
|
+
- Violation types listed in `fixableViolations` are left out of the tooltip; the option stays disabled
|
|
212
212
|
|
|
213
213
|
## Complete Implementation
|
|
214
214
|
|
|
@@ -365,8 +365,6 @@ components:
|
|
|
365
365
|
### ./src/expressions/table.ts
|
|
366
366
|
|
|
367
367
|
```ts
|
|
368
|
-
import { phx } from '../../.phoenix/phx.js'
|
|
369
|
-
|
|
370
368
|
export default phx.domain.implementCustomExpressions({
|
|
371
369
|
Table: {
|
|
372
370
|
$options: () => {
|
|
@@ -407,8 +405,6 @@ export default phx.domain.implementCustomExpressions({
|
|
|
407
405
|
### ./src/invariants/table.ts
|
|
408
406
|
|
|
409
407
|
```ts
|
|
410
|
-
import { phx } from '../../.phoenix/phx.js'
|
|
411
|
-
|
|
412
408
|
export default phx.domain.implementCustomInvariants({
|
|
413
409
|
Table: {
|
|
414
410
|
tDisabled: s => {
|
|
@@ -200,9 +200,8 @@ interface ChildEntityListSelectorSchema {
|
|
|
200
200
|
*/
|
|
201
201
|
readonly instanceName: string
|
|
202
202
|
/**
|
|
203
|
-
*
|
|
204
|
-
*
|
|
205
|
-
* Options triggering other violations will be disabled completely.
|
|
203
|
+
* Violation types to leave out of an option's tooltip. An option that would cause a `fatal` or `fixable`
|
|
204
|
+
* violation stays disabled whatever its type; a transformer that repairs the violation makes the option selectable.
|
|
206
205
|
*/
|
|
207
206
|
readonly fixableViolations?: readonly string[]
|
|
208
207
|
/**
|
|
@@ -235,9 +234,8 @@ interface ChildEntityListSelectorProps {
|
|
|
235
234
|
*/
|
|
236
235
|
instanceName: string
|
|
237
236
|
/**
|
|
238
|
-
*
|
|
239
|
-
*
|
|
240
|
-
* Options triggering other violations will be disabled completely.
|
|
237
|
+
* Violation types to leave out of an option's tooltip. An option that would cause a `fatal` or `fixable`
|
|
238
|
+
* violation stays disabled whatever its type; a transformer that repairs the violation makes the option selectable.
|
|
241
239
|
*/
|
|
242
240
|
fixableViolations?: readonly string[]
|
|
243
241
|
/**
|
|
@@ -257,7 +255,7 @@ interface ChildEntityListSelectorProps {
|
|
|
257
255
|
- All options rendered; select option → child entity replaced, 3D scene updates
|
|
258
256
|
- Vertical mode shows dropdown; horizontal mode shows inline buttons
|
|
259
257
|
- Options violating invariants are disabled with violation tooltip
|
|
260
|
-
-
|
|
258
|
+
- Violation types listed in `fixableViolations` are left out of the tooltip; the option stays disabled
|
|
261
259
|
|
|
262
260
|
## Complete Implementation
|
|
263
261
|
|
|
@@ -422,8 +420,6 @@ components:
|
|
|
422
420
|
### ./src/expressions/table.ts
|
|
423
421
|
|
|
424
422
|
```ts
|
|
425
|
-
import { phx } from '../../.phoenix/phx.js'
|
|
426
|
-
|
|
427
423
|
export default phx.domain.implementCustomExpressions({
|
|
428
424
|
Table: {
|
|
429
425
|
$options: () => {
|
|
@@ -464,8 +460,6 @@ export default phx.domain.implementCustomExpressions({
|
|
|
464
460
|
### ./src/invariants/table.ts
|
|
465
461
|
|
|
466
462
|
```ts
|
|
467
|
-
import { phx } from '../../.phoenix/phx.js'
|
|
468
|
-
|
|
469
463
|
export default phx.domain.implementCustomInvariants({
|
|
470
464
|
Table: {
|
|
471
465
|
tDisabled: s => {
|
|
@@ -190,9 +190,8 @@ interface ChildEntityToggleSelectorSchema {
|
|
|
190
190
|
*/
|
|
191
191
|
readonly instanceName: string
|
|
192
192
|
/**
|
|
193
|
-
*
|
|
194
|
-
*
|
|
195
|
-
* Options triggering other violations will be disabled completely.
|
|
193
|
+
* Violation types to leave out of an option's tooltip. An option that would cause a `fatal` or `fixable`
|
|
194
|
+
* violation stays disabled whatever its type; a transformer that repairs the violation makes the option selectable.
|
|
196
195
|
*/
|
|
197
196
|
readonly fixableViolations?: readonly string[]
|
|
198
197
|
/**
|
|
@@ -225,9 +224,8 @@ interface ChildEntityToggleSelectorProps {
|
|
|
225
224
|
*/
|
|
226
225
|
instanceName: string
|
|
227
226
|
/**
|
|
228
|
-
*
|
|
229
|
-
*
|
|
230
|
-
* Options triggering other violations will be disabled completely.
|
|
227
|
+
* Violation types to leave out of an option's tooltip. An option that would cause a `fatal` or `fixable`
|
|
228
|
+
* violation stays disabled whatever its type; a transformer that repairs the violation makes the option selectable.
|
|
231
229
|
*/
|
|
232
230
|
fixableViolations?: readonly string[]
|
|
233
231
|
/**
|
|
@@ -405,8 +403,6 @@ components:
|
|
|
405
403
|
### ./src/expressions/table.ts
|
|
406
404
|
|
|
407
405
|
```ts
|
|
408
|
-
import { phx } from '../../.phoenix/phx.js'
|
|
409
|
-
|
|
410
406
|
export default phx.domain.implementCustomExpressions({
|
|
411
407
|
Table: {
|
|
412
408
|
$options: () => {
|
|
@@ -444,8 +440,6 @@ export default phx.domain.implementCustomExpressions({
|
|
|
444
440
|
### ./src/invariants/table.ts
|
|
445
441
|
|
|
446
442
|
```ts
|
|
447
|
-
import { phx } from '../../.phoenix/phx.js'
|
|
448
|
-
|
|
449
443
|
export default phx.domain.implementCustomInvariants({
|
|
450
444
|
Table: {
|
|
451
445
|
tDisabled: s => {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
#
|
|
1
|
+
# Text Input
|
|
2
2
|
|
|
3
3
|
- [Use case](#use-case)
|
|
4
4
|
- [Guide](#guide)
|
|
@@ -8,40 +8,114 @@
|
|
|
8
8
|
|
|
9
9
|
## Use case
|
|
10
10
|
|
|
11
|
-
|
|
11
|
+
Let the user type free text that becomes part of the configuration: a name for the design, an engraving on a heater panel, a signature on a guitar, a monogram on a bag. The text is stored in a string attribute, and invariants decide which texts are allowed, such as "not empty" or "at most 10 characters".
|
|
12
12
|
|
|
13
|
-
|
|
13
|
+
`TextValueInput` is a React control. There is no Phoenix element `kind` for it, so the property page that shows it is written in TypeScript. The [Heater](?path=/docs/demos-heater--docs) demo uses a multi-line one for its engraving text.
|
|
14
14
|
|
|
15
|
-
|
|
15
|
+
## Guide
|
|
16
16
|
|
|
17
17
|
### Step 1 — Domain
|
|
18
18
|
|
|
19
|
-
|
|
19
|
+
Add a string attribute, a `textValue` component that connects the input to it, and the invariants that limit the text:
|
|
20
20
|
|
|
21
21
|
```yaml
|
|
22
|
-
|
|
22
|
+
model:
|
|
23
|
+
latest:
|
|
24
|
+
shapes:
|
|
25
|
+
Scene:
|
|
26
|
+
name:
|
|
27
|
+
type: string
|
|
28
|
+
|
|
29
|
+
components:
|
|
30
|
+
Scene:
|
|
31
|
+
textValue:
|
|
32
|
+
name:
|
|
33
|
+
value:
|
|
34
|
+
$bind: name
|
|
35
|
+
|
|
36
|
+
invariants:
|
|
37
|
+
Scene:
|
|
38
|
+
nameNotEmpty:
|
|
39
|
+
types:
|
|
40
|
+
- nameNotEmpty
|
|
41
|
+
maxNameLength:
|
|
42
|
+
types:
|
|
43
|
+
- maxNameLength
|
|
44
|
+
```
|
|
45
|
+
|
|
46
|
+
`$bind` reads `name` into the component's `value` and writes the typed text back to `name`. The example attaches the same `textValue` in TypeScript, `.attach(s => ({ value: s.name }), s => ({ name: s.value }))`, where the second function maps the written value back to the attribute.
|
|
47
|
+
|
|
48
|
+
The invariants implement the rules in `src/invariants/`. A `fatal` violation keeps the text from being committed:
|
|
49
|
+
|
|
50
|
+
```ts
|
|
51
|
+
// src/invariants/invariants.ts
|
|
52
|
+
export default phx.domain.implementCustomInvariants({
|
|
53
|
+
Scene: {
|
|
54
|
+
maxNameLength: s => {
|
|
55
|
+
if (s.name.length > 10) {
|
|
56
|
+
return [
|
|
57
|
+
{
|
|
58
|
+
type: 'maxNameLength',
|
|
59
|
+
severity: 'fatal',
|
|
60
|
+
message: `Name can not be longer than 10 characters!`,
|
|
61
|
+
},
|
|
62
|
+
]
|
|
63
|
+
}
|
|
64
|
+
return []
|
|
65
|
+
},
|
|
66
|
+
},
|
|
67
|
+
})
|
|
23
68
|
```
|
|
24
69
|
|
|
25
|
-
### Step 2 — Frontend
|
|
70
|
+
### Step 2 — Frontend: the input on a property page
|
|
26
71
|
|
|
27
|
-
|
|
72
|
+
Render `TextValueInput` with the `textValue` instance name and the entity's id:
|
|
28
73
|
|
|
29
74
|
```tsx
|
|
30
|
-
//
|
|
75
|
+
// src/components/components.tsx
|
|
76
|
+
import { propertyPageComponent } from '@salsita-ai/sdk/domain'
|
|
77
|
+
import { TextValueInput } from '@salsita-ai/sdk/react'
|
|
78
|
+
import { PropertyContainer } from '@salsita-ai/sdk/ui'
|
|
79
|
+
|
|
80
|
+
export default [
|
|
81
|
+
phx.domain.attachComponent
|
|
82
|
+
.withComponent(propertyPageComponent, 'default')
|
|
83
|
+
.withEntity('Scene')
|
|
84
|
+
.attach(s => ({
|
|
85
|
+
page: (
|
|
86
|
+
<PropertyContainer.Group spacing="large">
|
|
87
|
+
<PropertyContainer.Item title="Default" description={`Committed value is ${s.name}`}>
|
|
88
|
+
<TextValueInput instanceName="name" entityId={s.id} />
|
|
89
|
+
</PropertyContainer.Item>
|
|
90
|
+
</PropertyContainer.Group>
|
|
91
|
+
),
|
|
92
|
+
})),
|
|
93
|
+
]
|
|
31
94
|
```
|
|
32
95
|
|
|
33
|
-
|
|
96
|
+
How the input behaves:
|
|
34
97
|
|
|
35
|
-
|
|
98
|
+
- Each keystroke is staged, not committed.
|
|
99
|
+
- When the staged text breaks a `fatal` or `fixable` invariant, the input shows its error state and the violation message as its hint.
|
|
100
|
+
- When the input loses focus, or on Enter in a single-line input, a valid text is committed and an invalid one is rolled back to the last committed value.
|
|
36
101
|
|
|
37
|
-
|
|
38
|
-
|
|
102
|
+
| Prop | Meaning |
|
|
103
|
+
| ------------------------------- | ---------------------------------------------------------------------------------------- |
|
|
104
|
+
| `entityId` | The entity whose `textValue` the input edits |
|
|
105
|
+
| `instanceName` | The `textValue` instance, `name` here |
|
|
106
|
+
| `fixableViolations` | Violation types left out of the hint text; a text with such a violation is still invalid |
|
|
107
|
+
| `multiline`, `rows`, `maxLines` | A multi-line input, its initial rows and its maximum rows |
|
|
108
|
+
| `label`, `helperText` | Localizable label and helper text |
|
|
109
|
+
|
|
110
|
+
## Example
|
|
111
|
+
|
|
112
|
+
Type a new name and press Enter: the description under **Default** shows the committed name. Clear the field, or type more than 10 characters, to see the violation message as the hint; leaving the field then restores the last valid name.
|
|
39
113
|
|
|
40
114
|
## Test cases
|
|
41
115
|
|
|
42
|
-
-
|
|
43
|
-
-
|
|
44
|
-
-
|
|
116
|
+
- Typing a valid name and pressing Enter, or leaving the field, commits it; the description shows the new name.
|
|
117
|
+
- An empty field shows "Name can not be empty!" as the hint; leaving the field restores the last committed name.
|
|
118
|
+
- More than 10 characters shows "Name can not be longer than 10 characters!" as the hint; leaving the field restores the last committed name.
|
|
45
119
|
|
|
46
120
|
## Complete Implementation
|
|
47
121
|
|
|
@@ -90,7 +164,6 @@ import { TextValueInput } from '@salsita-ai/sdk/react'
|
|
|
90
164
|
import { PropertyContainer } from '@salsita-ai/sdk/ui'
|
|
91
165
|
|
|
92
166
|
import { getMockChairComponents } from '../../../../common/mock-chair-model/mock-chair-model-components.js'
|
|
93
|
-
import { phx } from '../../.phoenix/phx.js'
|
|
94
167
|
|
|
95
168
|
export default [
|
|
96
169
|
...getMockChairComponents('Scene', phx.domain.attachComponent),
|
|
@@ -123,8 +196,6 @@ export default [
|
|
|
123
196
|
### ./src/invariants/invariants.ts
|
|
124
197
|
|
|
125
198
|
```ts
|
|
126
|
-
import { phx } from '../../.phoenix/phx.js'
|
|
127
|
-
|
|
128
199
|
export default phx.domain.implementCustomInvariants({
|
|
129
200
|
Scene: {
|
|
130
201
|
nameNotEmpty: s => {
|
|
@@ -90,8 +90,6 @@ import { customSceneEntityComponent, propertyPageComponent } from '@salsita-ai/s
|
|
|
90
90
|
import { AttributeListSelector } from '@salsita-ai/sdk/react'
|
|
91
91
|
import { PropertyContainer } from '@salsita-ai/sdk/ui'
|
|
92
92
|
|
|
93
|
-
import { phx } from '../../.phoenix/phx.js'
|
|
94
|
-
|
|
95
93
|
const sculptureConfigs = {
|
|
96
94
|
backside: true,
|
|
97
95
|
backsideThickness: 0.1,
|
|
@@ -232,8 +230,6 @@ export default [
|
|
|
232
230
|
```tsx
|
|
233
231
|
import { Environment } from '@react-three/drei'
|
|
234
232
|
|
|
235
|
-
import { phx } from '../../.phoenix/phx.js'
|
|
236
|
-
|
|
237
233
|
export default phx.frontend.createCustomPhoenixLayoutElement('SceneEnvironment', () => {
|
|
238
234
|
return (
|
|
239
235
|
<>
|
|
@@ -433,8 +433,6 @@ import { memoEval, propertyPageComponent } from '@salsita-ai/sdk/domain'
|
|
|
433
433
|
import { AttributeListSelector, MaterialSwatchSelector, TextValueInput } from '@salsita-ai/sdk/react'
|
|
434
434
|
import { PropertyContainer } from '@salsita-ai/sdk/ui'
|
|
435
435
|
|
|
436
|
-
import { phx } from '../../.phoenix/phx.js'
|
|
437
|
-
|
|
438
436
|
export default [
|
|
439
437
|
phx.domain.attachComponent
|
|
440
438
|
.withComponent(propertyPageComponent, 'main')
|
|
@@ -493,8 +491,6 @@ export default [
|
|
|
493
491
|
```tsx
|
|
494
492
|
import { ContactShadows, Environment } from '@react-three/drei'
|
|
495
493
|
|
|
496
|
-
import { phx } from '../../.phoenix/phx.js'
|
|
497
|
-
|
|
498
494
|
export default phx.frontend.createCustomPhoenixLayoutElement('SceneEnvironment', () => {
|
|
499
495
|
return (
|
|
500
496
|
<>
|
|
@@ -518,7 +514,6 @@ export default phx.frontend.createCustomPhoenixLayoutElement('SceneEnvironment',
|
|
|
518
514
|
|
|
519
515
|
```ts
|
|
520
516
|
import type { EngravingFont } from '../../../.phoenix/application-types.js'
|
|
521
|
-
import { phx } from '../../../.phoenix/phx.js'
|
|
522
517
|
|
|
523
518
|
export const EngravingFontMap: Record<EngravingFont, string> = {
|
|
524
519
|
[phx.domain.model.EngravingFont.Modern]: 'Circular-Std-Book',
|
|
@@ -533,7 +528,6 @@ export const EngravingFontMap: Record<EngravingFont, string> = {
|
|
|
533
528
|
import { Color } from 'three'
|
|
534
529
|
|
|
535
530
|
import type { TopCoverColor } from '../../../.phoenix/application-types.js'
|
|
536
|
-
import { phx } from '../../../.phoenix/phx.js'
|
|
537
531
|
|
|
538
532
|
interface MaterialProperties {
|
|
539
533
|
color?: string
|
|
@@ -843,7 +837,6 @@ import type {
|
|
|
843
837
|
TopCoverTexture,
|
|
844
838
|
TopPatternType,
|
|
845
839
|
} from '../../../.phoenix/application-types.js'
|
|
846
|
-
import { phx } from '../../../.phoenix/phx.js'
|
|
847
840
|
|
|
848
841
|
export const TopCoverSwatchMap: Record<BottomCoverColor, SwatchOption> = {
|
|
849
842
|
[phx.domain.model.BottomCoverColor.Silver]: {
|
|
@@ -1083,7 +1076,6 @@ export const TopCoverPatternSwatchMap: Record<TopPatternType, SwatchOption> = {
|
|
|
1083
1076
|
|
|
1084
1077
|
```ts
|
|
1085
1078
|
import type { Heater } from '../../.phoenix/application-types.js'
|
|
1086
|
-
import { phx } from '../../.phoenix/phx.js'
|
|
1087
1079
|
import { EngravingFontMap } from './_shared/fonts.js'
|
|
1088
1080
|
import { BottomCoverMaterialsMap, TextDecalColors, TopCoverMaterialsMap } from './_shared/materials.js'
|
|
1089
1081
|
import {
|
|
@@ -1238,8 +1230,6 @@ export default phx.domain.implementCustomExpressions({
|
|
|
1238
1230
|
```tsx
|
|
1239
1231
|
import { match } from 'ts-pattern'
|
|
1240
1232
|
|
|
1241
|
-
import { phx } from '../../.phoenix/phx.js'
|
|
1242
|
-
|
|
1243
1233
|
export default phx.frontend.transformerBuilder.when
|
|
1244
1234
|
.entity(['Heater'])
|
|
1245
1235
|
.modified({ atFields: ['engravingPosition'] })
|
|
@@ -305,8 +305,6 @@ resourcesConfig:
|
|
|
305
305
|
import type { Texture } from 'three'
|
|
306
306
|
import { RepeatWrapping, SRGBColorSpace } from 'three'
|
|
307
307
|
|
|
308
|
-
import { phx } from '../../.phoenix/phx.js'
|
|
309
|
-
|
|
310
308
|
interface MaterialProperties {
|
|
311
309
|
color?: string
|
|
312
310
|
roughness?: number
|
|
@@ -545,8 +543,6 @@ import { memoEval, propertyPageComponent, sceneEntityObjectHtmlHotspotComponent
|
|
|
545
543
|
import { MaterialSwatchSelector } from '@salsita-ai/sdk/react'
|
|
546
544
|
import { PropertyContainer } from '@salsita-ai/sdk/ui'
|
|
547
545
|
|
|
548
|
-
import { phx } from '../../.phoenix/phx.js'
|
|
549
|
-
|
|
550
546
|
interface AnimationTriggerProps {
|
|
551
547
|
flippedIcon?: boolean
|
|
552
548
|
animationName: string
|
|
@@ -653,8 +649,6 @@ export default [
|
|
|
653
649
|
```tsx
|
|
654
650
|
import { ContactShadows, Environment } from '@react-three/drei'
|
|
655
651
|
|
|
656
|
-
import { phx } from '../../.phoenix/phx.js'
|
|
657
|
-
|
|
658
652
|
export default phx.frontend.createCustomPhoenixLayoutElement('SceneEnvironment', () => {
|
|
659
653
|
return (
|
|
660
654
|
<>
|
|
@@ -682,7 +676,6 @@ export default phx.frontend.createCustomPhoenixLayoutElement('SceneEnvironment',
|
|
|
682
676
|
import type { SwatchOption } from '@salsita-ai/sdk/domain'
|
|
683
677
|
|
|
684
678
|
import type { BackrestTexture, ChairColor, FrameColor, SeatTexture } from '../../.phoenix/application-types.js'
|
|
685
|
-
import { phx } from '../../.phoenix/phx.js'
|
|
686
679
|
import { BackrestMaterialsMap, FrameMaterialsMap, SeatMaterialsMap } from '../_shared/materials.js'
|
|
687
680
|
|
|
688
681
|
export const ChairColorSwatchMap: Record<ChairColor, SwatchOption> = {
|
|
@@ -845,7 +838,6 @@ export default phx.domain.implementCustomExpressions({
|
|
|
845
838
|
### ./src/handlers/get-texture-processing-map.ts
|
|
846
839
|
|
|
847
840
|
```ts
|
|
848
|
-
import { phx } from '../../.phoenix/phx.js'
|
|
849
841
|
import { TextureProcessingMap } from '../_shared/materials.js'
|
|
850
842
|
|
|
851
843
|
export default phx.frontend.createGetTextureProcessingMapHandler(() => {
|
|
@@ -27,8 +27,6 @@ This demo also uses `createAppLoader` with `SvgThrobber3D` to override the defau
|
|
|
27
27
|
// src/elements/CustomAppLoader.tsx
|
|
28
28
|
import { SvgThrobber3D } from '@salsita-ai/sdk/configurator'
|
|
29
29
|
|
|
30
|
-
import { phx } from '../../.phoenix/phx.js'
|
|
31
|
-
|
|
32
30
|
export default phx.frontend.createAppLoader(() => (
|
|
33
31
|
<SvgThrobber3D
|
|
34
32
|
svgUrl="/svg-throbber/pepper.svg"
|
|
@@ -648,7 +646,6 @@ components:
|
|
|
648
646
|
### ./src/\_shared/materials.ts
|
|
649
647
|
|
|
650
648
|
```ts
|
|
651
|
-
import { phx } from '../../.phoenix/phx.js'
|
|
652
649
|
import { FrameColorSwatchMap, ScreenColorSwatchMap, TopColorMattSwatchMap } from './swatches.js'
|
|
653
650
|
|
|
654
651
|
interface MaterialProperties {
|
|
@@ -844,7 +841,6 @@ export const getWallAndFloor = (width: number) => {
|
|
|
844
841
|
import type { SwatchOption } from '@salsita-ai/sdk/domain'
|
|
845
842
|
|
|
846
843
|
import type { TopMaterial } from '../../.phoenix/application-types.js'
|
|
847
|
-
import { phx } from '../../.phoenix/phx.js'
|
|
848
844
|
|
|
849
845
|
export const TopMaterialSwatchMap: Record<TopMaterial, SwatchOption> = {
|
|
850
846
|
[phx.domain.model.TopMaterial.Matt]: {
|
|
@@ -956,7 +952,6 @@ import {
|
|
|
956
952
|
} from '@salsita-ai/sdk/react'
|
|
957
953
|
import { PropertyContainer } from '@salsita-ai/sdk/ui'
|
|
958
954
|
|
|
959
|
-
import { phx } from '../../.phoenix/phx.js'
|
|
960
955
|
import { getWallAndFloor } from '../_shared/render-wall.js'
|
|
961
956
|
|
|
962
957
|
const AnimationTrigger = () => {
|
|
@@ -1057,15 +1052,12 @@ export default [
|
|
|
1057
1052
|
```tsx
|
|
1058
1053
|
import { SalsitaLogoThrobber3D } from '@salsita-ai/sdk/configurator'
|
|
1059
1054
|
|
|
1060
|
-
import { phx } from '../../.phoenix/phx.js'
|
|
1061
|
-
|
|
1062
1055
|
export default phx.frontend.createAppLoader(() => <SalsitaLogoThrobber3D size={160} />)
|
|
1063
1056
|
```
|
|
1064
1057
|
|
|
1065
1058
|
### ./src/expressions/expressions.ts
|
|
1066
1059
|
|
|
1067
1060
|
```ts
|
|
1068
|
-
import { phx } from '../../.phoenix/phx.js'
|
|
1069
1061
|
import {
|
|
1070
1062
|
FrameMaterialsColorMap,
|
|
1071
1063
|
ScreenMaterialsColorMap,
|
package/dist/docs/demos/ring.mdx
CHANGED
|
@@ -190,8 +190,6 @@ components:
|
|
|
190
190
|
### ./src/\_shared/materials.ts
|
|
191
191
|
|
|
192
192
|
```ts
|
|
193
|
-
import { phx } from '../../.phoenix/phx.js'
|
|
194
|
-
|
|
195
193
|
interface MaterialProperties {
|
|
196
194
|
color?: string
|
|
197
195
|
}
|
|
@@ -212,8 +210,6 @@ export const BandMaterialsMap = {
|
|
|
212
210
|
### ./src/\_shared/objects.ts
|
|
213
211
|
|
|
214
212
|
```ts
|
|
215
|
-
import { phx } from '../../.phoenix/phx.js'
|
|
216
|
-
|
|
217
213
|
export const HolderModelMap = {
|
|
218
214
|
[`${phx.domain.model.BandStyle.Traditional}_${phx.domain.model.GemstoneShape.Round}`]:
|
|
219
215
|
'PRONGS_TRADITIONAL_DIAMOND_HOLDER',
|
|
@@ -289,7 +285,6 @@ import type { Mesh } from 'three'
|
|
|
289
285
|
import { EGemCut, isGemUserData } from '../../../../common/gem-rendering/gem'
|
|
290
286
|
import { renderGem } from '../../../../common/gem-rendering/render-gem'
|
|
291
287
|
import type * as Model from '../../.phoenix/application-types.js'
|
|
292
|
-
import { phx } from '../../.phoenix/phx.js'
|
|
293
288
|
import { GemColorSwatchMap } from './swatches'
|
|
294
289
|
|
|
295
290
|
export const renderGemShape = (shape: Model.GemstoneShape) => {
|
|
@@ -390,7 +385,6 @@ import {
|
|
|
390
385
|
import { AttributeCardSelector } from '@salsita-ai/sdk/react'
|
|
391
386
|
import { PropertyContainer } from '@salsita-ai/sdk/ui'
|
|
392
387
|
|
|
393
|
-
import { phx } from '../../.phoenix/phx.js'
|
|
394
388
|
import { animateGemColor, renderGemShape } from '../_shared/render.js'
|
|
395
389
|
|
|
396
390
|
export default [
|
|
@@ -455,8 +449,6 @@ export default [
|
|
|
455
449
|
```tsx
|
|
456
450
|
import { ContactShadows, Environment } from '@react-three/drei'
|
|
457
451
|
|
|
458
|
-
import { phx } from '../../.phoenix/phx.js'
|
|
459
|
-
|
|
460
452
|
export default phx.frontend.createCustomPhoenixLayoutElement('CanvasEnvironment', () => {
|
|
461
453
|
return (
|
|
462
454
|
<>
|
|
@@ -479,7 +471,6 @@ export default phx.frontend.createCustomPhoenixLayoutElement('CanvasEnvironment'
|
|
|
479
471
|
### ./src/expressions/expressions.ts
|
|
480
472
|
|
|
481
473
|
```ts
|
|
482
|
-
import { phx } from '../../.phoenix/phx.js'
|
|
483
474
|
import { BandMaterialsMap } from '../_shared/materials.js'
|
|
484
475
|
import { BaseModelMap, HolderModelMap, OffseYShapeMap, OffseZShapeMap } from '../_shared/objects.js'
|
|
485
476
|
|