@indigina/ui-kit 1.1.632 → 1.1.633

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/package.json CHANGED
@@ -7,7 +7,7 @@
7
7
  "components",
8
8
  "shared"
9
9
  ],
10
- "version": "1.1.632",
10
+ "version": "1.1.633",
11
11
  "peerDependencies": {
12
12
  "@angular/common": ">=22.0.0 <23.0.0",
13
13
  "@angular/core": ">=22.0.0 <23.0.0",
@@ -4041,7 +4041,7 @@ interface GlobalSearchLineItem {
4041
4041
  routePath: {
4042
4042
  from: string | null;
4043
4043
  to: string | null;
4044
- type: 'Air' | 'Road' | 'Sea' | 'Rail' | null;
4044
+ type: string | null;
4045
4045
  containerMode?: string | null;
4046
4046
  } | null;
4047
4047
  status: string | null;
@@ -4124,7 +4124,7 @@ declare class KitGlobalSearchComponent implements OnInit {
4124
4124
  static ɵcmp: i0.ɵɵComponentDeclaration<KitGlobalSearchComponent, "kit-global-search", never, { "searchFn": { "alias": "searchFn"; "required": true; "isSignal": true; }; "displayedLineItemsNumber": { "alias": "displayedLineItemsNumber"; "required": false; "isSignal": true; }; "prompts": { "alias": "prompts"; "required": true; "isSignal": true; }; "filters": { "alias": "filters"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
4125
4125
  }
4126
4126
 
4127
- declare const mapGlobalSearchResult: <T>(store: Store, requiredPermission: KitPermission, dataFetcher: () => Observable<{
4127
+ declare const mapGlobalSearchResult: <T>(store: Store, requiredPermission: KitPermission | null, dataFetcher: () => Observable<{
4128
4128
  total: number;
4129
4129
  data: T[];
4130
4130
  }>, categoryName: string, routeConfig: GlobalSearchRouteConfig, itemMapper: (item: T) => GlobalSearchLineItem, layoutConfig?: GlobalSearchCategoryLayoutConfig) => Observable<GlobalSearchResult | null>;
@@ -4245,6 +4245,7 @@ interface KitFetchGridDataOptions<E> {
4245
4245
  searchTerm?: string;
4246
4246
  }): {};
4247
4247
  hasArchiveToggle?: boolean;
4248
+ addSearchWildcard?: boolean;
4248
4249
  error?(error: E): void;
4249
4250
  }
4250
4251
  interface KitFetchExportGridData<T> {
@@ -4257,6 +4258,7 @@ interface KitFetchExportGridData<T> {
4257
4258
  columns?: KitGridColumnConfig[];
4258
4259
  hasArchiveToggle?: boolean;
4259
4260
  archiveModeEnabled?: boolean;
4261
+ addSearchWildcard?: boolean;
4260
4262
  }
4261
4263
 
4262
4264
  interface KitCardDetailsState {
@@ -4923,8 +4925,8 @@ declare class KitGridState {
4923
4925
  declare const kitBuildGridColumn: (field: string, title: string, type: KitGridColumnType, sortable?: boolean, hidden?: boolean, width?: number, filterType?: KitFilterType, excelFormat?: string, apiField?: string, hiddenInGrid?: boolean, customFieldHandler?: (value: KitCompositeFilterDescriptor | KitFilterDescriptor) => string, customRangeHandler?: () => [Date, Date], dateFilterConstraint?: KitDateFilterConstraint) => KitGridColumnConfig;
4924
4926
  declare const kitBuildGridDataResults: <T>(data: T[], loading: boolean, total?: number) => KitGridDataResult<T>;
4925
4927
  declare const kitBuildSortString: (sort?: KitSortDescriptor[], columns?: KitGridColumnConfig[]) => string | undefined;
4926
- declare const kitFetchGridData: <E = unknown>({ store, destroyRef, isLoading, fetchAction, fetchFromIndexAction, hasArchiveToggle, error, }: KitFetchGridDataOptions<E>) => void;
4927
- declare const kitFetchExportGridData: <T>({ fetchAction, fetchIndexAction, sort, filter, search, columns, total, hasArchiveToggle, archiveModeEnabled, }: KitFetchExportGridData<T>) => Observable<T>;
4928
+ declare const kitFetchGridData: <E = unknown>({ store, destroyRef, isLoading, fetchAction, fetchFromIndexAction, hasArchiveToggle, addSearchWildcard, error, }: KitFetchGridDataOptions<E>) => void;
4929
+ declare const kitFetchExportGridData: <T>({ fetchAction, fetchIndexAction, sort, filter, search, columns, total, hasArchiveToggle, archiveModeEnabled, addSearchWildcard, }: KitFetchExportGridData<T>) => Observable<T>;
4928
4930
  declare const kitShouldResetGridState: ({ stateColumns, availableColumns, }: {
4929
4931
  stateColumns: KitGridColumnConfig[];
4930
4932
  availableColumns: KitGridColumnConfig[];
@@ -5913,7 +5915,7 @@ declare class KitExcelExportService {
5913
5915
  static ɵprov: i0.ɵɵInjectableDeclaration<KitExcelExportService>;
5914
5916
  }
5915
5917
 
5916
- declare const kitFormatStringForSearch: (inputString: string) => string;
5918
+ declare const kitFormatStringForSearch: (inputString: string, addWildcard?: boolean) => string;
5917
5919
 
5918
5920
  declare const kitApiResponseDefaultEntities: <T>() => KitApiResponseState<T>;
5919
5921
  declare const kitApiResponseDefaultEntity: <T>() => KitApiResponseState<T | null>;