@veloceapps/sdk 8.0.0-9 → 8.0.0-90

Sign up to get free protection for your applications and to get access to all the features.
Files changed (257) hide show
  1. package/README.md +0 -1
  2. package/cms/utils/element.utils.d.ts +1 -0
  3. package/cms/vendor-map.d.ts +7 -2
  4. package/core/modules/configuration/services/configuration-runtime.service.d.ts +1 -1
  5. package/core/modules/configuration/services/configuration.service.d.ts +6 -1
  6. package/core/modules/flow-configuration/types/update.types.d.ts +1 -1
  7. package/core/pipes/action-code.pipe.d.ts +8 -0
  8. package/core/pipes/date.pipe.d.ts +2 -1
  9. package/core/pipes/index.d.ts +1 -0
  10. package/core/pipes/pipes.module.d.ts +2 -1
  11. package/core/services/context.service.d.ts +2 -0
  12. package/core/services/runtime-settings.service.d.ts +4 -1
  13. package/core/types/formatting-settings.types.d.ts +2 -0
  14. package/core/types/index.d.ts +1 -0
  15. package/core/types/pipe.types.d.ts +1 -0
  16. package/esm2020/cms/components/element-children/element-children.component.mjs +3 -3
  17. package/esm2020/cms/components/element-children/element-children.module.mjs +4 -4
  18. package/esm2020/cms/components/element-drop-handle/element-drop-handle.component.mjs +3 -3
  19. package/esm2020/cms/components/element-drop-handle/element-drop-handle.module.mjs +4 -4
  20. package/esm2020/cms/components/element-renderer/element-renderer.component.mjs +3 -3
  21. package/esm2020/cms/components/element-renderer/element-renderer.module.mjs +4 -4
  22. package/esm2020/cms/components/element-tools-panel/element-tools-panel.component.mjs +5 -5
  23. package/esm2020/cms/components/plugin.component.mjs +3 -3
  24. package/esm2020/cms/components/preview/preview.component.mjs +3 -3
  25. package/esm2020/cms/components/preview/preview.module.mjs +4 -4
  26. package/esm2020/cms/directives/custom-template.directive.mjs +7 -7
  27. package/esm2020/cms/launcher.module.mjs +4 -4
  28. package/esm2020/cms/modules/federated/federated-host.directive.mjs +3 -3
  29. package/esm2020/cms/modules/federated/federated.component.mjs +3 -3
  30. package/esm2020/cms/modules/federated/federated.module.mjs +4 -4
  31. package/esm2020/cms/modules/migrations/migrations.module.mjs +4 -4
  32. package/esm2020/cms/modules/migrations/services/migrations.service.mjs +3 -3
  33. package/esm2020/cms/modules/runtime/runtime.module.mjs +4 -4
  34. package/esm2020/cms/modules/runtime/services/compilation.service.mjs +3 -3
  35. package/esm2020/cms/modules/runtime/services/runtime-editor.service.mjs +3 -3
  36. package/esm2020/cms/modules/runtime/services/runtime.service.mjs +3 -3
  37. package/esm2020/cms/plugins/configuration.plugin.mjs +3 -3
  38. package/esm2020/cms/plugins/element-hover.plugin.mjs +3 -3
  39. package/esm2020/cms/plugins/io.plugin.mjs +8 -7
  40. package/esm2020/cms/plugins/page.plugin.mjs +3 -3
  41. package/esm2020/cms/plugins/region.plugin.mjs +3 -3
  42. package/esm2020/cms/plugins/script.plugin.mjs +3 -3
  43. package/esm2020/cms/services/element-context.service.mjs +3 -3
  44. package/esm2020/cms/services/integration.state.mjs +3 -3
  45. package/esm2020/cms/services/io-provider.service.mjs +3 -3
  46. package/esm2020/cms/services/resources.service.mjs +3 -3
  47. package/esm2020/cms/services/templates.service.mjs +3 -3
  48. package/esm2020/cms/utils/element.utils.mjs +10 -3
  49. package/esm2020/cms/utils/elements-resolver.mjs +2 -2
  50. package/esm2020/cms/vendor-map.mjs +8 -3
  51. package/esm2020/core/core.module.mjs +8 -17
  52. package/esm2020/core/directives/directives.module.mjs +4 -4
  53. package/esm2020/core/directives/primeng-calendar.directive.mjs +3 -3
  54. package/esm2020/core/modules/configuration/configuration.module.mjs +4 -4
  55. package/esm2020/core/modules/configuration/services/configuration-runtime.service.mjs +11 -14
  56. package/esm2020/core/modules/configuration/services/configuration.service.mjs +28 -9
  57. package/esm2020/core/modules/configuration/services/configuration.state.mjs +3 -3
  58. package/esm2020/core/modules/configuration/services/runtime-context.service.mjs +9 -9
  59. package/esm2020/core/modules/flow-configuration/flow-configuration.module.mjs +4 -4
  60. package/esm2020/core/modules/flow-configuration/services/flow-configuration.service.mjs +3 -3
  61. package/esm2020/core/modules/flow-configuration/services/flow-update.service.mjs +7 -14
  62. package/esm2020/core/modules/flow-configuration/types/update.types.mjs +1 -1
  63. package/esm2020/core/pipes/action-code.pipe.mjs +20 -0
  64. package/esm2020/core/pipes/date.pipe.mjs +13 -7
  65. package/esm2020/core/pipes/index.mjs +2 -1
  66. package/esm2020/core/pipes/number.pipe.mjs +3 -3
  67. package/esm2020/core/pipes/pipes.module.mjs +8 -7
  68. package/esm2020/core/pipes/price.pipe.mjs +3 -3
  69. package/esm2020/core/services/context.service.mjs +20 -5
  70. package/esm2020/core/services/metric-calculation/metric-calculation.service.mjs +3 -3
  71. package/esm2020/core/services/product-images.service.mjs +3 -3
  72. package/esm2020/core/services/quote-draft.service.mjs +5 -4
  73. package/esm2020/core/services/runtime-settings.service.mjs +20 -5
  74. package/esm2020/core/types/formatting-settings.types.mjs +1 -1
  75. package/esm2020/core/types/index.mjs +2 -1
  76. package/esm2020/core/types/pipe.types.mjs +2 -0
  77. package/esm2020/src/components/dialog/dialog.component.mjs +3 -3
  78. package/esm2020/src/components/dialog/dialog.module.mjs +4 -4
  79. package/esm2020/src/components/doc-gen/doc-gen.component.mjs +13 -14
  80. package/esm2020/src/components/doc-gen/doc-gen.module.mjs +4 -4
  81. package/esm2020/src/components/guided-selling/guided-selling.component.mjs +13 -14
  82. package/esm2020/src/components/guided-selling/guided-selling.module.mjs +4 -4
  83. package/esm2020/src/components/header/cart-overlay/cart-preview.component.mjs +3 -3
  84. package/esm2020/src/components/header/cart-overlay/cart-preview.module.mjs +4 -4
  85. package/esm2020/src/components/header/header.component.mjs +4 -4
  86. package/esm2020/src/components/header/header.module.mjs +4 -4
  87. package/esm2020/src/components/header/metrics/metrics.component.mjs +4 -4
  88. package/esm2020/src/components/header/metrics/metrics.module.mjs +4 -4
  89. package/esm2020/src/flow-routing.module.mjs +66 -75
  90. package/esm2020/src/flow.component.mjs +16 -10
  91. package/esm2020/src/flow.module.mjs +4 -4
  92. package/esm2020/src/guards/context.guard.mjs +4 -4
  93. package/esm2020/src/guards/flow.guard.mjs +23 -0
  94. package/esm2020/src/guards/product-unload.guard.mjs +7 -4
  95. package/esm2020/src/guards/root.guard.mjs +17 -13
  96. package/esm2020/src/pages/assets/assets.component.mjs +12 -12
  97. package/esm2020/src/pages/assets/assets.module.mjs +4 -4
  98. package/esm2020/src/pages/catalog/catalog.component.mjs +12 -12
  99. package/esm2020/src/pages/catalog/catalog.module.mjs +4 -4
  100. package/esm2020/src/pages/debug/debug.component.mjs +12 -16
  101. package/esm2020/src/pages/debug/debug.module.mjs +4 -4
  102. package/esm2020/src/pages/empty-account/empty-account.component.mjs +3 -3
  103. package/esm2020/src/pages/empty-account/empty-account.module.mjs +4 -4
  104. package/esm2020/src/pages/product/product.component.mjs +5 -6
  105. package/esm2020/src/pages/product/product.module.mjs +4 -4
  106. package/esm2020/src/pages/record-not-found/record-not-found.component.mjs +3 -3
  107. package/esm2020/src/pages/record-not-found/record-not-found.module.mjs +4 -4
  108. package/esm2020/src/pages/remote/remote.component.mjs +8 -9
  109. package/esm2020/src/pages/remote/remote.module.mjs +4 -4
  110. package/esm2020/src/pages/shopping-cart/shopping-cart.component.mjs +12 -12
  111. package/esm2020/src/pages/shopping-cart/shopping-cart.module.mjs +4 -4
  112. package/esm2020/src/resolvers/flow.resolver.mjs +17 -11
  113. package/esm2020/src/resolvers/quote.resolver.mjs +12 -8
  114. package/esm2020/src/services/doc-gen.service.mjs +3 -3
  115. package/esm2020/src/services/flow-dialog.service.mjs +3 -3
  116. package/esm2020/src/services/flow-router.service.mjs +5 -5
  117. package/esm2020/src/services/flow.service.mjs +34 -11
  118. package/esm2020/src/services/guided-selling.service.mjs +3 -3
  119. package/esm2020/src/utils/flow.utils.mjs +6 -2
  120. package/fesm2015/veloceapps-sdk-cms.mjs +129 -116
  121. package/fesm2015/veloceapps-sdk-cms.mjs.map +1 -1
  122. package/fesm2015/veloceapps-sdk-core.mjs +1064 -1011
  123. package/fesm2015/veloceapps-sdk-core.mjs.map +1 -1
  124. package/fesm2015/veloceapps-sdk.mjs +605 -695
  125. package/fesm2015/veloceapps-sdk.mjs.map +1 -1
  126. package/fesm2020/veloceapps-sdk-cms.mjs +128 -115
  127. package/fesm2020/veloceapps-sdk-cms.mjs.map +1 -1
  128. package/fesm2020/veloceapps-sdk-core.mjs +589 -538
  129. package/fesm2020/veloceapps-sdk-core.mjs.map +1 -1
  130. package/fesm2020/veloceapps-sdk.mjs +606 -697
  131. package/fesm2020/veloceapps-sdk.mjs.map +1 -1
  132. package/package.json +3 -11
  133. package/src/components/doc-gen/doc-gen.component.d.ts +4 -5
  134. package/src/components/guided-selling/guided-selling.component.d.ts +5 -6
  135. package/src/flow-routing.module.d.ts +6 -7
  136. package/src/flow.component.d.ts +3 -2
  137. package/src/guards/context.guard.d.ts +4 -4
  138. package/src/guards/flow.guard.d.ts +2 -0
  139. package/src/guards/product-unload.guard.d.ts +2 -2
  140. package/src/guards/root.guard.d.ts +0 -1
  141. package/src/pages/assets/assets.component.d.ts +3 -3
  142. package/src/pages/catalog/catalog.component.d.ts +3 -3
  143. package/src/pages/debug/debug.component.d.ts +5 -8
  144. package/src/pages/shopping-cart/shopping-cart.component.d.ts +3 -3
  145. package/src/resolvers/flow.resolver.d.ts +3 -1
  146. package/src/resolvers/quote.resolver.d.ts +3 -1
  147. package/src/services/flow.service.d.ts +11 -2
  148. package/esm2020/runtime/components/component-preview/component-preview.component.mjs +0 -125
  149. package/esm2020/runtime/components/index.mjs +0 -5
  150. package/esm2020/runtime/components/section-renderer/section-renderer.component.mjs +0 -67
  151. package/esm2020/runtime/components/ui-runtime/runtime.component.mjs +0 -440
  152. package/esm2020/runtime/components/ui-runtime-preview/runtime-preview.component.mjs +0 -108
  153. package/esm2020/runtime/execution/components/children-placeholder/children-placeholder.component.mjs +0 -60
  154. package/esm2020/runtime/execution/components/context-provider/context-provider.component.mjs +0 -39
  155. package/esm2020/runtime/execution/components/execution-section-renderer/execution-section-renderer.component.mjs +0 -67
  156. package/esm2020/runtime/execution/components/federated/federated.component.mjs +0 -74
  157. package/esm2020/runtime/execution/components/velo-attribute/velo-attribute.component.mjs +0 -60
  158. package/esm2020/runtime/execution/components/velo-multiselect/velo-multiselect.component.mjs +0 -130
  159. package/esm2020/runtime/execution/components/velo-port-checkbox/velo-port-checkbox.component.mjs +0 -72
  160. package/esm2020/runtime/execution/components/velo-port-dropdown/velo-port-dropdown.component.mjs +0 -97
  161. package/esm2020/runtime/execution/components/velo-port-radio/velo-port-radio.component.mjs +0 -142
  162. package/esm2020/runtime/execution/components/velo-type/velo-type.component.mjs +0 -119
  163. package/esm2020/runtime/execution/directives/section-script.directive.mjs +0 -247
  164. package/esm2020/runtime/execution/directives/sf-query.directive.mjs +0 -35
  165. package/esm2020/runtime/execution/directives/velo-attribute.directive.mjs +0 -88
  166. package/esm2020/runtime/execution/directives/velo-port.directive.mjs +0 -376
  167. package/esm2020/runtime/execution/directives/vl-approval.directive.mjs +0 -23
  168. package/esm2020/runtime/execution/directives/vl-document-attachments.directive.mjs +0 -36
  169. package/esm2020/runtime/execution/directives/vl-document-templates.directive.mjs +0 -60
  170. package/esm2020/runtime/execution/directives/vl-quote.directive.mjs +0 -42
  171. package/esm2020/runtime/execution/directives/vl-ramp.directive.mjs +0 -55
  172. package/esm2020/runtime/execution/runtime-execution.module.mjs +0 -133
  173. package/esm2020/runtime/execution/utils/federated.util.mjs +0 -32
  174. package/esm2020/runtime/index.mjs +0 -5
  175. package/esm2020/runtime/runtime.module.mjs +0 -74
  176. package/esm2020/runtime/services/cart.service.mjs +0 -29
  177. package/esm2020/runtime/services/collapsible-state.service.mjs +0 -34
  178. package/esm2020/runtime/services/configuration.service.mjs +0 -119
  179. package/esm2020/runtime/services/current-state.service.mjs +0 -17
  180. package/esm2020/runtime/services/form-scope.service.mjs +0 -30
  181. package/esm2020/runtime/services/index.mjs +0 -4
  182. package/esm2020/runtime/services/product-model-cache.service.mjs +0 -31
  183. package/esm2020/runtime/services/runtime-context.service.mjs +0 -60
  184. package/esm2020/runtime/services/runtime-form.service.mjs +0 -219
  185. package/esm2020/runtime/services/runtime.service.mjs +0 -115
  186. package/esm2020/runtime/services/section-helper.service.mjs +0 -27
  187. package/esm2020/runtime/services/section-scope.service.mjs +0 -36
  188. package/esm2020/runtime/services/section-store.service.mjs +0 -22
  189. package/esm2020/runtime/services/section.service.mjs +0 -117
  190. package/esm2020/runtime/types/bound-data.types.mjs +0 -7
  191. package/esm2020/runtime/types/index.mjs +0 -3
  192. package/esm2020/runtime/types/quote-states.types.mjs +0 -2
  193. package/esm2020/runtime/types/runtime.types.mjs +0 -2
  194. package/esm2020/runtime/types/script-registry.types.mjs +0 -51
  195. package/esm2020/runtime/utils/line-item.util.mjs +0 -270
  196. package/esm2020/runtime/utils/section.utils.mjs +0 -26
  197. package/esm2020/runtime/utils/sections-binder.helper.mjs +0 -105
  198. package/esm2020/runtime/veloceapps-sdk-runtime.mjs +0 -5
  199. package/esm2020/src/pages/legacy-product/legacy-product.component.mjs +0 -137
  200. package/esm2020/src/pages/legacy-product/legacy-product.module.mjs +0 -19
  201. package/fesm2015/veloceapps-sdk-runtime.mjs +0 -3770
  202. package/fesm2015/veloceapps-sdk-runtime.mjs.map +0 -1
  203. package/fesm2020/veloceapps-sdk-runtime.mjs +0 -3767
  204. package/fesm2020/veloceapps-sdk-runtime.mjs.map +0 -1
  205. package/runtime/README.md +0 -5
  206. package/runtime/components/component-preview/component-preview.component.d.ts +0 -27
  207. package/runtime/components/index.d.ts +0 -4
  208. package/runtime/components/section-renderer/section-renderer.component.d.ts +0 -25
  209. package/runtime/components/ui-runtime/runtime.component.d.ts +0 -53
  210. package/runtime/components/ui-runtime-preview/runtime-preview.component.d.ts +0 -27
  211. package/runtime/execution/components/children-placeholder/children-placeholder.component.d.ts +0 -30
  212. package/runtime/execution/components/context-provider/context-provider.component.d.ts +0 -14
  213. package/runtime/execution/components/execution-section-renderer/execution-section-renderer.component.d.ts +0 -25
  214. package/runtime/execution/components/federated/federated.component.d.ts +0 -36
  215. package/runtime/execution/components/velo-attribute/velo-attribute.component.d.ts +0 -19
  216. package/runtime/execution/components/velo-multiselect/velo-multiselect.component.d.ts +0 -35
  217. package/runtime/execution/components/velo-port-checkbox/velo-port-checkbox.component.d.ts +0 -22
  218. package/runtime/execution/components/velo-port-dropdown/velo-port-dropdown.component.d.ts +0 -22
  219. package/runtime/execution/components/velo-port-radio/velo-port-radio.component.d.ts +0 -28
  220. package/runtime/execution/components/velo-type/velo-type.component.d.ts +0 -31
  221. package/runtime/execution/directives/section-script.directive.d.ts +0 -59
  222. package/runtime/execution/directives/sf-query.directive.d.ts +0 -15
  223. package/runtime/execution/directives/velo-attribute.directive.d.ts +0 -26
  224. package/runtime/execution/directives/velo-port.directive.d.ts +0 -74
  225. package/runtime/execution/directives/vl-approval.directive.d.ts +0 -10
  226. package/runtime/execution/directives/vl-document-attachments.directive.d.ts +0 -15
  227. package/runtime/execution/directives/vl-document-templates.directive.d.ts +0 -33
  228. package/runtime/execution/directives/vl-quote.directive.d.ts +0 -14
  229. package/runtime/execution/directives/vl-ramp.directive.d.ts +0 -15
  230. package/runtime/execution/runtime-execution.module.d.ts +0 -25
  231. package/runtime/execution/utils/federated.util.d.ts +0 -6
  232. package/runtime/index.d.ts +0 -4
  233. package/runtime/runtime.module.d.ts +0 -16
  234. package/runtime/services/cart.service.d.ts +0 -15
  235. package/runtime/services/collapsible-state.service.d.ts +0 -15
  236. package/runtime/services/configuration.service.d.ts +0 -20
  237. package/runtime/services/current-state.service.d.ts +0 -8
  238. package/runtime/services/form-scope.service.d.ts +0 -20
  239. package/runtime/services/index.d.ts +0 -3
  240. package/runtime/services/product-model-cache.service.d.ts +0 -14
  241. package/runtime/services/runtime-context.service.d.ts +0 -16
  242. package/runtime/services/runtime-form.service.d.ts +0 -24
  243. package/runtime/services/runtime.service.d.ts +0 -44
  244. package/runtime/services/section-helper.service.d.ts +0 -8
  245. package/runtime/services/section-scope.service.d.ts +0 -14
  246. package/runtime/services/section-store.service.d.ts +0 -11
  247. package/runtime/services/section.service.d.ts +0 -30
  248. package/runtime/types/bound-data.types.d.ts +0 -13
  249. package/runtime/types/index.d.ts +0 -2
  250. package/runtime/types/quote-states.types.d.ts +0 -6
  251. package/runtime/types/runtime.types.d.ts +0 -19
  252. package/runtime/types/script-registry.types.d.ts +0 -13
  253. package/runtime/utils/line-item.util.d.ts +0 -34
  254. package/runtime/utils/section.utils.d.ts +0 -2
  255. package/runtime/utils/sections-binder.helper.d.ts +0 -16
  256. package/src/pages/legacy-product/legacy-product.component.d.ts +0 -37
  257. package/src/pages/legacy-product/legacy-product.module.d.ts +0 -9
@@ -1,5 +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';
5
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9saWJzL3Nkay9ydW50aW1lL2NvbXBvbmVudHMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLHlCQUF5QixFQUFFLE1BQU0saURBQWlELENBQUM7QUFDNUYsT0FBTyxFQUFFLHdCQUF3QixFQUFFLE1BQU0sK0NBQStDLENBQUM7QUFDekYsT0FBTyxFQUFFLHVCQUF1QixFQUFFLE1BQU0sZ0RBQWdELENBQUM7QUFDekYsT0FBTyxFQUFFLGdCQUFnQixFQUFFLE1BQU0sZ0NBQWdDLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgeyBDb21wb25lbnRQcmV2aWV3Q29tcG9uZW50IH0gZnJvbSAnLi9jb21wb25lbnQtcHJldmlldy9jb21wb25lbnQtcHJldmlldy5jb21wb25lbnQnO1xuZXhwb3J0IHsgU2VjdGlvblJlbmRlcmVyQ29tcG9uZW50IH0gZnJvbSAnLi9zZWN0aW9uLXJlbmRlcmVyL3NlY3Rpb24tcmVuZGVyZXIuY29tcG9uZW50JztcbmV4cG9ydCB7IFJ1bnRpbWVQcmV2aWV3Q29tcG9uZW50IH0gZnJvbSAnLi91aS1ydW50aW1lLXByZXZpZXcvcnVudGltZS1wcmV2aWV3LmNvbXBvbmVudCc7XG5leHBvcnQgeyBSdW50aW1lQ29tcG9uZW50IH0gZnJvbSAnLi91aS1ydW50aW1lL3J1bnRpbWUuY29tcG9uZW50JztcbiJdfQ==
@@ -1,67 +0,0 @@
1
- import { Component, Injector, Input, NgModuleRef, ViewChild, 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
- import * as i1 from "../../services/section-scope.service";
8
- import * as i2 from "../../services/section-store.service";
9
- export class SectionRendererComponent {
10
- set section(value) {
11
- this._section = value;
12
- this.sectionScope.section = value;
13
- }
14
- get section() {
15
- return this._section;
16
- }
17
- constructor(_injector, _m, sectionScope, sectionStore) {
18
- this._injector = _injector;
19
- this._m = _m;
20
- this.sectionScope = sectionScope;
21
- this.sectionStore = sectionStore;
22
- this.componentRef = null;
23
- }
24
- ngOnInit() {
25
- this.renderSection();
26
- }
27
- ngAfterViewInit() {
28
- if (this.componentRef) {
29
- this.sectionScope.templates.next(this.componentRef.instance['templates']?.toArray() ?? []);
30
- }
31
- }
32
- ngOnDestroy() {
33
- if (this.componentRef) {
34
- this.componentRef.destroy();
35
- this.componentRef = null;
36
- }
37
- }
38
- renderSection() {
39
- if (this.componentRef) {
40
- this.componentRef.destroy();
41
- this.componentRef = null;
42
- }
43
- const componentFactory = this.sectionStore.getComponentFactory(this._section);
44
- if (!componentFactory) {
45
- return;
46
- }
47
- this.componentRef = componentFactory.create(this._injector, [], null, this._m);
48
- this.componentRef.location.nativeElement.setAttribute('sectionId', `${this._section.model?.id}${this._section.label}`);
49
- this.componentRef.instance['form'] = this.form;
50
- this.componentRef.instance['section'] = this.section;
51
- this.container.insert(this.componentRef.hostView);
52
- }
53
- }
54
- SectionRendererComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.8", ngImport: i0, type: SectionRendererComponent, deps: [{ token: i0.Injector }, { token: i0.NgModuleRef }, { token: i1.SectionScopeService }, { token: i2.SectionStoreService }], target: i0.ɵɵFactoryTarget.Component });
55
- SectionRendererComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.8", type: SectionRendererComponent, selector: "vl-section-renderer", inputs: { section: "section", form: "form" }, providers: [SectionScopeService], viewQueries: [{ propertyName: "container", first: true, predicate: ["container"], descendants: true, read: ViewContainerRef, static: true }], ngImport: i0, template: "<ng-template #container></ng-template>", styles: [":host{display:contents}\n"] });
56
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.8", ngImport: i0, type: SectionRendererComponent, decorators: [{
57
- type: Component,
58
- args: [{ selector: 'vl-section-renderer', providers: [SectionScopeService], template: "<ng-template #container></ng-template>", styles: [":host{display:contents}\n"] }]
59
- }], ctorParameters: function () { return [{ type: i0.Injector }, { type: i0.NgModuleRef }, { type: i1.SectionScopeService }, { type: i2.SectionStoreService }]; }, propDecorators: { section: [{
60
- type: Input
61
- }], form: [{
62
- type: Input
63
- }], container: [{
64
- type: ViewChild,
65
- args: ['container', { read: ViewContainerRef, static: true }]
66
- }] } });
67
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2VjdGlvbi1yZW5kZXJlci5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9saWJzL3Nkay9ydW50aW1lL2NvbXBvbmVudHMvc2VjdGlvbi1yZW5kZXJlci9zZWN0aW9uLXJlbmRlc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