@wx-design/components 1.3.3 → 1.3.5
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
|
@@ -43631,8 +43631,12 @@ const KQ = /* @__PURE__ */ rt({
|
|
|
43631
43631
|
setPagination(q) {
|
|
43632
43632
|
Object.assign(c, { ...q });
|
|
43633
43633
|
},
|
|
43634
|
-
revalidate(q, L) {
|
|
43635
|
-
p(q, L)
|
|
43634
|
+
async revalidate(q, L) {
|
|
43635
|
+
return await p(q, L), {
|
|
43636
|
+
dataSource: s.value,
|
|
43637
|
+
pagination: c,
|
|
43638
|
+
query: u.value
|
|
43639
|
+
};
|
|
43636
43640
|
}
|
|
43637
43641
|
}), (q, L) => q.enableLoadmore || q.selectType === "v1" ? (Wn(), nr(nn(nb), Rn({
|
|
43638
43642
|
key: 0,
|
|
@@ -43734,7 +43738,7 @@ const KQ = /* @__PURE__ */ rt({
|
|
|
43734
43738
|
]), 1040, ["modelValue", "props", "options", "remote-method"]));
|
|
43735
43739
|
}
|
|
43736
43740
|
});
|
|
43737
|
-
const Kv = /* @__PURE__ */ pw(KQ, [["__scopeId", "data-v-
|
|
43741
|
+
const Kv = /* @__PURE__ */ pw(KQ, [["__scopeId", "data-v-3abcecf1"]]), JQ = /* @__PURE__ */ rt({
|
|
43738
43742
|
__name: "index",
|
|
43739
43743
|
props: {
|
|
43740
43744
|
lang: {}
|