@indigina/ui-kit 1.1.285 → 1.1.287
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/assets/icons/stop.svg +3 -0
- package/fesm2022/indigina-ui-kit.mjs +205 -57
- package/fesm2022/indigina-ui-kit.mjs.map +1 -1
- package/index.d.ts +99 -47
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { InputSignal, EventEmitter, Predicate, ChangeDetectorRef, TemplateRef, Signal,
|
|
3
|
-
import { ControlValueAccessor, AbstractControl, UntypedFormGroup } from '@angular/forms';
|
|
2
|
+
import { InputSignal, EventEmitter, Predicate, ChangeDetectorRef, TemplateRef, Signal, OnInit, OnDestroy, OutputEmitterRef, WritableSignal, OnChanges, ModuleWithProviders, ModelSignal, SimpleChanges, ElementRef, AfterContentInit, QueryList, AfterViewInit, ViewContainerRef, PipeTransform, InjectionToken } from '@angular/core';
|
|
3
|
+
import { ControlValueAccessor, ValidatorFn, FormControl, AbstractControl, UntypedFormGroup } from '@angular/forms';
|
|
4
4
|
import { TextBoxComponent } from '@progress/kendo-angular-inputs';
|
|
5
5
|
import { PopupSettings, DropDownListComponent, ItemDisabledFn, MultiSelectComponent } from '@progress/kendo-angular-dropdowns';
|
|
6
6
|
import { DateTimePickerComponent, DateRangePopupComponent, DatePickerComponent } from '@progress/kendo-angular-dateinputs';
|
|
@@ -12,7 +12,7 @@ import { FileInfo } from '@progress/kendo-angular-upload';
|
|
|
12
12
|
import { BehaviorSubject, Observable } from 'rxjs';
|
|
13
13
|
import { PopupSettings as PopupSettings$1 } from '@progress/kendo-angular-popup';
|
|
14
14
|
import { SelectEvent } from '@progress/kendo-angular-layout';
|
|
15
|
-
import { PageChangeEvent, DetailExpandEvent, DetailCollapseEvent, CellClickEvent, ExcelExportEvent, GridComponent,
|
|
15
|
+
import { RowClassArgs, PageChangeEvent, DetailExpandEvent, DetailCollapseEvent, CellClickEvent, ExcelExportEvent, GridComponent, PagerSettings } from '@progress/kendo-angular-grid';
|
|
16
16
|
import { SortDescriptor, FilterDescriptor, CompositeFilterDescriptor } from '@progress/kendo-data-query';
|
|
17
17
|
import { PDFOptions, PaperSize } from '@progress/kendo-drawing/dist/npm/pdf';
|
|
18
18
|
import { NavigationExtras, CanActivateFn } from '@angular/router';
|
|
@@ -184,7 +184,8 @@ declare enum KitSvgIcon {
|
|
|
184
184
|
INVENTORY = "inventory",
|
|
185
185
|
LOGO_DARK_THEME = "logo-dark-theme",
|
|
186
186
|
FILE_BARCODE = "file-barcode",
|
|
187
|
-
BACKSPACE = "backspace"
|
|
187
|
+
BACKSPACE = "backspace",
|
|
188
|
+
STOP = "stop"
|
|
188
189
|
}
|
|
189
190
|
declare enum KitSvgIconType {
|
|
190
191
|
FILL = "fill",
|
|
@@ -482,6 +483,41 @@ declare class KitTextboxComponent implements ControlValueAccessor {
|
|
|
482
483
|
static ɵcmp: i0.ɵɵComponentDeclaration<KitTextboxComponent, "kit-textbox", never, { "placeholder": { "alias": "placeholder"; "required": false; }; "label": { "alias": "label"; "required": false; }; "labelTooltip": { "alias": "labelTooltip"; "required": false; }; "defaultValue": { "alias": "defaultValue"; "required": false; }; "messageIcon": { "alias": "messageIcon"; "required": false; }; "messageText": { "alias": "messageText"; "required": false; }; "messageTemplate": { "alias": "messageTemplate"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "maxlength": { "alias": "maxlength"; "required": false; }; "state": { "alias": "state"; "required": false; }; "size": { "alias": "size"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "clearButton": { "alias": "clearButton"; "required": false; }; "showStateIcon": { "alias": "showStateIcon"; "required": false; }; }, { "blured": "blured"; "focused": "focused"; "changed": "changed"; }, never, never, true, never>;
|
|
483
484
|
}
|
|
484
485
|
|
|
486
|
+
declare class KitTextboxActionsComponent implements OnInit, OnDestroy {
|
|
487
|
+
private readonly elementRef;
|
|
488
|
+
private readonly injector;
|
|
489
|
+
readonly defaultValue: InputSignal<string>;
|
|
490
|
+
readonly placeholder: InputSignal<string>;
|
|
491
|
+
readonly label: InputSignal<string>;
|
|
492
|
+
readonly validators: InputSignal<ValidatorFn[]>;
|
|
493
|
+
readonly showActions: InputSignal<boolean>;
|
|
494
|
+
readonly saved: OutputEmitterRef<string>;
|
|
495
|
+
readonly canceled: OutputEmitterRef<void>;
|
|
496
|
+
readonly kitTextboxComponent: Signal<KitTextboxComponent>;
|
|
497
|
+
readonly kitSvgIcon: typeof KitSvgIcon;
|
|
498
|
+
readonly kitSvgIconType: typeof KitSvgIconType;
|
|
499
|
+
readonly kitButtonType: typeof KitButtonType;
|
|
500
|
+
readonly kitTextboxState: typeof KitTextboxState;
|
|
501
|
+
readonly isTextboxFocused: WritableSignal<boolean>;
|
|
502
|
+
readonly formControl: FormControl;
|
|
503
|
+
readonly validationErrors: WritableSignal<string[]>;
|
|
504
|
+
private documentClickListener;
|
|
505
|
+
constructor();
|
|
506
|
+
ngOnInit(): void;
|
|
507
|
+
ngOnDestroy(): void;
|
|
508
|
+
updateValidationErrors(): void;
|
|
509
|
+
onTextboxChange(value: string): void;
|
|
510
|
+
revertChanges(): void;
|
|
511
|
+
save(): void;
|
|
512
|
+
private addDocumentClickListener;
|
|
513
|
+
private removeDocumentClickListener;
|
|
514
|
+
private documentClick;
|
|
515
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KitTextboxActionsComponent, never>;
|
|
516
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<KitTextboxActionsComponent, "kit-textbox-actions", never, { "defaultValue": { "alias": "defaultValue"; "required": false; "isSignal": true; }; "placeholder": { "alias": "placeholder"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; "validators": { "alias": "validators"; "required": false; "isSignal": true; }; "showActions": { "alias": "showActions"; "required": false; "isSignal": true; }; }, { "saved": "saved"; "canceled": "canceled"; }, never, never, true, never>;
|
|
517
|
+
}
|
|
518
|
+
|
|
519
|
+
declare const kitGetFormControlErrors: (formControl: FormControl | AbstractControl | null) => string[];
|
|
520
|
+
|
|
485
521
|
declare enum KitNumericTextboxState {
|
|
486
522
|
DEFAULT = "default",
|
|
487
523
|
WARNING = "warning",
|
|
@@ -2792,6 +2828,7 @@ interface KitPDFOptions extends PDFOptions {
|
|
|
2792
2828
|
scale?: number;
|
|
2793
2829
|
paperSize?: PaperSize;
|
|
2794
2830
|
}
|
|
2831
|
+
type KitGridRowClassArgs = RowClassArgs;
|
|
2795
2832
|
|
|
2796
2833
|
declare class KitGridComponent<T> {
|
|
2797
2834
|
private readonly translateService;
|
|
@@ -2839,10 +2876,6 @@ declare class KitGridComponent<T> {
|
|
|
2839
2876
|
* Flag to show or hide the footer row
|
|
2840
2877
|
*/
|
|
2841
2878
|
showFooter: boolean;
|
|
2842
|
-
/**
|
|
2843
|
-
* Set rows CSS classes
|
|
2844
|
-
*/
|
|
2845
|
-
rowClass: Record<string, boolean>;
|
|
2846
2879
|
/**
|
|
2847
2880
|
* Title to display in the first column of the footer row
|
|
2848
2881
|
*/
|
|
@@ -2857,6 +2890,7 @@ declare class KitGridComponent<T> {
|
|
|
2857
2890
|
readonly pagerInfoText: InputSignal<string>;
|
|
2858
2891
|
readonly resizable: InputSignal<boolean>;
|
|
2859
2892
|
readonly gridDetailTemplate: InputSignal<TemplateRef<HTMLElement> | undefined>;
|
|
2893
|
+
readonly rowClassFn: InputSignal<((context: KitGridRowClassArgs) => Record<string, boolean>) | undefined>;
|
|
2860
2894
|
/**
|
|
2861
2895
|
* An action which is emitted when the page of the grid is changed
|
|
2862
2896
|
*/
|
|
@@ -2897,14 +2931,14 @@ declare class KitGridComponent<T> {
|
|
|
2897
2931
|
onDetailCollapse(event: KitGridDetailCollapseEvent): void;
|
|
2898
2932
|
onPageChange(event: KitGridPageChangeEvent): void;
|
|
2899
2933
|
onCellClick(event: KitGridCellClickEvent): void;
|
|
2900
|
-
getCssRowClass: (context:
|
|
2934
|
+
getCssRowClass: (context: KitGridRowClassArgs) => Record<string, boolean>;
|
|
2901
2935
|
getPagerSettings(): boolean | PagerSettings;
|
|
2902
2936
|
saveAsPDF(): void;
|
|
2903
2937
|
saveAsExcel(): void;
|
|
2904
2938
|
private collapseAllRows;
|
|
2905
2939
|
private getPageSizes;
|
|
2906
2940
|
static ɵfac: i0.ɵɵFactoryDeclaration<KitGridComponent<any>, never>;
|
|
2907
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<KitGridComponent<any>, "kit-grid", never, { "data": { "alias": "data"; "required": false; }; "gridDataBinding": { "alias": "gridDataBinding"; "required": false; }; "sortable": { "alias": "sortable"; "required": false; }; "sort": { "alias": "sort"; "required": false; }; "pageable": { "alias": "pageable"; "required": false; }; "pageSize": { "alias": "pageSize"; "required": false; }; "skip": { "alias": "skip"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; "detailTemplateShowIf": { "alias": "detailTemplateShowIf"; "required": false; }; "detailTemplateExpandDisableIf": { "alias": "detailTemplateExpandDisableIf"; "required": false; }; "showFooter": { "alias": "showFooter"; "required": false; }; "
|
|
2941
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<KitGridComponent<any>, "kit-grid", never, { "data": { "alias": "data"; "required": false; }; "gridDataBinding": { "alias": "gridDataBinding"; "required": false; }; "sortable": { "alias": "sortable"; "required": false; }; "sort": { "alias": "sort"; "required": false; }; "pageable": { "alias": "pageable"; "required": false; }; "pageSize": { "alias": "pageSize"; "required": false; }; "skip": { "alias": "skip"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; "detailTemplateShowIf": { "alias": "detailTemplateShowIf"; "required": false; }; "detailTemplateExpandDisableIf": { "alias": "detailTemplateExpandDisableIf"; "required": false; }; "showFooter": { "alias": "showFooter"; "required": false; }; "footerTitle": { "alias": "footerTitle"; "required": false; }; "footerData": { "alias": "footerData"; "required": false; }; "pdfOptions": { "alias": "pdfOptions"; "required": false; }; "pagerButtonCount": { "alias": "pagerButtonCount"; "required": false; "isSignal": true; }; "pageSizes": { "alias": "pageSizes"; "required": false; "isSignal": true; }; "pagerInfoText": { "alias": "pagerInfoText"; "required": false; "isSignal": true; }; "resizable": { "alias": "resizable"; "required": false; "isSignal": true; }; "gridDetailTemplate": { "alias": "gridDetailTemplate"; "required": false; "isSignal": true; }; "rowClassFn": { "alias": "rowClassFn"; "required": false; "isSignal": true; }; }, { "pageChanged": "pageChanged"; "sortChanged": "sortChanged"; "dataStateChanged": "dataStateChanged"; "detailExpanded": "detailExpanded"; "detailCollapsed": "detailCollapsed"; "cellClicked": "cellClicked"; "excelExport": "excelExport"; }, ["columnsContent"], never, true, never>;
|
|
2908
2942
|
}
|
|
2909
2943
|
|
|
2910
2944
|
declare class KitGridCellTemplateDirective {
|
|
@@ -3480,7 +3514,7 @@ declare class KitTranslateService {
|
|
|
3480
3514
|
|
|
3481
3515
|
declare const kitTranslations: Record<string, InterpolatableTranslationObject>;
|
|
3482
3516
|
|
|
3483
|
-
declare abstract class
|
|
3517
|
+
declare abstract class KitAbstractPayloadAction<T> {
|
|
3484
3518
|
readonly payload: T;
|
|
3485
3519
|
constructor(payload: T);
|
|
3486
3520
|
}
|
|
@@ -3505,31 +3539,31 @@ interface KitGridDataState {
|
|
|
3505
3539
|
search?: string;
|
|
3506
3540
|
}
|
|
3507
3541
|
|
|
3508
|
-
declare class SetGridSkip extends
|
|
3542
|
+
declare class SetGridSkip extends KitAbstractPayloadAction<number> {
|
|
3509
3543
|
static readonly type: string;
|
|
3510
3544
|
}
|
|
3511
|
-
declare class SetGridTake extends
|
|
3545
|
+
declare class SetGridTake extends KitAbstractPayloadAction<number> {
|
|
3512
3546
|
static readonly type: string;
|
|
3513
3547
|
}
|
|
3514
|
-
declare class SetGridSearch extends
|
|
3548
|
+
declare class SetGridSearch extends KitAbstractPayloadAction<string | undefined> {
|
|
3515
3549
|
static readonly type: string;
|
|
3516
3550
|
}
|
|
3517
|
-
declare class SetGridSort extends
|
|
3551
|
+
declare class SetGridSort extends KitAbstractPayloadAction<KitSortDescriptor[]> {
|
|
3518
3552
|
static readonly type: string;
|
|
3519
3553
|
}
|
|
3520
|
-
declare class SetGridColumns extends
|
|
3554
|
+
declare class SetGridColumns extends KitAbstractPayloadAction<KitGridColumnConfig[]> {
|
|
3521
3555
|
static readonly type: string;
|
|
3522
3556
|
}
|
|
3523
|
-
declare class AddGridFilter extends
|
|
3557
|
+
declare class AddGridFilter extends KitAbstractPayloadAction<KitFilterItem> {
|
|
3524
3558
|
static readonly type: string;
|
|
3525
3559
|
}
|
|
3526
|
-
declare class RemoveGridFilter extends
|
|
3560
|
+
declare class RemoveGridFilter extends KitAbstractPayloadAction<string> {
|
|
3527
3561
|
static readonly type: string;
|
|
3528
3562
|
}
|
|
3529
|
-
declare class UpdateGridFilter extends
|
|
3563
|
+
declare class UpdateGridFilter extends KitAbstractPayloadAction<KitFilterItem> {
|
|
3530
3564
|
static readonly type: string;
|
|
3531
3565
|
}
|
|
3532
|
-
declare class SetGridFilters extends
|
|
3566
|
+
declare class SetGridFilters extends KitAbstractPayloadAction<KitFilterItem[]> {
|
|
3533
3567
|
static readonly type: string;
|
|
3534
3568
|
}
|
|
3535
3569
|
|
|
@@ -3572,7 +3606,7 @@ declare class KitGridUrlStateService {
|
|
|
3572
3606
|
static ɵprov: i0.ɵɵInjectableDeclaration<KitGridUrlStateService>;
|
|
3573
3607
|
}
|
|
3574
3608
|
|
|
3575
|
-
interface
|
|
3609
|
+
interface KitApiResponseState<T> {
|
|
3576
3610
|
loading: boolean;
|
|
3577
3611
|
data: T;
|
|
3578
3612
|
total?: number;
|
|
@@ -3622,7 +3656,6 @@ declare class KitGridViewsComponent implements OnInit, OnDestroy {
|
|
|
3622
3656
|
private readonly titleCasePipe;
|
|
3623
3657
|
private readonly kitDialogService;
|
|
3624
3658
|
private readonly translateService;
|
|
3625
|
-
private readonly viewContainerRef;
|
|
3626
3659
|
private readonly kitGridUrlStateService;
|
|
3627
3660
|
readonly viewGroup: InputSignal<string>;
|
|
3628
3661
|
readonly viewConfigGroup: InputSignal<string>;
|
|
@@ -3636,7 +3669,7 @@ declare class KitGridViewsComponent implements OnInit, OnDestroy {
|
|
|
3636
3669
|
readonly createNewViewPopup: Signal<KitPopupComponent | undefined>;
|
|
3637
3670
|
readonly isViewSaving: WritableSignal<boolean>;
|
|
3638
3671
|
readonly createNewViewName: WritableSignal<string>;
|
|
3639
|
-
readonly viewsState$: Observable<
|
|
3672
|
+
readonly viewsState$: Observable<KitApiResponseState<KitViewsState>>;
|
|
3640
3673
|
readonly views$: Observable<KitGridView[]>;
|
|
3641
3674
|
readonly views: Signal<KitGridView[]>;
|
|
3642
3675
|
readonly collapsedListItems: WritableSignal<KitGridViewListItem[]>;
|
|
@@ -3685,40 +3718,40 @@ interface SettingValue {
|
|
|
3685
3718
|
group: string | null;
|
|
3686
3719
|
}
|
|
3687
3720
|
|
|
3688
|
-
declare class FetchGridViews extends
|
|
3721
|
+
declare class FetchGridViews extends KitAbstractPayloadAction<KitGridViewsFetchPayload> {
|
|
3689
3722
|
static readonly type: string;
|
|
3690
3723
|
}
|
|
3691
|
-
declare class AddGridView extends
|
|
3724
|
+
declare class AddGridView extends KitAbstractPayloadAction<KitGridView> {
|
|
3692
3725
|
static readonly type: string;
|
|
3693
3726
|
}
|
|
3694
|
-
declare class RemoveGridView extends
|
|
3727
|
+
declare class RemoveGridView extends KitAbstractPayloadAction<KitGridView> {
|
|
3695
3728
|
static readonly type: string;
|
|
3696
3729
|
}
|
|
3697
|
-
declare class SetGridViews extends
|
|
3730
|
+
declare class SetGridViews extends KitAbstractPayloadAction<KitGridView[]> {
|
|
3698
3731
|
static readonly type: string;
|
|
3699
3732
|
}
|
|
3700
|
-
declare class FetchGridViewsConfig extends
|
|
3733
|
+
declare class FetchGridViewsConfig extends KitAbstractPayloadAction<string> {
|
|
3701
3734
|
static readonly type: string;
|
|
3702
3735
|
}
|
|
3703
|
-
declare class UpdateGridViewsConfig extends
|
|
3736
|
+
declare class UpdateGridViewsConfig extends KitAbstractPayloadAction<KitGridView> {
|
|
3704
3737
|
static readonly type: string;
|
|
3705
3738
|
}
|
|
3706
|
-
declare class SetSelectedView extends
|
|
3739
|
+
declare class SetSelectedView extends KitAbstractPayloadAction<KitGridView> {
|
|
3707
3740
|
static readonly type: string;
|
|
3708
3741
|
}
|
|
3709
3742
|
|
|
3710
3743
|
declare class KitGridViewsState {
|
|
3711
3744
|
private readonly settingsService;
|
|
3712
|
-
fetchGridViews(ctx: StateContext<
|
|
3713
|
-
addGridView(ctx: StateContext<
|
|
3714
|
-
removeGridView(ctx: StateContext<
|
|
3715
|
-
setGridViews(ctx: StateContext<
|
|
3716
|
-
fetchGridViewsConfig(ctx: StateContext<
|
|
3717
|
-
updateGridViewsConfig(ctx: StateContext<
|
|
3718
|
-
setSelectedView(ctx: StateContext<
|
|
3719
|
-
static getViews(): (gridViewsState:
|
|
3745
|
+
fetchGridViews(ctx: StateContext<KitApiResponseState<KitViewsState>>, action: FetchGridViews): Observable<KitGridView[]>;
|
|
3746
|
+
addGridView(ctx: StateContext<KitApiResponseState<KitViewsState>>, action: AddGridView): Observable<SettingValue>;
|
|
3747
|
+
removeGridView(ctx: StateContext<KitApiResponseState<KitViewsState>>, action: RemoveGridView): Observable<null>;
|
|
3748
|
+
setGridViews(ctx: StateContext<KitApiResponseState<KitViewsState>>, action: SetGridViews): Observable<KitGridView[]>;
|
|
3749
|
+
fetchGridViewsConfig(ctx: StateContext<KitApiResponseState<KitViewsState>>, action: FetchGridViewsConfig): Observable<KitGridView[]>;
|
|
3750
|
+
updateGridViewsConfig(ctx: StateContext<KitApiResponseState<KitViewsState>>, action: UpdateGridViewsConfig): Observable<SettingValue>;
|
|
3751
|
+
setSelectedView(ctx: StateContext<KitApiResponseState<KitViewsState>>, action: SetSelectedView): Observable<KitGridView>;
|
|
3752
|
+
static getViews(): (gridViewsState: KitApiResponseState<KitViewsState>) => KitGridView[];
|
|
3720
3753
|
private hasUserView;
|
|
3721
|
-
static selectedView(state:
|
|
3754
|
+
static selectedView(state: KitApiResponseState<KitViewsState>): KitGridView | null;
|
|
3722
3755
|
static ɵfac: i0.ɵɵFactoryDeclaration<KitGridViewsState, never>;
|
|
3723
3756
|
static ɵprov: i0.ɵɵInjectableDeclaration<KitGridViewsState>;
|
|
3724
3757
|
}
|
|
@@ -3743,7 +3776,7 @@ declare class KitUserSettingsComponent {
|
|
|
3743
3776
|
declare class FetchUserSettings {
|
|
3744
3777
|
static readonly type: string;
|
|
3745
3778
|
}
|
|
3746
|
-
declare class SetUserSettingByKey extends
|
|
3779
|
+
declare class SetUserSettingByKey extends KitAbstractPayloadAction<{
|
|
3747
3780
|
key: string;
|
|
3748
3781
|
value: string;
|
|
3749
3782
|
}> {
|
|
@@ -3985,7 +4018,7 @@ declare class KitEntityGridComponent<T> {
|
|
|
3985
4018
|
readonly showBreadcrumbs: InputSignal<boolean>;
|
|
3986
4019
|
readonly pageSizes: InputSignal<boolean | number[] | undefined>;
|
|
3987
4020
|
readonly gridViewChanged: OutputEmitterRef<void>;
|
|
3988
|
-
readonly
|
|
4021
|
+
readonly rowClassFn: InputSignal<((context: KitGridRowClassArgs) => Record<string, boolean>) | undefined>;
|
|
3989
4022
|
readonly searchIsOpen: WritableSignal<boolean>;
|
|
3990
4023
|
readonly kitGridComponent: Signal<KitGridComponent<T> | undefined>;
|
|
3991
4024
|
readonly gridExportComponent: Signal<KitGridExportComponent<T> | undefined>;
|
|
@@ -4011,7 +4044,7 @@ declare class KitEntityGridComponent<T> {
|
|
|
4011
4044
|
onGridViewChange(): void;
|
|
4012
4045
|
onDataStateChange(event: KitGridDataStateChangeEvent): void;
|
|
4013
4046
|
static ɵfac: i0.ɵɵFactoryDeclaration<KitEntityGridComponent<any>, never>;
|
|
4014
|
-
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; }; "
|
|
4047
|
+
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; }; "rowClassFn": { "alias": "rowClassFn"; "required": false; "isSignal": true; }; }, { "gridViewChanged": "gridViewChanged"; }, ["columns", "gridDetailTemplate"], ["[filters]", "[post-header-content]", "[actions]"], true, never>;
|
|
4015
4048
|
}
|
|
4016
4049
|
|
|
4017
4050
|
declare class KitSidebarComponent implements OnInit {
|
|
@@ -4081,7 +4114,7 @@ interface KitUser {
|
|
|
4081
4114
|
declare const KIT_USER_STATE_TOKEN: StateToken<KitUser>;
|
|
4082
4115
|
declare class KitUserState {
|
|
4083
4116
|
private readonly kitUserApiService;
|
|
4084
|
-
fetchUser(ctx: StateContext<
|
|
4117
|
+
fetchUser(ctx: StateContext<KitApiResponseState<KitCurrentUser>>): Observable<KitCurrentUser>;
|
|
4085
4118
|
static ɵfac: i0.ɵɵFactoryDeclaration<KitUserState, never>;
|
|
4086
4119
|
static ɵprov: i0.ɵɵInjectableDeclaration<KitUserState>;
|
|
4087
4120
|
}
|
|
@@ -4220,7 +4253,7 @@ declare class KitMobileMenuComponent {
|
|
|
4220
4253
|
static ɵcmp: i0.ɵɵComponentDeclaration<KitMobileMenuComponent, "kit-mobile-menu", never, { "kitMobileMenuItems": { "alias": "kitMobileMenuItems"; "required": true; "isSignal": true; }; "theme": { "alias": "theme"; "required": false; "isSignal": true; }; }, {}, ["categoryItem", "linkItem", "navListFooter"], never, true, never>;
|
|
4221
4254
|
}
|
|
4222
4255
|
|
|
4223
|
-
declare class SetSelectedMobileMenuItem extends
|
|
4256
|
+
declare class SetSelectedMobileMenuItem extends KitAbstractPayloadAction<KitMobileMenuItem | null> {
|
|
4224
4257
|
static readonly type: string;
|
|
4225
4258
|
}
|
|
4226
4259
|
|
|
@@ -4286,7 +4319,7 @@ declare class KitStatusLabelComponent {
|
|
|
4286
4319
|
declare class FetchUserIdentities {
|
|
4287
4320
|
static readonly type: string;
|
|
4288
4321
|
}
|
|
4289
|
-
declare class SetUserIdentity extends
|
|
4322
|
+
declare class SetUserIdentity extends KitAbstractPayloadAction<number> {
|
|
4290
4323
|
static readonly type: string;
|
|
4291
4324
|
}
|
|
4292
4325
|
|
|
@@ -4446,5 +4479,24 @@ declare const kitExportExcel: <T>(data: T[], exportedColumns: KitGridColumnConfi
|
|
|
4446
4479
|
|
|
4447
4480
|
declare const kitFormatStringForSearch: (inputString: string) => string;
|
|
4448
4481
|
|
|
4449
|
-
|
|
4450
|
-
|
|
4482
|
+
declare const kitApiResponseDefaultEntities: <T>() => KitApiResponseState<T>;
|
|
4483
|
+
|
|
4484
|
+
declare abstract class KitAbstractIdPayloadAction<T> {
|
|
4485
|
+
readonly id: string;
|
|
4486
|
+
readonly payload: T;
|
|
4487
|
+
constructor(id: string, payload: T);
|
|
4488
|
+
}
|
|
4489
|
+
|
|
4490
|
+
declare class KitSkeletonGridComponent {
|
|
4491
|
+
readonly itemsCount: InputSignal<number>;
|
|
4492
|
+
readonly childItems: number[];
|
|
4493
|
+
get items(): number[];
|
|
4494
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KitSkeletonGridComponent, never>;
|
|
4495
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<KitSkeletonGridComponent, "kit-skeleton-grid", never, { "itemsCount": { "alias": "itemsCount"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
4496
|
+
}
|
|
4497
|
+
|
|
4498
|
+
declare const KIT_GRID_COLUMN_WIDTH: number;
|
|
4499
|
+
declare const KIT_GRID_PAGE_SIZE: number;
|
|
4500
|
+
|
|
4501
|
+
export { AbstractKitCtaPanelConfirmationComponent, AddGridFilter, FetchUser, FetchUserIdentities, FetchUserPermissions, FetchUserSettings, HighlightPipe, KIT_BASE_PATH, KIT_DATETIME_FORMAT_LONG, KIT_DATE_FORMAT, KIT_GRID_CELL_DATE_FORMAT_CONFIG, KIT_GRID_COLUMN_WIDTH, KIT_GRID_PAGE_SIZE, KIT_GRID_STATE_TOKEN, KIT_USER_APPLICATIONS_PATH, KIT_USER_IDENTITIES_STATE_TOKEN, KIT_USER_PATH, KIT_USER_PERMISSIONS_PATH, KIT_USER_PERMISSIONS_STATE_TOKEN, KIT_USER_STATE_TOKEN, KitAbstractIdPayloadAction, KitAbstractPayloadAction, KitAccountService, KitAutocompleteComponent, KitAutocompleteDirective, KitAvatarComponent, KitAvatarSize, KitBadgeDirective, KitBadgeTheme, KitBreadcrumbsComponent, KitBreadcrumbsService, KitButtonComponent, KitButtonIconPosition, KitButtonKind, KitButtonState, KitButtonType, KitCardComponent, KitCardDetailsComponent, KitCardTheme, KitCheckboxComponent, KitCheckboxState, KitCollapsedListComponent, KitCollapsedListDropdownAlign, KitCopyTextComponent, KitCtaPanelAbstractConfirmationComponent, KitCtaPanelActionComponent, KitCtaPanelConfirmationComponent, KitCtaPanelItemComponent, KitCtaPanelItemType, KitDataFieldComponent, KitDataFieldState, KitDatepickerComponent, KitDatepickerSize, KitDaterangeComponent, KitDaterangeType, KitDatetimepickerComponent, KitDialogActionsComponent, KitDialogComponent, KitDialogService, KitDialogTitlebarComponent, KitDialogType, KitDropdownComponent, KitDropdownItemTemplateDirective, KitDropdownSize, KitEmptySectionComponent, KitEntityGridComponent, KitEntitySectionComponent, KitEntitySectionContainerComponent, KitEntityTitleComponent, KitFileCardComponent, KitFileCardMessagesComponent, KitFileUploadComponent, KitFilterCheckboxComponent, KitFilterLogic, KitFilterOperator, KitFilterType, KitForbiddenComponent, KitGlobalSearchComponent, KitGridCellComponent, KitGridCellService, KitGridCellTemplateDirective, KitGridColumnComponent, KitGridColumnManagerComponent, KitGridComponent, KitGridDetailTemplateDirective, KitGridDetailsButtonComponent, KitGridExportComponent, KitGridFiltersComponent, KitGridSearchComponent, KitGridSortSettingsMode, KitGridState, KitGridUrlStateService, KitGridViewType, KitGridViewsComponent, KitGridViewsState, KitInputLabelComponent, KitInputMessageComponent, KitListComponent, KitLoaderComponent, KitLocationStepperComponent, KitMobileHeaderComponent, KitMobileMenuComponent, KitMobileMenuState, KitMultiselectComponent, KitNavigationMenuComponent, KitNavigationMenuService, KitNavigationMenuSubmenuComponent, KitNavigationTabsComponent, KitNavigationTabsType, KitNotFoundComponent, KitNoteComponent, KitNotificationComponent, KitNotificationService, KitNotificationType, KitNumericTextboxComponent, KitNumericTextboxSize, KitNumericTextboxState, KitOptionToggleComponent, KitPageLayoutComponent, KitPermissionDirective, KitPillComponent, KitPillTheme, KitPillType, KitPopupAlignHorizontal, KitPopupAlignVertical, KitPopupComponent, KitPopupPositionMode, KitProfileMenuComponent, KitQueryParamsName, KitQueryParamsService, KitRadioButtonComponent, KitRadioButtonType, KitRoutePathComponent, KitSchedulerComponent, KitSchedulerMonthEventTemplateDirective, KitSchedulerWeekEventTemplateDirective, KitScrollNavigationComponent, KitScrollNavigationSectionComponent, KitSearchBarComponent, KitSidebarComponent, KitSkeletonAnimation, KitSkeletonComponent, KitSkeletonGridComponent, KitSkeletonShape, KitSortDirection, KitSortableComponent, KitSplitContainerComponent, KitStatusLabelColor, KitStatusLabelComponent, KitStatusLabelSize, KitSvgIcon, KitSvgIconComponent, KitSvgIconType, KitSvgSpriteComponent, KitSwitchComponent, KitSwitchMode, KitSwitchState, KitTabComponent, KitTabContentDirective, KitTabsComponent, KitTabsSize, KitTabsType, KitTextLabelComponent, KitTextLabelState, KitTextareaAutoresizeDirective, KitTextareaComponent, KitTextareaState, KitTextboxActionsComponent, KitTextboxComponent, KitTextboxSize, KitTextboxState, KitThemeService, KitThemes, KitTileLayoutComponent, KitTileLayoutItemComponent, KitTimelineCardComponent, KitTimelineComponent, KitTimelineTheme, KitTimelineType, KitTimepickerComponent, KitTitleTemplateDirective, KitToastrModule, KitToastrPosition, KitToastrService, KitToastrType, KitToggleComponent, KitToggleSize, KitTooltipDirective, KitTooltipPosition, KitTopBarComponent, KitTrackingCardComponent, KitTrackingTimelineComponent, KitTranslateLoader, KitTranslateService, KitTruncateTextComponent, KitUnitsTextboxComponent, KitUnitsTextboxDropdownPosition, KitUnitsTextboxType, KitUserApplicationsState, KitUserIdentitiesInterceptor, KitUserIdentitiesSelector, KitUserIdentitiesState, KitUserPermissionsState, KitUserSettingsComponent, KitUserSettingsKeys, KitUserSettingsState, KitUserState, KitUserType, RemoveGridFilter, SetGridColumns, SetGridFilters, SetGridSearch, SetGridSkip, SetGridSort, SetGridTake, SetUserIdentity, UpdateGridFilter, buildRandomUUID, changeFilterField, createDataFetcherFactory, findMatches, kitApiResponseDefaultEntities, kitBuildFilterBooleanOptions, kitBuildFilterListOptions, kitBuildFilters, kitBuildGridColumn, kitBuildGridDataResults, kitBuildOdataFilter, kitBuildSortString, kitDataStateToODataString, kitEncodeViewNameToUrl, kitExportExcel, kitFormatStringForSearch, kitGetFormControlErrors, kitGetPermissionTypesByCategory, kitHasPermission, kitTranslations, kitUserPermissionsGuard, mapGlobalSearchResult, trimTrailingSlash };
|
|
4502
|
+
export type { GlobalSearchFilter, GlobalSearchLineItem, GlobalSearchPrompt, GlobalSearchResult, GlobalSearchRouteConfig, GlobalSearchSelectedFilter, KitApiResponseState, KitAutocompleteItem, KitBreadcrumbsItem, KitCard, KitCardDetailsState, KitCardItem, KitCardLink, KitCollapsedListItem, KitCompositeFilterDescriptor, KitCtaPanelConfirmation, KitCtaPanelConfirmationValue, KitCtaPanelCopyItem, KitCtaPanelItem, KitCurrentUser, KitDataResult, KitDataState, KitDaterangeValue, KitDropdownItem, KitFileUploadFile, KitFileUploadFileRestrictions, KitFileUploadFileRestrictionsMessages, KitFilterDescriptor, KitFilterItem, KitFilterListConfig, KitFilterListOption, KitFilterValue, KitGridCellClickEvent, KitGridCellTranslationMap, KitGridColumn, KitGridColumnConfig, KitGridColumns, KitGridDataResult, KitGridDataState, KitGridDataStateChangeEvent, KitGridDetailCollapseEvent, KitGridDetailExpandEvent, KitGridPageChangeEvent, KitGridRowClassArgs, KitGridSortSettings, KitGridView, KitGridViewColumn, KitKendoDrawPdf, KitLocationStepperItem, KitLocationStepperItemDate, KitMainMenuItem, KitMobileMenuItem, KitMultiselectItem, KitNavigationMenuAppItem, KitNavigationMenuItem, KitNavigationTabsItem, KitNavigationTabsItemLink, KitOptionToggleOption, KitPDFOptions, KitPermission, KitPopupAlign, KitProfileMenuItem, KitQueryParams, KitRadioButton, KitScheduleEventClickEvent, KitScheduleSlotClickEvent, KitSchedulerEvent, KitSortDescriptor, KitSwitchItem, KitSwitchItemSelection, KitTabsSelectEvent, KitTileLayoutColumnsConfig, KitTimelineItem, KitTimelineItemDate, KitToastrConfig, KitTrackingCardTabs, KitTrackingTimelineItem, KitUser, KitUserIdentities, KitUserIdentity, KitUserMenuItem, KitUserPermissions, KitUserSettings };
|