@appcues/web-sdk 7.22.2 → 7.24.0

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 (363) hide show
  1. package/CHANGELOG.md +103 -0
  2. package/build/actions/action-types.d.ts +46 -0
  3. package/build/actions/action-types.d.ts.map +1 -0
  4. package/build/actions/annotations-actions.d.ts +121 -0
  5. package/build/actions/annotations-actions.d.ts.map +1 -0
  6. package/build/actions/checklist-actions.d.ts +199 -0
  7. package/build/actions/checklist-actions.d.ts.map +1 -0
  8. package/build/actions/collision-mode-actions.d.ts +9 -0
  9. package/build/actions/collision-mode-actions.d.ts.map +1 -0
  10. package/build/actions/common-actions.d.ts +124 -0
  11. package/build/actions/common-actions.d.ts.map +1 -0
  12. package/build/actions/core-actions.d.ts +259 -0
  13. package/build/actions/core-actions.d.ts.map +1 -0
  14. package/build/actions/create-action.d.ts +17 -0
  15. package/build/actions/create-action.d.ts.map +1 -0
  16. package/build/actions/debugger-actions.d.ts +8 -0
  17. package/build/actions/debugger-actions.d.ts.map +1 -0
  18. package/build/actions/experience-actions.d.ts +48 -0
  19. package/build/actions/experience-actions.d.ts.map +1 -0
  20. package/build/actions/hotspots-actions.d.ts +36 -0
  21. package/build/actions/hotspots-actions.d.ts.map +1 -0
  22. package/build/actions/modal-actions.d.ts +16 -0
  23. package/build/actions/modal-actions.d.ts.map +1 -0
  24. package/build/actions/root-actions.d.ts +260 -0
  25. package/build/actions/root-actions.d.ts.map +1 -0
  26. package/build/actions/satisfaction-survey-actions.d.ts +67 -0
  27. package/build/actions/satisfaction-survey-actions.d.ts.map +1 -0
  28. package/build/actions/session-actions.d.ts +19 -0
  29. package/build/actions/session-actions.d.ts.map +1 -0
  30. package/build/actions/widget-actions.d.ts +25 -0
  31. package/build/actions/widget-actions.d.ts.map +1 -0
  32. package/build/analytics/create-checklist-event.d.ts +24 -0
  33. package/build/analytics/create-checklist-event.d.ts.map +1 -0
  34. package/build/analytics/create-events.d.ts +30 -0
  35. package/build/analytics/create-events.d.ts.map +1 -0
  36. package/build/analytics/create-flow-event.d.ts +3 -0
  37. package/build/analytics/create-flow-event.d.ts.map +1 -0
  38. package/build/analytics/create-session-event.d.ts +3 -0
  39. package/build/analytics/create-session-event.d.ts.map +1 -0
  40. package/build/analytics/create-step-events.d.ts +40 -0
  41. package/build/analytics/create-step-events.d.ts.map +1 -0
  42. package/build/analytics/transform-analytics-event.d.ts +10 -0
  43. package/build/analytics/transform-analytics-event.d.ts.map +1 -0
  44. package/build/bind-interface.d.ts +10 -0
  45. package/build/bind-interface.d.ts.map +1 -0
  46. package/build/bootstrap.npm.DYhiH7lm.js +12049 -0
  47. package/build/bootstrap.npm.d.ts +2 -0
  48. package/build/bootstrap.npm.d.ts.map +1 -0
  49. package/build/checklist.c1e77dbbb641eec1fd5ab36b9a1474de41efcf5f.css +1 -0
  50. package/build/clickstream/generate-selector.d.ts +12 -0
  51. package/build/clickstream/generate-selector.d.ts.map +1 -0
  52. package/build/clickstream/index.d.ts +2 -0
  53. package/build/clickstream/index.d.ts.map +1 -0
  54. package/build/clickstream/pii-filter.d.ts +3 -0
  55. package/build/clickstream/pii-filter.d.ts.map +1 -0
  56. package/build/clickstream/saga.d.ts +2 -0
  57. package/build/clickstream/saga.d.ts.map +1 -0
  58. package/build/constants.FfLavyn7.js +119 -0
  59. package/build/container.c1e77dbbb641eec1fd5ab36b9a1474de41efcf5f.css +1 -0
  60. package/build/css-helper.d.ts +2 -0
  61. package/build/css-helper.d.ts.map +1 -0
  62. package/build/custom-events/actions.d.ts +3 -0
  63. package/build/custom-events/actions.d.ts.map +1 -0
  64. package/build/custom-events/index.d.ts +4 -0
  65. package/build/custom-events/index.d.ts.map +1 -0
  66. package/build/custom-events/listeners/click.d.ts +14 -0
  67. package/build/custom-events/listeners/click.d.ts.map +1 -0
  68. package/build/custom-events/listeners/get-composed-path.d.ts +2 -0
  69. package/build/custom-events/listeners/get-composed-path.d.ts.map +1 -0
  70. package/build/custom-events/listeners/get-matching-events.d.ts +31 -0
  71. package/build/custom-events/listeners/get-matching-events.d.ts.map +1 -0
  72. package/build/custom-events/listeners/hover.d.ts +13 -0
  73. package/build/custom-events/listeners/hover.d.ts.map +1 -0
  74. package/build/custom-events/listeners/input.d.ts +5 -0
  75. package/build/custom-events/listeners/input.d.ts.map +1 -0
  76. package/build/custom-events/saga.d.ts +11 -0
  77. package/build/custom-events/saga.d.ts.map +1 -0
  78. package/build/custom-events/transform-custom-event.d.ts +18 -0
  79. package/build/custom-events/transform-custom-event.d.ts.map +1 -0
  80. package/build/data/api.d.ts +107 -0
  81. package/build/data/api.d.ts.map +1 -0
  82. package/build/data/create-event.d.ts +10 -0
  83. package/build/data/create-event.d.ts.map +1 -0
  84. package/build/data/message-dispatcher.d.ts +11 -0
  85. package/build/data/message-dispatcher.d.ts.map +1 -0
  86. package/build/data/strip-query-params.d.ts +3 -0
  87. package/build/data/strip-query-params.d.ts.map +1 -0
  88. package/build/data/transports/http.d.ts +2 -0
  89. package/build/data/transports/http.d.ts.map +1 -0
  90. package/build/data/transports/websocket.d.ts +10 -0
  91. package/build/data/transports/websocket.d.ts.map +1 -0
  92. package/build/debugger.c1e77dbbb641eec1fd5ab36b9a1474de41efcf5f.css +1 -0
  93. package/build/dist.BmJY3Sl-.js +85 -0
  94. package/build/dist.DrPFC3yn.js +2204 -0
  95. package/build/index.npm.js +88 -4
  96. package/build/initialize.d.ts +6 -0
  97. package/build/initialize.d.ts.map +1 -0
  98. package/build/integrations/integration-helpers.d.ts +57 -0
  99. package/build/integrations/integration-helpers.d.ts.map +1 -0
  100. package/build/integrations/integration-methods.d.ts +8 -0
  101. package/build/integrations/integration-methods.d.ts.map +1 -0
  102. package/build/lifecycle-events/create-lifecycle-events.d.ts +13 -0
  103. package/build/lifecycle-events/create-lifecycle-events.d.ts.map +1 -0
  104. package/build/main.d.ts +3 -0
  105. package/build/main.d.ts.map +1 -0
  106. package/build/modal.c1e77dbbb641eec1fd5ab36b9a1474de41efcf5f.css +1 -0
  107. package/build/open-builder.Djam6tRm.js +8260 -0
  108. package/build/reducers/annotations-reducers.d.ts +49 -0
  109. package/build/reducers/annotations-reducers.d.ts.map +1 -0
  110. package/build/reducers/checklist-reducers.d.ts +49 -0
  111. package/build/reducers/checklist-reducers.d.ts.map +1 -0
  112. package/build/reducers/common-reducers.d.ts +70 -0
  113. package/build/reducers/common-reducers.d.ts.map +1 -0
  114. package/build/reducers/core-reducers.d.ts +166 -0
  115. package/build/reducers/core-reducers.d.ts.map +1 -0
  116. package/build/reducers/create-root-reducer.d.ts +3 -0
  117. package/build/reducers/create-root-reducer.d.ts.map +1 -0
  118. package/build/reducers/debugger-reducers.d.ts +33 -0
  119. package/build/reducers/debugger-reducers.d.ts.map +1 -0
  120. package/build/reducers/default-reducer.d.ts +16 -0
  121. package/build/reducers/default-reducer.d.ts.map +1 -0
  122. package/build/reducers/hotspots-reducers.d.ts +17 -0
  123. package/build/reducers/hotspots-reducers.d.ts.map +1 -0
  124. package/build/reducers/modal-reducers.d.ts +13 -0
  125. package/build/reducers/modal-reducers.d.ts.map +1 -0
  126. package/build/reducers/reducer-helpers.d.ts +13 -0
  127. package/build/reducers/reducer-helpers.d.ts.map +1 -0
  128. package/build/reducers/root-reducers.d.ts +47 -0
  129. package/build/reducers/root-reducers.d.ts.map +1 -0
  130. package/build/reducers/satisfaction-survey-reducers.d.ts +41 -0
  131. package/build/reducers/satisfaction-survey-reducers.d.ts.map +1 -0
  132. package/build/reducers/session-reducers.d.ts +20 -0
  133. package/build/reducers/session-reducers.d.ts.map +1 -0
  134. package/build/reducers/test-mode-reducers.d.ts +9 -0
  135. package/build/reducers/test-mode-reducers.d.ts.map +1 -0
  136. package/build/reducers/widget-reducers.d.ts +21 -0
  137. package/build/reducers/widget-reducers.d.ts.map +1 -0
  138. package/build/sagas/action-sagas.d.ts +20 -0
  139. package/build/sagas/action-sagas.d.ts.map +1 -0
  140. package/build/sagas/annotations-sagas.d.ts +55 -0
  141. package/build/sagas/annotations-sagas.d.ts.map +1 -0
  142. package/build/sagas/checklist-sagas.d.ts +18 -0
  143. package/build/sagas/checklist-sagas.d.ts.map +1 -0
  144. package/build/sagas/collision-mode-sagas.d.ts +9 -0
  145. package/build/sagas/collision-mode-sagas.d.ts.map +1 -0
  146. package/build/sagas/common-sagas.d.ts +18 -0
  147. package/build/sagas/common-sagas.d.ts.map +1 -0
  148. package/build/sagas/conditions-sagas.d.ts +72 -0
  149. package/build/sagas/conditions-sagas.d.ts.map +1 -0
  150. package/build/sagas/debugger-sagas.d.ts +7 -0
  151. package/build/sagas/debugger-sagas.d.ts.map +1 -0
  152. package/build/sagas/experiences-sagas.d.ts +5 -0
  153. package/build/sagas/experiences-sagas.d.ts.map +1 -0
  154. package/build/sagas/experiments-sagas.d.ts +14 -0
  155. package/build/sagas/experiments-sagas.d.ts.map +1 -0
  156. package/build/sagas/flow-sagas.d.ts +64 -0
  157. package/build/sagas/flow-sagas.d.ts.map +1 -0
  158. package/build/sagas/handle-flow-lifecycle-events.d.ts +12 -0
  159. package/build/sagas/handle-flow-lifecycle-events.d.ts.map +1 -0
  160. package/build/sagas/handle-messages.d.ts +3 -0
  161. package/build/sagas/handle-messages.d.ts.map +1 -0
  162. package/build/sagas/hotspots-sagas.d.ts +30 -0
  163. package/build/sagas/hotspots-sagas.d.ts.map +1 -0
  164. package/build/sagas/knowledge-base-sagas.d.ts +2 -0
  165. package/build/sagas/knowledge-base-sagas.d.ts.map +1 -0
  166. package/build/sagas/modal-sagas.d.ts +3 -0
  167. package/build/sagas/modal-sagas.d.ts.map +1 -0
  168. package/build/sagas/open-builder-sagas.d.ts +5 -0
  169. package/build/sagas/open-builder-sagas.d.ts.map +1 -0
  170. package/build/sagas/saga-utils.d.ts +84 -0
  171. package/build/sagas/saga-utils.d.ts.map +1 -0
  172. package/build/sagas/sagas.d.ts +167 -0
  173. package/build/sagas/sagas.d.ts.map +1 -0
  174. package/build/sagas/satisfaction-survey-sagas.d.ts +8 -0
  175. package/build/sagas/satisfaction-survey-sagas.d.ts.map +1 -0
  176. package/build/sagas/session-sagas.d.ts +4 -0
  177. package/build/sagas/session-sagas.d.ts.map +1 -0
  178. package/build/sagas/test-mode-sagas.d.ts +4 -0
  179. package/build/sagas/test-mode-sagas.d.ts.map +1 -0
  180. package/build/sagas/watch-url-sagas.d.ts +3 -0
  181. package/build/sagas/watch-url-sagas.d.ts.map +1 -0
  182. package/build/sagas/widget-sagas.d.ts +4 -0
  183. package/build/sagas/widget-sagas.d.ts.map +1 -0
  184. package/build/satisfaction-survey.c1e77dbbb641eec1fd5ab36b9a1474de41efcf5f.css +1 -0
  185. package/build/store/configure-store.d.ts +10 -0
  186. package/build/store/configure-store.d.ts.map +1 -0
  187. package/build/store/reporter-middleware.d.ts +10 -0
  188. package/build/store/reporter-middleware.d.ts.map +1 -0
  189. package/build/test-mode.c1e77dbbb641eec1fd5ab36b9a1474de41efcf5f.css +1 -0
  190. package/build/tooltip.c1e77dbbb641eec1fd5ab36b9a1474de41efcf5f.css +1 -0
  191. package/build/utils/accessible-tab.d.ts +2 -0
  192. package/build/utils/accessible-tab.d.ts.map +1 -0
  193. package/build/utils/array.d.ts +2 -0
  194. package/build/utils/array.d.ts.map +1 -0
  195. package/build/utils/conditions.d.ts +15 -0
  196. package/build/utils/conditions.d.ts.map +1 -0
  197. package/build/utils/constants.d.ts +2 -0
  198. package/build/utils/constants.d.ts.map +1 -1
  199. package/build/utils/create-appcues.d.ts +4 -0
  200. package/build/utils/create-appcues.d.ts.map +1 -0
  201. package/build/utils/create-reporter.d.ts +2 -0
  202. package/build/utils/create-reporter.d.ts.map +1 -0
  203. package/build/utils/data-selectors.d.ts +122 -0
  204. package/build/utils/data-selectors.d.ts.map +1 -0
  205. package/build/utils/delay.d.ts +9 -0
  206. package/build/utils/delay.d.ts.map +1 -0
  207. package/build/utils/dom.d.ts +160 -0
  208. package/build/utils/dom.d.ts.map +1 -0
  209. package/build/utils/embed-grouping.d.ts +23 -0
  210. package/build/utils/embed-grouping.d.ts.map +1 -0
  211. package/build/utils/escape.d.ts +12 -0
  212. package/build/utils/escape.d.ts.map +1 -0
  213. package/build/utils/evaluate-selector.d.ts +4 -0
  214. package/build/utils/evaluate-selector.d.ts.map +1 -0
  215. package/build/utils/flow-performance.d.ts +19 -0
  216. package/build/utils/flow-performance.d.ts.map +1 -0
  217. package/build/utils/flow-selectors.d.ts +52 -0
  218. package/build/utils/flow-selectors.d.ts.map +1 -0
  219. package/build/utils/generate-uuid.d.ts +7 -0
  220. package/build/utils/generate-uuid.d.ts.map +1 -0
  221. package/build/utils/generated-properties.d.ts +27 -0
  222. package/build/utils/generated-properties.d.ts.map +1 -0
  223. package/build/utils/handle-navigation.d.ts +5 -0
  224. package/build/utils/handle-navigation.d.ts.map +1 -0
  225. package/build/utils/humanize.d.ts +15 -0
  226. package/build/utils/humanize.d.ts.map +1 -0
  227. package/build/utils/iframes.d.ts +3 -0
  228. package/build/utils/iframes.d.ts.map +1 -0
  229. package/build/utils/is.d.ts +8 -0
  230. package/build/utils/is.d.ts.map +1 -0
  231. package/build/utils/lazy-loading.d.ts +2 -0
  232. package/build/utils/lazy-loading.d.ts.map +1 -0
  233. package/build/utils/links.d.ts +16 -0
  234. package/build/utils/links.d.ts.map +1 -0
  235. package/build/utils/location.d.ts +8 -0
  236. package/build/utils/location.d.ts.map +1 -0
  237. package/build/utils/pending-experience-events.d.ts +31 -0
  238. package/build/utils/pending-experience-events.d.ts.map +1 -0
  239. package/build/utils/query.d.ts +4 -0
  240. package/build/utils/query.d.ts.map +1 -0
  241. package/build/utils/render-contexts.d.ts +6 -0
  242. package/build/utils/render-contexts.d.ts.map +1 -0
  243. package/build/utils/selector-utils.d.ts +13 -0
  244. package/build/utils/selector-utils.d.ts.map +1 -0
  245. package/build/utils/show-powered-by.d.ts +9 -0
  246. package/build/utils/show-powered-by.d.ts.map +1 -0
  247. package/build/utils/store.d.ts +23 -0
  248. package/build/utils/store.d.ts.map +1 -0
  249. package/build/utils/temp-store.d.ts +5 -0
  250. package/build/utils/temp-store.d.ts.map +1 -0
  251. package/build/utils/test-mode.d.ts +3 -0
  252. package/build/utils/test-mode.d.ts.map +1 -0
  253. package/build/utils/time.d.ts +6 -0
  254. package/build/utils/time.d.ts.map +1 -0
  255. package/build/utils/trigger-content-changes.d.ts +20 -0
  256. package/build/utils/trigger-content-changes.d.ts.map +1 -0
  257. package/build/utils/url.d.ts +7 -0
  258. package/build/utils/url.d.ts.map +1 -0
  259. package/build/utils/validate-form-fields.d.ts +20 -0
  260. package/build/utils/validate-form-fields.d.ts.map +1 -0
  261. package/build/utils/vnode.d.ts +102 -0
  262. package/build/utils/vnode.d.ts.map +1 -0
  263. package/build/utils/widget.d.ts +10 -0
  264. package/build/utils/widget.d.ts.map +1 -0
  265. package/build/views/callbacks/checklist-callbacks.d.ts +20 -0
  266. package/build/views/callbacks/checklist-callbacks.d.ts.map +1 -0
  267. package/build/views/callbacks/common-callbacks.d.ts +45 -0
  268. package/build/views/callbacks/common-callbacks.d.ts.map +1 -0
  269. package/build/views/callbacks/debugger-callbacks.d.ts +6 -0
  270. package/build/views/callbacks/debugger-callbacks.d.ts.map +1 -0
  271. package/build/views/callbacks/hotspots-callbacks.d.ts +18 -0
  272. package/build/views/callbacks/hotspots-callbacks.d.ts.map +1 -0
  273. package/build/views/callbacks/modal-callbacks.d.ts +26 -0
  274. package/build/views/callbacks/modal-callbacks.d.ts.map +1 -0
  275. package/build/views/callbacks/sequential-hotspots-callbacks.d.ts +38 -0
  276. package/build/views/callbacks/sequential-hotspots-callbacks.d.ts.map +1 -0
  277. package/build/views/callbacks/survey-callbacks.d.ts +16 -0
  278. package/build/views/callbacks/survey-callbacks.d.ts.map +1 -0
  279. package/build/views/callbacks/test-mode-callbacks.d.ts +15 -0
  280. package/build/views/callbacks/test-mode-callbacks.d.ts.map +1 -0
  281. package/build/views/callbacks/widget-callbacks.d.ts +15 -0
  282. package/build/views/callbacks/widget-callbacks.d.ts.map +1 -0
  283. package/build/views/components/annotations.d.ts +13 -0
  284. package/build/views/components/annotations.d.ts.map +1 -0
  285. package/build/views/components/background.d.ts +6 -0
  286. package/build/views/components/background.d.ts.map +1 -0
  287. package/build/views/components/beacon-outline-styling.d.ts +3 -0
  288. package/build/views/components/beacon-outline-styling.d.ts.map +1 -0
  289. package/build/views/components/beacons.d.ts +12 -0
  290. package/build/views/components/beacons.d.ts.map +1 -0
  291. package/build/views/components/button.d.ts +11 -0
  292. package/build/views/components/button.d.ts.map +1 -0
  293. package/build/views/components/checklist-beacon.d.ts +3 -0
  294. package/build/views/components/checklist-beacon.d.ts.map +1 -0
  295. package/build/views/components/checklist-icons.d.ts +18 -0
  296. package/build/views/components/checklist-icons.d.ts.map +1 -0
  297. package/build/views/components/checklist-item.d.ts +3 -0
  298. package/build/views/components/checklist-item.d.ts.map +1 -0
  299. package/build/views/components/checklist.d.ts +3 -0
  300. package/build/views/components/checklist.d.ts.map +1 -0
  301. package/build/views/components/content-outline-styling.d.ts +3 -0
  302. package/build/views/components/content-outline-styling.d.ts.map +1 -0
  303. package/build/views/components/debugger.d.ts +14 -0
  304. package/build/views/components/debugger.d.ts.map +1 -0
  305. package/build/views/components/empty.d.ts +6 -0
  306. package/build/views/components/empty.d.ts.map +1 -0
  307. package/build/views/components/global-styling.d.ts +5 -0
  308. package/build/views/components/global-styling.d.ts.map +1 -0
  309. package/build/views/components/hotspot.d.ts +36 -0
  310. package/build/views/components/hotspot.d.ts.map +1 -0
  311. package/build/views/components/logo.d.ts +6 -0
  312. package/build/views/components/logo.d.ts.map +1 -0
  313. package/build/views/components/modal-step.d.ts +5 -0
  314. package/build/views/components/modal-step.d.ts.map +1 -0
  315. package/build/views/components/nps-survey-qualitative-question.d.ts +5 -0
  316. package/build/views/components/nps-survey-qualitative-question.d.ts.map +1 -0
  317. package/build/views/components/nps-survey-quantitative-option.d.ts +2 -0
  318. package/build/views/components/nps-survey-quantitative-option.d.ts.map +1 -0
  319. package/build/views/components/nps-survey-quantitative-question.d.ts +5 -0
  320. package/build/views/components/nps-survey-quantitative-question.d.ts.map +1 -0
  321. package/build/views/components/nps-survey-toast.d.ts +2 -0
  322. package/build/views/components/nps-survey-toast.d.ts.map +1 -0
  323. package/build/views/components/nps-survey.d.ts +2 -0
  324. package/build/views/components/nps-survey.d.ts.map +1 -0
  325. package/build/views/components/powered-by-appcues.d.ts +14 -0
  326. package/build/views/components/powered-by-appcues.d.ts.map +1 -0
  327. package/build/views/components/test-mode-banner.d.ts +3 -0
  328. package/build/views/components/test-mode-banner.d.ts.map +1 -0
  329. package/build/views/components/tooltip.d.ts +4 -0
  330. package/build/views/components/tooltip.d.ts.map +1 -0
  331. package/build/views/renderers/render-checklist.d.ts +3 -0
  332. package/build/views/renderers/render-checklist.d.ts.map +1 -0
  333. package/build/views/renderers/render-debugger.d.ts +3 -0
  334. package/build/views/renderers/render-debugger.d.ts.map +1 -0
  335. package/build/views/renderers/render-hotspots.d.ts +2 -0
  336. package/build/views/renderers/render-hotspots.d.ts.map +1 -0
  337. package/build/views/renderers/render-modal.d.ts +10 -0
  338. package/build/views/renderers/render-modal.d.ts.map +1 -0
  339. package/build/views/renderers/render-satisfaction-survey.d.ts +10 -0
  340. package/build/views/renderers/render-satisfaction-survey.d.ts.map +1 -0
  341. package/build/views/renderers/render-test-mode-banner.d.ts +2 -0
  342. package/build/views/renderers/render-test-mode-banner.d.ts.map +1 -0
  343. package/build/views/renderers/render-widget-icon.d.ts +10 -0
  344. package/build/views/renderers/render-widget-icon.d.ts.map +1 -0
  345. package/build/views/renderers/render-widget.d.ts +3 -0
  346. package/build/views/renderers/render-widget.d.ts.map +1 -0
  347. package/build/views/setup-view.d.ts +11 -0
  348. package/build/views/setup-view.d.ts.map +1 -0
  349. package/build/views/setup-widget.d.ts +11 -0
  350. package/build/views/setup-widget.d.ts.map +1 -0
  351. package/package.json +7 -6
  352. package/build/bootstrap.npm.DVu00o0l.js +0 -15505
  353. package/build/checklist.045d5c27f0910d4361d7c1398c89d399dee2edb5.css +0 -1
  354. package/build/container.045d5c27f0910d4361d7c1398c89d399dee2edb5.css +0 -1
  355. package/build/debugger.045d5c27f0910d4361d7c1398c89d399dee2edb5.css +0 -1
  356. package/build/index.C4xtQVZQ.js +0 -2152
  357. package/build/index.npm.B4soqbH3.js +0 -339
  358. package/build/modal.045d5c27f0910d4361d7c1398c89d399dee2edb5.css +0 -1
  359. package/build/open-builder.CqAPcpHg.js +0 -10172
  360. package/build/satisfaction-survey.045d5c27f0910d4361d7c1398c89d399dee2edb5.css +0 -1
  361. package/build/test-mode.045d5c27f0910d4361d7c1398c89d399dee2edb5.css +0 -1
  362. package/build/tooltip.045d5c27f0910d4361d7c1398c89d399dee2edb5.css +0 -1
  363. /package/build/{modal-step-legacy-render.045d5c27f0910d4361d7c1398c89d399dee2edb5.css → modal-step-legacy-render.c1e77dbbb641eec1fd5ab36b9a1474de41efcf5f.css} +0 -0
@@ -0,0 +1,259 @@
1
+ /**
2
+ * An action creator for the INITIALIZE action.
3
+ *
4
+ * @param {object} transport An object describing the the transport. This
5
+ * contains `type`, `module` and `details` properties.
6
+ *
7
+ * @return {function} An INITIALIZE action object.
8
+ */
9
+ export const initialize: Function;
10
+ /**
11
+ * An action creator for IDENTIFY actions.
12
+ *
13
+ * @param {string} userId The ID of the user being identified.
14
+ *
15
+ * @return {object} An IDENTIFY action object.
16
+ */
17
+ export const identify: Function;
18
+ /**
19
+ * An action creator for SENT_REQUEST actions.
20
+ *
21
+ * @param {string} requestId The ID of the request that was sent.
22
+ *
23
+ * @return {object} A SENT_REQUEST action object.
24
+ */
25
+ export const sentRequest: Function;
26
+ /**
27
+ * An action creator for the CONFIGURE_TRANSPORT action.
28
+ *
29
+ * @param {object} details Details of the transport configuration. This is the
30
+ * place to store any persistent information that the transport layer needs
31
+ * access to.
32
+ *
33
+ * @return {object} A CONFIGURE_TRANSPORT action object.
34
+ */
35
+ export const configureTransport: Function;
36
+ /**
37
+ * An action creator for the UPDATE_USER action.
38
+ *
39
+ * @param {object} profile A hash of user properties.
40
+ * @param {Boolean} if true merge the profile properties with the current
41
+ * user state before reducing
42
+ *
43
+ * @return {object} An UPDATE_USER action object.
44
+ */
45
+ export const updateUser: Function;
46
+ /**
47
+ * An action creator for RESET.
48
+ *
49
+ * @return {object} A RESET action object.
50
+ */
51
+ export const reset: Function;
52
+ /**
53
+ * An action creator for the UPDATE_CONTENT action.
54
+ *
55
+ * @param {Array} orderedContent A list of content IDs, sorted in order
56
+ * of priority.
57
+ * @param {object} content A hash of content IDs to content objects.
58
+ *
59
+ * @return {object} An UPDATE_CONTENT action object.
60
+ */
61
+ export const updateContent: Function;
62
+ /**
63
+ * An action creator for the UPDATE_STYLES action.
64
+ *
65
+ * @param {Array} styles A list of one or more style objects.
66
+ *
67
+ * @return {object} An UPDATE_STYLES action object.
68
+ */
69
+ export const updateStyles: Function;
70
+ /**
71
+ * An action creator for WILL_SHOW_CONTENT actions.
72
+ *
73
+ * @param {string} contentId The ID of the content being shown.
74
+ *
75
+ * @return {object} A WILL_SHOW_CONTENT action object.
76
+ */
77
+ export const willShowContent: Function;
78
+ /**
79
+ * An action creator for SHOW_CONTENT actions
80
+ *
81
+ * @return {object} a SHOW_CONTENT action object.
82
+ */
83
+ export const showContent: Function;
84
+ /**
85
+ * An action creator for WILL_CLOSE_CONTENT actions
86
+ *
87
+ * @return {object} a WILL_CLOSE_CONTENT action object.
88
+ */
89
+ export const willCloseContent: Function;
90
+ /**
91
+ * An action creator for FETCHING_CONTENT actions. This action is used to set
92
+ * the current content ID and content status to FETCHING, so that we don't
93
+ * try overriding the content while fetching it.
94
+ *
95
+ * @param {string} contentId The ID of the content being fetched.
96
+ * @param {string} url The URL at which this flow was valid. We use this URL to
97
+ * set the `shownUrl` for content, which is used when
98
+ * checking if we should clear content or not.
99
+ *
100
+ * @return {object} a FETCHING_CONTENT action object.
101
+ */
102
+ export const fetchingContent: Function;
103
+ /**
104
+ * An action creator for REGISTER_RENDERER actions.
105
+ *
106
+ * @param {string} contentType The content type that the render function
107
+ * applies to.
108
+ * @param {function} render Function to render the content type.
109
+ *
110
+ * @return {object} A REGISTER_RENDERER action object.
111
+ */
112
+ export const registerRenderer: Function;
113
+ /**
114
+ * An action creator for REGISTER_CALLBACKS actions.
115
+ *
116
+ * @param {string} contentType The content type these callbacks apply to.
117
+ * @param {object} callbacks Object with callback functions.
118
+ *
119
+ * @return {object} A REGISTER_CALLBACKS action object.
120
+ */
121
+ export const registerCallbacks: Function;
122
+ /**
123
+ * An action creator for ADD_EVENT_LISTENER actions.
124
+ *
125
+ * @param {string} name The name(s) of the event(s) to listen for, or 'all' to
126
+ * listen to all events.
127
+ * @param {function} callback The function to call when the specified event(s)
128
+ * occur.
129
+ * @param {object} context A context object the `callback` should be called with.
130
+ *
131
+ * @return {object} An ADD_EVENT_LISTENER action object.
132
+ */
133
+ export const addEventListener: Function;
134
+ /**
135
+ * An action creator for REMOVE_EVENT_LISTENER actions.
136
+ *
137
+ * @param {string} name The name(s) of the event(s) to remove listeners for, or
138
+ * 'all' to remove listener for all events.
139
+ * @param {function} callback The function that the listener was originally
140
+ * added with.
141
+ * @param {object} context The context object the listener was originally added
142
+ * with.
143
+ *
144
+ * @return {object} A REMOVE_EVENT_LISTENER action object.
145
+ */
146
+ export const removeEventListener: Function;
147
+ /**
148
+ * An action creator for WAIT_IDENTIFY actions.
149
+ *
150
+ * @param {function} callback A function to call after the identify process
151
+ * has completed
152
+ */
153
+ export const waitIdentify: Function;
154
+ /**
155
+ * An action creator for COMPLETED_IDENTIFY actions.
156
+ */
157
+ export const completedIdentify: Function;
158
+ /**
159
+ * An action creator for STORE_TASK actions. These are used to add redux-saga
160
+ * task descriptors to a hash maintained in state. This allows us to cancel
161
+ * sagas by their key later on.
162
+ *
163
+ * @param {string} key The key under which to store the task. See TaskNames in
164
+ * the constants module.
165
+ * @param {object} task The task descriptor.
166
+ *
167
+ * @return {object} A STORE_TASK action object.
168
+ */
169
+ export const storeTask: Function;
170
+ /**
171
+ * An action creator for CLEAR_TASKS actions. This is used to remove all the
172
+ * tasks under the specified key from the state object.
173
+ *
174
+ * @param {string} key The key to clear.
175
+ *
176
+ * @return {object} A CLEAR_TASKS action object.
177
+ */
178
+ export const clearTasks: Function;
179
+ /**
180
+ * An action creator for CLEAR_TASK actions. This is used to remove one task
181
+ * under the specified key with the specified `id` from the state object.
182
+ *
183
+ * @param {string} key The key to clear.
184
+ * @param {number} id The ID of the specific task to clear.
185
+ *
186
+ * @return {object} A CLEAR_TASKS action object.
187
+ */
188
+ export const clearTask: Function;
189
+ /**
190
+ * An action creator for CLEAR_CURRENT_CONTENT actions. This is used to reset
191
+ * the current content completely.
192
+ *
193
+ * @return {object} A CLEAR_CURRENT_CONTENT action object.
194
+ */
195
+ export const clearCurrentContent: Function;
196
+ /**
197
+ * An action creator for RUN_ACTION action objects. This is used to start the
198
+ * process of performing the action defined in the action step.
199
+ *
200
+ * @param {object} action The step/action object to resume
201
+ *
202
+ * @return {object} A RUN_ACTION action object.
203
+ */
204
+ export const runAction: Function;
205
+ /**
206
+ * An action creator for RESUME_ACTION actions. This is used to resume an action
207
+ * step from a particular point in its lifecycle.
208
+ *
209
+ * @param {object} action The step/action object to resume
210
+ * @param {String} status The lifecycle status from which to resume
211
+ *
212
+ * @return {object} A RESUME_ACTION action object.
213
+ */
214
+ export const resumeAction: Function;
215
+ /**
216
+ * An action creator for CHECKED_FOR_INITIAL_CONTENT actions. This is used to
217
+ * indicate what URL we've checked for initial content and if we've completed
218
+ * that check or if it's still in progress.
219
+ *
220
+ * @param {String} url The URL that check is performed for
221
+ * @param {Boolean} complete If the check is complete or still in progress
222
+ *
223
+ * @return {object} A CHECKED_FOR_INITIAL_CONTENT action object.
224
+ */
225
+ export const checkedForInitialContent: Function;
226
+ /**
227
+ * An action creator for SENT_ACTIVITY_UPDATE actions. These are used by sagas
228
+ * that want to wait (take) until an activity update has been sent.
229
+ *
230
+ * @return {object} A SENT_ACTIVITY_UPDATE action object.
231
+ */
232
+ export const sentActivityUpdate: Function;
233
+ /**
234
+ * Mainly an action for our own internal metrics-keeping. Tells us when a flow
235
+ * was able to be shown immediately, rather than waiting for some conditions to
236
+ * be met.
237
+ *
238
+ * @return {object} A STARTED_FLOW_IMM action object.
239
+ */
240
+ export const startedFlowImmediately: Function;
241
+ export const setBodyReady: Function;
242
+ export const saveOpenBuilderInstance: Function;
243
+ export const initializeOpenBuilder: Function;
244
+ export const setOpenBuilderInitialized: Function;
245
+ /**
246
+ * An action creator to save flow experiments for later use
247
+ *
248
+ * @return {object} A SAVE_EXPERIMENTS action object.
249
+ */
250
+ export const saveExperiments: Function;
251
+ /**
252
+ * An action creator to track when an experiment is started
253
+ *
254
+ * @return {object} A EXPERIMENT_STARTED action object.
255
+ */
256
+ export const experimentStarted: Function;
257
+ export const saveGroupProps: Function;
258
+ export const updateSettings: Function;
259
+ //# sourceMappingURL=core-actions.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"core-actions.d.ts","sourceRoot":"","sources":["../../src/scripts/actions/core-actions.js"],"names":[],"mappings":"AAGA;;;;;;;GAOG;AACH,kCAEG;AAEH;;;;;;GAMG;AACH,gCAA2D;AAE3D;;;;;;GAMG;AACH,mCAKE;AAEF;;;;;;;;GAQG;AACH,0CAAgF;AAEhF;;;;;;;;GAQG;AACH,kCAKE;AAEF;;;;GAIG;AACH,6BAAqD;AAErD;;;;;;;;GAQG;AACH,qCAKE;AAEF;;;;;;GAMG;AACH,oCAAoE;AAEpE;;;;;;GAMG;AACH,uCAA2E;AAE3E;;;;GAIG;AACH,mCAAkE;AAElE;;;;GAIG;AACH,wCAA6E;AAE7E;;;;;;;;;;;GAWG;AACH,uCAKE;AAEF;;;;;;;;GAQG;AACH,wCAA4E;AAE5E;;;;;;;GAOG;AACH,yCAA8E;AAE9E;;;;;;;;;;GAUG;AACH,wCASE;AAEF;;;;;;;;;;;GAWG;AACH,2CASE;AAEF;;;;;GAKG;AACH,oCAAoE;AAEpE;;GAEG;AACH,yCAA8E;AAE9E;;;;;;;;;;GAUG;AACH,iCAEG;AAEH;;;;;;;GAOG;AACH,kCAAgE;AAEhE;;;;;;;;GAQG;AACH,iCAEG;AAEH;;;;;GAKG;AACH,2CAEE;AAEF;;;;;;;GAOG;AACH,iCAA8D;AAE9D;;;;;;;;GAQG;AACH,oCAKE;AAEF;;;;;;;;;GASG;AACH,gDAKE;AAEF;;;;;GAKG;AACH,0CAEE;AAEF;;;;;;GAMG;AACH,8CAEE;AAEF,oCAAqE;AAErE,+CAEE;AAEF,6CAEE;AAEF,iDAEE;AAEF;;;;GAIG;AACH,uCAA0E;AAE1E;;;;GAIG;AACH,yCAKE;AAEF,sCAAyE;AAEzE,sCAAwE"}
@@ -0,0 +1,17 @@
1
+ /**
2
+ * Creates an action creator function for the specified `type` with an optional
3
+ * `transformer` function. The transformer function is applied to the action
4
+ * creator functions's arguments and the transformed value becomes the action
5
+ * `payload`.
6
+ *
7
+ * @param {string} type The type (name) of the action.
8
+ * @param {function} [transformer = (x) => x] A transformer function that is
9
+ * applied to create the `payload` of the action. Defaults to the identity
10
+ * function.
11
+ *
12
+ * @return {function} A function that produces an FSA-compliant action. Has a
13
+ * `type` and `payload` property. If the `payload` is an `Error` object, then
14
+ * the `error` property is true.
15
+ */
16
+ export default function createAction(type: string, transformer?: Function): Function;
17
+ //# sourceMappingURL=create-action.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"create-action.d.ts","sourceRoot":"","sources":["../../src/scripts/actions/create-action.js"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AACH,2CATY,MAAM,oCAyBjB"}
@@ -0,0 +1,8 @@
1
+ export const toggleRowDetails: Function;
2
+ export const toggleCollapsed: Function;
3
+ export const setCurrentPage: Function;
4
+ export const trackPage: Function;
5
+ export const addContentError: Function;
6
+ export const addChildError: Function;
7
+ export const closeDebugger: Function;
8
+ //# sourceMappingURL=debugger-actions.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"debugger-actions.d.ts","sourceRoot":"","sources":["../../src/scripts/actions/debugger-actions.js"],"names":[],"mappings":"AAKA,wCAEE;AAEF,uCAA8E;AAI9E,sCAA6E;AAE7E,iCAAkE;AAElE,uCAKE;AAEF,qCAKE;AAEF,qCAA0E"}
@@ -0,0 +1,48 @@
1
+ /**
2
+ * An action creator for PAUSE_EXPERIENCE action.
3
+ *
4
+ * @param {string} experienceId
5
+ *
6
+ * @return {object} An PAUSE_EXPERIENCE action object.
7
+ */
8
+ export const pauseExperience: Function;
9
+ /**
10
+ * An action creator for RESUME_EXPERIENCE action.
11
+ *
12
+ *
13
+ * @return {object} An RESUME_EXPERIENCE action object.
14
+ */
15
+ export const resumeExperience: Function;
16
+ /**
17
+ * An action creator for SHOW_EXPERIENCES action.
18
+ *
19
+ * @param {array} experiences
20
+ *
21
+ * @return {object} An SHOW_EXPERIENCES action object.
22
+ */
23
+ export const showExperiences: Function;
24
+ /**
25
+ * An action creator for SAVE_ON_HOLD_LAUNCHPADS action.
26
+ *
27
+ * @param {array} experiences
28
+ *
29
+ * @return {object} An SAVE_ON_HOLD_LAUNCHPADS action object.
30
+ */
31
+ export const saveOnHoldLaunchpads: Function;
32
+ /**
33
+ * An action creator for UNHIDE_LAUNCHPADS action.
34
+ *
35
+ * @param {array} experiences
36
+ *
37
+ * @return {object} An UNHIDE_LAUNCHPADS action object.
38
+ */
39
+ export const unHideLaunchpads: Function;
40
+ /**
41
+ * An action creator for HIDE_LAUNCHPADS action.
42
+ *
43
+ * @param {array} experiences
44
+ *
45
+ * @return {object} An HIDE_LAUNCHPADS action object.
46
+ */
47
+ export const hideLaunchpads: Function;
48
+ //# sourceMappingURL=experience-actions.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"experience-actions.d.ts","sourceRoot":"","sources":["../../src/scripts/actions/experience-actions.js"],"names":[],"mappings":"AAGA;;;;;;GAMG;AACH,uCAAgF;AAEhF;;;;;GAKG;AACH,wCAEE;AAEF;;;;;;GAMG;AACH,uCAAgF;AAEhF;;;;;;GAMG;AACH,4CAEE;AAEF;;;;;;GAMG;AACH,wCAEE;AAEF;;;;;;GAMG;AACH,sCAA8E"}
@@ -0,0 +1,36 @@
1
+ /**
2
+ * An action creator for EXPAND_HOTSPOT actions.
3
+ *
4
+ * @param {string} hotspotId The ID of the individual hotspot to expand.
5
+ *
6
+ * @return {object} An EXPAND_HOTSPOT action object.
7
+ */
8
+ export const expandHotspot: Function;
9
+ /**
10
+ * An action creator for PREPARE_HOTSPOTS actions.
11
+ *
12
+ * @return {object} A PREPARE_HOTSPOTS action object.
13
+ */
14
+ export const prepareHotspots: Function;
15
+ /**
16
+ * An action creator for SET_BEACON_SETTLED actions. This is used to make sure the user doesn't see their
17
+ * hotspot "dance" while it is being rapidly re-sized and placed.
18
+ *
19
+ * @param {string} the hotspot stepChildId
20
+ * @param {boolean} the new value for `currentContent.annotationState.stepId.isBeaconSettled`
21
+ * @return {object} a SET_TOOLTIP_SETTLED action object.
22
+ */
23
+ export const setBeaconSettled: Function;
24
+ /**
25
+ * An action creator for CLOSE_LAST_HOTSPOT actions. This is used to send the
26
+ * STEP_END lifecycle message after the last hotspot or tooltip has been removed
27
+ * from the page and we know it's safe to end the step. This triggers the
28
+ * `waitForLast` saga in the hotspots-sagas module.
29
+ *
30
+ * @param {string} stepId
31
+ * @param {string} childId
32
+ *
33
+ * @return {object} A CLOSE_LAST_HOTSPOT action object.
34
+ */
35
+ export const closeLastHotspot: Function;
36
+ //# sourceMappingURL=hotspots-actions.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"hotspots-actions.d.ts","sourceRoot":"","sources":["../../src/scripts/actions/hotspots-actions.js"],"names":[],"mappings":"AAGA;;;;;;GAMG;AACH,qCAA0E;AAE1E;;;;GAIG;AACH,uCAA8E;AAE9E;;;;;;;GAOG;AACH,wCAKE;AAEF;;;;;;;;;;GAUG;AACH,wCAKE"}
@@ -0,0 +1,16 @@
1
+ /**
2
+ * An action creator for PREPARE_MODAL actions.
3
+ *
4
+ * @return {object} A PREPARE_MODAL action object.
5
+ */
6
+ export const prepareModal: Function;
7
+ /**
8
+ * An action creator for RESIZE_CONTENT actions.
9
+ *
10
+ * @param {string} id the ID of the annotation to resize.
11
+ * @param {object} size Object with height and width properties.
12
+ *
13
+ * @return {object} A RESIZE_CONTENT action object.
14
+ */
15
+ export const resizeModalContent: Function;
16
+ //# sourceMappingURL=modal-actions.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"modal-actions.d.ts","sourceRoot":"","sources":["../../src/scripts/actions/modal-actions.js"],"names":[],"mappings":"AAGA;;;;GAIG;AACH,oCAAqE;AAErE;;;;;;;GAOG;AACH,0CAKE"}
@@ -0,0 +1,260 @@
1
+ /**
2
+ * Action creator for the root action START_INITIALIZE.
3
+ *
4
+ * @param {object} settings Account and script settings.
5
+ * @param {function} dispatchMessage A function that will dispatch a
6
+ * START_HANDLE_MESSAGE action.
7
+ * @param {object} transportModule The module to use as data transport layer.
8
+ * @param {function} reporter Error reporter function.
9
+ *
10
+ * @return {object} START_INITIALIZE action object.
11
+ */
12
+ export const startInitialize: Function;
13
+ /**
14
+ * Action creator for the root action START_IDENTIFY.
15
+ *
16
+ * @param {string} userId The ID of the user being identified.
17
+ * @param {object} properties The set of user properties for this user.
18
+ * @param {Array} events List of events to send.
19
+ *
20
+ * @return {object} A START_IDENTIFY action object.
21
+ */
22
+ export const startIdentify: Function;
23
+ /**
24
+ * Action creator for the root action START_HANDLE_MESSAGE.
25
+ *
26
+ * @param {object} msg The message that we're handling.
27
+ *
28
+ * @return {object} A START_HANDLE_MESSAGE action object.
29
+ */
30
+ export const startHandleMessage: Function;
31
+ /**
32
+ * Action creator for the root action messageTimeout.
33
+ *
34
+ * @param {string} requestId The `request_id` of the message that timed out.
35
+ *
36
+ * @return {object} A MESSAGE_TIMEOUT action object.
37
+ */
38
+ export const messageTimeout: Function;
39
+ /**
40
+ * Action creator for the root action START_EVENT.
41
+ *
42
+ * @param {string} flowId The ID of the flow that this event is for.
43
+ * @param {object} event The analytics event.
44
+ *
45
+ * @return {object} A START_EVENT action object.
46
+ */
47
+ export const startEvent: Function;
48
+ /**
49
+ * Action creator for the root action START_OPEN_BUILDER_EVENT.
50
+ *
51
+ * @param {string} type The type of the event to be sent.
52
+ * @param {object} event The analytics event.
53
+ *
54
+ * @return {object} A START_OPEN_BUILDER_EVENT action object.
55
+ */
56
+ export const startOpenBuilderEvent: Function;
57
+ /**
58
+ * Action creator for FINISHED_EVENT actions. This is used to indicate when
59
+ * we've completed triggering registered event listeners.
60
+ *
61
+ * @param {string} flowId The ID of the flow that this event is for.
62
+ * @param {object} event The analytics event with which we're finished.
63
+ *
64
+ * @return {object} A FINISHED_EVENT action object.
65
+ */
66
+ export const finishedEvent: Function;
67
+ /**
68
+ * Action creator for the root action START_ACTIVITY.
69
+ *
70
+ * @param {object} properties A set of user properties to send in the update.
71
+ * @param {Array} events List of events to send.
72
+ * @param {boolean} trigger
73
+ *
74
+ * @return {object} A START_ACTIVITY action object.
75
+ */
76
+ export const startActivity: Function;
77
+ /**
78
+ * Action creator for the root action START_GROUP_ACTIVITY.
79
+ *
80
+ * @param {string} groupId The group ID
81
+ * @param {object} properties A set of group properties to send in the update.
82
+ *
83
+ * @return {object} A START_GROUP_ACTIVITY action object.
84
+ */
85
+ export const startGroupActivity: Function;
86
+ /**
87
+ * Action creator for the root action START_ANONYMOUS.
88
+ *
89
+ * @return {object} A START_ANONYMOUS action object.
90
+ */
91
+ export const startAnonymous: Function;
92
+ /**
93
+ * Action creator for the root action INJECT_CONTENT.
94
+ *
95
+ * @return {object} A INJECT_CONTENT action object.
96
+ */
97
+ export const injectContent: Function;
98
+ /**
99
+ * Action creator for the root action INJECT_STYLES.
100
+ *
101
+ * @return {object} A INJECT_STYLES action object.
102
+ */
103
+ export const injectStyles: Function;
104
+ /**
105
+ * Action creator for the root action PREPARE_CONTENT.
106
+ *
107
+ * @return {object} A PREPARE_CONTENT action object.
108
+ */
109
+ export const prepareContent: Function;
110
+ /**
111
+ * Action creator for the root action CLEANUP_STEP. This is used to trigger
112
+ * any necessary cleanup after different content types are closed.
113
+ *
114
+ * @param {object} content The step object that should be cleaned up.
115
+ *
116
+ * @return {object} A CLEANUP_STEP action object.
117
+ */
118
+ export const cleanupStep: Function;
119
+ /**
120
+ * Action creator for the root action START_CONTENT.
121
+ *
122
+ * @return {object} A START_CONTENT action object.
123
+ */
124
+ export const startContent: Function;
125
+ /**
126
+ * Action creator for the root action START_RESET.
127
+ *
128
+ * @return {object} A START_RESET action object.
129
+ */
130
+ export const startReset: Function;
131
+ /**
132
+ * Action creator for the root action START_DEBUG.
133
+ *
134
+ * @return {object} A START_DEBUG action object.
135
+ */
136
+ export const startDebug: Function;
137
+ /**
138
+ * Action creator for the root action START_FORM_SUBMISSION.
139
+ *
140
+ * @param {String} formId The ID of the form being submitted.
141
+ * @param {Array} fields List of field objects that look like:
142
+ * {
143
+ * fieldId: $fieldId,
144
+ * validation: ($type|null) (optional),
145
+ * required: (true|false),
146
+ * label: $field_label,
147
+ * value: $field_value
148
+ * }
149
+ * @param {function} onSuccess A function that should be called if the form is
150
+ * submitted successfully.
151
+ *
152
+ * @return {object} A START_FORM_SUBMISSION action object.
153
+ */
154
+ export const startFormSubmission: Function;
155
+ /**
156
+ * Action creator for the root action START_SHOW.
157
+ *
158
+ * @param {string} contentId The ID of the content to start showing.
159
+ *
160
+ * @return {object} A START_SHOW action object.
161
+ */
162
+ export const startShow: Function;
163
+ /**
164
+ * Action creator for the root STOP_TASKS action, which is used to cancel and
165
+ * clear the tasks stored under a particular key.
166
+ *
167
+ * @param {string} key The key used to store the tasks we want to cancel.
168
+ *
169
+ * @return {object} A STOP_TASKS action object.
170
+ */
171
+ export const stopTasks: Function;
172
+ /**
173
+ * Action creator for the root START_CHECK action, which is used to start
174
+ * checking for a valid flow to start.
175
+ *
176
+ * @param {string} currentUrl The current URL of the page on which this content
177
+ * may be shown. We eventually use this URL to set
178
+ * the `shownUrl` for content, which is used when
179
+ * checking if we should clear content or not.
180
+ *
181
+ * @param {boolean} shouldOverrideCurrentFlow Identifies whether the event that
182
+ * triggers this check is due to a `page_view`
183
+ * or `event_trigger`
184
+ *
185
+ * @return {object} A START_CHECK action object.
186
+ */
187
+ export const startCheck: Function;
188
+ /**
189
+ * Action creator for the root START_FLOW action, which is used to begin the
190
+ * process a showing or resuming a particular flow. The `status` value indicates
191
+ * that we're resuming a flow at particular point in a step.
192
+ *
193
+ * @param {string} flowId The ID of the flow to start.
194
+ * @param {string} stepId The ID of the step to begin with.
195
+ * @param {string} url The URL at which this flow was valid. We use this URL to
196
+ * set the `shownUrl` for content, which is used when
197
+ * checking if we should clear content or not.
198
+ * @param {redux-saga.Channel} A redux-saga Channel that serves as the event
199
+ * channel for this flow. Lifecycle messages should
200
+ * be sent over this channel.
201
+ * @param {string} status The status of the passed step if we're trying to
202
+ * resume the step.
203
+ *
204
+ * @return {object} A START_FLOW action object.
205
+ */
206
+ export const startFlow: Function;
207
+ /**
208
+ * Action creator for the root START_STEP action, which is used to begin the
209
+ * process of running a particular step of a flow. This can result in content
210
+ * being displayed on the page or an action being performed or a condition being
211
+ * waited upon.
212
+ *
213
+ * @param {string} step The step object to run.
214
+ * @param {string} url The URL at which this step was valid.
215
+ *
216
+ * @return {object} A START_STEP action object.
217
+ */
218
+ export const startStep: Function;
219
+ /**
220
+ * An action creator for CANCEL_ATTEMPTS actions. This is used to cancel any
221
+ * in-progress flow attempts.
222
+ *
223
+ * @return {object} A CANCEL_ATTEMPTS action object.
224
+ */
225
+ export const cancelAttempts: Function;
226
+ /**
227
+ * An action creator for SEND_LIFECYCLE_EVENT actions. This is used to put a
228
+ * FlowLifecycleEvent on the current content event channel, or the passed event
229
+ * channel (if one is passed).
230
+ *
231
+ * @param {object} event The FlowLifecycleEvent object to put on the channel.
232
+ * @param {object} eventChannel (Optional) The channel over which to send the
233
+ * lifecycle event. This should only be passed to
234
+ * override the default (which is the current
235
+ * content's event channel).
236
+ *
237
+ * @return {object} A SEND_LIFECYCLE_EVENT action object.
238
+ */
239
+ export const sendLifecycleEvent: Function;
240
+ /**
241
+ * An action creator for CLOSE_CHANNEL actions. This is used to close a
242
+ * particular redux-saga channel. It kicks off the closeEventChannel saga in
243
+ * the flow-sagas module. For an explanation of why this is needed, see that
244
+ * saga's comments.
245
+ *
246
+ * @param {object} eventChannel The channel to close.
247
+ *
248
+ * @return {object} A CLOSE_CHANNEL action object.
249
+ */
250
+ export const closeChannel: Function;
251
+ /**
252
+ * Action creator for the root action START_IDENTIFY.
253
+ *
254
+ * @param {string} groupId The ID of the group being identified.
255
+ * @param {object} groupProperties The set of group properties.
256
+ *
257
+ * @return {object} A START_IDENTIFY action object.
258
+ */
259
+ export const startIdentifyGroup: Function;
260
+ //# sourceMappingURL=root-actions.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"root-actions.d.ts","sourceRoot":"","sources":["../../src/scripts/actions/root-actions.js"],"names":[],"mappings":"AAGA;;;;;;;;;;GAUG;AACH,uCAKE;AAEF;;;;;;;;GAQG;AACH,qCAKE;AAEF;;;;;;GAMG;AACH,0CAEE;AAEF;;;;;;GAMG;AACH,sCAAwE;AAExE;;;;;;;GAOG;AACH,kCAKE;AAEF;;;;;;;GAOG;AACH,6CAKE;AAEF;;;;;;;;GAQG;AACH,qCAKE;AAEF;;;;;;;;GAQG;AACH,qCASE;AACF;;;;;;;GAOG;AACH,0CAKE;AAEF;;;;GAIG;AACH,sCAAwE;AAExE;;;;GAIG;AACH,qCAKE;AAEF;;;;GAIG;AACH,oCAKE;AAEF;;;;GAIG;AACH,sCAAwE;AAExE;;;;;;;GAOG;AACH,mCAAkE;AAElE;;;;GAIG;AACH,oCAAoE;AAEpE;;;;GAIG;AACH,kCAAgE;AAEhE;;;;GAIG;AACH,kCAAgE;AAEhE;;;;;;;;;;;;;;;;GAgBG;AACH,2CAKE;AAEF;;;;;;GAMG;AACH,iCAGE;AAEF;;;;;;;GAOG;AACH,iCAA8D;AAE9D;;;;;;;;;;;;;;GAcG;AAEH,kCAKE;AAEF;;;;;;;;;;;;;;;;;GAiBG;AACH,iCAWE;AAEF;;;;;;;;;;GAUG;AACH,iCAKE;AAEF;;;;;GAKG;AACH,sCAAwE;AAExE;;;;;;;;;;;;GAYG;AACH,0CAKE;AAEF;;;;;;;;;GASG;AACH,oCAAoE;AAEpE;;;;;;;GAOG;AACH,0CAKE"}