@veloceapps/sdk 2.0.20 → 2.0.22

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.
@@ -1037,7 +1037,7 @@
1037
1037
  INT: i7.TypeValidators.integerValidator(),
1038
1038
  'DOUBLE|DECIMAL': i7.TypeValidators.decimalValidator(10),
1039
1039
  };
1040
- ___namespace.keys(primitiveTypesValidators).forEach(function (types) {
1040
+ _.keys(primitiveTypesValidators).forEach(function (types) {
1041
1041
  if (types.match(attribute.type)) {
1042
1042
  var validator = primitiveTypesValidators[types];
1043
1043
  validators.push(validator);
@@ -1047,10 +1047,10 @@
1047
1047
  var sectionLabel_1 = section.label;
1048
1048
  var intervalValidator = function (control) {
1049
1049
  var _a;
1050
- if (___namespace.isUndefined(control.value) || ___namespace.isNull(control.value) || isNaN(+control.value)) {
1050
+ if (_.isUndefined(control.value) || _.isNull(control.value) || isNaN(+control.value)) {
1051
1051
  return { interval: { message: sectionLabel_1 + ' is not in domain' } };
1052
1052
  }
1053
- if (!___namespace.isUndefined(control.value) && ___namespace.isString(control.value) && control.value.length === 0) {
1053
+ if (!_.isUndefined(control.value) && _.isString(control.value) && control.value.length === 0) {
1054
1054
  return null;
1055
1055
  }
1056
1056
  var attributeDomain = (_a = section.model) === null || _a === void 0 ? void 0 : _a.attributeDomains[section.boundData.name];
@@ -3130,15 +3130,13 @@
3130
3130
  .toPromise();
3131
3131
  };
3132
3132
  VlRampDirective.prototype.calculateRampTermByEndDate = function (lineItem, endDate) {
3133
- var _a;
3134
3133
  return this.priceApiService
3135
- .getSellingTermByEndDate(lineItem.planId, (_a = lineItem.offeringId) !== null && _a !== void 0 ? _a : '', lineItem.startDate, endDate, lineItem.sellingFrequencyUnit, lineItem.sellingFrequencyDuration)
3134
+ .getSellingTermByEndDate(lineItem.planId, lineItem.offeringId, lineItem.startDate, endDate, lineItem.sellingFrequencyUnit, lineItem.sellingFrequencyDuration)
3136
3135
  .toPromise();
3137
3136
  };
3138
3137
  VlRampDirective.prototype.calculateRampTermByTerm = function (lineItem, term) {
3139
- var _a;
3140
3138
  return this.priceApiService
3141
- .getSellingTermByTerm(lineItem.planId, (_a = lineItem.offeringId) !== null && _a !== void 0 ? _a : '', lineItem.startDate, term, lineItem.sellingFrequencyUnit, lineItem.sellingFrequencyDuration)
3139
+ .getSellingTermByTerm(lineItem.planId, lineItem.offeringId, lineItem.startDate, term, lineItem.sellingFrequencyUnit, lineItem.sellingFrequencyDuration)
3142
3140
  .toPromise();
3143
3141
  };
3144
3142
  return VlRampDirective;
@@ -3589,7 +3587,7 @@
3589
3587
  return DynamicModule;
3590
3588
  };
3591
3589
  SectionsService.prototype.applySelectorField = function (target, dynamicSelector) {
3592
- ___namespace.set(target, '$$dynamicSelector', dynamicSelector);
3590
+ _.set(target, '$$dynamicSelector', dynamicSelector);
3593
3591
  };
3594
3592
  SectionsService.prototype.getUniqueSections = function (sections) {
3595
3593
  var uniqueSections = {};
@@ -3604,7 +3602,7 @@
3604
3602
  uniqueSections[section.hash] = section;
3605
3603
  }
3606
3604
  });
3607
- return ___namespace.values(uniqueSections);
3605
+ return _.values(uniqueSections);
3608
3606
  };
3609
3607
  SectionsService.prototype.getTranspiledTemplate = function (section) {
3610
3608
  var template = section.template ? atob(section.template) : '';