@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";
@@ -122,8 +122,8 @@ export interface BreakpointPredicate {
122
122
  condition: OrderableWhenCondition;
123
123
  value: string;
124
124
  }
125
- export interface StatelessStylingBlock<T> {
126
- default: T;
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 {
@@ -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";
@@ -122,8 +122,8 @@ export interface BreakpointPredicate {
122
122
  condition: OrderableWhenCondition;
123
123
  value: string;
124
124
  }
125
- export interface StatelessStylingBlock<T> {
126
- default: T;
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 {
@@ -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";
@@ -165,8 +165,8 @@ export interface BreakpointPredicate {
165
165
  condition: OrderableWhenCondition;
166
166
  value: string;
167
167
  }
168
- export interface StatelessStylingBlock<T> {
169
- default: T;
168
+ export interface StatelessStylingBlock<StyleProperties> {
169
+ default: StyleProperties;
170
170
  }
171
171
  export interface CarouselDistributionStyles {
172
172
  container?: null | ContainerStylingProperties;
@@ -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";
@@ -165,8 +165,8 @@ export interface BreakpointPredicate {
165
165
  condition: OrderableWhenCondition;
166
166
  value: string;
167
167
  }
168
- export interface StatelessStylingBlock<T> {
169
- default: T;
168
+ export interface StatelessStylingBlock<StyleProperties> {
169
+ default: StyleProperties;
170
170
  }
171
171
  export interface CarouselDistributionStyles {
172
172
  container?: null | ContainerStylingProperties;
@@ -226,7 +226,7 @@ export interface CatalogRadioGroupStyles {
226
226
  flexChild?: null | FlexChildStylingProperties;
227
227
  spacing?: null | SpacingStylingProperties;
228
228
  }
229
- export interface OptionContaionerStyles {
229
+ export interface OptionContainerStyles {
230
230
  container?: null | ContainerStylingProperties;
231
231
  background?: null | BackgroundStylingProperties;
232
232
  border?: null | BorderStylingProperties;
@@ -249,7 +249,7 @@ export interface RadioInnerStyles {
249
249
  }
250
250
  export interface CatalogRadioGroupElements {
251
251
  own: BasicStateStylingBlock<CatalogRadioGroupStyles>[];
252
- optionContainer?: null | BasicStateStylingBlock<OptionContaionerStyles>[];
252
+ optionContainer?: null | BasicStateStylingBlock<OptionContainerStyles>[];
253
253
  radioButtonOuter?: null | BasicStateStylingBlock<RadioOuterStyles>[];
254
254
  radioButtonOuterChecked?: null | BasicStateStylingBlock<RadioOuterStyles>[];
255
255
  radioButtonInner?: null | BasicStateStylingBlock<RadioInnerStyles>[];
@@ -267,7 +267,7 @@ export interface CatalogRadioGroupModel<NodeOptionTemplate, Predicates> {
267
267
  }
268
268
  export interface CatalogRadioGroupTransitions {
269
269
  own?: null | CatalogRadioGroupStyles;
270
- option_container?: null | OptionContaionerStyles;
270
+ option_container?: null | OptionContainerStyles;
271
271
  radio_button_outer?: null | RadioOuterStyles;
272
272
  radio_button_outer_checked?: null | RadioOuterStyles;
273
273
  radio_button_inner?: null | RadioInnerStyles;
@@ -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";
@@ -165,8 +165,8 @@ export interface BreakpointPredicate {
165
165
  condition: OrderableWhenCondition;
166
166
  value: string;
167
167
  }
168
- export interface StatelessStylingBlock<T> {
169
- default: T;
168
+ export interface StatelessStylingBlock<StyleProperties> {
169
+ default: StyleProperties;
170
170
  }
171
171
  export interface CarouselDistributionStyles {
172
172
  container?: null | ContainerStylingProperties;
@@ -226,7 +226,7 @@ export interface CatalogRadioGroupStyles {
226
226
  flexChild?: null | FlexChildStylingProperties;
227
227
  spacing?: null | SpacingStylingProperties;
228
228
  }
229
- export interface OptionContaionerStyles {
229
+ export interface OptionContainerStyles {
230
230
  container?: null | ContainerStylingProperties;
231
231
  background?: null | BackgroundStylingProperties;
232
232
  border?: null | BorderStylingProperties;
@@ -249,7 +249,7 @@ export interface RadioInnerStyles {
249
249
  }
250
250
  export interface CatalogRadioGroupElements {
251
251
  own: BasicStateStylingBlock<CatalogRadioGroupStyles>[];
252
- optionContainer?: null | BasicStateStylingBlock<OptionContaionerStyles>[];
252
+ optionContainer?: null | BasicStateStylingBlock<OptionContainerStyles>[];
253
253
  radioButtonOuter?: null | BasicStateStylingBlock<RadioOuterStyles>[];
254
254
  radioButtonOuterChecked?: null | BasicStateStylingBlock<RadioOuterStyles>[];
255
255
  radioButtonInner?: null | BasicStateStylingBlock<RadioInnerStyles>[];
@@ -267,7 +267,7 @@ export interface CatalogRadioGroupModel<NodeOptionTemplate, Predicates> {
267
267
  }
268
268
  export interface CatalogRadioGroupTransitions {
269
269
  own?: null | CatalogRadioGroupStyles;
270
- option_container?: null | OptionContaionerStyles;
270
+ option_container?: null | OptionContainerStyles;
271
271
  radio_button_outer?: null | RadioOuterStyles;
272
272
  radio_button_outer_checked?: null | RadioOuterStyles;
273
273
  radio_button_inner?: null | RadioInnerStyles;
@@ -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";
@@ -165,8 +165,8 @@ export interface BreakpointPredicate {
165
165
  condition: OrderableWhenCondition;
166
166
  value: string;
167
167
  }
168
- export interface StatelessStylingBlock<T> {
169
- default: T;
168
+ export interface StatelessStylingBlock<StyleProperties> {
169
+ default: StyleProperties;
170
170
  }
171
171
  export interface CarouselDistributionStyles {
172
172
  container?: null | ContainerStylingProperties;
@@ -226,7 +226,7 @@ export interface CatalogRadioGroupStyles {
226
226
  flexChild?: null | FlexChildStylingProperties;
227
227
  spacing?: null | SpacingStylingProperties;
228
228
  }
229
- export interface OptionContaionerStyles {
229
+ export interface OptionContainerStyles {
230
230
  container?: null | ContainerStylingProperties;
231
231
  background?: null | BackgroundStylingProperties;
232
232
  border?: null | BorderStylingProperties;
@@ -249,7 +249,7 @@ export interface RadioInnerStyles {
249
249
  }
250
250
  export interface CatalogRadioGroupElements {
251
251
  own: BasicStateStylingBlock<CatalogRadioGroupStyles>[];
252
- optionContainer?: null | BasicStateStylingBlock<OptionContaionerStyles>[];
252
+ optionContainer?: null | BasicStateStylingBlock<OptionContainerStyles>[];
253
253
  radioButtonOuter?: null | BasicStateStylingBlock<RadioOuterStyles>[];
254
254
  radioButtonOuterChecked?: null | BasicStateStylingBlock<RadioOuterStyles>[];
255
255
  radioButtonInner?: null | BasicStateStylingBlock<RadioInnerStyles>[];
@@ -267,7 +267,7 @@ export interface CatalogRadioGroupModel<NodeOptionTemplate, Predicates> {
267
267
  }
268
268
  export interface CatalogRadioGroupTransitions {
269
269
  own?: null | CatalogRadioGroupStyles;
270
- option_container?: null | OptionContaionerStyles;
270
+ option_container?: null | OptionContainerStyles;
271
271
  radio_button_outer?: null | RadioOuterStyles;
272
272
  radio_button_outer_checked?: null | RadioOuterStyles;
273
273
  radio_button_inner?: null | RadioInnerStyles;
@@ -16,6 +16,14 @@ const firstValueFrom = (source, config) => {
16
16
  reject(new Error(exports.FirstValueFromError.CompletedBeforeEmit));
17
17
  }
18
18
  });
19
- }).finally(() => subscription.unsubscribe());
19
+ })
20
+ .then((v) => {
21
+ subscription.unsubscribe();
22
+ return v;
23
+ })
24
+ .catch((error) => {
25
+ subscription.unsubscribe();
26
+ throw error;
27
+ });
20
28
  };
21
29
  exports.firstValueFrom = firstValueFrom;
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rokt/kit",
3
- "version": "6.6.4",
3
+ "version": "6.6.5",
4
4
  "types": "index.d.ts",
5
5
  "license": "SEE LICENSE IN license",
6
6
  "scripts": {
@@ -8,7 +8,7 @@
8
8
  "build": "node ./.clean.js && npx tsc --project ./tsconfig.json && npx tsc --project ./tsconfig.cjs.json",
9
9
  "pack": "npm pack",
10
10
  "watch": "node ./.clean.js && npx tsc --watch",
11
- "test": "npx jest --passWithNoTests --coverage /src",
11
+ "test": "npx jest --passWithNoTests",
12
12
  "test-watch": "npx jest --watch --passWithNoTests /src",
13
13
  "lint": "npx tslint \"src/**/*.{ts,tsx}\"",
14
14
  "lint-fix": "npx tslint --fix \"src/**/*.{ts,tsx}\""
@@ -13,5 +13,13 @@ export const firstValueFrom = (source, config) => {
13
13
  reject(new Error(FirstValueFromError.CompletedBeforeEmit));
14
14
  }
15
15
  });
16
- }).finally(() => subscription.unsubscribe());
16
+ })
17
+ .then((v) => {
18
+ subscription.unsubscribe();
19
+ return v;
20
+ })
21
+ .catch((error) => {
22
+ subscription.unsubscribe();
23
+ throw error;
24
+ });
17
25
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rokt/dcui-orchestrator",
3
- "version": "0.0.2-rc.8",
3
+ "version": "0.0.3-rc.1",
4
4
  "description": "Rokt's DCUI rendering process",
5
5
  "main": "dist/index.cjs",
6
6
  "module": "dist/index.js",
@@ -16,7 +16,7 @@
16
16
  "clean": "rimraf dist"
17
17
  },
18
18
  "dependencies": {
19
- "@rokt/dcui-layout-schema": "1.7.0-lnp907-alpha",
19
+ "@rokt/dcui-layout-schema": "1.7.1",
20
20
  "@rokt/kit": "^6.6.4",
21
21
  "@rokt/plugin": "^5.9.1"
22
22
  },
@@ -1,4 +0,0 @@
1
- import { OfferEngagementPayload } from '../../../domain/src/behaviors';
2
- export declare function isRealTimeFulfillmentReferral(response: OfferEngagementPayload | (OfferEngagementPayload & {
3
- offerPositionIndex: number;
4
- })): string | false | undefined;