@veloceapps/sdk 0.0.0-watch
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 +7 -0
- package/cms/cms.actions.d.ts +12 -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 +35 -0
- package/cms/components/element-renderer/element-renderer.module.d.ts +7 -0
- package/cms/components/element.component.d.ts +13 -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 +9 -0
- package/cms/types/common.types.d.ts +103 -0
- package/cms/types/configuration.types.d.ts +17 -0
- package/cms/types/elements.types.d.ts +2 -0
- package/cms/types/index.d.ts +5 -0
- package/cms/types/integration.types.d.ts +4 -0
- package/cms/types/path.types.d.ts +11 -0
- package/cms/utils/element.utils.d.ts +15 -0
- package/cms/utils/elements-resolver.d.ts +20 -0
- package/cms/utils/index.d.ts +3 -0
- package/cms/utils/path.utils.d.ts +5 -0
- package/cms/veloce-sdk-cms.d.ts +5 -0
- package/cms/vendor-map.d.ts +689 -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 +28 -0
- package/core/modules/configuration/services/configuration.service.d.ts +40 -0
- package/core/modules/configuration/services/runtime-context.service.d.ts +14 -0
- package/core/modules/configuration/types/configuration-runtime.types.d.ts +6 -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 +37 -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 +17 -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 +31 -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/veloce-sdk-core.d.ts +5 -0
- package/esm2015/cms/cms.actions.js +17 -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 +143 -0
- package/esm2015/cms/components/element-renderer/element-renderer.module.js +16 -0
- package/esm2015/cms/components/element.component.js +31 -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 +105 -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 +94 -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 +19 -0
- package/esm2015/cms/types/common.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 +6 -0
- package/esm2015/cms/types/integration.types.js +2 -0
- package/esm2015/cms/types/path.types.js +2 -0
- package/esm2015/cms/utils/element.utils.js +149 -0
- package/esm2015/cms/utils/elements-resolver.js +108 -0
- package/esm2015/cms/utils/index.js +4 -0
- package/esm2015/cms/utils/path.utils.js +67 -0
- package/esm2015/cms/veloce-sdk-cms.js +5 -0
- package/esm2015/cms/vendor-map.js +35 -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 +90 -0
- package/esm2015/core/modules/configuration/services/configuration.service.js +153 -0
- package/esm2015/core/modules/configuration/services/runtime-context.service.js +61 -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 +90 -0
- package/esm2015/core/modules/flow-configuration/services/flow-update.service.js +114 -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 +44 -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 +88 -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 +98 -0
- package/esm2015/core/utils/line-item.worker.js +19 -0
- package/esm2015/core/veloce-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 +427 -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 +28 -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/veloce-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/header/cart-overlay/cart-preview.component.js +116 -0
- package/esm2015/src/components/header/cart-overlay/cart-preview.module.js +23 -0
- package/esm2015/src/components/header/header.component.js +196 -0
- package/esm2015/src/components/header/header.module.js +23 -0
- package/esm2015/src/components/header/header.types.js +2 -0
- package/esm2015/src/constants.js +2 -0
- package/esm2015/src/flow-routing.module.js +97 -0
- package/esm2015/src/flow.component.js +35 -0
- package/esm2015/src/flow.module.js +52 -0
- package/esm2015/src/guards/context.guard.js +75 -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 +65 -0
- package/esm2015/src/pages/debug/debug.module.js +48 -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 +95 -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/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 +58 -0
- package/esm2015/src/resolvers/quote.resolver.js +45 -0
- package/esm2015/src/services/flow-dialog.service.js +80 -0
- package/esm2015/src/services/flow-router.service.js +124 -0
- package/esm2015/src/services/flow.service.js +67 -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 +12 -0
- package/esm2015/src/utils/index.js +2 -0
- package/esm2015/veloce-sdk.js +5 -0
- package/fesm2015/veloce-sdk-cms.js +1301 -0
- package/fesm2015/veloce-sdk-cms.js.map +1 -0
- package/fesm2015/veloce-sdk-core.js +837 -0
- package/fesm2015/veloce-sdk-core.js.map +1 -0
- package/fesm2015/veloce-sdk-runtime.js +3895 -0
- package/fesm2015/veloce-sdk-runtime.js.map +1 -0
- package/fesm2015/veloce-sdk.js +1635 -0
- package/fesm2015/veloce-sdk.js.map +1 -0
- package/index.d.ts +1 -0
- package/package.json +49 -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/veloce-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/header/cart-overlay/cart-preview.component.d.ts +31 -0
- package/src/components/header/cart-overlay/cart-preview.module.d.ts +13 -0
- package/src/components/header/header.component.d.ts +48 -0
- package/src/components/header/header.module.d.ts +13 -0
- package/src/components/header/header.types.d.ts +19 -0
- package/src/constants.d.ts +1 -0
- package/src/flow-routing.module.d.ts +11 -0
- package/src/flow.component.d.ts +17 -0
- package/src/flow.module.d.ts +15 -0
- package/src/guards/context.guard.d.ts +18 -0
- package/src/guards/index.d.ts +1 -0
- package/src/guards/product-unload.guard.d.ts +16 -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 +27 -0
- package/src/pages/debug/debug.module.d.ts +14 -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 +30 -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/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 +14 -0
- package/src/resolvers/quote.resolver.d.ts +18 -0
- package/src/services/flow-dialog.service.d.ts +20 -0
- package/src/services/flow-router.service.d.ts +35 -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 +1 -0
- package/src/utils/index.d.ts +1 -0
- package/veloce-sdk.d.ts +5 -0
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { AfterViewInit, ApplicationRef, Compiler, ElementRef, Injector, OnChanges, Renderer2, SimpleChanges, TemplateRef, ViewContainerRef } from '@angular/core';
|
|
2
|
+
import { LineItem } from '@veloce/core';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
declare enum IntegrationEvent {
|
|
5
|
+
Init = "Init"
|
|
6
|
+
}
|
|
7
|
+
interface InputData {
|
|
8
|
+
rootLineItem: LineItem;
|
|
9
|
+
}
|
|
10
|
+
interface IntegrationEventPayload {
|
|
11
|
+
type: IntegrationEvent;
|
|
12
|
+
payload?: unknown;
|
|
13
|
+
}
|
|
14
|
+
export declare class FederatedComponent implements AfterViewInit, OnChanges {
|
|
15
|
+
private injector;
|
|
16
|
+
private compiler;
|
|
17
|
+
private appRef;
|
|
18
|
+
private renderer;
|
|
19
|
+
federatedComponent?: ViewContainerRef;
|
|
20
|
+
foo?: TemplateRef<unknown>;
|
|
21
|
+
moduleHostRef?: ElementRef;
|
|
22
|
+
remoteEntry?: string;
|
|
23
|
+
remoteName?: string;
|
|
24
|
+
exposedModule?: string;
|
|
25
|
+
data?: InputData;
|
|
26
|
+
eventData?: IntegrationEventPayload;
|
|
27
|
+
private integrationEvent;
|
|
28
|
+
moduleReady: boolean;
|
|
29
|
+
private instance?;
|
|
30
|
+
constructor(injector: Injector, compiler: Compiler, appRef: ApplicationRef, renderer: Renderer2);
|
|
31
|
+
ngAfterViewInit(): void;
|
|
32
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
33
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FederatedComponent, never>;
|
|
34
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FederatedComponent, "veloce-host-federated", never, { "remoteEntry": "remoteEntry"; "remoteName": "remoteName"; "exposedModule": "exposedModule"; "data": "data"; "eventData": "eventData"; }, { "integrationEvent": "integrationEvent"; }, never, never>;
|
|
35
|
+
}
|
|
36
|
+
export {};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import { FormScopeService } from '../../../services/form-scope.service';
|
|
3
|
+
import { SectionScopeService } from '../../../services/section-scope.service';
|
|
4
|
+
import { VeloAttributeDirective } from '../../directives/velo-attribute.directive';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class VeloAttributeComponent extends VeloAttributeDirective implements OnInit {
|
|
7
|
+
controlName: string;
|
|
8
|
+
displayName: string;
|
|
9
|
+
isMultiselect: boolean;
|
|
10
|
+
constructor(formScope: FormScopeService, sectionScope: SectionScopeService);
|
|
11
|
+
getValueOptions(valueOptions: unknown): (string | number)[];
|
|
12
|
+
getValueText(valueOptions: unknown, value: string | number): string;
|
|
13
|
+
handleMultiselectChange(value: string | number): void;
|
|
14
|
+
handleMultipleDropdownChange(event: any): void;
|
|
15
|
+
private isBooleanType;
|
|
16
|
+
private getDisplayName;
|
|
17
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<VeloAttributeComponent, never>;
|
|
18
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<VeloAttributeComponent, "velo-attribute", never, {}, {}, never, never>;
|
|
19
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { Overlay } from '@angular/cdk/overlay';
|
|
2
|
+
import { ElementRef, EventEmitter, OnDestroy, TemplateRef, ViewContainerRef } from '@angular/core';
|
|
3
|
+
import { ControlValueAccessor } from '@angular/forms';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class MultiselectComponent implements ControlValueAccessor, OnDestroy {
|
|
6
|
+
private elRef;
|
|
7
|
+
private viewContainerRef;
|
|
8
|
+
private overlay;
|
|
9
|
+
options?: any[];
|
|
10
|
+
selectionChange: EventEmitter<string[]>;
|
|
11
|
+
selected: string[];
|
|
12
|
+
displayValue: string;
|
|
13
|
+
touched: boolean;
|
|
14
|
+
disabled: boolean;
|
|
15
|
+
overlayTemplate: TemplateRef<any>;
|
|
16
|
+
opened: boolean;
|
|
17
|
+
private overlayRef?;
|
|
18
|
+
private dropdownClosingActionsSub?;
|
|
19
|
+
onChange: (selected: string[]) => void;
|
|
20
|
+
onTouched: () => void;
|
|
21
|
+
constructor(elRef: ElementRef, viewContainerRef: ViewContainerRef, overlay: Overlay);
|
|
22
|
+
ngOnDestroy(): void;
|
|
23
|
+
writeValue(selected: string[]): void;
|
|
24
|
+
registerOnChange(onChange: any): void;
|
|
25
|
+
registerOnTouched(onTouched: any): void;
|
|
26
|
+
setDisabledState(disabled: boolean): void;
|
|
27
|
+
handleSelection(value: any): void;
|
|
28
|
+
toggleOpened(): void;
|
|
29
|
+
private getDisplayValue;
|
|
30
|
+
private openDropdown;
|
|
31
|
+
private dropdownClosingActions;
|
|
32
|
+
private destroyDropdown;
|
|
33
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MultiselectComponent, never>;
|
|
34
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MultiselectComponent, "velo-multiselect", never, { "options": "options"; }, { "selectionChange": "selectionChange"; }, never, never>;
|
|
35
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { FormGroup } from '@angular/forms';
|
|
2
|
+
import { Section } from '@veloce/core';
|
|
3
|
+
import { FormScopeService } from '../../../services/form-scope.service';
|
|
4
|
+
import { SectionScopeService } from '../../../services/section-scope.service';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class VeloPortCheckBoxComponent {
|
|
7
|
+
private formScope;
|
|
8
|
+
private sectionScope;
|
|
9
|
+
controlName: string;
|
|
10
|
+
form: FormGroup;
|
|
11
|
+
section: Section;
|
|
12
|
+
showSelectAll: boolean;
|
|
13
|
+
constructor(formScope: FormScopeService, sectionScope: SectionScopeService);
|
|
14
|
+
handleChange(valueOption: string): void;
|
|
15
|
+
hasValueFor(valueOption: string): boolean;
|
|
16
|
+
selectAllChange(): void;
|
|
17
|
+
isAllSelected(): boolean;
|
|
18
|
+
getMessages(valueOption: string): string[];
|
|
19
|
+
private findLineItemForValue;
|
|
20
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<VeloPortCheckBoxComponent, never>;
|
|
21
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<VeloPortCheckBoxComponent, "velo-port-checkbox", never, { "showSelectAll": "showSelectAll"; }, {}, never, ["*"]>;
|
|
22
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { FormGroup } from '@angular/forms';
|
|
2
|
+
import { Section } from '@veloce/core';
|
|
3
|
+
import { Dictionary } from 'lodash';
|
|
4
|
+
import { FormScopeService } from '../../../services/form-scope.service';
|
|
5
|
+
import { SectionScopeService } from '../../../services/section-scope.service';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
export declare class VeloPortDropdownComponent {
|
|
8
|
+
private formScope;
|
|
9
|
+
private sectionScope;
|
|
10
|
+
controlName: string;
|
|
11
|
+
qtyControlName: string;
|
|
12
|
+
form: FormGroup;
|
|
13
|
+
section: Section;
|
|
14
|
+
prices: Dictionary<any>;
|
|
15
|
+
constructor(formScope: FormScopeService, sectionScope: SectionScopeService);
|
|
16
|
+
isAddAllowed(): boolean;
|
|
17
|
+
handleCreate(): void;
|
|
18
|
+
private findPriceItemsForValue;
|
|
19
|
+
private add;
|
|
20
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<VeloPortDropdownComponent, never>;
|
|
21
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<VeloPortDropdownComponent, "velo-port-dropdown", never, {}, {}, never, ["*"]>;
|
|
22
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import { FormGroup } from '@angular/forms';
|
|
3
|
+
import { LineItem, RecommendedPrice, Section } from '@veloce/core';
|
|
4
|
+
import { Dictionary } from 'lodash';
|
|
5
|
+
import { FormScopeService } from '../../../services/form-scope.service';
|
|
6
|
+
import { SectionScopeService } from '../../../services/section-scope.service';
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
8
|
+
export declare class VeloPortRadioComponent implements OnInit {
|
|
9
|
+
private formScope;
|
|
10
|
+
private sectionScope;
|
|
11
|
+
controlName: string;
|
|
12
|
+
form: FormGroup;
|
|
13
|
+
section: Section;
|
|
14
|
+
prices: Dictionary<any>;
|
|
15
|
+
constructor(formScope: FormScopeService, sectionScope: SectionScopeService);
|
|
16
|
+
ngOnInit(): void;
|
|
17
|
+
handleChange(event: any, valueOption: any): void;
|
|
18
|
+
hasValueFor(valueOption: string): boolean;
|
|
19
|
+
getMessages(valueOption: string): LineItem['messages'];
|
|
20
|
+
toString(price: RecommendedPrice): string;
|
|
21
|
+
private hasPreviousValue;
|
|
22
|
+
private findLineItemForValue;
|
|
23
|
+
private initPriceItems;
|
|
24
|
+
private findPriceItemsForValue;
|
|
25
|
+
private add;
|
|
26
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<VeloPortRadioComponent, never>;
|
|
27
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<VeloPortRadioComponent, "velo-port-radio", never, {}, {}, never, ["*", "*"]>;
|
|
28
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import { FormGroup } from '@angular/forms';
|
|
3
|
+
import { RecommendedPrice, Section } from '@veloce/core';
|
|
4
|
+
import { MessageService } from 'primeng/api';
|
|
5
|
+
import { CollapsibleStateService } from '../../../services/collapsible-state.service';
|
|
6
|
+
import { FormScopeService } from '../../../services/form-scope.service';
|
|
7
|
+
import { SectionScopeService } from '../../../services/section-scope.service';
|
|
8
|
+
import * as i0 from "@angular/core";
|
|
9
|
+
export declare class VeloTypeComponent implements OnInit {
|
|
10
|
+
private formScope;
|
|
11
|
+
private collapsibleState;
|
|
12
|
+
private sectionScope;
|
|
13
|
+
private messageService;
|
|
14
|
+
readonly messageBucketId = "ui-runtime";
|
|
15
|
+
controlName: string;
|
|
16
|
+
qtyControlName: string;
|
|
17
|
+
displayName: string;
|
|
18
|
+
indent: number;
|
|
19
|
+
form: FormGroup;
|
|
20
|
+
section: Section;
|
|
21
|
+
prices: RecommendedPrice[];
|
|
22
|
+
constructor(formScope: FormScopeService, collapsibleState: CollapsibleStateService, sectionScope: SectionScopeService, messageService: MessageService);
|
|
23
|
+
ngOnInit(): void;
|
|
24
|
+
handleRemove(): void;
|
|
25
|
+
handleQuantityUpdate(): void;
|
|
26
|
+
toggleCollapse(): void;
|
|
27
|
+
getPrices(): RecommendedPrice[];
|
|
28
|
+
private add;
|
|
29
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<VeloTypeComponent, never>;
|
|
30
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<VeloTypeComponent, "velo-type", never, {}, {}, never, ["*"]>;
|
|
31
|
+
}
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
import { AfterViewInit, ChangeDetectorRef, OnDestroy, OnInit, Renderer2 } from '@angular/core';
|
|
2
|
+
import { FormBuilder } from '@angular/forms';
|
|
3
|
+
import { ContextService, QuoteDraftService } from '@veloce/sdk/core';
|
|
4
|
+
import { ShoppingCartService } from '../../services/cart.service';
|
|
5
|
+
import { CurrentStateService } from '../../services/current-state.service';
|
|
6
|
+
import { FormScopeService } from '../../services/form-scope.service';
|
|
7
|
+
import { RuntimeService } from '../../services/runtime.service';
|
|
8
|
+
import { SectionScopeService } from '../../services/section-scope.service';
|
|
9
|
+
import { SfQueryDirective } from './sf-query.directive';
|
|
10
|
+
import { LineItemDirective } from './velo-port.directive';
|
|
11
|
+
import { VlApprovalDirective } from './vl-approval.directive';
|
|
12
|
+
import { VlDocumentAttachmentsDirective } from './vl-document-attachments.directive';
|
|
13
|
+
import { VlDocumentTemplatesDirective } from './vl-document-templates.directive';
|
|
14
|
+
import { VlQuoteDirective } from './vl-quote.directive';
|
|
15
|
+
import { VlRampDirective } from './vl-ramp.directive';
|
|
16
|
+
import * as i0 from "@angular/core";
|
|
17
|
+
export declare class SectionScriptDirective implements OnInit, AfterViewInit, OnDestroy {
|
|
18
|
+
private _document;
|
|
19
|
+
private sfQueryDirective;
|
|
20
|
+
private lineItemDirective;
|
|
21
|
+
private quoteDirective;
|
|
22
|
+
private documentTemplatesDirective;
|
|
23
|
+
private rampDirective;
|
|
24
|
+
private approvalDirective;
|
|
25
|
+
private documentAttachmentsDirective;
|
|
26
|
+
private formScope;
|
|
27
|
+
private sectionScope;
|
|
28
|
+
private renderer;
|
|
29
|
+
private formBuilder;
|
|
30
|
+
private runtimeService;
|
|
31
|
+
private cdr;
|
|
32
|
+
private cartService;
|
|
33
|
+
private contextService;
|
|
34
|
+
private currentStateService;
|
|
35
|
+
private quoteService;
|
|
36
|
+
private scriptElement;
|
|
37
|
+
private scriptId;
|
|
38
|
+
private registry;
|
|
39
|
+
private sessionScope;
|
|
40
|
+
constructor(_document: Document, sfQueryDirective: SfQueryDirective, lineItemDirective: LineItemDirective, quoteDirective: VlQuoteDirective, documentTemplatesDirective: VlDocumentTemplatesDirective, rampDirective: VlRampDirective, approvalDirective: VlApprovalDirective, documentAttachmentsDirective: VlDocumentAttachmentsDirective, formScope: FormScopeService, sectionScope: SectionScopeService, renderer: Renderer2, formBuilder: FormBuilder, runtimeService: RuntimeService, cdr: ChangeDetectorRef, cartService: ShoppingCartService, contextService: ContextService, currentStateService: CurrentStateService, quoteService: QuoteDraftService);
|
|
41
|
+
ngOnInit(): void;
|
|
42
|
+
ngAfterViewInit(): void;
|
|
43
|
+
ngOnDestroy(): void;
|
|
44
|
+
get scope(): any;
|
|
45
|
+
private scriptExists;
|
|
46
|
+
private encodeScriptBody;
|
|
47
|
+
private generateScriptId;
|
|
48
|
+
private getScriptRegistry;
|
|
49
|
+
private getSessionScope;
|
|
50
|
+
private initScript;
|
|
51
|
+
private removeScript;
|
|
52
|
+
private appendScriptElementToDom;
|
|
53
|
+
private removeScriptElementFromDom;
|
|
54
|
+
private scriptFromTemplate;
|
|
55
|
+
private methodApply;
|
|
56
|
+
private getExposedApis;
|
|
57
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SectionScriptDirective, never>;
|
|
58
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<SectionScriptDirective, "section-script", ["scriptApi"], {}, {}, never>;
|
|
59
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { HttpParams } from '@angular/common/http';
|
|
2
|
+
import { SalesforceApiService } from '@veloce/api';
|
|
3
|
+
import { SearchRequest } from '@veloce/core';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class SfQueryDirective {
|
|
6
|
+
private apiService;
|
|
7
|
+
constructor(apiService: SalesforceApiService);
|
|
8
|
+
query(searchRequest: SearchRequest, objectName: string): Promise<any>;
|
|
9
|
+
describe(objectName: string, fieldName?: string): Promise<any>;
|
|
10
|
+
describe2(objectName: string, fieldsNames: string[]): Promise<any>;
|
|
11
|
+
apexGetRequest<T = unknown>(path: string, params: HttpParams): Promise<T>;
|
|
12
|
+
apexPostRequest<T = unknown, S = unknown>(path: string, body: S): Promise<T>;
|
|
13
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SfQueryDirective, never>;
|
|
14
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<SfQueryDirective, "sf-query", ["sfApi"], {}, {}, never>;
|
|
15
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import { FormGroup } from '@angular/forms';
|
|
3
|
+
import { Section } from '@veloce/core';
|
|
4
|
+
import { FormScopeService } from '../../services/form-scope.service';
|
|
5
|
+
import { SectionScopeService } from '../../services/section-scope.service';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
export declare class VeloAttributeDirective implements OnInit {
|
|
8
|
+
private formScope;
|
|
9
|
+
private sectionScope;
|
|
10
|
+
valueQuantities: {
|
|
11
|
+
[index: string]: number;
|
|
12
|
+
};
|
|
13
|
+
form: FormGroup;
|
|
14
|
+
section: Section;
|
|
15
|
+
constructor(formScope: FormScopeService, sectionScope: SectionScopeService);
|
|
16
|
+
ngOnInit(): void;
|
|
17
|
+
handleChange(valueOption?: any): void;
|
|
18
|
+
handleChangDate(valueOption: any): void;
|
|
19
|
+
handleRemove(): void;
|
|
20
|
+
nextVal(): void;
|
|
21
|
+
prevVal(): void;
|
|
22
|
+
private initQuantity;
|
|
23
|
+
private getCurrentValueIndex;
|
|
24
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<VeloAttributeDirective, never>;
|
|
25
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<VeloAttributeDirective, "velo-attribute-directive", ["attributeApi"], {}, {}, never>;
|
|
26
|
+
}
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import { FormGroup } from '@angular/forms';
|
|
3
|
+
import { LineItem, Section } from '@veloce/core';
|
|
4
|
+
import { ConfigurationService } from '../../services/configuration.service';
|
|
5
|
+
import { FormScopeService } from '../../services/form-scope.service';
|
|
6
|
+
import { SectionScopeService } from '../../services/section-scope.service';
|
|
7
|
+
import { LegacyRuntimeContext } from '../../types';
|
|
8
|
+
import * as i0 from "@angular/core";
|
|
9
|
+
export declare class SectionContextAware implements OnInit {
|
|
10
|
+
protected formScope: FormScopeService;
|
|
11
|
+
protected sectionScope: SectionScopeService;
|
|
12
|
+
controlName: string;
|
|
13
|
+
qtyControlName: string;
|
|
14
|
+
form: FormGroup;
|
|
15
|
+
section: Section;
|
|
16
|
+
constructor(formScope: FormScopeService, sectionScope: SectionScopeService);
|
|
17
|
+
ngOnInit(): void;
|
|
18
|
+
initControlNames(): void;
|
|
19
|
+
isAddAllowed(quantityToAdd?: number): boolean;
|
|
20
|
+
isRemoveAllowed(quantityToRemove?: number): boolean;
|
|
21
|
+
handleCreate(valueOption?: any): void;
|
|
22
|
+
handleChange(valueOption?: any): void;
|
|
23
|
+
handleQtyChange(valueOption: any): void;
|
|
24
|
+
handleRemove(valueOption: string): void;
|
|
25
|
+
handleCopy(valueOption: string): void;
|
|
26
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SectionContextAware, never>;
|
|
27
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<SectionContextAware, never, never, {}, {}, never>;
|
|
28
|
+
}
|
|
29
|
+
export declare class LineItemDirective implements OnInit {
|
|
30
|
+
private formScope;
|
|
31
|
+
private sectionScope;
|
|
32
|
+
private configurationService;
|
|
33
|
+
section: Section;
|
|
34
|
+
lineItem?: LineItem;
|
|
35
|
+
constructor(formScope: FormScopeService, sectionScope: SectionScopeService, configurationService: ConfigurationService);
|
|
36
|
+
ngOnInit(): void;
|
|
37
|
+
handlePatch(rootLineItem: any): void;
|
|
38
|
+
configure(runtimeContext: LegacyRuntimeContext, configurableRamp: LineItem): Promise<LineItem>;
|
|
39
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LineItemDirective, never>;
|
|
40
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<LineItemDirective, "line-item", ["liApi"], {}, {}, never>;
|
|
41
|
+
}
|
|
42
|
+
export declare class VeloPortDirective extends SectionContextAware implements OnInit {
|
|
43
|
+
valueQuantities: {
|
|
44
|
+
[index: string]: number;
|
|
45
|
+
};
|
|
46
|
+
constructor(formScope: FormScopeService, sectionScope: SectionScopeService);
|
|
47
|
+
private handlePriceAdjustment;
|
|
48
|
+
ngOnInit(): void;
|
|
49
|
+
handleUpsert(valueOption?: any, event?: Event): void;
|
|
50
|
+
isActive(valueOption?: any): boolean;
|
|
51
|
+
private initQuantity;
|
|
52
|
+
handleNextVal(valueOption: string): void;
|
|
53
|
+
handlePrevVal(valueOption: string): void;
|
|
54
|
+
handleManualQtyChange(valueOption: string, qtyVal: any): void;
|
|
55
|
+
handleNetPriceAdjustment(valueOption: string, amount: number): void;
|
|
56
|
+
handleListPriceAdjustment(valueOption: string, amount: number): void;
|
|
57
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<VeloPortDirective, never>;
|
|
58
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<VeloPortDirective, "velo-port", ["portApi"], {}, {}, never>;
|
|
59
|
+
}
|
|
60
|
+
export declare class VeloDropdownComponent extends SectionContextAware {
|
|
61
|
+
constructor(formScope: FormScopeService, sectionScope: SectionScopeService);
|
|
62
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<VeloDropdownComponent, never>;
|
|
63
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<VeloDropdownComponent, "velo-dropdown", never, {}, {}, never, never>;
|
|
64
|
+
}
|
|
65
|
+
export declare class VeloQuantityComponent extends SectionContextAware {
|
|
66
|
+
constructor(formScope: FormScopeService, sectionScope: SectionScopeService);
|
|
67
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<VeloQuantityComponent, never>;
|
|
68
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<VeloQuantityComponent, "velo-quantity", never, {}, {}, never, never>;
|
|
69
|
+
}
|
|
70
|
+
export declare class VeloQuantityButtonComponent extends SectionContextAware {
|
|
71
|
+
constructor(formScope: FormScopeService, sectionScope: SectionScopeService);
|
|
72
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<VeloQuantityButtonComponent, never>;
|
|
73
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<VeloQuantityButtonComponent, "velo-quantity-button", never, {}, {}, never, never>;
|
|
74
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { QuoteApiService } from '@veloce/api';
|
|
2
|
+
import { QuoteDraft } from '@veloce/core';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class VlApprovalDirective {
|
|
5
|
+
private repo;
|
|
6
|
+
constructor(repo: QuoteApiService);
|
|
7
|
+
submitQuote(quoteDraft: QuoteDraft): Promise<any>;
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<VlApprovalDirective, never>;
|
|
9
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<VlApprovalDirective, "vl-approval", ["approvalApi"], {}, {}, never>;
|
|
10
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { DocumentAttachmentApiService } from '@veloce/api';
|
|
2
|
+
import { Attachment, TemplateAttachmentSearchRequest } from '@veloce/core';
|
|
3
|
+
import { Observable } from 'rxjs';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class VlDocumentAttachmentsDirective {
|
|
6
|
+
private service;
|
|
7
|
+
constructor(service: DocumentAttachmentApiService);
|
|
8
|
+
getAttachments(searchRequest: TemplateAttachmentSearchRequest): Promise<Attachment[]>;
|
|
9
|
+
createAttachment(attachment: Attachment, file?: File, reportProgress?: boolean): Promise<Attachment> | Observable<Attachment>;
|
|
10
|
+
updateAttachment(id: string, attachment: Attachment): Promise<Attachment>;
|
|
11
|
+
getAttachmentFile(id: string, isPreventDownload?: boolean): Promise<any>;
|
|
12
|
+
removeAttachment(id: string): Promise<unknown>;
|
|
13
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<VlDocumentAttachmentsDirective, never>;
|
|
14
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<VlDocumentAttachmentsDirective, "vl-document-attachments", ["documentAttachmentsApi"], {}, {}, never>;
|
|
15
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { DocumentTemplatesApiService } from '@veloce/api';
|
|
2
|
+
import { Attachment, DocumentTemplate, QuoteDraft, TemplateAttachmentSearchRequest } from '@veloce/core';
|
|
3
|
+
import { Observable } from 'rxjs';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class VlDocumentTemplatesDirective {
|
|
6
|
+
private documentTemplatesApiService;
|
|
7
|
+
constructor(documentTemplatesApiService: DocumentTemplatesApiService);
|
|
8
|
+
getTemplates(tag?: string): Promise<DocumentTemplate[]>;
|
|
9
|
+
upsertTemplate(template: DocumentTemplate, templateFile: File): Promise<DocumentTemplate>;
|
|
10
|
+
removeTemplate(id: string): Promise<DocumentTemplate>;
|
|
11
|
+
cloneTemplate(id: string): Promise<{
|
|
12
|
+
clonedRecordId: string;
|
|
13
|
+
}>;
|
|
14
|
+
downloadTemplate(id: string): Promise<Blob>;
|
|
15
|
+
generateDocument(template: DocumentTemplate, quoteDraft: QuoteDraft, params?: {
|
|
16
|
+
[param: string]: string | boolean;
|
|
17
|
+
}): Observable<any>;
|
|
18
|
+
/**
|
|
19
|
+
* @deprecated Use `generateDocument` instead
|
|
20
|
+
*/
|
|
21
|
+
generateDocumentNew: (template: DocumentTemplate, quoteDraft: QuoteDraft, params?: {
|
|
22
|
+
[param: string]: string | boolean;
|
|
23
|
+
} | undefined) => Observable<any>;
|
|
24
|
+
generateDocumentData(template: DocumentTemplate, quoteDraft: QuoteDraft, params?: {
|
|
25
|
+
[param: string]: boolean;
|
|
26
|
+
}): Observable<any>;
|
|
27
|
+
getAttachments(searchRequest: TemplateAttachmentSearchRequest): Promise<any>;
|
|
28
|
+
getAttachmentFile(id: string): Promise<any>;
|
|
29
|
+
createAttachment(attachment: Attachment, file?: File): Promise<any>;
|
|
30
|
+
removeAttachment(id: string): Promise<any>;
|
|
31
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<VlDocumentTemplatesDirective, never>;
|
|
32
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<VlDocumentTemplatesDirective, "[vlQuoteTemplates]", ["quoteTemplateApi"], {}, {}, never>;
|
|
33
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { QuoteApiService } from '@veloce/api';
|
|
2
|
+
import { QuoteDraft } from '@veloce/core';
|
|
3
|
+
import { RuntimeService } from '../../services/runtime.service';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class VlQuoteDirective {
|
|
6
|
+
private quoteApiService;
|
|
7
|
+
private runtimeService;
|
|
8
|
+
constructor(quoteApiService: QuoteApiService, runtimeService: RuntimeService);
|
|
9
|
+
getQuote(quoteId: string): Promise<QuoteDraft>;
|
|
10
|
+
upsertQuote(quoteDraft: QuoteDraft): Promise<any>;
|
|
11
|
+
configureQuote(quoteDraft: QuoteDraft, rootLineItemId: string): void;
|
|
12
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<VlQuoteDirective, never>;
|
|
13
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<VlQuoteDirective, "vl-quote", ["quoteApi"], {}, {}, never>;
|
|
14
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { PriceApiService, RampApiService } from '@veloce/api';
|
|
2
|
+
import { LineItem } from '@veloce/core';
|
|
3
|
+
import { ContextService } from '@veloce/sdk/core';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class VlRampDirective {
|
|
6
|
+
private contextService;
|
|
7
|
+
private rampApiService;
|
|
8
|
+
private priceApiService;
|
|
9
|
+
constructor(contextService: ContextService, rampApiService: RampApiService, priceApiService: PriceApiService);
|
|
10
|
+
createRamp(sourceItems: string[], currentRamps: LineItem[], term: number): Promise<any>;
|
|
11
|
+
calculateRampTermByEndDate(lineItem: LineItem, endDate: string): Promise<any>;
|
|
12
|
+
calculateRampTermByTerm(lineItem: LineItem, term: number): Promise<any>;
|
|
13
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<VlRampDirective, never>;
|
|
14
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<VlRampDirective, "vl-ramp", ["rampApi"], {}, {}, never>;
|
|
15
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./components/execution-section-renderer/execution-section-renderer.component";
|
|
3
|
+
import * as i2 from "./components/children-placeholder/children-placeholder.component";
|
|
4
|
+
import * as i3 from "./directives/section-script.directive";
|
|
5
|
+
import * as i4 from "./directives/velo-port.directive";
|
|
6
|
+
import * as i5 from "./directives/velo-attribute.directive";
|
|
7
|
+
import * as i6 from "./components/velo-multiselect/velo-multiselect.component";
|
|
8
|
+
import * as i7 from "./components/velo-attribute/velo-attribute.component";
|
|
9
|
+
import * as i8 from "./components/velo-port-radio/velo-port-radio.component";
|
|
10
|
+
import * as i9 from "./components/velo-type/velo-type.component";
|
|
11
|
+
import * as i10 from "./components/velo-port-dropdown/velo-port-dropdown.component";
|
|
12
|
+
import * as i11 from "./components/velo-port-checkbox/velo-port-checkbox.component";
|
|
13
|
+
import * as i12 from "./components/federated/federated.component";
|
|
14
|
+
import * as i13 from "./components/context-provider/context-provider.component";
|
|
15
|
+
import * as i14 from "@angular/common";
|
|
16
|
+
import * as i15 from "@angular/forms";
|
|
17
|
+
import * as i16 from "@veloce/core";
|
|
18
|
+
import * as i17 from "@veloce/api";
|
|
19
|
+
import * as i18 from "@veloce/elements";
|
|
20
|
+
import * as i19 from "ngx-bootstrap/popover";
|
|
21
|
+
import * as i20 from "@veloce/components";
|
|
22
|
+
import * as i21 from "@veloce/sdk/core";
|
|
23
|
+
export declare class RuntimeExecutionModule {
|
|
24
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<RuntimeExecutionModule, never>;
|
|
25
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<RuntimeExecutionModule, [typeof i1.ExecutionSectionRendererComponent, typeof i2.ChildrenPlaceholderComponent, typeof i3.SectionScriptDirective, typeof i4.VeloPortDirective, typeof i4.LineItemDirective, typeof i4.VeloDropdownComponent, typeof i4.VeloQuantityButtonComponent, typeof i4.VeloQuantityComponent, typeof i5.VeloAttributeDirective, typeof i6.MultiselectComponent, typeof i7.VeloAttributeComponent, typeof i8.VeloPortRadioComponent, typeof i9.VeloTypeComponent, typeof i10.VeloPortDropdownComponent, typeof i11.VeloPortCheckBoxComponent, typeof i12.FederatedComponent, typeof i2.TemplateComponent, typeof i13.ContextProviderComponent], [typeof i14.CommonModule, typeof i15.FormsModule, typeof i15.ReactiveFormsModule, typeof i16.CoreModule, typeof i17.ApiModule, typeof i18.VeloceElementsModule, typeof i19.PopoverModule, typeof i20.LoaderModule, typeof i21.SdkCoreModule], [typeof i15.FormsModule, typeof i15.ReactiveFormsModule, typeof i2.ChildrenPlaceholderComponent, typeof i3.SectionScriptDirective, typeof i4.LineItemDirective, typeof i4.VeloPortDirective, typeof i5.VeloAttributeDirective, typeof i6.MultiselectComponent, typeof i7.VeloAttributeComponent, typeof i8.VeloPortRadioComponent, typeof i9.VeloTypeComponent, typeof i10.VeloPortDropdownComponent, typeof i11.VeloPortCheckBoxComponent, typeof i12.FederatedComponent, typeof i2.TemplateComponent, typeof i13.ContextProviderComponent]>;
|
|
26
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<RuntimeExecutionModule>;
|
|
27
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@veloce/sdk/runtime",
|
|
3
|
+
"sideEffects": false,
|
|
4
|
+
"main": "../bundles/veloce-sdk-runtime.umd.js",
|
|
5
|
+
"module": "../fesm2015/veloce-sdk-runtime.js",
|
|
6
|
+
"es2015": "../fesm2015/veloce-sdk-runtime.js",
|
|
7
|
+
"esm2015": "../esm2015/runtime/veloce-sdk-runtime.js",
|
|
8
|
+
"fesm2015": "../fesm2015/veloce-sdk-runtime.js",
|
|
9
|
+
"typings": "veloce-sdk-runtime.d.ts"
|
|
10
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./components/ui-runtime/runtime.component";
|
|
3
|
+
import * as i2 from "./components/ui-runtime-preview/runtime-preview.component";
|
|
4
|
+
import * as i3 from "./components/section-renderer/section-renderer.component";
|
|
5
|
+
import * as i4 from "./components/component-preview/component-preview.component";
|
|
6
|
+
import * as i5 from "@angular/common";
|
|
7
|
+
import * as i6 from "@angular/forms";
|
|
8
|
+
import * as i7 from "@veloce/core";
|
|
9
|
+
import * as i8 from "@veloce/api";
|
|
10
|
+
import * as i9 from "@veloce/elements";
|
|
11
|
+
import * as i10 from "ngx-bootstrap/popover";
|
|
12
|
+
import * as i11 from "@veloce/components";
|
|
13
|
+
import * as i12 from "@veloce/sdk/core";
|
|
14
|
+
export declare class RuntimeModule {
|
|
15
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<RuntimeModule, never>;
|
|
16
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<RuntimeModule, [typeof i1.RuntimeComponent, typeof i2.RuntimePreviewComponent, typeof i3.SectionRendererComponent, typeof i4.ComponentPreviewComponent], [typeof i5.CommonModule, typeof i6.FormsModule, typeof i6.ReactiveFormsModule, typeof i7.CoreModule, typeof i8.ApiModule, typeof i9.VeloceElementsModule, typeof i10.PopoverModule, typeof i11.LoaderModule, typeof i12.SdkCoreModule], [typeof i6.FormsModule, typeof i6.ReactiveFormsModule, typeof i1.RuntimeComponent, typeof i2.RuntimePreviewComponent, typeof i3.SectionRendererComponent, typeof i4.ComponentPreviewComponent]>;
|
|
17
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<RuntimeModule>;
|
|
18
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { PriceApiService } from '@veloce/api';
|
|
2
|
+
import { LineItem, PriceSummary } from '@veloce/core';
|
|
3
|
+
import { ContextService, QuoteDraftService } from '@veloce/sdk/core';
|
|
4
|
+
import { Observable } from 'rxjs';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class ShoppingCartService {
|
|
7
|
+
private priceApiService;
|
|
8
|
+
private contextService;
|
|
9
|
+
private quoteService;
|
|
10
|
+
constructor(priceApiService: PriceApiService, contextService: ContextService, quoteService: QuoteDraftService);
|
|
11
|
+
setCartExternally(currentState: LineItem[]): Observable<PriceSummary>;
|
|
12
|
+
getCurrentState(): LineItem[] | undefined;
|
|
13
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ShoppingCartService, never>;
|
|
14
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ShoppingCartService>;
|
|
15
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { Observable } from 'rxjs';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class CollapsibleStateService {
|
|
4
|
+
collapseSectionEvent: Observable<any>;
|
|
5
|
+
private _collapsedSections;
|
|
6
|
+
private collapseSectionSubject;
|
|
7
|
+
constructor();
|
|
8
|
+
toggleCollapse(sectionId: string, silently?: boolean): void;
|
|
9
|
+
collapse(sectionId: string): void;
|
|
10
|
+
expand(sectionId: string): void;
|
|
11
|
+
clearState(sectionId: string): void;
|
|
12
|
+
isCollapsedSection(sectionId: string): boolean;
|
|
13
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CollapsibleStateService, never>;
|
|
14
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<CollapsibleStateService>;
|
|
15
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { ConfigurationApiService } from '@veloce/api';
|
|
2
|
+
import { LineItem } from '@veloce/core';
|
|
3
|
+
import { ContextService, QuoteStates } from '@veloce/sdk/core';
|
|
4
|
+
import { DialogService } from 'primeng/dynamicdialog';
|
|
5
|
+
import { Observable } from 'rxjs';
|
|
6
|
+
import { LegacyRuntimeContext } from '../types';
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
8
|
+
export declare class ConfigurationService {
|
|
9
|
+
private configurationApiService;
|
|
10
|
+
private contextService;
|
|
11
|
+
private dialogService;
|
|
12
|
+
constructor(configurationApiService: ConfigurationApiService, contextService: ContextService, dialogService: DialogService);
|
|
13
|
+
configure(runtimeContext: LegacyRuntimeContext, states: QuoteStates, resolve?: boolean): Observable<LineItem>;
|
|
14
|
+
private createRequest;
|
|
15
|
+
private getDefaultLineItem;
|
|
16
|
+
private showInactiveProductsConfirmation;
|
|
17
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ConfigurationService, never>;
|
|
18
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ConfigurationService>;
|
|
19
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { LineItem } from '@veloce/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class CurrentStateService {
|
|
4
|
+
currentState: LineItem[];
|
|
5
|
+
update(state: LineItem[]): void;
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CurrentStateService, never>;
|
|
7
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<CurrentStateService>;
|
|
8
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { FormGroup } from '@angular/forms';
|
|
2
|
+
import { Observable } from 'rxjs';
|
|
3
|
+
import { UpdateData } from '../types';
|
|
4
|
+
import { ScriptRegistry } from '../types/script-registry.types';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class FormScopeService {
|
|
7
|
+
formSubmitEvent: Observable<UpdateData>;
|
|
8
|
+
scriptRegistry: ScriptRegistry;
|
|
9
|
+
scriptSessionScope: {
|
|
10
|
+
[index: string]: any;
|
|
11
|
+
};
|
|
12
|
+
private formSubmitSubject;
|
|
13
|
+
private _form;
|
|
14
|
+
constructor();
|
|
15
|
+
get form(): FormGroup;
|
|
16
|
+
set form(value: FormGroup);
|
|
17
|
+
publishFormUpdate(value: UpdateData): void;
|
|
18
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FormScopeService, never>;
|
|
19
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<FormScopeService>;
|
|
20
|
+
}
|