wlwy-package 3.1.55 → 3.1.56

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.
@@ -12647,7 +12647,7 @@ const _sfc_main$S = /* @__PURE__ */ defineComponent({
12647
12647
  };
12648
12648
  }
12649
12649
  });
12650
- const inputNumber = /* @__PURE__ */ _export_sfc(_sfc_main$S, [["__scopeId", "data-v-2b746f17"]]);
12650
+ const inputNumber = /* @__PURE__ */ _export_sfc(_sfc_main$S, [["__scopeId", "data-v-a91ca35f"]]);
12651
12651
  const _sfc_main$R = /* @__PURE__ */ defineComponent({
12652
12652
  ...{
12653
12653
  name: "WSelect"
@@ -17658,7 +17658,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent({
17658
17658
  const pageSizes = [.../* @__PURE__ */ new Set([10, __props.tableData.size, 20, 50, 100, 200, 500])].sort((a, b) => a - b);
17659
17659
  function getListConfig(config2) {
17660
17660
  emits("pageChange", {
17661
- current: config2.currentPage,
17661
+ current: config2.type === "size" ? 1 : config2.currentPage,
17662
17662
  size: config2.pageSize
17663
17663
  });
17664
17664
  }
@@ -17680,7 +17680,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent({
17680
17680
  };
17681
17681
  }
17682
17682
  });
17683
- const ListPager = /* @__PURE__ */ _export_sfc(_sfc_main$f, [["__scopeId", "data-v-c59f92f7"]]);
17683
+ const ListPager = /* @__PURE__ */ _export_sfc(_sfc_main$f, [["__scopeId", "data-v-8eddfdd4"]]);
17684
17684
  const _sfc_main$e = /* @__PURE__ */ defineComponent({
17685
17685
  ...{
17686
17686
  name: "WList"
@@ -17706,8 +17706,8 @@ const _sfc_main$e = /* @__PURE__ */ defineComponent({
17706
17706
  emits: /* @__PURE__ */ mergeModels(["selectAction", "reset", "changeTab", "listLoaded"], ["update:activeTabKey"]),
17707
17707
  setup(__props, { expose: __expose, emit: __emit }) {
17708
17708
  useCssVars((_ctx) => ({
17709
- "d85b92ba": unref(token).boxShadow,
17710
- "67c1d932": `${unref(token).borderRadius}px`
17709
+ "89ac766c": unref(token).boxShadow,
17710
+ "18572299": `${unref(token).borderRadius}px`
17711
17711
  }));
17712
17712
  const WListHeaderPropsKeyMirror = {
17713
17713
  column: true,
@@ -17924,8 +17924,9 @@ const _sfc_main$e = /* @__PURE__ */ defineComponent({
17924
17924
  var _a, _b;
17925
17925
  try {
17926
17926
  await ((_b = (_a = headerRef.value) == null ? void 0 : _a.getFormInstance()) == null ? void 0 : _b.validate());
17927
+ form.value = { ...form.value, ...params };
17927
17928
  tableData.value.loading = true;
17928
- let data = clone({ ...form.value, ...params }, true);
17929
+ let data = clone(form.value, true);
17929
17930
  if (typeof (headerProps == null ? void 0 : headerProps.translateForm) === "function") {
17930
17931
  data = await (headerProps == null ? void 0 : headerProps.translateForm(data));
17931
17932
  }
@@ -18088,7 +18089,7 @@ const _sfc_main$e = /* @__PURE__ */ defineComponent({
18088
18089
  };
18089
18090
  }
18090
18091
  });
18091
- const index$1 = /* @__PURE__ */ _export_sfc(_sfc_main$e, [["__scopeId", "data-v-7d57fec2"]]);
18092
+ const index$1 = /* @__PURE__ */ _export_sfc(_sfc_main$e, [["__scopeId", "data-v-e84a7470"]]);
18092
18093
  const _hoisted_1$a = ["onClick"];
18093
18094
  const _sfc_main$d = /* @__PURE__ */ defineComponent({
18094
18095
  ...{
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "wlwy-package",
3
- "version": "3.1.55",
3
+ "version": "3.1.56",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "main": "dist/wlwy-package.es.js",