@picked/react 0.0.1-dev.1785287094311 → 0.0.1-dev.1785826066660

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 (78) hide show
  1. package/dist/.tsbuildinfo +1 -0
  2. package/dist/component.d.ts +4 -4
  3. package/dist/component.d.ts.map +1 -1
  4. package/dist/context.d.ts +5 -5
  5. package/dist/experience/ExperienceHost.d.ts +10 -2
  6. package/dist/experience/ExperienceHost.d.ts.map +1 -1
  7. package/dist/experience/ExperienceSlot.d.ts +8 -1
  8. package/dist/experience/ExperienceSlot.d.ts.map +1 -1
  9. package/dist/experience/HtmlRender.d.ts +11 -1
  10. package/dist/experience/HtmlRender.d.ts.map +1 -1
  11. package/dist/experience/HtmlRender.js +1 -1
  12. package/dist/experience/HtmlRender.preview.test.d.ts +2 -0
  13. package/dist/experience/HtmlRender.preview.test.d.ts.map +1 -0
  14. package/dist/experience/HtmlRender.server.test.d.ts +2 -0
  15. package/dist/experience/HtmlRender.server.test.d.ts.map +1 -0
  16. package/dist/experience/HtmlRender.test.d.ts +2 -0
  17. package/dist/experience/HtmlRender.test.d.ts.map +1 -0
  18. package/dist/experience/PickedProvider.d.ts +8 -3
  19. package/dist/experience/PickedProvider.d.ts.map +1 -1
  20. package/dist/experience/__fixtures__/TestExperience.d.ts +17 -0
  21. package/dist/experience/__fixtures__/TestExperience.d.ts.map +1 -0
  22. package/dist/experience/__fixtures__/project-config.d.ts +50 -0
  23. package/dist/experience/__fixtures__/project-config.d.ts.map +1 -0
  24. package/dist/experience/experience.server.test.d.ts +2 -0
  25. package/dist/experience/experience.server.test.d.ts.map +1 -0
  26. package/dist/experience/experience.test.d.ts +2 -0
  27. package/dist/experience/experience.test.d.ts.map +1 -0
  28. package/dist/experience/morph.d.ts +26 -0
  29. package/dist/experience/morph.d.ts.map +1 -0
  30. package/dist/experience/morph.js +1 -0
  31. package/dist/form/index.d.ts +6 -5
  32. package/dist/form/index.test.d.ts +2 -0
  33. package/dist/form/index.test.d.ts.map +1 -0
  34. package/dist/form/use-form-callbacks.d.ts +1 -1
  35. package/dist/form/use-form-callbacks.test.d.ts +2 -0
  36. package/dist/form/use-form-callbacks.test.d.ts.map +1 -0
  37. package/dist/hooks/action.d.ts +4 -1
  38. package/dist/hooks/action.js +1 -1
  39. package/dist/hooks/client.d.ts +1 -1
  40. package/dist/hooks/content.d.ts +6 -2
  41. package/dist/hooks/feature.js +1 -1
  42. package/dist/hooks/field.d.ts +5 -2
  43. package/dist/hooks/index.d.ts +1 -0
  44. package/dist/hooks/index.d.ts.map +1 -1
  45. package/dist/hooks/index.js +1 -1
  46. package/dist/hooks/reference.d.ts +50 -0
  47. package/dist/hooks/reference.d.ts.map +1 -0
  48. package/dist/hooks/reference.js +1 -0
  49. package/dist/hooks/reference.test.d.ts +2 -0
  50. package/dist/hooks/reference.test.d.ts.map +1 -0
  51. package/dist/hooks/step.d.ts +6 -6
  52. package/dist/hooks/step.js +1 -1
  53. package/dist/hooks/step.test.d.ts +2 -0
  54. package/dist/hooks/step.test.d.ts.map +1 -0
  55. package/dist/hooks/storage.d.ts +1 -1
  56. package/dist/hooks/use-store-global.d.ts +1 -1
  57. package/dist/hooks/use-store-global.test.d.ts +2 -0
  58. package/dist/hooks/use-store-global.test.d.ts.map +1 -0
  59. package/dist/plugins/framework/plugin.d.ts +3 -2
  60. package/dist/plugins/framework/plugin.d.ts.map +1 -1
  61. package/dist/render/browser.d.ts +1 -1
  62. package/dist/render/browser.d.ts.map +1 -1
  63. package/dist/render/server.d.ts +1 -1
  64. package/dist/render/server.d.ts.map +1 -1
  65. package/dist/router/Step.d.ts +4 -2
  66. package/dist/router/Step.d.ts.map +1 -1
  67. package/dist/router/StepRouter.d.ts +2 -1
  68. package/dist/router/StepRouter.d.ts.map +1 -1
  69. package/dist/router/StepRouter.test.d.ts +2 -0
  70. package/dist/router/StepRouter.test.d.ts.map +1 -0
  71. package/dist/router/context.d.ts +1 -1
  72. package/dist/server/index.d.ts +2 -2
  73. package/dist/utils/array.d.ts.map +1 -1
  74. package/dist/utils/map-field-to-react.d.ts +3 -2
  75. package/dist/utils/map-field-to-react.test.d.ts +2 -0
  76. package/dist/utils/map-field-to-react.test.d.ts.map +1 -0
  77. package/dist/utils/prepare-native-event.d.ts +2 -1
  78. package/package.json +23 -24
@@ -0,0 +1 @@
1
+ {"version":"7.0.0-dev.20260707.2","root":[[108,109],[114,116],[124,142],212,[215,223],[225,237]],"packageJsons":["../../../node_modules/.pnpm/@edge-runtime+vm@3.2.0/node_modules/@edge-runtime/vm/package.json","../../../node_modules/.pnpm/@opentelemetry+api@1.9.1/node_modules/@opentelemetry/api/package.json","../../../node_modules/.pnpm/@standard-schema+spec@1.1.0/node_modules/@standard-schema/spec/package.json","../../../node_modules/.pnpm/@testing-library+dom@10.4.1/node_modules/@testing-library/dom/package.json","../../../node_modules/.pnpm/@testing-library+react@16.3.2_@testing-library+dom@10.4.1_@types+react-dom@19.2.4_@type_2b13e194dbed2638503a9eb1a10a814c/node_modules/@testing-library/react/package.json","../../../node_modules/.pnpm/@types+aria-query@5.0.4/node_modules/@types/aria-query/package.json","../../../node_modules/.pnpm/@types+chai@5.2.3/node_modules/@types/chai/package.json","../../../node_modules/.pnpm/@types+deep-eql@4.0.2/node_modules/@types/deep-eql/package.json","../../../node_modules/.pnpm/@types+node@22.19.7/node_modules/@types/node/package.json","../../../node_modules/.pnpm/@types+react-dom@19.2.4_@types+react@19.2.17/node_modules/@types/react-dom/package.json","../../../node_modules/.pnpm/@types+react@19.2.17/node_modules/@types/react/package.json","../../../node_modules/.pnpm/@vitest+coverage-v8@4.1.10_@vitest+browser@4.1.10_vitest@4.1.10/node_modules/@vitest/coverage-v8/package.json","../../../node_modules/.pnpm/@vitest+expect@4.1.10/node_modules/@vitest/expect/package.json","../../../node_modules/.pnpm/@vitest+mocker@4.1.10_msw@2.7.0_@types+node@22.19.7_typescript@5.9.3__vite@8.2.0_@types_9df137f337320c2f23a6f450b2636f0a/node_modules/@vitest/mocker/package.json","../../../node_modules/.pnpm/@vitest+pretty-format@4.1.10/node_modules/@vitest/pretty-format/package.json","../../../node_modules/.pnpm/@vitest+runner@4.1.10/node_modules/@vitest/runner/package.json","../../../node_modules/.pnpm/@vitest+snapshot@4.1.10/node_modules/@vitest/snapshot/package.json","../../../node_modules/.pnpm/@vitest+spy@4.1.10/node_modules/@vitest/spy/package.json","../../../node_modules/.pnpm/@vitest+utils@4.1.10/node_modules/@vitest/utils/package.json","../../../node_modules/.pnpm/aria-query@5.3.0/node_modules/aria-query/package.json","../../../node_modules/.pnpm/assertion-error@2.0.1/node_modules/assertion-error/package.json","../../../node_modules/.pnpm/chai@6.2.2/node_modules/chai/package.json","../../../node_modules/.pnpm/csstype@3.2.3/node_modules/csstype/package.json","../../../node_modules/.pnpm/effector-react@23.3.0_effector@23.4.4_react@19.2.8/node_modules/effector-react/package.json","../../../node_modules/.pnpm/effector@23.4.4/node_modules/effector/package.json","../../../node_modules/.pnpm/esbuild@0.28.1/node_modules/esbuild/package.json","../../../node_modules/.pnpm/expect-type@1.3.0/node_modules/expect-type/package.json","../../../node_modules/.pnpm/happy-dom@20.11.1/node_modules/happy-dom/package.json","../../../node_modules/.pnpm/jiti@2.7.0/node_modules/jiti/package.json","../../../node_modules/.pnpm/jsdom@26.1.0_canvas@3.2.1/node_modules/jsdom/package.json","../../../node_modules/.pnpm/msw@2.7.0_@types+node@22.19.7_typescript@5.9.3/node_modules/msw/package.json","../../../node_modules/.pnpm/pretty-format@27.5.1/node_modules/pretty-format/package.json","../../../node_modules/.pnpm/react-dom@19.2.8_react@19.2.8/node_modules/react-dom/package.json","../../../node_modules/.pnpm/react@19.2.8/node_modules/react/package.json","../../../node_modules/.pnpm/terser@5.46.0/node_modules/terser/package.json","../../../node_modules/.pnpm/tinybench@2.9.0/node_modules/tinybench/package.json","../../../node_modules/.pnpm/tinyrainbow@3.1.0/node_modules/tinyrainbow/package.json","../../../node_modules/.pnpm/tsx@4.23.1/node_modules/tsx/package.json","../../../node_modules/.pnpm/vite@8.2.0_@types+node@22.19.7_esbuild@0.28.1_jiti@2.7.0_terser@5.46.0_tsx@4.23.1_yaml@2.9.0/node_modules/vite/package.json","../../../node_modules/.pnpm/vitest@4.1.10_@edge-runtime+vm@3.2.0_@opentelemetry+api@1.9.1_@types+node@22.19.7_@vite_baea4b58954e7abbefb063ccfd288496/node_modules/vitest/package.json","../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/package.json","../../client/package.json","../package.json"],"missingPackageJsons":["../../../node_modules/.pnpm/@standard-schema+spec@1.1.0/node_modules/@standard-schema/spec/dist/package.json","../../../node_modules/.pnpm/@testing-library+dom@10.4.1/node_modules/@testing-library/dom/node_modules/aria-query/package.json","../../../node_modules/.pnpm/@testing-library+dom@10.4.1/node_modules/@testing-library/dom/node_modules/pretty-format/package.json","../../../node_modules/.pnpm/@testing-library+dom@10.4.1/node_modules/@testing-library/dom/types/package.json","../../../node_modules/.pnpm/@testing-library+react@16.3.2_@testing-library+dom@10.4.1_@types+react-dom@19.2.4_@type_2b13e194dbed2638503a9eb1a10a814c/node_modules/@testing-library/react/types/package.json","../../../node_modules/.pnpm/@testing-library+react@16.3.2_@testing-library+dom@10.4.1_@types+react-dom@19.2.4_@type_2b13e194dbed2638503a9eb1a10a814c/node_modules/@types/react-dom/client/package.json","../../../node_modules/.pnpm/@testing-library+react@16.3.2_@testing-library+dom@10.4.1_@types+react-dom@19.2.4_@type_2b13e194dbed2638503a9eb1a10a814c/node_modules/@types/react-dom/test-utils/package.json","../../../node_modules/.pnpm/@testing-library+react@16.3.2_@testing-library+dom@10.4.1_@types+react-dom@19.2.4_@type_2b13e194dbed2638503a9eb1a10a814c/node_modules/react-dom/client/package.json","../../../node_modules/.pnpm/@testing-library+react@16.3.2_@testing-library+dom@10.4.1_@types+react-dom@19.2.4_@type_2b13e194dbed2638503a9eb1a10a814c/node_modules/react-dom/test-utils/package.json","../../../node_modules/.pnpm/@types+chai@5.2.3/node_modules/deep-eql/package.json","../../../node_modules/.pnpm/@types+react-dom@19.2.4_@types+react@19.2.17/node_modules/@types/react-dom/test-utils/package.json","../../../node_modules/.pnpm/@types+react-dom@19.2.4_@types+react@19.2.17/node_modules/react/package.json","../../../node_modules/.pnpm/@vitest+expect@4.1.10/node_modules/@vitest/expect/dist/package.json","../../../node_modules/.pnpm/@vitest+expect@4.1.10/node_modules/@vitest/utils/diff/package.json","../../../node_modules/.pnpm/@vitest+expect@4.1.10/node_modules/@vitest/utils/display/package.json","../../../node_modules/.pnpm/@vitest+mocker@4.1.10_msw@2.7.0_@types+node@22.19.7_typescript@5.9.3__vite@8.2.0_@types_9df137f337320c2f23a6f450b2636f0a/node_modules/@vitest/mocker/dist/package.json","../../../node_modules/.pnpm/@vitest+pretty-format@4.1.10/node_modules/@vitest/pretty-format/dist/package.json","../../../node_modules/.pnpm/@vitest+runner@4.1.10/node_modules/@vitest/runner/dist/package.json","../../../node_modules/.pnpm/@vitest+runner@4.1.10/node_modules/@vitest/utils/diff/package.json","../../../node_modules/.pnpm/@vitest+snapshot@4.1.10/node_modules/@vitest/snapshot/dist/package.json","../../../node_modules/.pnpm/@vitest+spy@4.1.10/node_modules/@vitest/spy/dist/package.json","../../../node_modules/.pnpm/@vitest+utils@4.1.10/node_modules/@vitest/utils/dist/package.json","../../../node_modules/.pnpm/expect-type@1.3.0/node_modules/expect-type/dist/package.json","../../../node_modules/.pnpm/pretty-format@27.5.1/node_modules/pretty-format/build/package.json","../../../node_modules/.pnpm/tinybench@2.9.0/node_modules/tinybench/dist/package.json","../../../node_modules/.pnpm/tinyrainbow@3.1.0/node_modules/tinyrainbow/dist/package.json","../../../node_modules/.pnpm/vite@8.2.0_@types+node@22.19.7_esbuild@0.28.1_jiti@2.7.0_terser@5.46.0_tsx@4.23.1_yaml@2.9.0/node_modules/@vitejs/devtools/package.json","../../../node_modules/.pnpm/vite@8.2.0_@types+node@22.19.7_esbuild@0.28.1_jiti@2.7.0_terser@5.46.0_tsx@4.23.1_yaml@2.9.0/node_modules/less/package.json","../../../node_modules/.pnpm/vite@8.2.0_@types+node@22.19.7_esbuild@0.28.1_jiti@2.7.0_terser@5.46.0_tsx@4.23.1_yaml@2.9.0/node_modules/sass-embedded/package.json","../../../node_modules/.pnpm/vite@8.2.0_@types+node@22.19.7_esbuild@0.28.1_jiti@2.7.0_terser@5.46.0_tsx@4.23.1_yaml@2.9.0/node_modules/sass/package.json","../../../node_modules/.pnpm/vite@8.2.0_@types+node@22.19.7_esbuild@0.28.1_jiti@2.7.0_terser@5.46.0_tsx@4.23.1_yaml@2.9.0/node_modules/stylus/package.json","../../../node_modules/.pnpm/vite@8.2.0_@types+node@22.19.7_esbuild@0.28.1_jiti@2.7.0_terser@5.46.0_tsx@4.23.1_yaml@2.9.0/node_modules/sugarss/package.json","../../../node_modules/.pnpm/vite@8.2.0_@types+node@22.19.7_esbuild@0.28.1_jiti@2.7.0_terser@5.46.0_tsx@4.23.1_yaml@2.9.0/node_modules/vite/dist/node/chunks/package.json","../../../node_modules/.pnpm/vite@8.2.0_@types+node@22.19.7_esbuild@0.28.1_jiti@2.7.0_terser@5.46.0_tsx@4.23.1_yaml@2.9.0/node_modules/vite/dist/node/package.json","../../../node_modules/.pnpm/vite@8.2.0_@types+node@22.19.7_esbuild@0.28.1_jiti@2.7.0_terser@5.46.0_tsx@4.23.1_yaml@2.9.0/node_modules/vite/dist/package.json","../../../node_modules/.pnpm/vite@8.2.0_@types+node@22.19.7_esbuild@0.28.1_jiti@2.7.0_terser@5.46.0_tsx@4.23.1_yaml@2.9.0/node_modules/vite/types/package.json","../../../node_modules/.pnpm/vitest@4.1.10_@edge-runtime+vm@3.2.0_@opentelemetry+api@1.9.1_@types+node@22.19.7_@vite_baea4b58954e7abbefb063ccfd288496/node_modules/@vitest/browser-playwright/package.json","../../../node_modules/.pnpm/vitest@4.1.10_@edge-runtime+vm@3.2.0_@opentelemetry+api@1.9.1_@types+node@22.19.7_@vite_baea4b58954e7abbefb063ccfd288496/node_modules/@vitest/browser-preview/package.json","../../../node_modules/.pnpm/vitest@4.1.10_@edge-runtime+vm@3.2.0_@opentelemetry+api@1.9.1_@types+node@22.19.7_@vite_baea4b58954e7abbefb063ccfd288496/node_modules/@vitest/browser-webdriverio/package.json","../../../node_modules/.pnpm/vitest@4.1.10_@edge-runtime+vm@3.2.0_@opentelemetry+api@1.9.1_@types+node@22.19.7_@vite_baea4b58954e7abbefb063ccfd288496/node_modules/@vitest/coverage-istanbul/package.json","../../../node_modules/.pnpm/vitest@4.1.10_@edge-runtime+vm@3.2.0_@opentelemetry+api@1.9.1_@types+node@22.19.7_@vite_baea4b58954e7abbefb063ccfd288496/node_modules/@vitest/runner/utils/package.json","../../../node_modules/.pnpm/vitest@4.1.10_@edge-runtime+vm@3.2.0_@opentelemetry+api@1.9.1_@types+node@22.19.7_@vite_baea4b58954e7abbefb063ccfd288496/node_modules/@vitest/ui/package.json","../../../node_modules/.pnpm/vitest@4.1.10_@edge-runtime+vm@3.2.0_@opentelemetry+api@1.9.1_@types+node@22.19.7_@vite_baea4b58954e7abbefb063ccfd288496/node_modules/@vitest/utils/diff/package.json","../../../node_modules/.pnpm/vitest@4.1.10_@edge-runtime+vm@3.2.0_@opentelemetry+api@1.9.1_@types+node@22.19.7_@vite_baea4b58954e7abbefb063ccfd288496/node_modules/vite/module-runner/package.json","../../../node_modules/.pnpm/vitest@4.1.10_@edge-runtime+vm@3.2.0_@opentelemetry+api@1.9.1_@types+node@22.19.7_@vite_baea4b58954e7abbefb063ccfd288496/node_modules/vitest/dist/chunks/package.json","../../../node_modules/.pnpm/vitest@4.1.10_@edge-runtime+vm@3.2.0_@opentelemetry+api@1.9.1_@types+node@22.19.7_@vite_baea4b58954e7abbefb063ccfd288496/node_modules/vitest/dist/package.json","../../../node_modules/.pnpm/vitest@4.1.10_@edge-runtime+vm@3.2.0_@opentelemetry+api@1.9.1_@types+node@22.19.7_@vite_baea4b58954e7abbefb063ccfd288496/node_modules/vitest/node_modules/@vitest/expect/package.json","../../../node_modules/.pnpm/vitest@4.1.10_@edge-runtime+vm@3.2.0_@opentelemetry+api@1.9.1_@types+node@22.19.7_@vite_baea4b58954e7abbefb063ccfd288496/node_modules/vitest/node_modules/@vitest/mocker/package.json","../../../node_modules/.pnpm/vitest@4.1.10_@edge-runtime+vm@3.2.0_@opentelemetry+api@1.9.1_@types+node@22.19.7_@vite_baea4b58954e7abbefb063ccfd288496/node_modules/vitest/node_modules/@vitest/pretty-format/package.json","../../../node_modules/.pnpm/vitest@4.1.10_@edge-runtime+vm@3.2.0_@opentelemetry+api@1.9.1_@types+node@22.19.7_@vite_baea4b58954e7abbefb063ccfd288496/node_modules/vitest/node_modules/@vitest/runner/package.json","../../../node_modules/.pnpm/vitest@4.1.10_@edge-runtime+vm@3.2.0_@opentelemetry+api@1.9.1_@types+node@22.19.7_@vite_baea4b58954e7abbefb063ccfd288496/node_modules/vitest/node_modules/@vitest/runner/utils/package.json","../../../node_modules/.pnpm/vitest@4.1.10_@edge-runtime+vm@3.2.0_@opentelemetry+api@1.9.1_@types+node@22.19.7_@vite_baea4b58954e7abbefb063ccfd288496/node_modules/vitest/node_modules/@vitest/snapshot/package.json","../../../node_modules/.pnpm/vitest@4.1.10_@edge-runtime+vm@3.2.0_@opentelemetry+api@1.9.1_@types+node@22.19.7_@vite_baea4b58954e7abbefb063ccfd288496/node_modules/vitest/node_modules/@vitest/spy/package.json","../../../node_modules/.pnpm/vitest@4.1.10_@edge-runtime+vm@3.2.0_@opentelemetry+api@1.9.1_@types+node@22.19.7_@vite_baea4b58954e7abbefb063ccfd288496/node_modules/vitest/node_modules/@vitest/utils/diff/package.json","../../../node_modules/.pnpm/vitest@4.1.10_@edge-runtime+vm@3.2.0_@opentelemetry+api@1.9.1_@types+node@22.19.7_@vite_baea4b58954e7abbefb063ccfd288496/node_modules/vitest/node_modules/@vitest/utils/package.json","../../../node_modules/.pnpm/vitest@4.1.10_@edge-runtime+vm@3.2.0_@opentelemetry+api@1.9.1_@types+node@22.19.7_@vite_baea4b58954e7abbefb063ccfd288496/node_modules/vitest/node_modules/expect-type/package.json","../../../node_modules/.pnpm/vitest@4.1.10_@edge-runtime+vm@3.2.0_@opentelemetry+api@1.9.1_@types+node@22.19.7_@vite_baea4b58954e7abbefb063ccfd288496/node_modules/vitest/node_modules/tinybench/package.json","../../../node_modules/.pnpm/vitest@4.1.10_@edge-runtime+vm@3.2.0_@opentelemetry+api@1.9.1_@types+node@22.19.7_@vite_baea4b58954e7abbefb063ccfd288496/node_modules/vitest/node_modules/vite/module-runner/package.json","../../../node_modules/.pnpm/vitest@4.1.10_@edge-runtime+vm@3.2.0_@opentelemetry+api@1.9.1_@types+node@22.19.7_@vite_baea4b58954e7abbefb063ccfd288496/node_modules/vitest/node_modules/vite/package.json","../node_modules/@picked/client/form/package.json","../node_modules/@picked/client/server/package.json","../node_modules/@types/react-dom/client/package.json","../node_modules/@types/react-dom/server/package.json","../node_modules/@types/react/jsx-runtime/package.json","../node_modules/react-dom/client/package.json","../node_modules/react-dom/server/package.json","../node_modules/react/jsx-runtime/package.json"],"fileNames":["lib.es5.d.ts","lib.es2015.d.ts","lib.es2016.d.ts","lib.es2017.d.ts","lib.es2018.d.ts","lib.es2019.d.ts","lib.es2020.d.ts","lib.es2021.d.ts","lib.es2022.d.ts","lib.es2023.d.ts","lib.dom.d.ts","lib.dom.iterable.d.ts","lib.es2015.core.d.ts","lib.es2015.collection.d.ts","lib.es2015.generator.d.ts","lib.es2015.iterable.d.ts","lib.es2015.promise.d.ts","lib.es2015.proxy.d.ts","lib.es2015.reflect.d.ts","lib.es2015.symbol.d.ts","lib.es2015.symbol.wellknown.d.ts","lib.es2016.array.include.d.ts","lib.es2016.intl.d.ts","lib.es2017.arraybuffer.d.ts","lib.es2017.date.d.ts","lib.es2017.object.d.ts","lib.es2017.sharedmemory.d.ts","lib.es2017.string.d.ts","lib.es2017.intl.d.ts","lib.es2017.typedarrays.d.ts","lib.es2018.asyncgenerator.d.ts","lib.es2018.asynciterable.d.ts","lib.es2018.intl.d.ts","lib.es2018.promise.d.ts","lib.es2018.regexp.d.ts","lib.es2019.array.d.ts","lib.es2019.object.d.ts","lib.es2019.string.d.ts","lib.es2019.symbol.d.ts","lib.es2019.intl.d.ts","lib.es2020.bigint.d.ts","lib.es2020.date.d.ts","lib.es2020.promise.d.ts","lib.es2020.sharedmemory.d.ts","lib.es2020.string.d.ts","lib.es2020.symbol.wellknown.d.ts","lib.es2020.intl.d.ts","lib.es2020.number.d.ts","lib.es2021.promise.d.ts","lib.es2021.string.d.ts","lib.es2021.weakref.d.ts","lib.es2021.intl.d.ts","lib.es2022.array.d.ts","lib.es2022.error.d.ts","lib.es2022.intl.d.ts","lib.es2022.object.d.ts","lib.es2022.string.d.ts","lib.es2022.regexp.d.ts","lib.es2023.array.d.ts","lib.es2023.collection.d.ts","lib.es2023.intl.d.ts","lib.decorators.d.ts","lib.decorators.legacy.d.ts","../../../node_modules/.pnpm/effector@23.4.4/node_modules/effector/index.d.ts","../../client/dist/types/entities/component/lazyComponent.d.ts","../../client/dist/types/entities/component/component.d.ts","../../client/dist/types/logic-engine.d.ts","../../client/dist/types/entities/condition/condition.d.ts","../../client/dist/types/entities/content/content.d.ts","../../client/dist/types/entities/step/step.d.ts","../../client/dist/types/entities/history/history.d.ts","../../client/dist/types/entities/experience-instance/experience-instance.d.ts","../../client/dist/types/entities/framework/framework.d.ts","../../client/dist/types/entities/experience/experience.d.ts","../../client/dist/types/entities/plugin/plugin.d.ts","../../client/dist/types/utils/logger.d.ts","../../client/dist/types/lifecycle/rules-logic.d.ts","../../client/dist/types/lifecycle/condition-selection.d.ts","../../client/dist/types/lifecycle/lifecycle.d.ts","../../client/dist/types/entities/feature/feature.d.ts","../../client/dist/types/entities/field/field.d.ts","../../client/dist/types/entities/response/response-validation.d.ts","../../client/dist/types/entities/response/response.d.ts","../../client/dist/types/entities/session/session.d.ts","../../client/dist/types/utils/events.d.ts","../../client/dist/types/plugins/dynamic-experiences/types.d.ts","../../client/dist/types/entities/action/action.d.ts","../../client/dist/types/picked.d.ts","../../client/dist/types/lifecycle/state-snapshot.d.ts","../../client/dist/types/entities/predicate/predicate.d.ts","../../client/dist/types/client.d.ts","../../client/dist/types/utils/dom.d.ts","../../client/dist/types/utils/rehydrate-scripts.d.ts","../../client/dist/types/utils/html-asset-value.d.ts","../../client/dist/types/utils/preview-session.d.ts","../../client/dist/types/utils/inert-script-report.d.ts","../../client/dist/types/utils/supports.d.ts","../../client/dist/types/utils/storage.d.ts","../../client/dist/types/utils/rules-logic.d.ts","../../client/dist/types/utils/picked-config.d.ts","../../client/dist/types/entities/content/reference.d.ts","../../client/dist/types/exports.d.ts","../../client/dist/types/utils/search-params.d.ts","../../client/dist/types/index.d.ts","../../../node_modules/.pnpm/@types+react@19.2.17/node_modules/@types/react/global.d.ts","../../../node_modules/.pnpm/csstype@3.2.3/node_modules/csstype/index.d.ts","../../../node_modules/.pnpm/@types+react@19.2.17/node_modules/@types/react/index.d.ts","../src/component.ts","../src/context.ts","../../../node_modules/.pnpm/@types+react@19.2.17/node_modules/@types/react/jsx-runtime.d.ts","../../client/dist/types/server/serialize.d.ts","../../client/dist/types/plugins/dynamic-experiences/plugin.d.ts","../../client/dist/types/server/index.d.ts","../src/experience/PickedProvider.tsx","../src/hooks/client.ts","../src/hooks/use-store-global.ts","../../client/dist/types/form/build-responses.d.ts","../../client/dist/types/form/get-step-fields.d.ts","../../client/dist/types/form/create-field-evaluator.d.ts","../../client/dist/types/form/create-field-validation.d.ts","../../client/dist/types/form/create-submit-pipeline.d.ts","../../client/dist/types/form/create-form.d.ts","../../client/dist/types/form/index.d.ts","../src/utils/restore-current-target.ts","../src/utils/map-field-to-react.ts","../src/utils/prepare-native-event.ts","../src/form/use-form-callbacks.ts","../src/form/index.ts","../src/router/context.ts","../src/hooks/step.ts","../src/hooks/storage.ts","../src/hooks/field.ts","../src/hooks/feature.ts","../src/hooks/action.ts","../src/hooks/content.ts","../src/hooks/reference.ts","../src/hooks/index.ts","../src/experience/ExperienceHost.tsx","../src/experience/ExperienceSlot.tsx","../src/experience/morph.ts","../src/experience/HtmlRender.tsx","../src/index.ts","../../../node_modules/.pnpm/@vitest+pretty-format@4.1.10/node_modules/@vitest/pretty-format/dist/index.d.ts","../../../node_modules/.pnpm/@vitest+utils@4.1.10/node_modules/@vitest/utils/dist/display.d.ts","../../../node_modules/.pnpm/@vitest+utils@4.1.10/node_modules/@vitest/utils/dist/types.d.ts","../../../node_modules/.pnpm/@vitest+utils@4.1.10/node_modules/@vitest/utils/dist/helpers.d.ts","../../../node_modules/.pnpm/@vitest+utils@4.1.10/node_modules/@vitest/utils/dist/timers.d.ts","../../../node_modules/.pnpm/@vitest+utils@4.1.10/node_modules/@vitest/utils/dist/index.d.ts","../../../node_modules/.pnpm/@vitest+utils@4.1.10/node_modules/@vitest/utils/dist/types.d-BCElaP-c.d.ts","../../../node_modules/.pnpm/@vitest+utils@4.1.10/node_modules/@vitest/utils/dist/diff.d.ts","../../../node_modules/.pnpm/@vitest+runner@4.1.10/node_modules/@vitest/runner/dist/tasks.d-DEYaIMIu.d.ts","../../../node_modules/.pnpm/@vitest+runner@4.1.10/node_modules/@vitest/runner/dist/index.d.ts","../../../node_modules/.pnpm/vitest@4.1.10_@edge-runtime+vm@3.2.0_@opentelemetry+api@1.9.1_@types+node@22.19.7_@vite_baea4b58954e7abbefb063ccfd288496/node_modules/vitest/dist/chunks/traces.d.D2T_R8rx.d.ts","../../../node_modules/.pnpm/vite@8.2.0_@types+node@22.19.7_esbuild@0.28.1_jiti@2.7.0_terser@5.46.0_tsx@4.23.1_yaml@2.9.0/node_modules/vite/types/hmrPayload.d.ts","../../../node_modules/.pnpm/vite@8.2.0_@types+node@22.19.7_esbuild@0.28.1_jiti@2.7.0_terser@5.46.0_tsx@4.23.1_yaml@2.9.0/node_modules/vite/dist/node/chunks/moduleRunnerTransport.d.ts","../../../node_modules/.pnpm/vite@8.2.0_@types+node@22.19.7_esbuild@0.28.1_jiti@2.7.0_terser@5.46.0_tsx@4.23.1_yaml@2.9.0/node_modules/vite/types/customEvent.d.ts","../../../node_modules/.pnpm/vite@8.2.0_@types+node@22.19.7_esbuild@0.28.1_jiti@2.7.0_terser@5.46.0_tsx@4.23.1_yaml@2.9.0/node_modules/vite/types/hot.d.ts","../../../node_modules/.pnpm/vite@8.2.0_@types+node@22.19.7_esbuild@0.28.1_jiti@2.7.0_terser@5.46.0_tsx@4.23.1_yaml@2.9.0/node_modules/vite/dist/node/module-runner.d.ts","../../../node_modules/.pnpm/@vitest+snapshot@4.1.10/node_modules/@vitest/snapshot/dist/environment.d-DOJxxZV9.d.ts","../../../node_modules/.pnpm/@vitest+snapshot@4.1.10/node_modules/@vitest/snapshot/dist/rawSnapshot.d-D_X3-62x.d.ts","../../../node_modules/.pnpm/@vitest+snapshot@4.1.10/node_modules/@vitest/snapshot/dist/index.d.ts","../../../node_modules/.pnpm/vitest@4.1.10_@edge-runtime+vm@3.2.0_@opentelemetry+api@1.9.1_@types+node@22.19.7_@vite_baea4b58954e7abbefb063ccfd288496/node_modules/vitest/dist/chunks/config.d.A1h_Y6Jt.d.ts","../../../node_modules/.pnpm/vitest@4.1.10_@edge-runtime+vm@3.2.0_@opentelemetry+api@1.9.1_@types+node@22.19.7_@vite_baea4b58954e7abbefb063ccfd288496/node_modules/vitest/dist/chunks/environment.d.CrsxCzP1.d.ts","../../../node_modules/.pnpm/vitest@4.1.10_@edge-runtime+vm@3.2.0_@opentelemetry+api@1.9.1_@types+node@22.19.7_@vite_baea4b58954e7abbefb063ccfd288496/node_modules/vitest/dist/chunks/rpc.d.B_8sPU0w.d.ts","../../../node_modules/.pnpm/vitest@4.1.10_@edge-runtime+vm@3.2.0_@opentelemetry+api@1.9.1_@types+node@22.19.7_@vite_baea4b58954e7abbefb063ccfd288496/node_modules/vitest/dist/chunks/worker.d.ZpHpO4yb.d.ts","../../../node_modules/.pnpm/vitest@4.1.10_@edge-runtime+vm@3.2.0_@opentelemetry+api@1.9.1_@types+node@22.19.7_@vite_baea4b58954e7abbefb063ccfd288496/node_modules/vitest/dist/chunks/browser.d.BcoexmFG.d.ts","../../../node_modules/.pnpm/@vitest+spy@4.1.10/node_modules/@vitest/spy/optional-types.d.ts","../../../node_modules/.pnpm/@vitest+spy@4.1.10/node_modules/@vitest/spy/dist/index.d.ts","../../../node_modules/.pnpm/tinyrainbow@3.1.0/node_modules/tinyrainbow/dist/index.d.ts","../../../node_modules/.pnpm/@standard-schema+spec@1.1.0/node_modules/@standard-schema/spec/dist/index.d.ts","../../../node_modules/.pnpm/@types+deep-eql@4.0.2/node_modules/@types/deep-eql/index.d.ts","../../../node_modules/.pnpm/assertion-error@2.0.1/node_modules/assertion-error/index.d.ts","../../../node_modules/.pnpm/@types+chai@5.2.3/node_modules/@types/chai/index.d.ts","../../../node_modules/.pnpm/@vitest+expect@4.1.10/node_modules/@vitest/expect/dist/index.d.ts","../../../node_modules/.pnpm/@vitest+runner@4.1.10/node_modules/@vitest/runner/dist/utils.d.ts","../../../node_modules/.pnpm/tinybench@2.9.0/node_modules/tinybench/dist/index.d.ts","../../../node_modules/.pnpm/vitest@4.1.10_@edge-runtime+vm@3.2.0_@opentelemetry+api@1.9.1_@types+node@22.19.7_@vite_baea4b58954e7abbefb063ccfd288496/node_modules/vitest/dist/chunks/benchmark.d.DAaHLpsq.d.ts","../../../node_modules/.pnpm/vitest@4.1.10_@edge-runtime+vm@3.2.0_@opentelemetry+api@1.9.1_@types+node@22.19.7_@vite_baea4b58954e7abbefb063ccfd288496/node_modules/vitest/dist/chunks/global.d.DVsSRdQ5.d.ts","../../../node_modules/.pnpm/vitest@4.1.10_@edge-runtime+vm@3.2.0_@opentelemetry+api@1.9.1_@types+node@22.19.7_@vite_baea4b58954e7abbefb063ccfd288496/node_modules/vitest/optional-runtime-types.d.ts","../../../node_modules/.pnpm/@vitest+mocker@4.1.10_msw@2.7.0_@types+node@22.19.7_typescript@5.9.3__vite@8.2.0_@types_9df137f337320c2f23a6f450b2636f0a/node_modules/@vitest/mocker/dist/types.d-BjI5eAwu.d.ts","../../../node_modules/.pnpm/@vitest+mocker@4.1.10_msw@2.7.0_@types+node@22.19.7_typescript@5.9.3__vite@8.2.0_@types_9df137f337320c2f23a6f450b2636f0a/node_modules/@vitest/mocker/dist/index.d-B41z0AuW.d.ts","../../../node_modules/.pnpm/@vitest+mocker@4.1.10_msw@2.7.0_@types+node@22.19.7_typescript@5.9.3__vite@8.2.0_@types_9df137f337320c2f23a6f450b2636f0a/node_modules/@vitest/mocker/dist/index.d.ts","../../../node_modules/.pnpm/vitest@4.1.10_@edge-runtime+vm@3.2.0_@opentelemetry+api@1.9.1_@types+node@22.19.7_@vite_baea4b58954e7abbefb063ccfd288496/node_modules/vitest/dist/chunks/suite.d.udJtyAgw.d.ts","../../../node_modules/.pnpm/vitest@4.1.10_@edge-runtime+vm@3.2.0_@opentelemetry+api@1.9.1_@types+node@22.19.7_@vite_baea4b58954e7abbefb063ccfd288496/node_modules/vitest/dist/chunks/evaluatedModules.d.BxJ5omdx.d.ts","../../../node_modules/.pnpm/vitest@4.1.10_@edge-runtime+vm@3.2.0_@opentelemetry+api@1.9.1_@types+node@22.19.7_@vite_baea4b58954e7abbefb063ccfd288496/node_modules/vitest/dist/runners.d.ts","../../../node_modules/.pnpm/expect-type@1.3.0/node_modules/expect-type/dist/utils.d.ts","../../../node_modules/.pnpm/expect-type@1.3.0/node_modules/expect-type/dist/overloads.d.ts","../../../node_modules/.pnpm/expect-type@1.3.0/node_modules/expect-type/dist/branding.d.ts","../../../node_modules/.pnpm/expect-type@1.3.0/node_modules/expect-type/dist/messages.d.ts","../../../node_modules/.pnpm/expect-type@1.3.0/node_modules/expect-type/dist/index.d.ts","../../../node_modules/.pnpm/vitest@4.1.10_@edge-runtime+vm@3.2.0_@opentelemetry+api@1.9.1_@types+node@22.19.7_@vite_baea4b58954e7abbefb063ccfd288496/node_modules/vitest/dist/index.d.ts","../../../node_modules/.pnpm/@types+react-dom@19.2.4_@types+react@19.2.17/node_modules/@types/react-dom/client.d.ts","../../../node_modules/.pnpm/@types+aria-query@5.0.4/node_modules/@types/aria-query/index.d.ts","../../../node_modules/.pnpm/@testing-library+dom@10.4.1/node_modules/@testing-library/dom/types/matches.d.ts","../../../node_modules/.pnpm/@testing-library+dom@10.4.1/node_modules/@testing-library/dom/types/wait-for.d.ts","../../../node_modules/.pnpm/@testing-library+dom@10.4.1/node_modules/@testing-library/dom/types/query-helpers.d.ts","../../../node_modules/.pnpm/@testing-library+dom@10.4.1/node_modules/@testing-library/dom/types/queries.d.ts","../../../node_modules/.pnpm/@testing-library+dom@10.4.1/node_modules/@testing-library/dom/types/get-queries-for-element.d.ts","../../../node_modules/.pnpm/pretty-format@27.5.1/node_modules/pretty-format/build/types.d.ts","../../../node_modules/.pnpm/pretty-format@27.5.1/node_modules/pretty-format/build/index.d.ts","../../../node_modules/.pnpm/@testing-library+dom@10.4.1/node_modules/@testing-library/dom/types/screen.d.ts","../../../node_modules/.pnpm/@testing-library+dom@10.4.1/node_modules/@testing-library/dom/types/wait-for-element-to-be-removed.d.ts","../../../node_modules/.pnpm/@testing-library+dom@10.4.1/node_modules/@testing-library/dom/types/get-node-text.d.ts","../../../node_modules/.pnpm/@testing-library+dom@10.4.1/node_modules/@testing-library/dom/types/events.d.ts","../../../node_modules/.pnpm/@testing-library+dom@10.4.1/node_modules/@testing-library/dom/types/pretty-dom.d.ts","../../../node_modules/.pnpm/@testing-library+dom@10.4.1/node_modules/@testing-library/dom/types/role-helpers.d.ts","../../../node_modules/.pnpm/@testing-library+dom@10.4.1/node_modules/@testing-library/dom/types/config.d.ts","../../../node_modules/.pnpm/@testing-library+dom@10.4.1/node_modules/@testing-library/dom/types/suggestions.d.ts","../../../node_modules/.pnpm/@testing-library+dom@10.4.1/node_modules/@testing-library/dom/types/index.d.ts","../../../node_modules/.pnpm/@types+react-dom@19.2.4_@types+react@19.2.17/node_modules/@types/react-dom/test-utils/index.d.ts","../../../node_modules/.pnpm/@testing-library+react@16.3.2_@testing-library+dom@10.4.1_@types+react-dom@19.2.4_@type_2b13e194dbed2638503a9eb1a10a814c/node_modules/@testing-library/react/types/index.d.ts","../src/experience/HtmlRender.preview.test.tsx","../../../node_modules/.pnpm/@types+react-dom@19.2.4_@types+react@19.2.17/node_modules/@types/react-dom/static.d.ts","../../../node_modules/.pnpm/@types+react-dom@19.2.4_@types+react@19.2.17/node_modules/@types/react-dom/server.d.ts","../src/experience/HtmlRender.server.test.tsx","../src/experience/HtmlRender.test.tsx","../src/utils/array.ts","../src/render/browser.ts","../src/plugins/framework/plugin.ts","../src/plugins/framework/index.ts","../src/experience/__fixtures__/TestExperience.tsx","../src/experience/__fixtures__/project-config.ts","../src/experience/experience.server.test.tsx","../../../node_modules/.pnpm/effector-react@23.3.0_effector@23.4.4_react@19.2.8/node_modules/effector-react/index.d.ts","../src/experience/experience.test.tsx","../src/form/index.test.tsx","../src/form/use-form-callbacks.test.tsx","../src/hooks/reference.test.tsx","../src/hooks/step.test.tsx","../src/hooks/use-store-global.test.tsx","../src/render/server.ts","../src/router/Step.tsx","../src/router/StepRouter.tsx","../src/router/StepRouter.test.tsx","../src/router/index.ts","../src/server/index.ts","../src/utils/map-field-to-react.test.tsx"],"fileInfos":[{"version":"16934abaab7026ac114da441aabea1a0","affectsGlobalScope":true,"impliedNodeFormat":1},"d4306fb2e47f74835e8674ffac07d76f","e437c5c1302869326c3bb93da85bbbcf","e4324975a566567b21d350615f1fc6ac","333b1b9a2a9ac3b8497dba5c63b5ba50","6cffacd662b6eb5fa7a36aa2ea366bfa","b4c34f9c23304dbef2d23698637ed638","e5cb86a5fc491796ecd1d2dd348d208f","feb6c6fb19cdb246a5d8acb36a6901c7","9443a7f109277ffaa79d893ed2549995",{"version":"aae8996e8b5684814785a42cbbefcd79","affectsGlobalScope":true,"impliedNodeFormat":1},"abad6dd56cc8caf095c165df8124d237",{"version":"926204c28cd3d073865348473ae28d2e","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"f25e42c801b2cb3cf2b39792006a9beb","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"6344b55f26a4e81d9608777dbfb877dd","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"3c0ed28e53d3695b363e256ec1c023fd","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"4c2761daba7f17141c25baa0821ac5da","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"b87656acabd63e69379ff6ffcfe52fc7","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"597469522da047a5af5222cc6989f405","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"1708ea4d34dc37fadadc63ca01127e80","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"55d97a8c6fbf34a30450a7b1e5f7a298","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"0ee05eb59426d33e374226d8dcfa708b","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"e347c14030993906efcfbb88915b6a05","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"b0231263857c9b6a03641acdc9280ceb","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"3b15c4a83b598cacb4067676e6f0abed","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"b417d97b7934cef63b1889abec0bbfbf","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"09a6cf4032ebba60ce22a501e663f881","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"2b056277dd138e8f5650fc04e20eaa8d","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"e22cc07e3f3cc242ba52fa3f8ea1fc58","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"2c45da767a1bfbb220848df1bc4029e4","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"b44c3e0fbaf2130cdcf6ac38b120ffa1","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"b612fb5cf8e5d964b92063a75207632a","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"02705151a5e1551b9162a9ed8ab763f7","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"41025e398be9215d32e4337335da8f0b","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"52684c2b1f353a5538e4f275182a54cd","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"6dedb6a4f90d1df3a6fbe5693e44886c","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"ca3f36fe3562c07e0f0d71c2bebd3f6d","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"409974d6129befbb8226ddd1c6558568","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"4d9cfde2a1ae1b4925f1f9bc10848e5d","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"7e1daecc66dd564144e3bb1a0266b5fd","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"a8e1d9bb35fd0637f2f9fd2b2a54f2ec","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"4f168501772a6543182765bfd5f2fbfe","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"a19c80aad1b2162103496f5ba293a732","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"b69afa63cd5d059851c78adb2856ee09","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"ae2fc5d954e9b0f5feee3d481b953c27","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"1cfd3091a071d8b6feec15277643bafe","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"1da2c1f258970fd3cc91184f69e91a9d","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"a0d87491913d843139e0c993650a3235","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"4ef72aa378127e7b7abba915b0110b1e","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"3ec74c6a7d4463f0254db3a74cf75646","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"84c2bdfa470d075526cce6322d81b0b6","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"0b3844c2b8c73e4e1ab91431411cad11","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"4fc71cf4a15b8d99675a31df77f26e07","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"d1b49564ddaeca3df5b6dbae925d2242","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"6a25be566d60ccfc2d6e8b7bfdeefa83","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"8a20e27646985dfd58c57ca6566553dd","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"9969f02ad3cdcbf4f709405cda44167f","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"9c9be4792a7a4f42c15ae7360bf28779","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"8cf777fe00349b71ee9c4b6f3fe7fd19","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"74f96bc192530c9723f572bfff3d3078","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"1df91c56b25955c56387426f378173c5","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"f64453cbf9671f28158677fa5c43967a","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"33f317af5428801f944a478d2c1e38e5","affectsGlobalScope":true,"impliedNodeFormat":1},"4d30d5ec0ec1f3784ba6050d307a4db5","c693b09dcd6d7e0986763de264a6456e","331eba2c930bea66378f3e58658b17fb","2417555c1e04f6e895c47040aa7d56a0","8520fb9b295b10dd7d5bd1805eb6dc05","257aa345e35665cec2f78afe005faa9e","990bc7054c18efd1fc19e21df19fb00a","5859a130c0b0cb8b9661e2cdc0ac0cd0","3490cb20f25902f9390bb41a7399f899","239b4ca55b42b39d96c24ce761c9f16a","e9abcc1e3852c37e53d75cbb94a5c348","d515c84401cd57095cee1c1d83ac4d09","b7ca911c22ea11fd08f4643020b1450d","e2125552fa2b9ddfbc8bb60bdac55c97","486d01fd3c94ebd16f84f6536f6f1c91","04aefe95feb1c545176802440b4a27a6","383cb6dfc22a4f78a01b8f4862754d63","e9847816d5d102b67b02a82181f0c854","dbff577bf4b6d09d2e3fc5744979029e","caa3fa122d3aa2c0ecf2cb99655d9a94","cf5eeae444c70998a0a5b5481d5fedf2","4b663cbfa79328782290b845f0c65368","b284e64ebdcbf5e2ffef30e3ac9c68b7","d9a3195225b0ff4294742beac832d252","cc39124886f769cc7f18b3e319af3a94","9b7f6365fa9ad8d272d6953ee99c7a20","ca5b5f0c47153cfb8d1b3b27192fbce7","eae6a2716c8ebb54d71127dd4f28f83a","6d4649cdd413dd635ac0ca0b37d452cc",{"version":"4198eb85452f1ee8650e3525ebc56405","affectsGlobalScope":true,"impliedNodeFormat":1},"a51a8e6599581e605aa01164b2aecf58","698b1018d1c18af70f8828dcf86dfb3f","8378623bb64e556c9c62d37b214e3f2a","f1b6fd6b86d263291725f1e6450c7a0f","a860181621c15a4495aea811188f6ade","e6121cb2079cbef49f8cabb771b096d4",{"version":"d1c185eb12a20a964edbc2c775b814f9","affectsGlobalScope":true,"impliedNodeFormat":1},"457028a15a800a0101897207083230b4","cc41693ad3e7b61f34fa2d31e30dbc50","b8e788852f3cd20f765e510e73bb9200","0ce22dd42410b3f304b0f25e5209b136",{"version":"086b8ccc1aa2a8df8144951e6a412a39","affectsGlobalScope":true,"impliedNodeFormat":1},"8244c8f803a86fcac606483469eb85c3","dbdc58c6c1a2377bec73939badc77507",{"version":"bef2813b0711be3bd05392ff5ce463bc","signature":"352839106f4503a8807f6b7d10927b89","impliedNodeFormat":1},{"version":"86ad7e573d872217d4398e7ed0280fe4","signature":"3721f905d5a3a03a425e5572e0a4caa6","impliedNodeFormat":1},"c8b6a8a818c9ae9670eac052d143a588","34a77e5565af7eb7015be2d63dfb2af3","c1b93b2fd38e575f2effce3e70859168","6545288b57f68fa6406756698dd9193e",{"version":"0cecd585484aef3d5ef8e1a131c4a4d8","signature":"34645abc4855983356a9fa5ab38defc0","impliedNodeFormat":1},{"version":"8dcf43bdf6d718d52f34bebae0a37617","signature":"8e17479af3e6bdf61a0e8e52c55e45f4","impliedNodeFormat":1},{"version":"8872de6878d85e19fc9623d89169d74e","signature":"1e3accb214eb2c9fdb249bfeeab5587e","impliedNodeFormat":1},"4dd9935c3b4203401b65f7f6b455ba7d","423e047b468c881492f0a051775024eb","c4ece840f12acb7aeea82a30a446e14d","5d1b8ab37d3a8f8fed8f872a8a07574c","1c266a892ef1a39359c92062876da558","41c7caedf65f79eeba9ef606c7afa170","1b2f630dbf6031cd34def634b8315bf0",{"version":"28f3b1c764963fe4320a86e96f24c9d4","signature":"16b3d524ffcf33ea1f07b1f0a386450a","impliedNodeFormat":1},{"version":"d5bfb5e936d284df7ba34de0bfccdd17","signature":"73cd20f4a31809e74e1dc08ca1522e29","impliedNodeFormat":1},{"version":"3e051b1ac6c51416b6a9450351210ce6","signature":"75ccb83c622840da721b7218d88f4149","impliedNodeFormat":1},{"version":"8681f647d83ef897586cdebfb4d856dd","signature":"4b0e17a3f62e107359e1e15f7f358d10","impliedNodeFormat":1},{"version":"8f3254397bf832123b8a07b03e6a5e88","signature":"cc2b901f7b0577fe8403239d946e5528","impliedNodeFormat":1},{"version":"256b4b32d35668948d33cf96fdf8a9db","signature":"cb10540391673103ff67060e611bd28b","impliedNodeFormat":1},{"version":"397b449b379029b376b21286002a5bd9","signature":"f98d9dd271ce572063e93f31c844f004","impliedNodeFormat":1},{"version":"d7ae5c42f59915dcb287b90a9171cc22","signature":"6ac1fbcf986a84095e14b47411e994b0","impliedNodeFormat":1},{"version":"c2b87ba37c826d9417afa453562f0d1b","signature":"15b4a5b20a8c89d20cb3f77078653e0f","impliedNodeFormat":1},{"version":"3db4ffb4c863e2174b577019726333d0","signature":"27c788d2d5f015c2d09684c481e11cf1","impliedNodeFormat":1},{"version":"b0504da1dfdee24c9b1bf3ed6b1397bf","signature":"c8b95ee8dfbc1ddbeddf71ccc4ca5e07","impliedNodeFormat":1},{"version":"939bcbe8e552f3af85c621bd1288c5b1","signature":"c2b390d431bb5f71df737a1de82d5629","impliedNodeFormat":1},{"version":"4b94a97f7a0ea3587bce78f18f47be2b","signature":"8da705fd1c0407869dc2a2a99056f95c","impliedNodeFormat":1},{"version":"b878f5dcd78281e7f9341baa87c5bde7","signature":"ee859d42d8d17205f604e2e0923612c1","impliedNodeFormat":1},{"version":"c370282ca0b118255a0d4a6cb424ec30","signature":"b7300776f1b1d75e98375d407e449023","impliedNodeFormat":1},{"version":"131f38ed054b5efbbe056a32fed8cab5","signature":"2581fc3eb3a14bc433087ef2b68b2c62","impliedNodeFormat":1},{"version":"783b827ca545aafa5f8fd3e6ca8eb510","signature":"6a59fe79cc449061c9a3aba4b896c2bf","impliedNodeFormat":1},{"version":"1fd4caf1a94d64da1b0f8dfd18b12451","signature":"96a6767e44e8347b9323817f11131002","impliedNodeFormat":1},{"version":"cee65ea5e5fc525b6b5f7887cd9ea2ef","signature":"d630f4053e6421de0acd583ecbe2b5b5","impliedNodeFormat":1},{"version":"ed63d99e1e5c371dc120bef1b84057fc","impliedNodeFormat":99},{"version":"4d3fb552bfc7fb53c9195b2fafb512c0","impliedNodeFormat":99},{"version":"fbf7ba69043f86dc506ba28263e2e783","impliedNodeFormat":99},{"version":"a611eb6935df7737a77b34b01c631a4a","impliedNodeFormat":99},{"version":"6d08f6f1d0ee294c119d0e66f826331a","impliedNodeFormat":99},{"version":"d0abb8fa314728650d85450ff59db909","impliedNodeFormat":99},{"version":"abe007be89c2ad52c4d67fc2b0f6da6b","impliedNodeFormat":99},{"version":"ae1fe3925f3a2c8dfbb269ac2a50f5a6","impliedNodeFormat":99},{"version":"ee8ce731ff781ae7011350481a1af176","impliedNodeFormat":99},{"version":"08dcd98985ae16732a9be03d2b56aea6","impliedNodeFormat":99},{"version":"47f7401876f3c0a5b80bd01fbdfaed2b","impliedNodeFormat":99},{"version":"c740262327e60625eeb9d14da30af076","impliedNodeFormat":99},{"version":"3d553ca0b8e36d0e9f05a6b80fb3492d","impliedNodeFormat":99},{"version":"f5fb09fe1962bd4c63dc9d1fef0c41ae","impliedNodeFormat":99},{"version":"4aeb817c2b1122f77bdaeb4e884e9479","impliedNodeFormat":99},{"version":"31fca6603097de04dde1774dd2a14d9e","impliedNodeFormat":99},{"version":"0221e2868d1f0d6df8321d945764aadb","impliedNodeFormat":99},{"version":"d2f6ad6f161f0a522886f64842c96a0e","impliedNodeFormat":99},{"version":"618ace1500cc84e42bc2e47c64f8c407","impliedNodeFormat":99},{"version":"9dd3c481cc870c4bf19e59d34f030a27","impliedNodeFormat":99},{"version":"b5c81396e966d59acab5a45f66b70866","impliedNodeFormat":99},{"version":"f94aa434ddb9e71f6e80395de85f6850","impliedNodeFormat":99},{"version":"3486e8f7f01b9874a793ddd451eb62a5","impliedNodeFormat":99},{"version":"cb0e7222aae349c2fb4f89b26efa81bd","impliedNodeFormat":99},{"version":"b9129d694ae6cf810850117dda49d045","impliedNodeFormat":99},{"version":"0d7bbad7f82c886c5f36730065aec119","impliedNodeFormat":99},{"version":"369460c2755240ac2d3d006f09adb5ca","impliedNodeFormat":99},{"version":"4509fca76e721cdf9edb2d028395a117","impliedNodeFormat":99},"548472bfd4ebe2f1c8f494b960a27836",{"version":"fa98b0905a86da0a95fa8fd3e974e038","impliedNodeFormat":99},{"version":"5ede871fecbb2b6f672a99d3c3c6bee7","affectsGlobalScope":true,"impliedNodeFormat":99},{"version":"2c51637edf65b89d39356deff680ed36","affectsGlobalScope":true,"impliedNodeFormat":99},{"version":"0bf0efdacfd4bfadb631a4376097e382","impliedNodeFormat":99},{"version":"bd01f3bcdc72c9256e5cd5093d132df3","impliedNodeFormat":99},{"version":"b01bdc9acbaf3eb24eef464959e8e627","impliedNodeFormat":99},{"version":"2a75a1a065e5d0439fa1514d9c89b0eb","impliedNodeFormat":99},{"version":"b9129d694ae6cf810850117dda49d045","impliedNodeFormat":99},{"version":"c01d22bc96b89eedc0ed1f11d8c270ab","impliedNodeFormat":99},{"version":"c15bc5b81c64386efb6f85fb596c4349","impliedNodeFormat":99},{"version":"5794a694c1f75a9cc38cb5e9c757224e","impliedNodeFormat":99},{"version":"4040d5640775a803b2ca1aa914f7a1d4","impliedNodeFormat":99},{"version":"5ed96746ee2e7eb084ad54f0e0e518bc","impliedNodeFormat":99},{"version":"eba7786b00a4e551c36bafa71bfb1876","impliedNodeFormat":99},"8d8a98bf45979ce5401d9ca4027940cd","7d98e95d38525423bbe0f05e0a508a41","96920299d013de56061cbc74a1d658b2","439adabdf29be1212ec7acc292679f21","3eb46d20ed056dcbfa5e75bad9014661",{"version":"b46aa1886055db890de9be52a97b301e","impliedNodeFormat":99},"28d5a5718a71d0113016569329319e79","56d080dfccb3c53a2d6c74c4f24252e3","3fcb673f9582e954b88e5301cea2e116","b70a23ee97272dcedf89a59eb13dce09","6294201618a7ac0b0aca11519e05beca","5404d75b707f770973bbfef8d6435b0b","66d6d2eeab2fe724d820ec343699b384","637ab145289a60542ee70edb98701030","de33595bdcb1218563e354efc70822bd","cb26617fcf48e41362825205d749886d","acfbf135a9ab3e0f7da298da54518715","e8ad67e7491d8f1f9a93b33b7415868c","77a3ee497da0d9f6f0b7977c6114cb3c","e1c7093ed7cf79a829f3949f0eea4d21","164404971a17bc3ec6026e1b1e1048cc","6085bc7c76200dfd2cb23e5b4209aca4","1aaec34fdd055abfa1bd0a4fafa64af7","756c116cd2a8fdfa70fd27becfe948b8","f9faf828914bf27566a22c68abd9e088","697add4dd61f8612afaf78e17faa2ca0",{"version":"2fc458686ce36642aec07b8cb2278456","signature":"abe7d9981d6018efb6b2b794f40a1607","impliedNodeFormat":1},{"version":"2dce4f79396901c0427ddb319ea11faa","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"74ca485c563d0760ee97eba98d0e0502","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"bb58180deab74cb94466edd2693cd23a","signature":"abe7d9981d6018efb6b2b794f40a1607","impliedNodeFormat":1},{"version":"a4248850b317c74ed80c8916246e7d79","signature":"abe7d9981d6018efb6b2b794f40a1607","impliedNodeFormat":1},{"version":"c298f4485f983be8212e9678fe7e3e59","signature":"1fa5f4fa657cb5534f7747633e317abf","impliedNodeFormat":1},{"version":"8968f187a4cfa0dc1c0c928798700079","signature":"5690a68d648d3e79817adbdf7826eb46","impliedNodeFormat":1},{"version":"9c1682798d79f04f17602bd2e355d536","signature":"cd90f7392b24633e9cbaf8f016578e94","impliedNodeFormat":1},{"version":"0e5ea58620ca3452d4131c166053ee3c","signature":"99aae46d6893a49fe8ad584fef4b1f2d","impliedNodeFormat":1},{"version":"298117a54b12ee18866e02efb9b821cf","signature":"2eb0ca0f25c3e12c4767a9563b385ddc","impliedNodeFormat":1},{"version":"588191cfecb73edf7e2fecfd09180dc1","signature":"a09fe6eb0af15e80edf6ca703e8f5bcd","impliedNodeFormat":1},{"version":"0cfd1e5d319c42e53f02802b3f931be0","signature":"abe7d9981d6018efb6b2b794f40a1607","impliedNodeFormat":1},"2be3856d73490cba57d6ac611737ce22",{"version":"0f3b2625dca6cb76e80b3f9241a5352d","signature":"abe7d9981d6018efb6b2b794f40a1607","impliedNodeFormat":1},{"version":"f5b80fdfb422346f4dab53785c47e6a2","signature":"abe7d9981d6018efb6b2b794f40a1607","impliedNodeFormat":1},{"version":"281848039f4c62ad0c5b163d3e93b787","signature":"abe7d9981d6018efb6b2b794f40a1607","impliedNodeFormat":1},{"version":"903243e63115cdd47a4d3138c5f787d5","signature":"abe7d9981d6018efb6b2b794f40a1607","impliedNodeFormat":1},{"version":"d70f94ffafe5e06166563b0f7e207d1f","signature":"abe7d9981d6018efb6b2b794f40a1607","impliedNodeFormat":1},{"version":"27085faff6d885f8c57473f65601b758","signature":"abe7d9981d6018efb6b2b794f40a1607","impliedNodeFormat":1},{"version":"804a164dd556360c1d619de7a002d194","signature":"6d99a8fdd3ea3dd6b2b2f3195c68c215","impliedNodeFormat":1},{"version":"e9e68737a872ccc4341e8c2be04df130","signature":"0e36390610ae69666076f3a6b419f378","impliedNodeFormat":1},{"version":"1ba842604e80a81b129d6aac6a106206","signature":"9f21490d8856a25348d665a23bb027d7","impliedNodeFormat":1},{"version":"ec7c1e14a243614d094bdb7cbaee0c74","signature":"abe7d9981d6018efb6b2b794f40a1607","impliedNodeFormat":1},{"version":"3a38f3795f9c0b272156ffe5844ee633","signature":"8e37dd1a6978d382c1e6ea39e3779b44","impliedNodeFormat":1},{"version":"0e5bf924a9561353790463b01e2468ac","signature":"eee2f513bb33150490c451e85b3e6b8a","impliedNodeFormat":1},{"version":"cd8787d83e78a71db154d7044d032a85","signature":"abe7d9981d6018efb6b2b794f40a1607","impliedNodeFormat":1}],"fileIdsList":[[197],[194,195,196,197,198,201,202,203,204,205,206,207,208],[193],[200],[194,195,196],[194,195],[197,198,200],[195],[107,192,209,210],[171,172],[107],[107,192,213],[107,192],[105,106],[144,150,168,169,170,173],[180],[180,181],[148,150,151],[148,150],[148],[143,148,159,160],[143,148,159],[167],[143,149],[143],[145],[143,144,145,146,147],[64,107],[186,187],[186,187,188,189],[186,188],[186],[199],[154],[154,155,156,157],[156],[152,175,176,178],[152,153,165,178],[143,150,152,153,161,178],[158],[143,152,153,161,174,177],[152,153,158,161,178],[152,175,176,177,178],[152,158,162,163,164,178],[143,148,150,152,153,158,161,162,163,164,165,166,168,174,175,176,177,178,179,182,183,184,185,190],[143,150,152,153,161,162,175,176,177,178,183],[66,67,75,80,87,90],[64,72,88,89],[64,65,88,104],[64,67],[64],[64,69],[64,66,70,71,73,74,88],[64,66,67,68,70,73,88],[64,88],[64,66,72,88],[64,74],[64,88,89],[67,81],[64,81,82,88],[65,74,75,88,91,92,93,94,95,96,97,98,99,100,101],[81],[64,81,88],[64,81,83,88],[64,72,81,83,88,121],[64,70,72,81,83,88],[81,88,99],[117,118,119,120,121,122],[65,66,68,69,70,71,72,73,74,75,80,81,83,85,87,88,89,90,91,101,102,103],[64,67,68,88],[64,67,88],[64,66,68,69,70,73,74,75,76,77,78,79,80,81,84,85,86,87,89,90,91,102,104],[75,86,88],[67,68,70,74,81],[66,72,78,86,88,111,112],[86,88],[74],[64,70,72,80,83,84],[91],[67,88],[72],[104,107],[104,107,108,109,113,116],[104,107,113,116,137,138],[104,141,191,211],[141,191,214],[104,107,140],[104,107,109,113],[104],[104,113],[104,114,139,191,214,220,221,222],[64,104,108,113,114,137,139,191,211,220,221,222,224],[64,107,109,123,128,191,211],[64,107,115,123,125,126,127],[64,107,123,127,191,211],[107,123],[64,104,115,116],[104,107,109],[64,104,115],[64,115,116],[109,115,116,130,131,132,133,134,135,136],[104,115,136,191,211],[64,104,107,115],[64,104,107,115,123,129,130,191,211],[64,104,107,115,116,125,127,128,129],[104,107,115],[64,116,191,211,224],[108,114,139,141],[219],[104,108,218],[104,107,108,109,192,217],[104,107,108,109,214,217],[107,129,130],[64,104,107,129,137,191,211,233],[104,107,116,129,137],[129,232,233],[104,108,113,231],[107,123,125,191,211],[107,123,124],[123,124]],"options":{"composite":true,"emitDeclarationOnly":true,"declaration":true,"declarationDir":"./","declarationMap":true,"jsx":4,"noUncheckedIndexedAccess":true,"rootDir":"../src","skipLibCheck":true,"strict":true,"target":10,"tsBuildInfoFile":"./.tsbuildinfo","esModuleInterop":true},"referencedMap":[[198,1],[209,2],[194,3],[205,4],[197,5],[196,6],[201,7],[202,8],[211,9],[173,10],[192,11],[214,12],[213,13],[210,11],[107,14],[110,11],[174,15],[181,16],[182,17],[152,18],[151,19],[175,18],[159,20],[161,21],[160,22],[168,23],[150,24],[144,25],[146,26],[148,27],[149,25],[224,28],[188,29],[190,30],[189,31],[187,32],[200,33],[155,34],[158,35],[156,34],[157,36],[177,37],[166,38],[162,39],[163,20],[184,40],[178,41],[164,42],[183,43],[165,44],[191,45],[185,46],[91,47],[87,48],[66,49],[68,50],[69,51],[101,52],[72,53],[74,54],[80,55],[81,50],[73,56],[71,57],[75,55],[90,58],[82,59],[83,60],[84,51],[70,52],[102,61],[117,62],[119,63],[120,64],[122,65],[121,66],[118,67],[123,68],[104,69],[78,70],[79,71],[77,71],[89,63],[88,72],[112,73],[86,74],[113,75],[111,76],[92,77],[85,78],[100,79],[99,80],[98,81],[108,82],[109,82],[138,83],[139,84],[212,85],[215,86],[216,85],[141,87],[114,88],[221,89],[222,90],[223,91],[225,92],[140,89],[226,93],[128,94],[227,95],[127,96],[134,97],[115,98],[135,99],[133,100],[132,99],[137,101],[228,102],[136,103],[229,104],[130,105],[131,106],[230,107],[116,28],[142,108],[220,109],[219,110],[218,111],[231,112],[232,113],[234,114],[233,115],[129,11],[235,116],[236,117],[237,118],[125,119],[126,120]],"latestChangedDtsFile":"./utils/map-field-to-react.test.d.ts"}
@@ -1,10 +1,10 @@
1
- import { AdaptedComponent, AdaptedComponentStyle, LazyComponentLoader } from '@picked/client';
2
- import { ComponentType } from 'react';
1
+ import type { AdaptedComponent, AdaptedComponentStyle, LazyComponentLoader } from '@picked/client';
2
+ import type { ComponentType } from 'react';
3
3
  export type ComponentWithProps = ComponentType<any>;
4
4
  export declare const adaptReactComponent: (component: ComponentWithProps | Promise<{
5
5
  default: ComponentWithProps;
6
- }> | LazyComponentLoader<ComponentWithProps>, style?: AdaptedComponentStyle) => AdaptedComponent<"react", ComponentWithProps | Promise<{
6
+ }> | LazyComponentLoader<ComponentWithProps>, style?: AdaptedComponentStyle) => AdaptedComponent<'react', ComponentWithProps | Promise<{
7
7
  default: ComponentWithProps;
8
8
  }> | LazyComponentLoader<ComponentWithProps>>;
9
- export declare const isValidAdaptedComponent: (component: AdaptedComponent<string, unknown>) => component is AdaptedComponent<"react", ComponentWithProps>;
9
+ export declare const isValidAdaptedComponent: (component: AdaptedComponent<string, unknown>) => component is AdaptedComponent<'react', ComponentWithProps>;
10
10
  //# sourceMappingURL=component.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"component.d.ts","sourceRoot":"","sources":["../src/component.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,qBAAqB,EAAE,mBAAmB,EAAE,MAAM,gBAAgB,CAAA;AAClG,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,OAAO,CAAA;AAE1C,MAAM,MAAM,kBAAkB,GAAG,aAAa,CAAC,GAAG,CAAC,CAAA;AAKnD,eAAO,MAAM,mBAAmB,GAC9B,WACI,kBAAkB,GAClB,OAAO,CAAC;IAAE,OAAO,EAAE,kBAAkB,CAAA;CAAE,CAAC,GACxC,mBAAmB,CAAC,kBAAkB,CAAC,EAC3C,QAAQ,qBAAqB,KAC5B,gBAAgB,CACjB,OAAO,EACL,kBAAkB,GAClB,OAAO,CAAC;IAAE,OAAO,EAAE,kBAAkB,CAAA;CAAE,CAAC,GACxC,mBAAmB,CAAC,kBAAkB,CAAC,CAO1C,CAAA;AAED,eAAO,MAAM,uBAAuB,GAClC,WAAW,gBAAgB,CAAC,MAAM,EAAE,OAAO,CAAC,KAC3C,SAAS,IAAI,gBAAgB,CAAC,OAAO,EAAE,kBAAkB,CAE3D,CAAA"}
1
+ {"version":3,"file":"component.d.ts","sourceRoot":"","sources":["../src/component.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,qBAAqB,EAAE,mBAAmB,EAAE,MAAM,gBAAgB,CAAA;AAClG,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,OAAO,CAAA;AAE1C,MAAM,MAAM,kBAAkB,GAAG,aAAa,CAAC,GAAG,CAAC,CAAA;AAKnD,eAAO,MAAM,mBAAmB,cAE1B,kBAAkB,GAClB,OAAO,CAAC;IAAE,OAAO,EAAE,kBAAkB,CAAA;CAAE,CAAC,GACxC,mBAAmB,CAAC,kBAAkB,CAAC,UACnC,qBAAqB,KAC5B,gBAAgB,CACjB,OAAO,EACL,kBAAkB,GAClB,OAAO,CAAC;IAAE,OAAO,EAAE,kBAAkB,CAAA;CAAE,CAAC,GACxC,mBAAmB,CAAC,kBAAkB,CAAC,CAO1C,CAAA;AAED,eAAO,MAAM,uBAAuB,cACvB,gBAAgB,CAAC,MAAM,EAAE,OAAO,CAAC,KAC3C,SAAS,IAAI,gBAAgB,CAAC,OAAO,EAAE,kBAAkB,CAE3D,CAAA"}
package/dist/context.d.ts CHANGED
@@ -1,6 +1,6 @@
1
- import { ExperienceInstance, Picked } from '@picked/client';
2
- export declare const ClientContext: import('react').Context<Picked | null>;
3
- export declare const ClientProvider: import('react').Provider<Picked | null>;
4
- export declare const ExperienceContext: import('react').Context<ExperienceInstance | null>;
5
- export declare const ExperienceProvider: import('react').Provider<ExperienceInstance | null>;
1
+ import type { ExperienceInstance, Picked } from '@picked/client';
2
+ export declare const ClientContext: import("react").Context<Picked | null>;
3
+ export declare const ClientProvider: import("react").Provider<Picked | null>;
4
+ export declare const ExperienceContext: import("react").Context<ExperienceInstance | null>;
5
+ export declare const ExperienceProvider: import("react").Provider<ExperienceInstance | null>;
6
6
  //# sourceMappingURL=context.d.ts.map
@@ -1,5 +1,13 @@
1
- import { default as React } from 'react';
2
- import { ExperienceStore, Picked } from '@picked/client';
1
+ /**
2
+ * @file Internal host that instantiates a single experience, exposes the instance via context,
3
+ * and renders the resolved React component (direct, promise-wrapped, or lazy-loaded).
4
+ *
5
+ * Lazy loaders and promise-wrapped components load asynchronously via `React.lazy`: they render a
6
+ * `Suspense` fallback of `null` on the server and on the hydration first paint, then swap in once
7
+ * resolved on the client, so the server and the client's first paint agree.
8
+ */
9
+ import React from 'react';
10
+ import type { ExperienceStore, Picked } from '@picked/client';
3
11
  interface ExperienceHostProps {
4
12
  readonly experience: ExperienceStore;
5
13
  readonly client: Picked;
@@ -1 +1 @@
1
- {"version":3,"file":"ExperienceHost.d.ts","sourceRoot":"","sources":["../../src/experience/ExperienceHost.tsx"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AACH,OAAO,KAA+C,MAAM,OAAO,CAAA;AAEnE,OAAO,KAAK,EAAsB,eAAe,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAA;AAOjF,UAAU,mBAAmB;IAC3B,QAAQ,CAAC,UAAU,EAAE,eAAe,CAAA;IACpC,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAA;CACxB;AAiBD;;;;;;;;;;;;;;;GAeG;AACH,iBAAS,cAAc,CAAC,EAAE,UAAU,EAAE,MAAM,EAAE,EAAE,mBAAmB,GAAG,KAAK,CAAC,GAAG,CAAC,OAAO,GAAG,IAAI,CAyD7F;AAED,QAAA,MAAM,sBAAsB,kDAA6B,CAAA;AAGzD,eAAe,sBAAsB,CAAA"}
1
+ {"version":3,"file":"ExperienceHost.d.ts","sourceRoot":"","sources":["../../src/experience/ExperienceHost.tsx"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AACH,OAAO,KAA+C,MAAM,OAAO,CAAA;AAEnE,OAAO,KAAK,EAAsB,eAAe,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAA;AAOjF,UAAU,mBAAmB;IAC3B,QAAQ,CAAC,UAAU,EAAE,eAAe,CAAA;IACpC,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAA;CACxB;AAiBD;;;;;;;;;;;;;;;GAeG;AACH,iBAAS,cAAc,CAAC,EAAE,UAAU,EAAE,MAAM,EAAE,EAAE,mBAAmB,GAAG,KAAK,CAAC,GAAG,CAAC,OAAO,GAAG,IAAI,CAyD7F;AAED,QAAA,MAAM,sBAAsB,kDAA6B,CAAA;eAG1C,sBAAsB"}
@@ -1,4 +1,11 @@
1
- import { default as React } from 'react';
1
+ /**
2
+ * @file Slot-based experience renderer. Renders every registered experience that targets the
3
+ * named slot and whose condition is active, ordered by placement. Active is read synchronously
4
+ * from the seeded condition-results store (sync on SSR / hydration first paint); on a cache miss
5
+ * (standalone, no snapshot) the condition is evaluated asynchronously and the store update
6
+ * re-renders reactively.
7
+ */
8
+ import React from 'react';
2
9
  interface ExperienceSlotProps {
3
10
  /**
4
11
  * Slot name. Maps to the `.picked-slot-<name>` selector that targeted experiences declare.
@@ -1 +1 @@
1
- {"version":3,"file":"ExperienceSlot.d.ts","sourceRoot":"","sources":["../../src/experience/ExperienceSlot.tsx"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,OAAO,KAA6B,MAAM,OAAO,CAAA;AAQjD,UAAU,mBAAmB;IAC3B;;;;OAIG;IACH,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAA;CACtB;AAyFD;;;;;;;;;;;;;;;GAeG;AACH,iBAAS,cAAc,CAAC,EAAE,IAAI,EAAE,EAAE,mBAAmB,GAAG,KAAK,CAAC,GAAG,CAAC,OAAO,CA4DxE;AAED,eAAe,cAAc,CAAA"}
1
+ {"version":3,"file":"ExperienceSlot.d.ts","sourceRoot":"","sources":["../../src/experience/ExperienceSlot.tsx"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,OAAO,KAA6B,MAAM,OAAO,CAAA;AAQjD,UAAU,mBAAmB;IAC3B;;;;OAIG;IACH,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAA;CACtB;AAyFD;;;;;;;;;;;;;;;GAeG;AACH,iBAAS,cAAc,CAAC,EAAE,IAAI,EAAE,EAAE,mBAAmB,GAAG,KAAK,CAAC,GAAG,CAAC,OAAO,CA4DxE;eAEc,cAAc"}
@@ -1,4 +1,5 @@
1
- import { default as React } from 'react';
1
+ /** @file Renders a resolved html-asset field into a shadow root and re-executes its Picked-tagged scripts. */
2
+ import React from 'react';
2
3
  interface HtmlRenderProps {
3
4
  /** The resolved html-asset field value (for example `content.body`). */
4
5
  readonly html: unknown;
@@ -13,6 +14,15 @@ interface HtmlRenderProps {
13
14
  * client-only mount or a later content change attaches and writes the shadow root imperatively
14
15
  * instead. A non-matching value or a `null` content renders nothing.
15
16
  *
17
+ * Inside a Picked live-preview session the update path changes: content arrives at typing speed, so
18
+ * after the first render the shadow root is **morphed** rather than rewritten, and page scripts are
19
+ * **frozen** — nothing re-executes. The two are one behaviour and must never be separated. Freezing
20
+ * is what stops a customer's analytics and third-party pixels firing once per keystroke from the
21
+ * dashboard; morphing is what keeps the page alive without them, since a wholesale rewrite would
22
+ * detach every listener with nothing left to re-bind it. Markup inserted during a preview morph has
23
+ * its scripts neutralised, so a newly-added section renders but has no behaviour until the next full
24
+ * load — reported to the embedder so the editor can say so.
25
+ *
16
26
  * @param {HtmlRenderProps} props - The component props.
17
27
  * @returns {React.JSX.Element} The shadow-root host element.
18
28
  * @example
@@ -1 +1 @@
1
- {"version":3,"file":"HtmlRender.d.ts","sourceRoot":"","sources":["../../src/experience/HtmlRender.tsx"],"names":[],"mappings":"AAAA,8GAA8G;AAC9G,OAAO,KAA4B,MAAM,OAAO,CAAA;AAQhD,UAAU,eAAe;IACvB,wEAAwE;IACxE,QAAQ,CAAC,IAAI,EAAE,OAAO,CAAA;CACvB;AAED;;;;;;;;;;;;;;GAcG;AACH,iBAAS,UAAU,CAAC,EAAE,IAAI,EAAE,EAAE,eAAe,GAAG,KAAK,CAAC,GAAG,CAAC,OAAO,CAgChE;AAED,eAAe,UAAU,CAAA"}
1
+ {"version":3,"file":"HtmlRender.d.ts","sourceRoot":"","sources":["../../src/experience/HtmlRender.tsx"],"names":[],"mappings":"AAAA,8GAA8G;AAC9G,OAAO,KAA4B,MAAM,OAAO,CAAA;AAWhD,UAAU,eAAe;IACvB,wEAAwE;IACxE,QAAQ,CAAC,IAAI,EAAE,OAAO,CAAA;CACvB;AAED;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,iBAAS,UAAU,CAAC,EAAE,IAAI,EAAE,EAAE,eAAe,GAAG,KAAK,CAAC,GAAG,CAAC,OAAO,CAuChE;eAEc,UAAU"}
@@ -1 +1 @@
1
- import{useEffect as e,useRef as t}from"react";import{isHtmlAssetValue as n,rehydrateScripts as r,supportsShadowRoot as i,supportsWindow as a}from"@picked/client";import{jsx as o}from"react/jsx-runtime";function s({html:s}){let c=(n(s)?s:null)?.content??``,l=t(null),u=t(!1);return e(()=>{let e=l.current;if(!i()||!e)return;let t=e.shadowRoot,n=!u.current;if(u.current=!0,t&&n){c&&r(t);return}let a=t??e.attachShadow({mode:`open`});a.innerHTML=c,c&&r(a)},[c]),a()?o(`div`,{ref:l,suppressHydrationWarning:!0}):o(`div`,{ref:l,suppressHydrationWarning:!0,dangerouslySetInnerHTML:{__html:`<template shadowrootmode="open">${c}</template>`}})}export{s as default};
1
+ import{morphInto as e}from"./morph.js";import{useEffect as t,useRef as n}from"react";import{isHtmlAssetValue as r,isPreviewSession as i,rehydrateScripts as a,reportInertScriptSubtrees as o,supportsShadowRoot as s,supportsWindow as c}from"@picked/client";import{jsx as l}from"react/jsx-runtime";function u({html:u}){let d=(r(u)?u:null)?.content??``,f=n(null),p=n(!1);if(t(()=>{let t=f.current;if(!s()||!t)return;let n=t.shadowRoot,r=!p.current;if(p.current=!0,n&&r){d&&a(n);return}let c=n??t.attachShadow({mode:`open`});if(!r&&i()){let{inertScriptSubtrees:t}=e(c,d);o(t);return}c.innerHTML=d,d&&a(c)},[d]),!c()){let e=`<template shadowrootmode="open">${d}</template>`;return l(`div`,{ref:f,suppressHydrationWarning:!0,dangerouslySetInnerHTML:{__html:e}})}return l(`div`,{ref:f,suppressHydrationWarning:!0})}export{u as default};
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=HtmlRender.preview.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"HtmlRender.preview.test.d.ts","sourceRoot":"","sources":["../../src/experience/HtmlRender.preview.test.tsx"],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=HtmlRender.server.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"HtmlRender.server.test.d.ts","sourceRoot":"","sources":["../../src/experience/HtmlRender.server.test.tsx"],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=HtmlRender.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"HtmlRender.test.d.ts","sourceRoot":"","sources":["../../src/experience/HtmlRender.test.tsx"],"names":[],"mappings":""}
@@ -1,6 +1,11 @@
1
- import { default as React } from 'react';
2
- import { CreateClientOptions, Picked } from '@picked/client';
3
- import { PickedSnapshot } from '@picked/client/server';
1
+ /**
2
+ * @file Provider that supplies a Picked client to descendant components — created from `options`
3
+ * (hydrated from an optional SSR snapshot) or an existing client passed in — and, on the client
4
+ * only, starts the interactive lifecycle.
5
+ */
6
+ import React from 'react';
7
+ import type { CreateClientOptions, Picked } from '@picked/client';
8
+ import { type PickedSnapshot } from '@picked/client/server';
4
9
  type PickedProviderProps = {
5
10
  readonly client: Picked;
6
11
  readonly snapshot?: PickedSnapshot;
@@ -1 +1 @@
1
- {"version":3,"file":"PickedProvider.d.ts","sourceRoot":"","sources":["../../src/experience/PickedProvider.tsx"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,OAAO,KAA8B,MAAM,OAAO,CAAA;AAClD,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAA;AAEjE,OAAO,EAAyB,KAAK,cAAc,EAAE,MAAM,uBAAuB,CAAA;AAGlF,KAAK,mBAAmB,GACpB;IACE,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAA;IACvB,QAAQ,CAAC,QAAQ,CAAC,EAAE,cAAc,CAAA;IAClC,QAAQ,CAAC,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;CACpC,GACD;IACE,QAAQ,CAAC,OAAO,EAAE,mBAAmB,CAAA;IACrC,QAAQ,CAAC,QAAQ,CAAC,EAAE,cAAc,CAAA;IAClC,QAAQ,CAAC,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;CACpC,CAAA;AA2CL;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,iBAAS,cAAc,CAAC,KAAK,EAAE,mBAAmB,GAAG,KAAK,CAAC,GAAG,CAAC,OAAO,CAwBrE;AAED,eAAe,cAAc,CAAA"}
1
+ {"version":3,"file":"PickedProvider.d.ts","sourceRoot":"","sources":["../../src/experience/PickedProvider.tsx"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,OAAO,KAA8B,MAAM,OAAO,CAAA;AAClD,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAA;AAEjE,OAAO,EAAyB,KAAK,cAAc,EAAE,MAAM,uBAAuB,CAAA;AAGlF,KAAK,mBAAmB,GACpB;IACE,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAA;IACvB,QAAQ,CAAC,QAAQ,CAAC,EAAE,cAAc,CAAA;IAClC,QAAQ,CAAC,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;CACpC,GACD;IACE,QAAQ,CAAC,OAAO,EAAE,mBAAmB,CAAA;IACrC,QAAQ,CAAC,QAAQ,CAAC,EAAE,cAAc,CAAA;IAClC,QAAQ,CAAC,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;CACpC,CAAA;AA2CL;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,iBAAS,cAAc,CAAC,KAAK,EAAE,mBAAmB,GAAG,KAAK,CAAC,GAAG,CAAC,OAAO,CAwBrE;eAEc,cAAc"}
@@ -0,0 +1,17 @@
1
+ /** @file Test fixture: a trivial experience component that renders its instance id. */
2
+ import type { ExperienceInstance } from '@picked/client';
3
+ interface TestExperienceProps {
4
+ readonly experience: ExperienceInstance;
5
+ }
6
+ /**
7
+ * Renders the experience instance id so tests can assert which experiences mounted.
8
+ *
9
+ * @param {TestExperienceProps} props - The component props.
10
+ * @param {ExperienceInstance} props.experience - The experience instance whose id is rendered.
11
+ * @returns {React.JSX.Element} A node containing the experience id.
12
+ * @example
13
+ * <TestExperience experience={instance} />
14
+ */
15
+ declare function TestExperience({ experience }: TestExperienceProps): React.JSX.Element;
16
+ export default TestExperience;
17
+ //# sourceMappingURL=TestExperience.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TestExperience.d.ts","sourceRoot":"","sources":["../../../src/experience/__fixtures__/TestExperience.tsx"],"names":[],"mappings":"AAAA,uFAAuF;AACvF,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,gBAAgB,CAAA;AAExD,UAAU,mBAAmB;IAC3B,QAAQ,CAAC,UAAU,EAAE,kBAAkB,CAAA;CACxC;AAED;;;;;;;;GAQG;AACH,iBAAS,cAAc,CAAC,EAAE,UAAU,EAAE,EAAE,mBAAmB,GAAG,KAAK,CAAC,GAAG,CAAC,OAAO,CAE9E;eAEc,cAAc"}
@@ -0,0 +1,50 @@
1
+ /** @file Test fixtures: minimal project configs and snapshots for the SSR component tests. */
2
+ import { type PickedSnapshot, type ProjectConfig, type ProjectConfigExperience } from '@picked/client/server';
3
+ import type { ExperienceTarget } from '@picked/client';
4
+ type ConditionRule = ProjectConfigExperience['condition'];
5
+ /** A JSON-logic rule that always evaluates truthy, used as a stand-in experience condition. */
6
+ export declare const PASSING_RULE: ConditionRule;
7
+ /**
8
+ * Builds a minimal `ProjectConfigExperience` targeting the page slot with the given placement.
9
+ *
10
+ * @param {object} overrides - Experience overrides.
11
+ * @param {string} overrides.id - The experience id.
12
+ * @param {string} overrides.key - The experience key.
13
+ * @param {ExperienceTarget['placement']} overrides.placement - The slot placement.
14
+ * @param {ConditionRule} [overrides.condition] - The experience's decision logic.
15
+ * @param {string} [overrides.selector] - The target selector (defaults to the page slot).
16
+ * @returns {ProjectConfigExperience} A minimal experience config.
17
+ * @example
18
+ * buildExperience({ id: 'exp-1', key: 'hero', placement: 'append', condition: PASSING_RULE })
19
+ */
20
+ export declare function buildExperience(overrides: {
21
+ id: string;
22
+ key: string;
23
+ placement: ExperienceTarget['placement'];
24
+ condition?: ConditionRule;
25
+ selector?: string;
26
+ }): ProjectConfigExperience;
27
+ /**
28
+ * Builds a minimal `ProjectConfig` containing the given experiences and (optionally) named
29
+ * conditions referenced by composition.
30
+ *
31
+ * @param {ProjectConfigExperience[]} experiences - The experiences to include.
32
+ * @param {ProjectConfig['conditions']} [conditions] - Named conditions registered for composition.
33
+ * @returns {ProjectConfig} A minimal project config.
34
+ * @example
35
+ * buildProjectConfig([buildExperience({ id: 'exp-1', key: 'hero', placement: 'append' })])
36
+ */
37
+ export declare function buildProjectConfig(experiences: ProjectConfigExperience[], conditions?: ProjectConfig['conditions']): ProjectConfig;
38
+ /**
39
+ * Builds a plain-JSON SSR snapshot whose `conditionResults` seed marks each experience's
40
+ * condition active or inactive by rule hash.
41
+ *
42
+ * @param {ProjectConfig} projectConfig - The project config to snapshot.
43
+ * @param {Record<string, boolean>} resultsByExperienceId - Active flags keyed by experience id.
44
+ * @returns {PickedSnapshot} A snapshot with seeded condition results.
45
+ * @example
46
+ * buildSnapshot(config, { 'exp-1': true })
47
+ */
48
+ export declare function buildSnapshot(projectConfig: ProjectConfig, resultsByExperienceId: Record<string, boolean>): PickedSnapshot;
49
+ export {};
50
+ //# sourceMappingURL=project-config.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"project-config.d.ts","sourceRoot":"","sources":["../../../src/experience/__fixtures__/project-config.ts"],"names":[],"mappings":"AAAA,8FAA8F;AAC9F,OAAO,EAEL,KAAK,cAAc,EACnB,KAAK,aAAa,EAClB,KAAK,uBAAuB,EAC7B,MAAM,uBAAuB,CAAA;AAC9B,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAA;AAEtD,KAAK,aAAa,GAAG,uBAAuB,CAAC,WAAW,CAAC,CAAA;AAEzD,+FAA+F;AAC/F,eAAO,MAAM,YAAY,EAAE,aAAgC,CAAA;AAK3D;;;;;;;;;;;;GAYG;AACH,wBAAgB,eAAe,CAAC,SAAS,EAAE;IACzC,EAAE,EAAE,MAAM,CAAA;IACV,GAAG,EAAE,MAAM,CAAA;IACX,SAAS,EAAE,gBAAgB,CAAC,WAAW,CAAC,CAAA;IACxC,SAAS,CAAC,EAAE,aAAa,CAAA;IACzB,QAAQ,CAAC,EAAE,MAAM,CAAA;CAClB,GAAG,uBAAuB,CAY1B;AAED;;;;;;;;;GASG;AACH,wBAAgB,kBAAkB,CAChC,WAAW,EAAE,uBAAuB,EAAE,EACtC,UAAU,GAAE,aAAa,CAAC,YAAY,CAAM,GAC3C,aAAa,CAcf;AAED;;;;;;;;;GASG;AACH,wBAAgB,aAAa,CAC3B,aAAa,EAAE,aAAa,EAC5B,qBAAqB,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAC7C,cAAc,CAehB"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=experience.server.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"experience.server.test.d.ts","sourceRoot":"","sources":["../../src/experience/experience.server.test.tsx"],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=experience.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"experience.test.d.ts","sourceRoot":"","sources":["../../src/experience/experience.test.tsx"],"names":[],"mappings":""}
@@ -0,0 +1,26 @@
1
+ /** Outcome of a morph pass. Returned by {@link morphInto}. */
2
+ interface MorphResult {
3
+ /**
4
+ * How many inserted subtrees contained at least one `<script>`. Those scripts are neutralised
5
+ * before insertion, so the markup renders but has no behaviour until the next full load. The
6
+ * dashboard surfaces this count so an author who adds a section understands why its carousel is
7
+ * inert, instead of filing it as a bug.
8
+ */
9
+ inertScriptSubtrees: number;
10
+ }
11
+ /**
12
+ * Morphs a root's children to match `markup`, preserving every node the new markup did not change.
13
+ *
14
+ * Scripts are never executed: existing ones are left untouched (mutating a script's text does not
15
+ * re-run it) and inserted ones are neutralised before they reach the document. The returned count
16
+ * reports how many inserted subtrees were affected, so the editor can say so.
17
+ *
18
+ * @param {ParentNode & Node} root - The live root — typically a shadow root — to update.
19
+ * @param {string} markup - The desired markup.
20
+ * @returns {MorphResult} How many inserted subtrees had their scripts neutralised.
21
+ * @example
22
+ * const { inertScriptSubtrees } = morphInto(shadowRoot, '<h1>Hello</h1>')
23
+ */
24
+ export declare function morphInto(root: ParentNode & Node, markup: string): MorphResult;
25
+ export {};
26
+ //# sourceMappingURL=morph.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"morph.d.ts","sourceRoot":"","sources":["../../src/experience/morph.ts"],"names":[],"mappings":"AAmBA,8DAA8D;AAC9D,UAAU,WAAW;IACnB;;;;;OAKG;IACH,mBAAmB,EAAE,MAAM,CAAA;CAC5B;AAuHD;;;;;;;;;;;;GAYG;AACH,wBAAgB,SAAS,CAAC,IAAI,EAAE,UAAU,GAAG,IAAI,EAAE,MAAM,EAAE,MAAM,GAAG,WAAW,CAO9E"}
@@ -0,0 +1 @@
1
+ import{PICKED_SCRIPT_TYPE as e}from"@picked/client";var t=`data-picked-hydrated`;function n(t){let n=t.querySelectorAll(`script`),r=t.tagName===`SCRIPT`;if(n.length===0&&!r)return!1;r&&t.setAttribute(`type`,e);for(let t of Array.from(n))t.setAttribute(`type`,e);return!0}function r(e,t,r){let i=t.importNode(e,!0);return i instanceof Element&&n(i)&&(r.inertScriptSubtrees+=1),i}function i(e,n){for(let t of Array.from(n.attributes))e.getAttribute(t.name)!==t.value&&e.setAttribute(t.name,t.value);for(let r of Array.from(e.attributes))r.name!==t&&(n.hasAttribute(r.name)||e.removeAttribute(r.name))}function a(e,t){return e.nodeType===t.nodeType&&e.nodeName===t.nodeName}function o(e,t,n,s){let c=Array.from(e.childNodes),l=Array.from(t.childNodes);for(let[t,u]of l.entries()){let l=c[t];if(!l){e.appendChild(r(u,n,s));continue}if(!a(l,u)){e.replaceChild(r(u,n,s),l);continue}if(l instanceof Element&&u instanceof Element){i(l,u),o(l,u,n,s);continue}l.nodeValue!==u.nodeValue&&(l.nodeValue=u.nodeValue)}for(let e of c.slice(l.length))e.remove()}function s(e,t){let n={inertScriptSubtrees:0},r=e.ownerDocument??globalThis.document,i=r.createElement(`template`);return i.innerHTML=t,o(e,i.content,r,n),n}export{s as morphInto};
@@ -1,8 +1,9 @@
1
- import { FormEvent } from 'react';
2
- import { Store } from 'effector';
3
- import { ErrorCallback, FormInstance as CoreFormInstance, SubmitCallback, SuccessCallback } from '@picked/client/form';
4
- import { ReactFormField } from '../utils/map-field-to-react';
5
- import { FormCallbackOptions, FormCallbackRegistrars } from './use-form-callbacks';
1
+ /** @file React `useForm` hook — thin adapter over createForm from `@picked/client/form`. */
2
+ import { type FormEvent } from 'react';
3
+ import type { Store } from 'effector';
4
+ import { type ErrorCallback, type FormInstance as CoreFormInstance, type SubmitCallback, type SuccessCallback } from '@picked/client/form';
5
+ import { type ReactFormField } from '../utils/map-field-to-react';
6
+ import { type FormCallbackOptions, type FormCallbackRegistrars } from './use-form-callbacks';
6
7
  export type { FormCallbackOptions, FormCallbackRegistrars, FormCallbackChannel, } from './use-form-callbacks';
7
8
  export interface FormInstance {
8
9
  form: {
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=index.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.test.d.ts","sourceRoot":"","sources":["../../src/form/index.test.tsx"],"names":[],"mappings":""}
@@ -1,4 +1,4 @@
1
- import { ErrorCallback, FormCallbackOptions, SubmitCallback, SuccessCallback } from '@picked/client/form';
1
+ import type { ErrorCallback, FormCallbackOptions, SubmitCallback, SuccessCallback } from '@picked/client/form';
2
2
  export type { FormCallbackOptions } from '@picked/client/form';
3
3
  /**
4
4
  * The core's append-only registration functions, each returning an unsubscribe.
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=use-form-callbacks.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"use-form-callbacks.test.d.ts","sourceRoot":"","sources":["../../src/form/use-form-callbacks.test.tsx"],"names":[],"mappings":""}
@@ -1,4 +1,7 @@
1
- import { Action, ExperienceInstance } from '@picked/client';
1
+ /**
2
+ * @file React hooks for consuming registered actions from the Picked client.
3
+ */
4
+ import type { Action, ExperienceInstance } from '@picked/client';
2
5
  type ActionResult = string | string[] | boolean | void | undefined;
3
6
  /**
4
7
  * Returns the current evokable action function, reactive to store updates.
@@ -1 +1 @@
1
- import{usePicked as e}from"./client.js";import{useStoreGlobal as t}from"./use-store-global.js";import{attach as n,createEffect as r,createEvent as i,createStore as a,sample as o}from"effector";function s(n,r){return t(e().actions.getEvokableAction(n,r))}function c(s,c){let l=e().actions.getEvokableAction(s,c),u=a(void 0,{skipVoid:!1}),d=i(),f=n({source:l,mapParams:(e,t)=>t,effect:r(async e=>{if(e)return await e()})});return o({clock:d,target:f}),o({clock:f.doneData,target:u}),d(),o({clock:l,target:d}),t(u)}export{s as useAction,c as useActionResult};
1
+ import{usePicked as e}from"./client.js";import{useStoreGlobal as t}from"./use-store-global.js";import{attach as n,createEffect as r,createEvent as i,createStore as a,sample as o}from"effector";function s(n,r){let i=e();return t(i.actions.getEvokableAction(n,r))}function c(s,c){let l=e().actions.getEvokableAction(s,c),u=a(void 0,{skipVoid:!1}),d=i(),f=n({source:l,mapParams:(e,t)=>t,effect:r(async e=>{if(e)return await e()})});return o({clock:d,target:f}),o({clock:f.doneData,target:u}),d(),o({clock:l,target:d}),t(u)}export{s as useAction,c as useActionResult};
@@ -1,4 +1,4 @@
1
- import { ExperienceInstance, Picked } from '@picked/client';
1
+ import type { ExperienceInstance, Picked } from '@picked/client';
2
2
  /**
3
3
  * Retrieves the Picked Client for the Experience Instance.
4
4
  * @returns The Picked client instance that provides access to experiences, steps, and other Picked functionality.
@@ -1,5 +1,9 @@
1
- import { Store } from 'effector';
2
- import { Content } from '@picked/client';
1
+ /**
2
+ * @file React lookup hook for the Picked content registry. Mirrors the shape of
3
+ * `useField(key)` — returns the registry store, leaving subscription to the consumer.
4
+ */
5
+ import type { Store } from 'effector';
6
+ import type { Content } from '@picked/client';
3
7
  /**
4
8
  * Returns the registry store for a content id. Resolves the Picked client via
5
9
  * `usePicked()` and returns `client.contents.getById(id)`. Consumers are
@@ -1 +1 @@
1
- import{usePicked as e}from"./client.js";import{useStoreGlobal as t}from"./use-store-global.js";import{attach as n,createEffect as r,createEvent as i,createStore as a,sample as o}from"effector";function s(t){return e().features.getEvokableFeature(t)}function c(e){return t(s(e))}function l(e){let c=s(e),l=a(void 0,{skipVoid:!1}),u=i(),d=n({source:c,mapParams:(e,t)=>t,effect:r(async e=>await e())});return o({clock:u,target:d}),o({clock:d.doneData,fn:t=>{if(t!==void 0)return{id:e,bucket:t}},target:l}),u(),o({clock:c,target:u}),t(l)}function u(n){return t(e().features.getById(n))?.enabled}export{c as useFeature,u as useFeatureEnabled,l as useFeatureResult};
1
+ import{usePicked as e}from"./client.js";import{useStoreGlobal as t}from"./use-store-global.js";import{attach as n,createEffect as r,createEvent as i,createStore as a,sample as o}from"effector";function s(t){return e().features.getEvokableFeature(t)}function c(e){return t(s(e))}function l(e){let c=s(e),l=a(void 0,{skipVoid:!1}),u=i(),d=n({source:c,mapParams:(e,t)=>t,effect:r(async e=>await e())});return o({clock:u,target:d}),o({clock:d.doneData,fn:t=>{if(t!==void 0)return{id:e,bucket:t}},target:l}),u(),o({clock:c,target:u}),t(l)}function u(n){let r=e();return t(r.features.getById(n))?.enabled}export{c as useFeature,u as useFeatureEnabled,l as useFeatureResult};
@@ -1,5 +1,8 @@
1
- import { Field, FieldValue } from '@picked/client';
2
- import { Store } from 'effector';
1
+ /**
2
+ * @file React hook for accessing individual field data and response values from the Picked client.
3
+ */
4
+ import type { Field, FieldValue } from '@picked/client';
5
+ import type { Store } from 'effector';
3
6
  export interface GetFieldResponse {
4
7
  value: Store<FieldValue>;
5
8
  field: Store<Field | null>;
@@ -12,4 +12,5 @@ export * from './field';
12
12
  export { useFeature, useFeatureResult, useFeatureEnabled } from './feature';
13
13
  export { useAction, useActionResult } from './action';
14
14
  export { useContent } from './content';
15
+ export { useReference, useReferences } from './reference';
15
16
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/hooks/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,aAAa,EAAE,cAAc,EAAE,iBAAiB,EAAE,kBAAkB,EAAE,MAAM,YAAY,CAAA;AACjG,OAAO,EAAE,SAAS,EAAE,aAAa,EAAE,MAAM,UAAU,CAAA;AACnD,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAA;AACnD,OAAO,EAAE,OAAO,EAAE,iBAAiB,EAAE,cAAc,EAAE,MAAM,QAAQ,CAAA;AACnE,YAAY,EAAE,WAAW,EAAE,MAAM,QAAQ,CAAA;AACzC,OAAO,EAAE,iBAAiB,EAAE,eAAe,EAAE,MAAM,WAAW,CAAA;AAC9D,YAAY,EAAE,iBAAiB,EAAE,MAAM,WAAW,CAAA;AAClD,cAAc,SAAS,CAAA;AACvB,OAAO,EAAE,UAAU,EAAE,gBAAgB,EAAE,iBAAiB,EAAE,MAAM,WAAW,CAAA;AAC3E,OAAO,EAAE,SAAS,EAAE,eAAe,EAAE,MAAM,UAAU,CAAA;AACrD,OAAO,EAAE,UAAU,EAAE,MAAM,WAAW,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/hooks/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,aAAa,EAAE,cAAc,EAAE,iBAAiB,EAAE,kBAAkB,EAAE,MAAM,YAAY,CAAA;AACjG,OAAO,EAAE,SAAS,EAAE,aAAa,EAAE,MAAM,UAAU,CAAA;AACnD,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAA;AACnD,OAAO,EAAE,OAAO,EAAE,iBAAiB,EAAE,cAAc,EAAE,MAAM,QAAQ,CAAA;AACnE,YAAY,EAAE,WAAW,EAAE,MAAM,QAAQ,CAAA;AACzC,OAAO,EAAE,iBAAiB,EAAE,eAAe,EAAE,MAAM,WAAW,CAAA;AAC9D,YAAY,EAAE,iBAAiB,EAAE,MAAM,WAAW,CAAA;AAClD,cAAc,SAAS,CAAA;AACvB,OAAO,EAAE,UAAU,EAAE,gBAAgB,EAAE,iBAAiB,EAAE,MAAM,WAAW,CAAA;AAC3E,OAAO,EAAE,SAAS,EAAE,eAAe,EAAE,MAAM,UAAU,CAAA;AACrD,OAAO,EAAE,UAAU,EAAE,MAAM,WAAW,CAAA;AACtC,OAAO,EAAE,YAAY,EAAE,aAAa,EAAE,MAAM,aAAa,CAAA"}
@@ -1 +1 @@
1
- import{ClientContext as e,ClientProvider as t,ExperienceContext as n,ExperienceProvider as r}from"../context.js";import{useExperience as i,usePicked as a}from"./client.js";import{useStoreGlobal as o}from"./use-store-global.js";import{useSetStepContext as s,useStep as c,useStepContent as l}from"./step.js";import{useLocalStorage as u,useSessionStorage as d}from"./storage.js";import{getField as f}from"./field.js";import{useFeature as p,useFeatureEnabled as m,useFeatureResult as h}from"./feature.js";import{useAction as g,useActionResult as _}from"./action.js";import{useContent as v}from"./content.js";export{e as ClientContext,t as ClientProvider,n as ExperienceContext,r as ExperienceProvider,f as getField,g as useAction,_ as useActionResult,v as useContent,i as useExperience,p as useFeature,m as useFeatureEnabled,h as useFeatureResult,u as useLocalStorage,a as usePicked,d as useSessionStorage,s as useSetStepContext,c as useStep,l as useStepContent,o as useStoreGlobal};
1
+ import{ClientContext as e,ClientProvider as t,ExperienceContext as n,ExperienceProvider as r}from"../context.js";import{useExperience as i,usePicked as a}from"./client.js";import{useStoreGlobal as o}from"./use-store-global.js";import{useSetStepContext as s,useStep as c,useStepContent as l}from"./step.js";import{useLocalStorage as u,useSessionStorage as d}from"./storage.js";import{getField as f}from"./field.js";import{useFeature as p,useFeatureEnabled as m,useFeatureResult as h}from"./feature.js";import{useAction as g,useActionResult as _}from"./action.js";import{useContent as v}from"./content.js";import{useReference as y,useReferences as b}from"./reference.js";export{e as ClientContext,t as ClientProvider,n as ExperienceContext,r as ExperienceProvider,f as getField,g as useAction,_ as useActionResult,v as useContent,i as useExperience,p as useFeature,m as useFeatureEnabled,h as useFeatureResult,u as useLocalStorage,a as usePicked,y as useReference,b as useReferences,d as useSessionStorage,s as useSetStepContext,c as useStep,l as useStepContent,o as useStoreGlobal};
@@ -0,0 +1,50 @@
1
+ import type { Store } from 'effector';
2
+ import { type Content } from '@picked/client';
3
+ /**
4
+ * Resolves a single `reference` field value to the Content record it points at.
5
+ *
6
+ * The store is memoised on the field value, so re-rendering with the same
7
+ * pointer keeps the same subscription. Consumers subscribe with `useUnit`.
8
+ *
9
+ * @param {unknown} value - The raw `reference` value, or an Effector store carrying one. A
10
+ * store keeps the lookup live when the field arrives after this call.
11
+ * @returns {Store<Content | null>} The referenced record, or `null` when the field is unset or its target is not registered.
12
+ * @throws {Error} When called outside a `ClientProvider`. The error is propagated unchanged from `usePicked()`.
13
+ * @example
14
+ * ```tsx
15
+ * import { useUnit } from 'effector-react'
16
+ * import { useReference, useStepContent } from '@picked/react/hooks'
17
+ *
18
+ * const Byline = () => {
19
+ * const content = useStepContent()
20
+ * const author = useUnit(useReference(content?.author))
21
+ * return <span>{String(author?.data.name ?? '')}</span>
22
+ * }
23
+ * ```
24
+ */
25
+ export declare function useReference(value: unknown): Store<Content | null>;
26
+ /**
27
+ * Resolves a repeatable `reference` field to the Content records it points at,
28
+ * in field order. A single (non-repeatable) value resolves to a one-element list.
29
+ *
30
+ * The list is dense: a pointer whose target did not resolve is skipped rather
31
+ * than held as a hole, so the list can be rendered without a null check per item.
32
+ *
33
+ * @param {unknown} value - The raw `reference` value, or an Effector store carrying one. A
34
+ * store keeps the lookup live when the field arrives after this call.
35
+ * @returns {Store<Content[]>} The referenced records that resolved.
36
+ * @throws {Error} When called outside a `ClientProvider`. The error is propagated unchanged from `usePicked()`.
37
+ * @example
38
+ * ```tsx
39
+ * import { useUnit } from 'effector-react'
40
+ * import { useReferences, useStepContent } from '@picked/react/hooks'
41
+ *
42
+ * const Authors = () => {
43
+ * const content = useStepContent()
44
+ * const authors = useUnit(useReferences(content?.authors))
45
+ * return <ul>{authors.map((a) => <li key={a.id}>{String(a.data.name)}</li>)}</ul>
46
+ * }
47
+ * ```
48
+ */
49
+ export declare function useReferences(value: unknown): Store<Content[]>;
50
+ //# sourceMappingURL=reference.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"reference.d.ts","sourceRoot":"","sources":["../../src/hooks/reference.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,UAAU,CAAA;AACrC,OAAO,EAAqC,KAAK,OAAO,EAAE,MAAM,gBAAgB,CAAA;AAGhF;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,wBAAgB,YAAY,CAAC,KAAK,EAAE,OAAO,GAAG,KAAK,CAAC,OAAO,GAAG,IAAI,CAAC,CAGlE;AAED;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,wBAAgB,aAAa,CAAC,KAAK,EAAE,OAAO,GAAG,KAAK,CAAC,OAAO,EAAE,CAAC,CAG9D"}
@@ -0,0 +1 @@
1
+ import{usePicked as e}from"./client.js";import{useMemo as t}from"react";import{deriveReference as n,deriveReferences as r}from"@picked/client";function i(r){let i=e();return t(()=>n(i.contents,r),[i,r])}function a(n){let i=e();return t(()=>r(i.contents,n),[i,n])}export{i as useReference,a as useReferences};
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=reference.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"reference.test.d.ts","sourceRoot":"","sources":["../../src/hooks/reference.test.tsx"],"names":[],"mappings":""}
@@ -1,8 +1,8 @@
1
- import { Store } from 'effector';
2
- import { Content, ExperienceStep } from '@picked/client';
3
- import { FormInstance } from '../form';
4
- import { FormCallbackOptions } from '../form/use-form-callbacks';
5
- import { ReactFormField } from '../utils/map-field-to-react';
1
+ import { type Store } from 'effector';
2
+ import type { Content, ExperienceStep } from '@picked/client';
3
+ import { type FormInstance } from '../form';
4
+ import { type FormCallbackOptions } from '../form/use-form-callbacks';
5
+ import type { ReactFormField } from '../utils/map-field-to-react';
6
6
  export interface StepContext {
7
7
  step: Store<ExperienceStep>;
8
8
  /** Reactive store of fields with React-style event handlers and current state. */
@@ -33,7 +33,7 @@ export interface StepContext {
33
33
  */
34
34
  formRegistrars: FormInstance['formRegistrars'];
35
35
  }
36
- export declare const StepContextProvider: import('react').Context<StepContext | null>;
36
+ export declare const StepContextProvider: import("react").Context<StepContext | null>;
37
37
  /**
38
38
  * Retrieves the step context from the nearest provider.
39
39
  *
@@ -1 +1 @@
1
- import{useExperience as e,usePicked as t}from"./client.js";import{useStoreGlobal as n}from"./use-store-global.js";import{useFormCallbacks as r}from"../form/use-form-callbacks.js";import{useForm as i}from"../form/index.js";import{useStepRouter as a}from"../router/context.js";import{createContext as o,useContext as s,useMemo as c}from"react";import{combine as l}from"effector";var u=o(null);function d(e){let t=s(u),n=r(t?.formRegistrars,e),i=c(()=>t?{...t,form:{...t.form,...n}}:null,[t,n]);if(!i)throw Error(`useStep must be used within a StepContextProvider`);return i}function f(n,r){let o=e(),s=t(),{activeStep:u}=a(),d=c(()=>u?.key===n,[u?.key,n]),f=c(()=>o.treeStore.map(e=>e.steps.find(e=>e.key===n)??{id:n,key:n,name:``,fieldKeys:[]},{skipVoid:!1}),[o,n]),{form:p,fields:m,formRegistrars:h}=i(n,c(()=>f.map(e=>e.name,{skipVoid:!1}),[f]),c(()=>f.map(e=>e.fieldKeys,{skipVoid:!1}),[f]),r),g=c(()=>l(f,s.contents.indexStore,(e,t)=>e.layoutContentId?t[e.layoutContentId]??null:null,{skipVoid:!1}),[f,s]);return{step:f,fields:m,layoutContentStore:g,content:c(()=>g.map(e=>e?.data??null,{skipVoid:!1}),[g]),isActive:d,isActiveStep:d,form:p,formRegistrars:h}}function p(){let n=e(),r=t();return c(()=>l(n.treeStore,r.contents.indexStore,(e,t)=>{let n=e.steps.find(e=>e.layoutContentId);return n?.layoutContentId?t[n.layoutContentId]??null:null}),[n,r])}function m(){let e=s(u),t=p();return n(e?.layoutContentStore??t)?.data??null}export{u as StepContextProvider,f as useSetStepContext,d as useStep,m as useStepContent};
1
+ import{useExperience as e,usePicked as t}from"./client.js";import{useStoreGlobal as n}from"./use-store-global.js";import{useFormCallbacks as r}from"../form/use-form-callbacks.js";import{useForm as i}from"../form/index.js";import{useStepRouter as a}from"../router/context.js";import{createContext as o,useContext as s,useMemo as c}from"react";import{combine as l}from"effector";var u=o(null);function d(e){let t=s(u),n=r(t?.formRegistrars,e),i=c(()=>t?{...t,form:{...t.form,...n}}:null,[t,n]);if(!i)throw Error(`useStep must be used within a StepContextProvider`);return i}function f(n,r){let o=e(),s=t(),{activeStep:u}=a(),d=c(()=>u?.key===n,[u?.key,n]),f=c(()=>o.treeStore.map(e=>e.steps.find(e=>e.key===n)??{id:n,key:n,name:``,fieldKeys:[]},{skipVoid:!1}),[o,n]),p=c(()=>f.map(e=>e.name,{skipVoid:!1}),[f]),m=c(()=>f.map(e=>e.fieldKeys,{skipVoid:!1}),[f]),{form:h,fields:g,formRegistrars:_}=i(n,p,m,r),v=c(()=>l(f,s.contents.indexStore,(e,t)=>e.layoutContentId?t[e.layoutContentId]??null:null,{skipVoid:!1}),[f,s]);return{step:f,fields:g,layoutContentStore:v,content:c(()=>v.map(e=>e?.data??null,{skipVoid:!1}),[v]),isActive:d,isActiveStep:d,form:h,formRegistrars:_}}function p(){let n=e(),r=t();return c(()=>l(n.treeStore,r.contents.indexStore,(e,t)=>{let n=e.steps.find(e=>e.layoutContentId);return n?.layoutContentId?t[n.layoutContentId]??null:null}),[n,r])}function m(){let e=s(u),t=p(),r=e?.layoutContentStore??t;return n(r)?.data??null}export{u as StepContextProvider,f as useSetStepContext,d as useStep,m as useStepContent};
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=step.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"step.test.d.ts","sourceRoot":"","sources":["../../src/hooks/step.test.tsx"],"names":[],"mappings":""}
@@ -1,4 +1,4 @@
1
- import { StorageScope } from '@picked/client';
1
+ import type { StorageScope } from '@picked/client';
2
2
  export interface UseStorageOptions {
3
3
  fallback: string | undefined | null;
4
4
  scope: StorageScope;
@@ -1,4 +1,4 @@
1
- import { Store } from 'effector';
1
+ import type { Store } from 'effector';
2
2
  /**
3
3
  * Reads an effector store's global value, independent of any effector scope a host app may have
4
4
  * installed via `effector-react`'s `<Provider>`.
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=use-store-global.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"use-store-global.test.d.ts","sourceRoot":"","sources":["../../src/hooks/use-store-global.test.tsx"],"names":[],"mappings":""}
@@ -1,5 +1,6 @@
1
- import { AdaptableComponents, AdaptedComponentStyle, Plugin } from '@picked/client';
2
- import { ComponentWithProps } from '../../component';
1
+ /** @file React framework plugin that registers the React renderer and unmounter with the Picked client. */
2
+ import type { AdaptableComponents, AdaptedComponentStyle, Plugin } from '@picked/client';
3
+ import { type ComponentWithProps } from '../../component';
3
4
  export type AdapterComponents = Partial<Record<keyof AdaptableComponents, {
4
5
  component: ComponentWithProps;
5
6
  style?: AdaptedComponentStyle;
@@ -1 +1 @@
1
- {"version":3,"file":"plugin.d.ts","sourceRoot":"","sources":["../../../src/plugins/framework/plugin.ts"],"names":[],"mappings":"AAAA,2GAA2G;AAC3G,OAAO,KAAK,EAAE,mBAAmB,EAAE,qBAAqB,EAAU,MAAM,EAAE,MAAM,gBAAgB,CAAA;AAChG,OAAO,EAAuB,KAAK,kBAAkB,EAAE,MAAM,iBAAiB,CAAA;AAG9E,MAAM,MAAM,iBAAiB,GAAG,OAAO,CACrC,MAAM,CACJ,MAAM,mBAAmB,EACzB;IAAE,SAAS,EAAE,kBAAkB,CAAC;IAAC,KAAK,CAAC,EAAE,qBAAqB,CAAA;CAAE,CACjE,CACF,CAAA;AAED,MAAM,WAAW,2BAA2B;IAC1C,UAAU,EAAE,iBAAiB,CAAA;IAC7B,WAAW,CAAC,EAAE,MAAM,EAAE,CAAA;IACtB,GAAG,CAAC,EAAE,MAAM,EAAE,CAAA;CACf;AAED;;;;;;;;;;;;;;;;;;;GAmBG;AACH,eAAO,MAAM,oBAAoB,GAAI,SAAS,2BAA2B,KAAG,MAwB3E,CAAA"}
1
+ {"version":3,"file":"plugin.d.ts","sourceRoot":"","sources":["../../../src/plugins/framework/plugin.ts"],"names":[],"mappings":"AAAA,2GAA2G;AAC3G,OAAO,KAAK,EAAE,mBAAmB,EAAE,qBAAqB,EAAU,MAAM,EAAE,MAAM,gBAAgB,CAAA;AAChG,OAAO,EAAuB,KAAK,kBAAkB,EAAE,MAAM,iBAAiB,CAAA;AAG9E,MAAM,MAAM,iBAAiB,GAAG,OAAO,CACrC,MAAM,CACJ,MAAM,mBAAmB,EACzB;IAAE,SAAS,EAAE,kBAAkB,CAAC;IAAC,KAAK,CAAC,EAAE,qBAAqB,CAAA;CAAE,CACjE,CACF,CAAA;AAED,MAAM,WAAW,2BAA2B;IAC1C,UAAU,EAAE,iBAAiB,CAAA;IAC7B,WAAW,CAAC,EAAE,MAAM,EAAE,CAAA;IACtB,GAAG,CAAC,EAAE,MAAM,EAAE,CAAA;CACf;AAED;;;;;;;;;;;;;;;;;;;GAmBG;AACH,eAAO,MAAM,oBAAoB,YAAa,2BAA2B,KAAG,MAwB3E,CAAA"}
@@ -1,4 +1,4 @@
1
- import { AdaptedComponent, ExperienceInstance, Picked } from '@picked/client';
1
+ import type { AdaptedComponent, ExperienceInstance, Picked } from '@picked/client';
2
2
  export declare const renderReactComponent: (shadowRoot: ShadowRoot, component: AdaptedComponent<string, unknown>, client: Picked, experience: ExperienceInstance, options: {
3
3
  stylesheets?: string[];
4
4
  css?: string[];
@@ -1 +1 @@
1
- {"version":3,"file":"browser.d.ts","sourceRoot":"","sources":["../../src/render/browser.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,gBAAgB,EAAE,kBAAkB,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAA;AASlF,eAAO,MAAM,oBAAoB,GAC/B,YAAY,UAAU,EACtB,WAAW,gBAAgB,CAAC,MAAM,EAAE,OAAO,CAAC,EAC5C,QAAQ,MAAM,EACd,YAAY,kBAAkB,EAC9B,SAAS;IACP,WAAW,CAAC,EAAE,MAAM,EAAE,CAAA;IACtB,GAAG,CAAC,EAAE,MAAM,EAAE,CAAA;CACf,kBA0DF,CAAA;AAED,eAAO,MAAM,sBAAsB,GAAI,QAAQ,OAAO,GAAG,UAAU,SAMlE,CAAA"}
1
+ {"version":3,"file":"browser.d.ts","sourceRoot":"","sources":["../../src/render/browser.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,gBAAgB,EAAE,kBAAkB,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAA;AASlF,eAAO,MAAM,oBAAoB,eACnB,UAAU,aACX,gBAAgB,CAAC,MAAM,EAAE,OAAO,CAAC,UACpC,MAAM,cACF,kBAAkB,WACrB;IACP,WAAW,CAAC,EAAE,MAAM,EAAE,CAAA;IACtB,GAAG,CAAC,EAAE,MAAM,EAAE,CAAA;CACf,kBA0DF,CAAA;AAED,eAAO,MAAM,sBAAsB,WAAY,OAAO,GAAG,UAAU,SAMlE,CAAA"}
@@ -1,4 +1,4 @@
1
- import { AdaptedComponent, ExperienceInstance, Picked } from '@picked/client';
1
+ import type { AdaptedComponent, ExperienceInstance, Picked } from '@picked/client';
2
2
  export declare const staticRenderReactComponent: (component: AdaptedComponent<string, unknown>, client: Picked, experience: ExperienceInstance, options: {
3
3
  stylesheets?: string[];
4
4
  css?: string[];
@@ -1 +1 @@
1
- {"version":3,"file":"server.d.ts","sourceRoot":"","sources":["../../src/render/server.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,gBAAgB,EAAE,kBAAkB,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAA;AAMlF,eAAO,MAAM,0BAA0B,GACrC,WAAW,gBAAgB,CAAC,MAAM,EAAE,OAAO,CAAC,EAC5C,QAAQ,MAAM,EACd,YAAY,kBAAkB,EAC9B,SAAS;IACP,WAAW,CAAC,EAAE,MAAM,EAAE,CAAA;IACtB,GAAG,CAAC,EAAE,MAAM,EAAE,CAAA;CACf;;;;;EAuCF,CAAA"}
1
+ {"version":3,"file":"server.d.ts","sourceRoot":"","sources":["../../src/render/server.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,gBAAgB,EAAE,kBAAkB,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAA;AAMlF,eAAO,MAAM,0BAA0B,cAC1B,gBAAgB,CAAC,MAAM,EAAE,OAAO,CAAC,UACpC,MAAM,cACF,kBAAkB,WACrB;IACP,WAAW,CAAC,EAAE,MAAM,EAAE,CAAA;IACtB,GAAG,CAAC,EAAE,MAAM,EAAE,CAAA;CACf;;;;;EAuCF,CAAA"}
@@ -1,4 +1,6 @@
1
- import { ComponentType, default as React } from 'react';
1
+ /** @file Step component that registers a step with the router and renders its content. */
2
+ import type { ComponentType } from 'react';
3
+ import React from 'react';
2
4
  interface StepProps {
3
5
  /** The step key used for registration and lookup. */
4
6
  readonly stepKey: string;
@@ -18,6 +20,6 @@ interface StepProps {
18
20
  * @example
19
21
  * <Step stepKey="welcome" component={WelcomeStep} />
20
22
  */
21
- declare function Step({ stepKey, component, children }: StepProps): import("react/jsx-runtime").JSX.Element | null;
23
+ declare function Step({ stepKey, component, children }: StepProps): React.JSX.Element | null;
22
24
  export default Step;
23
25
  //# sourceMappingURL=Step.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Step.d.ts","sourceRoot":"","sources":["../../src/router/Step.tsx"],"names":[],"mappings":"AAAA,0FAA0F;AAC1F,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,OAAO,CAAA;AAC1C,OAAO,KAAuC,MAAM,OAAO,CAAA;AAI3D,UAAU,SAAS;IACjB,qDAAqD;IACrD,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAA;IACxB,QAAQ,CAAC,SAAS,CAAC,EACf,aAAa,CAAC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC,GACtC,OAAO,CAAC,aAAa,CAAC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,GAC/C,OAAO,CAAC;QAAE,OAAO,EAAE,aAAa,CAAC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC,CAAA;KAAE,CAAC,CAAA;IAChE,QAAQ,CAAC,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;CACpC;AAED;;;;;;;;;;GAUG;AACH,iBAAS,IAAI,CAAC,EAAE,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,EAAE,SAAS,kDAmDxD;AAED,eAAe,IAAI,CAAA"}
1
+ {"version":3,"file":"Step.d.ts","sourceRoot":"","sources":["../../src/router/Step.tsx"],"names":[],"mappings":"AAAA,0FAA0F;AAC1F,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,OAAO,CAAA;AAC1C,OAAO,KAAuC,MAAM,OAAO,CAAA;AAI3D,UAAU,SAAS;IACjB,qDAAqD;IACrD,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAA;IACxB,QAAQ,CAAC,SAAS,CAAC,EACf,aAAa,CAAC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC,GACtC,OAAO,CAAC,aAAa,CAAC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,GAC/C,OAAO,CAAC;QAAE,OAAO,EAAE,aAAa,CAAC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC,CAAA;KAAE,CAAC,CAAA;IAChE,QAAQ,CAAC,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;CACpC;AAED;;;;;;;;;;GAUG;AACH,iBAAS,IAAI,CAAC,EAAE,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,EAAE,SAAS,4BAmDxD;eAEc,IAAI"}
@@ -1,4 +1,5 @@
1
- import { default as React } from 'react';
1
+ /** @file Root router component that manages step registration and active step detection. */
2
+ import React from 'react';
2
3
  interface StepRouterProps {
3
4
  readonly children: React.ReactNode;
4
5
  }
@@ -1 +1 @@
1
- {"version":3,"file":"StepRouter.d.ts","sourceRoot":"","sources":["../../src/router/StepRouter.tsx"],"names":[],"mappings":"AAAA,4FAA4F;AAC5F,OAAO,KAAiD,MAAM,OAAO,CAAA;AAMrE,UAAU,eAAe;IACvB,QAAQ,CAAC,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAA;CACnC;AAED;;;;;;;;GAQG;AACH,iBAAS,UAAU,CAAC,EAAE,QAAQ,EAAE,EAAE,eAAe,GAAG,KAAK,CAAC,GAAG,CAAC,OAAO,GAAG,IAAI,CAiD3E;AAED,eAAe,UAAU,CAAA"}
1
+ {"version":3,"file":"StepRouter.d.ts","sourceRoot":"","sources":["../../src/router/StepRouter.tsx"],"names":[],"mappings":"AAAA,4FAA4F;AAC5F,OAAO,KAAiD,MAAM,OAAO,CAAA;AAMrE,UAAU,eAAe;IACvB,QAAQ,CAAC,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAA;CACnC;AAED;;;;;;;;GAQG;AACH,iBAAS,UAAU,CAAC,EAAE,QAAQ,EAAE,EAAE,eAAe,GAAG,KAAK,CAAC,GAAG,CAAC,OAAO,GAAG,IAAI,CAiD3E;eAEc,UAAU"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=StepRouter.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"StepRouter.test.d.ts","sourceRoot":"","sources":["../../src/router/StepRouter.test.tsx"],"names":[],"mappings":""}
@@ -6,7 +6,7 @@ interface ContextOptions {
6
6
  unregisterStep: (step: Step) => void;
7
7
  registerStep: (step: Step) => void;
8
8
  }
9
- export declare const StepRouterProvider: import('react').Provider<ContextOptions | null>;
9
+ export declare const StepRouterProvider: import("react").Provider<ContextOptions | null>;
10
10
  export declare const useStepRouter: () => ContextOptions;
11
11
  export {};
12
12
  //# sourceMappingURL=context.d.ts.map
@@ -1,4 +1,4 @@
1
- import { Renderer } from '@picked/client/server';
2
- import { AdaptedComponent } from '@picked/client';
1
+ import type { Renderer } from '@picked/client/server';
2
+ import type { AdaptedComponent } from '@picked/client';
3
3
  export declare const renderer: Renderer<AdaptedComponent<string, unknown>>;
4
4
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"array.d.ts","sourceRoot":"","sources":["../../src/utils/array.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,WAAW,GAAI,IAAI,MAAM,EAAE,EAAE,IAAI,MAAM,EAAE,aAErD,CAAA"}
1
+ {"version":3,"file":"array.d.ts","sourceRoot":"","sources":["../../src/utils/array.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,WAAW,OAAQ,MAAM,EAAE,MAAM,MAAM,EAAE,aAErD,CAAA"}
@@ -1,5 +1,6 @@
1
- import { FormField } from '@picked/client/form';
2
- import { ChangeEvent, FocusEvent, FormEvent } from 'react';
1
+ /** @file Maps core FormField props to React-compatible camelCase event handlers. */
2
+ import type { FormField } from '@picked/client/form';
3
+ import type { ChangeEvent, FocusEvent, FormEvent } from 'react';
3
4
  type FieldElement = HTMLInputElement | HTMLSelectElement | HTMLTextAreaElement;
4
5
  export interface ReactFormFieldProps {
5
6
  id: string;
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=map-field-to-react.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"map-field-to-react.test.d.ts","sourceRoot":"","sources":["../../src/utils/map-field-to-react.test.tsx"],"names":[],"mappings":""}
@@ -1,4 +1,5 @@
1
- import { SubmitEventWithCurrentTarget } from '@picked/client/form';
1
+ /** @file Type-safe bridge for React form events to the core SDK's SubmitEvent. */
2
+ import type { SubmitEventWithCurrentTarget } from '@picked/client/form';
2
3
  /**
3
4
  * Narrows a native form submit event to SubmitEventWithCurrentTarget, restoring
4
5
  * currentTarget as a side effect so the core SDK can build FormData.
package/package.json CHANGED
@@ -1,27 +1,26 @@
1
1
  {
2
2
  "name": "@picked/react",
3
- "version": "0.0.1-dev.1785287094311",
3
+ "version": "0.0.1-dev.1785826066660",
4
4
  "devDependencies": {
5
5
  "@picked/client": "workspace:*",
6
6
  "@repo/eslint-config": "workspace:*",
7
7
  "@repo/typescript-config": "workspace:*",
8
- "@size-limit/preset-small-lib": "^12.0.0",
9
- "@testing-library/react": "^16.3.0",
8
+ "@size-limit/preset-small-lib": "^12.1.0",
9
+ "@testing-library/react": "^16.3.2",
10
10
  "@types/node": "^22",
11
- "@types/react": "19.2.4",
12
- "@types/react-dom": "19.2.3",
13
- "@vitejs/plugin-react": "^6.0.1",
14
- "@vitest/coverage-v8": "^4.1.8",
15
- "effector": "^23.3.0",
11
+ "@types/react": "19.2.17",
12
+ "@types/react-dom": "19.2.4",
13
+ "@vitejs/plugin-react": "^6.0.5",
14
+ "@vitest/coverage-v8": "^4.1.10",
15
+ "effector": "^23.4.4",
16
16
  "effector-react": "^23.3.0",
17
17
  "fast-glob": "^3.3.3",
18
18
  "jsdom": "^26.1.0",
19
- "size-limit": "^12.0.0",
20
- "typedoc": "^0.28.5",
21
- "typedoc-plugin-markdown": "^4.6.3",
22
- "vite": "^8.0.8",
23
- "vite-plugin-dts": "^4.5.4",
24
- "vitest": "^4.1.8"
19
+ "size-limit": "^12.1.0",
20
+ "typedoc": "^0.28.20",
21
+ "typedoc-plugin-markdown": "^4.12.0",
22
+ "vite": "^8.2.0",
23
+ "vitest": "^4.1.10"
25
24
  },
26
25
  "exports": {
27
26
  ".": {
@@ -72,9 +71,9 @@
72
71
  ],
73
72
  "ignoreBinaries": [
74
73
  "attw",
75
- "knip",
76
- "jscpd",
77
74
  "eslint",
75
+ "jscpd",
76
+ "knip",
78
77
  "tsgo"
79
78
  ],
80
79
  "ignoreDependencies": [
@@ -85,23 +84,23 @@
85
84
  },
86
85
  "module": "./dist/index.js",
87
86
  "peerDependencies": {
88
- "@picked/client": "0.0.1-dev.1785287094311",
89
- "effector": "^23.3.0",
90
- "react": "19.2.2",
91
- "react-dom": "19.2.2"
87
+ "@picked/client": "0.0.1-dev.1785826066660",
88
+ "effector": "^23.4.4",
89
+ "react": "19.2.8",
90
+ "react-dom": "19.2.8"
92
91
  },
93
92
  "private": false,
94
93
  "scripts": {
95
- "build": "vite build",
94
+ "build": "vite build && tsgo -p tsconfig.build.json",
96
95
  "build:docs": "pnpm typedoc",
97
96
  "check": "pnpm type-check && pnpm lint && pnpm knip && pnpm jscpd",
98
- "dev": "vite build --watch",
97
+ "dev": "node ../../scripts/sdk-watch-build.mjs",
99
98
  "jscpd": "jscpd src",
100
99
  "knip": "knip",
101
- "lint": "if [ \"$AGENT\" = \"true\" ]; then echo \"[AGENT HINT] Prefer running lint on specific files from the repo root: node scripts/lint-files.js <files>\"; fi && eslint .",
100
+ "lint": "if [ \"$AGENT\" = \"true\" ]; then echo \"[AGENT HINT] Prefer running lint on specific files from the repo root: node scripts/lint-files.js <files>\"; fi && eslint . --cache --cache-location node_modules/.cache/eslint",
102
101
  "lint-files": "eslint",
103
102
  "lint:format": "eslint . --fix",
104
- "lint:report": "eslint . -o './.reports/eslint.json' -f json || [ -f './.reports/eslint.json' ]",
103
+ "lint:report": "eslint . --cache --cache-location node_modules/.cache/eslint -o './.reports/eslint.json' -f json || [ -f './.reports/eslint.json' ]",
105
104
  "size": "size-limit",
106
105
  "test": "vitest run",
107
106
  "test:coverage": "../../scripts/vitest-coverage.sh",