@veloceapps/sdk 2.0.20 → 2.0.21

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,9 +3130,8 @@
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) {
@@ -3589,7 +3588,7 @@
3589
3588
  return DynamicModule;
3590
3589
  };
3591
3590
  SectionsService.prototype.applySelectorField = function (target, dynamicSelector) {
3592
- ___namespace.set(target, '$$dynamicSelector', dynamicSelector);
3591
+ _.set(target, '$$dynamicSelector', dynamicSelector);
3593
3592
  };
3594
3593
  SectionsService.prototype.getUniqueSections = function (sections) {
3595
3594
  var uniqueSections = {};
@@ -3604,7 +3603,7 @@
3604
3603
  uniqueSections[section.hash] = section;
3605
3604
  }
3606
3605
  });
3607
- return ___namespace.values(uniqueSections);
3606
+ return _.values(uniqueSections);
3608
3607
  };
3609
3608
  SectionsService.prototype.getTranspiledTemplate = function (section) {
3610
3609
  var template = section.template ? atob(section.template) : '';