ets-fe-ng-sdk 20.0.1 → 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
@@ -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<FormGroup<any> | AbstractControl<any, any, 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<(FormGroup<any> | AbstractControl<any, any, 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) => "" | "danger" | "success" | "info" | "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
  }
@@ -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<1 | 2 | 3 | 5 | 4 | 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 */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ets-fe-ng-sdk",
3
- "version": "20.0.1",
3
+ "version": "20.0.2",
4
4
  "repository": {
5
5
  "url": "https://github.com/Evolutics-Tech/ets-fe-sdk"
6
6
  },