@indigina/ui-kit 1.1.157 → 1.1.159
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/indigina-ui-kit.mjs +44 -13
- package/fesm2022/indigina-ui-kit.mjs.map +1 -1
- package/lib/widgets/kit-grid-management/kit-grid-views/kit-grid-views-save/kit-grid-views-save.component.d.ts +3 -2
- package/lib/widgets/kit-grid-management/kit-grid-views/kit-grid-views.component.d.ts +3 -0
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ElementRef, InputSignal, Signal, WritableSignal } from '@angular/core';
|
|
1
|
+
import { ElementRef, InputSignal, OutputEmitterRef, Signal, WritableSignal } from '@angular/core';
|
|
2
2
|
import { Store } from '@ngxs/store';
|
|
3
3
|
import { ActivatedRoute, Router } from '@angular/router';
|
|
4
4
|
import { KitPopupComponent } from '../../../../components/kit-popup/kit-popup.component';
|
|
@@ -17,6 +17,7 @@ export declare class KitGridViewsSaveComponent {
|
|
|
17
17
|
readonly viewGroup: InputSignal<string>;
|
|
18
18
|
readonly views: InputSignal<KitGridView[]>;
|
|
19
19
|
readonly viewsAutocompleteItems: InputSignal<KitAutocompleteItem<string>[] | null>;
|
|
20
|
+
readonly resetQueryParams: OutputEmitterRef<void>;
|
|
20
21
|
readonly anchor: Signal<ElementRef>;
|
|
21
22
|
readonly popup: Signal<KitPopupComponent | undefined>;
|
|
22
23
|
readonly viewName: WritableSignal<string>;
|
|
@@ -34,5 +35,5 @@ export declare class KitGridViewsSaveComponent {
|
|
|
34
35
|
onViewSave(): void;
|
|
35
36
|
onValueChange(value: string | null): void;
|
|
36
37
|
static ɵfac: i0.ɵɵFactoryDeclaration<KitGridViewsSaveComponent, never>;
|
|
37
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<KitGridViewsSaveComponent, "kit-grid-views-save", never, { "viewGroup": { "alias": "viewGroup"; "required": true; "isSignal": true; }; "views": { "alias": "views"; "required": true; "isSignal": true; }; "viewsAutocompleteItems": { "alias": "viewsAutocompleteItems"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
38
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<KitGridViewsSaveComponent, "kit-grid-views-save", never, { "viewGroup": { "alias": "viewGroup"; "required": true; "isSignal": true; }; "views": { "alias": "views"; "required": true; "isSignal": true; }; "viewsAutocompleteItems": { "alias": "viewsAutocompleteItems"; "required": true; "isSignal": true; }; }, { "resetQueryParams": "resetQueryParams"; }, never, never, true, never>;
|
|
38
39
|
}
|
|
@@ -53,6 +53,7 @@ export declare class KitGridViewsComponent implements OnInit, OnDestroy {
|
|
|
53
53
|
readonly selectedView: Signal<KitGridView | null>;
|
|
54
54
|
readonly collapsedListDropdownText: WritableSignal<string>;
|
|
55
55
|
readonly skipQueryParamsUpdate: WritableSignal<boolean>;
|
|
56
|
+
readonly needToResetQueryParams: WritableSignal<boolean>;
|
|
56
57
|
constructor(store: Store, activatedRoute: ActivatedRoute, router: Router, destroyRef: DestroyRef, titleCasePipe: TitleCasePipe, kitDialogService: KitDialogService, translateService: TranslateService, viewContainerRef: ViewContainerRef, kitGridUrlStateService: KitGridUrlStateService);
|
|
57
58
|
ngOnInit(): void;
|
|
58
59
|
ngOnDestroy(): void;
|
|
@@ -62,6 +63,7 @@ export declare class KitGridViewsComponent implements OnInit, OnDestroy {
|
|
|
62
63
|
openViewsManagerModal(): void;
|
|
63
64
|
onViewCreate(): void;
|
|
64
65
|
onPopupToggle(): void;
|
|
66
|
+
resetQueryParams(): void;
|
|
65
67
|
private fetchViews;
|
|
66
68
|
private handleViewsOnRouteChange;
|
|
67
69
|
private handelCollapsedListItems;
|
|
@@ -70,6 +72,7 @@ export declare class KitGridViewsComponent implements OnInit, OnDestroy {
|
|
|
70
72
|
private updateGridState;
|
|
71
73
|
private getCollapsedListItem;
|
|
72
74
|
private navigateToView;
|
|
75
|
+
private buildGridDataState;
|
|
73
76
|
static ɵfac: i0.ɵɵFactoryDeclaration<KitGridViewsComponent, never>;
|
|
74
77
|
static ɵcmp: i0.ɵɵComponentDeclaration<KitGridViewsComponent, "kit-grid-views", never, { "viewGroup": { "alias": "viewGroup"; "required": true; "isSignal": true; }; "viewConfigGroup": { "alias": "viewConfigGroup"; "required": true; "isSignal": true; }; "defaultColumns": { "alias": "defaultColumns"; "required": true; "isSignal": true; }; "defaultViewName": { "alias": "defaultViewName"; "required": true; "isSignal": true; }; "defaultSorting": { "alias": "defaultSorting"; "required": true; "isSignal": true; }; "systemViews": { "alias": "systemViews"; "required": true; "isSignal": true; }; }, { "viewChanged": "viewChanged"; }, never, never, true, never>;
|
|
75
78
|
}
|