@picked/client 0.0.70 → 0.0.71-next.2

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 (249) hide show
  1. package/dist/.tsbuildinfo +1 -0
  2. package/dist/api-B0ydpQBE.js +38 -0
  3. package/dist/api-CObostrU.cjs +1 -0
  4. package/dist/cjs/form/index.js +1 -1
  5. package/dist/cjs/index.js +2 -2
  6. package/dist/cjs/plugins/dom-observer/index.js +1 -1
  7. package/dist/cjs/plugins/dynamic-experiences/index.js +1 -1
  8. package/dist/cjs/server/index.js +1 -1
  9. package/dist/docs/explanation/conditions-and-the-logic-engine.md +94 -0
  10. package/dist/docs/explanation/feature-flag-allocation.md +176 -0
  11. package/dist/docs/explanation/how-picked-works.md +102 -0
  12. package/dist/docs/explanation/how-pickedql-works.md +76 -0
  13. package/dist/docs/explanation/pages-and-flows.md +64 -0
  14. package/dist/docs/explanation/the-content-model.md +77 -0
  15. package/dist/docs/explanation/the-two-apis.md +68 -0
  16. package/dist/docs/explanation/why-server-side-rendering.md +76 -0
  17. package/dist/docs/explanation/workspaces-and-versions.md +71 -0
  18. package/dist/docs/how-to/add-a-step-field-or-action.md +43 -0
  19. package/dist/docs/{pickedql/examples.md → how-to/analytics/index.md} +19 -6
  20. package/dist/docs/how-to/archive-or-delete-a-workspace.md +46 -0
  21. package/dist/docs/how-to/authenticate-with-a-magic-link.md +40 -0
  22. package/dist/docs/how-to/authenticate-with-a-password.md +51 -0
  23. package/dist/docs/how-to/authenticate-with-an-api-key.md +51 -0
  24. package/dist/docs/how-to/authenticate-with-oauth.md +40 -0
  25. package/dist/docs/{flow-builder/building-flows.md → how-to/build-a-flow.md} +13 -9
  26. package/dist/docs/how-to/connect-the-mcp-server.md +38 -0
  27. package/dist/docs/how-to/create-a-project.md +29 -0
  28. package/dist/docs/how-to/create-an-experience.md +42 -0
  29. package/dist/docs/how-to/create-and-revoke-an-api-key.md +37 -0
  30. package/dist/docs/how-to/debug-with-the-chrome-extension.md +57 -0
  31. package/dist/docs/how-to/define-a-page-layout.md +39 -0
  32. package/dist/docs/how-to/fill-and-publish-a-page.md +50 -0
  33. package/dist/docs/{gtm-template.md → how-to/install-the-gtm-template.md} +9 -3
  34. package/dist/docs/how-to/install-the-sdk.md +68 -0
  35. package/dist/docs/how-to/install-the-vite-plugin.md +56 -0
  36. package/dist/docs/how-to/invite-and-remove-members.md +34 -0
  37. package/dist/docs/how-to/preview-a-workspace.md +28 -0
  38. package/dist/docs/how-to/publish-a-workspace.md +30 -0
  39. package/dist/docs/how-to/read-a-feature-flag.md +101 -0
  40. package/dist/docs/how-to/register-a-component.md +55 -0
  41. package/dist/docs/how-to/register-an-action-handler.md +67 -0
  42. package/dist/docs/how-to/render-a-step-form.md +132 -0
  43. package/dist/docs/how-to/render-an-unpublished-preview.md +41 -0
  44. package/dist/docs/how-to/reuse-a-section.md +37 -0
  45. package/dist/docs/how-to/reuse-a-step-field-or-action.md +28 -0
  46. package/dist/docs/how-to/roll-back-a-published-version.md +26 -0
  47. package/dist/docs/how-to/run-an-ab-test.md +49 -0
  48. package/dist/docs/how-to/run-code-on-a-form-submission.md +125 -0
  49. package/dist/docs/how-to/server-render-a-page.md +81 -0
  50. package/dist/docs/how-to/set-a-content-security-policy.md +32 -0
  51. package/dist/docs/how-to/set-up-mfa.md +69 -0
  52. package/dist/docs/how-to/upload-and-use-an-asset.mdx +73 -0
  53. package/dist/docs/how-to/validate-a-field.md +52 -0
  54. package/dist/docs/how-to/write-a-condition.md +45 -0
  55. package/dist/docs/how-to/write-a-predicate.md +60 -0
  56. package/dist/docs/index.md +41 -70
  57. package/dist/docs/reference/dashboard/actions.mdx +53 -0
  58. package/dist/docs/{api-keys.mdx → reference/dashboard/api-keys.mdx} +7 -15
  59. package/dist/docs/reference/dashboard/conditions.mdx +42 -0
  60. package/dist/docs/reference/dashboard/content/asset-library.mdx +63 -0
  61. package/dist/docs/{content → reference/dashboard/content}/content-entries.mdx +11 -3
  62. package/dist/docs/{content → reference/dashboard/content}/layouts.mdx +11 -35
  63. package/dist/docs/reference/dashboard/content/pages.mdx +35 -0
  64. package/dist/docs/reference/dashboard/content/sections.mdx +28 -0
  65. package/dist/docs/{experiences.mdx → reference/dashboard/experiences.mdx} +9 -16
  66. package/dist/docs/{features.mdx → reference/dashboard/features.mdx} +26 -41
  67. package/dist/docs/{fields.mdx → reference/dashboard/fields.mdx} +26 -20
  68. package/dist/docs/{flow-builder/overview.mdx → reference/dashboard/flow-builder/canvas.mdx} +8 -13
  69. package/dist/docs/{flow-builder → reference/dashboard/flow-builder}/condition-builder.md +5 -13
  70. package/dist/docs/{flow-builder → reference/dashboard/flow-builder}/keyboard-shortcuts.md +7 -1
  71. package/dist/docs/{flow-builder → reference/dashboard/flow-builder}/nodes.md +10 -3
  72. package/dist/docs/reference/dashboard/projects.mdx +44 -0
  73. package/dist/docs/reference/dashboard/reports.mdx +43 -0
  74. package/dist/docs/reference/dashboard/steps.mdx +37 -0
  75. package/dist/docs/{team-management.md → reference/dashboard/team-management.md} +5 -22
  76. package/dist/docs/{workspace-versioning.mdx → reference/dashboard/workspace-versioning.mdx} +6 -10
  77. package/dist/docs/reference/dashboard/workspaces.mdx +76 -0
  78. package/dist/docs/{delivery-api → reference/delivery-api}/experience-content.md +11 -4
  79. package/dist/docs/reference/delivery-api/index.md +45 -0
  80. package/dist/docs/{delivery-api → reference/delivery-api}/preview-caching-crawling.md +12 -5
  81. package/dist/docs/{delivery-api → reference/delivery-api}/project-config.md +11 -4
  82. package/dist/docs/reference/glossary.md +173 -0
  83. package/dist/docs/reference/management-api/authentication.md +74 -0
  84. package/dist/docs/{api → reference/management-api}/authorization-and-scopes.md +10 -3
  85. package/dist/docs/{api → reference/management-api}/error-handling.md +9 -3
  86. package/dist/docs/{api → reference/management-api}/pagination.md +6 -0
  87. package/dist/docs/{pickedql → reference/pickedql}/data-sources.md +16 -9
  88. package/dist/docs/{pickedql → reference/pickedql}/dimensions.md +7 -0
  89. package/dist/docs/{pickedql → reference/pickedql}/filtering.md +7 -0
  90. package/dist/docs/reference/pickedql/index.md +18 -0
  91. package/dist/docs/{pickedql → reference/pickedql}/schema.md +13 -6
  92. package/dist/docs/{pickedql → reference/pickedql}/virtual-functions.md +7 -0
  93. package/dist/docs/reference/sdk/actions.md +30 -0
  94. package/dist/docs/{sdk → reference/sdk}/conditions.md +8 -1
  95. package/dist/docs/reference/sdk/content-security-policy.md +21 -0
  96. package/dist/docs/reference/sdk/experiences.md +51 -0
  97. package/dist/docs/{sdk → reference/sdk}/features.md +30 -117
  98. package/dist/docs/{sdk → reference/sdk}/fields.md +10 -88
  99. package/dist/docs/reference/sdk/index.md +68 -0
  100. package/dist/docs/{sdk → reference/sdk}/plugins/create-experience.md +10 -22
  101. package/dist/docs/reference/sdk/plugins/dynamic-experiences.md +26 -0
  102. package/dist/docs/reference/sdk/plugins/index.md +29 -0
  103. package/dist/docs/{sdk → reference/sdk}/plugins/window-object.md +6 -0
  104. package/dist/docs/reference/sdk/predicates.md +43 -0
  105. package/dist/docs/reference/sdk/ssr/index.md +33 -0
  106. package/dist/docs/{sdk → reference/sdk}/ssr/rendering-and-hydration.md +4 -63
  107. package/dist/docs/{sdk → reference/sdk}/ssr/serialize.md +6 -33
  108. package/dist/docs/{sdk → reference/sdk}/ssr/slots-and-placements.md +7 -1
  109. package/dist/docs/reference/sdk/steps.md +87 -0
  110. package/dist/docs/reference/tools/chrome-extension.md +16 -0
  111. package/dist/docs/{image-optimisation-service.md → reference/tools/image-optimisation-service.md} +8 -0
  112. package/dist/docs/{mcp.md → reference/tools/mcp.md} +5 -45
  113. package/dist/docs/{vite-plugin.md → reference/tools/vite-plugin.md} +8 -38
  114. package/dist/docs/{api/index.md → tutorials/first-api-call.md} +27 -15
  115. package/dist/docs/tutorials/first-experience-in-the-dashboard.mdx +143 -0
  116. package/dist/docs/tutorials/first-experience.mdx +255 -0
  117. package/dist/docs/tutorials/first-server-rendered-page.mdx +186 -0
  118. package/dist/{dom-BwmTHeT7.js → dom-BqcToNL0.js} +1 -3
  119. package/dist/{dom-CDrHc_j9.cjs → dom-DlLH3FxV.cjs} +1 -1
  120. package/dist/esm/form/index.js +2 -4
  121. package/dist/esm/index.js +306 -298
  122. package/dist/esm/plugins/dom-observer/index.js +1 -1
  123. package/dist/esm/plugins/dynamic-experiences/index.js +2 -2
  124. package/dist/esm/preview/index.js +1 -1
  125. package/dist/esm/server/index.js +12 -10
  126. package/dist/{experience-instance-DOJShRk5.js → experience-instance-DGk11d8a.js} +3 -3
  127. package/dist/experience-instance-Dej3P1sE.cjs +1 -0
  128. package/dist/plugin-CNna0UjB.cjs +1 -0
  129. package/dist/{plugin-ChPkTj__.js → plugin-DUOJpHaq.js} +2 -2
  130. package/dist/{preview-channel-DW9J8t4B.js → preview-channel-CSr96XAo.js} +1 -1
  131. package/dist/{protocol-DSqOlW2r.js → protocol-C5KkkiZc.js} +1 -1
  132. package/dist/types/client.d.ts +7 -6
  133. package/dist/types/entities/action/action.d.ts +5 -4
  134. package/dist/types/entities/action/action.d.ts.map +1 -1
  135. package/dist/types/entities/component/component.d.ts +6 -5
  136. package/dist/types/entities/component/component.d.ts.map +1 -1
  137. package/dist/types/entities/condition/condition.d.ts +5 -5
  138. package/dist/types/entities/content/content.d.ts +4 -3
  139. package/dist/types/entities/experience/experience.d.ts +11 -10
  140. package/dist/types/entities/experience/experience.d.ts.map +1 -1
  141. package/dist/types/entities/experience-instance/experience-instance.d.ts +10 -9
  142. package/dist/types/entities/feature/feature.d.ts +19 -2
  143. package/dist/types/entities/feature/feature.d.ts.map +1 -1
  144. package/dist/types/entities/field/field.d.ts +7 -6
  145. package/dist/types/entities/framework/framework.d.ts +7 -6
  146. package/dist/types/entities/framework/framework.d.ts.map +1 -1
  147. package/dist/types/entities/history/history.d.ts +6 -6
  148. package/dist/types/entities/plugin/plugin.d.ts +3 -2
  149. package/dist/types/entities/plugin/plugin.d.ts.map +1 -1
  150. package/dist/types/entities/predicate/predicate.d.ts +4 -3
  151. package/dist/types/entities/predicate/predicate.d.ts.map +1 -1
  152. package/dist/types/entities/response/response-validation.d.ts +3 -2
  153. package/dist/types/entities/response/response.d.ts +12 -11
  154. package/dist/types/entities/session/session.d.ts +2 -1
  155. package/dist/types/entities/step/step.d.ts +6 -5
  156. package/dist/types/exports.d.ts +2 -1
  157. package/dist/types/exports.d.ts.map +1 -1
  158. package/dist/types/form/build-responses.d.ts +2 -1
  159. package/dist/types/form/create-field-evaluator.d.ts +4 -3
  160. package/dist/types/form/create-field-validation.d.ts +5 -4
  161. package/dist/types/form/create-form.d.ts +7 -6
  162. package/dist/types/form/create-submit-pipeline.d.ts +7 -6
  163. package/dist/types/form/get-step-fields.d.ts +3 -2
  164. package/dist/types/lifecycle/condition-selection.d.ts +14 -4
  165. package/dist/types/lifecycle/lifecycle.d.ts +4 -3
  166. package/dist/types/lifecycle/rules-logic.d.ts +4 -3
  167. package/dist/types/lifecycle/state-snapshot.d.ts +4 -3
  168. package/dist/types/picked.d.ts +64 -62
  169. package/dist/types/picked.d.ts.map +1 -1
  170. package/dist/types/ping.d.ts +1 -1
  171. package/dist/types/ping.d.ts.map +1 -1
  172. package/dist/types/plugins/create-experience/create-experience.d.ts +9 -8
  173. package/dist/types/plugins/create-experience/create-experience.d.ts.map +1 -1
  174. package/dist/types/plugins/create-experience/plugin.d.ts +3 -2
  175. package/dist/types/plugins/create-experience/plugin.d.ts.map +1 -1
  176. package/dist/types/plugins/create-experience/serialization.d.ts.map +1 -1
  177. package/dist/types/plugins/dom-observer/plugin.d.ts +1 -1
  178. package/dist/types/plugins/dynamic-experiences/plugin.d.ts +3 -3
  179. package/dist/types/plugins/dynamic-experiences/types.d.ts +8 -5
  180. package/dist/types/plugins/experience-browser-storage/plugin.d.ts +1 -1
  181. package/dist/types/plugins/experience-browser-storage/plugin.d.ts.map +1 -1
  182. package/dist/types/plugins/history-browser-storage/plugin.d.ts +1 -1
  183. package/dist/types/plugins/history-browser-storage/plugin.d.ts.map +1 -1
  184. package/dist/types/plugins/responses-browser-storage/plugin.d.ts +1 -1
  185. package/dist/types/plugins/responses-browser-storage/plugin.d.ts.map +1 -1
  186. package/dist/types/plugins/responses-indexeddb/plugin.d.ts +1 -1
  187. package/dist/types/plugins/single-page-app/plugin.d.ts +1 -1
  188. package/dist/types/plugins/single-page-app/plugin.d.ts.map +1 -1
  189. package/dist/types/plugins/web-components/plugin.d.ts +2 -1
  190. package/dist/types/plugins/window-object/plugin.d.ts +2 -2
  191. package/dist/types/preview-channel.d.ts +5 -1
  192. package/dist/types/preview-receiver/index.d.ts +18 -1
  193. package/dist/types/preview-receiver/protocol.d.ts +10 -1
  194. package/dist/types/server/index.d.ts +3 -3
  195. package/dist/types/server/serialize.d.ts +2 -2
  196. package/dist/types/utils/dom.d.ts +2 -1
  197. package/dist/types/utils/events.d.ts +6 -6
  198. package/dist/types/utils/events.d.ts.map +1 -1
  199. package/dist/types/utils/global-obj.d.ts +1 -1
  200. package/dist/types/utils/global-obj.d.ts.map +1 -1
  201. package/dist/types/utils/id.d.ts.map +1 -1
  202. package/dist/types/utils/logger.d.ts +2 -1
  203. package/dist/types/utils/logger.d.ts.map +1 -1
  204. package/dist/types/utils/node-tree/get-next-node-from-action.d.ts +2 -1
  205. package/dist/types/utils/node-tree/get-next-node-from-condition.d.ts +2 -1
  206. package/dist/types/utils/node-tree/get-next-node.d.ts +1 -1
  207. package/dist/types/utils/node-tree/get-next-node.d.ts.map +1 -1
  208. package/dist/types/utils/node-tree/get-origin-node.d.ts +1 -1
  209. package/dist/types/utils/node-tree/get-origin-node.d.ts.map +1 -1
  210. package/dist/types/utils/node-tree/min-max-steps-to-leaf.d.ts +1 -1
  211. package/dist/types/utils/node-tree/min-max-steps-to-leaf.d.ts.map +1 -1
  212. package/dist/types/utils/node-tree/min-max-steps-to-origin.d.ts +1 -1
  213. package/dist/types/utils/node-tree/min-max-steps-to-origin.d.ts.map +1 -1
  214. package/dist/types/utils/node-tree/next-reachable-step-nodes.d.ts +1 -1
  215. package/dist/types/utils/node-tree/next-reachable-step-nodes.d.ts.map +1 -1
  216. package/dist/types/utils/nodes.d.ts +1 -1
  217. package/dist/types/utils/picked-config.d.ts +2 -1
  218. package/dist/types/utils/rules-logic.d.ts +6 -2
  219. package/dist/types/utils/storage.d.ts +1 -1
  220. package/dist/types/utils/storage.d.ts.map +1 -1
  221. package/package.json +22 -23
  222. package/dist/api-CPy9G49C.js +0 -40
  223. package/dist/api-Ce6xYI--.cjs +0 -1
  224. package/dist/docs/actions.mdx +0 -98
  225. package/dist/docs/api/authentication.md +0 -403
  226. package/dist/docs/chrome-extension.md +0 -68
  227. package/dist/docs/conditions.mdx +0 -72
  228. package/dist/docs/content/asset-library.mdx +0 -124
  229. package/dist/docs/content/pages.mdx +0 -82
  230. package/dist/docs/content/sections.mdx +0 -44
  231. package/dist/docs/delivery-api/index.md +0 -53
  232. package/dist/docs/guides/build-a-personalized-page.mdx +0 -161
  233. package/dist/docs/pickedql/index.md +0 -54
  234. package/dist/docs/projects.mdx +0 -44
  235. package/dist/docs/reports.mdx +0 -20
  236. package/dist/docs/sdk/actions.md +0 -82
  237. package/dist/docs/sdk/content-security-policy.md +0 -33
  238. package/dist/docs/sdk/experiences.md +0 -64
  239. package/dist/docs/sdk/feature-allocation.md +0 -161
  240. package/dist/docs/sdk/index.md +0 -98
  241. package/dist/docs/sdk/plugins/dynamic-experiences.md +0 -84
  242. package/dist/docs/sdk/plugins/index.md +0 -9
  243. package/dist/docs/sdk/predicates.md +0 -128
  244. package/dist/docs/sdk/ssr/index.md +0 -79
  245. package/dist/docs/sdk/steps.md +0 -479
  246. package/dist/docs/steps.mdx +0 -53
  247. package/dist/docs/workspaces.mdx +0 -133
  248. package/dist/experience-instance-DurC3pE-.cjs +0 -1
  249. package/dist/plugin-DHn11gn6.cjs +0 -1
@@ -1,7 +1,8 @@
1
- import { Store } from 'effector';
2
- import { Picked } from '../../picked';
3
- import { Field, FieldValue } from '../field/field';
4
- import { ValidationError } from './response-validation';
1
+ /** @file Response entity — Effector stores, commit/validation flow, and field-response lookups. */
2
+ import { type Store } from 'effector';
3
+ import type { Picked } from '../../picked';
4
+ import type { Field, FieldValue } from '../field/field';
5
+ import { type ValidationError } from './response-validation';
5
6
  export type { ValidationError } from './response-validation';
6
7
  export type ResponsesStore = ReturnType<typeof createResponseIndex>;
7
8
  export type Response = FieldValue;
@@ -13,11 +14,11 @@ declare const createResponseIndexFactory: ({ client }: {
13
14
  client: Picked;
14
15
  }) => {
15
16
  register: {
16
- (fieldKey: Field["key"], response: Response): void;
17
- (payload: Record<Field["key"], Response>, response?: never): void;
17
+ (fieldKey: Field['key'], response: Response): void;
18
+ (payload: Record<Field['key'], Response>, response?: never): void;
18
19
  };
19
- clearAll: import('effector').EventCallable<void>;
20
- clear: import('effector').EventCallable<string>;
20
+ clearAll: import("effector").EventCallable<void>;
21
+ clear: import("effector").EventCallable<string>;
21
22
  commit: (responsesToCommit: CommitResponses) => Promise<{
22
23
  errors: ValidationError[];
23
24
  }>;
@@ -32,9 +33,9 @@ declare const createResponseIndexFactory: ({ client }: {
32
33
  getAllStore: Store<{
33
34
  [fieldKey: string]: FieldValue;
34
35
  }>;
35
- getByFieldId: (id: Field["id"]) => Store<FieldValue>;
36
- getByFieldKey: (key: Field["key"]) => Store<FieldValue>;
37
- getByFieldName: (fieldName: Field["name"]) => Store<FieldValue>;
36
+ getByFieldId: (id: Field['id']) => Store<FieldValue>;
37
+ getByFieldKey: (key: Field['key']) => Store<FieldValue>;
38
+ getByFieldName: (fieldName: Field['name']) => Store<FieldValue>;
38
39
  };
39
40
  /**
40
41
  * Creates a response index instance bound to the given client.
@@ -1,4 +1,5 @@
1
- import { EventCallable, Store } from 'effector';
1
+ /** @file Session entity — single Effector store for the visitor session (id, isUser flag, identifiers) plus mutator events generated via `createApi`. Persists to localStorage when available. */
2
+ import { type EventCallable, type Store } from 'effector';
2
3
  /** Plain shape of a persisted session — id, optional isUser flag, optional identifiers map. */
3
4
  export interface Session {
4
5
  id: string;
@@ -1,5 +1,6 @@
1
- import { Store } from 'effector';
2
- import { Content } from '../content/content';
1
+ /** @file Step entity — Effector stores, types, and lifecycle helpers for experience steps. */
2
+ import { type Store } from 'effector';
3
+ import type { Content } from '../content/content';
3
4
  export type StepsStore = ReturnType<typeof createStepIndex>;
4
5
  export interface ExperienceStep {
5
6
  id: string;
@@ -23,10 +24,10 @@ export interface ExperienceStep {
23
24
  }
24
25
  declare const createStepIndexFactory: () => {
25
26
  register: (step: ExperienceStep) => void;
26
- getById: (id: ExperienceStep["id"]) => Store<ExperienceStep | null>;
27
- getByKey: (key: ExperienceStep["key"]) => Store<ExperienceStep | null>;
27
+ getById: (id: ExperienceStep['id']) => Store<ExperienceStep | null>;
28
+ getByKey: (key: ExperienceStep['key']) => Store<ExperienceStep | null>;
28
29
  listStore: Store<ExperienceStep[]>;
29
- indexStore: import('effector').StoreWritable<{
30
+ indexStore: import("effector").StoreWritable<{
30
31
  [id: string]: ExperienceStep;
31
32
  }>;
32
33
  };
@@ -1,4 +1,5 @@
1
- import { CreateClientOptions } from './client';
1
+ /** @file Public exports for the Picked SDK client package — surfaces the `Picked` class, `createClient` factory, and supporting utilities. */
2
+ import type { CreateClientOptions } from './client';
2
3
  import { Picked } from './picked';
3
4
  export { isPickedRoot } from './utils/dom';
4
5
  export { rehydrateScripts, buildRehydrateBootstrap, PICKED_SCRIPT_TYPE, PICKED_MODULE_SCRIPT_TYPE, PICKED_HYDRATED_ATTR, } from './utils/rehydrate-scripts';
@@ -1 +1 @@
1
- {"version":3,"file":"exports.d.ts","sourceRoot":"","sources":["../../src/exports.ts"],"names":[],"mappings":"AAAA,8IAA8I;AAC9I,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,UAAU,CAAA;AACnD,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAA;AAGjC,OAAO,EAAE,YAAY,EAAE,MAAM,aAAa,CAAA;AAC1C,OAAO,EACL,gBAAgB,EAChB,uBAAuB,EACvB,kBAAkB,EA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EAAE,gBAAgB,EAAE,mBAAmB,EAAE,MAAM,yBAAyB,CAAA;AAC/E,OAAO,EACL,qBAAqB,EACrB,yBAAyB,EACzB,sBAAsB,GACvB,MAAM,6BAA6B,CAAA;AAEpC,cAAc,kBAAkB,CAAA;AAChC,cAAc,iBAAiB,CAAA;AAC/B,mBAAmB,iBAAiB,CAAA;AACpC,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAA;AACvD,OAAO,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAA;AACvD,OAAO,EAAE,aAAa,EAAE,YAAY,EAAE,MAAM,oCAAoC,CAAA;AAChF,OAAO,EAAE,kBAAkB,EAAE,MAAM,0BAA0B,CAAA;AAE7D;;;;;;;;;;GAUG;AACH,eAAO,MAAM,YAAY,YAAa,mBAAmB,KAAG,MAI3D,CAAA;AAED,YAAY,EACV,uBAAuB,EACvB,qBAAqB,GACtB,MAAM,kCAAkC,CAAA"}
@@ -1,4 +1,5 @@
1
- import { FieldBase, FieldValue } from '../entities/field/field';
1
+ /** @file Parses FormData snapshots into typed field-response records keyed by field key. */
2
+ import type { FieldBase, FieldValue } from '../entities/field/field';
2
3
  /**
3
4
  * Parses a FormData snapshot into a typed record of field responses keyed by field key. Fields
4
5
  * absent from FormData are mapped to `null`. Empty string values are mapped to `null`. Repeated
@@ -1,6 +1,7 @@
1
- import { Store, StoreWritable } from 'effector';
2
- import { Field, FieldValue } from '../entities/field/field';
3
- import { Picked } from '../picked';
1
+ /** @file Reactive field evaluator — filters and re-evaluates fields when responses or step context change. */
2
+ import { type Store, type StoreWritable } from 'effector';
3
+ import type { Field, FieldValue } from '../entities/field/field';
4
+ import type { Picked } from '../picked';
4
5
  /**
5
6
  * Creates a reactive store of evaluated fields for a given set of field keys.
6
7
  *
@@ -1,7 +1,8 @@
1
- import { EventCallable, Store, StoreWritable } from 'effector';
2
- import { Field, FieldValue } from '../entities/field/field';
3
- import { ValidationError } from '../entities/response/response';
4
- import { Picked } from '../picked';
1
+ /** @file Creates the client-side field validation slice (touched tracking, error stores, staged values). */
2
+ import { type EventCallable, type Store, type StoreWritable } from 'effector';
3
+ import type { Field, FieldValue } from '../entities/field/field';
4
+ import type { ValidationError } from '../entities/response/response';
5
+ import type { Picked } from '../picked';
5
6
  export interface FieldValidation {
6
7
  /** Dispatch on keyboard input — updates staged values and runs validation if the field has been touched. */
7
8
  fieldInputEvent: EventCallable<{
@@ -1,9 +1,10 @@
1
- import { EventCallable, Store } from 'effector';
2
- import { Field, FieldValue } from '../entities/field/field';
3
- import { ExperienceInstance } from '../entities/experience-instance/experience-instance';
4
- import { ValidationError } from '../entities/response/response';
5
- import { Picked } from '../picked';
6
- import { ErrorCallback, SubmitCallback, SubmitEventWithCurrentTarget, SuccessCallback } from './create-submit-pipeline';
1
+ /** @file Creates form instances that wire field evaluation, validation, and submission. */
2
+ import { type EventCallable, type Store } from 'effector';
3
+ import type { Field, FieldValue } from '../entities/field/field';
4
+ import type { ExperienceInstance } from '../entities/experience-instance/experience-instance';
5
+ import type { ValidationError } from '../entities/response/response';
6
+ import type { Picked } from '../picked';
7
+ import { type ErrorCallback, type SubmitCallback, type SubmitEventWithCurrentTarget, type SuccessCallback } from './create-submit-pipeline';
7
8
  export type FormField = Field & {
8
9
  value: FieldValue | undefined;
9
10
  /** Validation error for this field, or undefined if valid. */
@@ -1,9 +1,10 @@
1
- import { Event, EventCallable, Store } from 'effector';
2
- import { ExperienceInstance } from '../entities/experience-instance/experience-instance';
3
- import { ExperienceStep } from '../entities/step/step';
4
- import { Field, FieldValue } from '../entities/field/field';
5
- import { ValidationError } from '../entities/response/response';
6
- import { Picked } from '../picked';
1
+ /** @file Submit pipeline for form instances — manages lifecycle, validation, and navigation. */
2
+ import { type Event, type EventCallable, type Store } from 'effector';
3
+ import type { ExperienceInstance } from '../entities/experience-instance/experience-instance';
4
+ import type { ExperienceStep } from '../entities/step/step';
5
+ import type { Field, FieldValue } from '../entities/field/field';
6
+ import type { ValidationError } from '../entities/response/response';
7
+ import type { Picked } from '../picked';
7
8
  export type SubmitEventWithCurrentTarget = SubmitEvent & {
8
9
  currentTarget: EventTarget & HTMLFormElement;
9
10
  };
@@ -1,5 +1,6 @@
1
- import { Field } from '../entities/field/field';
2
- import { Picked } from '../picked';
1
+ /** @file Step field evaluation — resolves field and option visibility conditions. */
2
+ import type { Field } from '../entities/field/field';
3
+ import type { Picked } from '../picked';
3
4
  import { evaluateRuleLogic } from '../utils/rules-logic';
4
5
  /**
5
6
  * Evaluates field and option conditions, returning only the fields that should be visible.
@@ -1,7 +1,17 @@
1
- import { Store } from 'effector';
2
- import { Condition } from '../entities/condition/condition';
3
- import { LogicObject, LogicRule, LogicValue } from '../logic-engine';
4
- import { Picked } from '../picked';
1
+ /**
2
+ * @file Memoized condition evaluator plus a reactive condition-results store.
3
+ *
4
+ * The results store is keyed by a stable, key-order-independent hash of the rule, so the
5
+ * server's selection (`serialize`) and the client's hydration share results without
6
+ * re-evaluating. A cache hit reads synchronously (driving SSR render and the first
7
+ * client paint); a miss evaluates asynchronously and writes the result back, which
8
+ * propagates reactively to subscribers. Conditions that reference an action are exempt from the
9
+ * cache: they re-evaluate on every call so the action's side effect runs each time.
10
+ */
11
+ import { type Store } from 'effector';
12
+ import type { Condition } from '../entities/condition/condition';
13
+ import type { LogicObject, LogicRule, LogicValue } from '../logic-engine';
14
+ import type { Picked } from '../picked';
5
15
  /** A condition rule that may be json-logic, a raw logic value, or unset. */
6
16
  type ConditionRule = LogicRule | LogicValue | undefined;
7
17
  /**
@@ -1,6 +1,7 @@
1
- import { Effect, EventCallable, StoreWritable } from 'effector';
2
- import { Picked } from '../picked';
3
- import { LogicRule } from '../logic-engine';
1
+ /** @file Lifecycle module — owns the SDK start chain as an effector event graph. */
2
+ import { type Effect, type EventCallable, type StoreWritable } from 'effector';
3
+ import type { Picked } from '../picked';
4
+ import type { LogicRule } from '../logic-engine';
4
5
  /** Discrete stages of the SDK lifecycle. */
5
6
  export type LifecycleStage = 'idle' | 'starting' | 'ready' | 'failed';
6
7
  /** A logic-engine gate rule, a literal boolean override, or `undefined` to indicate no gate is configured. */
@@ -1,6 +1,7 @@
1
- import { Effect } from 'effector';
2
- import { LogicObject, LogicRule } from '../logic-engine';
3
- import { Picked } from '../picked';
1
+ /** @file Effector effect that evaluates a json-logic rule against the client's reactive state. */
2
+ import { type Effect } from 'effector';
3
+ import type { LogicObject, LogicRule } from '../logic-engine';
4
+ import type { Picked } from '../picked';
4
5
  /** Parameters for `evaluateRuleLogicFx` — the rule to evaluate and an optional context override. */
5
6
  export interface EvaluateRuleLogicParams {
6
7
  rule: LogicRule;
@@ -1,6 +1,7 @@
1
- import { Store } from 'effector';
2
- import { Picked } from '../picked';
3
- import { Field, FieldValue } from '../entities/field/field';
1
+ /** @file State snapshot store — derives an immutable `StateSnapshot` from the client's reactive entity stores via `combine`. */
2
+ import { type Store } from 'effector';
3
+ import type { Picked } from '../picked';
4
+ import type { Field, FieldValue } from '../entities/field/field';
4
5
  /** Immutable snapshot of the current client state, suitable for passing to user-supplied predicates, actions, and rule evaluators. */
5
6
  export interface StateSnapshot {
6
7
  client: Picked;
@@ -1,23 +1,25 @@
1
- import { Effect, EventCallable, Store, StoreWritable } from 'effector';
2
- import { Experience, LaunchExperienceOptions } from './entities/experience/experience';
3
- import { Plugin, PluginConfigIndex } from './entities/plugin/plugin';
4
- import { CreateClientOptions } from './client';
5
- import { AdaptedComponent } from './entities/component/component';
6
- import { Framework } from './entities/framework/framework';
7
- import { StateSnapshot } from './lifecycle/state-snapshot';
8
- import { EvaluateRuleLogicParams } from './lifecycle/rules-logic';
9
- import { ConditionResults } from './lifecycle/condition-selection';
10
- import { LifecycleStage } from './lifecycle/lifecycle';
11
- import { Predicate } from './entities/predicate/predicate';
12
- import { Feature } from './entities/feature/feature';
13
- import { EventBusPayload, EventHistoryStore } from './utils/events';
14
- import { Field } from './entities/field/field';
15
- import { ExperienceStep } from './entities/step/step';
16
- import { Content, ContentDataPatch } from './entities/content/content';
17
- import { ContentLoader } from './plugins/dynamic-experiences/types';
18
- import { Action } from './entities/action/action';
19
- import { Condition } from './entities/condition/condition';
20
- import { SessionEntity } from './entities/session/session';
1
+ /** @file Picked client — the main entry point for the Picked SDK. */
2
+ import { type Effect, type EventCallable, type Store, type StoreWritable } from 'effector';
3
+ import { type Experience, type LaunchExperienceOptions } from './entities/experience/experience';
4
+ import { type Plugin, type PluginConfigIndex } from './entities/plugin/plugin';
5
+ import { type CreateClientOptions } from './client';
6
+ import { type AdaptedComponent } from './entities/component/component';
7
+ import { type Framework } from './entities/framework/framework';
8
+ import { logger } from './utils/logger';
9
+ import { type StateSnapshot } from './lifecycle/state-snapshot';
10
+ import { type EvaluateRuleLogicParams } from './lifecycle/rules-logic';
11
+ import { type ConditionResults } from './lifecycle/condition-selection';
12
+ import { type LifecycleStage } from './lifecycle/lifecycle';
13
+ import type { Predicate } from './entities/predicate/predicate';
14
+ import type { Feature } from './entities/feature/feature';
15
+ import { type EventBusPayload, type EventHistoryStore } from './utils/events';
16
+ import type { Field } from './entities/field/field';
17
+ import type { ExperienceStep } from './entities/step/step';
18
+ import type { Content, ContentDataPatch } from './entities/content/content';
19
+ import type { ContentLoader } from './plugins/dynamic-experiences/types';
20
+ import type { Action } from './entities/action/action';
21
+ import { type Condition } from './entities/condition/condition';
22
+ import type { SessionEntity } from './entities/session/session';
21
23
  /**
22
24
  * Provenance metadata describing where the Picked client's project config and
23
25
  * content came from. Set by `dynamicExperiencesPlugin` when the Vite plugin's
@@ -34,7 +36,7 @@ export interface PickedDataSource {
34
36
  workspaceId: string | null;
35
37
  }
36
38
  export declare class Picked {
37
- static readonly logger: (level: "log" | "warn" | "info" | "error", ...args: Parameters<Console["log"]>) => void;
39
+ static readonly logger: typeof logger;
38
40
  private readonly options;
39
41
  /**
40
42
  * Provenance metadata for the data backing this client. Populated by
@@ -64,23 +66,23 @@ export declare class Picked {
64
66
  readonly dashboardUrl: string;
65
67
  readonly documentationSiteUrl: string;
66
68
  readonly session: SessionEntity;
67
- readonly searchParams: import('.').PickedSearchParams;
69
+ readonly searchParams: import(".").PickedSearchParams;
68
70
  readonly history: {
69
71
  push: EventCallable<{
70
72
  experienceId: string;
71
- node: import('.').ExperienceNode;
73
+ node: import(".").ExperienceNode;
72
74
  }>;
73
75
  replace: EventCallable<{
74
76
  experienceId: string;
75
- node: import('.').ExperienceNode;
77
+ node: import(".").ExperienceNode;
76
78
  }>;
77
79
  back: EventCallable<{
78
80
  experienceId?: string;
79
81
  }>;
80
82
  restore: EventCallable<{
81
- entries: import('.').HistoryEntry[];
83
+ entries: import(".").HistoryEntry[];
82
84
  }>;
83
- entriesStore: Store<import('.').HistoryEntry[]>;
85
+ entriesStore: Store<import(".").HistoryEntry[]>;
84
86
  };
85
87
  readonly components: {
86
88
  register: EventCallable<{
@@ -98,16 +100,16 @@ export declare class Picked {
98
100
  }[]>;
99
101
  };
100
102
  readonly experienceInstances: {
101
- spawn: (experience: import('.').ExperienceStore, target: HTMLElement, options?: LaunchExperienceOptions) => void;
102
- getByExperienceKey: (key: Experience["key"]) => Store<import('.').ExperienceInstance[]>;
103
- getByExperienceId: (id: Experience["id"]) => Store<import('.').ExperienceInstance[]>;
104
- listStore: Store<import('.').ExperienceInstance[]>;
103
+ spawn: (experience: import(".").ExperienceStore, target: HTMLElement, options?: LaunchExperienceOptions) => void;
104
+ getByExperienceKey: (key: Experience['key']) => Store<import(".").ExperienceInstance[]>;
105
+ getByExperienceId: (id: Experience['id']) => Store<import(".").ExperienceInstance[]>;
106
+ listStore: Store<import(".").ExperienceInstance[]>;
105
107
  };
106
108
  readonly experiences: {
107
109
  register: EventCallable<Experience>;
108
- get: (id: Experience["id"]) => Store<import('.').ExperienceStore | undefined>;
109
- getById: (id: Experience["id"]) => Store<import('.').ExperienceStore | undefined>;
110
- getByKey: (key: Experience["key"]) => Store<import('.').ExperienceStore | undefined>;
110
+ get: (id: Experience['id']) => Store<import(".").ExperienceStore | undefined>;
111
+ getById: (id: Experience['id']) => Store<import(".").ExperienceStore | undefined>;
112
+ getByKey: (key: Experience['key']) => Store<import(".").ExperienceStore | undefined>;
111
113
  launch: Effect<{
112
114
  key: string;
113
115
  options?: LaunchExperienceOptions;
@@ -117,12 +119,12 @@ export declare class Picked {
117
119
  }, void, Error>;
118
120
  open: Effect<{
119
121
  key: string;
120
- options?: import('./exports').OpenExperienceOptions;
122
+ options?: import("./exports").OpenExperienceOptions;
121
123
  } | {
122
124
  id: string;
123
- options?: import('./exports').OpenExperienceOptions;
125
+ options?: import("./exports").OpenExperienceOptions;
124
126
  }, void, Error>;
125
- listStore: Store<import('.').ExperienceStore[]>;
127
+ listStore: Store<import(".").ExperienceStore[]>;
126
128
  initialiseExperiencesFx: Effect<void, void, Error>;
127
129
  };
128
130
  readonly frameworks: {
@@ -150,15 +152,15 @@ export declare class Picked {
150
152
  id: string;
151
153
  feature: Feature;
152
154
  }>;
153
- getById: (id: string) => Store<import('.').FeatureBucket | undefined>;
154
- getByName: (name: string) => Store<import('.').FeatureIndexItem | undefined>;
155
- listStore: Store<import('.').FeatureBucket[]>;
155
+ getById: (id: string) => Store<import(".").FeatureBucket | undefined>;
156
+ getByName: (name: string) => Store<import(".").FeatureIndexItem | undefined>;
157
+ listStore: Store<import(".").FeatureBucket[]>;
156
158
  getEvokableFeature: (featureName: string) => Store<() => Promise<boolean | string | undefined>>;
157
159
  };
158
160
  readonly conditions: {
159
161
  register: (condition: Condition) => void;
160
- getById: (id: Condition["id"]) => Store<Condition | null>;
161
- getByKey: (key: Condition["key"]) => Store<Condition | null>;
162
+ getById: (id: Condition['id']) => Store<Condition | null>;
163
+ getByKey: (key: Condition['key']) => Store<Condition | null>;
162
164
  listStore: Store<Condition[]>;
163
165
  indexStore: StoreWritable<{
164
166
  [id: string]: Condition;
@@ -166,41 +168,41 @@ export declare class Picked {
166
168
  };
167
169
  readonly fields: {
168
170
  register: (field: Field) => void;
169
- update: (key: import('.').FieldBase["key"], updates: Partial<Field>) => void;
170
- getById: (id: import('.').FieldBase["id"]) => Store<Field | null>;
171
- getByKey: (key: import('.').FieldBase["key"]) => Store<Field | null>;
171
+ update: (key: import(".").FieldBase['key'], updates: Partial<Field>) => void;
172
+ getById: (id: import(".").FieldBase['id']) => Store<Field | null>;
173
+ getByKey: (key: import(".").FieldBase['key']) => Store<Field | null>;
172
174
  listStore: Store<Field[]>;
173
- getByName: (name: import('.').FieldBase["name"]) => Store<Field | null>;
175
+ getByName: (name: import(".").FieldBase['name']) => Store<Field | null>;
174
176
  };
175
177
  readonly responses: {
176
178
  register: {
177
- (fieldKey: Field["key"], response: import('.').Response): void;
178
- (payload: Record<Field["key"], import('.').Response>, response?: never): void;
179
+ (fieldKey: Field['key'], response: import(".").Response): void;
180
+ (payload: Record<Field['key'], import(".").Response>, response?: never): void;
179
181
  };
180
182
  clearAll: EventCallable<void>;
181
183
  clear: EventCallable<string>;
182
- commit: (responsesToCommit: import('.').CommitResponses) => Promise<{
183
- errors: import('.').ValidationError[];
184
+ commit: (responsesToCommit: import(".").CommitResponses) => Promise<{
185
+ errors: import(".").ValidationError[];
184
186
  }>;
185
- getResponsesToCommit: (responsesToCommit: import('.').CommitResponses) => Promise<{
186
- responsesToCommit: import('.').CommitResponses;
187
- validationErrors: import('.').ValidationError[];
187
+ getResponsesToCommit: (responsesToCommit: import(".").CommitResponses) => Promise<{
188
+ responsesToCommit: import(".").CommitResponses;
189
+ validationErrors: import(".").ValidationError[];
188
190
  }>;
189
191
  listStore: Store<{
190
192
  fieldKey: string;
191
- value: import('.').FieldValue;
193
+ value: import(".").FieldValue;
192
194
  }[]>;
193
195
  getAllStore: Store<{
194
- [fieldKey: string]: import('.').FieldValue;
196
+ [fieldKey: string]: import(".").FieldValue;
195
197
  }>;
196
- getByFieldId: (id: Field["id"]) => Store<import('.').FieldValue>;
197
- getByFieldKey: (key: Field["key"]) => Store<import('.').FieldValue>;
198
- getByFieldName: (fieldName: Field["name"]) => Store<import('.').FieldValue>;
198
+ getByFieldId: (id: Field['id']) => Store<import(".").FieldValue>;
199
+ getByFieldKey: (key: Field['key']) => Store<import(".").FieldValue>;
200
+ getByFieldName: (fieldName: Field['name']) => Store<import(".").FieldValue>;
199
201
  };
200
202
  readonly steps: {
201
203
  register: (step: ExperienceStep) => void;
202
- getById: (id: ExperienceStep["id"]) => Store<ExperienceStep | null>;
203
- getByKey: (key: ExperienceStep["key"]) => Store<ExperienceStep | null>;
204
+ getById: (id: ExperienceStep['id']) => Store<ExperienceStep | null>;
205
+ getByKey: (key: ExperienceStep['key']) => Store<ExperienceStep | null>;
204
206
  listStore: Store<ExperienceStep[]>;
205
207
  indexStore: StoreWritable<{
206
208
  [id: string]: ExperienceStep;
@@ -209,7 +211,7 @@ export declare class Picked {
209
211
  readonly contents: {
210
212
  register: (content: Content) => void;
211
213
  patch: (id: string, apply: ContentDataPatch) => void;
212
- getById: (id: Content["id"]) => Store<Content | null>;
214
+ getById: (id: Content['id']) => Store<Content | null>;
213
215
  listStore: Store<Content[]>;
214
216
  indexStore: StoreWritable<{
215
217
  [id: string]: Content;
@@ -221,9 +223,9 @@ export declare class Picked {
221
223
  action: Action;
222
224
  }>;
223
225
  getByKey: (key: string) => Store<Action | undefined>;
224
- listStore: Store<import('.').ActionIndexItem[]>;
226
+ listStore: Store<import(".").ActionIndexItem[]>;
225
227
  getEvokableAction: (actionKey: string, options?: {
226
- experience: import('.').ExperienceInstance;
228
+ experience: import(".").ExperienceInstance;
227
229
  }) => Store<() => ReturnType<Action>>;
228
230
  };
229
231
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"picked.d.ts","sourceRoot":"","sources":["../../src/picked.ts"],"names":[],"mappings":"AAAA,qEAAqE;AACrE,OAAO,EAGL,KAAK,MAAM,EACX,KAAK,aAAa,EAClB,KAAK,KAAK,EACV,KAAK,aAAa,EACnB,MAAM,UAAU,CAAA;AACjB,OAAO,EAEL,KAAK,UAAU,EACf,KAAK,uBAAuB,EAC7B,MAAM,kCAAkC,CAAA;AACzC,OAAO,EAAE,KAAK,MAAM,EAA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AAC,CAEjE;IAED,OAAO,CAAC,YAAY;IAsBpB,OAAO,CAAC,aAAa;IAsCrB,OAAO,CAAC,eAAe;IAgBvB,OAAO,CAAC,YAAY;IAgBpB,OAAO,CAAC,eAAe;IAWvB,eAAe,eAAgB,MAAM,KAAG,iBAAiB,CAAC,MAAM,CAAC,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAE1F;CACF"}
@@ -1,4 +1,4 @@
1
- import { Picked } from './picked';
1
+ import type { Picked } from './picked';
2
2
  /**
3
3
  * Pings the server to track the last time the library was loaded.
4
4
  * Implements rate limiting and supports Vercel branch deployments.
@@ -1 +1 @@
1
- {"version":3,"file":"ping.d.ts","sourceRoot":"","sources":["../../src/ping.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,UAAU,CAAA;AAKtC;;;;;;GAMG;AACH,eAAO,MAAM,IAAI,GAAU,QAAQ,MAAM,KAAG,OAAO,CAAC,OAAO,CA2C1D,CAAA"}
1
+ {"version":3,"file":"ping.d.ts","sourceRoot":"","sources":["../../src/ping.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,UAAU,CAAA;AAKtC;;;;;;GAMG;AACH,eAAO,MAAM,IAAI,WAAkB,MAAM,KAAG,OAAO,CAAC,OAAO,CA2C1D,CAAA"}
@@ -1,10 +1,11 @@
1
- import { ActionNode, Experience, ExperienceEdge, ExperienceNode, ExperienceTarget } from '../../entities/experience/experience';
2
- import { ExperienceStep } from '../../entities/step/step';
3
- import { Condition } from '../../entities/condition/condition';
4
- import { AdaptedComponent } from '../../entities/component/component';
5
- import { LogicRule, LogicValue } from '../../logic-engine';
6
- import { Field, FieldBooleanMultiple, FieldBooleanSingular, FieldNumberMultiple, FieldNumberSingular, FieldObjectMultiple, FieldObjectSingular, FieldTextMultiple, FieldTextSingular, JsonValue } from '../../entities/field/field';
7
- import { Serialized } from './serialization';
1
+ /** @file Builder API for creating experiences, steps, conditions, fields, and flow graphs. */
2
+ import type { ActionNode, Experience, ExperienceEdge, ExperienceNode, ExperienceTarget } from '../../entities/experience/experience';
3
+ import type { ExperienceStep } from '../../entities/step/step';
4
+ import type { Condition } from '../../entities/condition/condition';
5
+ import type { AdaptedComponent } from '../../entities/component/component';
6
+ import type { LogicRule, LogicValue } from '../../logic-engine';
7
+ import type { Field, FieldBooleanMultiple, FieldBooleanSingular, FieldNumberMultiple, FieldNumberSingular, FieldObjectMultiple, FieldObjectSingular, FieldTextMultiple, FieldTextSingular, JsonValue } from '../../entities/field/field';
8
+ import { type Serialized } from './serialization';
8
9
  export interface SerializedExperience extends Experience {
9
10
  steps: ExperienceStep[];
10
11
  conditions: Condition[];
@@ -203,7 +204,7 @@ export declare const createNode: (nodeOptions: CreateNodeOptions, experience: Se
203
204
  export declare const createEdge: (edgeOptions: CreateEdgeOptions, experience: SerializableExperience) => SerializableEdge;
204
205
  export declare const createCondition: (conditionOptions: CreateConditionOptions, experience: SerializableExperience) => SerializableCondition;
205
206
  /** @deprecated Use `createCondition` instead. */
206
- export declare const createConditional: (conditionOptions: CreateConditionOptions, experience: SerializableExperience) => SerializableCondition;
207
+ export declare const createConditional: typeof createCondition;
207
208
  /**
208
209
  * Creates a field with optional generic type parameter for object field type safety.
209
210
  *
@@ -1 +1 @@
1
- {"version":3,"file":"create-experience.d.ts","sourceRoot":"","sources":["../../../../src/plugins/create-experience/create-experience.ts"],"names":[],"mappings":"AAAA,8FAA8F;AAC9F,OAAO,KAAK,EACV,UAAU,EAEV,UAAU,EACV,cAAc,EACd,cAAc,EACd,gBAAgB,EAGjB,MAAM,sCAAsC,CAAA;AAC7C,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAA;AAC9D,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,oCAAoC,CAAA;AACnE,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,oCAAoC,CAAA;AAE1E,OAAO,KAAK,EAAE,SAAS,EAAE,UA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,YAAY,sBAAsB,KACjC,qBAmDF,CAAA;AAED,iDAAiD;AACjD,eAAO,MAAM,iBAAiB,qBAxDV,sBAAsB,cAC5B,sBAAsB,KACjC,qBAsD6C,CAAA;AAEhD;;;;;;;;;;;;;;;GAeG;AACH,eAAO,MAAM,WAAW,GAAI,CAAC,SAAS,SAAS,GAAG,SAAS,EACzD,cAAc,kBAAkB,KAC/B,iBAAiB,CAAC,CAAC,CAsOrB,CAAA;AAED,eAAO,MAAM,gBAAgB,GAAI,YAAY,uBAAuB,KAAG,sBA4LtE,CAAA"}
1
+ {"version":3,"file":"create-experience.d.ts","sourceRoot":"","sources":["../../../../src/plugins/create-experience/create-experience.ts"],"names":[],"mappings":"AAAA,8FAA8F;AAC9F,OAAO,KAAK,EACV,UAAU,EAEV,UAAU,EACV,cAAc,EACd,cAAc,EACd,gBAAgB,EAGjB,MAAM,sCAAsC,CAAA;AAC7C,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAA;AAC9D,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,oCAAoC,CAAA;AACnE,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,oCAAoC,CAAA;AAE1E,OAAO,KAAK,EAAE,SAAS,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAA;AAC/D,OAAO,KAAK,EACV,KAAK,EACL,oBAAoB,EACpB,oBAAoB,EACpB,mBAAmB,EACnB,mBAAmB,EACnB,mBAAmB,EACnB,mBAAmB,EACnB,iBAAiB,EACjB,iBAAiB,EACjB,SAAS,EACV,MAAM,4BAA4B,CAAA;AACnC,OAAO,EAAiB,KAAK,UAAU,EAAE,MAAM,iBAAiB,CAAA;AAEhE,MAAM,WAAW,oBAAqB,SAAQ,UAAU;IACtD,KAAK,EAAE,cAAc,EAAE,CAAA;IACvB,UAAU,EAAE,SAAS,EAAE,CAAA;IACvB,MAAM,EAAE,KAAK,EAAE,CAAA;CAChB;AAED,MAAM,WAAW,QAAQ;IACvB,IAAI,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Ac,CAAC,EAAE,SAAS,GAAG,UAAU,CAAA;IACvC,OAAO,EAAE,gBAAgB,EAAE,CAAA;IAC3B,SAAS,CAAC,EAAE,gBAAgB,CAAA;CAC7B;AAED,MAAM,MAAM,UAAU,GAAG,IAAI,CAC3B,gBAAgB,EACd,UAAU,GACV,eAAe,GACf,iBAAiB,GACjB,mBAAmB,GACnB,MAAM,GACN,WAAW,GACX,UAAU,GACV,YAAY,CACf,GAAG;IACF,QAAQ,EAAE,CAAC,mBAAmB,EAAE,kBAAkB,GAAG,iBAAiB,KAAK,IAAI,CAAA;CAChF,CAAA;AAED,eAAO,MAAM,UAAU,gBAAiB,iBAAiB,KAAG,UAoB3D,CAAA;AAED,eAAO,MAAM,kBAAkB,gBAChB,iBAAiB,GAAG,UAAU,cAC/B,sBAAsB,KACjC,gBAwCF,CAAA;AAED,eAAO,MAAM,UAAU,gBACR,iBAAiB,cAClB,sBAAsB,KACjC,gBA2EF,CAAA;AAED,eAAO,MAAM,UAAU,gBACR,iBAAiB,cAClB,sBAAsB,KACjC,gBAkBF,CAAA;AAED,eAAO,MAAM,eAAe,qBACR,sBAAsB,cAC5B,sBAAsB,KACjC,qBAmDF,CAAA;AAED,iDAAiD;AACjD,eAAO,MAAM,iBAAiB,wBAAkB,CAAA;AAEhD;;;;;;;;;;;;;;;GAeG;AACH,eAAO,MAAM,WAAW,GAAI,CAAC,SAAS,SAAS,GAAG,SAAS,gBAC3C,kBAAkB,KAC/B,iBAAiB,CAAC,CAAC,CAsOrB,CAAA;AAED,eAAO,MAAM,gBAAgB,eAAgB,uBAAuB,KAAG,sBA4LtE,CAAA"}
@@ -1,5 +1,6 @@
1
- import { Plugin } from '../../entities/plugin/plugin';
2
- import { SerializableExperience } from './create-experience';
1
+ /** @file Plugin that registers builder-created experiences with the client. */
2
+ import type { Plugin } from '../../entities/plugin/plugin';
3
+ import type { SerializableExperience } from './create-experience';
3
4
  interface CreateExperiencePluginOptions {
4
5
  experiences: SerializableExperience[];
5
6
  }
@@ -1 +1 @@
1
- {"version":3,"file":"plugin.d.ts","sourceRoot":"","sources":["../../../../src/plugins/create-experience/plugin.ts"],"names":[],"mappings":"AAAA,+EAA+E;AAC/E,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,8BAA8B,CAAA;AAE1D,OAAO,KAAK,EAAwB,sBAAsB,EAAE,MAAM,qBAAqB,CAAA;AAGvF,UAAU,6BAA6B;IACrC,WAAW,EAAE,sBAAsB,EAAE,CAAA;CACtC;AAED,eAAO,MAAM,sBAAsB,GAAI,SAAS,6BAA6B,KAAG,MA0B/E,CAAA"}
1
+ {"version":3,"file":"plugin.d.ts","sourceRoot":"","sources":["../../../../src/plugins/create-experience/plugin.ts"],"names":[],"mappings":"AAAA,+EAA+E;AAC/E,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,8BAA8B,CAAA;AAE1D,OAAO,KAAK,EAAwB,sBAAsB,EAAE,MAAM,qBAAqB,CAAA;AAGvF,UAAU,6BAA6B;IACrC,WAAW,EAAE,sBAAsB,EAAE,CAAA;CACtC;AAED,eAAO,MAAM,sBAAsB,YAAa,6BAA6B,KAAG,MA0B/E,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"serialization.d.ts","sourceRoot":"","sources":["../../../../src/plugins/create-experience/serialization.ts"],"names":[],"mappings":"AACA,MAAM,MAAM,UAAU,CAAC,CAAC,IAAI,MAAM,CAAA;AAElC,eAAO,MAAM,aAAa;cACd,CAAC,OAAO,CAAC,GAAG,UAAU,CAAC,CAAC,CAAC;gBAGvB,CAAC,OAAO,UAAU,CAAC,CAAC,CAAC,GAAG,CAAC;CAGtC,CAAA"}
1
+ {"version":3,"file":"serialization.d.ts","sourceRoot":"","sources":["../../../../src/plugins/create-experience/serialization.ts"],"names":[],"mappings":"AACA,MAAM,MAAM,UAAU,CAAC,CAAC,IAAI,MAAM,CAAA;AAElC,eAAO,MAAM,aAAa;IACxB,SAAS,CAAC,CAAC,OAAO,CAAC,GAAG,UAAU,CAAC,CAAC,CAAC;IAGnC,WAAW,CAAC,CAAC,OAAO,UAAU,CAAC,CAAC,CAAC,GAAG,CAAC;CAGtC,CAAA"}