@indigina/ui-kit 1.1.250 → 1.1.252
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 +1072 -1098
- package/fesm2022/indigina-ui-kit.mjs.map +1 -1
- package/index.d.ts +170 -252
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -1,30 +1,29 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { InputSignal, EventEmitter, Predicate, ElementRef, OnInit, TemplateRef, WritableSignal,
|
|
2
|
+
import { InputSignal, EventEmitter, Predicate, ElementRef, OnInit, TemplateRef, WritableSignal, Signal, OnChanges, OnDestroy, OutputEmitterRef, ModuleWithProviders, ModelSignal, SimpleChanges, AfterContentInit, QueryList, AfterViewInit, ViewContainerRef, PipeTransform, InjectionToken } from '@angular/core';
|
|
3
3
|
import * as i2 from '@progress/kendo-angular-buttons';
|
|
4
4
|
import * as i2$1 from '@angular/common';
|
|
5
|
-
import { DatePipe, TitleCasePipe, DecimalPipe } from '@angular/common';
|
|
6
5
|
import * as i3 from '@progress/kendo-angular-label';
|
|
7
6
|
import { TooltipDirective } from '@progress/kendo-angular-tooltip';
|
|
8
7
|
import * as i5 from '@angular/forms';
|
|
9
|
-
import { ControlValueAccessor, AbstractControl, UntypedFormGroup
|
|
8
|
+
import { ControlValueAccessor, AbstractControl, UntypedFormGroup } from '@angular/forms';
|
|
10
9
|
import * as i3$1 from '@progress/kendo-angular-inputs';
|
|
11
10
|
import { TextBoxComponent } from '@progress/kendo-angular-inputs';
|
|
12
11
|
import * as i4 from '@progress/kendo-angular-dropdowns';
|
|
13
12
|
import { PopupSettings, DropDownListComponent, ItemDisabledFn, MultiSelectComponent } from '@progress/kendo-angular-dropdowns';
|
|
14
13
|
import * as i3$2 from '@progress/kendo-angular-dateinputs';
|
|
15
14
|
import { DateTimePickerComponent, DateRangePopupComponent, DatePickerComponent } from '@progress/kendo-angular-dateinputs';
|
|
16
|
-
import { ToastrModule,
|
|
15
|
+
import { ToastrModule, ActiveToast } from 'ngx-toastr';
|
|
17
16
|
import * as i3$3 from '@angular/router';
|
|
18
|
-
import {
|
|
17
|
+
import { NavigationExtras, CanActivateFn } from '@angular/router';
|
|
19
18
|
import { BehaviorSubject, Observable } from 'rxjs';
|
|
20
|
-
import { DialogRef,
|
|
19
|
+
import { DialogRef, DialogSettings } from '@progress/kendo-angular-dialog';
|
|
21
20
|
export { DialogAction, DialogCloseResult, DialogContentBase, DialogRef, DialogResult } from '@progress/kendo-angular-dialog';
|
|
22
21
|
import * as i3$4 from '@progress/kendo-angular-indicators';
|
|
23
22
|
import * as i3$5 from '@progress/kendo-angular-upload';
|
|
24
23
|
import { FileInfo } from '@progress/kendo-angular-upload';
|
|
25
24
|
import * as i8 from '@ngx-translate/core';
|
|
26
|
-
import {
|
|
27
|
-
import {
|
|
25
|
+
import { TranslateLoader, TranslationObject } from '@ngx-translate/core';
|
|
26
|
+
import { PopupSettings as PopupSettings$1 } from '@progress/kendo-angular-popup';
|
|
28
27
|
import * as i4$1 from '@progress/kendo-angular-layout';
|
|
29
28
|
import { SelectEvent } from '@progress/kendo-angular-layout';
|
|
30
29
|
import * as i4$2 from '@progress/kendo-angular-grid';
|
|
@@ -33,9 +32,8 @@ import { SortDescriptor, FilterDescriptor, CompositeFilterDescriptor } from '@pr
|
|
|
33
32
|
import { PDFOptions, PaperSize } from '@progress/kendo-drawing/dist/npm/pdf';
|
|
34
33
|
import { Store, StateContext, StateToken } from '@ngxs/store';
|
|
35
34
|
import { DataMoveEvent } from '@progress/kendo-angular-sortable';
|
|
36
|
-
import { DeviceDetectorService } from 'ngx-device-detector';
|
|
37
|
-
import { HttpClient } from '@angular/common/http';
|
|
38
35
|
import { SchedulerEvent, EventClickEvent, SlotClickEvent, SchedulerComponent } from '@progress/kendo-angular-scheduler';
|
|
36
|
+
import { HttpClient } from '@angular/common/http';
|
|
39
37
|
|
|
40
38
|
declare enum KitSvgIcon {
|
|
41
39
|
LOGO = "logo",
|
|
@@ -703,7 +701,7 @@ interface KitDropdownItem<T, U = unknown> {
|
|
|
703
701
|
disabled?: Predicate<KitDropdownItem<T>>;
|
|
704
702
|
}
|
|
705
703
|
declare class KitDropdownComponent<T> implements ControlValueAccessor {
|
|
706
|
-
private changeDetectorRef;
|
|
704
|
+
private readonly changeDetectorRef;
|
|
707
705
|
/**
|
|
708
706
|
* an items list which is going to be rendered as dropdown items
|
|
709
707
|
*/
|
|
@@ -772,7 +770,6 @@ declare class KitDropdownComponent<T> implements ControlValueAccessor {
|
|
|
772
770
|
dropdown: DropDownListComponent | null;
|
|
773
771
|
readonly KitSvgIcon: typeof KitSvgIcon;
|
|
774
772
|
readonly isPopupExpanded: WritableSignal<boolean>;
|
|
775
|
-
constructor(changeDetectorRef: ChangeDetectorRef);
|
|
776
773
|
/**
|
|
777
774
|
* Build an object with appropriate options, based on hiding default item state
|
|
778
775
|
*/
|
|
@@ -780,7 +777,7 @@ declare class KitDropdownComponent<T> implements ControlValueAccessor {
|
|
|
780
777
|
/**
|
|
781
778
|
* Function that should be called every time the form control value changes
|
|
782
779
|
*/
|
|
783
|
-
onChange: (
|
|
780
|
+
onChange: (_value: T) => void;
|
|
784
781
|
/**
|
|
785
782
|
* Function that should be called when input lost focus and changed form control state to "touched"
|
|
786
783
|
*/
|
|
@@ -937,9 +934,8 @@ declare class KitTextareaComponent implements ControlValueAccessor, OnChanges {
|
|
|
937
934
|
static ɵcmp: i0.ɵɵComponentDeclaration<KitTextareaComponent, "kit-textarea", never, { "placeholder": { "alias": "placeholder"; "required": false; }; "label": { "alias": "label"; "required": false; }; "defaultValue": { "alias": "defaultValue"; "required": false; }; "maxlength": { "alias": "maxlength"; "required": false; }; "minLines": { "alias": "minLines"; "required": false; }; "maxLines": { "alias": "maxLines"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "messageIcon": { "alias": "messageIcon"; "required": false; }; "messageText": { "alias": "messageText"; "required": false; }; "state": { "alias": "state"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "tooltip": { "alias": "tooltip"; "required": false; }; }, { "focused": "focused"; "blured": "blured"; "changed": "changed"; }, never, never, false, never>;
|
|
938
935
|
}
|
|
939
936
|
|
|
940
|
-
declare class KitTextareaAutoresizeDirective {
|
|
941
|
-
private elementRef;
|
|
942
|
-
constructor(elementRef: ElementRef);
|
|
937
|
+
declare class KitTextareaAutoresizeDirective implements OnInit {
|
|
938
|
+
private readonly elementRef;
|
|
943
939
|
onInput(): void;
|
|
944
940
|
ngOnInit(): void;
|
|
945
941
|
resize(): void;
|
|
@@ -1131,7 +1127,7 @@ declare class KitUnitsTextboxModule {
|
|
|
1131
1127
|
}
|
|
1132
1128
|
|
|
1133
1129
|
declare class KitDatetimepickerComponent implements ControlValueAccessor {
|
|
1134
|
-
private cdr;
|
|
1130
|
+
private readonly cdr;
|
|
1135
1131
|
/**
|
|
1136
1132
|
* Defines a value that is going to be applied as a datetimepicker label
|
|
1137
1133
|
*/
|
|
@@ -1197,7 +1193,6 @@ declare class KitDatetimepickerComponent implements ControlValueAccessor {
|
|
|
1197
1193
|
*/
|
|
1198
1194
|
readonly datetimepickerPopupSettings: PopupSettings;
|
|
1199
1195
|
readonly nowButtonText: string;
|
|
1200
|
-
constructor(cdr: ChangeDetectorRef);
|
|
1201
1196
|
/**
|
|
1202
1197
|
* Function used to toggle visibility of the datetimepicker popup
|
|
1203
1198
|
*/
|
|
@@ -1213,7 +1208,7 @@ declare class KitDatetimepickerComponent implements ControlValueAccessor {
|
|
|
1213
1208
|
/**
|
|
1214
1209
|
* Function that should be called every time the form control value changes
|
|
1215
1210
|
*/
|
|
1216
|
-
onChange: (
|
|
1211
|
+
onChange: (_value: Date) => void;
|
|
1217
1212
|
/**
|
|
1218
1213
|
* Function that should be called when input lost focus and changed form control state to "touched"
|
|
1219
1214
|
*/
|
|
@@ -1246,15 +1241,6 @@ interface KitNotification {
|
|
|
1246
1241
|
autoHideTime: number | null;
|
|
1247
1242
|
}
|
|
1248
1243
|
|
|
1249
|
-
declare class KitNotificationService {
|
|
1250
|
-
readonly notifications: WritableSignal<KitNotification[]>;
|
|
1251
|
-
private notificationIdCounter;
|
|
1252
|
-
addNotification(type: KitNotificationType, message?: string, closable?: boolean, autoHideTime?: number | null): void;
|
|
1253
|
-
removeNotification(id: number): void;
|
|
1254
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<KitNotificationService, never>;
|
|
1255
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<KitNotificationService>;
|
|
1256
|
-
}
|
|
1257
|
-
|
|
1258
1244
|
declare class KitNotificationComponent implements OnInit, OnDestroy {
|
|
1259
1245
|
private readonly renderer;
|
|
1260
1246
|
private readonly el;
|
|
@@ -1263,7 +1249,6 @@ declare class KitNotificationComponent implements OnInit, OnDestroy {
|
|
|
1263
1249
|
readonly notifications: Signal<KitNotification[]>;
|
|
1264
1250
|
readonly kitSvgIcon: typeof KitSvgIcon;
|
|
1265
1251
|
private appendedElement;
|
|
1266
|
-
constructor(renderer: Renderer2, el: ElementRef, notificationService: KitNotificationService);
|
|
1267
1252
|
ngOnInit(): void;
|
|
1268
1253
|
ngOnDestroy(): void;
|
|
1269
1254
|
removeNotification(id: number): void;
|
|
@@ -1272,6 +1257,15 @@ declare class KitNotificationComponent implements OnInit, OnDestroy {
|
|
|
1272
1257
|
static ɵcmp: i0.ɵɵComponentDeclaration<KitNotificationComponent, "kit-notification", never, { "appendTo": { "alias": "appendTo"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
1273
1258
|
}
|
|
1274
1259
|
|
|
1260
|
+
declare class KitNotificationService {
|
|
1261
|
+
readonly notifications: WritableSignal<KitNotification[]>;
|
|
1262
|
+
private notificationIdCounter;
|
|
1263
|
+
addNotification(type: KitNotificationType, message?: string, closable?: boolean, autoHideTime?: number | null): void;
|
|
1264
|
+
removeNotification(id: number): void;
|
|
1265
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KitNotificationService, never>;
|
|
1266
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<KitNotificationService>;
|
|
1267
|
+
}
|
|
1268
|
+
|
|
1275
1269
|
interface KitLocationStepperItemDate {
|
|
1276
1270
|
value: string;
|
|
1277
1271
|
description?: string;
|
|
@@ -1309,7 +1303,7 @@ interface KitAutocompleteItem<T> {
|
|
|
1309
1303
|
getText?(): string;
|
|
1310
1304
|
}
|
|
1311
1305
|
declare class KitAutocompleteComponent<T> implements ControlValueAccessor {
|
|
1312
|
-
private elementRef;
|
|
1306
|
+
private readonly elementRef;
|
|
1313
1307
|
/**
|
|
1314
1308
|
* Defines a value that is going to be applied as an input label
|
|
1315
1309
|
*/
|
|
@@ -1379,7 +1373,6 @@ declare class KitAutocompleteComponent<T> implements ControlValueAccessor {
|
|
|
1379
1373
|
* Settings for popup that will be opened as dropdown options list
|
|
1380
1374
|
*/
|
|
1381
1375
|
readonly dropdownPopupSettings: PopupSettings;
|
|
1382
|
-
constructor(elementRef: ElementRef);
|
|
1383
1376
|
/**
|
|
1384
1377
|
* Callback function that return dropdown list item text
|
|
1385
1378
|
*/
|
|
@@ -1402,7 +1395,7 @@ declare class KitAutocompleteComponent<T> implements ControlValueAccessor {
|
|
|
1402
1395
|
/**
|
|
1403
1396
|
* Function that should be called every time the form control value changes
|
|
1404
1397
|
*/
|
|
1405
|
-
onChange: (
|
|
1398
|
+
onChange: (_value: T | null) => void;
|
|
1406
1399
|
/**
|
|
1407
1400
|
* Function that should be called when input lost focus and changed form control state to "touched"
|
|
1408
1401
|
*/
|
|
@@ -1416,10 +1409,9 @@ declare class KitAutocompleteComponent<T> implements ControlValueAccessor {
|
|
|
1416
1409
|
}
|
|
1417
1410
|
|
|
1418
1411
|
declare class KitAutocompleteDirective<T> {
|
|
1419
|
-
private kitAutocompleteComponent;
|
|
1420
|
-
constructor(kitAutocompleteComponent: KitAutocompleteComponent<T>);
|
|
1412
|
+
private readonly kitAutocompleteComponent;
|
|
1421
1413
|
togglePopup(): void;
|
|
1422
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<KitAutocompleteDirective<any>,
|
|
1414
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KitAutocompleteDirective<any>, never>;
|
|
1423
1415
|
static ɵdir: i0.ɵɵDirectiveDeclaration<KitAutocompleteDirective<any>, "[kitAutocomplete]", ["kitAutocomplete"], {}, {}, never, never, false, never>;
|
|
1424
1416
|
}
|
|
1425
1417
|
|
|
@@ -1681,10 +1673,9 @@ interface KitToastrConfig {
|
|
|
1681
1673
|
}
|
|
1682
1674
|
type KitToastr = ActiveToast<void>;
|
|
1683
1675
|
declare class KitToastrService {
|
|
1684
|
-
private toastrService;
|
|
1685
|
-
private rendererFactory2;
|
|
1686
|
-
private renderer2;
|
|
1687
|
-
constructor(toastrService: ToastrService, rendererFactory2: RendererFactory2);
|
|
1676
|
+
private readonly toastrService;
|
|
1677
|
+
private readonly rendererFactory2;
|
|
1678
|
+
private readonly renderer2;
|
|
1688
1679
|
show(config: KitToastrConfig): KitToastr;
|
|
1689
1680
|
private getConfig;
|
|
1690
1681
|
private removeOverlayContainerClassIfToastsEmpty;
|
|
@@ -1836,7 +1827,7 @@ declare enum KitCopyTextState {
|
|
|
1836
1827
|
COPIED = "copied"
|
|
1837
1828
|
}
|
|
1838
1829
|
declare class KitCopyTextComponent {
|
|
1839
|
-
private document;
|
|
1830
|
+
private readonly document;
|
|
1840
1831
|
/**
|
|
1841
1832
|
Defines a value that is going to be the text to be copied
|
|
1842
1833
|
*/
|
|
@@ -1852,7 +1843,6 @@ declare class KitCopyTextComponent {
|
|
|
1852
1843
|
readonly KitSvgIcon: typeof KitSvgIcon;
|
|
1853
1844
|
readonly CopyTextState: typeof KitCopyTextState;
|
|
1854
1845
|
readonly copyTextState$: BehaviorSubject<KitCopyTextState>;
|
|
1855
|
-
constructor(document: Document);
|
|
1856
1846
|
copyText(): void;
|
|
1857
1847
|
private setState;
|
|
1858
1848
|
private handleCopyStateChange;
|
|
@@ -1917,7 +1907,7 @@ interface KitCtaPanelConfirmationValue<T> {
|
|
|
1917
1907
|
}
|
|
1918
1908
|
|
|
1919
1909
|
declare class KitCtaPanelConfirmationComponent<T> {
|
|
1920
|
-
private formBuilder;
|
|
1910
|
+
private readonly formBuilder;
|
|
1921
1911
|
data?: KitCtaPanelConfirmation<T>;
|
|
1922
1912
|
confirmButtonDisabled: boolean;
|
|
1923
1913
|
dropdownListHeight: number;
|
|
@@ -1926,7 +1916,6 @@ declare class KitCtaPanelConfirmationComponent<T> {
|
|
|
1926
1916
|
quitClicked: EventEmitter<void>;
|
|
1927
1917
|
confirmClicked: EventEmitter<KitCtaPanelConfirmationValue<T>>;
|
|
1928
1918
|
readonly form: UntypedFormGroup;
|
|
1929
|
-
constructor(formBuilder: UntypedFormBuilder);
|
|
1930
1919
|
onConfirmButtonClick(): void;
|
|
1931
1920
|
static ɵfac: i0.ɵɵFactoryDeclaration<KitCtaPanelConfirmationComponent<any>, never>;
|
|
1932
1921
|
static ɵcmp: i0.ɵɵComponentDeclaration<KitCtaPanelConfirmationComponent<any>, "kit-cta-panel-confirmation", never, { "data": { "alias": "data"; "required": false; }; "confirmButtonDisabled": { "alias": "confirmButtonDisabled"; "required": false; }; "dropdownListHeight": { "alias": "dropdownListHeight"; "required": false; }; "quitText": { "alias": "quitText"; "required": false; }; "confirmText": { "alias": "confirmText"; "required": false; }; }, { "quitClicked": "quitClicked"; "confirmClicked": "confirmClicked"; }, never, never, false, never>;
|
|
@@ -1970,8 +1959,7 @@ declare enum KitQueryParamsName {
|
|
|
1970
1959
|
}
|
|
1971
1960
|
type KitQueryParams = Record<string, string | string[]>;
|
|
1972
1961
|
declare class KitQueryParamsService {
|
|
1973
|
-
private activatedRoute;
|
|
1974
|
-
constructor(activatedRoute: ActivatedRoute);
|
|
1962
|
+
private readonly activatedRoute;
|
|
1975
1963
|
getQueryParamsByName(name: KitQueryParamsName): KitQueryParams[] | null;
|
|
1976
1964
|
private buildParams;
|
|
1977
1965
|
static ɵfac: i0.ɵɵFactoryDeclaration<KitQueryParamsService, never>;
|
|
@@ -2074,7 +2062,6 @@ declare class KitDialogService {
|
|
|
2074
2062
|
get isDialogOpen(): boolean;
|
|
2075
2063
|
get dialogInstance(): DialogRef['content']['instance'] | null;
|
|
2076
2064
|
get dialogRef(): DialogRef | null;
|
|
2077
|
-
constructor(dialogService: DialogService);
|
|
2078
2065
|
openDialog(settings: DialogSettings): void;
|
|
2079
2066
|
closeDialog(): void;
|
|
2080
2067
|
static ɵfac: i0.ɵɵFactoryDeclaration<KitDialogService, never>;
|
|
@@ -2284,8 +2271,8 @@ declare class KitFileUploadModule {
|
|
|
2284
2271
|
}
|
|
2285
2272
|
|
|
2286
2273
|
declare class KitPermissionDirective implements OnInit {
|
|
2287
|
-
private templateRef;
|
|
2288
|
-
private viewContainer;
|
|
2274
|
+
private readonly templateRef;
|
|
2275
|
+
private readonly viewContainer;
|
|
2289
2276
|
/**
|
|
2290
2277
|
* Defines the permissions that a user must have in order for the content to be visible
|
|
2291
2278
|
*/
|
|
@@ -2294,7 +2281,6 @@ declare class KitPermissionDirective implements OnInit {
|
|
|
2294
2281
|
* Defines the permissions assigned to the user
|
|
2295
2282
|
*/
|
|
2296
2283
|
kitPermissionUser: string[];
|
|
2297
|
-
constructor(templateRef: TemplateRef<HTMLElement>, viewContainer: ViewContainerRef);
|
|
2298
2284
|
ngOnInit(): void;
|
|
2299
2285
|
private updateView;
|
|
2300
2286
|
private hasPermissions;
|
|
@@ -2323,20 +2309,10 @@ interface KitNavigationMenuAppItem {
|
|
|
2323
2309
|
url: string | null;
|
|
2324
2310
|
}
|
|
2325
2311
|
|
|
2326
|
-
declare class KitNavigationMenuService {
|
|
2327
|
-
private readonly collapsed;
|
|
2328
|
-
private readonly selected;
|
|
2329
|
-
getCollapsedState(): WritableSignal<boolean>;
|
|
2330
|
-
setCollapsedState(collapsed: boolean): void;
|
|
2331
|
-
setSelectedState(hasSelectedMenu: boolean, hasSelectedApps: boolean): void;
|
|
2332
|
-
getSelectedState(): WritableSignal<boolean>;
|
|
2333
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<KitNavigationMenuService, never>;
|
|
2334
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<KitNavigationMenuService>;
|
|
2335
|
-
}
|
|
2336
|
-
|
|
2337
2312
|
declare class KitNavigationMenuComponent implements OnInit {
|
|
2338
|
-
private router;
|
|
2339
|
-
private kitNavigationMenuService;
|
|
2313
|
+
private readonly router;
|
|
2314
|
+
private readonly kitNavigationMenuService;
|
|
2315
|
+
private readonly destroyRef;
|
|
2340
2316
|
/**
|
|
2341
2317
|
* An items list which is going to be rendered as menu items
|
|
2342
2318
|
*/
|
|
@@ -2353,7 +2329,7 @@ declare class KitNavigationMenuComponent implements OnInit {
|
|
|
2353
2329
|
readonly KitSvgIconType: typeof KitSvgIconType;
|
|
2354
2330
|
readonly KitTooltipPosition: typeof KitTooltipPosition;
|
|
2355
2331
|
readonly isAbsoluteLink: (url: string) => boolean;
|
|
2356
|
-
constructor(
|
|
2332
|
+
constructor();
|
|
2357
2333
|
ngOnInit(): void;
|
|
2358
2334
|
handleClick(item: KitNavigationMenuItem): void;
|
|
2359
2335
|
handleLogoClick(): void;
|
|
@@ -2376,7 +2352,6 @@ declare class KitNavigationMenuSubmenuComponent {
|
|
|
2376
2352
|
readonly KitSvgIcon: typeof KitSvgIcon;
|
|
2377
2353
|
readonly rootPath: string;
|
|
2378
2354
|
readonly isAbsoluteLink: (url: string) => boolean;
|
|
2379
|
-
constructor(document: Document);
|
|
2380
2355
|
handleClick(item: KitNavigationMenuItem): void;
|
|
2381
2356
|
isAppItemActive(url: string | null): boolean;
|
|
2382
2357
|
static ɵfac: i0.ɵɵFactoryDeclaration<KitNavigationMenuSubmenuComponent, never>;
|
|
@@ -2395,6 +2370,17 @@ declare class KitNavigationMenuModule {
|
|
|
2395
2370
|
static ɵinj: i0.ɵɵInjectorDeclaration<KitNavigationMenuModule>;
|
|
2396
2371
|
}
|
|
2397
2372
|
|
|
2373
|
+
declare class KitNavigationMenuService {
|
|
2374
|
+
private readonly collapsed;
|
|
2375
|
+
private readonly selected;
|
|
2376
|
+
getCollapsedState(): WritableSignal<boolean>;
|
|
2377
|
+
setCollapsedState(collapsed: boolean): void;
|
|
2378
|
+
setSelectedState(hasSelectedMenu: boolean, hasSelectedApps: boolean): void;
|
|
2379
|
+
getSelectedState(): WritableSignal<boolean>;
|
|
2380
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KitNavigationMenuService, never>;
|
|
2381
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<KitNavigationMenuService>;
|
|
2382
|
+
}
|
|
2383
|
+
|
|
2398
2384
|
declare enum KitBadgeTheme {
|
|
2399
2385
|
SUCCESS = "success",
|
|
2400
2386
|
DEFAULT = "default",
|
|
@@ -2404,8 +2390,8 @@ declare enum KitBadgeTheme {
|
|
|
2404
2390
|
}
|
|
2405
2391
|
|
|
2406
2392
|
declare class KitBadgeDirective implements OnDestroy {
|
|
2407
|
-
private elementRef;
|
|
2408
|
-
private renderer;
|
|
2393
|
+
private readonly elementRef;
|
|
2394
|
+
private readonly renderer;
|
|
2409
2395
|
/**
|
|
2410
2396
|
* Defines the content of the badge
|
|
2411
2397
|
*/
|
|
@@ -2419,7 +2405,7 @@ declare class KitBadgeDirective implements OnDestroy {
|
|
|
2419
2405
|
*/
|
|
2420
2406
|
readonly kitBadgeVisible: InputSignal<boolean>;
|
|
2421
2407
|
private badgeElement;
|
|
2422
|
-
constructor(
|
|
2408
|
+
constructor();
|
|
2423
2409
|
ngOnDestroy(): void;
|
|
2424
2410
|
private createBadge;
|
|
2425
2411
|
private updateBadge;
|
|
@@ -2465,8 +2451,8 @@ interface KitMultiselectItem<T> {
|
|
|
2465
2451
|
disabled?: Predicate<KitMultiselectItem<T>>;
|
|
2466
2452
|
}
|
|
2467
2453
|
|
|
2468
|
-
declare class KitMultiselectComponent<T> implements ControlValueAccessor {
|
|
2469
|
-
private elementRef;
|
|
2454
|
+
declare class KitMultiselectComponent<T> implements ControlValueAccessor, OnInit, OnChanges, OnDestroy {
|
|
2455
|
+
private readonly elementRef;
|
|
2470
2456
|
private readonly translateService;
|
|
2471
2457
|
/**
|
|
2472
2458
|
* An items list which is going to be rendered as multiselect items
|
|
@@ -2518,7 +2504,6 @@ declare class KitMultiselectComponent<T> implements ControlValueAccessor {
|
|
|
2518
2504
|
get isAllAsOptionAdded(): boolean;
|
|
2519
2505
|
get hasSelectedAllOption(): boolean;
|
|
2520
2506
|
get allEnabledItems(): T[];
|
|
2521
|
-
constructor(elementRef: ElementRef, translateService: TranslateService);
|
|
2522
2507
|
ngOnInit(): void;
|
|
2523
2508
|
ngOnChanges({ items, selectedItems, shouldAddAllAsOption }: SimpleChanges): void;
|
|
2524
2509
|
ngOnDestroy(): void;
|
|
@@ -2527,7 +2512,7 @@ declare class KitMultiselectComponent<T> implements ControlValueAccessor {
|
|
|
2527
2512
|
/**
|
|
2528
2513
|
* Function that should be called every time the form control value changes
|
|
2529
2514
|
*/
|
|
2530
|
-
onChange: (
|
|
2515
|
+
onChange: (_value: T[]) => void;
|
|
2531
2516
|
/**
|
|
2532
2517
|
* Function that should be called when input lost focus and changed form control state to "touched"
|
|
2533
2518
|
*/
|
|
@@ -2582,17 +2567,16 @@ declare class KitPopupComponent implements OnInit, OnDestroy {
|
|
|
2582
2567
|
readonly popupClass: InputSignal<string>;
|
|
2583
2568
|
readonly closePopupOnCancel: InputSignal<boolean>;
|
|
2584
2569
|
readonly extraInsideSelectors: InputSignal<string[]>;
|
|
2585
|
-
readonly
|
|
2586
|
-
readonly
|
|
2587
|
-
readonly
|
|
2588
|
-
readonly
|
|
2570
|
+
readonly cancelAction: OutputEmitterRef<void>;
|
|
2571
|
+
readonly applyAction: OutputEmitterRef<void>;
|
|
2572
|
+
readonly opened: OutputEmitterRef<void>;
|
|
2573
|
+
readonly closed: OutputEmitterRef<void>;
|
|
2589
2574
|
readonly kitButtonKind: typeof KitButtonKind;
|
|
2590
2575
|
readonly kitButtonType: typeof KitButtonType;
|
|
2591
2576
|
private popupRef;
|
|
2592
2577
|
get popupHTMLElement(): HTMLElement | null;
|
|
2593
2578
|
get isPopupOpen(): boolean;
|
|
2594
2579
|
get anchorElement(): HTMLElement;
|
|
2595
|
-
constructor(popupService: PopupService);
|
|
2596
2580
|
ngOnInit(): void;
|
|
2597
2581
|
ngOnDestroy(): void;
|
|
2598
2582
|
toggle(options?: PopupSettings$1): void;
|
|
@@ -2603,7 +2587,7 @@ declare class KitPopupComponent implements OnInit, OnDestroy {
|
|
|
2603
2587
|
private removeOutsideClickListener;
|
|
2604
2588
|
private readonly onDocumentClick;
|
|
2605
2589
|
static ɵfac: i0.ɵɵFactoryDeclaration<KitPopupComponent, never>;
|
|
2606
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<KitPopupComponent, "kit-popup", never, { "anchor": { "alias": "anchor"; "required": true; "isSignal": true; }; "content": { "alias": "content"; "required": true; "isSignal": true; }; "closeOnOutsideClick": { "alias": "closeOnOutsideClick"; "required": false; "isSignal": true; }; "showFooter": { "alias": "showFooter"; "required": false; "isSignal": true; }; "cancelButtonLabel": { "alias": "cancelButtonLabel"; "required": false; "isSignal": true; }; "applyButtonLabel": { "alias": "applyButtonLabel"; "required": false; "isSignal": true; }; "isApplyButtonDisabled": { "alias": "isApplyButtonDisabled"; "required": false; "isSignal": true; }; "positionMode": { "alias": "positionMode"; "required": false; "isSignal": true; }; "popupClass": { "alias": "popupClass"; "required": false; "isSignal": true; }; "closePopupOnCancel": { "alias": "closePopupOnCancel"; "required": false; "isSignal": true; }; "extraInsideSelectors": { "alias": "extraInsideSelectors"; "required": false; "isSignal": true; }; }, { "
|
|
2590
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<KitPopupComponent, "kit-popup", never, { "anchor": { "alias": "anchor"; "required": true; "isSignal": true; }; "content": { "alias": "content"; "required": true; "isSignal": true; }; "closeOnOutsideClick": { "alias": "closeOnOutsideClick"; "required": false; "isSignal": true; }; "showFooter": { "alias": "showFooter"; "required": false; "isSignal": true; }; "cancelButtonLabel": { "alias": "cancelButtonLabel"; "required": false; "isSignal": true; }; "applyButtonLabel": { "alias": "applyButtonLabel"; "required": false; "isSignal": true; }; "isApplyButtonDisabled": { "alias": "isApplyButtonDisabled"; "required": false; "isSignal": true; }; "positionMode": { "alias": "positionMode"; "required": false; "isSignal": true; }; "popupClass": { "alias": "popupClass"; "required": false; "isSignal": true; }; "closePopupOnCancel": { "alias": "closePopupOnCancel"; "required": false; "isSignal": true; }; "extraInsideSelectors": { "alias": "extraInsideSelectors"; "required": false; "isSignal": true; }; }, { "cancelAction": "cancelAction"; "applyAction": "applyAction"; "opened": "opened"; "closed": "closed"; }, never, never, true, never>;
|
|
2607
2591
|
}
|
|
2608
2592
|
|
|
2609
2593
|
declare enum KitDatepickerSize {
|
|
@@ -2612,8 +2596,8 @@ declare enum KitDatepickerSize {
|
|
|
2612
2596
|
}
|
|
2613
2597
|
|
|
2614
2598
|
declare class KitDatepickerComponent implements ControlValueAccessor {
|
|
2615
|
-
private elementRef;
|
|
2616
|
-
private document;
|
|
2599
|
+
private readonly elementRef;
|
|
2600
|
+
private readonly document;
|
|
2617
2601
|
/**
|
|
2618
2602
|
* Defines a value that is going to be applied as a datepicker placeholder
|
|
2619
2603
|
*/
|
|
@@ -2674,12 +2658,11 @@ declare class KitDatepickerComponent implements ControlValueAccessor {
|
|
|
2674
2658
|
* An icon which will be used in a datepicker toggle button
|
|
2675
2659
|
*/
|
|
2676
2660
|
readonly calendarIcon: KitSvgIcon;
|
|
2677
|
-
constructor(elementRef: ElementRef, document: Document);
|
|
2678
2661
|
documentClick(event: Event): void;
|
|
2679
2662
|
onValueChange(value: Date): void;
|
|
2680
2663
|
onPopupToggle(): void;
|
|
2681
2664
|
onBlur(): void;
|
|
2682
|
-
onChange: (
|
|
2665
|
+
onChange: (_value: Date) => void;
|
|
2683
2666
|
onTouched: () => void;
|
|
2684
2667
|
writeValue(value: string): void;
|
|
2685
2668
|
registerOnChange(fn: (_: Date) => void): void;
|
|
@@ -2917,7 +2900,7 @@ declare class KitBreadcrumbsService {
|
|
|
2917
2900
|
private readonly translateService;
|
|
2918
2901
|
readonly breadcrumbs: WritableSignal<KitBreadcrumbsItem[]>;
|
|
2919
2902
|
private dataHandlers;
|
|
2920
|
-
constructor(
|
|
2903
|
+
constructor();
|
|
2921
2904
|
private initializeBreadcrumbs;
|
|
2922
2905
|
registerHandler(type: string, key: string, handler: (param: string) => string): void;
|
|
2923
2906
|
private updateBreadcrumbs;
|
|
@@ -2929,6 +2912,45 @@ declare class KitBreadcrumbsService {
|
|
|
2929
2912
|
static ɵprov: i0.ɵɵInjectableDeclaration<KitBreadcrumbsService>;
|
|
2930
2913
|
}
|
|
2931
2914
|
|
|
2915
|
+
declare enum KitSortDirection {
|
|
2916
|
+
ASC = "asc",
|
|
2917
|
+
DESC = "desc"
|
|
2918
|
+
}
|
|
2919
|
+
declare enum KitFilterLogic {
|
|
2920
|
+
AND = "and",
|
|
2921
|
+
OR = "or"
|
|
2922
|
+
}
|
|
2923
|
+
declare enum KitFilterOperator {
|
|
2924
|
+
EQ = "eq",
|
|
2925
|
+
NEQ = "neq",
|
|
2926
|
+
IS_NULL = "isnull",
|
|
2927
|
+
IS_NOT_NULL = "isnotnull",
|
|
2928
|
+
LT = "lt",
|
|
2929
|
+
LTE = "lte",
|
|
2930
|
+
GT = "gt",
|
|
2931
|
+
GTE = "gte",
|
|
2932
|
+
STARTS_WITH = "startswith",
|
|
2933
|
+
ENDS_WITH = "endswith",
|
|
2934
|
+
CONTAINS = "contains",
|
|
2935
|
+
DOES_NOT_CONTAIN = "doesnotcontain",
|
|
2936
|
+
IS_EMPTY = "isempty",
|
|
2937
|
+
IS_NOT_EMPTY = "isnotempty"
|
|
2938
|
+
}
|
|
2939
|
+
|
|
2940
|
+
interface KitDataResult<T> {
|
|
2941
|
+
data: T[];
|
|
2942
|
+
total: number;
|
|
2943
|
+
}
|
|
2944
|
+
interface KitDataState {
|
|
2945
|
+
skip?: number;
|
|
2946
|
+
take?: number;
|
|
2947
|
+
sort?: KitSortDescriptor[];
|
|
2948
|
+
filter?: KitCompositeFilterDescriptor;
|
|
2949
|
+
}
|
|
2950
|
+
type KitCompositeFilterDescriptor = CompositeFilterDescriptor;
|
|
2951
|
+
type KitFilterDescriptor = FilterDescriptor;
|
|
2952
|
+
type KitSortDescriptor = SortDescriptor;
|
|
2953
|
+
|
|
2932
2954
|
declare class KitGridColumnComponent {
|
|
2933
2955
|
/**
|
|
2934
2956
|
* Defines the field to which the column is bound
|
|
@@ -2971,20 +2993,6 @@ declare enum KitGridSortSettingsMode {
|
|
|
2971
2993
|
MULTIPLE = "multiple"
|
|
2972
2994
|
}
|
|
2973
2995
|
|
|
2974
|
-
interface KitDataResult<T> {
|
|
2975
|
-
data: T[];
|
|
2976
|
-
total: number;
|
|
2977
|
-
}
|
|
2978
|
-
interface KitDataState {
|
|
2979
|
-
skip?: number;
|
|
2980
|
-
take?: number;
|
|
2981
|
-
sort?: KitSortDescriptor[];
|
|
2982
|
-
filter?: KitCompositeFilterDescriptor;
|
|
2983
|
-
}
|
|
2984
|
-
type KitCompositeFilterDescriptor = CompositeFilterDescriptor;
|
|
2985
|
-
type KitFilterDescriptor = FilterDescriptor;
|
|
2986
|
-
type KitSortDescriptor = SortDescriptor;
|
|
2987
|
-
|
|
2988
2996
|
interface KitGridSortSettings {
|
|
2989
2997
|
mode: KitGridSortSettingsMode;
|
|
2990
2998
|
}
|
|
@@ -3004,31 +3012,6 @@ interface KitPDFOptions extends PDFOptions {
|
|
|
3004
3012
|
paperSize?: PaperSize;
|
|
3005
3013
|
}
|
|
3006
3014
|
|
|
3007
|
-
declare enum KitSortDirection {
|
|
3008
|
-
ASC = "asc",
|
|
3009
|
-
DESC = "desc"
|
|
3010
|
-
}
|
|
3011
|
-
declare enum KitFilterLogic {
|
|
3012
|
-
AND = "and",
|
|
3013
|
-
OR = "or"
|
|
3014
|
-
}
|
|
3015
|
-
declare enum KitFilterOperator {
|
|
3016
|
-
EQ = "eq",
|
|
3017
|
-
NEQ = "neq",
|
|
3018
|
-
IS_NULL = "isnull",
|
|
3019
|
-
IS_NOT_NULL = "isnotnull",
|
|
3020
|
-
LT = "lt",
|
|
3021
|
-
LTE = "lte",
|
|
3022
|
-
GT = "gt",
|
|
3023
|
-
GTE = "gte",
|
|
3024
|
-
STARTS_WITH = "startswith",
|
|
3025
|
-
ENDS_WITH = "endswith",
|
|
3026
|
-
CONTAINS = "contains",
|
|
3027
|
-
DOES_NOT_CONTAIN = "doesnotcontain",
|
|
3028
|
-
IS_EMPTY = "isempty",
|
|
3029
|
-
IS_NOT_EMPTY = "isnotempty"
|
|
3030
|
-
}
|
|
3031
|
-
|
|
3032
3015
|
declare class KitGridComponent<T> {
|
|
3033
3016
|
private readonly translateService;
|
|
3034
3017
|
/**
|
|
@@ -3120,7 +3103,7 @@ declare class KitGridComponent<T> {
|
|
|
3120
3103
|
readonly kitSortDirection: typeof KitSortDirection;
|
|
3121
3104
|
readonly columns: WritableSignal<KitGridColumnComponent[] | undefined>;
|
|
3122
3105
|
expandedRows: T[];
|
|
3123
|
-
constructor(
|
|
3106
|
+
constructor();
|
|
3124
3107
|
onDataStateChange(event: KitGridDataStateChangeEvent): void;
|
|
3125
3108
|
onSortChange(event: KitSortDescriptor[]): void;
|
|
3126
3109
|
getSortingDirection(columnField: string): string | null;
|
|
@@ -3184,19 +3167,9 @@ declare class KitTileLayoutModule {
|
|
|
3184
3167
|
static ɵinj: i0.ɵɵInjectorDeclaration<KitTileLayoutModule>;
|
|
3185
3168
|
}
|
|
3186
3169
|
|
|
3187
|
-
declare
|
|
3188
|
-
|
|
3189
|
-
|
|
3190
|
-
buttonState?: KitButtonState;
|
|
3191
|
-
buttonIcon?: KitSvgIcon;
|
|
3192
|
-
tooltipText?: string;
|
|
3193
|
-
badgeCount?: number;
|
|
3194
|
-
propertyChanged?: EventEmitter<void>;
|
|
3195
|
-
sectionTemplate: TemplateRef<HTMLElement> | null;
|
|
3196
|
-
sectionContent: ElementRef | null;
|
|
3197
|
-
ngOnChanges(): void;
|
|
3198
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<KitScrollNavigationSectionComponent, never>;
|
|
3199
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<KitScrollNavigationSectionComponent, "kit-scroll-navigation-section", never, { "title": { "alias": "title"; "required": false; }; "id": { "alias": "id"; "required": false; }; "buttonState": { "alias": "buttonState"; "required": false; }; "buttonIcon": { "alias": "buttonIcon"; "required": false; }; "tooltipText": { "alias": "tooltipText"; "required": false; }; "badgeCount": { "alias": "badgeCount"; "required": false; }; }, { "propertyChanged": "propertyChanged"; }, never, ["*"], true, never>;
|
|
3170
|
+
declare enum KitCollapsedListDropdownAlign {
|
|
3171
|
+
INLINE = "inline",
|
|
3172
|
+
END = "end"
|
|
3200
3173
|
}
|
|
3201
3174
|
|
|
3202
3175
|
interface KitCollapsedListItem {
|
|
@@ -3209,11 +3182,6 @@ interface KitCollapsedListItem {
|
|
|
3209
3182
|
badgeCount?: number;
|
|
3210
3183
|
}
|
|
3211
3184
|
|
|
3212
|
-
declare enum KitCollapsedListDropdownAlign {
|
|
3213
|
-
INLINE = "inline",
|
|
3214
|
-
END = "end"
|
|
3215
|
-
}
|
|
3216
|
-
|
|
3217
3185
|
declare class KitCollapsedListComponent<T extends KitCollapsedListItem> implements AfterViewInit, OnChanges, OnDestroy {
|
|
3218
3186
|
readonly itemList: InputSignal<T[]>;
|
|
3219
3187
|
readonly lineHeight: InputSignal<number>;
|
|
@@ -3227,7 +3195,7 @@ declare class KitCollapsedListComponent<T extends KitCollapsedListItem> implemen
|
|
|
3227
3195
|
readonly appendTo: InputSignal<PopupSettings['appendTo']>;
|
|
3228
3196
|
readonly alwaysShowDropdown: InputSignal<boolean>;
|
|
3229
3197
|
readonly dropdownAlign: InputSignal<KitCollapsedListDropdownAlign>;
|
|
3230
|
-
readonly
|
|
3198
|
+
readonly selectItem: OutputEmitterRef<T>;
|
|
3231
3199
|
readonly wrapper: Signal<ElementRef<HTMLElement>>;
|
|
3232
3200
|
readonly measureItem: Signal<readonly ElementRef<HTMLElement>[]>;
|
|
3233
3201
|
readonly dropdown: Signal<ElementRef<HTMLElement> | undefined>;
|
|
@@ -3254,10 +3222,25 @@ declare class KitCollapsedListComponent<T extends KitCollapsedListItem> implemen
|
|
|
3254
3222
|
private calculateResizeParams;
|
|
3255
3223
|
private setResizeParams;
|
|
3256
3224
|
static ɵfac: i0.ɵɵFactoryDeclaration<KitCollapsedListComponent<any>, never>;
|
|
3257
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<KitCollapsedListComponent<any>, "kit-collapsed-list", never, { "itemList": { "alias": "itemList"; "required": true; "isSignal": true; }; "lineHeight": { "alias": "lineHeight"; "required": false; "isSignal": true; }; "dropdownDefaultValueText": { "alias": "dropdownDefaultValueText"; "required": false; "isSignal": true; }; "gap": { "alias": "gap"; "required": false; "isSignal": true; }; "disableActions": { "alias": "disableActions"; "required": false; "isSignal": true; }; "itemTemplate": { "alias": "itemTemplate"; "required": false; "isSignal": true; }; "dropdownFooterTemplate": { "alias": "dropdownFooterTemplate"; "required": false; "isSignal": true; }; "dropdownItemTemplate": { "alias": "dropdownItemTemplate"; "required": false; "isSignal": true; }; "dropdownNoDataTemplate": { "alias": "dropdownNoDataTemplate"; "required": false; "isSignal": true; }; "appendTo": { "alias": "appendTo"; "required": false; "isSignal": true; }; "alwaysShowDropdown": { "alias": "alwaysShowDropdown"; "required": false; "isSignal": true; }; "dropdownAlign": { "alias": "dropdownAlign"; "required": false; "isSignal": true; }; }, { "
|
|
3225
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<KitCollapsedListComponent<any>, "kit-collapsed-list", never, { "itemList": { "alias": "itemList"; "required": true; "isSignal": true; }; "lineHeight": { "alias": "lineHeight"; "required": false; "isSignal": true; }; "dropdownDefaultValueText": { "alias": "dropdownDefaultValueText"; "required": false; "isSignal": true; }; "gap": { "alias": "gap"; "required": false; "isSignal": true; }; "disableActions": { "alias": "disableActions"; "required": false; "isSignal": true; }; "itemTemplate": { "alias": "itemTemplate"; "required": false; "isSignal": true; }; "dropdownFooterTemplate": { "alias": "dropdownFooterTemplate"; "required": false; "isSignal": true; }; "dropdownItemTemplate": { "alias": "dropdownItemTemplate"; "required": false; "isSignal": true; }; "dropdownNoDataTemplate": { "alias": "dropdownNoDataTemplate"; "required": false; "isSignal": true; }; "appendTo": { "alias": "appendTo"; "required": false; "isSignal": true; }; "alwaysShowDropdown": { "alias": "alwaysShowDropdown"; "required": false; "isSignal": true; }; "dropdownAlign": { "alias": "dropdownAlign"; "required": false; "isSignal": true; }; }, { "selectItem": "selectItem"; }, never, never, true, never>;
|
|
3226
|
+
}
|
|
3227
|
+
|
|
3228
|
+
declare class KitScrollNavigationSectionComponent implements OnChanges {
|
|
3229
|
+
title: string;
|
|
3230
|
+
id: string;
|
|
3231
|
+
buttonState?: KitButtonState;
|
|
3232
|
+
buttonIcon?: KitSvgIcon;
|
|
3233
|
+
tooltipText?: string;
|
|
3234
|
+
badgeCount?: number;
|
|
3235
|
+
propertyChanged?: EventEmitter<void>;
|
|
3236
|
+
sectionTemplate: TemplateRef<HTMLElement> | null;
|
|
3237
|
+
sectionContent: ElementRef | null;
|
|
3238
|
+
ngOnChanges(): void;
|
|
3239
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KitScrollNavigationSectionComponent, never>;
|
|
3240
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<KitScrollNavigationSectionComponent, "kit-scroll-navigation-section", never, { "title": { "alias": "title"; "required": false; }; "id": { "alias": "id"; "required": false; }; "buttonState": { "alias": "buttonState"; "required": false; }; "buttonIcon": { "alias": "buttonIcon"; "required": false; }; "tooltipText": { "alias": "tooltipText"; "required": false; }; "badgeCount": { "alias": "badgeCount"; "required": false; }; }, { "propertyChanged": "propertyChanged"; }, never, ["*"], true, never>;
|
|
3258
3241
|
}
|
|
3259
3242
|
|
|
3260
|
-
declare class KitScrollNavigationComponent implements AfterViewInit {
|
|
3243
|
+
declare class KitScrollNavigationComponent implements AfterViewInit, OnInit {
|
|
3261
3244
|
private readonly activatedRoute;
|
|
3262
3245
|
readonly isNavigationBtnDisabled: InputSignal<boolean>;
|
|
3263
3246
|
readonly dropdownDefaultText: InputSignal<string>;
|
|
@@ -3277,7 +3260,7 @@ declare class KitScrollNavigationComponent implements AfterViewInit {
|
|
|
3277
3260
|
private hasScrolled;
|
|
3278
3261
|
private readonly firstRenderScrollElementId;
|
|
3279
3262
|
get currentVisibleItem(): KitCollapsedListItem | null;
|
|
3280
|
-
constructor(
|
|
3263
|
+
constructor();
|
|
3281
3264
|
ngOnInit(): void;
|
|
3282
3265
|
ngAfterViewInit(): void;
|
|
3283
3266
|
onSectionScroll(): void;
|
|
@@ -3491,6 +3474,13 @@ declare class KitSearchBarModule {
|
|
|
3491
3474
|
static ɵinj: i0.ɵɵInjectorDeclaration<KitSearchBarModule>;
|
|
3492
3475
|
}
|
|
3493
3476
|
|
|
3477
|
+
type KitUserPermissions = Record<string, string[]>;
|
|
3478
|
+
|
|
3479
|
+
interface KitPermission {
|
|
3480
|
+
category?: string;
|
|
3481
|
+
type?: string | string[];
|
|
3482
|
+
}
|
|
3483
|
+
|
|
3494
3484
|
interface KitFilterValue {
|
|
3495
3485
|
logic: KitFilterLogic;
|
|
3496
3486
|
filters: KitFilterDescriptor[];
|
|
@@ -3523,11 +3513,6 @@ interface KitFilterListConfigValue<T> {
|
|
|
3523
3513
|
}
|
|
3524
3514
|
type KitFilterListConfig = Record<string, KitFilterListConfigValue<string | boolean | number>>;
|
|
3525
3515
|
|
|
3526
|
-
interface KitPermission {
|
|
3527
|
-
category?: string;
|
|
3528
|
-
type?: string | string[];
|
|
3529
|
-
}
|
|
3530
|
-
|
|
3531
3516
|
interface GlobalSearchRouteConfig {
|
|
3532
3517
|
commands: string[];
|
|
3533
3518
|
extras?: NavigationExtras;
|
|
@@ -3581,8 +3566,6 @@ interface MatchResult {
|
|
|
3581
3566
|
translateKey: string;
|
|
3582
3567
|
}
|
|
3583
3568
|
|
|
3584
|
-
type KitUserPermissions = Record<string, string[]>;
|
|
3585
|
-
|
|
3586
3569
|
declare class KitGlobalSearchComponent implements OnInit {
|
|
3587
3570
|
private readonly router;
|
|
3588
3571
|
private readonly store;
|
|
@@ -3612,7 +3595,6 @@ declare class KitGlobalSearchComponent implements OnInit {
|
|
|
3612
3595
|
expandedFilters: Set<number>;
|
|
3613
3596
|
private isClearing;
|
|
3614
3597
|
documentClick(event: Event): void;
|
|
3615
|
-
constructor(router: Router, store: Store, datePipe: DatePipe);
|
|
3616
3598
|
ngOnInit(): void;
|
|
3617
3599
|
get isPopupOpen(): boolean;
|
|
3618
3600
|
get selectedFilters(): GlobalSearchSelectedFilter[];
|
|
@@ -3680,11 +3662,11 @@ declare class KitSortableComponent<T> {
|
|
|
3680
3662
|
activeItemClass?: string;
|
|
3681
3663
|
zone?: string;
|
|
3682
3664
|
emptyItemClass?: string;
|
|
3683
|
-
readonly
|
|
3665
|
+
readonly dragEnd: OutputEmitterRef<DataMoveEvent>;
|
|
3684
3666
|
readonly itemTemplate: Signal<TemplateRef<HTMLElement> | undefined>;
|
|
3685
3667
|
get columnsCount(): number | null;
|
|
3686
3668
|
static ɵfac: i0.ɵɵFactoryDeclaration<KitSortableComponent<any>, never>;
|
|
3687
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<KitSortableComponent<any>, "kit-sortable", never, { "items": { "alias": "items"; "required": false; }; "columnCount": { "alias": "columnCount"; "required": false; }; "itemClass": { "alias": "itemClass"; "required": false; }; "activeItemClass": { "alias": "activeItemClass"; "required": false; }; "zone": { "alias": "zone"; "required": false; }; "emptyItemClass": { "alias": "emptyItemClass"; "required": false; }; }, { "
|
|
3669
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<KitSortableComponent<any>, "kit-sortable", never, { "items": { "alias": "items"; "required": false; }; "columnCount": { "alias": "columnCount"; "required": false; }; "itemClass": { "alias": "itemClass"; "required": false; }; "activeItemClass": { "alias": "activeItemClass"; "required": false; }; "zone": { "alias": "zone"; "required": false; }; "emptyItemClass": { "alias": "emptyItemClass"; "required": false; }; }, { "dragEnd": "dragEnd"; }, ["itemTemplate"], never, true, never>;
|
|
3688
3670
|
}
|
|
3689
3671
|
|
|
3690
3672
|
declare const kitDataStateToODataString: (state: KitDataState, utcDates?: boolean) => string;
|
|
@@ -3710,7 +3692,7 @@ declare class KitPageLayoutComponent {
|
|
|
3710
3692
|
readonly hasMenuSelected: WritableSignal<boolean>;
|
|
3711
3693
|
readonly hasSidebar: WritableSignal<boolean>;
|
|
3712
3694
|
readonly hasTopBar: WritableSignal<boolean>;
|
|
3713
|
-
constructor(
|
|
3695
|
+
constructor();
|
|
3714
3696
|
get isMobile(): boolean;
|
|
3715
3697
|
static ɵfac: i0.ɵɵFactoryDeclaration<KitPageLayoutComponent, never>;
|
|
3716
3698
|
static ɵcmp: i0.ɵɵComponentDeclaration<KitPageLayoutComponent, "kit-page-layout", never, { "theme": { "alias": "theme"; "required": false; "isSignal": true; }; }, {}, never, ["[sidebar]", "[topBar]", "[content]"], true, never>;
|
|
@@ -3724,7 +3706,6 @@ declare const KIT_USER_PERMISSIONS_PATH: InjectionToken<string>;
|
|
|
3724
3706
|
|
|
3725
3707
|
declare class KitTranslateService {
|
|
3726
3708
|
private readonly translateService;
|
|
3727
|
-
constructor(translateService: TranslateService);
|
|
3728
3709
|
registerTranslations(): void;
|
|
3729
3710
|
static ɵfac: i0.ɵɵFactoryDeclaration<KitTranslateService, never>;
|
|
3730
3711
|
static ɵprov: i0.ɵɵInjectableDeclaration<KitTranslateService>;
|
|
@@ -3816,7 +3797,6 @@ declare const kitBuildSortString: (sort?: KitSortDescriptor[]) => string | undef
|
|
|
3816
3797
|
declare class KitGridUrlStateService {
|
|
3817
3798
|
private readonly activatedRoute;
|
|
3818
3799
|
private readonly router;
|
|
3819
|
-
constructor(activatedRoute: ActivatedRoute, router: Router);
|
|
3820
3800
|
getGridStateFromUrl(): KitGridDataState;
|
|
3821
3801
|
setGridStateToUrl(state: KitGridDataState): void;
|
|
3822
3802
|
static ɵfac: i0.ɵɵFactoryDeclaration<KitGridUrlStateService, never>;
|
|
@@ -3907,7 +3887,6 @@ declare class KitGridViewsComponent implements OnInit, OnDestroy {
|
|
|
3907
3887
|
readonly needToResetQueryParams: WritableSignal<boolean>;
|
|
3908
3888
|
readonly userPermissions: Signal<KitUserPermissions>;
|
|
3909
3889
|
readonly allowedSystemViews: Signal<KitGridView[]>;
|
|
3910
|
-
constructor(store: Store, activatedRoute: ActivatedRoute, router: Router, destroyRef: DestroyRef, titleCasePipe: TitleCasePipe, kitDialogService: KitDialogService, translateService: TranslateService, viewContainerRef: ViewContainerRef, kitGridUrlStateService: KitGridUrlStateService);
|
|
3911
3890
|
ngOnInit(): void;
|
|
3912
3891
|
ngOnDestroy(): void;
|
|
3913
3892
|
get isViewNameValid(): boolean;
|
|
@@ -3932,6 +3911,11 @@ declare class KitGridViewsComponent implements OnInit, OnDestroy {
|
|
|
3932
3911
|
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>;
|
|
3933
3912
|
}
|
|
3934
3913
|
|
|
3914
|
+
interface SettingValue {
|
|
3915
|
+
value?: string;
|
|
3916
|
+
group: string | null;
|
|
3917
|
+
}
|
|
3918
|
+
|
|
3935
3919
|
declare class FetchGridViews extends AbstractPayloadAction<KitGridViewsFetchPayload> {
|
|
3936
3920
|
static readonly type: string;
|
|
3937
3921
|
}
|
|
@@ -3954,30 +3938,8 @@ declare class SetSelectedView extends AbstractPayloadAction<KitGridView> {
|
|
|
3954
3938
|
static readonly type: string;
|
|
3955
3939
|
}
|
|
3956
3940
|
|
|
3957
|
-
interface SettingView {
|
|
3958
|
-
key: string;
|
|
3959
|
-
value?: string;
|
|
3960
|
-
group: string | null;
|
|
3961
|
-
}
|
|
3962
|
-
interface SettingValue {
|
|
3963
|
-
value?: string;
|
|
3964
|
-
group: string | null;
|
|
3965
|
-
}
|
|
3966
|
-
|
|
3967
|
-
declare class KitSettingsApiService {
|
|
3968
|
-
private readonly httpClient;
|
|
3969
|
-
private readonly basePath;
|
|
3970
|
-
constructor(httpClient: HttpClient, basePath: string);
|
|
3971
|
-
getSettingsByGroup(group: string): Observable<SettingView[]>;
|
|
3972
|
-
setSettingByKey(key: string, settingValue: SettingValue): Observable<SettingValue>;
|
|
3973
|
-
deleteSettingByGroupAndKey(key: string, group: string): Observable<null>;
|
|
3974
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<KitSettingsApiService, never>;
|
|
3975
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<KitSettingsApiService>;
|
|
3976
|
-
}
|
|
3977
|
-
|
|
3978
3941
|
declare class KitGridViewsState {
|
|
3979
3942
|
private readonly settingsService;
|
|
3980
|
-
constructor(settingsService: KitSettingsApiService);
|
|
3981
3943
|
fetchGridViews(ctx: StateContext<ApiResponseState<KitViewsState>>, action: FetchGridViews): Observable<KitGridView[]>;
|
|
3982
3944
|
addGridView(ctx: StateContext<ApiResponseState<KitViewsState>>, action: AddGridView): Observable<SettingValue>;
|
|
3983
3945
|
removeGridView(ctx: StateContext<ApiResponseState<KitViewsState>>, action: RemoveGridView): Observable<null>;
|
|
@@ -4004,7 +3966,6 @@ declare class KitUserSettingsComponent {
|
|
|
4004
3966
|
readonly kitUserSettings: InputSignal<KitUserSettings[]>;
|
|
4005
3967
|
readonly theme: InputSignal<KitThemes>;
|
|
4006
3968
|
readonly userSettings$: Observable<Record<string, string>>;
|
|
4007
|
-
constructor(store: Store);
|
|
4008
3969
|
setUserSettingByKey(key: string, value: boolean): void;
|
|
4009
3970
|
static ɵfac: i0.ɵɵFactoryDeclaration<KitUserSettingsComponent, never>;
|
|
4010
3971
|
static ɵcmp: i0.ɵɵComponentDeclaration<KitUserSettingsComponent, "kit-user-settings", never, { "kitUserSettings": { "alias": "kitUserSettings"; "required": false; "isSignal": true; }; "theme": { "alias": "theme"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
@@ -4022,7 +3983,6 @@ declare class SetUserSettingByKey extends AbstractPayloadAction<{
|
|
|
4022
3983
|
|
|
4023
3984
|
declare class KitUserSettingsState {
|
|
4024
3985
|
private readonly settingsService;
|
|
4025
|
-
constructor(settingsService: KitSettingsApiService);
|
|
4026
3986
|
fetchUserSetting(ctx: StateContext<FetchUserSettings>): Observable<Record<string, string>>;
|
|
4027
3987
|
setSettingByKey(ctx: StateContext<SetUserSettingByKey>, action: SetUserSettingByKey): Observable<SettingValue>;
|
|
4028
3988
|
static getSettingByKey(key: string): (state: Record<string, string>) => string;
|
|
@@ -4054,7 +4014,6 @@ declare class KitGridFiltersComponent {
|
|
|
4054
4014
|
readonly kitFilterType: typeof KitFilterType;
|
|
4055
4015
|
readonly filters: Signal<KitFilterItem[]>;
|
|
4056
4016
|
readonly filterSelectorItems: Signal<KitFilterSelectorItem[]>;
|
|
4057
|
-
constructor(store: Store, kitGridUrlStateService: KitGridUrlStateService);
|
|
4058
4017
|
addFilter(item: KitFilterSelectorItem): void;
|
|
4059
4018
|
removeFilter(field: string): void;
|
|
4060
4019
|
applyFilter(filter: KitFilterItem, values: KitFilterValue): void;
|
|
@@ -4116,28 +4075,6 @@ declare enum GridExportOptions {
|
|
|
4116
4075
|
|
|
4117
4076
|
type KitKendoDrawPdf<T> = NonNullable<KitGridComponent<T>['gridComponent']>['drawPDF'];
|
|
4118
4077
|
|
|
4119
|
-
type KitGridCellDataItem = Record<string, string | number | null>;
|
|
4120
|
-
type KitGridCellTranslationMap = Record<string, (value: string) => string>;
|
|
4121
|
-
interface KitGridCellDateFormatConfig {
|
|
4122
|
-
dateFormat: string;
|
|
4123
|
-
dateTimeFormat: string;
|
|
4124
|
-
}
|
|
4125
|
-
declare const KIT_GRID_CELL_DATE_FORMAT_CONFIG: InjectionToken<KitGridCellDateFormatConfig>;
|
|
4126
|
-
|
|
4127
|
-
declare class KitGridCellService {
|
|
4128
|
-
private readonly translateService;
|
|
4129
|
-
private readonly decimalPipe;
|
|
4130
|
-
private readonly datePipe;
|
|
4131
|
-
private readonly dateFormatConfig?;
|
|
4132
|
-
readonly dateFormat: string;
|
|
4133
|
-
readonly dateTimeFormat: string;
|
|
4134
|
-
constructor(translateService: TranslateService, decimalPipe: DecimalPipe, datePipe: DatePipe, dateFormatConfig?: KitGridCellDateFormatConfig | undefined);
|
|
4135
|
-
createCellValue<T>(columnType: string, columnField: string, dataItem: T, translationMap?: KitGridCellTranslationMap, defaultValue?: string | number): string | number;
|
|
4136
|
-
private getNestedGridCellValue;
|
|
4137
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<KitGridCellService, [null, null, null, { optional: true; }]>;
|
|
4138
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<KitGridCellService>;
|
|
4139
|
-
}
|
|
4140
|
-
|
|
4141
4078
|
declare class KitGridExportComponent<T> {
|
|
4142
4079
|
private readonly translateService;
|
|
4143
4080
|
private readonly notificationService;
|
|
@@ -4160,7 +4097,6 @@ declare class KitGridExportComponent<T> {
|
|
|
4160
4097
|
readonly kitRadioButtonType: typeof KitRadioButtonType;
|
|
4161
4098
|
gridExportOptions: KitRadioButton<GridExportOptions>[];
|
|
4162
4099
|
isGridExporting: WritableSignal<boolean>;
|
|
4163
|
-
constructor(translateService: TranslateService, notificationService: KitNotificationService, gridCellService: KitGridCellService, store: Store);
|
|
4164
4100
|
get exportedColumns(): KitGridColumnConfig[];
|
|
4165
4101
|
onPopupToggle(): void;
|
|
4166
4102
|
onExport({ value }: KitRadioButton<GridExportOptions>): Promise<void>;
|
|
@@ -4177,6 +4113,14 @@ declare class KitGridExportComponent<T> {
|
|
|
4177
4113
|
static ɵcmp: i0.ɵɵComponentDeclaration<KitGridExportComponent<any>, "kit-grid-export", never, { "getExportedData": { "alias": "getExportedData"; "required": true; "isSignal": true; }; "translationMap": { "alias": "translationMap"; "required": true; "isSignal": true; }; "exportedFileName": { "alias": "exportedFileName"; "required": true; "isSignal": true; }; "drawPdf": { "alias": "drawPdf"; "required": true; "isSignal": true; }; "gridHasData": { "alias": "gridHasData"; "required": true; "isSignal": true; }; "visibleColumns": { "alias": "visibleColumns"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
4178
4114
|
}
|
|
4179
4115
|
|
|
4116
|
+
type KitGridCellDataItem = Record<string, string | number | null>;
|
|
4117
|
+
type KitGridCellTranslationMap = Record<string, (value: string) => string>;
|
|
4118
|
+
interface KitGridCellDateFormatConfig {
|
|
4119
|
+
dateFormat: string;
|
|
4120
|
+
dateTimeFormat: string;
|
|
4121
|
+
}
|
|
4122
|
+
declare const KIT_GRID_CELL_DATE_FORMAT_CONFIG: InjectionToken<KitGridCellDateFormatConfig>;
|
|
4123
|
+
|
|
4180
4124
|
declare class KitGridCellComponent {
|
|
4181
4125
|
column: KitGridColumn;
|
|
4182
4126
|
dataItem: KitGridCellDataItem;
|
|
@@ -4185,12 +4129,25 @@ declare class KitGridCellComponent {
|
|
|
4185
4129
|
static ɵcmp: i0.ɵɵComponentDeclaration<KitGridCellComponent, "kit-grid-cell", never, { "column": { "alias": "column"; "required": false; }; "dataItem": { "alias": "dataItem"; "required": false; }; }, {}, never, never, true, never>;
|
|
4186
4130
|
}
|
|
4187
4131
|
|
|
4132
|
+
declare class KitGridCellService {
|
|
4133
|
+
private readonly translateService;
|
|
4134
|
+
private readonly decimalPipe;
|
|
4135
|
+
private readonly datePipe;
|
|
4136
|
+
private readonly dateFormatConfig;
|
|
4137
|
+
readonly dateFormat: string;
|
|
4138
|
+
readonly dateTimeFormat: string;
|
|
4139
|
+
constructor();
|
|
4140
|
+
createCellValue<T>(columnType: string, columnField: string, dataItem: T, translationMap?: KitGridCellTranslationMap, defaultValue?: string | number): string | number;
|
|
4141
|
+
private getNestedGridCellValue;
|
|
4142
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KitGridCellService, never>;
|
|
4143
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<KitGridCellService>;
|
|
4144
|
+
}
|
|
4145
|
+
|
|
4188
4146
|
declare class KitGridSearchComponent implements AfterViewInit {
|
|
4189
4147
|
private readonly store;
|
|
4190
4148
|
private readonly kitGridUrlStateService;
|
|
4191
4149
|
readonly kitSearchBarComponent: Signal<KitSearchBarComponent>;
|
|
4192
4150
|
readonly gridState$: Observable<KitGridDataState>;
|
|
4193
|
-
constructor(store: Store, kitGridUrlStateService: KitGridUrlStateService);
|
|
4194
4151
|
ngAfterViewInit(): void;
|
|
4195
4152
|
closeButtonClick(): void;
|
|
4196
4153
|
closeSearch(): void;
|
|
@@ -4210,7 +4167,6 @@ declare class KitGridColumnManagerComponent {
|
|
|
4210
4167
|
readonly kitButtonIconPosition: typeof KitButtonIconPosition;
|
|
4211
4168
|
readonly kitSvgIcon: typeof KitSvgIcon;
|
|
4212
4169
|
readonly hasUnsavedChanges: WritableSignal<boolean>;
|
|
4213
|
-
constructor(kitDialogService: KitDialogService, store: Store, translateService: TranslateService, viewContainerRef: ViewContainerRef);
|
|
4214
4170
|
openColumnsDialog(): void;
|
|
4215
4171
|
onColumnVisibilityChange(event: boolean, column: KitGridColumnConfig): void;
|
|
4216
4172
|
applyChanges(): void;
|
|
@@ -4276,7 +4232,7 @@ declare class KitEntityGridComponent<T> {
|
|
|
4276
4232
|
readonly kitButtonIconPosition: typeof KitButtonIconPosition;
|
|
4277
4233
|
readonly kitBadgeTheme: typeof KitBadgeTheme;
|
|
4278
4234
|
isExporting: WritableSignal<boolean>;
|
|
4279
|
-
constructor(
|
|
4235
|
+
constructor();
|
|
4280
4236
|
onPageSizeChanged(event: KitGridPageChangeEvent): void;
|
|
4281
4237
|
onFiltersToggle(): void;
|
|
4282
4238
|
onGridViewChange(): void;
|
|
@@ -4285,27 +4241,12 @@ declare class KitEntityGridComponent<T> {
|
|
|
4285
4241
|
static ɵcmp: i0.ɵɵComponentDeclaration<KitEntityGridComponent<any>, "kit-entity-grid", never, { "gridData": { "alias": "gridData"; "required": true; "isSignal": true; }; "title": { "alias": "title"; "required": true; "isSignal": true; }; "gridColumns": { "alias": "gridColumns"; "required": true; "isSignal": true; }; "defaultViewName": { "alias": "defaultViewName"; "required": true; "isSignal": true; }; "viewGroup": { "alias": "viewGroup"; "required": true; "isSignal": true; }; "viewGroupConfig": { "alias": "viewGroupConfig"; "required": true; "isSignal": true; }; "pdfOptions": { "alias": "pdfOptions"; "required": true; "isSignal": true; }; "getExportedData": { "alias": "getExportedData"; "required": true; "isSignal": true; }; "defaultSorting": { "alias": "defaultSorting"; "required": false; "isSignal": true; }; "filterExcludedColumns": { "alias": "filterExcludedColumns"; "required": false; "isSignal": true; }; "systemViews": { "alias": "systemViews"; "required": false; "isSignal": true; }; "translationMap": { "alias": "translationMap"; "required": false; "isSignal": true; }; "isDetailTemplateVisible": { "alias": "isDetailTemplateVisible"; "required": false; "isSignal": true; }; "detailTemplateExpandDisableIf": { "alias": "detailTemplateExpandDisableIf"; "required": false; "isSignal": true; }; "gridHasData": { "alias": "gridHasData"; "required": false; "isSignal": true; }; "isLoading": { "alias": "isLoading"; "required": false; "isSignal": true; }; "pagerInfoText": { "alias": "pagerInfoText"; "required": false; "isSignal": true; }; "showBreadcrumbs": { "alias": "showBreadcrumbs"; "required": false; "isSignal": true; }; "pageSizes": { "alias": "pageSizes"; "required": false; "isSignal": true; }; }, { "gridViewChanged": "gridViewChanged"; }, ["columns", "gridDetailTemplate"], ["[filters]", "[post-header-content]", "[actions]"], true, never>;
|
|
4286
4242
|
}
|
|
4287
4243
|
|
|
4288
|
-
interface KitMainMenuItem extends KitNavigationMenuItem {
|
|
4289
|
-
permission?: KitPermission;
|
|
4290
|
-
items?: KitMainMenuItem[];
|
|
4291
|
-
}
|
|
4292
|
-
|
|
4293
|
-
declare class KitMenuBuilderService {
|
|
4294
|
-
private readonly translateService;
|
|
4295
|
-
constructor(translateService: TranslateService);
|
|
4296
|
-
build(items: KitMainMenuItem[], permissions: KitUserPermissions): KitNavigationMenuItem[];
|
|
4297
|
-
private filter;
|
|
4298
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<KitMenuBuilderService, never>;
|
|
4299
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<KitMenuBuilderService>;
|
|
4300
|
-
}
|
|
4301
|
-
|
|
4302
4244
|
declare class KitSidebarComponent implements OnInit {
|
|
4303
4245
|
private readonly store;
|
|
4304
4246
|
private readonly kitMenuBuilderService;
|
|
4305
4247
|
readonly menuItems: InputSignal<KitNavigationMenuItem[]>;
|
|
4306
4248
|
readonly menuItems$: Observable<KitNavigationMenuItem[]>;
|
|
4307
4249
|
readonly appsMenuItems$: Observable<KitNavigationMenuAppItem[]>;
|
|
4308
|
-
constructor(store: Store, kitMenuBuilderService: KitMenuBuilderService);
|
|
4309
4250
|
ngOnInit(): void;
|
|
4310
4251
|
private fetchUserApplications;
|
|
4311
4252
|
static ɵfac: i0.ɵɵFactoryDeclaration<KitSidebarComponent, never>;
|
|
@@ -4322,12 +4263,16 @@ declare class KitTopBarComponent {
|
|
|
4322
4263
|
readonly kitButtonType: typeof KitButtonType;
|
|
4323
4264
|
readonly kitSvgIcon: typeof KitSvgIcon;
|
|
4324
4265
|
readonly collapsed: WritableSignal<boolean>;
|
|
4325
|
-
constructor(kitNavigationMenuService: KitNavigationMenuService);
|
|
4326
4266
|
toggleSidebar(collapsed: boolean): void;
|
|
4327
4267
|
static ɵfac: i0.ɵɵFactoryDeclaration<KitTopBarComponent, never>;
|
|
4328
4268
|
static ɵcmp: i0.ɵɵComponentDeclaration<KitTopBarComponent, "kit-top-bar", never, { "userMenuItems": { "alias": "userMenuItems"; "required": false; "isSignal": true; }; }, {}, never, ["[globalSearch]", "[topBarActions]"], true, never>;
|
|
4329
4269
|
}
|
|
4330
4270
|
|
|
4271
|
+
interface KitMainMenuItem extends KitNavigationMenuItem {
|
|
4272
|
+
permission?: KitPermission;
|
|
4273
|
+
items?: KitMainMenuItem[];
|
|
4274
|
+
}
|
|
4275
|
+
|
|
4331
4276
|
interface UserApplication {
|
|
4332
4277
|
name: string;
|
|
4333
4278
|
url: string | null;
|
|
@@ -4349,17 +4294,6 @@ interface CurrentUser {
|
|
|
4349
4294
|
}
|
|
4350
4295
|
type UserCompanyType = 'DC' | 'Client' | 'OriginAgent' | 'DestinationAgent' | 'Vendor' | 'Integration' | 'SystemAdmin' | 'ReportAdmin' | 'SS_SysAdmin' | 'SS_ReportAdmin';
|
|
4351
4296
|
|
|
4352
|
-
declare class KitUserApiService {
|
|
4353
|
-
private readonly httpClient;
|
|
4354
|
-
private readonly basePath;
|
|
4355
|
-
private readonly userPath;
|
|
4356
|
-
constructor(httpClient: HttpClient, basePath: string, userPath: string);
|
|
4357
|
-
getUserInfo(): Observable<CurrentUser>;
|
|
4358
|
-
getUserApplicationList(): Observable<UserApplications>;
|
|
4359
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<KitUserApiService, never>;
|
|
4360
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<KitUserApiService>;
|
|
4361
|
-
}
|
|
4362
|
-
|
|
4363
4297
|
interface KitUser {
|
|
4364
4298
|
data: CurrentUser | null;
|
|
4365
4299
|
loading: boolean;
|
|
@@ -4368,7 +4302,6 @@ interface KitUser {
|
|
|
4368
4302
|
declare const KIT_USER_STATE_TOKEN: StateToken<KitUser>;
|
|
4369
4303
|
declare class KitUserState {
|
|
4370
4304
|
private readonly kitUserApiService;
|
|
4371
|
-
constructor(kitUserApiService: KitUserApiService);
|
|
4372
4305
|
fetchUser(ctx: StateContext<ApiResponseState<CurrentUser>>): Observable<CurrentUser>;
|
|
4373
4306
|
static ɵfac: i0.ɵɵFactoryDeclaration<KitUserState, never>;
|
|
4374
4307
|
static ɵprov: i0.ɵɵInjectableDeclaration<KitUserState>;
|
|
@@ -4384,7 +4317,6 @@ declare class FetchUserApplications {
|
|
|
4384
4317
|
|
|
4385
4318
|
declare class KitUserApplicationsState {
|
|
4386
4319
|
private readonly kitUserApiService;
|
|
4387
|
-
constructor(kitUserApiService: KitUserApiService);
|
|
4388
4320
|
fetchUserApplications(ctx: StateContext<FetchUserApplications>): Observable<UserApplications>;
|
|
4389
4321
|
static ɵfac: i0.ɵɵFactoryDeclaration<KitUserApplicationsState, never>;
|
|
4390
4322
|
static ɵprov: i0.ɵɵInjectableDeclaration<KitUserApplicationsState>;
|
|
@@ -4394,20 +4326,9 @@ declare class FetchUserPermissions {
|
|
|
4394
4326
|
static readonly type: string;
|
|
4395
4327
|
}
|
|
4396
4328
|
|
|
4397
|
-
declare class KitPermissionsApiService {
|
|
4398
|
-
private readonly httpClient;
|
|
4399
|
-
private readonly basePath;
|
|
4400
|
-
private readonly userPermissionsPath;
|
|
4401
|
-
constructor(httpClient: HttpClient, basePath: string, userPermissionsPath: string);
|
|
4402
|
-
getUserPermissions(): Observable<KitUserPermissions>;
|
|
4403
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<KitPermissionsApiService, never>;
|
|
4404
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<KitPermissionsApiService>;
|
|
4405
|
-
}
|
|
4406
|
-
|
|
4407
4329
|
declare const KIT_USER_PERMISSIONS_STATE_TOKEN: StateToken<KitUserPermissions>;
|
|
4408
4330
|
declare class KitUserPermissionsState {
|
|
4409
4331
|
private readonly kitPermissionsApiService;
|
|
4410
|
-
constructor(kitPermissionsApiService: KitPermissionsApiService);
|
|
4411
4332
|
fetchUserPermissions(ctx: StateContext<FetchUserPermissions>): Observable<KitUserPermissions>;
|
|
4412
4333
|
static ɵfac: i0.ɵɵFactoryDeclaration<KitUserPermissionsState, never>;
|
|
4413
4334
|
static ɵprov: i0.ɵɵInjectableDeclaration<KitUserPermissionsState>;
|
|
@@ -4514,7 +4435,6 @@ declare class KitMobileMenuComponent {
|
|
|
4514
4435
|
readonly linkItem: Signal<HTMLDivElement>;
|
|
4515
4436
|
readonly navListFooter: Signal<HTMLDivElement | undefined>;
|
|
4516
4437
|
readonly kitSvgIcon: typeof KitSvgIcon;
|
|
4517
|
-
constructor(store: Store);
|
|
4518
4438
|
readonly selectedItem: () => KitMobileMenuItem | null;
|
|
4519
4439
|
setSelectedItem(item: KitMobileMenuItem | null): void;
|
|
4520
4440
|
static ɵfac: i0.ɵɵFactoryDeclaration<KitMobileMenuComponent, never>;
|
|
@@ -4542,7 +4462,6 @@ declare class KitMobileHeaderComponent {
|
|
|
4542
4462
|
readonly kitButtonType: typeof KitButtonType;
|
|
4543
4463
|
readonly kitSvgIconType: typeof KitSvgIconType;
|
|
4544
4464
|
readonly themes: typeof KitThemes;
|
|
4545
|
-
constructor(store: Store);
|
|
4546
4465
|
readonly selectedItem: () => KitMobileMenuItem | null;
|
|
4547
4466
|
setSelectedItem(item: KitMobileMenuItem | null): void;
|
|
4548
4467
|
static ɵfac: i0.ɵɵFactoryDeclaration<KitMobileHeaderComponent, never>;
|
|
@@ -4553,7 +4472,6 @@ declare class KitThemeService {
|
|
|
4553
4472
|
private readonly store;
|
|
4554
4473
|
private readonly useDarkThemeForMobile;
|
|
4555
4474
|
readonly theme: Signal<KitThemes>;
|
|
4556
|
-
constructor(store: Store);
|
|
4557
4475
|
static ɵfac: i0.ɵɵFactoryDeclaration<KitThemeService, never>;
|
|
4558
4476
|
static ɵprov: i0.ɵɵInjectableDeclaration<KitThemeService>;
|
|
4559
4477
|
}
|