@indigina/ui-kit 1.1.362 → 1.1.364
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/index.d.ts
CHANGED
|
@@ -3651,9 +3651,9 @@ interface KitFetchGridDataOptions {
|
|
|
3651
3651
|
interface KitFetchExportGridData<T> {
|
|
3652
3652
|
fetchAction(skip: number, take: number, sort?: string, filter?: string): Observable<T>;
|
|
3653
3653
|
fetchIndexAction(skip: number, take: number, sort?: string, filter?: string, searchTerm?: string): Observable<T>;
|
|
3654
|
-
total: number;
|
|
3655
3654
|
sort: KitSortDescriptor[];
|
|
3656
3655
|
filter: KitFilterItem[];
|
|
3656
|
+
total?: number;
|
|
3657
3657
|
search?: string;
|
|
3658
3658
|
columns?: KitGridColumnConfig[];
|
|
3659
3659
|
}
|
|
@@ -3662,7 +3662,7 @@ declare const kitBuildGridColumn: (field: string, title: string, type: KitGridCo
|
|
|
3662
3662
|
declare const kitBuildGridDataResults: <T>(data: T[], loading: boolean, total?: number) => KitGridDataResult<T>;
|
|
3663
3663
|
declare const kitBuildSortString: (sort?: KitSortDescriptor[], columns?: KitGridColumnConfig[]) => string | undefined;
|
|
3664
3664
|
declare const kitFetchGridData: ({ store, destroyRef, isLoading, fetchAction, fetchFromIndexAction, hasArchiveToggle, }: KitFetchGridDataOptions) => void;
|
|
3665
|
-
declare const kitFetchExportGridData: <T>({ fetchAction, fetchIndexAction,
|
|
3665
|
+
declare const kitFetchExportGridData: <T>({ fetchAction, fetchIndexAction, sort, filter, search, columns, total, }: KitFetchExportGridData<T>) => Observable<T>;
|
|
3666
3666
|
|
|
3667
3667
|
interface KitGridViewsFetchPayload {
|
|
3668
3668
|
group: string;
|
|
@@ -4141,12 +4141,13 @@ declare class KitSidebarComponent implements OnInit {
|
|
|
4141
4141
|
private readonly store;
|
|
4142
4142
|
private readonly kitMenuBuilderService;
|
|
4143
4143
|
readonly menuItems: InputSignal<KitNavigationMenuItem[]>;
|
|
4144
|
+
readonly hasSelectedClient: InputSignal<boolean>;
|
|
4144
4145
|
readonly menuItems$: Observable<KitNavigationMenuItem[]>;
|
|
4145
4146
|
readonly appsMenuItems$: Observable<KitNavigationMenuAppItem[]>;
|
|
4146
4147
|
ngOnInit(): void;
|
|
4147
4148
|
private fetchUserApplications;
|
|
4148
4149
|
static ɵfac: i0.ɵɵFactoryDeclaration<KitSidebarComponent, never>;
|
|
4149
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<KitSidebarComponent, "kit-sidebar", never, { "menuItems": { "alias": "menuItems"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
4150
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<KitSidebarComponent, "kit-sidebar", never, { "menuItems": { "alias": "menuItems"; "required": true; "isSignal": true; }; "hasSelectedClient": { "alias": "hasSelectedClient"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
4150
4151
|
}
|
|
4151
4152
|
|
|
4152
4153
|
interface KitUserMenuItem extends KitProfileMenuItem {
|
|
@@ -4166,6 +4167,7 @@ declare class KitTopBarComponent {
|
|
|
4166
4167
|
|
|
4167
4168
|
interface KitMainMenuItem extends KitNavigationMenuItem {
|
|
4168
4169
|
permission?: KitPermission;
|
|
4170
|
+
requiresClient?: boolean;
|
|
4169
4171
|
items?: KitMainMenuItem[];
|
|
4170
4172
|
}
|
|
4171
4173
|
|