ng-tailwind 2.29.353 → 2.30.354

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.
@@ -2357,7 +2357,7 @@
2357
2357
  max: this.maxValue,
2358
2358
  },
2359
2359
  _a[exports.NgtInputMaskEnum.CELLPHONE] = {
2360
- mask: ['(99) 9999-9999', '(99) 99999-9999'],
2360
+ mask: ['(99) 999-999', '(99) 9999-9999', '(99) 99999-9999'],
2361
2361
  keepStatic: true
2362
2362
  },
2363
2363
  _a[exports.NgtInputMaskEnum.INTERNATIONAL_PHONE] = {
@@ -5268,7 +5268,6 @@
5268
5268
  _this.placeholder = "";
5269
5269
  _this.rows = "3";
5270
5270
  _this.showCharactersLength = false;
5271
- _this.helpText = false;
5272
5271
  _this.helpTextColor = 'text-green-500';
5273
5272
  _this.shining = false;
5274
5273
  _this.isDisabled = false;
@@ -5427,7 +5426,7 @@
5427
5426
  NgtTextareaComponent.decorators = [
5428
5427
  { type: core.Component, args: [{
5429
5428
  selector: 'ngt-textarea',
5430
- template: "<label class=\"{{ shining ? '' : 'block' }} mb-2 flex {{ ngtStyle.compile(['text', 'fontCase']) }}\" *ngIf=\"label\" [hidden]='shining'>\n {{ label }}:\n\n <span class=\"text-red-500 font-bold text-md ml-1\" *ngIf=\"isRequired\">*</span>\n\n <div *ngIf='helpText' class=\"flex {{ helpTextColor }}\" [title]=\"helpTitle\" [attr.data-content]=\"helpText\">\n &nbsp;\n <svg class=\"fill-current self-center\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\">\n <path\n d=\"M10 20a10 10 0 1 1 0-20 10 10 0 0 1 0 20zm2-13c0 .28-.21.8-.42 1L10 9.58c-.57.58-1 1.6-1 2.42v1h2v-1c0-.29.21-.8.42-1L13 9.42c.57-.58 1-1.6 1-2.42a4 4 0 1 0-8 0h2a2 2 0 1 1 4 0zm-3 8v2h2v-2H9z\" />\n </svg>\n </div>\n</label>\n\n<div class=\"flex flex-col\">\n <div class=\"{{ shining ? '' : 'flex'}}\" [hidden]='shining'>\n <textarea [rows]='rows' autocomplete=\"new-password\" attr.type=\"text\"\n class=\"appearance-none block border focus:outline-none leading-tight px-4 py-3 rounded w-full h-full {{ ngtStyle.compile(['h', 'color.border', 'color.bg', 'color.text']) }}\"\n [disabled]=\"isDisabled\" [readonly]=\"isReadonly\" placeholder=\"{{ placeholder ? placeholder : ''}}\"\n [ngClass]=\"{'textarea-has-error border-red-700': formControl?.errors && (formControl?.dirty || (formContainer && formContainer['submitted']))}\"\n #element>\n </textarea>\n </div>\n\n <ng-container *ngIf=\"showCharactersLength && !shining\">\n <p class=\"text-xs mt-1\">\n {{ ngtTranslateService.ngtTextAreaRemainingCharacters }}: <span class=\"font-semibold\">\n {{ getRemainingCharacters() }}\n </span>\n </p>\n </ng-container>\n</div>\n\n<ng-container *ngIf='shining'>\n <div class=\"flex\">\n <ngt-shining class=\"h-10 w-full\"></ngt-shining>\n </div>\n</ng-container>\n\n<input *ngIf='componentReady' type=\"hidden\" [ngModel]=\"value\" [name]=\"name\" [value]=\"value\">\n\n<ng-content></ng-content>\n<ngt-validation [control]=\"formControl\" [container]=\"formContainer\"></ngt-validation>\n",
5429
+ template: "<label class=\"{{ shining ? '' : 'block' }} mb-2 flex {{ ngtStyle.compile(['text', 'fontCase']) }}\" *ngIf=\"label\"\n [hidden]='shining'>\n {{ label }}:\n\n <span class=\"text-red-500 font-bold text-md ml-1\" *ngIf=\"isRequired\">*</span>\n\n <ngt-helper *ngIf=\"helpText\" [helpTitle]=\"helpTitle\" [iconColor]=\"helpTextColor\" class=\"ml-1\">\n {{ helpText }}\n </ngt-helper>\n</label>\n\n<div class=\"flex flex-col\">\n <div class=\"{{ shining ? '' : 'flex'}}\" [hidden]='shining'>\n <textarea [rows]='rows' autocomplete=\"new-password\" attr.type=\"text\"\n class=\"appearance-none block border focus:outline-none leading-tight px-4 py-3 rounded w-full h-full {{ ngtStyle.compile(['h', 'color.border', 'color.bg', 'color.text']) }}\"\n [disabled]=\"isDisabled\" [readonly]=\"isReadonly\" placeholder=\"{{ placeholder ? placeholder : ''}}\"\n [ngClass]=\"{'textarea-has-error border-red-700': formControl?.errors && (formControl?.dirty || (formContainer && formContainer['submitted']))}\"\n #element>\n </textarea>\n </div>\n\n <ng-container *ngIf=\"showCharactersLength && !shining\">\n <p class=\"text-xs mt-1\">\n {{ ngtTranslateService.ngtTextAreaRemainingCharacters }}: <span class=\"font-semibold\">\n {{ getRemainingCharacters() }}\n </span>\n </p>\n </ng-container>\n</div>\n\n<ng-container *ngIf='shining'>\n <div class=\"flex\">\n <ngt-shining class=\"h-10 w-full\"></ngt-shining>\n </div>\n</ng-container>\n\n<input *ngIf='componentReady' type=\"hidden\" [ngModel]=\"value\" [name]=\"name\" [value]=\"value\">\n\n<ng-content></ng-content>\n<ngt-validation [control]=\"formControl\" [container]=\"formContainer\"></ngt-validation>",
5431
5430
  providers: [
5432
5431
  NgtMakeProvider(NgtTextareaComponent),
5433
5432
  ],
@@ -5450,8 +5449,8 @@
5450
5449
  label: [{ type: core.Input }],
5451
5450
  placeholder: [{ type: core.Input }],
5452
5451
  rows: [{ type: core.Input }],
5453
- helpTitle: [{ type: core.Input }],
5454
5452
  showCharactersLength: [{ type: core.Input }],
5453
+ helpTitle: [{ type: core.Input }],
5455
5454
  helpText: [{ type: core.Input }],
5456
5455
  helpTextColor: [{ type: core.Input }],
5457
5456
  shining: [{ type: core.Input }],
@@ -5479,6 +5478,7 @@
5479
5478
  forms.ReactiveFormsModule,
5480
5479
  NgtValidationModule,
5481
5480
  NgtShiningModule,
5481
+ NgtHelperModule,
5482
5482
  NgtFormModule
5483
5483
  ]
5484
5484
  },] }