@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.
Files changed (50) hide show
  1. package/dist/index.cjs +23 -23
  2. package/dist/index.js +24 -24
  3. package/dist/libraries/domain/src/behaviors/offer-engagement.d.ts +8 -0
  4. package/dist/libraries/domain/src/models/layout/index.d.ts +1 -0
  5. package/dist/libraries/domain/src/models/layout/layout-conversion-type.d.ts +4 -0
  6. package/dist/libraries/domain/src/models/layout/layout-creative-response-option.d.ts +3 -0
  7. package/dist/libraries/domain/src/models/plugin/plugin-creative-response-option.d.ts +6 -0
  8. package/dist/libraries/layout-renderer-utils/src/components/bottom-sheet/bottom-sheet.d.ts +2 -1
  9. package/dist/libraries/layout-renderer-utils/src/components/overlay/overlay.d.ts +2 -1
  10. package/dist/libraries/plugin-utils/src/translate-config.d.ts +5 -1
  11. package/dist/libraries/saga-utils/src/utils/index.d.ts +0 -1
  12. package/dist/modules/standard-marketing/src/sagas/offer-engagement/sagas.d.ts +13 -2
  13. package/node_modules/@rokt/dcui-layout-schema/dist/schema.d.ts +115 -11
  14. package/node_modules/@rokt/dcui-layout-schema/dist/tsconfig.tsbuildinfo +1 -1
  15. package/node_modules/@rokt/dcui-layout-schema/package.json +1 -1
  16. package/node_modules/@rokt/dcui-layout-schema/v0.1/index.d.ts +24 -24
  17. package/node_modules/@rokt/dcui-layout-schema/v0.10/index.d.ts +24 -24
  18. package/node_modules/@rokt/dcui-layout-schema/v0.11/index.d.ts +26 -26
  19. package/node_modules/@rokt/dcui-layout-schema/v0.12/index.d.ts +26 -26
  20. package/node_modules/@rokt/dcui-layout-schema/v0.13/index.d.ts +24 -24
  21. package/node_modules/@rokt/dcui-layout-schema/v0.14/index.d.ts +24 -24
  22. package/node_modules/@rokt/dcui-layout-schema/v0.15/index.d.ts +24 -24
  23. package/node_modules/@rokt/dcui-layout-schema/v0.16/index.d.ts +24 -24
  24. package/node_modules/@rokt/dcui-layout-schema/v0.17/index.d.ts +24 -24
  25. package/node_modules/@rokt/dcui-layout-schema/v0.18/index.d.ts +26 -26
  26. package/node_modules/@rokt/dcui-layout-schema/v0.19/index.d.ts +26 -26
  27. package/node_modules/@rokt/dcui-layout-schema/v0.2/index.d.ts +24 -24
  28. package/node_modules/@rokt/dcui-layout-schema/v0.20/index.d.ts +28 -28
  29. package/node_modules/@rokt/dcui-layout-schema/v0.21/index.d.ts +28 -28
  30. package/node_modules/@rokt/dcui-layout-schema/v0.22/index.d.ts +30 -30
  31. package/node_modules/@rokt/dcui-layout-schema/v0.23/index.d.ts +30 -30
  32. package/node_modules/@rokt/dcui-layout-schema/v0.3/index.d.ts +24 -24
  33. package/node_modules/@rokt/dcui-layout-schema/v0.4/index.d.ts +24 -24
  34. package/node_modules/@rokt/dcui-layout-schema/v0.5/index.d.ts +24 -24
  35. package/node_modules/@rokt/dcui-layout-schema/v0.6/index.d.ts +24 -24
  36. package/node_modules/@rokt/dcui-layout-schema/v0.7/index.d.ts +24 -24
  37. package/node_modules/@rokt/dcui-layout-schema/v0.8/index.d.ts +24 -24
  38. package/node_modules/@rokt/dcui-layout-schema/v0.9/index.d.ts +24 -24
  39. package/node_modules/@rokt/dcui-layout-schema/v1.0/index.d.ts +8 -8
  40. package/node_modules/@rokt/dcui-layout-schema/v1.1/index.d.ts +8 -8
  41. package/node_modules/@rokt/dcui-layout-schema/v1.2/index.d.ts +8 -8
  42. package/node_modules/@rokt/dcui-layout-schema/v1.3/index.d.ts +8 -8
  43. package/node_modules/@rokt/dcui-layout-schema/v1.4/index.d.ts +11 -11
  44. package/node_modules/@rokt/dcui-layout-schema/v1.5/index.d.ts +11 -11
  45. package/node_modules/@rokt/dcui-layout-schema/v1.6/index.d.ts +11 -11
  46. package/node_modules/@rokt/kit/cjs/reactive/first-value-from.js +9 -1
  47. package/node_modules/@rokt/kit/package.json +2 -2
  48. package/node_modules/@rokt/kit/reactive/first-value-from.js +9 -1
  49. package/package.json +2 -2
  50. 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<T> {
21
- default: T;
22
- pressed?: null | T;
23
- hovered?: null | T;
24
- focussed?: null | T;
25
- disabled?: null | T;
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<T> {
97
- elements: T;
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<T> {
116
- default: T;
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<T> {
171
+ export interface CloseButtonModel<Children> {
172
172
  styles?: null | LayoutStyle<CloseButtonElements>;
173
- children: T[];
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<T> {
186
+ export interface ColumnModel<Children> {
187
187
  styles?: null | LayoutStyle<ColumnElements>;
188
- children: T[];
188
+ children: Children[];
189
189
  }
190
190
  export interface CreativeResponseStyles {
191
191
  container?: null | ContainerStylingProperties;
@@ -199,11 +199,11 @@ export interface CreativeResponseElements {
199
199
  own: BasicStateStylingBlock<CreativeResponseStyles>[];
200
200
  }
201
201
  export type LinkOpenTarget = "internally" | "externally";
202
- export interface CreativeResponseModel<T> {
202
+ export interface CreativeResponseModel<Children> {
203
203
  responseKey: string;
204
204
  styles?: null | LayoutStyle<CreativeResponseElements>;
205
205
  openLinks?: null | LinkOpenTarget;
206
- children: T[];
206
+ children: Children[];
207
207
  }
208
208
  export interface DataImageStyles {
209
209
  background?: null | BackgroundStylingProperties;
@@ -283,10 +283,10 @@ export interface OverlayElements {
283
283
  export interface OverlaySettings {
284
284
  allowBackdropToClose: boolean;
285
285
  }
286
- export interface OverlayModel<T> {
286
+ export interface OverlayModel<Children> {
287
287
  settings: OverlaySettings;
288
288
  styles?: null | LayoutStyle<OverlayElements>;
289
- children: T[];
289
+ children: Children[];
290
290
  }
291
291
  export interface PositionPredicate {
292
292
  condition: OrderableWhenCondition;
@@ -363,9 +363,9 @@ export interface RowStyle {
363
363
  export interface RowElements {
364
364
  own: BasicStateStylingBlock<RowStyle>[];
365
365
  }
366
- export interface RowModel<T> {
366
+ export interface RowModel<Children> {
367
367
  styles?: null | LayoutStyle<RowElements>;
368
- children: T[];
368
+ children: Children[];
369
369
  }
370
370
  export interface StackedDistributionStyles {
371
371
  container?: null | ContainerStylingProperties;
@@ -412,11 +412,11 @@ export interface StaticLinkStyles {
412
412
  export interface StaticLinkElements {
413
413
  own: BasicStateStylingBlock<StaticLinkStyles>[];
414
414
  }
415
- export interface StaticLinkModel<T> {
415
+ export interface StaticLinkModel<Children> {
416
416
  src: string;
417
417
  open: LinkOpenTarget;
418
418
  styles?: null | LayoutStyle<StaticLinkElements>;
419
- children: T[];
419
+ children: Children[];
420
420
  }
421
421
  export type WhenPredicate = {
422
422
  type: "Breakpoint";
@@ -428,9 +428,9 @@ export type WhenPredicate = {
428
428
  type: "Progression";
429
429
  predicate: ProgressionPredicate;
430
430
  };
431
- export interface WhenModel<T> {
431
+ export interface WhenModel<Children> {
432
432
  predicates: WhenPredicate[];
433
- children: T[];
433
+ children: Children[];
434
434
  }
435
435
  export type CloseButtonChildren = {
436
436
  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<T> {
21
- default: T;
22
- pressed?: null | T;
23
- hovered?: null | T;
24
- focussed?: null | T;
25
- disabled?: null | T;
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<T> {
97
- elements: T;
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<T> {
116
- default: T;
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<T> {
171
+ export interface CloseButtonModel<Children> {
172
172
  styles?: null | LayoutStyle<CloseButtonElements>;
173
- children: T[];
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<T> {
186
+ export interface ColumnModel<Children> {
187
187
  styles?: null | LayoutStyle<ColumnElements>;
188
- children: T[];
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<T> {
207
+ export interface CreativeResponseModel<Children> {
208
208
  responseKey: string;
209
209
  styles?: null | LayoutStyle<CreativeResponseElements>;
210
210
  openLinks?: null | LinkOpenTarget;
211
- children: T[];
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<T> {
335
+ export interface OverlayModel<Children> {
336
336
  settings: OverlaySettings;
337
337
  styles?: null | LayoutStyle<OverlayElements>;
338
- children: T[];
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<T> {
421
+ export interface RowModel<Children> {
422
422
  styles?: null | LayoutStyle<RowElements>;
423
- children: T[];
423
+ children: Children[];
424
424
  }
425
425
  export interface StackedDistributionStyles {
426
426
  container?: null | ContainerStylingProperties;
@@ -490,11 +490,11 @@ export interface StaticLinkStyles {
490
490
  export interface StaticLinkElements {
491
491
  own: BasicStateStylingBlock<StaticLinkStyles>[];
492
492
  }
493
- export interface StaticLinkModel<T> {
493
+ export interface StaticLinkModel<Children> {
494
494
  src: string;
495
495
  open: LinkOpenTarget;
496
496
  styles?: null | LayoutStyle<StaticLinkElements>;
497
- children: T[];
497
+ children: Children[];
498
498
  }
499
499
  export type WhenPredicate = {
500
500
  type: "Breakpoint";
@@ -515,9 +515,9 @@ export type WhenPredicate = {
515
515
  type: "StaticBoolean";
516
516
  predicate: StaticBooleanPredicate;
517
517
  };
518
- export interface WhenModel<T> {
518
+ export interface WhenModel<Children> {
519
519
  predicates: WhenPredicate[];
520
- children: T[];
520
+ children: Children[];
521
521
  }
522
522
  export type CloseButtonChildren = {
523
523
  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<T> {
21
- default: T;
22
- pressed?: null | T;
23
- hovered?: null | T;
24
- focussed?: null | T;
25
- disabled?: null | T;
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<T> {
97
- elements: T;
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<T> {
116
- default: T;
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<T> {
172
+ export interface CloseButtonModel<Children> {
173
173
  styles?: null | LayoutStyle<CloseButtonElements>;
174
- children: T[];
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<T> {
187
+ export interface ColumnModel<Children> {
188
188
  styles?: null | LayoutStyle<ColumnElements>;
189
- children: T[];
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<T> {
208
+ export interface CreativeResponseModel<Children> {
209
209
  responseKey: string;
210
210
  styles?: null | LayoutStyle<CreativeResponseElements>;
211
211
  openLinks?: null | LinkOpenTarget;
212
- children: T[];
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<T> {
336
+ export interface OverlayModel<Children> {
337
337
  settings: OverlaySettings;
338
338
  styles?: null | LayoutStyle<OverlayElements>;
339
- children: T[];
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<T> {
422
+ export interface RowModel<Children> {
423
423
  styles?: null | LayoutStyle<RowElements>;
424
- children: T[];
424
+ children: Children[];
425
425
  }
426
426
  export interface StackedDistributionStyles {
427
427
  container?: null | ContainerStylingProperties;
@@ -491,11 +491,11 @@ export interface StaticLinkStyles {
491
491
  export interface StaticLinkElements {
492
492
  own: BasicStateStylingBlock<StaticLinkStyles>[];
493
493
  }
494
- export interface StaticLinkModel<T> {
494
+ export interface StaticLinkModel<Children> {
495
495
  src: string;
496
496
  open: LinkOpenTarget;
497
497
  styles?: null | LayoutStyle<StaticLinkElements>;
498
- children: T[];
498
+ children: Children[];
499
499
  }
500
500
  export type WhenPredicate = {
501
501
  type: "Breakpoint";
@@ -516,9 +516,9 @@ export type WhenPredicate = {
516
516
  type: "StaticBoolean";
517
517
  predicate: StaticBooleanPredicate;
518
518
  };
519
- export interface WhenModel<T> {
519
+ export interface WhenModel<Children> {
520
520
  predicates: WhenPredicate[];
521
- children: T[];
521
+ children: Children[];
522
522
  }
523
523
  export interface ZStackContainerStylingProperties {
524
524
  justifyContent?: null | FlexPosition;
@@ -538,9 +538,9 @@ export interface ZStackStyle {
538
538
  export interface ZStackElements {
539
539
  own: BasicStateStylingBlock<ZStackStyle>[];
540
540
  }
541
- export interface ZStackModel<T> {
541
+ export interface ZStackModel<Children> {
542
542
  styles?: null | LayoutStyle<ZStackElements>;
543
- children: T[];
543
+ children: Children[];
544
544
  }
545
545
  export type CloseButtonChildren = {
546
546
  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<T> {
21
- default: T;
22
- pressed?: null | T;
23
- hovered?: null | T;
24
- focussed?: null | T;
25
- disabled?: null | T;
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<T> {
97
- elements: T;
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<T> {
116
- default: T;
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<T> {
172
+ export interface CloseButtonModel<Children> {
173
173
  styles?: null | LayoutStyle<CloseButtonElements>;
174
- children: T[];
174
+ children: Children[];
175
175
  dismissalMethod?: null | string;
176
176
  }
177
177
  export interface ColumnStyle {
@@ -185,9 +185,9 @@ export interface ColumnStyle {
185
185
  export interface ColumnElements {
186
186
  own: BasicStateStylingBlock<ColumnStyle>[];
187
187
  }
188
- export interface ColumnModel<T> {
188
+ export interface ColumnModel<Children> {
189
189
  styles?: null | LayoutStyle<ColumnElements>;
190
- children: T[];
190
+ children: Children[];
191
191
  }
192
192
  export type ExistenceWhenCondition = "exists" | "not-exists";
193
193
  export interface CreativeCopyPredicate {
@@ -206,11 +206,11 @@ export interface CreativeResponseElements {
206
206
  own: BasicStateStylingBlock<CreativeResponseStyles>[];
207
207
  }
208
208
  export type LinkOpenTarget = "internally" | "externally";
209
- export interface CreativeResponseModel<T> {
209
+ export interface CreativeResponseModel<Children> {
210
210
  responseKey: string;
211
211
  styles?: null | LayoutStyle<CreativeResponseElements>;
212
212
  openLinks?: null | LinkOpenTarget;
213
- children: T[];
213
+ children: Children[];
214
214
  }
215
215
  export type EqualityWhenCondition = "is" | "is-not";
216
216
  export interface DarkModePredicate {
@@ -334,10 +334,10 @@ export interface OverlayElements {
334
334
  export interface OverlaySettings {
335
335
  allowBackdropToClose: boolean;
336
336
  }
337
- export interface OverlayModel<T> {
337
+ export interface OverlayModel<Children> {
338
338
  settings: OverlaySettings;
339
339
  styles?: null | LayoutStyle<OverlayElements>;
340
- children: T[];
340
+ children: Children[];
341
341
  }
342
342
  export interface PositionPredicate {
343
343
  condition: OrderableWhenCondition;
@@ -420,9 +420,9 @@ export interface RowStyle {
420
420
  export interface RowElements {
421
421
  own: BasicStateStylingBlock<RowStyle>[];
422
422
  }
423
- export interface RowModel<T> {
423
+ export interface RowModel<Children> {
424
424
  styles?: null | LayoutStyle<RowElements>;
425
- children: T[];
425
+ children: Children[];
426
426
  }
427
427
  export interface StackedDistributionStyles {
428
428
  container?: null | ContainerStylingProperties;
@@ -492,11 +492,11 @@ export interface StaticLinkStyles {
492
492
  export interface StaticLinkElements {
493
493
  own: BasicStateStylingBlock<StaticLinkStyles>[];
494
494
  }
495
- export interface StaticLinkModel<T> {
495
+ export interface StaticLinkModel<Children> {
496
496
  src: string;
497
497
  open: LinkOpenTarget;
498
498
  styles?: null | LayoutStyle<StaticLinkElements>;
499
- children: T[];
499
+ children: Children[];
500
500
  }
501
501
  export type WhenPredicate = {
502
502
  type: "Breakpoint";
@@ -517,9 +517,9 @@ export type WhenPredicate = {
517
517
  type: "StaticBoolean";
518
518
  predicate: StaticBooleanPredicate;
519
519
  };
520
- export interface WhenModel<T> {
520
+ export interface WhenModel<Children> {
521
521
  predicates: WhenPredicate[];
522
- children: T[];
522
+ children: Children[];
523
523
  }
524
524
  export interface ZStackContainerStylingProperties {
525
525
  justifyContent?: null | FlexPosition;
@@ -539,9 +539,9 @@ export interface ZStackStyle {
539
539
  export interface ZStackElements {
540
540
  own: BasicStateStylingBlock<ZStackStyle>[];
541
541
  }
542
- export interface ZStackModel<T> {
542
+ export interface ZStackModel<Children> {
543
543
  styles?: null | LayoutStyle<ZStackElements>;
544
- children: T[];
544
+ children: Children[];
545
545
  }
546
546
  export type CloseButtonChildren = {
547
547
  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<T> {
21
- default: T;
22
- pressed?: null | T;
23
- hovered?: null | T;
24
- focussed?: null | T;
25
- disabled?: null | T;
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";
@@ -120,8 +120,8 @@ export interface BreakpointPredicate {
120
120
  condition: OrderableWhenCondition;
121
121
  value: string;
122
122
  }
123
- export interface StatelessStylingBlock<T> {
124
- default: T;
123
+ export interface StatelessStylingBlock<StyleProperties> {
124
+ default: StyleProperties;
125
125
  }
126
126
  export type FlexPosition = "center" | "flex-start" | "flex-end";
127
127
  export interface Shadow {
@@ -183,9 +183,9 @@ export interface CloseButtonElements {
183
183
  export interface CloseButtonTransitions {
184
184
  own?: null | CloseButtonStyles;
185
185
  }
186
- export interface CloseButtonModel<T> {
186
+ export interface CloseButtonModel<Children> {
187
187
  styles?: null | LayoutStyle<CloseButtonElements, CloseButtonTransitions>;
188
- children: T[];
188
+ children: Children[];
189
189
  dismissalMethod?: null | string;
190
190
  }
191
191
  export interface ColumnStyle {
@@ -202,9 +202,9 @@ export interface ColumnElements {
202
202
  export interface ColumnTransitions {
203
203
  own?: null | ColumnStyle;
204
204
  }
205
- export interface ColumnModel<T> {
205
+ export interface ColumnModel<Children> {
206
206
  styles?: null | LayoutStyle<ColumnElements, ColumnTransitions>;
207
- children: T[];
207
+ children: Children[];
208
208
  }
209
209
  export type WhenPredicate = {
210
210
  type: "Breakpoint";
@@ -250,11 +250,11 @@ export interface CreativeResponseTransitions {
250
250
  own?: null | CreativeResponseStyles;
251
251
  }
252
252
  export type LinkOpenTarget = "internally" | "externally";
253
- export interface CreativeResponseModel<T> {
253
+ export interface CreativeResponseModel<Children> {
254
254
  responseKey: string;
255
255
  styles?: null | LayoutStyle<CreativeResponseElements, CreativeResponseTransitions>;
256
256
  openLinks?: null | LinkOpenTarget;
257
- children: T[];
257
+ children: Children[];
258
258
  }
259
259
  export type EqualityWhenCondition = "is" | "is-not";
260
260
  export interface DarkModePredicate {
@@ -394,10 +394,10 @@ export interface OverlayTransitions {
394
394
  own?: null | OverlayStyles;
395
395
  wrapper?: null | OverlayWrapperStyles;
396
396
  }
397
- export interface OverlayModel<T> {
397
+ export interface OverlayModel<Children> {
398
398
  settings: OverlaySettings;
399
399
  styles?: null | LayoutStyle<OverlayElements, OverlayTransitions>;
400
- children: T[];
400
+ children: Children[];
401
401
  }
402
402
  export interface PositionPredicate {
403
403
  condition: OrderableWhenCondition;
@@ -496,9 +496,9 @@ export interface RowElements {
496
496
  export interface RowTransitions {
497
497
  own?: null | RowStyle;
498
498
  }
499
- export interface RowModel<T> {
499
+ export interface RowModel<Children> {
500
500
  styles?: null | LayoutStyle<RowElements, RowTransitions>;
501
- children: T[];
501
+ children: Children[];
502
502
  }
503
503
  export interface StackedDistributionStyles {
504
504
  container?: null | ContainerStylingProperties;
@@ -580,15 +580,15 @@ export interface StaticLinkElements {
580
580
  export interface StaticLinkTransitions {
581
581
  own?: null | StaticLinkStyles;
582
582
  }
583
- export interface StaticLinkModel<T> {
583
+ export interface StaticLinkModel<Children> {
584
584
  src: string;
585
585
  open: LinkOpenTarget;
586
586
  styles?: null | LayoutStyle<StaticLinkElements, StaticLinkTransitions>;
587
- children: T[];
587
+ children: Children[];
588
588
  }
589
- export interface WhenModel<T> {
589
+ export interface WhenModel<Children> {
590
590
  predicates: WhenPredicate[];
591
- children: T[];
591
+ children: Children[];
592
592
  }
593
593
  export interface ZStackContainerStylingProperties {
594
594
  justifyContent?: null | FlexPosition;
@@ -611,9 +611,9 @@ export interface ZStackElements {
611
611
  export interface ZStackTransitions {
612
612
  own?: null | ZStackStyle;
613
613
  }
614
- export interface ZStackModel<T> {
614
+ export interface ZStackModel<Children> {
615
615
  styles?: null | LayoutStyle<ZStackElements, ZStackTransitions>;
616
- children: T[];
616
+ children: Children[];
617
617
  }
618
618
  export type CloseButtonChildren = {
619
619
  type: "Row";