@veloceapps/sdk 3.0.9 → 3.0.10
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 +5 -4
- package/bundles/veloce-sdk-cms.umd.js.map +1 -1
- package/bundles/veloce-sdk-runtime.umd.js +5 -1
- package/bundles/veloce-sdk-runtime.umd.js.map +1 -1
- package/cms/modules/flow-configuration/services/flow-update.service.d.ts +1 -1
- package/cms/modules/flow-configuration/types/update.types.d.ts +1 -1
- package/esm2015/cms/modules/flow-configuration/services/flow-update.service.js +5 -5
- package/esm2015/cms/modules/flow-configuration/types/update.types.js +1 -1
- package/esm2015/cms/vendor-map.js +3 -2
- package/esm2015/runtime/execution/directives/vl-ramp.directive.js +6 -2
- package/fesm2015/veloce-sdk-cms.js +6 -5
- package/fesm2015/veloce-sdk-cms.js.map +1 -1
- package/fesm2015/veloce-sdk-runtime.js +5 -1
- package/fesm2015/veloce-sdk-runtime.js.map +1 -1
- package/package.json +1 -1
|
@@ -1784,8 +1784,8 @@
|
|
|
1784
1784
|
switch (params.attributeType) {
|
|
1785
1785
|
case 'QTY':
|
|
1786
1786
|
return this.updateQty(rootLineItem, params);
|
|
1787
|
-
case '
|
|
1788
|
-
return this.
|
|
1787
|
+
case 'EFFECTIVE_START_DATE':
|
|
1788
|
+
return this.updateEffectiveStartDate(rootLineItem, params);
|
|
1789
1789
|
case 'END_DATE':
|
|
1790
1790
|
return this.updateEndDate(rootLineItem, params);
|
|
1791
1791
|
case 'PRICE_ADJUSTMENT':
|
|
@@ -1813,12 +1813,12 @@
|
|
|
1813
1813
|
var updated = new LineItemWorker(rootLineItem).replace(Object.assign(Object.assign({}, lineItem), { qty: params.newValue }));
|
|
1814
1814
|
return updated.li;
|
|
1815
1815
|
};
|
|
1816
|
-
FlowUpdateService.prototype.
|
|
1816
|
+
FlowUpdateService.prototype.updateEffectiveStartDate = function (rootLineItem, params) {
|
|
1817
1817
|
var lineItem = findLineItem(params.id, [rootLineItem]);
|
|
1818
1818
|
if (!lineItem) {
|
|
1819
1819
|
return rootLineItem;
|
|
1820
1820
|
}
|
|
1821
|
-
var updated = new LineItemWorker(rootLineItem).replace(Object.assign(Object.assign({}, lineItem), {
|
|
1821
|
+
var updated = new LineItemWorker(rootLineItem).replace(Object.assign(Object.assign({}, lineItem), { effectiveStartDate: moment__default["default"](params.newValue).format('YYYY-MM-DD') }));
|
|
1822
1822
|
return updated.li;
|
|
1823
1823
|
};
|
|
1824
1824
|
FlowUpdateService.prototype.updateEndDate = function (rootLineItem, params) {
|
|
@@ -2079,6 +2079,7 @@
|
|
|
2079
2079
|
QuoteApiService: i1.QuoteApiService,
|
|
2080
2080
|
DocumentTemplatesApiService: i1.DocumentTemplatesApiService,
|
|
2081
2081
|
DocumentAttachmentApiService: i1.DocumentAttachmentApiService,
|
|
2082
|
+
RampApiService: i1.RampApiService,
|
|
2082
2083
|
},
|
|
2083
2084
|
'@angular/core': i0__namespace,
|
|
2084
2085
|
'@angular/forms': angularForms__namespace,
|