@veloceapps/sdk 5.0.14-GOOGLE → 5.0.15-0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (279) hide show
  1. package/bundles/{veloce-sdk-cms.umd.js → veloceapps-sdk-cms.umd.js} +149 -81
  2. package/bundles/veloceapps-sdk-cms.umd.js.map +1 -0
  3. package/bundles/{veloce-sdk-core.umd.js → veloceapps-sdk-core.umd.js} +765 -543
  4. package/bundles/veloceapps-sdk-core.umd.js.map +1 -0
  5. package/bundles/{veloce-sdk-runtime.umd.js → veloceapps-sdk-runtime.umd.js} +213 -146
  6. package/bundles/veloceapps-sdk-runtime.umd.js.map +1 -0
  7. package/bundles/{veloce-sdk.umd.js → veloceapps-sdk.umd.js} +225 -154
  8. package/bundles/veloceapps-sdk.umd.js.map +1 -0
  9. package/cms/cms.default.d.ts +1 -1
  10. package/cms/components/element-renderer/element-renderer.component.d.ts +1 -1
  11. package/cms/components/preview/preview.component.d.ts +1 -1
  12. package/cms/components/preview/preview.module.d.ts +1 -1
  13. package/cms/injection-tokens.d.ts +1 -1
  14. package/cms/launcher.module.d.ts +3 -3
  15. package/cms/modules/federated/federated.module.d.ts +1 -1
  16. package/cms/package.json +7 -7
  17. package/cms/services/launcher.service.d.ts +1 -1
  18. package/cms/types/configuration.types.d.ts +1 -1
  19. package/cms/utils/element.utils.d.ts +1 -1
  20. package/cms/utils/elements-resolver.d.ts +1 -1
  21. package/{core/veloce-sdk-core.d.ts → cms/veloceapps-sdk-cms.d.ts} +1 -1
  22. package/cms/vendor-map.d.ts +86 -82
  23. package/core/modules/configuration/configuration.module.d.ts +1 -1
  24. package/core/modules/configuration/helpers.d.ts +1 -1
  25. package/core/modules/configuration/services/configuration-runtime.service.d.ts +3 -3
  26. package/core/modules/configuration/services/configuration.service.d.ts +4 -3
  27. package/core/modules/configuration/services/runtime-context.service.d.ts +1 -1
  28. package/core/modules/configuration/types/configuration-runtime.types.d.ts +1 -1
  29. package/core/modules/flow-configuration/services/flow-configuration.service.d.ts +5 -4
  30. package/core/modules/flow-configuration/services/flow-update.service.d.ts +1 -1
  31. package/core/package.json +7 -7
  32. package/core/services/context.service.d.ts +2 -2
  33. package/core/services/index.d.ts +1 -0
  34. package/core/services/metric-calculation/metric-calculation.service.d.ts +21 -0
  35. package/core/services/metric-calculation/metric-calculation.types.d.ts +1 -0
  36. package/core/services/metric-calculation/metric-calculation.utils.d.ts +5 -0
  37. package/core/services/product-images.service.d.ts +1 -1
  38. package/core/services/quote-draft.service.d.ts +5 -3
  39. package/core/types/quote-states.types.d.ts +1 -1
  40. package/core/types/runtime.types.d.ts +1 -1
  41. package/core/utils/line-item.utils.d.ts +2 -1
  42. package/core/utils/line-item.worker.d.ts +1 -1
  43. package/{runtime/veloce-sdk-runtime.d.ts → core/veloceapps-sdk-core.d.ts} +1 -1
  44. package/esm2015/cms/cms.default.js +1 -1
  45. package/esm2015/cms/components/element-children/element-children.component.js +3 -3
  46. package/esm2015/cms/components/element-children/element-children.module.js +4 -4
  47. package/esm2015/cms/components/element-renderer/element-renderer.component.js +6 -6
  48. package/esm2015/cms/components/element-renderer/element-renderer.module.js +4 -4
  49. package/esm2015/cms/components/plugin.component.js +3 -3
  50. package/esm2015/cms/components/preview/preview.component.js +6 -6
  51. package/esm2015/cms/components/preview/preview.module.js +6 -6
  52. package/esm2015/cms/directives/custom-template.directive.js +3 -3
  53. package/esm2015/cms/injection-tokens.js +1 -1
  54. package/esm2015/cms/launcher.module.js +8 -8
  55. package/esm2015/cms/modules/federated/federated.component.js +4 -4
  56. package/esm2015/cms/modules/federated/federated.module.js +6 -6
  57. package/esm2015/cms/plugins/configuration.plugin.js +5 -5
  58. package/esm2015/cms/plugins/io.plugin.js +3 -3
  59. package/esm2015/cms/plugins/script.plugin.js +5 -5
  60. package/esm2015/cms/services/dynamic-module.service.js +3 -3
  61. package/esm2015/cms/services/element-context.service.js +3 -3
  62. package/esm2015/cms/services/integration.state.js +3 -3
  63. package/esm2015/cms/services/io-provider.service.js +3 -3
  64. package/esm2015/cms/services/launcher.service.js +6 -5
  65. package/esm2015/cms/services/templates.service.js +3 -3
  66. package/esm2015/cms/types/configuration.types.js +1 -1
  67. package/esm2015/cms/utils/element.utils.js +1 -1
  68. package/esm2015/cms/utils/elements-resolver.js +1 -1
  69. package/esm2015/cms/veloceapps-sdk-cms.js +5 -0
  70. package/esm2015/cms/vendor-map.js +9 -12
  71. package/esm2015/core/core.module.js +7 -7
  72. package/esm2015/core/modules/configuration/configuration.module.js +7 -7
  73. package/esm2015/core/modules/configuration/helpers.js +2 -2
  74. package/esm2015/core/modules/configuration/services/configuration-runtime.service.js +7 -7
  75. package/esm2015/core/modules/configuration/services/configuration.service.js +13 -12
  76. package/esm2015/core/modules/configuration/services/runtime-context.service.js +6 -6
  77. package/esm2015/core/modules/configuration/types/configuration-runtime.types.js +1 -1
  78. package/esm2015/core/modules/flow-configuration/flow-configuration.module.js +6 -6
  79. package/esm2015/core/modules/flow-configuration/services/flow-configuration.service.js +18 -10
  80. package/esm2015/core/modules/flow-configuration/services/flow-update.service.js +5 -5
  81. package/esm2015/core/services/context.service.js +6 -6
  82. package/esm2015/core/services/index.js +2 -1
  83. package/esm2015/core/services/metric-calculation/metric-calculation.service.js +74 -0
  84. package/esm2015/core/services/metric-calculation/metric-calculation.types.js +2 -0
  85. package/esm2015/core/services/metric-calculation/metric-calculation.utils.js +42 -0
  86. package/esm2015/core/services/product-images.service.js +5 -5
  87. package/esm2015/core/services/quote-draft.service.js +20 -10
  88. package/esm2015/core/types/quote-states.types.js +1 -1
  89. package/esm2015/core/types/runtime.types.js +1 -1
  90. package/esm2015/core/utils/line-item.utils.js +14 -3
  91. package/esm2015/core/utils/line-item.worker.js +1 -1
  92. package/esm2015/core/veloceapps-sdk-core.js +5 -0
  93. package/esm2015/runtime/components/component-preview/component-preview.component.js +7 -7
  94. package/esm2015/runtime/components/section-renderer/section-renderer.component.js +4 -4
  95. package/esm2015/runtime/components/ui-runtime/runtime.component.js +8 -8
  96. package/esm2015/runtime/components/ui-runtime-preview/runtime-preview.component.js +8 -8
  97. package/esm2015/runtime/execution/components/children-placeholder/children-placeholder.component.js +8 -8
  98. package/esm2015/runtime/execution/components/context-provider/context-provider.component.js +5 -5
  99. package/esm2015/runtime/execution/components/execution-section-renderer/execution-section-renderer.component.js +4 -4
  100. package/esm2015/runtime/execution/components/federated/federated.component.js +4 -4
  101. package/esm2015/runtime/execution/components/velo-attribute/velo-attribute.component.js +3 -3
  102. package/esm2015/runtime/execution/components/velo-multiselect/velo-multiselect.component.js +3 -3
  103. package/esm2015/runtime/execution/components/velo-port-checkbox/velo-port-checkbox.component.js +4 -4
  104. package/esm2015/runtime/execution/components/velo-port-dropdown/velo-port-dropdown.component.js +6 -6
  105. package/esm2015/runtime/execution/components/velo-port-radio/velo-port-radio.component.js +4 -4
  106. package/esm2015/runtime/execution/components/velo-type/velo-type.component.js +5 -5
  107. package/esm2015/runtime/execution/directives/section-script.directive.js +6 -6
  108. package/esm2015/runtime/execution/directives/sf-query.directive.js +5 -5
  109. package/esm2015/runtime/execution/directives/velo-attribute.directive.js +5 -5
  110. package/esm2015/runtime/execution/directives/velo-port.directive.js +21 -21
  111. package/esm2015/runtime/execution/directives/vl-approval.directive.js +5 -5
  112. package/esm2015/runtime/execution/directives/vl-document-attachments.directive.js +5 -5
  113. package/esm2015/runtime/execution/directives/vl-document-templates.directive.js +5 -5
  114. package/esm2015/runtime/execution/directives/vl-quote.directive.js +6 -6
  115. package/esm2015/runtime/execution/directives/vl-ramp.directive.js +6 -6
  116. package/esm2015/runtime/execution/runtime-execution.module.js +10 -10
  117. package/esm2015/runtime/runtime.module.js +10 -10
  118. package/esm2015/runtime/services/cart.service.js +6 -6
  119. package/esm2015/runtime/services/collapsible-state.service.js +3 -3
  120. package/esm2015/runtime/services/configuration.service.js +9 -9
  121. package/esm2015/runtime/services/current-state.service.js +4 -4
  122. package/esm2015/runtime/services/form-scope.service.js +3 -3
  123. package/esm2015/runtime/services/product-model-cache.service.js +5 -5
  124. package/esm2015/runtime/services/runtime-context.service.js +8 -8
  125. package/esm2015/runtime/services/runtime-form.service.js +5 -5
  126. package/esm2015/runtime/services/runtime.service.js +6 -6
  127. package/esm2015/runtime/services/section-helper.service.js +5 -5
  128. package/esm2015/runtime/services/section-scope.service.js +4 -4
  129. package/esm2015/runtime/services/section-store.service.js +4 -4
  130. package/esm2015/runtime/services/section.service.js +9 -9
  131. package/esm2015/runtime/types/bound-data.types.js +1 -1
  132. package/esm2015/runtime/types/runtime.types.js +1 -1
  133. package/esm2015/runtime/types/script-registry.types.js +2 -2
  134. package/esm2015/runtime/utils/line-item.util.js +2 -2
  135. package/esm2015/runtime/utils/section.utils.js +2 -2
  136. package/esm2015/runtime/utils/sections-binder.helper.js +2 -2
  137. package/esm2015/runtime/veloceapps-sdk-runtime.js +5 -0
  138. package/esm2015/src/components/dialog/dialog.component.js +3 -3
  139. package/esm2015/src/components/dialog/dialog.module.js +4 -4
  140. package/esm2015/src/components/doc-gen/doc-gen.component.js +11 -11
  141. package/esm2015/src/components/doc-gen/doc-gen.module.js +6 -6
  142. package/esm2015/src/components/header/cart-overlay/cart-preview.component.js +6 -6
  143. package/esm2015/src/components/header/cart-overlay/cart-preview.module.js +6 -6
  144. package/esm2015/src/components/header/header.component.js +10 -10
  145. package/esm2015/src/components/header/header.module.js +6 -6
  146. package/esm2015/src/components/header/metrics/metrics.component.js +20 -16
  147. package/esm2015/src/components/header/metrics/metrics.definitions.js +6 -6
  148. package/esm2015/src/components/header/metrics/metrics.module.js +6 -6
  149. package/esm2015/src/flow-routing.module.js +4 -4
  150. package/esm2015/src/flow.component.js +7 -7
  151. package/esm2015/src/flow.module.js +9 -9
  152. package/esm2015/src/guards/context.guard.js +6 -6
  153. package/esm2015/src/guards/product-unload.guard.js +5 -5
  154. package/esm2015/src/guards/root.guard.js +3 -3
  155. package/esm2015/src/pages/catalog/catalog.component.js +10 -10
  156. package/esm2015/src/pages/catalog/catalog.module.js +7 -7
  157. package/esm2015/src/pages/debug/debug.component.js +6 -6
  158. package/esm2015/src/pages/debug/debug.module.js +4 -4
  159. package/esm2015/src/pages/empty-account/empty-account.component.js +4 -4
  160. package/esm2015/src/pages/empty-account/empty-account.module.js +7 -7
  161. package/esm2015/src/pages/legacy-product/legacy-product.component.js +9 -9
  162. package/esm2015/src/pages/legacy-product/legacy-product.module.js +6 -6
  163. package/esm2015/src/pages/product/product.component.js +7 -7
  164. package/esm2015/src/pages/product/product.module.js +7 -7
  165. package/esm2015/src/pages/record-not-found/record-not-found.component.js +3 -3
  166. package/esm2015/src/pages/record-not-found/record-not-found.module.js +4 -4
  167. package/esm2015/src/pages/remote/remote.component.js +10 -10
  168. package/esm2015/src/pages/remote/remote.module.js +7 -7
  169. package/esm2015/src/pages/remote/remote.types.js +1 -1
  170. package/esm2015/src/pages/shopping-cart/shopping-cart.component.js +10 -10
  171. package/esm2015/src/pages/shopping-cart/shopping-cart.module.js +7 -7
  172. package/esm2015/src/resolvers/flow.resolver.js +6 -6
  173. package/esm2015/src/resolvers/quote.resolver.js +14 -14
  174. package/esm2015/src/services/doc-gen.service.js +6 -6
  175. package/esm2015/src/services/flow-dialog.service.js +5 -5
  176. package/esm2015/src/services/flow-router.service.js +6 -6
  177. package/esm2015/src/services/flow.service.js +7 -7
  178. package/esm2015/src/types/context-route.types.js +1 -1
  179. package/esm2015/src/types/flow-customization.types.js +1 -1
  180. package/esm2015/src/utils/flow.utils.js +2 -2
  181. package/esm2015/veloceapps-sdk.js +5 -0
  182. package/fesm2015/{veloce-sdk-cms.js → veloceapps-sdk-cms.js} +77 -79
  183. package/fesm2015/veloceapps-sdk-cms.js.map +1 -0
  184. package/fesm2015/{veloce-sdk-core.js → veloceapps-sdk-core.js} +420 -284
  185. package/fesm2015/veloceapps-sdk-core.js.map +1 -0
  186. package/fesm2015/{veloce-sdk-runtime.js → veloceapps-sdk-runtime.js} +148 -148
  187. package/fesm2015/veloceapps-sdk-runtime.js.map +1 -0
  188. package/fesm2015/{veloce-sdk.js → veloceapps-sdk.js} +163 -159
  189. package/fesm2015/veloceapps-sdk.js.map +1 -0
  190. package/package.json +14 -13
  191. package/runtime/components/component-preview/component-preview.component.d.ts +1 -1
  192. package/runtime/components/section-renderer/section-renderer.component.d.ts +1 -1
  193. package/runtime/components/ui-runtime/runtime.component.d.ts +2 -2
  194. package/runtime/components/ui-runtime-preview/runtime-preview.component.d.ts +3 -3
  195. package/runtime/execution/components/children-placeholder/children-placeholder.component.d.ts +1 -1
  196. package/runtime/execution/components/context-provider/context-provider.component.d.ts +2 -2
  197. package/runtime/execution/components/execution-section-renderer/execution-section-renderer.component.d.ts +1 -1
  198. package/runtime/execution/components/federated/federated.component.d.ts +1 -1
  199. package/runtime/execution/components/velo-port-checkbox/velo-port-checkbox.component.d.ts +1 -1
  200. package/runtime/execution/components/velo-port-dropdown/velo-port-dropdown.component.d.ts +1 -1
  201. package/runtime/execution/components/velo-port-radio/velo-port-radio.component.d.ts +1 -1
  202. package/runtime/execution/components/velo-type/velo-type.component.d.ts +1 -1
  203. package/runtime/execution/directives/section-script.directive.d.ts +1 -1
  204. package/runtime/execution/directives/sf-query.directive.d.ts +2 -2
  205. package/runtime/execution/directives/velo-attribute.directive.d.ts +1 -1
  206. package/runtime/execution/directives/velo-port.directive.d.ts +1 -1
  207. package/runtime/execution/directives/vl-approval.directive.d.ts +2 -2
  208. package/runtime/execution/directives/vl-document-attachments.directive.d.ts +2 -2
  209. package/runtime/execution/directives/vl-document-templates.directive.d.ts +2 -2
  210. package/runtime/execution/directives/vl-quote.directive.d.ts +2 -2
  211. package/runtime/execution/directives/vl-ramp.directive.d.ts +3 -3
  212. package/runtime/execution/runtime-execution.module.d.ts +5 -5
  213. package/runtime/package.json +7 -7
  214. package/runtime/runtime.module.d.ts +5 -5
  215. package/runtime/services/cart.service.d.ts +3 -3
  216. package/runtime/services/configuration.service.d.ts +3 -3
  217. package/runtime/services/current-state.service.d.ts +1 -1
  218. package/runtime/services/product-model-cache.service.d.ts +2 -2
  219. package/runtime/services/runtime-context.service.d.ts +2 -2
  220. package/runtime/services/runtime-form.service.d.ts +1 -1
  221. package/runtime/services/runtime.service.d.ts +2 -2
  222. package/runtime/services/section-helper.service.d.ts +1 -1
  223. package/runtime/services/section-scope.service.d.ts +1 -1
  224. package/runtime/services/section-store.service.d.ts +1 -1
  225. package/runtime/services/section.service.d.ts +1 -1
  226. package/runtime/types/bound-data.types.d.ts +1 -1
  227. package/runtime/types/runtime.types.d.ts +2 -2
  228. package/runtime/utils/line-item.util.d.ts +1 -1
  229. package/runtime/utils/section.utils.d.ts +1 -1
  230. package/runtime/utils/sections-binder.helper.d.ts +1 -1
  231. package/{veloce-sdk.d.ts → runtime/veloceapps-sdk-runtime.d.ts} +1 -1
  232. package/src/components/doc-gen/doc-gen.component.d.ts +3 -3
  233. package/src/components/doc-gen/doc-gen.module.d.ts +1 -1
  234. package/src/components/header/cart-overlay/cart-preview.component.d.ts +1 -1
  235. package/src/components/header/cart-overlay/cart-preview.module.d.ts +1 -1
  236. package/src/components/header/header.component.d.ts +4 -4
  237. package/src/components/header/header.module.d.ts +1 -1
  238. package/src/components/header/metrics/metrics.component.d.ts +5 -4
  239. package/src/components/header/metrics/metrics.definitions.d.ts +1 -1
  240. package/src/components/header/metrics/metrics.module.d.ts +1 -1
  241. package/src/flow.component.d.ts +2 -2
  242. package/src/flow.module.d.ts +4 -4
  243. package/src/guards/context.guard.d.ts +1 -1
  244. package/src/guards/product-unload.guard.d.ts +1 -1
  245. package/src/pages/catalog/catalog.component.d.ts +3 -3
  246. package/src/pages/catalog/catalog.module.d.ts +2 -2
  247. package/src/pages/debug/debug.component.d.ts +3 -3
  248. package/src/pages/empty-account/empty-account.module.d.ts +2 -2
  249. package/src/pages/legacy-product/legacy-product.component.d.ts +4 -4
  250. package/src/pages/legacy-product/legacy-product.module.d.ts +1 -1
  251. package/src/pages/product/product.component.d.ts +1 -1
  252. package/src/pages/product/product.module.d.ts +2 -2
  253. package/src/pages/remote/remote.component.d.ts +3 -3
  254. package/src/pages/remote/remote.module.d.ts +2 -2
  255. package/src/pages/remote/remote.types.d.ts +1 -1
  256. package/src/pages/shopping-cart/shopping-cart.component.d.ts +3 -3
  257. package/src/pages/shopping-cart/shopping-cart.module.d.ts +2 -2
  258. package/src/resolvers/flow.resolver.d.ts +2 -2
  259. package/src/resolvers/quote.resolver.d.ts +1 -1
  260. package/src/services/doc-gen.service.d.ts +1 -1
  261. package/src/services/flow-dialog.service.d.ts +1 -1
  262. package/src/services/flow-router.service.d.ts +1 -1
  263. package/src/services/flow.service.d.ts +2 -2
  264. package/src/types/context-route.types.d.ts +1 -1
  265. package/src/types/flow-customization.types.d.ts +2 -2
  266. package/src/utils/flow.utils.d.ts +1 -1
  267. package/{cms/veloce-sdk-cms.d.ts → veloceapps-sdk.d.ts} +1 -1
  268. package/bundles/veloce-sdk-cms.umd.js.map +0 -1
  269. package/bundles/veloce-sdk-core.umd.js.map +0 -1
  270. package/bundles/veloce-sdk-runtime.umd.js.map +0 -1
  271. package/bundles/veloce-sdk.umd.js.map +0 -1
  272. package/esm2015/cms/veloce-sdk-cms.js +0 -5
  273. package/esm2015/core/veloce-sdk-core.js +0 -5
  274. package/esm2015/runtime/veloce-sdk-runtime.js +0 -5
  275. package/esm2015/veloce-sdk.js +0 -5
  276. package/fesm2015/veloce-sdk-cms.js.map +0 -1
  277. package/fesm2015/veloce-sdk-core.js.map +0 -1
  278. package/fesm2015/veloce-sdk-runtime.js.map +0 -1
  279. package/fesm2015/veloce-sdk.js.map +0 -1
package/package.json CHANGED
@@ -1,6 +1,7 @@
1
1
  {
2
2
  "name": "@veloceapps/sdk",
3
- "version": "5.0.14-GOOGLE",
3
+ "version": "5.0.15-0",
4
+ "private": false,
4
5
  "peerDependencies": {
5
6
  "@angular/animations": "^12.2.0",
6
7
  "@angular/common": "^12.2.0",
@@ -8,9 +9,9 @@
8
9
  "@angular/forms": "^12.2.0",
9
10
  "@angular/platform-browser-dynamic": "^12.2.0",
10
11
  "@angular/platform-browser": "^12.2.0",
11
- "@veloce/core": "5.0.0",
12
- "@veloce/api": "5.0.0",
13
- "@veloce/components": "5.0.0",
12
+ "@veloceapps/core": "5.0.0",
13
+ "@veloceapps/api": "5.0.0",
14
+ "@veloceapps/components": "5.0.0",
14
15
  "ionicons": "^4.6.3",
15
16
  "rxjs": "^7.3.0",
16
17
  "zone.js": "~0.11.4",
@@ -25,7 +26,6 @@
25
26
  "monaco-editor": "^0.30.1",
26
27
  "@angular/router": "^12.2.0",
27
28
  "jshashes": "^1.0.8",
28
- "@veloce/elements": "^1.1.2",
29
29
  "ngx-bootstrap": "^5.6.2"
30
30
  },
31
31
  "dependencies": {
@@ -33,17 +33,18 @@
33
33
  "@angular/cdk-experimental": "^13.1.0",
34
34
  "@angular/compiler": "^12.2.0",
35
35
  "@babel/standalone": "^7.17.1",
36
+ "@veloceapps/elements": "^1.1.3-0",
36
37
  "moment": "^2.29.1",
37
38
  "tslib": "^2.2.0"
38
39
  },
40
+ "sideEffects": false,
39
41
  "publishConfig": {
40
-
42
+ "access": "public"
41
43
  },
42
- "sideEffects": false,
43
- "main": "bundles/veloce-sdk.umd.js",
44
- "module": "fesm2015/veloce-sdk.js",
45
- "es2015": "fesm2015/veloce-sdk.js",
46
- "esm2015": "esm2015/veloce-sdk.js",
47
- "fesm2015": "fesm2015/veloce-sdk.js",
48
- "typings": "veloce-sdk.d.ts"
44
+ "main": "bundles/veloceapps-sdk.umd.js",
45
+ "module": "fesm2015/veloceapps-sdk.js",
46
+ "es2015": "fesm2015/veloceapps-sdk.js",
47
+ "esm2015": "esm2015/veloceapps-sdk.js",
48
+ "fesm2015": "fesm2015/veloceapps-sdk.js",
49
+ "typings": "veloceapps-sdk.d.ts"
49
50
  }
@@ -1,6 +1,6 @@
1
1
  import { ChangeDetectorRef, OnChanges, SimpleChanges } from '@angular/core';
2
2
  import { FormGroup } from '@angular/forms';
3
- import { ComponentStoryPreview, Section } from '@veloce/core';
3
+ import { ComponentStoryPreview, Section } from '@veloceapps/core';
4
4
  import { FormScopeService } from '../../services/form-scope.service';
5
5
  import { RuntimeFormService } from '../../services/runtime-form.service';
6
6
  import { RuntimeService } from '../../services/runtime.service';
@@ -1,6 +1,6 @@
1
1
  import { AfterViewInit, Injector, NgModuleRef, OnDestroy, OnInit, ViewContainerRef } from '@angular/core';
2
2
  import { FormGroup } from '@angular/forms';
3
- import { Section } from '@veloce/core';
3
+ import { Section } from '@veloceapps/core';
4
4
  import { SectionScopeService } from '../../services/section-scope.service';
5
5
  import { SectionStoreService } from '../../services/section-store.service';
6
6
  import * as i0 from "@angular/core";
@@ -1,7 +1,7 @@
1
1
  import { ChangeDetectorRef, OnDestroy, OnInit } from '@angular/core';
2
2
  import { FormGroup } from '@angular/forms';
3
- import { LineItem, OrderByPipe, SearchFilterPipe, Section, UITab } from '@veloce/core';
4
- import { ContextService } from '@veloce/sdk/core';
3
+ import { LineItem, OrderByPipe, SearchFilterPipe, Section, UITab } from '@veloceapps/core';
4
+ import { ContextService } from '@veloceapps/sdk/core';
5
5
  import { MessageService } from 'primeng/api';
6
6
  import { CollapsibleStateService } from '../../services/collapsible-state.service';
7
7
  import { FormScopeService } from '../../services/form-scope.service';
@@ -1,7 +1,7 @@
1
1
  import { OnDestroy, OnInit } from '@angular/core';
2
- import { ConfigurationApiService } from '@veloce/api';
3
- import { LineItem, UIDefinition } from '@veloce/core';
4
- import { ContextService } from '@veloce/sdk/core';
2
+ import { ConfigurationApiService } from '@veloceapps/api';
3
+ import { LineItem, UIDefinition } from '@veloceapps/core';
4
+ import { ContextService } from '@veloceapps/sdk/core';
5
5
  import { ProductModelCacheService } from '../../services/product-model-cache.service';
6
6
  import { RuntimeService } from '../../services/runtime.service';
7
7
  import * as i0 from "@angular/core";
@@ -1,6 +1,6 @@
1
1
  import { OnChanges, OnDestroy, OnInit, SimpleChanges } from '@angular/core';
2
2
  import { FormGroup } from '@angular/forms';
3
- import { Section } from '@veloce/core';
3
+ import { Section } from '@veloceapps/core';
4
4
  import { Subscription } from 'rxjs';
5
5
  import { CollapsibleStateService } from '../../../services/collapsible-state.service';
6
6
  import { FormScopeService } from '../../../services/form-scope.service';
@@ -1,11 +1,11 @@
1
1
  import { OnInit } from '@angular/core';
2
- import { ProductType, RuntimeProduct, RuntimeType } from '@veloce/core';
2
+ import { RuntimeProduct, RuntimeType } from '@veloceapps/core';
3
3
  import { Dictionary } from 'lodash';
4
4
  import { RuntimeService } from '../../../services/runtime.service';
5
5
  import * as i0 from "@angular/core";
6
6
  export declare class ContextProviderComponent implements OnInit {
7
7
  private runtimeService;
8
- types: (RuntimeType | ProductType)[];
8
+ types: RuntimeType[];
9
9
  products: Dictionary<RuntimeProduct[]>;
10
10
  constructor(runtimeService: RuntimeService);
11
11
  ngOnInit(): void;
@@ -1,6 +1,6 @@
1
1
  import { AfterViewInit, Injector, NgModuleRef, OnDestroy, OnInit, ViewContainerRef } from '@angular/core';
2
2
  import { FormGroup } from '@angular/forms';
3
- import { Section } from '@veloce/core';
3
+ import { Section } from '@veloceapps/core';
4
4
  import { SectionScopeService } from '../../../services/section-scope.service';
5
5
  import { SectionStoreService } from '../../../services/section-store.service';
6
6
  import * as i0 from "@angular/core";
@@ -1,5 +1,5 @@
1
1
  import { AfterViewInit, ApplicationRef, Compiler, ElementRef, Injector, OnChanges, Renderer2, SimpleChanges, TemplateRef, ViewContainerRef } from '@angular/core';
2
- import { LineItem } from '@veloce/core';
2
+ import { LineItem } from '@veloceapps/core';
3
3
  import * as i0 from "@angular/core";
4
4
  declare enum IntegrationEvent {
5
5
  Init = "Init"
@@ -1,5 +1,5 @@
1
1
  import { FormGroup } from '@angular/forms';
2
- import { Section } from '@veloce/core';
2
+ import { Section } from '@veloceapps/core';
3
3
  import { FormScopeService } from '../../../services/form-scope.service';
4
4
  import { SectionScopeService } from '../../../services/section-scope.service';
5
5
  import * as i0 from "@angular/core";
@@ -1,5 +1,5 @@
1
1
  import { FormGroup } from '@angular/forms';
2
- import { Section } from '@veloce/core';
2
+ import { Section } from '@veloceapps/core';
3
3
  import { Dictionary } from 'lodash';
4
4
  import { FormScopeService } from '../../../services/form-scope.service';
5
5
  import { SectionScopeService } from '../../../services/section-scope.service';
@@ -1,6 +1,6 @@
1
1
  import { OnInit } from '@angular/core';
2
2
  import { FormGroup } from '@angular/forms';
3
- import { LineItem, RecommendedPrice, Section } from '@veloce/core';
3
+ import { LineItem, RecommendedPrice, Section } from '@veloceapps/core';
4
4
  import { Dictionary } from 'lodash';
5
5
  import { FormScopeService } from '../../../services/form-scope.service';
6
6
  import { SectionScopeService } from '../../../services/section-scope.service';
@@ -1,6 +1,6 @@
1
1
  import { OnInit } from '@angular/core';
2
2
  import { FormGroup } from '@angular/forms';
3
- import { RecommendedPrice, Section } from '@veloce/core';
3
+ import { RecommendedPrice, Section } from '@veloceapps/core';
4
4
  import { MessageService } from 'primeng/api';
5
5
  import { CollapsibleStateService } from '../../../services/collapsible-state.service';
6
6
  import { FormScopeService } from '../../../services/form-scope.service';
@@ -1,6 +1,6 @@
1
1
  import { AfterViewInit, ChangeDetectorRef, OnDestroy, OnInit, Renderer2 } from '@angular/core';
2
2
  import { FormBuilder } from '@angular/forms';
3
- import { ContextService, QuoteDraftService } from '@veloce/sdk/core';
3
+ import { ContextService, QuoteDraftService } from '@veloceapps/sdk/core';
4
4
  import { ShoppingCartService } from '../../services/cart.service';
5
5
  import { CurrentStateService } from '../../services/current-state.service';
6
6
  import { FormScopeService } from '../../services/form-scope.service';
@@ -1,6 +1,6 @@
1
1
  import { HttpParams } from '@angular/common/http';
2
- import { SalesforceApiService } from '@veloce/api';
3
- import { SearchRequest } from '@veloce/core';
2
+ import { SalesforceApiService } from '@veloceapps/api';
3
+ import { SearchRequest } from '@veloceapps/core';
4
4
  import * as i0 from "@angular/core";
5
5
  export declare class SfQueryDirective {
6
6
  private apiService;
@@ -1,6 +1,6 @@
1
1
  import { OnInit } from '@angular/core';
2
2
  import { FormGroup } from '@angular/forms';
3
- import { Section } from '@veloce/core';
3
+ import { Section } from '@veloceapps/core';
4
4
  import { FormScopeService } from '../../services/form-scope.service';
5
5
  import { SectionScopeService } from '../../services/section-scope.service';
6
6
  import * as i0 from "@angular/core";
@@ -1,6 +1,6 @@
1
1
  import { OnInit } from '@angular/core';
2
2
  import { FormGroup } from '@angular/forms';
3
- import { LineItem, Section } from '@veloce/core';
3
+ import { LineItem, Section } from '@veloceapps/core';
4
4
  import { ConfigurationService } from '../../services/configuration.service';
5
5
  import { FormScopeService } from '../../services/form-scope.service';
6
6
  import { SectionScopeService } from '../../services/section-scope.service';
@@ -1,5 +1,5 @@
1
- import { QuoteApiService } from '@veloce/api';
2
- import { QuoteDraft } from '@veloce/core';
1
+ import { QuoteApiService } from '@veloceapps/api';
2
+ import { QuoteDraft } from '@veloceapps/core';
3
3
  import * as i0 from "@angular/core";
4
4
  export declare class VlApprovalDirective {
5
5
  private repo;
@@ -1,5 +1,5 @@
1
- import { DocumentAttachmentApiService } from '@veloce/api';
2
- import { Attachment, TemplateAttachmentSearchRequest } from '@veloce/core';
1
+ import { DocumentAttachmentApiService } from '@veloceapps/api';
2
+ import { Attachment, TemplateAttachmentSearchRequest } from '@veloceapps/core';
3
3
  import { Observable } from 'rxjs';
4
4
  import * as i0 from "@angular/core";
5
5
  export declare class VlDocumentAttachmentsDirective {
@@ -1,5 +1,5 @@
1
- import { DocumentTemplatesApiService } from '@veloce/api';
2
- import { Attachment, DocumentTemplate, QuoteDraft, TemplateAttachmentSearchRequest } from '@veloce/core';
1
+ import { DocumentTemplatesApiService } from '@veloceapps/api';
2
+ import { Attachment, DocumentTemplate, QuoteDraft, TemplateAttachmentSearchRequest } from '@veloceapps/core';
3
3
  import { Observable } from 'rxjs';
4
4
  import * as i0 from "@angular/core";
5
5
  export declare class VlDocumentTemplatesDirective {
@@ -1,5 +1,5 @@
1
- import { QuoteApiService } from '@veloce/api';
2
- import { QuoteDraft } from '@veloce/core';
1
+ import { QuoteApiService } from '@veloceapps/api';
2
+ import { QuoteDraft } from '@veloceapps/core';
3
3
  import { RuntimeService } from '../../services/runtime.service';
4
4
  import * as i0 from "@angular/core";
5
5
  export declare class VlQuoteDirective {
@@ -1,6 +1,6 @@
1
- import { PriceApiService, RampApiService } from '@veloce/api';
2
- import { LineItem } from '@veloce/core';
3
- import { ContextService } from '@veloce/sdk/core';
1
+ import { PriceApiService, RampApiService } from '@veloceapps/api';
2
+ import { LineItem } from '@veloceapps/core';
3
+ import { ContextService } from '@veloceapps/sdk/core';
4
4
  import * as i0 from "@angular/core";
5
5
  export declare class VlRampDirective {
6
6
  private contextService;
@@ -14,12 +14,12 @@ import * as i12 from "./components/federated/federated.component";
14
14
  import * as i13 from "./components/context-provider/context-provider.component";
15
15
  import * as i14 from "@angular/common";
16
16
  import * as i15 from "@angular/forms";
17
- import * as i16 from "@veloce/core";
18
- import * as i17 from "@veloce/api";
19
- import * as i18 from "@veloce/elements";
17
+ import * as i16 from "@veloceapps/core";
18
+ import * as i17 from "@veloceapps/api";
19
+ import * as i18 from "@veloceapps/elements";
20
20
  import * as i19 from "ngx-bootstrap/popover";
21
- import * as i20 from "@veloce/components";
22
- import * as i21 from "@veloce/sdk/core";
21
+ import * as i20 from "@veloceapps/components";
22
+ import * as i21 from "@veloceapps/sdk/core";
23
23
  export declare class RuntimeExecutionModule {
24
24
  static ɵfac: i0.ɵɵFactoryDeclaration<RuntimeExecutionModule, never>;
25
25
  static ɵmod: i0.ɵɵNgModuleDeclaration<RuntimeExecutionModule, [typeof i1.ExecutionSectionRendererComponent, typeof i2.ChildrenPlaceholderComponent, typeof i3.SectionScriptDirective, typeof i4.VeloPortDirective, typeof i4.LineItemDirective, typeof i4.VeloDropdownComponent, typeof i4.VeloQuantityButtonComponent, typeof i4.VeloQuantityComponent, typeof i5.VeloAttributeDirective, typeof i6.MultiselectComponent, typeof i7.VeloAttributeComponent, typeof i8.VeloPortRadioComponent, typeof i9.VeloTypeComponent, typeof i10.VeloPortDropdownComponent, typeof i11.VeloPortCheckBoxComponent, typeof i12.FederatedComponent, typeof i2.TemplateComponent, typeof i13.ContextProviderComponent], [typeof i14.CommonModule, typeof i15.FormsModule, typeof i15.ReactiveFormsModule, typeof i16.CoreModule, typeof i17.ApiModule, typeof i18.VeloceElementsModule, typeof i19.PopoverModule, typeof i20.LoaderModule, typeof i21.SdkCoreModule], [typeof i15.FormsModule, typeof i15.ReactiveFormsModule, typeof i2.ChildrenPlaceholderComponent, typeof i3.SectionScriptDirective, typeof i4.LineItemDirective, typeof i4.VeloPortDirective, typeof i5.VeloAttributeDirective, typeof i6.MultiselectComponent, typeof i7.VeloAttributeComponent, typeof i8.VeloPortRadioComponent, typeof i9.VeloTypeComponent, typeof i10.VeloPortDropdownComponent, typeof i11.VeloPortCheckBoxComponent, typeof i12.FederatedComponent, typeof i2.TemplateComponent, typeof i13.ContextProviderComponent]>;
@@ -1,10 +1,10 @@
1
1
  {
2
- "name": "@veloce/sdk/runtime",
2
+ "name": "@veloceapps/sdk/runtime",
3
3
  "sideEffects": false,
4
- "main": "../bundles/veloce-sdk-runtime.umd.js",
5
- "module": "../fesm2015/veloce-sdk-runtime.js",
6
- "es2015": "../fesm2015/veloce-sdk-runtime.js",
7
- "esm2015": "../esm2015/runtime/veloce-sdk-runtime.js",
8
- "fesm2015": "../fesm2015/veloce-sdk-runtime.js",
9
- "typings": "veloce-sdk-runtime.d.ts"
4
+ "main": "../bundles/veloceapps-sdk-runtime.umd.js",
5
+ "module": "../fesm2015/veloceapps-sdk-runtime.js",
6
+ "es2015": "../fesm2015/veloceapps-sdk-runtime.js",
7
+ "esm2015": "../esm2015/runtime/veloceapps-sdk-runtime.js",
8
+ "fesm2015": "../fesm2015/veloceapps-sdk-runtime.js",
9
+ "typings": "veloceapps-sdk-runtime.d.ts"
10
10
  }
@@ -5,12 +5,12 @@ import * as i3 from "./components/section-renderer/section-renderer.component";
5
5
  import * as i4 from "./components/component-preview/component-preview.component";
6
6
  import * as i5 from "@angular/common";
7
7
  import * as i6 from "@angular/forms";
8
- import * as i7 from "@veloce/core";
9
- import * as i8 from "@veloce/api";
10
- import * as i9 from "@veloce/elements";
8
+ import * as i7 from "@veloceapps/core";
9
+ import * as i8 from "@veloceapps/api";
10
+ import * as i9 from "@veloceapps/elements";
11
11
  import * as i10 from "ngx-bootstrap/popover";
12
- import * as i11 from "@veloce/components";
13
- import * as i12 from "@veloce/sdk/core";
12
+ import * as i11 from "@veloceapps/components";
13
+ import * as i12 from "@veloceapps/sdk/core";
14
14
  export declare class RuntimeModule {
15
15
  static ɵfac: i0.ɵɵFactoryDeclaration<RuntimeModule, never>;
16
16
  static ɵmod: i0.ɵɵNgModuleDeclaration<RuntimeModule, [typeof i1.RuntimeComponent, typeof i2.RuntimePreviewComponent, typeof i3.SectionRendererComponent, typeof i4.ComponentPreviewComponent], [typeof i5.CommonModule, typeof i6.FormsModule, typeof i6.ReactiveFormsModule, typeof i7.CoreModule, typeof i8.ApiModule, typeof i9.VeloceElementsModule, typeof i10.PopoverModule, typeof i11.LoaderModule, typeof i12.SdkCoreModule], [typeof i6.FormsModule, typeof i6.ReactiveFormsModule, typeof i1.RuntimeComponent, typeof i2.RuntimePreviewComponent, typeof i3.SectionRendererComponent, typeof i4.ComponentPreviewComponent]>;
@@ -1,6 +1,6 @@
1
- import { PriceApiService } from '@veloce/api';
2
- import { LineItem, PriceSummary } from '@veloce/core';
3
- import { ContextService, QuoteDraftService } from '@veloce/sdk/core';
1
+ import { PriceApiService } from '@veloceapps/api';
2
+ import { LineItem, PriceSummary } from '@veloceapps/core';
3
+ import { ContextService, QuoteDraftService } from '@veloceapps/sdk/core';
4
4
  import { Observable } from 'rxjs';
5
5
  import * as i0 from "@angular/core";
6
6
  export declare class ShoppingCartService {
@@ -1,6 +1,6 @@
1
- import { ConfigurationApiService } from '@veloce/api';
2
- import { LineItem } from '@veloce/core';
3
- import { ContextService, QuoteStates } from '@veloce/sdk/core';
1
+ import { ConfigurationApiService } from '@veloceapps/api';
2
+ import { LineItem } from '@veloceapps/core';
3
+ import { ContextService, QuoteStates } from '@veloceapps/sdk/core';
4
4
  import { DialogService } from 'primeng/dynamicdialog';
5
5
  import { Observable } from 'rxjs';
6
6
  import { LegacyRuntimeContext } from '../types';
@@ -1,4 +1,4 @@
1
- import { LineItem } from '@veloce/core';
1
+ import { LineItem } from '@veloceapps/core';
2
2
  import * as i0 from "@angular/core";
3
3
  export declare class CurrentStateService {
4
4
  currentState: LineItem[];
@@ -1,5 +1,5 @@
1
- import { ProductModelApiService } from '@veloce/api';
2
- import { ProductModelsContainer } from '@veloce/core';
1
+ import { ProductModelApiService } from '@veloceapps/api';
2
+ import { ProductModelsContainer } from '@veloceapps/core';
3
3
  import { Observable } from 'rxjs';
4
4
  import * as i0 from "@angular/core";
5
5
  export declare class ProductModelCacheService {
@@ -1,5 +1,5 @@
1
- import { ConfigurationApiService } from '@veloce/api';
2
- import { ContextService } from '@veloce/sdk/core';
1
+ import { ConfigurationApiService } from '@veloceapps/api';
2
+ import { ContextService } from '@veloceapps/sdk/core';
3
3
  import { MessageService } from 'primeng/api';
4
4
  import { Observable } from 'rxjs';
5
5
  import { LegacyRuntimeContext } from '../types';
@@ -1,5 +1,5 @@
1
1
  import { FormGroup } from '@angular/forms';
2
- import { LineItem, Section } from '@veloce/core';
2
+ import { LineItem, Section } from '@veloceapps/core';
3
3
  import * as i0 from "@angular/core";
4
4
  export declare class RuntimeFormService {
5
5
  sections: Section[];
@@ -1,6 +1,6 @@
1
1
  import { HttpErrorResponse } from '@angular/common/http';
2
- import { LineItem, UIDefinition } from '@veloce/core';
3
- import { ContextService, QuoteStates } from '@veloce/sdk/core';
2
+ import { LineItem, UIDefinition } from '@veloceapps/core';
3
+ import { ContextService, QuoteStates } from '@veloceapps/sdk/core';
4
4
  import { MessageService } from 'primeng/api';
5
5
  import { LegacyRuntimeContext } from '../types';
6
6
  import { ConfigurationService } from './configuration.service';
@@ -1,4 +1,4 @@
1
- import { Section } from '@veloce/core';
1
+ import { Section } from '@veloceapps/core';
2
2
  import * as i0 from "@angular/core";
3
3
  export declare class SectionHelperService {
4
4
  static findSectionForValue(section: Section, valueOption: string): Section | undefined;
@@ -1,5 +1,5 @@
1
1
  import { TemplateRef } from '@angular/core';
2
- import { Section } from '@veloce/core';
2
+ import { Section } from '@veloceapps/core';
3
3
  import { BehaviorSubject } from 'rxjs';
4
4
  import * as i0 from "@angular/core";
5
5
  export declare class SectionScopeService {
@@ -1,5 +1,5 @@
1
1
  import { ComponentFactory } from '@angular/core';
2
- import { Section } from '@veloce/core';
2
+ import { Section } from '@veloceapps/core';
3
3
  import * as i0 from "@angular/core";
4
4
  export declare class SectionStoreService {
5
5
  private _componentFactories;
@@ -1,7 +1,7 @@
1
1
  import '@angular/compiler';
2
2
  import { Compiler, NgModuleRef, QueryList, TemplateRef } from '@angular/core';
3
3
  import { FormGroup } from '@angular/forms';
4
- import { Section } from '@veloce/core';
4
+ import { Section } from '@veloceapps/core';
5
5
  import { SectionStoreService } from './section-store.service';
6
6
  import * as i0 from "@angular/core";
7
7
  export declare class BaseSectionComponent {
@@ -1,4 +1,4 @@
1
- import { ProductModelAttribute, ProductPort, ProductType, SectionPath } from '@veloce/core';
1
+ import { ProductModelAttribute, ProductPort, ProductType, SectionPath } from '@veloceapps/core';
2
2
  export declare enum BoundDataType {
3
3
  TYPE = 0,
4
4
  ATTRIBUTE = 1,
@@ -1,5 +1,5 @@
1
- import { LineItem, UIDefinition } from '@veloce/core';
2
- import { RuntimeContext } from '@veloce/sdk/core';
1
+ import { LineItem, UIDefinition } from '@veloceapps/core';
2
+ import { RuntimeContext } from '@veloceapps/sdk/core';
3
3
  import { Dictionary } from 'lodash';
4
4
  export interface SolutionReadyAware {
5
5
  onSolutionReady(lineItem: LineItem): void;
@@ -1,4 +1,4 @@
1
- import { LineItem, RuntimeModel, SectionPath } from '@veloce/core';
1
+ import { LineItem, RuntimeModel, SectionPath } from '@veloceapps/core';
2
2
  export declare class LineItemPath {
3
3
  path: string;
4
4
  private _relativePath;
@@ -1,2 +1,2 @@
1
- import { Section } from '@veloce/core';
1
+ import { Section } from '@veloceapps/core';
2
2
  export declare const getSectionTree: (src: Section[]) => Section[];
@@ -1,4 +1,4 @@
1
- import { LineItem, RuntimeModel, Section } from '@veloce/core';
1
+ import { LineItem, RuntimeModel, Section } from '@veloceapps/core';
2
2
  export declare class SectionsBinderHelper {
3
3
  static setLineItemsPath(runtimeModel: RuntimeModel, rootLineItem: LineItem, sections: Section[], sourceSections: Section[], filterFn: any, pricingEnabled: boolean): Section[];
4
4
  static isAddAllowed(model: LineItem, portName: string, quantityToAdd?: number): boolean;
@@ -1,5 +1,5 @@
1
1
  /**
2
2
  * Generated bundle index. Do not edit.
3
3
  */
4
- /// <amd-module name="@veloce/sdk" />
4
+ /// <amd-module name="@veloceapps/sdk/runtime" />
5
5
  export * from './index';
@@ -1,7 +1,7 @@
1
1
  import { OnDestroy } from '@angular/core';
2
- import { UITemplatesApiService } from '@veloce/api';
3
- import { ToastService } from '@veloce/components';
4
- import { ContextService, QuoteDraftService, UIDefinition } from '@veloce/sdk/core';
2
+ import { UITemplatesApiService } from '@veloceapps/api';
3
+ import { ToastService } from '@veloceapps/components';
4
+ import { ContextService, QuoteDraftService, UIDefinition } from '@veloceapps/sdk/core';
5
5
  import { BehaviorSubject, Observable } from 'rxjs';
6
6
  import { FlowDocGenService } from '../../services/doc-gen.service';
7
7
  import * as i0 from "@angular/core";
@@ -1,7 +1,7 @@
1
1
  import * as i0 from "@angular/core";
2
2
  import * as i1 from "./doc-gen.component";
3
3
  import * as i2 from "@angular/common";
4
- import * as i3 from "@veloce/sdk/cms";
4
+ import * as i3 from "@veloceapps/sdk/cms";
5
5
  export declare class DocGenModule {
6
6
  static ɵfac: i0.ɵɵFactoryDeclaration<DocGenModule, never>;
7
7
  static ɵmod: i0.ɵɵNgModuleDeclaration<DocGenModule, [typeof i1.DocGenComponent], [typeof i2.CommonModule, typeof i3.PreviewModule], [typeof i1.DocGenComponent]>;
@@ -1,6 +1,6 @@
1
1
  import { AfterViewInit, OnChanges, OnDestroy, SimpleChanges } from '@angular/core';
2
2
  import { FormGroup } from '@angular/forms';
3
- import { FlowConfigurationService, ProductImagesService, QuoteDraftService } from '@veloce/sdk/core';
3
+ import { FlowConfigurationService, ProductImagesService, QuoteDraftService } from '@veloceapps/sdk/core';
4
4
  import { OverlayPanel } from 'primeng/overlaypanel';
5
5
  import { Observable } from 'rxjs';
6
6
  import { FlowRouterService } from '../../../services/flow-router.service';
@@ -4,7 +4,7 @@ import * as i2 from "@angular/common";
4
4
  import * as i3 from "@angular/forms";
5
5
  import * as i4 from "primeng/button";
6
6
  import * as i5 from "primeng/overlaypanel";
7
- import * as i6 from "@veloce/components";
7
+ import * as i6 from "@veloceapps/components";
8
8
  import * as i7 from "primeng/inputnumber";
9
9
  import * as i8 from "primeng/virtualscroller";
10
10
  export declare class CartPreviewModule {
@@ -1,8 +1,8 @@
1
1
  import { OnDestroy, OnInit } from '@angular/core';
2
- import { QuoteApiService, SalesforceApiService } from '@veloce/api';
3
- import { ContextProperties, PriceList } from '@veloce/core';
4
- import { IntegrationState } from '@veloce/sdk/cms';
5
- import { ContextService, FlowConfigurationService, QuoteDraftService } from '@veloce/sdk/core';
2
+ import { QuoteApiService, SalesforceApiService } from '@veloceapps/api';
3
+ import { ContextProperties, PriceList } from '@veloceapps/core';
4
+ import { IntegrationState } from '@veloceapps/sdk/cms';
5
+ import { ContextService, FlowConfigurationService, QuoteDraftService } from '@veloceapps/sdk/core';
6
6
  import { MenuItem } from 'primeng/api';
7
7
  import { BehaviorSubject, Observable } from 'rxjs';
8
8
  import { FlowDialogService } from '../../services/flow-dialog.service';
@@ -2,7 +2,7 @@ import * as i0 from "@angular/core";
2
2
  import * as i1 from "./header.component";
3
3
  import * as i2 from "@angular/common";
4
4
  import * as i3 from "primeng/overlaypanel";
5
- import * as i4 from "@veloce/components";
5
+ import * as i4 from "@veloceapps/components";
6
6
  import * as i5 from "primeng/tooltip";
7
7
  import * as i6 from "primeng/button";
8
8
  import * as i7 from "./cart-overlay/cart-preview.module";
@@ -1,15 +1,16 @@
1
+ import { CdkDragDrop } from '@angular/cdk/drag-drop';
1
2
  import { ChangeDetectorRef, OnDestroy, OnInit } from '@angular/core';
2
3
  import { FormControl } from '@angular/forms';
3
- import { CdkDragDrop } from '@angular/cdk/drag-drop';
4
+ import { IntegrationState, Metric } from '@veloceapps/sdk/cms';
5
+ import { ContextService, MetricsCalculationService, QuoteDraftService } from '@veloceapps/sdk/core';
4
6
  import { OverlayPanel } from 'primeng/overlaypanel';
5
- import { ContextService, QuoteDraftService } from '@veloce/sdk/core';
6
- import { IntegrationState, Metric } from '@veloce/sdk/cms';
7
7
  import * as i0 from "@angular/core";
8
8
  export declare class MetricsComponent implements OnInit, OnDestroy {
9
9
  private integrationState;
10
10
  private contextService;
11
11
  private quoteDraftService;
12
12
  private cdr;
13
+ private metricsCalculationService;
13
14
  overlayPanel: OverlayPanel;
14
15
  emptyStateMetrics: {
15
16
  name: string;
@@ -28,7 +29,7 @@ export declare class MetricsComponent implements OnInit, OnDestroy {
28
29
  private metricKeys;
29
30
  private lastSavedMetrics;
30
31
  private destroyed$;
31
- constructor(integrationState: IntegrationState, contextService: ContextService, quoteDraftService: QuoteDraftService, cdr: ChangeDetectorRef);
32
+ constructor(integrationState: IntegrationState, contextService: ContextService, quoteDraftService: QuoteDraftService, cdr: ChangeDetectorRef, metricsCalculationService: MetricsCalculationService);
32
33
  ngOnInit(): void;
33
34
  ngOnDestroy(): void;
34
35
  openSidebar(): void;
@@ -1,4 +1,4 @@
1
- import { Metric } from '@veloce/sdk/cms';
1
+ import { Metric } from '@veloceapps/sdk/cms';
2
2
  export declare const defaultMetrics: Metric[];
3
3
  export declare const effectiveMetricKeys: string[];
4
4
  export declare const METRICS_STORAGE_KEY = "vl-metrics";
@@ -8,7 +8,7 @@ import * as i6 from "primeng/overlaypanel";
8
8
  import * as i7 from "primeng/sidebar";
9
9
  import * as i8 from "primeng/inputtext";
10
10
  import * as i9 from "primeng/checkbox";
11
- import * as i10 from "@veloce/components";
11
+ import * as i10 from "@veloceapps/components";
12
12
  import * as i11 from "primeng/virtualscroller";
13
13
  export declare class MetricsModule {
14
14
  static ɵfac: i0.ɵɵFactoryDeclaration<MetricsModule, never>;
@@ -1,6 +1,6 @@
1
1
  import { OnDestroy, OnInit } from '@angular/core';
2
- import { QuoteDraftService } from '@veloce/sdk/core';
3
- import { IntegrationState } from '@veloce/sdk/cms';
2
+ import { IntegrationState } from '@veloceapps/sdk/cms';
3
+ import { QuoteDraftService } from '@veloceapps/sdk/core';
4
4
  import { Observable } from 'rxjs';
5
5
  import { FlowService } from './services';
6
6
  import { FlowDocGenService } from './services/doc-gen.service';