aio-table 9.1.7 → 9.2.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.
Files changed (3) hide show
  1. package/index.d.ts +1 -1
  2. package/index.js +1 -1
  3. package/package.json +4 -3
package/index.d.ts CHANGED
@@ -95,5 +95,5 @@ export type I_table<T> = {
95
95
  gap?: [number, number];
96
96
  striped?: [string, string];
97
97
  };
98
- declare const AIOTable: <T>(props: I_table<T>) => JSX.Element;
98
+ declare const AIOTable: <T>(props: I_table<T>) => import("react/jsx-runtime").JSX.Element;
99
99
  export default AIOTable;
package/index.js CHANGED
@@ -253,7 +253,7 @@ const AIOTable = (props) => {
253
253
  getRowsIndexDic, add, remove, search, exportToExcel, DragColumns, getIcon, popup,
254
254
  };
255
255
  return (_jsxs(Provider, { value: context, children: [_jsxs("div", Object.assign({}, attrs, { children: [_jsx(TableToolbar, {}), !!props.filter &&
256
- _jsx(Filterbar, { columns: filterColumns, filter: props.filter, columnOption: { text: (column) => column.title, id: (column) => column.filterId, type: (column) => column.type || 'text' } }), _jsxs("div", { className: 'aio-table-unit aio-table-scroll', style: { gap: gap[1] }, children: [_jsx(TableHeader, {}), _jsx(TableRows, {})] }), pagingHook.render()] })), popup.render()] }));
256
+ _jsx(Filterbar, { columns: filterColumns, filter: props.filter, fa: props.fa, columnOption: { text: (column) => column.title, id: (column) => column.filterId, type: (column) => column.type || 'text' } }), _jsxs("div", { className: 'aio-table-unit aio-table-scroll', style: { gap: gap[1] }, children: [_jsx(TableHeader, {}), _jsx(TableRows, {})] }), pagingHook.render()] })), popup.render()] }));
257
257
  };
258
258
  export default AIOTable;
259
259
  const TableRows = () => {
package/package.json CHANGED
@@ -1,9 +1,9 @@
1
1
  {
2
2
  "name": "aio-table",
3
- "version": "9.1.7",
3
+ "version": "9.2.0",
4
4
  "description": "all in one table. tree mode , simple mode , tree mode, gantt mode , groupby mode, freeze mode.",
5
5
  "main": "index.js",
6
- "types":"index.d.ts",
6
+ "types": "index.d.ts",
7
7
  "scripts": {
8
8
  "test": "echo \"Error: no test specified\" && exit 1"
9
9
  },
@@ -19,7 +19,8 @@
19
19
  "homepage": "https://github.com/mohammadFeiz/aio-table#readme",
20
20
  "dependencies": {
21
21
  "aio-input": "latest",
22
- "aio-utils":"latest"
22
+ "aio-utils": "latest",
23
+ "aio-component-utils":"latest"
23
24
  },
24
25
  "devDependencies": {
25
26
  "react-scripts": "latest"