@rokt/dcui-orchestrator 0.2.1-rc.83 → 0.2.1-rc.84
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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/{libraries/orchestrator → extensions/address-form}/src/sagas/cart-service/sagas.d.ts +5 -12
- 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/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 -36
- package/dist/index.js +100 -39
- 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-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/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 +7 -12
- 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 +15 -1
- package/dist/libraries/domain/src/behaviors/index.d.ts +5 -0
- package/dist/libraries/domain/src/behaviors/layout-events.d.ts +17 -0
- package/dist/libraries/domain/src/behaviors/offer-engagement.d.ts +2 -1
- package/dist/libraries/domain/src/behaviors/report-error.d.ts +26 -0
- package/dist/libraries/domain/src/behaviors/send-partner.d.ts +36 -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 +2 -0
- package/dist/libraries/domain/src/models/layout/index.d.ts +1 -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-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/signals.d.ts +14 -6
- 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 +1 -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 +4 -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/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/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/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 +9 -0
- package/dist/modules/add-to-cart/src/selectors/catalogItems/selectors.d.ts +2 -0
- package/dist/modules/add-to-cart/src/selectors/index.d.ts +1 -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 +47 -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 +1 -1
- 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/checkout-state-button-trigger/checkout-state-button-trigger.d.ts +2 -0
- package/dist/modules/instant-purchase/src/components/{catalog-image-gallery → escapehatch-catalog-image-gallery}/catalog-image-gallery.d.ts +6 -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 +68 -1
- 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 +15 -2
- package/dist/modules/instant-purchase/src/reducers/instant-purchase/index.d.ts +2 -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 +14 -1
- package/dist/modules/instant-purchase/src/sagas/instant-purchase/sagas.d.ts +20 -81
- 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 +9 -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 +9 -0
- 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/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
- /package/dist/modules/instant-purchase/src/components/{catalog-drop-down → escapehatch-catalog-drop-down}/catalog-drop-down.d.ts +0 -0
- /package/dist/modules/instant-purchase/src/components/{catalog-image-gallery → escapehatch-catalog-image-gallery}/constants.d.ts +0 -0
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import { LayoutDisplayPreset, FrameControls } from '@rokt/dcui-layout-schema';
|
|
2
|
-
import {
|
|
3
|
-
export declare function
|
|
2
|
+
import { DisplaySettings } from '@rokt/plugin';
|
|
3
|
+
export declare function getAttachedBottomsheetDisplaySettings(controls?: FrameControls | null): DisplaySettings;
|
|
4
|
+
export declare function getMinimizedAttachedBottomsheetDisplaySettings(visibleHeightPx: number, controls?: FrameControls | null): DisplaySettings;
|
|
5
|
+
export declare function getDisplaySettings(preset?: LayoutDisplayPreset | null, controls?: FrameControls | null): DisplaySettings | {
|
|
4
6
|
autoresize: boolean;
|
|
5
7
|
applyHighestZIndex: boolean;
|
|
6
8
|
replaceTargetElement: string;
|
|
@@ -17,7 +19,6 @@ export declare function getDisplaySettings(preset?: LayoutDisplayPreset | null,
|
|
|
17
19
|
width: string;
|
|
18
20
|
};
|
|
19
21
|
css?: undefined;
|
|
20
|
-
preset?: undefined;
|
|
21
22
|
} | {
|
|
22
23
|
autoresize: boolean;
|
|
23
24
|
css: {
|
|
@@ -33,7 +34,6 @@ export declare function getDisplaySettings(preset?: LayoutDisplayPreset | null,
|
|
|
33
34
|
replaceTargetElement?: undefined;
|
|
34
35
|
outerCss?: undefined;
|
|
35
36
|
innerCss?: undefined;
|
|
36
|
-
preset?: undefined;
|
|
37
37
|
} | {
|
|
38
38
|
autoresize: boolean;
|
|
39
39
|
applyHighestZIndex: boolean;
|
|
@@ -49,13 +49,4 @@ export declare function getDisplaySettings(preset?: LayoutDisplayPreset | null,
|
|
|
49
49
|
};
|
|
50
50
|
outerCss?: undefined;
|
|
51
51
|
innerCss?: undefined;
|
|
52
|
-
preset?: undefined;
|
|
53
|
-
} | {
|
|
54
|
-
preset: DisplayPreset;
|
|
55
|
-
autoresize?: undefined;
|
|
56
|
-
applyHighestZIndex?: undefined;
|
|
57
|
-
replaceTargetElement?: undefined;
|
|
58
|
-
outerCss?: undefined;
|
|
59
|
-
innerCss?: undefined;
|
|
60
|
-
css?: undefined;
|
|
61
52
|
};
|
|
@@ -7,7 +7,7 @@ import { EventChannel } from 'redux-saga';
|
|
|
7
7
|
export declare function closePlugin(contextService: ContextService): Generator<RaceEffect<CallEffect | Generator<SelectEffect | CallEffect, void, boolean>> | SelectEffect | CallEffect | Generator<SelectEffect | CallEffect, void, boolean> | PutEffect<ReportError>, void, boolean>;
|
|
8
8
|
export declare function listenToWsdkChannel<LayoutModelType, PluginModelType>(pluginService: PluginService<LayoutModelType>, transformRawConfig: (config: LayoutModelType) => PluginModelType | undefined): Generator<PutEffect<ReportError> | CallEffect<EventChannel<import("../../../../orchestrator/src/actions").SetFontsAction | HandleConfigAction<PluginModelType>>> | import("redux-saga/effects").ChannelTakeEffect<HandleConfigAction<PluginModelType>> | PutEffect<HandleConfigAction<PluginModelType>>, void, EventChannel<HandleConfigAction<PluginModelType>> & HandleConfigAction<PluginModelType>>;
|
|
9
9
|
export declare function wsdkSagas<LayoutModelType, PluginModelType>(pluginService: PluginService<LayoutModelType>, transformRawConfig: (config: LayoutModelType) => PluginModelType | undefined): Generator<import("redux-saga/effects").AllEffect<import("redux-saga/effects").ForkEffect<void>>, void, unknown>;
|
|
10
|
-
export declare function displayPlugin(displayService: DisplayService, preset?: LayoutDisplayPreset | null, controls?: FrameControls | null): Generator<CallEffect<void> | PutEffect<{
|
|
10
|
+
export declare function displayPlugin(displayService: DisplayService, preset?: LayoutDisplayPreset | null, controls?: FrameControls | null): Generator<CallEffect<void> | import("redux-saga/effects").ForkEffect<void> | PutEffect<{
|
|
11
11
|
type: "ACTIVE/ADD";
|
|
12
12
|
payload: {
|
|
13
13
|
id: string;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './sagas';
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { PutEffect } from 'redux-saga/effects';
|
|
2
|
+
import { TriggerAction } from '../../../../domain/src/behaviors';
|
|
3
|
+
/**
|
|
4
|
+
* Handles TRIGGER_ACTION in a root-scoped store (the child layout renderer)
|
|
5
|
+
* where no offer/module gateway exists. The general actions (Close,
|
|
6
|
+
* SetCustomState) resolve to their root behaviors; offer-specific actions
|
|
7
|
+
* (CreativeResponse, CatalogResponse, AddToCart, InitiateTax) have no meaning
|
|
8
|
+
* without a module gateway, so they surface a warning instead of silently
|
|
9
|
+
* dropping — a layout author wiring one of those into a child layout gets a
|
|
10
|
+
* diagnosable signal rather than a dead button.
|
|
11
|
+
*/
|
|
12
|
+
export declare function handleRootLayoutAction(action: TriggerAction): Generator<PutEffect, void, never>;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { FiredEventsIndexState, FiredEventsState } from '../../models';
|
|
2
|
+
export declare function getModuleFiredEvents(state: {
|
|
3
|
+
firedEvents: FiredEventsIndexState;
|
|
4
|
+
}, moduleId: number): FiredEventsState;
|
|
5
|
+
export declare function getRootFiredEvents(state: {
|
|
6
|
+
firedEvents: FiredEventsIndexState;
|
|
7
|
+
}): FiredEventsState;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './selectors';
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { FormStatesState } from '../../../../domain/src/models';
|
|
2
|
+
import { FormStatesIndexState } from '../../models';
|
|
3
|
+
export declare function getModuleFormStates(state: {
|
|
4
|
+
formStates: FormStatesIndexState;
|
|
5
|
+
}, moduleId: number): FormStatesState;
|
|
6
|
+
export declare function getRootFormStates(state: {
|
|
7
|
+
formStates: FormStatesIndexState;
|
|
8
|
+
}): FormStatesState;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { Signals, RepeatableSignal, UniqueSignal } from '../../../domain/src/models';
|
|
1
|
+
import { Signals, REPEATABLE_SIGNALS, RepeatableSignal, UniqueSignal } from '../../../domain/src/models';
|
|
2
2
|
export declare function generateSignalKey(signal: Signals): string;
|
|
3
|
-
export declare function isRepeatableSignal(name: RepeatableSignal['name'] | UniqueSignal['name']): name is
|
|
3
|
+
export declare function isRepeatableSignal(name: RepeatableSignal['name'] | UniqueSignal['name']): name is (typeof REPEATABLE_SIGNALS)[number];
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export { ModuleAttributes } from './models/module-attributes';
|
|
2
2
|
export { ModuleConnectorBuilder, AppSettings, } from './models/module-connector-builder';
|
|
3
|
-
export { IGateway, IDisposable, Gateway, GatewayFactory, ActionInterceptor, EmptyGateway, GlobalGateway, GlobalGatewayFactory, makeGatewayFactory, ModuleEventListener, } from './models/gateway';
|
|
3
|
+
export { IGateway, IDisposable, Gateway, GetFonts, GatewayFactory, ActionInterceptor, EmptyGateway, GlobalGateway, GlobalGatewayFactory, makeGatewayFactory, ModuleEventListener, } from './models/gateway';
|
|
4
4
|
export * from './models/module';
|
|
5
5
|
export { AbstractStore } from './models/abstract-store';
|
|
6
6
|
export { AbstractGlobalStore, GlobalStoreOfferContext, } from './models/abstract-global-store';
|
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
import { GlobalState, Interactivity } from '../../../domain/src/models';
|
|
2
2
|
import { GlobalActions } from '../../../domain/src/behaviors';
|
|
3
|
-
import { ChildPluginFactoryInterface, PartnerInteractionInterface } from '@rokt/plugin';
|
|
3
|
+
import { ChildPluginFactoryInterface, Fonts, PartnerInteractionInterface } from '@rokt/plugin';
|
|
4
4
|
import { Subscriber } from '@rokt/plugin/interface/subscriber';
|
|
5
5
|
import { AbstractGlobalStore, GlobalStoreOfferContext } from './abstract-global-store';
|
|
6
6
|
import { IClearable, ISubscribable } from './channel';
|
|
7
7
|
export type ChildPluginFactory = ChildPluginFactoryInterface['create'];
|
|
8
8
|
export type PartnerEventReceiver = PartnerInteractionInterface['onEvent'];
|
|
9
9
|
export type ChildPluginFactoryOptions = Parameters<ChildPluginFactory>[0];
|
|
10
|
+
export type GetFonts = () => Fonts;
|
|
10
11
|
export type GatewayFactory<State extends object, Action extends object> = (offerContext: GlobalStoreOfferContext, interactivityChannel: ISubscribable<Interactivity> & IClearable) => IGateway<State, Action> & IDisposable;
|
|
11
12
|
export type ActionInterceptor<Action extends object> = (action: Action) => Action | undefined;
|
|
12
13
|
export type ModuleEventListener = {
|
|
@@ -24,10 +25,10 @@ export interface IGateway<State extends object, Action extends object> {
|
|
|
24
25
|
export interface IDisposable {
|
|
25
26
|
dispose(): void;
|
|
26
27
|
}
|
|
27
|
-
export declare function makeGatewayFactory<State extends object, Action extends object>(globalStore: AbstractGlobalStore<State, Action>, createChildPlugin: ChildPluginFactory, onPartnerEvent: PartnerEventReceiver): GatewayFactory<State, Action>;
|
|
28
|
+
export declare function makeGatewayFactory<State extends object, Action extends object>(globalStore: AbstractGlobalStore<State, Action>, createChildPlugin: ChildPluginFactory, onPartnerEvent: PartnerEventReceiver, getFonts?: GetFonts): GatewayFactory<State, Action>;
|
|
28
29
|
export declare class Gateway<State extends object, Action extends object> implements IGateway<State, Action>, IDisposable {
|
|
29
30
|
#private;
|
|
30
|
-
constructor(store: AbstractGlobalStore<State, Action>, createChildPlugin: ChildPluginFactory, context: GlobalStoreOfferContext, interactivityChannel: ISubscribable<Interactivity> & IClearable, onPartnerEvent: PartnerEventReceiver);
|
|
31
|
+
constructor(store: AbstractGlobalStore<State, Action>, createChildPlugin: ChildPluginFactory, context: GlobalStoreOfferContext, interactivityChannel: ISubscribable<Interactivity> & IClearable, onPartnerEvent: PartnerEventReceiver, getFonts?: GetFonts);
|
|
31
32
|
onGlobalStateChange(callback: (globalState: State) => void): () => void;
|
|
32
33
|
onInteractivityChange(callback: (interactivity: Interactivity) => void): () => void;
|
|
33
34
|
onEvent(...moduleEventListeners: Array<ModuleEventListener>): () => void;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { GlobalGateway, GlobalGatewayFactory } from './gateway';
|
|
2
2
|
import { Log, PluginOffer, PluginLayoutChild } from '../../../domain/src/models';
|
|
3
|
-
import { LayoutSchemaModel } from '@rokt/dcui-layout-schema';
|
|
3
|
+
import { LayoutSchemaModel, LayoutTimer, LayoutVariantWhenPredicate, LayoutVariantAction } from '@rokt/dcui-layout-schema';
|
|
4
|
+
type VariantTimer = LayoutTimer<LayoutVariantWhenPredicate, LayoutVariantAction>;
|
|
4
5
|
export interface AppSettings {
|
|
5
6
|
rootElement: HTMLElement;
|
|
6
7
|
gateway: GlobalGateway;
|
|
@@ -12,6 +13,7 @@ export interface AppSettings {
|
|
|
12
13
|
offerData: PluginOffer;
|
|
13
14
|
pluginId: string;
|
|
14
15
|
offerState: unknown;
|
|
16
|
+
variantTimers?: VariantTimer[];
|
|
15
17
|
}
|
|
16
18
|
export interface IModuleConnector extends HTMLElement {
|
|
17
19
|
getOfferPositionAttr(): number;
|
|
@@ -27,3 +29,4 @@ export declare class ModuleConnectorBuilder {
|
|
|
27
29
|
withGatewayFactory(gatewayFactory: GlobalGatewayFactory): ModuleConnectorBuilder;
|
|
28
30
|
build(): new () => IModuleConnector;
|
|
29
31
|
}
|
|
32
|
+
export {};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { PluginLayoutChild } from '../../../domain/src/models';
|
|
2
|
+
export declare const ADD_LAUNCHED_CHILD_LAYOUT = "CHILD_LAYOUTS/ADD_LAUNCHED";
|
|
3
|
+
export interface AddLaunchedChildLayout {
|
|
4
|
+
type: typeof ADD_LAUNCHED_CHILD_LAYOUT;
|
|
5
|
+
payload: PluginLayoutChild;
|
|
6
|
+
}
|
|
7
|
+
export interface AddLaunchedChildLayoutPayload {
|
|
8
|
+
childLayoutId: string;
|
|
9
|
+
shouldRelaunch: boolean;
|
|
10
|
+
}
|
|
11
|
+
export type ChildLayoutActions = AddLaunchedChildLayout;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './state';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './reducer';
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { AnyAction } from '@reduxjs/toolkit';
|
|
2
|
+
import { LaunchedChildLayoutsState, ChildLayoutsState } from '../../models';
|
|
3
|
+
export declare function makeInitialChildLayoutsState(): ChildLayoutsState;
|
|
4
|
+
export declare function makeInitialLaunchedChildLayoutsState(): LaunchedChildLayoutsState;
|
|
5
|
+
export declare function childLayoutsReducer(state: ChildLayoutsState | undefined, action: AnyAction): ChildLayoutsState;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './reducer';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './reducer';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './sagas';
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { LaunchChildLayout } from '../../../../domain/src/behaviors';
|
|
2
|
+
import { CallEffect, PutEffect, SelectEffect } from 'redux-saga/effects';
|
|
3
|
+
import { GlobalGateway } from '../../../../module-connector/src/main';
|
|
4
|
+
import { Log } from '../../../../domain/src/models';
|
|
5
|
+
export declare function launchChildLayout(gateway: GlobalGateway, logger: (log: Log) => void, action: LaunchChildLayout): Generator<PutEffect | CallEffect | SelectEffect, void, never>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const FAILED_TO_LAUNCH_CHILD_LAYOUT = "FAILED_TO_LAUNCH_CHILD_LAYOUT";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './child-layouts';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './selectors';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './selectors';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './selectors';
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { StaticData } from '../../models';
|
|
2
|
+
export declare function getOfferData(state: {
|
|
3
|
+
staticData: StaticData;
|
|
4
|
+
}): import("../../../../domain/src/models").PluginOffer | undefined;
|
|
5
|
+
export declare function getSchemaVersion(state: {
|
|
6
|
+
staticData: StaticData;
|
|
7
|
+
}): string | undefined;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { LayoutVariantDomainStateKey } from '@rokt/dcui-layout-schema';
|
|
1
|
+
import { LayoutVariantDomainStateKey, OuterLayoutDomainStateKey } from '@rokt/dcui-layout-schema';
|
|
2
2
|
export declare const SET_DOMAIN_STATE = "DOMAIN_STATES/SET";
|
|
3
3
|
export interface SetDomainState {
|
|
4
4
|
type: typeof SET_DOMAIN_STATE;
|
|
@@ -10,7 +10,7 @@ export type SetDomainStatePayload = {
|
|
|
10
10
|
offerPositionIndex: number;
|
|
11
11
|
creativeInstanceGuid?: string;
|
|
12
12
|
} | {
|
|
13
|
-
key:
|
|
13
|
+
key: OuterLayoutDomainStateKey;
|
|
14
14
|
value: number;
|
|
15
15
|
};
|
|
16
16
|
export type DomainStatesActions = SetDomainState;
|
|
@@ -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>;
|
|
@@ -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>;
|