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