@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
|
@@ -45,7 +45,6 @@ import { Box } from '@mui/material'
|
|
|
45
45
|
|
|
46
46
|
import { LayoutSlots } from '@salsita-ai/sdk/configurator'
|
|
47
47
|
|
|
48
|
-
import { phx } from '../../.phoenix/phx.js'
|
|
49
48
|
import { DesktopPage } from '../_shared/DesktopPage.js'
|
|
50
49
|
import { PhonePage } from '../_shared/PhonePage.js'
|
|
51
50
|
import { PhonePoster } from '../_shared/PhonePoster.js'
|
|
@@ -120,7 +119,6 @@ An `attributeSwitch` is a boolean. `phx.frontend.useAttributeSwitch(kettleId, 't
|
|
|
120
119
|
```tsx
|
|
121
120
|
import { Box, Switch, Typography } from '@mui/material'
|
|
122
121
|
|
|
123
|
-
import { phx } from '../../.phoenix/phx.js'
|
|
124
122
|
import { KESTREL, LABEL_SX } from './tokens.js'
|
|
125
123
|
|
|
126
124
|
interface ThermometerRowProps {
|
|
@@ -200,8 +198,6 @@ invariants:
|
|
|
200
198
|
```
|
|
201
199
|
|
|
202
200
|
```ts
|
|
203
|
-
import { phx } from '../../.phoenix/phx.js'
|
|
204
|
-
|
|
205
201
|
// The copper body is sold only with the walnut handle. The spec marks the violation `fixable`, so a change that breaks
|
|
206
202
|
// it is rejected and the built-in snackbar shows the spec's message.
|
|
207
203
|
export default phx.domain.implementCustomInvariants({
|
|
@@ -247,8 +243,6 @@ components:
|
|
|
247
243
|
```ts
|
|
248
244
|
import { useCallback } from 'react'
|
|
249
245
|
|
|
250
|
-
import { phx } from '../../.phoenix/phx.js'
|
|
251
|
-
|
|
252
246
|
// Stands in for the shop's cart: adding takes a moment, then the page shows the confirmation
|
|
253
247
|
export default phx.frontend.createPhoenixHandler('addToCart', () => {
|
|
254
248
|
const navigate = phx.frontend.useNavigate()
|
|
@@ -267,7 +261,6 @@ export default phx.frontend.createPhoenixHandler('addToCart', () => {
|
|
|
267
261
|
```tsx
|
|
268
262
|
import { Alert, Box, Button, CircularProgress, Typography } from '@mui/material'
|
|
269
263
|
|
|
270
|
-
import { phx } from '../../.phoenix/phx.js'
|
|
271
264
|
import { KESTREL } from './tokens.js'
|
|
272
265
|
|
|
273
266
|
const CHECK_ICON = 'M5 12.5 10 17.5 19 7'
|
|
@@ -369,7 +362,6 @@ The same layout in a frame 390 pixels wide, as on a phone. It opens on the start
|
|
|
369
362
|
```tsx
|
|
370
363
|
import { Box, Button, Typography } from '@mui/material'
|
|
371
364
|
|
|
372
|
-
import { phx } from '../../.phoenix/phx.js'
|
|
373
365
|
import { KESTREL, LABEL_SX } from './tokens.js'
|
|
374
366
|
|
|
375
367
|
// The layout's own start screen, shown on a phone while `usePreview().isPreview` is set (the spec's `preview: auto`).
|
|
@@ -454,7 +446,6 @@ On a phone, `enter()` also expands the configurator, which `usePreview().isExpan
|
|
|
454
446
|
```tsx
|
|
455
447
|
import { Box } from '@mui/material'
|
|
456
448
|
|
|
457
|
-
import { phx } from '../../.phoenix/phx.js'
|
|
458
449
|
import { KESTREL } from '../_shared/tokens.js'
|
|
459
450
|
|
|
460
451
|
const PROMISES = ['Free delivery over $75', 'Two-year warranty', '30-day returns']
|
|
@@ -513,7 +504,6 @@ import { Box, Typography } from '@mui/material'
|
|
|
513
504
|
import { detailComponent } from '@salsita-ai/sdk/domain'
|
|
514
505
|
import { LocalizableMessage } from '@salsita-ai/sdk/react'
|
|
515
506
|
|
|
516
|
-
import { phx } from '../../.phoenix/phx.js'
|
|
517
507
|
import { KESTREL, LABEL_SX } from './tokens.js'
|
|
518
508
|
|
|
519
509
|
interface ProductHeadingProps {
|
|
@@ -560,7 +550,6 @@ The spec's `canvasCustomEnvironment` names `KettleStudio`, a layout element rend
|
|
|
560
550
|
```tsx
|
|
561
551
|
import { ContactShadows, Environment, Lightformer } from '@react-three/drei'
|
|
562
552
|
|
|
563
|
-
import { phx } from '../../.phoenix/phx.js'
|
|
564
553
|
import { KESTREL } from '../_shared/tokens.js'
|
|
565
554
|
|
|
566
555
|
// The stage named by the spec's `canvasCustomEnvironment`: a backdrop, a soft shadow under the kettle and a studio of
|
|
@@ -857,7 +846,6 @@ components:
|
|
|
857
846
|
```tsx
|
|
858
847
|
import { Alert, Box, Button, CircularProgress, Typography } from '@mui/material'
|
|
859
848
|
|
|
860
|
-
import { phx } from '../../.phoenix/phx.js'
|
|
861
849
|
import { KESTREL } from './tokens.js'
|
|
862
850
|
|
|
863
851
|
const CHECK_ICON = 'M5 12.5 10 17.5 19 7'
|
|
@@ -953,7 +941,6 @@ import { Box, Typography } from '@mui/material'
|
|
|
953
941
|
|
|
954
942
|
import { LayoutSlots } from '@salsita-ai/sdk/configurator'
|
|
955
943
|
|
|
956
|
-
import { phx } from '../../.phoenix/phx.js'
|
|
957
944
|
import { CartBlock } from './CartBlock.js'
|
|
958
945
|
import { FullscreenButton } from './FullscreenButton.js'
|
|
959
946
|
import { KettleOptions } from './KettleOptions.js'
|
|
@@ -1100,7 +1087,6 @@ import { IconButton, Tooltip } from '@mui/material'
|
|
|
1100
1087
|
|
|
1101
1088
|
import { FrontendAnalyticsFactory } from '@salsita-ai/sdk/configurator'
|
|
1102
1089
|
|
|
1103
|
-
import { phx } from '../../.phoenix/phx.js'
|
|
1104
1090
|
import { KESTREL } from './tokens.js'
|
|
1105
1091
|
|
|
1106
1092
|
const ENTER_ICON = 'M4 9V4h5M15 4h5v5M20 15v5h-5M9 20H4v-5'
|
|
@@ -1147,7 +1133,6 @@ export const FullscreenButton = () => {
|
|
|
1147
1133
|
```tsx
|
|
1148
1134
|
import { Box, Divider } from '@mui/material'
|
|
1149
1135
|
|
|
1150
|
-
import { phx } from '../../.phoenix/phx.js'
|
|
1151
1136
|
import { SwatchRow } from './SwatchRow.js'
|
|
1152
1137
|
import { ThermometerRow } from './ThermometerRow.js'
|
|
1153
1138
|
import { KESTREL } from './tokens.js'
|
|
@@ -1195,7 +1180,6 @@ import { Box, IconButton, Tooltip, Typography } from '@mui/material'
|
|
|
1195
1180
|
import { LayoutSlots } from '@salsita-ai/sdk/configurator'
|
|
1196
1181
|
import { notistackSnackbarClasses } from '@salsita-ai/sdk/ui'
|
|
1197
1182
|
|
|
1198
|
-
import { phx } from '../../.phoenix/phx.js'
|
|
1199
1183
|
import { CartBlock } from './CartBlock.js'
|
|
1200
1184
|
import { FullscreenButton } from './FullscreenButton.js'
|
|
1201
1185
|
import { KettleOptions } from './KettleOptions.js'
|
|
@@ -1344,7 +1328,6 @@ export const PhonePage = () => {
|
|
|
1344
1328
|
```tsx
|
|
1345
1329
|
import { Box, Button, Typography } from '@mui/material'
|
|
1346
1330
|
|
|
1347
|
-
import { phx } from '../../.phoenix/phx.js'
|
|
1348
1331
|
import { KESTREL, LABEL_SX } from './tokens.js'
|
|
1349
1332
|
|
|
1350
1333
|
// The layout's own start screen, shown on a phone while `usePreview().isPreview` is set (the spec's `preview: auto`).
|
|
@@ -1428,7 +1411,6 @@ import { Box, Typography } from '@mui/material'
|
|
|
1428
1411
|
import { detailComponent } from '@salsita-ai/sdk/domain'
|
|
1429
1412
|
import { LocalizableMessage } from '@salsita-ai/sdk/react'
|
|
1430
1413
|
|
|
1431
|
-
import { phx } from '../../.phoenix/phx.js'
|
|
1432
1414
|
import { KESTREL, LABEL_SX } from './tokens.js'
|
|
1433
1415
|
|
|
1434
1416
|
interface ProductHeadingProps {
|
|
@@ -1474,7 +1456,6 @@ export const ProductHeading = ({ size }: ProductHeadingProps) => {
|
|
|
1474
1456
|
import { Box, ButtonBase, Typography } from '@mui/material'
|
|
1475
1457
|
import type { KeyboardEvent } from 'react'
|
|
1476
1458
|
|
|
1477
|
-
import { phx } from '../../.phoenix/phx.js'
|
|
1478
1459
|
import { KESTREL, LABEL_SX } from './tokens.js'
|
|
1479
1460
|
|
|
1480
1461
|
// Arrow keys move the selection between the swatches, as in a native radio group
|
|
@@ -1589,7 +1570,6 @@ export const SwatchRow = ({ label, instanceName, fills, readOnly }: SwatchRowPro
|
|
|
1589
1570
|
```tsx
|
|
1590
1571
|
import { Box, Switch, Typography } from '@mui/material'
|
|
1591
1572
|
|
|
1592
|
-
import { phx } from '../../.phoenix/phx.js'
|
|
1593
1573
|
import { KESTREL, LABEL_SX } from './tokens.js'
|
|
1594
1574
|
|
|
1595
1575
|
interface ThermometerRowProps {
|
|
@@ -1661,7 +1641,6 @@ import { Box } from '@mui/material'
|
|
|
1661
1641
|
|
|
1662
1642
|
import { LayoutSlots } from '@salsita-ai/sdk/configurator'
|
|
1663
1643
|
|
|
1664
|
-
import { phx } from '../../.phoenix/phx.js'
|
|
1665
1644
|
import { DesktopPage } from '../_shared/DesktopPage.js'
|
|
1666
1645
|
import { PhonePage } from '../_shared/PhonePage.js'
|
|
1667
1646
|
import { PhonePoster } from '../_shared/PhonePoster.js'
|
|
@@ -1693,7 +1672,6 @@ export default phx.frontend.createCustomPhoenixLayoutElement('ConfiguratorLayout
|
|
|
1693
1672
|
```tsx
|
|
1694
1673
|
import { ContactShadows, Environment, Lightformer } from '@react-three/drei'
|
|
1695
1674
|
|
|
1696
|
-
import { phx } from '../../.phoenix/phx.js'
|
|
1697
1675
|
import { KESTREL } from '../_shared/tokens.js'
|
|
1698
1676
|
|
|
1699
1677
|
// The stage named by the spec's `canvasCustomEnvironment`: a backdrop, a soft shadow under the kettle and a studio of
|
|
@@ -1728,7 +1706,6 @@ export default phx.frontend.createCustomPhoenixLayoutElement('KettleStudio', ()
|
|
|
1728
1706
|
```tsx
|
|
1729
1707
|
import { Box } from '@mui/material'
|
|
1730
1708
|
|
|
1731
|
-
import { phx } from '../../.phoenix/phx.js'
|
|
1732
1709
|
import { KESTREL } from '../_shared/tokens.js'
|
|
1733
1710
|
|
|
1734
1711
|
const PROMISES = ['Free delivery over $75', 'Two-year warranty', '30-day returns']
|
|
@@ -1771,8 +1748,6 @@ export default phx.frontend.createLayoutFooter(LayoutFooter)
|
|
|
1771
1748
|
### ./src/expressions/kettle.ts
|
|
1772
1749
|
|
|
1773
1750
|
```ts
|
|
1774
|
-
import { phx } from '../../.phoenix/phx.js'
|
|
1775
|
-
|
|
1776
1751
|
const BASE_PRICE = 145
|
|
1777
1752
|
const FINISH_SURCHARGE = { BrushedSteel: 0, MatteBlack: 10, Copper: 45 }
|
|
1778
1753
|
const WOOD_SURCHARGE = { Walnut: 10, Oak: 0 }
|
|
@@ -1824,8 +1799,6 @@ export default phx.domain.implementCustomExpressions({
|
|
|
1824
1799
|
```ts
|
|
1825
1800
|
import { useCallback } from 'react'
|
|
1826
1801
|
|
|
1827
|
-
import { phx } from '../../.phoenix/phx.js'
|
|
1828
|
-
|
|
1829
1802
|
// Stands in for the shop's cart: adding takes a moment, then the page shows the confirmation
|
|
1830
1803
|
export default phx.frontend.createPhoenixHandler('addToCart', () => {
|
|
1831
1804
|
const navigate = phx.frontend.useNavigate()
|
|
@@ -1842,8 +1815,6 @@ export default phx.frontend.createPhoenixHandler('addToCart', () => {
|
|
|
1842
1815
|
### ./src/invariants/kettle.ts
|
|
1843
1816
|
|
|
1844
1817
|
```ts
|
|
1845
|
-
import { phx } from '../../.phoenix/phx.js'
|
|
1846
|
-
|
|
1847
1818
|
// The copper body is sold only with the walnut handle. The spec marks the violation `fixable`, so a change that breaks
|
|
1848
1819
|
// it is rejected and the built-in snackbar shows the spec's message.
|
|
1849
1820
|
export default phx.domain.implementCustomInvariants({
|
|
@@ -116,7 +116,6 @@ import { useMemo } from 'react'
|
|
|
116
116
|
|
|
117
117
|
import { attributeSelectionComponent, materialSwatchComponent, textValueComponent } from '@salsita-ai/sdk/domain'
|
|
118
118
|
|
|
119
|
-
import { phx } from '../../.phoenix/phx.js'
|
|
120
119
|
import { byFieldOrder } from './fields.js'
|
|
121
120
|
|
|
122
121
|
export type ChoiceKind = 'selection' | 'swatch' | 'text'
|
|
@@ -295,8 +294,6 @@ The decal's instance name is the object's: `headstock` in `sceneEntityRemoteObje
|
|
|
295
294
|
The headstock takes 16 characters. The limit is the expression `$signatureLimit`, declared in the spec so the layout can read it, and a `fixable` rule rejects a longer signature with a message that names it:
|
|
296
295
|
|
|
297
296
|
```ts
|
|
298
|
-
import { phx } from '../../.phoenix/phx.js'
|
|
299
|
-
|
|
300
297
|
export default phx.domain.implementCustomInvariants({
|
|
301
298
|
Guitar: {
|
|
302
299
|
// `fixable`: a change that makes the signature too long is rejected, so the headstock never shows more than fits.
|
|
@@ -328,7 +325,6 @@ export default phx.domain.implementCustomInvariants({
|
|
|
328
325
|
```tsx
|
|
329
326
|
import { Box, InputBase, Typography } from '@mui/material'
|
|
330
327
|
|
|
331
|
-
import { phx } from '../../.phoenix/phx.js'
|
|
332
328
|
import { FieldShell } from './FieldShell.js'
|
|
333
329
|
import { NIGHTJAR } from './tokens.js'
|
|
334
330
|
|
|
@@ -437,7 +433,7 @@ invariants:
|
|
|
437
433
|
message: The Offset body is routed for single-coil-sized pickups. Choose single coils or P-90s, or the Single-cut body for humbuckers.
|
|
438
434
|
```
|
|
439
435
|
|
|
440
|
-
While it holds, the layout shows it three times, each read from `phx.frontend.useFinalizeViolations().violations`: under the **Pickups** and **Body shape** fields, as a mark on the **Electronics** step, and on the summary with **Go to Electronics**. The layout's `STEP_WARNINGS` names the step that resolves each warning.
|
|
436
|
+
While it holds, the layout shows it three times, each read from `phx.frontend.useFinalizeViolations().violations`: under the **Pickups** and **Body shape** fields, as a mark on the **Electronics** step, and on the summary with **Go to Electronics**. The layout's `STEP_WARNINGS` names the step that resolves each warning.
|
|
441
437
|
|
|
442
438
|
## Place the order
|
|
443
439
|
|
|
@@ -458,8 +454,6 @@ components:
|
|
|
458
454
|
```ts
|
|
459
455
|
import { useCallback } from 'react'
|
|
460
456
|
|
|
461
|
-
import { phx } from '../../.phoenix/phx.js'
|
|
462
|
-
|
|
463
457
|
// Stands in for Northfret's order service. Placing an order takes a moment. The service checks stock when the order
|
|
464
458
|
// arrives, which the configurator cannot know beforehand: gold hardware is back-ordered, so it refuses that order with
|
|
465
459
|
// its reason; any other order is accepted and the page shows the confirmation.
|
|
@@ -501,7 +495,6 @@ import { Box } from '@mui/material'
|
|
|
501
495
|
|
|
502
496
|
import { LayoutSlots } from '@salsita-ai/sdk/configurator'
|
|
503
497
|
|
|
504
|
-
import { phx } from '../../.phoenix/phx.js'
|
|
505
498
|
import { NIGHTJAR } from '../_fields/index.js'
|
|
506
499
|
import { DesktopPage } from '../_shared/DesktopPage.js'
|
|
507
500
|
import { PhonePage } from '../_shared/PhonePage.js'
|
|
@@ -537,7 +530,6 @@ Each page measures its safe area with `phx.frontend.useSceneSafeArea()`. The sum
|
|
|
537
530
|
import { Box, Typography } from '@mui/material'
|
|
538
531
|
import type { AnimationEvent } from 'react'
|
|
539
532
|
|
|
540
|
-
import { phx } from '../../.phoenix/phx.js'
|
|
541
533
|
import { ENTER_FROM_END, HEADING_SX, NIGHTJAR } from '../_fields/index.js'
|
|
542
534
|
import { OrderBar } from './OrderBar.js'
|
|
543
535
|
import { OrderConfirmation } from './OrderConfirmation.js'
|
|
@@ -696,7 +688,6 @@ import { Environment, Lightformer } from '@react-three/drei'
|
|
|
696
688
|
import { useMemo } from 'react'
|
|
697
689
|
import { CanvasTexture, SRGBColorSpace } from 'three'
|
|
698
690
|
|
|
699
|
-
import { phx } from '../../.phoenix/phx.js'
|
|
700
691
|
import { NIGHTJAR } from '../_fields/index.js'
|
|
701
692
|
|
|
702
693
|
/** A warm pool of light that fades into the dark, drawn once on a canvas. */
|
|
@@ -1459,7 +1450,6 @@ components:
|
|
|
1459
1450
|
import { Box, ButtonBase, Typography } from '@mui/material'
|
|
1460
1451
|
import type { KeyboardEvent } from 'react'
|
|
1461
1452
|
|
|
1462
|
-
import { phx } from '../../.phoenix/phx.js'
|
|
1463
1453
|
import { FieldShell } from './FieldShell.js'
|
|
1464
1454
|
import { NIGHTJAR } from './tokens.js'
|
|
1465
1455
|
|
|
@@ -1773,7 +1763,6 @@ export const FieldShell = ({ id, label, aside, hint, warningTypes, compact, chil
|
|
|
1773
1763
|
import { Box, ButtonBase, Tooltip, Typography } from '@mui/material'
|
|
1774
1764
|
import type { KeyboardEvent } from 'react'
|
|
1775
1765
|
|
|
1776
|
-
import { phx } from '../../.phoenix/phx.js'
|
|
1777
1766
|
import { FieldShell } from './FieldShell.js'
|
|
1778
1767
|
import { NIGHTJAR } from './tokens.js'
|
|
1779
1768
|
|
|
@@ -1880,7 +1869,6 @@ export const FinishField = ({ instanceName, label, warningTypes, compact }: Fini
|
|
|
1880
1869
|
```tsx
|
|
1881
1870
|
import { Box, InputBase, Typography } from '@mui/material'
|
|
1882
1871
|
|
|
1883
|
-
import { phx } from '../../.phoenix/phx.js'
|
|
1884
1872
|
import { FieldShell } from './FieldShell.js'
|
|
1885
1873
|
import { NIGHTJAR } from './tokens.js'
|
|
1886
1874
|
|
|
@@ -2020,7 +2008,6 @@ export const StepFields = ({ compact }: StepFieldsProps) => {
|
|
|
2020
2008
|
import { Box, Typography } from '@mui/material'
|
|
2021
2009
|
import type { ReactNode } from 'react'
|
|
2022
2010
|
|
|
2023
|
-
import { phx } from '../../.phoenix/phx.js'
|
|
2024
2011
|
import { fieldOf } from './fields.js'
|
|
2025
2012
|
import { NIGHTJAR } from './tokens.js'
|
|
2026
2013
|
import type { ActiveChoice } from './use-active-choices.js'
|
|
@@ -2261,7 +2248,6 @@ import { useMemo } from 'react'
|
|
|
2261
2248
|
|
|
2262
2249
|
import { attributeSelectionComponent, materialSwatchComponent, textValueComponent } from '@salsita-ai/sdk/domain'
|
|
2263
2250
|
|
|
2264
|
-
import { phx } from '../../.phoenix/phx.js'
|
|
2265
2251
|
import { byFieldOrder } from './fields.js'
|
|
2266
2252
|
|
|
2267
2253
|
export type ChoiceKind = 'selection' | 'swatch' | 'text'
|
|
@@ -2308,17 +2294,13 @@ export const useActiveChoices = (): readonly ActiveChoice[] => {
|
|
|
2308
2294
|
```ts
|
|
2309
2295
|
import { useMemo } from 'react'
|
|
2310
2296
|
|
|
2311
|
-
import { phx } from '../../.phoenix/phx.js'
|
|
2312
|
-
|
|
2313
2297
|
export interface Warning {
|
|
2314
2298
|
readonly type: string
|
|
2315
2299
|
readonly text: string
|
|
2316
2300
|
}
|
|
2317
2301
|
|
|
2318
2302
|
// The warnings of the committed configuration, with their text resolved. A `warning` invariant keeps the change, so
|
|
2319
|
-
// its violation stays until the customer resolves it, and ordering waits for that. `useFinalizeViolations` lists them
|
|
2320
|
-
// `useStateValidity` holds the same list, but on `phx.frontend` it is typed as the validity value instead of a hook,
|
|
2321
|
-
// so calling it does not type-check.
|
|
2303
|
+
// its violation stays until the customer resolves it, and ordering waits for that. `useFinalizeViolations` lists them.
|
|
2322
2304
|
export const useWarnings = (): readonly Warning[] => {
|
|
2323
2305
|
const { violations } = phx.frontend.useFinalizeViolations()
|
|
2324
2306
|
const resolve = phx.frontend.useResolveLocalizable()
|
|
@@ -2337,7 +2319,6 @@ export const useWarnings = (): readonly Warning[] => {
|
|
|
2337
2319
|
import { Box, Typography } from '@mui/material'
|
|
2338
2320
|
import type { AnimationEvent } from 'react'
|
|
2339
2321
|
|
|
2340
|
-
import { phx } from '../../.phoenix/phx.js'
|
|
2341
2322
|
import { ENTER_FROM_END, HEADING_SX, NIGHTJAR } from '../_fields/index.js'
|
|
2342
2323
|
import { OrderBar } from './OrderBar.js'
|
|
2343
2324
|
import { OrderConfirmation } from './OrderConfirmation.js'
|
|
@@ -2491,7 +2472,6 @@ import { Box, Button, CircularProgress, IconButton, Tooltip, Typography } from '
|
|
|
2491
2472
|
import { FrontendAnalyticsFactory } from '@salsita-ai/sdk/configurator'
|
|
2492
2473
|
import { detailComponent } from '@salsita-ai/sdk/domain'
|
|
2493
2474
|
|
|
2494
|
-
import { phx } from '../../.phoenix/phx.js'
|
|
2495
2475
|
import { HEADING_SX, LABEL_SX, NIGHTJAR } from '../_fields/index.js'
|
|
2496
2476
|
import type { OrderForm } from './order-form.js'
|
|
2497
2477
|
|
|
@@ -2670,7 +2650,6 @@ export const OrderBar = ({ compact, form }: OrderBarProps) => {
|
|
|
2670
2650
|
```tsx
|
|
2671
2651
|
import { Box, Typography } from '@mui/material'
|
|
2672
2652
|
|
|
2673
|
-
import { phx } from '../../.phoenix/phx.js'
|
|
2674
2653
|
import { HEADING_SX, LABEL_SX, NIGHTJAR, SummaryRows } from '../_fields/index.js'
|
|
2675
2654
|
import type { Contact } from './order-form.js'
|
|
2676
2655
|
|
|
@@ -2729,7 +2708,6 @@ export const OrderConfirmation = ({ compact, contact }: OrderConfirmationProps)
|
|
|
2729
2708
|
import { Box, Typography } from '@mui/material'
|
|
2730
2709
|
import type { AnimationEvent } from 'react'
|
|
2731
2710
|
|
|
2732
|
-
import { phx } from '../../.phoenix/phx.js'
|
|
2733
2711
|
import { ENTER_FROM_BELOW, HEADING_SX, NIGHTJAR } from '../_fields/index.js'
|
|
2734
2712
|
import { OrderBar } from './OrderBar.js'
|
|
2735
2713
|
import { OrderConfirmation } from './OrderConfirmation.js'
|
|
@@ -2848,7 +2826,6 @@ export const PhonePage = ({ form, reached }: PhonePageProps) => {
|
|
|
2848
2826
|
```tsx
|
|
2849
2827
|
import { Box, ButtonBase, Typography } from '@mui/material'
|
|
2850
2828
|
|
|
2851
|
-
import { phx } from '../../.phoenix/phx.js'
|
|
2852
2829
|
import { HEADING_SX, NIGHTJAR, useWarnings } from '../_fields/index.js'
|
|
2853
2830
|
import { STEP_WARNINGS } from './step-warnings.js'
|
|
2854
2831
|
|
|
@@ -3017,7 +2994,6 @@ export const StepHeader = ({ compact, reached }: StepHeaderProps) => {
|
|
|
3017
2994
|
import { Box, Typography } from '@mui/material'
|
|
3018
2995
|
import { useState } from 'react'
|
|
3019
2996
|
|
|
3020
|
-
import { phx } from '../../.phoenix/phx.js'
|
|
3021
2997
|
import { ENTER_FROM_END, ENTER_FROM_START, HEADING_SX, LABEL_SX, NIGHTJAR, StepFields } from '../_fields/index.js'
|
|
3022
2998
|
|
|
3023
2999
|
// A line under each step's title; the layout's copy, keyed by the step's navigation state
|
|
@@ -3095,7 +3071,6 @@ import { Box, Button, InputBase, Typography } from '@mui/material'
|
|
|
3095
3071
|
import type { ReactNode } from 'react'
|
|
3096
3072
|
import { useEffect, useRef } from 'react'
|
|
3097
3073
|
|
|
3098
|
-
import { phx } from '../../.phoenix/phx.js'
|
|
3099
3074
|
import { HEADING_SX, LABEL_SX, NIGHTJAR, SummaryRows, useWarnings } from '../_fields/index.js'
|
|
3100
3075
|
import type { OrderForm } from './order-form.js'
|
|
3101
3076
|
import { STEP_WARNINGS } from './step-warnings.js'
|
|
@@ -3406,7 +3381,6 @@ import { Box } from '@mui/material'
|
|
|
3406
3381
|
|
|
3407
3382
|
import { LayoutSlots } from '@salsita-ai/sdk/configurator'
|
|
3408
3383
|
|
|
3409
|
-
import { phx } from '../../.phoenix/phx.js'
|
|
3410
3384
|
import { NIGHTJAR } from '../_fields/index.js'
|
|
3411
3385
|
import { DesktopPage } from '../_shared/DesktopPage.js'
|
|
3412
3386
|
import { PhonePage } from '../_shared/PhonePage.js'
|
|
@@ -3443,7 +3417,6 @@ import { Environment, Lightformer } from '@react-three/drei'
|
|
|
3443
3417
|
import { useMemo } from 'react'
|
|
3444
3418
|
import { CanvasTexture, SRGBColorSpace } from 'three'
|
|
3445
3419
|
|
|
3446
|
-
import { phx } from '../../.phoenix/phx.js'
|
|
3447
3420
|
import { NIGHTJAR } from '../_fields/index.js'
|
|
3448
3421
|
|
|
3449
3422
|
/** A warm pool of light that fades into the dark, drawn once on a canvas. */
|
|
@@ -3505,8 +3478,6 @@ export default phx.frontend.createCustomPhoenixLayoutElement('NightjarStage', ()
|
|
|
3505
3478
|
### ./src/expressions/guitar.ts
|
|
3506
3479
|
|
|
3507
3480
|
```ts
|
|
3508
|
-
import { phx } from '../../.phoenix/phx.js'
|
|
3509
|
-
|
|
3510
3481
|
const BASE_PRICE = 1650
|
|
3511
3482
|
const SIGNATURE_PRICE = 45
|
|
3512
3483
|
const SIGNATURE_LIMIT = 16
|
|
@@ -3639,8 +3610,6 @@ export default phx.domain.implementCustomExpressions({
|
|
|
3639
3610
|
```ts
|
|
3640
3611
|
import { useCallback } from 'react'
|
|
3641
3612
|
|
|
3642
|
-
import { phx } from '../../.phoenix/phx.js'
|
|
3643
|
-
|
|
3644
3613
|
// Stands in for Northfret's order service. Placing an order takes a moment. The service checks stock when the order
|
|
3645
3614
|
// arrives, which the configurator cannot know beforehand: gold hardware is back-ordered, so it refuses that order with
|
|
3646
3615
|
// its reason; any other order is accepted and the page shows the confirmation.
|
|
@@ -3667,8 +3636,6 @@ export default phx.frontend.createPhoenixHandler('placeOrder', () => {
|
|
|
3667
3636
|
### ./src/invariants/guitar.ts
|
|
3668
3637
|
|
|
3669
3638
|
```ts
|
|
3670
|
-
import { phx } from '../../.phoenix/phx.js'
|
|
3671
|
-
|
|
3672
3639
|
export default phx.domain.implementCustomInvariants({
|
|
3673
3640
|
Guitar: {
|
|
3674
3641
|
// `fixable`: a change that makes the signature too long is rejected, so the headstock never shows more than fits.
|
|
@@ -40,7 +40,6 @@ import { Box } from '@mui/material'
|
|
|
40
40
|
|
|
41
41
|
import { LayoutSlots } from '@salsita-ai/sdk/configurator'
|
|
42
42
|
|
|
43
|
-
import { phx } from '../../.phoenix/phx.js'
|
|
44
43
|
import { DesktopPage } from '../_shared/DesktopPage.js'
|
|
45
44
|
import { PhonePage } from '../_shared/PhonePage.js'
|
|
46
45
|
import { SUNFOLD } from '../_shared/tokens.js'
|
|
@@ -121,8 +120,6 @@ expressions:
|
|
|
121
120
|
The model in `src/expressions/solar.ts` is deliberately simple: a south-facing kWp yields 1,000 kWh a year, spread over the months by a typical central European sun curve. Without a battery the home uses solar power only while the sun shines; a battery carries the day's surplus into the evening. The saving counts the power the home no longer buys and the power it sells, and the running total grows with prices rising 2 % a year while the panels lose half a percent.
|
|
122
121
|
|
|
123
122
|
```ts
|
|
124
|
-
import { phx } from '../../.phoenix/phx.js'
|
|
125
|
-
|
|
126
123
|
const PANEL_KWP = 0.43
|
|
127
124
|
const PANEL_AREA_M2 = 1.95
|
|
128
125
|
// Vents, chimneys and the edge clearance leave about 85 % of a roof for panels
|
|
@@ -258,7 +255,6 @@ components:
|
|
|
258
255
|
```tsx
|
|
259
256
|
import { Box, Typography } from '@mui/material'
|
|
260
257
|
|
|
261
|
-
import { phx } from '../../.phoenix/phx.js'
|
|
262
258
|
import { CARD_SX, SUNFOLD } from './tokens.js'
|
|
263
259
|
|
|
264
260
|
const euro = (value: number) => {
|
|
@@ -340,7 +336,6 @@ The series colours are a fixed set checked together for colour-vision deficienci
|
|
|
340
336
|
import { Box, ButtonBase, Typography } from '@mui/material'
|
|
341
337
|
import { useState } from 'react'
|
|
342
338
|
|
|
343
|
-
import { phx } from '../../.phoenix/phx.js'
|
|
344
339
|
import { CHART, SERIES } from './chart-style.js'
|
|
345
340
|
import { niceScale } from './nice-scale.js'
|
|
346
341
|
import { useWidth } from './use-width.js'
|
|
@@ -660,8 +655,6 @@ invariants:
|
|
|
660
655
|
```
|
|
661
656
|
|
|
662
657
|
```ts
|
|
663
|
-
import { phx } from '../../.phoenix/phx.js'
|
|
664
|
-
|
|
665
658
|
// More panels than the roof holds is a warning: the dashboard keeps showing the figures, and a survey cannot be
|
|
666
659
|
// booked until the panel count fits. A north-facing roof is only a notice, so it never blocks the booking.
|
|
667
660
|
export default phx.domain.implementCustomInvariants({
|
|
@@ -692,7 +685,6 @@ export default phx.domain.implementCustomInvariants({
|
|
|
692
685
|
import { Box, Typography } from '@mui/material'
|
|
693
686
|
import type { ReactNode } from 'react'
|
|
694
687
|
|
|
695
|
-
import { phx } from '../../.phoenix/phx.js'
|
|
696
688
|
import { PillField } from './PillField.js'
|
|
697
689
|
import { SliderField } from './SliderField.js'
|
|
698
690
|
import { SUNFOLD } from './tokens.js'
|
|
@@ -792,7 +784,6 @@ components:
|
|
|
792
784
|
```tsx
|
|
793
785
|
import { Alert, Box, Button, CircularProgress, Typography } from '@mui/material'
|
|
794
786
|
|
|
795
|
-
import { phx } from '../../.phoenix/phx.js'
|
|
796
787
|
import { SUNFOLD } from './tokens.js'
|
|
797
788
|
|
|
798
789
|
interface SurveyPanelProps {
|
|
@@ -1133,7 +1124,6 @@ components:
|
|
|
1133
1124
|
```tsx
|
|
1134
1125
|
import { Box, Typography } from '@mui/material'
|
|
1135
1126
|
|
|
1136
|
-
import { phx } from '../../.phoenix/phx.js'
|
|
1137
1127
|
import { CHART, SERIES } from './chart-style.js'
|
|
1138
1128
|
|
|
1139
1129
|
// Where a year of solar power goes, as one bar split between the home and the grid, from the spec's `$monthly` and
|
|
@@ -1208,7 +1198,6 @@ export const EnergySplitBar = () => {
|
|
|
1208
1198
|
import { Box, ButtonBase, Typography } from '@mui/material'
|
|
1209
1199
|
import { useState } from 'react'
|
|
1210
1200
|
|
|
1211
|
-
import { phx } from '../../.phoenix/phx.js'
|
|
1212
1201
|
import { CHART, SERIES } from './chart-style.js'
|
|
1213
1202
|
import { niceScale } from './nice-scale.js'
|
|
1214
1203
|
import { useWidth } from './use-width.js'
|
|
@@ -1518,7 +1507,6 @@ import { Box, Typography } from '@mui/material'
|
|
|
1518
1507
|
import type { MouseEvent } from 'react'
|
|
1519
1508
|
import { useState } from 'react'
|
|
1520
1509
|
|
|
1521
|
-
import { phx } from '../../.phoenix/phx.js'
|
|
1522
1510
|
import { CHART } from './chart-style.js'
|
|
1523
1511
|
import { niceScale } from './nice-scale.js'
|
|
1524
1512
|
import { useWidth } from './use-width.js'
|
|
@@ -1856,7 +1844,6 @@ import { Box, Typography } from '@mui/material'
|
|
|
1856
1844
|
|
|
1857
1845
|
import { LayoutSlots } from '@salsita-ai/sdk/configurator'
|
|
1858
1846
|
|
|
1859
|
-
import { phx } from '../../.phoenix/phx.js'
|
|
1860
1847
|
import { ChartCards } from './ChartCards.js'
|
|
1861
1848
|
import { KpiTiles } from './KpiTiles.js'
|
|
1862
1849
|
import { PlannerInputs } from './PlannerInputs.js'
|
|
@@ -1955,7 +1942,6 @@ export const DesktopPage = () => {
|
|
|
1955
1942
|
```tsx
|
|
1956
1943
|
import { Box, Typography } from '@mui/material'
|
|
1957
1944
|
|
|
1958
|
-
import { phx } from '../../.phoenix/phx.js'
|
|
1959
1945
|
import { CARD_SX, SUNFOLD } from './tokens.js'
|
|
1960
1946
|
|
|
1961
1947
|
const euro = (value: number) => {
|
|
@@ -2030,7 +2016,6 @@ import { Box, Typography } from '@mui/material'
|
|
|
2030
2016
|
|
|
2031
2017
|
import { LayoutSlots } from '@salsita-ai/sdk/configurator'
|
|
2032
2018
|
|
|
2033
|
-
import { phx } from '../../.phoenix/phx.js'
|
|
2034
2019
|
import { ChartCards } from './ChartCards.js'
|
|
2035
2020
|
import { KpiTiles } from './KpiTiles.js'
|
|
2036
2021
|
import { PlannerInputs } from './PlannerInputs.js'
|
|
@@ -2107,7 +2092,6 @@ export const PhonePage = () => {
|
|
|
2107
2092
|
import { Box, ButtonBase, Typography } from '@mui/material'
|
|
2108
2093
|
import type { KeyboardEvent } from 'react'
|
|
2109
2094
|
|
|
2110
|
-
import { phx } from '../../.phoenix/phx.js'
|
|
2111
2095
|
import { SUNFOLD } from './tokens.js'
|
|
2112
2096
|
|
|
2113
2097
|
// Arrow keys move the selection between the pills, as in a native radio group
|
|
@@ -2204,7 +2188,6 @@ export const PillField = ({ instanceName, label, readOnly }: PillFieldProps) =>
|
|
|
2204
2188
|
import { Box, Typography } from '@mui/material'
|
|
2205
2189
|
import type { ReactNode } from 'react'
|
|
2206
2190
|
|
|
2207
|
-
import { phx } from '../../.phoenix/phx.js'
|
|
2208
2191
|
import { PillField } from './PillField.js'
|
|
2209
2192
|
import { SliderField } from './SliderField.js'
|
|
2210
2193
|
import { SUNFOLD } from './tokens.js'
|
|
@@ -2290,7 +2273,6 @@ export const PlannerInputs = ({ readOnly }: PlannerInputsProps) => {
|
|
|
2290
2273
|
```tsx
|
|
2291
2274
|
import { Box, Slider, Typography } from '@mui/material'
|
|
2292
2275
|
|
|
2293
|
-
import { phx } from '../../.phoenix/phx.js'
|
|
2294
2276
|
import { SUNFOLD } from './tokens.js'
|
|
2295
2277
|
|
|
2296
2278
|
interface SliderFieldProps {
|
|
@@ -2347,7 +2329,6 @@ export const SliderField = ({ instanceName, label, step, readOnly }: SliderField
|
|
|
2347
2329
|
```tsx
|
|
2348
2330
|
import { Alert, Box, Button, CircularProgress, Typography } from '@mui/material'
|
|
2349
2331
|
|
|
2350
|
-
import { phx } from '../../.phoenix/phx.js'
|
|
2351
2332
|
import { SUNFOLD } from './tokens.js'
|
|
2352
2333
|
|
|
2353
2334
|
interface SurveyPanelProps {
|
|
@@ -2487,7 +2468,6 @@ import { Box } from '@mui/material'
|
|
|
2487
2468
|
|
|
2488
2469
|
import { LayoutSlots } from '@salsita-ai/sdk/configurator'
|
|
2489
2470
|
|
|
2490
|
-
import { phx } from '../../.phoenix/phx.js'
|
|
2491
2471
|
import { DesktopPage } from '../_shared/DesktopPage.js'
|
|
2492
2472
|
import { PhonePage } from '../_shared/PhonePage.js'
|
|
2493
2473
|
import { SUNFOLD } from '../_shared/tokens.js'
|
|
@@ -2513,8 +2493,6 @@ export default phx.frontend.createCustomPhoenixLayoutElement('ConfiguratorLayout
|
|
|
2513
2493
|
### ./src/expressions/solar.ts
|
|
2514
2494
|
|
|
2515
2495
|
```ts
|
|
2516
|
-
import { phx } from '../../.phoenix/phx.js'
|
|
2517
|
-
|
|
2518
2496
|
const PANEL_KWP = 0.43
|
|
2519
2497
|
const PANEL_AREA_M2 = 1.95
|
|
2520
2498
|
// Vents, chimneys and the edge clearance leave about 85 % of a roof for panels
|
|
@@ -2636,8 +2614,6 @@ export default phx.domain.implementCustomExpressions({
|
|
|
2636
2614
|
```ts
|
|
2637
2615
|
import { useCallback } from 'react'
|
|
2638
2616
|
|
|
2639
|
-
import { phx } from '../../.phoenix/phx.js'
|
|
2640
|
-
|
|
2641
2617
|
// Stands in for the installer's booking service: the request takes a moment, then the page shows the confirmation
|
|
2642
2618
|
export default phx.frontend.createPhoenixHandler('bookSurvey', () => {
|
|
2643
2619
|
const navigate = phx.frontend.useNavigate()
|
|
@@ -2654,8 +2630,6 @@ export default phx.frontend.createPhoenixHandler('bookSurvey', () => {
|
|
|
2654
2630
|
### ./src/invariants/solar.ts
|
|
2655
2631
|
|
|
2656
2632
|
```ts
|
|
2657
|
-
import { phx } from '../../.phoenix/phx.js'
|
|
2658
|
-
|
|
2659
2633
|
// More panels than the roof holds is a warning: the dashboard keeps showing the figures, and a survey cannot be
|
|
2660
2634
|
// booked until the panel count fits. A north-facing roof is only a notice, so it never blocks the booking.
|
|
2661
2635
|
export default phx.domain.implementCustomInvariants({
|