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

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
@@ -17640,7 +17640,7 @@ const G5 = /* @__PURE__ */ $r(U5), K5 = "sab-table-config-", ZC = (e) => `${K5}$
17640
17640
  getEditorProps: ({ row: W }) => ({
17641
17641
  controls: !1,
17642
17642
  onChange: (Z) => {
17643
- W.visible = !0, W.__table__seq = Z - 1e-3, g();
17643
+ console.log("onChange"), W.visible = !0, W.__table__seq = Z - 1e-3, g();
17644
17644
  }
17645
17645
  })
17646
17646
  },
@@ -17720,11 +17720,12 @@ 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(() => {
17723
+ console.log("onSaveTable"), setTimeout(() => {
17724
17724
  var Z;
17725
+ console.log("setTimeout onSaveTable");
17725
17726
  const W = ((Z = c.value) == null ? void 0 : Z.getInstance().getTableData().fullData) || [];
17726
17727
  C(W), a();
17727
- });
17728
+ }, 100);
17728
17729
  };
17729
17730
  return (W, Z) => {
17730
17731
  var ce, De;
@@ -17772,6 +17773,9 @@ const G5 = /* @__PURE__ */ $r(U5), K5 = "sab-table-config-", ZC = (e) => `${K5}$
17772
17773
  keyField: "field",
17773
17774
  drag: !0
17774
17775
  },
17776
+ "scroll-y": {
17777
+ enabled: !1
17778
+ },
17775
17779
  onRowDragend: E,
17776
17780
  onEditClosed: v
17777
17781
  }, 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;