ets-fe-ng-sdk 20.3.11 → 20.3.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 +10 -1
- package/fesm2022/ets-fe-ng-sdk.mjs.map +1 -1
- package/index.d.ts +16 -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 */
|
|
@@ -3206,7 +3206,7 @@ declare class UtilityService<TEnvironment extends SDKEnvironment = SDKEnvironmen
|
|
|
3206
3206
|
* @returns Array containing value, validators, and async validators
|
|
3207
3207
|
* @template T - Type of the form control value
|
|
3208
3208
|
*/
|
|
3209
|
-
formControl: <T>(value?: T | null, validatorOrOpts?: ValidatorFn | ValidatorFn[] | FormControlOptions, asyncValidator?: AsyncValidatorFn | AsyncValidatorFn[]) => (
|
|
3209
|
+
formControl: <T>(value?: T | null, validatorOrOpts?: ValidatorFn | ValidatorFn[] | FormControlOptions, asyncValidator?: AsyncValidatorFn | AsyncValidatorFn[]) => (FormControlOptions | ValidatorFn | AsyncValidatorFn | ValidatorFn[] | AsyncValidatorFn[] | T)[];
|
|
3210
3210
|
/**
|
|
3211
3211
|
* Navigates back to the previous page using Angular's Location service
|
|
3212
3212
|
*/
|
|
@@ -4904,6 +4904,8 @@ declare class InputBase<TFormGroup extends {
|
|
|
4904
4904
|
readonly optionHintField: _angular_core.ModelSignal<keyof TOption>;
|
|
4905
4905
|
readonly ctOptions: _angular_core.InputSignal<ICodeTitle<string>[]>;
|
|
4906
4906
|
protected readonly ctOptionsEffect: _angular_core.EffectRef;
|
|
4907
|
+
readonly vlOptions: _angular_core.InputSignal<IValueLabel<any>[]>;
|
|
4908
|
+
protected readonly vlOptionsEffect: _angular_core.EffectRef;
|
|
4907
4909
|
/** Preset label type for options */
|
|
4908
4910
|
readonly labelType: _angular_core.ModelSignal<OptionLabelType>;
|
|
4909
4911
|
/** Custom formatter function for options */
|
|
@@ -5086,7 +5088,7 @@ declare class InputBase<TFormGroup extends {
|
|
|
5086
5088
|
*/
|
|
5087
5089
|
dateChanged(value: string): void;
|
|
5088
5090
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<InputBase<any, any, any>, never>;
|
|
5089
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<InputBase<any, any, any>, "ng-component", never, { "cls": { "alias": "cls"; "required": false; "isSignal": true; }; "hint": { "alias": "hint"; "required": false; "isSignal": true; }; "dontFormatAsInputSignal": { "alias": "dontFormatAsInput"; "required": false; "isSignal": true; }; "duplicateCheckSignal": { "alias": "duplicateCheck"; "required": false; "isSignal": true; }; "presetValue": { "alias": "presetValue"; "required": false; "isSignal": true; }; "endLabelSignal": { "alias": "endLabel"; "required": false; "isSignal": true; }; "endLabelTooltipSignal": { "alias": "endLabelTooltip"; "required": false; "isSignal": true; }; "idSignal": { "alias": "id"; "required": false; "isSignal": true; }; "inputContClassSignal": { "alias": "inputContClass"; "required": false; "isSignal": true; }; "labelSignal": { "alias": "label"; "required": false; "isSignal": true; }; "lblCl": { "alias": "lblCl"; "required": false; "isSignal": true; }; "light": { "alias": "light"; "required": false; "isSignal": true; }; "noFormat": { "alias": "noFormat"; "required": false; "isSignal": true; }; "placeholder": { "alias": "placeholder"; "required": false; "isSignal": true; }; "readonlySignal": { "alias": "readonly"; "required": false; "isSignal": true; }; "requiredSignal": { "alias": "required"; "required": false; "isSignal": true; }; "showRequiredTagSignal": { "alias": "showRequiredTag"; "required": false; "isSignal": true; }; "suffix": { "alias": "suffix"; "required": false; "isSignal": true; }; "textareaRowsSignal": { "alias": "textareaRows"; "required": false; "isSignal": true; }; "translatorOptions": { "alias": "translatorOptions"; "required": false; "isSignal": true; }; "setFormattedValue": { "alias": "setFormattedValue"; "required": false; "isSignal": true; }; "form": { "alias": "form"; "required": false; "isSignal": true; }; "inlineHint": { "alias": "inlineHint"; "required": false; "isSignal": true; }; "autoPickValueField": { "alias": "autoPickValueField"; "required": false; "isSignal": true; }; "labelField": { "alias": "labelField"; "required": false; "isSignal": true; }; "optionHintField": { "alias": "optionHintField"; "required": false; "isSignal": true; }; "ctOptions": { "alias": "ctOptions"; "required": false; "isSignal": true; }; "labelType": { "alias": "labelType"; "required": false; "isSignal": true; }; "optionFormatter": { "alias": "optionFormatter"; "required": false; "isSignal": true; }; "theme": { "alias": "theme"; "required": false; "isSignal": true; }; "xsmall": { "alias": "xsmall"; "required": false; "isSignal": true; }; "name": { "alias": "name"; "required": false; "isSignal": true; }; "_indeterminate": { "alias": "indeterminate"; "required": false; }; "maxToday": { "alias": "maxToday"; "required": false; }; "minToday": { "alias": "minToday"; "required": false; }; "valueField": { "alias": "valueField"; "required": false; "isSignal": true; }; "prefixSignal": { "alias": "prefix"; "required": false; "isSignal": true; }; "miniSignal": { "alias": "mini"; "required": false; "isSignal": true; }; "inpClSignal": { "alias": "inpCl"; "required": false; "isSignal": true; }; "showEmptyOptionSignal": { "alias": "showEmptyOption"; "required": false; "isSignal": true; }; "showLabelSignal": { "alias": "showLabel"; "required": false; "isSignal": true; }; "showValidationSignal": { "alias": "showValidation"; "required": false; "isSignal": true; }; "showValidationIconSignal": { "alias": "showValidationIcon"; "required": false; "isSignal": true; }; "smallSignal": { "alias": "small"; "required": false; "isSignal": true; }; "showValidationMsgSignal": { "alias": "showValidationMsg"; "required": false; "isSignal": true; }; "stackedSignal": { "alias": "stacked"; "required": false; "isSignal": true; }; "debug": { "alias": "debug"; "required": false; "isSignal": true; }; "verbose": { "alias": "verbose"; "required": false; "isSignal": true; }; "timeType": { "alias": "timeType"; "required": false; "isSignal": true; }; "checkParentBeforeDisable": { "alias": "checkParentBeforeDisable"; "required": false; "isSignal": true; }; "clearOnDisable": { "alias": "clearOnDisable"; "required": false; "isSignal": true; }; "minLength": { "alias": "minLength"; "required": false; "isSignal": true; }; "maxLength": { "alias": "maxLength"; "required": false; "isSignal": true; }; "_disabled": { "alias": "disabled"; "required": false; }; "_type": { "alias": "type"; "required": false; }; "maxSignal": { "alias": "max"; "required": false; "isSignal": true; }; "minSignal": { "alias": "min"; "required": false; "isSignal": true; }; "coloredSignal": { "alias": "colored"; "required": false; "isSignal": true; }; "checkedSignal": { "alias": "checkedSignal"; "required": false; "isSignal": true; }; }, { "form": "formChange"; "labelField": "labelFieldChange"; "optionHintField": "optionHintFieldChange"; "labelType": "labelTypeChange"; "name": "nameChange"; "valueField": "valueFieldChange"; "prefixSignal": "prefixChange"; "miniSignal": "miniChange"; "inpClSignal": "inpClChange"; "showEmptyOptionSignal": "showEmptyOptionChange"; "showLabelSignal": "showLabelChange"; "showValidationSignal": "showValidationChange"; "showValidationIconSignal": "showValidationIconChange"; "smallSignal": "smallChange"; "showValidationMsgSignal": "showValidationMsgChange"; "checkParentBeforeDisable": "checkParentBeforeDisableChange"; "maxSignal": "maxChange"; "minSignal": "minChange"; "mchange": "mchange"; "mSelectOptionChange": "mSelectOptionChange"; }, never, never, true, never>;
|
|
5091
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<InputBase<any, any, any>, "ng-component", never, { "cls": { "alias": "cls"; "required": false; "isSignal": true; }; "hint": { "alias": "hint"; "required": false; "isSignal": true; }; "dontFormatAsInputSignal": { "alias": "dontFormatAsInput"; "required": false; "isSignal": true; }; "duplicateCheckSignal": { "alias": "duplicateCheck"; "required": false; "isSignal": true; }; "presetValue": { "alias": "presetValue"; "required": false; "isSignal": true; }; "endLabelSignal": { "alias": "endLabel"; "required": false; "isSignal": true; }; "endLabelTooltipSignal": { "alias": "endLabelTooltip"; "required": false; "isSignal": true; }; "idSignal": { "alias": "id"; "required": false; "isSignal": true; }; "inputContClassSignal": { "alias": "inputContClass"; "required": false; "isSignal": true; }; "labelSignal": { "alias": "label"; "required": false; "isSignal": true; }; "lblCl": { "alias": "lblCl"; "required": false; "isSignal": true; }; "light": { "alias": "light"; "required": false; "isSignal": true; }; "noFormat": { "alias": "noFormat"; "required": false; "isSignal": true; }; "placeholder": { "alias": "placeholder"; "required": false; "isSignal": true; }; "readonlySignal": { "alias": "readonly"; "required": false; "isSignal": true; }; "requiredSignal": { "alias": "required"; "required": false; "isSignal": true; }; "showRequiredTagSignal": { "alias": "showRequiredTag"; "required": false; "isSignal": true; }; "suffix": { "alias": "suffix"; "required": false; "isSignal": true; }; "textareaRowsSignal": { "alias": "textareaRows"; "required": false; "isSignal": true; }; "translatorOptions": { "alias": "translatorOptions"; "required": false; "isSignal": true; }; "setFormattedValue": { "alias": "setFormattedValue"; "required": false; "isSignal": true; }; "form": { "alias": "form"; "required": false; "isSignal": true; }; "inlineHint": { "alias": "inlineHint"; "required": false; "isSignal": true; }; "autoPickValueField": { "alias": "autoPickValueField"; "required": false; "isSignal": true; }; "labelField": { "alias": "labelField"; "required": false; "isSignal": true; }; "optionHintField": { "alias": "optionHintField"; "required": false; "isSignal": true; }; "ctOptions": { "alias": "ctOptions"; "required": false; "isSignal": true; }; "vlOptions": { "alias": "vlOptions"; "required": false; "isSignal": true; }; "labelType": { "alias": "labelType"; "required": false; "isSignal": true; }; "optionFormatter": { "alias": "optionFormatter"; "required": false; "isSignal": true; }; "theme": { "alias": "theme"; "required": false; "isSignal": true; }; "xsmall": { "alias": "xsmall"; "required": false; "isSignal": true; }; "name": { "alias": "name"; "required": false; "isSignal": true; }; "_indeterminate": { "alias": "indeterminate"; "required": false; }; "maxToday": { "alias": "maxToday"; "required": false; }; "minToday": { "alias": "minToday"; "required": false; }; "valueField": { "alias": "valueField"; "required": false; "isSignal": true; }; "prefixSignal": { "alias": "prefix"; "required": false; "isSignal": true; }; "miniSignal": { "alias": "mini"; "required": false; "isSignal": true; }; "inpClSignal": { "alias": "inpCl"; "required": false; "isSignal": true; }; "showEmptyOptionSignal": { "alias": "showEmptyOption"; "required": false; "isSignal": true; }; "showLabelSignal": { "alias": "showLabel"; "required": false; "isSignal": true; }; "showValidationSignal": { "alias": "showValidation"; "required": false; "isSignal": true; }; "showValidationIconSignal": { "alias": "showValidationIcon"; "required": false; "isSignal": true; }; "smallSignal": { "alias": "small"; "required": false; "isSignal": true; }; "showValidationMsgSignal": { "alias": "showValidationMsg"; "required": false; "isSignal": true; }; "stackedSignal": { "alias": "stacked"; "required": false; "isSignal": true; }; "debug": { "alias": "debug"; "required": false; "isSignal": true; }; "verbose": { "alias": "verbose"; "required": false; "isSignal": true; }; "timeType": { "alias": "timeType"; "required": false; "isSignal": true; }; "checkParentBeforeDisable": { "alias": "checkParentBeforeDisable"; "required": false; "isSignal": true; }; "clearOnDisable": { "alias": "clearOnDisable"; "required": false; "isSignal": true; }; "minLength": { "alias": "minLength"; "required": false; "isSignal": true; }; "maxLength": { "alias": "maxLength"; "required": false; "isSignal": true; }; "_disabled": { "alias": "disabled"; "required": false; }; "_type": { "alias": "type"; "required": false; }; "maxSignal": { "alias": "max"; "required": false; "isSignal": true; }; "minSignal": { "alias": "min"; "required": false; "isSignal": true; }; "coloredSignal": { "alias": "colored"; "required": false; "isSignal": true; }; "checkedSignal": { "alias": "checkedSignal"; "required": false; "isSignal": true; }; }, { "form": "formChange"; "labelField": "labelFieldChange"; "optionHintField": "optionHintFieldChange"; "labelType": "labelTypeChange"; "name": "nameChange"; "valueField": "valueFieldChange"; "prefixSignal": "prefixChange"; "miniSignal": "miniChange"; "inpClSignal": "inpClChange"; "showEmptyOptionSignal": "showEmptyOptionChange"; "showLabelSignal": "showLabelChange"; "showValidationSignal": "showValidationChange"; "showValidationIconSignal": "showValidationIconChange"; "smallSignal": "smallChange"; "showValidationMsgSignal": "showValidationMsgChange"; "checkParentBeforeDisable": "checkParentBeforeDisableChange"; "maxSignal": "maxChange"; "minSignal": "minChange"; "mchange": "mchange"; "mSelectOptionChange": "mSelectOptionChange"; }, never, never, true, never>;
|
|
5090
5092
|
}
|
|
5091
5093
|
type InputTheme$1 = 1 | 2;
|
|
5092
5094
|
|
|
@@ -5660,7 +5662,7 @@ declare class BtnComponent implements OnInit {
|
|
|
5660
5662
|
/** CSS class for the button */
|
|
5661
5663
|
readonly _mclass: _angular_core.WritableSignal<string>;
|
|
5662
5664
|
/** HTML button type (submit, button, reset) */
|
|
5663
|
-
readonly actionType: _angular_core.InputSignal<"
|
|
5665
|
+
readonly actionType: _angular_core.InputSignal<"submit" | "button" | "reset">;
|
|
5664
5666
|
/** Enables animation effect on the button */
|
|
5665
5667
|
readonly animate: _angular_core.InputSignal<boolean>;
|
|
5666
5668
|
/** Excludes this button from logging when true */
|
|
@@ -7983,7 +7985,7 @@ declare class InfoDialogComponent implements OnInit {
|
|
|
7983
7985
|
* @param status Status code (0=danger, 1=success, 2=info, 3=warning)
|
|
7984
7986
|
* @returns CSS class name corresponding to the status
|
|
7985
7987
|
*/
|
|
7986
|
-
cls: (status?: 0 | 1 | 2 | 3) => "" | "danger" | "success" | "
|
|
7988
|
+
cls: (status?: 0 | 1 | 2 | 3) => "info" | "danger" | "success" | "" | "warning";
|
|
7987
7989
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<InfoDialogComponent, never>;
|
|
7988
7990
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<InfoDialogComponent, "ng-component", never, {}, {}, never, never, true, never>;
|
|
7989
7991
|
}
|
|
@@ -8860,7 +8862,7 @@ declare class ResizeGridPipe implements PipeTransform {
|
|
|
8860
8862
|
*/
|
|
8861
8863
|
declare class IndexCompLayoutComponent {
|
|
8862
8864
|
/** Number of columns in the grid layout */
|
|
8863
|
-
readonly grid: InputSignal<
|
|
8865
|
+
readonly grid: InputSignal<5 | 1 | 3 | 2 | 4 | "auto" | 6>;
|
|
8864
8866
|
/** Whether to show the action buttons */
|
|
8865
8867
|
readonly showButtons: InputSignal<boolean>;
|
|
8866
8868
|
/** Whether to hide the clone button */
|
|
@@ -9660,8 +9662,8 @@ declare class PhoneNumberComponent extends InputBasicComponent {
|
|
|
9660
9662
|
getExtension(number: string, iso2: string | undefined): string;
|
|
9661
9663
|
getNumberType(number: string, iso2: string | undefined): number;
|
|
9662
9664
|
getValidationError(number: string, iso2: string | undefined): number;
|
|
9663
|
-
isPossibleNumber(number: string, iso2: string | undefined, numberType?: ("FIXED_LINE_OR_MOBILE" | "FIXED_LINE" | "MOBILE" | "PAGER" | "PERSONAL_NUMBER" | "PREMIUM_RATE" | "SHARED_COST" | "TOLL_FREE" | "UAN" | "
|
|
9664
|
-
isValidNumber(number: string, iso2: string | undefined, numberType?: ("FIXED_LINE_OR_MOBILE" | "FIXED_LINE" | "MOBILE" | "PAGER" | "PERSONAL_NUMBER" | "PREMIUM_RATE" | "SHARED_COST" | "TOLL_FREE" | "UAN" | "
|
|
9665
|
+
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;
|
|
9666
|
+
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;
|
|
9665
9667
|
numberFormat: {
|
|
9666
9668
|
NATIONAL: number;
|
|
9667
9669
|
INTERNATIONAL: number;
|
|
@@ -9672,12 +9674,12 @@ declare class PhoneNumberComponent extends InputBasicComponent {
|
|
|
9672
9674
|
};
|
|
9673
9675
|
}>;
|
|
9674
9676
|
nationalMode?: boolean;
|
|
9675
|
-
placeholderNumberType?: "FIXED_LINE_OR_MOBILE" | "FIXED_LINE" | "MOBILE" | "PAGER" | "PERSONAL_NUMBER" | "PREMIUM_RATE" | "SHARED_COST" | "TOLL_FREE" | "UAN" | "
|
|
9677
|
+
placeholderNumberType?: "UNKNOWN" | "FIXED_LINE_OR_MOBILE" | "FIXED_LINE" | "MOBILE" | "PAGER" | "PERSONAL_NUMBER" | "PREMIUM_RATE" | "SHARED_COST" | "TOLL_FREE" | "UAN" | "VOICEMAIL" | "VOIP";
|
|
9676
9678
|
showFlags?: boolean;
|
|
9677
9679
|
separateDialCode?: boolean;
|
|
9678
9680
|
strictMode?: boolean;
|
|
9679
9681
|
useFullscreenPopup?: boolean;
|
|
9680
|
-
validationNumberTypes?: ("FIXED_LINE_OR_MOBILE" | "FIXED_LINE" | "MOBILE" | "PAGER" | "PERSONAL_NUMBER" | "PREMIUM_RATE" | "SHARED_COST" | "TOLL_FREE" | "UAN" | "
|
|
9682
|
+
validationNumberTypes?: ("UNKNOWN" | "FIXED_LINE_OR_MOBILE" | "FIXED_LINE" | "MOBILE" | "PAGER" | "PERSONAL_NUMBER" | "PREMIUM_RATE" | "SHARED_COST" | "TOLL_FREE" | "UAN" | "VOICEMAIL" | "VOIP")[] | null;
|
|
9681
9683
|
}>;
|
|
9682
9684
|
/**
|
|
9683
9685
|
* Initializes the component by adding a custom validator to the form control.
|
|
@@ -10495,7 +10497,7 @@ declare class TableHttpsComponent<TItem = any> extends TableBaseComponent<TItem>
|
|
|
10495
10497
|
readonly form: FormGroup<{
|
|
10496
10498
|
pageNumber: FormControl<number>;
|
|
10497
10499
|
sortBy: FormControl<keyof TItem>;
|
|
10498
|
-
sortDirection: FormControl<"" | "
|
|
10500
|
+
sortDirection: FormControl<"" | "ASC" | "DESC">;
|
|
10499
10501
|
pageSize: FormControl<number>;
|
|
10500
10502
|
}>;
|
|
10501
10503
|
/**
|
|
@@ -10504,7 +10506,7 @@ declare class TableHttpsComponent<TItem = any> extends TableBaseComponent<TItem>
|
|
|
10504
10506
|
readonly allQueryData: _angular_core.Signal<{
|
|
10505
10507
|
pageNumber: number;
|
|
10506
10508
|
sortBy: keyof TItem;
|
|
10507
|
-
sortDirection: "" | "
|
|
10509
|
+
sortDirection: "" | "ASC" | "DESC";
|
|
10508
10510
|
pageSize: number;
|
|
10509
10511
|
}>;
|
|
10510
10512
|
/**
|
|
@@ -10513,7 +10515,7 @@ declare class TableHttpsComponent<TItem = any> extends TableBaseComponent<TItem>
|
|
|
10513
10515
|
readonly formValue: _angular_core.Signal<{
|
|
10514
10516
|
pageNumber: number;
|
|
10515
10517
|
sortBy: keyof TItem;
|
|
10516
|
-
sortDirection: "" | "
|
|
10518
|
+
sortDirection: "" | "ASC" | "DESC";
|
|
10517
10519
|
pageSize: number;
|
|
10518
10520
|
}>;
|
|
10519
10521
|
/**
|
|
@@ -11387,7 +11389,7 @@ declare class TextCase2Component<T = any> {
|
|
|
11387
11389
|
* Uses route input if provided, otherwise uses routeFunc
|
|
11388
11390
|
* For email/phone values, creates a mailto: or tel: link
|
|
11389
11391
|
*/
|
|
11390
|
-
readonly computedRoute: _angular_core.Signal<
|
|
11392
|
+
readonly computedRoute: _angular_core.Signal<Promise<string> | Observable<string>>;
|
|
11391
11393
|
/**
|
|
11392
11394
|
* Computes the value to display based on inputs
|
|
11393
11395
|
* Uses value input if provided, otherwise uses data[name]
|