@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.
- package/CHANGELOG.md +103 -0
- package/build/actions/action-types.d.ts +46 -0
- package/build/actions/action-types.d.ts.map +1 -0
- package/build/actions/annotations-actions.d.ts +121 -0
- package/build/actions/annotations-actions.d.ts.map +1 -0
- package/build/actions/checklist-actions.d.ts +199 -0
- package/build/actions/checklist-actions.d.ts.map +1 -0
- package/build/actions/collision-mode-actions.d.ts +9 -0
- package/build/actions/collision-mode-actions.d.ts.map +1 -0
- package/build/actions/common-actions.d.ts +124 -0
- package/build/actions/common-actions.d.ts.map +1 -0
- package/build/actions/core-actions.d.ts +259 -0
- package/build/actions/core-actions.d.ts.map +1 -0
- package/build/actions/create-action.d.ts +17 -0
- package/build/actions/create-action.d.ts.map +1 -0
- package/build/actions/debugger-actions.d.ts +8 -0
- package/build/actions/debugger-actions.d.ts.map +1 -0
- package/build/actions/experience-actions.d.ts +48 -0
- package/build/actions/experience-actions.d.ts.map +1 -0
- package/build/actions/hotspots-actions.d.ts +36 -0
- package/build/actions/hotspots-actions.d.ts.map +1 -0
- package/build/actions/modal-actions.d.ts +16 -0
- package/build/actions/modal-actions.d.ts.map +1 -0
- package/build/actions/root-actions.d.ts +260 -0
- package/build/actions/root-actions.d.ts.map +1 -0
- package/build/actions/satisfaction-survey-actions.d.ts +67 -0
- package/build/actions/satisfaction-survey-actions.d.ts.map +1 -0
- package/build/actions/session-actions.d.ts +19 -0
- package/build/actions/session-actions.d.ts.map +1 -0
- package/build/actions/widget-actions.d.ts +25 -0
- package/build/actions/widget-actions.d.ts.map +1 -0
- package/build/analytics/create-checklist-event.d.ts +24 -0
- package/build/analytics/create-checklist-event.d.ts.map +1 -0
- package/build/analytics/create-events.d.ts +30 -0
- package/build/analytics/create-events.d.ts.map +1 -0
- package/build/analytics/create-flow-event.d.ts +3 -0
- package/build/analytics/create-flow-event.d.ts.map +1 -0
- package/build/analytics/create-session-event.d.ts +3 -0
- package/build/analytics/create-session-event.d.ts.map +1 -0
- package/build/analytics/create-step-events.d.ts +40 -0
- package/build/analytics/create-step-events.d.ts.map +1 -0
- package/build/analytics/transform-analytics-event.d.ts +10 -0
- package/build/analytics/transform-analytics-event.d.ts.map +1 -0
- package/build/bind-interface.d.ts +10 -0
- package/build/bind-interface.d.ts.map +1 -0
- package/build/bootstrap.npm.DYhiH7lm.js +12049 -0
- package/build/bootstrap.npm.d.ts +2 -0
- package/build/bootstrap.npm.d.ts.map +1 -0
- package/build/checklist.c1e77dbbb641eec1fd5ab36b9a1474de41efcf5f.css +1 -0
- package/build/clickstream/generate-selector.d.ts +12 -0
- package/build/clickstream/generate-selector.d.ts.map +1 -0
- package/build/clickstream/index.d.ts +2 -0
- package/build/clickstream/index.d.ts.map +1 -0
- package/build/clickstream/pii-filter.d.ts +3 -0
- package/build/clickstream/pii-filter.d.ts.map +1 -0
- package/build/clickstream/saga.d.ts +2 -0
- package/build/clickstream/saga.d.ts.map +1 -0
- package/build/constants.FfLavyn7.js +119 -0
- package/build/container.c1e77dbbb641eec1fd5ab36b9a1474de41efcf5f.css +1 -0
- package/build/css-helper.d.ts +2 -0
- package/build/css-helper.d.ts.map +1 -0
- package/build/custom-events/actions.d.ts +3 -0
- package/build/custom-events/actions.d.ts.map +1 -0
- package/build/custom-events/index.d.ts +4 -0
- package/build/custom-events/index.d.ts.map +1 -0
- package/build/custom-events/listeners/click.d.ts +14 -0
- package/build/custom-events/listeners/click.d.ts.map +1 -0
- package/build/custom-events/listeners/get-composed-path.d.ts +2 -0
- package/build/custom-events/listeners/get-composed-path.d.ts.map +1 -0
- package/build/custom-events/listeners/get-matching-events.d.ts +31 -0
- package/build/custom-events/listeners/get-matching-events.d.ts.map +1 -0
- package/build/custom-events/listeners/hover.d.ts +13 -0
- package/build/custom-events/listeners/hover.d.ts.map +1 -0
- package/build/custom-events/listeners/input.d.ts +5 -0
- package/build/custom-events/listeners/input.d.ts.map +1 -0
- package/build/custom-events/saga.d.ts +11 -0
- package/build/custom-events/saga.d.ts.map +1 -0
- package/build/custom-events/transform-custom-event.d.ts +18 -0
- package/build/custom-events/transform-custom-event.d.ts.map +1 -0
- package/build/data/api.d.ts +107 -0
- package/build/data/api.d.ts.map +1 -0
- package/build/data/create-event.d.ts +10 -0
- package/build/data/create-event.d.ts.map +1 -0
- package/build/data/message-dispatcher.d.ts +11 -0
- package/build/data/message-dispatcher.d.ts.map +1 -0
- package/build/data/strip-query-params.d.ts +3 -0
- package/build/data/strip-query-params.d.ts.map +1 -0
- package/build/data/transports/http.d.ts +2 -0
- package/build/data/transports/http.d.ts.map +1 -0
- package/build/data/transports/websocket.d.ts +10 -0
- package/build/data/transports/websocket.d.ts.map +1 -0
- package/build/debugger.c1e77dbbb641eec1fd5ab36b9a1474de41efcf5f.css +1 -0
- package/build/dist.BmJY3Sl-.js +85 -0
- package/build/dist.DrPFC3yn.js +2204 -0
- package/build/index.npm.js +88 -4
- package/build/initialize.d.ts +6 -0
- package/build/initialize.d.ts.map +1 -0
- package/build/integrations/integration-helpers.d.ts +57 -0
- package/build/integrations/integration-helpers.d.ts.map +1 -0
- package/build/integrations/integration-methods.d.ts +8 -0
- package/build/integrations/integration-methods.d.ts.map +1 -0
- package/build/lifecycle-events/create-lifecycle-events.d.ts +13 -0
- package/build/lifecycle-events/create-lifecycle-events.d.ts.map +1 -0
- package/build/main.d.ts +3 -0
- package/build/main.d.ts.map +1 -0
- package/build/modal.c1e77dbbb641eec1fd5ab36b9a1474de41efcf5f.css +1 -0
- package/build/open-builder.Djam6tRm.js +8260 -0
- package/build/reducers/annotations-reducers.d.ts +49 -0
- package/build/reducers/annotations-reducers.d.ts.map +1 -0
- package/build/reducers/checklist-reducers.d.ts +49 -0
- package/build/reducers/checklist-reducers.d.ts.map +1 -0
- package/build/reducers/common-reducers.d.ts +70 -0
- package/build/reducers/common-reducers.d.ts.map +1 -0
- package/build/reducers/core-reducers.d.ts +166 -0
- package/build/reducers/core-reducers.d.ts.map +1 -0
- package/build/reducers/create-root-reducer.d.ts +3 -0
- package/build/reducers/create-root-reducer.d.ts.map +1 -0
- package/build/reducers/debugger-reducers.d.ts +33 -0
- package/build/reducers/debugger-reducers.d.ts.map +1 -0
- package/build/reducers/default-reducer.d.ts +16 -0
- package/build/reducers/default-reducer.d.ts.map +1 -0
- package/build/reducers/hotspots-reducers.d.ts +17 -0
- package/build/reducers/hotspots-reducers.d.ts.map +1 -0
- package/build/reducers/modal-reducers.d.ts +13 -0
- package/build/reducers/modal-reducers.d.ts.map +1 -0
- package/build/reducers/reducer-helpers.d.ts +13 -0
- package/build/reducers/reducer-helpers.d.ts.map +1 -0
- package/build/reducers/root-reducers.d.ts +47 -0
- package/build/reducers/root-reducers.d.ts.map +1 -0
- package/build/reducers/satisfaction-survey-reducers.d.ts +41 -0
- package/build/reducers/satisfaction-survey-reducers.d.ts.map +1 -0
- package/build/reducers/session-reducers.d.ts +20 -0
- package/build/reducers/session-reducers.d.ts.map +1 -0
- package/build/reducers/test-mode-reducers.d.ts +9 -0
- package/build/reducers/test-mode-reducers.d.ts.map +1 -0
- package/build/reducers/widget-reducers.d.ts +21 -0
- package/build/reducers/widget-reducers.d.ts.map +1 -0
- package/build/sagas/action-sagas.d.ts +20 -0
- package/build/sagas/action-sagas.d.ts.map +1 -0
- package/build/sagas/annotations-sagas.d.ts +55 -0
- package/build/sagas/annotations-sagas.d.ts.map +1 -0
- package/build/sagas/checklist-sagas.d.ts +18 -0
- package/build/sagas/checklist-sagas.d.ts.map +1 -0
- package/build/sagas/collision-mode-sagas.d.ts +9 -0
- package/build/sagas/collision-mode-sagas.d.ts.map +1 -0
- package/build/sagas/common-sagas.d.ts +18 -0
- package/build/sagas/common-sagas.d.ts.map +1 -0
- package/build/sagas/conditions-sagas.d.ts +72 -0
- package/build/sagas/conditions-sagas.d.ts.map +1 -0
- package/build/sagas/debugger-sagas.d.ts +7 -0
- package/build/sagas/debugger-sagas.d.ts.map +1 -0
- package/build/sagas/experiences-sagas.d.ts +5 -0
- package/build/sagas/experiences-sagas.d.ts.map +1 -0
- package/build/sagas/experiments-sagas.d.ts +14 -0
- package/build/sagas/experiments-sagas.d.ts.map +1 -0
- package/build/sagas/flow-sagas.d.ts +64 -0
- package/build/sagas/flow-sagas.d.ts.map +1 -0
- package/build/sagas/handle-flow-lifecycle-events.d.ts +12 -0
- package/build/sagas/handle-flow-lifecycle-events.d.ts.map +1 -0
- package/build/sagas/handle-messages.d.ts +3 -0
- package/build/sagas/handle-messages.d.ts.map +1 -0
- package/build/sagas/hotspots-sagas.d.ts +30 -0
- package/build/sagas/hotspots-sagas.d.ts.map +1 -0
- package/build/sagas/knowledge-base-sagas.d.ts +2 -0
- package/build/sagas/knowledge-base-sagas.d.ts.map +1 -0
- package/build/sagas/modal-sagas.d.ts +3 -0
- package/build/sagas/modal-sagas.d.ts.map +1 -0
- package/build/sagas/open-builder-sagas.d.ts +5 -0
- package/build/sagas/open-builder-sagas.d.ts.map +1 -0
- package/build/sagas/saga-utils.d.ts +84 -0
- package/build/sagas/saga-utils.d.ts.map +1 -0
- package/build/sagas/sagas.d.ts +167 -0
- package/build/sagas/sagas.d.ts.map +1 -0
- package/build/sagas/satisfaction-survey-sagas.d.ts +8 -0
- package/build/sagas/satisfaction-survey-sagas.d.ts.map +1 -0
- package/build/sagas/session-sagas.d.ts +4 -0
- package/build/sagas/session-sagas.d.ts.map +1 -0
- package/build/sagas/test-mode-sagas.d.ts +4 -0
- package/build/sagas/test-mode-sagas.d.ts.map +1 -0
- package/build/sagas/watch-url-sagas.d.ts +3 -0
- package/build/sagas/watch-url-sagas.d.ts.map +1 -0
- package/build/sagas/widget-sagas.d.ts +4 -0
- package/build/sagas/widget-sagas.d.ts.map +1 -0
- package/build/satisfaction-survey.c1e77dbbb641eec1fd5ab36b9a1474de41efcf5f.css +1 -0
- package/build/store/configure-store.d.ts +10 -0
- package/build/store/configure-store.d.ts.map +1 -0
- package/build/store/reporter-middleware.d.ts +10 -0
- package/build/store/reporter-middleware.d.ts.map +1 -0
- package/build/test-mode.c1e77dbbb641eec1fd5ab36b9a1474de41efcf5f.css +1 -0
- package/build/tooltip.c1e77dbbb641eec1fd5ab36b9a1474de41efcf5f.css +1 -0
- package/build/utils/accessible-tab.d.ts +2 -0
- package/build/utils/accessible-tab.d.ts.map +1 -0
- package/build/utils/array.d.ts +2 -0
- package/build/utils/array.d.ts.map +1 -0
- package/build/utils/conditions.d.ts +15 -0
- package/build/utils/conditions.d.ts.map +1 -0
- package/build/utils/constants.d.ts +2 -0
- package/build/utils/constants.d.ts.map +1 -1
- package/build/utils/create-appcues.d.ts +4 -0
- package/build/utils/create-appcues.d.ts.map +1 -0
- package/build/utils/create-reporter.d.ts +2 -0
- package/build/utils/create-reporter.d.ts.map +1 -0
- package/build/utils/data-selectors.d.ts +122 -0
- package/build/utils/data-selectors.d.ts.map +1 -0
- package/build/utils/delay.d.ts +9 -0
- package/build/utils/delay.d.ts.map +1 -0
- package/build/utils/dom.d.ts +160 -0
- package/build/utils/dom.d.ts.map +1 -0
- package/build/utils/embed-grouping.d.ts +23 -0
- package/build/utils/embed-grouping.d.ts.map +1 -0
- package/build/utils/escape.d.ts +12 -0
- package/build/utils/escape.d.ts.map +1 -0
- package/build/utils/evaluate-selector.d.ts +4 -0
- package/build/utils/evaluate-selector.d.ts.map +1 -0
- package/build/utils/flow-performance.d.ts +19 -0
- package/build/utils/flow-performance.d.ts.map +1 -0
- package/build/utils/flow-selectors.d.ts +52 -0
- package/build/utils/flow-selectors.d.ts.map +1 -0
- package/build/utils/generate-uuid.d.ts +7 -0
- package/build/utils/generate-uuid.d.ts.map +1 -0
- package/build/utils/generated-properties.d.ts +27 -0
- package/build/utils/generated-properties.d.ts.map +1 -0
- package/build/utils/handle-navigation.d.ts +5 -0
- package/build/utils/handle-navigation.d.ts.map +1 -0
- package/build/utils/humanize.d.ts +15 -0
- package/build/utils/humanize.d.ts.map +1 -0
- package/build/utils/iframes.d.ts +3 -0
- package/build/utils/iframes.d.ts.map +1 -0
- package/build/utils/is.d.ts +8 -0
- package/build/utils/is.d.ts.map +1 -0
- package/build/utils/lazy-loading.d.ts +2 -0
- package/build/utils/lazy-loading.d.ts.map +1 -0
- package/build/utils/links.d.ts +16 -0
- package/build/utils/links.d.ts.map +1 -0
- package/build/utils/location.d.ts +8 -0
- package/build/utils/location.d.ts.map +1 -0
- package/build/utils/pending-experience-events.d.ts +31 -0
- package/build/utils/pending-experience-events.d.ts.map +1 -0
- package/build/utils/query.d.ts +4 -0
- package/build/utils/query.d.ts.map +1 -0
- package/build/utils/render-contexts.d.ts +6 -0
- package/build/utils/render-contexts.d.ts.map +1 -0
- package/build/utils/selector-utils.d.ts +13 -0
- package/build/utils/selector-utils.d.ts.map +1 -0
- package/build/utils/show-powered-by.d.ts +9 -0
- package/build/utils/show-powered-by.d.ts.map +1 -0
- package/build/utils/store.d.ts +23 -0
- package/build/utils/store.d.ts.map +1 -0
- package/build/utils/temp-store.d.ts +5 -0
- package/build/utils/temp-store.d.ts.map +1 -0
- package/build/utils/test-mode.d.ts +3 -0
- package/build/utils/test-mode.d.ts.map +1 -0
- package/build/utils/time.d.ts +6 -0
- package/build/utils/time.d.ts.map +1 -0
- package/build/utils/trigger-content-changes.d.ts +20 -0
- package/build/utils/trigger-content-changes.d.ts.map +1 -0
- package/build/utils/url.d.ts +7 -0
- package/build/utils/url.d.ts.map +1 -0
- package/build/utils/validate-form-fields.d.ts +20 -0
- package/build/utils/validate-form-fields.d.ts.map +1 -0
- package/build/utils/vnode.d.ts +102 -0
- package/build/utils/vnode.d.ts.map +1 -0
- package/build/utils/widget.d.ts +10 -0
- package/build/utils/widget.d.ts.map +1 -0
- package/build/views/callbacks/checklist-callbacks.d.ts +20 -0
- package/build/views/callbacks/checklist-callbacks.d.ts.map +1 -0
- package/build/views/callbacks/common-callbacks.d.ts +45 -0
- package/build/views/callbacks/common-callbacks.d.ts.map +1 -0
- package/build/views/callbacks/debugger-callbacks.d.ts +6 -0
- package/build/views/callbacks/debugger-callbacks.d.ts.map +1 -0
- package/build/views/callbacks/hotspots-callbacks.d.ts +18 -0
- package/build/views/callbacks/hotspots-callbacks.d.ts.map +1 -0
- package/build/views/callbacks/modal-callbacks.d.ts +26 -0
- package/build/views/callbacks/modal-callbacks.d.ts.map +1 -0
- package/build/views/callbacks/sequential-hotspots-callbacks.d.ts +38 -0
- package/build/views/callbacks/sequential-hotspots-callbacks.d.ts.map +1 -0
- package/build/views/callbacks/survey-callbacks.d.ts +16 -0
- package/build/views/callbacks/survey-callbacks.d.ts.map +1 -0
- package/build/views/callbacks/test-mode-callbacks.d.ts +15 -0
- package/build/views/callbacks/test-mode-callbacks.d.ts.map +1 -0
- package/build/views/callbacks/widget-callbacks.d.ts +15 -0
- package/build/views/callbacks/widget-callbacks.d.ts.map +1 -0
- package/build/views/components/annotations.d.ts +13 -0
- package/build/views/components/annotations.d.ts.map +1 -0
- package/build/views/components/background.d.ts +6 -0
- package/build/views/components/background.d.ts.map +1 -0
- package/build/views/components/beacon-outline-styling.d.ts +3 -0
- package/build/views/components/beacon-outline-styling.d.ts.map +1 -0
- package/build/views/components/beacons.d.ts +12 -0
- package/build/views/components/beacons.d.ts.map +1 -0
- package/build/views/components/button.d.ts +11 -0
- package/build/views/components/button.d.ts.map +1 -0
- package/build/views/components/checklist-beacon.d.ts +3 -0
- package/build/views/components/checklist-beacon.d.ts.map +1 -0
- package/build/views/components/checklist-icons.d.ts +18 -0
- package/build/views/components/checklist-icons.d.ts.map +1 -0
- package/build/views/components/checklist-item.d.ts +3 -0
- package/build/views/components/checklist-item.d.ts.map +1 -0
- package/build/views/components/checklist.d.ts +3 -0
- package/build/views/components/checklist.d.ts.map +1 -0
- package/build/views/components/content-outline-styling.d.ts +3 -0
- package/build/views/components/content-outline-styling.d.ts.map +1 -0
- package/build/views/components/debugger.d.ts +14 -0
- package/build/views/components/debugger.d.ts.map +1 -0
- package/build/views/components/empty.d.ts +6 -0
- package/build/views/components/empty.d.ts.map +1 -0
- package/build/views/components/global-styling.d.ts +5 -0
- package/build/views/components/global-styling.d.ts.map +1 -0
- package/build/views/components/hotspot.d.ts +36 -0
- package/build/views/components/hotspot.d.ts.map +1 -0
- package/build/views/components/logo.d.ts +6 -0
- package/build/views/components/logo.d.ts.map +1 -0
- package/build/views/components/modal-step.d.ts +5 -0
- package/build/views/components/modal-step.d.ts.map +1 -0
- package/build/views/components/nps-survey-qualitative-question.d.ts +5 -0
- package/build/views/components/nps-survey-qualitative-question.d.ts.map +1 -0
- package/build/views/components/nps-survey-quantitative-option.d.ts +2 -0
- package/build/views/components/nps-survey-quantitative-option.d.ts.map +1 -0
- package/build/views/components/nps-survey-quantitative-question.d.ts +5 -0
- package/build/views/components/nps-survey-quantitative-question.d.ts.map +1 -0
- package/build/views/components/nps-survey-toast.d.ts +2 -0
- package/build/views/components/nps-survey-toast.d.ts.map +1 -0
- package/build/views/components/nps-survey.d.ts +2 -0
- package/build/views/components/nps-survey.d.ts.map +1 -0
- package/build/views/components/powered-by-appcues.d.ts +14 -0
- package/build/views/components/powered-by-appcues.d.ts.map +1 -0
- package/build/views/components/test-mode-banner.d.ts +3 -0
- package/build/views/components/test-mode-banner.d.ts.map +1 -0
- package/build/views/components/tooltip.d.ts +4 -0
- package/build/views/components/tooltip.d.ts.map +1 -0
- package/build/views/renderers/render-checklist.d.ts +3 -0
- package/build/views/renderers/render-checklist.d.ts.map +1 -0
- package/build/views/renderers/render-debugger.d.ts +3 -0
- package/build/views/renderers/render-debugger.d.ts.map +1 -0
- package/build/views/renderers/render-hotspots.d.ts +2 -0
- package/build/views/renderers/render-hotspots.d.ts.map +1 -0
- package/build/views/renderers/render-modal.d.ts +10 -0
- package/build/views/renderers/render-modal.d.ts.map +1 -0
- package/build/views/renderers/render-satisfaction-survey.d.ts +10 -0
- package/build/views/renderers/render-satisfaction-survey.d.ts.map +1 -0
- package/build/views/renderers/render-test-mode-banner.d.ts +2 -0
- package/build/views/renderers/render-test-mode-banner.d.ts.map +1 -0
- package/build/views/renderers/render-widget-icon.d.ts +10 -0
- package/build/views/renderers/render-widget-icon.d.ts.map +1 -0
- package/build/views/renderers/render-widget.d.ts +3 -0
- package/build/views/renderers/render-widget.d.ts.map +1 -0
- package/build/views/setup-view.d.ts +11 -0
- package/build/views/setup-view.d.ts.map +1 -0
- package/build/views/setup-widget.d.ts +11 -0
- package/build/views/setup-widget.d.ts.map +1 -0
- package/package.json +7 -6
- package/build/bootstrap.npm.DVu00o0l.js +0 -15505
- package/build/checklist.045d5c27f0910d4361d7c1398c89d399dee2edb5.css +0 -1
- package/build/container.045d5c27f0910d4361d7c1398c89d399dee2edb5.css +0 -1
- package/build/debugger.045d5c27f0910d4361d7c1398c89d399dee2edb5.css +0 -1
- package/build/index.C4xtQVZQ.js +0 -2152
- package/build/index.npm.B4soqbH3.js +0 -339
- package/build/modal.045d5c27f0910d4361d7c1398c89d399dee2edb5.css +0 -1
- package/build/open-builder.CqAPcpHg.js +0 -10172
- package/build/satisfaction-survey.045d5c27f0910d4361d7c1398c89d399dee2edb5.css +0 -1
- package/build/test-mode.045d5c27f0910d4361d7c1398c89d399dee2edb5.css +0 -1
- package/build/tooltip.045d5c27f0910d4361d7c1398c89d399dee2edb5.css +0 -1
- /package/build/{modal-step-legacy-render.045d5c27f0910d4361d7c1398c89d399dee2edb5.css → modal-step-legacy-render.c1e77dbbb641eec1fd5ab36b9a1474de41efcf5f.css} +0 -0
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
export function runAction({ payload: action }: {
|
|
2
|
+
payload: any;
|
|
3
|
+
}): Generator<import("redux-saga/effects").SelectEffect | import("redux-saga/effects").CallEffect | import("redux-saga/effects").PutEffect<any> | import("redux-saga/effects").RaceEffect, void, unknown>;
|
|
4
|
+
export function resumeAction({ payload: { action, status } }: {
|
|
5
|
+
payload: {
|
|
6
|
+
action: any;
|
|
7
|
+
status: any;
|
|
8
|
+
};
|
|
9
|
+
}): Generator<import("redux-saga/effects").SelectEffect | import("redux-saga/effects").CallEffect | import("redux-saga/effects").PutEffect<any>, void, string>;
|
|
10
|
+
export function checkForNavigationFirst(url: any, cb: any): Generator<import("redux-saga/effects").CallEffect, void, unknown>;
|
|
11
|
+
export function runChecklistAction({ payload: { action, checklistId, itemId, actionIndex }, }: {
|
|
12
|
+
payload: {
|
|
13
|
+
action: any;
|
|
14
|
+
checklistId: any;
|
|
15
|
+
itemId: any;
|
|
16
|
+
actionIndex: any;
|
|
17
|
+
};
|
|
18
|
+
}): Generator<import("redux-saga/effects").SelectEffect | import("redux-saga/effects").CallEffect | import("redux-saga/effects").PutEffect<any> | import("redux-saga/effects").RaceEffect, void, unknown>;
|
|
19
|
+
export default function saga(): Generator<import("redux-saga/effects").ForkEffect[], void, unknown>;
|
|
20
|
+
//# sourceMappingURL=action-sagas.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"action-sagas.d.ts","sourceRoot":"","sources":["../../src/scripts/sagas/action-sagas.js"],"names":[],"mappings":"AAyBA;;0MAsEC;AAED;;;;;+JAmFC;AAED,8HAWC;AAED;;;;;;;0MA0FC;AAED,oGAUC"}
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
export function hideAndRemoveActiveAnnotations({ payload: annotationIds }: {
|
|
2
|
+
payload: any;
|
|
3
|
+
}): Generator<import("redux-saga/effects").CallEffect | import("redux-saga/effects").PutEffect<any>, void, unknown>;
|
|
4
|
+
export function storeErrors(errors: any): Generator<import("redux-saga/effects").CallEffect, void, unknown>;
|
|
5
|
+
/**
|
|
6
|
+
* Helper saga that checks the position detail objects for errors and sends
|
|
7
|
+
* off step_child_error events when there are.
|
|
8
|
+
*
|
|
9
|
+
* @param {Object} positions Mapping of annotation ID to error.
|
|
10
|
+
*/
|
|
11
|
+
export function reportAnnotationErrors(errors: any, stepId: any, eventChannel: any): Generator<import("redux-saga/effects").SelectEffect | import("redux-saga/effects").CallEffect | import("redux-saga/effects").PutEffect<any>, void, unknown>;
|
|
12
|
+
export function clearErrors(errors: any): Generator<import("redux-saga/effects").CallEffect, void, unknown>;
|
|
13
|
+
/**
|
|
14
|
+
* Helper saga that checks if we have non-error annotation position details with
|
|
15
|
+
* an `errorReported` property equal to true. If so, it considers this a
|
|
16
|
+
* recovered annotation and sends a `step_child_recovered` event.
|
|
17
|
+
*
|
|
18
|
+
* @param {Object} positions Mapping of annotation ID to position details object.
|
|
19
|
+
*/
|
|
20
|
+
export function reportAnnotationRecoveries(positions: Object): Generator<import("redux-saga/effects").SelectEffect | import("redux-saga/effects").CallEffect | import("redux-saga/effects").PutEffect<any>, void, unknown>;
|
|
21
|
+
export function calculatePositions(): Generator<any, void, any>;
|
|
22
|
+
/**
|
|
23
|
+
* Helper saga for updating the status of 'annotation' content. We only want to
|
|
24
|
+
* dispatch the SET_ANNOTATIONS_READY action when the current status isn't
|
|
25
|
+
* READY or SHOWING.
|
|
26
|
+
*/
|
|
27
|
+
export function updateAnnotationsStatusReady(): Generator<import("redux-saga/effects").SelectEffect | import("redux-saga/effects").PutEffect<any>, void, unknown>;
|
|
28
|
+
export function clearExpiredErrors(): Generator<import("redux-saga/effects").CallEffect, void, unknown>;
|
|
29
|
+
export function scrollToAnnotation(annotationId: any): Generator<import("redux-saga/effects").SelectEffect | import("redux-saga/effects").CallEffect | import("redux-saga/effects").TakeEffect, void, any>;
|
|
30
|
+
/**
|
|
31
|
+
* This should be called when a CLEANUP_STEP action comes in. It will perform
|
|
32
|
+
* any cleanup that should occur for "annotation" content types when they're
|
|
33
|
+
* being closed.
|
|
34
|
+
*
|
|
35
|
+
* @param {object} action The CLEANUP_STEP action. The `payload` of the
|
|
36
|
+
* action is the content/step object that cleanup should
|
|
37
|
+
* be performed for.
|
|
38
|
+
*/
|
|
39
|
+
export function cleanup({ payload: step }: object): Generator<import("redux-saga/effects").PutEffect<any>, void, unknown>;
|
|
40
|
+
export function loadStoredErrors(): Generator<import("redux-saga/effects").CallEffect | import("redux-saga/effects").PutEffect<any>, void, unknown>;
|
|
41
|
+
export function setScrollingFlag({ payload }: {
|
|
42
|
+
payload: any;
|
|
43
|
+
}): Generator<import("redux-saga/effects").SelectEffect | import("redux-saga/effects").CallEffect | import("redux-saga/effects").PutEffect<{
|
|
44
|
+
type: string;
|
|
45
|
+
payload: any;
|
|
46
|
+
}>, void, any>;
|
|
47
|
+
export default function saga(): Generator<import("redux-saga/effects").ForkEffect[], void, unknown>;
|
|
48
|
+
export const _testExports: {
|
|
49
|
+
getStoredAnnotationsErrors: typeof getStoredAnnotationsErrors;
|
|
50
|
+
performScroll: typeof performScroll;
|
|
51
|
+
} | null;
|
|
52
|
+
declare function getStoredAnnotationsErrors(): Generator<import("redux-saga/effects").CallEffect, any, unknown>;
|
|
53
|
+
declare function performScroll(element: any, offsetFromBottomPercentage: any, parentEls: any, scrollableParentPositions: any): Generator<import("redux-saga/effects").GenericRaceEffect<import("redux-saga/effects").CallEffect | import("redux-saga/effects").CallEffect[]>, any, unknown>;
|
|
54
|
+
export {};
|
|
55
|
+
//# sourceMappingURL=annotations-sagas.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"annotations-sagas.d.ts","sourceRoot":"","sources":["../../src/scripts/sagas/annotations-sagas.js"],"names":[],"mappings":"AAgMA;;oHAIC;AAED,4GASC;AAED;;;;;GAKG;AACH,iPAqCC;AAED,4GAcC;AAED;;;;;;GAMG;AACH,sDAFW,MAAM,+JAsChB;AAED,gEA4HC;AAED;;;;GAIG;AACH,kKAiBC;AAED,wGAoBC;AAED,2MA6DC;AAED;;;;;;;;GAQG;AACH,2CAJW,MAAM,yEAYhB;AAED,oJAKC;AAED;;;;;eAqBC;AAED,oGA2BC;AAQD;;;SAMW;AAvkBX,gHASC;AAmFD,4RAyCC"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
export function fetchContentStyle(contentStyleId: any): Generator<import("redux-saga/effects").SelectEffect | import("redux-saga/effects").CallEffect | import("redux-saga/effects").PutEffect<any>, void, unknown>;
|
|
2
|
+
export function prepareChecklist(checklist: any): Generator<import("redux-saga/effects").SelectEffect | import("redux-saga/effects").CallEffect | import("redux-saga/effects").PutEffect<any> | import("redux-saga/effects").TakeEffect, void, unknown>;
|
|
3
|
+
export function runChecklist({ payload: checklist }: {
|
|
4
|
+
payload: any;
|
|
5
|
+
}): Generator<import("redux-saga/effects").CallEffect | import("redux-saga/effects").PutEffect<any>, void, unknown>;
|
|
6
|
+
export function showChecklistFirstTime({ payload: checklist }: {
|
|
7
|
+
payload: any;
|
|
8
|
+
}): Generator<import("redux-saga/effects").CallEffect | import("redux-saga/effects").PutEffect<any>, void, unknown>;
|
|
9
|
+
export function sendChecklistShownEvent(action: any): Generator<import("redux-saga/effects").SelectEffect | import("redux-saga/effects").PutEffect<any>, void, unknown>;
|
|
10
|
+
export function dismissChecklist(action: any): Generator<import("redux-saga/effects").SelectEffect | import("redux-saga/effects").PutEffect<any>, void, unknown>;
|
|
11
|
+
export function clearShow(): Generator<import("redux-saga/effects").SelectEffect | import("redux-saga/effects").PutEffect<any>, void, {
|
|
12
|
+
userId: any;
|
|
13
|
+
}>;
|
|
14
|
+
export function runChecklistItem(action: any): Generator<import("redux-saga/effects").SelectEffect | import("redux-saga/effects").CallEffect | import("redux-saga/effects").PutEffect<any> | import("redux-saga/effects").TakeEffect, void, any>;
|
|
15
|
+
export function hideChecklists(): Generator<import("redux-saga/effects").SelectEffect | import("redux-saga/effects").AllEffect, void, unknown>;
|
|
16
|
+
export function unhideChecklists(): Generator<import("redux-saga/effects").SelectEffect | import("redux-saga/effects").PutEffect<any> | import("redux-saga/effects").AllEffect, void, unknown>;
|
|
17
|
+
export default function saga(): Generator<import("redux-saga/effects").ForkEffect[], void, unknown>;
|
|
18
|
+
//# sourceMappingURL=checklist-sagas.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"checklist-sagas.d.ts","sourceRoot":"","sources":["../../src/scripts/sagas/checklist-sagas.js"],"names":[],"mappings":"AAgCA,oNAcC;AAED,wPAoBC;AAED;;oHA8BC;AAED;;oHASC;AAED,wKAMC;AAED,iKAeC;AAED;;GAKC;AAED,iPA4DC;AAED,+IASC;AAED,+LAuBC;AAED,oGAmCC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export function resolveCollisionModeRaceCondition(): Generator<import("redux-saga/effects").CallEffect | import("redux-saga/effects").TakeEffect | import("redux-saga/effects").RaceEffect, void, unknown>;
|
|
2
|
+
export function toggleChecklist({ payload: { checklistId, forceClose } }: {
|
|
3
|
+
payload: {
|
|
4
|
+
checklistId: any;
|
|
5
|
+
forceClose: any;
|
|
6
|
+
};
|
|
7
|
+
}): Generator<import("redux-saga/effects").SelectEffect | import("redux-saga/effects").CallEffect | import("redux-saga/effects").PutEffect<any>, void, unknown>;
|
|
8
|
+
export default function saga(): Generator<import("redux-saga/effects").ForkEffect[], void, unknown>;
|
|
9
|
+
//# sourceMappingURL=collision-mode-sagas.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"collision-mode-sagas.d.ts","sourceRoot":"","sources":["../../src/scripts/sagas/collision-mode-sagas.js"],"names":[],"mappings":"AA+FA,2MAiBC;AAED;;;;;gKAiBC;AA2GD,oGAYC"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Validates a list of steps' HTML, dispatching WILL_SHOW_CONTENT error actions
|
|
3
|
+
* for each that fails. Returns true or false, indicating whether all content
|
|
4
|
+
* was valid or not.
|
|
5
|
+
*
|
|
6
|
+
* @param {Array} steps List of step children to validate.
|
|
7
|
+
*
|
|
8
|
+
* @yield {boolean} Indicates whether all content is valid or not.
|
|
9
|
+
*/
|
|
10
|
+
export function validateContents(steps: any[]): Generator<import("redux-saga/effects").SelectEffect | import("redux-saga/effects").CallEffect, boolean, any>;
|
|
11
|
+
export function setNextContentIdCookie({ payload: { nextContentId, campaignId, tacticId }, }: {
|
|
12
|
+
payload: {
|
|
13
|
+
nextContentId: any;
|
|
14
|
+
campaignId?: null | undefined;
|
|
15
|
+
tacticId?: null | undefined;
|
|
16
|
+
};
|
|
17
|
+
}): Generator<import("redux-saga/effects").CallEffect, void, unknown>;
|
|
18
|
+
//# sourceMappingURL=common-sagas.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"common-sagas.d.ts","sourceRoot":"","sources":["../../src/scripts/sagas/common-sagas.js"],"names":[],"mappings":"AAyDA;;;;;;;;GAQG;AACH,6JAsCC;AAED;;;;;;sEAqBC"}
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* A condition saga that will wait for one of the specified `selectors` to become
|
|
3
|
+
* available in the current view.
|
|
4
|
+
*
|
|
5
|
+
* @param {Array} selectors List of CSS selectors to look for.
|
|
6
|
+
*/
|
|
7
|
+
export function waitForOneElement(selectors: any[]): Generator<import("redux-saga/effects").ForkEffect | import("redux-saga/effects").CallEffect, {
|
|
8
|
+
result: any;
|
|
9
|
+
task: null;
|
|
10
|
+
failures: null;
|
|
11
|
+
}, {
|
|
12
|
+
result: any;
|
|
13
|
+
failures: any;
|
|
14
|
+
}>;
|
|
15
|
+
export function waitForEvent(event: any, selector: any, cond: any): Generator<import("redux-saga/effects").ForkEffect | import("redux-saga/effects").CallEffect | import("redux-saga/effects").CancelEffect | import("redux-saga/effects").RaceEffect, {
|
|
16
|
+
result: boolean;
|
|
17
|
+
}, any>;
|
|
18
|
+
/**
|
|
19
|
+
* This saga will evaluate the specified condition.
|
|
20
|
+
*
|
|
21
|
+
* @param {object} condition An object with a `type` and `params` that define
|
|
22
|
+
* a set of conditions to be met.
|
|
23
|
+
*
|
|
24
|
+
* @return {object} A "condition result" object. This object has two fields:
|
|
25
|
+
* - `result`: A boolean indicating whether or not we
|
|
26
|
+
* could immediately verify the condition was met.
|
|
27
|
+
* - `task`: A redux-saga Task object describing a child
|
|
28
|
+
* process that is asynchronously waiting for the
|
|
29
|
+
* condition to be met. This task should resolve with a
|
|
30
|
+
* true value once the condition is met, or false if the
|
|
31
|
+
* condition can never be met. This is null if the
|
|
32
|
+
* `result` is true.
|
|
33
|
+
*/
|
|
34
|
+
export function checkCondition(condition: object): object;
|
|
35
|
+
/**
|
|
36
|
+
* Helper saga for evaluating a condition and calling the passed function or
|
|
37
|
+
* generator after the condition is met.
|
|
38
|
+
*
|
|
39
|
+
* @param {object} cond A condition object.
|
|
40
|
+
* @param {Function} fn The function or generator to run.
|
|
41
|
+
*/
|
|
42
|
+
export function runAfterConditionMet(cond: object, fn: Function, ...args: any[]): Generator<import("redux-saga/effects").JoinEffect | import("redux-saga/effects").ForkEffect | import("redux-saga/effects").CallEffect | import("redux-saga/effects").CancelEffect | import("redux-saga/effects").CancelledEffect, void, {
|
|
43
|
+
result: any;
|
|
44
|
+
task: any;
|
|
45
|
+
}>;
|
|
46
|
+
export const _testExports: {
|
|
47
|
+
checkForElements: typeof checkForElements;
|
|
48
|
+
periodicallyCheckForElements: typeof periodicallyCheckForElements;
|
|
49
|
+
startEventListener: typeof startEventListener;
|
|
50
|
+
waitForListener: typeof waitForListener;
|
|
51
|
+
} | null;
|
|
52
|
+
declare function checkForElements(selectors: any): Generator<any, {
|
|
53
|
+
result: boolean;
|
|
54
|
+
failures: any;
|
|
55
|
+
} | {
|
|
56
|
+
result: boolean;
|
|
57
|
+
failures?: undefined;
|
|
58
|
+
}, unknown>;
|
|
59
|
+
declare function periodicallyCheckForElements(selectors: any): Generator<import("redux-saga/effects").CallEffect, {
|
|
60
|
+
result: boolean;
|
|
61
|
+
}, unknown>;
|
|
62
|
+
declare function startEventListener(el: any, event: any, cond?: null): Generator<import("redux-saga/effects").CallEffect | import("redux-saga/effects").CancelledEffect, any, any>;
|
|
63
|
+
/**
|
|
64
|
+
* Creates a race between a listener of a click or a keydown event.
|
|
65
|
+
*
|
|
66
|
+
* @param {object} condition An object with a `type` and `params` that define
|
|
67
|
+
* a set of conditions to be met.
|
|
68
|
+
* @returns the first task (listener) that finished.
|
|
69
|
+
*/
|
|
70
|
+
declare function waitForListener(condition: object): Generator<import("redux-saga/effects").GenericRaceEffect<any>, any, unknown>;
|
|
71
|
+
export {};
|
|
72
|
+
//# sourceMappingURL=conditions-sagas.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"conditions-sagas.d.ts","sourceRoot":"","sources":["../../src/scripts/sagas/conditions-sagas.js"],"names":[],"mappings":"AAoEA;;;;;GAKG;AACH;;;;;;;GAeC;AAED;;QA0CC;AAuBD;;;;;;;;;;;;;;;GAeG;AACH,0CAbW,MAAM,GAGL,MAAM,CAwBjB;AAED;;;;;;GAMG;AACH,2CAHW,MAAM;;;GAsBhB;AAQD;;;;;SAQW;AAlNX;;;;;;YAWC;AAGD;;YAOC;AAED,mLAmBC;AAyED;;;;;;GAMG;AAEH,4CALW,MAAM,gFAgBhB"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export function pollURL(): Generator<import("redux-saga/effects").SelectEffect | import("redux-saga/effects").CallEffect | import("redux-saga/effects").PutEffect<any>, void, unknown>;
|
|
2
|
+
export function updateTrackedPage(action: any): Generator<import("redux-saga/effects").SelectEffect | import("redux-saga/effects").CallEffect | import("redux-saga/effects").PutEffect<any>, void, unknown>;
|
|
3
|
+
export function trackContentError(action: any): Generator<import("redux-saga/effects").SelectEffect | import("redux-saga/effects").PutEffect<any>, void, any>;
|
|
4
|
+
export function trackChildError(action: any): Generator<import("redux-saga/effects").SelectEffect | import("redux-saga/effects").PutEffect<any>, void, unknown>;
|
|
5
|
+
export function runDebugger(): Generator<Object, void, unknown>;
|
|
6
|
+
export default function saga(): Generator<import("redux-saga/effects").ForkEffect, void, unknown>;
|
|
7
|
+
//# sourceMappingURL=debugger-sagas.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"debugger-sagas.d.ts","sourceRoot":"","sources":["../../src/scripts/sagas/debugger-sagas.js"],"names":[],"mappings":"AAuBA,uLAaC;AAED,4MAkBC;AAED,8JAUC;AAED,gKAkBC;AAED,gEAmDC;AAED,kGAEC"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export function getAppcuesInstance(): Generator<import("redux-saga/effects").SelectEffect | import("redux-saga/effects").PutEffect<any> | import("redux-saga/effects").TakeEffect, any, unknown>;
|
|
2
|
+
export function stopOverlayExperiences(): Generator<import("redux-saga/effects").CallEffect | import("redux-saga/effects").AllEffect, void, unknown>;
|
|
3
|
+
export default function saga(): Generator<import("redux-saga/effects").ForkEffect[], void, unknown>;
|
|
4
|
+
export const OVERLAY_EXPERIENCE_TYPES: Set<string>;
|
|
5
|
+
//# sourceMappingURL=experiences-sagas.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"experiences-sagas.d.ts","sourceRoot":"","sources":["../../src/scripts/sagas/experiences-sagas.js"],"names":[],"mappings":"AAuDA,iMA4BC;AA6HD,qJAWC;AAwFD,oGAoCC;AA5ID,mDAGG"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export function getExperimentWithId(id: any, type: any): Generator<import("redux-saga/effects").SelectEffect, any, unknown>;
|
|
2
|
+
export function isControlExperiment(id: any, type: any): Generator<import("redux-saga/effects").CallEffect, boolean, unknown>;
|
|
3
|
+
export function experimentStarted({ payload: { id, type } }: {
|
|
4
|
+
payload: {
|
|
5
|
+
id: any;
|
|
6
|
+
type: any;
|
|
7
|
+
};
|
|
8
|
+
}): Generator<import("redux-saga/effects").CallEffect | import("redux-saga/effects").PutEffect<any>, void, unknown>;
|
|
9
|
+
export default function saga(): Generator<import("redux-saga/effects").ForkEffect[], void, unknown>;
|
|
10
|
+
export namespace ExperimentType {
|
|
11
|
+
let EXPERIENCES: string;
|
|
12
|
+
let FLOWS: string;
|
|
13
|
+
}
|
|
14
|
+
//# sourceMappingURL=experiments-sagas.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"experiments-sagas.d.ts","sourceRoot":"","sources":["../../src/scripts/sagas/experiments-sagas.js"],"names":[],"mappings":"AAaA,4HAGC;AAED,8HAGC;AAGD;;;;;oHAYC;AAED,oGAIC"}
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
export function waitForPendingEventsToClear(flowId: any): Generator<import("redux-saga/effects").SelectEffect | import("redux-saga/effects").TakeEffect, void, unknown>;
|
|
2
|
+
/**
|
|
3
|
+
* This saga will start the process of trying to show a flow. If the flow's
|
|
4
|
+
* starting conditions are synchronously met, then it starts the flow
|
|
5
|
+
* immediately and returns true. If the starting conditions aren't met
|
|
6
|
+
* synchronously, then it will return false and will wait for the conditions to
|
|
7
|
+
* be met or for another flow to meet it's starting conditions. If a
|
|
8
|
+
* CANCEL_ATTEMPTS action is dispatched then the saga that is waiting for the
|
|
9
|
+
* conditions to be met will be cancelled.
|
|
10
|
+
*
|
|
11
|
+
* @param {object} flow The object representing the flow to attempt.
|
|
12
|
+
* @param {string} stepId An optional stepId to begin with. We default to
|
|
13
|
+
* starting with the first step.
|
|
14
|
+
* @param {string} url The URL at which this flow is valid.
|
|
15
|
+
* @param {boolean} cancellable If CANCEL_ATTEMPTS actions should cancel this
|
|
16
|
+
* attempt. Defaults to true.
|
|
17
|
+
*
|
|
18
|
+
* @return {boolean} True if attempt succeeds synchronously; false otherwise.
|
|
19
|
+
*/
|
|
20
|
+
export function attemptFlow(flow: object, stepId: string, url: string, requestId: any, cancellable?: boolean): boolean;
|
|
21
|
+
export function resumeFlow(flow: any, stepId: any, url: any, status: any): Generator<import("redux-saga/effects").CallEffect | import("redux-saga/effects").PutEffect<any>, void, unknown>;
|
|
22
|
+
export function runFlow(rootAction: any): Generator<import("redux-saga/effects").SelectEffect | import("redux-saga/effects").CallEffect | import("redux-saga/effects").PutEffect<any> | import("redux-saga/effects").TakeEffect | import("redux-saga/effects").RaceEffect, void, {
|
|
23
|
+
payload: any;
|
|
24
|
+
}>;
|
|
25
|
+
export function readFlowState(): Generator<import("redux-saga/effects").CallEffect, any, string>;
|
|
26
|
+
export function writeFlowState(state: any): Generator<import("redux-saga/effects").CallEffect, void, unknown>;
|
|
27
|
+
/**
|
|
28
|
+
* A helper saga for dealing with step errors by dispatching a SHOWING_CONTENT
|
|
29
|
+
* error action and also reporting a STEP_ERRORED lifecycle event to the proper
|
|
30
|
+
* event channel.
|
|
31
|
+
*
|
|
32
|
+
* @param {Error} error The error to report.
|
|
33
|
+
* @param {String} details Any specific details to include with the error.
|
|
34
|
+
*/
|
|
35
|
+
export function handleStepError(error: Error, details: string): Generator<import("redux-saga/effects").SelectEffect | import("redux-saga/effects").PutEffect<any>, void, unknown>;
|
|
36
|
+
export function runStep(rootAction: any): Generator<import("redux-saga/effects").CallEffect | import("redux-saga/effects").PutEffect<any>, void, string>;
|
|
37
|
+
export function removeStep(flow: any, step: any): Generator<import("redux-saga/effects").SelectEffect | import("redux-saga/effects").CallEffect | import("redux-saga/effects").PutEffect<any>, void, unknown>;
|
|
38
|
+
export default function saga(): Generator<import("redux-saga/effects").ForkEffect[], void, unknown>;
|
|
39
|
+
export const _testExports: {
|
|
40
|
+
waitForFlowToBeReady: typeof waitForFlowToBeReady;
|
|
41
|
+
asyncRace: typeof asyncRace;
|
|
42
|
+
sendEvent: typeof sendEvent;
|
|
43
|
+
closeEventChannel: typeof closeEventChannel;
|
|
44
|
+
waitForPendingEventsToClear: typeof waitForPendingEventsToClear;
|
|
45
|
+
startEventChannel: typeof startEventChannel;
|
|
46
|
+
stopEventChannelAfterFlowCancellation: typeof stopEventChannelAfterFlowCancellation;
|
|
47
|
+
} | null;
|
|
48
|
+
declare function waitForFlowToBeReady(conditionTask: any, eventChannel: any, flowId: any, stepId: any, url: any, campaignId: any, tacticId: any): Generator<import("redux-saga/effects").JoinEffect | import("redux-saga/effects").PutEffect<any> | import("redux-saga/effects").CancelEffect | import("redux-saga/effects").CancelledEffect | import("redux-saga/effects").ChannelPutEffect<END>, void, unknown>;
|
|
49
|
+
import { asyncRace } from 'sagas/saga-utils';
|
|
50
|
+
/**
|
|
51
|
+
* A saga for sending flow lifecycle events in a consistent manner. This is
|
|
52
|
+
* triggered by a SEND_LIFECYCLE_EVENT action.
|
|
53
|
+
*/
|
|
54
|
+
declare function sendEvent({ payload }: {
|
|
55
|
+
payload: any;
|
|
56
|
+
}): Generator<import("redux-saga/effects").SelectEffect | import("redux-saga/effects").ChannelPutEffect<any>, void, any>;
|
|
57
|
+
declare function closeEventChannel({ payload: chan }: {
|
|
58
|
+
payload: any;
|
|
59
|
+
}): Generator<import("redux-saga/effects").CallEffect, void, unknown>;
|
|
60
|
+
declare function startEventChannel(flow: any, requestId: any): Generator<import("redux-saga/effects").ForkEffect | import("redux-saga/effects").CallEffect, any, unknown>;
|
|
61
|
+
declare function stopEventChannelAfterFlowCancellation(flowId: any, task: any): Generator<import("redux-saga/effects").TakeEffect | import("redux-saga/effects").CancelEffect, void, unknown>;
|
|
62
|
+
import { END } from 'redux-saga';
|
|
63
|
+
export {};
|
|
64
|
+
//# sourceMappingURL=flow-sagas.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"flow-sagas.d.ts","sourceRoot":"","sources":["../../src/scripts/sagas/flow-sagas.js"],"names":[],"mappings":"AA4LA,wKAMC;AAED;;;;;;;;;;;;;;;;;GAiBG;AACH,kCATW,MAAM,UACN,MAAM,OAEN,MAAM,gCACN,OAAO,GAGN,OAAO,CAmHlB;AAED,2LAeC;AAED;;GA2EC;AAGD,iGAMC;AAED,8GAOC;AAED;;;;;;;GAOG;AACH,uCAHW,KAAK,sIAef;AAED,yJA+CC;AAED,8MAoBC;AAgCD,oGAOC;AAQD;;;;;;;;SAWW;AAjbX,kZA2BC;0BAvKM,kBAAkB;AAqgBzB;;;GAGG;AACH;;yHAMC;AAgBD;;sEAEC;AAvdD,0KAgBC;AAzBD,8LAOC;oBA7EqC,YAAY"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export default function handleFlowLifecycleEvents(flow: any, eventChannel: any, requestId: any): Generator<import("redux-saga/effects").SelectEffect | import("redux-saga/effects").ForkEffect | import("redux-saga/effects").CallEffect | import("redux-saga/effects").PutEffect<any> | import("redux-saga/effects").TakeEffect | import("redux-saga/effects").ChannelPutEffect<{
|
|
2
|
+
type: any;
|
|
3
|
+
params: any;
|
|
4
|
+
} | import("redux-saga").END>, void, any>;
|
|
5
|
+
export const _testExports: {
|
|
6
|
+
dispatchSendLifecycleEvent: typeof dispatchSendLifecycleEvent;
|
|
7
|
+
runUIConditions: typeof runUIConditions;
|
|
8
|
+
} | null;
|
|
9
|
+
declare function dispatchSendLifecycleEvent(...lifecycleEvents: any[]): Generator<import("redux-saga/effects").PutEffect<any>, void, unknown>;
|
|
10
|
+
declare function runUIConditions(flow: any, step: any, child: any): Generator<import("redux-saga/effects").TakeEffect | import("redux-saga/effects").RaceEffect, void, unknown>;
|
|
11
|
+
export {};
|
|
12
|
+
//# sourceMappingURL=handle-flow-lifecycle-events.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"handle-flow-lifecycle-events.d.ts","sourceRoot":"","sources":["../../src/scripts/sagas/handle-flow-lifecycle-events.js"],"names":[],"mappings":"AAmJA;;;0CAscC;AAQD;;;SAMW;AA5gBX,8IAIC;AAED,gLAyCC"}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
export function handleChecklistMessage(message: any): Generator<import("redux-saga/effects").SelectEffect | import("redux-saga/effects").CallEffect | import("redux-saga/effects").PutEffect<any> | import("redux-saga/effects").TakeEffect, void, unknown>;
|
|
2
|
+
export default function saga(): Generator<import("redux-saga/effects").ForkEffect, void, unknown>;
|
|
3
|
+
//# sourceMappingURL=handle-messages.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"handle-messages.d.ts","sourceRoot":"","sources":["../../src/scripts/sagas/handle-messages.js"],"names":[],"mappings":"AA6CA,4PAkOC;AAED,kGAkNC"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
export function startHotspots(): Generator<import("redux-saga/effects").SelectEffect | import("redux-saga/effects").CallEffect | import("redux-saga/effects").PutEffect<any>, void, unknown>;
|
|
2
|
+
export function handlePositionUpdates({ payload: positions }: {
|
|
3
|
+
payload: any;
|
|
4
|
+
}): Generator<import("redux-saga/effects").SelectEffect | import("redux-saga/effects").CallEffect | import("redux-saga/effects").PutEffect<any>, void, unknown>;
|
|
5
|
+
/**
|
|
6
|
+
* Saga for advancing to the next tooltip, or ending the sequence if there's no
|
|
7
|
+
* next tooltip. Kicked off by an ADVANCE_STEP_CHILD action that has a
|
|
8
|
+
* `contentType` matching ContentType.SEQUENTIAL_HOTSPOTS.
|
|
9
|
+
*
|
|
10
|
+
* @param {Object} action An ADVANCE_STEP_CHILD action.
|
|
11
|
+
*/
|
|
12
|
+
export function advanceTooltip(action: Object): Generator<import("redux-saga/effects").ForkEffect | import("redux-saga/effects").CallEffect | import("redux-saga/effects").PutEffect<any>, void, string>;
|
|
13
|
+
export function openStepChild({ stepId, currentStepChildId, nextStepChildId, }: {
|
|
14
|
+
stepId: any;
|
|
15
|
+
currentStepChildId: any;
|
|
16
|
+
nextStepChildId: any;
|
|
17
|
+
}): Generator<import("redux-saga/effects").CallEffect | import("redux-saga/effects").PutEffect<any>, void, unknown>;
|
|
18
|
+
export function runPrevTooltip(action: any): Generator<import("redux-saga/effects").SelectEffect | import("redux-saga/effects").CallEffect, void, unknown>;
|
|
19
|
+
export function runGoToStep(action: any): Generator<any, void, unknown>;
|
|
20
|
+
export default function saga(): Generator<import("redux-saga/effects").ForkEffect[], void, unknown>;
|
|
21
|
+
export const _testExports: {
|
|
22
|
+
waitForLast: typeof waitForLast;
|
|
23
|
+
clearActionDrivenStateValue: typeof clearActionDrivenStateValue;
|
|
24
|
+
} | null;
|
|
25
|
+
declare function waitForLast({ payload }: {
|
|
26
|
+
payload: any;
|
|
27
|
+
}): Generator<import("redux-saga/effects").SelectEffect | import("redux-saga/effects").PutEffect<any> | import("redux-saga/effects").RaceEffect, void, unknown>;
|
|
28
|
+
declare function clearActionDrivenStateValue(): Generator<import("redux-saga/effects").CallEffect, void, string>;
|
|
29
|
+
export {};
|
|
30
|
+
//# sourceMappingURL=hotspots-sagas.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"hotspots-sagas.d.ts","sourceRoot":"","sources":["../../src/scripts/sagas/hotspots-sagas.js"],"names":[],"mappings":"AA4DA,6LA2BC;AAED;;gKA2DC;AA4CD;;;;;;GAMG;AACH,uCAFW,MAAM,4JAuEhB;AAED;;;;oHAqCC;AAED,2JAwBC;AAED,wEA2BC;AAED,oGAqBC;AAQD;;;SAMW;AAhPX;;gKA+BC;AAxCD,iHAOC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"knowledge-base-sagas.d.ts","sourceRoot":"","sources":["../../src/scripts/sagas/knowledge-base-sagas.js"],"names":[],"mappings":"AA+FA,mEAcC"}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
export function startModal(): Generator<import("redux-saga/effects").SelectEffect | import("redux-saga/effects").CallEffect | import("redux-saga/effects").PutEffect<any>, void, unknown>;
|
|
2
|
+
export default function saga(): Generator<import("redux-saga/effects").ForkEffect, void, unknown>;
|
|
3
|
+
//# sourceMappingURL=modal-sagas.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"modal-sagas.d.ts","sourceRoot":"","sources":["../../src/scripts/sagas/modal-sagas.js"],"names":[],"mappings":"AASA,0LAaC;AAED,kGAEC"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export function handleOpenBuilderEvent({ payload }: {
|
|
2
|
+
payload: any;
|
|
3
|
+
}): Generator<import("redux-saga/effects").SelectEffect | import("redux-saga/effects").PutEffect<any>, void, unknown>;
|
|
4
|
+
export default function saga(): Generator<import("redux-saga/effects").ForkEffect[], void, unknown>;
|
|
5
|
+
//# sourceMappingURL=open-builder-sagas.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"open-builder-sagas.d.ts","sourceRoot":"","sources":["../../src/scripts/sagas/open-builder-sagas.js"],"names":[],"mappings":"AAMA;;sHAOC;AAED,oGAQC"}
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Wraps a redux-saga `spawn` side effect, such that any uncaught errors in the
|
|
3
|
+
* saga get reported by our `state.reporter` function.
|
|
4
|
+
*
|
|
5
|
+
* Usage is just like spawn or fork:
|
|
6
|
+
* `yield spawnWrapped(saga, 'test');`
|
|
7
|
+
*
|
|
8
|
+
* @param {GeneratorFunction} saga The saga/generator function.
|
|
9
|
+
* @param {...[Any]} args Arbitrary number of argument to pass into the saga.
|
|
10
|
+
*
|
|
11
|
+
* @return {Object} A redux-saga `call` side effect that wraps the `spawn` of
|
|
12
|
+
* the specified saga.
|
|
13
|
+
*/
|
|
14
|
+
export function spawnWrapped(saga: GeneratorFunction, ...args: [Any][]): Object;
|
|
15
|
+
export function getStepScopedTaskName(taskName: any, stepId: any): string;
|
|
16
|
+
/**
|
|
17
|
+
* Takes every action with the specified `pattern` and `spawn`s a wrapped
|
|
18
|
+
* version of the specified saga, such that any uncaught errors in the saga get
|
|
19
|
+
* reported by our `state.reporter` function. Also stores the task descriptor
|
|
20
|
+
* under the specified `taskName` for later cancellation via a `STOP_TASKS`
|
|
21
|
+
* action.
|
|
22
|
+
*
|
|
23
|
+
* Usage is similar to takeEvery:
|
|
24
|
+
* `yield fork(takeEveryWrappedCancellable, 'PATTERN', saga, 'TASK_NAME', 'test');`
|
|
25
|
+
*
|
|
26
|
+
* @param {String} pattern The pattern to `take` on.
|
|
27
|
+
* @param {GeneratorFunction} saga The saga to trigger.
|
|
28
|
+
* @param {String} taskName The key under which to store the task descriptor.
|
|
29
|
+
* See the `TaskNames` object in the constants module.
|
|
30
|
+
* @param {...[Any]} args Arbitrary number of arguments to pass into the saga.
|
|
31
|
+
*/
|
|
32
|
+
export function takeEveryWrappedCancellable(pattern: string, saga: GeneratorFunction, taskName: string, ...args: [Any][]): Generator<Object, void, unknown>;
|
|
33
|
+
/**
|
|
34
|
+
* Takes every action with the specified `pattern` and `spawn`s a wrapped
|
|
35
|
+
* version of the specified saga, such that any uncaught errors in the saga get
|
|
36
|
+
* reported by our `state.reporter` function.
|
|
37
|
+
*
|
|
38
|
+
* Usage is just like takeEvery:
|
|
39
|
+
* `yield fork(takeEveryWrapped, 'PATTERN', saga, 'test');`
|
|
40
|
+
*
|
|
41
|
+
* @param {String} pattern The pattern to `take` on.
|
|
42
|
+
* @param {GeneratorFunction} saga The saga to trigger.
|
|
43
|
+
* @param {...[Any]} args Arbitrary number of arguments to pass into the saga.
|
|
44
|
+
*/
|
|
45
|
+
export function takeEveryWrapped(pattern: string, saga: GeneratorFunction, ...args: [Any][]): Generator<Object, void, unknown>;
|
|
46
|
+
/**
|
|
47
|
+
* Takes the latest action with the specified `pattern` and `spawn`s a wrapped
|
|
48
|
+
* version of the specified saga, such that any uncaught errors in the saga get
|
|
49
|
+
* reported by our `state.reporter` function. Cancels an previously started
|
|
50
|
+
* `saga` task. Also stores the task descriptor under the specified `taskName`
|
|
51
|
+
* for later cancellation via a `STOP_TASKS` action.
|
|
52
|
+
*
|
|
53
|
+
* Usage is similar to takeLatest:
|
|
54
|
+
* `yield fork(takeLatestWrappedCancellable, 'PATTERN', saga, 'TASK_NAME', 'test');`
|
|
55
|
+
*
|
|
56
|
+
* @param {String} pattern The pattern to `take` on.
|
|
57
|
+
* @param {GeneratorFunction} saga The saga to trigger.
|
|
58
|
+
* @param {String} taskName The key under which to store the task descriptor.
|
|
59
|
+
* See the `TaskNames` object in the constants module.
|
|
60
|
+
* @param {...[Any]} args Arbitrary number of arguments to pass into the saga.
|
|
61
|
+
*/
|
|
62
|
+
export function takeLatestWrappedCancellable(pattern: string, saga: GeneratorFunction, taskName: string, ...args: [Any][]): Generator<Object, void, any>;
|
|
63
|
+
/**
|
|
64
|
+
* Takes the latest action with the specified `pattern` and `spawn`s a wrapped
|
|
65
|
+
* version of the specified saga, such that any uncaught errors in the saga get
|
|
66
|
+
* reported by our `state.reporter` function. Cancels a previously started
|
|
67
|
+
* `saga` task.
|
|
68
|
+
*
|
|
69
|
+
* Usage is just like takeLatest:
|
|
70
|
+
* `yield fork(takeLatestWrapped, 'PATTERN', saga, 'test');`
|
|
71
|
+
*
|
|
72
|
+
* @param {String} pattern The pattern to `take` on.
|
|
73
|
+
* @param {GeneratorFunction} saga The saga to trigger.
|
|
74
|
+
* @param {...[Any]} args Arbitrary number of arguments to pass into the saga.
|
|
75
|
+
*/
|
|
76
|
+
export function takeLatestWrapped(pattern: string, saga: GeneratorFunction, ...args: [Any][]): Generator<Object, void, any>;
|
|
77
|
+
export function asyncRace(effects: any): Generator<import("redux-saga/effects").RaceEffect, void, unknown>;
|
|
78
|
+
/**
|
|
79
|
+
* True if any OVERLAY-context content is currently displayed.
|
|
80
|
+
* Checks both v1 content (Redux `currentContent`) and v2 experiences
|
|
81
|
+
* (tracked by the Open Builder instance, outside Redux).
|
|
82
|
+
*/
|
|
83
|
+
export function isOverlayShowing(): Generator<import("redux-saga/effects").SelectEffect, any, unknown>;
|
|
84
|
+
//# sourceMappingURL=saga-utils.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"saga-utils.d.ts","sourceRoot":"","sources":["../../src/scripts/sagas/saga-utils.js"],"names":[],"mappings":"AAmDA;;;;;;;;;;;;GAYG;AACH,mCANY,iBAAiB,WACd,CAAC,GAAG,CAAC,EAAA,GAER,MAAM,CAKjB;AAaD,0EAEC;AAED;;;;;;;;;;;;;;;GAeG;AACH,mEALY,iBAAiB,6BAGd,CAAC,GAAG,CAAC,EAAA,oCAanB;AAED;;;;;;;;;;;GAWG;AACH,wDAHY,iBAAiB,WACd,CAAC,GAAG,CAAC,EAAA,oCAInB;AAED;;;;;;;;;;;;;;;GAeG;AACH,oEALY,iBAAiB,6BAGd,CAAC,GAAG,CAAC,EAAA,gCAqBnB;AAED;;;;;;;;;;;;GAYG;AACH,yDAHY,iBAAiB,WACd,CAAC,GAAG,CAAC,EAAA,gCAInB;AAED,2GAEC;AAED;;;;GAIG;AACH,uGAiBC"}
|