ets-fe-ng-sdk 20.3.2 → 20.3.4

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
@@ -2173,6 +2173,16 @@ declare namespace EVFunctions {
2173
2173
  * @returns
2174
2174
  */
2175
2175
  function extendRoute(route: Route, indexComponent?: Type<any>, indexLazyModule?: LoadChildrenCallback): Routes;
2176
+ type IExtendRouteIndexPage = Route & {
2177
+ component?: Type<any>;
2178
+ /**@deprecated */
2179
+ lazyComponent?: () => Type<unknown> | Observable<Type<unknown> | DefaultExport<Type<unknown>>> | Promise<Type<unknown> | DefaultExport<Type<unknown>>>;
2180
+ /**@deprecated */
2181
+ lazyModule?: LoadChildrenCallback;
2182
+ redirectToIndex?: boolean;
2183
+ title?: string;
2184
+ hideTitle?: boolean;
2185
+ };
2176
2186
  /**
2177
2187
  *
2178
2188
  * @param route
@@ -2193,14 +2203,7 @@ declare namespace EVFunctions {
2193
2203
  * ```
2194
2204
  * @returns
2195
2205
  */
2196
- function extendRoute2(route: Route, indexPage?: {
2197
- component?: Type<any>;
2198
- lazyComponent?: () => Type<unknown> | Observable<Type<unknown> | DefaultExport<Type<unknown>>> | Promise<Type<unknown> | DefaultExport<Type<unknown>>>;
2199
- lazyModule?: LoadChildrenCallback;
2200
- redirectToIndex?: boolean;
2201
- title?: string;
2202
- hideTitle?: boolean;
2203
- }): Routes;
2206
+ function extendRoute2(route: Route, indexPage?: IExtendRouteIndexPage): Routes;
2204
2207
  /**
2205
2208
  * Concatenates two strings and accounts for null values
2206
2209
  * @param text1 First string to concatenate
@@ -3108,7 +3111,7 @@ declare class NumberFormatService {
3108
3111
  readonly numberFormat: _angular_core.WritableSignal<"AM" | "EU">;
3109
3112
  readonly isNormal: _angular_core.Signal<boolean>;
3110
3113
  readonly locale: _angular_core.Signal<"en-US" | "fr-FR">;
3111
- readonly decimal: _angular_core.Signal<"." | ",">;
3114
+ readonly decimal: _angular_core.Signal<"," | ".">;
3112
3115
  constructor();
3113
3116
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<NumberFormatService, never>;
3114
3117
  static ɵprov: _angular_core.ɵɵInjectableDeclaration<NumberFormatService>;
@@ -3204,7 +3207,7 @@ declare class UtilityService<TEnvironment extends SDKEnvironment = SDKEnvironmen
3204
3207
  * @returns Array containing value, validators, and async validators
3205
3208
  * @template T - Type of the form control value
3206
3209
  */
3207
- formControl: <T>(value?: T | null, validatorOrOpts?: ValidatorFn | ValidatorFn[] | FormControlOptions, asyncValidator?: AsyncValidatorFn | AsyncValidatorFn[]) => (ValidatorFn | AsyncValidatorFn | ValidatorFn[] | AsyncValidatorFn[] | FormControlOptions | T)[];
3210
+ formControl: <T>(value?: T | null, validatorOrOpts?: ValidatorFn | ValidatorFn[] | FormControlOptions, asyncValidator?: AsyncValidatorFn | AsyncValidatorFn[]) => (T | ValidatorFn | FormControlOptions | ValidatorFn[] | AsyncValidatorFn | AsyncValidatorFn[])[];
3208
3211
  /**
3209
3212
  * Navigates back to the previous page using Angular's Location service
3210
3213
  */
@@ -5653,7 +5656,7 @@ declare class BtnComponent implements OnInit {
5653
5656
  /** CSS class for the button */
5654
5657
  readonly _mclass: _angular_core.WritableSignal<string>;
5655
5658
  /** HTML button type (submit, button, reset) */
5656
- readonly actionType: _angular_core.InputSignal<"submit" | "reset" | "button">;
5659
+ readonly actionType: _angular_core.InputSignal<"submit" | "button" | "reset">;
5657
5660
  /** Enables animation effect on the button */
5658
5661
  readonly animate: _angular_core.InputSignal<boolean>;
5659
5662
  /** Excludes this button from logging when true */
@@ -5670,13 +5673,13 @@ declare class BtnComponent implements OnInit {
5670
5673
  */
5671
5674
  set customIcon(v: string);
5672
5675
  /** Form to bind to the button for validation */
5673
- readonly form: _angular_core.InputSignal<AbstractControl<any, any, any> | FormGroup<any> | FormArray<any> | FormControl<any>>;
5676
+ readonly form: _angular_core.InputSignal<AbstractControl<any, any, any> | FormControl<any> | FormArray<any> | FormGroup<any>>;
5674
5677
  /** Subject for form changes */
5675
5678
  protected readonly formStateRes: _angular_core.ResourceRef<boolean>;
5676
5679
  /** Signal for form validity state */
5677
5680
  protected readonly formState: _angular_core.Signal<boolean>;
5678
5681
  /** Multiple forms to bind to the button for validation */
5679
- readonly forms: _angular_core.InputSignal<(AbstractControl<any, any, any> | FormGroup<any> | FormArray<any> | FormControl<any>)[]>;
5682
+ readonly forms: _angular_core.InputSignal<(AbstractControl<any, any, any> | FormControl<any> | FormArray<any> | FormGroup<any>)[]>;
5680
5683
  /** Signal for multiple forms validity state */
5681
5684
  protected readonly formsStateRes: _angular_core.ResourceRef<Omit<IFormState, "status">>;
5682
5685
  protected readonly formsState: _angular_core.Signal<boolean>;
@@ -8853,7 +8856,7 @@ declare class ResizeGridPipe implements PipeTransform {
8853
8856
  */
8854
8857
  declare class IndexCompLayoutComponent {
8855
8858
  /** Number of columns in the grid layout */
8856
- readonly grid: InputSignal<2 | 1 | 4 | 3 | 5 | 6 | "auto">;
8859
+ readonly grid: InputSignal<5 | 3 | 1 | 2 | 4 | 6 | "auto">;
8857
8860
  /** Whether to show the action buttons */
8858
8861
  readonly showButtons: InputSignal<boolean>;
8859
8862
  /** 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.3.2",
3
+ "version": "20.3.4",
4
4
  "repository": {
5
5
  "url": "https://github.com/Evolutics-Tech/ets-fe-sdk"
6
6
  },