@indigina/ui-kit 1.1.213 → 1.1.215
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
|
@@ -23,7 +23,7 @@ import * as i3$4 from '@progress/kendo-angular-indicators';
|
|
|
23
23
|
import * as i3$5 from '@progress/kendo-angular-upload';
|
|
24
24
|
import { FileInfo } from '@progress/kendo-angular-upload';
|
|
25
25
|
import * as i8 from '@ngx-translate/core';
|
|
26
|
-
import { TranslateService, TranslateLoader } from '@ngx-translate/core';
|
|
26
|
+
import { TranslateService, TranslateLoader, TranslationObject } from '@ngx-translate/core';
|
|
27
27
|
import { PopupService, PopupSettings as PopupSettings$1 } from '@progress/kendo-angular-popup';
|
|
28
28
|
import * as i4$1 from '@progress/kendo-angular-layout';
|
|
29
29
|
import { SelectEvent } from '@progress/kendo-angular-layout';
|
|
@@ -35,7 +35,6 @@ import { Store, StateContext, StateToken } from '@ngxs/store';
|
|
|
35
35
|
import { DataMoveEvent } from '@progress/kendo-angular-sortable';
|
|
36
36
|
import { HttpClient } from '@angular/common/http';
|
|
37
37
|
import { SchedulerEvent, EventClickEvent, SlotClickEvent, SchedulerComponent } from '@progress/kendo-angular-scheduler';
|
|
38
|
-
import { TranslationObject } from '@ngx-translate/core/public-api';
|
|
39
38
|
|
|
40
39
|
declare enum KitSvgIcon {
|
|
41
40
|
LOGO = "logo",
|
|
@@ -3557,7 +3556,7 @@ interface GlobalSearchLineItem {
|
|
|
3557
3556
|
interface GlobalSearchPrompt {
|
|
3558
3557
|
label: string;
|
|
3559
3558
|
link: string[];
|
|
3560
|
-
|
|
3559
|
+
permissions: string[];
|
|
3561
3560
|
}
|
|
3562
3561
|
interface GlobalSearchFilter {
|
|
3563
3562
|
label: string;
|
|
@@ -3616,6 +3615,7 @@ declare class KitGlobalSearchComponent implements OnInit {
|
|
|
3616
3615
|
isFilterExpanded(index: number): boolean;
|
|
3617
3616
|
toggleFilterExpanded(index: number): void;
|
|
3618
3617
|
formatValue(value: unknown): string;
|
|
3618
|
+
hasPermissionToShowPrompt(userPermissions: string[], promptPermissions: string[]): boolean;
|
|
3619
3619
|
private findFilter;
|
|
3620
3620
|
static ɵfac: i0.ɵɵFactoryDeclaration<KitGlobalSearchComponent, never>;
|
|
3621
3621
|
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>;
|