@indigina/ui-kit 1.1.216 → 1.1.218
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
|
@@ -3559,7 +3559,7 @@ interface GlobalSearchLineItem {
|
|
|
3559
3559
|
type: 'Air' | 'Road' | 'Sea' | 'Rail' | null;
|
|
3560
3560
|
containerMode?: string | null;
|
|
3561
3561
|
} | null;
|
|
3562
|
-
status
|
|
3562
|
+
status: string;
|
|
3563
3563
|
additionalContent: MatchResult[];
|
|
3564
3564
|
}
|
|
3565
3565
|
interface GlobalSearchPrompt {
|
|
@@ -3843,6 +3843,7 @@ interface KitGridView {
|
|
|
3843
3843
|
type: KitGridViewType;
|
|
3844
3844
|
hidden?: boolean;
|
|
3845
3845
|
viewState?: KitGridViewState;
|
|
3846
|
+
permission?: string;
|
|
3846
3847
|
}
|
|
3847
3848
|
interface KitGridViewColumn {
|
|
3848
3849
|
field: string;
|
|
@@ -3852,6 +3853,10 @@ interface KitGridViewColumn {
|
|
|
3852
3853
|
interface KitGridViewListItem extends KitCollapsedListItem, KitGridView {
|
|
3853
3854
|
}
|
|
3854
3855
|
|
|
3856
|
+
interface UserPermissions {
|
|
3857
|
+
permissions: string[];
|
|
3858
|
+
}
|
|
3859
|
+
|
|
3855
3860
|
declare class KitGridViewsComponent implements OnInit, OnDestroy {
|
|
3856
3861
|
private readonly store;
|
|
3857
3862
|
private readonly activatedRoute;
|
|
@@ -3892,6 +3897,8 @@ declare class KitGridViewsComponent implements OnInit, OnDestroy {
|
|
|
3892
3897
|
readonly collapsedListDropdownText: WritableSignal<string>;
|
|
3893
3898
|
readonly skipQueryParamsUpdate: WritableSignal<boolean>;
|
|
3894
3899
|
readonly needToResetQueryParams: WritableSignal<boolean>;
|
|
3900
|
+
readonly userPermissions: Signal<UserPermissions>;
|
|
3901
|
+
readonly allowedSystemViews: Signal<KitGridView[]>;
|
|
3895
3902
|
constructor(store: Store, activatedRoute: ActivatedRoute, router: Router, destroyRef: DestroyRef, titleCasePipe: TitleCasePipe, kitDialogService: KitDialogService, translateService: TranslateService, viewContainerRef: ViewContainerRef, kitGridUrlStateService: KitGridUrlStateService);
|
|
3896
3903
|
ngOnInit(): void;
|
|
3897
3904
|
ngOnDestroy(): void;
|
|
@@ -4363,10 +4370,6 @@ declare class FetchUserPermissions {
|
|
|
4363
4370
|
static readonly type: string;
|
|
4364
4371
|
}
|
|
4365
4372
|
|
|
4366
|
-
interface UserPermissions {
|
|
4367
|
-
permissions: string[];
|
|
4368
|
-
}
|
|
4369
|
-
|
|
4370
4373
|
declare class KitPermissionsApiService {
|
|
4371
4374
|
private readonly httpClient;
|
|
4372
4375
|
private readonly basePath;
|