@veloceapps/sdk 11.0.0-9 → 11.0.0-91

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 (183) hide show
  1. package/cms/cms.actions.d.ts +94 -29
  2. package/cms/components/element-renderer/element-renderer.component.d.ts +3 -10
  3. package/cms/components/preview/preview.component.d.ts +5 -6
  4. package/cms/components/preview/preview.types.d.ts +0 -4
  5. package/cms/services/element-context.service.d.ts +0 -1
  6. package/cms/types/common.types.d.ts +2 -0
  7. package/cms/types/index.d.ts +0 -1
  8. package/cms/utils/path.utils.d.ts +1 -2
  9. package/cms/vendor-map.d.ts +18 -40
  10. package/core/index.d.ts +1 -1
  11. package/core/modules/configuration/index.d.ts +4 -4
  12. package/core/modules/configuration/services/configuration-runtime.service.d.ts +8 -19
  13. package/core/modules/configuration/services/configuration-state.service.d.ts +8 -8
  14. package/core/modules/configuration/services/configuration.service.d.ts +22 -52
  15. package/core/modules/configuration/services/guided-selling.service.d.ts +13 -0
  16. package/core/modules/configuration/services/test-mode-configuration.service.d.ts +23 -0
  17. package/core/modules/configuration/types/configuration-runtime.types.d.ts +0 -5
  18. package/core/modules/configuration/types/configuration.types.d.ts +4 -2
  19. package/core/modules/configuration/types/index.d.ts +2 -0
  20. package/core/modules/flow-configuration/index.d.ts +0 -3
  21. package/core/modules/flow-configuration/services/flow-configuration.service.d.ts +11 -38
  22. package/core/operators/filter-successful-execute.operator.d.ts +3 -0
  23. package/core/operators/index.d.ts +1 -0
  24. package/core/services/catalog-products.service.d.ts +11 -0
  25. package/core/services/flow-info.service.d.ts +27 -12
  26. package/core/services/flow-state-configuration.service.d.ts +9 -8
  27. package/core/services/flow-state.service.d.ts +12 -24
  28. package/core/services/index.d.ts +3 -3
  29. package/core/services/integration.state.d.ts +1 -1
  30. package/core/services/product-images.service.d.ts +3 -3
  31. package/core/services/runtime-settings.service.d.ts +1 -1
  32. package/core/services/sales-transaction.service.d.ts +27 -0
  33. package/core/types/flow-customization.types.d.ts +2 -2
  34. package/core/types/flow-state.types.d.ts +2 -2
  35. package/core/types/index.d.ts +0 -1
  36. package/core/utils/index.d.ts +2 -2
  37. package/core/utils/transaction-item.utils.d.ts +7 -0
  38. package/core/utils/transaction-item.worker.d.ts +8 -0
  39. package/esm2020/cms/cms.actions.mjs +93 -71
  40. package/esm2020/cms/cms.default.mjs +2 -3
  41. package/esm2020/cms/components/element-renderer/element-renderer.component.mjs +7 -64
  42. package/esm2020/cms/components/element-tools-panel/element-tools-panel.component.mjs +3 -3
  43. package/esm2020/cms/components/preview/preview.component.mjs +19 -28
  44. package/esm2020/cms/components/preview/preview.types.mjs +1 -1
  45. package/esm2020/cms/services/element-context.service.mjs +1 -1
  46. package/esm2020/cms/types/common.types.mjs +1 -1
  47. package/esm2020/cms/types/index.mjs +1 -2
  48. package/esm2020/cms/utils/element.utils.mjs +3 -3
  49. package/esm2020/cms/utils/elements-resolver.mjs +16 -5
  50. package/esm2020/cms/utils/path.utils.mjs +1 -10
  51. package/esm2020/cms/vendor-map.mjs +18 -18
  52. package/esm2020/core/core.module.mjs +7 -7
  53. package/esm2020/core/index.mjs +2 -2
  54. package/esm2020/core/modules/configuration/configuration.module.mjs +17 -4
  55. package/esm2020/core/modules/configuration/index.mjs +5 -5
  56. package/esm2020/core/modules/configuration/services/configuration-runtime.service.mjs +16 -101
  57. package/esm2020/core/modules/configuration/services/configuration-state.service.mjs +69 -77
  58. package/esm2020/core/modules/configuration/services/configuration.service.mjs +115 -247
  59. package/esm2020/core/modules/configuration/services/guided-selling.service.mjs +47 -0
  60. package/esm2020/core/modules/configuration/services/test-mode-configuration.service.mjs +74 -0
  61. package/esm2020/core/modules/configuration/types/configuration-runtime.types.mjs +1 -1
  62. package/esm2020/core/modules/configuration/types/configuration.types.mjs +1 -1
  63. package/esm2020/core/modules/configuration/types/index.mjs +3 -0
  64. package/esm2020/core/modules/flow-configuration/flow-configuration.module.mjs +3 -4
  65. package/esm2020/core/modules/flow-configuration/index.mjs +1 -4
  66. package/esm2020/core/modules/flow-configuration/services/flow-configuration.service.mjs +44 -128
  67. package/esm2020/core/operators/filter-successful-execute.operator.mjs +5 -0
  68. package/esm2020/core/operators/index.mjs +2 -0
  69. package/esm2020/core/services/catalog-products.service.mjs +25 -0
  70. package/esm2020/core/services/flow-info.service.mjs +82 -31
  71. package/esm2020/core/services/flow-state-configuration.service.mjs +52 -25
  72. package/esm2020/core/services/flow-state.service.mjs +58 -180
  73. package/esm2020/core/services/index.mjs +4 -4
  74. package/esm2020/core/services/integration.state.mjs +2 -2
  75. package/esm2020/core/services/product-images.service.mjs +8 -8
  76. package/esm2020/core/services/runtime-settings.service.mjs +3 -3
  77. package/esm2020/core/services/sales-transaction.service.mjs +67 -0
  78. package/esm2020/core/types/flow-customization.types.mjs +1 -1
  79. package/esm2020/core/types/flow-state.types.mjs +1 -1
  80. package/esm2020/core/types/index.mjs +1 -2
  81. package/esm2020/core/utils/index.mjs +3 -3
  82. package/esm2020/core/utils/transaction-item.utils.mjs +60 -0
  83. package/esm2020/core/utils/transaction-item.worker.mjs +16 -0
  84. package/esm2020/src/components/flow-header/flow-header.component.mjs +8 -12
  85. package/esm2020/src/components/guided-selling/guided-selling.component.mjs +8 -12
  86. package/esm2020/src/flow-routing.module.mjs +12 -41
  87. package/esm2020/src/flow.component.mjs +5 -5
  88. package/esm2020/src/guards/flow.guard.mjs +13 -14
  89. package/esm2020/src/guards/product-unload.guard.mjs +7 -9
  90. package/esm2020/src/index.mjs +1 -3
  91. package/esm2020/src/pages/assets/assets.component.mjs +8 -9
  92. package/esm2020/src/pages/catalog/catalog.component.mjs +8 -9
  93. package/esm2020/src/pages/debug/debug.component.mjs +14 -23
  94. package/esm2020/src/pages/product/product.component.mjs +12 -89
  95. package/esm2020/src/pages/product/product.module.mjs +5 -5
  96. package/esm2020/src/pages/record-not-found/record-not-found.component.mjs +5 -6
  97. package/esm2020/src/pages/shopping-cart/shopping-cart.component.mjs +8 -9
  98. package/esm2020/src/resolvers/flow.resolver.mjs +10 -18
  99. package/esm2020/src/resolvers/pcm-model.resolver.mjs +12 -0
  100. package/esm2020/src/resolvers/sales-transaction.resolver.mjs +64 -0
  101. package/esm2020/src/resolvers/ui-definition.resolver.mjs +42 -0
  102. package/esm2020/src/services/flow-dialog.service.mjs +10 -31
  103. package/esm2020/src/services/flow-router.service.mjs +16 -33
  104. package/esm2020/src/services/flow.service.mjs +15 -54
  105. package/esm2020/src/types/index.mjs +2 -3
  106. package/esm2020/src/types/route.types.mjs +1 -1
  107. package/fesm2015/veloceapps-sdk-cms.mjs +163 -309
  108. package/fesm2015/veloceapps-sdk-cms.mjs.map +1 -1
  109. package/fesm2015/veloceapps-sdk-core.mjs +877 -1673
  110. package/fesm2015/veloceapps-sdk-core.mjs.map +1 -1
  111. package/fesm2015/veloceapps-sdk.mjs +192 -824
  112. package/fesm2015/veloceapps-sdk.mjs.map +1 -1
  113. package/fesm2020/veloceapps-sdk-cms.mjs +159 -300
  114. package/fesm2020/veloceapps-sdk-cms.mjs.map +1 -1
  115. package/fesm2020/veloceapps-sdk-core.mjs +954 -1758
  116. package/fesm2020/veloceapps-sdk-core.mjs.map +1 -1
  117. package/fesm2020/veloceapps-sdk.mjs +192 -818
  118. package/fesm2020/veloceapps-sdk.mjs.map +1 -1
  119. package/package.json +1 -1
  120. package/src/components/flow-header/flow-header.component.d.ts +3 -3
  121. package/src/components/guided-selling/guided-selling.component.d.ts +3 -3
  122. package/src/flow-routing.module.d.ts +1 -2
  123. package/src/flow.component.d.ts +2 -2
  124. package/src/guards/product-unload.guard.d.ts +5 -6
  125. package/src/index.d.ts +0 -2
  126. package/src/pages/assets/assets.component.d.ts +3 -3
  127. package/src/pages/catalog/catalog.component.d.ts +3 -3
  128. package/src/pages/debug/debug.component.d.ts +2 -5
  129. package/src/pages/product/product.component.d.ts +5 -14
  130. package/src/pages/product/product.module.d.ts +1 -1
  131. package/src/pages/record-not-found/record-not-found.component.d.ts +2 -3
  132. package/src/pages/shopping-cart/shopping-cart.component.d.ts +3 -3
  133. package/src/resolvers/flow.resolver.d.ts +5 -6
  134. package/src/resolvers/pcm-model.resolver.d.ts +3 -0
  135. package/src/resolvers/sales-transaction.resolver.d.ts +18 -0
  136. package/src/resolvers/ui-definition.resolver.d.ts +3 -0
  137. package/src/services/flow-dialog.service.d.ts +6 -8
  138. package/src/services/flow-router.service.d.ts +4 -6
  139. package/src/services/flow.service.d.ts +3 -7
  140. package/src/types/index.d.ts +1 -2
  141. package/src/types/route.types.d.ts +0 -5
  142. package/cms/plugins/configuration.plugin.d.ts +0 -23
  143. package/cms/types/configuration.types.d.ts +0 -21
  144. package/core/modules/configuration/helpers.d.ts +0 -6
  145. package/core/modules/configuration/services/runtime-context.service.d.ts +0 -12
  146. package/core/modules/flow-configuration/services/flow-update.service.d.ts +0 -13
  147. package/core/modules/flow-configuration/types/update.types.d.ts +0 -12
  148. package/core/services/context.service.d.ts +0 -23
  149. package/core/services/quote-draft.service.d.ts +0 -50
  150. package/core/types/runtime.types.d.ts +0 -30
  151. package/core/utils/line-item.utils.d.ts +0 -25
  152. package/core/utils/line-item.worker.d.ts +0 -9
  153. package/esm2020/cms/plugins/configuration.plugin.mjs +0 -109
  154. package/esm2020/cms/types/configuration.types.mjs +0 -2
  155. package/esm2020/core/modules/configuration/helpers.mjs +0 -73
  156. package/esm2020/core/modules/configuration/services/runtime-context.service.mjs +0 -45
  157. package/esm2020/core/modules/flow-configuration/services/flow-update.service.mjs +0 -138
  158. package/esm2020/core/modules/flow-configuration/types/update.types.mjs +0 -2
  159. package/esm2020/core/services/context.service.mjs +0 -91
  160. package/esm2020/core/services/quote-draft.service.mjs +0 -192
  161. package/esm2020/core/types/runtime.types.mjs +0 -16
  162. package/esm2020/core/utils/line-item.utils.mjs +0 -187
  163. package/esm2020/core/utils/line-item.worker.mjs +0 -19
  164. package/esm2020/src/guards/context.guard.mjs +0 -91
  165. package/esm2020/src/guards/index.mjs +0 -2
  166. package/esm2020/src/pages/remote/remote.component.mjs +0 -342
  167. package/esm2020/src/pages/remote/remote.module.mjs +0 -20
  168. package/esm2020/src/pages/remote/remote.types.mjs +0 -2
  169. package/esm2020/src/resolvers/quote.resolver.mjs +0 -82
  170. package/esm2020/src/types/context-route.types.mjs +0 -2
  171. package/esm2020/src/types/metrics.types.mjs +0 -2
  172. package/esm2020/src/utils/flow.utils.mjs +0 -25
  173. package/esm2020/src/utils/index.mjs +0 -2
  174. package/src/guards/context.guard.d.ts +0 -19
  175. package/src/guards/index.d.ts +0 -1
  176. package/src/pages/remote/remote.component.d.ts +0 -46
  177. package/src/pages/remote/remote.module.d.ts +0 -10
  178. package/src/pages/remote/remote.types.d.ts +0 -4
  179. package/src/resolvers/quote.resolver.d.ts +0 -19
  180. package/src/types/context-route.types.d.ts +0 -5
  181. package/src/types/metrics.types.d.ts +0 -5
  182. package/src/utils/flow.utils.d.ts +0 -8
  183. package/src/utils/index.d.ts +0 -1
@@ -1,5 +1,3 @@
1
- import { CustomizationChanges } from '@veloceapps/core';
2
- import { IntegrationAction } from '@veloceapps/sdk/core';
3
1
  export declare namespace FlowAction {
4
2
  const FLOW_CONFIGURE_PRODUCT = "[FLOW]_CONFIGURE_PRODUCT";
5
3
  const FLOW_NAVIGATE_BACK = "[FLOW]_NAVIGATE_BACK";
@@ -16,35 +14,86 @@ export declare namespace FlowAction {
16
14
  const SUBMIT_GUIDED_SELLING = "[FLOW]_SUBMIT_GUIDED_SELLING";
17
15
  const CLOSE_GUIDED_SELLING = "[FLOW]_CLOSE_GUIDED_SELLING";
18
16
  const OPEN_DIALOG = "[FLOW]_OPEN_DIALOG";
19
- const ConfigureProductAction: ({ lineItemId, productId, }: {
20
- lineItemId?: string | undefined;
17
+ const ConfigureProductAction: ({ transactionItemId, productId, qty, }: {
18
+ transactionItemId?: string | undefined;
21
19
  productId?: string | undefined;
22
- }) => IntegrationAction;
23
- const NavigateBackAction: () => IntegrationAction;
24
- const NavigateToAction: (path: string, productId?: string, lineItemId?: string) => IntegrationAction;
25
- const NavigateToCatalogAction: () => IntegrationAction;
26
- const NavigateToShoppingCartAction: () => IntegrationAction;
27
- const ApplyProductConfigurationAction: () => IntegrationAction;
28
- const RemoteApplyAction: () => IntegrationAction;
29
- const RemoteCancelAction: () => IntegrationAction;
20
+ qty?: number | undefined;
21
+ }) => {
22
+ type: string;
23
+ payload: {
24
+ transactionItemId: string | undefined;
25
+ productId: string | undefined;
26
+ qty: number | undefined;
27
+ };
28
+ };
29
+ const NavigateBackAction: () => {
30
+ type: string;
31
+ };
32
+ const NavigateToAction: (path: string, productId?: string, transactionItemId?: string) => {
33
+ type: string;
34
+ payload: {
35
+ path: string;
36
+ productId: string | undefined;
37
+ transactionItemId: string | undefined;
38
+ };
39
+ };
40
+ const NavigateToCatalogAction: () => {
41
+ type: string;
42
+ };
43
+ const NavigateToShoppingCartAction: () => {
44
+ type: string;
45
+ };
46
+ const ApplyProductConfigurationAction: () => {
47
+ type: string;
48
+ };
49
+ const RemoteApplyAction: () => {
50
+ type: string;
51
+ };
52
+ const RemoteCancelAction: () => {
53
+ type: string;
54
+ };
30
55
  const SwitchObjectAction: (payload: {
31
56
  id: string;
32
- }) => IntegrationAction;
57
+ }) => {
58
+ type: string;
59
+ payload: {
60
+ id: string;
61
+ };
62
+ };
33
63
  const OpenGuidedSelling: (payload: {
34
64
  guidedSellingId: string;
35
- }) => IntegrationAction;
65
+ }) => {
66
+ type: string;
67
+ payload: {
68
+ guidedSellingId: string;
69
+ };
70
+ };
36
71
  const CloseGuidedSelling: (payload?: {
37
72
  keepState?: boolean;
38
- }) => IntegrationAction;
73
+ }) => {
74
+ type: string;
75
+ payload: {
76
+ keepState?: boolean | undefined;
77
+ } | undefined;
78
+ };
39
79
  const SubmitGuidedSelling: (payload: {
40
80
  result: Record<string, any>;
41
- }) => IntegrationAction;
42
- const OpenDialog: (dialog: string) => IntegrationAction;
81
+ }) => {
82
+ type: string;
83
+ payload: {
84
+ result: Record<string, any>;
85
+ };
86
+ };
87
+ const OpenDialog: (dialog: string) => {
88
+ type: string;
89
+ payload: {
90
+ dialog: string;
91
+ };
92
+ };
43
93
  }
44
94
  export declare namespace CmsAction {
45
95
  const GO_TO_PAGE = "[CMS]_GO_TO_PAGE";
46
96
  const UPDATE_CUSTOMIZATION = "[CMS]_UPDATE_CUSTOMIZATION";
47
- const EMIT_CUSTOMIZATION_CHANGES = "[CMS]_EMIT_CUSTOMIZATION_CHANGES";
48
97
  const SHOW_OVERLAY = "[CMS]_SHOW_OVERLAY";
49
98
  const HIDE_OVERLAY = "[CMS]_HIDE_OVERLAY";
50
99
  const HIDE_ALL_OVERLAYS = "[CMS]_HIDE_ALL_OVERLAYS";
@@ -53,37 +102,53 @@ export declare namespace CmsAction {
53
102
  *
54
103
  * @param pageName name of the page
55
104
  */
56
- const GoToPage: (pageName: string) => IntegrationAction;
105
+ const GoToPage: (pageName: string) => {
106
+ type: string;
107
+ payload: {
108
+ pageName: string;
109
+ };
110
+ };
57
111
  /**
58
112
  * Update UI definition customization state
59
113
  *
60
114
  * @param pageName name of the page
61
115
  */
62
- const UpdateCustomization: (value: any) => IntegrationAction;
63
- /**
64
- * Emit customization page changes
65
- *
66
- * @param changes - object with customization page changes
67
- */
68
- const EmitCustomizationChanges: (changes: CustomizationChanges) => IntegrationAction;
116
+ const UpdateCustomization: (value: any) => {
117
+ type: string;
118
+ payload: {
119
+ value: any;
120
+ };
121
+ };
69
122
  /**
70
123
  * Show an Overlay on the selected page
71
124
  *
72
125
  * @param name - name of the overlay
73
126
  * @returns void
74
127
  */
75
- const ShowOverlay: (name: string) => IntegrationAction;
128
+ const ShowOverlay: (name: string) => {
129
+ type: string;
130
+ payload: {
131
+ name: string;
132
+ };
133
+ };
76
134
  /**
77
135
  * Hide an Overlay on the selected page
78
136
  *
79
137
  * @param name - name of the overlay
80
138
  * @returns void
81
139
  */
82
- const HideOverlay: (name: string) => IntegrationAction;
140
+ const HideOverlay: (name: string) => {
141
+ type: string;
142
+ payload: {
143
+ name: string;
144
+ };
145
+ };
83
146
  /**
84
147
  * Hide all Overlays on the selected page
85
148
  *
86
149
  * @returns void
87
150
  */
88
- const HideAllOverlays: () => IntegrationAction;
151
+ const HideAllOverlays: () => {
152
+ type: string;
153
+ };
89
154
  }
@@ -1,36 +1,29 @@
1
- import { ChangeDetectorRef, ElementRef, Injector, OnDestroy, OnInit, ViewContainerRef } from '@angular/core';
2
- import { ConfigurationService } from '@veloceapps/sdk/core';
1
+ import { ChangeDetectorRef, OnDestroy, OnInit, ViewContainerRef } from '@angular/core';
3
2
  import { RuntimeService } from '../../modules/runtime/services/runtime.service';
4
3
  import { ElementContextService } from '../../services/element-context.service';
5
4
  import { IOProviderService } from '../../services/io-provider.service';
6
5
  import { ElementMetadata } from '../../types/common.types';
7
6
  import * as i0 from "@angular/core";
8
7
  export declare class ElementRendererComponent implements OnInit, OnDestroy {
9
- private parentInjector;
10
8
  private runtimeService;
11
9
  private elementContext;
12
10
  private ioProviderService;
13
- private configurationService;
14
- private elementRef;
15
11
  private cdr;
16
12
  el?: ViewContainerRef;
17
13
  meta: ElementMetadata;
18
14
  private type?;
19
15
  private refs;
20
16
  private destroy$;
21
- constructor(parentInjector: Injector, runtimeService: RuntimeService, elementContext: ElementContextService, ioProviderService: IOProviderService, configurationService: ConfigurationService, elementRef: ElementRef, cdr: ChangeDetectorRef);
17
+ constructor(runtimeService: RuntimeService, elementContext: ElementContextService, ioProviderService: IOProviderService, cdr: ChangeDetectorRef);
22
18
  ngOnInit(): void;
23
19
  ngOnDestroy(): void;
24
20
  private createComponents;
25
21
  private createFromPath;
26
- private getModelComponent;
27
- private createFromLineItem;
28
22
  private processChildren;
29
- private getParentLineItem$;
30
23
  private createComponent;
31
24
  private updateComponent;
32
25
  private destroyComponent;
33
26
  private destroyComponents;
34
- static ɵfac: i0.ɵɵFactoryDeclaration<ElementRendererComponent, [{ skipSelf: true; }, null, null, null, null, null, null]>;
27
+ static ɵfac: i0.ɵɵFactoryDeclaration<ElementRendererComponent, never>;
35
28
  static ɵcmp: i0.ɵɵComponentDeclaration<ElementRendererComponent, "vl-cms-element-renderer", never, { "meta": "meta"; }, {}, never, never, false, never>;
36
29
  }
@@ -1,8 +1,8 @@
1
1
  import { OnDestroy, OnInit } from '@angular/core';
2
2
  import { ToastService } from '@veloceapps/components';
3
3
  import { UIDefinition } from '@veloceapps/core';
4
- import { ConfigurationStateService, IntegrationState } from '@veloceapps/sdk/core';
5
- import { BehaviorSubject, Observable } from 'rxjs';
4
+ import { IntegrationState } from '@veloceapps/sdk/core';
5
+ import { BehaviorSubject } from 'rxjs';
6
6
  import { RuntimeService } from '../../modules/runtime/services/runtime.service';
7
7
  import { ElementMetadata } from '../../types/common.types';
8
8
  import { CMSPreviewConfig } from './preview.types';
@@ -13,20 +13,19 @@ interface State {
13
13
  }
14
14
  export declare class PreviewComponent implements OnInit, OnDestroy {
15
15
  private runtimeService;
16
- private configurationState;
17
16
  private toastService;
18
17
  private integrationState;
19
18
  uiDefinition?: UIDefinition;
20
19
  config?: CMSPreviewConfig;
21
20
  state$: BehaviorSubject<State>;
22
- elements$: Observable<ElementMetadata[]>;
21
+ elements$: BehaviorSubject<ElementMetadata[]>;
23
22
  private destroy$;
24
- constructor(runtimeService: RuntimeService, configurationState: ConfigurationStateService, toastService: ToastService, integrationState: IntegrationState);
23
+ constructor(runtimeService: RuntimeService, toastService: ToastService, integrationState: IntegrationState);
25
24
  ngOnInit(): void;
26
25
  ngOnDestroy(): void;
27
26
  trackBy(_: number, el: ElementMetadata): ElementMetadata;
28
27
  private startPreview;
29
- private getPages$;
28
+ private getElements$;
30
29
  static ɵfac: i0.ɵɵFactoryDeclaration<PreviewComponent, never>;
31
30
  static ɵcmp: i0.ɵɵComponentDeclaration<PreviewComponent, "vl-cms-preview", never, { "uiDefinition": "uiDefinition"; "config": "config"; }, {}, never, never, false, never>;
32
31
  }
@@ -13,10 +13,6 @@ export interface CMSPreviewConfig {
13
13
  * When `true`, preview renders settings page (element with `type: CUSTOMIZATION_PAGE`)
14
14
  */
15
15
  customizationMode?: boolean;
16
- /**
17
- * When `true`, preview component does not clear configuration state on destroy
18
- */
19
- persistConfigurationState?: boolean;
20
16
  /**
21
17
  * Custom initialization function which will be executed before starting a preview
22
18
  */
@@ -2,7 +2,6 @@ import { ElementMetadata } from '../types/common.types';
2
2
  import * as i0 from "@angular/core";
3
3
  export declare class ElementContextService {
4
4
  metadata?: ElementMetadata;
5
- parentModelId?: string;
6
5
  static ɵfac: i0.ɵɵFactoryDeclaration<ElementContextService, never>;
7
6
  static ɵprov: i0.ɵɵInjectableDeclaration<ElementContextService>;
8
7
  }
@@ -29,6 +29,8 @@ export interface ElementModel {
29
29
  */
30
30
  path?: string;
31
31
  /**
32
+ * @deprecated
33
+ * To be removed!!!
32
34
  * Used only when `UIDefinitionType = CONFIGURATION`.
33
35
  */
34
36
  lineItem?: string;
@@ -1,6 +1,5 @@
1
1
  export * from '../modules/runtime/types/compilation.types';
2
2
  export * from './common.types';
3
- export * from './configuration.types';
4
3
  export * from './elements.types';
5
4
  export * from './layouts.types';
6
5
  export * from './pages.types';
@@ -1,4 +1,3 @@
1
- import { ElementMetadata, ElementPath, PathBlock } from '../types';
2
- export declare const parseBoundPath: (path: string) => PathBlock[];
1
+ import { ElementMetadata, ElementPath } from '../types';
3
2
  export declare const parsePath: (path: string) => ElementPath;
4
3
  export declare const getAbsolutePath: (elements: ElementMetadata[], subject: ElementMetadata, path: ElementPath) => string | undefined;
@@ -1,10 +1,11 @@
1
1
  import { DataSource } from '@angular/cdk/collections';
2
2
  import * as angularCore from '@angular/core';
3
3
  import * as angularForms from '@angular/forms';
4
- import { CatalogApiService, ConfigurationSettingsApiService, ContractedPriceApiService, DeltaApiService, DocumentAttachmentApiService, GuidedSellingApiService, PicklistsApiService, PriceApiService, QuoteApiService, RampApiService, SalesforceApiService, ShoppingCartSettingsApiService } from '@veloceapps/api';
4
+ import { ContractedPriceApiService } from '@veloceapps/api';
5
+ import { CatalogApiService, ConfigurationSettingsApiService, GuidedSellingApiService, DocumentAttachmentApiService, SalesforceApiService, SalesTransactionApiService, ShoppingCartSettingsApiService } from '@veloceapps/api/v2';
5
6
  import { ToastService, ToastType } from '@veloceapps/components';
6
- import { ConfigurationContextMode, Operator, Predicate, TokenInfoService, parseJsonSafely, parseJwt } from '@veloceapps/core';
7
- import { ActionCodePipe, ConfigurationService, ConfigurationStateService, ContextService, DatePipe, FlowConfigurationService, FlowStateConfigurationService, FlowStateService, IntegrationState, LineItemWorker, NumberPipe, PricePipe, ProductImagesService, QuoteDraftService, RuntimeSettingsService } from '@veloceapps/sdk/core';
7
+ import { Operator, parseJsonSafely, parseJwt, Predicate, TokenInfoService, UITemplateType } from '@veloceapps/core';
8
+ import { ActionCodePipe, ConfigurationService, GuidedSellingService, ConfigurationStateService, DatePipe, filterSuccessfulExecute, FlowConfigurationService, FlowInfoService, FlowStateConfigurationService, FlowStateService, IntegrationState, NumberPipe, PricePipe, ProductImagesService, RuntimeSettingsService, SalesTransactionService, TransactionItemWorker } from '@veloceapps/sdk/core';
8
9
  import lodash from 'lodash';
9
10
  import * as rxjs from 'rxjs';
10
11
  import * as rxjsOperators from 'rxjs/operators';
@@ -17,73 +18,50 @@ export declare const vendorMap: {
17
18
  Operator: typeof Operator;
18
19
  Predicate: typeof Predicate;
19
20
  parseJsonSafely: typeof parseJsonSafely;
20
- ConfigurationContextMode: typeof ConfigurationContextMode;
21
21
  parseJwt: typeof parseJwt;
22
22
  TokenInfoService: typeof TokenInfoService;
23
+ UITemplateType: typeof UITemplateType;
23
24
  };
24
25
  '@veloceapps/components': {
25
26
  ToastService: typeof ToastService;
26
27
  ToastType: typeof ToastType;
27
28
  };
28
29
  '@veloceapps/api': {
29
- SalesforceApiService: typeof SalesforceApiService;
30
- QuoteApiService: typeof QuoteApiService;
31
- DocumentAttachmentApiService: typeof DocumentAttachmentApiService;
32
- RampApiService: typeof RampApiService;
30
+ ContractedPriceApiService: typeof ContractedPriceApiService;
31
+ };
32
+ '@veloceapps/api/v2': {
33
33
  CatalogApiService: typeof CatalogApiService;
34
- DeltaApiService: typeof DeltaApiService;
35
- PicklistsApiService: typeof PicklistsApiService;
36
- PriceApiService: typeof PriceApiService;
37
- ShoppingCartSettingsApiService: typeof ShoppingCartSettingsApiService;
38
34
  ConfigurationSettingsApiService: typeof ConfigurationSettingsApiService;
35
+ DocumentAttachmentApiService: typeof DocumentAttachmentApiService;
39
36
  GuidedSellingApiService: typeof GuidedSellingApiService;
40
- ContractedPriceApiService: typeof ContractedPriceApiService;
37
+ SalesforceApiService: typeof SalesforceApiService;
38
+ SalesTransactionApiService: typeof SalesTransactionApiService;
39
+ ShoppingCartSettingsApiService: typeof ShoppingCartSettingsApiService;
41
40
  };
42
41
  '@veloceapps/sdk/core': {
43
- findLineItem: (id: string, lineItems: import("@veloceapps/core").LineItem[]) => import("@veloceapps/core").LineItem | undefined;
44
- findLineItemWithComparator: (lineItems: import("@veloceapps/core").LineItem[], comparator: (li: import("@veloceapps/core").LineItem) => boolean) => import("@veloceapps/core").LineItem | undefined;
45
- insertLineItem: (lineItem: import("@veloceapps/core").LineItem, parentId: string, toInsert: import("@veloceapps/core").LineItem) => import("@veloceapps/core").LineItem;
46
- removeLineItem: (lineItem: import("@veloceapps/core").LineItem, idToRemove: string) => import("@veloceapps/core").LineItem;
47
- replaceLineItem: (lineItem: import("@veloceapps/core").LineItem, replaceTo: import("@veloceapps/core").LineItem, skipCardinalityCalculation?: boolean | undefined) => import("@veloceapps/core").LineItem;
48
- recalculateCardinalityVariables: (original: import("@veloceapps/core").LineItem, updated: import("@veloceapps/core").LineItem) => import("@veloceapps/core").LineItem;
49
- mapAttributes: (attributes: import("@veloceapps/core").Attribute[]) => lodash.Dictionary<any>;
50
- getAttributes: (attributes: import("@veloceapps/core").Attribute[], names?: string[] | undefined) => import("@veloceapps/core").Attribute[];
51
- upsertAttributes: (originalAttributes: import("@veloceapps/core").Attribute[], attributesToUpsert: import("@veloceapps/core").NewAttribute[]) => import("@veloceapps/core").Attribute[];
52
- patchAttributes: (rootLineItem: import("@veloceapps/core").LineItem, id: string, attrs: import("@veloceapps/core").NewAttribute[], skipCardinalityCalculation?: boolean | undefined) => import("@veloceapps/core").LineItem;
53
- getAttributeValue: (attributes: import("@veloceapps/core").Attribute[], name: string) => any;
54
- generateLineItem: (port: string, type: string, parentId: string, attributes?: import("@veloceapps/core").NewAttribute[] | undefined, lineItems?: import("@veloceapps/core").LineItem[] | undefined) => import("@veloceapps/core").LineItem;
55
- getRecommendedPrices: (portDomain: import("@veloceapps/core").PortDomain, type: string) => {
56
- net: number;
57
- list: number;
58
- };
59
- getOriginParent: (lineItems: import("@veloceapps/core").LineItem[], currentLineItem: import("@veloceapps/core").LineItem) => import("@veloceapps/core").LineItem | undefined;
60
- assetPredicateFn: (lineItem: import("@veloceapps/core").LineItem, assetId?: string | undefined) => boolean;
61
- multiplyLineItems: (lineItem: import("@veloceapps/core").LineItem, qty: number, split: boolean) => import("@veloceapps/core").LineItem[];
62
- isTechnicalAttribute: (name: string) => boolean;
63
- filterOutTechnicalAttributes: <T_1 extends {
64
- name: string;
65
- }>(attributes: T_1[]) => T_1[];
66
42
  ConfigurationService: typeof ConfigurationService;
67
43
  ConfigurationStateService: typeof ConfigurationStateService;
68
- QuoteDraftService: typeof QuoteDraftService;
44
+ GuidedSellingService: typeof GuidedSellingService;
45
+ filterSuccessfulExecute: typeof filterSuccessfulExecute;
46
+ FlowInfoService: typeof FlowInfoService;
69
47
  FlowConfigurationService: typeof FlowConfigurationService;
70
48
  IntegrationState: typeof IntegrationState;
71
49
  FlowStateService: typeof FlowStateService;
72
50
  FlowStateConfigurationService: typeof FlowStateConfigurationService;
73
- LineItemWorker: typeof LineItemWorker;
51
+ TransactionItemWorker: typeof TransactionItemWorker;
74
52
  ProductImagesService: typeof ProductImagesService;
75
- ContextService: typeof ContextService;
76
53
  RuntimeSettingsService: typeof RuntimeSettingsService;
77
54
  ActionCodePipe: typeof ActionCodePipe;
78
55
  DatePipe: typeof DatePipe;
79
56
  NumberPipe: typeof NumberPipe;
80
57
  PricePipe: typeof PricePipe;
58
+ SalesTransactionService: typeof SalesTransactionService;
81
59
  };
82
60
  '@veloceapps/sdk/cms': {
83
61
  TemplatesService: typeof TemplatesService;
84
62
  IntegrationState: typeof IntegrationState;
85
63
  ResourcesService: typeof ResourcesService;
86
- cmsInject: <T_2 = unknown>(token: string) => T_2;
64
+ cmsInject: <T_1 = unknown>(token: string) => T_1;
87
65
  FlowAction: typeof cmsActions.FlowAction;
88
66
  CmsAction: typeof cmsActions.CmsAction;
89
67
  DEFAULT_PLUGINS_TOKEN: angularCore.InjectionToken<typeof import("./engine/models/plugin").Plugin[]>;
package/core/index.d.ts CHANGED
@@ -1,8 +1,8 @@
1
1
  export * from './core.module';
2
2
  export * from './directives';
3
3
  export * from './modules';
4
+ export * from './operators';
4
5
  export * from './pipes';
5
6
  export * from './services';
6
7
  export * from './types';
7
8
  export * from './utils';
8
- export * as lineItemUtils from './utils/line-item.utils';
@@ -1,6 +1,6 @@
1
- export * from './helpers';
2
1
  export * from './services/configuration-runtime.service';
3
- export * from './services/configuration.service';
4
2
  export * from './services/configuration-state.service';
5
- export * from './types/configuration-runtime.types';
6
- export * from './types/configuration.types';
3
+ export * from './services/configuration.service';
4
+ export * from './services/test-mode-configuration.service';
5
+ export * from './services/guided-selling.service';
6
+ export * from './types';
@@ -1,28 +1,17 @@
1
- import { ConfigurationApiService } from '@veloceapps/api';
2
- import { RuntimeModel, UIDefinitionContainer, UIDefinitionProps } from '@veloceapps/core';
1
+ import { PCMApiService } from '@veloceapps/api/v2';
2
+ import { PCMModel, UIDefinitionContainer, UIDefinitionProps } from '@veloceapps/core';
3
3
  import { Observable } from 'rxjs';
4
- import { ContextService } from '../../../services';
5
- import { RuntimeContext } from '../../../types';
6
4
  import { RuntimeInitializationProps } from '../types/configuration-runtime.types';
7
- import { RuntimeContextService } from './runtime-context.service';
8
5
  import * as i0 from "@angular/core";
9
6
  export declare class ConfigurationRuntimeService {
10
- private apiService;
11
- private contextService;
12
- private runtimeContextService;
13
- private _runtimeContext?;
14
- private _isInitialized;
7
+ private pcmApiService;
8
+ uiDefinitionContainer: UIDefinitionContainer | null;
15
9
  initializationProps?: RuntimeInitializationProps;
16
- uiDefinitionProperties: UIDefinitionProps;
17
- constructor(apiService: ConfigurationApiService, contextService: ContextService, runtimeContextService: RuntimeContextService);
10
+ pcmModel?: PCMModel;
11
+ constructor(pcmApiService: PCMApiService);
12
+ get uiDefinitionProps(): UIDefinitionProps;
18
13
  reset(): void;
19
- initTestMode(uiDefinitionContainer: UIDefinitionContainer): Observable<RuntimeContext>;
20
- init(props: RuntimeInitializationProps): Observable<RuntimeContext>;
21
- overrideUIDefinition(uiDefinitionContainer: UIDefinitionContainer): void;
22
- private id15to18;
23
- get isInitialized(): boolean;
24
- get runtimeModel(): RuntimeModel | undefined;
25
- get runtimeContext(): RuntimeContext | undefined;
14
+ init$(props: RuntimeInitializationProps): Observable<PCMModel>;
26
15
  static ɵfac: i0.ɵɵFactoryDeclaration<ConfigurationRuntimeService, never>;
27
16
  static ɵprov: i0.ɵɵInjectableDeclaration<ConfigurationRuntimeService>;
28
17
  }
@@ -1,8 +1,9 @@
1
- import { FlowStateApiService, QuoteApiService, SaveQuoteResponse } from '@veloceapps/api';
1
+ import { FlowStateApiService } from '@veloceapps/api';
2
+ import { SalesTransactionApiService, SalesTransactionUpsertResponse } from '@veloceapps/api/v2';
2
3
  import { ToastService } from '@veloceapps/components';
3
4
  import { FlowStateExecutionRequest, FlowStateExecutionResult, FlowStateSelectorResponse } from '@veloceapps/core';
4
5
  import { BehaviorSubject, Observable, Subject } from 'rxjs';
5
- import { FlowInfoService, FlowStateService, QuoteDraftService } from '../../../services';
6
+ import { FlowInfoService, FlowStateService, SalesTransactionService } from '../../../services';
6
7
  import { FlowStateSubscriptionOptions } from '../../../types/flow-state.types';
7
8
  import { FlowConfigurationService } from '../../flow-configuration';
8
9
  import { ConfigurationRuntimeService } from './configuration-runtime.service';
@@ -11,13 +12,13 @@ import * as i0 from "@angular/core";
11
12
  export declare class ConfigurationStateService {
12
13
  private configurationRuntimeService;
13
14
  private configurationService;
14
- private quoteDraftService;
15
- private toastService;
16
15
  private flowStateService;
17
16
  private flowInfoService;
18
17
  private flowConfigurationService;
19
18
  private flowStateApiService;
20
- private quoteApiService;
19
+ private salesTransactionService;
20
+ private salesTransactionApiService;
21
+ private toastService;
21
22
  isInitialized$: BehaviorSubject<boolean>;
22
23
  canceledConfiguration$: Subject<void>;
23
24
  private readonly NOT_INITIALIZED;
@@ -31,7 +32,7 @@ export declare class ConfigurationStateService {
31
32
  private statefulRequestStream$;
32
33
  private statefulExecutionRequest$;
33
34
  private statelessExecutionRequest$;
34
- constructor(configurationRuntimeService: ConfigurationRuntimeService, configurationService: ConfigurationService, quoteDraftService: QuoteDraftService, toastService: ToastService, flowStateService: FlowStateService, flowInfoService: FlowInfoService, flowConfigurationService: FlowConfigurationService, flowStateApiService: FlowStateApiService, quoteApiService: QuoteApiService);
35
+ constructor(configurationRuntimeService: ConfigurationRuntimeService, configurationService: ConfigurationService, flowStateService: FlowStateService, flowInfoService: FlowInfoService, flowConfigurationService: FlowConfigurationService, flowStateApiService: FlowStateApiService, salesTransactionService: SalesTransactionService, salesTransactionApiService: SalesTransactionApiService, toastService: ToastService);
35
36
  get isExecutionInProgress$(): Observable<boolean>;
36
37
  init$(): Observable<void>;
37
38
  cleanup(): void;
@@ -39,11 +40,10 @@ export declare class ConfigurationStateService {
39
40
  dispatch$(actionName: string, inputData?: unknown): Observable<FlowStateExecutionResult>;
40
41
  select$<Response = unknown>(selectorName: string, inputData?: unknown): Observable<FlowStateSelectorResponse<Response>>;
41
42
  subscribe$<Response = unknown>(selectorName: string, inputData?: unknown, options?: FlowStateSubscriptionOptions): Observable<FlowStateSelectorResponse<Response>>;
42
- saveConfiguration(flow?: boolean): Observable<SaveQuoteResponse>;
43
+ saveConfiguration(): Observable<SalesTransactionUpsertResponse>;
43
44
  cancelConfiguration(): Observable<void>;
44
45
  private get isStatefulConfiguration();
45
46
  private initStateful$;
46
- private initStateless$;
47
47
  private execToRequest;
48
48
  private handleSelectorsResponse;
49
49
  private executeRequest$;
@@ -1,64 +1,34 @@
1
- import { ConfigurationApiService } from '@veloceapps/api';
2
- import { Charge, CompiledPricePlan, ConfigurationContext, ConfigurationRequest, ConfigurePrice, LineItem, PatchLineItemOptions, RuntimeModel } from '@veloceapps/core';
3
- import { Dictionary } from 'lodash';
1
+ import { OrchestrationsApiService } from '@veloceapps/api/v2';
2
+ import { PCMModel, SalesTransactionItem, TransactionContext } from '@veloceapps/core';
4
3
  import { MessageService } from 'primeng/api';
5
- import { DialogService } from 'primeng/dynamicdialog';
6
4
  import { Observable } from 'rxjs';
7
- import { ContextService } from '../../../services/context.service';
8
- import { FlowInfoService } from '../../../services/flow-info.service';
9
- import { QuoteDraftService } from '../../../services/quote-draft.service';
10
- import { RuntimeSettingsService } from '../../../services/runtime-settings.service';
11
- import { RuntimeContext } from '../../../types';
12
- import { ExternalConfigurationProps, GuidedSellingSubmitData } from '../types/configuration.types';
5
+ import { FlowInfoService, SalesTransactionService } from '../../../services';
13
6
  import { ConfigurationRuntimeService } from './configuration-runtime.service';
14
7
  import * as i0 from "@angular/core";
15
8
  export declare class ConfigurationService {
16
- private quoteDraftService;
17
- private runtimeService;
18
- private contextService;
19
- private configurationApiService;
20
- private messageService;
21
- private dialogService;
22
- private runtimeSettings;
23
9
  private flowInfoService;
24
- private mode;
25
- private configurableRamp;
26
- private configurationState;
27
- private previousConfigurationState;
28
- private isLoadingSubj$;
10
+ private messageService;
11
+ private configurationRuntimeService;
12
+ private salesTransactionService;
13
+ private orchestrationsApiService;
29
14
  isLoading$: Observable<boolean>;
30
15
  hasUnsavedChanges: boolean;
31
- constructor(quoteDraftService: QuoteDraftService, runtimeService: ConfigurationRuntimeService, contextService: ContextService, configurationApiService: ConfigurationApiService, messageService: MessageService, dialogService: DialogService, runtimeSettings: RuntimeSettingsService, flowInfoService: FlowInfoService);
16
+ private configurationStateSubj$;
17
+ private previousConfigurationStateSubj$;
18
+ private isLoadingSubj$;
19
+ constructor(flowInfoService: FlowInfoService, messageService: MessageService, configurationRuntimeService: ConfigurationRuntimeService, salesTransactionService: SalesTransactionService, orchestrationsApiService: OrchestrationsApiService);
20
+ get state$(): Observable<TransactionContext>;
21
+ get state(): TransactionContext | null;
22
+ get previousState(): TransactionContext | null;
23
+ get root$(): Observable<SalesTransactionItem>;
24
+ get root(): SalesTransactionItem | null;
32
25
  reset(): void;
33
- patch$(lineItem: LineItem, options?: PatchLineItemOptions): Observable<LineItem>;
34
- patch(lineItem: LineItem, options?: PatchLineItemOptions): void;
35
- setConfigurableRamp(lineItem: LineItem): void;
36
- get(): Observable<LineItem | undefined>;
37
- getSnapshot(): LineItem | undefined;
38
- getRuntimeModel(): RuntimeModel;
39
- getRuntimeContext(): RuntimeContext;
40
- get state$(): Observable<ConfigurePrice | null>;
41
- get stateSnapshot(): ConfigurePrice | null;
42
- get previousStateSnapshot(): ConfigurePrice | null;
43
- get contextSnapshot(): ConfigurationContext;
44
- get context$(): Observable<ConfigurationContext>;
45
- get charges$(): Observable<Dictionary<Charge>>;
46
- get chargesSnapshot(): Dictionary<Charge>;
47
- get pricePlans$(): Observable<Dictionary<CompiledPricePlan>>;
48
- get pricePlansSnapshot(): Dictionary<CompiledPricePlan>;
49
- get procedureContext$(): Observable<Dictionary<unknown>>;
50
- get procedureContextSnapshot(): Dictionary<unknown>;
51
- configure(): Observable<LineItem>;
52
- configureRequest$(configurationRequest: ConfigurationRequest): Observable<LineItem>;
53
- configureExternal$(props: ExternalConfigurationProps): Observable<LineItem>;
54
- configureGuidedSelling$(data: GuidedSellingSubmitData): Observable<ConfigurePrice>;
55
- generateRequest(lightMode?: boolean): ConfigurationRequest;
56
- generateLineItem(): LineItem;
57
- getAsset(): LineItem | undefined;
58
- private getUIDefinitionProperties;
59
- private showInactiveProductsConfirmation;
60
- private extendedConfigureLineItem$;
61
- private extendConfigurationRequest;
26
+ init$(): Observable<void>;
27
+ patch$(transactionItem: SalesTransactionItem): Observable<void>;
28
+ patch(transactionItem: SalesTransactionItem): void;
29
+ configure$(transactionContext: TransactionContext): Observable<TransactionContext>;
30
+ justConfigureRequest$(transactionContext: TransactionContext): Observable<TransactionContext>;
31
+ getPCMModel(): PCMModel;
62
32
  static ɵfac: i0.ɵɵFactoryDeclaration<ConfigurationService, never>;
63
33
  static ɵprov: i0.ɵɵInjectableDeclaration<ConfigurationService>;
64
34
  }
@@ -0,0 +1,13 @@
1
+ import { TransactionContext } from '@veloceapps/core';
2
+ import { Observable } from 'rxjs';
3
+ import { GuidedSellingSubmitData } from '../types';
4
+ import { OrchestrationsApiService } from '@veloceapps/api/v2';
5
+ import * as i0 from "@angular/core";
6
+ export declare class GuidedSellingService {
7
+ private orchestrationsApiService;
8
+ constructor(orchestrationsApiService: OrchestrationsApiService);
9
+ configureGuidedSelling$(data: GuidedSellingSubmitData): Observable<TransactionContext>;
10
+ private getTransactionContext;
11
+ static ɵfac: i0.ɵɵFactoryDeclaration<GuidedSellingService, never>;
12
+ static ɵprov: i0.ɵɵInjectableDeclaration<GuidedSellingService>;
13
+ }
@@ -0,0 +1,23 @@
1
+ import { UIDefinitionContainer } from '@veloceapps/core';
2
+ import { Observable } from 'rxjs';
3
+ import { FlowInfoService, RuntimeSettingsService, SalesTransactionService } from '../../../services';
4
+ import { TestModeConfigurationOptions } from '../types';
5
+ import { ConfigurationRuntimeService } from './configuration-runtime.service';
6
+ import { ConfigurationService } from './configuration.service';
7
+ import * as i0 from "@angular/core";
8
+ export declare class TestModeConfigurationService {
9
+ private flowInfoService;
10
+ private configurationService;
11
+ private configurationRuntimeService;
12
+ private salesTransactionService;
13
+ private runtimeSettingsService;
14
+ private isInitialized;
15
+ private pcmModel?;
16
+ constructor(flowInfoService: FlowInfoService, configurationService: ConfigurationService, configurationRuntimeService: ConfigurationRuntimeService, salesTransactionService: SalesTransactionService, runtimeSettingsService: RuntimeSettingsService);
17
+ initTestMode$(uiDefinitionContainer: UIDefinitionContainer, options?: TestModeConfigurationOptions): Observable<void>;
18
+ private initConfiguration$;
19
+ private getTestTransactionContext;
20
+ private checkInitialized;
21
+ static ɵfac: i0.ɵɵFactoryDeclaration<TestModeConfigurationService, never>;
22
+ static ɵprov: i0.ɵɵInjectableDeclaration<TestModeConfigurationService>;
23
+ }