ngx-wapp-components 3.2.20 → 3.2.21

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ngx-wapp-components",
3
- "version": "3.2.20",
3
+ "version": "3.2.21",
4
4
  "description": "This is a Wapping reusable component library published by Wapping.",
5
5
  "keywords": [
6
6
  "code",
@@ -58,5 +58,6 @@
58
58
  "types": "./types/ngx-wapp-components.d.ts",
59
59
  "default": "./fesm2022/ngx-wapp-components.mjs"
60
60
  }
61
- }
61
+ },
62
+ "type": "module"
62
63
  }
@@ -1,5 +1,5 @@
1
1
  import * as i0 from '@angular/core';
2
- import { OnInit, AfterViewInit, ElementRef, OnChanges, SimpleChanges, EventEmitter, PipeTransform, TemplateRef, QueryList, ChangeDetectorRef, Type, Renderer2, OnDestroy, ModuleWithProviders } from '@angular/core';
2
+ import { OnChanges, SimpleChanges, OnInit, AfterViewInit, ElementRef, EventEmitter, PipeTransform, TemplateRef, QueryList, ChangeDetectorRef, Type, Renderer2, OnDestroy, ModuleWithProviders } from '@angular/core';
3
3
  import * as i112 from '@angular/forms';
4
4
  import { ControlValueAccessor, FormControl, Validator, AbstractControl, ValidationErrors, FormBuilder, FormGroup } from '@angular/forms';
5
5
  import { Clipboard } from '@angular/cdk/clipboard';
@@ -121,7 +121,7 @@ declare enum IconType {
121
121
  wIcon = 2
122
122
  }
123
123
 
124
- declare class WEditInputTextComponent implements ControlValueAccessor {
124
+ declare class WEditInputTextComponent implements ControlValueAccessor, OnChanges {
125
125
  value: string;
126
126
  label: string;
127
127
  showLabel: boolean;
@@ -148,6 +148,9 @@ declare class WEditInputTextComponent implements ControlValueAccessor {
148
148
  isTouched: boolean;
149
149
  onChange: (_: any) => void;
150
150
  onTouch: () => void;
151
+ private readonly requiredTrimValidator;
152
+ ngOnChanges(changes: SimpleChanges): void;
153
+ private addRequiredTrimValidatorIfNeeded;
151
154
  writeValue(value: any): void;
152
155
  registerOnChange(fn: any): void;
153
156
  registerOnTouched(fn: any): void;
@@ -197,7 +200,7 @@ declare class WLogosComponent implements OnInit, AfterViewInit {
197
200
  static ɵcmp: i0.ɵɵComponentDeclaration<WLogosComponent, "w-logos", never, { "name": { "alias": "name"; "required": false; }; "width": { "alias": "width"; "required": false; }; "height": { "alias": "height"; "required": false; }; "color": { "alias": "color"; "required": false; }; "url": { "alias": "url"; "required": false; }; }, {}, never, ["*"], false, never>;
198
201
  }
199
202
 
200
- declare class WEditInputTextareaComponent implements ControlValueAccessor {
203
+ declare class WEditInputTextareaComponent implements ControlValueAccessor, OnChanges {
201
204
  label: string;
202
205
  message: string;
203
206
  showLabel: boolean;
@@ -223,6 +226,9 @@ declare class WEditInputTextareaComponent implements ControlValueAccessor {
223
226
  isTouched: boolean;
224
227
  onChange: (_: any) => void;
225
228
  onTouch: () => void;
229
+ private readonly requiredTrimValidator;
230
+ ngOnChanges(changes: SimpleChanges): void;
231
+ private addRequiredTrimValidatorIfNeeded;
226
232
  writeValue(value: any): void;
227
233
  registerOnChange(onChange: any): void;
228
234
  registerOnTouched(onTouch: any): void;
@@ -1087,7 +1093,7 @@ declare class WPanelTitleComponent {
1087
1093
  static ɵcmp: i0.ɵɵComponentDeclaration<WPanelTitleComponent, "w-panel-title", never, { "title": { "alias": "title"; "required": false; }; "activePaddingBottom": { "alias": "activePaddingBottom"; "required": false; }; }, {}, never, never, false, never>;
1088
1094
  }
1089
1095
 
1090
- declare class WInputSearchComponent {
1096
+ declare class WInputSearchComponent implements OnChanges {
1091
1097
  label: string;
1092
1098
  placeholder: string;
1093
1099
  required: boolean;
@@ -1106,6 +1112,9 @@ declare class WInputSearchComponent {
1106
1112
  isTouched: boolean;
1107
1113
  onChange: (_: any) => void;
1108
1114
  onTouch: () => void;
1115
+ private readonly requiredTrimValidator;
1116
+ ngOnChanges(changes: SimpleChanges): void;
1117
+ private addRequiredTrimValidatorIfNeeded;
1109
1118
  onInputData(): void;
1110
1119
  writeValue(value: any): void;
1111
1120
  registerOnChange(onChange: any): void;