@rokt/dcui-orchestrator 0.0.2-rc.8 → 0.0.3-rc.1
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 +23 -23
- package/dist/index.js +24 -24
- package/dist/libraries/domain/src/behaviors/offer-engagement.d.ts +8 -0
- package/dist/libraries/domain/src/models/layout/index.d.ts +1 -0
- package/dist/libraries/domain/src/models/layout/layout-conversion-type.d.ts +4 -0
- package/dist/libraries/domain/src/models/layout/layout-creative-response-option.d.ts +3 -0
- package/dist/libraries/domain/src/models/plugin/plugin-creative-response-option.d.ts +6 -0
- package/dist/libraries/layout-renderer-utils/src/components/bottom-sheet/bottom-sheet.d.ts +2 -1
- package/dist/libraries/layout-renderer-utils/src/components/overlay/overlay.d.ts +2 -1
- package/dist/libraries/plugin-utils/src/translate-config.d.ts +5 -1
- package/dist/libraries/saga-utils/src/utils/index.d.ts +0 -1
- package/dist/modules/standard-marketing/src/sagas/offer-engagement/sagas.d.ts +13 -2
- package/node_modules/@rokt/dcui-layout-schema/dist/schema.d.ts +115 -11
- 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 +24 -24
- package/node_modules/@rokt/dcui-layout-schema/v0.10/index.d.ts +24 -24
- package/node_modules/@rokt/dcui-layout-schema/v0.11/index.d.ts +26 -26
- package/node_modules/@rokt/dcui-layout-schema/v0.12/index.d.ts +26 -26
- package/node_modules/@rokt/dcui-layout-schema/v0.13/index.d.ts +24 -24
- package/node_modules/@rokt/dcui-layout-schema/v0.14/index.d.ts +24 -24
- package/node_modules/@rokt/dcui-layout-schema/v0.15/index.d.ts +24 -24
- package/node_modules/@rokt/dcui-layout-schema/v0.16/index.d.ts +24 -24
- package/node_modules/@rokt/dcui-layout-schema/v0.17/index.d.ts +24 -24
- package/node_modules/@rokt/dcui-layout-schema/v0.18/index.d.ts +26 -26
- package/node_modules/@rokt/dcui-layout-schema/v0.19/index.d.ts +26 -26
- package/node_modules/@rokt/dcui-layout-schema/v0.2/index.d.ts +24 -24
- package/node_modules/@rokt/dcui-layout-schema/v0.20/index.d.ts +28 -28
- package/node_modules/@rokt/dcui-layout-schema/v0.21/index.d.ts +28 -28
- package/node_modules/@rokt/dcui-layout-schema/v0.22/index.d.ts +30 -30
- package/node_modules/@rokt/dcui-layout-schema/v0.23/index.d.ts +30 -30
- package/node_modules/@rokt/dcui-layout-schema/v0.3/index.d.ts +24 -24
- package/node_modules/@rokt/dcui-layout-schema/v0.4/index.d.ts +24 -24
- package/node_modules/@rokt/dcui-layout-schema/v0.5/index.d.ts +24 -24
- package/node_modules/@rokt/dcui-layout-schema/v0.6/index.d.ts +24 -24
- package/node_modules/@rokt/dcui-layout-schema/v0.7/index.d.ts +24 -24
- package/node_modules/@rokt/dcui-layout-schema/v0.8/index.d.ts +24 -24
- package/node_modules/@rokt/dcui-layout-schema/v0.9/index.d.ts +24 -24
- package/node_modules/@rokt/dcui-layout-schema/v1.0/index.d.ts +8 -8
- package/node_modules/@rokt/dcui-layout-schema/v1.1/index.d.ts +8 -8
- package/node_modules/@rokt/dcui-layout-schema/v1.2/index.d.ts +8 -8
- package/node_modules/@rokt/dcui-layout-schema/v1.3/index.d.ts +8 -8
- package/node_modules/@rokt/dcui-layout-schema/v1.4/index.d.ts +11 -11
- package/node_modules/@rokt/dcui-layout-schema/v1.5/index.d.ts +11 -11
- package/node_modules/@rokt/dcui-layout-schema/v1.6/index.d.ts +11 -11
- package/node_modules/@rokt/kit/cjs/reactive/first-value-from.js +9 -1
- package/node_modules/@rokt/kit/package.json +2 -2
- package/node_modules/@rokt/kit/reactive/first-value-from.js +9 -1
- package/package.json +2 -2
- package/dist/libraries/saga-utils/src/utils/is-realtime-fulfillment-referral.d.ts +0 -4
|
@@ -17,12 +17,12 @@ export interface BackgroundStylingProperties {
|
|
|
17
17
|
backgroundColor?: null | ThemeColor;
|
|
18
18
|
backgroundImage?: null | BackgroundImage;
|
|
19
19
|
}
|
|
20
|
-
export interface BasicStateStylingBlock<
|
|
21
|
-
default:
|
|
22
|
-
pressed?: null |
|
|
23
|
-
hovered?: null |
|
|
24
|
-
focussed?: null |
|
|
25
|
-
disabled?: null |
|
|
20
|
+
export interface BasicStateStylingBlock<StyleProperties> {
|
|
21
|
+
default: StyleProperties;
|
|
22
|
+
pressed?: null | StyleProperties;
|
|
23
|
+
hovered?: null | StyleProperties;
|
|
24
|
+
focussed?: null | StyleProperties;
|
|
25
|
+
disabled?: null | StyleProperties;
|
|
26
26
|
}
|
|
27
27
|
export type DimensionWidthValue = {
|
|
28
28
|
type: "fixed";
|
|
@@ -121,8 +121,8 @@ export interface BreakpointPredicate {
|
|
|
121
121
|
condition: OrderableWhenCondition;
|
|
122
122
|
value: string;
|
|
123
123
|
}
|
|
124
|
-
export interface StatelessStylingBlock<
|
|
125
|
-
default:
|
|
124
|
+
export interface StatelessStylingBlock<StyleProperties> {
|
|
125
|
+
default: StyleProperties;
|
|
126
126
|
}
|
|
127
127
|
export type FlexPosition = "center" | "flex-start" | "flex-end";
|
|
128
128
|
export interface Shadow {
|
|
@@ -184,9 +184,9 @@ export interface CatalogResponseButtonElements {
|
|
|
184
184
|
export interface CatalogResponseButtonTransitions {
|
|
185
185
|
own?: null | CatalogResponseButtonStyles;
|
|
186
186
|
}
|
|
187
|
-
export interface CatalogResponseButtonModel<
|
|
187
|
+
export interface CatalogResponseButtonModel<Children> {
|
|
188
188
|
styles?: null | LayoutStyle<CatalogResponseButtonElements, CatalogResponseButtonTransitions>;
|
|
189
|
-
children:
|
|
189
|
+
children: Children[];
|
|
190
190
|
}
|
|
191
191
|
export interface CatalogStackedCollectionStyles {
|
|
192
192
|
container?: null | ContainerStylingProperties;
|
|
@@ -220,9 +220,9 @@ export interface CloseButtonElements {
|
|
|
220
220
|
export interface CloseButtonTransitions {
|
|
221
221
|
own?: null | CloseButtonStyles;
|
|
222
222
|
}
|
|
223
|
-
export interface CloseButtonModel<
|
|
223
|
+
export interface CloseButtonModel<Children> {
|
|
224
224
|
styles?: null | LayoutStyle<CloseButtonElements, CloseButtonTransitions>;
|
|
225
|
-
children:
|
|
225
|
+
children: Children[];
|
|
226
226
|
dismissalMethod?: null | string;
|
|
227
227
|
}
|
|
228
228
|
export interface ColumnStyle {
|
|
@@ -239,9 +239,9 @@ export interface ColumnElements {
|
|
|
239
239
|
export interface ColumnTransitions {
|
|
240
240
|
own?: null | ColumnStyle;
|
|
241
241
|
}
|
|
242
|
-
export interface ColumnModel<
|
|
242
|
+
export interface ColumnModel<Children> {
|
|
243
243
|
styles?: null | LayoutStyle<ColumnElements, ColumnTransitions>;
|
|
244
|
-
children:
|
|
244
|
+
children: Children[];
|
|
245
245
|
}
|
|
246
246
|
export type WhenPredicate = {
|
|
247
247
|
type: "Breakpoint";
|
|
@@ -290,11 +290,11 @@ export interface CreativeResponseTransitions {
|
|
|
290
290
|
own?: null | CreativeResponseStyles;
|
|
291
291
|
}
|
|
292
292
|
export type LinkOpenTarget = "internally" | "externally";
|
|
293
|
-
export interface CreativeResponseModel<
|
|
293
|
+
export interface CreativeResponseModel<Children> {
|
|
294
294
|
responseKey: string;
|
|
295
295
|
styles?: null | LayoutStyle<CreativeResponseElements, CreativeResponseTransitions>;
|
|
296
296
|
openLinks?: null | LinkOpenTarget;
|
|
297
|
-
children:
|
|
297
|
+
children: Children[];
|
|
298
298
|
}
|
|
299
299
|
export interface CustomStatePredicate {
|
|
300
300
|
key: string;
|
|
@@ -366,9 +366,9 @@ export interface FlowRowElements {
|
|
|
366
366
|
export interface FlowRowTransitions {
|
|
367
367
|
own?: null | FlowRowStyle;
|
|
368
368
|
}
|
|
369
|
-
export interface FlowRowModel<
|
|
369
|
+
export interface FlowRowModel<Children> {
|
|
370
370
|
styles?: null | LayoutStyle<FlowRowElements, FlowRowTransitions>;
|
|
371
|
-
children:
|
|
371
|
+
children: Children[];
|
|
372
372
|
}
|
|
373
373
|
export interface GroupedDistributionStyles {
|
|
374
374
|
container?: null | ContainerStylingProperties;
|
|
@@ -463,10 +463,10 @@ export interface OverlayTransitions {
|
|
|
463
463
|
own?: null | OverlayStyles;
|
|
464
464
|
wrapper?: null | OverlayWrapperStyles;
|
|
465
465
|
}
|
|
466
|
-
export interface OverlayModel<
|
|
466
|
+
export interface OverlayModel<Children> {
|
|
467
467
|
settings: OverlaySettings;
|
|
468
468
|
styles?: null | LayoutStyle<OverlayElements, OverlayTransitions>;
|
|
469
|
-
children:
|
|
469
|
+
children: Children[];
|
|
470
470
|
}
|
|
471
471
|
export interface PositionPredicate {
|
|
472
472
|
condition: OrderableWhenCondition;
|
|
@@ -565,9 +565,9 @@ export interface RowElements {
|
|
|
565
565
|
export interface RowTransitions {
|
|
566
566
|
own?: null | RowStyle;
|
|
567
567
|
}
|
|
568
|
-
export interface RowModel<
|
|
568
|
+
export interface RowModel<Children> {
|
|
569
569
|
styles?: null | LayoutStyle<RowElements, RowTransitions>;
|
|
570
|
-
children:
|
|
570
|
+
children: Children[];
|
|
571
571
|
}
|
|
572
572
|
export interface SlideStateTriggerOwnStyles {
|
|
573
573
|
container?: null | ContainerStylingProperties;
|
|
@@ -698,11 +698,11 @@ export interface StaticLinkElements {
|
|
|
698
698
|
export interface StaticLinkTransitions {
|
|
699
699
|
own?: null | StaticLinkStyles;
|
|
700
700
|
}
|
|
701
|
-
export interface StaticLinkModel<
|
|
701
|
+
export interface StaticLinkModel<Children> {
|
|
702
702
|
src: string;
|
|
703
703
|
open: LinkOpenTarget;
|
|
704
704
|
styles?: null | LayoutStyle<StaticLinkElements, StaticLinkTransitions>;
|
|
705
|
-
children:
|
|
705
|
+
children: Children[];
|
|
706
706
|
}
|
|
707
707
|
export interface ToggleButtonStateTriggerStyle {
|
|
708
708
|
container?: null | ContainerStylingProperties;
|
|
@@ -718,9 +718,9 @@ export interface ToggleButtonStateTriggerElements {
|
|
|
718
718
|
export interface ToggleButtonStateTriggerTransitions {
|
|
719
719
|
own?: null | ToggleButtonStateTriggerStyle;
|
|
720
720
|
}
|
|
721
|
-
export interface ToggleButtonStateTriggerModel<
|
|
721
|
+
export interface ToggleButtonStateTriggerModel<Children> {
|
|
722
722
|
styles?: null | LayoutStyle<ToggleButtonStateTriggerElements, ToggleButtonStateTriggerTransitions>;
|
|
723
|
-
children:
|
|
723
|
+
children: Children[];
|
|
724
724
|
customStateKey: string;
|
|
725
725
|
}
|
|
726
726
|
export type InTransition = {
|
|
@@ -736,9 +736,9 @@ export interface WhenTransition {
|
|
|
736
736
|
out?: null | OutTransition[];
|
|
737
737
|
}
|
|
738
738
|
export type WhenHidden = "visually" | "functionally";
|
|
739
|
-
export interface WhenModel<
|
|
739
|
+
export interface WhenModel<Children> {
|
|
740
740
|
predicates: WhenPredicate[];
|
|
741
|
-
children:
|
|
741
|
+
children: Children[];
|
|
742
742
|
transition?: null | WhenTransition;
|
|
743
743
|
hide?: null | WhenHidden;
|
|
744
744
|
}
|
|
@@ -763,9 +763,9 @@ export interface ZStackElements {
|
|
|
763
763
|
export interface ZStackTransitions {
|
|
764
764
|
own?: null | ZStackStyle;
|
|
765
765
|
}
|
|
766
|
-
export interface ZStackModel<
|
|
766
|
+
export interface ZStackModel<Children> {
|
|
767
767
|
styles?: null | LayoutStyle<ZStackElements, ZStackTransitions>;
|
|
768
|
-
children:
|
|
768
|
+
children: Children[];
|
|
769
769
|
}
|
|
770
770
|
export type CatalogResponseButtonChildren = {
|
|
771
771
|
type: "Row";
|
|
@@ -17,12 +17,12 @@ export interface BackgroundStylingProperties {
|
|
|
17
17
|
backgroundColor?: null | ThemeColor;
|
|
18
18
|
backgroundImage?: null | BackgroundImage;
|
|
19
19
|
}
|
|
20
|
-
export interface BasicStateStylingBlock<
|
|
21
|
-
default:
|
|
22
|
-
pressed?: null |
|
|
23
|
-
hovered?: null |
|
|
24
|
-
focussed?: null |
|
|
25
|
-
disabled?: null |
|
|
20
|
+
export interface BasicStateStylingBlock<StyleProperties> {
|
|
21
|
+
default: StyleProperties;
|
|
22
|
+
pressed?: null | StyleProperties;
|
|
23
|
+
hovered?: null | StyleProperties;
|
|
24
|
+
focussed?: null | StyleProperties;
|
|
25
|
+
disabled?: null | StyleProperties;
|
|
26
26
|
}
|
|
27
27
|
export type DimensionWidthValue = {
|
|
28
28
|
type: "fixed";
|
|
@@ -121,8 +121,8 @@ export interface BreakpointPredicate {
|
|
|
121
121
|
condition: OrderableWhenCondition;
|
|
122
122
|
value: string;
|
|
123
123
|
}
|
|
124
|
-
export interface StatelessStylingBlock<
|
|
125
|
-
default:
|
|
124
|
+
export interface StatelessStylingBlock<StyleProperties> {
|
|
125
|
+
default: StyleProperties;
|
|
126
126
|
}
|
|
127
127
|
export type FlexPosition = "center" | "flex-start" | "flex-end";
|
|
128
128
|
export interface Shadow {
|
|
@@ -184,9 +184,9 @@ export interface CatalogResponseButtonElements {
|
|
|
184
184
|
export interface CatalogResponseButtonTransitions {
|
|
185
185
|
own?: null | CatalogResponseButtonStyles;
|
|
186
186
|
}
|
|
187
|
-
export interface CatalogResponseButtonModel<
|
|
187
|
+
export interface CatalogResponseButtonModel<Children> {
|
|
188
188
|
styles?: null | LayoutStyle<CatalogResponseButtonElements, CatalogResponseButtonTransitions>;
|
|
189
|
-
children:
|
|
189
|
+
children: Children[];
|
|
190
190
|
}
|
|
191
191
|
export interface CatalogStackedCollectionStyles {
|
|
192
192
|
container?: null | ContainerStylingProperties;
|
|
@@ -220,9 +220,9 @@ export interface CloseButtonElements {
|
|
|
220
220
|
export interface CloseButtonTransitions {
|
|
221
221
|
own?: null | CloseButtonStyles;
|
|
222
222
|
}
|
|
223
|
-
export interface CloseButtonModel<
|
|
223
|
+
export interface CloseButtonModel<Children> {
|
|
224
224
|
styles?: null | LayoutStyle<CloseButtonElements, CloseButtonTransitions>;
|
|
225
|
-
children:
|
|
225
|
+
children: Children[];
|
|
226
226
|
dismissalMethod?: null | string;
|
|
227
227
|
}
|
|
228
228
|
export interface ColumnStyle {
|
|
@@ -239,9 +239,9 @@ export interface ColumnElements {
|
|
|
239
239
|
export interface ColumnTransitions {
|
|
240
240
|
own?: null | ColumnStyle;
|
|
241
241
|
}
|
|
242
|
-
export interface ColumnModel<
|
|
242
|
+
export interface ColumnModel<Children> {
|
|
243
243
|
styles?: null | LayoutStyle<ColumnElements, ColumnTransitions>;
|
|
244
|
-
children:
|
|
244
|
+
children: Children[];
|
|
245
245
|
}
|
|
246
246
|
export type WhenPredicate = {
|
|
247
247
|
type: "Breakpoint";
|
|
@@ -293,11 +293,11 @@ export interface CreativeResponseTransitions {
|
|
|
293
293
|
own?: null | CreativeResponseStyles;
|
|
294
294
|
}
|
|
295
295
|
export type LinkOpenTarget = "internally" | "externally";
|
|
296
|
-
export interface CreativeResponseModel<
|
|
296
|
+
export interface CreativeResponseModel<Children> {
|
|
297
297
|
responseKey: string;
|
|
298
298
|
styles?: null | LayoutStyle<CreativeResponseElements, CreativeResponseTransitions>;
|
|
299
299
|
openLinks?: null | LinkOpenTarget;
|
|
300
|
-
children:
|
|
300
|
+
children: Children[];
|
|
301
301
|
}
|
|
302
302
|
export interface CustomStatePredicate {
|
|
303
303
|
key: string;
|
|
@@ -369,9 +369,9 @@ export interface FlowRowElements {
|
|
|
369
369
|
export interface FlowRowTransitions {
|
|
370
370
|
own?: null | FlowRowStyle;
|
|
371
371
|
}
|
|
372
|
-
export interface FlowRowModel<
|
|
372
|
+
export interface FlowRowModel<Children> {
|
|
373
373
|
styles?: null | LayoutStyle<FlowRowElements, FlowRowTransitions>;
|
|
374
|
-
children:
|
|
374
|
+
children: Children[];
|
|
375
375
|
}
|
|
376
376
|
export interface GroupedDistributionStyles {
|
|
377
377
|
container?: null | ContainerStylingProperties;
|
|
@@ -466,10 +466,10 @@ export interface OverlayTransitions {
|
|
|
466
466
|
own?: null | OverlayStyles;
|
|
467
467
|
wrapper?: null | OverlayWrapperStyles;
|
|
468
468
|
}
|
|
469
|
-
export interface OverlayModel<
|
|
469
|
+
export interface OverlayModel<Children> {
|
|
470
470
|
settings: OverlaySettings;
|
|
471
471
|
styles?: null | LayoutStyle<OverlayElements, OverlayTransitions>;
|
|
472
|
-
children:
|
|
472
|
+
children: Children[];
|
|
473
473
|
}
|
|
474
474
|
export interface PositionPredicate {
|
|
475
475
|
condition: OrderableWhenCondition;
|
|
@@ -568,9 +568,9 @@ export interface RowElements {
|
|
|
568
568
|
export interface RowTransitions {
|
|
569
569
|
own?: null | RowStyle;
|
|
570
570
|
}
|
|
571
|
-
export interface RowModel<
|
|
571
|
+
export interface RowModel<Children> {
|
|
572
572
|
styles?: null | LayoutStyle<RowElements, RowTransitions>;
|
|
573
|
-
children:
|
|
573
|
+
children: Children[];
|
|
574
574
|
}
|
|
575
575
|
export interface SlideStateTriggerOwnStyles {
|
|
576
576
|
container?: null | ContainerStylingProperties;
|
|
@@ -701,11 +701,11 @@ export interface StaticLinkElements {
|
|
|
701
701
|
export interface StaticLinkTransitions {
|
|
702
702
|
own?: null | StaticLinkStyles;
|
|
703
703
|
}
|
|
704
|
-
export interface StaticLinkModel<
|
|
704
|
+
export interface StaticLinkModel<Children> {
|
|
705
705
|
src: string;
|
|
706
706
|
open: LinkOpenTarget;
|
|
707
707
|
styles?: null | LayoutStyle<StaticLinkElements, StaticLinkTransitions>;
|
|
708
|
-
children:
|
|
708
|
+
children: Children[];
|
|
709
709
|
}
|
|
710
710
|
export interface StaticStringPredicate {
|
|
711
711
|
input: string;
|
|
@@ -726,9 +726,9 @@ export interface ToggleButtonStateTriggerElements {
|
|
|
726
726
|
export interface ToggleButtonStateTriggerTransitions {
|
|
727
727
|
own?: null | ToggleButtonStateTriggerStyle;
|
|
728
728
|
}
|
|
729
|
-
export interface ToggleButtonStateTriggerModel<
|
|
729
|
+
export interface ToggleButtonStateTriggerModel<Children> {
|
|
730
730
|
styles?: null | LayoutStyle<ToggleButtonStateTriggerElements, ToggleButtonStateTriggerTransitions>;
|
|
731
|
-
children:
|
|
731
|
+
children: Children[];
|
|
732
732
|
customStateKey: string;
|
|
733
733
|
}
|
|
734
734
|
export type InTransition = {
|
|
@@ -744,9 +744,9 @@ export interface WhenTransition {
|
|
|
744
744
|
out?: null | OutTransition[];
|
|
745
745
|
}
|
|
746
746
|
export type WhenHidden = "visually" | "functionally";
|
|
747
|
-
export interface WhenModel<
|
|
747
|
+
export interface WhenModel<Children> {
|
|
748
748
|
predicates: WhenPredicate[];
|
|
749
|
-
children:
|
|
749
|
+
children: Children[];
|
|
750
750
|
transition?: null | WhenTransition;
|
|
751
751
|
hide?: null | WhenHidden;
|
|
752
752
|
}
|
|
@@ -771,9 +771,9 @@ export interface ZStackElements {
|
|
|
771
771
|
export interface ZStackTransitions {
|
|
772
772
|
own?: null | ZStackStyle;
|
|
773
773
|
}
|
|
774
|
-
export interface ZStackModel<
|
|
774
|
+
export interface ZStackModel<Children> {
|
|
775
775
|
styles?: null | LayoutStyle<ZStackElements, ZStackTransitions>;
|
|
776
|
-
children:
|
|
776
|
+
children: Children[];
|
|
777
777
|
}
|
|
778
778
|
export type CatalogResponseButtonChildren = {
|
|
779
779
|
type: "Row";
|
|
@@ -17,12 +17,12 @@ export interface BackgroundStylingProperties {
|
|
|
17
17
|
backgroundColor?: null | ThemeColor;
|
|
18
18
|
backgroundImage?: null | BackgroundImage;
|
|
19
19
|
}
|
|
20
|
-
export interface BasicStateStylingBlock<
|
|
21
|
-
default:
|
|
22
|
-
pressed?: null |
|
|
23
|
-
hovered?: null |
|
|
24
|
-
focussed?: null |
|
|
25
|
-
disabled?: null |
|
|
20
|
+
export interface BasicStateStylingBlock<StyleProperties> {
|
|
21
|
+
default: StyleProperties;
|
|
22
|
+
pressed?: null | StyleProperties;
|
|
23
|
+
hovered?: null | StyleProperties;
|
|
24
|
+
focussed?: null | StyleProperties;
|
|
25
|
+
disabled?: null | StyleProperties;
|
|
26
26
|
}
|
|
27
27
|
export type DimensionWidthValue = {
|
|
28
28
|
type: "fixed";
|
|
@@ -93,8 +93,8 @@ export interface BasicTextStyle {
|
|
|
93
93
|
export interface BasicTextElements {
|
|
94
94
|
own: BasicStateStylingBlock<BasicTextStyle>[];
|
|
95
95
|
}
|
|
96
|
-
export interface LayoutStyle<
|
|
97
|
-
elements:
|
|
96
|
+
export interface LayoutStyle<Elements> {
|
|
97
|
+
elements: Elements;
|
|
98
98
|
}
|
|
99
99
|
export interface BasicTextModel {
|
|
100
100
|
styles?: null | LayoutStyle<BasicTextElements>;
|
|
@@ -112,8 +112,8 @@ export interface BreakpointPredicate {
|
|
|
112
112
|
condition: OrderableWhenCondition;
|
|
113
113
|
value: string;
|
|
114
114
|
}
|
|
115
|
-
export interface StatelessStylingBlock<
|
|
116
|
-
default:
|
|
115
|
+
export interface StatelessStylingBlock<StyleProperties> {
|
|
116
|
+
default: StyleProperties;
|
|
117
117
|
}
|
|
118
118
|
export type FlexPosition = "center" | "flex-start" | "flex-end";
|
|
119
119
|
export interface Shadow {
|
|
@@ -168,9 +168,9 @@ export interface CloseButtonStyles {
|
|
|
168
168
|
export interface CloseButtonElements {
|
|
169
169
|
own: BasicStateStylingBlock<CloseButtonStyles>[];
|
|
170
170
|
}
|
|
171
|
-
export interface CloseButtonModel<
|
|
171
|
+
export interface CloseButtonModel<Children> {
|
|
172
172
|
styles?: null | LayoutStyle<CloseButtonElements>;
|
|
173
|
-
children:
|
|
173
|
+
children: Children[];
|
|
174
174
|
}
|
|
175
175
|
export interface ColumnStyle {
|
|
176
176
|
container?: null | ContainerStylingProperties;
|
|
@@ -183,9 +183,9 @@ export interface ColumnStyle {
|
|
|
183
183
|
export interface ColumnElements {
|
|
184
184
|
own: BasicStateStylingBlock<ColumnStyle>[];
|
|
185
185
|
}
|
|
186
|
-
export interface ColumnModel<
|
|
186
|
+
export interface ColumnModel<Children> {
|
|
187
187
|
styles?: null | LayoutStyle<ColumnElements>;
|
|
188
|
-
children:
|
|
188
|
+
children: Children[];
|
|
189
189
|
}
|
|
190
190
|
export type ExistenceWhenCondition = "exists" | "not-exists";
|
|
191
191
|
export interface CreativeCopyPredicate {
|
|
@@ -204,11 +204,11 @@ export interface CreativeResponseElements {
|
|
|
204
204
|
own: BasicStateStylingBlock<CreativeResponseStyles>[];
|
|
205
205
|
}
|
|
206
206
|
export type LinkOpenTarget = "internally" | "externally";
|
|
207
|
-
export interface CreativeResponseModel<
|
|
207
|
+
export interface CreativeResponseModel<Children> {
|
|
208
208
|
responseKey: string;
|
|
209
209
|
styles?: null | LayoutStyle<CreativeResponseElements>;
|
|
210
210
|
openLinks?: null | LinkOpenTarget;
|
|
211
|
-
children:
|
|
211
|
+
children: Children[];
|
|
212
212
|
}
|
|
213
213
|
export type EqualityWhenCondition = "is" | "is-not";
|
|
214
214
|
export interface DarkModePredicate {
|
|
@@ -293,10 +293,10 @@ export interface OverlayElements {
|
|
|
293
293
|
export interface OverlaySettings {
|
|
294
294
|
allowBackdropToClose: boolean;
|
|
295
295
|
}
|
|
296
|
-
export interface OverlayModel<
|
|
296
|
+
export interface OverlayModel<Children> {
|
|
297
297
|
settings: OverlaySettings;
|
|
298
298
|
styles?: null | LayoutStyle<OverlayElements>;
|
|
299
|
-
children:
|
|
299
|
+
children: Children[];
|
|
300
300
|
}
|
|
301
301
|
export interface PositionPredicate {
|
|
302
302
|
condition: OrderableWhenCondition;
|
|
@@ -377,9 +377,9 @@ export interface RowStyle {
|
|
|
377
377
|
export interface RowElements {
|
|
378
378
|
own: BasicStateStylingBlock<RowStyle>[];
|
|
379
379
|
}
|
|
380
|
-
export interface RowModel<
|
|
380
|
+
export interface RowModel<Children> {
|
|
381
381
|
styles?: null | LayoutStyle<RowElements>;
|
|
382
|
-
children:
|
|
382
|
+
children: Children[];
|
|
383
383
|
}
|
|
384
384
|
export interface StackedDistributionStyles {
|
|
385
385
|
container?: null | ContainerStylingProperties;
|
|
@@ -426,11 +426,11 @@ export interface StaticLinkStyles {
|
|
|
426
426
|
export interface StaticLinkElements {
|
|
427
427
|
own: BasicStateStylingBlock<StaticLinkStyles>[];
|
|
428
428
|
}
|
|
429
|
-
export interface StaticLinkModel<
|
|
429
|
+
export interface StaticLinkModel<Children> {
|
|
430
430
|
src: string;
|
|
431
431
|
open: LinkOpenTarget;
|
|
432
432
|
styles?: null | LayoutStyle<StaticLinkElements>;
|
|
433
|
-
children:
|
|
433
|
+
children: Children[];
|
|
434
434
|
}
|
|
435
435
|
export type WhenPredicate = {
|
|
436
436
|
type: "Breakpoint";
|
|
@@ -448,9 +448,9 @@ export type WhenPredicate = {
|
|
|
448
448
|
type: "CreativeCopy";
|
|
449
449
|
predicate: CreativeCopyPredicate;
|
|
450
450
|
};
|
|
451
|
-
export interface WhenModel<
|
|
451
|
+
export interface WhenModel<Children> {
|
|
452
452
|
predicates: WhenPredicate[];
|
|
453
|
-
children:
|
|
453
|
+
children: Children[];
|
|
454
454
|
}
|
|
455
455
|
export type CloseButtonChildren = {
|
|
456
456
|
type: "Row";
|
|
@@ -17,12 +17,12 @@ export interface BackgroundStylingProperties {
|
|
|
17
17
|
backgroundColor?: null | ThemeColor;
|
|
18
18
|
backgroundImage?: null | BackgroundImage;
|
|
19
19
|
}
|
|
20
|
-
export interface BasicStateStylingBlock<
|
|
21
|
-
default:
|
|
22
|
-
pressed?: null |
|
|
23
|
-
hovered?: null |
|
|
24
|
-
focussed?: null |
|
|
25
|
-
disabled?: null |
|
|
20
|
+
export interface BasicStateStylingBlock<StyleProperties> {
|
|
21
|
+
default: StyleProperties;
|
|
22
|
+
pressed?: null | StyleProperties;
|
|
23
|
+
hovered?: null | StyleProperties;
|
|
24
|
+
focussed?: null | StyleProperties;
|
|
25
|
+
disabled?: null | StyleProperties;
|
|
26
26
|
}
|
|
27
27
|
export type DimensionWidthValue = {
|
|
28
28
|
type: "fixed";
|
|
@@ -93,8 +93,8 @@ export interface BasicTextStyle {
|
|
|
93
93
|
export interface BasicTextElements {
|
|
94
94
|
own: BasicStateStylingBlock<BasicTextStyle>[];
|
|
95
95
|
}
|
|
96
|
-
export interface LayoutStyle<
|
|
97
|
-
elements:
|
|
96
|
+
export interface LayoutStyle<Elements> {
|
|
97
|
+
elements: Elements;
|
|
98
98
|
}
|
|
99
99
|
export interface BasicTextModel {
|
|
100
100
|
styles?: null | LayoutStyle<BasicTextElements>;
|
|
@@ -112,8 +112,8 @@ export interface BreakpointPredicate {
|
|
|
112
112
|
condition: OrderableWhenCondition;
|
|
113
113
|
value: string;
|
|
114
114
|
}
|
|
115
|
-
export interface StatelessStylingBlock<
|
|
116
|
-
default:
|
|
115
|
+
export interface StatelessStylingBlock<StyleProperties> {
|
|
116
|
+
default: StyleProperties;
|
|
117
117
|
}
|
|
118
118
|
export type FlexPosition = "center" | "flex-start" | "flex-end";
|
|
119
119
|
export interface Shadow {
|
|
@@ -168,9 +168,9 @@ export interface CloseButtonStyles {
|
|
|
168
168
|
export interface CloseButtonElements {
|
|
169
169
|
own: BasicStateStylingBlock<CloseButtonStyles>[];
|
|
170
170
|
}
|
|
171
|
-
export interface CloseButtonModel<
|
|
171
|
+
export interface CloseButtonModel<Children> {
|
|
172
172
|
styles?: null | LayoutStyle<CloseButtonElements>;
|
|
173
|
-
children:
|
|
173
|
+
children: Children[];
|
|
174
174
|
}
|
|
175
175
|
export interface ColumnStyle {
|
|
176
176
|
container?: null | ContainerStylingProperties;
|
|
@@ -183,9 +183,9 @@ export interface ColumnStyle {
|
|
|
183
183
|
export interface ColumnElements {
|
|
184
184
|
own: BasicStateStylingBlock<ColumnStyle>[];
|
|
185
185
|
}
|
|
186
|
-
export interface ColumnModel<
|
|
186
|
+
export interface ColumnModel<Children> {
|
|
187
187
|
styles?: null | LayoutStyle<ColumnElements>;
|
|
188
|
-
children:
|
|
188
|
+
children: Children[];
|
|
189
189
|
}
|
|
190
190
|
export type ExistenceWhenCondition = "exists" | "not-exists";
|
|
191
191
|
export interface CreativeCopyPredicate {
|
|
@@ -204,11 +204,11 @@ export interface CreativeResponseElements {
|
|
|
204
204
|
own: BasicStateStylingBlock<CreativeResponseStyles>[];
|
|
205
205
|
}
|
|
206
206
|
export type LinkOpenTarget = "internally" | "externally";
|
|
207
|
-
export interface CreativeResponseModel<
|
|
207
|
+
export interface CreativeResponseModel<Children> {
|
|
208
208
|
responseKey: string;
|
|
209
209
|
styles?: null | LayoutStyle<CreativeResponseElements>;
|
|
210
210
|
openLinks?: null | LinkOpenTarget;
|
|
211
|
-
children:
|
|
211
|
+
children: Children[];
|
|
212
212
|
}
|
|
213
213
|
export type EqualityWhenCondition = "is" | "is-not";
|
|
214
214
|
export interface DarkModePredicate {
|
|
@@ -312,10 +312,10 @@ export interface OverlayElements {
|
|
|
312
312
|
export interface OverlaySettings {
|
|
313
313
|
allowBackdropToClose: boolean;
|
|
314
314
|
}
|
|
315
|
-
export interface OverlayModel<
|
|
315
|
+
export interface OverlayModel<Children> {
|
|
316
316
|
settings: OverlaySettings;
|
|
317
317
|
styles?: null | LayoutStyle<OverlayElements>;
|
|
318
|
-
children:
|
|
318
|
+
children: Children[];
|
|
319
319
|
}
|
|
320
320
|
export interface PositionPredicate {
|
|
321
321
|
condition: OrderableWhenCondition;
|
|
@@ -396,9 +396,9 @@ export interface RowStyle {
|
|
|
396
396
|
export interface RowElements {
|
|
397
397
|
own: BasicStateStylingBlock<RowStyle>[];
|
|
398
398
|
}
|
|
399
|
-
export interface RowModel<
|
|
399
|
+
export interface RowModel<Children> {
|
|
400
400
|
styles?: null | LayoutStyle<RowElements>;
|
|
401
|
-
children:
|
|
401
|
+
children: Children[];
|
|
402
402
|
}
|
|
403
403
|
export interface StackedDistributionStyles {
|
|
404
404
|
container?: null | ContainerStylingProperties;
|
|
@@ -445,11 +445,11 @@ export interface StaticLinkStyles {
|
|
|
445
445
|
export interface StaticLinkElements {
|
|
446
446
|
own: BasicStateStylingBlock<StaticLinkStyles>[];
|
|
447
447
|
}
|
|
448
|
-
export interface StaticLinkModel<
|
|
448
|
+
export interface StaticLinkModel<Children> {
|
|
449
449
|
src: string;
|
|
450
450
|
open: LinkOpenTarget;
|
|
451
451
|
styles?: null | LayoutStyle<StaticLinkElements>;
|
|
452
|
-
children:
|
|
452
|
+
children: Children[];
|
|
453
453
|
}
|
|
454
454
|
export type WhenPredicate = {
|
|
455
455
|
type: "Breakpoint";
|
|
@@ -467,9 +467,9 @@ export type WhenPredicate = {
|
|
|
467
467
|
type: "CreativeCopy";
|
|
468
468
|
predicate: CreativeCopyPredicate;
|
|
469
469
|
};
|
|
470
|
-
export interface WhenModel<
|
|
470
|
+
export interface WhenModel<Children> {
|
|
471
471
|
predicates: WhenPredicate[];
|
|
472
|
-
children:
|
|
472
|
+
children: Children[];
|
|
473
473
|
}
|
|
474
474
|
export type CloseButtonChildren = {
|
|
475
475
|
type: "Row";
|