@veloceapps/sdk 12.0.0-12 → 12.0.0-14

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/index.d.ts +921 -15
  2. package/core/index.d.ts +525 -8
  3. package/fesm2022/veloceapps-sdk-cms.mjs +2617 -0
  4. package/fesm2022/veloceapps-sdk-cms.mjs.map +1 -0
  5. package/{fesm2020 → fesm2022}/veloceapps-sdk-core.mjs +117 -112
  6. package/fesm2022/veloceapps-sdk-core.mjs.map +1 -0
  7. package/{fesm2020 → fesm2022}/veloceapps-sdk.mjs +170 -170
  8. package/fesm2022/veloceapps-sdk.mjs.map +1 -0
  9. package/index.d.ts +330 -1
  10. package/package.json +17 -34
  11. package/cms/cms.actions.d.ts +0 -154
  12. package/cms/cms.default.d.ts +0 -5
  13. package/cms/cms.elements.d.ts +0 -4
  14. package/cms/cms.layouts.d.ts +0 -4
  15. package/cms/components/element-children/element-children.component.d.ts +0 -22
  16. package/cms/components/element-children/element-children.module.d.ts +0 -11
  17. package/cms/components/element-drop-handle/element-drop-handle.component.d.ts +0 -12
  18. package/cms/components/element-drop-handle/element-drop-handle.module.d.ts +0 -9
  19. package/cms/components/element-renderer/element-renderer.component.d.ts +0 -29
  20. package/cms/components/element-renderer/element-renderer.module.d.ts +0 -7
  21. package/cms/components/element-tools-panel/element-tools-panel.component.d.ts +0 -14
  22. package/cms/components/element.component.d.ts +0 -17
  23. package/cms/components/index.d.ts +0 -1
  24. package/cms/components/plugin.component.d.ts +0 -15
  25. package/cms/components/preview/index.d.ts +0 -3
  26. package/cms/components/preview/preview.component.d.ts +0 -32
  27. package/cms/components/preview/preview.module.d.ts +0 -13
  28. package/cms/components/preview/preview.types.d.ts +0 -20
  29. package/cms/decorators/element.decorator.d.ts +0 -2
  30. package/cms/decorators/index.d.ts +0 -1
  31. package/cms/definitions/index.d.ts +0 -1
  32. package/cms/definitions/ui-builder.definitions.d.ts +0 -6
  33. package/cms/directives/custom-template.directive.d.ts +0 -17
  34. package/cms/engine/models/entity.d.ts +0 -11
  35. package/cms/engine/models/plugin.d.ts +0 -5
  36. package/cms/injection-tokens.d.ts +0 -9
  37. package/cms/launcher.module.d.ts +0 -12
  38. package/cms/modules/federated/default-options.d.ts +0 -4
  39. package/cms/modules/federated/export.d.ts +0 -1
  40. package/cms/modules/federated/federated-host.directive.d.ts +0 -8
  41. package/cms/modules/federated/federated.component.d.ts +0 -25
  42. package/cms/modules/federated/federated.module.d.ts +0 -10
  43. package/cms/modules/federated/federated.types.d.ts +0 -26
  44. package/cms/modules/migrations/index.d.ts +0 -2
  45. package/cms/modules/migrations/migrations.d.ts +0 -2
  46. package/cms/modules/migrations/migrations.module.d.ts +0 -6
  47. package/cms/modules/migrations/services/migrations.service.d.ts +0 -10
  48. package/cms/modules/migrations/types/migrations.types.d.ts +0 -2
  49. package/cms/modules/runtime/index.d.ts +0 -3
  50. package/cms/modules/runtime/runtime.module.d.ts +0 -8
  51. package/cms/modules/runtime/services/compilation.service.d.ts +0 -19
  52. package/cms/modules/runtime/services/runtime-editor.service.d.ts +0 -20
  53. package/cms/modules/runtime/services/runtime.service.d.ts +0 -33
  54. package/cms/modules/runtime/tokens.d.ts +0 -3
  55. package/cms/modules/runtime/types/compilation.types.d.ts +0 -8
  56. package/cms/modules/runtime/types/runtime.actions.d.ts +0 -12
  57. package/cms/plugins/element-hover.plugin.d.ts +0 -33
  58. package/cms/plugins/io.plugin.d.ts +0 -9
  59. package/cms/plugins/page.plugin.d.ts +0 -15
  60. package/cms/plugins/region.plugin.d.ts +0 -17
  61. package/cms/plugins/script.plugin.d.ts +0 -10
  62. package/cms/services/element-context.service.d.ts +0 -7
  63. package/cms/services/index.d.ts +0 -2
  64. package/cms/services/io-provider.service.d.ts +0 -15
  65. package/cms/services/resources.service.d.ts +0 -21
  66. package/cms/services/templates.service.d.ts +0 -14
  67. package/cms/types/common.types.d.ts +0 -130
  68. package/cms/types/elements.types.d.ts +0 -2
  69. package/cms/types/index.d.ts +0 -6
  70. package/cms/types/layouts.types.d.ts +0 -102
  71. package/cms/types/pages.types.d.ts +0 -1
  72. package/cms/types/path.types.d.ts +0 -11
  73. package/cms/utils/element-metadata-worker.d.ts +0 -11
  74. package/cms/utils/element.utils.d.ts +0 -20
  75. package/cms/utils/elements-resolver.d.ts +0 -28
  76. package/cms/utils/encoding.utils.d.ts +0 -2
  77. package/cms/utils/index.d.ts +0 -9
  78. package/cms/utils/inject.d.ts +0 -1
  79. package/cms/utils/path.utils.d.ts +0 -3
  80. package/cms/utils/script.utils.d.ts +0 -2
  81. package/cms/utils/transpilation-worker.d.ts +0 -13
  82. package/cms/utils/ui-builder-layout.utils.d.ts +0 -4
  83. package/cms/utils/ui-definition.utils.d.ts +0 -6
  84. package/cms/vendor-map.d.ts +0 -86
  85. package/core/core.module.d.ts +0 -10
  86. package/core/directives/directives.module.d.ts +0 -7
  87. package/core/directives/index.d.ts +0 -2
  88. package/core/directives/primeng-calendar.directive.d.ts +0 -14
  89. package/core/modules/configuration/configuration.module.d.ts +0 -8
  90. package/core/modules/configuration/index.d.ts +0 -6
  91. package/core/modules/configuration/services/configuration-runtime.service.d.ts +0 -19
  92. package/core/modules/configuration/services/configuration-state.service.d.ts +0 -60
  93. package/core/modules/configuration/services/configuration.service.d.ts +0 -38
  94. package/core/modules/configuration/services/guided-selling.service.d.ts +0 -15
  95. package/core/modules/configuration/services/test-mode-configuration.service.d.ts +0 -26
  96. package/core/modules/configuration/types/configuration-runtime.types.d.ts +0 -3
  97. package/core/modules/configuration/types/configuration.types.d.ts +0 -20
  98. package/core/modules/configuration/types/index.d.ts +0 -2
  99. package/core/modules/flow-configuration/flow-configuration.module.d.ts +0 -7
  100. package/core/modules/flow-configuration/index.d.ts +0 -1
  101. package/core/modules/flow-configuration/services/flow-configuration.service.d.ts +0 -23
  102. package/core/modules/index.d.ts +0 -2
  103. package/core/operators/filter-successful-execute.operator.d.ts +0 -3
  104. package/core/operators/index.d.ts +0 -1
  105. package/core/pipes/action-code.pipe.d.ts +0 -8
  106. package/core/pipes/date.pipe.d.ts +0 -13
  107. package/core/pipes/index.d.ts +0 -5
  108. package/core/pipes/number.pipe.d.ts +0 -10
  109. package/core/pipes/pipes.module.d.ts +0 -10
  110. package/core/pipes/price.pipe.d.ts +0 -10
  111. package/core/services/catalog-products.service.d.ts +0 -11
  112. package/core/services/flow-info.service.d.ts +0 -44
  113. package/core/services/flow-state-configuration.service.d.ts +0 -25
  114. package/core/services/flow-state.service.d.ts +0 -70
  115. package/core/services/index.d.ts +0 -8
  116. package/core/services/integration.state.d.ts +0 -16
  117. package/core/services/product-images.service.d.ts +0 -12
  118. package/core/services/runtime-settings.service.d.ts +0 -24
  119. package/core/services/sales-transaction.service.d.ts +0 -27
  120. package/core/types/flow-customization.types.d.ts +0 -10
  121. package/core/types/flow-state.types.d.ts +0 -12
  122. package/core/types/formatting-settings.types.d.ts +0 -13
  123. package/core/types/index.d.ts +0 -5
  124. package/core/types/integration.types.d.ts +0 -10
  125. package/core/types/pipe.types.d.ts +0 -1
  126. package/core/types/ui-definition.types.d.ts +0 -1
  127. package/core/utils/index.d.ts +0 -4
  128. package/core/utils/pcm.utils.d.ts +0 -5
  129. package/core/utils/transaction-item.utils.d.ts +0 -10
  130. package/core/utils/transaction-item.worker.d.ts +0 -8
  131. package/core/utils/ui-definition.utils.d.ts +0 -2
  132. package/esm2020/cms/cms.actions.mjs +0 -151
  133. package/esm2020/cms/cms.default.mjs +0 -5
  134. package/esm2020/cms/cms.elements.mjs +0 -52
  135. package/esm2020/cms/cms.layouts.mjs +0 -239
  136. package/esm2020/cms/components/element-children/element-children.component.mjs +0 -41
  137. package/esm2020/cms/components/element-children/element-children.module.mjs +0 -21
  138. package/esm2020/cms/components/element-drop-handle/element-drop-handle.component.mjs +0 -28
  139. package/esm2020/cms/components/element-drop-handle/element-drop-handle.module.mjs +0 -19
  140. package/esm2020/cms/components/element-renderer/element-renderer.component.mjs +0 -117
  141. package/esm2020/cms/components/element-renderer/element-renderer.module.mjs +0 -16
  142. package/esm2020/cms/components/element-tools-panel/element-tools-panel.component.mjs +0 -35
  143. package/esm2020/cms/components/element.component.mjs +0 -45
  144. package/esm2020/cms/components/index.mjs +0 -2
  145. package/esm2020/cms/components/plugin.component.mjs +0 -17
  146. package/esm2020/cms/components/preview/index.mjs +0 -4
  147. package/esm2020/cms/components/preview/preview.component.mjs +0 -75
  148. package/esm2020/cms/components/preview/preview.module.mjs +0 -42
  149. package/esm2020/cms/components/preview/preview.types.mjs +0 -2
  150. package/esm2020/cms/decorators/element.decorator.mjs +0 -6
  151. package/esm2020/cms/decorators/index.mjs +0 -2
  152. package/esm2020/cms/definitions/index.mjs +0 -2
  153. package/esm2020/cms/definitions/ui-builder.definitions.mjs +0 -18
  154. package/esm2020/cms/directives/custom-template.directive.mjs +0 -38
  155. package/esm2020/cms/engine/models/entity.mjs +0 -17
  156. package/esm2020/cms/engine/models/plugin.mjs +0 -6
  157. package/esm2020/cms/index.mjs +0 -16
  158. package/esm2020/cms/injection-tokens.mjs +0 -7
  159. package/esm2020/cms/launcher.module.mjs +0 -24
  160. package/esm2020/cms/modules/federated/default-options.mjs +0 -5
  161. package/esm2020/cms/modules/federated/export.mjs +0 -2
  162. package/esm2020/cms/modules/federated/federated-host.directive.mjs +0 -16
  163. package/esm2020/cms/modules/federated/federated.component.mjs +0 -74
  164. package/esm2020/cms/modules/federated/federated.module.mjs +0 -20
  165. package/esm2020/cms/modules/federated/federated.types.mjs +0 -2
  166. package/esm2020/cms/modules/migrations/index.mjs +0 -3
  167. package/esm2020/cms/modules/migrations/migrations.mjs +0 -22
  168. package/esm2020/cms/modules/migrations/migrations.module.mjs +0 -15
  169. package/esm2020/cms/modules/migrations/services/migrations.service.mjs +0 -47
  170. package/esm2020/cms/modules/migrations/types/migrations.types.mjs +0 -2
  171. package/esm2020/cms/modules/runtime/index.mjs +0 -4
  172. package/esm2020/cms/modules/runtime/runtime.module.mjs +0 -32
  173. package/esm2020/cms/modules/runtime/services/compilation.service.mjs +0 -93
  174. package/esm2020/cms/modules/runtime/services/runtime-editor.service.mjs +0 -30
  175. package/esm2020/cms/modules/runtime/services/runtime.service.mjs +0 -117
  176. package/esm2020/cms/modules/runtime/tokens.mjs +0 -3
  177. package/esm2020/cms/modules/runtime/types/compilation.types.mjs +0 -2
  178. package/esm2020/cms/modules/runtime/types/runtime.actions.mjs +0 -2
  179. package/esm2020/cms/plugins/element-hover.plugin.mjs +0 -121
  180. package/esm2020/cms/plugins/io.plugin.mjs +0 -45
  181. package/esm2020/cms/plugins/page.plugin.mjs +0 -37
  182. package/esm2020/cms/plugins/region.plugin.mjs +0 -59
  183. package/esm2020/cms/plugins/script.plugin.mjs +0 -31
  184. package/esm2020/cms/services/element-context.service.mjs +0 -10
  185. package/esm2020/cms/services/index.mjs +0 -3
  186. package/esm2020/cms/services/io-provider.service.mjs +0 -53
  187. package/esm2020/cms/services/resources.service.mjs +0 -71
  188. package/esm2020/cms/services/templates.service.mjs +0 -32
  189. package/esm2020/cms/types/common.types.mjs +0 -2
  190. package/esm2020/cms/types/elements.types.mjs +0 -2
  191. package/esm2020/cms/types/index.mjs +0 -7
  192. package/esm2020/cms/types/layouts.types.mjs +0 -71
  193. package/esm2020/cms/types/pages.types.mjs +0 -2
  194. package/esm2020/cms/types/path.types.mjs +0 -2
  195. package/esm2020/cms/utils/element-metadata-worker.mjs +0 -31
  196. package/esm2020/cms/utils/element.utils.mjs +0 -182
  197. package/esm2020/cms/utils/elements-resolver.mjs +0 -206
  198. package/esm2020/cms/utils/encoding.utils.mjs +0 -29
  199. package/esm2020/cms/utils/index.mjs +0 -10
  200. package/esm2020/cms/utils/inject.mjs +0 -27
  201. package/esm2020/cms/utils/path.utils.mjs +0 -44
  202. package/esm2020/cms/utils/script.utils.mjs +0 -46
  203. package/esm2020/cms/utils/transpilation-worker.mjs +0 -52
  204. package/esm2020/cms/utils/ui-builder-layout.utils.mjs +0 -46
  205. package/esm2020/cms/utils/ui-definition.utils.mjs +0 -85
  206. package/esm2020/cms/veloceapps-sdk-cms.mjs +0 -5
  207. package/esm2020/cms/vendor-map.mjs +0 -83
  208. package/esm2020/core/core.module.mjs +0 -54
  209. package/esm2020/core/directives/directives.module.mjs +0 -16
  210. package/esm2020/core/directives/index.mjs +0 -3
  211. package/esm2020/core/directives/primeng-calendar.directive.mjs +0 -41
  212. package/esm2020/core/index.mjs +0 -9
  213. package/esm2020/core/modules/configuration/configuration.module.mjs +0 -34
  214. package/esm2020/core/modules/configuration/index.mjs +0 -7
  215. package/esm2020/core/modules/configuration/services/configuration-runtime.service.mjs +0 -38
  216. package/esm2020/core/modules/configuration/services/configuration-state.service.mjs +0 -381
  217. package/esm2020/core/modules/configuration/services/configuration.service.mjs +0 -172
  218. package/esm2020/core/modules/configuration/services/guided-selling.service.mjs +0 -62
  219. package/esm2020/core/modules/configuration/services/test-mode-configuration.service.mjs +0 -97
  220. package/esm2020/core/modules/configuration/types/configuration-runtime.types.mjs +0 -2
  221. package/esm2020/core/modules/configuration/types/configuration.types.mjs +0 -2
  222. package/esm2020/core/modules/configuration/types/index.mjs +0 -3
  223. package/esm2020/core/modules/flow-configuration/flow-configuration.module.mjs +0 -17
  224. package/esm2020/core/modules/flow-configuration/index.mjs +0 -2
  225. package/esm2020/core/modules/flow-configuration/services/flow-configuration.service.mjs +0 -80
  226. package/esm2020/core/modules/index.mjs +0 -3
  227. package/esm2020/core/operators/filter-successful-execute.operator.mjs +0 -5
  228. package/esm2020/core/operators/index.mjs +0 -2
  229. package/esm2020/core/pipes/action-code.pipe.mjs +0 -20
  230. package/esm2020/core/pipes/date.pipe.mjs +0 -44
  231. package/esm2020/core/pipes/index.mjs +0 -6
  232. package/esm2020/core/pipes/number.pipe.mjs +0 -27
  233. package/esm2020/core/pipes/pipes.module.mjs +0 -19
  234. package/esm2020/core/pipes/price.pipe.mjs +0 -30
  235. package/esm2020/core/services/catalog-products.service.mjs +0 -25
  236. package/esm2020/core/services/flow-info.service.mjs +0 -146
  237. package/esm2020/core/services/flow-state-configuration.service.mjs +0 -120
  238. package/esm2020/core/services/flow-state.service.mjs +0 -417
  239. package/esm2020/core/services/index.mjs +0 -9
  240. package/esm2020/core/services/integration.state.mjs +0 -36
  241. package/esm2020/core/services/product-images.service.mjs +0 -30
  242. package/esm2020/core/services/runtime-settings.service.mjs +0 -112
  243. package/esm2020/core/services/sales-transaction.service.mjs +0 -67
  244. package/esm2020/core/types/flow-customization.types.mjs +0 -3
  245. package/esm2020/core/types/flow-state.types.mjs +0 -2
  246. package/esm2020/core/types/formatting-settings.types.mjs +0 -3
  247. package/esm2020/core/types/index.mjs +0 -6
  248. package/esm2020/core/types/integration.types.mjs +0 -2
  249. package/esm2020/core/types/pipe.types.mjs +0 -2
  250. package/esm2020/core/types/ui-definition.types.mjs +0 -2
  251. package/esm2020/core/utils/index.mjs +0 -5
  252. package/esm2020/core/utils/pcm.utils.mjs +0 -15
  253. package/esm2020/core/utils/transaction-item.utils.mjs +0 -144
  254. package/esm2020/core/utils/transaction-item.worker.mjs +0 -16
  255. package/esm2020/core/utils/ui-definition.utils.mjs +0 -9
  256. package/esm2020/core/veloceapps-sdk-core.mjs +0 -5
  257. package/esm2020/index.mjs +0 -2
  258. package/esm2020/src/components/dialog/dialog.component.mjs +0 -36
  259. package/esm2020/src/components/dialog/dialog.module.mjs +0 -19
  260. package/esm2020/src/components/dialog/dialog.types.mjs +0 -2
  261. package/esm2020/src/components/flow-header/flow-header.component.mjs +0 -107
  262. package/esm2020/src/components/flow-header/flow-header.module.mjs +0 -19
  263. package/esm2020/src/components/flow-header/index.mjs +0 -2
  264. package/esm2020/src/components/guided-selling/guided-selling.component.mjs +0 -107
  265. package/esm2020/src/components/guided-selling/guided-selling.module.mjs +0 -19
  266. package/esm2020/src/configure-primeng.mjs +0 -33
  267. package/esm2020/src/constants.mjs +0 -2
  268. package/esm2020/src/flow-routing.module.mjs +0 -97
  269. package/esm2020/src/flow.component.mjs +0 -39
  270. package/esm2020/src/flow.module.mjs +0 -60
  271. package/esm2020/src/guards/flow.guard.mjs +0 -35
  272. package/esm2020/src/guards/product-unload.guard.mjs +0 -49
  273. package/esm2020/src/guards/root.guard.mjs +0 -46
  274. package/esm2020/src/index.mjs +0 -5
  275. package/esm2020/src/pages/assets/assets.component.mjs +0 -106
  276. package/esm2020/src/pages/assets/assets.module.mjs +0 -20
  277. package/esm2020/src/pages/catalog/catalog.component.mjs +0 -106
  278. package/esm2020/src/pages/catalog/catalog.module.mjs +0 -20
  279. package/esm2020/src/pages/debug/debug.component.mjs +0 -49
  280. package/esm2020/src/pages/debug/debug.module.mjs +0 -46
  281. package/esm2020/src/pages/product/product.component.mjs +0 -55
  282. package/esm2020/src/pages/product/product.module.mjs +0 -20
  283. package/esm2020/src/pages/record-not-found/record-not-found.component.mjs +0 -27
  284. package/esm2020/src/pages/record-not-found/record-not-found.module.mjs +0 -20
  285. package/esm2020/src/pages/shopping-cart/shopping-cart.component.mjs +0 -106
  286. package/esm2020/src/pages/shopping-cart/shopping-cart.module.mjs +0 -20
  287. package/esm2020/src/resolvers/flow.resolver.mjs +0 -50
  288. package/esm2020/src/resolvers/pcm-model.resolver.mjs +0 -12
  289. package/esm2020/src/resolvers/sales-transaction.resolver.mjs +0 -64
  290. package/esm2020/src/resolvers/ui-definition.resolver.mjs +0 -44
  291. package/esm2020/src/services/flow-dialog.service.mjs +0 -91
  292. package/esm2020/src/services/flow-router.service.mjs +0 -173
  293. package/esm2020/src/services/flow.service.mjs +0 -102
  294. package/esm2020/src/services/guided-selling.service.mjs +0 -34
  295. package/esm2020/src/services/index.mjs +0 -4
  296. package/esm2020/src/types/index.mjs +0 -2
  297. package/esm2020/src/types/route.types.mjs +0 -2
  298. package/esm2020/veloceapps-sdk.mjs +0 -5
  299. package/fesm2015/veloceapps-sdk-cms.mjs +0 -2514
  300. package/fesm2015/veloceapps-sdk-cms.mjs.map +0 -1
  301. package/fesm2015/veloceapps-sdk-core.mjs +0 -2104
  302. package/fesm2015/veloceapps-sdk-core.mjs.map +0 -1
  303. package/fesm2015/veloceapps-sdk.mjs +0 -1598
  304. package/fesm2015/veloceapps-sdk.mjs.map +0 -1
  305. package/fesm2020/veloceapps-sdk-cms.mjs +0 -2613
  306. package/fesm2020/veloceapps-sdk-cms.mjs.map +0 -1
  307. package/fesm2020/veloceapps-sdk-core.mjs.map +0 -1
  308. package/fesm2020/veloceapps-sdk.mjs.map +0 -1
  309. package/src/components/dialog/dialog.component.d.ts +0 -13
  310. package/src/components/dialog/dialog.module.d.ts +0 -9
  311. package/src/components/dialog/dialog.types.d.ts +0 -7
  312. package/src/components/flow-header/flow-header.component.d.ts +0 -25
  313. package/src/components/flow-header/flow-header.module.d.ts +0 -9
  314. package/src/components/flow-header/index.d.ts +0 -1
  315. package/src/components/guided-selling/guided-selling.component.d.ts +0 -25
  316. package/src/components/guided-selling/guided-selling.module.d.ts +0 -9
  317. package/src/configure-primeng.d.ts +0 -1
  318. package/src/constants.d.ts +0 -1
  319. package/src/flow-routing.module.d.ts +0 -11
  320. package/src/flow.component.d.ts +0 -21
  321. package/src/flow.module.d.ts +0 -16
  322. package/src/guards/flow.guard.d.ts +0 -2
  323. package/src/guards/product-unload.guard.d.ts +0 -16
  324. package/src/guards/root.guard.d.ts +0 -14
  325. package/src/index.d.ts +0 -4
  326. package/src/pages/assets/assets.component.d.ts +0 -31
  327. package/src/pages/assets/assets.module.d.ts +0 -10
  328. package/src/pages/catalog/catalog.component.d.ts +0 -31
  329. package/src/pages/catalog/catalog.module.d.ts +0 -10
  330. package/src/pages/debug/debug.component.d.ts +0 -21
  331. package/src/pages/debug/debug.module.d.ts +0 -14
  332. package/src/pages/product/product.component.d.ts +0 -24
  333. package/src/pages/product/product.module.d.ts +0 -10
  334. package/src/pages/record-not-found/record-not-found.component.d.ts +0 -12
  335. package/src/pages/record-not-found/record-not-found.module.d.ts +0 -9
  336. package/src/pages/shopping-cart/shopping-cart.component.d.ts +0 -31
  337. package/src/pages/shopping-cart/shopping-cart.module.d.ts +0 -10
  338. package/src/resolvers/flow.resolver.d.ts +0 -14
  339. package/src/resolvers/pcm-model.resolver.d.ts +0 -3
  340. package/src/resolvers/sales-transaction.resolver.d.ts +0 -18
  341. package/src/resolvers/ui-definition.resolver.d.ts +0 -3
  342. package/src/services/flow-dialog.service.d.ts +0 -23
  343. package/src/services/flow-router.service.d.ts +0 -42
  344. package/src/services/flow.service.d.ts +0 -21
  345. package/src/services/guided-selling.service.d.ts +0 -13
  346. package/src/services/index.d.ts +0 -3
  347. package/src/types/index.d.ts +0 -1
  348. package/src/types/route.types.d.ts +0 -4
package/index.d.ts CHANGED
@@ -1 +1,330 @@
1
- export * from './src';
1
+ import * as i0 from '@angular/core';
2
+ import { OnDestroy, OnInit, ChangeDetectorRef } from '@angular/core';
3
+ import * as i9 from '@veloceapps/sdk/core';
4
+ import { RuntimeSettingsService, FlowInfoService, IntegrationState, ConfigurationService, ConfigurationStateService, FlowStateService, ConfigurationRuntimeService, FlowCustomization } from '@veloceapps/sdk/core';
5
+ import * as rxjs from 'rxjs';
6
+ import { Observable, BehaviorSubject } from 'rxjs';
7
+ import * as i3 from '@veloceapps/sdk/cms';
8
+ import { IntegrationState as IntegrationState$1, CMSPreviewConfig } from '@veloceapps/sdk/cms';
9
+ import { DialogService, DynamicDialogConfig, DynamicDialogRef } from 'primeng/dynamicdialog';
10
+ import * as i1 from '@angular/router';
11
+ import { Router, ActivatedRoute, ActivatedRouteSnapshot, Params, Route } from '@angular/router';
12
+ import * as i2 from '@angular/common';
13
+ import * as i4 from '@veloceapps/components';
14
+ import { ToastService } from '@veloceapps/components';
15
+ import { UIDefinitionContainer, UIDefinition } from '@veloceapps/core';
16
+ import { UITemplatesAdminApiService } from '@veloceapps/api/v2';
17
+ import * as i5 from '@veloceapps/api';
18
+ import * as i3$1 from 'primeng/button';
19
+
20
+ declare const VELOCE_FLOW_ROOT_ROUTE = "VELOCE_FLOW_ROOT_ROUTE";
21
+
22
+ interface FlowDialogConfig {
23
+ title: string;
24
+ description?: string;
25
+ primaryButton: string;
26
+ secondaryButton?: string;
27
+ oppositeButtonActions?: boolean;
28
+ }
29
+
30
+ type FlowDialogFn = keyof Omit<FlowDialogService, 'show' | 'constructor'>;
31
+ declare class FlowDialogService {
32
+ private dialogService;
33
+ private runtimeSettings;
34
+ private flowInfoService;
35
+ constructor(dialogService: DialogService, runtimeSettings: RuntimeSettingsService, flowInfoService: FlowInfoService);
36
+ show(config: FlowDialogConfig): Observable<boolean>;
37
+ showEmptyCartDialog(): Observable<boolean>;
38
+ showReadonlyModeDialog(): Observable<boolean>;
39
+ showQuoteReadonlyModeDialog(): Observable<boolean>;
40
+ showQuoteInConfiguratorDialog(): Observable<boolean>;
41
+ showAccountNoChangesDialog(): Observable<boolean>;
42
+ showUnsavedChangesDialog(): Observable<boolean>;
43
+ showTermsLimitReachedDialog(): Observable<boolean>;
44
+ showDialog(dialog: FlowDialogFn): Observable<boolean>;
45
+ static ɵfac: i0.ɵɵFactoryDeclaration<FlowDialogService, never>;
46
+ static ɵprov: i0.ɵɵInjectableDeclaration<FlowDialogService>;
47
+ }
48
+
49
+ declare class FlowRouterService {
50
+ private router;
51
+ private route;
52
+ private integrationState;
53
+ private flowInfoService;
54
+ loading$: Observable<boolean>;
55
+ private routeChange$;
56
+ private lastChildParams$;
57
+ private lastChildRoute$;
58
+ private urlHistory;
59
+ constructor(router: Router, route: ActivatedRoute, integrationState: IntegrationState, flowInfoService: FlowInfoService);
60
+ get route$(): Observable<ActivatedRouteSnapshot>;
61
+ get params$(): Observable<Params>;
62
+ get params(): Params;
63
+ getFlowRootRoute(route: ActivatedRouteSnapshot): ActivatedRouteSnapshot | undefined;
64
+ getFlowRootPath(route: ActivatedRouteSnapshot): string;
65
+ getLastChildRoute: (route: ActivatedRoute) => ActivatedRoute;
66
+ getNthChildRoute: (route: ActivatedRoute, index: number) => ActivatedRoute;
67
+ getLastChildRouteSnapshot: (route: ActivatedRouteSnapshot) => ActivatedRouteSnapshot;
68
+ watchLastChildRoute$: (route: ActivatedRoute) => Observable<ActivatedRouteSnapshot>;
69
+ getLastChildParams: (route: ActivatedRouteSnapshot) => Params;
70
+ watchLastChildParams$: (route: ActivatedRoute) => Observable<Params>;
71
+ getFlowSubpath$: () => Observable<string>;
72
+ isConfigurationRoute$(): Observable<boolean>;
73
+ isCartRoute$(): Observable<boolean>;
74
+ isCatalogRoute$(): Observable<boolean>;
75
+ isAssetsRoute$(): Observable<boolean>;
76
+ navigateBack(): void;
77
+ navigateTo(path: string, productId?: string, transactionItemId?: string): void;
78
+ navigateToProductConfiguration(productId: string, transactionItemId?: string): void;
79
+ navigateToShoppingCart(): void;
80
+ navigateToCatalog(): void;
81
+ navigateToAssets(): void;
82
+ showErrorPage$(message: string, details?: string[]): Observable<false>;
83
+ switchObject(id: string): void;
84
+ static ɵfac: i0.ɵɵFactoryDeclaration<FlowRouterService, never>;
85
+ static ɵprov: i0.ɵɵInjectableDeclaration<FlowRouterService>;
86
+ }
87
+
88
+ declare class FlowService {
89
+ private integrationState;
90
+ private flowRouterService;
91
+ private configurationService;
92
+ private configurationStateService;
93
+ private flowDialogService;
94
+ private flowStateService;
95
+ private flowInfoService;
96
+ private cleanup$;
97
+ constructor(integrationState: IntegrationState$1, flowRouterService: FlowRouterService, configurationService: ConfigurationService, configurationStateService: ConfigurationStateService, flowDialogService: FlowDialogService, flowStateService: FlowStateService, flowInfoService: FlowInfoService);
98
+ cleanup(): void;
99
+ initSubscriptions(): void;
100
+ private updateFlowParams;
101
+ static ɵfac: i0.ɵɵFactoryDeclaration<FlowService, never>;
102
+ static ɵprov: i0.ɵɵInjectableDeclaration<FlowService>;
103
+ }
104
+
105
+ declare class FlowGuidedSellingService {
106
+ private integrationState;
107
+ private cleanup$;
108
+ private isVisibleSubj$;
109
+ isVisible$: rxjs.Observable<boolean>;
110
+ constructor(integrationState: IntegrationState);
111
+ cleanup(): void;
112
+ private initSubscriptions;
113
+ static ɵfac: i0.ɵɵFactoryDeclaration<FlowGuidedSellingService, never>;
114
+ static ɵprov: i0.ɵɵInjectableDeclaration<FlowGuidedSellingService>;
115
+ }
116
+
117
+ declare class FlowComponent implements OnDestroy {
118
+ private routerService;
119
+ private flowService;
120
+ private flowInfoService;
121
+ private guidedSellingService;
122
+ isLoading$: Observable<boolean>;
123
+ showHeader$: Observable<boolean>;
124
+ isStandalone$: Observable<boolean>;
125
+ guidedSellingVisible$: Observable<boolean>;
126
+ constructor(routerService: FlowRouterService, flowService: FlowService, flowInfoService: FlowInfoService, guidedSellingService: FlowGuidedSellingService);
127
+ ngOnDestroy(): void;
128
+ static ɵfac: i0.ɵɵFactoryDeclaration<FlowComponent, never>;
129
+ static ɵcmp: i0.ɵɵComponentDeclaration<FlowComponent, "vl-flow", never, {}, {}, never, never, false, never>;
130
+ }
131
+
132
+ declare class ProductComponent implements OnInit, OnDestroy {
133
+ private configurationRuntimeService;
134
+ private configurationStateService;
135
+ private flowService;
136
+ private route;
137
+ config: CMSPreviewConfig;
138
+ uiDefinitionContainer$: BehaviorSubject<UIDefinitionContainer | null>;
139
+ showNotFound$: BehaviorSubject<boolean>;
140
+ isInitialized$: BehaviorSubject<boolean>;
141
+ private destroy$;
142
+ constructor(configurationRuntimeService: ConfigurationRuntimeService, configurationStateService: ConfigurationStateService, flowService: FlowInfoService, route: ActivatedRoute);
143
+ ngOnInit(): void;
144
+ ngOnDestroy(): void;
145
+ private init$;
146
+ static ɵfac: i0.ɵɵFactoryDeclaration<ProductComponent, never>;
147
+ static ɵcmp: i0.ɵɵComponentDeclaration<ProductComponent, "vl-flow-product", never, {}, {}, never, never, false, never>;
148
+ }
149
+
150
+ declare class ProductModule {
151
+ static ɵfac: i0.ɵɵFactoryDeclaration<ProductModule, never>;
152
+ static ɵmod: i0.ɵɵNgModuleDeclaration<ProductModule, [typeof ProductComponent], [typeof i2.CommonModule, typeof i3.PreviewModule, typeof i4.LoaderModule, typeof i4.LetDirectiveModule], [typeof ProductComponent]>;
153
+ static ɵinj: i0.ɵɵInjectorDeclaration<ProductModule>;
154
+ }
155
+
156
+ interface State$2 {
157
+ loading: boolean;
158
+ failure: boolean;
159
+ }
160
+ declare class ShoppingCartComponent implements OnInit, OnDestroy {
161
+ private templatesAdminApiService;
162
+ private cdr;
163
+ private toastService;
164
+ private flowInfo;
165
+ private customizationService?;
166
+ uiDefinition?: UIDefinition;
167
+ state$: BehaviorSubject<State$2>;
168
+ private templateApiName;
169
+ private destroyed$;
170
+ constructor(templatesAdminApiService: UITemplatesAdminApiService, cdr: ChangeDetectorRef, toastService: ToastService, flowInfo: FlowInfoService, customizationService?: FlowCustomization | undefined);
171
+ ngOnInit(): void;
172
+ ngOnDestroy(): void;
173
+ private getLocalMeta$;
174
+ private getOrgMeta$;
175
+ private generateUIDefinition$;
176
+ static ɵfac: i0.ɵɵFactoryDeclaration<ShoppingCartComponent, [null, null, null, null, { optional: true; }]>;
177
+ static ɵcmp: i0.ɵɵComponentDeclaration<ShoppingCartComponent, "vl-flow-shopping-cart", never, {}, {}, never, never, false, never>;
178
+ }
179
+
180
+ declare class ShoppingCartModule {
181
+ static ɵfac: i0.ɵɵFactoryDeclaration<ShoppingCartModule, never>;
182
+ static ɵmod: i0.ɵɵNgModuleDeclaration<ShoppingCartModule, [typeof ShoppingCartComponent], [typeof i2.CommonModule, typeof i3.PreviewModule, typeof i4.LoaderModule], [typeof ShoppingCartComponent]>;
183
+ static ɵinj: i0.ɵɵInjectorDeclaration<ShoppingCartModule>;
184
+ }
185
+
186
+ interface State$1 {
187
+ loading: boolean;
188
+ failure: boolean;
189
+ }
190
+ declare class CatalogComponent implements OnInit, OnDestroy {
191
+ private templatesAdminApiService;
192
+ private cdr;
193
+ private toastService;
194
+ private flowInfo;
195
+ private customizationService?;
196
+ uiDefinition?: UIDefinition;
197
+ state$: BehaviorSubject<State$1>;
198
+ private templateApiName;
199
+ private destroyed$;
200
+ constructor(templatesAdminApiService: UITemplatesAdminApiService, cdr: ChangeDetectorRef, toastService: ToastService, flowInfo: FlowInfoService, customizationService?: FlowCustomization | undefined);
201
+ ngOnInit(): void;
202
+ ngOnDestroy(): void;
203
+ private getLocalMeta$;
204
+ private getOrgMeta$;
205
+ private generateUIDefinition$;
206
+ static ɵfac: i0.ɵɵFactoryDeclaration<CatalogComponent, [null, null, null, null, { optional: true; }]>;
207
+ static ɵcmp: i0.ɵɵComponentDeclaration<CatalogComponent, "vl-flow-catalog", never, {}, {}, never, never, false, never>;
208
+ }
209
+
210
+ declare class CatalogModule {
211
+ static ɵfac: i0.ɵɵFactoryDeclaration<CatalogModule, never>;
212
+ static ɵmod: i0.ɵɵNgModuleDeclaration<CatalogModule, [typeof CatalogComponent], [typeof i2.CommonModule, typeof i3.PreviewModule, typeof i4.LoaderModule], [typeof CatalogComponent]>;
213
+ static ɵinj: i0.ɵɵInjectorDeclaration<CatalogModule>;
214
+ }
215
+
216
+ interface State {
217
+ loading: boolean;
218
+ failure: boolean;
219
+ }
220
+ declare class AssetsComponent implements OnInit, OnDestroy {
221
+ private templatesAdminApiService;
222
+ private cdr;
223
+ private toastService;
224
+ private flowInfo;
225
+ private customizationService?;
226
+ uiDefinition?: UIDefinition;
227
+ state$: BehaviorSubject<State>;
228
+ private templateApiName;
229
+ private destroyed$;
230
+ constructor(templatesAdminApiService: UITemplatesAdminApiService, cdr: ChangeDetectorRef, toastService: ToastService, flowInfo: FlowInfoService, customizationService?: FlowCustomization | undefined);
231
+ ngOnInit(): void;
232
+ ngOnDestroy(): void;
233
+ private getLocalMeta$;
234
+ private getOrgMeta$;
235
+ private generateUIDefinition$;
236
+ static ɵfac: i0.ɵɵFactoryDeclaration<AssetsComponent, [null, null, null, null, { optional: true; }]>;
237
+ static ɵcmp: i0.ɵɵComponentDeclaration<AssetsComponent, "vl-flow-assets", never, {}, {}, never, never, false, never>;
238
+ }
239
+
240
+ declare class AssetsModule {
241
+ static ɵfac: i0.ɵɵFactoryDeclaration<AssetsModule, never>;
242
+ static ɵmod: i0.ɵɵNgModuleDeclaration<AssetsModule, [typeof AssetsComponent], [typeof i2.CommonModule, typeof i3.PreviewModule, typeof i4.LoaderModule], [typeof AssetsComponent]>;
243
+ static ɵinj: i0.ɵɵInjectorDeclaration<AssetsModule>;
244
+ }
245
+
246
+ declare class FlowRoutingModule {
247
+ static ɵfac: i0.ɵɵFactoryDeclaration<FlowRoutingModule, never>;
248
+ static ɵmod: i0.ɵɵNgModuleDeclaration<FlowRoutingModule, never, [typeof i1.RouterModule, typeof ProductModule, typeof ShoppingCartModule, typeof CatalogModule, typeof AssetsModule], [typeof i1.RouterModule]>;
249
+ static ɵinj: i0.ɵɵInjectorDeclaration<FlowRoutingModule>;
250
+ }
251
+
252
+ declare class FlowHeaderComponent implements OnDestroy {
253
+ private templatesAdminApiService;
254
+ private flowStateService;
255
+ private flowInfo;
256
+ private toastService;
257
+ private customizationService?;
258
+ uiDefinition$: BehaviorSubject<UIDefinition | null>;
259
+ private templateApiName;
260
+ private destroy$;
261
+ constructor(templatesAdminApiService: UITemplatesAdminApiService, flowStateService: FlowStateService, flowInfo: FlowInfoService, toastService: ToastService, customizationService?: FlowCustomization | undefined);
262
+ ngOnDestroy(): void;
263
+ private initialize;
264
+ private getLocalMeta$;
265
+ private getOrgMeta$;
266
+ private generateUIDefinition$;
267
+ static ɵfac: i0.ɵɵFactoryDeclaration<FlowHeaderComponent, [null, null, null, null, { optional: true; }]>;
268
+ static ɵcmp: i0.ɵɵComponentDeclaration<FlowHeaderComponent, "vl-flow-new-header", never, {}, {}, never, never, false, never>;
269
+ }
270
+
271
+ declare class FlowNewHeaderModule {
272
+ static ɵfac: i0.ɵɵFactoryDeclaration<FlowNewHeaderModule, never>;
273
+ static ɵmod: i0.ɵɵNgModuleDeclaration<FlowNewHeaderModule, [typeof FlowHeaderComponent], [typeof i2.CommonModule, typeof i3.PreviewModule], [typeof FlowHeaderComponent]>;
274
+ static ɵinj: i0.ɵɵInjectorDeclaration<FlowNewHeaderModule>;
275
+ }
276
+
277
+ declare class FlowDialogComponent {
278
+ private dialogConfig;
279
+ private ref;
280
+ config: FlowDialogConfig;
281
+ constructor(dialogConfig: DynamicDialogConfig, ref: DynamicDialogRef);
282
+ cancelHandler(): void;
283
+ confirmHandler(): void;
284
+ static ɵfac: i0.ɵɵFactoryDeclaration<FlowDialogComponent, never>;
285
+ static ɵcmp: i0.ɵɵComponentDeclaration<FlowDialogComponent, "vl-flow-dialog", never, {}, {}, never, never, false, never>;
286
+ }
287
+
288
+ declare class FlowDialogModule {
289
+ static ɵfac: i0.ɵɵFactoryDeclaration<FlowDialogModule, never>;
290
+ static ɵmod: i0.ɵɵNgModuleDeclaration<FlowDialogModule, [typeof FlowDialogComponent], [typeof i2.CommonModule, typeof i3$1.ButtonModule], [typeof FlowDialogComponent]>;
291
+ static ɵinj: i0.ɵɵInjectorDeclaration<FlowDialogModule>;
292
+ }
293
+
294
+ declare class GuidedSellingComponent implements OnDestroy {
295
+ private templatesAdminApiService;
296
+ private flowStateService;
297
+ private flowInfo;
298
+ private toastService;
299
+ private customizationService?;
300
+ uiDefinition$: BehaviorSubject<UIDefinition | null>;
301
+ private templateApiName;
302
+ private destroy$;
303
+ constructor(templatesAdminApiService: UITemplatesAdminApiService, flowStateService: FlowStateService, flowInfo: FlowInfoService, toastService: ToastService, customizationService?: FlowCustomization | undefined);
304
+ ngOnDestroy(): void;
305
+ private initialize;
306
+ private getLocalMeta$;
307
+ private getOrgMeta$;
308
+ private generateUIDefinition$;
309
+ static ɵfac: i0.ɵɵFactoryDeclaration<GuidedSellingComponent, [null, null, null, null, { optional: true; }]>;
310
+ static ɵcmp: i0.ɵɵComponentDeclaration<GuidedSellingComponent, "vl-flow-guided-selling", never, {}, {}, never, never, false, never>;
311
+ }
312
+
313
+ declare class GuidedSellingModule {
314
+ static ɵfac: i0.ɵɵFactoryDeclaration<GuidedSellingModule, never>;
315
+ static ɵmod: i0.ɵɵNgModuleDeclaration<GuidedSellingModule, [typeof GuidedSellingComponent], [typeof i2.CommonModule, typeof i3.PreviewModule], [typeof GuidedSellingComponent]>;
316
+ static ɵinj: i0.ɵɵInjectorDeclaration<GuidedSellingModule>;
317
+ }
318
+
319
+ declare class FlowModule {
320
+ static ɵfac: i0.ɵɵFactoryDeclaration<FlowModule, never>;
321
+ static ɵmod: i0.ɵɵNgModuleDeclaration<FlowModule, [typeof FlowComponent], [typeof i2.CommonModule, typeof i4.LetDirectiveModule, typeof FlowRoutingModule, typeof i5.ApiModule, typeof i3.LauncherModule, typeof i4.LoaderModule, typeof FlowNewHeaderModule, typeof FlowDialogModule, typeof i9.SdkCoreModule, typeof GuidedSellingModule], never>;
322
+ static ɵinj: i0.ɵɵInjectorDeclaration<FlowModule>;
323
+ }
324
+
325
+ interface RouteWithId extends Route {
326
+ id?: string;
327
+ }
328
+
329
+ export { FlowDialogService, FlowModule, FlowRouterService, FlowService, VELOCE_FLOW_ROOT_ROUTE };
330
+ export type { FlowDialogFn, RouteWithId };
package/package.json CHANGED
@@ -1,26 +1,25 @@
1
1
  {
2
2
  "name": "@veloceapps/sdk",
3
- "version": "12.0.0-12",
3
+ "version": "12.0.0-14",
4
4
  "private": false,
5
5
  "peerDependencies": {
6
- "@angular/animations": "~15.2.0",
7
- "@angular/common": "~15.2.0",
8
- "@angular/core": "~15.2.0",
9
- "@angular/forms": "~15.2.0",
10
- "@angular/platform-browser-dynamic": "~15.2.0",
11
- "@angular/platform-browser": "~15.2.0",
6
+ "@angular/animations": "~20.1.4",
7
+ "@angular/common": "~20.1.4",
8
+ "@angular/core": "~20.1.4",
9
+ "@angular/forms": "~20.1.4",
10
+ "@angular/platform-browser-dynamic": "~20.1.4",
11
+ "@angular/platform-browser": "~20.1.4",
12
12
  "@veloceapps/core": "^12.0.0-0",
13
13
  "@veloceapps/api": "^12.0.0-0",
14
14
  "@veloceapps/components": "^12.0.0-0",
15
15
  "rxjs": "~7.8.0",
16
- "zone.js": "~0.12.0",
17
- "sass": "1.69.5"
16
+ "zone.js": "~0.12.0"
18
17
  },
19
18
  "dependencies": {
20
- "@angular/cdk": "^15.2.0",
21
- "@angular/cdk-experimental": "^15.2.0",
22
- "@angular/compiler": "~15.2.0",
23
- "@angular-architects/module-federation": "^15.0.3",
19
+ "@angular/cdk": "~20.1.4",
20
+ "@angular/cdk-experimental": "~20.1.4",
21
+ "@angular/compiler": "~20.1.4",
22
+ "@angular-architects/module-federation": "20.0.0",
24
23
  "@babel/standalone": "^7.17.1",
25
24
  "moment": "^2.29.1",
26
25
  "ngx-drag-drop": "^13.0.1",
@@ -32,11 +31,7 @@
32
31
  "publishConfig": {
33
32
  "access": "public"
34
33
  },
35
- "module": "fesm2015/veloceapps-sdk.mjs",
36
- "es2020": "fesm2020/veloceapps-sdk.mjs",
37
- "esm2020": "esm2020/veloceapps-sdk.mjs",
38
- "fesm2020": "fesm2020/veloceapps-sdk.mjs",
39
- "fesm2015": "fesm2015/veloceapps-sdk.mjs",
34
+ "module": "fesm2022/veloceapps-sdk.mjs",
40
35
  "typings": "index.d.ts",
41
36
  "exports": {
42
37
  "./package.json": {
@@ -44,27 +39,15 @@
44
39
  },
45
40
  ".": {
46
41
  "types": "./index.d.ts",
47
- "esm2020": "./esm2020/veloceapps-sdk.mjs",
48
- "es2020": "./fesm2020/veloceapps-sdk.mjs",
49
- "es2015": "./fesm2015/veloceapps-sdk.mjs",
50
- "node": "./fesm2015/veloceapps-sdk.mjs",
51
- "default": "./fesm2020/veloceapps-sdk.mjs"
42
+ "default": "./fesm2022/veloceapps-sdk.mjs"
52
43
  },
53
44
  "./cms": {
54
45
  "types": "./cms/index.d.ts",
55
- "esm2020": "./esm2020/cms/veloceapps-sdk-cms.mjs",
56
- "es2020": "./fesm2020/veloceapps-sdk-cms.mjs",
57
- "es2015": "./fesm2015/veloceapps-sdk-cms.mjs",
58
- "node": "./fesm2015/veloceapps-sdk-cms.mjs",
59
- "default": "./fesm2020/veloceapps-sdk-cms.mjs"
46
+ "default": "./fesm2022/veloceapps-sdk-cms.mjs"
60
47
  },
61
48
  "./core": {
62
49
  "types": "./core/index.d.ts",
63
- "esm2020": "./esm2020/core/veloceapps-sdk-core.mjs",
64
- "es2020": "./fesm2020/veloceapps-sdk-core.mjs",
65
- "es2015": "./fesm2015/veloceapps-sdk-core.mjs",
66
- "node": "./fesm2015/veloceapps-sdk-core.mjs",
67
- "default": "./fesm2020/veloceapps-sdk-core.mjs"
50
+ "default": "./fesm2022/veloceapps-sdk-core.mjs"
68
51
  }
69
52
  }
70
- }
53
+ }
@@ -1,154 +0,0 @@
1
- export declare namespace FlowAction {
2
- const FLOW_CONFIGURE_PRODUCT = "[FLOW]_CONFIGURE_PRODUCT";
3
- const FLOW_NAVIGATE_BACK = "[FLOW]_NAVIGATE_BACK";
4
- const FLOW_NAVIGATE_TO = "[FLOW]_NAVIGATE_TO";
5
- const FLOW_NAVIGATE_TO_CATALOG = "[FLOW]_NAVIGATE_TO_CATALOG";
6
- const FLOW_NAVIGATE_TO_SHOPPING_CART = "[FLOW]_NAVIGATE_TO_SHOPPING_CART";
7
- const FLOW_APPLY_PRODUCT_CONFIGURATION = "[FLOW]_APPLY_PRODUCT_CONFIGURATION";
8
- const FLOW_OPEN_DOC_GEN = "[FLOW]_OPEN_DOC_GEN";
9
- const FLOW_CLOSE_DOC_GEN = "[FLOW]_CLOSE_DOC_GEN";
10
- const FLOW_SWITCH_OBJECT = "[FLOW]_SWITCH_OBJECT";
11
- const REMOTE_APPLY = "[FLOW]_REMOTE_APPLY";
12
- const REMOTE_CANCEL = "[FLOW]_REMOTE_CANCEL";
13
- const OPEN_GUIDED_SELLING = "[FLOW]_OPEN_GUIDED_SELLING";
14
- const SUBMIT_GUIDED_SELLING = "[FLOW]_SUBMIT_GUIDED_SELLING";
15
- const CLOSE_GUIDED_SELLING = "[FLOW]_CLOSE_GUIDED_SELLING";
16
- const OPEN_DIALOG = "[FLOW]_OPEN_DIALOG";
17
- const ConfigureProductAction: ({ transactionItemId, productId, qty, }: {
18
- transactionItemId?: string | undefined;
19
- productId?: string | undefined;
20
- qty?: number | undefined;
21
- }) => {
22
- type: string;
23
- payload: {
24
- transactionItemId: string | undefined;
25
- productId: string | undefined;
26
- qty: number | undefined;
27
- };
28
- };
29
- const NavigateBackAction: () => {
30
- type: string;
31
- };
32
- const NavigateToAction: (path: string, productId?: string, transactionItemId?: string) => {
33
- type: string;
34
- payload: {
35
- path: string;
36
- productId: string | undefined;
37
- transactionItemId: string | undefined;
38
- };
39
- };
40
- const NavigateToCatalogAction: () => {
41
- type: string;
42
- };
43
- const NavigateToShoppingCartAction: () => {
44
- type: string;
45
- };
46
- const ApplyProductConfigurationAction: () => {
47
- type: string;
48
- };
49
- const RemoteApplyAction: () => {
50
- type: string;
51
- };
52
- const RemoteCancelAction: () => {
53
- type: string;
54
- };
55
- const SwitchObjectAction: (payload: {
56
- id: string;
57
- }) => {
58
- type: string;
59
- payload: {
60
- id: string;
61
- };
62
- };
63
- const OpenGuidedSelling: (payload: {
64
- guidedSellingId: string;
65
- }) => {
66
- type: string;
67
- payload: {
68
- guidedSellingId: string;
69
- };
70
- };
71
- const CloseGuidedSelling: (payload?: {
72
- keepState?: boolean;
73
- }) => {
74
- type: string;
75
- payload: {
76
- keepState?: boolean | undefined;
77
- } | undefined;
78
- };
79
- const SubmitGuidedSelling: (payload: {
80
- result: Record<string, any>;
81
- }) => {
82
- type: string;
83
- payload: {
84
- result: Record<string, any>;
85
- };
86
- };
87
- const OpenDialog: (dialog: string) => {
88
- type: string;
89
- payload: {
90
- dialog: string;
91
- };
92
- };
93
- }
94
- export declare namespace CmsAction {
95
- const GO_TO_PAGE = "[CMS]_GO_TO_PAGE";
96
- const UPDATE_CUSTOMIZATION = "[CMS]_UPDATE_CUSTOMIZATION";
97
- const SHOW_OVERLAY = "[CMS]_SHOW_OVERLAY";
98
- const HIDE_OVERLAY = "[CMS]_HIDE_OVERLAY";
99
- const HIDE_ALL_OVERLAYS = "[CMS]_HIDE_ALL_OVERLAYS";
100
- /**
101
- * Navigate UI definition to a specific page
102
- *
103
- * @param pageName name of the page
104
- */
105
- const GoToPage: (pageName: string) => {
106
- type: string;
107
- payload: {
108
- pageName: string;
109
- };
110
- };
111
- /**
112
- * Update UI definition customization state
113
- *
114
- * @param pageName name of the page
115
- */
116
- const UpdateCustomization: (value: any) => {
117
- type: string;
118
- payload: {
119
- value: any;
120
- };
121
- };
122
- /**
123
- * Show an Overlay on the selected page
124
- *
125
- * @param name - name of the overlay
126
- * @returns void
127
- */
128
- const ShowOverlay: (name: string) => {
129
- type: string;
130
- payload: {
131
- name: string;
132
- };
133
- };
134
- /**
135
- * Hide an Overlay on the selected page
136
- *
137
- * @param name - name of the overlay
138
- * @returns void
139
- */
140
- const HideOverlay: (name: string) => {
141
- type: string;
142
- payload: {
143
- name: string;
144
- };
145
- };
146
- /**
147
- * Hide all Overlays on the selected page
148
- *
149
- * @returns void
150
- */
151
- const HideAllOverlays: () => {
152
- type: string;
153
- };
154
- }
@@ -1,5 +0,0 @@
1
- import { UIDefinitionType } from '@veloceapps/core';
2
- import { Plugin } from './engine/models/plugin';
3
- export declare const DEFAULT_PLUGINS: {
4
- [key in UIDefinitionType]: (typeof Plugin)[];
5
- };
@@ -1,4 +0,0 @@
1
- import { ELEMENT_TYPE, ElementConfig } from './types/common.types';
2
- export declare const CONFIG: {
3
- [key in ELEMENT_TYPE]: ElementConfig;
4
- };
@@ -1,4 +0,0 @@
1
- import { PageLayout, PageLayoutConfig } from './types/layouts.types';
2
- export declare const LAYOUT: {
3
- [key in PageLayout]: PageLayoutConfig;
4
- };
@@ -1,22 +0,0 @@
1
- import { ChangeDetectorRef, OnDestroy } from '@angular/core';
2
- import { Observable } from 'rxjs';
3
- import { RuntimeEditorService } from '../../modules/runtime/services/runtime-editor.service';
4
- import { RuntimeService } from '../../modules/runtime/services/runtime.service';
5
- import { ElementContextService } from '../../services/element-context.service';
6
- import { ElementMetadata } from '../../types/common.types';
7
- import * as i0 from "@angular/core";
8
- export declare class ElementChildrenComponent implements OnDestroy {
9
- private elementContext;
10
- private runtimeService;
11
- private runtimeEditorService;
12
- private cdr;
13
- filter?: (elements: ElementMetadata[]) => ElementMetadata[];
14
- metadata$: Observable<ElementMetadata | undefined>;
15
- dragMode$: Observable<boolean>;
16
- private destroyed$;
17
- constructor(elementContext: ElementContextService, runtimeService: RuntimeService, runtimeEditorService: RuntimeEditorService, cdr: ChangeDetectorRef);
18
- ngOnDestroy(): void;
19
- getFilteredChildren(elements: ElementMetadata[]): ElementMetadata[];
20
- static ɵfac: i0.ɵɵFactoryDeclaration<ElementChildrenComponent, never>;
21
- static ɵcmp: i0.ɵɵComponentDeclaration<ElementChildrenComponent, "element-children", never, { "filter": "filter"; }, {}, never, never, false, never>;
22
- }
@@ -1,11 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "./element-children.component";
3
- import * as i2 from "@angular/common";
4
- import * as i3 from "@veloceapps/components";
5
- import * as i4 from "../element-renderer/element-renderer.module";
6
- import * as i5 from "../element-drop-handle/element-drop-handle.module";
7
- export declare class ElementChildrenModule {
8
- static ɵfac: i0.ɵɵFactoryDeclaration<ElementChildrenModule, never>;
9
- static ɵmod: i0.ɵɵNgModuleDeclaration<ElementChildrenModule, [typeof i1.ElementChildrenComponent], [typeof i2.CommonModule, typeof i3.LetDirectiveModule, typeof i4.ElementRendererModule, typeof i5.ElementDropHandleModule], [typeof i1.ElementChildrenComponent]>;
10
- static ɵinj: i0.ɵɵInjectorDeclaration<ElementChildrenModule>;
11
- }
@@ -1,12 +0,0 @@
1
- import { DndDropEvent } from 'ngx-drag-drop';
2
- import { RuntimeEditorService } from '../../modules/runtime/services/runtime-editor.service';
3
- import * as i0 from "@angular/core";
4
- export declare class ElementDropHandleComponent {
5
- private runtimeService;
6
- index: number;
7
- parentPath: string;
8
- constructor(runtimeService: RuntimeEditorService);
9
- handleDrop(e: DndDropEvent): void;
10
- static ɵfac: i0.ɵɵFactoryDeclaration<ElementDropHandleComponent, never>;
11
- static ɵcmp: i0.ɵɵComponentDeclaration<ElementDropHandleComponent, "vl-element-drop-handle", never, { "index": "index"; "parentPath": "parentPath"; }, {}, never, never, false, never>;
12
- }
@@ -1,9 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "./element-drop-handle.component";
3
- import * as i2 from "@angular/common";
4
- import * as i3 from "ngx-drag-drop";
5
- export declare class ElementDropHandleModule {
6
- static ɵfac: i0.ɵɵFactoryDeclaration<ElementDropHandleModule, never>;
7
- static ɵmod: i0.ɵɵNgModuleDeclaration<ElementDropHandleModule, [typeof i1.ElementDropHandleComponent], [typeof i2.CommonModule, typeof i3.DndModule], [typeof i1.ElementDropHandleComponent]>;
8
- static ɵinj: i0.ɵɵInjectorDeclaration<ElementDropHandleModule>;
9
- }