@veloceapps/sdk 8.0.0-20 → 8.0.0-200

Sign up to get free protection for your applications and to get access to all the features.
Files changed (317) hide show
  1. package/README.md +0 -1
  2. package/cms/README.md +0 -20
  3. package/cms/cms.actions.d.ts +15 -1
  4. package/cms/components/preview/preview.component.d.ts +2 -3
  5. package/cms/components/preview/preview.types.d.ts +4 -0
  6. package/cms/index.d.ts +1 -0
  7. package/cms/modules/runtime/services/runtime.service.d.ts +1 -1
  8. package/cms/services/index.d.ts +0 -1
  9. package/cms/services/resources.service.d.ts +2 -0
  10. package/cms/types/index.d.ts +0 -1
  11. package/cms/utils/element-metadata-worker.d.ts +11 -0
  12. package/cms/utils/elements-resolver.d.ts +0 -2
  13. package/cms/utils/index.d.ts +3 -0
  14. package/cms/utils/transpilation-worker.d.ts +13 -0
  15. package/cms/vendor-map.d.ts +29 -19
  16. package/core/README.md +20 -0
  17. package/core/modules/configuration/configuration.module.d.ts +2 -1
  18. package/core/modules/configuration/helpers.d.ts +4 -3
  19. package/core/modules/configuration/index.d.ts +1 -1
  20. package/core/modules/configuration/services/configuration-runtime.service.d.ts +1 -1
  21. package/core/modules/configuration/services/configuration-state.service.d.ts +54 -0
  22. package/core/modules/configuration/services/configuration.service.d.ts +11 -6
  23. package/core/modules/configuration/types/configuration.types.d.ts +4 -0
  24. package/core/modules/flow-configuration/flow-configuration.module.d.ts +2 -1
  25. package/core/modules/flow-configuration/services/flow-configuration.service.d.ts +5 -0
  26. package/core/pipes/action-code.pipe.d.ts +8 -0
  27. package/core/pipes/date.pipe.d.ts +2 -1
  28. package/core/pipes/index.d.ts +1 -0
  29. package/core/pipes/pipes.module.d.ts +2 -1
  30. package/core/services/context.service.d.ts +4 -0
  31. package/core/services/flow-info.service.d.ts +29 -0
  32. package/core/services/flow-state-configuration.service.d.ts +19 -0
  33. package/core/services/flow-state.service.d.ts +80 -0
  34. package/core/services/index.d.ts +4 -1
  35. package/core/services/quote-draft.service.d.ts +12 -28
  36. package/core/services/runtime-settings.service.d.ts +4 -1
  37. package/core/types/flow-customization.types.d.ts +22 -0
  38. package/core/types/flow-state.types.d.ts +11 -0
  39. package/core/types/formatting-settings.types.d.ts +2 -0
  40. package/core/types/index.d.ts +3 -0
  41. package/{cms → core}/types/integration.types.d.ts +1 -1
  42. package/core/types/pipe.types.d.ts +1 -0
  43. package/core/utils/line-item.utils.d.ts +1 -3
  44. package/esm2020/cms/cms.actions.mjs +25 -1
  45. package/esm2020/cms/components/element-renderer/element-renderer.component.mjs +3 -3
  46. package/esm2020/cms/components/element-tools-panel/element-tools-panel.component.mjs +3 -3
  47. package/esm2020/cms/components/preview/preview.component.mjs +10 -10
  48. package/esm2020/cms/components/preview/preview.module.mjs +2 -2
  49. package/esm2020/cms/components/preview/preview.types.mjs +1 -1
  50. package/esm2020/cms/index.mjs +2 -1
  51. package/esm2020/cms/launcher.module.mjs +4 -4
  52. package/esm2020/cms/modules/migrations/migrations.mjs +2 -2
  53. package/esm2020/cms/modules/migrations/services/migrations.service.mjs +6 -2
  54. package/esm2020/cms/modules/runtime/services/compilation.service.mjs +11 -7
  55. package/esm2020/cms/modules/runtime/services/runtime.service.mjs +4 -4
  56. package/esm2020/cms/plugins/configuration.plugin.mjs +8 -4
  57. package/esm2020/cms/services/index.mjs +1 -2
  58. package/esm2020/cms/services/io-provider.service.mjs +10 -9
  59. package/esm2020/cms/services/resources.service.mjs +10 -6
  60. package/esm2020/cms/services/templates.service.mjs +10 -9
  61. package/esm2020/cms/types/index.mjs +1 -2
  62. package/esm2020/cms/utils/element-metadata-worker.mjs +31 -0
  63. package/esm2020/cms/utils/elements-resolver.mjs +14 -28
  64. package/esm2020/cms/utils/encoding.utils.mjs +3 -2
  65. package/esm2020/cms/utils/index.mjs +4 -1
  66. package/esm2020/cms/utils/path.utils.mjs +3 -3
  67. package/esm2020/cms/utils/script.utils.mjs +19 -15
  68. package/esm2020/cms/utils/transpilation-worker.mjs +52 -0
  69. package/esm2020/cms/vendor-map.mjs +18 -6
  70. package/esm2020/core/core.module.mjs +12 -5
  71. package/esm2020/core/modules/configuration/configuration.module.mjs +7 -23
  72. package/esm2020/core/modules/configuration/helpers.mjs +28 -3
  73. package/esm2020/core/modules/configuration/index.mjs +2 -2
  74. package/esm2020/core/modules/configuration/services/configuration-runtime.service.mjs +8 -11
  75. package/esm2020/core/modules/configuration/services/configuration-state.service.mjs +335 -0
  76. package/esm2020/core/modules/configuration/services/configuration.service.mjs +77 -52
  77. package/esm2020/core/modules/configuration/services/runtime-context.service.mjs +6 -6
  78. package/esm2020/core/modules/configuration/types/configuration.types.mjs +1 -1
  79. package/esm2020/core/modules/flow-configuration/flow-configuration.module.mjs +6 -6
  80. package/esm2020/core/modules/flow-configuration/services/flow-configuration.service.mjs +12 -9
  81. package/esm2020/core/pipes/action-code.pipe.mjs +20 -0
  82. package/esm2020/core/pipes/date.pipe.mjs +10 -4
  83. package/esm2020/core/pipes/index.mjs +2 -1
  84. package/esm2020/core/pipes/pipes.module.mjs +5 -4
  85. package/esm2020/core/services/context.service.mjs +33 -6
  86. package/esm2020/core/services/flow-info.service.mjs +99 -0
  87. package/esm2020/core/services/flow-state-configuration.service.mjs +53 -0
  88. package/esm2020/core/services/flow-state.service.mjs +512 -0
  89. package/esm2020/core/services/index.mjs +5 -2
  90. package/esm2020/core/services/integration.state.mjs +36 -0
  91. package/esm2020/core/services/product-images.service.mjs +4 -5
  92. package/esm2020/core/services/quote-draft.service.mjs +40 -91
  93. package/esm2020/core/services/runtime-settings.service.mjs +22 -5
  94. package/esm2020/core/types/flow-customization.types.mjs +3 -0
  95. package/esm2020/core/types/flow-state.types.mjs +2 -0
  96. package/esm2020/core/types/formatting-settings.types.mjs +1 -1
  97. package/esm2020/core/types/index.mjs +4 -1
  98. package/esm2020/core/types/integration.types.mjs +2 -0
  99. package/esm2020/core/types/pipe.types.mjs +2 -0
  100. package/esm2020/core/utils/line-item.utils.mjs +33 -32
  101. package/esm2020/src/components/doc-gen/doc-gen.component.mjs +49 -49
  102. package/esm2020/src/components/flow-header/flow-header.component.mjs +108 -0
  103. package/esm2020/src/components/flow-header/flow-header.module.mjs +19 -0
  104. package/esm2020/src/components/flow-header/index.mjs +2 -0
  105. package/esm2020/src/components/guided-selling/guided-selling.component.mjs +37 -43
  106. package/esm2020/src/configure-primeng.mjs +33 -0
  107. package/esm2020/src/flow-routing.module.mjs +56 -78
  108. package/esm2020/src/flow.component.mjs +23 -32
  109. package/esm2020/src/flow.module.mjs +7 -5
  110. package/esm2020/src/guards/context.guard.mjs +6 -11
  111. package/esm2020/src/guards/flow.guard.mjs +37 -0
  112. package/esm2020/src/guards/product-unload.guard.mjs +4 -1
  113. package/esm2020/src/guards/root.guard.mjs +14 -10
  114. package/esm2020/src/pages/assets/assets.component.mjs +33 -37
  115. package/esm2020/src/pages/catalog/catalog.component.mjs +33 -37
  116. package/esm2020/src/pages/debug/debug.component.mjs +10 -14
  117. package/esm2020/src/pages/product/product.component.mjs +35 -22
  118. package/esm2020/src/pages/record-not-found/record-not-found.component.mjs +6 -3
  119. package/esm2020/src/pages/remote/remote.component.mjs +19 -19
  120. package/esm2020/src/pages/shopping-cart/shopping-cart.component.mjs +34 -38
  121. package/esm2020/src/resolvers/flow.resolver.mjs +37 -49
  122. package/esm2020/src/resolvers/quote.resolver.mjs +55 -63
  123. package/esm2020/src/services/doc-gen.service.mjs +4 -3
  124. package/esm2020/src/services/flow-dialog.service.mjs +21 -6
  125. package/esm2020/src/services/flow-router.service.mjs +57 -16
  126. package/esm2020/src/services/flow.service.mjs +83 -28
  127. package/esm2020/src/services/guided-selling.service.mjs +5 -4
  128. package/esm2020/src/services/index.mjs +3 -1
  129. package/esm2020/src/types/index.mjs +1 -2
  130. package/esm2020/src/utils/flow.utils.mjs +6 -2
  131. package/fesm2015/veloceapps-sdk-cms.mjs +298 -195
  132. package/fesm2015/veloceapps-sdk-cms.mjs.map +1 -1
  133. package/fesm2015/veloceapps-sdk-core.mjs +1846 -1023
  134. package/fesm2015/veloceapps-sdk-core.mjs.map +1 -1
  135. package/fesm2015/veloceapps-sdk.mjs +756 -1493
  136. package/fesm2015/veloceapps-sdk.mjs.map +1 -1
  137. package/fesm2020/veloceapps-sdk-cms.mjs +302 -209
  138. package/fesm2020/veloceapps-sdk-cms.mjs.map +1 -1
  139. package/fesm2020/veloceapps-sdk-core.mjs +1596 -811
  140. package/fesm2020/veloceapps-sdk-core.mjs.map +1 -1
  141. package/fesm2020/veloceapps-sdk.mjs +819 -1553
  142. package/fesm2020/veloceapps-sdk.mjs.map +1 -1
  143. package/package.json +5 -12
  144. package/src/components/doc-gen/doc-gen.component.d.ts +8 -9
  145. package/src/components/flow-header/flow-header.component.d.ts +25 -0
  146. package/src/components/flow-header/flow-header.module.d.ts +9 -0
  147. package/src/components/flow-header/index.d.ts +1 -0
  148. package/src/components/guided-selling/guided-selling.component.d.ts +6 -8
  149. package/src/configure-primeng.d.ts +1 -0
  150. package/src/flow-routing.module.d.ts +5 -7
  151. package/src/flow.component.d.ts +7 -11
  152. package/src/flow.module.d.ts +2 -2
  153. package/src/guards/context.guard.d.ts +4 -5
  154. package/src/guards/flow.guard.d.ts +2 -0
  155. package/src/guards/product-unload.guard.d.ts +2 -2
  156. package/src/guards/root.guard.d.ts +0 -1
  157. package/src/pages/assets/assets.component.d.ts +5 -7
  158. package/src/pages/catalog/catalog.component.d.ts +5 -7
  159. package/src/pages/debug/debug.component.d.ts +5 -8
  160. package/src/pages/product/product.component.d.ts +8 -7
  161. package/src/pages/record-not-found/record-not-found.component.d.ts +2 -0
  162. package/src/pages/remote/remote.component.d.ts +2 -3
  163. package/src/pages/shopping-cart/shopping-cart.component.d.ts +5 -7
  164. package/src/resolvers/flow.resolver.d.ts +6 -7
  165. package/src/resolvers/quote.resolver.d.ts +7 -12
  166. package/src/services/doc-gen.service.d.ts +1 -1
  167. package/src/services/flow-dialog.service.d.ts +5 -2
  168. package/src/services/flow-router.service.d.ts +7 -3
  169. package/src/services/flow.service.d.ts +11 -4
  170. package/src/services/guided-selling.service.d.ts +1 -1
  171. package/src/services/index.d.ts +2 -0
  172. package/src/types/index.d.ts +0 -1
  173. package/core/modules/configuration/services/configuration.state.d.ts +0 -30
  174. package/core/services/metric-calculation/metric-calculation.service.d.ts +0 -25
  175. package/core/services/metric-calculation/metric-calculation.types.d.ts +0 -1
  176. package/core/services/metric-calculation/metric-calculation.utils.d.ts +0 -5
  177. package/esm2020/cms/services/integration.state.mjs +0 -37
  178. package/esm2020/cms/types/integration.types.mjs +0 -2
  179. package/esm2020/core/modules/configuration/services/configuration.state.mjs +0 -142
  180. package/esm2020/core/services/metric-calculation/metric-calculation.service.mjs +0 -85
  181. package/esm2020/core/services/metric-calculation/metric-calculation.types.mjs +0 -2
  182. package/esm2020/core/services/metric-calculation/metric-calculation.utils.mjs +0 -42
  183. package/esm2020/runtime/components/component-preview/component-preview.component.mjs +0 -125
  184. package/esm2020/runtime/components/index.mjs +0 -5
  185. package/esm2020/runtime/components/section-renderer/section-renderer.component.mjs +0 -67
  186. package/esm2020/runtime/components/ui-runtime/runtime.component.mjs +0 -440
  187. package/esm2020/runtime/components/ui-runtime-preview/runtime-preview.component.mjs +0 -108
  188. package/esm2020/runtime/execution/components/children-placeholder/children-placeholder.component.mjs +0 -60
  189. package/esm2020/runtime/execution/components/context-provider/context-provider.component.mjs +0 -39
  190. package/esm2020/runtime/execution/components/execution-section-renderer/execution-section-renderer.component.mjs +0 -67
  191. package/esm2020/runtime/execution/components/federated/federated.component.mjs +0 -74
  192. package/esm2020/runtime/execution/components/velo-attribute/velo-attribute.component.mjs +0 -60
  193. package/esm2020/runtime/execution/components/velo-multiselect/velo-multiselect.component.mjs +0 -130
  194. package/esm2020/runtime/execution/components/velo-port-checkbox/velo-port-checkbox.component.mjs +0 -72
  195. package/esm2020/runtime/execution/components/velo-port-dropdown/velo-port-dropdown.component.mjs +0 -97
  196. package/esm2020/runtime/execution/components/velo-port-radio/velo-port-radio.component.mjs +0 -142
  197. package/esm2020/runtime/execution/components/velo-type/velo-type.component.mjs +0 -119
  198. package/esm2020/runtime/execution/directives/section-script.directive.mjs +0 -247
  199. package/esm2020/runtime/execution/directives/sf-query.directive.mjs +0 -35
  200. package/esm2020/runtime/execution/directives/velo-attribute.directive.mjs +0 -88
  201. package/esm2020/runtime/execution/directives/velo-port.directive.mjs +0 -376
  202. package/esm2020/runtime/execution/directives/vl-approval.directive.mjs +0 -23
  203. package/esm2020/runtime/execution/directives/vl-document-attachments.directive.mjs +0 -36
  204. package/esm2020/runtime/execution/directives/vl-document-templates.directive.mjs +0 -60
  205. package/esm2020/runtime/execution/directives/vl-quote.directive.mjs +0 -42
  206. package/esm2020/runtime/execution/directives/vl-ramp.directive.mjs +0 -55
  207. package/esm2020/runtime/execution/runtime-execution.module.mjs +0 -133
  208. package/esm2020/runtime/execution/utils/federated.util.mjs +0 -32
  209. package/esm2020/runtime/index.mjs +0 -5
  210. package/esm2020/runtime/runtime.module.mjs +0 -74
  211. package/esm2020/runtime/services/cart.service.mjs +0 -29
  212. package/esm2020/runtime/services/collapsible-state.service.mjs +0 -34
  213. package/esm2020/runtime/services/configuration.service.mjs +0 -119
  214. package/esm2020/runtime/services/current-state.service.mjs +0 -17
  215. package/esm2020/runtime/services/form-scope.service.mjs +0 -30
  216. package/esm2020/runtime/services/index.mjs +0 -4
  217. package/esm2020/runtime/services/product-model-cache.service.mjs +0 -31
  218. package/esm2020/runtime/services/runtime-context.service.mjs +0 -60
  219. package/esm2020/runtime/services/runtime-form.service.mjs +0 -219
  220. package/esm2020/runtime/services/runtime.service.mjs +0 -115
  221. package/esm2020/runtime/services/section-helper.service.mjs +0 -27
  222. package/esm2020/runtime/services/section-scope.service.mjs +0 -36
  223. package/esm2020/runtime/services/section-store.service.mjs +0 -22
  224. package/esm2020/runtime/services/section.service.mjs +0 -117
  225. package/esm2020/runtime/types/bound-data.types.mjs +0 -7
  226. package/esm2020/runtime/types/index.mjs +0 -3
  227. package/esm2020/runtime/types/quote-states.types.mjs +0 -2
  228. package/esm2020/runtime/types/runtime.types.mjs +0 -2
  229. package/esm2020/runtime/types/script-registry.types.mjs +0 -51
  230. package/esm2020/runtime/utils/line-item.util.mjs +0 -270
  231. package/esm2020/runtime/utils/section.utils.mjs +0 -26
  232. package/esm2020/runtime/utils/sections-binder.helper.mjs +0 -105
  233. package/esm2020/runtime/veloceapps-sdk-runtime.mjs +0 -5
  234. package/esm2020/src/components/header/cart-overlay/cart-preview.component.mjs +0 -119
  235. package/esm2020/src/components/header/cart-overlay/cart-preview.module.mjs +0 -47
  236. package/esm2020/src/components/header/header.component.mjs +0 -355
  237. package/esm2020/src/components/header/header.module.mjs +0 -52
  238. package/esm2020/src/components/header/header.types.mjs +0 -2
  239. package/esm2020/src/components/header/metrics/index.mjs +0 -2
  240. package/esm2020/src/components/header/metrics/metrics.component.mjs +0 -255
  241. package/esm2020/src/components/header/metrics/metrics.definitions.mjs +0 -2
  242. package/esm2020/src/components/header/metrics/metrics.module.mjs +0 -69
  243. package/esm2020/src/pages/empty-account/empty-account.component.mjs +0 -12
  244. package/esm2020/src/pages/empty-account/empty-account.module.mjs +0 -20
  245. package/esm2020/src/pages/legacy-product/legacy-product.component.mjs +0 -137
  246. package/esm2020/src/pages/legacy-product/legacy-product.module.mjs +0 -19
  247. package/esm2020/src/types/flow-customization.types.mjs +0 -3
  248. package/fesm2015/veloceapps-sdk-runtime.mjs +0 -3770
  249. package/fesm2015/veloceapps-sdk-runtime.mjs.map +0 -1
  250. package/fesm2020/veloceapps-sdk-runtime.mjs +0 -3767
  251. package/fesm2020/veloceapps-sdk-runtime.mjs.map +0 -1
  252. package/runtime/README.md +0 -5
  253. package/runtime/components/component-preview/component-preview.component.d.ts +0 -27
  254. package/runtime/components/index.d.ts +0 -4
  255. package/runtime/components/section-renderer/section-renderer.component.d.ts +0 -25
  256. package/runtime/components/ui-runtime/runtime.component.d.ts +0 -53
  257. package/runtime/components/ui-runtime-preview/runtime-preview.component.d.ts +0 -27
  258. package/runtime/execution/components/children-placeholder/children-placeholder.component.d.ts +0 -30
  259. package/runtime/execution/components/context-provider/context-provider.component.d.ts +0 -14
  260. package/runtime/execution/components/execution-section-renderer/execution-section-renderer.component.d.ts +0 -25
  261. package/runtime/execution/components/federated/federated.component.d.ts +0 -36
  262. package/runtime/execution/components/velo-attribute/velo-attribute.component.d.ts +0 -19
  263. package/runtime/execution/components/velo-multiselect/velo-multiselect.component.d.ts +0 -35
  264. package/runtime/execution/components/velo-port-checkbox/velo-port-checkbox.component.d.ts +0 -22
  265. package/runtime/execution/components/velo-port-dropdown/velo-port-dropdown.component.d.ts +0 -22
  266. package/runtime/execution/components/velo-port-radio/velo-port-radio.component.d.ts +0 -28
  267. package/runtime/execution/components/velo-type/velo-type.component.d.ts +0 -31
  268. package/runtime/execution/directives/section-script.directive.d.ts +0 -59
  269. package/runtime/execution/directives/sf-query.directive.d.ts +0 -15
  270. package/runtime/execution/directives/velo-attribute.directive.d.ts +0 -26
  271. package/runtime/execution/directives/velo-port.directive.d.ts +0 -74
  272. package/runtime/execution/directives/vl-approval.directive.d.ts +0 -10
  273. package/runtime/execution/directives/vl-document-attachments.directive.d.ts +0 -15
  274. package/runtime/execution/directives/vl-document-templates.directive.d.ts +0 -33
  275. package/runtime/execution/directives/vl-quote.directive.d.ts +0 -14
  276. package/runtime/execution/directives/vl-ramp.directive.d.ts +0 -15
  277. package/runtime/execution/runtime-execution.module.d.ts +0 -25
  278. package/runtime/execution/utils/federated.util.d.ts +0 -6
  279. package/runtime/index.d.ts +0 -4
  280. package/runtime/runtime.module.d.ts +0 -16
  281. package/runtime/services/cart.service.d.ts +0 -15
  282. package/runtime/services/collapsible-state.service.d.ts +0 -15
  283. package/runtime/services/configuration.service.d.ts +0 -20
  284. package/runtime/services/current-state.service.d.ts +0 -8
  285. package/runtime/services/form-scope.service.d.ts +0 -20
  286. package/runtime/services/index.d.ts +0 -3
  287. package/runtime/services/product-model-cache.service.d.ts +0 -14
  288. package/runtime/services/runtime-context.service.d.ts +0 -16
  289. package/runtime/services/runtime-form.service.d.ts +0 -24
  290. package/runtime/services/runtime.service.d.ts +0 -44
  291. package/runtime/services/section-helper.service.d.ts +0 -8
  292. package/runtime/services/section-scope.service.d.ts +0 -14
  293. package/runtime/services/section-store.service.d.ts +0 -11
  294. package/runtime/services/section.service.d.ts +0 -30
  295. package/runtime/types/bound-data.types.d.ts +0 -13
  296. package/runtime/types/index.d.ts +0 -2
  297. package/runtime/types/quote-states.types.d.ts +0 -6
  298. package/runtime/types/runtime.types.d.ts +0 -19
  299. package/runtime/types/script-registry.types.d.ts +0 -13
  300. package/runtime/utils/line-item.util.d.ts +0 -34
  301. package/runtime/utils/section.utils.d.ts +0 -2
  302. package/runtime/utils/sections-binder.helper.d.ts +0 -16
  303. package/src/components/header/cart-overlay/cart-preview.component.d.ts +0 -36
  304. package/src/components/header/cart-overlay/cart-preview.module.d.ts +0 -14
  305. package/src/components/header/header.component.d.ts +0 -70
  306. package/src/components/header/header.module.d.ts +0 -16
  307. package/src/components/header/header.types.d.ts +0 -20
  308. package/src/components/header/metrics/index.d.ts +0 -1
  309. package/src/components/header/metrics/metrics.component.d.ts +0 -67
  310. package/src/components/header/metrics/metrics.definitions.d.ts +0 -1
  311. package/src/components/header/metrics/metrics.module.d.ts +0 -18
  312. package/src/pages/empty-account/empty-account.component.d.ts +0 -5
  313. package/src/pages/empty-account/empty-account.module.d.ts +0 -10
  314. package/src/pages/legacy-product/legacy-product.component.d.ts +0 -37
  315. package/src/pages/legacy-product/legacy-product.module.d.ts +0 -9
  316. package/src/types/flow-customization.types.d.ts +0 -12
  317. /package/{cms → core}/services/integration.state.d.ts +0 -0
package/runtime/README.md DELETED
@@ -1,5 +0,0 @@
1
- # `@veloceapps/sdk/runtime`
2
-
3
- [← Back to SDK](../)
4
-
5
- Legacy approach for building configuration UI
@@ -1,27 +0,0 @@
1
- import { ChangeDetectorRef, OnChanges, SimpleChanges } from '@angular/core';
2
- import { FormGroup } from '@angular/forms';
3
- import { ComponentStoryPreview, Section } from '@veloceapps/core';
4
- import { FormScopeService } from '../../services/form-scope.service';
5
- import { RuntimeFormService } from '../../services/runtime-form.service';
6
- import { RuntimeService } from '../../services/runtime.service';
7
- import { SectionsService } from '../../services/section.service';
8
- import * as i0 from "@angular/core";
9
- export declare class ComponentPreviewComponent implements OnChanges {
10
- private sectionsService;
11
- private runtimeFormService;
12
- private formScope;
13
- private runtimeService;
14
- private cdr;
15
- data?: ComponentStoryPreview;
16
- form: FormGroup<{}>;
17
- section?: Section;
18
- showPreview: boolean;
19
- isNoPreviewAvailable: boolean;
20
- isPreviewFailed: boolean;
21
- constructor(sectionsService: SectionsService, runtimeFormService: RuntimeFormService, formScope: FormScopeService, runtimeService: RuntimeService, cdr: ChangeDetectorRef);
22
- ngOnChanges(changes: SimpleChanges): void;
23
- runPreview(data: ComponentStoryPreview): void;
24
- createRuntimeContext(section: Section): void;
25
- static ɵfac: i0.ɵɵFactoryDeclaration<ComponentPreviewComponent, never>;
26
- static ɵcmp: i0.ɵɵComponentDeclaration<ComponentPreviewComponent, "vl-component-preview", never, { "data": "data"; }, {}, never, never, false, never>;
27
- }
@@ -1,4 +0,0 @@
1
- export { ComponentPreviewComponent } from './component-preview/component-preview.component';
2
- export { SectionRendererComponent } from './section-renderer/section-renderer.component';
3
- export { RuntimePreviewComponent } from './ui-runtime-preview/runtime-preview.component';
4
- export { RuntimeComponent } from './ui-runtime/runtime.component';
@@ -1,25 +0,0 @@
1
- import { AfterViewInit, Injector, NgModuleRef, OnDestroy, OnInit, ViewContainerRef } from '@angular/core';
2
- import { FormGroup } from '@angular/forms';
3
- import { Section } from '@veloceapps/core';
4
- import { SectionScopeService } from '../../services/section-scope.service';
5
- import { SectionStoreService } from '../../services/section-store.service';
6
- import * as i0 from "@angular/core";
7
- export declare class SectionRendererComponent implements OnInit, AfterViewInit, OnDestroy {
8
- private _injector;
9
- private _m;
10
- private sectionScope;
11
- private sectionStore;
12
- private _section;
13
- set section(value: Section);
14
- get section(): Section;
15
- form: FormGroup;
16
- constructor(_injector: Injector, _m: NgModuleRef<any>, sectionScope: SectionScopeService, sectionStore: SectionStoreService);
17
- container: ViewContainerRef;
18
- private componentRef;
19
- ngOnInit(): void;
20
- ngAfterViewInit(): void;
21
- ngOnDestroy(): void;
22
- renderSection(): void;
23
- static ɵfac: i0.ɵɵFactoryDeclaration<SectionRendererComponent, never>;
24
- static ɵcmp: i0.ɵɵComponentDeclaration<SectionRendererComponent, "vl-section-renderer", never, { "section": "section"; "form": "form"; }, {}, never, never, false, never>;
25
- }
@@ -1,53 +0,0 @@
1
- import { ChangeDetectorRef, OnDestroy, OnInit } from '@angular/core';
2
- import { FormGroup } from '@angular/forms';
3
- import { LineItem, OrderByPipe, SearchFilterPipe, Section, UITab } from '@veloceapps/core';
4
- import { ContextService } from '@veloceapps/sdk/core';
5
- import { MessageService } from 'primeng/api';
6
- import { CollapsibleStateService } from '../../services/collapsible-state.service';
7
- import { FormScopeService } from '../../services/form-scope.service';
8
- import { RuntimeFormService } from '../../services/runtime-form.service';
9
- import { RuntimeService } from '../../services/runtime.service';
10
- import { SectionsService } from '../../services/section.service';
11
- import { LegacyRuntimeContext, SolutionReadyAware } from '../../types';
12
- import * as i0 from "@angular/core";
13
- export declare class RuntimeComponent implements OnInit, OnDestroy, SolutionReadyAware {
14
- private sectionsService;
15
- private formScope;
16
- private collapsibleState;
17
- private formService;
18
- private runtimeService;
19
- private messageService;
20
- private contextService;
21
- private orderByPipe;
22
- private searchFilterPipe;
23
- private cdr;
24
- readonly messageBucketId = "ui.runtime";
25
- sortedSections: Section[];
26
- staticSections: Section[];
27
- runtimeContext: LegacyRuntimeContext;
28
- solutionLineItem: LineItem;
29
- form: FormGroup;
30
- activeUITab?: UITab;
31
- solutionIsReady: boolean;
32
- private readonly unsubscribe;
33
- private readonly solutionUpdated;
34
- constructor(sectionsService: SectionsService, formScope: FormScopeService, collapsibleState: CollapsibleStateService, formService: RuntimeFormService, runtimeService: RuntimeService, messageService: MessageService, contextService: ContextService, orderByPipe: OrderByPipe, searchFilterPipe: SearchFilterPipe, cdr: ChangeDetectorRef);
35
- private adjustPrice;
36
- ngOnInit(): void;
37
- onSolutionReady(lineItem: LineItem): void;
38
- private handleSolutionUpdate;
39
- private handleSolutionFailedUpdate;
40
- private updateCardinalityVariable;
41
- private createLineItem;
42
- ngOnDestroy(): void;
43
- private startRuntime;
44
- private updateRuntime;
45
- addToCart(): void;
46
- processSolution(isUpdate?: boolean, isError?: boolean): void;
47
- hideModal(): void;
48
- private updateLineItemsSectionPath;
49
- private filterAndSort;
50
- private findSection;
51
- static ɵfac: i0.ɵɵFactoryDeclaration<RuntimeComponent, never>;
52
- static ɵcmp: i0.ɵɵComponentDeclaration<RuntimeComponent, "vl-runtime", never, {}, { "solutionUpdated": "solutionUpdated"; }, never, never, false, never>;
53
- }
@@ -1,27 +0,0 @@
1
- import { OnDestroy, OnInit } from '@angular/core';
2
- import { ConfigurationApiService } from '@veloceapps/api';
3
- import { LegacyUIDefinition, LineItem } from '@veloceapps/core';
4
- import { ContextService } from '@veloceapps/sdk/core';
5
- import { ProductModelCacheService } from '../../services/product-model-cache.service';
6
- import { RuntimeService } from '../../services/runtime.service';
7
- import * as i0 from "@angular/core";
8
- export declare class RuntimePreviewComponent implements OnInit, OnDestroy {
9
- private runtimeService;
10
- private modelCacheService;
11
- private configurationApiService;
12
- private contextService;
13
- modelId?: string;
14
- set uiDefinition(value: LegacyUIDefinition);
15
- private _uiDefinition?;
16
- private initialisedUiDefinition?;
17
- private productModelContainer?;
18
- private destroy$;
19
- constructor(runtimeService: RuntimeService, modelCacheService: ProductModelCacheService, configurationApiService: ConfigurationApiService, contextService: ContextService);
20
- ngOnInit(): void;
21
- ngOnDestroy(): void;
22
- initDefinition(uiDefinition: LegacyUIDefinition): void;
23
- onSolutionUpdated(lineItem: LineItem): void;
24
- private launchRuntime;
25
- static ɵfac: i0.ɵɵFactoryDeclaration<RuntimePreviewComponent, never>;
26
- static ɵcmp: i0.ɵɵComponentDeclaration<RuntimePreviewComponent, "vl-runtime-preview", never, { "modelId": "modelId"; "uiDefinition": "uiDefinition"; }, {}, never, never, false, never>;
27
- }
@@ -1,30 +0,0 @@
1
- import { OnChanges, OnDestroy, OnInit, SimpleChanges } from '@angular/core';
2
- import { FormGroup } from '@angular/forms';
3
- import { Section } from '@veloceapps/core';
4
- import { Subscription } from 'rxjs';
5
- import { CollapsibleStateService } from '../../../services/collapsible-state.service';
6
- import { FormScopeService } from '../../../services/form-scope.service';
7
- import { SectionScopeService } from '../../../services/section-scope.service';
8
- import * as i0 from "@angular/core";
9
- export declare class ChildrenPlaceholderComponent implements OnInit, OnChanges, OnDestroy {
10
- private sectionScope;
11
- private formScope;
12
- private collapsibleState;
13
- children?: Section[];
14
- _children: Section[];
15
- section: Section;
16
- form: FormGroup;
17
- sub: Subscription;
18
- collapsed: boolean;
19
- constructor(sectionScope: SectionScopeService, formScope: FormScopeService, collapsibleState: CollapsibleStateService);
20
- ngOnInit(): void;
21
- ngOnChanges(changes: SimpleChanges): void;
22
- setChildren(): void;
23
- ngOnDestroy(): void;
24
- static ɵfac: i0.ɵɵFactoryDeclaration<ChildrenPlaceholderComponent, never>;
25
- static ɵcmp: i0.ɵɵComponentDeclaration<ChildrenPlaceholderComponent, "children-placeholder", never, { "children": "children"; }, {}, never, never, false, never>;
26
- }
27
- export declare class TemplateComponent extends ChildrenPlaceholderComponent {
28
- static ɵfac: i0.ɵɵFactoryDeclaration<TemplateComponent, never>;
29
- static ɵcmp: i0.ɵɵComponentDeclaration<TemplateComponent, "template-component", never, {}, {}, never, never, false, never>;
30
- }
@@ -1,14 +0,0 @@
1
- import { OnInit } from '@angular/core';
2
- import { RuntimeProduct, RuntimeType } from '@veloceapps/core';
3
- import { Dictionary } from 'lodash';
4
- import { RuntimeService } from '../../../services/runtime.service';
5
- import * as i0 from "@angular/core";
6
- export declare class ContextProviderComponent implements OnInit {
7
- private runtimeService;
8
- types: RuntimeType[];
9
- products: Dictionary<RuntimeProduct[]>;
10
- constructor(runtimeService: RuntimeService);
11
- ngOnInit(): void;
12
- static ɵfac: i0.ɵɵFactoryDeclaration<ContextProviderComponent, never>;
13
- static ɵcmp: i0.ɵɵComponentDeclaration<ContextProviderComponent, "vl-context-provider", never, { "types": "types"; "products": "products"; }, {}, never, never, false, never>;
14
- }
@@ -1,25 +0,0 @@
1
- import { AfterViewInit, Injector, NgModuleRef, OnDestroy, OnInit, ViewContainerRef } from '@angular/core';
2
- import { FormGroup } from '@angular/forms';
3
- import { Section } from '@veloceapps/core';
4
- import { SectionScopeService } from '../../../services/section-scope.service';
5
- import { SectionStoreService } from '../../../services/section-store.service';
6
- import * as i0 from "@angular/core";
7
- export declare class ExecutionSectionRendererComponent implements OnInit, AfterViewInit, OnDestroy {
8
- private _injector;
9
- private _m;
10
- private sectionScope;
11
- private sectionStore;
12
- private _section;
13
- set section(value: Section);
14
- get section(): Section;
15
- form: FormGroup;
16
- constructor(_injector: Injector, _m: NgModuleRef<any>, sectionScope: SectionScopeService, sectionStore: SectionStoreService);
17
- container: ViewContainerRef;
18
- private componentRef;
19
- ngOnInit(): void;
20
- ngAfterViewInit(): void;
21
- ngOnDestroy(): void;
22
- renderSection(): void;
23
- static ɵfac: i0.ɵɵFactoryDeclaration<ExecutionSectionRendererComponent, never>;
24
- static ɵcmp: i0.ɵɵComponentDeclaration<ExecutionSectionRendererComponent, "section-renderer", never, { "section": "section"; "form": "form"; }, {}, never, never, false, never>;
25
- }
@@ -1,36 +0,0 @@
1
- import { AfterViewInit, ApplicationRef, Compiler, ElementRef, Injector, OnChanges, Renderer2, SimpleChanges, TemplateRef, ViewContainerRef } from '@angular/core';
2
- import { LineItem } from '@veloceapps/core';
3
- import * as i0 from "@angular/core";
4
- declare enum IntegrationEvent {
5
- Init = "Init"
6
- }
7
- interface InputData {
8
- rootLineItem: LineItem;
9
- }
10
- interface IntegrationEventPayload {
11
- type: IntegrationEvent;
12
- payload?: unknown;
13
- }
14
- export declare class FederatedComponent implements AfterViewInit, OnChanges {
15
- private injector;
16
- private compiler;
17
- private appRef;
18
- private renderer;
19
- federatedComponent?: ViewContainerRef;
20
- foo?: TemplateRef<unknown>;
21
- moduleHostRef?: ElementRef;
22
- remoteEntry?: string;
23
- remoteName?: string;
24
- exposedModule?: string;
25
- data?: InputData;
26
- eventData?: IntegrationEventPayload;
27
- private integrationEvent;
28
- moduleReady: boolean;
29
- private instance?;
30
- constructor(injector: Injector, compiler: Compiler, appRef: ApplicationRef, renderer: Renderer2);
31
- ngAfterViewInit(): void;
32
- ngOnChanges(changes: SimpleChanges): void;
33
- static ɵfac: i0.ɵɵFactoryDeclaration<FederatedComponent, never>;
34
- static ɵcmp: i0.ɵɵComponentDeclaration<FederatedComponent, "veloce-host-federated", never, { "remoteEntry": "remoteEntry"; "remoteName": "remoteName"; "exposedModule": "exposedModule"; "data": "data"; "eventData": "eventData"; }, { "integrationEvent": "integrationEvent"; }, never, never, false, never>;
35
- }
36
- export {};
@@ -1,19 +0,0 @@
1
- import { OnInit } from '@angular/core';
2
- import { FormScopeService } from '../../../services/form-scope.service';
3
- import { SectionScopeService } from '../../../services/section-scope.service';
4
- import { VeloAttributeDirective } from '../../directives/velo-attribute.directive';
5
- import * as i0 from "@angular/core";
6
- export declare class VeloAttributeComponent extends VeloAttributeDirective implements OnInit {
7
- controlName: string;
8
- displayName: string;
9
- isMultiselect: boolean;
10
- constructor(formScope: FormScopeService, sectionScope: SectionScopeService);
11
- getValueOptions(valueOptions: unknown): (string | number)[];
12
- getValueText(valueOptions: unknown, value: string | number): string;
13
- handleMultiselectChange(value: string | number): void;
14
- handleMultipleDropdownChange(event: any): void;
15
- private isBooleanType;
16
- private getDisplayName;
17
- static ɵfac: i0.ɵɵFactoryDeclaration<VeloAttributeComponent, never>;
18
- static ɵcmp: i0.ɵɵComponentDeclaration<VeloAttributeComponent, "velo-attribute", never, {}, {}, never, never, false, never>;
19
- }
@@ -1,35 +0,0 @@
1
- import { Overlay } from '@angular/cdk/overlay';
2
- import { ElementRef, EventEmitter, OnDestroy, TemplateRef, ViewContainerRef } from '@angular/core';
3
- import { ControlValueAccessor } from '@angular/forms';
4
- import * as i0 from "@angular/core";
5
- export declare class MultiselectComponent implements ControlValueAccessor, OnDestroy {
6
- private elRef;
7
- private viewContainerRef;
8
- private overlay;
9
- options?: any[];
10
- selectionChange: EventEmitter<string[]>;
11
- selected: string[];
12
- displayValue: string;
13
- touched: boolean;
14
- disabled: boolean;
15
- overlayTemplate: TemplateRef<any>;
16
- opened: boolean;
17
- private overlayRef?;
18
- private dropdownClosingActionsSub?;
19
- onChange: (selected: string[]) => void;
20
- onTouched: () => void;
21
- constructor(elRef: ElementRef, viewContainerRef: ViewContainerRef, overlay: Overlay);
22
- ngOnDestroy(): void;
23
- writeValue(selected: string[]): void;
24
- registerOnChange(onChange: any): void;
25
- registerOnTouched(onTouched: any): void;
26
- setDisabledState(disabled: boolean): void;
27
- handleSelection(value: any): void;
28
- toggleOpened(): void;
29
- private getDisplayValue;
30
- private openDropdown;
31
- private dropdownClosingActions;
32
- private destroyDropdown;
33
- static ɵfac: i0.ɵɵFactoryDeclaration<MultiselectComponent, never>;
34
- static ɵcmp: i0.ɵɵComponentDeclaration<MultiselectComponent, "velo-multiselect", never, { "options": "options"; }, { "selectionChange": "selectionChange"; }, never, never, false, never>;
35
- }
@@ -1,22 +0,0 @@
1
- import { FormGroup } from '@angular/forms';
2
- import { Section } from '@veloceapps/core';
3
- import { FormScopeService } from '../../../services/form-scope.service';
4
- import { SectionScopeService } from '../../../services/section-scope.service';
5
- import * as i0 from "@angular/core";
6
- export declare class VeloPortCheckBoxComponent {
7
- private formScope;
8
- private sectionScope;
9
- controlName: string;
10
- form: FormGroup;
11
- section: Section;
12
- showSelectAll: boolean;
13
- constructor(formScope: FormScopeService, sectionScope: SectionScopeService);
14
- handleChange(valueOption: string): void;
15
- hasValueFor(valueOption: string): boolean;
16
- selectAllChange(): void;
17
- isAllSelected(): boolean;
18
- getMessages(valueOption: string): string[];
19
- private findLineItemForValue;
20
- static ɵfac: i0.ɵɵFactoryDeclaration<VeloPortCheckBoxComponent, never>;
21
- static ɵcmp: i0.ɵɵComponentDeclaration<VeloPortCheckBoxComponent, "velo-port-checkbox", never, { "showSelectAll": "showSelectAll"; }, {}, never, ["*"], false, never>;
22
- }
@@ -1,22 +0,0 @@
1
- import { FormGroup } from '@angular/forms';
2
- import { Section } from '@veloceapps/core';
3
- import { Dictionary } from 'lodash';
4
- import { FormScopeService } from '../../../services/form-scope.service';
5
- import { SectionScopeService } from '../../../services/section-scope.service';
6
- import * as i0 from "@angular/core";
7
- export declare class VeloPortDropdownComponent {
8
- private formScope;
9
- private sectionScope;
10
- controlName: string;
11
- qtyControlName: string;
12
- form: FormGroup;
13
- section: Section;
14
- prices: Dictionary<any>;
15
- constructor(formScope: FormScopeService, sectionScope: SectionScopeService);
16
- isAddAllowed(): boolean;
17
- handleCreate(): void;
18
- private findPriceItemsForValue;
19
- private add;
20
- static ɵfac: i0.ɵɵFactoryDeclaration<VeloPortDropdownComponent, never>;
21
- static ɵcmp: i0.ɵɵComponentDeclaration<VeloPortDropdownComponent, "velo-port-dropdown", never, {}, {}, never, ["*"], false, never>;
22
- }
@@ -1,28 +0,0 @@
1
- import { OnInit } from '@angular/core';
2
- import { FormGroup } from '@angular/forms';
3
- import { LineItem, RecommendedPrice, Section } from '@veloceapps/core';
4
- import { Dictionary } from 'lodash';
5
- import { FormScopeService } from '../../../services/form-scope.service';
6
- import { SectionScopeService } from '../../../services/section-scope.service';
7
- import * as i0 from "@angular/core";
8
- export declare class VeloPortRadioComponent implements OnInit {
9
- private formScope;
10
- private sectionScope;
11
- controlName: string;
12
- form: FormGroup;
13
- section: Section;
14
- prices: Dictionary<any>;
15
- constructor(formScope: FormScopeService, sectionScope: SectionScopeService);
16
- ngOnInit(): void;
17
- handleChange(event: any, valueOption: any): void;
18
- hasValueFor(valueOption: string): boolean;
19
- getMessages(valueOption: string): LineItem['messages'];
20
- toString(price: RecommendedPrice): string;
21
- private hasPreviousValue;
22
- private findLineItemForValue;
23
- private initPriceItems;
24
- private findPriceItemsForValue;
25
- private add;
26
- static ɵfac: i0.ɵɵFactoryDeclaration<VeloPortRadioComponent, never>;
27
- static ɵcmp: i0.ɵɵComponentDeclaration<VeloPortRadioComponent, "velo-port-radio", never, {}, {}, never, ["*", "*"], false, never>;
28
- }
@@ -1,31 +0,0 @@
1
- import { OnInit } from '@angular/core';
2
- import { FormGroup } from '@angular/forms';
3
- import { RecommendedPrice, Section } from '@veloceapps/core';
4
- import { MessageService } from 'primeng/api';
5
- import { CollapsibleStateService } from '../../../services/collapsible-state.service';
6
- import { FormScopeService } from '../../../services/form-scope.service';
7
- import { SectionScopeService } from '../../../services/section-scope.service';
8
- import * as i0 from "@angular/core";
9
- export declare class VeloTypeComponent implements OnInit {
10
- private formScope;
11
- private collapsibleState;
12
- private sectionScope;
13
- private messageService;
14
- readonly messageBucketId = "ui-runtime";
15
- controlName: string;
16
- qtyControlName: string;
17
- displayName: string;
18
- indent: number;
19
- form: FormGroup;
20
- section: Section;
21
- prices: RecommendedPrice[];
22
- constructor(formScope: FormScopeService, collapsibleState: CollapsibleStateService, sectionScope: SectionScopeService, messageService: MessageService);
23
- ngOnInit(): void;
24
- handleRemove(): void;
25
- handleQuantityUpdate(): void;
26
- toggleCollapse(): void;
27
- getPrices(): RecommendedPrice[];
28
- private add;
29
- static ɵfac: i0.ɵɵFactoryDeclaration<VeloTypeComponent, never>;
30
- static ɵcmp: i0.ɵɵComponentDeclaration<VeloTypeComponent, "velo-type", never, {}, {}, never, ["*"], false, never>;
31
- }
@@ -1,59 +0,0 @@
1
- import { AfterViewInit, ChangeDetectorRef, OnDestroy, OnInit, Renderer2 } from '@angular/core';
2
- import { FormBuilder } from '@angular/forms';
3
- import { ContextService, QuoteDraftService } from '@veloceapps/sdk/core';
4
- import { ShoppingCartService } from '../../services/cart.service';
5
- import { CurrentStateService } from '../../services/current-state.service';
6
- import { FormScopeService } from '../../services/form-scope.service';
7
- import { RuntimeService } from '../../services/runtime.service';
8
- import { SectionScopeService } from '../../services/section-scope.service';
9
- import { SfQueryDirective } from './sf-query.directive';
10
- import { LineItemDirective } from './velo-port.directive';
11
- import { VlApprovalDirective } from './vl-approval.directive';
12
- import { VlDocumentAttachmentsDirective } from './vl-document-attachments.directive';
13
- import { VlDocumentTemplatesDirective } from './vl-document-templates.directive';
14
- import { VlQuoteDirective } from './vl-quote.directive';
15
- import { VlRampDirective } from './vl-ramp.directive';
16
- import * as i0 from "@angular/core";
17
- export declare class SectionScriptDirective implements OnInit, AfterViewInit, OnDestroy {
18
- private _document;
19
- private sfQueryDirective;
20
- private lineItemDirective;
21
- private quoteDirective;
22
- private documentTemplatesDirective;
23
- private rampDirective;
24
- private approvalDirective;
25
- private documentAttachmentsDirective;
26
- private formScope;
27
- private sectionScope;
28
- private renderer;
29
- private formBuilder;
30
- private runtimeService;
31
- private cdr;
32
- private cartService;
33
- private contextService;
34
- private currentStateService;
35
- private quoteService;
36
- private scriptElement;
37
- private scriptId;
38
- private registry;
39
- private sessionScope;
40
- constructor(_document: Document, sfQueryDirective: SfQueryDirective, lineItemDirective: LineItemDirective, quoteDirective: VlQuoteDirective, documentTemplatesDirective: VlDocumentTemplatesDirective, rampDirective: VlRampDirective, approvalDirective: VlApprovalDirective, documentAttachmentsDirective: VlDocumentAttachmentsDirective, formScope: FormScopeService, sectionScope: SectionScopeService, renderer: Renderer2, formBuilder: FormBuilder, runtimeService: RuntimeService, cdr: ChangeDetectorRef, cartService: ShoppingCartService, contextService: ContextService, currentStateService: CurrentStateService, quoteService: QuoteDraftService);
41
- ngOnInit(): void;
42
- ngAfterViewInit(): void;
43
- ngOnDestroy(): void;
44
- get scope(): any;
45
- private scriptExists;
46
- private encodeScriptBody;
47
- private generateScriptId;
48
- private getScriptRegistry;
49
- private getSessionScope;
50
- private initScript;
51
- private removeScript;
52
- private appendScriptElementToDom;
53
- private removeScriptElementFromDom;
54
- private scriptFromTemplate;
55
- private methodApply;
56
- private getExposedApis;
57
- static ɵfac: i0.ɵɵFactoryDeclaration<SectionScriptDirective, never>;
58
- static ɵdir: i0.ɵɵDirectiveDeclaration<SectionScriptDirective, "section-script", ["scriptApi"], {}, {}, never, never, false, never>;
59
- }
@@ -1,15 +0,0 @@
1
- import { HttpParams } from '@angular/common/http';
2
- import { SalesforceApiService } from '@veloceapps/api';
3
- import { SearchRequest } from '@veloceapps/core';
4
- import * as i0 from "@angular/core";
5
- export declare class SfQueryDirective {
6
- private apiService;
7
- constructor(apiService: SalesforceApiService);
8
- query(searchRequest: SearchRequest, objectName: string): Promise<any>;
9
- describe(objectName: string, fieldName?: string): Promise<any>;
10
- describe2(objectName: string, fieldsNames: string[]): Promise<any>;
11
- apexGetRequest<T = unknown>(path: string, params: HttpParams): Promise<T>;
12
- apexPostRequest<T = unknown, S = unknown>(path: string, body: S): Promise<T>;
13
- static ɵfac: i0.ɵɵFactoryDeclaration<SfQueryDirective, never>;
14
- static ɵdir: i0.ɵɵDirectiveDeclaration<SfQueryDirective, "sf-query", ["sfApi"], {}, {}, never, never, false, never>;
15
- }
@@ -1,26 +0,0 @@
1
- import { OnInit } from '@angular/core';
2
- import { FormGroup } from '@angular/forms';
3
- import { Section } from '@veloceapps/core';
4
- import { FormScopeService } from '../../services/form-scope.service';
5
- import { SectionScopeService } from '../../services/section-scope.service';
6
- import * as i0 from "@angular/core";
7
- export declare class VeloAttributeDirective implements OnInit {
8
- private formScope;
9
- private sectionScope;
10
- valueQuantities: {
11
- [index: string]: number;
12
- };
13
- form: FormGroup;
14
- section: Section;
15
- constructor(formScope: FormScopeService, sectionScope: SectionScopeService);
16
- ngOnInit(): void;
17
- handleChange(valueOption?: any): void;
18
- handleChangDate(valueOption: any): void;
19
- handleRemove(): void;
20
- nextVal(): void;
21
- prevVal(): void;
22
- private initQuantity;
23
- private getCurrentValueIndex;
24
- static ɵfac: i0.ɵɵFactoryDeclaration<VeloAttributeDirective, never>;
25
- static ɵdir: i0.ɵɵDirectiveDeclaration<VeloAttributeDirective, "velo-attribute-directive", ["attributeApi"], {}, {}, never, never, false, never>;
26
- }
@@ -1,74 +0,0 @@
1
- import { OnInit } from '@angular/core';
2
- import { FormGroup } from '@angular/forms';
3
- import { LineItem, Section } from '@veloceapps/core';
4
- import { ConfigurationService } from '../../services/configuration.service';
5
- import { FormScopeService } from '../../services/form-scope.service';
6
- import { SectionScopeService } from '../../services/section-scope.service';
7
- import { LegacyRuntimeContext } from '../../types';
8
- import * as i0 from "@angular/core";
9
- export declare class SectionContextAware implements OnInit {
10
- protected formScope: FormScopeService;
11
- protected sectionScope: SectionScopeService;
12
- controlName: string;
13
- qtyControlName: string;
14
- form: FormGroup;
15
- section: Section;
16
- constructor(formScope: FormScopeService, sectionScope: SectionScopeService);
17
- ngOnInit(): void;
18
- initControlNames(): void;
19
- isAddAllowed(quantityToAdd?: number): boolean;
20
- isRemoveAllowed(quantityToRemove?: number): boolean;
21
- handleCreate(valueOption?: any): void;
22
- handleChange(valueOption?: any): void;
23
- handleQtyChange(valueOption: any): void;
24
- handleRemove(valueOption: string): void;
25
- handleCopy(valueOption: string): void;
26
- static ɵfac: i0.ɵɵFactoryDeclaration<SectionContextAware, never>;
27
- static ɵdir: i0.ɵɵDirectiveDeclaration<SectionContextAware, never, never, {}, {}, never, never, false, never>;
28
- }
29
- export declare class LineItemDirective implements OnInit {
30
- private formScope;
31
- private sectionScope;
32
- private configurationService;
33
- section: Section;
34
- lineItem?: LineItem;
35
- constructor(formScope: FormScopeService, sectionScope: SectionScopeService, configurationService: ConfigurationService);
36
- ngOnInit(): void;
37
- handlePatch(rootLineItem: any): void;
38
- configure(runtimeContext: LegacyRuntimeContext, configurableRamp: LineItem): Promise<LineItem>;
39
- static ɵfac: i0.ɵɵFactoryDeclaration<LineItemDirective, never>;
40
- static ɵdir: i0.ɵɵDirectiveDeclaration<LineItemDirective, "line-item", ["liApi"], {}, {}, never, never, false, never>;
41
- }
42
- export declare class VeloPortDirective extends SectionContextAware implements OnInit {
43
- valueQuantities: {
44
- [index: string]: number;
45
- };
46
- constructor(formScope: FormScopeService, sectionScope: SectionScopeService);
47
- private handlePriceAdjustment;
48
- ngOnInit(): void;
49
- handleUpsert(valueOption?: any, event?: Event): void;
50
- isActive(valueOption?: any): boolean;
51
- private initQuantity;
52
- handleNextVal(valueOption: string): void;
53
- handlePrevVal(valueOption: string): void;
54
- handleManualQtyChange(valueOption: string, qtyVal: any): void;
55
- handleNetPriceAdjustment(valueOption: string, amount: number): void;
56
- handleListPriceAdjustment(valueOption: string, amount: number): void;
57
- static ɵfac: i0.ɵɵFactoryDeclaration<VeloPortDirective, never>;
58
- static ɵdir: i0.ɵɵDirectiveDeclaration<VeloPortDirective, "velo-port", ["portApi"], {}, {}, never, never, false, never>;
59
- }
60
- export declare class VeloDropdownComponent extends SectionContextAware {
61
- constructor(formScope: FormScopeService, sectionScope: SectionScopeService);
62
- static ɵfac: i0.ɵɵFactoryDeclaration<VeloDropdownComponent, never>;
63
- static ɵcmp: i0.ɵɵComponentDeclaration<VeloDropdownComponent, "velo-dropdown", never, {}, {}, never, never, false, never>;
64
- }
65
- export declare class VeloQuantityComponent extends SectionContextAware {
66
- constructor(formScope: FormScopeService, sectionScope: SectionScopeService);
67
- static ɵfac: i0.ɵɵFactoryDeclaration<VeloQuantityComponent, never>;
68
- static ɵcmp: i0.ɵɵComponentDeclaration<VeloQuantityComponent, "velo-quantity", never, {}, {}, never, never, false, never>;
69
- }
70
- export declare class VeloQuantityButtonComponent extends SectionContextAware {
71
- constructor(formScope: FormScopeService, sectionScope: SectionScopeService);
72
- static ɵfac: i0.ɵɵFactoryDeclaration<VeloQuantityButtonComponent, never>;
73
- static ɵcmp: i0.ɵɵComponentDeclaration<VeloQuantityButtonComponent, "velo-quantity-button", never, {}, {}, never, never, false, never>;
74
- }
@@ -1,10 +0,0 @@
1
- import { QuoteApiService } from '@veloceapps/api';
2
- import { QuoteDraft } from '@veloceapps/core';
3
- import * as i0 from "@angular/core";
4
- export declare class VlApprovalDirective {
5
- private repo;
6
- constructor(repo: QuoteApiService);
7
- submitQuote(quoteDraft: QuoteDraft): Promise<any>;
8
- static ɵfac: i0.ɵɵFactoryDeclaration<VlApprovalDirective, never>;
9
- static ɵdir: i0.ɵɵDirectiveDeclaration<VlApprovalDirective, "vl-approval", ["approvalApi"], {}, {}, never, never, false, never>;
10
- }
@@ -1,15 +0,0 @@
1
- import { DocumentAttachmentApiService } from '@veloceapps/api';
2
- import { Attachment, TemplateAttachmentSearchRequest } from '@veloceapps/core';
3
- import { Observable } from 'rxjs';
4
- import * as i0 from "@angular/core";
5
- export declare class VlDocumentAttachmentsDirective {
6
- private service;
7
- constructor(service: DocumentAttachmentApiService);
8
- getAttachments(searchRequest: TemplateAttachmentSearchRequest): Promise<Attachment[]>;
9
- createAttachment(attachment: Attachment, file?: File, reportProgress?: boolean): Promise<Attachment> | Observable<Attachment>;
10
- updateAttachment(id: string, attachment: Attachment): Promise<Attachment>;
11
- getAttachmentFile(id: string, isPreventDownload?: boolean): Promise<any>;
12
- removeAttachment(id: string): Promise<unknown>;
13
- static ɵfac: i0.ɵɵFactoryDeclaration<VlDocumentAttachmentsDirective, never>;
14
- static ɵdir: i0.ɵɵDirectiveDeclaration<VlDocumentAttachmentsDirective, "vl-document-attachments", ["documentAttachmentsApi"], {}, {}, never, never, false, never>;
15
- }