@salsita-ai/sdk 0.50.0-develop.c28cfb7ded → 0.50.0-develop.c402728d10

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 (1406) hide show
  1. package/README.md +24 -15
  2. package/dist/admin/AdminShell.js +1 -1
  3. package/dist/admin/default-admin-elements.d.ts +9 -0
  4. package/dist/admin/default-admin-elements.js +1 -0
  5. package/dist/admin/default-elements/built-in-entity-element.d.ts +10 -0
  6. package/dist/admin/default-elements/built-in-entity-element.js +1 -0
  7. package/dist/admin/default-elements/built-in-layout-element.d.ts +10 -0
  8. package/dist/admin/default-elements/built-in-layout-element.js +1 -0
  9. package/dist/admin/default-elements/index.d.ts +2 -0
  10. package/dist/admin/default-elements/index.js +1 -0
  11. package/dist/admin/index.d.ts +1 -0
  12. package/dist/admin/index.js +1 -1
  13. package/dist/admin/legacy-admin/Application.js +1 -1
  14. package/dist/application/index.d.ts +1 -0
  15. package/dist/application/index.js +1 -1
  16. package/dist/application/mount-application.d.ts +1 -1
  17. package/dist/application/mount-application.js +1 -1
  18. package/dist/application/mount-configurator.d.ts +19 -0
  19. package/dist/application/mount-configurator.js +1 -0
  20. package/dist/application/mounted-application-runtime.d.ts +4 -0
  21. package/dist/application/mounted-application-runtime.js +1 -0
  22. package/dist/application/register-web-component.d.ts +2 -0
  23. package/dist/application/register-web-component.js +1 -0
  24. package/dist/application-spec/caching/content-diff.js +1 -1
  25. package/dist/application-spec/core/application-file.d.ts +0 -2
  26. package/dist/application-spec/core/application-file.js +1 -1
  27. package/dist/application-spec/core/enhanced-json-value.d.ts +2 -31
  28. package/dist/application-spec/core/enhanced-json-value.js +1 -1
  29. package/dist/application-spec/core/index.d.ts +1 -3
  30. package/dist/application-spec/core/index.js +1 -1
  31. package/dist/application-spec/core/json-schema.d.ts +2 -52
  32. package/dist/application-spec/core/markers/index.d.ts +1 -1
  33. package/dist/application-spec/core/markers/index.js +1 -1
  34. package/dist/application-spec/core/markers/msg-marker.d.ts +2 -28
  35. package/dist/application-spec/core/markers/msg-marker.js +1 -1
  36. package/dist/application-spec/core/markers/raw-eval-write-marker.d.ts +1 -1
  37. package/dist/application-spec/core/markers/raw-eval-write-marker.js +1 -1
  38. package/dist/application-spec/core/markers/raw-read-write-marker.js +1 -1
  39. package/dist/application-spec/errors/diagnostic-codes.d.ts +22 -1
  40. package/dist/application-spec/errors/diagnostic-codes.js +1 -1
  41. package/dist/application-spec/errors/diagnostic-messages.d.ts +30 -2
  42. package/dist/application-spec/errors/diagnostic-messages.js +1 -1
  43. package/dist/application-spec/generate-application/code/common/code-imports.js +1 -1
  44. package/dist/application-spec/generate-application/code/common/env-reader.js +2 -2
  45. package/dist/application-spec/generate-application/code/common/index.d.ts +1 -0
  46. package/dist/application-spec/generate-application/code/common/index.js +1 -1
  47. package/dist/application-spec/generate-application/code/common/single-quoted-string.d.ts +6 -0
  48. package/dist/application-spec/generate-application/code/common/single-quoted-string.js +1 -0
  49. package/dist/application-spec/generate-application/code/domain-runtime-files.js +1 -1
  50. package/dist/application-spec/generate-application/code/generate-application-code.d.ts +3 -2
  51. package/dist/application-spec/generate-application/code/generate-application-code.js +1 -1
  52. package/dist/application-spec/generate-application/code/project-scaffolding.d.ts +15 -14
  53. package/dist/application-spec/generate-application/code/project-scaffolding.js +2 -2
  54. package/dist/application-spec/generate-application/code/story-files.js +1 -1
  55. package/dist/application-spec/generate-application/code/templates/admin-config.js +3 -0
  56. package/dist/application-spec/generate-application/code/templates/application-types.js +6 -6
  57. package/dist/application-spec/generate-application/code/templates/common/doc-comment.d.ts +2 -0
  58. package/dist/application-spec/generate-application/code/templates/common/doc-comment.js +1 -0
  59. package/dist/application-spec/generate-application/code/templates/common/format-property-key.d.ts +7 -0
  60. package/dist/application-spec/generate-application/code/templates/common/format-property-key.js +1 -0
  61. package/dist/application-spec/generate-application/code/templates/common/schema-to-type-string.js +3 -3
  62. package/dist/application-spec/generate-application/code/templates/configurator-globals.d.ts +2 -1
  63. package/dist/application-spec/generate-application/code/templates/configurator-globals.js +19 -6
  64. package/dist/application-spec/generate-application/code/templates/domain-spec/factory-types/domain-factory-types.d.ts +35 -0
  65. package/dist/application-spec/generate-application/code/templates/domain-spec/factory-types/domain-factory-types.js +5 -0
  66. package/dist/application-spec/generate-application/code/templates/domain-spec/factory-types/index.d.ts +1 -0
  67. package/dist/application-spec/generate-application/code/templates/domain-spec/factory-types/index.js +1 -0
  68. package/dist/application-spec/generate-application/code/templates/domain-spec/generate-component-optics.d.ts +1 -1
  69. package/dist/application-spec/generate-application/code/templates/domain-spec/generate-component-optics.js +6 -6
  70. package/dist/application-spec/generate-application/code/templates/domain-spec/generate-domain-block.js +59 -63
  71. package/dist/application-spec/generate-application/code/templates/domain-spec/generate-invariants.d.ts +8 -0
  72. package/dist/application-spec/generate-application/code/templates/domain-spec/generate-invariants.js +1 -1
  73. package/dist/application-spec/generate-application/code/templates/domain-spec/generate-presets.js +1 -1
  74. package/dist/application-spec/generate-application/code/templates/domain-spec/generate-resources.js +13 -13
  75. package/dist/application-spec/generate-application/code/templates/domain-spec/generate-states.d.ts +1 -1
  76. package/dist/application-spec/generate-application/code/templates/domain-spec/generate-states.js +2 -2
  77. package/dist/application-spec/generate-application/code/templates/domain-spec/index.d.ts +2 -1
  78. package/dist/application-spec/generate-application/code/templates/domain-spec/index.js +1 -1
  79. package/dist/application-spec/generate-application/code/templates/eslint-config.d.ts +5 -0
  80. package/dist/application-spec/generate-application/code/templates/eslint-config.js +4 -5
  81. package/dist/application-spec/generate-application/code/templates/frontend-config.js +3 -5
  82. package/dist/application-spec/generate-application/code/templates/gitignore.js +0 -3
  83. package/dist/application-spec/generate-application/code/templates/global-definition/generate-action-types.js +7 -7
  84. package/dist/application-spec/generate-application/code/templates/global-definition/generate-assistant-form-element-types.d.ts +12 -0
  85. package/dist/application-spec/generate-application/code/templates/global-definition/generate-assistant-form-element-types.js +7 -0
  86. package/dist/application-spec/generate-application/code/templates/global-definition/generate-phx-types.d.ts +43 -0
  87. package/dist/application-spec/generate-application/code/templates/global-definition/generate-phx-types.js +33 -0
  88. package/dist/application-spec/generate-application/code/templates/global-definition/index.d.ts +2 -0
  89. package/dist/application-spec/generate-application/code/templates/global-definition/index.js +1 -1
  90. package/dist/application-spec/generate-application/code/templates/globals.js +24 -44
  91. package/dist/application-spec/generate-application/code/templates/index.d.ts +5 -8
  92. package/dist/application-spec/generate-application/code/templates/index.js +1 -1
  93. package/dist/application-spec/generate-application/code/templates/lingui-rc.d.ts +5 -0
  94. package/dist/application-spec/generate-application/code/templates/lingui-rc.js +4 -4
  95. package/dist/application-spec/generate-application/code/templates/prettier-config.d.ts +5 -0
  96. package/dist/application-spec/generate-application/code/templates/prettier-config.js +4 -5
  97. package/dist/application-spec/generate-application/code/templates/root-tsconfig.d.ts +6 -0
  98. package/dist/application-spec/generate-application/code/templates/root-tsconfig.js +2 -0
  99. package/dist/application-spec/generate-application/code/templates/skills/phoenix-cli-skill.js +1 -1
  100. package/dist/application-spec/generate-application/code/templates/skills/phoenix-create-configurator-skill.js +1 -1
  101. package/dist/application-spec/generate-application/code/templates/skills/phoenix-feedback-skill.js +5 -5
  102. package/dist/application-spec/generate-application/code/templates/skills/phoenix-review-skill.js +3 -3
  103. package/dist/application-spec/generate-application/code/templates/skills/phoenix-skill-bundle.d.ts +10 -0
  104. package/dist/application-spec/generate-application/code/templates/skills/phoenix-skill-bundle.js +7 -0
  105. package/dist/application-spec/generate-application/code/templates/skills/phoenix-skill.js +1 -1
  106. package/dist/application-spec/generate-application/code/templates/skills/phoenix-variants-skill.js +2 -2
  107. package/dist/application-spec/generate-application/code/templates/skills/sdk-content.d.ts +30 -11
  108. package/dist/application-spec/generate-application/code/templates/skills/sdk-content.js +2 -2
  109. package/dist/application-spec/generate-application/code/templates/spec-code/collect-spec-code.d.ts +58 -0
  110. package/dist/application-spec/generate-application/code/templates/spec-code/collect-spec-code.js +1 -0
  111. package/dist/application-spec/generate-application/code/templates/spec-code/index.d.ts +2 -0
  112. package/dist/application-spec/generate-application/code/templates/spec-code/index.js +1 -0
  113. package/dist/application-spec/generate-application/code/templates/spec-code/spec-code.d.ts +18 -0
  114. package/dist/application-spec/generate-application/code/templates/spec-code/spec-code.js +41 -0
  115. package/dist/application-spec/generate-application/code/templates/spec-messages/index.d.ts +1 -0
  116. package/dist/application-spec/generate-application/code/templates/spec-messages/index.js +1 -0
  117. package/dist/application-spec/generate-application/code/templates/spec-messages/spec-messages.d.ts +20 -0
  118. package/dist/application-spec/generate-application/code/templates/spec-messages/spec-messages.js +6 -0
  119. package/dist/application-spec/generate-application/code/templates/story/phx-module.d.ts +8 -2
  120. package/dist/application-spec/generate-application/code/templates/story/phx-module.js +15 -3
  121. package/dist/application-spec/generate-application/code/templates/story/wrapper.d.ts +3 -0
  122. package/dist/application-spec/generate-application/code/templates/story/wrapper.js +4 -5
  123. package/dist/application-spec/generate-application/code/templates/tsconfig.d.ts +5 -0
  124. package/dist/application-spec/generate-application/code/templates/tsconfig.js +1 -1
  125. package/dist/application-spec/generate-application/code/templates/webhooks-config.js +2 -3
  126. package/dist/application-spec/generate-application/implementations/phx-application-types.d.ts +25 -0
  127. package/dist/application-spec/generate-application/implementations/phx-application-types.js +1 -0
  128. package/dist/application-spec/generate-application/implementations/phx-domain.d.ts +36 -0
  129. package/dist/application-spec/generate-application/implementations/phx-domain.js +1 -0
  130. package/dist/application-spec/generate-application/implementations/phx-model.d.ts +24 -0
  131. package/dist/application-spec/generate-application/implementations/phx-model.js +1 -0
  132. package/dist/application-spec/generate-application/implementations/phx.d.ts +22 -0
  133. package/dist/application-spec/generate-application/implementations/phx.js +1 -0
  134. package/dist/application-spec/generate-application/index.d.ts +2 -0
  135. package/dist/application-spec/generate-application/index.js +1 -1
  136. package/dist/application-spec/generate-application/runtime/admin-runtime/admin-model-runtime.d.ts +6 -5
  137. package/dist/application-spec/generate-application/runtime/admin-runtime/admin-model-runtime.js +1 -1
  138. package/dist/application-spec/generate-application/runtime/admin-runtime/admin-runtime.d.ts +9 -5
  139. package/dist/application-spec/generate-application/runtime/admin-runtime/admin-runtime.js +1 -1
  140. package/dist/application-spec/generate-application/runtime/admin-runtime/admin-spec-runtime.d.ts +16 -0
  141. package/dist/application-spec/generate-application/runtime/admin-runtime/admin-spec-runtime.js +1 -0
  142. package/dist/application-spec/generate-application/runtime/admin-runtime/states-runtime.d.ts +2 -2
  143. package/dist/application-spec/generate-application/runtime/application-runtime.d.ts +29 -9
  144. package/dist/application-spec/generate-application/runtime/application-runtime.js +1 -1
  145. package/dist/application-spec/generate-application/runtime/application-spec-slice.d.ts +71 -0
  146. package/dist/application-spec/generate-application/runtime/application-spec-slice.js +1 -0
  147. package/dist/application-spec/generate-application/runtime/configurator-runtime/configurator-model-runtime.d.ts +7 -6
  148. package/dist/application-spec/generate-application/runtime/configurator-runtime/configurator-model-runtime.js +1 -1
  149. package/dist/application-spec/generate-application/runtime/configurator-runtime/configurator-runtime.d.ts +9 -6
  150. package/dist/application-spec/generate-application/runtime/configurator-runtime/configurator-runtime.js +1 -1
  151. package/dist/application-spec/generate-application/runtime/configurator-runtime/configurator-spec-runtime.d.ts +16 -0
  152. package/dist/application-spec/generate-application/runtime/configurator-runtime/configurator-spec-runtime.js +1 -0
  153. package/dist/application-spec/generate-application/runtime/configurator-runtime/states-runtime.d.ts +2 -2
  154. package/dist/application-spec/generate-application/runtime/create-application.d.ts +57 -0
  155. package/dist/application-spec/generate-application/runtime/create-application.js +1 -0
  156. package/dist/application-spec/generate-application/runtime/factory-data/factory-data-runtime.d.ts +1 -2
  157. package/dist/application-spec/generate-application/runtime/factory-data/recipe-defaults.d.ts +1 -1
  158. package/dist/application-spec/generate-application/runtime/factory-data/recipe-defaults.js +1 -1
  159. package/dist/application-spec/generate-application/runtime/factory-data/static-violations.d.ts +1 -2
  160. package/dist/application-spec/generate-application/runtime/factory-data/static-violations.js +1 -1
  161. package/dist/application-spec/generate-application/runtime/generate-runtime-instance.d.ts +1 -1
  162. package/dist/application-spec/generate-application/runtime/generate-runtime-instance.js +1 -1
  163. package/dist/application-spec/generate-application/runtime/index.d.ts +8 -0
  164. package/dist/application-spec/generate-application/runtime/index.js +1 -0
  165. package/dist/application-spec/generate-application/runtime/migrations/migration-runtime.d.ts +2 -2
  166. package/dist/application-spec/generate-application/runtime/sections/actions-runtime.d.ts +1 -2
  167. package/dist/application-spec/generate-application/runtime/sections/assistant-runtime.d.ts +2 -2
  168. package/dist/application-spec/generate-application/runtime/sections/build-sdk-optic.d.ts +3 -2
  169. package/dist/application-spec/generate-application/runtime/sections/build-sdk-optic.js +1 -1
  170. package/dist/application-spec/generate-application/runtime/sections/build-user-bound-optic.d.ts +3 -2
  171. package/dist/application-spec/generate-application/runtime/sections/build-user-bound-optic.js +1 -1
  172. package/dist/application-spec/generate-application/runtime/sections/component-optic.d.ts +4 -2
  173. package/dist/application-spec/generate-application/runtime/sections/component-optic.js +1 -1
  174. package/dist/application-spec/generate-application/runtime/sections/data-runtime.d.ts +4 -4
  175. package/dist/application-spec/generate-application/runtime/sections/expression-runtime.d.ts +14 -6
  176. package/dist/application-spec/generate-application/runtime/sections/expression-runtime.js +1 -1
  177. package/dist/application-spec/generate-application/runtime/sections/generate-memo-eval-plan-runtime.d.ts +10 -7
  178. package/dist/application-spec/generate-application/runtime/sections/generate-memo-eval-plan-runtime.js +1 -1
  179. package/dist/application-spec/generate-application/runtime/sections/preset-runtime.d.ts +2 -3
  180. package/dist/application-spec/generate-application/runtime/sections/reflection-constants-runtime.d.ts +4 -2
  181. package/dist/application-spec/generate-application/runtime/sections/reflection-constants-runtime.js +1 -1
  182. package/dist/application-spec/generate-application/runtime/sections/theme-runtime.d.ts +2 -2
  183. package/dist/application-spec/generate-application/runtime/sections/transformers-runtime.d.ts +3 -3
  184. package/dist/application-spec/generate-application/runtime/spec-code/index.d.ts +2 -0
  185. package/dist/application-spec/generate-application/runtime/spec-code/index.js +1 -0
  186. package/dist/application-spec/generate-application/runtime/spec-code/resolve-spec-code.d.ts +18 -0
  187. package/dist/application-spec/generate-application/runtime/spec-code/resolve-spec-code.js +1 -0
  188. package/dist/application-spec/generate-application/runtime/spec-code/spec-code-module.d.ts +17 -0
  189. package/dist/application-spec/generate-application/runtime/spec-runtime.d.ts +21 -0
  190. package/dist/application-spec/generate-application/runtime/spec-runtime.js +1 -0
  191. package/dist/application-spec/generate-application/runtime-spec/decode-runtime-spec.d.ts +9 -0
  192. package/dist/application-spec/generate-application/runtime-spec/decode-runtime-spec.js +1 -0
  193. package/dist/application-spec/generate-application/runtime-spec/encode-runtime-spec.d.ts +8 -0
  194. package/dist/application-spec/generate-application/runtime-spec/encode-runtime-spec.js +1 -0
  195. package/dist/application-spec/generate-application/runtime-spec/encoded-runtime-spec.d.ts +28 -0
  196. package/dist/application-spec/generate-application/runtime-spec/encoded-runtime-spec.js +1 -0
  197. package/dist/application-spec/generate-application/runtime-spec/index.d.ts +5 -0
  198. package/dist/application-spec/generate-application/runtime-spec/index.js +1 -0
  199. package/dist/application-spec/generate-application/runtime-spec/runtime-spec.d.ts +168 -0
  200. package/dist/application-spec/generate-application/runtime-spec/runtime-spec.js +1 -0
  201. package/dist/application-spec/generate-application/runtime-spec/spec-code-id.d.ts +40 -0
  202. package/dist/application-spec/generate-application/runtime-spec/spec-code-id.js +1 -0
  203. package/dist/application-spec/parse-application-files/categorize/categorize-files.d.ts +28 -0
  204. package/dist/application-spec/parse-application-files/categorize/categorize-files.js +1 -1
  205. package/dist/application-spec/parse-application-files/categorize/earlier-generated-editor-configs.d.ts +16 -0
  206. package/dist/application-spec/parse-application-files/categorize/earlier-generated-editor-configs.js +9 -0
  207. package/dist/application-spec/parse-application-files/categorize/earlier-generated-tsconfig.d.ts +9 -0
  208. package/dist/application-spec/parse-application-files/categorize/earlier-generated-tsconfig.js +1 -0
  209. package/dist/application-spec/parse-application-files/merge/merged-assistant.d.ts +13 -4
  210. package/dist/application-spec/parse-application-files/merge/merged-assistant.js +1 -1
  211. package/dist/application-spec/parse-application-files/merge/merged-infra.d.ts +4 -11
  212. package/dist/application-spec/parse-application-files/merge/merged-transformers.d.ts +2 -4
  213. package/dist/application-spec/parse-application-files/parse-application-files.js +1 -1
  214. package/dist/application-spec/parse-application-files/raw-spec/parse-yaml-spec-file.js +1 -1
  215. package/dist/application-spec/parse-application-files/raw-spec/raw-acl.d.ts +2 -2
  216. package/dist/application-spec/parse-application-files/raw-spec/raw-acl.js +1 -1
  217. package/dist/application-spec/parse-application-files/raw-spec/raw-admin-pages.d.ts +3 -24
  218. package/dist/application-spec/parse-application-files/raw-spec/raw-assistant.d.ts +58 -23
  219. package/dist/application-spec/parse-application-files/raw-spec/raw-assistant.js +1 -1
  220. package/dist/application-spec/parse-application-files/raw-spec/raw-expressions.d.ts +1 -1
  221. package/dist/application-spec/parse-application-files/raw-spec/raw-expressions.js +1 -1
  222. package/dist/application-spec/parse-application-files/raw-spec/raw-resources.d.ts +19 -64
  223. package/dist/application-spec/parse-application-files/spec/application/admin-spec/admin-pages.d.ts +3 -20
  224. package/dist/application-spec/parse-application-files/spec/application/admin-spec/admin-spec.js +1 -1
  225. package/dist/application-spec/parse-application-files/spec/application/admin-spec/states.d.ts +3 -5
  226. package/dist/application-spec/parse-application-files/spec/application/configurator-spec/configurator-spec.js +1 -1
  227. package/dist/application-spec/parse-application-files/spec/application/configurator-spec/states.d.ts +3 -8
  228. package/dist/application-spec/parse-application-files/spec/common/index.d.ts +1 -0
  229. package/dist/application-spec/parse-application-files/spec/common/index.js +1 -1
  230. package/dist/application-spec/parse-application-files/spec/common/value-type/format-value-type.d.ts +3 -0
  231. package/dist/application-spec/parse-application-files/spec/common/value-type/format-value-type.js +1 -0
  232. package/dist/application-spec/parse-application-files/spec/common/value-type/index.d.ts +5 -0
  233. package/dist/application-spec/parse-application-files/spec/common/value-type/index.js +1 -0
  234. package/dist/application-spec/parse-application-files/spec/common/value-type/intersect-value-types.d.ts +6 -0
  235. package/dist/application-spec/parse-application-files/spec/common/value-type/intersect-value-types.js +1 -0
  236. package/dist/application-spec/parse-application-files/spec/common/value-type/is-assignable-value-type.d.ts +8 -0
  237. package/dist/application-spec/parse-application-files/spec/common/value-type/is-assignable-value-type.js +1 -0
  238. package/dist/application-spec/parse-application-files/spec/common/value-type/value-type-at.d.ts +10 -0
  239. package/dist/application-spec/parse-application-files/spec/common/value-type/value-type-at.js +1 -0
  240. package/dist/application-spec/parse-application-files/spec/common/value-type/value-type.d.ts +98 -0
  241. package/dist/application-spec/parse-application-files/spec/common/value-type/value-type.js +1 -0
  242. package/dist/application-spec/parse-application-files/spec/components/bindings/component-path.d.ts +13 -0
  243. package/dist/application-spec/parse-application-files/spec/components/bindings/component-path.js +1 -0
  244. package/dist/application-spec/parse-application-files/spec/components/bindings/index.d.ts +2 -0
  245. package/dist/application-spec/parse-application-files/spec/components/bindings/index.js +1 -1
  246. package/dist/application-spec/parse-application-files/spec/components/bindings/read-binding-type.d.ts +24 -0
  247. package/dist/application-spec/parse-application-files/spec/components/bindings/read-binding-type.js +1 -0
  248. package/dist/application-spec/parse-application-files/spec/components/bindings/read-binding.d.ts +3 -13
  249. package/dist/application-spec/parse-application-files/spec/components/bindings/write-binding.d.ts +4 -32
  250. package/dist/application-spec/parse-application-files/spec/components/component-filter.d.ts +4 -10
  251. package/dist/application-spec/parse-application-files/spec/components/component-state-type.d.ts +8 -0
  252. package/dist/application-spec/parse-application-files/spec/components/component-state-type.js +1 -0
  253. package/dist/application-spec/parse-application-files/spec/components/components.d.ts +3 -4
  254. package/dist/application-spec/parse-application-files/spec/components/filter-criterion-types.d.ts +13 -0
  255. package/dist/application-spec/parse-application-files/spec/components/filter-criterion-types.js +1 -0
  256. package/dist/application-spec/parse-application-files/spec/components/index.d.ts +1 -2
  257. package/dist/application-spec/parse-application-files/spec/components/index.js +1 -1
  258. package/dist/application-spec/parse-application-files/spec/components/sdk-component-entry.d.ts +1 -1
  259. package/dist/application-spec/parse-application-files/spec/components/static-entity-id.d.ts +14 -0
  260. package/dist/application-spec/parse-application-files/spec/components/static-entity-id.js +1 -0
  261. package/dist/application-spec/parse-application-files/spec/components/user-component-entry.d.ts +8 -3
  262. package/dist/application-spec/parse-application-files/spec/components/user-component-entry.js +1 -1
  263. package/dist/application-spec/parse-application-files/spec/components/user-components.d.ts +9 -7
  264. package/dist/application-spec/parse-application-files/spec/components/user-components.js +1 -1
  265. package/dist/application-spec/parse-application-files/spec/expressions/expression-read-types.d.ts +24 -0
  266. package/dist/application-spec/parse-application-files/spec/expressions/expression-read-types.js +1 -0
  267. package/dist/application-spec/parse-application-files/spec/expressions/expression-read.d.ts +13 -0
  268. package/dist/application-spec/parse-application-files/spec/expressions/expression-value-type.d.ts +9 -0
  269. package/dist/application-spec/parse-application-files/spec/expressions/expression-value-type.js +1 -0
  270. package/dist/application-spec/parse-application-files/spec/expressions/expressions.d.ts +12 -30
  271. package/dist/application-spec/parse-application-files/spec/expressions/expressions.js +1 -1
  272. package/dist/application-spec/parse-application-files/spec/expressions/index.d.ts +0 -1
  273. package/dist/application-spec/parse-application-files/spec/expressions/memo-eval-plan.d.ts +4 -71
  274. package/dist/application-spec/parse-application-files/spec/expressions/memo-eval-plan.js +1 -1
  275. package/dist/application-spec/parse-application-files/spec/expressions/user-expressions.d.ts +5 -3
  276. package/dist/application-spec/parse-application-files/spec/expressions/user-expressions.js +1 -1
  277. package/dist/application-spec/parse-application-files/spec/invariants/invariant.d.ts +5 -21
  278. package/dist/application-spec/parse-application-files/spec/invariants/invariants.d.ts +6 -16
  279. package/dist/application-spec/parse-application-files/spec/invariants/invariants.js +1 -1
  280. package/dist/application-spec/parse-application-files/spec/model/aliases.d.ts +3 -9
  281. package/dist/application-spec/parse-application-files/spec/model/common-types.d.ts +6 -14
  282. package/dist/application-spec/parse-application-files/spec/model/defaults.d.ts +6 -31
  283. package/dist/application-spec/parse-application-files/spec/model/entity-types.d.ts +3 -8
  284. package/dist/application-spec/parse-application-files/spec/model/index.d.ts +1 -0
  285. package/dist/application-spec/parse-application-files/spec/model/index.js +1 -1
  286. package/dist/application-spec/parse-application-files/spec/model/model-type-resolution.d.ts +10 -0
  287. package/dist/application-spec/parse-application-files/spec/model/model-type-resolution.js +1 -0
  288. package/dist/application-spec/parse-application-files/spec/model/model-version-key.d.ts +3 -3
  289. package/dist/application-spec/parse-application-files/spec/model/names/action-name.d.ts +3 -7
  290. package/dist/application-spec/parse-application-files/spec/model/names/alias-name.d.ts +3 -7
  291. package/dist/application-spec/parse-application-files/spec/model/names/entity-or-alias-name.d.ts +3 -8
  292. package/dist/application-spec/parse-application-files/spec/model/names/entity-type-name.d.ts +3 -8
  293. package/dist/application-spec/parse-application-files/spec/model/names/expression-name.d.ts +3 -6
  294. package/dist/application-spec/parse-application-files/spec/model/names/instance-name.d.ts +3 -7
  295. package/dist/application-spec/parse-application-files/spec/model/names/invariant-name.d.ts +3 -3
  296. package/dist/application-spec/parse-application-files/spec/model/names/shape-property-name.d.ts +3 -11
  297. package/dist/application-spec/parse-application-files/spec/model/names/violation-type-name.d.ts +3 -3
  298. package/dist/application-spec/parse-application-files/spec/model/presets.d.ts +6 -29
  299. package/dist/application-spec/parse-application-files/spec/sections/actions.d.ts +6 -23
  300. package/dist/application-spec/parse-application-files/spec/sections/app-metadata.d.ts +3 -18
  301. package/dist/application-spec/parse-application-files/spec/sections/application-version.d.ts +3 -7
  302. package/dist/application-spec/parse-application-files/spec/sections/assistant/assistant-form-elements.d.ts +9 -0
  303. package/dist/application-spec/parse-application-files/spec/sections/assistant/assistant-form-elements.js +1 -0
  304. package/dist/application-spec/parse-application-files/spec/sections/assistant/assistant-schema.d.ts +4 -1
  305. package/dist/application-spec/parse-application-files/spec/sections/assistant/assistant-schema.js +1 -1
  306. package/dist/application-spec/parse-application-files/spec/sections/assistant/assistant.js +1 -1
  307. package/dist/application-spec/parse-application-files/spec/sections/data-spec/chunks.d.ts +6 -23
  308. package/dist/application-spec/parse-application-files/spec/sections/data-spec/custom-data-spec.d.ts +1 -16
  309. package/dist/application-spec/parse-application-files/spec/sections/data-spec/data-entry-key.d.ts +3 -9
  310. package/dist/application-spec/parse-application-files/spec/sections/data-spec/data-spec.d.ts +1 -10
  311. package/dist/application-spec/parse-application-files/spec/sections/data-spec/swatch-data-spec.d.ts +1 -14
  312. package/dist/application-spec/parse-application-files/spec/sections/state-value.d.ts +3 -7
  313. package/dist/application-spec/parse-application-files/spec/sections/theme.d.ts +3 -10
  314. package/dist/application-spec/parse-application-files/spec/sections/transformers.d.ts +4 -11
  315. package/dist/application-spec/parse-application-files/spec/sections/ui.d.ts +3 -12
  316. package/dist/client/authorized-client.d.ts +3 -1
  317. package/dist/client/authorized-client.js +1 -1
  318. package/dist/client/contract.d.ts +30 -1
  319. package/dist/client/contract.js +1 -1
  320. package/dist/client/index.d.ts +1 -1
  321. package/dist/client/local-authorized-client.d.ts +3 -1
  322. package/dist/client/local-authorized-client.js +1 -1
  323. package/dist/client/memory-authorized-client.d.ts +4 -1
  324. package/dist/client/memory-authorized-client.js +1 -1
  325. package/dist/client/phoenix-api.d.ts +695 -70
  326. package/dist/configurator/ConfiguratorApp.js +1 -1
  327. package/dist/configurator/app-loader-content/DefaultAppLoaderContent.d.ts +2 -0
  328. package/dist/configurator/app-loader-content/DefaultAppLoaderContent.js +5 -0
  329. package/dist/configurator/app-loader-content/index.d.ts +1 -0
  330. package/dist/configurator/app-loader-content/index.js +1 -0
  331. package/dist/configurator/application-runtime/extensions/selectors.js +1 -1
  332. package/dist/configurator/application-runtime/extensions/systems/assistant-system/assistant-system.d.ts +75 -10
  333. package/dist/configurator/application-runtime/extensions/systems/assistant-system/assistant-system.js +1 -1
  334. package/dist/configurator/application-runtime/extensions/systems/assistant-system/graphql-tools.d.ts +52 -9
  335. package/dist/configurator/application-runtime/extensions/systems/assistant-system/graphql-tools.js +1 -1
  336. package/dist/configurator/application-runtime/extensions/systems/camera-control-system/camera-control-system.d.ts +1 -1
  337. package/dist/configurator/application-runtime/extensions/systems/canvas-system.d.ts +8 -0
  338. package/dist/configurator/application-runtime/extensions/systems/canvas-system.js +1 -1
  339. package/dist/configurator/application-runtime/extensions/systems/export-system/export-busy-error.d.ts +8 -0
  340. package/dist/configurator/application-runtime/extensions/systems/export-system/export-busy-error.js +1 -0
  341. package/dist/configurator/application-runtime/extensions/systems/export-system/export-system.d.ts +23 -1
  342. package/dist/configurator/application-runtime/extensions/systems/export-system/export-system.js +1 -1
  343. package/dist/configurator/application-runtime/extensions/systems/graphql-system/close-unclosed-braces.d.ts +12 -0
  344. package/dist/configurator/application-runtime/extensions/systems/graphql-system/close-unclosed-braces.js +1 -0
  345. package/dist/configurator/application-runtime/extensions/systems/graphql-system/entity-meta.d.ts +82 -55
  346. package/dist/configurator/application-runtime/extensions/systems/graphql-system/entity-meta.js +1 -1
  347. package/dist/configurator/application-runtime/extensions/systems/graphql-system/graphql-system.d.ts +67 -5
  348. package/dist/configurator/application-runtime/extensions/systems/graphql-system/graphql-system.js +1 -1
  349. package/dist/configurator/application-runtime/extensions/systems/graphql-system/violations.d.ts +40 -0
  350. package/dist/configurator/application-runtime/extensions/systems/graphql-system/violations.js +1 -0
  351. package/dist/configurator/application-runtime/extensions/systems/image-rendering-system/image-rendering-system.d.ts +14 -5
  352. package/dist/configurator/application-runtime/extensions/systems/image-rendering-system/image-rendering-system.js +1 -1
  353. package/dist/configurator/application-runtime/extensions/systems/index.d.ts +1 -1
  354. package/dist/configurator/common/configurator-interface.d.ts +121 -6
  355. package/dist/configurator/common/configurator-interface.js +1 -1
  356. package/dist/configurator/common/index.d.ts +2 -2
  357. package/dist/configurator/common/index.js +1 -1
  358. package/dist/configurator/configuration-not-found-page/BuiltInConfigurationNotFoundPage.d.ts +5 -0
  359. package/dist/configurator/configuration-not-found-page/BuiltInConfigurationNotFoundPage.js +1 -0
  360. package/dist/configurator/configuration-not-found-page/ConfigurationNotFoundPageElement.d.ts +6 -0
  361. package/dist/configurator/configuration-not-found-page/ConfigurationNotFoundPageElement.js +1 -0
  362. package/dist/configurator/configuration-not-found-page/index.d.ts +2 -0
  363. package/dist/configurator/configuration-not-found-page/index.js +1 -0
  364. package/dist/configurator/configurator-context/ConfiguratorResponsiveProvider.d.ts +12 -0
  365. package/dist/configurator/configurator-context/ConfiguratorResponsiveProvider.js +1 -0
  366. package/dist/configurator/configurator-context/PreviewContextProvider.js +1 -1
  367. package/dist/configurator/configurator-context/ViewportStateSync.d.ts +2 -2
  368. package/dist/configurator/configurator-context/ViewportStateSync.js +1 -1
  369. package/dist/configurator/configurator-context/configurator-hooks/index.d.ts +0 -1
  370. package/dist/configurator/configurator-context/configurator-hooks/index.js +1 -1
  371. package/dist/configurator/configurator-context/configurator-hooks/layout-hooks.d.ts +10 -0
  372. package/dist/configurator/configurator-context/configurator-hooks/layout-hooks.js +1 -1
  373. package/dist/configurator/configurator-context/index.d.ts +0 -5
  374. package/dist/configurator/configurator-context/index.js +1 -1
  375. package/dist/configurator/configurator-error-page/BuiltInConfiguratorErrorPage.d.ts +6 -0
  376. package/dist/configurator/configurator-error-page/BuiltInConfiguratorErrorPage.js +1 -0
  377. package/dist/configurator/configurator-error-page/ConfiguratorErrorPageElement.d.ts +7 -0
  378. package/dist/configurator/configurator-error-page/ConfiguratorErrorPageElement.js +1 -0
  379. package/dist/configurator/configurator-error-page/index.d.ts +2 -0
  380. package/dist/configurator/configurator-error-page/index.js +1 -0
  381. package/dist/configurator/index.d.ts +10 -0
  382. package/dist/configurator/index.js +1 -1
  383. package/dist/configurator/pages/ConfiguratorErrorPage.d.ts +0 -1
  384. package/dist/configurator/pages/ConfiguratorErrorPage.js +1 -1
  385. package/dist/configurator/pages/ConfiguratorNotFoundPage.js +1 -1
  386. package/dist/configurator/pages/DefaultConfiguratorLayout.d.ts +3 -2
  387. package/dist/configurator/pages/DefaultNotAuthenticatedPage.d.ts +8 -0
  388. package/dist/configurator/pages/DefaultNotAuthenticatedPage.js +1 -0
  389. package/dist/configurator/pages/DefaultPresetUi.d.ts +7 -0
  390. package/dist/configurator/pages/DefaultPresetUi.js +1 -0
  391. package/dist/configurator/pages/LoadedConfiguratorDetailPage.js +1 -1
  392. package/dist/configurator/pages/NewConfiguratorPage.js +1 -1
  393. package/dist/configurator/pages/PresetCreationErrorPage.d.ts +1 -1
  394. package/dist/configurator/pages/PresetCreationErrorPage.js +1 -1
  395. package/dist/configurator/pages/RootPage.js +1 -1
  396. package/dist/configurator/pages/default-configurator-elements.d.ts +7 -1
  397. package/dist/configurator/pages/default-configurator-elements.js +1 -1
  398. package/dist/configurator/pages/default-elements/built-in-entity-element.d.ts +10 -0
  399. package/dist/configurator/pages/default-elements/built-in-entity-element.js +1 -0
  400. package/dist/configurator/pages/default-elements/built-in-layout-element.d.ts +10 -0
  401. package/dist/configurator/pages/default-elements/built-in-layout-element.js +1 -0
  402. package/dist/configurator/pages/default-elements/domain-control-elements.d.ts +6 -0
  403. package/dist/configurator/pages/default-elements/domain-control-elements.js +1 -0
  404. package/dist/configurator/pages/default-elements/index.d.ts +5 -0
  405. package/dist/configurator/pages/default-elements/index.js +1 -0
  406. package/dist/configurator/pages/default-elements/recipe-panel-elements.d.ts +3 -0
  407. package/dist/configurator/pages/default-elements/recipe-panel-elements.js +1 -0
  408. package/dist/configurator/pages/default-elements/scene-controls/BuiltInAddEntityFab.d.ts +3 -0
  409. package/dist/configurator/pages/default-elements/scene-controls/BuiltInAddEntityFab.js +1 -0
  410. package/dist/configurator/pages/default-elements/scene-controls/BuiltInDeleteEntityFab.d.ts +3 -0
  411. package/dist/configurator/pages/default-elements/scene-controls/BuiltInDeleteEntityFab.js +1 -0
  412. package/dist/configurator/pages/default-elements/scene-controls/BuiltInNavigationHotspot.d.ts +3 -0
  413. package/dist/configurator/pages/default-elements/scene-controls/BuiltInNavigationHotspot.js +1 -0
  414. package/dist/configurator/pages/default-elements/scene-controls/BuiltInSelectionHotspot.d.ts +3 -0
  415. package/dist/configurator/pages/default-elements/scene-controls/BuiltInSelectionHotspot.js +1 -0
  416. package/dist/configurator/pages/default-elements/scene-controls/BuiltInToolMenuFab.d.ts +3 -0
  417. package/dist/configurator/pages/default-elements/scene-controls/BuiltInToolMenuFab.js +1 -0
  418. package/dist/configurator/pages/default-elements/scene-controls/index.d.ts +6 -0
  419. package/dist/configurator/pages/default-elements/scene-controls/index.js +1 -0
  420. package/dist/configurator/pages/default-elements/scene-controls/scene-control-elements.d.ts +6 -0
  421. package/dist/configurator/pages/default-elements/scene-controls/scene-control-elements.js +1 -0
  422. package/dist/configurator/pages/default-elements/sidebar-footer-elements.d.ts +7 -0
  423. package/dist/configurator/pages/default-elements/sidebar-footer-elements.js +1 -0
  424. package/dist/configurator/pages/default-elements/toolbar-elements.d.ts +7 -0
  425. package/dist/configurator/pages/default-elements/toolbar-elements.js +1 -0
  426. package/dist/configurator/pages/error-boundaries/DevContextFallback.js +1 -1
  427. package/dist/configurator/pages/error-boundaries/DevLoadingFallback.js +1 -1
  428. package/dist/configurator/pages/error-boundaries/GeneralErrorBoundary.js +1 -1
  429. package/dist/configurator/pages/error-boundaries/LoadingErrorBoundary.js +1 -1
  430. package/dist/configurator/preset-screen-elements/PresetDeviceNotSupportedElement.d.ts +4 -0
  431. package/dist/configurator/preset-screen-elements/PresetDeviceNotSupportedElement.js +1 -0
  432. package/dist/configurator/preset-screen-elements/PresetPageActionElement.d.ts +4 -0
  433. package/dist/configurator/preset-screen-elements/PresetPageActionElement.js +1 -0
  434. package/dist/configurator/preset-screen-elements/index.d.ts +2 -0
  435. package/dist/configurator/preset-screen-elements/index.js +1 -0
  436. package/dist/configurator/scene/index.d.ts +1 -0
  437. package/dist/configurator/scene/index.js +1 -1
  438. package/dist/configurator/scene/scene-controls/DeleteEntityFab.js +1 -1
  439. package/dist/configurator/scene/scene-controls/SelectionHotspot.js +1 -1
  440. package/dist/configurator/scene/scene-controls/ToolFab.d.ts +4 -0
  441. package/dist/configurator/scene/scene-controls/ToolFab.js +1 -1
  442. package/dist/configurator/scene/scene-controls/use-scene-control-tooltip.d.ts +2 -1
  443. package/dist/configurator/scene/scene-entity/scene-controls/SceneEntityHtmlHotspots.js +1 -1
  444. package/dist/configurator/toolbar-actions/index.d.ts +3 -0
  445. package/dist/configurator/toolbar-actions/index.js +1 -0
  446. package/dist/configurator/toolbar-actions/use-assistant-panel.d.ts +18 -0
  447. package/dist/configurator/toolbar-actions/use-assistant-panel.js +1 -0
  448. package/dist/configurator/toolbar-actions/use-measurements.d.ts +35 -0
  449. package/dist/configurator/toolbar-actions/use-measurements.js +1 -0
  450. package/dist/configurator/toolbar-actions/use-toolbar-actions.d.ts +100 -0
  451. package/dist/configurator/toolbar-actions/use-toolbar-actions.js +1 -0
  452. package/dist/configurator/toolbar-actions/use-toolbar-help.d.ts +7 -0
  453. package/dist/configurator/toolbar-actions/use-toolbar-help.js +1 -0
  454. package/dist/configurator/ui/assistant/AssistantChips.d.ts +3 -2
  455. package/dist/configurator/ui/assistant/AssistantChips.js +1 -1
  456. package/dist/configurator/ui/assistant/AssistantComposer.d.ts +6 -0
  457. package/dist/configurator/ui/assistant/AssistantComposer.js +2 -1
  458. package/dist/configurator/ui/assistant/AssistantMarkdown.d.ts +7 -2
  459. package/dist/configurator/ui/assistant/AssistantMarkdown.js +1 -1
  460. package/dist/configurator/ui/assistant/AssistantPanel.js +1 -1
  461. package/dist/configurator/ui/assistant/AssistantThread.js +1 -1
  462. package/dist/configurator/ui/assistant/alert/AssistantAlert.d.ts +8 -0
  463. package/dist/configurator/ui/assistant/alert/AssistantAlert.js +1 -0
  464. package/dist/configurator/ui/assistant/alert/index.d.ts +2 -0
  465. package/dist/configurator/ui/assistant/alert/index.js +1 -0
  466. package/dist/configurator/ui/assistant/alert/remark-alerts.d.ts +10 -0
  467. package/dist/configurator/ui/assistant/alert/remark-alerts.js +1 -0
  468. package/dist/configurator/ui/assistant/attachments/MessageImages.d.ts +11 -0
  469. package/dist/configurator/ui/assistant/attachments/MessageImages.js +1 -0
  470. package/dist/configurator/ui/assistant/attachments/index.d.ts +2 -0
  471. package/dist/configurator/ui/assistant/attachments/index.js +1 -0
  472. package/dist/configurator/ui/assistant/attachments/prepare-image.d.ts +19 -0
  473. package/dist/configurator/ui/assistant/attachments/prepare-image.js +1 -0
  474. package/dist/configurator/ui/assistant/entity-link/AssistantEntityLink.d.ts +1 -1
  475. package/dist/configurator/ui/assistant/entity-link/AssistantEntityLink.js +1 -1
  476. package/dist/configurator/ui/assistant/entity-link/entity-link-state.d.ts +1 -1
  477. package/dist/configurator/ui/assistant/entity-link/index.d.ts +0 -1
  478. package/dist/configurator/ui/assistant/entity-link/index.js +1 -1
  479. package/dist/configurator/ui/assistant/form/AssistantForm.d.ts +19 -0
  480. package/dist/configurator/ui/assistant/form/AssistantForm.js +1 -0
  481. package/dist/configurator/ui/assistant/form/compose-answer.d.ts +11 -0
  482. package/dist/configurator/ui/assistant/form/compose-answer.js +1 -0
  483. package/dist/configurator/ui/assistant/form/describe-build-errors.d.ts +6 -0
  484. package/dist/configurator/ui/assistant/form/describe-build-errors.js +1 -0
  485. package/dist/configurator/ui/assistant/form/form-model.d.ts +37 -0
  486. package/dist/configurator/ui/assistant/form/form-model.js +1 -0
  487. package/dist/configurator/ui/assistant/form/form-state.d.ts +4 -0
  488. package/dist/configurator/ui/assistant/form/form-state.js +1 -0
  489. package/dist/configurator/ui/assistant/form/index.d.ts +4 -0
  490. package/dist/configurator/ui/assistant/form/index.js +1 -0
  491. package/dist/configurator/ui/assistant/form/parse-form-block.d.ts +10 -0
  492. package/dist/configurator/ui/assistant/form/parse-form-block.js +1 -0
  493. package/dist/configurator/ui/assistant/form/read-form-attributes.d.ts +13 -0
  494. package/dist/configurator/ui/assistant/form/read-form-attributes.js +1 -0
  495. package/dist/configurator/ui/assistant/form/registry/built-in-form-elements.d.ts +3 -0
  496. package/dist/configurator/ui/assistant/form/registry/built-in-form-elements.js +1 -0
  497. package/dist/configurator/ui/assistant/form/registry/create-assistant-form-element.d.ts +31 -0
  498. package/dist/configurator/ui/assistant/form/registry/create-assistant-form-element.js +1 -0
  499. package/dist/configurator/ui/assistant/form/registry/form-element-definition.d.ts +16 -0
  500. package/dist/configurator/ui/assistant/form/registry/form-element-definition.js +1 -0
  501. package/dist/configurator/ui/assistant/form/registry/form-registry.d.ts +31 -0
  502. package/dist/configurator/ui/assistant/form/registry/form-registry.js +1 -0
  503. package/dist/configurator/ui/assistant/form/registry/index.d.ts +6 -0
  504. package/dist/configurator/ui/assistant/form/registry/index.js +1 -0
  505. package/dist/configurator/ui/assistant/form/registry/use-form-registry.d.ts +8 -0
  506. package/dist/configurator/ui/assistant/form/registry/use-form-registry.js +1 -0
  507. package/dist/configurator/ui/assistant/form-elements/FormCard.d.ts +9 -0
  508. package/dist/configurator/ui/assistant/form-elements/FormCard.js +1 -0
  509. package/dist/configurator/ui/assistant/form-elements/FormConfirm.d.ts +9 -0
  510. package/dist/configurator/ui/assistant/form-elements/FormConfirm.js +1 -0
  511. package/dist/configurator/ui/assistant/form-elements/FormGroup.d.ts +6 -0
  512. package/dist/configurator/ui/assistant/form-elements/FormGroup.js +1 -0
  513. package/dist/configurator/ui/assistant/form-elements/FormNumber.d.ts +9 -0
  514. package/dist/configurator/ui/assistant/form-elements/FormNumber.js +1 -0
  515. package/dist/configurator/ui/assistant/form-elements/FormOptions.d.ts +6 -0
  516. package/dist/configurator/ui/assistant/form-elements/FormOptions.js +1 -0
  517. package/dist/configurator/ui/assistant/form-elements/FormReply.d.ts +6 -0
  518. package/dist/configurator/ui/assistant/form-elements/FormReply.js +1 -0
  519. package/dist/configurator/ui/assistant/form-elements/FormSwatch.d.ts +10 -0
  520. package/dist/configurator/ui/assistant/form-elements/FormSwatch.js +1 -0
  521. package/dist/configurator/ui/assistant/form-elements/FormText.d.ts +6 -0
  522. package/dist/configurator/ui/assistant/form-elements/FormText.js +1 -0
  523. package/dist/configurator/ui/assistant/form-elements/clamp-form-number.d.ts +10 -0
  524. package/dist/configurator/ui/assistant/form-elements/clamp-form-number.js +1 -0
  525. package/dist/configurator/ui/assistant/form-elements/form-element-props.d.ts +38 -0
  526. package/dist/configurator/ui/assistant/form-elements/index.d.ts +9 -0
  527. package/dist/configurator/ui/assistant/form-elements/index.js +1 -0
  528. package/dist/configurator/ui/assistant/index.d.ts +3 -0
  529. package/dist/configurator/ui/assistant/index.js +1 -1
  530. package/dist/configurator/ui/assistant/reference-link/AssistantReferenceLink.d.ts +16 -0
  531. package/dist/configurator/ui/assistant/reference-link/AssistantReferenceLink.js +1 -0
  532. package/dist/configurator/ui/assistant/reference-link/assistant-link-target.d.ts +34 -0
  533. package/dist/configurator/ui/assistant/reference-link/assistant-link-target.js +1 -0
  534. package/dist/configurator/ui/assistant/reference-link/assistant-reference-details.d.ts +25 -0
  535. package/dist/configurator/ui/assistant/reference-link/assistant-reference-details.js +1 -0
  536. package/dist/configurator/ui/assistant/reference-link/index.d.ts +3 -0
  537. package/dist/configurator/ui/assistant/reference-link/index.js +1 -0
  538. package/dist/configurator/ui/assistant/reference-link/reference-styles.d.ts +12 -0
  539. package/dist/configurator/ui/assistant/reference-link/reference-styles.js +1 -0
  540. package/dist/configurator/ui/assistant/reference-link/use-assistant-reference-details.d.ts +8 -0
  541. package/dist/configurator/ui/assistant/reference-link/use-assistant-reference-details.js +1 -0
  542. package/dist/configurator/ui/assistant/resource-image/AssistantImage.d.ts +9 -0
  543. package/dist/configurator/ui/assistant/resource-image/AssistantImage.js +1 -0
  544. package/dist/configurator/ui/assistant/resource-image/index.d.ts +3 -0
  545. package/dist/configurator/ui/assistant/resource-image/index.js +1 -0
  546. package/dist/configurator/ui/assistant/resource-image/resource-path.d.ts +2 -0
  547. package/dist/configurator/ui/assistant/resource-image/resource-path.js +1 -0
  548. package/dist/configurator/ui/assistant/resource-image/use-resource-image-url.d.ts +5 -0
  549. package/dist/configurator/ui/assistant/resource-image/use-resource-image-url.js +1 -0
  550. package/dist/configurator/ui/assistant/screenshots/ScreenshotThumbnails.d.ts +9 -0
  551. package/dist/configurator/ui/assistant/screenshots/ScreenshotThumbnails.js +1 -0
  552. package/dist/configurator/ui/assistant/screenshots/index.d.ts +3 -0
  553. package/dist/configurator/ui/assistant/screenshots/index.js +1 -0
  554. package/dist/configurator/ui/assistant/screenshots/tool-screenshots.d.ts +22 -0
  555. package/dist/configurator/ui/assistant/screenshots/tool-screenshots.js +1 -0
  556. package/dist/configurator/ui/assistant/screenshots/use-screenshot-src.d.ts +8 -0
  557. package/dist/configurator/ui/assistant/screenshots/use-screenshot-src.js +1 -0
  558. package/dist/configurator/ui/assistant/streamed-markdown.d.ts +4 -2
  559. package/dist/configurator/ui/assistant/streamed-markdown.js +2 -2
  560. package/dist/configurator/ui/assistant/thread-items.d.ts +10 -1
  561. package/dist/configurator/ui/assistant/thread-items.js +1 -1
  562. package/dist/configurator/ui/assistant/tool-chip.d.ts +19 -9
  563. package/dist/configurator/ui/assistant/tool-chip.js +1 -1
  564. package/dist/configurator/ui/assistant/use-follow-stream.js +1 -1
  565. package/dist/configurator/ui/configurator-layout/slots/canvas/GPUAccelerationDisabled.js +1 -1
  566. package/dist/configurator/ui/configurator-layout/slots/canvas/LayoutCanvas.js +1 -1
  567. package/dist/configurator/ui/configurator-layout/slots/canvas/SharedCanvas.js +1 -1
  568. package/dist/configurator/ui/configurator-layout/slots/canvas/WebGLNotSupported.js +1 -1
  569. package/dist/configurator/ui/configurator-layout/slots/mobile-tabs/use-mobile-tabs.d.ts +1 -1
  570. package/dist/configurator/ui/configurator-layout/slots/mobile-tabs/use-mobile-tabs.js +1 -1
  571. package/dist/configurator/ui/configurator-layout/slots/readonly-banner/CloneToEditDialog.js +1 -1
  572. package/dist/configurator/ui/configurator-layout/slots/services/InvariantViolations.js +1 -1
  573. package/dist/configurator/ui/configurator-layout/slots/services/Services.js +1 -1
  574. package/dist/configurator/ui/configurator-layout/slots/sidebar-tabs/use-sidebar-tabs.d.ts +1 -1
  575. package/dist/configurator/ui/configurator-layout/slots/sidebar-tabs/use-sidebar-tabs.js +1 -1
  576. package/dist/configurator/ui/configurator-layout/universal/DesktopPreview.js +1 -1
  577. package/dist/configurator/ui/configurator-layout/universal/ExportingOverlay.d.ts +5 -0
  578. package/dist/configurator/ui/configurator-layout/universal/ExportingOverlay.js +1 -0
  579. package/dist/configurator/ui/configurator-layout/universal/Layout.js +1 -1
  580. package/dist/configurator/ui/configurator-layout/universal/MobilePreview.js +1 -1
  581. package/dist/configurator/ui/configurator-layout/universal/use-layout-scene-safe-area.d.ts +1 -1
  582. package/dist/configurator/ui/configurator-layout/universal/use-layout-scene-safe-area.js +1 -1
  583. package/dist/configurator/ui/configurator-layout/universal/use-scene-safe-area.d.ts +1 -1
  584. package/dist/configurator/ui/index.d.ts +1 -0
  585. package/dist/configurator/ui/index.js +1 -1
  586. package/dist/configurator/ui/legacy/chat/MobileChat.js +1 -1
  587. package/dist/configurator/ui/legacy/layout/common/CommonFinalizeButton.js +1 -1
  588. package/dist/configurator/ui/legacy/layout/common/CommonSummaryButton.js +1 -1
  589. package/dist/configurator/ui/legacy/layout/common/CommonTopNavigation.js +1 -1
  590. package/dist/configurator/ui/legacy/layout/common/ReactiveInterfaceLayout.js +1 -1
  591. package/dist/configurator/ui/legacy/layout/common/ResponsiveFinalizeButton.js +1 -1
  592. package/dist/configurator/ui/legacy/layout/common/SummaryReadLayout.js +1 -1
  593. package/dist/configurator/ui/legacy/layout/simple/SimpleOwnerLayout.js +1 -1
  594. package/dist/configurator/ui/legacy/layout/simple/SimpleSidebar.js +1 -1
  595. package/dist/configurator/ui/legacy/layout/simple/SimpleTopNavigation.js +1 -1
  596. package/dist/configurator/ui/legacy/layout/steps/StepsNavigation.js +1 -1
  597. package/dist/configurator/ui/legacy/layout/steps/StepsOwnerLayout.js +1 -1
  598. package/dist/configurator/ui/legacy/layout/steps/StepsSideBar.js +1 -1
  599. package/dist/configurator/ui/legacy/layout/steps/StepsSidebarFooter.js +1 -1
  600. package/dist/configurator/ui/legacy/layout/tabs/TabsOwnerLayout.js +1 -1
  601. package/dist/configurator/ui/legacy/layout/tabs/TabsSidebar.js +1 -1
  602. package/dist/configurator/ui/legacy/toolbar/common/DimensionUnitSelector.js +1 -1
  603. package/dist/configurator/ui/legacy/toolbar/common/MeasurementsIndicatorsSwitch.js +1 -1
  604. package/dist/configurator/ui/legacy/toolbar/desktop-toolbar/FullscreenToolbarAction.js +1 -1
  605. package/dist/configurator/ui/legacy/toolbar/desktop-toolbar/HelpToolbarAction.js +1 -1
  606. package/dist/configurator/ui/legacy/toolbar/desktop-toolbar/MeasurementsToolbarAction.js +1 -1
  607. package/dist/configurator/ui/legacy/toolbar/desktop-toolbar/UndoRedoToolbarGroup.js +1 -1
  608. package/dist/configurator/ui/phoenix-layout-elements/AppLoader.d.ts +0 -7
  609. package/dist/configurator/ui/phoenix-layout-elements/AppLoader.js +2 -6
  610. package/dist/configurator/ui/phoenix-layout-elements/AssistantToolbarButton.js +1 -1
  611. package/dist/configurator/ui/phoenix-layout-elements/EnterFullscreenToolbarButton.js +1 -1
  612. package/dist/configurator/ui/phoenix-layout-elements/ExitFullscreenToolbarButton.js +1 -1
  613. package/dist/configurator/ui/phoenix-layout-elements/HelpToolbarButton.js +1 -1
  614. package/dist/configurator/ui/phoenix-layout-elements/LanguageMenuAction.js +1 -1
  615. package/dist/configurator/ui/phoenix-layout-elements/LanguageToolbarButton.js +1 -1
  616. package/dist/configurator/ui/phoenix-layout-elements/LayoutCustomOwnerUi.d.ts +1 -0
  617. package/dist/configurator/ui/phoenix-layout-elements/LayoutCustomOwnerUi.js +1 -1
  618. package/dist/configurator/ui/phoenix-layout-elements/LayoutCustomReadUi.d.ts +1 -0
  619. package/dist/configurator/ui/phoenix-layout-elements/LayoutCustomReadUi.js +1 -1
  620. package/dist/configurator/ui/phoenix-layout-elements/MeasurementsMenuAction.js +1 -1
  621. package/dist/configurator/ui/phoenix-layout-elements/MeasurementsToolbarButton.js +1 -1
  622. package/dist/configurator/ui/phoenix-layout-elements/RedoToolbarButton.js +1 -1
  623. package/dist/configurator/ui/phoenix-layout-elements/ShareToolbarButton.js +1 -1
  624. package/dist/configurator/ui/phoenix-layout-elements/UndoToolbarButton.js +1 -1
  625. package/dist/configurator/ui/phoenix-layout-elements/header/common/back-button/use-go-back-action.js +1 -1
  626. package/dist/configurator/ui/phoenix-layout-elements/header/common/horizontal-tabs/DesktopHorizontalTabs.js +1 -1
  627. package/dist/configurator/ui/phoenix-layout-elements/header/common/step-navigation/DesktopNavigationSteps.d.ts +1 -1
  628. package/dist/configurator/ui/phoenix-layout-elements/header/common/step-navigation/DesktopNavigationSteps.js +1 -1
  629. package/dist/configurator/ui/phoenix-layout-elements/header/common/step-navigation/StepsNavigation.d.ts +2 -8
  630. package/dist/configurator/ui/phoenix-layout-elements/header/common/step-navigation/StepsNavigation.js +1 -1
  631. package/dist/configurator/ui/phoenix-layout-elements/index.d.ts +8 -1
  632. package/dist/configurator/ui/phoenix-layout-elements/index.js +1 -1
  633. package/dist/configurator/ui/phoenix-layout-elements/measurements/DimensionUnitSelector.js +1 -1
  634. package/dist/configurator/ui/phoenix-layout-elements/measurements/MeasurementsIndicatorsSwitch.js +1 -1
  635. package/dist/configurator/ui/phoenix-layout-elements/share/ShareModal.js +1 -1
  636. package/dist/configurator/ui/phoenix-layout-elements/share/use-share.d.ts +7 -8
  637. package/dist/configurator/ui/phoenix-layout-elements/share/use-share.js +1 -1
  638. package/dist/configurator/ui/phoenix-layout-elements/sidebar-footer/basic/BasicFinalizeButton.js +1 -1
  639. package/dist/configurator/ui/phoenix-layout-elements/sidebar-footer/basic/use-basic-sidebar-footer.js +1 -1
  640. package/dist/configurator/ui/phoenix-layout-elements/sidebar-footer/common/CustomFinalizeButton.js +1 -1
  641. package/dist/configurator/ui/phoenix-layout-elements/sidebar-footer/common/EnterSummaryButton.js +1 -1
  642. package/dist/configurator/ui/phoenix-layout-elements/sidebar-footer/common/FinalizeActions.js +1 -1
  643. package/dist/configurator/ui/phoenix-layout-elements/sidebar-footer/common/NextStepButton.js +1 -1
  644. package/dist/configurator/ui/phoenix-layout-elements/sidebar-footer/common/PreviousStepButton.js +1 -1
  645. package/dist/configurator/ui/preset-layout/CategoryPresetUi.js +1 -1
  646. package/dist/configurator/ui/preset-layout/PresetUi.d.ts +4 -2
  647. package/dist/configurator/ui/preset-layout/PresetUi.js +1 -1
  648. package/dist/configurator/ui/preset-layout/index.d.ts +6 -1
  649. package/dist/configurator/ui/preset-layout/index.js +1 -1
  650. package/dist/configurator/ui/save-message-snackbars/SaveMessageSnackbars.d.ts +10 -0
  651. package/dist/configurator/ui/save-message-snackbars/SaveMessageSnackbars.js +1 -0
  652. package/dist/configurator/ui/save-message-snackbars/index.d.ts +1 -0
  653. package/dist/configurator/ui/save-message-snackbars/index.js +1 -0
  654. package/dist/docs/3d-scene/cameras/custom.mdx +4 -2
  655. package/dist/docs/complex-use-cases/focus-mode.mdx +2 -0
  656. package/dist/docs/controls/select-child-entity/cardselect.mdx +1 -0
  657. package/dist/docs/drag-and-drop/room-planner.mdx +1 -1
  658. package/dist/docs/fabs/basic.mdx +6 -2
  659. package/dist/docs/index.json +95 -1
  660. package/dist/docs/integrations/webcomponent-api/basics.mdx +2 -0
  661. package/dist/docs/layouts/custom-layout.mdx +637 -165
  662. package/dist/docs/layouts/gallery/ardent-compressor.mdx +3516 -0
  663. package/dist/docs/layouts/gallery/corvid-drone.mdx +3428 -0
  664. package/dist/docs/layouts/gallery/fenwick-window.mdx +2803 -0
  665. package/dist/docs/layouts/gallery/ferrule-bar-station.mdx +6567 -0
  666. package/dist/docs/layouts/gallery/kestrel-kettle.mdx +1858 -0
  667. package/dist/docs/layouts/gallery/nightjar-guitar.mdx +3698 -0
  668. package/dist/docs/layouts/gallery/sunfold-solar.mdx +2683 -0
  669. package/dist/docs/layouts/gallery/tidepool-aquascape.mdx +5203 -0
  670. package/dist/docs/other-features/client-side-rendering/declarative.mdx +1 -1
  671. package/dist/docs/other-features/error-5xx.mdx +1 -1
  672. package/dist/docs/other-features/navigation-hotspot.mdx +2 -0
  673. package/dist/docs/other-features/not-found-404.mdx +1 -1
  674. package/dist/docs/phoenix/clerk-sign-in.mdx +1 -1
  675. package/dist/docs/phoenix/components.mdx +6 -0
  676. package/dist/docs/phoenix/configurator-interface.mdx +223 -59
  677. package/dist/docs/phoenix/deployments.mdx +2 -6
  678. package/dist/docs/phoenix/domain-model.mdx +6 -1
  679. package/dist/docs/phoenix/finalization.mdx +1 -1
  680. package/dist/docs/phoenix/getting-started.mdx +6 -3
  681. package/dist/docs/phoenix/layout-slots.mdx +44 -23
  682. package/dist/docs/phoenix/localization.mdx +10 -6
  683. package/dist/docs/phoenix/migration-guide.mdx +27 -14
  684. package/dist/docs/phoenix/phoenix-cli.mdx +102 -24
  685. package/dist/docs/phoenix/project-structure.mdx +74 -36
  686. package/dist/docs/phoenix/quickstart.mdx +7 -7
  687. package/dist/docs/phoenix/sdk-builder-workflow.mdx +14 -12
  688. package/dist/docs/phoenix/sessions-and-access.mdx +2 -0
  689. package/dist/docs/phoenix/testing.mdx +8 -0
  690. package/dist/docs/phoenix/webhooks.mdx +13 -5
  691. package/dist/docs/selection-and-highlight/hotspots.mdx +2 -0
  692. package/dist/domain/application/application-config.d.ts +6 -24
  693. package/dist/domain/application/assistant/assistant-manifest.d.ts +29 -4
  694. package/dist/domain/application/assistant/assistant-manifest.js +1 -1
  695. package/dist/domain/application/assistant/assistant-resolved-manifest.d.ts +12 -9
  696. package/dist/domain/application/assistant/assistant-resolved-manifest.js +1 -1
  697. package/dist/domain/application/assistant/build-assistant-lenses.js +1 -1
  698. package/dist/domain/application/assistant/build-assistant-manifest.js +1 -1
  699. package/dist/domain/application/assistant/form/assistant-form-element-name.d.ts +11 -0
  700. package/dist/domain/application/assistant/form/assistant-form-element-name.js +8 -0
  701. package/dist/domain/application/assistant/form/assistant-form-elements.d.ts +174 -0
  702. package/dist/domain/application/assistant/form/assistant-form-elements.js +1 -0
  703. package/dist/domain/application/assistant/form/assistant-resource-path.d.ts +10 -0
  704. package/dist/domain/application/assistant/form/assistant-resource-path.js +1 -0
  705. package/dist/domain/application/assistant/form/index.d.ts +4 -0
  706. package/dist/domain/application/assistant/form/index.js +1 -0
  707. package/dist/domain/application/assistant/generate-assistant-prompt.d.ts +3 -0
  708. package/dist/domain/application/assistant/generate-assistant-prompt.js +1 -1
  709. package/dist/domain/application/assistant/index.d.ts +4 -3
  710. package/dist/domain/application/assistant/index.js +1 -1
  711. package/dist/domain/application/assistant/session-setup/apply-assistant-setup.js +1 -1
  712. package/dist/domain/application/assistant/session-setup/assistant-setup-manifest.d.ts +4 -4
  713. package/dist/domain/application/assistant/session-setup/assistant-setup-manifest.js +1 -1
  714. package/dist/domain/application/assistant-mutations.js +1 -1
  715. package/dist/domain/application/assistant-recipe-groups.d.ts +3 -1
  716. package/dist/domain/application/configurator-builder.d.ts +7 -1
  717. package/dist/domain/application/configurator-builder.js +1 -1
  718. package/dist/domain/application/index.d.ts +1 -1
  719. package/dist/domain/application/index.js +1 -1
  720. package/dist/domain/application/standard-properties.js +1 -1
  721. package/dist/domain/application/web-component-property.d.ts +3 -1
  722. package/dist/domain/application/web-component-property.js +1 -1
  723. package/dist/domain/available-system-components/available-system-components.d.ts +11 -0
  724. package/dist/domain/available-system-components/available-system-components.js +1 -0
  725. package/dist/domain/available-system-components/index.d.ts +1 -0
  726. package/dist/domain/available-system-components/index.js +1 -0
  727. package/dist/domain/core/schema/extended-schema-validator.js +1 -1
  728. package/dist/domain/{domain-builder.d.ts → domain-builder/domain-builder.d.ts} +11 -5
  729. package/dist/domain/domain-builder/domain-builder.js +1 -0
  730. package/dist/domain/domain-builder/index.d.ts +1 -0
  731. package/dist/domain/domain-builder/index.js +1 -0
  732. package/dist/domain/domain-context/store-system/store-system.d.ts +5 -0
  733. package/dist/domain/domain-context/store-system/store-system.js +1 -1
  734. package/dist/domain/domain-runtime/application.d.ts +39 -0
  735. package/dist/domain/domain-runtime/application.js +1 -0
  736. package/dist/domain/domain-runtime/domain-context/selectors.d.ts +1 -0
  737. package/dist/domain/domain-runtime/domain-context/selectors.js +1 -1
  738. package/dist/domain/domain-runtime/domain-runtime.d.ts +44 -4
  739. package/dist/domain/domain-runtime/domain-runtime.js +1 -1
  740. package/dist/domain/domain-runtime/environment/initialize.d.ts +1 -1
  741. package/dist/domain/domain-runtime/environment/types.d.ts +1 -1
  742. package/dist/domain/domain-runtime/errors/implementation-error-collector.d.ts +2 -0
  743. package/dist/domain/domain-runtime/errors/implementation-error-collector.js +1 -1
  744. package/dist/domain/domain-runtime/index.d.ts +2 -1
  745. package/dist/domain/domain-runtime/index.js +1 -1
  746. package/dist/domain/domain-runtime/spec/index.d.ts +1 -1
  747. package/dist/domain/domain-runtime/spec/index.js +1 -1
  748. package/dist/domain/domain-runtime/spec/initialize.js +1 -1
  749. package/dist/domain/domain-runtime/spec/module-checks/element-registration.d.ts +27 -12
  750. package/dist/domain/domain-runtime/spec/module-checks/element-registration.js +1 -1
  751. package/dist/domain/domain-runtime/spec/module-checks/find-assistant-form-element-errors.d.ts +12 -0
  752. package/dist/domain/domain-runtime/spec/module-checks/find-assistant-form-element-errors.js +1 -0
  753. package/dist/domain/domain-runtime/spec/module-checks/index.d.ts +3 -1
  754. package/dist/domain/domain-runtime/spec/module-checks/index.js +1 -1
  755. package/dist/domain/domain-runtime/spec/module-checks/merge-expression-modules.d.ts +23 -0
  756. package/dist/domain/domain-runtime/spec/module-checks/merge-expression-modules.js +1 -0
  757. package/dist/domain/domain-runtime/spec/module-checks/resolve-expression-modules.d.ts +3 -4
  758. package/dist/domain/domain-runtime/spec/module-checks/resolve-expression-modules.js +1 -1
  759. package/dist/domain/domain-runtime/spec/selectors.d.ts +3 -1
  760. package/dist/domain/domain-runtime/spec/selectors.js +1 -1
  761. package/dist/domain/domain-runtime/web-component/actions.d.ts +3 -0
  762. package/dist/domain/domain-runtime/web-component/actions.js +1 -1
  763. package/dist/domain/domain-runtime/web-component/initialize.d.ts +1 -0
  764. package/dist/domain/domain-runtime/web-component/initialize.js +1 -1
  765. package/dist/domain/domain-runtime/web-component/selectors.d.ts +2 -0
  766. package/dist/domain/domain-runtime/web-component/selectors.js +1 -1
  767. package/dist/domain/domain-runtime/web-component/types.d.ts +6 -3
  768. package/dist/domain/extensions/export-images/agent-screenshot.d.ts +30 -0
  769. package/dist/domain/extensions/export-images/agent-screenshot.js +1 -0
  770. package/dist/domain/extensions/{client-side-image.d.ts → export-images/client-side-image.d.ts} +2 -2
  771. package/dist/domain/extensions/export-images/client-side-image.js +1 -0
  772. package/dist/domain/extensions/export-images/index.d.ts +3 -0
  773. package/dist/domain/extensions/export-images/index.js +1 -0
  774. package/dist/domain/extensions/{save-template-thumbnail.d.ts → export-images/save-template-thumbnail.d.ts} +2 -2
  775. package/dist/domain/extensions/export-images/save-template-thumbnail.js +1 -0
  776. package/dist/domain/extensions/index.d.ts +1 -2
  777. package/dist/domain/extensions/index.js +1 -1
  778. package/dist/domain/index.d.ts +3 -2
  779. package/dist/domain/index.js +1 -1
  780. package/dist/domain/mocks/create-mock-domain-runtime.d.ts +9 -0
  781. package/dist/domain/spec/application/admin-pages-section.d.ts +29 -0
  782. package/dist/domain/spec/application/admin-pages-section.js +1 -0
  783. package/dist/domain/spec/application/admin-pages.d.ts +26 -0
  784. package/dist/domain/spec/application/admin-pages.js +1 -0
  785. package/dist/domain/spec/application/admin-states.d.ts +5 -0
  786. package/dist/domain/spec/application/admin-states.js +1 -0
  787. package/dist/domain/spec/application/configurator-states.d.ts +8 -0
  788. package/dist/domain/spec/application/configurator-states.js +1 -0
  789. package/dist/domain/spec/application/index.d.ts +5 -0
  790. package/dist/domain/spec/application/index.js +1 -0
  791. package/dist/domain/spec/components/bindings/index.d.ts +2 -0
  792. package/dist/domain/spec/components/bindings/index.js +1 -0
  793. package/dist/domain/spec/components/bindings/read-binding.d.ts +13 -0
  794. package/dist/domain/spec/components/bindings/read-binding.js +1 -0
  795. package/dist/domain/spec/components/bindings/write-binding.d.ts +32 -0
  796. package/dist/domain/spec/components/bindings/write-binding.js +1 -0
  797. package/dist/{application-spec/parse-application-files → domain}/spec/components/component-entry.d.ts +3 -3
  798. package/dist/domain/spec/components/component-entry.js +1 -0
  799. package/dist/{application-spec/core → domain/spec}/components/component-filter.d.ts +3 -2
  800. package/dist/domain/spec/components/component-filters.d.ts +10 -0
  801. package/dist/domain/spec/components/component-filters.js +1 -0
  802. package/dist/domain/spec/components/components.d.ts +4 -0
  803. package/dist/domain/spec/components/components.js +1 -0
  804. package/dist/domain/spec/components/index.d.ts +6 -0
  805. package/dist/domain/spec/enhanced-json/enhanced-json-value.d.ts +30 -0
  806. package/dist/domain/spec/enhanced-json/enhanced-json-value.js +1 -0
  807. package/dist/domain/spec/enhanced-json/index.d.ts +1 -0
  808. package/dist/domain/spec/enhanced-json/index.js +1 -0
  809. package/dist/{application-spec/parse-application-files → domain}/spec/expressions/expression.d.ts +9 -3
  810. package/dist/domain/spec/expressions/expression.js +1 -0
  811. package/dist/domain/spec/expressions/expressions.d.ts +27 -0
  812. package/dist/domain/spec/expressions/expressions.js +1 -0
  813. package/dist/domain/spec/expressions/index.d.ts +5 -0
  814. package/dist/domain/spec/expressions/memo-eval-plan.d.ts +70 -0
  815. package/dist/domain/spec/expressions/memo-eval-plan.js +1 -0
  816. package/dist/domain/spec/expressions/relation-expression-params.js +1 -0
  817. package/dist/domain/spec/index.d.ts +9 -0
  818. package/dist/domain/spec/index.js +1 -0
  819. package/dist/domain/spec/invariants/index.d.ts +2 -0
  820. package/dist/domain/spec/invariants/index.js +1 -0
  821. package/dist/domain/spec/invariants/invariant.d.ts +24 -0
  822. package/dist/domain/spec/invariants/invariant.js +1 -0
  823. package/dist/domain/spec/invariants/invariants.d.ts +14 -0
  824. package/dist/domain/spec/invariants/invariants.js +1 -0
  825. package/dist/domain/spec/json-schema.d.ts +52 -0
  826. package/dist/domain/spec/json-schema.js +1 -0
  827. package/dist/domain/spec/markers/index.d.ts +3 -0
  828. package/dist/domain/spec/markers/index.js +1 -0
  829. package/dist/domain/spec/markers/msg-marker.d.ts +28 -0
  830. package/dist/domain/spec/markers/msg-marker.js +1 -0
  831. package/dist/domain/spec/model/aliases.d.ts +9 -0
  832. package/dist/domain/spec/model/aliases.js +1 -0
  833. package/dist/domain/spec/model/common-types.d.ts +15 -0
  834. package/dist/domain/spec/model/common-types.js +1 -0
  835. package/dist/domain/spec/model/defaults.d.ts +33 -0
  836. package/dist/domain/spec/model/defaults.js +1 -0
  837. package/dist/domain/spec/model/entity-types.d.ts +8 -0
  838. package/dist/domain/spec/model/entity-types.js +1 -0
  839. package/dist/domain/spec/model/index.d.ts +7 -0
  840. package/dist/domain/spec/model/index.js +1 -0
  841. package/dist/domain/spec/model/model-version-key.d.ts +3 -0
  842. package/dist/domain/spec/model/model-version-key.js +1 -0
  843. package/dist/domain/spec/model/names/action-name.d.ts +7 -0
  844. package/dist/domain/spec/model/names/action-name.js +1 -0
  845. package/dist/domain/spec/model/names/alias-name.d.ts +7 -0
  846. package/dist/domain/spec/model/names/alias-name.js +1 -0
  847. package/dist/domain/spec/model/names/entity-or-alias-name.d.ts +8 -0
  848. package/dist/domain/spec/model/names/entity-or-alias-name.js +1 -0
  849. package/dist/domain/spec/model/names/entity-type-name.d.ts +8 -0
  850. package/dist/domain/spec/model/names/entity-type-name.js +1 -0
  851. package/dist/domain/spec/model/names/expression-name.d.ts +6 -0
  852. package/dist/domain/spec/model/names/expression-name.js +1 -0
  853. package/dist/domain/spec/model/names/index.d.ts +9 -0
  854. package/dist/domain/spec/model/names/index.js +1 -0
  855. package/dist/domain/spec/model/names/instance-name.d.ts +7 -0
  856. package/dist/domain/spec/model/names/instance-name.js +1 -0
  857. package/dist/domain/spec/model/names/invariant-name.d.ts +3 -0
  858. package/dist/domain/spec/model/names/invariant-name.js +1 -0
  859. package/dist/domain/spec/model/names/shape-property-name.d.ts +11 -0
  860. package/dist/domain/spec/model/names/shape-property-name.js +1 -0
  861. package/dist/domain/spec/model/names/violation-type-name.d.ts +3 -0
  862. package/dist/domain/spec/model/names/violation-type-name.js +1 -0
  863. package/dist/domain/spec/model/presets.d.ts +30 -0
  864. package/dist/domain/spec/model/presets.js +1 -0
  865. package/dist/domain/spec/sections/actions.d.ts +23 -0
  866. package/dist/domain/spec/sections/actions.js +1 -0
  867. package/dist/domain/spec/sections/app-metadata.d.ts +18 -0
  868. package/dist/domain/spec/sections/app-metadata.js +1 -0
  869. package/dist/domain/spec/sections/application-version.d.ts +7 -0
  870. package/dist/domain/spec/sections/application-version.js +1 -0
  871. package/dist/domain/spec/sections/data-spec/chunks.d.ts +23 -0
  872. package/dist/domain/spec/sections/data-spec/chunks.js +1 -0
  873. package/dist/domain/spec/sections/data-spec/custom-data-spec-entry.d.ts +16 -0
  874. package/dist/domain/spec/sections/data-spec/custom-data-spec-entry.js +1 -0
  875. package/dist/domain/spec/sections/data-spec/data-entry-key.d.ts +9 -0
  876. package/dist/domain/spec/sections/data-spec/data-entry-key.js +1 -0
  877. package/dist/domain/spec/sections/data-spec/index.d.ts +5 -0
  878. package/dist/domain/spec/sections/data-spec/index.js +1 -0
  879. package/dist/domain/spec/sections/data-spec/parsed-data-spec-entries.d.ts +10 -0
  880. package/dist/domain/spec/sections/data-spec/parsed-data-spec-entries.js +1 -0
  881. package/dist/domain/spec/sections/data-spec/swatch-data-spec-entry.d.ts +14 -0
  882. package/dist/domain/spec/sections/data-spec/swatch-data-spec-entry.js +1 -0
  883. package/dist/domain/spec/sections/index.d.ts +9 -0
  884. package/dist/domain/spec/sections/index.js +1 -0
  885. package/dist/domain/spec/sections/infra/acl.d.ts +12 -0
  886. package/dist/domain/spec/sections/infra/acl.js +1 -0
  887. package/dist/domain/spec/sections/infra/index.d.ts +3 -0
  888. package/dist/domain/spec/sections/infra/index.js +1 -0
  889. package/dist/domain/spec/sections/infra/resource-entry.d.ts +46 -0
  890. package/dist/domain/spec/sections/infra/resource-entry.js +1 -0
  891. package/dist/domain/spec/sections/infra/resources-config.d.ts +10 -0
  892. package/dist/domain/spec/sections/infra/resources-config.js +1 -0
  893. package/dist/domain/spec/sections/state-value.d.ts +7 -0
  894. package/dist/domain/spec/sections/state-value.js +1 -0
  895. package/dist/domain/spec/sections/theme.d.ts +10 -0
  896. package/dist/domain/spec/sections/theme.js +1 -0
  897. package/dist/domain/spec/sections/transformers.d.ts +15 -0
  898. package/dist/domain/spec/sections/transformers.js +1 -0
  899. package/dist/domain/spec/sections/ui.d.ts +12 -0
  900. package/dist/domain/spec/sections/ui.js +1 -0
  901. package/dist/domain/system-components/child-entity-selection.js +1 -1
  902. package/dist/domain/system-components/common/scene-entity-control-schema.d.ts +3 -0
  903. package/dist/domain/system-components/common/scene-entity-control-schema.js +1 -1
  904. package/dist/domain/system-definitions.js +1 -1
  905. package/dist/domain/utils/index.d.ts +2 -0
  906. package/dist/domain/utils/index.js +1 -0
  907. package/dist/editor/Editor.d.ts +7 -0
  908. package/dist/editor/Editor.js +1 -1
  909. package/dist/editor/domain-editors/DomainSpecContext.js +1 -1
  910. package/dist/editor/domain-editors/apply-spec-update.d.ts +10 -2
  911. package/dist/editor/domain-editors/apply-spec-update.js +1 -1
  912. package/dist/editor/domain-editors/use-implementation-files.d.ts +6 -14
  913. package/dist/editor/domain-editors/use-implementation-files.js +1 -1
  914. package/dist/editor/graphql/GraphQLPanel.js +1 -1
  915. package/dist/editor/mocks/CreateMockYaml.js +2 -2
  916. package/dist/editor/mocks/EditorMockContext.d.ts +2 -0
  917. package/dist/editor/mocks/EditorMockContext.js +1 -1
  918. package/dist/editor/screenshot/ScreenshotHandler.js +1 -1
  919. package/dist/globals/index.d.ts +2 -0
  920. package/dist/i18n/locales/cs/messages.js +1 -1
  921. package/dist/i18n/locales/da/messages.js +1 -1
  922. package/dist/i18n/locales/de/messages.js +1 -1
  923. package/dist/i18n/locales/de-AT/messages.js +1 -1
  924. package/dist/i18n/locales/en/messages.js +1 -1
  925. package/dist/i18n/locales/en-AU/messages.js +1 -1
  926. package/dist/i18n/locales/en-GB/messages.js +1 -1
  927. package/dist/i18n/locales/es/messages.js +1 -1
  928. package/dist/i18n/locales/fr/messages.js +1 -1
  929. package/dist/i18n/locales/hu/messages.js +1 -1
  930. package/dist/i18n/locales/it/messages.js +1 -1
  931. package/dist/i18n/locales/nl/messages.js +1 -1
  932. package/dist/i18n/locales/pl/messages.js +1 -1
  933. package/dist/i18n/locales/pt/messages.js +1 -1
  934. package/dist/i18n/locales/ro/messages.js +1 -1
  935. package/dist/i18n/locales/sk/messages.js +1 -1
  936. package/dist/i18n/locales/tr/messages.js +1 -1
  937. package/dist/legacy/domain-cli/utils/cache.d.ts +1 -1
  938. package/dist/legacy/domain-cli/utils/cache.js +1 -1
  939. package/dist/legacy/domain-spec/__generated/domain-schema.d.ts +95 -80
  940. package/dist/legacy/domain-spec/spec/domain-spec.js +1 -1
  941. package/dist/legacy/phoenix-cli/project-gen/generators/file-templates/agents/claude-md.d.ts +1 -1
  942. package/dist/legacy/phoenix-cli/project-gen/generators/file-templates/agents/cursor-rules.d.ts +1 -1
  943. package/dist/legacy/phoenix-cli/project-gen/generators/file-templates/agents/shared-sdk-content.d.ts +1 -1
  944. package/dist/legacy/phoenix-cli/project-gen/generators/file-templates/agents/shared-sdk-content.js +11 -5
  945. package/dist/legacy/phoenix-cli/project-gen/generators/file-templates/frontend-admin.js +10 -11
  946. package/dist/legacy/phoenix-cli/project-gen/generators/file-templates/frontend-embedded-admin.js +9 -10
  947. package/dist/legacy/phoenix-cli/services/webhook-service/transport.js +1 -1
  948. package/dist/legacy/phoenix-cli/services/webhook-service/tunnel.d.ts +1 -0
  949. package/dist/legacy/phoenix-cli/services/webhook-service/tunnel.js +1 -1
  950. package/dist/legacy/webhook-cli/lambda-local/index.js +1 -1
  951. package/dist/phoenix/application-spec/application-spec-builder.d.ts +0 -2
  952. package/dist/phoenix/application-spec/application-spec-builder.js +1 -1
  953. package/dist/phoenix/application-spec/generate-application-spec-project.d.ts +1 -2
  954. package/dist/phoenix/application-spec/generate-application-spec-project.js +2 -2
  955. package/dist/phoenix/application-spec/generate-application-spec-story.js +2 -2
  956. package/dist/phoenix/application-spec/generate-project-files.d.ts +1 -2
  957. package/dist/phoenix/application-spec/index.d.ts +1 -0
  958. package/dist/phoenix/application-spec/index.js +1 -1
  959. package/dist/phoenix/application-spec/project-files.js +1 -1
  960. package/dist/phoenix/application-spec/resolve-deployment-data.d.ts +11 -0
  961. package/dist/phoenix/application-spec/resolve-deployment-data.js +2 -2
  962. package/dist/phoenix/bin.d.ts +2 -0
  963. package/dist/phoenix/bin.js +2 -0
  964. package/dist/phoenix/check-configs/built-in-eslint-config.d.ts +9 -0
  965. package/dist/phoenix/check-configs/built-in-eslint-config.js +1 -0
  966. package/dist/phoenix/check-configs/eslint-config.d.ts +10 -0
  967. package/dist/phoenix/check-configs/eslint-config.js +1 -0
  968. package/dist/phoenix/check-configs/index.d.ts +8 -0
  969. package/dist/phoenix/check-configs/index.js +1 -0
  970. package/dist/phoenix/check-configs/typescript-project.d.ts +5 -0
  971. package/dist/phoenix/check-configs/typescript-project.js +1 -0
  972. package/dist/phoenix/cli.d.ts +0 -1
  973. package/dist/phoenix/cli.js +1 -2
  974. package/dist/phoenix/commands/activate-deployment.js +1 -1
  975. package/dist/phoenix/commands/build.js +1 -1
  976. package/dist/phoenix/commands/changelog.js +1 -1
  977. package/dist/phoenix/commands/check.js +1 -1
  978. package/dist/phoenix/commands/clean.js +1 -1
  979. package/dist/phoenix/commands/cleanup-environment.js +2 -2
  980. package/dist/phoenix/commands/create-environment.js +1 -1
  981. package/dist/phoenix/commands/data.js +1 -1
  982. package/dist/phoenix/commands/deploy.js +2 -2
  983. package/dist/phoenix/commands/deployment-build-envs-command.js +1 -1
  984. package/dist/phoenix/commands/deps/deps.d.ts +73 -0
  985. package/dist/phoenix/commands/deps/deps.js +3 -0
  986. package/dist/phoenix/commands/deps/index.d.ts +1 -0
  987. package/dist/phoenix/commands/deps/index.js +1 -0
  988. package/dist/phoenix/commands/deps/sdk-manifest.d.ts +12 -0
  989. package/dist/phoenix/commands/deps/sdk-manifest.js +1 -0
  990. package/dist/phoenix/commands/dev.js +4 -5
  991. package/dist/phoenix/commands/docs.js +1 -1
  992. package/dist/phoenix/commands/finish-deployment-command.js +1 -1
  993. package/dist/phoenix/commands/fix.js +1 -1
  994. package/dist/phoenix/commands/index.d.ts +1 -0
  995. package/dist/phoenix/commands/index.js +1 -1
  996. package/dist/phoenix/commands/init.d.ts +17 -5
  997. package/dist/phoenix/commands/init.js +1 -1
  998. package/dist/phoenix/commands/inspect-assets.js +1 -1
  999. package/dist/phoenix/commands/link.js +1 -1
  1000. package/dist/phoenix/commands/list-environments.js +1 -1
  1001. package/dist/phoenix/commands/login.d.ts +4 -1
  1002. package/dist/phoenix/commands/login.js +2 -2
  1003. package/dist/phoenix/commands/prepare-deployment-command.js +2 -2
  1004. package/dist/phoenix/commands/prettier.js +1 -1
  1005. package/dist/phoenix/commands/register-deployment.js +1 -1
  1006. package/dist/phoenix/commands/scene.js +1 -1
  1007. package/dist/phoenix/commands/screenshot.js +1 -1
  1008. package/dist/phoenix/commands/state.js +1 -1
  1009. package/dist/phoenix/commands/story-build.js +3 -3
  1010. package/dist/phoenix/commands/story-create.js +1 -1
  1011. package/dist/phoenix/commands/story-dev.js +2 -2
  1012. package/dist/phoenix/commands/sync.js +1 -1
  1013. package/dist/phoenix/commands/unlink.js +1 -1
  1014. package/dist/phoenix/commands/variants.js +1 -1
  1015. package/dist/phoenix/editor-server/commands-router.js +1 -1
  1016. package/dist/phoenix/editor-server/editor-server.d.ts +2 -13
  1017. package/dist/phoenix/editor-server/editor-server.js +1 -1
  1018. package/dist/phoenix/editor-server/spec-router.js +1 -1
  1019. package/dist/phoenix/editor-server/trpc.d.ts +2 -12
  1020. package/dist/phoenix/lingui/index.d.ts +1 -0
  1021. package/dist/phoenix/lingui/index.js +1 -0
  1022. package/dist/phoenix/lingui/lingui.d.ts +18 -0
  1023. package/dist/phoenix/lingui/lingui.js +1 -0
  1024. package/dist/phoenix/services/application-spec-project-watcher.d.ts +13 -8
  1025. package/dist/phoenix/services/application-spec-project-watcher.js +2 -2
  1026. package/dist/phoenix/services/cli-credentials.d.ts +3 -0
  1027. package/dist/phoenix/services/cli-credentials.js +1 -1
  1028. package/dist/phoenix/services/cli-exit.d.ts +5 -0
  1029. package/dist/phoenix/services/cli-exit.js +1 -0
  1030. package/dist/phoenix/services/deployment/deployment-preparation-service.d.ts +28 -0
  1031. package/dist/phoenix/services/deployment/deployment-preparation-service.js +1 -0
  1032. package/dist/phoenix/{commands → services/deployment}/generated-env-markers.d.ts +1 -0
  1033. package/dist/phoenix/services/deployment/generated-env-markers.js +1 -0
  1034. package/dist/phoenix/services/deployment/index.d.ts +2 -0
  1035. package/dist/phoenix/services/deployment/index.js +1 -0
  1036. package/dist/phoenix/services/index.d.ts +5 -1
  1037. package/dist/phoenix/services/index.js +1 -1
  1038. package/dist/phoenix/services/lingui-watcher.js +1 -1
  1039. package/dist/phoenix/services/phoenix-store.d.ts +3 -0
  1040. package/dist/phoenix/services/phoenix-store.js +1 -1
  1041. package/dist/phoenix/services/prepare-development-environment.js +1 -1
  1042. package/dist/phoenix/services/session/editor-server-handle.d.ts +5 -0
  1043. package/dist/phoenix/services/session/editor-server-handle.js +1 -0
  1044. package/dist/phoenix/services/session/index.d.ts +2 -0
  1045. package/dist/phoenix/services/session/index.js +1 -0
  1046. package/dist/phoenix/services/session/phoenix-application.d.ts +82 -0
  1047. package/dist/phoenix/services/session/phoenix-application.js +2 -0
  1048. package/dist/phoenix/services/swc.js +1 -1
  1049. package/dist/phoenix/services/telemetry/amplitude-telemetry-transport.d.ts +9 -0
  1050. package/dist/phoenix/services/telemetry/amplitude-telemetry-transport.js +1 -0
  1051. package/dist/phoenix/services/telemetry/index.d.ts +3 -0
  1052. package/dist/phoenix/services/telemetry/index.js +1 -0
  1053. package/dist/phoenix/services/telemetry/telemetry-client.d.ts +25 -0
  1054. package/dist/phoenix/services/telemetry/telemetry-client.js +1 -0
  1055. package/dist/phoenix/services/telemetry/telemetry-command.d.ts +2 -0
  1056. package/dist/phoenix/services/telemetry/telemetry-command.js +1 -0
  1057. package/dist/phoenix/services/telemetry/telemetry-event.d.ts +44 -0
  1058. package/dist/phoenix/services/telemetry/telemetry-event.js +1 -0
  1059. package/dist/phoenix/services/telemetry/telemetry-state.d.ts +25 -0
  1060. package/dist/phoenix/services/telemetry/telemetry-state.js +2 -0
  1061. package/dist/phoenix/services/vite-config.js +1 -1
  1062. package/dist/phoenix/services/webhook-service/transport.js +1 -1
  1063. package/dist/phoenix/services/webhook-service/tunnel.d.ts +1 -0
  1064. package/dist/phoenix/services/webhook-service/tunnel.js +1 -1
  1065. package/dist/phoenix/utils/index.d.ts +4 -2
  1066. package/dist/phoenix/utils/index.js +1 -1
  1067. package/dist/phoenix/utils/node-version/index.d.ts +1 -0
  1068. package/dist/phoenix/utils/node-version/index.js +1 -0
  1069. package/dist/phoenix/utils/node-version/supported-node-version.d.ts +12 -0
  1070. package/dist/phoenix/utils/node-version/supported-node-version.js +4 -0
  1071. package/dist/phoenix/utils/package-info.d.ts +0 -9
  1072. package/dist/phoenix/utils/package-info.js +1 -1
  1073. package/dist/phoenix/utils/package-manager/index.d.ts +2 -0
  1074. package/dist/phoenix/utils/package-manager/index.js +1 -0
  1075. package/dist/phoenix/utils/package-manager/package-manager-commands.d.ts +19 -0
  1076. package/dist/phoenix/utils/package-manager/package-manager-commands.js +1 -0
  1077. package/dist/phoenix/utils/package-manager/pnpm-project.d.ts +9 -0
  1078. package/dist/phoenix/utils/package-manager/pnpm-project.js +1 -0
  1079. package/dist/phoenix/utils/run-command.d.ts +11 -0
  1080. package/dist/phoenix/utils/run-command.js +1 -1
  1081. package/dist/phoenix/utils/sdk-tool/index.d.ts +1 -0
  1082. package/dist/phoenix/utils/sdk-tool/index.js +1 -0
  1083. package/dist/phoenix/utils/sdk-tool/resolve-sdk-tool-bin.d.ts +15 -0
  1084. package/dist/phoenix/utils/sdk-tool/resolve-sdk-tool-bin.js +1 -0
  1085. package/dist/react-sdk/application-runtime/common-services/analytics/analytics-service.d.ts +1 -1
  1086. package/dist/{configurator/common → react-sdk/application-runtime/common-services/analytics}/frontend-analytics.d.ts +4 -0
  1087. package/dist/react-sdk/application-runtime/common-services/analytics/index.d.ts +1 -0
  1088. package/dist/react-sdk/application-runtime/common-services/analytics/index.js +1 -1
  1089. package/dist/react-sdk/application-runtime/common-services/initialize.d.ts +2 -2
  1090. package/dist/react-sdk/application-runtime/domain-application-context/chat-system.d.ts +1 -1
  1091. package/dist/react-sdk/application-runtime/hooks/index.d.ts +2 -0
  1092. package/dist/react-sdk/application-runtime/hooks/index.js +1 -1
  1093. package/dist/react-sdk/application-runtime/hooks/loading/index.d.ts +5 -0
  1094. package/dist/react-sdk/application-runtime/hooks/loading/index.js +1 -0
  1095. package/dist/react-sdk/application-runtime/hooks/loading/loader-host-context.d.ts +11 -0
  1096. package/dist/react-sdk/application-runtime/hooks/loading/loader-host-context.js +1 -0
  1097. package/dist/react-sdk/application-runtime/hooks/loading/use-is-awaiting-loading-phase.d.ts +8 -0
  1098. package/dist/react-sdk/application-runtime/hooks/loading/use-is-awaiting-loading-phase.js +1 -0
  1099. package/dist/react-sdk/application-runtime/hooks/loading/use-is-loader-hosted.d.ts +7 -0
  1100. package/dist/react-sdk/application-runtime/hooks/loading/use-is-loader-hosted.js +1 -0
  1101. package/dist/react-sdk/application-runtime/hooks/loading/use-loading-actions.d.ts +9 -0
  1102. package/dist/react-sdk/application-runtime/hooks/loading/use-loading-actions.js +1 -0
  1103. package/dist/react-sdk/application-runtime/hooks/loading/use-loading-application.d.ts +24 -0
  1104. package/dist/react-sdk/application-runtime/hooks/loading/use-loading-application.js +1 -0
  1105. package/dist/react-sdk/application-runtime/hooks/responsive/index.d.ts +3 -0
  1106. package/dist/react-sdk/application-runtime/hooks/responsive/index.js +1 -0
  1107. package/dist/react-sdk/application-runtime/hooks/responsive/use-responsive-actions.d.ts +9 -0
  1108. package/dist/react-sdk/application-runtime/hooks/responsive/use-responsive-actions.js +1 -0
  1109. package/dist/react-sdk/application-runtime/hooks/responsive/use-responsive-application.d.ts +26 -0
  1110. package/dist/react-sdk/application-runtime/hooks/responsive/use-responsive-application.js +1 -0
  1111. package/dist/react-sdk/application-runtime/hooks/responsive/use-responsive-state.d.ts +10 -0
  1112. package/dist/react-sdk/application-runtime/hooks/responsive/use-responsive-state.js +1 -0
  1113. package/dist/react-sdk/application-runtime/hooks/responsive/use-responsive-store.d.ts +24 -0
  1114. package/dist/react-sdk/application-runtime/hooks/responsive/use-responsive-store.js +1 -0
  1115. package/dist/react-sdk/application-runtime/hooks/use-access-service.d.ts +5 -0
  1116. package/dist/react-sdk/application-runtime/hooks/use-access-service.js +1 -1
  1117. package/dist/react-sdk/application-runtime/hooks/use-phoenix-element-slots.d.ts +2 -1
  1118. package/dist/react-sdk/application-runtime/hooks/use-web-component-readonly-sync.d.ts +4 -11
  1119. package/dist/react-sdk/application-runtime/hooks/use-web-component-readonly-sync.js +1 -1
  1120. package/dist/react-sdk/application-runtime/hooks/use-web-component.d.ts +5 -0
  1121. package/dist/react-sdk/application-runtime/hooks/use-web-component.js +1 -1
  1122. package/dist/react-sdk/application-runtime/host-properties/actions.d.ts +15 -0
  1123. package/dist/react-sdk/application-runtime/host-properties/actions.js +1 -0
  1124. package/dist/react-sdk/application-runtime/host-properties/connect-host-properties.d.ts +30 -0
  1125. package/dist/react-sdk/application-runtime/host-properties/connect-host-properties.js +1 -0
  1126. package/dist/react-sdk/application-runtime/host-properties/domain-host-properties.d.ts +7 -0
  1127. package/dist/react-sdk/application-runtime/host-properties/domain-host-properties.js +1 -0
  1128. package/dist/react-sdk/application-runtime/host-properties/host-property-descriptors.d.ts +21 -0
  1129. package/dist/react-sdk/application-runtime/host-properties/host-property-descriptors.js +1 -0
  1130. package/dist/react-sdk/application-runtime/host-properties/host-property-scopes.d.ts +42 -0
  1131. package/dist/react-sdk/application-runtime/host-properties/host-property-scopes.js +1 -0
  1132. package/dist/react-sdk/application-runtime/host-properties/index.d.ts +8 -0
  1133. package/dist/react-sdk/application-runtime/host-properties/index.js +1 -0
  1134. package/dist/react-sdk/application-runtime/host-properties/initialize.d.ts +7 -0
  1135. package/dist/react-sdk/application-runtime/host-properties/initialize.js +1 -0
  1136. package/dist/react-sdk/application-runtime/host-properties/selectors.d.ts +54 -0
  1137. package/dist/react-sdk/application-runtime/host-properties/selectors.js +1 -0
  1138. package/dist/react-sdk/application-runtime/host-properties/types.d.ts +18 -0
  1139. package/dist/react-sdk/application-runtime/host-properties/types.js +1 -0
  1140. package/dist/react-sdk/application-runtime/index.d.ts +3 -0
  1141. package/dist/react-sdk/application-runtime/integration/initialize.d.ts +7 -6
  1142. package/dist/react-sdk/application-runtime/integration/initialize.js +1 -1
  1143. package/dist/react-sdk/application-runtime/integration/selectors.d.ts +11 -2
  1144. package/dist/react-sdk/application-runtime/integration/selectors.js +1 -1
  1145. package/dist/react-sdk/application-runtime/integration/types.d.ts +5 -2
  1146. package/dist/react-sdk/application-runtime/loading/actions.d.ts +45 -0
  1147. package/dist/react-sdk/application-runtime/loading/actions.js +1 -0
  1148. package/dist/react-sdk/application-runtime/loading/index.d.ts +4 -0
  1149. package/dist/react-sdk/application-runtime/loading/index.js +1 -0
  1150. package/dist/react-sdk/application-runtime/loading/initialize.d.ts +3 -0
  1151. package/dist/react-sdk/application-runtime/loading/initialize.js +1 -0
  1152. package/dist/react-sdk/application-runtime/loading/selectors.d.ts +18 -0
  1153. package/dist/react-sdk/application-runtime/loading/selectors.js +1 -0
  1154. package/dist/react-sdk/application-runtime/loading/types.d.ts +59 -0
  1155. package/dist/react-sdk/application-runtime/loading/types.js +1 -0
  1156. package/dist/react-sdk/application-runtime/mocks/create-mock-application-runtime.js +1 -1
  1157. package/dist/react-sdk/application-runtime/provider/ApplicationRuntime.d.ts +6 -0
  1158. package/dist/react-sdk/application-runtime/provider/ApplicationRuntime.js +1 -1
  1159. package/dist/react-sdk/application-runtime/provider/ApplicationType.d.ts +7 -0
  1160. package/dist/react-sdk/application-runtime/provider/ApplicationType.js +1 -1
  1161. package/dist/react-sdk/application-runtime/responsive/actions.d.ts +47 -0
  1162. package/dist/react-sdk/application-runtime/responsive/actions.js +1 -0
  1163. package/dist/react-sdk/application-runtime/responsive/index.d.ts +4 -0
  1164. package/dist/react-sdk/application-runtime/responsive/index.js +1 -0
  1165. package/dist/react-sdk/application-runtime/responsive/initialize.d.ts +3 -0
  1166. package/dist/react-sdk/application-runtime/responsive/initialize.js +1 -0
  1167. package/dist/react-sdk/application-runtime/responsive/selectors.d.ts +20 -0
  1168. package/dist/react-sdk/application-runtime/responsive/selectors.js +1 -0
  1169. package/dist/react-sdk/application-runtime/responsive/types.d.ts +104 -0
  1170. package/dist/react-sdk/application-runtime/responsive/types.js +1 -0
  1171. package/dist/react-sdk/application-runtime/routing/routing-service.d.ts +34 -2
  1172. package/dist/react-sdk/application-runtime/routing/routing-service.js +1 -1
  1173. package/dist/react-sdk/application-runtime/runtime/create-application-runtime.d.ts +313 -10
  1174. package/dist/react-sdk/application-runtime/runtime/create-application-runtime.js +1 -1
  1175. package/dist/{configurator/configurator-context → react-sdk}/configurator-routing/ConfiguratorRoutingProvider.d.ts +1 -1
  1176. package/dist/react-sdk/configurator-routing/ConfiguratorRoutingProvider.js +1 -0
  1177. package/dist/{configurator/configurator-context → react-sdk}/configurator-routing/OnGoToIndexHandler.d.ts +1 -2
  1178. package/dist/react-sdk/configurator-routing/OnGoToIndexHandler.js +1 -0
  1179. package/dist/react-sdk/configurator-routing/index.d.ts +3 -0
  1180. package/dist/{configurator/configurator-context → react-sdk}/configurator-routing/index.js +1 -1
  1181. package/dist/{configurator/configurator-context → react-sdk}/configurator-routing/use-power-routing-lifecycle.d.ts +2 -0
  1182. package/dist/react-sdk/configurator-routing/use-power-routing-lifecycle.js +1 -0
  1183. package/dist/react-sdk/domain-application-context/BackendDataProvider.js +1 -1
  1184. package/dist/react-sdk/domain-application-context/ConfigurationPersistSystemFailureHandler.js +1 -1
  1185. package/dist/react-sdk/domain-application-context/DomainLifecycleBoundary.js +1 -1
  1186. package/dist/react-sdk/domain-application-context/FrontendDataProvider.js +1 -1
  1187. package/dist/react-sdk/domain-application-context/OnPresetLoadedHandler.js +1 -0
  1188. package/dist/react-sdk/domain-application-context/PublishedDataProvider.js +1 -1
  1189. package/dist/react-sdk/domain-application-context/chat-hooks.d.ts +4 -0
  1190. package/dist/react-sdk/domain-application-context/chat-hooks.js +1 -0
  1191. package/dist/react-sdk/domain-application-context/index.d.ts +2 -0
  1192. package/dist/react-sdk/domain-application-context/index.js +1 -1
  1193. package/dist/react-sdk/domain-context/common-hooks/index.d.ts +9 -0
  1194. package/dist/react-sdk/domain-context/common-hooks/index.js +1 -0
  1195. package/dist/react-sdk/domain-context/common-hooks/use-configuration-save-state.d.ts +23 -0
  1196. package/dist/react-sdk/domain-context/common-hooks/use-configuration-save-state.js +1 -0
  1197. package/dist/react-sdk/domain-context/common-hooks/use-configurator-messages.d.ts +15 -4
  1198. package/dist/react-sdk/domain-context/common-hooks/use-configurator-messages.js +1 -1
  1199. package/dist/react-sdk/domain-context/common-hooks/use-domain-context.d.ts +1 -0
  1200. package/dist/react-sdk/domain-context/component-hooks/index.d.ts +1 -0
  1201. package/dist/react-sdk/domain-context/component-hooks/index.js +1 -0
  1202. package/dist/react-sdk/domain-context/component-hooks/use-component.js +1 -1
  1203. package/dist/react-sdk/domain-context/entity-hooks/use-domain-entity-state.js +1 -1
  1204. package/dist/react-sdk/domain-context/entity-hooks/use-entity-price.js +1 -1
  1205. package/dist/react-sdk/domain-context/entity-hooks/use-root-entity-id.js +1 -1
  1206. package/dist/react-sdk/domain-context/entity-hooks/use-root-entity-state.js +1 -1
  1207. package/dist/react-sdk/domain-context/index.d.ts +7 -0
  1208. package/dist/react-sdk/domain-context/index.js +1 -1
  1209. package/dist/react-sdk/domain-context/system-hooks/composition-hooks.js +1 -1
  1210. package/dist/react-sdk/domain-context/system-hooks/dimension-hooks.js +1 -1
  1211. package/dist/react-sdk/domain-context/system-hooks/generate-share-link-hooks.d.ts +8 -0
  1212. package/dist/react-sdk/domain-context/system-hooks/generate-share-link-hooks.js +1 -0
  1213. package/dist/react-sdk/domain-context/system-hooks/hover-hooks.js +1 -1
  1214. package/dist/react-sdk/domain-context/system-hooks/locale-switch-hooks.d.ts +24 -0
  1215. package/dist/react-sdk/domain-context/system-hooks/locale-switch-hooks.js +1 -0
  1216. package/dist/react-sdk/domain-context/system-hooks/navigation-hooks.js +1 -1
  1217. package/dist/react-sdk/domain-context/system-hooks/selection-hooks.js +1 -1
  1218. package/dist/react-sdk/domain-context/system-hooks/share-links-hooks.d.ts +32 -0
  1219. package/dist/react-sdk/domain-context/system-hooks/share-links-hooks.js +1 -0
  1220. package/dist/react-sdk/domain-context/system-hooks/step-navigation-hooks.d.ts +57 -0
  1221. package/dist/react-sdk/domain-context/system-hooks/step-navigation-hooks.js +1 -0
  1222. package/dist/react-sdk/domain-context/system-hooks/tab-navigation-hooks.d.ts +61 -0
  1223. package/dist/react-sdk/domain-context/system-hooks/tab-navigation-hooks.js +1 -0
  1224. package/dist/react-sdk/domain-context/system-hooks/undo-redo-hooks.d.ts +20 -0
  1225. package/dist/react-sdk/domain-context/system-hooks/undo-redo-hooks.js +1 -0
  1226. package/dist/react-sdk/elements/PhoenixEntityElement.js +1 -1
  1227. package/dist/react-sdk/elements/PhoenixLayoutElement.js +1 -1
  1228. package/dist/react-sdk/handlers/FinalizeActionRunner.d.ts +13 -0
  1229. package/dist/react-sdk/handlers/FinalizeActionRunner.js +1 -0
  1230. package/dist/react-sdk/handlers/FinalizeActionsHost.d.ts +10 -0
  1231. package/dist/react-sdk/handlers/FinalizeActionsHost.js +1 -0
  1232. package/dist/react-sdk/handlers/FinalizeActionsProvider.d.ts +11 -0
  1233. package/dist/react-sdk/handlers/FinalizeActionsProvider.js +1 -0
  1234. package/dist/react-sdk/handlers/finalize-actions-context.d.ts +6 -0
  1235. package/dist/react-sdk/handlers/finalize-actions-context.js +1 -0
  1236. package/dist/react-sdk/handlers/finalize-actions-store.d.ts +23 -0
  1237. package/dist/react-sdk/handlers/finalize-actions-store.js +1 -0
  1238. package/dist/react-sdk/handlers/index.d.ts +6 -0
  1239. package/dist/react-sdk/handlers/index.js +1 -1
  1240. package/dist/{configurator/common → react-sdk/handlers}/use-finalize-action.d.ts +3 -2
  1241. package/dist/react-sdk/handlers/use-finalize-action.js +1 -0
  1242. package/dist/react-sdk/handlers/use-finalize-actions.d.ts +53 -0
  1243. package/dist/react-sdk/handlers/use-finalize-actions.js +1 -0
  1244. package/dist/react-sdk/index.d.ts +7 -0
  1245. package/dist/react-sdk/index.js +1 -1
  1246. package/dist/react-sdk/integration/IntegrationSubscription.js +1 -0
  1247. package/dist/react-sdk/integration/index.d.ts +1 -0
  1248. package/dist/react-sdk/integration/index.js +1 -0
  1249. package/dist/react-sdk/lifecycle-providers/ConfiguratorDataProvider.d.ts +8 -0
  1250. package/dist/react-sdk/lifecycle-providers/ConfiguratorDataProvider.js +1 -0
  1251. package/dist/react-sdk/lifecycle-providers/LifecycleProviders.js +1 -0
  1252. package/dist/react-sdk/lifecycle-providers/index.d.ts +2 -0
  1253. package/dist/react-sdk/lifecycle-providers/index.js +1 -0
  1254. package/dist/react-sdk/loading-state/LoaderHost.d.ts +20 -0
  1255. package/dist/react-sdk/loading-state/LoaderHost.js +1 -0
  1256. package/dist/react-sdk/loading-state/built-in-loading-phase.d.ts +9 -0
  1257. package/dist/react-sdk/loading-state/built-in-loading-phase.js +1 -0
  1258. package/dist/react-sdk/loading-state/create-app-loader.d.ts +18 -0
  1259. package/dist/react-sdk/loading-state/create-app-loader.js +1 -0
  1260. package/dist/react-sdk/loading-state/index.d.ts +4 -2
  1261. package/dist/react-sdk/loading-state/index.js +1 -1
  1262. package/dist/react-sdk/loading-state/{LoadingStateProvider.d.ts → loading-state-hooks.d.ts} +3 -12
  1263. package/dist/react-sdk/loading-state/loading-state-hooks.js +1 -0
  1264. package/dist/react-sdk/notifications/index.d.ts +1 -0
  1265. package/dist/react-sdk/notifications/index.js +1 -0
  1266. package/dist/react-sdk/notifications/snackbar-action-button.d.ts +30 -0
  1267. package/dist/react-sdk/notifications/snackbar-action-button.js +1 -0
  1268. package/dist/react-sdk/page-elements/ConfigurationNotFoundPagePropsProvider.d.ts +17 -0
  1269. package/dist/react-sdk/page-elements/ConfigurationNotFoundPagePropsProvider.js +1 -0
  1270. package/dist/react-sdk/page-elements/ConfiguratorErrorPagePropsProvider.d.ts +17 -0
  1271. package/dist/react-sdk/page-elements/ConfiguratorErrorPagePropsProvider.js +1 -0
  1272. package/dist/react-sdk/page-elements/configurator-error-page-props.d.ts +20 -0
  1273. package/dist/react-sdk/page-elements/configurator-error-page-props.js +1 -0
  1274. package/dist/react-sdk/page-elements/create-configuration-not-found-page.d.ts +15 -0
  1275. package/dist/react-sdk/page-elements/create-configuration-not-found-page.js +1 -0
  1276. package/dist/react-sdk/page-elements/create-configurator-error-page.d.ts +14 -0
  1277. package/dist/react-sdk/page-elements/create-configurator-error-page.js +1 -0
  1278. package/dist/react-sdk/page-elements/create-preset-ui.d.ts +9 -0
  1279. package/dist/react-sdk/page-elements/create-preset-ui.js +1 -0
  1280. package/dist/react-sdk/page-elements/index.d.ts +6 -0
  1281. package/dist/react-sdk/page-elements/index.js +1 -0
  1282. package/dist/react-sdk/preset-selection/PresetSelectionProvider.js +1 -0
  1283. package/dist/react-sdk/preset-selection/index.d.ts +1 -0
  1284. package/dist/react-sdk/preset-selection/index.js +1 -0
  1285. package/dist/react-sdk/scene-control-elements/AddEntityFabElement.d.ts +36 -0
  1286. package/dist/react-sdk/scene-control-elements/AddEntityFabElement.js +1 -0
  1287. package/dist/react-sdk/scene-control-elements/DeleteEntityFabElement.d.ts +44 -0
  1288. package/dist/react-sdk/scene-control-elements/DeleteEntityFabElement.js +1 -0
  1289. package/dist/react-sdk/scene-control-elements/NavigationHotspotElement.d.ts +38 -0
  1290. package/dist/react-sdk/scene-control-elements/NavigationHotspotElement.js +1 -0
  1291. package/dist/react-sdk/scene-control-elements/SelectionHotspotElement.d.ts +30 -0
  1292. package/dist/react-sdk/scene-control-elements/SelectionHotspotElement.js +1 -0
  1293. package/dist/react-sdk/scene-control-elements/ToolMenuFabElement.d.ts +30 -0
  1294. package/dist/react-sdk/scene-control-elements/ToolMenuFabElement.js +1 -0
  1295. package/dist/react-sdk/scene-control-elements/create-add-entity-fab.d.ts +9 -0
  1296. package/dist/react-sdk/scene-control-elements/create-add-entity-fab.js +1 -0
  1297. package/dist/react-sdk/scene-control-elements/create-delete-entity-fab.d.ts +9 -0
  1298. package/dist/react-sdk/scene-control-elements/create-delete-entity-fab.js +1 -0
  1299. package/dist/react-sdk/scene-control-elements/create-navigation-hotspot.d.ts +10 -0
  1300. package/dist/react-sdk/scene-control-elements/create-navigation-hotspot.js +1 -0
  1301. package/dist/react-sdk/scene-control-elements/create-selection-hotspot.d.ts +9 -0
  1302. package/dist/react-sdk/scene-control-elements/create-selection-hotspot.js +1 -0
  1303. package/dist/react-sdk/scene-control-elements/create-tool-menu-fab.d.ts +9 -0
  1304. package/dist/react-sdk/scene-control-elements/create-tool-menu-fab.js +1 -0
  1305. package/dist/react-sdk/scene-control-elements/index.d.ts +11 -0
  1306. package/dist/react-sdk/scene-control-elements/index.js +1 -0
  1307. package/dist/react-sdk/scene-control-elements/scene-control-tooltip-visibility.d.ts +5 -0
  1308. package/dist/react-sdk/scene-control-elements/scene-control-tooltip-visibility.js +1 -0
  1309. package/dist/react-sdk/session/NotAuthenticatedPage.d.ts +4 -0
  1310. package/dist/react-sdk/session/NotAuthenticatedPage.js +1 -1
  1311. package/dist/react-sdk/session/SessionServiceProvider.d.ts +5 -0
  1312. package/dist/react-sdk/session/SessionServiceProvider.js +1 -1
  1313. package/dist/react-sdk/web-component/create-web-component.js +1 -1
  1314. package/dist/react-sdk/web-component/god-mode/god-mode-registry.d.ts +30 -0
  1315. package/dist/react-sdk/web-component/god-mode/god-mode-registry.js +1 -0
  1316. package/dist/react-sdk/web-component/god-mode/index.d.ts +1 -0
  1317. package/dist/react-sdk/web-component/god-mode/index.js +1 -0
  1318. package/dist/ui-sdk/components/snackbar/Snackbar.d.ts +24 -3
  1319. package/dist/ui-sdk/components/snackbar/Snackbar.js +1 -1
  1320. package/dist/ui-sdk/icons/__generated/Lightbulb.d.ts +3 -0
  1321. package/dist/ui-sdk/icons/__generated/Lightbulb.js +1 -0
  1322. package/dist/ui-sdk/icons/__generated/Paperclip.d.ts +3 -0
  1323. package/dist/ui-sdk/icons/__generated/Paperclip.js +1 -0
  1324. package/dist/ui-sdk/icons/__generated/XCircle.d.ts +3 -0
  1325. package/dist/ui-sdk/icons/__generated/XCircle.js +1 -0
  1326. package/dist/ui-sdk/icons/__generated/index.d.ts +6 -0
  1327. package/dist/ui-sdk/icons/__generated/index.js +1 -1
  1328. package/dist/ui-sdk/icons/icons-registry.js +1 -1
  1329. package/dist/ui-sdk/responsive-application/ResponsiveApplicationProvider.d.ts +9 -0
  1330. package/dist/ui-sdk/responsive-application/ResponsiveApplicationProvider.js +1 -1
  1331. package/dist/ui-sdk/responsive-application/index.d.ts +1 -0
  1332. package/dist/ui-sdk/responsive-application/responsive-state-store.d.ts +59 -0
  1333. package/dist/ui-sdk/responsive-application/responsive-state-store.js +1 -0
  1334. package/dist/ui-sdk/responsive-application/use-store-responsive-info.d.ts +7 -0
  1335. package/dist/ui-sdk/responsive-application/use-store-responsive-info.js +1 -0
  1336. package/dist/ui-sdk/theme/types.d.ts +5 -1
  1337. package/dist/watch/glob-matcher.d.ts +4 -4
  1338. package/dist/watch/glob-matcher.js +1 -1
  1339. package/dist/watch/watch.d.ts +4 -4
  1340. package/dist/watch/watch.js +1 -1
  1341. package/package.json +29 -14
  1342. package/schema/domain-spec.json +244 -8
  1343. package/dist/application-spec/core/components/index.d.ts +0 -2
  1344. package/dist/application-spec/core/expressions/index.d.ts +0 -2
  1345. package/dist/application-spec/generate-application/code/templates/nvmrc.d.ts +0 -1
  1346. package/dist/application-spec/generate-application/code/templates/nvmrc.js +0 -2
  1347. package/dist/application-spec/generate-application/code/templates/package-json.d.ts +0 -10
  1348. package/dist/application-spec/generate-application/code/templates/package-json.js +0 -1
  1349. package/dist/configurator/common/use-finalize-action.js +0 -1
  1350. package/dist/configurator/configurator-context/ConfiguratorDataProvider.d.ts +0 -2
  1351. package/dist/configurator/configurator-context/ConfiguratorDataProvider.js +0 -1
  1352. package/dist/configurator/configurator-context/IntegrationSubscription.js +0 -1
  1353. package/dist/configurator/configurator-context/LifecycleProviders.js +0 -1
  1354. package/dist/configurator/configurator-context/OnPresetLoadedHandler.js +0 -1
  1355. package/dist/configurator/configurator-context/PresetSelectionProvider.js +0 -1
  1356. package/dist/configurator/configurator-context/configurator-hooks/chat-hooks.d.ts +0 -1
  1357. package/dist/configurator/configurator-context/configurator-hooks/chat-hooks.js +0 -1
  1358. package/dist/configurator/configurator-context/configurator-routing/ConfiguratorRoutingProvider.js +0 -1
  1359. package/dist/configurator/configurator-context/configurator-routing/OnGoToIndexHandler.js +0 -1
  1360. package/dist/configurator/configurator-context/configurator-routing/index.d.ts +0 -2
  1361. package/dist/configurator/configurator-context/configurator-routing/use-power-routing-lifecycle.js +0 -1
  1362. package/dist/configurator/ui/assistant/entity-link/entity-link-target.d.ts +0 -5
  1363. package/dist/configurator/ui/assistant/entity-link/entity-link-target.js +0 -1
  1364. package/dist/configurator/ui/phoenix-layout-elements/language/use-locale-options.d.ts +0 -4
  1365. package/dist/configurator/ui/phoenix-layout-elements/language/use-locale-options.js +0 -1
  1366. package/dist/configurator/ui/phoenix-layout-elements/measurements/use-measurements-visibility.d.ts +0 -4
  1367. package/dist/configurator/ui/phoenix-layout-elements/measurements/use-measurements-visibility.js +0 -1
  1368. package/dist/domain/available-system-components.d.ts +0 -11
  1369. package/dist/domain/available-system-components.js +0 -1
  1370. package/dist/domain/domain-builder.js +0 -1
  1371. package/dist/domain/extensions/client-side-image.js +0 -1
  1372. package/dist/domain/extensions/save-template-thumbnail.js +0 -1
  1373. package/dist/phoenix/commands/generate-project-files.d.ts +0 -6
  1374. package/dist/phoenix/commands/generate-project-files.js +0 -1
  1375. package/dist/phoenix/commands/generated-env-markers.js +0 -1
  1376. package/dist/phoenix/services/lingui.d.ts +0 -7
  1377. package/dist/phoenix/services/lingui.js +0 -1
  1378. package/dist/phoenix/services/phoenix-application.d.ts +0 -21
  1379. package/dist/phoenix/services/phoenix-application.js +0 -1
  1380. package/dist/react-sdk/application-runtime/runtime/god-mode.d.ts +0 -19
  1381. package/dist/react-sdk/application-runtime/runtime/god-mode.js +0 -1
  1382. package/dist/react-sdk/loading-state/LoadingStateProvider.js +0 -1
  1383. package/dist/react-sdk/loading-state/loading-state-manager.d.ts +0 -32
  1384. package/dist/react-sdk/loading-state/loading-state-manager.js +0 -1
  1385. /package/dist/application-spec/{core/expressions/relation-expression-params.js → generate-application/runtime/spec-code/spec-code-module.js} +0 -0
  1386. /package/dist/application-spec/parse-application-files/spec/{components/component-entry.js → expressions/expression-read.js} +0 -0
  1387. /package/dist/{application-spec/parse-application-files/spec/expressions/expression.js → configurator/ui/assistant/form-elements/form-element-props.js} +0 -0
  1388. /package/dist/{application-spec/core → domain/spec/application}/application-instance.d.ts +0 -0
  1389. /package/dist/{application-spec/core → domain/spec/application}/application-instance.js +0 -0
  1390. /package/dist/{application-spec/core → domain/spec}/components/component-filter.js +0 -0
  1391. /package/dist/{application-spec/core → domain/spec}/components/index.js +0 -0
  1392. /package/dist/{application-spec/core → domain/spec}/components/sdk-code-ref.d.ts +0 -0
  1393. /package/dist/{application-spec/core → domain/spec}/components/sdk-code-ref.js +0 -0
  1394. /package/dist/{application-spec/core → domain/spec}/expressions/index.js +0 -0
  1395. /package/dist/{application-spec/core → domain/spec}/expressions/relation-expression-params.d.ts +0 -0
  1396. /package/dist/{application-spec/core → domain/spec}/expressions/sdk-expression-implementation.d.ts +0 -0
  1397. /package/dist/{application-spec/core → domain/spec}/expressions/sdk-expression-implementation.js +0 -0
  1398. /package/dist/{application-spec/parse-application-files/spec/components → domain/spec/markers}/component-prop-target.d.ts +0 -0
  1399. /package/dist/{application-spec/parse-application-files/spec/components → domain/spec/markers}/component-prop-target.js +0 -0
  1400. /package/dist/{application-spec/core → domain/spec}/markers/eval-marker.d.ts +0 -0
  1401. /package/dist/{application-spec/core → domain/spec}/markers/eval-marker.js +0 -0
  1402. /package/dist/{configurator/common → react-sdk/application-runtime/common-services/analytics}/frontend-analytics.js +0 -0
  1403. /package/dist/{configurator/configurator-context → react-sdk/domain-application-context}/OnPresetLoadedHandler.d.ts +0 -0
  1404. /package/dist/{configurator/configurator-context → react-sdk/integration}/IntegrationSubscription.d.ts +0 -0
  1405. /package/dist/{configurator/configurator-context → react-sdk/lifecycle-providers}/LifecycleProviders.d.ts +0 -0
  1406. /package/dist/{configurator/configurator-context → react-sdk/preset-selection}/PresetSelectionProvider.d.ts +0 -0
@@ -0,0 +1,44 @@
1
+ import type { TelemetryCommand } from './telemetry-command.js';
2
+ import type { TelemetryIdentity } from './telemetry-state.js';
3
+ export type TelemetryOutcome = 'succeeded' | 'failed';
4
+ export type TelemetryFailureCategory = 'command_failed';
5
+ export type TelemetrySource = 'cli' | 'studio' | 'backend' | 'preview';
6
+ export type TelemetryClassification = 'internal' | 'beta' | 'general' | 'unknown';
7
+ export interface TelemetryEvent {
8
+ /** Unique event delivery identity, mapped to Amplitude's insert_id. */
9
+ readonly eventId: string;
10
+ readonly name: 'cli_command_started' | 'cli_dev_server_ready' | 'cli_command_completed';
11
+ readonly occurredAt: Date;
12
+ readonly deviceId: string;
13
+ readonly userId?: string;
14
+ readonly properties: {
15
+ readonly schema_version: 1;
16
+ readonly source: TelemetrySource;
17
+ readonly command: TelemetryCommand;
18
+ readonly attempt_id: string;
19
+ readonly phase: 'started' | 'ready' | 'completed';
20
+ readonly outcome: 'unknown' | TelemetryOutcome;
21
+ readonly duration_ms?: number;
22
+ readonly failure_category?: TelemetryFailureCategory;
23
+ readonly sdk_version: string;
24
+ readonly classification: TelemetryClassification;
25
+ readonly work_session_id: string;
26
+ readonly workspace_id?: string;
27
+ };
28
+ }
29
+ interface CreateCommandEventProps {
30
+ readonly identity: TelemetryIdentity;
31
+ readonly sdkVersion: string;
32
+ readonly command: TelemetryCommand;
33
+ readonly attemptId: string;
34
+ readonly phase: 'started' | 'ready' | 'completed';
35
+ readonly outcome: 'unknown' | TelemetryOutcome;
36
+ readonly occurredAt: Date;
37
+ readonly durationMs?: number;
38
+ readonly failureCategory?: TelemetryFailureCategory;
39
+ }
40
+ interface TelemetryEventContext {
41
+ readonly createId: () => string;
42
+ }
43
+ export declare const createCommandEvent: (props: CreateCommandEventProps, context: TelemetryEventContext) => TelemetryEvent;
44
+ export {};
@@ -0,0 +1 @@
1
+ export const createCommandEvent=(e,t)=>({eventId:t.createId(),name:"ready"===e.phase?"cli_dev_server_ready":"started"===e.phase?"cli_command_started":"cli_command_completed",occurredAt:e.occurredAt,deviceId:e.identity.installationId,..."userId"in e.identity?{userId:e.identity.userId}:{},properties:{schema_version:1,source:"cli",command:e.command,attempt_id:e.attemptId,phase:e.phase,outcome:e.outcome,...void 0===e.durationMs?{}:{duration_ms:e.durationMs},...void 0===e.failureCategory?{}:{failure_category:e.failureCategory},sdk_version:e.sdkVersion,classification:"userId"in e.identity?"general":"unknown",work_session_id:e.identity.workSessionId,..."workspaceId"in e.identity?{workspace_id:e.identity.workspaceId}:{}}});
@@ -0,0 +1,25 @@
1
+ export interface AnonymousTelemetryIdentity {
2
+ /** Random identifier for one operating-system user profile, without machine or account data. */
3
+ readonly installationId: string;
4
+ /** Random identifier for CLI activity separated by less than thirty minutes. */
5
+ readonly workSessionId: string;
6
+ }
7
+ export interface TelemetryAssociation {
8
+ /** Stable authenticated builder user ID, mapped to Amplitude's user_id after authentication. */
9
+ readonly userId: string;
10
+ /** Internal UUID of the SDK-builder workspace the CLI authenticated against. */
11
+ readonly workspaceId: string;
12
+ }
13
+ export type TelemetryIdentity = AnonymousTelemetryIdentity | (AnonymousTelemetryIdentity & TelemetryAssociation);
14
+ interface TelemetryStateContext {
15
+ readonly createId: () => string;
16
+ readonly now: () => Date;
17
+ }
18
+ export declare const getTelemetryStatePath: () => string;
19
+ /**
20
+ * Loads the anonymous CLI identity and records current activity. Broken or unwritable state never blocks a command:
21
+ * the invocation gets an ephemeral identity, while an invalid existing file is left untouched for inspection.
22
+ */
23
+ export declare const loadTelemetryIdentity: (context?: TelemetryStateContext) => Promise<TelemetryIdentity>;
24
+ export declare const saveTelemetryAssociation: (identity: TelemetryIdentity, association: TelemetryAssociation) => Promise<void>;
25
+ export {};
@@ -0,0 +1,2 @@
1
+ import{randomUUID as t}from"node:crypto";import{chmod as e,mkdir as i,readFile as n,writeFile as a}from"node:fs/promises";import{homedir as s}from"node:os";import{dirname as r,join as o}from"node:path";import{z as d}from"zod";let l=d.object({installationId:d.string().uuid(),workSessionId:d.string().uuid(),lastActiveAt:d.string().datetime()}),c=d.union([l.extend({userId:d.string().min(5),workspaceId:d.string().uuid()}),l.strict()]),I={createId:t,now:()=>new Date};export const getTelemetryStatePath=()=>process.env.PHOENIX_TELEMETRY_FILE??o(s(),".phoenix","telemetry.json");let u=async(t,n)=>{await i(r(t),{recursive:!0,mode:448}),await a(t,`${JSON.stringify(n,null,2)}
2
+ `,{mode:384}),await e(t,384)},w=async t=>{let e;try{e=await n(t,"utf8")}catch(t){return t instanceof Error&&"code"in t&&"ENOENT"===t.code?{kind:"missing"}:{kind:"invalid"}}try{let t=c.safeParse(JSON.parse(e));return t.success?{kind:"valid",state:t.data}:{kind:"invalid"}}catch{return{kind:"invalid"}}};export const loadTelemetryIdentity=async(t=I)=>{let e=getTelemetryStatePath(),i=await w(e),n="valid"===i.kind?i.state:null,a=t.now(),s=null===n?null:Date.parse(n.lastActiveAt),r=null===s||a.getTime()-s>=18e5,o=null===n?{installationId:t.createId(),workSessionId:t.createId(),lastActiveAt:a.toISOString()}:{...n,workSessionId:r?t.createId():n.workSessionId,lastActiveAt:a.toISOString()};try{"invalid"!==i.kind&&await u(e,o)}catch{return{installationId:o.installationId,workSessionId:o.workSessionId}}return{installationId:o.installationId,workSessionId:o.workSessionId,..."userId"in o&&"workspaceId"in o?{userId:o.userId,workspaceId:o.workspaceId}:{}}};export const saveTelemetryAssociation=async(t,e)=>{let i=getTelemetryStatePath(),n=await w(i);"valid"===n.kind&&n.state.installationId===t.installationId&&n.state.workSessionId===t.workSessionId&&await u(i,{...n.state,...e})};
@@ -1 +1 @@
1
- import{lingui as e}from"@lingui/vite-plugin";import i from"@vitejs/plugin-react";import{mkdir as t,readFile as n,writeFile as r}from"fs/promises";import o from"lodash-es/camelCase.js";import{createRequire as a}from"node:module";import{dirname as s,resolve as m}from"path";import{createLogger as l}from"vite";import p from"vite-plugin-css-injected-by-js";import{isUsingLocalSdk as d}from"../utils/package-info.js";import{loadFrontendConfigModule as f}from"./frontend-config.js";import{phxBannerPlugin as c}from"./phx-banner-plugin.js";import{phxCspNoncePlugin as g}from"./phx-csp-nonce-plugin.js";import{phxGlobalIsolationPlugin as u}from"./phx-global-isolation-plugin.js";import{phxLicensesPlugin as h}from"./phx-licenses-plugin.js";import{phxVariantPreviewsPlugin as S}from"./phx-variant-previews-plugin.js";let b=null;export const setViteLogSink=(e,i={})=>{b={sink:e,echo:i.echo??!1}};let y=["react","react-dom","three","@react-three/fiber","@react-three/drei","@react-three/postprocessing","its-fine","@emotion/react","@emotion/styled","@mui/material","@mui/system","@tanstack/react-query","rxjs"],O=e=>{let i=e.DEPLOYMENT_ID;if("string"!=typeof i)throw Error("DEPLOYMENT_ID is required in runtime config");return i};export const getViteDevConfig=async t=>{var n,r;let o,p,c=d(),g=f(),h=g.readRuntimeConfig(),x=g.frontendBuildConfig,D=Object.fromEntries((t?.templateFiles??[]).map(e=>[e,`.phoenix/${e}`]));return{...b&&{customLogger:(n=b.sink,r=b.echo,o=l(),{get hasWarned(){return o.hasWarned},info:(e,i)=>{n("info",e),r&&o.info(e,i)},warn:(e,i)=>{n("warn",e),r&&o.warn(e,i)},warnOnce:(e,i)=>{n("warn",e),r&&o.warnOnce(e,i)},error:(e,i)=>{n("error",e),r&&o.error(e,i)},clearScreen:e=>{r&&o.clearScreen(e)},hasErrorLogged:e=>o.hasErrorLogged(e)}),...b.echo?{}:{clearScreen:!1}},mode:"development",optimizeDeps:{exclude:["@swc/wasm-web"],...c&&{entries:["index.html","admin.html",...t?.templateFiles??[]],force:!0}},...c&&{resolve:{alias:(p=a(m(process.cwd(),"package.json")),y.flatMap(e=>{try{let i=s(p.resolve(`${e}/package.json`));return[{find:RegExp(`^${e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}(/|$)`),replacement:`${i}$1`}]}catch{return[]}}))}},plugins:[i({babel:{plugins:["macros"]}}),e(),{name:"vite:runtime-config",apply:(e,i)=>"build"===i.command||"development"===i.mode,config:e=>{let i=g.readRuntimeConfig(),t=g.frontendBuildConfig;return{...e,define:{...e.define,"phx.frontendEnv":JSON.stringify(i),"globalThis.PHX_SCHEMA_VALIDATOR":JSON.stringify(t.jsonSchemaValidator),"globalThis.PHX_GLTF_DECODER":JSON.stringify(t.gltfDecoder)}}}},u({getDeploymentId:()=>O(g.readRuntimeConfig())}),S()],define:{"process.env":{},"import.meta.env.DEV":!0,"import.meta.env.PROD":!1,"phx.frontendEnv":JSON.stringify(h),"globalThis.PHX_SCHEMA_VALIDATOR":JSON.stringify(x.jsonSchemaValidator),"globalThis.PHX_GLTF_DECODER":JSON.stringify(x.gltfDecoder)},build:{rollupOptions:{input:{index:".phoenix/index.html",admin:".phoenix/admin.html",...D}}},root:m(process.cwd(),"./.phoenix"),server:{watch:{ignored:["./**/*.{ts,tsx}","./.swc/**","../spec/**","../src/**"]}}}};export const getViteBuildConfigs=async a=>{let l=f(),d=l.readRuntimeConfig(),S=l.frontendBuildConfig,b=h(),y=c({sdkVersion:a.sdkVersion,banner:a.banner}),x=[{name:"salsita-configurator",entryFile:"./configurator.ts",mainScriptPath:"./configurator.ts",htmlFiles:["./index.html",...{templateFiles:a.templateFiles}.templateFiles],main:!0,format:"iife"},{name:"salsita-admin",entryFile:"./admin.ts",mainScriptPath:"./admin.ts",htmlFiles:["./admin.html"],main:!1,format:"iife"},{name:"salsita-embedded-admin",entryFile:"./embedded-admin.ts",mainScriptPath:"./embedded-admin.ts",htmlFiles:[],main:!1,format:"es"},{name:"salsita-embedded-configurator",entryFile:"./embedded-configurator.ts",mainScriptPath:"./embedded-configurator.ts",htmlFiles:[],main:!1,format:"es"}].map(f=>({plugins:[i({babel:{plugins:["macros"]}}),e(),p({useStrictCSP:!0}),g(),u({getDeploymentId:()=>O(l.readRuntimeConfig())}),{name:"vite:lib-index",writeBundle:async()=>{if(!f.htmlFiles.length)return;let e="iife"===f.format?`${f.name}.iife.js`:`${f.name}.js`;for(let i of f.htmlFiles){if(f.main&&a.enableEditor&&"./index.html"===i)continue;let o=m("./.phoenix",i),l=m("./.phoenix/dist/frontend",i);await t(s(l),{recursive:!0});let p=(await n(o,"utf-8")).replace(f.mainScriptPath,e);await r(l,p,"utf-8")}}},b,y],build:{outDir:"./dist/frontend",chunkSizeWarningLimit:4e3,lib:{entry:f.entryFile,name:o(f.name),formats:[f.format],fileName:()=>"iife"===f.format?`${f.name}.iife.js`:`${f.name}.js`},rollupOptions:{external:[],output:{assetFileNames:`${f.name}.[ext]`}},minify:!0,emptyOutDir:!1},root:m(process.cwd(),"./.phoenix"),define:{"process.env":{},"process.env.NODE_ENV":JSON.stringify("production"),"phx.frontendEnv":JSON.stringify(d),"globalThis.PHX_SCHEMA_VALIDATOR":JSON.stringify(S.jsonSchemaValidator),"globalThis.PHX_GLTF_DECODER":JSON.stringify(S.gltfDecoder)}}));return a.enableEditor?[...x,{plugins:[i({babel:{plugins:["macros"]}}),e(),p({useStrictCSP:!0}),g(),b,y],build:{outDir:"./dist/frontend",chunkSizeWarningLimit:4e3,rollupOptions:{external:[]},minify:!0,emptyOutDir:!1},root:m(process.cwd(),"./.phoenix"),define:{"process.env":{},"process.env.NODE_ENV":JSON.stringify("production"),"phx.frontendEnv":JSON.stringify(d),"globalThis.PHX_SCHEMA_VALIDATOR":JSON.stringify(S.jsonSchemaValidator),"globalThis.PHX_GLTF_DECODER":JSON.stringify(S.gltfDecoder)}}]:x};
1
+ import{getConfig as e}from"@lingui/conf";import{lingui as i}from"@lingui/vite-plugin";import t from"@vitejs/plugin-react";import{mkdir as n,readFile as r,writeFile as o}from"fs/promises";import a from"lodash-es/camelCase.js";import{createHash as s}from"node:crypto";import{readFileSync as l,rmSync as m,writeFileSync as p}from"node:fs";import{createRequire as f}from"node:module";import{dirname as d,resolve as c}from"path";import{createLogger as g}from"vite";import u from"vite-plugin-css-injected-by-js";import{LINGUI_CONFIG_PATH as h}from"../lingui/index.js";import{isUsingLocalSdk as y}from"../utils/package-info.js";import{loadFrontendConfigModule as b}from"./frontend-config.js";import{phxBannerPlugin as S}from"./phx-banner-plugin.js";import{phxCspNoncePlugin as x}from"./phx-csp-nonce-plugin.js";import{phxGlobalIsolationPlugin as O}from"./phx-global-isolation-plugin.js";import{phxLicensesPlugin as D}from"./phx-licenses-plugin.js";import{phxVariantPreviewsPlugin as E}from"./phx-variant-previews-plugin.js";let v=null;export const setViteLogSink=(e,i={})=>{v={sink:e,echo:i.echo??!1}};let P=["react","react-dom","three","@react-three/fiber","@react-three/drei","@react-three/postprocessing","its-fine","@emotion/react","@emotion/styled","@mui/material","@mui/system","@tanstack/react-query","rxjs"],j=()=>{let t=l(h),n=s("sha256").update(t).digest("hex"),r=c(`${h}.${process.pid}.${n}.json`);try{return p(r,t),{macroPlugin:[f(import.meta.url).resolve("@lingui/babel-plugin-lingui-macro"),{linguiConfig:e({configPath:r})}],catalogPlugin:i({configPath:r})}}finally{m(r,{force:!0})}},C=e=>{let i=e.DEPLOYMENT_ID;if("string"!=typeof i)throw Error("DEPLOYMENT_ID is required in runtime config");return i};export const getViteDevConfig=async e=>{var i,n;let r,o,a=y(),s=b(),l=s.readRuntimeConfig(),m=s.frontendBuildConfig,p=j(),u=Object.fromEntries((e?.templateFiles??[]).map(e=>[e,`.phoenix/${e}`]));return{...v&&{customLogger:(i=v.sink,n=v.echo,r=g(),{get hasWarned(){return r.hasWarned},info:(e,t)=>{i("info",e),n&&r.info(e,t)},warn:(e,t)=>{i("warn",e),n&&r.warn(e,t)},warnOnce:(e,t)=>{i("warn",e),n&&r.warnOnce(e,t)},error:(e,t)=>{i("error",e),n&&r.error(e,t)},clearScreen:e=>{n&&r.clearScreen(e)},hasErrorLogged:e=>r.hasErrorLogged(e)}),...v.echo?{}:{clearScreen:!1}},mode:"development",optimizeDeps:{exclude:["@swc/wasm-web"],...a&&{entries:["index.html","admin.html",...e?.templateFiles??[]],force:!0}},...a&&{resolve:{alias:(o=f(c(process.cwd(),"package.json")),P.flatMap(e=>{try{let i=d(o.resolve(`${e}/package.json`));return[{find:RegExp(`^${e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}(/|$)`),replacement:`${i}$1`}]}catch{return[]}}))}},plugins:[t({babel:{plugins:[p.macroPlugin]}}),p.catalogPlugin,{name:"vite:runtime-config",apply:(e,i)=>"build"===i.command||"development"===i.mode,config:e=>{let i=s.readRuntimeConfig(),t=s.frontendBuildConfig;return{...e,define:{...e.define,"phx.frontendEnv":JSON.stringify(i),"globalThis.PHX_SCHEMA_VALIDATOR":JSON.stringify(t.jsonSchemaValidator),"globalThis.PHX_GLTF_DECODER":JSON.stringify(t.gltfDecoder)}}}},O({getDeploymentId:()=>C(s.readRuntimeConfig())}),E()],define:{"process.env":{},"import.meta.env.DEV":!0,"import.meta.env.PROD":!1,"phx.frontendEnv":JSON.stringify(l),"globalThis.PHX_SCHEMA_VALIDATOR":JSON.stringify(m.jsonSchemaValidator),"globalThis.PHX_GLTF_DECODER":JSON.stringify(m.gltfDecoder)},build:{rollupOptions:{input:{index:".phoenix/index.html",admin:".phoenix/admin.html",...u}}},root:c(process.cwd(),"./.phoenix"),server:{watch:{ignored:["./**/*.{ts,tsx}","./.swc/**","../spec/**","../src/**"]}}}};export const getViteBuildConfigs=async e=>{let i=b(),s=i.readRuntimeConfig(),l=i.frontendBuildConfig,m=j(),p=D(),f=S({sdkVersion:e.sdkVersion,banner:e.banner}),g=[{name:"salsita-configurator",entryFile:"./configurator.ts",mainScriptPath:"./configurator.ts",htmlFiles:["./index.html",...{templateFiles:e.templateFiles}.templateFiles],main:!0,format:"iife"},{name:"salsita-admin",entryFile:"./admin.ts",mainScriptPath:"./admin.ts",htmlFiles:["./admin.html"],main:!1,format:"iife"},{name:"salsita-embedded-admin",entryFile:"./embedded-admin.ts",mainScriptPath:"./embedded-admin.ts",htmlFiles:[],main:!1,format:"es"},{name:"salsita-embedded-configurator",entryFile:"./embedded-configurator.ts",mainScriptPath:"./embedded-configurator.ts",htmlFiles:[],main:!1,format:"es"}].map(g=>({plugins:[t({babel:{plugins:[m.macroPlugin]}}),m.catalogPlugin,u({useStrictCSP:!0}),x(),O({getDeploymentId:()=>C(i.readRuntimeConfig())}),{name:"vite:lib-index",writeBundle:async()=>{if(!g.htmlFiles.length)return;let i="iife"===g.format?`${g.name}.iife.js`:`${g.name}.js`;for(let t of g.htmlFiles){if(g.main&&e.enableEditor&&"./index.html"===t)continue;let a=c("./.phoenix",t),s=c("./.phoenix/dist/frontend",t);await n(d(s),{recursive:!0});let l=(await r(a,"utf-8")).replace(g.mainScriptPath,i);await o(s,l,"utf-8")}}},p,f],build:{outDir:"./dist/frontend",chunkSizeWarningLimit:4e3,lib:{entry:g.entryFile,name:a(g.name),formats:[g.format],fileName:()=>"iife"===g.format?`${g.name}.iife.js`:`${g.name}.js`},rollupOptions:{external:[],output:{assetFileNames:`${g.name}.[ext]`}},minify:!0,emptyOutDir:!1},root:c(process.cwd(),"./.phoenix"),define:{"process.env":{},"process.env.NODE_ENV":JSON.stringify("production"),"phx.frontendEnv":JSON.stringify(s),"globalThis.PHX_SCHEMA_VALIDATOR":JSON.stringify(l.jsonSchemaValidator),"globalThis.PHX_GLTF_DECODER":JSON.stringify(l.gltfDecoder)}}));return e.enableEditor?[...g,{plugins:[t({babel:{plugins:[m.macroPlugin]}}),m.catalogPlugin,u({useStrictCSP:!0}),x(),p,f],build:{outDir:"./dist/frontend",chunkSizeWarningLimit:4e3,rollupOptions:{external:[]},minify:!0,emptyOutDir:!1},root:c(process.cwd(),"./.phoenix"),define:{"process.env":{},"process.env.NODE_ENV":JSON.stringify("production"),"phx.frontendEnv":JSON.stringify(s),"globalThis.PHX_SCHEMA_VALIDATOR":JSON.stringify(l.jsonSchemaValidator),"globalThis.PHX_GLTF_DECODER":JSON.stringify(l.gltfDecoder)}}]:g};
@@ -1 +1 @@
1
- import{createApiBaseClient as e}from"#package/client";import{getDevelopmentHeaders as t}from"../development-credential.js";let o=(e,t)=>({ok:!1,status:t.status,message:e.message});export const createWebhookTunnelTransport=({serverUrl:a,credential:n,projectSlug:l,environmentSlug:r})=>{let s=e(a),p=t(n,{projectSlug:l,environmentSlug:r});return{poll:async({deploymentId:e,sessionId:t,signal:a})=>{let{data:n,error:l,response:r}=await s.POST("/deployments/{deploymentId}/webhook-tunnel/poll",{params:{path:{deploymentId:e}},body:{sessionId:t},headers:p,signal:a});return l?o(l,r):{ok:!0,value:n?.request??null}},respond:async({deploymentId:e,sessionId:t,requestId:a,status:n,headers:l,body:r,signal:d})=>{let{error:m,response:u}=await s.POST("/deployments/{deploymentId}/webhook-tunnel/respond",{params:{path:{deploymentId:e}},body:{sessionId:t,requestId:a,status:n,headers:l,body:r},headers:p,signal:d});return m?o(m,u):{ok:!0,value:void 0}}}};
1
+ import{createApiBaseClient as e}from"#package/client";import{getDevelopmentHeaders as t}from"../development-credential.js";let n=(e,t)=>({ok:!1,status:t.status,message:e.message});export const createWebhookTunnelTransport=({serverUrl:o,credential:s,projectSlug:a,environmentSlug:r})=>{let l=e(o),d=t(s,{projectSlug:a,environmentSlug:r});return{poll:async({deploymentId:e,sessionId:t,signal:o})=>{let{data:s,error:a,response:r}=await l.POST("/deployments/{deploymentId}/webhook-tunnel/poll",{params:{path:{deploymentId:e}},body:{sessionId:t,acceptResponseEncoding:"gzip"},headers:d,signal:o});return a?n(a,r):{ok:!0,value:s?.request??null}},respond:async({deploymentId:e,sessionId:t,requestId:o,status:s,headers:a,body:r,isBase64Encoded:p,signal:u})=>{let i={sessionId:t,requestId:o,status:s,headers:a,body:r,isBase64Encoded:p};if(Buffer.byteLength(JSON.stringify(i),"utf8")>5242880)return{ok:!1,status:413,message:"Webhook tunnel response exceeds the 5 MiB encoded request limit. Reduce the backend data and retry."};let{error:m,response:c}=await l.POST("/deployments/{deploymentId}/webhook-tunnel/respond",{params:{path:{deploymentId:e}},body:i,headers:d,signal:u});return m?n(m,c):{ok:!0,value:void 0}}}};
@@ -46,6 +46,7 @@ export interface TunnelRespondRequest {
46
46
  readonly status: number;
47
47
  readonly headers?: Readonly<Record<string, string>>;
48
48
  readonly body: string;
49
+ readonly isBase64Encoded?: boolean;
49
50
  readonly signal: AbortSignal;
50
51
  }
51
52
  /** Server boundary used by the package-independent tunnel lifecycle. */
@@ -1 +1 @@
1
- import{execute as e,getLogger as t,webhookLogContext as r}from"../../webhooks/index.js";export class TunnelTerminalError extends Error{kind;constructor(e,t){super(t),this.kind=e}}let n=async e=>{e.aborted||await new Promise(t=>{let r=()=>{clearTimeout(n),t()},n=setTimeout(()=>{e.removeEventListener("abort",r),t()},5e3);e.addEventListener("abort",r,{once:!0})})},o=e=>new URL(e.url,"http://webhook-tunnel.invalid").searchParams.get("o")??"finalize",s=async(t,n,o)=>{if(o.aborted)return null;let s=()=>void 0,a=new Promise(e=>{(s=()=>e(null),o.aborted)?s():o.addEventListener("abort",s,{once:!0})}),i=(async()=>{try{var o,s;let a=await r.run("webhook",()=>{let r;return e({lambdaPath:n.bundle,lambdaHandler:n.handler,esm:!1,event:(r=new URL(t.url,"http://webhook-tunnel.invalid"),{version:"2.0",routeKey:"$default",rawPath:r.pathname,rawQueryString:r.search,cookies:[],headers:t.headers,queryStringParameters:Object.fromEntries(r.searchParams),requestContext:{accountId:"123456789012",apiId:"api-id",authentication:{},authorizer:{},http:{method:t.method,path:r.pathname,protocol:"HTTP/1.1",sourceIp:"127.0.0.1",userAgent:"phoenix-webhook-tunnel"},requestId:t.requestId,routeKey:"$default",stage:"$default",time:new Date().toISOString(),timeEpoch:Date.now()},body:t.body??void 0,isBase64Encoded:!1}),verboseLevel:n.verbosity??0,timeoutMs:6e4})});if((o=a)&&"object"==typeof o&&"statusCode"in o&&"number"==typeof o.statusCode&&(!("headers"in o)||void 0===o.headers||(s=o.headers)&&"object"==typeof s&&Object.values(s).every(e=>"string"==typeof e)))return{status:a.statusCode,headers:a.headers,body:"string"==typeof a.body?a.body:JSON.stringify(a.body??""),error:null};return{status:200,body:JSON.stringify(a)??"",error:null}}catch(t){let e=t instanceof Error?t.message:String(t);return{status:500,body:JSON.stringify({message:e}),error:e}}})(),l=await Promise.race([i,a]);return o.removeEventListener("abort",s),l};export const startTunnel=e=>{let{transport:r,rejectionHint:a,environmentSlug:i,deploymentId:l,sessionId:d,pollLoops:u=2,onStatus:c,onRequest:h}=e,m=t(),f=new AbortController,p=!1,y=!1,w=!1,b=0,g=null,v=null,$=[],k=new Set,T=e=>void 0,q=new Promise((e,t)=>{T=t}),E=(e,t)=>{m.log(e,t)},I=(e,t)=>{try{c?.(e,t)}catch{}},S=e=>{try{h?.(e)}catch{}},P=e=>(g||(g=e,p=!0,f.abort(),E("error",e.message),I("conflict"===e.kind?"conflict":"error",e.message)),g),x=e=>{w=!0,E("warn",e),I("error",e)},W=()=>new TunnelTerminalError("conflict",`Webhook tunnel for environment ${i} (deployment ${l}) is owned by another phoenix dev session. Stop the other session and restart.`),R=e=>new TunnelTerminalError("rejected",`${e} ${a}`),D=async(e,t)=>{for(;!p;){try{let n=await r.respond({deploymentId:l,sessionId:d,requestId:e.requestId,status:t.status,headers:t.headers,body:t.body,signal:f.signal});if(n.ok)return;if(403===n.status)throw P(W());if(404===n.status)throw P(new TunnelTerminalError("stale",n.message));if(n.status<500)throw P(R(n.message));x(`Webhook tunnel response could not reach the server: ${n.message} Retrying in 5 seconds.`)}catch(e){if(e instanceof TunnelTerminalError)throw e;if(p)return;x(`Webhook tunnel response could not reach the server: ${e instanceof Error?e.message:String(e)} Retrying in 5 seconds.`)}await n(f.signal)}},L=e=>{let t=o(e),r=Date.now();w&&(b+=1),E("warn",`Tunneled ${t} request ${e.requestId} skipped because its deadline expired.`),S({requestId:e.requestId,operation:t,method:e.method,url:e.url,startedAt:r,durationMs:0,outcome:"skipped-expired",responseStatus:null,requestBody:e.body,responseBody:null,error:"Request deadline expired before phoenix dev picked it up."})},j=async t=>{let r=o(t),n=Date.now(),a=await s(t,e,f.signal);if(!a)return;let i=Date.now()-n,l=a.error?"failed":"served";E(a.error?"warn":"info",`Tunneled ${r} request ${t.requestId} ${l} in ${i}ms (status ${a.status}).`),S({requestId:t.requestId,operation:r,method:t.method,url:t.url,startedAt:n,durationMs:i,outcome:l,responseStatus:a.status,requestBody:t.body,responseBody:a.body,error:a.error}),await D(t,a)},O=()=>{for(;!p&&k.size<u;){let e=$.shift();if(!e)return;if(e.deadline<Date.now()){L(e);continue}let t=j(e);k.add(t),t.then(()=>{k.delete(t),O()},e=>{k.delete(t),T(e)})}},B=async e=>{let t=0;for(;!p;)try{let o=await r.poll({deploymentId:l,sessionId:d,signal:f.signal});if(!o.ok){if(409===o.status){if(y||t>=3)throw P(W());t+=1,0===e&&E("warn",`Webhook tunnel for environment ${i} is already claimed. Retrying in 5 seconds (${t}/3).`)}else if(403===o.status)throw P(R(o.message));else if(404===o.status)throw P(new TunnelTerminalError("stale",o.message));else if(o.status<500)throw P(R(o.message));else x(`Webhook tunnel poll failed: ${o.message} Retrying in 5 seconds.`);await n(f.signal);continue}t=0;let s=o.value,a=!!s&&s.deadline<Date.now();s&&a&&L(s),y||(y=!0,E("info",`Webhook tunnel connected for environment ${i} (deployment ${l}, session ${d}).`)),w&&(E("info",`Webhook tunnel reconnected${b>0?`; ${b} queued request(s) expired and were skipped during the interruption.`:"."}`),w=!1,b=0),I("connected"),s&&!a&&($.push(s),O())}catch(e){if(e instanceof TunnelTerminalError)throw e;if(p)return;x(`Webhook tunnel poll could not reach the server: ${e instanceof Error?e.message:String(e)} Retrying in 5 seconds.`),await n(f.signal)}};I("waiting");let C=Promise.race([Promise.all(Array.from({length:u},(e,t)=>B(t))).then(async()=>{await Promise.all(k)}),q]);return{sessionId:d,stop:()=>v||(p=!0,f.abort(),E("info",`Webhook tunnel stopped for environment ${i} (deployment ${l}).`),I("stopped"),v=C.catch(e=>{if(!(e instanceof TunnelTerminalError))throw e})),stopped:C}};
1
+ import{execute as e,getLogger as t,webhookLogContext as r}from"../../webhooks/index.js";export class TunnelTerminalError extends Error{kind;constructor(e,t){super(t),this.kind=e}}let n=async e=>{e.aborted||await new Promise(t=>{let r=()=>{clearTimeout(n),t()},n=setTimeout(()=>{e.removeEventListener("abort",r),t()},5e3);e.addEventListener("abort",r,{once:!0})})},o=e=>new URL(e.url,"http://webhook-tunnel.invalid").searchParams.get("o")??"finalize",s=async(t,n,o)=>{if(o.aborted)return null;let s=()=>void 0,a=new Promise(e=>{(s=()=>e(null),o.aborted)?s():o.addEventListener("abort",s,{once:!0})}),i=(async()=>{try{var o,s;let a=await r.run("webhook",()=>{let r;return e({lambdaPath:n.bundle,lambdaHandler:n.handler,esm:!1,event:(r=new URL(t.url,"http://webhook-tunnel.invalid"),{version:"2.0",routeKey:"$default",rawPath:r.pathname,rawQueryString:r.search,cookies:[],headers:t.headers,queryStringParameters:Object.fromEntries(r.searchParams),requestContext:{accountId:"123456789012",apiId:"api-id",authentication:{},authorizer:{},http:{method:t.method,path:r.pathname,protocol:"HTTP/1.1",sourceIp:"127.0.0.1",userAgent:"phoenix-webhook-tunnel"},requestId:t.requestId,routeKey:"$default",stage:"$default",time:new Date().toISOString(),timeEpoch:Date.now()},body:t.body??void 0,isBase64Encoded:!1}),verboseLevel:n.verbosity??0,timeoutMs:6e4})});if((o=a)&&"object"==typeof o&&"statusCode"in o&&"number"==typeof o.statusCode&&(!("headers"in o)||void 0===o.headers||(s=o.headers)&&"object"==typeof s&&Object.values(s).every(e=>"string"==typeof e)))return{status:a.statusCode,...void 0!==a.isBase64Encoded&&{isBase64Encoded:a.isBase64Encoded},headers:a.headers,body:"string"==typeof a.body?a.body:JSON.stringify(a.body??""),error:null};return{status:200,body:JSON.stringify(a)??"",error:null}}catch(t){let e=t instanceof Error?t.message:String(t);return{status:500,body:JSON.stringify({message:e}),error:e}}})(),d=await Promise.race([i,a]);return o.removeEventListener("abort",s),d};export const startTunnel=e=>{let{transport:r,rejectionHint:a,environmentSlug:i,deploymentId:d,sessionId:l,pollLoops:u=2,onStatus:c,onRequest:h}=e,m=t(),f=new AbortController,y=!1,p=!1,w=!1,b=0,g=null,v=null,$=[],E=new Set,T=e=>void 0,k=new Promise((e,t)=>{T=t}),q=(e,t)=>{m.log(e,t)},B=(e,t)=>{try{c?.(e,t)}catch{}},I=e=>{try{h?.(e)}catch{}},S=e=>(g||(g=e,y=!0,f.abort(),q("error",e.message),B("conflict"===e.kind?"conflict":"error",e.message)),g),P=e=>{w=!0,q("warn",e),B("error",e)},x=()=>new TunnelTerminalError("conflict",`Webhook tunnel for environment ${i} (deployment ${d}) is owned by another phoenix dev session. Stop the other session and restart.`),W=e=>new TunnelTerminalError("rejected",`${e} ${a}`),L=async(e,t)=>{for(;!y;){try{let n=await r.respond({deploymentId:d,sessionId:l,requestId:e.requestId,status:t.status,headers:t.headers,body:t.body,...void 0!==t.isBase64Encoded&&{isBase64Encoded:t.isBase64Encoded},signal:f.signal});if(n.ok)return;if(413===n.status)throw S(new TunnelTerminalError("rejected",n.message));if(403===n.status)throw S(x());if(404===n.status)throw S(new TunnelTerminalError("stale",n.message));if(n.status<500)throw S(W(n.message));P(`Webhook tunnel response could not reach the server: ${n.message} Retrying in 5 seconds.`)}catch(e){if(e instanceof TunnelTerminalError)throw e;if(y)return;P(`Webhook tunnel response could not reach the server: ${e instanceof Error?e.message:String(e)} Retrying in 5 seconds.`)}await n(f.signal)}},R=e=>{let t=o(e),r=Date.now();w&&(b+=1),q("warn",`Tunneled ${t} request ${e.requestId} skipped because its deadline expired.`),I({requestId:e.requestId,operation:t,method:e.method,url:e.url,startedAt:r,durationMs:0,outcome:"skipped-expired",responseStatus:null,requestBody:e.body,responseBody:null,error:"Request deadline expired before phoenix dev picked it up."})},j=async t=>{let r=o(t),n=Date.now(),a=await s(t,e,f.signal);if(!a)return;let i=Date.now()-n,d=a.error?"failed":"served";q(a.error?"warn":"info",`Tunneled ${r} request ${t.requestId} ${d} in ${i}ms (status ${a.status}).`),I({requestId:t.requestId,operation:r,method:t.method,url:t.url,startedAt:n,durationMs:i,outcome:d,responseStatus:a.status,requestBody:t.body,responseBody:a.isBase64Encoded?`[Binary response omitted: ${Buffer.byteLength(a.body,"utf8")} encoded bytes]`:a.body,error:a.error}),await L(t,a)},D=()=>{for(;!y&&E.size<u;){let e=$.shift();if(!e)return;if(e.deadline<Date.now()){R(e);continue}let t=j(e);E.add(t),t.then(()=>{E.delete(t),D()},e=>{E.delete(t),T(e)})}},O=async e=>{let t=0;for(;!y;)try{let o=await r.poll({deploymentId:d,sessionId:l,signal:f.signal});if(!o.ok){if(409===o.status){if(p||t>=3)throw S(x());t+=1,0===e&&q("warn",`Webhook tunnel for environment ${i} is already claimed. Retrying in 5 seconds (${t}/3).`)}else if(403===o.status)throw S(W(o.message));else if(404===o.status)throw S(new TunnelTerminalError("stale",o.message));else if(o.status<500)throw S(W(o.message));else P(`Webhook tunnel poll failed: ${o.message} Retrying in 5 seconds.`);await n(f.signal);continue}t=0;let s=o.value,a=!!s&&s.deadline<Date.now();s&&a&&R(s),p||(p=!0,q("info",`Webhook tunnel connected for environment ${i} (deployment ${d}, session ${l}).`)),w&&(q("info",`Webhook tunnel reconnected${b>0?`; ${b} queued request(s) expired and were skipped during the interruption.`:"."}`),w=!1,b=0),B("connected"),s&&!a&&($.push(s),D())}catch(e){if(e instanceof TunnelTerminalError)throw e;if(y)return;P(`Webhook tunnel poll could not reach the server: ${e instanceof Error?e.message:String(e)} Retrying in 5 seconds.`),await n(f.signal)}};B("waiting");let C=Promise.race([Promise.all(Array.from({length:u},(e,t)=>O(t))).then(async()=>{await Promise.all(E)}),k]);return{sessionId:l,stop:()=>v||(y=!0,f.abort(),q("info",`Webhook tunnel stopped for environment ${i} (deployment ${d}).`),B("stopped"),v=C.catch(e=>{if(!(e instanceof TunnelTerminalError))throw e})),stopped:C}};
@@ -6,8 +6,10 @@ export { createDirectoryFromYaml, exists, scanFolderForFiles, syncChangedFiles,
6
6
  export { FileLogger } from './file-logger.js';
7
7
  export { isInsideGitRepository } from './git/index.js';
8
8
  export { type Logger, type CreateLoggerOptions, createLogger } from './logger.js';
9
- export { addWorkspaceOverrides, ensureWorkspaceInstallSettings, getLocalOverrides, getSdkPackages, getWorkspaceDir, hasLocalOverrides, readPackageJson, removeWorkspaceOverrides, } from './package-info.js';
9
+ export { addWorkspaceOverrides, getLocalOverrides, getSdkPackages, getWorkspaceDir, hasLocalOverrides, readPackageJson, removeWorkspaceOverrides, } from './package-info.js';
10
+ export { naturalCompare } from './natural-compare.js';
11
+ export { type PackageManagerCommands, assertPnpmProject, findPackageManagerCommands } from './package-manager/index.js';
10
12
  export { toPascalCase } from './pascal-case.js';
11
13
  export { readGitCommit } from './read-git-commit.js';
12
- export { type RunCommandProps, runCommand } from './run-command.js';
14
+ export { type RunCommandProps, type RunSdkToolProps, runCommand, runSdkTool } from './run-command.js';
13
15
  export { type FileUploadInfo, type UploadLinksData, uploadFilesWithPresignedUrls, readUploadLinks, } from './upload-utils.js';
@@ -1 +1 @@
1
- export{askQuestion}from"./ask-question.js";export{checkBundleSizeBudgets}from"./check-bundle-size-budgets.js";export{formatEnvContent,formatEnvLine}from"./env-file.js";export{parseChangelog,getLatestVersion,getVersion,paginateVersions,getVersionNumbers}from"./changelog-parser.js";export{createDirectoryFromYaml,exists,scanFolderForFiles,syncChangedFiles,syncExistingFolders,validateFolders,writeFileIfNotExists,writeFilesIfNotExists,writeRawFiles}from"./file-system.js";export{FileLogger}from"./file-logger.js";export{isInsideGitRepository}from"./git/index.js";export{createLogger}from"./logger.js";export{addWorkspaceOverrides,ensureWorkspaceInstallSettings,getLocalOverrides,getSdkPackages,getWorkspaceDir,hasLocalOverrides,readPackageJson,removeWorkspaceOverrides}from"./package-info.js";export{toPascalCase}from"./pascal-case.js";export{readGitCommit}from"./read-git-commit.js";export{runCommand}from"./run-command.js";export{uploadFilesWithPresignedUrls,readUploadLinks}from"./upload-utils.js";
1
+ export{askQuestion}from"./ask-question.js";export{checkBundleSizeBudgets}from"./check-bundle-size-budgets.js";export{formatEnvContent,formatEnvLine}from"./env-file.js";export{parseChangelog,getLatestVersion,getVersion,paginateVersions,getVersionNumbers}from"./changelog-parser.js";export{createDirectoryFromYaml,exists,scanFolderForFiles,syncChangedFiles,syncExistingFolders,validateFolders,writeFileIfNotExists,writeFilesIfNotExists,writeRawFiles}from"./file-system.js";export{FileLogger}from"./file-logger.js";export{isInsideGitRepository}from"./git/index.js";export{createLogger}from"./logger.js";export{addWorkspaceOverrides,getLocalOverrides,getSdkPackages,getWorkspaceDir,hasLocalOverrides,readPackageJson,removeWorkspaceOverrides}from"./package-info.js";export{naturalCompare}from"./natural-compare.js";export{assertPnpmProject,findPackageManagerCommands}from"./package-manager/index.js";export{toPascalCase}from"./pascal-case.js";export{readGitCommit}from"./read-git-commit.js";export{runCommand,runSdkTool}from"./run-command.js";export{uploadFilesWithPresignedUrls,readUploadLinks}from"./upload-utils.js";
@@ -0,0 +1 @@
1
+ export { assertSupportedNodeVersion, findUnsupportedNodeVersionMessage } from './supported-node-version.js';
@@ -0,0 +1 @@
1
+ export{assertSupportedNodeVersion,findUnsupportedNodeVersionMessage}from"./supported-node-version.js";
@@ -0,0 +1,12 @@
1
+ /**
2
+ * Explains why the SDK cannot run on the given Node.js version, or returns `undefined` when the version satisfies the
3
+ * SDK's `engines.node` range.
4
+ */
5
+ export declare const findUnsupportedNodeVersionMessage: (version: string) => string | undefined;
6
+ /**
7
+ * Stops the process with a non-zero exit code when the running Node.js does not satisfy the SDK's `engines.node`
8
+ * range. The `phoenix` binary's entry module (`bin.ts`) calls it and only then loads `cli.ts` with a dynamic import:
9
+ * static imports are evaluated before the importing module's body, so on an older Node.js the CLI's own imports could
10
+ * fail with an unrelated error before a check in its body ran.
11
+ */
12
+ export declare const assertSupportedNodeVersion: () => void;
@@ -0,0 +1,4 @@
1
+ import{readFileSync as e}from"node:fs";import{satisfies as o}from"semver";import{z as s}from"zod";let r=s.object({name:s.string(),engines:s.object({node:s.string()})});export const findUnsupportedNodeVersionMessage=s=>{let{name:t,engines:n}=r.parse(JSON.parse(e(new URL("../../../../package.json",import.meta.url),"utf-8")));if(!o(s,n.node,{includePrerelease:!0}))return`${t} requires Node.js ${n.node}, but this is Node.js ${s}.
2
+ The SDK and the tools it runs use Node.js features that older versions do not have, so a command would fail part way through.
3
+ Switch to a Node.js version that satisfies ${n.node} and run the command again.`};export const assertSupportedNodeVersion=()=>{let e=findUnsupportedNodeVersionMessage(process.version);void 0!==e&&(process.stderr.write(`${e}
4
+ `),process.exit(1))};
@@ -10,15 +10,6 @@ export declare const readPackageJson: (path?: string) => PackageJson;
10
10
  export declare const getWorkspaceDir: () => string;
11
11
  export declare const addWorkspaceOverrides: (entries: Record<string, string>) => void;
12
12
  export declare const removeWorkspaceOverrides: (names: readonly string[]) => void;
13
- /**
14
- * Makes a standalone project installable with pnpm 11: its `pnpm-workspace.yaml` decides the build scripts of the
15
- * SDK's dependencies and exempts the SDK's own packages from the minimum release age. Only missing answers are
16
- * added, so a value the project set stays, and the file travels with a deploy so the server-side install follows it.
17
- *
18
- * A project inside a monorepo is left alone: the workspace root owns these settings, and a file in the project
19
- * folder would turn it into a workspace root of its own.
20
- */
21
- export declare const ensureWorkspaceInstallSettings: (projectRoot: string) => void;
22
13
  export declare const hasLocalOverrides: () => boolean;
23
14
  export declare const getLocalOverrides: () => string[];
24
15
  export declare const hasLocalSymlinks: () => boolean;
@@ -1 +1 @@
1
- import{existsSync as e,lstatSync as t,readFileSync as r,readdirSync as s,writeFileSync as o}from"fs";import{dirname as a,join as i,resolve as l}from"path";import{isMap as n,isScalar as c,isSeq as d,parse as p,parseDocument as m}from"yaml";let u="pnpm-workspace.yaml",f="@salsita-ai/";export const readPackageJson=(t=".")=>{let s=l(t,"package.json");if(!e(s))throw Error(`package.json not found at ${s}`);return JSON.parse(r(s,"utf8"))};let g=(t=process.cwd())=>{let r=l(t);for(;;){let t=i(r,u);if(e(t))return t;let s=a(r);if(s===r)return;r=s}},k=()=>g()??i(process.cwd(),u),h=()=>{try{let e=g();if(!e)return{};let t=p(r(e,"utf8"));return t?.overrides??{}}catch{return{}}};export const getWorkspaceDir=()=>a(k());export const addWorkspaceOverrides=t=>{let s=k(),a=m(e(s)?r(s,"utf8"):"");Object.entries(t).forEach(([e,t])=>{a.setIn(["overrides",e],t)}),a.setIn(["optimisticRepeatInstall"],!1),o(s,a.toString())};export const removeWorkspaceOverrides=e=>{let t=g();if(!t)return;let s=m(r(t,"utf8"));e.forEach(e=>{s.deleteIn(["overrides",e])});let a=s.getIn(["overrides"]);n(a)&&0===a.items.length&&s.delete("overrides"),s.delete("optimisticRepeatInstall"),o(t,s.toString())};let x={"@swc/core":!0,esbuild:!0,"es5-ext":!1},y=`${f}*`;export const ensureWorkspaceInstallSettings=t=>{let s=i(t,u);if(!e(s)&&g(t))return;let a=e(s)?r(s,"utf8"):"",l=m(a);n(l.get("allowBuilds"))||l.set("allowBuilds",l.createNode({})),Object.entries(x).forEach(([e,t])=>{"boolean"!=typeof l.getIn(["allowBuilds",e])&&l.setIn(["allowBuilds",e],t)});let p=l.getIn(["minimumReleaseAgeExclude"]);d(p)?p.items.some(e=>c(e)&&e.value===y)||p.add(y):l.setIn(["minimumReleaseAgeExclude"],l.createNode([y]));let f=l.toString();f!==a&&o(s,f)};export const hasLocalOverrides=()=>Object.keys(h()).some(e=>e.startsWith(f));export const getLocalOverrides=()=>Object.keys(h()).filter(e=>e.startsWith(f));let v=["@salsita-ai/common","@salsita-ai/contracts","@salsita-ai/sdk"];export const hasLocalSymlinks=()=>v.some(e=>{let r=l("node_modules",e);try{return t(r).isSymbolicLink()}catch{return!1}});export const isUsingLocalSdk=()=>hasLocalOverrides()||hasLocalSymlinks();export const getSdkPackages=t=>{let r=l(t,"packages/libs");if(!e(r))throw Error(`SDK libs directory not found at ${r}`);return s(r,{withFileTypes:!0}).filter(e=>e.isDirectory()).map(e=>e.name).map(e=>{let t=i(r,e),s=readPackageJson(t);if(!s.name)throw Error(`Package at ${t} has no name in package.json`);return{name:s.name,path:t}})};
1
+ import{existsSync as e,lstatSync as t,readFileSync as r,readdirSync as s,writeFileSync as o}from"fs";import{dirname as a,join as i,resolve as n}from"path";import{isMap as c,parse as l,parseDocument as p}from"yaml";let m="pnpm-workspace.yaml",d="@salsita-ai/";export const readPackageJson=(t=".")=>{let s=n(t,"package.json");if(!e(s))throw Error(`package.json not found at ${s}`);return JSON.parse(r(s,"utf8"))};let f=(t=process.cwd())=>{let r=n(t);for(;;){let t=i(r,m);if(e(t))return t;let s=a(r);if(s===r)return;r=s}},k=()=>f()??i(process.cwd(),m),h=()=>{try{let e=f();if(!e)return{};let t=l(r(e,"utf8"));return t?.overrides??{}}catch{return{}}};export const getWorkspaceDir=()=>a(k());export const addWorkspaceOverrides=t=>{let s=k(),a=p(e(s)?r(s,"utf8"):"");Object.entries(t).forEach(([e,t])=>{a.setIn(["overrides",e],t)}),a.setIn(["optimisticRepeatInstall"],!1),o(s,a.toString())};export const removeWorkspaceOverrides=e=>{let t=f();if(!t)return;let s=p(r(t,"utf8"));e.forEach(e=>{s.deleteIn(["overrides",e])});let a=s.getIn(["overrides"]);c(a)&&0===a.items.length&&s.delete("overrides"),s.delete("optimisticRepeatInstall"),o(t,s.toString())};export const hasLocalOverrides=()=>Object.keys(h()).some(e=>e.startsWith(d));export const getLocalOverrides=()=>Object.keys(h()).filter(e=>e.startsWith(d));let u=["@salsita-ai/common","@salsita-ai/contracts","@salsita-ai/sdk"];export const hasLocalSymlinks=()=>u.some(e=>{let r=n("node_modules",e);try{return t(r).isSymbolicLink()}catch{return!1}});export const isUsingLocalSdk=()=>hasLocalOverrides()||hasLocalSymlinks();export const getSdkPackages=t=>{let r=n(t,"packages/libs");if(!e(r))throw Error(`SDK libs directory not found at ${r}`);return s(r,{withFileTypes:!0}).filter(e=>e.isDirectory()).map(e=>e.name).map(e=>{let t=i(r,e),s=readPackageJson(t);if(!s.name)throw Error(`Package at ${t} has no name in package.json`);return{name:s.name,path:t}})};
@@ -0,0 +1,2 @@
1
+ export { type PackageManagerCommands, findPackageManagerCommands } from './package-manager-commands.js';
2
+ export { assertPnpmProject } from './pnpm-project.js';
@@ -0,0 +1 @@
1
+ export{findPackageManagerCommands}from"./package-manager-commands.js";export{assertPnpmProject}from"./pnpm-project.js";
@@ -0,0 +1,19 @@
1
+ /**
2
+ * The commands of a package manager the CLI names in the next steps it prints, so a developer can copy the one for
3
+ * the package manager they use. Phoenix works with any package manager; these only phrase the hints.
4
+ */
5
+ export interface PackageManagerCommands {
6
+ /** Installs the project's dependencies, such as `npm install`. */
7
+ readonly install: string;
8
+ /** Adds a package to the project's dependencies, such as `npm install @salsita-ai/sdk`. */
9
+ readonly add: (packageName: string) => string;
10
+ /** Runs a `phoenix` command from the project's install, such as `npx phoenix sync`. */
11
+ readonly phoenix: (args: string) => string;
12
+ }
13
+ /**
14
+ * The commands of the package manager that started the CLI, read from the `npm_config_user_agent` value npm, pnpm,
15
+ * Yarn and Bun set for the binaries they run (`pnpm/11.1.3 npm/? node/v22.13.0 linux x64`). `undefined` when the CLI
16
+ * was started some other way, such as straight from `node_modules/.bin`, or by a package manager it does not know;
17
+ * the hint then names no package manager.
18
+ */
19
+ export declare const findPackageManagerCommands: (userAgent: string | undefined) => PackageManagerCommands | undefined;
@@ -0,0 +1 @@
1
+ let n=new Map([["pnpm",{install:"pnpm install",add:n=>`pnpm add ${n}`,phoenix:n=>`pnpm phoenix ${n}`}],["npm",{install:"npm install",add:n=>`npm install ${n}`,phoenix:n=>`npx phoenix ${n}`}],["yarn",{install:"yarn install",add:n=>`yarn add ${n}`,phoenix:n=>`yarn phoenix ${n}`}],["bun",{install:"bun install",add:n=>`bun add ${n}`,phoenix:n=>`bunx phoenix ${n}`}]]);export const findPackageManagerCommands=a=>{let p=a?.split("/")[0]?.trim();return void 0===p?void 0:n.get(p)};
@@ -0,0 +1,9 @@
1
+ /**
2
+ * Stops a pnpm-only command in a project that clearly installs with another package manager: one with another
3
+ * package manager's lockfile and no `pnpm-lock.yaml`. A project without any lockfile is let through, as it has not
4
+ * installed yet. Only the project folder is looked at.
5
+ */
6
+ export declare const assertPnpmProject: (props: {
7
+ readonly projectRoot: string;
8
+ readonly command: string;
9
+ }) => void;
@@ -0,0 +1 @@
1
+ import{existsSync as o}from"fs";import{join as t}from"path";let n=["package-lock.json","npm-shrinkwrap.json","yarn.lock","bun.lock","bun.lockb"];export const assertPnpmProject=r=>{if(o(t(r.projectRoot,"pnpm-lock.yaml")))return;let a=n.find(n=>o(t(r.projectRoot,n)));if(void 0!==a)throw Error(`phoenix ${r.command} works with pnpm only, and this project installs with another package manager: it has ${a} and no pnpm-lock.yaml. It is an internal tool for linking a local SDK checkout through the overrides in pnpm-workspace.yaml. Use it in a project that installs with pnpm.`)};
@@ -1,4 +1,5 @@
1
1
  import type { Logger } from './logger.js';
2
+ import { type SdkTool } from './sdk-tool/index.js';
2
3
  export interface RunCommandProps {
3
4
  readonly command: string;
4
5
  readonly args: readonly string[];
@@ -7,6 +8,16 @@ export interface RunCommandProps {
7
8
  readonly cwd?: string;
8
9
  readonly extraEnv?: Record<string, string>;
9
10
  }
11
+ export interface RunSdkToolProps extends Omit<RunCommandProps, 'command'> {
12
+ readonly tool: SdkTool;
13
+ }
10
14
  export declare const runCommand: (props: RunCommandProps, context?: {
11
15
  readonly logger: Logger;
12
16
  }) => Promise<void>;
17
+ /**
18
+ * Runs a tool from the SDK's own installation with the Node.js that runs the CLI. It starts no shell, so paths
19
+ * with spaces reach the tool unchanged.
20
+ */
21
+ export declare const runSdkTool: (props: RunSdkToolProps, context?: {
22
+ readonly logger: Logger;
23
+ }) => Promise<void>;
@@ -1 +1 @@
1
- import{spawn as e}from"node:child_process";import{createLogger as r}from"./logger.js";export const runCommand=async(o,t)=>{let n=t?.logger??r(),{command:s,args:i,description:a,quiet:l=!1,cwd:c,extraEnv:d}=o;l?n.isDebug&&n.debug(`Running: ${s} ${i.join(" ")}`):n.step(a);let u=n.isDebug?"inherit":l?"pipe":"inherit";await new Promise((r,o)=>{let t=e(s,i,{stdio:u,shell:!0,cwd:c,env:d?{...process.env,...d}:void 0}),l=[],f=[],m=!1;t.stdout?.on("data",e=>l.push(Buffer.from(e))),t.stderr?.on("data",e=>f.push(Buffer.from(e))),t.once("error",e=>{m=!0,n.error(`${a} failed to execute`),n.error(`Error: ${e.message}`),o(Error(`Failed to execute command '${s}': ${e.message}. Ensure the command is installed and available in PATH.`))}),t.once("close",(e,t)=>{if(!m){if(0!==e){let r=null!==e?`exit code ${e}`:"unknown error (process was terminated or failed to start)";n.error(`${a} failed with ${r}`),t&&n.error(`Process was killed with signal: ${t}`),l.length>0&&console.error(Buffer.concat(l).toString()),f.length>0&&console.error(Buffer.concat(f).toString()),o(Error(`${a} failed with ${r}`));return}r()}})}),(!l||n.isDebug)&&n.success(`${a} completed`)};
1
+ import{spawn as e}from"node:child_process";import{createLogger as r}from"./logger.js";import{resolveSdkToolBin as o}from"./sdk-tool/index.js";let t=async(o,t)=>{let s=t?.logger??r(),{command:n,file:i,shell:a,startFailureHint:l,args:c,description:d,quiet:m=!1,cwd:u,extraEnv:f}=o;m?s.isDebug&&s.debug(`Running: ${n} ${c.join(" ")}`):s.step(d);let g=s.isDebug?"inherit":m?"pipe":"inherit";await new Promise((r,o)=>{let t=e(i,c,{stdio:g,shell:a,cwd:u,env:f?{...process.env,...f}:void 0}),m=[],p=[],h=!1;t.stdout?.on("data",e=>m.push(Buffer.from(e))),t.stderr?.on("data",e=>p.push(Buffer.from(e))),t.once("error",e=>{h=!0,s.error(`${d} failed to execute`),s.error(`Error: ${e.message}`),o(Error(`Failed to execute command '${n}': ${e.message}. ${l}`))}),t.once("close",(e,t)=>{if(!h){if(0!==e){let r=null!==e?`exit code ${e}`:"unknown error (process was terminated or failed to start)";s.error(`${d} failed with ${r}`),t&&s.error(`Process was killed with signal: ${t}`),m.length>0&&console.error(Buffer.concat(m).toString()),p.length>0&&console.error(Buffer.concat(p).toString()),o(Error(`${d} failed with ${r}`));return}r()}})}),(!m||s.isDebug)&&s.success(`${d} completed`)};export const runCommand=async(e,r)=>{await t({...e,file:e.command,shell:!0,startFailureHint:"Ensure the command is installed and available in PATH."},r)};export const runSdkTool=async(e,r)=>{let{tool:s,args:n,...i}=e;await t({...i,command:s.binName,file:process.execPath,args:[o(s),...n],shell:!1,startFailureHint:"Ensure Node.js can start this process."},r)};
@@ -0,0 +1 @@
1
+ export { type SdkTool, resolveSdkToolBin } from './resolve-sdk-tool-bin.js';
@@ -0,0 +1 @@
1
+ export{resolveSdkToolBin}from"./resolve-sdk-tool-bin.js";
@@ -0,0 +1,15 @@
1
+ /**
2
+ * A command-line tool the CLI runs, such as `tsc` for `phoenix check`. The SDK installs every such tool as one of
3
+ * its own `dependencies` and runs that copy, so the versions a project installs do not decide them.
4
+ */
5
+ export interface SdkTool {
6
+ /** The name the SDK's `package.json` lists the package under, the alias where the SDK installs it under one */
7
+ readonly packageName: string;
8
+ /** The name of the binary in the package's `bin` field */
9
+ readonly binName: string;
10
+ }
11
+ /**
12
+ * Returns the absolute path of a tool's binary in the SDK's own installation. It never looks at `PATH` or the
13
+ * project's `node_modules`, so the CLI runs the same tool in every project.
14
+ */
15
+ export declare const resolveSdkToolBin: (tool: SdkTool) => string;
@@ -0,0 +1 @@
1
+ import{existsSync as e,readFileSync as o}from"node:fs";import{createRequire as t}from"node:module";import{join as n,resolve as i}from"node:path";import{z as a}from"zod";let r=a.object({name:a.string(),bin:a.union([a.string(),a.record(a.string())]).optional()}),s=t(import.meta.url);export const resolveSdkToolBin=t=>{var a,p;let d=(o=>{let t=(s.resolve.paths(o)??[]).map(e=>n(e,o)).find(o=>e(n(o,"package.json")));if(void 0===t)throw Error(`Cannot find the package '${o}' in the installation of @salsita-ai/sdk. The SDK runs its own copy of it, so it is one of the SDK's dependencies. Reinstall the project's dependencies.`);return t})(t.packageName),l=(a=r.parse(JSON.parse(o(n(d,"package.json"),"utf-8"))),p=t.binName,"string"==typeof a.bin?a.name.replace(/^@[^/]+\//,"")===p?a.bin:void 0:a.bin?.[p]);if(void 0===l)throw Error(`The package '${t.packageName}' in the installation of @salsita-ai/sdk has no binary '${t.binName}'. The SDK expects it there to run it. Reinstall the project's dependencies.`);return i(d,l)};
@@ -17,5 +17,5 @@ export declare const CommonAnalyticsFactory: {
17
17
  Initialized: typeof Initialized;
18
18
  ConfigurationLoaded: typeof ConfigurationLoaded;
19
19
  };
20
- export declare const initializeAnalyticsService: (config: AnyApplicationConfig, logger: Logger, isDev: boolean) => AnalyticsSystem;
20
+ export declare const initializeAnalyticsService: (config: Pick<AnyApplicationConfig, 'services' | 'defaultEnvs'>, logger: Logger, isDev: boolean) => AnalyticsSystem;
21
21
  export {};
@@ -28,6 +28,10 @@ export declare const FrontendAnalyticsFactory: {
28
28
  FinalizeButtonClicked: typeof FinalizeButtonClicked;
29
29
  SummaryButtonClicked: typeof SummaryButtonClicked;
30
30
  TopNavigationStepClicked: typeof TopNavigationStepClicked;
31
+ /**
32
+ * @deprecated The SDK never pushes this event: a click on a horizontal tab pushes `TopNavigationStepClicked`.
33
+ * Use `TopNavigationStepClicked` instead. This API will be removed in the breaking release before v1.
34
+ */
31
35
  HorizontalTabClicked: typeof HorizontalTabClicked;
32
36
  GoToProductsClicked: typeof GoToProductsClicked;
33
37
  ProductSelected: typeof ProductSelected;
@@ -1,2 +1,3 @@
1
1
  export * from './analytics-service.js';
2
2
  export * from './domain-controls-analytics.js';
3
+ export * from './frontend-analytics.js';
@@ -1 +1 @@
1
- export*from"./analytics-service.js";export*from"./domain-controls-analytics.js";
1
+ export*from"./analytics-service.js";export*from"./domain-controls-analytics.js";export*from"./frontend-analytics.js";
@@ -2,6 +2,6 @@ import type { I18n } from '@lingui/core';
2
2
  import { QueryClient } from '@tanstack/react-query';
3
3
  import { type Logger } from '@salsita-ai/common/utils';
4
4
  import type { AnyApplicationConfig } from '#package/domain';
5
- export declare const initializeLogger: (config: AnyApplicationConfig, isDev: boolean) => Logger;
6
- export declare const initializeI18n: (config: AnyApplicationConfig) => I18n;
5
+ export declare const initializeLogger: (config: Pick<AnyApplicationConfig, 'services' | 'defaultEnvs' | 'version'>, isDev: boolean) => Logger;
6
+ export declare const initializeI18n: (config: Pick<AnyApplicationConfig, 'services'>) => I18n;
7
7
  export declare const createQueryClient: (logger: Logger) => QueryClient;
@@ -29,7 +29,7 @@ export interface SendVoiceMessageParams<CHAT_CONTEXT extends Record<string, unkn
29
29
  * Runtime chat service consumed only by the legacy configurator chat UI. Its user-facing consumers
30
30
  * live under `configurator/ui/legacy/`: `Chat` is reached through `MobileChat`, `TabsSidebar`,
31
31
  * `StepsSideBar`, and `SimpleSidebar`, with availability gated by
32
- * `configurator/configurator-context/configurator-hooks/chat-hooks.ts`.
32
+ * `react-sdk/domain-application-context/chat-hooks.ts`.
33
33
  *
34
34
  * `sendMessage` deliberately retains a known reinitialization race. Its `ChunkType.calls`
35
35
  * continuation does not recheck the captured generation after `processToolCalls` before publishing
@@ -22,3 +22,5 @@ export * from './use-domain-application.js';
22
22
  export * from './use-web-component.js';
23
23
  export * from './use-web-component-readonly-sync.js';
24
24
  export * from './data/index.js';
25
+ export * from './loading/index.js';
26
+ export * from './responsive/index.js';
@@ -1 +1 @@
1
- export*from"./use-application-runtime-selector.js";export{AccessServiceProvider,useAccessInfoActions,useAccessService,useAdminRawAccessService,useAdminRawAccessInfo,useConfigurationId,useConfiguratorRawAccessService,useConfiguratorRawAccessInfo,useProvidedAccessService}from"./use-access-service.js";export*from"./use-logger.js";export*from"./use-analytics-service.js";export*from"./use-application-query-client.js";export*from"./use-i18n.js";export*from"./use-spec.js";export*from"./use-environment.js";export*from"./use-overrides.js";export*from"./use-domain-application-props.js";export*from"./use-resource-url.js";export*from"./use-integration.js";export*from"./use-routing.js";export*from"./use-loaded-data.js";export*from"./use-domain-data.js";export*from"./use-session.js";export*from"./use-authorized-client.js";export*from"./use-authenticated-client.js";export*from"./use-phoenix-element-slots.js";export*from"./use-phoenix-handler-slots.js";export*from"./use-domain-application.js";export*from"./use-web-component.js";export*from"./use-web-component-readonly-sync.js";export*from"./data/index.js";
1
+ export*from"./use-application-runtime-selector.js";export{AccessServiceProvider,useAccessInfoActions,useAccessService,useAdminRawAccessService,useAdminRawAccessInfo,useConfigurationId,useConfiguratorRawAccessService,useConfiguratorRawAccessInfo,useProvidedAccessService}from"./use-access-service.js";export*from"./use-logger.js";export*from"./use-analytics-service.js";export*from"./use-application-query-client.js";export*from"./use-i18n.js";export*from"./use-spec.js";export*from"./use-environment.js";export*from"./use-overrides.js";export*from"./use-domain-application-props.js";export*from"./use-resource-url.js";export*from"./use-integration.js";export*from"./use-routing.js";export*from"./use-loaded-data.js";export*from"./use-domain-data.js";export*from"./use-session.js";export*from"./use-authorized-client.js";export*from"./use-authenticated-client.js";export*from"./use-phoenix-element-slots.js";export*from"./use-phoenix-handler-slots.js";export*from"./use-domain-application.js";export*from"./use-web-component.js";export*from"./use-web-component-readonly-sync.js";export*from"./data/index.js";export*from"./loading/index.js";export*from"./responsive/index.js";
@@ -0,0 +1,5 @@
1
+ export { LoaderHostContext } from './loader-host-context.js';
2
+ export { useIsAwaitingLoadingPhase } from './use-is-awaiting-loading-phase.js';
3
+ export { useIsLoaderHosted } from './use-is-loader-hosted.js';
4
+ export { useLoadingActions } from './use-loading-actions.js';
5
+ export { useLoadingApplication } from './use-loading-application.js';
@@ -0,0 +1 @@
1
+ export{LoaderHostContext}from"./loader-host-context.js";export{useIsAwaitingLoadingPhase}from"./use-is-awaiting-loading-phase.js";export{useIsLoaderHosted}from"./use-is-loader-hosted.js";export{useLoadingActions}from"./use-loading-actions.js";export{useLoadingApplication}from"./use-loading-application.js";
@@ -0,0 +1,11 @@
1
+ /**
2
+ * Whether a component is mounted below the application's `LoaderHost`, which provides `true`. It is
3
+ * `false` everywhere else, as in the admin, which hosts no loader.
4
+ *
5
+ * It is a fact about the React tree, so it is a context and not part of the runtime's `loading`
6
+ * slice. It lives beside the hooks that read it rather than beside `LoaderHost`, because
7
+ * `loading-state/` imports from this folder and never the other way.
8
+ *
9
+ * @internal Runtime plumbing for the SDK's own UI.
10
+ */
11
+ export declare const LoaderHostContext: import("react").Context<boolean>;
@@ -0,0 +1 @@
1
+ import{createContext as o}from"react";export const LoaderHostContext=o(!1);
@@ -0,0 +1,8 @@
1
+ /**
2
+ * Whether the application this component is mounted in expects the loading phase `id` and that
3
+ * phase has not started since its loader host mounted. The loader stays up across that gap.
4
+ * `false` outside a loader host.
5
+ *
6
+ * @internal Runtime plumbing for the SDK's own UI.
7
+ */
8
+ export declare const useIsAwaitingLoadingPhase: (id: string) => boolean;
@@ -0,0 +1 @@
1
+ import{useCallback as e}from"react";import{useApplicationRuntimeSelector as o}from"../use-application-runtime-selector.js";import{useIsLoaderHosted as t}from"./use-is-loader-hosted.js";import{useLoadingApplication as s}from"./use-loading-application.js";export const useIsAwaitingLoadingPhase=i=>{let r=s(),a=t(),m=o(e(()=>r?.selectors.getIsAwaitingPhase(i)??!1,[r,i]));return a&&m};
@@ -0,0 +1,7 @@
1
+ /**
2
+ * Whether this component is mounted below the application's `LoaderHost`. Without one, the SDK's
3
+ * own UI shows its inline loaders, as the admin does.
4
+ *
5
+ * @internal Runtime plumbing for the SDK's own UI.
6
+ */
7
+ export declare const useIsLoaderHosted: () => boolean;
@@ -0,0 +1 @@
1
+ import{useContext as o}from"react";import{LoaderHostContext as t}from"./loader-host-context.js";export const useIsLoaderHosted=()=>o(t);
@@ -0,0 +1,9 @@
1
+ import type { LoadingActions } from '../../loading/index.js';
2
+ /**
3
+ * The loading actions of the application this component is mounted in, or `null` outside its
4
+ * loader host, so that nothing reports phases no loader shows. Stable while the host stays mounted.
5
+ *
6
+ * @internal Runtime plumbing for the SDK's own UI. A project reports a phase with
7
+ * `phx.frontend.useLoadingState()`.
8
+ */
9
+ export declare const useLoadingActions: () => LoadingActions | null;
@@ -0,0 +1 @@
1
+ import{useIsLoaderHosted as o}from"./use-is-loader-hosted.js";import{useLoadingApplication as s}from"./use-loading-application.js";export const useLoadingActions=()=>{let t=s(),i=o();return null!==t&&i?t.actions:null};
@@ -0,0 +1,24 @@
1
+ /**
2
+ * The selectors and actions of the loading state of the application this component is mounted in,
3
+ * chosen by its `ApplicationTypeProvider` as the domain context hooks choose theirs. `null` outside
4
+ * an `ApplicationRuntimeProvider` or an `ApplicationTypeProvider`: the session and data providers also run in trees without one, where
5
+ * no loader is hosted.
6
+ *
7
+ * @internal Runtime plumbing for the SDK's own UI.
8
+ */
9
+ export declare const useLoadingApplication: () => {
10
+ selectors: {
11
+ selectLoadingState: import("@salsita-ai/common/utils").Selector<import("../../loading/selectors.js").LoadingSelectorState, import("../../index.js").LoadingState>;
12
+ getLoadingState: () => import("../../index.js").LoadingState;
13
+ getIsAwaitingPhase: (id: string) => boolean;
14
+ };
15
+ actions: {
16
+ startPhase: (phase: import("../../index.js").LoadingPhase) => void;
17
+ endPhase: (id: string) => void;
18
+ reportError: () => void;
19
+ clearError: () => void;
20
+ expectPhase: (id: string) => void;
21
+ dropExpectation: (id: string) => void;
22
+ resetSlot: () => void;
23
+ };
24
+ } | null;
@@ -0,0 +1 @@
1
+ import{useMemo as o}from"react";import{useOptionalApplicationRuntime as i,useOptionalApplicationType as n}from"../../provider/index.js";import{ApplicationType as r}from"../../runtime/index.js";export const useLoadingApplication=()=>{let t=i(),e=n();return o(()=>null===t||null===e?null:e===r.Admin?{selectors:t.selectors.loading.admin,actions:t.actions.loading.admin}:{selectors:t.selectors.loading.configurator,actions:t.actions.loading.configurator},[t,e])};
@@ -0,0 +1,3 @@
1
+ export { useResponsiveActions } from './use-responsive-actions.js';
2
+ export { useResponsiveState } from './use-responsive-state.js';
3
+ export { type ResponsiveStore, useResponsiveStore } from './use-responsive-store.js';
@@ -0,0 +1 @@
1
+ export{useResponsiveActions}from"./use-responsive-actions.js";export{useResponsiveState}from"./use-responsive-state.js";export{useResponsiveStore}from"./use-responsive-store.js";
@@ -0,0 +1,9 @@
1
+ import type { ResponsiveActions } from '../../responsive/index.js';
2
+ /**
3
+ * The actions of the responsive state of the application this component is mounted in: set the canvas padding, expand, collapse, hide or
4
+ * show the root container. Stable for the runtime's lifetime.
5
+ *
6
+ * @internal Runtime plumbing for the SDK's own UI. A project layout uses `useActiveViewports()`
7
+ * from `@salsita-ai/sdk/react` and `useSceneSafeArea()` from `@salsita-ai/sdk/configurator`.
8
+ */
9
+ export declare const useResponsiveActions: () => ResponsiveActions;
@@ -0,0 +1 @@
1
+ import{useResponsiveApplication as e}from"./use-responsive-application.js";export const useResponsiveActions=()=>{let{actions:s}=e();return s};