@suntelecoms/ngx-dynamic-form 1.7.10 → 1.7.14

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.
@@ -38,6 +38,23 @@ export declare class DynamicFieldComponent implements OnInit {
38
38
  key: string;
39
39
  value: any;
40
40
  }>;
41
+ isoCountrySearchCtrl: FormControl<string | null>;
42
+ get filteredIsoCountries(): PhoneCountry[];
43
+ displayIsoCountry: (value: PhoneCountry | string | null) => string;
44
+ onIsoCountrySelected(event: MatAutocompleteSelectedEvent): void;
45
+ dialCodeSearchCtrl: FormControl<string | null>;
46
+ get filteredDialCodeCountries(): PhoneCountry[];
47
+ displayDialCode: (value: PhoneCountry | string | null) => string;
48
+ onDialCodeSelected(event: MatAutocompleteSelectedEvent): void;
49
+ fileDragging: boolean;
50
+ get selectedFiles(): File[];
51
+ onFileInputChange(event: Event): void;
52
+ onFileDragOver(event: DragEvent): void;
53
+ onFileDragLeave(event: DragEvent): void;
54
+ onFileDrop(event: DragEvent): void;
55
+ removeFile(index: number, input: HTMLInputElement): void;
56
+ formatFileSize(bytes: number): string;
57
+ private setFiles;
41
58
  locating: boolean;
42
59
  locationError: string;
43
60
  readonly phoneCountries: PhoneCountry[];
@@ -1,4 +1,4 @@
1
- export type FieldType = 'text' | 'email' | 'password' | 'number' | 'tel' | 'url' | 'textarea' | 'select' | 'multiselect' | 'checkbox' | 'radio' | 'switch' | 'date' | 'datetime-local' | 'time' | 'month' | 'week' | 'range' | 'color' | 'location' | 'file' | 'hidden' | 'phone' | 'divider' | 'heading';
1
+ export type FieldType = 'text' | 'email' | 'password' | 'number' | 'tel' | 'url' | 'textarea' | 'select' | 'multiselect' | 'checkbox' | 'radio' | 'switch' | 'date' | 'datetime-local' | 'time' | 'month' | 'week' | 'range' | 'color' | 'location' | 'file' | 'hidden' | 'phone' | 'iso-country' | 'country-dial-code' | 'divider' | 'heading';
2
2
  export interface SelectOption {
3
3
  label: string;
4
4
  value: any;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@suntelecoms/ngx-dynamic-form",
3
- "version": "1.7.10",
3
+ "version": "1.7.14",
4
4
  "description": "Générateur de formulaires Angular dynamiques — SUNTELECOMS",
5
5
  "author": "Amadou Diallo <amadoumacbookpro38@gmail.com>",
6
6
  "license": "MIT",