@wx-design/components 2.0.0-alpha.5 → 2.0.0-alpha.6

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.
@@ -16,6 +16,7 @@ declare function __VLS_template(): {
16
16
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
17
17
  declare const __VLS_component: import('vue').DefineComponent<SabSelectProps, {
18
18
  setPagination(page: Partial<Pagination>): void;
19
+ revalidate(key?: string, current?: number): void;
19
20
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
20
21
  focus: (value: any) => any;
21
22
  blur: (value: any) => any;
package/es/index.mjs CHANGED
@@ -46640,7 +46640,7 @@ const doe = /* @__PURE__ */ Ao({
46640
46640
  }
46641
46641
  ), x = (N) => g(N, 1), b = () => {
46642
46642
  if (r.enableLoadmore)
46643
- return o("loadmore", v.value, u.current + 1), g(v.value, u.current + 1);
46643
+ return u.current = u.current + 1, o("loadmore", v.value, u), g(v.value, u.current + 1);
46644
46644
  };
46645
46645
  Ln(() => {
46646
46646
  x();
@@ -46726,6 +46726,9 @@ const doe = /* @__PURE__ */ Ao({
46726
46726
  return t({
46727
46727
  setPagination(N) {
46728
46728
  Object.assign(u, { ...N });
46729
+ },
46730
+ revalidate(N, _) {
46731
+ g(N, _);
46729
46732
  }
46730
46733
  }), (N, _) => N.enableLoadmore || N.selectType === "v1" ? (co(), Sl(Sn(pC), Xn({
46731
46734
  key: 0,
@@ -46827,7 +46830,7 @@ const doe = /* @__PURE__ */ Ao({
46827
46830
  ]), 1040, ["modelValue", "props", "options", "remote-method"]));
46828
46831
  }
46829
46832
  });
46830
- const aC = /* @__PURE__ */ mT(doe, [["__scopeId", "data-v-214180c9"]]), woe = /* @__PURE__ */ Ao({
46833
+ const aC = /* @__PURE__ */ mT(doe, [["__scopeId", "data-v-987bb1f7"]]), woe = /* @__PURE__ */ Ao({
46831
46834
  __name: "index",
46832
46835
  props: {
46833
46836
  lang: {}