@veloceapps/sdk 5.0.14-GOOGLE → 5.0.15-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/bundles/{veloce-sdk-cms.umd.js → veloceapps-sdk-cms.umd.js} +149 -81
- package/bundles/veloceapps-sdk-cms.umd.js.map +1 -0
- package/bundles/{veloce-sdk-core.umd.js → veloceapps-sdk-core.umd.js} +765 -543
- package/bundles/veloceapps-sdk-core.umd.js.map +1 -0
- package/bundles/{veloce-sdk-runtime.umd.js → veloceapps-sdk-runtime.umd.js} +213 -146
- package/bundles/veloceapps-sdk-runtime.umd.js.map +1 -0
- package/bundles/{veloce-sdk.umd.js → veloceapps-sdk.umd.js} +225 -154
- package/bundles/veloceapps-sdk.umd.js.map +1 -0
- package/cms/cms.default.d.ts +1 -1
- package/cms/components/element-renderer/element-renderer.component.d.ts +1 -1
- package/cms/components/preview/preview.component.d.ts +1 -1
- package/cms/components/preview/preview.module.d.ts +1 -1
- package/cms/injection-tokens.d.ts +1 -1
- package/cms/launcher.module.d.ts +3 -3
- package/cms/modules/federated/federated.module.d.ts +1 -1
- package/cms/package.json +7 -7
- package/cms/services/launcher.service.d.ts +1 -1
- package/cms/types/configuration.types.d.ts +1 -1
- package/cms/utils/element.utils.d.ts +1 -1
- package/cms/utils/elements-resolver.d.ts +1 -1
- package/{core/veloce-sdk-core.d.ts → cms/veloceapps-sdk-cms.d.ts} +1 -1
- package/cms/vendor-map.d.ts +86 -82
- package/core/modules/configuration/configuration.module.d.ts +1 -1
- package/core/modules/configuration/helpers.d.ts +1 -1
- package/core/modules/configuration/services/configuration-runtime.service.d.ts +3 -3
- package/core/modules/configuration/services/configuration.service.d.ts +4 -3
- package/core/modules/configuration/services/runtime-context.service.d.ts +1 -1
- package/core/modules/configuration/types/configuration-runtime.types.d.ts +1 -1
- package/core/modules/flow-configuration/services/flow-configuration.service.d.ts +5 -4
- package/core/modules/flow-configuration/services/flow-update.service.d.ts +1 -1
- package/core/package.json +7 -7
- package/core/services/context.service.d.ts +2 -2
- package/core/services/index.d.ts +1 -0
- package/core/services/metric-calculation/metric-calculation.service.d.ts +21 -0
- package/core/services/metric-calculation/metric-calculation.types.d.ts +1 -0
- package/core/services/metric-calculation/metric-calculation.utils.d.ts +5 -0
- package/core/services/product-images.service.d.ts +1 -1
- package/core/services/quote-draft.service.d.ts +5 -3
- package/core/types/quote-states.types.d.ts +1 -1
- package/core/types/runtime.types.d.ts +1 -1
- package/core/utils/line-item.utils.d.ts +2 -1
- package/core/utils/line-item.worker.d.ts +1 -1
- package/{runtime/veloce-sdk-runtime.d.ts → core/veloceapps-sdk-core.d.ts} +1 -1
- package/esm2015/cms/cms.default.js +1 -1
- package/esm2015/cms/components/element-children/element-children.component.js +3 -3
- package/esm2015/cms/components/element-children/element-children.module.js +4 -4
- package/esm2015/cms/components/element-renderer/element-renderer.component.js +6 -6
- package/esm2015/cms/components/element-renderer/element-renderer.module.js +4 -4
- package/esm2015/cms/components/plugin.component.js +3 -3
- package/esm2015/cms/components/preview/preview.component.js +6 -6
- package/esm2015/cms/components/preview/preview.module.js +6 -6
- package/esm2015/cms/directives/custom-template.directive.js +3 -3
- package/esm2015/cms/injection-tokens.js +1 -1
- package/esm2015/cms/launcher.module.js +8 -8
- package/esm2015/cms/modules/federated/federated.component.js +4 -4
- package/esm2015/cms/modules/federated/federated.module.js +6 -6
- package/esm2015/cms/plugins/configuration.plugin.js +5 -5
- package/esm2015/cms/plugins/io.plugin.js +3 -3
- package/esm2015/cms/plugins/script.plugin.js +5 -5
- package/esm2015/cms/services/dynamic-module.service.js +3 -3
- package/esm2015/cms/services/element-context.service.js +3 -3
- package/esm2015/cms/services/integration.state.js +3 -3
- package/esm2015/cms/services/io-provider.service.js +3 -3
- package/esm2015/cms/services/launcher.service.js +6 -5
- package/esm2015/cms/services/templates.service.js +3 -3
- package/esm2015/cms/types/configuration.types.js +1 -1
- package/esm2015/cms/utils/element.utils.js +1 -1
- package/esm2015/cms/utils/elements-resolver.js +1 -1
- package/esm2015/cms/veloceapps-sdk-cms.js +5 -0
- package/esm2015/cms/vendor-map.js +9 -12
- package/esm2015/core/core.module.js +7 -7
- package/esm2015/core/modules/configuration/configuration.module.js +7 -7
- package/esm2015/core/modules/configuration/helpers.js +2 -2
- package/esm2015/core/modules/configuration/services/configuration-runtime.service.js +7 -7
- package/esm2015/core/modules/configuration/services/configuration.service.js +13 -12
- package/esm2015/core/modules/configuration/services/runtime-context.service.js +6 -6
- package/esm2015/core/modules/configuration/types/configuration-runtime.types.js +1 -1
- package/esm2015/core/modules/flow-configuration/flow-configuration.module.js +6 -6
- package/esm2015/core/modules/flow-configuration/services/flow-configuration.service.js +18 -10
- package/esm2015/core/modules/flow-configuration/services/flow-update.service.js +5 -5
- package/esm2015/core/services/context.service.js +6 -6
- package/esm2015/core/services/index.js +2 -1
- package/esm2015/core/services/metric-calculation/metric-calculation.service.js +74 -0
- package/esm2015/core/services/metric-calculation/metric-calculation.types.js +2 -0
- package/esm2015/core/services/metric-calculation/metric-calculation.utils.js +42 -0
- package/esm2015/core/services/product-images.service.js +5 -5
- package/esm2015/core/services/quote-draft.service.js +20 -10
- package/esm2015/core/types/quote-states.types.js +1 -1
- package/esm2015/core/types/runtime.types.js +1 -1
- package/esm2015/core/utils/line-item.utils.js +14 -3
- package/esm2015/core/utils/line-item.worker.js +1 -1
- package/esm2015/core/veloceapps-sdk-core.js +5 -0
- package/esm2015/runtime/components/component-preview/component-preview.component.js +7 -7
- package/esm2015/runtime/components/section-renderer/section-renderer.component.js +4 -4
- package/esm2015/runtime/components/ui-runtime/runtime.component.js +8 -8
- package/esm2015/runtime/components/ui-runtime-preview/runtime-preview.component.js +8 -8
- package/esm2015/runtime/execution/components/children-placeholder/children-placeholder.component.js +8 -8
- package/esm2015/runtime/execution/components/context-provider/context-provider.component.js +5 -5
- package/esm2015/runtime/execution/components/execution-section-renderer/execution-section-renderer.component.js +4 -4
- package/esm2015/runtime/execution/components/federated/federated.component.js +4 -4
- package/esm2015/runtime/execution/components/velo-attribute/velo-attribute.component.js +3 -3
- package/esm2015/runtime/execution/components/velo-multiselect/velo-multiselect.component.js +3 -3
- package/esm2015/runtime/execution/components/velo-port-checkbox/velo-port-checkbox.component.js +4 -4
- package/esm2015/runtime/execution/components/velo-port-dropdown/velo-port-dropdown.component.js +6 -6
- package/esm2015/runtime/execution/components/velo-port-radio/velo-port-radio.component.js +4 -4
- package/esm2015/runtime/execution/components/velo-type/velo-type.component.js +5 -5
- package/esm2015/runtime/execution/directives/section-script.directive.js +6 -6
- package/esm2015/runtime/execution/directives/sf-query.directive.js +5 -5
- package/esm2015/runtime/execution/directives/velo-attribute.directive.js +5 -5
- package/esm2015/runtime/execution/directives/velo-port.directive.js +21 -21
- package/esm2015/runtime/execution/directives/vl-approval.directive.js +5 -5
- package/esm2015/runtime/execution/directives/vl-document-attachments.directive.js +5 -5
- package/esm2015/runtime/execution/directives/vl-document-templates.directive.js +5 -5
- package/esm2015/runtime/execution/directives/vl-quote.directive.js +6 -6
- package/esm2015/runtime/execution/directives/vl-ramp.directive.js +6 -6
- package/esm2015/runtime/execution/runtime-execution.module.js +10 -10
- package/esm2015/runtime/runtime.module.js +10 -10
- package/esm2015/runtime/services/cart.service.js +6 -6
- package/esm2015/runtime/services/collapsible-state.service.js +3 -3
- package/esm2015/runtime/services/configuration.service.js +9 -9
- package/esm2015/runtime/services/current-state.service.js +4 -4
- package/esm2015/runtime/services/form-scope.service.js +3 -3
- package/esm2015/runtime/services/product-model-cache.service.js +5 -5
- package/esm2015/runtime/services/runtime-context.service.js +8 -8
- package/esm2015/runtime/services/runtime-form.service.js +5 -5
- package/esm2015/runtime/services/runtime.service.js +6 -6
- package/esm2015/runtime/services/section-helper.service.js +5 -5
- package/esm2015/runtime/services/section-scope.service.js +4 -4
- package/esm2015/runtime/services/section-store.service.js +4 -4
- package/esm2015/runtime/services/section.service.js +9 -9
- package/esm2015/runtime/types/bound-data.types.js +1 -1
- package/esm2015/runtime/types/runtime.types.js +1 -1
- package/esm2015/runtime/types/script-registry.types.js +2 -2
- package/esm2015/runtime/utils/line-item.util.js +2 -2
- package/esm2015/runtime/utils/section.utils.js +2 -2
- package/esm2015/runtime/utils/sections-binder.helper.js +2 -2
- package/esm2015/runtime/veloceapps-sdk-runtime.js +5 -0
- package/esm2015/src/components/dialog/dialog.component.js +3 -3
- package/esm2015/src/components/dialog/dialog.module.js +4 -4
- package/esm2015/src/components/doc-gen/doc-gen.component.js +11 -11
- package/esm2015/src/components/doc-gen/doc-gen.module.js +6 -6
- package/esm2015/src/components/header/cart-overlay/cart-preview.component.js +6 -6
- package/esm2015/src/components/header/cart-overlay/cart-preview.module.js +6 -6
- package/esm2015/src/components/header/header.component.js +10 -10
- package/esm2015/src/components/header/header.module.js +6 -6
- package/esm2015/src/components/header/metrics/metrics.component.js +20 -16
- package/esm2015/src/components/header/metrics/metrics.definitions.js +6 -6
- package/esm2015/src/components/header/metrics/metrics.module.js +6 -6
- package/esm2015/src/flow-routing.module.js +4 -4
- package/esm2015/src/flow.component.js +7 -7
- package/esm2015/src/flow.module.js +9 -9
- package/esm2015/src/guards/context.guard.js +6 -6
- package/esm2015/src/guards/product-unload.guard.js +5 -5
- package/esm2015/src/guards/root.guard.js +3 -3
- package/esm2015/src/pages/catalog/catalog.component.js +10 -10
- package/esm2015/src/pages/catalog/catalog.module.js +7 -7
- package/esm2015/src/pages/debug/debug.component.js +6 -6
- package/esm2015/src/pages/debug/debug.module.js +4 -4
- package/esm2015/src/pages/empty-account/empty-account.component.js +4 -4
- package/esm2015/src/pages/empty-account/empty-account.module.js +7 -7
- package/esm2015/src/pages/legacy-product/legacy-product.component.js +9 -9
- package/esm2015/src/pages/legacy-product/legacy-product.module.js +6 -6
- package/esm2015/src/pages/product/product.component.js +7 -7
- package/esm2015/src/pages/product/product.module.js +7 -7
- package/esm2015/src/pages/record-not-found/record-not-found.component.js +3 -3
- package/esm2015/src/pages/record-not-found/record-not-found.module.js +4 -4
- package/esm2015/src/pages/remote/remote.component.js +10 -10
- package/esm2015/src/pages/remote/remote.module.js +7 -7
- package/esm2015/src/pages/remote/remote.types.js +1 -1
- package/esm2015/src/pages/shopping-cart/shopping-cart.component.js +10 -10
- package/esm2015/src/pages/shopping-cart/shopping-cart.module.js +7 -7
- package/esm2015/src/resolvers/flow.resolver.js +6 -6
- package/esm2015/src/resolvers/quote.resolver.js +14 -14
- package/esm2015/src/services/doc-gen.service.js +6 -6
- package/esm2015/src/services/flow-dialog.service.js +5 -5
- package/esm2015/src/services/flow-router.service.js +6 -6
- package/esm2015/src/services/flow.service.js +7 -7
- package/esm2015/src/types/context-route.types.js +1 -1
- package/esm2015/src/types/flow-customization.types.js +1 -1
- package/esm2015/src/utils/flow.utils.js +2 -2
- package/esm2015/veloceapps-sdk.js +5 -0
- package/fesm2015/{veloce-sdk-cms.js → veloceapps-sdk-cms.js} +77 -79
- package/fesm2015/veloceapps-sdk-cms.js.map +1 -0
- package/fesm2015/{veloce-sdk-core.js → veloceapps-sdk-core.js} +420 -284
- package/fesm2015/veloceapps-sdk-core.js.map +1 -0
- package/fesm2015/{veloce-sdk-runtime.js → veloceapps-sdk-runtime.js} +148 -148
- package/fesm2015/veloceapps-sdk-runtime.js.map +1 -0
- package/fesm2015/{veloce-sdk.js → veloceapps-sdk.js} +163 -159
- package/fesm2015/veloceapps-sdk.js.map +1 -0
- package/package.json +14 -13
- package/runtime/components/component-preview/component-preview.component.d.ts +1 -1
- package/runtime/components/section-renderer/section-renderer.component.d.ts +1 -1
- package/runtime/components/ui-runtime/runtime.component.d.ts +2 -2
- package/runtime/components/ui-runtime-preview/runtime-preview.component.d.ts +3 -3
- package/runtime/execution/components/children-placeholder/children-placeholder.component.d.ts +1 -1
- package/runtime/execution/components/context-provider/context-provider.component.d.ts +2 -2
- package/runtime/execution/components/execution-section-renderer/execution-section-renderer.component.d.ts +1 -1
- package/runtime/execution/components/federated/federated.component.d.ts +1 -1
- package/runtime/execution/components/velo-port-checkbox/velo-port-checkbox.component.d.ts +1 -1
- package/runtime/execution/components/velo-port-dropdown/velo-port-dropdown.component.d.ts +1 -1
- package/runtime/execution/components/velo-port-radio/velo-port-radio.component.d.ts +1 -1
- package/runtime/execution/components/velo-type/velo-type.component.d.ts +1 -1
- package/runtime/execution/directives/section-script.directive.d.ts +1 -1
- package/runtime/execution/directives/sf-query.directive.d.ts +2 -2
- package/runtime/execution/directives/velo-attribute.directive.d.ts +1 -1
- package/runtime/execution/directives/velo-port.directive.d.ts +1 -1
- package/runtime/execution/directives/vl-approval.directive.d.ts +2 -2
- package/runtime/execution/directives/vl-document-attachments.directive.d.ts +2 -2
- package/runtime/execution/directives/vl-document-templates.directive.d.ts +2 -2
- package/runtime/execution/directives/vl-quote.directive.d.ts +2 -2
- package/runtime/execution/directives/vl-ramp.directive.d.ts +3 -3
- package/runtime/execution/runtime-execution.module.d.ts +5 -5
- package/runtime/package.json +7 -7
- package/runtime/runtime.module.d.ts +5 -5
- package/runtime/services/cart.service.d.ts +3 -3
- package/runtime/services/configuration.service.d.ts +3 -3
- package/runtime/services/current-state.service.d.ts +1 -1
- package/runtime/services/product-model-cache.service.d.ts +2 -2
- package/runtime/services/runtime-context.service.d.ts +2 -2
- package/runtime/services/runtime-form.service.d.ts +1 -1
- package/runtime/services/runtime.service.d.ts +2 -2
- package/runtime/services/section-helper.service.d.ts +1 -1
- package/runtime/services/section-scope.service.d.ts +1 -1
- package/runtime/services/section-store.service.d.ts +1 -1
- package/runtime/services/section.service.d.ts +1 -1
- package/runtime/types/bound-data.types.d.ts +1 -1
- package/runtime/types/runtime.types.d.ts +2 -2
- package/runtime/utils/line-item.util.d.ts +1 -1
- package/runtime/utils/section.utils.d.ts +1 -1
- package/runtime/utils/sections-binder.helper.d.ts +1 -1
- package/{veloce-sdk.d.ts → runtime/veloceapps-sdk-runtime.d.ts} +1 -1
- package/src/components/doc-gen/doc-gen.component.d.ts +3 -3
- package/src/components/doc-gen/doc-gen.module.d.ts +1 -1
- package/src/components/header/cart-overlay/cart-preview.component.d.ts +1 -1
- package/src/components/header/cart-overlay/cart-preview.module.d.ts +1 -1
- package/src/components/header/header.component.d.ts +4 -4
- package/src/components/header/header.module.d.ts +1 -1
- package/src/components/header/metrics/metrics.component.d.ts +5 -4
- package/src/components/header/metrics/metrics.definitions.d.ts +1 -1
- package/src/components/header/metrics/metrics.module.d.ts +1 -1
- package/src/flow.component.d.ts +2 -2
- package/src/flow.module.d.ts +4 -4
- package/src/guards/context.guard.d.ts +1 -1
- package/src/guards/product-unload.guard.d.ts +1 -1
- package/src/pages/catalog/catalog.component.d.ts +3 -3
- package/src/pages/catalog/catalog.module.d.ts +2 -2
- package/src/pages/debug/debug.component.d.ts +3 -3
- package/src/pages/empty-account/empty-account.module.d.ts +2 -2
- package/src/pages/legacy-product/legacy-product.component.d.ts +4 -4
- package/src/pages/legacy-product/legacy-product.module.d.ts +1 -1
- package/src/pages/product/product.component.d.ts +1 -1
- package/src/pages/product/product.module.d.ts +2 -2
- package/src/pages/remote/remote.component.d.ts +3 -3
- package/src/pages/remote/remote.module.d.ts +2 -2
- package/src/pages/remote/remote.types.d.ts +1 -1
- package/src/pages/shopping-cart/shopping-cart.component.d.ts +3 -3
- package/src/pages/shopping-cart/shopping-cart.module.d.ts +2 -2
- package/src/resolvers/flow.resolver.d.ts +2 -2
- package/src/resolvers/quote.resolver.d.ts +1 -1
- package/src/services/doc-gen.service.d.ts +1 -1
- package/src/services/flow-dialog.service.d.ts +1 -1
- package/src/services/flow-router.service.d.ts +1 -1
- package/src/services/flow.service.d.ts +2 -2
- package/src/types/context-route.types.d.ts +1 -1
- package/src/types/flow-customization.types.d.ts +2 -2
- package/src/utils/flow.utils.d.ts +1 -1
- package/{cms/veloce-sdk-cms.d.ts → veloceapps-sdk.d.ts} +1 -1
- package/bundles/veloce-sdk-cms.umd.js.map +0 -1
- package/bundles/veloce-sdk-core.umd.js.map +0 -1
- package/bundles/veloce-sdk-runtime.umd.js.map +0 -1
- package/bundles/veloce-sdk.umd.js.map +0 -1
- package/esm2015/cms/veloce-sdk-cms.js +0 -5
- package/esm2015/core/veloce-sdk-core.js +0 -5
- package/esm2015/runtime/veloce-sdk-runtime.js +0 -5
- package/esm2015/veloce-sdk.js +0 -5
- package/fesm2015/veloce-sdk-cms.js.map +0 -1
- package/fesm2015/veloce-sdk-core.js.map +0 -1
- package/fesm2015/veloce-sdk-runtime.js.map +0 -1
- package/fesm2015/veloce-sdk.js.map +0 -1
package/package.json
CHANGED
@@ -1,6 +1,7 @@
|
|
1
1
|
{
|
2
2
|
"name": "@veloceapps/sdk",
|
3
|
-
"version": "5.0.
|
3
|
+
"version": "5.0.15-0",
|
4
|
+
"private": false,
|
4
5
|
"peerDependencies": {
|
5
6
|
"@angular/animations": "^12.2.0",
|
6
7
|
"@angular/common": "^12.2.0",
|
@@ -8,9 +9,9 @@
|
|
8
9
|
"@angular/forms": "^12.2.0",
|
9
10
|
"@angular/platform-browser-dynamic": "^12.2.0",
|
10
11
|
"@angular/platform-browser": "^12.2.0",
|
11
|
-
"@
|
12
|
-
"@
|
13
|
-
"@
|
12
|
+
"@veloceapps/core": "5.0.0",
|
13
|
+
"@veloceapps/api": "5.0.0",
|
14
|
+
"@veloceapps/components": "5.0.0",
|
14
15
|
"ionicons": "^4.6.3",
|
15
16
|
"rxjs": "^7.3.0",
|
16
17
|
"zone.js": "~0.11.4",
|
@@ -25,7 +26,6 @@
|
|
25
26
|
"monaco-editor": "^0.30.1",
|
26
27
|
"@angular/router": "^12.2.0",
|
27
28
|
"jshashes": "^1.0.8",
|
28
|
-
"@veloce/elements": "^1.1.2",
|
29
29
|
"ngx-bootstrap": "^5.6.2"
|
30
30
|
},
|
31
31
|
"dependencies": {
|
@@ -33,17 +33,18 @@
|
|
33
33
|
"@angular/cdk-experimental": "^13.1.0",
|
34
34
|
"@angular/compiler": "^12.2.0",
|
35
35
|
"@babel/standalone": "^7.17.1",
|
36
|
+
"@veloceapps/elements": "^1.1.3-0",
|
36
37
|
"moment": "^2.29.1",
|
37
38
|
"tslib": "^2.2.0"
|
38
39
|
},
|
40
|
+
"sideEffects": false,
|
39
41
|
"publishConfig": {
|
40
|
-
|
42
|
+
"access": "public"
|
41
43
|
},
|
42
|
-
"
|
43
|
-
"
|
44
|
-
"
|
45
|
-
"
|
46
|
-
"
|
47
|
-
"
|
48
|
-
"typings": "veloce-sdk.d.ts"
|
44
|
+
"main": "bundles/veloceapps-sdk.umd.js",
|
45
|
+
"module": "fesm2015/veloceapps-sdk.js",
|
46
|
+
"es2015": "fesm2015/veloceapps-sdk.js",
|
47
|
+
"esm2015": "esm2015/veloceapps-sdk.js",
|
48
|
+
"fesm2015": "fesm2015/veloceapps-sdk.js",
|
49
|
+
"typings": "veloceapps-sdk.d.ts"
|
49
50
|
}
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { ChangeDetectorRef, OnChanges, SimpleChanges } from '@angular/core';
|
2
2
|
import { FormGroup } from '@angular/forms';
|
3
|
-
import { ComponentStoryPreview, Section } from '@
|
3
|
+
import { ComponentStoryPreview, Section } from '@veloceapps/core';
|
4
4
|
import { FormScopeService } from '../../services/form-scope.service';
|
5
5
|
import { RuntimeFormService } from '../../services/runtime-form.service';
|
6
6
|
import { RuntimeService } from '../../services/runtime.service';
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { AfterViewInit, Injector, NgModuleRef, OnDestroy, OnInit, ViewContainerRef } from '@angular/core';
|
2
2
|
import { FormGroup } from '@angular/forms';
|
3
|
-
import { Section } from '@
|
3
|
+
import { Section } from '@veloceapps/core';
|
4
4
|
import { SectionScopeService } from '../../services/section-scope.service';
|
5
5
|
import { SectionStoreService } from '../../services/section-store.service';
|
6
6
|
import * as i0 from "@angular/core";
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import { ChangeDetectorRef, OnDestroy, OnInit } from '@angular/core';
|
2
2
|
import { FormGroup } from '@angular/forms';
|
3
|
-
import { LineItem, OrderByPipe, SearchFilterPipe, Section, UITab } from '@
|
4
|
-
import { ContextService } from '@
|
3
|
+
import { LineItem, OrderByPipe, SearchFilterPipe, Section, UITab } from '@veloceapps/core';
|
4
|
+
import { ContextService } from '@veloceapps/sdk/core';
|
5
5
|
import { MessageService } from 'primeng/api';
|
6
6
|
import { CollapsibleStateService } from '../../services/collapsible-state.service';
|
7
7
|
import { FormScopeService } from '../../services/form-scope.service';
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import { OnDestroy, OnInit } from '@angular/core';
|
2
|
-
import { ConfigurationApiService } from '@
|
3
|
-
import { LineItem, UIDefinition } from '@
|
4
|
-
import { ContextService } from '@
|
2
|
+
import { ConfigurationApiService } from '@veloceapps/api';
|
3
|
+
import { LineItem, UIDefinition } from '@veloceapps/core';
|
4
|
+
import { ContextService } from '@veloceapps/sdk/core';
|
5
5
|
import { ProductModelCacheService } from '../../services/product-model-cache.service';
|
6
6
|
import { RuntimeService } from '../../services/runtime.service';
|
7
7
|
import * as i0 from "@angular/core";
|
package/runtime/execution/components/children-placeholder/children-placeholder.component.d.ts
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
import { OnChanges, OnDestroy, OnInit, SimpleChanges } from '@angular/core';
|
2
2
|
import { FormGroup } from '@angular/forms';
|
3
|
-
import { Section } from '@
|
3
|
+
import { Section } from '@veloceapps/core';
|
4
4
|
import { Subscription } from 'rxjs';
|
5
5
|
import { CollapsibleStateService } from '../../../services/collapsible-state.service';
|
6
6
|
import { FormScopeService } from '../../../services/form-scope.service';
|
@@ -1,11 +1,11 @@
|
|
1
1
|
import { OnInit } from '@angular/core';
|
2
|
-
import {
|
2
|
+
import { RuntimeProduct, RuntimeType } from '@veloceapps/core';
|
3
3
|
import { Dictionary } from 'lodash';
|
4
4
|
import { RuntimeService } from '../../../services/runtime.service';
|
5
5
|
import * as i0 from "@angular/core";
|
6
6
|
export declare class ContextProviderComponent implements OnInit {
|
7
7
|
private runtimeService;
|
8
|
-
types:
|
8
|
+
types: RuntimeType[];
|
9
9
|
products: Dictionary<RuntimeProduct[]>;
|
10
10
|
constructor(runtimeService: RuntimeService);
|
11
11
|
ngOnInit(): void;
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { AfterViewInit, Injector, NgModuleRef, OnDestroy, OnInit, ViewContainerRef } from '@angular/core';
|
2
2
|
import { FormGroup } from '@angular/forms';
|
3
|
-
import { Section } from '@
|
3
|
+
import { Section } from '@veloceapps/core';
|
4
4
|
import { SectionScopeService } from '../../../services/section-scope.service';
|
5
5
|
import { SectionStoreService } from '../../../services/section-store.service';
|
6
6
|
import * as i0 from "@angular/core";
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { AfterViewInit, ApplicationRef, Compiler, ElementRef, Injector, OnChanges, Renderer2, SimpleChanges, TemplateRef, ViewContainerRef } from '@angular/core';
|
2
|
-
import { LineItem } from '@
|
2
|
+
import { LineItem } from '@veloceapps/core';
|
3
3
|
import * as i0 from "@angular/core";
|
4
4
|
declare enum IntegrationEvent {
|
5
5
|
Init = "Init"
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { FormGroup } from '@angular/forms';
|
2
|
-
import { Section } from '@
|
2
|
+
import { Section } from '@veloceapps/core';
|
3
3
|
import { FormScopeService } from '../../../services/form-scope.service';
|
4
4
|
import { SectionScopeService } from '../../../services/section-scope.service';
|
5
5
|
import * as i0 from "@angular/core";
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { FormGroup } from '@angular/forms';
|
2
|
-
import { Section } from '@
|
2
|
+
import { Section } from '@veloceapps/core';
|
3
3
|
import { Dictionary } from 'lodash';
|
4
4
|
import { FormScopeService } from '../../../services/form-scope.service';
|
5
5
|
import { SectionScopeService } from '../../../services/section-scope.service';
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { OnInit } from '@angular/core';
|
2
2
|
import { FormGroup } from '@angular/forms';
|
3
|
-
import { LineItem, RecommendedPrice, Section } from '@
|
3
|
+
import { LineItem, RecommendedPrice, Section } from '@veloceapps/core';
|
4
4
|
import { Dictionary } from 'lodash';
|
5
5
|
import { FormScopeService } from '../../../services/form-scope.service';
|
6
6
|
import { SectionScopeService } from '../../../services/section-scope.service';
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { OnInit } from '@angular/core';
|
2
2
|
import { FormGroup } from '@angular/forms';
|
3
|
-
import { RecommendedPrice, Section } from '@
|
3
|
+
import { RecommendedPrice, Section } from '@veloceapps/core';
|
4
4
|
import { MessageService } from 'primeng/api';
|
5
5
|
import { CollapsibleStateService } from '../../../services/collapsible-state.service';
|
6
6
|
import { FormScopeService } from '../../../services/form-scope.service';
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { AfterViewInit, ChangeDetectorRef, OnDestroy, OnInit, Renderer2 } from '@angular/core';
|
2
2
|
import { FormBuilder } from '@angular/forms';
|
3
|
-
import { ContextService, QuoteDraftService } from '@
|
3
|
+
import { ContextService, QuoteDraftService } from '@veloceapps/sdk/core';
|
4
4
|
import { ShoppingCartService } from '../../services/cart.service';
|
5
5
|
import { CurrentStateService } from '../../services/current-state.service';
|
6
6
|
import { FormScopeService } from '../../services/form-scope.service';
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { HttpParams } from '@angular/common/http';
|
2
|
-
import { SalesforceApiService } from '@
|
3
|
-
import { SearchRequest } from '@
|
2
|
+
import { SalesforceApiService } from '@veloceapps/api';
|
3
|
+
import { SearchRequest } from '@veloceapps/core';
|
4
4
|
import * as i0 from "@angular/core";
|
5
5
|
export declare class SfQueryDirective {
|
6
6
|
private apiService;
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { OnInit } from '@angular/core';
|
2
2
|
import { FormGroup } from '@angular/forms';
|
3
|
-
import { Section } from '@
|
3
|
+
import { Section } from '@veloceapps/core';
|
4
4
|
import { FormScopeService } from '../../services/form-scope.service';
|
5
5
|
import { SectionScopeService } from '../../services/section-scope.service';
|
6
6
|
import * as i0 from "@angular/core";
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { OnInit } from '@angular/core';
|
2
2
|
import { FormGroup } from '@angular/forms';
|
3
|
-
import { LineItem, Section } from '@
|
3
|
+
import { LineItem, Section } from '@veloceapps/core';
|
4
4
|
import { ConfigurationService } from '../../services/configuration.service';
|
5
5
|
import { FormScopeService } from '../../services/form-scope.service';
|
6
6
|
import { SectionScopeService } from '../../services/section-scope.service';
|
@@ -1,5 +1,5 @@
|
|
1
|
-
import { QuoteApiService } from '@
|
2
|
-
import { QuoteDraft } from '@
|
1
|
+
import { QuoteApiService } from '@veloceapps/api';
|
2
|
+
import { QuoteDraft } from '@veloceapps/core';
|
3
3
|
import * as i0 from "@angular/core";
|
4
4
|
export declare class VlApprovalDirective {
|
5
5
|
private repo;
|
@@ -1,5 +1,5 @@
|
|
1
|
-
import { DocumentAttachmentApiService } from '@
|
2
|
-
import { Attachment, TemplateAttachmentSearchRequest } from '@
|
1
|
+
import { DocumentAttachmentApiService } from '@veloceapps/api';
|
2
|
+
import { Attachment, TemplateAttachmentSearchRequest } from '@veloceapps/core';
|
3
3
|
import { Observable } from 'rxjs';
|
4
4
|
import * as i0 from "@angular/core";
|
5
5
|
export declare class VlDocumentAttachmentsDirective {
|
@@ -1,5 +1,5 @@
|
|
1
|
-
import { DocumentTemplatesApiService } from '@
|
2
|
-
import { Attachment, DocumentTemplate, QuoteDraft, TemplateAttachmentSearchRequest } from '@
|
1
|
+
import { DocumentTemplatesApiService } from '@veloceapps/api';
|
2
|
+
import { Attachment, DocumentTemplate, QuoteDraft, TemplateAttachmentSearchRequest } from '@veloceapps/core';
|
3
3
|
import { Observable } from 'rxjs';
|
4
4
|
import * as i0 from "@angular/core";
|
5
5
|
export declare class VlDocumentTemplatesDirective {
|
@@ -1,5 +1,5 @@
|
|
1
|
-
import { QuoteApiService } from '@
|
2
|
-
import { QuoteDraft } from '@
|
1
|
+
import { QuoteApiService } from '@veloceapps/api';
|
2
|
+
import { QuoteDraft } from '@veloceapps/core';
|
3
3
|
import { RuntimeService } from '../../services/runtime.service';
|
4
4
|
import * as i0 from "@angular/core";
|
5
5
|
export declare class VlQuoteDirective {
|
@@ -1,6 +1,6 @@
|
|
1
|
-
import { PriceApiService, RampApiService } from '@
|
2
|
-
import { LineItem } from '@
|
3
|
-
import { ContextService } from '@
|
1
|
+
import { PriceApiService, RampApiService } from '@veloceapps/api';
|
2
|
+
import { LineItem } from '@veloceapps/core';
|
3
|
+
import { ContextService } from '@veloceapps/sdk/core';
|
4
4
|
import * as i0 from "@angular/core";
|
5
5
|
export declare class VlRampDirective {
|
6
6
|
private contextService;
|
@@ -14,12 +14,12 @@ import * as i12 from "./components/federated/federated.component";
|
|
14
14
|
import * as i13 from "./components/context-provider/context-provider.component";
|
15
15
|
import * as i14 from "@angular/common";
|
16
16
|
import * as i15 from "@angular/forms";
|
17
|
-
import * as i16 from "@
|
18
|
-
import * as i17 from "@
|
19
|
-
import * as i18 from "@
|
17
|
+
import * as i16 from "@veloceapps/core";
|
18
|
+
import * as i17 from "@veloceapps/api";
|
19
|
+
import * as i18 from "@veloceapps/elements";
|
20
20
|
import * as i19 from "ngx-bootstrap/popover";
|
21
|
-
import * as i20 from "@
|
22
|
-
import * as i21 from "@
|
21
|
+
import * as i20 from "@veloceapps/components";
|
22
|
+
import * as i21 from "@veloceapps/sdk/core";
|
23
23
|
export declare class RuntimeExecutionModule {
|
24
24
|
static ɵfac: i0.ɵɵFactoryDeclaration<RuntimeExecutionModule, never>;
|
25
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]>;
|
package/runtime/package.json
CHANGED
@@ -1,10 +1,10 @@
|
|
1
1
|
{
|
2
|
-
"name": "@
|
2
|
+
"name": "@veloceapps/sdk/runtime",
|
3
3
|
"sideEffects": false,
|
4
|
-
"main": "../bundles/
|
5
|
-
"module": "../fesm2015/
|
6
|
-
"es2015": "../fesm2015/
|
7
|
-
"esm2015": "../esm2015/runtime/
|
8
|
-
"fesm2015": "../fesm2015/
|
9
|
-
"typings": "
|
4
|
+
"main": "../bundles/veloceapps-sdk-runtime.umd.js",
|
5
|
+
"module": "../fesm2015/veloceapps-sdk-runtime.js",
|
6
|
+
"es2015": "../fesm2015/veloceapps-sdk-runtime.js",
|
7
|
+
"esm2015": "../esm2015/runtime/veloceapps-sdk-runtime.js",
|
8
|
+
"fesm2015": "../fesm2015/veloceapps-sdk-runtime.js",
|
9
|
+
"typings": "veloceapps-sdk-runtime.d.ts"
|
10
10
|
}
|
@@ -5,12 +5,12 @@ import * as i3 from "./components/section-renderer/section-renderer.component";
|
|
5
5
|
import * as i4 from "./components/component-preview/component-preview.component";
|
6
6
|
import * as i5 from "@angular/common";
|
7
7
|
import * as i6 from "@angular/forms";
|
8
|
-
import * as i7 from "@
|
9
|
-
import * as i8 from "@
|
10
|
-
import * as i9 from "@
|
8
|
+
import * as i7 from "@veloceapps/core";
|
9
|
+
import * as i8 from "@veloceapps/api";
|
10
|
+
import * as i9 from "@veloceapps/elements";
|
11
11
|
import * as i10 from "ngx-bootstrap/popover";
|
12
|
-
import * as i11 from "@
|
13
|
-
import * as i12 from "@
|
12
|
+
import * as i11 from "@veloceapps/components";
|
13
|
+
import * as i12 from "@veloceapps/sdk/core";
|
14
14
|
export declare class RuntimeModule {
|
15
15
|
static ɵfac: i0.ɵɵFactoryDeclaration<RuntimeModule, never>;
|
16
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]>;
|
@@ -1,6 +1,6 @@
|
|
1
|
-
import { PriceApiService } from '@
|
2
|
-
import { LineItem, PriceSummary } from '@
|
3
|
-
import { ContextService, QuoteDraftService } from '@
|
1
|
+
import { PriceApiService } from '@veloceapps/api';
|
2
|
+
import { LineItem, PriceSummary } from '@veloceapps/core';
|
3
|
+
import { ContextService, QuoteDraftService } from '@veloceapps/sdk/core';
|
4
4
|
import { Observable } from 'rxjs';
|
5
5
|
import * as i0 from "@angular/core";
|
6
6
|
export declare class ShoppingCartService {
|
@@ -1,6 +1,6 @@
|
|
1
|
-
import { ConfigurationApiService } from '@
|
2
|
-
import { LineItem } from '@
|
3
|
-
import { ContextService, QuoteStates } from '@
|
1
|
+
import { ConfigurationApiService } from '@veloceapps/api';
|
2
|
+
import { LineItem } from '@veloceapps/core';
|
3
|
+
import { ContextService, QuoteStates } from '@veloceapps/sdk/core';
|
4
4
|
import { DialogService } from 'primeng/dynamicdialog';
|
5
5
|
import { Observable } from 'rxjs';
|
6
6
|
import { LegacyRuntimeContext } from '../types';
|
@@ -1,5 +1,5 @@
|
|
1
|
-
import { ProductModelApiService } from '@
|
2
|
-
import { ProductModelsContainer } from '@
|
1
|
+
import { ProductModelApiService } from '@veloceapps/api';
|
2
|
+
import { ProductModelsContainer } from '@veloceapps/core';
|
3
3
|
import { Observable } from 'rxjs';
|
4
4
|
import * as i0 from "@angular/core";
|
5
5
|
export declare class ProductModelCacheService {
|
@@ -1,5 +1,5 @@
|
|
1
|
-
import { ConfigurationApiService } from '@
|
2
|
-
import { ContextService } from '@
|
1
|
+
import { ConfigurationApiService } from '@veloceapps/api';
|
2
|
+
import { ContextService } from '@veloceapps/sdk/core';
|
3
3
|
import { MessageService } from 'primeng/api';
|
4
4
|
import { Observable } from 'rxjs';
|
5
5
|
import { LegacyRuntimeContext } from '../types';
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { HttpErrorResponse } from '@angular/common/http';
|
2
|
-
import { LineItem, UIDefinition } from '@
|
3
|
-
import { ContextService, QuoteStates } from '@
|
2
|
+
import { LineItem, UIDefinition } from '@veloceapps/core';
|
3
|
+
import { ContextService, QuoteStates } from '@veloceapps/sdk/core';
|
4
4
|
import { MessageService } from 'primeng/api';
|
5
5
|
import { LegacyRuntimeContext } from '../types';
|
6
6
|
import { ConfigurationService } from './configuration.service';
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import '@angular/compiler';
|
2
2
|
import { Compiler, NgModuleRef, QueryList, TemplateRef } from '@angular/core';
|
3
3
|
import { FormGroup } from '@angular/forms';
|
4
|
-
import { Section } from '@
|
4
|
+
import { Section } from '@veloceapps/core';
|
5
5
|
import { SectionStoreService } from './section-store.service';
|
6
6
|
import * as i0 from "@angular/core";
|
7
7
|
export declare class BaseSectionComponent {
|
@@ -1,5 +1,5 @@
|
|
1
|
-
import { LineItem, UIDefinition } from '@
|
2
|
-
import { RuntimeContext } from '@
|
1
|
+
import { LineItem, UIDefinition } from '@veloceapps/core';
|
2
|
+
import { RuntimeContext } from '@veloceapps/sdk/core';
|
3
3
|
import { Dictionary } from 'lodash';
|
4
4
|
export interface SolutionReadyAware {
|
5
5
|
onSolutionReady(lineItem: LineItem): void;
|
@@ -1,2 +1,2 @@
|
|
1
|
-
import { Section } from '@
|
1
|
+
import { Section } from '@veloceapps/core';
|
2
2
|
export declare const getSectionTree: (src: Section[]) => Section[];
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { LineItem, RuntimeModel, Section } from '@
|
1
|
+
import { LineItem, RuntimeModel, Section } from '@veloceapps/core';
|
2
2
|
export declare class SectionsBinderHelper {
|
3
3
|
static setLineItemsPath(runtimeModel: RuntimeModel, rootLineItem: LineItem, sections: Section[], sourceSections: Section[], filterFn: any, pricingEnabled: boolean): Section[];
|
4
4
|
static isAddAllowed(model: LineItem, portName: string, quantityToAdd?: number): boolean;
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import { OnDestroy } from '@angular/core';
|
2
|
-
import { UITemplatesApiService } from '@
|
3
|
-
import { ToastService } from '@
|
4
|
-
import { ContextService, QuoteDraftService, UIDefinition } from '@
|
2
|
+
import { UITemplatesApiService } from '@veloceapps/api';
|
3
|
+
import { ToastService } from '@veloceapps/components';
|
4
|
+
import { ContextService, QuoteDraftService, UIDefinition } from '@veloceapps/sdk/core';
|
5
5
|
import { BehaviorSubject, Observable } from 'rxjs';
|
6
6
|
import { FlowDocGenService } from '../../services/doc-gen.service';
|
7
7
|
import * as i0 from "@angular/core";
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import * as i0 from "@angular/core";
|
2
2
|
import * as i1 from "./doc-gen.component";
|
3
3
|
import * as i2 from "@angular/common";
|
4
|
-
import * as i3 from "@
|
4
|
+
import * as i3 from "@veloceapps/sdk/cms";
|
5
5
|
export declare class DocGenModule {
|
6
6
|
static ɵfac: i0.ɵɵFactoryDeclaration<DocGenModule, never>;
|
7
7
|
static ɵmod: i0.ɵɵNgModuleDeclaration<DocGenModule, [typeof i1.DocGenComponent], [typeof i2.CommonModule, typeof i3.PreviewModule], [typeof i1.DocGenComponent]>;
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { AfterViewInit, OnChanges, OnDestroy, SimpleChanges } from '@angular/core';
|
2
2
|
import { FormGroup } from '@angular/forms';
|
3
|
-
import { FlowConfigurationService, ProductImagesService, QuoteDraftService } from '@
|
3
|
+
import { FlowConfigurationService, ProductImagesService, QuoteDraftService } from '@veloceapps/sdk/core';
|
4
4
|
import { OverlayPanel } from 'primeng/overlaypanel';
|
5
5
|
import { Observable } from 'rxjs';
|
6
6
|
import { FlowRouterService } from '../../../services/flow-router.service';
|
@@ -4,7 +4,7 @@ import * as i2 from "@angular/common";
|
|
4
4
|
import * as i3 from "@angular/forms";
|
5
5
|
import * as i4 from "primeng/button";
|
6
6
|
import * as i5 from "primeng/overlaypanel";
|
7
|
-
import * as i6 from "@
|
7
|
+
import * as i6 from "@veloceapps/components";
|
8
8
|
import * as i7 from "primeng/inputnumber";
|
9
9
|
import * as i8 from "primeng/virtualscroller";
|
10
10
|
export declare class CartPreviewModule {
|
@@ -1,8 +1,8 @@
|
|
1
1
|
import { OnDestroy, OnInit } from '@angular/core';
|
2
|
-
import { QuoteApiService, SalesforceApiService } from '@
|
3
|
-
import { ContextProperties, PriceList } from '@
|
4
|
-
import { IntegrationState } from '@
|
5
|
-
import { ContextService, FlowConfigurationService, QuoteDraftService } from '@
|
2
|
+
import { QuoteApiService, SalesforceApiService } from '@veloceapps/api';
|
3
|
+
import { ContextProperties, PriceList } from '@veloceapps/core';
|
4
|
+
import { IntegrationState } from '@veloceapps/sdk/cms';
|
5
|
+
import { ContextService, FlowConfigurationService, QuoteDraftService } from '@veloceapps/sdk/core';
|
6
6
|
import { MenuItem } from 'primeng/api';
|
7
7
|
import { BehaviorSubject, Observable } from 'rxjs';
|
8
8
|
import { FlowDialogService } from '../../services/flow-dialog.service';
|
@@ -2,7 +2,7 @@ import * as i0 from "@angular/core";
|
|
2
2
|
import * as i1 from "./header.component";
|
3
3
|
import * as i2 from "@angular/common";
|
4
4
|
import * as i3 from "primeng/overlaypanel";
|
5
|
-
import * as i4 from "@
|
5
|
+
import * as i4 from "@veloceapps/components";
|
6
6
|
import * as i5 from "primeng/tooltip";
|
7
7
|
import * as i6 from "primeng/button";
|
8
8
|
import * as i7 from "./cart-overlay/cart-preview.module";
|
@@ -1,15 +1,16 @@
|
|
1
|
+
import { CdkDragDrop } from '@angular/cdk/drag-drop';
|
1
2
|
import { ChangeDetectorRef, OnDestroy, OnInit } from '@angular/core';
|
2
3
|
import { FormControl } from '@angular/forms';
|
3
|
-
import {
|
4
|
+
import { IntegrationState, Metric } from '@veloceapps/sdk/cms';
|
5
|
+
import { ContextService, MetricsCalculationService, QuoteDraftService } from '@veloceapps/sdk/core';
|
4
6
|
import { OverlayPanel } from 'primeng/overlaypanel';
|
5
|
-
import { ContextService, QuoteDraftService } from '@veloce/sdk/core';
|
6
|
-
import { IntegrationState, Metric } from '@veloce/sdk/cms';
|
7
7
|
import * as i0 from "@angular/core";
|
8
8
|
export declare class MetricsComponent implements OnInit, OnDestroy {
|
9
9
|
private integrationState;
|
10
10
|
private contextService;
|
11
11
|
private quoteDraftService;
|
12
12
|
private cdr;
|
13
|
+
private metricsCalculationService;
|
13
14
|
overlayPanel: OverlayPanel;
|
14
15
|
emptyStateMetrics: {
|
15
16
|
name: string;
|
@@ -28,7 +29,7 @@ export declare class MetricsComponent implements OnInit, OnDestroy {
|
|
28
29
|
private metricKeys;
|
29
30
|
private lastSavedMetrics;
|
30
31
|
private destroyed$;
|
31
|
-
constructor(integrationState: IntegrationState, contextService: ContextService, quoteDraftService: QuoteDraftService, cdr: ChangeDetectorRef);
|
32
|
+
constructor(integrationState: IntegrationState, contextService: ContextService, quoteDraftService: QuoteDraftService, cdr: ChangeDetectorRef, metricsCalculationService: MetricsCalculationService);
|
32
33
|
ngOnInit(): void;
|
33
34
|
ngOnDestroy(): void;
|
34
35
|
openSidebar(): void;
|
@@ -8,7 +8,7 @@ import * as i6 from "primeng/overlaypanel";
|
|
8
8
|
import * as i7 from "primeng/sidebar";
|
9
9
|
import * as i8 from "primeng/inputtext";
|
10
10
|
import * as i9 from "primeng/checkbox";
|
11
|
-
import * as i10 from "@
|
11
|
+
import * as i10 from "@veloceapps/components";
|
12
12
|
import * as i11 from "primeng/virtualscroller";
|
13
13
|
export declare class MetricsModule {
|
14
14
|
static ɵfac: i0.ɵɵFactoryDeclaration<MetricsModule, never>;
|
package/src/flow.component.d.ts
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
import { OnDestroy, OnInit } from '@angular/core';
|
2
|
-
import {
|
3
|
-
import {
|
2
|
+
import { IntegrationState } from '@veloceapps/sdk/cms';
|
3
|
+
import { QuoteDraftService } from '@veloceapps/sdk/core';
|
4
4
|
import { Observable } from 'rxjs';
|
5
5
|
import { FlowService } from './services';
|
6
6
|
import { FlowDocGenService } from './services/doc-gen.service';
|