@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
package/index.d.ts
CHANGED
|
@@ -1,330 +1 @@
|
|
|
1
|
-
|
|
2
|
-
import { OnInit, OnDestroy, ChangeDetectorRef } from '@angular/core';
|
|
3
|
-
import * as i1 from '@angular/common';
|
|
4
|
-
import * as i3 from '@veloceapps/components';
|
|
5
|
-
import { ToastService } from '@veloceapps/components';
|
|
6
|
-
import * as i1$1 from '@angular/router';
|
|
7
|
-
import { ActivatedRoute, Router, ActivatedRouteSnapshot, Params, Route } from '@angular/router';
|
|
8
|
-
import * as i2 from '@veloceapps/sdk/cms';
|
|
9
|
-
import { CMSPreviewConfig, IntegrationState as IntegrationState$1 } from '@veloceapps/sdk/cms';
|
|
10
|
-
import { UIDefinitionContainer, UIDefinition } from '@veloceapps/core';
|
|
11
|
-
import * as i8 from '@veloceapps/sdk/core';
|
|
12
|
-
import { ConfigurationRuntimeService, ConfigurationStateService, FlowInfoService, FlowCustomization, FlowStateService, RuntimeSettingsService, IntegrationState, ConfigurationService } from '@veloceapps/sdk/core';
|
|
13
|
-
import * as rxjs from 'rxjs';
|
|
14
|
-
import { BehaviorSubject, Observable } from 'rxjs';
|
|
15
|
-
import { UITemplatesAdminApiService } from '@veloceapps/api/v2';
|
|
16
|
-
import * as i4 from '@veloceapps/api';
|
|
17
|
-
import * as i2$1 from 'primeng/button';
|
|
18
|
-
import { DynamicDialogConfig, DynamicDialogRef, DialogService } from 'primeng/dynamicdialog';
|
|
19
|
-
|
|
20
|
-
declare const VELOCE_FLOW_ROOT_ROUTE = "VELOCE_FLOW_ROOT_ROUTE";
|
|
21
|
-
|
|
22
|
-
declare class ProductComponent implements OnInit, OnDestroy {
|
|
23
|
-
private configurationRuntimeService;
|
|
24
|
-
private configurationStateService;
|
|
25
|
-
private flowService;
|
|
26
|
-
private route;
|
|
27
|
-
config: CMSPreviewConfig;
|
|
28
|
-
uiDefinitionContainer$: BehaviorSubject<UIDefinitionContainer | null>;
|
|
29
|
-
showNotFound$: BehaviorSubject<boolean>;
|
|
30
|
-
isInitialized$: BehaviorSubject<boolean>;
|
|
31
|
-
private destroy$;
|
|
32
|
-
constructor(configurationRuntimeService: ConfigurationRuntimeService, configurationStateService: ConfigurationStateService, flowService: FlowInfoService, route: ActivatedRoute);
|
|
33
|
-
ngOnInit(): void;
|
|
34
|
-
ngOnDestroy(): void;
|
|
35
|
-
private init$;
|
|
36
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ProductComponent, never>;
|
|
37
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ProductComponent, "vl-flow-product", never, {}, {}, never, never, true, never>;
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
declare class ProductModule {
|
|
41
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ProductModule, never>;
|
|
42
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<ProductModule, never, [typeof i1.CommonModule, typeof i2.PreviewModule, typeof i3.LoaderModule, typeof i3.LetDirectiveModule, typeof ProductComponent], [typeof ProductComponent]>;
|
|
43
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<ProductModule>;
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
interface State$2 {
|
|
47
|
-
loading: boolean;
|
|
48
|
-
failure: boolean;
|
|
49
|
-
}
|
|
50
|
-
declare class ShoppingCartComponent implements OnInit, OnDestroy {
|
|
51
|
-
private templatesAdminApiService;
|
|
52
|
-
private cdr;
|
|
53
|
-
private toastService;
|
|
54
|
-
private flowInfo;
|
|
55
|
-
private customizationService?;
|
|
56
|
-
uiDefinition?: UIDefinition;
|
|
57
|
-
state$: BehaviorSubject<State$2>;
|
|
58
|
-
private templateApiName;
|
|
59
|
-
private destroyed$;
|
|
60
|
-
constructor(templatesAdminApiService: UITemplatesAdminApiService, cdr: ChangeDetectorRef, toastService: ToastService, flowInfo: FlowInfoService, customizationService?: FlowCustomization | undefined);
|
|
61
|
-
ngOnInit(): void;
|
|
62
|
-
ngOnDestroy(): void;
|
|
63
|
-
private getLocalMeta$;
|
|
64
|
-
private getOrgMeta$;
|
|
65
|
-
private generateUIDefinition$;
|
|
66
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ShoppingCartComponent, [null, null, null, null, { optional: true; }]>;
|
|
67
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ShoppingCartComponent, "vl-flow-shopping-cart", never, {}, {}, never, never, true, never>;
|
|
68
|
-
}
|
|
69
|
-
|
|
70
|
-
declare class ShoppingCartModule {
|
|
71
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ShoppingCartModule, never>;
|
|
72
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<ShoppingCartModule, never, [typeof i1.CommonModule, typeof i2.PreviewModule, typeof i3.LoaderModule, typeof ShoppingCartComponent], [typeof ShoppingCartComponent]>;
|
|
73
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<ShoppingCartModule>;
|
|
74
|
-
}
|
|
75
|
-
|
|
76
|
-
interface State$1 {
|
|
77
|
-
loading: boolean;
|
|
78
|
-
failure: boolean;
|
|
79
|
-
}
|
|
80
|
-
declare class CatalogComponent implements OnInit, OnDestroy {
|
|
81
|
-
private templatesAdminApiService;
|
|
82
|
-
private cdr;
|
|
83
|
-
private toastService;
|
|
84
|
-
private flowInfo;
|
|
85
|
-
private customizationService?;
|
|
86
|
-
uiDefinition?: UIDefinition;
|
|
87
|
-
state$: BehaviorSubject<State$1>;
|
|
88
|
-
private templateApiName;
|
|
89
|
-
private destroyed$;
|
|
90
|
-
constructor(templatesAdminApiService: UITemplatesAdminApiService, cdr: ChangeDetectorRef, toastService: ToastService, flowInfo: FlowInfoService, customizationService?: FlowCustomization | undefined);
|
|
91
|
-
ngOnInit(): void;
|
|
92
|
-
ngOnDestroy(): void;
|
|
93
|
-
private getLocalMeta$;
|
|
94
|
-
private getOrgMeta$;
|
|
95
|
-
private generateUIDefinition$;
|
|
96
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<CatalogComponent, [null, null, null, null, { optional: true; }]>;
|
|
97
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<CatalogComponent, "vl-flow-catalog", never, {}, {}, never, never, true, never>;
|
|
98
|
-
}
|
|
99
|
-
|
|
100
|
-
declare class CatalogModule {
|
|
101
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<CatalogModule, never>;
|
|
102
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<CatalogModule, never, [typeof i1.CommonModule, typeof i2.PreviewModule, typeof i3.LoaderModule, typeof i2.RuntimeModule, typeof CatalogComponent], [typeof CatalogComponent]>;
|
|
103
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<CatalogModule>;
|
|
104
|
-
}
|
|
105
|
-
|
|
106
|
-
interface State {
|
|
107
|
-
loading: boolean;
|
|
108
|
-
failure: boolean;
|
|
109
|
-
}
|
|
110
|
-
declare class AssetsComponent implements OnInit, OnDestroy {
|
|
111
|
-
private templatesAdminApiService;
|
|
112
|
-
private cdr;
|
|
113
|
-
private toastService;
|
|
114
|
-
private flowInfo;
|
|
115
|
-
private customizationService?;
|
|
116
|
-
uiDefinition?: UIDefinition;
|
|
117
|
-
state$: BehaviorSubject<State>;
|
|
118
|
-
private templateApiName;
|
|
119
|
-
private destroyed$;
|
|
120
|
-
constructor(templatesAdminApiService: UITemplatesAdminApiService, cdr: ChangeDetectorRef, toastService: ToastService, flowInfo: FlowInfoService, customizationService?: FlowCustomization | undefined);
|
|
121
|
-
ngOnInit(): void;
|
|
122
|
-
ngOnDestroy(): void;
|
|
123
|
-
private getLocalMeta$;
|
|
124
|
-
private getOrgMeta$;
|
|
125
|
-
private generateUIDefinition$;
|
|
126
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AssetsComponent, [null, null, null, null, { optional: true; }]>;
|
|
127
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AssetsComponent, "vl-flow-assets", never, {}, {}, never, never, true, never>;
|
|
128
|
-
}
|
|
129
|
-
|
|
130
|
-
declare class AssetsModule {
|
|
131
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AssetsModule, never>;
|
|
132
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<AssetsModule, never, [typeof i1.CommonModule, typeof i2.PreviewModule, typeof i3.LoaderModule, typeof AssetsComponent], [typeof AssetsComponent]>;
|
|
133
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<AssetsModule>;
|
|
134
|
-
}
|
|
135
|
-
|
|
136
|
-
declare class FlowRoutingModule {
|
|
137
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<FlowRoutingModule, never>;
|
|
138
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<FlowRoutingModule, never, [typeof i1$1.RouterModule, typeof ProductModule, typeof ShoppingCartModule, typeof CatalogModule, typeof AssetsModule], [typeof i1$1.RouterModule]>;
|
|
139
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<FlowRoutingModule>;
|
|
140
|
-
}
|
|
141
|
-
|
|
142
|
-
declare class FlowHeaderComponent implements OnDestroy {
|
|
143
|
-
private templatesAdminApiService;
|
|
144
|
-
private flowStateService;
|
|
145
|
-
private flowInfo;
|
|
146
|
-
private toastService;
|
|
147
|
-
private customizationService?;
|
|
148
|
-
uiDefinition$: BehaviorSubject<UIDefinition | null>;
|
|
149
|
-
private templateApiName;
|
|
150
|
-
private destroy$;
|
|
151
|
-
constructor(templatesAdminApiService: UITemplatesAdminApiService, flowStateService: FlowStateService, flowInfo: FlowInfoService, toastService: ToastService, customizationService?: FlowCustomization | undefined);
|
|
152
|
-
ngOnDestroy(): void;
|
|
153
|
-
private initialize;
|
|
154
|
-
private getLocalMeta$;
|
|
155
|
-
private getOrgMeta$;
|
|
156
|
-
private generateUIDefinition$;
|
|
157
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<FlowHeaderComponent, [null, null, null, null, { optional: true; }]>;
|
|
158
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<FlowHeaderComponent, "vl-flow-new-header", never, {}, {}, never, never, true, never>;
|
|
159
|
-
}
|
|
160
|
-
|
|
161
|
-
declare class FlowNewHeaderModule {
|
|
162
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<FlowNewHeaderModule, never>;
|
|
163
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<FlowNewHeaderModule, never, [typeof i1.CommonModule, typeof i2.PreviewModule, typeof FlowHeaderComponent], [typeof FlowHeaderComponent]>;
|
|
164
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<FlowNewHeaderModule>;
|
|
165
|
-
}
|
|
166
|
-
|
|
167
|
-
interface FlowDialogConfig {
|
|
168
|
-
title: string;
|
|
169
|
-
description?: string;
|
|
170
|
-
primaryButton: string;
|
|
171
|
-
secondaryButton?: string;
|
|
172
|
-
oppositeButtonActions?: boolean;
|
|
173
|
-
}
|
|
174
|
-
|
|
175
|
-
declare class FlowDialogComponent {
|
|
176
|
-
private dialogConfig;
|
|
177
|
-
private ref;
|
|
178
|
-
config: FlowDialogConfig;
|
|
179
|
-
constructor(dialogConfig: DynamicDialogConfig, ref: DynamicDialogRef);
|
|
180
|
-
cancelHandler(): void;
|
|
181
|
-
confirmHandler(): void;
|
|
182
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<FlowDialogComponent, never>;
|
|
183
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<FlowDialogComponent, "vl-flow-dialog", never, {}, {}, never, never, true, never>;
|
|
184
|
-
}
|
|
185
|
-
|
|
186
|
-
declare class FlowDialogModule {
|
|
187
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<FlowDialogModule, never>;
|
|
188
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<FlowDialogModule, never, [typeof i1.CommonModule, typeof i2$1.ButtonModule, typeof FlowDialogComponent], [typeof FlowDialogComponent]>;
|
|
189
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<FlowDialogModule>;
|
|
190
|
-
}
|
|
191
|
-
|
|
192
|
-
declare class GuidedSellingComponent implements OnDestroy {
|
|
193
|
-
private templatesAdminApiService;
|
|
194
|
-
private flowStateService;
|
|
195
|
-
private flowInfo;
|
|
196
|
-
private toastService;
|
|
197
|
-
private customizationService?;
|
|
198
|
-
uiDefinition$: BehaviorSubject<UIDefinition | null>;
|
|
199
|
-
private templateApiName;
|
|
200
|
-
private destroy$;
|
|
201
|
-
constructor(templatesAdminApiService: UITemplatesAdminApiService, flowStateService: FlowStateService, flowInfo: FlowInfoService, toastService: ToastService, customizationService?: FlowCustomization | undefined);
|
|
202
|
-
ngOnDestroy(): void;
|
|
203
|
-
private initialize;
|
|
204
|
-
private getLocalMeta$;
|
|
205
|
-
private getOrgMeta$;
|
|
206
|
-
private generateUIDefinition$;
|
|
207
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<GuidedSellingComponent, [null, null, null, null, { optional: true; }]>;
|
|
208
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<GuidedSellingComponent, "vl-flow-guided-selling", never, {}, {}, never, never, true, never>;
|
|
209
|
-
}
|
|
210
|
-
|
|
211
|
-
declare class GuidedSellingModule {
|
|
212
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<GuidedSellingModule, never>;
|
|
213
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<GuidedSellingModule, never, [typeof i1.CommonModule, typeof i2.PreviewModule, typeof GuidedSellingComponent], [typeof GuidedSellingComponent]>;
|
|
214
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<GuidedSellingModule>;
|
|
215
|
-
}
|
|
216
|
-
|
|
217
|
-
type FlowDialogFn = keyof Omit<FlowDialogService, 'show' | 'constructor'>;
|
|
218
|
-
declare class FlowDialogService {
|
|
219
|
-
private dialogService;
|
|
220
|
-
private runtimeSettings;
|
|
221
|
-
private flowInfoService;
|
|
222
|
-
constructor(dialogService: DialogService, runtimeSettings: RuntimeSettingsService, flowInfoService: FlowInfoService);
|
|
223
|
-
show(config: FlowDialogConfig): Observable<boolean>;
|
|
224
|
-
showEmptyCartDialog(): Observable<boolean>;
|
|
225
|
-
showReadonlyModeDialog(): Observable<boolean>;
|
|
226
|
-
showQuoteReadonlyModeDialog(): Observable<boolean>;
|
|
227
|
-
showQuoteInConfiguratorDialog(): Observable<boolean>;
|
|
228
|
-
showAccountNoChangesDialog(): Observable<boolean>;
|
|
229
|
-
showUnsavedChangesDialog(): Observable<boolean>;
|
|
230
|
-
showTermsLimitReachedDialog(): Observable<boolean>;
|
|
231
|
-
showDialog(dialog: FlowDialogFn): Observable<boolean>;
|
|
232
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<FlowDialogService, never>;
|
|
233
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<FlowDialogService>;
|
|
234
|
-
}
|
|
235
|
-
|
|
236
|
-
declare class FlowRouterService {
|
|
237
|
-
private router;
|
|
238
|
-
private route;
|
|
239
|
-
private integrationState;
|
|
240
|
-
private flowInfoService;
|
|
241
|
-
loading$: Observable<boolean>;
|
|
242
|
-
private routeChange$;
|
|
243
|
-
private lastChildParams$;
|
|
244
|
-
private lastChildRoute$;
|
|
245
|
-
private urlHistory;
|
|
246
|
-
constructor(router: Router, route: ActivatedRoute, integrationState: IntegrationState, flowInfoService: FlowInfoService);
|
|
247
|
-
get route$(): Observable<ActivatedRouteSnapshot>;
|
|
248
|
-
get params$(): Observable<Params>;
|
|
249
|
-
get params(): Params;
|
|
250
|
-
getFlowRootRoute(route: ActivatedRouteSnapshot): ActivatedRouteSnapshot | undefined;
|
|
251
|
-
getFlowRootPath(route: ActivatedRouteSnapshot): string;
|
|
252
|
-
getLastChildRoute: (route: ActivatedRoute) => ActivatedRoute;
|
|
253
|
-
getNthChildRoute: (route: ActivatedRoute, index: number) => ActivatedRoute;
|
|
254
|
-
getLastChildRouteSnapshot: (route: ActivatedRouteSnapshot) => ActivatedRouteSnapshot;
|
|
255
|
-
watchLastChildRoute$: (route: ActivatedRoute) => Observable<ActivatedRouteSnapshot>;
|
|
256
|
-
getLastChildParams: (route: ActivatedRouteSnapshot) => Params;
|
|
257
|
-
watchLastChildParams$: (route: ActivatedRoute) => Observable<Params>;
|
|
258
|
-
getFlowSubpath$: () => Observable<string>;
|
|
259
|
-
isConfigurationRoute$(): Observable<boolean>;
|
|
260
|
-
isCartRoute$(): Observable<boolean>;
|
|
261
|
-
isCatalogRoute$(): Observable<boolean>;
|
|
262
|
-
isAssetsRoute$(): Observable<boolean>;
|
|
263
|
-
navigateBack(): void;
|
|
264
|
-
navigateTo(path: string, productId?: string, transactionItemId?: string): void;
|
|
265
|
-
navigateToProductConfiguration(productId: string, transactionItemId?: string): void;
|
|
266
|
-
navigateToShoppingCart(): void;
|
|
267
|
-
navigateToCatalog(): void;
|
|
268
|
-
navigateToAssets(): void;
|
|
269
|
-
showErrorPage$(message: string, details?: string[]): Observable<false>;
|
|
270
|
-
switchObject(id: string): void;
|
|
271
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<FlowRouterService, never>;
|
|
272
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<FlowRouterService>;
|
|
273
|
-
}
|
|
274
|
-
|
|
275
|
-
declare class FlowService {
|
|
276
|
-
private integrationState;
|
|
277
|
-
private flowRouterService;
|
|
278
|
-
private configurationService;
|
|
279
|
-
private configurationStateService;
|
|
280
|
-
private flowDialogService;
|
|
281
|
-
private flowStateService;
|
|
282
|
-
private flowInfoService;
|
|
283
|
-
private cleanup$;
|
|
284
|
-
constructor(integrationState: IntegrationState$1, flowRouterService: FlowRouterService, configurationService: ConfigurationService, configurationStateService: ConfigurationStateService, flowDialogService: FlowDialogService, flowStateService: FlowStateService, flowInfoService: FlowInfoService);
|
|
285
|
-
cleanup(): void;
|
|
286
|
-
initSubscriptions(): void;
|
|
287
|
-
private updateFlowParams;
|
|
288
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<FlowService, never>;
|
|
289
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<FlowService>;
|
|
290
|
-
}
|
|
291
|
-
|
|
292
|
-
declare class FlowGuidedSellingService {
|
|
293
|
-
private integrationState;
|
|
294
|
-
private cleanup$;
|
|
295
|
-
private isVisibleSubj$;
|
|
296
|
-
isVisible$: rxjs.Observable<boolean>;
|
|
297
|
-
constructor(integrationState: IntegrationState);
|
|
298
|
-
cleanup(): void;
|
|
299
|
-
private initSubscriptions;
|
|
300
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<FlowGuidedSellingService, never>;
|
|
301
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<FlowGuidedSellingService>;
|
|
302
|
-
}
|
|
303
|
-
|
|
304
|
-
declare class FlowComponent implements OnDestroy {
|
|
305
|
-
private routerService;
|
|
306
|
-
private flowService;
|
|
307
|
-
private flowInfoService;
|
|
308
|
-
private guidedSellingService;
|
|
309
|
-
isLoading$: Observable<boolean>;
|
|
310
|
-
showHeader$: Observable<boolean>;
|
|
311
|
-
isStandalone$: Observable<boolean>;
|
|
312
|
-
guidedSellingVisible$: Observable<boolean>;
|
|
313
|
-
constructor(routerService: FlowRouterService, flowService: FlowService, flowInfoService: FlowInfoService, guidedSellingService: FlowGuidedSellingService);
|
|
314
|
-
ngOnDestroy(): void;
|
|
315
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<FlowComponent, never>;
|
|
316
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<FlowComponent, "vl-flow", never, {}, {}, never, never, true, never>;
|
|
317
|
-
}
|
|
318
|
-
|
|
319
|
-
declare class FlowModule {
|
|
320
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<FlowModule, never>;
|
|
321
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<FlowModule, never, [typeof i1.CommonModule, typeof i3.LetDirectiveModule, typeof FlowRoutingModule, typeof i4.ApiModule, typeof i2.LauncherModule, typeof i3.LoaderModule, typeof FlowNewHeaderModule, typeof FlowDialogModule, typeof i8.SdkCoreModule, typeof GuidedSellingModule, typeof FlowComponent], never>;
|
|
322
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<FlowModule>;
|
|
323
|
-
}
|
|
324
|
-
|
|
325
|
-
interface RouteWithId extends Route {
|
|
326
|
-
id?: string;
|
|
327
|
-
}
|
|
328
|
-
|
|
329
|
-
export { FlowDialogService, FlowModule, FlowRouterService, FlowService, VELOCE_FLOW_ROOT_ROUTE };
|
|
330
|
-
export type { FlowDialogFn, RouteWithId };
|
|
1
|
+
export * from './src';
|
package/package.json
CHANGED
|
@@ -1,25 +1,26 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@veloceapps/sdk",
|
|
3
|
-
"version": "12.0.0-
|
|
3
|
+
"version": "12.0.0-19",
|
|
4
4
|
"private": false,
|
|
5
5
|
"peerDependencies": {
|
|
6
|
-
"@angular/animations": "~
|
|
7
|
-
"@angular/common": "~
|
|
8
|
-
"@angular/core": "~
|
|
9
|
-
"@angular/forms": "~
|
|
10
|
-
"@angular/platform-browser-dynamic": "~
|
|
11
|
-
"@angular/platform-browser": "~
|
|
6
|
+
"@angular/animations": "~15.2.0",
|
|
7
|
+
"@angular/common": "~15.2.0",
|
|
8
|
+
"@angular/core": "~15.2.0",
|
|
9
|
+
"@angular/forms": "~15.2.0",
|
|
10
|
+
"@angular/platform-browser-dynamic": "~15.2.0",
|
|
11
|
+
"@angular/platform-browser": "~15.2.0",
|
|
12
12
|
"@veloceapps/core": "^12.0.0-0",
|
|
13
13
|
"@veloceapps/api": "^12.0.0-0",
|
|
14
14
|
"@veloceapps/components": "^12.0.0-0",
|
|
15
15
|
"rxjs": "~7.8.0",
|
|
16
|
-
"zone.js": "~0.12.0"
|
|
16
|
+
"zone.js": "~0.12.0",
|
|
17
|
+
"sass": "1.69.5"
|
|
17
18
|
},
|
|
18
19
|
"dependencies": {
|
|
19
|
-
"@angular/cdk": "
|
|
20
|
-
"@angular/cdk-experimental": "
|
|
21
|
-
"@angular/compiler": "~
|
|
22
|
-
"@angular-architects/module-federation": "
|
|
20
|
+
"@angular/cdk": "^15.2.0",
|
|
21
|
+
"@angular/cdk-experimental": "^15.2.0",
|
|
22
|
+
"@angular/compiler": "~15.2.0",
|
|
23
|
+
"@angular-architects/module-federation": "^15.0.3",
|
|
23
24
|
"@babel/standalone": "^7.17.1",
|
|
24
25
|
"moment": "^2.29.1",
|
|
25
26
|
"ngx-drag-drop": "^13.0.1",
|
|
@@ -31,7 +32,11 @@
|
|
|
31
32
|
"publishConfig": {
|
|
32
33
|
"access": "public"
|
|
33
34
|
},
|
|
34
|
-
"module": "
|
|
35
|
+
"module": "fesm2015/veloceapps-sdk.mjs",
|
|
36
|
+
"es2020": "fesm2020/veloceapps-sdk.mjs",
|
|
37
|
+
"esm2020": "esm2020/veloceapps-sdk.mjs",
|
|
38
|
+
"fesm2020": "fesm2020/veloceapps-sdk.mjs",
|
|
39
|
+
"fesm2015": "fesm2015/veloceapps-sdk.mjs",
|
|
35
40
|
"typings": "index.d.ts",
|
|
36
41
|
"exports": {
|
|
37
42
|
"./package.json": {
|
|
@@ -39,15 +44,27 @@
|
|
|
39
44
|
},
|
|
40
45
|
".": {
|
|
41
46
|
"types": "./index.d.ts",
|
|
42
|
-
"
|
|
47
|
+
"esm2020": "./esm2020/veloceapps-sdk.mjs",
|
|
48
|
+
"es2020": "./fesm2020/veloceapps-sdk.mjs",
|
|
49
|
+
"es2015": "./fesm2015/veloceapps-sdk.mjs",
|
|
50
|
+
"node": "./fesm2015/veloceapps-sdk.mjs",
|
|
51
|
+
"default": "./fesm2020/veloceapps-sdk.mjs"
|
|
43
52
|
},
|
|
44
53
|
"./cms": {
|
|
45
54
|
"types": "./cms/index.d.ts",
|
|
46
|
-
"
|
|
55
|
+
"esm2020": "./esm2020/cms/veloceapps-sdk-cms.mjs",
|
|
56
|
+
"es2020": "./fesm2020/veloceapps-sdk-cms.mjs",
|
|
57
|
+
"es2015": "./fesm2015/veloceapps-sdk-cms.mjs",
|
|
58
|
+
"node": "./fesm2015/veloceapps-sdk-cms.mjs",
|
|
59
|
+
"default": "./fesm2020/veloceapps-sdk-cms.mjs"
|
|
47
60
|
},
|
|
48
61
|
"./core": {
|
|
49
62
|
"types": "./core/index.d.ts",
|
|
50
|
-
"
|
|
63
|
+
"esm2020": "./esm2020/core/veloceapps-sdk-core.mjs",
|
|
64
|
+
"es2020": "./fesm2020/veloceapps-sdk-core.mjs",
|
|
65
|
+
"es2015": "./fesm2015/veloceapps-sdk-core.mjs",
|
|
66
|
+
"node": "./fesm2015/veloceapps-sdk-core.mjs",
|
|
67
|
+
"default": "./fesm2020/veloceapps-sdk-core.mjs"
|
|
51
68
|
}
|
|
52
69
|
}
|
|
53
|
-
}
|
|
70
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { DynamicDialogConfig, DynamicDialogRef } from 'primeng/dynamicdialog';
|
|
2
|
+
import { FlowDialogConfig } from './dialog.types';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class FlowDialogComponent {
|
|
5
|
+
private dialogConfig;
|
|
6
|
+
private ref;
|
|
7
|
+
config: FlowDialogConfig;
|
|
8
|
+
constructor(dialogConfig: DynamicDialogConfig, ref: DynamicDialogRef);
|
|
9
|
+
cancelHandler(): void;
|
|
10
|
+
confirmHandler(): void;
|
|
11
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FlowDialogComponent, never>;
|
|
12
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FlowDialogComponent, "vl-flow-dialog", never, {}, {}, never, never, false, never>;
|
|
13
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./dialog.component";
|
|
3
|
+
import * as i2 from "@angular/common";
|
|
4
|
+
import * as i3 from "primeng/button";
|
|
5
|
+
export declare class FlowDialogModule {
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FlowDialogModule, never>;
|
|
7
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<FlowDialogModule, [typeof i1.FlowDialogComponent], [typeof i2.CommonModule, typeof i3.ButtonModule], [typeof i1.FlowDialogComponent]>;
|
|
8
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<FlowDialogModule>;
|
|
9
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { OnDestroy } from '@angular/core';
|
|
2
|
+
import { UITemplatesAdminApiService } from '@veloceapps/api/v2';
|
|
3
|
+
import { ToastService } from '@veloceapps/components';
|
|
4
|
+
import { UIDefinition } from '@veloceapps/core';
|
|
5
|
+
import { FlowCustomization, FlowInfoService, FlowStateService } from '@veloceapps/sdk/core';
|
|
6
|
+
import { BehaviorSubject } from 'rxjs';
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
8
|
+
export declare class FlowHeaderComponent implements OnDestroy {
|
|
9
|
+
private templatesAdminApiService;
|
|
10
|
+
private flowStateService;
|
|
11
|
+
private flowInfo;
|
|
12
|
+
private toastService;
|
|
13
|
+
private customizationService?;
|
|
14
|
+
uiDefinition$: BehaviorSubject<UIDefinition | null>;
|
|
15
|
+
private templateApiName;
|
|
16
|
+
private destroy$;
|
|
17
|
+
constructor(templatesAdminApiService: UITemplatesAdminApiService, flowStateService: FlowStateService, flowInfo: FlowInfoService, toastService: ToastService, customizationService?: FlowCustomization | undefined);
|
|
18
|
+
ngOnDestroy(): void;
|
|
19
|
+
private initialize;
|
|
20
|
+
private getLocalMeta$;
|
|
21
|
+
private getOrgMeta$;
|
|
22
|
+
private generateUIDefinition$;
|
|
23
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FlowHeaderComponent, [null, null, null, null, { optional: true; }]>;
|
|
24
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FlowHeaderComponent, "vl-flow-new-header", never, {}, {}, never, never, false, never>;
|
|
25
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./flow-header.component";
|
|
3
|
+
import * as i2 from "@angular/common";
|
|
4
|
+
import * as i3 from "@veloceapps/sdk/cms";
|
|
5
|
+
export declare class FlowNewHeaderModule {
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FlowNewHeaderModule, never>;
|
|
7
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<FlowNewHeaderModule, [typeof i1.FlowHeaderComponent], [typeof i2.CommonModule, typeof i3.PreviewModule], [typeof i1.FlowHeaderComponent]>;
|
|
8
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<FlowNewHeaderModule>;
|
|
9
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './flow-header.module';
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { OnDestroy } from '@angular/core';
|
|
2
|
+
import { UITemplatesAdminApiService } from '@veloceapps/api/v2';
|
|
3
|
+
import { ToastService } from '@veloceapps/components';
|
|
4
|
+
import { UIDefinition } from '@veloceapps/core';
|
|
5
|
+
import { FlowCustomization, FlowInfoService, FlowStateService } from '@veloceapps/sdk/core';
|
|
6
|
+
import { BehaviorSubject } from 'rxjs';
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
8
|
+
export declare class GuidedSellingComponent implements OnDestroy {
|
|
9
|
+
private templatesAdminApiService;
|
|
10
|
+
private flowStateService;
|
|
11
|
+
private flowInfo;
|
|
12
|
+
private toastService;
|
|
13
|
+
private customizationService?;
|
|
14
|
+
uiDefinition$: BehaviorSubject<UIDefinition | null>;
|
|
15
|
+
private templateApiName;
|
|
16
|
+
private destroy$;
|
|
17
|
+
constructor(templatesAdminApiService: UITemplatesAdminApiService, flowStateService: FlowStateService, flowInfo: FlowInfoService, toastService: ToastService, customizationService?: FlowCustomization | undefined);
|
|
18
|
+
ngOnDestroy(): void;
|
|
19
|
+
private initialize;
|
|
20
|
+
private getLocalMeta$;
|
|
21
|
+
private getOrgMeta$;
|
|
22
|
+
private generateUIDefinition$;
|
|
23
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<GuidedSellingComponent, [null, null, null, null, { optional: true; }]>;
|
|
24
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<GuidedSellingComponent, "vl-flow-guided-selling", never, {}, {}, never, never, false, never>;
|
|
25
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./guided-selling.component";
|
|
3
|
+
import * as i2 from "@angular/common";
|
|
4
|
+
import * as i3 from "@veloceapps/sdk/cms";
|
|
5
|
+
export declare class GuidedSellingModule {
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<GuidedSellingModule, never>;
|
|
7
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<GuidedSellingModule, [typeof i1.GuidedSellingComponent], [typeof i2.CommonModule, typeof i3.PreviewModule], [typeof i1.GuidedSellingComponent]>;
|
|
8
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<GuidedSellingModule>;
|
|
9
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const configurePrimengShadowDOM: () => void;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const VELOCE_FLOW_ROOT_ROUTE = "VELOCE_FLOW_ROOT_ROUTE";
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "@angular/router";
|
|
3
|
+
import * as i2 from "./pages/product/product.module";
|
|
4
|
+
import * as i3 from "./pages/shopping-cart/shopping-cart.module";
|
|
5
|
+
import * as i4 from "./pages/catalog/catalog.module";
|
|
6
|
+
import * as i5 from "./pages/assets/assets.module";
|
|
7
|
+
export declare class FlowRoutingModule {
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FlowRoutingModule, never>;
|
|
9
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<FlowRoutingModule, never, [typeof i1.RouterModule, typeof i2.ProductModule, typeof i3.ShoppingCartModule, typeof i4.CatalogModule, typeof i5.AssetsModule], [typeof i1.RouterModule]>;
|
|
10
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<FlowRoutingModule>;
|
|
11
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { OnDestroy } from '@angular/core';
|
|
2
|
+
import { FlowInfoService } from '@veloceapps/sdk/core';
|
|
3
|
+
import { Observable } from 'rxjs';
|
|
4
|
+
import { FlowService } from './services';
|
|
5
|
+
import { FlowRouterService } from './services/flow-router.service';
|
|
6
|
+
import { FlowGuidedSellingService } from './services/guided-selling.service';
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
8
|
+
export declare class FlowComponent implements OnDestroy {
|
|
9
|
+
private routerService;
|
|
10
|
+
private flowService;
|
|
11
|
+
private flowInfoService;
|
|
12
|
+
private guidedSellingService;
|
|
13
|
+
isLoading$: Observable<boolean>;
|
|
14
|
+
showHeader$: Observable<boolean>;
|
|
15
|
+
isStandalone$: Observable<boolean>;
|
|
16
|
+
guidedSellingVisible$: Observable<boolean>;
|
|
17
|
+
constructor(routerService: FlowRouterService, flowService: FlowService, flowInfoService: FlowInfoService, guidedSellingService: FlowGuidedSellingService);
|
|
18
|
+
ngOnDestroy(): void;
|
|
19
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FlowComponent, never>;
|
|
20
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FlowComponent, "vl-flow", never, {}, {}, never, never, false, never>;
|
|
21
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./flow.component";
|
|
3
|
+
import * as i2 from "@angular/common";
|
|
4
|
+
import * as i3 from "@veloceapps/components";
|
|
5
|
+
import * as i4 from "./flow-routing.module";
|
|
6
|
+
import * as i5 from "@veloceapps/api";
|
|
7
|
+
import * as i6 from "@veloceapps/sdk/cms";
|
|
8
|
+
import * as i7 from "./components/flow-header/flow-header.module";
|
|
9
|
+
import * as i8 from "./components/dialog/dialog.module";
|
|
10
|
+
import * as i9 from "@veloceapps/sdk/core";
|
|
11
|
+
import * as i10 from "./components/guided-selling/guided-selling.module";
|
|
12
|
+
export declare class FlowModule {
|
|
13
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FlowModule, never>;
|
|
14
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<FlowModule, [typeof i1.FlowComponent], [typeof i2.CommonModule, typeof i3.LetDirectiveModule, typeof i4.FlowRoutingModule, typeof i5.ApiModule, typeof i6.LauncherModule, typeof i3.LoaderModule, typeof i7.FlowNewHeaderModule, typeof i8.FlowDialogModule, typeof i9.SdkCoreModule, typeof i10.GuidedSellingModule], never>;
|
|
15
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<FlowModule>;
|
|
16
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { Component } from '@angular/core';
|
|
2
|
+
import { ActivatedRouteSnapshot, Router, RouterStateSnapshot, UrlTree } from '@angular/router';
|
|
3
|
+
import { ConfigurationService, FlowInfoService } from '@veloceapps/sdk/core';
|
|
4
|
+
import { Observable } from 'rxjs';
|
|
5
|
+
import { FlowDialogService } from '../services/flow-dialog.service';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
export declare class ProductUnloadGuard {
|
|
8
|
+
private router;
|
|
9
|
+
private flowInfoService;
|
|
10
|
+
private configurationService;
|
|
11
|
+
private flowDialogService;
|
|
12
|
+
constructor(router: Router, flowInfoService: FlowInfoService, configurationService: ConfigurationService, flowDialogService: FlowDialogService);
|
|
13
|
+
canDeactivate(_: Component, route: ActivatedRouteSnapshot, currentState: RouterStateSnapshot, nextState?: RouterStateSnapshot): Observable<boolean | UrlTree>;
|
|
14
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ProductUnloadGuard, never>;
|
|
15
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ProductUnloadGuard>;
|
|
16
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { ActivatedRouteSnapshot, CanActivate, CanDeactivate, Router } from '@angular/router';
|
|
2
|
+
import { Observable } from 'rxjs';
|
|
3
|
+
import { FlowRouterService } from '../services/flow-router.service';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class RootGuard implements CanActivate, CanDeactivate<any> {
|
|
6
|
+
private router;
|
|
7
|
+
private routerService;
|
|
8
|
+
private initialized;
|
|
9
|
+
constructor(router: Router, routerService: FlowRouterService);
|
|
10
|
+
canActivate(route: ActivatedRouteSnapshot): Observable<boolean> | Promise<boolean> | boolean;
|
|
11
|
+
canDeactivate(): boolean;
|
|
12
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<RootGuard, never>;
|
|
13
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<RootGuard>;
|
|
14
|
+
}
|
package/src/index.d.ts
ADDED