@indigina/ui-kit 1.1.138 → 1.1.140
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.
|
@@ -4,6 +4,7 @@ import { KitSvgIcon } from '../kit-svg-icon/kit-svg-icon.const';
|
|
|
4
4
|
import { KitButtonKind, KitButtonType } from '../kit-button/kit-button.const';
|
|
5
5
|
import { KitDropdownSize } from '../kit-dropdown/kit-dropdown.const';
|
|
6
6
|
import { PopupSettings } from '@progress/kendo-angular-dropdowns';
|
|
7
|
+
import { KitDropdownComponent } from '../kit-dropdown/kit-dropdown.component';
|
|
7
8
|
import * as i0 from "@angular/core";
|
|
8
9
|
export declare class KitCollapsedListComponent<T extends KitCollapsedListItem> implements AfterViewInit, OnChanges, OnDestroy {
|
|
9
10
|
readonly itemList: InputSignal<T[]>;
|
|
@@ -22,6 +23,7 @@ export declare class KitCollapsedListComponent<T extends KitCollapsedListItem> i
|
|
|
22
23
|
readonly wrapperInner: Signal<ElementRef<HTMLDivElement>>;
|
|
23
24
|
readonly container: Signal<ElementRef<HTMLDivElement>>;
|
|
24
25
|
readonly dropdown: Signal<ElementRef<HTMLDivElement> | undefined>;
|
|
26
|
+
readonly kitDropdownComponent: Signal<KitDropdownComponent<T> | undefined>;
|
|
25
27
|
readonly defaultSelectedItem: Signal<KitCollapsedListItem>;
|
|
26
28
|
shouldShowDropdown: WritableSignal<boolean>;
|
|
27
29
|
dropdownItems: WritableSignal<KitCollapsedListItem[]>;
|
|
@@ -36,7 +38,7 @@ export declare class KitCollapsedListComponent<T extends KitCollapsedListItem> i
|
|
|
36
38
|
get selectedItem(): KitCollapsedListItem;
|
|
37
39
|
get popupSettings(): PopupSettings;
|
|
38
40
|
ngAfterViewInit(): void;
|
|
39
|
-
ngOnChanges({ itemList, gap }: SimpleChanges): void;
|
|
41
|
+
ngOnChanges({ itemList, gap, dropdownDefaultValueText }: SimpleChanges): void;
|
|
40
42
|
ngOnDestroy(): void;
|
|
41
43
|
setSelectedItem(item: T): void;
|
|
42
44
|
selectionChange(item: T): void;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { DestroyRef,
|
|
1
|
+
import { DestroyRef, EventEmitter, InputSignal, OnDestroy, OnInit, Signal, ViewContainerRef, WritableSignal } from '@angular/core';
|
|
2
2
|
import { Store } from '@ngxs/store';
|
|
3
3
|
import { Observable } from 'rxjs';
|
|
4
|
-
import { TitleCasePipe } from '@angular/common';
|
|
4
|
+
import { TitleCasePipe, Location as NgLocation } from '@angular/common';
|
|
5
5
|
import { ActivatedRoute, Router } from '@angular/router';
|
|
6
6
|
import { KitSortDescriptor } from '../../../utils/kit-data-query/kit-data-query.model';
|
|
7
7
|
import { KitAutocompleteItem } from '../../../components/kit-autocomplete/kit-autocomplete.component';
|
|
@@ -26,6 +26,7 @@ export declare class KitGridViewsComponent implements OnInit, OnDestroy {
|
|
|
26
26
|
private readonly kitDialogService;
|
|
27
27
|
private readonly translateService;
|
|
28
28
|
private readonly viewContainerRef;
|
|
29
|
+
private readonly location;
|
|
29
30
|
readonly viewGroup: InputSignal<string>;
|
|
30
31
|
readonly viewConfigGroup: InputSignal<string>;
|
|
31
32
|
readonly defaultColumns: InputSignal<KitGridColumnConfig[]>;
|
|
@@ -35,7 +36,6 @@ export declare class KitGridViewsComponent implements OnInit, OnDestroy {
|
|
|
35
36
|
viewChanged: EventEmitter<void>;
|
|
36
37
|
readonly collapsedList: Signal<KitCollapsedListComponent<KitGridViewListItem> | undefined>;
|
|
37
38
|
readonly createNewViewPopup: Signal<KitPopupComponent | undefined>;
|
|
38
|
-
readonly anchor: Signal<ElementRef | undefined>;
|
|
39
39
|
readonly createNewViewName: WritableSignal<string>;
|
|
40
40
|
readonly currentViewName$: Observable<string>;
|
|
41
41
|
readonly viewsState$: Observable<ApiResponseState<KitViewsState>>;
|
|
@@ -51,9 +51,10 @@ export declare class KitGridViewsComponent implements OnInit, OnDestroy {
|
|
|
51
51
|
readonly kitButtonIconPosition: typeof KitButtonIconPosition;
|
|
52
52
|
readonly kitTextboxState: typeof KitTextboxState;
|
|
53
53
|
readonly selectedView: Signal<KitGridView | null>;
|
|
54
|
+
readonly collapsedListDropdownText: WritableSignal<string>;
|
|
54
55
|
get isViewNameValid(): boolean;
|
|
55
56
|
get inputMessage(): string;
|
|
56
|
-
constructor(store: Store, activatedRoute: ActivatedRoute, router: Router, destroyRef: DestroyRef, titleCasePipe: TitleCasePipe, kitDialogService: KitDialogService, translateService: TranslateService, viewContainerRef: ViewContainerRef);
|
|
57
|
+
constructor(store: Store, activatedRoute: ActivatedRoute, router: Router, destroyRef: DestroyRef, titleCasePipe: TitleCasePipe, kitDialogService: KitDialogService, translateService: TranslateService, viewContainerRef: ViewContainerRef, location: NgLocation);
|
|
57
58
|
ngOnInit(): void;
|
|
58
59
|
ngOnDestroy(): void;
|
|
59
60
|
onSelectView(selectedView: KitGridViewListItem): void;
|