@rokt/dcui-orchestrator 0.2.1-rc.9 → 0.3.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
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { MinimizableBottomSheetProps } from '../minimizable-bottomsheet/types';
|
|
3
|
+
import { OverlayProps } from '../overlay/types';
|
|
4
|
+
/**
|
|
5
|
+
* Wrapper for overlay components (Overlay, MinimizableBottomSheet) in "attached" mode,
|
|
6
|
+
* used when the active breakpoint is not 'default' (e.g. desktop). Provides full-viewport
|
|
7
|
+
* positioning, focus trapping, and Redux signal handling.
|
|
8
|
+
*
|
|
9
|
+
* The `children` prop is a render function receiving:
|
|
10
|
+
* - `containerChildren`: Schema-driven content from `schema.children`, mapped through the node mapper.
|
|
11
|
+
* Callers should use this when displaying layout schema content, or pass their own content when
|
|
12
|
+
* they need custom rendering (e.g. MinimizableBottomSheet with both maximized and minimized states).
|
|
13
|
+
* - `ref`: A ref to attach to the focusable container element for focus trap behavior.
|
|
14
|
+
*
|
|
15
|
+
* @param props - Combined props from OverlayProps or MinimizableBottomSheetProps
|
|
16
|
+
*/
|
|
17
|
+
export declare function AttachedOverlayWrapper({ isOpen, schema, testId, children: container, }: (OverlayProps | MinimizableBottomSheetProps) & {
|
|
18
|
+
children(containerChildren: React.ReactNode, ref: React.ForwardedRef<HTMLDivElement>): React.ReactNode;
|
|
19
|
+
}): import("react/jsx-runtime").JSX.Element | null;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function hasExplicitHeightInOwnStyles(styles: unknown, activeBreakpointIndex?: number): boolean;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export
|
|
1
|
+
export { OVERLAY_ID } from '../../domain/src/behaviors';
|
|
2
2
|
export declare const PLUGIN_ID = "plugin";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function useEscToClose(): void;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { LayoutEvent } from '@rokt/dcui-layout-schema';
|
|
2
|
+
/**
|
|
3
|
+
* Tracks which layout events have fired at least once during the placement
|
|
4
|
+
* lifecycle. A `true` value means the event has occurred; absent/false means
|
|
5
|
+
* it has not. Consumed by the `OnFirstEvent` When predicate.
|
|
6
|
+
*/
|
|
7
|
+
export type FiredEventsState = Partial<Record<LayoutEvent, boolean>>;
|
|
8
|
+
/**
|
|
9
|
+
* Fired-events scoped per layout context. `root` holds the outer layout's
|
|
10
|
+
* events; each `module${offerPositionIndex}` bucket holds the events for one
|
|
11
|
+
* layout-variant slot, so an event firing in one slot does not leak into the
|
|
12
|
+
* others. Mirrors `CustomStatesIndexState`.
|
|
13
|
+
*/
|
|
14
|
+
export type FiredEventsIndexState = {
|
|
15
|
+
root: FiredEventsState;
|
|
16
|
+
[key: string]: FiredEventsState;
|
|
17
|
+
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { FormStatesState } from '../../../../domain/src/models';
|
|
2
|
+
/**
|
|
3
|
+
* Form state indexed by scope, mirroring CustomStatesIndexState: `root` holds
|
|
4
|
+
* placement-scoped forms (those declared in the outer layout) and each
|
|
5
|
+
* `module<offerPositionIndex>` key holds the forms for a single format
|
|
6
|
+
* instance.
|
|
7
|
+
*/
|
|
8
|
+
export type FormStatesIndexState = {
|
|
9
|
+
root: FormStatesState;
|
|
10
|
+
[key: string]: FormStatesState;
|
|
11
|
+
};
|
|
@@ -1,18 +1,23 @@
|
|
|
1
|
-
import { LayoutSettings } from '@rokt/dcui-layout-schema';
|
|
2
1
|
import { ActiveState } from './active';
|
|
3
2
|
import { BreakpointState } from './breakpoint';
|
|
4
3
|
import { FontsState } from './fonts';
|
|
5
4
|
import { LayoutState } from './layout';
|
|
6
5
|
import { SerializableCacheState } from './serializable-cache';
|
|
6
|
+
import { SettingsState } from './settings';
|
|
7
7
|
import { SignalState } from './signals';
|
|
8
8
|
import { CustomStatesIndexState } from './custom-states';
|
|
9
|
+
import { FiredEventsIndexState } from './fired-events';
|
|
10
|
+
import { FormStatesIndexState } from './form-states';
|
|
9
11
|
export * from './active';
|
|
10
12
|
export * from './breakpoint';
|
|
11
13
|
export * from './fonts';
|
|
12
14
|
export * from './layout';
|
|
13
15
|
export * from './serializable-cache';
|
|
16
|
+
export * from './settings';
|
|
14
17
|
export * from './signals';
|
|
15
18
|
export * from './custom-states';
|
|
19
|
+
export * from './fired-events';
|
|
20
|
+
export * from './form-states';
|
|
16
21
|
export type CoreAppState = {
|
|
17
22
|
layout: LayoutState;
|
|
18
23
|
breakpoint: BreakpointState;
|
|
@@ -20,6 +25,8 @@ export type CoreAppState = {
|
|
|
20
25
|
fonts: FontsState;
|
|
21
26
|
signal: SignalState;
|
|
22
27
|
serializableCache: SerializableCacheState;
|
|
23
|
-
settings:
|
|
28
|
+
settings: SettingsState;
|
|
24
29
|
customStates: CustomStatesIndexState;
|
|
30
|
+
firedEvents: FiredEventsIndexState;
|
|
31
|
+
formStates: FormStatesIndexState;
|
|
25
32
|
};
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import { LayoutSchemaModel, LayoutSettings } from '@rokt/dcui-layout-schema';
|
|
1
|
+
import { LayoutAction, LayoutSchemaModel, LayoutSettings, LayoutTimer, WhenPredicate } from '@rokt/dcui-layout-schema';
|
|
2
2
|
export type LayoutState = null | {
|
|
3
3
|
instanceGuid: string;
|
|
4
4
|
layoutSchema: LayoutSchemaModel;
|
|
5
5
|
layoutSchemaVersion: string;
|
|
6
6
|
settings?: LayoutSettings;
|
|
7
|
+
timers?: Array<LayoutTimer<WhenPredicate, LayoutAction>>;
|
|
7
8
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './reducer';
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { AnyAction } from '@reduxjs/toolkit';
|
|
2
|
+
import { FiredEventsIndexState, FiredEventsState } from '../../models';
|
|
3
|
+
export declare function makeInitialFiredEventsIndexState(): FiredEventsIndexState;
|
|
4
|
+
export declare function makeInitialFiredEventsState(): FiredEventsState;
|
|
5
|
+
export declare function firedEventsReducer(state: FiredEventsIndexState | undefined, action: AnyAction): FiredEventsIndexState;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './reducer';
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { AnyAction } from '@reduxjs/toolkit';
|
|
2
|
+
import { FormStatesIndexState } from '../../models';
|
|
3
|
+
export declare function makeInitialFormStatesIndexState(): FormStatesIndexState;
|
|
4
|
+
export declare function formStatesReducer(state: FormStatesIndexState | undefined, action: AnyAction): FormStatesIndexState;
|
|
@@ -7,6 +7,8 @@ import { signalReducer } from './signal';
|
|
|
7
7
|
import { serializableCacheReducer } from './serializable-cache';
|
|
8
8
|
import { settingsReducer } from './settings';
|
|
9
9
|
import { customStatesReducer } from './custom-states';
|
|
10
|
+
import { firedEventsReducer } from './fired-events';
|
|
11
|
+
import { formStatesReducer } from './form-states';
|
|
10
12
|
export * from './breakpoint';
|
|
11
13
|
export * from './layout';
|
|
12
14
|
export * from './active';
|
|
@@ -15,6 +17,8 @@ export * from './signal';
|
|
|
15
17
|
export * from './serializable-cache';
|
|
16
18
|
export * from './settings';
|
|
17
19
|
export * from './custom-states';
|
|
20
|
+
export * from './fired-events';
|
|
21
|
+
export * from './form-states';
|
|
18
22
|
export declare const coreAppReducers: {
|
|
19
23
|
layout: typeof layoutReducer;
|
|
20
24
|
breakpoint: typeof breakpointReducer;
|
|
@@ -24,5 +28,7 @@ export declare const coreAppReducers: {
|
|
|
24
28
|
serializableCache: typeof serializableCacheReducer;
|
|
25
29
|
settings: typeof settingsReducer;
|
|
26
30
|
customStates: typeof customStatesReducer;
|
|
31
|
+
firedEvents: typeof firedEventsReducer;
|
|
32
|
+
formStates: typeof formStatesReducer;
|
|
27
33
|
};
|
|
28
34
|
export declare function makeCoreAppInitialState(data?: Partial<CoreAppState>): CoreAppState;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { AnyAction } from '@reduxjs/toolkit';
|
|
2
|
-
import {
|
|
3
|
-
export declare function makeInitialSettingsState():
|
|
4
|
-
export declare function settingsReducer(state:
|
|
2
|
+
import { SettingsState } from '../../models/state/settings';
|
|
3
|
+
export declare function makeInitialSettingsState(): SettingsState;
|
|
4
|
+
export declare function settingsReducer(state: SettingsState | undefined, action: AnyAction): SettingsState;
|
|
@@ -15,3 +15,5 @@ export declare const INCORRECTLY_HANDLE_EXTERNAL_ACTION = "INCORRECTLY_HANDLE_EX
|
|
|
15
15
|
export declare const FAILED_TO_LOAD_FONT = "FAILED_TO_LOAD_FONT";
|
|
16
16
|
export declare const FAILED_TO_ESTABLISH_PARTNER_VALIDATION = "FAILED_TO_ESTABLISH_PARTNER_VALIDATION";
|
|
17
17
|
export declare const PARTNER_VALIDATION_UPDATE_FAILED = "PARTNER_VALIDATION_UPDATE_FAILED";
|
|
18
|
+
export declare const CART_SERVICE_RESPONSE_ERROR = "CART_SERVICE_RESPONSE_ERROR";
|
|
19
|
+
export declare const UNSUPPORTED_LAYOUT_ACTION = "UNSUPPORTED_LAYOUT_ACTION";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './sagas';
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { FormStateBehaviors } from '../../../../domain/src/behaviors';
|
|
2
|
+
import { PutEffect } from 'redux-saga/effects';
|
|
3
|
+
/**
|
|
4
|
+
* The GLOBAL/* form behaviors handled by {@link translateFormStateBehavior}.
|
|
5
|
+
* Derived from the translation map so the two cannot drift. Register with
|
|
6
|
+
* `takeEvery(formStateBehaviorTypes, translateFormStateBehavior)`.
|
|
7
|
+
*/
|
|
8
|
+
export declare const formStateBehaviorTypes: string[];
|
|
9
|
+
/**
|
|
10
|
+
* Translates a global form behavior into its FORM_STATES/* store action, the
|
|
11
|
+
* same way `setCustomState` translates SET_CUSTOM_STATE. No
|
|
12
|
+
* `offerPositionIndex` is attached, so the reducer writes to the `root` scope
|
|
13
|
+
* — this is the outer-layout/child-layout path; on the variant path the
|
|
14
|
+
* GlobalStoreProxy performs this translation and injects the module scope.
|
|
15
|
+
*/
|
|
16
|
+
export declare function translateFormStateBehavior(action: FormStateBehaviors): Generator<PutEffect, void, never>;
|
|
@@ -6,6 +6,8 @@ export * as SagaUtils from './utils';
|
|
|
6
6
|
export * from './signal';
|
|
7
7
|
export * from './error';
|
|
8
8
|
export * from './custom-states';
|
|
9
|
+
export * from './form-states';
|
|
10
|
+
export * from './trigger-action';
|
|
9
11
|
export * from './metric';
|
|
10
12
|
export * from './open-link';
|
|
11
13
|
export * from './overlay';
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { DisplayService } from '../../../../plugin-utils/src/index';
|
|
2
|
+
import { DisplaySettings } from '@rokt/plugin';
|
|
3
|
+
import { FrameControls } from '@rokt/dcui-layout-schema';
|
|
4
|
+
import { SetDomainStateReducer } from '../../actions/domain-states';
|
|
5
|
+
import { UpdateActiveBreakpointAction } from '../../actions/breakpoint';
|
|
6
|
+
import { SetBottomsheetVisibleHeightAction } from '../../actions/settings';
|
|
7
|
+
import { CoreAppState } from '../../models';
|
|
8
|
+
export declare const selectBottomsheetVisibleHeight: (state: CoreAppState) => number | null;
|
|
9
|
+
export declare const selectActiveBreakpoint: (state: CoreAppState) => string;
|
|
10
|
+
export interface BottomsheetSagaContext {
|
|
11
|
+
isMinimized: boolean;
|
|
12
|
+
lastSettings: DisplaySettings | null;
|
|
13
|
+
controls: FrameControls | null;
|
|
14
|
+
}
|
|
15
|
+
export declare function attachedBottomsheetDisplaySaga(displayService: DisplayService, controls?: FrameControls | null): Generator<import("redux-saga/effects").AllEffect<import("redux-saga/effects").ForkEffect<never>>, void, unknown>;
|
|
16
|
+
export declare function handleLayoutMinimizedChange(displayService: DisplayService, context: BottomsheetSagaContext, action: SetDomainStateReducer): Generator<import("redux-saga/effects").CallEffect<void> | import("redux-saga/effects").SelectEffect, void, never>;
|
|
17
|
+
export declare function handleVisibleHeightChange(displayService: DisplayService, context: BottomsheetSagaContext, action: SetBottomsheetVisibleHeightAction): Generator<import("redux-saga/effects").CallEffect<void> | import("redux-saga/effects").SelectEffect, void, string>;
|
|
18
|
+
export declare function handleBreakpointChange(displayService: DisplayService, context: BottomsheetSagaContext, action: UpdateActiveBreakpointAction): Generator<import("redux-saga/effects").CallEffect<void> | import("redux-saga/effects").SelectEffect, void, number | null>;
|
|
@@ -1,10 +1,13 @@
|
|
|
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;
|
|
7
9
|
outerCss: {
|
|
10
|
+
zIndex?: number | undefined;
|
|
8
11
|
maxWidth?: string | undefined;
|
|
9
12
|
transform?: string | undefined;
|
|
10
13
|
top?: string | undefined;
|
|
@@ -16,10 +19,10 @@ export declare function getDisplaySettings(preset?: LayoutDisplayPreset | null,
|
|
|
16
19
|
width: string;
|
|
17
20
|
};
|
|
18
21
|
css?: undefined;
|
|
19
|
-
preset?: undefined;
|
|
20
22
|
} | {
|
|
21
23
|
autoresize: boolean;
|
|
22
24
|
css: {
|
|
25
|
+
zIndex?: number | undefined;
|
|
23
26
|
maxWidth?: string | undefined;
|
|
24
27
|
transform?: string | undefined;
|
|
25
28
|
top?: string | undefined;
|
|
@@ -31,12 +34,12 @@ export declare function getDisplaySettings(preset?: LayoutDisplayPreset | null,
|
|
|
31
34
|
replaceTargetElement?: undefined;
|
|
32
35
|
outerCss?: undefined;
|
|
33
36
|
innerCss?: undefined;
|
|
34
|
-
preset?: undefined;
|
|
35
37
|
} | {
|
|
36
38
|
autoresize: boolean;
|
|
37
39
|
applyHighestZIndex: boolean;
|
|
38
40
|
replaceTargetElement: string;
|
|
39
41
|
css: {
|
|
42
|
+
zIndex?: number | undefined;
|
|
40
43
|
maxWidth?: string | undefined;
|
|
41
44
|
transform?: string | undefined;
|
|
42
45
|
top?: string | undefined;
|
|
@@ -46,13 +49,4 @@ export declare function getDisplaySettings(preset?: LayoutDisplayPreset | null,
|
|
|
46
49
|
};
|
|
47
50
|
outerCss?: undefined;
|
|
48
51
|
innerCss?: undefined;
|
|
49
|
-
preset?: undefined;
|
|
50
|
-
} | {
|
|
51
|
-
preset: DisplayPreset;
|
|
52
|
-
autoresize?: undefined;
|
|
53
|
-
applyHighestZIndex?: undefined;
|
|
54
|
-
replaceTargetElement?: undefined;
|
|
55
|
-
outerCss?: undefined;
|
|
56
|
-
innerCss?: undefined;
|
|
57
|
-
css?: undefined;
|
|
58
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;
|