@mcurros2/microm 1.1.226-0 → 1.1.228-0

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/dist/index.d.ts CHANGED
@@ -260,13 +260,17 @@ export const combineValidators: (Container?: React.ComponentType<{
260
260
  }>, ...validators: ValidationRule[]) => ValidationRule;
261
261
  export const isValidCUIT: ValidatorFunction;
262
262
  export const CustomValidator: ValidatorFunction;
263
+ export const isDigits: (error?: ReactNode) => (value: unknown) => string | number | true | ReactElement<any, string | JSXElementConstructor<any>> | Iterable<ReactNode> | null;
263
264
  export const isValidEmail: ValidatorFunction;
265
+ export const isInteger: (error?: ReactNode) => (value: unknown) => string | number | true | ReactElement<any, string | JSXElementConstructor<any>> | Iterable<ReactNode> | null;
264
266
  export const isPhone: ValidatorFunction;
265
267
  export const CommonValidators: {
266
268
  url: ValidatorFunction;
267
269
  phone: ValidatorFunction;
268
270
  cuit: ValidatorFunction;
269
271
  email: ValidatorFunction;
272
+ digits: (error?: ReactNode) => (value: unknown) => string | number | true | ReactElement<any, string | JSXElementConstructor<any>> | Iterable<ReactNode> | null;
273
+ integer: (error?: ReactNode) => (value: unknown) => string | number | true | ReactElement<any, string | JSXElementConstructor<any>> | Iterable<ReactNode> | null;
270
274
  length: typeof hasLength;
271
275
  required: typeof isNotEmpty;
272
276
  regex: typeof matches;
@@ -2012,6 +2016,7 @@ export interface DataGridToolbarOptions {
2012
2016
  setSearchText: Dispatch<SetStateAction<string[] | undefined>>;
2013
2017
  searchData: SelectItem[];
2014
2018
  setSearchData: Dispatch<SetStateAction<SelectItem[]>>;
2019
+ maxSearchTerms?: number;
2015
2020
  FiltersEntity?: EntityConstructor;
2016
2021
  filterTooltip?: string;
2017
2022
  parentKeys?: ValuesObject;
@@ -2216,6 +2221,7 @@ export interface DataGridProps extends UseEntityUIProps {
2216
2221
  showActions?: boolean;
2217
2222
  setInitialFiltersFromColumns?: boolean;
2218
2223
  visibleFilters?: string[];
2224
+ maxSearchTerms?: number;
2219
2225
  columnBorders?: boolean;
2220
2226
  rowBorders?: boolean;
2221
2227
  withBorder?: boolean;
@@ -3402,6 +3408,7 @@ export function useMultiDataMapGrid({ dataMapView, viewState, selectionMode, map
3402
3408
  columnBorders: boolean;
3403
3409
  rowBorders: boolean;
3404
3410
  visibleFilters: string[];
3411
+ maxSearchTerms: number;
3405
3412
  enableImport: boolean;
3406
3413
  showSelectRowsButton: boolean;
3407
3414
  showActions: boolean;