@salsita-ai/sdk 0.50.0-develop.eb204e0da4 → 0.50.0-develop.ecda3c6152

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 (2562) hide show
  1. package/README.md +33 -16
  2. package/dist/admin/AdminShell.js +1 -1
  3. package/dist/admin/create-admin-pages-from-spec.d.ts +1 -1
  4. package/dist/admin/default-admin-elements.d.ts +9 -0
  5. package/dist/admin/default-admin-elements.js +1 -0
  6. package/dist/admin/default-elements/built-in-entity-element.d.ts +10 -0
  7. package/dist/admin/default-elements/built-in-entity-element.js +1 -0
  8. package/dist/admin/default-elements/built-in-layout-element.d.ts +10 -0
  9. package/dist/admin/default-elements/built-in-layout-element.js +1 -0
  10. package/dist/admin/default-elements/index.d.ts +2 -0
  11. package/dist/admin/default-elements/index.js +1 -0
  12. package/dist/admin/index.d.ts +1 -0
  13. package/dist/admin/index.js +1 -1
  14. package/dist/admin/legacy-admin/Application.js +1 -1
  15. package/dist/application/index.d.ts +1 -0
  16. package/dist/application/index.js +1 -1
  17. package/dist/application/mount-application.d.ts +1 -1
  18. package/dist/application/mount-application.js +1 -1
  19. package/dist/application/mount-configurator.d.ts +19 -0
  20. package/dist/application/mount-configurator.js +1 -0
  21. package/dist/application/mounted-application-runtime.d.ts +4 -0
  22. package/dist/application/mounted-application-runtime.js +1 -0
  23. package/dist/application/register-web-component.d.ts +2 -0
  24. package/dist/application/register-web-component.js +1 -0
  25. package/dist/application-spec/caching/content-diff.js +1 -1
  26. package/dist/application-spec/core/application-file.d.ts +0 -2
  27. package/dist/application-spec/core/application-file.js +1 -1
  28. package/dist/application-spec/core/enhanced-json-value.d.ts +2 -99
  29. package/dist/application-spec/core/enhanced-json-value.js +1 -1
  30. package/dist/application-spec/core/index.d.ts +1 -1
  31. package/dist/application-spec/core/index.js +1 -1
  32. package/dist/application-spec/core/json-schema.d.ts +2 -52
  33. package/dist/application-spec/core/json-value.d.ts +1 -1
  34. package/dist/application-spec/core/markers/index.d.ts +1 -1
  35. package/dist/application-spec/core/markers/index.js +1 -1
  36. package/dist/application-spec/core/markers/msg-marker.d.ts +2 -28
  37. package/dist/application-spec/core/markers/msg-marker.js +1 -1
  38. package/dist/application-spec/core/markers/raw-eval-write-marker.d.ts +1 -1
  39. package/dist/application-spec/core/markers/raw-eval-write-marker.js +1 -1
  40. package/dist/application-spec/core/markers/raw-read-write-marker.js +1 -1
  41. package/dist/application-spec/enhanced-json/eval-to-constant.d.ts +14 -0
  42. package/dist/application-spec/enhanced-json/index.d.ts +4 -0
  43. package/dist/application-spec/enhanced-json/index.js +1 -0
  44. package/dist/application-spec/enhanced-json/is-enhanced-json-array.d.ts +2 -0
  45. package/dist/application-spec/enhanced-json/is-enhanced-json-array.js +1 -0
  46. package/dist/application-spec/enhanced-json/resolve-enhanced-json-value.d.ts +18 -0
  47. package/dist/application-spec/enhanced-json/resolve-enhanced-json-value.js +1 -0
  48. package/dist/application-spec/enhanced-json/schema-from-value.d.ts +24 -0
  49. package/dist/application-spec/enhanced-json/schema-from-value.js +1 -0
  50. package/dist/application-spec/enhanced-json/stringify-enhanced-json-value.d.ts +14 -0
  51. package/dist/application-spec/enhanced-json/stringify-enhanced-json-value.js +1 -0
  52. package/dist/application-spec/enhanced-json/validate-enhanced-json-value-caps.d.ts +12 -0
  53. package/dist/application-spec/enhanced-json/validate-enhanced-json-value-caps.js +1 -0
  54. package/dist/application-spec/enhanced-json/validate-no-legacy-code-ref.d.ts +13 -0
  55. package/dist/application-spec/enhanced-json/validate-no-legacy-code-ref.js +1 -0
  56. package/dist/application-spec/errors/diagnostic-codes.d.ts +37 -1
  57. package/dist/application-spec/errors/diagnostic-codes.js +1 -1
  58. package/dist/application-spec/errors/diagnostic-messages.d.ts +48 -2
  59. package/dist/application-spec/errors/diagnostic-messages.js +1 -1
  60. package/dist/application-spec/generate-application/code/common/code-imports.js +1 -1
  61. package/dist/application-spec/generate-application/code/common/env-reader.js +2 -2
  62. package/dist/application-spec/generate-application/code/common/index.d.ts +2 -0
  63. package/dist/application-spec/generate-application/code/common/index.js +1 -1
  64. package/dist/application-spec/generate-application/code/common/project-module-list.d.ts +8 -0
  65. package/dist/application-spec/generate-application/code/common/project-module-list.js +3 -0
  66. package/dist/application-spec/generate-application/code/common/single-quoted-string.d.ts +6 -0
  67. package/dist/application-spec/generate-application/code/common/single-quoted-string.js +1 -0
  68. package/dist/application-spec/generate-application/code/domain-runtime-files.js +1 -1
  69. package/dist/application-spec/generate-application/code/generate-application-code.d.ts +3 -2
  70. package/dist/application-spec/generate-application/code/generate-application-code.js +1 -1
  71. package/dist/application-spec/generate-application/code/project-scaffolding.d.ts +22 -14
  72. package/dist/application-spec/generate-application/code/project-scaffolding.js +2 -2
  73. package/dist/application-spec/generate-application/code/standalone-app-files.d.ts +2 -2
  74. package/dist/application-spec/generate-application/code/standalone-app-files.js +1 -1
  75. package/dist/application-spec/generate-application/code/story-files.js +1 -1
  76. package/dist/application-spec/generate-application/code/templates/admin-config.js +3 -0
  77. package/dist/application-spec/generate-application/code/templates/admin-domain-code.d.ts +1 -2
  78. package/dist/application-spec/generate-application/code/templates/admin-domain-code.js +6 -14
  79. package/dist/application-spec/generate-application/code/templates/admin-frontend-code.d.ts +1 -2
  80. package/dist/application-spec/generate-application/code/templates/admin-frontend-code.js +4 -4
  81. package/dist/application-spec/generate-application/code/templates/application-types.js +6 -6
  82. package/dist/application-spec/generate-application/code/templates/common/doc-comment.d.ts +2 -0
  83. package/dist/application-spec/generate-application/code/templates/common/doc-comment.js +1 -0
  84. package/dist/application-spec/generate-application/code/templates/common/format-property-key.d.ts +7 -0
  85. package/dist/application-spec/generate-application/code/templates/common/format-property-key.js +1 -0
  86. package/dist/application-spec/generate-application/code/templates/common/schema-to-type-string.js +3 -3
  87. package/dist/application-spec/generate-application/code/templates/configurator-config.js +6 -4
  88. package/dist/application-spec/generate-application/code/templates/configurator-domain-code.d.ts +2 -2
  89. package/dist/application-spec/generate-application/code/templates/configurator-domain-code.js +7 -13
  90. package/dist/application-spec/generate-application/code/templates/configurator-frontend-code.d.ts +1 -2
  91. package/dist/application-spec/generate-application/code/templates/configurator-frontend-code.js +7 -9
  92. package/dist/application-spec/generate-application/code/templates/configurator-globals.d.ts +2 -1
  93. package/dist/application-spec/generate-application/code/templates/configurator-globals.js +19 -6
  94. package/dist/application-spec/generate-application/code/templates/domain-spec/factory-types/domain-factory-types.d.ts +35 -0
  95. package/dist/application-spec/generate-application/code/templates/domain-spec/factory-types/domain-factory-types.js +5 -0
  96. package/dist/application-spec/generate-application/code/templates/domain-spec/factory-types/index.d.ts +1 -0
  97. package/dist/application-spec/generate-application/code/templates/domain-spec/factory-types/index.js +1 -0
  98. package/dist/application-spec/generate-application/code/templates/domain-spec/generate-assistant.d.ts +2 -2
  99. package/dist/application-spec/generate-application/code/templates/domain-spec/generate-assistant.js +1 -1
  100. package/dist/application-spec/generate-application/code/templates/domain-spec/generate-component-optics.d.ts +1 -1
  101. package/dist/application-spec/generate-application/code/templates/domain-spec/generate-component-optics.js +7 -7
  102. package/dist/application-spec/generate-application/code/templates/domain-spec/generate-defaults.d.ts +4 -2
  103. package/dist/application-spec/generate-application/code/templates/domain-spec/generate-defaults.js +1 -1
  104. package/dist/application-spec/generate-application/code/templates/domain-spec/generate-domain-block.d.ts +3 -1
  105. package/dist/application-spec/generate-application/code/templates/domain-spec/generate-domain-block.js +73 -73
  106. package/dist/application-spec/generate-application/code/templates/domain-spec/generate-invariants.d.ts +9 -1
  107. package/dist/application-spec/generate-application/code/templates/domain-spec/generate-invariants.js +1 -1
  108. package/dist/application-spec/generate-application/code/templates/domain-spec/generate-phx-globals.js +6 -0
  109. package/dist/application-spec/generate-application/code/templates/domain-spec/generate-presets.js +1 -1
  110. package/dist/application-spec/generate-application/code/templates/domain-spec/generate-relation-expressions.js +1 -1
  111. package/dist/application-spec/generate-application/code/templates/domain-spec/generate-resources.d.ts +6 -8
  112. package/dist/application-spec/generate-application/code/templates/domain-spec/generate-resources.js +21 -21
  113. package/dist/application-spec/generate-application/code/templates/domain-spec/generate-states.d.ts +1 -1
  114. package/dist/application-spec/generate-application/code/templates/domain-spec/generate-states.js +2 -2
  115. package/dist/application-spec/generate-application/code/templates/domain-spec/index.d.ts +3 -2
  116. package/dist/application-spec/generate-application/code/templates/domain-spec/index.js +1 -1
  117. package/dist/application-spec/generate-application/code/templates/domain-spec.js +11 -11
  118. package/dist/application-spec/generate-application/code/templates/domain.js +4 -4
  119. package/dist/application-spec/generate-application/code/templates/eslint-config.d.ts +5 -0
  120. package/dist/application-spec/generate-application/code/templates/eslint-config.js +4 -5
  121. package/dist/application-spec/generate-application/code/templates/frontend-config.js +3 -5
  122. package/dist/application-spec/generate-application/code/templates/gitignore.js +0 -3
  123. package/dist/application-spec/generate-application/code/templates/global-definition/generate-action-types.d.ts +11 -0
  124. package/dist/application-spec/generate-application/code/templates/global-definition/generate-action-types.js +8 -0
  125. package/dist/application-spec/generate-application/code/templates/global-definition/generate-assistant-form-element-types.d.ts +12 -0
  126. package/dist/application-spec/generate-application/code/templates/global-definition/generate-assistant-form-element-types.js +7 -0
  127. package/dist/application-spec/generate-application/code/templates/global-definition/generate-phx-types.d.ts +43 -0
  128. package/dist/application-spec/generate-application/code/templates/global-definition/generate-phx-types.js +33 -0
  129. package/dist/application-spec/generate-application/code/templates/global-definition/index.d.ts +3 -0
  130. package/dist/application-spec/generate-application/code/templates/global-definition/index.js +1 -1
  131. package/dist/application-spec/generate-application/code/templates/globals.js +24 -42
  132. package/dist/application-spec/generate-application/code/templates/index.d.ts +5 -15
  133. package/dist/application-spec/generate-application/code/templates/index.js +1 -1
  134. package/dist/application-spec/generate-application/code/templates/lingui-rc.d.ts +5 -0
  135. package/dist/application-spec/generate-application/code/templates/lingui-rc.js +4 -4
  136. package/dist/application-spec/generate-application/code/templates/prettier-config.d.ts +5 -0
  137. package/dist/application-spec/generate-application/code/templates/prettier-config.js +4 -5
  138. package/dist/application-spec/generate-application/code/templates/root-tsconfig.d.ts +6 -0
  139. package/dist/application-spec/generate-application/code/templates/root-tsconfig.js +2 -0
  140. package/dist/application-spec/generate-application/code/templates/skills/phoenix-cli-skill.js +1 -1
  141. package/dist/application-spec/generate-application/code/templates/skills/phoenix-create-configurator-skill.js +95 -41
  142. package/dist/application-spec/generate-application/code/templates/skills/phoenix-feedback-skill.js +40 -17
  143. package/dist/application-spec/generate-application/code/templates/skills/phoenix-review-skill.js +13 -5
  144. package/dist/application-spec/generate-application/code/templates/skills/phoenix-skill-bundle.d.ts +10 -0
  145. package/dist/application-spec/generate-application/code/templates/skills/phoenix-skill-bundle.js +7 -0
  146. package/dist/application-spec/generate-application/code/templates/skills/phoenix-skill.js +1 -1
  147. package/dist/application-spec/generate-application/code/templates/skills/phoenix-variants-skill.d.ts +1 -0
  148. package/dist/application-spec/generate-application/code/templates/skills/phoenix-variants-skill.js +6 -0
  149. package/dist/application-spec/generate-application/code/templates/skills/sdk-content.d.ts +69 -16
  150. package/dist/application-spec/generate-application/code/templates/skills/sdk-content.js +19 -7
  151. package/dist/application-spec/generate-application/code/templates/spec-code/collect-spec-code.d.ts +58 -0
  152. package/dist/application-spec/generate-application/code/templates/spec-code/collect-spec-code.js +1 -0
  153. package/dist/application-spec/generate-application/code/templates/spec-code/index.d.ts +2 -0
  154. package/dist/application-spec/generate-application/code/templates/spec-code/index.js +1 -0
  155. package/dist/application-spec/generate-application/code/templates/spec-code/spec-code.d.ts +18 -0
  156. package/dist/application-spec/generate-application/code/templates/spec-code/spec-code.js +41 -0
  157. package/dist/application-spec/generate-application/code/templates/spec-messages/index.d.ts +1 -0
  158. package/dist/application-spec/generate-application/code/templates/spec-messages/index.js +1 -0
  159. package/dist/application-spec/generate-application/code/templates/spec-messages/spec-messages.d.ts +20 -0
  160. package/dist/application-spec/generate-application/code/templates/spec-messages/spec-messages.js +6 -0
  161. package/dist/application-spec/generate-application/code/templates/story/phx-module.d.ts +8 -2
  162. package/dist/application-spec/generate-application/code/templates/story/phx-module.js +15 -3
  163. package/dist/application-spec/generate-application/code/templates/story/wrapper.d.ts +3 -0
  164. package/dist/application-spec/generate-application/code/templates/story/wrapper.js +4 -5
  165. package/dist/application-spec/generate-application/code/templates/tsconfig.d.ts +5 -0
  166. package/dist/application-spec/generate-application/code/templates/tsconfig.js +1 -1
  167. package/dist/application-spec/generate-application/code/templates/webhook-builders.js +9 -4
  168. package/dist/application-spec/generate-application/code/templates/webhook-index.d.ts +6 -1
  169. package/dist/application-spec/generate-application/code/templates/webhook-index.js +10 -1
  170. package/dist/application-spec/generate-application/code/templates/webhooks-config.js +2 -3
  171. package/dist/application-spec/generate-application/implementations/phx-application-types.d.ts +25 -0
  172. package/dist/application-spec/generate-application/implementations/phx-application-types.js +1 -0
  173. package/dist/application-spec/generate-application/implementations/phx-domain.d.ts +36 -0
  174. package/dist/application-spec/generate-application/implementations/phx-domain.js +1 -0
  175. package/dist/application-spec/generate-application/implementations/phx-model.d.ts +24 -0
  176. package/dist/application-spec/generate-application/implementations/phx-model.js +1 -0
  177. package/dist/application-spec/generate-application/implementations/phx.d.ts +22 -0
  178. package/dist/application-spec/generate-application/implementations/phx.js +1 -0
  179. package/dist/application-spec/generate-application/index.d.ts +4 -0
  180. package/dist/application-spec/generate-application/index.js +1 -1
  181. package/dist/application-spec/generate-application/runtime/admin-runtime/admin-model-runtime.d.ts +6 -5
  182. package/dist/application-spec/generate-application/runtime/admin-runtime/admin-model-runtime.js +1 -1
  183. package/dist/application-spec/generate-application/runtime/admin-runtime/admin-runtime.d.ts +12 -4
  184. package/dist/application-spec/generate-application/runtime/admin-runtime/admin-runtime.js +1 -1
  185. package/dist/application-spec/generate-application/runtime/admin-runtime/admin-spec-runtime.d.ts +16 -0
  186. package/dist/application-spec/generate-application/runtime/admin-runtime/admin-spec-runtime.js +1 -0
  187. package/dist/application-spec/generate-application/runtime/admin-runtime/states-runtime.d.ts +2 -2
  188. package/dist/application-spec/generate-application/runtime/application-runtime.d.ts +35 -10
  189. package/dist/application-spec/generate-application/runtime/application-runtime.js +1 -1
  190. package/dist/application-spec/generate-application/runtime/application-spec-slice.d.ts +71 -0
  191. package/dist/application-spec/generate-application/runtime/application-spec-slice.js +1 -0
  192. package/dist/application-spec/generate-application/runtime/configurator-runtime/configurator-model-runtime.d.ts +7 -6
  193. package/dist/application-spec/generate-application/runtime/configurator-runtime/configurator-model-runtime.js +1 -1
  194. package/dist/application-spec/generate-application/runtime/configurator-runtime/configurator-runtime.d.ts +14 -7
  195. package/dist/application-spec/generate-application/runtime/configurator-runtime/configurator-runtime.js +1 -1
  196. package/dist/application-spec/generate-application/runtime/configurator-runtime/configurator-spec-runtime.d.ts +16 -0
  197. package/dist/application-spec/generate-application/runtime/configurator-runtime/configurator-spec-runtime.js +1 -0
  198. package/dist/application-spec/generate-application/runtime/configurator-runtime/states-runtime.d.ts +2 -2
  199. package/dist/application-spec/generate-application/runtime/create-application.d.ts +57 -0
  200. package/dist/application-spec/generate-application/runtime/create-application.js +1 -0
  201. package/dist/application-spec/generate-application/runtime/factory-data/factory-data-runtime.d.ts +42 -0
  202. package/dist/application-spec/generate-application/runtime/factory-data/factory-data-runtime.js +1 -0
  203. package/dist/application-spec/generate-application/runtime/factory-data/index.d.ts +3 -0
  204. package/dist/application-spec/generate-application/runtime/factory-data/index.js +1 -0
  205. package/dist/application-spec/generate-application/runtime/factory-data/recipe-defaults.d.ts +13 -0
  206. package/dist/application-spec/generate-application/runtime/factory-data/recipe-defaults.js +1 -0
  207. package/dist/application-spec/generate-application/runtime/factory-data/static-violations.d.ts +15 -0
  208. package/dist/application-spec/generate-application/runtime/factory-data/static-violations.js +1 -0
  209. package/dist/application-spec/generate-application/runtime/generate-runtime-instance.d.ts +1 -1
  210. package/dist/application-spec/generate-application/runtime/generate-runtime-instance.js +1 -1
  211. package/dist/application-spec/generate-application/runtime/index.d.ts +8 -0
  212. package/dist/application-spec/generate-application/runtime/index.js +1 -0
  213. package/dist/application-spec/generate-application/runtime/migrations/index.d.ts +1 -0
  214. package/dist/application-spec/generate-application/runtime/migrations/index.js +1 -0
  215. package/dist/application-spec/generate-application/runtime/migrations/migration-runtime.d.ts +53 -0
  216. package/dist/application-spec/generate-application/runtime/migrations/migration-runtime.js +1 -0
  217. package/dist/application-spec/generate-application/runtime/sections/actions-runtime.d.ts +13 -0
  218. package/dist/application-spec/generate-application/runtime/sections/actions-runtime.js +1 -0
  219. package/dist/application-spec/generate-application/runtime/sections/assistant-runtime.d.ts +5 -4
  220. package/dist/application-spec/generate-application/runtime/sections/assistant-runtime.js +1 -1
  221. package/dist/application-spec/generate-application/runtime/sections/build-sdk-optic.d.ts +3 -2
  222. package/dist/application-spec/generate-application/runtime/sections/build-sdk-optic.js +1 -1
  223. package/dist/application-spec/generate-application/runtime/sections/build-user-bound-optic.d.ts +3 -2
  224. package/dist/application-spec/generate-application/runtime/sections/build-user-bound-optic.js +1 -1
  225. package/dist/application-spec/generate-application/runtime/sections/component-optic.d.ts +6 -3
  226. package/dist/application-spec/generate-application/runtime/sections/component-optic.js +1 -1
  227. package/dist/application-spec/generate-application/runtime/sections/data-runtime.d.ts +4 -4
  228. package/dist/application-spec/generate-application/runtime/sections/expression-runtime.d.ts +14 -6
  229. package/dist/application-spec/generate-application/runtime/sections/expression-runtime.js +1 -1
  230. package/dist/application-spec/generate-application/runtime/sections/generate-memo-eval-plan-runtime.d.ts +10 -7
  231. package/dist/application-spec/generate-application/runtime/sections/generate-memo-eval-plan-runtime.js +1 -1
  232. package/dist/application-spec/generate-application/runtime/sections/index.d.ts +1 -0
  233. package/dist/application-spec/generate-application/runtime/sections/index.js +1 -1
  234. package/dist/application-spec/generate-application/runtime/sections/preset-runtime.d.ts +2 -3
  235. package/dist/application-spec/generate-application/runtime/sections/reflection-constants-runtime.d.ts +4 -2
  236. package/dist/application-spec/generate-application/runtime/sections/reflection-constants-runtime.js +1 -1
  237. package/dist/application-spec/generate-application/runtime/sections/theme-runtime.d.ts +2 -2
  238. package/dist/application-spec/generate-application/runtime/sections/transformers-runtime.d.ts +4 -6
  239. package/dist/application-spec/generate-application/runtime/spec-code/index.d.ts +2 -0
  240. package/dist/application-spec/generate-application/runtime/spec-code/index.js +1 -0
  241. package/dist/application-spec/generate-application/runtime/spec-code/resolve-spec-code.d.ts +18 -0
  242. package/dist/application-spec/generate-application/runtime/spec-code/resolve-spec-code.js +1 -0
  243. package/dist/application-spec/generate-application/runtime/spec-code/spec-code-module.d.ts +17 -0
  244. package/dist/application-spec/generate-application/runtime/spec-runtime.d.ts +21 -0
  245. package/dist/application-spec/generate-application/runtime/spec-runtime.js +1 -0
  246. package/dist/application-spec/generate-application/runtime-spec/decode-runtime-spec.d.ts +9 -0
  247. package/dist/application-spec/generate-application/runtime-spec/decode-runtime-spec.js +1 -0
  248. package/dist/application-spec/generate-application/runtime-spec/encode-runtime-spec.d.ts +8 -0
  249. package/dist/application-spec/generate-application/runtime-spec/encode-runtime-spec.js +1 -0
  250. package/dist/application-spec/generate-application/runtime-spec/encoded-runtime-spec.d.ts +28 -0
  251. package/dist/application-spec/generate-application/runtime-spec/encoded-runtime-spec.js +1 -0
  252. package/dist/application-spec/generate-application/runtime-spec/index.d.ts +5 -0
  253. package/dist/application-spec/generate-application/runtime-spec/index.js +1 -0
  254. package/dist/application-spec/generate-application/runtime-spec/runtime-spec.d.ts +168 -0
  255. package/dist/application-spec/generate-application/runtime-spec/runtime-spec.js +1 -0
  256. package/dist/application-spec/generate-application/runtime-spec/spec-code-id.d.ts +40 -0
  257. package/dist/application-spec/generate-application/runtime-spec/spec-code-id.js +1 -0
  258. package/dist/application-spec/index.d.ts +1 -0
  259. package/dist/application-spec/index.js +1 -1
  260. package/dist/application-spec/parse-application-files/categorize/categorize-files.d.ts +37 -1
  261. package/dist/application-spec/parse-application-files/categorize/categorize-files.js +1 -1
  262. package/dist/application-spec/parse-application-files/categorize/earlier-generated-editor-configs.d.ts +16 -0
  263. package/dist/application-spec/parse-application-files/categorize/earlier-generated-editor-configs.js +9 -0
  264. package/dist/application-spec/parse-application-files/categorize/earlier-generated-tsconfig.d.ts +9 -0
  265. package/dist/application-spec/parse-application-files/categorize/earlier-generated-tsconfig.js +1 -0
  266. package/dist/application-spec/parse-application-files/categorize/module-analysis.d.ts +1 -1
  267. package/dist/application-spec/parse-application-files/categorize/module-analysis.js +1 -1
  268. package/dist/application-spec/parse-application-files/merge/index.d.ts +1 -0
  269. package/dist/application-spec/parse-application-files/merge/index.js +1 -1
  270. package/dist/application-spec/parse-application-files/merge/merged-actions.d.ts +11 -0
  271. package/dist/application-spec/parse-application-files/merge/merged-actions.js +1 -0
  272. package/dist/application-spec/parse-application-files/merge/merged-assistant.d.ts +13 -4
  273. package/dist/application-spec/parse-application-files/merge/merged-assistant.js +1 -1
  274. package/dist/application-spec/parse-application-files/merge/merged-infra.d.ts +4 -11
  275. package/dist/application-spec/parse-application-files/merge/merged-spec.d.ts +2 -0
  276. package/dist/application-spec/parse-application-files/merge/merged-spec.js +1 -1
  277. package/dist/application-spec/parse-application-files/merge/merged-transformers.d.ts +2 -4
  278. package/dist/application-spec/parse-application-files/parse-application-files.js +1 -1
  279. package/dist/application-spec/parse-application-files/raw-spec/index.d.ts +1 -0
  280. package/dist/application-spec/parse-application-files/raw-spec/index.js +1 -1
  281. package/dist/application-spec/parse-application-files/raw-spec/parse-yaml-spec-file.js +1 -1
  282. package/dist/application-spec/parse-application-files/raw-spec/raw-acl.d.ts +2 -2
  283. package/dist/application-spec/parse-application-files/raw-spec/raw-acl.js +1 -1
  284. package/dist/application-spec/parse-application-files/raw-spec/raw-actions.d.ts +18 -0
  285. package/dist/application-spec/parse-application-files/raw-spec/raw-actions.js +1 -0
  286. package/dist/application-spec/parse-application-files/raw-spec/raw-admin-pages.d.ts +3 -24
  287. package/dist/application-spec/parse-application-files/raw-spec/raw-assistant.d.ts +82 -22
  288. package/dist/application-spec/parse-application-files/raw-spec/raw-assistant.js +1 -1
  289. package/dist/application-spec/parse-application-files/raw-spec/raw-expressions.d.ts +1 -1
  290. package/dist/application-spec/parse-application-files/raw-spec/raw-expressions.js +1 -1
  291. package/dist/application-spec/parse-application-files/raw-spec/raw-resources.d.ts +19 -64
  292. package/dist/application-spec/parse-application-files/raw-spec/raw-spec-file.d.ts +2 -0
  293. package/dist/application-spec/parse-application-files/raw-spec/raw-spec-file.js +1 -1
  294. package/dist/application-spec/parse-application-files/resolve/resolve-import-modules.js +1 -1
  295. package/dist/application-spec/parse-application-files/spec/application/admin-spec/admin-pages.d.ts +3 -20
  296. package/dist/application-spec/parse-application-files/spec/application/admin-spec/admin-spec.js +1 -1
  297. package/dist/application-spec/parse-application-files/spec/application/admin-spec/states.d.ts +3 -5
  298. package/dist/application-spec/parse-application-files/spec/application/application-spec.js +1 -1
  299. package/dist/application-spec/parse-application-files/spec/application/configurator-spec/configurator-spec.d.ts +4 -2
  300. package/dist/application-spec/parse-application-files/spec/application/configurator-spec/configurator-spec.js +1 -1
  301. package/dist/application-spec/parse-application-files/spec/application/configurator-spec/states.d.ts +3 -8
  302. package/dist/application-spec/parse-application-files/spec/common/index.d.ts +2 -0
  303. package/dist/application-spec/parse-application-files/spec/common/index.js +1 -1
  304. package/dist/application-spec/parse-application-files/spec/common/schema-ref-resolver.d.ts +23 -0
  305. package/dist/application-spec/parse-application-files/spec/common/schema-ref-resolver.js +1 -0
  306. package/dist/application-spec/parse-application-files/spec/common/value-type/format-value-type.d.ts +3 -0
  307. package/dist/application-spec/parse-application-files/spec/common/value-type/format-value-type.js +1 -0
  308. package/dist/application-spec/parse-application-files/spec/common/value-type/index.d.ts +5 -0
  309. package/dist/application-spec/parse-application-files/spec/common/value-type/index.js +1 -0
  310. package/dist/application-spec/parse-application-files/spec/common/value-type/intersect-value-types.d.ts +6 -0
  311. package/dist/application-spec/parse-application-files/spec/common/value-type/intersect-value-types.js +1 -0
  312. package/dist/application-spec/parse-application-files/spec/common/value-type/is-assignable-value-type.d.ts +8 -0
  313. package/dist/application-spec/parse-application-files/spec/common/value-type/is-assignable-value-type.js +1 -0
  314. package/dist/application-spec/parse-application-files/spec/common/value-type/value-type-at.d.ts +10 -0
  315. package/dist/application-spec/parse-application-files/spec/common/value-type/value-type-at.js +1 -0
  316. package/dist/application-spec/parse-application-files/spec/common/value-type/value-type.d.ts +98 -0
  317. package/dist/application-spec/parse-application-files/spec/common/value-type/value-type.js +1 -0
  318. package/dist/application-spec/parse-application-files/spec/components/bindings/component-path.d.ts +13 -0
  319. package/dist/application-spec/parse-application-files/spec/components/bindings/component-path.js +1 -0
  320. package/dist/application-spec/parse-application-files/spec/components/bindings/index.d.ts +2 -0
  321. package/dist/application-spec/parse-application-files/spec/components/bindings/index.js +1 -1
  322. package/dist/application-spec/parse-application-files/spec/components/bindings/read-binding-type.d.ts +24 -0
  323. package/dist/application-spec/parse-application-files/spec/components/bindings/read-binding-type.js +1 -0
  324. package/dist/application-spec/parse-application-files/spec/components/bindings/read-binding.d.ts +3 -13
  325. package/dist/application-spec/parse-application-files/spec/components/bindings/write-binding.d.ts +4 -32
  326. package/dist/application-spec/parse-application-files/spec/components/component-filter.d.ts +3 -62
  327. package/dist/application-spec/parse-application-files/spec/components/component-filter.js +1 -1
  328. package/dist/application-spec/parse-application-files/spec/components/component-state-type.d.ts +8 -0
  329. package/dist/application-spec/parse-application-files/spec/components/component-state-type.js +1 -0
  330. package/dist/application-spec/parse-application-files/spec/components/components.d.ts +3 -4
  331. package/dist/application-spec/parse-application-files/spec/components/filter-criterion-types.d.ts +13 -0
  332. package/dist/application-spec/parse-application-files/spec/components/filter-criterion-types.js +1 -0
  333. package/dist/application-spec/parse-application-files/spec/components/index.d.ts +1 -2
  334. package/dist/application-spec/parse-application-files/spec/components/index.js +1 -1
  335. package/dist/application-spec/parse-application-files/spec/components/sdk-component-entry.d.ts +1 -1
  336. package/dist/application-spec/parse-application-files/spec/components/static-entity-id.d.ts +14 -0
  337. package/dist/application-spec/parse-application-files/spec/components/static-entity-id.js +1 -0
  338. package/dist/application-spec/parse-application-files/spec/components/user-component-entry.d.ts +8 -3
  339. package/dist/application-spec/parse-application-files/spec/components/user-component-entry.js +1 -1
  340. package/dist/application-spec/parse-application-files/spec/components/user-components.d.ts +9 -7
  341. package/dist/application-spec/parse-application-files/spec/components/user-components.js +1 -1
  342. package/dist/application-spec/parse-application-files/spec/expressions/expression-read-types.d.ts +24 -0
  343. package/dist/application-spec/parse-application-files/spec/expressions/expression-read-types.js +1 -0
  344. package/dist/application-spec/parse-application-files/spec/expressions/expression-read.d.ts +13 -0
  345. package/dist/application-spec/parse-application-files/spec/expressions/expression-value-type.d.ts +9 -0
  346. package/dist/application-spec/parse-application-files/spec/expressions/expression-value-type.js +1 -0
  347. package/dist/application-spec/parse-application-files/spec/expressions/expressions.d.ts +12 -30
  348. package/dist/application-spec/parse-application-files/spec/expressions/expressions.js +1 -1
  349. package/dist/application-spec/parse-application-files/spec/expressions/index.d.ts +0 -2
  350. package/dist/application-spec/parse-application-files/spec/expressions/index.js +1 -1
  351. package/dist/application-spec/parse-application-files/spec/expressions/memo-eval-plan.d.ts +4 -71
  352. package/dist/application-spec/parse-application-files/spec/expressions/memo-eval-plan.js +1 -1
  353. package/dist/application-spec/parse-application-files/spec/expressions/user-expressions.d.ts +5 -3
  354. package/dist/application-spec/parse-application-files/spec/expressions/user-expressions.js +1 -1
  355. package/dist/application-spec/parse-application-files/spec/invariants/invariant.d.ts +5 -21
  356. package/dist/application-spec/parse-application-files/spec/invariants/invariants.d.ts +6 -16
  357. package/dist/application-spec/parse-application-files/spec/invariants/invariants.js +1 -1
  358. package/dist/application-spec/parse-application-files/spec/model/aliases.d.ts +3 -9
  359. package/dist/application-spec/parse-application-files/spec/model/common-types.d.ts +6 -14
  360. package/dist/application-spec/parse-application-files/spec/model/defaults.d.ts +6 -26
  361. package/dist/application-spec/parse-application-files/spec/model/defaults.js +1 -1
  362. package/dist/application-spec/parse-application-files/spec/model/entity-types.d.ts +3 -8
  363. package/dist/application-spec/parse-application-files/spec/model/index.d.ts +1 -0
  364. package/dist/application-spec/parse-application-files/spec/model/index.js +1 -1
  365. package/dist/application-spec/parse-application-files/spec/model/model-type-resolution.d.ts +10 -0
  366. package/dist/application-spec/parse-application-files/spec/model/model-type-resolution.js +1 -0
  367. package/dist/application-spec/parse-application-files/spec/model/model-version-key.d.ts +3 -3
  368. package/dist/application-spec/parse-application-files/spec/model/names/action-name.d.ts +6 -0
  369. package/dist/application-spec/parse-application-files/spec/model/names/action-name.js +1 -0
  370. package/dist/application-spec/parse-application-files/spec/model/names/alias-name.d.ts +3 -7
  371. package/dist/application-spec/parse-application-files/spec/model/names/entity-or-alias-name.d.ts +3 -8
  372. package/dist/application-spec/parse-application-files/spec/model/names/entity-type-name.d.ts +3 -8
  373. package/dist/application-spec/parse-application-files/spec/model/names/expression-name.d.ts +3 -6
  374. package/dist/application-spec/parse-application-files/spec/model/names/index.d.ts +1 -0
  375. package/dist/application-spec/parse-application-files/spec/model/names/index.js +1 -1
  376. package/dist/application-spec/parse-application-files/spec/model/names/instance-name.d.ts +3 -7
  377. package/dist/application-spec/parse-application-files/spec/model/names/invariant-name.d.ts +3 -3
  378. package/dist/application-spec/parse-application-files/spec/model/names/shape-property-name.d.ts +3 -11
  379. package/dist/application-spec/parse-application-files/spec/model/names/violation-type-name.d.ts +3 -3
  380. package/dist/application-spec/parse-application-files/spec/model/presets.d.ts +6 -29
  381. package/dist/application-spec/parse-application-files/spec/relations/reference-field-type.d.ts +25 -0
  382. package/dist/application-spec/parse-application-files/spec/relations/reference-field-type.js +1 -0
  383. package/dist/application-spec/parse-application-files/spec/relations/relation-field-mismatch.d.ts +46 -0
  384. package/dist/application-spec/parse-application-files/spec/relations/relation-field-mismatch.js +1 -0
  385. package/dist/application-spec/parse-application-files/spec/relations/relations.d.ts +4 -3
  386. package/dist/application-spec/parse-application-files/spec/relations/relations.js +1 -1
  387. package/dist/application-spec/parse-application-files/spec/sections/actions.d.ts +18 -0
  388. package/dist/application-spec/parse-application-files/spec/sections/actions.js +1 -0
  389. package/dist/application-spec/parse-application-files/spec/sections/app-metadata.d.ts +3 -18
  390. package/dist/application-spec/parse-application-files/spec/sections/application-version.d.ts +3 -7
  391. package/dist/application-spec/parse-application-files/spec/sections/assistant/assistant-field-type.d.ts +5 -21
  392. package/dist/application-spec/parse-application-files/spec/sections/assistant/assistant-field-type.js +1 -1
  393. package/dist/application-spec/parse-application-files/spec/sections/assistant/assistant-form-elements.d.ts +9 -0
  394. package/dist/application-spec/parse-application-files/spec/sections/assistant/assistant-form-elements.js +1 -0
  395. package/dist/application-spec/parse-application-files/spec/sections/assistant/assistant-schema.d.ts +18 -40
  396. package/dist/application-spec/parse-application-files/spec/sections/assistant/assistant-schema.js +1 -1
  397. package/dist/application-spec/parse-application-files/spec/sections/assistant/assistant-server-settings.d.ts +2 -2
  398. package/dist/application-spec/parse-application-files/spec/sections/assistant/assistant.d.ts +5 -19
  399. package/dist/application-spec/parse-application-files/spec/sections/assistant/assistant.js +1 -1
  400. package/dist/application-spec/parse-application-files/spec/sections/data-spec/chunks.d.ts +6 -23
  401. package/dist/application-spec/parse-application-files/spec/sections/data-spec/custom-data-spec.d.ts +1 -16
  402. package/dist/application-spec/parse-application-files/spec/sections/data-spec/data-entry-key.d.ts +3 -9
  403. package/dist/application-spec/parse-application-files/spec/sections/data-spec/data-spec.d.ts +1 -10
  404. package/dist/application-spec/parse-application-files/spec/sections/data-spec/swatch-data-spec.d.ts +1 -14
  405. package/dist/application-spec/parse-application-files/spec/sections/index.d.ts +1 -0
  406. package/dist/application-spec/parse-application-files/spec/sections/index.js +1 -1
  407. package/dist/application-spec/parse-application-files/spec/sections/infra.d.ts +2 -0
  408. package/dist/application-spec/parse-application-files/spec/sections/infra.js +1 -1
  409. package/dist/application-spec/parse-application-files/spec/sections/state-value.d.ts +3 -7
  410. package/dist/application-spec/parse-application-files/spec/sections/theme.d.ts +3 -10
  411. package/dist/application-spec/parse-application-files/spec/sections/transformers.d.ts +4 -11
  412. package/dist/application-spec/parse-application-files/spec/sections/ui.d.ts +3 -12
  413. package/dist/client/authorized-client.d.ts +5 -1
  414. package/dist/client/authorized-client.js +1 -1
  415. package/dist/client/contract.d.ts +63 -0
  416. package/dist/client/contract.js +1 -1
  417. package/dist/client/index.d.ts +2 -2
  418. package/dist/client/index.js +1 -1
  419. package/dist/client/local-authorized-client.d.ts +5 -1
  420. package/dist/client/local-authorized-client.js +1 -1
  421. package/dist/client/memory-authorized-client.d.ts +6 -1
  422. package/dist/client/memory-authorized-client.js +1 -1
  423. package/dist/client/phoenix-api.d.ts +1244 -282
  424. package/dist/configurator/ConfiguratorApp.js +1 -1
  425. package/dist/configurator/app-loader-content/DefaultAppLoaderContent.d.ts +2 -0
  426. package/dist/configurator/app-loader-content/DefaultAppLoaderContent.js +5 -0
  427. package/dist/configurator/app-loader-content/index.d.ts +1 -0
  428. package/dist/configurator/app-loader-content/index.js +1 -0
  429. package/dist/configurator/application-runtime/extensions/configurator-extension-systems.d.ts +2 -1
  430. package/dist/configurator/application-runtime/extensions/configurator-extension-systems.js +1 -1
  431. package/dist/configurator/application-runtime/extensions/create-configurator-extensions.js +1 -1
  432. package/dist/configurator/application-runtime/extensions/selectors.d.ts +5 -2
  433. package/dist/configurator/application-runtime/extensions/selectors.js +1 -1
  434. package/dist/configurator/application-runtime/extensions/systems/assistant-system/assistant-system.d.ts +363 -0
  435. package/dist/configurator/application-runtime/extensions/systems/assistant-system/assistant-system.js +1 -0
  436. package/dist/configurator/application-runtime/extensions/systems/assistant-system/browser-details.d.ts +17 -0
  437. package/dist/configurator/application-runtime/extensions/systems/assistant-system/browser-details.js +1 -0
  438. package/dist/configurator/application-runtime/extensions/systems/assistant-system/change-recorder.d.ts +85 -0
  439. package/dist/configurator/application-runtime/extensions/systems/assistant-system/change-recorder.js +1 -0
  440. package/dist/configurator/application-runtime/extensions/systems/assistant-system/graphql-tools.d.ts +209 -0
  441. package/dist/configurator/application-runtime/extensions/systems/assistant-system/graphql-tools.js +1 -0
  442. package/dist/configurator/application-runtime/extensions/systems/camera-control-system/camera-control-system.d.ts +1 -1
  443. package/dist/configurator/application-runtime/extensions/systems/canvas-system.d.ts +8 -0
  444. package/dist/configurator/application-runtime/extensions/systems/canvas-system.js +1 -1
  445. package/dist/configurator/application-runtime/extensions/systems/drag-and-drop-system/drag-and-drop-system.d.ts +3 -3
  446. package/dist/configurator/application-runtime/extensions/systems/export-system/export-busy-error.d.ts +8 -0
  447. package/dist/configurator/application-runtime/extensions/systems/export-system/export-busy-error.js +1 -0
  448. package/dist/configurator/application-runtime/extensions/systems/export-system/export-system.d.ts +23 -1
  449. package/dist/configurator/application-runtime/extensions/systems/export-system/export-system.js +1 -1
  450. package/dist/configurator/application-runtime/extensions/systems/graphql-system/close-unclosed-braces.d.ts +12 -0
  451. package/dist/configurator/application-runtime/extensions/systems/graphql-system/close-unclosed-braces.js +1 -0
  452. package/dist/configurator/application-runtime/extensions/systems/graphql-system/entity-meta.d.ts +82 -51
  453. package/dist/configurator/application-runtime/extensions/systems/graphql-system/entity-meta.js +1 -1
  454. package/dist/configurator/application-runtime/extensions/systems/graphql-system/graphql-system.d.ts +101 -8
  455. package/dist/configurator/application-runtime/extensions/systems/graphql-system/graphql-system.js +1 -1
  456. package/dist/configurator/application-runtime/extensions/systems/graphql-system/inject-assistant-lenses.d.ts +11 -0
  457. package/dist/configurator/application-runtime/extensions/systems/graphql-system/inject-assistant-lenses.js +1 -0
  458. package/dist/configurator/application-runtime/extensions/systems/graphql-system/side-effects.d.ts +9 -0
  459. package/dist/configurator/application-runtime/extensions/systems/graphql-system/side-effects.js +1 -0
  460. package/dist/configurator/application-runtime/extensions/systems/graphql-system/violations.d.ts +40 -0
  461. package/dist/configurator/application-runtime/extensions/systems/graphql-system/violations.js +1 -0
  462. package/dist/configurator/application-runtime/extensions/systems/image-rendering-system/image-rendering-system.d.ts +14 -5
  463. package/dist/configurator/application-runtime/extensions/systems/image-rendering-system/image-rendering-system.js +1 -1
  464. package/dist/configurator/application-runtime/extensions/systems/index.d.ts +2 -1
  465. package/dist/configurator/application-runtime/extensions/systems/index.js +1 -1
  466. package/dist/configurator/application-runtime/extensions/systems/layout-system/layout-system.d.ts +4 -2
  467. package/dist/configurator/application-runtime/extensions/systems/layout-system/layout-system.js +1 -1
  468. package/dist/configurator/common/configurator-interface.d.ts +145 -5
  469. package/dist/configurator/common/configurator-interface.js +1 -1
  470. package/dist/configurator/common/index.d.ts +3 -1
  471. package/dist/configurator/common/index.js +1 -1
  472. package/dist/configurator/common/use-reset-camera.d.ts +6 -0
  473. package/dist/configurator/common/use-reset-camera.js +1 -0
  474. package/dist/configurator/configuration-not-found-page/BuiltInConfigurationNotFoundPage.d.ts +5 -0
  475. package/dist/configurator/configuration-not-found-page/BuiltInConfigurationNotFoundPage.js +1 -0
  476. package/dist/configurator/configuration-not-found-page/ConfigurationNotFoundPageElement.d.ts +6 -0
  477. package/dist/configurator/configuration-not-found-page/ConfigurationNotFoundPageElement.js +1 -0
  478. package/dist/configurator/configuration-not-found-page/index.d.ts +2 -0
  479. package/dist/configurator/configuration-not-found-page/index.js +1 -0
  480. package/dist/configurator/configurator-context/PreviewContextProvider.js +1 -1
  481. package/dist/configurator/configurator-context/ViewportStateSync.d.ts +2 -2
  482. package/dist/configurator/configurator-context/ViewportStateSync.js +1 -1
  483. package/dist/configurator/configurator-context/configurator-hooks/index.d.ts +0 -1
  484. package/dist/configurator/configurator-context/configurator-hooks/index.js +1 -1
  485. package/dist/configurator/configurator-context/configurator-hooks/layout-hooks.d.ts +11 -1
  486. package/dist/configurator/configurator-context/configurator-hooks/layout-hooks.js +1 -1
  487. package/dist/configurator/configurator-context/index.d.ts +0 -5
  488. package/dist/configurator/configurator-context/index.js +1 -1
  489. package/dist/configurator/configurator-error-page/BuiltInConfiguratorErrorPage.d.ts +6 -0
  490. package/dist/configurator/configurator-error-page/BuiltInConfiguratorErrorPage.js +1 -0
  491. package/dist/configurator/configurator-error-page/ConfiguratorErrorPageElement.d.ts +7 -0
  492. package/dist/configurator/configurator-error-page/ConfiguratorErrorPageElement.js +1 -0
  493. package/dist/configurator/configurator-error-page/index.d.ts +2 -0
  494. package/dist/configurator/configurator-error-page/index.js +1 -0
  495. package/dist/configurator/index.d.ts +10 -1
  496. package/dist/configurator/index.js +1 -1
  497. package/dist/configurator/pages/ConfiguratorErrorPage.d.ts +0 -1
  498. package/dist/configurator/pages/ConfiguratorErrorPage.js +1 -1
  499. package/dist/configurator/pages/ConfiguratorNotFoundPage.js +1 -1
  500. package/dist/configurator/pages/DefaultConfiguratorLayout.d.ts +7 -0
  501. package/dist/configurator/pages/DefaultConfiguratorLayout.js +1 -0
  502. package/dist/configurator/pages/DefaultNotAuthenticatedPage.d.ts +8 -0
  503. package/dist/configurator/pages/DefaultNotAuthenticatedPage.js +1 -0
  504. package/dist/configurator/pages/DefaultPresetUi.d.ts +7 -0
  505. package/dist/configurator/pages/DefaultPresetUi.js +1 -0
  506. package/dist/configurator/pages/LoadedConfiguratorDetailPage.js +1 -1
  507. package/dist/configurator/pages/NewConfiguratorPage.js +1 -1
  508. package/dist/configurator/pages/PresetCreationErrorPage.d.ts +1 -1
  509. package/dist/configurator/pages/PresetCreationErrorPage.js +1 -1
  510. package/dist/configurator/pages/RootPage.js +1 -1
  511. package/dist/configurator/pages/configurator-layout-name.d.ts +2 -0
  512. package/dist/configurator/pages/configurator-layout-name.js +1 -0
  513. package/dist/configurator/pages/default-configurator-elements.d.ts +17 -0
  514. package/dist/configurator/pages/default-configurator-elements.js +1 -0
  515. package/dist/configurator/pages/default-elements/built-in-entity-element.d.ts +10 -0
  516. package/dist/configurator/pages/default-elements/built-in-entity-element.js +1 -0
  517. package/dist/configurator/pages/default-elements/built-in-layout-element.d.ts +10 -0
  518. package/dist/configurator/pages/default-elements/built-in-layout-element.js +1 -0
  519. package/dist/configurator/pages/default-elements/domain-control-elements.d.ts +6 -0
  520. package/dist/configurator/pages/default-elements/domain-control-elements.js +1 -0
  521. package/dist/configurator/pages/default-elements/index.d.ts +5 -0
  522. package/dist/configurator/pages/default-elements/index.js +1 -0
  523. package/dist/configurator/pages/default-elements/recipe-panel-elements.d.ts +3 -0
  524. package/dist/configurator/pages/default-elements/recipe-panel-elements.js +1 -0
  525. package/dist/configurator/pages/default-elements/scene-controls/BuiltInAddEntityFab.d.ts +3 -0
  526. package/dist/configurator/pages/default-elements/scene-controls/BuiltInAddEntityFab.js +1 -0
  527. package/dist/configurator/pages/default-elements/scene-controls/BuiltInDeleteEntityFab.d.ts +3 -0
  528. package/dist/configurator/pages/default-elements/scene-controls/BuiltInDeleteEntityFab.js +1 -0
  529. package/dist/configurator/pages/default-elements/scene-controls/BuiltInNavigationHotspot.d.ts +3 -0
  530. package/dist/configurator/pages/default-elements/scene-controls/BuiltInNavigationHotspot.js +1 -0
  531. package/dist/configurator/pages/default-elements/scene-controls/BuiltInSelectionHotspot.d.ts +3 -0
  532. package/dist/configurator/pages/default-elements/scene-controls/BuiltInSelectionHotspot.js +1 -0
  533. package/dist/configurator/pages/default-elements/scene-controls/BuiltInToolMenuFab.d.ts +3 -0
  534. package/dist/configurator/pages/default-elements/scene-controls/BuiltInToolMenuFab.js +1 -0
  535. package/dist/configurator/pages/default-elements/scene-controls/index.d.ts +6 -0
  536. package/dist/configurator/pages/default-elements/scene-controls/index.js +1 -0
  537. package/dist/configurator/pages/default-elements/scene-controls/scene-control-elements.d.ts +6 -0
  538. package/dist/configurator/pages/default-elements/scene-controls/scene-control-elements.js +1 -0
  539. package/dist/configurator/pages/default-elements/sidebar-footer-elements.d.ts +7 -0
  540. package/dist/configurator/pages/default-elements/sidebar-footer-elements.js +1 -0
  541. package/dist/configurator/pages/default-elements/toolbar-elements.d.ts +7 -0
  542. package/dist/configurator/pages/default-elements/toolbar-elements.js +1 -0
  543. package/dist/configurator/pages/error-boundaries/BuiltInGeneralErrorFallback.d.ts +5 -0
  544. package/dist/configurator/pages/error-boundaries/BuiltInGeneralErrorFallback.js +1 -0
  545. package/dist/configurator/pages/error-boundaries/DevContextFallback.js +1 -1
  546. package/dist/configurator/pages/error-boundaries/DevLoadingFallback.js +1 -1
  547. package/dist/configurator/pages/error-boundaries/GeneralErrorBoundary.js +1 -1
  548. package/dist/configurator/pages/error-boundaries/LoadingErrorBoundary.js +1 -1
  549. package/dist/configurator/pages/error-boundaries/index.d.ts +1 -0
  550. package/dist/configurator/pages/error-boundaries/index.js +1 -1
  551. package/dist/configurator/pages/index.d.ts +1 -0
  552. package/dist/configurator/pages/index.js +1 -1
  553. package/dist/configurator/pages/provider-slots/ConfiguratorResponsiveProvider.d.ts +12 -0
  554. package/dist/configurator/pages/provider-slots/ConfiguratorResponsiveProvider.js +1 -0
  555. package/dist/configurator/pages/provider-slots/ContainerSlotProvider.d.ts +3 -0
  556. package/dist/configurator/pages/provider-slots/ContainerSlotProvider.js +1 -0
  557. package/dist/configurator/pages/provider-slots/LoaderSlotProvider.d.ts +3 -0
  558. package/dist/configurator/pages/provider-slots/LoaderSlotProvider.js +1 -0
  559. package/dist/configurator/pages/provider-slots/MessageHostSlotProvider.d.ts +3 -0
  560. package/dist/configurator/pages/provider-slots/MessageHostSlotProvider.js +1 -0
  561. package/dist/configurator/pages/provider-slots/SceneResourcesSlotProvider.d.ts +3 -0
  562. package/dist/configurator/pages/provider-slots/SceneResourcesSlotProvider.js +1 -0
  563. package/dist/configurator/pages/provider-slots/ThemeSlotProvider.d.ts +3 -0
  564. package/dist/configurator/pages/provider-slots/ThemeSlotProvider.js +1 -0
  565. package/dist/configurator/pages/provider-slots/configurator-provider-slot-elements.d.ts +3 -0
  566. package/dist/configurator/pages/provider-slots/configurator-provider-slot-elements.js +1 -0
  567. package/dist/configurator/pages/provider-slots/index.d.ts +6 -0
  568. package/dist/configurator/pages/provider-slots/index.js +1 -0
  569. package/dist/configurator/pages/ui-elements/BuiltInInvalidDeploymentReload.d.ts +2 -0
  570. package/dist/configurator/pages/ui-elements/BuiltInInvalidDeploymentReload.js +1 -0
  571. package/dist/configurator/pages/ui-elements/configurator-ui-elements.d.ts +3 -0
  572. package/dist/configurator/pages/ui-elements/configurator-ui-elements.js +1 -0
  573. package/dist/configurator/pages/ui-elements/index.d.ts +2 -0
  574. package/dist/configurator/pages/ui-elements/index.js +1 -0
  575. package/dist/configurator/preset-screen-elements/PresetDeviceNotSupportedElement.d.ts +4 -0
  576. package/dist/configurator/preset-screen-elements/PresetDeviceNotSupportedElement.js +1 -0
  577. package/dist/configurator/preset-screen-elements/PresetPageActionElement.d.ts +4 -0
  578. package/dist/configurator/preset-screen-elements/PresetPageActionElement.js +1 -0
  579. package/dist/configurator/preset-screen-elements/index.d.ts +2 -0
  580. package/dist/configurator/preset-screen-elements/index.js +1 -0
  581. package/dist/configurator/scene/index.d.ts +1 -0
  582. package/dist/configurator/scene/index.js +1 -1
  583. package/dist/configurator/scene/scene-analytics/scene-analytics.d.ts +2 -2
  584. package/dist/configurator/scene/scene-controls/DeleteEntityFab.js +1 -1
  585. package/dist/configurator/scene/scene-controls/SelectionHotspot.js +1 -1
  586. package/dist/configurator/scene/scene-controls/ToolFab.d.ts +4 -0
  587. package/dist/configurator/scene/scene-controls/ToolFab.js +1 -1
  588. package/dist/configurator/scene/scene-controls/hotspot-drag-handle/HotspotDragHandle.d.ts +1 -1
  589. package/dist/configurator/scene/scene-controls/hotspot-drag-handle/HotspotDragSceneHandle.d.ts +1 -1
  590. package/dist/configurator/scene/scene-controls/use-scene-control-tooltip.d.ts +2 -1
  591. package/dist/configurator/scene/scene-entity/dimension-indicators/DimensionIndicator.d.ts +1 -1
  592. package/dist/configurator/scene/scene-entity/dimension-indicators/DimensionIndicatorInternal.d.ts +1 -1
  593. package/dist/configurator/scene/scene-entity/drag-and-drop/shared.d.ts +2 -2
  594. package/dist/configurator/scene/scene-entity/drag-and-drop/use-drag-object.d.ts +1 -1
  595. package/dist/configurator/scene/scene-entity/materials/RemoteReplacedMaterial.js +1 -1
  596. package/dist/configurator/scene/scene-entity/objects/SceneEntityObjectTextDecal.d.ts +1 -1
  597. package/dist/configurator/scene/scene-entity/scene-controls/SceneEntityHtmlHotspots.js +1 -1
  598. package/dist/configurator/toolbar-actions/index.d.ts +3 -0
  599. package/dist/configurator/toolbar-actions/index.js +1 -0
  600. package/dist/configurator/toolbar-actions/use-assistant-panel.d.ts +18 -0
  601. package/dist/configurator/toolbar-actions/use-assistant-panel.js +1 -0
  602. package/dist/configurator/toolbar-actions/use-measurements.d.ts +35 -0
  603. package/dist/configurator/toolbar-actions/use-measurements.js +1 -0
  604. package/dist/configurator/toolbar-actions/use-toolbar-actions.d.ts +100 -0
  605. package/dist/configurator/toolbar-actions/use-toolbar-actions.js +1 -0
  606. package/dist/configurator/toolbar-actions/use-toolbar-help.d.ts +7 -0
  607. package/dist/configurator/toolbar-actions/use-toolbar-help.js +1 -0
  608. package/dist/configurator/ui/assistant/AssistantChips.d.ts +18 -0
  609. package/dist/configurator/ui/assistant/AssistantChips.js +1 -0
  610. package/dist/configurator/ui/assistant/AssistantComposer.d.ts +13 -0
  611. package/dist/configurator/ui/assistant/AssistantComposer.js +2 -0
  612. package/dist/configurator/ui/assistant/AssistantMarkdown.d.ts +12 -0
  613. package/dist/configurator/ui/assistant/AssistantMarkdown.js +1 -0
  614. package/dist/configurator/ui/assistant/AssistantPanel.d.ts +11 -0
  615. package/dist/configurator/ui/assistant/AssistantPanel.js +1 -0
  616. package/dist/configurator/ui/assistant/AssistantThread.d.ts +10 -0
  617. package/dist/configurator/ui/assistant/AssistantThread.js +1 -0
  618. package/dist/configurator/ui/assistant/alert/AssistantAlert.d.ts +8 -0
  619. package/dist/configurator/ui/assistant/alert/AssistantAlert.js +1 -0
  620. package/dist/configurator/ui/assistant/alert/index.d.ts +2 -0
  621. package/dist/configurator/ui/assistant/alert/index.js +1 -0
  622. package/dist/configurator/ui/assistant/alert/remark-alerts.d.ts +10 -0
  623. package/dist/configurator/ui/assistant/alert/remark-alerts.js +1 -0
  624. package/dist/configurator/ui/assistant/assistant-failure.d.ts +18 -0
  625. package/dist/configurator/ui/assistant/assistant-failure.js +1 -0
  626. package/dist/configurator/ui/assistant/attachments/MessageImages.d.ts +11 -0
  627. package/dist/configurator/ui/assistant/attachments/MessageImages.js +1 -0
  628. package/dist/configurator/ui/assistant/attachments/index.d.ts +2 -0
  629. package/dist/configurator/ui/assistant/attachments/index.js +1 -0
  630. package/dist/configurator/ui/assistant/attachments/prepare-image.d.ts +19 -0
  631. package/dist/configurator/ui/assistant/attachments/prepare-image.js +1 -0
  632. package/dist/configurator/ui/assistant/entity-link/AssistantEntityLink.d.ts +13 -0
  633. package/dist/configurator/ui/assistant/entity-link/AssistantEntityLink.js +1 -0
  634. package/dist/configurator/ui/assistant/entity-link/entity-link-selection.d.ts +22 -0
  635. package/dist/configurator/ui/assistant/entity-link/entity-link-selection.js +1 -0
  636. package/dist/configurator/ui/assistant/entity-link/entity-link-state.d.ts +27 -0
  637. package/dist/configurator/ui/assistant/entity-link/entity-link-state.js +1 -0
  638. package/dist/configurator/ui/assistant/entity-link/index.d.ts +2 -0
  639. package/dist/configurator/ui/assistant/entity-link/index.js +1 -0
  640. package/dist/configurator/ui/assistant/form/AssistantForm.d.ts +19 -0
  641. package/dist/configurator/ui/assistant/form/AssistantForm.js +1 -0
  642. package/dist/configurator/ui/assistant/form/compose-answer.d.ts +11 -0
  643. package/dist/configurator/ui/assistant/form/compose-answer.js +1 -0
  644. package/dist/configurator/ui/assistant/form/describe-build-errors.d.ts +6 -0
  645. package/dist/configurator/ui/assistant/form/describe-build-errors.js +1 -0
  646. package/dist/configurator/ui/assistant/form/form-model.d.ts +37 -0
  647. package/dist/configurator/ui/assistant/form/form-state.d.ts +4 -0
  648. package/dist/configurator/ui/assistant/form/index.d.ts +4 -0
  649. package/dist/configurator/ui/assistant/form/index.js +1 -0
  650. package/dist/configurator/ui/assistant/form/parse-form-block.d.ts +10 -0
  651. package/dist/configurator/ui/assistant/form/parse-form-block.js +1 -0
  652. package/dist/configurator/ui/assistant/form/read-form-attributes.d.ts +13 -0
  653. package/dist/configurator/ui/assistant/form/read-form-attributes.js +1 -0
  654. package/dist/configurator/ui/assistant/form/registry/built-in-form-elements.d.ts +3 -0
  655. package/dist/configurator/ui/assistant/form/registry/built-in-form-elements.js +1 -0
  656. package/dist/configurator/ui/assistant/form/registry/create-assistant-form-element.d.ts +31 -0
  657. package/dist/configurator/ui/assistant/form/registry/create-assistant-form-element.js +1 -0
  658. package/dist/configurator/ui/assistant/form/registry/form-element-definition.d.ts +16 -0
  659. package/dist/configurator/ui/assistant/form/registry/form-element-definition.js +1 -0
  660. package/dist/configurator/ui/assistant/form/registry/form-registry.d.ts +31 -0
  661. package/dist/configurator/ui/assistant/form/registry/form-registry.js +1 -0
  662. package/dist/configurator/ui/assistant/form/registry/index.d.ts +6 -0
  663. package/dist/configurator/ui/assistant/form/registry/index.js +1 -0
  664. package/dist/configurator/ui/assistant/form/registry/use-form-registry.d.ts +8 -0
  665. package/dist/configurator/ui/assistant/form/registry/use-form-registry.js +1 -0
  666. package/dist/configurator/ui/assistant/form-elements/FormCard.d.ts +9 -0
  667. package/dist/configurator/ui/assistant/form-elements/FormCard.js +1 -0
  668. package/dist/configurator/ui/assistant/form-elements/FormConfirm.d.ts +9 -0
  669. package/dist/configurator/ui/assistant/form-elements/FormConfirm.js +1 -0
  670. package/dist/configurator/ui/assistant/form-elements/FormGroup.d.ts +6 -0
  671. package/dist/configurator/ui/assistant/form-elements/FormGroup.js +1 -0
  672. package/dist/configurator/ui/assistant/form-elements/FormNumber.d.ts +9 -0
  673. package/dist/configurator/ui/assistant/form-elements/FormNumber.js +1 -0
  674. package/dist/configurator/ui/assistant/form-elements/FormOptions.d.ts +6 -0
  675. package/dist/configurator/ui/assistant/form-elements/FormOptions.js +1 -0
  676. package/dist/configurator/ui/assistant/form-elements/FormReply.d.ts +6 -0
  677. package/dist/configurator/ui/assistant/form-elements/FormReply.js +1 -0
  678. package/dist/configurator/ui/assistant/form-elements/FormSwatch.d.ts +10 -0
  679. package/dist/configurator/ui/assistant/form-elements/FormSwatch.js +1 -0
  680. package/dist/configurator/ui/assistant/form-elements/FormText.d.ts +6 -0
  681. package/dist/configurator/ui/assistant/form-elements/FormText.js +1 -0
  682. package/dist/configurator/ui/assistant/form-elements/clamp-form-number.d.ts +10 -0
  683. package/dist/configurator/ui/assistant/form-elements/clamp-form-number.js +1 -0
  684. package/dist/configurator/ui/assistant/form-elements/form-element-props.d.ts +38 -0
  685. package/dist/configurator/ui/assistant/form-elements/index.d.ts +9 -0
  686. package/dist/configurator/ui/assistant/form-elements/index.js +1 -0
  687. package/dist/configurator/ui/assistant/index.d.ts +5 -0
  688. package/dist/configurator/ui/assistant/index.js +1 -0
  689. package/dist/configurator/ui/assistant/reference-link/AssistantReferenceLink.d.ts +16 -0
  690. package/dist/configurator/ui/assistant/reference-link/AssistantReferenceLink.js +1 -0
  691. package/dist/configurator/ui/assistant/reference-link/assistant-link-target.d.ts +34 -0
  692. package/dist/configurator/ui/assistant/reference-link/assistant-link-target.js +1 -0
  693. package/dist/configurator/ui/assistant/reference-link/assistant-reference-details.d.ts +25 -0
  694. package/dist/configurator/ui/assistant/reference-link/assistant-reference-details.js +1 -0
  695. package/dist/configurator/ui/assistant/reference-link/index.d.ts +3 -0
  696. package/dist/configurator/ui/assistant/reference-link/index.js +1 -0
  697. package/dist/configurator/ui/assistant/reference-link/reference-styles.d.ts +12 -0
  698. package/dist/configurator/ui/assistant/reference-link/reference-styles.js +1 -0
  699. package/dist/configurator/ui/assistant/reference-link/use-assistant-reference-details.d.ts +8 -0
  700. package/dist/configurator/ui/assistant/reference-link/use-assistant-reference-details.js +1 -0
  701. package/dist/configurator/ui/assistant/resource-image/AssistantImage.d.ts +9 -0
  702. package/dist/configurator/ui/assistant/resource-image/AssistantImage.js +1 -0
  703. package/dist/configurator/ui/assistant/resource-image/index.d.ts +3 -0
  704. package/dist/configurator/ui/assistant/resource-image/index.js +1 -0
  705. package/dist/configurator/ui/assistant/resource-image/resource-path.d.ts +2 -0
  706. package/dist/configurator/ui/assistant/resource-image/resource-path.js +1 -0
  707. package/dist/configurator/ui/assistant/resource-image/use-resource-image-url.d.ts +5 -0
  708. package/dist/configurator/ui/assistant/resource-image/use-resource-image-url.js +1 -0
  709. package/dist/configurator/ui/assistant/screenshots/ScreenshotThumbnails.d.ts +9 -0
  710. package/dist/configurator/ui/assistant/screenshots/ScreenshotThumbnails.js +1 -0
  711. package/dist/configurator/ui/assistant/screenshots/index.d.ts +3 -0
  712. package/dist/configurator/ui/assistant/screenshots/index.js +1 -0
  713. package/dist/configurator/ui/assistant/screenshots/tool-screenshots.d.ts +22 -0
  714. package/dist/configurator/ui/assistant/screenshots/tool-screenshots.js +1 -0
  715. package/dist/configurator/ui/assistant/screenshots/use-screenshot-src.d.ts +8 -0
  716. package/dist/configurator/ui/assistant/screenshots/use-screenshot-src.js +1 -0
  717. package/dist/configurator/ui/assistant/streamed-markdown.d.ts +8 -0
  718. package/dist/configurator/ui/assistant/streamed-markdown.js +2 -0
  719. package/dist/configurator/ui/assistant/theme.d.ts +2 -0
  720. package/dist/configurator/ui/assistant/theme.js +1 -0
  721. package/dist/configurator/ui/assistant/thread-items.d.ts +57 -0
  722. package/dist/configurator/ui/assistant/thread-items.js +1 -0
  723. package/dist/configurator/ui/assistant/tool-chip.d.ts +54 -0
  724. package/dist/configurator/ui/assistant/tool-chip.js +1 -0
  725. package/dist/configurator/ui/assistant/use-follow-stream.d.ts +17 -0
  726. package/dist/configurator/ui/assistant/use-follow-stream.js +1 -0
  727. package/dist/configurator/ui/assistant/use-is-assistant-panel-open.d.ts +5 -0
  728. package/dist/configurator/ui/assistant/use-is-assistant-panel-open.js +1 -0
  729. package/dist/configurator/ui/configurator-layout/sidebar-keys/index.d.ts +1 -0
  730. package/dist/configurator/ui/configurator-layout/sidebar-keys/index.js +1 -0
  731. package/dist/configurator/ui/configurator-layout/sidebar-keys/sidebar-keys.d.ts +11 -0
  732. package/dist/configurator/ui/configurator-layout/sidebar-keys/sidebar-keys.js +1 -0
  733. package/dist/configurator/ui/configurator-layout/slots/canvas/GPUAccelerationDisabled.js +1 -1
  734. package/dist/configurator/ui/configurator-layout/slots/canvas/LayoutCanvas.js +1 -1
  735. package/dist/configurator/ui/configurator-layout/slots/canvas/SharedCanvas.js +1 -1
  736. package/dist/configurator/ui/configurator-layout/slots/canvas/WebGLNotSupported.js +1 -1
  737. package/dist/configurator/ui/configurator-layout/slots/desktop-sidebar/DesktopSidebar.d.ts +101 -0
  738. package/dist/configurator/ui/configurator-layout/slots/desktop-sidebar/DesktopSidebar.js +16 -0
  739. package/dist/configurator/ui/configurator-layout/slots/desktop-sidebar/index.d.ts +1 -0
  740. package/dist/configurator/ui/configurator-layout/slots/desktop-sidebar/index.js +1 -0
  741. package/dist/configurator/ui/configurator-layout/slots/mobile-tabs/use-mobile-tabs.d.ts +1 -1
  742. package/dist/configurator/ui/configurator-layout/slots/mobile-tabs/use-mobile-tabs.js +1 -1
  743. package/dist/configurator/ui/configurator-layout/slots/readonly-banner/CloneToEditDialog.js +1 -1
  744. package/dist/configurator/ui/configurator-layout/slots/services/InvariantViolations.d.ts +4 -4
  745. package/dist/configurator/ui/configurator-layout/slots/services/InvariantViolations.js +1 -1
  746. package/dist/configurator/ui/configurator-layout/slots/services/Services.js +1 -1
  747. package/dist/configurator/ui/configurator-layout/slots/services/SideEffects.d.ts +3 -6
  748. package/dist/configurator/ui/configurator-layout/slots/services/SideEffects.js +1 -1
  749. package/dist/configurator/ui/configurator-layout/slots/sidebar-tabs/use-sidebar-tabs.d.ts +1 -1
  750. package/dist/configurator/ui/configurator-layout/slots/sidebar-tabs/use-sidebar-tabs.js +1 -1
  751. package/dist/configurator/ui/configurator-layout/slots/slots.d.ts +1 -0
  752. package/dist/configurator/ui/configurator-layout/slots/slots.js +1 -1
  753. package/dist/configurator/ui/configurator-layout/universal/DesktopLayout.d.ts +0 -74
  754. package/dist/configurator/ui/configurator-layout/universal/DesktopLayout.js +5 -20
  755. package/dist/configurator/ui/configurator-layout/universal/DesktopPreview.js +1 -1
  756. package/dist/configurator/ui/configurator-layout/universal/ExportingOverlay.d.ts +5 -0
  757. package/dist/configurator/ui/configurator-layout/universal/ExportingOverlay.js +1 -0
  758. package/dist/configurator/ui/configurator-layout/universal/Layout.js +1 -1
  759. package/dist/configurator/ui/configurator-layout/universal/MobileLayout.d.ts +2 -0
  760. package/dist/configurator/ui/configurator-layout/universal/MobileLayout.js +3 -3
  761. package/dist/configurator/ui/configurator-layout/universal/MobilePreview.js +1 -1
  762. package/dist/configurator/ui/configurator-layout/universal/use-layout-scene-safe-area.d.ts +47 -0
  763. package/dist/configurator/ui/configurator-layout/universal/use-layout-scene-safe-area.js +1 -0
  764. package/dist/configurator/ui/configurator-layout/universal/use-scene-safe-area.d.ts +11 -26
  765. package/dist/configurator/ui/configurator-layout/universal/use-scene-safe-area.js +1 -1
  766. package/dist/configurator/ui/index.d.ts +1 -0
  767. package/dist/configurator/ui/index.js +1 -1
  768. package/dist/configurator/ui/legacy/chat/MobileChat.js +1 -1
  769. package/dist/configurator/ui/legacy/layout/common/CommonFinalizeButton.js +1 -1
  770. package/dist/configurator/ui/legacy/layout/common/CommonSummaryButton.js +1 -1
  771. package/dist/configurator/ui/legacy/layout/common/CommonTopNavigation.js +1 -1
  772. package/dist/configurator/ui/legacy/layout/common/ReactiveInterfaceLayout.js +1 -1
  773. package/dist/configurator/ui/legacy/layout/common/ResponsiveFinalizeButton.js +1 -1
  774. package/dist/configurator/ui/legacy/layout/common/SummaryReadLayout.js +1 -1
  775. package/dist/configurator/ui/legacy/layout/simple/SimpleOwnerLayout.js +1 -1
  776. package/dist/configurator/ui/legacy/layout/simple/SimpleSidebar.js +1 -1
  777. package/dist/configurator/ui/legacy/layout/simple/SimpleTopNavigation.js +1 -1
  778. package/dist/configurator/ui/legacy/layout/steps/StepsNavigation.d.ts +2 -2
  779. package/dist/configurator/ui/legacy/layout/steps/StepsNavigation.js +1 -1
  780. package/dist/configurator/ui/legacy/layout/steps/StepsOwnerLayout.js +1 -1
  781. package/dist/configurator/ui/legacy/layout/steps/StepsSideBar.js +1 -1
  782. package/dist/configurator/ui/legacy/layout/steps/StepsSidebarFooter.js +1 -1
  783. package/dist/configurator/ui/legacy/layout/tabs/TabsOwnerLayout.js +1 -1
  784. package/dist/configurator/ui/legacy/layout/tabs/TabsSidebar.js +1 -1
  785. package/dist/configurator/ui/legacy/mobile-controls/MobileControls.d.ts +1 -1
  786. package/dist/configurator/ui/legacy/toolbar/common/DimensionUnitSelector.js +1 -1
  787. package/dist/configurator/ui/legacy/toolbar/common/MeasurementsIndicatorsSwitch.js +1 -1
  788. package/dist/configurator/ui/legacy/toolbar/desktop-toolbar/FullscreenToolbarAction.js +1 -1
  789. package/dist/configurator/ui/legacy/toolbar/desktop-toolbar/HelpToolbarAction.js +1 -1
  790. package/dist/configurator/ui/legacy/toolbar/desktop-toolbar/MeasurementsToolbarAction.js +1 -1
  791. package/dist/configurator/ui/legacy/toolbar/desktop-toolbar/UndoRedoToolbarGroup.js +1 -1
  792. package/dist/configurator/ui/phoenix-layout-elements/AppLoader.d.ts +0 -7
  793. package/dist/configurator/ui/phoenix-layout-elements/AppLoader.js +2 -6
  794. package/dist/configurator/ui/phoenix-layout-elements/AssistantToolbarButton.d.ts +10 -0
  795. package/dist/configurator/ui/phoenix-layout-elements/AssistantToolbarButton.js +1 -0
  796. package/dist/configurator/ui/phoenix-layout-elements/EnterFullscreenToolbarButton.js +1 -1
  797. package/dist/configurator/ui/phoenix-layout-elements/ExitFullscreenToolbarButton.js +1 -1
  798. package/dist/configurator/ui/phoenix-layout-elements/HelpToolbarButton.js +1 -1
  799. package/dist/configurator/ui/phoenix-layout-elements/LanguageMenuAction.js +1 -1
  800. package/dist/configurator/ui/phoenix-layout-elements/LanguageToolbarButton.js +1 -1
  801. package/dist/configurator/ui/phoenix-layout-elements/LayoutCustomOwnerUi.d.ts +1 -0
  802. package/dist/configurator/ui/phoenix-layout-elements/LayoutCustomOwnerUi.js +1 -1
  803. package/dist/configurator/ui/phoenix-layout-elements/LayoutCustomReadUi.d.ts +1 -0
  804. package/dist/configurator/ui/phoenix-layout-elements/LayoutCustomReadUi.js +1 -1
  805. package/dist/configurator/ui/phoenix-layout-elements/MeasurementsMenuAction.js +1 -1
  806. package/dist/configurator/ui/phoenix-layout-elements/MeasurementsToolbarButton.js +1 -1
  807. package/dist/configurator/ui/phoenix-layout-elements/RedoToolbarButton.js +1 -1
  808. package/dist/configurator/ui/phoenix-layout-elements/ShareToolbarButton.js +1 -1
  809. package/dist/configurator/ui/phoenix-layout-elements/UndoToolbarButton.js +1 -1
  810. package/dist/configurator/ui/phoenix-layout-elements/header/common/back-button/use-go-back-action.js +1 -1
  811. package/dist/configurator/ui/phoenix-layout-elements/header/common/horizontal-tabs/DesktopHorizontalTabs.js +1 -1
  812. package/dist/configurator/ui/phoenix-layout-elements/header/common/step-navigation/DesktopNavigationSteps.d.ts +1 -1
  813. package/dist/configurator/ui/phoenix-layout-elements/header/common/step-navigation/DesktopNavigationSteps.js +1 -1
  814. package/dist/configurator/ui/phoenix-layout-elements/header/common/step-navigation/StepsNavigation.d.ts +2 -8
  815. package/dist/configurator/ui/phoenix-layout-elements/header/common/step-navigation/StepsNavigation.js +1 -1
  816. package/dist/configurator/ui/phoenix-layout-elements/index.d.ts +9 -1
  817. package/dist/configurator/ui/phoenix-layout-elements/index.js +1 -1
  818. package/dist/configurator/ui/phoenix-layout-elements/measurements/DimensionUnitSelector.js +1 -1
  819. package/dist/configurator/ui/phoenix-layout-elements/measurements/MeasurementsIndicatorsSwitch.js +1 -1
  820. package/dist/configurator/ui/phoenix-layout-elements/share/ShareModal.js +1 -1
  821. package/dist/configurator/ui/phoenix-layout-elements/share/use-share.d.ts +7 -8
  822. package/dist/configurator/ui/phoenix-layout-elements/share/use-share.js +1 -1
  823. package/dist/configurator/ui/phoenix-layout-elements/sidebar-footer/basic/BasicFinalizeButton.js +1 -1
  824. package/dist/configurator/ui/phoenix-layout-elements/sidebar-footer/basic/use-basic-sidebar-footer.js +1 -1
  825. package/dist/configurator/ui/phoenix-layout-elements/sidebar-footer/common/CustomFinalizeButton.js +1 -1
  826. package/dist/configurator/ui/phoenix-layout-elements/sidebar-footer/common/EnterSummaryButton.js +1 -1
  827. package/dist/configurator/ui/phoenix-layout-elements/sidebar-footer/common/FinalizeActions.js +1 -1
  828. package/dist/configurator/ui/phoenix-layout-elements/sidebar-footer/common/NextStepButton.js +1 -1
  829. package/dist/configurator/ui/phoenix-layout-elements/sidebar-footer/common/PreviousStepButton.js +1 -1
  830. package/dist/configurator/ui/preset-layout/CategoryPresetUi.js +1 -1
  831. package/dist/configurator/ui/preset-layout/PresetUi.d.ts +4 -2
  832. package/dist/configurator/ui/preset-layout/PresetUi.js +1 -1
  833. package/dist/configurator/ui/preset-layout/index.d.ts +6 -1
  834. package/dist/configurator/ui/preset-layout/index.js +1 -1
  835. package/dist/configurator/ui/save-message-snackbars/SaveMessageSnackbars.d.ts +10 -0
  836. package/dist/configurator/ui/save-message-snackbars/SaveMessageSnackbars.js +1 -0
  837. package/dist/configurator/ui/save-message-snackbars/index.d.ts +1 -0
  838. package/dist/configurator/ui/save-message-snackbars/index.js +1 -0
  839. package/dist/docs/3d-scene/cameras/custom.mdx +4 -2
  840. package/dist/docs/complex-use-cases/filtered-controls-with-fix-dialog.mdx +100 -117
  841. package/dist/docs/complex-use-cases/focus-mode.mdx +2 -0
  842. package/dist/docs/complex-use-cases/navigation-reset-selection.mdx +18 -12
  843. package/dist/docs/complex-use-cases/sketching.mdx +0 -38
  844. package/dist/docs/controls/select-attribute/cardselect.mdx +9 -13
  845. package/dist/docs/controls/select-child-entity/cardselect.mdx +1 -0
  846. package/dist/docs/dimensions/3d-scene-integration/dimension-indicators.mdx +2 -2
  847. package/dist/docs/dimensions/3d-scene-integration/editable-angle-indicator.mdx +1 -1
  848. package/dist/docs/dimensions/3d-scene-integration/editable-distance-dimension-indicator.mdx +1 -1
  849. package/dist/docs/dimensions/3d-scene-integration/list-selector-dimension-indicator.mdx +1 -1
  850. package/dist/docs/drag-and-drop/drag-handle.mdx +1 -1
  851. package/dist/docs/drag-and-drop/hotspot-handle.mdx +1 -1
  852. package/dist/docs/drag-and-drop/planes.mdx +1 -1
  853. package/dist/docs/drag-and-drop/room-planner.mdx +1 -1
  854. package/dist/docs/drag-and-drop/rotatable.mdx +2 -2
  855. package/dist/docs/fabs/basic.mdx +6 -2
  856. package/dist/docs/index.json +147 -2
  857. package/dist/docs/integrations/webcomponent-api/basics.mdx +2 -0
  858. package/dist/docs/integrations/woocommerce/local-development.mdx +1 -1
  859. package/dist/docs/layouts/custom-layout.mdx +2597 -0
  860. package/dist/docs/layouts/custom-price.mdx +14 -16
  861. package/dist/docs/layouts/gallery/ardent-compressor.mdx +3516 -0
  862. package/dist/docs/layouts/gallery/corvid-drone.mdx +3428 -0
  863. package/dist/docs/layouts/gallery/fenwick-window.mdx +2803 -0
  864. package/dist/docs/layouts/gallery/ferrule-bar-station.mdx +6567 -0
  865. package/dist/docs/layouts/gallery/kestrel-kettle.mdx +1858 -0
  866. package/dist/docs/layouts/gallery/nightjar-guitar.mdx +3698 -0
  867. package/dist/docs/layouts/gallery/sunfold-solar.mdx +2683 -0
  868. package/dist/docs/layouts/gallery/tidepool-aquascape.mdx +5203 -0
  869. package/dist/docs/layouts/header/fixed.mdx +2 -2
  870. package/dist/docs/layouts/header/floating.mdx +2 -2
  871. package/dist/docs/layouts/sidebar/in-a-custom-layout.mdx +380 -0
  872. package/dist/docs/layouts/sidebar/tabs.mdx +24 -21
  873. package/dist/docs/layouts/sidebar-footer/basic.mdx +32 -77
  874. package/dist/docs/layouts/toolbar.mdx +6 -0
  875. package/dist/docs/other-features/client-side-rendering/declarative.mdx +2 -2
  876. package/dist/docs/other-features/domain-actions.mdx +418 -0
  877. package/dist/docs/other-features/error-5xx.mdx +1 -1
  878. package/dist/docs/other-features/navigation-hotspot.mdx +2 -0
  879. package/dist/docs/other-features/not-found-404.mdx +1 -1
  880. package/dist/docs/other-features/side-effects.mdx +76 -45
  881. package/dist/docs/other-features/transformers.mdx +5 -1
  882. package/dist/docs/other-features/violation-messages.mdx +52 -56
  883. package/dist/docs/phoenix/admin.mdx +11 -26
  884. package/dist/docs/phoenix/application-states.mdx +9 -7
  885. package/dist/docs/phoenix/best-practices.mdx +1 -0
  886. package/dist/docs/phoenix/clerk-sign-in.mdx +1 -1
  887. package/dist/docs/phoenix/components.mdx +6 -0
  888. package/dist/docs/phoenix/configurator-interface.mdx +402 -81
  889. package/dist/docs/phoenix/deployments.mdx +14 -8
  890. package/dist/docs/phoenix/domain-model.mdx +10 -1
  891. package/dist/docs/phoenix/expression-context.mdx +11 -3
  892. package/dist/docs/phoenix/finalization.mdx +2 -2
  893. package/dist/docs/phoenix/getting-started.mdx +7 -4
  894. package/dist/docs/phoenix/integration/headless-mode-external.mdx +5 -5
  895. package/dist/docs/phoenix/integration/widget-mode-external.mdx +5 -5
  896. package/dist/docs/phoenix/layout-slots.mdx +137 -0
  897. package/dist/docs/phoenix/localization.mdx +13 -28
  898. package/dist/docs/phoenix/migration-guide.mdx +27 -14
  899. package/dist/docs/phoenix/phoenix-cli.mdx +283 -84
  900. package/dist/docs/phoenix/project-structure.mdx +95 -37
  901. package/dist/docs/phoenix/quickstart.mdx +9 -9
  902. package/dist/docs/phoenix/sdk-builder-workflow.mdx +26 -22
  903. package/dist/docs/phoenix/sessions-and-access.mdx +2 -0
  904. package/dist/docs/phoenix/testing.mdx +153 -0
  905. package/dist/docs/phoenix/webhook-membership.mdx +10 -9
  906. package/dist/docs/phoenix/webhooks.mdx +31 -6
  907. package/dist/docs/recipes-and-delete/recipe-hierarchy-selection.mdx +15 -13
  908. package/dist/docs/relations/hierarchy.mdx +13 -2
  909. package/dist/docs/selection-and-highlight/hotspots.mdx +2 -0
  910. package/dist/docs/ux-guidelines/choosing-a-control.mdx +11 -0
  911. package/dist/domain/admin-domain/__generated/enhanced-model.d.ts +1 -2
  912. package/dist/domain/admin-domain/__generated/model/versions/v1.d.ts +1 -1
  913. package/dist/domain/admin-domain/__generated/model/versions/v2.d.ts +1 -1
  914. package/dist/domain/admin-domain/__generated/model/versions/v3.d.ts +1 -1
  915. package/dist/domain/admin-domain/__generated/model/versions/v4.d.ts +1 -1
  916. package/dist/domain/admin-domain/__generated/model/versions/v5.d.ts +1 -1
  917. package/dist/domain/admin-domain/__generated/model/versions/v6.d.ts +2 -2
  918. package/dist/domain/admin-domain/__generated/model/versions/v6.js +1 -1
  919. package/dist/domain/admin-domain/implementation/common-admin-expressions.d.ts +26 -14
  920. package/dist/domain/admin-domain/implementation/common-admin-migrations.d.ts +1 -1
  921. package/dist/domain/admin-domain/implementation/common-admin-publish.d.ts +1 -2
  922. package/dist/domain/admin-domain/index.d.ts +9 -5
  923. package/dist/domain/admin-domain/index.js +1 -1
  924. package/dist/domain/application/GetApplicationWrapperHandler.d.ts +2 -2
  925. package/dist/domain/application/GetThemeHandler.d.ts +1 -1
  926. package/dist/domain/application/GetWebComponentOptions.d.ts +1 -1
  927. package/dist/domain/application/admin-page-factories.d.ts +1 -2
  928. package/dist/domain/application/application-config.d.ts +34 -117
  929. package/dist/domain/application/assistant/assistant-fields.d.ts +12 -0
  930. package/dist/domain/application/assistant/assistant-fields.js +1 -0
  931. package/dist/domain/application/assistant/assistant-manifest.d.ts +96 -0
  932. package/dist/domain/application/assistant/assistant-manifest.js +1 -0
  933. package/dist/domain/application/assistant/assistant-resolved-manifest.d.ts +134 -0
  934. package/dist/domain/application/assistant/assistant-value-type.d.ts +9 -0
  935. package/dist/domain/application/assistant/assistant-value-type.js +1 -0
  936. package/dist/domain/application/assistant/build-assistant-lenses.d.ts +14 -0
  937. package/dist/domain/application/assistant/build-assistant-lenses.js +5 -0
  938. package/dist/domain/application/assistant/build-assistant-manifest.d.ts +4 -0
  939. package/dist/domain/application/assistant/build-assistant-manifest.js +1 -0
  940. package/dist/domain/application/assistant/create-assistant-execution-schema.d.ts +32 -0
  941. package/dist/domain/application/assistant/create-assistant-execution-schema.js +1 -0
  942. package/dist/domain/application/assistant/form/assistant-form-element-name.d.ts +11 -0
  943. package/dist/domain/application/assistant/form/assistant-form-element-name.js +8 -0
  944. package/dist/domain/application/assistant/form/assistant-form-elements.d.ts +174 -0
  945. package/dist/domain/application/assistant/form/assistant-form-elements.js +1 -0
  946. package/dist/domain/application/assistant/form/assistant-resource-path.d.ts +10 -0
  947. package/dist/domain/application/assistant/form/assistant-resource-path.js +1 -0
  948. package/dist/domain/application/assistant/form/index.d.ts +4 -0
  949. package/dist/domain/application/assistant/form/index.js +1 -0
  950. package/dist/domain/application/assistant/generate-assistant-prompt.d.ts +6 -0
  951. package/dist/domain/application/assistant/generate-assistant-prompt.js +1 -0
  952. package/dist/domain/application/assistant/index.d.ts +10 -0
  953. package/dist/domain/application/assistant/index.js +1 -0
  954. package/dist/domain/application/assistant/session-setup/AssistantSetupHandler.d.ts +20 -0
  955. package/dist/domain/application/assistant/session-setup/AssistantSetupHandler.js +1 -0
  956. package/dist/domain/application/assistant/session-setup/apply-assistant-setup.d.ts +10 -0
  957. package/dist/domain/application/assistant/session-setup/apply-assistant-setup.js +1 -0
  958. package/dist/domain/application/assistant/session-setup/assistant-setup-manifest.d.ts +48 -0
  959. package/dist/domain/application/assistant/session-setup/assistant-setup-manifest.js +1 -0
  960. package/dist/domain/application/assistant/session-setup/create-session-assistant.d.ts +15 -0
  961. package/dist/domain/application/assistant/session-setup/create-session-assistant.js +1 -0
  962. package/dist/domain/application/assistant/session-setup/index.d.ts +4 -0
  963. package/dist/domain/application/assistant/session-setup/index.js +1 -0
  964. package/dist/domain/application/assistant-field-options.d.ts +2 -3
  965. package/dist/domain/application/assistant-mutations.d.ts +16 -17
  966. package/dist/domain/application/assistant-mutations.js +1 -1
  967. package/dist/domain/application/assistant-recipe-groups.d.ts +6 -8
  968. package/dist/domain/application/configurator-builder.d.ts +42 -18
  969. package/dist/domain/application/configurator-builder.js +1 -1
  970. package/dist/domain/application/create-initial-published-data.d.ts +6 -7
  971. package/dist/domain/application/index.d.ts +4 -7
  972. package/dist/domain/application/index.js +1 -1
  973. package/dist/domain/application/published-data/DataRowValidatorHandler.d.ts +1 -1
  974. package/dist/domain/application/published-data/FilterPublishedChunksHandler.d.ts +1 -1
  975. package/dist/domain/application/published-data/MapPublishedChunkedDataHandler.d.ts +1 -1
  976. package/dist/domain/application/published-data/MapPublishedRevisionDataHandler.d.ts +1 -1
  977. package/dist/domain/application/published-data/SheetValidatorHandler.d.ts +1 -1
  978. package/dist/domain/application/published-data/build-legend-data.d.ts +1 -1
  979. package/dist/domain/application/published-data/create-finalize-admin-domain.d.ts +1 -2
  980. package/dist/domain/application/published-data/format-field-type.d.ts +1 -1
  981. package/dist/domain/application/published-data/map-data-to-sheet.d.ts +1 -1
  982. package/dist/domain/application/published-data/map-published-chunked-data.d.ts +3 -3
  983. package/dist/domain/application/published-data/map-published-data.d.ts +7 -4
  984. package/dist/domain/application/published-data/validate-sheet-data.d.ts +1 -1
  985. package/dist/domain/application/standard-properties.js +1 -1
  986. package/dist/domain/application/web-component-property.d.ts +3 -1
  987. package/dist/domain/application/web-component-property.js +1 -1
  988. package/dist/domain/available-system-components/available-system-components.d.ts +11 -0
  989. package/dist/domain/available-system-components/available-system-components.js +1 -0
  990. package/dist/domain/available-system-components/index.d.ts +1 -0
  991. package/dist/domain/available-system-components/index.js +1 -0
  992. package/dist/domain/core/action/action-factory.d.ts +11 -0
  993. package/dist/domain/core/action/action-factory.js +1 -0
  994. package/dist/domain/core/action/action.d.ts +71 -0
  995. package/dist/domain/core/action/action.js +1 -0
  996. package/dist/domain/core/action/index.d.ts +2 -0
  997. package/dist/domain/core/action/index.js +1 -0
  998. package/dist/domain/core/component/component-reader-types.d.ts +43 -0
  999. package/dist/domain/core/component/component-reader-types.js +1 -0
  1000. package/dist/domain/core/component/debug-state-component.d.ts +14 -0
  1001. package/dist/domain/core/component/debug-state-component.js +1 -0
  1002. package/dist/domain/core/component/domain-component-optic.d.ts +65 -0
  1003. package/dist/domain/core/component/domain-component-optic.js +16 -0
  1004. package/dist/domain/core/component/drag-state-component.d.ts +16 -0
  1005. package/dist/domain/core/component/drag-state-component.js +1 -0
  1006. package/dist/domain/core/component/export-state-component.d.ts +15 -0
  1007. package/dist/domain/core/component/export-state-component.js +1 -0
  1008. package/dist/domain/core/component/fullscreen-state-component.d.ts +14 -0
  1009. package/dist/domain/core/component/fullscreen-state-component.js +1 -0
  1010. package/dist/domain/core/component/group-components-by-entity-id-and-name.d.ts +8 -0
  1011. package/dist/domain/core/component/group-components-by-entity-id-and-name.js +1 -0
  1012. package/dist/domain/core/component/hover-state-component.d.ts +14 -0
  1013. package/dist/domain/core/component/hover-state-component.js +1 -0
  1014. package/dist/domain/core/component/index.d.ts +18 -0
  1015. package/dist/domain/core/component/index.js +1 -0
  1016. package/dist/domain/core/component/legacy-filter.d.ts +498 -0
  1017. package/dist/domain/core/component/navigation-state-component.d.ts +15 -0
  1018. package/dist/domain/core/component/navigation-state-component.js +1 -0
  1019. package/dist/domain/core/component/selection-state-component.d.ts +14 -0
  1020. package/dist/domain/core/component/selection-state-component.js +1 -0
  1021. package/dist/domain/core/component/system-component-builder.d.ts +11 -0
  1022. package/dist/domain/core/component/system-component-builder.js +1 -0
  1023. package/dist/domain/core/component/system-component-filter.d.ts +811 -0
  1024. package/dist/domain/core/component/system-virtual-entity.js +1 -0
  1025. package/dist/domain/core/component/tool-state-component.d.ts +14 -0
  1026. package/dist/domain/core/component/tool-state-component.js +1 -0
  1027. package/dist/domain/core/component/updates.d.ts +123 -0
  1028. package/dist/domain/core/component/view-state-component.d.ts +14 -0
  1029. package/dist/domain/core/component/view-state-component.js +1 -0
  1030. package/dist/domain/core/component/viewport-state-component.d.ts +29 -0
  1031. package/dist/domain/core/component/viewport-state-component.js +1 -0
  1032. package/dist/domain/core/data-schema/data-cell-value.d.ts +4 -0
  1033. package/dist/domain/core/data-schema/data-cell-value.js +1 -0
  1034. package/dist/domain/core/data-schema/data-schema-array-field.d.ts +5 -0
  1035. package/dist/domain/core/data-schema/data-schema-array-field.js +1 -0
  1036. package/dist/domain/core/data-schema/data-schema-field-object.d.ts +4 -0
  1037. package/dist/domain/core/data-schema/data-schema-field-object.js +1 -0
  1038. package/dist/domain/core/data-schema/data-schema-field.d.ts +2 -0
  1039. package/dist/domain/core/data-schema/data-schema-field.js +1 -0
  1040. package/dist/domain/core/data-schema/data-schema-localized-field.d.ts +4 -0
  1041. package/dist/domain/core/data-schema/data-schema-localized-field.js +1 -0
  1042. package/dist/domain/core/data-schema/data-schema-primitive-field.d.ts +5 -0
  1043. package/dist/domain/core/data-schema/data-schema-primitive-field.js +1 -0
  1044. package/dist/domain/core/data-schema/data-schema.d.ts +2 -0
  1045. package/dist/domain/core/data-schema/data-schema.js +1 -0
  1046. package/dist/domain/core/data-schema/index.d.ts +7 -0
  1047. package/dist/domain/core/data-schema/index.js +1 -0
  1048. package/dist/domain/core/decoder/create-decoder.d.ts +6 -0
  1049. package/dist/domain/core/decoder/create-decoder.js +1 -0
  1050. package/dist/domain/core/decoder/decoder.d.ts +6 -0
  1051. package/dist/domain/core/decoder/decoder.js +1 -0
  1052. package/dist/domain/core/decoder/index.d.ts +2 -0
  1053. package/dist/domain/core/decoder/index.js +1 -0
  1054. package/dist/domain/core/domain-factory.d.ts +7 -4
  1055. package/dist/domain/core/domain-factory.js +1 -1
  1056. package/dist/domain/core/domain.d.ts +4 -5
  1057. package/dist/domain/core/domain.js +1 -1
  1058. package/dist/domain/core/emission/index.d.ts +8 -0
  1059. package/dist/domain/core/emission/index.js +1 -0
  1060. package/dist/domain/core/emission/reset-state-emission.d.ts +12 -0
  1061. package/dist/domain/core/emission/reset-state-emission.js +1 -0
  1062. package/dist/domain/core/emission/state-emission.d.ts +4 -0
  1063. package/dist/domain/core/emission/state-emission.js +1 -0
  1064. package/dist/domain/core/emission/state-update-emission.d.ts +14 -0
  1065. package/dist/domain/core/emission/state-update-emission.js +1 -0
  1066. package/dist/domain/core/emission/state-validation-result.d.ts +18 -0
  1067. package/dist/domain/core/emission/state-validation-result.js +1 -0
  1068. package/dist/domain/core/emission/transformation-log.d.ts +2 -0
  1069. package/dist/domain/core/emission/transformation-log.js +1 -0
  1070. package/dist/domain/core/emission/transformer-log-entry.d.ts +6 -0
  1071. package/dist/domain/core/emission/transformer-log-entry.js +1 -0
  1072. package/dist/domain/core/emission/transformer-log.d.ts +11 -0
  1073. package/dist/domain/core/emission/transformer-log.js +1 -0
  1074. package/dist/domain/core/emission/transformer-phase.d.ts +1 -0
  1075. package/dist/domain/core/emission/transformer-phase.js +1 -0
  1076. package/dist/domain/core/expression/aliased-expressions.d.ts +10 -0
  1077. package/dist/domain/core/expression/aliased-expressions.js +1 -0
  1078. package/dist/domain/core/expression/constant-expressions.d.ts +16 -0
  1079. package/dist/domain/core/expression/constant-expressions.js +1 -0
  1080. package/dist/domain/core/expression/custom-expression.d.ts +25 -0
  1081. package/dist/domain/core/expression/custom-expression.js +1 -0
  1082. package/dist/domain/core/expression/expression.d.ts +46 -0
  1083. package/dist/domain/core/expression/expression.js +1 -0
  1084. package/dist/domain/core/expression/index.d.ts +4 -0
  1085. package/dist/domain/core/expression/index.js +1 -0
  1086. package/dist/domain/core/index.d.ts +13 -16
  1087. package/dist/domain/core/index.js +1 -1
  1088. package/dist/domain/core/invariant/builtin-invariant.d.ts +5 -0
  1089. package/dist/domain/core/invariant/custom-invariants.d.ts +13 -0
  1090. package/dist/domain/core/invariant/custom-invariants.js +1 -0
  1091. package/dist/domain/core/invariant/index.d.ts +5 -0
  1092. package/dist/domain/core/invariant/index.js +1 -0
  1093. package/dist/domain/core/invariant/invariants.d.ts +10 -0
  1094. package/dist/domain/core/invariant/invariants.js +1 -0
  1095. package/dist/domain/core/invariant/violation-component.js +1 -0
  1096. package/dist/domain/core/invariant/violation.d.ts +133 -0
  1097. package/dist/domain/core/invariant/violation.js +1 -0
  1098. package/dist/domain/core/model/component.d.ts +46 -0
  1099. package/dist/domain/core/model/index.d.ts +6 -0
  1100. package/dist/domain/core/model/index.js +1 -0
  1101. package/dist/domain/core/model/model.d.ts +127 -0
  1102. package/dist/domain/core/model/reflection.d.ts +114 -0
  1103. package/dist/domain/core/model/reflection.js +1 -0
  1104. package/dist/domain/core/recipe/index.d.ts +1 -0
  1105. package/dist/domain/core/recipe/index.js +1 -0
  1106. package/dist/domain/core/recipe/recipes.d.ts +23 -0
  1107. package/dist/domain/core/recipe/recipes.js +1 -0
  1108. package/dist/domain/core/relation/all-of-type-relation.d.ts +19 -0
  1109. package/dist/domain/core/relation/all-of-type-relation.js +1 -0
  1110. package/dist/domain/core/relation/component-factories.d.ts +14 -0
  1111. package/dist/domain/core/relation/component-factories.js +1 -0
  1112. package/dist/domain/core/relation/composed-of.d.ts +12 -0
  1113. package/dist/domain/core/relation/composed-of.js +1 -0
  1114. package/dist/domain/core/relation/direct-relation.d.ts +17 -0
  1115. package/dist/domain/core/relation/index.d.ts +8 -0
  1116. package/dist/domain/core/relation/index.js +1 -0
  1117. package/dist/domain/core/relation/indirect-relation.d.ts +25 -0
  1118. package/dist/domain/core/relation/indirect-relation.js +1 -0
  1119. package/dist/domain/core/relation/reference-component.d.ts +17 -0
  1120. package/dist/domain/core/relation/reference-component.js +1 -0
  1121. package/dist/domain/core/relation/reference-field.d.ts +7 -0
  1122. package/dist/domain/core/relation/reference-field.js +1 -0
  1123. package/dist/domain/core/relation/relation-factory.d.ts +22 -0
  1124. package/dist/domain/core/relation/relation-factory.js +1 -0
  1125. package/dist/domain/core/schema/enhanced-json-schema.js +1 -0
  1126. package/dist/domain/core/schema/extended-schema-validator.js +1 -0
  1127. package/dist/domain/core/schema/index.d.ts +3 -0
  1128. package/dist/domain/core/schema/index.js +1 -0
  1129. package/dist/domain/core/schema/schema-validator.js +1 -0
  1130. package/dist/domain/core/state/id-sequence.d.ts +15 -0
  1131. package/dist/domain/core/state/id-sequence.js +1 -0
  1132. package/dist/domain/core/state/index.d.ts +3 -0
  1133. package/dist/domain/core/state/index.js +1 -0
  1134. package/dist/domain/core/state/migrations.d.ts +67 -0
  1135. package/dist/domain/core/state/migrations.js +1 -0
  1136. package/dist/domain/core/state/state.d.ts +9 -0
  1137. package/dist/domain/domain-builder/domain-builder.d.ts +46 -0
  1138. package/dist/domain/domain-builder/domain-builder.js +1 -0
  1139. package/dist/domain/domain-builder/index.d.ts +1 -0
  1140. package/dist/domain/domain-builder/index.js +1 -0
  1141. package/dist/domain/domain-context/action-system/action-system.d.ts +38 -0
  1142. package/dist/domain/domain-context/action-system/action-system.js +1 -0
  1143. package/dist/domain/domain-context/action-system/index.d.ts +1 -0
  1144. package/dist/domain/domain-context/action-system/index.js +1 -0
  1145. package/dist/domain/domain-context/analytics-system/index.d.ts +2 -0
  1146. package/dist/domain/domain-context/analytics-system/index.js +1 -0
  1147. package/dist/domain/domain-context/create-transformer.d.ts +2 -2
  1148. package/dist/domain/domain-context/dimension-system/dimension-state.js +1 -1
  1149. package/dist/domain/domain-context/dimension-system/dimension-system.d.ts +3 -4
  1150. package/dist/domain/domain-context/dimension-system/dimension-system.js +1 -1
  1151. package/dist/domain/domain-context/dimension-system/index.d.ts +1 -0
  1152. package/dist/domain/domain-context/dimension-system/index.js +1 -0
  1153. package/dist/domain/domain-context/domain-context-systems.d.ts +11 -10
  1154. package/dist/domain/domain-context/index.d.ts +8 -17
  1155. package/dist/domain/domain-context/index.js +1 -1
  1156. package/dist/domain/domain-context/navigation-system/index.d.ts +3 -0
  1157. package/dist/domain/domain-context/navigation-system/index.js +1 -0
  1158. package/dist/domain/domain-context/navigation-system/navigation-system.d.ts +5 -8
  1159. package/dist/domain/domain-context/navigation-system/navigation-system.js +1 -1
  1160. package/dist/domain/domain-context/navigation-system/navigation-updates.d.ts +1 -12
  1161. package/dist/domain/domain-context/navigation-system/navigation-updates.js +1 -1
  1162. package/dist/domain/domain-context/navigation-system/selection-transformers.d.ts +2 -2
  1163. package/dist/domain/domain-context/navigation-system/selection-transformers.js +1 -1
  1164. package/dist/domain/domain-context/recipe-system/index.d.ts +1 -0
  1165. package/dist/domain/domain-context/recipe-system/index.js +1 -0
  1166. package/dist/domain/domain-context/recipe-system/recipe-cooker-system.d.ts +2 -4
  1167. package/dist/domain/domain-context/recipe-system/recipe-cooker-system.js +1 -1
  1168. package/dist/domain/domain-context/relation-transformers/cascade-deletes.d.ts +3 -3
  1169. package/dist/domain/domain-context/relation-transformers/cascade-deletes.js +1 -1
  1170. package/dist/domain/domain-context/relation-transformers/cascade-ref-pruning.d.ts +3 -3
  1171. package/dist/domain/domain-context/relation-transformers/cascade-ref-pruning.js +1 -1
  1172. package/dist/domain/domain-context/relation-transformers/create-entity-refs.d.ts +3 -3
  1173. package/dist/domain/domain-context/relation-transformers/create-entity-refs.js +2 -2
  1174. package/dist/domain/domain-context/relation-transformers/index.d.ts +4 -0
  1175. package/dist/domain/domain-context/relation-transformers/index.js +1 -0
  1176. package/dist/domain/domain-context/relation-transformers/replace-refs.d.ts +3 -3
  1177. package/dist/domain/domain-context/relation-transformers/replace-refs.js +1 -1
  1178. package/dist/domain/domain-context/store-system/apply-updates.d.ts +1 -3
  1179. package/dist/domain/domain-context/store-system/apply-updates.js +1 -1
  1180. package/dist/domain/domain-context/store-system/index.d.ts +4 -0
  1181. package/dist/domain/domain-context/store-system/index.js +1 -0
  1182. package/dist/domain/domain-context/store-system/next-domain-entity-id.d.ts +1 -13
  1183. package/dist/domain/domain-context/store-system/next-domain-entity-id.js +1 -1
  1184. package/dist/domain/domain-context/store-system/reconcile-projected-entities.d.ts +1 -2
  1185. package/dist/domain/domain-context/store-system/reconcile-projected-entities.js +1 -1
  1186. package/dist/domain/domain-context/store-system/store-system.d.ts +7 -39
  1187. package/dist/domain/domain-context/store-system/store-system.js +2 -2
  1188. package/dist/domain/domain-context/store-system/system-state.d.ts +2 -4
  1189. package/dist/domain/domain-context/store-system/system-state.js +1 -1
  1190. package/dist/domain/domain-context/transformers/actions-builder.d.ts +1 -2
  1191. package/dist/domain/domain-context/transformers/actions-builder.js +1 -1
  1192. package/dist/domain/domain-context/transformers/auto-snap-transformer.d.ts +6 -10
  1193. package/dist/domain/domain-context/transformers/auto-snap-transformer.js +1 -1
  1194. package/dist/domain/domain-context/transformers/chain-builder.d.ts +3 -3
  1195. package/dist/domain/domain-context/transformers/context.d.ts +2 -7
  1196. package/dist/domain/domain-context/transformers/context.js +1 -1
  1197. package/dist/domain/domain-context/transformers/entity-builder.d.ts +1 -5
  1198. package/dist/domain/domain-context/transformers/entity-builder.js +1 -1
  1199. package/dist/domain/domain-context/transformers/index.d.ts +1 -1
  1200. package/dist/domain/domain-context/transformers/index.js +1 -1
  1201. package/dist/domain/domain-context/transformers/then-builder.d.ts +1 -2
  1202. package/dist/domain/domain-context/transformers/then-builder.js +1 -1
  1203. package/dist/domain/domain-context/transformers/when-builder.d.ts +3 -9
  1204. package/dist/domain/domain-context/transformers/when-builder.js +1 -1
  1205. package/dist/domain/domain-context/undo-system.d.ts +29 -3
  1206. package/dist/domain/domain-context/undo-system.js +1 -1
  1207. package/dist/domain/domain-runtime/access/selectors.d.ts +9 -0
  1208. package/dist/domain/domain-runtime/access/selectors.js +1 -1
  1209. package/dist/domain/domain-runtime/access/types.d.ts +2 -0
  1210. package/dist/domain/domain-runtime/access/types.js +1 -1
  1211. package/dist/domain/domain-runtime/application.d.ts +39 -0
  1212. package/dist/domain/domain-runtime/application.js +1 -0
  1213. package/dist/domain/domain-runtime/domain-context/action-context.d.ts +11 -0
  1214. package/dist/domain/domain-runtime/domain-context/action-context.js +1 -0
  1215. package/dist/domain/domain-runtime/domain-context/component-reader.d.ts +1 -4
  1216. package/dist/domain/domain-runtime/domain-context/component-reader.js +1 -1
  1217. package/dist/domain/domain-runtime/domain-context/domain-context.js +1 -1
  1218. package/dist/domain/domain-runtime/domain-context/expression-context.d.ts +8 -0
  1219. package/dist/domain/domain-runtime/domain-context/expression-context.js +1 -0
  1220. package/dist/domain/domain-runtime/domain-context/index.d.ts +3 -0
  1221. package/dist/domain/domain-runtime/domain-context/runtime-expression-context.d.ts +18 -0
  1222. package/dist/domain/domain-runtime/domain-context/runtime-expression-context.js +1 -0
  1223. package/dist/domain/domain-runtime/domain-context/selectors.d.ts +23 -24
  1224. package/dist/domain/domain-runtime/domain-context/selectors.js +1 -1
  1225. package/dist/domain/domain-runtime/domain-context/types.d.ts +4 -1
  1226. package/dist/domain/domain-runtime/domain-runtime.d.ts +144 -76
  1227. package/dist/domain/domain-runtime/domain-runtime.js +1 -1
  1228. package/dist/domain/domain-runtime/environment/initialize.d.ts +1 -1
  1229. package/dist/domain/domain-runtime/environment/types.d.ts +1 -1
  1230. package/dist/domain/domain-runtime/errors/implementation-error-collector.d.ts +21 -0
  1231. package/dist/domain/domain-runtime/errors/implementation-error-collector.js +1 -0
  1232. package/dist/domain/domain-runtime/errors/implementation-error.d.ts +46 -0
  1233. package/dist/domain/domain-runtime/errors/implementation-error.js +1 -0
  1234. package/dist/domain/domain-runtime/errors/implementation-errors.d.ts +13 -0
  1235. package/dist/domain/domain-runtime/errors/implementation-errors.js +1 -0
  1236. package/dist/domain/domain-runtime/errors/index.d.ts +4 -0
  1237. package/dist/domain/domain-runtime/errors/index.js +1 -0
  1238. package/dist/domain/domain-runtime/errors/to-implementation-errors.d.ts +10 -0
  1239. package/dist/domain/domain-runtime/errors/to-implementation-errors.js +1 -0
  1240. package/dist/domain/domain-runtime/index.d.ts +2 -0
  1241. package/dist/domain/domain-runtime/index.js +1 -1
  1242. package/dist/domain/domain-runtime/spec/create-violation-expressions.d.ts +24 -0
  1243. package/dist/domain/domain-runtime/spec/create-violation-expressions.js +1 -0
  1244. package/dist/domain/domain-runtime/spec/index.d.ts +5 -0
  1245. package/dist/domain/domain-runtime/spec/index.js +1 -1
  1246. package/dist/domain/domain-runtime/spec/initialize.d.ts +11 -0
  1247. package/dist/domain/domain-runtime/spec/initialize.js +1 -1
  1248. package/dist/domain/domain-runtime/spec/memoize-expression.d.ts +16 -0
  1249. package/dist/domain/domain-runtime/spec/module-checks/element-registration.d.ts +125 -0
  1250. package/dist/domain/domain-runtime/spec/module-checks/element-registration.js +1 -0
  1251. package/dist/domain/domain-runtime/spec/module-checks/find-assistant-form-element-errors.d.ts +12 -0
  1252. package/dist/domain/domain-runtime/spec/module-checks/find-assistant-form-element-errors.js +1 -0
  1253. package/dist/domain/domain-runtime/spec/module-checks/handler-registration.d.ts +34 -0
  1254. package/dist/domain/domain-runtime/spec/module-checks/handler-registration.js +1 -0
  1255. package/dist/domain/domain-runtime/spec/module-checks/index.d.ts +10 -0
  1256. package/dist/domain/domain-runtime/spec/module-checks/index.js +1 -0
  1257. package/dist/domain/domain-runtime/spec/module-checks/merge-expression-modules.d.ts +23 -0
  1258. package/dist/domain/domain-runtime/spec/module-checks/merge-expression-modules.js +1 -0
  1259. package/dist/domain/domain-runtime/spec/module-checks/project-modules.d.ts +32 -0
  1260. package/dist/domain/domain-runtime/spec/module-checks/project-modules.js +1 -0
  1261. package/dist/domain/domain-runtime/spec/module-checks/resolve-action-modules.d.ts +4 -0
  1262. package/dist/domain/domain-runtime/spec/module-checks/resolve-action-modules.js +1 -0
  1263. package/dist/domain/domain-runtime/spec/module-checks/resolve-component-optic-modules.d.ts +4 -0
  1264. package/dist/domain/domain-runtime/spec/module-checks/resolve-component-optic-modules.js +1 -0
  1265. package/dist/domain/domain-runtime/spec/module-checks/resolve-expression-modules.d.ts +14 -0
  1266. package/dist/domain/domain-runtime/spec/module-checks/resolve-expression-modules.js +1 -0
  1267. package/dist/domain/domain-runtime/spec/module-checks/resolve-imported-transformers.d.ts +22 -0
  1268. package/dist/domain/domain-runtime/spec/module-checks/resolve-imported-transformers.js +1 -0
  1269. package/dist/domain/domain-runtime/spec/module-checks/resolve-invariant-modules.d.ts +6 -0
  1270. package/dist/domain/domain-runtime/spec/module-checks/resolve-invariant-modules.js +1 -0
  1271. package/dist/domain/domain-runtime/spec/prepare-action-implementations.d.ts +15 -0
  1272. package/dist/domain/domain-runtime/spec/prepare-action-implementations.js +5 -0
  1273. package/dist/domain/domain-runtime/spec/prepare-domain-expressions.d.ts +16 -0
  1274. package/dist/domain/domain-runtime/spec/selectors.d.ts +10 -9
  1275. package/dist/domain/domain-runtime/spec/selectors.js +1 -1
  1276. package/dist/domain/domain-runtime/spec/types.d.ts +22 -6
  1277. package/dist/domain/domain-runtime/web-component/actions.d.ts +3 -0
  1278. package/dist/domain/domain-runtime/web-component/actions.js +1 -1
  1279. package/dist/domain/domain-runtime/web-component/initialize.d.ts +1 -0
  1280. package/dist/domain/domain-runtime/web-component/initialize.js +1 -1
  1281. package/dist/domain/domain-runtime/web-component/selectors.d.ts +2 -0
  1282. package/dist/domain/domain-runtime/web-component/selectors.js +1 -1
  1283. package/dist/domain/domain-runtime/web-component/types.d.ts +6 -3
  1284. package/dist/domain/extensions/angle-indicator.d.ts +21 -0
  1285. package/dist/domain/extensions/angle-indicator.js +1 -0
  1286. package/dist/domain/extensions/attribute-switch.d.ts +8 -0
  1287. package/dist/domain/extensions/attribute-switch.js +1 -0
  1288. package/dist/domain/extensions/autorotate-camera-component.d.ts +19 -0
  1289. package/dist/domain/extensions/autorotate-camera-component.js +1 -0
  1290. package/dist/domain/extensions/basic-sidebar-footer.d.ts +8 -0
  1291. package/dist/domain/extensions/basic-sidebar-footer.js +1 -0
  1292. package/dist/domain/extensions/camera-based-hidden-entity-object.js +1 -0
  1293. package/dist/domain/extensions/camera-based-hidden-entity.js +1 -0
  1294. package/dist/domain/extensions/canvas-config.d.ts +87 -0
  1295. package/dist/domain/extensions/canvas-config.js +1 -0
  1296. package/dist/domain/extensions/canvas-custom-environment.js +1 -0
  1297. package/dist/domain/extensions/canvas-padding.d.ts +25 -0
  1298. package/dist/domain/extensions/canvas-padding.js +1 -0
  1299. package/dist/domain/extensions/canvas-preset-environment.d.ts +37 -0
  1300. package/dist/domain/extensions/canvas-preset-environment.js +1 -0
  1301. package/dist/domain/extensions/child-entity-recipe-hierarchy.d.ts +21 -0
  1302. package/dist/domain/extensions/child-entity-recipe-hierarchy.js +1 -0
  1303. package/dist/domain/extensions/color-value.js +1 -0
  1304. package/dist/domain/extensions/common/angle-indicator-schema.d.ts +292 -0
  1305. package/dist/domain/extensions/common/angle-indicator-schema.js +1 -0
  1306. package/dist/domain/extensions/common/dimension-indicator-schema.d.ts +607 -0
  1307. package/dist/domain/extensions/common/dimension-indicator-schema.js +1 -0
  1308. package/dist/domain/extensions/common/index.d.ts +4 -0
  1309. package/dist/domain/extensions/common/index.js +1 -0
  1310. package/dist/domain/extensions/custom-header.d.ts +11 -0
  1311. package/dist/domain/extensions/custom-header.js +1 -0
  1312. package/dist/domain/extensions/custom-price-footer.js +1 -0
  1313. package/dist/domain/extensions/custom-sidebar-footer.d.ts +11 -0
  1314. package/dist/domain/extensions/custom-sidebar-footer.js +1 -0
  1315. package/dist/domain/extensions/dimension-indicator.d.ts +31 -0
  1316. package/dist/domain/extensions/dimension-indicator.js +1 -0
  1317. package/dist/domain/extensions/editable-angle-indicator.d.ts +39 -0
  1318. package/dist/domain/extensions/editable-angle-indicator.js +1 -0
  1319. package/dist/domain/extensions/editable-distance-dimension-indicator.d.ts +43 -0
  1320. package/dist/domain/extensions/editable-distance-dimension-indicator.js +1 -0
  1321. package/dist/domain/extensions/editable-offset-indicator.d.ts +42 -0
  1322. package/dist/domain/extensions/editable-offset-indicator.js +1 -0
  1323. package/dist/domain/extensions/editable-size-indicator.d.ts +39 -0
  1324. package/dist/domain/extensions/editable-size-indicator.js +1 -0
  1325. package/dist/domain/extensions/entity-header.d.ts +22 -0
  1326. package/dist/domain/extensions/entity-header.js +1 -0
  1327. package/dist/domain/extensions/exit-tool-mode-fab.d.ts +25 -0
  1328. package/dist/domain/extensions/exit-tool-mode-fab.js +1 -0
  1329. package/dist/domain/extensions/export-images/agent-screenshot.d.ts +30 -0
  1330. package/dist/domain/extensions/export-images/agent-screenshot.js +1 -0
  1331. package/dist/domain/extensions/export-images/client-side-image.d.ts +14 -0
  1332. package/dist/domain/extensions/export-images/client-side-image.js +1 -0
  1333. package/dist/domain/extensions/export-images/index.d.ts +3 -0
  1334. package/dist/domain/extensions/export-images/index.js +1 -0
  1335. package/dist/domain/extensions/export-images/save-template-thumbnail.d.ts +14 -0
  1336. package/dist/domain/extensions/export-images/save-template-thumbnail.js +1 -0
  1337. package/dist/domain/extensions/finalize-action.d.ts +20 -0
  1338. package/dist/domain/extensions/finalize-action.js +1 -0
  1339. package/dist/domain/extensions/finalize-component.js +1 -0
  1340. package/dist/domain/extensions/fit-selection-orthographic-camera-component.js +1 -0
  1341. package/dist/domain/extensions/fit-selection-perspective-camera-component.js +1 -0
  1342. package/dist/domain/extensions/fixed-header.d.ts +10 -0
  1343. package/dist/domain/extensions/fixed-header.js +1 -0
  1344. package/dist/domain/extensions/floating-header.d.ts +10 -0
  1345. package/dist/domain/extensions/floating-header.js +1 -0
  1346. package/dist/domain/extensions/hidden-header.d.ts +8 -0
  1347. package/dist/domain/extensions/hidden-header.js +1 -0
  1348. package/dist/domain/extensions/hidden-sidebar-footer.d.ts +21 -0
  1349. package/dist/domain/extensions/hidden-sidebar-footer.js +1 -0
  1350. package/dist/domain/extensions/horizontal-tabs.d.ts +28 -0
  1351. package/dist/domain/extensions/horizontal-tabs.js +1 -0
  1352. package/dist/domain/extensions/index.d.ts +68 -0
  1353. package/dist/domain/extensions/index.js +1 -0
  1354. package/dist/domain/extensions/list-selector-dimension-indicator.d.ts +31 -0
  1355. package/dist/domain/extensions/list-selector-dimension-indicator.js +1 -0
  1356. package/dist/domain/extensions/multilingual-text-value.js +1 -0
  1357. package/dist/domain/extensions/navigation-steps.d.ts +19 -0
  1358. package/dist/domain/extensions/navigation-steps.js +1 -0
  1359. package/dist/domain/extensions/offset-anchors.d.ts +20 -0
  1360. package/dist/domain/extensions/offset-anchors.js +1 -0
  1361. package/dist/domain/extensions/offset-indicator.d.ts +83 -0
  1362. package/dist/domain/extensions/offset-indicator.js +1 -0
  1363. package/dist/domain/extensions/offset.d.ts +31 -0
  1364. package/dist/domain/extensions/offset.js +1 -0
  1365. package/dist/domain/extensions/other-action.d.ts +14 -0
  1366. package/dist/domain/extensions/other-action.js +1 -0
  1367. package/dist/domain/extensions/property-page.d.ts +16 -0
  1368. package/dist/domain/extensions/property-page.js +1 -0
  1369. package/dist/domain/extensions/read-sidebar-footer.d.ts +8 -0
  1370. package/dist/domain/extensions/read-sidebar-footer.js +1 -0
  1371. package/dist/domain/extensions/replace-entity-recipe-hierarchy.d.ts +21 -0
  1372. package/dist/domain/extensions/replace-entity-recipe-hierarchy.js +1 -0
  1373. package/dist/domain/extensions/rotatable.js +1 -0
  1374. package/dist/domain/extensions/rotation-handle.d.ts +53 -0
  1375. package/dist/domain/extensions/rotation-handle.js +1 -0
  1376. package/dist/domain/extensions/scene-entity-add-fab.d.ts +32 -0
  1377. package/dist/domain/extensions/scene-entity-add-fab.js +1 -0
  1378. package/dist/domain/extensions/scene-entity-animation.js +1 -0
  1379. package/dist/domain/extensions/scene-entity-control.js +1 -0
  1380. package/dist/domain/extensions/scene-entity-delete-fab.d.ts +19 -0
  1381. package/dist/domain/extensions/scene-entity-delete-fab.js +1 -0
  1382. package/dist/domain/extensions/scene-entity-floor-object.js +1 -0
  1383. package/dist/domain/extensions/scene-entity-html-hotspot.d.ts +27 -0
  1384. package/dist/domain/extensions/scene-entity-html-hotspot.js +1 -0
  1385. package/dist/domain/extensions/scene-entity-navigation-hotspot.d.ts +20 -0
  1386. package/dist/domain/extensions/scene-entity-navigation-hotspot.js +1 -0
  1387. package/dist/domain/extensions/scene-entity-object-html-hotspot.d.ts +31 -0
  1388. package/dist/domain/extensions/scene-entity-object-html-hotspot.js +1 -0
  1389. package/dist/domain/extensions/scene-entity-select-hotspot.d.ts +5 -0
  1390. package/dist/domain/extensions/scene-entity-select-hotspot.js +1 -0
  1391. package/dist/domain/extensions/scene-entity-wall-object.js +1 -0
  1392. package/dist/domain/extensions/selectable-component.js +1 -0
  1393. package/dist/domain/extensions/sidebar-tabs.d.ts +29 -0
  1394. package/dist/domain/extensions/sidebar-tabs.js +1 -0
  1395. package/dist/domain/extensions/simple-summary.js +1 -0
  1396. package/dist/domain/extensions/size.d.ts +21 -0
  1397. package/dist/domain/extensions/size.js +1 -0
  1398. package/dist/domain/extensions/sketching-draw.d.ts +17 -0
  1399. package/dist/domain/extensions/sketching-draw.js +1 -0
  1400. package/dist/domain/extensions/sketching-edit.d.ts +28 -0
  1401. package/dist/domain/extensions/sketching-edit.js +1 -0
  1402. package/dist/domain/extensions/summary-component.js +1 -0
  1403. package/dist/domain/extensions/text-value.js +1 -0
  1404. package/dist/domain/extensions/tool-controls.js +1 -0
  1405. package/dist/domain/extensions/tool-menu-fab.d.ts +40 -0
  1406. package/dist/domain/extensions/tool-menu-fab.js +1 -0
  1407. package/dist/domain/extensions/toolbar.d.ts +13 -0
  1408. package/dist/domain/extensions/toolbar.js +1 -0
  1409. package/dist/domain/extensions/universal-sidebar-footer.d.ts +12 -0
  1410. package/dist/domain/extensions/universal-sidebar-footer.js +1 -0
  1411. package/dist/domain/extensions/view-controls.js +1 -0
  1412. package/dist/domain/index.d.ts +4 -31
  1413. package/dist/domain/index.js +1 -1
  1414. package/dist/domain/mocks/create-mock-domain-context.d.ts +1 -1
  1415. package/dist/domain/mocks/create-mock-domain-runtime-services.d.ts +1 -1
  1416. package/dist/domain/mocks/create-mock-domain-runtime.d.ts +45 -21
  1417. package/dist/domain/mocks/create-mock-domain-runtime.js +1 -1
  1418. package/dist/domain/mocks/create-mock-domain.d.ts +1 -1
  1419. package/dist/domain/mocks/create-mock-domain.js +1 -1
  1420. package/dist/domain/mocks/create-mock-state.d.ts +2 -2
  1421. package/dist/domain/mocks/create-test-application-config.d.ts +59 -0
  1422. package/dist/domain/mocks/create-test-application-config.js +1 -0
  1423. package/dist/domain/mocks/index.d.ts +1 -0
  1424. package/dist/domain/mocks/index.js +1 -1
  1425. package/dist/domain/projections/blender-projections/blender-projections.d.ts +2 -3
  1426. package/dist/domain/projections/blender-projections/blender-projections.js +1 -1
  1427. package/dist/domain/projections/blender-projections/camera.d.ts +2 -2
  1428. package/dist/domain/projections/collision-projections.d.ts +1 -1
  1429. package/dist/domain/projections/composition-projections.d.ts +1 -1
  1430. package/dist/domain/projections/composition-projections.js +1 -1
  1431. package/dist/domain/projections/constraint-projections.d.ts +1 -1
  1432. package/dist/domain/projections/index.d.ts +1 -1
  1433. package/dist/domain/projections/position-projections.d.ts +1 -1
  1434. package/dist/domain/projections/projected-entities-projections.d.ts +2 -3
  1435. package/dist/domain/projections/snap-matching.d.ts +1 -2
  1436. package/dist/domain/projections/snap-utils.d.ts +1 -2
  1437. package/dist/domain/projections/snapping-projections.d.ts +1 -1
  1438. package/dist/domain/projections/validation-projections.d.ts +3 -20
  1439. package/dist/domain/projections/validation-projections.js +1 -1
  1440. package/dist/domain/sketching/sketching-projections.d.ts +1 -1
  1441. package/dist/domain/spec/application/admin-pages-section.d.ts +29 -0
  1442. package/dist/domain/spec/application/admin-pages-section.js +1 -0
  1443. package/dist/domain/spec/application/admin-pages.d.ts +26 -0
  1444. package/dist/domain/spec/application/admin-pages.js +1 -0
  1445. package/dist/domain/spec/application/admin-states.d.ts +5 -0
  1446. package/dist/domain/spec/application/admin-states.js +1 -0
  1447. package/dist/domain/spec/application/configurator-states.d.ts +8 -0
  1448. package/dist/domain/spec/application/configurator-states.js +1 -0
  1449. package/dist/domain/spec/application/index.d.ts +5 -0
  1450. package/dist/domain/spec/application/index.js +1 -0
  1451. package/dist/domain/spec/components/bindings/index.d.ts +2 -0
  1452. package/dist/domain/spec/components/bindings/index.js +1 -0
  1453. package/dist/domain/spec/components/bindings/read-binding.d.ts +13 -0
  1454. package/dist/domain/spec/components/bindings/read-binding.js +1 -0
  1455. package/dist/domain/spec/components/bindings/write-binding.d.ts +32 -0
  1456. package/dist/domain/spec/components/bindings/write-binding.js +1 -0
  1457. package/dist/domain/spec/components/component-entry.d.ts +90 -0
  1458. package/dist/domain/spec/components/component-entry.js +1 -0
  1459. package/dist/domain/spec/components/component-filter.d.ts +54 -0
  1460. package/dist/domain/spec/components/component-filter.js +1 -0
  1461. package/dist/domain/spec/components/component-filters.d.ts +10 -0
  1462. package/dist/domain/spec/components/component-filters.js +1 -0
  1463. package/dist/domain/spec/components/components.d.ts +4 -0
  1464. package/dist/domain/spec/components/components.js +1 -0
  1465. package/dist/domain/spec/components/index.d.ts +6 -0
  1466. package/dist/domain/spec/components/index.js +1 -0
  1467. package/dist/domain/spec/components/sdk-code-ref.d.ts +9 -0
  1468. package/dist/domain/spec/enhanced-json/enhanced-json-value.d.ts +30 -0
  1469. package/dist/domain/spec/enhanced-json/enhanced-json-value.js +1 -0
  1470. package/dist/domain/spec/enhanced-json/index.d.ts +1 -0
  1471. package/dist/domain/spec/enhanced-json/index.js +1 -0
  1472. package/dist/domain/spec/expressions/expression.d.ts +49 -0
  1473. package/dist/domain/spec/expressions/expression.js +1 -0
  1474. package/dist/domain/spec/expressions/expressions.d.ts +27 -0
  1475. package/dist/domain/spec/expressions/expressions.js +1 -0
  1476. package/dist/domain/spec/expressions/index.d.ts +5 -0
  1477. package/dist/domain/spec/expressions/index.js +1 -0
  1478. package/dist/domain/spec/expressions/memo-eval-plan.d.ts +70 -0
  1479. package/dist/domain/spec/expressions/memo-eval-plan.js +1 -0
  1480. package/dist/domain/spec/expressions/relation-expression-params.d.ts +11 -0
  1481. package/dist/domain/spec/expressions/relation-expression-params.js +1 -0
  1482. package/dist/domain/spec/expressions/sdk-expression-implementation.d.ts +24 -0
  1483. package/dist/domain/spec/index.d.ts +9 -0
  1484. package/dist/domain/spec/index.js +1 -0
  1485. package/dist/domain/spec/invariants/index.d.ts +2 -0
  1486. package/dist/domain/spec/invariants/index.js +1 -0
  1487. package/dist/domain/spec/invariants/invariant.d.ts +24 -0
  1488. package/dist/domain/spec/invariants/invariant.js +1 -0
  1489. package/dist/domain/spec/invariants/invariants.d.ts +14 -0
  1490. package/dist/domain/spec/invariants/invariants.js +1 -0
  1491. package/dist/domain/spec/json-schema.d.ts +52 -0
  1492. package/dist/domain/spec/json-schema.js +1 -0
  1493. package/dist/domain/spec/markers/index.d.ts +3 -0
  1494. package/dist/domain/spec/markers/index.js +1 -0
  1495. package/dist/domain/spec/markers/msg-marker.d.ts +28 -0
  1496. package/dist/domain/spec/markers/msg-marker.js +1 -0
  1497. package/dist/domain/spec/model/aliases.d.ts +9 -0
  1498. package/dist/domain/spec/model/aliases.js +1 -0
  1499. package/dist/domain/spec/model/common-types.d.ts +15 -0
  1500. package/dist/domain/spec/model/common-types.js +1 -0
  1501. package/dist/domain/spec/model/defaults.d.ts +33 -0
  1502. package/dist/domain/spec/model/defaults.js +1 -0
  1503. package/dist/domain/spec/model/entity-types.d.ts +8 -0
  1504. package/dist/domain/spec/model/entity-types.js +1 -0
  1505. package/dist/domain/spec/model/index.d.ts +7 -0
  1506. package/dist/domain/spec/model/index.js +1 -0
  1507. package/dist/domain/spec/model/model-version-key.d.ts +3 -0
  1508. package/dist/domain/spec/model/model-version-key.js +1 -0
  1509. package/dist/domain/spec/model/names/action-name.d.ts +7 -0
  1510. package/dist/domain/spec/model/names/action-name.js +1 -0
  1511. package/dist/domain/spec/model/names/alias-name.d.ts +7 -0
  1512. package/dist/domain/spec/model/names/alias-name.js +1 -0
  1513. package/dist/domain/spec/model/names/entity-or-alias-name.d.ts +8 -0
  1514. package/dist/domain/spec/model/names/entity-or-alias-name.js +1 -0
  1515. package/dist/domain/spec/model/names/entity-type-name.d.ts +8 -0
  1516. package/dist/domain/spec/model/names/entity-type-name.js +1 -0
  1517. package/dist/domain/spec/model/names/expression-name.d.ts +6 -0
  1518. package/dist/domain/spec/model/names/expression-name.js +1 -0
  1519. package/dist/domain/spec/model/names/index.d.ts +9 -0
  1520. package/dist/domain/spec/model/names/index.js +1 -0
  1521. package/dist/domain/spec/model/names/instance-name.d.ts +7 -0
  1522. package/dist/domain/spec/model/names/instance-name.js +1 -0
  1523. package/dist/domain/spec/model/names/invariant-name.d.ts +3 -0
  1524. package/dist/domain/spec/model/names/invariant-name.js +1 -0
  1525. package/dist/domain/spec/model/names/shape-property-name.d.ts +11 -0
  1526. package/dist/domain/spec/model/names/shape-property-name.js +1 -0
  1527. package/dist/domain/spec/model/names/violation-type-name.d.ts +3 -0
  1528. package/dist/domain/spec/model/names/violation-type-name.js +1 -0
  1529. package/dist/domain/spec/model/presets.d.ts +30 -0
  1530. package/dist/domain/spec/model/presets.js +1 -0
  1531. package/dist/domain/spec/sections/actions.d.ts +23 -0
  1532. package/dist/domain/spec/sections/actions.js +1 -0
  1533. package/dist/domain/spec/sections/app-metadata.d.ts +18 -0
  1534. package/dist/domain/spec/sections/app-metadata.js +1 -0
  1535. package/dist/domain/spec/sections/application-version.d.ts +7 -0
  1536. package/dist/domain/spec/sections/application-version.js +1 -0
  1537. package/dist/domain/spec/sections/data-spec/chunks.d.ts +23 -0
  1538. package/dist/domain/spec/sections/data-spec/chunks.js +1 -0
  1539. package/dist/domain/spec/sections/data-spec/custom-data-spec-entry.d.ts +16 -0
  1540. package/dist/domain/spec/sections/data-spec/custom-data-spec-entry.js +1 -0
  1541. package/dist/domain/spec/sections/data-spec/data-entry-key.d.ts +9 -0
  1542. package/dist/domain/spec/sections/data-spec/data-entry-key.js +1 -0
  1543. package/dist/domain/spec/sections/data-spec/index.d.ts +5 -0
  1544. package/dist/domain/spec/sections/data-spec/index.js +1 -0
  1545. package/dist/domain/spec/sections/data-spec/parsed-data-spec-entries.d.ts +10 -0
  1546. package/dist/domain/spec/sections/data-spec/parsed-data-spec-entries.js +1 -0
  1547. package/dist/domain/spec/sections/data-spec/swatch-data-spec-entry.d.ts +14 -0
  1548. package/dist/domain/spec/sections/data-spec/swatch-data-spec-entry.js +1 -0
  1549. package/dist/domain/spec/sections/index.d.ts +9 -0
  1550. package/dist/domain/spec/sections/index.js +1 -0
  1551. package/dist/domain/spec/sections/infra/acl.d.ts +12 -0
  1552. package/dist/domain/spec/sections/infra/acl.js +1 -0
  1553. package/dist/domain/spec/sections/infra/index.d.ts +3 -0
  1554. package/dist/domain/spec/sections/infra/index.js +1 -0
  1555. package/dist/domain/spec/sections/infra/resource-entry.d.ts +46 -0
  1556. package/dist/domain/spec/sections/infra/resource-entry.js +1 -0
  1557. package/dist/domain/spec/sections/infra/resources-config.d.ts +10 -0
  1558. package/dist/domain/spec/sections/infra/resources-config.js +1 -0
  1559. package/dist/domain/spec/sections/state-value.d.ts +7 -0
  1560. package/dist/domain/spec/sections/state-value.js +1 -0
  1561. package/dist/domain/spec/sections/theme.d.ts +10 -0
  1562. package/dist/domain/spec/sections/theme.js +1 -0
  1563. package/dist/domain/spec/sections/transformers.d.ts +15 -0
  1564. package/dist/domain/spec/sections/transformers.js +1 -0
  1565. package/dist/domain/spec/sections/ui.d.ts +12 -0
  1566. package/dist/domain/spec/sections/ui.js +1 -0
  1567. package/dist/domain/system-components/admin-sidebar.d.ts +1 -1
  1568. package/dist/domain/system-components/admin-sidebar.js +1 -1
  1569. package/dist/domain/system-components/angle-dimension.js +1 -1
  1570. package/dist/domain/system-components/application-config.d.ts +3 -3
  1571. package/dist/domain/system-components/application-config.js +1 -1
  1572. package/dist/domain/system-components/attribute-selection.js +1 -1
  1573. package/dist/domain/system-components/bounding-box-component.d.ts +1 -1
  1574. package/dist/domain/system-components/bounding-box-component.js +1 -1
  1575. package/dist/domain/system-components/bounding-sphere-component.d.ts +1 -1
  1576. package/dist/domain/system-components/bounding-sphere-component.js +1 -1
  1577. package/dist/domain/system-components/child-entity-recipes.d.ts +1 -1
  1578. package/dist/domain/system-components/child-entity-recipes.js +1 -1
  1579. package/dist/domain/system-components/child-entity-selection.d.ts +1 -2
  1580. package/dist/domain/system-components/child-entity-selection.js +1 -1
  1581. package/dist/domain/system-components/collision-box-geometry.d.ts +5 -3
  1582. package/dist/domain/system-components/collision-box-geometry.js +1 -1
  1583. package/dist/domain/system-components/collision-geometries.d.ts +1 -1
  1584. package/dist/domain/system-components/collision-geometry.d.ts +5 -3
  1585. package/dist/domain/system-components/collision-geometry.js +1 -1
  1586. package/dist/domain/system-components/collision-point-geometry.d.ts +5 -3
  1587. package/dist/domain/system-components/collision-point-geometry.js +1 -1
  1588. package/dist/domain/system-components/common/index.d.ts +0 -4
  1589. package/dist/domain/system-components/common/index.js +1 -1
  1590. package/dist/domain/system-components/common/material-override-schema.d.ts +2 -2
  1591. package/dist/domain/system-components/common/recipes.d.ts +21 -4
  1592. package/dist/domain/system-components/common/recipes.js +1 -1
  1593. package/dist/domain/system-components/common/scene-entity-control-schema.d.ts +3 -0
  1594. package/dist/domain/system-components/common/scene-entity-control-schema.js +1 -1
  1595. package/dist/domain/system-components/constraint.d.ts +11 -24
  1596. package/dist/domain/system-components/constraint.js +1 -1
  1597. package/dist/domain/system-components/create-blueprint.d.ts +1 -1
  1598. package/dist/domain/system-components/custom-scene-entity.d.ts +1 -1
  1599. package/dist/domain/system-components/custom-scene-entity.js +1 -1
  1600. package/dist/domain/system-components/detail.js +1 -1
  1601. package/dist/domain/system-components/distance-dimension-select.d.ts +1 -1
  1602. package/dist/domain/system-components/distance-dimension-select.js +1 -1
  1603. package/dist/domain/system-components/distance-dimension.d.ts +1 -1
  1604. package/dist/domain/system-components/distance-dimension.js +1 -1
  1605. package/dist/domain/system-components/drag-handle.d.ts +2 -2
  1606. package/dist/domain/system-components/drag-handle.js +1 -1
  1607. package/dist/domain/system-components/fit-entity-orthographic-camera-component.js +1 -1
  1608. package/dist/domain/system-components/fit-entity-perspective-camera-component.js +1 -1
  1609. package/dist/domain/system-components/fit-root-orthographic-camera-component.js +1 -1
  1610. package/dist/domain/system-components/fit-root-perspective-camera-component.js +1 -1
  1611. package/dist/domain/system-components/generic-dimension.d.ts +1 -1
  1612. package/dist/domain/system-components/generic-dimension.js +1 -1
  1613. package/dist/domain/system-components/hidden-entity.js +1 -1
  1614. package/dist/domain/system-components/hotspot-drag-handle.d.ts +2 -3
  1615. package/dist/domain/system-components/hotspot-drag-handle.js +1 -1
  1616. package/dist/domain/system-components/index.d.ts +0 -68
  1617. package/dist/domain/system-components/index.js +1 -1
  1618. package/dist/domain/system-components/material-override-property-transition.js +1 -1
  1619. package/dist/domain/system-components/material-override-transformer.js +1 -1
  1620. package/dist/domain/system-components/material-swatch.js +1 -1
  1621. package/dist/domain/system-components/navigation-page.js +1 -1
  1622. package/dist/domain/system-components/navigation-panel-list.js +1 -1
  1623. package/dist/domain/system-components/phoenix-entity-elements/admin-data-table-sidebar.d.ts +1 -1
  1624. package/dist/domain/system-components/phoenix-layout-elements/admin-connected-resource-page.d.ts +1 -1
  1625. package/dist/domain/system-components/phoenix-layout-elements/admin-data-table-actions.d.ts +1 -1
  1626. package/dist/domain/system-components/phoenix-layout-elements/admin-data-table-page.d.ts +1 -1
  1627. package/dist/domain/system-components/phoenix-layout-elements/assistant-toolbar-button.d.ts +44 -0
  1628. package/dist/domain/system-components/phoenix-layout-elements/assistant-toolbar-button.js +1 -0
  1629. package/dist/domain/system-components/phoenix-layout-elements/index.d.ts +1 -0
  1630. package/dist/domain/system-components/phoenix-layout-elements/index.js +1 -1
  1631. package/dist/domain/system-components/phoenix-layout-elements/phoenix-layout-element.d.ts +2 -1
  1632. package/dist/domain/system-components/phoenix-layout-elements/phoenix-layout-element.js +1 -1
  1633. package/dist/domain/system-components/pivot-point.d.ts +1 -1
  1634. package/dist/domain/system-components/pivot-point.js +1 -1
  1635. package/dist/domain/system-components/price.js +1 -1
  1636. package/dist/domain/system-components/projected-entities.d.ts +1 -1
  1637. package/dist/domain/system-components/projected-entities.js +1 -1
  1638. package/dist/domain/system-components/replace-entity-recipes.d.ts +1 -1
  1639. package/dist/domain/system-components/replace-entity-recipes.js +1 -1
  1640. package/dist/domain/system-components/scene-entity-ambient-light.js +1 -1
  1641. package/dist/domain/system-components/scene-entity-box-object.js +1 -1
  1642. package/dist/domain/system-components/scene-entity-directional-light.js +1 -1
  1643. package/dist/domain/system-components/scene-entity-local-material-override.js +1 -1
  1644. package/dist/domain/system-components/scene-entity-material-override.d.ts +1 -1
  1645. package/dist/domain/system-components/scene-entity-material-override.js +1 -1
  1646. package/dist/domain/system-components/scene-entity-object-clip.js +1 -1
  1647. package/dist/domain/system-components/scene-entity-object-decal.js +1 -1
  1648. package/dist/domain/system-components/scene-entity-object-group.js +1 -1
  1649. package/dist/domain/system-components/scene-entity-object-local-material-override.js +1 -1
  1650. package/dist/domain/system-components/scene-entity-object-material-override.d.ts +1 -1
  1651. package/dist/domain/system-components/scene-entity-object-material-override.js +1 -1
  1652. package/dist/domain/system-components/scene-entity-object-properties.js +1 -1
  1653. package/dist/domain/system-components/scene-entity-object-remote-material-override.js +1 -1
  1654. package/dist/domain/system-components/scene-entity-object-text-decal.d.ts +1 -1
  1655. package/dist/domain/system-components/scene-entity-object-text-decal.js +1 -1
  1656. package/dist/domain/system-components/scene-entity-object-transformer.js +1 -1
  1657. package/dist/domain/system-components/scene-entity-object-transimissive-material-override.d.ts +1 -1
  1658. package/dist/domain/system-components/scene-entity-object-transimissive-material-override.js +1 -1
  1659. package/dist/domain/system-components/scene-entity-object.js +1 -1
  1660. package/dist/domain/system-components/scene-entity-point-light.js +1 -1
  1661. package/dist/domain/system-components/scene-entity-properties.js +1 -1
  1662. package/dist/domain/system-components/scene-entity-rect-area-light.js +1 -1
  1663. package/dist/domain/system-components/scene-entity-remote-material-override.js +1 -1
  1664. package/dist/domain/system-components/scene-entity-remote-object.js +1 -1
  1665. package/dist/domain/system-components/scene-entity-spot-light.js +1 -1
  1666. package/dist/domain/system-components/scene-entity-transimissive-material-override.d.ts +1 -1
  1667. package/dist/domain/system-components/scene-entity-transimissive-material-override.js +1 -1
  1668. package/dist/domain/system-components/sketching-line.d.ts +1 -1
  1669. package/dist/domain/system-components/sketching-line.js +1 -1
  1670. package/dist/domain/system-components/sketching-rectangle.d.ts +1 -1
  1671. package/dist/domain/system-components/sketching-rectangle.js +1 -1
  1672. package/dist/domain/system-components/sketching.d.ts +1 -1
  1673. package/dist/domain/system-components/sketching.js +1 -1
  1674. package/dist/domain/system-components/snap-axis.d.ts +1 -1
  1675. package/dist/domain/system-components/snap-axis.js +1 -1
  1676. package/dist/domain/system-components/snap-edge.d.ts +1 -1
  1677. package/dist/domain/system-components/snap-edge.js +1 -1
  1678. package/dist/domain/system-components/snap-plane.d.ts +1 -1
  1679. package/dist/domain/system-components/snap-plane.js +1 -1
  1680. package/dist/domain/system-components/snap-point.d.ts +1 -1
  1681. package/dist/domain/system-components/snap-point.js +1 -1
  1682. package/dist/domain/system-components/static-orthographic-camera-component.d.ts +1 -1
  1683. package/dist/domain/system-components/static-orthographic-camera-component.js +1 -1
  1684. package/dist/domain/system-components/static-perspective-camera-component.d.ts +1 -1
  1685. package/dist/domain/system-components/static-perspective-camera-component.js +1 -1
  1686. package/dist/domain/system-definitions.js +1 -1
  1687. package/dist/domain/utils/eval-cache.d.ts +2 -3
  1688. package/dist/domain/utils/index.d.ts +2 -0
  1689. package/dist/domain/utils/index.js +1 -0
  1690. package/dist/domain/utils/map-nested-object.d.ts +1 -1
  1691. package/dist/domain/utils/memo-eval.d.ts +2 -4
  1692. package/dist/editor/Editor.d.ts +7 -0
  1693. package/dist/editor/Editor.js +1 -1
  1694. package/dist/editor/domain-editors/DomainSpecContext.js +1 -1
  1695. package/dist/editor/domain-editors/apply-spec-update.d.ts +10 -2
  1696. package/dist/editor/domain-editors/apply-spec-update.js +1 -1
  1697. package/dist/editor/domain-editors/use-implementation-files.d.ts +12 -16
  1698. package/dist/editor/domain-editors/use-implementation-files.js +1 -1
  1699. package/dist/editor/graphql/GraphQLPanel.js +1 -1
  1700. package/dist/editor/mocks/CreateMockYaml.js +2 -2
  1701. package/dist/editor/mocks/EditorMockContext.d.ts +2 -0
  1702. package/dist/editor/mocks/EditorMockContext.js +1 -1
  1703. package/dist/editor/screenshot/ScreenshotHandler.js +1 -1
  1704. package/dist/editor/variants/VariantAnswerFooter.d.ts +17 -0
  1705. package/dist/editor/variants/VariantAnswerFooter.js +1 -0
  1706. package/dist/editor/variants/VariantPreviewHandler.d.ts +6 -0
  1707. package/dist/editor/variants/VariantPreviewHandler.js +1 -0
  1708. package/dist/editor/variants/variant-preview-styles.d.ts +49 -0
  1709. package/dist/editor/variants/variant-preview-styles.js +1 -0
  1710. package/dist/globals/index.d.ts +2 -0
  1711. package/dist/i18n/locales/cs/messages.js +1 -1
  1712. package/dist/i18n/locales/da/messages.js +1 -1
  1713. package/dist/i18n/locales/de/messages.js +1 -1
  1714. package/dist/i18n/locales/de-AT/messages.js +1 -1
  1715. package/dist/i18n/locales/en/messages.js +1 -1
  1716. package/dist/i18n/locales/en-AU/messages.js +1 -1
  1717. package/dist/i18n/locales/en-GB/messages.js +1 -1
  1718. package/dist/i18n/locales/es/messages.js +1 -1
  1719. package/dist/i18n/locales/fr/messages.js +1 -1
  1720. package/dist/i18n/locales/hu/messages.js +1 -1
  1721. package/dist/i18n/locales/it/messages.js +1 -1
  1722. package/dist/i18n/locales/nl/messages.js +1 -1
  1723. package/dist/i18n/locales/pl/messages.js +1 -1
  1724. package/dist/i18n/locales/pt/messages.js +1 -1
  1725. package/dist/i18n/locales/ro/messages.js +1 -1
  1726. package/dist/i18n/locales/sk/messages.js +1 -1
  1727. package/dist/i18n/locales/tr/messages.js +1 -1
  1728. package/dist/legacy/domain-cli/gen/configurator-builder.js +30 -16
  1729. package/dist/legacy/domain-cli/gen/constant-expressions.js +1 -3
  1730. package/dist/legacy/domain-cli/gen/defaults.js +1 -7
  1731. package/dist/legacy/domain-cli/gen/implementation.js +7 -11
  1732. package/dist/legacy/domain-cli/gen/invariants.js +7 -6
  1733. package/dist/legacy/domain-cli/gen/relations.js +1 -1
  1734. package/dist/legacy/domain-cli/utils/cache.d.ts +1 -1
  1735. package/dist/legacy/domain-cli/utils/cache.js +1 -1
  1736. package/dist/legacy/domain-spec/__generated/domain-schema.d.ts +182 -148
  1737. package/dist/legacy/domain-spec/spec/domain-spec.js +1 -1
  1738. package/dist/legacy/phoenix-cli/project-gen/generators/file-templates/agents/claude-md.d.ts +1 -1
  1739. package/dist/legacy/phoenix-cli/project-gen/generators/file-templates/agents/cursor-rules.d.ts +1 -1
  1740. package/dist/legacy/phoenix-cli/project-gen/generators/file-templates/agents/shared-sdk-content.d.ts +1 -1
  1741. package/dist/legacy/phoenix-cli/project-gen/generators/file-templates/agents/shared-sdk-content.js +13 -0
  1742. package/dist/legacy/phoenix-cli/project-gen/generators/file-templates/domain-index.js +17 -15
  1743. package/dist/legacy/phoenix-cli/project-gen/generators/file-templates/env-example.d.ts +1 -1
  1744. package/dist/legacy/phoenix-cli/project-gen/generators/file-templates/env-example.js +4 -0
  1745. package/dist/legacy/phoenix-cli/project-gen/generators/file-templates/frontend-admin.js +18 -18
  1746. package/dist/legacy/phoenix-cli/project-gen/generators/file-templates/frontend-configurator.js +16 -15
  1747. package/dist/legacy/phoenix-cli/project-gen/generators/file-templates/frontend-embedded-admin.js +24 -24
  1748. package/dist/legacy/phoenix-cli/project-gen/generators/file-templates/frontend-embedded-configurator.js +16 -15
  1749. package/dist/legacy/phoenix-cli/project-gen/generators/file-templates/generator-shared.d.ts +7 -2
  1750. package/dist/legacy/phoenix-cli/project-gen/generators/file-templates/generator-shared.js +8 -12
  1751. package/dist/legacy/phoenix-cli/project-gen/generators/file-templates/index.d.ts +1 -1
  1752. package/dist/legacy/phoenix-cli/project-gen/generators/file-templates/index.js +1 -1
  1753. package/dist/legacy/phoenix-cli/project-gen/generators/file-templates/webhook-builders.js +7 -7
  1754. package/dist/legacy/phoenix-cli/services/webhook-service/transport.js +1 -1
  1755. package/dist/legacy/phoenix-cli/services/webhook-service/tunnel.d.ts +1 -0
  1756. package/dist/legacy/phoenix-cli/services/webhook-service/tunnel.js +1 -1
  1757. package/dist/legacy/webhook-cli/lambda-local/index.js +1 -1
  1758. package/dist/phoenix/application-spec/application-spec-builder.d.ts +0 -2
  1759. package/dist/phoenix/application-spec/application-spec-builder.js +1 -1
  1760. package/dist/phoenix/application-spec/generate-application-spec-project.d.ts +1 -2
  1761. package/dist/phoenix/application-spec/generate-application-spec-project.js +2 -2
  1762. package/dist/phoenix/application-spec/generate-application-spec-story.js +2 -2
  1763. package/dist/phoenix/application-spec/generate-project-files.d.ts +1 -2
  1764. package/dist/phoenix/application-spec/index.d.ts +1 -0
  1765. package/dist/phoenix/application-spec/index.js +1 -1
  1766. package/dist/phoenix/application-spec/project-files.js +1 -1
  1767. package/dist/phoenix/application-spec/resolve-deployment-data.d.ts +15 -3
  1768. package/dist/phoenix/application-spec/resolve-deployment-data.js +2 -2
  1769. package/dist/phoenix/bin.d.ts +2 -0
  1770. package/dist/phoenix/bin.js +2 -0
  1771. package/dist/phoenix/check-configs/built-in-eslint-config.d.ts +9 -0
  1772. package/dist/phoenix/check-configs/built-in-eslint-config.js +1 -0
  1773. package/dist/phoenix/check-configs/eslint-config.d.ts +10 -0
  1774. package/dist/phoenix/check-configs/eslint-config.js +1 -0
  1775. package/dist/phoenix/check-configs/index.d.ts +8 -0
  1776. package/dist/phoenix/check-configs/index.js +1 -0
  1777. package/dist/phoenix/check-configs/typescript-project.d.ts +5 -0
  1778. package/dist/phoenix/check-configs/typescript-project.js +1 -0
  1779. package/dist/phoenix/cli.d.ts +0 -1
  1780. package/dist/phoenix/cli.js +1 -2
  1781. package/dist/phoenix/commands/activate-deployment.js +1 -1
  1782. package/dist/phoenix/commands/build.d.ts +5 -0
  1783. package/dist/phoenix/commands/build.js +1 -1
  1784. package/dist/phoenix/commands/changelog.js +1 -1
  1785. package/dist/phoenix/commands/check.js +1 -1
  1786. package/dist/phoenix/commands/clean.js +1 -1
  1787. package/dist/phoenix/commands/cleanup-environment.js +2 -2
  1788. package/dist/phoenix/commands/create-environment.js +1 -1
  1789. package/dist/phoenix/commands/data.js +1 -1
  1790. package/dist/phoenix/commands/deploy.js +2 -2
  1791. package/dist/phoenix/commands/deployment-build-envs-command.js +1 -1
  1792. package/dist/phoenix/commands/deps/deps.d.ts +73 -0
  1793. package/dist/phoenix/commands/deps/deps.js +3 -0
  1794. package/dist/phoenix/commands/deps/index.d.ts +1 -0
  1795. package/dist/phoenix/commands/deps/index.js +1 -0
  1796. package/dist/phoenix/commands/deps/sdk-manifest.d.ts +12 -0
  1797. package/dist/phoenix/commands/deps/sdk-manifest.js +1 -0
  1798. package/dist/phoenix/commands/dev.js +4 -5
  1799. package/dist/phoenix/commands/docs.js +1 -1
  1800. package/dist/phoenix/commands/feedback.d.ts +2 -1
  1801. package/dist/phoenix/commands/feedback.js +1 -1
  1802. package/dist/phoenix/commands/finish-deployment-command.js +1 -1
  1803. package/dist/phoenix/commands/fix.js +1 -1
  1804. package/dist/phoenix/commands/index.d.ts +2 -0
  1805. package/dist/phoenix/commands/index.js +1 -1
  1806. package/dist/phoenix/commands/init.d.ts +17 -5
  1807. package/dist/phoenix/commands/init.js +1 -1
  1808. package/dist/phoenix/commands/inspect-assets.js +1 -1
  1809. package/dist/phoenix/commands/link.js +1 -1
  1810. package/dist/phoenix/commands/list-environments.js +1 -1
  1811. package/dist/phoenix/commands/login.d.ts +28 -7
  1812. package/dist/phoenix/commands/login.js +2 -2
  1813. package/dist/phoenix/commands/prepare-deployment-command.js +2 -2
  1814. package/dist/phoenix/commands/prepare-local-environment-command.js +1 -1
  1815. package/dist/phoenix/commands/prettier.js +1 -1
  1816. package/dist/phoenix/commands/register-deployment.js +1 -1
  1817. package/dist/phoenix/commands/scene.js +1 -1
  1818. package/dist/phoenix/commands/screenshot.js +1 -1
  1819. package/dist/phoenix/commands/state.js +1 -1
  1820. package/dist/phoenix/commands/story-build.js +3 -3
  1821. package/dist/phoenix/commands/story-create.js +1 -1
  1822. package/dist/phoenix/commands/story-dev.js +2 -2
  1823. package/dist/phoenix/commands/sync.js +1 -1
  1824. package/dist/phoenix/commands/unlink.js +1 -1
  1825. package/dist/phoenix/commands/variants.d.ts +35 -0
  1826. package/dist/phoenix/commands/variants.js +1 -0
  1827. package/dist/phoenix/editor-server/commands-router.d.ts +68 -1
  1828. package/dist/phoenix/editor-server/commands-router.js +1 -1
  1829. package/dist/phoenix/editor-server/editor-router.d.ts +65 -0
  1830. package/dist/phoenix/editor-server/editor-server.d.ts +3 -14
  1831. package/dist/phoenix/editor-server/editor-server.js +1 -1
  1832. package/dist/phoenix/editor-server/protocol.d.ts +1 -0
  1833. package/dist/phoenix/editor-server/spec-router.js +1 -1
  1834. package/dist/phoenix/editor-server/trpc.d.ts +2 -9
  1835. package/dist/phoenix/lingui/index.d.ts +1 -0
  1836. package/dist/phoenix/lingui/index.js +1 -0
  1837. package/dist/phoenix/lingui/lingui.d.ts +18 -0
  1838. package/dist/phoenix/lingui/lingui.js +1 -0
  1839. package/dist/phoenix/scripts/build-admin.js +1 -1
  1840. package/dist/phoenix/services/application-spec-project-watcher.d.ts +26 -10
  1841. package/dist/phoenix/services/application-spec-project-watcher.js +3 -3
  1842. package/dist/phoenix/services/cli-credentials.d.ts +3 -0
  1843. package/dist/phoenix/services/cli-credentials.js +1 -1
  1844. package/dist/phoenix/services/cli-exit.d.ts +5 -0
  1845. package/dist/phoenix/services/cli-exit.js +1 -0
  1846. package/dist/phoenix/services/deployment/deployment-preparation-service.d.ts +28 -0
  1847. package/dist/phoenix/services/deployment/deployment-preparation-service.js +1 -0
  1848. package/dist/phoenix/services/deployment/generated-env-markers.d.ts +8 -0
  1849. package/dist/phoenix/services/deployment/generated-env-markers.js +1 -0
  1850. package/dist/phoenix/services/deployment/index.d.ts +2 -0
  1851. package/dist/phoenix/services/deployment/index.js +1 -0
  1852. package/dist/phoenix/services/index.d.ts +9 -0
  1853. package/dist/phoenix/services/index.js +1 -1
  1854. package/dist/phoenix/services/lingui-watcher.js +1 -1
  1855. package/dist/phoenix/services/phoenix-store.d.ts +51 -0
  1856. package/dist/phoenix/services/phoenix-store.js +1 -0
  1857. package/dist/phoenix/services/phx-banner-plugin.d.ts +32 -0
  1858. package/dist/phoenix/services/phx-banner-plugin.js +1 -0
  1859. package/dist/phoenix/services/phx-licenses-plugin.d.ts +55 -0
  1860. package/dist/phoenix/services/phx-licenses-plugin.js +8 -0
  1861. package/dist/phoenix/services/phx-variant-previews-plugin.d.ts +9 -0
  1862. package/dist/phoenix/services/phx-variant-previews-plugin.js +1 -0
  1863. package/dist/phoenix/services/prepare-development-environment.js +1 -1
  1864. package/dist/phoenix/services/session/editor-server-handle.d.ts +5 -0
  1865. package/dist/phoenix/services/session/editor-server-handle.js +1 -0
  1866. package/dist/phoenix/services/session/index.d.ts +2 -0
  1867. package/dist/phoenix/services/session/index.js +1 -0
  1868. package/dist/phoenix/services/session/phoenix-application.d.ts +82 -0
  1869. package/dist/phoenix/services/session/phoenix-application.js +2 -0
  1870. package/dist/phoenix/services/source-archive.d.ts +1 -0
  1871. package/dist/phoenix/services/source-archive.js +1 -1
  1872. package/dist/phoenix/services/swc.js +1 -1
  1873. package/dist/phoenix/services/telemetry/amplitude-telemetry-transport.d.ts +9 -0
  1874. package/dist/phoenix/services/telemetry/amplitude-telemetry-transport.js +1 -0
  1875. package/dist/phoenix/services/telemetry/index.d.ts +3 -0
  1876. package/dist/phoenix/services/telemetry/index.js +1 -0
  1877. package/dist/phoenix/services/telemetry/telemetry-client.d.ts +25 -0
  1878. package/dist/phoenix/services/telemetry/telemetry-client.js +1 -0
  1879. package/dist/phoenix/services/telemetry/telemetry-command.d.ts +2 -0
  1880. package/dist/phoenix/services/telemetry/telemetry-command.js +1 -0
  1881. package/dist/phoenix/services/telemetry/telemetry-event.d.ts +44 -0
  1882. package/dist/phoenix/services/telemetry/telemetry-event.js +1 -0
  1883. package/dist/phoenix/services/telemetry/telemetry-state.d.ts +25 -0
  1884. package/dist/phoenix/services/telemetry/telemetry-state.js +2 -0
  1885. package/dist/phoenix/services/variant-file-session.d.ts +36 -0
  1886. package/dist/phoenix/services/variant-file-session.js +1 -0
  1887. package/dist/phoenix/services/variant-preview-service.d.ts +80 -0
  1888. package/dist/phoenix/services/variant-preview-service.js +1 -0
  1889. package/dist/phoenix/services/vite-config.d.ts +2 -0
  1890. package/dist/phoenix/services/vite-config.js +1 -1
  1891. package/dist/phoenix/services/webhook-service/transport.js +1 -1
  1892. package/dist/phoenix/services/webhook-service/tunnel.d.ts +1 -0
  1893. package/dist/phoenix/services/webhook-service/tunnel.js +1 -1
  1894. package/dist/phoenix/utils/git/index.d.ts +1 -0
  1895. package/dist/phoenix/utils/git/index.js +1 -0
  1896. package/dist/phoenix/utils/git/is-inside-git-repository.d.ts +6 -0
  1897. package/dist/phoenix/utils/git/is-inside-git-repository.js +1 -0
  1898. package/dist/phoenix/utils/index.d.ts +6 -2
  1899. package/dist/phoenix/utils/index.js +1 -1
  1900. package/dist/phoenix/utils/node-version/index.d.ts +1 -0
  1901. package/dist/phoenix/utils/node-version/index.js +1 -0
  1902. package/dist/phoenix/utils/node-version/supported-node-version.d.ts +12 -0
  1903. package/dist/phoenix/utils/node-version/supported-node-version.js +4 -0
  1904. package/dist/phoenix/utils/package-info.d.ts +0 -9
  1905. package/dist/phoenix/utils/package-info.js +1 -1
  1906. package/dist/phoenix/utils/package-manager/index.d.ts +2 -0
  1907. package/dist/phoenix/utils/package-manager/index.js +1 -0
  1908. package/dist/phoenix/utils/package-manager/package-manager-commands.d.ts +19 -0
  1909. package/dist/phoenix/utils/package-manager/package-manager-commands.js +1 -0
  1910. package/dist/phoenix/utils/package-manager/pnpm-project.d.ts +9 -0
  1911. package/dist/phoenix/utils/package-manager/pnpm-project.js +1 -0
  1912. package/dist/phoenix/utils/read-git-commit.d.ts +14 -0
  1913. package/dist/phoenix/utils/read-git-commit.js +1 -0
  1914. package/dist/phoenix/utils/run-command.d.ts +11 -0
  1915. package/dist/phoenix/utils/run-command.js +1 -1
  1916. package/dist/phoenix/utils/sdk-tool/index.d.ts +1 -0
  1917. package/dist/phoenix/utils/sdk-tool/index.js +1 -0
  1918. package/dist/phoenix/utils/sdk-tool/resolve-sdk-tool-bin.d.ts +15 -0
  1919. package/dist/phoenix/utils/sdk-tool/resolve-sdk-tool-bin.js +1 -0
  1920. package/dist/react-sdk/application-runtime/common-services/analytics/analytics-service.d.ts +3 -3
  1921. package/dist/react-sdk/application-runtime/common-services/analytics/domain-controls-analytics.d.ts +21 -21
  1922. package/dist/react-sdk/application-runtime/common-services/analytics/frontend-analytics.d.ts +52 -0
  1923. package/dist/react-sdk/application-runtime/common-services/analytics/frontend-analytics.js +1 -0
  1924. package/dist/react-sdk/application-runtime/common-services/analytics/index.d.ts +1 -0
  1925. package/dist/react-sdk/application-runtime/common-services/analytics/index.js +1 -1
  1926. package/dist/react-sdk/application-runtime/common-services/initialize.d.ts +2 -2
  1927. package/dist/react-sdk/application-runtime/domain-application-context/chat-system.d.ts +1 -1
  1928. package/dist/react-sdk/application-runtime/hooks/data/use-published-data.d.ts +1 -1
  1929. package/dist/react-sdk/application-runtime/hooks/index.d.ts +2 -0
  1930. package/dist/react-sdk/application-runtime/hooks/index.js +1 -1
  1931. package/dist/react-sdk/application-runtime/hooks/loading/index.d.ts +5 -0
  1932. package/dist/react-sdk/application-runtime/hooks/loading/index.js +1 -0
  1933. package/dist/react-sdk/application-runtime/hooks/loading/loader-host-context.d.ts +11 -0
  1934. package/dist/react-sdk/application-runtime/hooks/loading/loader-host-context.js +1 -0
  1935. package/dist/react-sdk/application-runtime/hooks/loading/use-is-awaiting-loading-phase.d.ts +8 -0
  1936. package/dist/react-sdk/application-runtime/hooks/loading/use-is-awaiting-loading-phase.js +1 -0
  1937. package/dist/react-sdk/application-runtime/hooks/loading/use-is-loader-hosted.d.ts +7 -0
  1938. package/dist/react-sdk/application-runtime/hooks/loading/use-is-loader-hosted.js +1 -0
  1939. package/dist/react-sdk/application-runtime/hooks/loading/use-loading-actions.d.ts +9 -0
  1940. package/dist/react-sdk/application-runtime/hooks/loading/use-loading-actions.js +1 -0
  1941. package/dist/react-sdk/application-runtime/hooks/loading/use-loading-application.d.ts +24 -0
  1942. package/dist/react-sdk/application-runtime/hooks/loading/use-loading-application.js +1 -0
  1943. package/dist/react-sdk/application-runtime/hooks/responsive/index.d.ts +3 -0
  1944. package/dist/react-sdk/application-runtime/hooks/responsive/index.js +1 -0
  1945. package/dist/react-sdk/application-runtime/hooks/responsive/use-responsive-actions.d.ts +9 -0
  1946. package/dist/react-sdk/application-runtime/hooks/responsive/use-responsive-actions.js +1 -0
  1947. package/dist/react-sdk/application-runtime/hooks/responsive/use-responsive-application.d.ts +26 -0
  1948. package/dist/react-sdk/application-runtime/hooks/responsive/use-responsive-application.js +1 -0
  1949. package/dist/react-sdk/application-runtime/hooks/responsive/use-responsive-state.d.ts +10 -0
  1950. package/dist/react-sdk/application-runtime/hooks/responsive/use-responsive-state.js +1 -0
  1951. package/dist/react-sdk/application-runtime/hooks/responsive/use-responsive-store.d.ts +24 -0
  1952. package/dist/react-sdk/application-runtime/hooks/responsive/use-responsive-store.js +1 -0
  1953. package/dist/react-sdk/application-runtime/hooks/use-access-service.d.ts +7 -0
  1954. package/dist/react-sdk/application-runtime/hooks/use-access-service.js +1 -1
  1955. package/dist/react-sdk/application-runtime/hooks/use-domain-application-props.d.ts +5 -2
  1956. package/dist/react-sdk/application-runtime/hooks/use-phoenix-element-slots.d.ts +2 -1
  1957. package/dist/react-sdk/application-runtime/hooks/use-spec.d.ts +1 -1
  1958. package/dist/react-sdk/application-runtime/hooks/use-web-component-readonly-sync.d.ts +4 -11
  1959. package/dist/react-sdk/application-runtime/hooks/use-web-component-readonly-sync.js +1 -1
  1960. package/dist/react-sdk/application-runtime/hooks/use-web-component.d.ts +5 -0
  1961. package/dist/react-sdk/application-runtime/hooks/use-web-component.js +1 -1
  1962. package/dist/react-sdk/application-runtime/host-properties/actions.d.ts +15 -0
  1963. package/dist/react-sdk/application-runtime/host-properties/actions.js +1 -0
  1964. package/dist/react-sdk/application-runtime/host-properties/connect-host-properties.d.ts +30 -0
  1965. package/dist/react-sdk/application-runtime/host-properties/connect-host-properties.js +1 -0
  1966. package/dist/react-sdk/application-runtime/host-properties/domain-host-properties.d.ts +7 -0
  1967. package/dist/react-sdk/application-runtime/host-properties/domain-host-properties.js +1 -0
  1968. package/dist/react-sdk/application-runtime/host-properties/host-property-descriptors.d.ts +21 -0
  1969. package/dist/react-sdk/application-runtime/host-properties/host-property-descriptors.js +1 -0
  1970. package/dist/react-sdk/application-runtime/host-properties/host-property-scopes.d.ts +42 -0
  1971. package/dist/react-sdk/application-runtime/host-properties/host-property-scopes.js +1 -0
  1972. package/dist/react-sdk/application-runtime/host-properties/index.d.ts +8 -0
  1973. package/dist/react-sdk/application-runtime/host-properties/index.js +1 -0
  1974. package/dist/react-sdk/application-runtime/host-properties/initialize.d.ts +7 -0
  1975. package/dist/react-sdk/application-runtime/host-properties/initialize.js +1 -0
  1976. package/dist/react-sdk/application-runtime/host-properties/selectors.d.ts +54 -0
  1977. package/dist/react-sdk/application-runtime/host-properties/selectors.js +1 -0
  1978. package/dist/react-sdk/application-runtime/host-properties/types.d.ts +18 -0
  1979. package/dist/react-sdk/application-runtime/host-properties/types.js +1 -0
  1980. package/dist/react-sdk/application-runtime/index.d.ts +3 -0
  1981. package/dist/react-sdk/application-runtime/integration/initialize.d.ts +7 -6
  1982. package/dist/react-sdk/application-runtime/integration/initialize.js +1 -1
  1983. package/dist/react-sdk/application-runtime/integration/selectors.d.ts +11 -2
  1984. package/dist/react-sdk/application-runtime/integration/selectors.js +1 -1
  1985. package/dist/react-sdk/application-runtime/integration/types.d.ts +5 -2
  1986. package/dist/react-sdk/application-runtime/loading/actions.d.ts +45 -0
  1987. package/dist/react-sdk/application-runtime/loading/actions.js +1 -0
  1988. package/dist/react-sdk/application-runtime/loading/index.d.ts +4 -0
  1989. package/dist/react-sdk/application-runtime/loading/index.js +1 -0
  1990. package/dist/react-sdk/application-runtime/loading/initialize.d.ts +3 -0
  1991. package/dist/react-sdk/application-runtime/loading/initialize.js +1 -0
  1992. package/dist/react-sdk/application-runtime/loading/selectors.d.ts +18 -0
  1993. package/dist/react-sdk/application-runtime/loading/selectors.js +1 -0
  1994. package/dist/react-sdk/application-runtime/loading/types.d.ts +59 -0
  1995. package/dist/react-sdk/application-runtime/loading/types.js +1 -0
  1996. package/dist/react-sdk/application-runtime/mocks/create-mock-application-runtime.d.ts +1 -1
  1997. package/dist/react-sdk/application-runtime/mocks/create-mock-application-runtime.js +1 -1
  1998. package/dist/react-sdk/application-runtime/provider/ApplicationRuntime.d.ts +6 -0
  1999. package/dist/react-sdk/application-runtime/provider/ApplicationRuntime.js +1 -1
  2000. package/dist/react-sdk/application-runtime/provider/ApplicationType.d.ts +7 -0
  2001. package/dist/react-sdk/application-runtime/provider/ApplicationType.js +1 -1
  2002. package/dist/react-sdk/application-runtime/responsive/actions.d.ts +47 -0
  2003. package/dist/react-sdk/application-runtime/responsive/actions.js +1 -0
  2004. package/dist/react-sdk/application-runtime/responsive/index.d.ts +4 -0
  2005. package/dist/react-sdk/application-runtime/responsive/index.js +1 -0
  2006. package/dist/react-sdk/application-runtime/responsive/initialize.d.ts +3 -0
  2007. package/dist/react-sdk/application-runtime/responsive/initialize.js +1 -0
  2008. package/dist/react-sdk/application-runtime/responsive/selectors.d.ts +20 -0
  2009. package/dist/react-sdk/application-runtime/responsive/selectors.js +1 -0
  2010. package/dist/react-sdk/application-runtime/responsive/types.d.ts +104 -0
  2011. package/dist/react-sdk/application-runtime/responsive/types.js +1 -0
  2012. package/dist/react-sdk/application-runtime/routing/access-service.d.ts +1 -0
  2013. package/dist/react-sdk/application-runtime/routing/routing-service.d.ts +34 -2
  2014. package/dist/react-sdk/application-runtime/routing/routing-service.js +1 -1
  2015. package/dist/react-sdk/application-runtime/runtime/create-application-runtime.d.ts +382 -50
  2016. package/dist/react-sdk/application-runtime/runtime/create-application-runtime.js +1 -1
  2017. package/dist/react-sdk/configurator-routing/ConfiguratorRoutingProvider.d.ts +11 -0
  2018. package/dist/react-sdk/configurator-routing/ConfiguratorRoutingProvider.js +1 -0
  2019. package/dist/react-sdk/configurator-routing/OnGoToIndexHandler.d.ts +9 -0
  2020. package/dist/react-sdk/configurator-routing/OnGoToIndexHandler.js +1 -0
  2021. package/dist/react-sdk/configurator-routing/index.d.ts +3 -0
  2022. package/dist/react-sdk/configurator-routing/index.js +1 -0
  2023. package/dist/react-sdk/configurator-routing/use-power-routing-lifecycle.d.ts +11 -0
  2024. package/dist/react-sdk/configurator-routing/use-power-routing-lifecycle.js +1 -0
  2025. package/dist/react-sdk/configurator-ui-elements/ConfiguratorUiElementHost.d.ts +7 -0
  2026. package/dist/react-sdk/configurator-ui-elements/ConfiguratorUiElementHost.js +1 -0
  2027. package/dist/react-sdk/configurator-ui-elements/ErrorFallbackElement.d.ts +14 -0
  2028. package/dist/react-sdk/configurator-ui-elements/ErrorFallbackElement.js +1 -0
  2029. package/dist/react-sdk/configurator-ui-elements/ErrorFallbackPropsProvider.d.ts +18 -0
  2030. package/dist/react-sdk/configurator-ui-elements/ErrorFallbackPropsProvider.js +1 -0
  2031. package/dist/react-sdk/configurator-ui-elements/PlainErrorFallback.d.ts +5 -0
  2032. package/dist/react-sdk/configurator-ui-elements/PlainErrorFallback.js +1 -0
  2033. package/dist/react-sdk/configurator-ui-elements/configurator-ui-element.d.ts +17 -0
  2034. package/dist/react-sdk/configurator-ui-elements/configurator-ui-element.js +1 -0
  2035. package/dist/react-sdk/configurator-ui-elements/create-configurator-ui-element.d.ts +5 -0
  2036. package/dist/react-sdk/configurator-ui-elements/create-configurator-ui-element.js +1 -0
  2037. package/dist/react-sdk/configurator-ui-elements/index.d.ts +6 -0
  2038. package/dist/react-sdk/configurator-ui-elements/index.js +1 -0
  2039. package/dist/react-sdk/domain-application-context/BackendDataProvider.js +1 -1
  2040. package/dist/react-sdk/domain-application-context/ConfigurationPersistSystemFailureHandler.js +1 -1
  2041. package/dist/react-sdk/domain-application-context/DomainLifecycleBoundary.js +1 -1
  2042. package/dist/react-sdk/domain-application-context/FrontendDataProvider.js +1 -1
  2043. package/dist/react-sdk/domain-application-context/OnPresetLoadedHandler.js +1 -0
  2044. package/dist/react-sdk/domain-application-context/PublishedDataProvider.js +1 -1
  2045. package/dist/react-sdk/domain-application-context/chat-hooks.d.ts +4 -0
  2046. package/dist/react-sdk/domain-application-context/chat-hooks.js +1 -0
  2047. package/dist/react-sdk/domain-application-context/index.d.ts +2 -0
  2048. package/dist/react-sdk/domain-application-context/index.js +1 -1
  2049. package/dist/react-sdk/domain-context/common-hooks/index.d.ts +9 -0
  2050. package/dist/react-sdk/domain-context/common-hooks/index.js +1 -0
  2051. package/dist/react-sdk/domain-context/common-hooks/use-configuration-save-state.d.ts +23 -0
  2052. package/dist/react-sdk/domain-context/common-hooks/use-configuration-save-state.js +1 -0
  2053. package/dist/react-sdk/domain-context/common-hooks/use-configurator-messages.d.ts +41 -0
  2054. package/dist/react-sdk/domain-context/common-hooks/use-configurator-messages.js +1 -0
  2055. package/dist/react-sdk/domain-context/common-hooks/use-domain-context.d.ts +13 -9
  2056. package/dist/react-sdk/domain-context/component-hooks/index.d.ts +1 -0
  2057. package/dist/react-sdk/domain-context/component-hooks/index.js +1 -0
  2058. package/dist/react-sdk/domain-context/component-hooks/use-component.js +1 -1
  2059. package/dist/react-sdk/domain-context/entity-hooks/use-domain-entity-state.js +1 -1
  2060. package/dist/react-sdk/domain-context/entity-hooks/use-entity-price.js +1 -1
  2061. package/dist/react-sdk/domain-context/entity-hooks/use-root-entity-id.js +1 -1
  2062. package/dist/react-sdk/domain-context/entity-hooks/use-root-entity-state.js +1 -1
  2063. package/dist/react-sdk/domain-context/index.d.ts +9 -1
  2064. package/dist/react-sdk/domain-context/index.js +1 -1
  2065. package/dist/react-sdk/domain-context/system-hooks/composition-hooks.js +1 -1
  2066. package/dist/react-sdk/domain-context/system-hooks/dimension-hooks.js +1 -1
  2067. package/dist/react-sdk/domain-context/system-hooks/generate-share-link-hooks.d.ts +8 -0
  2068. package/dist/react-sdk/domain-context/system-hooks/generate-share-link-hooks.js +1 -0
  2069. package/dist/react-sdk/domain-context/system-hooks/hover-hooks.js +1 -1
  2070. package/dist/react-sdk/domain-context/system-hooks/locale-switch-hooks.d.ts +24 -0
  2071. package/dist/react-sdk/domain-context/system-hooks/locale-switch-hooks.js +1 -0
  2072. package/dist/react-sdk/domain-context/system-hooks/navigation-hooks.d.ts +11 -0
  2073. package/dist/react-sdk/domain-context/system-hooks/navigation-hooks.js +1 -1
  2074. package/dist/react-sdk/domain-context/system-hooks/selection-hooks.js +1 -1
  2075. package/dist/react-sdk/domain-context/system-hooks/share-links-hooks.d.ts +32 -0
  2076. package/dist/react-sdk/domain-context/system-hooks/share-links-hooks.js +1 -0
  2077. package/dist/react-sdk/domain-context/system-hooks/step-navigation-hooks.d.ts +57 -0
  2078. package/dist/react-sdk/domain-context/system-hooks/step-navigation-hooks.js +1 -0
  2079. package/dist/react-sdk/domain-context/system-hooks/tab-navigation-hooks.d.ts +61 -0
  2080. package/dist/react-sdk/domain-context/system-hooks/tab-navigation-hooks.js +1 -0
  2081. package/dist/react-sdk/domain-context/system-hooks/undo-redo-hooks.d.ts +20 -0
  2082. package/dist/react-sdk/domain-context/system-hooks/undo-redo-hooks.js +1 -0
  2083. package/dist/react-sdk/domain-controls/hooks/use-angle-dimension.d.ts +1 -1
  2084. package/dist/react-sdk/elements/PhoenixEntityElement.js +1 -1
  2085. package/dist/react-sdk/elements/PhoenixLayoutElement.js +1 -1
  2086. package/dist/react-sdk/handlers/FinalizeActionRunner.d.ts +13 -0
  2087. package/dist/react-sdk/handlers/FinalizeActionRunner.js +1 -0
  2088. package/dist/react-sdk/handlers/FinalizeActionsHost.d.ts +10 -0
  2089. package/dist/react-sdk/handlers/FinalizeActionsHost.js +1 -0
  2090. package/dist/react-sdk/handlers/FinalizeActionsProvider.d.ts +11 -0
  2091. package/dist/react-sdk/handlers/FinalizeActionsProvider.js +1 -0
  2092. package/dist/react-sdk/handlers/finalize-actions-context.d.ts +6 -0
  2093. package/dist/react-sdk/handlers/finalize-actions-context.js +1 -0
  2094. package/dist/react-sdk/handlers/finalize-actions-store.d.ts +23 -0
  2095. package/dist/react-sdk/handlers/finalize-actions-store.js +1 -0
  2096. package/dist/react-sdk/handlers/index.d.ts +6 -0
  2097. package/dist/react-sdk/handlers/index.js +1 -1
  2098. package/dist/react-sdk/handlers/use-finalize-action.d.ts +32 -0
  2099. package/dist/react-sdk/handlers/use-finalize-action.js +1 -0
  2100. package/dist/react-sdk/handlers/use-finalize-actions.d.ts +53 -0
  2101. package/dist/react-sdk/handlers/use-finalize-actions.js +1 -0
  2102. package/dist/react-sdk/index.d.ts +9 -0
  2103. package/dist/react-sdk/index.js +1 -1
  2104. package/dist/react-sdk/integration/IntegrationSubscription.js +1 -0
  2105. package/dist/react-sdk/integration/index.d.ts +1 -0
  2106. package/dist/react-sdk/integration/index.js +1 -0
  2107. package/dist/react-sdk/lifecycle-providers/ConfiguratorDataProvider.d.ts +8 -0
  2108. package/dist/react-sdk/lifecycle-providers/ConfiguratorDataProvider.js +1 -0
  2109. package/dist/react-sdk/lifecycle-providers/LifecycleProviders.js +1 -0
  2110. package/dist/react-sdk/lifecycle-providers/index.d.ts +2 -0
  2111. package/dist/react-sdk/lifecycle-providers/index.js +1 -0
  2112. package/dist/react-sdk/loading-state/LoaderHost.d.ts +20 -0
  2113. package/dist/react-sdk/loading-state/LoaderHost.js +1 -0
  2114. package/dist/react-sdk/loading-state/built-in-loading-phase.d.ts +9 -0
  2115. package/dist/react-sdk/loading-state/built-in-loading-phase.js +1 -0
  2116. package/dist/react-sdk/loading-state/create-app-loader.d.ts +18 -0
  2117. package/dist/react-sdk/loading-state/create-app-loader.js +1 -0
  2118. package/dist/react-sdk/loading-state/index.d.ts +4 -2
  2119. package/dist/react-sdk/loading-state/index.js +1 -1
  2120. package/dist/react-sdk/loading-state/loading-state-hooks.d.ts +22 -0
  2121. package/dist/react-sdk/loading-state/loading-state-hooks.js +1 -0
  2122. package/dist/react-sdk/notifications/index.d.ts +1 -0
  2123. package/dist/react-sdk/notifications/index.js +1 -0
  2124. package/dist/react-sdk/notifications/snackbar-action-button.d.ts +30 -0
  2125. package/dist/react-sdk/notifications/snackbar-action-button.js +1 -0
  2126. package/dist/react-sdk/page-elements/ConfigurationNotFoundPagePropsProvider.d.ts +17 -0
  2127. package/dist/react-sdk/page-elements/ConfigurationNotFoundPagePropsProvider.js +1 -0
  2128. package/dist/react-sdk/page-elements/ConfiguratorErrorPagePropsProvider.d.ts +17 -0
  2129. package/dist/react-sdk/page-elements/ConfiguratorErrorPagePropsProvider.js +1 -0
  2130. package/dist/react-sdk/page-elements/configurator-error-page-props.d.ts +20 -0
  2131. package/dist/react-sdk/page-elements/configurator-error-page-props.js +1 -0
  2132. package/dist/react-sdk/page-elements/create-configuration-not-found-page.d.ts +15 -0
  2133. package/dist/react-sdk/page-elements/create-configuration-not-found-page.js +1 -0
  2134. package/dist/react-sdk/page-elements/create-configurator-error-page.d.ts +14 -0
  2135. package/dist/react-sdk/page-elements/create-configurator-error-page.js +1 -0
  2136. package/dist/react-sdk/page-elements/create-preset-ui.d.ts +9 -0
  2137. package/dist/react-sdk/page-elements/create-preset-ui.js +1 -0
  2138. package/dist/react-sdk/page-elements/index.d.ts +6 -0
  2139. package/dist/react-sdk/page-elements/index.js +1 -0
  2140. package/dist/react-sdk/preset-selection/PresetSelectionProvider.js +1 -0
  2141. package/dist/react-sdk/preset-selection/index.d.ts +1 -0
  2142. package/dist/react-sdk/preset-selection/index.js +1 -0
  2143. package/dist/react-sdk/provider-slots/ConfiguratorProviderSlotHost.d.ts +11 -0
  2144. package/dist/react-sdk/provider-slots/ConfiguratorProviderSlotHost.js +1 -0
  2145. package/dist/react-sdk/provider-slots/configurator-provider-slot.d.ts +24 -0
  2146. package/dist/react-sdk/provider-slots/configurator-provider-slot.js +1 -0
  2147. package/dist/react-sdk/provider-slots/create-configurator-provider-slot.d.ts +5 -0
  2148. package/dist/react-sdk/provider-slots/create-configurator-provider-slot.js +1 -0
  2149. package/dist/react-sdk/provider-slots/index.d.ts +3 -0
  2150. package/dist/react-sdk/provider-slots/index.js +1 -0
  2151. package/dist/react-sdk/scene-control-elements/AddEntityFabElement.d.ts +36 -0
  2152. package/dist/react-sdk/scene-control-elements/AddEntityFabElement.js +1 -0
  2153. package/dist/react-sdk/scene-control-elements/DeleteEntityFabElement.d.ts +44 -0
  2154. package/dist/react-sdk/scene-control-elements/DeleteEntityFabElement.js +1 -0
  2155. package/dist/react-sdk/scene-control-elements/NavigationHotspotElement.d.ts +38 -0
  2156. package/dist/react-sdk/scene-control-elements/NavigationHotspotElement.js +1 -0
  2157. package/dist/react-sdk/scene-control-elements/SelectionHotspotElement.d.ts +30 -0
  2158. package/dist/react-sdk/scene-control-elements/SelectionHotspotElement.js +1 -0
  2159. package/dist/react-sdk/scene-control-elements/ToolMenuFabElement.d.ts +30 -0
  2160. package/dist/react-sdk/scene-control-elements/ToolMenuFabElement.js +1 -0
  2161. package/dist/react-sdk/scene-control-elements/create-add-entity-fab.d.ts +9 -0
  2162. package/dist/react-sdk/scene-control-elements/create-add-entity-fab.js +1 -0
  2163. package/dist/react-sdk/scene-control-elements/create-delete-entity-fab.d.ts +9 -0
  2164. package/dist/react-sdk/scene-control-elements/create-delete-entity-fab.js +1 -0
  2165. package/dist/react-sdk/scene-control-elements/create-navigation-hotspot.d.ts +10 -0
  2166. package/dist/react-sdk/scene-control-elements/create-navigation-hotspot.js +1 -0
  2167. package/dist/react-sdk/scene-control-elements/create-selection-hotspot.d.ts +9 -0
  2168. package/dist/react-sdk/scene-control-elements/create-selection-hotspot.js +1 -0
  2169. package/dist/react-sdk/scene-control-elements/create-tool-menu-fab.d.ts +9 -0
  2170. package/dist/react-sdk/scene-control-elements/create-tool-menu-fab.js +1 -0
  2171. package/dist/react-sdk/scene-control-elements/index.d.ts +11 -0
  2172. package/dist/react-sdk/scene-control-elements/index.js +1 -0
  2173. package/dist/react-sdk/scene-control-elements/scene-control-tooltip-visibility.d.ts +5 -0
  2174. package/dist/react-sdk/scene-control-elements/scene-control-tooltip-visibility.js +1 -0
  2175. package/dist/react-sdk/session/NotAuthenticatedPage.d.ts +4 -0
  2176. package/dist/react-sdk/session/NotAuthenticatedPage.js +1 -1
  2177. package/dist/react-sdk/session/SessionServiceProvider.d.ts +5 -0
  2178. package/dist/react-sdk/session/SessionServiceProvider.js +1 -1
  2179. package/dist/react-sdk/web-component/create-web-component.js +1 -1
  2180. package/dist/react-sdk/web-component/god-mode/god-mode-registry.d.ts +30 -0
  2181. package/dist/react-sdk/web-component/god-mode/god-mode-registry.js +1 -0
  2182. package/dist/react-sdk/web-component/god-mode/index.d.ts +1 -0
  2183. package/dist/react-sdk/web-component/god-mode/index.js +1 -0
  2184. package/dist/ui-sdk/common/use-viewport-size.d.ts +4 -1
  2185. package/dist/ui-sdk/common/use-viewport-size.js +1 -1
  2186. package/dist/ui-sdk/components/mobile-controls/index.d.ts +1 -1
  2187. package/dist/ui-sdk/components/snackbar/Snackbar.d.ts +24 -3
  2188. package/dist/ui-sdk/components/snackbar/Snackbar.js +1 -1
  2189. package/dist/ui-sdk/icons/__generated/Lightbulb.d.ts +3 -0
  2190. package/dist/ui-sdk/icons/__generated/Lightbulb.js +1 -0
  2191. package/dist/ui-sdk/icons/__generated/Paperclip.d.ts +3 -0
  2192. package/dist/ui-sdk/icons/__generated/Paperclip.js +1 -0
  2193. package/dist/ui-sdk/icons/__generated/XCircle.d.ts +3 -0
  2194. package/dist/ui-sdk/icons/__generated/XCircle.js +1 -0
  2195. package/dist/ui-sdk/icons/__generated/index.d.ts +6 -0
  2196. package/dist/ui-sdk/icons/__generated/index.js +1 -1
  2197. package/dist/ui-sdk/icons/icons-registry.js +1 -1
  2198. package/dist/ui-sdk/responsive-application/ResponsiveApplicationProvider.d.ts +9 -0
  2199. package/dist/ui-sdk/responsive-application/ResponsiveApplicationProvider.js +1 -1
  2200. package/dist/ui-sdk/responsive-application/index.d.ts +1 -0
  2201. package/dist/ui-sdk/responsive-application/responsive-state-store.d.ts +59 -0
  2202. package/dist/ui-sdk/responsive-application/responsive-state-store.js +1 -0
  2203. package/dist/ui-sdk/responsive-application/use-store-responsive-info.d.ts +7 -0
  2204. package/dist/ui-sdk/responsive-application/use-store-responsive-info.js +1 -0
  2205. package/dist/ui-sdk/theme/types.d.ts +8 -0
  2206. package/dist/watch/glob-matcher.d.ts +4 -4
  2207. package/dist/watch/glob-matcher.js +1 -1
  2208. package/dist/watch/watch.d.ts +4 -4
  2209. package/dist/watch/watch.js +1 -1
  2210. package/dist/webhook/builders/common.d.ts +8 -0
  2211. package/dist/webhook/builders/webhook-builder.d.ts +1 -1
  2212. package/dist/webhook/builders/webhook-builder.js +1 -1
  2213. package/package.json +60 -41
  2214. package/schema/domain-spec.json +1383 -217
  2215. package/dist/application-spec/core/eval-to-constant.d.ts +0 -14
  2216. package/dist/application-spec/generate-application/code/templates/env-ci.d.ts +0 -1
  2217. package/dist/application-spec/generate-application/code/templates/env-ci.js +0 -25
  2218. package/dist/application-spec/generate-application/code/templates/env-example.d.ts +0 -1
  2219. package/dist/application-spec/generate-application/code/templates/env-example.js +0 -90
  2220. package/dist/application-spec/generate-application/code/templates/nvmrc.d.ts +0 -1
  2221. package/dist/application-spec/generate-application/code/templates/nvmrc.js +0 -2
  2222. package/dist/application-spec/generate-application/code/templates/package-json.d.ts +0 -10
  2223. package/dist/application-spec/generate-application/code/templates/package-json.js +0 -1
  2224. package/dist/application-spec/generate-application/code/templates/prettier-ignore.d.ts +0 -1
  2225. package/dist/application-spec/generate-application/code/templates/prettier-ignore.js +0 -6
  2226. package/dist/application-spec/generate-application/code/templates/private-assets-readme.d.ts +0 -1
  2227. package/dist/application-spec/generate-application/code/templates/private-assets-readme.js +0 -24
  2228. package/dist/application-spec/generate-application/code/templates/public-assets-readme.d.ts +0 -1
  2229. package/dist/application-spec/generate-application/code/templates/public-assets-readme.js +0 -24
  2230. package/dist/application-spec/generate-application/code/templates/readme.d.ts +0 -1
  2231. package/dist/application-spec/generate-application/code/templates/readme.js +0 -23
  2232. package/dist/application-spec/generate-application/code/templates/skills/agents-md.d.ts +0 -1
  2233. package/dist/application-spec/generate-application/code/templates/skills/agents-md.js +0 -2
  2234. package/dist/application-spec/generate-application/code/templates/webhook-implementation.d.ts +0 -1
  2235. package/dist/application-spec/generate-application/code/templates/webhook-implementation.js +0 -7
  2236. package/dist/application-spec/parse-application-files/spec/components/component-entry.d.ts +0 -98
  2237. package/dist/application-spec/parse-application-files/spec/expressions/expression.d.ts +0 -70
  2238. package/dist/configurator/assistant/browser-details.d.ts +0 -17
  2239. package/dist/configurator/assistant/browser-details.js +0 -1
  2240. package/dist/configurator/assistant/graphql-tools.d.ts +0 -156
  2241. package/dist/configurator/assistant/graphql-tools.js +0 -1
  2242. package/dist/configurator/assistant/index.d.ts +0 -1
  2243. package/dist/configurator/assistant/index.js +0 -1
  2244. package/dist/configurator/assistant/use-assistant-chat.d.ts +0 -20
  2245. package/dist/configurator/assistant/use-assistant-chat.js +0 -1
  2246. package/dist/configurator/common/frontend-analytics.d.ts +0 -46
  2247. package/dist/configurator/common/frontend-analytics.js +0 -1
  2248. package/dist/configurator/configurator-context/ConfiguratorDataProvider.d.ts +0 -2
  2249. package/dist/configurator/configurator-context/ConfiguratorDataProvider.js +0 -1
  2250. package/dist/configurator/configurator-context/IntegrationSubscription.js +0 -1
  2251. package/dist/configurator/configurator-context/LifecycleProviders.js +0 -1
  2252. package/dist/configurator/configurator-context/OnPresetLoadedHandler.js +0 -1
  2253. package/dist/configurator/configurator-context/PresetSelectionProvider.js +0 -1
  2254. package/dist/configurator/configurator-context/configurator-hooks/chat-hooks.d.ts +0 -1
  2255. package/dist/configurator/configurator-context/configurator-hooks/chat-hooks.js +0 -1
  2256. package/dist/configurator/configurator-context/configurator-routing/ConfiguratorRoutingProvider.d.ts +0 -11
  2257. package/dist/configurator/configurator-context/configurator-routing/ConfiguratorRoutingProvider.js +0 -1
  2258. package/dist/configurator/configurator-context/configurator-routing/OnGoToIndexHandler.d.ts +0 -10
  2259. package/dist/configurator/configurator-context/configurator-routing/OnGoToIndexHandler.js +0 -1
  2260. package/dist/configurator/configurator-context/configurator-routing/index.d.ts +0 -2
  2261. package/dist/configurator/configurator-context/configurator-routing/index.js +0 -1
  2262. package/dist/configurator/configurator-context/configurator-routing/use-power-routing-lifecycle.d.ts +0 -9
  2263. package/dist/configurator/configurator-context/configurator-routing/use-power-routing-lifecycle.js +0 -1
  2264. package/dist/configurator/ui/phoenix-layout-elements/language/use-locale-options.d.ts +0 -4
  2265. package/dist/configurator/ui/phoenix-layout-elements/language/use-locale-options.js +0 -1
  2266. package/dist/configurator/ui/phoenix-layout-elements/measurements/use-measurements-visibility.d.ts +0 -4
  2267. package/dist/configurator/ui/phoenix-layout-elements/measurements/use-measurements-visibility.js +0 -1
  2268. package/dist/domain/application/element-registration.d.ts +0 -105
  2269. package/dist/domain/application/element-registration.js +0 -1
  2270. package/dist/domain/application/handler-registration.d.ts +0 -29
  2271. package/dist/domain/application/handler-registration.js +0 -1
  2272. package/dist/domain/application/resolve-imported-transformers.d.ts +0 -13
  2273. package/dist/domain/application/resolve-imported-transformers.js +0 -1
  2274. package/dist/domain/application/resource-builder.d.ts +0 -13
  2275. package/dist/domain/application/resource-builder.js +0 -1
  2276. package/dist/domain/available-system-components.d.ts +0 -11
  2277. package/dist/domain/available-system-components.js +0 -1
  2278. package/dist/domain/components/component-reader-types.d.ts +0 -44
  2279. package/dist/domain/components/debug-state-component.d.ts +0 -14
  2280. package/dist/domain/components/debug-state-component.js +0 -1
  2281. package/dist/domain/components/domain-component-optic.d.ts +0 -76
  2282. package/dist/domain/components/domain-component-optic.js +0 -16
  2283. package/dist/domain/components/drag-state-component.d.ts +0 -16
  2284. package/dist/domain/components/drag-state-component.js +0 -1
  2285. package/dist/domain/components/export-state-component.d.ts +0 -15
  2286. package/dist/domain/components/export-state-component.js +0 -1
  2287. package/dist/domain/components/fullscreen-state-component.d.ts +0 -14
  2288. package/dist/domain/components/fullscreen-state-component.js +0 -1
  2289. package/dist/domain/components/group-components-by-entity-id-and-name.d.ts +0 -9
  2290. package/dist/domain/components/group-components-by-entity-id-and-name.js +0 -1
  2291. package/dist/domain/components/hover-state-component.d.ts +0 -14
  2292. package/dist/domain/components/hover-state-component.js +0 -1
  2293. package/dist/domain/components/index.d.ts +0 -2
  2294. package/dist/domain/components/index.js +0 -1
  2295. package/dist/domain/components/legacy-filter.d.ts +0 -513
  2296. package/dist/domain/components/navigation-state-component.d.ts +0 -15
  2297. package/dist/domain/components/navigation-state-component.js +0 -1
  2298. package/dist/domain/components/selection-state-component.d.ts +0 -14
  2299. package/dist/domain/components/selection-state-component.js +0 -1
  2300. package/dist/domain/components/system-component-builder.d.ts +0 -12
  2301. package/dist/domain/components/system-component-builder.js +0 -1
  2302. package/dist/domain/components/system-component-filter.d.ts +0 -793
  2303. package/dist/domain/components/system-virtual-entity.js +0 -1
  2304. package/dist/domain/components/tool-state-component.d.ts +0 -14
  2305. package/dist/domain/components/tool-state-component.js +0 -1
  2306. package/dist/domain/components/updates.d.ts +0 -108
  2307. package/dist/domain/components/view-state-component.d.ts +0 -14
  2308. package/dist/domain/components/view-state-component.js +0 -1
  2309. package/dist/domain/components/viewport-state-component.d.ts +0 -29
  2310. package/dist/domain/components/viewport-state-component.js +0 -1
  2311. package/dist/domain/core/component.d.ts +0 -46
  2312. package/dist/domain/core/expression.d.ts +0 -50
  2313. package/dist/domain/core/json-schema.js +0 -1
  2314. package/dist/domain/core/migrations.d.ts +0 -99
  2315. package/dist/domain/core/migrations.js +0 -1
  2316. package/dist/domain/core/model.d.ts +0 -127
  2317. package/dist/domain/core/reflection.d.ts +0 -114
  2318. package/dist/domain/core/reflection.js +0 -1
  2319. package/dist/domain/core/state.d.ts +0 -10
  2320. package/dist/domain/domain-builder.d.ts +0 -33
  2321. package/dist/domain/domain-builder.js +0 -1
  2322. package/dist/domain/domain-context/recipe-system/recipes.d.ts +0 -57
  2323. package/dist/domain/domain-context/recipe-system/recipes.js +0 -1
  2324. package/dist/domain/expressions/constant-expressions.d.ts +0 -9
  2325. package/dist/domain/expressions/constant-expressions.js +0 -1
  2326. package/dist/domain/expressions/custom-expression.d.ts +0 -13
  2327. package/dist/domain/expressions/custom-expression.js +0 -1
  2328. package/dist/domain/expressions/index.d.ts +0 -1
  2329. package/dist/domain/expressions/index.js +0 -1
  2330. package/dist/domain/expressions/memoize-expression.d.ts +0 -17
  2331. package/dist/domain/expressions/prepare-domain-expressions.d.ts +0 -16
  2332. package/dist/domain/invariants/builtin-invariant.d.ts +0 -5
  2333. package/dist/domain/invariants/custom-invariants.d.ts +0 -22
  2334. package/dist/domain/invariants/custom-invariants.js +0 -1
  2335. package/dist/domain/invariants/invariants.d.ts +0 -68
  2336. package/dist/domain/invariants/invariants.js +0 -1
  2337. package/dist/domain/invariants/violation-component.js +0 -1
  2338. package/dist/domain/invariants/violation.d.ts +0 -85
  2339. package/dist/domain/invariants/violation.js +0 -1
  2340. package/dist/domain/relations/all-of-type-relation.d.ts +0 -33
  2341. package/dist/domain/relations/all-of-type-relation.js +0 -1
  2342. package/dist/domain/relations/component-factories.d.ts +0 -15
  2343. package/dist/domain/relations/component-factories.js +0 -1
  2344. package/dist/domain/relations/composed-of.d.ts +0 -12
  2345. package/dist/domain/relations/composed-of.js +0 -1
  2346. package/dist/domain/relations/direct-relation.d.ts +0 -29
  2347. package/dist/domain/relations/indirect-relation.d.ts +0 -81
  2348. package/dist/domain/relations/indirect-relation.js +0 -1
  2349. package/dist/domain/relations/reference-component.d.ts +0 -18
  2350. package/dist/domain/relations/reference-component.js +0 -1
  2351. package/dist/domain/relations/reference-field.d.ts +0 -7
  2352. package/dist/domain/relations/relation-factory.d.ts +0 -19
  2353. package/dist/domain/relations/relation-factory.js +0 -1
  2354. package/dist/domain/relations/relation-implementation.d.ts +0 -8
  2355. package/dist/domain/system-components/angle-indicator.d.ts +0 -21
  2356. package/dist/domain/system-components/angle-indicator.js +0 -1
  2357. package/dist/domain/system-components/attribute-switch.d.ts +0 -8
  2358. package/dist/domain/system-components/attribute-switch.js +0 -1
  2359. package/dist/domain/system-components/autorotate-camera-component.d.ts +0 -19
  2360. package/dist/domain/system-components/autorotate-camera-component.js +0 -1
  2361. package/dist/domain/system-components/basic-sidebar-footer.d.ts +0 -8
  2362. package/dist/domain/system-components/basic-sidebar-footer.js +0 -1
  2363. package/dist/domain/system-components/camera-based-hidden-entity-object.js +0 -1
  2364. package/dist/domain/system-components/camera-based-hidden-entity.js +0 -1
  2365. package/dist/domain/system-components/canvas-config.d.ts +0 -87
  2366. package/dist/domain/system-components/canvas-config.js +0 -1
  2367. package/dist/domain/system-components/canvas-custom-environment.js +0 -1
  2368. package/dist/domain/system-components/canvas-padding.d.ts +0 -25
  2369. package/dist/domain/system-components/canvas-padding.js +0 -1
  2370. package/dist/domain/system-components/canvas-preset-environment.d.ts +0 -37
  2371. package/dist/domain/system-components/canvas-preset-environment.js +0 -1
  2372. package/dist/domain/system-components/child-entity-recipe-hierarchy.d.ts +0 -21
  2373. package/dist/domain/system-components/child-entity-recipe-hierarchy.js +0 -1
  2374. package/dist/domain/system-components/client-side-image.d.ts +0 -14
  2375. package/dist/domain/system-components/client-side-image.js +0 -1
  2376. package/dist/domain/system-components/color-value.js +0 -1
  2377. package/dist/domain/system-components/common/angle-indicator-schema.d.ts +0 -292
  2378. package/dist/domain/system-components/common/angle-indicator-schema.js +0 -1
  2379. package/dist/domain/system-components/common/dimension-indicator-schema.d.ts +0 -607
  2380. package/dist/domain/system-components/common/dimension-indicator-schema.js +0 -1
  2381. package/dist/domain/system-components/custom-header.d.ts +0 -11
  2382. package/dist/domain/system-components/custom-header.js +0 -1
  2383. package/dist/domain/system-components/custom-price-footer.js +0 -1
  2384. package/dist/domain/system-components/custom-sidebar-footer.d.ts +0 -11
  2385. package/dist/domain/system-components/custom-sidebar-footer.js +0 -1
  2386. package/dist/domain/system-components/dimension-indicator.d.ts +0 -31
  2387. package/dist/domain/system-components/dimension-indicator.js +0 -1
  2388. package/dist/domain/system-components/editable-angle-indicator.d.ts +0 -38
  2389. package/dist/domain/system-components/editable-angle-indicator.js +0 -1
  2390. package/dist/domain/system-components/editable-distance-dimension-indicator.d.ts +0 -42
  2391. package/dist/domain/system-components/editable-distance-dimension-indicator.js +0 -1
  2392. package/dist/domain/system-components/editable-offset-indicator.d.ts +0 -41
  2393. package/dist/domain/system-components/editable-offset-indicator.js +0 -1
  2394. package/dist/domain/system-components/editable-size-indicator.d.ts +0 -38
  2395. package/dist/domain/system-components/editable-size-indicator.js +0 -1
  2396. package/dist/domain/system-components/entity-header.d.ts +0 -22
  2397. package/dist/domain/system-components/entity-header.js +0 -1
  2398. package/dist/domain/system-components/exit-tool-mode-fab.d.ts +0 -25
  2399. package/dist/domain/system-components/exit-tool-mode-fab.js +0 -1
  2400. package/dist/domain/system-components/finalize-action.d.ts +0 -20
  2401. package/dist/domain/system-components/finalize-action.js +0 -1
  2402. package/dist/domain/system-components/finalize-component.js +0 -1
  2403. package/dist/domain/system-components/fit-selection-orthographic-camera-component.js +0 -1
  2404. package/dist/domain/system-components/fit-selection-perspective-camera-component.js +0 -1
  2405. package/dist/domain/system-components/fixed-header.d.ts +0 -10
  2406. package/dist/domain/system-components/fixed-header.js +0 -1
  2407. package/dist/domain/system-components/floating-header.d.ts +0 -10
  2408. package/dist/domain/system-components/floating-header.js +0 -1
  2409. package/dist/domain/system-components/hidden-header.d.ts +0 -8
  2410. package/dist/domain/system-components/hidden-header.js +0 -1
  2411. package/dist/domain/system-components/hidden-sidebar-footer.d.ts +0 -21
  2412. package/dist/domain/system-components/hidden-sidebar-footer.js +0 -1
  2413. package/dist/domain/system-components/horizontal-tabs.d.ts +0 -28
  2414. package/dist/domain/system-components/horizontal-tabs.js +0 -1
  2415. package/dist/domain/system-components/list-selector-dimension-indicator.d.ts +0 -30
  2416. package/dist/domain/system-components/list-selector-dimension-indicator.js +0 -1
  2417. package/dist/domain/system-components/multilingual-text-value.js +0 -1
  2418. package/dist/domain/system-components/navigation-steps.d.ts +0 -19
  2419. package/dist/domain/system-components/navigation-steps.js +0 -1
  2420. package/dist/domain/system-components/offset-anchors.d.ts +0 -20
  2421. package/dist/domain/system-components/offset-anchors.js +0 -1
  2422. package/dist/domain/system-components/offset-indicator.d.ts +0 -84
  2423. package/dist/domain/system-components/offset-indicator.js +0 -1
  2424. package/dist/domain/system-components/offset.d.ts +0 -31
  2425. package/dist/domain/system-components/offset.js +0 -1
  2426. package/dist/domain/system-components/other-action.d.ts +0 -14
  2427. package/dist/domain/system-components/other-action.js +0 -1
  2428. package/dist/domain/system-components/property-page.d.ts +0 -16
  2429. package/dist/domain/system-components/property-page.js +0 -1
  2430. package/dist/domain/system-components/read-sidebar-footer.d.ts +0 -8
  2431. package/dist/domain/system-components/read-sidebar-footer.js +0 -1
  2432. package/dist/domain/system-components/replace-entity-recipe-hierarchy.d.ts +0 -21
  2433. package/dist/domain/system-components/replace-entity-recipe-hierarchy.js +0 -1
  2434. package/dist/domain/system-components/rotatable.js +0 -1
  2435. package/dist/domain/system-components/rotation-handle.d.ts +0 -53
  2436. package/dist/domain/system-components/rotation-handle.js +0 -1
  2437. package/dist/domain/system-components/save-template-thumbnail.d.ts +0 -14
  2438. package/dist/domain/system-components/save-template-thumbnail.js +0 -1
  2439. package/dist/domain/system-components/scene-entity-add-fab.d.ts +0 -32
  2440. package/dist/domain/system-components/scene-entity-add-fab.js +0 -1
  2441. package/dist/domain/system-components/scene-entity-animation.js +0 -1
  2442. package/dist/domain/system-components/scene-entity-control.js +0 -1
  2443. package/dist/domain/system-components/scene-entity-delete-fab.d.ts +0 -19
  2444. package/dist/domain/system-components/scene-entity-delete-fab.js +0 -1
  2445. package/dist/domain/system-components/scene-entity-floor-object.js +0 -1
  2446. package/dist/domain/system-components/scene-entity-html-hotspot.d.ts +0 -27
  2447. package/dist/domain/system-components/scene-entity-html-hotspot.js +0 -1
  2448. package/dist/domain/system-components/scene-entity-navigation-hotspot.d.ts +0 -20
  2449. package/dist/domain/system-components/scene-entity-navigation-hotspot.js +0 -1
  2450. package/dist/domain/system-components/scene-entity-object-html-hotspot.d.ts +0 -31
  2451. package/dist/domain/system-components/scene-entity-object-html-hotspot.js +0 -1
  2452. package/dist/domain/system-components/scene-entity-select-hotspot.d.ts +0 -5
  2453. package/dist/domain/system-components/scene-entity-select-hotspot.js +0 -1
  2454. package/dist/domain/system-components/scene-entity-wall-object.js +0 -1
  2455. package/dist/domain/system-components/selectable-component.js +0 -1
  2456. package/dist/domain/system-components/sidebar-tabs.d.ts +0 -29
  2457. package/dist/domain/system-components/sidebar-tabs.js +0 -1
  2458. package/dist/domain/system-components/simple-summary.js +0 -1
  2459. package/dist/domain/system-components/size.d.ts +0 -21
  2460. package/dist/domain/system-components/size.js +0 -1
  2461. package/dist/domain/system-components/sketching-draw.d.ts +0 -17
  2462. package/dist/domain/system-components/sketching-draw.js +0 -1
  2463. package/dist/domain/system-components/sketching-edit.d.ts +0 -28
  2464. package/dist/domain/system-components/sketching-edit.js +0 -1
  2465. package/dist/domain/system-components/summary-component.js +0 -1
  2466. package/dist/domain/system-components/text-value.js +0 -1
  2467. package/dist/domain/system-components/tool-controls.js +0 -1
  2468. package/dist/domain/system-components/tool-menu-fab.d.ts +0 -40
  2469. package/dist/domain/system-components/tool-menu-fab.js +0 -1
  2470. package/dist/domain/system-components/toolbar.d.ts +0 -13
  2471. package/dist/domain/system-components/toolbar.js +0 -1
  2472. package/dist/domain/system-components/universal-sidebar-footer.d.ts +0 -12
  2473. package/dist/domain/system-components/universal-sidebar-footer.js +0 -1
  2474. package/dist/domain/system-components/view-controls.js +0 -1
  2475. package/dist/extras/assistant/AssistantChat.d.ts +0 -6
  2476. package/dist/extras/assistant/AssistantChat.js +0 -1
  2477. package/dist/extras/assistant/index.d.ts +0 -1
  2478. package/dist/extras/assistant/index.js +0 -1
  2479. package/dist/phoenix/application-spec/generate-assistant-prompt.d.ts +0 -12
  2480. package/dist/phoenix/application-spec/generate-assistant-prompt.js +0 -1
  2481. package/dist/phoenix/commands/generate-project-files.d.ts +0 -6
  2482. package/dist/phoenix/commands/generate-project-files.js +0 -1
  2483. package/dist/phoenix/commands/generated-env-markers.d.ts +0 -7
  2484. package/dist/phoenix/commands/generated-env-markers.js +0 -1
  2485. package/dist/phoenix/services/lingui.d.ts +0 -7
  2486. package/dist/phoenix/services/lingui.js +0 -1
  2487. package/dist/react-sdk/application-runtime/runtime/god-mode.d.ts +0 -19
  2488. package/dist/react-sdk/application-runtime/runtime/god-mode.js +0 -1
  2489. package/dist/react-sdk/loading-state/LoadingStateProvider.d.ts +0 -31
  2490. package/dist/react-sdk/loading-state/LoadingStateProvider.js +0 -1
  2491. package/dist/react-sdk/loading-state/loading-state-manager.d.ts +0 -32
  2492. package/dist/react-sdk/loading-state/loading-state-manager.js +0 -1
  2493. /package/dist/application-spec/{core → enhanced-json}/eval-code-uses-self.d.ts +0 -0
  2494. /package/dist/application-spec/{core → enhanced-json}/eval-code-uses-self.js +0 -0
  2495. /package/dist/application-spec/{core → enhanced-json}/eval-to-constant.js +0 -0
  2496. /package/dist/{domain/components/component-reader-types.js → application-spec/generate-application/runtime/spec-code/spec-code-module.js} +0 -0
  2497. /package/dist/{domain/core/enhanced-json-schema.js → application-spec/parse-application-files/spec/expressions/expression-read.js} +0 -0
  2498. /package/dist/{domain/core/schema-validator.js → configurator/ui/assistant/form/form-model.js} +0 -0
  2499. /package/dist/{domain/relations/reference-field.js → configurator/ui/assistant/form/form-state.js} +0 -0
  2500. /package/dist/{domain/core/expression.js → configurator/ui/assistant/form-elements/form-element-props.js} +0 -0
  2501. /package/dist/domain/{relations/relation-implementation.js → application/assistant/assistant-resolved-manifest.js} +0 -0
  2502. /package/dist/domain/{components → core/component}/legacy-filter.js +0 -0
  2503. /package/dist/domain/{components → core/component}/system-component-filter.js +0 -0
  2504. /package/dist/domain/{components → core/component}/system-virtual-entity.d.ts +0 -0
  2505. /package/dist/domain/{components → core/component}/updates.js +0 -0
  2506. /package/dist/domain/{invariants → core/invariant}/builtin-invariant.js +0 -0
  2507. /package/dist/domain/{invariants → core/invariant}/violation-component.d.ts +0 -0
  2508. /package/dist/domain/core/{alias.d.ts → model/alias.d.ts} +0 -0
  2509. /package/dist/domain/core/{alias.js → model/alias.js} +0 -0
  2510. /package/dist/domain/core/{common-definitions.d.ts → model/common-definitions.d.ts} +0 -0
  2511. /package/dist/domain/core/{common-definitions.js → model/common-definitions.js} +0 -0
  2512. /package/dist/domain/core/{component.js → model/component.js} +0 -0
  2513. /package/dist/domain/core/{model.js → model/model.js} +0 -0
  2514. /package/dist/domain/core/{preset.d.ts → model/preset.d.ts} +0 -0
  2515. /package/dist/domain/core/{preset.js → model/preset.js} +0 -0
  2516. /package/dist/domain/{relations → core/relation}/direct-relation.js +0 -0
  2517. /package/dist/domain/core/{schema-validator-ajv.d.ts → schema/create-ajv-schema-validator.d.ts} +0 -0
  2518. /package/dist/domain/core/{schema-validator-ajv.js → schema/create-ajv-schema-validator.js} +0 -0
  2519. /package/dist/domain/core/{schema-validator-csp.d.ts → schema/create-csp-schema-validator.d.ts} +0 -0
  2520. /package/dist/domain/core/{schema-validator-csp.js → schema/create-csp-schema-validator.js} +0 -0
  2521. /package/dist/domain/core/{enhanced-json-schema.d.ts → schema/enhanced-json-schema.d.ts} +0 -0
  2522. /package/dist/domain/core/{json-schema.d.ts → schema/extended-schema-validator.d.ts} +0 -0
  2523. /package/dist/domain/core/{schema-validator.d.ts → schema/schema-validator.d.ts} +0 -0
  2524. /package/dist/domain/core/{state.js → state/state.js} +0 -0
  2525. /package/dist/domain/{expressions → domain-runtime/spec}/memoize-expression.js +0 -0
  2526. /package/dist/domain/{expressions → domain-runtime/spec}/prepare-domain-expressions.js +0 -0
  2527. /package/dist/domain/{system-components → extensions}/camera-based-hidden-entity-object.d.ts +0 -0
  2528. /package/dist/domain/{system-components → extensions}/camera-based-hidden-entity.d.ts +0 -0
  2529. /package/dist/domain/{system-components → extensions}/canvas-custom-environment.d.ts +0 -0
  2530. /package/dist/domain/{system-components → extensions}/color-value.d.ts +0 -0
  2531. /package/dist/domain/{system-components → extensions}/common/dimension-indicators.d.ts +0 -0
  2532. /package/dist/domain/{system-components → extensions}/common/dimension-indicators.js +0 -0
  2533. /package/dist/domain/{system-components → extensions}/common/editable-indicator-button-variant.d.ts +0 -0
  2534. /package/dist/domain/{system-components → extensions}/common/editable-indicator-button-variant.js +0 -0
  2535. /package/dist/domain/{system-components → extensions}/custom-price-footer.d.ts +0 -0
  2536. /package/dist/domain/{system-components → extensions}/finalize-component.d.ts +0 -0
  2537. /package/dist/domain/{system-components → extensions}/fit-selection-orthographic-camera-component.d.ts +0 -0
  2538. /package/dist/domain/{system-components → extensions}/fit-selection-perspective-camera-component.d.ts +0 -0
  2539. /package/dist/domain/{system-components → extensions}/multilingual-text-value.d.ts +0 -0
  2540. /package/dist/domain/{system-components → extensions}/rotatable.d.ts +0 -0
  2541. /package/dist/domain/{system-components → extensions}/scene-entity-animation.d.ts +0 -0
  2542. /package/dist/domain/{system-components → extensions}/scene-entity-control.d.ts +0 -0
  2543. /package/dist/domain/{system-components → extensions}/scene-entity-floor-object.d.ts +0 -0
  2544. /package/dist/domain/{system-components → extensions}/scene-entity-wall-object.d.ts +0 -0
  2545. /package/dist/domain/{system-components → extensions}/selectable-component.d.ts +0 -0
  2546. /package/dist/domain/{system-components → extensions}/simple-summary.d.ts +0 -0
  2547. /package/dist/domain/{system-components → extensions}/summary-component.d.ts +0 -0
  2548. /package/dist/domain/{system-components → extensions}/text-value.d.ts +0 -0
  2549. /package/dist/domain/{system-components → extensions}/tool-controls.d.ts +0 -0
  2550. /package/dist/domain/{system-components → extensions}/view-controls.d.ts +0 -0
  2551. /package/dist/{application-spec/core → domain/spec/application}/application-instance.d.ts +0 -0
  2552. /package/dist/{application-spec/core → domain/spec/application}/application-instance.js +0 -0
  2553. /package/dist/{application-spec/parse-application-files/spec/components/component-entry.js → domain/spec/components/sdk-code-ref.js} +0 -0
  2554. /package/dist/{application-spec/parse-application-files/spec/expressions/expression.js → domain/spec/expressions/sdk-expression-implementation.js} +0 -0
  2555. /package/dist/{application-spec/parse-application-files/spec/components → domain/spec/markers}/component-prop-target.d.ts +0 -0
  2556. /package/dist/{application-spec/parse-application-files/spec/components → domain/spec/markers}/component-prop-target.js +0 -0
  2557. /package/dist/{application-spec/core → domain/spec}/markers/eval-marker.d.ts +0 -0
  2558. /package/dist/{application-spec/core → domain/spec}/markers/eval-marker.js +0 -0
  2559. /package/dist/{configurator/configurator-context → react-sdk/domain-application-context}/OnPresetLoadedHandler.d.ts +0 -0
  2560. /package/dist/{configurator/configurator-context → react-sdk/integration}/IntegrationSubscription.d.ts +0 -0
  2561. /package/dist/{configurator/configurator-context → react-sdk/lifecycle-providers}/LifecycleProviders.d.ts +0 -0
  2562. /package/dist/{configurator/configurator-context → react-sdk/preset-selection}/PresetSelectionProvider.d.ts +0 -0
@@ -1 +1 @@
1
- import{DiagnosticCode as e}from"./diagnostic-codes.js";export const diagnosticMessages={[e.EMPTY_SPEC_FILE]:()=>'Spec file is empty. Every spec file must define at least one section ("model:", "components:", or "presets:"). Add content or remove the file.',[e.YAML_PARSE_ERROR]:e=>`YAML parse error: ${e}. Check for indentation issues, missing colons, or unquoted special characters.`,[e.SCHEMA_PARSE_ERROR]:(e,t)=>`Invalid value at "${e}": ${t}. Refer to the spec documentation for the expected structure at this path.`,[e.IMPORT_MODULE_NOT_FOUND]:(e,t)=>`Import module "${e}" resolves to "${t}", but no matching project source file exists. Add the source file or update import.module to a path relative to this spec file.`,[e.IMPORT_MODULE_OUTSIDE_PROJECT]:(e,t)=>`Import module "${e}" resolves outside the project root as "${t}", so its target cannot be verified. Confirm that the external file exists and that the path is intentional.`,[e.MOCK_TEMPLATE_PARSE_ERROR]:e=>`Mock template parse warning: ${e}. The mock template was skipped. Fix the YAML or remove the file.`,[e.MERGE_CONFLICT]:(e,t,n,a)=>`"model.${e}.${t}" is defined in both "${n}" and "${a}". Each subsection (entityTypes, aliases, shapes, commonTypes) can only appear once per version. Move all "${t}" for "${e}" into one file.`,[e.MISSING_MODEL]:e=>`No "${e}" section found. Every application must define at least "${e}.latest" with entity types and aliases. Add a "${e}:" section to a spec file.`,[e.MISSING_LATEST]:e=>`"${e}.latest" is missing. The "latest" version defines the current working model and is always required. Add "latest:" under "${e}:".`,[e.INVALID_VERSION_KEY]:e=>`"${e}" is not a valid version key. Version keys must be "latest" or "v1", "v2", etc. Rename "${e}".`,[e.MISSING_VERSION]:e=>`Model version "v${e}" is missing. Versions must be contiguous (v1, v2, …, latest) with no gaps. Add "v${e}:" or remove higher versions.`,[e.NAME_CLASH]:(e,t,n)=>`Name "${t}" is used as both a ${e} and a ${n}. Names must be unique across entity types, aliases, and commonTypes within a version. Rename one of them.`,[e.INVALID_ENTITY_TYPE_NAME]:e=>`"${e}" is not a valid entity type name. Entity types must be PascalCase (e.g. "Product", "KitchenRange"). Rename it.`,[e.DUPLICATE_ENTITY_TYPE]:e=>`Entity type "${e}" is declared more than once. Entity types must be unique. Remove the duplicate.`,[e.INVALID_ALIAS_NAME]:e=>`"${e}" is not a valid alias name. Aliases must be PascalCase (e.g. "RootEntity", "EditableItems"). Rename it.`,[e.RESERVED_ALIAS_NAME]:e=>`"${e}" is a reserved alias. "AnyDomainEntity" is auto-generated from all entity types and cannot be user-defined. Choose a different name.`,[e.MISSING_ROOT_ENTITY]:()=>'"RootEntity" alias is not defined. Every model must have a "RootEntity" alias that identifies which entity types can be used as configuration roots. Add "RootEntity: [YourType]" to your aliases.',[e.CIRCULAR_ALIAS]:e=>`Circular alias reference: ${e}. An alias cannot reference itself, directly or through other aliases. Remove one reference in the cycle.`,[e.UNKNOWN_ALIAS_MEMBER]:(e,t)=>`Alias "${e}" references "${t}", which is not a declared entity type or alias. Check the spelling or add "${t}" to entityTypes.`,[e.UNKNOWN_SHAPE_KEY]:e=>`Shape "${e}" does not match any declared entity type or alias. Shapes can only be defined for names that appear in entityTypes or aliases. Check the spelling or add "${e}" to entityTypes.`,[e.UNKNOWN_REFERENCE_TARGET]:(e,t,n)=>`"${e}.${t}" references "${n}", which is not a declared entity type or alias. Check the spelling or add "${n}" to entityTypes.`,[e.RESERVED_PROPERTY]:(e,t)=>`Property "${e}" on "${t}" is reserved. "id" and "type" are injected automatically and cannot appear in shapes. Remove "${e}" from the shape.`,[e.INVALID_SHAPE_PROPERTY_NAME]:e=>`"${e}" is not a valid shape property name. Property names must match /^[a-z]\\w*$/ — start with a lowercase letter, then word characters only (e.g. "height", "positionX", "hoodId"). Rename the property.`,[e.UNKNOWN_PHX_DEFINITION]:(e,t)=>`$ref "${e}" references unknown phoenix type "${t}". Available built-in types include DomainEntityId, Localizable, MultilingualString. Check the spelling.`,[e.UNKNOWN_COMMON_TYPE_REF]:(e,t)=>`$ref "${e}" references unknown commonType "${t}". The target must be declared in commonTypes of the same model version. Check the spelling or add "${t}" to commonTypes.`,[e.INVALID_REF]:e=>`$ref "${e}" is not a recognized reference format. Use "phx:TypeName" for built-in types, "common:TypeName" for commonTypes, or "#/model/{version}/commonTypes/{name}" for explicit version refs.`,[e.MISSING_MIGRATION]:e=>`No migration file for v${e}. Every version from v2 onward needs a migration (src/migrations/v${e}.ts) that transforms state from the previous version. Create the file.`,[e.MIGRATION_INVALID_START]:e=>`Migration "${e}" starts below v2. v1 is the initial version with no predecessor to migrate from. Remove this file.`,[e.UNKNOWN_MIGRATION]:(e,t,n)=>`Migration "${e}" targets v${t}, but the latest model version is v${n}. There is no model version for this migration to apply to. Remove the file or add model version v${t}.`,[e.PROTECTED_SHAPE]:e=>`Shape "${e}" cannot be user-defined. This entity type is part of the built-in admin model and its shape is managed by the system. Remove this shape.`,[e.PROTECTED_ALIAS]:e=>`Alias "${e}" cannot be user-defined in admin files. "RootEntity" and "CommonAdminEntity" are managed by the built-in admin model. Choose a different name.`,[e.RESERVED_ALIAS]:e=>`Alias "${e}" is auto-generated and cannot be user-defined. Remove this alias definition.`,[e.ALIAS_INCLUDES_COMMON]:(e,t)=>`Alias "${e}" includes "${t}", which is a built-in admin entity type. User aliases cannot include built-in admin types. Remove "${t}" from the alias.`,[e.PROTECTED_INVARIANT]:(e,t)=>`Invariant "${e}.${t}" is a built-in common admin invariant and cannot be overridden. Remove this declaration; the built-in implementation is always applied.`,[e.PROTECTED_RELATION]:(e,t)=>`Relation "${e}.${t}" is a built-in common admin relation and cannot be overridden. Remove this declaration; the built-in relation is always applied.`,[e.PROTECTED_EXPRESSION]:(e,t)=>`Expression "${e}.${t}" is reserved for the built-in common admin spec and cannot be user-defined. Rename this expression.`,[e.PROTECTED_COMMON_TYPE]:e=>`Common type "${e}" is part of the built-in admin model and cannot be user-defined. Choose a different name.`,[e.PROTECTED_ENTITY_TYPE]:e=>`Entity type "${e}" is part of the built-in admin model and cannot be re-declared. Remove it from entityTypes.`,[e.PRESET_UNKNOWN_ROOT_ENTITY_TYPE]:(e,t)=>`Preset rootEntityType "${e}" is not allowed. Allowed root types: ${t.join(", ")}. Use one of these or update the RootEntity alias.`,[e.PRESET_UNKNOWN_ENTITY_TYPE]:(e,t,n)=>`Preset entity "${e}" has type "${t}", which is not a declared entity type. Declared types: ${n.join(", ")}. Fix the type or add "${t}" to entityTypes.`,[e.PRESET_INVALID_ENTITY_ID_FORMAT]:e=>`Entity ID "${e}" does not follow the required format. IDs must match "TypeName-N" (e.g. "Product-1", "Hood-42"). Rename it.`,[e.PRESET_MISSING_ROOT_ENTITY]:e=>`Preset declares rootEntityType "${e}" but no entity of that type exists in initialDomainEntities. Add an entity with type "${e}".`,[e.PRESET_MULTIPLE_ROOT_ENTITIES]:(e,t)=>`Preset has ${t} entities of type "${e}", but exactly one root entity is required. Remove the extra "${e}" entities.`,[e.PRESET_ENTITY_SCHEMA_VIOLATION]:(e,t,n,a)=>`Preset entity "${e}" (${t}) has invalid data at ${n}: ${a}. Fix the value to match the entity schema.`,[e.PRESET_DUPLICATE_ENTITY_ID]:e=>`Preset entity ID "${e}" is used more than once. Entity IDs must be unique in a preset. Rename or remove the duplicate entity.`,[e.PRESET_ENTITY_ID_TYPE_MISMATCH]:(e,t,n)=>`Preset entity "${e}" has type "${t}", but its ID starts with "${n}". IDs must use the entity type prefix. Rename the ID to start with "${t}-" or change the entity type.`,[e.PRESET_UNKNOWN_REFERENCE]:(e,t,n)=>`Preset entity "${e}" references "${n}" from "${t}", but no entity with that ID exists in the preset. Add the referenced entity or update the reference.`,[e.PRESET_REFERENCE_TYPE_MISMATCH]:(e,t,n,a,i)=>`Preset entity "${e}" references "${n}" from "${t}", but the referenced entity has type "${a}". Allowed target types: ${i.join(", ")}. Use a matching entity ID.`,[e.PRESET_RELATION_CARDINALITY_VIOLATION]:(e,t,n,a)=>`Preset entity "${e}" violates relation "${t}" cardinality "${n}". The relation resolves ${a} entities. Add or remove referenced entities so the relation matches its cardinality.`,[e.PRESET_COMPOSITION_MULTIPLE_PARENTS]:(e,t,n)=>`Preset entity "${e}" is composed by both "${t}" and "${n}". Composition must form one tree. Remove one parent reference.`,[e.PRESET_COMPOSITION_CYCLE]:e=>`Preset composition contains a cycle at "${e}". Composition must form a tree from the root entity. Remove the cyclic reference.`,[e.PRESET_ENTITY_NOT_IN_COMPOSITION_TREE]:(e,t)=>`Preset entity "${e}" is not reachable from root entity "${t}" through composedOf relations. Add a composition relation path from the root or remove the entity.`,[e.ADMIN_PRESET_MULTIPLE_PER_FILE]:(e,t)=>`Admin file "${e}" has ${t} presets. Only 1 preset per admin file is allowed. Split into separate files or merge into one preset.`,[e.ADMIN_PRESET_ROOT_TYPE_NOT_ADMIN]:(e,t)=>`Admin preset in "${e}" has rootEntityType "${t}". Admin presets must always use rootEntityType "Admin". Change it to "Admin".`,[e.EXPRESSION_UNKNOWN_ENTITY_KEY]:(e,t)=>`Expression key "${e}" is not a declared entity type or alias. Known names: ${t.join(", ")}. Check the spelling or add "${e}" to entityTypes.`,[e.INVALID_EXPRESSION_NAME]:e=>`"${e}" is not a valid expression name. Expression names must start with "$" followed by camelCase (e.g. "$price", "$isValid"). Rename it.`,[e.DUPLICATE_EXPRESSION]:(e,t,n,a)=>`Expression "${e}.${t}" is produced by both "${n}" and "${a}" after alias expansion. Expression names must be unique for each concrete entity type. Remove one declaration or rename it.`,[e.EXPRESSION_RELATION_CONFLICT]:(e,t)=>`Expression "${e}.${t}" is declared in both "expressions:" and generated by a relation. User expressions cannot shadow relation-derived expressions. Remove the user declaration or rename the relation.`,[e.CONSTANTS_EXPRESSION_CONFLICT]:(e,t)=>`Expression "${e}.${t}" is declared in both "constants:" and "expressions:" in the same file. Use only one source of truth and migrate the legacy constant into "expressions:".`,[e.COMPONENT_RELATION_CONFLICT]:(e,t)=>`Component "${e}::${t}" is declared in both "components:" and generated by a relation. User components cannot shadow relation-derived components. Remove the user declaration or rename the relation.`,[e.COMPONENT_ALIAS_CONFLICT]:(e,t,n,a,i)=>`Component instance "${e}.${t}.${n}" is produced by both "${a}" and "${i}". Component instance names must be unique after alias expansion. Rename one instance or move the shared properties to one declaration.`,[e.COMPONENT_IMPORT_REF_UNSUPPORTED]:(e,t,n,a,i,s)=>`Component prop "${e}.${t}.${n}.${a}" uses unsupported $importRef "${i}#${s}". Application-spec component values are part of the webhook-included domain and cannot reference frontend modules. Fix: remove $importRef from the spec and attach the component from a frontend-only file in src/components.`,[e.COMPONENT_DATA_REF_UNSUPPORTED]:(e,t,n,a,i,s)=>`Component prop "${e}.${t}.${n}.${a}" combines "$read: ${i}" with the legacy "$data: ${s}" marker. Application-spec components resolve "$read" against entity fields and declared expressions only, so the combined marker never becomes a binding. Fix: remove "$data" and implement "${i}" with createDataSwatchMap('${s.split(".").at(-1)??s}') in the project's custom expressions.`,[e.INVALID_INVARIANT_NAME]:e=>`"${e}" is not a valid invariant name. Invariant names must start with a lowercase letter and contain only word characters (e.g. "nameNotEmpty"). Rename it.`,[e.INVALID_VIOLATION_TYPE_NAME]:e=>`"${e}" is not a valid violation type. Violation types must start with a lowercase letter and contain only letters, digits, underscores, or hyphens (e.g. "name-empty"). Rename it.`,[e.INVARIANT_UNKNOWN_ENTITY_KEY]:(e,t)=>`Invariants are declared for "${e}", which is not an entity type or alias in the model. Known names: ${t.join(", ")}. Check the spelling or add "${e}" to entityTypes.`,[e.INVARIANT_MANUAL_VIOLATIONS_COMPONENT]:e=>`Component "violations" on "${e}" cannot be declared manually because invariant parsing generates it automatically. Remove the manual component declaration.`,[e.INVARIANT_VIOLATIONS_EXPRESSION_CONFLICT]:(e,t)=>`Expression "${e}.$violations" is declared in "${t}:" but invariant parsing generates it automatically for the same entity type. Remove the declaration or rename it.`,[e.INVALID_RELATION_NAME]:e=>`"${e}" is not a valid relation name. Relation names must start with "$" followed by camelCase (e.g. "$top", "$legs"). Rename it.`,[e.RELATION_UNKNOWN_ENTITY_KEY]:(e,t)=>`Relations declared for "${e}" which is not an entity type or alias in the model. Known names: ${t.join(", ")}. Check the spelling or add "${e}" to entityTypes.`,[e.RELATION_UNKNOWN_TARGET]:(e,t,n,a)=>`Relation "${e}.${t}" targets "${n}" which is not an entity type or alias in the model. Known names: ${a.join(", ")}. Check the spelling or add "${n}" to entityTypes.`,[e.RELATION_UNKNOWN_FIELD_DIRECT]:(e,t,n)=>`Relation "${e}.${t}" references field "${n}" which does not exist in the shape of "${e}". Add "${n}" to the "${e}" schema or pick a different field.`,[e.RELATION_UNKNOWN_FIELD_INDIRECT]:(e,t,n,a)=>`Relation "${e}.${t}" references field "${n}" which does not exist in the shape of target "${a}". Add "${n}" to the "${a}" schema or pick a different field.`,[e.RELATION_IMMUTABLE_FIELD]:(e,t,n,a)=>`Relation "${e}.${t}" uses implicit field "${n}" on "${a}" as a relation reference holder. Implicit fields "id" and "type" are immutable and cannot hold relation references. Choose a writable shape field on "${a}".`,[e.RELATION_MISSING_COUNTERPART]:(e,t,n,a,i,s)=>{let o=void 0!==i?` with field "${i}"`:"",r=s?`Set "composedOf: false" on the counterpart because "${e}.${t}" already owns the composition.`:'Set "composedOf: false" on the counterpart for a cross-reference, or "composedOf: true" if the counterpart should own the composition.';return`Relation "${e}.${t}" (${n} → "${a}"${void 0!==i?`, field "${i}"`:""}) has no counterpart on "${a}". Every relation must be declared from both sides — add a "${"allOfType"===n?"allOfType":"direct"===n?"indirect":"direct"}" relation on "${a}" targeting "${e}"${o}. ${r}`},[e.RELATION_COUNTERPART_COMPOSED_OF_MISMATCH]:(e,t,n,a)=>`Relation "${e}.${t}" and its counterpart "${n}.${a}" both use "composedOf: true". A relation pair can have at most one composition owner — set "composedOf: false" on one side.`,[e.RELATION_ENTITY_NOT_IN_COMPOSITION_TREE]:(e,t)=>`Entity "${e}" is not reachable from any root entity type (${t.join(", ")}) via "composedOf: true" relations. Every declared entity must be part of the composition tree, otherwise instances of it can never appear in a valid domain state. Add a relation with "composedOf: true" from a reachable parent, or include "${e}" in the RootEntity alias.`,[e.DUPLICATE_DATA_SCHEMA]:(e,t,n)=>`"${e}" is defined in both "${t}" and "${n}". Each data schema can only be declared in one file. Remove the duplicate.`,[e.ADMIN_DATA_SCHEMA]:(e,t)=>`"${e}" is declared in admin spec "${t}". Data schemas are configurator-only. Move "${e}" to a non-admin spec file.`,[e.SESSION_DATA_REQUIRED_PROPERTIES]:(e,t)=>`sessionData in "${t}" declares required properties (${e.map(e=>`"${e}"`).join(", ")}), but admin and preset sessions do not carry custom session data. Remove these properties from required or set required to an empty array.`,[e.CLERK_SESSION_DATA_INCOMPATIBLE]:e=>`sessionData is not compatible with the built-in Clerk session payload: ${e.join("; ")}. When "useClerk" is true, the SDK's Clerk auth handlers return { id: string, accessToken: string, tags: string[], emailAddress: string, fullName: string | null }, and runtime session parsing rejects any payload the schema does not accept. Declare all five properties with these exact types (the "type" keyword is compared literally, so $ref, anyOf, and oneOf forms are not recognized) and keep them out of "required" so anonymous sessions stay valid. Extra project-defined properties are allowed.`,[e.RESERVED_PUBLISHED_DATA_KEY]:e=>`publishedData property "${e}" is reserved by the admin system. Properties like "presetCategories" and "recipes" are auto-injected. Remove "${e}" from your publishedData properties.`,[e.DUPLICATE_STATE_FIELD]:(e,t,n)=>`"${e}" is defined in both "${t}" and "${n}". Each state field can only be declared in one file. Remove the duplicate.`,[e.INVALID_STATE_KEY]:(e,t)=>`State key "${t}" in "${e}" is not a valid identifier. State keys must start with a letter and contain only letters, digits, or underscores (e.g. "overview", "detailView"). Rename it.`,[e.DUPLICATE_STATE_VALUE]:(e,t)=>`State value "${t}" appears more than once in "${e}". Each value within a state array must be unique. Remove the duplicate.`,[e.DUPLICATE_THEME_FIELD]:(e,t,n)=>`"${e}" is defined in both "${t}" and "${n}". Each theme field can only be declared in one file. Remove the duplicate.`,[e.DUPLICATE_UI_FIELD]:(e,t,n)=>`"${e}" is defined in both "${t}" and "${n}". Each UI field can only be declared in one file. Remove the duplicate.`,[e.CONFLICTING_TRANSFORMERS]:(e,t)=>`Transformers are declared in both "${e}" and "${t}". The "transformers" section can only appear in one spec file. Move all transformers into a single file.`,[e.DUPLICATE_TRANSFORMER]:(e,t)=>`Transformer "${e}" is declared twice in "${t}". Transformer names must be unique within the file. Remove the duplicate entry.`,[e.DUPLICATE_TRANSFORMER_FILE]:(e,t)=>`Transformer files "${e}" and "${t}" resolve to the same transformer name. Transformers are matched by file name, ignoring folders, letter case, and dashes. Rename one of the files so every transformer file name is unique.`,[e.UNMATCHED_TRANSFORMER]:(e,t)=>`Transformer "${e}" has no matching file in "src/transformers/". Every name listed under "transformers:" must correspond to a transformer module. ${t.length>0?`Available transformers: ${t.map(e=>`"${e}"`).join(", ")}. Check the spelling or add "src/transformers/${e}.ts".`:`No transformer files were found in "src/transformers/". Add "src/transformers/${e}.ts" or remove the entry.`}`,[e.DUPLICATE_APP_METADATA_FIELD]:(e,t,n)=>`"${e}" is defined in both "${t}" and "${n}". Each metadata field can only be declared in one file. Remove the duplicate.`,[e.DUPLICATE_INFRA_FIELD]:(e,t,n)=>`"${e}" is defined in both "${t}" and "${n}". Each infrastructure field can only be declared in one file. Remove the duplicate.`,[e.INVALID_APPLICATION_VERSION]:e=>`"${e}" is not a valid applicationVersion. Version must be semver (x.y.z) using three numeric segments (e.g. "1.0.0", "2.3.12"). Update "applicationVersion" to match.`,[e.INVALID_ENV_VAR_KEY]:(e,t)=>`"${t}" is not a valid env.${e} variable name. Env var names must match /^[A-Z_][A-Z0-9_]*$/ — uppercase letters, digits, and underscores; must not start with a digit (e.g. "API_URL", "_PRIVATE_FLAG"). Rename the variable.`,[e.DUPLICATE_ADMIN_PAGES]:(e,t)=>`"$adminPages" is defined in both "${e}" and "${t}". Admin pages can only be declared in one admin spec file. Move all "$adminPages" settings into one admin file.`,[e.ADMIN_PAGES_NAV_STATE_CONFLICT]:e=>`Admin navigation states [${e.join(", ")}] are declared manually and generated from "$adminPages". Remove the manual entries from "navigationStates" in the admin spec or change the "$adminPages" navigationState values.`,[e.ADMIN_PAGE_DATA_ENTRY_CONFLICT]:(e,t)=>`"$adminPages.pages.${e}.connectedDataEntry" references data entry "${t}". This data entry already creates an inferred admin data page. Remove the explicit admin page connection or change the data entry kind.`,[e.CONFLICTING_BUDGETS]:(e,t)=>`"budgets" is declared in both "${e}" and "${t}". The "budgets" section can only appear in one spec file. Move all bundle-size budgets into a single file.`,[e.CONFLICTING_CHUNKS]:(e,t)=>`"chunks" is declared in both "${e}" and "${t}". The "chunks" section can only appear in one spec file. Move all chunk definitions into a single file.`,[e.CONFLICTING_ASSISTANT]:(e,t)=>`"assistant" is declared in both "${e}" and "${t}". The "assistant" manifest can only appear in one spec file. Move the whole "assistant" section into a single file.`,[e.ASSISTANT_UNKNOWN_TYPE]:(e,t)=>`"assistant.${e}.${t}" does not name an entity type or alias of the latest model, so it has nothing to ${({entities:"expose",deletable:"make deletable",writable:"make writable",childRecipes:"add children to",replaceRecipes:"replace"})[e]}. Use an entity type or alias name from "model.latest", or remove the entry.`,[e.ASSISTANT_UNKNOWN_FIELD]:(e,t,n)=>n.startsWith("$")?`"assistant.entities.${t}.${n}" is not an expression declared on "${t}". The assistant schema exposes expressions declared in "expressions", "constants" or "relations" on the entity type or alias itself, and on an entity type also those of its aliases; an expression only inferred from a component "$read" is not declared. Declare "${n}" in "expressions", "constants" or "relations" on "${t}" (for an entity type, an alias containing it also works), or remove the entry.`:`"assistant.${e}.${t}.${n}" is not a stored field of "${t}". The assistant schema ${"entities"===e?"exposes":"writes"} shape properties of the entity type or alias, including fields every alias member has. Use a property from the "${t}" shape, or remove the entry.`,[e.ASSISTANT_UNSUPPORTED_EXPRESSION]:(e,t)=>`"assistant.entities.${e}.${t}" whitelists the "$violations" expression, which the assistant schema does not expose yet: violations get their own typed edge in CON-2869. Remove the entry.`,[e.ASSISTANT_NOT_WRITABLE]:(e,t)=>`"assistant.writable.${e}.${t}" cannot be written: ${t.startsWith("$")?"an expression is computed from the state, not stored":`"${t}" identifies the entity and never changes`}. Only stored shape properties other than "id" and "type" can be writable. Remove the entry${t.startsWith("$")?", or make the stored fields the expression reads writable instead":""}.`,[e.ASSISTANT_UNKNOWN_RECIPE_GROUP]:({section:e,component:t},n,a,i,s)=>`"assistant.${e}.${n}.groups.${a}" does not name a "${t}" component instance on "${i}", so there are no recipes to expose. ${s.length>0?`"${i}" has these "${t}" instances: ${s.join(", ")}.`:`"${i}" has no "${t}" component.`} Use the instance name of a "${t}" component attached to the entity type or to an alias containing it, or remove the entry.`,[e.ASSISTANT_DUPLICATE_RECIPE_GROUP]:({section:e,mutation:t},n,a,i)=>`"${n}" gets the recipe group id "${a}" from both "assistant.${e}.${i.join(`" and "assistant.${e}.`)}", but "${t}" finds a group of an entity by its id. The entries may come from "${n}" itself or from aliases containing it. Give one of them another id with "as".`,[e.ASSISTANT_META_TYPE_NAME_CONFLICT]:(e,t)=>`This entry exposes a recipe group or the options of a field on "${e}", so the assistant schema generates the type "${t}" for them, but the model already has an entity type or alias named "${t}". Rename that entity type or alias, or remove every "assistant.childRecipes" and "assistant.replaceRecipes" group and every "options" of a writable field of "${e}".`,[e.ASSISTANT_UNKNOWN_OPTIONS_COMPONENT]:(e,{componentType:t,instanceName:n},a,i)=>`"assistant.writable.${e}.options" names the "${t}" instance "${n}", which "${a}" does not have, so there are no choices to list. ${i.length>0?`"${a}" has these "${t}" instances: ${i.join(", ")}.`:`"${a}" has no "${t}" component.`} Use the name of a "${t}" instance attached to the entity type or to an alias containing it, correct "componentType", or remove "options".`,[e.ASSISTANT_RESERVED_OPTIONS_EDGE_NAME]:(e,t,n)=>`"assistant.writable.${e}.options" would add the edge "${t}" to the meta type, but that name is taken by a recipe groups edge. Name the edge differently with "as", e.g. "as: ${n}Choices".`,[e.ASSISTANT_DUPLICATE_OPTIONS_EDGE]:(e,t,n)=>`"${e}" gets ${"edgeName"in t?`the options edge "${t.edgeName}"`:`options for the field "${t.field}"`} from both "assistant.writable.${n.join('.options" and "assistant.writable.')}.options", but ${"edgeName"in t?"one edge lists the choices of one field":"a written value is checked against one list of choices"}. The entries may come from "${e}" itself or from aliases containing it. ${"edgeName"in t?'Give one of them another name with "as", or remove':"Remove"} "options" from one of them.`,[e.ASSISTANT_RESERVED_FIELD_NAME]:(e,t,n)=>`"assistant.entities.${e}.${t}" is exposed as "${n}", which the assistant schema reserves ("id", "type" and "meta" are reserved on every type). Expose it under another name with "as", e.g. "as: ${t}Value".`,[e.ASSISTANT_FIELD_NAME_CONFLICT]:(e,t,n,a)=>void 0===a?`"${t}" on "${e}" in the assistant schema maps to both "${n.join('" and "')}", but one GraphQL field can read only one stored field or expression. The entries may come from "${e}" itself or from aliases containing it. Rename one of them with "as".`:`"assistant.writable.${a}" makes "${t}" writable on "${e}" without exposing it, so its delta field would be named "${t}", but "assistant.entities" already exposes "${n[0]}" on "${e}" under that name. One name cannot read one stored field or expression and write another. Expose "${t}" in "assistant.entities" under another name with "as", or rename the entry that exposes "${n[0]}".`,[e.ASSISTANT_RESERVED_TYPE_NAME]:(e,t)=>`"${e}" is an entity type or alias name that the assistant GraphQL schema reserves for its own types (${t.join(", ")}), so the schema cannot be generated. Rename the entity type or alias, or remove the "assistant" section.`,[e.ASSISTANT_INVALID_SCHEMA]:e=>`The GraphQL schema generated from the "assistant" manifest is invalid: ${e.join(" ")} This usually means aliases sharing an entity whitelist the same field with different types. Whitelist the field on one alias only, or rename one entry with "as".`,[e.INVALID_CHUNK_KEY]:e=>`"${e}" is not a valid chunk key. Chunk keys must be lowercase kebab-case matching /^[a-z][a-z0-9]*(-[a-z0-9]+)*$/ (e.g. "main", "swatch-data"). Rename the chunk.`,[e.RESERVED_CHUNK_KEY]:()=>'"system" is a reserved chunk key used for presets and recipes. It cannot be user-defined and is auto-injected after validation. Please use a different key name.',[e.CONFLICTING_DATA_ENTRY]:(e,t,n,a)=>`"$data.${e}.${t}" is defined in both "${n}" and "${a}". Each data entry key can only be declared once per section. Move the entry into one file, delete the duplicate, or rename one entry.`,[e.INVALID_DATA_ENTRY_KEY]:(e,t)=>`"$data.${e}.${t}" is not a valid data entry key. Data entry keys must start with a letter, followed by letters, digits, or underscores (/^[A-Za-z]\\w*$/, e.g. "colorOptions" or "ColorOptions"). Rename the entry.`,[e.INVALID_DATA_DEFINITION_FIELD_KEY]:(e,t)=>`"$data.custom.${e}.definition.${t}" is not a valid field key. Definition field keys must match /^\\$?[a-z][\\w.-]*$/ — start with lowercase or "$", then letters, digits, "_", ".", or "-". Rename the field.`,[e.UNKNOWN_DATA_CHUNK]:(e,t,n)=>`"$data.${e}.${t}" references unknown chunk "${n}". The chunk reference must match a key declared under "chunks:". Add the chunk or update the entry chunk.`,[e.INVALID_DATA_VALUE]:(e,t,n,a)=>`"$data.custom.${e}.values[${t}].${n}" has an invalid value. Expected ${a}. Fix the value or update the field definition.`,[e.DEFAULTS_UNKNOWN_ENTITY_KEY]:(e,t)=>`Defaults declared for "${e}" which is not an entity type or alias in the model. Known names: ${t.join(", ")}. Check the spelling or add "${e}" to entityTypes.`,[e.DEFAULTS_UNKNOWN_PROPERTY]:(e,t,n,a)=>{let i=n.length>0?n.join(", "):"(none)",s=a&&a.length>0?` Alias member(s) missing "${t}": ${a.join(", ")}.`:"";return`Default "${e}.${t}" refers to a property that does not exist on the shape of "${e}". Known properties: ${i}.${s} Remove the default or add "${t}" to the shape.`},[e.DEFAULTS_SCHEMA_VIOLATION]:(e,t,n,a,i)=>{let s=i?` (alias member "${i}")`:"",o=n&&"(root)"!==n?` at "${n}"`:"";return`Default "${e}.${t}"${s} does not match the entity shape${o}: ${a}. Defaults must be assignable to their shape property. Fix the value or update the shape.`},[e.DEFAULTS_DEPRECATED]:()=>'The "defaults:" section is deprecated. Defaults remain supported for legacy parity, but new specs should model initial values as "$data" entries — see spec/application-specification/parsing/data-chunks.md. Defaults are planned for removal once the $data migration path is documented.',[e.COMPONENT_INVALID_INSTANCE_NAME]:(e,t,n)=>`Component instance name "${n}" in "${e}.${t}" is not a valid identifier. Instance names must start with a letter and contain only letters, digits, or underscores (e.g. "default", "body", "main"). Rename it.`,[e.COMPONENT_MERGE_CONFLICT]:(e,t,n,a,i)=>`Component instance "${e}.${t}.${n}" is defined in both "${a}" and "${i}". Each component instance can only appear in one file. Remove the duplicate.`,[e.COMPONENT_UNKNOWN_ENTITY_KEY]:(e,t)=>`Components declared for "${e}" which is not an entity type or alias in the model. Known names: ${t.join(", ")}. Check the spelling or add "${e}" to entityTypes.`,[e.READ_BINDING_UNKNOWN_FIELD]:(e,t,n,a,i)=>`$read binding "${a}" in "${e}.${t}.${n}" references field "${i}" which does not exist in the shape of "${e}". Add "${i}" to the shape or fix the $read target.`,[e.WRITE_BINDING_UNKNOWN_FIELD]:(e,t,n,a,i)=>`$write/$bind "${a}" in "${e}.${t}.${n}" targets field "${i}" which does not exist in the shape of "${e}". Add "${i}" to the shape or fix the target.`,[e.WRITE_BINDING_IMMUTABLE_FIELD]:(e,t,n,a,i)=>`$write/$bind "${a}" in "${e}.${t}.${n}" targets implicit field "${i}". Implicit fields "id" and "type" are immutable and cannot be changed. Use $read to consume the field or choose a writable shape field.`,[e.WRITE_BINDING_EXPRESSION_TARGET]:(e,t,n,a,i)=>`$write/$bind "${a}" in "${e}.${t}.${n}" targets "${i}" which is an expression. Write targets must be entity shape fields, not expressions. Use $read for expression bindings, $write/$bind for shape fields.`,[e.WRITE_BINDING_DUPLICATE_TARGET]:(e,t,n,a,i,s)=>`Entity field "${a}" is written by both "${i}" and "${s}" in "${e}.${t}.${n}". Each entity field can only be written by one component property. Remove one of the bindings.`,[e.UNKNOWN_SRC_PATH]:e=>`File "${e}" is in an unknown src/ folder. Only known folders (expressions, invariants, components, transformers, handlers, elements, webhooks, locales, admin/*, migrations) or _-prefixed shared folders are allowed. Move the file or rename the folder with a "_" prefix.`,[e.INVALID_SUBDIRECTORY]:(e,t)=>`File "${e}" is nested inside "${t}", but migrations must be flat. Move the migration file directly into "${t}" or prefix the folder with "_".`,[e.MISSING_WEBHOOK_INDEX]:()=>"Files found in src/webhooks/ but src/webhooks/index.ts is missing. The webhook entry point requires a default export from src/webhooks/index.ts. Create the file with a default export of your webhook handler.",[e.MODULE_ANALYSIS_FAILED]:(e,t)=>`Cannot analyze module "${e}": ${t}. Fix the file's syntax so its imports and webhook membership can be determined.`,[e.WEBHOOK_UNSAFE_IMPORT]:(e,t,n,a)=>`Webhook-included file "${e}" is not server-safe: it is included because ${t}, but "${n}" imports client-only "${a}". Fix: remove or isolate the client-only import, or remove the file's webhook membership.`,[e.ENHANCED_JSON_VALUE_EVAL_NOT_ALLOWED]:()=>'"$eval" is not allowed in this position. "$eval" requires "self", which is only available inside expressions and component props — it is not available in static slots such as defaults. Replace the "$eval" with a literal value, "$msg", or move the dynamic logic into an "expressions:" entry.',[e.ENHANCED_JSON_VALUE_MSG_NOT_ALLOWED]:()=>'"$msg" is not allowed in this position. This slot does not accept localized messages (e.g. component props, which are resolved without an i18n context). Replace "$msg" with a plain string, or move the message into a slot that supports i18n such as defaults or expressions.',[e.ENHANCED_JSON_VALUE_EVAL_NOT_STATICALLY_INFERABLE]:e=>`Could not infer a schema from "$eval: ${e}" because the expression is not statically foldable. Add explicit schema keys to the expression entry, or use only literals, constant operators, and deterministic Math members.`,[e.ENHANCED_JSON_VALUE_CODE_REF_NOT_SUPPORTED]:()=>'"$codeRef" with an inline "code" block is no longer supported by the application spec parser. It was never evaluated — the value was carried through as plain data. Use "$eval" instead, for example "$eval: \'4 * 25.4\'". "$eval" folds literals, constant operators, and deterministic Math members at parse time; anything else needs explicit schema keys.'};
1
+ import{ASSISTANT_AI_PROVIDERS as e,ASSISTANT_MODEL_TIERS as t,ASSISTANT_REASONING_LEVELS as n}from"@salsita-ai/contracts/assistant";import{DiagnosticCode as a}from"./diagnostic-codes.js";export const diagnosticMessages={[a.EMPTY_SPEC_FILE]:()=>'Spec file is empty. Every spec file must define at least one section ("model:", "components:", or "presets:"). Add content or remove the file.',[a.YAML_PARSE_ERROR]:e=>`YAML parse error: ${e}. Check for indentation issues, missing colons, or unquoted special characters.`,[a.NON_FINITE_NUMBER]:(e,t)=>`Invalid number at "${e}": ${t} is not a finite number. JSON, the schemas and the stored configuration have no infinite or not-a-number value, so it cannot be checked or saved. Write a finite number, or leave the key out if it sets no limit.`,[a.SCHEMA_PARSE_ERROR]:(e,t)=>`Invalid value at "${e}": ${t}. Refer to the spec documentation for the expected structure at this path.`,[a.IMPORT_MODULE_NOT_FOUND]:(e,t)=>`Import module "${e}" resolves to "${t}", but no matching project source file exists. Add the source file or update import.module to a path relative to this spec file.`,[a.IMPORT_MODULE_OUTSIDE_PROJECT]:(e,t)=>`Import module "${e}" resolves outside the project root as "${t}", so its target cannot be verified. Confirm that the external file exists and that the path is intentional.`,[a.MOCK_TEMPLATE_PARSE_ERROR]:e=>`Mock template parse warning: ${e}. The mock template was skipped. Fix the YAML or remove the file.`,[a.MERGE_CONFLICT]:(e,t,n,a)=>`"model.${e}.${t}" is defined in both "${n}" and "${a}". Each subsection (entityTypes, aliases, shapes, commonTypes) can only appear once per version. Move all "${t}" for "${e}" into one file.`,[a.MISSING_MODEL]:e=>`No "${e}" section found. Every application must define at least "${e}.latest" with entity types and aliases. Add a "${e}:" section to a spec file.`,[a.MISSING_LATEST]:e=>`"${e}.latest" is missing. The "latest" version defines the current working model and is always required. Add "latest:" under "${e}:".`,[a.INVALID_VERSION_KEY]:e=>`"${e}" is not a valid version key. Version keys must be "latest" or "v1", "v2", etc. Rename "${e}".`,[a.MISSING_VERSION]:e=>`Model version "v${e}" is missing. Versions must be contiguous (v1, v2, …, latest) with no gaps. Add "v${e}:" or remove higher versions.`,[a.NAME_CLASH]:(e,t,n)=>`Name "${t}" is used as both a ${e} and a ${n}. Names must be unique across entity types, aliases, and commonTypes within a version. Rename one of them.`,[a.INVALID_ENTITY_TYPE_NAME]:e=>`"${e}" is not a valid entity type name. Entity types must be PascalCase (e.g. "Product", "KitchenRange"). Rename it.`,[a.DUPLICATE_ENTITY_TYPE]:e=>`Entity type "${e}" is declared more than once. Entity types must be unique. Remove the duplicate.`,[a.INVALID_ALIAS_NAME]:e=>`"${e}" is not a valid alias name. Aliases must be PascalCase (e.g. "RootEntity", "EditableItems"). Rename it.`,[a.RESERVED_ALIAS_NAME]:e=>`"${e}" is a reserved alias. "AnyDomainEntity" is auto-generated from all entity types and cannot be user-defined. Choose a different name.`,[a.MISSING_ROOT_ENTITY]:()=>'"RootEntity" alias is not defined. Every model must have a "RootEntity" alias that identifies which entity types can be used as configuration roots. Add "RootEntity: [YourType]" to your aliases.',[a.CIRCULAR_ALIAS]:e=>`Circular alias reference: ${e}. An alias cannot reference itself, directly or through other aliases. Remove one reference in the cycle.`,[a.UNKNOWN_ALIAS_MEMBER]:(e,t)=>`Alias "${e}" references "${t}", which is not a declared entity type or alias. Check the spelling or add "${t}" to entityTypes.`,[a.UNKNOWN_SHAPE_KEY]:e=>`Shape "${e}" does not match any declared entity type or alias. Shapes can only be defined for names that appear in entityTypes or aliases. Check the spelling or add "${e}" to entityTypes.`,[a.UNKNOWN_REFERENCE_TARGET]:(e,t,n)=>`"${e}.${t}" references "${n}", which is not a declared entity type or alias. Check the spelling or add "${n}" to entityTypes.`,[a.RESERVED_PROPERTY]:(e,t)=>`Property "${e}" on "${t}" is reserved. "id" and "type" are injected automatically and cannot appear in shapes. Remove "${e}" from the shape.`,[a.INVALID_SHAPE_PROPERTY_NAME]:e=>`"${e}" is not a valid shape property name. Property names must match /^[a-z]\\w*$/ — start with a lowercase letter, then word characters only (e.g. "height", "positionX", "hoodId"). Rename the property.`,[a.UNKNOWN_PHX_DEFINITION]:(e,t)=>`$ref "${e}" references unknown phoenix type "${t}". Available built-in types include DomainEntityId, Localizable, MultilingualString. Check the spelling.`,[a.UNKNOWN_COMMON_TYPE_REF]:(e,t)=>`$ref "${e}" references unknown commonType "${t}". The target must be declared in commonTypes of the same model version. Check the spelling or add "${t}" to commonTypes.`,[a.INVALID_REF]:e=>`$ref "${e}" is not a recognized reference format. Use "phx:TypeName" for built-in types, "common:TypeName" for commonTypes, or "#/model/{version}/commonTypes/{name}" for explicit version refs.`,[a.MISSING_MIGRATION]:e=>`No migration file for v${e}. Every version from v2 onward needs a migration (src/migrations/v${e}.ts) that transforms state from the previous version. Create the file.`,[a.MIGRATION_INVALID_START]:e=>`Migration "${e}" starts below v2. v1 is the initial version with no predecessor to migrate from. Remove this file.`,[a.UNKNOWN_MIGRATION]:(e,t,n)=>`Migration "${e}" targets v${t}, but the latest model version is v${n}. There is no model version for this migration to apply to. Remove the file or add model version v${t}.`,[a.PROTECTED_SHAPE]:e=>`Shape "${e}" cannot be user-defined. This entity type is part of the built-in admin model and its shape is managed by the system. Remove this shape.`,[a.PROTECTED_ALIAS]:e=>`Alias "${e}" cannot be user-defined in admin files. "RootEntity" and "CommonAdminEntity" are managed by the built-in admin model. Choose a different name.`,[a.RESERVED_ALIAS]:e=>`Alias "${e}" is auto-generated and cannot be user-defined. Remove this alias definition.`,[a.ALIAS_INCLUDES_COMMON]:(e,t)=>`Alias "${e}" includes "${t}", which is a built-in admin entity type. User aliases cannot include built-in admin types. Remove "${t}" from the alias.`,[a.PROTECTED_INVARIANT]:(e,t)=>`Invariant "${e}.${t}" is a built-in common admin invariant and cannot be overridden. Remove this declaration; the built-in implementation is always applied.`,[a.PROTECTED_RELATION]:(e,t)=>`Relation "${e}.${t}" is a built-in common admin relation and cannot be overridden. Remove this declaration; the built-in relation is always applied.`,[a.PROTECTED_EXPRESSION]:(e,t)=>`Expression "${e}.${t}" is reserved for the built-in common admin spec and cannot be user-defined. Rename this expression.`,[a.PROTECTED_COMMON_TYPE]:e=>`Common type "${e}" is part of the built-in admin model and cannot be user-defined. Choose a different name.`,[a.PROTECTED_ENTITY_TYPE]:e=>`Entity type "${e}" is part of the built-in admin model and cannot be re-declared. Remove it from entityTypes.`,[a.PRESET_UNKNOWN_ROOT_ENTITY_TYPE]:(e,t)=>`Preset rootEntityType "${e}" is not allowed. Allowed root types: ${t.join(", ")}. Use one of these or update the RootEntity alias.`,[a.PRESET_UNKNOWN_ENTITY_TYPE]:(e,t,n)=>`Preset entity "${e}" has type "${t}", which is not a declared entity type. Declared types: ${n.join(", ")}. Fix the type or add "${t}" to entityTypes.`,[a.PRESET_INVALID_ENTITY_ID_FORMAT]:e=>`Entity ID "${e}" does not follow the required format. IDs must match "TypeName-N" (e.g. "Product-1", "Hood-42"). Rename it.`,[a.PRESET_MISSING_ROOT_ENTITY]:e=>`Preset declares rootEntityType "${e}" but no entity of that type exists in initialDomainEntities. Add an entity with type "${e}".`,[a.PRESET_MULTIPLE_ROOT_ENTITIES]:(e,t)=>`Preset has ${t} entities of type "${e}", but exactly one root entity is required. Remove the extra "${e}" entities.`,[a.PRESET_ENTITY_SCHEMA_VIOLATION]:(e,t,n,a)=>`Preset entity "${e}" (${t}) has invalid data at ${n}: ${a}. Fix the value to match the entity schema.`,[a.PRESET_DUPLICATE_ENTITY_ID]:e=>`Preset entity ID "${e}" is used more than once. Entity IDs must be unique in a preset. Rename or remove the duplicate entity.`,[a.PRESET_ENTITY_ID_TYPE_MISMATCH]:(e,t,n)=>`Preset entity "${e}" has type "${t}", but its ID starts with "${n}". IDs must use the entity type prefix. Rename the ID to start with "${t}-" or change the entity type.`,[a.PRESET_UNKNOWN_REFERENCE]:(e,t,n)=>`Preset entity "${e}" references "${n}" from "${t}", but no entity with that ID exists in the preset. Add the referenced entity or update the reference.`,[a.PRESET_REFERENCE_TYPE_MISMATCH]:(e,t,n,a,s)=>`Preset entity "${e}" references "${n}" from "${t}", but the referenced entity has type "${a}". Allowed target types: ${s.join(", ")}. Use a matching entity ID.`,[a.PRESET_RELATION_CARDINALITY_VIOLATION]:(e,t,n,a)=>`Preset entity "${e}" violates relation "${t}" cardinality "${n}". The relation resolves ${a} entities. Add or remove referenced entities so the relation matches its cardinality.`,[a.PRESET_COMPOSITION_MULTIPLE_PARENTS]:(e,t,n)=>`Preset entity "${e}" is composed by both "${t}" and "${n}". Composition must form one tree. Remove one parent reference.`,[a.PRESET_COMPOSITION_CYCLE]:e=>`Preset composition contains a cycle at "${e}". Composition must form a tree from the root entity. Remove the cyclic reference.`,[a.PRESET_ENTITY_NOT_IN_COMPOSITION_TREE]:(e,t)=>`Preset entity "${e}" is not reachable from root entity "${t}" through composedOf relations. Add a composition relation path from the root or remove the entity.`,[a.ADMIN_PRESET_MULTIPLE_PER_FILE]:(e,t)=>`Admin file "${e}" has ${t} presets. Only 1 preset per admin file is allowed. Split into separate files or merge into one preset.`,[a.ADMIN_PRESET_ROOT_TYPE_NOT_ADMIN]:(e,t)=>`Admin preset in "${e}" has rootEntityType "${t}". Admin presets must always use rootEntityType "Admin". Change it to "Admin".`,[a.ACTIONS_IN_ADMIN_FILE]:e=>`"${e}" is an admin spec file ("$admin: true") but declares "actions". Actions run in the configurator domain only; the admin domain has none. Move the "actions" block to a configurator spec file, or remove it.`,[a.INVALID_ACTION_NAME]:e=>`"${e}" is not a valid action name. Action names are camelCase identifiers without a prefix (e.g. "movePartBy", "swapCabinets"), since they also name the implementation, the generated types and the assistant mutation. Rename it.`,[a.ACTION_UNKNOWN_REFERENCE_TARGET]:(e,t,n)=>`"${e}.${t}" references "${n}", which is not an entity type or alias of the latest model. A "references" target types the entity id or entity the param or result member holds. Check the spelling or add "${n}" to entityTypes.`,[a.EXPRESSION_UNKNOWN_ENTITY_KEY]:(e,t)=>`Expression key "${e}" is not a declared entity type or alias. Known names: ${t.join(", ")}. Check the spelling or add "${e}" to entityTypes.`,[a.INVALID_EXPRESSION_NAME]:e=>`"${e}" is not a valid expression name. Expression names must start with "$" followed by camelCase (e.g. "$price", "$isValid"). Rename it.`,[a.DUPLICATE_EXPRESSION]:(e,t,n,a)=>`Expression "${e}.${t}" is produced by both "${n}" and "${a}" after alias expansion. Expression names must be unique for each concrete entity type. Remove one declaration or rename it.`,[a.EXPRESSION_RELATION_CONFLICT]:(e,t)=>`Expression "${e}.${t}" is declared in both "expressions:" and generated by a relation. User expressions cannot shadow relation-derived expressions. Remove the user declaration or rename the relation.`,[a.CONSTANTS_EXPRESSION_CONFLICT]:(e,t)=>`Expression "${e}.${t}" is declared in both "constants:" and "expressions:" in the same file. Use only one source of truth and migrate the legacy constant into "expressions:".`,[a.COMPONENT_RELATION_CONFLICT]:(e,t)=>`Component "${e}::${t}" is declared in both "components:" and generated by a relation. User components cannot shadow relation-derived components. Remove the user declaration or rename the relation.`,[a.COMPONENT_ALIAS_CONFLICT]:(e,t,n,a,s)=>`Component instance "${e}.${t}.${n}" is produced by both "${a}" and "${s}". Component instance names must be unique after alias expansion. Rename one instance or move the shared properties to one declaration.`,[a.COMPONENT_IMPORT_REF_UNSUPPORTED]:(e,t,n,a,s,i)=>`Component prop "${e}.${t}.${n}.${a}" uses unsupported $importRef "${s}#${i}". Application-spec component values are part of the webhook-included domain and cannot reference frontend modules. Fix: remove $importRef from the spec and attach the component from a frontend-only file in src/components.`,[a.COMPONENT_DATA_REF_UNSUPPORTED]:(e,t,n,a,s,i)=>`Component prop "${e}.${t}.${n}.${a}" combines "$read: ${s}" with the legacy "$data: ${i}" marker. Application-spec components resolve "$read" against entity fields and declared expressions only, so the combined marker never becomes a binding. Fix: remove "$data" and implement "${s}" with createDataSwatchMap('${i.split(".").at(-1)??i}') in the project's custom expressions.`,[a.INVALID_INVARIANT_NAME]:e=>`"${e}" is not a valid invariant name. Invariant names must start with a lowercase letter and contain only word characters (e.g. "nameNotEmpty"). Rename it.`,[a.INVALID_VIOLATION_TYPE_NAME]:e=>`"${e}" is not a valid violation type. Violation types must start with a lowercase letter and contain only letters, digits, underscores, or hyphens (e.g. "name-empty"). Rename it.`,[a.INVARIANT_UNKNOWN_ENTITY_KEY]:(e,t)=>`Invariants are declared for "${e}", which is not an entity type or alias in the model. Known names: ${t.join(", ")}. Check the spelling or add "${e}" to entityTypes.`,[a.INVARIANT_MANUAL_VIOLATIONS_COMPONENT]:e=>`Component "violations" on "${e}" cannot be declared manually because invariant parsing generates it automatically. Remove the manual component declaration.`,[a.INVARIANT_VIOLATIONS_EXPRESSION_CONFLICT]:(e,t)=>`Expression "${e}.$violations" is declared in "${t}:" but invariant parsing generates it automatically for the same entity type. Remove the declaration or rename it.`,[a.INVALID_RELATION_NAME]:e=>`"${e}" is not a valid relation name. Relation names must start with "$" followed by camelCase (e.g. "$top", "$legs"). Rename it.`,[a.RELATION_UNKNOWN_ENTITY_KEY]:(e,t)=>`Relations declared for "${e}" which is not an entity type or alias in the model. Known names: ${t.join(", ")}. Check the spelling or add "${e}" to entityTypes.`,[a.RELATION_UNKNOWN_TARGET]:(e,t,n,a)=>`Relation "${e}.${t}" targets "${n}" which is not an entity type or alias in the model. Known names: ${a.join(", ")}. Check the spelling or add "${n}" to entityTypes.`,[a.RELATION_UNKNOWN_FIELD_DIRECT]:(e,t,n)=>`Relation "${e}.${t}" references field "${n}" which does not exist in the shape of "${e}". Add "${n}" to the "${e}" schema or pick a different field.`,[a.RELATION_UNKNOWN_FIELD_INDIRECT]:(e,t,n,a)=>`Relation "${e}.${t}" references field "${n}" which does not exist in the shape of target "${a}". Add "${n}" to the "${a}" schema or pick a different field.`,[a.RELATION_IMMUTABLE_FIELD]:(e,t,n,a)=>`Relation "${e}.${t}" uses implicit field "${n}" on "${a}" as a relation reference holder. Implicit fields "id" and "type" are immutable and cannot hold relation references. Choose a writable shape field on "${a}".`,[a.RELATION_FIELD_NOT_REFERENCE]:(e,t,n,a)=>`Relation "${e}.${t}" uses field "${n}" of "${a}", which is not a reference field. A relation reads the ids of its related entities from the field, so the field must be a "phx:DomainEntityId" with "references", such a reference or null, or an array of such references. Declare "${n}" that way in the shape of "${a}" or pick a different field.`,[a.RELATION_FIELD_REFERENCES_OTHER_TYPES]:(e,t,n,a,s,i,o)=>{let r=1===o.length&&o[0]===i?"":` (${o.join(", ")})`;return`Relation "${e}.${t}" uses field "${n}" of "${a}", which references ${s.join(", ")}, but the relation relates to "${i}"${r}. The field of a direct relation must reference exactly the entity types of its target, and the field of an indirect relation exactly the entity types the relation is declared on. Make "${a}.${n}" reference "${i}" or pick a different field.`},[a.RELATION_FIELD_CARDINALITY_MISMATCH]:(e,t,n,a,s,i)=>{let o={single:"one reference that is never null",nullableSingle:"one reference or null",array:"an array of references"};return`Relation "${e}.${t}" has cardinality "${a}", which needs a field that holds ${o[i]}, but "${e}.${n}" holds ${o[s]}. A direct relation with cardinality "1-1" reads one reference that is never null, "0-1" one reference or null, and "0-N" or "1-N" an array of references. Change the cardinality or the schema of "${n}".`},[a.RELATION_MISSING_COUNTERPART]:(e,t,n,a,s,i)=>{let o=void 0!==s?` with field "${s}"`:"",r=i?`Set "composedOf: false" on the counterpart because "${e}.${t}" already owns the composition.`:'Set "composedOf: false" on the counterpart for a cross-reference, or "composedOf: true" if the counterpart should own the composition.';return`Relation "${e}.${t}" (${n} → "${a}"${void 0!==s?`, field "${s}"`:""}) has no counterpart on "${a}". Every relation must be declared from both sides — add a "${"allOfType"===n?"allOfType":"direct"===n?"indirect":"direct"}" relation on "${a}" targeting "${e}"${o}. ${r}`},[a.RELATION_COUNTERPART_COMPOSED_OF_MISMATCH]:(e,t,n,a)=>`Relation "${e}.${t}" and its counterpart "${n}.${a}" both use "composedOf: true". A relation pair can have at most one composition owner — set "composedOf: false" on one side.`,[a.RELATION_ENTITY_NOT_IN_COMPOSITION_TREE]:(e,t)=>`Entity "${e}" is not reachable from any root entity type (${t.join(", ")}) via "composedOf: true" relations. Every declared entity must be part of the composition tree, otherwise instances of it can never appear in a valid domain state. Add a relation with "composedOf: true" from a reachable parent, or include "${e}" in the RootEntity alias.`,[a.DUPLICATE_DATA_SCHEMA]:(e,t,n)=>`"${e}" is defined in both "${t}" and "${n}". Each data schema can only be declared in one file. Remove the duplicate.`,[a.ADMIN_DATA_SCHEMA]:(e,t)=>`"${e}" is declared in admin spec "${t}". Data schemas are configurator-only. Move "${e}" to a non-admin spec file.`,[a.SESSION_DATA_REQUIRED_PROPERTIES]:(e,t)=>`sessionData in "${t}" declares required properties (${e.map(e=>`"${e}"`).join(", ")}), but admin and preset sessions do not carry custom session data. Remove these properties from required or set required to an empty array.`,[a.CLERK_SESSION_DATA_INCOMPATIBLE]:e=>`sessionData is not compatible with the built-in Clerk session payload: ${e.join("; ")}. When "useClerk" is true, the SDK's Clerk auth handlers return { id: string, accessToken: string, tags: string[], emailAddress: string, fullName: string | null }, and runtime session parsing rejects any payload the schema does not accept. Declare all five properties with these exact types (the "type" keyword is compared literally, so $ref, anyOf, and oneOf forms are not recognized) and keep them out of "required" so anonymous sessions stay valid. Extra project-defined properties are allowed.`,[a.RESERVED_PUBLISHED_DATA_KEY]:e=>`publishedData property "${e}" is reserved by the admin system. Properties like "presetCategories" and "recipes" are auto-injected. Remove "${e}" from your publishedData properties.`,[a.DUPLICATE_STATE_FIELD]:(e,t,n)=>`"${e}" is defined in both "${t}" and "${n}". Each state field can only be declared in one file. Remove the duplicate.`,[a.INVALID_STATE_KEY]:(e,t)=>`State key "${t}" in "${e}" is not a valid identifier. State keys must start with a letter and contain only letters, digits, or underscores (e.g. "overview", "detailView"). Rename it.`,[a.DUPLICATE_STATE_VALUE]:(e,t)=>`State value "${t}" appears more than once in "${e}". Each value within a state array must be unique. Remove the duplicate.`,[a.DUPLICATE_THEME_FIELD]:(e,t,n)=>`"${e}" is defined in both "${t}" and "${n}". Each theme field can only be declared in one file. Remove the duplicate.`,[a.DUPLICATE_UI_FIELD]:(e,t,n)=>`"${e}" is defined in both "${t}" and "${n}". Each UI field can only be declared in one file. Remove the duplicate.`,[a.CONFLICTING_TRANSFORMERS]:(e,t)=>`Transformers are declared in both "${e}" and "${t}". The "transformers" section can only appear in one spec file. Move all transformers into a single file.`,[a.DUPLICATE_TRANSFORMER]:(e,t)=>`Transformer "${e}" is declared twice in "${t}". Transformer names must be unique within the file. Remove the duplicate entry.`,[a.DUPLICATE_TRANSFORMER_FILE]:(e,t)=>`Transformer files "${e}" and "${t}" resolve to the same transformer name. Transformers are matched by file name, ignoring folders, letter case, and dashes. Rename one of the files so every transformer file name is unique.`,[a.UNMATCHED_TRANSFORMER]:(e,t)=>`Transformer "${e}" has no matching file in "src/transformers/". Every name listed under "transformers:" must correspond to a transformer module. ${t.length>0?`Available transformers: ${t.map(e=>`"${e}"`).join(", ")}. Check the spelling or add "src/transformers/${e}.ts".`:`No transformer files were found in "src/transformers/". Add "src/transformers/${e}.ts" or remove the entry.`}`,[a.DUPLICATE_APP_METADATA_FIELD]:(e,t,n)=>`"${e}" is defined in both "${t}" and "${n}". Each metadata field can only be declared in one file. Remove the duplicate.`,[a.DUPLICATE_INFRA_FIELD]:(e,t,n)=>`"${e}" is defined in both "${t}" and "${n}". Each infrastructure field can only be declared in one file. Remove the duplicate.`,[a.DUPLICATE_RESOURCE_NAME]:(e,t,n)=>`Resource name "${e}" is used by the entries at index ${t} and ${n} of "resources". A resource name identifies one resource. Rename one of the two entries or remove the duplicate.`,[a.INVALID_APPLICATION_VERSION]:e=>`"${e}" is not a valid applicationVersion. Version must be semver (x.y.z) using three numeric segments (e.g. "1.0.0", "2.3.12"). Update "applicationVersion" to match.`,[a.INVALID_ENV_VAR_KEY]:(e,t)=>`"${t}" is not a valid env.${e} variable name. Env var names must match /^[A-Z_][A-Z0-9_]*$/ — uppercase letters, digits, and underscores; must not start with a digit (e.g. "API_URL", "_PRIVATE_FLAG"). Rename the variable.`,[a.DUPLICATE_ADMIN_PAGES]:(e,t)=>`"$adminPages" is defined in both "${e}" and "${t}". Admin pages can only be declared in one admin spec file. Move all "$adminPages" settings into one admin file.`,[a.ADMIN_PAGES_NAV_STATE_CONFLICT]:e=>`Admin navigation states [${e.join(", ")}] are declared manually and generated from "$adminPages". Remove the manual entries from "navigationStates" in the admin spec or change the "$adminPages" navigationState values.`,[a.ADMIN_PAGE_DATA_ENTRY_CONFLICT]:(e,t)=>`"$adminPages.pages.${e}.connectedDataEntry" references data entry "${t}". This data entry already creates an inferred admin data page. Remove the explicit admin page connection or change the data entry kind.`,[a.CONFLICTING_BUDGETS]:(e,t)=>`"budgets" is declared in both "${e}" and "${t}". The "budgets" section can only appear in one spec file. Move all bundle-size budgets into a single file.`,[a.CONFLICTING_CHUNKS]:(e,t)=>`"chunks" is declared in both "${e}" and "${t}". The "chunks" section can only appear in one spec file. Move all chunk definitions into a single file.`,[a.ASSISTANT_MERGE_CONFLICT]:(e,t,n,a)=>`"assistant.${e}.${t}" is declared in both "${n}" and "${a}". The assistant manifest merges across spec files per key, and each key of "assistant.${e}" is taken whole from one file. Move the whole "${t}" entry into one of the files.`,[a.DUPLICATE_ASSISTANT_FIELD]:(e,t,n)=>`"assistant.${e}" is declared in both "${t}" and "${n}". The assistant manifest merges across spec files, but "${e}" can only be declared in one of them. Remove the duplicate.`,[a.ASSISTANT_MISSING_AI]:()=>`"assistant.ai" is required: declare provider (${e.join(", ")}), model (${t.join(", ")}) and reasoning (${n.join(", ")}). The spec declares an "assistant" manifest, but none of its "assistant" blocks says which AI the assistant runs with. Add "ai" to one of them.`,[a.ASSISTANT_UNKNOWN_TYPE]:(e,t)=>`"assistant.${e}.${t}" does not name an entity type or alias of the latest model, so it has nothing to ${({entities:"expose",deletable:"make deletable",writable:"make writable",childRecipes:"add children to",replaceRecipes:"replace",screenshots:"take screenshots of"})[e]}. Use an entity type or alias name from "model.latest", or remove the entry.`,[a.ASSISTANT_UNKNOWN_FIELD]:(e,t,n)=>n.startsWith("$")?`"assistant.entities.${t}.${n}" is not an expression declared on "${t}". The assistant schema exposes expressions declared in "expressions", "constants" or "relations" on the entity type or alias itself, and on an entity type also those of its aliases; an expression only inferred from a component "$read" is not declared. Declare "${n}" in "expressions", "constants" or "relations" on "${t}" (for an entity type, an alias containing it also works), or remove the entry.`:`"assistant.${e}.${t}.${n}" is not a stored field of "${t}". The assistant schema ${"entities"===e?"exposes":"writes"} shape properties of the entity type or alias, including fields every alias member has. Use a property from the "${t}" shape, or remove the entry.`,[a.ASSISTANT_UNSUPPORTED_EXPRESSION]:(e,t)=>`"assistant.entities.${e}.${t}" whitelists the "$violations" expression, which the assistant schema does not expose: the agent reads the warnings and notices of every entity type with invariants under its built-in "meta { warnings }", and the violations that make a change fail as its errors. Remove the entry.`,[a.ASSISTANT_NOT_WRITABLE]:(e,t)=>`"assistant.writable.${e}.${t}" cannot be written: ${t.startsWith("$")?"an expression is computed from the state, not stored":`"${t}" identifies the entity and never changes`}. Only stored shape properties other than "id" and "type" can be writable. Remove the entry${t.startsWith("$")?", or make the stored fields the expression reads writable instead":""}.`,[a.ASSISTANT_UNKNOWN_RECIPE_GROUP]:({section:e,component:t},n,a,s,i)=>`"assistant.${e}.${n}.${a}" does not name a "${t}" component instance on "${s}", so there are no recipes to expose. ${i.length>0?`"${s}" has these "${t}" instances: ${i.join(", ")}.`:`"${s}" has no "${t}" component.`} Use the instance name of a "${t}" component attached to the entity type or to an alias containing it, or remove the entry.`,[a.ASSISTANT_DUPLICATE_RECIPE_GROUP]:({section:e,mutation:t},n,a,s)=>`"${n}" gets the recipe group id "${a}" from both "assistant.${e}.${s.join(`" and "assistant.${e}.`)}", but "${t}" finds a group of an entity by its id. The entries may come from "${n}" itself or from aliases containing it. Give one of them another id with "as".`,[a.ASSISTANT_INVALID_RECIPE_GROUP_ID]:({section:e},t,n,a)=>`"assistant.${e}.${t}.${n}" exposes the recipe group "${a}", but the group id names a field of the assistant schema, which is letters, digits and "_", not starting with a digit or "__". Give the group a valid id with "as".`,[a.ASSISTANT_RECIPE_GROUPS_TYPE_NAME_CONFLICT]:({section:e},t,n)=>`This entry exposes a recipe group on "${t}", so the assistant schema generates the type "${n}" with one field per group, but the model already has an entity type or alias named "${n}". Rename that entity type or alias, or remove every "assistant.${e}" group of "${t}".`,[a.ASSISTANT_META_TYPE_NAME_CONFLICT]:(e,t)=>`This entry exposes a recipe group, the options of a field or a screenshot view on "${e}", so the assistant schema generates the type "${t}" for them, but the model already has an entity type or alias named "${t}". Rename that entity type or alias, or remove every "assistant.childRecipes" and "assistant.replaceRecipes" group, every "options" of a writable field and every "assistant.screenshots" view of "${e}".`,[a.ASSISTANT_UNKNOWN_OPTIONS_COMPONENT]:(e,{componentType:t,instanceName:n},a,s)=>`"assistant.writable.${e}.options" names the "${t}" instance "${n}", which "${a}" does not have, so there are no choices to list. ${s.length>0?`"${a}" has these "${t}" instances: ${s.join(", ")}.`:`"${a}" has no "${t}" component.`} Use the name of a "${t}" instance attached to the entity type or to an alias containing it, correct "componentType", or remove "options".`,[a.ASSISTANT_AMBIGUOUS_OPTIONS_COMPONENT]:(e,t,n)=>`"assistant.writable.${e}" takes the choices of the field from the one option component instance that writes it, but several write it on "${t}": ${n.map(({componentType:e,instanceName:t})=>`${e}.${t}`).join(", ")}. The instances may sit on "${t}" itself or on aliases containing it. Name the one whose choices the agent gets with "componentType" and "instanceName" under "options", or set "options: null" to give the field no options.`,[a.ASSISTANT_MISSING_OPTIONS_COMPONENT]:(e,t,n)=>`"assistant.writable.${e}.options" names no component, so it takes the choices of "${n}" from the option component instance that writes the field, but no materialSwatch, attributeSelection or distanceDimensionSelect instance on "${t}" or on an alias containing it writes "${n}" with "$bind" or "$write". Name the component that holds the choices with "componentType" and "instanceName", or remove "options".`,[a.ASSISTANT_RESERVED_OPTIONS_EDGE_NAME]:(e,t,n)=>`"assistant.writable.${e}.options" would add the edge "${t}" to the meta type, but that name is taken by a built-in of the meta type: the recipe groups edges or the screenshot field. Name the edge differently with "as", e.g. "as: ${n}Choices".`,[a.ASSISTANT_DUPLICATE_OPTIONS_EDGE]:(e,t,n)=>`"${e}" gets ${"edgeName"in t?`the options edge "${t.edgeName}"`:`options for the field "${t.field}"`} from both "assistant.writable.${n.join('.options" and "assistant.writable.')}.options", but ${"edgeName"in t?"one edge lists the choices of one field":"a written value is checked against one list of choices"}. The entries may come from "${e}" itself or from aliases containing it. ${"edgeName"in t?'Give one of them another name with "as", or remove':"Remove"} "options" from one of them.`,[a.ASSISTANT_UNKNOWN_SCREENSHOT_VIEW]:(e,t,n,a)=>`"assistant.screenshots.${e}.${t}" does not name an "agentScreenshot" component instance on "${n}", so there is no view to take a screenshot from. ${a.length>0?`"${n}" has these "agentScreenshot" instances: ${a.join(", ")}.`:`"${n}" has no "agentScreenshot" component.`} Use the instance name of an "agentScreenshot" component attached to the entity type or to an alias containing it, or remove the entry.`,[a.ASSISTANT_UNKNOWN_SCREENSHOT_EXPORT_STATE]:(e,t,n,a)=>`"assistant.screenshots.${e}.${t}" exposes the view "${t}", whose "agentScreenshot" component renders in the export state "${n}", but the spec declares no such export state, so the screenshot could never be taken. The declared export states are: ${a.join(", ")}. Set "exportState" of the component to one of them, or declare "${n}" under "exportStates".`,[a.ASSISTANT_DUPLICATE_SCREENSHOT_VIEW]:(e,t,n)=>`"${e}" gets the screenshot view "${t}" from both "assistant.screenshots.${n.join('" and "assistant.screenshots.')}", but the agent asks for a view of an entity by its name. The entries may come from "${e}" itself or from aliases containing it. Give one of them another name with "as", or remove it.`,[a.ASSISTANT_INVALID_SCREENSHOT_VIEW_NAME]:(e,t,n)=>`"assistant.screenshots.${e}.${t}" exposes the view "${n}", but the agent asks for a view by a GraphQL enum value, which is letters, digits and "_", does not start with a digit and is not "true", "false" or "null". Give the view a valid name with "as".`,[a.ASSISTANT_SCREENSHOT_VIEW_TYPE_NAME_CONFLICT]:(e,t)=>`This entry exposes a screenshot view on "${e}", so the assistant schema generates the enum "${t}" of its views, but the model already has an entity type or alias named "${t}". Rename that entity type or alias, or remove every "assistant.screenshots" view of "${e}".`,[a.ASSISTANT_UNKNOWN_ACTION]:(e,t)=>`"assistant.actions.${e}" does not name an action declared under "actions"${t.length>0?`; the declared actions are: ${t.join(", ")}`:"; the spec declares no actions"}. Declare the action in an "actions" block of a spec file and implement it in src/actions/, or remove the entry.`,[a.ASSISTANT_MUTATION_NAME_CONFLICT]:(e,t,n)=>`"assistant.actions.${e}" exposes the mutation "${t}", which ${n}. One Mutation field runs one change. Expose the action under another name with "as", e.g. "as: ${t}Action".`,[a.ASSISTANT_ACTION_RESULT_TYPE_CONFLICT]:(e,t,n)=>`"assistant.actions.${e}" exposes the mutation "${t}", so the assistant schema generates the type "${n}" for its result, but that name is taken by an entity type, alias, generated meta type, built-in type or another action's result. Expose the action under another name with "as", or rename the conflicting type.`,[a.ASSISTANT_UNKNOWN_LENS]:(e,t,n)=>`"assistant.entities.${e}" is tagged with the lens "${t}", which is not declared under "assistant.lenses"${n.length>0?`; the declared lenses are: ${n.join(", ")}`:"; the manifest declares no lenses"}. Declare "${t}" under "assistant.lenses" with a "description", or remove the tag.`,[a.ASSISTANT_EMPTY_LENS]:e=>`"assistant.lenses.${e}" is declared, but no entry under "assistant.entities" is tagged with it, so the agent would be offered a lens that selects nothing. Tag the fields and expressions of the lens with "lenses: [${e}]", or remove the lens.`,[a.ASSISTANT_RESERVED_LENS_NAME]:(e,t)=>`"assistant.lenses.${e}" has the name of a built-in lens (${t.join(", ")}), which the assistant schema defines itself. Rename the lens and the tags that name it.`,[a.ASSISTANT_FORM_ELEMENT_BUILT_IN_NAME]:(e,t)=>`"assistant.formElements.${e}" has the name of a built-in form element (${t.join(", ")}), and a project element cannot replace one; restyle a built-in through the theme instead. Rename the element and the name its implementation registers.`,[a.ASSISTANT_FORM_ELEMENT_HTML_NAME]:e=>`"assistant.formElements.${e}" has the name of an HTML element, so form markup that uses it could be read as HTML. Rename the element and the name its implementation registers, e.g. "${e}-field".`,[a.ASSISTANT_FORM_ATTRIBUTE_RESERVED_NAME]:(e,t)=>`"assistant.formElements.${e}.attributes.${t}" declares the built-in attribute "${t}", which every form element takes already as the text the user sees and the name of its answer. Remove the declaration, or rename the attribute if it means something else.`,[a.ASSISTANT_FORM_ELEMENT_UNKNOWN_REQUIRED]:(e,t,n)=>`"assistant.formElements.${e}.required" lists "${t}", which is not one of its declared attributes${n.length>0?` (${n.join(", ")})`:"; the element declares none"}. Declare the attribute under "attributes", or remove it from "required".`,[a.ASSISTANT_FIELD_SHAPE_CONFLICT]:(e,t)=>`The assistant schema exposes "${e}" in shapes that cannot be read together: ${t.map(({typeName:e,type:t})=>`${t} on "${e}"`).join(", ")}. A query that reaches entities of several types, such as "entities" or a lens, selects the field on all of them at once, and in GraphQL a single entity, a list of entities and a plain value cannot share a name. One name meaning different kinds of thing is an unusual model and confuses the assistant as well. Expose one of the entries under another name with "as".`,[a.ASSISTANT_RESERVED_FIELD_NAME]:(e,t,n)=>`"assistant.entities.${e}.${t}" is exposed as "${n}", which the assistant schema reserves ("id", "type" and "meta" are reserved on every type). Expose it under another name with "as", e.g. "as: ${t}Value".`,[a.ASSISTANT_FIELD_NAME_CONFLICT]:(e,t,n,a)=>void 0===a?`"${t}" on "${e}" in the assistant schema maps to both "${n.join('" and "')}", but one GraphQL field can read only one stored field or expression. The entries may come from "${e}" itself or from aliases containing it. Rename one of them with "as".`:`"assistant.writable.${a}" makes "${t}" writable on "${e}" without exposing it, so its delta field would be named "${t}", but "assistant.entities" already exposes "${n[0]}" on "${e}" under that name. One name cannot read one stored field or expression and write another. Expose "${t}" in "assistant.entities" under another name with "as", or rename the entry that exposes "${n[0]}".`,[a.ASSISTANT_RESERVED_TYPE_NAME]:(e,t)=>`"${e}" is an entity type or alias name that the assistant GraphQL schema reserves for its own types (${t.join(", ")}), so the schema cannot be generated. Rename the entity type or alias, or remove the "assistant" section.`,[a.ASSISTANT_INVALID_SCHEMA]:e=>`The GraphQL schema generated from the "assistant" manifest is invalid: ${e.join(" ")} This usually means aliases sharing an entity whitelist the same field with different types. Whitelist the field on one alias only, or rename one entry with "as".`,[a.INVALID_CHUNK_KEY]:e=>`"${e}" is not a valid chunk key. Chunk keys must be lowercase kebab-case matching /^[a-z][a-z0-9]*(-[a-z0-9]+)*$/ (e.g. "main", "swatch-data"). Rename the chunk.`,[a.RESERVED_CHUNK_KEY]:()=>'"system" is a reserved chunk key used for presets and recipes. It cannot be user-defined and is auto-injected after validation. Please use a different key name.',[a.CONFLICTING_DATA_ENTRY]:(e,t,n,a)=>`"$data.${e}.${t}" is defined in both "${n}" and "${a}". Each data entry key can only be declared once per section. Move the entry into one file, delete the duplicate, or rename one entry.`,[a.INVALID_DATA_ENTRY_KEY]:(e,t)=>`"$data.${e}.${t}" is not a valid data entry key. Data entry keys must start with a letter, followed by letters, digits, or underscores (/^[A-Za-z]\\w*$/, e.g. "colorOptions" or "ColorOptions"). Rename the entry.`,[a.INVALID_DATA_DEFINITION_FIELD_KEY]:(e,t)=>`"$data.custom.${e}.definition.${t}" is not a valid field key. Definition field keys must match /^\\$?[a-z][\\w.-]*$/ — start with lowercase or "$", then letters, digits, "_", ".", or "-". Rename the field.`,[a.UNKNOWN_DATA_CHUNK]:(e,t,n)=>`"$data.${e}.${t}" references unknown chunk "${n}". The chunk reference must match a key declared under "chunks:". Add the chunk or update the entry chunk.`,[a.INVALID_DATA_VALUE]:(e,t,n,a)=>`"$data.custom.${e}.values[${t}].${n}" has an invalid value. Expected ${a}. Fix the value or update the field definition.`,[a.DEFAULTS_UNKNOWN_ENTITY_KEY]:(e,t)=>`Defaults declared for "${e}" which is not an entity type or alias in the model. Known names: ${t.join(", ")}. Check the spelling or add "${e}" to entityTypes.`,[a.DEFAULTS_UNKNOWN_PROPERTY]:(e,t,n,a)=>{let s=n.length>0?n.join(", "):"(none)",i=a&&a.length>0?` Alias member(s) missing "${t}": ${a.join(", ")}.`:"";return`Default "${e}.${t}" refers to a property that does not exist on the shape of "${e}". Known properties: ${s}.${i} Remove the default or add "${t}" to the shape.`},[a.DEFAULTS_SCHEMA_VIOLATION]:(e,t,n,a,s)=>{let i=s?` (alias member "${s}")`:"",o=n&&"(root)"!==n?` at "${n}"`:"";return`Default "${e}.${t}"${i} does not match the entity shape${o}: ${a}. Defaults must be assignable to their shape property. Fix the value or update the shape.`},[a.DEFAULTS_INCOMPLETE]:(e,t,n)=>{let a=n.some(t=>t!==e)?` (declared under ${n.map(e=>`"${e}"`).join(", ")})`:"";return`Defaults for "${e}"${a} are incomplete: missing ${t.join(", ")}. Defaults for an entity type must state every property of its shape, because the recipe factory validates them as a whole entity when the application loads. Add the missing properties under "${e}" or under an alias that contains it, or remove the defaults for "${e}".`},[a.DEFAULTS_DEPRECATED]:()=>'The "defaults:" section is deprecated. Defaults remain supported for legacy parity, but new specs should model initial values as "$data" entries — see spec/application-specification/parsing/data-chunks.md. Defaults are planned for removal once the $data migration path is documented.',[a.COMPONENT_INVALID_INSTANCE_NAME]:(e,t,n)=>`Component instance name "${n}" in "${e}.${t}" is not a valid identifier. Instance names must start with a letter and contain only letters, digits, or underscores (e.g. "default", "body", "main"). Rename it.`,[a.COMPONENT_MERGE_CONFLICT]:(e,t,n,a,s)=>`Component instance "${e}.${t}.${n}" is defined in both "${a}" and "${s}". Each component instance can only appear in one file. Remove the duplicate.`,[a.COMPONENT_UNKNOWN_ENTITY_KEY]:(e,t)=>`Components declared for "${e}" which is not an entity type or alias in the model. Known names: ${t.join(", ")}. Check the spelling or add "${e}" to entityTypes.`,[a.READ_BINDING_UNKNOWN_FIELD]:(e,t,n,a,s)=>`$read binding "${a}" in "${e}.${t}.${n}" references field "${s}" which does not exist in the shape of "${e}". Add "${s}" to the shape or fix the $read target.`,[a.COMPONENT_BINDING_TYPE_MISMATCH]:(e,t,n,a)=>`"${t}" at "${e}" reads a value of type ${n}, but the component expects ${a} there, so the generated code would not type-check. Read a field whose type fits, change the field's type, or compute the value in an expression.`,[a.COMPONENT_STATIC_ENTITY_ID]:(e,t,n)=>`"${e}" holds the value ${t} written in the spec, but the component expects ${n} there. An entity id is a branded type, so no value written in YAML is one and the generated code would not type-check. Read the id from the domain state with "$read" or "$bind" of a field or expression that holds it.`,[a.EXPRESSION_READ_TYPE_CONFLICT]:(e,t,n,a)=>`Expression "${t}" of "${e}" ${void 0===n?"":`is declared as ${n} and `}is read where components expect ${a.join(", and ")}. No value is of all these types, so its implementation cannot type-check. Read the expression only where its type fits, declare the type the components expect, or read another expression there.`,[a.EXPRESSION_VALUE_TYPE_MISMATCH]:(e,t,n)=>`Expression "${e}" holds a value of type ${t}, but its schema declares ${n}, so the generated code would not type-check. A "$msg" is a message descriptor: declare the expression as "$ref: phx:Localizable" or "$ref: phx:MessageDescriptor", or change the value.`,[a.WRITE_BINDING_UNKNOWN_FIELD]:(e,t,n,a,s)=>`$write/$bind "${a}" in "${e}.${t}.${n}" targets field "${s}" which does not exist in the shape of "${e}". Add "${s}" to the shape or fix the target.`,[a.WRITE_BINDING_IMMUTABLE_FIELD]:(e,t,n,a,s)=>`$write/$bind "${a}" in "${e}.${t}.${n}" targets implicit field "${s}". Implicit fields "id" and "type" are immutable and cannot be changed. Use $read to consume the field or choose a writable shape field.`,[a.WRITE_BINDING_EXPRESSION_TARGET]:(e,t,n,a,s)=>`$write/$bind "${a}" in "${e}.${t}.${n}" targets "${s}" which is an expression. Write targets must be entity shape fields, not expressions. Use $read for expression bindings, $write/$bind for shape fields.`,[a.WRITE_BINDING_DUPLICATE_TARGET]:(e,t,n,a,s,i)=>`Entity field "${a}" is written by both "${s}" and "${i}" in "${e}.${t}.${n}". Each entity field can only be written by one component property. Remove one of the bindings.`,[a.UNKNOWN_SRC_PATH]:e=>`File "${e}" is in an unknown src/ folder. Only known folders (expressions, actions, invariants, components, transformers, handlers, elements, webhooks, locales, admin/*, migrations) or _-prefixed shared folders are allowed. Move the file or rename the folder with a "_" prefix.`,[a.INVALID_SUBDIRECTORY]:(e,t)=>`File "${e}" is nested inside "${t}", but migrations must be flat. Move the migration file directly into "${t}" or prefix the folder with "_".`,[a.MISSING_WEBHOOK_INDEX]:()=>"Files found in src/webhooks/ but src/webhooks/index.ts is missing. The webhook entry point requires a default export from src/webhooks/index.ts. Create the file with a default export of your webhook handler.",[a.AUTH_WITHOUT_PROJECT_WEBHOOK]:()=>'Authentication is enabled through "useAuthHook" or "useClerk", but src/webhooks/index.ts is missing. The built-in webhook handles anonymous authentication only; it does not provide Clerk or custom auth handlers. Create src/webhooks/index.ts with a default export of your webhook handler and the required auth handlers, or disable the auth settings if they are unintended.',[a.MODULE_ANALYSIS_FAILED]:(e,t)=>`Cannot analyze module "${e}": ${t}. Fix the file's syntax so its imports and webhook membership can be determined.`,[a.WEBHOOK_UNSAFE_IMPORT]:(e,t,n,a)=>`Webhook-included file "${e}" is not server-safe: it is included because ${t}, but "${n}" imports client-only "${a}". Fix: remove or isolate the client-only import, or remove the file's webhook membership.`,[a.ENHANCED_JSON_VALUE_EVAL_NOT_ALLOWED]:()=>'"$eval" is not allowed in this position. "$eval" requires "self", which is only available inside expressions and component props — it is not available in static slots such as defaults. Replace the "$eval" with a literal value, "$msg", or move the dynamic logic into an "expressions:" entry.',[a.ENHANCED_JSON_VALUE_MSG_NOT_ALLOWED]:()=>'"$msg" is not allowed in this position. This slot does not accept localized messages (e.g. component props, which are resolved without an i18n context). Replace "$msg" with a plain string, or move the message into a slot that supports i18n such as defaults or expressions.',[a.ENHANCED_JSON_VALUE_EVAL_NOT_STATICALLY_INFERABLE]:e=>`Could not infer a schema from "$eval: ${e}" because the expression is not statically foldable. Add explicit schema keys to the expression entry, or use only literals, constant operators, and deterministic Math members.`,[a.ENHANCED_JSON_VALUE_CODE_REF_NOT_SUPPORTED]:()=>'"$codeRef" with an inline "code" block is no longer supported by the application spec parser. It was never evaluated — the value was carried through as plain data. Use "$eval" instead, for example "$eval: \'4 * 25.4\'". "$eval" folds literals, constant operators, and deterministic Math members at parse time; anything else needs explicit schema keys.'};
@@ -1 +1 @@
1
- import{rebaseProjectModule as t}from"../../../core/index.js";export class CodeImports{imports=new Map;typeImports=new Map;addImport(t,e){let o=this.imports.get(t)??new Set;this.imports.set(t,o),o.add(e)}addTypeImport(t,e){let o=this.typeImports.get(t)??new Set;this.typeImports.set(t,o),o.add(e)}toTypeOnlyString(e){let o=new Map;for(let[t,e]of this.imports){let r=o.get(t)??new Set;for(let s of(o.set(t,r),e))r.add(s)}for(let[t,e]of this.typeImports){let r=o.get(t)??new Set;for(let s of(o.set(t,r),e))r.add(s)}return[...o.entries()].map(([o,r])=>{let s=e?t(o,e):o;return`import type { ${[...r].sort().join(", ")} } from '${s}'`}).join("\n")}toString(){let t=[];for(let[e,o]of this.imports){let r=this.typeImports.get(e),s=[...o].filter(t=>!r?.has(t)).sort(),p=r?[...r].filter(t=>!o.has(t)).sort():[];s.length>0&&t.push(`import { ${s.join(", ")} } from '${e}'`),p.length>0&&t.push(`import type { ${p.join(", ")} } from '${e}'`)}for(let[e,o]of this.typeImports)this.imports.has(e)||t.push(`import type { ${[...o].sort().join(", ")} } from '${e}'`);return t.join("\n")}}
1
+ import{rebaseProjectModule as t}from"../../../core/index.js";import{toSingleQuotedString as e}from"./single-quoted-string.js";export class CodeImports{imports=new Map;typeImports=new Map;addImport(t,e){let o=this.imports.get(t)??new Set;this.imports.set(t,o),o.add(e)}addTypeImport(t,e){let o=this.typeImports.get(t)??new Set;this.typeImports.set(t,o),o.add(e)}toTypeOnlyString(o){let r=new Map;for(let[t,e]of this.imports){let o=r.get(t)??new Set;for(let s of(r.set(t,o),e))o.add(s)}for(let[t,e]of this.typeImports){let o=r.get(t)??new Set;for(let s of(r.set(t,o),e))o.add(s)}return[...r.entries()].map(([r,s])=>{let p=o?t(r,o):r;return`import type { ${[...s].sort().join(", ")} } from ${e(p)}`}).join("\n")}toString(){let t=[];for(let[o,r]of this.imports){let s=this.typeImports.get(o),p=[...r].filter(t=>!s?.has(t)).sort(),i=s?[...s].filter(t=>!r.has(t)).sort():[];p.length>0&&t.push(`import { ${p.join(", ")} } from ${e(o)}`),i.length>0&&t.push(`import type { ${i.join(", ")} } from ${e(o)}`)}for(let[o,r]of this.typeImports)this.imports.has(o)||t.push(`import type { ${[...r].sort().join(", ")} } from ${e(o)}`);return t.join("\n")}}
@@ -1,3 +1,3 @@
1
- export const generateEnvReader=e=>{let t=Object.keys(e);if(0===t.length)return{imports:[],config:"{}"};let l=new Set,f=t.map(t=>{let f=e[t];l.add(f.type);let n=[];if("default"in f){let e="string"==typeof f.default?`'${f.default}'`:f.default;n.push(`default: ${e}`)}else!0!==f.required&&n.push("default: undefined");if("devDefault"in f){let e="string"==typeof f.devDefault?`'${f.devDefault}'`:f.devDefault;n.push(`devDefault: ${e}`)}if(f.choices){let e=`[${f.choices.map(e=>`'${e}'`).join(", ")}]`;n.push(`choices: ${e}`)}let i=n.length>0?`{ ${n.join(", ")} }`:"{}";return` ${t}: ${f.type}(${i}),`});return{imports:Array.from(l).sort(),config:`{
2
- ${f.join("\n")}
1
+ import{toSingleQuotedString as e}from"./single-quoted-string.js";export const generateEnvReader=t=>{let i=Object.keys(t);if(0===i.length)return{imports:[],config:"{}"};let l=new Set,n=i.map(i=>{let n=t[i];l.add(n.type);let f=[];if("default"in n){let t="string"==typeof n.default?e(n.default):n.default;f.push(`default: ${t}`)}else!0!==n.required&&f.push("default: undefined");if("devDefault"in n){let t="string"==typeof n.devDefault?e(n.devDefault):n.devDefault;f.push(`devDefault: ${t}`)}if(n.choices){let t=`[${n.choices.map(e).join(", ")}]`;f.push(`choices: ${t}`)}let r=f.length>0?`{ ${f.join(", ")} }`:"{}";return` ${i}: ${n.type}(${r}),`});return{imports:Array.from(l).sort(),config:`{
2
+ ${n.join("\n")}
3
3
  }`}};
@@ -3,3 +3,5 @@ export * from './code-imports.js';
3
3
  export * from './exported-type-declarations.js';
4
4
  export * from './env-reader.js';
5
5
  export * from './file-headers.js';
6
+ export * from './project-module-list.js';
7
+ export * from './single-quoted-string.js';
@@ -1 +1 @@
1
- export*from"./application-type-imports.js";export*from"./code-imports.js";export*from"./exported-type-declarations.js";export*from"./env-reader.js";export*from"./file-headers.js";
1
+ export*from"./application-type-imports.js";export*from"./code-imports.js";export*from"./exported-type-declarations.js";export*from"./env-reader.js";export*from"./file-headers.js";export*from"./project-module-list.js";export*from"./single-quoted-string.js";
@@ -0,0 +1,8 @@
1
+ /** The default imports of one convention folder's files, as a generated barrel lists them. */
2
+ export declare const generateProjectModuleImports: (files: readonly string[], prefix: string) => readonly string[];
3
+ /**
4
+ * The origin-tagged module list a generated barrel exports for one convention folder. The barrel only
5
+ * pairs each default export with its project path; the SDK validates and merges the exports, so that an
6
+ * invalid file is reported by name and the built app and the editor's hot reload share one implementation.
7
+ */
8
+ export declare const generateProjectModuleList: (files: readonly string[], prefix: string) => string;
@@ -0,0 +1,3 @@
1
+ export const generateProjectModuleImports=(e,t)=>e.map((e,r)=>`import ${t}${r} from '../${e.replace(/\.tsx?$/,".js")}'`);export const generateProjectModuleList=(e,t)=>{if(0===e.length)return"[]";let r=e.map((e,r)=>` { origin: '${e}', exports: ${t}${r} },`);return`[
2
+ ${r.join("\n")}
3
+ ]`};
@@ -0,0 +1,6 @@
1
+ /**
2
+ * Writes a string as a single-quoted TypeScript string literal. Backslashes, single quotes and line
3
+ * terminators are escaped, so any string gives a valid literal; a string without them comes out as
4
+ * `'value'`, as the templates write it.
5
+ */
6
+ export declare const toSingleQuotedString: (value: string) => string;
@@ -0,0 +1 @@
1
+ let u={"\\":"\\\\","'":"\\'","\n":"\\n","\r":"\\r","\u2028":"\\u2028","\u2029":"\\u2029"};export const toSingleQuotedString=e=>`'${e.replace(/[\\'\n\r\u2028\u2029]/g,e=>u[e])}'`;
@@ -1 +1 @@
1
- import{GeneratedApplicationFile as n}from"../../core/index.js";import{createApplicationTypeImportRegistrar as e}from"./common/index.js";import{generateAdminGlobalBindingBlock as i,generateApplicationSpecAdminCode as o,generateApplicationSpecAdminFrontendCode as t,generateApplicationSpecAdminGlobals as r,generateApplicationSpecConfiguratorCode as a,generateApplicationSpecConfiguratorConfig as s,generateApplicationSpecConfiguratorFrontendCode as d,generateApplicationSpecConfiguratorGlobals as c,generateApplicationSpecDomainFile as g,generateApplicationSpecDomainSpecFile as m,generateApplicationSpecGlobals as p,generateApplicationSpecTypesModule as l,generateConfiguratorGlobalBindingBlock as f,generateImportedStateConstants as B,generatePhxExportsBlock as u,generatePhxGlobalsBlock as x,generateStateConstants as h}from"./templates/index.js";import{splitWebhookMembership as k}from"./webhook-safe-files.js";let y=()=>"";export const globalPhxBindingStrategy={generateApplicationTypesFile:(e,i)=>n("globals.d.ts",p(e,i)),generateDomainBindingBlock:x,generateStateConstants:h,generateConfiguratorBindingBlock:f,configuratorBindingDescription:"Creates the configurator interface and sets phx.frontend — must run before any user code imports.",generateAdminBindingBlock:i,adminBindingDescription:"Creates the admin interface and sets phx.frontend.admin — must run before admin user code imports."};export const modulePhxBindingStrategy={applicationTypeImportSource:"./application-types.js",generateApplicationTypesFile:(e,i)=>n("application-types.ts",l(e,i)),generateDomainBindingBlock:u,generateStateConstants:B,generateConfiguratorBindingBlock:y,configuratorBindingDescription:"Creates and exports the configurator interface for a module-scoped phx binding.",generateAdminBindingBlock:y,adminBindingDescription:"Creates and exports the admin interface for a module-scoped phx binding."};let C=n=>n.map(n=>n.file.name);export const generateDomainRuntimeFiles=(i,p)=>{let{applicationSpec:l,categorizedFiles:f,phxDefinitions:B,includeDefaultEnvs:u}=i,x=e(p.applicationTypeImportSource),h=C(f.expressions),y=C(f.handlers),b=C(f.elements),D=C(f.transformers),S=C(f.invariants),A=C(f.adminInvariants),F=C(f.adminExpressions),j=C(f.adminElements),I=k(f.components),T=C(I.webhookIncluded),w=C(I.frontendOnly),v=k(f.adminComponents),E=C(v.webhookIncluded),O=C(v.frontendOnly);return[n("domain-spec.ts",m(l,{generateBindingBlock:p.generateDomainBindingBlock,generateStateConstants:p.generateStateConstants,registerApplicationTypeImports:x})),n("configurator-globals.ts",c(p.generateConfiguratorBindingBlock,p.configuratorBindingDescription)),n("configurator-domain-code.ts",a({expressionFiles:h,invariantFiles:S,componentFiles:T},x)),n("configurator-frontend-code.ts",d({transformerFiles:D,handlerFiles:y,elementFiles:b,componentFiles:w},x)),n("admin-domain-code.ts",o({adminExpressionFiles:F,adminInvariantFiles:A,adminComponentFiles:E},x)),n("admin-frontend-code.ts",t({adminElementFiles:j,adminComponentFiles:O},x)),n("domain.ts",g(l)),n("configurator-config.ts",s(l,{includeDefaultEnvs:u})),p.generateApplicationTypesFile(l,B),n("admin-globals.ts",r(p.generateAdminBindingBlock,p.adminBindingDescription))]};
1
+ import{GeneratedApplicationFile as n}from"../../core/index.js";import{encodeRuntimeSpec as e,toRuntimeSpec as i}from"../runtime-spec/index.js";import{createApplicationTypeImportRegistrar as o}from"./common/index.js";import{generateAdminGlobalBindingBlock as t,generateApplicationSpecAdminCode as a,generateApplicationSpecAdminFrontendCode as r,generateApplicationSpecAdminGlobals as s,generateApplicationSpecCodeFile as d,generateApplicationSpecConfiguratorCode as c,generateApplicationSpecConfiguratorConfig as p,generateApplicationSpecConfiguratorFrontendCode as m,generateApplicationSpecConfiguratorGlobals as g,generateApplicationSpecDomainFile as l,generateApplicationSpecDomainSpecFile as f,generateApplicationSpecGlobals as u,generateApplicationSpecMessagesFile as B,generateApplicationSpecTypesModule as x,generateConfiguratorGlobalBindingBlock as h,generateImportedStateConstants as k,generatePhxExportsBlock as y,generatePhxGlobalsBlock as C,generateStateConstants as b}from"./templates/index.js";import{splitWebhookMembership as D}from"./webhook-safe-files.js";let j=()=>"";export const globalPhxBindingStrategy={generateApplicationTypesFile:(e,i)=>n("globals.d.ts",u(e,i)),generateDomainBindingBlock:C,generateStateConstants:b,generateConfiguratorBindingBlock:h,configuratorBindingDescription:"Creates the configurator interface and sets phx.frontend — must run before any user code imports.",generateAdminBindingBlock:t,adminBindingDescription:"Creates the admin interface and sets phx.frontend.admin — must run before admin user code imports."};export const modulePhxBindingStrategy={applicationTypeImportSource:"./application-types.js",generateApplicationTypesFile:(e,i)=>n("application-types.ts",x(e,i)),generateDomainBindingBlock:y,generateStateConstants:k,generateConfiguratorBindingBlock:j,configuratorBindingDescription:"Creates and exports the configurator interface for a module-scoped phx binding.",generateAdminBindingBlock:j,adminBindingDescription:"Creates and exports the admin interface for a module-scoped phx binding."};let S=n=>n.map(n=>n.file.name);export const generateDomainRuntimeFiles=(t,u)=>{let{applicationSpec:x,categorizedFiles:h,phxDefinitions:k,includeDefaultEnvs:y}=t,C=o(u.applicationTypeImportSource),b=S(h.expressions),j=S(h.actions),A=S(h.handlers),F=S(h.elements),I=S(h.transformers),T=S(h.invariants),w=S(h.adminInvariants),v=S(h.adminExpressions),E=S(h.adminElements),O=D(h.components),P=S(O.webhookIncluded),R=S(O.frontendOnly),q=D(h.adminComponents),z=S(q.webhookIncluded),G=S(q.frontendOnly);return[n("domain-spec.ts",f(x,{generateBindingBlock:u.generateDomainBindingBlock,generateStateConstants:u.generateStateConstants,registerApplicationTypeImports:C})),n("configurator-globals.ts",g(u.generateConfiguratorBindingBlock,u.configuratorBindingDescription,C)),n("configurator-domain-code.ts",c({expressionFiles:b,actionFiles:j,invariantFiles:T,componentFiles:P})),n("configurator-frontend-code.ts",m({transformerFiles:I,handlerFiles:A,elementFiles:F,componentFiles:R})),n("admin-domain-code.ts",a({adminExpressionFiles:v,adminInvariantFiles:w,adminComponentFiles:z})),n("admin-frontend-code.ts",r({adminElementFiles:E,adminComponentFiles:G})),n("spec-code.ts",d(x,C)),n("spec-messages.ts",B(x)),n("domain.ts",l(x)),n("configurator-config.ts",p(x,{includeDefaultEnvs:y})),u.generateApplicationTypesFile(x,k),n("admin-globals.ts",s(u.generateAdminBindingBlock,u.adminBindingDescription)),n("application-spec.json",e(i(x)),{format:!1})]};
@@ -10,8 +10,9 @@
10
10
  *
11
11
  * Each group module documents the criterion that decides its membership, so a new template
12
12
  * self-classifies into exactly one of them. This module owns only the aggregate and adds no files of
13
- * its own: it concatenates the two application-file groups, in that order, into the `.phoenix`
14
- * output, and spreads the scaffolding group's project-root buckets alongside them.
13
+ * its own: it concatenates the two application-file groups and the scaffolding group's `.phoenix`
14
+ * files, in that order, into the `.phoenix` output, and spreads the scaffolding group's project-root
15
+ * buckets alongside them.
15
16
  *
16
17
  * Generated projects always bind phx globally, so the aggregate selects `globalPhxBindingStrategy`.
17
18
  * A module-scoped binding is only meaningful to a consumer calling the domain-runtime group on its
@@ -1 +1 @@
1
- import{GeneratedApplication as o}from"../../core/index.js";import{generateDomainRuntimeFiles as e,globalPhxBindingStrategy as i}from"./domain-runtime-files.js";import{generateProjectScaffolding as r}from"./project-scaffolding.js";import{generateStandaloneAppFiles as t}from"./standalone-app-files.js";export const generateApplicationCode=m=>o({files:[...e(m,i),...t(m)],...r(m)});
1
+ import{GeneratedApplication as o}from"../../core/index.js";import{generateDomainRuntimeFiles as e,globalPhxBindingStrategy as r}from"./domain-runtime-files.js";import{generateProjectScaffolding as i}from"./project-scaffolding.js";import{generateStandaloneAppFiles as t}from"./standalone-app-files.js";export const generateApplicationCode=m=>{let{phoenixFiles:n,...p}=i(m);return o({files:[...e(m,r),...t(m),...n],...p})};
@@ -2,7 +2,7 @@
2
2
  * Generates the files that configure the generated project itself.
3
3
  *
4
4
  * Membership criterion: a file belongs to this group when it describes the project rather than the
5
- * application — dependency and toolchain configuration, formatting rules, agent instructions, and
5
+ * application — toolchain configuration, formatting rules, agent skills, and
6
6
  * the initial content a fresh project starts with. Nothing here is imported by the running
7
7
  * configurator or served by the deployed application.
8
8
  *
@@ -24,35 +24,43 @@ export declare const agentSkillRoots: readonly ['.claude/skills', '.agents/skill
24
24
  /**
25
25
  * Inputs required by generated-project configuration and initial project files.
26
26
  *
27
- * The SDK version pins the generated `package.json` dependency, `cliUseWorkspace` lets an explicit
28
- * CLI flag override the spec's workspace mode, and the optional name and description populate the
29
- * project metadata. The categorized files carry the project's existing `package.json` and `.gitignore`
30
- * so those templates can merge rather than clobber, and the legacy cursor rules and `CLAUDE.md` so the
31
- * SDK block can be stripped from them.
27
+ * The SDK version and the workspace mode decide whether the agent skills tell the agent to follow the
28
+ * canary builds; `cliUseWorkspace` lets an explicit CLI flag override the spec's workspace mode. The
29
+ * categorized files carry the project's existing `.gitignore` so its template can merge rather than
30
+ * clobber, the legacy cursor rules and `CLAUDE.md` so the
31
+ * SDK block can be stripped from them, and whether the root `tsconfig.json`, `eslint.config.js` and
32
+ * `prettier.config.js` are the ones earlier SDK versions generated, so they can be replaced.
33
+ *
34
+ * `projectInGitRepository` says whether the project folder is inside a git work tree. `.gitignore` is
35
+ * generated only then: a project that is not under git has no use for the file, and one it already
36
+ * has is left as it is. The caller finds this out, because generation reads no file system. The
37
+ * option defaults to `true`: these options are public through the `application-spec` entry, and a
38
+ * caller that does not pass it keeps getting `.gitignore`, as every caller did before the option existed.
32
39
  */
33
40
  export interface GenerateProjectScaffoldingOptions {
34
41
  readonly applicationSpec: ApplicationSpec;
35
42
  readonly categorizedFiles: CategorizedFiles;
36
43
  readonly sdkVersion: string;
44
+ readonly projectInGitRepository?: boolean;
37
45
  readonly cliUseWorkspace?: boolean;
38
- readonly name?: string;
39
- readonly description?: string;
40
46
  }
41
47
  /**
42
- * Project-root file buckets produced independently from the application runtime files.
48
+ * Project-root file buckets produced independently from the application runtime files, and the
49
+ * project configuration that lives in `.phoenix/`.
43
50
  *
44
51
  * The buckets are kept apart because they carry different write intent, which the caching layer
45
- * acts on: `generatedProjectFiles` are content-diffed and rewritten whenever they differ,
46
- * `initialProjectFiles` are written only when absent and are the project's to edit afterwards, and
47
- * `prettierFiles` are separated so a writer can emit the formatting configuration ahead of the
48
- * output it formats. `removedProjectFiles` lists project-relative paths of files earlier SDK versions
52
+ * acts on: `phoenixFiles` are paths relative to `.phoenix/` and join the application files there,
53
+ * rewritten whenever they differ and removed with the rest of the folder's stale output;
54
+ * `generatedProjectFiles` are content-diffed and rewritten whenever they differ, and
55
+ * `initialProjectFiles` are written only when absent and are the project's to edit afterwards.
56
+ * `removedProjectFiles` lists project-relative paths of files earlier SDK versions
49
57
  * generated that must no longer exist. As in the generated application bundle these buckets flow
50
58
  * into, they express that intent without implementing the write behavior themselves.
51
59
  */
52
60
  export interface GeneratedProjectScaffolding {
61
+ readonly phoenixFiles: readonly GeneratedApplicationFile[];
53
62
  readonly generatedProjectFiles: readonly GeneratedApplicationFile[];
54
63
  readonly initialProjectFiles: readonly GeneratedApplicationFile[];
55
- readonly prettierFiles: readonly GeneratedApplicationFile[];
56
64
  readonly removedProjectFiles: readonly string[];
57
65
  }
58
66
  export declare const generateProjectScaffolding: (options: GenerateProjectScaffoldingOptions) => GeneratedProjectScaffolding;
@@ -1,6 +1,6 @@
1
- import{GeneratedApplicationFile as e}from"../../core/index.js";import{followsCanaryBuilds as t,generateAgentsMd as n,generateApplicationSpecEnvCi as r,generateApplicationSpecEnvExample as o,generateApplicationSpecEslintConfig as i,generateApplicationSpecFavicon as a,generateApplicationSpecGitignore as s,generateApplicationSpecNvmrc as c,generateApplicationSpecPackageJson as l,generateApplicationSpecPrettierConfig as p,generateApplicationSpecPrettierIgnore as m,generateApplicationSpecPrivateAssetsReadme as f,generateApplicationSpecPublicAssetsReadme as d,generateApplicationSpecReadme as g,generateApplicationSpecRobotsTxt as u,generateApplicationSpecTsconfig as x,generateApplicationSpecWebhookImplementation as h,generateLinguiRcFile as v,generatePhoenixCliSkill as j,generatePhoenixCreateConfiguratorSkill as k,generatePhoenixCreateConfiguratorSkillReferences as b,generatePhoenixFeedbackSkill as E,generatePhoenixReviewSkill as F,generatePhoenixSkill as M,stripSdkMarkerContent as P}from"./templates/index.js";export const agentSkillRoots=[".claude/skills",".agents/skills"];let w=[{path:"CLAUDE.md",generatedPrefix:""},{path:".cursor/rules/phoenix.mdc",generatedPrefix:`---
1
+ import{GeneratedApplicationFile as e}from"../../core/index.js";import{followsCanaryBuilds as i,generateApplicationSpecEslintConfig as r,generateApplicationSpecFavicon as t,generateApplicationSpecGitignore as a,generateApplicationSpecPrettierConfig as o,generateApplicationSpecRobotsTxt as n,generateApplicationSpecRootTsconfig as l,generateApplicationSpecTsconfig as s,generateLinguiRcFile as c,generatePhoenixSkillBundle as d,stripSdkMarkerContent as f}from"./templates/index.js";export const agentSkillRoots=[".claude/skills",".agents/skills"];let p=[{path:"CLAUDE.md",generatedPrefix:""},{path:".cursor/rules/phoenix.mdc",generatedPrefix:`---
2
2
  description: Phoenix SDK project rules
3
3
  globs:
4
4
  alwaysApply: true
5
5
  ---
6
- `}],A=[".claude/commands/review.md",".cursor/commands/review.md"],S=(e,t)=>e.projectFiles.find(e=>e.file.name===t)?.file.content;export const generateProjectScaffolding=C=>{let D,{applicationSpec:L,categorizedFiles:R,sdkVersion:$,cliUseWorkspace:y,name:K,description:G}=C,I=S(R,"package.json"),N=S(R,".gitignore"),T=void 0!==y?y:L.appMetadata.workspace,U=(t=>{let n=[],r=[...A];for(let{path:o,generatedPrefix:i}of w){let a=S(t,o);if(void 0===a)continue;let s=P(a,i);void 0===s?r.push(o):s!==a&&n.push(e(o,s,{format:!1}))}return{strippedFiles:n,removedFiles:r}})(R);return{generatedProjectFiles:[e("package.json",l({sdkVersion:$,useWorkspace:T,useClerk:L.appMetadata.useClerk??!1,name:K,description:G,existingContent:I})),e(".nvmrc",c(),{format:!1}),e(".linguirc",v(L.configurator.ui.availableLocales),{format:!1}),e("tsconfig.json",x()),e("eslint.config.js",i()),e(".gitignore",s(N)),...(D=[{name:"phoenix",content:M({checkLatestCanary:t({useWorkspace:T,sdkVersion:$})}),references:[]},{name:"phoenix-cli",content:j(),references:[]},{name:"phoenix-create-configurator",content:k(),references:b()},{name:"phoenix-feedback",content:E(),references:[]},{name:"phoenix-review",content:F(),references:[]}],agentSkillRoots.flatMap(t=>D.flatMap(n=>[e(`${t}/${n.name}/SKILL.md`,n.content),...n.references.map(r=>e(`${t}/${n.name}/${r.path}`,r.content))]))),...U.strippedFiles],initialProjectFiles:[e("README.md",g(K)),e("AGENTS.md",n()),e(".env.ci",r()),e(".env.example",o()),e("public/favicon.ico",a(),{binary:!0}),e("public/robots.txt",u(),{format:!1}),e("assets/public/README.md",d()),e("assets/private/README.md",f()),e("src/webhooks/index.ts",h())],prettierFiles:[e("prettier.config.js",p()),e(".prettierignore",m(),{format:!1})],removedProjectFiles:U.removedFiles}};
6
+ `}],g=[".claude/commands/review.md",".cursor/commands/review.md"],m=(e,i)=>e.projectFiles.find(e=>e.file.name===i)?.file.content;export const generateProjectScaffolding=h=>{let u,j,{applicationSpec:x,categorizedFiles:P,sdkVersion:F,projectInGitRepository:E=!0,cliUseWorkspace:v}=h,G=m(P,".gitignore"),b=void 0!==v?v:x.appMetadata.workspace,k=(i=>{let r=[],t=[...g];for(let{path:a,generatedPrefix:o}of p){let n=m(i,a);if(void 0===n)continue;let l=f(n,o);void 0===l?t.push(a):l!==n&&r.push(e(a,l,{format:!1}))}return{strippedFiles:r,removedFiles:t}})(P),L={generatedProjectFiles:(u=[{file:e("tsconfig.json",l()),hasEarlierGenerated:P.hasEarlierGeneratedTsconfig},{file:e("eslint.config.js",r()),hasEarlierGenerated:P.hasEarlierGeneratedEslintConfig},{file:e("prettier.config.js",o()),hasEarlierGenerated:P.hasEarlierGeneratedPrettierConfig}]).filter(e=>e.hasEarlierGenerated).map(e=>e.file),initialProjectFiles:u.filter(e=>!e.hasEarlierGenerated).map(e=>e.file)};return{phoenixFiles:[e("tsconfig.json",s()),e(".linguirc",c(x.configurator.ui.availableLocales),{format:!1})],generatedProjectFiles:[...L.generatedProjectFiles,...E?[e(".gitignore",a(G))]:[],...(j=d({checkLatestCanary:i({useWorkspace:b,sdkVersion:F})}),agentSkillRoots.flatMap(i=>[e(`${i}/phoenix/SKILL.md`,j.content),...j.references.map(r=>e(`${i}/phoenix/${r.path}`,r.content))])),...k.strippedFiles],initialProjectFiles:[...L.initialProjectFiles,e("public/favicon.ico",t(),{binary:!0}),e("public/robots.txt",n(),{format:!1})],removedProjectFiles:k.removedFiles}};
@@ -18,8 +18,8 @@ import type { ApplicationSpec, CategorizedFiles, RawMockTemplates } from '../../
18
18
  * The project and environment slugs address the deployed environment the embedding bootstraps talk
19
19
  * to, and `enableEditor` together with `inlineTemplates` and the raw mock templates decide whether
20
20
  * and how the optional editor entry point is emitted. The categorized files are needed only to find
21
- * the authored handlers that are implicitly registered or explicitly pinned into the webhook, not
22
- * to bind the runtime.
21
+ * the authored handlers that are implicitly registered or explicitly pinned into the webhook, and
22
+ * to read whether the project has its own webhook entry, not to bind the runtime.
23
23
  */
24
24
  export interface GenerateStandaloneAppFilesOptions {
25
25
  readonly applicationSpec: ApplicationSpec;
@@ -1 +1 @@
1
- import{GeneratedApplicationFile as e}from"../../core/index.js";import{generateApplicationSpecAdminConfig as t,generateApplicationSpecAdminFile as a,generateApplicationSpecConfiguratorFile as o,generateApplicationSpecEditorFile as n,generateApplicationSpecEmbeddedAdmin as d,generateApplicationSpecEmbeddedConfigurator as p,generateApplicationSpecFrontendConfig as s,generateApplicationSpecHtmlAdminIndex as i,generateApplicationSpecHtmlIndex as m,generateApplicationSpecWebhookBuilders as r,generateApplicationSpecWebhookIndex as l,generateApplicationSpecWebhooksConfig as f}from"./templates/index.js";import{getWebhookHandlerFileNames as g}from"./webhook-safe-files.js";export const generateStandaloneAppFiles=b=>{let{applicationSpec:c,categorizedFiles:h,projectSlug:w,environmentSlug:x,enableEditor:M,inlineTemplates:T,rawMockTemplates:k}=b,u=k.templates,j=g(h.handlers);return[e("index.html",m(c.appMetadata.webComponentTag,M,c.appMetadata.pageTitle)),e("configurator.ts",o(c.appMetadata.webComponentTag)),e("admin.html",i(c.appMetadata.pageTitle)),e("admin.ts",a()),e("admin-config.ts",t()),e("frontend.config.ts",s(c)),e("webhooks.config.ts",f(c)),e("webhook.ts",l()),e("webhook-builders.ts",r(c,j)),e("embedded-admin.ts",d(w,x)),e("embedded-configurator.ts",p(w,x)),...M?[e("editor.tsx",n(c.appMetadata.webComponentTag,T,u,x))]:[]]};
1
+ import{GeneratedApplicationFile as e}from"../../core/index.js";import{generateApplicationSpecAdminConfig as t,generateApplicationSpecAdminFile as a,generateApplicationSpecConfiguratorFile as o,generateApplicationSpecEditorFile as n,generateApplicationSpecEmbeddedAdmin as s,generateApplicationSpecEmbeddedConfigurator as d,generateApplicationSpecFrontendConfig as p,generateApplicationSpecHtmlAdminIndex as i,generateApplicationSpecHtmlIndex as r,generateApplicationSpecWebhookBuilders as m,generateApplicationSpecWebhookIndex as b,generateApplicationSpecWebhooksConfig as l}from"./templates/index.js";import{getWebhookHandlerFileNames as f}from"./webhook-safe-files.js";export const generateStandaloneAppFiles=g=>{let{applicationSpec:h,categorizedFiles:c,projectSlug:w,environmentSlug:k,enableEditor:x,inlineTemplates:M,rawMockTemplates:T}=g,u=T.templates,j=f(c.handlers);return[e("index.html",r(h.appMetadata.webComponentTag,x,h.appMetadata.pageTitle)),e("configurator.ts",o(h.appMetadata.webComponentTag)),e("admin.html",i(h.appMetadata.pageTitle)),e("admin.ts",a()),e("admin-config.ts",t()),e("frontend.config.ts",p(h)),e("webhooks.config.ts",l(h)),e("webhook.ts",b({hasWebhookEntry:c.hasWebhookEntry})),e("webhook-builders.ts",m(h,j)),e("embedded-admin.ts",s(w,k)),e("embedded-configurator.ts",d(w,k)),...x?[e("editor.tsx",n(h.appMetadata.webComponentTag,M,u,k))]:[]]};
@@ -1 +1 @@
1
- import{GeneratedApplicationFile as e,isTextFile as t}from"../../core/index.js";import{generateDomainRuntimeFiles as i,modulePhxBindingStrategy as r}from"./domain-runtime-files.js";import{generateApplicationSpecStoryDevDeclaration as o,generateApplicationSpecStoryPhxModule as a,generateApplicationSpecStoryRawProjectFiles as n,generateApplicationSpecStoryWrapper as s,generateLinguiRcFile as l}from"./templates/index.js";let p=".phoenix";export const getStoryTextFiles=e=>{let i=e.files.find(e=>"binary"===e.kind);if(i)throw Error(`Cannot build application-spec story: "${i.name}" is binary. Stories inline text project files only; remove the binary asset or demonstrate this project in a demo instead.`);return e.files.filter(t)};export const generateApplicationSpecStoryFiles=t=>{let{application:c,phxDefinitions:m,rawProjectFiles:f,storyFolderName:d,storyName:u}=t,y=getStoryTextFiles(f);return[...i({applicationSpec:c.applicationSpec,categorizedFiles:c.categorizedFiles,phxDefinitions:m,includeDefaultEnvs:!1},r).map(t=>e(`${p}/${t.path}`,t.content,{binary:t.binary,format:t.format})),e(".linguirc",l([...c.applicationSpec.configurator.ui.availableLocales]),{format:!1}),e(`${p}/phx.ts`,a()),e(`${p}/raw-project-files.ts`,n(y,f.envs)),e(`${p}/${u}.tsx`,s(d,c.rawMockTemplates.templates)),e(`${p}/story-dev-virtual-module.d.ts`,o(d))]};
1
+ import{GeneratedApplicationFile as e,isTextFile as t}from"../../core/index.js";import{generateDomainRuntimeFiles as i,modulePhxBindingStrategy as r}from"./domain-runtime-files.js";import{generateApplicationSpecStoryDevDeclaration as o,generateApplicationSpecStoryPhxModule as a,generateApplicationSpecStoryRawProjectFiles as n,generateApplicationSpecStoryWrapper as s,generateLinguiRcFile as l}from"./templates/index.js";let p=".phoenix";export const getStoryTextFiles=e=>{let i=e.files.find(e=>"binary"===e.kind);if(i)throw Error(`Cannot build application-spec story: "${i.name}" is binary. Stories inline text project files only; remove the binary asset or demonstrate this project in a demo instead.`);return e.files.filter(t)};export const generateApplicationSpecStoryFiles=t=>{let{application:c,phxDefinitions:m,rawProjectFiles:f,storyFolderName:d,storyName:u}=t,y=getStoryTextFiles(f);return[...i({applicationSpec:c.applicationSpec,categorizedFiles:c.categorizedFiles,phxDefinitions:m,includeDefaultEnvs:!1},r).map(t=>e(`${p}/${t.path}`,t.content,{binary:t.binary,format:t.format})),e(".linguirc",l([...c.applicationSpec.configurator.ui.availableLocales]),{format:!1}),e(`${p}/phx.ts`,a(c.applicationSpec)),e(`${p}/raw-project-files.ts`,n(y,f.envs)),e(`${p}/${u}.tsx`,s(d,c.rawMockTemplates.templates)),e(`${p}/story-dev-virtual-module.d.ts`,o(d))]};
@@ -1,4 +1,6 @@
1
1
  import{autoHeader as n}from"../common/file-headers.js";export const generateApplicationSpecAdminConfig=()=>`${n("admin-config.ts","Admin configurator config — builds admin interface and wires admin components/elements.")}
2
+ import { defaultAdminElements } from '@salsita-ai/sdk/admin'
3
+
2
4
  import { configuratorConfig } from './configurator-config.js'
3
5
  import { adminInterface } from './admin-globals.js'
4
6
  import { customAdminComponentOptics } from './admin-domain-code.js'
@@ -9,5 +11,6 @@ export const adminConfig = configuratorConfig
9
11
  .withInterface(adminInterface)
10
12
  .withAdminComponentOptics(customAdminComponentOptics)
11
13
  .withAdminComponentOptics(customFrontendAdminComponentOptics)
14
+ .withDefaultElements(defaultAdminElements)
12
15
  .withElements([...customElements, ...customAdminElements])
13
16
  `;
@@ -1,8 +1,7 @@
1
- import { type ApplicationTypeImportRegistrar } from '../common/index.js';
2
1
  interface GenerateAdminCodeOptions {
3
2
  readonly adminExpressionFiles: readonly string[];
4
3
  readonly adminInvariantFiles: readonly string[];
5
4
  readonly adminComponentFiles: readonly string[];
6
5
  }
7
- export declare const generateApplicationSpecAdminCode: (options: GenerateAdminCodeOptions, registerApplicationTypeImports?: ApplicationTypeImportRegistrar) => string;
6
+ export declare const generateApplicationSpecAdminCode: (options: GenerateAdminCodeOptions) => string;
8
7
  export {};
@@ -1,17 +1,9 @@
1
- import{autoHeader as n}from"../common/file-headers.js";import{CodeImports as t,skipApplicationTypeImports as e}from"../common/index.js";let s=(n,t)=>n.map((n,e)=>{let s=`../${n.replace(/\.tsx?$/,".js")}`;return`import ${t}${e} from '${s}'`}),i=(n,t="\n")=>n.length>0?"\n"+n.join(t)+"\n":"";export const generateApplicationSpecAdminCode=(o,a=e)=>{let{adminExpressionFiles:r,adminInvariantFiles:m,adminComponentFiles:d}=o,p=new t;for(let n of["AliasedExpressions","AliasedInvariants","DomainComponentOptic","SystemComponentTypeConstraint"])p.addTypeImport("@salsita-ai/sdk/domain",n);a(p,["Admin","FrontendData","PublishedData","SessionData"]);let c=[...s(r,"adminExpressions"),...s(m,"adminInvariants"),...s(d,"adminComponents")],A=r.map((n,t)=>`for (const [type, exprs] of Object.entries(adminExpressions${t})) {
2
- mergedExpressions[type] = { ...mergedExpressions[type], ...exprs }
3
- }`),y=m.map((n,t)=>`for (const [type, invs] of Object.entries(adminInvariants${t})) {
4
- mergedInvariants[type] = [...(mergedInvariants[type] ?? []), ...invs]
5
- }`),l=d.map((n,t)=>`adminComponents${t}`);return`${n("admin-domain-code.ts","Barrel file for user-authored admin domain code — expressions, invariants and components.")}
6
- ${p.toString()}
7
- ${i(c)}
8
- const mergedExpressions: Record<string, Record<string, unknown>> = {}
9
- ${i(A,"\n\n")}
10
- export const customAdminExpressions = mergedExpressions as AliasedExpressions<Admin.AnyDomainEntity, Admin.RootEntity, PublishedData, SessionData, FrontendData, Admin.Aliases>
1
+ import{autoHeader as n}from"../common/file-headers.js";import{CodeImports as o,generateProjectModuleImports as e,generateProjectModuleList as t}from"../common/index.js";export const generateApplicationSpecAdminCode=i=>{let{adminExpressionFiles:s,adminInvariantFiles:r,adminComponentFiles:a}=i,d=new o;d.addTypeImport("@salsita-ai/sdk/domain","ProjectModule");let m=[...e(s,"adminExpressions"),...e(r,"adminInvariants"),...e(a,"adminComponents")];return`${n("admin-domain-code.ts","Barrel file for user-authored admin domain code — expressions, invariants and components.")}
2
+ ${d.toString()}
3
+ ${m.length>0?"\n"+m.join("\n")+"\n":""}
4
+ export const customAdminExpressions: readonly ProjectModule[] = ${t(s,"adminExpressions")}
11
5
 
12
- const mergedInvariants: Record<string, ReadonlyArray<unknown>> = {}
13
- ${i(y,"\n\n")}
14
- export const customAdminInvariants = mergedInvariants as AliasedInvariants<Admin.AnyDomainEntity, Admin.RootEntity, PublishedData, SessionData, FrontendData, Admin.Aliases, string>
6
+ export const customAdminInvariants: readonly ProjectModule[] = ${t(r,"adminInvariants")}
15
7
 
16
- export const customAdminComponentOptics: ReadonlyArray<DomainComponentOptic<Admin.AnyDomainEntity, Admin.RootEntity, PublishedData, SessionData, FrontendData, Admin.AnyDomainEntity, SystemComponentTypeConstraint>> = [${l.join(", ")}].flat()
8
+ export const customAdminComponentOptics: readonly ProjectModule[] = ${t(a,"adminComponents")}
17
9
  `};
@@ -1,7 +1,6 @@
1
- import { type ApplicationTypeImportRegistrar } from '../common/index.js';
2
1
  interface GenerateAdminFrontendCodeOptions {
3
2
  readonly adminElementFiles: readonly string[];
4
3
  readonly adminComponentFiles: readonly string[];
5
4
  }
6
- export declare const generateApplicationSpecAdminFrontendCode: (options: GenerateAdminFrontendCodeOptions, registerApplicationTypeImports?: ApplicationTypeImportRegistrar) => string;
5
+ export declare const generateApplicationSpecAdminFrontendCode: (options: GenerateAdminFrontendCodeOptions) => string;
7
6
  export {};
@@ -1,9 +1,9 @@
1
- import{autoHeader as n}from"../common/file-headers.js";import{CodeImports as t,skipApplicationTypeImports as e}from"../common/index.js";let o=(n,t)=>n.map((n,e)=>{let o=`../${n.replace(/\.tsx?$/,".js")}`;return`import ${t}${e} from '${o}'`});export const generateApplicationSpecAdminFrontendCode=(m,i=e)=>{let{adminElementFiles:a,adminComponentFiles:r}=m,d=new t;for(let n of["DomainComponentOptic","ElementRegistration","SystemComponentTypeConstraint"])d.addTypeImport("@salsita-ai/sdk/domain",n);i(d,["Admin","FrontendData","PublishedData","SessionData"]);let s=[...o(a,"adminElements"),...o(r,"frontendAdminComponents")],p=a.map((n,t)=>`adminElements${t}`),l=r.map((n,t)=>`frontendAdminComponents${t}`);return`${n("admin-frontend-code.ts","Barrel file for user-authored admin frontend code — elements and frontend-only components. Needs phx.frontend.admin.")}
2
- ${d.toString()}
1
+ import{autoHeader as n}from"../common/file-headers.js";import{CodeImports as e,generateProjectModuleImports as o,generateProjectModuleList as t}from"../common/index.js";export const generateApplicationSpecAdminFrontendCode=d=>{let{adminElementFiles:m,adminComponentFiles:r}=d,i=new e;i.addTypeImport("@salsita-ai/sdk/domain","ProjectModule");let s=[...o(m,"adminElements"),...o(r,"frontendAdminComponents")];return`${n("admin-frontend-code.ts","Barrel file for user-authored admin frontend code — elements and frontend-only components. Needs phx.frontend.admin.")}
2
+ ${i.toString()}
3
3
 
4
4
  import './admin-globals.js'
5
5
  ${s.length>0?"\n"+s.join("\n")+"\n":""}
6
- export const customAdminElements: readonly ElementRegistration[] = [${p.join(", ")}].flat()
6
+ export const customAdminElements: readonly ProjectModule[] = ${t(m,"adminElements")}
7
7
 
8
- export const customFrontendAdminComponentOptics: ReadonlyArray<DomainComponentOptic<Admin.AnyDomainEntity, Admin.RootEntity, PublishedData, SessionData, FrontendData, Admin.AnyDomainEntity, SystemComponentTypeConstraint>> = [${l.join(", ")}].flat()
8
+ export const customFrontendAdminComponentOptics: readonly ProjectModule[] = ${t(r,"frontendAdminComponents")}
9
9
  `};
@@ -1,9 +1,9 @@
1
- import{CodeImports as e}from"../common/code-imports.js";import{autoHeader as o}from"../common/file-headers.js";import{generateStateTypeDecls as t}from"./domain-spec/index.js";import{generateDataSchemaTypeDecls as n,generateEntityExpressionComposites as i,generateExpressionTypeDecls as a,generateModelTypeDecls as s}from"./global-definition/index.js";export const generateApplicationSpecTypeDeclarations=(o,r,p)=>{let l=new e,d=p+2,m=" ".repeat(p),c=s(o.configurator.latestModel,r,l,p),f=[];for(let e of o.configurator.resolvedVersions.versionedModels){let o=`ModelV${e.version}`,t=s(e.modelVersion,r,l,d);f.push(`${m}namespace ${o} {
2
- ${t}${m}}`)}let $=s(o.admin.latestModel,r,l,d),g=`${m}namespace Admin {
3
- ${$}${m}}`,u=[];for(let e of o.admin.resolvedVersions.versionedModels){let o=`AdminV${e.version}`,t=s(e.modelVersion,r,l,d);u.push(`${m}namespace ${o} {
4
- ${t}${m}}`)}let y=a(o.configurator.expressions,r,l,p),x=i(o.configurator.latestModel,o.configurator.expressions,l,p,""),M=[a(o.admin.expressions,r,l,d),i(o.admin.latestModel,o.admin.expressions,l,d,"Admin")].filter(Boolean).join("\n\n"),v=M?`${m}namespace Admin {
5
- ${M}
6
- ${m}}`:"",A=n(o,r,l,p),S=t({configuratorStates:o.configurator.states,adminStates:o.admin.states},p);return l.addTypeImport("@salsita-ai/sdk/domain","DomainEntityId"),{imports:l,declarations:[c,y,x,A,S,...f,g,v,...u].filter(Boolean).join("\n\n")}};export const generateApplicationSpecTypesModule=(e,t)=>{let{declarations:n,imports:i}=generateApplicationSpecTypeDeclarations(e,t,0);return`${o("application-types.ts","Story-local application, model and state types derived from the spec.")}
1
+ import{CodeImports as e}from"../common/code-imports.js";import{autoHeader as o}from"../common/file-headers.js";import{generateStateTypeDecls as t}from"./domain-spec/index.js";import{generateActionTypeDecls as n,generateAssistantFormElementTypeDecls as i,generateDataSchemaTypeDecls as a,generateEntityExpressionComposites as s,generateExpressionTypeDecls as r,generateModelTypeDecls as l}from"./global-definition/index.js";export const generateApplicationSpecTypeDeclarations=(o,p,d)=>{let m=new e,c=d+2,f=" ".repeat(d),$=l(o.configurator.latestModel,p,m,d),g=[];for(let e of o.configurator.resolvedVersions.versionedModels){let o=`ModelV${e.version}`,t=l(e.modelVersion,p,m,c);g.push(`${f}namespace ${o} {
2
+ ${t}${f}}`)}let u=l(o.admin.latestModel,p,m,c),y=`${f}namespace Admin {
3
+ ${u}${f}}`,x=[];for(let e of o.admin.resolvedVersions.versionedModels){let o=`AdminV${e.version}`,t=l(e.modelVersion,p,m,c);x.push(`${f}namespace ${o} {
4
+ ${t}${f}}`)}let M=r(o.configurator.expressions,p,m,d),v=s(o.configurator.latestModel,o.configurator.expressions,m,d,""),A=[r(o.admin.expressions,p,m,c),s(o.admin.latestModel,o.admin.expressions,m,c,"Admin")].filter(Boolean).join("\n\n"),S=A?`${f}namespace Admin {
5
+ ${A}
6
+ ${f}}`:"",j=n(o.configurator.actions,o.configurator.latestModel,p,m,d),V=i(o.configurator.assistant?.resolved.formElements??[],p,m,d),h=a(o,p,m,d),T=t({configuratorStates:o.configurator.states,adminStates:o.admin.states},d);return m.addTypeImport("@salsita-ai/sdk/domain","DomainEntityId"),{imports:m,declarations:[$,M,v,j,V,h,T,...g,y,S,...x].filter(Boolean).join("\n\n")}};export const generateApplicationSpecTypesModule=(e,t)=>{let{declarations:n,imports:i}=generateApplicationSpecTypeDeclarations(e,t,0);return`${o("application-types.ts","Story-local application, model and state types derived from the spec.")}
7
7
  ${i.toTypeOnlyString(".phoenix/application-types.ts")}
8
8
 
9
9
  ${n.replace(/^(\s*)(type|interface|namespace) /gm,"$1export $2 ")}
@@ -0,0 +1,2 @@
1
+ /** The doc comment lines of a declared description at `pad`; none when there is no description. */
2
+ export declare const docComment: (description: string | undefined, pad: string) => readonly string[];
@@ -0,0 +1 @@
1
+ export const docComment=(t,e)=>{let m=(t??"").trim().replaceAll("*/","*\\/").split("\n").map(t=>t.trim());return""===m[0]||void 0===m[0]?[]:1===m.length?[`${e}/** ${m[0]} */`]:[`${e}/**`,...m.map(t=>`${e} * ${t}`.trimEnd()),`${e} */`]};
@@ -0,0 +1,7 @@
1
+ /**
2
+ * Writes a property name taken from the YAML spec (a key of a JSON schema's `properties`) as the
3
+ * key of a generated TypeScript type member. An ASCII identifier stays bare, so generated code for
4
+ * such names reads as before; any other name (`my-key`, `Children's`, `1st`, `with space`, `größe`)
5
+ * becomes a string literal, which TypeScript accepts for every name.
6
+ */
7
+ export declare const formatPropertyKey: (key: string) => string;
@@ -0,0 +1 @@
1
+ let t=/^[A-Za-z_$][\w$]*$/;export const formatPropertyKey=e=>t.test(e)?e:JSON.stringify(e);