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.
- package/bundles/ng-tailwind.umd.js +4 -4
- package/bundles/ng-tailwind.umd.js.map +1 -1
- package/components/ngt-textarea/ngt-textarea.component.d.ts +2 -2
- package/esm2015/components/ngt-input/ngt-input.component.js +2 -2
- package/esm2015/components/ngt-textarea/ngt-textarea.component.js +3 -4
- package/esm2015/components/ngt-textarea/ngt-textarea.module.js +3 -1
- package/fesm2015/ng-tailwind.js +4 -4
- package/fesm2015/ng-tailwind.js.map +1 -1
- package/ng-tailwind.metadata.json +1 -1
- package/package.json +1 -1
|
@@ -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\"
|
|
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
|
},] }
|