@indigina/ui-kit 1.1.470 → 1.1.472
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/package.json
CHANGED
|
@@ -3782,6 +3782,7 @@ declare class KitGlobalSearchComponent implements OnInit {
|
|
|
3782
3782
|
formatValue(value: unknown): string;
|
|
3783
3783
|
hasPermissionToShowPrompt(userPermissions: KitUserPermissions, promptPermissions: KitPermission): boolean;
|
|
3784
3784
|
private findFilter;
|
|
3785
|
+
private isIsoLikeDateString;
|
|
3785
3786
|
static ɵfac: i0.ɵɵFactoryDeclaration<KitGlobalSearchComponent, never>;
|
|
3786
3787
|
static ɵcmp: i0.ɵɵComponentDeclaration<KitGlobalSearchComponent, "kit-global-search", never, { "searchFn": { "alias": "searchFn"; "required": true; "isSignal": true; }; "displayedLineItemsNumber": { "alias": "displayedLineItemsNumber"; "required": false; "isSignal": true; }; "prompts": { "alias": "prompts"; "required": true; "isSignal": true; }; "filters": { "alias": "filters"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
3787
3788
|
}
|
|
@@ -5091,16 +5092,10 @@ declare class KitStatusLabelComponent {
|
|
|
5091
5092
|
static ɵcmp: i0.ɵɵComponentDeclaration<KitStatusLabelComponent, "kit-status-label", never, { "color": { "alias": "color"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
5092
5093
|
}
|
|
5093
5094
|
|
|
5094
|
-
declare class FetchUserIdentities {
|
|
5095
|
-
static readonly type: string;
|
|
5096
|
-
}
|
|
5097
|
-
declare class SetUserIdentity extends KitAbstractPayloadAction<number> {
|
|
5098
|
-
static readonly type: string;
|
|
5099
|
-
}
|
|
5100
|
-
|
|
5101
5095
|
interface KitUserIdentities {
|
|
5102
5096
|
data: KitUserIdentity[];
|
|
5103
5097
|
total: number;
|
|
5098
|
+
selectedIdentity: KitUserIdentity | null;
|
|
5104
5099
|
}
|
|
5105
5100
|
interface KitUserIdentity {
|
|
5106
5101
|
id: number;
|
|
@@ -5115,11 +5110,22 @@ interface IdentityResponse {
|
|
|
5115
5110
|
id: string;
|
|
5116
5111
|
}
|
|
5117
5112
|
|
|
5113
|
+
declare class FetchUserIdentities {
|
|
5114
|
+
static readonly type: string;
|
|
5115
|
+
}
|
|
5116
|
+
declare class SetUserIdentity extends KitAbstractPayloadAction<number> {
|
|
5117
|
+
static readonly type: string;
|
|
5118
|
+
}
|
|
5119
|
+
declare class SetSelectedIdentity extends KitAbstractPayloadAction<KitUserIdentity | null> {
|
|
5120
|
+
static readonly type: string;
|
|
5121
|
+
}
|
|
5122
|
+
|
|
5118
5123
|
declare const KIT_USER_IDENTITIES_STATE_TOKEN: StateToken<KitUserIdentities>;
|
|
5119
5124
|
declare class KitUserIdentitiesState {
|
|
5120
5125
|
private readonly kitUserIdentitiesApiService;
|
|
5121
5126
|
fetchUserApplications(ctx: StateContext<FetchUserApplications>): Observable<KitUserIdentities>;
|
|
5122
5127
|
setUserIdentity(ctx: StateContext<FetchUserApplications>, action: SetUserIdentity): Observable<IdentityResponse>;
|
|
5128
|
+
setSelectedIdentity(ctx: StateContext<FetchUserApplications>, action: SetSelectedIdentity): void;
|
|
5123
5129
|
static ɵfac: i0.ɵɵFactoryDeclaration<KitUserIdentitiesState, never>;
|
|
5124
5130
|
static ɵprov: i0.ɵɵInjectableDeclaration<KitUserIdentitiesState>;
|
|
5125
5131
|
}
|
|
@@ -5133,6 +5139,7 @@ declare class KitUserIdentitiesSelector implements OnInit {
|
|
|
5133
5139
|
readonly user: Signal<KitUser>;
|
|
5134
5140
|
readonly currentIdentity: Signal<KitUserIdentity | null>;
|
|
5135
5141
|
readonly currentIdentityDropdownItem: Signal<KitDropdownItem<number, KitUserIdentity> | null>;
|
|
5142
|
+
constructor();
|
|
5136
5143
|
ngOnInit(): void;
|
|
5137
5144
|
onIdentitySelect(item: KitDropdownItem<number, KitUserIdentity>): void;
|
|
5138
5145
|
private fetchUserIdentities;
|