@rokt/dcui-orchestrator 0.2.1-rc.83 → 0.2.1-rc.84

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 (517) hide show
  1. package/dist/extensions/address-form/src/actions/forms.d.ts +11 -0
  2. package/dist/extensions/address-form/src/actions/index.d.ts +1 -0
  3. package/dist/extensions/address-form/src/components/address-form.d.ts +96 -0
  4. package/dist/extensions/address-form/src/components/edit-address-form-view.d.ts +23 -0
  5. package/dist/extensions/address-form/src/components/form-button.d.ts +15 -0
  6. package/dist/extensions/address-form/src/components/input-field.d.ts +34 -0
  7. package/dist/extensions/address-form/src/index.d.ts +3 -0
  8. package/dist/extensions/address-form/src/models/form-state.d.ts +1 -0
  9. package/dist/extensions/address-form/src/models/index.d.ts +1 -0
  10. package/dist/extensions/address-form/src/reducers/forms.d.ts +4 -0
  11. package/dist/extensions/address-form/src/reducers/index.d.ts +1 -0
  12. package/dist/extensions/address-form/src/sagas/cart-service/index.d.ts +1 -0
  13. package/dist/{libraries/orchestrator → extensions/address-form}/src/sagas/cart-service/sagas.d.ts +5 -12
  14. package/dist/extensions/address-form/src/sagas/index.d.ts +2 -0
  15. package/dist/extensions/address-form/src/types.d.ts +63 -0
  16. package/dist/extensions/address-form/src/utils.d.ts +15 -0
  17. package/dist/extensions/shimmer-background/src/index.d.ts +10 -0
  18. package/dist/extensions/shimmer-background/src/shimmer-background.d.ts +11 -0
  19. package/dist/index.cjs +97 -36
  20. package/dist/index.js +100 -39
  21. package/dist/libraries/dcui-components/src/components/action-button/action-button.d.ts +24 -0
  22. package/dist/libraries/dcui-components/src/components/action-button/factory.d.ts +2 -0
  23. package/dist/libraries/dcui-components/src/components/action-button/index.d.ts +2 -0
  24. package/dist/libraries/dcui-components/src/components/catalog-carousel-collection/hooks.d.ts +7 -0
  25. package/dist/libraries/{layout-renderer-utils → dcui-components}/src/components/close-button/factory.d.ts +1 -1
  26. package/dist/libraries/dcui-components/src/components/data-mapper/form-state-projection.d.ts +31 -0
  27. package/dist/libraries/dcui-components/src/components/data-mapper/index.d.ts +1 -0
  28. package/dist/libraries/dcui-components/src/components/extension/context.d.ts +2 -1
  29. package/dist/libraries/dcui-components/src/components/extension/models.d.ts +2 -1
  30. package/dist/libraries/dcui-components/src/components/form/factory.d.ts +2 -0
  31. package/dist/libraries/dcui-components/src/components/form/form.d.ts +24 -0
  32. package/dist/libraries/dcui-components/src/components/form/index.d.ts +2 -0
  33. package/dist/libraries/dcui-components/src/components/index.d.ts +5 -0
  34. package/dist/libraries/dcui-components/src/components/layout-timer/index.d.ts +5 -0
  35. package/dist/libraries/dcui-components/src/components/layout-timer/layout-timer.d.ts +7 -0
  36. package/dist/libraries/dcui-components/src/components/layout-timer/timer-countdown-provider.d.ts +8 -0
  37. package/dist/libraries/dcui-components/src/components/layout-timer/use-layout-timer.d.ts +11 -0
  38. package/dist/libraries/dcui-components/src/components/layout-timer/use-timer-action-dispatch.d.ts +9 -0
  39. package/dist/libraries/dcui-components/src/components/rich-text/rich-text.d.ts +2 -0
  40. package/dist/libraries/dcui-components/src/components/scrollable-column/scrollable-column.d.ts +1 -1
  41. package/dist/libraries/dcui-components/src/components/scrollable-row/scrollable-row.d.ts +1 -1
  42. package/dist/libraries/dcui-components/src/components/style-mapper/get-css-writer.d.ts +1 -0
  43. package/dist/libraries/dcui-components/src/components/style-mapper/transformers/index.d.ts +1 -0
  44. package/dist/libraries/dcui-components/src/components/style-mapper/transformers/scroll-mask-transformer.d.ts +8 -0
  45. package/dist/libraries/dcui-components/src/components/style-mapper/types.d.ts +2 -2
  46. package/dist/libraries/dcui-components/src/components/text-input/factory.d.ts +2 -0
  47. package/dist/libraries/dcui-components/src/components/text-input/index.d.ts +2 -0
  48. package/dist/libraries/dcui-components/src/components/text-input/text-input.d.ts +23 -0
  49. package/dist/libraries/dcui-components/src/components/when/form-state.d.ts +9 -0
  50. package/dist/libraries/dcui-components/src/contexts/form-context.d.ts +15 -0
  51. package/dist/libraries/dcui-components/src/contexts/index.d.ts +2 -0
  52. package/dist/libraries/dcui-components/src/contexts/minimizable-context.d.ts +2 -0
  53. package/dist/libraries/dcui-components/src/contexts/offer-data-context.d.ts +1 -0
  54. package/dist/libraries/dcui-components/src/failure-codes.d.ts +1 -0
  55. package/dist/libraries/dcui-components/src/utils/get-scroll-mask-config.d.ts +20 -0
  56. package/dist/libraries/dcui-components/src/utils/index.d.ts +2 -0
  57. package/dist/libraries/dcui-components/src/utils/use-scroll-mask-visibility.d.ts +22 -0
  58. package/dist/libraries/dcui-schema/src/models/nodes/close-button.d.ts +3 -1
  59. package/dist/libraries/domain/src/behaviors/cart-item-event.d.ts +7 -12
  60. package/dist/libraries/domain/src/behaviors/dismiss-overlay.d.ts +9 -0
  61. package/dist/libraries/domain/src/behaviors/domain-states.d.ts +2 -2
  62. package/dist/libraries/domain/src/behaviors/form-state.d.ts +66 -0
  63. package/dist/libraries/domain/src/behaviors/global-actions.d.ts +15 -1
  64. package/dist/libraries/domain/src/behaviors/index.d.ts +5 -0
  65. package/dist/libraries/domain/src/behaviors/layout-events.d.ts +17 -0
  66. package/dist/libraries/domain/src/behaviors/offer-engagement.d.ts +2 -1
  67. package/dist/libraries/domain/src/behaviors/report-error.d.ts +26 -0
  68. package/dist/libraries/domain/src/behaviors/send-partner.d.ts +36 -3
  69. package/dist/libraries/domain/src/behaviors/trigger-action.d.ts +19 -0
  70. package/dist/libraries/domain/src/models/domain-state-keys.d.ts +5 -0
  71. package/dist/libraries/domain/src/models/form-state.d.ts +85 -0
  72. package/dist/libraries/domain/src/models/global-state.d.ts +4 -1
  73. package/dist/libraries/domain/src/models/index.d.ts +2 -0
  74. package/dist/libraries/domain/src/models/layout/index.d.ts +1 -0
  75. package/dist/libraries/domain/src/models/layout/layout-child-config.d.ts +2 -0
  76. package/dist/libraries/domain/src/models/layout/layout-config.d.ts +2 -2
  77. package/dist/libraries/domain/src/models/layout/layout-offer.d.ts +2 -0
  78. package/dist/libraries/domain/src/models/layout/layout-signal-type.d.ts +3 -1
  79. package/dist/libraries/domain/src/models/layout/layout-transaction-data.d.ts +31 -0
  80. package/dist/libraries/domain/src/models/partner-event.d.ts +2 -2
  81. package/dist/libraries/domain/src/models/plugin/index.d.ts +2 -0
  82. package/dist/libraries/domain/src/models/plugin/plugin-catalog-item-group.d.ts +17 -0
  83. package/dist/libraries/domain/src/models/plugin/plugin-child-layout-model.d.ts +2 -0
  84. package/dist/libraries/domain/src/models/plugin/plugin-model.d.ts +3 -3
  85. package/dist/libraries/domain/src/models/plugin/plugin-offer.d.ts +4 -0
  86. package/dist/libraries/domain/src/models/plugin/plugin-signal-type.d.ts +4 -1
  87. package/dist/libraries/domain/src/models/plugin/plugin-transaction-data.d.ts +31 -0
  88. package/dist/libraries/domain/src/models/purchase.d.ts +54 -0
  89. package/dist/libraries/domain/src/models/signals.d.ts +14 -6
  90. package/dist/libraries/layout-renderer-utils/src/actions/domain-states.d.ts +14 -0
  91. package/dist/libraries/layout-renderer-utils/src/actions/form-states.d.ts +37 -0
  92. package/dist/libraries/layout-renderer-utils/src/actions/index.d.ts +15 -3
  93. package/dist/libraries/layout-renderer-utils/src/actions/overlay.d.ts +15 -8
  94. package/dist/libraries/layout-renderer-utils/src/actions/settings.d.ts +10 -3
  95. package/dist/libraries/layout-renderer-utils/src/components/index.d.ts +4 -1
  96. package/dist/libraries/layout-renderer-utils/src/components/minimizable-bottomsheet/connector.d.ts +2 -0
  97. package/dist/libraries/layout-renderer-utils/src/components/minimizable-bottomsheet/drag-handle.d.ts +7 -0
  98. package/dist/libraries/layout-renderer-utils/src/components/minimizable-bottomsheet/extract-border-styles.d.ts +25 -0
  99. package/dist/libraries/layout-renderer-utils/src/components/minimizable-bottomsheet/factory.d.ts +13 -0
  100. package/dist/libraries/layout-renderer-utils/src/components/minimizable-bottomsheet/hooks.d.ts +23 -0
  101. package/dist/libraries/layout-renderer-utils/src/components/minimizable-bottomsheet/index.d.ts +2 -0
  102. package/dist/libraries/layout-renderer-utils/src/components/minimizable-bottomsheet/minimizable-bottomsheet-wrapper.d.ts +12 -0
  103. package/dist/libraries/layout-renderer-utils/src/components/minimizable-bottomsheet/minimizable-bottomsheet.d.ts +27 -0
  104. package/dist/libraries/layout-renderer-utils/src/components/minimizable-bottomsheet/sheet-gesture.d.ts +18 -0
  105. package/dist/libraries/layout-renderer-utils/src/components/minimizable-bottomsheet/types.d.ts +63 -0
  106. package/dist/libraries/layout-renderer-utils/src/components/minimize-button/factory.d.ts +2 -0
  107. package/dist/libraries/layout-renderer-utils/src/components/minimize-button/index.d.ts +2 -0
  108. package/dist/libraries/layout-renderer-utils/src/components/minimize-button/minimize-button.d.ts +12 -0
  109. package/dist/libraries/layout-renderer-utils/src/components/overlay/overlay.d.ts +1 -0
  110. package/dist/libraries/layout-renderer-utils/src/components/overlay-wrapper/attached-overlay-wrapper.d.ts +19 -0
  111. package/dist/libraries/layout-renderer-utils/src/components/overlay-wrapper/index.d.ts +1 -0
  112. package/dist/libraries/layout-renderer-utils/src/components/utils.d.ts +1 -0
  113. package/dist/libraries/layout-renderer-utils/src/constant.d.ts +1 -1
  114. package/dist/libraries/layout-renderer-utils/src/hooks/useEscToClose.d.ts +1 -0
  115. package/dist/libraries/layout-renderer-utils/src/models/state/fired-events.d.ts +17 -0
  116. package/dist/libraries/layout-renderer-utils/src/models/state/form-states.d.ts +11 -0
  117. package/dist/libraries/layout-renderer-utils/src/models/state/index.d.ts +9 -2
  118. package/dist/libraries/layout-renderer-utils/src/models/state/layout.d.ts +2 -1
  119. package/dist/libraries/layout-renderer-utils/src/models/state/settings.d.ts +6 -0
  120. package/dist/libraries/layout-renderer-utils/src/reducers/fired-events/index.d.ts +1 -0
  121. package/dist/libraries/layout-renderer-utils/src/reducers/fired-events/reducer.d.ts +5 -0
  122. package/dist/libraries/layout-renderer-utils/src/reducers/form-states/index.d.ts +1 -0
  123. package/dist/libraries/layout-renderer-utils/src/reducers/form-states/reducer.d.ts +4 -0
  124. package/dist/libraries/layout-renderer-utils/src/reducers/index.d.ts +6 -0
  125. package/dist/libraries/layout-renderer-utils/src/reducers/settings/reducer.d.ts +3 -3
  126. package/dist/libraries/layout-renderer-utils/src/sagas/error/error-codes.d.ts +1 -0
  127. package/dist/libraries/layout-renderer-utils/src/sagas/form-states/index.d.ts +1 -0
  128. package/dist/libraries/layout-renderer-utils/src/sagas/form-states/sagas.d.ts +16 -0
  129. package/dist/libraries/layout-renderer-utils/src/sagas/index.d.ts +2 -0
  130. package/dist/libraries/layout-renderer-utils/src/sagas/plugin/attached-bottomsheet.d.ts +18 -0
  131. package/dist/libraries/layout-renderer-utils/src/sagas/plugin/display.d.ts +4 -13
  132. package/dist/libraries/layout-renderer-utils/src/sagas/plugin/sagas.d.ts +1 -1
  133. package/dist/libraries/layout-renderer-utils/src/sagas/trigger-action/index.d.ts +1 -0
  134. package/dist/libraries/layout-renderer-utils/src/sagas/trigger-action/sagas.d.ts +12 -0
  135. package/dist/libraries/layout-renderer-utils/src/selectors/fired-events/selectors.d.ts +7 -0
  136. package/dist/libraries/layout-renderer-utils/src/selectors/form-state/index.d.ts +1 -0
  137. package/dist/libraries/layout-renderer-utils/src/selectors/form-state/selectors.d.ts +8 -0
  138. package/dist/libraries/layout-renderer-utils/src/selectors/index.d.ts +2 -0
  139. package/dist/libraries/layout-renderer-utils/src/utils/signals.d.ts +2 -2
  140. package/dist/libraries/module-connector/src/main.d.ts +1 -1
  141. package/dist/libraries/module-connector/src/models/gateway.d.ts +4 -3
  142. package/dist/libraries/module-connector/src/models/module-connector-builder.d.ts +4 -1
  143. package/dist/libraries/module-utils/src/actions/child-layouts.d.ts +11 -0
  144. package/dist/libraries/module-utils/src/actions/dynamic-data.d.ts +7 -0
  145. package/dist/libraries/module-utils/src/actions/index.d.ts +2 -0
  146. package/dist/libraries/module-utils/src/index.d.ts +5 -0
  147. package/dist/libraries/module-utils/src/models/index.d.ts +1 -0
  148. package/dist/libraries/module-utils/src/models/state/child-layouts.d.ts +4 -0
  149. package/dist/libraries/module-utils/src/models/state/dynamic-data.d.ts +3 -0
  150. package/dist/libraries/module-utils/src/models/state/index.d.ts +3 -0
  151. package/dist/libraries/module-utils/src/models/state/static-data.d.ts +6 -0
  152. package/dist/libraries/module-utils/src/reducers/child-layouts/index.d.ts +1 -0
  153. package/dist/libraries/module-utils/src/reducers/child-layouts/reducer.d.ts +5 -0
  154. package/dist/libraries/module-utils/src/reducers/dynamic-data/index.d.ts +1 -0
  155. package/dist/libraries/module-utils/src/reducers/dynamic-data/reducer.d.ts +4 -0
  156. package/dist/libraries/module-utils/src/reducers/index.d.ts +3 -0
  157. package/dist/libraries/module-utils/src/reducers/static-data/index.d.ts +1 -0
  158. package/dist/libraries/module-utils/src/reducers/static-data/reducer.d.ts +4 -0
  159. package/dist/libraries/module-utils/src/sagas/child-layouts/index.d.ts +1 -0
  160. package/dist/libraries/module-utils/src/sagas/child-layouts/sagas.d.ts +5 -0
  161. package/dist/libraries/module-utils/src/sagas/error-codes.d.ts +1 -0
  162. package/dist/libraries/module-utils/src/sagas/index.d.ts +1 -0
  163. package/dist/libraries/module-utils/src/selectors/child-layouts/index.d.ts +1 -0
  164. package/dist/libraries/module-utils/src/selectors/child-layouts/selectors.d.ts +4 -0
  165. package/dist/libraries/module-utils/src/selectors/dynamic-data/index.d.ts +1 -0
  166. package/dist/libraries/module-utils/src/selectors/dynamic-data/selectors.d.ts +4 -0
  167. package/dist/libraries/module-utils/src/selectors/index.d.ts +3 -0
  168. package/dist/libraries/module-utils/src/selectors/static-data/index.d.ts +1 -0
  169. package/dist/libraries/module-utils/src/selectors/static-data/selectors.d.ts +7 -0
  170. package/dist/libraries/orchestrator/src/actions/domain-states.d.ts +2 -2
  171. package/dist/libraries/orchestrator/src/actions/index.d.ts +14 -4
  172. package/dist/libraries/orchestrator/src/actions/trigger-action.d.ts +2 -0
  173. package/dist/libraries/orchestrator/src/global-store-proxy.d.ts +2 -0
  174. package/dist/libraries/orchestrator/src/models/index.d.ts +1 -1
  175. package/dist/libraries/orchestrator/src/models/state/domain-states.d.ts +2 -2
  176. package/dist/libraries/orchestrator/src/models/state/index.d.ts +0 -2
  177. package/dist/libraries/orchestrator/src/reducers/domain-states/reducer.d.ts +2 -1
  178. package/dist/libraries/orchestrator/src/reducers/index.d.ts +3 -1
  179. package/dist/libraries/orchestrator/src/sagas/plugin/config-transformer.d.ts +2 -2
  180. package/dist/libraries/orchestrator/src/sagas/plugin/migrate-schema.d.ts +2 -2
  181. package/dist/libraries/orchestrator/src/sagas/plugin/migrations/migration-mapper.d.ts +3 -3
  182. package/dist/libraries/orchestrator/src/sagas/plugin/migrations/v1.0.d.ts +2 -2
  183. package/dist/libraries/orchestrator/src/sagas/plugin/sagas.d.ts +2 -2
  184. package/dist/libraries/orchestrator/src/sagas/trigger-action/index.d.ts +1 -0
  185. package/dist/libraries/orchestrator/src/sagas/trigger-action/sagas.d.ts +3 -0
  186. package/dist/libraries/orchestrator/src/selectors/domain-state/selectors.d.ts +2 -2
  187. package/dist/libraries/orchestrator/src/selectors/index.d.ts +1 -1
  188. package/dist/libraries/plugin-utils/src/translate-config.d.ts +5 -1
  189. package/dist/libraries/saga-utils/src/sagas/handle-variant-action.d.ts +12 -0
  190. package/dist/libraries/saga-utils/src/sagas/index.d.ts +1 -0
  191. package/dist/modules/add-to-cart/src/components/mapped-icons/icon-registry-data.d.ts +10 -0
  192. package/dist/modules/add-to-cart/src/components/mapped-icons/icon-registry.d.ts +9 -0
  193. package/dist/modules/add-to-cart/src/components/mapped-icons/mapped-icon.d.ts +15 -0
  194. package/dist/modules/add-to-cart/src/reducers/index.d.ts +1 -1
  195. package/dist/modules/add-to-cart/src/sagas/cart-service-response/index.d.ts +1 -0
  196. package/dist/modules/add-to-cart/src/sagas/cart-service-response/sagas.d.ts +11 -0
  197. package/dist/modules/add-to-cart/src/sagas/index.d.ts +9 -0
  198. package/dist/modules/add-to-cart/src/selectors/catalogItems/selectors.d.ts +2 -0
  199. package/dist/modules/add-to-cart/src/selectors/index.d.ts +1 -1
  200. package/dist/modules/add-to-cart/src/selectors/offerDataState/index.d.ts +1 -0
  201. package/dist/modules/add-to-cart/src/selectors/{globalOfferDataState → offerDataState}/selectors.d.ts +1 -1
  202. package/dist/modules/instant-purchase/src/actions/device-pay.d.ts +60 -0
  203. package/dist/modules/instant-purchase/src/actions/index.d.ts +2 -0
  204. package/dist/modules/instant-purchase/src/actions/instant-purchase.d.ts +47 -2
  205. package/dist/modules/instant-purchase/src/actions/paypal.d.ts +35 -0
  206. package/dist/modules/instant-purchase/src/channels/channel.d.ts +5 -1
  207. package/dist/modules/instant-purchase/src/components/catalog-device-pay-button/apple-pay-button.d.ts +36 -0
  208. package/dist/modules/instant-purchase/src/components/catalog-device-pay-button/catalog-device-pay-button.d.ts +59 -0
  209. package/dist/modules/instant-purchase/src/components/catalog-device-pay-button/factory.d.ts +2 -0
  210. package/dist/modules/instant-purchase/src/components/catalog-device-pay-button/retryable-device-pay-error.d.ts +1 -0
  211. package/dist/modules/instant-purchase/src/components/catalog-discount-callout-tag/catalog-discount-callout-tag.d.ts +1 -1
  212. package/dist/modules/instant-purchase/src/components/catalog-dropdown/catalog-dropdown.d.ts +6 -0
  213. package/dist/modules/instant-purchase/src/components/catalog-dropdown/dropdown-options-context.d.ts +17 -0
  214. package/dist/modules/instant-purchase/src/components/catalog-dropdown/factory.d.ts +2 -0
  215. package/dist/modules/instant-purchase/src/components/catalog-imagegallery/catalog-gallery-index.d.ts +1 -0
  216. package/dist/modules/instant-purchase/src/components/catalog-imagegallery/catalog-image-gallery.d.ts +6 -0
  217. package/dist/modules/instant-purchase/src/components/catalog-imagegallery/factory.d.ts +2 -0
  218. package/dist/modules/instant-purchase/src/components/catalog-selectors-stacked/catalog-selectors-stacked.d.ts +6 -0
  219. package/dist/modules/instant-purchase/src/components/catalog-selectors-stacked/factory.d.ts +2 -0
  220. package/dist/modules/instant-purchase/src/components/catalog-thumbnail-gallery/catalog-thumbnail-gallery.d.ts +6 -0
  221. package/dist/modules/instant-purchase/src/components/catalog-thumbnail-gallery/factory.d.ts +2 -0
  222. package/dist/modules/instant-purchase/src/components/checkout-state-button-trigger/checkout-state-button-trigger.d.ts +2 -0
  223. package/dist/modules/instant-purchase/src/components/{catalog-image-gallery → escapehatch-catalog-image-gallery}/catalog-image-gallery.d.ts +6 -0
  224. package/dist/modules/instant-purchase/src/components/snackbar/snackbar.d.ts +25 -0
  225. package/dist/modules/instant-purchase/src/constants/device-pay-error.d.ts +4 -0
  226. package/dist/modules/instant-purchase/src/constants/device-pay-providers.d.ts +26 -0
  227. package/dist/modules/instant-purchase/src/constants/index.d.ts +2 -0
  228. package/dist/modules/instant-purchase/src/models/state/device-pay-availability.d.ts +5 -0
  229. package/dist/modules/instant-purchase/src/models/state/index.d.ts +1 -0
  230. package/dist/modules/instant-purchase/src/models/state/instant-purchase.d.ts +68 -1
  231. package/dist/modules/instant-purchase/src/reducers/device-pay-availability/index.d.ts +1 -0
  232. package/dist/modules/instant-purchase/src/reducers/device-pay-availability/reducer.d.ts +4 -0
  233. package/dist/modules/instant-purchase/src/reducers/index.d.ts +15 -2
  234. package/dist/modules/instant-purchase/src/reducers/instant-purchase/index.d.ts +2 -0
  235. package/dist/modules/instant-purchase/src/reducers/instant-purchase/purchase-id/index.d.ts +1 -0
  236. package/dist/modules/instant-purchase/src/reducers/instant-purchase/purchase-id/reducer.d.ts +4 -0
  237. package/dist/modules/instant-purchase/src/reducers/instant-purchase/tax-and-shipping-data-cache/index.d.ts +1 -0
  238. package/dist/modules/instant-purchase/src/reducers/instant-purchase/tax-and-shipping-data-cache/reducer.d.ts +4 -0
  239. package/dist/modules/instant-purchase/src/reducers/paypal-purchase-context/index.d.ts +2 -0
  240. package/dist/modules/instant-purchase/src/reducers/paypal-purchase-context/reducer.d.ts +5 -0
  241. package/dist/modules/instant-purchase/src/reducers/paypal-transaction-details/index.d.ts +2 -0
  242. package/dist/modules/instant-purchase/src/reducers/paypal-transaction-details/reducer.d.ts +5 -0
  243. package/dist/modules/instant-purchase/src/sagas/checkout-lifecycle/sagas.d.ts +1 -1
  244. package/dist/modules/instant-purchase/src/sagas/device-pay/index.d.ts +1 -0
  245. package/dist/modules/instant-purchase/src/sagas/device-pay/sagas.d.ts +116 -0
  246. package/dist/modules/instant-purchase/src/sagas/dismiss-overlay/index.d.ts +1 -0
  247. package/dist/modules/instant-purchase/src/sagas/dismiss-overlay/sagas.d.ts +7 -0
  248. package/dist/modules/instant-purchase/src/sagas/error-codes.d.ts +14 -0
  249. package/dist/modules/instant-purchase/src/sagas/index.d.ts +14 -1
  250. package/dist/modules/instant-purchase/src/sagas/instant-purchase/sagas.d.ts +20 -81
  251. package/dist/modules/instant-purchase/src/sagas/instant-purchase-signals.d.ts +4 -0
  252. package/dist/modules/instant-purchase/src/sagas/layout-events.d.ts +9 -0
  253. package/dist/modules/instant-purchase/src/sagas/offer-engagement.d.ts +3 -0
  254. package/dist/modules/instant-purchase/src/sagas/paypal/index.d.ts +1 -0
  255. package/dist/modules/instant-purchase/src/sagas/paypal/sagas.d.ts +83 -0
  256. package/dist/modules/instant-purchase/src/sagas/tax-and-shipping/index.d.ts +1 -0
  257. package/dist/modules/instant-purchase/src/sagas/tax-and-shipping/sagas.d.ts +50 -0
  258. package/dist/modules/instant-purchase/src/sagas/variant-action-overrides.d.ts +11 -0
  259. package/dist/modules/instant-purchase/src/selectors/creative/index.d.ts +1 -0
  260. package/dist/modules/instant-purchase/src/selectors/creative/selectors.d.ts +5 -0
  261. package/dist/modules/instant-purchase/src/selectors/device-pay-availability/index.d.ts +1 -0
  262. package/dist/modules/instant-purchase/src/selectors/device-pay-availability/selectors.d.ts +13 -0
  263. package/dist/modules/instant-purchase/src/selectors/index.d.ts +4 -0
  264. package/dist/modules/instant-purchase/src/selectors/paypal-transaction-details/index.d.ts +1 -0
  265. package/dist/modules/instant-purchase/src/selectors/paypal-transaction-details/selectors.d.ts +3 -0
  266. package/dist/modules/instant-purchase/src/selectors/tax-and-shipping/index.d.ts +1 -0
  267. package/dist/modules/instant-purchase/src/selectors/tax-and-shipping/selectors.d.ts +3 -0
  268. package/dist/modules/instant-purchase/src/utils/create-tax-and-shipping-cache-key.d.ts +4 -0
  269. package/dist/modules/layouts-xp-sandbox/src/reducers/index.d.ts +1 -1
  270. package/dist/modules/layouts-xp-sandbox/src/sagas/index.d.ts +9 -0
  271. package/dist/modules/layouts-xp-sandbox/src/sagas/offer-engagement/sagas.d.ts +1 -1
  272. package/dist/modules/standard-marketing/src/components/escape-hatch/factory.d.ts +2 -0
  273. package/dist/modules/standard-marketing/src/components/escape-hatch-checkbox/escape-hatch-checkbox.d.ts +28 -0
  274. package/dist/modules/standard-marketing/src/reducers/index.d.ts +1 -1
  275. package/dist/modules/standard-marketing/src/sagas/index.d.ts +9 -0
  276. package/dist/modules/standard-marketing/src/sagas/offer-engagement/sagas.d.ts +3 -3
  277. package/node_modules/@rokt/dcui-layout-schema/dist/schema.d.ts +4694 -117
  278. package/node_modules/@rokt/dcui-layout-schema/dist/schema.js +1 -1
  279. package/node_modules/@rokt/dcui-layout-schema/dist/tsconfig.tsbuildinfo +1 -1
  280. package/node_modules/@rokt/dcui-layout-schema/package.json +1 -1
  281. package/node_modules/@rokt/dcui-layout-schema/v0.1/index.d.ts +953 -29
  282. package/node_modules/@rokt/dcui-layout-schema/v0.1/index.js +1 -1
  283. package/node_modules/@rokt/dcui-layout-schema/v0.10/index.d.ts +1087 -35
  284. package/node_modules/@rokt/dcui-layout-schema/v0.10/index.js +1 -1
  285. package/node_modules/@rokt/dcui-layout-schema/v0.11/index.d.ts +1143 -35
  286. package/node_modules/@rokt/dcui-layout-schema/v0.11/index.js +1 -1
  287. package/node_modules/@rokt/dcui-layout-schema/v0.12/index.d.ts +1147 -35
  288. package/node_modules/@rokt/dcui-layout-schema/v0.12/index.js +1 -1
  289. package/node_modules/@rokt/dcui-layout-schema/v0.13/index.d.ts +1218 -35
  290. package/node_modules/@rokt/dcui-layout-schema/v0.13/index.js +1 -1
  291. package/node_modules/@rokt/dcui-layout-schema/v0.14/index.d.ts +1258 -37
  292. package/node_modules/@rokt/dcui-layout-schema/v0.14/index.js +1 -1
  293. package/node_modules/@rokt/dcui-layout-schema/v0.15/index.d.ts +1272 -38
  294. package/node_modules/@rokt/dcui-layout-schema/v0.15/index.js +1 -1
  295. package/node_modules/@rokt/dcui-layout-schema/v0.16/index.d.ts +1334 -38
  296. package/node_modules/@rokt/dcui-layout-schema/v0.16/index.js +1 -1
  297. package/node_modules/@rokt/dcui-layout-schema/v0.17/index.d.ts +1353 -39
  298. package/node_modules/@rokt/dcui-layout-schema/v0.17/index.js +1 -1
  299. package/node_modules/@rokt/dcui-layout-schema/v0.18/index.d.ts +1406 -39
  300. package/node_modules/@rokt/dcui-layout-schema/v0.18/index.js +1 -1
  301. package/node_modules/@rokt/dcui-layout-schema/v0.19/index.d.ts +1407 -39
  302. package/node_modules/@rokt/dcui-layout-schema/v0.19/index.js +1 -1
  303. package/node_modules/@rokt/dcui-layout-schema/v0.2/index.d.ts +1013 -33
  304. package/node_modules/@rokt/dcui-layout-schema/v0.2/index.js +1 -1
  305. package/node_modules/@rokt/dcui-layout-schema/v0.20/index.d.ts +1439 -39
  306. package/node_modules/@rokt/dcui-layout-schema/v0.20/index.js +1 -1
  307. package/node_modules/@rokt/dcui-layout-schema/v0.21/index.d.ts +1482 -39
  308. package/node_modules/@rokt/dcui-layout-schema/v0.21/index.js +1 -1
  309. package/node_modules/@rokt/dcui-layout-schema/v0.22/index.d.ts +1512 -39
  310. package/node_modules/@rokt/dcui-layout-schema/v0.22/index.js +1 -1
  311. package/node_modules/@rokt/dcui-layout-schema/v0.23/index.d.ts +1522 -40
  312. package/node_modules/@rokt/dcui-layout-schema/v0.23/index.js +1 -1
  313. package/node_modules/@rokt/dcui-layout-schema/v0.3/index.d.ts +1013 -33
  314. package/node_modules/@rokt/dcui-layout-schema/v0.3/index.js +1 -1
  315. package/node_modules/@rokt/dcui-layout-schema/v0.4/index.d.ts +1041 -33
  316. package/node_modules/@rokt/dcui-layout-schema/v0.4/index.js +1 -1
  317. package/node_modules/@rokt/dcui-layout-schema/v0.5/index.d.ts +1065 -33
  318. package/node_modules/@rokt/dcui-layout-schema/v0.5/index.js +1 -1
  319. package/node_modules/@rokt/dcui-layout-schema/v0.6/index.d.ts +1065 -33
  320. package/node_modules/@rokt/dcui-layout-schema/v0.6/index.js +1 -1
  321. package/node_modules/@rokt/dcui-layout-schema/v0.7/index.d.ts +1066 -33
  322. package/node_modules/@rokt/dcui-layout-schema/v0.7/index.js +1 -1
  323. package/node_modules/@rokt/dcui-layout-schema/v0.8/index.d.ts +1069 -33
  324. package/node_modules/@rokt/dcui-layout-schema/v0.8/index.js +1 -1
  325. package/node_modules/@rokt/dcui-layout-schema/v0.9/index.d.ts +1070 -33
  326. package/node_modules/@rokt/dcui-layout-schema/v0.9/index.js +1 -1
  327. package/node_modules/@rokt/dcui-layout-schema/v1.0/index.d.ts +1827 -59
  328. package/node_modules/@rokt/dcui-layout-schema/v1.0/index.js +1 -1
  329. package/node_modules/@rokt/dcui-layout-schema/v1.1/index.d.ts +1851 -59
  330. package/node_modules/@rokt/dcui-layout-schema/v1.1/index.js +1 -1
  331. package/node_modules/@rokt/dcui-layout-schema/v1.10/index.d.ts +5322 -0
  332. package/node_modules/@rokt/dcui-layout-schema/v1.10/index.js +4 -0
  333. package/node_modules/@rokt/dcui-layout-schema/v1.11/index.d.ts +5486 -0
  334. package/node_modules/@rokt/dcui-layout-schema/v1.11/index.js +4 -0
  335. package/node_modules/@rokt/dcui-layout-schema/v1.12/index.d.ts +5496 -0
  336. package/node_modules/@rokt/dcui-layout-schema/v1.12/index.js +4 -0
  337. package/node_modules/@rokt/dcui-layout-schema/v1.13/index.d.ts +5498 -0
  338. package/node_modules/@rokt/dcui-layout-schema/v1.13/index.js +4 -0
  339. package/node_modules/@rokt/dcui-layout-schema/v1.14/index.d.ts +5828 -0
  340. package/node_modules/@rokt/dcui-layout-schema/v1.14/index.js +4 -0
  341. package/node_modules/@rokt/dcui-layout-schema/v1.15/index.d.ts +6085 -0
  342. package/node_modules/@rokt/dcui-layout-schema/v1.15/index.js +4 -0
  343. package/node_modules/@rokt/dcui-layout-schema/v1.16/index.d.ts +6324 -0
  344. package/node_modules/@rokt/dcui-layout-schema/v1.16/index.js +4 -0
  345. package/node_modules/@rokt/dcui-layout-schema/v1.17/index.d.ts +6439 -0
  346. package/node_modules/@rokt/dcui-layout-schema/v1.17/index.js +4 -0
  347. package/node_modules/@rokt/dcui-layout-schema/v1.18/index.d.ts +6439 -0
  348. package/node_modules/@rokt/dcui-layout-schema/v1.18/index.js +4 -0
  349. package/node_modules/@rokt/dcui-layout-schema/v1.19/index.d.ts +6439 -0
  350. package/node_modules/@rokt/dcui-layout-schema/v1.19/index.js +4 -0
  351. package/node_modules/@rokt/dcui-layout-schema/v1.2/index.d.ts +1861 -59
  352. package/node_modules/@rokt/dcui-layout-schema/v1.2/index.js +1 -1
  353. package/node_modules/@rokt/dcui-layout-schema/v1.20/index.d.ts +6558 -0
  354. package/node_modules/@rokt/dcui-layout-schema/v1.20/index.js +4 -0
  355. package/node_modules/@rokt/dcui-layout-schema/v1.3/index.d.ts +1948 -59
  356. package/node_modules/@rokt/dcui-layout-schema/v1.3/index.js +1 -1
  357. package/node_modules/@rokt/dcui-layout-schema/v1.4/index.d.ts +2115 -60
  358. package/node_modules/@rokt/dcui-layout-schema/v1.4/index.js +1 -1
  359. package/node_modules/@rokt/dcui-layout-schema/v1.5/index.d.ts +2137 -60
  360. package/node_modules/@rokt/dcui-layout-schema/v1.5/index.js +1 -1
  361. package/node_modules/@rokt/dcui-layout-schema/v1.6/index.d.ts +2308 -60
  362. package/node_modules/@rokt/dcui-layout-schema/v1.6/index.js +1 -1
  363. package/node_modules/@rokt/dcui-layout-schema/v1.7/index.d.ts +2578 -68
  364. package/node_modules/@rokt/dcui-layout-schema/v1.7/index.js +1 -1
  365. package/node_modules/@rokt/dcui-layout-schema/v1.8/index.d.ts +2680 -68
  366. package/node_modules/@rokt/dcui-layout-schema/v1.8/index.js +1 -1
  367. package/node_modules/@rokt/dcui-layout-schema/v1.9/index.d.ts +5222 -0
  368. package/node_modules/@rokt/dcui-layout-schema/v1.9/index.js +4 -0
  369. package/node_modules/@rokt/partner-integration/README.md +85 -0
  370. package/node_modules/@rokt/partner-integration/dist/cart/index.barrel.d.ts +2 -0
  371. package/node_modules/@rokt/partner-integration/dist/cart/index.d.ts +3 -0
  372. package/node_modules/@rokt/partner-integration/dist/cart/v1/delete-alert-partner-message-body.d.ts +7 -0
  373. package/node_modules/@rokt/partner-integration/dist/cart/v1/events.d.ts +23 -0
  374. package/node_modules/@rokt/partner-integration/dist/cart/v1/index.d.ts +5 -0
  375. package/node_modules/@rokt/partner-integration/dist/cart/v1/update-cart-item.d.ts +48 -0
  376. package/node_modules/@rokt/partner-integration/dist/cart/v1/upsert-alert-partner-message-body.d.ts +15 -0
  377. package/node_modules/@rokt/partner-integration/dist/cart/v1/upsert-delivery-details-message-body.d.ts +12 -0
  378. package/node_modules/@rokt/partner-integration/dist/cart/v2/cart-item-updated-placement-message-body.d.ts +48 -0
  379. package/node_modules/@rokt/partner-integration/dist/cart/v2/index.d.ts +4 -0
  380. package/node_modules/@rokt/partner-integration/dist/cart/v2/partner-message.d.ts +8 -0
  381. package/node_modules/@rokt/partner-integration/dist/cart/v2/placement-message.d.ts +10 -0
  382. package/node_modules/@rokt/partner-integration/dist/cart/v2/update-cart-item-partner-message-body.d.ts +4 -0
  383. package/node_modules/@rokt/partner-integration/dist/core/events.d.ts +45 -0
  384. package/node_modules/@rokt/partner-integration/dist/core/index.d.ts +1 -0
  385. package/node_modules/@rokt/partner-integration/dist/delivery-details/delivery-details.d.ts +20 -0
  386. package/node_modules/@rokt/partner-integration/dist/delivery-details/index.barrel.d.ts +2 -0
  387. package/node_modules/@rokt/partner-integration/dist/delivery-details/index.d.ts +2 -0
  388. package/node_modules/@rokt/partner-integration/dist/delivery-details/placement-message.d.ts +10 -0
  389. package/node_modules/@rokt/partner-integration/dist/extensions/extension-mapping.d.ts +9 -0
  390. package/node_modules/@rokt/partner-integration/dist/extensions/extension.d.ts +6 -0
  391. package/node_modules/@rokt/partner-integration/dist/extensions/index.barrel.d.ts +2 -0
  392. package/node_modules/@rokt/partner-integration/dist/extensions/index.d.ts +2 -0
  393. package/node_modules/@rokt/partner-integration/dist/index.d.ts +11 -0
  394. package/node_modules/@rokt/partner-integration/dist/index.js +1 -0
  395. package/node_modules/@rokt/partner-integration/dist/instant-purchase/cart-item-instant-purchase-message-body.d.ts +6 -0
  396. package/node_modules/@rokt/partner-integration/dist/instant-purchase/cart-item-instant-purchase-response-message-body.d.ts +11 -0
  397. package/node_modules/@rokt/partner-integration/dist/instant-purchase/index.barrel.d.ts +5 -0
  398. package/node_modules/@rokt/partner-integration/dist/instant-purchase/index.d.ts +2 -0
  399. package/node_modules/@rokt/partner-integration/dist/instant-purchase/partner-message.d.ts +8 -0
  400. package/node_modules/@rokt/partner-integration/dist/instant-purchase/placement-message.d.ts +9 -0
  401. package/node_modules/@rokt/partner-integration/dist/instant-purchase/v2/index.barrel.d.ts +5 -0
  402. package/node_modules/@rokt/partner-integration/dist/instant-purchase/v2/index.d.ts +1 -0
  403. package/node_modules/@rokt/partner-integration/dist/instant-purchase/v2/partner-message.d.ts +8 -0
  404. package/node_modules/@rokt/partner-integration/dist/instant-purchase/v2/placement-message.d.ts +9 -0
  405. package/node_modules/@rokt/partner-integration/dist/instant-purchase/v2/upsell-item-instant-purchase-message-body.d.ts +8 -0
  406. package/node_modules/@rokt/partner-integration/dist/instant-purchase/v2/upsell-item-instant-purchase-response-message-body.d.ts +11 -0
  407. package/node_modules/@rokt/partner-integration/dist/instant-purchase/v2/upsell-item.d.ts +26 -0
  408. package/node_modules/@rokt/partner-integration/dist/journey/index.barrel.d.ts +1 -0
  409. package/node_modules/@rokt/partner-integration/dist/journey/index.d.ts +2 -0
  410. package/node_modules/@rokt/partner-integration/dist/journey/journey-extension.d.ts +39 -0
  411. package/node_modules/@rokt/partner-integration/dist/link-navigation/index.d.ts +2 -0
  412. package/node_modules/@rokt/partner-integration/dist/link-navigation/link-navigation-message.d.ts +9 -0
  413. package/node_modules/@rokt/partner-integration/dist/link-navigation/link-navigation-request-body.d.ts +3 -0
  414. package/node_modules/@rokt/partner-integration/dist/partner-validation/events.d.ts +17 -0
  415. package/node_modules/@rokt/partner-integration/dist/partner-validation/index.barrel.d.ts +4 -0
  416. package/node_modules/@rokt/partner-integration/dist/partner-validation/index.d.ts +2 -0
  417. package/node_modules/@rokt/partner-integration/dist/partner-validation/partner-validation-extension.d.ts +7 -0
  418. package/node_modules/@rokt/partner-integration/dist/partner-validation/partner-validation-status.d.ts +10 -0
  419. package/node_modules/@rokt/partner-integration/dist/partner-validation/set-partner-validation-status.d.ts +12 -0
  420. package/node_modules/@rokt/partner-integration/dist/promotions-extension/index.d.ts +2 -0
  421. package/node_modules/@rokt/partner-integration/dist/promotions-extension/realtime-conversion-promotion-events.d.ts +6 -0
  422. package/node_modules/@rokt/partner-integration/dist/promotions-extension/realtime-conversion-promotion-payload.d.ts +1 -0
  423. package/node_modules/@rokt/partner-integration/dist/thank-you-page/index.barrel.d.ts +1 -0
  424. package/node_modules/@rokt/partner-integration/dist/thank-you-page/index.d.ts +2 -0
  425. package/node_modules/@rokt/partner-integration/dist/thank-you-page/thank-you-page-extension.d.ts +22 -0
  426. package/node_modules/@rokt/partner-integration/dist/upsells-offers/index.barrel.d.ts +5 -0
  427. package/node_modules/@rokt/partner-integration/dist/upsells-offers/index.d.ts +2 -0
  428. package/node_modules/@rokt/partner-integration/dist/upsells-offers/partner-message.d.ts +9 -0
  429. package/node_modules/@rokt/partner-integration/dist/upsells-offers/placement-message.d.ts +21 -0
  430. package/node_modules/@rokt/partner-integration/dist/upsells-offers/upsell-creative-sent-message-body.d.ts +14 -0
  431. package/node_modules/@rokt/partner-integration/dist/upsells-offers/upsells-offer.d.ts +35 -0
  432. package/node_modules/@rokt/partner-integration/dist/upsells-offers/upsells-offers-sent-body.d.ts +11 -0
  433. package/node_modules/@rokt/partner-integration/dist/user-action/index.barrel.d.ts +2 -0
  434. package/node_modules/@rokt/partner-integration/dist/user-action/index.d.ts +2 -0
  435. package/node_modules/@rokt/partner-integration/dist/user-action/user-action-event.d.ts +11 -0
  436. package/node_modules/@rokt/partner-integration/dist/user-action/user-action-extension.d.ts +4 -0
  437. package/node_modules/@rokt/partner-integration/package.json +34 -0
  438. package/node_modules/@rokt/plugin/bootstrap/bootstrap.d.ts +1 -2
  439. package/node_modules/@rokt/plugin/bootstrap/bootstrap.js +5 -30
  440. package/node_modules/@rokt/plugin/interface/context.d.ts +1 -0
  441. package/node_modules/@rokt/plugin/interface/display.d.ts +1 -0
  442. package/node_modules/@rokt/plugin/lib/index.barrel.d.ts +1 -14
  443. package/node_modules/@rokt/plugin/lib/index.barrel.js +1 -14
  444. package/node_modules/@rokt/plugin/lib/is-preload-frame.d.ts +1 -1
  445. package/node_modules/@rokt/plugin/lib/is-preload-frame.js +3 -1
  446. package/node_modules/@rokt/plugin/lib/plugin-instance.d.ts +13 -27
  447. package/node_modules/@rokt/plugin/lib/plugin-instance.js +1 -99
  448. package/node_modules/@rokt/plugin/package.json +15 -16
  449. package/node_modules/@rokt/plugin/standalone/standalone.d.ts +14 -2
  450. package/node_modules/@rokt/plugin/standalone/standalone.js +1 -0
  451. package/node_modules/@rokt/plugin/testing/mock-child-plugin-factory.d.ts +1 -1
  452. package/node_modules/@rokt/plugin/testing/mock-child-plugin-factory.js +2 -1
  453. package/node_modules/@rokt/plugin/testing/mock-child-plugin.d.ts +5 -5
  454. package/node_modules/@rokt/plugin/testing/mock-child-plugin.js +6 -5
  455. package/node_modules/@rokt/plugin/testing/mock-context.d.ts +18 -17
  456. package/node_modules/@rokt/plugin/testing/mock-context.js +19 -17
  457. package/node_modules/@rokt/plugin/testing/mock-display.d.ts +1 -1
  458. package/node_modules/@rokt/plugin/testing/mock-display.js +2 -1
  459. package/node_modules/@rokt/plugin/testing/mock-engine.d.ts +1 -2
  460. package/node_modules/@rokt/plugin/testing/mock-error.d.ts +1 -1
  461. package/node_modules/@rokt/plugin/testing/mock-error.js +2 -1
  462. package/node_modules/@rokt/plugin/testing/mock-function.d.ts +1 -0
  463. package/node_modules/@rokt/plugin/testing/mock-function.js +31 -0
  464. package/node_modules/@rokt/plugin/testing/mock-metrics.d.ts +4 -4
  465. package/node_modules/@rokt/plugin/testing/mock-metrics.js +5 -4
  466. package/node_modules/@rokt/plugin/testing/mock-parent-interaction.d.ts +2 -2
  467. package/node_modules/@rokt/plugin/testing/mock-parent-interaction.js +3 -2
  468. package/node_modules/@rokt/plugin/testing/mock-partner-interaction.d.ts +2 -2
  469. package/node_modules/@rokt/plugin/testing/mock-partner-interaction.js +3 -2
  470. package/node_modules/@rokt/plugin/testing/mock-rdn.d.ts +3 -3
  471. package/node_modules/@rokt/plugin/testing/mock-rdn.js +4 -3
  472. package/node_modules/@rokt/plugin/types/library-loaded.d.ts +0 -2
  473. package/node_modules/@rokt/plugin/types/library-loaded.js +0 -2
  474. package/package.json +8 -7
  475. package/node_modules/@rokt/plugin/lib/bootstrap-v1.d.ts +0 -3
  476. package/node_modules/@rokt/plugin/lib/bootstrap-v1.js +0 -9
  477. package/node_modules/@rokt/plugin/lib/child-plugin-factory.d.ts +0 -14
  478. package/node_modules/@rokt/plugin/lib/child-plugin-factory.js +0 -12
  479. package/node_modules/@rokt/plugin/lib/child-plugin.d.ts +0 -26
  480. package/node_modules/@rokt/plugin/lib/child-plugin.js +0 -81
  481. package/node_modules/@rokt/plugin/lib/context.d.ts +0 -23
  482. package/node_modules/@rokt/plugin/lib/context.js +0 -95
  483. package/node_modules/@rokt/plugin/lib/debug.d.ts +0 -19
  484. package/node_modules/@rokt/plugin/lib/debug.js +0 -36
  485. package/node_modules/@rokt/plugin/lib/display.d.ts +0 -13
  486. package/node_modules/@rokt/plugin/lib/display.js +0 -81
  487. package/node_modules/@rokt/plugin/lib/error.d.ts +0 -9
  488. package/node_modules/@rokt/plugin/lib/error.js +0 -35
  489. package/node_modules/@rokt/plugin/lib/is-inside-plugin-container.d.ts +0 -8
  490. package/node_modules/@rokt/plugin/lib/is-inside-plugin-container.js +0 -6
  491. package/node_modules/@rokt/plugin/lib/metrics.d.ts +0 -13
  492. package/node_modules/@rokt/plugin/lib/metrics.js +0 -55
  493. package/node_modules/@rokt/plugin/lib/parent-interaction.d.ts +0 -13
  494. package/node_modules/@rokt/plugin/lib/parent-interaction.js +0 -46
  495. package/node_modules/@rokt/plugin/lib/partner-interaction.d.ts +0 -11
  496. package/node_modules/@rokt/plugin/lib/partner-interaction.js +0 -35
  497. package/node_modules/@rokt/plugin/lib/plugin-runtime-connection.d.ts +0 -6
  498. package/node_modules/@rokt/plugin/lib/plugin-runtime-connection.js +0 -35
  499. package/node_modules/@rokt/plugin/lib/private-context.d.ts +0 -39
  500. package/node_modules/@rokt/plugin/lib/private-context.js +0 -76
  501. package/node_modules/@rokt/plugin/lib/rdn.d.ts +0 -15
  502. package/node_modules/@rokt/plugin/lib/rdn.js +0 -58
  503. package/node_modules/@rokt/plugin/lib/sender-receiver.d.ts +0 -5
  504. package/node_modules/@rokt/plugin/lib/sender-receiver.js +0 -1
  505. package/node_modules/@rokt/plugin/lib/theme.d.ts +0 -8
  506. package/node_modules/@rokt/plugin/lib/theme.js +0 -8
  507. package/node_modules/@rokt/plugin/lib/to-observable.d.ts +0 -4
  508. package/node_modules/@rokt/plugin/lib/to-observable.js +0 -12
  509. package/node_modules/@rokt/plugin/lib/unsafe.d.ts +0 -3
  510. package/node_modules/@rokt/plugin/lib/unsafe.js +0 -2
  511. package/node_modules/@rokt/plugin/lib/with-error-reporting.d.ts +0 -2
  512. package/node_modules/@rokt/plugin/lib/with-error-reporting.js +0 -22
  513. /package/dist/libraries/{layout-renderer-utils → dcui-components}/src/components/close-button/close-button.d.ts +0 -0
  514. /package/dist/libraries/{layout-renderer-utils → dcui-components}/src/components/close-button/index.d.ts +0 -0
  515. /package/dist/{modules/add-to-cart/src/selectors/globalOfferDataState → libraries/layout-renderer-utils/src/selectors/fired-events}/index.d.ts +0 -0
  516. /package/dist/modules/instant-purchase/src/components/{catalog-drop-down → escapehatch-catalog-drop-down}/catalog-drop-down.d.ts +0 -0
  517. /package/dist/modules/instant-purchase/src/components/{catalog-image-gallery → escapehatch-catalog-image-gallery}/constants.d.ts +0 -0
@@ -0,0 +1,24 @@
1
+ import { ActionButtonModel, LayoutAction, NonInteractableChildren, WhenPredicate } from '@rokt/dcui-layout-schema';
2
+ export interface ActionButtonProps {
3
+ /**
4
+ * - `actions`: LayoutActions dispatched when pressed and validation passes.
5
+ * - `validates`: form/field keys to validate before dispatching. A bare form
6
+ * key validates all of its fields; a dot-notation key validates one field.
7
+ * - `a11yLabel`: accessibility label for screen readers.
8
+ * - `children`: nodes rendered inside the button (e.g. BasicText label).
9
+ * - `styles`:
10
+ * * `elements`:
11
+ * - `own`: `container`, `dimension`, `flexChild`, `spacing`,
12
+ * `background`, `border`
13
+ */
14
+ schema: ActionButtonModel<NonInteractableChildren, LayoutAction, WhenPredicate>;
15
+ testId?: string;
16
+ }
17
+ /**
18
+ * A pressable container that dispatches one or more LayoutActions, optionally
19
+ * gated on form validation. When `validates` is provided, validation runs
20
+ * first: error states are applied and, if any field is invalid, actions are not
21
+ * dispatched.<br>
22
+ * *Where can we use this: __outer layout__, __layout variant__*
23
+ */
24
+ export declare function ActionButton(props: ActionButtonProps): JSX.Element;
@@ -0,0 +1,2 @@
1
+ import { LayoutSchemaModel } from '@rokt/dcui-layout-schema';
2
+ export declare function tryMakeActionButton(schema: LayoutSchemaModel, testId?: string): JSX.Element | void;
@@ -0,0 +1,2 @@
1
+ export * from './action-button';
2
+ export * from './factory';
@@ -0,0 +1,7 @@
1
+ import { EmblaCarouselType } from 'embla-carousel';
2
+ export declare function useCarouselScrollSignals(options: {
3
+ emblaApi?: EmblaCarouselType;
4
+ parentGuid: string;
5
+ catalogLength: number;
6
+ context: string;
7
+ }): void;
@@ -1,2 +1,2 @@
1
1
  import { LayoutSchemaModel } from '@rokt/dcui-layout-schema';
2
- export declare function tryMakeCloseButton(schema: LayoutSchemaModel): JSX.Element | undefined;
2
+ export declare function tryMakeCloseButton(schema: LayoutSchemaModel, testId?: string): JSX.Element | undefined;
@@ -0,0 +1,31 @@
1
+ import { FormStatesState } from '../../../../domain/src/models';
2
+ import { ExtendableDataMapper } from './data-mapper';
3
+ /**
4
+ * Projects runtime form state into the shape consumed by string templates.
5
+ * Only `value` and `error` are exposed (the only field state meaningful as
6
+ * rendered text), producing `STATE.form.<formKey>.<fieldKey>.value` and
7
+ * `.error` keys when bound under the `form` namespace. Boolean states like
8
+ * validity are intentionally omitted — those are conditional-rendering
9
+ * concerns handled by the FormState When predicate — and inactive tombstones
10
+ * (fields whose inputs are all unmounted) are excluded entirely.
11
+ *
12
+ * NOTE for template authors: per the data mapper's established semantics, an
13
+ * EMPTY value collapses the whole containing string — `'Code:
14
+ * %^STATE.form.F.code.value^%'` renders as '' (prefix included) while the
15
+ * field is empty, which is every field's initial state. Append the `|`
16
+ * fallback (`%^STATE.form.F.code.value|^%`) to keep the surrounding text and
17
+ * substitute nothing.
18
+ */
19
+ export declare function projectFormStateForTemplates(formStates: FormStatesState): Record<string, Record<string, {
20
+ value: string;
21
+ error: string;
22
+ }>>;
23
+ /**
24
+ * Extends a data mapper so `%^STATE.form.<formKey>.<fieldKey>.value|.error^%`
25
+ * templates resolve against the given form state. The single binding point for
26
+ * every renderer (outer layout, layout variant, child layout) so the template
27
+ * namespace and projection shape cannot diverge between them. Note the
28
+ * namespace argument is a key *prefix*: the projection must NOT be nested
29
+ * under an extra `form` key or templates would resolve at `STATE.form.form.*`.
30
+ */
31
+ export declare function extendDataMapperWithFormStates(dataMapper: ExtendableDataMapper, formStates: FormStatesState): ExtendableDataMapper;
@@ -1,5 +1,6 @@
1
1
  import { transformLinksToAnchorText } from './utils';
2
2
  export * from './data-mapper';
3
+ export * from './form-state-projection';
3
4
  export declare const DataMapperUtils: {
4
5
  transformLinksToAnchorText: typeof transformLinksToAnchorText;
5
6
  };
@@ -1,12 +1,13 @@
1
1
  import React, { PropsWithChildren } from 'react';
2
2
  import { ExtensionLocator } from './models';
3
+ import { PluginService } from '../../../../plugin-utils/src/index';
3
4
  export type ExtendStoreFn = (storeExtension: StoreExtension) => void;
4
5
  export type StoreExtension = {
5
6
  name: string;
6
7
  reducer?: Record<string, <State extends object, Action extends {
7
8
  type: string;
8
9
  }>(state: State, action: Action) => State>;
9
- sagas?: () => Generator;
10
+ sagas?: (partnerInteractionService: Pick<PluginService<unknown>, 'partnerInteractionService'>) => Generator;
10
11
  interceptors?: Partial<Record<string, (input: {
11
12
  type: string;
12
13
  payload: unknown;
@@ -1,7 +1,8 @@
1
+ import { PluginService } from '../../../../plugin-utils/src/index';
1
2
  export type AppExtension = {
2
3
  name: string;
3
4
  componentFactory: (body: null | object) => JSX.Element;
4
- sagas?: () => Generator;
5
+ sagas?: (partnerInteractionService: Pick<PluginService<unknown>, 'partnerInteractionService'>) => Generator;
5
6
  reducer?: Record<string, <State extends object, Action extends {
6
7
  type: string;
7
8
  }>(state: State, action: Action) => State>;
@@ -0,0 +1,2 @@
1
+ import { LayoutSchemaModel } from '@rokt/dcui-layout-schema';
2
+ export declare function tryMakeForm(schema: LayoutSchemaModel, testId?: string): JSX.Element | void;
@@ -0,0 +1,24 @@
1
+ import { FormModel, LayoutSchemaModel, WhenPredicate } from '@rokt/dcui-layout-schema';
2
+ export interface FormProps {
3
+ /**
4
+ * - `formKey`: unique key identifying this form's state scope. All TextInput
5
+ * descendants write to `STATE.form.<formKey>.<fieldKey>`.
6
+ * - `validationMode`: when field validation triggers — `on-submit` (default)
7
+ * or `on-change`.
8
+ * - `children`: any layout nodes (typically TextInputs, error `When` blocks
9
+ * and an ActionButton).
10
+ * - `styles`:
11
+ * * `elements`:
12
+ * - `own`: `container`, `dimension`, `flexChild`, `spacing`,
13
+ * `background`, `border`
14
+ */
15
+ schema: FormModel<LayoutSchemaModel, WhenPredicate>;
16
+ testId?: string;
17
+ }
18
+ /**
19
+ * The Form is a non-visual-by-default container that scopes form state under a
20
+ * unique `formKey`. It provides the FormContext consumed by descendant
21
+ * TextInputs and renders its children as a flex column.<br>
22
+ * *Where can we use this: __outer layout__, __layout variant__*
23
+ */
24
+ export declare function Form(props: FormProps): JSX.Element;
@@ -0,0 +1,2 @@
1
+ export * from './form';
2
+ export * from './factory';
@@ -25,3 +25,8 @@ export * from './catalog-quantity-option';
25
25
  export * from './catalog-stacked-collection';
26
26
  export * from './child-layout-handler';
27
27
  export * from './copy-to-clipboard-button';
28
+ export * from './close-button';
29
+ export * from './layout-timer';
30
+ export * from './form';
31
+ export * from './text-input';
32
+ export * from './action-button';
@@ -0,0 +1,5 @@
1
+ export { LayoutTimer } from './layout-timer';
2
+ export type { LayoutTimerProps, VariantTimer, OuterTimer } from './layout-timer';
3
+ export { useLayoutTimer } from './use-layout-timer';
4
+ export { useLayoutActionDispatch } from './use-timer-action-dispatch';
5
+ export { TimerCountdownProvider } from './timer-countdown-provider';
@@ -0,0 +1,7 @@
1
+ import { LayoutTimer as LayoutTimerSchema, LayoutVariantAction, LayoutVariantWhenPredicate, OuterLayoutAction, OuterLayoutWhenPredicate } from '@rokt/dcui-layout-schema';
2
+ export type VariantTimer = LayoutTimerSchema<LayoutVariantWhenPredicate, LayoutVariantAction>;
3
+ export type OuterTimer = LayoutTimerSchema<OuterLayoutWhenPredicate, OuterLayoutAction>;
4
+ export interface LayoutTimerProps {
5
+ timer: VariantTimer | OuterTimer;
6
+ }
7
+ export declare function LayoutTimer({ timer }: LayoutTimerProps): null;
@@ -0,0 +1,8 @@
1
+ import { PropsWithChildren } from 'react';
2
+ interface TimerCountdownRegister {
3
+ register: (key: string, duration: number) => void;
4
+ unregister: (key: string) => void;
5
+ }
6
+ export declare const useTimerCountdownRegister: () => TimerCountdownRegister;
7
+ export declare function TimerCountdownProvider({ children }: PropsWithChildren): import("react/jsx-runtime").JSX.Element;
8
+ export {};
@@ -0,0 +1,11 @@
1
+ import { WhenPredicate } from '@rokt/dcui-layout-schema';
2
+ interface UseLayoutTimerProps {
3
+ key: string;
4
+ startTrigger: Array<WhenPredicate>;
5
+ clearTrigger: Array<WhenPredicate>;
6
+ duration: number;
7
+ repeatable?: boolean;
8
+ onExpire: () => void;
9
+ }
10
+ export declare function useLayoutTimer({ key, startTrigger, clearTrigger, duration, repeatable, onExpire, }: UseLayoutTimerProps): void;
11
+ export {};
@@ -0,0 +1,9 @@
1
+ import { LayoutVariantAction } from '@rokt/dcui-layout-schema';
2
+ /**
3
+ * Returns a dispatcher that fires a single LayoutAction through the
4
+ * TRIGGER_ACTION global behavior. The handleVariantAction saga resolves each
5
+ * action variant (Close, SetCustomState, CreativeResponse, CatalogResponse) to
6
+ * its concrete behavior, with offer + position context attached. Shared by the
7
+ * LayoutTimer and ActionButton nodes.
8
+ */
9
+ export declare function useLayoutActionDispatch(): (layoutAction: LayoutVariantAction) => void;
@@ -12,6 +12,7 @@ export interface RichTextProps {
12
12
  * - `styles`:
13
13
  * * `elements`:
14
14
  * - `own`:
15
+ * * `container` (exposes `scrollMask` for the constrained-height "show more" pattern)
15
16
  * * `dimension`
16
17
  * * `flexChild`
17
18
  * * `spacing`
@@ -26,6 +27,7 @@ export interface RichTextProps {
26
27
  * * `duration`: number
27
28
  * * `value`:
28
29
  * - `own`:
30
+ * * `container`
29
31
  * * `dimension`
30
32
  * * `flexChild`
31
33
  * * `spacing`
@@ -25,7 +25,7 @@ export interface ScrollableColumnProps {
25
25
  * - `styles`:
26
26
  * * `elements`:
27
27
  * - `own`:
28
- * * `container`
28
+ * * `container` (includes `overflow` clipping and `scrollMask` edge gradient)
29
29
  * * `dimension`
30
30
  * * `flexChild`
31
31
  * * `spacing`
@@ -25,7 +25,7 @@ export interface ScrollableRowProps {
25
25
  * - `styles`:
26
26
  * * `elements`:
27
27
  * - `own`:
28
- * * `container`
28
+ * * `container` (includes `overflow` clipping and `scrollMask` edge gradient)
29
29
  * * `dimension`
30
30
  * * `flexChild`
31
31
  * * `spacing`
@@ -1,2 +1,3 @@
1
1
  import { Emotion } from '@emotion/css/create-instance';
2
2
  export declare function getCssWriter(pluginId?: string, index?: number, container?: Node): Emotion['css'];
3
+ export declare function getCxWriter(pluginId?: string, index?: number, container?: Node): Emotion['cx'];
@@ -11,3 +11,4 @@ export * from './shadow-transformer';
11
11
  export * from './blur-transformer';
12
12
  export * from './rotate-transformer';
13
13
  export * from './font-family-transform';
14
+ export * from './scroll-mask-transformer';
@@ -0,0 +1,8 @@
1
+ /**
2
+ * Scroll-mask gradient depends on runtime scroll position (atStart /
3
+ * atEnd) and is therefore owned by the component via
4
+ * `useScrollMaskVisibility`, which writes `mask-image` inline. The
5
+ * transformer here is a validating no-op — it ensures layouts cannot
6
+ * supply a malformed `container.scrollMask` object without emitting CSS.
7
+ */
8
+ export declare function scrollMaskTransformer(_categoryKey: 'container', _propertyKey: 'scrollMask', value: unknown): string;
@@ -1,4 +1,4 @@
1
- import { BackgroundStylingProperties, BorderStylingProperties, ContainerStylingProperties, DimensionStylingProperties, FlexChildStylingProperties, SpacingStylingProperties, TextStylingProperties, LayoutStyle, BasicStateStylingBlock, StatelessStylingBlock, ConditionalStyleTransition } from '@rokt/dcui-layout-schema';
1
+ import { BackgroundStylingProperties, BorderStylingProperties, ContainerStylingProperties, DimensionStylingProperties, FlexChildStylingProperties, SpacingStylingProperties, TextStylingProperties, LayoutStyle, BasicStateStylingBlock, StatelessStylingBlock, ErrorableStateStylingBlock, ConditionalStyleTransition } from '@rokt/dcui-layout-schema';
2
2
  export type AnyStyleProperty = {
3
3
  dimension?: null | DimensionStylingProperties;
4
4
  flexChild?: null | FlexChildStylingProperties;
@@ -8,7 +8,7 @@ export type AnyStyleProperty = {
8
8
  border?: null | BorderStylingProperties;
9
9
  container?: null | ContainerStylingProperties;
10
10
  };
11
- export type StyleBlockDefinition<NodeStyles> = BasicStateStylingBlock<NodeStyles> | StatelessStylingBlock<NodeStyles>;
11
+ export type StyleBlockDefinition<NodeStyles> = BasicStateStylingBlock<NodeStyles> | StatelessStylingBlock<NodeStyles> | ErrorableStateStylingBlock<NodeStyles>;
12
12
  type NonNullableProperty<T> = {
13
13
  [P in keyof T]: NonNullable<T[P]>;
14
14
  };
@@ -0,0 +1,2 @@
1
+ import { LayoutSchemaModel } from '@rokt/dcui-layout-schema';
2
+ export declare function tryMakeTextInput(schema: LayoutSchemaModel, testId?: string): JSX.Element | void;
@@ -0,0 +1,2 @@
1
+ export * from './text-input';
2
+ export * from './factory';
@@ -0,0 +1,23 @@
1
+ import { TextInputModel, WhenPredicate } from '@rokt/dcui-layout-schema';
2
+ export interface TextInputProps {
3
+ /**
4
+ * - `fieldKey`: unique key identifying this field within its parent Form.
5
+ * - `inputType`: controls keyboard behaviour/masking. Defaults to `text`.
6
+ * - `placeholder`: placeholder text (supports data binding).
7
+ * - `defaultValue`: initial value (supports data binding).
8
+ * - `a11yLabel`: accessibility label for screen readers.
9
+ * - `validations`: validation rules applied to this field.
10
+ * - `showErrorMessage`: when true, renders the active error below the input.
11
+ * - `styles`:
12
+ * * `elements`: `own`, `inputText`, `placeholderText`, `errorText`
13
+ */
14
+ schema: TextInputModel<WhenPredicate>;
15
+ testId?: string;
16
+ }
17
+ /**
18
+ * A controlled text input bound to its parent Form's state. Writes to
19
+ * `STATE.form.<formKey>.<fieldKey>` and runs the field's validations according
20
+ * to the form's `validationMode`.<br>
21
+ * *Where can we use this: __outer layout__, __layout variant__ (inside a Form)*
22
+ */
23
+ export declare function TextInput(props: TextInputProps): JSX.Element;
@@ -0,0 +1,9 @@
1
+ import { FormStatePredicate } from '@rokt/dcui-layout-schema';
2
+ import { FormStatesState } from '../../../../domain/src/models';
3
+ /**
4
+ * Evaluates a FormState When predicate against the current form state. The same
5
+ * logic serves both field-level and form-level keys: form-level aggregates
6
+ * across every field (e.g. a form is valid only when all fields are valid;
7
+ * dirty when any field is dirty).
8
+ */
9
+ export declare function evaluateFormStatePredicate(predicate: FormStatePredicate, formStates: FormStatesState): boolean;
@@ -0,0 +1,15 @@
1
+ import { ValidationMode } from '@rokt/dcui-layout-schema';
2
+ /**
3
+ * Identifies the Form scope a TextInput belongs to. Provided by the Form node
4
+ * and consumed by descendant TextInputs so they know which `form_key` to write
5
+ * to and when (`validationMode`) their values should validate. The
6
+ * `validationMode` lives here rather than in the store to keep the form-state
7
+ * reducer mode-agnostic.
8
+ */
9
+ export interface FormContextValue {
10
+ formKey: string;
11
+ validationMode: ValidationMode;
12
+ }
13
+ export declare const FormContext: import("react").Context<FormContextValue | null>;
14
+ export declare const FormContextProvider: import("react").Provider<FormContextValue | null>;
15
+ export declare const useFormContext: () => FormContextValue | null;
@@ -16,3 +16,5 @@ export * from './catalog-item-context';
16
16
  export * from './plugin-id-context';
17
17
  export * from './schema-version-context';
18
18
  export * from './browser-support-context';
19
+ export * from './minimizable-context';
20
+ export * from './form-context';
@@ -0,0 +1,2 @@
1
+ export declare const MinimizableContext: import("react").Context<boolean>;
2
+ export declare const useIsMinimizable: () => boolean;
@@ -6,3 +6,4 @@ export declare const OfferDataProvider: (props: {
6
6
  }) => import("react/jsx-runtime").JSX.Element;
7
7
  export declare const useOfferData: () => PluginOffer;
8
8
  export declare const useOfferCreativeCopy: () => Record<string, string> | undefined;
9
+ export declare const useOfferTransactionData: () => import("../../../domain/src/models").TransactionData | undefined;
@@ -4,3 +4,4 @@ export declare const FAILED_PARSING_STYLES = "FAILED_PARSING_STYLES";
4
4
  export declare const FAILED_TEMPLATING_DATA = "FAILED_TEMPLATING_DATA";
5
5
  export declare const FAILED_TO_MAP_STATIC_DATA = "FAILED_TO_MAP_STATIC_DATA";
6
6
  export declare const FAILED_SANITISING_HTML = "FAILED_SANITISING_HTML";
7
+ export declare const UNRESOLVED_FORM_VALIDATION_TARGET = "UNRESOLVED_FORM_VALIDATION_TARGET";
@@ -0,0 +1,20 @@
1
+ import { ScrollMaskStylingProperties } from '@rokt/dcui-layout-schema';
2
+ /**
3
+ * Pulls the `scrollMask` config out of a node's `own.container` style block
4
+ * so it can be handed to `useScrollMaskVisibility`. Reads the first
5
+ * breakpoint's default state only — scroll-mask styling is not expected
6
+ * to differ across breakpoints or interaction states, and the gradient
7
+ * is rendered inline by the component rather than via the StyleMapper
8
+ * class so per-state CSS would not apply anyway.
9
+ */
10
+ export declare function getScrollMaskConfig(styles: {
11
+ elements?: {
12
+ own?: Array<{
13
+ default?: {
14
+ container?: {
15
+ scrollMask?: ScrollMaskStylingProperties | null;
16
+ } | null;
17
+ } | null;
18
+ }> | null;
19
+ } | null;
20
+ } | null | undefined): ScrollMaskStylingProperties | null;
@@ -8,4 +8,6 @@ export * from './responsive-css';
8
8
  export * from './test-id';
9
9
  export * from './use-controlled-link-container';
10
10
  export * from './use-focus-trap';
11
+ export * from './use-scroll-mask-visibility';
12
+ export * from './get-scroll-mask-config';
11
13
  export * from './get-active-breakpoint-index';
@@ -0,0 +1,22 @@
1
+ import { ScrollMaskStylingProperties } from '@rokt/dcui-layout-schema';
2
+ export type ScrollMaskAxis = 'horizontal' | 'vertical';
3
+ /**
4
+ * Tracks scroll state on the attached element and returns the inline
5
+ * style (mask-image, mask-clip, etc.) needed to render the scroll-mask
6
+ * gradient described by `config`. The mask collapses to `none` when the
7
+ * container does not overflow, the start fade is omitted when scrolled
8
+ * to the start, and the end fade is omitted when scrolled to the end —
9
+ * so the visible mask always reflects the direction of hidden content.
10
+ *
11
+ * `setRef` is a callback ref — pass it to the scrollable element. The
12
+ * element is held in state so attach/detach is driven by `useEffect`,
13
+ * keeping listeners correctly paired through Strict Mode and HMR.
14
+ */
15
+ export declare function useScrollMaskVisibility<E extends HTMLElement>(axis: ScrollMaskAxis, config: ScrollMaskStylingProperties | null | undefined): {
16
+ hasOverflow: boolean;
17
+ atStart: boolean;
18
+ atEnd: boolean;
19
+ ref: import("react").MutableRefObject<E | null>;
20
+ setRef: (node: E | null) => void;
21
+ maskStyle: import("react").CSSProperties;
22
+ };
@@ -1,4 +1,4 @@
1
- import { BackgroundStylingProperties, BorderStylingProperties, ButtonPseudoClasses, ContainerStylingProperties, DimensionStylingProperties, LayoutStyle, SpacingStylingProperties } from '../styling';
1
+ import { BackgroundStylingProperties, BorderStylingProperties, ButtonPseudoClasses, ContainerStylingProperties, DimensionStylingProperties, FlexChildStylingProperties, LayoutStyle, SpacingStylingProperties } from '../styling';
2
2
  import { BasicTextModel } from './basic-text';
3
3
  import { ColumnModel } from './column';
4
4
  import { StaticImageModel } from './static-image';
@@ -9,6 +9,7 @@ export interface CloseButtonStyles {
9
9
  dimension?: DimensionStylingProperties;
10
10
  spacing?: SpacingStylingProperties;
11
11
  border?: BorderStylingProperties;
12
+ flexChild?: FlexChildStylingProperties;
12
13
  }
13
14
  export type CloseButtonChildren = {
14
15
  type: 'Row';
@@ -27,4 +28,5 @@ export interface CloseButtonModel {
27
28
  children: Array<CloseButtonChildren>;
28
29
  styles?: LayoutStyle<CloseButtonStyles, ButtonPseudoClasses<CloseButtonStyles>>;
29
30
  dismissalMethod?: string;
31
+ a11yLabel?: string;
30
32
  }
@@ -1,24 +1,19 @@
1
- import { CartItemPayload } from '../models';
1
+ import { Shipping } from '../models';
2
2
  export declare const INITIATE_CART_ITEM_EVENT = "GLOBAL/CART_ITEM_EVENT/INITIATE";
3
+ export type InitiateCartItemPayload = {
4
+ cartItemId: string;
5
+ formData?: Shipping;
6
+ };
3
7
  export type InitiateCartItemEvent = {
4
8
  type: typeof INITIATE_CART_ITEM_EVENT;
5
- payload: CartItemPayload;
9
+ payload: InitiateCartItemPayload;
6
10
  };
7
11
  export type CartItemSuccessData = {
8
12
  cartItemId: string;
9
13
  totalPrice: number;
10
14
  currencyCode: string;
11
15
  providerData: string;
12
- shipping: {
13
- firstName: string;
14
- lastName: string;
15
- address1: string;
16
- address2: string;
17
- city: string;
18
- state: string;
19
- postalCode: string;
20
- phoneNumber: string;
21
- };
16
+ shipping: Shipping;
22
17
  success: true;
23
18
  };
24
19
  export type CartItemValidationError = {
@@ -0,0 +1,9 @@
1
+ export declare const DISMISS_OVERLAY = "OVERLAY/DISMISS_OVERLAY";
2
+ export declare const OVERLAY_ID = "plugin-overlay";
3
+ export interface DismissOverlay {
4
+ type: typeof DISMISS_OVERLAY;
5
+ payload: {
6
+ id: string;
7
+ dismissalMethod?: string;
8
+ };
9
+ }
@@ -1,10 +1,10 @@
1
- import { LayoutVariantDomainStateKey } from '@rokt/dcui-layout-schema';
1
+ import { LayoutVariantDomainStateKey, OuterLayoutDomainStateKey } from '@rokt/dcui-layout-schema';
2
2
  export declare const SET_DOMAIN_STATE = "GLOBAL/SET_DOMAIN_STATE";
3
3
  export interface SetDomainState {
4
4
  type: typeof SET_DOMAIN_STATE;
5
5
  payload: SetDomainStatePayload;
6
6
  }
7
7
  export interface SetDomainStatePayload {
8
- key: LayoutVariantDomainStateKey;
8
+ key: LayoutVariantDomainStateKey | OuterLayoutDomainStateKey;
9
9
  value: number;
10
10
  }
@@ -0,0 +1,66 @@
1
+ import { InputValidation } from '@rokt/dcui-layout-schema';
2
+ /**
3
+ * Global form-state behaviors. These are dispatched by the TextInput and
4
+ * ActionButton nodes via the GlobalActions context and translated into
5
+ * offer-scoped store actions by the GlobalStoreProxy (which injects the
6
+ * `offerPositionIndex`), mirroring how SET_CUSTOM_STATE works.
7
+ *
8
+ * The form's `validationMode` is intentionally NOT stored — it is provided to
9
+ * descendants through the React FormContext, and the component decides whether
10
+ * a value change should validate via the `validate` flag below. This keeps the
11
+ * reducer mode-agnostic.
12
+ */
13
+ export declare const REGISTER_FORM_FIELD = "GLOBAL/REGISTER_FORM_FIELD";
14
+ export declare const UNREGISTER_FORM_FIELD = "GLOBAL/UNREGISTER_FORM_FIELD";
15
+ export declare const SET_FORM_FIELD_VALUE = "GLOBAL/SET_FORM_FIELD_VALUE";
16
+ export declare const SET_FORM_FIELD_TOUCHED = "GLOBAL/SET_FORM_FIELD_TOUCHED";
17
+ export declare const VALIDATE_FORM_FIELDS = "GLOBAL/VALIDATE_FORM_FIELDS";
18
+ export interface RegisterFormFieldPayload {
19
+ formKey: string;
20
+ fieldKey: string;
21
+ defaultValue: string;
22
+ validations: InputValidation[];
23
+ }
24
+ export interface SetFormFieldValuePayload {
25
+ formKey: string;
26
+ fieldKey: string;
27
+ value: string;
28
+ /**
29
+ * When true, the field is re-validated as part of applying the value (used
30
+ * for on-change mode and for fields that have already been validated).
31
+ */
32
+ validate: boolean;
33
+ }
34
+ export interface UnregisterFormFieldPayload {
35
+ formKey: string;
36
+ fieldKey: string;
37
+ }
38
+ export interface SetFormFieldTouchedPayload {
39
+ formKey: string;
40
+ fieldKey: string;
41
+ }
42
+ export interface ValidateFormFieldsPayload {
43
+ /** Raw `validates` entries — bare form keys and/or dot-notation field keys. */
44
+ entries: string[];
45
+ }
46
+ export interface RegisterFormField {
47
+ type: typeof REGISTER_FORM_FIELD;
48
+ payload: RegisterFormFieldPayload;
49
+ }
50
+ export interface UnregisterFormField {
51
+ type: typeof UNREGISTER_FORM_FIELD;
52
+ payload: UnregisterFormFieldPayload;
53
+ }
54
+ export interface SetFormFieldValue {
55
+ type: typeof SET_FORM_FIELD_VALUE;
56
+ payload: SetFormFieldValuePayload;
57
+ }
58
+ export interface SetFormFieldTouched {
59
+ type: typeof SET_FORM_FIELD_TOUCHED;
60
+ payload: SetFormFieldTouchedPayload;
61
+ }
62
+ export interface ValidateFormFields {
63
+ type: typeof VALIDATE_FORM_FIELDS;
64
+ payload: ValidateFormFieldsPayload;
65
+ }
66
+ export type FormStateBehaviors = RegisterFormField | UnregisterFormField | SetFormFieldValue | SetFormFieldTouched | ValidateFormFields;
@@ -6,12 +6,17 @@ import { SetCustomState } from './custom-states';
6
6
  import { SendPartner } from './send-partner';
7
7
  import { OfferOutboundPartnerEvent } from '../models';
8
8
  import { SetDomainState } from './domain-states';
9
+ import { LayoutEventAction } from './layout-events';
9
10
  import { PrepareSignal } from './prepare-signal';
10
11
  import { OpenLink } from './open-link';
11
12
  import { SetPartnerValidationStatus } from './partner-validation';
12
13
  import { SetGlobalOfferDataCart } from './global-offer-data-state';
13
14
  import { LaunchChildLayout } from './child-layout';
14
- export type GlobalActions = RaiseMetric | PrepareSignal | OfferEngagement | RaiseSignal | OfferLifecycle | SendPartner<OfferOutboundPartnerEvent> | SetCustomState | SetDomainState | OpenLink | SetPartnerValidationStatus | SetGlobalOfferDataCart | LaunchChildLayout;
15
+ import { DismissOverlay } from './dismiss-overlay';
16
+ import { TriggerAction } from './trigger-action';
17
+ import { ReportError } from './report-error';
18
+ import { FormStateBehaviors } from './form-state';
19
+ export type GlobalActions = RaiseMetric | PrepareSignal | OfferEngagement | RaiseSignal | OfferLifecycle | SendPartner<OfferOutboundPartnerEvent> | SetCustomState | SetDomainState | LayoutEventAction | OpenLink | SetPartnerValidationStatus | SetGlobalOfferDataCart | LaunchChildLayout | DismissOverlay | TriggerAction | FormStateBehaviors | ReportError;
15
20
  export declare const GlobalActionTypes: {
16
21
  readonly RAISE_METRIC: "GLOBAL/RAISE_METRIC";
17
22
  readonly PREPARE_SIGNAL: "GLOBAL/PREPARE_SIGNAL";
@@ -21,11 +26,20 @@ export declare const GlobalActionTypes: {
21
26
  readonly SEND_PARTNER: "GLOBAL/SEND_PARTNER";
22
27
  readonly SET_CUSTOM_STATE: "GLOBAL/SET_CUSTOM_STATE";
23
28
  readonly SET_DOMAIN_STATE: "GLOBAL/SET_DOMAIN_STATE";
29
+ readonly LAYOUT_EVENT: "GLOBAL/LAYOUT_EVENT";
24
30
  readonly OPEN_LINK: "GLOBAL/OPEN_LINK";
25
31
  readonly SET_PARTNER_VALIDATION_STATUS: "GLOBAL/SET_PARTNER_VALIDATION_STATUS";
26
32
  readonly SET_GLOBAL_OFFER_DATA_CART: "GLOBAL/SET_GLOBAL_OFFER_DATA_CART";
27
33
  readonly LAUNCH_CHILD_LAYOUT: "GLOBAL/LAUNCH_CHILD_LAYOUT";
28
34
  readonly INITIATE_CART_ITEM_EVENT: "GLOBAL/CART_ITEM_EVENT/INITIATE";
29
35
  readonly CART_ITEM_RESPONSE: "GLOBAL/CART_ITEM_EVENT/RESPONSE";
36
+ readonly DISMISS_OVERLAY: "OVERLAY/DISMISS_OVERLAY";
37
+ readonly TRIGGER_ACTION: "GLOBAL/TRIGGER_ACTION";
38
+ readonly REGISTER_FORM_FIELD: "GLOBAL/REGISTER_FORM_FIELD";
39
+ readonly UNREGISTER_FORM_FIELD: "GLOBAL/UNREGISTER_FORM_FIELD";
40
+ readonly SET_FORM_FIELD_VALUE: "GLOBAL/SET_FORM_FIELD_VALUE";
41
+ readonly SET_FORM_FIELD_TOUCHED: "GLOBAL/SET_FORM_FIELD_TOUCHED";
42
+ readonly VALIDATE_FORM_FIELDS: "GLOBAL/VALIDATE_FORM_FIELDS";
43
+ readonly REPORT_ERROR: "ERROR/REPORT";
30
44
  };
31
45
  export type GlobalActionType = GlobalActions['type'];
@@ -7,8 +7,13 @@ export * from './offer-lifecycle';
7
7
  export * from './send-partner';
8
8
  export * from './custom-states';
9
9
  export * from './domain-states';
10
+ export * from './layout-events';
10
11
  export * from './open-link';
11
12
  export * from './partner-validation';
12
13
  export * from './global-offer-data-state';
13
14
  export * from './child-layout';
14
15
  export * from './cart-item-event';
16
+ export * from './dismiss-overlay';
17
+ export * from './trigger-action';
18
+ export * from './form-state';
19
+ export * from './report-error';