@veloceapps/sdk 12.0.0-9 → 13.0.0-0
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/index.d.ts +921 -15
- package/core/index.d.ts +527 -8
- package/fesm2022/veloceapps-sdk-cms.mjs +2611 -0
- package/fesm2022/veloceapps-sdk-cms.mjs.map +1 -0
- package/{fesm2020 → fesm2022}/veloceapps-sdk-core.mjs +164 -146
- package/fesm2022/veloceapps-sdk-core.mjs.map +1 -0
- package/{fesm2020 → fesm2022}/veloceapps-sdk.mjs +186 -192
- package/fesm2022/veloceapps-sdk.mjs.map +1 -0
- package/index.d.ts +330 -1
- package/package.json +23 -40
- package/cms/cms.actions.d.ts +0 -154
- package/cms/cms.default.d.ts +0 -5
- package/cms/cms.elements.d.ts +0 -4
- package/cms/cms.layouts.d.ts +0 -4
- package/cms/components/element-children/element-children.component.d.ts +0 -22
- package/cms/components/element-children/element-children.module.d.ts +0 -11
- package/cms/components/element-drop-handle/element-drop-handle.component.d.ts +0 -12
- package/cms/components/element-drop-handle/element-drop-handle.module.d.ts +0 -9
- package/cms/components/element-renderer/element-renderer.component.d.ts +0 -29
- package/cms/components/element-renderer/element-renderer.module.d.ts +0 -7
- package/cms/components/element-tools-panel/element-tools-panel.component.d.ts +0 -14
- package/cms/components/element.component.d.ts +0 -17
- package/cms/components/index.d.ts +0 -1
- package/cms/components/plugin.component.d.ts +0 -15
- package/cms/components/preview/index.d.ts +0 -3
- package/cms/components/preview/preview.component.d.ts +0 -32
- package/cms/components/preview/preview.module.d.ts +0 -13
- package/cms/components/preview/preview.types.d.ts +0 -20
- package/cms/decorators/element.decorator.d.ts +0 -2
- package/cms/decorators/index.d.ts +0 -1
- package/cms/definitions/index.d.ts +0 -1
- package/cms/definitions/ui-builder.definitions.d.ts +0 -6
- package/cms/directives/custom-template.directive.d.ts +0 -17
- package/cms/engine/models/entity.d.ts +0 -11
- package/cms/engine/models/plugin.d.ts +0 -5
- package/cms/injection-tokens.d.ts +0 -9
- package/cms/launcher.module.d.ts +0 -12
- package/cms/modules/federated/default-options.d.ts +0 -4
- package/cms/modules/federated/export.d.ts +0 -1
- package/cms/modules/federated/federated-host.directive.d.ts +0 -8
- package/cms/modules/federated/federated.component.d.ts +0 -25
- package/cms/modules/federated/federated.module.d.ts +0 -10
- package/cms/modules/federated/federated.types.d.ts +0 -26
- package/cms/modules/migrations/index.d.ts +0 -2
- package/cms/modules/migrations/migrations.d.ts +0 -2
- package/cms/modules/migrations/migrations.module.d.ts +0 -6
- package/cms/modules/migrations/services/migrations.service.d.ts +0 -10
- package/cms/modules/migrations/types/migrations.types.d.ts +0 -2
- package/cms/modules/runtime/index.d.ts +0 -3
- package/cms/modules/runtime/runtime.module.d.ts +0 -8
- package/cms/modules/runtime/services/compilation.service.d.ts +0 -19
- package/cms/modules/runtime/services/runtime-editor.service.d.ts +0 -20
- package/cms/modules/runtime/services/runtime.service.d.ts +0 -33
- package/cms/modules/runtime/tokens.d.ts +0 -3
- package/cms/modules/runtime/types/compilation.types.d.ts +0 -8
- package/cms/modules/runtime/types/runtime.actions.d.ts +0 -12
- package/cms/plugins/element-hover.plugin.d.ts +0 -33
- package/cms/plugins/io.plugin.d.ts +0 -9
- package/cms/plugins/page.plugin.d.ts +0 -15
- package/cms/plugins/region.plugin.d.ts +0 -17
- package/cms/plugins/script.plugin.d.ts +0 -10
- package/cms/services/element-context.service.d.ts +0 -7
- package/cms/services/index.d.ts +0 -2
- package/cms/services/io-provider.service.d.ts +0 -15
- package/cms/services/resources.service.d.ts +0 -21
- package/cms/services/templates.service.d.ts +0 -14
- package/cms/types/common.types.d.ts +0 -130
- package/cms/types/elements.types.d.ts +0 -2
- package/cms/types/index.d.ts +0 -6
- package/cms/types/layouts.types.d.ts +0 -102
- package/cms/types/pages.types.d.ts +0 -1
- package/cms/types/path.types.d.ts +0 -11
- package/cms/utils/element-metadata-worker.d.ts +0 -11
- package/cms/utils/element.utils.d.ts +0 -20
- package/cms/utils/elements-resolver.d.ts +0 -28
- package/cms/utils/encoding.utils.d.ts +0 -2
- package/cms/utils/index.d.ts +0 -9
- package/cms/utils/inject.d.ts +0 -1
- package/cms/utils/path.utils.d.ts +0 -3
- package/cms/utils/script.utils.d.ts +0 -2
- package/cms/utils/transpilation-worker.d.ts +0 -13
- package/cms/utils/ui-builder-layout.utils.d.ts +0 -4
- package/cms/utils/ui-definition.utils.d.ts +0 -6
- package/cms/vendor-map.d.ts +0 -86
- package/core/core.module.d.ts +0 -10
- package/core/directives/directives.module.d.ts +0 -7
- package/core/directives/index.d.ts +0 -2
- package/core/directives/primeng-calendar.directive.d.ts +0 -14
- package/core/modules/configuration/configuration.module.d.ts +0 -8
- package/core/modules/configuration/index.d.ts +0 -6
- package/core/modules/configuration/services/configuration-runtime.service.d.ts +0 -17
- package/core/modules/configuration/services/configuration-state.service.d.ts +0 -60
- package/core/modules/configuration/services/configuration.service.d.ts +0 -36
- package/core/modules/configuration/services/guided-selling.service.d.ts +0 -15
- package/core/modules/configuration/services/test-mode-configuration.service.d.ts +0 -26
- package/core/modules/configuration/types/configuration-runtime.types.d.ts +0 -3
- package/core/modules/configuration/types/configuration.types.d.ts +0 -20
- package/core/modules/configuration/types/index.d.ts +0 -2
- package/core/modules/flow-configuration/flow-configuration.module.d.ts +0 -7
- package/core/modules/flow-configuration/index.d.ts +0 -1
- package/core/modules/flow-configuration/services/flow-configuration.service.d.ts +0 -23
- package/core/modules/index.d.ts +0 -2
- package/core/operators/filter-successful-execute.operator.d.ts +0 -3
- package/core/operators/index.d.ts +0 -1
- package/core/pipes/action-code.pipe.d.ts +0 -8
- package/core/pipes/date.pipe.d.ts +0 -13
- package/core/pipes/index.d.ts +0 -5
- package/core/pipes/number.pipe.d.ts +0 -10
- package/core/pipes/pipes.module.d.ts +0 -10
- package/core/pipes/price.pipe.d.ts +0 -10
- package/core/services/catalog-products.service.d.ts +0 -11
- package/core/services/flow-info.service.d.ts +0 -44
- package/core/services/flow-state-configuration.service.d.ts +0 -25
- package/core/services/flow-state.service.d.ts +0 -70
- package/core/services/index.d.ts +0 -8
- package/core/services/integration.state.d.ts +0 -16
- package/core/services/product-images.service.d.ts +0 -12
- package/core/services/runtime-settings.service.d.ts +0 -24
- package/core/services/sales-transaction.service.d.ts +0 -27
- package/core/types/flow-customization.types.d.ts +0 -10
- package/core/types/flow-state.types.d.ts +0 -12
- package/core/types/formatting-settings.types.d.ts +0 -13
- package/core/types/index.d.ts +0 -5
- package/core/types/integration.types.d.ts +0 -10
- package/core/types/pipe.types.d.ts +0 -1
- package/core/types/ui-definition.types.d.ts +0 -1
- package/core/utils/index.d.ts +0 -4
- package/core/utils/pcm.utils.d.ts +0 -5
- package/core/utils/transaction-item.utils.d.ts +0 -10
- package/core/utils/transaction-item.worker.d.ts +0 -8
- package/core/utils/ui-definition.utils.d.ts +0 -2
- package/esm2020/cms/cms.actions.mjs +0 -151
- package/esm2020/cms/cms.default.mjs +0 -5
- package/esm2020/cms/cms.elements.mjs +0 -52
- package/esm2020/cms/cms.layouts.mjs +0 -239
- package/esm2020/cms/components/element-children/element-children.component.mjs +0 -41
- package/esm2020/cms/components/element-children/element-children.module.mjs +0 -21
- package/esm2020/cms/components/element-drop-handle/element-drop-handle.component.mjs +0 -28
- package/esm2020/cms/components/element-drop-handle/element-drop-handle.module.mjs +0 -19
- package/esm2020/cms/components/element-renderer/element-renderer.component.mjs +0 -117
- package/esm2020/cms/components/element-renderer/element-renderer.module.mjs +0 -16
- package/esm2020/cms/components/element-tools-panel/element-tools-panel.component.mjs +0 -35
- package/esm2020/cms/components/element.component.mjs +0 -45
- package/esm2020/cms/components/index.mjs +0 -2
- package/esm2020/cms/components/plugin.component.mjs +0 -17
- package/esm2020/cms/components/preview/index.mjs +0 -4
- package/esm2020/cms/components/preview/preview.component.mjs +0 -75
- package/esm2020/cms/components/preview/preview.module.mjs +0 -42
- package/esm2020/cms/components/preview/preview.types.mjs +0 -2
- package/esm2020/cms/decorators/element.decorator.mjs +0 -6
- package/esm2020/cms/decorators/index.mjs +0 -2
- package/esm2020/cms/definitions/index.mjs +0 -2
- package/esm2020/cms/definitions/ui-builder.definitions.mjs +0 -18
- package/esm2020/cms/directives/custom-template.directive.mjs +0 -38
- package/esm2020/cms/engine/models/entity.mjs +0 -17
- package/esm2020/cms/engine/models/plugin.mjs +0 -6
- package/esm2020/cms/index.mjs +0 -16
- package/esm2020/cms/injection-tokens.mjs +0 -7
- package/esm2020/cms/launcher.module.mjs +0 -24
- package/esm2020/cms/modules/federated/default-options.mjs +0 -5
- package/esm2020/cms/modules/federated/export.mjs +0 -2
- package/esm2020/cms/modules/federated/federated-host.directive.mjs +0 -16
- package/esm2020/cms/modules/federated/federated.component.mjs +0 -74
- package/esm2020/cms/modules/federated/federated.module.mjs +0 -20
- package/esm2020/cms/modules/federated/federated.types.mjs +0 -2
- package/esm2020/cms/modules/migrations/index.mjs +0 -3
- package/esm2020/cms/modules/migrations/migrations.mjs +0 -22
- package/esm2020/cms/modules/migrations/migrations.module.mjs +0 -15
- package/esm2020/cms/modules/migrations/services/migrations.service.mjs +0 -47
- package/esm2020/cms/modules/migrations/types/migrations.types.mjs +0 -2
- package/esm2020/cms/modules/runtime/index.mjs +0 -4
- package/esm2020/cms/modules/runtime/runtime.module.mjs +0 -32
- package/esm2020/cms/modules/runtime/services/compilation.service.mjs +0 -93
- package/esm2020/cms/modules/runtime/services/runtime-editor.service.mjs +0 -30
- package/esm2020/cms/modules/runtime/services/runtime.service.mjs +0 -117
- package/esm2020/cms/modules/runtime/tokens.mjs +0 -3
- package/esm2020/cms/modules/runtime/types/compilation.types.mjs +0 -2
- package/esm2020/cms/modules/runtime/types/runtime.actions.mjs +0 -2
- package/esm2020/cms/plugins/element-hover.plugin.mjs +0 -121
- package/esm2020/cms/plugins/io.plugin.mjs +0 -45
- package/esm2020/cms/plugins/page.plugin.mjs +0 -37
- package/esm2020/cms/plugins/region.plugin.mjs +0 -59
- package/esm2020/cms/plugins/script.plugin.mjs +0 -31
- package/esm2020/cms/services/element-context.service.mjs +0 -10
- package/esm2020/cms/services/index.mjs +0 -3
- package/esm2020/cms/services/io-provider.service.mjs +0 -53
- package/esm2020/cms/services/resources.service.mjs +0 -71
- package/esm2020/cms/services/templates.service.mjs +0 -32
- package/esm2020/cms/types/common.types.mjs +0 -2
- package/esm2020/cms/types/elements.types.mjs +0 -2
- package/esm2020/cms/types/index.mjs +0 -7
- package/esm2020/cms/types/layouts.types.mjs +0 -71
- package/esm2020/cms/types/pages.types.mjs +0 -2
- package/esm2020/cms/types/path.types.mjs +0 -2
- package/esm2020/cms/utils/element-metadata-worker.mjs +0 -31
- package/esm2020/cms/utils/element.utils.mjs +0 -182
- package/esm2020/cms/utils/elements-resolver.mjs +0 -206
- package/esm2020/cms/utils/encoding.utils.mjs +0 -29
- package/esm2020/cms/utils/index.mjs +0 -10
- package/esm2020/cms/utils/inject.mjs +0 -27
- package/esm2020/cms/utils/path.utils.mjs +0 -44
- package/esm2020/cms/utils/script.utils.mjs +0 -46
- package/esm2020/cms/utils/transpilation-worker.mjs +0 -52
- package/esm2020/cms/utils/ui-builder-layout.utils.mjs +0 -46
- package/esm2020/cms/utils/ui-definition.utils.mjs +0 -85
- package/esm2020/cms/veloceapps-sdk-cms.mjs +0 -5
- package/esm2020/cms/vendor-map.mjs +0 -83
- package/esm2020/core/core.module.mjs +0 -54
- package/esm2020/core/directives/directives.module.mjs +0 -16
- package/esm2020/core/directives/index.mjs +0 -3
- package/esm2020/core/directives/primeng-calendar.directive.mjs +0 -41
- package/esm2020/core/index.mjs +0 -9
- package/esm2020/core/modules/configuration/configuration.module.mjs +0 -34
- package/esm2020/core/modules/configuration/index.mjs +0 -7
- package/esm2020/core/modules/configuration/services/configuration-runtime.service.mjs +0 -29
- package/esm2020/core/modules/configuration/services/configuration-state.service.mjs +0 -381
- package/esm2020/core/modules/configuration/services/configuration.service.mjs +0 -159
- package/esm2020/core/modules/configuration/services/guided-selling.service.mjs +0 -62
- package/esm2020/core/modules/configuration/services/test-mode-configuration.service.mjs +0 -97
- package/esm2020/core/modules/configuration/types/configuration-runtime.types.mjs +0 -2
- package/esm2020/core/modules/configuration/types/configuration.types.mjs +0 -2
- package/esm2020/core/modules/configuration/types/index.mjs +0 -3
- package/esm2020/core/modules/flow-configuration/flow-configuration.module.mjs +0 -17
- package/esm2020/core/modules/flow-configuration/index.mjs +0 -2
- package/esm2020/core/modules/flow-configuration/services/flow-configuration.service.mjs +0 -80
- package/esm2020/core/modules/index.mjs +0 -3
- package/esm2020/core/operators/filter-successful-execute.operator.mjs +0 -5
- package/esm2020/core/operators/index.mjs +0 -2
- package/esm2020/core/pipes/action-code.pipe.mjs +0 -20
- package/esm2020/core/pipes/date.pipe.mjs +0 -44
- package/esm2020/core/pipes/index.mjs +0 -6
- package/esm2020/core/pipes/number.pipe.mjs +0 -27
- package/esm2020/core/pipes/pipes.module.mjs +0 -19
- package/esm2020/core/pipes/price.pipe.mjs +0 -30
- package/esm2020/core/services/catalog-products.service.mjs +0 -25
- package/esm2020/core/services/flow-info.service.mjs +0 -146
- package/esm2020/core/services/flow-state-configuration.service.mjs +0 -120
- package/esm2020/core/services/flow-state.service.mjs +0 -417
- package/esm2020/core/services/index.mjs +0 -9
- package/esm2020/core/services/integration.state.mjs +0 -36
- package/esm2020/core/services/product-images.service.mjs +0 -30
- package/esm2020/core/services/runtime-settings.service.mjs +0 -112
- package/esm2020/core/services/sales-transaction.service.mjs +0 -67
- package/esm2020/core/types/flow-customization.types.mjs +0 -3
- package/esm2020/core/types/flow-state.types.mjs +0 -2
- package/esm2020/core/types/formatting-settings.types.mjs +0 -3
- package/esm2020/core/types/index.mjs +0 -6
- package/esm2020/core/types/integration.types.mjs +0 -2
- package/esm2020/core/types/pipe.types.mjs +0 -2
- package/esm2020/core/types/ui-definition.types.mjs +0 -2
- package/esm2020/core/utils/index.mjs +0 -5
- package/esm2020/core/utils/pcm.utils.mjs +0 -15
- package/esm2020/core/utils/transaction-item.utils.mjs +0 -144
- package/esm2020/core/utils/transaction-item.worker.mjs +0 -16
- package/esm2020/core/utils/ui-definition.utils.mjs +0 -9
- package/esm2020/core/veloceapps-sdk-core.mjs +0 -5
- package/esm2020/index.mjs +0 -2
- package/esm2020/src/components/dialog/dialog.component.mjs +0 -36
- package/esm2020/src/components/dialog/dialog.module.mjs +0 -19
- package/esm2020/src/components/dialog/dialog.types.mjs +0 -2
- package/esm2020/src/components/flow-header/flow-header.component.mjs +0 -107
- package/esm2020/src/components/flow-header/flow-header.module.mjs +0 -19
- package/esm2020/src/components/flow-header/index.mjs +0 -2
- package/esm2020/src/components/guided-selling/guided-selling.component.mjs +0 -107
- package/esm2020/src/components/guided-selling/guided-selling.module.mjs +0 -19
- package/esm2020/src/configure-primeng.mjs +0 -33
- package/esm2020/src/constants.mjs +0 -2
- package/esm2020/src/flow-routing.module.mjs +0 -97
- package/esm2020/src/flow.component.mjs +0 -39
- package/esm2020/src/flow.module.mjs +0 -60
- package/esm2020/src/guards/flow.guard.mjs +0 -35
- package/esm2020/src/guards/product-unload.guard.mjs +0 -49
- package/esm2020/src/guards/root.guard.mjs +0 -46
- package/esm2020/src/index.mjs +0 -5
- package/esm2020/src/pages/assets/assets.component.mjs +0 -106
- package/esm2020/src/pages/assets/assets.module.mjs +0 -20
- package/esm2020/src/pages/catalog/catalog.component.mjs +0 -106
- package/esm2020/src/pages/catalog/catalog.module.mjs +0 -20
- package/esm2020/src/pages/debug/debug.component.mjs +0 -49
- package/esm2020/src/pages/debug/debug.module.mjs +0 -46
- package/esm2020/src/pages/product/product.component.mjs +0 -55
- package/esm2020/src/pages/product/product.module.mjs +0 -20
- package/esm2020/src/pages/record-not-found/record-not-found.component.mjs +0 -27
- package/esm2020/src/pages/record-not-found/record-not-found.module.mjs +0 -20
- package/esm2020/src/pages/shopping-cart/shopping-cart.component.mjs +0 -106
- package/esm2020/src/pages/shopping-cart/shopping-cart.module.mjs +0 -20
- package/esm2020/src/resolvers/flow.resolver.mjs +0 -50
- package/esm2020/src/resolvers/pcm-model.resolver.mjs +0 -12
- package/esm2020/src/resolvers/sales-transaction.resolver.mjs +0 -64
- package/esm2020/src/resolvers/ui-definition.resolver.mjs +0 -44
- package/esm2020/src/services/flow-dialog.service.mjs +0 -91
- package/esm2020/src/services/flow-router.service.mjs +0 -173
- package/esm2020/src/services/flow.service.mjs +0 -102
- package/esm2020/src/services/guided-selling.service.mjs +0 -34
- package/esm2020/src/services/index.mjs +0 -4
- package/esm2020/src/types/index.mjs +0 -2
- package/esm2020/src/types/route.types.mjs +0 -2
- package/esm2020/veloceapps-sdk.mjs +0 -5
- package/fesm2015/veloceapps-sdk-cms.mjs +0 -2514
- package/fesm2015/veloceapps-sdk-cms.mjs.map +0 -1
- package/fesm2015/veloceapps-sdk-core.mjs +0 -2084
- package/fesm2015/veloceapps-sdk-core.mjs.map +0 -1
- package/fesm2015/veloceapps-sdk.mjs +0 -1598
- package/fesm2015/veloceapps-sdk.mjs.map +0 -1
- package/fesm2020/veloceapps-sdk-cms.mjs +0 -2613
- package/fesm2020/veloceapps-sdk-cms.mjs.map +0 -1
- package/fesm2020/veloceapps-sdk-core.mjs.map +0 -1
- package/fesm2020/veloceapps-sdk.mjs.map +0 -1
- package/src/components/dialog/dialog.component.d.ts +0 -13
- package/src/components/dialog/dialog.module.d.ts +0 -9
- package/src/components/dialog/dialog.types.d.ts +0 -7
- package/src/components/flow-header/flow-header.component.d.ts +0 -25
- package/src/components/flow-header/flow-header.module.d.ts +0 -9
- package/src/components/flow-header/index.d.ts +0 -1
- package/src/components/guided-selling/guided-selling.component.d.ts +0 -25
- package/src/components/guided-selling/guided-selling.module.d.ts +0 -9
- package/src/configure-primeng.d.ts +0 -1
- package/src/constants.d.ts +0 -1
- package/src/flow-routing.module.d.ts +0 -11
- package/src/flow.component.d.ts +0 -21
- package/src/flow.module.d.ts +0 -16
- package/src/guards/flow.guard.d.ts +0 -2
- package/src/guards/product-unload.guard.d.ts +0 -16
- package/src/guards/root.guard.d.ts +0 -14
- package/src/index.d.ts +0 -4
- package/src/pages/assets/assets.component.d.ts +0 -31
- package/src/pages/assets/assets.module.d.ts +0 -10
- package/src/pages/catalog/catalog.component.d.ts +0 -31
- package/src/pages/catalog/catalog.module.d.ts +0 -10
- package/src/pages/debug/debug.component.d.ts +0 -21
- package/src/pages/debug/debug.module.d.ts +0 -14
- package/src/pages/product/product.component.d.ts +0 -24
- package/src/pages/product/product.module.d.ts +0 -10
- package/src/pages/record-not-found/record-not-found.component.d.ts +0 -12
- package/src/pages/record-not-found/record-not-found.module.d.ts +0 -9
- package/src/pages/shopping-cart/shopping-cart.component.d.ts +0 -31
- package/src/pages/shopping-cart/shopping-cart.module.d.ts +0 -10
- package/src/resolvers/flow.resolver.d.ts +0 -14
- package/src/resolvers/pcm-model.resolver.d.ts +0 -3
- package/src/resolvers/sales-transaction.resolver.d.ts +0 -18
- package/src/resolvers/ui-definition.resolver.d.ts +0 -3
- package/src/services/flow-dialog.service.d.ts +0 -23
- package/src/services/flow-router.service.d.ts +0 -42
- package/src/services/flow.service.d.ts +0 -21
- package/src/services/guided-selling.service.d.ts +0 -13
- package/src/services/index.d.ts +0 -3
- package/src/types/index.d.ts +0 -1
- package/src/types/route.types.d.ts +0 -4
package/index.d.ts
CHANGED
|
@@ -1 +1,330 @@
|
|
|
1
|
-
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
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 };
|
package/package.json
CHANGED
|
@@ -1,26 +1,25 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@veloceapps/sdk",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "13.0.0-0",
|
|
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": "~
|
|
12
|
-
"@veloceapps/core": "^
|
|
13
|
-
"@veloceapps/api": "^
|
|
14
|
-
"@veloceapps/components": "^
|
|
6
|
+
"@angular/animations": "~20.1.4",
|
|
7
|
+
"@angular/common": "~20.1.4",
|
|
8
|
+
"@angular/core": "~20.1.4",
|
|
9
|
+
"@angular/forms": "~20.1.4",
|
|
10
|
+
"@angular/platform-browser-dynamic": "~20.1.4",
|
|
11
|
+
"@angular/platform-browser": "~20.1.4",
|
|
12
|
+
"@veloceapps/core": "^13.0.0-0",
|
|
13
|
+
"@veloceapps/api": "^13.0.0-0",
|
|
14
|
+
"@veloceapps/components": "^13.0.0-0",
|
|
15
15
|
"rxjs": "~7.8.0",
|
|
16
|
-
"zone.js": "~0.12.0"
|
|
17
|
-
"sass": "1.69.5"
|
|
16
|
+
"zone.js": "~0.12.0"
|
|
18
17
|
},
|
|
19
18
|
"dependencies": {
|
|
20
|
-
"@angular/cdk": "
|
|
21
|
-
"@angular/cdk-experimental": "
|
|
22
|
-
"@angular/compiler": "~
|
|
23
|
-
"@angular-architects/module-federation": "
|
|
19
|
+
"@angular/cdk": "~20.1.4",
|
|
20
|
+
"@angular/cdk-experimental": "~20.1.4",
|
|
21
|
+
"@angular/compiler": "~20.1.4",
|
|
22
|
+
"@angular-architects/module-federation": "20.0.0",
|
|
24
23
|
"@babel/standalone": "^7.17.1",
|
|
25
24
|
"moment": "^2.29.1",
|
|
26
25
|
"ngx-drag-drop": "^13.0.1",
|
|
@@ -32,11 +31,7 @@
|
|
|
32
31
|
"publishConfig": {
|
|
33
32
|
"access": "public"
|
|
34
33
|
},
|
|
35
|
-
"module": "
|
|
36
|
-
"es2020": "fesm2020/veloceapps-sdk.mjs",
|
|
37
|
-
"esm2020": "esm2020/veloceapps-sdk.mjs",
|
|
38
|
-
"fesm2020": "fesm2020/veloceapps-sdk.mjs",
|
|
39
|
-
"fesm2015": "fesm2015/veloceapps-sdk.mjs",
|
|
34
|
+
"module": "fesm2022/veloceapps-sdk.mjs",
|
|
40
35
|
"typings": "index.d.ts",
|
|
41
36
|
"exports": {
|
|
42
37
|
"./package.json": {
|
|
@@ -44,27 +39,15 @@
|
|
|
44
39
|
},
|
|
45
40
|
".": {
|
|
46
41
|
"types": "./index.d.ts",
|
|
47
|
-
"
|
|
48
|
-
"es2020": "./fesm2020/veloceapps-sdk.mjs",
|
|
49
|
-
"es2015": "./fesm2015/veloceapps-sdk.mjs",
|
|
50
|
-
"node": "./fesm2015/veloceapps-sdk.mjs",
|
|
51
|
-
"default": "./fesm2020/veloceapps-sdk.mjs"
|
|
52
|
-
},
|
|
53
|
-
"./cms": {
|
|
54
|
-
"types": "./cms/index.d.ts",
|
|
55
|
-
"esm2020": "./esm2020/cms/veloceapps-sdk-cms.mjs",
|
|
56
|
-
"es2020": "./fesm2020/veloceapps-sdk-cms.mjs",
|
|
57
|
-
"es2015": "./fesm2015/veloceapps-sdk-cms.mjs",
|
|
58
|
-
"node": "./fesm2015/veloceapps-sdk-cms.mjs",
|
|
59
|
-
"default": "./fesm2020/veloceapps-sdk-cms.mjs"
|
|
42
|
+
"default": "./fesm2022/veloceapps-sdk.mjs"
|
|
60
43
|
},
|
|
61
44
|
"./core": {
|
|
62
45
|
"types": "./core/index.d.ts",
|
|
63
|
-
"
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
"
|
|
67
|
-
"default": "./
|
|
46
|
+
"default": "./fesm2022/veloceapps-sdk-core.mjs"
|
|
47
|
+
},
|
|
48
|
+
"./cms": {
|
|
49
|
+
"types": "./cms/index.d.ts",
|
|
50
|
+
"default": "./fesm2022/veloceapps-sdk-cms.mjs"
|
|
68
51
|
}
|
|
69
52
|
}
|
|
70
|
-
}
|
|
53
|
+
}
|
package/cms/cms.actions.d.ts
DELETED
|
@@ -1,154 +0,0 @@
|
|
|
1
|
-
export declare namespace FlowAction {
|
|
2
|
-
const FLOW_CONFIGURE_PRODUCT = "[FLOW]_CONFIGURE_PRODUCT";
|
|
3
|
-
const FLOW_NAVIGATE_BACK = "[FLOW]_NAVIGATE_BACK";
|
|
4
|
-
const FLOW_NAVIGATE_TO = "[FLOW]_NAVIGATE_TO";
|
|
5
|
-
const FLOW_NAVIGATE_TO_CATALOG = "[FLOW]_NAVIGATE_TO_CATALOG";
|
|
6
|
-
const FLOW_NAVIGATE_TO_SHOPPING_CART = "[FLOW]_NAVIGATE_TO_SHOPPING_CART";
|
|
7
|
-
const FLOW_APPLY_PRODUCT_CONFIGURATION = "[FLOW]_APPLY_PRODUCT_CONFIGURATION";
|
|
8
|
-
const FLOW_OPEN_DOC_GEN = "[FLOW]_OPEN_DOC_GEN";
|
|
9
|
-
const FLOW_CLOSE_DOC_GEN = "[FLOW]_CLOSE_DOC_GEN";
|
|
10
|
-
const FLOW_SWITCH_OBJECT = "[FLOW]_SWITCH_OBJECT";
|
|
11
|
-
const REMOTE_APPLY = "[FLOW]_REMOTE_APPLY";
|
|
12
|
-
const REMOTE_CANCEL = "[FLOW]_REMOTE_CANCEL";
|
|
13
|
-
const OPEN_GUIDED_SELLING = "[FLOW]_OPEN_GUIDED_SELLING";
|
|
14
|
-
const SUBMIT_GUIDED_SELLING = "[FLOW]_SUBMIT_GUIDED_SELLING";
|
|
15
|
-
const CLOSE_GUIDED_SELLING = "[FLOW]_CLOSE_GUIDED_SELLING";
|
|
16
|
-
const OPEN_DIALOG = "[FLOW]_OPEN_DIALOG";
|
|
17
|
-
const ConfigureProductAction: ({ transactionItemId, productId, qty, }: {
|
|
18
|
-
transactionItemId?: string | undefined;
|
|
19
|
-
productId?: string | undefined;
|
|
20
|
-
qty?: number | undefined;
|
|
21
|
-
}) => {
|
|
22
|
-
type: string;
|
|
23
|
-
payload: {
|
|
24
|
-
transactionItemId: string | undefined;
|
|
25
|
-
productId: string | undefined;
|
|
26
|
-
qty: number | undefined;
|
|
27
|
-
};
|
|
28
|
-
};
|
|
29
|
-
const NavigateBackAction: () => {
|
|
30
|
-
type: string;
|
|
31
|
-
};
|
|
32
|
-
const NavigateToAction: (path: string, productId?: string, transactionItemId?: string) => {
|
|
33
|
-
type: string;
|
|
34
|
-
payload: {
|
|
35
|
-
path: string;
|
|
36
|
-
productId: string | undefined;
|
|
37
|
-
transactionItemId: string | undefined;
|
|
38
|
-
};
|
|
39
|
-
};
|
|
40
|
-
const NavigateToCatalogAction: () => {
|
|
41
|
-
type: string;
|
|
42
|
-
};
|
|
43
|
-
const NavigateToShoppingCartAction: () => {
|
|
44
|
-
type: string;
|
|
45
|
-
};
|
|
46
|
-
const ApplyProductConfigurationAction: () => {
|
|
47
|
-
type: string;
|
|
48
|
-
};
|
|
49
|
-
const RemoteApplyAction: () => {
|
|
50
|
-
type: string;
|
|
51
|
-
};
|
|
52
|
-
const RemoteCancelAction: () => {
|
|
53
|
-
type: string;
|
|
54
|
-
};
|
|
55
|
-
const SwitchObjectAction: (payload: {
|
|
56
|
-
id: string;
|
|
57
|
-
}) => {
|
|
58
|
-
type: string;
|
|
59
|
-
payload: {
|
|
60
|
-
id: string;
|
|
61
|
-
};
|
|
62
|
-
};
|
|
63
|
-
const OpenGuidedSelling: (payload: {
|
|
64
|
-
guidedSellingId: string;
|
|
65
|
-
}) => {
|
|
66
|
-
type: string;
|
|
67
|
-
payload: {
|
|
68
|
-
guidedSellingId: string;
|
|
69
|
-
};
|
|
70
|
-
};
|
|
71
|
-
const CloseGuidedSelling: (payload?: {
|
|
72
|
-
keepState?: boolean;
|
|
73
|
-
}) => {
|
|
74
|
-
type: string;
|
|
75
|
-
payload: {
|
|
76
|
-
keepState?: boolean | undefined;
|
|
77
|
-
} | undefined;
|
|
78
|
-
};
|
|
79
|
-
const SubmitGuidedSelling: (payload: {
|
|
80
|
-
result: Record<string, any>;
|
|
81
|
-
}) => {
|
|
82
|
-
type: string;
|
|
83
|
-
payload: {
|
|
84
|
-
result: Record<string, any>;
|
|
85
|
-
};
|
|
86
|
-
};
|
|
87
|
-
const OpenDialog: (dialog: string) => {
|
|
88
|
-
type: string;
|
|
89
|
-
payload: {
|
|
90
|
-
dialog: string;
|
|
91
|
-
};
|
|
92
|
-
};
|
|
93
|
-
}
|
|
94
|
-
export declare namespace CmsAction {
|
|
95
|
-
const GO_TO_PAGE = "[CMS]_GO_TO_PAGE";
|
|
96
|
-
const UPDATE_CUSTOMIZATION = "[CMS]_UPDATE_CUSTOMIZATION";
|
|
97
|
-
const SHOW_OVERLAY = "[CMS]_SHOW_OVERLAY";
|
|
98
|
-
const HIDE_OVERLAY = "[CMS]_HIDE_OVERLAY";
|
|
99
|
-
const HIDE_ALL_OVERLAYS = "[CMS]_HIDE_ALL_OVERLAYS";
|
|
100
|
-
/**
|
|
101
|
-
* Navigate UI definition to a specific page
|
|
102
|
-
*
|
|
103
|
-
* @param pageName name of the page
|
|
104
|
-
*/
|
|
105
|
-
const GoToPage: (pageName: string) => {
|
|
106
|
-
type: string;
|
|
107
|
-
payload: {
|
|
108
|
-
pageName: string;
|
|
109
|
-
};
|
|
110
|
-
};
|
|
111
|
-
/**
|
|
112
|
-
* Update UI definition customization state
|
|
113
|
-
*
|
|
114
|
-
* @param pageName name of the page
|
|
115
|
-
*/
|
|
116
|
-
const UpdateCustomization: (value: any) => {
|
|
117
|
-
type: string;
|
|
118
|
-
payload: {
|
|
119
|
-
value: any;
|
|
120
|
-
};
|
|
121
|
-
};
|
|
122
|
-
/**
|
|
123
|
-
* Show an Overlay on the selected page
|
|
124
|
-
*
|
|
125
|
-
* @param name - name of the overlay
|
|
126
|
-
* @returns void
|
|
127
|
-
*/
|
|
128
|
-
const ShowOverlay: (name: string) => {
|
|
129
|
-
type: string;
|
|
130
|
-
payload: {
|
|
131
|
-
name: string;
|
|
132
|
-
};
|
|
133
|
-
};
|
|
134
|
-
/**
|
|
135
|
-
* Hide an Overlay on the selected page
|
|
136
|
-
*
|
|
137
|
-
* @param name - name of the overlay
|
|
138
|
-
* @returns void
|
|
139
|
-
*/
|
|
140
|
-
const HideOverlay: (name: string) => {
|
|
141
|
-
type: string;
|
|
142
|
-
payload: {
|
|
143
|
-
name: string;
|
|
144
|
-
};
|
|
145
|
-
};
|
|
146
|
-
/**
|
|
147
|
-
* Hide all Overlays on the selected page
|
|
148
|
-
*
|
|
149
|
-
* @returns void
|
|
150
|
-
*/
|
|
151
|
-
const HideAllOverlays: () => {
|
|
152
|
-
type: string;
|
|
153
|
-
};
|
|
154
|
-
}
|
package/cms/cms.default.d.ts
DELETED
package/cms/cms.elements.d.ts
DELETED
package/cms/cms.layouts.d.ts
DELETED
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { ChangeDetectorRef, OnDestroy } from '@angular/core';
|
|
2
|
-
import { Observable } from 'rxjs';
|
|
3
|
-
import { RuntimeEditorService } from '../../modules/runtime/services/runtime-editor.service';
|
|
4
|
-
import { RuntimeService } from '../../modules/runtime/services/runtime.service';
|
|
5
|
-
import { ElementContextService } from '../../services/element-context.service';
|
|
6
|
-
import { ElementMetadata } from '../../types/common.types';
|
|
7
|
-
import * as i0 from "@angular/core";
|
|
8
|
-
export declare class ElementChildrenComponent implements OnDestroy {
|
|
9
|
-
private elementContext;
|
|
10
|
-
private runtimeService;
|
|
11
|
-
private runtimeEditorService;
|
|
12
|
-
private cdr;
|
|
13
|
-
filter?: (elements: ElementMetadata[]) => ElementMetadata[];
|
|
14
|
-
metadata$: Observable<ElementMetadata | undefined>;
|
|
15
|
-
dragMode$: Observable<boolean>;
|
|
16
|
-
private destroyed$;
|
|
17
|
-
constructor(elementContext: ElementContextService, runtimeService: RuntimeService, runtimeEditorService: RuntimeEditorService, cdr: ChangeDetectorRef);
|
|
18
|
-
ngOnDestroy(): void;
|
|
19
|
-
getFilteredChildren(elements: ElementMetadata[]): ElementMetadata[];
|
|
20
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ElementChildrenComponent, never>;
|
|
21
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ElementChildrenComponent, "element-children", never, { "filter": "filter"; }, {}, never, never, false, never>;
|
|
22
|
-
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "./element-children.component";
|
|
3
|
-
import * as i2 from "@angular/common";
|
|
4
|
-
import * as i3 from "@veloceapps/components";
|
|
5
|
-
import * as i4 from "../element-renderer/element-renderer.module";
|
|
6
|
-
import * as i5 from "../element-drop-handle/element-drop-handle.module";
|
|
7
|
-
export declare class ElementChildrenModule {
|
|
8
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ElementChildrenModule, never>;
|
|
9
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<ElementChildrenModule, [typeof i1.ElementChildrenComponent], [typeof i2.CommonModule, typeof i3.LetDirectiveModule, typeof i4.ElementRendererModule, typeof i5.ElementDropHandleModule], [typeof i1.ElementChildrenComponent]>;
|
|
10
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<ElementChildrenModule>;
|
|
11
|
-
}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { DndDropEvent } from 'ngx-drag-drop';
|
|
2
|
-
import { RuntimeEditorService } from '../../modules/runtime/services/runtime-editor.service';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class ElementDropHandleComponent {
|
|
5
|
-
private runtimeService;
|
|
6
|
-
index: number;
|
|
7
|
-
parentPath: string;
|
|
8
|
-
constructor(runtimeService: RuntimeEditorService);
|
|
9
|
-
handleDrop(e: DndDropEvent): void;
|
|
10
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ElementDropHandleComponent, never>;
|
|
11
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ElementDropHandleComponent, "vl-element-drop-handle", never, { "index": "index"; "parentPath": "parentPath"; }, {}, never, never, false, never>;
|
|
12
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "./element-drop-handle.component";
|
|
3
|
-
import * as i2 from "@angular/common";
|
|
4
|
-
import * as i3 from "ngx-drag-drop";
|
|
5
|
-
export declare class ElementDropHandleModule {
|
|
6
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ElementDropHandleModule, never>;
|
|
7
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<ElementDropHandleModule, [typeof i1.ElementDropHandleComponent], [typeof i2.CommonModule, typeof i3.DndModule], [typeof i1.ElementDropHandleComponent]>;
|
|
8
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<ElementDropHandleModule>;
|
|
9
|
-
}
|