@rokt/dcui-orchestrator 0.2.1-rc.9 → 0.3.1-rc.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/extensions/address-form/src/actions/forms.d.ts +11 -0
- package/dist/extensions/address-form/src/actions/index.d.ts +1 -0
- package/dist/extensions/address-form/src/components/address-form.d.ts +96 -0
- package/dist/extensions/address-form/src/components/edit-address-form-view.d.ts +23 -0
- package/dist/extensions/address-form/src/components/form-button.d.ts +15 -0
- package/dist/extensions/address-form/src/components/input-field.d.ts +34 -0
- package/dist/extensions/address-form/src/index.d.ts +3 -0
- package/dist/extensions/address-form/src/models/form-state.d.ts +1 -0
- package/dist/extensions/address-form/src/models/index.d.ts +1 -0
- package/dist/extensions/address-form/src/reducers/forms.d.ts +4 -0
- package/dist/extensions/address-form/src/reducers/index.d.ts +1 -0
- package/dist/extensions/address-form/src/sagas/cart-service/index.d.ts +1 -0
- package/dist/extensions/address-form/src/sagas/cart-service/sagas.d.ts +9 -0
- package/dist/extensions/address-form/src/sagas/index.d.ts +2 -0
- package/dist/extensions/address-form/src/types.d.ts +63 -0
- package/dist/extensions/address-form/src/utils.d.ts +15 -0
- package/dist/extensions/minimized-bottomsheet/src/components/bottom-sheet/bottom-sheet.d.ts +2 -0
- package/dist/extensions/minimized-bottomsheet/src/components/bottom-sheet/factory.d.ts +1 -0
- package/dist/extensions/minimized-bottomsheet/src/components/bottom-sheet/hooks.d.ts +2 -1
- package/dist/extensions/minimized-bottomsheet/src/components/bottomsheet-wrapper/overlay-wrapper.d.ts +2 -2
- package/dist/extensions/shimmer-background/src/index.d.ts +10 -0
- package/dist/extensions/shimmer-background/src/shimmer-background.d.ts +11 -0
- package/dist/index.cjs +97 -46
- package/dist/index.js +102 -51
- package/dist/libraries/dcui-components/src/components/action-button/action-button.d.ts +24 -0
- package/dist/libraries/dcui-components/src/components/action-button/factory.d.ts +2 -0
- package/dist/libraries/dcui-components/src/components/action-button/index.d.ts +2 -0
- package/dist/libraries/dcui-components/src/components/catalog-carousel-collection/hooks.d.ts +7 -0
- package/dist/libraries/{layout-renderer-utils → dcui-components}/src/components/close-button/factory.d.ts +1 -1
- package/dist/libraries/dcui-components/src/components/data-image-carousel/carousel-indicators.d.ts +20 -0
- package/dist/libraries/dcui-components/src/components/data-image-carousel/data-image-carousel.d.ts +100 -0
- package/dist/libraries/dcui-components/src/components/data-image-carousel/factory.d.ts +2 -0
- package/dist/libraries/dcui-components/src/components/data-image-carousel/index.d.ts +2 -0
- package/dist/libraries/dcui-components/src/components/data-mapper/form-state-projection.d.ts +31 -0
- package/dist/libraries/dcui-components/src/components/data-mapper/index.d.ts +1 -0
- package/dist/libraries/dcui-components/src/components/extension/context.d.ts +2 -1
- package/dist/libraries/dcui-components/src/components/extension/models.d.ts +2 -1
- package/dist/libraries/dcui-components/src/components/form/factory.d.ts +2 -0
- package/dist/libraries/dcui-components/src/components/form/form.d.ts +24 -0
- package/dist/libraries/dcui-components/src/components/form/index.d.ts +2 -0
- package/dist/libraries/dcui-components/src/components/icon-group/factory.d.ts +2 -0
- package/dist/libraries/dcui-components/src/components/icon-group/icon-group.d.ts +36 -0
- package/dist/libraries/dcui-components/src/components/icon-group/index.d.ts +2 -0
- package/dist/libraries/dcui-components/src/components/index.d.ts +5 -0
- package/dist/libraries/dcui-components/src/components/layout-timer/index.d.ts +5 -0
- package/dist/libraries/dcui-components/src/components/layout-timer/layout-timer.d.ts +7 -0
- package/dist/libraries/dcui-components/src/components/layout-timer/timer-countdown-provider.d.ts +8 -0
- package/dist/libraries/dcui-components/src/components/layout-timer/use-layout-timer.d.ts +11 -0
- package/dist/libraries/dcui-components/src/components/layout-timer/use-timer-action-dispatch.d.ts +9 -0
- package/dist/libraries/dcui-components/src/components/rich-text/rich-text.d.ts +2 -0
- package/dist/libraries/dcui-components/src/components/scrollable-column/scrollable-column.d.ts +1 -1
- package/dist/libraries/dcui-components/src/components/scrollable-row/scrollable-row.d.ts +1 -1
- package/dist/libraries/dcui-components/src/components/style-mapper/get-css-writer.d.ts +1 -0
- package/dist/libraries/dcui-components/src/components/style-mapper/transformers/index.d.ts +1 -0
- package/dist/libraries/dcui-components/src/components/style-mapper/transformers/scroll-mask-transformer.d.ts +8 -0
- package/dist/libraries/dcui-components/src/components/style-mapper/types.d.ts +2 -2
- package/dist/libraries/dcui-components/src/components/text-input/factory.d.ts +2 -0
- package/dist/libraries/dcui-components/src/components/text-input/index.d.ts +2 -0
- package/dist/libraries/dcui-components/src/components/text-input/text-input.d.ts +23 -0
- package/dist/libraries/dcui-components/src/components/when/form-state.d.ts +9 -0
- package/dist/libraries/dcui-components/src/contexts/form-context.d.ts +15 -0
- package/dist/libraries/dcui-components/src/contexts/index.d.ts +2 -0
- package/dist/libraries/dcui-components/src/contexts/minimizable-context.d.ts +2 -0
- package/dist/libraries/dcui-components/src/contexts/offer-data-context.d.ts +1 -0
- package/dist/libraries/dcui-components/src/failure-codes.d.ts +1 -0
- package/dist/libraries/dcui-components/src/utils/get-scroll-mask-config.d.ts +20 -0
- package/dist/libraries/dcui-components/src/utils/index.d.ts +2 -0
- package/dist/libraries/dcui-components/src/utils/use-scroll-mask-visibility.d.ts +22 -0
- package/dist/libraries/dcui-schema/src/models/nodes/close-button.d.ts +3 -1
- package/dist/libraries/domain/src/behaviors/cart-item-event.d.ts +44 -0
- package/dist/libraries/domain/src/behaviors/dismiss-overlay.d.ts +9 -0
- package/dist/libraries/domain/src/behaviors/domain-states.d.ts +2 -2
- package/dist/libraries/domain/src/behaviors/form-state.d.ts +66 -0
- package/dist/libraries/domain/src/behaviors/global-actions.d.ts +17 -1
- package/dist/libraries/domain/src/behaviors/index.d.ts +6 -0
- package/dist/libraries/domain/src/behaviors/layout-events.d.ts +17 -0
- package/dist/libraries/domain/src/behaviors/offer-engagement.d.ts +3 -1
- package/dist/libraries/domain/src/behaviors/report-error.d.ts +26 -0
- package/dist/libraries/domain/src/behaviors/send-partner.d.ts +40 -3
- package/dist/libraries/domain/src/behaviors/trigger-action.d.ts +19 -0
- package/dist/libraries/domain/src/models/domain-state-keys.d.ts +5 -0
- package/dist/libraries/domain/src/models/form-state.d.ts +85 -0
- package/dist/libraries/domain/src/models/global-state.d.ts +4 -1
- package/dist/libraries/domain/src/models/index.d.ts +3 -0
- package/dist/libraries/domain/src/models/layout/index.d.ts +1 -0
- package/dist/libraries/domain/src/models/layout/layout-catalog-item.d.ts +2 -0
- package/dist/libraries/domain/src/models/layout/layout-child-config.d.ts +2 -0
- package/dist/libraries/domain/src/models/layout/layout-config.d.ts +2 -2
- package/dist/libraries/domain/src/models/layout/layout-offer.d.ts +2 -0
- package/dist/libraries/domain/src/models/layout/layout-signal-type.d.ts +3 -1
- package/dist/libraries/domain/src/models/layout/layout-transaction-data.d.ts +31 -0
- package/dist/libraries/domain/src/models/partner-event.d.ts +2 -2
- package/dist/libraries/domain/src/models/plugin/index.d.ts +2 -0
- package/dist/libraries/domain/src/models/plugin/plugin-catalog-item-group.d.ts +17 -0
- package/dist/libraries/domain/src/models/plugin/plugin-catalog-item.d.ts +8 -0
- package/dist/libraries/domain/src/models/plugin/plugin-child-layout-model.d.ts +2 -0
- package/dist/libraries/domain/src/models/plugin/plugin-model.d.ts +3 -3
- package/dist/libraries/domain/src/models/plugin/plugin-offer.d.ts +4 -0
- package/dist/libraries/domain/src/models/plugin/plugin-signal-type.d.ts +4 -1
- package/dist/libraries/domain/src/models/plugin/plugin-transaction-data.d.ts +31 -0
- package/dist/libraries/domain/src/models/purchase.d.ts +54 -0
- package/dist/libraries/domain/src/models/shipping.d.ts +25 -0
- package/dist/libraries/domain/src/models/signals.d.ts +19 -5
- package/dist/libraries/layout-renderer-utils/src/actions/domain-states.d.ts +14 -0
- package/dist/libraries/layout-renderer-utils/src/actions/form-states.d.ts +37 -0
- package/dist/libraries/layout-renderer-utils/src/actions/index.d.ts +15 -3
- package/dist/libraries/layout-renderer-utils/src/actions/overlay.d.ts +15 -8
- package/dist/libraries/layout-renderer-utils/src/actions/settings.d.ts +10 -3
- package/dist/libraries/layout-renderer-utils/src/components/index.d.ts +4 -1
- package/dist/libraries/layout-renderer-utils/src/components/minimizable-bottomsheet/connector.d.ts +2 -0
- package/dist/libraries/layout-renderer-utils/src/components/minimizable-bottomsheet/drag-handle.d.ts +7 -0
- package/dist/libraries/layout-renderer-utils/src/components/minimizable-bottomsheet/extract-border-styles.d.ts +25 -0
- package/dist/libraries/layout-renderer-utils/src/components/minimizable-bottomsheet/factory.d.ts +13 -0
- package/dist/libraries/layout-renderer-utils/src/components/minimizable-bottomsheet/hooks.d.ts +23 -0
- package/dist/libraries/layout-renderer-utils/src/components/minimizable-bottomsheet/index.d.ts +2 -0
- package/dist/libraries/layout-renderer-utils/src/components/minimizable-bottomsheet/minimizable-bottomsheet-wrapper.d.ts +12 -0
- package/dist/libraries/layout-renderer-utils/src/components/minimizable-bottomsheet/minimizable-bottomsheet.d.ts +27 -0
- package/dist/libraries/layout-renderer-utils/src/components/minimizable-bottomsheet/sheet-gesture.d.ts +18 -0
- package/dist/libraries/layout-renderer-utils/src/components/minimizable-bottomsheet/types.d.ts +63 -0
- package/dist/libraries/layout-renderer-utils/src/components/minimize-button/factory.d.ts +2 -0
- package/dist/libraries/layout-renderer-utils/src/components/minimize-button/index.d.ts +2 -0
- package/dist/libraries/layout-renderer-utils/src/components/minimize-button/minimize-button.d.ts +12 -0
- package/dist/libraries/layout-renderer-utils/src/components/overlay/overlay.d.ts +1 -0
- package/dist/libraries/layout-renderer-utils/src/components/overlay-wrapper/attached-overlay-wrapper.d.ts +19 -0
- package/dist/libraries/layout-renderer-utils/src/components/overlay-wrapper/index.d.ts +1 -0
- package/dist/libraries/layout-renderer-utils/src/components/utils.d.ts +1 -0
- package/dist/libraries/layout-renderer-utils/src/constant.d.ts +1 -1
- package/dist/libraries/layout-renderer-utils/src/hooks/useEscToClose.d.ts +1 -0
- package/dist/libraries/layout-renderer-utils/src/models/state/fired-events.d.ts +17 -0
- package/dist/libraries/layout-renderer-utils/src/models/state/form-states.d.ts +11 -0
- package/dist/libraries/layout-renderer-utils/src/models/state/index.d.ts +9 -2
- package/dist/libraries/layout-renderer-utils/src/models/state/layout.d.ts +2 -1
- package/dist/libraries/layout-renderer-utils/src/models/state/settings.d.ts +6 -0
- package/dist/libraries/layout-renderer-utils/src/reducers/fired-events/index.d.ts +1 -0
- package/dist/libraries/layout-renderer-utils/src/reducers/fired-events/reducer.d.ts +5 -0
- package/dist/libraries/layout-renderer-utils/src/reducers/form-states/index.d.ts +1 -0
- package/dist/libraries/layout-renderer-utils/src/reducers/form-states/reducer.d.ts +4 -0
- package/dist/libraries/layout-renderer-utils/src/reducers/index.d.ts +6 -0
- package/dist/libraries/layout-renderer-utils/src/reducers/settings/reducer.d.ts +3 -3
- package/dist/libraries/layout-renderer-utils/src/sagas/error/error-codes.d.ts +2 -0
- package/dist/libraries/layout-renderer-utils/src/sagas/form-states/index.d.ts +1 -0
- package/dist/libraries/layout-renderer-utils/src/sagas/form-states/sagas.d.ts +16 -0
- package/dist/libraries/layout-renderer-utils/src/sagas/index.d.ts +2 -0
- package/dist/libraries/layout-renderer-utils/src/sagas/plugin/attached-bottomsheet.d.ts +18 -0
- package/dist/libraries/layout-renderer-utils/src/sagas/plugin/display.d.ts +7 -13
- package/dist/libraries/layout-renderer-utils/src/sagas/plugin/sagas.d.ts +1 -1
- package/dist/libraries/layout-renderer-utils/src/sagas/trigger-action/index.d.ts +1 -0
- package/dist/libraries/layout-renderer-utils/src/sagas/trigger-action/sagas.d.ts +12 -0
- package/dist/libraries/layout-renderer-utils/src/selectors/fired-events/selectors.d.ts +7 -0
- package/dist/libraries/layout-renderer-utils/src/selectors/form-state/index.d.ts +1 -0
- package/dist/libraries/layout-renderer-utils/src/selectors/form-state/selectors.d.ts +8 -0
- package/dist/libraries/layout-renderer-utils/src/selectors/index.d.ts +2 -0
- package/dist/libraries/layout-renderer-utils/src/utils/signals.d.ts +2 -2
- package/dist/libraries/module-connector/src/main.d.ts +1 -1
- package/dist/libraries/module-connector/src/models/gateway.d.ts +4 -3
- package/dist/libraries/module-connector/src/models/module-connector-builder.d.ts +4 -1
- package/dist/libraries/module-utils/src/actions/child-layouts.d.ts +11 -0
- package/dist/libraries/module-utils/src/actions/dynamic-data.d.ts +7 -0
- package/dist/libraries/module-utils/src/actions/index.d.ts +2 -0
- package/dist/libraries/module-utils/src/index.d.ts +5 -0
- package/dist/libraries/module-utils/src/models/index.d.ts +1 -0
- package/dist/libraries/module-utils/src/models/state/child-layouts.d.ts +4 -0
- package/dist/libraries/module-utils/src/models/state/dynamic-data.d.ts +3 -0
- package/dist/libraries/module-utils/src/models/state/index.d.ts +3 -0
- package/dist/libraries/module-utils/src/models/state/static-data.d.ts +6 -0
- package/dist/libraries/module-utils/src/reducers/child-layouts/index.d.ts +1 -0
- package/dist/libraries/module-utils/src/reducers/child-layouts/reducer.d.ts +5 -0
- package/dist/libraries/module-utils/src/reducers/dynamic-data/index.d.ts +1 -0
- package/dist/libraries/module-utils/src/reducers/dynamic-data/reducer.d.ts +4 -0
- package/dist/libraries/module-utils/src/reducers/index.d.ts +3 -0
- package/dist/libraries/module-utils/src/reducers/static-data/index.d.ts +1 -0
- package/dist/libraries/module-utils/src/reducers/static-data/reducer.d.ts +4 -0
- package/dist/libraries/module-utils/src/sagas/child-layouts/index.d.ts +1 -0
- package/dist/libraries/module-utils/src/sagas/child-layouts/sagas.d.ts +5 -0
- package/dist/libraries/module-utils/src/sagas/error-codes.d.ts +1 -0
- package/dist/libraries/module-utils/src/sagas/index.d.ts +1 -0
- package/dist/libraries/module-utils/src/selectors/child-layouts/index.d.ts +1 -0
- package/dist/libraries/module-utils/src/selectors/child-layouts/selectors.d.ts +4 -0
- package/dist/libraries/module-utils/src/selectors/dynamic-data/index.d.ts +1 -0
- package/dist/libraries/module-utils/src/selectors/dynamic-data/selectors.d.ts +4 -0
- package/dist/libraries/module-utils/src/selectors/index.d.ts +3 -0
- package/dist/libraries/module-utils/src/selectors/static-data/index.d.ts +1 -0
- package/dist/libraries/module-utils/src/selectors/static-data/selectors.d.ts +7 -0
- package/dist/libraries/orchestrator/src/actions/domain-states.d.ts +2 -2
- package/dist/libraries/orchestrator/src/actions/index.d.ts +14 -4
- package/dist/libraries/orchestrator/src/actions/trigger-action.d.ts +2 -0
- package/dist/libraries/orchestrator/src/global-store-proxy.d.ts +2 -0
- package/dist/libraries/orchestrator/src/models/index.d.ts +1 -1
- package/dist/libraries/orchestrator/src/models/state/domain-states.d.ts +2 -2
- package/dist/libraries/orchestrator/src/models/state/index.d.ts +0 -2
- package/dist/libraries/orchestrator/src/reducers/domain-states/reducer.d.ts +2 -1
- package/dist/libraries/orchestrator/src/reducers/index.d.ts +3 -1
- package/dist/libraries/orchestrator/src/sagas/plugin/config-transformer.d.ts +2 -2
- package/dist/libraries/orchestrator/src/sagas/plugin/migrate-schema.d.ts +2 -2
- package/dist/libraries/orchestrator/src/sagas/plugin/migrations/migration-mapper.d.ts +3 -3
- package/dist/libraries/orchestrator/src/sagas/plugin/migrations/v1.0.d.ts +2 -2
- package/dist/libraries/orchestrator/src/sagas/plugin/sagas.d.ts +2 -2
- package/dist/libraries/orchestrator/src/sagas/progression/sagas.d.ts +2 -1
- package/dist/libraries/orchestrator/src/sagas/trigger-action/index.d.ts +1 -0
- package/dist/libraries/orchestrator/src/sagas/trigger-action/sagas.d.ts +3 -0
- package/dist/libraries/orchestrator/src/selectors/domain-state/selectors.d.ts +2 -2
- package/dist/libraries/orchestrator/src/selectors/index.d.ts +1 -1
- package/dist/libraries/plugin-utils/src/translate-config.d.ts +5 -1
- package/dist/libraries/saga-utils/src/sagas/handle-variant-action.d.ts +12 -0
- package/dist/libraries/saga-utils/src/sagas/index.d.ts +1 -0
- package/dist/libraries/saga-utils/src/utils/catalog-translator.d.ts +1 -0
- package/dist/modules/add-to-cart/src/components/escape-hatch/factory.d.ts +1 -1
- package/dist/modules/add-to-cart/src/components/mapped-icons/icon-registry-data.d.ts +10 -0
- package/dist/modules/add-to-cart/src/components/mapped-icons/icon-registry.d.ts +9 -0
- package/dist/modules/add-to-cart/src/components/mapped-icons/mapped-icon.d.ts +15 -0
- package/dist/modules/add-to-cart/src/components/read-more-text/read-more-text.d.ts +29 -0
- package/dist/modules/add-to-cart/src/components/read-more-text-container/read-more-text-container.d.ts +34 -0
- package/dist/modules/add-to-cart/src/components/scroll-to-target/scroll-to-target.d.ts +56 -0
- package/dist/modules/add-to-cart/src/components/tooltip/tooltip.d.ts +42 -0
- package/dist/modules/add-to-cart/src/components/when-catalog-quantity/when-catalog-quantity.d.ts +22 -0
- package/dist/modules/add-to-cart/src/reducers/index.d.ts +1 -1
- package/dist/modules/add-to-cart/src/sagas/cart-service-response/index.d.ts +1 -0
- package/dist/modules/add-to-cart/src/sagas/cart-service-response/sagas.d.ts +11 -0
- package/dist/modules/add-to-cart/src/sagas/index.d.ts +11 -0
- package/dist/modules/add-to-cart/src/selectors/catalogItems/selectors.d.ts +2 -0
- package/dist/modules/add-to-cart/src/selectors/creative/index.d.ts +1 -0
- package/dist/modules/add-to-cart/src/selectors/creative/selectors.d.ts +3 -0
- package/dist/modules/add-to-cart/src/selectors/index.d.ts +2 -1
- package/dist/modules/add-to-cart/src/selectors/offerDataState/index.d.ts +1 -0
- package/dist/modules/add-to-cart/src/selectors/{globalOfferDataState → offerDataState}/selectors.d.ts +1 -1
- package/dist/modules/instant-purchase/src/actions/device-pay.d.ts +60 -0
- package/dist/modules/instant-purchase/src/actions/index.d.ts +2 -0
- package/dist/modules/instant-purchase/src/actions/instant-purchase.d.ts +52 -2
- package/dist/modules/instant-purchase/src/actions/paypal.d.ts +35 -0
- package/dist/modules/instant-purchase/src/channels/channel.d.ts +5 -1
- package/dist/modules/instant-purchase/src/components/catalog-device-pay-button/apple-pay-button.d.ts +36 -0
- package/dist/modules/instant-purchase/src/components/catalog-device-pay-button/catalog-device-pay-button.d.ts +59 -0
- package/dist/modules/instant-purchase/src/components/catalog-device-pay-button/factory.d.ts +2 -0
- package/dist/modules/instant-purchase/src/components/catalog-device-pay-button/retryable-device-pay-error.d.ts +1 -0
- package/dist/modules/instant-purchase/src/components/catalog-discount-callout-tag/catalog-discount-callout-tag.d.ts +90 -0
- package/dist/modules/instant-purchase/src/components/catalog-dropdown/catalog-dropdown.d.ts +6 -0
- package/dist/modules/instant-purchase/src/components/catalog-dropdown/dropdown-options-context.d.ts +17 -0
- package/dist/modules/instant-purchase/src/components/catalog-dropdown/factory.d.ts +2 -0
- package/dist/modules/instant-purchase/src/components/catalog-imagegallery/catalog-gallery-index.d.ts +1 -0
- package/dist/modules/instant-purchase/src/components/catalog-imagegallery/catalog-image-gallery.d.ts +6 -0
- package/dist/modules/instant-purchase/src/components/catalog-imagegallery/factory.d.ts +2 -0
- package/dist/modules/instant-purchase/src/components/catalog-selectors-stacked/catalog-selectors-stacked.d.ts +6 -0
- package/dist/modules/instant-purchase/src/components/catalog-selectors-stacked/factory.d.ts +2 -0
- package/dist/modules/instant-purchase/src/components/catalog-thumbnail-gallery/catalog-thumbnail-gallery.d.ts +6 -0
- package/dist/modules/instant-purchase/src/components/catalog-thumbnail-gallery/factory.d.ts +2 -0
- package/dist/modules/instant-purchase/src/components/checkbox/checkbox.d.ts +1 -0
- package/dist/modules/instant-purchase/src/components/checkout-state-button-trigger/checkout-state-button-trigger.d.ts +2 -0
- package/dist/modules/instant-purchase/src/components/custom-state-validation-trigger-button/custom-state-validation-trigger-button.d.ts +28 -0
- package/dist/modules/instant-purchase/src/components/dismiss-instant-purchase-button/dismiss-instant-purchase-button.d.ts +1 -0
- package/dist/modules/instant-purchase/src/components/escape-hatch/factory.d.ts +1 -1
- package/dist/modules/instant-purchase/src/components/escape-hatch/index.d.ts +1 -0
- package/dist/modules/instant-purchase/src/components/{catalog-drop-down → escapehatch-catalog-drop-down}/catalog-drop-down.d.ts +2 -0
- package/dist/modules/instant-purchase/src/components/{catalog-image-gallery → escapehatch-catalog-image-gallery}/catalog-image-gallery.d.ts +15 -4
- package/dist/modules/instant-purchase/src/components/escapehatch-catalog-image-gallery/constants.d.ts +9 -0
- package/dist/modules/instant-purchase/src/components/inline-container/factory.d.ts +2 -0
- package/dist/modules/instant-purchase/src/components/inline-container/inline-container.d.ts +55 -0
- package/dist/modules/instant-purchase/src/components/loading-spinner/loading-spinner.d.ts +2 -1
- package/dist/modules/instant-purchase/src/components/offer-lifecycle-timer/offer-lifecycle-timer.d.ts +2 -0
- package/dist/modules/instant-purchase/src/components/read-more-text-container/read-more-text-container.d.ts +1 -0
- package/dist/modules/instant-purchase/src/components/rich-text/factory.d.ts +2 -0
- package/dist/modules/instant-purchase/src/components/rich-text/rich-text.d.ts +64 -0
- package/dist/modules/instant-purchase/src/components/snackbar/snackbar.d.ts +25 -0
- package/dist/modules/instant-purchase/src/constants/device-pay-error.d.ts +4 -0
- package/dist/modules/instant-purchase/src/constants/device-pay-providers.d.ts +26 -0
- package/dist/modules/instant-purchase/src/constants/index.d.ts +2 -0
- package/dist/modules/instant-purchase/src/models/state/device-pay-availability.d.ts +5 -0
- package/dist/modules/instant-purchase/src/models/state/index.d.ts +1 -0
- package/dist/modules/instant-purchase/src/models/state/instant-purchase.d.ts +70 -2
- package/dist/modules/instant-purchase/src/reducers/device-pay-availability/index.d.ts +1 -0
- package/dist/modules/instant-purchase/src/reducers/device-pay-availability/reducer.d.ts +4 -0
- package/dist/modules/instant-purchase/src/reducers/index.d.ts +17 -2
- package/dist/modules/instant-purchase/src/reducers/instant-purchase/index.d.ts +3 -0
- package/dist/modules/instant-purchase/src/reducers/instant-purchase/offer-lifecycle-event/index.d.ts +1 -0
- package/dist/modules/instant-purchase/src/reducers/instant-purchase/offer-lifecycle-event/reducer.d.ts +4 -0
- package/dist/modules/instant-purchase/src/reducers/instant-purchase/purchase-id/index.d.ts +1 -0
- package/dist/modules/instant-purchase/src/reducers/instant-purchase/purchase-id/reducer.d.ts +4 -0
- package/dist/modules/instant-purchase/src/reducers/instant-purchase/tax-and-shipping-data-cache/index.d.ts +1 -0
- package/dist/modules/instant-purchase/src/reducers/instant-purchase/tax-and-shipping-data-cache/reducer.d.ts +4 -0
- package/dist/modules/instant-purchase/src/reducers/paypal-purchase-context/index.d.ts +2 -0
- package/dist/modules/instant-purchase/src/reducers/paypal-purchase-context/reducer.d.ts +5 -0
- package/dist/modules/instant-purchase/src/reducers/paypal-transaction-details/index.d.ts +2 -0
- package/dist/modules/instant-purchase/src/reducers/paypal-transaction-details/reducer.d.ts +5 -0
- package/dist/modules/instant-purchase/src/sagas/checkout-lifecycle/sagas.d.ts +1 -1
- package/dist/modules/instant-purchase/src/sagas/device-pay/index.d.ts +1 -0
- package/dist/modules/instant-purchase/src/sagas/device-pay/sagas.d.ts +116 -0
- package/dist/modules/instant-purchase/src/sagas/dismiss-overlay/index.d.ts +1 -0
- package/dist/modules/instant-purchase/src/sagas/dismiss-overlay/sagas.d.ts +7 -0
- package/dist/modules/instant-purchase/src/sagas/error-codes.d.ts +14 -0
- package/dist/modules/instant-purchase/src/sagas/index.d.ts +16 -1
- package/dist/modules/instant-purchase/src/sagas/instant-purchase/sagas.d.ts +20 -72
- package/dist/modules/instant-purchase/src/sagas/instant-purchase-signals.d.ts +4 -0
- package/dist/modules/instant-purchase/src/sagas/layout-events.d.ts +9 -0
- package/dist/modules/instant-purchase/src/sagas/offer-engagement.d.ts +3 -0
- package/dist/modules/instant-purchase/src/sagas/paypal/index.d.ts +1 -0
- package/dist/modules/instant-purchase/src/sagas/paypal/sagas.d.ts +83 -0
- package/dist/modules/instant-purchase/src/sagas/tax-and-shipping/index.d.ts +1 -0
- package/dist/modules/instant-purchase/src/sagas/tax-and-shipping/sagas.d.ts +50 -0
- package/dist/modules/instant-purchase/src/sagas/variant-action-overrides.d.ts +11 -0
- package/dist/modules/instant-purchase/src/selectors/creative/index.d.ts +1 -0
- package/dist/modules/instant-purchase/src/selectors/creative/selectors.d.ts +5 -0
- package/dist/modules/instant-purchase/src/selectors/device-pay-availability/index.d.ts +1 -0
- package/dist/modules/instant-purchase/src/selectors/device-pay-availability/selectors.d.ts +13 -0
- package/dist/modules/instant-purchase/src/selectors/index.d.ts +4 -0
- package/dist/modules/instant-purchase/src/selectors/paypal-transaction-details/index.d.ts +1 -0
- package/dist/modules/instant-purchase/src/selectors/paypal-transaction-details/selectors.d.ts +3 -0
- package/dist/modules/instant-purchase/src/selectors/tax-and-shipping/index.d.ts +1 -0
- package/dist/modules/instant-purchase/src/selectors/tax-and-shipping/selectors.d.ts +3 -0
- package/dist/modules/instant-purchase/src/utils/create-tax-and-shipping-cache-key.d.ts +4 -0
- package/dist/modules/layouts-xp-sandbox/src/reducers/index.d.ts +1 -1
- package/dist/modules/layouts-xp-sandbox/src/sagas/index.d.ts +11 -0
- package/dist/modules/layouts-xp-sandbox/src/sagas/offer-engagement/sagas.d.ts +1 -1
- package/dist/modules/standard-marketing/src/components/escape-hatch/factory.d.ts +2 -0
- package/dist/modules/standard-marketing/src/components/escape-hatch-checkbox/escape-hatch-checkbox.d.ts +28 -0
- package/dist/modules/standard-marketing/src/reducers/index.d.ts +1 -1
- package/dist/modules/standard-marketing/src/sagas/index.d.ts +11 -0
- package/dist/modules/standard-marketing/src/sagas/offer-engagement/channels.d.ts +4 -1
- package/dist/modules/standard-marketing/src/sagas/offer-engagement/sagas.d.ts +3 -3
- package/node_modules/@rokt/dcui-layout-schema/dist/schema.d.ts +4694 -117
- package/node_modules/@rokt/dcui-layout-schema/dist/schema.js +1 -1
- package/node_modules/@rokt/dcui-layout-schema/dist/tsconfig.tsbuildinfo +1 -1
- package/node_modules/@rokt/dcui-layout-schema/package.json +1 -1
- package/node_modules/@rokt/dcui-layout-schema/v0.1/index.d.ts +953 -29
- package/node_modules/@rokt/dcui-layout-schema/v0.1/index.js +1 -1
- package/node_modules/@rokt/dcui-layout-schema/v0.10/index.d.ts +1087 -35
- package/node_modules/@rokt/dcui-layout-schema/v0.10/index.js +1 -1
- package/node_modules/@rokt/dcui-layout-schema/v0.11/index.d.ts +1143 -35
- package/node_modules/@rokt/dcui-layout-schema/v0.11/index.js +1 -1
- package/node_modules/@rokt/dcui-layout-schema/v0.12/index.d.ts +1147 -35
- package/node_modules/@rokt/dcui-layout-schema/v0.12/index.js +1 -1
- package/node_modules/@rokt/dcui-layout-schema/v0.13/index.d.ts +1218 -35
- package/node_modules/@rokt/dcui-layout-schema/v0.13/index.js +1 -1
- package/node_modules/@rokt/dcui-layout-schema/v0.14/index.d.ts +1258 -37
- package/node_modules/@rokt/dcui-layout-schema/v0.14/index.js +1 -1
- package/node_modules/@rokt/dcui-layout-schema/v0.15/index.d.ts +1272 -38
- package/node_modules/@rokt/dcui-layout-schema/v0.15/index.js +1 -1
- package/node_modules/@rokt/dcui-layout-schema/v0.16/index.d.ts +1334 -38
- package/node_modules/@rokt/dcui-layout-schema/v0.16/index.js +1 -1
- package/node_modules/@rokt/dcui-layout-schema/v0.17/index.d.ts +1353 -39
- package/node_modules/@rokt/dcui-layout-schema/v0.17/index.js +1 -1
- package/node_modules/@rokt/dcui-layout-schema/v0.18/index.d.ts +1406 -39
- package/node_modules/@rokt/dcui-layout-schema/v0.18/index.js +1 -1
- package/node_modules/@rokt/dcui-layout-schema/v0.19/index.d.ts +1407 -39
- package/node_modules/@rokt/dcui-layout-schema/v0.19/index.js +1 -1
- package/node_modules/@rokt/dcui-layout-schema/v0.2/index.d.ts +1013 -33
- package/node_modules/@rokt/dcui-layout-schema/v0.2/index.js +1 -1
- package/node_modules/@rokt/dcui-layout-schema/v0.20/index.d.ts +1439 -39
- package/node_modules/@rokt/dcui-layout-schema/v0.20/index.js +1 -1
- package/node_modules/@rokt/dcui-layout-schema/v0.21/index.d.ts +1482 -39
- package/node_modules/@rokt/dcui-layout-schema/v0.21/index.js +1 -1
- package/node_modules/@rokt/dcui-layout-schema/v0.22/index.d.ts +1512 -39
- package/node_modules/@rokt/dcui-layout-schema/v0.22/index.js +1 -1
- package/node_modules/@rokt/dcui-layout-schema/v0.23/index.d.ts +1522 -40
- package/node_modules/@rokt/dcui-layout-schema/v0.23/index.js +1 -1
- package/node_modules/@rokt/dcui-layout-schema/v0.3/index.d.ts +1013 -33
- package/node_modules/@rokt/dcui-layout-schema/v0.3/index.js +1 -1
- package/node_modules/@rokt/dcui-layout-schema/v0.4/index.d.ts +1041 -33
- package/node_modules/@rokt/dcui-layout-schema/v0.4/index.js +1 -1
- package/node_modules/@rokt/dcui-layout-schema/v0.5/index.d.ts +1065 -33
- package/node_modules/@rokt/dcui-layout-schema/v0.5/index.js +1 -1
- package/node_modules/@rokt/dcui-layout-schema/v0.6/index.d.ts +1065 -33
- package/node_modules/@rokt/dcui-layout-schema/v0.6/index.js +1 -1
- package/node_modules/@rokt/dcui-layout-schema/v0.7/index.d.ts +1066 -33
- package/node_modules/@rokt/dcui-layout-schema/v0.7/index.js +1 -1
- package/node_modules/@rokt/dcui-layout-schema/v0.8/index.d.ts +1069 -33
- package/node_modules/@rokt/dcui-layout-schema/v0.8/index.js +1 -1
- package/node_modules/@rokt/dcui-layout-schema/v0.9/index.d.ts +1070 -33
- package/node_modules/@rokt/dcui-layout-schema/v0.9/index.js +1 -1
- package/node_modules/@rokt/dcui-layout-schema/v1.0/index.d.ts +1827 -59
- package/node_modules/@rokt/dcui-layout-schema/v1.0/index.js +1 -1
- package/node_modules/@rokt/dcui-layout-schema/v1.1/index.d.ts +1851 -59
- package/node_modules/@rokt/dcui-layout-schema/v1.1/index.js +1 -1
- package/node_modules/@rokt/dcui-layout-schema/v1.10/index.d.ts +5322 -0
- package/node_modules/@rokt/dcui-layout-schema/v1.10/index.js +4 -0
- package/node_modules/@rokt/dcui-layout-schema/v1.11/index.d.ts +5486 -0
- package/node_modules/@rokt/dcui-layout-schema/v1.11/index.js +4 -0
- package/node_modules/@rokt/dcui-layout-schema/v1.12/index.d.ts +5496 -0
- package/node_modules/@rokt/dcui-layout-schema/v1.12/index.js +4 -0
- package/node_modules/@rokt/dcui-layout-schema/v1.13/index.d.ts +5498 -0
- package/node_modules/@rokt/dcui-layout-schema/v1.13/index.js +4 -0
- package/node_modules/@rokt/dcui-layout-schema/v1.14/index.d.ts +5828 -0
- package/node_modules/@rokt/dcui-layout-schema/v1.14/index.js +4 -0
- package/node_modules/@rokt/dcui-layout-schema/v1.15/index.d.ts +6085 -0
- package/node_modules/@rokt/dcui-layout-schema/v1.15/index.js +4 -0
- package/node_modules/@rokt/dcui-layout-schema/v1.16/index.d.ts +6324 -0
- package/node_modules/@rokt/dcui-layout-schema/v1.16/index.js +4 -0
- package/node_modules/@rokt/dcui-layout-schema/v1.17/index.d.ts +6439 -0
- package/node_modules/@rokt/dcui-layout-schema/v1.17/index.js +4 -0
- package/node_modules/@rokt/dcui-layout-schema/v1.18/index.d.ts +6439 -0
- package/node_modules/@rokt/dcui-layout-schema/v1.18/index.js +4 -0
- package/node_modules/@rokt/dcui-layout-schema/v1.19/index.d.ts +6439 -0
- package/node_modules/@rokt/dcui-layout-schema/v1.19/index.js +4 -0
- package/node_modules/@rokt/dcui-layout-schema/v1.2/index.d.ts +1861 -59
- package/node_modules/@rokt/dcui-layout-schema/v1.2/index.js +1 -1
- package/node_modules/@rokt/dcui-layout-schema/v1.20/index.d.ts +6558 -0
- package/node_modules/@rokt/dcui-layout-schema/v1.20/index.js +4 -0
- package/node_modules/@rokt/dcui-layout-schema/v1.3/index.d.ts +1948 -59
- package/node_modules/@rokt/dcui-layout-schema/v1.3/index.js +1 -1
- package/node_modules/@rokt/dcui-layout-schema/v1.4/index.d.ts +2115 -60
- package/node_modules/@rokt/dcui-layout-schema/v1.4/index.js +1 -1
- package/node_modules/@rokt/dcui-layout-schema/v1.5/index.d.ts +2137 -60
- package/node_modules/@rokt/dcui-layout-schema/v1.5/index.js +1 -1
- package/node_modules/@rokt/dcui-layout-schema/v1.6/index.d.ts +2308 -60
- package/node_modules/@rokt/dcui-layout-schema/v1.6/index.js +1 -1
- package/node_modules/@rokt/dcui-layout-schema/v1.7/index.d.ts +2578 -68
- package/node_modules/@rokt/dcui-layout-schema/v1.7/index.js +1 -1
- package/node_modules/@rokt/dcui-layout-schema/v1.8/index.d.ts +2680 -68
- package/node_modules/@rokt/dcui-layout-schema/v1.8/index.js +1 -1
- package/node_modules/@rokt/dcui-layout-schema/v1.9/index.d.ts +5222 -0
- package/node_modules/@rokt/dcui-layout-schema/v1.9/index.js +4 -0
- package/node_modules/@rokt/partner-integration/README.md +85 -0
- package/node_modules/@rokt/partner-integration/dist/cart/index.barrel.d.ts +2 -0
- package/node_modules/@rokt/partner-integration/dist/cart/index.d.ts +3 -0
- package/node_modules/@rokt/partner-integration/dist/cart/v1/delete-alert-partner-message-body.d.ts +7 -0
- package/node_modules/@rokt/partner-integration/dist/cart/v1/events.d.ts +23 -0
- package/node_modules/@rokt/partner-integration/dist/cart/v1/index.d.ts +5 -0
- package/node_modules/@rokt/partner-integration/dist/cart/v1/update-cart-item.d.ts +48 -0
- package/node_modules/@rokt/partner-integration/dist/cart/v1/upsert-alert-partner-message-body.d.ts +15 -0
- package/node_modules/@rokt/partner-integration/dist/cart/v1/upsert-delivery-details-message-body.d.ts +12 -0
- package/node_modules/@rokt/partner-integration/dist/cart/v2/cart-item-updated-placement-message-body.d.ts +48 -0
- package/node_modules/@rokt/partner-integration/dist/cart/v2/index.d.ts +4 -0
- package/node_modules/@rokt/partner-integration/dist/cart/v2/partner-message.d.ts +8 -0
- package/node_modules/@rokt/partner-integration/dist/cart/v2/placement-message.d.ts +10 -0
- package/node_modules/@rokt/partner-integration/dist/cart/v2/update-cart-item-partner-message-body.d.ts +4 -0
- package/node_modules/@rokt/partner-integration/dist/core/events.d.ts +45 -0
- package/node_modules/@rokt/partner-integration/dist/core/index.d.ts +1 -0
- package/node_modules/@rokt/partner-integration/dist/delivery-details/delivery-details.d.ts +20 -0
- package/node_modules/@rokt/partner-integration/dist/delivery-details/index.barrel.d.ts +2 -0
- package/node_modules/@rokt/partner-integration/dist/delivery-details/index.d.ts +2 -0
- package/node_modules/@rokt/partner-integration/dist/delivery-details/placement-message.d.ts +10 -0
- package/node_modules/@rokt/partner-integration/dist/extensions/extension-mapping.d.ts +9 -0
- package/node_modules/@rokt/partner-integration/dist/extensions/extension.d.ts +6 -0
- package/node_modules/@rokt/partner-integration/dist/extensions/index.barrel.d.ts +2 -0
- package/node_modules/@rokt/partner-integration/dist/extensions/index.d.ts +2 -0
- package/node_modules/@rokt/partner-integration/dist/index.d.ts +11 -0
- package/node_modules/@rokt/partner-integration/dist/index.js +1 -0
- package/node_modules/@rokt/partner-integration/dist/instant-purchase/cart-item-instant-purchase-message-body.d.ts +6 -0
- package/node_modules/@rokt/partner-integration/dist/instant-purchase/cart-item-instant-purchase-response-message-body.d.ts +11 -0
- package/node_modules/@rokt/partner-integration/dist/instant-purchase/index.barrel.d.ts +5 -0
- package/node_modules/@rokt/partner-integration/dist/instant-purchase/index.d.ts +2 -0
- package/node_modules/@rokt/partner-integration/dist/instant-purchase/partner-message.d.ts +8 -0
- package/node_modules/@rokt/partner-integration/dist/instant-purchase/placement-message.d.ts +9 -0
- package/node_modules/@rokt/partner-integration/dist/instant-purchase/v2/index.barrel.d.ts +5 -0
- package/node_modules/@rokt/partner-integration/dist/instant-purchase/v2/index.d.ts +1 -0
- package/node_modules/@rokt/partner-integration/dist/instant-purchase/v2/partner-message.d.ts +8 -0
- package/node_modules/@rokt/partner-integration/dist/instant-purchase/v2/placement-message.d.ts +9 -0
- package/node_modules/@rokt/partner-integration/dist/instant-purchase/v2/upsell-item-instant-purchase-message-body.d.ts +8 -0
- package/node_modules/@rokt/partner-integration/dist/instant-purchase/v2/upsell-item-instant-purchase-response-message-body.d.ts +11 -0
- package/node_modules/@rokt/partner-integration/dist/instant-purchase/v2/upsell-item.d.ts +26 -0
- package/node_modules/@rokt/partner-integration/dist/journey/index.barrel.d.ts +1 -0
- package/node_modules/@rokt/partner-integration/dist/journey/index.d.ts +2 -0
- package/node_modules/@rokt/partner-integration/dist/journey/journey-extension.d.ts +39 -0
- package/node_modules/@rokt/partner-integration/dist/link-navigation/index.d.ts +2 -0
- package/node_modules/@rokt/partner-integration/dist/link-navigation/link-navigation-message.d.ts +9 -0
- package/node_modules/@rokt/partner-integration/dist/link-navigation/link-navigation-request-body.d.ts +3 -0
- package/node_modules/@rokt/partner-integration/dist/partner-validation/events.d.ts +17 -0
- package/node_modules/@rokt/partner-integration/dist/partner-validation/index.barrel.d.ts +4 -0
- package/node_modules/@rokt/partner-integration/dist/partner-validation/index.d.ts +2 -0
- package/node_modules/@rokt/partner-integration/dist/partner-validation/partner-validation-extension.d.ts +7 -0
- package/node_modules/@rokt/partner-integration/dist/partner-validation/partner-validation-status.d.ts +10 -0
- package/node_modules/@rokt/partner-integration/dist/partner-validation/set-partner-validation-status.d.ts +12 -0
- package/node_modules/@rokt/partner-integration/dist/promotions-extension/index.d.ts +2 -0
- package/node_modules/@rokt/partner-integration/dist/promotions-extension/realtime-conversion-promotion-events.d.ts +6 -0
- package/node_modules/@rokt/partner-integration/dist/promotions-extension/realtime-conversion-promotion-payload.d.ts +1 -0
- package/node_modules/@rokt/partner-integration/dist/thank-you-page/index.barrel.d.ts +1 -0
- package/node_modules/@rokt/partner-integration/dist/thank-you-page/index.d.ts +2 -0
- package/node_modules/@rokt/partner-integration/dist/thank-you-page/thank-you-page-extension.d.ts +22 -0
- package/node_modules/@rokt/partner-integration/dist/upsells-offers/index.barrel.d.ts +5 -0
- package/node_modules/@rokt/partner-integration/dist/upsells-offers/index.d.ts +2 -0
- package/node_modules/@rokt/partner-integration/dist/upsells-offers/partner-message.d.ts +9 -0
- package/node_modules/@rokt/partner-integration/dist/upsells-offers/placement-message.d.ts +21 -0
- package/node_modules/@rokt/partner-integration/dist/upsells-offers/upsell-creative-sent-message-body.d.ts +14 -0
- package/node_modules/@rokt/partner-integration/dist/upsells-offers/upsells-offer.d.ts +35 -0
- package/node_modules/@rokt/partner-integration/dist/upsells-offers/upsells-offers-sent-body.d.ts +11 -0
- package/node_modules/@rokt/partner-integration/dist/user-action/index.barrel.d.ts +2 -0
- package/node_modules/@rokt/partner-integration/dist/user-action/index.d.ts +2 -0
- package/node_modules/@rokt/partner-integration/dist/user-action/user-action-event.d.ts +11 -0
- package/node_modules/@rokt/partner-integration/dist/user-action/user-action-extension.d.ts +4 -0
- package/node_modules/@rokt/partner-integration/package.json +34 -0
- package/node_modules/@rokt/plugin/bootstrap/bootstrap.d.ts +1 -2
- package/node_modules/@rokt/plugin/bootstrap/bootstrap.js +5 -30
- package/node_modules/@rokt/plugin/interface/context.d.ts +1 -0
- package/node_modules/@rokt/plugin/interface/display.d.ts +1 -0
- package/node_modules/@rokt/plugin/lib/index.barrel.d.ts +1 -14
- package/node_modules/@rokt/plugin/lib/index.barrel.js +1 -14
- package/node_modules/@rokt/plugin/lib/is-preload-frame.d.ts +1 -1
- package/node_modules/@rokt/plugin/lib/is-preload-frame.js +3 -1
- package/node_modules/@rokt/plugin/lib/plugin-instance.d.ts +13 -27
- package/node_modules/@rokt/plugin/lib/plugin-instance.js +1 -99
- package/node_modules/@rokt/plugin/package.json +15 -16
- package/node_modules/@rokt/plugin/standalone/standalone.d.ts +14 -2
- package/node_modules/@rokt/plugin/standalone/standalone.js +1 -0
- package/node_modules/@rokt/plugin/testing/mock-child-plugin-factory.d.ts +1 -1
- package/node_modules/@rokt/plugin/testing/mock-child-plugin-factory.js +2 -1
- package/node_modules/@rokt/plugin/testing/mock-child-plugin.d.ts +5 -5
- package/node_modules/@rokt/plugin/testing/mock-child-plugin.js +6 -5
- package/node_modules/@rokt/plugin/testing/mock-context.d.ts +18 -17
- package/node_modules/@rokt/plugin/testing/mock-context.js +19 -17
- package/node_modules/@rokt/plugin/testing/mock-display.d.ts +1 -1
- package/node_modules/@rokt/plugin/testing/mock-display.js +2 -1
- package/node_modules/@rokt/plugin/testing/mock-engine.d.ts +1 -2
- package/node_modules/@rokt/plugin/testing/mock-error.d.ts +1 -1
- package/node_modules/@rokt/plugin/testing/mock-error.js +2 -1
- package/node_modules/@rokt/plugin/testing/mock-function.d.ts +1 -0
- package/node_modules/@rokt/plugin/testing/mock-function.js +31 -0
- package/node_modules/@rokt/plugin/testing/mock-metrics.d.ts +4 -4
- package/node_modules/@rokt/plugin/testing/mock-metrics.js +5 -4
- package/node_modules/@rokt/plugin/testing/mock-parent-interaction.d.ts +2 -2
- package/node_modules/@rokt/plugin/testing/mock-parent-interaction.js +3 -2
- package/node_modules/@rokt/plugin/testing/mock-partner-interaction.d.ts +2 -2
- package/node_modules/@rokt/plugin/testing/mock-partner-interaction.js +3 -2
- package/node_modules/@rokt/plugin/testing/mock-rdn.d.ts +3 -3
- package/node_modules/@rokt/plugin/testing/mock-rdn.js +4 -3
- package/node_modules/@rokt/plugin/types/library-loaded.d.ts +0 -2
- package/node_modules/@rokt/plugin/types/library-loaded.js +0 -2
- package/package.json +8 -7
- package/dist/modules/instant-purchase/src/components/catalog-variation-selection-button/catalog-variation-selection-button.d.ts +0 -28
- package/node_modules/@rokt/plugin/lib/bootstrap-v1.d.ts +0 -3
- package/node_modules/@rokt/plugin/lib/bootstrap-v1.js +0 -9
- package/node_modules/@rokt/plugin/lib/child-plugin-factory.d.ts +0 -14
- package/node_modules/@rokt/plugin/lib/child-plugin-factory.js +0 -12
- package/node_modules/@rokt/plugin/lib/child-plugin.d.ts +0 -26
- package/node_modules/@rokt/plugin/lib/child-plugin.js +0 -81
- package/node_modules/@rokt/plugin/lib/context.d.ts +0 -23
- package/node_modules/@rokt/plugin/lib/context.js +0 -95
- package/node_modules/@rokt/plugin/lib/debug.d.ts +0 -19
- package/node_modules/@rokt/plugin/lib/debug.js +0 -36
- package/node_modules/@rokt/plugin/lib/display.d.ts +0 -13
- package/node_modules/@rokt/plugin/lib/display.js +0 -81
- package/node_modules/@rokt/plugin/lib/error.d.ts +0 -9
- package/node_modules/@rokt/plugin/lib/error.js +0 -35
- package/node_modules/@rokt/plugin/lib/is-inside-plugin-container.d.ts +0 -8
- package/node_modules/@rokt/plugin/lib/is-inside-plugin-container.js +0 -6
- package/node_modules/@rokt/plugin/lib/metrics.d.ts +0 -13
- package/node_modules/@rokt/plugin/lib/metrics.js +0 -55
- package/node_modules/@rokt/plugin/lib/parent-interaction.d.ts +0 -13
- package/node_modules/@rokt/plugin/lib/parent-interaction.js +0 -46
- package/node_modules/@rokt/plugin/lib/partner-interaction.d.ts +0 -11
- package/node_modules/@rokt/plugin/lib/partner-interaction.js +0 -35
- package/node_modules/@rokt/plugin/lib/plugin-runtime-connection.d.ts +0 -6
- package/node_modules/@rokt/plugin/lib/plugin-runtime-connection.js +0 -35
- package/node_modules/@rokt/plugin/lib/private-context.d.ts +0 -39
- package/node_modules/@rokt/plugin/lib/private-context.js +0 -76
- package/node_modules/@rokt/plugin/lib/rdn.d.ts +0 -15
- package/node_modules/@rokt/plugin/lib/rdn.js +0 -58
- package/node_modules/@rokt/plugin/lib/sender-receiver.d.ts +0 -5
- package/node_modules/@rokt/plugin/lib/sender-receiver.js +0 -1
- package/node_modules/@rokt/plugin/lib/theme.d.ts +0 -8
- package/node_modules/@rokt/plugin/lib/theme.js +0 -8
- package/node_modules/@rokt/plugin/lib/to-observable.d.ts +0 -4
- package/node_modules/@rokt/plugin/lib/to-observable.js +0 -12
- package/node_modules/@rokt/plugin/lib/unsafe.d.ts +0 -3
- package/node_modules/@rokt/plugin/lib/unsafe.js +0 -2
- package/node_modules/@rokt/plugin/lib/with-error-reporting.d.ts +0 -2
- package/node_modules/@rokt/plugin/lib/with-error-reporting.js +0 -22
- /package/dist/libraries/{layout-renderer-utils → dcui-components}/src/components/close-button/close-button.d.ts +0 -0
- /package/dist/libraries/{layout-renderer-utils → dcui-components}/src/components/close-button/index.d.ts +0 -0
- /package/dist/{modules/add-to-cart/src/selectors/globalOfferDataState → libraries/layout-renderer-utils/src/selectors/fired-events}/index.d.ts +0 -0
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { LayoutSchemaModel, LayoutDisplayPreset, LayoutSettings, ChildRootSchemaModel, WhenPredicate } from '@rokt/dcui-layout-schema';
|
|
2
|
+
import { Fonts } from '@rokt/plugin';
|
|
2
3
|
import { PluginOffer } from './plugin-offer';
|
|
3
4
|
export interface PluginChildLayoutModel<ChildRootLayoutSchema = ChildRootSchemaModel<LayoutSchemaModel, LayoutDisplayPreset, LayoutSettings, WhenPredicate>> {
|
|
4
5
|
instanceGuid: string;
|
|
@@ -9,6 +10,7 @@ export interface PluginChildLayoutModel<ChildRootLayoutSchema = ChildRootSchemaM
|
|
|
9
10
|
content?: {
|
|
10
11
|
text?: Record<string, string>;
|
|
11
12
|
};
|
|
13
|
+
fonts?: Fonts;
|
|
12
14
|
}
|
|
13
15
|
export declare function makeChildLayoutRootSchemaModel(data?: Partial<ChildRootSchemaModel<LayoutSchemaModel, LayoutDisplayPreset, LayoutSettings, WhenPredicate>>): ChildRootSchemaModel<LayoutSchemaModel, LayoutDisplayPreset, LayoutSettings, WhenPredicate>;
|
|
14
16
|
export declare function makePluginChildLayoutModel(data?: Partial<PluginChildLayoutModel>): PluginChildLayoutModel;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { LayoutSchemaModel, RootSchemaModel, LayoutDisplayPreset, LayoutSettings } from '@rokt/dcui-layout-schema';
|
|
1
|
+
import { LayoutSchemaModel, RootSchemaModel, LayoutDisplayPreset, LayoutSettings, LayoutAction, LayoutTimer, WhenPredicate } from '@rokt/dcui-layout-schema';
|
|
2
2
|
import { PluginSlot } from './plugin-slot';
|
|
3
3
|
export interface PluginModel<LayoutSchema, RootLayoutSchema> {
|
|
4
4
|
slots: Array<PluginSlot<LayoutSchema>>;
|
|
@@ -6,5 +6,5 @@ export interface PluginModel<LayoutSchema, RootLayoutSchema> {
|
|
|
6
6
|
layoutSchemaVersion: string;
|
|
7
7
|
outerLayoutSchema: RootLayoutSchema;
|
|
8
8
|
}
|
|
9
|
-
export declare function makeRootSchemaModel(data?: Partial<RootSchemaModel<LayoutSchemaModel, LayoutDisplayPreset, LayoutSettings
|
|
10
|
-
export declare function makePluginModel(data?: Partial<PluginModel<LayoutSchemaModel, RootSchemaModel<LayoutSchemaModel, LayoutDisplayPreset, LayoutSettings
|
|
9
|
+
export declare function makeRootSchemaModel(data?: Partial<RootSchemaModel<LayoutSchemaModel, LayoutDisplayPreset, LayoutSettings, LayoutTimer<WhenPredicate, LayoutAction>>>): RootSchemaModel<LayoutSchemaModel, LayoutDisplayPreset, LayoutSettings, LayoutTimer<WhenPredicate, LayoutAction>>;
|
|
10
|
+
export declare function makePluginModel(data?: Partial<PluginModel<LayoutSchemaModel, RootSchemaModel<LayoutSchemaModel, LayoutDisplayPreset, LayoutSettings, LayoutTimer<WhenPredicate, LayoutAction>>>>): PluginModel<LayoutSchemaModel, RootSchemaModel<LayoutSchemaModel, LayoutDisplayPreset, LayoutSettings, LayoutTimer<WhenPredicate, LayoutAction>>>;
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import { PluginCreative } from './plugin-creative';
|
|
2
2
|
import { PluginCatalogItem } from './plugin-catalog-item';
|
|
3
|
+
import { CatalogItemGroup } from './plugin-catalog-item-group';
|
|
4
|
+
import { TransactionData } from './plugin-transaction-data';
|
|
3
5
|
export interface PluginOffer {
|
|
4
6
|
campaignId: string;
|
|
5
7
|
accountId: string;
|
|
@@ -7,6 +9,8 @@ export interface PluginOffer {
|
|
|
7
9
|
creative: PluginCreative;
|
|
8
10
|
metadata: Record<string, string>;
|
|
9
11
|
catalogItems?: Array<PluginCatalogItem>;
|
|
12
|
+
catalogItemGroup?: CatalogItemGroup;
|
|
13
|
+
transactionData?: TransactionData;
|
|
10
14
|
content?: {
|
|
11
15
|
text?: Record<string, string>;
|
|
12
16
|
};
|
|
@@ -2,5 +2,8 @@ export declare const enum PluginSignalType {
|
|
|
2
2
|
SignalResponse = "SignalResponse",
|
|
3
3
|
SignalGatedResponse = "SignalGatedResponse",
|
|
4
4
|
SignalSecondaryResponse = "SignalSecondaryResponse",
|
|
5
|
-
SignalProductItemResponse = "SignalProductItemResponse"
|
|
5
|
+
SignalProductItemResponse = "SignalProductItemResponse",
|
|
6
|
+
SignalOptInResponse = "SignalOptInResponse",
|
|
7
|
+
SignalOptOutResponse = "SignalOptOutResponse"
|
|
6
8
|
}
|
|
9
|
+
export declare function getValidSignalResponseType(signalType: PluginSignalType): PluginSignalType.SignalGatedResponse | PluginSignalType.SignalOptInResponse | PluginSignalType.SignalOptOutResponse | PluginSignalType.SignalResponse;
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
export declare enum PaymentMethodType {
|
|
2
|
+
Unspecified = 0,
|
|
3
|
+
Other = 1,
|
|
4
|
+
Card = 2,
|
|
5
|
+
PayPal = 3,
|
|
6
|
+
ApplePay = 4,
|
|
7
|
+
GooglePay = 5,
|
|
8
|
+
Afterpay = 6
|
|
9
|
+
}
|
|
10
|
+
export interface PaymentMethodInfo {
|
|
11
|
+
type: PaymentMethodType;
|
|
12
|
+
}
|
|
13
|
+
export interface Address {
|
|
14
|
+
address1: string;
|
|
15
|
+
address2?: string;
|
|
16
|
+
city: string;
|
|
17
|
+
state: string;
|
|
18
|
+
country: string;
|
|
19
|
+
zip?: string;
|
|
20
|
+
name?: string;
|
|
21
|
+
}
|
|
22
|
+
export interface TransactionData {
|
|
23
|
+
shippingAddress?: Address;
|
|
24
|
+
billingAddress?: Address;
|
|
25
|
+
paymentType?: string;
|
|
26
|
+
supportedPaymentMethods?: PaymentMethodInfo[];
|
|
27
|
+
isPartnerManagedPurchase: boolean;
|
|
28
|
+
partnerPaymentReference?: string;
|
|
29
|
+
confirmationRef?: string;
|
|
30
|
+
metadata?: Record<string, string>;
|
|
31
|
+
}
|
|
@@ -1,3 +1,30 @@
|
|
|
1
|
+
import { PaymentProvider } from '@rokt/dcui-layout-schema';
|
|
2
|
+
import { LayoutPaymentMethodType } from './layout/layout-transaction-data';
|
|
3
|
+
/**
|
|
4
|
+
* Models for the payload structure for sending an EXTERNAL
|
|
5
|
+
* upsell item instant purchase event.
|
|
6
|
+
* This is used for *partner-managed* purchase events.
|
|
7
|
+
*/
|
|
8
|
+
export interface PartnerUpsellItem {
|
|
9
|
+
sku: string;
|
|
10
|
+
quantity: number;
|
|
11
|
+
unitPrice: number;
|
|
12
|
+
totalPrice: number;
|
|
13
|
+
currency: string;
|
|
14
|
+
partnerData?: Record<string, unknown>;
|
|
15
|
+
}
|
|
16
|
+
export interface PartnerUpsellItemInstantPurchasePayload {
|
|
17
|
+
upsellItems: PartnerUpsellItem[];
|
|
18
|
+
totalPrice: number;
|
|
19
|
+
currency: string;
|
|
20
|
+
orderConfirmationId: string;
|
|
21
|
+
partnerData?: Record<string, unknown>;
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
* Models for the payload structure for sending an INTERNAL
|
|
25
|
+
* upsell item instant purchase event.
|
|
26
|
+
* This is used for *Rokt-managed* purchase events.
|
|
27
|
+
*/
|
|
1
28
|
export interface UpsellItem {
|
|
2
29
|
cartItemId: string;
|
|
3
30
|
catalogItemId: string;
|
|
@@ -5,6 +32,7 @@ export interface UpsellItem {
|
|
|
5
32
|
unitPrice: number;
|
|
6
33
|
totalPrice: number;
|
|
7
34
|
currency: string;
|
|
35
|
+
title?: string;
|
|
8
36
|
}
|
|
9
37
|
export interface InstantPurchaseWsdkPayload {
|
|
10
38
|
totalUpsellPrice: number;
|
|
@@ -33,3 +61,29 @@ export interface ShippingAttributes {
|
|
|
33
61
|
countryCode: string;
|
|
34
62
|
postalCode: string;
|
|
35
63
|
}
|
|
64
|
+
export interface PrepareDevicePayEventPayload {
|
|
65
|
+
stripeAccountId?: string;
|
|
66
|
+
merchantName?: string;
|
|
67
|
+
countryCode?: string;
|
|
68
|
+
currency?: string;
|
|
69
|
+
}
|
|
70
|
+
export interface InitiateDevicePayEventPayload {
|
|
71
|
+
totalUpsellPrice: number;
|
|
72
|
+
currency: string;
|
|
73
|
+
upsellItems: UpsellItem[];
|
|
74
|
+
paymentDetails: {
|
|
75
|
+
paymentProvider: PaymentProvider;
|
|
76
|
+
paymentMethod?: LayoutPaymentMethodType;
|
|
77
|
+
};
|
|
78
|
+
fulfillmentDetails?: {
|
|
79
|
+
shippingAttributes?: Partial<ShippingAttributes>;
|
|
80
|
+
};
|
|
81
|
+
}
|
|
82
|
+
export interface InstantPurchaseInitiateTaxAndShippingEventPayload {
|
|
83
|
+
totalUpsellPrice: number;
|
|
84
|
+
currency: string;
|
|
85
|
+
upsellItems: UpsellItem[];
|
|
86
|
+
fulfillmentDetails: {
|
|
87
|
+
shippingAttributes: Partial<ShippingAttributes>;
|
|
88
|
+
};
|
|
89
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
export interface CartItemPayload {
|
|
2
|
+
cartItemId: string;
|
|
3
|
+
lineItems: Array<LineItem>;
|
|
4
|
+
shipping: Shipping | undefined;
|
|
5
|
+
}
|
|
6
|
+
export interface LineItem {
|
|
7
|
+
cartItemId: string;
|
|
8
|
+
quantity: number;
|
|
9
|
+
}
|
|
10
|
+
export interface Shipping {
|
|
11
|
+
firstName: string;
|
|
12
|
+
lastName: string;
|
|
13
|
+
address1: string;
|
|
14
|
+
address2?: string;
|
|
15
|
+
city: string;
|
|
16
|
+
state: string;
|
|
17
|
+
postalCode: string;
|
|
18
|
+
phoneNumber: string;
|
|
19
|
+
}
|
|
20
|
+
export interface ItemDetail {
|
|
21
|
+
cartItemId: string;
|
|
22
|
+
currency: string;
|
|
23
|
+
totalPrice: number;
|
|
24
|
+
providerData: string;
|
|
25
|
+
}
|
|
@@ -2,15 +2,15 @@ import { PluginCreativeResponseActionType } from './plugin';
|
|
|
2
2
|
export type Signals = (CoreSignals | CartSignals) & {
|
|
3
3
|
creativeInstanceGuid?: string;
|
|
4
4
|
};
|
|
5
|
-
export type CoreSignals = LoadStart | LoadComplete | Activation | Impression | Viewed | Response | Dismissal | UserInteraction | InstantPurchaseDismissal | ProductItemResponse;
|
|
5
|
+
export type CoreSignals = LoadStart | LoadComplete | Activation | Impression | Viewed | RenderGeometry | Response | Dismissal | UserInteraction | InstantPurchaseDismissal | ProductItemResponse;
|
|
6
6
|
export type ResponseActionPayload = CaptureOnlyAction | UrlAction | ExternalAction | FulfillmentAction;
|
|
7
7
|
export type CartSignals = CartItemInstantPurchaseInitiated | CartItemInstantPurchase | CartItemInstantPurchaseFailure | CartItemQuantitySelected;
|
|
8
|
-
export type UniqueSignal = LoadStart | LoadComplete | Activation | Impression | Viewed |
|
|
8
|
+
export type UniqueSignal = LoadStart | LoadComplete | Activation | Impression | Viewed | RenderGeometry | Response | Dismissal | InstantPurchaseDismissal | CartItemInstantPurchaseInitiated | CartItemInstantPurchase | CartItemInstantPurchaseFailure;
|
|
9
9
|
export declare enum InitiatedBy {
|
|
10
10
|
DCUI = "DCUI",
|
|
11
11
|
Partner = "partner"
|
|
12
12
|
}
|
|
13
|
-
export type RepeatableSignal = CartItemQuantitySelected | ProductItemResponse;
|
|
13
|
+
export type RepeatableSignal = CartItemQuantitySelected | ProductItemResponse | UserInteraction;
|
|
14
14
|
export interface LoadComplete {
|
|
15
15
|
name: 'SignalLoadComplete';
|
|
16
16
|
parentGuid: string;
|
|
@@ -29,6 +29,14 @@ export interface Viewed {
|
|
|
29
29
|
supportedByBrowser: boolean;
|
|
30
30
|
inferred: boolean;
|
|
31
31
|
}
|
|
32
|
+
export interface RenderGeometry {
|
|
33
|
+
name: 'SignalRenderGeometry';
|
|
34
|
+
parentGuid: string;
|
|
35
|
+
objectData: {
|
|
36
|
+
widthPx: number;
|
|
37
|
+
heightPx: number;
|
|
38
|
+
};
|
|
39
|
+
}
|
|
32
40
|
export interface Dismissal {
|
|
33
41
|
name: 'SignalDismissal';
|
|
34
42
|
parentGuid: string;
|
|
@@ -40,7 +48,7 @@ export interface LoadStart {
|
|
|
40
48
|
overrideTimestamp: Date;
|
|
41
49
|
}
|
|
42
50
|
export interface Response {
|
|
43
|
-
name: 'SignalResponse' | 'SignalGatedResponse';
|
|
51
|
+
name: 'SignalResponse' | 'SignalGatedResponse' | 'SignalOptInResponse' | 'SignalOptOutResponse';
|
|
44
52
|
parentGuid: string;
|
|
45
53
|
responseActionPayload: ResponseActionPayload;
|
|
46
54
|
}
|
|
@@ -88,6 +96,12 @@ export interface UserInteraction {
|
|
|
88
96
|
parentGuid?: string;
|
|
89
97
|
action: string;
|
|
90
98
|
context: string;
|
|
99
|
+
objectData?: {
|
|
100
|
+
startTimestamp?: string;
|
|
101
|
+
endTimestamp?: string;
|
|
102
|
+
cardIndex?: string;
|
|
103
|
+
lastCardIndex?: string;
|
|
104
|
+
};
|
|
91
105
|
}
|
|
92
106
|
export interface ProductItemResponse {
|
|
93
107
|
name: 'SignalProductItemResponse';
|
|
@@ -117,4 +131,4 @@ export interface ExternalAction {
|
|
|
117
131
|
externalKey: string;
|
|
118
132
|
creativeInstanceGuid?: string;
|
|
119
133
|
}
|
|
120
|
-
export declare const REPEATABLE_SIGNALS: ReadonlyArray<RepeatableSignal['name']>;
|
|
134
|
+
export declare const REPEATABLE_SIGNALS: ReadonlyArray<RepeatableSignal['name'] | 'SignalOptInResponse' | 'SignalOptOutResponse'>;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { OuterLayoutDomainStateKey } from '@rokt/dcui-layout-schema';
|
|
2
|
+
/**
|
|
3
|
+
* Reducer-level action type dispatched directly to the orchestrator's
|
|
4
|
+
* domain-states reducer. Distinct from the global 'GLOBAL/SET_DOMAIN_STATE'
|
|
5
|
+
* action in @rokt/domain/behaviors which is routed through global dispatch.
|
|
6
|
+
*/
|
|
7
|
+
export declare const SET_DOMAIN_STATE_REDUCER: "DOMAIN_STATES/SET";
|
|
8
|
+
export interface SetDomainStateReducer {
|
|
9
|
+
type: typeof SET_DOMAIN_STATE_REDUCER;
|
|
10
|
+
payload: {
|
|
11
|
+
key: OuterLayoutDomainStateKey;
|
|
12
|
+
value: number;
|
|
13
|
+
};
|
|
14
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { RegisterFormFieldPayload, UnregisterFormFieldPayload, SetFormFieldValuePayload, SetFormFieldTouchedPayload, ValidateFormFieldsPayload } from '../../../domain/src/behaviors';
|
|
2
|
+
export declare const REGISTER_FORM_FIELD = "FORM_STATES/REGISTER_FIELD";
|
|
3
|
+
export declare const UNREGISTER_FORM_FIELD = "FORM_STATES/UNREGISTER_FIELD";
|
|
4
|
+
export declare const SET_FORM_FIELD_VALUE = "FORM_STATES/SET_FIELD_VALUE";
|
|
5
|
+
export declare const SET_FORM_FIELD_TOUCHED = "FORM_STATES/SET_FIELD_TOUCHED";
|
|
6
|
+
export declare const VALIDATE_FORM_FIELDS = "FORM_STATES/VALIDATE_FIELDS";
|
|
7
|
+
/**
|
|
8
|
+
* Scope fields injected by the GlobalStoreProxy when translating the global
|
|
9
|
+
* form behaviors into store actions. `offerPositionIndex` is undefined for the
|
|
10
|
+
* outer (placement-scoped) layout and set for each format instance.
|
|
11
|
+
*/
|
|
12
|
+
interface OfferScope {
|
|
13
|
+
offerPositionIndex?: number;
|
|
14
|
+
creativeInstanceGuid?: string;
|
|
15
|
+
}
|
|
16
|
+
export interface RegisterFormField {
|
|
17
|
+
type: typeof REGISTER_FORM_FIELD;
|
|
18
|
+
payload: RegisterFormFieldPayload & OfferScope;
|
|
19
|
+
}
|
|
20
|
+
export interface UnregisterFormField {
|
|
21
|
+
type: typeof UNREGISTER_FORM_FIELD;
|
|
22
|
+
payload: UnregisterFormFieldPayload & OfferScope;
|
|
23
|
+
}
|
|
24
|
+
export interface SetFormFieldValue {
|
|
25
|
+
type: typeof SET_FORM_FIELD_VALUE;
|
|
26
|
+
payload: SetFormFieldValuePayload & OfferScope;
|
|
27
|
+
}
|
|
28
|
+
export interface SetFormFieldTouched {
|
|
29
|
+
type: typeof SET_FORM_FIELD_TOUCHED;
|
|
30
|
+
payload: SetFormFieldTouchedPayload & OfferScope;
|
|
31
|
+
}
|
|
32
|
+
export interface ValidateFormFields {
|
|
33
|
+
type: typeof VALIDATE_FORM_FIELDS;
|
|
34
|
+
payload: ValidateFormFieldsPayload & OfferScope;
|
|
35
|
+
}
|
|
36
|
+
export type FormStatesActions = RegisterFormField | UnregisterFormField | SetFormFieldValue | SetFormFieldTouched | ValidateFormFields;
|
|
37
|
+
export {};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { OpenLink, PrepareSignal, RaiseMetric, RaiseSignal, SendPartner } from '../../../domain/src/behaviors';
|
|
1
|
+
import { OpenLink, PrepareSignal, RaiseMetric, RaiseSignal, SendPartner, SetDomainState } from '../../../domain/src/behaviors';
|
|
2
2
|
import { ActiveStateActions } from './active';
|
|
3
3
|
import { BreakpointActions, SetBreakpoints } from './breakpoint';
|
|
4
4
|
import { FontsActions } from './fonts';
|
|
@@ -11,7 +11,10 @@ import { DismissOverlay } from './overlay';
|
|
|
11
11
|
import { ReportError } from './error';
|
|
12
12
|
import { Log } from './log';
|
|
13
13
|
import { OfferOutboundPartnerEvent } from '../../../domain/src/models';
|
|
14
|
+
import { LayoutEventAction } from '../../../domain/src/behaviors';
|
|
14
15
|
import { CustomStatesActions } from './custom-states';
|
|
16
|
+
import { SetDomainStateReducer } from './domain-states';
|
|
17
|
+
import { FormStatesActions } from './form-states';
|
|
15
18
|
export * from './active';
|
|
16
19
|
export * from './breakpoint';
|
|
17
20
|
export * from './fonts';
|
|
@@ -23,7 +26,9 @@ export * from './log';
|
|
|
23
26
|
export * from './overlay';
|
|
24
27
|
export * from './plugin';
|
|
25
28
|
export * from './custom-states';
|
|
26
|
-
export
|
|
29
|
+
export * from './domain-states';
|
|
30
|
+
export * from './form-states';
|
|
31
|
+
export type CoreStateActions = LayoutActions | BreakpointActions | ActiveStateActions | FontsActions | SignalStateActions | SerializableCacheActions | SettingsActions | CustomStatesActions | SetDomainStateReducer | LayoutEventAction | FormStatesActions;
|
|
27
32
|
export declare const coreStateActionTypes: {
|
|
28
33
|
readonly LAYOUT_UPDATE: "LAYOUT/UPDATE";
|
|
29
34
|
readonly UPDATE_ACTIVE_BREAKPOINT: "BREAKPOINT/UPDATE_ACTIVE";
|
|
@@ -37,7 +42,14 @@ export declare const coreStateActionTypes: {
|
|
|
37
42
|
readonly UPDATE_CACHED_SERIALIZED_VALUE: "CACHE/UPDATE_SERIALIZED_VALUE";
|
|
38
43
|
readonly CLEAR_SERIALIZED_VALUE_FROM_CACHE: "CACHE/CLEAR_SERIALIZED_VALUE";
|
|
39
44
|
readonly SET_SETTINGS: "SETTINGS/SET";
|
|
45
|
+
readonly SET_BOTTOMSHEET_VISIBLE_HEIGHT: "SETTINGS/SET_BOTTOMSHEET_VISIBLE_HEIGHT";
|
|
40
46
|
readonly SET_CUSTOM_STATE: "CUSTOM_STATES/SET";
|
|
47
|
+
readonly SET_DOMAIN_STATE_REDUCER: "DOMAIN_STATES/SET";
|
|
48
|
+
readonly REGISTER_FORM_FIELD: "FORM_STATES/REGISTER_FIELD";
|
|
49
|
+
readonly UNREGISTER_FORM_FIELD: "FORM_STATES/UNREGISTER_FIELD";
|
|
50
|
+
readonly SET_FORM_FIELD_VALUE: "FORM_STATES/SET_FIELD_VALUE";
|
|
51
|
+
readonly SET_FORM_FIELD_TOUCHED: "FORM_STATES/SET_FIELD_TOUCHED";
|
|
52
|
+
readonly VALIDATE_FORM_FIELDS: "FORM_STATES/VALIDATE_FIELDS";
|
|
41
53
|
};
|
|
42
54
|
export declare const coreSagaActionTypes: {
|
|
43
55
|
readonly HANDLE_CONFIG: "CONFIG/HANDLE";
|
|
@@ -50,4 +62,4 @@ export declare const coreSagaActionTypes: {
|
|
|
50
62
|
readonly LOG: "LOG";
|
|
51
63
|
readonly OPEN_LINK: "GLOBAL/OPEN_LINK";
|
|
52
64
|
};
|
|
53
|
-
export type CoreSagasActions = ReportError | Log | SetBreakpoints | RaiseMetric | RaiseSignal | PrepareSignal | ProcessSignals | ClosePlugin | DismissOverlay | OpenLink | SendPartner<OfferOutboundPartnerEvent
|
|
65
|
+
export type CoreSagasActions = ReportError | Log | SetBreakpoints | RaiseMetric | RaiseSignal | PrepareSignal | ProcessSignals | ClosePlugin | DismissOverlay | OpenLink | SendPartner<OfferOutboundPartnerEvent> | SetDomainState;
|
|
@@ -1,8 +1,15 @@
|
|
|
1
|
-
export
|
|
2
|
-
export
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
1
|
+
export { DISMISS_OVERLAY, OVERLAY_ID } from '../../../domain/src/behaviors';
|
|
2
|
+
export type { DismissOverlay } from '../../../domain/src/behaviors';
|
|
3
|
+
/**
|
|
4
|
+
* Dismissal method value for the "final negative CTA" button. When DISMISS_OVERLAY is
|
|
5
|
+
* dispatched with this dismissalMethod and the layout is MinimizableBottomSheet with
|
|
6
|
+
* minimizeOnComplete true and closeOnComplete not explicitly true (i.e. undefined or false),
|
|
7
|
+
* the overlay minimizes instead of closing.
|
|
8
|
+
* Set CloseButton's dismissalMethod to this value for minimizeOnComplete to apply.
|
|
9
|
+
*/
|
|
10
|
+
export declare const ROKT_MINIMIZE = "rokt_minimize";
|
|
11
|
+
/**
|
|
12
|
+
* Dismissal method value for backdrop dismissals. When DISMISS_OVERLAY is dispatched
|
|
13
|
+
* with this dismissalMethod, the overlay was dismissed via a backdrop tap/click.
|
|
14
|
+
*/
|
|
15
|
+
export declare const ROKT_BACKDROP = "rokt_backdrop";
|
|
@@ -1,7 +1,14 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { SettingsState } from '../models/state/settings';
|
|
2
2
|
export declare const SET_SETTINGS = "SETTINGS/SET";
|
|
3
3
|
export type SetSettingsAction = {
|
|
4
4
|
type: typeof SET_SETTINGS;
|
|
5
|
-
payload:
|
|
5
|
+
payload: Partial<SettingsState>;
|
|
6
6
|
};
|
|
7
|
-
export
|
|
7
|
+
export declare const SET_BOTTOMSHEET_VISIBLE_HEIGHT = "SETTINGS/SET_BOTTOMSHEET_VISIBLE_HEIGHT";
|
|
8
|
+
export type SetBottomsheetVisibleHeightAction = {
|
|
9
|
+
type: typeof SET_BOTTOMSHEET_VISIBLE_HEIGHT;
|
|
10
|
+
payload: {
|
|
11
|
+
height: number;
|
|
12
|
+
};
|
|
13
|
+
};
|
|
14
|
+
export type SettingsActions = SetSettingsAction | SetBottomsheetVisibleHeightAction;
|
|
@@ -1,4 +1,7 @@
|
|
|
1
|
-
export
|
|
1
|
+
export { CloseButton, tryMakeCloseButton } from '../../../dcui-components/src/index';
|
|
2
|
+
export type { CloseButtonProps } from '../../../dcui-components/src/index';
|
|
3
|
+
export * from './minimize-button';
|
|
2
4
|
export * from './overlay';
|
|
5
|
+
export * from './minimizable-bottomsheet';
|
|
3
6
|
export * from './bottom-sheet';
|
|
4
7
|
export * from './fonts-stylesheet';
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import type { getCssWriter } from '../../../../dcui-components/src/index';
|
|
2
|
+
import type { BasicStateStylingBlock, MinimizableBottomSheetStyles } from '@rokt/dcui-layout-schema';
|
|
3
|
+
/** The scoped emotion `css` writer produced by `getCssWriter`. */
|
|
4
|
+
type CssWriter = ReturnType<typeof getCssWriter>;
|
|
5
|
+
type StyleBlock = BasicStateStylingBlock<MinimizableBottomSheetStyles>;
|
|
6
|
+
export type StylesWithOwn = {
|
|
7
|
+
elements?: {
|
|
8
|
+
own?: StyleBlock[];
|
|
9
|
+
wrapper?: unknown[];
|
|
10
|
+
} | null;
|
|
11
|
+
};
|
|
12
|
+
export type SchemaOwnBlocks = StyleBlock[] | null | undefined;
|
|
13
|
+
export type MergedSheetAndTailStyles = {
|
|
14
|
+
mergedStyles: StylesWithOwn & {
|
|
15
|
+
elements: {
|
|
16
|
+
own: StyleBlock[];
|
|
17
|
+
wrapper?: unknown[];
|
|
18
|
+
};
|
|
19
|
+
};
|
|
20
|
+
tailClass: string;
|
|
21
|
+
backgroundColor: string;
|
|
22
|
+
darkBackgroundColor: string | undefined;
|
|
23
|
+
};
|
|
24
|
+
export declare function mergeSheetAndTailStyles(css: CssWriter, styles: StylesWithOwn | undefined | null, tailHeightVh: number, schemaOwnBlocks?: SchemaOwnBlocks): MergedSheetAndTailStyles;
|
|
25
|
+
export {};
|
package/dist/libraries/layout-renderer-utils/src/components/minimizable-bottomsheet/factory.d.ts
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { LayoutSchemaModel } from '@rokt/dcui-layout-schema';
|
|
3
|
+
import { MinimizableBottomSheet } from './minimizable-bottomsheet';
|
|
4
|
+
export declare const ConnectedMinimizableBottomSheet: import("react-redux").ConnectedComponent<typeof MinimizableBottomSheet, {
|
|
5
|
+
schema: import("@rokt/dcui-layout-schema").MinimizableBottomSheetModel<import("@rokt/dcui-layout-schema").ModalChildren, import("@rokt/dcui-layout-schema").WhenPredicate> & {
|
|
6
|
+
startMinimized?: boolean;
|
|
7
|
+
showDragHandle?: boolean;
|
|
8
|
+
};
|
|
9
|
+
testId?: string | undefined;
|
|
10
|
+
context?: React.Context<import("react-redux").ReactReduxContextValue<any, import("redux").UnknownAction> | null> | undefined;
|
|
11
|
+
store?: import("redux").Store | undefined;
|
|
12
|
+
}>;
|
|
13
|
+
export declare function tryMakeMinimizableBottomSheet(schema: LayoutSchemaModel): JSX.Element | undefined;
|
package/dist/libraries/layout-renderer-utils/src/components/minimizable-bottomsheet/hooks.d.ts
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { RefObject } from 'react';
|
|
2
|
+
export declare const INITIAL_WRAPPER_HEIGHT = 100000;
|
|
3
|
+
export declare const TAIL_HEIGHT_VH = 120;
|
|
4
|
+
export declare const OFFSCREEN_HIDE_PX = 1000;
|
|
5
|
+
export declare const NO_DRAG_DATA_ATTR = "data-rokt-bottomsheet-no-drag";
|
|
6
|
+
export declare const MAX_UPWARD_OVERSCROLL_PX = 80;
|
|
7
|
+
export declare const OVERSCROLL_RESISTANCE = 0.35;
|
|
8
|
+
export declare function getMinimizedVisibleHeight(minimizedChildRef: RefObject<HTMLDivElement>, sheetRef: RefObject<HTMLDivElement>): number;
|
|
9
|
+
export declare const useMinimizableBottomSheet: (startMinimized: boolean, activeBreakpoint?: string, isMinimizable?: boolean) => {
|
|
10
|
+
wrapperRef: RefObject<HTMLDivElement>;
|
|
11
|
+
containerRef: RefObject<HTMLDivElement>;
|
|
12
|
+
sheetRef: RefObject<HTMLDivElement>;
|
|
13
|
+
minimizedChildRef: RefObject<HTMLDivElement>;
|
|
14
|
+
maximizedChildRef: RefObject<HTMLDivElement>;
|
|
15
|
+
isMinimized: boolean;
|
|
16
|
+
setMinimized: (value: boolean) => void;
|
|
17
|
+
};
|
|
18
|
+
type CancelableCallback = (() => void) & {
|
|
19
|
+
cancel: () => void;
|
|
20
|
+
};
|
|
21
|
+
export declare function createResizeCallback(debounceDuration: number, callback: () => void): CancelableCallback;
|
|
22
|
+
export declare function useSyncParentHeightToChildren(parentRef: RefObject<HTMLDivElement>): void;
|
|
23
|
+
export {};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { MinimizableBottomSheetProps } from './types';
|
|
2
|
+
type MinimizableBottomSheetWrapperProps = {
|
|
3
|
+
schema: MinimizableBottomSheetProps['schema'];
|
|
4
|
+
testId?: string;
|
|
5
|
+
minimized?: boolean;
|
|
6
|
+
/** When provided and `onClose` is absent, the backdrop becomes clickable while maximized, invoking this to minimize. */
|
|
7
|
+
onMinimize?: () => void;
|
|
8
|
+
/** When provided, takes priority over `onMinimize` — the backdrop becomes clickable while maximized and invokes this to close/dismiss. */
|
|
9
|
+
onClose?: () => void;
|
|
10
|
+
};
|
|
11
|
+
export declare function MinimizableBottomSheetWrapper({ schema, testId, minimized, onMinimize, onClose, }: MinimizableBottomSheetWrapperProps): import("react/jsx-runtime").JSX.Element;
|
|
12
|
+
export {};
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { MinimizableBottomSheetProps } from './types';
|
|
3
|
+
type MinimizableBottomSheetContainerProps = {
|
|
4
|
+
schema: MinimizableBottomSheetProps['schema'];
|
|
5
|
+
ref: React.RefObject<HTMLDivElement>;
|
|
6
|
+
testId?: string;
|
|
7
|
+
sheetRef: React.RefObject<HTMLDivElement>;
|
|
8
|
+
minimizedChildRef: React.RefObject<HTMLDivElement>;
|
|
9
|
+
containerRef: React.RefObject<HTMLDivElement>;
|
|
10
|
+
maximizedChildRef: React.RefObject<HTMLDivElement>;
|
|
11
|
+
maximizedChildren: React.ReactNode;
|
|
12
|
+
minimizedChildren: React.ReactNode;
|
|
13
|
+
/** When true, minimized layout content ignores pointer events (parent `none` alone is not enough — descendants default to `auto`). */
|
|
14
|
+
isMinimized?: boolean;
|
|
15
|
+
/** From `useMinimizableBottomSheet`; expand interactions call `setMinimized(false)`. */
|
|
16
|
+
setMinimized?: (value: boolean) => void;
|
|
17
|
+
};
|
|
18
|
+
/**The MinimizableBottomSheet is a display node that is pinned to the bottom of the viewport, that
|
|
19
|
+
* can exist in two states: minimized and maximized.
|
|
20
|
+
* This is a Modal Bottomsheet, requiring user interaction before engaging with background content
|
|
21
|
+
* It should only be used for Mobile layouts.
|
|
22
|
+
* *Where can we use this: __outer layout__*
|
|
23
|
+
*/
|
|
24
|
+
export declare function MinimizableBottomSheet(props: MinimizableBottomSheetProps): import("react/jsx-runtime").JSX.Element;
|
|
25
|
+
export declare const MinimizableBottomSheetContainer: React.ForwardRefExoticComponent<Omit<MinimizableBottomSheetContainerProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
26
|
+
export declare function handleMinimizableBottomSheetTransition<RefElement extends HTMLElement>(element: RefElement): () => void;
|
|
27
|
+
export {};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/** Threshold velocity (px/ms) to snap when flicking from maximized or minimized. */
|
|
2
|
+
export declare const SLIDE_THRESHOLD_PX_PER_MS = 0.2;
|
|
3
|
+
/** Min downward translate (px) to minimize when dragging slowly from maximized. */
|
|
4
|
+
export declare const MIN_DOWN_DRAG_PX = 48;
|
|
5
|
+
/** Max samples of sheet offset while dragging; used for flick velocity. */
|
|
6
|
+
export declare const MAX_OFFSET_SAMPLES = 20;
|
|
7
|
+
export type OffsetSample = {
|
|
8
|
+
offsetPx: number;
|
|
9
|
+
timestamp: number;
|
|
10
|
+
};
|
|
11
|
+
export declare function recordOffsetSample(samples: OffsetSample[], offsetPx: number): void;
|
|
12
|
+
/** Velocity of the sheet offset between the oldest and newest sample (px per ms). */
|
|
13
|
+
export declare function velocityFromOffsetSamples(samples: OffsetSample[]): number;
|
|
14
|
+
/** Whether a drag-down from maximized should commit to minimized (vs spring back). */
|
|
15
|
+
export declare function shouldCompleteSheetGesture(args: {
|
|
16
|
+
velocityPxPerMs: number;
|
|
17
|
+
currentOffsetPx: number;
|
|
18
|
+
}): boolean;
|
package/dist/libraries/layout-renderer-utils/src/components/minimizable-bottomsheet/types.d.ts
ADDED
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
import { WhenPredicate, ModalChildren, MinimizableBottomSheetModel } from '@rokt/dcui-layout-schema';
|
|
2
|
+
export interface StateProps {
|
|
3
|
+
/** Whether the overlay is active or not*/
|
|
4
|
+
isOpen: boolean;
|
|
5
|
+
}
|
|
6
|
+
export interface OwnProps {
|
|
7
|
+
/**
|
|
8
|
+
* - `settings`:
|
|
9
|
+
* * `allowBackdropToClose`: Whether click backdrop will close the overlay. MUST be true when dismissible and allowBackdropToMinimize is false.
|
|
10
|
+
* * `allowBackdropToMinimize`: Whether click backdrop will minimize the bottom sheet. If both are true, click closes.
|
|
11
|
+
* * `minimizeOnComplete`: Whether the bottom sheet minimizes when user clicks final negative CTA button.
|
|
12
|
+
* * `a11yLabel`: Accessibility label for screen readers. MUST describe the purpose of the bottom sheet.
|
|
13
|
+
* - `children`: Content displayed in maximized state. Can accept all nodes except for itself.
|
|
14
|
+
* - `minimizedChildren`: Content displayed in minimized state.
|
|
15
|
+
* - `styles`:
|
|
16
|
+
* * `elements`:
|
|
17
|
+
* * `own`:
|
|
18
|
+
* - `container`
|
|
19
|
+
* - `background`
|
|
20
|
+
* - `border`
|
|
21
|
+
* - `dimension`
|
|
22
|
+
* - `flexChild`
|
|
23
|
+
* - `spacing`
|
|
24
|
+
* * `wrapper`:
|
|
25
|
+
* - `container`
|
|
26
|
+
* - `background`
|
|
27
|
+
* * `dragHandle`:
|
|
28
|
+
* - `background`
|
|
29
|
+
* - `border`
|
|
30
|
+
* - `dimension`
|
|
31
|
+
* - `spacing`
|
|
32
|
+
* * `transitions`:
|
|
33
|
+
* - `type`: 'Conditional'
|
|
34
|
+
* - `transition`:
|
|
35
|
+
* * `predicates`: WhenPredicate[]
|
|
36
|
+
* * `duration`: number
|
|
37
|
+
* * `value`:
|
|
38
|
+
* * `own`:
|
|
39
|
+
* - `container`
|
|
40
|
+
* - `background`
|
|
41
|
+
* - `border`
|
|
42
|
+
* - `dimension`
|
|
43
|
+
* - `flexChild`
|
|
44
|
+
* - `spacing`
|
|
45
|
+
* * `wrapper`:
|
|
46
|
+
* - `container`
|
|
47
|
+
* - `background`
|
|
48
|
+
* * `dragHandle`:
|
|
49
|
+
* - `background`
|
|
50
|
+
* - `border`
|
|
51
|
+
* - `dimension`
|
|
52
|
+
* - `spacing`
|
|
53
|
+
*/
|
|
54
|
+
schema: MinimizableBottomSheetModel<ModalChildren, WhenPredicate> & {
|
|
55
|
+
/** If true, the bottom sheet starts in minimized state. Defaults to false. */
|
|
56
|
+
startMinimized?: boolean;
|
|
57
|
+
/** If true, the drag handle is visible. If false, the drag handle is hidden. Defaults to true. */
|
|
58
|
+
showDragHandle?: boolean;
|
|
59
|
+
};
|
|
60
|
+
testId?: string;
|
|
61
|
+
}
|
|
62
|
+
export interface MinimizableBottomSheetProps extends OwnProps, StateProps {
|
|
63
|
+
}
|
package/dist/libraries/layout-renderer-utils/src/components/minimize-button/minimize-button.d.ts
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { LayoutSchemaModel, MinimizeButtonModel, WhenPredicate } from '@rokt/dcui-layout-schema';
|
|
2
|
+
export interface MinimizeButtonProps {
|
|
3
|
+
schema: MinimizeButtonModel<LayoutSchemaModel, WhenPredicate>;
|
|
4
|
+
testId?: string;
|
|
5
|
+
}
|
|
6
|
+
/**
|
|
7
|
+
* A button that toggles the MinimizableBottomSheet between minimized and maximized states.
|
|
8
|
+
* Unlike CloseButton, it does not dismiss the placement — it toggles the container state.
|
|
9
|
+
*
|
|
10
|
+
* *Where can we use this: __outer layout__ (inside MinimizableBottomSheet)*
|
|
11
|
+
*/
|
|
12
|
+
export declare function MinimizeButton(props: MinimizeButtonProps): import("react/jsx-runtime").JSX.Element | null;
|
|
@@ -5,6 +5,7 @@ type OverlayContainerProps = {
|
|
|
5
5
|
schema: OverlayProps['schema'];
|
|
6
6
|
ref: React.RefObject<HTMLDivElement>;
|
|
7
7
|
testId?: string;
|
|
8
|
+
isAttached?: boolean;
|
|
8
9
|
};
|
|
9
10
|
/**The Overlay is a display node that suits various purposes,
|
|
10
11
|
* such as displaying modals, tooltips, informational pop-ups,
|