@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
|
@@ -218,7 +218,6 @@ components:
|
|
|
218
218
|
The recipes are expressions, so each new piece gets the first free slot. `src/_catalog/recipes.ts` makes one recipe per variety with `phx.domain.createRecipe`, and the tank's expressions pass it the slot; a piece's **Swap for…** uses the same recipes for its own slot.
|
|
219
219
|
|
|
220
220
|
```ts
|
|
221
|
-
import { phx } from '../../.phoenix/phx.js'
|
|
222
221
|
import { FISH, PLANTS, STONES, WOODS } from './pieces.js'
|
|
223
222
|
|
|
224
223
|
// The recipes of each kind of piece, one per variety, for the slot the piece goes to. The tank's palette offers them
|
|
@@ -275,7 +274,6 @@ export const fishRecipes = (slot: number) => {
|
|
|
275
274
|
```tsx
|
|
276
275
|
import { Box, ButtonBase, Tooltip, Typography } from '@mui/material'
|
|
277
276
|
|
|
278
|
-
import { phx } from '../../.phoenix/phx.js'
|
|
279
277
|
import { LABEL_SX, PieceIcon, TIDEPOOL, pieceLook } from '../_theme/index.js'
|
|
280
278
|
|
|
281
279
|
const PLUS_ICON = 'M12 6v12M6 12h12'
|
|
@@ -401,8 +399,6 @@ export const Palette = () => {
|
|
|
401
399
|
The tank holds eight pieces, and a 60 cm tank four. The rule is a `fixable` invariant, so a change that breaks it is rejected. The palette never makes that change: while the tank is full every recipe is `disabled` with the rule's message as its `tooltipTitle`, and the palette shows it in a banner with what to do. The same rule disables the 60 cm option of the tank's size while more than four pieces stand in it.
|
|
402
400
|
|
|
403
401
|
```ts
|
|
404
|
-
import { phx } from '../../.phoenix/phx.js'
|
|
405
|
-
|
|
406
402
|
export default phx.domain.implementCustomInvariants({
|
|
407
403
|
Tank: {
|
|
408
404
|
// `fixable`: a change that puts more pieces in the tank than it holds is rejected. Before it is made, the palette's
|
|
@@ -449,7 +445,6 @@ components:
|
|
|
449
445
|
import { Box, ButtonBase } from '@mui/material'
|
|
450
446
|
import { useState } from 'react'
|
|
451
447
|
|
|
452
|
-
import { phx } from '../../.phoenix/phx.js'
|
|
453
448
|
import { announcePinTap } from '../_inspector/index.js'
|
|
454
449
|
import { PieceIcon, TIDEPOOL, pieceLook } from '../_theme/index.js'
|
|
455
450
|
|
|
@@ -547,8 +542,6 @@ components:
|
|
|
547
542
|
import { useEffect } from 'react'
|
|
548
543
|
import type { RefObject } from 'react'
|
|
549
544
|
|
|
550
|
-
import { phx } from '../../.phoenix/phx.js'
|
|
551
|
-
|
|
552
545
|
// The input types that take text; in these Ctrl+Z belongs to the field
|
|
553
546
|
const TEXT_INPUT_TYPES: ReadonlySet<string> = new Set([
|
|
554
547
|
'text',
|
|
@@ -688,7 +681,6 @@ The cameras fit into the safe area the page leaves free between the palette and
|
|
|
688
681
|
```tsx
|
|
689
682
|
import { Box, ButtonBase, IconButton, Tooltip } from '@mui/material'
|
|
690
683
|
|
|
691
|
-
import { phx } from '../../.phoenix/phx.js'
|
|
692
684
|
import { TIDEPOOL } from '../_theme/index.js'
|
|
693
685
|
|
|
694
686
|
const RECENTER_ICON = 'M4 9V5h4M20 9V5h-4M4 15v4h4M20 15v4h-4M12 9v6M9 12h6'
|
|
@@ -769,7 +761,6 @@ The inspector shows the selected piece, or the tank while nothing is selected. I
|
|
|
769
761
|
```tsx
|
|
770
762
|
import { Box } from '@mui/material'
|
|
771
763
|
|
|
772
|
-
import { phx } from '../../.phoenix/phx.js'
|
|
773
764
|
import { MessageCallout } from './MessageCallout.js'
|
|
774
765
|
import { PieceInspector } from './PieceInspector.js'
|
|
775
766
|
import { TankInspector } from './TankInspector.js'
|
|
@@ -800,7 +791,6 @@ export const Inspector = ({ messages }: InspectorProps) => {
|
|
|
800
791
|
```tsx
|
|
801
792
|
import { Box, Button, Tooltip, Typography } from '@mui/material'
|
|
802
793
|
|
|
803
|
-
import { phx } from '../../.phoenix/phx.js'
|
|
804
794
|
import { ControlFields } from '../_fields/index.js'
|
|
805
795
|
import { FADE_IN, KIND_LABELS, PieceIcon, TIDEPOOL, pieceLook } from '../_theme/index.js'
|
|
806
796
|
import { PieceActions } from './PieceActions.js'
|
|
@@ -878,7 +868,6 @@ import { useMemo } from 'react'
|
|
|
878
868
|
|
|
879
869
|
import { attributeSelectionComponent, genericDimensionComponent } from '@salsita-ai/sdk/domain'
|
|
880
870
|
|
|
881
|
-
import { phx } from '../../.phoenix/phx.js'
|
|
882
871
|
import { byFieldOrder } from './fields.js'
|
|
883
872
|
|
|
884
873
|
export type ControlKind = 'selection' | 'dimension'
|
|
@@ -932,7 +921,6 @@ components:
|
|
|
932
921
|
```tsx
|
|
933
922
|
import { Slider, Typography } from '@mui/material'
|
|
934
923
|
|
|
935
|
-
import { phx } from '../../.phoenix/phx.js'
|
|
936
924
|
import { TIDEPOOL } from '../_theme/index.js'
|
|
937
925
|
import { FieldShell } from './FieldShell.js'
|
|
938
926
|
|
|
@@ -1017,7 +1005,6 @@ components:
|
|
|
1017
1005
|
import { Box, Button, ButtonBase, Collapse, Tooltip, Typography } from '@mui/material'
|
|
1018
1006
|
import { useState } from 'react'
|
|
1019
1007
|
|
|
1020
|
-
import { phx } from '../../.phoenix/phx.js'
|
|
1021
1008
|
import { LABEL_SX, PieceIcon, TIDEPOOL, pieceLook } from '../_theme/index.js'
|
|
1022
1009
|
|
|
1023
1010
|
const SWAP_ICON = 'M7 7h11l-3-3M17 17H6l3 3'
|
|
@@ -1164,7 +1151,6 @@ At the bottom of the inspector, the outline lists every piece in the order it wa
|
|
|
1164
1151
|
```tsx
|
|
1165
1152
|
import { Box, ButtonBase, Typography } from '@mui/material'
|
|
1166
1153
|
|
|
1167
|
-
import { phx } from '../../.phoenix/phx.js'
|
|
1168
1154
|
import { LABEL_SX, PieceIcon, TIDEPOOL, pieceLook } from '../_theme/index.js'
|
|
1169
1155
|
|
|
1170
1156
|
type Piece = ReturnType<typeof phx.frontend.useRootEntityState>['$decor'][number]
|
|
@@ -1260,7 +1246,6 @@ Every change is one step of the undo history: adding, changing, swapping and rem
|
|
|
1260
1246
|
```tsx
|
|
1261
1247
|
import { Box, IconButton, Tooltip, Typography } from '@mui/material'
|
|
1262
1248
|
|
|
1263
|
-
import { phx } from '../../.phoenix/phx.js'
|
|
1264
1249
|
import { BrandMark, CARD_SX, TIDEPOOL } from '../_theme/index.js'
|
|
1265
1250
|
|
|
1266
1251
|
const UNDO_ICON = 'M9 14 4 9l5-5M4 9h10.5a5.5 5.5 0 0 1 0 11H11'
|
|
@@ -1394,8 +1379,6 @@ The layout mounts no `LayoutSlots.Services`, so the configurator's messages come
|
|
|
1394
1379
|
```ts
|
|
1395
1380
|
import { useEffect, useRef, useState } from 'react'
|
|
1396
1381
|
|
|
1397
|
-
import { phx } from '../../.phoenix/phx.js'
|
|
1398
|
-
|
|
1399
1382
|
// A message stays this long unless the customer closes it or a newer one replaces it
|
|
1400
1383
|
const SHOW_FOR_MS = 6000
|
|
1401
1384
|
|
|
@@ -1443,7 +1426,6 @@ import { Box, ButtonBase, Typography } from '@mui/material'
|
|
|
1443
1426
|
import { useEffect, useState } from 'react'
|
|
1444
1427
|
import type { ReactNode } from 'react'
|
|
1445
1428
|
|
|
1446
|
-
import { phx } from '../../.phoenix/phx.js'
|
|
1447
1429
|
import { Inspector, Outline, onPinTap } from '../_inspector/index.js'
|
|
1448
1430
|
import type { LatestMessageState } from '../_inspector/index.js'
|
|
1449
1431
|
import { BrandMark, CARD_SX, PieceIcon, TIDEPOOL, pieceLook } from '../_theme/index.js'
|
|
@@ -1685,7 +1667,6 @@ import { useRef } from 'react'
|
|
|
1685
1667
|
|
|
1686
1668
|
import { LayoutSlots } from '@salsita-ai/sdk/configurator'
|
|
1687
1669
|
|
|
1688
|
-
import { phx } from '../../.phoenix/phx.js'
|
|
1689
1670
|
import { useLatestMessage } from '../_inspector/index.js'
|
|
1690
1671
|
import { DesktopPage } from '../_shared/DesktopPage.js'
|
|
1691
1672
|
import { PhonePage } from '../_shared/PhonePage.js'
|
|
@@ -1728,7 +1709,6 @@ The spec's `canvasCustomEnvironment` names `TidepoolStage`, a layout element ren
|
|
|
1728
1709
|
```tsx
|
|
1729
1710
|
import { ContactShadows, Environment, Lightformer } from '@react-three/drei'
|
|
1730
1711
|
|
|
1731
|
-
import { phx } from '../../.phoenix/phx.js'
|
|
1732
1712
|
import { TIDEPOOL } from '../_theme/index.js'
|
|
1733
1713
|
|
|
1734
1714
|
// The stage named by the spec's `canvasCustomEnvironment`: the page's foam colour behind the tank, a cool lamp above
|
|
@@ -2661,7 +2641,6 @@ export const SUBSTRATES = {
|
|
|
2661
2641
|
### ./src/\_catalog/recipes.ts
|
|
2662
2642
|
|
|
2663
2643
|
```ts
|
|
2664
|
-
import { phx } from '../../.phoenix/phx.js'
|
|
2665
2644
|
import { FISH, PLANTS, STONES, WOODS } from './pieces.js'
|
|
2666
2645
|
|
|
2667
2646
|
// The recipes of each kind of piece, one per variety, for the slot the piece goes to. The tank's palette offers them
|
|
@@ -2800,7 +2779,6 @@ export const firstFreeSlot = (taken: readonly number[]) => {
|
|
|
2800
2779
|
import { Box, ButtonBase, Typography } from '@mui/material'
|
|
2801
2780
|
import type { KeyboardEvent } from 'react'
|
|
2802
2781
|
|
|
2803
|
-
import { phx } from '../../.phoenix/phx.js'
|
|
2804
2782
|
import { PieceIcon, TIDEPOOL, pieceLook } from '../_theme/index.js'
|
|
2805
2783
|
import { FieldShell } from './FieldShell.js'
|
|
2806
2784
|
import type { ChoiceStyle } from './fields.js'
|
|
@@ -2987,7 +2965,6 @@ export const ChoiceField = ({ entityId, entityType, instanceName, label, style,
|
|
|
2987
2965
|
```tsx
|
|
2988
2966
|
import { Box } from '@mui/material'
|
|
2989
2967
|
|
|
2990
|
-
import type { phx } from '../../.phoenix/phx.js'
|
|
2991
2968
|
import { ChoiceField } from './ChoiceField.js'
|
|
2992
2969
|
import { CountField } from './CountField.js'
|
|
2993
2970
|
import { fieldOf } from './fields.js'
|
|
@@ -3032,7 +3009,6 @@ export const ControlFields = ({ entityId, entityType }: ControlFieldsProps) => {
|
|
|
3032
3009
|
```tsx
|
|
3033
3010
|
import { Slider, Typography } from '@mui/material'
|
|
3034
3011
|
|
|
3035
|
-
import { phx } from '../../.phoenix/phx.js'
|
|
3036
3012
|
import { TIDEPOOL } from '../_theme/index.js'
|
|
3037
3013
|
import { FieldShell } from './FieldShell.js'
|
|
3038
3014
|
|
|
@@ -3199,7 +3175,6 @@ import { useMemo } from 'react'
|
|
|
3199
3175
|
|
|
3200
3176
|
import { attributeSelectionComponent, genericDimensionComponent } from '@salsita-ai/sdk/domain'
|
|
3201
3177
|
|
|
3202
|
-
import { phx } from '../../.phoenix/phx.js'
|
|
3203
3178
|
import { byFieldOrder } from './fields.js'
|
|
3204
3179
|
|
|
3205
3180
|
export type ControlKind = 'selection' | 'dimension'
|
|
@@ -3240,7 +3215,6 @@ export const useActiveControls = (entityId: ReturnType<typeof phx.frontend.useSe
|
|
|
3240
3215
|
```tsx
|
|
3241
3216
|
import { Box } from '@mui/material'
|
|
3242
3217
|
|
|
3243
|
-
import { phx } from '../../.phoenix/phx.js'
|
|
3244
3218
|
import { MessageCallout } from './MessageCallout.js'
|
|
3245
3219
|
import { PieceInspector } from './PieceInspector.js'
|
|
3246
3220
|
import { TankInspector } from './TankInspector.js'
|
|
@@ -3327,7 +3301,6 @@ export const MessageCallout = ({ message, dismiss }: LatestMessageState) => {
|
|
|
3327
3301
|
```tsx
|
|
3328
3302
|
import { Box, ButtonBase, Typography } from '@mui/material'
|
|
3329
3303
|
|
|
3330
|
-
import { phx } from '../../.phoenix/phx.js'
|
|
3331
3304
|
import { LABEL_SX, PieceIcon, TIDEPOOL, pieceLook } from '../_theme/index.js'
|
|
3332
3305
|
|
|
3333
3306
|
type Piece = ReturnType<typeof phx.frontend.useRootEntityState>['$decor'][number]
|
|
@@ -3422,7 +3395,6 @@ export const Outline = () => {
|
|
|
3422
3395
|
import { Box, Button, ButtonBase, Collapse, Tooltip, Typography } from '@mui/material'
|
|
3423
3396
|
import { useState } from 'react'
|
|
3424
3397
|
|
|
3425
|
-
import { phx } from '../../.phoenix/phx.js'
|
|
3426
3398
|
import { LABEL_SX, PieceIcon, TIDEPOOL, pieceLook } from '../_theme/index.js'
|
|
3427
3399
|
|
|
3428
3400
|
const SWAP_ICON = 'M7 7h11l-3-3M17 17H6l3 3'
|
|
@@ -3567,7 +3539,6 @@ export const PieceActions = ({ pieceId }: PieceActionsProps) => {
|
|
|
3567
3539
|
```tsx
|
|
3568
3540
|
import { Box, Button, Tooltip, Typography } from '@mui/material'
|
|
3569
3541
|
|
|
3570
|
-
import { phx } from '../../.phoenix/phx.js'
|
|
3571
3542
|
import { ControlFields } from '../_fields/index.js'
|
|
3572
3543
|
import { FADE_IN, KIND_LABELS, PieceIcon, TIDEPOOL, pieceLook } from '../_theme/index.js'
|
|
3573
3544
|
import { PieceActions } from './PieceActions.js'
|
|
@@ -3631,7 +3602,6 @@ export const PieceInspector = ({ pieceId }: PieceInspectorProps) => {
|
|
|
3631
3602
|
```tsx
|
|
3632
3603
|
import { Box, Typography } from '@mui/material'
|
|
3633
3604
|
|
|
3634
|
-
import { phx } from '../../.phoenix/phx.js'
|
|
3635
3605
|
import { ControlFields } from '../_fields/index.js'
|
|
3636
3606
|
import { FADE_IN, TIDEPOOL } from '../_theme/index.js'
|
|
3637
3607
|
|
|
@@ -3706,8 +3676,6 @@ export const onPinTap = (listener: PinTapListener) => {
|
|
|
3706
3676
|
```ts
|
|
3707
3677
|
import { useEffect, useRef, useState } from 'react'
|
|
3708
3678
|
|
|
3709
|
-
import { phx } from '../../.phoenix/phx.js'
|
|
3710
|
-
|
|
3711
3679
|
// A message stays this long unless the customer closes it or a newer one replaces it
|
|
3712
3680
|
const SHOW_FOR_MS = 6000
|
|
3713
3681
|
|
|
@@ -3751,7 +3719,6 @@ export type LatestMessageState = ReturnType<typeof useLatestMessage>
|
|
|
3751
3719
|
```tsx
|
|
3752
3720
|
import { Box, Typography } from '@mui/material'
|
|
3753
3721
|
|
|
3754
|
-
import { phx } from '../../.phoenix/phx.js'
|
|
3755
3722
|
import { Inspector, Outline } from '../_inspector/index.js'
|
|
3756
3723
|
import type { LatestMessageState } from '../_inspector/index.js'
|
|
3757
3724
|
import { CARD_SX, TIDEPOOL } from '../_theme/index.js'
|
|
@@ -3843,7 +3810,6 @@ export const DesktopPage = ({ messages }: DesktopPageProps) => {
|
|
|
3843
3810
|
```tsx
|
|
3844
3811
|
import { Box, ButtonBase, Tooltip, Typography } from '@mui/material'
|
|
3845
3812
|
|
|
3846
|
-
import { phx } from '../../.phoenix/phx.js'
|
|
3847
3813
|
import { LABEL_SX, PieceIcon, TIDEPOOL, pieceLook } from '../_theme/index.js'
|
|
3848
3814
|
|
|
3849
3815
|
const PLUS_ICON = 'M12 6v12M6 12h12'
|
|
@@ -3973,7 +3939,6 @@ import { Box, ButtonBase, Typography } from '@mui/material'
|
|
|
3973
3939
|
import { useEffect, useState } from 'react'
|
|
3974
3940
|
import type { ReactNode } from 'react'
|
|
3975
3941
|
|
|
3976
|
-
import { phx } from '../../.phoenix/phx.js'
|
|
3977
3942
|
import { Inspector, Outline, onPinTap } from '../_inspector/index.js'
|
|
3978
3943
|
import type { LatestMessageState } from '../_inspector/index.js'
|
|
3979
3944
|
import { BrandMark, CARD_SX, PieceIcon, TIDEPOOL, pieceLook } from '../_theme/index.js'
|
|
@@ -4257,7 +4222,6 @@ export const PhoneSheet = ({ title, closeLabel, bottom, height, onClose, childre
|
|
|
4257
4222
|
```tsx
|
|
4258
4223
|
import { Box, IconButton, Tooltip, Typography } from '@mui/material'
|
|
4259
4224
|
|
|
4260
|
-
import { phx } from '../../.phoenix/phx.js'
|
|
4261
4225
|
import { BrandMark, CARD_SX, TIDEPOOL } from '../_theme/index.js'
|
|
4262
4226
|
|
|
4263
4227
|
const UNDO_ICON = 'M9 14 4 9l5-5M4 9h10.5a5.5 5.5 0 0 1 0 11H11'
|
|
@@ -4389,7 +4353,6 @@ export const TopBar = () => {
|
|
|
4389
4353
|
```tsx
|
|
4390
4354
|
import { Box, ButtonBase, IconButton, Tooltip } from '@mui/material'
|
|
4391
4355
|
|
|
4392
|
-
import { phx } from '../../.phoenix/phx.js'
|
|
4393
4356
|
import { TIDEPOOL } from '../_theme/index.js'
|
|
4394
4357
|
|
|
4395
4358
|
const RECENTER_ICON = 'M4 9V5h4M20 9V5h-4M4 15v4h4M20 15v4h-4M12 9v6M9 12h6'
|
|
@@ -4469,8 +4432,6 @@ export const ViewSwitch = () => {
|
|
|
4469
4432
|
import { useEffect } from 'react'
|
|
4470
4433
|
import type { RefObject } from 'react'
|
|
4471
4434
|
|
|
4472
|
-
import { phx } from '../../.phoenix/phx.js'
|
|
4473
|
-
|
|
4474
4435
|
// The input types that take text; in these Ctrl+Z belongs to the field
|
|
4475
4436
|
const TEXT_INPUT_TYPES: ReadonlySet<string> = new Set([
|
|
4476
4437
|
'text',
|
|
@@ -4773,7 +4734,6 @@ import { useRef } from 'react'
|
|
|
4773
4734
|
|
|
4774
4735
|
import { LayoutSlots } from '@salsita-ai/sdk/configurator'
|
|
4775
4736
|
|
|
4776
|
-
import { phx } from '../../.phoenix/phx.js'
|
|
4777
4737
|
import { useLatestMessage } from '../_inspector/index.js'
|
|
4778
4738
|
import { DesktopPage } from '../_shared/DesktopPage.js'
|
|
4779
4739
|
import { PhonePage } from '../_shared/PhonePage.js'
|
|
@@ -4815,7 +4775,6 @@ export default phx.frontend.createCustomPhoenixLayoutElement('ConfiguratorLayout
|
|
|
4815
4775
|
import { Box, ButtonBase } from '@mui/material'
|
|
4816
4776
|
import { useState } from 'react'
|
|
4817
4777
|
|
|
4818
|
-
import { phx } from '../../.phoenix/phx.js'
|
|
4819
4778
|
import { announcePinTap } from '../_inspector/index.js'
|
|
4820
4779
|
import { PieceIcon, TIDEPOOL, pieceLook } from '../_theme/index.js'
|
|
4821
4780
|
|
|
@@ -4891,7 +4850,6 @@ export default phx.frontend.createCustomPhoenixEntityElement('DecorLabel', ({ en
|
|
|
4891
4850
|
```tsx
|
|
4892
4851
|
import { ContactShadows, Environment, Lightformer } from '@react-three/drei'
|
|
4893
4852
|
|
|
4894
|
-
import { phx } from '../../.phoenix/phx.js'
|
|
4895
4853
|
import { TIDEPOOL } from '../_theme/index.js'
|
|
4896
4854
|
|
|
4897
4855
|
// The stage named by the spec's `canvasCustomEnvironment`: the page's foam colour behind the tank, a cool lamp above
|
|
@@ -4930,7 +4888,6 @@ export default phx.frontend.createCustomPhoenixLayoutElement('TidepoolStage', ()
|
|
|
4930
4888
|
### ./src/expressions/decor.ts
|
|
4931
4889
|
|
|
4932
4890
|
```ts
|
|
4933
|
-
import { phx } from '../../.phoenix/phx.js'
|
|
4934
4891
|
import {
|
|
4935
4892
|
FISH,
|
|
4936
4893
|
LEAF_COLORS,
|
|
@@ -5100,7 +5057,6 @@ export default phx.domain.implementCustomExpressions({
|
|
|
5100
5057
|
### ./src/expressions/tank.ts
|
|
5101
5058
|
|
|
5102
5059
|
```ts
|
|
5103
|
-
import { phx } from '../../.phoenix/phx.js'
|
|
5104
5060
|
import {
|
|
5105
5061
|
SLOT_COUNT,
|
|
5106
5062
|
SUBSTRATES,
|
|
@@ -5174,8 +5130,6 @@ export default phx.domain.implementCustomExpressions({
|
|
|
5174
5130
|
### ./src/invariants/tank.ts
|
|
5175
5131
|
|
|
5176
5132
|
```ts
|
|
5177
|
-
import { phx } from '../../.phoenix/phx.js'
|
|
5178
|
-
|
|
5179
5133
|
export default phx.domain.implementCustomInvariants({
|
|
5180
5134
|
Tank: {
|
|
5181
5135
|
// `fixable`: a change that puts more pieces in the tank than it holds is rejected. Before it is made, the palette's
|
|
@@ -267,8 +267,6 @@ import { Box, Stack, Typography } from '@mui/material'
|
|
|
267
267
|
|
|
268
268
|
import { useRootEntityPrice } from '@salsita-ai/sdk/react'
|
|
269
269
|
|
|
270
|
-
import { phx } from '../../.phoenix/phx.js'
|
|
271
|
-
|
|
272
270
|
export default phx.frontend.createCustomPhoenixLayoutElement('CustomHeaderContent', () => {
|
|
273
271
|
const formattedPrice = useRootEntityPrice()
|
|
274
272
|
|
|
@@ -166,8 +166,6 @@ import { Stack } from '@mui/material'
|
|
|
166
166
|
|
|
167
167
|
import { EditableDistanceDimensionButton, PhxIcon } from '@salsita-ai/sdk/ui'
|
|
168
168
|
|
|
169
|
-
import { phx } from '../../.phoenix/phx.js'
|
|
170
|
-
|
|
171
169
|
export default phx.frontend.createCustomPhoenixEntityElement('customIcon', () => {
|
|
172
170
|
return (
|
|
173
171
|
<Stack spacing={1}>
|
|
@@ -188,8 +186,6 @@ export default phx.frontend.createCustomPhoenixEntityElement('customIcon', () =>
|
|
|
188
186
|
```tsx
|
|
189
187
|
import { SvgIcon, type SvgIconProps } from '@mui/material'
|
|
190
188
|
|
|
191
|
-
import { phx } from '../../.phoenix/phx.js'
|
|
192
|
-
|
|
193
189
|
const NotVeryMuchShoppingCartSimple = (props: SvgIconProps) => (
|
|
194
190
|
<SvgIcon {...props}>
|
|
195
191
|
<svg xmlns="http://www.w3.org/2000/svg" fill="currentColor" viewBox="0 0 256 256">
|
|
@@ -228,8 +224,6 @@ import { createElement } from 'react'
|
|
|
228
224
|
|
|
229
225
|
import { PhxIcon } from '@salsita-ai/sdk/ui'
|
|
230
226
|
|
|
231
|
-
import { phx } from '../../.phoenix/phx.js'
|
|
232
|
-
|
|
233
227
|
export default phx.frontend.createGetThemeHandler(
|
|
234
228
|
() =>
|
|
235
229
|
({
|
|
@@ -236,8 +236,6 @@ components:
|
|
|
236
236
|
```tsx
|
|
237
237
|
import { Box, Chip, Stack, Typography } from '@mui/material'
|
|
238
238
|
|
|
239
|
-
import { phx } from '../../.phoenix/phx.js'
|
|
240
|
-
|
|
241
239
|
export default phx.frontend.createCustomPhoenixLayoutElement('SpecialShapeFooter', () => {
|
|
242
240
|
const rootEntity = phx.frontend.useRootEntityState()
|
|
243
241
|
|
|
@@ -277,8 +275,6 @@ export default phx.frontend.createCustomPhoenixLayoutElement('SpecialShapeFooter
|
|
|
277
275
|
### ./src/expressions/scene.ts
|
|
278
276
|
|
|
279
277
|
```ts
|
|
280
|
-
import { phx } from '../../.phoenix/phx.js'
|
|
281
|
-
|
|
282
278
|
export default phx.domain.implementCustomExpressions({
|
|
283
279
|
Scene: {
|
|
284
280
|
$specialShapeOptions: () => {
|
|
@@ -12,7 +12,7 @@ Phoenix handlers are the foundational system for defining custom behavior for ac
|
|
|
12
12
|
|
|
13
13
|
## Guide
|
|
14
14
|
|
|
15
|
-
Phoenix handlers are defined
|
|
15
|
+
Phoenix handlers are defined with `phx.frontend.createPhoenixHandler`. Each handler is the default export of a file in `src/handlers/` and connects to a button defined in your domain YAML through the `handler` property.
|
|
16
16
|
|
|
17
17
|
### Define actions in domain YAML
|
|
18
18
|
|
|
@@ -34,14 +34,13 @@ The `handler` property is the link between your YAML configuration and your fron
|
|
|
34
34
|
|
|
35
35
|
### Implement handlers in frontend
|
|
36
36
|
|
|
37
|
-
In
|
|
37
|
+
In a file in `src/handlers/`, default-export `phx.frontend.createPhoenixHandler` to define what happens when the button is clicked. A handler that is not the file's default export is not registered:
|
|
38
38
|
|
|
39
39
|
```tsx
|
|
40
|
+
// src/handlers/MyActionHandler.tsx
|
|
40
41
|
import { useCallback } from 'react'
|
|
41
42
|
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
createPhoenixHandler('myActionHandler', () => {
|
|
43
|
+
export default phx.frontend.createPhoenixHandler('myActionHandler', () => {
|
|
45
44
|
return {
|
|
46
45
|
handler: useCallback(async () => {
|
|
47
46
|
// Your custom logic here
|
|
@@ -56,7 +55,7 @@ createPhoenixHandler('myActionHandler', () => {
|
|
|
56
55
|
Every handler must return an object with a `handler` property that is an async function:
|
|
57
56
|
|
|
58
57
|
```tsx
|
|
59
|
-
createPhoenixHandler('handlerName', () => {
|
|
58
|
+
export default phx.frontend.createPhoenixHandler('handlerName', () => {
|
|
60
59
|
// You can use React hooks here
|
|
61
60
|
const configurationId = phx.frontend.useConfigurationId()
|
|
62
61
|
|
|
@@ -76,7 +75,7 @@ The outer function runs during render, so you can use React hooks. The inner `ha
|
|
|
76
75
|
For simple synchronous actions:
|
|
77
76
|
|
|
78
77
|
```tsx
|
|
79
|
-
createPhoenixHandler('simpleAlert', () => {
|
|
78
|
+
export default phx.frontend.createPhoenixHandler('simpleAlert', () => {
|
|
80
79
|
return {
|
|
81
80
|
handler: useCallback(async () => {
|
|
82
81
|
alert('Action performed!')
|
|
@@ -92,7 +91,7 @@ To show a modal dialog, use the `useModal` hook. Set `disableAutoDestroy: true`
|
|
|
92
91
|
```tsx
|
|
93
92
|
import { useModal } from '@salsita-ai/sdk/react'
|
|
94
93
|
|
|
95
|
-
createPhoenixHandler('openModal', () => {
|
|
94
|
+
export default phx.frontend.createPhoenixHandler('openModal', () => {
|
|
96
95
|
const { showModal } = useModal({ disableAutoDestroy: true })
|
|
97
96
|
|
|
98
97
|
return {
|
|
@@ -122,7 +121,7 @@ The `disableAutoDestroy: true` option prevents the modal from being automaticall
|
|
|
122
121
|
The system automatically shows a loading spinner while your handler runs:
|
|
123
122
|
|
|
124
123
|
```tsx
|
|
125
|
-
createPhoenixHandler('apiCall', () => {
|
|
124
|
+
export default phx.frontend.createPhoenixHandler('apiCall', () => {
|
|
126
125
|
const configurationId = phx.frontend.useConfigurationId()
|
|
127
126
|
|
|
128
127
|
return {
|
|
@@ -152,7 +151,7 @@ import { useSnackbar } from 'notistack'
|
|
|
152
151
|
|
|
153
152
|
import { useModal } from '@salsita-ai/sdk/react'
|
|
154
153
|
|
|
155
|
-
createPhoenixHandler('saveConfiguration', () => {
|
|
154
|
+
export default phx.frontend.createPhoenixHandler('saveConfiguration', () => {
|
|
156
155
|
const { enqueueSnackbar } = useSnackbar()
|
|
157
156
|
const { showModal } = useModal()
|
|
158
157
|
|
|
@@ -188,7 +187,7 @@ createPhoenixHandler('saveConfiguration', () => {
|
|
|
188
187
|
**Poor error handling** (avoid):
|
|
189
188
|
|
|
190
189
|
```tsx
|
|
191
|
-
createPhoenixHandler('saveConfiguration', () => {
|
|
190
|
+
export default phx.frontend.createPhoenixHandler('saveConfiguration', () => {
|
|
192
191
|
return {
|
|
193
192
|
handler: useCallback(async () => {
|
|
194
193
|
// No try-catch - relies on generic error snackbar
|
|
@@ -205,20 +204,18 @@ createPhoenixHandler('saveConfiguration', () => {
|
|
|
205
204
|
|
|
206
205
|
### Access configurator context
|
|
207
206
|
|
|
208
|
-
Use the `phx.frontend` to access configurator state and functionality:
|
|
207
|
+
Use the `phx.frontend` hooks to access configurator state and functionality:
|
|
209
208
|
|
|
210
209
|
```tsx
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
createPhoenixHandler('contextExample', () => {
|
|
210
|
+
export default phx.frontend.createPhoenixHandler('contextExample', () => {
|
|
214
211
|
const configurationId = phx.frontend.useConfigurationId()
|
|
215
|
-
const
|
|
212
|
+
const rootEntity = phx.frontend.useRootEntityState()
|
|
216
213
|
|
|
217
214
|
return {
|
|
218
215
|
handler: useCallback(async () => {
|
|
219
216
|
console.log('Configuration ID:', configurationId)
|
|
220
|
-
console.log('
|
|
221
|
-
}, [configurationId,
|
|
217
|
+
console.log('Root entity:', rootEntity)
|
|
218
|
+
}, [configurationId, rootEntity]),
|
|
222
219
|
}
|
|
223
220
|
})
|
|
224
221
|
```
|
|
@@ -245,10 +242,10 @@ Switch to "Read Mode" to see that action buttons are not available for read-only
|
|
|
245
242
|
|
|
246
243
|
Phoenix handlers are used throughout the footer customization examples:
|
|
247
244
|
|
|
248
|
-
- **[General Footer](
|
|
249
|
-
- **[Universal Footer](
|
|
250
|
-
- **[Custom Footer](
|
|
251
|
-
- **[Hidden Footer](
|
|
245
|
+
- **[General Footer](?path=/docs/layouts-sidebar-footer-basic--docs)**: See how the default finalize button works without custom handlers
|
|
246
|
+
- **[Universal Footer](?path=/docs/layouts-sidebar-footer-universal--docs)**: Complete example with multiple custom handlers for different actions
|
|
247
|
+
- **[Custom Footer](?path=/docs/layouts-sidebar-footer-custom--docs)**: Advanced example showing handlers with custom React components
|
|
248
|
+
- **[Hidden Footer](?path=/docs/layouts-sidebar-footer-hidden--docs)**: Alternative action placement when footer is hidden
|
|
252
249
|
|
|
253
250
|
## Complete Implementation
|
|
254
251
|
|
|
@@ -357,8 +354,6 @@ components:
|
|
|
357
354
|
// This demonstrates the generic error snackbar that appears when errors are not caught.
|
|
358
355
|
import { useCallback } from 'react'
|
|
359
356
|
|
|
360
|
-
import { phx } from '../../.phoenix/phx.js'
|
|
361
|
-
|
|
362
357
|
// In production code, you should use try-catch blocks to provide better user experience.
|
|
363
358
|
export default phx.frontend.createPhoenixHandler('errorExample', () => {
|
|
364
359
|
return {
|
|
@@ -380,8 +375,6 @@ import { useCallback } from 'react'
|
|
|
380
375
|
|
|
381
376
|
import { useModal } from '@salsita-ai/sdk/react'
|
|
382
377
|
|
|
383
|
-
import { phx } from '../../.phoenix/phx.js'
|
|
384
|
-
|
|
385
378
|
// Dialog component for modal example
|
|
386
379
|
interface ConfirmDialogProps extends DialogProps {
|
|
387
380
|
onConfirm: () => void
|
|
@@ -435,8 +428,6 @@ export default phx.frontend.createPhoenixHandler('openModal', () => {
|
|
|
435
428
|
```tsx
|
|
436
429
|
import { useCallback } from 'react'
|
|
437
430
|
|
|
438
|
-
import { phx } from '../../.phoenix/phx.js'
|
|
439
|
-
|
|
440
431
|
// Pattern 1: Simple synchronous action
|
|
441
432
|
export default phx.frontend.createPhoenixHandler('simpleAlert', () => {
|
|
442
433
|
return {
|
|
@@ -25,8 +25,6 @@ import { useState } from 'react'
|
|
|
25
25
|
|
|
26
26
|
import { Dialog } from '@salsita-ai/sdk/ui'
|
|
27
27
|
|
|
28
|
-
import { phx } from '../../.phoenix/phx.js'
|
|
29
|
-
|
|
30
28
|
const PresetPageAction = () => {
|
|
31
29
|
const [isOpen, setOpen] = useState(false)
|
|
32
30
|
|
|
@@ -61,8 +59,6 @@ import { useState } from 'react'
|
|
|
61
59
|
|
|
62
60
|
import { Dialog, useResponsive } from '@salsita-ai/sdk/ui'
|
|
63
61
|
|
|
64
|
-
import { phx } from '../../.phoenix/phx.js'
|
|
65
|
-
|
|
66
62
|
const SmallScreenNotice = () => {
|
|
67
63
|
const { isPhone } = useResponsive()
|
|
68
64
|
const [dismissed, setDismissed] = useState(false)
|
|
@@ -215,8 +211,6 @@ import { useState } from 'react'
|
|
|
215
211
|
|
|
216
212
|
import { Dialog } from '@salsita-ai/sdk/ui'
|
|
217
213
|
|
|
218
|
-
import { phx } from '../../.phoenix/phx.js'
|
|
219
|
-
|
|
220
214
|
const PresetPageAction = () => {
|
|
221
215
|
const [isOpen, setOpen] = useState(false)
|
|
222
216
|
|
|
@@ -278,8 +272,6 @@ import { useState } from 'react'
|
|
|
278
272
|
|
|
279
273
|
import { Dialog, useResponsive } from '@salsita-ai/sdk/ui'
|
|
280
274
|
|
|
281
|
-
import { phx } from '../../.phoenix/phx.js'
|
|
282
|
-
|
|
283
275
|
const SmallScreenNotice = () => {
|
|
284
276
|
const { isPhone } = useResponsive()
|
|
285
277
|
const [dismissed, setDismissed] = useState(false)
|
|
@@ -59,7 +59,7 @@ The minimal wiring is:
|
|
|
59
59
|
```tsx
|
|
60
60
|
const CustomPresetScreen = () => {
|
|
61
61
|
const { presetCategories, selectPreset, creatingPresetId, selectionError } = phx.frontend.usePresetSelection()
|
|
62
|
-
const resolve = useResolveLocalizable()
|
|
62
|
+
const resolve = phx.frontend.useResolveLocalizable()
|
|
63
63
|
const presets = presetCategories.flatMap(category => category.presets)
|
|
64
64
|
|
|
65
65
|
return (
|
|
@@ -87,7 +87,7 @@ The complete file below adds the branded header, search, pinned-card ordering, t
|
|
|
87
87
|
|
|
88
88
|
## Preserve preview mode
|
|
89
89
|
|
|
90
|
-
A full replacement must preserve the small-container entry flow itself. Check `usePreview().isPreview` before rendering the cards and return `PresetPreviewLayout`; its button calls the SDK's preview `enter` action, which expands the embedded configurator. Without this branch, a configurator with `preview: auto` in a narrow embed renders the whole preset screen inside the collapsed preview area and never expands.
|
|
90
|
+
A full replacement must preserve the small-container entry flow itself. Check `phx.frontend.usePreview().isPreview` before rendering the cards and return `PresetPreviewLayout`; its button calls the SDK's preview `enter` action, which expands the embedded configurator. Without this branch, a configurator with `preview: auto` in a narrow embed renders the whole preset screen inside the collapsed preview area and never expands.
|
|
91
91
|
|
|
92
92
|
```tsx
|
|
93
93
|
if (isPreview) {
|
|
@@ -238,23 +238,16 @@ components:
|
|
|
238
238
|
import { Alert, Box, Button, CardActionArea, Chip, CircularProgress, TextField, Typography } from '@mui/material'
|
|
239
239
|
import { useState } from 'react'
|
|
240
240
|
|
|
241
|
-
import {
|
|
242
|
-
|
|
243
|
-
PresetPreviewLayout,
|
|
244
|
-
PresetSnackbarsRoot,
|
|
245
|
-
usePreview,
|
|
246
|
-
} from '@salsita-ai/sdk/configurator'
|
|
247
|
-
import { useResolveLocalizable, useResourceUrl } from '@salsita-ai/sdk/react'
|
|
241
|
+
import { ClosePresetPreviewButton, PresetPreviewLayout, PresetSnackbarsRoot } from '@salsita-ai/sdk/configurator'
|
|
242
|
+
import { useResourceUrl } from '@salsita-ai/sdk/react'
|
|
248
243
|
import { PhxIcon } from '@salsita-ai/sdk/ui'
|
|
249
244
|
|
|
250
|
-
import { phx } from '../../.phoenix/phx.js'
|
|
251
|
-
|
|
252
245
|
const START_FROM_SCRATCH = 'Start from scratch'
|
|
253
246
|
|
|
254
247
|
const CustomPresetScreen = () => {
|
|
255
|
-
const { isPreview } = usePreview()
|
|
248
|
+
const { isPreview } = phx.frontend.usePreview()
|
|
256
249
|
const { presetCategories, selectPreset, creatingPresetId, selectionError } = phx.frontend.usePresetSelection()
|
|
257
|
-
const resolve = useResolveLocalizable()
|
|
250
|
+
const resolve = phx.frontend.useResolveLocalizable()
|
|
258
251
|
const { getResourceUrl } = useResourceUrl()
|
|
259
252
|
const [query, setQuery] = useState('')
|
|
260
253
|
|
|
@@ -38,16 +38,11 @@ This feature now works out of the box only for simple layouts, if top or step na
|
|
|
38
38
|
|
|
39
39
|
## Code
|
|
40
40
|
|
|
41
|
-
|
|
41
|
+
Set the preview behavior with the top-level `preview` and `alwaysExpand` keys of a spec file, beside `model` and `components`:
|
|
42
42
|
|
|
43
|
-
```
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
ui: {
|
|
47
|
-
preview: 'auto',
|
|
48
|
-
alwaysExpand: true,
|
|
49
|
-
},
|
|
50
|
-
}
|
|
43
|
+
```yaml
|
|
44
|
+
preview: always # auto | always | never | hide
|
|
45
|
+
alwaysExpand: true # defaults to false; expands the configurator when users leave the preview, on desktop too
|
|
51
46
|
```
|
|
52
47
|
|
|
53
48
|
## Test cases
|
|
@@ -171,7 +166,6 @@ components:
|
|
|
171
166
|
import { propertyPageComponent } from '@salsita-ai/sdk/domain'
|
|
172
167
|
|
|
173
168
|
import { MockSidebarOne } from '../../../../common/MockSidebar.js'
|
|
174
|
-
import { phx } from '../../.phoenix/phx.js'
|
|
175
169
|
|
|
176
170
|
export default [
|
|
177
171
|
phx.domain.attachComponent
|
|
@@ -186,8 +180,6 @@ export default [
|
|
|
186
180
|
### ./src/expressions/expressions.ts
|
|
187
181
|
|
|
188
182
|
```ts
|
|
189
|
-
import { phx } from '../../.phoenix/phx.js'
|
|
190
|
-
|
|
191
183
|
export default phx.domain.implementCustomExpressions({
|
|
192
184
|
Table: {
|
|
193
185
|
$edgeFinishFacet: s => {
|
|
@@ -230,8 +222,6 @@ export default phx.domain.implementCustomExpressions({
|
|
|
230
222
|
### ./src/invariants/invariants.ts
|
|
231
223
|
|
|
232
224
|
```ts
|
|
233
|
-
import { phx } from '../../.phoenix/phx.js'
|
|
234
|
-
|
|
235
225
|
export default phx.domain.implementCustomInvariants({
|
|
236
226
|
Table: {
|
|
237
227
|
trunkDisabled: s => {
|