@wx-design/components 1.3.0-alpha.20 → 1.3.0-alpha.21

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,4 +1,3 @@
1
- import { nextTick } from 'vue';
2
1
  import { TableSetColumnsProps } from '../../../../types/table/table-set';
3
2
  import { SabColumnProps } from '../../../../types/table/column';
4
3
  declare const _default: import('vue').DefineComponent<TableSetColumnsProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
@@ -327,7 +326,7 @@ declare const _default: import('vue').DefineComponent<TableSetColumnsProps, {},
327
326
  errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
328
327
  };
329
328
  $forceUpdate: () => void;
330
- $nextTick: typeof nextTick;
329
+ $nextTick: typeof import('vue').nextTick;
331
330
  $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
332
331
  } & Readonly<{
333
332
  params: import("vxe-table").VxeTablePropTypes.Params;
package/es/index.mjs CHANGED
@@ -17720,11 +17720,9 @@ const G5 = /* @__PURE__ */ $r(U5), K5 = "sab-table-config-", ZC = (e) => `${K5}$
17720
17720
  const W = ((Z = c.value) == null ? void 0 : Z.getInstance().getTableData().fullData) || [];
17721
17721
  W.sort((ce, De) => ce.__table__seq - De.__table__seq > 0 ? 1 : -1), u.value = W.map((ce) => u.value.find((se) => se.field === ce.field));
17722
17722
  }, D = () => {
17723
- setTimeout(() => {
17724
- var Z;
17725
- const W = ((Z = c.value) == null ? void 0 : Z.getInstance().getTableData().fullData) || [];
17726
- C(W), a();
17727
- });
17723
+ var Z;
17724
+ const W = ((Z = c.value) == null ? void 0 : Z.getInstance().getTableData().fullData) || [];
17725
+ C(W), a();
17728
17726
  };
17729
17727
  return (W, Z) => {
17730
17728
  var ce, De;
@@ -17772,6 +17770,9 @@ const G5 = /* @__PURE__ */ $r(U5), K5 = "sab-table-config-", ZC = (e) => `${K5}$
17772
17770
  keyField: "field",
17773
17771
  drag: !0
17774
17772
  },
17773
+ "scroll-y": {
17774
+ enabled: !1
17775
+ },
17775
17776
  onRowDragend: E,
17776
17777
  onEditClosed: v
17777
17778
  }, null, 8, ["data", "columns"])
@@ -1,4 +1,3 @@
1
- import { nextTick } from 'vue';
2
1
  import { TableSetColumnsProps } from '../../../../types/table/table-set';
3
2
  import { SabColumnProps } from '../../../../types/table/column';
4
3
  declare const _default: import('vue').DefineComponent<TableSetColumnsProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
@@ -327,7 +326,7 @@ declare const _default: import('vue').DefineComponent<TableSetColumnsProps, {},
327
326
  errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
328
327
  };
329
328
  $forceUpdate: () => void;
330
- $nextTick: typeof nextTick;
329
+ $nextTick: typeof import('vue').nextTick;
331
330
  $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
332
331
  } & Readonly<{
333
332
  params: import("vxe-table").VxeTablePropTypes.Params;