ngx-smz-ui 3.1.4 → 3.1.5

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.
@@ -7278,10 +7278,15 @@
7278
7278
  SmzCloneTableItemsPipe.prototype.getBigger = function (items, log) {
7279
7279
  var _this = this;
7280
7280
  var mapped = items
7281
- .map(function (x) { return x === null || x === void 0 ? void 0 : x.trim(); })
7281
+ .map(function (x) {
7282
+ if (x == null || isArray(x)) {
7283
+ return x;
7284
+ }
7285
+ return x == null ? x : x === null || x === void 0 ? void 0 : x.trim();
7286
+ })
7282
7287
  .map(function (x) {
7283
7288
  var _a, _b;
7284
- var multipleLines = x === null || x === void 0 ? void 0 : x.split('<br>');
7289
+ var multipleLines = (x == null || isArray(x)) ? [] : x === null || x === void 0 ? void 0 : x.split('<br>');
7285
7290
  // if (log) {
7286
7291
  // console.log('-----------')
7287
7292
  // console.log('map x', x);
@@ -10082,12 +10087,10 @@
10082
10087
  }(SmzFormInputBuilder));
10083
10088
  var SmzFormInputValidatorBuilder = /** @class */ (function () {
10084
10089
  function SmzFormInputValidatorBuilder(_inputBuilder, _input) {
10085
- var _a, _b, _c, _d;
10086
10090
  this._inputBuilder = _inputBuilder;
10087
10091
  this._input = _input;
10088
10092
  _input.validatorsPreset = {};
10089
- (_b = (_a = _input.advancedSettings) === null || _a === void 0 ? void 0 : _a.validators) !== null && _b !== void 0 ? _b : [];
10090
- (_d = (_c = _input.advancedSettings) === null || _c === void 0 ? void 0 : _c.validationMessages) !== null && _d !== void 0 ? _d : [];
10093
+ _input.advancedSettings = Object.assign({ validators: [], validationMessages: [] }, _input.advancedSettings);
10091
10094
  }
10092
10095
  SmzFormInputValidatorBuilder.prototype.required = function () {
10093
10096
  this._input.validatorsPreset.isRequired = true;