@veloceapps/sdk 5.0.13-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/README.md +3 -0
- package/bundles/veloceapps-sdk-cms.umd.js +1975 -0
- package/bundles/veloceapps-sdk-cms.umd.js.map +1 -0
- package/bundles/veloceapps-sdk-core.umd.js +1610 -0
- package/bundles/veloceapps-sdk-core.umd.js.map +1 -0
- package/bundles/veloceapps-sdk-runtime.umd.js +4349 -0
- package/bundles/veloceapps-sdk-runtime.umd.js.map +1 -0
- package/bundles/veloceapps-sdk.umd.js +3307 -0
- package/bundles/veloceapps-sdk.umd.js.map +1 -0
- package/cms/cms.actions.d.ts +28 -0
- package/cms/cms.default.d.ts +5 -0
- package/cms/cms.elements.d.ts +4 -0
- package/cms/components/element-children/element-children.component.d.ts +10 -0
- package/cms/components/element-children/element-children.module.d.ts +8 -0
- package/cms/components/element-renderer/element-renderer.component.d.ts +36 -0
- package/cms/components/element-renderer/element-renderer.module.d.ts +7 -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 +2 -0
- package/cms/components/preview/preview.component.d.ts +34 -0
- package/cms/components/preview/preview.module.d.ts +11 -0
- package/cms/decorators/element.decorator.d.ts +2 -0
- package/cms/decorators/index.d.ts +1 -0
- package/cms/directives/custom-template.directive.d.ts +12 -0
- package/cms/engine/models/entity.d.ts +11 -0
- package/cms/engine/models/plugin.d.ts +5 -0
- package/cms/index.d.ts +11 -0
- package/cms/injection-tokens.d.ts +11 -0
- package/cms/launcher.module.d.ts +10 -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.component.d.ts +26 -0
- package/cms/modules/federated/federated.module.d.ts +9 -0
- package/cms/modules/federated/federated.types.d.ts +30 -0
- package/cms/modules/federated/federated.utils.d.ts +1 -0
- package/cms/package.json +10 -0
- package/cms/plugins/configuration.plugin.d.ts +23 -0
- package/cms/plugins/io.plugin.d.ts +9 -0
- package/cms/plugins/script.plugin.d.ts +13 -0
- package/cms/services/dynamic-module.service.d.ts +15 -0
- package/cms/services/element-context.service.d.ts +8 -0
- package/cms/services/index.d.ts +3 -0
- package/cms/services/integration.state.d.ts +17 -0
- package/cms/services/io-provider.service.d.ts +15 -0
- package/cms/services/launcher.service.d.ts +18 -0
- package/cms/services/templates.service.d.ts +14 -0
- package/cms/types/common.types.d.ts +108 -0
- package/cms/types/compilation.types.d.ts +6 -0
- package/cms/types/configuration.types.d.ts +20 -0
- package/cms/types/elements.types.d.ts +2 -0
- package/cms/types/index.d.ts +7 -0
- package/cms/types/integration.types.d.ts +4 -0
- package/cms/types/metrics.types.d.ts +5 -0
- package/cms/types/path.types.d.ts +11 -0
- package/cms/utils/element.utils.d.ts +17 -0
- package/cms/utils/elements-resolver.d.ts +24 -0
- package/cms/utils/index.d.ts +3 -0
- package/cms/utils/path.utils.d.ts +5 -0
- package/cms/veloceapps-sdk-cms.d.ts +5 -0
- package/cms/vendor-map.d.ts +708 -0
- package/core/core.module.d.ts +8 -0
- package/core/index.d.ts +6 -0
- package/core/modules/configuration/configuration.module.d.ts +7 -0
- package/core/modules/configuration/helpers.d.ts +3 -0
- package/core/modules/configuration/index.d.ts +4 -0
- package/core/modules/configuration/services/configuration-runtime.service.d.ts +29 -0
- package/core/modules/configuration/services/configuration.service.d.ts +45 -0
- package/core/modules/configuration/services/runtime-context.service.d.ts +12 -0
- package/core/modules/configuration/types/configuration-runtime.types.d.ts +7 -0
- package/core/modules/flow-configuration/flow-configuration.module.d.ts +6 -0
- package/core/modules/flow-configuration/index.d.ts +4 -0
- package/core/modules/flow-configuration/services/flow-configuration.service.d.ts +38 -0
- package/core/modules/flow-configuration/services/flow-update.service.d.ts +12 -0
- package/core/modules/flow-configuration/types/update.types.d.ts +12 -0
- package/core/modules/index.d.ts +2 -0
- package/core/package.json +10 -0
- package/core/services/context.service.d.ts +18 -0
- package/core/services/index.d.ts +3 -0
- package/core/services/product-images.service.d.ts +12 -0
- package/core/services/quote-draft.service.d.ts +62 -0
- package/core/types/index.d.ts +3 -0
- package/core/types/quote-states.types.d.ts +6 -0
- package/core/types/runtime.types.d.ts +31 -0
- package/core/types/ui-definition.types.d.ts +26 -0
- package/core/utils/index.d.ts +2 -0
- package/core/utils/line-item.utils.d.ts +26 -0
- package/core/utils/line-item.worker.d.ts +12 -0
- package/core/veloceapps-sdk-core.d.ts +5 -0
- package/esm2015/cms/cms.actions.js +47 -0
- package/esm2015/cms/cms.default.js +6 -0
- package/esm2015/cms/cms.elements.js +29 -0
- package/esm2015/cms/components/element-children/element-children.component.js +23 -0
- package/esm2015/cms/components/element-children/element-children.module.js +18 -0
- package/esm2015/cms/components/element-renderer/element-renderer.component.js +169 -0
- package/esm2015/cms/components/element-renderer/element-renderer.module.js +16 -0
- package/esm2015/cms/components/element.component.js +44 -0
- package/esm2015/cms/components/index.js +2 -0
- package/esm2015/cms/components/plugin.component.js +16 -0
- package/esm2015/cms/components/preview/index.js +3 -0
- package/esm2015/cms/components/preview/preview.component.js +108 -0
- package/esm2015/cms/components/preview/preview.module.js +23 -0
- package/esm2015/cms/decorators/element.decorator.js +6 -0
- package/esm2015/cms/decorators/index.js +2 -0
- package/esm2015/cms/directives/custom-template.directive.js +25 -0
- package/esm2015/cms/engine/models/entity.js +18 -0
- package/esm2015/cms/engine/models/plugin.js +6 -0
- package/esm2015/cms/index.js +11 -0
- package/esm2015/cms/injection-tokens.js +8 -0
- package/esm2015/cms/launcher.module.js +23 -0
- package/esm2015/cms/modules/federated/default-options.js +5 -0
- package/esm2015/cms/modules/federated/export.js +2 -0
- package/esm2015/cms/modules/federated/federated.component.js +82 -0
- package/esm2015/cms/modules/federated/federated.module.js +19 -0
- package/esm2015/cms/modules/federated/federated.types.js +2 -0
- package/esm2015/cms/modules/federated/federated.utils.js +37 -0
- package/esm2015/cms/plugins/configuration.plugin.js +98 -0
- package/esm2015/cms/plugins/io.plugin.js +37 -0
- package/esm2015/cms/plugins/script.plugin.js +66 -0
- package/esm2015/cms/services/dynamic-module.service.js +33 -0
- package/esm2015/cms/services/element-context.service.js +10 -0
- package/esm2015/cms/services/index.js +4 -0
- package/esm2015/cms/services/integration.state.js +40 -0
- package/esm2015/cms/services/io-provider.service.js +51 -0
- package/esm2015/cms/services/launcher.service.js +57 -0
- package/esm2015/cms/services/templates.service.js +31 -0
- package/esm2015/cms/types/common.types.js +2 -0
- package/esm2015/cms/types/compilation.types.js +2 -0
- package/esm2015/cms/types/configuration.types.js +2 -0
- package/esm2015/cms/types/elements.types.js +2 -0
- package/esm2015/cms/types/index.js +8 -0
- package/esm2015/cms/types/integration.types.js +2 -0
- package/esm2015/cms/types/metrics.types.js +2 -0
- package/esm2015/cms/types/path.types.js +2 -0
- package/esm2015/cms/utils/element.utils.js +161 -0
- package/esm2015/cms/utils/elements-resolver.js +147 -0
- package/esm2015/cms/utils/index.js +4 -0
- package/esm2015/cms/utils/path.utils.js +67 -0
- package/esm2015/cms/veloceapps-sdk-cms.js +5 -0
- package/esm2015/cms/vendor-map.js +34 -0
- package/esm2015/core/core.module.js +18 -0
- package/esm2015/core/index.js +7 -0
- package/esm2015/core/modules/configuration/configuration.module.js +34 -0
- package/esm2015/core/modules/configuration/helpers.js +10 -0
- package/esm2015/core/modules/configuration/index.js +5 -0
- package/esm2015/core/modules/configuration/services/configuration-runtime.service.js +92 -0
- package/esm2015/core/modules/configuration/services/configuration.service.js +173 -0
- package/esm2015/core/modules/configuration/services/runtime-context.service.js +51 -0
- package/esm2015/core/modules/configuration/types/configuration-runtime.types.js +2 -0
- package/esm2015/core/modules/flow-configuration/flow-configuration.module.js +18 -0
- package/esm2015/core/modules/flow-configuration/index.js +5 -0
- package/esm2015/core/modules/flow-configuration/services/flow-configuration.service.js +135 -0
- package/esm2015/core/modules/flow-configuration/services/flow-update.service.js +129 -0
- package/esm2015/core/modules/flow-configuration/types/update.types.js +2 -0
- package/esm2015/core/modules/index.js +3 -0
- package/esm2015/core/services/context.service.js +50 -0
- package/esm2015/core/services/index.js +4 -0
- package/esm2015/core/services/product-images.service.js +30 -0
- package/esm2015/core/services/quote-draft.service.js +207 -0
- package/esm2015/core/types/index.js +4 -0
- package/esm2015/core/types/quote-states.types.js +2 -0
- package/esm2015/core/types/runtime.types.js +16 -0
- package/esm2015/core/types/ui-definition.types.js +2 -0
- package/esm2015/core/utils/index.js +3 -0
- package/esm2015/core/utils/line-item.utils.js +100 -0
- package/esm2015/core/utils/line-item.worker.js +19 -0
- package/esm2015/core/veloceapps-sdk-core.js +5 -0
- package/esm2015/index.js +2 -0
- package/esm2015/runtime/components/component-preview/component-preview.component.js +125 -0
- package/esm2015/runtime/components/index.js +5 -0
- package/esm2015/runtime/components/section-renderer/section-renderer.component.js +71 -0
- package/esm2015/runtime/components/ui-runtime/runtime.component.js +429 -0
- package/esm2015/runtime/components/ui-runtime-preview/runtime-preview.component.js +109 -0
- package/esm2015/runtime/execution/components/children-placeholder/children-placeholder.component.js +68 -0
- package/esm2015/runtime/execution/components/context-provider/context-provider.component.js +36 -0
- package/esm2015/runtime/execution/components/execution-section-renderer/execution-section-renderer.component.js +72 -0
- package/esm2015/runtime/execution/components/federated/federated.component.js +81 -0
- package/esm2015/runtime/execution/components/velo-attribute/velo-attribute.component.js +65 -0
- package/esm2015/runtime/execution/components/velo-multiselect/velo-multiselect.component.js +136 -0
- package/esm2015/runtime/execution/components/velo-port-checkbox/velo-port-checkbox.component.js +80 -0
- package/esm2015/runtime/execution/components/velo-port-dropdown/velo-port-dropdown.component.js +101 -0
- package/esm2015/runtime/execution/components/velo-port-radio/velo-port-radio.component.js +150 -0
- package/esm2015/runtime/execution/components/velo-type/velo-type.component.js +121 -0
- package/esm2015/runtime/execution/directives/section-script.directive.js +242 -0
- package/esm2015/runtime/execution/directives/sf-query.directive.js +34 -0
- package/esm2015/runtime/execution/directives/velo-attribute.directive.js +86 -0
- package/esm2015/runtime/execution/directives/velo-port.directive.js +373 -0
- package/esm2015/runtime/execution/directives/vl-approval.directive.js +22 -0
- package/esm2015/runtime/execution/directives/vl-document-attachments.directive.js +35 -0
- package/esm2015/runtime/execution/directives/vl-document-templates.directive.js +59 -0
- package/esm2015/runtime/execution/directives/vl-quote.directive.js +41 -0
- package/esm2015/runtime/execution/directives/vl-ramp.directive.js +51 -0
- package/esm2015/runtime/execution/runtime-execution.module.js +163 -0
- package/esm2015/runtime/execution/utils/federated.util.js +37 -0
- package/esm2015/runtime/index.js +5 -0
- package/esm2015/runtime/runtime.module.js +104 -0
- package/esm2015/runtime/services/cart.service.js +27 -0
- package/esm2015/runtime/services/collapsible-state.service.js +34 -0
- package/esm2015/runtime/services/configuration.service.js +102 -0
- package/esm2015/runtime/services/current-state.service.js +17 -0
- package/esm2015/runtime/services/form-scope.service.js +30 -0
- package/esm2015/runtime/services/index.js +4 -0
- package/esm2015/runtime/services/product-model-cache.service.js +30 -0
- package/esm2015/runtime/services/runtime-context.service.js +56 -0
- package/esm2015/runtime/services/runtime-form.service.js +224 -0
- package/esm2015/runtime/services/runtime.service.js +108 -0
- package/esm2015/runtime/services/section-helper.service.js +27 -0
- package/esm2015/runtime/services/section-scope.service.js +36 -0
- package/esm2015/runtime/services/section-store.service.js +22 -0
- package/esm2015/runtime/services/section.service.js +124 -0
- package/esm2015/runtime/types/bound-data.types.js +7 -0
- package/esm2015/runtime/types/index.js +2 -0
- package/esm2015/runtime/types/runtime.types.js +2 -0
- package/esm2015/runtime/types/script-registry.types.js +51 -0
- package/esm2015/runtime/utils/line-item.util.js +273 -0
- package/esm2015/runtime/utils/section.utils.js +26 -0
- package/esm2015/runtime/utils/sections-binder.helper.js +105 -0
- package/esm2015/runtime/veloceapps-sdk-runtime.js +5 -0
- package/esm2015/src/components/dialog/dialog.component.js +30 -0
- package/esm2015/src/components/dialog/dialog.module.js +19 -0
- package/esm2015/src/components/dialog/dialog.types.js +2 -0
- package/esm2015/src/components/doc-gen/doc-gen.component.js +109 -0
- package/esm2015/src/components/doc-gen/doc-gen.module.js +19 -0
- package/esm2015/src/components/header/cart-overlay/cart-preview.component.js +122 -0
- package/esm2015/src/components/header/cart-overlay/cart-preview.module.js +46 -0
- package/esm2015/src/components/header/header.component.js +310 -0
- package/esm2015/src/components/header/header.module.js +50 -0
- package/esm2015/src/components/header/header.types.js +2 -0
- package/esm2015/src/components/header/metrics/index.js +2 -0
- package/esm2015/src/components/header/metrics/metrics.component.js +216 -0
- package/esm2015/src/components/header/metrics/metrics.definitions.js +9 -0
- package/esm2015/src/components/header/metrics/metrics.module.js +67 -0
- package/esm2015/src/constants.js +2 -0
- package/esm2015/src/flow-routing.module.js +137 -0
- package/esm2015/src/flow.component.js +45 -0
- package/esm2015/src/flow.module.js +60 -0
- package/esm2015/src/guards/context.guard.js +84 -0
- package/esm2015/src/guards/index.js +2 -0
- package/esm2015/src/guards/product-unload.guard.js +43 -0
- package/esm2015/src/guards/root.guard.js +41 -0
- package/esm2015/src/index.js +7 -0
- package/esm2015/src/pages/catalog/catalog.component.js +117 -0
- package/esm2015/src/pages/catalog/catalog.module.js +20 -0
- package/esm2015/src/pages/debug/debug.component.js +61 -0
- package/esm2015/src/pages/debug/debug.module.js +48 -0
- package/esm2015/src/pages/empty-account/empty-account.component.js +17 -0
- package/esm2015/src/pages/empty-account/empty-account.module.js +20 -0
- package/esm2015/src/pages/legacy-product/legacy-product.component.js +132 -0
- package/esm2015/src/pages/legacy-product/legacy-product.module.js +21 -0
- package/esm2015/src/pages/product/product.component.js +108 -0
- package/esm2015/src/pages/product/product.module.js +20 -0
- package/esm2015/src/pages/record-not-found/record-not-found.component.js +29 -0
- package/esm2015/src/pages/record-not-found/record-not-found.module.js +20 -0
- package/esm2015/src/pages/remote/remote.component.js +353 -0
- package/esm2015/src/pages/remote/remote.module.js +20 -0
- package/esm2015/src/pages/remote/remote.types.js +2 -0
- package/esm2015/src/pages/shopping-cart/shopping-cart.component.js +117 -0
- package/esm2015/src/pages/shopping-cart/shopping-cart.module.js +20 -0
- package/esm2015/src/resolvers/flow.resolver.js +62 -0
- package/esm2015/src/resolvers/quote.resolver.js +74 -0
- package/esm2015/src/services/doc-gen.service.js +33 -0
- package/esm2015/src/services/flow-dialog.service.js +123 -0
- package/esm2015/src/services/flow-router.service.js +136 -0
- package/esm2015/src/services/flow.service.js +77 -0
- package/esm2015/src/services/index.js +2 -0
- package/esm2015/src/types/context-route.types.js +2 -0
- package/esm2015/src/types/flow-customization.types.js +3 -0
- package/esm2015/src/types/index.js +3 -0
- package/esm2015/src/types/route.types.js +2 -0
- package/esm2015/src/utils/flow.utils.js +22 -0
- package/esm2015/src/utils/index.js +2 -0
- package/esm2015/veloceapps-sdk.js +5 -0
- package/fesm2015/veloceapps-sdk-cms.js +1443 -0
- package/fesm2015/veloceapps-sdk-cms.js.map +1 -0
- package/fesm2015/veloceapps-sdk-core.js +1035 -0
- package/fesm2015/veloceapps-sdk-core.js.map +1 -0
- package/fesm2015/veloceapps-sdk-runtime.js +3896 -0
- package/fesm2015/veloceapps-sdk-runtime.js.map +1 -0
- package/fesm2015/veloceapps-sdk.js +2758 -0
- package/fesm2015/veloceapps-sdk.js.map +1 -0
- package/index.d.ts +1 -0
- package/package.json +50 -0
- package/runtime/components/component-preview/component-preview.component.d.ts +27 -0
- package/runtime/components/index.d.ts +4 -0
- package/runtime/components/section-renderer/section-renderer.component.d.ts +25 -0
- package/runtime/components/ui-runtime/runtime.component.d.ts +53 -0
- package/runtime/components/ui-runtime-preview/runtime-preview.component.d.ts +27 -0
- package/runtime/execution/components/children-placeholder/children-placeholder.component.d.ts +30 -0
- package/runtime/execution/components/context-provider/context-provider.component.d.ts +14 -0
- package/runtime/execution/components/execution-section-renderer/execution-section-renderer.component.d.ts +25 -0
- package/runtime/execution/components/federated/federated.component.d.ts +36 -0
- package/runtime/execution/components/velo-attribute/velo-attribute.component.d.ts +19 -0
- package/runtime/execution/components/velo-multiselect/velo-multiselect.component.d.ts +35 -0
- package/runtime/execution/components/velo-port-checkbox/velo-port-checkbox.component.d.ts +22 -0
- package/runtime/execution/components/velo-port-dropdown/velo-port-dropdown.component.d.ts +22 -0
- package/runtime/execution/components/velo-port-radio/velo-port-radio.component.d.ts +28 -0
- package/runtime/execution/components/velo-type/velo-type.component.d.ts +31 -0
- package/runtime/execution/directives/section-script.directive.d.ts +59 -0
- package/runtime/execution/directives/sf-query.directive.d.ts +15 -0
- package/runtime/execution/directives/velo-attribute.directive.d.ts +26 -0
- package/runtime/execution/directives/velo-port.directive.d.ts +74 -0
- package/runtime/execution/directives/vl-approval.directive.d.ts +10 -0
- package/runtime/execution/directives/vl-document-attachments.directive.d.ts +15 -0
- package/runtime/execution/directives/vl-document-templates.directive.d.ts +33 -0
- package/runtime/execution/directives/vl-quote.directive.d.ts +14 -0
- package/runtime/execution/directives/vl-ramp.directive.d.ts +15 -0
- package/runtime/execution/runtime-execution.module.d.ts +27 -0
- package/runtime/execution/utils/federated.util.d.ts +6 -0
- package/runtime/index.d.ts +4 -0
- package/runtime/package.json +10 -0
- package/runtime/runtime.module.d.ts +18 -0
- package/runtime/services/cart.service.d.ts +15 -0
- package/runtime/services/collapsible-state.service.d.ts +15 -0
- package/runtime/services/configuration.service.d.ts +19 -0
- package/runtime/services/current-state.service.d.ts +8 -0
- package/runtime/services/form-scope.service.d.ts +20 -0
- package/runtime/services/index.d.ts +3 -0
- package/runtime/services/product-model-cache.service.d.ts +14 -0
- package/runtime/services/runtime-context.service.d.ts +16 -0
- package/runtime/services/runtime-form.service.d.ts +24 -0
- package/runtime/services/runtime.service.d.ts +43 -0
- package/runtime/services/section-helper.service.d.ts +8 -0
- package/runtime/services/section-scope.service.d.ts +14 -0
- package/runtime/services/section-store.service.d.ts +11 -0
- package/runtime/services/section.service.d.ts +30 -0
- package/runtime/types/bound-data.types.d.ts +13 -0
- package/runtime/types/index.d.ts +1 -0
- package/runtime/types/runtime.types.d.ts +19 -0
- package/runtime/types/script-registry.types.d.ts +13 -0
- package/runtime/utils/line-item.util.d.ts +34 -0
- package/runtime/utils/section.utils.d.ts +2 -0
- package/runtime/utils/sections-binder.helper.d.ts +16 -0
- package/runtime/veloceapps-sdk-runtime.d.ts +5 -0
- 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 +6 -0
- package/src/components/doc-gen/doc-gen.component.d.ts +26 -0
- package/src/components/doc-gen/doc-gen.module.d.ts +9 -0
- package/src/components/header/cart-overlay/cart-preview.component.d.ts +36 -0
- package/src/components/header/cart-overlay/cart-preview.module.d.ts +14 -0
- package/src/components/header/header.component.d.ts +64 -0
- package/src/components/header/header.module.d.ts +15 -0
- package/src/components/header/header.types.d.ts +20 -0
- package/src/components/header/metrics/index.d.ts +1 -0
- package/src/components/header/metrics/metrics.component.d.ts +49 -0
- package/src/components/header/metrics/metrics.definitions.d.ts +4 -0
- package/src/components/header/metrics/metrics.module.d.ts +17 -0
- package/src/constants.d.ts +1 -0
- package/src/flow-routing.module.d.ts +13 -0
- package/src/flow.component.d.ts +23 -0
- package/src/flow.module.d.ts +16 -0
- package/src/guards/context.guard.d.ts +19 -0
- package/src/guards/index.d.ts +1 -0
- package/src/guards/product-unload.guard.d.ts +17 -0
- package/src/guards/root.guard.d.ts +15 -0
- package/src/index.d.ts +6 -0
- package/src/pages/catalog/catalog.component.d.ts +32 -0
- package/src/pages/catalog/catalog.module.d.ts +10 -0
- package/src/pages/debug/debug.component.d.ts +25 -0
- package/src/pages/debug/debug.module.d.ts +14 -0
- package/src/pages/empty-account/empty-account.component.d.ts +5 -0
- package/src/pages/empty-account/empty-account.module.d.ts +10 -0
- package/src/pages/legacy-product/legacy-product.component.d.ts +37 -0
- package/src/pages/legacy-product/legacy-product.module.d.ts +10 -0
- package/src/pages/product/product.component.d.ts +32 -0
- package/src/pages/product/product.module.d.ts +10 -0
- package/src/pages/record-not-found/record-not-found.component.d.ts +11 -0
- package/src/pages/record-not-found/record-not-found.module.d.ts +9 -0
- package/src/pages/remote/remote.component.d.ts +47 -0
- package/src/pages/remote/remote.module.d.ts +10 -0
- package/src/pages/remote/remote.types.d.ts +4 -0
- package/src/pages/shopping-cart/shopping-cart.component.d.ts +32 -0
- package/src/pages/shopping-cart/shopping-cart.module.d.ts +10 -0
- package/src/resolvers/flow.resolver.d.ts +16 -0
- package/src/resolvers/quote.resolver.d.ts +20 -0
- package/src/services/doc-gen.service.d.ts +13 -0
- package/src/services/flow-dialog.service.d.ts +26 -0
- package/src/services/flow-router.service.d.ts +36 -0
- package/src/services/flow.service.d.ts +17 -0
- package/src/services/index.d.ts +1 -0
- package/src/types/context-route.types.d.ts +5 -0
- package/src/types/flow-customization.types.d.ts +11 -0
- package/src/types/index.d.ts +2 -0
- package/src/types/route.types.d.ts +9 -0
- package/src/utils/flow.utils.d.ts +8 -0
- package/src/utils/index.d.ts +1 -0
- package/veloceapps-sdk.d.ts +5 -0
@@ -0,0 +1,8 @@
|
|
1
|
+
import * as i0 from "@angular/core";
|
2
|
+
import * as i1 from "./modules/configuration/configuration.module";
|
3
|
+
import * as i2 from "./modules/flow-configuration/flow-configuration.module";
|
4
|
+
export declare class SdkCoreModule {
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SdkCoreModule, never>;
|
6
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<SdkCoreModule, never, [typeof i1.ConfigurationModule, typeof i2.FlowConfigurationModule], never>;
|
7
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<SdkCoreModule>;
|
8
|
+
}
|
package/core/index.d.ts
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
import * as i0 from "@angular/core";
|
2
|
+
import * as i1 from "@veloceapps/components";
|
3
|
+
export declare class ConfigurationModule {
|
4
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ConfigurationModule, never>;
|
5
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ConfigurationModule, never, [typeof i1.ConfirmationDialogModule], never>;
|
6
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<ConfigurationModule>;
|
7
|
+
}
|
@@ -0,0 +1,29 @@
|
|
1
|
+
import { ConfigurationApiService } from '@veloceapps/api';
|
2
|
+
import { LineItem, RuntimeModel } from '@veloceapps/core';
|
3
|
+
import { Observable } from 'rxjs';
|
4
|
+
import { ContextService } from '../../../services';
|
5
|
+
import { RuntimeContext, UIDefinition, UIDefinitionProps } from '../../../types';
|
6
|
+
import { RuntimeInitializationProps } from '../types/configuration-runtime.types';
|
7
|
+
import { RuntimeContextService } from './runtime-context.service';
|
8
|
+
import * as i0 from "@angular/core";
|
9
|
+
export declare class ConfigurationRuntimeService {
|
10
|
+
private apiService;
|
11
|
+
private contextService;
|
12
|
+
private runtimeContextService;
|
13
|
+
private _runtimeContext?;
|
14
|
+
private _assets?;
|
15
|
+
private _isInitialized;
|
16
|
+
initializationProps?: RuntimeInitializationProps;
|
17
|
+
uiDefinitionProperties: UIDefinitionProps;
|
18
|
+
constructor(apiService: ConfigurationApiService, contextService: ContextService, runtimeContextService: RuntimeContextService);
|
19
|
+
reset(): void;
|
20
|
+
initTestMode(modelId: string, uiDefinition: UIDefinition): any;
|
21
|
+
init(props: RuntimeInitializationProps): Observable<RuntimeContext | undefined>;
|
22
|
+
private id15to18;
|
23
|
+
getAsset(lineItem: LineItem): LineItem | undefined;
|
24
|
+
get isInitialized(): boolean;
|
25
|
+
get runtimeModel(): RuntimeModel | undefined;
|
26
|
+
get runtimeContext(): RuntimeContext | undefined;
|
27
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ConfigurationRuntimeService, never>;
|
28
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ConfigurationRuntimeService>;
|
29
|
+
}
|
@@ -0,0 +1,45 @@
|
|
1
|
+
import { ConfigurationApiService } from '@veloceapps/api';
|
2
|
+
import { Charge, CompiledPricePlan, ConfigurationContext, LineItem, RuntimeModel } from '@veloceapps/core';
|
3
|
+
import { Dictionary } from 'lodash';
|
4
|
+
import { MessageService } from 'primeng/api';
|
5
|
+
import { DialogService } from 'primeng/dynamicdialog';
|
6
|
+
import { Observable } from 'rxjs';
|
7
|
+
import { ContextService, QuoteDraftService } from '../../../services';
|
8
|
+
import { QuoteStates, RuntimeContext } from '../../../types';
|
9
|
+
import { ConfigurationRuntimeService } from './configuration-runtime.service';
|
10
|
+
import * as i0 from "@angular/core";
|
11
|
+
export declare class ConfigurationService {
|
12
|
+
private quoteDraftService;
|
13
|
+
private runtimeService;
|
14
|
+
private contextService;
|
15
|
+
private configurationApiService;
|
16
|
+
private messageService;
|
17
|
+
private dialogService;
|
18
|
+
private mode;
|
19
|
+
private states;
|
20
|
+
private lineItem;
|
21
|
+
private charges;
|
22
|
+
private pricePlans;
|
23
|
+
hasUnsavedChanges: boolean;
|
24
|
+
constructor(quoteDraftService: QuoteDraftService, runtimeService: ConfigurationRuntimeService, contextService: ContextService, configurationApiService: ConfigurationApiService, messageService: MessageService, dialogService: DialogService);
|
25
|
+
reset(): void;
|
26
|
+
patch$(lineItem: LineItem): Observable<LineItem>;
|
27
|
+
patch(lineItem: LineItem): void;
|
28
|
+
updateCurrentStates(update: Partial<QuoteStates>): void;
|
29
|
+
get(): Observable<LineItem | undefined>;
|
30
|
+
getSnapshot(): LineItem | undefined;
|
31
|
+
getRuntimeModel(): RuntimeModel | undefined;
|
32
|
+
getRuntimeContext(): RuntimeContext | undefined;
|
33
|
+
get contextSnapshot(): ConfigurationContext;
|
34
|
+
get context$(): Observable<ConfigurationContext>;
|
35
|
+
get charges$(): Observable<Dictionary<Charge>>;
|
36
|
+
get chargesSnapshot(): Dictionary<Charge>;
|
37
|
+
get pricePlans$(): Observable<Dictionary<CompiledPricePlan>>;
|
38
|
+
get pricePlansSnapshot(): Dictionary<CompiledPricePlan>;
|
39
|
+
configure(): Observable<LineItem>;
|
40
|
+
configureExternal$(productId: string, qty?: number): Observable<LineItem>;
|
41
|
+
private createRequest;
|
42
|
+
private showInactiveProductsConfirmation;
|
43
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ConfigurationService, never>;
|
44
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ConfigurationService>;
|
45
|
+
}
|
@@ -0,0 +1,12 @@
|
|
1
|
+
import { ConfigurationApiService } from '@veloceapps/api';
|
2
|
+
import { Observable } from 'rxjs';
|
3
|
+
import { RuntimeContext } from '../../../types';
|
4
|
+
import * as i0 from "@angular/core";
|
5
|
+
export declare class RuntimeContextService {
|
6
|
+
private configurationApiService;
|
7
|
+
constructor(configurationApiService: ConfigurationApiService);
|
8
|
+
getRuntimeContext(productId: string, offeringId?: string): Observable<RuntimeContext>;
|
9
|
+
private getUIDefinition;
|
10
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<RuntimeContextService, never>;
|
11
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<RuntimeContextService>;
|
12
|
+
}
|
@@ -0,0 +1,6 @@
|
|
1
|
+
import * as i0 from "@angular/core";
|
2
|
+
export declare class FlowConfigurationModule {
|
3
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FlowConfigurationModule, never>;
|
4
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<FlowConfigurationModule, never, never, never>;
|
5
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<FlowConfigurationModule>;
|
6
|
+
}
|
@@ -0,0 +1,38 @@
|
|
1
|
+
import { ProceduresApiService } from '@veloceapps/api';
|
2
|
+
import { Charge, CompiledPricePlan, ConfigurationContext, LineItem, QuoteDraft } from '@veloceapps/core';
|
3
|
+
import { Dictionary } from 'lodash';
|
4
|
+
import { Observable } from 'rxjs';
|
5
|
+
import { ContextService, QuoteDraftService } from '../../../services';
|
6
|
+
import { ConfigurationService } from '../../configuration';
|
7
|
+
import { FlowUpdateParams } from '../types/update.types';
|
8
|
+
import { FlowUpdateService } from './flow-update.service';
|
9
|
+
import * as i0 from "@angular/core";
|
10
|
+
export declare class FlowConfigurationService {
|
11
|
+
private proceduresApiService;
|
12
|
+
private contextService;
|
13
|
+
private quoteDraftService;
|
14
|
+
private updateService;
|
15
|
+
private configurationService;
|
16
|
+
constructor(proceduresApiService: ProceduresApiService, contextService: ContextService, quoteDraftService: QuoteDraftService, updateService: FlowUpdateService, configurationService: ConfigurationService);
|
17
|
+
calculate$(quoteDraft: QuoteDraft): Observable<void>;
|
18
|
+
calculate(quoteDraft: QuoteDraft): void;
|
19
|
+
update$(updates: FlowUpdateParams[]): Observable<QuoteDraft | null>;
|
20
|
+
update(updates: FlowUpdateParams[]): void;
|
21
|
+
revert$(lineItemId: string): Observable<QuoteDraft | null>;
|
22
|
+
revert(lineItemId: string): void;
|
23
|
+
delete$(ids: string[]): Observable<QuoteDraft | null>;
|
24
|
+
delete(ids: string[]): void;
|
25
|
+
addTerm$(term: LineItem): Observable<QuoteDraft | null>;
|
26
|
+
addToCart$(productId: string, qty?: number): Observable<QuoteDraft | null>;
|
27
|
+
get(): Observable<LineItem[]>;
|
28
|
+
getSnapshot(): LineItem[];
|
29
|
+
get charges$(): Observable<Dictionary<Charge>>;
|
30
|
+
get pricePlans$(): Observable<Dictionary<CompiledPricePlan>>;
|
31
|
+
get chargesSnapshot(): Dictionary<Charge>;
|
32
|
+
get pricePlansSnapshot(): Dictionary<CompiledPricePlan>;
|
33
|
+
get contextSnapshot(): ConfigurationContext;
|
34
|
+
get context$(): Observable<ConfigurationContext>;
|
35
|
+
private handleErrorAndBounceBack;
|
36
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FlowConfigurationService, never>;
|
37
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<FlowConfigurationService>;
|
38
|
+
}
|
@@ -0,0 +1,12 @@
|
|
1
|
+
import { LineItem } from '@veloceapps/core';
|
2
|
+
import { FlowUpdateParams } from '../types/update.types';
|
3
|
+
import * as i0 from "@angular/core";
|
4
|
+
export declare class FlowUpdateService {
|
5
|
+
update(rootLineItems: LineItem[], updates: FlowUpdateParams[]): void;
|
6
|
+
delete(lineItems: LineItem[], id: string): LineItem[];
|
7
|
+
private applyLineItemUpdate;
|
8
|
+
private applyChargeUpdate;
|
9
|
+
private applyChargeGroupUpdate;
|
10
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FlowUpdateService, never>;
|
11
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<FlowUpdateService>;
|
12
|
+
}
|
@@ -0,0 +1,12 @@
|
|
1
|
+
export declare type FlowUpdateDataType = 'LINEITEM' | 'CHARGE' | 'GROUP_CHARGE';
|
2
|
+
export declare type FlowUpdateAttributeType = 'QTY' | 'EFFECTIVE_START_DATE' | 'END_DATE' | 'PRICE_ADJUSTMENT' | 'LIST_PRICE_ADJUSTMENT';
|
3
|
+
export interface FlowUpdateParams {
|
4
|
+
id: string;
|
5
|
+
dataType: FlowUpdateDataType;
|
6
|
+
attributeType: FlowUpdateAttributeType;
|
7
|
+
newValue: any;
|
8
|
+
}
|
9
|
+
export interface FlowDeleteParams {
|
10
|
+
id: string;
|
11
|
+
dataType: FlowUpdateDataType;
|
12
|
+
}
|
@@ -0,0 +1,10 @@
|
|
1
|
+
{
|
2
|
+
"name": "@veloceapps/sdk/core",
|
3
|
+
"sideEffects": false,
|
4
|
+
"main": "../bundles/veloceapps-sdk-core.umd.js",
|
5
|
+
"module": "../fesm2015/veloceapps-sdk-core.js",
|
6
|
+
"es2015": "../fesm2015/veloceapps-sdk-core.js",
|
7
|
+
"esm2015": "../esm2015/core/veloceapps-sdk-core.js",
|
8
|
+
"fesm2015": "../fesm2015/veloceapps-sdk-core.js",
|
9
|
+
"typings": "veloceapps-sdk-core.d.ts"
|
10
|
+
}
|
@@ -0,0 +1,18 @@
|
|
1
|
+
import { ContextApiService } from '@veloceapps/api';
|
2
|
+
import { ConfigurationContext, ConfigurationContextMode } from '@veloceapps/core';
|
3
|
+
import { Observable } from 'rxjs';
|
4
|
+
import * as i0 from "@angular/core";
|
5
|
+
export declare class ContextService {
|
6
|
+
private contextApiService;
|
7
|
+
private context;
|
8
|
+
constructor(contextApiService: ContextApiService);
|
9
|
+
get isInitialized(): boolean;
|
10
|
+
resolve(): ConfigurationContext;
|
11
|
+
resolve$(): Observable<ConfigurationContext>;
|
12
|
+
create(headerId: string, mode: ConfigurationContextMode): Observable<ConfigurationContext>;
|
13
|
+
update(partialContext: Partial<ConfigurationContext>): ConfigurationContext;
|
14
|
+
set(context: ConfigurationContext): ConfigurationContext;
|
15
|
+
delete(): void;
|
16
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ContextService, never>;
|
17
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ContextService>;
|
18
|
+
}
|
@@ -0,0 +1,12 @@
|
|
1
|
+
import { ProductApiService } from '@veloceapps/api';
|
2
|
+
import { Observable } from 'rxjs';
|
3
|
+
import * as i0 from "@angular/core";
|
4
|
+
export declare class ProductImagesService {
|
5
|
+
private productApiService;
|
6
|
+
private imagesMap$;
|
7
|
+
constructor(productApiService: ProductApiService);
|
8
|
+
getImageUrl$(productId: string): Observable<string | null>;
|
9
|
+
private fetchProductImage;
|
10
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ProductImagesService, never>;
|
11
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ProductImagesService>;
|
12
|
+
}
|
@@ -0,0 +1,62 @@
|
|
1
|
+
import { PriceApiService, QuoteApiService } from '@veloceapps/api';
|
2
|
+
import { LineItem, PriceList, PriceSummary, QuoteDraft } from '@veloceapps/core';
|
3
|
+
import { Dictionary } from 'lodash';
|
4
|
+
import { Observable } from 'rxjs';
|
5
|
+
import { ContextService } from './context.service';
|
6
|
+
import * as i0 from "@angular/core";
|
7
|
+
export declare class QuoteDraftService {
|
8
|
+
private context;
|
9
|
+
private quoteApiService;
|
10
|
+
private priceApiService;
|
11
|
+
private quoteSubj$;
|
12
|
+
private resetSubj$;
|
13
|
+
private isInitializedSubj$;
|
14
|
+
private initialCurrentState;
|
15
|
+
get isInitialized(): boolean;
|
16
|
+
set isInitialized(value: boolean);
|
17
|
+
get hasAssets$(): Observable<boolean>;
|
18
|
+
get hasAssets(): boolean;
|
19
|
+
allPriceLists: PriceList[];
|
20
|
+
assetPriceLists: PriceList[];
|
21
|
+
hasUnsavedChanges: boolean;
|
22
|
+
reset$: Observable<boolean>;
|
23
|
+
activePriceList$: Observable<PriceList | null>;
|
24
|
+
constructor(context: ContextService, quoteApiService: QuoteApiService, priceApiService: PriceApiService);
|
25
|
+
reset(): void;
|
26
|
+
init(quoteId: string, params: Dictionary<string>): Observable<void>;
|
27
|
+
setCurrentLineItemState(lineItems: LineItem[]): void;
|
28
|
+
updateQuoteDraft(update: Partial<QuoteDraft>): void;
|
29
|
+
updateByPriceSummary(priceSummary: PriceSummary): void;
|
30
|
+
get quoteDraft$(): Observable<QuoteDraft>;
|
31
|
+
get quoteDraft(): QuoteDraft | null;
|
32
|
+
get quoteDraftForActivePriceList(): QuoteDraft | null;
|
33
|
+
get currentState$(): Observable<LineItem[]>;
|
34
|
+
get currentState(): LineItem[];
|
35
|
+
/**
|
36
|
+
* Stream of activeCurrentState
|
37
|
+
*/
|
38
|
+
get activeCurrentState$(): Observable<LineItem[]>;
|
39
|
+
/**
|
40
|
+
* activeCurrentState is currentState passed through additional filters
|
41
|
+
*/
|
42
|
+
get activeCurrentState(): LineItem[];
|
43
|
+
/**
|
44
|
+
* Stream of activeInitialState
|
45
|
+
*/
|
46
|
+
get activeInitialState$(): Observable<LineItem[]>;
|
47
|
+
/**
|
48
|
+
* activeInitialState is initialState passed through additional filters
|
49
|
+
*/
|
50
|
+
get activeInitialState(): LineItem[];
|
51
|
+
get isStandalone(): boolean;
|
52
|
+
get isStandalone$(): Observable<boolean>;
|
53
|
+
getInitialCurrentState(): LineItem[];
|
54
|
+
isEditMode$(): Observable<boolean>;
|
55
|
+
isEditMode(): boolean;
|
56
|
+
updateActivePriceList(priceListId: string): void;
|
57
|
+
private populateActivePriceLists$;
|
58
|
+
private filterByActivePriceList;
|
59
|
+
private markAsUpdated;
|
60
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<QuoteDraftService, never>;
|
61
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<QuoteDraftService>;
|
62
|
+
}
|
@@ -0,0 +1,31 @@
|
|
1
|
+
import { ContextProperties, RuntimeModel } from '@veloceapps/core';
|
2
|
+
import { UIDefinition } from './ui-definition.types';
|
3
|
+
export declare enum RuntimeMode {
|
4
|
+
TEST = 0,
|
5
|
+
PROD = 1
|
6
|
+
}
|
7
|
+
export declare enum RuntimeOperation {
|
8
|
+
INIT = "INIT",
|
9
|
+
UPDATE = "UPDATE"
|
10
|
+
}
|
11
|
+
export declare enum RuntimeStep {
|
12
|
+
START = "START",
|
13
|
+
UPDATE = "UPDATE"
|
14
|
+
}
|
15
|
+
export interface InvocationContext {
|
16
|
+
runtimeOperation?: RuntimeOperation;
|
17
|
+
runtimeStep?: RuntimeStep;
|
18
|
+
}
|
19
|
+
export interface RuntimeContext {
|
20
|
+
modelId: string;
|
21
|
+
runtimeMode: RuntimeMode;
|
22
|
+
runtimeModel: RuntimeModel;
|
23
|
+
uiDefinition?: UIDefinition;
|
24
|
+
productId?: string;
|
25
|
+
productName?: string;
|
26
|
+
productType?: string;
|
27
|
+
properties?: ContextProperties;
|
28
|
+
offeringId?: string;
|
29
|
+
offeringInstanceId?: string;
|
30
|
+
invocationContext?: InvocationContext;
|
31
|
+
}
|
@@ -0,0 +1,26 @@
|
|
1
|
+
export declare type UIDefinitionType = 'DEFAULT' | 'CONFIGURATION';
|
2
|
+
export declare type UIDefinitionMetadata = Omit<UIDefinition, 'children'>;
|
3
|
+
export declare type UIExternalsType = Record<string, string | number | boolean>;
|
4
|
+
export interface UIDefinitionProps {
|
5
|
+
suppressToastMessages?: boolean;
|
6
|
+
rootType?: string;
|
7
|
+
pricingEnabled?: boolean;
|
8
|
+
priceList?: string;
|
9
|
+
productId?: string;
|
10
|
+
}
|
11
|
+
export interface UIDefinition {
|
12
|
+
name: string;
|
13
|
+
type: UIDefinitionType;
|
14
|
+
children: UIElement[];
|
15
|
+
properties?: UIDefinitionProps;
|
16
|
+
primary: boolean;
|
17
|
+
version: number;
|
18
|
+
createdTimestamp: number;
|
19
|
+
externals?: UIExternalsType;
|
20
|
+
}
|
21
|
+
export interface UIElement {
|
22
|
+
children: UIElement[];
|
23
|
+
template?: string;
|
24
|
+
script?: string;
|
25
|
+
styles?: string;
|
26
|
+
}
|
@@ -0,0 +1,26 @@
|
|
1
|
+
import { Attribute, LineItem, PortDomain } from '@veloceapps/core';
|
2
|
+
import { Dictionary } from 'lodash';
|
3
|
+
export declare const findLineItem: (id: string, lineItems: LineItem[]) => LineItem | undefined;
|
4
|
+
export declare const findLineItemWithComparator: (lineItems: LineItem[], comparator: (li: LineItem) => boolean) => LineItem | undefined;
|
5
|
+
export declare const insertLineItem: (lineItem: LineItem, parentId: string, toInsert: LineItem) => LineItem;
|
6
|
+
export declare const removeLineItem: (lineItem: LineItem, idToRemove: string) => LineItem;
|
7
|
+
export declare const replaceLineItem: (lineItem: LineItem, replaceTo: LineItem) => LineItem;
|
8
|
+
export declare const mapAttributes: (attributes: Attribute[]) => Dictionary<any>;
|
9
|
+
export declare const getAttributes: (attributes: Attribute[], names?: string[]) => Attribute[];
|
10
|
+
export declare const upsertAttributes: (originalAttributes: Attribute[], attributesToUpsert: {
|
11
|
+
name: string;
|
12
|
+
value: any;
|
13
|
+
}[]) => Attribute[];
|
14
|
+
export declare const patchAttributes: (rootLineItem: LineItem, id: string, attrs: {
|
15
|
+
name: string;
|
16
|
+
value: any;
|
17
|
+
}[]) => LineItem;
|
18
|
+
export declare const getAttributeValue: (attributes: Attribute[], name: string) => any;
|
19
|
+
export declare const generateLineItem: (port: string, type: string, parentId: string, attributes?: {
|
20
|
+
name: string;
|
21
|
+
value: any;
|
22
|
+
}[], lineItems?: LineItem[]) => LineItem;
|
23
|
+
export declare const getRecommendedPrices: (portDomain: PortDomain, type: string) => {
|
24
|
+
net: number;
|
25
|
+
list: number;
|
26
|
+
};
|
@@ -0,0 +1,12 @@
|
|
1
|
+
import { LineItem } from '@veloceapps/core';
|
2
|
+
export declare class LineItemWorker {
|
3
|
+
li: LineItem;
|
4
|
+
constructor(src: LineItem);
|
5
|
+
insert(parentId: string, toInsert: LineItem): LineItemWorker;
|
6
|
+
remove(id: string): LineItemWorker;
|
7
|
+
replace(toReplace: LineItem): LineItemWorker;
|
8
|
+
patchAttribute(attrs: {
|
9
|
+
name: string;
|
10
|
+
value: any;
|
11
|
+
}[], id?: string): LineItemWorker;
|
12
|
+
}
|
@@ -0,0 +1,47 @@
|
|
1
|
+
export var FlowAction;
|
2
|
+
(function (FlowAction) {
|
3
|
+
FlowAction["FLOW_CONFIGURE_PRODUCT"] = "FLOW_CONFIGURE_PRODUCT";
|
4
|
+
FlowAction["FLOW_NAVIGATE_BACK"] = "FLOW_NAVIGATE_BACK";
|
5
|
+
FlowAction["FLOW_NAVIGATE_TO_CATALOG"] = "FLOW_NAVIGATE_TO_CATALOG";
|
6
|
+
FlowAction["FLOW_APPLY_PRODUCT_CONFIGURATION"] = "FLOW_APPLY_PRODUCT_CONFIGURATION";
|
7
|
+
FlowAction["FLOW_OPEN_DOC_GEN"] = "FLOW_OPEN_DOC_GEN";
|
8
|
+
FlowAction["FLOW_CLOSE_DOC_GEN"] = "FLOW_CLOSE_DOC_GEN";
|
9
|
+
FlowAction["FLOW_SWITCH_OBJECT"] = "FLOW_SWITCH_OBJECT";
|
10
|
+
FlowAction["REMOTE_APPLY"] = "REMOTE_APPLY";
|
11
|
+
FlowAction["REMOTE_CANCEL"] = "REMOTE_CANCEL";
|
12
|
+
FlowAction["SET_DEFAULT_METRICS"] = "SET_DEFAULT_METRICS";
|
13
|
+
})(FlowAction || (FlowAction = {}));
|
14
|
+
export const ConfigureProductAction = ({ lineItemId, productId, }) => ({
|
15
|
+
type: FlowAction.FLOW_CONFIGURE_PRODUCT,
|
16
|
+
payload: { lineItemId, productId },
|
17
|
+
});
|
18
|
+
export const NavigateBackAction = () => ({
|
19
|
+
type: FlowAction.FLOW_NAVIGATE_BACK,
|
20
|
+
});
|
21
|
+
export const NavigateToCatalogAction = () => ({
|
22
|
+
type: FlowAction.FLOW_NAVIGATE_TO_CATALOG,
|
23
|
+
});
|
24
|
+
export const ApplyProductConfigurationAction = () => ({
|
25
|
+
type: FlowAction.FLOW_APPLY_PRODUCT_CONFIGURATION,
|
26
|
+
});
|
27
|
+
export const OpenDocGenAction = () => ({
|
28
|
+
type: FlowAction.FLOW_OPEN_DOC_GEN,
|
29
|
+
});
|
30
|
+
export const CloseDocGenAction = () => ({
|
31
|
+
type: FlowAction.FLOW_CLOSE_DOC_GEN,
|
32
|
+
});
|
33
|
+
export const RemoteApplyAction = () => ({
|
34
|
+
type: FlowAction.REMOTE_APPLY,
|
35
|
+
});
|
36
|
+
export const RemoteCancelAction = () => ({
|
37
|
+
type: FlowAction.REMOTE_CANCEL,
|
38
|
+
});
|
39
|
+
export const SwitchObjectAction = (payload) => ({
|
40
|
+
type: FlowAction.FLOW_SWITCH_OBJECT,
|
41
|
+
payload,
|
42
|
+
});
|
43
|
+
export const SetDefaultMetrics = (metrics) => ({
|
44
|
+
type: FlowAction.SET_DEFAULT_METRICS,
|
45
|
+
payload: { metrics },
|
46
|
+
});
|
47
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY21zLmFjdGlvbnMuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9saWJzL3Nkay9jbXMvY21zLmFjdGlvbnMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBRUEsTUFBTSxDQUFOLElBQVksVUFXWDtBQVhELFdBQVksVUFBVTtJQUNwQiwrREFBaUQsQ0FBQTtJQUNqRCx1REFBeUMsQ0FBQTtJQUN6QyxtRUFBcUQsQ0FBQTtJQUNyRCxtRkFBcUUsQ0FBQTtJQUNyRSxxREFBdUMsQ0FBQTtJQUN2Qyx1REFBeUMsQ0FBQTtJQUN6Qyx1REFBeUMsQ0FBQTtJQUN6QywyQ0FBNk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figurationPlugin } from './plugins/configuration.plugin';
|
2
|
+
export const DEFAULT_PLUGINS = {
|
3
|
+
CONFIGURATION: [ConfigurationPlugin],
|
4
|
+
DEFAULT: [],
|
5
|
+
};
|
6
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY21zLmRlZmF1bHQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9saWJzL3Nkay9jbXMvY21zLmRlZmF1bHQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBRUEsT0FBTyxFQUFFLG1CQUFtQixFQUFFLE1BQU0sZ0NBQWdDLENBQUM7QUFFckUsTUFBTSxDQUFDLE1BQU0sZUFBZSxHQUFtRDtJQUM3RSxhQUFhLEVBQUUsQ0FBQyxtQkFBbUIsQ0FBQztJQUNwQyxPQUFPLEVBQUUsRUFBRTtDQUNaLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBVSURlZmluaXRpb25UeXBlIH0gZnJvbSAnQHZlbG9jZWFwcHMvc2RrL2NvcmUnO1xuaW1wb3J0IHsgUGx1Z2luIH0gZnJvbSAnLi9lbmdpbmUvbW9kZWxzL3BsdWdpbic7XG5pbXBvcnQgeyBDb25maWd1cmF0aW9uUGx1Z2luIH0gZnJvbSAnLi9wbHVnaW5zL2NvbmZpZ3VyYXRpb24ucGx1Z2luJztcblxuZXhwb3J0IGNvbnN0IERFRkFVTFRfUExVR0lOUzogeyBba2V5IGluIFVJRGVmaW5pdGlvblR5cGVdOiB0eXBlb2YgUGx1Z2luW10gfSA9IHtcbiAgQ09ORklHVVJBVElPTjogW0NvbmZpZ3VyYXRpb25QbHVnaW5dLFxuICBERUZBVUxUOiBbXSxcbn07XG4iXX0=
|
@@ -0,0 +1,29 @@
|
|
1
|
+
import { ElementComponent } from './components/element.component';
|
2
|
+
import { IOPlugin } from './plugins/io.plugin';
|
3
|
+
import { ScriptPlugin } from './plugins/script.plugin';
|
4
|
+
/*
|
5
|
+
* ScriptPlugin must always be the last plugin in the list to make sure user code is running after all pre-initializers.
|
6
|
+
*/
|
7
|
+
export const CONFIG = {
|
8
|
+
CUSTOM: {
|
9
|
+
component: ElementComponent,
|
10
|
+
plugins: [IOPlugin, ScriptPlugin],
|
11
|
+
},
|
12
|
+
CONTAINER: {
|
13
|
+
component: ElementComponent,
|
14
|
+
defaultTemplate: '<element-children></element-children>',
|
15
|
+
plugins: [ScriptPlugin],
|
16
|
+
},
|
17
|
+
SERVICE: {
|
18
|
+
component: ElementComponent,
|
19
|
+
plugins: [IOPlugin, ScriptPlugin],
|
20
|
+
suppressTemplate: true,
|
21
|
+
suppressStyles: true,
|
22
|
+
},
|
23
|
+
REFERENCE: {
|
24
|
+
component: ElementComponent,
|
25
|
+
plugins: [IOPlugin, ScriptPlugin],
|
26
|
+
suppressTemplate: true,
|
27
|
+
},
|
28
|
+
};
|
29
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY21zLmVsZW1lbnRzLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vbGlicy9zZGsvY21zL2Ntcy5lbGVtZW50cy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsZ0JBQWdCLEVBQUUsTUFBTSxnQ0FBZ0MsQ0FBQztBQUNsRSxPQUFPLEVBQUUsUUFBUSxFQUFFLE1BQU0scUJBQXFCLENBQUM7QUFDL0MsT0FBTyxFQUFFLFlBQVksRUFBRSxNQUFNLHlCQUF5QixDQUFDO0FBR3ZEOztHQUVHO0FBRUgsTUFBTSxDQUFDLE1BQU0sTUFBTSxHQUE2QztJQUM5RCxNQUFNLEVBQUU7UUFDTixTQUFTLEVBQUUsZ0JBQWdCO1FBQzNCLE9BQU8sRUFBRSxDQUFDLFFBQVEsRUFBRSxZQUFZLENBQUM7S0FDbE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xlbWVudENvbmZpZyB9ID0ge1xuICBDVVNUT006IHtcbiAgICBjb21wb25lbnQ6IEVsZW1lbnRDb21wb25lbnQsXG4gICAgcGx1Z2luczogW0lPUGx1Z2luLCBTY3JpcHRQbHVnaW5dLFxuICB9LFxuICBDT05UQUlORVI6IHtcbiAgICBjb21wb25lbnQ6IEVsZW1lbnRDb21wb25lbnQsXG4gICAgZGVmYXVsdFRlbXBsYXRlOiAnPGVsZW1lbnQtY2hpbGRyZW4+PC9lbGVtZW50LWNoaWxkcmVuPicsXG4gICAgcGx1Z2luczogW1NjcmlwdFBsdWdpbl0sXG4gIH0sXG4gIFNFUlZJQ0U6IHtcbiAgICBjb21wb25lbnQ6IEVsZW1lbnRDb21wb25lbnQsXG4gICAgcGx1Z2luczogW0lPUGx1Z2luLCBTY3JpcHRQbHVnaW5dLFxuICAgIHN1cHByZXNzVGVtcGxhdGU6IHRydWUsXG4gICAgc3VwcHJlc3NTdHlsZXM6IHRydWUsXG4gIH0sXG4gIFJFRkVSRU5DRToge1xuICAgIGNvbXBvbmVudDogRWxlbWVudENvbXBvbmVudCxcbiAgICBwbHVnaW5zOiBbSU9QbHVnaW4sIFNjcmlwdFBsdWdpbl0sXG4gICAgc3VwcHJlc3NUZW1wbGF0ZTogdHJ1ZSxcbiAgfSxcbn07XG4iXX0=
|
@@ -0,0 +1,23 @@
|
|
1
|
+
import { ChangeDetectionStrategy, Component } from '@angular/core';
|
2
|
+
import * as i0 from "@angular/core";
|
3
|
+
import * as i1 from "../../services/element-context.service";
|
4
|
+
import * as i2 from "../element-renderer/element-renderer.component";
|
5
|
+
export class ElementChildrenComponent {
|
6
|
+
constructor(elementContext) {
|
7
|
+
this.elementContext = elementContext;
|
8
|
+
this.metadata = this.elementContext.metadata;
|
9
|
+
}
|
10
|
+
}
|
11
|
+
ElementChildrenComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: ElementChildrenComponent, deps: [{ token: i1.ElementContextService }], target: i0.ɵɵFactoryTarget.Component });
|
12
|
+
ElementChildrenComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.15", type: ElementChildrenComponent, selector: "element-children", ngImport: i0, template: "<ng-container *ngIf=\"metadata?.children.length\">\n <ng-container *ngFor=\"let child of metadata.children\">\n <vl-cms-element-renderer [meta]=\"child\"></vl-cms-element-renderer>\n </ng-container>\n</ng-container>\n", styles: [":host{display:contents}\n"], components: [{ type: i2.ElementRendererComponent, selector: "vl-cms-element-renderer", inputs: ["meta"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
13
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: ElementChildrenComponent, decorators: [{
|
14
|
+
type: Component,
|
15
|
+
args: [{
|
16
|
+
// eslint-disable-next-line @angular-eslint/component-selector
|
17
|
+
selector: 'element-children',
|
18
|
+
templateUrl: 'element-children.component.html',
|
19
|
+
styleUrls: ['./element-children.component.scss'],
|
20
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
21
|
+
}]
|
22
|
+
}], ctorParameters: function () { return [{ type: i1.ElementContextService }]; } });
|
23
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZWxlbWVudC1jaGlsZHJlbi5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9saWJzL3Nkay9jbXMvY29tcG9uZW50cy9lbGVtZW50LWNoaWxkcmVuL2VsZW1lbnQtY2hpbGRyZW4uY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9zZGsvY21zL2NvbXBvbmVudHMvZWxlbWVudC1jaGlsZHJlbi9lbGVtZW50LWNoaWxkcmVuLmNvbXBvbmVudC5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8s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i9lbGVtZW50LWNoaWxkcmVuLmNvbXBvbmVudC5zY3NzJ10sXG4gIGNoYW5nZURldGVjdGlvbjogQ2hhbmdlRGV0ZWN0aW9uU3RyYXRlZ3kuT25QdXNoLFxufSlcbmV4cG9ydCBjbGFzcyBFbGVtZW50Q2hpbGRyZW5Db21wb25lbnQge1xuICBwdWJsaWMgbWV0YWRhdGE/OiBFbGVtZW50TWV0YWRhdGE7XG5cbiAgY29uc3RydWN0b3IocHJpdmF0ZSBlbGVtZW50Q29udGV4dDogRWxlbWVudENvbnRleHRTZXJ2aWNlKSB7XG4gICAgdGhpcy5tZXRhZGF0YSA9IHRoaXMuZWxlbWVudENvbnRleHQubWV0YWRhdGE7XG4gIH1cbn1cbiIsIjxuZy1jb250YWluZXIgKm5nSWY9XCJtZXRhZGF0YT8uY2hpbGRyZW4ubGVuZ3RoXCI+XG4gIDxuZy1jb250YWluZXIgKm5nRm9yPVwibGV0IGNoaWxkIG9mIG1ldGFkYXRhLmNoaWxkcmVuXCI+XG4gICAgPHZsLWNtcy1lbGVtZW50LXJlbmRlcmVyIFttZXRhXT1cImNoaWxkXCI+PC92bC1jbXMtZWxlbWVudC1yZW5kZXJlcj5cbiAgPC9uZy1jb250YWluZXI+XG48L25nLWNvbnRhaW5lcj5cbiJdfQ==
|
@@ -0,0 +1,18 @@
|
|
1
|
+
import { NgModule } from '@angular/core';
|
2
|
+
import { ElementRendererModule } from '../element-renderer/element-renderer.module';
|
3
|
+
import { ElementChildrenComponent } from './element-children.component';
|
4
|
+
import * as i0 from "@angular/core";
|
5
|
+
export class ElementChildrenModule {
|
6
|
+
}
|
7
|
+
ElementChildrenModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: ElementChildrenModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
8
|
+
ElementChildrenModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: ElementChildrenModule, declarations: [ElementChildrenComponent], imports: [ElementRendererModule], exports: [ElementChildrenComponent] });
|
9
|
+
ElementChildrenModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: ElementChildrenModule, imports: [[ElementRendererModule]] });
|
10
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: ElementChildrenModule, decorators: [{
|
11
|
+
type: NgModule,
|
12
|
+
args: [{
|
13
|
+
declarations: [ElementChildrenComponent],
|
14
|
+
imports: [ElementRendererModule],
|
15
|
+
exports: [ElementChildrenComponent],
|
16
|
+
}]
|
17
|
+
}] });
|
18
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZWxlbWVudC1jaGlsZHJlbi5tb2R1bGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9saWJzL3Nkay9jbXMvY29tcG9uZW50cy9lbGVtZW50LWNoaWxkcmVuL2VsZW1lbnQtY2hpbGRyZW4ubW9kdWxlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxRQUFRLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDekMsT0FBTyxFQUFFLHFCQUFxQixFQUFFLE1BQU0sNkNBQTZDLENBQUM7QUFDcEYsT0FBTyxFQUFFLHdCQUF3QixFQUFFLE1BQU0sOEJBQThCLENBQUM7O0FBT3hFLE1BQU0sT0FBTyxxQkFBcUI7O21IQUFyQixxQkFBcUI7b0hBQXJCLHFCQUFxQixpQkFKakIsd0JBQXdCLGFBQzdCLHFCQUFxQixhQUNyQix3QkFBd0I7b0hBRXZCLHFCQUFxQixZQUh2QixDQUFDLHFCQUFxQixDQUFDOzRGQUdyQixxQkFBcUI7a0JBTGpDLFFBQVE7bUJBQUM7b0JBQ1IsWUFBWSxFQUFFLENBQUMsd0J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