@amaoaaaaa/search-table 0.1.2 → 0.1.3

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.
@@ -0,0 +1,2 @@
1
+ import { default as SearchTable } from './index.vue';
2
+ export type SearchTableInstance = InstanceType<typeof SearchTable>;
package/dist/index.d.ts CHANGED
@@ -2,9 +2,5 @@ export { default as SearchTable } from './SearchTable/index.vue';
2
2
  export { default as ProTable } from './ProTable/index.vue';
3
3
  export type { ProTableInstance } from './ProTable';
4
4
  export type { SearchTableProps, SearchTableFetchFn, PageParams, PageResp, } from './SearchTable/types';
5
- export type { ProTableProps, ProTableColumn, ProTableAction, TableRow, FilterOption, FilterType, ActionButtonVisibility, ApplyFilterPayload, CellEditPayload, } from './ProTable/types';
6
- export { SelectionStore } from './SearchTable/SelectionStore';
7
- export { useTableSort } from './SearchTable/useTableSort';
8
- export type { SortState, UseTableSortOption } from './SearchTable/useTableSort';
9
- export { useDelayedRef } from './hooks/useDelayedRef';
10
- export { parseErrorReason } from './utils/parseErrorReason';
5
+ export type { SearchTableInstance } from './SearchTable';
6
+ export type { ProTableProps, ProTableColumn, ProTableAction, TableRow, FilterOption, FilterType, ActionButtonVisibility, ApplyFilterPayload, CellEditPayload, ProTableColumn as SearchTableColumn, ProTableAction as SearchTableAction, } from './ProTable/types';
@@ -541,7 +541,7 @@ class wt {
541
541
  }
542
542
  function kt(l, t, f) {
543
543
  let d, r;
544
- Se(l) ? (d = l, r = t ?? 300) : (d = Fe(l, t), r = f ?? 300);
544
+ Se(l) ? (d = l, r = t) : (d = Fe(l, t), r = 300);
545
545
  const p = z(d.value);
546
546
  let S = null;
547
547
  const B = () => {
@@ -883,9 +883,5 @@ const Ft = G({ name: "ri-delete-back2-line", render: Dt }), Mt = { class: "flex
883
883
  }), qt = /* @__PURE__ */ Re(Ot, [["__scopeId", "data-v-c11b5043"]]);
884
884
  export {
885
885
  bt as ProTable,
886
- qt as SearchTable,
887
- wt as SelectionStore,
888
- xt as parseErrorReason,
889
- kt as useDelayedRef,
890
- St as useTableSort
886
+ qt as SearchTable
891
887
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@amaoaaaaa/search-table",
3
- "version": "0.1.2",
3
+ "version": "0.1.3",
4
4
  "type": "module",
5
5
  "description": "基于 Element Plus 的搜索表格组件,支持分页、排序、筛选、跨页勾选等功能",
6
6
  "license": "MIT",