identity-admin-ui 1.11.9 → 1.11.10

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.
@@ -1,6 +1,8 @@
1
1
  import { ISchemaObject } from '../../context';
2
- export declare function FilterChips({ schema, }: {
2
+ export declare function FilterChips({ schema, onClickClearFilter, onRemoveFilterValue, }: {
3
3
  schema: {
4
4
  [key: string]: ISchemaObject;
5
5
  };
6
+ onRemoveFilterValue?: (fieldKey: string, filterChipKey: string) => void;
7
+ onClickClearFilter?: () => void;
6
8
  }): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,14 @@
1
+ /// <reference types="react" />
2
+ import { URLSearchParamsInit, NavigateOptions } from 'react-router-dom';
3
+ import IResource from '../../context/Resource';
4
+ import { ListParams } from '../dataGrid/GridTypes';
5
+ import { UseFormResetField } from 'react-hook-form';
6
+ export declare function removeFilterChip(searchParams: URLSearchParams, setSearchParams: (nextInit?: URLSearchParamsInit | ((prev: URLSearchParams) => URLSearchParamsInit), navigateOpts?: NavigateOptions) => void, resource: IResource, fieldKey: string, filterChipKey: string, setScopeTab: (value: React.SetStateAction<string>) => void, setParams: (value: React.SetStateAction<ListParams>) => void, normalFilters: {
7
+ [key: string]: any;
8
+ }, setNormalFilters: (value: React.SetStateAction<{
9
+ [key: string]: any;
10
+ }>) => void, quickFilterValues: {
11
+ [key: string]: any;
12
+ }, setQuickFilterValues: (value: React.SetStateAction<{
13
+ [key: string]: any;
14
+ }>) => void, resetField: UseFormResetField<any>, defaultFilters: string | undefined, toggleRef: () => void): void;