@wx-design/components 2.0.0-alpha.5 → 2.0.0-alpha.7
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.
- package/es/core/Select/index.vue.d.ts +9 -0
- package/es/index.mjs +9 -2
- package/es/style.css +1 -1
- package/lib/core/Select/index.vue.d.ts +9 -0
- package/lib/index.js +1 -1
- package/lib/style.css +1 -1
- package/package.json +1 -1
|
@@ -16,6 +16,15 @@ 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): Promise<{
|
|
20
|
+
dataSource: any[];
|
|
21
|
+
pagination: {
|
|
22
|
+
current: number;
|
|
23
|
+
size: number;
|
|
24
|
+
pages: number;
|
|
25
|
+
};
|
|
26
|
+
query: string;
|
|
27
|
+
}>;
|
|
19
28
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
20
29
|
focus: (value: any) => any;
|
|
21
30
|
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
|
|
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,13 @@ const doe = /* @__PURE__ */ Ao({
|
|
|
46726
46726
|
return t({
|
|
46727
46727
|
setPagination(N) {
|
|
46728
46728
|
Object.assign(u, { ...N });
|
|
46729
|
+
},
|
|
46730
|
+
async revalidate(N, _) {
|
|
46731
|
+
return await g(N, _), {
|
|
46732
|
+
dataSource: a.value,
|
|
46733
|
+
pagination: u,
|
|
46734
|
+
query: v.value
|
|
46735
|
+
};
|
|
46729
46736
|
}
|
|
46730
46737
|
}), (N, _) => N.enableLoadmore || N.selectType === "v1" ? (co(), Sl(Sn(pC), Xn({
|
|
46731
46738
|
key: 0,
|
|
@@ -46827,7 +46834,7 @@ const doe = /* @__PURE__ */ Ao({
|
|
|
46827
46834
|
]), 1040, ["modelValue", "props", "options", "remote-method"]));
|
|
46828
46835
|
}
|
|
46829
46836
|
});
|
|
46830
|
-
const aC = /* @__PURE__ */ mT(doe, [["__scopeId", "data-v-
|
|
46837
|
+
const aC = /* @__PURE__ */ mT(doe, [["__scopeId", "data-v-3abcecf1"]]), woe = /* @__PURE__ */ Ao({
|
|
46831
46838
|
__name: "index",
|
|
46832
46839
|
props: {
|
|
46833
46840
|
lang: {}
|