@main-class/componentes 1.17.1 → 1.18.1

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.
@@ -4201,6 +4201,7 @@
4201
4201
  var _this = _super.call(this, errorStateMatcher, ngControl, parentForm, parentFormGroup) || this;
4202
4202
  _this.preferredContries = ['br'];
4203
4203
  _this.blur = new i0.EventEmitter();
4204
+ _this.alwaysShowCountry = false;
4204
4205
  return _this;
4205
4206
  }
4206
4207
  Object.defineProperty(InputTelefoneInternacionalComponent.prototype, "value", {
@@ -4217,7 +4218,7 @@
4217
4218
  });
4218
4219
  Object.defineProperty(InputTelefoneInternacionalComponent.prototype, "shouldLabelFloat", {
4219
4220
  get: function () {
4220
- return this.focused || !this.empty;
4221
+ return this.focused || !this.empty || this.alwaysShowCountry;
4221
4222
  },
4222
4223
  enumerable: false,
4223
4224
  configurable: true
@@ -4246,7 +4247,7 @@
4246
4247
  InputTelefoneInternacionalComponent.decorators = [
4247
4248
  { type: i0.Component, args: [{
4248
4249
  selector: 'mcl-input-telefone-intl',
4249
- template: "<div class=\"input\">\n <lac-mat-country-selector\n [ngClass]=\"{'hidden': !focused && !value}\"\n [preferredCountries]=\"preferredContries\"\n [selectorFor]=\"input\"\n searchPlaceholder=\"Filtrar paises...\"></lac-mat-country-selector>\n <lac-mat-tel-input #input\n [(ngModel)]=\"value\"\n (focusin)=\"onFocus()\" (focusout)=\"onBlur()\"></lac-mat-tel-input>\n</div>\n",
4250
+ template: "<div class=\"input\">\n <lac-mat-country-selector\n [ngClass]=\"{'hidden': !focused && !value && !alwaysShowCountry}\"\n [preferredCountries]=\"preferredContries\"\n [selectorFor]=\"input\"\n searchPlaceholder=\"Filtrar paises...\"></lac-mat-country-selector>\n <lac-mat-tel-input #input\n [(ngModel)]=\"value\"\n (focusin)=\"onFocus()\" (focusout)=\"onBlur()\"></lac-mat-tel-input>\n</div>\n",
4250
4251
  providers: [
4251
4252
  {
4252
4253
  provide: formField.MatFormFieldControl,
@@ -4266,6 +4267,7 @@
4266
4267
  preferredContries: [{ type: i0.Input }],
4267
4268
  readonly: [{ type: i0.Input }],
4268
4269
  blur: [{ type: i0.Output }],
4270
+ alwaysShowCountry: [{ type: i0.Input }],
4269
4271
  telInput: [{ type: i0.ViewChild, args: ['input',] }]
4270
4272
  };
4271
4273
 
@@ -5082,7 +5084,7 @@
5082
5084
  this.sanitizer = sanitizer;
5083
5085
  this.element = element;
5084
5086
  }
5085
- Object.defineProperty(UnsafeInnerHtmlDirective.prototype, "fotonInnerHtml", {
5087
+ Object.defineProperty(UnsafeInnerHtmlDirective.prototype, "unsafeInnerHtml", {
5086
5088
  set: function (value) {
5087
5089
  this.element.nativeElement.innerHTML = value || '';
5088
5090
  },
@@ -5101,7 +5103,7 @@
5101
5103
  { type: i0.ElementRef, decorators: [{ type: i0.Self }] }
5102
5104
  ]; };
5103
5105
  UnsafeInnerHtmlDirective.propDecorators = {
5104
- fotonInnerHtml: [{ type: i0.Input, args: ['mclUnsafeInnerHtml',] }]
5106
+ unsafeInnerHtml: [{ type: i0.Input, args: ['mclUnsafeInnerHtml',] }]
5105
5107
  };
5106
5108
 
5107
5109
  var UnsafeInnerHtmlModule = /** @class */ (function () {