ets-fe-ng-sdk 20.3.12 → 20.3.14
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 +1 -1
- package/fesm2022/ets-fe-ng-sdk.mjs.map +1 -1
- package/index.d.ts +19 -14
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -1342,7 +1342,7 @@ declare enum EMenuType {
|
|
|
1342
1342
|
* Common pattern for dropdown options and other selectable items
|
|
1343
1343
|
* @template T Type of the value
|
|
1344
1344
|
*/
|
|
1345
|
-
interface IValueLabel<T> {
|
|
1345
|
+
interface IValueLabel<T = string> {
|
|
1346
1346
|
/** Value to be used programmatically (e.g., stored in database) */
|
|
1347
1347
|
value: T;
|
|
1348
1348
|
/** Human-readable display label for the value */
|
|
@@ -1354,7 +1354,12 @@ interface IValueLabel<T> {
|
|
|
1354
1354
|
*/
|
|
1355
1355
|
interface IConfigImages {
|
|
1356
1356
|
/** Path to favicon image displayed in browser tabs */
|
|
1357
|
-
favicon:
|
|
1357
|
+
favicon: {
|
|
1358
|
+
/** Dark theme logo path */
|
|
1359
|
+
dark: string;
|
|
1360
|
+
/** Light theme logo path */
|
|
1361
|
+
light: string;
|
|
1362
|
+
};
|
|
1358
1363
|
/** Path to watermark image used for document overlays */
|
|
1359
1364
|
watermark: string;
|
|
1360
1365
|
/** Logo image paths for different themes */
|
|
@@ -3206,7 +3211,7 @@ declare class UtilityService<TEnvironment extends SDKEnvironment = SDKEnvironmen
|
|
|
3206
3211
|
* @returns Array containing value, validators, and async validators
|
|
3207
3212
|
* @template T - Type of the form control value
|
|
3208
3213
|
*/
|
|
3209
|
-
formControl: <T>(value?: T | null, validatorOrOpts?: ValidatorFn | ValidatorFn[] | FormControlOptions, asyncValidator?: AsyncValidatorFn | AsyncValidatorFn[]) => (
|
|
3214
|
+
formControl: <T>(value?: T | null, validatorOrOpts?: ValidatorFn | ValidatorFn[] | FormControlOptions, asyncValidator?: AsyncValidatorFn | AsyncValidatorFn[]) => (FormControlOptions | ValidatorFn | AsyncValidatorFn | ValidatorFn[] | AsyncValidatorFn[] | T)[];
|
|
3210
3215
|
/**
|
|
3211
3216
|
* Navigates back to the previous page using Angular's Location service
|
|
3212
3217
|
*/
|
|
@@ -5662,7 +5667,7 @@ declare class BtnComponent implements OnInit {
|
|
|
5662
5667
|
/** CSS class for the button */
|
|
5663
5668
|
readonly _mclass: _angular_core.WritableSignal<string>;
|
|
5664
5669
|
/** HTML button type (submit, button, reset) */
|
|
5665
|
-
readonly actionType: _angular_core.InputSignal<"
|
|
5670
|
+
readonly actionType: _angular_core.InputSignal<"submit" | "button" | "reset">;
|
|
5666
5671
|
/** Enables animation effect on the button */
|
|
5667
5672
|
readonly animate: _angular_core.InputSignal<boolean>;
|
|
5668
5673
|
/** Excludes this button from logging when true */
|
|
@@ -7985,7 +7990,7 @@ declare class InfoDialogComponent implements OnInit {
|
|
|
7985
7990
|
* @param status Status code (0=danger, 1=success, 2=info, 3=warning)
|
|
7986
7991
|
* @returns CSS class name corresponding to the status
|
|
7987
7992
|
*/
|
|
7988
|
-
cls: (status?: 0 | 1 | 2 | 3) => "" | "danger" | "success" | "
|
|
7993
|
+
cls: (status?: 0 | 1 | 2 | 3) => "info" | "danger" | "success" | "" | "warning";
|
|
7989
7994
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<InfoDialogComponent, never>;
|
|
7990
7995
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<InfoDialogComponent, "ng-component", never, {}, {}, never, never, true, never>;
|
|
7991
7996
|
}
|
|
@@ -8862,7 +8867,7 @@ declare class ResizeGridPipe implements PipeTransform {
|
|
|
8862
8867
|
*/
|
|
8863
8868
|
declare class IndexCompLayoutComponent {
|
|
8864
8869
|
/** Number of columns in the grid layout */
|
|
8865
|
-
readonly grid: InputSignal<
|
|
8870
|
+
readonly grid: InputSignal<5 | 1 | 3 | 2 | 4 | "auto" | 6>;
|
|
8866
8871
|
/** Whether to show the action buttons */
|
|
8867
8872
|
readonly showButtons: InputSignal<boolean>;
|
|
8868
8873
|
/** Whether to hide the clone button */
|
|
@@ -9662,8 +9667,8 @@ declare class PhoneNumberComponent extends InputBasicComponent {
|
|
|
9662
9667
|
getExtension(number: string, iso2: string | undefined): string;
|
|
9663
9668
|
getNumberType(number: string, iso2: string | undefined): number;
|
|
9664
9669
|
getValidationError(number: string, iso2: string | undefined): number;
|
|
9665
|
-
isPossibleNumber(number: string, iso2: string | undefined, numberType?: ("FIXED_LINE_OR_MOBILE" | "FIXED_LINE" | "MOBILE" | "PAGER" | "PERSONAL_NUMBER" | "PREMIUM_RATE" | "SHARED_COST" | "TOLL_FREE" | "UAN" | "
|
|
9666
|
-
isValidNumber(number: string, iso2: string | undefined, numberType?: ("FIXED_LINE_OR_MOBILE" | "FIXED_LINE" | "MOBILE" | "PAGER" | "PERSONAL_NUMBER" | "PREMIUM_RATE" | "SHARED_COST" | "TOLL_FREE" | "UAN" | "
|
|
9670
|
+
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;
|
|
9671
|
+
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;
|
|
9667
9672
|
numberFormat: {
|
|
9668
9673
|
NATIONAL: number;
|
|
9669
9674
|
INTERNATIONAL: number;
|
|
@@ -9674,12 +9679,12 @@ declare class PhoneNumberComponent extends InputBasicComponent {
|
|
|
9674
9679
|
};
|
|
9675
9680
|
}>;
|
|
9676
9681
|
nationalMode?: boolean;
|
|
9677
|
-
placeholderNumberType?: "FIXED_LINE_OR_MOBILE" | "FIXED_LINE" | "MOBILE" | "PAGER" | "PERSONAL_NUMBER" | "PREMIUM_RATE" | "SHARED_COST" | "TOLL_FREE" | "UAN" | "
|
|
9682
|
+
placeholderNumberType?: "UNKNOWN" | "FIXED_LINE_OR_MOBILE" | "FIXED_LINE" | "MOBILE" | "PAGER" | "PERSONAL_NUMBER" | "PREMIUM_RATE" | "SHARED_COST" | "TOLL_FREE" | "UAN" | "VOICEMAIL" | "VOIP";
|
|
9678
9683
|
showFlags?: boolean;
|
|
9679
9684
|
separateDialCode?: boolean;
|
|
9680
9685
|
strictMode?: boolean;
|
|
9681
9686
|
useFullscreenPopup?: boolean;
|
|
9682
|
-
validationNumberTypes?: ("FIXED_LINE_OR_MOBILE" | "FIXED_LINE" | "MOBILE" | "PAGER" | "PERSONAL_NUMBER" | "PREMIUM_RATE" | "SHARED_COST" | "TOLL_FREE" | "UAN" | "
|
|
9687
|
+
validationNumberTypes?: ("UNKNOWN" | "FIXED_LINE_OR_MOBILE" | "FIXED_LINE" | "MOBILE" | "PAGER" | "PERSONAL_NUMBER" | "PREMIUM_RATE" | "SHARED_COST" | "TOLL_FREE" | "UAN" | "VOICEMAIL" | "VOIP")[] | null;
|
|
9683
9688
|
}>;
|
|
9684
9689
|
/**
|
|
9685
9690
|
* Initializes the component by adding a custom validator to the form control.
|
|
@@ -10497,7 +10502,7 @@ declare class TableHttpsComponent<TItem = any> extends TableBaseComponent<TItem>
|
|
|
10497
10502
|
readonly form: FormGroup<{
|
|
10498
10503
|
pageNumber: FormControl<number>;
|
|
10499
10504
|
sortBy: FormControl<keyof TItem>;
|
|
10500
|
-
sortDirection: FormControl<"" | "
|
|
10505
|
+
sortDirection: FormControl<"" | "ASC" | "DESC">;
|
|
10501
10506
|
pageSize: FormControl<number>;
|
|
10502
10507
|
}>;
|
|
10503
10508
|
/**
|
|
@@ -10506,7 +10511,7 @@ declare class TableHttpsComponent<TItem = any> extends TableBaseComponent<TItem>
|
|
|
10506
10511
|
readonly allQueryData: _angular_core.Signal<{
|
|
10507
10512
|
pageNumber: number;
|
|
10508
10513
|
sortBy: keyof TItem;
|
|
10509
|
-
sortDirection: "" | "
|
|
10514
|
+
sortDirection: "" | "ASC" | "DESC";
|
|
10510
10515
|
pageSize: number;
|
|
10511
10516
|
}>;
|
|
10512
10517
|
/**
|
|
@@ -10515,7 +10520,7 @@ declare class TableHttpsComponent<TItem = any> extends TableBaseComponent<TItem>
|
|
|
10515
10520
|
readonly formValue: _angular_core.Signal<{
|
|
10516
10521
|
pageNumber: number;
|
|
10517
10522
|
sortBy: keyof TItem;
|
|
10518
|
-
sortDirection: "" | "
|
|
10523
|
+
sortDirection: "" | "ASC" | "DESC";
|
|
10519
10524
|
pageSize: number;
|
|
10520
10525
|
}>;
|
|
10521
10526
|
/**
|
|
@@ -11389,7 +11394,7 @@ declare class TextCase2Component<T = any> {
|
|
|
11389
11394
|
* Uses route input if provided, otherwise uses routeFunc
|
|
11390
11395
|
* For email/phone values, creates a mailto: or tel: link
|
|
11391
11396
|
*/
|
|
11392
|
-
readonly computedRoute: _angular_core.Signal<
|
|
11397
|
+
readonly computedRoute: _angular_core.Signal<Promise<string> | Observable<string>>;
|
|
11393
11398
|
/**
|
|
11394
11399
|
* Computes the value to display based on inputs
|
|
11395
11400
|
* Uses value input if provided, otherwise uses data[name]
|