@veloceapps/sdk 12.0.0-17 → 12.0.0-19
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cms/cms.actions.d.ts +154 -0
- package/cms/cms.default.d.ts +5 -0
- package/cms/cms.elements.d.ts +4 -0
- package/cms/cms.layouts.d.ts +4 -0
- package/cms/components/element-children/element-children.component.d.ts +22 -0
- package/cms/components/element-children/element-children.module.d.ts +11 -0
- package/cms/components/element-drop-handle/element-drop-handle.component.d.ts +12 -0
- package/cms/components/element-drop-handle/element-drop-handle.module.d.ts +9 -0
- package/cms/components/element-renderer/element-renderer.component.d.ts +29 -0
- package/cms/components/element-renderer/element-renderer.module.d.ts +7 -0
- package/cms/components/element-tools-panel/element-tools-panel.component.d.ts +14 -0
- package/cms/components/element.component.d.ts +17 -0
- package/cms/components/index.d.ts +1 -0
- package/cms/components/plugin.component.d.ts +15 -0
- package/cms/components/preview/index.d.ts +3 -0
- package/cms/components/preview/preview.component.d.ts +32 -0
- package/cms/components/preview/preview.module.d.ts +13 -0
- package/cms/components/preview/preview.types.d.ts +20 -0
- package/cms/decorators/element.decorator.d.ts +2 -0
- package/cms/decorators/index.d.ts +1 -0
- package/cms/definitions/index.d.ts +1 -0
- package/cms/definitions/ui-builder.definitions.d.ts +6 -0
- package/cms/directives/custom-template.directive.d.ts +17 -0
- package/cms/engine/models/entity.d.ts +11 -0
- package/cms/engine/models/plugin.d.ts +5 -0
- package/cms/index.d.ts +15 -921
- package/cms/injection-tokens.d.ts +9 -0
- package/cms/launcher.module.d.ts +12 -0
- package/cms/modules/federated/default-options.d.ts +4 -0
- package/cms/modules/federated/export.d.ts +1 -0
- package/cms/modules/federated/federated-host.directive.d.ts +8 -0
- package/cms/modules/federated/federated.component.d.ts +25 -0
- package/cms/modules/federated/federated.module.d.ts +10 -0
- package/cms/modules/federated/federated.types.d.ts +26 -0
- package/cms/modules/migrations/index.d.ts +2 -0
- package/cms/modules/migrations/migrations.d.ts +2 -0
- package/cms/modules/migrations/migrations.module.d.ts +6 -0
- package/cms/modules/migrations/services/migrations.service.d.ts +10 -0
- package/cms/modules/migrations/types/migrations.types.d.ts +2 -0
- package/cms/modules/runtime/index.d.ts +3 -0
- package/cms/modules/runtime/runtime.module.d.ts +8 -0
- package/cms/modules/runtime/services/compilation.service.d.ts +19 -0
- package/cms/modules/runtime/services/runtime-editor.service.d.ts +20 -0
- package/cms/modules/runtime/services/runtime.service.d.ts +33 -0
- package/cms/modules/runtime/tokens.d.ts +3 -0
- package/cms/modules/runtime/types/compilation.types.d.ts +8 -0
- package/cms/modules/runtime/types/runtime.actions.d.ts +12 -0
- package/cms/plugins/element-hover.plugin.d.ts +33 -0
- package/cms/plugins/io.plugin.d.ts +9 -0
- package/cms/plugins/page.plugin.d.ts +15 -0
- package/cms/plugins/region.plugin.d.ts +17 -0
- package/cms/plugins/script.plugin.d.ts +10 -0
- package/cms/services/element-context.service.d.ts +7 -0
- package/cms/services/index.d.ts +2 -0
- package/cms/services/io-provider.service.d.ts +15 -0
- package/cms/services/resources.service.d.ts +21 -0
- package/cms/services/templates.service.d.ts +14 -0
- package/cms/types/common.types.d.ts +130 -0
- package/cms/types/elements.types.d.ts +2 -0
- package/cms/types/index.d.ts +6 -0
- package/cms/types/layouts.types.d.ts +102 -0
- package/cms/types/pages.types.d.ts +1 -0
- package/cms/types/path.types.d.ts +11 -0
- package/cms/utils/element-metadata-worker.d.ts +11 -0
- package/cms/utils/element.utils.d.ts +20 -0
- package/cms/utils/elements-resolver.d.ts +28 -0
- package/cms/utils/encoding.utils.d.ts +2 -0
- package/cms/utils/index.d.ts +9 -0
- package/cms/utils/inject.d.ts +1 -0
- package/cms/utils/path.utils.d.ts +3 -0
- package/cms/utils/script.utils.d.ts +2 -0
- package/cms/utils/transpilation-worker.d.ts +13 -0
- package/cms/utils/ui-builder-layout.utils.d.ts +4 -0
- package/cms/utils/ui-definition.utils.d.ts +6 -0
- package/cms/vendor-map.d.ts +86 -0
- package/core/core.module.d.ts +10 -0
- package/core/directives/directives.module.d.ts +7 -0
- package/core/directives/index.d.ts +2 -0
- package/core/directives/primeng-calendar.directive.d.ts +14 -0
- package/core/index.d.ts +8 -525
- package/core/modules/configuration/configuration.module.d.ts +8 -0
- package/core/modules/configuration/index.d.ts +6 -0
- package/core/modules/configuration/services/configuration-runtime.service.d.ts +17 -0
- package/core/modules/configuration/services/configuration-state.service.d.ts +60 -0
- package/core/modules/configuration/services/configuration.service.d.ts +36 -0
- package/core/modules/configuration/services/guided-selling.service.d.ts +15 -0
- package/core/modules/configuration/services/test-mode-configuration.service.d.ts +26 -0
- package/core/modules/configuration/types/configuration-runtime.types.d.ts +3 -0
- package/core/modules/configuration/types/configuration.types.d.ts +20 -0
- package/core/modules/configuration/types/index.d.ts +2 -0
- package/core/modules/flow-configuration/flow-configuration.module.d.ts +7 -0
- package/core/modules/flow-configuration/index.d.ts +1 -0
- package/core/modules/flow-configuration/services/flow-configuration.service.d.ts +23 -0
- package/core/modules/index.d.ts +2 -0
- package/core/operators/filter-successful-execute.operator.d.ts +3 -0
- package/core/operators/index.d.ts +1 -0
- package/core/pipes/action-code.pipe.d.ts +8 -0
- package/core/pipes/date.pipe.d.ts +13 -0
- package/core/pipes/index.d.ts +5 -0
- package/core/pipes/number.pipe.d.ts +10 -0
- package/core/pipes/pipes.module.d.ts +10 -0
- package/core/pipes/price.pipe.d.ts +10 -0
- package/core/services/catalog-products.service.d.ts +11 -0
- package/core/services/flow-info.service.d.ts +44 -0
- package/core/services/flow-state-configuration.service.d.ts +25 -0
- package/core/services/flow-state.service.d.ts +70 -0
- package/core/services/index.d.ts +8 -0
- package/core/services/integration.state.d.ts +16 -0
- package/core/services/product-images.service.d.ts +12 -0
- package/core/services/runtime-settings.service.d.ts +24 -0
- package/core/services/sales-transaction.service.d.ts +27 -0
- package/core/types/flow-customization.types.d.ts +10 -0
- package/core/types/flow-state.types.d.ts +12 -0
- package/core/types/formatting-settings.types.d.ts +13 -0
- package/core/types/index.d.ts +5 -0
- package/core/types/integration.types.d.ts +10 -0
- package/core/types/pipe.types.d.ts +1 -0
- package/core/types/ui-definition.types.d.ts +1 -0
- package/core/utils/index.d.ts +4 -0
- package/core/utils/pcm.utils.d.ts +5 -0
- package/core/utils/transaction-item.utils.d.ts +10 -0
- package/core/utils/transaction-item.worker.d.ts +8 -0
- package/core/utils/ui-definition.utils.d.ts +2 -0
- package/esm2020/cms/cms.actions.mjs +151 -0
- package/esm2020/cms/cms.default.mjs +5 -0
- package/esm2020/cms/cms.elements.mjs +52 -0
- package/esm2020/cms/cms.layouts.mjs +239 -0
- package/esm2020/cms/components/element-children/element-children.component.mjs +41 -0
- package/esm2020/cms/components/element-children/element-children.module.mjs +21 -0
- package/esm2020/cms/components/element-drop-handle/element-drop-handle.component.mjs +28 -0
- package/esm2020/cms/components/element-drop-handle/element-drop-handle.module.mjs +19 -0
- package/esm2020/cms/components/element-renderer/element-renderer.component.mjs +117 -0
- package/esm2020/cms/components/element-renderer/element-renderer.module.mjs +16 -0
- package/esm2020/cms/components/element-tools-panel/element-tools-panel.component.mjs +35 -0
- package/esm2020/cms/components/element.component.mjs +45 -0
- package/esm2020/cms/components/index.mjs +2 -0
- package/esm2020/cms/components/plugin.component.mjs +17 -0
- package/esm2020/cms/components/preview/index.mjs +4 -0
- package/esm2020/cms/components/preview/preview.component.mjs +75 -0
- package/esm2020/cms/components/preview/preview.module.mjs +42 -0
- package/esm2020/cms/components/preview/preview.types.mjs +2 -0
- package/esm2020/cms/decorators/element.decorator.mjs +6 -0
- package/esm2020/cms/decorators/index.mjs +2 -0
- package/esm2020/cms/definitions/index.mjs +2 -0
- package/esm2020/cms/definitions/ui-builder.definitions.mjs +18 -0
- package/esm2020/cms/directives/custom-template.directive.mjs +38 -0
- package/esm2020/cms/engine/models/entity.mjs +17 -0
- package/esm2020/cms/engine/models/plugin.mjs +6 -0
- package/esm2020/cms/index.mjs +16 -0
- package/esm2020/cms/injection-tokens.mjs +7 -0
- package/esm2020/cms/launcher.module.mjs +24 -0
- package/esm2020/cms/modules/federated/default-options.mjs +5 -0
- package/esm2020/cms/modules/federated/export.mjs +2 -0
- package/esm2020/cms/modules/federated/federated-host.directive.mjs +16 -0
- package/esm2020/cms/modules/federated/federated.component.mjs +74 -0
- package/esm2020/cms/modules/federated/federated.module.mjs +20 -0
- package/esm2020/cms/modules/federated/federated.types.mjs +2 -0
- package/esm2020/cms/modules/migrations/index.mjs +3 -0
- package/esm2020/cms/modules/migrations/migrations.mjs +22 -0
- package/esm2020/cms/modules/migrations/migrations.module.mjs +15 -0
- package/esm2020/cms/modules/migrations/services/migrations.service.mjs +47 -0
- package/esm2020/cms/modules/migrations/types/migrations.types.mjs +2 -0
- package/esm2020/cms/modules/runtime/index.mjs +4 -0
- package/esm2020/cms/modules/runtime/runtime.module.mjs +32 -0
- package/esm2020/cms/modules/runtime/services/compilation.service.mjs +93 -0
- package/esm2020/cms/modules/runtime/services/runtime-editor.service.mjs +30 -0
- package/esm2020/cms/modules/runtime/services/runtime.service.mjs +117 -0
- package/esm2020/cms/modules/runtime/tokens.mjs +3 -0
- package/esm2020/cms/modules/runtime/types/compilation.types.mjs +2 -0
- package/esm2020/cms/modules/runtime/types/runtime.actions.mjs +2 -0
- package/esm2020/cms/plugins/element-hover.plugin.mjs +121 -0
- package/esm2020/cms/plugins/io.plugin.mjs +45 -0
- package/esm2020/cms/plugins/page.plugin.mjs +37 -0
- package/esm2020/cms/plugins/region.plugin.mjs +59 -0
- package/esm2020/cms/plugins/script.plugin.mjs +31 -0
- package/esm2020/cms/services/element-context.service.mjs +10 -0
- package/esm2020/cms/services/index.mjs +3 -0
- package/esm2020/cms/services/io-provider.service.mjs +53 -0
- package/esm2020/cms/services/resources.service.mjs +71 -0
- package/esm2020/cms/services/templates.service.mjs +32 -0
- package/esm2020/cms/types/common.types.mjs +2 -0
- package/esm2020/cms/types/elements.types.mjs +2 -0
- package/esm2020/cms/types/index.mjs +7 -0
- package/esm2020/cms/types/layouts.types.mjs +71 -0
- package/esm2020/cms/types/pages.types.mjs +2 -0
- package/esm2020/cms/types/path.types.mjs +2 -0
- package/esm2020/cms/utils/element-metadata-worker.mjs +31 -0
- package/esm2020/cms/utils/element.utils.mjs +182 -0
- package/esm2020/cms/utils/elements-resolver.mjs +206 -0
- package/esm2020/cms/utils/encoding.utils.mjs +29 -0
- package/esm2020/cms/utils/index.mjs +10 -0
- package/esm2020/cms/utils/inject.mjs +27 -0
- package/esm2020/cms/utils/path.utils.mjs +44 -0
- package/esm2020/cms/utils/script.utils.mjs +46 -0
- package/esm2020/cms/utils/transpilation-worker.mjs +52 -0
- package/esm2020/cms/utils/ui-builder-layout.utils.mjs +46 -0
- package/esm2020/cms/utils/ui-definition.utils.mjs +85 -0
- package/esm2020/cms/veloceapps-sdk-cms.mjs +5 -0
- package/esm2020/cms/vendor-map.mjs +83 -0
- package/esm2020/core/core.module.mjs +54 -0
- package/esm2020/core/directives/directives.module.mjs +16 -0
- package/esm2020/core/directives/index.mjs +3 -0
- package/esm2020/core/directives/primeng-calendar.directive.mjs +41 -0
- package/esm2020/core/index.mjs +9 -0
- package/esm2020/core/modules/configuration/configuration.module.mjs +34 -0
- package/esm2020/core/modules/configuration/index.mjs +7 -0
- package/esm2020/core/modules/configuration/services/configuration-runtime.service.mjs +29 -0
- package/esm2020/core/modules/configuration/services/configuration-state.service.mjs +381 -0
- package/esm2020/core/modules/configuration/services/configuration.service.mjs +159 -0
- package/esm2020/core/modules/configuration/services/guided-selling.service.mjs +62 -0
- package/esm2020/core/modules/configuration/services/test-mode-configuration.service.mjs +97 -0
- package/esm2020/core/modules/configuration/types/configuration-runtime.types.mjs +2 -0
- package/esm2020/core/modules/configuration/types/configuration.types.mjs +2 -0
- package/esm2020/core/modules/configuration/types/index.mjs +3 -0
- package/esm2020/core/modules/flow-configuration/flow-configuration.module.mjs +17 -0
- package/esm2020/core/modules/flow-configuration/index.mjs +2 -0
- package/esm2020/core/modules/flow-configuration/services/flow-configuration.service.mjs +80 -0
- package/esm2020/core/modules/index.mjs +3 -0
- package/esm2020/core/operators/filter-successful-execute.operator.mjs +5 -0
- package/esm2020/core/operators/index.mjs +2 -0
- package/esm2020/core/pipes/action-code.pipe.mjs +20 -0
- package/esm2020/core/pipes/date.pipe.mjs +44 -0
- package/esm2020/core/pipes/index.mjs +6 -0
- package/esm2020/core/pipes/number.pipe.mjs +27 -0
- package/esm2020/core/pipes/pipes.module.mjs +19 -0
- package/esm2020/core/pipes/price.pipe.mjs +30 -0
- package/esm2020/core/services/catalog-products.service.mjs +25 -0
- package/esm2020/core/services/flow-info.service.mjs +146 -0
- package/esm2020/core/services/flow-state-configuration.service.mjs +120 -0
- package/esm2020/core/services/flow-state.service.mjs +417 -0
- package/esm2020/core/services/index.mjs +9 -0
- package/esm2020/core/services/integration.state.mjs +36 -0
- package/esm2020/core/services/product-images.service.mjs +30 -0
- package/esm2020/core/services/runtime-settings.service.mjs +112 -0
- package/esm2020/core/services/sales-transaction.service.mjs +67 -0
- package/esm2020/core/types/flow-customization.types.mjs +3 -0
- package/esm2020/core/types/flow-state.types.mjs +2 -0
- package/esm2020/core/types/formatting-settings.types.mjs +3 -0
- package/esm2020/core/types/index.mjs +6 -0
- package/esm2020/core/types/integration.types.mjs +2 -0
- package/esm2020/core/types/pipe.types.mjs +2 -0
- package/esm2020/core/types/ui-definition.types.mjs +2 -0
- package/esm2020/core/utils/index.mjs +5 -0
- package/esm2020/core/utils/pcm.utils.mjs +15 -0
- package/esm2020/core/utils/transaction-item.utils.mjs +144 -0
- package/esm2020/core/utils/transaction-item.worker.mjs +16 -0
- package/esm2020/core/utils/ui-definition.utils.mjs +9 -0
- package/esm2020/core/veloceapps-sdk-core.mjs +5 -0
- package/esm2020/index.mjs +2 -0
- package/esm2020/src/components/dialog/dialog.component.mjs +36 -0
- package/esm2020/src/components/dialog/dialog.module.mjs +19 -0
- package/esm2020/src/components/dialog/dialog.types.mjs +2 -0
- package/esm2020/src/components/flow-header/flow-header.component.mjs +107 -0
- package/esm2020/src/components/flow-header/flow-header.module.mjs +19 -0
- package/esm2020/src/components/flow-header/index.mjs +2 -0
- package/esm2020/src/components/guided-selling/guided-selling.component.mjs +107 -0
- package/esm2020/src/components/guided-selling/guided-selling.module.mjs +19 -0
- package/esm2020/src/configure-primeng.mjs +33 -0
- package/esm2020/src/constants.mjs +2 -0
- package/esm2020/src/flow-routing.module.mjs +97 -0
- package/esm2020/src/flow.component.mjs +39 -0
- package/esm2020/src/flow.module.mjs +60 -0
- package/esm2020/src/guards/flow.guard.mjs +35 -0
- package/esm2020/src/guards/product-unload.guard.mjs +49 -0
- package/esm2020/src/guards/root.guard.mjs +46 -0
- package/esm2020/src/index.mjs +5 -0
- package/esm2020/src/pages/assets/assets.component.mjs +106 -0
- package/esm2020/src/pages/assets/assets.module.mjs +20 -0
- package/esm2020/src/pages/catalog/catalog.component.mjs +106 -0
- package/esm2020/src/pages/catalog/catalog.module.mjs +20 -0
- package/esm2020/src/pages/debug/debug.component.mjs +49 -0
- package/esm2020/src/pages/debug/debug.module.mjs +46 -0
- package/esm2020/src/pages/product/product.component.mjs +55 -0
- package/esm2020/src/pages/product/product.module.mjs +20 -0
- package/esm2020/src/pages/record-not-found/record-not-found.component.mjs +27 -0
- package/esm2020/src/pages/record-not-found/record-not-found.module.mjs +20 -0
- package/esm2020/src/pages/shopping-cart/shopping-cart.component.mjs +106 -0
- package/esm2020/src/pages/shopping-cart/shopping-cart.module.mjs +20 -0
- package/esm2020/src/resolvers/flow.resolver.mjs +50 -0
- package/esm2020/src/resolvers/pcm-model.resolver.mjs +12 -0
- package/esm2020/src/resolvers/sales-transaction.resolver.mjs +64 -0
- package/esm2020/src/resolvers/ui-definition.resolver.mjs +44 -0
- package/esm2020/src/services/flow-dialog.service.mjs +91 -0
- package/esm2020/src/services/flow-router.service.mjs +173 -0
- package/esm2020/src/services/flow.service.mjs +102 -0
- package/esm2020/src/services/guided-selling.service.mjs +34 -0
- package/esm2020/src/services/index.mjs +4 -0
- package/esm2020/src/types/index.mjs +2 -0
- package/esm2020/src/types/route.types.mjs +2 -0
- package/esm2020/veloceapps-sdk.mjs +5 -0
- package/fesm2015/veloceapps-sdk-cms.mjs +2514 -0
- package/fesm2015/veloceapps-sdk-cms.mjs.map +1 -0
- package/fesm2015/veloceapps-sdk-core.mjs +2084 -0
- package/fesm2015/veloceapps-sdk-core.mjs.map +1 -0
- package/fesm2015/veloceapps-sdk.mjs +1598 -0
- package/fesm2015/veloceapps-sdk.mjs.map +1 -0
- package/fesm2020/veloceapps-sdk-cms.mjs +2613 -0
- package/fesm2020/veloceapps-sdk-cms.mjs.map +1 -0
- package/{fesm2022 → fesm2020}/veloceapps-sdk-core.mjs +133 -145
- package/fesm2020/veloceapps-sdk-core.mjs.map +1 -0
- package/{fesm2022 → fesm2020}/veloceapps-sdk.mjs +192 -186
- package/fesm2020/veloceapps-sdk.mjs.map +1 -0
- package/index.d.ts +1 -330
- package/package.json +34 -17
- package/src/components/dialog/dialog.component.d.ts +13 -0
- package/src/components/dialog/dialog.module.d.ts +9 -0
- package/src/components/dialog/dialog.types.d.ts +7 -0
- package/src/components/flow-header/flow-header.component.d.ts +25 -0
- package/src/components/flow-header/flow-header.module.d.ts +9 -0
- package/src/components/flow-header/index.d.ts +1 -0
- package/src/components/guided-selling/guided-selling.component.d.ts +25 -0
- package/src/components/guided-selling/guided-selling.module.d.ts +9 -0
- package/src/configure-primeng.d.ts +1 -0
- package/src/constants.d.ts +1 -0
- package/src/flow-routing.module.d.ts +11 -0
- package/src/flow.component.d.ts +21 -0
- package/src/flow.module.d.ts +16 -0
- package/src/guards/flow.guard.d.ts +2 -0
- package/src/guards/product-unload.guard.d.ts +16 -0
- package/src/guards/root.guard.d.ts +14 -0
- package/src/index.d.ts +4 -0
- package/src/pages/assets/assets.component.d.ts +31 -0
- package/src/pages/assets/assets.module.d.ts +10 -0
- package/src/pages/catalog/catalog.component.d.ts +31 -0
- package/src/pages/catalog/catalog.module.d.ts +10 -0
- package/src/pages/debug/debug.component.d.ts +21 -0
- package/src/pages/debug/debug.module.d.ts +14 -0
- package/src/pages/product/product.component.d.ts +24 -0
- package/src/pages/product/product.module.d.ts +10 -0
- package/src/pages/record-not-found/record-not-found.component.d.ts +12 -0
- package/src/pages/record-not-found/record-not-found.module.d.ts +9 -0
- package/src/pages/shopping-cart/shopping-cart.component.d.ts +31 -0
- package/src/pages/shopping-cart/shopping-cart.module.d.ts +10 -0
- package/src/resolvers/flow.resolver.d.ts +14 -0
- package/src/resolvers/pcm-model.resolver.d.ts +3 -0
- package/src/resolvers/sales-transaction.resolver.d.ts +18 -0
- package/src/resolvers/ui-definition.resolver.d.ts +3 -0
- package/src/services/flow-dialog.service.d.ts +23 -0
- package/src/services/flow-router.service.d.ts +42 -0
- package/src/services/flow.service.d.ts +21 -0
- package/src/services/guided-selling.service.d.ts +13 -0
- package/src/services/index.d.ts +3 -0
- package/src/types/index.d.ts +1 -0
- package/src/types/route.types.d.ts +4 -0
- package/fesm2022/veloceapps-sdk-cms.mjs +0 -2611
- package/fesm2022/veloceapps-sdk-cms.mjs.map +0 -1
- package/fesm2022/veloceapps-sdk-core.mjs.map +0 -1
- package/fesm2022/veloceapps-sdk.mjs.map +0 -1
|
@@ -1,29 +1,31 @@
|
|
|
1
|
-
import
|
|
1
|
+
import * as i4 from '@angular/common';
|
|
2
|
+
import { CommonModule } from '@angular/common';
|
|
2
3
|
import * as i0 from '@angular/core';
|
|
3
|
-
import {
|
|
4
|
+
import { Component, ChangeDetectionStrategy, NgModule, Optional, Inject, Injectable, inject } from '@angular/core';
|
|
4
5
|
import { ApiModule } from '@veloceapps/api';
|
|
5
6
|
import * as i2 from '@veloceapps/components';
|
|
6
7
|
import { ToastType, LoaderModule, LetDirectiveModule } from '@veloceapps/components';
|
|
7
|
-
import * as
|
|
8
|
-
import { btoaSafe, PreviewModule, FlowAction,
|
|
9
|
-
import * as i3 from '@veloceapps/sdk/core';
|
|
8
|
+
import * as i5 from '@veloceapps/sdk/cms';
|
|
9
|
+
import { btoaSafe, PreviewModule, FlowAction, LauncherModule } from '@veloceapps/sdk/cms';
|
|
10
|
+
import * as i3$1 from '@veloceapps/sdk/core';
|
|
10
11
|
import { FLOW_CUSTOMIZATION, RuntimeSettingsService, FlowStateService, FlowInfoService, SalesTransactionService, ConfigurationService, IntegrationState, ConfigurationRuntimeService, SdkCoreModule } from '@veloceapps/sdk/core';
|
|
11
|
-
import
|
|
12
|
+
import * as i3 from 'primeng/button';
|
|
13
|
+
import { ButtonModule } from 'primeng/button';
|
|
12
14
|
import * as i1 from 'primeng/dynamicdialog';
|
|
13
15
|
import * as i1$1 from '@veloceapps/api/v2';
|
|
14
16
|
import { UIDefinitionsAdminApiService } from '@veloceapps/api/v2';
|
|
15
17
|
import { BehaviorSubject, Subject, filter, first, tap, takeUntil, catchError, of, map, switchMap, shareReplay, startWith, distinctUntilChanged, from, take, combineLatest } from 'rxjs';
|
|
16
18
|
import { DomHandler } from 'primeng/dom';
|
|
17
19
|
import * as i1$2 from '@angular/router';
|
|
18
|
-
import { NavigationEnd, NavigationStart, NavigationCancel, NavigationError,
|
|
20
|
+
import { NavigationEnd, NavigationStart, NavigationCancel, NavigationError, RouterModule } from '@angular/router';
|
|
19
21
|
import { mapShoppingCartSettings, getMaxRenewalTermsValue, SalesforceIdUtils, UITemplateType, isVeloceError, extractErrorDetails } from '@veloceapps/core';
|
|
20
22
|
import { HttpErrorResponse, HttpParams } from '@angular/common/http';
|
|
21
|
-
import * as
|
|
22
|
-
import { FormGroup, FormControl,
|
|
23
|
+
import * as i4$1 from '@angular/forms';
|
|
24
|
+
import { FormGroup, FormControl, FormsModule, ReactiveFormsModule } from '@angular/forms';
|
|
23
25
|
import { DropdownModule } from 'primeng/dropdown';
|
|
24
|
-
import * as
|
|
26
|
+
import * as i7 from 'primeng/inputtext';
|
|
25
27
|
import { InputTextModule } from 'primeng/inputtext';
|
|
26
|
-
import * as i5 from 'primeng/radiobutton';
|
|
28
|
+
import * as i5$1 from 'primeng/radiobutton';
|
|
27
29
|
import { RadioButtonModule } from 'primeng/radiobutton';
|
|
28
30
|
import { catchError as catchError$1 } from 'rxjs/operators';
|
|
29
31
|
|
|
@@ -51,23 +53,24 @@ class FlowDialogComponent {
|
|
|
51
53
|
this.ref.close(true);
|
|
52
54
|
}
|
|
53
55
|
}
|
|
54
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: FlowDialogComponent, deps: [{ token: i1.DynamicDialogConfig }, { token: i1.DynamicDialogRef }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
55
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.1.4", type: FlowDialogComponent, isStandalone: true, selector: "vl-flow-dialog", ngImport: i0, template: "<div class=\"header\">\n <div class=\"title\">\n {{ config.title }}\n </div>\n\n <i class=\"vl-icon vl-cross\" (click)=\"cancelHandler()\"></i>\n</div>\n\n@if (config.description) {\n<div class=\"description\">\n {{ config.description }}\n</div>\n}\n\n<div class=\"form-actions\">\n @if (config.secondaryButton) {\n <p-button\n styleClass=\"p-button-outlined button-text-bold\"\n [label]=\"config.secondaryButton!\"\n (onClick)=\"cancelHandler()\"\n ></p-button>\n }\n <p-button\n styleClass=\"p-button p-button-filled\"\n [label]=\"config.primaryButton\"\n (onClick)=\"confirmHandler()\"\n ></p-button>\n</div>\n", styles: [":host{display:flex;flex-direction:column;width:100%}:host *{font-family:var(--cg-font-family)}:host .header{display:flex;justify-content:space-between;align-items:center;padding:16px 16px 8px}:host .header .title{color:var(--cg-black);font-size:16px;font-style:normal;font-weight:500;line-height:20px}:host .header .vl-icon{cursor:pointer}:host .description{flex:1;padding:0 16px 16px;color:var(--cg-black);font-size:12px;font-style:normal;font-weight:300;line-height:16px;letter-spacing:.3px}:host .form-actions{background:var(--cg-bg-color);padding:12px 16px;display:flex;justify-content:flex-end;width:100%;gap:16px}:host p-button ::ng-deep button{border-radius:24px;width:100%;font-size:12px;font-family:var(--cg-font-family);font-weight:300;line-height:16px;letter-spacing:.3px;white-space:nowrap}:host p-button ::ng-deep .p-button-outlined{background-color:var(--cg-white);color:var(--cg-primary-color)}:host p-button ::ng-deep .p-button-outlined:hover{background-color:var(--cg-primary-color);color:var(--cg-white)}:host p-button ::ng-deep .p-button-filled{background-color:var(--cg-primary-color);color:var(--cg-white);border:1px solid var(--cg-primary-color)}:host p-button ::ng-deep .p-button-filled:hover{background-color:var(--cg-primary-color-hover);border-color:var(--cg-primary-color-hover)}::ng-deep .p-dialog.flow-dialog{border-radius:8px;box-shadow:0 8px 32px #0000001a}\n"], dependencies: [{ kind: "component", type: Button, selector: "p-button", inputs: ["type", "iconPos", "icon", "badge", "label", "disabled", "loading", "loadingIcon", "raised", "rounded", "text", "plain", "severity", "outlined", "link", "tabindex", "size", "style", "styleClass", "badgeClass", "ariaLabel", "autofocus"], outputs: ["onClick", "onFocus", "onBlur"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
56
56
|
}
|
|
57
|
-
i0.ɵɵ
|
|
57
|
+
FlowDialogComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: FlowDialogComponent, deps: [{ token: i1.DynamicDialogConfig }, { token: i1.DynamicDialogRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
58
|
+
FlowDialogComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: FlowDialogComponent, selector: "vl-flow-dialog", ngImport: i0, template: "<div class=\"header\">\n <div class=\"title\">\n {{ config.title }}\n </div>\n\n <i class=\"vl-icon vl-cross\" (click)=\"cancelHandler()\"></i>\n</div>\n\n<div *ngIf=\"config.description\" class=\"description\">\n {{ config.description }}\n</div>\n\n<div class=\"form-actions\">\n <p-button\n *ngIf=\"config.secondaryButton\"\n styleClass=\"p-button-outlined button-text-bold\"\n [label]=\"config.secondaryButton!\"\n (onClick)=\"cancelHandler()\"\n ></p-button>\n <p-button\n styleClass=\"p-button p-button-filled\"\n [label]=\"config.primaryButton\"\n (onClick)=\"confirmHandler()\"\n ></p-button>\n</div>\n", styles: [":host{display:flex;flex-direction:column;width:100%}:host *{font-family:var(--cg-font-family)}:host .header{display:flex;justify-content:space-between;align-items:center;padding:16px 16px 8px}:host .header .title{color:var(--cg-black);font-size:16px;font-style:normal;font-weight:500;line-height:20px}:host .header .vl-icon{cursor:pointer}:host .description{flex:1;padding:0 16px 16px;color:var(--cg-black);font-size:12px;font-style:normal;font-weight:300;line-height:16px;letter-spacing:.3px}:host .form-actions{background:var(--cg-bg-color);padding:12px 16px;display:flex;justify-content:flex-end;width:100%;gap:16px}:host p-button ::ng-deep button{border-radius:24px;width:100%;font-size:12px;font-family:var(--cg-font-family);font-weight:300;line-height:16px;letter-spacing:.3px;white-space:nowrap}:host p-button ::ng-deep .p-button-outlined{background-color:var(--cg-white);color:var(--cg-primary-color)}:host p-button ::ng-deep .p-button-outlined:hover{background-color:var(--cg-primary-color);color:var(--cg-white)}:host p-button ::ng-deep .p-button-filled{background-color:var(--cg-primary-color);color:var(--cg-white);border:1px solid var(--cg-primary-color)}:host p-button ::ng-deep .p-button-filled:hover{background-color:var(--cg-primary-color-hover);border-color:var(--cg-primary-color-hover)}::ng-deep .p-dialog.flow-dialog{border-radius:8px;box-shadow:0 8px 32px #0000001a}\n"], dependencies: [{ kind: "directive", type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i3.Button, selector: "p-button", inputs: ["type", "iconPos", "icon", "badge", "label", "disabled", "loading", "loadingIcon", "style", "styleClass", "badgeClass"], outputs: ["onClick", "onFocus", "onBlur"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
59
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: FlowDialogComponent, decorators: [{
|
|
58
60
|
type: Component,
|
|
59
|
-
args: [{ selector: 'vl-flow-dialog', changeDetection: ChangeDetectionStrategy.OnPush,
|
|
60
|
-
}], ctorParameters: ()
|
|
61
|
+
args: [{ selector: 'vl-flow-dialog', changeDetection: ChangeDetectionStrategy.OnPush, template: "<div class=\"header\">\n <div class=\"title\">\n {{ config.title }}\n </div>\n\n <i class=\"vl-icon vl-cross\" (click)=\"cancelHandler()\"></i>\n</div>\n\n<div *ngIf=\"config.description\" class=\"description\">\n {{ config.description }}\n</div>\n\n<div class=\"form-actions\">\n <p-button\n *ngIf=\"config.secondaryButton\"\n styleClass=\"p-button-outlined button-text-bold\"\n [label]=\"config.secondaryButton!\"\n (onClick)=\"cancelHandler()\"\n ></p-button>\n <p-button\n styleClass=\"p-button p-button-filled\"\n [label]=\"config.primaryButton\"\n (onClick)=\"confirmHandler()\"\n ></p-button>\n</div>\n", styles: [":host{display:flex;flex-direction:column;width:100%}:host *{font-family:var(--cg-font-family)}:host .header{display:flex;justify-content:space-between;align-items:center;padding:16px 16px 8px}:host .header .title{color:var(--cg-black);font-size:16px;font-style:normal;font-weight:500;line-height:20px}:host .header .vl-icon{cursor:pointer}:host .description{flex:1;padding:0 16px 16px;color:var(--cg-black);font-size:12px;font-style:normal;font-weight:300;line-height:16px;letter-spacing:.3px}:host .form-actions{background:var(--cg-bg-color);padding:12px 16px;display:flex;justify-content:flex-end;width:100%;gap:16px}:host p-button ::ng-deep button{border-radius:24px;width:100%;font-size:12px;font-family:var(--cg-font-family);font-weight:300;line-height:16px;letter-spacing:.3px;white-space:nowrap}:host p-button ::ng-deep .p-button-outlined{background-color:var(--cg-white);color:var(--cg-primary-color)}:host p-button ::ng-deep .p-button-outlined:hover{background-color:var(--cg-primary-color);color:var(--cg-white)}:host p-button ::ng-deep .p-button-filled{background-color:var(--cg-primary-color);color:var(--cg-white);border:1px solid var(--cg-primary-color)}:host p-button ::ng-deep .p-button-filled:hover{background-color:var(--cg-primary-color-hover);border-color:var(--cg-primary-color-hover)}::ng-deep .p-dialog.flow-dialog{border-radius:8px;box-shadow:0 8px 32px #0000001a}\n"] }]
|
|
62
|
+
}], ctorParameters: function () { return [{ type: i1.DynamicDialogConfig }, { type: i1.DynamicDialogRef }]; } });
|
|
61
63
|
|
|
62
64
|
class FlowDialogModule {
|
|
63
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: FlowDialogModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
64
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.1.4", ngImport: i0, type: FlowDialogModule, imports: [CommonModule, ButtonModule, FlowDialogComponent], exports: [FlowDialogComponent] }); }
|
|
65
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: FlowDialogModule, imports: [CommonModule, ButtonModule, FlowDialogComponent] }); }
|
|
66
65
|
}
|
|
67
|
-
i0.ɵɵ
|
|
66
|
+
FlowDialogModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: FlowDialogModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
67
|
+
FlowDialogModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.9", ngImport: i0, type: FlowDialogModule, declarations: [FlowDialogComponent], imports: [CommonModule, ButtonModule], exports: [FlowDialogComponent] });
|
|
68
|
+
FlowDialogModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: FlowDialogModule, imports: [CommonModule, ButtonModule] });
|
|
69
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: FlowDialogModule, decorators: [{
|
|
68
70
|
type: NgModule,
|
|
69
71
|
args: [{
|
|
70
|
-
|
|
72
|
+
declarations: [FlowDialogComponent],
|
|
73
|
+
imports: [CommonModule, ButtonModule],
|
|
71
74
|
exports: [FlowDialogComponent],
|
|
72
75
|
}]
|
|
73
76
|
}] });
|
|
@@ -154,28 +157,29 @@ class FlowHeaderComponent {
|
|
|
154
157
|
return uiDef;
|
|
155
158
|
}));
|
|
156
159
|
}
|
|
157
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: FlowHeaderComponent, deps: [{ token: i1$1.UITemplatesAdminApiService }, { token: i3.FlowStateService }, { token: i3.FlowInfoService }, { token: i2.ToastService }, { token: FLOW_CUSTOMIZATION, optional: true }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
158
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.1.4", type: FlowHeaderComponent, isStandalone: true, selector: "vl-flow-new-header", ngImport: i0, template: "@if (uiDefinition$ | async; as uiDefinition) {\n<vl-cms-preview [uiDefinition]=\"uiDefinition\"></vl-cms-preview>\n}\n", styles: [":host,vl-cms-preview{display:contents}\n"], dependencies: [{ kind: "ngmodule", type: PreviewModule }, { kind: "component", type: i4.PreviewComponent, selector: "vl-cms-preview", inputs: ["uiDefinition", "config"] }, { kind: "pipe", type: AsyncPipe, name: "async" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
159
160
|
}
|
|
160
|
-
i0.ɵɵ
|
|
161
|
+
FlowHeaderComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: FlowHeaderComponent, deps: [{ token: i1$1.UITemplatesAdminApiService }, { token: i3$1.FlowStateService }, { token: i3$1.FlowInfoService }, { token: i2.ToastService }, { token: FLOW_CUSTOMIZATION, optional: true }], target: i0.ɵɵFactoryTarget.Component });
|
|
162
|
+
FlowHeaderComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: FlowHeaderComponent, selector: "vl-flow-new-header", ngImport: i0, template: "<ng-container *ngIf=\"uiDefinition$ | async as uiDefinition\">\n <vl-cms-preview [uiDefinition]=\"uiDefinition\"></vl-cms-preview>\n</ng-container>\n", styles: [":host,vl-cms-preview{display:contents}\n"], dependencies: [{ kind: "directive", type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i5.PreviewComponent, selector: "vl-cms-preview", inputs: ["uiDefinition", "config"] }, { kind: "pipe", type: i4.AsyncPipe, name: "async" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
163
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: FlowHeaderComponent, decorators: [{
|
|
161
164
|
type: Component,
|
|
162
|
-
args: [{ selector: 'vl-flow-new-header', changeDetection: ChangeDetectionStrategy.OnPush,
|
|
163
|
-
}], ctorParameters: ()
|
|
165
|
+
args: [{ selector: 'vl-flow-new-header', changeDetection: ChangeDetectionStrategy.OnPush, template: "<ng-container *ngIf=\"uiDefinition$ | async as uiDefinition\">\n <vl-cms-preview [uiDefinition]=\"uiDefinition\"></vl-cms-preview>\n</ng-container>\n", styles: [":host,vl-cms-preview{display:contents}\n"] }]
|
|
166
|
+
}], ctorParameters: function () { return [{ type: i1$1.UITemplatesAdminApiService }, { type: i3$1.FlowStateService }, { type: i3$1.FlowInfoService }, { type: i2.ToastService }, { type: undefined, decorators: [{
|
|
164
167
|
type: Optional
|
|
165
168
|
}, {
|
|
166
169
|
type: Inject,
|
|
167
170
|
args: [FLOW_CUSTOMIZATION]
|
|
168
|
-
}] }] });
|
|
171
|
+
}] }]; } });
|
|
169
172
|
|
|
170
173
|
class FlowNewHeaderModule {
|
|
171
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: FlowNewHeaderModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
172
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.1.4", ngImport: i0, type: FlowNewHeaderModule, imports: [CommonModule, PreviewModule, FlowHeaderComponent], exports: [FlowHeaderComponent] }); }
|
|
173
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: FlowNewHeaderModule, imports: [CommonModule, PreviewModule, FlowHeaderComponent] }); }
|
|
174
174
|
}
|
|
175
|
-
i0.ɵɵ
|
|
175
|
+
FlowNewHeaderModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: FlowNewHeaderModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
176
|
+
FlowNewHeaderModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.9", ngImport: i0, type: FlowNewHeaderModule, declarations: [FlowHeaderComponent], imports: [CommonModule, PreviewModule], exports: [FlowHeaderComponent] });
|
|
177
|
+
FlowNewHeaderModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: FlowNewHeaderModule, imports: [CommonModule, PreviewModule] });
|
|
178
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: FlowNewHeaderModule, decorators: [{
|
|
176
179
|
type: NgModule,
|
|
177
180
|
args: [{
|
|
178
|
-
|
|
181
|
+
declarations: [FlowHeaderComponent],
|
|
182
|
+
imports: [CommonModule, PreviewModule],
|
|
179
183
|
exports: [FlowHeaderComponent],
|
|
180
184
|
}]
|
|
181
185
|
}] });
|
|
@@ -262,28 +266,29 @@ class GuidedSellingComponent {
|
|
|
262
266
|
return uiDef;
|
|
263
267
|
}));
|
|
264
268
|
}
|
|
265
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: GuidedSellingComponent, deps: [{ token: i1$1.UITemplatesAdminApiService }, { token: i3.FlowStateService }, { token: i3.FlowInfoService }, { token: i2.ToastService }, { token: FLOW_CUSTOMIZATION, optional: true }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
266
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.1.4", type: GuidedSellingComponent, isStandalone: true, selector: "vl-flow-guided-selling", ngImport: i0, template: "@if (uiDefinition$ | async; as uiDefinition) {\n<vl-cms-preview [uiDefinition]=\"uiDefinition\"></vl-cms-preview>\n}\n", styles: [":host,vl-cms-preview{display:contents}\n"], dependencies: [{ kind: "ngmodule", type: PreviewModule }, { kind: "component", type: i4.PreviewComponent, selector: "vl-cms-preview", inputs: ["uiDefinition", "config"] }, { kind: "pipe", type: AsyncPipe, name: "async" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
267
269
|
}
|
|
268
|
-
i0.ɵɵ
|
|
270
|
+
GuidedSellingComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: GuidedSellingComponent, deps: [{ token: i1$1.UITemplatesAdminApiService }, { token: i3$1.FlowStateService }, { token: i3$1.FlowInfoService }, { token: i2.ToastService }, { token: FLOW_CUSTOMIZATION, optional: true }], target: i0.ɵɵFactoryTarget.Component });
|
|
271
|
+
GuidedSellingComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: GuidedSellingComponent, selector: "vl-flow-guided-selling", ngImport: i0, template: "<ng-container *ngIf=\"uiDefinition$ | async as uiDefinition\">\n <vl-cms-preview [uiDefinition]=\"uiDefinition\"></vl-cms-preview>\n</ng-container>\n", styles: [":host,vl-cms-preview{display:contents}\n"], dependencies: [{ kind: "directive", type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i5.PreviewComponent, selector: "vl-cms-preview", inputs: ["uiDefinition", "config"] }, { kind: "pipe", type: i4.AsyncPipe, name: "async" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
272
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: GuidedSellingComponent, decorators: [{
|
|
269
273
|
type: Component,
|
|
270
|
-
args: [{ selector: 'vl-flow-guided-selling', changeDetection: ChangeDetectionStrategy.OnPush,
|
|
271
|
-
}], ctorParameters: ()
|
|
274
|
+
args: [{ selector: 'vl-flow-guided-selling', changeDetection: ChangeDetectionStrategy.OnPush, template: "<ng-container *ngIf=\"uiDefinition$ | async as uiDefinition\">\n <vl-cms-preview [uiDefinition]=\"uiDefinition\"></vl-cms-preview>\n</ng-container>\n", styles: [":host,vl-cms-preview{display:contents}\n"] }]
|
|
275
|
+
}], ctorParameters: function () { return [{ type: i1$1.UITemplatesAdminApiService }, { type: i3$1.FlowStateService }, { type: i3$1.FlowInfoService }, { type: i2.ToastService }, { type: undefined, decorators: [{
|
|
272
276
|
type: Optional
|
|
273
277
|
}, {
|
|
274
278
|
type: Inject,
|
|
275
279
|
args: [FLOW_CUSTOMIZATION]
|
|
276
|
-
}] }] });
|
|
280
|
+
}] }]; } });
|
|
277
281
|
|
|
278
282
|
class GuidedSellingModule {
|
|
279
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: GuidedSellingModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
280
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.1.4", ngImport: i0, type: GuidedSellingModule, imports: [CommonModule, PreviewModule, GuidedSellingComponent], exports: [GuidedSellingComponent] }); }
|
|
281
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: GuidedSellingModule, imports: [CommonModule, PreviewModule, GuidedSellingComponent] }); }
|
|
282
283
|
}
|
|
283
|
-
i0.ɵɵ
|
|
284
|
+
GuidedSellingModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: GuidedSellingModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
285
|
+
GuidedSellingModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.9", ngImport: i0, type: GuidedSellingModule, declarations: [GuidedSellingComponent], imports: [CommonModule, PreviewModule], exports: [GuidedSellingComponent] });
|
|
286
|
+
GuidedSellingModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: GuidedSellingModule, imports: [CommonModule, PreviewModule] });
|
|
287
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: GuidedSellingModule, decorators: [{
|
|
284
288
|
type: NgModule,
|
|
285
289
|
args: [{
|
|
286
|
-
|
|
290
|
+
declarations: [GuidedSellingComponent],
|
|
291
|
+
imports: [CommonModule, PreviewModule],
|
|
287
292
|
exports: [GuidedSellingComponent],
|
|
288
293
|
}]
|
|
289
294
|
}] });
|
|
@@ -396,12 +401,12 @@ class FlowDialogService {
|
|
|
396
401
|
const dialogFunction = this[dialog].bind(this);
|
|
397
402
|
return dialogFunction(dialog);
|
|
398
403
|
}
|
|
399
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: FlowDialogService, deps: [{ token: i1.DialogService }, { token: i3.RuntimeSettingsService }, { token: i3.FlowInfoService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
400
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: FlowDialogService }); }
|
|
401
404
|
}
|
|
402
|
-
i0.ɵɵ
|
|
405
|
+
FlowDialogService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: FlowDialogService, deps: [{ token: i1.DialogService }, { token: i3$1.RuntimeSettingsService }, { token: i3$1.FlowInfoService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
406
|
+
FlowDialogService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: FlowDialogService });
|
|
407
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: FlowDialogService, decorators: [{
|
|
403
408
|
type: Injectable
|
|
404
|
-
}], ctorParameters: ()
|
|
409
|
+
}], ctorParameters: function () { return [{ type: i1.DialogService }, { type: i3$1.RuntimeSettingsService }, { type: i3$1.FlowInfoService }]; } });
|
|
405
410
|
|
|
406
411
|
class FlowRouterService {
|
|
407
412
|
constructor(router, route, integrationState, flowInfoService) {
|
|
@@ -558,13 +563,13 @@ class FlowRouterService {
|
|
|
558
563
|
};
|
|
559
564
|
this.router.navigate([], { relativeTo: route, queryParams: { ...routeSnapshot.queryParams, ...queryParams } });
|
|
560
565
|
}
|
|
561
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: FlowRouterService, deps: [{ token: i1$2.Router }, { token: i1$2.ActivatedRoute }, { token: i3.IntegrationState }, { token: i3.FlowInfoService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
562
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: FlowRouterService, providedIn: 'root' }); }
|
|
563
566
|
}
|
|
564
|
-
i0.ɵɵ
|
|
567
|
+
FlowRouterService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: FlowRouterService, deps: [{ token: i1$2.Router }, { token: i1$2.ActivatedRoute }, { token: i3$1.IntegrationState }, { token: i3$1.FlowInfoService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
568
|
+
FlowRouterService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: FlowRouterService, providedIn: 'root' });
|
|
569
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: FlowRouterService, decorators: [{
|
|
565
570
|
type: Injectable,
|
|
566
571
|
args: [{ providedIn: 'root' }]
|
|
567
|
-
}], ctorParameters: ()
|
|
572
|
+
}], ctorParameters: function () { return [{ type: i1$2.Router }, { type: i1$2.ActivatedRoute }, { type: i3$1.IntegrationState }, { type: i3$1.FlowInfoService }]; } });
|
|
568
573
|
|
|
569
574
|
class FlowService {
|
|
570
575
|
constructor(integrationState, flowRouterService, configurationService, configurationStateService, flowDialogService, flowStateService, flowInfoService) {
|
|
@@ -649,12 +654,12 @@ class FlowService {
|
|
|
649
654
|
.pipe(map(path => path.queryParams['productId']), takeUntil(this.cleanup$))
|
|
650
655
|
.subscribe(productId => this.integrationState.patchState({ productId }));
|
|
651
656
|
}
|
|
652
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: FlowService, deps: [{ token: i4.IntegrationState }, { token: FlowRouterService }, { token: i3.ConfigurationService }, { token: i3.ConfigurationStateService }, { token: FlowDialogService }, { token: i3.FlowStateService }, { token: i3.FlowInfoService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
653
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: FlowService }); }
|
|
654
657
|
}
|
|
655
|
-
i0.ɵɵ
|
|
658
|
+
FlowService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: FlowService, deps: [{ token: i5.IntegrationState }, { token: FlowRouterService }, { token: i3$1.ConfigurationService }, { token: i3$1.ConfigurationStateService }, { token: FlowDialogService }, { token: i3$1.FlowStateService }, { token: i3$1.FlowInfoService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
659
|
+
FlowService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: FlowService });
|
|
660
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: FlowService, decorators: [{
|
|
656
661
|
type: Injectable
|
|
657
|
-
}], ctorParameters: ()
|
|
662
|
+
}], ctorParameters: function () { return [{ type: i5.IntegrationState }, { type: FlowRouterService }, { type: i3$1.ConfigurationService }, { type: i3$1.ConfigurationStateService }, { type: FlowDialogService }, { type: i3$1.FlowStateService }, { type: i3$1.FlowInfoService }]; } });
|
|
658
663
|
|
|
659
664
|
class FlowGuidedSellingService {
|
|
660
665
|
constructor(integrationState) {
|
|
@@ -677,12 +682,12 @@ class FlowGuidedSellingService {
|
|
|
677
682
|
.pipe(tap(() => this.isVisibleSubj$.next(false)), takeUntil(this.cleanup$))
|
|
678
683
|
.subscribe();
|
|
679
684
|
}
|
|
680
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: FlowGuidedSellingService, deps: [{ token: i3.IntegrationState }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
681
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: FlowGuidedSellingService }); }
|
|
682
685
|
}
|
|
683
|
-
i0.ɵɵ
|
|
686
|
+
FlowGuidedSellingService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: FlowGuidedSellingService, deps: [{ token: i3$1.IntegrationState }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
687
|
+
FlowGuidedSellingService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: FlowGuidedSellingService });
|
|
688
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: FlowGuidedSellingService, decorators: [{
|
|
684
689
|
type: Injectable
|
|
685
|
-
}], ctorParameters: ()
|
|
690
|
+
}], ctorParameters: function () { return [{ type: i3$1.IntegrationState }]; } });
|
|
686
691
|
|
|
687
692
|
class FlowComponent {
|
|
688
693
|
constructor(routerService, flowService, flowInfoService, guidedSellingService) {
|
|
@@ -699,13 +704,13 @@ class FlowComponent {
|
|
|
699
704
|
ngOnDestroy() {
|
|
700
705
|
this.flowService.cleanup();
|
|
701
706
|
}
|
|
702
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: FlowComponent, deps: [{ token: FlowRouterService }, { token: FlowService }, { token: i3.FlowInfoService }, { token: FlowGuidedSellingService }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
703
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.1.4", type: FlowComponent, isStandalone: true, selector: "vl-flow", ngImport: i0, template: "@if (showHeader$ | async) {\n<vl-flow-new-header></vl-flow-new-header>\n}\n\n<div class=\"flow-content\">\n @if (isLoading$ | async) {\n <div class=\"loading-overlay\">\n <vl-loader label=\"LOADING\"></vl-loader>\n </div>\n }\n\n <router-outlet></router-outlet>\n\n <div class=\"guided-selling\" [ngClass]=\"{ hidden: (guidedSellingVisible$ | async) === false }\">\n @if ((isStandalone$ | async) !== true) {\n <vl-flow-guided-selling></vl-flow-guided-selling>\n }\n </div>\n</div>\n", styles: [":host{display:flex;flex-direction:column;width:100%;height:100%}.flow-content{flex-grow:1;position:relative;overflow:hidden}.loading-overlay{position:absolute;height:100%;width:100%;inset:0;background-color:#fff;z-index:999}.guided-selling{position:absolute;top:0;width:100%;height:100%;z-index:100}.hidden{display:none}\n"], dependencies: [{ kind: "ngmodule", type: FlowNewHeaderModule }, { kind: "component", type: FlowHeaderComponent, selector: "vl-flow-new-header" }, { kind: "ngmodule", type: LoaderModule }, { kind: "component", type: i2.LoaderComponent, selector: "vl-loader", inputs: ["label", "overlayVisible"] }, { kind: "directive", type: RouterOutlet, selector: "router-outlet", inputs: ["name", "routerOutletData"], outputs: ["activate", "deactivate", "attach", "detach"], exportAs: ["outlet"] }, { kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "ngmodule", type: GuidedSellingModule }, { kind: "component", type: GuidedSellingComponent, selector: "vl-flow-guided-selling" }, { kind: "pipe", type: AsyncPipe, name: "async" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
704
707
|
}
|
|
705
|
-
i0.ɵɵ
|
|
708
|
+
FlowComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: FlowComponent, deps: [{ token: FlowRouterService }, { token: FlowService }, { token: i3$1.FlowInfoService }, { token: FlowGuidedSellingService }], target: i0.ɵɵFactoryTarget.Component });
|
|
709
|
+
FlowComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: FlowComponent, selector: "vl-flow", ngImport: i0, template: "<vl-flow-new-header *ngIf=\"showHeader$ | async\"></vl-flow-new-header>\n\n<div class=\"flow-content\">\n <div class=\"loading-overlay\" *ngIf=\"isLoading$ | async\">\n <vl-loader label=\"LOADING\"></vl-loader>\n </div>\n\n <router-outlet></router-outlet>\n\n <div class=\"guided-selling\" [ngClass]=\"{ hidden: (guidedSellingVisible$ | async) === false }\">\n <vl-flow-guided-selling *ngIf=\"(isStandalone$ | async) !== true\"></vl-flow-guided-selling>\n </div>\n</div>\n", styles: [":host{display:flex;flex-direction:column;width:100%;height:100%}.flow-content{flex-grow:1;position:relative;overflow:hidden}.loading-overlay{position:absolute;height:100%;width:100%;inset:0;background-color:#fff;z-index:999}.guided-selling{position:absolute;top:0;width:100%;height:100%;z-index:100}.hidden{display:none}\n"], dependencies: [{ kind: "directive", type: i4.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1$2.RouterOutlet, selector: "router-outlet", inputs: ["name"], outputs: ["activate", "deactivate", "attach", "detach"], exportAs: ["outlet"] }, { kind: "component", type: i2.LoaderComponent, selector: "vl-loader", inputs: ["label", "overlayVisible"] }, { kind: "component", type: FlowHeaderComponent, selector: "vl-flow-new-header" }, { kind: "component", type: GuidedSellingComponent, selector: "vl-flow-guided-selling" }, { kind: "pipe", type: i4.AsyncPipe, name: "async" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
710
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: FlowComponent, decorators: [{
|
|
706
711
|
type: Component,
|
|
707
|
-
args: [{ selector: 'vl-flow', changeDetection: ChangeDetectionStrategy.OnPush,
|
|
708
|
-
}], ctorParameters: ()
|
|
712
|
+
args: [{ selector: 'vl-flow', changeDetection: ChangeDetectionStrategy.OnPush, template: "<vl-flow-new-header *ngIf=\"showHeader$ | async\"></vl-flow-new-header>\n\n<div class=\"flow-content\">\n <div class=\"loading-overlay\" *ngIf=\"isLoading$ | async\">\n <vl-loader label=\"LOADING\"></vl-loader>\n </div>\n\n <router-outlet></router-outlet>\n\n <div class=\"guided-selling\" [ngClass]=\"{ hidden: (guidedSellingVisible$ | async) === false }\">\n <vl-flow-guided-selling *ngIf=\"(isStandalone$ | async) !== true\"></vl-flow-guided-selling>\n </div>\n</div>\n", styles: [":host{display:flex;flex-direction:column;width:100%;height:100%}.flow-content{flex-grow:1;position:relative;overflow:hidden}.loading-overlay{position:absolute;height:100%;width:100%;inset:0;background-color:#fff;z-index:999}.guided-selling{position:absolute;top:0;width:100%;height:100%;z-index:100}.hidden{display:none}\n"] }]
|
|
713
|
+
}], ctorParameters: function () { return [{ type: FlowRouterService }, { type: FlowService }, { type: i3$1.FlowInfoService }, { type: FlowGuidedSellingService }]; } });
|
|
709
714
|
|
|
710
715
|
const keepFlowInitialized = (route) => {
|
|
711
716
|
const routerService = inject(FlowRouterService);
|
|
@@ -769,12 +774,12 @@ class ProductUnloadGuard {
|
|
|
769
774
|
return false;
|
|
770
775
|
}));
|
|
771
776
|
}
|
|
772
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: ProductUnloadGuard, deps: [{ token: i1$2.Router }, { token: i3.FlowInfoService }, { token: i3.ConfigurationService }, { token: FlowDialogService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
773
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: ProductUnloadGuard }); }
|
|
774
777
|
}
|
|
775
|
-
i0.ɵɵ
|
|
778
|
+
ProductUnloadGuard.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ProductUnloadGuard, deps: [{ token: i1$2.Router }, { token: i3$1.FlowInfoService }, { token: i3$1.ConfigurationService }, { token: FlowDialogService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
779
|
+
ProductUnloadGuard.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ProductUnloadGuard });
|
|
780
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ProductUnloadGuard, decorators: [{
|
|
776
781
|
type: Injectable
|
|
777
|
-
}], ctorParameters: ()
|
|
782
|
+
}], ctorParameters: function () { return [{ type: i1$2.Router }, { type: i3$1.FlowInfoService }, { type: i3$1.ConfigurationService }, { type: FlowDialogService }]; } });
|
|
778
783
|
|
|
779
784
|
class RootGuard {
|
|
780
785
|
constructor(router, routerService) {
|
|
@@ -808,13 +813,13 @@ class RootGuard {
|
|
|
808
813
|
this.initialized = false;
|
|
809
814
|
return true;
|
|
810
815
|
}
|
|
811
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: RootGuard, deps: [{ token: i1$2.Router }, { token: FlowRouterService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
812
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: RootGuard, providedIn: 'root' }); }
|
|
813
816
|
}
|
|
814
|
-
i0.ɵɵ
|
|
817
|
+
RootGuard.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: RootGuard, deps: [{ token: i1$2.Router }, { token: FlowRouterService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
818
|
+
RootGuard.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: RootGuard, providedIn: 'root' });
|
|
819
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: RootGuard, decorators: [{
|
|
815
820
|
type: Injectable,
|
|
816
821
|
args: [{ providedIn: 'root' }]
|
|
817
|
-
}], ctorParameters: ()
|
|
822
|
+
}], ctorParameters: function () { return [{ type: i1$2.Router }, { type: FlowRouterService }]; } });
|
|
818
823
|
|
|
819
824
|
class AssetsComponent {
|
|
820
825
|
constructor(templatesAdminApiService, cdr, toastService, flowInfo, customizationService) {
|
|
@@ -897,28 +902,29 @@ class AssetsComponent {
|
|
|
897
902
|
return uiDef;
|
|
898
903
|
}));
|
|
899
904
|
}
|
|
900
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: AssetsComponent, deps: [{ token: i1$1.UITemplatesAdminApiService }, { token: i0.ChangeDetectorRef }, { token: i2.ToastService }, { token: i3.FlowInfoService }, { token: FLOW_CUSTOMIZATION, optional: true }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
901
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.1.4", type: AssetsComponent, isStandalone: true, selector: "vl-flow-assets", ngImport: i0, template: "@if (state$ | async; as state) { @if (state.loading) {\n<vl-loader [label]=\"'Loading UI'\"></vl-loader>\n} @else { @if (!state.failure) {\n<vl-cms-preview [uiDefinition]=\"uiDefinition\"></vl-cms-preview>\n} } }\n", styles: [""], dependencies: [{ kind: "ngmodule", type: LoaderModule }, { kind: "component", type: i2.LoaderComponent, selector: "vl-loader", inputs: ["label", "overlayVisible"] }, { kind: "ngmodule", type: PreviewModule }, { kind: "component", type: i4.PreviewComponent, selector: "vl-cms-preview", inputs: ["uiDefinition", "config"] }, { kind: "pipe", type: AsyncPipe, name: "async" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
902
905
|
}
|
|
903
|
-
i0.ɵɵ
|
|
906
|
+
AssetsComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: AssetsComponent, deps: [{ token: i1$1.UITemplatesAdminApiService }, { token: i0.ChangeDetectorRef }, { token: i2.ToastService }, { token: i3$1.FlowInfoService }, { token: FLOW_CUSTOMIZATION, optional: true }], target: i0.ɵɵFactoryTarget.Component });
|
|
907
|
+
AssetsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: AssetsComponent, selector: "vl-flow-assets", ngImport: i0, template: "<ng-container *ngIf=\"state$ | async as state\">\n <vl-loader *ngIf=\"state.loading; else content\" [label]=\"'Loading UI'\"></vl-loader>\n\n <ng-template #content>\n <ng-container *ngIf=\"!state.failure\">\n <vl-cms-preview [uiDefinition]=\"uiDefinition\"></vl-cms-preview>\n </ng-container>\n </ng-template>\n</ng-container>\n", styles: [""], dependencies: [{ kind: "directive", type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i5.PreviewComponent, selector: "vl-cms-preview", inputs: ["uiDefinition", "config"] }, { kind: "component", type: i2.LoaderComponent, selector: "vl-loader", inputs: ["label", "overlayVisible"] }, { kind: "pipe", type: i4.AsyncPipe, name: "async" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
908
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: AssetsComponent, decorators: [{
|
|
904
909
|
type: Component,
|
|
905
|
-
args: [{ selector: 'vl-flow-assets', changeDetection: ChangeDetectionStrategy.OnPush,
|
|
906
|
-
}], ctorParameters: ()
|
|
910
|
+
args: [{ selector: 'vl-flow-assets', changeDetection: ChangeDetectionStrategy.OnPush, template: "<ng-container *ngIf=\"state$ | async as state\">\n <vl-loader *ngIf=\"state.loading; else content\" [label]=\"'Loading UI'\"></vl-loader>\n\n <ng-template #content>\n <ng-container *ngIf=\"!state.failure\">\n <vl-cms-preview [uiDefinition]=\"uiDefinition\"></vl-cms-preview>\n </ng-container>\n </ng-template>\n</ng-container>\n" }]
|
|
911
|
+
}], ctorParameters: function () { return [{ type: i1$1.UITemplatesAdminApiService }, { type: i0.ChangeDetectorRef }, { type: i2.ToastService }, { type: i3$1.FlowInfoService }, { type: undefined, decorators: [{
|
|
907
912
|
type: Optional
|
|
908
913
|
}, {
|
|
909
914
|
type: Inject,
|
|
910
915
|
args: [FLOW_CUSTOMIZATION]
|
|
911
|
-
}] }] });
|
|
916
|
+
}] }]; } });
|
|
912
917
|
|
|
913
918
|
class AssetsModule {
|
|
914
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: AssetsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
915
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.1.4", ngImport: i0, type: AssetsModule, imports: [CommonModule, PreviewModule, LoaderModule, AssetsComponent], exports: [AssetsComponent] }); }
|
|
916
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: AssetsModule, imports: [CommonModule, PreviewModule, LoaderModule, AssetsComponent] }); }
|
|
917
919
|
}
|
|
918
|
-
i0.ɵɵ
|
|
920
|
+
AssetsModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: AssetsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
921
|
+
AssetsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.9", ngImport: i0, type: AssetsModule, declarations: [AssetsComponent], imports: [CommonModule, PreviewModule, LoaderModule], exports: [AssetsComponent] });
|
|
922
|
+
AssetsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: AssetsModule, imports: [CommonModule, PreviewModule, LoaderModule] });
|
|
923
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: AssetsModule, decorators: [{
|
|
919
924
|
type: NgModule,
|
|
920
925
|
args: [{
|
|
921
|
-
|
|
926
|
+
declarations: [AssetsComponent],
|
|
927
|
+
imports: [CommonModule, PreviewModule, LoaderModule],
|
|
922
928
|
exports: [AssetsComponent],
|
|
923
929
|
}]
|
|
924
930
|
}] });
|
|
@@ -1004,28 +1010,29 @@ class CatalogComponent {
|
|
|
1004
1010
|
return uiDef;
|
|
1005
1011
|
}));
|
|
1006
1012
|
}
|
|
1007
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: CatalogComponent, deps: [{ token: i1$1.UITemplatesAdminApiService }, { token: i0.ChangeDetectorRef }, { token: i2.ToastService }, { token: i3.FlowInfoService }, { token: FLOW_CUSTOMIZATION, optional: true }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1008
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.1.4", type: CatalogComponent, isStandalone: true, selector: "vl-flow-catalog", ngImport: i0, template: "@if (state$ | async; as state) { @if (state.loading) {\n<vl-loader [label]=\"'Loading UI'\"></vl-loader>\n} @else { @if (!state.failure) {\n<vl-cms-preview [uiDefinition]=\"uiDefinition\"></vl-cms-preview>\n} } }\n", styles: [""], dependencies: [{ kind: "ngmodule", type: LoaderModule }, { kind: "component", type: i2.LoaderComponent, selector: "vl-loader", inputs: ["label", "overlayVisible"] }, { kind: "ngmodule", type: PreviewModule }, { kind: "component", type: i4.PreviewComponent, selector: "vl-cms-preview", inputs: ["uiDefinition", "config"] }, { kind: "pipe", type: AsyncPipe, name: "async" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
1009
1013
|
}
|
|
1010
|
-
i0.ɵɵ
|
|
1014
|
+
CatalogComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: CatalogComponent, deps: [{ token: i1$1.UITemplatesAdminApiService }, { token: i0.ChangeDetectorRef }, { token: i2.ToastService }, { token: i3$1.FlowInfoService }, { token: FLOW_CUSTOMIZATION, optional: true }], target: i0.ɵɵFactoryTarget.Component });
|
|
1015
|
+
CatalogComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: CatalogComponent, selector: "vl-flow-catalog", ngImport: i0, template: "<ng-container *ngIf=\"state$ | async as state\">\n <vl-loader *ngIf=\"state.loading; else content\" [label]=\"'Loading UI'\"></vl-loader>\n\n <ng-template #content>\n <ng-container *ngIf=\"!state.failure\">\n <vl-cms-preview [uiDefinition]=\"uiDefinition\"></vl-cms-preview>\n </ng-container>\n </ng-template>\n</ng-container>\n", styles: [""], dependencies: [{ kind: "directive", type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i5.PreviewComponent, selector: "vl-cms-preview", inputs: ["uiDefinition", "config"] }, { kind: "component", type: i2.LoaderComponent, selector: "vl-loader", inputs: ["label", "overlayVisible"] }, { kind: "pipe", type: i4.AsyncPipe, name: "async" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1016
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: CatalogComponent, decorators: [{
|
|
1011
1017
|
type: Component,
|
|
1012
|
-
args: [{ selector: 'vl-flow-catalog', changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1013
|
-
}], ctorParameters: ()
|
|
1018
|
+
args: [{ selector: 'vl-flow-catalog', changeDetection: ChangeDetectionStrategy.OnPush, template: "<ng-container *ngIf=\"state$ | async as state\">\n <vl-loader *ngIf=\"state.loading; else content\" [label]=\"'Loading UI'\"></vl-loader>\n\n <ng-template #content>\n <ng-container *ngIf=\"!state.failure\">\n <vl-cms-preview [uiDefinition]=\"uiDefinition\"></vl-cms-preview>\n </ng-container>\n </ng-template>\n</ng-container>\n" }]
|
|
1019
|
+
}], ctorParameters: function () { return [{ type: i1$1.UITemplatesAdminApiService }, { type: i0.ChangeDetectorRef }, { type: i2.ToastService }, { type: i3$1.FlowInfoService }, { type: undefined, decorators: [{
|
|
1014
1020
|
type: Optional
|
|
1015
1021
|
}, {
|
|
1016
1022
|
type: Inject,
|
|
1017
1023
|
args: [FLOW_CUSTOMIZATION]
|
|
1018
|
-
}] }] });
|
|
1024
|
+
}] }]; } });
|
|
1019
1025
|
|
|
1020
1026
|
class CatalogModule {
|
|
1021
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: CatalogModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
1022
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.1.4", ngImport: i0, type: CatalogModule, imports: [CommonModule, PreviewModule, LoaderModule, RuntimeModule, CatalogComponent], exports: [CatalogComponent] }); }
|
|
1023
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: CatalogModule, imports: [CommonModule, PreviewModule, LoaderModule, RuntimeModule, CatalogComponent] }); }
|
|
1024
1027
|
}
|
|
1025
|
-
i0.ɵɵ
|
|
1028
|
+
CatalogModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: CatalogModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
1029
|
+
CatalogModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.9", ngImport: i0, type: CatalogModule, declarations: [CatalogComponent], imports: [CommonModule, PreviewModule, LoaderModule], exports: [CatalogComponent] });
|
|
1030
|
+
CatalogModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: CatalogModule, imports: [CommonModule, PreviewModule, LoaderModule] });
|
|
1031
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: CatalogModule, decorators: [{
|
|
1026
1032
|
type: NgModule,
|
|
1027
1033
|
args: [{
|
|
1028
|
-
|
|
1034
|
+
declarations: [CatalogComponent],
|
|
1035
|
+
imports: [CommonModule, PreviewModule, LoaderModule],
|
|
1029
1036
|
exports: [CatalogComponent],
|
|
1030
1037
|
}]
|
|
1031
1038
|
}] });
|
|
@@ -1057,37 +1064,36 @@ class DebugComponent {
|
|
|
1057
1064
|
getQueryParamsString(params) {
|
|
1058
1065
|
return new HttpParams({ fromObject: params }).toString();
|
|
1059
1066
|
}
|
|
1060
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: DebugComponent, deps: [{ token: i1$1.FlowsApiService }, { token: i1$2.Router }, { token: i1$2.ActivatedRoute }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1061
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.1.4", type: DebugComponent, isStandalone: true, selector: "vl-flow-debug", ngImport: i0, template: "<form [formGroup]=\"form\">\n <div class=\"fields-container\">\n <div class=\"field\">\n <label>SF Object ID</label>\n <input formControlName=\"id\" pInputText type=\"text\" />\n </div>\n </div>\n\n <p-button\n styleClass=\"p-button-primary\"\n label=\"Run Flow\"\n [disabled]=\"!form.value.id || !selectedFlow\"\n (onClick)=\"runFlow()\"\n ></p-button>\n</form>\n\n<table>\n <thead>\n <tr>\n <th [width]=\"30\"></th>\n <th [width]=\"160\">ID</th>\n <th [width]=\"160\">Entry Path</th>\n <th>QueryParams</th>\n <th [width]=\"100\">Standalone</th>\n <th [width]=\"100\">Stateful</th>\n </tr>\n </thead>\n <tbody>\n @for (flow of flows$ | async; track flow) {\n <tr (click)=\"selectedFlow = flow\">\n <td><p-radioButton [inputId]=\"flow.id\" name=\"flow\" [value]=\"flow\" [(ngModel)]=\"selectedFlow\"></p-radioButton></td>\n <td>{{ flow.id }}</td>\n <td>{{ flow.properties.entryPath }}</td>\n <td class=\"cell-query-params\">{{ getQueryParamsString(flow.properties.queryParams) }}</td>\n <td>{{ flow.properties.standalone }}</td>\n <td>{{ flow.properties.stateful }}</td>\n </tr>\n }\n </tbody>\n</table>\n", styles: [":host{display:block;padding:24px 54px}form{display:flex;align-items:center;justify-content:space-between}.fields-container{display:flex;gap:24px}.field{display:flex;flex-direction:column;width:200px;flex-shrink:0}:host ::ng-deep .p-dropdown{width:100%}table{width:100%;border-collapse:collapse;table-layout:fixed}tbody>tr{cursor:pointer}tbody>tr:hover{background-color:#f0f5fa}th{text-align:left;font-weight:600}th,td{padding:0 10px;height:30px;border-bottom:1px solid var(--vl-border-color);margin-right:16px;line-height:18px}.cell-query-params{word-break:break-all}\n"], dependencies: [{ kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i3$1.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i3$1.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i3$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i3$1.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i3$1.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i3$1.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "ngmodule", type: InputTextModule }, { kind: "directive", type: i4$1.InputText, selector: "[pInputText]", inputs: ["variant"] }, { kind: "component", type: Button, selector: "p-button", inputs: ["type", "iconPos", "icon", "badge", "label", "disabled", "loading", "loadingIcon", "raised", "rounded", "text", "plain", "severity", "outlined", "link", "tabindex", "size", "style", "styleClass", "badgeClass", "ariaLabel", "autofocus"], outputs: ["onClick", "onFocus", "onBlur"] }, { kind: "ngmodule", type: RadioButtonModule }, { kind: "component", type: i5.RadioButton, selector: "p-radioButton", inputs: ["value", "formControlName", "name", "disabled", "label", "variant", "tabindex", "inputId", "ariaLabelledBy", "ariaLabel", "style", "styleClass", "labelStyleClass", "autofocus"], outputs: ["onClick", "onFocus", "onBlur"] }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i3$1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "pipe", type: AsyncPipe, name: "async" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
1062
1067
|
}
|
|
1063
|
-
i0.ɵɵ
|
|
1068
|
+
DebugComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: DebugComponent, deps: [{ token: i1$1.FlowsApiService }, { token: i1$2.Router }, { token: i1$2.ActivatedRoute }], target: i0.ɵɵFactoryTarget.Component });
|
|
1069
|
+
DebugComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: DebugComponent, selector: "vl-flow-debug", ngImport: i0, template: "<form [formGroup]=\"form\">\n <div class=\"fields-container\">\n <div class=\"field\">\n <label>SF Object ID</label>\n <input formControlName=\"id\" pInputText type=\"text\" />\n </div>\n </div>\n\n <p-button\n styleClass=\"p-button-primary\"\n label=\"Run Flow\"\n [disabled]=\"!form.value.id || !selectedFlow\"\n (onClick)=\"runFlow()\"\n ></p-button>\n</form>\n\n<table>\n <thead>\n <tr>\n <th [width]=\"30\"></th>\n <th [width]=\"160\">ID</th>\n <th [width]=\"160\">Entry Path</th>\n <th>QueryParams</th>\n <th [width]=\"100\">Standalone</th>\n <th [width]=\"100\">Stateful</th>\n </tr>\n </thead>\n <tbody>\n <tr *ngFor=\"let flow of flows$ | async\" (click)=\"selectedFlow = flow\">\n <td><p-radioButton [inputId]=\"flow.id\" name=\"flow\" [value]=\"flow\" [(ngModel)]=\"selectedFlow\"></p-radioButton></td>\n <td>{{ flow.id }}</td>\n <td>{{ flow.properties.entryPath }}</td>\n <td class=\"cell-query-params\">{{ getQueryParamsString(flow.properties.queryParams) }}</td>\n <td>{{ flow.properties.standalone }}</td>\n <td>{{ flow.properties.stateful }}</td>\n </tr>\n </tbody>\n</table>\n", styles: [":host{display:block;padding:24px 54px}form{display:flex;align-items:center;justify-content:space-between}.fields-container{display:flex;gap:24px}.field{display:flex;flex-direction:column;width:200px;flex-shrink:0}:host ::ng-deep .p-dropdown{width:100%}table{width:100%;border-collapse:collapse;table-layout:fixed}tbody>tr{cursor:pointer}tbody>tr:hover{background-color:#f0f5fa}th{text-align:left;font-weight:600}th,td{padding:0 10px;height:30px;border-bottom:1px solid var(--vl-border-color);margin-right:16px;line-height:18px}.cell-query-params{word-break:break-all}\n"], dependencies: [{ kind: "directive", type: i4.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i4$1.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i4$1.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i4$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i4$1.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i4$1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "directive", type: i4$1.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i4$1.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "component", type: i5$1.RadioButton, selector: "p-radioButton", inputs: ["value", "formControlName", "name", "disabled", "label", "tabindex", "inputId", "ariaLabelledBy", "ariaLabel", "style", "styleClass", "labelStyleClass"], outputs: ["onClick", "onFocus", "onBlur"] }, { kind: "component", type: i3.Button, selector: "p-button", inputs: ["type", "iconPos", "icon", "badge", "label", "disabled", "loading", "loadingIcon", "style", "styleClass", "badgeClass"], outputs: ["onClick", "onFocus", "onBlur"] }, { kind: "directive", type: i7.InputText, selector: "[pInputText]" }, { kind: "pipe", type: i4.AsyncPipe, name: "async" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1070
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: DebugComponent, decorators: [{
|
|
1064
1071
|
type: Component,
|
|
1065
|
-
args: [{ selector: 'vl-flow-debug', changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1066
|
-
}], ctorParameters: ()
|
|
1072
|
+
args: [{ selector: 'vl-flow-debug', changeDetection: ChangeDetectionStrategy.OnPush, template: "<form [formGroup]=\"form\">\n <div class=\"fields-container\">\n <div class=\"field\">\n <label>SF Object ID</label>\n <input formControlName=\"id\" pInputText type=\"text\" />\n </div>\n </div>\n\n <p-button\n styleClass=\"p-button-primary\"\n label=\"Run Flow\"\n [disabled]=\"!form.value.id || !selectedFlow\"\n (onClick)=\"runFlow()\"\n ></p-button>\n</form>\n\n<table>\n <thead>\n <tr>\n <th [width]=\"30\"></th>\n <th [width]=\"160\">ID</th>\n <th [width]=\"160\">Entry Path</th>\n <th>QueryParams</th>\n <th [width]=\"100\">Standalone</th>\n <th [width]=\"100\">Stateful</th>\n </tr>\n </thead>\n <tbody>\n <tr *ngFor=\"let flow of flows$ | async\" (click)=\"selectedFlow = flow\">\n <td><p-radioButton [inputId]=\"flow.id\" name=\"flow\" [value]=\"flow\" [(ngModel)]=\"selectedFlow\"></p-radioButton></td>\n <td>{{ flow.id }}</td>\n <td>{{ flow.properties.entryPath }}</td>\n <td class=\"cell-query-params\">{{ getQueryParamsString(flow.properties.queryParams) }}</td>\n <td>{{ flow.properties.standalone }}</td>\n <td>{{ flow.properties.stateful }}</td>\n </tr>\n </tbody>\n</table>\n", styles: [":host{display:block;padding:24px 54px}form{display:flex;align-items:center;justify-content:space-between}.fields-container{display:flex;gap:24px}.field{display:flex;flex-direction:column;width:200px;flex-shrink:0}:host ::ng-deep .p-dropdown{width:100%}table{width:100%;border-collapse:collapse;table-layout:fixed}tbody>tr{cursor:pointer}tbody>tr:hover{background-color:#f0f5fa}th{text-align:left;font-weight:600}th,td{padding:0 10px;height:30px;border-bottom:1px solid var(--vl-border-color);margin-right:16px;line-height:18px}.cell-query-params{word-break:break-all}\n"] }]
|
|
1073
|
+
}], ctorParameters: function () { return [{ type: i1$1.FlowsApiService }, { type: i1$2.Router }, { type: i1$2.ActivatedRoute }]; } });
|
|
1067
1074
|
|
|
1068
1075
|
const routes$1 = [{ path: '', component: DebugComponent }];
|
|
1069
1076
|
class DebugModule {
|
|
1070
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: DebugModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
1071
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.1.4", ngImport: i0, type: DebugModule, imports: [CommonModule,
|
|
1072
|
-
FormsModule,
|
|
1073
|
-
ReactiveFormsModule, i1$2.RouterModule, RadioButtonModule,
|
|
1074
|
-
ButtonModule,
|
|
1075
|
-
InputTextModule,
|
|
1076
|
-
DropdownModule,
|
|
1077
|
-
DebugComponent] }); }
|
|
1078
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: DebugModule, imports: [CommonModule,
|
|
1079
|
-
FormsModule,
|
|
1080
|
-
ReactiveFormsModule,
|
|
1081
|
-
RouterModule.forChild(routes$1),
|
|
1082
|
-
RadioButtonModule,
|
|
1083
|
-
ButtonModule,
|
|
1084
|
-
InputTextModule,
|
|
1085
|
-
DropdownModule,
|
|
1086
|
-
DebugComponent] }); }
|
|
1087
1077
|
}
|
|
1088
|
-
i0.ɵɵ
|
|
1078
|
+
DebugModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: DebugModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
1079
|
+
DebugModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.9", ngImport: i0, type: DebugModule, declarations: [DebugComponent], imports: [CommonModule,
|
|
1080
|
+
FormsModule,
|
|
1081
|
+
ReactiveFormsModule, i1$2.RouterModule, RadioButtonModule,
|
|
1082
|
+
ButtonModule,
|
|
1083
|
+
InputTextModule,
|
|
1084
|
+
DropdownModule] });
|
|
1085
|
+
DebugModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: DebugModule, imports: [CommonModule,
|
|
1086
|
+
FormsModule,
|
|
1087
|
+
ReactiveFormsModule,
|
|
1088
|
+
RouterModule.forChild(routes$1),
|
|
1089
|
+
RadioButtonModule,
|
|
1090
|
+
ButtonModule,
|
|
1091
|
+
InputTextModule,
|
|
1092
|
+
DropdownModule] });
|
|
1093
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: DebugModule, decorators: [{
|
|
1089
1094
|
type: NgModule,
|
|
1090
1095
|
args: [{
|
|
1096
|
+
declarations: [DebugComponent],
|
|
1091
1097
|
imports: [
|
|
1092
1098
|
CommonModule,
|
|
1093
1099
|
FormsModule,
|
|
@@ -1097,7 +1103,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.4", ngImpor
|
|
|
1097
1103
|
ButtonModule,
|
|
1098
1104
|
InputTextModule,
|
|
1099
1105
|
DropdownModule,
|
|
1100
|
-
DebugComponent,
|
|
1101
1106
|
],
|
|
1102
1107
|
}]
|
|
1103
1108
|
}] });
|
|
@@ -1140,23 +1145,24 @@ class ProductComponent {
|
|
|
1140
1145
|
this.showNotFound$.next(Boolean(!this.uiDefinitionContainer$.value));
|
|
1141
1146
|
}));
|
|
1142
1147
|
}
|
|
1143
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: ProductComponent, deps: [{ token: i3.ConfigurationRuntimeService }, { token: i3.ConfigurationStateService }, { token: i3.FlowInfoService }, { token: i1$2.ActivatedRoute }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1144
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.1.4", type: ProductComponent, isStandalone: true, selector: "vl-flow-product", ngImport: i0, template: "@if (isInitialized$ | async) {\n<vl-cms-preview [uiDefinition]=\"(uiDefinitionContainer$ | async)?.source\" [config]=\"config\"></vl-cms-preview>\n} @if (showNotFound$ | async) {\n<div class=\"not-found-wrapper\">\n <div class=\"not-found\">\n <div class=\"icon\"></div>\n <div class=\"message\">\n This product doesn't have a linked Configuration UI. <br />\n Please contact your system administrator for further assistance.\n </div>\n </div>\n</div>\n}\n", styles: [".not-found-wrapper{position:absolute;top:0;display:flex;width:100%;height:100%;justify-content:center;align-items:center;background-color:#fff;z-index:1000}.not-found{display:flex;align-items:center;padding:16px;border-radius:8px;gap:8px;background-color:#f5f5f5}.not-found .icon{width:48px;height:42px;background-image:url(\"data:image/svg+xml,%3Csvg width='48' height='42' viewBox='0 0 48 42' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cellipse cx='24.0798' cy='32.6052' rx='2.85714' ry='2.63158' fill='%231F2029'/%3E%3Cpath d='M22.285 3.35831C23.0618 2.06363 24.9382 2.06363 25.715 3.35831L46.1826 37.471C46.9824 38.8041 46.0222 40.5 44.4676 40.5L3.53238 40.5C1.97779 40.5 1.01757 38.8041 1.8174 37.471L22.285 3.35831Z' stroke='%23141414' stroke-width='2'/%3E%3Cpath d='M24 17.342V26.8157' stroke='black' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E%0A\")}.not-found .message{font-size:14px;color:#141414;font-weight:300}\n"], dependencies: [{ kind: "ngmodule", type: PreviewModule }, { kind: "component", type: i4.PreviewComponent, selector: "vl-cms-preview", inputs: ["uiDefinition", "config"] }, { kind: "pipe", type: AsyncPipe, name: "async" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
1145
1148
|
}
|
|
1146
|
-
i0.ɵɵ
|
|
1149
|
+
ProductComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ProductComponent, deps: [{ token: i3$1.ConfigurationRuntimeService }, { token: i3$1.ConfigurationStateService }, { token: i3$1.FlowInfoService }, { token: i1$2.ActivatedRoute }], target: i0.ɵɵFactoryTarget.Component });
|
|
1150
|
+
ProductComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: ProductComponent, selector: "vl-flow-product", ngImport: i0, template: "<vl-cms-preview\n *ngIf=\"isInitialized$ | async\"\n [uiDefinition]=\"(uiDefinitionContainer$ | async)?.source\"\n [config]=\"config\"\n></vl-cms-preview>\n\n<div *ngIf=\"showNotFound$ | async\" class=\"not-found-wrapper\">\n <div class=\"not-found\">\n <div class=\"icon\"></div>\n <div class=\"message\">\n This product doesn't have a linked Configuration UI. <br />\n Please contact your system administrator for further assistance.\n </div>\n </div>\n</div>\n", styles: [".not-found-wrapper{position:absolute;top:0;display:flex;width:100%;height:100%;justify-content:center;align-items:center;background-color:#fff;z-index:1000}.not-found{display:flex;align-items:center;padding:16px;border-radius:8px;gap:8px;background-color:#f5f5f5}.not-found .icon{width:48px;height:42px;background-image:url(\"data:image/svg+xml,%3Csvg width='48' height='42' viewBox='0 0 48 42' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cellipse cx='24.0798' cy='32.6052' rx='2.85714' ry='2.63158' fill='%231F2029'/%3E%3Cpath d='M22.285 3.35831C23.0618 2.06363 24.9382 2.06363 25.715 3.35831L46.1826 37.471C46.9824 38.8041 46.0222 40.5 44.4676 40.5L3.53238 40.5C1.97779 40.5 1.01757 38.8041 1.8174 37.471L22.285 3.35831Z' stroke='%23141414' stroke-width='2'/%3E%3Cpath d='M24 17.342V26.8157' stroke='black' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E%0A\")}.not-found .message{font-size:14px;color:#141414;font-weight:300}\n"], dependencies: [{ kind: "directive", type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i5.PreviewComponent, selector: "vl-cms-preview", inputs: ["uiDefinition", "config"] }, { kind: "pipe", type: i4.AsyncPipe, name: "async" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1151
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ProductComponent, decorators: [{
|
|
1147
1152
|
type: Component,
|
|
1148
|
-
args: [{ selector: 'vl-flow-product', changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1149
|
-
}], ctorParameters: ()
|
|
1153
|
+
args: [{ selector: 'vl-flow-product', changeDetection: ChangeDetectionStrategy.OnPush, template: "<vl-cms-preview\n *ngIf=\"isInitialized$ | async\"\n [uiDefinition]=\"(uiDefinitionContainer$ | async)?.source\"\n [config]=\"config\"\n></vl-cms-preview>\n\n<div *ngIf=\"showNotFound$ | async\" class=\"not-found-wrapper\">\n <div class=\"not-found\">\n <div class=\"icon\"></div>\n <div class=\"message\">\n This product doesn't have a linked Configuration UI. <br />\n Please contact your system administrator for further assistance.\n </div>\n </div>\n</div>\n", styles: [".not-found-wrapper{position:absolute;top:0;display:flex;width:100%;height:100%;justify-content:center;align-items:center;background-color:#fff;z-index:1000}.not-found{display:flex;align-items:center;padding:16px;border-radius:8px;gap:8px;background-color:#f5f5f5}.not-found .icon{width:48px;height:42px;background-image:url(\"data:image/svg+xml,%3Csvg width='48' height='42' viewBox='0 0 48 42' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cellipse cx='24.0798' cy='32.6052' rx='2.85714' ry='2.63158' fill='%231F2029'/%3E%3Cpath d='M22.285 3.35831C23.0618 2.06363 24.9382 2.06363 25.715 3.35831L46.1826 37.471C46.9824 38.8041 46.0222 40.5 44.4676 40.5L3.53238 40.5C1.97779 40.5 1.01757 38.8041 1.8174 37.471L22.285 3.35831Z' stroke='%23141414' stroke-width='2'/%3E%3Cpath d='M24 17.342V26.8157' stroke='black' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E%0A\")}.not-found .message{font-size:14px;color:#141414;font-weight:300}\n"] }]
|
|
1154
|
+
}], ctorParameters: function () { return [{ type: i3$1.ConfigurationRuntimeService }, { type: i3$1.ConfigurationStateService }, { type: i3$1.FlowInfoService }, { type: i1$2.ActivatedRoute }]; } });
|
|
1150
1155
|
|
|
1151
1156
|
class ProductModule {
|
|
1152
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: ProductModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
1153
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.1.4", ngImport: i0, type: ProductModule, imports: [CommonModule, PreviewModule, LoaderModule, LetDirectiveModule, ProductComponent], exports: [ProductComponent] }); }
|
|
1154
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: ProductModule, imports: [CommonModule, PreviewModule, LoaderModule, LetDirectiveModule, ProductComponent] }); }
|
|
1155
1157
|
}
|
|
1156
|
-
i0.ɵɵ
|
|
1158
|
+
ProductModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ProductModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
1159
|
+
ProductModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.9", ngImport: i0, type: ProductModule, declarations: [ProductComponent], imports: [CommonModule, PreviewModule, LoaderModule, LetDirectiveModule], exports: [ProductComponent] });
|
|
1160
|
+
ProductModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ProductModule, imports: [CommonModule, PreviewModule, LoaderModule, LetDirectiveModule] });
|
|
1161
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ProductModule, decorators: [{
|
|
1157
1162
|
type: NgModule,
|
|
1158
1163
|
args: [{
|
|
1159
|
-
|
|
1164
|
+
declarations: [ProductComponent],
|
|
1165
|
+
imports: [CommonModule, PreviewModule, LoaderModule, LetDirectiveModule],
|
|
1160
1166
|
exports: [ProductComponent],
|
|
1161
1167
|
}]
|
|
1162
1168
|
}] });
|
|
@@ -1175,24 +1181,25 @@ class RecordNotFoundComponent {
|
|
|
1175
1181
|
this.subMessage = this.message.includes('/describe') ? 'A potential problem with permissions' : '';
|
|
1176
1182
|
}
|
|
1177
1183
|
}
|
|
1178
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: RecordNotFoundComponent, deps: [{ token: i1$2.Router }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1179
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.1.4", type: RecordNotFoundComponent, isStandalone: true, selector: "vl-flow-record-not-found", ngImport: i0, template: "<div class=\"row\">\n <div class=\"col-md-12\">\n <div class=\"message-wrapper\">\n @if (message) {\n <div>\n <p class=\"text message-text\" [class]=\"type\">{{ message }}</p>\n @if (subMessage) {\n <p class=\"text\">{{ subMessage }}</p>\n } @if (details && details.length > 0) {\n <div>\n @for (detail of details; track detail) {\n <div class=\"text\">{{ detail }}</div>\n }\n </div>\n }\n </div>\n } @else { Record not found }\n </div>\n </div>\n</div>\n", styles: [":host{display:block;padding:24px 54px}:host .text{white-space:pre-line;word-break:break-word}:host .message-text.error{color:var(--vl-error-text-color)}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
1180
1184
|
}
|
|
1181
|
-
i0.ɵɵ
|
|
1185
|
+
RecordNotFoundComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: RecordNotFoundComponent, deps: [{ token: i1$2.Router }], target: i0.ɵɵFactoryTarget.Component });
|
|
1186
|
+
RecordNotFoundComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: RecordNotFoundComponent, selector: "vl-flow-record-not-found", ngImport: i0, template: "<div class=\"row\">\n <div class=\"col-md-12\">\n <div class=\"message-wrapper\">\n <div *ngIf=\"message; else defaultMessage\">\n <p class=\"text message-text\" [class]=\"type\">{{ message }}</p>\n\n <p *ngIf=\"subMessage\" class=\"text\">{{ subMessage }}</p>\n\n <div *ngIf=\"details && details.length > 0\">\n <div *ngFor=\"let detail of details\" class=\"text\">{{ detail }}</div>\n </div>\n </div>\n\n <ng-template #defaultMessage>Record not found</ng-template>\n </div>\n </div>\n</div>\n", styles: [":host{display:block;padding:24px 54px}:host .text{white-space:pre-line;word-break:break-word}:host .message-text.error{color:var(--vl-error-text-color)}\n"], dependencies: [{ kind: "directive", type: i4.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1187
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: RecordNotFoundComponent, decorators: [{
|
|
1182
1188
|
type: Component,
|
|
1183
|
-
args: [{ selector: 'vl-flow-record-not-found', changeDetection: ChangeDetectionStrategy.OnPush, template: "<div class=\"row\">\n <div class=\"col-md-12\">\n <div class=\"message-wrapper\">\n
|
|
1184
|
-
}], ctorParameters: ()
|
|
1189
|
+
args: [{ selector: 'vl-flow-record-not-found', changeDetection: ChangeDetectionStrategy.OnPush, template: "<div class=\"row\">\n <div class=\"col-md-12\">\n <div class=\"message-wrapper\">\n <div *ngIf=\"message; else defaultMessage\">\n <p class=\"text message-text\" [class]=\"type\">{{ message }}</p>\n\n <p *ngIf=\"subMessage\" class=\"text\">{{ subMessage }}</p>\n\n <div *ngIf=\"details && details.length > 0\">\n <div *ngFor=\"let detail of details\" class=\"text\">{{ detail }}</div>\n </div>\n </div>\n\n <ng-template #defaultMessage>Record not found</ng-template>\n </div>\n </div>\n</div>\n", styles: [":host{display:block;padding:24px 54px}:host .text{white-space:pre-line;word-break:break-word}:host .message-text.error{color:var(--vl-error-text-color)}\n"] }]
|
|
1190
|
+
}], ctorParameters: function () { return [{ type: i1$2.Router }]; } });
|
|
1185
1191
|
|
|
1186
1192
|
const routes = [{ path: '', component: RecordNotFoundComponent }];
|
|
1187
1193
|
class RecordNotFoundModule {
|
|
1188
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: RecordNotFoundModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
1189
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.1.4", ngImport: i0, type: RecordNotFoundModule, imports: [CommonModule, i1$2.RouterModule, RecordNotFoundComponent] }); }
|
|
1190
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: RecordNotFoundModule, imports: [CommonModule, RouterModule.forChild(routes)] }); }
|
|
1191
1194
|
}
|
|
1192
|
-
i0.ɵɵ
|
|
1195
|
+
RecordNotFoundModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: RecordNotFoundModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
1196
|
+
RecordNotFoundModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.9", ngImport: i0, type: RecordNotFoundModule, declarations: [RecordNotFoundComponent], imports: [CommonModule, i1$2.RouterModule] });
|
|
1197
|
+
RecordNotFoundModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: RecordNotFoundModule, imports: [CommonModule, RouterModule.forChild(routes)] });
|
|
1198
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: RecordNotFoundModule, decorators: [{
|
|
1193
1199
|
type: NgModule,
|
|
1194
1200
|
args: [{
|
|
1195
|
-
|
|
1201
|
+
declarations: [RecordNotFoundComponent],
|
|
1202
|
+
imports: [CommonModule, RouterModule.forChild(routes)],
|
|
1196
1203
|
}]
|
|
1197
1204
|
}] });
|
|
1198
1205
|
|
|
@@ -1277,28 +1284,29 @@ class ShoppingCartComponent {
|
|
|
1277
1284
|
return uiDef;
|
|
1278
1285
|
}));
|
|
1279
1286
|
}
|
|
1280
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: ShoppingCartComponent, deps: [{ token: i1$1.UITemplatesAdminApiService }, { token: i0.ChangeDetectorRef }, { token: i2.ToastService }, { token: i3.FlowInfoService }, { token: FLOW_CUSTOMIZATION, optional: true }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1281
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.1.4", type: ShoppingCartComponent, isStandalone: true, selector: "vl-flow-shopping-cart", ngImport: i0, template: "@if (state$ | async; as state) { @if (state.loading) {\n<vl-loader [label]=\"'Loading UI'\"></vl-loader>\n} @else { @if (!state.failure) {\n<vl-cms-preview [uiDefinition]=\"uiDefinition\"></vl-cms-preview>\n} } }\n", styles: [""], dependencies: [{ kind: "ngmodule", type: LoaderModule }, { kind: "component", type: i2.LoaderComponent, selector: "vl-loader", inputs: ["label", "overlayVisible"] }, { kind: "ngmodule", type: PreviewModule }, { kind: "component", type: i4.PreviewComponent, selector: "vl-cms-preview", inputs: ["uiDefinition", "config"] }, { kind: "pipe", type: AsyncPipe, name: "async" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
1282
1287
|
}
|
|
1283
|
-
i0.ɵɵ
|
|
1288
|
+
ShoppingCartComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ShoppingCartComponent, deps: [{ token: i1$1.UITemplatesAdminApiService }, { token: i0.ChangeDetectorRef }, { token: i2.ToastService }, { token: i3$1.FlowInfoService }, { token: FLOW_CUSTOMIZATION, optional: true }], target: i0.ɵɵFactoryTarget.Component });
|
|
1289
|
+
ShoppingCartComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: ShoppingCartComponent, selector: "vl-flow-shopping-cart", ngImport: i0, template: "<ng-container *ngIf=\"state$ | async as state\">\n <vl-loader *ngIf=\"state.loading; else content\" [label]=\"'Loading UI'\"></vl-loader>\n\n <ng-template #content>\n <ng-container *ngIf=\"!state.failure\">\n <vl-cms-preview [uiDefinition]=\"uiDefinition\"></vl-cms-preview>\n </ng-container>\n </ng-template>\n</ng-container>\n", styles: [""], dependencies: [{ kind: "directive", type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i5.PreviewComponent, selector: "vl-cms-preview", inputs: ["uiDefinition", "config"] }, { kind: "component", type: i2.LoaderComponent, selector: "vl-loader", inputs: ["label", "overlayVisible"] }, { kind: "pipe", type: i4.AsyncPipe, name: "async" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1290
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ShoppingCartComponent, decorators: [{
|
|
1284
1291
|
type: Component,
|
|
1285
|
-
args: [{ selector: 'vl-flow-shopping-cart', changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1286
|
-
}], ctorParameters: ()
|
|
1292
|
+
args: [{ selector: 'vl-flow-shopping-cart', changeDetection: ChangeDetectionStrategy.OnPush, template: "<ng-container *ngIf=\"state$ | async as state\">\n <vl-loader *ngIf=\"state.loading; else content\" [label]=\"'Loading UI'\"></vl-loader>\n\n <ng-template #content>\n <ng-container *ngIf=\"!state.failure\">\n <vl-cms-preview [uiDefinition]=\"uiDefinition\"></vl-cms-preview>\n </ng-container>\n </ng-template>\n</ng-container>\n" }]
|
|
1293
|
+
}], ctorParameters: function () { return [{ type: i1$1.UITemplatesAdminApiService }, { type: i0.ChangeDetectorRef }, { type: i2.ToastService }, { type: i3$1.FlowInfoService }, { type: undefined, decorators: [{
|
|
1287
1294
|
type: Optional
|
|
1288
1295
|
}, {
|
|
1289
1296
|
type: Inject,
|
|
1290
1297
|
args: [FLOW_CUSTOMIZATION]
|
|
1291
|
-
}] }] });
|
|
1298
|
+
}] }]; } });
|
|
1292
1299
|
|
|
1293
1300
|
class ShoppingCartModule {
|
|
1294
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: ShoppingCartModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
1295
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.1.4", ngImport: i0, type: ShoppingCartModule, imports: [CommonModule, PreviewModule, LoaderModule, ShoppingCartComponent], exports: [ShoppingCartComponent] }); }
|
|
1296
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: ShoppingCartModule, imports: [CommonModule, PreviewModule, LoaderModule, ShoppingCartComponent] }); }
|
|
1297
1301
|
}
|
|
1298
|
-
i0.ɵɵ
|
|
1302
|
+
ShoppingCartModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ShoppingCartModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
1303
|
+
ShoppingCartModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.9", ngImport: i0, type: ShoppingCartModule, declarations: [ShoppingCartComponent], imports: [CommonModule, PreviewModule, LoaderModule], exports: [ShoppingCartComponent] });
|
|
1304
|
+
ShoppingCartModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ShoppingCartModule, imports: [CommonModule, PreviewModule, LoaderModule] });
|
|
1305
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ShoppingCartModule, decorators: [{
|
|
1299
1306
|
type: NgModule,
|
|
1300
1307
|
args: [{
|
|
1301
|
-
|
|
1308
|
+
declarations: [ShoppingCartComponent],
|
|
1309
|
+
imports: [CommonModule, PreviewModule, LoaderModule],
|
|
1302
1310
|
exports: [ShoppingCartComponent],
|
|
1303
1311
|
}]
|
|
1304
1312
|
}] });
|
|
@@ -1334,12 +1342,12 @@ class FlowResolver {
|
|
|
1334
1342
|
return this.routerService.showErrorPage$(message, errorDetails);
|
|
1335
1343
|
}));
|
|
1336
1344
|
}
|
|
1337
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: FlowResolver, deps: [{ token: i1$2.Router }, { token: FlowRouterService }, { token: i3.FlowInfoService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1338
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: FlowResolver }); }
|
|
1339
1345
|
}
|
|
1340
|
-
i0.ɵɵ
|
|
1346
|
+
FlowResolver.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: FlowResolver, deps: [{ token: i1$2.Router }, { token: FlowRouterService }, { token: i3$1.FlowInfoService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1347
|
+
FlowResolver.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: FlowResolver });
|
|
1348
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: FlowResolver, decorators: [{
|
|
1341
1349
|
type: Injectable
|
|
1342
|
-
}], ctorParameters: ()
|
|
1350
|
+
}], ctorParameters: function () { return [{ type: i1$2.Router }, { type: FlowRouterService }, { type: i3$1.FlowInfoService }]; } });
|
|
1343
1351
|
|
|
1344
1352
|
const resolvePCMModel = () => {
|
|
1345
1353
|
const flowInfoService = inject(FlowInfoService);
|
|
@@ -1397,12 +1405,12 @@ class SalesTransactionResolver {
|
|
|
1397
1405
|
// Implement when needed
|
|
1398
1406
|
return of('');
|
|
1399
1407
|
}
|
|
1400
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: SalesTransactionResolver, deps: [{ token: i1$2.Router }, { token: FlowRouterService }, { token: i3.FlowInfoService }, { token: i3.FlowStateService }, { token: i3.SalesTransactionService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1401
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: SalesTransactionResolver }); }
|
|
1402
1408
|
}
|
|
1403
|
-
i0.ɵɵ
|
|
1409
|
+
SalesTransactionResolver.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SalesTransactionResolver, deps: [{ token: i1$2.Router }, { token: FlowRouterService }, { token: i3$1.FlowInfoService }, { token: i3$1.FlowStateService }, { token: i3$1.SalesTransactionService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1410
|
+
SalesTransactionResolver.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SalesTransactionResolver });
|
|
1411
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SalesTransactionResolver, decorators: [{
|
|
1404
1412
|
type: Injectable
|
|
1405
|
-
}], ctorParameters: ()
|
|
1413
|
+
}], ctorParameters: function () { return [{ type: i1$2.Router }, { type: FlowRouterService }, { type: i3$1.FlowInfoService }, { type: i3$1.FlowStateService }, { type: i3$1.SalesTransactionService }]; } });
|
|
1406
1414
|
|
|
1407
1415
|
const resolveUIDefinition = () => {
|
|
1408
1416
|
const customizationService = inject(FLOW_CUSTOMIZATION, { optional: true });
|
|
@@ -1504,11 +1512,11 @@ const rootRoute = {
|
|
|
1504
1512
|
],
|
|
1505
1513
|
};
|
|
1506
1514
|
class FlowRoutingModule {
|
|
1507
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: FlowRoutingModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
1508
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.1.4", ngImport: i0, type: FlowRoutingModule, imports: [i1$2.RouterModule, ProductModule, ShoppingCartModule, CatalogModule, AssetsModule], exports: [RouterModule] }); }
|
|
1509
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: FlowRoutingModule, providers: [FlowRouterService, RootGuard, ProductUnloadGuard, FlowResolver, SalesTransactionResolver], imports: [RouterModule.forChild([rootRoute]), ProductModule, ShoppingCartModule, CatalogModule, AssetsModule, RouterModule] }); }
|
|
1510
1515
|
}
|
|
1511
|
-
i0.ɵɵ
|
|
1516
|
+
FlowRoutingModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: FlowRoutingModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
1517
|
+
FlowRoutingModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.9", ngImport: i0, type: FlowRoutingModule, imports: [i1$2.RouterModule, ProductModule, ShoppingCartModule, CatalogModule, AssetsModule], exports: [RouterModule] });
|
|
1518
|
+
FlowRoutingModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: FlowRoutingModule, providers: [FlowRouterService, RootGuard, ProductUnloadGuard, FlowResolver, SalesTransactionResolver], imports: [RouterModule.forChild([rootRoute]), ProductModule, ShoppingCartModule, CatalogModule, AssetsModule, RouterModule] });
|
|
1519
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: FlowRoutingModule, decorators: [{
|
|
1512
1520
|
type: NgModule,
|
|
1513
1521
|
args: [{
|
|
1514
1522
|
imports: [RouterModule.forChild([rootRoute]), ProductModule, ShoppingCartModule, CatalogModule, AssetsModule],
|
|
@@ -1519,33 +1527,32 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.4", ngImpor
|
|
|
1519
1527
|
|
|
1520
1528
|
configurePrimengShadowDOM();
|
|
1521
1529
|
class FlowModule {
|
|
1522
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: FlowModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
1523
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.1.4", ngImport: i0, type: FlowModule, imports: [CommonModule,
|
|
1524
|
-
LetDirectiveModule,
|
|
1525
|
-
FlowRoutingModule,
|
|
1526
|
-
ApiModule,
|
|
1527
|
-
LauncherModule,
|
|
1528
|
-
LoaderModule,
|
|
1529
|
-
FlowNewHeaderModule,
|
|
1530
|
-
FlowDialogModule,
|
|
1531
|
-
SdkCoreModule,
|
|
1532
|
-
GuidedSellingModule,
|
|
1533
|
-
FlowComponent] }); }
|
|
1534
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: FlowModule, providers: [FlowService, FlowDialogService, FlowGuidedSellingService], imports: [CommonModule,
|
|
1535
|
-
LetDirectiveModule,
|
|
1536
|
-
FlowRoutingModule,
|
|
1537
|
-
ApiModule,
|
|
1538
|
-
LauncherModule,
|
|
1539
|
-
LoaderModule,
|
|
1540
|
-
FlowNewHeaderModule,
|
|
1541
|
-
FlowDialogModule,
|
|
1542
|
-
SdkCoreModule,
|
|
1543
|
-
GuidedSellingModule,
|
|
1544
|
-
FlowComponent] }); }
|
|
1545
1530
|
}
|
|
1546
|
-
i0.ɵɵ
|
|
1531
|
+
FlowModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: FlowModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
1532
|
+
FlowModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.9", ngImport: i0, type: FlowModule, declarations: [FlowComponent], imports: [CommonModule,
|
|
1533
|
+
LetDirectiveModule,
|
|
1534
|
+
FlowRoutingModule,
|
|
1535
|
+
ApiModule,
|
|
1536
|
+
LauncherModule,
|
|
1537
|
+
LoaderModule,
|
|
1538
|
+
FlowNewHeaderModule,
|
|
1539
|
+
FlowDialogModule,
|
|
1540
|
+
SdkCoreModule,
|
|
1541
|
+
GuidedSellingModule] });
|
|
1542
|
+
FlowModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: FlowModule, providers: [FlowService, FlowDialogService, FlowGuidedSellingService], imports: [CommonModule,
|
|
1543
|
+
LetDirectiveModule,
|
|
1544
|
+
FlowRoutingModule,
|
|
1545
|
+
ApiModule,
|
|
1546
|
+
LauncherModule,
|
|
1547
|
+
LoaderModule,
|
|
1548
|
+
FlowNewHeaderModule,
|
|
1549
|
+
FlowDialogModule,
|
|
1550
|
+
SdkCoreModule,
|
|
1551
|
+
GuidedSellingModule] });
|
|
1552
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: FlowModule, decorators: [{
|
|
1547
1553
|
type: NgModule,
|
|
1548
1554
|
args: [{
|
|
1555
|
+
declarations: [FlowComponent],
|
|
1549
1556
|
imports: [
|
|
1550
1557
|
CommonModule,
|
|
1551
1558
|
LetDirectiveModule,
|
|
@@ -1557,7 +1564,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.4", ngImpor
|
|
|
1557
1564
|
FlowDialogModule,
|
|
1558
1565
|
SdkCoreModule,
|
|
1559
1566
|
GuidedSellingModule,
|
|
1560
|
-
FlowComponent,
|
|
1561
1567
|
],
|
|
1562
1568
|
providers: [FlowService, FlowDialogService, FlowGuidedSellingService],
|
|
1563
1569
|
}]
|