@salsita-ai/sdk 0.50.0-develop.68d6fe1d1b → 0.50.0-develop.6d8967bc99
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/dist/admin/create-admin-pages-from-spec.d.ts +1 -1
- package/dist/application-spec/generate-application/code/common/index.d.ts +1 -0
- package/dist/application-spec/generate-application/code/common/index.js +1 -1
- package/dist/application-spec/generate-application/code/common/project-module-list.d.ts +8 -0
- package/dist/application-spec/generate-application/code/common/project-module-list.js +3 -0
- package/dist/application-spec/generate-application/code/domain-runtime-files.js +1 -1
- package/dist/application-spec/generate-application/code/templates/admin-domain-code.d.ts +1 -2
- package/dist/application-spec/generate-application/code/templates/admin-domain-code.js +6 -14
- package/dist/application-spec/generate-application/code/templates/admin-frontend-code.d.ts +1 -2
- package/dist/application-spec/generate-application/code/templates/admin-frontend-code.js +4 -4
- package/dist/application-spec/generate-application/code/templates/configurator-domain-code.d.ts +1 -2
- package/dist/application-spec/generate-application/code/templates/configurator-domain-code.js +7 -16
- package/dist/application-spec/generate-application/code/templates/configurator-frontend-code.d.ts +1 -2
- package/dist/application-spec/generate-application/code/templates/configurator-frontend-code.js +7 -9
- package/dist/application-spec/generate-application/code/templates/domain-spec/generate-assistant.d.ts +2 -2
- package/dist/application-spec/generate-application/code/templates/domain-spec/generate-assistant.js +1 -1
- package/dist/application-spec/generate-application/code/templates/domain-spec.js +4 -4
- package/dist/application-spec/generate-application/code/templates/domain.js +3 -3
- package/dist/application-spec/generate-application/code/templates/skills/phoenix-create-configurator-skill.js +41 -13
- package/dist/application-spec/generate-application/code/templates/skills/phoenix-review-skill.js +1 -1
- package/dist/application-spec/generate-application/code/templates/skills/phoenix-skill.js +1 -1
- package/dist/application-spec/generate-application/code/templates/skills/sdk-content.d.ts +18 -1
- package/dist/application-spec/generate-application/code/templates/skills/sdk-content.js +17 -3
- package/dist/application-spec/generate-application/code/templates/webhook-builders.js +8 -4
- package/dist/application-spec/generate-application/runtime/sections/assistant-runtime.d.ts +4 -3
- package/dist/application-spec/generate-application/runtime/sections/assistant-runtime.js +1 -1
- package/dist/application-spec/parse-application-files/spec/sections/assistant/assistant-field-type.d.ts +3 -8
- package/dist/application-spec/parse-application-files/spec/sections/assistant/assistant-field-type.js +1 -1
- package/dist/application-spec/parse-application-files/spec/sections/assistant/assistant-schema.d.ts +9 -43
- package/dist/application-spec/parse-application-files/spec/sections/assistant/assistant-schema.js +1 -1
- package/dist/application-spec/parse-application-files/spec/sections/assistant/assistant-server-settings.d.ts +2 -2
- package/dist/application-spec/parse-application-files/spec/sections/assistant/assistant.d.ts +5 -21
- package/dist/client/phoenix-api.d.ts +58 -30
- package/dist/configurator/application-runtime/extensions/systems/assistant-system/assistant-system.d.ts +15 -3
- package/dist/configurator/application-runtime/extensions/systems/assistant-system/assistant-system.js +1 -1
- package/dist/configurator/ui/assistant/AssistantChips.js +1 -1
- package/dist/configurator/ui/assistant/tool-chip.d.ts +8 -1
- package/dist/configurator/ui/assistant/tool-chip.js +1 -1
- package/dist/docs/complex-use-cases/filtered-controls-with-fix-dialog.mdx +84 -98
- package/dist/docs/complex-use-cases/navigation-reset-selection.mdx +18 -12
- package/dist/docs/index.json +1 -1
- package/dist/docs/layouts/custom-price.mdx +14 -16
- package/dist/docs/layouts/sidebar/tabs.mdx +24 -21
- package/dist/docs/other-features/domain-actions.mdx +1 -1
- package/dist/docs/other-features/side-effects.mdx +42 -34
- package/dist/docs/other-features/transformers.mdx +1 -1
- package/dist/docs/phoenix/admin.mdx +9 -24
- package/dist/docs/phoenix/localization.mdx +3 -22
- package/dist/docs/phoenix/phoenix-cli.mdx +1 -1
- package/dist/docs/phoenix/project-structure.mdx +6 -0
- package/dist/docs/phoenix/sdk-builder-workflow.mdx +4 -3
- package/dist/docs/recipes-and-delete/recipe-hierarchy-selection.mdx +15 -13
- package/dist/docs/relations/hierarchy.mdx +13 -2
- package/dist/domain/actions/action-factory.d.ts +4 -4
- package/dist/domain/admin-domain/__generated/enhanced-model.d.ts +1 -2
- package/dist/domain/admin-domain/__generated/model/versions/v1.d.ts +1 -1
- package/dist/domain/admin-domain/__generated/model/versions/v2.d.ts +1 -1
- package/dist/domain/admin-domain/__generated/model/versions/v3.d.ts +1 -1
- package/dist/domain/admin-domain/__generated/model/versions/v4.d.ts +1 -1
- package/dist/domain/admin-domain/__generated/model/versions/v5.d.ts +1 -1
- package/dist/domain/admin-domain/__generated/model/versions/v6.d.ts +2 -2
- package/dist/domain/admin-domain/__generated/model/versions/v6.js +1 -1
- package/dist/domain/admin-domain/implementation/common-admin-expressions.d.ts +1 -4
- package/dist/domain/admin-domain/implementation/common-admin-migrations.d.ts +1 -1
- package/dist/domain/admin-domain/index.d.ts +2 -3
- package/dist/domain/admin-domain/index.js +1 -1
- package/dist/domain/application/admin-page-factories.d.ts +1 -1
- package/dist/domain/application/application-config.d.ts +25 -75
- package/dist/domain/application/assistant/assistant-manifest.d.ts +61 -0
- package/dist/domain/application/assistant/assistant-resolved-manifest.d.ts +95 -0
- package/dist/domain/application/assistant/assistant-value-type.d.ts +9 -0
- package/dist/domain/application/assistant/assistant-value-type.js +1 -0
- package/dist/domain/application/assistant/build-assistant-manifest.d.ts +4 -0
- package/dist/domain/application/assistant/build-assistant-manifest.js +1 -0
- package/dist/{phoenix/application-spec → domain/application/assistant}/generate-assistant-prompt.d.ts +3 -3
- package/dist/{phoenix/application-spec → domain/application/assistant}/generate-assistant-prompt.js +1 -1
- package/dist/domain/application/assistant/index.d.ts +4 -0
- package/dist/domain/application/assistant/index.js +1 -0
- package/dist/domain/application/assistant-field-options.d.ts +2 -3
- package/dist/domain/application/assistant-mutations.d.ts +2 -5
- package/dist/domain/application/assistant-mutations.js +1 -1
- package/dist/domain/application/assistant-recipe-groups.d.ts +2 -6
- package/dist/domain/application/configurator-builder.d.ts +33 -18
- package/dist/domain/application/configurator-builder.js +1 -1
- package/dist/domain/application/element-registration.d.ts +5 -0
- package/dist/domain/application/element-registration.js +1 -1
- package/dist/domain/application/handler-registration.d.ts +5 -0
- package/dist/domain/application/handler-registration.js +1 -1
- package/dist/domain/application/index.d.ts +5 -4
- package/dist/domain/application/index.js +1 -1
- package/dist/domain/application/published-data/create-finalize-admin-domain.d.ts +1 -2
- package/dist/domain/application/published-data/map-published-chunked-data.d.ts +1 -1
- package/dist/domain/application/published-data/map-published-data.d.ts +1 -2
- package/dist/domain/application/resolve-imported-transformers.d.ts +12 -2
- package/dist/domain/application/resolve-imported-transformers.js +1 -1
- package/dist/domain/available-system-components.js +1 -1
- package/dist/domain/core/action.d.ts +5 -6
- package/dist/domain/{components → core/component}/component-reader-types.d.ts +1 -2
- package/dist/domain/{components → core/component}/debug-state-component.d.ts +1 -1
- package/dist/domain/core/component/debug-state-component.js +1 -0
- package/dist/domain/{components → core/component}/domain-component-optic.d.ts +6 -6
- package/dist/domain/core/component/domain-component-optic.js +16 -0
- package/dist/domain/{components → core/component}/drag-state-component.d.ts +1 -1
- package/dist/domain/core/component/drag-state-component.js +1 -0
- package/dist/domain/{components → core/component}/export-state-component.d.ts +1 -1
- package/dist/domain/core/component/export-state-component.js +1 -0
- package/dist/domain/{components → core/component}/fullscreen-state-component.d.ts +1 -1
- package/dist/domain/core/component/fullscreen-state-component.js +1 -0
- package/dist/domain/{components → core/component}/group-components-by-entity-id-and-name.d.ts +1 -2
- package/dist/domain/core/component/group-components-by-entity-id-and-name.js +1 -0
- package/dist/domain/{components → core/component}/hover-state-component.d.ts +1 -1
- package/dist/domain/core/component/hover-state-component.js +1 -0
- package/dist/domain/core/component/index.d.ts +18 -0
- package/dist/domain/core/component/index.js +1 -0
- package/dist/domain/{components → core/component}/legacy-filter.d.ts +2 -2
- package/dist/domain/{components → core/component}/navigation-state-component.d.ts +1 -1
- package/dist/domain/core/component/navigation-state-component.js +1 -0
- package/dist/domain/{components → core/component}/selection-state-component.d.ts +1 -1
- package/dist/domain/core/component/selection-state-component.js +1 -0
- package/dist/domain/{components → core/component}/system-component-builder.d.ts +1 -2
- package/dist/domain/core/component/system-component-builder.js +1 -0
- package/dist/domain/{components → core/component}/system-component-filter.d.ts +3 -3
- package/dist/domain/core/component/system-virtual-entity.js +1 -0
- package/dist/domain/{components → core/component}/tool-state-component.d.ts +1 -1
- package/dist/domain/core/component/tool-state-component.js +1 -0
- package/dist/domain/{components → core/component}/updates.d.ts +1 -2
- package/dist/domain/{components → core/component}/view-state-component.d.ts +1 -1
- package/dist/domain/core/component/view-state-component.js +1 -0
- package/dist/domain/{components → core/component}/viewport-state-component.d.ts +1 -1
- package/dist/domain/core/component/viewport-state-component.js +1 -0
- package/dist/domain/core/decoder/create-decoder.d.ts +6 -0
- package/dist/domain/core/decoder/create-decoder.js +1 -0
- package/dist/domain/core/decoder/decoder.d.ts +6 -0
- package/dist/domain/core/decoder/index.d.ts +2 -0
- package/dist/domain/core/decoder/index.js +1 -0
- package/dist/domain/core/domain-factory.d.ts +3 -4
- package/dist/domain/core/domain-factory.js +1 -1
- package/dist/domain/core/domain.d.ts +3 -4
- package/dist/domain/core/domain.js +1 -1
- package/dist/domain/{expressions → core/expression}/constant-expressions.d.ts +2 -3
- package/dist/domain/core/expression/constant-expressions.js +1 -0
- package/dist/domain/{expressions → core/expression}/custom-expression.d.ts +4 -5
- package/dist/domain/core/expression/custom-expression.js +1 -0
- package/dist/domain/core/{expression.d.ts → expression/expression.d.ts} +6 -8
- package/dist/domain/core/expression/expression.js +1 -0
- package/dist/domain/core/expression/index.d.ts +5 -0
- package/dist/domain/core/expression/index.js +1 -0
- package/dist/domain/{expressions → core/expression}/memoize-expression.d.ts +2 -2
- package/dist/domain/{expressions → core/expression}/prepare-domain-expressions.d.ts +1 -1
- package/dist/domain/core/index.d.ts +9 -17
- package/dist/domain/core/index.js +1 -1
- package/dist/domain/{invariants → core/invariant}/builtin-invariant.d.ts +2 -2
- package/dist/domain/{invariants → core/invariant}/custom-invariants.d.ts +2 -3
- package/dist/domain/core/invariant/custom-invariants.js +1 -0
- package/dist/domain/core/invariant/index.d.ts +5 -0
- package/dist/domain/core/invariant/index.js +1 -0
- package/dist/domain/{invariants → core/invariant}/invariants.d.ts +12 -4
- package/dist/domain/core/invariant/invariants.js +1 -0
- package/dist/domain/core/invariant/violation-component.js +1 -0
- package/dist/domain/{invariants → core/invariant}/violation.d.ts +2 -2
- package/dist/domain/core/{component.d.ts → model/component.d.ts} +1 -1
- package/dist/domain/core/model/index.d.ts +6 -0
- package/dist/domain/core/model/index.js +1 -0
- package/dist/domain/core/{reflection.d.ts → model/reflection.d.ts} +1 -1
- package/dist/domain/core/model/reflection.js +1 -0
- package/dist/domain/core/schema/enhanced-json-schema.js +1 -0
- package/dist/domain/core/schema/extended-schema-validator.js +1 -0
- package/dist/domain/core/schema/index.d.ts +3 -0
- package/dist/domain/core/schema/index.js +1 -0
- package/dist/domain/core/schema/schema-validator.js +1 -0
- package/dist/domain/core/state/id-sequence.d.ts +15 -0
- package/dist/domain/core/state/id-sequence.js +1 -0
- package/dist/domain/core/state/index.d.ts +3 -0
- package/dist/domain/core/state/index.js +1 -0
- package/dist/domain/core/{migrations.d.ts → state/migrations.d.ts} +1 -2
- package/dist/domain/core/{state.d.ts → state/state.d.ts} +1 -2
- package/dist/domain/domain-builder.d.ts +11 -8
- package/dist/domain/domain-builder.js +1 -1
- package/dist/domain/domain-context/action-system/action-system.d.ts +1 -3
- package/dist/domain/domain-context/action-system/action-system.js +1 -1
- package/dist/domain/domain-context/create-transformer.d.ts +1 -1
- package/dist/domain/domain-context/dimension-system/dimension-state.js +1 -1
- package/dist/domain/domain-context/dimension-system/dimension-system.d.ts +1 -2
- package/dist/domain/domain-context/domain-context-systems.d.ts +1 -3
- package/dist/domain/domain-context/index.d.ts +1 -1
- package/dist/domain/domain-context/navigation-system/navigation-system.d.ts +3 -5
- package/dist/domain/domain-context/navigation-system/navigation-system.js +1 -1
- package/dist/domain/domain-context/navigation-system/navigation-updates.d.ts +1 -12
- package/dist/domain/domain-context/navigation-system/navigation-updates.js +1 -1
- package/dist/domain/domain-context/navigation-system/selection-transformers.d.ts +1 -1
- package/dist/domain/domain-context/navigation-system/selection-transformers.js +1 -1
- package/dist/domain/domain-context/recipe-system/recipe-cooker-system.d.ts +1 -2
- package/dist/domain/domain-context/recipe-system/recipe-cooker-system.js +1 -1
- package/dist/domain/domain-context/recipe-system/recipes.d.ts +1 -3
- package/dist/domain/domain-context/recipe-system/recipes.js +1 -1
- package/dist/domain/domain-context/relation-transformers/cascade-deletes.d.ts +1 -1
- package/dist/domain/domain-context/relation-transformers/cascade-deletes.js +1 -1
- package/dist/domain/domain-context/relation-transformers/cascade-ref-pruning.d.ts +1 -1
- package/dist/domain/domain-context/relation-transformers/cascade-ref-pruning.js +1 -1
- package/dist/domain/domain-context/relation-transformers/create-entity-refs.d.ts +1 -1
- package/dist/domain/domain-context/relation-transformers/create-entity-refs.js +2 -2
- package/dist/domain/domain-context/relation-transformers/replace-refs.d.ts +1 -1
- package/dist/domain/domain-context/relation-transformers/replace-refs.js +1 -1
- package/dist/domain/domain-context/store-system/apply-updates.d.ts +1 -3
- package/dist/domain/domain-context/store-system/apply-updates.js +1 -1
- package/dist/domain/domain-context/store-system/next-domain-entity-id.d.ts +1 -13
- package/dist/domain/domain-context/store-system/next-domain-entity-id.js +1 -1
- package/dist/domain/domain-context/store-system/reconcile-projected-entities.d.ts +1 -2
- package/dist/domain/domain-context/store-system/reconcile-projected-entities.js +1 -1
- package/dist/domain/domain-context/store-system/store-system.d.ts +1 -5
- package/dist/domain/domain-context/store-system/store-system.js +2 -2
- package/dist/domain/domain-context/store-system/system-state.d.ts +1 -3
- package/dist/domain/domain-context/store-system/system-state.js +1 -1
- package/dist/domain/domain-context/transformers/actions-builder.d.ts +1 -2
- package/dist/domain/domain-context/transformers/actions-builder.js +1 -1
- package/dist/domain/domain-context/transformers/auto-snap-transformer.d.ts +1 -3
- package/dist/domain/domain-context/transformers/chain-builder.d.ts +2 -2
- package/dist/domain/domain-context/transformers/context.d.ts +1 -5
- package/dist/domain/domain-context/transformers/entity-builder.d.ts +1 -5
- package/dist/domain/domain-context/transformers/entity-builder.js +1 -1
- package/dist/domain/domain-context/transformers/then-builder.d.ts +1 -2
- package/dist/domain/domain-context/transformers/then-builder.js +1 -1
- package/dist/domain/domain-context/transformers/when-builder.d.ts +1 -6
- package/dist/domain/domain-context/transformers/when-builder.js +1 -1
- package/dist/domain/domain-context/undo-system.d.ts +1 -1
- package/dist/domain/domain-runtime/domain-context/component-reader.d.ts +1 -4
- package/dist/domain/domain-runtime/domain-context/component-reader.js +1 -1
- package/dist/domain/domain-runtime/domain-context/selectors.d.ts +1 -3
- package/dist/domain/domain-runtime/domain-context/selectors.js +1 -1
- package/dist/domain/domain-runtime/domain-runtime.d.ts +4 -4
- package/dist/domain/domain-runtime/spec/initialize.js +1 -1
- package/dist/domain/domain-runtime/spec/selectors.d.ts +2 -2
- package/dist/domain/domain-runtime/spec/selectors.js +1 -1
- package/dist/domain/domain-runtime/spec/types.d.ts +4 -5
- package/dist/domain/index.d.ts +1 -25
- package/dist/domain/index.js +1 -1
- package/dist/domain/mocks/create-mock-domain-runtime.d.ts +3 -3
- package/dist/domain/mocks/create-mock-domain-runtime.js +1 -1
- package/dist/domain/project-modules/index.d.ts +1 -0
- package/dist/domain/project-modules/index.js +1 -0
- package/dist/domain/project-modules/project-modules.d.ts +41 -0
- package/dist/domain/project-modules/project-modules.js +1 -0
- package/dist/domain/projections/blender-projections/blender-projections.d.ts +1 -1
- package/dist/domain/projections/blender-projections/blender-projections.js +1 -1
- package/dist/domain/projections/composition-projections.js +1 -1
- package/dist/domain/projections/projected-entities-projections.d.ts +1 -2
- package/dist/domain/projections/snap-matching.d.ts +1 -2
- package/dist/domain/projections/snap-utils.d.ts +1 -2
- package/dist/domain/projections/validation-projections.d.ts +1 -2
- package/dist/domain/projections/validation-projections.js +1 -1
- package/dist/domain/relations/all-of-type-relation.d.ts +1 -4
- package/dist/domain/relations/all-of-type-relation.js +1 -1
- package/dist/domain/relations/component-factories.d.ts +1 -2
- package/dist/domain/relations/composed-of.d.ts +1 -1
- package/dist/domain/relations/composed-of.js +1 -1
- package/dist/domain/relations/direct-relation.d.ts +1 -3
- package/dist/domain/relations/indirect-relation.d.ts +1 -4
- package/dist/domain/relations/indirect-relation.js +1 -1
- package/dist/domain/relations/reference-component.d.ts +3 -5
- package/dist/domain/relations/reference-component.js +1 -1
- package/dist/domain/relations/reference-field.d.ts +1 -1
- package/dist/domain/relations/relation-factory.d.ts +1 -3
- package/dist/domain/relations/relation-implementation.d.ts +1 -4
- package/dist/domain/system-components/admin-sidebar.d.ts +1 -1
- package/dist/domain/system-components/admin-sidebar.js +1 -1
- package/dist/domain/system-components/angle-dimension.js +1 -1
- package/dist/domain/system-components/angle-indicator.d.ts +1 -1
- package/dist/domain/system-components/angle-indicator.js +1 -1
- package/dist/domain/system-components/application-config.d.ts +1 -1
- package/dist/domain/system-components/application-config.js +1 -1
- package/dist/domain/system-components/attribute-selection.js +1 -1
- package/dist/domain/system-components/attribute-switch.js +1 -1
- package/dist/domain/system-components/autorotate-camera-component.d.ts +1 -1
- package/dist/domain/system-components/autorotate-camera-component.js +1 -1
- package/dist/domain/system-components/basic-sidebar-footer.d.ts +1 -1
- package/dist/domain/system-components/basic-sidebar-footer.js +1 -1
- package/dist/domain/system-components/bounding-box-component.d.ts +1 -1
- package/dist/domain/system-components/bounding-box-component.js +1 -1
- package/dist/domain/system-components/bounding-sphere-component.d.ts +1 -1
- package/dist/domain/system-components/bounding-sphere-component.js +1 -1
- package/dist/domain/system-components/camera-based-hidden-entity-object.js +1 -1
- package/dist/domain/system-components/camera-based-hidden-entity.js +1 -1
- package/dist/domain/system-components/canvas-config.d.ts +1 -1
- package/dist/domain/system-components/canvas-config.js +1 -1
- package/dist/domain/system-components/canvas-custom-environment.js +1 -1
- package/dist/domain/system-components/canvas-padding.d.ts +1 -1
- package/dist/domain/system-components/canvas-padding.js +1 -1
- package/dist/domain/system-components/canvas-preset-environment.d.ts +1 -1
- package/dist/domain/system-components/canvas-preset-environment.js +1 -1
- package/dist/domain/system-components/child-entity-recipe-hierarchy.d.ts +1 -1
- package/dist/domain/system-components/child-entity-recipe-hierarchy.js +1 -1
- package/dist/domain/system-components/child-entity-recipes.d.ts +1 -1
- package/dist/domain/system-components/child-entity-recipes.js +1 -1
- package/dist/domain/system-components/child-entity-selection.d.ts +1 -1
- package/dist/domain/system-components/child-entity-selection.js +1 -1
- package/dist/domain/system-components/client-side-image.js +1 -1
- package/dist/domain/system-components/collision-box-geometry.d.ts +1 -1
- package/dist/domain/system-components/collision-box-geometry.js +1 -1
- package/dist/domain/system-components/collision-geometries.d.ts +1 -1
- package/dist/domain/system-components/collision-geometry.d.ts +1 -1
- package/dist/domain/system-components/collision-geometry.js +1 -1
- package/dist/domain/system-components/collision-point-geometry.d.ts +1 -1
- package/dist/domain/system-components/collision-point-geometry.js +1 -1
- package/dist/domain/system-components/color-value.js +1 -1
- package/dist/domain/system-components/common/dimension-indicator-schema.d.ts +1 -1
- package/dist/domain/system-components/common/dimension-indicator-schema.js +1 -1
- package/dist/domain/system-components/constraint.d.ts +1 -1
- package/dist/domain/system-components/constraint.js +1 -1
- package/dist/domain/system-components/create-blueprint.d.ts +1 -1
- package/dist/domain/system-components/custom-header.d.ts +1 -1
- package/dist/domain/system-components/custom-header.js +1 -1
- package/dist/domain/system-components/custom-price-footer.js +1 -1
- package/dist/domain/system-components/custom-scene-entity.d.ts +1 -1
- package/dist/domain/system-components/custom-scene-entity.js +1 -1
- package/dist/domain/system-components/custom-sidebar-footer.d.ts +1 -1
- package/dist/domain/system-components/custom-sidebar-footer.js +1 -1
- package/dist/domain/system-components/detail.js +1 -1
- package/dist/domain/system-components/dimension-indicator.d.ts +1 -1
- package/dist/domain/system-components/dimension-indicator.js +1 -1
- package/dist/domain/system-components/distance-dimension-select.d.ts +1 -1
- package/dist/domain/system-components/distance-dimension-select.js +1 -1
- package/dist/domain/system-components/distance-dimension.d.ts +1 -1
- package/dist/domain/system-components/distance-dimension.js +1 -1
- package/dist/domain/system-components/drag-handle.d.ts +1 -1
- package/dist/domain/system-components/drag-handle.js +1 -1
- package/dist/domain/system-components/editable-angle-indicator.d.ts +1 -1
- package/dist/domain/system-components/editable-angle-indicator.js +1 -1
- package/dist/domain/system-components/editable-distance-dimension-indicator.d.ts +1 -1
- package/dist/domain/system-components/editable-distance-dimension-indicator.js +1 -1
- package/dist/domain/system-components/editable-offset-indicator.d.ts +1 -1
- package/dist/domain/system-components/editable-offset-indicator.js +1 -1
- package/dist/domain/system-components/editable-size-indicator.d.ts +1 -1
- package/dist/domain/system-components/editable-size-indicator.js +1 -1
- package/dist/domain/system-components/entity-header.js +1 -1
- package/dist/domain/system-components/exit-tool-mode-fab.d.ts +1 -1
- package/dist/domain/system-components/exit-tool-mode-fab.js +1 -1
- package/dist/domain/system-components/finalize-action.d.ts +1 -1
- package/dist/domain/system-components/finalize-action.js +1 -1
- package/dist/domain/system-components/finalize-component.js +1 -1
- package/dist/domain/system-components/fit-entity-orthographic-camera-component.js +1 -1
- package/dist/domain/system-components/fit-entity-perspective-camera-component.js +1 -1
- package/dist/domain/system-components/fit-root-orthographic-camera-component.js +1 -1
- package/dist/domain/system-components/fit-root-perspective-camera-component.js +1 -1
- package/dist/domain/system-components/fit-selection-orthographic-camera-component.js +1 -1
- package/dist/domain/system-components/fit-selection-perspective-camera-component.js +1 -1
- package/dist/domain/system-components/fixed-header.d.ts +1 -1
- package/dist/domain/system-components/fixed-header.js +1 -1
- package/dist/domain/system-components/floating-header.d.ts +1 -1
- package/dist/domain/system-components/floating-header.js +1 -1
- package/dist/domain/system-components/generic-dimension.d.ts +1 -1
- package/dist/domain/system-components/generic-dimension.js +1 -1
- package/dist/domain/system-components/hidden-entity.js +1 -1
- package/dist/domain/system-components/hidden-header.d.ts +1 -1
- package/dist/domain/system-components/hidden-header.js +1 -1
- package/dist/domain/system-components/hidden-sidebar-footer.d.ts +1 -1
- package/dist/domain/system-components/hidden-sidebar-footer.js +1 -1
- package/dist/domain/system-components/horizontal-tabs.d.ts +1 -1
- package/dist/domain/system-components/horizontal-tabs.js +1 -1
- package/dist/domain/system-components/hotspot-drag-handle.d.ts +1 -2
- package/dist/domain/system-components/hotspot-drag-handle.js +1 -1
- package/dist/domain/system-components/list-selector-dimension-indicator.d.ts +1 -1
- package/dist/domain/system-components/list-selector-dimension-indicator.js +1 -1
- package/dist/domain/system-components/material-override-property-transition.js +1 -1
- package/dist/domain/system-components/material-override-transformer.js +1 -1
- package/dist/domain/system-components/material-swatch.js +1 -1
- package/dist/domain/system-components/multilingual-text-value.js +1 -1
- package/dist/domain/system-components/navigation-page.js +1 -1
- package/dist/domain/system-components/navigation-panel-list.js +1 -1
- package/dist/domain/system-components/navigation-steps.js +1 -1
- package/dist/domain/system-components/offset-anchors.d.ts +1 -1
- package/dist/domain/system-components/offset-anchors.js +1 -1
- package/dist/domain/system-components/offset-indicator.d.ts +1 -2
- package/dist/domain/system-components/offset-indicator.js +1 -1
- package/dist/domain/system-components/offset.d.ts +1 -1
- package/dist/domain/system-components/offset.js +1 -1
- package/dist/domain/system-components/other-action.d.ts +1 -1
- package/dist/domain/system-components/other-action.js +1 -1
- package/dist/domain/system-components/pivot-point.d.ts +1 -1
- package/dist/domain/system-components/pivot-point.js +1 -1
- package/dist/domain/system-components/price.js +1 -1
- package/dist/domain/system-components/projected-entities.d.ts +1 -1
- package/dist/domain/system-components/projected-entities.js +1 -1
- package/dist/domain/system-components/property-page.d.ts +1 -1
- package/dist/domain/system-components/property-page.js +1 -1
- package/dist/domain/system-components/read-sidebar-footer.d.ts +1 -1
- package/dist/domain/system-components/read-sidebar-footer.js +1 -1
- package/dist/domain/system-components/replace-entity-recipe-hierarchy.d.ts +1 -1
- package/dist/domain/system-components/replace-entity-recipe-hierarchy.js +1 -1
- package/dist/domain/system-components/replace-entity-recipes.d.ts +1 -1
- package/dist/domain/system-components/replace-entity-recipes.js +1 -1
- package/dist/domain/system-components/rotatable.js +1 -1
- package/dist/domain/system-components/rotation-handle.js +1 -1
- package/dist/domain/system-components/save-template-thumbnail.js +1 -1
- package/dist/domain/system-components/scene-entity-add-fab.js +1 -1
- package/dist/domain/system-components/scene-entity-ambient-light.js +1 -1
- package/dist/domain/system-components/scene-entity-animation.js +1 -1
- package/dist/domain/system-components/scene-entity-box-object.js +1 -1
- package/dist/domain/system-components/scene-entity-control.js +1 -1
- package/dist/domain/system-components/scene-entity-delete-fab.js +1 -1
- package/dist/domain/system-components/scene-entity-directional-light.js +1 -1
- package/dist/domain/system-components/scene-entity-floor-object.js +1 -1
- package/dist/domain/system-components/scene-entity-html-hotspot.js +1 -1
- package/dist/domain/system-components/scene-entity-local-material-override.js +1 -1
- package/dist/domain/system-components/scene-entity-material-override.js +1 -1
- package/dist/domain/system-components/scene-entity-navigation-hotspot.js +1 -1
- package/dist/domain/system-components/scene-entity-object-clip.js +1 -1
- package/dist/domain/system-components/scene-entity-object-decal.js +1 -1
- package/dist/domain/system-components/scene-entity-object-group.js +1 -1
- package/dist/domain/system-components/scene-entity-object-html-hotspot.js +1 -1
- package/dist/domain/system-components/scene-entity-object-local-material-override.js +1 -1
- package/dist/domain/system-components/scene-entity-object-material-override.js +1 -1
- package/dist/domain/system-components/scene-entity-object-properties.js +1 -1
- package/dist/domain/system-components/scene-entity-object-remote-material-override.js +1 -1
- package/dist/domain/system-components/scene-entity-object-text-decal.js +1 -1
- package/dist/domain/system-components/scene-entity-object-transformer.js +1 -1
- package/dist/domain/system-components/scene-entity-object-transimissive-material-override.js +1 -1
- package/dist/domain/system-components/scene-entity-object.js +1 -1
- package/dist/domain/system-components/scene-entity-point-light.js +1 -1
- package/dist/domain/system-components/scene-entity-properties.js +1 -1
- package/dist/domain/system-components/scene-entity-rect-area-light.js +1 -1
- package/dist/domain/system-components/scene-entity-remote-material-override.js +1 -1
- package/dist/domain/system-components/scene-entity-remote-object.js +1 -1
- package/dist/domain/system-components/scene-entity-select-hotspot.js +1 -1
- package/dist/domain/system-components/scene-entity-spot-light.js +1 -1
- package/dist/domain/system-components/scene-entity-transimissive-material-override.js +1 -1
- package/dist/domain/system-components/scene-entity-wall-object.js +1 -1
- package/dist/domain/system-components/selectable-component.js +1 -1
- package/dist/domain/system-components/sidebar-tabs.d.ts +1 -1
- package/dist/domain/system-components/sidebar-tabs.js +1 -1
- package/dist/domain/system-components/simple-summary.js +1 -1
- package/dist/domain/system-components/size.d.ts +1 -1
- package/dist/domain/system-components/size.js +1 -1
- package/dist/domain/system-components/sketching-draw.d.ts +1 -1
- package/dist/domain/system-components/sketching-draw.js +1 -1
- package/dist/domain/system-components/sketching-edit.d.ts +1 -1
- package/dist/domain/system-components/sketching-edit.js +1 -1
- package/dist/domain/system-components/sketching-line.d.ts +1 -1
- package/dist/domain/system-components/sketching-line.js +1 -1
- package/dist/domain/system-components/sketching-rectangle.d.ts +1 -1
- package/dist/domain/system-components/sketching-rectangle.js +1 -1
- package/dist/domain/system-components/sketching.d.ts +1 -1
- package/dist/domain/system-components/sketching.js +1 -1
- package/dist/domain/system-components/snap-axis.d.ts +1 -1
- package/dist/domain/system-components/snap-axis.js +1 -1
- package/dist/domain/system-components/snap-edge.d.ts +1 -1
- package/dist/domain/system-components/snap-edge.js +1 -1
- package/dist/domain/system-components/snap-plane.d.ts +1 -1
- package/dist/domain/system-components/snap-plane.js +1 -1
- package/dist/domain/system-components/snap-point.d.ts +1 -1
- package/dist/domain/system-components/snap-point.js +1 -1
- package/dist/domain/system-components/static-orthographic-camera-component.d.ts +1 -1
- package/dist/domain/system-components/static-orthographic-camera-component.js +1 -1
- package/dist/domain/system-components/static-perspective-camera-component.d.ts +1 -1
- package/dist/domain/system-components/static-perspective-camera-component.js +1 -1
- package/dist/domain/system-components/summary-component.js +1 -1
- package/dist/domain/system-components/text-value.js +1 -1
- package/dist/domain/system-components/tool-controls.js +1 -1
- package/dist/domain/system-components/tool-menu-fab.d.ts +1 -1
- package/dist/domain/system-components/tool-menu-fab.js +1 -1
- package/dist/domain/system-components/toolbar.d.ts +1 -1
- package/dist/domain/system-components/toolbar.js +1 -1
- package/dist/domain/system-components/universal-sidebar-footer.d.ts +1 -1
- package/dist/domain/system-components/universal-sidebar-footer.js +1 -1
- package/dist/domain/system-components/view-controls.js +1 -1
- package/dist/domain/utils/eval-cache.d.ts +1 -2
- package/dist/domain/utils/memo-eval.d.ts +1 -3
- package/dist/editor/domain-editors/use-implementation-files.d.ts +7 -6
- package/dist/editor/domain-editors/use-implementation-files.js +1 -1
- 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-cli/gen/configurator-builder.js +21 -8
- package/dist/legacy/domain-cli/utils/cache.d.ts +1 -1
- package/dist/legacy/domain-cli/utils/cache.js +1 -1
- package/dist/legacy/phoenix-cli/project-gen/generators/file-templates/frontend-admin.js +18 -19
- package/dist/legacy/phoenix-cli/project-gen/generators/file-templates/frontend-configurator.js +15 -16
- package/dist/legacy/phoenix-cli/project-gen/generators/file-templates/frontend-embedded-admin.js +22 -23
- package/dist/legacy/phoenix-cli/project-gen/generators/file-templates/frontend-embedded-configurator.js +15 -16
- package/dist/legacy/phoenix-cli/project-gen/generators/file-templates/generator-shared.d.ts +7 -2
- package/dist/legacy/phoenix-cli/project-gen/generators/file-templates/generator-shared.js +8 -12
- package/dist/legacy/phoenix-cli/project-gen/generators/file-templates/index.d.ts +1 -1
- package/dist/legacy/phoenix-cli/project-gen/generators/file-templates/index.js +1 -1
- package/dist/legacy/phoenix-cli/project-gen/generators/file-templates/webhook-builders.js +7 -7
- package/dist/phoenix/application-spec/resolve-deployment-data.d.ts +4 -3
- package/dist/phoenix/application-spec/resolve-deployment-data.js +2 -2
- package/dist/phoenix/commands/prepare-deployment-command.js +2 -2
- package/dist/phoenix/commands/prepare-local-environment-command.js +1 -1
- package/dist/phoenix/scripts/build-admin.js +1 -1
- package/dist/phoenix/services/prepare-development-environment.js +1 -1
- package/dist/phoenix/services/variant-file-session.js +1 -1
- package/dist/react-sdk/application-runtime/hooks/use-domain-application-props.d.ts +5 -2
- package/dist/react-sdk/application-runtime/hooks/use-spec.d.ts +1 -1
- package/dist/react-sdk/application-runtime/mocks/create-mock-application-runtime.d.ts +1 -1
- package/dist/react-sdk/application-runtime/mocks/create-mock-application-runtime.js +1 -1
- package/dist/react-sdk/application-runtime/runtime/create-application-runtime.d.ts +4 -4
- package/dist/webhook/builders/common.d.ts +3 -0
- package/dist/webhook/builders/webhook-builder.d.ts +1 -1
- package/dist/webhook/builders/webhook-builder.js +1 -1
- package/package.json +3 -3
- package/dist/domain/components/debug-state-component.js +0 -1
- package/dist/domain/components/domain-component-optic.js +0 -16
- package/dist/domain/components/drag-state-component.js +0 -1
- package/dist/domain/components/export-state-component.js +0 -1
- package/dist/domain/components/fullscreen-state-component.js +0 -1
- package/dist/domain/components/group-components-by-entity-id-and-name.js +0 -1
- package/dist/domain/components/hover-state-component.js +0 -1
- package/dist/domain/components/index.d.ts +0 -2
- package/dist/domain/components/index.js +0 -1
- package/dist/domain/components/navigation-state-component.js +0 -1
- package/dist/domain/components/selection-state-component.js +0 -1
- package/dist/domain/components/system-component-builder.js +0 -1
- package/dist/domain/components/system-virtual-entity.js +0 -1
- package/dist/domain/components/tool-state-component.js +0 -1
- package/dist/domain/components/view-state-component.js +0 -1
- package/dist/domain/components/viewport-state-component.js +0 -1
- package/dist/domain/core/json-schema.js +0 -1
- package/dist/domain/core/reflection.js +0 -1
- package/dist/domain/expressions/constant-expressions.js +0 -1
- package/dist/domain/expressions/custom-expression.js +0 -1
- package/dist/domain/expressions/index.d.ts +0 -1
- package/dist/domain/expressions/index.js +0 -1
- package/dist/domain/invariants/custom-invariants.js +0 -1
- package/dist/domain/invariants/invariants.js +0 -1
- package/dist/domain/invariants/violation-component.js +0 -1
- /package/dist/domain/{components/component-reader-types.js → application/assistant/assistant-manifest.js} +0 -0
- /package/dist/domain/{core/enhanced-json-schema.js → application/assistant/assistant-resolved-manifest.js} +0 -0
- /package/dist/domain/core/{expression.js → component/component-reader-types.js} +0 -0
- /package/dist/domain/{components → core/component}/legacy-filter.js +0 -0
- /package/dist/domain/{components → core/component}/system-component-filter.js +0 -0
- /package/dist/domain/{components → core/component}/system-virtual-entity.d.ts +0 -0
- /package/dist/domain/{components → core/component}/updates.js +0 -0
- /package/dist/domain/core/{schema-validator.js → decoder/decoder.js} +0 -0
- /package/dist/domain/{expressions → core/expression}/memoize-expression.js +0 -0
- /package/dist/domain/{expressions → core/expression}/prepare-domain-expressions.js +0 -0
- /package/dist/domain/{invariants → core/invariant}/builtin-invariant.js +0 -0
- /package/dist/domain/{invariants → core/invariant}/violation-component.d.ts +0 -0
- /package/dist/domain/{invariants → core/invariant}/violation.js +0 -0
- /package/dist/domain/core/{alias.d.ts → model/alias.d.ts} +0 -0
- /package/dist/domain/core/{alias.js → model/alias.js} +0 -0
- /package/dist/domain/core/{common-definitions.d.ts → model/common-definitions.d.ts} +0 -0
- /package/dist/domain/core/{common-definitions.js → model/common-definitions.js} +0 -0
- /package/dist/domain/core/{component.js → model/component.js} +0 -0
- /package/dist/domain/core/{model.d.ts → model/model.d.ts} +0 -0
- /package/dist/domain/core/{model.js → model/model.js} +0 -0
- /package/dist/domain/core/{preset.d.ts → model/preset.d.ts} +0 -0
- /package/dist/domain/core/{preset.js → model/preset.js} +0 -0
- /package/dist/domain/core/{schema-validator-ajv.d.ts → schema/create-ajv-schema-validator.d.ts} +0 -0
- /package/dist/domain/core/{schema-validator-ajv.js → schema/create-ajv-schema-validator.js} +0 -0
- /package/dist/domain/core/{schema-validator-csp.d.ts → schema/create-csp-schema-validator.d.ts} +0 -0
- /package/dist/domain/core/{schema-validator-csp.js → schema/create-csp-schema-validator.js} +0 -0
- /package/dist/domain/core/{enhanced-json-schema.d.ts → schema/enhanced-json-schema.d.ts} +0 -0
- /package/dist/domain/core/{json-schema.d.ts → schema/extended-schema-validator.d.ts} +0 -0
- /package/dist/domain/core/{schema-validator.d.ts → schema/schema-validator.d.ts} +0 -0
- /package/dist/domain/core/{migrations.js → state/migrations.js} +0 -0
- /package/dist/domain/core/{state.js → state/state.js} +0 -0
package/dist/domain/system-components/scene-entity-object-transimissive-material-override.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{SystemComponentBuilder as e
|
|
1
|
+
import{SystemComponentBuilder as e,isSnapshotOfComponentType as t}from"../core/index.js";export const sceneEntityObjectTransmissiveMaterialOverrideComponent=e.component("sceneEntityObjectTransmissiveMaterialOverride").withState({type:"object",tsType:"SceneEntityObjectMaterialOverrideComponentState",import:[{module:"@salsita-ai/sdk/domain",member:"SceneEntityObjectTransmissiveMaterialOverrideComponentState"}],properties:{materialsToOverride:{type:"array",items:{type:"string"}},transmission:{type:"number"},thickness:{type:"number"},roughness:{type:"number"},chromaticAberration:{type:"number"},anisotropy:{type:"number"},anisotropicBlur:{type:"number"},distortion:{type:"number"},distortionScale:{type:"number"},temporalDistortion:{type:"number"},time:{type:"number"},transmissionSampler:{type:"boolean"},backside:{type:"boolean"},backsideThickness:{type:"number"},resolution:{type:"number"},backsideResolution:{type:"number"},samples:{type:"number"},ior:{type:"number"},clearcoat:{type:"number"},color:{type:"string"}},required:["materialsToOverride"],additionalProperties:!1}).build();export const isSceneEntityObjectTransmissiveMaterialOverrideSnapshot=t(sceneEntityObjectTransmissiveMaterialOverrideComponent);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{SystemComponentBuilder as e
|
|
1
|
+
import{SystemComponentBuilder as e,isSnapshotOfComponentType as t}from"../core/index.js";import{ReactNodeSchema as n}from"./common/react-node-schema.js";export const sceneEntityObjectComponent=e.component("sceneEntityObject").withState({type:"object",tsType:"SceneEntityObjectComponentState",import:[{module:"@salsita-ai/sdk/domain",member:"SceneEntityObjectComponentState"}],properties:{object:{type:"object"},name:{type:"string"},node:n},required:[],additionalProperties:!1}).build();export const isSceneEntityObjectComponent=t(sceneEntityObjectComponent);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{SystemComponentBuilder as t
|
|
1
|
+
import{SystemComponentBuilder as t,isSnapshotOfComponentType as e}from"../core/index.js";export const sceneEntityPointLightComponent=t.component("sceneEntityPointLight").withState({type:"object",tsType:"SceneEntityPointLightComponentState",import:[{module:"@salsita-ai/sdk/domain",member:"SceneEntityPointLightComponentState"}],properties:{offsetX:{type:"number"},offsetY:{type:"number"},offsetZ:{type:"number"},color:{type:"string"},intensity:{type:"number"},distance:{type:"number"},decay:{type:"number"},castShadow:{type:"boolean"},blender:{type:"object",properties:{intensity:{type:"number"},radius:{type:"number"},specularFactor:{type:"number"},diffuseFactor:{type:"number"},volumeFactor:{type:"number"}},additionalProperties:!1}},required:[],additionalProperties:!1}).build();export const isSceneEntityPointLightComponent=e(sceneEntityPointLightComponent);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{SystemComponentBuilder as e}from"../
|
|
1
|
+
import{SystemComponentBuilder as e}from"../core/index.js";export const sceneEntityPropertiesComponent=e.component("sceneEntityProperties").withState({type:"object",tsType:"SceneEntityPropertiesComponentState",import:[{module:"@salsita-ai/sdk/domain",member:"SceneEntityPropertiesComponentState"}],properties:{offsetX:{type:"number"},offsetY:{type:"number"},offsetZ:{type:"number"},rotationX:{type:"number"},rotationY:{type:"number"},rotationZ:{type:"number"},scaleX:{type:"number"},scaleY:{type:"number"},scaleZ:{type:"number"}},required:[],additionalProperties:!1}).build();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{SystemComponentBuilder as e
|
|
1
|
+
import{SystemComponentBuilder as e,isSnapshotOfComponentType as t}from"../core/index.js";export const sceneEntityRectAreaLightComponent=e.component("sceneEntityRectAreaLight").withState({type:"object",tsType:"SceneEntityRectAreaLightComponentState",import:[{module:"@salsita-ai/sdk/domain",member:"SceneEntityRectAreaLightComponentState"}],properties:{offsetX:{type:"number"},offsetY:{type:"number"},offsetZ:{type:"number"},targetX:{type:"number"},targetY:{type:"number"},targetZ:{type:"number"},color:{type:"string"},intensity:{type:"number"},width:{type:"number"},height:{type:"number"},roll:{type:"number"},blender:{type:"object",properties:{intensity:{type:"number"},shape:{type:"string",enum:["SQUARE","RECTANGLE","DISK","ELLIPSE"]},spread:{type:"number"},specularFactor:{type:"number"},diffuseFactor:{type:"number"},volumeFactor:{type:"number"}},additionalProperties:!1}},required:[],additionalProperties:!1}).build();export const isSceneEntityRectAreaLightComponent=t(sceneEntityRectAreaLightComponent);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{SystemComponentBuilder as e
|
|
1
|
+
import{SystemComponentBuilder as e,isSnapshotOfComponentType as t}from"../core/index.js";import{MaterialOverrideProperties as i}from"./common/index.js";export const sceneEntityRemoteMaterialOverrideComponent=e.component("sceneEntityRemoteMaterialOverride").withState({type:"object",tsType:"SceneEntityRemoteMaterialOverrideComponentState",import:[{module:"@salsita-ai/sdk/domain",member:"SceneEntityRemoteMaterialOverrideComponentState"}],properties:{fileUrl:{type:"string"},materialName:{type:"string"},...i},required:["fileUrl","materialName","materialsToOverride"],additionalProperties:!1}).build();export const isSceneEntityRemoteMaterialOverrideComponentSnapshot=t(sceneEntityRemoteMaterialOverrideComponent);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{SystemComponentBuilder as e
|
|
1
|
+
import{SystemComponentBuilder as e,isSnapshotOfComponentType as t}from"../core/index.js";import{DimensionUnitSchema as o}from"../dimensions/dimensions.js";export const sceneEntityRemoteObjectComponent=e.component("sceneEntityRemoteObject").withState({type:"object",tsType:"SceneEntityRemoteObjectComponentState",import:[{module:"@salsita-ai/sdk/domain",member:"SceneEntityRemoteObjectComponentState"}],properties:{fileUrl:{type:"string"},objectName:{type:"string"},dimensionUnit:o},required:["fileUrl","objectName"],additionalProperties:!1}).build();export const isSceneEntityRemoteObjectComponent=t(sceneEntityRemoteObjectComponent);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{SystemComponentBuilder as t
|
|
1
|
+
import{SystemComponentBuilder as t,isSnapshotOfComponentType as e}from"../core/index.js";import{SceneHtmlOpacityProperties as o,SceneHtmlPositionProperties as n,SceneHtmlTooltipProperties as p,SceneHtmlVisibilityProperties as s}from"./common/scene-entity-control-schema.js";export const sceneEntitySelectHotspotComponent=t.component("sceneEntitySelectHotspot").withState({tsType:"SceneEntitySelectHotspotComponentState",import:[{module:"@salsita-ai/sdk/domain",member:"SceneEntitySelectHotspotComponentState"}],type:"object",properties:{...n,...o,...s,...p},required:[],additionalProperties:!1}).build();export const isSceneEntitySelectHotspotComponentSnapshot=e(sceneEntitySelectHotspotComponent);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{SystemComponentBuilder as e
|
|
1
|
+
import{SystemComponentBuilder as e,isSnapshotOfComponentType as t}from"../core/index.js";export const sceneEntitySpotLightComponent=e.component("sceneEntitySpotLight").withState({type:"object",tsType:"SceneEntitySpotLightComponentState",import:[{module:"@salsita-ai/sdk/domain",member:"SceneEntitySpotLightComponentState"}],properties:{offsetX:{type:"number"},offsetY:{type:"number"},offsetZ:{type:"number"},color:{type:"string"},intensity:{type:"number"},distance:{type:"number"},angle:{type:"number"},penumbra:{type:"number"},decay:{type:"number"},castShadow:{type:"boolean"},targetX:{type:"number"},targetY:{type:"number"},targetZ:{type:"number"},blender:{type:"object",properties:{intensity:{type:"number"},radius:{type:"number"},showCone:{type:"boolean"},useSquare:{type:"boolean"},specularFactor:{type:"number"},diffuseFactor:{type:"number"},volumeFactor:{type:"number"}},additionalProperties:!1}},required:[],additionalProperties:!1}).build();export const isSceneEntitySpotLightComponent=t(sceneEntitySpotLightComponent);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{SystemComponentBuilder as e
|
|
1
|
+
import{SystemComponentBuilder as e,isSnapshotOfComponentType as t}from"../core/index.js";export const sceneEntityTransmissiveMaterialOverrideComponent=e.component("sceneEntityTransmissiveMaterialOverride").withState({type:"object",tsType:"SceneEntityMaterialOverrideComponentState",import:[{module:"@salsita-ai/sdk/domain",member:"SceneEntityTransmissiveMaterialOverrideComponentState"}],properties:{materialsToOverride:{type:"array",items:{type:"string"}},transmission:{type:"number"},thickness:{type:"number"},roughness:{type:"number"},chromaticAberration:{type:"number"},anisotropy:{type:"number"},anisotropicBlur:{type:"number"},distortion:{type:"number"},distortionScale:{type:"number"},temporalDistortion:{type:"number"},time:{type:"number"},transmissionSampler:{type:"boolean"},backside:{type:"boolean"},backsideThickness:{type:"number"},resolution:{type:"number"},backsideResolution:{type:"number"},samples:{type:"number"},ior:{type:"number"},clearcoat:{type:"number"},color:{type:"string"}},required:["materialsToOverride"],additionalProperties:!1}).build();export const isSceneEntityTransmissiveMaterialOverrideSnapshot=t(sceneEntityTransmissiveMaterialOverrideComponent);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{SystemComponentBuilder as e
|
|
1
|
+
import{SystemComponentBuilder as e,isSnapshotOfComponentType as t}from"../core/index.js";export const sceneEntityWallObjectComponent=e.component("sceneEntityWallObject").withState({type:"object",tsType:"SceneEntityWallObjectComponentState",import:[{module:"@salsita-ai/sdk/domain",member:"SceneEntityWallObjectComponentState"}],properties:{start:{type:"object",properties:{x:{type:"number"},y:{type:"number"}},required:["x","y"],additionalProperties:!1},end:{type:"object",properties:{x:{type:"number"},y:{type:"number"}},required:["x","y"],additionalProperties:!1},height:{type:"number"},thickness:{type:"number"},wallMapUrl:{type:"string"},wallNormalUrl:{type:"string"},wallRoughnessUrl:{type:"string"}},required:["start","end"],additionalProperties:!1}).build();export const isSceneEntityWallObjectComponent=t(sceneEntityWallObjectComponent);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{SystemComponentBuilder as e}from"../
|
|
1
|
+
import{SystemComponentBuilder as e}from"../core/index.js";export const selectableComponent=e.component("selectable").withState({tsType:"SelectableComponentState",import:[{module:"@salsita-ai/sdk/domain",member:"SelectableComponentState"}],type:"object",properties:{hoverable:{type:"boolean"}},required:[],additionalProperties:!1}).build();export const SelectableComponent=typeof selectableComponent;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { ReactNode } from 'react';
|
|
2
2
|
import { type Localizable } from '@salsita-ai/common/utils';
|
|
3
|
-
import type
|
|
3
|
+
import { type ComponentInstance, type ComponentSnapshot } from '../core/index.js';
|
|
4
4
|
export interface SidebarTab {
|
|
5
5
|
/**
|
|
6
6
|
* Label of the tab.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{EnhancedLocalizableSchema as t}from"@salsita-ai/common/utils";import{SystemComponentBuilder as e
|
|
1
|
+
import{EnhancedLocalizableSchema as t}from"@salsita-ai/common/utils";import{SystemComponentBuilder as e,isInstanceOfComponentType as a,isSnapshotOfComponentType as i}from"../core/index.js";export const sidebarTabsComponent=e.component("sidebarTabs").withState({tsType:"SidebarTabsComponentState",import:[{module:"@salsita-ai/sdk/domain",member:"SidebarTabsComponentState"}],type:"object",properties:{tabs:{type:"array",items:{type:"object",properties:{label:t,icon:{anyOf:[{type:"string"},{type:"object"},{type:"null"}]},navigationStates:{type:"array",items:{type:"string"}}},required:["label","navigationStates"],additionalProperties:!1}}},required:["tabs"],additionalProperties:!1}).build();export const isSidebarTabsSnapshot=i(sidebarTabsComponent);export const isSidebarTabsInstance=a(sidebarTabsComponent);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{EnhancedLocalizableSchema as t}from"@salsita-ai/common/utils";import{SystemComponentBuilder as e
|
|
1
|
+
import{EnhancedLocalizableSchema as t}from"@salsita-ai/common/utils";import{SystemComponentBuilder as e,isSnapshotOfComponentType as m}from"../core/index.js";export const simpleSummaryComponent=e.component("simpleSummary").withState({type:"object",tsType:"SimpleSummaryComponentState",import:[{module:"@salsita-ai/sdk/domain",member:"SimpleSummaryComponentState"}],properties:{items:{type:"array",items:{type:"object",properties:{title:t,subtitle:t,price:{type:"number"}},required:["title"]}},summaryNavigationState:{type:"string"}},required:["items","summaryNavigationState"],additionalProperties:!1}).build();export const isSimpleSummaryComponentSnapshot=m(simpleSummaryComponent);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type ComponentInstance, type ComponentSnapshot } from '../core/
|
|
1
|
+
import { type ComponentInstance, type ComponentSnapshot } from '../core/index.js';
|
|
2
2
|
import { type DimensionUnit, type UnitsConfig } from '../dimensions/index.js';
|
|
3
3
|
export type SizeComponentState = {
|
|
4
4
|
readonly sizeX?: number;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{SystemComponentBuilder as e
|
|
1
|
+
import{SystemComponentBuilder as e,isInstanceOfComponentType as i,isSnapshotOfComponentType as t}from"../core/index.js";import{DimensionUnitSchema as o,UnitsConfigSchema as n}from"../dimensions/index.js";export const sizeComponent=e.component("size").withState({type:"object",tsType:"SizeComponentState",import:[{module:"@salsita-ai/sdk/domain",member:"SizeComponentState"}],properties:{sizeX:{type:"number"},sizeY:{type:"number"},sizeZ:{type:"number"},displayUnit:o,unitDisplayConfig:n},required:[],additionalProperties:!1}).withWritableKeys(["sizeX","sizeY","sizeZ"]).build();export const isSizeSnapshot=t(sizeComponent);export const isSizeInstance=i(sizeComponent);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{SystemComponentBuilder as t
|
|
1
|
+
import{SystemComponentBuilder as t,isInstanceOfComponentType as e,isSnapshotOfComponentType as n}from"../core/index.js";export const sketchingDrawComponent=t.component("sketchingDraw").withState({type:"object",tsType:"SketchingDrawComponentState",import:[{module:"@salsita-ai/sdk/domain",member:"SketchingDrawComponentState"}],properties:{key:{type:"string"},icon:{type:"string"}},required:["key"],additionalProperties:!1}).build();export const isSketchingDrawSnapshot=n(sketchingDrawComponent);export const isSketchingDrawInstance=e(sketchingDrawComponent);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type ComponentInstance, type ComponentSnapshot } from '../core/
|
|
1
|
+
import { type ComponentInstance, type ComponentSnapshot } from '../core/index.js';
|
|
2
2
|
import type { SceneEntityHtmlVisibilityState } from './common/scene-entity-control-schema.js';
|
|
3
3
|
export type SketchingEditComponentState = {
|
|
4
4
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{SystemComponentBuilder as t
|
|
1
|
+
import{SystemComponentBuilder as t,isInstanceOfComponentType as e,isSnapshotOfComponentType as n}from"../core/index.js";import{SceneHtmlVisibilityProperties as o}from"./common/scene-entity-control-schema.js";export const sketchingEditComponent=t.component("sketchingEdit").withState({type:"object",tsType:"SketchingEditComponentState",import:[{module:"@salsita-ai/sdk/domain",member:"SketchingEditComponentState"}],properties:{key:{type:"string"},showWhen:o.showWhen,icon:{type:"string"}},required:["key"],additionalProperties:!1}).build();export const isSketchingEditSnapshot=n(sketchingEditComponent);export const isSketchingEditInstance=e(sketchingEditComponent);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type ComponentInstance, type ComponentSnapshot } from '../core/
|
|
1
|
+
import { type ComponentInstance, type ComponentSnapshot } from '../core/index.js';
|
|
2
2
|
export type SketchingLineComponentState = {
|
|
3
3
|
/**
|
|
4
4
|
* Unique key of the sketching this shape belongs to
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{SystemComponentBuilder as e
|
|
1
|
+
import{SystemComponentBuilder as e,isComponentModificationOfType as n,isInstanceOfComponentType as t,isSnapshotOfComponentType as i}from"../core/index.js";export const sketchingLineComponent=e.component("sketchingLine").withState({type:"object",tsType:"SketchingLineComponentState",import:[{module:"@salsita-ai/sdk/domain",member:"SketchingLineComponentState"}],properties:{key:{type:"string"},x:{type:"number"},y:{type:"number"},length:{type:"number"},angle:{type:"number"}},required:["key","x","y","length","angle"],additionalProperties:!1}).withWritableKeys(["x","y","length","angle"]).build();export const isSketchingLineSnapshot=i(sketchingLineComponent);export const isSketchingLineInstance=t(sketchingLineComponent);export const isSketchingLineModification=n(sketchingLineComponent);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type ComponentInstance, type ComponentSnapshot } from '../core/
|
|
1
|
+
import { type ComponentInstance, type ComponentSnapshot } from '../core/index.js';
|
|
2
2
|
export type SketchingRectangleComponentState = {
|
|
3
3
|
/**
|
|
4
4
|
* Unique key of the sketching this shape belongs to
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{SystemComponentBuilder as e
|
|
1
|
+
import{SystemComponentBuilder as e,isComponentModificationOfType as t,isInstanceOfComponentType as n,isSnapshotOfComponentType as i}from"../core/index.js";export const sketchingRectangleComponent=e.component("sketchingRectangle").withState({type:"object",tsType:"SketchingRectangleComponentState",import:[{module:"@salsita-ai/sdk/domain",member:"SketchingRectangleComponentState"}],properties:{key:{type:"string"},x:{type:"number"},y:{type:"number"},width:{type:"number"},depth:{type:"number"},angle:{type:"number"}},required:["key","x","y","width","depth","angle"],additionalProperties:!1}).withWritableKeys(["x","y","width","depth","angle"]).build();export const isSketchingRectangleSnapshot=i(sketchingRectangleComponent);export const isSketchingRectangleInstance=n(sketchingRectangleComponent);export const isSketchingRectangleModification=t(sketchingRectangleComponent);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type ComponentInstance, type ComponentSnapshot } from '../core/
|
|
1
|
+
import { type ComponentInstance, type ComponentSnapshot } from '../core/index.js';
|
|
2
2
|
import { type DimensionUnit } from '../dimensions/dimensions.js';
|
|
3
3
|
import { type DraggableSurface, type RecipeListItem } from './common/index.js';
|
|
4
4
|
export type SketchingComponentState = {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{SystemComponentBuilder as e
|
|
1
|
+
import{SystemComponentBuilder as e,isInstanceOfComponentType as t,isSnapshotOfComponentType as n}from"../core/index.js";import{DimensionUnitSchema as o}from"../dimensions/dimensions.js";import{DraggableSurfaceSchema as i,recipeListItemSchema as r}from"./common/index.js";export const sketchingComponent=e.component("sketching").withState({type:"object",tsType:"SketchingComponentState",import:[{module:"@salsita-ai/sdk/domain",member:"SketchingComponentState"}],properties:{key:{type:"string"},surface:i,displayUnit:o,epsilon:{type:"number"},angleSnapValue:{type:"number"},distanceSnapValue:{type:"number"},disableDepthControl:{type:"boolean"},arrowHeadSize:{type:"number"},yOffset:{type:"number"},fontUrl:{type:"string"},fontSize:{type:"number"},arcDiameter:{type:"number"},extrusionLength:{type:"number"},collection:{type:"string"},recipes:{type:"array",items:r},disableAngles:{type:"boolean"},disableVertices:{type:"boolean"},screenSized:{type:"boolean"}},required:["key","surface","recipes"],additionalProperties:!1}).build();export const isSketchingSnapshot=n(sketchingComponent);export const isSketchingInstance=t(sketchingComponent);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type
|
|
1
|
+
import { type ComponentInstance, type ComponentSnapshot } from '../core/index.js';
|
|
2
2
|
/**
|
|
3
3
|
* A single snap axis definition in local (entity-relative) coordinates.
|
|
4
4
|
* Source points are projected onto the axis ray (origin + t*direction) for snapping.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{SystemComponentBuilder as e
|
|
1
|
+
import{SystemComponentBuilder as e,isInstanceOfComponentType as t,isSnapshotOfComponentType as p}from"../core/index.js";export const snapAxisComponent=e.component("snapAxis").withState({type:"object",tsType:"SnapAxisComponentState",import:[{module:"@salsita-ai/sdk/domain",member:"SnapAxisComponentState"}],properties:{axes:{type:"array",items:{type:"object",properties:{origin:{type:"object",properties:{x:{type:"number"},y:{type:"number"},z:{type:"number"}},required:["x","y","z"]},direction:{type:"object",properties:{x:{type:"number"},y:{type:"number"},z:{type:"number"}},required:["x","y","z"]},label:{type:"string"},targetLabel:{oneOf:[{type:"string"},{type:"array",items:{type:"string"}}]}},required:["origin","direction"]}},threshold:{type:"number"},group:{type:"string"},autoSnap:{type:"boolean"},absolute:{type:"boolean"},priority:{type:"number"}},required:["axes","threshold"],additionalProperties:!1}).build();export const isSnapAxisComponentSnapshot=p(snapAxisComponent);export const isSnapAxisComponentInstance=t(snapAxisComponent);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type
|
|
1
|
+
import { type ComponentInstance, type ComponentSnapshot } from '../core/index.js';
|
|
2
2
|
/**
|
|
3
3
|
* A single snap edge definition in local (entity-relative) coordinates.
|
|
4
4
|
* Two endpoints define a line segment. Edges snap to parallel edges (dot product > 0.99).
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{SystemComponentBuilder as e
|
|
1
|
+
import{SystemComponentBuilder as e,isInstanceOfComponentType as t,isSnapshotOfComponentType as p}from"../core/index.js";export const snapEdgeComponent=e.component("snapEdge").withState({type:"object",tsType:"SnapEdgeComponentState",import:[{module:"@salsita-ai/sdk/domain",member:"SnapEdgeComponentState"}],properties:{edges:{type:"array",items:{type:"object",properties:{start:{type:"object",properties:{x:{type:"number"},y:{type:"number"},z:{type:"number"}},required:["x","y","z"]},end:{type:"object",properties:{x:{type:"number"},y:{type:"number"},z:{type:"number"}},required:["x","y","z"]},label:{type:"string"},targetLabel:{oneOf:[{type:"string"},{type:"array",items:{type:"string"}}]}},required:["start","end"]}},threshold:{type:"number"},group:{type:"string"},autoSnap:{type:"boolean"},absolute:{type:"boolean"},priority:{type:"number"}},required:["edges","threshold"],additionalProperties:!1}).build();export const isSnapEdgeComponentSnapshot=p(snapEdgeComponent);export const isSnapEdgeComponentInstance=t(snapEdgeComponent);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type
|
|
1
|
+
import { type ComponentInstance, type ComponentSnapshot } from '../core/index.js';
|
|
2
2
|
/**
|
|
3
3
|
* A single snap plane definition in local (entity-relative) coordinates.
|
|
4
4
|
* Points snap onto the plane surface (projected along the normal).
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{SystemComponentBuilder as e
|
|
1
|
+
import{SystemComponentBuilder as e,isInstanceOfComponentType as t,isSnapshotOfComponentType as n}from"../core/index.js";export const snapPlaneComponent=e.component("snapPlane").withState({type:"object",tsType:"SnapPlaneComponentState",import:[{module:"@salsita-ai/sdk/domain",member:"SnapPlaneComponentState"}],properties:{planes:{type:"array",items:{type:"object",properties:{position:{type:"object",properties:{x:{type:"number"},y:{type:"number"},z:{type:"number"}},required:["x","y","z"]},normal:{type:"object",properties:{x:{type:"number"},y:{type:"number"},z:{type:"number"}},required:["x","y","z"]},bounds:{type:"object",properties:{width:{type:"number"},depth:{type:"number"}},required:["width","depth"]},label:{type:"string"},targetLabel:{oneOf:[{type:"string"},{type:"array",items:{type:"string"}}]}},required:["position","normal"]}},threshold:{type:"number"},group:{type:"string"},autoSnap:{type:"boolean"},absolute:{type:"boolean"},priority:{type:"number"}},required:["planes","threshold"],additionalProperties:!1}).build();export const isSnapPlaneComponentSnapshot=n(snapPlaneComponent);export const isSnapPlaneComponentInstance=t(snapPlaneComponent);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type
|
|
1
|
+
import { type ComponentInstance, type ComponentSnapshot } from '../core/index.js';
|
|
2
2
|
/**
|
|
3
3
|
* A single snap point definition in local (entity-relative) coordinates.
|
|
4
4
|
* When the entity moves/rotates, the point transforms with it (unless `absolute` is set on the component).
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{SystemComponentBuilder as t
|
|
1
|
+
import{SystemComponentBuilder as t,isInstanceOfComponentType as e,isSnapshotOfComponentType as o}from"../core/index.js";export const snapPointComponent=t.component("snapPoint").withState({type:"object",tsType:"SnapPointComponentState",import:[{module:"@salsita-ai/sdk/domain",member:"SnapPointComponentState"}],properties:{points:{type:"array",items:{type:"object",properties:{x:{type:"number"},y:{type:"number"},z:{type:"number"},normal:{type:"object",properties:{x:{type:"number"},y:{type:"number"},z:{type:"number"}},required:["x","y","z"]},label:{type:"string"},targetLabel:{oneOf:[{type:"string"},{type:"array",items:{type:"string"}}]}},required:["x","y","z"]}},threshold:{type:"number"},group:{type:"string"},autoSnap:{type:"boolean"},absolute:{type:"boolean"},autoRotate:{type:"boolean"},priority:{type:"number"},targetPivotPoint:{type:"string"}},required:["points","threshold"],additionalProperties:!1}).build();export const isSnapPointSnapshot=o(snapPointComponent);export const isSnapPointInstance=e(snapPointComponent);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type MouseButtons, type Touches } from 'camera-controls/dist/types.js';
|
|
2
|
-
import type
|
|
2
|
+
import { type ComponentSnapshot } from '../core/index.js';
|
|
3
3
|
export type StaticOrthographicCameraComponentState = {
|
|
4
4
|
/**
|
|
5
5
|
* Priority of the CameraControl settings, highest priority settings will be applied to the scene.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{SystemComponentBuilder as e}from"../
|
|
1
|
+
import{SystemComponentBuilder as e}from"../core/index.js";export const StaticOrthographicCameraComponentName="staticOrthographicCamera";export const staticOrthographicCameraComponent=e.component(StaticOrthographicCameraComponentName).withState({type:"object",tsType:"StaticOrthographicCameraComponentState",import:[{module:"@salsita-ai/sdk/domain",member:"StaticOrthographicCameraComponentState"}],properties:{priority:{type:"number"},animateOnLoad:{type:"boolean"},animateTransition:{type:"boolean"},zoomLockGroup:{type:["string","null"]},rotationLockGroup:{type:["string","null"]},left:{type:"number"},bottom:{type:"number"},frustumSize:{type:"number"},far:{type:"number"},near:{type:"number"},distance:{type:"number"},minDistance:{type:"number"},maxDistance:{type:"number"},minZoom:{type:"number"},maxZoom:{type:"number"},polarAngle:{type:"number"},minPolarAngle:{type:"number"},maxPolarAngle:{type:"number"},azimuthAngle:{type:"number"},minAzimuthAngle:{type:"number"},maxAzimuthAngle:{type:"number"},smoothTime:{type:"number"},draggingSmoothTime:{type:"number"},maxSpeed:{type:"number"},azimuthRotateSpeed:{type:"number"},polarRotateSpeed:{type:"number"},dollySpeed:{type:"number"},dollyDragInverted:{type:"boolean"},truckSpeed:{type:"number"},mouseButtons:{type:"object",properties:{left:{type:"number"},middle:{type:"number"},right:{type:"number"},wheel:{type:"number"}},required:["left","middle","right"],additionalProperties:!1},touches:{type:"object",properties:{one:{type:"number"},two:{type:"number"},three:{type:"number"}},required:["one","two"],additionalProperties:!1},boundaryEnclosesCamera:{type:"boolean"},dollyToCursor:{type:"boolean"},dragToOffset:{type:"boolean"},verticalDragToForward:{type:"boolean"},boundary:{type:"object"},lookAtX:{type:"number"},lookAtY:{type:"number"},lookAtZ:{type:"number"}},required:[],additionalProperties:!1}).build();export const isStaticOrthographicCameraComponent=e=>e.componentInstance.componentType.name===StaticOrthographicCameraComponentName;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type MouseButtons, type Touches } from 'camera-controls/dist/types.js';
|
|
2
|
-
import type
|
|
2
|
+
import { type ComponentSnapshot } from '../core/index.js';
|
|
3
3
|
export type StaticPerspectiveCameraComponentState = {
|
|
4
4
|
/**
|
|
5
5
|
* Priority of the CameraControl settings, highest priority settings will be applied to the scene.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{SystemComponentBuilder as e}from"../
|
|
1
|
+
import{SystemComponentBuilder as e}from"../core/index.js";export const StaticPerspectiveCameraComponentName="staticPerspectiveCamera";export const staticPerspectiveCameraComponent=e.component(StaticPerspectiveCameraComponentName).withState({type:"object",tsType:"StaticPerspectiveCameraComponentState",import:[{module:"@salsita-ai/sdk/domain",member:"StaticPerspectiveCameraComponentState"}],properties:{priority:{type:"number"},animateOnLoad:{type:"boolean"},animateTransition:{type:"boolean"},distanceLockGroup:{type:["string","null"]},rotationLockGroup:{type:["string","null"]},fov:{type:"number"},far:{type:"number"},near:{type:"number"},focus:{type:"number"},distance:{type:"number"},minDistance:{type:"number"},maxDistance:{type:"number"},polarAngle:{type:"number"},minPolarAngle:{type:"number"},maxPolarAngle:{type:"number"},azimuthAngle:{type:"number"},minAzimuthAngle:{type:"number"},maxAzimuthAngle:{type:"number"},smoothTime:{type:"number"},draggingSmoothTime:{type:"number"},maxSpeed:{type:"number"},azimuthRotateSpeed:{type:"number"},polarRotateSpeed:{type:"number"},dollySpeed:{type:"number"},dollyDragInverted:{type:"boolean"},truckSpeed:{type:"number"},mouseButtons:{type:"object",properties:{left:{type:"number"},middle:{type:"number"},right:{type:"number"},wheel:{type:"number"}},required:["left","middle","right"],additionalProperties:!1},touches:{type:"object",properties:{one:{type:"number"},two:{type:"number"},three:{type:"number"}},required:["one","two"],additionalProperties:!1},boundaryEnclosesCamera:{type:"boolean"},dollyToCursor:{type:"boolean"},dragToOffset:{type:"boolean"},verticalDragToForward:{type:"boolean"},boundary:{type:"object"},lookAtX:{type:"number"},lookAtY:{type:"number"},lookAtZ:{type:"number"},relative:{type:"boolean"}},required:[],additionalProperties:!1}).build();export const isStaticPerspectiveCameraComponent=e=>e.componentInstance.componentType.name===StaticPerspectiveCameraComponentName;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{SystemComponentBuilder as
|
|
1
|
+
import{SystemComponentBuilder as t,isSnapshotOfComponentType as o}from"../core/index.js";import{ReactNodeSchema as e}from"./common/react-node-schema.js";export const customSummaryPageComponent=t.component("customSummaryPage").withState({type:"object",properties:{page:e,summaryNavigationState:{type:"string"}},required:["page","summaryNavigationState"],additionalProperties:!1}).build();export const isCustomSummaryComponentSnapshot=o(customSummaryPageComponent);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{SystemComponentBuilder as e}from"../
|
|
1
|
+
import{SystemComponentBuilder as e}from"../core/index.js";export const TextValueSchema={type:"object",tsType:"TextValueSchema",import:[{module:"@salsita-ai/sdk/domain",member:"TextValueSchema"}],properties:{value:{type:"string"}},required:["value"],additionalProperties:!1};export const textValueComponent=e.component("textValue").withState(TextValueSchema).withWritableKeys(["value"]).build();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{EnhancedLocalizableSchema as o}from"@salsita-ai/common/utils";import{SystemComponentBuilder as t}from"../
|
|
1
|
+
import{EnhancedLocalizableSchema as o}from"@salsita-ai/common/utils";import{SystemComponentBuilder as t}from"../core/index.js";export const toolControlsComponent=t.component("toolControls").withState({type:"object",tsType:"ToolControlsComponentState",import:[{module:"@salsita-ai/sdk/domain",member:"ToolControlsComponentState"}],properties:{items:{type:"array",items:{type:"object",properties:{label:o,value:{type:"string"},icon:{type:"string"}},required:["label","value","icon"],additionalProperties:!1}}},required:["items"],additionalProperties:!1}).build();
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type Localizable } from '@salsita-ai/common/utils';
|
|
2
|
-
import { type ComponentInstance, type ComponentSnapshot } from '../core/
|
|
2
|
+
import { type ComponentInstance, type ComponentSnapshot } from '../core/index.js';
|
|
3
3
|
import { type SceneEntityHtmlOpacityState, type SceneEntityHtmlPositionState, type SceneEntityHtmlTooltipState, type SceneEntityHtmlVisibilityState } from './common/index.js';
|
|
4
4
|
export interface ToolMenuFabOption {
|
|
5
5
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{EnhancedLocalizableSchema as o}from"@salsita-ai/common/utils";import{SystemComponentBuilder as t
|
|
1
|
+
import{EnhancedLocalizableSchema as o}from"@salsita-ai/common/utils";import{SystemComponentBuilder as t,isInstanceOfComponentType as e,isSnapshotOfComponentType as n}from"../core/index.js";import{SceneHtmlOpacityProperties as i,SceneHtmlPositionProperties as a,SceneHtmlTooltipProperties as p,SceneHtmlVisibilityProperties as r}from"./common/index.js";export const toolMenuFabComponent=t.component("toolMenuFab").withState({tsType:"ToolMenuFabComponentState",import:[{module:"@salsita-ai/sdk/domain",member:"ToolMenuFabComponentState"}],type:"object",properties:{...a,...i,...r,...p,title:o,options:{type:"array",items:{type:"object",properties:{label:o,icon:{type:"string"},toolState:{type:"string"}},required:["label","toolState"],additionalProperties:!1}}},required:["options"],additionalProperties:!1}).build();export const isToolMenuFabComponentSnapshot=n(toolMenuFabComponent);export const isToolMenuFabComponentInstance=e(toolMenuFabComponent);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type
|
|
1
|
+
import { type ComponentInstance, type ComponentSnapshot } from '../core/index.js';
|
|
2
2
|
import { type PhoenixLayoutElement } from './phoenix-layout-elements/index.js';
|
|
3
3
|
export type ToolbarComponentState = {
|
|
4
4
|
desktop?: readonly PhoenixLayoutElement[];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{SystemComponentBuilder as o
|
|
1
|
+
import{SystemComponentBuilder as o,isInstanceOfComponentType as e,isSnapshotOfComponentType as t}from"../core/index.js";import{PhoenixLayoutElementSchema as n}from"./phoenix-layout-elements/index.js";export const toolbarComponent=o.component("toolbar").withState({type:"object",tsType:"ToolbarComponentState",import:[{module:"@salsita-ai/sdk/domain",member:"ToolbarComponentState"}],properties:{desktop:{type:"array",items:{$ref:"#/definitions/PhoenixLayoutElement"}},mobile:{type:"array",items:{$ref:"#/definitions/PhoenixLayoutElement"}},mobileMenu:{type:"array",items:{$ref:"#/definitions/PhoenixLayoutElement"}}},definitions:{PhoenixLayoutElement:n},required:[],additionalProperties:!1}).build();export const isToolbarSnapshot=t(toolbarComponent);export const isToolbarInstance=e(toolbarComponent);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type Localizable } from '@salsita-ai/common/utils';
|
|
2
|
-
import type
|
|
2
|
+
import { type ComponentInstance, type ComponentSnapshot } from '../core/index.js';
|
|
3
3
|
export type UniversalSidebarFooterComponentState = {
|
|
4
4
|
readonly topText?: Localizable;
|
|
5
5
|
readonly bottomText?: Localizable;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{EnhancedLocalizableSchema as
|
|
1
|
+
import{EnhancedLocalizableSchema as e}from"@salsita-ai/common/utils";import{SystemComponentBuilder as o,isInstanceOfComponentType as t,isSnapshotOfComponentType as r}from"../core/index.js";export const universalSidebarFooterComponent=o.component("universalSidebarFooter").withState({type:"object",tsType:"UniversalSidebarFooterComponentState",import:[{module:"@salsita-ai/sdk/domain",member:"UniversalSidebarFooterComponentState"}],properties:{topText:e,bottomText:e},required:[],additionalProperties:!1}).build();export const isUniversalSidebarFooterSnapshot=r(universalSidebarFooterComponent);export const isUniversalSidebarFooterInstance=t(universalSidebarFooterComponent);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{EnhancedLocalizableSchema as e}from"@salsita-ai/common/utils";import{SystemComponentBuilder as t}from"../
|
|
1
|
+
import{EnhancedLocalizableSchema as e}from"@salsita-ai/common/utils";import{SystemComponentBuilder as t}from"../core/index.js";export const viewControlsComponent=t.component("viewControls").withState({type:"object",tsType:"ViewControlsComponentState",import:[{module:"@salsita-ai/sdk/domain",member:"ViewControlsComponentState"}],properties:{items:{type:"array",items:{type:"object",properties:{label:e,value:{type:"string"},icon:{type:"string"}},required:["label","value","icon"],additionalProperties:!1}}},required:["items"],additionalProperties:!1}).build();
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import type { DomainEntity } from '../core/
|
|
2
|
-
import type { DomainState } from '../core/state.js';
|
|
1
|
+
import type { DomainEntity, DomainState } from '../core/index.js';
|
|
3
2
|
/**
|
|
4
3
|
* Clone the evaluation cache from one state to another.
|
|
5
4
|
* You should not need to use this function manually as it is used internally by the framework.
|
|
@@ -1,6 +1,4 @@
|
|
|
1
|
-
import type { ExpressionContext } from '../core/
|
|
2
|
-
import type { $DomainEntity, DomainEntity } from '../core/model.js';
|
|
3
|
-
import type { DomainState } from '../core/state.js';
|
|
1
|
+
import type { $DomainEntity, DomainEntity, DomainState, ExpressionContext } from '../core/index.js';
|
|
4
2
|
declare const MemoizedValueSymbol: unique symbol;
|
|
5
3
|
export type MemoizedArray<T extends readonly unknown[]> = {
|
|
6
4
|
readonly [MemoizedValueSymbol]: 'array';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { Application, ExpressionImplementations, InvariantImplementations } from '#package/application-spec';
|
|
2
|
-
import { type AnyActionImplementations, type DomainComponentOptic, type DomainEntity, type ElementRegistration, type HandlerRegistration, type ImportedTransformer, type SystemComponentTypeConstraint } from '#package/domain';
|
|
2
|
+
import { type AnyActionImplementations, type DomainComponentOptic, type DomainEntity, type ElementRegistration, type HandlerRegistration, type ImportedTransformer, type ProjectModule, type SystemComponentTypeConstraint } from '#package/domain';
|
|
3
3
|
type AnyImportedTransformer = ImportedTransformer<any, any, any, any, any, any, any>;
|
|
4
4
|
type RuntimeData = Record<string, unknown>;
|
|
5
5
|
type RuntimeEntity = DomainEntity<string>;
|
|
@@ -42,12 +42,13 @@ export interface GetImplementationFilesProps {
|
|
|
42
42
|
readonly application: Application;
|
|
43
43
|
readonly projectRoot: string;
|
|
44
44
|
}
|
|
45
|
-
/** Merges the default exports of the `src/actions/` modules by action name, as the generated barrel does. */
|
|
46
|
-
export declare const resolveActionModules: (modules: readonly AnyActionImplementations[]) => AnyActionImplementations;
|
|
47
|
-
type ExpressionModules = ReadonlyArray<Record<string, Record<string, unknown>>>;
|
|
48
45
|
type ResolvedExpressions = ExpressionImplementations;
|
|
49
|
-
|
|
50
|
-
|
|
46
|
+
/**
|
|
47
|
+
* Validates the expression modules through the resolver the domain builder uses, then expands their
|
|
48
|
+
* aliases. The expansion stays here because the editor rebuilds expressions against the alias map of
|
|
49
|
+
* the spec being edited, where the built app's domain builder holds its own.
|
|
50
|
+
*/
|
|
51
|
+
export declare const mergeExpressionModules: (modules: readonly ProjectModule[], aliasMap: Record<string, readonly string[]>) => ResolvedExpressions;
|
|
51
52
|
export declare const mergeComponentOptics: <ComponentOptic>(generatedComponentOptics: readonly ComponentOptic[], customComponentOptics: readonly ComponentOptic[]) => readonly ComponentOptic[];
|
|
52
53
|
export declare const getCustomComponentOptics: <ComponentOptic extends {
|
|
53
54
|
readonly generated?: boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{useCallback as e,useRef as n}from"react";import{expandAlias as t}from"#package/domain";import{importImplementationFile as
|
|
1
|
+
import{useCallback as e,useRef as n}from"react";import{expandAlias as t,resolveActionModules as a,resolveComponentOpticModules as r,resolveElementModule as o,resolveExpressionModules as s,resolveHandlerModule as i,resolveInvariantModules as l,resolveTransformerModule as m}from"#package/domain";import{importImplementationFile as c}from"./import-implementation-file.js";let p=e=>e instanceof Error?e.message:String(e),f=async(e,n)=>{let t=Date.now();return Promise.all(e.map(async e=>({origin:e,exports:await c(`/@fs/${n}/${e}?t=${t}`)})))},d=async(e,n)=>a(await f(e,n));export const mergeExpressionModules=(e,n)=>{let a={};for(let{expressions:t}of s(e,n))for(let[e,n]of Object.entries(t))a[e]={...a[e],...n};let r={};for(let[e,o]of Object.entries(a))for(let a of t(n,e)){let n=r[a]??{};for(let[t,a]of Object.entries(o))n[t]={...a,origin:{name:t,typeOrAlias:e}};r[a]=n}return r};export const mergeComponentOptics=(e,n)=>e.concat(n);export const getCustomComponentOptics=e=>e.filter(e=>!0!==e.generated);let u=async(e,n,t)=>mergeExpressionModules(await f(e,t),n),g=async(e,n)=>r(await f(e,n)),h=async(e,n)=>l(await f(e,n)),E=async(e,n)=>(await f(e,n)).map(m),F=async(e,n)=>(await f(e,n)).map(e=>({filePath:e.origin,registrations:i(e)})),w=async(e,n)=>(await f(e,n)).map(e=>({filePath:e.origin,registrations:o(e)}));export const useImplementationFiles=()=>{let t=n({}),a=n(null),r=n({}),o=n(0),s=n(null),i=n({}),l=n(null),m=n(null),c=n(null),f=n([]),I=n(null),y=n(null),O=n(new Map),A=n(new Map);return{getImplementationFiles:e(async e=>{let{application:n,projectRoot:R}=e,C=++o.current,{applicationSpec:D,categorizedFiles:L}=n,S=[],x=t.current,M=r.current,_=i.current,$=c.current,b=f.current,v=L.expressionsChanged,N=L.actionsChanged,j=L.componentsChanged,P=L.transformersChanged,H=L.handlersChanged,T=L.elementsChanged,k=Object.fromEntries(L.invariants.map(e=>[e.file.name,e.depHash])),J=l.current,X=JSON.stringify(D.configurator.invariants.entries),V=null===J||m.current!==X||Object.keys(J).length!==L.invariants.length||L.invariants.some(e=>J[e.file.name]!==e.depHash);if(console.info(`[useImplementationFiles] Changed: spec=${L.specChanged}, expressions=${L.expressionsChanged}, actions=${L.actionsChanged}, adminExpressions=${L.adminExpressionsChanged}, transformers=${L.transformersChanged}, handlers=${L.handlersChanged}, elements=${L.elementsChanged}`),v){console.info("[useImplementationFiles] Reloading expression implementations");try{let e=Object.fromEntries(D.configurator.latestModel.aliases);t.current=x=await u(L.expressions.map(e=>e.file.name),e,R)}catch(e){console.warn("[useImplementationFiles] Failed to reload expressions:",e),S.push({code:"RELOAD_EXPRESSIONS_FAILED",message:p(e)})}}let q=a.current;if(N){console.info("[useImplementationFiles] Reloading action implementations");try{a.current=q=await d(L.actions.map(e=>e.file.name),R)}catch(e){console.warn("[useImplementationFiles] Failed to reload actions:",e),S.push({code:"RELOAD_ACTIONS_FAILED",message:p(e)})}}let z=JSON.stringify({projectRoot:R,files:L.adminExpressions.map(e=>[e.file.name,e.depHash]),aliases:[...D.admin.latestModel.aliases]});if(C===o.current&&s.current!==z)try{M=await u(L.adminExpressions.map(e=>e.file.name),Object.fromEntries(D.admin.latestModel.aliases),R),C===o.current&&(r.current=M,s.current=z)}catch(e){S.push({code:"RELOAD_ADMIN_EXPRESSIONS_FAILED",message:p(e)})}if(j){console.info("[useImplementationFiles] Reloading component optics");try{c.current=$=await g(L.components.map(e=>e.file.name),R)}catch(e){console.warn("[useImplementationFiles] Failed to reload components:",e),S.push({code:"RELOAD_COMPONENTS_FAILED",message:p(e)})}}if(V){console.info("[useImplementationFiles] Reloading invariant implementations");try{i.current=_=await h(L.invariants.map(e=>e.file.name),R),l.current=k,m.current=X}catch(e){console.warn("[useImplementationFiles] Failed to reload invariants:",e),S.push({code:"RELOAD_INVARIANTS_FAILED",message:p(e)})}}if(P){console.info("[useImplementationFiles] Reloading transformer implementations");try{f.current=b=await E(L.transformers.map(e=>e.file.name),R)}catch(e){console.warn("[useImplementationFiles] Failed to reload transformers:",e),S.push({code:"RELOAD_TRANSFORMERS_FAILED",message:p(e)})}}let B=null;if(H){console.info("[useImplementationFiles] Reloading handler implementations");try{let e=Object.fromEntries(L.handlers.map(e=>[e.file.name,e.depHash])),n=I.current,t=t=>null===n||n[t]!==e[t],a=A.current,r=L.handlers.map(e=>e.file.name),o=r.filter(e=>t(e)||!a.has(e)),s=await F(o,R),i=new Map(s.map(e=>[e.filePath,e])),l=r.map(e=>{let n=i.get(e)??a.get(e);if(!n)throw Error(`Handler file "${e}" was neither re-imported nor cached from a previous round. This is a hot-reload bookkeeping bug — reload the editor page to recover.`);return n}),m=l.flatMap(e=>e.registrations),c={};for(let{filePath:n,registrations:a}of l){let r=t(n)?e[n]:void 0;if(r)for(let e of a)c[e.name]=r}console.info(`[useImplementationFiles] Staged handlers for registry (${m.length} total)`),B={handlers:m,nameHashes:c},A.current=new Map(l.map(e=>[e.filePath,e])),I.current=e}catch(e){console.warn("[useImplementationFiles] Failed to reload handlers:",e),S.push({code:"RELOAD_HANDLERS_FAILED",message:p(e)})}}let G=null;if(T){console.info("[useImplementationFiles] Reloading element implementations");try{let e=Object.fromEntries(L.elements.map(e=>[e.file.name,e.depHash])),n=y.current,t=t=>null===n||n[t]!==e[t],a=O.current,r=L.elements.map(e=>e.file.name),o=r.filter(e=>t(e)||!a.has(e)),s=await w(o,R),i=new Map(s.map(e=>[e.filePath,e])),l=r.map(e=>{let n=i.get(e)??a.get(e);if(!n)throw Error(`Element file "${e}" was neither re-imported nor cached from a previous round. This is a hot-reload bookkeeping bug — reload the editor page to recover.`);return n}),m=l.flatMap(e=>e.registrations),c={},p=0;for(let{filePath:n,registrations:a}of l){let r=t(n)?e[n]:void 0;for(let e of a){if("entity"===e.type||"layout"===e.type){r&&(c[e.name]=r);continue}r&&(c[`icon:${p}`]=r),p+=1}}console.info(`[useImplementationFiles] Staged elements for registry (${m.length} total)`),G={elements:m,nameHashes:c},O.current=new Map(l.map(e=>[e.filePath,e])),y.current=e}catch(e){console.warn("[useImplementationFiles] Failed to reload elements:",e),S.push({code:"RELOAD_ELEMENTS_FAILED",message:p(e)})}}return{implementations:x,actionImplementations:q,adminImplementations:M,invariantImplementations:_,importedTransformers:b,customComponentOptics:$,handlers:B,elements:G,errors:S}},[])}};
|