@indigina/ui-kit 1.1.251 → 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 +1055 -1089
- package/fesm2022/indigina-ui-kit.mjs.map +1 -1
- package/index.d.ts +169 -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,9 @@ 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;
|
|
2340
2315
|
private readonly destroyRef;
|
|
2341
2316
|
/**
|
|
2342
2317
|
* An items list which is going to be rendered as menu items
|
|
@@ -2354,7 +2329,7 @@ declare class KitNavigationMenuComponent implements OnInit {
|
|
|
2354
2329
|
readonly KitSvgIconType: typeof KitSvgIconType;
|
|
2355
2330
|
readonly KitTooltipPosition: typeof KitTooltipPosition;
|
|
2356
2331
|
readonly isAbsoluteLink: (url: string) => boolean;
|
|
2357
|
-
constructor(
|
|
2332
|
+
constructor();
|
|
2358
2333
|
ngOnInit(): void;
|
|
2359
2334
|
handleClick(item: KitNavigationMenuItem): void;
|
|
2360
2335
|
handleLogoClick(): void;
|
|
@@ -2377,7 +2352,6 @@ declare class KitNavigationMenuSubmenuComponent {
|
|
|
2377
2352
|
readonly KitSvgIcon: typeof KitSvgIcon;
|
|
2378
2353
|
readonly rootPath: string;
|
|
2379
2354
|
readonly isAbsoluteLink: (url: string) => boolean;
|
|
2380
|
-
constructor(document: Document);
|
|
2381
2355
|
handleClick(item: KitNavigationMenuItem): void;
|
|
2382
2356
|
isAppItemActive(url: string | null): boolean;
|
|
2383
2357
|
static ɵfac: i0.ɵɵFactoryDeclaration<KitNavigationMenuSubmenuComponent, never>;
|
|
@@ -2396,6 +2370,17 @@ declare class KitNavigationMenuModule {
|
|
|
2396
2370
|
static ɵinj: i0.ɵɵInjectorDeclaration<KitNavigationMenuModule>;
|
|
2397
2371
|
}
|
|
2398
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
|
+
|
|
2399
2384
|
declare enum KitBadgeTheme {
|
|
2400
2385
|
SUCCESS = "success",
|
|
2401
2386
|
DEFAULT = "default",
|
|
@@ -2405,8 +2390,8 @@ declare enum KitBadgeTheme {
|
|
|
2405
2390
|
}
|
|
2406
2391
|
|
|
2407
2392
|
declare class KitBadgeDirective implements OnDestroy {
|
|
2408
|
-
private elementRef;
|
|
2409
|
-
private renderer;
|
|
2393
|
+
private readonly elementRef;
|
|
2394
|
+
private readonly renderer;
|
|
2410
2395
|
/**
|
|
2411
2396
|
* Defines the content of the badge
|
|
2412
2397
|
*/
|
|
@@ -2420,7 +2405,7 @@ declare class KitBadgeDirective implements OnDestroy {
|
|
|
2420
2405
|
*/
|
|
2421
2406
|
readonly kitBadgeVisible: InputSignal<boolean>;
|
|
2422
2407
|
private badgeElement;
|
|
2423
|
-
constructor(
|
|
2408
|
+
constructor();
|
|
2424
2409
|
ngOnDestroy(): void;
|
|
2425
2410
|
private createBadge;
|
|
2426
2411
|
private updateBadge;
|
|
@@ -2466,8 +2451,8 @@ interface KitMultiselectItem<T> {
|
|
|
2466
2451
|
disabled?: Predicate<KitMultiselectItem<T>>;
|
|
2467
2452
|
}
|
|
2468
2453
|
|
|
2469
|
-
declare class KitMultiselectComponent<T> implements ControlValueAccessor {
|
|
2470
|
-
private elementRef;
|
|
2454
|
+
declare class KitMultiselectComponent<T> implements ControlValueAccessor, OnInit, OnChanges, OnDestroy {
|
|
2455
|
+
private readonly elementRef;
|
|
2471
2456
|
private readonly translateService;
|
|
2472
2457
|
/**
|
|
2473
2458
|
* An items list which is going to be rendered as multiselect items
|
|
@@ -2519,7 +2504,6 @@ declare class KitMultiselectComponent<T> implements ControlValueAccessor {
|
|
|
2519
2504
|
get isAllAsOptionAdded(): boolean;
|
|
2520
2505
|
get hasSelectedAllOption(): boolean;
|
|
2521
2506
|
get allEnabledItems(): T[];
|
|
2522
|
-
constructor(elementRef: ElementRef, translateService: TranslateService);
|
|
2523
2507
|
ngOnInit(): void;
|
|
2524
2508
|
ngOnChanges({ items, selectedItems, shouldAddAllAsOption }: SimpleChanges): void;
|
|
2525
2509
|
ngOnDestroy(): void;
|
|
@@ -2528,7 +2512,7 @@ declare class KitMultiselectComponent<T> implements ControlValueAccessor {
|
|
|
2528
2512
|
/**
|
|
2529
2513
|
* Function that should be called every time the form control value changes
|
|
2530
2514
|
*/
|
|
2531
|
-
onChange: (
|
|
2515
|
+
onChange: (_value: T[]) => void;
|
|
2532
2516
|
/**
|
|
2533
2517
|
* Function that should be called when input lost focus and changed form control state to "touched"
|
|
2534
2518
|
*/
|
|
@@ -2583,17 +2567,16 @@ declare class KitPopupComponent implements OnInit, OnDestroy {
|
|
|
2583
2567
|
readonly popupClass: InputSignal<string>;
|
|
2584
2568
|
readonly closePopupOnCancel: InputSignal<boolean>;
|
|
2585
2569
|
readonly extraInsideSelectors: InputSignal<string[]>;
|
|
2586
|
-
readonly
|
|
2587
|
-
readonly
|
|
2588
|
-
readonly
|
|
2589
|
-
readonly
|
|
2570
|
+
readonly cancelAction: OutputEmitterRef<void>;
|
|
2571
|
+
readonly applyAction: OutputEmitterRef<void>;
|
|
2572
|
+
readonly opened: OutputEmitterRef<void>;
|
|
2573
|
+
readonly closed: OutputEmitterRef<void>;
|
|
2590
2574
|
readonly kitButtonKind: typeof KitButtonKind;
|
|
2591
2575
|
readonly kitButtonType: typeof KitButtonType;
|
|
2592
2576
|
private popupRef;
|
|
2593
2577
|
get popupHTMLElement(): HTMLElement | null;
|
|
2594
2578
|
get isPopupOpen(): boolean;
|
|
2595
2579
|
get anchorElement(): HTMLElement;
|
|
2596
|
-
constructor(popupService: PopupService);
|
|
2597
2580
|
ngOnInit(): void;
|
|
2598
2581
|
ngOnDestroy(): void;
|
|
2599
2582
|
toggle(options?: PopupSettings$1): void;
|
|
@@ -2604,7 +2587,7 @@ declare class KitPopupComponent implements OnInit, OnDestroy {
|
|
|
2604
2587
|
private removeOutsideClickListener;
|
|
2605
2588
|
private readonly onDocumentClick;
|
|
2606
2589
|
static ɵfac: i0.ɵɵFactoryDeclaration<KitPopupComponent, never>;
|
|
2607
|
-
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>;
|
|
2608
2591
|
}
|
|
2609
2592
|
|
|
2610
2593
|
declare enum KitDatepickerSize {
|
|
@@ -2613,8 +2596,8 @@ declare enum KitDatepickerSize {
|
|
|
2613
2596
|
}
|
|
2614
2597
|
|
|
2615
2598
|
declare class KitDatepickerComponent implements ControlValueAccessor {
|
|
2616
|
-
private elementRef;
|
|
2617
|
-
private document;
|
|
2599
|
+
private readonly elementRef;
|
|
2600
|
+
private readonly document;
|
|
2618
2601
|
/**
|
|
2619
2602
|
* Defines a value that is going to be applied as a datepicker placeholder
|
|
2620
2603
|
*/
|
|
@@ -2675,12 +2658,11 @@ declare class KitDatepickerComponent implements ControlValueAccessor {
|
|
|
2675
2658
|
* An icon which will be used in a datepicker toggle button
|
|
2676
2659
|
*/
|
|
2677
2660
|
readonly calendarIcon: KitSvgIcon;
|
|
2678
|
-
constructor(elementRef: ElementRef, document: Document);
|
|
2679
2661
|
documentClick(event: Event): void;
|
|
2680
2662
|
onValueChange(value: Date): void;
|
|
2681
2663
|
onPopupToggle(): void;
|
|
2682
2664
|
onBlur(): void;
|
|
2683
|
-
onChange: (
|
|
2665
|
+
onChange: (_value: Date) => void;
|
|
2684
2666
|
onTouched: () => void;
|
|
2685
2667
|
writeValue(value: string): void;
|
|
2686
2668
|
registerOnChange(fn: (_: Date) => void): void;
|
|
@@ -2918,7 +2900,7 @@ declare class KitBreadcrumbsService {
|
|
|
2918
2900
|
private readonly translateService;
|
|
2919
2901
|
readonly breadcrumbs: WritableSignal<KitBreadcrumbsItem[]>;
|
|
2920
2902
|
private dataHandlers;
|
|
2921
|
-
constructor(
|
|
2903
|
+
constructor();
|
|
2922
2904
|
private initializeBreadcrumbs;
|
|
2923
2905
|
registerHandler(type: string, key: string, handler: (param: string) => string): void;
|
|
2924
2906
|
private updateBreadcrumbs;
|
|
@@ -2930,6 +2912,45 @@ declare class KitBreadcrumbsService {
|
|
|
2930
2912
|
static ɵprov: i0.ɵɵInjectableDeclaration<KitBreadcrumbsService>;
|
|
2931
2913
|
}
|
|
2932
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
|
+
|
|
2933
2954
|
declare class KitGridColumnComponent {
|
|
2934
2955
|
/**
|
|
2935
2956
|
* Defines the field to which the column is bound
|
|
@@ -2972,20 +2993,6 @@ declare enum KitGridSortSettingsMode {
|
|
|
2972
2993
|
MULTIPLE = "multiple"
|
|
2973
2994
|
}
|
|
2974
2995
|
|
|
2975
|
-
interface KitDataResult<T> {
|
|
2976
|
-
data: T[];
|
|
2977
|
-
total: number;
|
|
2978
|
-
}
|
|
2979
|
-
interface KitDataState {
|
|
2980
|
-
skip?: number;
|
|
2981
|
-
take?: number;
|
|
2982
|
-
sort?: KitSortDescriptor[];
|
|
2983
|
-
filter?: KitCompositeFilterDescriptor;
|
|
2984
|
-
}
|
|
2985
|
-
type KitCompositeFilterDescriptor = CompositeFilterDescriptor;
|
|
2986
|
-
type KitFilterDescriptor = FilterDescriptor;
|
|
2987
|
-
type KitSortDescriptor = SortDescriptor;
|
|
2988
|
-
|
|
2989
2996
|
interface KitGridSortSettings {
|
|
2990
2997
|
mode: KitGridSortSettingsMode;
|
|
2991
2998
|
}
|
|
@@ -3005,31 +3012,6 @@ interface KitPDFOptions extends PDFOptions {
|
|
|
3005
3012
|
paperSize?: PaperSize;
|
|
3006
3013
|
}
|
|
3007
3014
|
|
|
3008
|
-
declare enum KitSortDirection {
|
|
3009
|
-
ASC = "asc",
|
|
3010
|
-
DESC = "desc"
|
|
3011
|
-
}
|
|
3012
|
-
declare enum KitFilterLogic {
|
|
3013
|
-
AND = "and",
|
|
3014
|
-
OR = "or"
|
|
3015
|
-
}
|
|
3016
|
-
declare enum KitFilterOperator {
|
|
3017
|
-
EQ = "eq",
|
|
3018
|
-
NEQ = "neq",
|
|
3019
|
-
IS_NULL = "isnull",
|
|
3020
|
-
IS_NOT_NULL = "isnotnull",
|
|
3021
|
-
LT = "lt",
|
|
3022
|
-
LTE = "lte",
|
|
3023
|
-
GT = "gt",
|
|
3024
|
-
GTE = "gte",
|
|
3025
|
-
STARTS_WITH = "startswith",
|
|
3026
|
-
ENDS_WITH = "endswith",
|
|
3027
|
-
CONTAINS = "contains",
|
|
3028
|
-
DOES_NOT_CONTAIN = "doesnotcontain",
|
|
3029
|
-
IS_EMPTY = "isempty",
|
|
3030
|
-
IS_NOT_EMPTY = "isnotempty"
|
|
3031
|
-
}
|
|
3032
|
-
|
|
3033
3015
|
declare class KitGridComponent<T> {
|
|
3034
3016
|
private readonly translateService;
|
|
3035
3017
|
/**
|
|
@@ -3121,7 +3103,7 @@ declare class KitGridComponent<T> {
|
|
|
3121
3103
|
readonly kitSortDirection: typeof KitSortDirection;
|
|
3122
3104
|
readonly columns: WritableSignal<KitGridColumnComponent[] | undefined>;
|
|
3123
3105
|
expandedRows: T[];
|
|
3124
|
-
constructor(
|
|
3106
|
+
constructor();
|
|
3125
3107
|
onDataStateChange(event: KitGridDataStateChangeEvent): void;
|
|
3126
3108
|
onSortChange(event: KitSortDescriptor[]): void;
|
|
3127
3109
|
getSortingDirection(columnField: string): string | null;
|
|
@@ -3185,19 +3167,9 @@ declare class KitTileLayoutModule {
|
|
|
3185
3167
|
static ɵinj: i0.ɵɵInjectorDeclaration<KitTileLayoutModule>;
|
|
3186
3168
|
}
|
|
3187
3169
|
|
|
3188
|
-
declare
|
|
3189
|
-
|
|
3190
|
-
|
|
3191
|
-
buttonState?: KitButtonState;
|
|
3192
|
-
buttonIcon?: KitSvgIcon;
|
|
3193
|
-
tooltipText?: string;
|
|
3194
|
-
badgeCount?: number;
|
|
3195
|
-
propertyChanged?: EventEmitter<void>;
|
|
3196
|
-
sectionTemplate: TemplateRef<HTMLElement> | null;
|
|
3197
|
-
sectionContent: ElementRef | null;
|
|
3198
|
-
ngOnChanges(): void;
|
|
3199
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<KitScrollNavigationSectionComponent, never>;
|
|
3200
|
-
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"
|
|
3201
3173
|
}
|
|
3202
3174
|
|
|
3203
3175
|
interface KitCollapsedListItem {
|
|
@@ -3210,11 +3182,6 @@ interface KitCollapsedListItem {
|
|
|
3210
3182
|
badgeCount?: number;
|
|
3211
3183
|
}
|
|
3212
3184
|
|
|
3213
|
-
declare enum KitCollapsedListDropdownAlign {
|
|
3214
|
-
INLINE = "inline",
|
|
3215
|
-
END = "end"
|
|
3216
|
-
}
|
|
3217
|
-
|
|
3218
3185
|
declare class KitCollapsedListComponent<T extends KitCollapsedListItem> implements AfterViewInit, OnChanges, OnDestroy {
|
|
3219
3186
|
readonly itemList: InputSignal<T[]>;
|
|
3220
3187
|
readonly lineHeight: InputSignal<number>;
|
|
@@ -3228,7 +3195,7 @@ declare class KitCollapsedListComponent<T extends KitCollapsedListItem> implemen
|
|
|
3228
3195
|
readonly appendTo: InputSignal<PopupSettings['appendTo']>;
|
|
3229
3196
|
readonly alwaysShowDropdown: InputSignal<boolean>;
|
|
3230
3197
|
readonly dropdownAlign: InputSignal<KitCollapsedListDropdownAlign>;
|
|
3231
|
-
readonly
|
|
3198
|
+
readonly selectItem: OutputEmitterRef<T>;
|
|
3232
3199
|
readonly wrapper: Signal<ElementRef<HTMLElement>>;
|
|
3233
3200
|
readonly measureItem: Signal<readonly ElementRef<HTMLElement>[]>;
|
|
3234
3201
|
readonly dropdown: Signal<ElementRef<HTMLElement> | undefined>;
|
|
@@ -3255,10 +3222,25 @@ declare class KitCollapsedListComponent<T extends KitCollapsedListItem> implemen
|
|
|
3255
3222
|
private calculateResizeParams;
|
|
3256
3223
|
private setResizeParams;
|
|
3257
3224
|
static ɵfac: i0.ɵɵFactoryDeclaration<KitCollapsedListComponent<any>, never>;
|
|
3258
|
-
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>;
|
|
3259
3241
|
}
|
|
3260
3242
|
|
|
3261
|
-
declare class KitScrollNavigationComponent implements AfterViewInit {
|
|
3243
|
+
declare class KitScrollNavigationComponent implements AfterViewInit, OnInit {
|
|
3262
3244
|
private readonly activatedRoute;
|
|
3263
3245
|
readonly isNavigationBtnDisabled: InputSignal<boolean>;
|
|
3264
3246
|
readonly dropdownDefaultText: InputSignal<string>;
|
|
@@ -3278,7 +3260,7 @@ declare class KitScrollNavigationComponent implements AfterViewInit {
|
|
|
3278
3260
|
private hasScrolled;
|
|
3279
3261
|
private readonly firstRenderScrollElementId;
|
|
3280
3262
|
get currentVisibleItem(): KitCollapsedListItem | null;
|
|
3281
|
-
constructor(
|
|
3263
|
+
constructor();
|
|
3282
3264
|
ngOnInit(): void;
|
|
3283
3265
|
ngAfterViewInit(): void;
|
|
3284
3266
|
onSectionScroll(): void;
|
|
@@ -3492,6 +3474,13 @@ declare class KitSearchBarModule {
|
|
|
3492
3474
|
static ɵinj: i0.ɵɵInjectorDeclaration<KitSearchBarModule>;
|
|
3493
3475
|
}
|
|
3494
3476
|
|
|
3477
|
+
type KitUserPermissions = Record<string, string[]>;
|
|
3478
|
+
|
|
3479
|
+
interface KitPermission {
|
|
3480
|
+
category?: string;
|
|
3481
|
+
type?: string | string[];
|
|
3482
|
+
}
|
|
3483
|
+
|
|
3495
3484
|
interface KitFilterValue {
|
|
3496
3485
|
logic: KitFilterLogic;
|
|
3497
3486
|
filters: KitFilterDescriptor[];
|
|
@@ -3524,11 +3513,6 @@ interface KitFilterListConfigValue<T> {
|
|
|
3524
3513
|
}
|
|
3525
3514
|
type KitFilterListConfig = Record<string, KitFilterListConfigValue<string | boolean | number>>;
|
|
3526
3515
|
|
|
3527
|
-
interface KitPermission {
|
|
3528
|
-
category?: string;
|
|
3529
|
-
type?: string | string[];
|
|
3530
|
-
}
|
|
3531
|
-
|
|
3532
3516
|
interface GlobalSearchRouteConfig {
|
|
3533
3517
|
commands: string[];
|
|
3534
3518
|
extras?: NavigationExtras;
|
|
@@ -3582,8 +3566,6 @@ interface MatchResult {
|
|
|
3582
3566
|
translateKey: string;
|
|
3583
3567
|
}
|
|
3584
3568
|
|
|
3585
|
-
type KitUserPermissions = Record<string, string[]>;
|
|
3586
|
-
|
|
3587
3569
|
declare class KitGlobalSearchComponent implements OnInit {
|
|
3588
3570
|
private readonly router;
|
|
3589
3571
|
private readonly store;
|
|
@@ -3613,7 +3595,6 @@ declare class KitGlobalSearchComponent implements OnInit {
|
|
|
3613
3595
|
expandedFilters: Set<number>;
|
|
3614
3596
|
private isClearing;
|
|
3615
3597
|
documentClick(event: Event): void;
|
|
3616
|
-
constructor(router: Router, store: Store, datePipe: DatePipe);
|
|
3617
3598
|
ngOnInit(): void;
|
|
3618
3599
|
get isPopupOpen(): boolean;
|
|
3619
3600
|
get selectedFilters(): GlobalSearchSelectedFilter[];
|
|
@@ -3681,11 +3662,11 @@ declare class KitSortableComponent<T> {
|
|
|
3681
3662
|
activeItemClass?: string;
|
|
3682
3663
|
zone?: string;
|
|
3683
3664
|
emptyItemClass?: string;
|
|
3684
|
-
readonly
|
|
3665
|
+
readonly dragEnd: OutputEmitterRef<DataMoveEvent>;
|
|
3685
3666
|
readonly itemTemplate: Signal<TemplateRef<HTMLElement> | undefined>;
|
|
3686
3667
|
get columnsCount(): number | null;
|
|
3687
3668
|
static ɵfac: i0.ɵɵFactoryDeclaration<KitSortableComponent<any>, never>;
|
|
3688
|
-
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>;
|
|
3689
3670
|
}
|
|
3690
3671
|
|
|
3691
3672
|
declare const kitDataStateToODataString: (state: KitDataState, utcDates?: boolean) => string;
|
|
@@ -3711,7 +3692,7 @@ declare class KitPageLayoutComponent {
|
|
|
3711
3692
|
readonly hasMenuSelected: WritableSignal<boolean>;
|
|
3712
3693
|
readonly hasSidebar: WritableSignal<boolean>;
|
|
3713
3694
|
readonly hasTopBar: WritableSignal<boolean>;
|
|
3714
|
-
constructor(
|
|
3695
|
+
constructor();
|
|
3715
3696
|
get isMobile(): boolean;
|
|
3716
3697
|
static ɵfac: i0.ɵɵFactoryDeclaration<KitPageLayoutComponent, never>;
|
|
3717
3698
|
static ɵcmp: i0.ɵɵComponentDeclaration<KitPageLayoutComponent, "kit-page-layout", never, { "theme": { "alias": "theme"; "required": false; "isSignal": true; }; }, {}, never, ["[sidebar]", "[topBar]", "[content]"], true, never>;
|
|
@@ -3725,7 +3706,6 @@ declare const KIT_USER_PERMISSIONS_PATH: InjectionToken<string>;
|
|
|
3725
3706
|
|
|
3726
3707
|
declare class KitTranslateService {
|
|
3727
3708
|
private readonly translateService;
|
|
3728
|
-
constructor(translateService: TranslateService);
|
|
3729
3709
|
registerTranslations(): void;
|
|
3730
3710
|
static ɵfac: i0.ɵɵFactoryDeclaration<KitTranslateService, never>;
|
|
3731
3711
|
static ɵprov: i0.ɵɵInjectableDeclaration<KitTranslateService>;
|
|
@@ -3817,7 +3797,6 @@ declare const kitBuildSortString: (sort?: KitSortDescriptor[]) => string | undef
|
|
|
3817
3797
|
declare class KitGridUrlStateService {
|
|
3818
3798
|
private readonly activatedRoute;
|
|
3819
3799
|
private readonly router;
|
|
3820
|
-
constructor(activatedRoute: ActivatedRoute, router: Router);
|
|
3821
3800
|
getGridStateFromUrl(): KitGridDataState;
|
|
3822
3801
|
setGridStateToUrl(state: KitGridDataState): void;
|
|
3823
3802
|
static ɵfac: i0.ɵɵFactoryDeclaration<KitGridUrlStateService, never>;
|
|
@@ -3908,7 +3887,6 @@ declare class KitGridViewsComponent implements OnInit, OnDestroy {
|
|
|
3908
3887
|
readonly needToResetQueryParams: WritableSignal<boolean>;
|
|
3909
3888
|
readonly userPermissions: Signal<KitUserPermissions>;
|
|
3910
3889
|
readonly allowedSystemViews: Signal<KitGridView[]>;
|
|
3911
|
-
constructor(store: Store, activatedRoute: ActivatedRoute, router: Router, destroyRef: DestroyRef, titleCasePipe: TitleCasePipe, kitDialogService: KitDialogService, translateService: TranslateService, viewContainerRef: ViewContainerRef, kitGridUrlStateService: KitGridUrlStateService);
|
|
3912
3890
|
ngOnInit(): void;
|
|
3913
3891
|
ngOnDestroy(): void;
|
|
3914
3892
|
get isViewNameValid(): boolean;
|
|
@@ -3933,6 +3911,11 @@ declare class KitGridViewsComponent implements OnInit, OnDestroy {
|
|
|
3933
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>;
|
|
3934
3912
|
}
|
|
3935
3913
|
|
|
3914
|
+
interface SettingValue {
|
|
3915
|
+
value?: string;
|
|
3916
|
+
group: string | null;
|
|
3917
|
+
}
|
|
3918
|
+
|
|
3936
3919
|
declare class FetchGridViews extends AbstractPayloadAction<KitGridViewsFetchPayload> {
|
|
3937
3920
|
static readonly type: string;
|
|
3938
3921
|
}
|
|
@@ -3955,30 +3938,8 @@ declare class SetSelectedView extends AbstractPayloadAction<KitGridView> {
|
|
|
3955
3938
|
static readonly type: string;
|
|
3956
3939
|
}
|
|
3957
3940
|
|
|
3958
|
-
interface SettingView {
|
|
3959
|
-
key: string;
|
|
3960
|
-
value?: string;
|
|
3961
|
-
group: string | null;
|
|
3962
|
-
}
|
|
3963
|
-
interface SettingValue {
|
|
3964
|
-
value?: string;
|
|
3965
|
-
group: string | null;
|
|
3966
|
-
}
|
|
3967
|
-
|
|
3968
|
-
declare class KitSettingsApiService {
|
|
3969
|
-
private readonly httpClient;
|
|
3970
|
-
private readonly basePath;
|
|
3971
|
-
constructor(httpClient: HttpClient, basePath: string);
|
|
3972
|
-
getSettingsByGroup(group: string): Observable<SettingView[]>;
|
|
3973
|
-
setSettingByKey(key: string, settingValue: SettingValue): Observable<SettingValue>;
|
|
3974
|
-
deleteSettingByGroupAndKey(key: string, group: string): Observable<null>;
|
|
3975
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<KitSettingsApiService, never>;
|
|
3976
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<KitSettingsApiService>;
|
|
3977
|
-
}
|
|
3978
|
-
|
|
3979
3941
|
declare class KitGridViewsState {
|
|
3980
3942
|
private readonly settingsService;
|
|
3981
|
-
constructor(settingsService: KitSettingsApiService);
|
|
3982
3943
|
fetchGridViews(ctx: StateContext<ApiResponseState<KitViewsState>>, action: FetchGridViews): Observable<KitGridView[]>;
|
|
3983
3944
|
addGridView(ctx: StateContext<ApiResponseState<KitViewsState>>, action: AddGridView): Observable<SettingValue>;
|
|
3984
3945
|
removeGridView(ctx: StateContext<ApiResponseState<KitViewsState>>, action: RemoveGridView): Observable<null>;
|
|
@@ -4005,7 +3966,6 @@ declare class KitUserSettingsComponent {
|
|
|
4005
3966
|
readonly kitUserSettings: InputSignal<KitUserSettings[]>;
|
|
4006
3967
|
readonly theme: InputSignal<KitThemes>;
|
|
4007
3968
|
readonly userSettings$: Observable<Record<string, string>>;
|
|
4008
|
-
constructor(store: Store);
|
|
4009
3969
|
setUserSettingByKey(key: string, value: boolean): void;
|
|
4010
3970
|
static ɵfac: i0.ɵɵFactoryDeclaration<KitUserSettingsComponent, never>;
|
|
4011
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>;
|
|
@@ -4023,7 +3983,6 @@ declare class SetUserSettingByKey extends AbstractPayloadAction<{
|
|
|
4023
3983
|
|
|
4024
3984
|
declare class KitUserSettingsState {
|
|
4025
3985
|
private readonly settingsService;
|
|
4026
|
-
constructor(settingsService: KitSettingsApiService);
|
|
4027
3986
|
fetchUserSetting(ctx: StateContext<FetchUserSettings>): Observable<Record<string, string>>;
|
|
4028
3987
|
setSettingByKey(ctx: StateContext<SetUserSettingByKey>, action: SetUserSettingByKey): Observable<SettingValue>;
|
|
4029
3988
|
static getSettingByKey(key: string): (state: Record<string, string>) => string;
|
|
@@ -4055,7 +4014,6 @@ declare class KitGridFiltersComponent {
|
|
|
4055
4014
|
readonly kitFilterType: typeof KitFilterType;
|
|
4056
4015
|
readonly filters: Signal<KitFilterItem[]>;
|
|
4057
4016
|
readonly filterSelectorItems: Signal<KitFilterSelectorItem[]>;
|
|
4058
|
-
constructor(store: Store, kitGridUrlStateService: KitGridUrlStateService);
|
|
4059
4017
|
addFilter(item: KitFilterSelectorItem): void;
|
|
4060
4018
|
removeFilter(field: string): void;
|
|
4061
4019
|
applyFilter(filter: KitFilterItem, values: KitFilterValue): void;
|
|
@@ -4117,28 +4075,6 @@ declare enum GridExportOptions {
|
|
|
4117
4075
|
|
|
4118
4076
|
type KitKendoDrawPdf<T> = NonNullable<KitGridComponent<T>['gridComponent']>['drawPDF'];
|
|
4119
4077
|
|
|
4120
|
-
type KitGridCellDataItem = Record<string, string | number | null>;
|
|
4121
|
-
type KitGridCellTranslationMap = Record<string, (value: string) => string>;
|
|
4122
|
-
interface KitGridCellDateFormatConfig {
|
|
4123
|
-
dateFormat: string;
|
|
4124
|
-
dateTimeFormat: string;
|
|
4125
|
-
}
|
|
4126
|
-
declare const KIT_GRID_CELL_DATE_FORMAT_CONFIG: InjectionToken<KitGridCellDateFormatConfig>;
|
|
4127
|
-
|
|
4128
|
-
declare class KitGridCellService {
|
|
4129
|
-
private readonly translateService;
|
|
4130
|
-
private readonly decimalPipe;
|
|
4131
|
-
private readonly datePipe;
|
|
4132
|
-
private readonly dateFormatConfig?;
|
|
4133
|
-
readonly dateFormat: string;
|
|
4134
|
-
readonly dateTimeFormat: string;
|
|
4135
|
-
constructor(translateService: TranslateService, decimalPipe: DecimalPipe, datePipe: DatePipe, dateFormatConfig?: KitGridCellDateFormatConfig | undefined);
|
|
4136
|
-
createCellValue<T>(columnType: string, columnField: string, dataItem: T, translationMap?: KitGridCellTranslationMap, defaultValue?: string | number): string | number;
|
|
4137
|
-
private getNestedGridCellValue;
|
|
4138
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<KitGridCellService, [null, null, null, { optional: true; }]>;
|
|
4139
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<KitGridCellService>;
|
|
4140
|
-
}
|
|
4141
|
-
|
|
4142
4078
|
declare class KitGridExportComponent<T> {
|
|
4143
4079
|
private readonly translateService;
|
|
4144
4080
|
private readonly notificationService;
|
|
@@ -4161,7 +4097,6 @@ declare class KitGridExportComponent<T> {
|
|
|
4161
4097
|
readonly kitRadioButtonType: typeof KitRadioButtonType;
|
|
4162
4098
|
gridExportOptions: KitRadioButton<GridExportOptions>[];
|
|
4163
4099
|
isGridExporting: WritableSignal<boolean>;
|
|
4164
|
-
constructor(translateService: TranslateService, notificationService: KitNotificationService, gridCellService: KitGridCellService, store: Store);
|
|
4165
4100
|
get exportedColumns(): KitGridColumnConfig[];
|
|
4166
4101
|
onPopupToggle(): void;
|
|
4167
4102
|
onExport({ value }: KitRadioButton<GridExportOptions>): Promise<void>;
|
|
@@ -4178,6 +4113,14 @@ declare class KitGridExportComponent<T> {
|
|
|
4178
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>;
|
|
4179
4114
|
}
|
|
4180
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
|
+
|
|
4181
4124
|
declare class KitGridCellComponent {
|
|
4182
4125
|
column: KitGridColumn;
|
|
4183
4126
|
dataItem: KitGridCellDataItem;
|
|
@@ -4186,12 +4129,25 @@ declare class KitGridCellComponent {
|
|
|
4186
4129
|
static ɵcmp: i0.ɵɵComponentDeclaration<KitGridCellComponent, "kit-grid-cell", never, { "column": { "alias": "column"; "required": false; }; "dataItem": { "alias": "dataItem"; "required": false; }; }, {}, never, never, true, never>;
|
|
4187
4130
|
}
|
|
4188
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
|
+
|
|
4189
4146
|
declare class KitGridSearchComponent implements AfterViewInit {
|
|
4190
4147
|
private readonly store;
|
|
4191
4148
|
private readonly kitGridUrlStateService;
|
|
4192
4149
|
readonly kitSearchBarComponent: Signal<KitSearchBarComponent>;
|
|
4193
4150
|
readonly gridState$: Observable<KitGridDataState>;
|
|
4194
|
-
constructor(store: Store, kitGridUrlStateService: KitGridUrlStateService);
|
|
4195
4151
|
ngAfterViewInit(): void;
|
|
4196
4152
|
closeButtonClick(): void;
|
|
4197
4153
|
closeSearch(): void;
|
|
@@ -4211,7 +4167,6 @@ declare class KitGridColumnManagerComponent {
|
|
|
4211
4167
|
readonly kitButtonIconPosition: typeof KitButtonIconPosition;
|
|
4212
4168
|
readonly kitSvgIcon: typeof KitSvgIcon;
|
|
4213
4169
|
readonly hasUnsavedChanges: WritableSignal<boolean>;
|
|
4214
|
-
constructor(kitDialogService: KitDialogService, store: Store, translateService: TranslateService, viewContainerRef: ViewContainerRef);
|
|
4215
4170
|
openColumnsDialog(): void;
|
|
4216
4171
|
onColumnVisibilityChange(event: boolean, column: KitGridColumnConfig): void;
|
|
4217
4172
|
applyChanges(): void;
|
|
@@ -4277,7 +4232,7 @@ declare class KitEntityGridComponent<T> {
|
|
|
4277
4232
|
readonly kitButtonIconPosition: typeof KitButtonIconPosition;
|
|
4278
4233
|
readonly kitBadgeTheme: typeof KitBadgeTheme;
|
|
4279
4234
|
isExporting: WritableSignal<boolean>;
|
|
4280
|
-
constructor(
|
|
4235
|
+
constructor();
|
|
4281
4236
|
onPageSizeChanged(event: KitGridPageChangeEvent): void;
|
|
4282
4237
|
onFiltersToggle(): void;
|
|
4283
4238
|
onGridViewChange(): void;
|
|
@@ -4286,27 +4241,12 @@ declare class KitEntityGridComponent<T> {
|
|
|
4286
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>;
|
|
4287
4242
|
}
|
|
4288
4243
|
|
|
4289
|
-
interface KitMainMenuItem extends KitNavigationMenuItem {
|
|
4290
|
-
permission?: KitPermission;
|
|
4291
|
-
items?: KitMainMenuItem[];
|
|
4292
|
-
}
|
|
4293
|
-
|
|
4294
|
-
declare class KitMenuBuilderService {
|
|
4295
|
-
private readonly translateService;
|
|
4296
|
-
constructor(translateService: TranslateService);
|
|
4297
|
-
build(items: KitMainMenuItem[], permissions: KitUserPermissions): KitNavigationMenuItem[];
|
|
4298
|
-
private filter;
|
|
4299
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<KitMenuBuilderService, never>;
|
|
4300
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<KitMenuBuilderService>;
|
|
4301
|
-
}
|
|
4302
|
-
|
|
4303
4244
|
declare class KitSidebarComponent implements OnInit {
|
|
4304
4245
|
private readonly store;
|
|
4305
4246
|
private readonly kitMenuBuilderService;
|
|
4306
4247
|
readonly menuItems: InputSignal<KitNavigationMenuItem[]>;
|
|
4307
4248
|
readonly menuItems$: Observable<KitNavigationMenuItem[]>;
|
|
4308
4249
|
readonly appsMenuItems$: Observable<KitNavigationMenuAppItem[]>;
|
|
4309
|
-
constructor(store: Store, kitMenuBuilderService: KitMenuBuilderService);
|
|
4310
4250
|
ngOnInit(): void;
|
|
4311
4251
|
private fetchUserApplications;
|
|
4312
4252
|
static ɵfac: i0.ɵɵFactoryDeclaration<KitSidebarComponent, never>;
|
|
@@ -4323,12 +4263,16 @@ declare class KitTopBarComponent {
|
|
|
4323
4263
|
readonly kitButtonType: typeof KitButtonType;
|
|
4324
4264
|
readonly kitSvgIcon: typeof KitSvgIcon;
|
|
4325
4265
|
readonly collapsed: WritableSignal<boolean>;
|
|
4326
|
-
constructor(kitNavigationMenuService: KitNavigationMenuService);
|
|
4327
4266
|
toggleSidebar(collapsed: boolean): void;
|
|
4328
4267
|
static ɵfac: i0.ɵɵFactoryDeclaration<KitTopBarComponent, never>;
|
|
4329
4268
|
static ɵcmp: i0.ɵɵComponentDeclaration<KitTopBarComponent, "kit-top-bar", never, { "userMenuItems": { "alias": "userMenuItems"; "required": false; "isSignal": true; }; }, {}, never, ["[globalSearch]", "[topBarActions]"], true, never>;
|
|
4330
4269
|
}
|
|
4331
4270
|
|
|
4271
|
+
interface KitMainMenuItem extends KitNavigationMenuItem {
|
|
4272
|
+
permission?: KitPermission;
|
|
4273
|
+
items?: KitMainMenuItem[];
|
|
4274
|
+
}
|
|
4275
|
+
|
|
4332
4276
|
interface UserApplication {
|
|
4333
4277
|
name: string;
|
|
4334
4278
|
url: string | null;
|
|
@@ -4350,17 +4294,6 @@ interface CurrentUser {
|
|
|
4350
4294
|
}
|
|
4351
4295
|
type UserCompanyType = 'DC' | 'Client' | 'OriginAgent' | 'DestinationAgent' | 'Vendor' | 'Integration' | 'SystemAdmin' | 'ReportAdmin' | 'SS_SysAdmin' | 'SS_ReportAdmin';
|
|
4352
4296
|
|
|
4353
|
-
declare class KitUserApiService {
|
|
4354
|
-
private readonly httpClient;
|
|
4355
|
-
private readonly basePath;
|
|
4356
|
-
private readonly userPath;
|
|
4357
|
-
constructor(httpClient: HttpClient, basePath: string, userPath: string);
|
|
4358
|
-
getUserInfo(): Observable<CurrentUser>;
|
|
4359
|
-
getUserApplicationList(): Observable<UserApplications>;
|
|
4360
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<KitUserApiService, never>;
|
|
4361
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<KitUserApiService>;
|
|
4362
|
-
}
|
|
4363
|
-
|
|
4364
4297
|
interface KitUser {
|
|
4365
4298
|
data: CurrentUser | null;
|
|
4366
4299
|
loading: boolean;
|
|
@@ -4369,7 +4302,6 @@ interface KitUser {
|
|
|
4369
4302
|
declare const KIT_USER_STATE_TOKEN: StateToken<KitUser>;
|
|
4370
4303
|
declare class KitUserState {
|
|
4371
4304
|
private readonly kitUserApiService;
|
|
4372
|
-
constructor(kitUserApiService: KitUserApiService);
|
|
4373
4305
|
fetchUser(ctx: StateContext<ApiResponseState<CurrentUser>>): Observable<CurrentUser>;
|
|
4374
4306
|
static ɵfac: i0.ɵɵFactoryDeclaration<KitUserState, never>;
|
|
4375
4307
|
static ɵprov: i0.ɵɵInjectableDeclaration<KitUserState>;
|
|
@@ -4385,7 +4317,6 @@ declare class FetchUserApplications {
|
|
|
4385
4317
|
|
|
4386
4318
|
declare class KitUserApplicationsState {
|
|
4387
4319
|
private readonly kitUserApiService;
|
|
4388
|
-
constructor(kitUserApiService: KitUserApiService);
|
|
4389
4320
|
fetchUserApplications(ctx: StateContext<FetchUserApplications>): Observable<UserApplications>;
|
|
4390
4321
|
static ɵfac: i0.ɵɵFactoryDeclaration<KitUserApplicationsState, never>;
|
|
4391
4322
|
static ɵprov: i0.ɵɵInjectableDeclaration<KitUserApplicationsState>;
|
|
@@ -4395,20 +4326,9 @@ declare class FetchUserPermissions {
|
|
|
4395
4326
|
static readonly type: string;
|
|
4396
4327
|
}
|
|
4397
4328
|
|
|
4398
|
-
declare class KitPermissionsApiService {
|
|
4399
|
-
private readonly httpClient;
|
|
4400
|
-
private readonly basePath;
|
|
4401
|
-
private readonly userPermissionsPath;
|
|
4402
|
-
constructor(httpClient: HttpClient, basePath: string, userPermissionsPath: string);
|
|
4403
|
-
getUserPermissions(): Observable<KitUserPermissions>;
|
|
4404
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<KitPermissionsApiService, never>;
|
|
4405
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<KitPermissionsApiService>;
|
|
4406
|
-
}
|
|
4407
|
-
|
|
4408
4329
|
declare const KIT_USER_PERMISSIONS_STATE_TOKEN: StateToken<KitUserPermissions>;
|
|
4409
4330
|
declare class KitUserPermissionsState {
|
|
4410
4331
|
private readonly kitPermissionsApiService;
|
|
4411
|
-
constructor(kitPermissionsApiService: KitPermissionsApiService);
|
|
4412
4332
|
fetchUserPermissions(ctx: StateContext<FetchUserPermissions>): Observable<KitUserPermissions>;
|
|
4413
4333
|
static ɵfac: i0.ɵɵFactoryDeclaration<KitUserPermissionsState, never>;
|
|
4414
4334
|
static ɵprov: i0.ɵɵInjectableDeclaration<KitUserPermissionsState>;
|
|
@@ -4515,7 +4435,6 @@ declare class KitMobileMenuComponent {
|
|
|
4515
4435
|
readonly linkItem: Signal<HTMLDivElement>;
|
|
4516
4436
|
readonly navListFooter: Signal<HTMLDivElement | undefined>;
|
|
4517
4437
|
readonly kitSvgIcon: typeof KitSvgIcon;
|
|
4518
|
-
constructor(store: Store);
|
|
4519
4438
|
readonly selectedItem: () => KitMobileMenuItem | null;
|
|
4520
4439
|
setSelectedItem(item: KitMobileMenuItem | null): void;
|
|
4521
4440
|
static ɵfac: i0.ɵɵFactoryDeclaration<KitMobileMenuComponent, never>;
|
|
@@ -4543,7 +4462,6 @@ declare class KitMobileHeaderComponent {
|
|
|
4543
4462
|
readonly kitButtonType: typeof KitButtonType;
|
|
4544
4463
|
readonly kitSvgIconType: typeof KitSvgIconType;
|
|
4545
4464
|
readonly themes: typeof KitThemes;
|
|
4546
|
-
constructor(store: Store);
|
|
4547
4465
|
readonly selectedItem: () => KitMobileMenuItem | null;
|
|
4548
4466
|
setSelectedItem(item: KitMobileMenuItem | null): void;
|
|
4549
4467
|
static ɵfac: i0.ɵɵFactoryDeclaration<KitMobileHeaderComponent, never>;
|
|
@@ -4554,7 +4472,6 @@ declare class KitThemeService {
|
|
|
4554
4472
|
private readonly store;
|
|
4555
4473
|
private readonly useDarkThemeForMobile;
|
|
4556
4474
|
readonly theme: Signal<KitThemes>;
|
|
4557
|
-
constructor(store: Store);
|
|
4558
4475
|
static ɵfac: i0.ɵɵFactoryDeclaration<KitThemeService, never>;
|
|
4559
4476
|
static ɵprov: i0.ɵɵInjectableDeclaration<KitThemeService>;
|
|
4560
4477
|
}
|