ets-fe-ng-sdk 20.0.0 → 20.0.2

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/index.d.ts CHANGED
@@ -2178,7 +2178,7 @@ declare class BtnComponent implements OnInit {
2178
2178
  /** CSS class for the button */
2179
2179
  readonly _mclass: _angular_core.WritableSignal<string>;
2180
2180
  /** HTML button type (submit, button, reset) */
2181
- readonly actionType: _angular_core.InputSignal<"submit" | "reset" | "button">;
2181
+ readonly actionType: _angular_core.InputSignal<"submit" | "button" | "reset">;
2182
2182
  /** Enables animation effect on the button */
2183
2183
  readonly animate: _angular_core.InputSignal<boolean>;
2184
2184
  /** Excludes this button from logging when true */
@@ -2195,17 +2195,16 @@ declare class BtnComponent implements OnInit {
2195
2195
  */
2196
2196
  set customIcon(v: string);
2197
2197
  /** Form to bind to the button for validation */
2198
- readonly form: _angular_core.InputSignal<AbstractControl<any, any, any> | FormGroup<any> | FormArray<any> | FormControl<any>>;
2198
+ readonly form: _angular_core.InputSignal<FormGroup<any> | FormControl<any> | FormArray<any> | AbstractControl<any, any, any>>;
2199
2199
  /** Subject for form changes */
2200
- protected readonly form$: ReplaySubject<AbstractControl<any, any, any>>;
2200
+ protected readonly formStateRes: _angular_core.ResourceRef<boolean>;
2201
2201
  /** Signal for form validity state */
2202
2202
  protected readonly formState: _angular_core.Signal<boolean>;
2203
2203
  /** Multiple forms to bind to the button for validation */
2204
- readonly forms: _angular_core.InputSignal<(AbstractControl<any, any, any> | FormGroup<any> | FormArray<any> | FormControl<any>)[]>;
2205
- /** Subject for forms changes */
2206
- protected readonly forms$: ReplaySubject<AbstractControl<any, any, any>[]>;
2204
+ readonly forms: _angular_core.InputSignal<(FormGroup<any> | FormControl<any> | FormArray<any> | AbstractControl<any, any, any>)[]>;
2207
2205
  /** Signal for multiple forms validity state */
2208
- protected readonly formsState: _angular_core.Signal<Omit<IFormState, "status">>;
2206
+ protected readonly formsStateRes: _angular_core.ResourceRef<Omit<IFormState, "status">>;
2207
+ protected readonly formsState: _angular_core.Signal<boolean>;
2209
2208
  /** Tooltip message to display */
2210
2209
  readonly help: _angular_core.InputSignal<string>;
2211
2210
  /** Delay before showing tooltip in milliseconds */
@@ -2951,7 +2950,7 @@ declare class InfoDialogComponent implements OnInit {
2951
2950
  * @param status Status code (0=danger, 1=success, 2=info, 3=warning)
2952
2951
  * @returns CSS class name corresponding to the status
2953
2952
  */
2954
- cls: (status?: 0 | 1 | 2 | 3) => "" | "info" | "danger" | "success" | "warning";
2953
+ cls: (status?: 0 | 1 | 2 | 3) => "info" | "warning" | "" | "danger" | "success";
2955
2954
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<InfoDialogComponent, never>;
2956
2955
  static ɵcmp: _angular_core.ɵɵComponentDeclaration<InfoDialogComponent, "ng-component", never, {}, {}, never, never, true, never>;
2957
2956
  }
@@ -3121,7 +3120,7 @@ declare class UtilityService<TEnvironment extends SDKEnvironment = SDKEnvironmen
3121
3120
  * @returns Array containing value, validators, and async validators
3122
3121
  * @template T - Type of the form control value
3123
3122
  */
3124
- formControl: <T>(value?: T | null, validatorOrOpts?: ValidatorFn | ValidatorFn[] | FormControlOptions, asyncValidator?: AsyncValidatorFn | AsyncValidatorFn[]) => (ValidatorFn | AsyncValidatorFn | ValidatorFn[] | AsyncValidatorFn[] | FormControlOptions | T)[];
3123
+ formControl: <T>(value?: T | null, validatorOrOpts?: ValidatorFn | ValidatorFn[] | FormControlOptions, asyncValidator?: AsyncValidatorFn | AsyncValidatorFn[]) => (FormControlOptions | AsyncValidatorFn | AsyncValidatorFn[] | ValidatorFn | ValidatorFn[] | T)[];
3125
3124
  /**
3126
3125
  * Navigates back to the previous page using Angular's Location service
3127
3126
  */
@@ -5079,8 +5078,8 @@ declare class InputBase<TFormGroup extends {
5079
5078
  readonly addOnControlObtainedHook: (key: string, func: (control: ReturnType<typeof this.control>) => any) => void;
5080
5079
  /** Observable of value changes from the control */
5081
5080
  readonly valueChanges: rxjs.Observable<any>;
5082
- readonly formChanged: rxjs.Observable<_angular_forms.ControlEvent<any>>;
5083
- readonly formFieldNotifier: _angular_core.Signal<number>;
5081
+ readonly formChangedRes: _angular_core.ResourceRef<_angular_forms.ControlEvent<any>>;
5082
+ readonly formFieldNotifier: _angular_core.Signal<_angular_forms.ControlEvent<any>>;
5084
5083
  /** Signal for whether the input is valid */
5085
5084
  readonly validSignal: _angular_core.Signal<boolean>;
5086
5085
  /** Signal for whether the input is invalid */
@@ -7263,7 +7262,7 @@ declare class TableHttpsComponent<TItem = any> extends TableBaseComponent<TItem>
7263
7262
  readonly form: FormGroup<{
7264
7263
  pageNumber: FormControl<number>;
7265
7264
  sortBy: FormControl<keyof TItem>;
7266
- sortDirection: FormControl<"" | "DESC" | "ASC">;
7265
+ sortDirection: FormControl<"" | "ASC" | "DESC">;
7267
7266
  pageSize: FormControl<number>;
7268
7267
  }>;
7269
7268
  /**
@@ -7272,7 +7271,7 @@ declare class TableHttpsComponent<TItem = any> extends TableBaseComponent<TItem>
7272
7271
  readonly allQueryData: _angular_core.Signal<{
7273
7272
  pageNumber: number;
7274
7273
  sortBy: keyof TItem;
7275
- sortDirection: "" | "DESC" | "ASC";
7274
+ sortDirection: "" | "ASC" | "DESC";
7276
7275
  pageSize: number;
7277
7276
  }>;
7278
7277
  /**
@@ -7281,7 +7280,7 @@ declare class TableHttpsComponent<TItem = any> extends TableBaseComponent<TItem>
7281
7280
  readonly formValue: _angular_core.Signal<{
7282
7281
  pageNumber: number;
7283
7282
  sortBy: keyof TItem;
7284
- sortDirection: "" | "DESC" | "ASC";
7283
+ sortDirection: "" | "ASC" | "DESC";
7285
7284
  pageSize: number;
7286
7285
  }>;
7287
7286
  /**
@@ -8666,18 +8665,14 @@ declare class FieldsToDisplayComponent {
8666
8665
  declare class FormErrorComponent {
8667
8666
  el: ElementRef<HTMLElement>;
8668
8667
  uS: UtilityService;
8669
- destroyerRef: DestroyRef;
8670
- /** Subscription manager for handling form status changes */
8671
- readonly sub: {
8672
- clear: () => void;
8673
- push: (...subs: rxjs.Subscription[]) => number;
8674
- subs: () => rxjs.Subscription[];
8675
- };
8676
- set form(v: Form | Form[]);
8668
+ readonly form: _angular_core.InputSignal<Form | Form[]>;
8669
+ protected readonly formErrorRes: _angular_core.ResourceRef<{
8670
+ formControl: AbstractControl;
8671
+ label: string;
8672
+ parent: string | null;
8673
+ }[]>;
8677
8674
  /** Signal containing all errors from the monitored form(s) */
8678
- readonly errors: _angular_core.WritableSignal<IError>;
8679
- /** Computed signal filtering to only invalid or pending form controls */
8680
- readonly cErrors: _angular_core.Signal<IError>;
8675
+ readonly errors: _angular_core.Signal<IError>;
8681
8676
  /** Input signal to enable custom result display */
8682
8677
  readonly customResult: _angular_core.InputSignal<boolean>;
8683
8678
  /** Input signal to display errors inline */
@@ -8698,7 +8693,7 @@ declare class FormErrorComponent {
8698
8693
  * @param uS Utility service for formatting and other operations
8699
8694
  * @param destroyerRef Reference for handling component destruction
8700
8695
  */
8701
- constructor(el: ElementRef<HTMLElement>, uS: UtilityService, destroyerRef: DestroyRef);
8696
+ constructor(el: ElementRef<HTMLElement>, uS: UtilityService);
8702
8697
  /**
8703
8698
  * Recursively collects error messages from a form or form control.
8704
8699
  * @param form The form or control to check for errors
@@ -8714,7 +8709,7 @@ declare class FormErrorComponent {
8714
8709
  */
8715
8710
  toggleErrors(errCont?: HTMLDivElement): void;
8716
8711
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<FormErrorComponent, never>;
8717
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<FormErrorComponent, "form-error", never, { "form": { "alias": "form"; "required": false; }; "customResult": { "alias": "customResult"; "required": false; "isSignal": true; }; "inline": { "alias": "inline"; "required": false; "isSignal": true; }; "lgGridNo": { "alias": "lgGridNo"; "required": false; "isSignal": true; }; "xxlGridNo": { "alias": "xxlGridNo"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
8712
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<FormErrorComponent, "form-error", never, { "form": { "alias": "form"; "required": false; "isSignal": true; }; "customResult": { "alias": "customResult"; "required": false; "isSignal": true; }; "inline": { "alias": "inline"; "required": false; "isSignal": true; }; "lgGridNo": { "alias": "lgGridNo"; "required": false; "isSignal": true; }; "xxlGridNo": { "alias": "xxlGridNo"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
8718
8713
  }
8719
8714
  /** Type representing a form control, group, or array */
8720
8715
  type Form = FormGroup | FormControl | FormArray;
@@ -9459,6 +9454,7 @@ declare class ValidationMessageComponent {
9459
9454
  /** Computed control that resolves to either the direct control or the one from the input component */
9460
9455
  protected readonly computedControl: _angular_core.Signal<AbstractControl<any, any, any>>;
9461
9456
  /** Signal that notifies when the form field changes */
9457
+ protected readonly formEventsRes: _angular_core.ResourceRef<_angular_forms.ControlEvent<any>>;
9462
9458
  protected readonly formFieldNotifier: _angular_core.Signal<_angular_forms.ControlEvent<any>>;
9463
9459
  /** Computed minimum length from various sources */
9464
9460
  readonly minLength: _angular_core.Signal<number>;
@@ -9752,7 +9748,7 @@ declare class ResizeGridPipe implements PipeTransform {
9752
9748
  */
9753
9749
  declare class IndexCompLayoutComponent {
9754
9750
  /** Number of columns in the grid layout */
9755
- readonly grid: InputSignal<2 | 1 | 4 | 3 | 5 | 6 | "auto">;
9751
+ readonly grid: InputSignal<1 | 5 | 3 | 2 | 4 | 6 | "auto">;
9756
9752
  /** Whether to show the action buttons */
9757
9753
  readonly showButtons: InputSignal<boolean>;
9758
9754
  /** Whether to hide the clone button */
@@ -10568,8 +10564,8 @@ declare class PhoneNumberComponent extends InputBasicComponent {
10568
10564
  getExtension(number: string, iso2: string | undefined): string;
10569
10565
  getNumberType(number: string, iso2: string | undefined): number;
10570
10566
  getValidationError(number: string, iso2: string | undefined): number;
10571
- isPossibleNumber(number: string, iso2: string | undefined, numberType?: ("UNKNOWN" | "FIXED_LINE_OR_MOBILE" | "FIXED_LINE" | "MOBILE" | "PAGER" | "PERSONAL_NUMBER" | "PREMIUM_RATE" | "SHARED_COST" | "TOLL_FREE" | "UAN" | "VOICEMAIL" | "VOIP")[] | null): boolean;
10572
- isValidNumber(number: string, iso2: string | undefined, numberType?: ("UNKNOWN" | "FIXED_LINE_OR_MOBILE" | "FIXED_LINE" | "MOBILE" | "PAGER" | "PERSONAL_NUMBER" | "PREMIUM_RATE" | "SHARED_COST" | "TOLL_FREE" | "UAN" | "VOICEMAIL" | "VOIP")[] | null): boolean;
10567
+ isPossibleNumber(number: string, iso2: string | undefined, numberType?: ("FIXED_LINE_OR_MOBILE" | "FIXED_LINE" | "MOBILE" | "PAGER" | "PERSONAL_NUMBER" | "PREMIUM_RATE" | "SHARED_COST" | "TOLL_FREE" | "UAN" | "UNKNOWN" | "VOICEMAIL" | "VOIP")[] | null): boolean;
10568
+ isValidNumber(number: string, iso2: string | undefined, numberType?: ("FIXED_LINE_OR_MOBILE" | "FIXED_LINE" | "MOBILE" | "PAGER" | "PERSONAL_NUMBER" | "PREMIUM_RATE" | "SHARED_COST" | "TOLL_FREE" | "UAN" | "UNKNOWN" | "VOICEMAIL" | "VOIP")[] | null): boolean;
10573
10569
  numberFormat: {
10574
10570
  NATIONAL: number;
10575
10571
  INTERNATIONAL: number;
@@ -10580,12 +10576,12 @@ declare class PhoneNumberComponent extends InputBasicComponent {
10580
10576
  };
10581
10577
  }>;
10582
10578
  nationalMode?: boolean;
10583
- placeholderNumberType?: "UNKNOWN" | "FIXED_LINE_OR_MOBILE" | "FIXED_LINE" | "MOBILE" | "PAGER" | "PERSONAL_NUMBER" | "PREMIUM_RATE" | "SHARED_COST" | "TOLL_FREE" | "UAN" | "VOICEMAIL" | "VOIP";
10579
+ placeholderNumberType?: "FIXED_LINE_OR_MOBILE" | "FIXED_LINE" | "MOBILE" | "PAGER" | "PERSONAL_NUMBER" | "PREMIUM_RATE" | "SHARED_COST" | "TOLL_FREE" | "UAN" | "UNKNOWN" | "VOICEMAIL" | "VOIP";
10584
10580
  showFlags?: boolean;
10585
10581
  separateDialCode?: boolean;
10586
10582
  strictMode?: boolean;
10587
10583
  useFullscreenPopup?: boolean;
10588
- validationNumberTypes?: ("UNKNOWN" | "FIXED_LINE_OR_MOBILE" | "FIXED_LINE" | "MOBILE" | "PAGER" | "PERSONAL_NUMBER" | "PREMIUM_RATE" | "SHARED_COST" | "TOLL_FREE" | "UAN" | "VOICEMAIL" | "VOIP")[] | null;
10584
+ validationNumberTypes?: ("FIXED_LINE_OR_MOBILE" | "FIXED_LINE" | "MOBILE" | "PAGER" | "PERSONAL_NUMBER" | "PREMIUM_RATE" | "SHARED_COST" | "TOLL_FREE" | "UAN" | "UNKNOWN" | "VOICEMAIL" | "VOIP")[] | null;
10589
10585
  }>;
10590
10586
  /**
10591
10587
  * Initializes the component by adding a custom validator to the form control.
package/package.json CHANGED
@@ -1,24 +1,24 @@
1
1
  {
2
2
  "name": "ets-fe-ng-sdk",
3
- "version": "20.0.0",
3
+ "version": "20.0.2",
4
4
  "repository": {
5
5
  "url": "https://github.com/Evolutics-Tech/ets-fe-sdk"
6
6
  },
7
7
  "author": "Evolutics Technology Services",
8
8
  "homepage": "https://www.evoluticstech.com/",
9
9
  "peerDependencies": {
10
- "@angular/animations": "^19.1.1",
11
- "@angular/cdk": "^19.1.0",
12
- "@angular/common": "^19.1.1",
13
- "@angular/compiler": "^19.1.1",
14
- "@angular/core": "^19.1.1",
15
- "@angular/forms": "^19.1.1",
16
- "@angular/material": "^19.1.0",
17
- "@angular/platform-browser": "^19.1.1",
18
- "@angular/platform-browser-dynamic": "^19.1.1",
19
- "@angular/router": "^19.1.1",
20
- "@angular/service-worker": "^19.1.1",
21
- "@evolutics/translation": "^19.0.0",
10
+ "@angular/animations": "^20.0.0",
11
+ "@angular/cdk": "^20.0.0",
12
+ "@angular/common": "^20.0.0",
13
+ "@angular/compiler": "^20.0.0",
14
+ "@angular/core": "^20.0.0",
15
+ "@angular/forms": "^20.0.0",
16
+ "@angular/material": "^20.0.0",
17
+ "@angular/platform-browser": "^20.0.0",
18
+ "@angular/platform-browser-dynamic": "^20.0.0",
19
+ "@angular/router": "^20.0.0",
20
+ "@angular/service-worker": "^20.0.0",
21
+ "@evolutics/translation": "^20.0.0",
22
22
  "@fortawesome/angular-fontawesome": "^1.0.0",
23
23
  "@fortawesome/fontawesome-svg-core": "^6.7.2",
24
24
  "@fortawesome/free-brands-svg-icons": "^6.7.2",
@@ -31,11 +31,11 @@
31
31
  "@ngrx/store": "^19.0.0",
32
32
  "@sentry/angular": "^8.50.0",
33
33
  "@sentry/cli": "^2.40.0",
34
- "@serene-dev/ng-tel-input": "^19.0.0",
35
- "@serene-dev/toast-notifications": "19.0.1",
34
+ "@serene-dev/ng-tel-input": "^20.0.0",
35
+ "@serene-dev/toast-notifications": "20.0.0",
36
36
  "crypto-js": "^4.2.0",
37
37
  "file-saver": "^2.0.5",
38
- "intl-tel-input": "^25.2.1",
38
+ "intl-tel-input": "^25.3.1",
39
39
  "javascript-time-ago": "2.5.11",
40
40
  "js-file-download": "^0.4.12",
41
41
  "katex": "^0.16.20",
@@ -49,50 +49,6 @@
49
49
  "rxjs": "7.8.1",
50
50
  "zone.js": "~0.15.0"
51
51
  },
52
- "dependencies": {
53
- "@angular/animations": "^19.1.1",
54
- "@angular/cdk": "^19.1.0",
55
- "@angular/common": "^19.1.1",
56
- "@angular/compiler": "^19.1.1",
57
- "@angular/core": "^19.1.1",
58
- "@angular/forms": "^19.1.1",
59
- "@angular/material": "^19.1.0",
60
- "@angular/platform-browser": "^19.1.1",
61
- "@angular/platform-browser-dynamic": "^19.1.1",
62
- "@angular/router": "^19.1.1",
63
- "@angular/service-worker": "^19.1.1",
64
- "@evolutics/translation": "^19.0.0",
65
- "@fortawesome/angular-fontawesome": "^1.0.0",
66
- "@fortawesome/fontawesome-svg-core": "^6.7.2",
67
- "@fortawesome/free-brands-svg-icons": "^6.7.2",
68
- "@fortawesome/free-regular-svg-icons": "^6.7.2",
69
- "@fortawesome/free-solid-svg-icons": "^6.7.2",
70
- "@ng-idle/core": "16.0.0",
71
- "@ngrx/effects": "^19.0.0",
72
- "@ngrx/entity": "^19.0.0",
73
- "@ngrx/operators": "^19.0.0",
74
- "@ngrx/store": "^19.0.0",
75
- "@sentry/angular": "^8.50.0",
76
- "@sentry/cli": "^2.40.0",
77
- "@serene-dev/ng-tel-input": "^19.0.0",
78
- "@serene-dev/toast-notifications": "19.0.1",
79
- "crypto-js": "^4.2.0",
80
- "file-saver": "^2.0.5",
81
- "intl-tel-input": "^25.2.1",
82
- "javascript-time-ago": "2.5.11",
83
- "js-file-download": "^0.4.12",
84
- "katex": "^0.16.20",
85
- "lodash-es": "^4.17.21",
86
- "ngx-quill": "^27.0.0",
87
- "papaparse": "^5.5.1",
88
- "perfect-scrollbar": "^1.5.6",
89
- "quill": "^2.0.3",
90
- "quill-mention": "^6.0.2",
91
- "quill-resize-image": "^1.0.5",
92
- "rxjs": "7.8.1",
93
- "tslib": "^2.6.3",
94
- "zone.js": "~0.15.0"
95
- },
96
52
  "private": false,
97
53
  "module": "fesm2022/ets-fe-ng-sdk.mjs",
98
54
  "typings": "index.d.ts",
@@ -105,5 +61,8 @@
105
61
  "default": "./fesm2022/ets-fe-ng-sdk.mjs"
106
62
  }
107
63
  },
108
- "sideEffects": false
64
+ "sideEffects": false,
65
+ "dependencies": {
66
+ "tslib": "^2.6.3"
67
+ }
109
68
  }