@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
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { ActionButtonModel, LayoutAction, NonInteractableChildren, WhenPredicate } from '@rokt/dcui-layout-schema';
|
|
2
|
+
export interface ActionButtonProps {
|
|
3
|
+
/**
|
|
4
|
+
* - `actions`: LayoutActions dispatched when pressed and validation passes.
|
|
5
|
+
* - `validates`: form/field keys to validate before dispatching. A bare form
|
|
6
|
+
* key validates all of its fields; a dot-notation key validates one field.
|
|
7
|
+
* - `a11yLabel`: accessibility label for screen readers.
|
|
8
|
+
* - `children`: nodes rendered inside the button (e.g. BasicText label).
|
|
9
|
+
* - `styles`:
|
|
10
|
+
* * `elements`:
|
|
11
|
+
* - `own`: `container`, `dimension`, `flexChild`, `spacing`,
|
|
12
|
+
* `background`, `border`
|
|
13
|
+
*/
|
|
14
|
+
schema: ActionButtonModel<NonInteractableChildren, LayoutAction, WhenPredicate>;
|
|
15
|
+
testId?: string;
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* A pressable container that dispatches one or more LayoutActions, optionally
|
|
19
|
+
* gated on form validation. When `validates` is provided, validation runs
|
|
20
|
+
* first: error states are applied and, if any field is invalid, actions are not
|
|
21
|
+
* dispatched.<br>
|
|
22
|
+
* *Where can we use this: __outer layout__, __layout variant__*
|
|
23
|
+
*/
|
|
24
|
+
export declare function ActionButton(props: ActionButtonProps): JSX.Element;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { LayoutSchemaModel } from '@rokt/dcui-layout-schema';
|
|
2
|
-
export declare function tryMakeCloseButton(schema: LayoutSchemaModel): JSX.Element | undefined;
|
|
2
|
+
export declare function tryMakeCloseButton(schema: LayoutSchemaModel, testId?: string): JSX.Element | undefined;
|
package/dist/libraries/dcui-components/src/components/data-image-carousel/carousel-indicators.d.ts
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { DataImageCarouselModel, CarouselActiveIndicatorMode, WhenPredicate } from '@rokt/dcui-layout-schema';
|
|
2
|
+
type CarouselIndicatorsProps = {
|
|
3
|
+
indicatorClasses?: {
|
|
4
|
+
progressIndicatorContainer?: string;
|
|
5
|
+
indicator?: string;
|
|
6
|
+
activeIndicator?: string;
|
|
7
|
+
seenIndicator?: string;
|
|
8
|
+
};
|
|
9
|
+
activeIndicatorMode?: CarouselActiveIndicatorMode | null;
|
|
10
|
+
activeIndicatorStyles?: NonNullable<NonNullable<DataImageCarouselModel<WhenPredicate>['styles']>['elements']>['activeIndicator'];
|
|
11
|
+
activeIndex: number;
|
|
12
|
+
count: number;
|
|
13
|
+
transitionDuration?: number;
|
|
14
|
+
testId?: string;
|
|
15
|
+
};
|
|
16
|
+
export declare const defaultIndicatorContainerStyles: NonNullable<NonNullable<NonNullable<DataImageCarouselModel<WhenPredicate>['styles']>['elements']>['progressIndicatorContainer']>;
|
|
17
|
+
export declare const defaultIndicatorStyles: NonNullable<NonNullable<NonNullable<DataImageCarouselModel<WhenPredicate>['styles']>['elements']>['indicator']>;
|
|
18
|
+
export declare const defaultActiveIndicatorStyles: NonNullable<NonNullable<NonNullable<DataImageCarouselModel<WhenPredicate>['styles']>['elements']>['activeIndicator']>;
|
|
19
|
+
export declare function CarouselIndicators(props: CarouselIndicatorsProps): import("react/jsx-runtime").JSX.Element;
|
|
20
|
+
export {};
|
package/dist/libraries/dcui-components/src/components/data-image-carousel/data-image-carousel.d.ts
ADDED
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
import { DataImageCarouselModel, WhenPredicate } from '@rokt/dcui-layout-schema';
|
|
2
|
+
export interface DataImageCarouselProps {
|
|
3
|
+
/**
|
|
4
|
+
* - `imageKey`: the key prefix for the image objects of the creative images contexts.
|
|
5
|
+
* - `indicators`:
|
|
6
|
+
* * `show`: boolean
|
|
7
|
+
* * `activeIndicatorMode`: 'Progress' | 'Seen'
|
|
8
|
+
* - `duration`: number - Time in milliseconds before changing to the next image.
|
|
9
|
+
* - `transition`:
|
|
10
|
+
* * `type`: 'SlideInOut' | 'FadeInOut' - Transition type.
|
|
11
|
+
* * `settings`:
|
|
12
|
+
* * `speed`: 'fast' | 'medium' | 'slow' - Speed of the transition.
|
|
13
|
+
* - `a11yLabel`: string
|
|
14
|
+
* - `styles`:
|
|
15
|
+
* * `elements`:
|
|
16
|
+
* * `own`:
|
|
17
|
+
* - `container`
|
|
18
|
+
* - `background`
|
|
19
|
+
* - `border`
|
|
20
|
+
* - `dimension`
|
|
21
|
+
* - `flexChild`
|
|
22
|
+
* - `spacing`
|
|
23
|
+
* * `progressIndicatorContainer`:
|
|
24
|
+
* - `container`
|
|
25
|
+
* - `background`
|
|
26
|
+
* - `border`
|
|
27
|
+
* - `dimension`
|
|
28
|
+
* - `flexChild`
|
|
29
|
+
* - `spacing`
|
|
30
|
+
* * `indicator`:
|
|
31
|
+
* - `container`
|
|
32
|
+
* - `background`
|
|
33
|
+
* - `border`
|
|
34
|
+
* - `dimension`
|
|
35
|
+
* - `flexChild`
|
|
36
|
+
* - `spacing`
|
|
37
|
+
* * `seenIndicator`:
|
|
38
|
+
* - `container`
|
|
39
|
+
* - `background`
|
|
40
|
+
* - `border`
|
|
41
|
+
* - `dimension`
|
|
42
|
+
* - `flexChild`
|
|
43
|
+
* - `spacing`
|
|
44
|
+
* * `activeIndicator`:
|
|
45
|
+
* - `container`
|
|
46
|
+
* - `background`
|
|
47
|
+
* - `border`
|
|
48
|
+
* - `dimension`
|
|
49
|
+
* - `flexChild`
|
|
50
|
+
* - `spacing`
|
|
51
|
+
* * `transitions`:
|
|
52
|
+
* - `type`: 'Conditional'
|
|
53
|
+
* - `transition`:
|
|
54
|
+
* * `predicates`: WhenPredicate[]
|
|
55
|
+
* * `duration`: number
|
|
56
|
+
* * `value`:
|
|
57
|
+
* * `own`:
|
|
58
|
+
* - `container`
|
|
59
|
+
* - `background`
|
|
60
|
+
* - `border`
|
|
61
|
+
* - `dimension`
|
|
62
|
+
* - `flexChild`
|
|
63
|
+
* - `spacing`
|
|
64
|
+
* * `progressIndicatorContainer`:
|
|
65
|
+
* - `container`
|
|
66
|
+
* - `background`
|
|
67
|
+
* - `border`
|
|
68
|
+
* - `dimension`
|
|
69
|
+
* - `flexChild`
|
|
70
|
+
* - `spacing`
|
|
71
|
+
* * `indicator`:
|
|
72
|
+
* - `container`
|
|
73
|
+
* - `background`
|
|
74
|
+
* - `border`
|
|
75
|
+
* - `dimension`
|
|
76
|
+
* - `flexChild`
|
|
77
|
+
* - `spacing`
|
|
78
|
+
* * `seenIndicator`:
|
|
79
|
+
* - `container`
|
|
80
|
+
* - `background`
|
|
81
|
+
* - `border`
|
|
82
|
+
* - `dimension`
|
|
83
|
+
* - `flexChild`
|
|
84
|
+
* - `spacing`
|
|
85
|
+
* * `activeIndicator`:
|
|
86
|
+
* - `container`
|
|
87
|
+
* - `background`
|
|
88
|
+
* - `border`
|
|
89
|
+
* - `dimension`
|
|
90
|
+
* - `flexChild`
|
|
91
|
+
* - `spacing`
|
|
92
|
+
*/
|
|
93
|
+
schema: DataImageCarouselModel<WhenPredicate>;
|
|
94
|
+
testId?: string;
|
|
95
|
+
}
|
|
96
|
+
/** The DataImageCarousel is an image node that displays all images prefixed with the given key in the creative images contexts. <br>
|
|
97
|
+
* It supports various formats and sizes.<br>
|
|
98
|
+
* *Where can we use this: __layout variant__*
|
|
99
|
+
* */
|
|
100
|
+
export declare function DataImageCarousel(props: DataImageCarouselProps): import("react/jsx-runtime").JSX.Element | null;
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { FormStatesState } from '../../../../domain/src/models';
|
|
2
|
+
import { ExtendableDataMapper } from './data-mapper';
|
|
3
|
+
/**
|
|
4
|
+
* Projects runtime form state into the shape consumed by string templates.
|
|
5
|
+
* Only `value` and `error` are exposed (the only field state meaningful as
|
|
6
|
+
* rendered text), producing `STATE.form.<formKey>.<fieldKey>.value` and
|
|
7
|
+
* `.error` keys when bound under the `form` namespace. Boolean states like
|
|
8
|
+
* validity are intentionally omitted — those are conditional-rendering
|
|
9
|
+
* concerns handled by the FormState When predicate — and inactive tombstones
|
|
10
|
+
* (fields whose inputs are all unmounted) are excluded entirely.
|
|
11
|
+
*
|
|
12
|
+
* NOTE for template authors: per the data mapper's established semantics, an
|
|
13
|
+
* EMPTY value collapses the whole containing string — `'Code:
|
|
14
|
+
* %^STATE.form.F.code.value^%'` renders as '' (prefix included) while the
|
|
15
|
+
* field is empty, which is every field's initial state. Append the `|`
|
|
16
|
+
* fallback (`%^STATE.form.F.code.value|^%`) to keep the surrounding text and
|
|
17
|
+
* substitute nothing.
|
|
18
|
+
*/
|
|
19
|
+
export declare function projectFormStateForTemplates(formStates: FormStatesState): Record<string, Record<string, {
|
|
20
|
+
value: string;
|
|
21
|
+
error: string;
|
|
22
|
+
}>>;
|
|
23
|
+
/**
|
|
24
|
+
* Extends a data mapper so `%^STATE.form.<formKey>.<fieldKey>.value|.error^%`
|
|
25
|
+
* templates resolve against the given form state. The single binding point for
|
|
26
|
+
* every renderer (outer layout, layout variant, child layout) so the template
|
|
27
|
+
* namespace and projection shape cannot diverge between them. Note the
|
|
28
|
+
* namespace argument is a key *prefix*: the projection must NOT be nested
|
|
29
|
+
* under an extra `form` key or templates would resolve at `STATE.form.form.*`.
|
|
30
|
+
*/
|
|
31
|
+
export declare function extendDataMapperWithFormStates(dataMapper: ExtendableDataMapper, formStates: FormStatesState): ExtendableDataMapper;
|
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
import React, { PropsWithChildren } from 'react';
|
|
2
2
|
import { ExtensionLocator } from './models';
|
|
3
|
+
import { PluginService } from '../../../../plugin-utils/src/index';
|
|
3
4
|
export type ExtendStoreFn = (storeExtension: StoreExtension) => void;
|
|
4
5
|
export type StoreExtension = {
|
|
5
6
|
name: string;
|
|
6
7
|
reducer?: Record<string, <State extends object, Action extends {
|
|
7
8
|
type: string;
|
|
8
9
|
}>(state: State, action: Action) => State>;
|
|
9
|
-
sagas?: () => Generator;
|
|
10
|
+
sagas?: (partnerInteractionService: Pick<PluginService<unknown>, 'partnerInteractionService'>) => Generator;
|
|
10
11
|
interceptors?: Partial<Record<string, (input: {
|
|
11
12
|
type: string;
|
|
12
13
|
payload: unknown;
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
+
import { PluginService } from '../../../../plugin-utils/src/index';
|
|
1
2
|
export type AppExtension = {
|
|
2
3
|
name: string;
|
|
3
4
|
componentFactory: (body: null | object) => JSX.Element;
|
|
4
|
-
sagas?: () => Generator;
|
|
5
|
+
sagas?: (partnerInteractionService: Pick<PluginService<unknown>, 'partnerInteractionService'>) => Generator;
|
|
5
6
|
reducer?: Record<string, <State extends object, Action extends {
|
|
6
7
|
type: string;
|
|
7
8
|
}>(state: State, action: Action) => State>;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { FormModel, LayoutSchemaModel, WhenPredicate } from '@rokt/dcui-layout-schema';
|
|
2
|
+
export interface FormProps {
|
|
3
|
+
/**
|
|
4
|
+
* - `formKey`: unique key identifying this form's state scope. All TextInput
|
|
5
|
+
* descendants write to `STATE.form.<formKey>.<fieldKey>`.
|
|
6
|
+
* - `validationMode`: when field validation triggers — `on-submit` (default)
|
|
7
|
+
* or `on-change`.
|
|
8
|
+
* - `children`: any layout nodes (typically TextInputs, error `When` blocks
|
|
9
|
+
* and an ActionButton).
|
|
10
|
+
* - `styles`:
|
|
11
|
+
* * `elements`:
|
|
12
|
+
* - `own`: `container`, `dimension`, `flexChild`, `spacing`,
|
|
13
|
+
* `background`, `border`
|
|
14
|
+
*/
|
|
15
|
+
schema: FormModel<LayoutSchemaModel, WhenPredicate>;
|
|
16
|
+
testId?: string;
|
|
17
|
+
}
|
|
18
|
+
/**
|
|
19
|
+
* The Form is a non-visual-by-default container that scopes form state under a
|
|
20
|
+
* unique `formKey`. It provides the FormContext consumed by descendant
|
|
21
|
+
* TextInputs and renders its children as a flex column.<br>
|
|
22
|
+
* *Where can we use this: __outer layout__, __layout variant__*
|
|
23
|
+
*/
|
|
24
|
+
export declare function Form(props: FormProps): JSX.Element;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { IconGroupModel, WhenPredicate } from '@rokt/dcui-layout-schema';
|
|
2
|
+
export interface IconGroupProps {
|
|
3
|
+
/**
|
|
4
|
+
* - `name`: the unique name for an icon in a pre-defined icon sets.
|
|
5
|
+
* - `rating`: the source of the rating number in creative, or string number.
|
|
6
|
+
* - `styles`:
|
|
7
|
+
* * `own`:
|
|
8
|
+
* - `text`
|
|
9
|
+
* - `dimension`
|
|
10
|
+
* - `flexChild`
|
|
11
|
+
* - `spacing`
|
|
12
|
+
* - `background`
|
|
13
|
+
* - `border`
|
|
14
|
+
* * `filled`:
|
|
15
|
+
* - `text`
|
|
16
|
+
* - `dimension`
|
|
17
|
+
* - `flexChild`
|
|
18
|
+
* - `spacing`
|
|
19
|
+
* - `background`
|
|
20
|
+
* - `border`
|
|
21
|
+
* * `unfilled`:
|
|
22
|
+
* - `text`
|
|
23
|
+
* - `dimension`
|
|
24
|
+
* - `flexChild`
|
|
25
|
+
* - `spacing`
|
|
26
|
+
* - `background`
|
|
27
|
+
* - `border`
|
|
28
|
+
*/
|
|
29
|
+
schema: IconGroupModel<WhenPredicate>;
|
|
30
|
+
testId?: string;
|
|
31
|
+
}
|
|
32
|
+
/** The IconGroup is an icon node that displays an icon rating through the icon tag. <br>
|
|
33
|
+
* It supports various formats and sizes.<br>
|
|
34
|
+
* *Where can we use this: __outer layout__, __layout variant__*
|
|
35
|
+
* */
|
|
36
|
+
export declare function IconGroup(props: IconGroupProps): import("react/jsx-runtime").JSX.Element | null;
|
|
@@ -25,3 +25,8 @@ export * from './catalog-quantity-option';
|
|
|
25
25
|
export * from './catalog-stacked-collection';
|
|
26
26
|
export * from './child-layout-handler';
|
|
27
27
|
export * from './copy-to-clipboard-button';
|
|
28
|
+
export * from './close-button';
|
|
29
|
+
export * from './layout-timer';
|
|
30
|
+
export * from './form';
|
|
31
|
+
export * from './text-input';
|
|
32
|
+
export * from './action-button';
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export { LayoutTimer } from './layout-timer';
|
|
2
|
+
export type { LayoutTimerProps, VariantTimer, OuterTimer } from './layout-timer';
|
|
3
|
+
export { useLayoutTimer } from './use-layout-timer';
|
|
4
|
+
export { useLayoutActionDispatch } from './use-timer-action-dispatch';
|
|
5
|
+
export { TimerCountdownProvider } from './timer-countdown-provider';
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { LayoutTimer as LayoutTimerSchema, LayoutVariantAction, LayoutVariantWhenPredicate, OuterLayoutAction, OuterLayoutWhenPredicate } from '@rokt/dcui-layout-schema';
|
|
2
|
+
export type VariantTimer = LayoutTimerSchema<LayoutVariantWhenPredicate, LayoutVariantAction>;
|
|
3
|
+
export type OuterTimer = LayoutTimerSchema<OuterLayoutWhenPredicate, OuterLayoutAction>;
|
|
4
|
+
export interface LayoutTimerProps {
|
|
5
|
+
timer: VariantTimer | OuterTimer;
|
|
6
|
+
}
|
|
7
|
+
export declare function LayoutTimer({ timer }: LayoutTimerProps): null;
|
package/dist/libraries/dcui-components/src/components/layout-timer/timer-countdown-provider.d.ts
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { PropsWithChildren } from 'react';
|
|
2
|
+
interface TimerCountdownRegister {
|
|
3
|
+
register: (key: string, duration: number) => void;
|
|
4
|
+
unregister: (key: string) => void;
|
|
5
|
+
}
|
|
6
|
+
export declare const useTimerCountdownRegister: () => TimerCountdownRegister;
|
|
7
|
+
export declare function TimerCountdownProvider({ children }: PropsWithChildren): import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
export {};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { WhenPredicate } from '@rokt/dcui-layout-schema';
|
|
2
|
+
interface UseLayoutTimerProps {
|
|
3
|
+
key: string;
|
|
4
|
+
startTrigger: Array<WhenPredicate>;
|
|
5
|
+
clearTrigger: Array<WhenPredicate>;
|
|
6
|
+
duration: number;
|
|
7
|
+
repeatable?: boolean;
|
|
8
|
+
onExpire: () => void;
|
|
9
|
+
}
|
|
10
|
+
export declare function useLayoutTimer({ key, startTrigger, clearTrigger, duration, repeatable, onExpire, }: UseLayoutTimerProps): void;
|
|
11
|
+
export {};
|
package/dist/libraries/dcui-components/src/components/layout-timer/use-timer-action-dispatch.d.ts
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { LayoutVariantAction } from '@rokt/dcui-layout-schema';
|
|
2
|
+
/**
|
|
3
|
+
* Returns a dispatcher that fires a single LayoutAction through the
|
|
4
|
+
* TRIGGER_ACTION global behavior. The handleVariantAction saga resolves each
|
|
5
|
+
* action variant (Close, SetCustomState, CreativeResponse, CatalogResponse) to
|
|
6
|
+
* its concrete behavior, with offer + position context attached. Shared by the
|
|
7
|
+
* LayoutTimer and ActionButton nodes.
|
|
8
|
+
*/
|
|
9
|
+
export declare function useLayoutActionDispatch(): (layoutAction: LayoutVariantAction) => void;
|
|
@@ -12,6 +12,7 @@ export interface RichTextProps {
|
|
|
12
12
|
* - `styles`:
|
|
13
13
|
* * `elements`:
|
|
14
14
|
* - `own`:
|
|
15
|
+
* * `container` (exposes `scrollMask` for the constrained-height "show more" pattern)
|
|
15
16
|
* * `dimension`
|
|
16
17
|
* * `flexChild`
|
|
17
18
|
* * `spacing`
|
|
@@ -26,6 +27,7 @@ export interface RichTextProps {
|
|
|
26
27
|
* * `duration`: number
|
|
27
28
|
* * `value`:
|
|
28
29
|
* - `own`:
|
|
30
|
+
* * `container`
|
|
29
31
|
* * `dimension`
|
|
30
32
|
* * `flexChild`
|
|
31
33
|
* * `spacing`
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Scroll-mask gradient depends on runtime scroll position (atStart /
|
|
3
|
+
* atEnd) and is therefore owned by the component via
|
|
4
|
+
* `useScrollMaskVisibility`, which writes `mask-image` inline. The
|
|
5
|
+
* transformer here is a validating no-op — it ensures layouts cannot
|
|
6
|
+
* supply a malformed `container.scrollMask` object without emitting CSS.
|
|
7
|
+
*/
|
|
8
|
+
export declare function scrollMaskTransformer(_categoryKey: 'container', _propertyKey: 'scrollMask', value: unknown): string;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { BackgroundStylingProperties, BorderStylingProperties, ContainerStylingProperties, DimensionStylingProperties, FlexChildStylingProperties, SpacingStylingProperties, TextStylingProperties, LayoutStyle, BasicStateStylingBlock, StatelessStylingBlock, ConditionalStyleTransition } from '@rokt/dcui-layout-schema';
|
|
1
|
+
import { BackgroundStylingProperties, BorderStylingProperties, ContainerStylingProperties, DimensionStylingProperties, FlexChildStylingProperties, SpacingStylingProperties, TextStylingProperties, LayoutStyle, BasicStateStylingBlock, StatelessStylingBlock, ErrorableStateStylingBlock, ConditionalStyleTransition } from '@rokt/dcui-layout-schema';
|
|
2
2
|
export type AnyStyleProperty = {
|
|
3
3
|
dimension?: null | DimensionStylingProperties;
|
|
4
4
|
flexChild?: null | FlexChildStylingProperties;
|
|
@@ -8,7 +8,7 @@ export type AnyStyleProperty = {
|
|
|
8
8
|
border?: null | BorderStylingProperties;
|
|
9
9
|
container?: null | ContainerStylingProperties;
|
|
10
10
|
};
|
|
11
|
-
export type StyleBlockDefinition<NodeStyles> = BasicStateStylingBlock<NodeStyles> | StatelessStylingBlock<NodeStyles>;
|
|
11
|
+
export type StyleBlockDefinition<NodeStyles> = BasicStateStylingBlock<NodeStyles> | StatelessStylingBlock<NodeStyles> | ErrorableStateStylingBlock<NodeStyles>;
|
|
12
12
|
type NonNullableProperty<T> = {
|
|
13
13
|
[P in keyof T]: NonNullable<T[P]>;
|
|
14
14
|
};
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { TextInputModel, WhenPredicate } from '@rokt/dcui-layout-schema';
|
|
2
|
+
export interface TextInputProps {
|
|
3
|
+
/**
|
|
4
|
+
* - `fieldKey`: unique key identifying this field within its parent Form.
|
|
5
|
+
* - `inputType`: controls keyboard behaviour/masking. Defaults to `text`.
|
|
6
|
+
* - `placeholder`: placeholder text (supports data binding).
|
|
7
|
+
* - `defaultValue`: initial value (supports data binding).
|
|
8
|
+
* - `a11yLabel`: accessibility label for screen readers.
|
|
9
|
+
* - `validations`: validation rules applied to this field.
|
|
10
|
+
* - `showErrorMessage`: when true, renders the active error below the input.
|
|
11
|
+
* - `styles`:
|
|
12
|
+
* * `elements`: `own`, `inputText`, `placeholderText`, `errorText`
|
|
13
|
+
*/
|
|
14
|
+
schema: TextInputModel<WhenPredicate>;
|
|
15
|
+
testId?: string;
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* A controlled text input bound to its parent Form's state. Writes to
|
|
19
|
+
* `STATE.form.<formKey>.<fieldKey>` and runs the field's validations according
|
|
20
|
+
* to the form's `validationMode`.<br>
|
|
21
|
+
* *Where can we use this: __outer layout__, __layout variant__ (inside a Form)*
|
|
22
|
+
*/
|
|
23
|
+
export declare function TextInput(props: TextInputProps): JSX.Element;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { FormStatePredicate } from '@rokt/dcui-layout-schema';
|
|
2
|
+
import { FormStatesState } from '../../../../domain/src/models';
|
|
3
|
+
/**
|
|
4
|
+
* Evaluates a FormState When predicate against the current form state. The same
|
|
5
|
+
* logic serves both field-level and form-level keys: form-level aggregates
|
|
6
|
+
* across every field (e.g. a form is valid only when all fields are valid;
|
|
7
|
+
* dirty when any field is dirty).
|
|
8
|
+
*/
|
|
9
|
+
export declare function evaluateFormStatePredicate(predicate: FormStatePredicate, formStates: FormStatesState): boolean;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { ValidationMode } from '@rokt/dcui-layout-schema';
|
|
2
|
+
/**
|
|
3
|
+
* Identifies the Form scope a TextInput belongs to. Provided by the Form node
|
|
4
|
+
* and consumed by descendant TextInputs so they know which `form_key` to write
|
|
5
|
+
* to and when (`validationMode`) their values should validate. The
|
|
6
|
+
* `validationMode` lives here rather than in the store to keep the form-state
|
|
7
|
+
* reducer mode-agnostic.
|
|
8
|
+
*/
|
|
9
|
+
export interface FormContextValue {
|
|
10
|
+
formKey: string;
|
|
11
|
+
validationMode: ValidationMode;
|
|
12
|
+
}
|
|
13
|
+
export declare const FormContext: import("react").Context<FormContextValue | null>;
|
|
14
|
+
export declare const FormContextProvider: import("react").Provider<FormContextValue | null>;
|
|
15
|
+
export declare const useFormContext: () => FormContextValue | null;
|
|
@@ -6,3 +6,4 @@ export declare const OfferDataProvider: (props: {
|
|
|
6
6
|
}) => import("react/jsx-runtime").JSX.Element;
|
|
7
7
|
export declare const useOfferData: () => PluginOffer;
|
|
8
8
|
export declare const useOfferCreativeCopy: () => Record<string, string> | undefined;
|
|
9
|
+
export declare const useOfferTransactionData: () => import("../../../domain/src/models").TransactionData | undefined;
|
|
@@ -4,3 +4,4 @@ export declare const FAILED_PARSING_STYLES = "FAILED_PARSING_STYLES";
|
|
|
4
4
|
export declare const FAILED_TEMPLATING_DATA = "FAILED_TEMPLATING_DATA";
|
|
5
5
|
export declare const FAILED_TO_MAP_STATIC_DATA = "FAILED_TO_MAP_STATIC_DATA";
|
|
6
6
|
export declare const FAILED_SANITISING_HTML = "FAILED_SANITISING_HTML";
|
|
7
|
+
export declare const UNRESOLVED_FORM_VALIDATION_TARGET = "UNRESOLVED_FORM_VALIDATION_TARGET";
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { ScrollMaskStylingProperties } from '@rokt/dcui-layout-schema';
|
|
2
|
+
/**
|
|
3
|
+
* Pulls the `scrollMask` config out of a node's `own.container` style block
|
|
4
|
+
* so it can be handed to `useScrollMaskVisibility`. Reads the first
|
|
5
|
+
* breakpoint's default state only — scroll-mask styling is not expected
|
|
6
|
+
* to differ across breakpoints or interaction states, and the gradient
|
|
7
|
+
* is rendered inline by the component rather than via the StyleMapper
|
|
8
|
+
* class so per-state CSS would not apply anyway.
|
|
9
|
+
*/
|
|
10
|
+
export declare function getScrollMaskConfig(styles: {
|
|
11
|
+
elements?: {
|
|
12
|
+
own?: Array<{
|
|
13
|
+
default?: {
|
|
14
|
+
container?: {
|
|
15
|
+
scrollMask?: ScrollMaskStylingProperties | null;
|
|
16
|
+
} | null;
|
|
17
|
+
} | null;
|
|
18
|
+
}> | null;
|
|
19
|
+
} | null;
|
|
20
|
+
} | null | undefined): ScrollMaskStylingProperties | null;
|
|
@@ -8,4 +8,6 @@ export * from './responsive-css';
|
|
|
8
8
|
export * from './test-id';
|
|
9
9
|
export * from './use-controlled-link-container';
|
|
10
10
|
export * from './use-focus-trap';
|
|
11
|
+
export * from './use-scroll-mask-visibility';
|
|
12
|
+
export * from './get-scroll-mask-config';
|
|
11
13
|
export * from './get-active-breakpoint-index';
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { ScrollMaskStylingProperties } from '@rokt/dcui-layout-schema';
|
|
2
|
+
export type ScrollMaskAxis = 'horizontal' | 'vertical';
|
|
3
|
+
/**
|
|
4
|
+
* Tracks scroll state on the attached element and returns the inline
|
|
5
|
+
* style (mask-image, mask-clip, etc.) needed to render the scroll-mask
|
|
6
|
+
* gradient described by `config`. The mask collapses to `none` when the
|
|
7
|
+
* container does not overflow, the start fade is omitted when scrolled
|
|
8
|
+
* to the start, and the end fade is omitted when scrolled to the end —
|
|
9
|
+
* so the visible mask always reflects the direction of hidden content.
|
|
10
|
+
*
|
|
11
|
+
* `setRef` is a callback ref — pass it to the scrollable element. The
|
|
12
|
+
* element is held in state so attach/detach is driven by `useEffect`,
|
|
13
|
+
* keeping listeners correctly paired through Strict Mode and HMR.
|
|
14
|
+
*/
|
|
15
|
+
export declare function useScrollMaskVisibility<E extends HTMLElement>(axis: ScrollMaskAxis, config: ScrollMaskStylingProperties | null | undefined): {
|
|
16
|
+
hasOverflow: boolean;
|
|
17
|
+
atStart: boolean;
|
|
18
|
+
atEnd: boolean;
|
|
19
|
+
ref: import("react").MutableRefObject<E | null>;
|
|
20
|
+
setRef: (node: E | null) => void;
|
|
21
|
+
maskStyle: import("react").CSSProperties;
|
|
22
|
+
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { BackgroundStylingProperties, BorderStylingProperties, ButtonPseudoClasses, ContainerStylingProperties, DimensionStylingProperties, LayoutStyle, SpacingStylingProperties } from '../styling';
|
|
1
|
+
import { BackgroundStylingProperties, BorderStylingProperties, ButtonPseudoClasses, ContainerStylingProperties, DimensionStylingProperties, FlexChildStylingProperties, LayoutStyle, SpacingStylingProperties } from '../styling';
|
|
2
2
|
import { BasicTextModel } from './basic-text';
|
|
3
3
|
import { ColumnModel } from './column';
|
|
4
4
|
import { StaticImageModel } from './static-image';
|
|
@@ -9,6 +9,7 @@ export interface CloseButtonStyles {
|
|
|
9
9
|
dimension?: DimensionStylingProperties;
|
|
10
10
|
spacing?: SpacingStylingProperties;
|
|
11
11
|
border?: BorderStylingProperties;
|
|
12
|
+
flexChild?: FlexChildStylingProperties;
|
|
12
13
|
}
|
|
13
14
|
export type CloseButtonChildren = {
|
|
14
15
|
type: 'Row';
|
|
@@ -27,4 +28,5 @@ export interface CloseButtonModel {
|
|
|
27
28
|
children: Array<CloseButtonChildren>;
|
|
28
29
|
styles?: LayoutStyle<CloseButtonStyles, ButtonPseudoClasses<CloseButtonStyles>>;
|
|
29
30
|
dismissalMethod?: string;
|
|
31
|
+
a11yLabel?: string;
|
|
30
32
|
}
|