@rokt/dcui-orchestrator 0.2.1-rc.9 → 0.3.1-rc.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/dist/extensions/address-form/src/actions/forms.d.ts +11 -0
- package/dist/extensions/address-form/src/actions/index.d.ts +1 -0
- package/dist/extensions/address-form/src/components/address-form.d.ts +96 -0
- package/dist/extensions/address-form/src/components/edit-address-form-view.d.ts +23 -0
- package/dist/extensions/address-form/src/components/form-button.d.ts +15 -0
- package/dist/extensions/address-form/src/components/input-field.d.ts +34 -0
- package/dist/extensions/address-form/src/index.d.ts +3 -0
- package/dist/extensions/address-form/src/models/form-state.d.ts +1 -0
- package/dist/extensions/address-form/src/models/index.d.ts +1 -0
- package/dist/extensions/address-form/src/reducers/forms.d.ts +4 -0
- package/dist/extensions/address-form/src/reducers/index.d.ts +1 -0
- package/dist/extensions/address-form/src/sagas/cart-service/index.d.ts +1 -0
- package/dist/extensions/address-form/src/sagas/cart-service/sagas.d.ts +9 -0
- package/dist/extensions/address-form/src/sagas/index.d.ts +2 -0
- package/dist/extensions/address-form/src/types.d.ts +63 -0
- package/dist/extensions/address-form/src/utils.d.ts +15 -0
- package/dist/extensions/minimized-bottomsheet/src/components/bottom-sheet/bottom-sheet.d.ts +2 -0
- package/dist/extensions/minimized-bottomsheet/src/components/bottom-sheet/factory.d.ts +1 -0
- package/dist/extensions/minimized-bottomsheet/src/components/bottom-sheet/hooks.d.ts +2 -1
- package/dist/extensions/minimized-bottomsheet/src/components/bottomsheet-wrapper/overlay-wrapper.d.ts +2 -2
- package/dist/extensions/shimmer-background/src/index.d.ts +10 -0
- package/dist/extensions/shimmer-background/src/shimmer-background.d.ts +11 -0
- package/dist/index.cjs +97 -46
- package/dist/index.js +102 -51
- package/dist/libraries/dcui-components/src/components/action-button/action-button.d.ts +24 -0
- package/dist/libraries/dcui-components/src/components/action-button/factory.d.ts +2 -0
- package/dist/libraries/dcui-components/src/components/action-button/index.d.ts +2 -0
- package/dist/libraries/dcui-components/src/components/catalog-carousel-collection/hooks.d.ts +7 -0
- package/dist/libraries/{layout-renderer-utils → dcui-components}/src/components/close-button/factory.d.ts +1 -1
- package/dist/libraries/dcui-components/src/components/data-image-carousel/carousel-indicators.d.ts +20 -0
- package/dist/libraries/dcui-components/src/components/data-image-carousel/data-image-carousel.d.ts +100 -0
- package/dist/libraries/dcui-components/src/components/data-image-carousel/factory.d.ts +2 -0
- package/dist/libraries/dcui-components/src/components/data-image-carousel/index.d.ts +2 -0
- package/dist/libraries/dcui-components/src/components/data-mapper/form-state-projection.d.ts +31 -0
- package/dist/libraries/dcui-components/src/components/data-mapper/index.d.ts +1 -0
- package/dist/libraries/dcui-components/src/components/extension/context.d.ts +2 -1
- package/dist/libraries/dcui-components/src/components/extension/models.d.ts +2 -1
- package/dist/libraries/dcui-components/src/components/form/factory.d.ts +2 -0
- package/dist/libraries/dcui-components/src/components/form/form.d.ts +24 -0
- package/dist/libraries/dcui-components/src/components/form/index.d.ts +2 -0
- package/dist/libraries/dcui-components/src/components/icon-group/factory.d.ts +2 -0
- package/dist/libraries/dcui-components/src/components/icon-group/icon-group.d.ts +36 -0
- package/dist/libraries/dcui-components/src/components/icon-group/index.d.ts +2 -0
- package/dist/libraries/dcui-components/src/components/index.d.ts +5 -0
- package/dist/libraries/dcui-components/src/components/layout-timer/index.d.ts +5 -0
- package/dist/libraries/dcui-components/src/components/layout-timer/layout-timer.d.ts +7 -0
- package/dist/libraries/dcui-components/src/components/layout-timer/timer-countdown-provider.d.ts +8 -0
- package/dist/libraries/dcui-components/src/components/layout-timer/use-layout-timer.d.ts +11 -0
- package/dist/libraries/dcui-components/src/components/layout-timer/use-timer-action-dispatch.d.ts +9 -0
- package/dist/libraries/dcui-components/src/components/rich-text/rich-text.d.ts +2 -0
- package/dist/libraries/dcui-components/src/components/scrollable-column/scrollable-column.d.ts +1 -1
- package/dist/libraries/dcui-components/src/components/scrollable-row/scrollable-row.d.ts +1 -1
- package/dist/libraries/dcui-components/src/components/style-mapper/get-css-writer.d.ts +1 -0
- package/dist/libraries/dcui-components/src/components/style-mapper/transformers/index.d.ts +1 -0
- package/dist/libraries/dcui-components/src/components/style-mapper/transformers/scroll-mask-transformer.d.ts +8 -0
- package/dist/libraries/dcui-components/src/components/style-mapper/types.d.ts +2 -2
- package/dist/libraries/dcui-components/src/components/text-input/factory.d.ts +2 -0
- package/dist/libraries/dcui-components/src/components/text-input/index.d.ts +2 -0
- package/dist/libraries/dcui-components/src/components/text-input/text-input.d.ts +23 -0
- package/dist/libraries/dcui-components/src/components/when/form-state.d.ts +9 -0
- package/dist/libraries/dcui-components/src/contexts/form-context.d.ts +15 -0
- package/dist/libraries/dcui-components/src/contexts/index.d.ts +2 -0
- package/dist/libraries/dcui-components/src/contexts/minimizable-context.d.ts +2 -0
- package/dist/libraries/dcui-components/src/contexts/offer-data-context.d.ts +1 -0
- package/dist/libraries/dcui-components/src/failure-codes.d.ts +1 -0
- package/dist/libraries/dcui-components/src/utils/get-scroll-mask-config.d.ts +20 -0
- package/dist/libraries/dcui-components/src/utils/index.d.ts +2 -0
- package/dist/libraries/dcui-components/src/utils/use-scroll-mask-visibility.d.ts +22 -0
- package/dist/libraries/dcui-schema/src/models/nodes/close-button.d.ts +3 -1
- package/dist/libraries/domain/src/behaviors/cart-item-event.d.ts +44 -0
- package/dist/libraries/domain/src/behaviors/dismiss-overlay.d.ts +9 -0
- package/dist/libraries/domain/src/behaviors/domain-states.d.ts +2 -2
- package/dist/libraries/domain/src/behaviors/form-state.d.ts +66 -0
- package/dist/libraries/domain/src/behaviors/global-actions.d.ts +17 -1
- package/dist/libraries/domain/src/behaviors/index.d.ts +6 -0
- package/dist/libraries/domain/src/behaviors/layout-events.d.ts +17 -0
- package/dist/libraries/domain/src/behaviors/offer-engagement.d.ts +3 -1
- package/dist/libraries/domain/src/behaviors/report-error.d.ts +26 -0
- package/dist/libraries/domain/src/behaviors/send-partner.d.ts +40 -3
- package/dist/libraries/domain/src/behaviors/trigger-action.d.ts +19 -0
- package/dist/libraries/domain/src/models/domain-state-keys.d.ts +5 -0
- package/dist/libraries/domain/src/models/form-state.d.ts +85 -0
- package/dist/libraries/domain/src/models/global-state.d.ts +4 -1
- package/dist/libraries/domain/src/models/index.d.ts +3 -0
- package/dist/libraries/domain/src/models/layout/index.d.ts +1 -0
- package/dist/libraries/domain/src/models/layout/layout-catalog-item.d.ts +2 -0
- package/dist/libraries/domain/src/models/layout/layout-child-config.d.ts +2 -0
- package/dist/libraries/domain/src/models/layout/layout-config.d.ts +2 -2
- package/dist/libraries/domain/src/models/layout/layout-offer.d.ts +2 -0
- package/dist/libraries/domain/src/models/layout/layout-signal-type.d.ts +3 -1
- package/dist/libraries/domain/src/models/layout/layout-transaction-data.d.ts +31 -0
- package/dist/libraries/domain/src/models/partner-event.d.ts +2 -2
- package/dist/libraries/domain/src/models/plugin/index.d.ts +2 -0
- package/dist/libraries/domain/src/models/plugin/plugin-catalog-item-group.d.ts +17 -0
- package/dist/libraries/domain/src/models/plugin/plugin-catalog-item.d.ts +8 -0
- package/dist/libraries/domain/src/models/plugin/plugin-child-layout-model.d.ts +2 -0
- package/dist/libraries/domain/src/models/plugin/plugin-model.d.ts +3 -3
- package/dist/libraries/domain/src/models/plugin/plugin-offer.d.ts +4 -0
- package/dist/libraries/domain/src/models/plugin/plugin-signal-type.d.ts +4 -1
- package/dist/libraries/domain/src/models/plugin/plugin-transaction-data.d.ts +31 -0
- package/dist/libraries/domain/src/models/purchase.d.ts +54 -0
- package/dist/libraries/domain/src/models/shipping.d.ts +25 -0
- package/dist/libraries/domain/src/models/signals.d.ts +19 -5
- package/dist/libraries/layout-renderer-utils/src/actions/domain-states.d.ts +14 -0
- package/dist/libraries/layout-renderer-utils/src/actions/form-states.d.ts +37 -0
- package/dist/libraries/layout-renderer-utils/src/actions/index.d.ts +15 -3
- package/dist/libraries/layout-renderer-utils/src/actions/overlay.d.ts +15 -8
- package/dist/libraries/layout-renderer-utils/src/actions/settings.d.ts +10 -3
- package/dist/libraries/layout-renderer-utils/src/components/index.d.ts +4 -1
- package/dist/libraries/layout-renderer-utils/src/components/minimizable-bottomsheet/connector.d.ts +2 -0
- package/dist/libraries/layout-renderer-utils/src/components/minimizable-bottomsheet/drag-handle.d.ts +7 -0
- package/dist/libraries/layout-renderer-utils/src/components/minimizable-bottomsheet/extract-border-styles.d.ts +25 -0
- package/dist/libraries/layout-renderer-utils/src/components/minimizable-bottomsheet/factory.d.ts +13 -0
- package/dist/libraries/layout-renderer-utils/src/components/minimizable-bottomsheet/hooks.d.ts +23 -0
- package/dist/libraries/layout-renderer-utils/src/components/minimizable-bottomsheet/index.d.ts +2 -0
- package/dist/libraries/layout-renderer-utils/src/components/minimizable-bottomsheet/minimizable-bottomsheet-wrapper.d.ts +12 -0
- package/dist/libraries/layout-renderer-utils/src/components/minimizable-bottomsheet/minimizable-bottomsheet.d.ts +27 -0
- package/dist/libraries/layout-renderer-utils/src/components/minimizable-bottomsheet/sheet-gesture.d.ts +18 -0
- package/dist/libraries/layout-renderer-utils/src/components/minimizable-bottomsheet/types.d.ts +63 -0
- package/dist/libraries/layout-renderer-utils/src/components/minimize-button/factory.d.ts +2 -0
- package/dist/libraries/layout-renderer-utils/src/components/minimize-button/index.d.ts +2 -0
- package/dist/libraries/layout-renderer-utils/src/components/minimize-button/minimize-button.d.ts +12 -0
- package/dist/libraries/layout-renderer-utils/src/components/overlay/overlay.d.ts +1 -0
- package/dist/libraries/layout-renderer-utils/src/components/overlay-wrapper/attached-overlay-wrapper.d.ts +19 -0
- package/dist/libraries/layout-renderer-utils/src/components/overlay-wrapper/index.d.ts +1 -0
- package/dist/libraries/layout-renderer-utils/src/components/utils.d.ts +1 -0
- package/dist/libraries/layout-renderer-utils/src/constant.d.ts +1 -1
- package/dist/libraries/layout-renderer-utils/src/hooks/useEscToClose.d.ts +1 -0
- package/dist/libraries/layout-renderer-utils/src/models/state/fired-events.d.ts +17 -0
- package/dist/libraries/layout-renderer-utils/src/models/state/form-states.d.ts +11 -0
- package/dist/libraries/layout-renderer-utils/src/models/state/index.d.ts +9 -2
- package/dist/libraries/layout-renderer-utils/src/models/state/layout.d.ts +2 -1
- package/dist/libraries/layout-renderer-utils/src/models/state/settings.d.ts +6 -0
- package/dist/libraries/layout-renderer-utils/src/reducers/fired-events/index.d.ts +1 -0
- package/dist/libraries/layout-renderer-utils/src/reducers/fired-events/reducer.d.ts +5 -0
- package/dist/libraries/layout-renderer-utils/src/reducers/form-states/index.d.ts +1 -0
- package/dist/libraries/layout-renderer-utils/src/reducers/form-states/reducer.d.ts +4 -0
- package/dist/libraries/layout-renderer-utils/src/reducers/index.d.ts +6 -0
- package/dist/libraries/layout-renderer-utils/src/reducers/settings/reducer.d.ts +3 -3
- package/dist/libraries/layout-renderer-utils/src/sagas/error/error-codes.d.ts +2 -0
- package/dist/libraries/layout-renderer-utils/src/sagas/form-states/index.d.ts +1 -0
- package/dist/libraries/layout-renderer-utils/src/sagas/form-states/sagas.d.ts +16 -0
- package/dist/libraries/layout-renderer-utils/src/sagas/index.d.ts +2 -0
- package/dist/libraries/layout-renderer-utils/src/sagas/plugin/attached-bottomsheet.d.ts +18 -0
- package/dist/libraries/layout-renderer-utils/src/sagas/plugin/display.d.ts +7 -13
- package/dist/libraries/layout-renderer-utils/src/sagas/plugin/sagas.d.ts +1 -1
- package/dist/libraries/layout-renderer-utils/src/sagas/trigger-action/index.d.ts +1 -0
- package/dist/libraries/layout-renderer-utils/src/sagas/trigger-action/sagas.d.ts +12 -0
- package/dist/libraries/layout-renderer-utils/src/selectors/fired-events/selectors.d.ts +7 -0
- package/dist/libraries/layout-renderer-utils/src/selectors/form-state/index.d.ts +1 -0
- package/dist/libraries/layout-renderer-utils/src/selectors/form-state/selectors.d.ts +8 -0
- package/dist/libraries/layout-renderer-utils/src/selectors/index.d.ts +2 -0
- package/dist/libraries/layout-renderer-utils/src/utils/signals.d.ts +2 -2
- package/dist/libraries/module-connector/src/main.d.ts +1 -1
- package/dist/libraries/module-connector/src/models/gateway.d.ts +4 -3
- package/dist/libraries/module-connector/src/models/module-connector-builder.d.ts +4 -1
- package/dist/libraries/module-utils/src/actions/child-layouts.d.ts +11 -0
- package/dist/libraries/module-utils/src/actions/dynamic-data.d.ts +7 -0
- package/dist/libraries/module-utils/src/actions/index.d.ts +2 -0
- package/dist/libraries/module-utils/src/index.d.ts +5 -0
- package/dist/libraries/module-utils/src/models/index.d.ts +1 -0
- package/dist/libraries/module-utils/src/models/state/child-layouts.d.ts +4 -0
- package/dist/libraries/module-utils/src/models/state/dynamic-data.d.ts +3 -0
- package/dist/libraries/module-utils/src/models/state/index.d.ts +3 -0
- package/dist/libraries/module-utils/src/models/state/static-data.d.ts +6 -0
- package/dist/libraries/module-utils/src/reducers/child-layouts/index.d.ts +1 -0
- package/dist/libraries/module-utils/src/reducers/child-layouts/reducer.d.ts +5 -0
- package/dist/libraries/module-utils/src/reducers/dynamic-data/index.d.ts +1 -0
- package/dist/libraries/module-utils/src/reducers/dynamic-data/reducer.d.ts +4 -0
- package/dist/libraries/module-utils/src/reducers/index.d.ts +3 -0
- package/dist/libraries/module-utils/src/reducers/static-data/index.d.ts +1 -0
- package/dist/libraries/module-utils/src/reducers/static-data/reducer.d.ts +4 -0
- package/dist/libraries/module-utils/src/sagas/child-layouts/index.d.ts +1 -0
- package/dist/libraries/module-utils/src/sagas/child-layouts/sagas.d.ts +5 -0
- package/dist/libraries/module-utils/src/sagas/error-codes.d.ts +1 -0
- package/dist/libraries/module-utils/src/sagas/index.d.ts +1 -0
- package/dist/libraries/module-utils/src/selectors/child-layouts/index.d.ts +1 -0
- package/dist/libraries/module-utils/src/selectors/child-layouts/selectors.d.ts +4 -0
- package/dist/libraries/module-utils/src/selectors/dynamic-data/index.d.ts +1 -0
- package/dist/libraries/module-utils/src/selectors/dynamic-data/selectors.d.ts +4 -0
- package/dist/libraries/module-utils/src/selectors/index.d.ts +3 -0
- package/dist/libraries/module-utils/src/selectors/static-data/index.d.ts +1 -0
- package/dist/libraries/module-utils/src/selectors/static-data/selectors.d.ts +7 -0
- package/dist/libraries/orchestrator/src/actions/domain-states.d.ts +2 -2
- package/dist/libraries/orchestrator/src/actions/index.d.ts +14 -4
- package/dist/libraries/orchestrator/src/actions/trigger-action.d.ts +2 -0
- package/dist/libraries/orchestrator/src/global-store-proxy.d.ts +2 -0
- package/dist/libraries/orchestrator/src/models/index.d.ts +1 -1
- package/dist/libraries/orchestrator/src/models/state/domain-states.d.ts +2 -2
- package/dist/libraries/orchestrator/src/models/state/index.d.ts +0 -2
- package/dist/libraries/orchestrator/src/reducers/domain-states/reducer.d.ts +2 -1
- package/dist/libraries/orchestrator/src/reducers/index.d.ts +3 -1
- package/dist/libraries/orchestrator/src/sagas/plugin/config-transformer.d.ts +2 -2
- package/dist/libraries/orchestrator/src/sagas/plugin/migrate-schema.d.ts +2 -2
- package/dist/libraries/orchestrator/src/sagas/plugin/migrations/migration-mapper.d.ts +3 -3
- package/dist/libraries/orchestrator/src/sagas/plugin/migrations/v1.0.d.ts +2 -2
- package/dist/libraries/orchestrator/src/sagas/plugin/sagas.d.ts +2 -2
- package/dist/libraries/orchestrator/src/sagas/progression/sagas.d.ts +2 -1
- package/dist/libraries/orchestrator/src/sagas/trigger-action/index.d.ts +1 -0
- package/dist/libraries/orchestrator/src/sagas/trigger-action/sagas.d.ts +3 -0
- package/dist/libraries/orchestrator/src/selectors/domain-state/selectors.d.ts +2 -2
- package/dist/libraries/orchestrator/src/selectors/index.d.ts +1 -1
- package/dist/libraries/plugin-utils/src/translate-config.d.ts +5 -1
- package/dist/libraries/saga-utils/src/sagas/handle-variant-action.d.ts +12 -0
- package/dist/libraries/saga-utils/src/sagas/index.d.ts +1 -0
- package/dist/libraries/saga-utils/src/utils/catalog-translator.d.ts +1 -0
- package/dist/modules/add-to-cart/src/components/escape-hatch/factory.d.ts +1 -1
- package/dist/modules/add-to-cart/src/components/mapped-icons/icon-registry-data.d.ts +10 -0
- package/dist/modules/add-to-cart/src/components/mapped-icons/icon-registry.d.ts +9 -0
- package/dist/modules/add-to-cart/src/components/mapped-icons/mapped-icon.d.ts +15 -0
- package/dist/modules/add-to-cart/src/components/read-more-text/read-more-text.d.ts +29 -0
- package/dist/modules/add-to-cart/src/components/read-more-text-container/read-more-text-container.d.ts +34 -0
- package/dist/modules/add-to-cart/src/components/scroll-to-target/scroll-to-target.d.ts +56 -0
- package/dist/modules/add-to-cart/src/components/tooltip/tooltip.d.ts +42 -0
- package/dist/modules/add-to-cart/src/components/when-catalog-quantity/when-catalog-quantity.d.ts +22 -0
- package/dist/modules/add-to-cart/src/reducers/index.d.ts +1 -1
- package/dist/modules/add-to-cart/src/sagas/cart-service-response/index.d.ts +1 -0
- package/dist/modules/add-to-cart/src/sagas/cart-service-response/sagas.d.ts +11 -0
- package/dist/modules/add-to-cart/src/sagas/index.d.ts +11 -0
- package/dist/modules/add-to-cart/src/selectors/catalogItems/selectors.d.ts +2 -0
- package/dist/modules/add-to-cart/src/selectors/creative/index.d.ts +1 -0
- package/dist/modules/add-to-cart/src/selectors/creative/selectors.d.ts +3 -0
- package/dist/modules/add-to-cart/src/selectors/index.d.ts +2 -1
- package/dist/modules/add-to-cart/src/selectors/offerDataState/index.d.ts +1 -0
- package/dist/modules/add-to-cart/src/selectors/{globalOfferDataState → offerDataState}/selectors.d.ts +1 -1
- package/dist/modules/instant-purchase/src/actions/device-pay.d.ts +60 -0
- package/dist/modules/instant-purchase/src/actions/index.d.ts +2 -0
- package/dist/modules/instant-purchase/src/actions/instant-purchase.d.ts +52 -2
- package/dist/modules/instant-purchase/src/actions/paypal.d.ts +35 -0
- package/dist/modules/instant-purchase/src/channels/channel.d.ts +5 -1
- package/dist/modules/instant-purchase/src/components/catalog-device-pay-button/apple-pay-button.d.ts +36 -0
- package/dist/modules/instant-purchase/src/components/catalog-device-pay-button/catalog-device-pay-button.d.ts +59 -0
- package/dist/modules/instant-purchase/src/components/catalog-device-pay-button/factory.d.ts +2 -0
- package/dist/modules/instant-purchase/src/components/catalog-device-pay-button/retryable-device-pay-error.d.ts +1 -0
- package/dist/modules/instant-purchase/src/components/catalog-discount-callout-tag/catalog-discount-callout-tag.d.ts +90 -0
- package/dist/modules/instant-purchase/src/components/catalog-dropdown/catalog-dropdown.d.ts +6 -0
- package/dist/modules/instant-purchase/src/components/catalog-dropdown/dropdown-options-context.d.ts +17 -0
- package/dist/modules/instant-purchase/src/components/catalog-dropdown/factory.d.ts +2 -0
- package/dist/modules/instant-purchase/src/components/catalog-imagegallery/catalog-gallery-index.d.ts +1 -0
- package/dist/modules/instant-purchase/src/components/catalog-imagegallery/catalog-image-gallery.d.ts +6 -0
- package/dist/modules/instant-purchase/src/components/catalog-imagegallery/factory.d.ts +2 -0
- package/dist/modules/instant-purchase/src/components/catalog-selectors-stacked/catalog-selectors-stacked.d.ts +6 -0
- package/dist/modules/instant-purchase/src/components/catalog-selectors-stacked/factory.d.ts +2 -0
- package/dist/modules/instant-purchase/src/components/catalog-thumbnail-gallery/catalog-thumbnail-gallery.d.ts +6 -0
- package/dist/modules/instant-purchase/src/components/catalog-thumbnail-gallery/factory.d.ts +2 -0
- package/dist/modules/instant-purchase/src/components/checkbox/checkbox.d.ts +1 -0
- package/dist/modules/instant-purchase/src/components/checkout-state-button-trigger/checkout-state-button-trigger.d.ts +2 -0
- package/dist/modules/instant-purchase/src/components/custom-state-validation-trigger-button/custom-state-validation-trigger-button.d.ts +28 -0
- package/dist/modules/instant-purchase/src/components/dismiss-instant-purchase-button/dismiss-instant-purchase-button.d.ts +1 -0
- package/dist/modules/instant-purchase/src/components/escape-hatch/factory.d.ts +1 -1
- package/dist/modules/instant-purchase/src/components/escape-hatch/index.d.ts +1 -0
- package/dist/modules/instant-purchase/src/components/{catalog-drop-down → escapehatch-catalog-drop-down}/catalog-drop-down.d.ts +2 -0
- package/dist/modules/instant-purchase/src/components/{catalog-image-gallery → escapehatch-catalog-image-gallery}/catalog-image-gallery.d.ts +15 -4
- package/dist/modules/instant-purchase/src/components/escapehatch-catalog-image-gallery/constants.d.ts +9 -0
- package/dist/modules/instant-purchase/src/components/inline-container/factory.d.ts +2 -0
- package/dist/modules/instant-purchase/src/components/inline-container/inline-container.d.ts +55 -0
- package/dist/modules/instant-purchase/src/components/loading-spinner/loading-spinner.d.ts +2 -1
- package/dist/modules/instant-purchase/src/components/offer-lifecycle-timer/offer-lifecycle-timer.d.ts +2 -0
- package/dist/modules/instant-purchase/src/components/read-more-text-container/read-more-text-container.d.ts +1 -0
- package/dist/modules/instant-purchase/src/components/rich-text/factory.d.ts +2 -0
- package/dist/modules/instant-purchase/src/components/rich-text/rich-text.d.ts +64 -0
- package/dist/modules/instant-purchase/src/components/snackbar/snackbar.d.ts +25 -0
- package/dist/modules/instant-purchase/src/constants/device-pay-error.d.ts +4 -0
- package/dist/modules/instant-purchase/src/constants/device-pay-providers.d.ts +26 -0
- package/dist/modules/instant-purchase/src/constants/index.d.ts +2 -0
- package/dist/modules/instant-purchase/src/models/state/device-pay-availability.d.ts +5 -0
- package/dist/modules/instant-purchase/src/models/state/index.d.ts +1 -0
- package/dist/modules/instant-purchase/src/models/state/instant-purchase.d.ts +70 -2
- package/dist/modules/instant-purchase/src/reducers/device-pay-availability/index.d.ts +1 -0
- package/dist/modules/instant-purchase/src/reducers/device-pay-availability/reducer.d.ts +4 -0
- package/dist/modules/instant-purchase/src/reducers/index.d.ts +17 -2
- package/dist/modules/instant-purchase/src/reducers/instant-purchase/index.d.ts +3 -0
- package/dist/modules/instant-purchase/src/reducers/instant-purchase/offer-lifecycle-event/index.d.ts +1 -0
- package/dist/modules/instant-purchase/src/reducers/instant-purchase/offer-lifecycle-event/reducer.d.ts +4 -0
- package/dist/modules/instant-purchase/src/reducers/instant-purchase/purchase-id/index.d.ts +1 -0
- package/dist/modules/instant-purchase/src/reducers/instant-purchase/purchase-id/reducer.d.ts +4 -0
- package/dist/modules/instant-purchase/src/reducers/instant-purchase/tax-and-shipping-data-cache/index.d.ts +1 -0
- package/dist/modules/instant-purchase/src/reducers/instant-purchase/tax-and-shipping-data-cache/reducer.d.ts +4 -0
- package/dist/modules/instant-purchase/src/reducers/paypal-purchase-context/index.d.ts +2 -0
- package/dist/modules/instant-purchase/src/reducers/paypal-purchase-context/reducer.d.ts +5 -0
- package/dist/modules/instant-purchase/src/reducers/paypal-transaction-details/index.d.ts +2 -0
- package/dist/modules/instant-purchase/src/reducers/paypal-transaction-details/reducer.d.ts +5 -0
- package/dist/modules/instant-purchase/src/sagas/checkout-lifecycle/sagas.d.ts +1 -1
- package/dist/modules/instant-purchase/src/sagas/device-pay/index.d.ts +1 -0
- package/dist/modules/instant-purchase/src/sagas/device-pay/sagas.d.ts +116 -0
- package/dist/modules/instant-purchase/src/sagas/dismiss-overlay/index.d.ts +1 -0
- package/dist/modules/instant-purchase/src/sagas/dismiss-overlay/sagas.d.ts +7 -0
- package/dist/modules/instant-purchase/src/sagas/error-codes.d.ts +14 -0
- package/dist/modules/instant-purchase/src/sagas/index.d.ts +16 -1
- package/dist/modules/instant-purchase/src/sagas/instant-purchase/sagas.d.ts +20 -72
- package/dist/modules/instant-purchase/src/sagas/instant-purchase-signals.d.ts +4 -0
- package/dist/modules/instant-purchase/src/sagas/layout-events.d.ts +9 -0
- package/dist/modules/instant-purchase/src/sagas/offer-engagement.d.ts +3 -0
- package/dist/modules/instant-purchase/src/sagas/paypal/index.d.ts +1 -0
- package/dist/modules/instant-purchase/src/sagas/paypal/sagas.d.ts +83 -0
- package/dist/modules/instant-purchase/src/sagas/tax-and-shipping/index.d.ts +1 -0
- package/dist/modules/instant-purchase/src/sagas/tax-and-shipping/sagas.d.ts +50 -0
- package/dist/modules/instant-purchase/src/sagas/variant-action-overrides.d.ts +11 -0
- package/dist/modules/instant-purchase/src/selectors/creative/index.d.ts +1 -0
- package/dist/modules/instant-purchase/src/selectors/creative/selectors.d.ts +5 -0
- package/dist/modules/instant-purchase/src/selectors/device-pay-availability/index.d.ts +1 -0
- package/dist/modules/instant-purchase/src/selectors/device-pay-availability/selectors.d.ts +13 -0
- package/dist/modules/instant-purchase/src/selectors/index.d.ts +4 -0
- package/dist/modules/instant-purchase/src/selectors/paypal-transaction-details/index.d.ts +1 -0
- package/dist/modules/instant-purchase/src/selectors/paypal-transaction-details/selectors.d.ts +3 -0
- package/dist/modules/instant-purchase/src/selectors/tax-and-shipping/index.d.ts +1 -0
- package/dist/modules/instant-purchase/src/selectors/tax-and-shipping/selectors.d.ts +3 -0
- package/dist/modules/instant-purchase/src/utils/create-tax-and-shipping-cache-key.d.ts +4 -0
- package/dist/modules/layouts-xp-sandbox/src/reducers/index.d.ts +1 -1
- package/dist/modules/layouts-xp-sandbox/src/sagas/index.d.ts +11 -0
- package/dist/modules/layouts-xp-sandbox/src/sagas/offer-engagement/sagas.d.ts +1 -1
- package/dist/modules/standard-marketing/src/components/escape-hatch/factory.d.ts +2 -0
- package/dist/modules/standard-marketing/src/components/escape-hatch-checkbox/escape-hatch-checkbox.d.ts +28 -0
- package/dist/modules/standard-marketing/src/reducers/index.d.ts +1 -1
- package/dist/modules/standard-marketing/src/sagas/index.d.ts +11 -0
- package/dist/modules/standard-marketing/src/sagas/offer-engagement/channels.d.ts +4 -1
- package/dist/modules/standard-marketing/src/sagas/offer-engagement/sagas.d.ts +3 -3
- package/node_modules/@rokt/dcui-layout-schema/dist/schema.d.ts +4694 -117
- package/node_modules/@rokt/dcui-layout-schema/dist/schema.js +1 -1
- package/node_modules/@rokt/dcui-layout-schema/dist/tsconfig.tsbuildinfo +1 -1
- package/node_modules/@rokt/dcui-layout-schema/package.json +1 -1
- package/node_modules/@rokt/dcui-layout-schema/v0.1/index.d.ts +953 -29
- package/node_modules/@rokt/dcui-layout-schema/v0.1/index.js +1 -1
- package/node_modules/@rokt/dcui-layout-schema/v0.10/index.d.ts +1087 -35
- package/node_modules/@rokt/dcui-layout-schema/v0.10/index.js +1 -1
- package/node_modules/@rokt/dcui-layout-schema/v0.11/index.d.ts +1143 -35
- package/node_modules/@rokt/dcui-layout-schema/v0.11/index.js +1 -1
- package/node_modules/@rokt/dcui-layout-schema/v0.12/index.d.ts +1147 -35
- package/node_modules/@rokt/dcui-layout-schema/v0.12/index.js +1 -1
- package/node_modules/@rokt/dcui-layout-schema/v0.13/index.d.ts +1218 -35
- package/node_modules/@rokt/dcui-layout-schema/v0.13/index.js +1 -1
- package/node_modules/@rokt/dcui-layout-schema/v0.14/index.d.ts +1258 -37
- package/node_modules/@rokt/dcui-layout-schema/v0.14/index.js +1 -1
- package/node_modules/@rokt/dcui-layout-schema/v0.15/index.d.ts +1272 -38
- package/node_modules/@rokt/dcui-layout-schema/v0.15/index.js +1 -1
- package/node_modules/@rokt/dcui-layout-schema/v0.16/index.d.ts +1334 -38
- package/node_modules/@rokt/dcui-layout-schema/v0.16/index.js +1 -1
- package/node_modules/@rokt/dcui-layout-schema/v0.17/index.d.ts +1353 -39
- package/node_modules/@rokt/dcui-layout-schema/v0.17/index.js +1 -1
- package/node_modules/@rokt/dcui-layout-schema/v0.18/index.d.ts +1406 -39
- package/node_modules/@rokt/dcui-layout-schema/v0.18/index.js +1 -1
- package/node_modules/@rokt/dcui-layout-schema/v0.19/index.d.ts +1407 -39
- package/node_modules/@rokt/dcui-layout-schema/v0.19/index.js +1 -1
- package/node_modules/@rokt/dcui-layout-schema/v0.2/index.d.ts +1013 -33
- package/node_modules/@rokt/dcui-layout-schema/v0.2/index.js +1 -1
- package/node_modules/@rokt/dcui-layout-schema/v0.20/index.d.ts +1439 -39
- package/node_modules/@rokt/dcui-layout-schema/v0.20/index.js +1 -1
- package/node_modules/@rokt/dcui-layout-schema/v0.21/index.d.ts +1482 -39
- package/node_modules/@rokt/dcui-layout-schema/v0.21/index.js +1 -1
- package/node_modules/@rokt/dcui-layout-schema/v0.22/index.d.ts +1512 -39
- package/node_modules/@rokt/dcui-layout-schema/v0.22/index.js +1 -1
- package/node_modules/@rokt/dcui-layout-schema/v0.23/index.d.ts +1522 -40
- package/node_modules/@rokt/dcui-layout-schema/v0.23/index.js +1 -1
- package/node_modules/@rokt/dcui-layout-schema/v0.3/index.d.ts +1013 -33
- package/node_modules/@rokt/dcui-layout-schema/v0.3/index.js +1 -1
- package/node_modules/@rokt/dcui-layout-schema/v0.4/index.d.ts +1041 -33
- package/node_modules/@rokt/dcui-layout-schema/v0.4/index.js +1 -1
- package/node_modules/@rokt/dcui-layout-schema/v0.5/index.d.ts +1065 -33
- package/node_modules/@rokt/dcui-layout-schema/v0.5/index.js +1 -1
- package/node_modules/@rokt/dcui-layout-schema/v0.6/index.d.ts +1065 -33
- package/node_modules/@rokt/dcui-layout-schema/v0.6/index.js +1 -1
- package/node_modules/@rokt/dcui-layout-schema/v0.7/index.d.ts +1066 -33
- package/node_modules/@rokt/dcui-layout-schema/v0.7/index.js +1 -1
- package/node_modules/@rokt/dcui-layout-schema/v0.8/index.d.ts +1069 -33
- package/node_modules/@rokt/dcui-layout-schema/v0.8/index.js +1 -1
- package/node_modules/@rokt/dcui-layout-schema/v0.9/index.d.ts +1070 -33
- package/node_modules/@rokt/dcui-layout-schema/v0.9/index.js +1 -1
- package/node_modules/@rokt/dcui-layout-schema/v1.0/index.d.ts +1827 -59
- package/node_modules/@rokt/dcui-layout-schema/v1.0/index.js +1 -1
- package/node_modules/@rokt/dcui-layout-schema/v1.1/index.d.ts +1851 -59
- package/node_modules/@rokt/dcui-layout-schema/v1.1/index.js +1 -1
- package/node_modules/@rokt/dcui-layout-schema/v1.10/index.d.ts +5322 -0
- package/node_modules/@rokt/dcui-layout-schema/v1.10/index.js +4 -0
- package/node_modules/@rokt/dcui-layout-schema/v1.11/index.d.ts +5486 -0
- package/node_modules/@rokt/dcui-layout-schema/v1.11/index.js +4 -0
- package/node_modules/@rokt/dcui-layout-schema/v1.12/index.d.ts +5496 -0
- package/node_modules/@rokt/dcui-layout-schema/v1.12/index.js +4 -0
- package/node_modules/@rokt/dcui-layout-schema/v1.13/index.d.ts +5498 -0
- package/node_modules/@rokt/dcui-layout-schema/v1.13/index.js +4 -0
- package/node_modules/@rokt/dcui-layout-schema/v1.14/index.d.ts +5828 -0
- package/node_modules/@rokt/dcui-layout-schema/v1.14/index.js +4 -0
- package/node_modules/@rokt/dcui-layout-schema/v1.15/index.d.ts +6085 -0
- package/node_modules/@rokt/dcui-layout-schema/v1.15/index.js +4 -0
- package/node_modules/@rokt/dcui-layout-schema/v1.16/index.d.ts +6324 -0
- package/node_modules/@rokt/dcui-layout-schema/v1.16/index.js +4 -0
- package/node_modules/@rokt/dcui-layout-schema/v1.17/index.d.ts +6439 -0
- package/node_modules/@rokt/dcui-layout-schema/v1.17/index.js +4 -0
- package/node_modules/@rokt/dcui-layout-schema/v1.18/index.d.ts +6439 -0
- package/node_modules/@rokt/dcui-layout-schema/v1.18/index.js +4 -0
- package/node_modules/@rokt/dcui-layout-schema/v1.19/index.d.ts +6439 -0
- package/node_modules/@rokt/dcui-layout-schema/v1.19/index.js +4 -0
- package/node_modules/@rokt/dcui-layout-schema/v1.2/index.d.ts +1861 -59
- package/node_modules/@rokt/dcui-layout-schema/v1.2/index.js +1 -1
- package/node_modules/@rokt/dcui-layout-schema/v1.20/index.d.ts +6558 -0
- package/node_modules/@rokt/dcui-layout-schema/v1.20/index.js +4 -0
- package/node_modules/@rokt/dcui-layout-schema/v1.3/index.d.ts +1948 -59
- package/node_modules/@rokt/dcui-layout-schema/v1.3/index.js +1 -1
- package/node_modules/@rokt/dcui-layout-schema/v1.4/index.d.ts +2115 -60
- package/node_modules/@rokt/dcui-layout-schema/v1.4/index.js +1 -1
- package/node_modules/@rokt/dcui-layout-schema/v1.5/index.d.ts +2137 -60
- package/node_modules/@rokt/dcui-layout-schema/v1.5/index.js +1 -1
- package/node_modules/@rokt/dcui-layout-schema/v1.6/index.d.ts +2308 -60
- package/node_modules/@rokt/dcui-layout-schema/v1.6/index.js +1 -1
- package/node_modules/@rokt/dcui-layout-schema/v1.7/index.d.ts +2578 -68
- package/node_modules/@rokt/dcui-layout-schema/v1.7/index.js +1 -1
- package/node_modules/@rokt/dcui-layout-schema/v1.8/index.d.ts +2680 -68
- package/node_modules/@rokt/dcui-layout-schema/v1.8/index.js +1 -1
- package/node_modules/@rokt/dcui-layout-schema/v1.9/index.d.ts +5222 -0
- package/node_modules/@rokt/dcui-layout-schema/v1.9/index.js +4 -0
- package/node_modules/@rokt/partner-integration/README.md +85 -0
- package/node_modules/@rokt/partner-integration/dist/cart/index.barrel.d.ts +2 -0
- package/node_modules/@rokt/partner-integration/dist/cart/index.d.ts +3 -0
- package/node_modules/@rokt/partner-integration/dist/cart/v1/delete-alert-partner-message-body.d.ts +7 -0
- package/node_modules/@rokt/partner-integration/dist/cart/v1/events.d.ts +23 -0
- package/node_modules/@rokt/partner-integration/dist/cart/v1/index.d.ts +5 -0
- package/node_modules/@rokt/partner-integration/dist/cart/v1/update-cart-item.d.ts +48 -0
- package/node_modules/@rokt/partner-integration/dist/cart/v1/upsert-alert-partner-message-body.d.ts +15 -0
- package/node_modules/@rokt/partner-integration/dist/cart/v1/upsert-delivery-details-message-body.d.ts +12 -0
- package/node_modules/@rokt/partner-integration/dist/cart/v2/cart-item-updated-placement-message-body.d.ts +48 -0
- package/node_modules/@rokt/partner-integration/dist/cart/v2/index.d.ts +4 -0
- package/node_modules/@rokt/partner-integration/dist/cart/v2/partner-message.d.ts +8 -0
- package/node_modules/@rokt/partner-integration/dist/cart/v2/placement-message.d.ts +10 -0
- package/node_modules/@rokt/partner-integration/dist/cart/v2/update-cart-item-partner-message-body.d.ts +4 -0
- package/node_modules/@rokt/partner-integration/dist/core/events.d.ts +45 -0
- package/node_modules/@rokt/partner-integration/dist/core/index.d.ts +1 -0
- package/node_modules/@rokt/partner-integration/dist/delivery-details/delivery-details.d.ts +20 -0
- package/node_modules/@rokt/partner-integration/dist/delivery-details/index.barrel.d.ts +2 -0
- package/node_modules/@rokt/partner-integration/dist/delivery-details/index.d.ts +2 -0
- package/node_modules/@rokt/partner-integration/dist/delivery-details/placement-message.d.ts +10 -0
- package/node_modules/@rokt/partner-integration/dist/extensions/extension-mapping.d.ts +9 -0
- package/node_modules/@rokt/partner-integration/dist/extensions/extension.d.ts +6 -0
- package/node_modules/@rokt/partner-integration/dist/extensions/index.barrel.d.ts +2 -0
- package/node_modules/@rokt/partner-integration/dist/extensions/index.d.ts +2 -0
- package/node_modules/@rokt/partner-integration/dist/index.d.ts +11 -0
- package/node_modules/@rokt/partner-integration/dist/index.js +1 -0
- package/node_modules/@rokt/partner-integration/dist/instant-purchase/cart-item-instant-purchase-message-body.d.ts +6 -0
- package/node_modules/@rokt/partner-integration/dist/instant-purchase/cart-item-instant-purchase-response-message-body.d.ts +11 -0
- package/node_modules/@rokt/partner-integration/dist/instant-purchase/index.barrel.d.ts +5 -0
- package/node_modules/@rokt/partner-integration/dist/instant-purchase/index.d.ts +2 -0
- package/node_modules/@rokt/partner-integration/dist/instant-purchase/partner-message.d.ts +8 -0
- package/node_modules/@rokt/partner-integration/dist/instant-purchase/placement-message.d.ts +9 -0
- package/node_modules/@rokt/partner-integration/dist/instant-purchase/v2/index.barrel.d.ts +5 -0
- package/node_modules/@rokt/partner-integration/dist/instant-purchase/v2/index.d.ts +1 -0
- package/node_modules/@rokt/partner-integration/dist/instant-purchase/v2/partner-message.d.ts +8 -0
- package/node_modules/@rokt/partner-integration/dist/instant-purchase/v2/placement-message.d.ts +9 -0
- package/node_modules/@rokt/partner-integration/dist/instant-purchase/v2/upsell-item-instant-purchase-message-body.d.ts +8 -0
- package/node_modules/@rokt/partner-integration/dist/instant-purchase/v2/upsell-item-instant-purchase-response-message-body.d.ts +11 -0
- package/node_modules/@rokt/partner-integration/dist/instant-purchase/v2/upsell-item.d.ts +26 -0
- package/node_modules/@rokt/partner-integration/dist/journey/index.barrel.d.ts +1 -0
- package/node_modules/@rokt/partner-integration/dist/journey/index.d.ts +2 -0
- package/node_modules/@rokt/partner-integration/dist/journey/journey-extension.d.ts +39 -0
- package/node_modules/@rokt/partner-integration/dist/link-navigation/index.d.ts +2 -0
- package/node_modules/@rokt/partner-integration/dist/link-navigation/link-navigation-message.d.ts +9 -0
- package/node_modules/@rokt/partner-integration/dist/link-navigation/link-navigation-request-body.d.ts +3 -0
- package/node_modules/@rokt/partner-integration/dist/partner-validation/events.d.ts +17 -0
- package/node_modules/@rokt/partner-integration/dist/partner-validation/index.barrel.d.ts +4 -0
- package/node_modules/@rokt/partner-integration/dist/partner-validation/index.d.ts +2 -0
- package/node_modules/@rokt/partner-integration/dist/partner-validation/partner-validation-extension.d.ts +7 -0
- package/node_modules/@rokt/partner-integration/dist/partner-validation/partner-validation-status.d.ts +10 -0
- package/node_modules/@rokt/partner-integration/dist/partner-validation/set-partner-validation-status.d.ts +12 -0
- package/node_modules/@rokt/partner-integration/dist/promotions-extension/index.d.ts +2 -0
- package/node_modules/@rokt/partner-integration/dist/promotions-extension/realtime-conversion-promotion-events.d.ts +6 -0
- package/node_modules/@rokt/partner-integration/dist/promotions-extension/realtime-conversion-promotion-payload.d.ts +1 -0
- package/node_modules/@rokt/partner-integration/dist/thank-you-page/index.barrel.d.ts +1 -0
- package/node_modules/@rokt/partner-integration/dist/thank-you-page/index.d.ts +2 -0
- package/node_modules/@rokt/partner-integration/dist/thank-you-page/thank-you-page-extension.d.ts +22 -0
- package/node_modules/@rokt/partner-integration/dist/upsells-offers/index.barrel.d.ts +5 -0
- package/node_modules/@rokt/partner-integration/dist/upsells-offers/index.d.ts +2 -0
- package/node_modules/@rokt/partner-integration/dist/upsells-offers/partner-message.d.ts +9 -0
- package/node_modules/@rokt/partner-integration/dist/upsells-offers/placement-message.d.ts +21 -0
- package/node_modules/@rokt/partner-integration/dist/upsells-offers/upsell-creative-sent-message-body.d.ts +14 -0
- package/node_modules/@rokt/partner-integration/dist/upsells-offers/upsells-offer.d.ts +35 -0
- package/node_modules/@rokt/partner-integration/dist/upsells-offers/upsells-offers-sent-body.d.ts +11 -0
- package/node_modules/@rokt/partner-integration/dist/user-action/index.barrel.d.ts +2 -0
- package/node_modules/@rokt/partner-integration/dist/user-action/index.d.ts +2 -0
- package/node_modules/@rokt/partner-integration/dist/user-action/user-action-event.d.ts +11 -0
- package/node_modules/@rokt/partner-integration/dist/user-action/user-action-extension.d.ts +4 -0
- package/node_modules/@rokt/partner-integration/package.json +34 -0
- package/node_modules/@rokt/plugin/bootstrap/bootstrap.d.ts +1 -2
- package/node_modules/@rokt/plugin/bootstrap/bootstrap.js +5 -30
- package/node_modules/@rokt/plugin/interface/context.d.ts +1 -0
- package/node_modules/@rokt/plugin/interface/display.d.ts +1 -0
- package/node_modules/@rokt/plugin/lib/index.barrel.d.ts +1 -14
- package/node_modules/@rokt/plugin/lib/index.barrel.js +1 -14
- package/node_modules/@rokt/plugin/lib/is-preload-frame.d.ts +1 -1
- package/node_modules/@rokt/plugin/lib/is-preload-frame.js +3 -1
- package/node_modules/@rokt/plugin/lib/plugin-instance.d.ts +13 -27
- package/node_modules/@rokt/plugin/lib/plugin-instance.js +1 -99
- package/node_modules/@rokt/plugin/package.json +15 -16
- package/node_modules/@rokt/plugin/standalone/standalone.d.ts +14 -2
- package/node_modules/@rokt/plugin/standalone/standalone.js +1 -0
- package/node_modules/@rokt/plugin/testing/mock-child-plugin-factory.d.ts +1 -1
- package/node_modules/@rokt/plugin/testing/mock-child-plugin-factory.js +2 -1
- package/node_modules/@rokt/plugin/testing/mock-child-plugin.d.ts +5 -5
- package/node_modules/@rokt/plugin/testing/mock-child-plugin.js +6 -5
- package/node_modules/@rokt/plugin/testing/mock-context.d.ts +18 -17
- package/node_modules/@rokt/plugin/testing/mock-context.js +19 -17
- package/node_modules/@rokt/plugin/testing/mock-display.d.ts +1 -1
- package/node_modules/@rokt/plugin/testing/mock-display.js +2 -1
- package/node_modules/@rokt/plugin/testing/mock-engine.d.ts +1 -2
- package/node_modules/@rokt/plugin/testing/mock-error.d.ts +1 -1
- package/node_modules/@rokt/plugin/testing/mock-error.js +2 -1
- package/node_modules/@rokt/plugin/testing/mock-function.d.ts +1 -0
- package/node_modules/@rokt/plugin/testing/mock-function.js +31 -0
- package/node_modules/@rokt/plugin/testing/mock-metrics.d.ts +4 -4
- package/node_modules/@rokt/plugin/testing/mock-metrics.js +5 -4
- package/node_modules/@rokt/plugin/testing/mock-parent-interaction.d.ts +2 -2
- package/node_modules/@rokt/plugin/testing/mock-parent-interaction.js +3 -2
- package/node_modules/@rokt/plugin/testing/mock-partner-interaction.d.ts +2 -2
- package/node_modules/@rokt/plugin/testing/mock-partner-interaction.js +3 -2
- package/node_modules/@rokt/plugin/testing/mock-rdn.d.ts +3 -3
- package/node_modules/@rokt/plugin/testing/mock-rdn.js +4 -3
- package/node_modules/@rokt/plugin/types/library-loaded.d.ts +0 -2
- package/node_modules/@rokt/plugin/types/library-loaded.js +0 -2
- package/package.json +8 -7
- package/dist/modules/instant-purchase/src/components/catalog-variation-selection-button/catalog-variation-selection-button.d.ts +0 -28
- package/node_modules/@rokt/plugin/lib/bootstrap-v1.d.ts +0 -3
- package/node_modules/@rokt/plugin/lib/bootstrap-v1.js +0 -9
- package/node_modules/@rokt/plugin/lib/child-plugin-factory.d.ts +0 -14
- package/node_modules/@rokt/plugin/lib/child-plugin-factory.js +0 -12
- package/node_modules/@rokt/plugin/lib/child-plugin.d.ts +0 -26
- package/node_modules/@rokt/plugin/lib/child-plugin.js +0 -81
- package/node_modules/@rokt/plugin/lib/context.d.ts +0 -23
- package/node_modules/@rokt/plugin/lib/context.js +0 -95
- package/node_modules/@rokt/plugin/lib/debug.d.ts +0 -19
- package/node_modules/@rokt/plugin/lib/debug.js +0 -36
- package/node_modules/@rokt/plugin/lib/display.d.ts +0 -13
- package/node_modules/@rokt/plugin/lib/display.js +0 -81
- package/node_modules/@rokt/plugin/lib/error.d.ts +0 -9
- package/node_modules/@rokt/plugin/lib/error.js +0 -35
- package/node_modules/@rokt/plugin/lib/is-inside-plugin-container.d.ts +0 -8
- package/node_modules/@rokt/plugin/lib/is-inside-plugin-container.js +0 -6
- package/node_modules/@rokt/plugin/lib/metrics.d.ts +0 -13
- package/node_modules/@rokt/plugin/lib/metrics.js +0 -55
- package/node_modules/@rokt/plugin/lib/parent-interaction.d.ts +0 -13
- package/node_modules/@rokt/plugin/lib/parent-interaction.js +0 -46
- package/node_modules/@rokt/plugin/lib/partner-interaction.d.ts +0 -11
- package/node_modules/@rokt/plugin/lib/partner-interaction.js +0 -35
- package/node_modules/@rokt/plugin/lib/plugin-runtime-connection.d.ts +0 -6
- package/node_modules/@rokt/plugin/lib/plugin-runtime-connection.js +0 -35
- package/node_modules/@rokt/plugin/lib/private-context.d.ts +0 -39
- package/node_modules/@rokt/plugin/lib/private-context.js +0 -76
- package/node_modules/@rokt/plugin/lib/rdn.d.ts +0 -15
- package/node_modules/@rokt/plugin/lib/rdn.js +0 -58
- package/node_modules/@rokt/plugin/lib/sender-receiver.d.ts +0 -5
- package/node_modules/@rokt/plugin/lib/sender-receiver.js +0 -1
- package/node_modules/@rokt/plugin/lib/theme.d.ts +0 -8
- package/node_modules/@rokt/plugin/lib/theme.js +0 -8
- package/node_modules/@rokt/plugin/lib/to-observable.d.ts +0 -4
- package/node_modules/@rokt/plugin/lib/to-observable.js +0 -12
- package/node_modules/@rokt/plugin/lib/unsafe.d.ts +0 -3
- package/node_modules/@rokt/plugin/lib/unsafe.js +0 -2
- package/node_modules/@rokt/plugin/lib/with-error-reporting.d.ts +0 -2
- package/node_modules/@rokt/plugin/lib/with-error-reporting.js +0 -22
- /package/dist/libraries/{layout-renderer-utils → dcui-components}/src/components/close-button/close-button.d.ts +0 -0
- /package/dist/libraries/{layout-renderer-utils → dcui-components}/src/components/close-button/index.d.ts +0 -0
- /package/dist/{modules/add-to-cart/src/selectors/globalOfferDataState → libraries/layout-renderer-utils/src/selectors/fired-events}/index.d.ts +0 -0
|
@@ -3,14 +3,15 @@ import { LoadModules, ModuleActions } from './module';
|
|
|
3
3
|
import { ProcessProgression, ProgressionActions } from './progression';
|
|
4
4
|
import { SlotActions } from './slots';
|
|
5
5
|
import { DismissInstantPurchase } from './dismiss-instant-purchase';
|
|
6
|
-
import {
|
|
6
|
+
import { TriggerAction } from './trigger-action';
|
|
7
|
+
import { LayoutAction, LayoutDisplayPreset, LayoutSchemaModel, LayoutSettings, LayoutTimer, RootSchemaModel, WhenPredicate } from '@rokt/dcui-layout-schema';
|
|
7
8
|
import { OfferLifecycle } from './offer-lifecycle';
|
|
8
9
|
import { DomainStatesActions } from './domain-states';
|
|
9
10
|
import { OfferEngagement } from './offer-engagement';
|
|
10
11
|
import { GlobalOfferDataStateActions } from './global-offer-data-state';
|
|
11
|
-
import { CoreStateActions, CoreSagasActions, HandleConfigAction } from '
|
|
12
|
+
import { CoreStateActions, CoreSagasActions, HandleConfigAction } from '../../../layout-renderer-utils/src/actions';
|
|
12
13
|
import { PluginModel } from '../../../domain/src/models';
|
|
13
|
-
export * from '
|
|
14
|
+
export * from '../../../layout-renderer-utils/src/actions';
|
|
14
15
|
export * from './module';
|
|
15
16
|
export * from './progression';
|
|
16
17
|
export * from './slots';
|
|
@@ -19,6 +20,7 @@ export * from './offer-lifecycle';
|
|
|
19
20
|
export * from './offer-engagement';
|
|
20
21
|
export * from './dismiss-instant-purchase';
|
|
21
22
|
export * from './global-offer-data-state';
|
|
23
|
+
export * from './trigger-action';
|
|
22
24
|
export type StateActions = CoreStateActions | ProgressionActions | SlotActions | ModuleActions | DomainStatesActions | GlobalOfferDataStateActions;
|
|
23
25
|
export declare const stateActionTypes: {
|
|
24
26
|
readonly NEXT_IN_PROGRESSION: "PROGRESSION/NEXT";
|
|
@@ -41,7 +43,14 @@ export declare const stateActionTypes: {
|
|
|
41
43
|
readonly UPDATE_CACHED_SERIALIZED_VALUE: "CACHE/UPDATE_SERIALIZED_VALUE";
|
|
42
44
|
readonly CLEAR_SERIALIZED_VALUE_FROM_CACHE: "CACHE/CLEAR_SERIALIZED_VALUE";
|
|
43
45
|
readonly SET_SETTINGS: "SETTINGS/SET";
|
|
46
|
+
readonly SET_BOTTOMSHEET_VISIBLE_HEIGHT: "SETTINGS/SET_BOTTOMSHEET_VISIBLE_HEIGHT";
|
|
44
47
|
readonly SET_CUSTOM_STATE: "CUSTOM_STATES/SET";
|
|
48
|
+
readonly SET_DOMAIN_STATE_REDUCER: "DOMAIN_STATES/SET";
|
|
49
|
+
readonly REGISTER_FORM_FIELD: "FORM_STATES/REGISTER_FIELD";
|
|
50
|
+
readonly UNREGISTER_FORM_FIELD: "FORM_STATES/UNREGISTER_FIELD";
|
|
51
|
+
readonly SET_FORM_FIELD_VALUE: "FORM_STATES/SET_FIELD_VALUE";
|
|
52
|
+
readonly SET_FORM_FIELD_TOUCHED: "FORM_STATES/SET_FIELD_TOUCHED";
|
|
53
|
+
readonly VALIDATE_FORM_FIELDS: "FORM_STATES/VALIDATE_FIELDS";
|
|
45
54
|
};
|
|
46
55
|
export declare const sagaActionTypes: {
|
|
47
56
|
readonly LOAD_MODULES: "MODULE/LOAD";
|
|
@@ -50,6 +59,7 @@ export declare const sagaActionTypes: {
|
|
|
50
59
|
readonly OFFER_LIFECYCLE: "OFFER_LIFECYCLE";
|
|
51
60
|
readonly OFFER_ENGAGEMENT: "OFFER_ENGAGEMENT";
|
|
52
61
|
readonly SET_PARTNER_VALIDATION_STATUS: "GLOBAL/SET_PARTNER_VALIDATION_STATUS";
|
|
62
|
+
readonly TRIGGER_ACTION: "GLOBAL/TRIGGER_ACTION";
|
|
53
63
|
readonly HANDLE_CONFIG: "CONFIG/HANDLE";
|
|
54
64
|
readonly SET_BREAKPOINTS: "BREAKPOINT/SET_BREAKPOINTS";
|
|
55
65
|
readonly CLOSE_PLUGIN: "PLUGIN/CLOSE_PLUGIN";
|
|
@@ -60,4 +70,4 @@ export declare const sagaActionTypes: {
|
|
|
60
70
|
readonly LOG: "LOG";
|
|
61
71
|
readonly OPEN_LINK: "GLOBAL/OPEN_LINK";
|
|
62
72
|
};
|
|
63
|
-
export type SagasActions = CoreSagasActions | HandleConfigAction<PluginModel<LayoutSchemaModel, RootSchemaModel<LayoutSchemaModel, LayoutDisplayPreset, LayoutSettings
|
|
73
|
+
export type SagasActions = CoreSagasActions | HandleConfigAction<PluginModel<LayoutSchemaModel, RootSchemaModel<LayoutSchemaModel, LayoutDisplayPreset, LayoutSettings, LayoutTimer<WhenPredicate, LayoutAction>>>> | LoadModules | DismissInstantPurchase | OfferLifecycle | OfferEngagement | ProcessProgression | LaunchChildLayout | SetPartnerValidationStatus | TriggerAction;
|
|
@@ -16,6 +16,8 @@ export declare function makeStoreProxyInitialState(): {
|
|
|
16
16
|
progression: null;
|
|
17
17
|
customStates: import("../../layout-renderer-utils/src/index").CustomStatesState;
|
|
18
18
|
domainStates: import("./models").LayoutVariantDomainStatesState;
|
|
19
|
+
firedEvents: {};
|
|
20
|
+
formStates: {};
|
|
19
21
|
};
|
|
20
22
|
export declare function makeGlobalStoreProxy(store: AppStore): GlobalStore;
|
|
21
23
|
export declare class GlobalStoreProxy implements GlobalStore {
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export * from './state';
|
|
2
|
-
export * from '
|
|
2
|
+
export * from '../../../layout-renderer-utils/src/models';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { LayoutVariantDomainStateKey } from '@rokt/dcui-layout-schema';
|
|
2
|
-
export type OuterLayoutDomainStatesState = Record<
|
|
1
|
+
import { OuterLayoutDomainStateKey, LayoutVariantDomainStateKey } from '@rokt/dcui-layout-schema';
|
|
2
|
+
export type OuterLayoutDomainStatesState = Record<OuterLayoutDomainStateKey, number>;
|
|
3
3
|
export type LayoutVariantDomainStatesState = Record<LayoutVariantDomainStateKey, number>;
|
|
4
4
|
export declare const ROOT: unique symbol;
|
|
5
5
|
export type DomainStatesIndexState = {
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { LayoutSettings } from '@rokt/dcui-layout-schema';
|
|
2
1
|
import { ModuleState } from './module';
|
|
3
2
|
import { ProgressionState } from './progression';
|
|
4
3
|
import { SlotState } from './slots';
|
|
@@ -14,7 +13,6 @@ export type AppState = CoreAppState & {
|
|
|
14
13
|
progression: ProgressionState;
|
|
15
14
|
slots: SlotState;
|
|
16
15
|
module: ModuleState;
|
|
17
|
-
settings: LayoutSettings;
|
|
18
16
|
domainStates: DomainStatesIndexState;
|
|
19
17
|
globalOfferDataState: GlobalOfferDataState;
|
|
20
18
|
};
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { AnyAction } from '@reduxjs/toolkit';
|
|
2
|
-
import { DomainStatesIndexState, LayoutVariantDomainStatesState } from '../../models';
|
|
2
|
+
import { DomainStatesIndexState, LayoutVariantDomainStatesState, OuterLayoutDomainStatesState } from '../../models';
|
|
3
3
|
export declare function makeInitialDomainStatesIndexState(): DomainStatesIndexState;
|
|
4
|
+
export declare function makeInitialOuterLayoutDomainStatesState(): OuterLayoutDomainStatesState;
|
|
4
5
|
export declare function makeInitialLayoutVariantDomainStatesState(): LayoutVariantDomainStatesState;
|
|
5
6
|
export declare function domainStatesReducer(state: DomainStatesIndexState | undefined, action: AnyAction): DomainStatesIndexState;
|
|
@@ -4,7 +4,7 @@ import { moduleReducer } from './module';
|
|
|
4
4
|
import { AppState } from '../models';
|
|
5
5
|
import { domainStatesReducer } from './domain-states';
|
|
6
6
|
import { globalOfferDataStateReducer } from './global-offer-data-state';
|
|
7
|
-
export * from '
|
|
7
|
+
export * from '../../../layout-renderer-utils/src/reducers';
|
|
8
8
|
export * from './progression';
|
|
9
9
|
export * from './slots';
|
|
10
10
|
export * from './module';
|
|
@@ -19,6 +19,8 @@ export declare const appReducers: {
|
|
|
19
19
|
serializableCache: typeof import("../../../layout-renderer-utils/src/index").serializableCacheReducer;
|
|
20
20
|
settings: typeof import("../../../layout-renderer-utils/src/index").settingsReducer;
|
|
21
21
|
customStates: typeof import("../../../layout-renderer-utils/src/index").customStatesReducer;
|
|
22
|
+
firedEvents: typeof import("../../../layout-renderer-utils/src/index").firedEventsReducer;
|
|
23
|
+
formStates: typeof import("../../../layout-renderer-utils/src/index").formStatesReducer;
|
|
22
24
|
progression: typeof progressionReducer;
|
|
23
25
|
slots: typeof slotReducer;
|
|
24
26
|
module: typeof moduleReducer;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { LayoutConfigSchemas } from '../../plugin-service';
|
|
2
2
|
import { PluginModel } from '../../../../domain/src/models';
|
|
3
|
-
import { LayoutSchemaModel, LayoutDisplayPreset, LayoutSettings, RootSchemaModel } from '@rokt/dcui-layout-schema';
|
|
4
|
-
export declare function configTransformer(config: LayoutConfigSchemas | undefined): PluginModel<LayoutSchemaModel, RootSchemaModel<LayoutSchemaModel, LayoutDisplayPreset, LayoutSettings
|
|
3
|
+
import { LayoutAction, LayoutSchemaModel, LayoutDisplayPreset, LayoutTimer, LayoutSettings, RootSchemaModel, WhenPredicate } from '@rokt/dcui-layout-schema';
|
|
4
|
+
export declare function configTransformer(config: LayoutConfigSchemas | undefined): PluginModel<LayoutSchemaModel, RootSchemaModel<LayoutSchemaModel, LayoutDisplayPreset, LayoutSettings, LayoutTimer<WhenPredicate, LayoutAction>>> | undefined;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { PluginModel } from '../../../../domain/src/models';
|
|
2
2
|
import { VersionedSchemaModels, VersionedRootSchemaModels } from './migrations';
|
|
3
|
-
import { LayoutSchemaModel, LayoutDisplayPreset, RootSchemaModel, LayoutSettings } from '@rokt/dcui-layout-schema';
|
|
4
|
-
export declare function migrateConfig(pluginConfig: PluginModel<VersionedSchemaModels, VersionedRootSchemaModels>, dcuiLibVersion: string): PluginModel<LayoutSchemaModel, RootSchemaModel<LayoutSchemaModel, LayoutDisplayPreset, LayoutSettings
|
|
3
|
+
import { LayoutAction, LayoutSchemaModel, LayoutDisplayPreset, LayoutTimer, RootSchemaModel, LayoutSettings, WhenPredicate } from '@rokt/dcui-layout-schema';
|
|
4
|
+
export declare function migrateConfig(pluginConfig: PluginModel<VersionedSchemaModels, VersionedRootSchemaModels>, dcuiLibVersion: string): PluginModel<LayoutSchemaModel, RootSchemaModel<LayoutSchemaModel, LayoutDisplayPreset, LayoutSettings, LayoutTimer<WhenPredicate, LayoutAction>>>;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { RootSchemaModel, LayoutSchemaModel, LayoutDisplayPreset, LayoutSettings } from '@rokt/dcui-layout-schema';
|
|
1
|
+
import { RootSchemaModel, LayoutAction, LayoutSchemaModel, LayoutDisplayPreset, LayoutSettings, LayoutTimer, WhenPredicate } from '@rokt/dcui-layout-schema';
|
|
2
2
|
import { LayoutSchemaModel as LayoutSchemaModel_V0_1, RootSchemaModel as RootSchemaModel_V0_1, LayoutDisplayPreset as LayoutDisplayPreset_V0_1 } from '@rokt/dcui-layout-schema/v0.1';
|
|
3
3
|
import { LayoutSchemaModel as LayoutSchemaModel_V0_23, RootSchemaModel as RootSchemaModel_V0_23, LayoutDisplayPreset as LayoutDisplayPreset_V0_23, LayoutSettings as LayoutSettings_V0_23 } from '@rokt/dcui-layout-schema/v0.23';
|
|
4
4
|
import { LayoutSchemaModel as LayoutSchemaModel_V1_0, RootSchemaModel as RootSchemaModel_V1_0, LayoutDisplayPreset as LayoutDisplayPreset_V1_0, LayoutSettings as LayoutSettings_V1_0 } from '@rokt/dcui-layout-schema';
|
|
5
5
|
import { LayoutSchemaModel as LayoutSchemaModel_V0_0, RootSchemaModel as RootSchemaModel_V0_0 } from '../../../../../dcui-schema/src/index';
|
|
6
6
|
export type VersionedSchemaModels = LayoutSchemaModel_V0_0 | LayoutSchemaModel_V0_1 | LayoutSchemaModel_V0_23 | LayoutSchemaModel_V1_0 | LayoutSchemaModel;
|
|
7
|
-
export type VersionedRootSchemaModels = RootSchemaModel_V0_0<LayoutSchemaModel_V0_0> | RootSchemaModel_V0_1<LayoutSchemaModel_V0_1, LayoutDisplayPreset_V0_1> | RootSchemaModel_V0_23<LayoutSchemaModel_V0_23, LayoutDisplayPreset_V0_23, LayoutSettings_V0_23> | RootSchemaModel_V1_0<LayoutSchemaModel_V1_0, LayoutDisplayPreset_V1_0, LayoutSettings_V1_0
|
|
7
|
+
export type VersionedRootSchemaModels = RootSchemaModel_V0_0<LayoutSchemaModel_V0_0> | RootSchemaModel_V0_1<LayoutSchemaModel_V0_1, LayoutDisplayPreset_V0_1> | RootSchemaModel_V0_23<LayoutSchemaModel_V0_23, LayoutDisplayPreset_V0_23, LayoutSettings_V0_23> | RootSchemaModel_V1_0<LayoutSchemaModel_V1_0, LayoutDisplayPreset_V1_0, LayoutSettings_V1_0, LayoutTimer<WhenPredicate, LayoutAction>> | RootSchemaModel<LayoutSchemaModel, LayoutDisplayPreset, LayoutSettings, LayoutTimer<WhenPredicate, LayoutAction>>;
|
|
8
8
|
export interface Version {
|
|
9
9
|
major: number;
|
|
10
10
|
minor: number;
|
|
@@ -16,4 +16,4 @@ export declare function eq(v1: Version, v2: Version): boolean;
|
|
|
16
16
|
export declare function is_version_v0_0(layoutSchema: VersionedSchemaModels, version: Version): layoutSchema is LayoutSchemaModel_V0_0;
|
|
17
17
|
export declare function is_root_version_v0_0(rootLayoutModel: VersionedRootSchemaModels, version: Version): rootLayoutModel is RootSchemaModel_V0_0<LayoutSchemaModel_V0_0>;
|
|
18
18
|
export declare function migrateLayoutSchema(layoutModel: VersionedSchemaModels, v: Version): LayoutSchemaModel;
|
|
19
|
-
export declare function migrateRootSchema(rootLayoutModel: VersionedRootSchemaModels, v: Version): RootSchemaModel<LayoutSchemaModel, LayoutDisplayPreset, LayoutSettings
|
|
19
|
+
export declare function migrateRootSchema(rootLayoutModel: VersionedRootSchemaModels, v: Version): RootSchemaModel<LayoutSchemaModel, LayoutDisplayPreset, LayoutSettings, LayoutTimer<WhenPredicate, LayoutAction>>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { LayoutSchemaModel as LayoutSchemaModel_V0_23, RootSchemaModel as RootSchemaModel_V0_23, LayoutDisplayPreset as LayoutDisplayPreset_V0_23, LayoutSettings as LayoutSettings_V0_23 } from '@rokt/dcui-layout-schema/v0.23';
|
|
2
|
-
import { LayoutSchemaModel as LayoutSchemaModel_V1_0, RootSchemaModel as RootSchemaModel_V1_0, LayoutDisplayPreset as LayoutDisplayPreset_V1_0, LayoutSettings as LayoutSettings_V1_0 } from '@rokt/dcui-layout-schema';
|
|
2
|
+
import { LayoutSchemaModel as LayoutSchemaModel_V1_0, RootSchemaModel as RootSchemaModel_V1_0, LayoutDisplayPreset as LayoutDisplayPreset_V1_0, LayoutSettings as LayoutSettings_V1_0, WhenPredicate, LayoutAction, LayoutTimer as LayoutTimer_V1_0 } from '@rokt/dcui-layout-schema';
|
|
3
3
|
export declare function migrate_layout_schema_v0_23_to_v1_0(layoutModel: LayoutSchemaModel_V0_23): LayoutSchemaModel_V1_0;
|
|
4
|
-
export declare function migrate_root_schema_v0_23_to_v1_0(rootLayoutModel: RootSchemaModel_V0_23<LayoutSchemaModel_V0_23, LayoutDisplayPreset_V0_23, LayoutSettings_V0_23>): RootSchemaModel_V1_0<LayoutSchemaModel_V1_0, LayoutDisplayPreset_V1_0, LayoutSettings_V1_0
|
|
4
|
+
export declare function migrate_root_schema_v0_23_to_v1_0(rootLayoutModel: RootSchemaModel_V0_23<LayoutSchemaModel_V0_23, LayoutDisplayPreset_V0_23, LayoutSettings_V0_23>): RootSchemaModel_V1_0<LayoutSchemaModel_V1_0, LayoutDisplayPreset_V1_0, LayoutSettings_V1_0, LayoutTimer_V1_0<WhenPredicate, LayoutAction>>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { CallEffect, PutEffect, SelectEffect } from '@redux-saga/core/effects';
|
|
2
2
|
import { PluginModel } from '../../../../domain/src/models';
|
|
3
|
-
import { LayoutDisplayPreset, LayoutSchemaModel, LayoutSettings, RootSchemaModel } from '@rokt/dcui-layout-schema';
|
|
3
|
+
import { LayoutAction, LayoutDisplayPreset, LayoutSchemaModel, LayoutSettings, LayoutTimer, RootSchemaModel, WhenPredicate } from '@rokt/dcui-layout-schema';
|
|
4
4
|
import { CancelEffect, ChannelTakeEffect, ForkEffect, TakeEffect } from 'redux-saga/effects';
|
|
5
5
|
import { DisplayService, PartnerInteractionService } from '../../../../plugin-utils/src/index';
|
|
6
6
|
import { HandleConfigAction } from '../../actions';
|
|
@@ -10,5 +10,5 @@ export declare function handleConfig(externalApi: {
|
|
|
10
10
|
display: DisplayService;
|
|
11
11
|
} & {
|
|
12
12
|
partner: PartnerInteractionService;
|
|
13
|
-
}, action: HandleConfigAction<PluginModel<LayoutSchemaModel, RootSchemaModel<LayoutSchemaModel, LayoutDisplayPreset, LayoutSettings
|
|
13
|
+
}, action: HandleConfigAction<PluginModel<LayoutSchemaModel, RootSchemaModel<LayoutSchemaModel, LayoutDisplayPreset, LayoutSettings, LayoutTimer<WhenPredicate, LayoutAction>>>>): Generator<CancelEffect | ForkEffect | CallEffect | SelectEffect | PutEffect | TakeEffect, void, never>;
|
|
14
14
|
export declare function handlePartnerMessage(partner: PartnerInteractionService, event: PartnerValidation.PartnerValidationEvent, on: (data: unknown) => Action): Generator<ChannelTakeEffect<Action> | PutEffect, never, Action>;
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import { CallEffect, PutEffect, SelectEffect, TakeEffect } from 'redux-saga/effects';
|
|
2
2
|
import { ProcessProgression, StateActions, UpdateActiveBreakpointAction } from '../../actions';
|
|
3
|
+
import { CloseOnNegativeResponsePolicy } from '@rokt/dcui-layout-schema';
|
|
3
4
|
type ProgressResult = {
|
|
4
5
|
exists: boolean;
|
|
5
6
|
isLastOffer: boolean;
|
|
6
7
|
};
|
|
7
|
-
type NextValues = ProgressResult | boolean | number | undefined;
|
|
8
|
+
type NextValues = ProgressResult | boolean | number | CloseOnNegativeResponsePolicy | undefined;
|
|
8
9
|
export declare function updateGroupSize(action: UpdateActiveBreakpointAction): Generator<SelectEffect | PutEffect<StateActions>, void, Array<number> | undefined>;
|
|
9
10
|
export declare function processProgress(action: ProcessProgression): Generator<SelectEffect | CallEffect | PutEffect | TakeEffect, void, NextValues>;
|
|
10
11
|
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './sagas';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { DomainStatesIndexState, LayoutVariantDomainStatesState } from '../../models';
|
|
1
|
+
import { DomainStatesIndexState, LayoutVariantDomainStatesState, OuterLayoutDomainStatesState } from '../../models';
|
|
2
2
|
export declare function getModuleDomainStates(state: {
|
|
3
3
|
domainStates: DomainStatesIndexState;
|
|
4
4
|
}, moduleId: number): LayoutVariantDomainStatesState;
|
|
5
5
|
export declare function getRootDomainStates(state: {
|
|
6
6
|
domainStates: DomainStatesIndexState;
|
|
7
|
-
}):
|
|
7
|
+
}): OuterLayoutDomainStatesState;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { PluginCreative, PluginCreativeResponseOption, PluginCreativeResponseActionType, PluginSignalType, PluginUrlBehavior, LayoutCreative, LayoutCreativeResponseOption, PluginConversionType, PluginCatalogItemUrlResponseOption } from '../../domain/src/models';
|
|
1
|
+
import { PluginCreative, PluginCreativeResponseOption, PluginCreativeResponseActionType, PluginSignalType, PluginUrlBehavior, LayoutCreative, LayoutCreativeResponseOption, PluginConversionType, PluginCatalogItemUrlResponseOption, LayoutTransactionData, LayoutPaymentMethodType, TransactionData, PaymentMethodType } from '../../domain/src/models';
|
|
2
2
|
export declare const CREATIVE_RESPONSE_ENUM_MAP: {
|
|
3
3
|
action: {
|
|
4
4
|
CaptureOnly: PluginCreativeResponseActionType;
|
|
@@ -15,6 +15,8 @@ export declare const CREATIVE_RESPONSE_ENUM_MAP: {
|
|
|
15
15
|
SignalResponse: PluginSignalType;
|
|
16
16
|
SignalGatedResponse: PluginSignalType;
|
|
17
17
|
SignalSecondaryResponse: PluginSignalType;
|
|
18
|
+
SignalOptInResponse: PluginSignalType;
|
|
19
|
+
SignalOptOutResponse: PluginSignalType;
|
|
18
20
|
};
|
|
19
21
|
conversionType: {
|
|
20
22
|
Default: PluginConversionType;
|
|
@@ -25,5 +27,7 @@ export declare const CREATIVE_RESPONSE_ENUM_MAP: {
|
|
|
25
27
|
export declare function makeTranslateErrorLogs(configurationName: string, instanceGuid: string, isChildLayout?: boolean): Error;
|
|
26
28
|
export declare function translateLayoutCreative(layoutCreative: LayoutCreative, isChildLayout?: boolean): PluginCreative;
|
|
27
29
|
export declare function translateLayoutResponse(response: LayoutCreativeResponseOption): Exclude<PluginCreativeResponseOption, PluginCatalogItemUrlResponseOption>;
|
|
30
|
+
export declare const PAYMENT_METHOD_TYPE_ENUM_MAP: Record<LayoutPaymentMethodType, PaymentMethodType>;
|
|
31
|
+
export declare function translateLayoutTransactionData(transactionData: LayoutTransactionData | undefined): TransactionData | undefined;
|
|
28
32
|
export type ParseJsonCategory = 'LayoutRootLayoutSchema' | 'LayoutSlotLayoutVariant' | 'ChildLayoutRootSchema';
|
|
29
33
|
export declare function parseLayoutJsonAs<T>(json: string, category: ParseJsonCategory, instanceGuid: string): T;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { CallEffect, PutEffect, SelectEffect } from 'redux-saga/effects';
|
|
2
|
+
import { LayoutVariantAction } from '@rokt/dcui-layout-schema';
|
|
3
|
+
import { TRIGGER_ACTION, TriggerAction } from '../../../domain/src/behaviors';
|
|
4
|
+
import { PluginOffer } from '../../../domain/src/models';
|
|
5
|
+
import { GlobalGateway } from '../../../module-connector/src/main';
|
|
6
|
+
export { TRIGGER_ACTION, TriggerAction };
|
|
7
|
+
export type VariantActionHandler = (action: LayoutVariantAction, context: {
|
|
8
|
+
offer?: PluginOffer;
|
|
9
|
+
offerPositionIndex?: number;
|
|
10
|
+
}, gateway: GlobalGateway) => Generator<CallEffect | PutEffect | SelectEffect, void, unknown>;
|
|
11
|
+
export type VariantActionOverrides = Partial<Record<LayoutVariantAction['type'], VariantActionHandler>>;
|
|
12
|
+
export declare function handleVariantAction(gateway: GlobalGateway, overrides: VariantActionOverrides | undefined, action: TriggerAction): Generator<CallEffect | PutEffect | SelectEffect, void, unknown>;
|
|
@@ -1,2 +1,3 @@
|
|
|
1
1
|
import { PluginCartItem, PluginCatalogItem } from '../../../domain/src/models';
|
|
2
2
|
export declare function mapCatalogItemToCartItem(catalogItem: PluginCatalogItem, quantity: number): PluginCartItem | null;
|
|
3
|
+
export declare function mapCatalogItemToEmptyCartItem(catalogItem: PluginCatalogItem): PluginCartItem;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { LayoutSchemaModel } from '@rokt/dcui-layout-schema';
|
|
2
|
-
export declare function tryMakeEscapeHatch(schema: LayoutSchemaModel): JSX.Element | undefined;
|
|
2
|
+
export declare function tryMakeEscapeHatch(schema: LayoutSchemaModel, testId?: string): JSX.Element | undefined;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Icon registry data (from icon-registry-data.json).
|
|
3
|
+
* Exported as TS so the build includes it in dist without copying JSON.
|
|
4
|
+
*/
|
|
5
|
+
export declare const iconRegistryData: Record<string, Record<string, {
|
|
6
|
+
url: {
|
|
7
|
+
light: string;
|
|
8
|
+
};
|
|
9
|
+
title: string;
|
|
10
|
+
}>>;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Icon registry for MappedIcon. Lookup by key and set (host vs tm1); keys are used as provided.
|
|
3
|
+
*/
|
|
4
|
+
export type IconSetName = 'host' | 'tm1';
|
|
5
|
+
export interface IconEntry {
|
|
6
|
+
url: string;
|
|
7
|
+
title: string;
|
|
8
|
+
}
|
|
9
|
+
export declare function getIcon(key: string, iconSet: IconSetName): IconEntry | undefined;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { IconSetName } from './icon-registry';
|
|
2
|
+
export interface MappedIconModel {
|
|
3
|
+
/** Icon key (resolved by data mapper if placeholder). */
|
|
4
|
+
value?: string;
|
|
5
|
+
/** Which set to use so host and tm1 icons with the same key stay distinct. Defaults to host. */
|
|
6
|
+
iconSet?: IconSetName;
|
|
7
|
+
}
|
|
8
|
+
export interface MappedIconProps {
|
|
9
|
+
schema: MappedIconModel;
|
|
10
|
+
testId?: string;
|
|
11
|
+
}
|
|
12
|
+
/**
|
|
13
|
+
* Renders a single icon by key from the icon registry. Uses iconSet to choose host vs tm1.
|
|
14
|
+
*/
|
|
15
|
+
export declare function MappedIcon({ schema, testId, }: MappedIconProps): JSX.Element | null;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { ConditionalStyleTransition, BackgroundStylingProperties, FlexChildStylingProperties, BorderStylingProperties, ContainerStylingProperties, DimensionStylingProperties, LayoutStyle, NonInteractableChildren, WhenPredicate, SpacingStylingProperties, BasicStateStylingBlock } from '@rokt/dcui-layout-schema';
|
|
2
|
+
export interface ReadMoreTextStyles {
|
|
3
|
+
container?: null | ContainerStylingProperties;
|
|
4
|
+
background?: null | BackgroundStylingProperties;
|
|
5
|
+
border?: null | BorderStylingProperties;
|
|
6
|
+
dimension?: null | DimensionStylingProperties;
|
|
7
|
+
flexChild?: null | FlexChildStylingProperties;
|
|
8
|
+
spacing?: null | SpacingStylingProperties;
|
|
9
|
+
}
|
|
10
|
+
export interface ReadMoreTextElements {
|
|
11
|
+
own: BasicStateStylingBlock<ReadMoreTextStyles>[];
|
|
12
|
+
}
|
|
13
|
+
export interface ReadMoreTextModel<Children, Predicates> {
|
|
14
|
+
a11y_label?: null | string;
|
|
15
|
+
response_key?: null | string;
|
|
16
|
+
styles?: null | LayoutStyle<ReadMoreTextElements, ConditionalStyleTransition<ReadMoreTextTransitions, Predicates>>;
|
|
17
|
+
children: Children[];
|
|
18
|
+
}
|
|
19
|
+
export interface ReadMoreTextTransitions {
|
|
20
|
+
own?: null | ReadMoreTextStyles;
|
|
21
|
+
}
|
|
22
|
+
export interface ReadMoreTextProps {
|
|
23
|
+
schema: ReadMoreTextModel<NonInteractableChildren, WhenPredicate> & {
|
|
24
|
+
title: string;
|
|
25
|
+
preButtonText: string;
|
|
26
|
+
};
|
|
27
|
+
testId?: string;
|
|
28
|
+
}
|
|
29
|
+
export declare function ReadMoreText(props: ReadMoreTextProps): import("react/jsx-runtime").JSX.Element | null;
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { ConditionalStyleTransition, BackgroundStylingProperties, FlexChildStylingProperties, BorderStylingProperties, ContainerStylingProperties, DimensionStylingProperties, LayoutStyle, NonInteractableChildren, WhenPredicate, SpacingStylingProperties, BasicStateStylingBlock, TextStylingProperties } from '@rokt/dcui-layout-schema';
|
|
2
|
+
export interface ReadMoreTextContainerStyles {
|
|
3
|
+
container?: null | ContainerStylingProperties;
|
|
4
|
+
background?: null | BackgroundStylingProperties;
|
|
5
|
+
border?: null | BorderStylingProperties;
|
|
6
|
+
dimension?: null | DimensionStylingProperties;
|
|
7
|
+
flexChild?: null | FlexChildStylingProperties;
|
|
8
|
+
spacing?: null | SpacingStylingProperties;
|
|
9
|
+
text?: null | TextStylingProperties;
|
|
10
|
+
}
|
|
11
|
+
export interface ReadMoreTextContainerElements {
|
|
12
|
+
own: BasicStateStylingBlock<ReadMoreTextContainerStyles>[];
|
|
13
|
+
text?: BasicStateStylingBlock<ReadMoreTextContainerStyles>[];
|
|
14
|
+
}
|
|
15
|
+
export interface ReadMoreTextContainerModel<Children, Predicates> {
|
|
16
|
+
a11y_label?: null | string;
|
|
17
|
+
response_key?: null | string;
|
|
18
|
+
styles?: null | LayoutStyle<ReadMoreTextContainerElements, ConditionalStyleTransition<ReadMoreTextContainerTransitions, Predicates>>;
|
|
19
|
+
children: Children[];
|
|
20
|
+
}
|
|
21
|
+
export interface ReadMoreTextContainerTransitions {
|
|
22
|
+
own?: null | ReadMoreTextContainerStyles;
|
|
23
|
+
text?: BasicStateStylingBlock<ReadMoreTextContainerStyles>[];
|
|
24
|
+
}
|
|
25
|
+
export interface ReadMoreTextContainerProps {
|
|
26
|
+
schema: ReadMoreTextContainerModel<NonInteractableChildren, WhenPredicate> & {
|
|
27
|
+
title: string;
|
|
28
|
+
sliceLength: number;
|
|
29
|
+
expandLabel?: string;
|
|
30
|
+
collapseLabel?: string;
|
|
31
|
+
};
|
|
32
|
+
testId?: string;
|
|
33
|
+
}
|
|
34
|
+
export declare function ReadMoreTextContainer(props: ReadMoreTextContainerProps): import("react/jsx-runtime").JSX.Element | null;
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
import { LayoutStyle, BasicStateStylingBlock, BasicTextStyle } from '@rokt/dcui-layout-schema';
|
|
2
|
+
export interface ScrollToTargetElements {
|
|
3
|
+
own: BasicStateStylingBlock<BasicTextStyle>[];
|
|
4
|
+
text: BasicStateStylingBlock<BasicTextStyle>[];
|
|
5
|
+
highlighted: BasicStateStylingBlock<BasicTextStyle>[];
|
|
6
|
+
}
|
|
7
|
+
export interface ScrollToTargetTarget {
|
|
8
|
+
key: string;
|
|
9
|
+
value: string;
|
|
10
|
+
}
|
|
11
|
+
export interface ScrollToTargetModel {
|
|
12
|
+
target: ScrollToTargetTarget;
|
|
13
|
+
text: string;
|
|
14
|
+
highlightedText: string;
|
|
15
|
+
styles?: null | LayoutStyle<ScrollToTargetElements, never>;
|
|
16
|
+
a11yLabel?: string;
|
|
17
|
+
}
|
|
18
|
+
export interface ScrollToTargetProps {
|
|
19
|
+
/**
|
|
20
|
+
* - `target`: object with key and value to identify the target element
|
|
21
|
+
* - `key`: the attribute name (e.g., 'aria-label', 'data-testid', 'id')
|
|
22
|
+
* - `value`: the attribute value to search for
|
|
23
|
+
* - `text`: the full text content (supports data mapping)
|
|
24
|
+
* - `highlightedText`: the portion of text that should be highlighted and clickable (supports data mapping)
|
|
25
|
+
* - `styles`:
|
|
26
|
+
* * `elements`:
|
|
27
|
+
* - `own`: styles for container
|
|
28
|
+
* * `dimension`
|
|
29
|
+
* * `flexChild`
|
|
30
|
+
* * `spacing`
|
|
31
|
+
* * `background`
|
|
32
|
+
* * `text`
|
|
33
|
+
* - `highlighted`: styles for highlighted (clickable) text
|
|
34
|
+
* * `dimension`
|
|
35
|
+
* * `flexChild`
|
|
36
|
+
* * `spacing`
|
|
37
|
+
* * `background`
|
|
38
|
+
* * `text`
|
|
39
|
+
* - `text`: styles for regular (non-highlighted) text
|
|
40
|
+
* * `dimension`
|
|
41
|
+
* * `flexChild`
|
|
42
|
+
* * `spacing`
|
|
43
|
+
* * `background`
|
|
44
|
+
* * `text`
|
|
45
|
+
* - `a11yLabel`: optional accessibility label for screen readers
|
|
46
|
+
*/
|
|
47
|
+
schema: ScrollToTargetModel;
|
|
48
|
+
testId?: string;
|
|
49
|
+
}
|
|
50
|
+
/**
|
|
51
|
+
* The ScrollToTarget is a specialized text component that displays text with a highlighted portion.
|
|
52
|
+
* Only the highlighted text is clickable and triggers smooth scrolling to a target element.
|
|
53
|
+
* The component supports separate styling for regular text and highlighted text portions.
|
|
54
|
+
* Target elements are identified by a configurable attribute key-value pair.
|
|
55
|
+
*/
|
|
56
|
+
export declare function ScrollToTarget({ schema, testId }: ScrollToTargetProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { LayoutStyle, BasicStateStylingBlock, LayoutSchemaModel, DimensionStylingProperties, SpacingStylingProperties, BackgroundStylingProperties, BorderStylingProperties, ContainerStylingProperties } from '@rokt/dcui-layout-schema';
|
|
2
|
+
export interface TooltipStyle {
|
|
3
|
+
container?: null | ContainerStylingProperties;
|
|
4
|
+
dimension?: null | DimensionStylingProperties;
|
|
5
|
+
spacing?: null | SpacingStylingProperties;
|
|
6
|
+
background?: null | BackgroundStylingProperties;
|
|
7
|
+
border?: null | BorderStylingProperties;
|
|
8
|
+
}
|
|
9
|
+
export interface TooltipElements {
|
|
10
|
+
own: BasicStateStylingBlock<TooltipStyle>[];
|
|
11
|
+
}
|
|
12
|
+
export interface TooltipModel {
|
|
13
|
+
children: LayoutSchemaModel[];
|
|
14
|
+
anchor: LayoutSchemaModel;
|
|
15
|
+
background?: LayoutSchemaModel;
|
|
16
|
+
styles?: null | LayoutStyle<TooltipElements, never>;
|
|
17
|
+
a11yLabel?: string;
|
|
18
|
+
}
|
|
19
|
+
export interface TooltipProps {
|
|
20
|
+
/**
|
|
21
|
+
* Tooltip component that displays rich content above an anchor element on hover/click
|
|
22
|
+
* - `children`: array of components to render as tooltip content (text, images, etc.)
|
|
23
|
+
* - `anchor`: single component to render as tooltip trigger (typically an info icon)
|
|
24
|
+
* - `background`: optional arrow/background component (no arrow if not provided)
|
|
25
|
+
* - `styles`:
|
|
26
|
+
* * `elements`:
|
|
27
|
+
* - `own`: styles for tooltip container
|
|
28
|
+
* * `dimension`
|
|
29
|
+
* * `spacing`
|
|
30
|
+
* * `background`
|
|
31
|
+
* * `container`
|
|
32
|
+
* * `border`
|
|
33
|
+
* - `a11yLabel`: optional accessibility label for screen readers
|
|
34
|
+
*/
|
|
35
|
+
schema: TooltipModel;
|
|
36
|
+
testId?: string;
|
|
37
|
+
}
|
|
38
|
+
/**
|
|
39
|
+
* The Tooltip is a specialized component that displays informational content above a trigger element.
|
|
40
|
+
* It supports both hover and click interactions for showing/hiding the tooltip content.
|
|
41
|
+
*/
|
|
42
|
+
export declare function Tooltip({ schema, testId }: TooltipProps): import("react/jsx-runtime").JSX.Element;
|
package/dist/modules/add-to-cart/src/components/when-catalog-quantity/when-catalog-quantity.d.ts
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { LayoutSchemaModel, EqualityWhenCondition, OrderableWhenCondition } from '@rokt/dcui-layout-schema';
|
|
2
|
+
export type QuantityCondition = EqualityWhenCondition | OrderableWhenCondition;
|
|
3
|
+
export interface QuantityPredicate {
|
|
4
|
+
condition: QuantityCondition;
|
|
5
|
+
value: number;
|
|
6
|
+
}
|
|
7
|
+
export interface WhenCatalogQuantityModel {
|
|
8
|
+
cartItemId: string;
|
|
9
|
+
predicates: Array<QuantityPredicate>;
|
|
10
|
+
children: Array<LayoutSchemaModel>;
|
|
11
|
+
}
|
|
12
|
+
export interface WhenCatalogQuantityProps {
|
|
13
|
+
schema: WhenCatalogQuantityModel;
|
|
14
|
+
testId?: string;
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* The WhenCatalogQuantity component conditionally renders children based on
|
|
18
|
+
* catalog item quantity conditions using multiple predicates.
|
|
19
|
+
* ALL predicates must pass for the children to be displayed.
|
|
20
|
+
*
|
|
21
|
+
*/
|
|
22
|
+
export declare function WhenCatalogQuantity({ schema, testId, }: WhenCatalogQuantityProps): import("react/jsx-runtime").JSX.Element | null;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { GlobalActions } from '../../../../libraries/domain/src/behaviors';
|
|
2
|
-
import { ChildLayoutActions, childLayoutsReducer, ChildLayoutsState, StaticData, staticDataReducer } from '
|
|
2
|
+
import { ChildLayoutActions, childLayoutsReducer, ChildLayoutsState, StaticData, staticDataReducer } from '../../../../libraries/module-utils/src/index';
|
|
3
3
|
import { cartReducer } from './cart/reducer';
|
|
4
4
|
import { CartState, UserCreativeResponseHistory } from '../models';
|
|
5
5
|
import { UserCreativeResponseHistoryActions } from '../actions';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './sagas';
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { EventChannel } from 'redux-saga';
|
|
2
|
+
import { CallEffect, CancelledEffect, ChannelTakeEffect, PutEffect, SelectEffect } from 'redux-saga/effects';
|
|
3
|
+
import { CartItemResponsePayload } from '../../../../../libraries/domain/src/behaviors';
|
|
4
|
+
import { PluginCartItem, PluginCatalogItem } from '../../../../../libraries/domain/src/models';
|
|
5
|
+
import { GlobalGateway } from '../../../../../libraries/module-connector/src/main';
|
|
6
|
+
export declare function createCartServiceResponseChannel(gateway: GlobalGateway): EventChannel<CartItemResponsePayload>;
|
|
7
|
+
export declare function resetDeliveryRequiredCartItems(): Generator<SelectEffect | PutEffect, void, PluginCartItem[] | PluginCatalogItem | Array<{
|
|
8
|
+
cartItemId: string;
|
|
9
|
+
quantity: number;
|
|
10
|
+
}> | boolean | null>;
|
|
11
|
+
export declare function listenForCartServiceResponse(gateway: GlobalGateway): Generator<CallEffect | CancelledEffect | ChannelTakeEffect<CartItemResponsePayload>, void, CartItemResponsePayload>;
|
|
@@ -10,9 +10,20 @@ export declare const sagaActionTypes: {
|
|
|
10
10
|
readonly SEND_PARTNER: "GLOBAL/SEND_PARTNER";
|
|
11
11
|
readonly SET_CUSTOM_STATE: "GLOBAL/SET_CUSTOM_STATE";
|
|
12
12
|
readonly SET_DOMAIN_STATE: "GLOBAL/SET_DOMAIN_STATE";
|
|
13
|
+
readonly LAYOUT_EVENT: "GLOBAL/LAYOUT_EVENT";
|
|
13
14
|
readonly OPEN_LINK: "GLOBAL/OPEN_LINK";
|
|
14
15
|
readonly SET_PARTNER_VALIDATION_STATUS: "GLOBAL/SET_PARTNER_VALIDATION_STATUS";
|
|
15
16
|
readonly SET_GLOBAL_OFFER_DATA_CART: "GLOBAL/SET_GLOBAL_OFFER_DATA_CART";
|
|
16
17
|
readonly LAUNCH_CHILD_LAYOUT: "GLOBAL/LAUNCH_CHILD_LAYOUT";
|
|
18
|
+
readonly INITIATE_CART_ITEM_EVENT: "GLOBAL/CART_ITEM_EVENT/INITIATE";
|
|
19
|
+
readonly CART_ITEM_RESPONSE: "GLOBAL/CART_ITEM_EVENT/RESPONSE";
|
|
20
|
+
readonly DISMISS_OVERLAY: "OVERLAY/DISMISS_OVERLAY";
|
|
21
|
+
readonly TRIGGER_ACTION: "GLOBAL/TRIGGER_ACTION";
|
|
22
|
+
readonly REGISTER_FORM_FIELD: "GLOBAL/REGISTER_FORM_FIELD";
|
|
23
|
+
readonly UNREGISTER_FORM_FIELD: "GLOBAL/UNREGISTER_FORM_FIELD";
|
|
24
|
+
readonly SET_FORM_FIELD_VALUE: "GLOBAL/SET_FORM_FIELD_VALUE";
|
|
25
|
+
readonly SET_FORM_FIELD_TOUCHED: "GLOBAL/SET_FORM_FIELD_TOUCHED";
|
|
26
|
+
readonly VALIDATE_FORM_FIELDS: "GLOBAL/VALIDATE_FORM_FIELDS";
|
|
27
|
+
readonly REPORT_ERROR: "ERROR/REPORT";
|
|
17
28
|
};
|
|
18
29
|
export declare function appSagas(gateway: GlobalGateway, logger: (log: Log) => void): Generator<import("redux-saga/effects").AllEffect<import("redux-saga/effects").ForkEffect<void>>, void, unknown>;
|
|
@@ -2,6 +2,8 @@ import { AppState } from '../../reducers';
|
|
|
2
2
|
import { PluginCatalogItem } from '../../../../../libraries/domain/src/models';
|
|
3
3
|
export declare function getCatalogItems(state: AppState): Array<PluginCatalogItem> | null;
|
|
4
4
|
export declare function getCatalogItem(state: AppState, catalogItemId: string): PluginCatalogItem | null;
|
|
5
|
+
export declare function getCatalogItemByCartItemId(state: AppState, cartItemId: string): PluginCatalogItem | null;
|
|
5
6
|
export declare function getPreselectedCatalogItems(state: AppState): Array<PluginCatalogItem> | null;
|
|
6
7
|
export declare function getTotalPreselectedQuantity(state: AppState): number;
|
|
7
8
|
export declare function isCatalogItemForcedUpsell(state: AppState, catalogItemId: string): boolean;
|
|
9
|
+
export declare function isDeliveryDetailsRequired(state: AppState, catalogItemId?: string): boolean;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './selectors';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './selectors';
|