ets-fe-ng-sdk 20.3.20 → 20.3.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/index.d.ts CHANGED
@@ -3212,7 +3212,7 @@ declare class UtilityService<TEnvironment extends SDKEnvironment = SDKEnvironmen
3212
3212
  * @returns Array containing value, validators, and async validators
3213
3213
  * @template T - Type of the form control value
3214
3214
  */
3215
- formControl: <T>(value?: T | null, validatorOrOpts?: ValidatorFn | ValidatorFn[] | FormControlOptions, asyncValidator?: AsyncValidatorFn | AsyncValidatorFn[]) => (ValidatorFn | AsyncValidatorFn | FormControlOptions | AsyncValidatorFn[] | ValidatorFn[] | T)[];
3215
+ formControl: <T>(value?: T | null, validatorOrOpts?: ValidatorFn | ValidatorFn[] | FormControlOptions, asyncValidator?: AsyncValidatorFn | AsyncValidatorFn[]) => (FormControlOptions | AsyncValidatorFn | AsyncValidatorFn[] | ValidatorFn | ValidatorFn[] | T)[];
3216
3216
  /**
3217
3217
  * Navigates back to the previous page using Angular's Location service
3218
3218
  */
@@ -5685,13 +5685,13 @@ declare class BtnComponent implements OnInit {
5685
5685
  */
5686
5686
  set customIcon(v: string);
5687
5687
  /** Form to bind to the button for validation */
5688
- readonly form: _angular_core.InputSignal<FormGroup<any> | AbstractControl<any, any, any> | FormArray<any> | FormControl<any>>;
5688
+ readonly form: _angular_core.InputSignal<AbstractControl<any, any, any> | FormGroup<any> | FormArray<any> | FormControl<any>>;
5689
5689
  /** Subject for form changes */
5690
5690
  protected readonly formStateRes: _angular_core.ResourceRef<boolean>;
5691
5691
  /** Signal for form validity state */
5692
5692
  protected readonly formState: _angular_core.Signal<boolean>;
5693
5693
  /** Multiple forms to bind to the button for validation */
5694
- readonly forms: _angular_core.InputSignal<(FormGroup<any> | AbstractControl<any, any, any> | FormArray<any> | FormControl<any>)[]>;
5694
+ readonly forms: _angular_core.InputSignal<(AbstractControl<any, any, any> | FormGroup<any> | FormArray<any> | FormControl<any>)[]>;
5695
5695
  /** Signal for multiple forms validity state */
5696
5696
  protected readonly formsStateRes: _angular_core.ResourceRef<Omit<IFormState, "status">>;
5697
5697
  protected readonly formsState: _angular_core.Signal<boolean>;
@@ -5725,7 +5725,7 @@ declare class BtnComponent implements OnInit {
5725
5725
  /** Displays button in mini size when true */
5726
5726
  readonly mini: _angular_core.InputSignal<boolean>;
5727
5727
  /** Behavior when form is invalid: disable button or show warning */
5728
- readonly onFormInvalid: _angular_core.InputSignal<"disable" | "warn">;
5728
+ readonly onFormInvalid: _angular_core.InputSignal<"warn" | "disable">;
5729
5729
  /** Event emitted when button is clicked */
5730
5730
  readonly mclick: _angular_core.OutputEmitterRef<any>;
5731
5731
  /** Reference to the inner text element */
@@ -7992,7 +7992,7 @@ declare class InfoDialogComponent implements OnInit {
7992
7992
  * @param status Status code (0=danger, 1=success, 2=info, 3=warning)
7993
7993
  * @returns CSS class name corresponding to the status
7994
7994
  */
7995
- cls: (status?: 0 | 1 | 2 | 3) => "" | "danger" | "success" | "info" | "warning";
7995
+ cls: (status?: 0 | 1 | 2 | 3) => "" | "info" | "danger" | "success" | "warning";
7996
7996
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<InfoDialogComponent, never>;
7997
7997
  static ɵcmp: _angular_core.ɵɵComponentDeclaration<InfoDialogComponent, "ng-component", never, {}, {}, never, never, true, never>;
7998
7998
  }
@@ -8869,7 +8869,7 @@ declare class ResizeGridPipe implements PipeTransform {
8869
8869
  */
8870
8870
  declare class IndexCompLayoutComponent {
8871
8871
  /** Number of columns in the grid layout */
8872
- readonly grid: InputSignal<1 | 2 | 3 | 5 | 4 | 6 | "auto">;
8872
+ readonly grid: InputSignal<2 | 1 | 3 | 4 | 5 | 6 | "auto">;
8873
8873
  /** Whether to show the action buttons */
8874
8874
  readonly showButtons: InputSignal<boolean>;
8875
8875
  /** Whether to hide the clone button */
@@ -11396,7 +11396,7 @@ declare class TextCase2Component<T = any> {
11396
11396
  * Uses route input if provided, otherwise uses routeFunc
11397
11397
  * For email/phone values, creates a mailto: or tel: link
11398
11398
  */
11399
- readonly computedRoute: _angular_core.Signal<Promise<string> | Observable<string>>;
11399
+ readonly computedRoute: _angular_core.Signal<Observable<string> | Promise<string>>;
11400
11400
  /**
11401
11401
  * Computes the value to display based on inputs
11402
11402
  * Uses value input if provided, otherwise uses data[name]
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ets-fe-ng-sdk",
3
- "version": "20.3.20",
3
+ "version": "20.3.21",
4
4
  "repository": {
5
5
  "url": "https://github.com/Evolutics-Tech/ets-fe-sdk"
6
6
  },