ets-fe-ng-sdk 20.0.11 → 20.0.13
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/fesm2022/ets-fe-ng-sdk.mjs +33 -15
- package/fesm2022/ets-fe-ng-sdk.mjs.map +1 -1
- package/index.d.ts +21 -14
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -2195,13 +2195,13 @@ 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> |
|
|
2198
|
+
readonly form: _angular_core.InputSignal<AbstractControl<any, any, any> | FormGroup<any> | FormControl<any> | FormArray<any>>;
|
|
2199
2199
|
/** Subject for form changes */
|
|
2200
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> |
|
|
2204
|
+
readonly forms: _angular_core.InputSignal<(AbstractControl<any, any, any> | FormGroup<any> | FormControl<any> | FormArray<any>)[]>;
|
|
2205
2205
|
/** Signal for multiple forms validity state */
|
|
2206
2206
|
protected readonly formsStateRes: _angular_core.ResourceRef<Omit<IFormState, "status">>;
|
|
2207
2207
|
protected readonly formsState: _angular_core.Signal<boolean>;
|
|
@@ -2950,7 +2950,7 @@ declare class InfoDialogComponent implements OnInit {
|
|
|
2950
2950
|
* @param status Status code (0=danger, 1=success, 2=info, 3=warning)
|
|
2951
2951
|
* @returns CSS class name corresponding to the status
|
|
2952
2952
|
*/
|
|
2953
|
-
cls: (status?: 0 | 1 | 2 | 3) => "
|
|
2953
|
+
cls: (status?: 0 | 1 | 2 | 3) => "" | "info" | "danger" | "success" | "warning";
|
|
2954
2954
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<InfoDialogComponent, never>;
|
|
2955
2955
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<InfoDialogComponent, "ng-component", never, {}, {}, never, never, true, never>;
|
|
2956
2956
|
}
|
|
@@ -3022,7 +3022,7 @@ declare class NumberFormatService {
|
|
|
3022
3022
|
readonly numberFormat: _angular_core.WritableSignal<"AM" | "EU">;
|
|
3023
3023
|
readonly isNormal: _angular_core.Signal<boolean>;
|
|
3024
3024
|
readonly locale: _angular_core.Signal<"en-US" | "fr-FR">;
|
|
3025
|
-
readonly decimal: _angular_core.Signal<"
|
|
3025
|
+
readonly decimal: _angular_core.Signal<"," | ".">;
|
|
3026
3026
|
constructor();
|
|
3027
3027
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<NumberFormatService, never>;
|
|
3028
3028
|
static ɵprov: _angular_core.ɵɵInjectableDeclaration<NumberFormatService>;
|
|
@@ -3120,7 +3120,7 @@ declare class UtilityService<TEnvironment extends SDKEnvironment = SDKEnvironmen
|
|
|
3120
3120
|
* @returns Array containing value, validators, and async validators
|
|
3121
3121
|
* @template T - Type of the form control value
|
|
3122
3122
|
*/
|
|
3123
|
-
formControl: <T>(value?: T | null, validatorOrOpts?: ValidatorFn | ValidatorFn[] | FormControlOptions, asyncValidator?: AsyncValidatorFn | AsyncValidatorFn[]) => (
|
|
3123
|
+
formControl: <T>(value?: T | null, validatorOrOpts?: ValidatorFn | ValidatorFn[] | FormControlOptions, asyncValidator?: AsyncValidatorFn | AsyncValidatorFn[]) => (T | ValidatorFn | FormControlOptions | ValidatorFn[] | AsyncValidatorFn | AsyncValidatorFn[])[];
|
|
3124
3124
|
/**
|
|
3125
3125
|
* Navigates back to the previous page using Angular's Location service
|
|
3126
3126
|
*/
|
|
@@ -3358,6 +3358,14 @@ declare class UtilityService<TEnvironment extends SDKEnvironment = SDKEnvironmen
|
|
|
3358
3358
|
* @returns Promise that resolves with the value
|
|
3359
3359
|
*/
|
|
3360
3360
|
promisifyVal: <T>(val: T | Promise<T> | Observable<T>) => Promise<Awaited<T>>;
|
|
3361
|
+
getCodeTitles: <T>(obs: Observable<T[]>, valueField: keyof T) => Observable<{
|
|
3362
|
+
list: T[];
|
|
3363
|
+
map: {
|
|
3364
|
+
[x: string]: T;
|
|
3365
|
+
};
|
|
3366
|
+
}>;
|
|
3367
|
+
rxResourceErrorWrapper: <T>(obs: Observable<T>) => Observable<T>;
|
|
3368
|
+
resourceErrorWrapper: <T>(ps: Promise<T>) => Promise<any>;
|
|
3361
3369
|
/**
|
|
3362
3370
|
* Merges multiple observables into a single observable
|
|
3363
3371
|
* @param arr - Array of observables to fetch
|
|
@@ -7262,7 +7270,7 @@ declare class TableHttpsComponent<TItem = any> extends TableBaseComponent<TItem>
|
|
|
7262
7270
|
readonly form: FormGroup<{
|
|
7263
7271
|
pageNumber: FormControl<number>;
|
|
7264
7272
|
sortBy: FormControl<keyof TItem>;
|
|
7265
|
-
sortDirection: FormControl<"" | "
|
|
7273
|
+
sortDirection: FormControl<"" | "DESC" | "ASC">;
|
|
7266
7274
|
pageSize: FormControl<number>;
|
|
7267
7275
|
}>;
|
|
7268
7276
|
/**
|
|
@@ -7271,7 +7279,7 @@ declare class TableHttpsComponent<TItem = any> extends TableBaseComponent<TItem>
|
|
|
7271
7279
|
readonly allQueryData: _angular_core.Signal<{
|
|
7272
7280
|
pageNumber: number;
|
|
7273
7281
|
sortBy: keyof TItem;
|
|
7274
|
-
sortDirection: "" | "
|
|
7282
|
+
sortDirection: "" | "DESC" | "ASC";
|
|
7275
7283
|
pageSize: number;
|
|
7276
7284
|
}>;
|
|
7277
7285
|
/**
|
|
@@ -7280,7 +7288,7 @@ declare class TableHttpsComponent<TItem = any> extends TableBaseComponent<TItem>
|
|
|
7280
7288
|
readonly formValue: _angular_core.Signal<{
|
|
7281
7289
|
pageNumber: number;
|
|
7282
7290
|
sortBy: keyof TItem;
|
|
7283
|
-
sortDirection: "" | "
|
|
7291
|
+
sortDirection: "" | "DESC" | "ASC";
|
|
7284
7292
|
pageSize: number;
|
|
7285
7293
|
}>;
|
|
7286
7294
|
/**
|
|
@@ -9742,7 +9750,7 @@ declare class ResizeGridPipe implements PipeTransform {
|
|
|
9742
9750
|
*/
|
|
9743
9751
|
declare class IndexCompLayoutComponent {
|
|
9744
9752
|
/** Number of columns in the grid layout */
|
|
9745
|
-
readonly grid: InputSignal<1 |
|
|
9753
|
+
readonly grid: InputSignal<1 | 2 | 3 | 5 | 4 | 6 | "auto">;
|
|
9746
9754
|
/** Whether to show the action buttons */
|
|
9747
9755
|
readonly showButtons: InputSignal<boolean>;
|
|
9748
9756
|
/** Whether to hide the clone button */
|
|
@@ -11294,7 +11302,7 @@ declare class GetColFormattedPipe implements PipeTransform {
|
|
|
11294
11302
|
* @param col - The column configuration
|
|
11295
11303
|
* @returns An observable containing the formatted value
|
|
11296
11304
|
*/
|
|
11297
|
-
transform(row: any, col: TableCol):
|
|
11305
|
+
transform(row: any, col: TableCol): rxjs.Observable<any> | Promise<string>;
|
|
11298
11306
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<GetColFormattedPipe, never>;
|
|
11299
11307
|
static ɵpipe: _angular_core.ɵɵPipeDeclaration<GetColFormattedPipe, "getColFormatted", true>;
|
|
11300
11308
|
}
|
|
@@ -11309,7 +11317,7 @@ declare class GetColFormattedEPipe implements PipeTransform {
|
|
|
11309
11317
|
* @param col - The column configuration
|
|
11310
11318
|
* @returns An observable containing the formatted value
|
|
11311
11319
|
*/
|
|
11312
|
-
transform(row: any, col: TableCol):
|
|
11320
|
+
transform(row: any, col: TableCol): rxjs.Observable<any> | Promise<string>;
|
|
11313
11321
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<GetColFormattedEPipe, never>;
|
|
11314
11322
|
static ɵpipe: _angular_core.ɵɵPipeDeclaration<GetColFormattedEPipe, "getColFormattedE", true>;
|
|
11315
11323
|
}
|
|
@@ -12107,7 +12115,6 @@ declare class DragDropFileUploadDirective {
|
|
|
12107
12115
|
*/
|
|
12108
12116
|
declare class InputFormatDirective implements ControlValueAccessor {
|
|
12109
12117
|
private elementRef;
|
|
12110
|
-
private formatterService;
|
|
12111
12118
|
private decimalPipe;
|
|
12112
12119
|
private el;
|
|
12113
12120
|
/** The original input type (text, number, percentage) */
|
|
@@ -12135,8 +12142,8 @@ declare class InputFormatDirective implements ControlValueAccessor {
|
|
|
12135
12142
|
/** List of input types that can be formatted */
|
|
12136
12143
|
readonly acceptedType: InputType[];
|
|
12137
12144
|
/** Service for page-level formatting configuration */
|
|
12138
|
-
readonly inputFormatService
|
|
12139
|
-
constructor(elementRef: ElementRef<HTMLInputElement>,
|
|
12145
|
+
private readonly inputFormatService;
|
|
12146
|
+
constructor(elementRef: ElementRef<HTMLInputElement>, decimalPipe: DecimalPipe);
|
|
12140
12147
|
/**
|
|
12141
12148
|
* Initialize the directive, determine input type and apply initial formatting
|
|
12142
12149
|
*/
|