@veloceapps/sdk 2.0.18 → 2.0.19
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bundles/veloce-sdk-cms.umd.js +17 -0
- package/bundles/veloce-sdk-cms.umd.js.map +1 -1
- package/bundles/veloce-sdk-runtime.umd.js +2 -3
- package/bundles/veloce-sdk-runtime.umd.js.map +1 -1
- package/bundles/veloce-sdk.umd.js +22 -6
- package/bundles/veloce-sdk.umd.js.map +1 -1
- package/cms/utils/element.utils.d.ts +1 -0
- package/esm2015/cms/utils/element.utils.js +16 -1
- package/esm2015/runtime/execution/directives/vl-quote.directive.js +2 -2
- package/esm2015/runtime/services/quote.service.js +2 -3
- package/esm2015/src/pages/legacy-product/legacy-product.component.js +22 -8
- package/esm2015/src/types/flow-customization.types.js +1 -1
- package/fesm2015/veloce-sdk-cms.js +17 -1
- package/fesm2015/veloce-sdk-cms.js.map +1 -1
- package/fesm2015/veloce-sdk-runtime.js +2 -3
- package/fesm2015/veloce-sdk-runtime.js.map +1 -1
- package/fesm2015/veloce-sdk.js +22 -9
- package/fesm2015/veloce-sdk.js.map +1 -1
- package/package.json +2 -1
- package/src/pages/legacy-product/legacy-product.component.d.ts +5 -2
- package/src/types/flow-customization.types.d.ts +2 -0
|
@@ -1373,7 +1373,7 @@
|
|
|
1373
1373
|
}
|
|
1374
1374
|
QuoteService.prototype.init = function (quoteId, params) {
|
|
1375
1375
|
var _this = this;
|
|
1376
|
-
return rxjs.zip(this.quoteApiService.
|
|
1376
|
+
return rxjs.zip(this.quoteApiService.getQuoteDraft(quoteId, params), this.priceApiService.getPriceLists(), this.contextService.resolve$().pipe(rxjsOperators.filter(Boolean), rxjsOperators.map(function (context) { return context; }))).pipe(rxjsOperators.tap(function (_a) {
|
|
1377
1377
|
var _b = __read(_a, 3), quote = _b[0], priceLists = _b[1], configurationContext = _b[2];
|
|
1378
1378
|
_this.quote.next(quote);
|
|
1379
1379
|
_this.priceLists = priceLists;
|
|
@@ -1413,7 +1413,6 @@
|
|
|
1413
1413
|
type: i0.Injectable,
|
|
1414
1414
|
args: [{ providedIn: 'root' }]
|
|
1415
1415
|
}], ctorParameters: function () { return [{ type: ContextService }, { type: i1__namespace.QuoteApiService }, { type: i1__namespace.PriceApiService }]; } });
|
|
1416
|
-
"";
|
|
1417
1416
|
|
|
1418
1417
|
var ShoppingCartService = /** @class */ (function () {
|
|
1419
1418
|
function ShoppingCartService(priceApiService, contextService, quoteService) {
|
|
@@ -3076,7 +3075,7 @@
|
|
|
3076
3075
|
this.runtimeService = runtimeService;
|
|
3077
3076
|
}
|
|
3078
3077
|
VlQuoteDirective.prototype.getQuote = function (quoteId) {
|
|
3079
|
-
return this.quoteApiService.
|
|
3078
|
+
return this.quoteApiService.getQuoteDraft(quoteId).toPromise();
|
|
3080
3079
|
};
|
|
3081
3080
|
VlQuoteDirective.prototype.upsertQuote = function (quoteDraft) {
|
|
3082
3081
|
return this.quoteApiService.upsertQuote(quoteDraft).toPromise();
|