@veloceapps/sdk 4.0.21-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 (375) hide show
  1. package/README.md +3 -0
  2. package/bundles/veloceapps-sdk-cms.umd.js +1946 -0
  3. package/bundles/veloceapps-sdk-cms.umd.js.map +1 -0
  4. package/bundles/veloceapps-sdk-core.umd.js +1671 -0
  5. package/bundles/veloceapps-sdk-core.umd.js.map +1 -0
  6. package/bundles/veloceapps-sdk-runtime.umd.js +4414 -0
  7. package/bundles/veloceapps-sdk-runtime.umd.js.map +1 -0
  8. package/bundles/veloceapps-sdk.umd.js +3043 -0
  9. package/bundles/veloceapps-sdk.umd.js.map +1 -0
  10. package/cms/cms.actions.d.ts +22 -0
  11. package/cms/cms.default.d.ts +5 -0
  12. package/cms/cms.elements.d.ts +4 -0
  13. package/cms/components/element-children/element-children.component.d.ts +10 -0
  14. package/cms/components/element-children/element-children.module.d.ts +8 -0
  15. package/cms/components/element-renderer/element-renderer.component.d.ts +35 -0
  16. package/cms/components/element-renderer/element-renderer.module.d.ts +7 -0
  17. package/cms/components/element.component.d.ts +17 -0
  18. package/cms/components/index.d.ts +1 -0
  19. package/cms/components/plugin.component.d.ts +15 -0
  20. package/cms/components/preview/index.d.ts +2 -0
  21. package/cms/components/preview/preview.component.d.ts +34 -0
  22. package/cms/components/preview/preview.module.d.ts +11 -0
  23. package/cms/decorators/element.decorator.d.ts +2 -0
  24. package/cms/decorators/index.d.ts +1 -0
  25. package/cms/directives/custom-template.directive.d.ts +12 -0
  26. package/cms/engine/models/entity.d.ts +11 -0
  27. package/cms/engine/models/plugin.d.ts +5 -0
  28. package/cms/index.d.ts +11 -0
  29. package/cms/injection-tokens.d.ts +11 -0
  30. package/cms/launcher.module.d.ts +10 -0
  31. package/cms/modules/federated/default-options.d.ts +4 -0
  32. package/cms/modules/federated/export.d.ts +1 -0
  33. package/cms/modules/federated/federated.component.d.ts +26 -0
  34. package/cms/modules/federated/federated.module.d.ts +9 -0
  35. package/cms/modules/federated/federated.types.d.ts +30 -0
  36. package/cms/modules/federated/federated.utils.d.ts +1 -0
  37. package/cms/package.json +10 -0
  38. package/cms/plugins/configuration.plugin.d.ts +23 -0
  39. package/cms/plugins/io.plugin.d.ts +9 -0
  40. package/cms/plugins/script.plugin.d.ts +13 -0
  41. package/cms/services/dynamic-module.service.d.ts +15 -0
  42. package/cms/services/element-context.service.d.ts +8 -0
  43. package/cms/services/index.d.ts +3 -0
  44. package/cms/services/integration.state.d.ts +17 -0
  45. package/cms/services/io-provider.service.d.ts +15 -0
  46. package/cms/services/launcher.service.d.ts +18 -0
  47. package/cms/services/templates.service.d.ts +14 -0
  48. package/cms/types/common.types.d.ts +103 -0
  49. package/cms/types/configuration.types.d.ts +20 -0
  50. package/cms/types/elements.types.d.ts +2 -0
  51. package/cms/types/index.d.ts +5 -0
  52. package/cms/types/integration.types.d.ts +4 -0
  53. package/cms/types/path.types.d.ts +11 -0
  54. package/cms/utils/element.utils.d.ts +15 -0
  55. package/cms/utils/elements-resolver.d.ts +20 -0
  56. package/cms/utils/index.d.ts +3 -0
  57. package/cms/utils/path.utils.d.ts +5 -0
  58. package/cms/veloceapps-sdk-cms.d.ts +5 -0
  59. package/cms/vendor-map.d.ts +707 -0
  60. package/core/core.module.d.ts +8 -0
  61. package/core/index.d.ts +6 -0
  62. package/core/modules/configuration/configuration.module.d.ts +7 -0
  63. package/core/modules/configuration/helpers.d.ts +3 -0
  64. package/core/modules/configuration/index.d.ts +4 -0
  65. package/core/modules/configuration/services/configuration-runtime.service.d.ts +29 -0
  66. package/core/modules/configuration/services/configuration.service.d.ts +45 -0
  67. package/core/modules/configuration/services/runtime-context.service.d.ts +12 -0
  68. package/core/modules/configuration/types/configuration-runtime.types.d.ts +7 -0
  69. package/core/modules/flow-configuration/flow-configuration.module.d.ts +6 -0
  70. package/core/modules/flow-configuration/index.d.ts +4 -0
  71. package/core/modules/flow-configuration/services/flow-configuration.service.d.ts +38 -0
  72. package/core/modules/flow-configuration/services/flow-update.service.d.ts +12 -0
  73. package/core/modules/flow-configuration/types/update.types.d.ts +12 -0
  74. package/core/modules/index.d.ts +2 -0
  75. package/core/package.json +10 -0
  76. package/core/services/context.service.d.ts +18 -0
  77. package/core/services/index.d.ts +3 -0
  78. package/core/services/product-images.service.d.ts +12 -0
  79. package/core/services/quote-draft.service.d.ts +60 -0
  80. package/core/types/index.d.ts +3 -0
  81. package/core/types/quote-states.types.d.ts +6 -0
  82. package/core/types/runtime.types.d.ts +31 -0
  83. package/core/types/ui-definition.types.d.ts +26 -0
  84. package/core/utils/index.d.ts +2 -0
  85. package/core/utils/line-item.utils.d.ts +26 -0
  86. package/core/utils/line-item.worker.d.ts +12 -0
  87. package/core/veloceapps-sdk-core.d.ts +5 -0
  88. package/esm2015/cms/cms.actions.js +37 -0
  89. package/esm2015/cms/cms.default.js +6 -0
  90. package/esm2015/cms/cms.elements.js +29 -0
  91. package/esm2015/cms/components/element-children/element-children.component.js +23 -0
  92. package/esm2015/cms/components/element-children/element-children.module.js +18 -0
  93. package/esm2015/cms/components/element-renderer/element-renderer.component.js +143 -0
  94. package/esm2015/cms/components/element-renderer/element-renderer.module.js +16 -0
  95. package/esm2015/cms/components/element.component.js +44 -0
  96. package/esm2015/cms/components/index.js +2 -0
  97. package/esm2015/cms/components/plugin.component.js +16 -0
  98. package/esm2015/cms/components/preview/index.js +3 -0
  99. package/esm2015/cms/components/preview/preview.component.js +105 -0
  100. package/esm2015/cms/components/preview/preview.module.js +23 -0
  101. package/esm2015/cms/decorators/element.decorator.js +6 -0
  102. package/esm2015/cms/decorators/index.js +2 -0
  103. package/esm2015/cms/directives/custom-template.directive.js +25 -0
  104. package/esm2015/cms/engine/models/entity.js +18 -0
  105. package/esm2015/cms/engine/models/plugin.js +6 -0
  106. package/esm2015/cms/index.js +11 -0
  107. package/esm2015/cms/injection-tokens.js +8 -0
  108. package/esm2015/cms/launcher.module.js +23 -0
  109. package/esm2015/cms/modules/federated/default-options.js +5 -0
  110. package/esm2015/cms/modules/federated/export.js +2 -0
  111. package/esm2015/cms/modules/federated/federated.component.js +82 -0
  112. package/esm2015/cms/modules/federated/federated.module.js +19 -0
  113. package/esm2015/cms/modules/federated/federated.types.js +2 -0
  114. package/esm2015/cms/modules/federated/federated.utils.js +37 -0
  115. package/esm2015/cms/plugins/configuration.plugin.js +98 -0
  116. package/esm2015/cms/plugins/io.plugin.js +37 -0
  117. package/esm2015/cms/plugins/script.plugin.js +66 -0
  118. package/esm2015/cms/services/dynamic-module.service.js +33 -0
  119. package/esm2015/cms/services/element-context.service.js +10 -0
  120. package/esm2015/cms/services/index.js +4 -0
  121. package/esm2015/cms/services/integration.state.js +40 -0
  122. package/esm2015/cms/services/io-provider.service.js +51 -0
  123. package/esm2015/cms/services/launcher.service.js +57 -0
  124. package/esm2015/cms/services/templates.service.js +31 -0
  125. package/esm2015/cms/types/common.types.js +2 -0
  126. package/esm2015/cms/types/configuration.types.js +2 -0
  127. package/esm2015/cms/types/elements.types.js +2 -0
  128. package/esm2015/cms/types/index.js +6 -0
  129. package/esm2015/cms/types/integration.types.js +2 -0
  130. package/esm2015/cms/types/path.types.js +2 -0
  131. package/esm2015/cms/utils/element.utils.js +149 -0
  132. package/esm2015/cms/utils/elements-resolver.js +108 -0
  133. package/esm2015/cms/utils/index.js +4 -0
  134. package/esm2015/cms/utils/path.utils.js +67 -0
  135. package/esm2015/cms/veloceapps-sdk-cms.js +5 -0
  136. package/esm2015/cms/vendor-map.js +39 -0
  137. package/esm2015/core/core.module.js +18 -0
  138. package/esm2015/core/index.js +7 -0
  139. package/esm2015/core/modules/configuration/configuration.module.js +34 -0
  140. package/esm2015/core/modules/configuration/helpers.js +10 -0
  141. package/esm2015/core/modules/configuration/index.js +5 -0
  142. package/esm2015/core/modules/configuration/services/configuration-runtime.service.js +92 -0
  143. package/esm2015/core/modules/configuration/services/configuration.service.js +173 -0
  144. package/esm2015/core/modules/configuration/services/runtime-context.service.js +51 -0
  145. package/esm2015/core/modules/configuration/types/configuration-runtime.types.js +2 -0
  146. package/esm2015/core/modules/flow-configuration/flow-configuration.module.js +18 -0
  147. package/esm2015/core/modules/flow-configuration/index.js +5 -0
  148. package/esm2015/core/modules/flow-configuration/services/flow-configuration.service.js +135 -0
  149. package/esm2015/core/modules/flow-configuration/services/flow-update.service.js +129 -0
  150. package/esm2015/core/modules/flow-configuration/types/update.types.js +2 -0
  151. package/esm2015/core/modules/index.js +3 -0
  152. package/esm2015/core/services/context.service.js +50 -0
  153. package/esm2015/core/services/index.js +4 -0
  154. package/esm2015/core/services/product-images.service.js +30 -0
  155. package/esm2015/core/services/quote-draft.service.js +201 -0
  156. package/esm2015/core/types/index.js +4 -0
  157. package/esm2015/core/types/quote-states.types.js +2 -0
  158. package/esm2015/core/types/runtime.types.js +16 -0
  159. package/esm2015/core/types/ui-definition.types.js +2 -0
  160. package/esm2015/core/utils/index.js +3 -0
  161. package/esm2015/core/utils/line-item.utils.js +100 -0
  162. package/esm2015/core/utils/line-item.worker.js +19 -0
  163. package/esm2015/core/veloceapps-sdk-core.js +5 -0
  164. package/esm2015/index.js +2 -0
  165. package/esm2015/runtime/components/component-preview/component-preview.component.js +125 -0
  166. package/esm2015/runtime/components/index.js +5 -0
  167. package/esm2015/runtime/components/section-renderer/section-renderer.component.js +71 -0
  168. package/esm2015/runtime/components/ui-runtime/runtime.component.js +427 -0
  169. package/esm2015/runtime/components/ui-runtime-preview/runtime-preview.component.js +109 -0
  170. package/esm2015/runtime/execution/components/children-placeholder/children-placeholder.component.js +68 -0
  171. package/esm2015/runtime/execution/components/context-provider/context-provider.component.js +36 -0
  172. package/esm2015/runtime/execution/components/execution-section-renderer/execution-section-renderer.component.js +72 -0
  173. package/esm2015/runtime/execution/components/federated/federated.component.js +81 -0
  174. package/esm2015/runtime/execution/components/velo-attribute/velo-attribute.component.js +65 -0
  175. package/esm2015/runtime/execution/components/velo-multiselect/velo-multiselect.component.js +136 -0
  176. package/esm2015/runtime/execution/components/velo-port-checkbox/velo-port-checkbox.component.js +80 -0
  177. package/esm2015/runtime/execution/components/velo-port-dropdown/velo-port-dropdown.component.js +101 -0
  178. package/esm2015/runtime/execution/components/velo-port-radio/velo-port-radio.component.js +150 -0
  179. package/esm2015/runtime/execution/components/velo-type/velo-type.component.js +121 -0
  180. package/esm2015/runtime/execution/directives/section-script.directive.js +242 -0
  181. package/esm2015/runtime/execution/directives/sf-query.directive.js +34 -0
  182. package/esm2015/runtime/execution/directives/velo-attribute.directive.js +86 -0
  183. package/esm2015/runtime/execution/directives/velo-port.directive.js +373 -0
  184. package/esm2015/runtime/execution/directives/vl-approval.directive.js +22 -0
  185. package/esm2015/runtime/execution/directives/vl-document-attachments.directive.js +35 -0
  186. package/esm2015/runtime/execution/directives/vl-document-templates.directive.js +59 -0
  187. package/esm2015/runtime/execution/directives/vl-quote.directive.js +41 -0
  188. package/esm2015/runtime/execution/directives/vl-ramp.directive.js +51 -0
  189. package/esm2015/runtime/execution/runtime-execution.module.js +163 -0
  190. package/esm2015/runtime/execution/utils/federated.util.js +37 -0
  191. package/esm2015/runtime/index.js +5 -0
  192. package/esm2015/runtime/runtime.module.js +104 -0
  193. package/esm2015/runtime/services/cart.service.js +27 -0
  194. package/esm2015/runtime/services/collapsible-state.service.js +34 -0
  195. package/esm2015/runtime/services/configuration.service.js +102 -0
  196. package/esm2015/runtime/services/current-state.service.js +17 -0
  197. package/esm2015/runtime/services/form-scope.service.js +30 -0
  198. package/esm2015/runtime/services/index.js +4 -0
  199. package/esm2015/runtime/services/product-model-cache.service.js +30 -0
  200. package/esm2015/runtime/services/runtime-context.service.js +56 -0
  201. package/esm2015/runtime/services/runtime-form.service.js +224 -0
  202. package/esm2015/runtime/services/runtime.service.js +108 -0
  203. package/esm2015/runtime/services/section-helper.service.js +27 -0
  204. package/esm2015/runtime/services/section-scope.service.js +36 -0
  205. package/esm2015/runtime/services/section-store.service.js +22 -0
  206. package/esm2015/runtime/services/section.service.js +124 -0
  207. package/esm2015/runtime/types/bound-data.types.js +7 -0
  208. package/esm2015/runtime/types/index.js +2 -0
  209. package/esm2015/runtime/types/runtime.types.js +2 -0
  210. package/esm2015/runtime/types/script-registry.types.js +51 -0
  211. package/esm2015/runtime/utils/line-item.util.js +273 -0
  212. package/esm2015/runtime/utils/section.utils.js +26 -0
  213. package/esm2015/runtime/utils/sections-binder.helper.js +105 -0
  214. package/esm2015/runtime/veloceapps-sdk-runtime.js +5 -0
  215. package/esm2015/src/components/dialog/dialog.component.js +30 -0
  216. package/esm2015/src/components/dialog/dialog.module.js +19 -0
  217. package/esm2015/src/components/dialog/dialog.types.js +2 -0
  218. package/esm2015/src/components/doc-gen/doc-gen.component.js +109 -0
  219. package/esm2015/src/components/doc-gen/doc-gen.module.js +19 -0
  220. package/esm2015/src/components/header/cart-overlay/cart-preview.component.js +122 -0
  221. package/esm2015/src/components/header/cart-overlay/cart-preview.module.js +46 -0
  222. package/esm2015/src/components/header/header.component.js +284 -0
  223. package/esm2015/src/components/header/header.module.js +46 -0
  224. package/esm2015/src/components/header/header.types.js +2 -0
  225. package/esm2015/src/constants.js +2 -0
  226. package/esm2015/src/flow-routing.module.js +137 -0
  227. package/esm2015/src/flow.component.js +45 -0
  228. package/esm2015/src/flow.module.js +60 -0
  229. package/esm2015/src/guards/context.guard.js +84 -0
  230. package/esm2015/src/guards/index.js +2 -0
  231. package/esm2015/src/guards/product-unload.guard.js +43 -0
  232. package/esm2015/src/guards/root.guard.js +41 -0
  233. package/esm2015/src/index.js +7 -0
  234. package/esm2015/src/pages/catalog/catalog.component.js +117 -0
  235. package/esm2015/src/pages/catalog/catalog.module.js +20 -0
  236. package/esm2015/src/pages/debug/debug.component.js +61 -0
  237. package/esm2015/src/pages/debug/debug.module.js +48 -0
  238. package/esm2015/src/pages/empty-account/empty-account.component.js +17 -0
  239. package/esm2015/src/pages/empty-account/empty-account.module.js +20 -0
  240. package/esm2015/src/pages/legacy-product/legacy-product.component.js +132 -0
  241. package/esm2015/src/pages/legacy-product/legacy-product.module.js +21 -0
  242. package/esm2015/src/pages/product/product.component.js +108 -0
  243. package/esm2015/src/pages/product/product.module.js +20 -0
  244. package/esm2015/src/pages/record-not-found/record-not-found.component.js +29 -0
  245. package/esm2015/src/pages/record-not-found/record-not-found.module.js +20 -0
  246. package/esm2015/src/pages/remote/remote.component.js +353 -0
  247. package/esm2015/src/pages/remote/remote.module.js +20 -0
  248. package/esm2015/src/pages/remote/remote.types.js +2 -0
  249. package/esm2015/src/pages/shopping-cart/shopping-cart.component.js +117 -0
  250. package/esm2015/src/pages/shopping-cart/shopping-cart.module.js +20 -0
  251. package/esm2015/src/resolvers/flow.resolver.js +62 -0
  252. package/esm2015/src/resolvers/quote.resolver.js +74 -0
  253. package/esm2015/src/services/doc-gen.service.js +33 -0
  254. package/esm2015/src/services/flow-dialog.service.js +123 -0
  255. package/esm2015/src/services/flow-router.service.js +124 -0
  256. package/esm2015/src/services/flow.service.js +71 -0
  257. package/esm2015/src/services/index.js +2 -0
  258. package/esm2015/src/types/context-route.types.js +2 -0
  259. package/esm2015/src/types/flow-customization.types.js +3 -0
  260. package/esm2015/src/types/index.js +3 -0
  261. package/esm2015/src/types/route.types.js +2 -0
  262. package/esm2015/src/utils/flow.utils.js +22 -0
  263. package/esm2015/src/utils/index.js +2 -0
  264. package/esm2015/veloceapps-sdk.js +5 -0
  265. package/fesm2015/veloceapps-sdk-cms.js +1357 -0
  266. package/fesm2015/veloceapps-sdk-cms.js.map +1 -0
  267. package/fesm2015/veloceapps-sdk-core.js +1029 -0
  268. package/fesm2015/veloceapps-sdk-core.js.map +1 -0
  269. package/fesm2015/veloceapps-sdk-runtime.js +3894 -0
  270. package/fesm2015/veloceapps-sdk-runtime.js.map +1 -0
  271. package/fesm2015/veloceapps-sdk.js +2449 -0
  272. package/fesm2015/veloceapps-sdk.js.map +1 -0
  273. package/index.d.ts +1 -0
  274. package/package.json +50 -0
  275. package/runtime/components/component-preview/component-preview.component.d.ts +27 -0
  276. package/runtime/components/index.d.ts +4 -0
  277. package/runtime/components/section-renderer/section-renderer.component.d.ts +25 -0
  278. package/runtime/components/ui-runtime/runtime.component.d.ts +53 -0
  279. package/runtime/components/ui-runtime-preview/runtime-preview.component.d.ts +27 -0
  280. package/runtime/execution/components/children-placeholder/children-placeholder.component.d.ts +30 -0
  281. package/runtime/execution/components/context-provider/context-provider.component.d.ts +14 -0
  282. package/runtime/execution/components/execution-section-renderer/execution-section-renderer.component.d.ts +25 -0
  283. package/runtime/execution/components/federated/federated.component.d.ts +36 -0
  284. package/runtime/execution/components/velo-attribute/velo-attribute.component.d.ts +19 -0
  285. package/runtime/execution/components/velo-multiselect/velo-multiselect.component.d.ts +35 -0
  286. package/runtime/execution/components/velo-port-checkbox/velo-port-checkbox.component.d.ts +22 -0
  287. package/runtime/execution/components/velo-port-dropdown/velo-port-dropdown.component.d.ts +22 -0
  288. package/runtime/execution/components/velo-port-radio/velo-port-radio.component.d.ts +28 -0
  289. package/runtime/execution/components/velo-type/velo-type.component.d.ts +31 -0
  290. package/runtime/execution/directives/section-script.directive.d.ts +59 -0
  291. package/runtime/execution/directives/sf-query.directive.d.ts +15 -0
  292. package/runtime/execution/directives/velo-attribute.directive.d.ts +26 -0
  293. package/runtime/execution/directives/velo-port.directive.d.ts +74 -0
  294. package/runtime/execution/directives/vl-approval.directive.d.ts +10 -0
  295. package/runtime/execution/directives/vl-document-attachments.directive.d.ts +15 -0
  296. package/runtime/execution/directives/vl-document-templates.directive.d.ts +33 -0
  297. package/runtime/execution/directives/vl-quote.directive.d.ts +14 -0
  298. package/runtime/execution/directives/vl-ramp.directive.d.ts +15 -0
  299. package/runtime/execution/runtime-execution.module.d.ts +27 -0
  300. package/runtime/execution/utils/federated.util.d.ts +6 -0
  301. package/runtime/index.d.ts +4 -0
  302. package/runtime/package.json +10 -0
  303. package/runtime/runtime.module.d.ts +18 -0
  304. package/runtime/services/cart.service.d.ts +15 -0
  305. package/runtime/services/collapsible-state.service.d.ts +15 -0
  306. package/runtime/services/configuration.service.d.ts +19 -0
  307. package/runtime/services/current-state.service.d.ts +8 -0
  308. package/runtime/services/form-scope.service.d.ts +20 -0
  309. package/runtime/services/index.d.ts +3 -0
  310. package/runtime/services/product-model-cache.service.d.ts +14 -0
  311. package/runtime/services/runtime-context.service.d.ts +16 -0
  312. package/runtime/services/runtime-form.service.d.ts +24 -0
  313. package/runtime/services/runtime.service.d.ts +43 -0
  314. package/runtime/services/section-helper.service.d.ts +8 -0
  315. package/runtime/services/section-scope.service.d.ts +14 -0
  316. package/runtime/services/section-store.service.d.ts +11 -0
  317. package/runtime/services/section.service.d.ts +30 -0
  318. package/runtime/types/bound-data.types.d.ts +13 -0
  319. package/runtime/types/index.d.ts +1 -0
  320. package/runtime/types/runtime.types.d.ts +19 -0
  321. package/runtime/types/script-registry.types.d.ts +13 -0
  322. package/runtime/utils/line-item.util.d.ts +34 -0
  323. package/runtime/utils/section.utils.d.ts +2 -0
  324. package/runtime/utils/sections-binder.helper.d.ts +16 -0
  325. package/runtime/veloceapps-sdk-runtime.d.ts +5 -0
  326. package/src/components/dialog/dialog.component.d.ts +13 -0
  327. package/src/components/dialog/dialog.module.d.ts +9 -0
  328. package/src/components/dialog/dialog.types.d.ts +6 -0
  329. package/src/components/doc-gen/doc-gen.component.d.ts +26 -0
  330. package/src/components/doc-gen/doc-gen.module.d.ts +9 -0
  331. package/src/components/header/cart-overlay/cart-preview.component.d.ts +36 -0
  332. package/src/components/header/cart-overlay/cart-preview.module.d.ts +14 -0
  333. package/src/components/header/header.component.d.ts +63 -0
  334. package/src/components/header/header.module.d.ts +14 -0
  335. package/src/components/header/header.types.d.ts +20 -0
  336. package/src/constants.d.ts +1 -0
  337. package/src/flow-routing.module.d.ts +13 -0
  338. package/src/flow.component.d.ts +23 -0
  339. package/src/flow.module.d.ts +16 -0
  340. package/src/guards/context.guard.d.ts +19 -0
  341. package/src/guards/index.d.ts +1 -0
  342. package/src/guards/product-unload.guard.d.ts +16 -0
  343. package/src/guards/root.guard.d.ts +15 -0
  344. package/src/index.d.ts +6 -0
  345. package/src/pages/catalog/catalog.component.d.ts +32 -0
  346. package/src/pages/catalog/catalog.module.d.ts +10 -0
  347. package/src/pages/debug/debug.component.d.ts +25 -0
  348. package/src/pages/debug/debug.module.d.ts +14 -0
  349. package/src/pages/empty-account/empty-account.component.d.ts +5 -0
  350. package/src/pages/empty-account/empty-account.module.d.ts +10 -0
  351. package/src/pages/legacy-product/legacy-product.component.d.ts +37 -0
  352. package/src/pages/legacy-product/legacy-product.module.d.ts +10 -0
  353. package/src/pages/product/product.component.d.ts +32 -0
  354. package/src/pages/product/product.module.d.ts +10 -0
  355. package/src/pages/record-not-found/record-not-found.component.d.ts +11 -0
  356. package/src/pages/record-not-found/record-not-found.module.d.ts +9 -0
  357. package/src/pages/remote/remote.component.d.ts +47 -0
  358. package/src/pages/remote/remote.module.d.ts +10 -0
  359. package/src/pages/remote/remote.types.d.ts +4 -0
  360. package/src/pages/shopping-cart/shopping-cart.component.d.ts +32 -0
  361. package/src/pages/shopping-cart/shopping-cart.module.d.ts +10 -0
  362. package/src/resolvers/flow.resolver.d.ts +16 -0
  363. package/src/resolvers/quote.resolver.d.ts +20 -0
  364. package/src/services/doc-gen.service.d.ts +13 -0
  365. package/src/services/flow-dialog.service.d.ts +26 -0
  366. package/src/services/flow-router.service.d.ts +35 -0
  367. package/src/services/flow.service.d.ts +17 -0
  368. package/src/services/index.d.ts +1 -0
  369. package/src/types/context-route.types.d.ts +5 -0
  370. package/src/types/flow-customization.types.d.ts +11 -0
  371. package/src/types/index.d.ts +2 -0
  372. package/src/types/route.types.d.ts +9 -0
  373. package/src/utils/flow.utils.d.ts +8 -0
  374. package/src/utils/index.d.ts +1 -0
  375. package/veloceapps-sdk.d.ts +5 -0
@@ -0,0 +1,36 @@
1
+ import { AfterViewInit, OnChanges, OnDestroy, SimpleChanges } from '@angular/core';
2
+ import { FormGroup } from '@angular/forms';
3
+ import { FlowConfigurationService, ProductImagesService, QuoteDraftService } from '@veloceapps/sdk/core';
4
+ import { OverlayPanel } from 'primeng/overlaypanel';
5
+ import { Observable } from 'rxjs';
6
+ import { FlowRouterService } from '../../../services/flow-router.service';
7
+ import { HeaderProduct } from '../header.types';
8
+ import * as i0 from "@angular/core";
9
+ export declare class CartPreviewComponent implements OnChanges, AfterViewInit, OnDestroy {
10
+ private flowConfiguration;
11
+ private routerService;
12
+ private productImagesService;
13
+ private quoteDraftService;
14
+ overlayPanel: OverlayPanel;
15
+ products: HeaderProduct[];
16
+ readonly productRowHeight = 97;
17
+ form: FormGroup;
18
+ lockedProductId$: Observable<string | null>;
19
+ isEditMode$: Observable<boolean>;
20
+ hasTermInProducts: boolean;
21
+ scrollHeight: number;
22
+ private shouldUpdate$;
23
+ private destroyed$;
24
+ constructor(flowConfiguration: FlowConfigurationService, routerService: FlowRouterService, productImagesService: ProductImagesService, quoteDraftService: QuoteDraftService);
25
+ ngOnChanges(changes: SimpleChanges): void;
26
+ ngAfterViewInit(): void;
27
+ ngOnDestroy(): void;
28
+ getImageUrl(productId: string): Observable<string | null>;
29
+ navigateToProductConfiguration(productId: string, lineItemId: string): void;
30
+ controlBlurHandler(product: HeaderProduct): void;
31
+ deleteHandler(product: HeaderProduct): void;
32
+ deleteAllHandler(): void;
33
+ private updateControls;
34
+ static ɵfac: i0.ɵɵFactoryDeclaration<CartPreviewComponent, never>;
35
+ static ɵcmp: i0.ɵɵComponentDeclaration<CartPreviewComponent, "vl-cart-preview", never, { "products": "products"; }, {}, never, never>;
36
+ }
@@ -0,0 +1,14 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./cart-preview.component";
3
+ import * as i2 from "@angular/common";
4
+ import * as i3 from "@angular/forms";
5
+ import * as i4 from "primeng/button";
6
+ import * as i5 from "primeng/overlaypanel";
7
+ import * as i6 from "@veloceapps/components";
8
+ import * as i7 from "primeng/inputnumber";
9
+ import * as i8 from "primeng/virtualscroller";
10
+ export declare class CartPreviewModule {
11
+ static ɵfac: i0.ɵɵFactoryDeclaration<CartPreviewModule, never>;
12
+ static ɵmod: i0.ɵɵNgModuleDeclaration<CartPreviewModule, [typeof i1.CartPreviewComponent], [typeof i2.CommonModule, typeof i3.ReactiveFormsModule, typeof i4.ButtonModule, typeof i5.OverlayPanelModule, typeof i6.LetDirectiveModule, typeof i7.InputNumberModule, typeof i8.VirtualScrollerModule], [typeof i1.CartPreviewComponent]>;
13
+ static ɵinj: i0.ɵɵInjectorDeclaration<CartPreviewModule>;
14
+ }
@@ -0,0 +1,63 @@
1
+ import { OnDestroy, OnInit } from '@angular/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
+ import { MenuItem } from 'primeng/api';
7
+ import { BehaviorSubject, Observable } from 'rxjs';
8
+ import { FlowDialogService } from '../../services/flow-dialog.service';
9
+ import { FlowRouterService } from '../../services/flow-router.service';
10
+ import { CartPreviewComponent } from './cart-overlay/cart-preview.component';
11
+ import { HeaderObjectDetails, HeaderProduct } from './header.types';
12
+ import * as i0 from "@angular/core";
13
+ export declare class FlowHeaderComponent implements OnInit, OnDestroy {
14
+ private contextService;
15
+ private quoteDraftService;
16
+ private quoteApiService;
17
+ private sfApiService;
18
+ private flowConfiguration;
19
+ private routerService;
20
+ private dialogService;
21
+ private integrationState;
22
+ objectName: string;
23
+ contextProperties: ContextProperties;
24
+ assetPriceLists: PriceList[];
25
+ activePriceList$: Observable<PriceList | null>;
26
+ isReadonlyMode$: Observable<boolean>;
27
+ status$: Observable<string>;
28
+ objectDetails$: BehaviorSubject<HeaderObjectDetails>;
29
+ products$: Observable<HeaderProduct[]>;
30
+ isConfigurationRoute$: Observable<boolean>;
31
+ isCartRoute$: Observable<boolean>;
32
+ isCatalogRoute$: Observable<boolean>;
33
+ isEditMode$: Observable<boolean>;
34
+ isSaveInProgress$: BehaviorSubject<boolean>;
35
+ isSubmitInProgress$: BehaviorSubject<boolean>;
36
+ totalMRR$: Observable<string>;
37
+ totalNRR$: Observable<string>;
38
+ private mode?;
39
+ private destroyed$;
40
+ constructor(contextService: ContextService, quoteDraftService: QuoteDraftService, quoteApiService: QuoteApiService, sfApiService: SalesforceApiService, flowConfiguration: FlowConfigurationService, routerService: FlowRouterService, dialogService: FlowDialogService, integrationState: IntegrationState);
41
+ ngOnInit(): void;
42
+ ngOnDestroy(): void;
43
+ get isAccountMode(): boolean;
44
+ get isQuoteMode(): boolean;
45
+ getSplitButtonActions(isCartRoute: boolean): MenuItem[];
46
+ back(objectId?: string): void;
47
+ getSalesforceObjectLink(objectId?: string): string;
48
+ navigateToShoppingCart(): void;
49
+ navigateToCatalog(): void;
50
+ docGenButtonClickHandler(isCartRoute: boolean): void;
51
+ saveButtonClickHandler(isCartRoute: boolean): void;
52
+ submitButtonClickHandler(isCartRoute: boolean): void;
53
+ selectPriceList(priceListId: string): void;
54
+ toggleCartOverlay(cart: CartPreviewComponent, event: Event): void;
55
+ private saveQuote$;
56
+ private queryName$;
57
+ private populateObjectDetails;
58
+ private formatMetric;
59
+ private generateProducts;
60
+ private isReadonlyMode;
61
+ static ɵfac: i0.ɵɵFactoryDeclaration<FlowHeaderComponent, never>;
62
+ static ɵcmp: i0.ɵɵComponentDeclaration<FlowHeaderComponent, "vl-flow-header", never, {}, {}, never, never>;
63
+ }
@@ -0,0 +1,14 @@
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
+ export declare class FlowHeaderModule {
11
+ static ɵfac: i0.ɵɵFactoryDeclaration<FlowHeaderModule, never>;
12
+ 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 i1.FlowHeaderComponent]>;
13
+ static ɵinj: i0.ɵɵInjectorDeclaration<FlowHeaderModule>;
14
+ }
@@ -0,0 +1,20 @@
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
+ }
@@ -0,0 +1 @@
1
+ export declare const VELOCE_FLOW_ROOT_ROUTE = "VELOCE_FLOW_ROOT_ROUTE";
@@ -0,0 +1,13 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "@angular/router";
3
+ import * as i2 from "./pages/product/product.module";
4
+ import * as i3 from "./pages/legacy-product/legacy-product.module";
5
+ import * as i4 from "./pages/shopping-cart/shopping-cart.module";
6
+ import * as i5 from "./pages/catalog/catalog.module";
7
+ import * as i6 from "./pages/remote/remote.module";
8
+ import * as i7 from "./pages/empty-account/empty-account.module";
9
+ export declare class FlowRoutingModule {
10
+ static ɵfac: i0.ɵɵFactoryDeclaration<FlowRoutingModule, never>;
11
+ static ɵmod: i0.ɵɵNgModuleDeclaration<FlowRoutingModule, never, [typeof i1.RouterModule, typeof i2.ProductModule, typeof i3.LegacyProductModule, typeof i4.ShoppingCartModule, typeof i5.CatalogModule, typeof i6.RemoteModule, typeof i7.EmptyAccountModule], [typeof i1.RouterModule]>;
12
+ static ɵinj: i0.ɵɵInjectorDeclaration<FlowRoutingModule>;
13
+ }
@@ -0,0 +1,23 @@
1
+ import { OnDestroy, OnInit } from '@angular/core';
2
+ import { IntegrationState } from '@veloceapps/sdk/cms';
3
+ import { QuoteDraftService } from '@veloceapps/sdk/core';
4
+ import { Observable } from 'rxjs';
5
+ import { FlowService } from './services';
6
+ import { FlowDocGenService } from './services/doc-gen.service';
7
+ import { FlowRouterService } from './services/flow-router.service';
8
+ import * as i0 from "@angular/core";
9
+ export declare class FlowComponent implements OnInit, OnDestroy {
10
+ private routerService;
11
+ private quoteDraftService;
12
+ private flowService;
13
+ private docGenService;
14
+ private integrationState;
15
+ isLoading$: Observable<boolean>;
16
+ showHeader$: Observable<boolean>;
17
+ isStandalone$: Observable<boolean>;
18
+ constructor(routerService: FlowRouterService, quoteDraftService: QuoteDraftService, flowService: FlowService, docGenService: FlowDocGenService, integrationState: IntegrationState);
19
+ ngOnInit(): void;
20
+ ngOnDestroy(): void;
21
+ static ɵfac: i0.ɵɵFactoryDeclaration<FlowComponent, never>;
22
+ static ɵcmp: i0.ɵɵComponentDeclaration<FlowComponent, "vl-flow", never, {}, {}, never, never>;
23
+ }
@@ -0,0 +1,16 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./flow.component";
3
+ import * as i2 from "@angular/common";
4
+ import * as i3 from "./flow-routing.module";
5
+ import * as i4 from "@veloceapps/api";
6
+ import * as i5 from "@veloceapps/sdk/cms";
7
+ import * as i6 from "@veloceapps/components";
8
+ import * as i7 from "./components/header/header.module";
9
+ import * as i8 from "./components/dialog/dialog.module";
10
+ import * as i9 from "@veloceapps/sdk/core";
11
+ import * as i10 from "./components/doc-gen/doc-gen.module";
12
+ export declare class FlowModule {
13
+ static ɵfac: i0.ɵɵFactoryDeclaration<FlowModule, never>;
14
+ static ɵmod: i0.ɵɵNgModuleDeclaration<FlowModule, [typeof i1.FlowComponent], [typeof i2.CommonModule, typeof i3.FlowRoutingModule, typeof i4.ApiModule, typeof i5.LauncherModule, typeof i6.LoaderModule, typeof i7.FlowHeaderModule, typeof i8.FlowDialogModule, typeof i9.SdkCoreModule, typeof i10.DocGenModule, typeof i6.LetDirectiveModule], never>;
15
+ static ɵinj: i0.ɵɵInjectorDeclaration<FlowModule>;
16
+ }
@@ -0,0 +1,19 @@
1
+ import { ActivatedRouteSnapshot, CanActivate, CanActivateChild, Router } from '@angular/router';
2
+ import { ContextService } from '@veloceapps/sdk/core';
3
+ import { Observable } from 'rxjs';
4
+ import { FlowRouterService } from '../services/flow-router.service';
5
+ import * as i0 from "@angular/core";
6
+ export declare class ContextGuard implements CanActivate, CanActivateChild {
7
+ private router;
8
+ private routerService;
9
+ private contextService;
10
+ constructor(router: Router, routerService: FlowRouterService, contextService: ContextService);
11
+ checkActivation(route: ActivatedRouteSnapshot): Observable<boolean>;
12
+ canActivate(route: ActivatedRouteSnapshot): Observable<boolean> | Promise<boolean> | boolean;
13
+ canActivateChild(childRoute: ActivatedRouteSnapshot): Observable<boolean> | Promise<boolean> | boolean;
14
+ private get rpcMessageId();
15
+ private getConfigurationContextMode;
16
+ private handleError;
17
+ static ɵfac: i0.ɵɵFactoryDeclaration<ContextGuard, never>;
18
+ static ɵprov: i0.ɵɵInjectableDeclaration<ContextGuard>;
19
+ }
@@ -0,0 +1 @@
1
+ export * from './context.guard';
@@ -0,0 +1,16 @@
1
+ import { Component } from '@angular/core';
2
+ import { ActivatedRouteSnapshot, CanDeactivate, Router, RouterStateSnapshot } from '@angular/router';
3
+ import { ConfigurationService, ContextService, QuoteDraftService } from '@veloceapps/sdk/core';
4
+ import { FlowDialogService } from '../services/flow-dialog.service';
5
+ import * as i0 from "@angular/core";
6
+ export declare class ProductUnloadGuard implements CanDeactivate<any> {
7
+ private router;
8
+ private contextService;
9
+ private quoteDraftService;
10
+ private configurationService;
11
+ private flowDialogService;
12
+ constructor(router: Router, contextService: ContextService, quoteDraftService: QuoteDraftService, configurationService: ConfigurationService, flowDialogService: FlowDialogService);
13
+ canDeactivate(_: Component, route: ActivatedRouteSnapshot, currentState: RouterStateSnapshot, nextState?: RouterStateSnapshot): import("rxjs").Observable<boolean>;
14
+ static ɵfac: i0.ɵɵFactoryDeclaration<ProductUnloadGuard, never>;
15
+ static ɵprov: i0.ɵɵInjectableDeclaration<ProductUnloadGuard>;
16
+ }
@@ -0,0 +1,15 @@
1
+ import { ActivatedRouteSnapshot, CanActivate, CanDeactivate, Router } from '@angular/router';
2
+ import { Observable } from 'rxjs';
3
+ import { FlowRouterService } from '../services/flow-router.service';
4
+ import * as i0 from "@angular/core";
5
+ export declare class RootGuard implements CanActivate, CanDeactivate<any> {
6
+ private router;
7
+ private routerService;
8
+ private initialized;
9
+ private navToRestore;
10
+ constructor(router: Router, routerService: FlowRouterService);
11
+ canActivate(route: ActivatedRouteSnapshot): Observable<boolean> | Promise<boolean> | boolean;
12
+ canDeactivate(): boolean;
13
+ static ɵfac: i0.ɵɵFactoryDeclaration<RootGuard, never>;
14
+ static ɵprov: i0.ɵɵInjectableDeclaration<RootGuard>;
15
+ }
package/src/index.d.ts ADDED
@@ -0,0 +1,6 @@
1
+ export * from './constants';
2
+ export * from './flow.module';
3
+ export * from './guards';
4
+ export * from './services';
5
+ export * from './types';
6
+ export * from './utils';
@@ -0,0 +1,32 @@
1
+ import { ChangeDetectorRef, OnDestroy, OnInit } from '@angular/core';
2
+ import { UITemplatesApiService } from '@veloceapps/api';
3
+ import { ToastService } from '@veloceapps/components';
4
+ import { ContextService, UIDefinition } from '@veloceapps/sdk/core';
5
+ import { BehaviorSubject } from 'rxjs';
6
+ import { FlowCustomization } from '../../types';
7
+ import * as i0 from "@angular/core";
8
+ interface State {
9
+ loading: boolean;
10
+ failure: boolean;
11
+ }
12
+ export declare class CatalogComponent implements OnInit, OnDestroy {
13
+ private templatesApi;
14
+ private contextService;
15
+ private cdr;
16
+ private toastService;
17
+ private customizationService?;
18
+ uiDefinition?: UIDefinition;
19
+ state$: BehaviorSubject<State>;
20
+ private templateApiName;
21
+ private destroyed$;
22
+ constructor(templatesApi: UITemplatesApiService, contextService: ContextService, cdr: ChangeDetectorRef, toastService: ToastService, customizationService?: FlowCustomization | undefined);
23
+ ngOnInit(): void;
24
+ ngOnDestroy(): void;
25
+ private getTemplateRootComponent$;
26
+ private getLocalCatalogComponentMeta$;
27
+ private getCatalogComponentMeta$;
28
+ private generateUIDefinition$;
29
+ static ɵfac: i0.ɵɵFactoryDeclaration<CatalogComponent, [null, null, null, null, { optional: true; }]>;
30
+ static ɵcmp: i0.ɵɵComponentDeclaration<CatalogComponent, "vl-flow-catalog", never, {}, {}, never, never>;
31
+ }
32
+ export {};
@@ -0,0 +1,10 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./catalog.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 CatalogModule {
7
+ static ɵfac: i0.ɵɵFactoryDeclaration<CatalogModule, never>;
8
+ static ɵmod: i0.ɵɵNgModuleDeclaration<CatalogModule, [typeof i1.CatalogComponent], [typeof i2.CommonModule, typeof i3.PreviewModule, typeof i4.LoaderModule], [typeof i1.CatalogComponent]>;
9
+ static ɵinj: i0.ɵɵInjectorDeclaration<CatalogModule>;
10
+ }
@@ -0,0 +1,25 @@
1
+ import { FormGroup } from '@angular/forms';
2
+ import { ActivatedRoute, Router } from '@angular/router';
3
+ import { FlowsApiService } from '@veloceapps/api';
4
+ import { FlowProperties } from '@veloceapps/core';
5
+ import { ContextService, QuoteDraftService } from '@veloceapps/sdk/core';
6
+ import { Observable } from 'rxjs';
7
+ import * as i0 from "@angular/core";
8
+ interface FlowPropertiesExt extends FlowProperties {
9
+ queryParamsStr: string;
10
+ }
11
+ export declare class DebugComponent {
12
+ private flowsApiService;
13
+ private router;
14
+ private activatedRoute;
15
+ private context;
16
+ private quoteDraftService;
17
+ form: FormGroup;
18
+ selectedFlow?: FlowPropertiesExt;
19
+ flows$: Observable<FlowPropertiesExt[]>;
20
+ constructor(flowsApiService: FlowsApiService, router: Router, activatedRoute: ActivatedRoute, context: ContextService, quoteDraftService: QuoteDraftService);
21
+ runFlow(): void;
22
+ static ɵfac: i0.ɵɵFactoryDeclaration<DebugComponent, never>;
23
+ static ɵcmp: i0.ɵɵComponentDeclaration<DebugComponent, "vl-flow-debug", never, {}, {}, never, never>;
24
+ }
25
+ export {};
@@ -0,0 +1,14 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./debug.component";
3
+ import * as i2 from "@angular/common";
4
+ import * as i3 from "@angular/forms";
5
+ import * as i4 from "@angular/router";
6
+ import * as i5 from "primeng/radiobutton";
7
+ import * as i6 from "primeng/button";
8
+ import * as i7 from "primeng/inputtext";
9
+ import * as i8 from "primeng/dropdown";
10
+ export declare class DebugModule {
11
+ static ɵfac: i0.ɵɵFactoryDeclaration<DebugModule, never>;
12
+ static ɵmod: i0.ɵɵNgModuleDeclaration<DebugModule, [typeof i1.DebugComponent], [typeof i2.CommonModule, typeof i3.FormsModule, typeof i3.ReactiveFormsModule, typeof i4.RouterModule, typeof i5.RadioButtonModule, typeof i6.ButtonModule, typeof i7.InputTextModule, typeof i8.DropdownModule], never>;
13
+ static ɵinj: i0.ɵɵInjectorDeclaration<DebugModule>;
14
+ }
@@ -0,0 +1,5 @@
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>;
5
+ }
@@ -0,0 +1,10 @@
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
+ }
@@ -0,0 +1,37 @@
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>;
37
+ }
@@ -0,0 +1,10 @@
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
+ import * as i4 from "ngx-bootstrap/tooltip";
6
+ export declare class LegacyProductModule {
7
+ static ɵfac: i0.ɵɵFactoryDeclaration<LegacyProductModule, never>;
8
+ static ɵmod: i0.ɵɵNgModuleDeclaration<LegacyProductModule, [typeof i1.LegacyProductComponent], [typeof i2.CommonModule, typeof i3.RuntimeModule, typeof i4.TooltipModule], [typeof i1.LegacyProductComponent]>;
9
+ static ɵinj: i0.ɵɵInjectorDeclaration<LegacyProductModule>;
10
+ }
@@ -0,0 +1,32 @@
1
+ import { OnDestroy, OnInit } from '@angular/core';
2
+ import { ConfigurationRuntimeService, ConfigurationService, ContextService, QuoteDraftService, UIDefinition } from '@veloceapps/sdk/core';
3
+ import { MessageService } from 'primeng/api';
4
+ import { BehaviorSubject } from 'rxjs';
5
+ import { FlowCustomization } from '../../types/flow-customization.types';
6
+ import * as i0 from "@angular/core";
7
+ interface State {
8
+ loading: boolean;
9
+ failure: boolean;
10
+ }
11
+ export declare class ProductComponent implements OnInit, OnDestroy {
12
+ private contextService;
13
+ private runtimeService;
14
+ private configurationService;
15
+ private quoteDraftService;
16
+ private messageService;
17
+ private customizationService?;
18
+ private destroy$;
19
+ uiDefinition?: UIDefinition;
20
+ state$: BehaviorSubject<State>;
21
+ constructor(contextService: ContextService, runtimeService: ConfigurationRuntimeService, configurationService: ConfigurationService, quoteDraftService: QuoteDraftService, messageService: MessageService, customizationService?: FlowCustomization | undefined);
22
+ ngOnInit(): void;
23
+ ngOnDestroy(): void;
24
+ private customize;
25
+ private init;
26
+ private throwIfNoUIDefinition;
27
+ private getLineItemId;
28
+ private getAsset;
29
+ static ɵfac: i0.ɵɵFactoryDeclaration<ProductComponent, [null, null, null, null, null, { optional: true; }]>;
30
+ static ɵcmp: i0.ɵɵComponentDeclaration<ProductComponent, "vl-flow-product", never, {}, {}, never, never>;
31
+ }
32
+ export {};
@@ -0,0 +1,10 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./product.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 ProductModule {
7
+ static ɵfac: i0.ɵɵFactoryDeclaration<ProductModule, never>;
8
+ static ɵmod: i0.ɵɵNgModuleDeclaration<ProductModule, [typeof i1.ProductComponent], [typeof i2.CommonModule, typeof i3.PreviewModule, typeof i4.LoaderModule], [typeof i1.ProductComponent]>;
9
+ static ɵinj: i0.ɵɵInjectorDeclaration<ProductModule>;
10
+ }
@@ -0,0 +1,11 @@
1
+ import { ActivatedRoute, Router } from '@angular/router';
2
+ import * as i0 from "@angular/core";
3
+ export declare class RecordNotFoundComponent {
4
+ private router;
5
+ private route;
6
+ message: string;
7
+ subMessage: string;
8
+ constructor(router: Router, route: ActivatedRoute);
9
+ static ɵfac: i0.ɵɵFactoryDeclaration<RecordNotFoundComponent, never>;
10
+ static ɵcmp: i0.ɵɵComponentDeclaration<RecordNotFoundComponent, "vl-flow-record-not-found", never, {}, {}, never, never>;
11
+ }
@@ -0,0 +1,9 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./record-not-found.component";
3
+ import * as i2 from "@angular/common";
4
+ import * as i3 from "@angular/router";
5
+ export declare class RecordNotFoundModule {
6
+ static ɵfac: i0.ɵɵFactoryDeclaration<RecordNotFoundModule, never>;
7
+ static ɵmod: i0.ɵɵNgModuleDeclaration<RecordNotFoundModule, [typeof i1.RecordNotFoundComponent], [typeof i2.CommonModule, typeof i3.RouterModule], never>;
8
+ static ɵinj: i0.ɵɵInjectorDeclaration<RecordNotFoundModule>;
9
+ }
@@ -0,0 +1,47 @@
1
+ import { Location } from '@angular/common';
2
+ import { OnDestroy } from '@angular/core';
3
+ import { QuoteApiService } from '@veloceapps/api';
4
+ import { IntegrationState } from '@veloceapps/sdk/cms';
5
+ import { ConfigurationRuntimeService, ConfigurationService, ContextService, QuoteDraftService, UIDefinition } from '@veloceapps/sdk/core';
6
+ import { MessageService } from 'primeng/api';
7
+ import { BehaviorSubject } from 'rxjs';
8
+ import * as i0 from "@angular/core";
9
+ interface State {
10
+ loading: boolean;
11
+ failure: boolean;
12
+ }
13
+ export declare class RemoteComponent implements OnDestroy {
14
+ private contextService;
15
+ private quoteDraftService;
16
+ private quoteApiService;
17
+ private runtimeService;
18
+ private configurationService;
19
+ private messageService;
20
+ private integrationState;
21
+ private location;
22
+ uiDefinition?: UIDefinition;
23
+ state$: BehaviorSubject<State>;
24
+ private readonly DYNAMIC_OPTION_PRODUCTS_KEY;
25
+ private rpcMessage;
26
+ private destroyed$;
27
+ constructor(contextService: ContextService, quoteDraftService: QuoteDraftService, quoteApiService: QuoteApiService, runtimeService: ConfigurationRuntimeService, configurationService: ConfigurationService, messageService: MessageService, integrationState: IntegrationState, location: Location);
28
+ ngOnDestroy(): void;
29
+ private initConfiguration;
30
+ private throwIfNoUIDefinition;
31
+ private initSubscriptions;
32
+ private createLineItem;
33
+ private createRootLineItem;
34
+ private toParentChildMap;
35
+ private saveRpcMessage;
36
+ private updateHasChildrenFlag;
37
+ private flattenChildLineItems;
38
+ private updateContentData;
39
+ private computeNetPrice;
40
+ private getChargeNameSet;
41
+ private sumNetPrice;
42
+ private mapAttributesTo;
43
+ private getOptionConfigurations;
44
+ static ɵfac: i0.ɵɵFactoryDeclaration<RemoteComponent, never>;
45
+ static ɵcmp: i0.ɵɵComponentDeclaration<RemoteComponent, "vl-flow-remote", never, {}, {}, never, never>;
46
+ }
47
+ export {};
@@ -0,0 +1,10 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./remote.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 RemoteModule {
7
+ static ɵfac: i0.ɵɵFactoryDeclaration<RemoteModule, never>;
8
+ static ɵmod: i0.ɵɵNgModuleDeclaration<RemoteModule, [typeof i1.RemoteComponent], [typeof i2.CommonModule, typeof i3.PreviewModule, typeof i4.LoaderModule], [typeof i1.RemoteComponent]>;
9
+ static ɵinj: i0.ɵɵInjectorDeclaration<RemoteModule>;
10
+ }
@@ -0,0 +1,4 @@
1
+ import { LineItem } from '@veloceapps/core';
2
+ export interface LineItemWithParent extends LineItem {
3
+ parentLineItem?: LineItem;
4
+ }
@@ -0,0 +1,32 @@
1
+ import { ChangeDetectorRef, OnDestroy, OnInit } from '@angular/core';
2
+ import { UITemplatesApiService } from '@veloceapps/api';
3
+ import { ToastService } from '@veloceapps/components';
4
+ import { ContextService, UIDefinition } from '@veloceapps/sdk/core';
5
+ import { BehaviorSubject } from 'rxjs';
6
+ import { FlowCustomization } from '../../types';
7
+ import * as i0 from "@angular/core";
8
+ interface State {
9
+ loading: boolean;
10
+ failure: boolean;
11
+ }
12
+ export declare class ShoppingCartComponent implements OnInit, OnDestroy {
13
+ private templatesApi;
14
+ private contextService;
15
+ private cdr;
16
+ private toastService;
17
+ private customizationService?;
18
+ uiDefinition?: UIDefinition;
19
+ state$: BehaviorSubject<State>;
20
+ private templateApiName;
21
+ private destroyed$;
22
+ constructor(templatesApi: UITemplatesApiService, contextService: ContextService, cdr: ChangeDetectorRef, toastService: ToastService, customizationService?: FlowCustomization | undefined);
23
+ ngOnInit(): void;
24
+ ngOnDestroy(): void;
25
+ private getTemplateRootComponent$;
26
+ private getLocalShoppingCartComponentMeta$;
27
+ private getShoppingCartComponentMeta$;
28
+ private generateUIDefinition$;
29
+ static ɵfac: i0.ɵɵFactoryDeclaration<ShoppingCartComponent, [null, null, null, null, { optional: true; }]>;
30
+ static ɵcmp: i0.ɵɵComponentDeclaration<ShoppingCartComponent, "vl-flow-shopping-cart", never, {}, {}, never, never>;
31
+ }
32
+ export {};
@@ -0,0 +1,10 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./shopping-cart.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 ShoppingCartModule {
7
+ static ɵfac: i0.ɵɵFactoryDeclaration<ShoppingCartModule, never>;
8
+ static ɵmod: i0.ɵɵNgModuleDeclaration<ShoppingCartModule, [typeof i1.ShoppingCartComponent], [typeof i2.CommonModule, typeof i3.PreviewModule, typeof i4.LoaderModule], [typeof i1.ShoppingCartComponent]>;
9
+ static ɵinj: i0.ɵɵInjectorDeclaration<ShoppingCartModule>;
10
+ }
@@ -0,0 +1,16 @@
1
+ import { ActivatedRouteSnapshot, Resolve, Router } from '@angular/router';
2
+ import { FlowsApiService } from '@veloceapps/api';
3
+ import { ContextService } from '@veloceapps/sdk/core';
4
+ import { FlowRouterService } from '../services/flow-router.service';
5
+ import * as i0 from "@angular/core";
6
+ export declare class FlowResolver implements Resolve<Promise<boolean>> {
7
+ private router;
8
+ private flowsApiService;
9
+ private routerService;
10
+ private contextService;
11
+ constructor(router: Router, flowsApiService: FlowsApiService, routerService: FlowRouterService, contextService: ContextService);
12
+ private handleError;
13
+ resolve(route: ActivatedRouteSnapshot): Promise<boolean> | import("rxjs").Observable<Promise<boolean>>;
14
+ static ɵfac: i0.ɵɵFactoryDeclaration<FlowResolver, never>;
15
+ static ɵprov: i0.ɵɵInjectableDeclaration<FlowResolver>;
16
+ }