@appcues/web-sdk 7.22.2 → 7.23.13

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 (361) hide show
  1. package/CHANGELOG.md +97 -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.CvUM9SYs.js +11962 -0
  47. package/build/bootstrap.npm.d.ts +2 -0
  48. package/build/bootstrap.npm.d.ts.map +1 -0
  49. package/build/checklist.004bd22db55d851f50945b88f28d0afa81e23405.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.CUx6hN0B.js +119 -0
  59. package/build/container.004bd22db55d851f50945b88f28d0afa81e23405.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.004bd22db55d851f50945b88f28d0afa81e23405.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.004bd22db55d851f50945b88f28d0afa81e23405.css +1 -0
  107. package/build/open-builder.BxCqW7tw.js +8252 -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 +16 -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.004bd22db55d851f50945b88f28d0afa81e23405.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.004bd22db55d851f50945b88f28d0afa81e23405.css +1 -0
  190. package/build/tooltip.004bd22db55d851f50945b88f28d0afa81e23405.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/create-appcues.d.ts +4 -0
  198. package/build/utils/create-appcues.d.ts.map +1 -0
  199. package/build/utils/create-reporter.d.ts +2 -0
  200. package/build/utils/create-reporter.d.ts.map +1 -0
  201. package/build/utils/data-selectors.d.ts +122 -0
  202. package/build/utils/data-selectors.d.ts.map +1 -0
  203. package/build/utils/delay.d.ts +9 -0
  204. package/build/utils/delay.d.ts.map +1 -0
  205. package/build/utils/dom.d.ts +160 -0
  206. package/build/utils/dom.d.ts.map +1 -0
  207. package/build/utils/embed-grouping.d.ts +23 -0
  208. package/build/utils/embed-grouping.d.ts.map +1 -0
  209. package/build/utils/escape.d.ts +12 -0
  210. package/build/utils/escape.d.ts.map +1 -0
  211. package/build/utils/evaluate-selector.d.ts +4 -0
  212. package/build/utils/evaluate-selector.d.ts.map +1 -0
  213. package/build/utils/flow-performance.d.ts +19 -0
  214. package/build/utils/flow-performance.d.ts.map +1 -0
  215. package/build/utils/flow-selectors.d.ts +52 -0
  216. package/build/utils/flow-selectors.d.ts.map +1 -0
  217. package/build/utils/generate-uuid.d.ts +7 -0
  218. package/build/utils/generate-uuid.d.ts.map +1 -0
  219. package/build/utils/generated-properties.d.ts +27 -0
  220. package/build/utils/generated-properties.d.ts.map +1 -0
  221. package/build/utils/handle-navigation.d.ts +2 -0
  222. package/build/utils/handle-navigation.d.ts.map +1 -0
  223. package/build/utils/humanize.d.ts +15 -0
  224. package/build/utils/humanize.d.ts.map +1 -0
  225. package/build/utils/iframes.d.ts +3 -0
  226. package/build/utils/iframes.d.ts.map +1 -0
  227. package/build/utils/is.d.ts +8 -0
  228. package/build/utils/is.d.ts.map +1 -0
  229. package/build/utils/lazy-loading.d.ts +2 -0
  230. package/build/utils/lazy-loading.d.ts.map +1 -0
  231. package/build/utils/links.d.ts +16 -0
  232. package/build/utils/links.d.ts.map +1 -0
  233. package/build/utils/location.d.ts +8 -0
  234. package/build/utils/location.d.ts.map +1 -0
  235. package/build/utils/pending-experience-events.d.ts +31 -0
  236. package/build/utils/pending-experience-events.d.ts.map +1 -0
  237. package/build/utils/query.d.ts +4 -0
  238. package/build/utils/query.d.ts.map +1 -0
  239. package/build/utils/render-contexts.d.ts +6 -0
  240. package/build/utils/render-contexts.d.ts.map +1 -0
  241. package/build/utils/selector-utils.d.ts +13 -0
  242. package/build/utils/selector-utils.d.ts.map +1 -0
  243. package/build/utils/show-powered-by.d.ts +9 -0
  244. package/build/utils/show-powered-by.d.ts.map +1 -0
  245. package/build/utils/store.d.ts +23 -0
  246. package/build/utils/store.d.ts.map +1 -0
  247. package/build/utils/temp-store.d.ts +5 -0
  248. package/build/utils/temp-store.d.ts.map +1 -0
  249. package/build/utils/test-mode.d.ts +3 -0
  250. package/build/utils/test-mode.d.ts.map +1 -0
  251. package/build/utils/time.d.ts +6 -0
  252. package/build/utils/time.d.ts.map +1 -0
  253. package/build/utils/trigger-content-changes.d.ts +20 -0
  254. package/build/utils/trigger-content-changes.d.ts.map +1 -0
  255. package/build/utils/url.d.ts +7 -0
  256. package/build/utils/url.d.ts.map +1 -0
  257. package/build/utils/validate-form-fields.d.ts +20 -0
  258. package/build/utils/validate-form-fields.d.ts.map +1 -0
  259. package/build/utils/vnode.d.ts +102 -0
  260. package/build/utils/vnode.d.ts.map +1 -0
  261. package/build/utils/widget.d.ts +10 -0
  262. package/build/utils/widget.d.ts.map +1 -0
  263. package/build/views/callbacks/checklist-callbacks.d.ts +20 -0
  264. package/build/views/callbacks/checklist-callbacks.d.ts.map +1 -0
  265. package/build/views/callbacks/common-callbacks.d.ts +45 -0
  266. package/build/views/callbacks/common-callbacks.d.ts.map +1 -0
  267. package/build/views/callbacks/debugger-callbacks.d.ts +6 -0
  268. package/build/views/callbacks/debugger-callbacks.d.ts.map +1 -0
  269. package/build/views/callbacks/hotspots-callbacks.d.ts +18 -0
  270. package/build/views/callbacks/hotspots-callbacks.d.ts.map +1 -0
  271. package/build/views/callbacks/modal-callbacks.d.ts +26 -0
  272. package/build/views/callbacks/modal-callbacks.d.ts.map +1 -0
  273. package/build/views/callbacks/sequential-hotspots-callbacks.d.ts +38 -0
  274. package/build/views/callbacks/sequential-hotspots-callbacks.d.ts.map +1 -0
  275. package/build/views/callbacks/survey-callbacks.d.ts +16 -0
  276. package/build/views/callbacks/survey-callbacks.d.ts.map +1 -0
  277. package/build/views/callbacks/test-mode-callbacks.d.ts +15 -0
  278. package/build/views/callbacks/test-mode-callbacks.d.ts.map +1 -0
  279. package/build/views/callbacks/widget-callbacks.d.ts +15 -0
  280. package/build/views/callbacks/widget-callbacks.d.ts.map +1 -0
  281. package/build/views/components/annotations.d.ts +13 -0
  282. package/build/views/components/annotations.d.ts.map +1 -0
  283. package/build/views/components/background.d.ts +6 -0
  284. package/build/views/components/background.d.ts.map +1 -0
  285. package/build/views/components/beacon-outline-styling.d.ts +3 -0
  286. package/build/views/components/beacon-outline-styling.d.ts.map +1 -0
  287. package/build/views/components/beacons.d.ts +12 -0
  288. package/build/views/components/beacons.d.ts.map +1 -0
  289. package/build/views/components/button.d.ts +11 -0
  290. package/build/views/components/button.d.ts.map +1 -0
  291. package/build/views/components/checklist-beacon.d.ts +3 -0
  292. package/build/views/components/checklist-beacon.d.ts.map +1 -0
  293. package/build/views/components/checklist-icons.d.ts +18 -0
  294. package/build/views/components/checklist-icons.d.ts.map +1 -0
  295. package/build/views/components/checklist-item.d.ts +3 -0
  296. package/build/views/components/checklist-item.d.ts.map +1 -0
  297. package/build/views/components/checklist.d.ts +3 -0
  298. package/build/views/components/checklist.d.ts.map +1 -0
  299. package/build/views/components/content-outline-styling.d.ts +3 -0
  300. package/build/views/components/content-outline-styling.d.ts.map +1 -0
  301. package/build/views/components/debugger.d.ts +14 -0
  302. package/build/views/components/debugger.d.ts.map +1 -0
  303. package/build/views/components/empty.d.ts +6 -0
  304. package/build/views/components/empty.d.ts.map +1 -0
  305. package/build/views/components/global-styling.d.ts +5 -0
  306. package/build/views/components/global-styling.d.ts.map +1 -0
  307. package/build/views/components/hotspot.d.ts +36 -0
  308. package/build/views/components/hotspot.d.ts.map +1 -0
  309. package/build/views/components/logo.d.ts +6 -0
  310. package/build/views/components/logo.d.ts.map +1 -0
  311. package/build/views/components/modal-step.d.ts +5 -0
  312. package/build/views/components/modal-step.d.ts.map +1 -0
  313. package/build/views/components/nps-survey-qualitative-question.d.ts +5 -0
  314. package/build/views/components/nps-survey-qualitative-question.d.ts.map +1 -0
  315. package/build/views/components/nps-survey-quantitative-option.d.ts +2 -0
  316. package/build/views/components/nps-survey-quantitative-option.d.ts.map +1 -0
  317. package/build/views/components/nps-survey-quantitative-question.d.ts +5 -0
  318. package/build/views/components/nps-survey-quantitative-question.d.ts.map +1 -0
  319. package/build/views/components/nps-survey-toast.d.ts +2 -0
  320. package/build/views/components/nps-survey-toast.d.ts.map +1 -0
  321. package/build/views/components/nps-survey.d.ts +2 -0
  322. package/build/views/components/nps-survey.d.ts.map +1 -0
  323. package/build/views/components/powered-by-appcues.d.ts +14 -0
  324. package/build/views/components/powered-by-appcues.d.ts.map +1 -0
  325. package/build/views/components/test-mode-banner.d.ts +3 -0
  326. package/build/views/components/test-mode-banner.d.ts.map +1 -0
  327. package/build/views/components/tooltip.d.ts +4 -0
  328. package/build/views/components/tooltip.d.ts.map +1 -0
  329. package/build/views/renderers/render-checklist.d.ts +3 -0
  330. package/build/views/renderers/render-checklist.d.ts.map +1 -0
  331. package/build/views/renderers/render-debugger.d.ts +3 -0
  332. package/build/views/renderers/render-debugger.d.ts.map +1 -0
  333. package/build/views/renderers/render-hotspots.d.ts +2 -0
  334. package/build/views/renderers/render-hotspots.d.ts.map +1 -0
  335. package/build/views/renderers/render-modal.d.ts +10 -0
  336. package/build/views/renderers/render-modal.d.ts.map +1 -0
  337. package/build/views/renderers/render-satisfaction-survey.d.ts +10 -0
  338. package/build/views/renderers/render-satisfaction-survey.d.ts.map +1 -0
  339. package/build/views/renderers/render-test-mode-banner.d.ts +2 -0
  340. package/build/views/renderers/render-test-mode-banner.d.ts.map +1 -0
  341. package/build/views/renderers/render-widget-icon.d.ts +10 -0
  342. package/build/views/renderers/render-widget-icon.d.ts.map +1 -0
  343. package/build/views/renderers/render-widget.d.ts +3 -0
  344. package/build/views/renderers/render-widget.d.ts.map +1 -0
  345. package/build/views/setup-view.d.ts +11 -0
  346. package/build/views/setup-view.d.ts.map +1 -0
  347. package/build/views/setup-widget.d.ts +11 -0
  348. package/build/views/setup-widget.d.ts.map +1 -0
  349. package/package.json +7 -6
  350. package/build/bootstrap.npm.DVu00o0l.js +0 -15505
  351. package/build/checklist.045d5c27f0910d4361d7c1398c89d399dee2edb5.css +0 -1
  352. package/build/container.045d5c27f0910d4361d7c1398c89d399dee2edb5.css +0 -1
  353. package/build/debugger.045d5c27f0910d4361d7c1398c89d399dee2edb5.css +0 -1
  354. package/build/index.C4xtQVZQ.js +0 -2152
  355. package/build/index.npm.B4soqbH3.js +0 -339
  356. package/build/modal.045d5c27f0910d4361d7c1398c89d399dee2edb5.css +0 -1
  357. package/build/open-builder.CqAPcpHg.js +0 -10172
  358. package/build/satisfaction-survey.045d5c27f0910d4361d7c1398c89d399dee2edb5.css +0 -1
  359. package/build/test-mode.045d5c27f0910d4361d7c1398c89d399dee2edb5.css +0 -1
  360. package/build/tooltip.045d5c27f0910d4361d7c1398c89d399dee2edb5.css +0 -1
  361. /package/build/{modal-step-legacy-render.045d5c27f0910d4361d7c1398c89d399dee2edb5.css → modal-step-legacy-render.004bd22db55d851f50945b88f28d0afa81e23405.css} +0 -0
package/CHANGELOG.md CHANGED
@@ -1,5 +1,102 @@
1
1
  # @appcues/web-sdk
2
2
 
3
+ ## 7.23.12
4
+
5
+ ### Patch Changes
6
+
7
+ - a4924ba: Fix the SDK NPM package build under TypeScript 6 (type declaration generation). Internal build tooling change with no functional impact.
8
+
9
+ ## 7.23.11
10
+
11
+ ### Patch Changes
12
+
13
+ - 0420856: Internal build safeguard to prevent AMD module-loader conflicts in the Appcues SDK
14
+
15
+ ## 7.23.10
16
+
17
+ ### Patch Changes
18
+
19
+ - 5c8e5c8: Internal: stabilize the overlay trait unit tests (no change to experience behavior)
20
+
21
+ ## 7.23.9
22
+
23
+ ### Patch Changes
24
+
25
+ - c837ff4: Ensure stable selectors for clickstream and CTT events
26
+
27
+ ## 7.23.8
28
+
29
+ ### Patch Changes
30
+
31
+ - 30d8a65: CI: ensure the standalone E2E required check always reports a status so PRs that touch no standalone paths can merge
32
+
33
+ ## 7.23.7
34
+
35
+ ### Patch Changes
36
+
37
+ - 0c9a836: Fix themed Flow 2.0 modals losing corner radius when backdrop is enabled.
38
+
39
+ ## 7.23.6
40
+
41
+ ### Patch Changes
42
+
43
+ - f0b9c44: Fix Appcues experiences failing to load on sites that use an AMD module loader such as Dojo
44
+
45
+ ## 7.23.5
46
+
47
+ ### Patch Changes
48
+
49
+ - 6d1141b: Fixes tooltip positioning for iframe lazy-loaded elements
50
+ - 6d1141b: Fix action binding for lazy-loaded elements
51
+
52
+ ## 7.23.4
53
+
54
+ ### Patch Changes
55
+
56
+ - 974ad34: Fix extension failing to load by registering the service worker as an ES module.
57
+
58
+ ## 7.23.3
59
+
60
+ ### Patch Changes
61
+
62
+ - 0d77849: Improve testing infrastructure
63
+
64
+ ## 7.23.2
65
+
66
+ ### Patch Changes
67
+
68
+ - 62d2dfc: Upgrade Vite from 7.x to 8.x and update compatible plugins
69
+
70
+ ## 7.23.1
71
+
72
+ ### Patch Changes
73
+
74
+ - b59543c: Fixes scroll jump issue for Tooltips without or invalid selectors
75
+
76
+ ## 7.23.0
77
+
78
+ ### Minor Changes
79
+
80
+ - bbf91c6: Support multiple target elements for custom event tracking
81
+
82
+ ## 7.22.4
83
+
84
+ ### Patch Changes
85
+
86
+ - 7416137: Fix step_seen analytics firing for steps that never rendered (e.g. tooltips with broken or missing anchor selectors). These no longer count as Shown in step analytics.
87
+
88
+ ## 7.22.3
89
+
90
+ ### Patch Changes
91
+
92
+ - 29f7d79: Update Typescript to 6.0.3
93
+
94
+ ## 7.22.2
95
+
96
+ ### Patch Changes
97
+
98
+ - 045d5c2: Refreshes the Studio theme in the builder with updated typography, colors, and component styling to match the new brand identity. The Light theme is unchanged.
99
+
3
100
  ## 7.22.1
4
101
 
5
102
  ### Patch Changes
@@ -0,0 +1,46 @@
1
+ export const RootActions: {
2
+ [x: string]: string;
3
+ };
4
+ export const CoreActions: {
5
+ [x: string]: string;
6
+ };
7
+ export const CommonViewActions: {
8
+ [x: string]: string;
9
+ };
10
+ export const ModalActions: {
11
+ [x: string]: string;
12
+ };
13
+ export const SatisfactionSurveyActions: {
14
+ [x: string]: string;
15
+ };
16
+ export const AnnotationsActions: {
17
+ [x: string]: string;
18
+ };
19
+ export const HotspotsActions: {
20
+ [x: string]: string;
21
+ };
22
+ export const ChecklistActions: {
23
+ [x: string]: string;
24
+ };
25
+ export const DebuggerActions: {
26
+ [x: string]: string;
27
+ };
28
+ export const TestModeActions: {
29
+ [x: string]: string;
30
+ };
31
+ export const WidgetActions: {
32
+ [x: string]: string;
33
+ };
34
+ export const ExperienceActions: {
35
+ [x: string]: string;
36
+ };
37
+ export const SessionActions: {
38
+ [x: string]: string;
39
+ };
40
+ export const CollisionModeActions: {
41
+ [x: string]: string;
42
+ };
43
+ export const LaunchpadActions: {
44
+ [x: string]: string;
45
+ };
46
+ //# sourceMappingURL=action-types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"action-types.d.ts","sourceRoot":"","sources":["../../src/scripts/actions/action-types.js"],"names":[],"mappings":"AAMA;;EA4BG;AAGH;;EAqCG;AAGH;;EAkBG;AAGH;;EAA2E;AAG3E;;EAYG;AAGH;;EAiBG;AAGH;;EAKG;AAGH;;EAsBG;AAGH;;EAQG;AAEH;;EAIG;AAEH;;EAKG;AAEH;;EAOG;AAEH;;EAIG;AAEH;;EAAgE;AAEhE;;EAGG"}
@@ -0,0 +1,121 @@
1
+ /**
2
+ * An action creator for ADD_ACTIVE_ANNOTATIONS actions.
3
+ *
4
+ * @param {Array} annotations List of annotations to add.
5
+ *
6
+ * @return {object} An ADD_ACTIVE_ANNOTATIONS action object.
7
+ */
8
+ export const addActiveAnnotations: Function;
9
+ /**
10
+ * An action creator for REMOVE_ACTIVE_ANNOTATIONS actions.
11
+ *
12
+ * @param {Array} annotations List of annotations to remove.
13
+ *
14
+ * @return {object} A REMOVE_ACTIVE_ANNOTATIONS action object.
15
+ */
16
+ export const removeActiveAnnotations: Function;
17
+ /**
18
+ * An action creator for HIDE_AND_REMOVE_ACTIVE_ANNOTATIONS actions
19
+ *
20
+ * @param {Array} annotationIds List of annotations to remove
21
+ *
22
+ * @return {object} a HIDE_AND_REMOVE_ACTIVE_ANNOTATIONS action object.
23
+ */
24
+ export const hideAndRemoveActiveAnnotations: Function;
25
+ /**
26
+ * An action creator for SET_ACTIVE_ANNOTATIONS_WILL_CLOSE actions
27
+ *
28
+ * @param {Array} List of annotations that will soon be removed.
29
+ *
30
+ * @return {object} a SET_ACTIVE_ANNOTATIONS_WILL_CLOSE action object.
31
+ */
32
+ export const setActiveAnnotationsWillClose: Function;
33
+ /**
34
+ * An action creator for START_CALCULATE_POSITIONS actions.
35
+ *
36
+ * @return {object} A START_CALCULATE_POSITIONS action object.
37
+ */
38
+ export const startCalculatePositions: Function;
39
+ /**
40
+ * An action creator for START_HANDLE_POSITION_UPDATE actions.
41
+ *
42
+ * @param {object} positions Hash of annotationIds to position objects or
43
+ * errors objects representing an error finding the position for the given
44
+ * annotation.
45
+ *
46
+ * @return {object} A START_HANDLE_POSITION_UPDATE action object.
47
+ */
48
+ export const startHandlePositionUpdates: Function;
49
+ /**
50
+ * An action creator for SET_ANNOTATIONS_POSITIONS actions.
51
+ *
52
+ * @param {object} positions Hash of annotationIds to position objects or
53
+ * errors objects representing an error finding the position for the given
54
+ * annotation.
55
+ *
56
+ * @return {object} A SET_ANNOTATIONS_POSITIONS action object.
57
+ */
58
+ export const setAnnotationsPositions: Function;
59
+ /**
60
+ * An action creator for SET_ANNOTATIONS_READY actions.
61
+ *
62
+ * @return {object} A SET_ANNOTATIONS_READY action object.
63
+ */
64
+ export const setAnnotationsReady: Function;
65
+ export const setIsScrollingToAnnotation: Function;
66
+ /**
67
+ * An action creator for SAVE_POSITION_DETAILS actions. This is used to save
68
+ * calculated position details in state so we can be more efficient about
69
+ * triggering position updates.
70
+ *
71
+ * @return {object} A SAVE_POSITION_DETAILS action object.
72
+ */
73
+ export const savePositionDetails: Function;
74
+ /**
75
+ * An action creator for REPORTED_ANNOTATIONS_ERRORS actions. This is used to
76
+ * set the `errorReported` property in step children state so that we don't
77
+ * report errors over and over again.
78
+ *
79
+ * @param {Array} ids The IDs of the step children that had errors reported.
80
+ *
81
+ * @return {object} A REPORTED_ANNOTATIONS_ERRORS action object.
82
+ */
83
+ export const reportedErrors: Function;
84
+ /**
85
+ * An action creator for REPORTED_ANNOTATIONS_RECOVERY actions. This is used to
86
+ * set the `recoveryReported` property of step children so that we don't send
87
+ * multiple recovery events for each.
88
+ *
89
+ * @param {Array} ids The IDs of the step children that recovered.
90
+ *
91
+ * @return {object} A REPORTED_ANNOTATIONS_RECOVERY action object.
92
+ */
93
+ export const reportedRecovery: Function;
94
+ /**
95
+ * An action creator for SET_EXISTING_ANNOTATIONS_ERRORS actions. This is used
96
+ * to set "existing errors" under "reportedErrors" in state.
97
+ *
98
+ * @param {object} errors Hash of annotation child IDs to existing error details.
99
+ *
100
+ * @return {object} a SET_EXISTING_ANNOTATIONS_ERRORS action object.
101
+ */
102
+ export const setExistingErrors: Function;
103
+ /**
104
+ * An action creator for SET_TOOLTIP_SETTLED actions. This is used to make sure the user doesn't see their
105
+ * tooltip annotation "dance" while it is being rapidly re-sized and placed.
106
+ *
107
+ * @param {string} the annotation stepChildId
108
+ * @param {boolean} the new value for `currentContent.annotationState.stepId.isTooltipSettled`
109
+ * @return {object} a SET_TOOLTIP_SETTLED action object.
110
+ */
111
+ export const setTooltipSettled: Function;
112
+ /**
113
+ *
114
+ * @param {string} stepId
115
+ * @param {string} currentStepChildId
116
+ * @param {number} nextStepIndex
117
+ *
118
+ * @return {object} A GO_TO_STEP action object.
119
+ */
120
+ export const goToStep: Function;
121
+ //# sourceMappingURL=annotations-actions.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"annotations-actions.d.ts","sourceRoot":"","sources":["../../src/scripts/actions/annotations-actions.js"],"names":[],"mappings":"AAGA;;;;;;GAMG;AACH,4CAEE;AAEF;;;;;;GAMG;AACH,+CAEE;AAEF;;;;;;GAMG;AACH,sDAEE;AAEF;;;;;;GAMG;AACH,qDAEE;AAEF;;;;GAIG;AACH,+CAEE;AAEF;;;;;;;;GAQG;AACH,kDAEE;AAEF;;;;;;;;GAQG;AACH,+CAEE;AAEF;;;;GAIG;AACH,2CAEE;AAEF,kDAKE;AAEF;;;;;;GAMG;AACH,2CAEE;AAEF;;;;;;;;GAQG;AACH,sCAEE;AAEF;;;;;;;;GAQG;AACH,wCAEE;AAEF;;;;;;;GAOG;AACH,yCAEE;AAEF;;;;;;;GAOG;AACH,yCAKE;AAEF;;;;;;;GAOG;AACH,gCAKE"}
@@ -0,0 +1,199 @@
1
+ /**
2
+ * An action to trigger the process of showing a checklist.
3
+ *
4
+ * @param {object} checklist The checklist we're starting
5
+ *
6
+ * @return {object} A START_CHECKLIST action object
7
+ */
8
+ export const startChecklist: Function;
9
+ /**
10
+ * An action to prepare the state of checklist when it's ready to be rendered.
11
+ *
12
+ * @param {string} id The ID of the checklist to update
13
+ *
14
+ * @param {string} status The ContentStatus value to set
15
+ *
16
+ * @return {object} A SET_CHECKLIST_STATUS action object
17
+ */
18
+ export const setChecklistStatus: Function;
19
+ /**
20
+ * Updates checklists that are stored in Redux state.
21
+ *
22
+ * @param {Array} checklists The list of checklist objects
23
+ *
24
+ * @return {object} An UPDATE_CHECKLISTS action object.
25
+ */
26
+ export const updateChecklists: Function;
27
+ /**
28
+ * Hides checklists that are stored in Redux state.
29
+ *
30
+ * @param {Array} checklists The list of checklist objects
31
+ *
32
+ * @return {object} An HIDE_CHECKLISTS action object.
33
+ */
34
+ export const setChecklistsToHiding: Function;
35
+ /**
36
+ * Unhides checklists that are stored in Redux state.
37
+ *
38
+ * @param {Array} checklists The list of checklist objects
39
+ *
40
+ * @return {object} An UNHIDE_CHECKLISTS action object.
41
+ */
42
+ export const unhideChecklists: Function;
43
+ /**
44
+ * An action to set the first view state (for slide-in animation) of the checklist.
45
+ *
46
+ * @param {object} checklist The checklist we're starting
47
+ *
48
+ * @return {object} An ANIMATE_IN_CHECKLIST action object
49
+ */
50
+ export const animateInChecklist: Function;
51
+ /**
52
+ * An action to set the expanded state of the checklist.
53
+ *
54
+ * @param {string} checklistId The ID of the checklist to expand
55
+ *
56
+ * @return {object} An EXPAND_CHECKLIST action object
57
+ */
58
+ export const expandChecklist: Function;
59
+ /**
60
+ * An action to set the collapsed state of the checklist.
61
+ *
62
+ * @param {string} checklistId The ID of the checklist to collapse
63
+ *
64
+ * @return {object} A COLLAPSE_CHECKLIST action object
65
+ */
66
+ export const collapseChecklist: Function;
67
+ /**
68
+ * An action to set state to try to expand checklist after unhiding
69
+ *
70
+ * @param {string} checklistId The ID of the checklist to expand later
71
+ *
72
+ * @param {bool} shouldTryExpandChecklist should/should not expand checklist
73
+ *
74
+ * @return {object} An SET_EXPAND_CHECKLIST_LATER action object
75
+ */
76
+ export const setExpandChecklistAfterUnhide: Function;
77
+ /**
78
+ * An action to set the show dismiss confirmation state of the checklist.
79
+ *
80
+ * @param {string} checklistId The ID of the checklist to show confirmation
81
+ *
82
+ * @return {object} A SHOW_DISMISS_CONFIRMATION action object
83
+ */
84
+ export const showDismissConfirmation: Function;
85
+ /**
86
+ * An action to set the show dismiss confirmation state of the checklist to false.
87
+ *
88
+ * @param {string} checklistId The ID of the checklist to show confirmation
89
+ *
90
+ * @return {object} A CANCEL_DISMISS_CONFIRMATION action object
91
+ */
92
+ export const cancelDismissConfirmation: Function;
93
+ /**
94
+ * An action to confirm dismissal of the checklist.
95
+ *
96
+ * @param {string} checklistId The ID of the checklist to confirm dismiss
97
+ *
98
+ * @param {string} checklistName The name of the checklist to confirm dismiss
99
+ *
100
+ * @param {bool} didCompleteChecklist Completion/non-completion of checklist
101
+ *
102
+ * @return {object} A SHOW_DISMISS_CONFIRMATION action object
103
+ */
104
+ export const confirmDismissChecklist: Function;
105
+ /**
106
+ * An action creator for LOADED_CHECKLIST_CSS action. This is used to indicate when the
107
+ * CSS for a piece of content that we're rendering has loaded and we can safely
108
+ * show the content without a flash of unstyled content.
109
+ *
110
+ * @param {string} checklistId The ID of the checklist the CSS is for
111
+ *
112
+ * @return {object} A LOADED_CHECKLIST_CSS action object
113
+ */
114
+ export const loadedCSS: Function;
115
+ /**
116
+ * An action creator for SEND_CHECKLIST_ERROR action. This is used to send an
117
+ * an checklist error to bugsnag.
118
+ *
119
+ * @return {object} A SEND_CHECKLIST_ERROR action object
120
+ */
121
+ export const sendChecklistError: Function;
122
+ /**
123
+ * An action creator for START_CHECKLIST_ITEM action.
124
+ *
125
+ * @param {string} checklistId The ID of the checklist the item is in
126
+ *
127
+ * @param {string} itemId The ID of the checklist item to start
128
+ *
129
+ * @param {number} actionIndex Index of the actions to start/resume
130
+ *
131
+ * @return {object} A START_CHECKLIST_ITEM action object
132
+ */
133
+ export const startChecklistItem: Function;
134
+ /**
135
+ * An action creator for START_CHECKLIST_ACTION action objects. This is used
136
+ * to start the process of performing the action defined in the action step.
137
+ *
138
+ * @param {object} action The checklist/action object to resume
139
+ *
140
+ * @param {string} checklistId ID of the checklist of the current action
141
+ *
142
+ * @param {string} itemId ID of the item of the current action
143
+ *
144
+ * @param {number} actionIndex Index of the current action
145
+ *
146
+ * @return {object} A START_CHECKLIST_ACTION action object
147
+ */
148
+ export const startChecklistAction: Function;
149
+ /**
150
+ * An action creator for COMPLETED_CHECKLIST_ACTION action objects. This is used
151
+ * to complete the process of performing the current checklist item action.
152
+ * Subsequent actions will continue after this action.
153
+ *
154
+ * @param {object} action The checklist/action object to resume
155
+ *
156
+ * @param {string} checklistId ID of the checklist of the current action
157
+ *
158
+ * @param {string} itemId ID of the item of the current action
159
+ *
160
+ * @param {number} actionIndex Index of the current action
161
+ *
162
+ * @return {object} A COMPLETED_CHECKLIST_ACTION action object
163
+ */
164
+ export const completeChecklistAction: Function;
165
+ /**
166
+ * An action to set height of the checklist frame.
167
+ *
168
+ * @param {string} id The ID of the checklist to update
169
+ *
170
+ * @param {number} height The height in pixels at which to set the checklist
171
+ *
172
+ * @return {object} A SET_CHECKLIST_HEIGHT action object
173
+ */
174
+ export const setChecklistHeight: Function;
175
+ /**
176
+ * An action to set width of the checklist frame.
177
+ *
178
+ * @param {string} id The ID of the checklist to update
179
+ *
180
+ * @param {number} width The width in pixels at which to set the checklist
181
+ *
182
+ * @return {object} A SET_CHECKLIST_WIDTH action object
183
+ */
184
+ export const setChecklistWidth: Function;
185
+ /**
186
+ * Action creator for the checklist action CLEAR_FORCE_SHOWN_CHECKLIST.
187
+ *
188
+ * @return {object} A CLEAR_FORCE_SHOWN_CHECKLIST action object.
189
+ */
190
+ export const clearShow: Function;
191
+ /**
192
+ * An action to send a checklist shown event.
193
+ *
194
+ * @param {string} checklistId The ID of the checklist to collapse
195
+ *
196
+ * @return {object} A SEND_CHECKLIST_SHOWN_EVENT action object
197
+ */
198
+ export const sendChecklistShownEventAction: Function;
199
+ //# sourceMappingURL=checklist-actions.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"checklist-actions.d.ts","sourceRoot":"","sources":["../../src/scripts/actions/checklist-actions.js"],"names":[],"mappings":"AAGA;;;;;;GAMG;AACH,sCAA6E;AAE7E;;;;;;;;GAQG;AACH,0CAKE;AAEF;;;;;;GAMG;AACH,wCAEE;AAEF;;;;;;GAMG;AACH,6CAEE;AAEF;;;;;;GAMG;AACH,wCAEE;AAEF;;;;;;GAMG;AACH,0CAEE;AAEF;;;;;;GAMG;AACH,uCAKE;AAEF;;;;;;GAMG;AACH,yCAKE;AAEF;;;;;;;;GAQG;AACH,qDAKE;AAEF;;;;;;GAMG;AACH,+CAKE;AAEF;;;;;;GAMG;AACH,iDAKE;AAEF;;;;;;;;;;GAUG;AACH,+CAKE;AAEF;;;;;;;;GAQG;AACH,iCAKE;AAEF;;;;;GAKG;AACH,0CAEE;AAEF;;;;;;;;;;GAUG;AACH,0CAKE;AAEF;;;;;;;;;;;;;GAaG;AACH,4CAKE;AAEF;;;;;;;;;;;;;;GAcG;AACH,+CAKE;AAEF;;;;;;;;GAQG;AACH,0CAKE;AAEF;;;;;;;;GAQG;AACH,yCAKE;AAEF;;;;GAIG;AACH,iCAEE;AAEF;;;;;;GAMG;AACH,qDAKE"}
@@ -0,0 +1,9 @@
1
+ /**
2
+ * An action to update the collision mode flag in the store.
3
+ *
4
+ * @param {boolean} mode The collision mode flag value
5
+ * @return {object} A SET_COLLISION_MODE action object
6
+ *
7
+ */
8
+ export const setCollisionMode: Function;
9
+ //# sourceMappingURL=collision-mode-actions.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"collision-mode-actions.d.ts","sourceRoot":"","sources":["../../src/scripts/actions/collision-mode-actions.js"],"names":[],"mappings":"AAGA;;;;;;GAMG;AACH,wCAEE"}
@@ -0,0 +1,124 @@
1
+ /**
2
+ * An action creator for INVALIDATE_FORM actions. Represents when a form failed
3
+ * validation.
4
+ *
5
+ * @param {Array} failed Validations A list of failed validation objects with the
6
+ *
7
+ * @return {object} An INVALIDATE_FORM action object.
8
+ */
9
+ export const invalidateForm: Function;
10
+ /**
11
+ * An action creator for LOADED_CSS actions. This is used to indicate when the
12
+ * CSS for a piece of content that we're rendering has loaded and we can safely
13
+ * show the content without a flash of unstyled content.
14
+ *
15
+ * @param {string} contentId The ID of the content that the CSS is for.
16
+ *
17
+ * @return {object} A LOADED_CSS action object.
18
+ */
19
+ export const loadedCSS: Function;
20
+ /**
21
+ * An action creator for RESIZE_CONTENT actions.
22
+ *
23
+ * @param {string} id the ID of the step child to resize.
24
+ * @param {object} size Object with height and width properties.
25
+ *
26
+ * @return {object} A RESIZE_CONTENT action object.
27
+ */
28
+ export const resizeContent: Function;
29
+ /**
30
+ * Should be dispatched when a step child has been activated.
31
+ *
32
+ * @param {string} stepChildId The ID of the step child that was activated.
33
+ * @param {Date} timestamp The time at which the step child was deactivated.
34
+ *
35
+ * @return {object} An ACTIVATED_STEP_CHILD action.
36
+ */
37
+ export const activatedStepChild: Function;
38
+ /**
39
+ * Should be dispatched when a step child has been deactivated.
40
+ *
41
+ * @param {string} stepChildId The ID of the step child that was deactivated.
42
+ *
43
+ * @return {object} A DEACTIVATED_STEP_CHILD action.
44
+ */
45
+ export const deactivatedStepChild: Function;
46
+ /**
47
+ * Sets the currently active step child.
48
+ *
49
+ * @param {string} stepChildId The ID of the step child to set as the current.
50
+ *
51
+ * @return {object} A SET_CURRENT_STEP_CHILD action.
52
+ */
53
+ export const setCurrentStepChild: Function;
54
+ /**
55
+ * Clears the currently active step child.
56
+ *
57
+ * @return {object} A CLEAR_CURRENT_STEP_CHILD action.
58
+ */
59
+ export const clearCurrentStepChild: Function;
60
+ /**
61
+ * Action creator for SET_CURRENT_STEP actions, which are used to set the
62
+ * current content ID. This will start the process of displaying a particular
63
+ * step on the page.
64
+ *
65
+ * @param {string} id The ID of the step to make current.
66
+ *
67
+ * @return {object} A SET_CURRENT_STEP action object.
68
+ */
69
+ export const setCurrentStep: Function;
70
+ /**
71
+ * Action creator for ADVANCE_STEP_CHILD actions, which are used trigger the
72
+ * process of advancing a step child. This is handled differently for different
73
+ * content types.
74
+ *
75
+ * @param {string} contentType The ContentType of this step child.
76
+ * @param {object} step The the step object that is the parent of the
77
+ * step child we're advancing from.
78
+ * @param {string} childId The ID of step child we're advancing from.
79
+ * @param {string} nextChildId The ID of the step child to advance to, or null
80
+ * if there's no step child to advance to.
81
+ *
82
+ * @return {object} An ADVANCE_STEP_CHILD action object.
83
+ */
84
+ export const advanceStepChild: Function;
85
+ export const runPrevStepChild: Function;
86
+ /**
87
+ * Action creator for CLOSE_STEP actions, which are used to remove the specifed
88
+ * step from current content.
89
+ *
90
+ * @param {string} flowId
91
+ * @param {string} stepId
92
+ *
93
+ * @return {object} A CLOSE_STEP action object.
94
+ */
95
+ export const closeStep: Function;
96
+ /**
97
+ * Action creator for the CLOSE_FLOW action.
98
+ *
99
+ * @param {string} flowId The ID of the flow to close.
100
+ * @param {string} type The type of close. See constants module for CloseType.
101
+ *
102
+ * @return {object} A CLOSE_FLOW action object.
103
+ */
104
+ export const closeFlow: Function;
105
+ /**
106
+ * Action indicating when we want to cancel a step that may be running now.
107
+ * This is mainly used as as message that other sagas can listen for and act
108
+ * upon.
109
+ *
110
+ * @param {string} stepId The ID of the step that we want to cancel
111
+ *
112
+ * @return {object} A CANCEL_STEP action object.
113
+ */
114
+ export const cancelStep: Function;
115
+ /**
116
+ * An action creator for SET_PREVIOUS_ACTIVE_ELEMENT actions.
117
+ *
118
+ * @return {object} A SET_PREVIOUS_ACTIVE_ELEMENT action object.
119
+ */
120
+ export const setPreviousActiveElement: Function;
121
+ export const setForceFocus: Function;
122
+ export const setNextContentIdCookie: Function;
123
+ export const clearContentStateChild: Function;
124
+ //# sourceMappingURL=common-actions.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"common-actions.d.ts","sourceRoot":"","sources":["../../src/scripts/actions/common-actions.js"],"names":[],"mappings":"AAGA;;;;;;;GAOG;AACH,sCAA8E;AAE9E;;;;;;;;GAQG;AACH,iCAAoE;AAEpE;;;;;;;GAOG;AACH,qCAKE;AAEF;;;;;;;GAOG;AACH,0CAKE;AAEF;;;;;;GAMG;AACH,4CAEE;AAEF;;;;;;GAMG;AACH,2CAEE;AAEF;;;;GAIG;AACH,6CAEE;AAEF;;;;;;;;GAQG;AACH,sCAA+E;AAE/E;;;;;;;;;;;;;GAaG;AACH,wCAKE;AAEF,wCAKE;AAEF;;;;;;;;GAQG;AACH,iCAKE;AAEF;;;;;;;GAOG;AACH,iCAKE;AAEF;;;;;;;;GAQG;AACH,kCAKE;AAEF;;;;GAIG;AACH,gDAKE;AAEF,qCAKE;AAEF,8CAKE;AAEF,8CAEE"}