@veloceapps/sdk 8.0.0-2 → 8.0.0-200

Sign up to get free protection for your applications and to get access to all the features.
Files changed (358) hide show
  1. package/README.md +0 -1
  2. package/cms/README.md +0 -20
  3. package/cms/cms.actions.d.ts +15 -1
  4. package/cms/components/element.component.d.ts +0 -1
  5. package/cms/components/preview/preview.component.d.ts +2 -3
  6. package/cms/components/preview/preview.types.d.ts +4 -0
  7. package/cms/index.d.ts +1 -0
  8. package/cms/modules/runtime/services/runtime.service.d.ts +1 -1
  9. package/cms/services/index.d.ts +0 -1
  10. package/cms/services/resources.service.d.ts +2 -0
  11. package/cms/types/index.d.ts +0 -1
  12. package/cms/utils/element-metadata-worker.d.ts +11 -0
  13. package/cms/utils/element.utils.d.ts +3 -1
  14. package/cms/utils/elements-resolver.d.ts +0 -2
  15. package/cms/utils/index.d.ts +3 -0
  16. package/cms/utils/transpilation-worker.d.ts +13 -0
  17. package/cms/vendor-map.d.ts +29 -19
  18. package/core/README.md +20 -0
  19. package/core/modules/configuration/configuration.module.d.ts +2 -1
  20. package/core/modules/configuration/helpers.d.ts +4 -3
  21. package/core/modules/configuration/index.d.ts +1 -1
  22. package/core/modules/configuration/services/configuration-runtime.service.d.ts +1 -1
  23. package/core/modules/configuration/services/configuration-state.service.d.ts +54 -0
  24. package/core/modules/configuration/services/configuration.service.d.ts +11 -6
  25. package/core/modules/configuration/types/configuration.types.d.ts +4 -0
  26. package/core/modules/flow-configuration/flow-configuration.module.d.ts +2 -1
  27. package/core/modules/flow-configuration/services/flow-configuration.service.d.ts +5 -0
  28. package/core/modules/flow-configuration/types/update.types.d.ts +1 -1
  29. package/core/pipes/action-code.pipe.d.ts +8 -0
  30. package/core/pipes/date.pipe.d.ts +2 -1
  31. package/core/pipes/index.d.ts +1 -0
  32. package/core/pipes/pipes.module.d.ts +2 -1
  33. package/core/services/context.service.d.ts +4 -0
  34. package/core/services/flow-info.service.d.ts +29 -0
  35. package/core/services/flow-state-configuration.service.d.ts +19 -0
  36. package/core/services/flow-state.service.d.ts +80 -0
  37. package/core/services/index.d.ts +4 -1
  38. package/core/services/quote-draft.service.d.ts +12 -28
  39. package/core/services/runtime-settings.service.d.ts +4 -1
  40. package/core/types/flow-customization.types.d.ts +22 -0
  41. package/core/types/flow-state.types.d.ts +11 -0
  42. package/core/types/formatting-settings.types.d.ts +2 -0
  43. package/core/types/index.d.ts +3 -0
  44. package/{cms → core}/types/integration.types.d.ts +1 -1
  45. package/core/types/pipe.types.d.ts +1 -0
  46. package/core/utils/line-item.utils.d.ts +1 -3
  47. package/esm2020/cms/cms.actions.mjs +25 -1
  48. package/esm2020/cms/components/element-children/element-children.component.mjs +3 -3
  49. package/esm2020/cms/components/element-children/element-children.module.mjs +4 -4
  50. package/esm2020/cms/components/element-drop-handle/element-drop-handle.component.mjs +3 -3
  51. package/esm2020/cms/components/element-drop-handle/element-drop-handle.module.mjs +4 -4
  52. package/esm2020/cms/components/element-renderer/element-renderer.component.mjs +6 -6
  53. package/esm2020/cms/components/element-renderer/element-renderer.module.mjs +4 -4
  54. package/esm2020/cms/components/element-tools-panel/element-tools-panel.component.mjs +5 -5
  55. package/esm2020/cms/components/element.component.mjs +2 -11
  56. package/esm2020/cms/components/plugin.component.mjs +3 -3
  57. package/esm2020/cms/components/preview/preview.component.mjs +11 -11
  58. package/esm2020/cms/components/preview/preview.module.mjs +6 -6
  59. package/esm2020/cms/components/preview/preview.types.mjs +1 -1
  60. package/esm2020/cms/directives/custom-template.directive.mjs +7 -7
  61. package/esm2020/cms/index.mjs +2 -1
  62. package/esm2020/cms/launcher.module.mjs +7 -7
  63. package/esm2020/cms/modules/federated/federated-host.directive.mjs +3 -3
  64. package/esm2020/cms/modules/federated/federated.component.mjs +3 -3
  65. package/esm2020/cms/modules/federated/federated.module.mjs +4 -4
  66. package/esm2020/cms/modules/migrations/migrations.mjs +2 -2
  67. package/esm2020/cms/modules/migrations/migrations.module.mjs +4 -4
  68. package/esm2020/cms/modules/migrations/services/migrations.service.mjs +9 -5
  69. package/esm2020/cms/modules/runtime/runtime.module.mjs +4 -4
  70. package/esm2020/cms/modules/runtime/services/compilation.service.mjs +14 -10
  71. package/esm2020/cms/modules/runtime/services/runtime-editor.service.mjs +3 -3
  72. package/esm2020/cms/modules/runtime/services/runtime.service.mjs +7 -7
  73. package/esm2020/cms/plugins/configuration.plugin.mjs +11 -7
  74. package/esm2020/cms/plugins/element-hover.plugin.mjs +3 -3
  75. package/esm2020/cms/plugins/io.plugin.mjs +14 -5
  76. package/esm2020/cms/plugins/page.plugin.mjs +3 -3
  77. package/esm2020/cms/plugins/region.plugin.mjs +3 -3
  78. package/esm2020/cms/plugins/script.plugin.mjs +3 -3
  79. package/esm2020/cms/services/element-context.service.mjs +3 -3
  80. package/esm2020/cms/services/index.mjs +1 -2
  81. package/esm2020/cms/services/io-provider.service.mjs +13 -12
  82. package/esm2020/cms/services/resources.service.mjs +13 -9
  83. package/esm2020/cms/services/templates.service.mjs +13 -12
  84. package/esm2020/cms/types/index.mjs +1 -2
  85. package/esm2020/cms/utils/element-metadata-worker.mjs +31 -0
  86. package/esm2020/cms/utils/element.utils.mjs +13 -3
  87. package/esm2020/cms/utils/elements-resolver.mjs +14 -28
  88. package/esm2020/cms/utils/encoding.utils.mjs +3 -2
  89. package/esm2020/cms/utils/index.mjs +4 -1
  90. package/esm2020/cms/utils/path.utils.mjs +3 -3
  91. package/esm2020/cms/utils/script.utils.mjs +19 -15
  92. package/esm2020/cms/utils/transpilation-worker.mjs +52 -0
  93. package/esm2020/cms/vendor-map.mjs +18 -6
  94. package/esm2020/core/core.module.mjs +16 -9
  95. package/esm2020/core/directives/directives.module.mjs +4 -4
  96. package/esm2020/core/directives/primeng-calendar.directive.mjs +3 -3
  97. package/esm2020/core/modules/configuration/configuration.module.mjs +9 -25
  98. package/esm2020/core/modules/configuration/helpers.mjs +28 -3
  99. package/esm2020/core/modules/configuration/index.mjs +2 -2
  100. package/esm2020/core/modules/configuration/services/configuration-runtime.service.mjs +11 -14
  101. package/esm2020/core/modules/configuration/services/configuration-state.service.mjs +335 -0
  102. package/esm2020/core/modules/configuration/services/configuration.service.mjs +79 -54
  103. package/esm2020/core/modules/configuration/services/runtime-context.service.mjs +9 -9
  104. package/esm2020/core/modules/configuration/types/configuration.types.mjs +1 -1
  105. package/esm2020/core/modules/flow-configuration/flow-configuration.module.mjs +8 -8
  106. package/esm2020/core/modules/flow-configuration/services/flow-configuration.service.mjs +15 -12
  107. package/esm2020/core/modules/flow-configuration/services/flow-update.service.mjs +13 -4
  108. package/esm2020/core/modules/flow-configuration/types/update.types.mjs +1 -1
  109. package/esm2020/core/pipes/action-code.pipe.mjs +20 -0
  110. package/esm2020/core/pipes/date.pipe.mjs +13 -7
  111. package/esm2020/core/pipes/index.mjs +2 -1
  112. package/esm2020/core/pipes/number.pipe.mjs +3 -3
  113. package/esm2020/core/pipes/pipes.module.mjs +8 -7
  114. package/esm2020/core/pipes/price.pipe.mjs +3 -3
  115. package/esm2020/core/services/context.service.mjs +35 -8
  116. package/esm2020/core/services/flow-info.service.mjs +99 -0
  117. package/esm2020/core/services/flow-state-configuration.service.mjs +53 -0
  118. package/esm2020/core/services/flow-state.service.mjs +512 -0
  119. package/esm2020/core/services/index.mjs +5 -2
  120. package/esm2020/core/services/integration.state.mjs +36 -0
  121. package/esm2020/core/services/product-images.service.mjs +6 -7
  122. package/esm2020/core/services/quote-draft.service.mjs +41 -92
  123. package/esm2020/core/services/runtime-settings.service.mjs +24 -7
  124. package/esm2020/core/types/flow-customization.types.mjs +3 -0
  125. package/esm2020/core/types/flow-state.types.mjs +2 -0
  126. package/esm2020/core/types/formatting-settings.types.mjs +1 -1
  127. package/esm2020/core/types/index.mjs +4 -1
  128. package/esm2020/core/types/integration.types.mjs +2 -0
  129. package/esm2020/core/types/pipe.types.mjs +2 -0
  130. package/esm2020/core/utils/line-item.utils.mjs +33 -32
  131. package/esm2020/src/components/dialog/dialog.component.mjs +3 -3
  132. package/esm2020/src/components/dialog/dialog.module.mjs +4 -4
  133. package/esm2020/src/components/doc-gen/doc-gen.component.mjs +55 -59
  134. package/esm2020/src/components/doc-gen/doc-gen.module.mjs +4 -4
  135. package/esm2020/src/components/flow-header/flow-header.component.mjs +108 -0
  136. package/esm2020/src/components/flow-header/flow-header.module.mjs +19 -0
  137. package/esm2020/src/components/flow-header/index.mjs +2 -0
  138. package/esm2020/src/components/guided-selling/guided-selling.component.mjs +42 -51
  139. package/esm2020/src/components/guided-selling/guided-selling.module.mjs +4 -4
  140. package/esm2020/src/configure-primeng.mjs +33 -0
  141. package/esm2020/src/flow-routing.module.mjs +60 -82
  142. package/esm2020/src/flow.component.mjs +24 -33
  143. package/esm2020/src/flow.module.mjs +11 -9
  144. package/esm2020/src/guards/context.guard.mjs +9 -14
  145. package/esm2020/src/guards/flow.guard.mjs +37 -0
  146. package/esm2020/src/guards/product-unload.guard.mjs +7 -4
  147. package/esm2020/src/guards/root.guard.mjs +17 -13
  148. package/esm2020/src/pages/assets/assets.component.mjs +34 -38
  149. package/esm2020/src/pages/assets/assets.module.mjs +4 -4
  150. package/esm2020/src/pages/catalog/catalog.component.mjs +34 -38
  151. package/esm2020/src/pages/catalog/catalog.module.mjs +4 -4
  152. package/esm2020/src/pages/debug/debug.component.mjs +12 -16
  153. package/esm2020/src/pages/debug/debug.module.mjs +4 -4
  154. package/esm2020/src/pages/product/product.component.mjs +37 -24
  155. package/esm2020/src/pages/product/product.module.mjs +4 -4
  156. package/esm2020/src/pages/record-not-found/record-not-found.component.mjs +8 -5
  157. package/esm2020/src/pages/record-not-found/record-not-found.module.mjs +4 -4
  158. package/esm2020/src/pages/remote/remote.component.mjs +20 -20
  159. package/esm2020/src/pages/remote/remote.module.mjs +4 -4
  160. package/esm2020/src/pages/shopping-cart/shopping-cart.component.mjs +35 -39
  161. package/esm2020/src/pages/shopping-cart/shopping-cart.module.mjs +4 -4
  162. package/esm2020/src/resolvers/flow.resolver.mjs +39 -51
  163. package/esm2020/src/resolvers/quote.resolver.mjs +57 -65
  164. package/esm2020/src/services/doc-gen.service.mjs +7 -6
  165. package/esm2020/src/services/flow-dialog.service.mjs +23 -8
  166. package/esm2020/src/services/flow-router.service.mjs +59 -18
  167. package/esm2020/src/services/flow.service.mjs +85 -30
  168. package/esm2020/src/services/guided-selling.service.mjs +8 -7
  169. package/esm2020/src/services/index.mjs +3 -1
  170. package/esm2020/src/types/index.mjs +1 -2
  171. package/esm2020/src/utils/flow.utils.mjs +6 -2
  172. package/fesm2015/veloceapps-sdk-cms.mjs +1380 -1267
  173. package/fesm2015/veloceapps-sdk-cms.mjs.map +1 -1
  174. package/fesm2015/veloceapps-sdk-core.mjs +1894 -1062
  175. package/fesm2015/veloceapps-sdk-core.mjs.map +1 -1
  176. package/fesm2015/veloceapps-sdk.mjs +879 -1619
  177. package/fesm2015/veloceapps-sdk.mjs.map +1 -1
  178. package/fesm2020/veloceapps-sdk-cms.mjs +1308 -1204
  179. package/fesm2020/veloceapps-sdk-cms.mjs.map +1 -1
  180. package/fesm2020/veloceapps-sdk-core.mjs +1654 -860
  181. package/fesm2020/veloceapps-sdk-core.mjs.map +1 -1
  182. package/fesm2020/veloceapps-sdk.mjs +981 -1718
  183. package/fesm2020/veloceapps-sdk.mjs.map +1 -1
  184. package/package.json +7 -14
  185. package/src/components/doc-gen/doc-gen.component.d.ts +8 -12
  186. package/src/components/flow-header/flow-header.component.d.ts +25 -0
  187. package/src/components/flow-header/flow-header.module.d.ts +9 -0
  188. package/src/components/flow-header/index.d.ts +1 -0
  189. package/src/components/guided-selling/guided-selling.component.d.ts +7 -11
  190. package/src/configure-primeng.d.ts +1 -0
  191. package/src/flow-routing.module.d.ts +5 -7
  192. package/src/flow.component.d.ts +7 -11
  193. package/src/flow.module.d.ts +2 -2
  194. package/src/guards/context.guard.d.ts +4 -5
  195. package/src/guards/flow.guard.d.ts +2 -0
  196. package/src/guards/product-unload.guard.d.ts +2 -2
  197. package/src/guards/root.guard.d.ts +0 -1
  198. package/src/pages/assets/assets.component.d.ts +5 -7
  199. package/src/pages/catalog/catalog.component.d.ts +5 -7
  200. package/src/pages/debug/debug.component.d.ts +5 -8
  201. package/src/pages/product/product.component.d.ts +8 -7
  202. package/src/pages/record-not-found/record-not-found.component.d.ts +2 -0
  203. package/src/pages/remote/remote.component.d.ts +2 -3
  204. package/src/pages/shopping-cart/shopping-cart.component.d.ts +5 -7
  205. package/src/resolvers/flow.resolver.d.ts +6 -7
  206. package/src/resolvers/quote.resolver.d.ts +7 -12
  207. package/src/services/doc-gen.service.d.ts +1 -1
  208. package/src/services/flow-dialog.service.d.ts +5 -2
  209. package/src/services/flow-router.service.d.ts +7 -3
  210. package/src/services/flow.service.d.ts +11 -4
  211. package/src/services/guided-selling.service.d.ts +1 -1
  212. package/src/services/index.d.ts +2 -0
  213. package/src/types/index.d.ts +0 -1
  214. package/core/modules/configuration/services/configuration.state.d.ts +0 -30
  215. package/core/services/metric-calculation/metric-calculation.service.d.ts +0 -25
  216. package/core/services/metric-calculation/metric-calculation.types.d.ts +0 -1
  217. package/core/services/metric-calculation/metric-calculation.utils.d.ts +0 -5
  218. package/esm2020/cms/services/integration.state.mjs +0 -37
  219. package/esm2020/cms/types/integration.types.mjs +0 -2
  220. package/esm2020/core/modules/configuration/services/configuration.state.mjs +0 -142
  221. package/esm2020/core/services/metric-calculation/metric-calculation.service.mjs +0 -85
  222. package/esm2020/core/services/metric-calculation/metric-calculation.types.mjs +0 -2
  223. package/esm2020/core/services/metric-calculation/metric-calculation.utils.mjs +0 -42
  224. package/esm2020/runtime/components/component-preview/component-preview.component.mjs +0 -125
  225. package/esm2020/runtime/components/index.mjs +0 -5
  226. package/esm2020/runtime/components/section-renderer/section-renderer.component.mjs +0 -67
  227. package/esm2020/runtime/components/ui-runtime/runtime.component.mjs +0 -440
  228. package/esm2020/runtime/components/ui-runtime-preview/runtime-preview.component.mjs +0 -108
  229. package/esm2020/runtime/execution/components/children-placeholder/children-placeholder.component.mjs +0 -60
  230. package/esm2020/runtime/execution/components/context-provider/context-provider.component.mjs +0 -39
  231. package/esm2020/runtime/execution/components/execution-section-renderer/execution-section-renderer.component.mjs +0 -67
  232. package/esm2020/runtime/execution/components/federated/federated.component.mjs +0 -74
  233. package/esm2020/runtime/execution/components/velo-attribute/velo-attribute.component.mjs +0 -60
  234. package/esm2020/runtime/execution/components/velo-multiselect/velo-multiselect.component.mjs +0 -130
  235. package/esm2020/runtime/execution/components/velo-port-checkbox/velo-port-checkbox.component.mjs +0 -72
  236. package/esm2020/runtime/execution/components/velo-port-dropdown/velo-port-dropdown.component.mjs +0 -97
  237. package/esm2020/runtime/execution/components/velo-port-radio/velo-port-radio.component.mjs +0 -142
  238. package/esm2020/runtime/execution/components/velo-type/velo-type.component.mjs +0 -119
  239. package/esm2020/runtime/execution/directives/section-script.directive.mjs +0 -247
  240. package/esm2020/runtime/execution/directives/sf-query.directive.mjs +0 -35
  241. package/esm2020/runtime/execution/directives/velo-attribute.directive.mjs +0 -88
  242. package/esm2020/runtime/execution/directives/velo-port.directive.mjs +0 -376
  243. package/esm2020/runtime/execution/directives/vl-approval.directive.mjs +0 -23
  244. package/esm2020/runtime/execution/directives/vl-document-attachments.directive.mjs +0 -36
  245. package/esm2020/runtime/execution/directives/vl-document-templates.directive.mjs +0 -60
  246. package/esm2020/runtime/execution/directives/vl-quote.directive.mjs +0 -42
  247. package/esm2020/runtime/execution/directives/vl-ramp.directive.mjs +0 -55
  248. package/esm2020/runtime/execution/runtime-execution.module.mjs +0 -133
  249. package/esm2020/runtime/execution/utils/federated.util.mjs +0 -32
  250. package/esm2020/runtime/index.mjs +0 -5
  251. package/esm2020/runtime/runtime.module.mjs +0 -74
  252. package/esm2020/runtime/services/cart.service.mjs +0 -29
  253. package/esm2020/runtime/services/collapsible-state.service.mjs +0 -34
  254. package/esm2020/runtime/services/configuration.service.mjs +0 -119
  255. package/esm2020/runtime/services/current-state.service.mjs +0 -17
  256. package/esm2020/runtime/services/form-scope.service.mjs +0 -30
  257. package/esm2020/runtime/services/index.mjs +0 -4
  258. package/esm2020/runtime/services/product-model-cache.service.mjs +0 -31
  259. package/esm2020/runtime/services/runtime-context.service.mjs +0 -60
  260. package/esm2020/runtime/services/runtime-form.service.mjs +0 -219
  261. package/esm2020/runtime/services/runtime.service.mjs +0 -115
  262. package/esm2020/runtime/services/section-helper.service.mjs +0 -27
  263. package/esm2020/runtime/services/section-scope.service.mjs +0 -36
  264. package/esm2020/runtime/services/section-store.service.mjs +0 -22
  265. package/esm2020/runtime/services/section.service.mjs +0 -117
  266. package/esm2020/runtime/types/bound-data.types.mjs +0 -7
  267. package/esm2020/runtime/types/index.mjs +0 -3
  268. package/esm2020/runtime/types/quote-states.types.mjs +0 -2
  269. package/esm2020/runtime/types/runtime.types.mjs +0 -2
  270. package/esm2020/runtime/types/script-registry.types.mjs +0 -51
  271. package/esm2020/runtime/utils/line-item.util.mjs +0 -270
  272. package/esm2020/runtime/utils/section.utils.mjs +0 -26
  273. package/esm2020/runtime/utils/sections-binder.helper.mjs +0 -105
  274. package/esm2020/runtime/veloceapps-sdk-runtime.mjs +0 -5
  275. package/esm2020/src/components/header/cart-overlay/cart-preview.component.mjs +0 -119
  276. package/esm2020/src/components/header/cart-overlay/cart-preview.module.mjs +0 -47
  277. package/esm2020/src/components/header/header.component.mjs +0 -355
  278. package/esm2020/src/components/header/header.module.mjs +0 -52
  279. package/esm2020/src/components/header/header.types.mjs +0 -2
  280. package/esm2020/src/components/header/metrics/index.mjs +0 -2
  281. package/esm2020/src/components/header/metrics/metrics.component.mjs +0 -255
  282. package/esm2020/src/components/header/metrics/metrics.definitions.mjs +0 -2
  283. package/esm2020/src/components/header/metrics/metrics.module.mjs +0 -69
  284. package/esm2020/src/pages/empty-account/empty-account.component.mjs +0 -12
  285. package/esm2020/src/pages/empty-account/empty-account.module.mjs +0 -20
  286. package/esm2020/src/pages/legacy-product/legacy-product.component.mjs +0 -137
  287. package/esm2020/src/pages/legacy-product/legacy-product.module.mjs +0 -19
  288. package/esm2020/src/types/flow-customization.types.mjs +0 -3
  289. package/fesm2015/veloceapps-sdk-runtime.mjs +0 -3770
  290. package/fesm2015/veloceapps-sdk-runtime.mjs.map +0 -1
  291. package/fesm2020/veloceapps-sdk-runtime.mjs +0 -3767
  292. package/fesm2020/veloceapps-sdk-runtime.mjs.map +0 -1
  293. package/runtime/README.md +0 -5
  294. package/runtime/components/component-preview/component-preview.component.d.ts +0 -27
  295. package/runtime/components/index.d.ts +0 -4
  296. package/runtime/components/section-renderer/section-renderer.component.d.ts +0 -25
  297. package/runtime/components/ui-runtime/runtime.component.d.ts +0 -53
  298. package/runtime/components/ui-runtime-preview/runtime-preview.component.d.ts +0 -27
  299. package/runtime/execution/components/children-placeholder/children-placeholder.component.d.ts +0 -30
  300. package/runtime/execution/components/context-provider/context-provider.component.d.ts +0 -14
  301. package/runtime/execution/components/execution-section-renderer/execution-section-renderer.component.d.ts +0 -25
  302. package/runtime/execution/components/federated/federated.component.d.ts +0 -36
  303. package/runtime/execution/components/velo-attribute/velo-attribute.component.d.ts +0 -19
  304. package/runtime/execution/components/velo-multiselect/velo-multiselect.component.d.ts +0 -35
  305. package/runtime/execution/components/velo-port-checkbox/velo-port-checkbox.component.d.ts +0 -22
  306. package/runtime/execution/components/velo-port-dropdown/velo-port-dropdown.component.d.ts +0 -22
  307. package/runtime/execution/components/velo-port-radio/velo-port-radio.component.d.ts +0 -28
  308. package/runtime/execution/components/velo-type/velo-type.component.d.ts +0 -31
  309. package/runtime/execution/directives/section-script.directive.d.ts +0 -59
  310. package/runtime/execution/directives/sf-query.directive.d.ts +0 -15
  311. package/runtime/execution/directives/velo-attribute.directive.d.ts +0 -26
  312. package/runtime/execution/directives/velo-port.directive.d.ts +0 -74
  313. package/runtime/execution/directives/vl-approval.directive.d.ts +0 -10
  314. package/runtime/execution/directives/vl-document-attachments.directive.d.ts +0 -15
  315. package/runtime/execution/directives/vl-document-templates.directive.d.ts +0 -33
  316. package/runtime/execution/directives/vl-quote.directive.d.ts +0 -14
  317. package/runtime/execution/directives/vl-ramp.directive.d.ts +0 -15
  318. package/runtime/execution/runtime-execution.module.d.ts +0 -25
  319. package/runtime/execution/utils/federated.util.d.ts +0 -6
  320. package/runtime/index.d.ts +0 -4
  321. package/runtime/runtime.module.d.ts +0 -16
  322. package/runtime/services/cart.service.d.ts +0 -15
  323. package/runtime/services/collapsible-state.service.d.ts +0 -15
  324. package/runtime/services/configuration.service.d.ts +0 -20
  325. package/runtime/services/current-state.service.d.ts +0 -8
  326. package/runtime/services/form-scope.service.d.ts +0 -20
  327. package/runtime/services/index.d.ts +0 -3
  328. package/runtime/services/product-model-cache.service.d.ts +0 -14
  329. package/runtime/services/runtime-context.service.d.ts +0 -16
  330. package/runtime/services/runtime-form.service.d.ts +0 -24
  331. package/runtime/services/runtime.service.d.ts +0 -44
  332. package/runtime/services/section-helper.service.d.ts +0 -8
  333. package/runtime/services/section-scope.service.d.ts +0 -14
  334. package/runtime/services/section-store.service.d.ts +0 -11
  335. package/runtime/services/section.service.d.ts +0 -30
  336. package/runtime/types/bound-data.types.d.ts +0 -13
  337. package/runtime/types/index.d.ts +0 -2
  338. package/runtime/types/quote-states.types.d.ts +0 -6
  339. package/runtime/types/runtime.types.d.ts +0 -19
  340. package/runtime/types/script-registry.types.d.ts +0 -13
  341. package/runtime/utils/line-item.util.d.ts +0 -34
  342. package/runtime/utils/section.utils.d.ts +0 -2
  343. package/runtime/utils/sections-binder.helper.d.ts +0 -16
  344. package/src/components/header/cart-overlay/cart-preview.component.d.ts +0 -36
  345. package/src/components/header/cart-overlay/cart-preview.module.d.ts +0 -14
  346. package/src/components/header/header.component.d.ts +0 -70
  347. package/src/components/header/header.module.d.ts +0 -16
  348. package/src/components/header/header.types.d.ts +0 -20
  349. package/src/components/header/metrics/index.d.ts +0 -1
  350. package/src/components/header/metrics/metrics.component.d.ts +0 -67
  351. package/src/components/header/metrics/metrics.definitions.d.ts +0 -1
  352. package/src/components/header/metrics/metrics.module.d.ts +0 -18
  353. package/src/pages/empty-account/empty-account.component.d.ts +0 -5
  354. package/src/pages/empty-account/empty-account.module.d.ts +0 -10
  355. package/src/pages/legacy-product/legacy-product.component.d.ts +0 -37
  356. package/src/pages/legacy-product/legacy-product.module.d.ts +0 -9
  357. package/src/types/flow-customization.types.d.ts +0 -12
  358. /package/{cms → core}/services/integration.state.d.ts +0 -0
@@ -1,16 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "./header.component";
3
- import * as i2 from "@angular/common";
4
- import * as i3 from "primeng/overlaypanel";
5
- import * as i4 from "@veloceapps/components";
6
- import * as i5 from "primeng/tooltip";
7
- import * as i6 from "primeng/button";
8
- import * as i7 from "./cart-overlay/cart-preview.module";
9
- import * as i8 from "primeng/splitbutton";
10
- import * as i9 from "./metrics/metrics.module";
11
- import * as i10 from "@veloceapps/sdk/core";
12
- export declare class FlowHeaderModule {
13
- static ɵfac: i0.ɵɵFactoryDeclaration<FlowHeaderModule, never>;
14
- static ɵmod: i0.ɵɵNgModuleDeclaration<FlowHeaderModule, [typeof i1.FlowHeaderComponent], [typeof i2.CommonModule, typeof i3.OverlayPanelModule, typeof i4.LetDirectiveModule, typeof i5.TooltipModule, typeof i6.ButtonModule, typeof i7.CartPreviewModule, typeof i8.SplitButtonModule, typeof i9.MetricsModule, typeof i10.SdkPipesModule], [typeof i1.FlowHeaderComponent]>;
15
- static ɵinj: i0.ɵɵInjectorDeclaration<FlowHeaderModule>;
16
- }
@@ -1,20 +0,0 @@
1
- export interface HeaderObjectDetails {
2
- accountId?: string;
3
- accountName?: string;
4
- opportunityId?: string;
5
- opportunityName?: string;
6
- quoteId?: string;
7
- quoteName?: string;
8
- quoteNumber?: string;
9
- }
10
- export interface HeaderProduct {
11
- id: string;
12
- productId: string;
13
- name: string;
14
- configurable: boolean;
15
- deleted: boolean;
16
- hasTerm: boolean;
17
- qty: number;
18
- mrr: string;
19
- nrr: string;
20
- }
@@ -1 +0,0 @@
1
- export * from './metrics.module';
@@ -1,67 +0,0 @@
1
- import { CdkDragDrop } from '@angular/cdk/drag-drop';
2
- import { ChangeDetectorRef, OnDestroy, OnInit } from '@angular/core';
3
- import { FormControl } from '@angular/forms';
4
- import { ShoppingCartSettingsApiService } from '@veloceapps/api';
5
- import { ContextService, FlowConfigurationService, MetricsCalculationService, QuoteDraftService, RuntimeSettingsService } from '@veloceapps/sdk/core';
6
- import { OverlayPanel } from 'primeng/overlaypanel';
7
- import { Metric } from '../../../types';
8
- import * as i0 from "@angular/core";
9
- export declare class MetricsComponent implements OnInit, OnDestroy {
10
- private contextService;
11
- private quoteDraftService;
12
- private cdr;
13
- private metricsCalculationService;
14
- private flowConfiguration;
15
- private shoppingCartSettingsApiService;
16
- private runtimeSettings;
17
- overlayPanel: OverlayPanel;
18
- emptyStateMetrics: {
19
- name: string;
20
- value: number;
21
- }[];
22
- visibleSelectedMetrics: Metric[];
23
- restSelectedMetrics: Metric[];
24
- metrics: Metric[];
25
- filteredMetrics: Metric[];
26
- editingMetric: Metric | undefined;
27
- currencySymbol: string;
28
- sidebarVisible: boolean;
29
- searchControl: FormControl;
30
- isFocused: boolean;
31
- nameControl: FormControl;
32
- private activeMetricRules;
33
- private activeMetricRuleNames;
34
- private defaultMetricRuleNames;
35
- private metricKeys;
36
- private lastSavedMetrics;
37
- private destroyed$;
38
- constructor(contextService: ContextService, quoteDraftService: QuoteDraftService, cdr: ChangeDetectorRef, metricsCalculationService: MetricsCalculationService, flowConfiguration: FlowConfigurationService, shoppingCartSettingsApiService: ShoppingCartSettingsApiService, runtimeSettings: RuntimeSettingsService);
39
- ngOnInit(): void;
40
- ngOnDestroy(): void;
41
- toggleOverlay(event: MouseEvent, overlay: OverlayPanel, target: HTMLElement): void;
42
- openSidebar(): void;
43
- closeSidebar(): void;
44
- getMetricValue(key: string): number;
45
- save(): void;
46
- changeMetricOrder(event: CdkDragDrop<string[]>): void;
47
- editMetric(metric: Metric): void;
48
- saveMetric(): void;
49
- cancelMetric(): void;
50
- resetToDefault(): void;
51
- onFocus(): void;
52
- onBlur(): void;
53
- clearSearch(event: MouseEvent): void;
54
- private collectMetricKeys;
55
- private setMetrics;
56
- private collectAvailableMetrics;
57
- private getMetricName;
58
- private toNumber;
59
- private getActiveMetricRuleNames;
60
- /**
61
- * Sorts the Metrics array by the order of the default metric rule names from the shopping cart settings.
62
- * If a metric is included in the list of default metrics, it raises the metric to the top of the metrics array.
63
- */
64
- private sortMetrics;
65
- static ɵfac: i0.ɵɵFactoryDeclaration<MetricsComponent, never>;
66
- static ɵcmp: i0.ɵɵComponentDeclaration<MetricsComponent, "vl-metrics", never, {}, {}, never, never, false, never>;
67
- }
@@ -1 +0,0 @@
1
- export declare const METRICS_STORAGE_KEY = "vl-metrics";
@@ -1,18 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "./metrics.component";
3
- import * as i2 from "@angular/common";
4
- import * as i3 from "@angular/forms";
5
- import * as i4 from "@angular/cdk/drag-drop";
6
- import * as i5 from "primeng/button";
7
- import * as i6 from "primeng/overlaypanel";
8
- import * as i7 from "primeng/sidebar";
9
- import * as i8 from "primeng/inputtext";
10
- import * as i9 from "primeng/checkbox";
11
- import * as i10 from "@veloceapps/components";
12
- import * as i11 from "primeng/virtualscroller";
13
- import * as i12 from "@veloceapps/sdk/core";
14
- export declare class MetricsModule {
15
- static ɵfac: i0.ɵɵFactoryDeclaration<MetricsModule, never>;
16
- static ɵmod: i0.ɵɵNgModuleDeclaration<MetricsModule, [typeof i1.MetricsComponent], [typeof i2.CommonModule, typeof i3.FormsModule, typeof i3.ReactiveFormsModule, typeof i4.DragDropModule, typeof i5.ButtonModule, typeof i6.OverlayPanelModule, typeof i7.SidebarModule, typeof i8.InputTextModule, typeof i9.CheckboxModule, typeof i10.LetDirectiveModule, typeof i11.VirtualScrollerModule, typeof i10.ErrorTooltipModule, typeof i10.HiddenTextTooltipModule, typeof i12.SdkPipesModule], [typeof i1.MetricsComponent]>;
17
- static ɵinj: i0.ɵɵInjectorDeclaration<MetricsModule>;
18
- }
@@ -1,5 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- export declare class EmptyAccountComponent {
3
- static ɵfac: i0.ɵɵFactoryDeclaration<EmptyAccountComponent, never>;
4
- static ɵcmp: i0.ɵɵComponentDeclaration<EmptyAccountComponent, "vl-empty-account", never, {}, {}, never, never, false, never>;
5
- }
@@ -1,10 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "./empty-account.component";
3
- import * as i2 from "@angular/common";
4
- import * as i3 from "@veloceapps/sdk/cms";
5
- import * as i4 from "@veloceapps/components";
6
- export declare class EmptyAccountModule {
7
- static ɵfac: i0.ɵɵFactoryDeclaration<EmptyAccountModule, never>;
8
- static ɵmod: i0.ɵɵNgModuleDeclaration<EmptyAccountModule, [typeof i1.EmptyAccountComponent], [typeof i2.CommonModule, typeof i3.PreviewModule, typeof i4.LoaderModule, typeof i4.EmptyStateModule], [typeof i1.EmptyAccountComponent]>;
9
- static ɵinj: i0.ɵɵInjectorDeclaration<EmptyAccountModule>;
10
- }
@@ -1,37 +0,0 @@
1
- import { OnDestroy, OnInit } from '@angular/core';
2
- import { ActivatedRoute } from '@angular/router';
3
- import { QuoteApiService } from '@veloceapps/api';
4
- import { LineItem } from '@veloceapps/core';
5
- import { ContextService, QuoteDraftService } from '@veloceapps/sdk/core';
6
- import { CurrentStateService, RuntimeContextService, RuntimeService, SolutionReadyAware, SolutionUpdatedAware } from '@veloceapps/sdk/runtime';
7
- import { FlowCustomization } from '../../types';
8
- import * as i0 from "@angular/core";
9
- export declare class LegacyProductComponent implements OnInit, OnDestroy, SolutionUpdatedAware, SolutionReadyAware {
10
- private route;
11
- private quoteDraftService;
12
- private quoteApiService;
13
- private contextService;
14
- private runtimeContextService;
15
- private runtimeService;
16
- private currentStateService;
17
- private customizationService?;
18
- private destroyed$;
19
- private assets?;
20
- constructor(route: ActivatedRoute, quoteDraftService: QuoteDraftService, quoteApiService: QuoteApiService, contextService: ContextService, runtimeContextService: RuntimeContextService, runtimeService: RuntimeService, currentStateService: CurrentStateService, customizationService?: FlowCustomization | undefined);
21
- ngOnInit(): void;
22
- ngOnDestroy(): void;
23
- onSolutionReady(lineItem: LineItem): void;
24
- onSolutionCancel(): void;
25
- onSolutionUpdated(lineItem: LineItem): void;
26
- onSolutionStop(lineItem: LineItem): void;
27
- private init;
28
- private getLineItemId;
29
- private configure;
30
- private reConfigure;
31
- private getAsset;
32
- private startRuntime;
33
- private customizeContext;
34
- private getRuntimeContext;
35
- static ɵfac: i0.ɵɵFactoryDeclaration<LegacyProductComponent, [null, null, null, null, null, null, null, { optional: true; }]>;
36
- static ɵcmp: i0.ɵɵComponentDeclaration<LegacyProductComponent, "ng-component", never, {}, {}, never, never, false, never>;
37
- }
@@ -1,9 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "./legacy-product.component";
3
- import * as i2 from "@angular/common";
4
- import * as i3 from "@veloceapps/sdk/runtime";
5
- export declare class LegacyProductModule {
6
- static ɵfac: i0.ɵɵFactoryDeclaration<LegacyProductModule, never>;
7
- static ɵmod: i0.ɵɵNgModuleDeclaration<LegacyProductModule, [typeof i1.LegacyProductComponent], [typeof i2.CommonModule, typeof i3.RuntimeModule], [typeof i1.LegacyProductComponent]>;
8
- static ɵinj: i0.ɵɵInjectorDeclaration<LegacyProductModule>;
9
- }
@@ -1,12 +0,0 @@
1
- import { InjectionToken } from '@angular/core';
2
- import { TemplateComponentWithAttachments, UIDefinitionContainer } from '@veloceapps/core';
3
- import { Observable } from 'rxjs';
4
- export declare const FLOW_CUSTOMIZATION: InjectionToken<FlowCustomization>;
5
- export interface FlowCustomization {
6
- getUiDefinition?(productId: string): Observable<UIDefinitionContainer | null>;
7
- getLegacyUiDefinition?(productId: string): Observable<UIDefinitionContainer | null>;
8
- getShoppingCartComponent?(templateName: string): Observable<TemplateComponentWithAttachments | null>;
9
- getCatalogComponent?(templateName: string): Observable<TemplateComponentWithAttachments | null>;
10
- getAssetsComponent?(templateName: string): Observable<TemplateComponentWithAttachments | null>;
11
- getTemplateComponent?(templateName: string): Observable<TemplateComponentWithAttachments | null>;
12
- }
File without changes