@indigina/ui-kit 1.1.354 → 1.1.356
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 +135 -12
- package/fesm2022/indigina-ui-kit.mjs.map +1 -1
- package/index.d.ts +11 -5
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -2786,7 +2786,10 @@ interface KitDataState {
|
|
|
2786
2786
|
sort?: KitSortDescriptor[];
|
|
2787
2787
|
filter?: KitCompositeFilterDescriptor;
|
|
2788
2788
|
}
|
|
2789
|
-
|
|
2789
|
+
interface KitCompositeFilterDescriptor extends CompositeFilterDescriptor {
|
|
2790
|
+
filters: (KitCompositeFilterDescriptor | KitFilterDescriptor)[];
|
|
2791
|
+
isArray?: boolean;
|
|
2792
|
+
}
|
|
2790
2793
|
type KitFilterDescriptor = FilterDescriptor;
|
|
2791
2794
|
type KitSortDescriptor = SortDescriptor;
|
|
2792
2795
|
|
|
@@ -3267,6 +3270,7 @@ declare class KitSearchBarComponent {
|
|
|
3267
3270
|
closeButtonLabel: string;
|
|
3268
3271
|
readonly searchString: InputSignal<string | undefined>;
|
|
3269
3272
|
readonly disabled: InputSignal<boolean>;
|
|
3273
|
+
readonly maxLength: InputSignal<number>;
|
|
3270
3274
|
changed: EventEmitter<string>;
|
|
3271
3275
|
searchButtonClick: EventEmitter<void>;
|
|
3272
3276
|
closeButtonClick: EventEmitter<void>;
|
|
@@ -3284,7 +3288,7 @@ declare class KitSearchBarComponent {
|
|
|
3284
3288
|
clearSearch(): void;
|
|
3285
3289
|
onCloseButtonClick(): void;
|
|
3286
3290
|
static ɵfac: i0.ɵɵFactoryDeclaration<KitSearchBarComponent, never>;
|
|
3287
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<KitSearchBarComponent, "kit-search-bar", never, { "placeholder": { "alias": "placeholder"; "required": false; }; "searchButtonLabel": { "alias": "searchButtonLabel"; "required": false; }; "closeButtonLabel": { "alias": "closeButtonLabel"; "required": false; }; "searchString": { "alias": "searchString"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; }, { "changed": "changed"; "searchButtonClick": "searchButtonClick"; "closeButtonClick": "closeButtonClick"; }, never, never, true, never>;
|
|
3291
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<KitSearchBarComponent, "kit-search-bar", never, { "placeholder": { "alias": "placeholder"; "required": false; }; "searchButtonLabel": { "alias": "searchButtonLabel"; "required": false; }; "closeButtonLabel": { "alias": "closeButtonLabel"; "required": false; }; "searchString": { "alias": "searchString"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "maxLength": { "alias": "maxLength"; "required": false; "isSignal": true; }; }, { "changed": "changed"; "searchButtonClick": "searchButtonClick"; "closeButtonClick": "closeButtonClick"; }, never, never, true, never>;
|
|
3288
3292
|
}
|
|
3289
3293
|
|
|
3290
3294
|
type KitUserPermissions = Record<string, string[]>;
|
|
@@ -3295,9 +3299,9 @@ interface KitPermission {
|
|
|
3295
3299
|
}
|
|
3296
3300
|
|
|
3297
3301
|
interface KitFilterValue {
|
|
3298
|
-
dateRange?: KitFilterDateRange;
|
|
3299
3302
|
logic: KitFilterLogic;
|
|
3300
3303
|
filters: KitFilterDescriptor[];
|
|
3304
|
+
dateRange?: KitFilterDateRange;
|
|
3301
3305
|
}
|
|
3302
3306
|
interface KitFilterItem {
|
|
3303
3307
|
title: string;
|
|
@@ -3313,7 +3317,8 @@ declare enum KitFilterType {
|
|
|
3313
3317
|
TEXT = "text",
|
|
3314
3318
|
NUMERIC = "numeric",
|
|
3315
3319
|
NULL = "null",
|
|
3316
|
-
GUID = "guid"
|
|
3320
|
+
GUID = "guid",
|
|
3321
|
+
ARRAY = "array"
|
|
3317
3322
|
}
|
|
3318
3323
|
declare enum KitFilterDateRange {
|
|
3319
3324
|
TODAY = "today",
|
|
@@ -3564,6 +3569,7 @@ interface KitGridColumnConfig {
|
|
|
3564
3569
|
filterType?: KitFilterType;
|
|
3565
3570
|
excelFormat?: string;
|
|
3566
3571
|
apiField?: string;
|
|
3572
|
+
hiddenInGrid?: boolean;
|
|
3567
3573
|
}
|
|
3568
3574
|
interface KitGridDataState {
|
|
3569
3575
|
skip: number;
|
|
@@ -3652,7 +3658,7 @@ interface KitFetchExportGridData<T> {
|
|
|
3652
3658
|
columns?: KitGridColumnConfig[];
|
|
3653
3659
|
}
|
|
3654
3660
|
|
|
3655
|
-
declare const kitBuildGridColumn: (field: string, title: string, type: KitGridColumnType, sortable?: boolean, hidden?: boolean, width?: number, filterType?: KitFilterType, excelFormat?: string, apiField?: string) => KitGridColumnConfig;
|
|
3661
|
+
declare const kitBuildGridColumn: (field: string, title: string, type: KitGridColumnType, sortable?: boolean, hidden?: boolean, width?: number, filterType?: KitFilterType, excelFormat?: string, apiField?: string, hiddenInGrid?: boolean) => KitGridColumnConfig;
|
|
3656
3662
|
declare const kitBuildGridDataResults: <T>(data: T[], loading: boolean, total?: number) => KitGridDataResult<T>;
|
|
3657
3663
|
declare const kitBuildSortString: (sort?: KitSortDescriptor[], columns?: KitGridColumnConfig[]) => string | undefined;
|
|
3658
3664
|
declare const kitFetchGridData: ({ store, destroyRef, isLoading, fetchAction, fetchFromIndexAction, hasArchiveToggle, }: KitFetchGridDataOptions) => void;
|