sti-antd-package 0.0.13 → 0.0.15

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.
Files changed (32) hide show
  1. package/dist/components/DataGrid/Component.d.ts +2 -2
  2. package/dist/components/DataGrid/Filter/Input/Component.d.ts +3 -0
  3. package/dist/components/DataGrid/Filter/Input/index.d.ts +2 -0
  4. package/dist/components/DataGrid/Filter/Input/types.d.ts +2 -0
  5. package/dist/components/DataGrid/Filter/Renderer/Component.d.ts +3 -0
  6. package/dist/components/DataGrid/Filter/Renderer/index.d.ts +2 -0
  7. package/dist/components/DataGrid/Filter/Renderer/types.d.ts +9 -0
  8. package/dist/components/DataGrid/SelectAsync/Component.d.ts +2 -0
  9. package/dist/components/DataGrid/types.d.ts +3 -4
  10. package/dist/components/DatePicker/types.d.ts +4 -3
  11. package/dist/components/DateRangePicker/types.d.ts +4 -3
  12. package/dist/components/Input/types.d.ts +1 -0
  13. package/dist/components/NumberFormat/types.d.ts +1 -1
  14. package/dist/components/Table/Async/Search/types.d.ts +14 -6
  15. package/dist/components/Table/Async/types.d.ts +12 -1
  16. package/dist/components/Table/types.d.ts +1 -0
  17. package/dist/components/index.d.ts +4 -3
  18. package/dist/constants/datePickerFormat.d.ts +7 -3
  19. package/dist/constants/index.d.ts +1 -0
  20. package/dist/context/DataGrid/Context.d.ts +1 -1
  21. package/dist/context/DataGrid/Provider.d.ts +1 -1
  22. package/dist/context/DataGrid/types.d.ts +42 -8
  23. package/dist/context/TableAsyncSearch/types.d.ts +3 -4
  24. package/dist/hooks/index.d.ts +0 -1
  25. package/dist/index.d.ts +248 -192
  26. package/dist/index.esm.js +4274 -4066
  27. package/dist/index.js +4272 -4065
  28. package/package.json +2 -2
  29. package/dist/components/DataGrid/FilterRenderer/Component.d.ts +0 -4
  30. package/dist/components/DataGrid/FilterRenderer/types.d.ts +0 -6
  31. package/dist/hooks/useFocus/hooks.d.ts +0 -7
  32. package/dist/hooks/useFocus/index.d.ts +0 -1
@@ -1,7 +1,7 @@
1
- import { DataGridRow } from "../../context/DataGrid";
1
+ import { DataGridProviderProps, DataGridRow } from "../../context/DataGrid";
2
2
  import { DataGridComponentProps } from "./types";
3
3
  import React from "react";
4
4
  import "react-data-grid/lib/styles.css";
5
5
  export declare const filterColumnClassName: string;
6
- declare const DataGridComponent: <Rows extends DataGridRow<Key>, SummaryRows, Key extends React.Key>({ filterHeader, ...props }: DataGridComponentProps) => import("react/jsx-runtime").JSX.Element;
6
+ declare const DataGridComponent: <Row extends DataGridRow<Key>, SummaryRow = unknown, Key extends React.Key = React.Key>({ filterHeader, columns, ...props }: DataGridProviderProps<Row, SummaryRow> & DataGridComponentProps) => import("react/jsx-runtime").JSX.Element;
7
7
  export default DataGridComponent;
@@ -0,0 +1,3 @@
1
+ import { DataGridFilterInputComponentProps } from "./types";
2
+ declare const DataGridFilterInputComponent: <Row, SummaryRow = unknown>({ ...props }: DataGridFilterInputComponentProps<Row, SummaryRow>) => import("react/jsx-runtime").JSX.Element;
3
+ export default DataGridFilterInputComponent;
@@ -0,0 +1,2 @@
1
+ export { default } from "./Component";
2
+ export type * from "./types";
@@ -0,0 +1,2 @@
1
+ import { RenderHeaderCellProps } from "react-data-grid";
2
+ export type DataGridFilterInputComponentProps<Row, SummaryRow = unknown> = RenderHeaderCellProps<Row, SummaryRow> & {};
@@ -0,0 +1,3 @@
1
+ import { DataGridFilterRendererProps } from "./types";
2
+ declare const DataGridFilterRenderer: <Row, SummaryRow = unknown>({ tabIndex, column, children, }: DataGridFilterRendererProps<Row, SummaryRow>) => import("react/jsx-runtime").JSX.Element;
3
+ export default DataGridFilterRenderer;
@@ -0,0 +1,2 @@
1
+ export { default } from "./Component";
2
+ export type * from "./types";
@@ -0,0 +1,9 @@
1
+ import { DataGridFilter } from "../../../../context";
2
+ import React from "react";
3
+ import { RenderHeaderCellProps } from "react-data-grid";
4
+ export type DataGridFilterRendererProps<Row, SummaryRow = unknown> = RenderHeaderCellProps<Row, SummaryRow> & {
5
+ children: (args: {
6
+ tabIndex: number;
7
+ filter?: DataGridFilter;
8
+ }) => React.ReactElement;
9
+ };
@@ -0,0 +1,2 @@
1
+ declare const DataGridSelectAsync: <Row>() => import("react/jsx-runtime").JSX.Element;
2
+ export default DataGridSelectAsync;
@@ -1,14 +1,13 @@
1
- import { DataGridFilter, DataGridProviderProps } from "../../context/DataGrid";
1
+ import { DataGridFilter } from "../../context/DataGrid";
2
2
  import React, { Ref } from "react";
3
3
  export interface DataGridComponentRef {
4
- inputStopPropagation: (event: React.KeyboardEvent<HTMLInputElement>) => void;
5
- selectStopPropagation: (event: React.KeyboardEvent<HTMLDivElement>) => void;
6
4
  setLoading: React.Dispatch<React.SetStateAction<boolean>> | undefined;
7
5
  filter: () => DataGridFilter | undefined;
8
6
  setFilter: (filter: DataGridFilter) => void;
9
7
  }
10
- export type DataGridComponentProps = DataGridProviderProps & {
8
+ export type DataGridComponentProps = {
11
9
  addRows?: boolean;
12
10
  extraLeft?: React.ReactNode;
11
+ data: any;
13
12
  ref?: Ref<DataGridComponentRef>;
14
13
  };
@@ -1,4 +1,4 @@
1
- import { formColLayout } from "../../constants";
1
+ import { DatePickerFormatType, formColLayout } from "../../constants";
2
2
  import { Variant } from "antd/es/config-provider";
3
3
  import { SizeType } from "antd/es/config-provider/SizeContext";
4
4
  import { DatePickerProps } from "antd/es/date-picker";
@@ -10,14 +10,15 @@ import { NamePath } from "rc-field-form/lib/interface";
10
10
  import { SemanticStructure } from "rc-picker/lib/interface";
11
11
  import { Ref } from "react";
12
12
  export interface DatePickerComponentRef {
13
- value: () => Dayjs | null | undefined;
14
- setValue: React.Dispatch<React.SetStateAction<Dayjs | null | undefined>>;
13
+ value: () => Dayjs | null;
14
+ setValue: React.Dispatch<React.SetStateAction<Dayjs | null>>;
15
15
  }
16
16
  export interface DatePickerComponentProps {
17
17
  noItem?: boolean;
18
18
  size?: SizeType;
19
19
  variant?: Variant;
20
20
  picker?: DatePickerProps['picker'];
21
+ format?: DatePickerFormatType;
21
22
  loading?: boolean;
22
23
  disabled?: boolean;
23
24
  disabledDate?: DatePickerProps['disabledDate'];
@@ -1,4 +1,4 @@
1
- import { formColLayout } from "../../constants";
1
+ import { DatePickerFormatType, formColLayout } from "../../constants";
2
2
  import { DatePicker, DatePickerProps } from "antd";
3
3
  import { Variant } from "antd/es/config-provider";
4
4
  import { SizeType } from "antd/es/config-provider/SizeContext";
@@ -11,14 +11,15 @@ import { SemanticStructure } from "rc-picker/lib/interface";
11
11
  import { RangeValueType } from "rc-picker/lib/PickerInput/RangePicker";
12
12
  import { Ref } from "react";
13
13
  export interface DateRangePickerComponentRef {
14
- value: () => RangeValueType<dayjs.Dayjs> | null | undefined;
15
- setValue: React.Dispatch<React.SetStateAction<RangeValueType<dayjs.Dayjs> | null | undefined>>;
14
+ value: () => RangeValueType<dayjs.Dayjs> | null;
15
+ setValue: React.Dispatch<React.SetStateAction<RangeValueType<dayjs.Dayjs> | null>>;
16
16
  }
17
17
  export interface DateRangePickerComponentProps {
18
18
  noItem?: boolean;
19
19
  size?: SizeType;
20
20
  variant?: Variant;
21
21
  picker?: DatePickerProps['picker'];
22
+ format?: DatePickerFormatType;
22
23
  loading?: boolean;
23
24
  disabled?: boolean;
24
25
  disabledDate?: RangePickerProps['disabledDate'];
@@ -20,6 +20,7 @@ export interface InputComponentProps {
20
20
  size?: SizeType;
21
21
  classNames?: string[];
22
22
  variant?: Variant;
23
+ autoCompleteOff?: boolean;
23
24
  loading?: boolean;
24
25
  disabled?: boolean;
25
26
  readOnly?: boolean;
@@ -26,7 +26,7 @@ export interface NumberFormatComponentProps {
26
26
  defaultValue?: valueType;
27
27
  removeError?: (name?: NamePath) => void;
28
28
  onValueChange?: OnValueChange;
29
- onChange?: (value?: number) => void;
29
+ onChange?: (event: React.ChangeEvent<HTMLInputElement>) => void;
30
30
  style?: React.CSSProperties;
31
31
  onBlur?: React.FocusEventHandler<HTMLInputElement>;
32
32
  onKeyDown?: React.KeyboardEventHandler<HTMLInputElement>;
@@ -1,20 +1,22 @@
1
+ import { DatePickerFormatType } from "../../../../constants";
1
2
  import { SelectOption } from "../../../Select";
2
- import { DatePickerProps } from "antd";
3
+ import { valueType } from "antd/es/statistic/utils";
4
+ import { Dayjs } from "dayjs";
3
5
  import React from "react";
4
6
  export type TableAsyncSearchItemType = "text" | "select" | "select-multiple" | "switch" | "checkbox" | "date" | "date-range";
5
7
  interface BaseAsyncSearchItem {
6
8
  name: string;
7
9
  label?: string;
8
10
  space?: 1 | 2;
9
- initValue?: any;
10
- type: TableAsyncSearchItemType;
11
11
  }
12
12
  export type TableAsyncSearchText = BaseAsyncSearchItem & {
13
13
  type: "text";
14
+ initValue?: string;
14
15
  };
15
16
  export type TableAsyncSearchSelect = BaseAsyncSearchItem & {
16
17
  type: "select";
17
18
  options?: SelectOption[];
19
+ initValue?: valueType;
18
20
  };
19
21
  export type TableAsyncSearchLocalSelectMultiple = BaseAsyncSearchItem & {
20
22
  type: "select-multiple";
@@ -26,21 +28,27 @@ export type TableAsyncSearchFetchSelectMultiple = BaseAsyncSearchItem & {
26
28
  static?: false;
27
29
  fetchOptions?: ((search: string) => Promise<any[]>);
28
30
  };
29
- export type TableAsyncSearchSelectMultiple = TableAsyncSearchLocalSelectMultiple | TableAsyncSearchFetchSelectMultiple;
31
+ export type TableAsyncSearchSelectMultiple = (TableAsyncSearchLocalSelectMultiple | TableAsyncSearchFetchSelectMultiple) & {
32
+ initValue?: valueType[];
33
+ };
30
34
  export type TableAsyncSearchSwitch = BaseAsyncSearchItem & {
31
35
  type: "switch";
36
+ initValue?: boolean;
32
37
  };
33
38
  export type TableAsyncSearchCheckbox = BaseAsyncSearchItem & {
34
39
  type: "checkbox";
35
40
  children?: React.ReactNode;
41
+ initValue?: boolean;
36
42
  };
37
43
  export type TableAsyncSearchDate = BaseAsyncSearchItem & {
38
44
  type: "date";
39
- picker?: DatePickerProps['picker'];
45
+ format?: DatePickerFormatType;
46
+ initValue?: Dayjs;
40
47
  };
41
48
  export type TableAsyncSearchDateRange = BaseAsyncSearchItem & {
42
49
  type: "date-range";
43
- picker?: DatePickerProps['picker'];
50
+ format?: DatePickerFormatType;
51
+ initValue?: [Dayjs, Dayjs];
44
52
  };
45
53
  export type TableAsyncSearchItem = TableAsyncSearchText | TableAsyncSearchSelect | TableAsyncSearchSelectMultiple | TableAsyncSearchSwitch | TableAsyncSearchCheckbox | TableAsyncSearchDate | TableAsyncSearchDateRange;
46
54
  export interface TableAsyncSearchComponentProps {
@@ -1,4 +1,4 @@
1
- import { TableComponentProps } from "../types";
1
+ import { TableButtonMiddle, TableComponentProps } from "../types";
2
2
  import { TableAsyncSearchItem } from "./Search";
3
3
  import { AnyObject } from "antd/es/_util/type";
4
4
  import { ColumnGroupType, ColumnType, TableRowSelection } from "antd/es/table/interface";
@@ -52,10 +52,21 @@ export interface TableParams {
52
52
  };
53
53
  ['default']?: DefaultParams;
54
54
  }
55
+ export type TableButtonMiddleAsync = TableButtonMiddle & {
56
+ disabled?: boolean | ((states: {
57
+ tableParams: TableParams | undefined;
58
+ tableSearch: string | undefined;
59
+ selectedRowKeys: React.Key[] | undefined;
60
+ }) => boolean);
61
+ };
55
62
  export interface TableAsyncComponentRef {
56
63
  reload: () => void;
64
+ filters: () => AnyObject | undefined;
65
+ tableSearch: () => string | undefined;
66
+ selectedRowKeys: () => React.Key[] | undefined;
57
67
  }
58
68
  export type TableAsyncComponentProps = TableComponentProps<AnyObject> & {
69
+ buttonMiddle?: TableButtonMiddleAsync;
59
70
  search?: boolean;
60
71
  searchOnChange?: boolean;
61
72
  noReload?: boolean;
@@ -6,6 +6,7 @@ import { TableProps } from "rc-table";
6
6
  import { ExpandableConfig, GetRowKey } from "rc-table/lib/interface";
7
7
  import { JSXElementConstructor } from "react";
8
8
  export interface TableButtonMiddle {
9
+ classNames?: string[];
9
10
  component: React.ReactElement<any, string | JSXElementConstructor<any>>;
10
11
  }
11
12
  export interface TableComponentProps<T extends (BaseModel<T> | AnyObject)> {
@@ -12,6 +12,8 @@ export { default as CheckboxComponent } from "./Checkbox";
12
12
  export type { CheckboxComponentProps, CheckboxComponentRef } from "./Checkbox";
13
13
  export { default as CheckboxGroupComponent } from "./Checkbox/Group";
14
14
  export type { CheckboxGroupComponentProps, CheckboxGroupComponentRef } from "./Checkbox/Group";
15
+ export { default as DataGridComponent } from "./DataGrid";
16
+ export type { DataGridComponentProps, DataGridComponentRef } from "./DataGrid";
15
17
  export { default as DatePickerComponent } from "./DatePicker";
16
18
  export type { DatePickerComponentProps, DatePickerComponentRef } from "./DatePicker";
17
19
  export { default as DateRangePickerComponent } from "./DateRangePicker";
@@ -40,9 +42,8 @@ export type { SwitchComponentProps } from "./Switch";
40
42
  export { default as TableComponent } from "./Table";
41
43
  export type { TableButtonMiddle, TableComponentProps } from "./Table";
42
44
  export { default as TableAsyncComponent } from "./Table/Async";
43
- export type { DefaultColumn, DefaultParams, TableAsyncComponentProps, TableAsyncComponentRef, TableParams, YajraColumn, YajraColumnParams, YajraOrderParams, YajraParams, YajraSearchParams } from "./Table/Async";
44
- export { default as TableAsyncSearchComponent } from "./Table/Async/Search";
45
- export type { TableAsyncSearchCheckbox, TableAsyncSearchComponentProps, TableAsyncSearchDate, TableAsyncSearchDateRange, TableAsyncSearchFetchSelectMultiple, TableAsyncSearchItem, TableAsyncSearchItemType, TableAsyncSearchLocalSelectMultiple, TableAsyncSearchSelect, TableAsyncSearchSelectMultiple, TableAsyncSearchSwitch, TableAsyncSearchText } from "./Table/Async/Search";
45
+ export type { DefaultColumn, DefaultParams, TableAsyncComponentProps, TableAsyncComponentRef, TableButtonMiddleAsync, TableParams, YajraColumn, YajraColumnParams, YajraOrderParams, YajraParams, YajraSearchParams } from "./Table/Async";
46
+ export type { TableAsyncSearchCheckbox, TableAsyncSearchDate, TableAsyncSearchDateRange, TableAsyncSearchFetchSelectMultiple, TableAsyncSearchItem, TableAsyncSearchItemType, TableAsyncSearchLocalSelectMultiple, TableAsyncSearchSelect, TableAsyncSearchSelectMultiple, TableAsyncSearchSwitch, TableAsyncSearchText } from "./Table/Async/Search";
46
47
  export { default as TableCellEditableComponent } from "./Table/CellEditable";
47
48
  export type { TableCellEditableProps } from "./Table/CellEditable";
48
49
  export { default as TabsComponent } from "./Tabs";
@@ -1,4 +1,8 @@
1
- declare const datePickerFormat: {
2
- [key: string]: string;
3
- };
1
+ export type DatePickerFormatType = "default" | "month" | "year";
2
+ export interface DatePickerFormat {
3
+ default: string;
4
+ month: string;
5
+ year: string;
6
+ }
7
+ declare const datePickerFormat: DatePickerFormat;
4
8
  export default datePickerFormat;
@@ -1,3 +1,4 @@
1
1
  export { default as datePickerFormat } from "./datePickerFormat";
2
+ export type { DatePickerFormat, DatePickerFormatType } from "./datePickerFormat";
2
3
  export { default as formColLayout } from "./formColLayout";
3
4
  export type { FormColLayout, FormColSizeSpan } from "./formColLayout";
@@ -1,3 +1,3 @@
1
1
  import { DataGridContextType, DataGridRow } from "./types";
2
2
  export declare const DataGridContext: import("react").Context<{}>;
3
- export declare const useDataGrid: <Row extends DataGridRow<Key>, SummaryRow, Key extends React.Key>() => DataGridContextType<Row, SummaryRow, Key>;
3
+ export declare const useDataGrid: <Row extends DataGridRow<Key>, SummaryRow = unknown, Key extends React.Key = React.Key>() => DataGridContextType<Row, SummaryRow, Key>;
@@ -1,6 +1,6 @@
1
1
  import { DataGridProviderProps, DataGridRow } from "./types";
2
2
  import React from "react";
3
- declare const DataGridProvider: <Row extends DataGridRow<Key>, SummaryRow, Key extends React.Key>({ filterHeader, children, }: DataGridProviderProps & {
3
+ declare const DataGridProvider: <Row extends DataGridRow<Key>, SummaryRow = unknown, Key extends React.Key = React.Key>({ filterHeader, columns, children, }: DataGridProviderProps<Row, SummaryRow> & {
4
4
  children?: React.ReactNode;
5
5
  }) => import("react/jsx-runtime").JSX.Element;
6
6
  export default DataGridProvider;
@@ -1,12 +1,30 @@
1
+ import { SelectAsyncFormat } from "../../helpers";
1
2
  import React from "react";
2
3
  import { ColumnOrColumnGroup } from "react-data-grid";
3
- export type DataGridColumnType = "text" | "select";
4
+ export type DataGridColumnType = "text" | "select" | "date-picker";
5
+ interface DataGrridColumnText {
6
+ type: "text";
7
+ }
8
+ interface DataGridColumnSelect {
9
+ type: "select";
10
+ selectedOptions?: (data: any) => SelectAsyncFormat;
11
+ }
12
+ interface DataGridColumnDatePicker {
13
+ type: "date-picker";
14
+ format: string;
15
+ }
4
16
  export type DataGridColumn<Row, SummaryRow = unknown> = ColumnOrColumnGroup<Row, SummaryRow> & {
17
+ key: string;
18
+ dataIndex?: string | string[];
19
+ defaultValue?: any;
5
20
  hide?: boolean;
6
- };
21
+ } & (DataGrridColumnText | DataGridColumnSelect | DataGridColumnDatePicker);
22
+ export type DataGridFilterColumnType = "text" | "select";
23
+ export type DataGridFilterColumnSelectOptionKeyType = "value" | "label";
7
24
  export interface DataGridFilterColumn {
8
- type: DataGridColumnType;
25
+ type: DataGridFilterColumnType;
9
26
  value: string;
27
+ selectOptionKey?: DataGridFilterColumnSelectOptionKeyType;
10
28
  }
11
29
  export interface DataGridFilter {
12
30
  [key: string]: DataGridFilterColumn;
@@ -17,13 +35,23 @@ export interface DataGridRow<Key> {
17
35
  extraData?: {
18
36
  [key: string]: any;
19
37
  };
38
+ originalData?: {
39
+ [key: string]: any;
40
+ };
20
41
  [key: string]: any;
21
42
  }
22
- export interface DataGridContextType<Row extends DataGridRow<Key>, SummaryRow, Key extends React.Key> {
43
+ export interface DataGridExtraData {
44
+ [key: string]: (data: any) => any;
45
+ }
46
+ export type AddRow<Row> = (index: number, data?: {
47
+ [key: string]: any;
48
+ }) => Row;
49
+ export type InitRows = (data?: any[]) => void;
50
+ export interface DataGridContextType<Row extends DataGridRow<Key>, SummaryRow = unknown, Key extends React.Key = React.Key> {
23
51
  rows?: Row[];
24
52
  setRows?: React.Dispatch<React.SetStateAction<Row[]>>;
25
- columns?: DataGridColumn<Row, SummaryRow>[];
26
- setColumns?: React.Dispatch<React.SetStateAction<DataGridColumn<Row, SummaryRow>[]>>;
53
+ extraData?: DataGridExtraData;
54
+ setExtraData?: React.Dispatch<React.SetStateAction<DataGridExtraData>>;
27
55
  filterHeader?: boolean;
28
56
  filter?: DataGridFilter;
29
57
  setFilter?: React.Dispatch<React.SetStateAction<DataGridFilter>>;
@@ -31,8 +59,14 @@ export interface DataGridContextType<Row extends DataGridRow<Key>, SummaryRow, K
31
59
  setLoading?: React.Dispatch<React.SetStateAction<boolean>>;
32
60
  selectedRows?: ReadonlySet<Key>;
33
61
  setSelectedRows?: React.Dispatch<React.SetStateAction<ReadonlySet<Key> | undefined>>;
34
- addRow?: (index: number) => Row[];
62
+ inputStopPropagation?: (event: React.KeyboardEvent<HTMLInputElement>) => void;
63
+ selectStopPropagation?: (event: React.KeyboardEvent<HTMLDivElement>) => void;
64
+ columns?: DataGridColumn<Row, SummaryRow>[];
65
+ addRow?: AddRow<Row>;
66
+ initRows?: InitRows;
35
67
  }
36
- export interface DataGridProviderProps {
68
+ export interface DataGridProviderProps<Row, SummaryRow = unknown> {
37
69
  filterHeader?: boolean;
70
+ columns: DataGridColumn<Row, SummaryRow>[];
38
71
  }
72
+ export {};
@@ -1,5 +1,4 @@
1
- import { DefaultColumn, TableParams, YajraColumn } from "../../components/Table/Async";
2
- import { TableAsyncSearchItem } from "../../components/Table/Async/Search";
1
+ import { DefaultColumn, SelectOption, TableAsyncSearchItem, TableParams, YajraColumn } from "../../components";
3
2
  import { TablePaginationConfig } from "antd";
4
3
  import { AnyObject } from "antd/es/_util/type";
5
4
  import { SorterResult } from "antd/es/table/interface";
@@ -29,10 +28,10 @@ export interface TableAsyncSearchContextType {
29
28
  drawerOpen?: boolean;
30
29
  setDrawerOpen?: React.Dispatch<React.SetStateAction<boolean>>;
31
30
  multiSelectedOptions?: {
32
- [key: string]: any;
31
+ [key: string]: SelectOption[];
33
32
  };
34
33
  setMultiSelectedOptions?: React.Dispatch<React.SetStateAction<{
35
- [key: string]: any;
34
+ [key: string]: SelectOption[];
36
35
  }>>;
37
36
  }
38
37
  export type TableAsyncType = "default" | "yajra";
@@ -1,2 +1 @@
1
- export { default as useFocus } from "./useFocus";
2
1
  export { default as useRemoveError } from "./useRemoveError";