ets-fe-ng-sdk 20.3.6 → 20.3.7
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 +12 -8
- package/fesm2022/ets-fe-ng-sdk.mjs.map +1 -1
- package/index.d.ts +16 -13
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -710,7 +710,7 @@ declare class TableCol<TRow = any> implements ITableCol<TRow> {
|
|
|
710
710
|
/** Field name from row data to display in this column */
|
|
711
711
|
f: KeyOfType<TRow, string | number | boolean | undefined | null>;
|
|
712
712
|
/** Function to format the cell value for display */
|
|
713
|
-
formatter?: (val: any) => string | undefined | Promise<string | undefined> | Observable<string | undefined>;
|
|
713
|
+
formatter?: (val: any) => string | undefined | null | Promise<string | undefined | null> | Observable<string | undefined | null>;
|
|
714
714
|
/** Function to format the cell value when expanded */
|
|
715
715
|
expandedFormatter?: (val: any) => string | undefined | Promise<string | undefined> | Observable<string | undefined>;
|
|
716
716
|
/** Function to generate hint/tooltip text for the cell */
|
|
@@ -3208,7 +3208,7 @@ declare class UtilityService<TEnvironment extends SDKEnvironment = SDKEnvironmen
|
|
|
3208
3208
|
* @returns Array containing value, validators, and async validators
|
|
3209
3209
|
* @template T - Type of the form control value
|
|
3210
3210
|
*/
|
|
3211
|
-
formControl: <T>(value?: T | null, validatorOrOpts?: ValidatorFn | ValidatorFn[] | FormControlOptions, asyncValidator?: AsyncValidatorFn | AsyncValidatorFn[]) => (FormControlOptions |
|
|
3211
|
+
formControl: <T>(value?: T | null, validatorOrOpts?: ValidatorFn | ValidatorFn[] | FormControlOptions, asyncValidator?: AsyncValidatorFn | AsyncValidatorFn[]) => (FormControlOptions | ValidatorFn | AsyncValidatorFn | ValidatorFn[] | AsyncValidatorFn[] | T)[];
|
|
3212
3212
|
/**
|
|
3213
3213
|
* Navigates back to the previous page using Angular's Location service
|
|
3214
3214
|
*/
|
|
@@ -3257,6 +3257,9 @@ declare class UtilityService<TEnvironment extends SDKEnvironment = SDKEnvironmen
|
|
|
3257
3257
|
* subscription.unsubscribe();
|
|
3258
3258
|
*/
|
|
3259
3259
|
onlyOneInput(inputs: FormControl[]): Subscription;
|
|
3260
|
+
formatCode: (map: {
|
|
3261
|
+
[code: string]: Partial<ICodeTitle & ICodeDescription>;
|
|
3262
|
+
}) => (code: string | undefined | null) => string;
|
|
3260
3263
|
/**
|
|
3261
3264
|
* Copies a payload to clipboard in debug mode
|
|
3262
3265
|
* @param payload - Data to be copied to clipboard
|
|
@@ -5674,13 +5677,13 @@ declare class BtnComponent implements OnInit {
|
|
|
5674
5677
|
*/
|
|
5675
5678
|
set customIcon(v: string);
|
|
5676
5679
|
/** Form to bind to the button for validation */
|
|
5677
|
-
readonly form: _angular_core.InputSignal<
|
|
5680
|
+
readonly form: _angular_core.InputSignal<AbstractControl<any, any, any> | FormGroup<any> | FormArray<any> | FormControl<any>>;
|
|
5678
5681
|
/** Subject for form changes */
|
|
5679
5682
|
protected readonly formStateRes: _angular_core.ResourceRef<boolean>;
|
|
5680
5683
|
/** Signal for form validity state */
|
|
5681
5684
|
protected readonly formState: _angular_core.Signal<boolean>;
|
|
5682
5685
|
/** Multiple forms to bind to the button for validation */
|
|
5683
|
-
readonly forms: _angular_core.InputSignal<(
|
|
5686
|
+
readonly forms: _angular_core.InputSignal<(AbstractControl<any, any, any> | FormGroup<any> | FormArray<any> | FormControl<any>)[]>;
|
|
5684
5687
|
/** Signal for multiple forms validity state */
|
|
5685
5688
|
protected readonly formsStateRes: _angular_core.ResourceRef<Omit<IFormState, "status">>;
|
|
5686
5689
|
protected readonly formsState: _angular_core.Signal<boolean>;
|
|
@@ -7980,7 +7983,7 @@ declare class InfoDialogComponent implements OnInit {
|
|
|
7980
7983
|
* @param status Status code (0=danger, 1=success, 2=info, 3=warning)
|
|
7981
7984
|
* @returns CSS class name corresponding to the status
|
|
7982
7985
|
*/
|
|
7983
|
-
cls: (status?: 0 | 1 | 2 | 3) => "" | "danger" | "success" | "
|
|
7986
|
+
cls: (status?: 0 | 1 | 2 | 3) => "info" | "danger" | "success" | "" | "warning";
|
|
7984
7987
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<InfoDialogComponent, never>;
|
|
7985
7988
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<InfoDialogComponent, "ng-component", never, {}, {}, never, never, true, never>;
|
|
7986
7989
|
}
|
|
@@ -8857,7 +8860,7 @@ declare class ResizeGridPipe implements PipeTransform {
|
|
|
8857
8860
|
*/
|
|
8858
8861
|
declare class IndexCompLayoutComponent {
|
|
8859
8862
|
/** Number of columns in the grid layout */
|
|
8860
|
-
readonly grid: InputSignal<5 |
|
|
8863
|
+
readonly grid: InputSignal<5 | 1 | 3 | 2 | 4 | "auto" | 6>;
|
|
8861
8864
|
/** Whether to show the action buttons */
|
|
8862
8865
|
readonly showButtons: InputSignal<boolean>;
|
|
8863
8866
|
/** Whether to hide the clone button */
|
|
@@ -9657,8 +9660,8 @@ declare class PhoneNumberComponent extends InputBasicComponent {
|
|
|
9657
9660
|
getExtension(number: string, iso2: string | undefined): string;
|
|
9658
9661
|
getNumberType(number: string, iso2: string | undefined): number;
|
|
9659
9662
|
getValidationError(number: string, iso2: string | undefined): number;
|
|
9660
|
-
isPossibleNumber(number: string, iso2: string | undefined, numberType?: ("FIXED_LINE_OR_MOBILE" | "FIXED_LINE" | "MOBILE" | "PAGER" | "PERSONAL_NUMBER" | "PREMIUM_RATE" | "SHARED_COST" | "TOLL_FREE" | "UAN" | "
|
|
9661
|
-
isValidNumber(number: string, iso2: string | undefined, numberType?: ("FIXED_LINE_OR_MOBILE" | "FIXED_LINE" | "MOBILE" | "PAGER" | "PERSONAL_NUMBER" | "PREMIUM_RATE" | "SHARED_COST" | "TOLL_FREE" | "UAN" | "
|
|
9663
|
+
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;
|
|
9664
|
+
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;
|
|
9662
9665
|
numberFormat: {
|
|
9663
9666
|
NATIONAL: number;
|
|
9664
9667
|
INTERNATIONAL: number;
|
|
@@ -9669,12 +9672,12 @@ declare class PhoneNumberComponent extends InputBasicComponent {
|
|
|
9669
9672
|
};
|
|
9670
9673
|
}>;
|
|
9671
9674
|
nationalMode?: boolean;
|
|
9672
|
-
placeholderNumberType?: "FIXED_LINE_OR_MOBILE" | "FIXED_LINE" | "MOBILE" | "PAGER" | "PERSONAL_NUMBER" | "PREMIUM_RATE" | "SHARED_COST" | "TOLL_FREE" | "UAN" | "
|
|
9675
|
+
placeholderNumberType?: "UNKNOWN" | "FIXED_LINE_OR_MOBILE" | "FIXED_LINE" | "MOBILE" | "PAGER" | "PERSONAL_NUMBER" | "PREMIUM_RATE" | "SHARED_COST" | "TOLL_FREE" | "UAN" | "VOICEMAIL" | "VOIP";
|
|
9673
9676
|
showFlags?: boolean;
|
|
9674
9677
|
separateDialCode?: boolean;
|
|
9675
9678
|
strictMode?: boolean;
|
|
9676
9679
|
useFullscreenPopup?: boolean;
|
|
9677
|
-
validationNumberTypes?: ("FIXED_LINE_OR_MOBILE" | "FIXED_LINE" | "MOBILE" | "PAGER" | "PERSONAL_NUMBER" | "PREMIUM_RATE" | "SHARED_COST" | "TOLL_FREE" | "UAN" | "
|
|
9680
|
+
validationNumberTypes?: ("UNKNOWN" | "FIXED_LINE_OR_MOBILE" | "FIXED_LINE" | "MOBILE" | "PAGER" | "PERSONAL_NUMBER" | "PREMIUM_RATE" | "SHARED_COST" | "TOLL_FREE" | "UAN" | "VOICEMAIL" | "VOIP")[] | null;
|
|
9678
9681
|
}>;
|
|
9679
9682
|
/**
|
|
9680
9683
|
* Initializes the component by adding a custom validator to the form control.
|
|
@@ -10493,7 +10496,7 @@ declare class TableHttpsComponent<TItem = any> extends TableBaseComponent<TItem>
|
|
|
10493
10496
|
readonly form: FormGroup<{
|
|
10494
10497
|
pageNumber: FormControl<number>;
|
|
10495
10498
|
sortBy: FormControl<keyof TItem>;
|
|
10496
|
-
sortDirection: FormControl<"" | "
|
|
10499
|
+
sortDirection: FormControl<"" | "ASC" | "DESC">;
|
|
10497
10500
|
pageSize: FormControl<number>;
|
|
10498
10501
|
}>;
|
|
10499
10502
|
/**
|
|
@@ -10502,7 +10505,7 @@ declare class TableHttpsComponent<TItem = any> extends TableBaseComponent<TItem>
|
|
|
10502
10505
|
readonly allQueryData: _angular_core.Signal<{
|
|
10503
10506
|
pageNumber: number;
|
|
10504
10507
|
sortBy: keyof TItem;
|
|
10505
|
-
sortDirection: "" | "
|
|
10508
|
+
sortDirection: "" | "ASC" | "DESC";
|
|
10506
10509
|
pageSize: number;
|
|
10507
10510
|
}>;
|
|
10508
10511
|
/**
|
|
@@ -10511,7 +10514,7 @@ declare class TableHttpsComponent<TItem = any> extends TableBaseComponent<TItem>
|
|
|
10511
10514
|
readonly formValue: _angular_core.Signal<{
|
|
10512
10515
|
pageNumber: number;
|
|
10513
10516
|
sortBy: keyof TItem;
|
|
10514
|
-
sortDirection: "" | "
|
|
10517
|
+
sortDirection: "" | "ASC" | "DESC";
|
|
10515
10518
|
pageSize: number;
|
|
10516
10519
|
}>;
|
|
10517
10520
|
/**
|