@salsita-ai/sdk 0.50.0-develop.9db1e1f3bf → 0.50.0-develop.9eab66c5a9

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.
Files changed (1048) hide show
  1. package/README.md +19 -14
  2. package/dist/admin/default-admin-elements.d.ts +9 -0
  3. package/dist/admin/default-admin-elements.js +1 -0
  4. package/dist/admin/default-elements/built-in-entity-element.d.ts +10 -0
  5. package/dist/admin/default-elements/built-in-entity-element.js +1 -0
  6. package/dist/admin/default-elements/built-in-layout-element.d.ts +10 -0
  7. package/dist/admin/default-elements/built-in-layout-element.js +1 -0
  8. package/dist/admin/default-elements/index.d.ts +2 -0
  9. package/dist/admin/default-elements/index.js +1 -0
  10. package/dist/admin/index.d.ts +1 -0
  11. package/dist/admin/index.js +1 -1
  12. package/dist/application/index.d.ts +1 -0
  13. package/dist/application/index.js +1 -1
  14. package/dist/application/mount-application.d.ts +1 -1
  15. package/dist/application/mount-application.js +1 -1
  16. package/dist/application/mount-configurator.d.ts +19 -0
  17. package/dist/application/mount-configurator.js +1 -0
  18. package/dist/application/mounted-application-runtime.d.ts +4 -0
  19. package/dist/application/mounted-application-runtime.js +1 -0
  20. package/dist/application/register-web-component.d.ts +2 -0
  21. package/dist/application/register-web-component.js +1 -0
  22. package/dist/application-spec/caching/content-diff.js +1 -1
  23. package/dist/application-spec/core/application-file.d.ts +0 -2
  24. package/dist/application-spec/core/application-file.js +1 -1
  25. package/dist/application-spec/errors/diagnostic-codes.d.ts +14 -0
  26. package/dist/application-spec/errors/diagnostic-codes.js +1 -1
  27. package/dist/application-spec/errors/diagnostic-messages.d.ts +15 -1
  28. package/dist/application-spec/errors/diagnostic-messages.js +1 -1
  29. package/dist/application-spec/generate-application/code/common/code-imports.js +1 -1
  30. package/dist/application-spec/generate-application/code/common/env-reader.js +2 -2
  31. package/dist/application-spec/generate-application/code/common/index.d.ts +1 -0
  32. package/dist/application-spec/generate-application/code/common/index.js +1 -1
  33. package/dist/application-spec/generate-application/code/common/single-quoted-string.d.ts +6 -0
  34. package/dist/application-spec/generate-application/code/common/single-quoted-string.js +1 -0
  35. package/dist/application-spec/generate-application/code/domain-runtime-files.js +1 -1
  36. package/dist/application-spec/generate-application/code/generate-application-code.d.ts +3 -2
  37. package/dist/application-spec/generate-application/code/generate-application-code.js +1 -1
  38. package/dist/application-spec/generate-application/code/project-scaffolding.d.ts +15 -14
  39. package/dist/application-spec/generate-application/code/project-scaffolding.js +2 -2
  40. package/dist/application-spec/generate-application/code/standalone-app-files.d.ts +2 -2
  41. package/dist/application-spec/generate-application/code/standalone-app-files.js +1 -1
  42. package/dist/application-spec/generate-application/code/story-files.js +1 -1
  43. package/dist/application-spec/generate-application/code/templates/admin-config.js +3 -0
  44. package/dist/application-spec/generate-application/code/templates/application-types.js +6 -6
  45. package/dist/application-spec/generate-application/code/templates/common/doc-comment.d.ts +2 -0
  46. package/dist/application-spec/generate-application/code/templates/common/doc-comment.js +1 -0
  47. package/dist/application-spec/generate-application/code/templates/common/format-property-key.d.ts +7 -0
  48. package/dist/application-spec/generate-application/code/templates/common/format-property-key.js +1 -0
  49. package/dist/application-spec/generate-application/code/templates/common/schema-to-type-string.js +3 -3
  50. package/dist/application-spec/generate-application/code/templates/configurator-config.js +6 -4
  51. package/dist/application-spec/generate-application/code/templates/configurator-globals.d.ts +2 -1
  52. package/dist/application-spec/generate-application/code/templates/configurator-globals.js +19 -6
  53. package/dist/application-spec/generate-application/code/templates/domain-spec/factory-types/domain-factory-types.d.ts +35 -0
  54. package/dist/application-spec/generate-application/code/templates/domain-spec/factory-types/domain-factory-types.js +5 -0
  55. package/dist/application-spec/generate-application/code/templates/domain-spec/factory-types/index.d.ts +1 -0
  56. package/dist/application-spec/generate-application/code/templates/domain-spec/factory-types/index.js +1 -0
  57. package/dist/application-spec/generate-application/code/templates/domain-spec/generate-component-optics.d.ts +1 -1
  58. package/dist/application-spec/generate-application/code/templates/domain-spec/generate-component-optics.js +6 -6
  59. package/dist/application-spec/generate-application/code/templates/domain-spec/generate-domain-block.js +59 -63
  60. package/dist/application-spec/generate-application/code/templates/domain-spec/generate-invariants.d.ts +8 -0
  61. package/dist/application-spec/generate-application/code/templates/domain-spec/generate-invariants.js +1 -1
  62. package/dist/application-spec/generate-application/code/templates/domain-spec/generate-presets.js +1 -1
  63. package/dist/application-spec/generate-application/code/templates/domain-spec/generate-resources.js +13 -13
  64. package/dist/application-spec/generate-application/code/templates/domain-spec/generate-states.d.ts +1 -1
  65. package/dist/application-spec/generate-application/code/templates/domain-spec/generate-states.js +2 -2
  66. package/dist/application-spec/generate-application/code/templates/domain-spec/index.d.ts +2 -1
  67. package/dist/application-spec/generate-application/code/templates/domain-spec/index.js +1 -1
  68. package/dist/application-spec/generate-application/code/templates/eslint-config.d.ts +5 -0
  69. package/dist/application-spec/generate-application/code/templates/eslint-config.js +4 -5
  70. package/dist/application-spec/generate-application/code/templates/frontend-config.js +3 -5
  71. package/dist/application-spec/generate-application/code/templates/gitignore.js +0 -3
  72. package/dist/application-spec/generate-application/code/templates/global-definition/generate-action-types.js +7 -7
  73. package/dist/application-spec/generate-application/code/templates/global-definition/generate-assistant-form-element-types.d.ts +12 -0
  74. package/dist/application-spec/generate-application/code/templates/global-definition/generate-assistant-form-element-types.js +7 -0
  75. package/dist/application-spec/generate-application/code/templates/global-definition/generate-phx-types.d.ts +43 -0
  76. package/dist/application-spec/generate-application/code/templates/global-definition/generate-phx-types.js +33 -0
  77. package/dist/application-spec/generate-application/code/templates/global-definition/index.d.ts +2 -0
  78. package/dist/application-spec/generate-application/code/templates/global-definition/index.js +1 -1
  79. package/dist/application-spec/generate-application/code/templates/globals.js +24 -44
  80. package/dist/application-spec/generate-application/code/templates/index.d.ts +3 -3
  81. package/dist/application-spec/generate-application/code/templates/index.js +1 -1
  82. package/dist/application-spec/generate-application/code/templates/lingui-rc.d.ts +5 -0
  83. package/dist/application-spec/generate-application/code/templates/lingui-rc.js +4 -4
  84. package/dist/application-spec/generate-application/code/templates/prettier-config.d.ts +5 -0
  85. package/dist/application-spec/generate-application/code/templates/prettier-config.js +4 -5
  86. package/dist/application-spec/generate-application/code/templates/root-tsconfig.d.ts +6 -0
  87. package/dist/application-spec/generate-application/code/templates/root-tsconfig.js +2 -0
  88. package/dist/application-spec/generate-application/code/templates/skills/phoenix-cli-skill.js +1 -1
  89. package/dist/application-spec/generate-application/code/templates/skills/phoenix-create-configurator-skill.js +1 -1
  90. package/dist/application-spec/generate-application/code/templates/skills/phoenix-feedback-skill.js +5 -5
  91. package/dist/application-spec/generate-application/code/templates/skills/phoenix-review-skill.js +3 -3
  92. package/dist/application-spec/generate-application/code/templates/skills/phoenix-skill.js +1 -1
  93. package/dist/application-spec/generate-application/code/templates/skills/phoenix-variants-skill.js +2 -2
  94. package/dist/application-spec/generate-application/code/templates/skills/sdk-content.d.ts +32 -8
  95. package/dist/application-spec/generate-application/code/templates/skills/sdk-content.js +2 -2
  96. package/dist/application-spec/generate-application/code/templates/spec-code/collect-spec-code.d.ts +58 -0
  97. package/dist/application-spec/generate-application/code/templates/spec-code/collect-spec-code.js +1 -0
  98. package/dist/application-spec/generate-application/code/templates/spec-code/index.d.ts +2 -0
  99. package/dist/application-spec/generate-application/code/templates/spec-code/index.js +1 -0
  100. package/dist/application-spec/generate-application/code/templates/spec-code/spec-code.d.ts +18 -0
  101. package/dist/application-spec/generate-application/code/templates/spec-code/spec-code.js +41 -0
  102. package/dist/application-spec/generate-application/code/templates/spec-messages/index.d.ts +1 -0
  103. package/dist/application-spec/generate-application/code/templates/spec-messages/index.js +1 -0
  104. package/dist/application-spec/generate-application/code/templates/spec-messages/spec-messages.d.ts +20 -0
  105. package/dist/application-spec/generate-application/code/templates/spec-messages/spec-messages.js +6 -0
  106. package/dist/application-spec/generate-application/code/templates/story/phx-module.d.ts +8 -2
  107. package/dist/application-spec/generate-application/code/templates/story/phx-module.js +15 -3
  108. package/dist/application-spec/generate-application/code/templates/story/wrapper.d.ts +3 -0
  109. package/dist/application-spec/generate-application/code/templates/story/wrapper.js +2 -1
  110. package/dist/application-spec/generate-application/code/templates/tsconfig.d.ts +5 -0
  111. package/dist/application-spec/generate-application/code/templates/tsconfig.js +1 -1
  112. package/dist/application-spec/generate-application/code/templates/webhook-index.d.ts +6 -1
  113. package/dist/application-spec/generate-application/code/templates/webhook-index.js +10 -1
  114. package/dist/application-spec/generate-application/code/templates/webhooks-config.js +2 -3
  115. package/dist/application-spec/generate-application/implementations/phx-application-types.d.ts +25 -0
  116. package/dist/application-spec/generate-application/implementations/phx-application-types.js +1 -0
  117. package/dist/application-spec/generate-application/implementations/phx-domain.d.ts +36 -0
  118. package/dist/application-spec/generate-application/implementations/phx-domain.js +1 -0
  119. package/dist/application-spec/generate-application/implementations/phx-model.d.ts +24 -0
  120. package/dist/application-spec/generate-application/implementations/phx-model.js +1 -0
  121. package/dist/application-spec/generate-application/implementations/phx.d.ts +22 -0
  122. package/dist/application-spec/generate-application/implementations/phx.js +1 -0
  123. package/dist/application-spec/generate-application/index.d.ts +4 -0
  124. package/dist/application-spec/generate-application/index.js +1 -1
  125. package/dist/application-spec/generate-application/runtime/admin-runtime/admin-model-runtime.d.ts +6 -4
  126. package/dist/application-spec/generate-application/runtime/admin-runtime/admin-model-runtime.js +1 -1
  127. package/dist/application-spec/generate-application/runtime/admin-runtime/admin-runtime.d.ts +12 -4
  128. package/dist/application-spec/generate-application/runtime/admin-runtime/admin-runtime.js +1 -1
  129. package/dist/application-spec/generate-application/runtime/admin-runtime/admin-spec-runtime.d.ts +16 -0
  130. package/dist/application-spec/generate-application/runtime/admin-runtime/admin-spec-runtime.js +1 -0
  131. package/dist/application-spec/generate-application/runtime/admin-runtime/states-runtime.d.ts +2 -2
  132. package/dist/application-spec/generate-application/runtime/application-runtime.d.ts +35 -8
  133. package/dist/application-spec/generate-application/runtime/application-runtime.js +1 -1
  134. package/dist/application-spec/generate-application/runtime/application-spec-slice.d.ts +71 -0
  135. package/dist/application-spec/generate-application/runtime/application-spec-slice.js +1 -0
  136. package/dist/application-spec/generate-application/runtime/configurator-runtime/configurator-model-runtime.d.ts +7 -5
  137. package/dist/application-spec/generate-application/runtime/configurator-runtime/configurator-model-runtime.js +1 -1
  138. package/dist/application-spec/generate-application/runtime/configurator-runtime/configurator-runtime.d.ts +12 -5
  139. package/dist/application-spec/generate-application/runtime/configurator-runtime/configurator-runtime.js +1 -1
  140. package/dist/application-spec/generate-application/runtime/configurator-runtime/configurator-spec-runtime.d.ts +16 -0
  141. package/dist/application-spec/generate-application/runtime/configurator-runtime/configurator-spec-runtime.js +1 -0
  142. package/dist/application-spec/generate-application/runtime/configurator-runtime/states-runtime.d.ts +2 -2
  143. package/dist/application-spec/generate-application/runtime/create-application.d.ts +57 -0
  144. package/dist/application-spec/generate-application/runtime/create-application.js +1 -0
  145. package/dist/application-spec/generate-application/runtime/factory-data/factory-data-runtime.d.ts +43 -0
  146. package/dist/application-spec/generate-application/runtime/factory-data/factory-data-runtime.js +1 -0
  147. package/dist/application-spec/generate-application/runtime/factory-data/index.d.ts +3 -0
  148. package/dist/application-spec/generate-application/runtime/factory-data/index.js +1 -0
  149. package/dist/application-spec/generate-application/runtime/factory-data/recipe-defaults.d.ts +13 -0
  150. package/dist/application-spec/generate-application/runtime/factory-data/recipe-defaults.js +1 -0
  151. package/dist/application-spec/generate-application/runtime/factory-data/static-violations.d.ts +16 -0
  152. package/dist/application-spec/generate-application/runtime/factory-data/static-violations.js +1 -0
  153. package/dist/application-spec/generate-application/runtime/index.d.ts +8 -0
  154. package/dist/application-spec/generate-application/runtime/index.js +1 -0
  155. package/dist/application-spec/generate-application/runtime/migrations/index.d.ts +1 -0
  156. package/dist/application-spec/generate-application/runtime/migrations/index.js +1 -0
  157. package/dist/application-spec/generate-application/runtime/migrations/migration-runtime.d.ts +53 -0
  158. package/dist/application-spec/generate-application/runtime/migrations/migration-runtime.js +1 -0
  159. package/dist/application-spec/generate-application/runtime/sections/assistant-runtime.d.ts +2 -2
  160. package/dist/application-spec/generate-application/runtime/sections/build-sdk-optic.d.ts +2 -1
  161. package/dist/application-spec/generate-application/runtime/sections/build-sdk-optic.js +1 -1
  162. package/dist/application-spec/generate-application/runtime/sections/build-user-bound-optic.d.ts +2 -1
  163. package/dist/application-spec/generate-application/runtime/sections/build-user-bound-optic.js +1 -1
  164. package/dist/application-spec/generate-application/runtime/sections/component-optic.d.ts +3 -0
  165. package/dist/application-spec/generate-application/runtime/sections/component-optic.js +1 -1
  166. package/dist/application-spec/generate-application/runtime/sections/data-runtime.d.ts +4 -4
  167. package/dist/application-spec/generate-application/runtime/sections/expression-runtime.d.ts +15 -6
  168. package/dist/application-spec/generate-application/runtime/sections/expression-runtime.js +1 -1
  169. package/dist/application-spec/generate-application/runtime/sections/generate-memo-eval-plan-runtime.d.ts +9 -5
  170. package/dist/application-spec/generate-application/runtime/sections/generate-memo-eval-plan-runtime.js +1 -1
  171. package/dist/application-spec/generate-application/runtime/sections/reflection-constants-runtime.d.ts +3 -1
  172. package/dist/application-spec/generate-application/runtime/sections/reflection-constants-runtime.js +1 -1
  173. package/dist/application-spec/generate-application/runtime/sections/theme-runtime.d.ts +2 -2
  174. package/dist/application-spec/generate-application/runtime/sections/transformers-runtime.d.ts +3 -3
  175. package/dist/application-spec/generate-application/runtime/spec-code/index.d.ts +2 -0
  176. package/dist/application-spec/generate-application/runtime/spec-code/index.js +1 -0
  177. package/dist/application-spec/generate-application/runtime/spec-code/resolve-spec-code.d.ts +18 -0
  178. package/dist/application-spec/generate-application/runtime/spec-code/resolve-spec-code.js +1 -0
  179. package/dist/application-spec/generate-application/runtime/spec-code/spec-code-module.d.ts +17 -0
  180. package/dist/application-spec/generate-application/runtime/spec-code/spec-code-module.js +1 -0
  181. package/dist/application-spec/generate-application/runtime/spec-runtime.d.ts +21 -0
  182. package/dist/application-spec/generate-application/runtime/spec-runtime.js +1 -0
  183. package/dist/application-spec/generate-application/runtime-spec/decode-runtime-spec.d.ts +9 -0
  184. package/dist/application-spec/generate-application/runtime-spec/decode-runtime-spec.js +1 -0
  185. package/dist/application-spec/generate-application/runtime-spec/encode-runtime-spec.d.ts +8 -0
  186. package/dist/application-spec/generate-application/runtime-spec/encode-runtime-spec.js +1 -0
  187. package/dist/application-spec/generate-application/runtime-spec/encoded-runtime-spec.d.ts +28 -0
  188. package/dist/application-spec/generate-application/runtime-spec/encoded-runtime-spec.js +1 -0
  189. package/dist/application-spec/generate-application/runtime-spec/index.d.ts +5 -0
  190. package/dist/application-spec/generate-application/runtime-spec/index.js +1 -0
  191. package/dist/application-spec/generate-application/runtime-spec/runtime-spec.d.ts +103 -0
  192. package/dist/application-spec/generate-application/runtime-spec/runtime-spec.js +1 -0
  193. package/dist/application-spec/generate-application/runtime-spec/spec-code-id.d.ts +40 -0
  194. package/dist/application-spec/generate-application/runtime-spec/spec-code-id.js +1 -0
  195. package/dist/application-spec/parse-application-files/categorize/categorize-files.d.ts +34 -0
  196. package/dist/application-spec/parse-application-files/categorize/categorize-files.js +1 -1
  197. package/dist/application-spec/parse-application-files/categorize/earlier-generated-editor-configs.d.ts +16 -0
  198. package/dist/application-spec/parse-application-files/categorize/earlier-generated-editor-configs.js +9 -0
  199. package/dist/application-spec/parse-application-files/categorize/earlier-generated-tsconfig.d.ts +9 -0
  200. package/dist/application-spec/parse-application-files/categorize/earlier-generated-tsconfig.js +1 -0
  201. package/dist/application-spec/parse-application-files/raw-spec/parse-yaml-spec-file.js +1 -1
  202. package/dist/application-spec/parse-application-files/raw-spec/raw-assistant.d.ts +33 -3
  203. package/dist/application-spec/parse-application-files/raw-spec/raw-assistant.js +1 -1
  204. package/dist/application-spec/parse-application-files/spec/application/admin-spec/admin-spec.js +1 -1
  205. package/dist/application-spec/parse-application-files/spec/application/configurator-spec/configurator-spec.js +1 -1
  206. package/dist/application-spec/parse-application-files/spec/common/index.d.ts +1 -0
  207. package/dist/application-spec/parse-application-files/spec/common/index.js +1 -1
  208. package/dist/application-spec/parse-application-files/spec/common/value-type/format-value-type.d.ts +3 -0
  209. package/dist/application-spec/parse-application-files/spec/common/value-type/format-value-type.js +1 -0
  210. package/dist/application-spec/parse-application-files/spec/common/value-type/index.d.ts +5 -0
  211. package/dist/application-spec/parse-application-files/spec/common/value-type/index.js +1 -0
  212. package/dist/application-spec/parse-application-files/spec/common/value-type/intersect-value-types.d.ts +6 -0
  213. package/dist/application-spec/parse-application-files/spec/common/value-type/intersect-value-types.js +1 -0
  214. package/dist/application-spec/parse-application-files/spec/common/value-type/is-assignable-value-type.d.ts +8 -0
  215. package/dist/application-spec/parse-application-files/spec/common/value-type/is-assignable-value-type.js +1 -0
  216. package/dist/application-spec/parse-application-files/spec/common/value-type/value-type-at.d.ts +10 -0
  217. package/dist/application-spec/parse-application-files/spec/common/value-type/value-type-at.js +1 -0
  218. package/dist/application-spec/parse-application-files/spec/common/value-type/value-type.d.ts +98 -0
  219. package/dist/application-spec/parse-application-files/spec/common/value-type/value-type.js +1 -0
  220. package/dist/application-spec/parse-application-files/spec/components/bindings/component-path.d.ts +13 -0
  221. package/dist/application-spec/parse-application-files/spec/components/bindings/component-path.js +1 -0
  222. package/dist/application-spec/parse-application-files/spec/components/bindings/index.d.ts +2 -0
  223. package/dist/application-spec/parse-application-files/spec/components/bindings/index.js +1 -1
  224. package/dist/application-spec/parse-application-files/spec/components/bindings/read-binding-type.d.ts +24 -0
  225. package/dist/application-spec/parse-application-files/spec/components/bindings/read-binding-type.js +1 -0
  226. package/dist/application-spec/parse-application-files/spec/components/component-state-type.d.ts +8 -0
  227. package/dist/application-spec/parse-application-files/spec/components/component-state-type.js +1 -0
  228. package/dist/application-spec/parse-application-files/spec/components/filter-criterion-types.d.ts +13 -0
  229. package/dist/application-spec/parse-application-files/spec/components/filter-criterion-types.js +1 -0
  230. package/dist/application-spec/parse-application-files/spec/components/static-entity-id.d.ts +14 -0
  231. package/dist/application-spec/parse-application-files/spec/components/static-entity-id.js +1 -0
  232. package/dist/application-spec/parse-application-files/spec/components/user-component-entry.d.ts +6 -0
  233. package/dist/application-spec/parse-application-files/spec/components/user-component-entry.js +1 -1
  234. package/dist/application-spec/parse-application-files/spec/components/user-components.d.ts +7 -4
  235. package/dist/application-spec/parse-application-files/spec/components/user-components.js +1 -1
  236. package/dist/application-spec/parse-application-files/spec/expressions/expression-read-types.d.ts +24 -0
  237. package/dist/application-spec/parse-application-files/spec/expressions/expression-read-types.js +1 -0
  238. package/dist/application-spec/parse-application-files/spec/expressions/expression-read.d.ts +13 -0
  239. package/dist/application-spec/parse-application-files/spec/expressions/expression-read.js +1 -0
  240. package/dist/application-spec/parse-application-files/spec/expressions/expression-value-type.d.ts +9 -0
  241. package/dist/application-spec/parse-application-files/spec/expressions/expression-value-type.js +1 -0
  242. package/dist/application-spec/parse-application-files/spec/expressions/expressions.d.ts +6 -2
  243. package/dist/application-spec/parse-application-files/spec/expressions/expressions.js +1 -1
  244. package/dist/application-spec/parse-application-files/spec/expressions/user-expressions.d.ts +3 -1
  245. package/dist/application-spec/parse-application-files/spec/expressions/user-expressions.js +1 -1
  246. package/dist/application-spec/parse-application-files/spec/invariants/invariants.d.ts +2 -2
  247. package/dist/application-spec/parse-application-files/spec/invariants/invariants.js +1 -1
  248. package/dist/application-spec/parse-application-files/spec/model/index.d.ts +1 -0
  249. package/dist/application-spec/parse-application-files/spec/model/index.js +1 -1
  250. package/dist/application-spec/parse-application-files/spec/model/model-type-resolution.d.ts +10 -0
  251. package/dist/application-spec/parse-application-files/spec/model/model-type-resolution.js +1 -0
  252. package/dist/application-spec/parse-application-files/spec/sections/assistant/assistant-form-elements.d.ts +9 -0
  253. package/dist/application-spec/parse-application-files/spec/sections/assistant/assistant-form-elements.js +1 -0
  254. package/dist/application-spec/parse-application-files/spec/sections/assistant/assistant-schema.d.ts +4 -1
  255. package/dist/application-spec/parse-application-files/spec/sections/assistant/assistant-schema.js +1 -1
  256. package/dist/client/authorized-client.d.ts +3 -1
  257. package/dist/client/authorized-client.js +1 -1
  258. package/dist/client/contract.d.ts +17 -0
  259. package/dist/client/index.d.ts +1 -1
  260. package/dist/client/local-authorized-client.d.ts +3 -1
  261. package/dist/client/local-authorized-client.js +1 -1
  262. package/dist/client/memory-authorized-client.d.ts +4 -1
  263. package/dist/client/memory-authorized-client.js +1 -1
  264. package/dist/client/phoenix-api.d.ts +694 -99
  265. package/dist/configurator/ConfiguratorApp.js +1 -1
  266. package/dist/configurator/app-loader-content/DefaultAppLoaderContent.d.ts +2 -0
  267. package/dist/configurator/app-loader-content/DefaultAppLoaderContent.js +5 -0
  268. package/dist/configurator/app-loader-content/index.d.ts +1 -0
  269. package/dist/configurator/app-loader-content/index.js +1 -0
  270. package/dist/configurator/application-runtime/extensions/selectors.js +1 -1
  271. package/dist/configurator/application-runtime/extensions/systems/assistant-system/assistant-system.d.ts +52 -3
  272. package/dist/configurator/application-runtime/extensions/systems/assistant-system/assistant-system.js +1 -1
  273. package/dist/configurator/application-runtime/extensions/systems/assistant-system/graphql-tools.d.ts +40 -7
  274. package/dist/configurator/application-runtime/extensions/systems/assistant-system/graphql-tools.js +1 -1
  275. package/dist/configurator/application-runtime/extensions/systems/camera-control-system/camera-control-system.d.ts +1 -1
  276. package/dist/configurator/application-runtime/extensions/systems/canvas-system.d.ts +8 -0
  277. package/dist/configurator/application-runtime/extensions/systems/canvas-system.js +1 -1
  278. package/dist/configurator/application-runtime/extensions/systems/export-system/export-busy-error.d.ts +8 -0
  279. package/dist/configurator/application-runtime/extensions/systems/export-system/export-busy-error.js +1 -0
  280. package/dist/configurator/application-runtime/extensions/systems/export-system/export-system.d.ts +23 -1
  281. package/dist/configurator/application-runtime/extensions/systems/export-system/export-system.js +1 -1
  282. package/dist/configurator/application-runtime/extensions/systems/graphql-system/close-unclosed-braces.d.ts +12 -0
  283. package/dist/configurator/application-runtime/extensions/systems/graphql-system/close-unclosed-braces.js +1 -0
  284. package/dist/configurator/application-runtime/extensions/systems/graphql-system/entity-meta.d.ts +14 -1
  285. package/dist/configurator/application-runtime/extensions/systems/graphql-system/entity-meta.js +1 -1
  286. package/dist/configurator/application-runtime/extensions/systems/graphql-system/graphql-system.d.ts +58 -5
  287. package/dist/configurator/application-runtime/extensions/systems/graphql-system/graphql-system.js +1 -1
  288. package/dist/configurator/application-runtime/extensions/systems/image-rendering-system/image-rendering-system.d.ts +14 -5
  289. package/dist/configurator/application-runtime/extensions/systems/image-rendering-system/image-rendering-system.js +1 -1
  290. package/dist/configurator/application-runtime/extensions/systems/index.d.ts +1 -1
  291. package/dist/configurator/common/configurator-interface.d.ts +135 -5
  292. package/dist/configurator/common/configurator-interface.js +1 -1
  293. package/dist/configurator/common/index.d.ts +3 -1
  294. package/dist/configurator/common/index.js +1 -1
  295. package/dist/configurator/common/use-reset-camera.d.ts +6 -0
  296. package/dist/configurator/common/use-reset-camera.js +1 -0
  297. package/dist/configurator/configuration-not-found-page/BuiltInConfigurationNotFoundPage.d.ts +5 -0
  298. package/dist/configurator/configuration-not-found-page/BuiltInConfigurationNotFoundPage.js +1 -0
  299. package/dist/configurator/configuration-not-found-page/ConfigurationNotFoundPageElement.d.ts +6 -0
  300. package/dist/configurator/configuration-not-found-page/ConfigurationNotFoundPageElement.js +1 -0
  301. package/dist/configurator/configuration-not-found-page/index.d.ts +2 -0
  302. package/dist/configurator/configuration-not-found-page/index.js +1 -0
  303. package/dist/configurator/configurator-context/ConfiguratorResponsiveProvider.d.ts +12 -0
  304. package/dist/configurator/configurator-context/ConfiguratorResponsiveProvider.js +1 -0
  305. package/dist/configurator/configurator-context/PresetSelectionProvider.js +1 -1
  306. package/dist/configurator/configurator-context/PreviewContextProvider.js +1 -1
  307. package/dist/configurator/configurator-context/ViewportStateSync.d.ts +2 -2
  308. package/dist/configurator/configurator-context/ViewportStateSync.js +1 -1
  309. package/dist/configurator/configurator-context/configurator-hooks/layout-hooks.d.ts +10 -0
  310. package/dist/configurator/configurator-context/configurator-routing/ConfiguratorRoutingProvider.js +1 -1
  311. package/dist/configurator/configurator-error-page/BuiltInConfiguratorErrorPage.d.ts +6 -0
  312. package/dist/configurator/configurator-error-page/BuiltInConfiguratorErrorPage.js +1 -0
  313. package/dist/configurator/configurator-error-page/ConfiguratorErrorPageElement.d.ts +7 -0
  314. package/dist/configurator/configurator-error-page/ConfiguratorErrorPageElement.js +1 -0
  315. package/dist/configurator/configurator-error-page/index.d.ts +2 -0
  316. package/dist/configurator/configurator-error-page/index.js +1 -0
  317. package/dist/configurator/index.d.ts +10 -0
  318. package/dist/configurator/index.js +1 -1
  319. package/dist/configurator/pages/ConfiguratorErrorPage.d.ts +0 -1
  320. package/dist/configurator/pages/ConfiguratorErrorPage.js +1 -1
  321. package/dist/configurator/pages/ConfiguratorNotFoundPage.js +1 -1
  322. package/dist/configurator/pages/DefaultConfiguratorLayout.d.ts +3 -2
  323. package/dist/configurator/pages/DefaultNotAuthenticatedPage.d.ts +8 -0
  324. package/dist/configurator/pages/DefaultNotAuthenticatedPage.js +1 -0
  325. package/dist/configurator/pages/DefaultPresetUi.d.ts +7 -0
  326. package/dist/configurator/pages/DefaultPresetUi.js +1 -0
  327. package/dist/configurator/pages/LoadedConfiguratorDetailPage.js +1 -1
  328. package/dist/configurator/pages/NewConfiguratorPage.js +1 -1
  329. package/dist/configurator/pages/PresetCreationErrorPage.d.ts +1 -1
  330. package/dist/configurator/pages/PresetCreationErrorPage.js +1 -1
  331. package/dist/configurator/pages/RootPage.js +1 -1
  332. package/dist/configurator/pages/configurator-layout-name.d.ts +2 -0
  333. package/dist/configurator/pages/configurator-layout-name.js +1 -0
  334. package/dist/configurator/pages/default-configurator-elements.d.ts +13 -0
  335. package/dist/configurator/pages/default-configurator-elements.js +1 -0
  336. package/dist/configurator/pages/default-elements/built-in-entity-element.d.ts +10 -0
  337. package/dist/configurator/pages/default-elements/built-in-entity-element.js +1 -0
  338. package/dist/configurator/pages/default-elements/built-in-layout-element.d.ts +10 -0
  339. package/dist/configurator/pages/default-elements/built-in-layout-element.js +1 -0
  340. package/dist/configurator/pages/default-elements/domain-control-elements.d.ts +6 -0
  341. package/dist/configurator/pages/default-elements/domain-control-elements.js +1 -0
  342. package/dist/configurator/pages/default-elements/index.d.ts +5 -0
  343. package/dist/configurator/pages/default-elements/index.js +1 -0
  344. package/dist/configurator/pages/default-elements/recipe-panel-elements.d.ts +3 -0
  345. package/dist/configurator/pages/default-elements/recipe-panel-elements.js +1 -0
  346. package/dist/configurator/pages/default-elements/scene-controls/BuiltInAddEntityFab.d.ts +3 -0
  347. package/dist/configurator/pages/default-elements/scene-controls/BuiltInAddEntityFab.js +1 -0
  348. package/dist/configurator/pages/default-elements/scene-controls/BuiltInDeleteEntityFab.d.ts +3 -0
  349. package/dist/configurator/pages/default-elements/scene-controls/BuiltInDeleteEntityFab.js +1 -0
  350. package/dist/configurator/pages/default-elements/scene-controls/BuiltInNavigationHotspot.d.ts +3 -0
  351. package/dist/configurator/pages/default-elements/scene-controls/BuiltInNavigationHotspot.js +1 -0
  352. package/dist/configurator/pages/default-elements/scene-controls/BuiltInSelectionHotspot.d.ts +3 -0
  353. package/dist/configurator/pages/default-elements/scene-controls/BuiltInSelectionHotspot.js +1 -0
  354. package/dist/configurator/pages/default-elements/scene-controls/BuiltInToolMenuFab.d.ts +3 -0
  355. package/dist/configurator/pages/default-elements/scene-controls/BuiltInToolMenuFab.js +1 -0
  356. package/dist/configurator/pages/default-elements/scene-controls/index.d.ts +6 -0
  357. package/dist/configurator/pages/default-elements/scene-controls/index.js +1 -0
  358. package/dist/configurator/pages/default-elements/scene-controls/scene-control-elements.d.ts +6 -0
  359. package/dist/configurator/pages/default-elements/scene-controls/scene-control-elements.js +1 -0
  360. package/dist/configurator/pages/default-elements/sidebar-footer-elements.d.ts +7 -0
  361. package/dist/configurator/pages/default-elements/sidebar-footer-elements.js +1 -0
  362. package/dist/configurator/pages/default-elements/toolbar-elements.d.ts +7 -0
  363. package/dist/configurator/pages/default-elements/toolbar-elements.js +1 -0
  364. package/dist/configurator/pages/error-boundaries/GeneralErrorBoundary.js +1 -1
  365. package/dist/configurator/pages/error-boundaries/LoadingErrorBoundary.js +1 -1
  366. package/dist/configurator/pages/index.d.ts +1 -0
  367. package/dist/configurator/pages/index.js +1 -1
  368. package/dist/configurator/preset-screen-elements/PresetDeviceNotSupportedElement.d.ts +4 -0
  369. package/dist/configurator/preset-screen-elements/PresetDeviceNotSupportedElement.js +1 -0
  370. package/dist/configurator/preset-screen-elements/PresetPageActionElement.d.ts +4 -0
  371. package/dist/configurator/preset-screen-elements/PresetPageActionElement.js +1 -0
  372. package/dist/configurator/preset-screen-elements/index.d.ts +2 -0
  373. package/dist/configurator/preset-screen-elements/index.js +1 -0
  374. package/dist/configurator/scene/index.d.ts +1 -0
  375. package/dist/configurator/scene/index.js +1 -1
  376. package/dist/configurator/scene/scene-controls/DeleteEntityFab.js +1 -1
  377. package/dist/configurator/scene/scene-controls/SelectionHotspot.js +1 -1
  378. package/dist/configurator/scene/scene-controls/ToolFab.d.ts +4 -0
  379. package/dist/configurator/scene/scene-controls/ToolFab.js +1 -1
  380. package/dist/configurator/scene/scene-controls/use-scene-control-tooltip.d.ts +2 -1
  381. package/dist/configurator/scene/scene-entity/scene-controls/SceneEntityHtmlHotspots.js +1 -1
  382. package/dist/configurator/toolbar-actions/index.d.ts +3 -0
  383. package/dist/configurator/toolbar-actions/index.js +1 -0
  384. package/dist/configurator/toolbar-actions/use-assistant-panel.d.ts +18 -0
  385. package/dist/configurator/toolbar-actions/use-assistant-panel.js +1 -0
  386. package/dist/configurator/toolbar-actions/use-measurements.d.ts +35 -0
  387. package/dist/configurator/toolbar-actions/use-measurements.js +1 -0
  388. package/dist/configurator/toolbar-actions/use-toolbar-actions.d.ts +100 -0
  389. package/dist/configurator/toolbar-actions/use-toolbar-actions.js +1 -0
  390. package/dist/configurator/toolbar-actions/use-toolbar-help.d.ts +7 -0
  391. package/dist/configurator/toolbar-actions/use-toolbar-help.js +1 -0
  392. package/dist/configurator/ui/assistant/AssistantChips.d.ts +10 -3
  393. package/dist/configurator/ui/assistant/AssistantChips.js +1 -1
  394. package/dist/configurator/ui/assistant/AssistantMarkdown.d.ts +7 -2
  395. package/dist/configurator/ui/assistant/AssistantMarkdown.js +1 -1
  396. package/dist/configurator/ui/assistant/AssistantPanel.js +1 -1
  397. package/dist/configurator/ui/assistant/AssistantThread.js +1 -1
  398. package/dist/configurator/ui/assistant/alert/AssistantAlert.d.ts +8 -0
  399. package/dist/configurator/ui/assistant/alert/AssistantAlert.js +1 -0
  400. package/dist/configurator/ui/assistant/alert/index.d.ts +2 -0
  401. package/dist/configurator/ui/assistant/alert/index.js +1 -0
  402. package/dist/configurator/ui/assistant/alert/remark-alerts.d.ts +10 -0
  403. package/dist/configurator/ui/assistant/alert/remark-alerts.js +1 -0
  404. package/dist/configurator/ui/assistant/entity-link/AssistantEntityLink.d.ts +1 -1
  405. package/dist/configurator/ui/assistant/entity-link/AssistantEntityLink.js +1 -1
  406. package/dist/configurator/ui/assistant/entity-link/entity-link-state.d.ts +1 -1
  407. package/dist/configurator/ui/assistant/entity-link/index.d.ts +0 -1
  408. package/dist/configurator/ui/assistant/entity-link/index.js +1 -1
  409. package/dist/configurator/ui/assistant/form/AssistantForm.d.ts +19 -0
  410. package/dist/configurator/ui/assistant/form/AssistantForm.js +1 -0
  411. package/dist/configurator/ui/assistant/form/compose-answer.d.ts +11 -0
  412. package/dist/configurator/ui/assistant/form/compose-answer.js +1 -0
  413. package/dist/configurator/ui/assistant/form/describe-build-errors.d.ts +6 -0
  414. package/dist/configurator/ui/assistant/form/describe-build-errors.js +1 -0
  415. package/dist/configurator/ui/assistant/form/form-model.d.ts +37 -0
  416. package/dist/configurator/ui/assistant/form/form-model.js +1 -0
  417. package/dist/configurator/ui/assistant/form/form-state.d.ts +4 -0
  418. package/dist/configurator/ui/assistant/form/form-state.js +1 -0
  419. package/dist/configurator/ui/assistant/form/index.d.ts +4 -0
  420. package/dist/configurator/ui/assistant/form/index.js +1 -0
  421. package/dist/configurator/ui/assistant/form/parse-form-block.d.ts +10 -0
  422. package/dist/configurator/ui/assistant/form/parse-form-block.js +1 -0
  423. package/dist/configurator/ui/assistant/form/read-form-attributes.d.ts +13 -0
  424. package/dist/configurator/ui/assistant/form/read-form-attributes.js +1 -0
  425. package/dist/configurator/ui/assistant/form/registry/built-in-form-elements.d.ts +3 -0
  426. package/dist/configurator/ui/assistant/form/registry/built-in-form-elements.js +1 -0
  427. package/dist/configurator/ui/assistant/form/registry/create-assistant-form-element.d.ts +31 -0
  428. package/dist/configurator/ui/assistant/form/registry/create-assistant-form-element.js +1 -0
  429. package/dist/configurator/ui/assistant/form/registry/form-element-definition.d.ts +16 -0
  430. package/dist/configurator/ui/assistant/form/registry/form-element-definition.js +1 -0
  431. package/dist/configurator/ui/assistant/form/registry/form-registry.d.ts +31 -0
  432. package/dist/configurator/ui/assistant/form/registry/form-registry.js +1 -0
  433. package/dist/configurator/ui/assistant/form/registry/index.d.ts +6 -0
  434. package/dist/configurator/ui/assistant/form/registry/index.js +1 -0
  435. package/dist/configurator/ui/assistant/form/registry/use-form-registry.d.ts +8 -0
  436. package/dist/configurator/ui/assistant/form/registry/use-form-registry.js +1 -0
  437. package/dist/configurator/ui/assistant/form-elements/FormCard.d.ts +9 -0
  438. package/dist/configurator/ui/assistant/form-elements/FormCard.js +1 -0
  439. package/dist/configurator/ui/assistant/form-elements/FormConfirm.d.ts +9 -0
  440. package/dist/configurator/ui/assistant/form-elements/FormConfirm.js +1 -0
  441. package/dist/configurator/ui/assistant/form-elements/FormGroup.d.ts +6 -0
  442. package/dist/configurator/ui/assistant/form-elements/FormGroup.js +1 -0
  443. package/dist/configurator/ui/assistant/form-elements/FormNumber.d.ts +9 -0
  444. package/dist/configurator/ui/assistant/form-elements/FormNumber.js +1 -0
  445. package/dist/configurator/ui/assistant/form-elements/FormOptions.d.ts +6 -0
  446. package/dist/configurator/ui/assistant/form-elements/FormOptions.js +1 -0
  447. package/dist/configurator/ui/assistant/form-elements/FormReply.d.ts +6 -0
  448. package/dist/configurator/ui/assistant/form-elements/FormReply.js +1 -0
  449. package/dist/configurator/ui/assistant/form-elements/FormSwatch.d.ts +10 -0
  450. package/dist/configurator/ui/assistant/form-elements/FormSwatch.js +1 -0
  451. package/dist/configurator/ui/assistant/form-elements/FormText.d.ts +6 -0
  452. package/dist/configurator/ui/assistant/form-elements/FormText.js +1 -0
  453. package/dist/configurator/ui/assistant/form-elements/clamp-form-number.d.ts +10 -0
  454. package/dist/configurator/ui/assistant/form-elements/clamp-form-number.js +1 -0
  455. package/dist/configurator/ui/assistant/form-elements/form-element-props.d.ts +38 -0
  456. package/dist/configurator/ui/assistant/form-elements/form-element-props.js +1 -0
  457. package/dist/configurator/ui/assistant/form-elements/index.d.ts +9 -0
  458. package/dist/configurator/ui/assistant/form-elements/index.js +1 -0
  459. package/dist/configurator/ui/assistant/index.d.ts +3 -0
  460. package/dist/configurator/ui/assistant/index.js +1 -1
  461. package/dist/configurator/ui/assistant/reference-link/AssistantReferenceLink.d.ts +16 -0
  462. package/dist/configurator/ui/assistant/reference-link/AssistantReferenceLink.js +1 -0
  463. package/dist/configurator/ui/assistant/reference-link/assistant-link-target.d.ts +34 -0
  464. package/dist/configurator/ui/assistant/reference-link/assistant-link-target.js +1 -0
  465. package/dist/configurator/ui/assistant/reference-link/assistant-reference-details.d.ts +25 -0
  466. package/dist/configurator/ui/assistant/reference-link/assistant-reference-details.js +1 -0
  467. package/dist/configurator/ui/assistant/reference-link/index.d.ts +3 -0
  468. package/dist/configurator/ui/assistant/reference-link/index.js +1 -0
  469. package/dist/configurator/ui/assistant/reference-link/reference-styles.d.ts +12 -0
  470. package/dist/configurator/ui/assistant/reference-link/reference-styles.js +1 -0
  471. package/dist/configurator/ui/assistant/reference-link/use-assistant-reference-details.d.ts +8 -0
  472. package/dist/configurator/ui/assistant/reference-link/use-assistant-reference-details.js +1 -0
  473. package/dist/configurator/ui/assistant/resource-image/AssistantImage.d.ts +9 -0
  474. package/dist/configurator/ui/assistant/resource-image/AssistantImage.js +1 -0
  475. package/dist/configurator/ui/assistant/resource-image/index.d.ts +3 -0
  476. package/dist/configurator/ui/assistant/resource-image/index.js +1 -0
  477. package/dist/configurator/ui/assistant/resource-image/resource-path.d.ts +2 -0
  478. package/dist/configurator/ui/assistant/resource-image/resource-path.js +1 -0
  479. package/dist/configurator/ui/assistant/resource-image/use-resource-image-url.d.ts +5 -0
  480. package/dist/configurator/ui/assistant/resource-image/use-resource-image-url.js +1 -0
  481. package/dist/configurator/ui/assistant/screenshots/ScreenshotThumbnails.d.ts +9 -0
  482. package/dist/configurator/ui/assistant/screenshots/ScreenshotThumbnails.js +1 -0
  483. package/dist/configurator/ui/assistant/screenshots/index.d.ts +2 -0
  484. package/dist/configurator/ui/assistant/screenshots/index.js +1 -0
  485. package/dist/configurator/ui/assistant/screenshots/tool-screenshots.d.ts +22 -0
  486. package/dist/configurator/ui/assistant/screenshots/tool-screenshots.js +1 -0
  487. package/dist/configurator/ui/assistant/screenshots/use-screenshot-src.d.ts +8 -0
  488. package/dist/configurator/ui/assistant/screenshots/use-screenshot-src.js +1 -0
  489. package/dist/configurator/ui/assistant/streamed-markdown.d.ts +4 -2
  490. package/dist/configurator/ui/assistant/streamed-markdown.js +2 -2
  491. package/dist/configurator/ui/assistant/thread-items.d.ts +8 -1
  492. package/dist/configurator/ui/assistant/thread-items.js +1 -1
  493. package/dist/configurator/ui/assistant/tool-chip.js +1 -1
  494. package/dist/configurator/ui/assistant/use-follow-stream.js +1 -1
  495. package/dist/configurator/ui/configurator-layout/slots/canvas/LayoutCanvas.js +1 -1
  496. package/dist/configurator/ui/configurator-layout/slots/canvas/SharedCanvas.js +1 -1
  497. package/dist/configurator/ui/configurator-layout/slots/mobile-tabs/use-mobile-tabs.d.ts +1 -1
  498. package/dist/configurator/ui/configurator-layout/slots/mobile-tabs/use-mobile-tabs.js +1 -1
  499. package/dist/configurator/ui/configurator-layout/slots/services/InvariantViolations.js +1 -1
  500. package/dist/configurator/ui/configurator-layout/slots/services/Services.js +1 -1
  501. package/dist/configurator/ui/configurator-layout/slots/sidebar-tabs/use-sidebar-tabs.d.ts +1 -1
  502. package/dist/configurator/ui/configurator-layout/slots/sidebar-tabs/use-sidebar-tabs.js +1 -1
  503. package/dist/configurator/ui/configurator-layout/universal/ExportingOverlay.d.ts +5 -0
  504. package/dist/configurator/ui/configurator-layout/universal/ExportingOverlay.js +1 -0
  505. package/dist/configurator/ui/configurator-layout/universal/Layout.js +1 -1
  506. package/dist/configurator/ui/configurator-layout/universal/use-layout-scene-safe-area.d.ts +1 -1
  507. package/dist/configurator/ui/configurator-layout/universal/use-layout-scene-safe-area.js +1 -1
  508. package/dist/configurator/ui/configurator-layout/universal/use-scene-safe-area.d.ts +1 -1
  509. package/dist/configurator/ui/index.d.ts +1 -0
  510. package/dist/configurator/ui/index.js +1 -1
  511. package/dist/configurator/ui/legacy/layout/common/CommonFinalizeButton.js +1 -1
  512. package/dist/configurator/ui/legacy/layout/common/CommonSummaryButton.js +1 -1
  513. package/dist/configurator/ui/legacy/layout/common/CommonTopNavigation.js +1 -1
  514. package/dist/configurator/ui/legacy/layout/common/ReactiveInterfaceLayout.js +1 -1
  515. package/dist/configurator/ui/legacy/layout/common/ResponsiveFinalizeButton.js +1 -1
  516. package/dist/configurator/ui/legacy/layout/common/SummaryReadLayout.js +1 -1
  517. package/dist/configurator/ui/legacy/layout/simple/SimpleOwnerLayout.js +1 -1
  518. package/dist/configurator/ui/legacy/layout/simple/SimpleTopNavigation.js +1 -1
  519. package/dist/configurator/ui/legacy/layout/steps/StepsNavigation.js +1 -1
  520. package/dist/configurator/ui/legacy/layout/steps/StepsOwnerLayout.js +1 -1
  521. package/dist/configurator/ui/legacy/layout/steps/StepsSidebarFooter.js +1 -1
  522. package/dist/configurator/ui/legacy/layout/tabs/TabsOwnerLayout.js +1 -1
  523. package/dist/configurator/ui/legacy/toolbar/common/DimensionUnitSelector.js +1 -1
  524. package/dist/configurator/ui/legacy/toolbar/common/MeasurementsIndicatorsSwitch.js +1 -1
  525. package/dist/configurator/ui/legacy/toolbar/desktop-toolbar/FullscreenToolbarAction.js +1 -1
  526. package/dist/configurator/ui/legacy/toolbar/desktop-toolbar/HelpToolbarAction.js +1 -1
  527. package/dist/configurator/ui/legacy/toolbar/desktop-toolbar/MeasurementsToolbarAction.js +1 -1
  528. package/dist/configurator/ui/legacy/toolbar/desktop-toolbar/UndoRedoToolbarGroup.js +1 -1
  529. package/dist/configurator/ui/phoenix-layout-elements/AppLoader.d.ts +0 -7
  530. package/dist/configurator/ui/phoenix-layout-elements/AppLoader.js +2 -6
  531. package/dist/configurator/ui/phoenix-layout-elements/AssistantToolbarButton.js +1 -1
  532. package/dist/configurator/ui/phoenix-layout-elements/EnterFullscreenToolbarButton.js +1 -1
  533. package/dist/configurator/ui/phoenix-layout-elements/ExitFullscreenToolbarButton.js +1 -1
  534. package/dist/configurator/ui/phoenix-layout-elements/HelpToolbarButton.js +1 -1
  535. package/dist/configurator/ui/phoenix-layout-elements/LanguageMenuAction.js +1 -1
  536. package/dist/configurator/ui/phoenix-layout-elements/LanguageToolbarButton.js +1 -1
  537. package/dist/configurator/ui/phoenix-layout-elements/LayoutCustomOwnerUi.d.ts +1 -0
  538. package/dist/configurator/ui/phoenix-layout-elements/LayoutCustomOwnerUi.js +1 -1
  539. package/dist/configurator/ui/phoenix-layout-elements/LayoutCustomReadUi.d.ts +1 -0
  540. package/dist/configurator/ui/phoenix-layout-elements/LayoutCustomReadUi.js +1 -1
  541. package/dist/configurator/ui/phoenix-layout-elements/MeasurementsMenuAction.js +1 -1
  542. package/dist/configurator/ui/phoenix-layout-elements/MeasurementsToolbarButton.js +1 -1
  543. package/dist/configurator/ui/phoenix-layout-elements/RedoToolbarButton.js +1 -1
  544. package/dist/configurator/ui/phoenix-layout-elements/ShareToolbarButton.js +1 -1
  545. package/dist/configurator/ui/phoenix-layout-elements/UndoToolbarButton.js +1 -1
  546. package/dist/configurator/ui/phoenix-layout-elements/header/common/back-button/use-go-back-action.js +1 -1
  547. package/dist/configurator/ui/phoenix-layout-elements/header/common/horizontal-tabs/DesktopHorizontalTabs.js +1 -1
  548. package/dist/configurator/ui/phoenix-layout-elements/header/common/step-navigation/DesktopNavigationSteps.d.ts +1 -1
  549. package/dist/configurator/ui/phoenix-layout-elements/header/common/step-navigation/DesktopNavigationSteps.js +1 -1
  550. package/dist/configurator/ui/phoenix-layout-elements/header/common/step-navigation/StepsNavigation.d.ts +2 -8
  551. package/dist/configurator/ui/phoenix-layout-elements/header/common/step-navigation/StepsNavigation.js +1 -1
  552. package/dist/configurator/ui/phoenix-layout-elements/index.d.ts +8 -1
  553. package/dist/configurator/ui/phoenix-layout-elements/index.js +1 -1
  554. package/dist/configurator/ui/phoenix-layout-elements/measurements/DimensionUnitSelector.js +1 -1
  555. package/dist/configurator/ui/phoenix-layout-elements/measurements/MeasurementsIndicatorsSwitch.js +1 -1
  556. package/dist/configurator/ui/phoenix-layout-elements/share/ShareModal.js +1 -1
  557. package/dist/configurator/ui/phoenix-layout-elements/share/use-share.d.ts +7 -8
  558. package/dist/configurator/ui/phoenix-layout-elements/share/use-share.js +1 -1
  559. package/dist/configurator/ui/phoenix-layout-elements/sidebar-footer/basic/BasicFinalizeButton.js +1 -1
  560. package/dist/configurator/ui/phoenix-layout-elements/sidebar-footer/common/CustomFinalizeButton.js +1 -1
  561. package/dist/configurator/ui/phoenix-layout-elements/sidebar-footer/common/EnterSummaryButton.js +1 -1
  562. package/dist/configurator/ui/phoenix-layout-elements/sidebar-footer/common/FinalizeActions.js +1 -1
  563. package/dist/configurator/ui/phoenix-layout-elements/sidebar-footer/common/NextStepButton.js +1 -1
  564. package/dist/configurator/ui/phoenix-layout-elements/sidebar-footer/common/PreviousStepButton.js +1 -1
  565. package/dist/configurator/ui/preset-layout/CategoryPresetUi.js +1 -1
  566. package/dist/configurator/ui/preset-layout/PresetUi.d.ts +4 -2
  567. package/dist/configurator/ui/preset-layout/PresetUi.js +1 -1
  568. package/dist/configurator/ui/preset-layout/index.d.ts +6 -1
  569. package/dist/configurator/ui/preset-layout/index.js +1 -1
  570. package/dist/configurator/ui/save-message-snackbars/SaveMessageSnackbars.d.ts +10 -0
  571. package/dist/configurator/ui/save-message-snackbars/SaveMessageSnackbars.js +1 -0
  572. package/dist/configurator/ui/save-message-snackbars/index.d.ts +1 -0
  573. package/dist/configurator/ui/save-message-snackbars/index.js +1 -0
  574. package/dist/docs/complex-use-cases/focus-mode.mdx +2 -0
  575. package/dist/docs/controls/select-child-entity/cardselect.mdx +1 -0
  576. package/dist/docs/fabs/basic.mdx +6 -2
  577. package/dist/docs/index.json +95 -1
  578. package/dist/docs/integrations/webcomponent-api/basics.mdx +2 -0
  579. package/dist/docs/layouts/custom-layout.mdx +1643 -210
  580. package/dist/docs/layouts/gallery/ardent-compressor.mdx +3516 -0
  581. package/dist/docs/layouts/gallery/corvid-drone.mdx +3428 -0
  582. package/dist/docs/layouts/gallery/fenwick-window.mdx +2803 -0
  583. package/dist/docs/layouts/gallery/ferrule-bar-station.mdx +6567 -0
  584. package/dist/docs/layouts/gallery/kestrel-kettle.mdx +1858 -0
  585. package/dist/docs/layouts/gallery/nightjar-guitar.mdx +3698 -0
  586. package/dist/docs/layouts/gallery/sunfold-solar.mdx +2683 -0
  587. package/dist/docs/layouts/gallery/tidepool-aquascape.mdx +5203 -0
  588. package/dist/docs/other-features/client-side-rendering/declarative.mdx +1 -1
  589. package/dist/docs/other-features/error-5xx.mdx +1 -1
  590. package/dist/docs/other-features/navigation-hotspot.mdx +2 -0
  591. package/dist/docs/other-features/not-found-404.mdx +1 -1
  592. package/dist/docs/phoenix/clerk-sign-in.mdx +1 -1
  593. package/dist/docs/phoenix/components.mdx +6 -0
  594. package/dist/docs/phoenix/configurator-interface.mdx +245 -28
  595. package/dist/docs/phoenix/deployments.mdx +2 -6
  596. package/dist/docs/phoenix/domain-model.mdx +6 -1
  597. package/dist/docs/phoenix/finalization.mdx +1 -1
  598. package/dist/docs/phoenix/getting-started.mdx +6 -3
  599. package/dist/docs/phoenix/layout-slots.mdx +25 -23
  600. package/dist/docs/phoenix/localization.mdx +10 -6
  601. package/dist/docs/phoenix/migration-guide.mdx +24 -11
  602. package/dist/docs/phoenix/phoenix-cli.mdx +77 -22
  603. package/dist/docs/phoenix/project-structure.mdx +70 -33
  604. package/dist/docs/phoenix/quickstart.mdx +7 -7
  605. package/dist/docs/phoenix/sdk-builder-workflow.mdx +12 -10
  606. package/dist/docs/phoenix/sessions-and-access.mdx +2 -0
  607. package/dist/docs/phoenix/testing.mdx +8 -0
  608. package/dist/docs/phoenix/webhooks.mdx +21 -4
  609. package/dist/docs/selection-and-highlight/hotspots.mdx +2 -0
  610. package/dist/domain/application/application-config.d.ts +3 -1
  611. package/dist/domain/application/assistant/assistant-manifest.d.ts +16 -1
  612. package/dist/domain/application/assistant/assistant-resolved-manifest.d.ts +8 -1
  613. package/dist/domain/application/assistant/build-assistant-manifest.js +1 -1
  614. package/dist/domain/application/assistant/form/assistant-form-element-name.d.ts +11 -0
  615. package/dist/domain/application/assistant/form/assistant-form-element-name.js +8 -0
  616. package/dist/domain/application/assistant/form/assistant-form-elements.d.ts +174 -0
  617. package/dist/domain/application/assistant/form/assistant-form-elements.js +1 -0
  618. package/dist/domain/application/assistant/form/assistant-resource-path.d.ts +10 -0
  619. package/dist/domain/application/assistant/form/assistant-resource-path.js +1 -0
  620. package/dist/domain/application/assistant/form/index.d.ts +4 -0
  621. package/dist/domain/application/assistant/form/index.js +1 -0
  622. package/dist/domain/application/assistant/generate-assistant-prompt.d.ts +3 -0
  623. package/dist/domain/application/assistant/generate-assistant-prompt.js +1 -1
  624. package/dist/domain/application/assistant/index.d.ts +2 -1
  625. package/dist/domain/application/assistant/index.js +1 -1
  626. package/dist/domain/application/assistant/session-setup/apply-assistant-setup.js +1 -1
  627. package/dist/domain/application/assistant/session-setup/assistant-setup-manifest.d.ts +2 -0
  628. package/dist/domain/application/assistant/session-setup/assistant-setup-manifest.js +1 -1
  629. package/dist/domain/application/assistant-recipe-groups.d.ts +3 -1
  630. package/dist/domain/application/configurator-builder.d.ts +10 -1
  631. package/dist/domain/application/configurator-builder.js +1 -1
  632. package/dist/domain/application/index.d.ts +1 -1
  633. package/dist/domain/application/index.js +1 -1
  634. package/dist/domain/application/standard-properties.js +1 -1
  635. package/dist/domain/application/web-component-property.d.ts +3 -1
  636. package/dist/domain/application/web-component-property.js +1 -1
  637. package/dist/domain/available-system-components.d.ts +1 -1
  638. package/dist/domain/available-system-components.js +1 -1
  639. package/dist/domain/core/schema/extended-schema-validator.js +1 -1
  640. package/dist/domain/domain-builder.d.ts +9 -3
  641. package/dist/domain/domain-builder.js +1 -1
  642. package/dist/domain/domain-context/index.d.ts +1 -1
  643. package/dist/domain/domain-context/store-system/store-system.d.ts +5 -0
  644. package/dist/domain/domain-context/store-system/store-system.js +1 -1
  645. package/dist/domain/domain-context/undo-system.d.ts +28 -1
  646. package/dist/domain/domain-context/undo-system.js +1 -1
  647. package/dist/domain/domain-runtime/application.d.ts +39 -0
  648. package/dist/domain/domain-runtime/application.js +1 -0
  649. package/dist/domain/domain-runtime/domain-context/selectors.d.ts +1 -0
  650. package/dist/domain/domain-runtime/domain-context/selectors.js +1 -1
  651. package/dist/domain/domain-runtime/domain-runtime.d.ts +44 -4
  652. package/dist/domain/domain-runtime/domain-runtime.js +1 -1
  653. package/dist/domain/domain-runtime/environment/initialize.d.ts +1 -1
  654. package/dist/domain/domain-runtime/environment/types.d.ts +1 -1
  655. package/dist/domain/domain-runtime/errors/implementation-error-collector.d.ts +2 -0
  656. package/dist/domain/domain-runtime/errors/implementation-error-collector.js +1 -1
  657. package/dist/domain/domain-runtime/index.d.ts +2 -1
  658. package/dist/domain/domain-runtime/index.js +1 -1
  659. package/dist/domain/domain-runtime/spec/index.d.ts +1 -1
  660. package/dist/domain/domain-runtime/spec/index.js +1 -1
  661. package/dist/domain/domain-runtime/spec/initialize.js +1 -1
  662. package/dist/domain/domain-runtime/spec/module-checks/element-registration.d.ts +27 -12
  663. package/dist/domain/domain-runtime/spec/module-checks/element-registration.js +1 -1
  664. package/dist/domain/domain-runtime/spec/module-checks/find-assistant-form-element-errors.d.ts +12 -0
  665. package/dist/domain/domain-runtime/spec/module-checks/find-assistant-form-element-errors.js +1 -0
  666. package/dist/domain/domain-runtime/spec/module-checks/index.d.ts +3 -1
  667. package/dist/domain/domain-runtime/spec/module-checks/index.js +1 -1
  668. package/dist/domain/domain-runtime/spec/module-checks/merge-expression-modules.d.ts +23 -0
  669. package/dist/domain/domain-runtime/spec/module-checks/merge-expression-modules.js +1 -0
  670. package/dist/domain/domain-runtime/spec/module-checks/resolve-expression-modules.d.ts +3 -4
  671. package/dist/domain/domain-runtime/spec/module-checks/resolve-expression-modules.js +1 -1
  672. package/dist/domain/domain-runtime/spec/selectors.d.ts +3 -1
  673. package/dist/domain/domain-runtime/spec/selectors.js +1 -1
  674. package/dist/domain/domain-runtime/spec/types.d.ts +2 -0
  675. package/dist/domain/domain-runtime/web-component/actions.d.ts +3 -0
  676. package/dist/domain/domain-runtime/web-component/actions.js +1 -1
  677. package/dist/domain/domain-runtime/web-component/initialize.d.ts +1 -0
  678. package/dist/domain/domain-runtime/web-component/initialize.js +1 -1
  679. package/dist/domain/domain-runtime/web-component/selectors.d.ts +2 -0
  680. package/dist/domain/domain-runtime/web-component/selectors.js +1 -1
  681. package/dist/domain/domain-runtime/web-component/types.d.ts +6 -3
  682. package/dist/domain/extensions/export-images/agent-screenshot.d.ts +24 -0
  683. package/dist/domain/extensions/export-images/agent-screenshot.js +1 -0
  684. package/dist/domain/extensions/{client-side-image.d.ts → export-images/client-side-image.d.ts} +2 -2
  685. package/dist/domain/extensions/export-images/client-side-image.js +1 -0
  686. package/dist/domain/extensions/export-images/index.d.ts +3 -0
  687. package/dist/domain/extensions/export-images/index.js +1 -0
  688. package/dist/domain/extensions/{save-template-thumbnail.d.ts → export-images/save-template-thumbnail.d.ts} +2 -2
  689. package/dist/domain/extensions/export-images/save-template-thumbnail.js +1 -0
  690. package/dist/domain/extensions/index.d.ts +1 -2
  691. package/dist/domain/extensions/index.js +1 -1
  692. package/dist/domain/mocks/create-mock-domain-runtime.d.ts +9 -0
  693. package/dist/domain/system-components/child-entity-selection.js +1 -1
  694. package/dist/domain/system-components/common/scene-entity-control-schema.d.ts +3 -0
  695. package/dist/domain/system-components/common/scene-entity-control-schema.js +1 -1
  696. package/dist/editor/Editor.d.ts +7 -0
  697. package/dist/editor/Editor.js +1 -1
  698. package/dist/editor/domain-editors/DomainSpecContext.js +1 -1
  699. package/dist/editor/domain-editors/apply-spec-update.d.ts +10 -2
  700. package/dist/editor/domain-editors/apply-spec-update.js +1 -1
  701. package/dist/editor/domain-editors/use-implementation-files.d.ts +6 -14
  702. package/dist/editor/domain-editors/use-implementation-files.js +1 -1
  703. package/dist/editor/mocks/CreateMockYaml.js +2 -2
  704. package/dist/editor/mocks/EditorMockContext.d.ts +2 -0
  705. package/dist/editor/mocks/EditorMockContext.js +1 -1
  706. package/dist/editor/screenshot/ScreenshotHandler.js +1 -1
  707. package/dist/globals/index.d.ts +2 -0
  708. package/dist/i18n/locales/cs/messages.js +1 -1
  709. package/dist/i18n/locales/da/messages.js +1 -1
  710. package/dist/i18n/locales/de/messages.js +1 -1
  711. package/dist/i18n/locales/de-AT/messages.js +1 -1
  712. package/dist/i18n/locales/en/messages.js +1 -1
  713. package/dist/i18n/locales/en-AU/messages.js +1 -1
  714. package/dist/i18n/locales/en-GB/messages.js +1 -1
  715. package/dist/i18n/locales/es/messages.js +1 -1
  716. package/dist/i18n/locales/fr/messages.js +1 -1
  717. package/dist/i18n/locales/hu/messages.js +1 -1
  718. package/dist/i18n/locales/it/messages.js +1 -1
  719. package/dist/i18n/locales/nl/messages.js +1 -1
  720. package/dist/i18n/locales/pl/messages.js +1 -1
  721. package/dist/i18n/locales/pt/messages.js +1 -1
  722. package/dist/i18n/locales/ro/messages.js +1 -1
  723. package/dist/i18n/locales/sk/messages.js +1 -1
  724. package/dist/i18n/locales/tr/messages.js +1 -1
  725. package/dist/legacy/domain-cli/utils/cache.d.ts +1 -1
  726. package/dist/legacy/domain-cli/utils/cache.js +1 -1
  727. package/dist/legacy/domain-spec/__generated/domain-schema.d.ts +95 -80
  728. package/dist/legacy/domain-spec/spec/domain-spec.js +1 -1
  729. package/dist/legacy/phoenix-cli/project-gen/generators/file-templates/agents/claude-md.d.ts +1 -1
  730. package/dist/legacy/phoenix-cli/project-gen/generators/file-templates/agents/cursor-rules.d.ts +1 -1
  731. package/dist/legacy/phoenix-cli/project-gen/generators/file-templates/agents/shared-sdk-content.d.ts +1 -1
  732. package/dist/legacy/phoenix-cli/project-gen/generators/file-templates/agents/shared-sdk-content.js +13 -2
  733. package/dist/legacy/phoenix-cli/project-gen/generators/file-templates/frontend-admin.js +15 -14
  734. package/dist/legacy/phoenix-cli/project-gen/generators/file-templates/frontend-configurator.js +14 -12
  735. package/dist/legacy/phoenix-cli/project-gen/generators/file-templates/frontend-embedded-admin.js +14 -13
  736. package/dist/legacy/phoenix-cli/project-gen/generators/file-templates/frontend-embedded-configurator.js +13 -11
  737. package/dist/phoenix/application-spec/application-spec-builder.d.ts +0 -2
  738. package/dist/phoenix/application-spec/application-spec-builder.js +1 -1
  739. package/dist/phoenix/application-spec/generate-application-spec-project.d.ts +0 -2
  740. package/dist/phoenix/application-spec/generate-application-spec-project.js +2 -2
  741. package/dist/phoenix/application-spec/generate-application-spec-story.js +2 -2
  742. package/dist/phoenix/application-spec/generate-project-files.d.ts +0 -2
  743. package/dist/phoenix/application-spec/project-files.js +1 -1
  744. package/dist/phoenix/application-spec/resolve-deployment-data.d.ts +11 -0
  745. package/dist/phoenix/application-spec/resolve-deployment-data.js +2 -2
  746. package/dist/phoenix/bin.d.ts +2 -0
  747. package/dist/phoenix/bin.js +2 -0
  748. package/dist/phoenix/check-configs/built-in-eslint-config.d.ts +9 -0
  749. package/dist/phoenix/check-configs/built-in-eslint-config.js +1 -0
  750. package/dist/phoenix/check-configs/eslint-config.d.ts +10 -0
  751. package/dist/phoenix/check-configs/eslint-config.js +1 -0
  752. package/dist/phoenix/check-configs/index.d.ts +8 -0
  753. package/dist/phoenix/check-configs/index.js +1 -0
  754. package/dist/phoenix/check-configs/typescript-project.d.ts +5 -0
  755. package/dist/phoenix/check-configs/typescript-project.js +1 -0
  756. package/dist/phoenix/cli.d.ts +0 -1
  757. package/dist/phoenix/cli.js +1 -2
  758. package/dist/phoenix/commands/build.js +1 -1
  759. package/dist/phoenix/commands/check.js +1 -1
  760. package/dist/phoenix/commands/clean.js +1 -1
  761. package/dist/phoenix/commands/deploy.js +2 -2
  762. package/dist/phoenix/commands/deps/deps.d.ts +73 -0
  763. package/dist/phoenix/commands/deps/deps.js +3 -0
  764. package/dist/phoenix/commands/deps/index.d.ts +1 -0
  765. package/dist/phoenix/commands/deps/index.js +1 -0
  766. package/dist/phoenix/commands/deps/sdk-manifest.d.ts +12 -0
  767. package/dist/phoenix/commands/deps/sdk-manifest.js +1 -0
  768. package/dist/phoenix/commands/dev.js +5 -5
  769. package/dist/phoenix/commands/fix.js +1 -1
  770. package/dist/phoenix/commands/generated-env-markers.d.ts +1 -0
  771. package/dist/phoenix/commands/generated-env-markers.js +1 -1
  772. package/dist/phoenix/commands/index.d.ts +1 -0
  773. package/dist/phoenix/commands/index.js +1 -1
  774. package/dist/phoenix/commands/init.d.ts +17 -5
  775. package/dist/phoenix/commands/init.js +1 -1
  776. package/dist/phoenix/commands/link.js +1 -1
  777. package/dist/phoenix/commands/prettier.js +1 -1
  778. package/dist/phoenix/commands/sync.js +1 -1
  779. package/dist/phoenix/commands/unlink.js +1 -1
  780. package/dist/phoenix/services/application-spec-project-watcher.d.ts +5 -3
  781. package/dist/phoenix/services/application-spec-project-watcher.js +3 -3
  782. package/dist/phoenix/services/index.d.ts +1 -0
  783. package/dist/phoenix/services/index.js +1 -1
  784. package/dist/phoenix/services/lingui.d.ts +11 -0
  785. package/dist/phoenix/services/lingui.js +1 -1
  786. package/dist/phoenix/services/prepare-development-environment.js +1 -1
  787. package/dist/phoenix/services/swc.js +1 -1
  788. package/dist/phoenix/services/vite-config.js +1 -1
  789. package/dist/phoenix/utils/index.d.ts +4 -2
  790. package/dist/phoenix/utils/index.js +1 -1
  791. package/dist/phoenix/utils/node-version/index.d.ts +1 -0
  792. package/dist/phoenix/utils/node-version/index.js +1 -0
  793. package/dist/phoenix/utils/node-version/supported-node-version.d.ts +12 -0
  794. package/dist/phoenix/utils/node-version/supported-node-version.js +4 -0
  795. package/dist/phoenix/utils/package-info.d.ts +0 -9
  796. package/dist/phoenix/utils/package-info.js +1 -1
  797. package/dist/phoenix/utils/package-manager/index.d.ts +2 -0
  798. package/dist/phoenix/utils/package-manager/index.js +1 -0
  799. package/dist/phoenix/utils/package-manager/package-manager-commands.d.ts +19 -0
  800. package/dist/phoenix/utils/package-manager/package-manager-commands.js +1 -0
  801. package/dist/phoenix/utils/package-manager/pnpm-project.d.ts +9 -0
  802. package/dist/phoenix/utils/package-manager/pnpm-project.js +1 -0
  803. package/dist/phoenix/utils/run-command.d.ts +11 -0
  804. package/dist/phoenix/utils/run-command.js +1 -1
  805. package/dist/phoenix/utils/sdk-tool/index.d.ts +1 -0
  806. package/dist/phoenix/utils/sdk-tool/index.js +1 -0
  807. package/dist/phoenix/utils/sdk-tool/resolve-sdk-tool-bin.d.ts +15 -0
  808. package/dist/phoenix/utils/sdk-tool/resolve-sdk-tool-bin.js +1 -0
  809. package/dist/react-sdk/application-runtime/common-services/analytics/analytics-service.d.ts +1 -1
  810. package/dist/{configurator/common → react-sdk/application-runtime/common-services/analytics}/frontend-analytics.d.ts +4 -0
  811. package/dist/react-sdk/application-runtime/common-services/analytics/index.d.ts +1 -0
  812. package/dist/react-sdk/application-runtime/common-services/analytics/index.js +1 -1
  813. package/dist/react-sdk/application-runtime/common-services/initialize.d.ts +2 -2
  814. package/dist/react-sdk/application-runtime/hooks/index.d.ts +2 -0
  815. package/dist/react-sdk/application-runtime/hooks/index.js +1 -1
  816. package/dist/react-sdk/application-runtime/hooks/loading/index.d.ts +5 -0
  817. package/dist/react-sdk/application-runtime/hooks/loading/index.js +1 -0
  818. package/dist/react-sdk/application-runtime/hooks/loading/loader-host-context.d.ts +11 -0
  819. package/dist/react-sdk/application-runtime/hooks/loading/loader-host-context.js +1 -0
  820. package/dist/react-sdk/application-runtime/hooks/loading/use-is-awaiting-loading-phase.d.ts +8 -0
  821. package/dist/react-sdk/application-runtime/hooks/loading/use-is-awaiting-loading-phase.js +1 -0
  822. package/dist/react-sdk/application-runtime/hooks/loading/use-is-loader-hosted.d.ts +7 -0
  823. package/dist/react-sdk/application-runtime/hooks/loading/use-is-loader-hosted.js +1 -0
  824. package/dist/react-sdk/application-runtime/hooks/loading/use-loading-actions.d.ts +9 -0
  825. package/dist/react-sdk/application-runtime/hooks/loading/use-loading-actions.js +1 -0
  826. package/dist/react-sdk/application-runtime/hooks/loading/use-loading-application.d.ts +24 -0
  827. package/dist/react-sdk/application-runtime/hooks/loading/use-loading-application.js +1 -0
  828. package/dist/react-sdk/application-runtime/hooks/responsive/index.d.ts +3 -0
  829. package/dist/react-sdk/application-runtime/hooks/responsive/index.js +1 -0
  830. package/dist/react-sdk/application-runtime/hooks/responsive/use-responsive-actions.d.ts +9 -0
  831. package/dist/react-sdk/application-runtime/hooks/responsive/use-responsive-actions.js +1 -0
  832. package/dist/react-sdk/application-runtime/hooks/responsive/use-responsive-application.d.ts +26 -0
  833. package/dist/react-sdk/application-runtime/hooks/responsive/use-responsive-application.js +1 -0
  834. package/dist/react-sdk/application-runtime/hooks/responsive/use-responsive-state.d.ts +10 -0
  835. package/dist/react-sdk/application-runtime/hooks/responsive/use-responsive-state.js +1 -0
  836. package/dist/react-sdk/application-runtime/hooks/responsive/use-responsive-store.d.ts +24 -0
  837. package/dist/react-sdk/application-runtime/hooks/responsive/use-responsive-store.js +1 -0
  838. package/dist/react-sdk/application-runtime/hooks/use-access-service.d.ts +5 -0
  839. package/dist/react-sdk/application-runtime/hooks/use-access-service.js +1 -1
  840. package/dist/react-sdk/application-runtime/hooks/use-phoenix-element-slots.d.ts +2 -1
  841. package/dist/react-sdk/application-runtime/hooks/use-web-component-readonly-sync.d.ts +4 -11
  842. package/dist/react-sdk/application-runtime/hooks/use-web-component-readonly-sync.js +1 -1
  843. package/dist/react-sdk/application-runtime/hooks/use-web-component.d.ts +5 -0
  844. package/dist/react-sdk/application-runtime/hooks/use-web-component.js +1 -1
  845. package/dist/react-sdk/application-runtime/host-properties/actions.d.ts +15 -0
  846. package/dist/react-sdk/application-runtime/host-properties/actions.js +1 -0
  847. package/dist/react-sdk/application-runtime/host-properties/connect-host-properties.d.ts +30 -0
  848. package/dist/react-sdk/application-runtime/host-properties/connect-host-properties.js +1 -0
  849. package/dist/react-sdk/application-runtime/host-properties/domain-host-properties.d.ts +7 -0
  850. package/dist/react-sdk/application-runtime/host-properties/domain-host-properties.js +1 -0
  851. package/dist/react-sdk/application-runtime/host-properties/host-property-descriptors.d.ts +21 -0
  852. package/dist/react-sdk/application-runtime/host-properties/host-property-descriptors.js +1 -0
  853. package/dist/react-sdk/application-runtime/host-properties/host-property-scopes.d.ts +42 -0
  854. package/dist/react-sdk/application-runtime/host-properties/host-property-scopes.js +1 -0
  855. package/dist/react-sdk/application-runtime/host-properties/index.d.ts +8 -0
  856. package/dist/react-sdk/application-runtime/host-properties/index.js +1 -0
  857. package/dist/react-sdk/application-runtime/host-properties/initialize.d.ts +7 -0
  858. package/dist/react-sdk/application-runtime/host-properties/initialize.js +1 -0
  859. package/dist/react-sdk/application-runtime/host-properties/selectors.d.ts +54 -0
  860. package/dist/react-sdk/application-runtime/host-properties/selectors.js +1 -0
  861. package/dist/react-sdk/application-runtime/host-properties/types.d.ts +18 -0
  862. package/dist/react-sdk/application-runtime/host-properties/types.js +1 -0
  863. package/dist/react-sdk/application-runtime/index.d.ts +3 -0
  864. package/dist/react-sdk/application-runtime/integration/initialize.d.ts +7 -6
  865. package/dist/react-sdk/application-runtime/integration/initialize.js +1 -1
  866. package/dist/react-sdk/application-runtime/integration/selectors.d.ts +11 -2
  867. package/dist/react-sdk/application-runtime/integration/selectors.js +1 -1
  868. package/dist/react-sdk/application-runtime/integration/types.d.ts +5 -2
  869. package/dist/react-sdk/application-runtime/loading/actions.d.ts +45 -0
  870. package/dist/react-sdk/application-runtime/loading/actions.js +1 -0
  871. package/dist/react-sdk/application-runtime/loading/index.d.ts +4 -0
  872. package/dist/react-sdk/application-runtime/loading/index.js +1 -0
  873. package/dist/react-sdk/application-runtime/loading/initialize.d.ts +3 -0
  874. package/dist/react-sdk/application-runtime/loading/initialize.js +1 -0
  875. package/dist/react-sdk/application-runtime/loading/selectors.d.ts +18 -0
  876. package/dist/react-sdk/application-runtime/loading/selectors.js +1 -0
  877. package/dist/react-sdk/application-runtime/loading/types.d.ts +59 -0
  878. package/dist/react-sdk/application-runtime/loading/types.js +1 -0
  879. package/dist/react-sdk/application-runtime/mocks/create-mock-application-runtime.js +1 -1
  880. package/dist/react-sdk/application-runtime/provider/ApplicationRuntime.d.ts +6 -0
  881. package/dist/react-sdk/application-runtime/provider/ApplicationRuntime.js +1 -1
  882. package/dist/react-sdk/application-runtime/provider/ApplicationType.d.ts +7 -0
  883. package/dist/react-sdk/application-runtime/provider/ApplicationType.js +1 -1
  884. package/dist/react-sdk/application-runtime/responsive/actions.d.ts +47 -0
  885. package/dist/react-sdk/application-runtime/responsive/actions.js +1 -0
  886. package/dist/react-sdk/application-runtime/responsive/index.d.ts +4 -0
  887. package/dist/react-sdk/application-runtime/responsive/index.js +1 -0
  888. package/dist/react-sdk/application-runtime/responsive/initialize.d.ts +3 -0
  889. package/dist/react-sdk/application-runtime/responsive/initialize.js +1 -0
  890. package/dist/react-sdk/application-runtime/responsive/selectors.d.ts +20 -0
  891. package/dist/react-sdk/application-runtime/responsive/selectors.js +1 -0
  892. package/dist/react-sdk/application-runtime/responsive/types.d.ts +104 -0
  893. package/dist/react-sdk/application-runtime/responsive/types.js +1 -0
  894. package/dist/react-sdk/application-runtime/routing/routing-service.d.ts +34 -2
  895. package/dist/react-sdk/application-runtime/routing/routing-service.js +1 -1
  896. package/dist/react-sdk/application-runtime/runtime/create-application-runtime.d.ts +313 -10
  897. package/dist/react-sdk/application-runtime/runtime/create-application-runtime.js +1 -1
  898. package/dist/react-sdk/domain-application-context/BackendDataProvider.js +1 -1
  899. package/dist/react-sdk/domain-application-context/DomainLifecycleBoundary.js +1 -1
  900. package/dist/react-sdk/domain-application-context/FrontendDataProvider.js +1 -1
  901. package/dist/react-sdk/domain-application-context/PublishedDataProvider.js +1 -1
  902. package/dist/react-sdk/domain-context/common-hooks/index.d.ts +9 -0
  903. package/dist/react-sdk/domain-context/common-hooks/index.js +1 -0
  904. package/dist/react-sdk/domain-context/common-hooks/use-configuration-save-state.d.ts +23 -0
  905. package/dist/react-sdk/domain-context/common-hooks/use-configuration-save-state.js +1 -0
  906. package/dist/react-sdk/domain-context/common-hooks/use-configurator-messages.d.ts +15 -4
  907. package/dist/react-sdk/domain-context/common-hooks/use-configurator-messages.js +1 -1
  908. package/dist/react-sdk/domain-context/common-hooks/use-domain-context.d.ts +1 -0
  909. package/dist/react-sdk/domain-context/component-hooks/index.d.ts +1 -0
  910. package/dist/react-sdk/domain-context/component-hooks/index.js +1 -0
  911. package/dist/react-sdk/domain-context/component-hooks/use-component.js +1 -1
  912. package/dist/react-sdk/domain-context/entity-hooks/use-domain-entity-state.js +1 -1
  913. package/dist/react-sdk/domain-context/entity-hooks/use-entity-price.js +1 -1
  914. package/dist/react-sdk/domain-context/entity-hooks/use-root-entity-id.js +1 -1
  915. package/dist/react-sdk/domain-context/entity-hooks/use-root-entity-state.js +1 -1
  916. package/dist/react-sdk/domain-context/index.d.ts +8 -1
  917. package/dist/react-sdk/domain-context/index.js +1 -1
  918. package/dist/react-sdk/domain-context/system-hooks/composition-hooks.js +1 -1
  919. package/dist/react-sdk/domain-context/system-hooks/dimension-hooks.js +1 -1
  920. package/dist/react-sdk/domain-context/system-hooks/generate-share-link-hooks.d.ts +8 -0
  921. package/dist/react-sdk/domain-context/system-hooks/generate-share-link-hooks.js +1 -0
  922. package/dist/react-sdk/domain-context/system-hooks/hover-hooks.js +1 -1
  923. package/dist/react-sdk/domain-context/system-hooks/locale-switch-hooks.d.ts +24 -0
  924. package/dist/react-sdk/domain-context/system-hooks/locale-switch-hooks.js +1 -0
  925. package/dist/react-sdk/domain-context/system-hooks/navigation-hooks.d.ts +5 -0
  926. package/dist/react-sdk/domain-context/system-hooks/navigation-hooks.js +1 -1
  927. package/dist/react-sdk/domain-context/system-hooks/selection-hooks.js +1 -1
  928. package/dist/react-sdk/domain-context/system-hooks/share-links-hooks.d.ts +32 -0
  929. package/dist/react-sdk/domain-context/system-hooks/share-links-hooks.js +1 -0
  930. package/dist/react-sdk/domain-context/system-hooks/step-navigation-hooks.d.ts +57 -0
  931. package/dist/react-sdk/domain-context/system-hooks/step-navigation-hooks.js +1 -0
  932. package/dist/react-sdk/domain-context/system-hooks/tab-navigation-hooks.d.ts +61 -0
  933. package/dist/react-sdk/domain-context/system-hooks/tab-navigation-hooks.js +1 -0
  934. package/dist/react-sdk/domain-context/system-hooks/undo-redo-hooks.d.ts +20 -0
  935. package/dist/react-sdk/domain-context/system-hooks/undo-redo-hooks.js +1 -0
  936. package/dist/react-sdk/handlers/FinalizeActionRunner.d.ts +13 -0
  937. package/dist/react-sdk/handlers/FinalizeActionRunner.js +1 -0
  938. package/dist/react-sdk/handlers/FinalizeActionsHost.d.ts +10 -0
  939. package/dist/react-sdk/handlers/FinalizeActionsHost.js +1 -0
  940. package/dist/react-sdk/handlers/FinalizeActionsProvider.d.ts +11 -0
  941. package/dist/react-sdk/handlers/FinalizeActionsProvider.js +1 -0
  942. package/dist/react-sdk/handlers/finalize-actions-context.d.ts +6 -0
  943. package/dist/react-sdk/handlers/finalize-actions-context.js +1 -0
  944. package/dist/react-sdk/handlers/finalize-actions-store.d.ts +23 -0
  945. package/dist/react-sdk/handlers/finalize-actions-store.js +1 -0
  946. package/dist/react-sdk/handlers/index.d.ts +6 -0
  947. package/dist/react-sdk/handlers/index.js +1 -1
  948. package/dist/react-sdk/handlers/use-finalize-action.d.ts +32 -0
  949. package/dist/react-sdk/handlers/use-finalize-action.js +1 -0
  950. package/dist/react-sdk/handlers/use-finalize-actions.d.ts +53 -0
  951. package/dist/react-sdk/handlers/use-finalize-actions.js +1 -0
  952. package/dist/react-sdk/index.d.ts +2 -0
  953. package/dist/react-sdk/index.js +1 -1
  954. package/dist/react-sdk/loading-state/LoaderHost.d.ts +20 -0
  955. package/dist/react-sdk/loading-state/LoaderHost.js +1 -0
  956. package/dist/react-sdk/loading-state/built-in-loading-phase.d.ts +9 -0
  957. package/dist/react-sdk/loading-state/built-in-loading-phase.js +1 -0
  958. package/dist/react-sdk/loading-state/create-app-loader.d.ts +18 -0
  959. package/dist/react-sdk/loading-state/create-app-loader.js +1 -0
  960. package/dist/react-sdk/loading-state/index.d.ts +4 -2
  961. package/dist/react-sdk/loading-state/index.js +1 -1
  962. package/dist/react-sdk/loading-state/{LoadingStateProvider.d.ts → loading-state-hooks.d.ts} +3 -12
  963. package/dist/react-sdk/loading-state/loading-state-hooks.js +1 -0
  964. package/dist/react-sdk/page-elements/ConfigurationNotFoundPagePropsProvider.d.ts +17 -0
  965. package/dist/react-sdk/page-elements/ConfigurationNotFoundPagePropsProvider.js +1 -0
  966. package/dist/react-sdk/page-elements/ConfiguratorErrorPagePropsProvider.d.ts +17 -0
  967. package/dist/react-sdk/page-elements/ConfiguratorErrorPagePropsProvider.js +1 -0
  968. package/dist/react-sdk/page-elements/configurator-error-page-props.d.ts +20 -0
  969. package/dist/react-sdk/page-elements/configurator-error-page-props.js +1 -0
  970. package/dist/react-sdk/page-elements/create-configuration-not-found-page.d.ts +15 -0
  971. package/dist/react-sdk/page-elements/create-configuration-not-found-page.js +1 -0
  972. package/dist/react-sdk/page-elements/create-configurator-error-page.d.ts +14 -0
  973. package/dist/react-sdk/page-elements/create-configurator-error-page.js +1 -0
  974. package/dist/react-sdk/page-elements/create-preset-ui.d.ts +9 -0
  975. package/dist/react-sdk/page-elements/create-preset-ui.js +1 -0
  976. package/dist/react-sdk/page-elements/index.d.ts +6 -0
  977. package/dist/react-sdk/page-elements/index.js +1 -0
  978. package/dist/react-sdk/scene-control-elements/AddEntityFabElement.d.ts +36 -0
  979. package/dist/react-sdk/scene-control-elements/AddEntityFabElement.js +1 -0
  980. package/dist/react-sdk/scene-control-elements/DeleteEntityFabElement.d.ts +44 -0
  981. package/dist/react-sdk/scene-control-elements/DeleteEntityFabElement.js +1 -0
  982. package/dist/react-sdk/scene-control-elements/NavigationHotspotElement.d.ts +38 -0
  983. package/dist/react-sdk/scene-control-elements/NavigationHotspotElement.js +1 -0
  984. package/dist/react-sdk/scene-control-elements/SelectionHotspotElement.d.ts +30 -0
  985. package/dist/react-sdk/scene-control-elements/SelectionHotspotElement.js +1 -0
  986. package/dist/react-sdk/scene-control-elements/ToolMenuFabElement.d.ts +30 -0
  987. package/dist/react-sdk/scene-control-elements/ToolMenuFabElement.js +1 -0
  988. package/dist/react-sdk/scene-control-elements/create-add-entity-fab.d.ts +9 -0
  989. package/dist/react-sdk/scene-control-elements/create-add-entity-fab.js +1 -0
  990. package/dist/react-sdk/scene-control-elements/create-delete-entity-fab.d.ts +9 -0
  991. package/dist/react-sdk/scene-control-elements/create-delete-entity-fab.js +1 -0
  992. package/dist/react-sdk/scene-control-elements/create-navigation-hotspot.d.ts +10 -0
  993. package/dist/react-sdk/scene-control-elements/create-navigation-hotspot.js +1 -0
  994. package/dist/react-sdk/scene-control-elements/create-selection-hotspot.d.ts +9 -0
  995. package/dist/react-sdk/scene-control-elements/create-selection-hotspot.js +1 -0
  996. package/dist/react-sdk/scene-control-elements/create-tool-menu-fab.d.ts +9 -0
  997. package/dist/react-sdk/scene-control-elements/create-tool-menu-fab.js +1 -0
  998. package/dist/react-sdk/scene-control-elements/index.d.ts +11 -0
  999. package/dist/react-sdk/scene-control-elements/index.js +1 -0
  1000. package/dist/react-sdk/scene-control-elements/scene-control-tooltip-visibility.d.ts +5 -0
  1001. package/dist/react-sdk/scene-control-elements/scene-control-tooltip-visibility.js +1 -0
  1002. package/dist/react-sdk/session/NotAuthenticatedPage.d.ts +4 -0
  1003. package/dist/react-sdk/session/NotAuthenticatedPage.js +1 -1
  1004. package/dist/react-sdk/session/SessionServiceProvider.js +1 -1
  1005. package/dist/react-sdk/web-component/create-web-component.js +1 -1
  1006. package/dist/react-sdk/web-component/god-mode/god-mode-registry.d.ts +30 -0
  1007. package/dist/react-sdk/web-component/god-mode/god-mode-registry.js +1 -0
  1008. package/dist/react-sdk/web-component/god-mode/index.d.ts +1 -0
  1009. package/dist/react-sdk/web-component/god-mode/index.js +1 -0
  1010. package/dist/ui-sdk/icons/__generated/Lightbulb.d.ts +3 -0
  1011. package/dist/ui-sdk/icons/__generated/Lightbulb.js +1 -0
  1012. package/dist/ui-sdk/icons/__generated/XCircle.d.ts +3 -0
  1013. package/dist/ui-sdk/icons/__generated/XCircle.js +1 -0
  1014. package/dist/ui-sdk/icons/__generated/index.d.ts +4 -0
  1015. package/dist/ui-sdk/icons/__generated/index.js +1 -1
  1016. package/dist/ui-sdk/icons/icons-registry.js +1 -1
  1017. package/dist/ui-sdk/responsive-application/ResponsiveApplicationProvider.d.ts +9 -0
  1018. package/dist/ui-sdk/responsive-application/ResponsiveApplicationProvider.js +1 -1
  1019. package/dist/ui-sdk/responsive-application/index.d.ts +1 -0
  1020. package/dist/ui-sdk/responsive-application/responsive-state-store.d.ts +59 -0
  1021. package/dist/ui-sdk/responsive-application/responsive-state-store.js +1 -0
  1022. package/dist/ui-sdk/responsive-application/use-store-responsive-info.d.ts +7 -0
  1023. package/dist/ui-sdk/responsive-application/use-store-responsive-info.js +1 -0
  1024. package/dist/ui-sdk/theme/types.d.ts +5 -1
  1025. package/package.json +58 -36
  1026. package/schema/domain-spec.json +226 -8
  1027. package/dist/application-spec/generate-application/code/templates/nvmrc.d.ts +0 -1
  1028. package/dist/application-spec/generate-application/code/templates/nvmrc.js +0 -2
  1029. package/dist/application-spec/generate-application/code/templates/package-json.d.ts +0 -10
  1030. package/dist/application-spec/generate-application/code/templates/package-json.js +0 -1
  1031. package/dist/application-spec/generate-application/code/templates/webhook-implementation.d.ts +0 -1
  1032. package/dist/application-spec/generate-application/code/templates/webhook-implementation.js +0 -7
  1033. package/dist/configurator/ui/assistant/entity-link/entity-link-target.d.ts +0 -5
  1034. package/dist/configurator/ui/assistant/entity-link/entity-link-target.js +0 -1
  1035. package/dist/configurator/ui/phoenix-layout-elements/language/use-locale-options.d.ts +0 -4
  1036. package/dist/configurator/ui/phoenix-layout-elements/language/use-locale-options.js +0 -1
  1037. package/dist/configurator/ui/phoenix-layout-elements/measurements/use-measurements-visibility.d.ts +0 -4
  1038. package/dist/configurator/ui/phoenix-layout-elements/measurements/use-measurements-visibility.js +0 -1
  1039. package/dist/domain/extensions/client-side-image.js +0 -1
  1040. package/dist/domain/extensions/save-template-thumbnail.js +0 -1
  1041. package/dist/phoenix/commands/generate-project-files.d.ts +0 -6
  1042. package/dist/phoenix/commands/generate-project-files.js +0 -1
  1043. package/dist/react-sdk/application-runtime/runtime/god-mode.d.ts +0 -19
  1044. package/dist/react-sdk/application-runtime/runtime/god-mode.js +0 -1
  1045. package/dist/react-sdk/loading-state/LoadingStateProvider.js +0 -1
  1046. package/dist/react-sdk/loading-state/loading-state-manager.d.ts +0 -32
  1047. package/dist/react-sdk/loading-state/loading-state-manager.js +0 -1
  1048. /package/dist/{configurator/common → react-sdk/application-runtime/common-services/analytics}/frontend-analytics.js +0 -0
@@ -329,6 +329,8 @@ components:
329
329
 
330
330
  The code generator will automatically create an expression with the same name and infer the return type based on usage context.
331
331
 
332
+ The type of an expression must share values with the type every component expects where it is read, and with its declared type. An expression declared as a number and read into a `title`, or one read both into a `title` and into `offsetX`, has no value its implementation could return, so the build reports `EXPRESSION_READ_TYPE_CONFLICT` at the expression and names each place it is read. A type given only as `tsType` is not checked here.
333
+
332
334
  ## Constants
333
335
 
334
336
  Constants are pre-generated expressions that return fixed values. Under the hood, they are implemented as expressions but are automatically generated by the Phoenix system, so you don't need to write TypeScript implementation code for them.
@@ -840,7 +842,10 @@ Phoenix automatically:
840
842
  During `phoenix dev`, schema-compatible configurator changes can refresh the mounted application in
841
843
  place. Changes to the domain model itself are rejected from live application and require a restart;
842
844
  this preserves the last valid runtime and loaded configuration until migration and deployment can be
843
- coordinated atomically.
845
+ coordinated atomically. With server persistence, restart `phoenix dev` itself: it logs an error that
846
+ asks for the restart, and registers the changed model with its development deployment when it starts
847
+ again. Then open the preview address it prints rather than a tab whose address has `?cid=`, which
848
+ loads a configuration saved with the earlier model.
844
849
 
845
850
  ### The phx Global Namespace
846
851
 
@@ -15,7 +15,7 @@ Finalization is Phoenix's system for completing configurator sessions and proces
15
15
 
16
16
  > For integration-specific finalization flows — how host-specific data is passed in and how the host is notified on completion (event dispatch in `headless`, redirect in `handoff`) — see [Finalization (Internal)](?path=/docs/phoenix-integration-finalization-internal--docs) and [Finalization (External)](?path=/docs/phoenix-integration-finalization-external--docs).
17
17
 
18
- The universal sidebar footer offers the spec's `finalizeAction` components: Phoenix selects one primary footer action and places additional finalization actions in its menu. It never opens a `finalizePage`; the `finalizePage` and `finalizeButton` components are legacy, declared only in TypeScript, and used by the basic sidebar footer and the legacy layouts. Built-in finalization actions use configuration validity to disable the footer action and provide pending and generic error states, including for add-to-cart handlers. See [Universal Sidebar Footer](?path=/docs/layouts-sidebar-footer-universal--docs) for the layout behavior.
18
+ The universal sidebar footer offers the spec's `finalizeAction` components: Phoenix selects one primary footer action and places additional finalization actions in its menu. It never opens a `finalizePage`; the `finalizePage` and `finalizeButton` components are legacy, declared only in TypeScript, and used by the basic sidebar footer and the legacy layouts. Built-in finalization actions use configuration validity to disable the footer action and provide pending and generic error states, including for add-to-cart handlers. See [Universal Sidebar Footer](?path=/docs/layouts-sidebar-footer-universal--docs) for the layout behavior. A project layout (`ConfiguratorLayout`) offers the same actions with its own buttons through `phx.frontend.useFinalizeActions`, which lists them with the primary one picked as the footer picks it, each with its own `run`, pending state, error and disabled state, or through `phx.frontend.useFinalizeAction`, which runs one known action's handler and returns the same state with hints; see the Finalize paragraph of [Configurator Interface → Hooks for a Project Layout](?path=/docs/phoenix-configurator-interface--docs#hooks-for-a-project-layout).
19
19
 
20
20
  ## How Finalization Works
21
21
 
@@ -22,10 +22,11 @@ The frontend SDK provides the core libraries and components for building configu
22
22
 
23
23
  The Phoenix CLI (`phoenix` command) is the unified tool for all configurator development. It combines domain code generation, webhook building, deployment management, and development workflows into a single interface:
24
24
 
25
- - `phoenix init` - Start a new project with a working starter spec
25
+ - `phoenix init` - Start a new project: a working starter spec and a `package.json` with the SDK, the packages it requires next to it, ESLint and Prettier
26
26
  - `phoenix dev` - Start the development server with hot reload
27
27
  - `phoenix build` - Build the configurator for production
28
- - `phoenix sync` - Synchronize dependencies and generated code
28
+ - `phoenix sync` - Regenerate the generated code and project files
29
+ - `phoenix deps` - Add the SDK's missing peer dependencies to `package.json` and move out-of-range ones into range
29
30
  - `phoenix check` - Validate domain configuration and code
30
31
  - `phoenix fix` - Auto-fix common issues in domain files
31
32
 
@@ -57,12 +58,14 @@ This section provides practical guidance for developers who are new to Phoenix P
57
58
 
58
59
  Before diving into Phoenix Platform development, ensure you have:
59
60
 
60
- - **Node.js** and **pnpm** - Required versions are set automatically in the project
61
+ - **Node.js 22.13 or newer** and **a package manager** - The SDK and the Phoenix CLI run on Node.js 22.13 or newer (see [Starting a New Project](?path=/docs/phoenix-phoenix-cli--docs#starting-a-new-project)). A project installs with any package manager; with pnpm 11 it needs the settings in [Package manager](?path=/docs/phoenix-project-structure--docs#package-manager)
61
62
  - **JavaScript/TypeScript** - Phoenix generates TypeScript code and uses modern JavaScript patterns
62
63
  - **React** - The platform builds on React components, hooks, and modern React patterns
63
64
  - **Three.js** - Basic knowledge of 3D graphics, scenes, cameras, and rendering concepts
64
65
  - **React Three Fiber** - Understanding of declarative 3D development and R3F component patterns
65
66
 
67
+ The commands in this documentation use pnpm, as in `pnpm phoenix sync`. They work the same through any other package manager: `npx phoenix sync` with npm, `yarn phoenix sync` with Yarn, `bunx phoenix sync` with Bun.
68
+
66
69
  We assume you have working knowledge of these technologies before starting with Phoenix Platform. If you're new to any of these areas, we recommend familiarizing yourself with them first, as Phoenix Platform builds directly on these foundations.
67
70
 
68
71
  ### Your First Steps
@@ -26,36 +26,36 @@ export const Toolbar = () => (
26
26
 
27
27
  - A slot takes no props unless its row names them, and reads what it shows from the spec and the configurator's state. It renders inside the configurator only, under a `ConfiguratorLayout`.
28
28
  - A slot brings its own look but not its place: it adds no padding or scrolling around itself, so the layout puts it in a container. Two members differ: `SharedCanvas` fills its nearest positioned ancestor, and `DesktopSidebar` brings the sidebar's spacing and scrolling with it.
29
- - Read mode means `useAccessService().accessInfo.viewMode` is `true`: a configuration shared for viewing is open, or the host sets the `readonly` property. "No change" in the read-mode column means the slot renders the same for a viewer, so the layout decides whether a viewer sees it.
30
- - `Desktop*` and `Mobile*` members are twins that differ in size and arrangement; [Phone layout](#phone-layout) lists the phone ones. The container's width, not the window's, decides which one fits: `useActiveViewports()` from `@salsita-ai/sdk/react` returns the breakpoints the container satisfies.
29
+ - Read mode means `phx.frontend.useAccessService().accessInfo.viewMode` is `true`: a configuration shared for viewing is open, or the host sets the `readonly` property. "No change" in the read-mode column means the slot renders the same for a viewer, so the layout decides whether a viewer sees it.
30
+ - `Desktop*` and `Mobile*` members are twins that differ in size and arrangement; [Phone layout](#phone-layout) lists the phone ones. The container's width, not the window's, decides which one fits: `phx.frontend.useActiveViewports()`, also exported from `@salsita-ai/sdk/react`, returns the breakpoints the container satisfies. The built-in layout uses the `Desktop*` members while `desktop` is active, for a container wider than 768 pixels, and the `Mobile*` members otherwise, while `mobile` is active; `phone` means narrower than 480 pixels and `tablet` between 480 and 1024.
31
31
 
32
32
  ## Canvas and services
33
33
 
34
- | Member | Shows | Fed by | With nothing configured | Read mode |
35
- | ---------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------- | ----------------------- | --------- |
36
- | `SharedCanvas` | The 3D scene, in a container that is `position: absolute; inset: 0` with the scene's background colour. The scene is hidden for a moment while the preview expands or collapses. | The scene of the spec, through `Canvas` | Always renders | No change |
37
- | `Canvas` | The WebGL canvas alone, or `GPUIssuePage` when the browser has no WebGL or no GPU acceleration. It reports the scene-assets loading phase the app loader waits for. | The scene, the canvas settings and the `CanvasLoader` element | Always renders | No change |
38
- | `Services` | Nothing visible: it mounts `InvariantViolations` and `SideEffects`, which show the messages of `useConfiguratorMessages()` as snackbars | The configurator's state | Always mounted | No change |
39
- | `InvariantViolations` | When a change is rejected, a snackbar for each violation of the rejected state, including notices and warnings already present, as `<entity id>: <message>` (a `notice` as info, a `warning` as warning, `fixable` and `fatal` as error), and "Oops, something went wrong" for an error thrown while the state was validated | The spec's invariants | Nothing | No change |
40
- | `SideEffects` | An info snackbar for each committed update that carries a hint | The hints of committed updates | Nothing | No change |
41
- | `DesktopSnackbarsRoot` | The element the snackbars are rendered into: a stack anchored to its bottom edge, at most 320 pixels wide | Every snackbar the configurator raises | An empty element | No change |
34
+ | Member | Shows | Fed by | With nothing configured | Read mode |
35
+ | ---------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------- | ----------------------- | -------------------------------------------------------------------------------------------------------------------- |
36
+ | `SharedCanvas` | The 3D scene, in a container that is `position: absolute; inset: 0` with the scene's background colour. The scene is hidden for a moment while the preview expands or collapses. | The scene of the spec, through `Canvas` | Always renders | No change |
37
+ | `Canvas` | The WebGL canvas alone, or `GPUIssuePage` when the browser has no WebGL or no GPU acceleration. It reports the scene-assets loading phase the app loader waits for. | The scene, the canvas settings and the `CanvasLoader` element | Always renders | No change |
38
+ | `Services` | Nothing visible: it mounts `InvariantViolations` and `SideEffects`, which show the messages of `useConfiguratorMessages()` as snackbars, and shows a failed save of the configuration as a persistent error snackbar with **Dismiss**, followed by "Configuration updated" when a later save succeeds | The configurator's state | Always mounted | No change; the save-failure and "Configuration updated" snackbars are not shown, and one left from owner mode closes |
39
+ | `InvariantViolations` | When a change is rejected, a snackbar for each violation of the rejected state, including notices and warnings already present, as `<entity id>: <message>` (a `notice` as info, a `warning` as warning, `fixable` and `fatal` as error), and "Oops, something went wrong" for an error thrown while the state was validated | The spec's invariants | Nothing | No change |
40
+ | `SideEffects` | An info snackbar for each committed update that carries a hint | The hints of committed updates | Nothing | No change |
41
+ | `DesktopSnackbarsRoot` | The element the snackbars are rendered into: a stack anchored to its bottom edge, at most 320 pixels wide | Every snackbar the configurator raises | An empty element | No change |
42
42
 
43
- - Mount `SharedCanvas`, not `Canvas`: `Canvas` suspends while it probes the GPU on its first mount, and `SharedCanvas` holds the boundary that catches it. Without either, the app loader stays on screen unless the project sets `appLoader: legacy`.
43
+ - Mount `SharedCanvas`, not `Canvas`: `Canvas` suspends while it probes the GPU on its first mount, and `SharedCanvas` holds the boundary that catches it. `SharedCanvas` also tells the app loader to wait for the scene from the moment it mounts; `Canvas` alone does so only once the probe is done, so the loader can leave and come back. A layout with neither is not held by the loader for a scene.
44
44
  - `SharedCanvas` fills its nearest positioned ancestor and paints an opaque background, so the layout positions its own UI after it in the markup.
45
- - Snackbars are raised by `Services`, and also by the built-in finalize and footer actions when their handler fails and when saving the configuration fails. A layout that shows violations, side-effect hints and validation errors its own way calls `phx.frontend.useConfiguratorMessages(onMessage)` instead of mounting `Services`, see [Configurator Interface → Hooks for a Project Layout](?path=/docs/phoenix-configurator-interface--docs#hooks-for-a-project-layout); the other snackbars still need a root. They render into the snackbar root the layout mounts; with no root mounted they render into the page's `document.body`, outside the configurator. The desktop root is a zero-height element the snackbars stack upwards from, so the layout places it where their bottom edge belongs. The phone root leaves them fixed to the viewport, see `MobileSnackbarsRoot`.
45
+ - Snackbars are raised by `Services`, for violations, side-effect hints, validation errors and a failed save, and also by the built-in finalize and footer actions when their handler fails. A layout that shows these messages its own way calls `phx.frontend.useConfiguratorMessages(onMessage)` instead of mounting `Services`, and then shows the failed save too, see [Configurator Interface → Hooks for a Project Layout](?path=/docs/phoenix-configurator-interface--docs#hooks-for-a-project-layout); the other snackbars still need a root. They render into the snackbar root the layout mounts; with no root mounted they render into the page's `document.body`, outside the configurator. The desktop root is a zero-height element the snackbars stack upwards from, so the layout places it where their bottom edge belongs. The phone root leaves them fixed to the viewport, see `MobileSnackbarsRoot`. A finalize action the layout runs with `phx.frontend.useFinalizeActions` or `phx.frontend.useFinalizeAction` raises no snackbar; its error is the action's `error`.
46
46
 
47
47
  ## Desktop sidebar
48
48
 
49
- | Member | Shows | Fed by | With nothing configured | Read mode |
50
- | ----------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
51
- | `DesktopSidebar` | The whole built-in desktop sidebar: tabs, back button, property pages and sidebar footer with their spacing, scrolling and empty states, and the assistant panel. Props: `width`, and `side` (`'start'` or `'end'`, typed `DesktopSidebarSide`; `DesktopSidebarProps` types both) | The members below | As its parts | As its parts. In fullscreen it stays in place, transparent and inert |
52
- | `DesktopSidebarTabs` | Tabs that switch the navigation state | The `sidebarTabs` components of the selected entity; the `horizontalTabs` component is not shown here | Nothing; also nothing while the summary is shown | No change |
53
- | `useSidebarTabs()` | A hook, `{ tabs, activeTab, onChange }`: each tab is `{ label, icon, value, isActive }`, `activeTab` is the active tab's value or `'none'`, and `onChange(value)` switches to that tab's first navigation state | As `DesktopSidebarTabs` | `tabs` is empty | No change |
54
- | `DesktopSidebarBackButton` | A "Back" button. Props: the MUI `Button` props and `icon`, also settable in the theme as `PhxDesktopSidebarBackButton`; the application config's `sidebarBackIcon` takes precedence over both | The sidebar's way back: a navigation state to pop, a stacked property page, or a selected entity other than the root, unless the application config sets `showSelectionBackButton` to `false` or sets `ignoreSelectionInSidebar` | Nothing while there is no way back | No change |
55
- | `DesktopSidebarContent` | The property pages of the selected entity with its entity header, a stacked page opened from them, or the summary page while the summary is shown. With the application config's `ignoreSelectionInSidebar` set, every `propertyPage` of every entity shows under the root, whatever is selected | `propertyPage`, `entityHeader`, `simpleSummary` and `customSummaryPage` components, and `ignoreSelectionInSidebar` | Nothing | **No change: the controls stay editable.** Limit them with `$filter.modes`, or render something else in read mode |
56
- | `useSidebarContent(options?)` | A hook, `{ content, goBack, hasMiniSidebar, hasSplitSidebar }`: `content` is what `DesktopSidebarContent` shows, `goBack` is the back action or `null`. `options` sets the `HeaderContainer` and `BodyContainer` components the content is wrapped in | As `DesktopSidebarContent` | `content` is empty | No change |
57
- | `EntityHeader` | An entity's title, subtitle, description and thumbnail, with its primary and secondary buttons, such as delete or replace. Props, typed `EntityHeaderProps`: `entityId` and `headerComponent` | The texts and thumbnail from the entity's `detail` component (the title falls back to the entity type); the buttons from the `entityHeader` component passed in | — | No change |
58
- | `DesktopSidebarFooter` | The price and the actions | `basicSidebarFooter`, `universalSidebarFooter`, `readSidebarFooter`, `hiddenSidebarFooter` or `customSidebarFooter`. The basic footer offers a `finalizeButton`, else a button for a `finalizePage`, else a disabled button; the universal footer offers the `finalizeAction` and `otherAction` components | The basic footer: the price and a finalize button. With a `navigationSteps` component of two or more steps, previous and next step buttons and the finalize button only on the last step; with a summary and no steps, a **Summary** button until the summary is shown; in a preset embed, **Save Template** instead of finalize | With nothing configured, the read footer: price only. The basic footer hides its buttons. **The universal footer still shows its finalize and other actions to a viewer**; limit them with `$filter.modes` |
49
+ | Member | Shows | Fed by | With nothing configured | Read mode |
50
+ | ----------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
51
+ | `DesktopSidebar` | The whole built-in desktop sidebar: tabs, back button, property pages and sidebar footer with their spacing, scrolling and empty states, and the assistant panel. Props: `width`, and `side` (`'start'` or `'end'`, typed `DesktopSidebarSide`; `DesktopSidebarProps` types both) | The members below | As its parts | As its parts. In fullscreen it stays in place, transparent and inert |
52
+ | `DesktopSidebarTabs` | Tabs that switch the navigation state | The `sidebarTabs` components of the selected entity; the `horizontalTabs` component is not shown here | Nothing; also nothing while the summary is shown | No change |
53
+ | `useSidebarTabs()` | A hook, `{ tabs, activeTab, onChange }`: each tab is `{ label, icon, value, isActive }`, `activeTab` is the active tab's value or `'none'`, and `onChange(value)` switches to that tab's first navigation state. A project layout reads its tabs with `phx.frontend.useTabNavigation()` instead, see [Configurator Interface → Hooks for a Project Layout](?path=/docs/phoenix-configurator-interface--docs#hooks-for-a-project-layout) | As `DesktopSidebarTabs` | `tabs` is empty | No change |
54
+ | `DesktopSidebarBackButton` | A "Back" button. Props: the MUI `Button` props and `icon`, also settable in the theme as `PhxDesktopSidebarBackButton`; the application config's `sidebarBackIcon` takes precedence over both | The sidebar's way back: a navigation state to pop, a stacked property page, or a selected entity other than the root, unless the application config sets `showSelectionBackButton` to `false` or sets `ignoreSelectionInSidebar` | Nothing while there is no way back | No change |
55
+ | `DesktopSidebarContent` | The property pages of the selected entity with its entity header, a stacked page opened from them, or the summary page while the summary is shown. With the application config's `ignoreSelectionInSidebar` set, every `propertyPage` of every entity shows under the root, whatever is selected | `propertyPage`, `entityHeader`, `simpleSummary` and `customSummaryPage` components, and `ignoreSelectionInSidebar` | Nothing | **No change: the controls stay editable.** Limit them with `$filter.modes`, or render something else in read mode |
56
+ | `useSidebarContent(options?)` | A hook, `{ content, goBack, hasMiniSidebar, hasSplitSidebar }`: `content` is what `DesktopSidebarContent` shows, `goBack` is the back action or `null`. `options` sets the `HeaderContainer` and `BodyContainer` components the content is wrapped in | As `DesktopSidebarContent` | `content` is empty | No change |
57
+ | `EntityHeader` | An entity's title, subtitle, description and thumbnail, with its primary and secondary buttons, such as delete or replace. Props, typed `EntityHeaderProps`: `entityId` and `headerComponent` | The texts and thumbnail from the entity's `detail` component (the title falls back to the entity type); the buttons from the `entityHeader` component passed in | — | No change |
58
+ | `DesktopSidebarFooter` | The price and the actions | `basicSidebarFooter`, `universalSidebarFooter`, `readSidebarFooter`, `hiddenSidebarFooter` or `customSidebarFooter`. The basic footer offers a `finalizeButton`, else a button for a `finalizePage`, else a disabled button; the universal footer offers the `finalizeAction` and `otherAction` components | The basic footer: the price and a finalize button. With a `navigationSteps` component of two or more steps, previous and next step buttons and the finalize button only on the last step; with a summary and no steps, a **Summary** button until the summary is shown; in a preset embed, **Save Template** instead of finalize | With nothing configured, the read footer: price only. The basic footer hides its buttons. **The universal footer still shows its finalize and other actions to a viewer**; limit them with `$filter.modes` |
59
59
 
60
60
  A sidebar footer with `universalSidebarFooter` does not check read mode, although the component's own description says its buttons are hidden then. A viewer of a shared configuration sees its actions. The `custom` footer renders its children unchanged as well.
61
61
 
@@ -70,6 +70,8 @@ A sidebar footer with `universalSidebarFooter` does not check read mode, althoug
70
70
  | `ToolControls` | The same component as `DesktopToolControls` and `MobileToolControls` | As `DesktopToolControls` | Nothing without the component | No change |
71
71
  | `DesktopCallToAction` | **The button that leaves a tool mode, not the finalize button.** Clicking it switches to the component's `exitTo` tool state | An `exitToolModeFab` component, usually filtered to the tool states it belongs to | Nothing. It throws when more than one is active | Nothing |
72
72
 
73
+ Instead of `DesktopViewControls` or `MobileViewControls`, a layout can build its own view buttons with `phx.frontend.useActiveViewState()` and `phx.frontend.useSetViewState()`, which need no `viewControls` component, see [Hooks for a Project Layout](?path=/docs/phoenix-configurator-interface--docs#hooks-for-a-project-layout).
74
+
73
75
  ## Banners and branding
74
76
 
75
77
  | Member | Shows | Fed by | With nothing configured | Read mode |
@@ -77,7 +79,7 @@ A sidebar footer with `universalSidebarFooter` does not check read mode, althoug
77
79
  | `DesktopReadonlyBanner` | "You're viewing a read-only configuration" with an **Edit configuration** button that opens `CloneToEditDialog`. Props: the MUI `Alert` props and `icon`, also settable in the theme as `PhxDesktopReadonlyBanner` | `useIsCloningAllowed()`; its icon from the application config's `readonlyBannerIcon` | Nothing unless cloning is allowed | **It does not check read mode.** The layout renders it only in read mode, as the built-in layout does while not in fullscreen |
78
80
  | `MobileReadonlyBanner` | An **Edit** button that opens `CloneToEditDialog`. Props: the MUI `Button` props and `icon`, also settable in the theme as `PhxMobileReadonlyBanner` | As `DesktopReadonlyBanner` | Nothing unless cloning is allowed | As `DesktopReadonlyBanner` |
79
81
  | `CloneToEditDialog` | The "Edit configuration" dialog that creates an editable copy of the configuration and opens it. Props, typed `CloneToEditDialogProps`: `open` and `onClose` | The open configuration | — | — |
80
- | `useIsCloningAllowed()` | A hook, `boolean`: `true` when the application config sets `shareCloneToEdit` and the session's role may create configurations | The application config and the session | `false` | Does not check read mode |
82
+ | `useIsCloningAllowed()` | A hook, also `phx.frontend.useIsCloningAllowed()`, returning a `boolean`: `true` when the application config sets `shareCloneToEdit` and the session's role may create configurations | The application config and the session | `false` | Does not check read mode |
81
83
  | `DesktopPoweredBy` / `MobilePoweredBy` | The "Powered by Salsita" mark, a link | Its props `visible`, `variant` (`'black'` or `'white'`), `href`, `title`, `slots` and `slotProps`. All but `href` and `title` are also settable in the theme as `PhxDesktopBrandingPoweredBy` / `PhxMobileBrandingPoweredBy` | The mark | No change |
82
84
 
83
85
  ## Page footer
@@ -152,6 +152,8 @@ entities:
152
152
 
153
153
  This is the way to go when you're dealing with content that might evolve over time. The message ID stays the same, so your existing translations remain valid even when you tweak the wording. Plus, you can use dot notation to create nice, organized namespaces for your translations.
154
154
 
155
+ A `$msg` compiles to a message descriptor. When an expression that holds one also declares a schema, the schema has to accept a message descriptor, such as `$ref: 'phx:Localizable'` or `$ref: 'phx:MessageDescriptor'`; a `$msg` declared as `type: string` or `type: number` is reported as `EXPRESSION_VALUE_TYPE_MISMATCH`.
156
+
155
157
  You can use both approaches throughout your domain specifications. Here are some common patterns that work well:
156
158
 
157
159
  ```yaml
@@ -408,7 +410,7 @@ function EntityList({ entities }) {
408
410
  When you need to do more complex text formatting with placeholders or embedded elements, you can reach for Lingui's `Trans` macro directly:
409
411
 
410
412
  ```tsx
411
- import { Trans, msg } from '@lingui/macro'
413
+ import { Trans } from '@lingui/react/macro'
412
414
 
413
415
  function WelcomeMessage({ userName, itemCount }) {
414
416
  return (
@@ -423,14 +425,14 @@ function WelcomeMessage({ userName, itemCount }) {
423
425
 
424
426
  ## Server-Side Translations for Webhooks
425
427
 
426
- The localization system isn't just for the frontend — it works in server-side webhook handlers too. PDF and email tasks render React templates with the same `@lingui/macro` toolchain (`<Trans>`, `msg`) you already use in UI components. The task context exposes `ctx.resolveLocalizable` already bound to the request locale and domain fallback chain, and the React builders use it for localizable subjects, attachment filenames, bodies, headers, footers, and watermark text.
428
+ The localization system isn't just for the frontend — it works in server-side webhook handlers too. PDF and email tasks render React templates with the same Lingui macros (`<Trans>` from `@lingui/react/macro`, `msg` from `@lingui/core/macro`) you already use in UI components. The task context exposes `ctx.resolveLocalizable` already bound to the request locale and domain fallback chain, and the React builders use it for localizable subjects, attachment filenames, bodies, headers, footers, and watermark text.
427
429
 
428
430
  ### In the handler
429
431
 
430
432
  Use the `msg` template tag for one-off strings you pass into builder methods:
431
433
 
432
434
  ```tsx
433
- import { msg } from '@lingui/macro'
435
+ import { msg } from '@lingui/core/macro'
434
436
 
435
437
  export const emailTask = phx.webhooks.taskFactory.createSendEmailTask((resources, data, ctx) => {
436
438
  return ctx.emailTaskBuilder
@@ -450,7 +452,7 @@ export const emailTask = phx.webhooks.taskFactory.createSendEmailTask((resources
450
452
  Use `<Trans>` for inline strings — exactly as in the frontend — and `<HtmlHelpers.Localized>` to render localizable values pulled from the domain (e.g. `$root.$summary[].title`, which are typed as `MessageDescriptor` or `MultilingualString`):
451
453
 
452
454
  ```tsx
453
- import { Trans } from '@lingui/macro'
455
+ import { Trans } from '@lingui/react/macro'
454
456
 
455
457
  import { HtmlHelpers } from '@salsita-ai/sdk/webhook'
456
458
 
@@ -547,6 +549,8 @@ When you're ready to ship:
547
549
  phx build
548
550
  ```
549
551
 
552
+ With the application-spec pipeline, `phx dev` and `phx build` compile the Lingui macros in your frontend code with the SDK's own Lingui macro plugin and the configuration in `.phoenix/.linguirc`, so the project installs no Babel macro packages for them (see [Current and legacy project tooling](?path=/docs/phoenix-phoenix-cli--docs#current-and-legacy-project-tooling)).
553
+
550
554
  ### Translation Files
551
555
 
552
556
  The `.po` files in `src/locales/` are standard GNU gettext format that most translation tools support:
@@ -565,7 +569,7 @@ During development, missing translations fall back to the message ID. In product
565
569
 
566
570
  ### Locale Fallback Configuration
567
571
 
568
- Phoenix automatically configures comprehensive locale fallbacks in the generated `.linguirc` file. When a translation is missing for a specific regional locale, it gracefully falls back to the base language before falling back to the default language (English).
572
+ Phoenix automatically configures comprehensive locale fallbacks in the Lingui configuration it generates. When a translation is missing for a specific regional locale, it gracefully falls back to the base language before falling back to the default language (English).
569
573
 
570
574
  **Fallback Rules:**
571
575
 
@@ -595,7 +599,7 @@ User locale: de-AT (Austrian German)
595
599
  └─ Translation in en? → Use it (default fallback)
596
600
  ```
597
601
 
598
- The fallback configuration is generated by `phx sync` and stored in `.linguirc`. You don't need to configure this manually - it's handled automatically based on your `availableLocales` in `spec/application.yaml`.
602
+ The fallback configuration is generated by `phx sync` and stored in `.phoenix/.linguirc` (in the project root on the legacy pipeline; see [Current and legacy project tooling](?path=/docs/phoenix-phoenix-cli--docs#current-and-legacy-project-tooling)). You don't need to configure this manually - it's handled automatically based on your `availableLocales` in `spec/application.yaml`.
599
603
 
600
604
  ## What We Learned
601
605
 
@@ -251,8 +251,21 @@ rm src/frontend/frontend.tsx
251
251
  # Remove empty domain/frontend folders after moving all files
252
252
  rmdir src/domain/implementation src/domain/data src/domain
253
253
  rmdir src/frontend/systems/transformers src/frontend/systems src/frontend/ui src/frontend/admin-pages src/frontend
254
+
255
+ # Remove the root TypeScript settings (sync writes the file again)
256
+ rm tsconfig.json
257
+ ```
258
+
259
+ With the application-spec pipeline (`phoenix.applicationFlow` in `package.json`; see [Current and legacy project tooling](?path=/docs/phoenix-phoenix-cli--docs#current-and-legacy-project-tooling)), the project's TypeScript settings are generated into `.phoenix/tsconfig.json`. Sync writes the root `tsconfig.json` only into a project that has none, as a single line that extends them:
260
+
261
+ ```json
262
+ { "extends": "./.phoenix/tsconfig.json" }
254
263
  ```
255
264
 
265
+ A root `tsconfig.json` from the old multi-folder template, or one written by hand, stays as it is and does not pick up the generated settings or the global `phx` types in `.phoenix/globals.d.ts`, so `pnpm ts:check` fails. Delete it, or replace its content with the line above, before the first sync.
266
+
267
+ With the application-spec pipeline (see [Current and legacy project tooling](?path=/docs/phoenix-phoenix-cli--docs#current-and-legacy-project-tooling)), `eslint.config.js` and `prettier.config.js` are the project's. Sync replaces a file earlier SDK versions generated, the one under the "Auto-generated file. Do not modify this file manually." header that re-exports `eslintrc` or `prettierrc`, with a file that re-exports the same configuration from `@salsita-ai/sdk/common/eslint` or `@salsita-ai/sdk/common/prettier`, and writes that file into a project that has none. A file of your own stays as it is, and editors, `phoenix check` and `phoenix fix` use it; make sure it imports only packages the project still depends on, or delete it before the first sync. Without the file, `phoenix check` and `phoenix fix` use the SDK's configuration. The legacy pipeline rewrites both files on every sync.
268
+
256
269
  ### 10. Create Mocks (Optional)
257
270
 
258
271
  If you have mock files, move them to `mocks/`:
@@ -279,7 +292,7 @@ This will:
279
292
 
280
293
  Other useful commands:
281
294
 
282
- - `pnpm phoenix sync` - Sync dependencies in package.json
295
+ - `pnpm phoenix sync` - Regenerate the generated code and project files
283
296
  - `pnpm phoenix gen` - Regenerate project files
284
297
  - `pnpm phoenix dev` - Start development server with hot reload
285
298
  - `pnpm phoenix deployment:prepare` - Prepare for deployment
@@ -390,7 +403,7 @@ pnpm install
390
403
 
391
404
  1. Run type check: `pnpm ts:check`
392
405
  2. Update any broken type imports
393
- 3. Ensure `tsconfig.json` paths are correct (auto-generated by Phoenix)
406
+ 3. With the application-spec pipeline (`phoenix.applicationFlow`; see [Current and legacy project tooling](?path=/docs/phoenix-phoenix-cli--docs#current-and-legacy-project-tooling)), check that the root `tsconfig.json` is the one-line file that extends `.phoenix/tsconfig.json` (see [step 9](#9-remove-auto-generated-files))
394
407
 
395
408
  ## Checklist
396
409
 
@@ -427,19 +440,19 @@ Use this checklist to verify migration completeness:
427
440
  - [ ] Configurator renders correctly
428
441
  - [ ] Admin interface works
429
442
  - [ ] All imports updated to new paths
430
- - [ ] Node 24 and pnpm v10 installed
443
+ - [ ] Node 24 and a package manager installed
431
444
 
432
445
  ## Removed Files
433
446
 
434
447
  The following files are no longer needed - they are auto-generated by the CLI:
435
448
 
436
- | File | Replacement |
437
- | --------------------------- | -------------------------------------------- |
438
- | `src/domain/domain.ts` | Auto-generated in `.phoenix/domain.ts` |
439
- | `src/frontend/frontend.tsx` | Auto-generated in `.phoenix/configurator.ts` |
440
- | `tsconfig.json` | Auto-generated by CLI |
441
- | `eslint.config.js` | Auto-generated by CLI |
442
- | `prettier.config.js` | Auto-generated by CLI |
449
+ | File | Replacement |
450
+ | --------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
451
+ | `src/domain/domain.ts` | Auto-generated in `.phoenix/domain.ts` |
452
+ | `src/frontend/frontend.tsx` | Auto-generated in `.phoenix/configurator.ts` |
453
+ | `tsconfig.json` | Delete before the first sync; with the application-spec pipeline, sync writes a one-line file that extends `.phoenix/tsconfig.json` |
454
+ | `eslint.config.js` | With the application-spec pipeline, sync replaces the file earlier SDK versions generated with one that re-exports the SDK's ESLint configuration, or writes one when there is none; a file of your own stays (see [step 9](#9-remove-auto-generated-files)) |
455
+ | `prettier.config.js` | With the application-spec pipeline, sync replaces the file earlier SDK versions generated with one that re-exports the SDK's Prettier configuration, or writes one when there is none; a file of your own stays (see [step 9](#9-remove-auto-generated-files)) |
443
456
 
444
457
  ## Builder Options Moved to YAML
445
458
 
@@ -473,7 +486,7 @@ Update imports to use these globals instead of importing from packages directly.
473
486
  ## Environment Requirements
474
487
 
475
488
  - Node 24
476
- - pnpm v10
489
+ - A package manager; the commands in this guide use pnpm
477
490
  - `RESOURCES_URL` is an optional frontend environment variable; in local development it defaults to the Vite dev server at `http://localhost:5173`
478
491
 
479
492
  ## Next Steps