@rokt/dcui-orchestrator 1.2.1-rc.4 → 1.2.1-rc.41
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/index.cjs +44 -38
- package/dist/index.js +54 -48
- package/dist/libraries/dcui-components/src/components/index.d.ts +3 -0
- package/dist/libraries/dcui-components/src/components/paypal-button/index.d.ts +1 -0
- package/dist/libraries/dcui-components/src/components/paypal-button/paypal-button.d.ts +78 -0
- package/dist/libraries/dcui-components/src/components/paypal-button/paypal-wordmark.d.ts +10 -0
- package/dist/libraries/dcui-components/src/components/progress-control/index.d.ts +1 -0
- package/dist/libraries/dcui-components/src/components/progress-control/progress-control.d.ts +49 -0
- package/dist/libraries/dcui-components/src/components/progress-indicator/get-progress-indicator-state.d.ts +3 -0
- package/dist/libraries/dcui-components/src/components/progress-indicator/index.d.ts +3 -0
- package/dist/libraries/dcui-components/src/components/progress-indicator/progress-indicator.d.ts +8 -0
- package/dist/libraries/dcui-components/src/components/progress-indicator/types.d.ts +88 -0
- package/dist/libraries/dcui-components/src/contexts/index.d.ts +1 -0
- package/dist/libraries/dcui-components/src/contexts/lead-capture-offer-context.d.ts +5 -0
- package/dist/libraries/dcui-components/src/contexts/validators/validator-provider.d.ts +5 -3
- package/dist/libraries/dcui-components/src/failure-codes.d.ts +1 -0
- package/dist/libraries/domain/src/behaviors/continuous-child.d.ts +62 -0
- package/dist/libraries/domain/src/behaviors/custom-states.d.ts +1 -1
- package/dist/libraries/domain/src/behaviors/index.d.ts +1 -0
- package/dist/libraries/domain/src/behaviors/offer-engagement.d.ts +11 -0
- package/dist/libraries/domain/src/behaviors/send-partner.d.ts +14 -2
- package/dist/libraries/domain/src/behaviors/trigger-action.d.ts +3 -3
- package/dist/libraries/domain/src/models/child-layout-response.d.ts +6 -0
- package/dist/libraries/domain/src/models/index.d.ts +1 -0
- package/dist/libraries/domain/src/models/layout/layout-offer.d.ts +2 -0
- package/dist/libraries/domain/src/models/partner-event.d.ts +1 -1
- package/dist/libraries/domain/src/models/plugin/plugin-child-layout-model.d.ts +1 -0
- package/dist/libraries/domain/src/models/plugin/plugin-offer.d.ts +2 -0
- package/dist/libraries/domain/src/models/purchase.d.ts +3 -0
- package/dist/libraries/layout-renderer-utils/src/sagas/error/error-codes.d.ts +1 -0
- package/dist/libraries/layout-renderer-utils/src/sagas/plugin/display.d.ts +3 -0
- package/dist/libraries/layout-renderer-utils/src/sagas/plugin/sagas.d.ts +4 -1
- package/dist/libraries/layout-renderer-utils/src/sagas/utils/index.d.ts +7 -1
- package/dist/libraries/layout-renderer-utils/src/sagas/utils/links.d.ts +27 -1
- package/dist/libraries/module-connector/src/main.d.ts +1 -1
- package/dist/libraries/module-connector/src/models/gateway.d.ts +14 -3
- package/dist/libraries/module-connector/src/models/module-attributes.d.ts +3 -0
- package/dist/libraries/module-connector/src/models/module-connector-builder.d.ts +1 -0
- package/dist/libraries/module-utils/src/sagas/child-layouts/sagas.d.ts +2 -0
- package/dist/libraries/orchestrator/src/components/progress-control/progress-control.d.ts +2 -45
- package/dist/libraries/orchestrator/src/components/progress-indicator/progress-indicator.d.ts +1 -9
- package/dist/libraries/orchestrator/src/components/progress-indicator/types.d.ts +1 -87
- package/dist/libraries/orchestrator/src/measurement/creative-measurement.d.ts +54 -0
- package/dist/libraries/orchestrator/src/sagas/child-layouts/continuous-child-host.d.ts +15 -0
- package/dist/libraries/orchestrator/src/sagas/child-layouts/continuous-child.d.ts +52 -0
- package/dist/libraries/orchestrator/src/sagas/index.d.ts +1 -1
- package/dist/libraries/orchestrator/src/sagas/offer-engagement/sagas.d.ts +3 -3
- package/dist/libraries/plugin-utils/src/plugin-service/display.d.ts +1 -0
- package/dist/modules/add-to-cart/src/components/when-catalog-quantity/when-catalog-quantity.d.ts +2 -1
- package/dist/modules/instant-purchase/src/actions/catalog-selection.d.ts +8 -1
- package/dist/modules/instant-purchase/src/actions/instant-purchase.d.ts +4 -0
- package/dist/modules/instant-purchase/src/components/catalog-device-pay-button/catalog-device-pay-button.d.ts +8 -0
- package/dist/modules/instant-purchase/src/components/catalog-selectors-stacked/catalog-selectors-stacked.d.ts +30 -0
- package/dist/modules/instant-purchase/src/models/state/device-pay-availability.d.ts +2 -0
- package/dist/modules/instant-purchase/src/models/state/instant-purchase.d.ts +4 -0
- package/dist/modules/instant-purchase/src/reducers/catalog-selection/reducer.d.ts +2 -0
- package/dist/modules/instant-purchase/src/reducers/index.d.ts +3 -0
- package/dist/modules/instant-purchase/src/sagas/device-pay/sagas.d.ts +2 -7
- package/dist/modules/instant-purchase/src/sagas/instant-purchase/sagas.d.ts +17 -3
- package/dist/modules/instant-purchase/src/sagas/paypal/sagas.d.ts +2 -0
- package/dist/modules/instant-purchase/src/sagas/tax-and-shipping/sagas.d.ts +10 -20
- package/dist/modules/instant-purchase/src/selectors/device-pay-availability/selectors.d.ts +2 -0
- package/dist/modules/instant-purchase/src/selectors/tax-and-shipping/selectors.d.ts +8 -0
- package/dist/modules/instant-purchase/src/utils/create-tax-and-shipping-cache-key.d.ts +4 -0
- package/dist/modules/instant-purchase/src/utils/parse-non-negative-monetary-amount.d.ts +1 -0
- package/dist/modules/instant-purchase/src/utils/requires-tax-and-shipping-initialization.d.ts +2 -0
- package/dist/modules/standard-marketing/src/sagas/offer-engagement/sagas.d.ts +2 -1
- package/node_modules/@rokt/dcui-layout-schema/dist/schema.d.ts +575 -21
- 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/v1.21/index.d.ts +7105 -0
- package/node_modules/@rokt/dcui-layout-schema/v1.21/index.js +4 -0
- package/node_modules/@rokt/dcui-layout-schema/v1.22/index.d.ts +7121 -0
- package/node_modules/@rokt/dcui-layout-schema/v1.22/index.js +4 -0
- package/node_modules/@rokt/dcui-layout-schema/v1.23/index.d.ts +7126 -0
- package/node_modules/@rokt/dcui-layout-schema/v1.23/index.js +4 -0
- package/node_modules/@rokt/dcui-layout-schema/v1.24/index.d.ts +7492 -0
- package/node_modules/@rokt/dcui-layout-schema/v1.24/index.js +4 -0
- package/node_modules/@rokt/dcui-layout-schema/v1.25/index.d.ts +7510 -0
- package/node_modules/@rokt/dcui-layout-schema/v1.25/index.js +4 -0
- package/node_modules/@rokt/dcui-layout-schema/v1.26/index.d.ts +7516 -0
- package/node_modules/@rokt/dcui-layout-schema/v1.26/index.js +4 -0
- package/node_modules/@rokt/dcui-layout-schema/v1.27/index.d.ts +7577 -0
- package/node_modules/@rokt/dcui-layout-schema/v1.27/index.js +4 -0
- package/node_modules/@rokt/dcui-layout-schema/v1.28/index.d.ts +7628 -0
- package/node_modules/@rokt/dcui-layout-schema/v1.28/index.js +4 -0
- package/node_modules/@rokt/dcui-layout-schema/v1.29/index.d.ts +7643 -0
- package/node_modules/@rokt/dcui-layout-schema/v1.29/index.js +4 -0
- package/package.json +2 -2
|
@@ -788,6 +788,14 @@ export interface ButtonStateTriggerTransitions {
|
|
|
788
788
|
/** Transition properties for the trigger button's own styles. */
|
|
789
789
|
own?: null | ButtonStateTriggerStyle;
|
|
790
790
|
}
|
|
791
|
+
/**
|
|
792
|
+
* Requests a lead-capture event with the active field values selected by the
|
|
793
|
+
* containing ActionButton's `validates` entries. The runtime must reject an
|
|
794
|
+
* empty or unresolved selection and must not emit values when validation fails.
|
|
795
|
+
* The event recipient owns submission and any consent receipt.
|
|
796
|
+
*/
|
|
797
|
+
export interface CaptureLeadActionModel {
|
|
798
|
+
}
|
|
791
799
|
/** A styling block with only a default state. Used for non-interactive elements. */
|
|
792
800
|
export interface StatelessStylingBlock<StyleProperties> {
|
|
793
801
|
/** The styles to apply. Always required. */
|
|
@@ -1047,8 +1055,18 @@ export interface CatalogDevicePayButtonStyles {
|
|
|
1047
1055
|
flexChild?: null | FlexChildStylingProperties;
|
|
1048
1056
|
spacing?: null | SpacingStylingProperties;
|
|
1049
1057
|
}
|
|
1058
|
+
export interface CatalogDevicePayButtonErrorTextStyles {
|
|
1059
|
+
container?: null | ContainerStylingProperties;
|
|
1060
|
+
background?: null | BackgroundStylingProperties;
|
|
1061
|
+
border?: null | BorderStylingProperties;
|
|
1062
|
+
dimension?: null | DimensionStylingProperties;
|
|
1063
|
+
flexChild?: null | FlexChildStylingProperties;
|
|
1064
|
+
spacing?: null | SpacingStylingProperties;
|
|
1065
|
+
text?: null | TextStylingProperties;
|
|
1066
|
+
}
|
|
1050
1067
|
export interface CatalogDevicePayButtonElements {
|
|
1051
1068
|
own: BasicStateStylingBlock<CatalogDevicePayButtonStyles>[];
|
|
1069
|
+
errorText?: null | StatelessStylingBlock<CatalogDevicePayButtonErrorTextStyles>[];
|
|
1052
1070
|
}
|
|
1053
1071
|
export type PaymentProvider = "ApplePay" | "GooglePay" | "Stripe" | "Afterpay" | "Paypal" | "Card";
|
|
1054
1072
|
export interface ValidationTriggerConfig {
|
|
@@ -1058,11 +1076,30 @@ export interface CatalogDevicePayButtonModel<Children, Predicates> {
|
|
|
1058
1076
|
a11yLabel?: null | string;
|
|
1059
1077
|
styles?: null | LayoutStyle<CatalogDevicePayButtonElements, ConditionalStyleTransition<CatalogDevicePayButtonTransitions, Predicates>>;
|
|
1060
1078
|
provider: PaymentProvider;
|
|
1079
|
+
/**
|
|
1080
|
+
* Enables listener-only mode and associates this component with child-layout
|
|
1081
|
+
* payment requests that use the same key.
|
|
1082
|
+
*/
|
|
1083
|
+
requestKey?: null | string;
|
|
1061
1084
|
validatorTriggerConfig?: null | ValidationTriggerConfig;
|
|
1085
|
+
/**
|
|
1086
|
+
* Optional user-facing message rendered for a button-level payment error.
|
|
1087
|
+
* When omitted or empty, the consuming SDK uses its built-in fallback error content.
|
|
1088
|
+
*/
|
|
1089
|
+
errorMessage?: null | string;
|
|
1062
1090
|
children: Children[];
|
|
1063
1091
|
}
|
|
1064
1092
|
export interface CatalogDevicePayButtonTransitions {
|
|
1065
1093
|
own?: null | CatalogDevicePayButtonStyles;
|
|
1094
|
+
errorText?: null | CatalogDevicePayButtonErrorTextStyles;
|
|
1095
|
+
}
|
|
1096
|
+
/**
|
|
1097
|
+
* Text and spacing for the persistent dimension label above the dropdown.
|
|
1098
|
+
* Styling does not change the catalog-provided label text or its visibility.
|
|
1099
|
+
*/
|
|
1100
|
+
export interface CatalogDropdownLabelStyles {
|
|
1101
|
+
text?: null | TextStylingProperties;
|
|
1102
|
+
spacing?: null | SpacingStylingProperties;
|
|
1066
1103
|
}
|
|
1067
1104
|
/**
|
|
1068
1105
|
* A styling block for form elements that extends interactive states with
|
|
@@ -1119,9 +1156,14 @@ export interface CatalogDropdownStyles {
|
|
|
1119
1156
|
* Breakpoint-specific style elements for the CatalogDropdown and all its
|
|
1120
1157
|
* sub-elements. The `own`, `head`, `icon`, `option`, and `error` elements use
|
|
1121
1158
|
* `FormStateStylingBlock` to support `selected` and `errored` visual states.
|
|
1122
|
-
* `
|
|
1159
|
+
* The non-interactive `label` uses `StatelessStylingBlock`.
|
|
1123
1160
|
*/
|
|
1124
1161
|
export interface CatalogDropdownElements {
|
|
1162
|
+
/**
|
|
1163
|
+
* Optional responsive text and spacing overrides for the built-in label.
|
|
1164
|
+
* Omitted properties retain the renderer's defaults.
|
|
1165
|
+
*/
|
|
1166
|
+
label?: null | StatelessStylingBlock<CatalogDropdownLabelStyles>[];
|
|
1125
1167
|
/**
|
|
1126
1168
|
* Style blocks for the dropdown's outer container.
|
|
1127
1169
|
* Supports `selected` and `errored` states via FormStateStylingBlock.
|
|
@@ -1218,6 +1260,14 @@ export interface CatalogDropdownModel<Predicates> {
|
|
|
1218
1260
|
* (e.g., "Out of stock").
|
|
1219
1261
|
*/
|
|
1220
1262
|
unavailableValue?: null | string;
|
|
1263
|
+
/**
|
|
1264
|
+
* The icon rendered in the head, selected by name from the icon set of the
|
|
1265
|
+
* font applied to the `icon` element (via its `text.fontFamily`) — the same
|
|
1266
|
+
* mechanism as `StaticIcon`'s `name`. Allows a partner icon set to supply
|
|
1267
|
+
* the expand/collapse affordance (e.g., "StockXChevronDown"). When omitted,
|
|
1268
|
+
* the platform renders its built-in chevron.
|
|
1269
|
+
*/
|
|
1270
|
+
iconName?: null | string;
|
|
1221
1271
|
/**
|
|
1222
1272
|
* Configuration for form-level validation of this dropdown field, including
|
|
1223
1273
|
* the field key and validation rules with their error messages.
|
|
@@ -1225,7 +1275,7 @@ export interface CatalogDropdownModel<Predicates> {
|
|
|
1225
1275
|
validatorFieldConfig?: null | ValidatorFieldConfig;
|
|
1226
1276
|
/**
|
|
1227
1277
|
* Responsive and conditional styling for the dropdown container, head,
|
|
1228
|
-
* option list, options, and error message.
|
|
1278
|
+
* label, option list, options, and error message.
|
|
1229
1279
|
*/
|
|
1230
1280
|
styles?: null | LayoutStyle<CatalogDropdownElements, ConditionalStyleTransition<CatalogDropdownTransitions, Predicates>>;
|
|
1231
1281
|
}
|
|
@@ -1234,6 +1284,8 @@ export interface CatalogDropdownModel<Predicates> {
|
|
|
1234
1284
|
* and all its sub-elements.
|
|
1235
1285
|
*/
|
|
1236
1286
|
export interface CatalogDropdownTransitions {
|
|
1287
|
+
/** Conditional text and spacing overrides for the built-in label. */
|
|
1288
|
+
label?: null | CatalogDropdownLabelStyles;
|
|
1237
1289
|
/** Transition properties for the outer container. */
|
|
1238
1290
|
own?: null | CatalogDropdownStyles;
|
|
1239
1291
|
/** Transition properties for the head/trigger area. */
|
|
@@ -1761,17 +1813,27 @@ export interface CatalogResponseButtonElements {
|
|
|
1761
1813
|
*/
|
|
1762
1814
|
export interface CatalogResponseButtonModel<Children, Predicates> {
|
|
1763
1815
|
/** Accessibility label read by screen readers to describe the button's purpose. */
|
|
1764
|
-
|
|
1816
|
+
a11yLabel?: null | string;
|
|
1765
1817
|
/**
|
|
1766
1818
|
* Unique key identifying which response this button represents in the catalog flow.
|
|
1767
1819
|
* Sent to the server when the button is tapped to indicate the user's selection.
|
|
1768
1820
|
*/
|
|
1769
|
-
|
|
1821
|
+
responseKey?: null | string;
|
|
1822
|
+
/**
|
|
1823
|
+
* Enables listener-only mode and associates this button with child-layout
|
|
1824
|
+
* purchase requests that use the same key.
|
|
1825
|
+
*/
|
|
1826
|
+
requestKey?: null | string;
|
|
1770
1827
|
/**
|
|
1771
1828
|
* Responsive and conditional styling for this button, including breakpoint-specific
|
|
1772
1829
|
* element styles and animated transitions.
|
|
1773
1830
|
*/
|
|
1774
1831
|
styles?: null | LayoutStyle<CatalogResponseButtonElements, ConditionalStyleTransition<CatalogResponseButtonTransitions, Predicates>>;
|
|
1832
|
+
/**
|
|
1833
|
+
* Optional validation trigger that declares which form-field keys must pass validation
|
|
1834
|
+
* before this button's response is submitted. When omitted, no pre-submit validation runs.
|
|
1835
|
+
*/
|
|
1836
|
+
validatorTriggerConfig?: null | ValidationTriggerConfig;
|
|
1775
1837
|
/**
|
|
1776
1838
|
* Child nodes rendered inside this button. Typically contains text labels or icons
|
|
1777
1839
|
* describing the action (e.g., "Add to Cart", product name).
|
|
@@ -1980,6 +2042,37 @@ export interface CatalogThumbnailGalleryTransitions {
|
|
|
1980
2042
|
/** Transition properties for thumbnail images. */
|
|
1981
2043
|
thumbnail?: null | CatalogThumbnailGalleryStyles;
|
|
1982
2044
|
}
|
|
2045
|
+
/**
|
|
2046
|
+
* Responses to the currently presented offer through the parent response flow.
|
|
2047
|
+
* Positive responses must use the supported URL response flow.
|
|
2048
|
+
*/
|
|
2049
|
+
export type ChildCreativeResponseKey = "positive" | "negative";
|
|
2050
|
+
/**
|
|
2051
|
+
* Controls how links are opened when clicked. MUST be one of the valid
|
|
2052
|
+
* kebab-case string values. Determines the navigation behavior when a
|
|
2053
|
+
* user activates a link action.
|
|
2054
|
+
*/
|
|
2055
|
+
export type LinkOpenTarget =
|
|
2056
|
+
/**
|
|
2057
|
+
* Opens the link within the current context (in-app webview or same
|
|
2058
|
+
* window). Use for links that should keep the user in the application.
|
|
2059
|
+
*/
|
|
2060
|
+
"internally"
|
|
2061
|
+
/**
|
|
2062
|
+
* Opens the link in the system browser. Use for external URLs that
|
|
2063
|
+
* should leave the application context.
|
|
2064
|
+
*/
|
|
2065
|
+
| "externally";
|
|
2066
|
+
/**
|
|
2067
|
+
* Responds to the currently presented offer through its existing parent handler.
|
|
2068
|
+
* A continuation child advances the parent sequence while staying open; a
|
|
2069
|
+
* standalone child retains its existing completion lifecycle.
|
|
2070
|
+
*/
|
|
2071
|
+
export interface ChildCreativeResponseActionModel {
|
|
2072
|
+
responseKey: ChildCreativeResponseKey;
|
|
2073
|
+
/** Positive responses only. If omitted, uses the offer's default link behavior. */
|
|
2074
|
+
openLinks?: null | LinkOpenTarget;
|
|
2075
|
+
}
|
|
1983
2076
|
/**
|
|
1984
2077
|
* The top-level schema structure for a child layout (layout variant). Similar to
|
|
1985
2078
|
* RootSchemaModel but includes predicates for conditional display.
|
|
@@ -1998,6 +2091,29 @@ export interface ChildRootSchemaModel<Layout, Display, Settings, Predicates> {
|
|
|
1998
2091
|
display?: null | Display;
|
|
1999
2092
|
/** Conditions that determine when this child layout is displayed. */
|
|
2000
2093
|
predicates: Predicates[];
|
|
2094
|
+
/**
|
|
2095
|
+
* For a standalone child (no continuationKey), whether user dismissal also
|
|
2096
|
+
* dismisses its originating offer and progresses the parent. Omitted or false
|
|
2097
|
+
* preserves close-only behavior. A continuation session uses its coordinated
|
|
2098
|
+
* response/progression contract instead of this standalone dismissal flag.
|
|
2099
|
+
* Positive completion and parent teardown never count as user dismissal.
|
|
2100
|
+
*/
|
|
2101
|
+
advanceOnDismiss?: null | boolean;
|
|
2102
|
+
/**
|
|
2103
|
+
* Identifies matching variant-owned children that continue in one expanded
|
|
2104
|
+
* session across offers. Must be nonblank when present. Omitted means the
|
|
2105
|
+
* existing standalone child lifecycle. Matching/compatibility is checked
|
|
2106
|
+
* against the selected offer sequence by the renderer, not by this root.
|
|
2107
|
+
* ProgressControl and ProgressIndicator use the parent sequence in this mode.
|
|
2108
|
+
*/
|
|
2109
|
+
continuationKey?: null | string;
|
|
2110
|
+
/**
|
|
2111
|
+
* When true, this child owns qualification of its offer's creative view;
|
|
2112
|
+
* the embedded presentation must not qualify it. The parent records and
|
|
2113
|
+
* deduplicates the qualifying exposure. Omitted or false preserves ordinary
|
|
2114
|
+
* qualification. This does not change creative render-impression ownership.
|
|
2115
|
+
*/
|
|
2116
|
+
ownsViewability?: null | boolean;
|
|
2001
2117
|
}
|
|
2002
2118
|
/** Model for the Close action. Mirrors CloseButtonModel properties. */
|
|
2003
2119
|
export interface CloseActionModel {
|
|
@@ -2230,22 +2346,6 @@ export interface CreativeCopyPredicate {
|
|
|
2230
2346
|
*/
|
|
2231
2347
|
value: string;
|
|
2232
2348
|
}
|
|
2233
|
-
/**
|
|
2234
|
-
* Controls how links are opened when clicked. MUST be one of the valid
|
|
2235
|
-
* kebab-case string values. Determines the navigation behavior when a
|
|
2236
|
-
* user activates a link action.
|
|
2237
|
-
*/
|
|
2238
|
-
export type LinkOpenTarget =
|
|
2239
|
-
/**
|
|
2240
|
-
* Opens the link within the current context (in-app webview or same
|
|
2241
|
-
* window). Use for links that should keep the user in the application.
|
|
2242
|
-
*/
|
|
2243
|
-
"internally"
|
|
2244
|
-
/**
|
|
2245
|
-
* Opens the link in the system browser. Use for external URLs that
|
|
2246
|
-
* should leave the application context.
|
|
2247
|
-
*/
|
|
2248
|
-
| "externally";
|
|
2249
2349
|
/**
|
|
2250
2350
|
* Model for the CreativeResponse action. Mirrors CreativeResponseModel
|
|
2251
2351
|
* properties.
|
|
@@ -4910,6 +5010,12 @@ export interface ToggleButtonStateTriggerModel<Children, Predicates> {
|
|
|
4910
5010
|
* MUST match the key referenced in When node predicates.
|
|
4911
5011
|
*/
|
|
4912
5012
|
customStateKey: string;
|
|
5013
|
+
/**
|
|
5014
|
+
* Optional validation trigger that declares which form-field keys must pass validation
|
|
5015
|
+
* before the custom state is toggled. When omitted, no validation runs and the toggle
|
|
5016
|
+
* behaves as it always has.
|
|
5017
|
+
*/
|
|
5018
|
+
validatorTriggerConfig?: null | ValidationTriggerConfig;
|
|
4913
5019
|
}
|
|
4914
5020
|
/** Transition styles for animating ToggleButtonStateTrigger style changes. */
|
|
4915
5021
|
export interface ToggleButtonStateTriggerTransitions {
|
|
@@ -5436,6 +5542,310 @@ export type CatalogStackedCollectionTemplateNodeChildren = {
|
|
|
5436
5542
|
type: "InlineContainer";
|
|
5437
5543
|
node: InlineContainerModel<LayoutVariantInlineChildren, LayoutVariantWhenPredicate>;
|
|
5438
5544
|
};
|
|
5545
|
+
/**
|
|
5546
|
+
* Actions supported in a child layout with an originating offer. Close retains
|
|
5547
|
+
* its existing dismissal behavior; the child root's advanceOnDismiss controls
|
|
5548
|
+
* whether a user dismissal also progresses the parent.
|
|
5549
|
+
*/
|
|
5550
|
+
export type ChildLayoutAction = {
|
|
5551
|
+
type: "Close";
|
|
5552
|
+
action: CloseActionModel;
|
|
5553
|
+
} | {
|
|
5554
|
+
type: "SetCustomState";
|
|
5555
|
+
action: SetCustomStateActionModel;
|
|
5556
|
+
} | {
|
|
5557
|
+
type: "CreativeResponse";
|
|
5558
|
+
action: ChildCreativeResponseActionModel;
|
|
5559
|
+
};
|
|
5560
|
+
/**
|
|
5561
|
+
* Recursive node types allowed within child-layout containers. Preserves existing
|
|
5562
|
+
* outer-layout controls and adds offer-scoped predicates and device-pay requests.
|
|
5563
|
+
*/
|
|
5564
|
+
export type ChildLayoutChildren = {
|
|
5565
|
+
type: "Form";
|
|
5566
|
+
node: FormModel<ChildLayoutChildren, LayoutVariantWhenPredicate>;
|
|
5567
|
+
} | {
|
|
5568
|
+
type: "TextInput";
|
|
5569
|
+
node: TextInputModel<LayoutVariantWhenPredicate>;
|
|
5570
|
+
} | {
|
|
5571
|
+
type: "ActionButton";
|
|
5572
|
+
node: ActionButtonModel<ChildLayoutNonInteractableChildren, ChildLayoutAction, LayoutVariantWhenPredicate>;
|
|
5573
|
+
} | {
|
|
5574
|
+
type: "Row";
|
|
5575
|
+
node: RowModel<ChildLayoutChildren, LayoutVariantWhenPredicate>;
|
|
5576
|
+
} | {
|
|
5577
|
+
type: "FlowRow";
|
|
5578
|
+
node: FlowRowModel<ChildLayoutChildren, LayoutVariantWhenPredicate>;
|
|
5579
|
+
} | {
|
|
5580
|
+
type: "Column";
|
|
5581
|
+
node: ColumnModel<ChildLayoutChildren, LayoutVariantWhenPredicate>;
|
|
5582
|
+
} | {
|
|
5583
|
+
type: "ScrollableColumn";
|
|
5584
|
+
node: ScrollableColumnModel<ScrollableChildLayoutChildren, LayoutVariantWhenPredicate>;
|
|
5585
|
+
} | {
|
|
5586
|
+
type: "ScrollableRow";
|
|
5587
|
+
node: ScrollableRowModel<ScrollableChildLayoutChildren, LayoutVariantWhenPredicate>;
|
|
5588
|
+
} | {
|
|
5589
|
+
type: "ZStack";
|
|
5590
|
+
node: ZStackModel<ChildLayoutChildren, LayoutVariantWhenPredicate>;
|
|
5591
|
+
} | {
|
|
5592
|
+
type: "StaticImage";
|
|
5593
|
+
node: StaticImageModel<LayoutVariantWhenPredicate>;
|
|
5594
|
+
} | {
|
|
5595
|
+
type: "DataImage";
|
|
5596
|
+
node: DataImageModel<LayoutVariantWhenPredicate>;
|
|
5597
|
+
} | {
|
|
5598
|
+
type: "RichText";
|
|
5599
|
+
node: RichTextModel<LayoutVariantWhenPredicate>;
|
|
5600
|
+
} | {
|
|
5601
|
+
type: "BasicText";
|
|
5602
|
+
node: BasicTextModel<LayoutVariantWhenPredicate>;
|
|
5603
|
+
} | {
|
|
5604
|
+
type: "ProgressIndicator";
|
|
5605
|
+
node: ProgressIndicatorModel<LayoutVariantWhenPredicate>;
|
|
5606
|
+
} | {
|
|
5607
|
+
type: "OneByOneDistribution";
|
|
5608
|
+
node: OneByOneDistributionModel<LayoutVariantWhenPredicate>;
|
|
5609
|
+
} | {
|
|
5610
|
+
type: "When";
|
|
5611
|
+
node: WhenModel<ChildLayoutChildren, LayoutVariantWhenPredicate>;
|
|
5612
|
+
} | {
|
|
5613
|
+
type: "StaticLink";
|
|
5614
|
+
node: StaticLinkModel<ChildLayoutNonInteractableChildren, LayoutVariantWhenPredicate>;
|
|
5615
|
+
} | {
|
|
5616
|
+
type: "CloseButton";
|
|
5617
|
+
node: CloseButtonModel<ChildLayoutNonInteractableChildren, LayoutVariantWhenPredicate>;
|
|
5618
|
+
} | {
|
|
5619
|
+
type: "MinimizeButton";
|
|
5620
|
+
node: MinimizeButtonModel<ChildLayoutNonInteractableChildren, LayoutVariantWhenPredicate>;
|
|
5621
|
+
} | {
|
|
5622
|
+
type: "StackedDistribution";
|
|
5623
|
+
node: StackedDistributionModel<LayoutVariantWhenPredicate>;
|
|
5624
|
+
} | {
|
|
5625
|
+
type: "CarouselDistribution";
|
|
5626
|
+
node: CarouselDistributionModel<LayoutVariantWhenPredicate>;
|
|
5627
|
+
} | {
|
|
5628
|
+
type: "ProgressControl";
|
|
5629
|
+
node: ProgressControlModel<ChildLayoutNonInteractableChildren, LayoutVariantWhenPredicate>;
|
|
5630
|
+
} | {
|
|
5631
|
+
type: "GroupedDistribution";
|
|
5632
|
+
node: GroupedDistributionModel<LayoutVariantWhenPredicate>;
|
|
5633
|
+
} | {
|
|
5634
|
+
type: "DataIcon";
|
|
5635
|
+
node: DataIconModel<LayoutVariantWhenPredicate>;
|
|
5636
|
+
} | {
|
|
5637
|
+
type: "StaticIcon";
|
|
5638
|
+
node: StaticIconModel<LayoutVariantWhenPredicate>;
|
|
5639
|
+
} | {
|
|
5640
|
+
type: "IconGroup";
|
|
5641
|
+
node: IconGroupModel<LayoutVariantWhenPredicate>;
|
|
5642
|
+
} | {
|
|
5643
|
+
type: "SlideStateTrigger";
|
|
5644
|
+
node: SlideStateTriggerModel<LayoutVariantWhenPredicate>;
|
|
5645
|
+
} | {
|
|
5646
|
+
type: "TimerStateTrigger";
|
|
5647
|
+
node: TimerStateTriggerModel;
|
|
5648
|
+
} | {
|
|
5649
|
+
type: "ToggleButtonStateTrigger";
|
|
5650
|
+
node: ToggleButtonStateTriggerModel<ChildLayoutNonInteractableChildren, LayoutVariantWhenPredicate>;
|
|
5651
|
+
} | {
|
|
5652
|
+
type: "ButtonStateTrigger";
|
|
5653
|
+
node: ButtonStateTriggerModel<ChildLayoutNonInteractableChildren, LayoutVariantWhenPredicate>;
|
|
5654
|
+
} | {
|
|
5655
|
+
type: "CopyToClipboardButton";
|
|
5656
|
+
node: CopyToClipboardButtonModel<ChildLayoutNonInteractableChildren, LayoutVariantWhenPredicate>;
|
|
5657
|
+
} | {
|
|
5658
|
+
type: "CatalogDevicePayButton";
|
|
5659
|
+
node: CatalogDevicePayButtonModel<ChildLayoutNonInteractableChildren, LayoutVariantWhenPredicate>;
|
|
5660
|
+
} | {
|
|
5661
|
+
type: "EscapeHatch";
|
|
5662
|
+
node: EscapeHatchModel;
|
|
5663
|
+
} | {
|
|
5664
|
+
type: "InlineContainer";
|
|
5665
|
+
node: InlineContainerModel<ChildLayoutInlineChildren, LayoutVariantWhenPredicate>;
|
|
5666
|
+
};
|
|
5667
|
+
/**
|
|
5668
|
+
* Inline child-layout nodes. Preserves outer-layout inline controls while carrying
|
|
5669
|
+
* offer-scoped predicates through their non-interactive text children.
|
|
5670
|
+
*/
|
|
5671
|
+
export type ChildLayoutInlineChildren = {
|
|
5672
|
+
type: "BasicText";
|
|
5673
|
+
node: InlineBasicTextModel<LayoutVariantWhenPredicate>;
|
|
5674
|
+
} | {
|
|
5675
|
+
type: "StaticLink";
|
|
5676
|
+
node: InlineStaticLinkModel<ChildLayoutNonInteractableInlineChildren, LayoutVariantWhenPredicate>;
|
|
5677
|
+
} | {
|
|
5678
|
+
type: "ToggleButtonStateTrigger";
|
|
5679
|
+
node: InlineToggleButtonStateTriggerModel<ChildLayoutNonInteractableInlineChildren, LayoutVariantWhenPredicate>;
|
|
5680
|
+
} | {
|
|
5681
|
+
type: "ButtonStateTrigger";
|
|
5682
|
+
node: InlineButtonStateTriggerModel<ChildLayoutNonInteractableInlineChildren, LayoutVariantWhenPredicate>;
|
|
5683
|
+
};
|
|
5684
|
+
/**
|
|
5685
|
+
* Non-interactive child-layout nodes. Preserves the outer-layout presentational node
|
|
5686
|
+
* set while carrying offer-scoped predicates through buttons, links, and inline text.
|
|
5687
|
+
*/
|
|
5688
|
+
export type ChildLayoutNonInteractableChildren = {
|
|
5689
|
+
type: "Row";
|
|
5690
|
+
node: RowModel<ChildLayoutNonInteractableChildren, LayoutVariantWhenPredicate>;
|
|
5691
|
+
} | {
|
|
5692
|
+
type: "FlowRow";
|
|
5693
|
+
node: FlowRowModel<ChildLayoutNonInteractableChildren, LayoutVariantWhenPredicate>;
|
|
5694
|
+
} | {
|
|
5695
|
+
type: "Column";
|
|
5696
|
+
node: ColumnModel<ChildLayoutNonInteractableChildren, LayoutVariantWhenPredicate>;
|
|
5697
|
+
} | {
|
|
5698
|
+
type: "ZStack";
|
|
5699
|
+
node: ZStackModel<ChildLayoutNonInteractableChildren, LayoutVariantWhenPredicate>;
|
|
5700
|
+
} | {
|
|
5701
|
+
type: "StaticImage";
|
|
5702
|
+
node: StaticImageModel<LayoutVariantWhenPredicate>;
|
|
5703
|
+
} | {
|
|
5704
|
+
type: "DataImage";
|
|
5705
|
+
node: DataImageModel<LayoutVariantWhenPredicate>;
|
|
5706
|
+
} | {
|
|
5707
|
+
type: "BasicText";
|
|
5708
|
+
node: BasicTextModel<LayoutVariantWhenPredicate>;
|
|
5709
|
+
} | {
|
|
5710
|
+
type: "When";
|
|
5711
|
+
node: WhenModel<ChildLayoutNonInteractableChildren, LayoutVariantWhenPredicate>;
|
|
5712
|
+
} | {
|
|
5713
|
+
type: "DataIcon";
|
|
5714
|
+
node: DataIconModel<LayoutVariantWhenPredicate>;
|
|
5715
|
+
} | {
|
|
5716
|
+
type: "StaticIcon";
|
|
5717
|
+
node: StaticIconModel<LayoutVariantWhenPredicate>;
|
|
5718
|
+
} | {
|
|
5719
|
+
type: "IconGroup";
|
|
5720
|
+
node: IconGroupModel<LayoutVariantWhenPredicate>;
|
|
5721
|
+
} | {
|
|
5722
|
+
type: "EscapeHatch";
|
|
5723
|
+
node: EscapeHatchModel;
|
|
5724
|
+
} | {
|
|
5725
|
+
type: "InlineContainer";
|
|
5726
|
+
node: InlineContainerModel<ChildLayoutInlineChildren, LayoutVariantWhenPredicate>;
|
|
5727
|
+
};
|
|
5728
|
+
/** Non-interactive inline child-layout nodes. Only permits offer-aware basic text. */
|
|
5729
|
+
export type ChildLayoutNonInteractableInlineChildren = {
|
|
5730
|
+
type: "BasicText";
|
|
5731
|
+
node: InlineBasicTextModel<LayoutVariantWhenPredicate>;
|
|
5732
|
+
};
|
|
5733
|
+
/**
|
|
5734
|
+
* Node types valid within child layouts. Preserves the outer-layout structure while
|
|
5735
|
+
* permitting offer-scoped predicates and device-pay requests only within child layouts.
|
|
5736
|
+
*/
|
|
5737
|
+
export type ChildLayoutSchemaModel = {
|
|
5738
|
+
type: "Form";
|
|
5739
|
+
node: FormModel<ChildLayoutChildren, LayoutVariantWhenPredicate>;
|
|
5740
|
+
} | {
|
|
5741
|
+
type: "TextInput";
|
|
5742
|
+
node: TextInputModel<LayoutVariantWhenPredicate>;
|
|
5743
|
+
} | {
|
|
5744
|
+
type: "ActionButton";
|
|
5745
|
+
node: ActionButtonModel<ChildLayoutNonInteractableChildren, ChildLayoutAction, LayoutVariantWhenPredicate>;
|
|
5746
|
+
} | {
|
|
5747
|
+
type: "Row";
|
|
5748
|
+
node: RowModel<ChildLayoutChildren, LayoutVariantWhenPredicate>;
|
|
5749
|
+
} | {
|
|
5750
|
+
type: "FlowRow";
|
|
5751
|
+
node: FlowRowModel<ChildLayoutChildren, LayoutVariantWhenPredicate>;
|
|
5752
|
+
} | {
|
|
5753
|
+
type: "Column";
|
|
5754
|
+
node: ColumnModel<ChildLayoutChildren, LayoutVariantWhenPredicate>;
|
|
5755
|
+
} | {
|
|
5756
|
+
type: "ScrollableColumn";
|
|
5757
|
+
node: ScrollableColumnModel<ScrollableChildLayoutChildren, LayoutVariantWhenPredicate>;
|
|
5758
|
+
} | {
|
|
5759
|
+
type: "ScrollableRow";
|
|
5760
|
+
node: ScrollableRowModel<ScrollableChildLayoutChildren, LayoutVariantWhenPredicate>;
|
|
5761
|
+
} | {
|
|
5762
|
+
type: "ZStack";
|
|
5763
|
+
node: ZStackModel<ChildLayoutChildren, LayoutVariantWhenPredicate>;
|
|
5764
|
+
} | {
|
|
5765
|
+
type: "StaticImage";
|
|
5766
|
+
node: StaticImageModel<LayoutVariantWhenPredicate>;
|
|
5767
|
+
} | {
|
|
5768
|
+
type: "DataImage";
|
|
5769
|
+
node: DataImageModel<LayoutVariantWhenPredicate>;
|
|
5770
|
+
} | {
|
|
5771
|
+
type: "RichText";
|
|
5772
|
+
node: RichTextModel<LayoutVariantWhenPredicate>;
|
|
5773
|
+
} | {
|
|
5774
|
+
type: "BasicText";
|
|
5775
|
+
node: BasicTextModel<LayoutVariantWhenPredicate>;
|
|
5776
|
+
} | {
|
|
5777
|
+
type: "ProgressIndicator";
|
|
5778
|
+
node: ProgressIndicatorModel<LayoutVariantWhenPredicate>;
|
|
5779
|
+
} | {
|
|
5780
|
+
type: "OneByOneDistribution";
|
|
5781
|
+
node: OneByOneDistributionModel<LayoutVariantWhenPredicate>;
|
|
5782
|
+
} | {
|
|
5783
|
+
type: "Overlay";
|
|
5784
|
+
node: OverlayModel<ChildLayoutChildren, LayoutVariantWhenPredicate>;
|
|
5785
|
+
} | {
|
|
5786
|
+
type: "BottomSheet";
|
|
5787
|
+
node: BottomSheetModel<ChildLayoutChildren, LayoutVariantWhenPredicate>;
|
|
5788
|
+
} | {
|
|
5789
|
+
type: "MinimizableBottomSheet";
|
|
5790
|
+
node: MinimizableBottomSheetModel<ChildLayoutChildren, LayoutVariantWhenPredicate>;
|
|
5791
|
+
} | {
|
|
5792
|
+
type: "When";
|
|
5793
|
+
node: WhenModel<ChildLayoutChildren, LayoutVariantWhenPredicate>;
|
|
5794
|
+
} | {
|
|
5795
|
+
type: "StaticLink";
|
|
5796
|
+
node: StaticLinkModel<ChildLayoutNonInteractableChildren, LayoutVariantWhenPredicate>;
|
|
5797
|
+
} | {
|
|
5798
|
+
type: "CloseButton";
|
|
5799
|
+
node: CloseButtonModel<ChildLayoutNonInteractableChildren, LayoutVariantWhenPredicate>;
|
|
5800
|
+
} | {
|
|
5801
|
+
type: "MinimizeButton";
|
|
5802
|
+
node: MinimizeButtonModel<ChildLayoutNonInteractableChildren, LayoutVariantWhenPredicate>;
|
|
5803
|
+
} | {
|
|
5804
|
+
type: "StackedDistribution";
|
|
5805
|
+
node: StackedDistributionModel<LayoutVariantWhenPredicate>;
|
|
5806
|
+
} | {
|
|
5807
|
+
type: "CarouselDistribution";
|
|
5808
|
+
node: CarouselDistributionModel<LayoutVariantWhenPredicate>;
|
|
5809
|
+
} | {
|
|
5810
|
+
type: "ProgressControl";
|
|
5811
|
+
node: ProgressControlModel<ChildLayoutNonInteractableChildren, LayoutVariantWhenPredicate>;
|
|
5812
|
+
} | {
|
|
5813
|
+
type: "GroupedDistribution";
|
|
5814
|
+
node: GroupedDistributionModel<LayoutVariantWhenPredicate>;
|
|
5815
|
+
} | {
|
|
5816
|
+
type: "DataIcon";
|
|
5817
|
+
node: DataIconModel<LayoutVariantWhenPredicate>;
|
|
5818
|
+
} | {
|
|
5819
|
+
type: "StaticIcon";
|
|
5820
|
+
node: StaticIconModel<LayoutVariantWhenPredicate>;
|
|
5821
|
+
} | {
|
|
5822
|
+
type: "IconGroup";
|
|
5823
|
+
node: IconGroupModel<LayoutVariantWhenPredicate>;
|
|
5824
|
+
} | {
|
|
5825
|
+
type: "SlideStateTrigger";
|
|
5826
|
+
node: SlideStateTriggerModel<LayoutVariantWhenPredicate>;
|
|
5827
|
+
} | {
|
|
5828
|
+
type: "TimerStateTrigger";
|
|
5829
|
+
node: TimerStateTriggerModel;
|
|
5830
|
+
} | {
|
|
5831
|
+
type: "ToggleButtonStateTrigger";
|
|
5832
|
+
node: ToggleButtonStateTriggerModel<ChildLayoutNonInteractableChildren, LayoutVariantWhenPredicate>;
|
|
5833
|
+
} | {
|
|
5834
|
+
type: "ButtonStateTrigger";
|
|
5835
|
+
node: ButtonStateTriggerModel<ChildLayoutNonInteractableChildren, LayoutVariantWhenPredicate>;
|
|
5836
|
+
} | {
|
|
5837
|
+
type: "CopyToClipboardButton";
|
|
5838
|
+
node: CopyToClipboardButtonModel<ChildLayoutNonInteractableChildren, LayoutVariantWhenPredicate>;
|
|
5839
|
+
} | {
|
|
5840
|
+
type: "CatalogDevicePayButton";
|
|
5841
|
+
node: CatalogDevicePayButtonModel<ChildLayoutNonInteractableChildren, LayoutVariantWhenPredicate>;
|
|
5842
|
+
} | {
|
|
5843
|
+
type: "EscapeHatch";
|
|
5844
|
+
node: EscapeHatchModel;
|
|
5845
|
+
} | {
|
|
5846
|
+
type: "InlineContainer";
|
|
5847
|
+
node: InlineContainerModel<ChildLayoutInlineChildren, LayoutVariantWhenPredicate>;
|
|
5848
|
+
};
|
|
5439
5849
|
/**
|
|
5440
5850
|
* Fit behaviour options for height.
|
|
5441
5851
|
* Used as the 'value' inside a {"type": "fit", "value": ...} height specification.
|
|
@@ -5494,6 +5904,9 @@ export type LayoutAction = {
|
|
|
5494
5904
|
} | {
|
|
5495
5905
|
type: "InitiateTax";
|
|
5496
5906
|
action: InitiateTaxActionModel;
|
|
5907
|
+
} | {
|
|
5908
|
+
type: "CaptureLead";
|
|
5909
|
+
action: CaptureLeadActionModel;
|
|
5497
5910
|
};
|
|
5498
5911
|
/** Controls how the layout is displayed on the page. */
|
|
5499
5912
|
export type LayoutDisplayPreset =
|
|
@@ -5686,6 +6099,9 @@ export type LayoutVariantAction = {
|
|
|
5686
6099
|
} | {
|
|
5687
6100
|
type: "InitiateTax";
|
|
5688
6101
|
action: InitiateTaxActionModel;
|
|
6102
|
+
} | {
|
|
6103
|
+
type: "CaptureLead";
|
|
6104
|
+
action: CaptureLeadActionModel;
|
|
5689
6105
|
};
|
|
5690
6106
|
/**
|
|
5691
6107
|
* Recursive child node types allowed within layout variant containers. Includes all layout
|
|
@@ -6010,7 +6426,30 @@ export type LayoutVariantSchemaModel = {
|
|
|
6010
6426
|
node: PartnerEventButtonTriggerModel<LayoutVariantNonInteractableChildren, LayoutVariantWhenPredicate>;
|
|
6011
6427
|
} | {
|
|
6012
6428
|
type: "LayoutVariantRoot";
|
|
6013
|
-
node: LayoutVariantRootModel<LayoutVariantChildren, LayoutTimer<LayoutVariantWhenPredicate,
|
|
6429
|
+
node: LayoutVariantRootModel<LayoutVariantChildren, LayoutTimer<LayoutVariantWhenPredicate, LayoutVariantTimerAction>>;
|
|
6430
|
+
};
|
|
6431
|
+
/**
|
|
6432
|
+
* Actions available to a layout variant timer. A timer has no ActionButton
|
|
6433
|
+
* `validates` selection, so it cannot capture a lead.
|
|
6434
|
+
*/
|
|
6435
|
+
export type LayoutVariantTimerAction = {
|
|
6436
|
+
type: "Close";
|
|
6437
|
+
action: CloseActionModel;
|
|
6438
|
+
} | {
|
|
6439
|
+
type: "SetCustomState";
|
|
6440
|
+
action: SetCustomStateActionModel;
|
|
6441
|
+
} | {
|
|
6442
|
+
type: "CreativeResponse";
|
|
6443
|
+
action: CreativeResponseActionModel;
|
|
6444
|
+
} | {
|
|
6445
|
+
type: "CatalogResponse";
|
|
6446
|
+
action: CatalogResponseActionModel;
|
|
6447
|
+
} | {
|
|
6448
|
+
type: "AddToCart";
|
|
6449
|
+
action: AddToCartActionModel;
|
|
6450
|
+
} | {
|
|
6451
|
+
type: "InitiateTax";
|
|
6452
|
+
action: InitiateTaxActionModel;
|
|
6014
6453
|
};
|
|
6015
6454
|
/**
|
|
6016
6455
|
* Predicate types available in the layout variant (offer format) context.
|
|
@@ -6340,6 +6779,9 @@ export type OuterLayoutAction = {
|
|
|
6340
6779
|
} | {
|
|
6341
6780
|
type: "SetCustomState";
|
|
6342
6781
|
action: SetCustomStateActionModel;
|
|
6782
|
+
} | {
|
|
6783
|
+
type: "CaptureLead";
|
|
6784
|
+
action: CaptureLeadActionModel;
|
|
6343
6785
|
};
|
|
6344
6786
|
/**
|
|
6345
6787
|
* Recursive child node types allowed within outer layout containers. Includes structural,
|
|
@@ -6622,6 +7064,17 @@ export type OuterLayoutSchemaModel = {
|
|
|
6622
7064
|
type: "InlineContainer";
|
|
6623
7065
|
node: InlineContainerModel<OuterLayoutInlineChildren, OuterLayoutWhenPredicate>;
|
|
6624
7066
|
};
|
|
7067
|
+
/**
|
|
7068
|
+
* Actions available to an outer layout timer. A timer has no ActionButton
|
|
7069
|
+
* `validates` selection, so it cannot capture a lead.
|
|
7070
|
+
*/
|
|
7071
|
+
export type OuterLayoutTimerAction = {
|
|
7072
|
+
type: "Close";
|
|
7073
|
+
action: CloseActionModel;
|
|
7074
|
+
} | {
|
|
7075
|
+
type: "SetCustomState";
|
|
7076
|
+
action: SetCustomStateActionModel;
|
|
7077
|
+
};
|
|
6625
7078
|
/**
|
|
6626
7079
|
* Predicate types available in the outer layout context. This is a more
|
|
6627
7080
|
* restricted subset of predicates for use in the outer layout wrapper.
|
|
@@ -6703,6 +7156,107 @@ export type PlaceholderPredicate =
|
|
|
6703
7156
|
type: "Numeric";
|
|
6704
7157
|
content: DynamicIntegerPredicate;
|
|
6705
7158
|
};
|
|
7159
|
+
/**
|
|
7160
|
+
* Child-layout nodes permitted within scrollable containers. Retains offer-scoped
|
|
7161
|
+
* predicates and device-pay buttons without allowing nested scrollable or modal nodes.
|
|
7162
|
+
*/
|
|
7163
|
+
export type ScrollableChildLayoutChildren = {
|
|
7164
|
+
type: "Form";
|
|
7165
|
+
node: FormModel<ScrollableChildLayoutChildren, LayoutVariantWhenPredicate>;
|
|
7166
|
+
} | {
|
|
7167
|
+
type: "TextInput";
|
|
7168
|
+
node: TextInputModel<LayoutVariantWhenPredicate>;
|
|
7169
|
+
} | {
|
|
7170
|
+
type: "ActionButton";
|
|
7171
|
+
node: ActionButtonModel<ChildLayoutNonInteractableChildren, ChildLayoutAction, LayoutVariantWhenPredicate>;
|
|
7172
|
+
} | {
|
|
7173
|
+
type: "Row";
|
|
7174
|
+
node: RowModel<ScrollableChildLayoutChildren, LayoutVariantWhenPredicate>;
|
|
7175
|
+
} | {
|
|
7176
|
+
type: "FlowRow";
|
|
7177
|
+
node: FlowRowModel<ScrollableChildLayoutChildren, LayoutVariantWhenPredicate>;
|
|
7178
|
+
} | {
|
|
7179
|
+
type: "Column";
|
|
7180
|
+
node: ColumnModel<ScrollableChildLayoutChildren, LayoutVariantWhenPredicate>;
|
|
7181
|
+
} | {
|
|
7182
|
+
type: "ZStack";
|
|
7183
|
+
node: ZStackModel<ScrollableChildLayoutChildren, LayoutVariantWhenPredicate>;
|
|
7184
|
+
} | {
|
|
7185
|
+
type: "StaticImage";
|
|
7186
|
+
node: StaticImageModel<LayoutVariantWhenPredicate>;
|
|
7187
|
+
} | {
|
|
7188
|
+
type: "DataImage";
|
|
7189
|
+
node: DataImageModel<LayoutVariantWhenPredicate>;
|
|
7190
|
+
} | {
|
|
7191
|
+
type: "RichText";
|
|
7192
|
+
node: RichTextModel<LayoutVariantWhenPredicate>;
|
|
7193
|
+
} | {
|
|
7194
|
+
type: "BasicText";
|
|
7195
|
+
node: BasicTextModel<LayoutVariantWhenPredicate>;
|
|
7196
|
+
} | {
|
|
7197
|
+
type: "ProgressIndicator";
|
|
7198
|
+
node: ProgressIndicatorModel<LayoutVariantWhenPredicate>;
|
|
7199
|
+
} | {
|
|
7200
|
+
type: "OneByOneDistribution";
|
|
7201
|
+
node: OneByOneDistributionModel<LayoutVariantWhenPredicate>;
|
|
7202
|
+
} | {
|
|
7203
|
+
type: "When";
|
|
7204
|
+
node: WhenModel<ScrollableChildLayoutChildren, LayoutVariantWhenPredicate>;
|
|
7205
|
+
} | {
|
|
7206
|
+
type: "StaticLink";
|
|
7207
|
+
node: StaticLinkModel<ChildLayoutNonInteractableChildren, LayoutVariantWhenPredicate>;
|
|
7208
|
+
} | {
|
|
7209
|
+
type: "CloseButton";
|
|
7210
|
+
node: CloseButtonModel<ChildLayoutNonInteractableChildren, LayoutVariantWhenPredicate>;
|
|
7211
|
+
} | {
|
|
7212
|
+
type: "MinimizeButton";
|
|
7213
|
+
node: MinimizeButtonModel<ChildLayoutNonInteractableChildren, LayoutVariantWhenPredicate>;
|
|
7214
|
+
} | {
|
|
7215
|
+
type: "StackedDistribution";
|
|
7216
|
+
node: StackedDistributionModel<LayoutVariantWhenPredicate>;
|
|
7217
|
+
} | {
|
|
7218
|
+
type: "CarouselDistribution";
|
|
7219
|
+
node: CarouselDistributionModel<LayoutVariantWhenPredicate>;
|
|
7220
|
+
} | {
|
|
7221
|
+
type: "ProgressControl";
|
|
7222
|
+
node: ProgressControlModel<ChildLayoutNonInteractableChildren, LayoutVariantWhenPredicate>;
|
|
7223
|
+
} | {
|
|
7224
|
+
type: "GroupedDistribution";
|
|
7225
|
+
node: GroupedDistributionModel<LayoutVariantWhenPredicate>;
|
|
7226
|
+
} | {
|
|
7227
|
+
type: "DataIcon";
|
|
7228
|
+
node: DataIconModel<LayoutVariantWhenPredicate>;
|
|
7229
|
+
} | {
|
|
7230
|
+
type: "StaticIcon";
|
|
7231
|
+
node: StaticIconModel<LayoutVariantWhenPredicate>;
|
|
7232
|
+
} | {
|
|
7233
|
+
type: "IconGroup";
|
|
7234
|
+
node: IconGroupModel<LayoutVariantWhenPredicate>;
|
|
7235
|
+
} | {
|
|
7236
|
+
type: "SlideStateTrigger";
|
|
7237
|
+
node: SlideStateTriggerModel<LayoutVariantWhenPredicate>;
|
|
7238
|
+
} | {
|
|
7239
|
+
type: "TimerStateTrigger";
|
|
7240
|
+
node: TimerStateTriggerModel;
|
|
7241
|
+
} | {
|
|
7242
|
+
type: "ToggleButtonStateTrigger";
|
|
7243
|
+
node: ToggleButtonStateTriggerModel<ChildLayoutNonInteractableChildren, LayoutVariantWhenPredicate>;
|
|
7244
|
+
} | {
|
|
7245
|
+
type: "ButtonStateTrigger";
|
|
7246
|
+
node: ButtonStateTriggerModel<ChildLayoutNonInteractableChildren, LayoutVariantWhenPredicate>;
|
|
7247
|
+
} | {
|
|
7248
|
+
type: "CopyToClipboardButton";
|
|
7249
|
+
node: CopyToClipboardButtonModel<ChildLayoutNonInteractableChildren, LayoutVariantWhenPredicate>;
|
|
7250
|
+
} | {
|
|
7251
|
+
type: "CatalogDevicePayButton";
|
|
7252
|
+
node: CatalogDevicePayButtonModel<ChildLayoutNonInteractableChildren, LayoutVariantWhenPredicate>;
|
|
7253
|
+
} | {
|
|
7254
|
+
type: "EscapeHatch";
|
|
7255
|
+
node: EscapeHatchModel;
|
|
7256
|
+
} | {
|
|
7257
|
+
type: "InlineContainer";
|
|
7258
|
+
node: InlineContainerModel<ChildLayoutInlineChildren, LayoutVariantWhenPredicate>;
|
|
7259
|
+
};
|
|
6706
7260
|
/**
|
|
6707
7261
|
* Child node types allowed inside scrollable containers (ScrollableColumn, ScrollableRow)
|
|
6708
7262
|
* in the combined SDK schema. Excludes overlay and bottom sheet nodes that cannot scroll.
|