ng-inail-common 1.0.423 → 1.0.424

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.
@@ -2470,10 +2470,13 @@
2470
2470
  this.valueValue = val;
2471
2471
  this.valueChange.emit(this.valueValue);
2472
2472
  /** @type {?} */
2473
- var optionSelected = this.options.find(( /**
2474
- * @param {?} opt
2475
- * @return {?}
2476
- */function (opt) { return opt != undefined && opt.value === _this.valueValue; }));
2473
+ var optionSelected;
2474
+ if (this.options) {
2475
+ optionSelected = this.options.find(( /**
2476
+ * @param {?} opt
2477
+ * @return {?}
2478
+ */function (opt) { return opt != undefined && opt.value === _this.valueValue; }));
2479
+ }
2477
2480
  if (optionSelected != undefined || isEmptyOrNull(val)) {
2478
2481
  this.select.emit(optionSelected);
2479
2482
  }
@@ -9853,7 +9856,7 @@
9853
9856
  RadioSelectComponent.decorators = [
9854
9857
  { type: i0.Component, args: [{
9855
9858
  selector: 'inail-radio-select',
9856
- template: "<div [id]='id' class=\"col-lg-{{lg}} col-md-{{md}} col-sm-{{sm}} col-xs-{{xs}} {{class}} noPadding inail-radio-select\">\n <fieldset class=\"form-group col-xs-12 noPaddingLeft\">\n <legend class=\"radio-legend\"\n [hidden]=\"hiddenLabel\"\n [innerHTML]=\"label?.concat(required ? ' '+(requiredSimbol || '*') : '')\"></legend>\n <div class=\"radio {{inline === true ? 'inline' : ''}}\" *ngFor=\"let option of options\">\n <label [for]=\"option?.id\">\n <input [id]=\"option?.id\"\n type=\"radio\"\n class=\"{{inputClass}} {{option?.class}}\"\n [attr.name]=\"name\"\n [disabled]=\"disabled\"\n [attr.aria-required]=\"required === true ? true : undefined\"\n [attr.aria-invalid]=\"checkError() === true ? true : undefined\"\n [attr.aria-describedBy]=\"checkDescError() ? id+'-description-error' : undefined\"\n [value]=\"option?.value\"\n [title]=\"title\"\n [(ngModel)]=\"value\">\n <span [innerHTML]=\"option?.label\"></span>\n </label>\n </div>\n <div *ngIf=\"checkDescError()\">\n <span [id]=\"id+'-description-error'\" class=\"msg msg-errore\">\n <strong [innerHTML]=\"(errorPrefix===false ? '' : 'ERRORE: ')+getDescError()\"></strong>\n </span>\n </div>\n </fieldset>\n</div>\n",
9859
+ template: "<div [id]='id' class=\"col-lg-{{lg}} col-md-{{md}} col-sm-{{sm}} col-xs-{{xs}} {{class}} noPadding inail-radio-select\">\n <fieldset class=\"form-group col-xs-12 noPaddingLeft\">\n <legend class=\"radio-legend\"\n [hidden]=\"hiddenLabel\"\n [innerHTML]=\"label?.concat(required ? ' '+(requiredSimbol || '*') : '')\"></legend>\n <div class=\"radio {{inline === true ? 'inline' : ''}}\" *ngFor=\"let option of options\">\n <label [for]=\"option?.id\">\n <input [id]=\"option?.id\"\n type=\"radio\"\n class=\"{{inputClass}} {{option?.class}}\"\n [name]=\"name\"\n [disabled]=\"disabled\"\n [attr.aria-required]=\"required === true ? true : undefined\"\n [attr.aria-invalid]=\"checkError() === true ? true : undefined\"\n [attr.aria-describedBy]=\"checkDescError() ? id+'-description-error' : undefined\"\n [value]=\"option?.value\"\n [title]=\"title\"\n [(ngModel)]=\"value\">\n <span [innerHTML]=\"option?.label\"></span>\n </label>\n </div>\n <div *ngIf=\"checkDescError()\">\n <span [id]=\"id+'-description-error'\" class=\"msg msg-errore\">\n <strong [innerHTML]=\"(errorPrefix===false ? '' : 'ERRORE: ')+getDescError()\"></strong>\n </span>\n </div>\n </fieldset>\n</div>\n",
9857
9860
  encapsulation: i0.ViewEncapsulation.None,
9858
9861
  styles: [".inail-radio-select .radio.inline{display:inline-block;margin-right:20px}"]
9859
9862
  }] }