@veloceapps/sdk 12.0.0-18 → 12.0.0-19

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 (348) hide show
  1. package/cms/cms.actions.d.ts +154 -0
  2. package/cms/cms.default.d.ts +5 -0
  3. package/cms/cms.elements.d.ts +4 -0
  4. package/cms/cms.layouts.d.ts +4 -0
  5. package/cms/components/element-children/element-children.component.d.ts +22 -0
  6. package/cms/components/element-children/element-children.module.d.ts +11 -0
  7. package/cms/components/element-drop-handle/element-drop-handle.component.d.ts +12 -0
  8. package/cms/components/element-drop-handle/element-drop-handle.module.d.ts +9 -0
  9. package/cms/components/element-renderer/element-renderer.component.d.ts +29 -0
  10. package/cms/components/element-renderer/element-renderer.module.d.ts +7 -0
  11. package/cms/components/element-tools-panel/element-tools-panel.component.d.ts +14 -0
  12. package/cms/components/element.component.d.ts +17 -0
  13. package/cms/components/index.d.ts +1 -0
  14. package/cms/components/plugin.component.d.ts +15 -0
  15. package/cms/components/preview/index.d.ts +3 -0
  16. package/cms/components/preview/preview.component.d.ts +32 -0
  17. package/cms/components/preview/preview.module.d.ts +13 -0
  18. package/cms/components/preview/preview.types.d.ts +20 -0
  19. package/cms/decorators/element.decorator.d.ts +2 -0
  20. package/cms/decorators/index.d.ts +1 -0
  21. package/cms/definitions/index.d.ts +1 -0
  22. package/cms/definitions/ui-builder.definitions.d.ts +6 -0
  23. package/cms/directives/custom-template.directive.d.ts +17 -0
  24. package/cms/engine/models/entity.d.ts +11 -0
  25. package/cms/engine/models/plugin.d.ts +5 -0
  26. package/cms/index.d.ts +15 -921
  27. package/cms/injection-tokens.d.ts +9 -0
  28. package/cms/launcher.module.d.ts +12 -0
  29. package/cms/modules/federated/default-options.d.ts +4 -0
  30. package/cms/modules/federated/export.d.ts +1 -0
  31. package/cms/modules/federated/federated-host.directive.d.ts +8 -0
  32. package/cms/modules/federated/federated.component.d.ts +25 -0
  33. package/cms/modules/federated/federated.module.d.ts +10 -0
  34. package/cms/modules/federated/federated.types.d.ts +26 -0
  35. package/cms/modules/migrations/index.d.ts +2 -0
  36. package/cms/modules/migrations/migrations.d.ts +2 -0
  37. package/cms/modules/migrations/migrations.module.d.ts +6 -0
  38. package/cms/modules/migrations/services/migrations.service.d.ts +10 -0
  39. package/cms/modules/migrations/types/migrations.types.d.ts +2 -0
  40. package/cms/modules/runtime/index.d.ts +3 -0
  41. package/cms/modules/runtime/runtime.module.d.ts +8 -0
  42. package/cms/modules/runtime/services/compilation.service.d.ts +19 -0
  43. package/cms/modules/runtime/services/runtime-editor.service.d.ts +20 -0
  44. package/cms/modules/runtime/services/runtime.service.d.ts +33 -0
  45. package/cms/modules/runtime/tokens.d.ts +3 -0
  46. package/cms/modules/runtime/types/compilation.types.d.ts +8 -0
  47. package/cms/modules/runtime/types/runtime.actions.d.ts +12 -0
  48. package/cms/plugins/element-hover.plugin.d.ts +33 -0
  49. package/cms/plugins/io.plugin.d.ts +9 -0
  50. package/cms/plugins/page.plugin.d.ts +15 -0
  51. package/cms/plugins/region.plugin.d.ts +17 -0
  52. package/cms/plugins/script.plugin.d.ts +10 -0
  53. package/cms/services/element-context.service.d.ts +7 -0
  54. package/cms/services/index.d.ts +2 -0
  55. package/cms/services/io-provider.service.d.ts +15 -0
  56. package/cms/services/resources.service.d.ts +21 -0
  57. package/cms/services/templates.service.d.ts +14 -0
  58. package/cms/types/common.types.d.ts +130 -0
  59. package/cms/types/elements.types.d.ts +2 -0
  60. package/cms/types/index.d.ts +6 -0
  61. package/cms/types/layouts.types.d.ts +102 -0
  62. package/cms/types/pages.types.d.ts +1 -0
  63. package/cms/types/path.types.d.ts +11 -0
  64. package/cms/utils/element-metadata-worker.d.ts +11 -0
  65. package/cms/utils/element.utils.d.ts +20 -0
  66. package/cms/utils/elements-resolver.d.ts +28 -0
  67. package/cms/utils/encoding.utils.d.ts +2 -0
  68. package/cms/utils/index.d.ts +9 -0
  69. package/cms/utils/inject.d.ts +1 -0
  70. package/cms/utils/path.utils.d.ts +3 -0
  71. package/cms/utils/script.utils.d.ts +2 -0
  72. package/cms/utils/transpilation-worker.d.ts +13 -0
  73. package/cms/utils/ui-builder-layout.utils.d.ts +4 -0
  74. package/cms/utils/ui-definition.utils.d.ts +6 -0
  75. package/cms/vendor-map.d.ts +86 -0
  76. package/core/core.module.d.ts +10 -0
  77. package/core/directives/directives.module.d.ts +7 -0
  78. package/core/directives/index.d.ts +2 -0
  79. package/core/directives/primeng-calendar.directive.d.ts +14 -0
  80. package/core/index.d.ts +8 -527
  81. package/core/modules/configuration/configuration.module.d.ts +8 -0
  82. package/core/modules/configuration/index.d.ts +6 -0
  83. package/core/modules/configuration/services/configuration-runtime.service.d.ts +17 -0
  84. package/core/modules/configuration/services/configuration-state.service.d.ts +60 -0
  85. package/core/modules/configuration/services/configuration.service.d.ts +36 -0
  86. package/core/modules/configuration/services/guided-selling.service.d.ts +15 -0
  87. package/core/modules/configuration/services/test-mode-configuration.service.d.ts +26 -0
  88. package/core/modules/configuration/types/configuration-runtime.types.d.ts +3 -0
  89. package/core/modules/configuration/types/configuration.types.d.ts +20 -0
  90. package/core/modules/configuration/types/index.d.ts +2 -0
  91. package/core/modules/flow-configuration/flow-configuration.module.d.ts +7 -0
  92. package/core/modules/flow-configuration/index.d.ts +1 -0
  93. package/core/modules/flow-configuration/services/flow-configuration.service.d.ts +23 -0
  94. package/core/modules/index.d.ts +2 -0
  95. package/core/operators/filter-successful-execute.operator.d.ts +3 -0
  96. package/core/operators/index.d.ts +1 -0
  97. package/core/pipes/action-code.pipe.d.ts +8 -0
  98. package/core/pipes/date.pipe.d.ts +13 -0
  99. package/core/pipes/index.d.ts +5 -0
  100. package/core/pipes/number.pipe.d.ts +10 -0
  101. package/core/pipes/pipes.module.d.ts +10 -0
  102. package/core/pipes/price.pipe.d.ts +10 -0
  103. package/core/services/catalog-products.service.d.ts +11 -0
  104. package/core/services/flow-info.service.d.ts +44 -0
  105. package/core/services/flow-state-configuration.service.d.ts +25 -0
  106. package/core/services/flow-state.service.d.ts +70 -0
  107. package/core/services/index.d.ts +8 -0
  108. package/core/services/integration.state.d.ts +16 -0
  109. package/core/services/product-images.service.d.ts +12 -0
  110. package/core/services/runtime-settings.service.d.ts +24 -0
  111. package/core/services/sales-transaction.service.d.ts +27 -0
  112. package/core/types/flow-customization.types.d.ts +10 -0
  113. package/core/types/flow-state.types.d.ts +12 -0
  114. package/core/types/formatting-settings.types.d.ts +13 -0
  115. package/core/types/index.d.ts +5 -0
  116. package/core/types/integration.types.d.ts +10 -0
  117. package/core/types/pipe.types.d.ts +1 -0
  118. package/core/types/ui-definition.types.d.ts +1 -0
  119. package/core/utils/index.d.ts +4 -0
  120. package/core/utils/pcm.utils.d.ts +5 -0
  121. package/core/utils/transaction-item.utils.d.ts +10 -0
  122. package/core/utils/transaction-item.worker.d.ts +8 -0
  123. package/core/utils/ui-definition.utils.d.ts +2 -0
  124. package/esm2020/cms/cms.actions.mjs +151 -0
  125. package/esm2020/cms/cms.default.mjs +5 -0
  126. package/esm2020/cms/cms.elements.mjs +52 -0
  127. package/esm2020/cms/cms.layouts.mjs +239 -0
  128. package/esm2020/cms/components/element-children/element-children.component.mjs +41 -0
  129. package/esm2020/cms/components/element-children/element-children.module.mjs +21 -0
  130. package/esm2020/cms/components/element-drop-handle/element-drop-handle.component.mjs +28 -0
  131. package/esm2020/cms/components/element-drop-handle/element-drop-handle.module.mjs +19 -0
  132. package/esm2020/cms/components/element-renderer/element-renderer.component.mjs +117 -0
  133. package/esm2020/cms/components/element-renderer/element-renderer.module.mjs +16 -0
  134. package/esm2020/cms/components/element-tools-panel/element-tools-panel.component.mjs +35 -0
  135. package/esm2020/cms/components/element.component.mjs +45 -0
  136. package/esm2020/cms/components/index.mjs +2 -0
  137. package/esm2020/cms/components/plugin.component.mjs +17 -0
  138. package/esm2020/cms/components/preview/index.mjs +4 -0
  139. package/esm2020/cms/components/preview/preview.component.mjs +75 -0
  140. package/esm2020/cms/components/preview/preview.module.mjs +42 -0
  141. package/esm2020/cms/components/preview/preview.types.mjs +2 -0
  142. package/esm2020/cms/decorators/element.decorator.mjs +6 -0
  143. package/esm2020/cms/decorators/index.mjs +2 -0
  144. package/esm2020/cms/definitions/index.mjs +2 -0
  145. package/esm2020/cms/definitions/ui-builder.definitions.mjs +18 -0
  146. package/esm2020/cms/directives/custom-template.directive.mjs +38 -0
  147. package/esm2020/cms/engine/models/entity.mjs +17 -0
  148. package/esm2020/cms/engine/models/plugin.mjs +6 -0
  149. package/esm2020/cms/index.mjs +16 -0
  150. package/esm2020/cms/injection-tokens.mjs +7 -0
  151. package/esm2020/cms/launcher.module.mjs +24 -0
  152. package/esm2020/cms/modules/federated/default-options.mjs +5 -0
  153. package/esm2020/cms/modules/federated/export.mjs +2 -0
  154. package/esm2020/cms/modules/federated/federated-host.directive.mjs +16 -0
  155. package/esm2020/cms/modules/federated/federated.component.mjs +74 -0
  156. package/esm2020/cms/modules/federated/federated.module.mjs +20 -0
  157. package/esm2020/cms/modules/federated/federated.types.mjs +2 -0
  158. package/esm2020/cms/modules/migrations/index.mjs +3 -0
  159. package/esm2020/cms/modules/migrations/migrations.mjs +22 -0
  160. package/esm2020/cms/modules/migrations/migrations.module.mjs +15 -0
  161. package/esm2020/cms/modules/migrations/services/migrations.service.mjs +47 -0
  162. package/esm2020/cms/modules/migrations/types/migrations.types.mjs +2 -0
  163. package/esm2020/cms/modules/runtime/index.mjs +4 -0
  164. package/esm2020/cms/modules/runtime/runtime.module.mjs +32 -0
  165. package/esm2020/cms/modules/runtime/services/compilation.service.mjs +93 -0
  166. package/esm2020/cms/modules/runtime/services/runtime-editor.service.mjs +30 -0
  167. package/esm2020/cms/modules/runtime/services/runtime.service.mjs +117 -0
  168. package/esm2020/cms/modules/runtime/tokens.mjs +3 -0
  169. package/esm2020/cms/modules/runtime/types/compilation.types.mjs +2 -0
  170. package/esm2020/cms/modules/runtime/types/runtime.actions.mjs +2 -0
  171. package/esm2020/cms/plugins/element-hover.plugin.mjs +121 -0
  172. package/esm2020/cms/plugins/io.plugin.mjs +45 -0
  173. package/esm2020/cms/plugins/page.plugin.mjs +37 -0
  174. package/esm2020/cms/plugins/region.plugin.mjs +59 -0
  175. package/esm2020/cms/plugins/script.plugin.mjs +31 -0
  176. package/esm2020/cms/services/element-context.service.mjs +10 -0
  177. package/esm2020/cms/services/index.mjs +3 -0
  178. package/esm2020/cms/services/io-provider.service.mjs +53 -0
  179. package/esm2020/cms/services/resources.service.mjs +71 -0
  180. package/esm2020/cms/services/templates.service.mjs +32 -0
  181. package/esm2020/cms/types/common.types.mjs +2 -0
  182. package/esm2020/cms/types/elements.types.mjs +2 -0
  183. package/esm2020/cms/types/index.mjs +7 -0
  184. package/esm2020/cms/types/layouts.types.mjs +71 -0
  185. package/esm2020/cms/types/pages.types.mjs +2 -0
  186. package/esm2020/cms/types/path.types.mjs +2 -0
  187. package/esm2020/cms/utils/element-metadata-worker.mjs +31 -0
  188. package/esm2020/cms/utils/element.utils.mjs +182 -0
  189. package/esm2020/cms/utils/elements-resolver.mjs +206 -0
  190. package/esm2020/cms/utils/encoding.utils.mjs +29 -0
  191. package/esm2020/cms/utils/index.mjs +10 -0
  192. package/esm2020/cms/utils/inject.mjs +27 -0
  193. package/esm2020/cms/utils/path.utils.mjs +44 -0
  194. package/esm2020/cms/utils/script.utils.mjs +46 -0
  195. package/esm2020/cms/utils/transpilation-worker.mjs +52 -0
  196. package/esm2020/cms/utils/ui-builder-layout.utils.mjs +46 -0
  197. package/esm2020/cms/utils/ui-definition.utils.mjs +85 -0
  198. package/esm2020/cms/veloceapps-sdk-cms.mjs +5 -0
  199. package/esm2020/cms/vendor-map.mjs +83 -0
  200. package/esm2020/core/core.module.mjs +54 -0
  201. package/esm2020/core/directives/directives.module.mjs +16 -0
  202. package/esm2020/core/directives/index.mjs +3 -0
  203. package/esm2020/core/directives/primeng-calendar.directive.mjs +41 -0
  204. package/esm2020/core/index.mjs +9 -0
  205. package/esm2020/core/modules/configuration/configuration.module.mjs +34 -0
  206. package/esm2020/core/modules/configuration/index.mjs +7 -0
  207. package/esm2020/core/modules/configuration/services/configuration-runtime.service.mjs +29 -0
  208. package/esm2020/core/modules/configuration/services/configuration-state.service.mjs +381 -0
  209. package/esm2020/core/modules/configuration/services/configuration.service.mjs +159 -0
  210. package/esm2020/core/modules/configuration/services/guided-selling.service.mjs +62 -0
  211. package/esm2020/core/modules/configuration/services/test-mode-configuration.service.mjs +97 -0
  212. package/esm2020/core/modules/configuration/types/configuration-runtime.types.mjs +2 -0
  213. package/esm2020/core/modules/configuration/types/configuration.types.mjs +2 -0
  214. package/esm2020/core/modules/configuration/types/index.mjs +3 -0
  215. package/esm2020/core/modules/flow-configuration/flow-configuration.module.mjs +17 -0
  216. package/esm2020/core/modules/flow-configuration/index.mjs +2 -0
  217. package/esm2020/core/modules/flow-configuration/services/flow-configuration.service.mjs +80 -0
  218. package/esm2020/core/modules/index.mjs +3 -0
  219. package/esm2020/core/operators/filter-successful-execute.operator.mjs +5 -0
  220. package/esm2020/core/operators/index.mjs +2 -0
  221. package/esm2020/core/pipes/action-code.pipe.mjs +20 -0
  222. package/esm2020/core/pipes/date.pipe.mjs +44 -0
  223. package/esm2020/core/pipes/index.mjs +6 -0
  224. package/esm2020/core/pipes/number.pipe.mjs +27 -0
  225. package/esm2020/core/pipes/pipes.module.mjs +19 -0
  226. package/esm2020/core/pipes/price.pipe.mjs +30 -0
  227. package/esm2020/core/services/catalog-products.service.mjs +25 -0
  228. package/esm2020/core/services/flow-info.service.mjs +146 -0
  229. package/esm2020/core/services/flow-state-configuration.service.mjs +120 -0
  230. package/esm2020/core/services/flow-state.service.mjs +417 -0
  231. package/esm2020/core/services/index.mjs +9 -0
  232. package/esm2020/core/services/integration.state.mjs +36 -0
  233. package/esm2020/core/services/product-images.service.mjs +30 -0
  234. package/esm2020/core/services/runtime-settings.service.mjs +112 -0
  235. package/esm2020/core/services/sales-transaction.service.mjs +67 -0
  236. package/esm2020/core/types/flow-customization.types.mjs +3 -0
  237. package/esm2020/core/types/flow-state.types.mjs +2 -0
  238. package/esm2020/core/types/formatting-settings.types.mjs +3 -0
  239. package/esm2020/core/types/index.mjs +6 -0
  240. package/esm2020/core/types/integration.types.mjs +2 -0
  241. package/esm2020/core/types/pipe.types.mjs +2 -0
  242. package/esm2020/core/types/ui-definition.types.mjs +2 -0
  243. package/esm2020/core/utils/index.mjs +5 -0
  244. package/esm2020/core/utils/pcm.utils.mjs +15 -0
  245. package/esm2020/core/utils/transaction-item.utils.mjs +144 -0
  246. package/esm2020/core/utils/transaction-item.worker.mjs +16 -0
  247. package/esm2020/core/utils/ui-definition.utils.mjs +9 -0
  248. package/esm2020/core/veloceapps-sdk-core.mjs +5 -0
  249. package/esm2020/index.mjs +2 -0
  250. package/esm2020/src/components/dialog/dialog.component.mjs +36 -0
  251. package/esm2020/src/components/dialog/dialog.module.mjs +19 -0
  252. package/esm2020/src/components/dialog/dialog.types.mjs +2 -0
  253. package/esm2020/src/components/flow-header/flow-header.component.mjs +107 -0
  254. package/esm2020/src/components/flow-header/flow-header.module.mjs +19 -0
  255. package/esm2020/src/components/flow-header/index.mjs +2 -0
  256. package/esm2020/src/components/guided-selling/guided-selling.component.mjs +107 -0
  257. package/esm2020/src/components/guided-selling/guided-selling.module.mjs +19 -0
  258. package/esm2020/src/configure-primeng.mjs +33 -0
  259. package/esm2020/src/constants.mjs +2 -0
  260. package/esm2020/src/flow-routing.module.mjs +97 -0
  261. package/esm2020/src/flow.component.mjs +39 -0
  262. package/esm2020/src/flow.module.mjs +60 -0
  263. package/esm2020/src/guards/flow.guard.mjs +35 -0
  264. package/esm2020/src/guards/product-unload.guard.mjs +49 -0
  265. package/esm2020/src/guards/root.guard.mjs +46 -0
  266. package/esm2020/src/index.mjs +5 -0
  267. package/esm2020/src/pages/assets/assets.component.mjs +106 -0
  268. package/esm2020/src/pages/assets/assets.module.mjs +20 -0
  269. package/esm2020/src/pages/catalog/catalog.component.mjs +106 -0
  270. package/esm2020/src/pages/catalog/catalog.module.mjs +20 -0
  271. package/esm2020/src/pages/debug/debug.component.mjs +49 -0
  272. package/esm2020/src/pages/debug/debug.module.mjs +46 -0
  273. package/esm2020/src/pages/product/product.component.mjs +55 -0
  274. package/esm2020/src/pages/product/product.module.mjs +20 -0
  275. package/esm2020/src/pages/record-not-found/record-not-found.component.mjs +27 -0
  276. package/esm2020/src/pages/record-not-found/record-not-found.module.mjs +20 -0
  277. package/esm2020/src/pages/shopping-cart/shopping-cart.component.mjs +106 -0
  278. package/esm2020/src/pages/shopping-cart/shopping-cart.module.mjs +20 -0
  279. package/esm2020/src/resolvers/flow.resolver.mjs +50 -0
  280. package/esm2020/src/resolvers/pcm-model.resolver.mjs +12 -0
  281. package/esm2020/src/resolvers/sales-transaction.resolver.mjs +64 -0
  282. package/esm2020/src/resolvers/ui-definition.resolver.mjs +44 -0
  283. package/esm2020/src/services/flow-dialog.service.mjs +91 -0
  284. package/esm2020/src/services/flow-router.service.mjs +173 -0
  285. package/esm2020/src/services/flow.service.mjs +102 -0
  286. package/esm2020/src/services/guided-selling.service.mjs +34 -0
  287. package/esm2020/src/services/index.mjs +4 -0
  288. package/esm2020/src/types/index.mjs +2 -0
  289. package/esm2020/src/types/route.types.mjs +2 -0
  290. package/esm2020/veloceapps-sdk.mjs +5 -0
  291. package/fesm2015/veloceapps-sdk-cms.mjs +2514 -0
  292. package/fesm2015/veloceapps-sdk-cms.mjs.map +1 -0
  293. package/fesm2015/veloceapps-sdk-core.mjs +2084 -0
  294. package/fesm2015/veloceapps-sdk-core.mjs.map +1 -0
  295. package/fesm2015/veloceapps-sdk.mjs +1598 -0
  296. package/fesm2015/veloceapps-sdk.mjs.map +1 -0
  297. package/fesm2020/veloceapps-sdk-cms.mjs +2613 -0
  298. package/fesm2020/veloceapps-sdk-cms.mjs.map +1 -0
  299. package/{fesm2022 → fesm2020}/veloceapps-sdk-core.mjs +146 -164
  300. package/fesm2020/veloceapps-sdk-core.mjs.map +1 -0
  301. package/{fesm2022 → fesm2020}/veloceapps-sdk.mjs +192 -186
  302. package/fesm2020/veloceapps-sdk.mjs.map +1 -0
  303. package/index.d.ts +1 -330
  304. package/package.json +34 -17
  305. package/src/components/dialog/dialog.component.d.ts +13 -0
  306. package/src/components/dialog/dialog.module.d.ts +9 -0
  307. package/src/components/dialog/dialog.types.d.ts +7 -0
  308. package/src/components/flow-header/flow-header.component.d.ts +25 -0
  309. package/src/components/flow-header/flow-header.module.d.ts +9 -0
  310. package/src/components/flow-header/index.d.ts +1 -0
  311. package/src/components/guided-selling/guided-selling.component.d.ts +25 -0
  312. package/src/components/guided-selling/guided-selling.module.d.ts +9 -0
  313. package/src/configure-primeng.d.ts +1 -0
  314. package/src/constants.d.ts +1 -0
  315. package/src/flow-routing.module.d.ts +11 -0
  316. package/src/flow.component.d.ts +21 -0
  317. package/src/flow.module.d.ts +16 -0
  318. package/src/guards/flow.guard.d.ts +2 -0
  319. package/src/guards/product-unload.guard.d.ts +16 -0
  320. package/src/guards/root.guard.d.ts +14 -0
  321. package/src/index.d.ts +4 -0
  322. package/src/pages/assets/assets.component.d.ts +31 -0
  323. package/src/pages/assets/assets.module.d.ts +10 -0
  324. package/src/pages/catalog/catalog.component.d.ts +31 -0
  325. package/src/pages/catalog/catalog.module.d.ts +10 -0
  326. package/src/pages/debug/debug.component.d.ts +21 -0
  327. package/src/pages/debug/debug.module.d.ts +14 -0
  328. package/src/pages/product/product.component.d.ts +24 -0
  329. package/src/pages/product/product.module.d.ts +10 -0
  330. package/src/pages/record-not-found/record-not-found.component.d.ts +12 -0
  331. package/src/pages/record-not-found/record-not-found.module.d.ts +9 -0
  332. package/src/pages/shopping-cart/shopping-cart.component.d.ts +31 -0
  333. package/src/pages/shopping-cart/shopping-cart.module.d.ts +10 -0
  334. package/src/resolvers/flow.resolver.d.ts +14 -0
  335. package/src/resolvers/pcm-model.resolver.d.ts +3 -0
  336. package/src/resolvers/sales-transaction.resolver.d.ts +18 -0
  337. package/src/resolvers/ui-definition.resolver.d.ts +3 -0
  338. package/src/services/flow-dialog.service.d.ts +23 -0
  339. package/src/services/flow-router.service.d.ts +42 -0
  340. package/src/services/flow.service.d.ts +21 -0
  341. package/src/services/guided-selling.service.d.ts +13 -0
  342. package/src/services/index.d.ts +3 -0
  343. package/src/types/index.d.ts +1 -0
  344. package/src/types/route.types.d.ts +4 -0
  345. package/fesm2022/veloceapps-sdk-cms.mjs +0 -2611
  346. package/fesm2022/veloceapps-sdk-cms.mjs.map +0 -1
  347. package/fesm2022/veloceapps-sdk-core.mjs.map +0 -1
  348. package/fesm2022/veloceapps-sdk.mjs.map +0 -1
@@ -1,12 +1,12 @@
1
1
  import * as i0 from '@angular/core';
2
- import { Injectable, InjectionToken, Optional, Inject, NgModule, inject, Input, Directive, LOCALE_ID, Pipe } from '@angular/core';
3
- import { DEFAULT_CURRENCY_SYMBOL, DEFAULT_CURRENCY_ISO_CODE, validateDateFormat, DEFAULT_DATE_FORMAT, DEFAULT_DECIMALS_COUNT, DEFAULT_ACTION_CODE_LABELS, DEFAULT_THOUSANDS_SEPARATOR, DEFAULT_DECIMAL_SEPARATOR, getSupportedDateFormats, parseJsonSafely, isDefined, UITemplateType, SalesforceIdUtils, UUID, extractErrorDetails, ConfigurationProcessorTypes, EntityUtil, DEFAULT_TIME_FORMAT, formatNumber } from '@veloceapps/core';
2
+ import { Injectable, InjectionToken, Optional, Inject, NgModule, inject, Directive, Input, LOCALE_ID, Pipe } from '@angular/core';
3
+ import { DEFAULT_CURRENCY_ISO_CODE, DEFAULT_CURRENCY_SYMBOL, validateDateFormat, DEFAULT_DATE_FORMAT, DEFAULT_DECIMALS_COUNT, getSupportedDateFormats, DEFAULT_DECIMAL_SEPARATOR, DEFAULT_THOUSANDS_SEPARATOR, DEFAULT_ACTION_CODE_LABELS, parseJsonSafely, isDefined, UITemplateType, SalesforceIdUtils, UUID, extractErrorDetails, ConfigurationProcessorTypes, EntityUtil, DEFAULT_TIME_FORMAT, formatNumber } from '@veloceapps/core';
4
4
  import * as i3 from '@veloceapps/api';
5
5
  import { ApiModule } from '@veloceapps/api';
6
6
  import * as i6 from '@veloceapps/components';
7
7
  import { ToastType, ConfirmationDialogModule } from '@veloceapps/components';
8
8
  import * as i1 from '@veloceapps/api/v2';
9
- import { BehaviorSubject, tap, map, filter, switchMap, of, forkJoin, noop, throwError, distinctUntilChanged, Subject, catchError as catchError$1, combineLatest, finalize as finalize$1, buffer, debounceTime, share, take, shareReplay, takeUntil, first } from 'rxjs';
9
+ import { tap, BehaviorSubject, map, filter, switchMap, of, forkJoin, noop, throwError, Subject, catchError as catchError$1, combineLatest, finalize as finalize$1, buffer, debounceTime, share, take, distinctUntilChanged, shareReplay, takeUntil, first } from 'rxjs';
10
10
  import { uniqBy, flatten, omit, cloneDeep, assign, isEqual } from 'lodash';
11
11
  import * as i2 from 'primeng/api';
12
12
  import { filter as filter$1, map as map$1, tap as tap$1, catchError, finalize } from 'rxjs/operators';
@@ -18,34 +18,25 @@ class ConfigurationRuntimeService {
18
18
  constructor(pcmApiService) {
19
19
  this.pcmApiService = pcmApiService;
20
20
  this.uiDefinitionContainer = null;
21
- this.pcmModelSubj$ = new BehaviorSubject(null);
22
21
  }
23
22
  get uiDefinitionProps() {
24
23
  return this.uiDefinitionContainer?.source.properties ?? {};
25
24
  }
26
- get pcmModel() {
27
- return this.pcmModelSubj$.value;
28
- }
29
- get pcmModel$() {
30
- return this.pcmModelSubj$;
31
- }
32
25
  reset() {
33
26
  this.uiDefinitionContainer = null;
34
27
  this.initializationProps = undefined;
35
- this.pcmModelSubj$.next(null);
28
+ this.pcmModel = undefined;
36
29
  }
37
30
  init$(props) {
38
31
  this.initializationProps = props;
39
- return this.pcmApiService
40
- .fetchPCMByProductId(props.productId)
41
- .pipe(tap(pcmModel => this.pcmModelSubj$.next(pcmModel)));
32
+ return this.pcmApiService.fetchPCMByProductId(props.productId).pipe(tap(pcmModel => (this.pcmModel = pcmModel)));
42
33
  }
43
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: ConfigurationRuntimeService, deps: [{ token: i1.PCMApiService }], target: i0.ɵɵFactoryTarget.Injectable }); }
44
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: ConfigurationRuntimeService }); }
45
34
  }
46
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: ConfigurationRuntimeService, decorators: [{
35
+ ConfigurationRuntimeService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ConfigurationRuntimeService, deps: [{ token: i1.PCMApiService }], target: i0.ɵɵFactoryTarget.Injectable });
36
+ ConfigurationRuntimeService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ConfigurationRuntimeService });
37
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ConfigurationRuntimeService, decorators: [{
47
38
  type: Injectable
48
- }], ctorParameters: () => [{ type: i1.PCMApiService }] });
39
+ }], ctorParameters: function () { return [{ type: i1.PCMApiService }]; } });
49
40
 
50
41
  const FLOW_CUSTOMIZATION = new InjectionToken('FLOW_CUSTOMIZATION');
51
42
 
@@ -147,12 +138,12 @@ class RuntimeSettingsService {
147
138
  const newSettings = uniqBy([...settings, ...this.shoppingCartSettings$.value], 'id');
148
139
  this.shoppingCartSettings$.next(newSettings);
149
140
  }
150
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: RuntimeSettingsService, deps: [{ token: i1.ConfigurationSettingsApiService }], target: i0.ɵɵFactoryTarget.Injectable }); }
151
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: RuntimeSettingsService }); }
152
141
  }
153
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: RuntimeSettingsService, decorators: [{
142
+ RuntimeSettingsService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: RuntimeSettingsService, deps: [{ token: i1.ConfigurationSettingsApiService }], target: i0.ɵɵFactoryTarget.Injectable });
143
+ RuntimeSettingsService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: RuntimeSettingsService });
144
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: RuntimeSettingsService, decorators: [{
154
145
  type: Injectable
155
- }], ctorParameters: () => [{ type: i1.ConfigurationSettingsApiService }] });
146
+ }], ctorParameters: function () { return [{ type: i1.ConfigurationSettingsApiService }]; } });
156
147
 
157
148
  class FlowInfoService {
158
149
  constructor(runtimeSettingsService, templatesAdminApiService, customizationService) {
@@ -279,17 +270,17 @@ class FlowInfoService {
279
270
  }
280
271
  return objectName.toUpperCase();
281
272
  }
282
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: FlowInfoService, deps: [{ token: RuntimeSettingsService }, { token: i1.UITemplatesAdminApiService }, { token: FLOW_CUSTOMIZATION, optional: true }], target: i0.ɵɵFactoryTarget.Injectable }); }
283
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: FlowInfoService }); }
284
273
  }
285
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: FlowInfoService, decorators: [{
274
+ FlowInfoService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: FlowInfoService, deps: [{ token: RuntimeSettingsService }, { token: i1.UITemplatesAdminApiService }, { token: FLOW_CUSTOMIZATION, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
275
+ FlowInfoService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: FlowInfoService });
276
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: FlowInfoService, decorators: [{
286
277
  type: Injectable
287
- }], ctorParameters: () => [{ type: RuntimeSettingsService }, { type: i1.UITemplatesAdminApiService }, { type: undefined, decorators: [{
278
+ }], ctorParameters: function () { return [{ type: RuntimeSettingsService }, { type: i1.UITemplatesAdminApiService }, { type: undefined, decorators: [{
288
279
  type: Optional
289
280
  }, {
290
281
  type: Inject,
291
282
  args: [FLOW_CUSTOMIZATION]
292
- }] }] });
283
+ }] }]; } });
293
284
 
294
285
  class PCMUtils {
295
286
  static mapByPrcId(pcm) {
@@ -519,12 +510,12 @@ class GuidedSellingService {
519
510
  attributes: {},
520
511
  };
521
512
  }
522
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: GuidedSellingService, deps: [{ token: i1.OrchestrationsApiService }], target: i0.ɵɵFactoryTarget.Injectable }); }
523
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: GuidedSellingService }); }
524
513
  }
525
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: GuidedSellingService, decorators: [{
514
+ GuidedSellingService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: GuidedSellingService, deps: [{ token: i1.OrchestrationsApiService }], target: i0.ɵɵFactoryTarget.Injectable });
515
+ GuidedSellingService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: GuidedSellingService });
516
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: GuidedSellingService, decorators: [{
526
517
  type: Injectable
527
- }], ctorParameters: () => [{ type: i1.OrchestrationsApiService }] });
518
+ }], ctorParameters: function () { return [{ type: i1.OrchestrationsApiService }]; } });
528
519
 
529
520
  class ConfigurationService {
530
521
  constructor(flowInfoService, messageService, configurationRuntimeService, salesTransactionService, orchestrationsApiService, guidedSellingService) {
@@ -597,22 +588,6 @@ class ConfigurationService {
597
588
  this.previousConfigurationStateSubj$.next(configurationState);
598
589
  }), map$1(noop));
599
590
  }
600
- patchState$(context) {
601
- return this.configure$(context).pipe(catchError(error => {
602
- console.error(error);
603
- if (!this.configurationRuntimeService.uiDefinitionProps.suppressToastMessages) {
604
- this.messageService.add({ severity: 'error', summary: error });
605
- }
606
- return throwError(() => error);
607
- }), tap$1(() => {
608
- if (!this.hasUnsavedChanges) {
609
- this.hasUnsavedChanges = true;
610
- }
611
- }), map$1(noop));
612
- }
613
- patchState(context) {
614
- this.patchState$(context).subscribe();
615
- }
616
591
  patch$(transactionItem) {
617
592
  const { state, root } = this;
618
593
  if (!state) {
@@ -629,7 +604,17 @@ class ConfigurationService {
629
604
  salesTransactionItems: [newRoot],
630
605
  },
631
606
  };
632
- return this.patchState$(newTransactionContext);
607
+ return this.configure$(newTransactionContext).pipe(catchError(error => {
608
+ console.error(error);
609
+ if (!this.configurationRuntimeService.uiDefinitionProps.suppressToastMessages) {
610
+ this.messageService.add({ severity: 'error', summary: error });
611
+ }
612
+ return throwError(() => error);
613
+ }), tap$1(() => {
614
+ if (!this.hasUnsavedChanges) {
615
+ this.hasUnsavedChanges = true;
616
+ }
617
+ }), map$1(noop));
633
618
  }
634
619
  patch(transactionItem) {
635
620
  this.patch$(transactionItem).subscribe();
@@ -667,25 +652,12 @@ class ConfigurationService {
667
652
  }
668
653
  return pcmModel;
669
654
  }
670
- getPCMModel$() {
671
- return this.configurationRuntimeService.pcmModel$.pipe(distinctUntilChanged((prev, curr) => prev?.id === curr?.id));
672
- }
673
- swapProduct$(productId) {
674
- const rootTransactionItem = this.root;
675
- this.flowInfoService.updateContext({ productId });
676
- return this.configurationRuntimeService.init$({ productId }).pipe(map$1(pcm => generateTransactionItem(pcm, this.state?.salesTransaction.id, rootTransactionItem?.qty)), switchMap(salesTransactionItem => {
677
- return this.patch$({
678
- ...salesTransactionItem,
679
- id: rootTransactionItem?.id ?? salesTransactionItem.id,
680
- });
681
- }));
682
- }
683
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: ConfigurationService, deps: [{ token: FlowInfoService }, { token: i2.MessageService }, { token: ConfigurationRuntimeService }, { token: SalesTransactionService }, { token: i1.OrchestrationsApiService }, { token: GuidedSellingService }], target: i0.ɵɵFactoryTarget.Injectable }); }
684
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: ConfigurationService }); }
685
655
  }
686
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: ConfigurationService, decorators: [{
656
+ ConfigurationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ConfigurationService, deps: [{ token: FlowInfoService }, { token: i2.MessageService }, { token: ConfigurationRuntimeService }, { token: SalesTransactionService }, { token: i1.OrchestrationsApiService }, { token: GuidedSellingService }], target: i0.ɵɵFactoryTarget.Injectable });
657
+ ConfigurationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ConfigurationService });
658
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ConfigurationService, decorators: [{
687
659
  type: Injectable
688
- }], ctorParameters: () => [{ type: FlowInfoService }, { type: i2.MessageService }, { type: ConfigurationRuntimeService }, { type: SalesTransactionService }, { type: i1.OrchestrationsApiService }, { type: GuidedSellingService }] });
660
+ }], ctorParameters: function () { return [{ type: FlowInfoService }, { type: i2.MessageService }, { type: ConfigurationRuntimeService }, { type: SalesTransactionService }, { type: i1.OrchestrationsApiService }, { type: GuidedSellingService }]; } });
689
661
 
690
662
  class SalesTransactionService {
691
663
  get isInitialized$() {
@@ -741,12 +713,12 @@ class SalesTransactionService {
741
713
  setState(state) {
742
714
  this.stateSubj$.next(state);
743
715
  }
744
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: SalesTransactionService, deps: [{ token: i1.SalesTransactionApiService }], target: i0.ɵɵFactoryTarget.Injectable }); }
745
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: SalesTransactionService }); }
746
716
  }
747
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: SalesTransactionService, decorators: [{
717
+ SalesTransactionService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SalesTransactionService, deps: [{ token: i1.SalesTransactionApiService }], target: i0.ɵɵFactoryTarget.Injectable });
718
+ SalesTransactionService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SalesTransactionService });
719
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SalesTransactionService, decorators: [{
748
720
  type: Injectable
749
- }], ctorParameters: () => [{ type: i1.SalesTransactionApiService }] });
721
+ }], ctorParameters: function () { return [{ type: i1.SalesTransactionApiService }]; } });
750
722
 
751
723
  class FlowConfigurationService {
752
724
  constructor(orchestrationsApiService, salesTransactionService, flowInfoService) {
@@ -811,12 +783,12 @@ class FlowConfigurationService {
811
783
  }));
812
784
  };
813
785
  }
814
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: FlowConfigurationService, deps: [{ token: i1.OrchestrationsApiService }, { token: SalesTransactionService }, { token: FlowInfoService }], target: i0.ɵɵFactoryTarget.Injectable }); }
815
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: FlowConfigurationService }); }
816
786
  }
817
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: FlowConfigurationService, decorators: [{
787
+ FlowConfigurationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: FlowConfigurationService, deps: [{ token: i1.OrchestrationsApiService }, { token: SalesTransactionService }, { token: FlowInfoService }], target: i0.ɵɵFactoryTarget.Injectable });
788
+ FlowConfigurationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: FlowConfigurationService });
789
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: FlowConfigurationService, decorators: [{
818
790
  type: Injectable
819
- }], ctorParameters: () => [{ type: i1.OrchestrationsApiService }, { type: SalesTransactionService }, { type: FlowInfoService }] });
791
+ }], ctorParameters: function () { return [{ type: i1.OrchestrationsApiService }, { type: SalesTransactionService }, { type: FlowInfoService }]; } });
820
792
 
821
793
  class TestModeConfigurationService {
822
794
  constructor(flowInfoService, configurationService, configurationRuntimeService, salesTransactionService, runtimeSettingsService, sfApiService) {
@@ -831,7 +803,7 @@ class TestModeConfigurationService {
831
803
  initTestMode$(uiDefinitionContainer, options) {
832
804
  this.configurationRuntimeService.uiDefinitionContainer = uiDefinitionContainer;
833
805
  if (this.checkInitialized(uiDefinitionContainer)) {
834
- this.configurationRuntimeService.pcmModelSubj$.next(this.pcmModel || null);
806
+ this.configurationRuntimeService.pcmModel = this.pcmModel;
835
807
  return of(undefined);
836
808
  }
837
809
  this.configurationService.reset();
@@ -896,12 +868,12 @@ class TestModeConfigurationService {
896
868
  checkInitialized(uiDefinitionContainer) {
897
869
  return this.isInitialized && !!uiDefinitionContainer.source.properties?.persistTestState;
898
870
  }
899
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: TestModeConfigurationService, deps: [{ token: FlowInfoService }, { token: ConfigurationService }, { token: ConfigurationRuntimeService }, { token: SalesTransactionService }, { token: RuntimeSettingsService }, { token: i1.SalesforceApiService }], target: i0.ɵɵFactoryTarget.Injectable }); }
900
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: TestModeConfigurationService }); }
901
871
  }
902
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: TestModeConfigurationService, decorators: [{
872
+ TestModeConfigurationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TestModeConfigurationService, deps: [{ token: FlowInfoService }, { token: ConfigurationService }, { token: ConfigurationRuntimeService }, { token: SalesTransactionService }, { token: RuntimeSettingsService }, { token: i1.SalesforceApiService }], target: i0.ɵɵFactoryTarget.Injectable });
873
+ TestModeConfigurationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TestModeConfigurationService });
874
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TestModeConfigurationService, decorators: [{
903
875
  type: Injectable
904
- }], ctorParameters: () => [{ type: FlowInfoService }, { type: ConfigurationService }, { type: ConfigurationRuntimeService }, { type: SalesTransactionService }, { type: RuntimeSettingsService }, { type: i1.SalesforceApiService }] });
876
+ }], ctorParameters: function () { return [{ type: FlowInfoService }, { type: ConfigurationService }, { type: ConfigurationRuntimeService }, { type: SalesTransactionService }, { type: RuntimeSettingsService }, { type: i1.SalesforceApiService }]; } });
905
877
 
906
878
  class FlowStateService {
907
879
  constructor(flowConfiguration, flowInfoService, flowStateApiService, processorsApiService, salesTransactionApiService, salesTransactionService, toastService, customizationService) {
@@ -1290,17 +1262,17 @@ class FlowStateService {
1290
1262
  this.trackedStatefulChangesMap.set(requestId, hasChanges);
1291
1263
  }
1292
1264
  }
1293
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: FlowStateService, deps: [{ token: FlowConfigurationService }, { token: FlowInfoService }, { token: i3.FlowStateApiService }, { token: i1.ConfigurationProcessorsApiService }, { token: i1.SalesTransactionApiService }, { token: SalesTransactionService }, { token: i6.ToastService }, { token: FLOW_CUSTOMIZATION, optional: true }], target: i0.ɵɵFactoryTarget.Injectable }); }
1294
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: FlowStateService }); }
1295
1265
  }
1296
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: FlowStateService, decorators: [{
1266
+ FlowStateService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: FlowStateService, deps: [{ token: FlowConfigurationService }, { token: FlowInfoService }, { token: i3.FlowStateApiService }, { token: i1.ConfigurationProcessorsApiService }, { token: i1.SalesTransactionApiService }, { token: SalesTransactionService }, { token: i6.ToastService }, { token: FLOW_CUSTOMIZATION, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
1267
+ FlowStateService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: FlowStateService });
1268
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: FlowStateService, decorators: [{
1297
1269
  type: Injectable
1298
- }], ctorParameters: () => [{ type: FlowConfigurationService }, { type: FlowInfoService }, { type: i3.FlowStateApiService }, { type: i1.ConfigurationProcessorsApiService }, { type: i1.SalesTransactionApiService }, { type: SalesTransactionService }, { type: i6.ToastService }, { type: undefined, decorators: [{
1270
+ }], ctorParameters: function () { return [{ type: FlowConfigurationService }, { type: FlowInfoService }, { type: i3.FlowStateApiService }, { type: i1.ConfigurationProcessorsApiService }, { type: i1.SalesTransactionApiService }, { type: SalesTransactionService }, { type: i6.ToastService }, { type: undefined, decorators: [{
1299
1271
  type: Optional
1300
1272
  }, {
1301
1273
  type: Inject,
1302
1274
  args: [FLOW_CUSTOMIZATION]
1303
- }] }] });
1275
+ }] }]; } });
1304
1276
 
1305
1277
  class FlowStateConfigurationService {
1306
1278
  constructor(flowInfoService, flowStateService, configurationService, salesTransactionService, flowConfigurationService, pcmApiService) {
@@ -1399,12 +1371,12 @@ class FlowStateConfigurationService {
1399
1371
  .fetchPCMByProductId(productId)
1400
1372
  .pipe(tap(pcmProduct => (this.pcmCache[productId] = pcmProduct)));
1401
1373
  }
1402
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: FlowStateConfigurationService, deps: [{ token: FlowInfoService }, { token: FlowStateService }, { token: ConfigurationService }, { token: SalesTransactionService }, { token: FlowConfigurationService }, { token: i1.PCMApiService }], target: i0.ɵɵFactoryTarget.Injectable }); }
1403
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: FlowStateConfigurationService }); }
1404
1374
  }
1405
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: FlowStateConfigurationService, decorators: [{
1375
+ FlowStateConfigurationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: FlowStateConfigurationService, deps: [{ token: FlowInfoService }, { token: FlowStateService }, { token: ConfigurationService }, { token: SalesTransactionService }, { token: FlowConfigurationService }, { token: i1.PCMApiService }], target: i0.ɵɵFactoryTarget.Injectable });
1376
+ FlowStateConfigurationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: FlowStateConfigurationService });
1377
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: FlowStateConfigurationService, decorators: [{
1406
1378
  type: Injectable
1407
- }], ctorParameters: () => [{ type: FlowInfoService }, { type: FlowStateService }, { type: ConfigurationService }, { type: SalesTransactionService }, { type: FlowConfigurationService }, { type: i1.PCMApiService }] });
1379
+ }], ctorParameters: function () { return [{ type: FlowInfoService }, { type: FlowStateService }, { type: ConfigurationService }, { type: SalesTransactionService }, { type: FlowConfigurationService }, { type: i1.PCMApiService }]; } });
1408
1380
 
1409
1381
  class IntegrationState {
1410
1382
  constructor() {
@@ -1432,10 +1404,10 @@ class IntegrationState {
1432
1404
  reset() {
1433
1405
  this.stateSubj$.next({});
1434
1406
  }
1435
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: IntegrationState, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
1436
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: IntegrationState }); }
1437
1407
  }
1438
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: IntegrationState, decorators: [{
1408
+ IntegrationState.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: IntegrationState, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
1409
+ IntegrationState.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: IntegrationState });
1410
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: IntegrationState, decorators: [{
1439
1411
  type: Injectable
1440
1412
  }] });
1441
1413
 
@@ -1457,12 +1429,12 @@ class ProductImagesService {
1457
1429
  .pipe(map(file => URL.createObjectURL(file)), catchError$1(() => of('')), tap(url => this.imagesMap$.next({ ...this.imagesMap$.value, [productId]: url })))
1458
1430
  .subscribe();
1459
1431
  }
1460
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: ProductImagesService, deps: [{ token: i1.ProductsAdminApiService }], target: i0.ɵɵFactoryTarget.Injectable }); }
1461
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: ProductImagesService }); }
1462
1432
  }
1463
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: ProductImagesService, decorators: [{
1433
+ ProductImagesService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ProductImagesService, deps: [{ token: i1.ProductsAdminApiService }], target: i0.ɵɵFactoryTarget.Injectable });
1434
+ ProductImagesService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ProductImagesService });
1435
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ProductImagesService, decorators: [{
1464
1436
  type: Injectable
1465
- }], ctorParameters: () => [{ type: i1.ProductsAdminApiService }] });
1437
+ }], ctorParameters: function () { return [{ type: i1.ProductsAdminApiService }]; } });
1466
1438
 
1467
1439
  class CatalogProductsService {
1468
1440
  constructor() {
@@ -1478,10 +1450,10 @@ class CatalogProductsService {
1478
1450
  setState(state) {
1479
1451
  this.stateSubj$.next(state);
1480
1452
  }
1481
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: CatalogProductsService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
1482
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: CatalogProductsService }); }
1483
1453
  }
1484
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: CatalogProductsService, decorators: [{
1454
+ CatalogProductsService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: CatalogProductsService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
1455
+ CatalogProductsService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: CatalogProductsService });
1456
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: CatalogProductsService, decorators: [{
1485
1457
  type: Injectable
1486
1458
  }] });
1487
1459
 
@@ -1614,12 +1586,12 @@ class ConfigurationStateService {
1614
1586
  return of({ id: '' });
1615
1587
  }
1616
1588
  const { standalone } = this.flowInfoService.flow.properties;
1617
- const transactionContext = this.configurationService.state;
1589
+ const transactionContext = this.salesTransactionService.state;
1618
1590
  const configurationRoot = this.configurationService.root;
1619
1591
  if (!transactionContext || !configurationRoot) {
1620
1592
  return of({ id: '' });
1621
1593
  }
1622
- const stateItems = this.salesTransactionService.state?.salesTransaction.salesTransactionItems ?? [];
1594
+ const stateItems = transactionContext.salesTransaction.salesTransactionItems;
1623
1595
  const isNewTransactionItem = stateItems.every(ti => ti.id !== configurationRoot.id);
1624
1596
  let salesTransactionItems;
1625
1597
  if (isNewTransactionItem) {
@@ -1839,25 +1811,25 @@ class ConfigurationStateService {
1839
1811
  return result;
1840
1812
  }, { stateId: '', selectors: {} });
1841
1813
  }
1842
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: ConfigurationStateService, deps: [{ token: ConfigurationRuntimeService }, { token: ConfigurationService }, { token: FlowStateService }, { token: FlowInfoService }, { token: FlowConfigurationService }, { token: i3.FlowStateApiService }, { token: SalesTransactionService }, { token: i1.SalesTransactionApiService }, { token: i6.ToastService }, { token: i1.PCMApiService }], target: i0.ɵɵFactoryTarget.Injectable }); }
1843
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: ConfigurationStateService }); }
1844
1814
  }
1845
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: ConfigurationStateService, decorators: [{
1815
+ ConfigurationStateService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ConfigurationStateService, deps: [{ token: ConfigurationRuntimeService }, { token: ConfigurationService }, { token: FlowStateService }, { token: FlowInfoService }, { token: FlowConfigurationService }, { token: i3.FlowStateApiService }, { token: SalesTransactionService }, { token: i1.SalesTransactionApiService }, { token: i6.ToastService }, { token: i1.PCMApiService }], target: i0.ɵɵFactoryTarget.Injectable });
1816
+ ConfigurationStateService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ConfigurationStateService });
1817
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ConfigurationStateService, decorators: [{
1846
1818
  type: Injectable
1847
- }], ctorParameters: () => [{ type: ConfigurationRuntimeService }, { type: ConfigurationService }, { type: FlowStateService }, { type: FlowInfoService }, { type: FlowConfigurationService }, { type: i3.FlowStateApiService }, { type: SalesTransactionService }, { type: i1.SalesTransactionApiService }, { type: i6.ToastService }, { type: i1.PCMApiService }] });
1819
+ }], ctorParameters: function () { return [{ type: ConfigurationRuntimeService }, { type: ConfigurationService }, { type: FlowStateService }, { type: FlowInfoService }, { type: FlowConfigurationService }, { type: i3.FlowStateApiService }, { type: SalesTransactionService }, { type: i1.SalesTransactionApiService }, { type: i6.ToastService }, { type: i1.PCMApiService }]; } });
1848
1820
 
1849
1821
  class ConfigurationModule {
1850
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: ConfigurationModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
1851
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.1.4", ngImport: i0, type: ConfigurationModule, imports: [ConfirmationDialogModule, ApiModule] }); }
1852
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: ConfigurationModule, providers: [
1853
- ConfigurationService,
1854
- ConfigurationStateService,
1855
- ConfigurationRuntimeService,
1856
- TestModeConfigurationService,
1857
- GuidedSellingService,
1858
- ], imports: [ConfirmationDialogModule, ApiModule] }); }
1859
1822
  }
1860
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: ConfigurationModule, decorators: [{
1823
+ ConfigurationModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ConfigurationModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
1824
+ ConfigurationModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.9", ngImport: i0, type: ConfigurationModule, imports: [ConfirmationDialogModule, ApiModule] });
1825
+ ConfigurationModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ConfigurationModule, providers: [
1826
+ ConfigurationService,
1827
+ ConfigurationStateService,
1828
+ ConfigurationRuntimeService,
1829
+ TestModeConfigurationService,
1830
+ GuidedSellingService,
1831
+ ], imports: [ConfirmationDialogModule, ApiModule] });
1832
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ConfigurationModule, decorators: [{
1861
1833
  type: NgModule,
1862
1834
  args: [{
1863
1835
  imports: [ConfirmationDialogModule, ApiModule],
@@ -1872,11 +1844,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.4", ngImpor
1872
1844
  }] });
1873
1845
 
1874
1846
  class FlowConfigurationModule {
1875
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: FlowConfigurationModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
1876
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.1.4", ngImport: i0, type: FlowConfigurationModule, imports: [ApiModule] }); }
1877
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: FlowConfigurationModule, providers: [FlowConfigurationService], imports: [ApiModule] }); }
1878
1847
  }
1879
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: FlowConfigurationModule, decorators: [{
1848
+ FlowConfigurationModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: FlowConfigurationModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
1849
+ FlowConfigurationModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.9", ngImport: i0, type: FlowConfigurationModule, imports: [ApiModule] });
1850
+ FlowConfigurationModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: FlowConfigurationModule, providers: [FlowConfigurationService], imports: [ApiModule] });
1851
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: FlowConfigurationModule, decorators: [{
1880
1852
  type: NgModule,
1881
1853
  args: [{
1882
1854
  imports: [ApiModule],
@@ -1897,24 +1869,24 @@ const DEFAULT_FORMATTING_SETTINGS = {
1897
1869
  actionCodeLabels: DEFAULT_ACTION_CODE_LABELS,
1898
1870
  };
1899
1871
  class SdkCoreModule {
1900
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: SdkCoreModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
1901
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.1.4", ngImport: i0, type: SdkCoreModule, imports: [ConfigurationModule, FlowConfigurationModule] }); }
1902
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: SdkCoreModule, providers: [
1903
- FlowInfoService,
1904
- ProductImagesService,
1905
- IntegrationState,
1906
- FlowStateService,
1907
- FlowStateConfigurationService,
1908
- RuntimeSettingsService,
1909
- SalesTransactionService,
1910
- CatalogProductsService,
1911
- {
1912
- provide: FORMATTING_SETTINGS_TOKEN,
1913
- useExisting: RuntimeSettingsService,
1914
- },
1915
- ], imports: [ConfigurationModule, FlowConfigurationModule] }); }
1916
1872
  }
1917
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: SdkCoreModule, decorators: [{
1873
+ SdkCoreModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SdkCoreModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
1874
+ SdkCoreModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.9", ngImport: i0, type: SdkCoreModule, imports: [ConfigurationModule, FlowConfigurationModule] });
1875
+ SdkCoreModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SdkCoreModule, providers: [
1876
+ FlowInfoService,
1877
+ ProductImagesService,
1878
+ IntegrationState,
1879
+ FlowStateService,
1880
+ FlowStateConfigurationService,
1881
+ RuntimeSettingsService,
1882
+ SalesTransactionService,
1883
+ CatalogProductsService,
1884
+ {
1885
+ provide: FORMATTING_SETTINGS_TOKEN,
1886
+ useExisting: RuntimeSettingsService,
1887
+ },
1888
+ ], imports: [ConfigurationModule, FlowConfigurationModule] });
1889
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SdkCoreModule, decorators: [{
1918
1890
  type: NgModule,
1919
1891
  args: [{
1920
1892
  imports: [ConfigurationModule, FlowConfigurationModule],
@@ -1957,25 +1929,27 @@ class CalendarDirective {
1957
1929
  }
1958
1930
  }
1959
1931
  }
1960
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: CalendarDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
1961
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.1.4", type: CalendarDirective, isStandalone: true, selector: "[vlCalendar]", inputs: { vlCalendar: "vlCalendar" }, ngImport: i0 }); }
1962
1932
  }
1963
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: CalendarDirective, decorators: [{
1933
+ CalendarDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: CalendarDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
1934
+ CalendarDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.9", type: CalendarDirective, selector: "[vlCalendar]", inputs: { vlCalendar: "vlCalendar" }, ngImport: i0 });
1935
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: CalendarDirective, decorators: [{
1964
1936
  type: Directive,
1965
- args: [{ selector: '[vlCalendar]' }]
1937
+ args: [{
1938
+ selector: '[vlCalendar]',
1939
+ }]
1966
1940
  }], propDecorators: { vlCalendar: [{
1967
1941
  type: Input
1968
1942
  }] } });
1969
1943
 
1970
1944
  class SdkDirectivesModule {
1971
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: SdkDirectivesModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
1972
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.1.4", ngImport: i0, type: SdkDirectivesModule, imports: [CalendarDirective], exports: [CalendarDirective] }); }
1973
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: SdkDirectivesModule }); }
1974
1945
  }
1975
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: SdkDirectivesModule, decorators: [{
1946
+ SdkDirectivesModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SdkDirectivesModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
1947
+ SdkDirectivesModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.9", ngImport: i0, type: SdkDirectivesModule, declarations: [CalendarDirective], exports: [CalendarDirective] });
1948
+ SdkDirectivesModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SdkDirectivesModule });
1949
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SdkDirectivesModule, decorators: [{
1976
1950
  type: NgModule,
1977
1951
  args: [{
1978
- imports: [CalendarDirective],
1952
+ declarations: [CalendarDirective],
1979
1953
  exports: [CalendarDirective],
1980
1954
  }]
1981
1955
  }] });
@@ -2012,12 +1986,14 @@ class DatePipe {
2012
1986
  return new Date(date).toString();
2013
1987
  }
2014
1988
  }
2015
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: DatePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
2016
- static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "20.1.4", ngImport: i0, type: DatePipe, isStandalone: true, name: "vlDate" }); }
2017
1989
  }
2018
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: DatePipe, decorators: [{
1990
+ DatePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: DatePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
1991
+ DatePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.2.9", ngImport: i0, type: DatePipe, name: "vlDate" });
1992
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: DatePipe, decorators: [{
2019
1993
  type: Pipe,
2020
- args: [{ name: 'vlDate' }]
1994
+ args: [{
1995
+ name: 'vlDate',
1996
+ }]
2021
1997
  }] });
2022
1998
 
2023
1999
  class NumberPipe {
@@ -2032,12 +2008,14 @@ class NumberPipe {
2032
2008
  transform(price) {
2033
2009
  return formatNumber(price, this.formattingSettings?.thousandsSeparator, this.formattingSettings?.decimalSeparator, this.formattingSettings?.decimalsCount);
2034
2010
  }
2035
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: NumberPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
2036
- static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "20.1.4", ngImport: i0, type: NumberPipe, isStandalone: true, name: "vlNumber" }); }
2037
2011
  }
2038
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: NumberPipe, decorators: [{
2012
+ NumberPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: NumberPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
2013
+ NumberPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.2.9", ngImport: i0, type: NumberPipe, name: "vlNumber" });
2014
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: NumberPipe, decorators: [{
2039
2015
  type: Pipe,
2040
- args: [{ name: 'vlNumber' }]
2016
+ args: [{
2017
+ name: 'vlNumber',
2018
+ }]
2041
2019
  }] });
2042
2020
 
2043
2021
  class PricePipe {
@@ -2055,12 +2033,14 @@ class PricePipe {
2055
2033
  }
2056
2034
  return `${this.formattingSettings?.currencySymbol || DEFAULT_CURRENCY_SYMBOL}${formatNumber(price, this.formattingSettings?.thousandsSeparator, this.formattingSettings?.decimalSeparator, this.formattingSettings?.decimalsCount)}`;
2057
2035
  }
2058
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: PricePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
2059
- static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "20.1.4", ngImport: i0, type: PricePipe, isStandalone: true, name: "vlPrice" }); }
2060
2036
  }
2061
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: PricePipe, decorators: [{
2037
+ PricePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PricePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
2038
+ PricePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.2.9", ngImport: i0, type: PricePipe, name: "vlPrice" });
2039
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PricePipe, decorators: [{
2062
2040
  type: Pipe,
2063
- args: [{ name: 'vlPrice' }]
2041
+ args: [{
2042
+ name: 'vlPrice',
2043
+ }]
2064
2044
  }] });
2065
2045
 
2066
2046
  class ActionCodePipe {
@@ -2070,23 +2050,25 @@ class ActionCodePipe {
2070
2050
  transform(actionCode) {
2071
2051
  return this.formattingSettings?.actionCodeLabels[actionCode] ?? actionCode;
2072
2052
  }
2073
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: ActionCodePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
2074
- static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "20.1.4", ngImport: i0, type: ActionCodePipe, isStandalone: true, name: "vlActionCode" }); }
2075
2053
  }
2076
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: ActionCodePipe, decorators: [{
2054
+ ActionCodePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ActionCodePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
2055
+ ActionCodePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.2.9", ngImport: i0, type: ActionCodePipe, name: "vlActionCode" });
2056
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ActionCodePipe, decorators: [{
2077
2057
  type: Pipe,
2078
- args: [{ name: 'vlActionCode' }]
2058
+ args: [{
2059
+ name: 'vlActionCode',
2060
+ }]
2079
2061
  }] });
2080
2062
 
2081
2063
  class SdkPipesModule {
2082
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: SdkPipesModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
2083
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.1.4", ngImport: i0, type: SdkPipesModule, imports: [NumberPipe, PricePipe, DatePipe, ActionCodePipe], exports: [NumberPipe, PricePipe, DatePipe, ActionCodePipe] }); }
2084
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: SdkPipesModule }); }
2085
2064
  }
2086
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: SdkPipesModule, decorators: [{
2065
+ SdkPipesModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SdkPipesModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
2066
+ SdkPipesModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.9", ngImport: i0, type: SdkPipesModule, declarations: [NumberPipe, PricePipe, DatePipe, ActionCodePipe], exports: [NumberPipe, PricePipe, DatePipe, ActionCodePipe] });
2067
+ SdkPipesModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SdkPipesModule });
2068
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SdkPipesModule, decorators: [{
2087
2069
  type: NgModule,
2088
2070
  args: [{
2089
- imports: [NumberPipe, PricePipe, DatePipe, ActionCodePipe],
2071
+ declarations: [NumberPipe, PricePipe, DatePipe, ActionCodePipe],
2090
2072
  exports: [NumberPipe, PricePipe, DatePipe, ActionCodePipe],
2091
2073
  }]
2092
2074
  }] });