@craft-ts/core 0.7.0-beta.13 → 0.7.0-beta.16

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 (699) hide show
  1. package/package.json +10 -2
  2. package/src/index.d.ts +156 -148
  3. package/src/index.js +153 -142
  4. package/src/lib/after-recomputation.d.ts +3 -4
  5. package/src/lib/after-recomputation.js +3 -4
  6. package/src/lib/app-checked-di.d.ts +3 -4
  7. package/src/lib/app-checked-di.js +0 -1
  8. package/src/lib/async-process.d.ts +18 -19
  9. package/src/lib/async-process.js +24 -25
  10. package/src/lib/branded-component/branded-component.d.ts +3 -4
  11. package/src/lib/branded-component/branded-component.js +0 -1
  12. package/src/lib/browser-boundaries.d.ts +6 -7
  13. package/src/lib/browser-boundaries.js +5 -6
  14. package/src/lib/client-di-requirement.d.ts +1 -2
  15. package/src/lib/client-di-requirement.js +0 -1
  16. package/src/lib/client-function-middleware.d.ts +8 -92
  17. package/src/lib/client-function-middleware.js +89 -90
  18. package/src/lib/component-monitoring.d.ts +1 -2
  19. package/src/lib/component-monitoring.js +2 -3
  20. package/src/lib/component-register.d.ts +1 -2
  21. package/src/lib/component-register.js +1 -2
  22. package/src/lib/computed-source.d.ts +3 -4
  23. package/src/lib/computed-source.js +2 -3
  24. package/src/lib/correlation-id-plugin.d.ts +1 -2
  25. package/src/lib/correlation-id-plugin.js +6 -7
  26. package/src/lib/correlation-id.d.ts +4 -5
  27. package/src/lib/correlation-id.js +3 -4
  28. package/src/lib/craft-a11y.d.ts +3 -4
  29. package/src/lib/craft-a11y.js +5 -6
  30. package/src/lib/craft-activated-route.d.ts +2 -3
  31. package/src/lib/craft-activated-route.js +2 -3
  32. package/src/lib/craft-app-config.d.ts +4 -5
  33. package/src/lib/craft-app-config.js +3 -4
  34. package/src/lib/craft-codec.d.ts +0 -1
  35. package/src/lib/craft-codec.js +0 -1
  36. package/src/lib/craft-computed.d.ts +6 -7
  37. package/src/lib/craft-computed.js +7 -8
  38. package/src/lib/craft-control-flow.d.ts +0 -1
  39. package/src/lib/craft-control-flow.js +2 -3
  40. package/src/lib/craft-effect.d.ts +2 -3
  41. package/src/lib/craft-effect.js +7 -8
  42. package/src/lib/craft-exception.d.ts +0 -1
  43. package/src/lib/craft-exception.js +0 -1
  44. package/src/lib/craft-gen.d.ts +1 -2
  45. package/src/lib/craft-gen.js +2 -3
  46. package/src/lib/craft-generator-runtime.d.ts +21 -5
  47. package/src/lib/craft-generator-runtime.js +28 -6
  48. package/src/lib/craft-guard-runtime.d.ts +4 -5
  49. package/src/lib/craft-guard-runtime.js +6 -7
  50. package/src/lib/craft-handshake.d.ts +1 -2
  51. package/src/lib/craft-handshake.js +0 -1
  52. package/src/lib/craft-http-client.d.ts +3 -4
  53. package/src/lib/craft-http-client.js +4 -5
  54. package/src/lib/craft-http-trace.d.ts +1 -2
  55. package/src/lib/craft-http-trace.js +5 -2
  56. package/src/lib/craft-hydration.d.ts +11 -0
  57. package/src/lib/craft-hydration.js +2 -0
  58. package/src/lib/craft-lazy.d.ts +3 -4
  59. package/src/lib/craft-lazy.js +5 -6
  60. package/src/lib/craft-load-retry.d.ts +2 -3
  61. package/src/lib/craft-load-retry.js +11 -4
  62. package/src/lib/craft-machine-history.d.ts +6 -7
  63. package/src/lib/craft-machine-history.js +6 -7
  64. package/src/lib/craft-match.d.ts +0 -1
  65. package/src/lib/craft-match.js +0 -1
  66. package/src/lib/craft-method.d.ts +3 -4
  67. package/src/lib/craft-method.js +5 -6
  68. package/src/lib/craft-node-directive.d.ts +3 -4
  69. package/src/lib/craft-node-directive.js +2 -3
  70. package/src/lib/craft-pending.d.ts +3 -4
  71. package/src/lib/craft-pending.js +2 -3
  72. package/src/lib/craft-pipe.d.ts +1 -2
  73. package/src/lib/craft-pipe.js +7 -8
  74. package/src/lib/craft-platform.d.ts +2 -3
  75. package/src/lib/craft-platform.js +2 -3
  76. package/src/lib/craft-primitive-gen.d.ts +7 -8
  77. package/src/lib/craft-primitive-gen.js +4 -5
  78. package/src/lib/craft-primitive-registry.d.ts +4 -2
  79. package/src/lib/craft-primitive-registry.js +5 -3
  80. package/src/lib/craft-program-operators.d.ts +3 -4
  81. package/src/lib/craft-program-operators.js +4 -5
  82. package/src/lib/craft-program-runtime.d.ts +3 -4
  83. package/src/lib/craft-program-runtime.js +7 -8
  84. package/src/lib/craft-register-for-runtime.d.ts +2 -3
  85. package/src/lib/craft-register-for-runtime.js +2 -3
  86. package/src/lib/craft-register-for.d.ts +3 -4
  87. package/src/lib/craft-register-for.js +6 -7
  88. package/src/lib/craft-render-identity.d.ts +0 -1
  89. package/src/lib/craft-render-identity.js +1 -2
  90. package/src/lib/craft-replay.d.ts +0 -1
  91. package/src/lib/craft-replay.js +0 -1
  92. package/src/lib/craft-request-context.d.ts +15 -0
  93. package/src/lib/craft-request-context.js +40 -0
  94. package/src/lib/craft-resolve.d.ts +2 -3
  95. package/src/lib/craft-resolve.js +0 -1
  96. package/src/lib/craft-resource.d.ts +2 -3
  97. package/src/lib/craft-resource.js +14 -6
  98. package/src/lib/craft-route-exceptions.d.ts +27 -28
  99. package/src/lib/craft-route-exceptions.js +3 -4
  100. package/src/lib/craft-route-load-error.d.ts +92 -93
  101. package/src/lib/craft-route-load-error.js +6 -7
  102. package/src/lib/craft-route-meta.d.ts +4 -5
  103. package/src/lib/craft-route-meta.js +0 -1
  104. package/src/lib/craft-route-target.d.ts +1 -2
  105. package/src/lib/craft-route-target.js +1 -2
  106. package/src/lib/craft-router-outlet.d.ts +7 -7
  107. package/src/lib/craft-router-outlet.js +24 -18
  108. package/src/lib/craft-router-tokens.d.ts +3 -4
  109. package/src/lib/craft-router-tokens.js +2 -3
  110. package/src/lib/craft-router-trace.d.ts +3 -4
  111. package/src/lib/craft-router-trace.js +9 -3
  112. package/src/lib/craft-router.d.ts +16 -17
  113. package/src/lib/craft-router.js +75 -74
  114. package/src/lib/craft-routes.d.ts +20 -15
  115. package/src/lib/craft-routes.js +13 -12
  116. package/src/lib/craft-runtime-mode.d.ts +13 -0
  117. package/src/lib/craft-runtime-mode.js +21 -0
  118. package/src/lib/craft-security.d.ts +87 -0
  119. package/src/lib/craft-security.js +117 -0
  120. package/src/lib/craft-service.d.ts +12 -13
  121. package/src/lib/craft-service.js +11 -12
  122. package/src/lib/craft-service.shared.d.ts +0 -1
  123. package/src/lib/craft-service.shared.js +0 -1
  124. package/src/lib/craft-settled.d.ts +23 -16
  125. package/src/lib/craft-settled.js +9 -10
  126. package/src/lib/craft-ssr.d.ts +2 -3
  127. package/src/lib/craft-ssr.js +4 -5
  128. package/src/lib/craft-state-machine-runtime.d.ts +2 -3
  129. package/src/lib/craft-state-machine-runtime.js +3 -4
  130. package/src/lib/craft-state-machine.d.ts +5 -6
  131. package/src/lib/craft-state-machine.js +9 -10
  132. package/src/lib/craft-target-runtime.d.ts +1 -2
  133. package/src/lib/craft-target-runtime.js +2 -3
  134. package/src/lib/craft-transfer-snapshot.d.ts +10 -5
  135. package/src/lib/craft-transfer-snapshot.js +139 -14
  136. package/src/lib/craft-unique.d.ts +0 -1
  137. package/src/lib/craft-unique.js +0 -1
  138. package/src/lib/craft-until-settled.d.ts +5 -6
  139. package/src/lib/craft-until-settled.js +4 -5
  140. package/src/lib/craft-use.d.ts +0 -1
  141. package/src/lib/craft-use.js +2 -3
  142. package/src/lib/craft-view-transition.d.ts +2 -3
  143. package/src/lib/craft-view-transition.js +2 -3
  144. package/src/lib/dev-tools.d.ts +7 -0
  145. package/src/lib/dev-tools.js +244 -0
  146. package/src/lib/dom-event-hook.d.ts +1 -2
  147. package/src/lib/dom-event-hook.js +1 -2
  148. package/src/lib/fn-wrapper.d.ts +2 -3
  149. package/src/lib/fn-wrapper.js +3 -4
  150. package/src/lib/form/craft-field.d.ts +2 -3
  151. package/src/lib/form/craft-field.directive.d.ts +6 -7
  152. package/src/lib/form/craft-field.directive.js +5 -6
  153. package/src/lib/form/craft-field.js +1 -2
  154. package/src/lib/form/field-exception.d.ts +4 -5
  155. package/src/lib/form/field-exception.js +1 -2
  156. package/src/lib/form/field-lens.d.ts +0 -1
  157. package/src/lib/form/field-lens.js +0 -1
  158. package/src/lib/form/insert-form-attributes.d.ts +6 -7
  159. package/src/lib/form/insert-form-attributes.js +5 -6
  160. package/src/lib/form/insert-form-internals.d.ts +11 -12
  161. package/src/lib/form/insert-form-internals.js +9 -10
  162. package/src/lib/form/insert-form-schema.d.ts +3 -4
  163. package/src/lib/form/insert-form-schema.js +4 -5
  164. package/src/lib/form/insert-form-submit.d.ts +7 -8
  165. package/src/lib/form/insert-form-submit.js +3 -4
  166. package/src/lib/form/insert-form.d.ts +6 -7
  167. package/src/lib/form/insert-form.js +8 -9
  168. package/src/lib/form/insert-select-form-tree.d.ts +2 -3
  169. package/src/lib/form/insert-select-form-tree.js +5 -6
  170. package/src/lib/form/insert-sub-form-field.d.ts +3 -4
  171. package/src/lib/form/insert-sub-form-field.js +6 -7
  172. package/src/lib/form/make-form-tree-insert.d.ts +1 -2
  173. package/src/lib/form/make-form-tree-insert.js +3 -4
  174. package/src/lib/form/target-form-field.d.ts +0 -1
  175. package/src/lib/form/target-form-field.js +0 -1
  176. package/src/lib/form/validator.d.ts +5 -6
  177. package/src/lib/form/validator.js +3 -4
  178. package/src/lib/from-event-to-source$.d.ts +2 -3
  179. package/src/lib/from-event-to-source$.js +3 -4
  180. package/src/lib/global-persister-handler.service.d.ts +1 -2
  181. package/src/lib/global-persister-handler.service.js +2 -3
  182. package/src/lib/host/craft-compat.d.ts +2 -3
  183. package/src/lib/host/craft-compat.js +2 -3
  184. package/src/lib/host/craft-dom.d.ts +0 -1
  185. package/src/lib/host/craft-dom.js +0 -1
  186. package/src/lib/host/craft-http.d.ts +0 -1
  187. package/src/lib/host/craft-http.js +0 -1
  188. package/src/lib/host/craft-injector-host.d.ts +2 -3
  189. package/src/lib/host/craft-injector-host.js +1 -2
  190. package/src/lib/host/craft-injector.d.ts +0 -1
  191. package/src/lib/host/craft-injector.js +0 -1
  192. package/src/lib/host/craft-linked-signal.d.ts +1 -2
  193. package/src/lib/host/craft-linked-signal.js +2 -3
  194. package/src/lib/host/craft-router-runtime.d.ts +0 -1
  195. package/src/lib/host/craft-router-runtime.js +0 -1
  196. package/src/lib/host/craft-router-types.d.ts +1 -2
  197. package/src/lib/host/craft-router-types.js +1 -2
  198. package/src/lib/host/craft-signal.d.ts +0 -1
  199. package/src/lib/host/craft-signal.js +1 -2
  200. package/src/lib/host/craft-test-bed.d.ts +2 -3
  201. package/src/lib/host/craft-test-bed.js +2 -3
  202. package/src/lib/host-tag.d.ts +1 -2
  203. package/src/lib/host-tag.js +1 -2
  204. package/src/lib/http-server.d.ts +156 -0
  205. package/src/lib/http-server.js +590 -0
  206. package/src/lib/insert-entities.d.ts +5 -6
  207. package/src/lib/insert-entities.js +1 -2
  208. package/src/lib/insert-noop-typing-anchor.d.ts +1 -2
  209. package/src/lib/insert-noop-typing-anchor.js +0 -1
  210. package/src/lib/insert-pagination-placeholder-data.d.ts +5 -6
  211. package/src/lib/insert-pagination-placeholder-data.js +5 -6
  212. package/src/lib/insert-react-on-mutation.d.ts +5 -6
  213. package/src/lib/insert-react-on-mutation.js +2 -3
  214. package/src/lib/insert-select-resource.d.ts +2 -3
  215. package/src/lib/insert-select-resource.js +1 -2
  216. package/src/lib/insert-select.d.ts +5 -6
  217. package/src/lib/insert-select.js +18 -19
  218. package/src/lib/insert-storage-persister.d.ts +4 -5
  219. package/src/lib/insert-storage-persister.js +2 -3
  220. package/src/lib/insert-typed-pipes.d.ts +3 -4
  221. package/src/lib/insert-typed-pipes.js +2 -3
  222. package/src/lib/lambda-adapter.d.ts +52 -0
  223. package/src/lib/lambda-adapter.js +101 -0
  224. package/src/lib/linked-source.d.ts +3 -4
  225. package/src/lib/linked-source.js +2 -3
  226. package/src/lib/local-storage-persister.d.ts +2 -3
  227. package/src/lib/local-storage-persister.js +3 -4
  228. package/src/lib/middleware-schema-shared.d.ts +9 -21
  229. package/src/lib/middleware-schema-shared.js +6 -1
  230. package/src/lib/mock-http-request-for-route.d.ts +3 -4
  231. package/src/lib/mock-http-request-for-route.js +0 -1
  232. package/src/lib/mutation.d.ts +18 -19
  233. package/src/lib/mutation.js +23 -24
  234. package/src/lib/on$.d.ts +6 -7
  235. package/src/lib/on$.js +4 -5
  236. package/src/lib/portable-server-function.d.ts +8 -9
  237. package/src/lib/portable-server-function.js +12 -5
  238. package/src/lib/preserved-resource.d.ts +2 -3
  239. package/src/lib/preserved-resource.js +4 -5
  240. package/src/lib/primitive-method-runtime-context.d.ts +1 -2
  241. package/src/lib/primitive-method-runtime-context.js +2 -3
  242. package/src/lib/primitive-resource-runtime-context.d.ts +1 -2
  243. package/src/lib/primitive-resource-runtime-context.js +2 -3
  244. package/src/lib/query-params.d.ts +12 -13
  245. package/src/lib/query-params.js +15 -16
  246. package/src/lib/query.core.d.ts +15 -14
  247. package/src/lib/query.core.js +1 -2
  248. package/src/lib/query.d.ts +19 -20
  249. package/src/lib/query.js +23 -24
  250. package/src/lib/reactive-read.d.ts +2 -3
  251. package/src/lib/reactive-read.js +2 -3
  252. package/src/lib/render/channels.d.ts +130 -0
  253. package/src/lib/render/channels.js +0 -0
  254. package/src/lib/resource-by-id.d.ts +4 -5
  255. package/src/lib/resource-by-id.js +4 -5
  256. package/src/lib/resource-exception.d.ts +2 -3
  257. package/src/lib/resource-exception.js +1 -2
  258. package/src/lib/route-checked-di.d.ts +4 -5
  259. package/src/lib/route-checked-di.js +0 -1
  260. package/src/lib/schema-validation.d.ts +4 -5
  261. package/src/lib/schema-validation.js +2 -3
  262. package/src/lib/send-context-to-ai.d.ts +3 -4
  263. package/src/lib/send-context-to-ai.js +1 -2
  264. package/src/lib/send-context-to-ai.tokens.d.ts +1 -2
  265. package/src/lib/send-context-to-ai.tokens.js +0 -1
  266. package/src/lib/server-function-client.d.ts +18 -7
  267. package/src/lib/server-function-client.js +31 -9
  268. package/src/lib/server-function-contract.d.ts +1 -2
  269. package/src/lib/server-function-contract.js +0 -1
  270. package/src/lib/server-function-middleware.d.ts +49 -132
  271. package/src/lib/server-function-middleware.js +83 -103
  272. package/src/lib/server-function.d.ts +58 -8
  273. package/src/lib/server-function.js +20 -6
  274. package/src/lib/server-layer.d.ts +3 -4
  275. package/src/lib/server-layer.js +1 -2
  276. package/src/lib/server.d.ts +39 -6
  277. package/src/lib/server.js +259 -27
  278. package/src/lib/setup-craft-service-test.d.ts +3 -4
  279. package/src/lib/setup-craft-service-test.js +6 -7
  280. package/src/lib/setup-craft-service-testing-by-register.d.ts +4 -5
  281. package/src/lib/setup-craft-service-testing-by-register.js +4 -5
  282. package/src/lib/signal-proxy.d.ts +2 -3
  283. package/src/lib/signal-proxy.js +1 -2
  284. package/src/lib/signal-source.d.ts +3 -4
  285. package/src/lib/signal-source.js +7 -8
  286. package/src/lib/source$.d.ts +3 -4
  287. package/src/lib/source$.js +7 -8
  288. package/src/lib/source-from-event.d.ts +2 -3
  289. package/src/lib/source-from-event.js +2 -3
  290. package/src/lib/stacked-source.d.ts +1 -2
  291. package/src/lib/stacked-source.js +1 -2
  292. package/src/lib/standard-schema.d.ts +0 -1
  293. package/src/lib/standard-schema.js +0 -1
  294. package/src/lib/state-method-runtime-context.d.ts +2 -3
  295. package/src/lib/state-method-runtime-context.js +1 -2
  296. package/src/lib/state.d.ts +13 -14
  297. package/src/lib/state.js +17 -18
  298. package/src/lib/storage-persister.service.d.ts +3 -4
  299. package/src/lib/storage-persister.service.js +3 -4
  300. package/src/lib/take-app-snapshot.d.ts +1 -2
  301. package/src/lib/take-app-snapshot.js +10 -4
  302. package/src/lib/template-trace.d.ts +1 -2
  303. package/src/lib/template-trace.js +5 -2
  304. package/src/lib/temporal-runtime.d.ts +1 -2
  305. package/src/lib/temporal-runtime.js +1 -2
  306. package/src/lib/to-source.d.ts +3 -4
  307. package/src/lib/to-source.js +2 -3
  308. package/src/lib/util/craft-resource-ref.d.ts +2 -3
  309. package/src/lib/util/craft-resource-ref.js +0 -1
  310. package/src/lib/util/craft-resource-status.d.ts +1 -2
  311. package/src/lib/util/craft-resource-status.js +0 -1
  312. package/src/lib/util/entities-util.d.ts +0 -1
  313. package/src/lib/util/entities-util.js +0 -1
  314. package/src/lib/util/explicit-effect.d.ts +1 -2
  315. package/src/lib/util/explicit-effect.js +1 -2
  316. package/src/lib/util/extract-signal-props-and-methods.d.ts +2 -3
  317. package/src/lib/util/extract-signal-props-and-methods.js +0 -1
  318. package/src/lib/util/method-trigger-nonce.d.ts +1 -2
  319. package/src/lib/util/method-trigger-nonce.js +0 -1
  320. package/src/lib/util/persister.type.d.ts +2 -3
  321. package/src/lib/util/persister.type.js +0 -1
  322. package/src/lib/util/persister.util.d.ts +0 -1
  323. package/src/lib/util/persister.util.js +0 -1
  324. package/src/lib/util/react-on-mutation-effect.d.ts +5 -6
  325. package/src/lib/util/react-on-mutation-effect.js +4 -5
  326. package/src/lib/util/resource-by-id-changes-tracker.util.d.ts +2 -3
  327. package/src/lib/util/resource-by-id-changes-tracker.util.js +2 -3
  328. package/src/lib/util/source.type.d.ts +2 -3
  329. package/src/lib/util/source.type.js +0 -1
  330. package/src/lib/util/types/access-type-object-property-by-dotted-path.type.d.ts +1 -2
  331. package/src/lib/util/types/access-type-object-property-by-dotted-path.type.js +0 -1
  332. package/src/lib/util/types/boolean-or-mapper-fn-by-path-by-id.type.d.ts +4 -5
  333. package/src/lib/util/types/boolean-or-mapper-fn-by-path-by-id.type.js +0 -1
  334. package/src/lib/util/types/boolean-or-mapper-fn-by-path.type.d.ts +3 -4
  335. package/src/lib/util/types/boolean-or-mapper-fn-by-path.type.js +0 -1
  336. package/src/lib/util/types/brand.d.ts +0 -1
  337. package/src/lib/util/types/brand.js +0 -1
  338. package/src/lib/util/types/object-deep-path-mapper.type.d.ts +1 -2
  339. package/src/lib/util/types/object-deep-path-mapper.type.js +0 -1
  340. package/src/lib/util/types/resource-by-id-config.type.d.ts +3 -4
  341. package/src/lib/util/types/resource-by-id-config.type.js +0 -1
  342. package/src/lib/util/types/resource-with-params-or-params-fn.type.d.ts +2 -3
  343. package/src/lib/util/types/resource-with-params-or-params-fn.type.js +0 -1
  344. package/src/lib/util/types/shared.type.d.ts +6 -7
  345. package/src/lib/util/types/shared.type.js +0 -1
  346. package/src/lib/util/types/util.d.ts +2 -3
  347. package/src/lib/util/types/util.js +3 -3
  348. package/src/lib/util/types/util.type.d.ts +3 -4
  349. package/src/lib/util/types/util.type.js +0 -1
  350. package/src/lib/util/update-state.util.d.ts +0 -1
  351. package/src/lib/util/update-state.util.js +0 -1
  352. package/src/lib/util/util.d.ts +2 -3
  353. package/src/lib/util/util.js +1 -2
  354. package/src/lib/util/util.type.d.ts +5 -6
  355. package/src/lib/util/util.type.js +0 -1
  356. package/src/lib/worker-adapter.d.ts +8 -0
  357. package/src/lib/worker-adapter.js +8 -0
  358. package/src/lib/yieldable.d.ts +4 -5
  359. package/src/lib/yieldable.js +4 -5
  360. package/src/index.d.ts.map +0 -1
  361. package/src/index.js.map +0 -1
  362. package/src/lib/after-recomputation.d.ts.map +0 -1
  363. package/src/lib/after-recomputation.js.map +0 -1
  364. package/src/lib/app-checked-di.d.ts.map +0 -1
  365. package/src/lib/app-checked-di.js.map +0 -1
  366. package/src/lib/async-process.d.ts.map +0 -1
  367. package/src/lib/async-process.js.map +0 -1
  368. package/src/lib/branded-component/branded-component.d.ts.map +0 -1
  369. package/src/lib/branded-component/branded-component.js.map +0 -1
  370. package/src/lib/browser-boundaries.d.ts.map +0 -1
  371. package/src/lib/browser-boundaries.js.map +0 -1
  372. package/src/lib/client-di-requirement.d.ts.map +0 -1
  373. package/src/lib/client-di-requirement.js.map +0 -1
  374. package/src/lib/client-function-middleware.d.ts.map +0 -1
  375. package/src/lib/client-function-middleware.js.map +0 -1
  376. package/src/lib/component-monitoring.d.ts.map +0 -1
  377. package/src/lib/component-monitoring.js.map +0 -1
  378. package/src/lib/component-register.d.ts.map +0 -1
  379. package/src/lib/component-register.js.map +0 -1
  380. package/src/lib/computed-source.d.ts.map +0 -1
  381. package/src/lib/computed-source.js.map +0 -1
  382. package/src/lib/correlation-id-plugin.d.ts.map +0 -1
  383. package/src/lib/correlation-id-plugin.js.map +0 -1
  384. package/src/lib/correlation-id.d.ts.map +0 -1
  385. package/src/lib/correlation-id.js.map +0 -1
  386. package/src/lib/craft-a11y.d.ts.map +0 -1
  387. package/src/lib/craft-a11y.js.map +0 -1
  388. package/src/lib/craft-activated-route.d.ts.map +0 -1
  389. package/src/lib/craft-activated-route.js.map +0 -1
  390. package/src/lib/craft-app-config.d.ts.map +0 -1
  391. package/src/lib/craft-app-config.js.map +0 -1
  392. package/src/lib/craft-codec.d.ts.map +0 -1
  393. package/src/lib/craft-codec.js.map +0 -1
  394. package/src/lib/craft-computed.d.ts.map +0 -1
  395. package/src/lib/craft-computed.js.map +0 -1
  396. package/src/lib/craft-control-flow.d.ts.map +0 -1
  397. package/src/lib/craft-control-flow.js.map +0 -1
  398. package/src/lib/craft-effect.d.ts.map +0 -1
  399. package/src/lib/craft-effect.js.map +0 -1
  400. package/src/lib/craft-exception.d.ts.map +0 -1
  401. package/src/lib/craft-exception.js.map +0 -1
  402. package/src/lib/craft-gen.d.ts.map +0 -1
  403. package/src/lib/craft-gen.js.map +0 -1
  404. package/src/lib/craft-generator-runtime.d.ts.map +0 -1
  405. package/src/lib/craft-generator-runtime.js.map +0 -1
  406. package/src/lib/craft-guard-runtime.d.ts.map +0 -1
  407. package/src/lib/craft-guard-runtime.js.map +0 -1
  408. package/src/lib/craft-handshake.d.ts.map +0 -1
  409. package/src/lib/craft-handshake.js.map +0 -1
  410. package/src/lib/craft-http-client.d.ts.map +0 -1
  411. package/src/lib/craft-http-client.js.map +0 -1
  412. package/src/lib/craft-http-trace.d.ts.map +0 -1
  413. package/src/lib/craft-http-trace.js.map +0 -1
  414. package/src/lib/craft-lazy.d.ts.map +0 -1
  415. package/src/lib/craft-lazy.js.map +0 -1
  416. package/src/lib/craft-load-retry.d.ts.map +0 -1
  417. package/src/lib/craft-load-retry.js.map +0 -1
  418. package/src/lib/craft-machine-history.d.ts.map +0 -1
  419. package/src/lib/craft-machine-history.js.map +0 -1
  420. package/src/lib/craft-match.d.ts.map +0 -1
  421. package/src/lib/craft-match.js.map +0 -1
  422. package/src/lib/craft-method.d.ts.map +0 -1
  423. package/src/lib/craft-method.js.map +0 -1
  424. package/src/lib/craft-node-directive.d.ts.map +0 -1
  425. package/src/lib/craft-node-directive.js.map +0 -1
  426. package/src/lib/craft-pending.d.ts.map +0 -1
  427. package/src/lib/craft-pending.js.map +0 -1
  428. package/src/lib/craft-pipe.d.ts.map +0 -1
  429. package/src/lib/craft-pipe.js.map +0 -1
  430. package/src/lib/craft-platform.d.ts.map +0 -1
  431. package/src/lib/craft-platform.js.map +0 -1
  432. package/src/lib/craft-primitive-gen.d.ts.map +0 -1
  433. package/src/lib/craft-primitive-gen.js.map +0 -1
  434. package/src/lib/craft-primitive-registry.d.ts.map +0 -1
  435. package/src/lib/craft-primitive-registry.js.map +0 -1
  436. package/src/lib/craft-program-operators.d.ts.map +0 -1
  437. package/src/lib/craft-program-operators.js.map +0 -1
  438. package/src/lib/craft-program-runtime.d.ts.map +0 -1
  439. package/src/lib/craft-program-runtime.js.map +0 -1
  440. package/src/lib/craft-register-for-runtime.d.ts.map +0 -1
  441. package/src/lib/craft-register-for-runtime.js.map +0 -1
  442. package/src/lib/craft-register-for.d.ts.map +0 -1
  443. package/src/lib/craft-register-for.js.map +0 -1
  444. package/src/lib/craft-render-identity.d.ts.map +0 -1
  445. package/src/lib/craft-render-identity.js.map +0 -1
  446. package/src/lib/craft-replay.d.ts.map +0 -1
  447. package/src/lib/craft-replay.js.map +0 -1
  448. package/src/lib/craft-resolve.d.ts.map +0 -1
  449. package/src/lib/craft-resolve.js.map +0 -1
  450. package/src/lib/craft-resource.d.ts.map +0 -1
  451. package/src/lib/craft-resource.js.map +0 -1
  452. package/src/lib/craft-route-exceptions.d.ts.map +0 -1
  453. package/src/lib/craft-route-exceptions.js.map +0 -1
  454. package/src/lib/craft-route-load-error.d.ts.map +0 -1
  455. package/src/lib/craft-route-load-error.js.map +0 -1
  456. package/src/lib/craft-route-meta.d.ts.map +0 -1
  457. package/src/lib/craft-route-meta.js.map +0 -1
  458. package/src/lib/craft-route-target.d.ts.map +0 -1
  459. package/src/lib/craft-route-target.js.map +0 -1
  460. package/src/lib/craft-router-outlet.d.ts.map +0 -1
  461. package/src/lib/craft-router-outlet.js.map +0 -1
  462. package/src/lib/craft-router-tokens.d.ts.map +0 -1
  463. package/src/lib/craft-router-tokens.js.map +0 -1
  464. package/src/lib/craft-router-trace.d.ts.map +0 -1
  465. package/src/lib/craft-router-trace.js.map +0 -1
  466. package/src/lib/craft-router.d.ts.map +0 -1
  467. package/src/lib/craft-router.js.map +0 -1
  468. package/src/lib/craft-routes.d.ts.map +0 -1
  469. package/src/lib/craft-routes.js.map +0 -1
  470. package/src/lib/craft-service.d.ts.map +0 -1
  471. package/src/lib/craft-service.js.map +0 -1
  472. package/src/lib/craft-service.shared.d.ts.map +0 -1
  473. package/src/lib/craft-service.shared.js.map +0 -1
  474. package/src/lib/craft-settled.d.ts.map +0 -1
  475. package/src/lib/craft-settled.js.map +0 -1
  476. package/src/lib/craft-ssr.d.ts.map +0 -1
  477. package/src/lib/craft-ssr.js.map +0 -1
  478. package/src/lib/craft-state-machine-runtime.d.ts.map +0 -1
  479. package/src/lib/craft-state-machine-runtime.js.map +0 -1
  480. package/src/lib/craft-state-machine.d.ts.map +0 -1
  481. package/src/lib/craft-state-machine.js.map +0 -1
  482. package/src/lib/craft-target-runtime.d.ts.map +0 -1
  483. package/src/lib/craft-target-runtime.js.map +0 -1
  484. package/src/lib/craft-transfer-snapshot.d.ts.map +0 -1
  485. package/src/lib/craft-transfer-snapshot.js.map +0 -1
  486. package/src/lib/craft-unique.d.ts.map +0 -1
  487. package/src/lib/craft-unique.js.map +0 -1
  488. package/src/lib/craft-until-settled.d.ts.map +0 -1
  489. package/src/lib/craft-until-settled.js.map +0 -1
  490. package/src/lib/craft-use.d.ts.map +0 -1
  491. package/src/lib/craft-use.js.map +0 -1
  492. package/src/lib/craft-view-transition.d.ts.map +0 -1
  493. package/src/lib/craft-view-transition.js.map +0 -1
  494. package/src/lib/dom-event-hook.d.ts.map +0 -1
  495. package/src/lib/dom-event-hook.js.map +0 -1
  496. package/src/lib/fn-wrapper.d.ts.map +0 -1
  497. package/src/lib/fn-wrapper.js.map +0 -1
  498. package/src/lib/form/craft-field.d.ts.map +0 -1
  499. package/src/lib/form/craft-field.directive.d.ts.map +0 -1
  500. package/src/lib/form/craft-field.directive.js.map +0 -1
  501. package/src/lib/form/craft-field.js.map +0 -1
  502. package/src/lib/form/field-exception.d.ts.map +0 -1
  503. package/src/lib/form/field-exception.js.map +0 -1
  504. package/src/lib/form/field-lens.d.ts.map +0 -1
  505. package/src/lib/form/field-lens.js.map +0 -1
  506. package/src/lib/form/insert-form-attributes.d.ts.map +0 -1
  507. package/src/lib/form/insert-form-attributes.js.map +0 -1
  508. package/src/lib/form/insert-form-internals.d.ts.map +0 -1
  509. package/src/lib/form/insert-form-internals.js.map +0 -1
  510. package/src/lib/form/insert-form-schema.d.ts.map +0 -1
  511. package/src/lib/form/insert-form-schema.js.map +0 -1
  512. package/src/lib/form/insert-form-submit.d.ts.map +0 -1
  513. package/src/lib/form/insert-form-submit.js.map +0 -1
  514. package/src/lib/form/insert-form.d.ts.map +0 -1
  515. package/src/lib/form/insert-form.js.map +0 -1
  516. package/src/lib/form/insert-select-form-tree.d.ts.map +0 -1
  517. package/src/lib/form/insert-select-form-tree.js.map +0 -1
  518. package/src/lib/form/insert-sub-form-field.d.ts.map +0 -1
  519. package/src/lib/form/insert-sub-form-field.js.map +0 -1
  520. package/src/lib/form/make-form-tree-insert.d.ts.map +0 -1
  521. package/src/lib/form/make-form-tree-insert.js.map +0 -1
  522. package/src/lib/form/target-form-field.d.ts.map +0 -1
  523. package/src/lib/form/target-form-field.js.map +0 -1
  524. package/src/lib/form/validator.d.ts.map +0 -1
  525. package/src/lib/form/validator.js.map +0 -1
  526. package/src/lib/from-event-to-source$.d.ts.map +0 -1
  527. package/src/lib/from-event-to-source$.js.map +0 -1
  528. package/src/lib/global-persister-handler.service.d.ts.map +0 -1
  529. package/src/lib/global-persister-handler.service.js.map +0 -1
  530. package/src/lib/host/craft-compat.d.ts.map +0 -1
  531. package/src/lib/host/craft-compat.js.map +0 -1
  532. package/src/lib/host/craft-dom.d.ts.map +0 -1
  533. package/src/lib/host/craft-dom.js.map +0 -1
  534. package/src/lib/host/craft-http.d.ts.map +0 -1
  535. package/src/lib/host/craft-http.js.map +0 -1
  536. package/src/lib/host/craft-injector-host.d.ts.map +0 -1
  537. package/src/lib/host/craft-injector-host.js.map +0 -1
  538. package/src/lib/host/craft-injector.d.ts.map +0 -1
  539. package/src/lib/host/craft-injector.js.map +0 -1
  540. package/src/lib/host/craft-linked-signal.d.ts.map +0 -1
  541. package/src/lib/host/craft-linked-signal.js.map +0 -1
  542. package/src/lib/host/craft-router-runtime.d.ts.map +0 -1
  543. package/src/lib/host/craft-router-runtime.js.map +0 -1
  544. package/src/lib/host/craft-router-types.d.ts.map +0 -1
  545. package/src/lib/host/craft-router-types.js.map +0 -1
  546. package/src/lib/host/craft-signal.d.ts.map +0 -1
  547. package/src/lib/host/craft-signal.js.map +0 -1
  548. package/src/lib/host/craft-test-bed.d.ts.map +0 -1
  549. package/src/lib/host/craft-test-bed.js.map +0 -1
  550. package/src/lib/host-tag.d.ts.map +0 -1
  551. package/src/lib/host-tag.js.map +0 -1
  552. package/src/lib/insert-entities.d.ts.map +0 -1
  553. package/src/lib/insert-entities.js.map +0 -1
  554. package/src/lib/insert-noop-typing-anchor.d.ts.map +0 -1
  555. package/src/lib/insert-noop-typing-anchor.js.map +0 -1
  556. package/src/lib/insert-pagination-placeholder-data.d.ts.map +0 -1
  557. package/src/lib/insert-pagination-placeholder-data.js.map +0 -1
  558. package/src/lib/insert-react-on-mutation.d.ts.map +0 -1
  559. package/src/lib/insert-react-on-mutation.js.map +0 -1
  560. package/src/lib/insert-select-resource.d.ts.map +0 -1
  561. package/src/lib/insert-select-resource.js.map +0 -1
  562. package/src/lib/insert-select.d.ts.map +0 -1
  563. package/src/lib/insert-select.js.map +0 -1
  564. package/src/lib/insert-storage-persister.d.ts.map +0 -1
  565. package/src/lib/insert-storage-persister.js.map +0 -1
  566. package/src/lib/insert-typed-pipes.d.ts.map +0 -1
  567. package/src/lib/insert-typed-pipes.js.map +0 -1
  568. package/src/lib/linked-source.d.ts.map +0 -1
  569. package/src/lib/linked-source.js.map +0 -1
  570. package/src/lib/local-storage-persister.d.ts.map +0 -1
  571. package/src/lib/local-storage-persister.js.map +0 -1
  572. package/src/lib/middleware-schema-shared.d.ts.map +0 -1
  573. package/src/lib/middleware-schema-shared.js.map +0 -1
  574. package/src/lib/mock-http-request-for-route.d.ts.map +0 -1
  575. package/src/lib/mock-http-request-for-route.js.map +0 -1
  576. package/src/lib/mutation.d.ts.map +0 -1
  577. package/src/lib/mutation.js.map +0 -1
  578. package/src/lib/on$.d.ts.map +0 -1
  579. package/src/lib/on$.js.map +0 -1
  580. package/src/lib/portable-server-function.d.ts.map +0 -1
  581. package/src/lib/portable-server-function.js.map +0 -1
  582. package/src/lib/preserved-resource.d.ts.map +0 -1
  583. package/src/lib/preserved-resource.js.map +0 -1
  584. package/src/lib/primitive-method-runtime-context.d.ts.map +0 -1
  585. package/src/lib/primitive-method-runtime-context.js.map +0 -1
  586. package/src/lib/primitive-resource-runtime-context.d.ts.map +0 -1
  587. package/src/lib/primitive-resource-runtime-context.js.map +0 -1
  588. package/src/lib/query-params.d.ts.map +0 -1
  589. package/src/lib/query-params.js.map +0 -1
  590. package/src/lib/query.core.d.ts.map +0 -1
  591. package/src/lib/query.core.js.map +0 -1
  592. package/src/lib/query.d.ts.map +0 -1
  593. package/src/lib/query.js.map +0 -1
  594. package/src/lib/reactive-read.d.ts.map +0 -1
  595. package/src/lib/reactive-read.js.map +0 -1
  596. package/src/lib/resource-by-id.d.ts.map +0 -1
  597. package/src/lib/resource-by-id.js.map +0 -1
  598. package/src/lib/resource-exception.d.ts.map +0 -1
  599. package/src/lib/resource-exception.js.map +0 -1
  600. package/src/lib/route-checked-di.d.ts.map +0 -1
  601. package/src/lib/route-checked-di.js.map +0 -1
  602. package/src/lib/schema-validation.d.ts.map +0 -1
  603. package/src/lib/schema-validation.js.map +0 -1
  604. package/src/lib/send-context-to-ai.d.ts.map +0 -1
  605. package/src/lib/send-context-to-ai.js.map +0 -1
  606. package/src/lib/send-context-to-ai.tokens.d.ts.map +0 -1
  607. package/src/lib/send-context-to-ai.tokens.js.map +0 -1
  608. package/src/lib/server-function-client.d.ts.map +0 -1
  609. package/src/lib/server-function-client.js.map +0 -1
  610. package/src/lib/server-function-contract.d.ts.map +0 -1
  611. package/src/lib/server-function-contract.js.map +0 -1
  612. package/src/lib/server-function-middleware.d.ts.map +0 -1
  613. package/src/lib/server-function-middleware.js.map +0 -1
  614. package/src/lib/server-function.d.ts.map +0 -1
  615. package/src/lib/server-function.js.map +0 -1
  616. package/src/lib/server-layer.d.ts.map +0 -1
  617. package/src/lib/server-layer.js.map +0 -1
  618. package/src/lib/server.d.ts.map +0 -1
  619. package/src/lib/server.js.map +0 -1
  620. package/src/lib/setup-craft-service-test.d.ts.map +0 -1
  621. package/src/lib/setup-craft-service-test.js.map +0 -1
  622. package/src/lib/setup-craft-service-testing-by-register.d.ts.map +0 -1
  623. package/src/lib/setup-craft-service-testing-by-register.js.map +0 -1
  624. package/src/lib/signal-proxy.d.ts.map +0 -1
  625. package/src/lib/signal-proxy.js.map +0 -1
  626. package/src/lib/signal-source.d.ts.map +0 -1
  627. package/src/lib/signal-source.js.map +0 -1
  628. package/src/lib/source$.d.ts.map +0 -1
  629. package/src/lib/source$.js.map +0 -1
  630. package/src/lib/source-from-event.d.ts.map +0 -1
  631. package/src/lib/source-from-event.js.map +0 -1
  632. package/src/lib/stacked-source.d.ts.map +0 -1
  633. package/src/lib/stacked-source.js.map +0 -1
  634. package/src/lib/standard-schema.d.ts.map +0 -1
  635. package/src/lib/standard-schema.js.map +0 -1
  636. package/src/lib/state-method-runtime-context.d.ts.map +0 -1
  637. package/src/lib/state-method-runtime-context.js.map +0 -1
  638. package/src/lib/state.d.ts.map +0 -1
  639. package/src/lib/state.js.map +0 -1
  640. package/src/lib/storage-persister.service.d.ts.map +0 -1
  641. package/src/lib/storage-persister.service.js.map +0 -1
  642. package/src/lib/take-app-snapshot.d.ts.map +0 -1
  643. package/src/lib/take-app-snapshot.js.map +0 -1
  644. package/src/lib/template-trace.d.ts.map +0 -1
  645. package/src/lib/template-trace.js.map +0 -1
  646. package/src/lib/temporal-runtime.d.ts.map +0 -1
  647. package/src/lib/temporal-runtime.js.map +0 -1
  648. package/src/lib/to-source.d.ts.map +0 -1
  649. package/src/lib/to-source.js.map +0 -1
  650. package/src/lib/util/craft-resource-ref.d.ts.map +0 -1
  651. package/src/lib/util/craft-resource-ref.js.map +0 -1
  652. package/src/lib/util/craft-resource-status.d.ts.map +0 -1
  653. package/src/lib/util/craft-resource-status.js.map +0 -1
  654. package/src/lib/util/entities-util.d.ts.map +0 -1
  655. package/src/lib/util/entities-util.js.map +0 -1
  656. package/src/lib/util/explicit-effect.d.ts.map +0 -1
  657. package/src/lib/util/explicit-effect.js.map +0 -1
  658. package/src/lib/util/extract-signal-props-and-methods.d.ts.map +0 -1
  659. package/src/lib/util/extract-signal-props-and-methods.js.map +0 -1
  660. package/src/lib/util/method-trigger-nonce.d.ts.map +0 -1
  661. package/src/lib/util/method-trigger-nonce.js.map +0 -1
  662. package/src/lib/util/persister.type.d.ts.map +0 -1
  663. package/src/lib/util/persister.type.js.map +0 -1
  664. package/src/lib/util/persister.util.d.ts.map +0 -1
  665. package/src/lib/util/persister.util.js.map +0 -1
  666. package/src/lib/util/react-on-mutation-effect.d.ts.map +0 -1
  667. package/src/lib/util/react-on-mutation-effect.js.map +0 -1
  668. package/src/lib/util/resource-by-id-changes-tracker.util.d.ts.map +0 -1
  669. package/src/lib/util/resource-by-id-changes-tracker.util.js.map +0 -1
  670. package/src/lib/util/source.type.d.ts.map +0 -1
  671. package/src/lib/util/source.type.js.map +0 -1
  672. package/src/lib/util/types/access-type-object-property-by-dotted-path.type.d.ts.map +0 -1
  673. package/src/lib/util/types/access-type-object-property-by-dotted-path.type.js.map +0 -1
  674. package/src/lib/util/types/boolean-or-mapper-fn-by-path-by-id.type.d.ts.map +0 -1
  675. package/src/lib/util/types/boolean-or-mapper-fn-by-path-by-id.type.js.map +0 -1
  676. package/src/lib/util/types/boolean-or-mapper-fn-by-path.type.d.ts.map +0 -1
  677. package/src/lib/util/types/boolean-or-mapper-fn-by-path.type.js.map +0 -1
  678. package/src/lib/util/types/brand.d.ts.map +0 -1
  679. package/src/lib/util/types/brand.js.map +0 -1
  680. package/src/lib/util/types/object-deep-path-mapper.type.d.ts.map +0 -1
  681. package/src/lib/util/types/object-deep-path-mapper.type.js.map +0 -1
  682. package/src/lib/util/types/resource-by-id-config.type.d.ts.map +0 -1
  683. package/src/lib/util/types/resource-by-id-config.type.js.map +0 -1
  684. package/src/lib/util/types/resource-with-params-or-params-fn.type.d.ts.map +0 -1
  685. package/src/lib/util/types/resource-with-params-or-params-fn.type.js.map +0 -1
  686. package/src/lib/util/types/shared.type.d.ts.map +0 -1
  687. package/src/lib/util/types/shared.type.js.map +0 -1
  688. package/src/lib/util/types/util.d.ts.map +0 -1
  689. package/src/lib/util/types/util.js.map +0 -1
  690. package/src/lib/util/types/util.type.d.ts.map +0 -1
  691. package/src/lib/util/types/util.type.js.map +0 -1
  692. package/src/lib/util/update-state.util.d.ts.map +0 -1
  693. package/src/lib/util/update-state.util.js.map +0 -1
  694. package/src/lib/util/util.d.ts.map +0 -1
  695. package/src/lib/util/util.js.map +0 -1
  696. package/src/lib/util/util.type.d.ts.map +0 -1
  697. package/src/lib/util/util.type.js.map +0 -1
  698. package/src/lib/yieldable.d.ts.map +0 -1
  699. package/src/lib/yieldable.js.map +0 -1
@@ -1,8 +1,8 @@
1
- import { effect, InjectionToken, isDevMode, untracked, } from '../host/craft-compat';
2
- import { REACTIVE_VALUE_TYPE, rawReactiveFacade } from '../reactive-read';
3
- import { CRAFT_NODE_EFFECT_FACTORY, craftNodeDirective, } from '../craft-node-directive';
4
- import { isCraftField, } from './craft-field';
5
- import { CRAFT_FIELD_EXCEPTION_BOUNDARY, CRAFT_FIELD_EXCEPTION_SOURCE, } from './field-exception';
1
+ import { effect, InjectionToken, isDevMode, untracked, } from '../host/craft-compat.js';
2
+ import { REACTIVE_VALUE_TYPE, rawReactiveFacade } from '../reactive-read.js';
3
+ import { CRAFT_NODE_EFFECT_FACTORY, craftNodeDirective, } from '../craft-node-directive.js';
4
+ import { isCraftField, } from './craft-field.js';
5
+ import { CRAFT_FIELD_EXCEPTION_BOUNDARY, CRAFT_FIELD_EXCEPTION_SOURCE, } from './field-exception.js';
6
6
  /**
7
7
  * Token used by custom controls to declare themselves as Craft form value controls.
8
8
  * A custom component should provide itself via this token to opt into [craftField] binding.
@@ -546,4 +546,3 @@ function formatDateForInput(date, inputType) {
546
546
  return date.toISOString();
547
547
  }
548
548
  }
549
- //# sourceMappingURL=craft-field.directive.js.map
@@ -1,4 +1,4 @@
1
- import { computed, isSignal, signal } from '../host/craft-compat';
1
+ import { computed, isSignal, signal } from '../host/craft-compat.js';
2
2
  /** Returns whether a value exposes the public Craft field contract. */
3
3
  export function isCraftField(value) {
4
4
  if (typeof value !== 'object' || value === null)
@@ -583,4 +583,3 @@ export function ɵgetOrCreateDerivedChild(parent, name, lens) {
583
583
  childInternals.__proxy = childProxy;
584
584
  return childProxy;
585
585
  }
586
- //# sourceMappingURL=craft-field.js.map
@@ -1,7 +1,7 @@
1
- import { InjectionToken, type Signal } from '../host/craft-compat';
2
- import type { AnyCraftException } from '../craft-exception';
3
- import type { CraftField } from './craft-field';
4
- import type { ValidatorOutput } from './validator';
1
+ import { InjectionToken, type Signal } from '../host/craft-compat.js';
2
+ import type { AnyCraftException } from '../craft-exception.js';
3
+ import type { CraftField } from './craft-field.js';
4
+ import type { ValidatorOutput } from './validator.js';
5
5
  /** Type-only metadata carried by configured form fields. */
6
6
  export declare const CRAFT_FIELD_VALIDATION_CASES: unique symbol;
7
7
  /** Runtime validation source exposed by `insertFormAttributes`. */
@@ -59,4 +59,3 @@ type ValidatorCases<Validator, Path extends string> = Validator extends Validato
59
59
  export type FieldValidationCasesFromInsertions<Insertions, Path extends string> = Insertions extends CraftFieldValidatorsCarrier<infer Validators> ? ValidatorCases<Validators, Path> : never;
60
60
  export declare function staticFieldPath(runtimePath: ReadonlyArray<string | number>): string;
61
61
  export {};
62
- //# sourceMappingURL=field-exception.d.ts.map
@@ -1,4 +1,4 @@
1
- import { InjectionToken } from '../host/craft-compat';
1
+ import { InjectionToken } from '../host/craft-compat.js';
2
2
  /** Runtime validation source exposed by `insertFormAttributes`. */
3
3
  export const CRAFT_FIELD_EXCEPTION_SOURCE = Symbol.for('@craft-ts/core/field-exception-source');
4
4
  /** Nearest runtime boundary used by `CraftFieldDirective`. */
@@ -34,4 +34,3 @@ export function staticFieldPath(runtimePath) {
34
34
  }
35
35
  return path;
36
36
  }
37
- //# sourceMappingURL=field-exception.js.map
@@ -26,4 +26,3 @@ export declare const splitLens: (separator: string, index: 0 | 1) => FieldLens<s
26
26
  * mapLens<string, number>((s) => Number(s), (n) => String(n))
27
27
  */
28
28
  export declare const mapLens: <A, B>(forward: (a: A) => B, backward: (b: B) => A) => FieldLens<A, B>;
29
- //# sourceMappingURL=field-lens.d.ts.map
@@ -29,4 +29,3 @@ export const mapLens = (forward, backward) => ({
29
29
  read: forward,
30
30
  write: (_source, next) => backward(next),
31
31
  });
32
- //# sourceMappingURL=field-lens.js.map
@@ -1,9 +1,9 @@
1
- import { type Signal, untracked } from '../host/craft-compat';
2
- import { CraftExceptionResult } from '../craft-exception';
3
- import type { MergeObject, Prettify, UnionToTuple } from '../util/util.type';
4
- import { type CraftFieldValidatorsCarrier, type FieldExceptionCollection, type FieldExceptionVisibility } from './field-exception';
5
- import type { InsertionFormFactoryContext, InsertionsFormFactory } from './insert-form-internals';
6
- import { type ValidatorOutput } from './validator';
1
+ import { type Signal, untracked } from '../host/craft-compat.js';
2
+ import { CraftExceptionResult } from '../craft-exception.js';
3
+ import type { MergeObject, Prettify, UnionToTuple } from '../util/util.type.js';
4
+ import { type CraftFieldValidatorsCarrier, type FieldExceptionCollection, type FieldExceptionVisibility } from './field-exception.js';
5
+ import type { InsertionFormFactoryContext, InsertionsFormFactory } from './insert-form-internals.js';
6
+ import { type ValidatorOutput } from './validator.js';
7
7
  type FormAttributeInput<T> = Signal<T> | (() => T);
8
8
  type AnyValidatorOutput = ValidatorOutput<any, string, any, any, any, any>;
9
9
  export type FormNodeExceptions = {
@@ -66,4 +66,3 @@ type FormAttributesOutputs<Validators> = CraftFieldValidatorsCarrier<Validators>
66
66
  export declare function insertFormAttributes<StateType, Validators extends AnyValidatorOutput = never, FormIdentifier extends string | number | unknown = unknown, PreviousInsertionsOutputs = {}>(_factory: (context: InsertFormAttributesContext<StateType, PreviousInsertionsOutputs, FormIdentifier>) => InsertFormAttributesConfig<StateType, Validators>): InsertionsFormFactory<StateType, FormIdentifier, FormAttributesOutputs<Validators>, PreviousInsertionsOutputs>;
67
67
  export declare function formAttributes<StateType, Validators extends AnyValidatorOutput = never, FormIdentifier extends string | number | unknown = unknown, PreviousInsertionsOutputs = {}>(context: InsertFormAttributesContext<StateType, PreviousInsertionsOutputs, FormIdentifier>, config: InsertFormAttributesConfig<StateType, Validators>): FormAttributesOutputs<Validators>;
68
68
  export { untracked };
69
- //# sourceMappingURL=insert-form-attributes.d.ts.map
@@ -1,8 +1,8 @@
1
- import { computed, inject, Injector, untracked, } from '../host/craft-compat';
2
- import { ɵcreateHostTaggedInjector } from '../craft-service';
3
- import { executeGeneratorCompatibleFactory } from '../craft-generator-runtime';
4
- import { CRAFT_FIELD_EXCEPTION_SOURCE, DEFAULT_FIELD_EXCEPTION_VISIBILITY, fieldExceptionVisibilityMatches, staticFieldPath, } from './field-exception';
5
- import { VALIDATOR_OUTPUT_SYMBOL } from './validator';
1
+ import { computed, inject, Injector, untracked, } from '../host/craft-compat.js';
2
+ import { ɵcreateHostTaggedInjector } from '../craft-service.js';
3
+ import { executeGeneratorCompatibleFactory } from '../craft-generator-runtime.js';
4
+ import { CRAFT_FIELD_EXCEPTION_SOURCE, DEFAULT_FIELD_EXCEPTION_VISIBILITY, fieldExceptionVisibilityMatches, staticFieldPath, } from './field-exception.js';
5
+ import { VALIDATOR_OUTPUT_SYMBOL } from './validator.js';
6
6
  const EMPTY_EXCEPTIONS = {
7
7
  list: [],
8
8
  byValidator: {},
@@ -160,4 +160,3 @@ function matchesBrand(error, brands) {
160
160
  }
161
161
  // Re-export untracked for backward compat (unused by current consumers)
162
162
  export { untracked };
163
- //# sourceMappingURL=insert-form-attributes.js.map
@@ -1,12 +1,12 @@
1
- import { Injector, Signal } from '../host/craft-compat';
2
- import type { InsertionStateFactoryContext } from '../query.core';
3
- import { Source$ as SourceDollarType } from '../source$';
4
- import { MergeObject } from '../util/types/util.type';
5
- import { FilterSource, IsEmptyObject } from '../util/util.type';
6
- import { CraftFieldTree } from './craft-field';
7
- import { type NonYieldableInsertionMethod, type YieldableInsertionMethods } from '../yieldable';
8
- import type { YieldableInsertionWrite } from '../query.core';
9
- import { type CraftFieldExceptionSourceCarrier, type CraftFieldValidationCasesCarrier, type FieldValidationCasesFromInsertions } from './field-exception';
1
+ import { Injector, Signal } from '../host/craft-compat.js';
2
+ import type { InsertionStateFactoryContext } from '../query.core.js';
3
+ import { Source$ as SourceDollarType } from '../source$.js';
4
+ import { MergeObject } from '../util/types/util.type.js';
5
+ import { FilterSource, IsEmptyObject } from '../util/util.type.js';
6
+ import { CraftFieldTree } from './craft-field.js';
7
+ import { type NonYieldableInsertionMethod, type YieldableInsertionMethods } from '../yieldable.js';
8
+ import type { YieldableInsertionWrite } from '../query.core.js';
9
+ import { type CraftFieldExceptionSourceCarrier, type CraftFieldValidationCasesCarrier, type FieldValidationCasesFromInsertions } from './field-exception.js';
10
10
  type Source$Method<SourceType> = [SourceType] extends [void] ? () => Generator<never, void, unknown> : (value: SourceType) => Generator<never, void, unknown>;
11
11
  type RawExposedFormInsertions<Insertions> = YieldableInsertionMethods<MergeObject<IsEmptyObject<Insertions> extends true ? {} : FilterSource<Insertions>, {
12
12
  [K in keyof FilterSource<Insertions> as FilterSource<Insertions>[K] extends SourceDollarType<any> ? K : never]: FilterSource<Insertions>[K] extends SourceDollarType<infer SourceType> ? Source$Method<SourceType> : never;
@@ -55,8 +55,8 @@ export declare function createFormExceptions(rawInsertionsOutput: Record<string,
55
55
  hasExceptions?: undefined;
56
56
  exceptions?: undefined;
57
57
  } | {
58
- hasExceptions: import("../..").ɵCraftSignal<boolean>;
59
- exceptions: import("../..").ɵCraftSignal<{
58
+ hasExceptions: import("../...js").ɵCraftSignal<boolean>;
59
+ exceptions: import("../...js").ɵCraftSignal<{
60
60
  [x: string]: unknown;
61
61
  }>;
62
62
  };
@@ -107,4 +107,3 @@ export declare function executeFormInsertions<Model>(formInsertions: InsertionsF
107
107
  exposedInsertionsOutput: Record<string, unknown>;
108
108
  };
109
109
  export {};
110
- //# sourceMappingURL=insert-form-internals.d.ts.map
@@ -1,10 +1,10 @@
1
- import { computed, isSignal, runInInjectionContext, signal, } from '../host/craft-compat';
2
- import { isGenerator, runCraftGenerator } from '../craft-generator-runtime';
3
- import { injectFnWrapper } from '../fn-wrapper';
4
- import { ɵcreateHostTaggedInjector } from '../craft-service';
5
- import { isSource } from '../util/util';
6
- import { createYieldableInsertionMethod, isNonYieldableInsertionMethod, yieldableInvocation, } from '../yieldable';
7
- import { createYieldableReactiveValue, isYieldableReactiveValue, } from '../reactive-read';
1
+ import { computed, isSignal, runInInjectionContext, signal, } from '../host/craft-compat.js';
2
+ import { isGenerator, runCraftGenerator } from '../craft-generator-runtime.js';
3
+ import { injectFnWrapper } from '../fn-wrapper.js';
4
+ import { ɵcreateHostTaggedInjector } from '../craft-service.js';
5
+ import { isSource } from '../util/util.js';
6
+ import { createYieldableInsertionMethod, isNonYieldableInsertionMethod, yieldableInvocation, } from '../yieldable.js';
7
+ import { createYieldableReactiveValue, isYieldableReactiveValue, } from '../reactive-read.js';
8
8
  export const validatedFormValueSymbol = Symbol('validatedFormValue');
9
9
  function isSource$(value) {
10
10
  return (typeof value === 'object' &&
@@ -18,8 +18,6 @@ const FORM_INSERTION_METHOD_INVALID_YIELD_ERROR_MESSAGE = 'form insertion method
18
18
  const FORM_INSERTION_METHOD_APP_START_ERROR_MESSAGE = 'form insertion method generators do not support onAppStart(...).';
19
19
  function createExposedInsertions(rawInsertionsOutput, injector) {
20
20
  return Object.entries(rawInsertionsOutput).reduce((acc, [key, value]) => {
21
- if (isSource(value))
22
- return acc;
23
21
  if (isSource$(value)) {
24
22
  const localSource = value;
25
23
  const sourceInjector = ɵcreateHostTaggedInjector(injector, `source:${key}`);
@@ -31,6 +29,8 @@ function createExposedInsertions(rawInsertionsOutput, injector) {
31
29
  });
32
30
  return acc;
33
31
  }
32
+ if (isSource(value))
33
+ return acc;
34
34
  if (typeof value === 'function' &&
35
35
  !isSignal(value) &&
36
36
  !isYieldableReactiveValue(value) &&
@@ -273,4 +273,3 @@ export function executeFormInsertions(formInsertions, options) {
273
273
  exposedInsertionsOutput: {},
274
274
  });
275
275
  }
276
- //# sourceMappingURL=insert-form-internals.js.map
@@ -1,10 +1,9 @@
1
- import { type Signal } from '../host/craft-compat';
2
- import { type CraftSchema, type SchemaInput, type SchemaValidationException } from '../schema-validation';
3
- import type { InsertionsFormFactory } from './insert-form-internals';
1
+ import { type Signal } from '../host/craft-compat.js';
2
+ import { type CraftSchema, type SchemaInput, type SchemaValidationException } from '../schema-validation.js';
3
+ import type { InsertionsFormFactory } from './insert-form-internals.js';
4
4
  export type FormSchemaInsertionOutputs = {
5
5
  hasSchema: Signal<true>;
6
6
  hasSchemaExceptions: Signal<boolean>;
7
7
  schemaExceptions: Signal<ReadonlyArray<SchemaValidationException>>;
8
8
  };
9
9
  export declare function insertFormSchema<Schema extends CraftSchema>(schema: Schema): InsertionsFormFactory<SchemaInput<Schema>, unknown, FormSchemaInsertionOutputs, {}>;
10
- //# sourceMappingURL=insert-form-schema.d.ts.map
@@ -1,7 +1,7 @@
1
- import { computed, inject, Injector } from '../host/craft-compat';
2
- import { createSchemaValidationException, parseSchema, } from '../schema-validation';
3
- import { rawReactiveValue } from '../reactive-read';
4
- import { craftLinkedSignal } from '../host/craft-linked-signal';
1
+ import { computed, inject, Injector } from '../host/craft-compat.js';
2
+ import { createSchemaValidationException, parseSchema, } from '../schema-validation.js';
3
+ import { rawReactiveValue } from '../reactive-read.js';
4
+ import { craftLinkedSignal } from '../host/craft-linked-signal.js';
5
5
  function normalizeIssuePath(path) {
6
6
  if (!path)
7
7
  return [];
@@ -59,4 +59,3 @@ export function insertFormSchema(schema) {
59
59
  };
60
60
  };
61
61
  }
62
- //# sourceMappingURL=insert-form-schema.js.map
@@ -1,10 +1,10 @@
1
- import { Signal } from '../host/craft-compat';
2
- import { AnyCraftException, ExcludeByCode, ExtractCodeFromCraftResultUnion, InsertMetaInCraftExceptionIfExists } from '../craft-exception';
3
- import { ResourceByIdLikeMutationRef, ResourceLikeMutationRef } from '../mutation';
4
- import { ResourceExceptionConstraints } from '../query.core';
5
- import { MergeObjects } from '../util/util.type';
6
- import type { YieldableReactiveValue } from '../reactive-read';
7
- import { FormWithInsertions, InsertionsFormFactory } from './insert-form-internals';
1
+ import { Signal } from '../host/craft-compat.js';
2
+ import { AnyCraftException, ExcludeByCode, ExtractCodeFromCraftResultUnion, InsertMetaInCraftExceptionIfExists } from '../craft-exception.js';
3
+ import { ResourceByIdLikeMutationRef, ResourceLikeMutationRef } from '../mutation.js';
4
+ import { ResourceExceptionConstraints } from '../query.core.js';
5
+ import { MergeObjects } from '../util/util.type.js';
6
+ import type { YieldableReactiveValue } from '../reactive-read.js';
7
+ import { FormWithInsertions, InsertionsFormFactory } from './insert-form-internals.js';
8
8
  type SubmitContext<FormValue, SubmitCraftResource, CurrentExceptions, SubmitExceptions = ExtractCodeFromCraftResultUnion<CurrentExceptions>> = {
9
9
  submitCraftResource: SubmitCraftResource;
10
10
  form: FormWithInsertions<FormValue, {}>;
@@ -76,4 +76,3 @@ export declare function insertFormSubmit<FormValue, SubmitCraftResourceById exte
76
76
  submitExceptions: Signal<ToSubmitExceptions<SubmitExceptions, Config, FormIdentifier>[]>;
77
77
  }>;
78
78
  export {};
79
- //# sourceMappingURL=insert-form-submit.d.ts.map
@@ -1,6 +1,6 @@
1
- import { computed, effect, inject, Injector, untracked, } from '../host/craft-compat';
2
- import { rawReactiveFacade } from '../reactive-read';
3
- import { executeYieldable } from '../yieldable';
1
+ import { computed, effect, inject, Injector, untracked, } from '../host/craft-compat.js';
2
+ import { rawReactiveFacade } from '../reactive-read.js';
3
+ import { executeYieldable } from '../yieldable.js';
4
4
  function isCraftExceptionLike(value) {
5
5
  return (typeof value === 'object' &&
6
6
  value !== null &&
@@ -123,4 +123,3 @@ export function insertFormSubmit(submitCraftResource, config) {
123
123
  };
124
124
  };
125
125
  }
126
- //# sourceMappingURL=insert-form-submit.js.map
@@ -1,9 +1,9 @@
1
- import { Signal } from '../host/craft-compat';
2
- import { InsertionsStateFactory } from '../query.core';
3
- import type { FormWithInsertions, InsertionsFormFactory } from './insert-form-internals';
4
- import { type NonYieldableInsertionMethod } from '../yieldable';
5
- export { validatedFormValueSymbol } from './insert-form-internals';
6
- export type { FormWithInsertions, InsertionFormFactoryContext, InsertionsFormFactory, ValidatedFormValue, } from './insert-form-internals';
1
+ import { Signal } from '../host/craft-compat.js';
2
+ import { InsertionsStateFactory } from '../query.core.js';
3
+ import type { FormWithInsertions, InsertionsFormFactory } from './insert-form-internals.js';
4
+ import { type NonYieldableInsertionMethod } from '../yieldable.js';
5
+ export { validatedFormValueSymbol } from './insert-form-internals.js';
6
+ export type { FormWithInsertions, InsertionFormFactoryContext, InsertionsFormFactory, ValidatedFormValue, } from './insert-form-internals.js';
7
7
  type ExtractItemType<T> = T extends readonly (infer Item)[] ? Item : never;
8
8
  type InsertFormSimpleOutput<StateType, Insertions> = {
9
9
  form: FormWithInsertions<StateType, Insertions>;
@@ -36,4 +36,3 @@ export declare function insertForm<StateType extends unknown[], GroupIdentifier
36
36
  export declare function insertForm<StateType extends unknown[], GroupIdentifier extends string | number, Insertion1, Insertion2, PreviousInsertionsOutputs = {}>(config: ParallelInsertFormConfig<ExtractItemType<StateType>, GroupIdentifier>, insertion1: InsertionsFormFactory<ExtractItemType<StateType>, GroupIdentifier, Insertion1, PreviousInsertionsOutputs>, insertion2: InsertionsFormFactory<ExtractItemType<StateType>, GroupIdentifier, Insertion2, PreviousInsertionsOutputs & Insertion1>): InsertFormParallelReturn<StateType, Insertion1 & Insertion2, PreviousInsertionsOutputs>;
37
37
  export declare function insertForm<StateType extends unknown[], GroupIdentifier extends string | number, Insertion1, Insertion2, Insertion3, PreviousInsertionsOutputs = {}>(config: ParallelInsertFormConfig<ExtractItemType<StateType>, GroupIdentifier>, insertion1: InsertionsFormFactory<ExtractItemType<StateType>, GroupIdentifier, Insertion1, PreviousInsertionsOutputs>, insertion2: InsertionsFormFactory<ExtractItemType<StateType>, GroupIdentifier, Insertion2, PreviousInsertionsOutputs & Insertion1>, insertion3: InsertionsFormFactory<ExtractItemType<StateType>, GroupIdentifier, Insertion3, PreviousInsertionsOutputs & Insertion1 & Insertion2>): InsertFormParallelReturn<StateType, Insertion1 & Insertion2 & Insertion3, PreviousInsertionsOutputs>;
38
38
  export declare function insertForm<StateType extends unknown[], GroupIdentifier extends string | number, Insertion1, Insertion2, Insertion3, Insertion4, PreviousInsertionsOutputs = {}>(config: ParallelInsertFormConfig<ExtractItemType<StateType>, GroupIdentifier>, insertion1: InsertionsFormFactory<ExtractItemType<StateType>, GroupIdentifier, Insertion1, PreviousInsertionsOutputs>, insertion2: InsertionsFormFactory<ExtractItemType<StateType>, GroupIdentifier, Insertion2, PreviousInsertionsOutputs & Insertion1>, insertion3: InsertionsFormFactory<ExtractItemType<StateType>, GroupIdentifier, Insertion3, PreviousInsertionsOutputs & Insertion1 & Insertion2>, insertion4: InsertionsFormFactory<ExtractItemType<StateType>, GroupIdentifier, Insertion4, PreviousInsertionsOutputs & Insertion1 & Insertion2 & Insertion3>): InsertFormParallelReturn<StateType, Insertion1 & Insertion2 & Insertion3 & Insertion4, PreviousInsertionsOutputs>;
39
- //# sourceMappingURL=insert-form.d.ts.map
@@ -1,11 +1,11 @@
1
- import { computed, DestroyRef, inject, Injector, runInInjectionContext, untracked, } from '../host/craft-compat';
2
- import { ɵcreateHostTaggedInjector } from '../craft-service';
3
- import { createCraftFieldTree } from './craft-field';
4
- import { craftLinkedSignal, } from '../host/craft-linked-signal';
5
- import { createFormExceptions, createSubmissionController, executeFormInsertions, validatedFormValueSymbol, } from './insert-form-internals';
6
- import { markNonYieldableInsertionMethod, yieldableInvocation, } from '../yieldable';
7
- import { createYieldableReactiveValue, rawReactiveValue, } from '../reactive-read';
8
- export { validatedFormValueSymbol } from './insert-form-internals';
1
+ import { computed, DestroyRef, inject, Injector, runInInjectionContext, untracked, } from '../host/craft-compat.js';
2
+ import { ɵcreateHostTaggedInjector } from '../craft-service.js';
3
+ import { createCraftFieldTree } from './craft-field.js';
4
+ import { craftLinkedSignal, } from '../host/craft-linked-signal.js';
5
+ import { createFormExceptions, createSubmissionController, executeFormInsertions, validatedFormValueSymbol, } from './insert-form-internals.js';
6
+ import { markNonYieldableInsertionMethod, yieldableInvocation, } from '../yieldable.js';
7
+ import { createYieldableReactiveValue, rawReactiveValue, } from '../reactive-read.js';
8
+ export { validatedFormValueSymbol } from './insert-form-internals.js';
9
9
  function isParallelInsertFormConfig(value) {
10
10
  return (typeof value === 'object' &&
11
11
  value !== null &&
@@ -252,4 +252,3 @@ export function insertForm(...args) {
252
252
  };
253
253
  };
254
254
  }
255
- //# sourceMappingURL=insert-form.js.map
@@ -1,5 +1,5 @@
1
- import { type FormWithInsertions, type InsertionFormFactoryContext, type InsertionsFormFactory } from './insert-form-internals';
2
- import type { NonYieldableInsertionMethod } from '../yieldable';
1
+ import { type FormWithInsertions, type InsertionFormFactoryContext, type InsertionsFormFactory } from './insert-form-internals.js';
2
+ import type { NonYieldableInsertionMethod } from '../yieldable.js';
3
3
  type ExtractItemType<T> = T extends readonly (infer Item)[] ? Item : never;
4
4
  type MergeInsertions<Insertions extends readonly unknown[], Acc = {}> = Insertions extends readonly [infer Head, ...infer Tail] ? MergeInsertions<Tail, Acc & Head> : Acc;
5
5
  type SelectedFormTreeTarget<StateType, Name extends string> = StateType extends readonly (infer Item)[] ? Extract<Item, object> : StateType extends Record<string, unknown> ? Name extends keyof StateType ? StateType[Name] : never : never;
@@ -30,4 +30,3 @@ export declare function insertSelectFormTree<StateType, const Name extends AutoC
30
30
  ], PreviousInsertionsOutputs>;
31
31
  export declare function selectFormTree<StateType, const Name extends AutoCompleteName & string, FormIdentifier extends string | number | unknown = unknown, Insertion1 = {}, PreviousInsertionsOutputs = {}, AutoCompleteName = NoInfer<StateType> extends readonly object[] ? string : keyof NoInfer<StateType>>(context: InsertionFormFactoryContext<StateType, PreviousInsertionsOutputs, FormIdentifier>, name: Name, insertion1: InsertionsFormFactory<SelectedFormTreeTarget<StateType, Name>, FormIdentifier, Insertion1, PreviousInsertionsOutputs>): SelectFormTreeOutput<StateType, Name, [Insertion1]>;
32
32
  export {};
33
- //# sourceMappingURL=insert-select-form-tree.d.ts.map
@@ -1,8 +1,8 @@
1
- import { inject, Injector } from '../host/craft-compat';
2
- import { ɵcreateHostTaggedInjector } from '../craft-service';
3
- import { markNonYieldableInsertionMethod } from '../yieldable';
4
- import { buildSubForm, } from './insert-form-internals';
5
- import { rawReactiveValue } from '../reactive-read';
1
+ import { inject, Injector } from '../host/craft-compat.js';
2
+ import { ɵcreateHostTaggedInjector } from '../craft-service.js';
3
+ import { markNonYieldableInsertionMethod } from '../yieldable.js';
4
+ import { buildSubForm, } from './insert-form-internals.js';
5
+ import { rawReactiveValue } from '../reactive-read.js';
6
6
  function createObjectRuntime(propertyKey,
7
7
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
8
8
  insertions) {
@@ -141,4 +141,3 @@ insertion1) {
141
141
  }
142
142
  return createObjectRuntime(name, [insertion1])(context);
143
143
  }
144
- //# sourceMappingURL=insert-select-form-tree.js.map
@@ -1,6 +1,6 @@
1
- import type { FieldLens } from './field-lens';
2
- import { type FormWithInsertions, type InsertionsFormFactory } from './insert-form-internals';
3
- import { type NonYieldableInsertionMethod } from '../yieldable';
1
+ import type { FieldLens } from './field-lens.js';
2
+ import { type FormWithInsertions, type InsertionsFormFactory } from './insert-form-internals.js';
3
+ import { type NonYieldableInsertionMethod } from '../yieldable.js';
4
4
  type MergeInsertions<Insertions extends readonly unknown[], Acc = {}> = Insertions extends readonly [infer Head, ...infer Tail] ? MergeInsertions<Tail, Acc & Head> : Acc;
5
5
  type SubFormFieldMethodName<Name extends string> = `select${Capitalize<Name>}`;
6
6
  type InsertSubFormFieldOutput<Sub, Name extends string, Insertions extends readonly unknown[]> = {
@@ -14,4 +14,3 @@ export declare function insertSubFormField<Source, Sub, const Name extends strin
14
14
  Insertion1
15
15
  ], PreviousInsertionsOutputs>;
16
16
  export {};
17
- //# sourceMappingURL=insert-sub-form-field.d.ts.map
@@ -1,9 +1,9 @@
1
- import { inject, Injector } from '../host/craft-compat';
2
- import { ɵcreateHostTaggedInjector } from '../craft-service';
3
- import { ɵgetOrCreateDerivedChild } from './craft-field';
4
- import { buildSubForm, } from './insert-form-internals';
5
- import { markNonYieldableInsertionMethod, } from '../yieldable';
6
- import { rawReactiveValue } from '../reactive-read';
1
+ import { inject, Injector } from '../host/craft-compat.js';
2
+ import { ɵcreateHostTaggedInjector } from '../craft-service.js';
3
+ import { ɵgetOrCreateDerivedChild } from './craft-field.js';
4
+ import { buildSubForm, } from './insert-form-internals.js';
5
+ import { markNonYieldableInsertionMethod, } from '../yieldable.js';
6
+ import { rawReactiveValue } from '../reactive-read.js';
7
7
  // =====================================================================
8
8
  // Implementation
9
9
  // =====================================================================
@@ -38,4 +38,3 @@ insertion1) {
38
38
  };
39
39
  };
40
40
  }
41
- //# sourceMappingURL=insert-sub-form-field.js.map
@@ -1,4 +1,4 @@
1
- import type { FormWithInsertions, InsertionsFormFactory } from './insert-form-internals';
1
+ import type { FormWithInsertions, InsertionsFormFactory } from './insert-form-internals.js';
2
2
  declare const formTreeNeedBrand: unique symbol;
3
3
  /**
4
4
  * Phantom-typed marker returned by `formTreeNeed<T>()`. Carries `T` only at
@@ -19,4 +19,3 @@ type MakeFormTreeInsertReturn<HostName extends string, NeedShape, MergedInsertio
19
19
  };
20
20
  export declare function makeFormTreeInsert<const HostName extends string, NeedShape, Insertion1, Insertion1Yielded = never>(hostName: HostName, needShape: FormTreeNeed<NeedShape>, insertion1: InsertionsFormFactory<NeedShape, unknown, Insertion1, {}, Insertion1Yielded>): MakeFormTreeInsertReturn<HostName, NeedShape, Insertion1>;
21
21
  export {};
22
- //# sourceMappingURL=make-form-tree-insert.d.ts.map
@@ -1,6 +1,6 @@
1
- import { inject, Injector, runInInjectionContext } from '../host/craft-compat';
2
- import { ɵcreateHostTaggedInjector } from '../craft-service';
3
- import { isGenerator, runCraftGenerator } from '../craft-generator-runtime';
1
+ import { inject, Injector, runInInjectionContext } from '../host/craft-compat.js';
2
+ import { ɵcreateHostTaggedInjector } from '../craft-service.js';
3
+ import { isGenerator, runCraftGenerator } from '../craft-generator-runtime.js';
4
4
  export function formTreeNeed() {
5
5
  return undefined;
6
6
  }
@@ -40,4 +40,3 @@ insertion1) {
40
40
  [`${hostName}Tree`]: undefined,
41
41
  };
42
42
  }
43
- //# sourceMappingURL=make-form-tree-insert.js.map
@@ -8,4 +8,3 @@ export type FormFieldPath<Form, D extends ReadonlyArray<unknown> = []> = D['leng
8
8
  type ResolveFormFieldPath<Form, Path extends string> = Path extends `${infer Head}.${infer Rest}` ? Head extends keyof Form ? Form[Head] extends (...args: never[]) => infer R ? NonNullable<R> extends ReadonlyArray<infer Item> ? ResolveFormFieldPath<Item, Rest> : ResolveFormFieldPath<NonNullable<R>, Rest> : never : never : Path extends keyof Form ? Form[Path] extends (...args: never[]) => infer R ? NonNullable<R> extends ReadonlyArray<infer Item> ? Item : NonNullable<R> : never : never;
9
9
  export type TargetFormField<Form, Path extends FormFieldPath<Form>> = ResolveFormFieldPath<Form, Path>;
10
10
  export {};
11
- //# sourceMappingURL=target-form-field.d.ts.map
@@ -1 +0,0 @@
1
- //# sourceMappingURL=target-form-field.js.map
@@ -1,8 +1,8 @@
1
- import { Signal } from '../host/craft-compat';
2
- import { AnyCraftException, CraftExceptionResult, ExcludeByCode, ExtractCodeFromCraftResultUnion } from '../craft-exception';
3
- import { type YieldableReactiveValue } from '../reactive-read';
4
- import { MergeObjects } from '../util/util.type';
5
- import { CraftValidator, CraftValidatorContext, FieldAttributeMeta } from './craft-field';
1
+ import { Signal } from '../host/craft-compat.js';
2
+ import { AnyCraftException, CraftExceptionResult, ExcludeByCode, ExtractCodeFromCraftResultUnion } from '../craft-exception.js';
3
+ import { type YieldableReactiveValue } from '../reactive-read.js';
4
+ import { MergeObjects } from '../util/util.type.js';
5
+ import { CraftValidator, CraftValidatorContext, FieldAttributeMeta } from './craft-field.js';
6
6
  export declare const VALIDATOR_OUTPUT_SYMBOL: unique symbol;
7
7
  export type ValidatorType = 'sync' | 'async';
8
8
  export type ValidatorUtilBrand<Name, Type extends ValidatorType = ValidatorType, Meta extends object = {}> = {
@@ -171,4 +171,3 @@ export declare const cValidator: typeof cValidate;
171
171
  export declare function cAsyncValidate<TValue, TResourceRef extends AnyAsyncCraftResourceRef, const Name extends string, SuccessExceptions = undefined, ErrorExceptions = undefined, ExceptionExceptions = unknown, Identifier = AsyncValidatorResourceIdentifier<TResourceRef>>(resourceRef: TResourceRef, config: CAsyncValidateConfig<TValue, Name, TResourceRef, SuccessExceptions, ErrorExceptions, ExceptionExceptions, Identifier>): ValidatorOutput<TValue, Name, ToAsyncValidatorExceptions<AsyncValidatorResourceExceptionUnion<AsyncValidatorResourceTarget<TResourceRef>>, SuccessExceptions, ErrorExceptions, ExceptionExceptions>, 'async', Identifier>;
172
172
  export declare const cAsyncValidator: typeof cAsyncValidate;
173
173
  export type { CraftValidator, CraftValidatorContext, FieldAttributeMeta };
174
- //# sourceMappingURL=validator.d.ts.map
@@ -1,6 +1,6 @@
1
- import { computed, effect, signal, untracked } from '../host/craft-compat';
2
- import { CRAFT_EXCEPTION_SYMBOL, isCraftException, } from '../craft-exception';
3
- import { isYieldableReactiveValue, rawReactiveFacade, rawReactiveValue, } from '../reactive-read';
1
+ import { computed, effect, signal, untracked } from '../host/craft-compat.js';
2
+ import { CRAFT_EXCEPTION_SYMBOL, isCraftException, } from '../craft-exception.js';
3
+ import { isYieldableReactiveValue, rawReactiveFacade, rawReactiveValue, } from '../reactive-read.js';
4
4
  export const VALIDATOR_OUTPUT_SYMBOL = Symbol('VALIDATOR_OUTPUT_SYMBOL');
5
5
  const SYNC_VALIDATOR_TYPE = 'sync';
6
6
  const ASYNC_VALIDATOR_TYPE = 'async';
@@ -462,4 +462,3 @@ export function cAsyncValidate(resourceRef, config) {
462
462
  return createCustomAsyncValidator(resourceRef, config);
463
463
  }
464
464
  export const cAsyncValidator = cAsyncValidate;
465
- //# sourceMappingURL=validator.js.map
@@ -1,5 +1,5 @@
1
- import { type NamedCraftPrimitiveGen } from './craft-primitive-gen';
2
- import type { ReadonlySource$ } from './source$';
1
+ import { type NamedCraftPrimitiveGen } from './craft-primitive-gen.js';
2
+ import type { ReadonlySource$ } from './source$.js';
3
3
  type FromEventToSourceInstance<T, Name extends string = string> = ReadonlySource$<T, Name> & {
4
4
  dispose: () => void;
5
5
  };
@@ -207,4 +207,3 @@ export declare function fromEventToSource$<T, ComputedValue, Name extends string
207
207
  computedValue: (event: T) => ComputedValue;
208
208
  }): FromEventToSource$<ComputedValue, Name>;
209
209
  export {};
210
- //# sourceMappingURL=from-event-to-source$.d.ts.map
@@ -1,6 +1,6 @@
1
- import { assertInInjectionContext, DestroyRef, inject } from './host/craft-compat';
2
- import { source$ } from './source$';
3
- import { createNamedPrimitiveGen, } from './craft-primitive-gen';
1
+ import { assertInInjectionContext, DestroyRef, inject } from './host/craft-compat.js';
2
+ import { source$ } from './source$.js';
3
+ import { createNamedPrimitiveGen, } from './craft-primitive-gen.js';
4
4
  export function fromEventToSource$(target, eventName, options) {
5
5
  assertInInjectionContext(fromEventToSource$);
6
6
  const eventSource$ = source$(eventName);
@@ -26,4 +26,3 @@ export function fromEventToSource$(target, eventName, options) {
26
26
  const generator = createNamedPrimitiveGen(eventName, source);
27
27
  return Object.assign(generator, source);
28
28
  }
29
- //# sourceMappingURL=from-event-to-source$.js.map
@@ -1,4 +1,4 @@
1
- import { type CraftServiceApi, type ServiceTrackingMetadata } from './craft-service';
1
+ import { type CraftServiceApi, type ServiceTrackingMetadata } from './craft-service.js';
2
2
  export type GlobalPersisterHandlerServiceApi = {
3
3
  clearAllCache(): void;
4
4
  };
@@ -7,4 +7,3 @@ export declare const GlobalPersisterHandlerService: GlobalPersisterHandlerServic
7
7
  export declare const provideGlobalPersisterHandlerService: GlobalPersisterHandlerServiceCraftApi['provideGlobalPersisterHandlerService'];
8
8
  export declare const GLOBAL_PERSISTER_HANDLER_SERVICE_META_DATA: GlobalPersisterHandlerServiceCraftApi['GLOBAL_PERSISTER_HANDLER_SERVICE_META_DATA'];
9
9
  export {};
10
- //# sourceMappingURL=global-persister-handler.service.d.ts.map
@@ -1,5 +1,5 @@
1
- import { craftService, } from './craft-service';
2
- import { StoragePersister } from './storage-persister.service';
1
+ import { craftService, } from './craft-service.js';
2
+ import { StoragePersister } from './storage-persister.service.js';
3
3
  /**
4
4
  * Yields the global craft service responsible for clearing persisted `@craft-ts`
5
5
  * cache entries from the configured storage persister.
@@ -37,4 +37,3 @@ const globalPersisterHandlerService = craftService({
37
37
  export const GlobalPersisterHandlerService = globalPersisterHandlerService.GlobalPersisterHandlerService;
38
38
  export const provideGlobalPersisterHandlerService = globalPersisterHandlerService.provideGlobalPersisterHandlerService;
39
39
  export const GLOBAL_PERSISTER_HANDLER_SERVICE_META_DATA = globalPersisterHandlerService.GLOBAL_PERSISTER_HANDLER_SERVICE_META_DATA;
40
- //# sourceMappingURL=global-persister-handler.service.js.map
@@ -1,6 +1,6 @@
1
1
  import { Observable, type MonoTypeOperatorFunction } from 'rxjs';
2
- import { type CraftInjector, type CraftInjectToken, type CraftProvider, type CraftToken } from './craft-injector';
3
- import { type CraftSignal, type CraftWritableSignal } from './craft-signal';
2
+ import { type CraftInjector, type CraftInjectToken, type CraftProvider, type CraftToken } from './craft-injector.js';
3
+ import { type CraftSignal, type CraftWritableSignal } from './craft-signal.js';
4
4
  export type Signal<T> = (() => T) & CraftSignal<T>;
5
5
  export type WritableSignal<T> = Signal<T> & CraftWritableSignal<T>;
6
6
  export type Type<T> = new (...args: any[]) => T;
@@ -239,4 +239,3 @@ export type ToObservableOptions = {
239
239
  };
240
240
  export declare function toObservable<T>(source: Signal<T>, options?: ToObservableOptions): Observable<T>;
241
241
  export {};
242
- //# sourceMappingURL=craft-compat.d.ts.map
@@ -1,6 +1,6 @@
1
1
  import { Observable } from 'rxjs';
2
- import { createCraftInjector, getCurrentCraftInjector, isCraftInjector, ɵcreateCraftInjectorFromHost, } from './craft-injector';
3
- import { craftBatch, craftComputed, craftLinkedSignal, craftSignal, craftWatch, isCraftSignal, untracked as craftUntracked, } from './craft-signal';
2
+ import { createCraftInjector, getCurrentCraftInjector, isCraftInjector, ɵcreateCraftInjectorFromHost, } from './craft-injector.js';
3
+ import { craftBatch, craftComputed, craftLinkedSignal, craftSignal, craftWatch, isCraftSignal, untracked as craftUntracked, } from './craft-signal.js';
4
4
  const rootDefaultProviders = [];
5
5
  export class InjectionToken {
6
6
  debugName;
@@ -441,4 +441,3 @@ export function toObservable(source, options) {
441
441
  : start();
442
442
  });
443
443
  }
444
- //# sourceMappingURL=craft-compat.js.map
@@ -13,4 +13,3 @@ export interface CraftDomAdapter {
13
13
  listen(target: EventTarget, event: string, handler: EventListener): () => void;
14
14
  }
15
15
  export declare function createBrowserDomAdapter(document: Document): CraftDomAdapter;
16
- //# sourceMappingURL=craft-dom.d.ts.map
@@ -21,4 +21,3 @@ export function createBrowserDomAdapter(document) {
21
21
  },
22
22
  };
23
23
  }
24
- //# sourceMappingURL=craft-dom.js.map
@@ -19,4 +19,3 @@ type CraftHttpResponseMetadata = {
19
19
  export declare function craftFetchTransport<T = unknown>(request: CraftHttpRequest): Promise<CraftHttpResponse<T>>;
20
20
  export declare function ɵgetCraftHttpResponseMetadata(response: CraftHttpResponse<unknown>): CraftHttpResponseMetadata | undefined;
21
21
  export {};
22
- //# sourceMappingURL=craft-http.d.ts.map
@@ -77,4 +77,3 @@ function appendCraftHttpParams(url, params) {
77
77
  const separator = baseUrl.includes('?') ? '&' : '?';
78
78
  return `${baseUrl}${separator}${serialized}${hash}`;
79
79
  }
80
- //# sourceMappingURL=craft-http.js.map
@@ -1,3 +1,2 @@
1
- export { ɵcraftInjectorFromHost } from './craft-compat';
2
- export type { CraftInjector } from './craft-injector';
3
- //# sourceMappingURL=craft-injector-host.d.ts.map
1
+ export { ɵcraftInjectorFromHost } from './craft-compat.js';
2
+ export type { CraftInjector } from './craft-injector.js';
@@ -1,2 +1 @@
1
- export { ɵcraftInjectorFromHost } from './craft-compat';
2
- //# sourceMappingURL=craft-injector-host.js.map
1
+ export { ɵcraftInjectorFromHost } from './craft-compat.js';
@@ -37,4 +37,3 @@ export declare function isCraftInjector(value: unknown): value is CraftInjector;
37
37
  export declare function ɵcreateCraftInjectorFromHost(hostInjector: object, runInHostContext: CraftHostContextRunner): CraftInjector;
38
38
  export declare function ɵregisterCraftTokenHostToken(token: object, hostToken: object): void;
39
39
  export {};
40
- //# sourceMappingURL=craft-injector.d.ts.map
@@ -315,4 +315,3 @@ function createProviderRecord(provider, injector) {
315
315
  function missingProviderError(token) {
316
316
  return new Error(`No provider for Craft token "${tokenName(token)}".`);
317
317
  }
318
- //# sourceMappingURL=craft-injector.js.map