@indigina/ui-kit 1.1.211 → 1.1.212
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
|
@@ -2,7 +2,7 @@ import * as i0 from '@angular/core';
|
|
|
2
2
|
import { InputSignal, EventEmitter, Predicate, ElementRef, OnInit, TemplateRef, WritableSignal, ChangeDetectorRef, Signal, OnChanges, OnDestroy, Renderer2, OutputEmitterRef, ModuleWithProviders, RendererFactory2, ViewContainerRef, ModelSignal, SimpleChanges, AfterContentInit, QueryList, AfterViewInit, PipeTransform, InjectionToken, DestroyRef } from '@angular/core';
|
|
3
3
|
import * as i2 from '@progress/kendo-angular-buttons';
|
|
4
4
|
import * as i2$1 from '@angular/common';
|
|
5
|
-
import { TitleCasePipe, DecimalPipe
|
|
5
|
+
import { DatePipe, TitleCasePipe, DecimalPipe } from '@angular/common';
|
|
6
6
|
import * as i3 from '@progress/kendo-angular-label';
|
|
7
7
|
import { TooltipDirective } from '@progress/kendo-angular-tooltip';
|
|
8
8
|
import * as i5 from '@angular/forms';
|
|
@@ -3576,6 +3576,7 @@ interface MatchResult {
|
|
|
3576
3576
|
declare class KitGlobalSearchComponent implements OnInit {
|
|
3577
3577
|
private readonly router;
|
|
3578
3578
|
private readonly store;
|
|
3579
|
+
private readonly datePipe;
|
|
3579
3580
|
readonly searchFn: InputSignal<(searchText: string, filters: GlobalSearchSelectedFilter[]) => Observable<(GlobalSearchResult | null)[]>>;
|
|
3580
3581
|
readonly displayedLineItemsNumber: InputSignal<number>;
|
|
3581
3582
|
readonly prompts: InputSignal<GlobalSearchPrompt[]>;
|
|
@@ -3601,7 +3602,7 @@ declare class KitGlobalSearchComponent implements OnInit {
|
|
|
3601
3602
|
expandedFilters: Set<number>;
|
|
3602
3603
|
private isClearing;
|
|
3603
3604
|
documentClick(event: Event): void;
|
|
3604
|
-
constructor(router: Router, store: Store);
|
|
3605
|
+
constructor(router: Router, store: Store, datePipe: DatePipe);
|
|
3605
3606
|
ngOnInit(): void;
|
|
3606
3607
|
get isPopupOpen(): boolean;
|
|
3607
3608
|
get selectedFilters(): GlobalSearchSelectedFilter[];
|
|
@@ -3613,6 +3614,7 @@ declare class KitGlobalSearchComponent implements OnInit {
|
|
|
3613
3614
|
isFilterSelected(filter: KitFilterItem): boolean;
|
|
3614
3615
|
isFilterExpanded(index: number): boolean;
|
|
3615
3616
|
toggleFilterExpanded(index: number): void;
|
|
3617
|
+
formatValue(value: unknown): string;
|
|
3616
3618
|
private findFilter;
|
|
3617
3619
|
static ɵfac: i0.ɵɵFactoryDeclaration<KitGlobalSearchComponent, never>;
|
|
3618
3620
|
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>;
|