@rokt/dcui-orchestrator 0.0.2-rc.8 → 0.0.3-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/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";
|
|
@@ -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 {
|
|
@@ -327,10 +327,10 @@ export interface OverlayElements {
|
|
|
327
327
|
export interface OverlaySettings {
|
|
328
328
|
allowBackdropToClose: boolean;
|
|
329
329
|
}
|
|
330
|
-
export interface OverlayModel<
|
|
330
|
+
export interface OverlayModel<Children> {
|
|
331
331
|
settings: OverlaySettings;
|
|
332
332
|
styles?: null | LayoutStyle<OverlayElements>;
|
|
333
|
-
children:
|
|
333
|
+
children: Children[];
|
|
334
334
|
}
|
|
335
335
|
export interface PositionPredicate {
|
|
336
336
|
condition: OrderableWhenCondition;
|
|
@@ -411,9 +411,9 @@ export interface RowStyle {
|
|
|
411
411
|
export interface RowElements {
|
|
412
412
|
own: BasicStateStylingBlock<RowStyle>[];
|
|
413
413
|
}
|
|
414
|
-
export interface RowModel<
|
|
414
|
+
export interface RowModel<Children> {
|
|
415
415
|
styles?: null | LayoutStyle<RowElements>;
|
|
416
|
-
children:
|
|
416
|
+
children: Children[];
|
|
417
417
|
}
|
|
418
418
|
export interface StackedDistributionStyles {
|
|
419
419
|
container?: null | ContainerStylingProperties;
|
|
@@ -475,11 +475,11 @@ export interface StaticLinkStyles {
|
|
|
475
475
|
export interface StaticLinkElements {
|
|
476
476
|
own: BasicStateStylingBlock<StaticLinkStyles>[];
|
|
477
477
|
}
|
|
478
|
-
export interface StaticLinkModel<
|
|
478
|
+
export interface StaticLinkModel<Children> {
|
|
479
479
|
src: string;
|
|
480
480
|
open: LinkOpenTarget;
|
|
481
481
|
styles?: null | LayoutStyle<StaticLinkElements>;
|
|
482
|
-
children:
|
|
482
|
+
children: Children[];
|
|
483
483
|
}
|
|
484
484
|
export type WhenPredicate = {
|
|
485
485
|
type: "Breakpoint";
|
|
@@ -497,9 +497,9 @@ export type WhenPredicate = {
|
|
|
497
497
|
type: "CreativeCopy";
|
|
498
498
|
predicate: CreativeCopyPredicate;
|
|
499
499
|
};
|
|
500
|
-
export interface WhenModel<
|
|
500
|
+
export interface WhenModel<Children> {
|
|
501
501
|
predicates: WhenPredicate[];
|
|
502
|
-
children:
|
|
502
|
+
children: Children[];
|
|
503
503
|
}
|
|
504
504
|
export type CloseButtonChildren = {
|
|
505
505
|
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 {
|
|
@@ -329,10 +329,10 @@ export interface OverlayElements {
|
|
|
329
329
|
export interface OverlaySettings {
|
|
330
330
|
allowBackdropToClose: boolean;
|
|
331
331
|
}
|
|
332
|
-
export interface OverlayModel<
|
|
332
|
+
export interface OverlayModel<Children> {
|
|
333
333
|
settings: OverlaySettings;
|
|
334
334
|
styles?: null | LayoutStyle<OverlayElements>;
|
|
335
|
-
children:
|
|
335
|
+
children: Children[];
|
|
336
336
|
}
|
|
337
337
|
export interface PositionPredicate {
|
|
338
338
|
condition: OrderableWhenCondition;
|
|
@@ -414,9 +414,9 @@ export interface RowStyle {
|
|
|
414
414
|
export interface RowElements {
|
|
415
415
|
own: BasicStateStylingBlock<RowStyle>[];
|
|
416
416
|
}
|
|
417
|
-
export interface RowModel<
|
|
417
|
+
export interface RowModel<Children> {
|
|
418
418
|
styles?: null | LayoutStyle<RowElements>;
|
|
419
|
-
children:
|
|
419
|
+
children: Children[];
|
|
420
420
|
}
|
|
421
421
|
export interface StackedDistributionStyles {
|
|
422
422
|
container?: null | ContainerStylingProperties;
|
|
@@ -479,11 +479,11 @@ export interface StaticLinkStyles {
|
|
|
479
479
|
export interface StaticLinkElements {
|
|
480
480
|
own: BasicStateStylingBlock<StaticLinkStyles>[];
|
|
481
481
|
}
|
|
482
|
-
export interface StaticLinkModel<
|
|
482
|
+
export interface StaticLinkModel<Children> {
|
|
483
483
|
src: string;
|
|
484
484
|
open: LinkOpenTarget;
|
|
485
485
|
styles?: null | LayoutStyle<StaticLinkElements>;
|
|
486
|
-
children:
|
|
486
|
+
children: Children[];
|
|
487
487
|
}
|
|
488
488
|
export type WhenPredicate = {
|
|
489
489
|
type: "Breakpoint";
|
|
@@ -501,9 +501,9 @@ export type WhenPredicate = {
|
|
|
501
501
|
type: "CreativeCopy";
|
|
502
502
|
predicate: CreativeCopyPredicate;
|
|
503
503
|
};
|
|
504
|
-
export interface WhenModel<
|
|
504
|
+
export interface WhenModel<Children> {
|
|
505
505
|
predicates: WhenPredicate[];
|
|
506
|
-
children:
|
|
506
|
+
children: Children[];
|
|
507
507
|
}
|
|
508
508
|
export type CloseButtonChildren = {
|
|
509
509
|
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 {
|
|
@@ -329,10 +329,10 @@ export interface OverlayElements {
|
|
|
329
329
|
export interface OverlaySettings {
|
|
330
330
|
allowBackdropToClose: boolean;
|
|
331
331
|
}
|
|
332
|
-
export interface OverlayModel<
|
|
332
|
+
export interface OverlayModel<Children> {
|
|
333
333
|
settings: OverlaySettings;
|
|
334
334
|
styles?: null | LayoutStyle<OverlayElements>;
|
|
335
|
-
children:
|
|
335
|
+
children: Children[];
|
|
336
336
|
}
|
|
337
337
|
export interface PositionPredicate {
|
|
338
338
|
condition: OrderableWhenCondition;
|
|
@@ -414,9 +414,9 @@ export interface RowStyle {
|
|
|
414
414
|
export interface RowElements {
|
|
415
415
|
own: BasicStateStylingBlock<RowStyle>[];
|
|
416
416
|
}
|
|
417
|
-
export interface RowModel<
|
|
417
|
+
export interface RowModel<Children> {
|
|
418
418
|
styles?: null | LayoutStyle<RowElements>;
|
|
419
|
-
children:
|
|
419
|
+
children: Children[];
|
|
420
420
|
}
|
|
421
421
|
export interface StackedDistributionStyles {
|
|
422
422
|
container?: null | ContainerStylingProperties;
|
|
@@ -481,11 +481,11 @@ export interface StaticLinkStyles {
|
|
|
481
481
|
export interface StaticLinkElements {
|
|
482
482
|
own: BasicStateStylingBlock<StaticLinkStyles>[];
|
|
483
483
|
}
|
|
484
|
-
export interface StaticLinkModel<
|
|
484
|
+
export interface StaticLinkModel<Children> {
|
|
485
485
|
src: string;
|
|
486
486
|
open: LinkOpenTarget;
|
|
487
487
|
styles?: null | LayoutStyle<StaticLinkElements>;
|
|
488
|
-
children:
|
|
488
|
+
children: Children[];
|
|
489
489
|
}
|
|
490
490
|
export type WhenPredicate = {
|
|
491
491
|
type: "Breakpoint";
|
|
@@ -503,9 +503,9 @@ export type WhenPredicate = {
|
|
|
503
503
|
type: "CreativeCopy";
|
|
504
504
|
predicate: CreativeCopyPredicate;
|
|
505
505
|
};
|
|
506
|
-
export interface WhenModel<
|
|
506
|
+
export interface WhenModel<Children> {
|
|
507
507
|
predicates: WhenPredicate[];
|
|
508
|
-
children:
|
|
508
|
+
children: Children[];
|
|
509
509
|
}
|
|
510
510
|
export type CloseButtonChildren = {
|
|
511
511
|
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 {
|
|
@@ -332,10 +332,10 @@ export interface OverlayElements {
|
|
|
332
332
|
export interface OverlaySettings {
|
|
333
333
|
allowBackdropToClose: boolean;
|
|
334
334
|
}
|
|
335
|
-
export interface OverlayModel<
|
|
335
|
+
export interface OverlayModel<Children> {
|
|
336
336
|
settings: OverlaySettings;
|
|
337
337
|
styles?: null | LayoutStyle<OverlayElements>;
|
|
338
|
-
children:
|
|
338
|
+
children: Children[];
|
|
339
339
|
}
|
|
340
340
|
export interface PositionPredicate {
|
|
341
341
|
condition: OrderableWhenCondition;
|
|
@@ -418,9 +418,9 @@ export interface RowStyle {
|
|
|
418
418
|
export interface RowElements {
|
|
419
419
|
own: BasicStateStylingBlock<RowStyle>[];
|
|
420
420
|
}
|
|
421
|
-
export interface RowModel<
|
|
421
|
+
export interface RowModel<Children> {
|
|
422
422
|
styles?: null | LayoutStyle<RowElements>;
|
|
423
|
-
children:
|
|
423
|
+
children: Children[];
|
|
424
424
|
}
|
|
425
425
|
export interface StackedDistributionStyles {
|
|
426
426
|
container?: null | ContainerStylingProperties;
|
|
@@ -485,11 +485,11 @@ export interface StaticLinkStyles {
|
|
|
485
485
|
export interface StaticLinkElements {
|
|
486
486
|
own: BasicStateStylingBlock<StaticLinkStyles>[];
|
|
487
487
|
}
|
|
488
|
-
export interface StaticLinkModel<
|
|
488
|
+
export interface StaticLinkModel<Children> {
|
|
489
489
|
src: string;
|
|
490
490
|
open: LinkOpenTarget;
|
|
491
491
|
styles?: null | LayoutStyle<StaticLinkElements>;
|
|
492
|
-
children:
|
|
492
|
+
children: Children[];
|
|
493
493
|
}
|
|
494
494
|
export type WhenPredicate = {
|
|
495
495
|
type: "Breakpoint";
|
|
@@ -507,9 +507,9 @@ export type WhenPredicate = {
|
|
|
507
507
|
type: "CreativeCopy";
|
|
508
508
|
predicate: CreativeCopyPredicate;
|
|
509
509
|
};
|
|
510
|
-
export interface WhenModel<
|
|
510
|
+
export interface WhenModel<Children> {
|
|
511
511
|
predicates: WhenPredicate[];
|
|
512
|
-
children:
|
|
512
|
+
children: Children[];
|
|
513
513
|
}
|
|
514
514
|
export type CloseButtonChildren = {
|
|
515
515
|
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 {
|
|
@@ -169,9 +169,9 @@ export interface CloseButtonStyles {
|
|
|
169
169
|
export interface CloseButtonElements {
|
|
170
170
|
own: BasicStateStylingBlock<CloseButtonStyles>[];
|
|
171
171
|
}
|
|
172
|
-
export interface CloseButtonModel<
|
|
172
|
+
export interface CloseButtonModel<Children> {
|
|
173
173
|
styles?: null | LayoutStyle<CloseButtonElements>;
|
|
174
|
-
children:
|
|
174
|
+
children: Children[];
|
|
175
175
|
}
|
|
176
176
|
export interface ColumnStyle {
|
|
177
177
|
container?: null | ContainerStylingProperties;
|
|
@@ -184,9 +184,9 @@ export interface ColumnStyle {
|
|
|
184
184
|
export interface ColumnElements {
|
|
185
185
|
own: BasicStateStylingBlock<ColumnStyle>[];
|
|
186
186
|
}
|
|
187
|
-
export interface ColumnModel<
|
|
187
|
+
export interface ColumnModel<Children> {
|
|
188
188
|
styles?: null | LayoutStyle<ColumnElements>;
|
|
189
|
-
children:
|
|
189
|
+
children: Children[];
|
|
190
190
|
}
|
|
191
191
|
export type ExistenceWhenCondition = "exists" | "not-exists";
|
|
192
192
|
export interface CreativeCopyPredicate {
|
|
@@ -205,11 +205,11 @@ export interface CreativeResponseElements {
|
|
|
205
205
|
own: BasicStateStylingBlock<CreativeResponseStyles>[];
|
|
206
206
|
}
|
|
207
207
|
export type LinkOpenTarget = "internally" | "externally";
|
|
208
|
-
export interface CreativeResponseModel<
|
|
208
|
+
export interface CreativeResponseModel<Children> {
|
|
209
209
|
responseKey: string;
|
|
210
210
|
styles?: null | LayoutStyle<CreativeResponseElements>;
|
|
211
211
|
openLinks?: null | LinkOpenTarget;
|
|
212
|
-
children:
|
|
212
|
+
children: Children[];
|
|
213
213
|
}
|
|
214
214
|
export type EqualityWhenCondition = "is" | "is-not";
|
|
215
215
|
export interface DarkModePredicate {
|
|
@@ -333,10 +333,10 @@ export interface OverlayElements {
|
|
|
333
333
|
export interface OverlaySettings {
|
|
334
334
|
allowBackdropToClose: boolean;
|
|
335
335
|
}
|
|
336
|
-
export interface OverlayModel<
|
|
336
|
+
export interface OverlayModel<Children> {
|
|
337
337
|
settings: OverlaySettings;
|
|
338
338
|
styles?: null | LayoutStyle<OverlayElements>;
|
|
339
|
-
children:
|
|
339
|
+
children: Children[];
|
|
340
340
|
}
|
|
341
341
|
export interface PositionPredicate {
|
|
342
342
|
condition: OrderableWhenCondition;
|
|
@@ -419,9 +419,9 @@ export interface RowStyle {
|
|
|
419
419
|
export interface RowElements {
|
|
420
420
|
own: BasicStateStylingBlock<RowStyle>[];
|
|
421
421
|
}
|
|
422
|
-
export interface RowModel<
|
|
422
|
+
export interface RowModel<Children> {
|
|
423
423
|
styles?: null | LayoutStyle<RowElements>;
|
|
424
|
-
children:
|
|
424
|
+
children: Children[];
|
|
425
425
|
}
|
|
426
426
|
export interface StackedDistributionStyles {
|
|
427
427
|
container?: null | ContainerStylingProperties;
|
|
@@ -486,11 +486,11 @@ export interface StaticLinkStyles {
|
|
|
486
486
|
export interface StaticLinkElements {
|
|
487
487
|
own: BasicStateStylingBlock<StaticLinkStyles>[];
|
|
488
488
|
}
|
|
489
|
-
export interface StaticLinkModel<
|
|
489
|
+
export interface StaticLinkModel<Children> {
|
|
490
490
|
src: string;
|
|
491
491
|
open: LinkOpenTarget;
|
|
492
492
|
styles?: null | LayoutStyle<StaticLinkElements>;
|
|
493
|
-
children:
|
|
493
|
+
children: Children[];
|
|
494
494
|
}
|
|
495
495
|
export type WhenPredicate = {
|
|
496
496
|
type: "Breakpoint";
|
|
@@ -508,9 +508,9 @@ export type WhenPredicate = {
|
|
|
508
508
|
type: "CreativeCopy";
|
|
509
509
|
predicate: CreativeCopyPredicate;
|
|
510
510
|
};
|
|
511
|
-
export interface WhenModel<
|
|
511
|
+
export interface WhenModel<Children> {
|
|
512
512
|
predicates: WhenPredicate[];
|
|
513
|
-
children:
|
|
513
|
+
children: Children[];
|
|
514
514
|
}
|
|
515
515
|
export type CloseButtonChildren = {
|
|
516
516
|
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";
|
|
@@ -122,8 +122,8 @@ export interface BreakpointPredicate {
|
|
|
122
122
|
condition: OrderableWhenCondition;
|
|
123
123
|
value: string;
|
|
124
124
|
}
|
|
125
|
-
export interface StatelessStylingBlock<
|
|
126
|
-
default:
|
|
125
|
+
export interface StatelessStylingBlock<StyleProperties> {
|
|
126
|
+
default: StyleProperties;
|
|
127
127
|
}
|
|
128
128
|
export type FlexJustification = "center" | "flex-start" | "flex-end";
|
|
129
129
|
export interface Shadow {
|