@indigina/ui-kit 1.1.177 → 1.1.179

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.
@@ -42,6 +42,7 @@ export declare class KitGridExportComponent<T> {
42
42
  private onExportPDF;
43
43
  private onExportExcel;
44
44
  private getExportedExcelRows;
45
+ private timeStringToExcelFraction;
45
46
  private onExportCSV;
46
47
  private onExportXML;
47
48
  private convertToXML;
@@ -9,6 +9,7 @@ export declare class KitFilterCheckboxComponent implements OnInit, OnChanges {
9
9
  readonly translateKeyPrefix: InputSignal<string>;
10
10
  readonly items: ModelSignal<KitFilterListOption[]>;
11
11
  readonly showPopupOnInit: InputSignal<boolean>;
12
+ readonly guidField: InputSignal<string>;
12
13
  readonly filterRemoved: OutputEmitterRef<void>;
13
14
  readonly filterChanged: OutputEmitterRef<KitFilterValue>;
14
15
  readonly anchor: Signal<ElementRef>;
@@ -38,5 +39,5 @@ export declare class KitFilterCheckboxComponent implements OnInit, OnChanges {
38
39
  private initializeSelectedValues;
39
40
  private updateItemsState;
40
41
  static ɵfac: i0.ɵɵFactoryDeclaration<KitFilterCheckboxComponent, never>;
41
- static ɵcmp: i0.ɵɵComponentDeclaration<KitFilterCheckboxComponent, "kit-filter-checkbox", never, { "filter": { "alias": "filter"; "required": true; "isSignal": true; }; "translateKeyPrefix": { "alias": "translateKeyPrefix"; "required": false; "isSignal": true; }; "items": { "alias": "items"; "required": false; "isSignal": true; }; "showPopupOnInit": { "alias": "showPopupOnInit"; "required": false; "isSignal": true; }; }, { "items": "itemsChange"; "filterRemoved": "filterRemoved"; "filterChanged": "filterChanged"; }, never, never, true, never>;
42
+ static ɵcmp: i0.ɵɵComponentDeclaration<KitFilterCheckboxComponent, "kit-filter-checkbox", never, { "filter": { "alias": "filter"; "required": true; "isSignal": true; }; "translateKeyPrefix": { "alias": "translateKeyPrefix"; "required": false; "isSignal": true; }; "items": { "alias": "items"; "required": false; "isSignal": true; }; "showPopupOnInit": { "alias": "showPopupOnInit"; "required": false; "isSignal": true; }; "guidField": { "alias": "guidField"; "required": false; "isSignal": true; }; }, { "items": "itemsChange"; "filterRemoved": "filterRemoved"; "filterChanged": "filterChanged"; }, never, never, true, never>;
42
43
  }
@@ -17,7 +17,8 @@ export declare enum KitFilterType {
17
17
  DATE = "date",
18
18
  TEXT = "text",
19
19
  NUMERIC = "numeric",
20
- NULL = "null"
20
+ NULL = "null",
21
+ GUID = "guid"
21
22
  }
22
23
  export interface KitFilterListOption<T = string> {
23
24
  title: string;
@@ -27,6 +28,7 @@ export interface KitFilterListOption<T = string> {
27
28
  interface KitFilterListConfigValue<T> {
28
29
  items: KitFilterListOption<T>[];
29
30
  translateKeyPrefix: string;
31
+ guidField?: string;
30
32
  }
31
33
  export type KitFilterListConfig = Record<string, KitFilterListConfigValue<string | boolean | number>>;
32
34
  export {};
@@ -2,6 +2,6 @@ import { KitGridColumnConfig, KitGridColumnType } from './store/kit-grid.model';
2
2
  import { KitFilterType } from './kit-grid-filters/kit-grid-filters.model';
3
3
  import { KitGridDataResult } from './kit-grid-management.model';
4
4
  import { KitSortDescriptor } from '../../utils/kit-data-query/kit-data-query.model';
5
- export declare const kitBuildGridColumn: (field: string, title: string, type: KitGridColumnType, sortable?: boolean, hidden?: boolean, width?: number, filterType?: KitFilterType) => KitGridColumnConfig;
5
+ export declare const kitBuildGridColumn: (field: string, title: string, type: KitGridColumnType, sortable?: boolean, hidden?: boolean, width?: number, filterType?: KitFilterType, excelFormat?: string) => KitGridColumnConfig;
6
6
  export declare const kitBuildGridDataResults: <T>(data: T[], loading: boolean, total?: number) => KitGridDataResult<T>;
7
7
  export declare const kitBuildSortString: (sort?: KitSortDescriptor[]) => string | undefined;
@@ -1,6 +1,6 @@
1
1
  import { KitFilterItem, KitFilterType } from '../kit-grid-filters/kit-grid-filters.model';
2
2
  import { KitSortDescriptor } from '../../../utils/kit-data-query/kit-data-query.model';
3
- export type KitGridColumnType = 'date' | 'number' | 'boolean' | 'string' | 'dateTime' | 'dateLocal' | 'dateTimeLocal';
3
+ export type KitGridColumnType = 'date' | 'number' | 'boolean' | 'string' | 'dateTime' | 'dateLocal' | 'dateTimeLocal' | 'time';
4
4
  export interface KitGridColumnConfig {
5
5
  field: string;
6
6
  title: string;
@@ -9,6 +9,7 @@ export interface KitGridColumnConfig {
9
9
  type: KitGridColumnType;
10
10
  width?: number;
11
11
  filterType?: KitFilterType;
12
+ excelFormat?: string;
12
13
  }
13
14
  export interface KitGridDataState {
14
15
  skip: number;
package/package.json CHANGED
@@ -7,7 +7,7 @@
7
7
  "components",
8
8
  "shared"
9
9
  ],
10
- "version": "1.1.177",
10
+ "version": "1.1.179",
11
11
  "peerDependencies": {
12
12
  "@angular/common": ">=19.1.4 <20.0.0",
13
13
  "@angular/core": ">=19.1.4 <20.0.0"