vft 0.0.153 → 0.0.154
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/app-components/button/button-custom.d.ts +1 -1
- package/es/app-components/form/hooks/use-form-common-props.d.ts +4 -5
- package/es/app-components/hooks/use-id.d.ts +1 -2
- package/es/components/affix/affix.d.ts +2 -2
- package/es/components/affix/affix.vue.d.ts +1 -1
- package/es/components/affix/index.d.ts +3 -3
- package/es/components/autocomplete/autocomplete.vue.d.ts +17 -17
- package/es/components/autocomplete/index.d.ts +51 -51
- package/es/components/button/button-custom.d.ts +1 -1
- package/es/components/button/button.vue.d.ts +1 -1
- package/es/components/button/index.d.ts +3 -3
- package/es/components/button/use-button.d.ts +3 -3
- package/es/components/carousel/carousel.vue.d.ts +1 -1
- package/es/components/carousel/index.d.ts +19 -19
- package/es/components/carousel/use-carousel.d.ts +2 -2
- package/es/components/checkbox/composables/use-checkbox-disabled.d.ts +1 -1
- package/es/components/checkbox/composables/use-checkbox.d.ts +1 -1
- package/es/components/checkbox/index.d.ts +48 -48
- package/es/components/config-provider/hooks/use-global-config.d.ts +2 -3
- package/es/components/date-picker/composables/use-range-picker.d.ts +1 -1
- package/es/components/date-picker/date-picker.d.ts +19 -3
- package/es/components/date-picker/index.d.ts +38 -6
- package/es/components/date-picker/props/date-picker.d.ts +9 -1
- package/es/components/date-picker/props/shared.d.ts +1 -1
- package/es/components/date-picker/utils.d.ts +1 -1
- package/es/components/dialog/dialog.vue.d.ts +2 -2
- package/es/components/dialog/index.d.ts +6 -6
- package/es/components/drawer/drawer.vue.d.ts +2 -2
- package/es/components/drawer/index.d.ts +6 -6
- package/es/components/dropdown/dropdown.vue.d.ts +2 -2
- package/es/components/dropdown/index.d.ts +30 -30
- package/es/components/form/hooks/use-form-common-props.d.ts +4 -6
- package/es/components/icon/icon.vue2.js +20 -21
- package/es/components/loading/index.d.ts +9 -17
- package/es/components/loading/loading.d.ts +9 -17
- package/es/components/multiple-tabs/multiple-tabs.vue2.js +97 -67
- package/es/components/popover/index.d.ts +8 -8
- package/es/components/popper/composables/use-content-dom.d.ts +1 -3
- package/es/components/popper/composables/use-content.d.ts +6 -70
- package/es/components/popper/index.d.ts +3 -3
- package/es/components/popper/popper.vue.d.ts +1 -2
- package/es/components/popper/utils.d.ts +2 -45
- package/es/components/radio/index.d.ts +24 -24
- package/es/components/radio/use-radio.d.ts +1 -1
- package/es/components/select/defaults.d.ts +3 -4
- package/es/components/select/index.d.ts +58 -58
- package/es/components/select/select.vue.d.ts +29 -29
- package/es/components/select/useSelect.d.ts +18 -18
- package/es/components/side-menu/index.d.ts +4 -8
- package/es/components/side-menu/side-menu.vue.d.ts +2 -2
- package/es/components/side-menu/side-menu.vue2.js +44 -44
- package/es/components/slider/composables/use-slide.d.ts +6 -6
- package/es/components/slider/index.d.ts +2 -2
- package/es/components/slider/slider.d.ts +3 -3
- package/es/components/space/index.d.ts +2 -5
- package/es/components/space/space.d.ts +2 -5
- package/es/components/super-form/index.d.ts +3 -3
- package/es/components/super-form/super-form.vue.d.ts +1 -1
- package/es/components/table/index.d.ts +24 -24
- package/es/components/table/use/use-columns.d.ts +3 -801
- package/es/components/tabs/tabs.vue2.js +4 -4
- package/es/components/time-picker/common/picker.vue.d.ts +20 -5
- package/es/components/time-picker/common/props.d.ts +9 -2
- package/es/components/time-picker/composables/use-time-picker.d.ts +2 -2
- package/es/components/time-picker/index.d.ts +38 -6
- package/es/components/time-picker/time-picker.d.ts +19 -3
- package/es/components/time-picker/utils.d.ts +1 -1
- package/es/components/time-select/time-select.vue.d.ts +1 -1
- package/es/components/tooltip/index.d.ts +16 -16
- package/es/components/tooltip/utils.d.ts +1 -1
- package/es/components/upload/use-handlers.d.ts +1 -21
- package/es/components/virtual-list/hooks/use-cache.d.ts +1 -1
- package/es/hooks/use-id/index.d.ts +1 -2
- package/es/hooks/use-model-toggle/index.d.ts +2 -2
- package/es/hooks/use-popper/index.d.ts +7 -70
- package/es/hooks/use-same-target/index.d.ts +3 -3
- package/es/hooks/use-z-index/index.d.ts +1 -1
- package/es/package.json.d.ts +1 -1
- package/es/package.json.js +1 -1
- package/lib/app-components/button/button-custom.d.ts +1 -1
- package/lib/app-components/form/hooks/use-form-common-props.d.ts +4 -5
- package/lib/app-components/hooks/use-id.d.ts +1 -2
- package/lib/components/affix/affix.d.ts +2 -2
- package/lib/components/affix/affix.vue.d.ts +1 -1
- package/lib/components/affix/index.d.ts +3 -3
- package/lib/components/autocomplete/autocomplete.vue.d.ts +17 -17
- package/lib/components/autocomplete/index.d.ts +51 -51
- package/lib/components/button/button-custom.d.ts +1 -1
- package/lib/components/button/button.vue.d.ts +1 -1
- package/lib/components/button/index.d.ts +3 -3
- package/lib/components/button/use-button.d.ts +3 -3
- package/lib/components/carousel/carousel.vue.d.ts +1 -1
- package/lib/components/carousel/index.d.ts +19 -19
- package/lib/components/carousel/use-carousel.d.ts +2 -2
- package/lib/components/checkbox/composables/use-checkbox-disabled.d.ts +1 -1
- package/lib/components/checkbox/composables/use-checkbox.d.ts +1 -1
- package/lib/components/checkbox/index.d.ts +48 -48
- package/lib/components/config-provider/hooks/use-global-config.d.ts +2 -3
- package/lib/components/date-picker/composables/use-range-picker.d.ts +1 -1
- package/lib/components/date-picker/date-picker.d.ts +19 -3
- package/lib/components/date-picker/index.d.ts +38 -6
- package/lib/components/date-picker/props/date-picker.d.ts +9 -1
- package/lib/components/date-picker/props/shared.d.ts +1 -1
- package/lib/components/date-picker/utils.d.ts +1 -1
- package/lib/components/dialog/dialog.vue.d.ts +2 -2
- package/lib/components/dialog/index.d.ts +6 -6
- package/lib/components/drawer/drawer.vue.d.ts +2 -2
- package/lib/components/drawer/index.d.ts +6 -6
- package/lib/components/dropdown/dropdown.vue.d.ts +2 -2
- package/lib/components/dropdown/index.d.ts +30 -30
- package/lib/components/form/hooks/use-form-common-props.d.ts +4 -6
- package/lib/components/icon/icon.vue2.cjs +1 -1
- package/lib/components/loading/index.d.ts +9 -17
- package/lib/components/loading/loading.d.ts +9 -17
- package/lib/components/multiple-tabs/multiple-tabs.vue2.cjs +1 -1
- package/lib/components/popover/index.d.ts +8 -8
- package/lib/components/popper/composables/use-content-dom.d.ts +1 -3
- package/lib/components/popper/composables/use-content.d.ts +6 -70
- package/lib/components/popper/index.d.ts +3 -3
- package/lib/components/popper/popper.vue.d.ts +1 -2
- package/lib/components/popper/utils.d.ts +2 -45
- package/lib/components/radio/index.d.ts +24 -24
- package/lib/components/radio/use-radio.d.ts +1 -1
- package/lib/components/select/defaults.d.ts +3 -4
- package/lib/components/select/index.d.ts +58 -58
- package/lib/components/select/select.vue.d.ts +29 -29
- package/lib/components/select/useSelect.d.ts +18 -18
- package/lib/components/side-menu/index.d.ts +4 -8
- package/lib/components/side-menu/side-menu.vue.d.ts +2 -2
- package/lib/components/side-menu/side-menu.vue2.cjs +1 -1
- package/lib/components/slider/composables/use-slide.d.ts +6 -6
- package/lib/components/slider/index.d.ts +2 -2
- package/lib/components/slider/slider.d.ts +3 -3
- package/lib/components/space/index.d.ts +2 -5
- package/lib/components/space/space.d.ts +2 -5
- package/lib/components/super-form/index.d.ts +3 -3
- package/lib/components/super-form/super-form.vue.d.ts +1 -1
- package/lib/components/table/index.d.ts +24 -24
- package/lib/components/table/use/use-columns.d.ts +3 -801
- package/lib/components/tabs/tabs.vue2.cjs +1 -1
- package/lib/components/time-picker/common/picker.vue.d.ts +20 -5
- package/lib/components/time-picker/common/props.d.ts +9 -2
- package/lib/components/time-picker/composables/use-time-picker.d.ts +2 -2
- package/lib/components/time-picker/index.d.ts +38 -6
- package/lib/components/time-picker/time-picker.d.ts +19 -3
- package/lib/components/time-picker/utils.d.ts +1 -1
- package/lib/components/time-select/time-select.vue.d.ts +1 -1
- package/lib/components/tooltip/index.d.ts +16 -16
- package/lib/components/tooltip/utils.d.ts +1 -1
- package/lib/components/upload/use-handlers.d.ts +1 -21
- package/lib/components/virtual-list/hooks/use-cache.d.ts +1 -1
- package/lib/hooks/use-id/index.d.ts +1 -2
- package/lib/hooks/use-model-toggle/index.d.ts +2 -2
- package/lib/hooks/use-popper/index.d.ts +7 -70
- package/lib/hooks/use-same-target/index.d.ts +3 -3
- package/lib/hooks/use-z-index/index.d.ts +1 -1
- package/lib/package.json.cjs +1 -1
- package/lib/package.json.d.ts +1 -1
- package/package.json +5 -5
- package/web-types.json +1 -1
- package/es/components/super-form/types.d.ts +0 -176
- package/lib/components/super-form/types.d.ts +0 -176
|
@@ -45,9 +45,7 @@ export declare const VftSideMenu: import("vft/es/utils").SFCWithInstall<import("
|
|
|
45
45
|
default: boolean;
|
|
46
46
|
};
|
|
47
47
|
dragOption: {
|
|
48
|
-
type: globalThis.PropType<
|
|
49
|
-
dragClassName: string;
|
|
50
|
-
}>;
|
|
48
|
+
type: globalThis.PropType<any>;
|
|
51
49
|
};
|
|
52
50
|
dragWidthCfg: {
|
|
53
51
|
type: globalThis.PropType<boolean | {
|
|
@@ -80,7 +78,7 @@ export declare const VftSideMenu: import("vft/es/utils").SFCWithInstall<import("
|
|
|
80
78
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
81
79
|
"update:collapse": (val: boolean) => void;
|
|
82
80
|
"update:width": (val: string | number) => void;
|
|
83
|
-
dragEnd: (oldIndex:
|
|
81
|
+
dragEnd: (oldIndex: SortableEvent, newIndex: SortableEvent) => void;
|
|
84
82
|
dragWidthEnd: () => void;
|
|
85
83
|
select: (val: {
|
|
86
84
|
route: string;
|
|
@@ -136,9 +134,7 @@ export declare const VftSideMenu: import("vft/es/utils").SFCWithInstall<import("
|
|
|
136
134
|
default: boolean;
|
|
137
135
|
};
|
|
138
136
|
dragOption: {
|
|
139
|
-
type: globalThis.PropType<
|
|
140
|
-
dragClassName: string;
|
|
141
|
-
}>;
|
|
137
|
+
type: globalThis.PropType<any>;
|
|
142
138
|
};
|
|
143
139
|
dragWidthCfg: {
|
|
144
140
|
type: globalThis.PropType<boolean | {
|
|
@@ -173,7 +169,7 @@ export declare const VftSideMenu: import("vft/es/utils").SFCWithInstall<import("
|
|
|
173
169
|
}) => any) | undefined;
|
|
174
170
|
"onUpdate:collapse"?: ((val: boolean) => any) | undefined;
|
|
175
171
|
"onUpdate:width"?: ((val: string | number) => any) | undefined;
|
|
176
|
-
onDragEnd?: ((oldIndex:
|
|
172
|
+
onDragEnd?: ((oldIndex: SortableEvent, newIndex: SortableEvent) => any) | undefined;
|
|
177
173
|
onDragWidthEnd?: (() => any) | undefined;
|
|
178
174
|
onSubMenuClick?: ((val: any) => any) | undefined;
|
|
179
175
|
onMenuItemMouseenter?: ((val: any) => any) | undefined;
|
|
@@ -45,7 +45,7 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
45
45
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
46
46
|
"update:collapse": (val: boolean) => void;
|
|
47
47
|
"update:width": (val: string | number) => void;
|
|
48
|
-
dragEnd: (oldIndex:
|
|
48
|
+
dragEnd: (oldIndex: SortableEvent, newIndex: SortableEvent) => void;
|
|
49
49
|
dragWidthEnd: () => void;
|
|
50
50
|
select: (val: {
|
|
51
51
|
route: string;
|
|
@@ -75,7 +75,7 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
75
75
|
}) => any) | undefined;
|
|
76
76
|
"onUpdate:collapse"?: ((val: boolean) => any) | undefined;
|
|
77
77
|
"onUpdate:width"?: ((val: string | number) => any) | undefined;
|
|
78
|
-
onDragEnd?: ((oldIndex:
|
|
78
|
+
onDragEnd?: ((oldIndex: SortableEvent, newIndex: SortableEvent) => any) | undefined;
|
|
79
79
|
onDragWidthEnd?: (() => any) | undefined;
|
|
80
80
|
onSubMenuClick?: ((val: any) => any) | undefined;
|
|
81
81
|
onMenuItemMouseenter?: ((val: any) => any) | undefined;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { defineComponent as I, toRefs as ie, useSlots as
|
|
1
|
+
import { defineComponent as I, toRefs as ie, useSlots as le, getCurrentInstance as ne, ref as C, computed as g, h as M, createVNode as f, onMounted as ae, nextTick as pe, watch as ue, isVNode as se } from "vue";
|
|
2
2
|
import { listenerRouteChange as de, useRouterHelper as me } from "@vft/router";
|
|
3
3
|
import { useSortable as ce } from "@vft/use";
|
|
4
|
-
import { isUrl as fe, isNullOrUndefined as j, addUnit as E, isNumber as
|
|
4
|
+
import { isUrl as fe, isNullOrUndefined as j, addUnit as E, isNumber as ve } from "@vft/utils";
|
|
5
5
|
import "../alert/index.js";
|
|
6
6
|
import "../avatar/index.js";
|
|
7
7
|
import "../backtop/index.js";
|
|
@@ -31,7 +31,7 @@ import "../form/index.js";
|
|
|
31
31
|
import "../full-screen/index.js";
|
|
32
32
|
import "../header-layout/index.js";
|
|
33
33
|
import "../horizontal-menu/index.js";
|
|
34
|
-
import { VftIcon as
|
|
34
|
+
import { VftIcon as he } from "../icon/index.js";
|
|
35
35
|
import "../icon-text/index.js";
|
|
36
36
|
import "../iframe-layout/index.js";
|
|
37
37
|
import "../image/index.js";
|
|
@@ -172,11 +172,11 @@ const Se = I({
|
|
|
172
172
|
}) {
|
|
173
173
|
const t = b, {
|
|
174
174
|
defaultActive: S,
|
|
175
|
-
collapse:
|
|
175
|
+
collapse: v,
|
|
176
176
|
uniqueOpened: H,
|
|
177
177
|
defaultOpeneds: x,
|
|
178
178
|
openMenuCollapse: U
|
|
179
|
-
} = ie(t), m = P,
|
|
179
|
+
} = ie(t), m = P, l = le(), B = ne(), _ = C(), a = g(() => ({
|
|
180
180
|
path: "path",
|
|
181
181
|
children: "children",
|
|
182
182
|
title: "title",
|
|
@@ -193,9 +193,9 @@ const Se = I({
|
|
|
193
193
|
var r;
|
|
194
194
|
const o = e.e;
|
|
195
195
|
if (t.autoScrollActiveDom && o) {
|
|
196
|
-
const
|
|
196
|
+
const p = ve(t.autoScrollActiveDom) ? t.autoScrollActiveDom : 0, i = o.target;
|
|
197
197
|
(r = y.value) != null && r.menu && i && setTimeout(() => {
|
|
198
|
-
y.value.menu.scrollTop = y.value.menu.scrollTop + (i.getBoundingClientRect().top - y.value.menu.getBoundingClientRect().top) +
|
|
198
|
+
y.value.menu.scrollTop = y.value.menu.scrollTop + (i.getBoundingClientRect().top - y.value.menu.getBoundingClientRect().top) + p;
|
|
199
199
|
}, 300);
|
|
200
200
|
}
|
|
201
201
|
m("subMenuClick", e);
|
|
@@ -204,7 +204,7 @@ const Se = I({
|
|
|
204
204
|
}, $ = (e) => {
|
|
205
205
|
m("menuItemMouseleave", e);
|
|
206
206
|
}, T = (e, o) => {
|
|
207
|
-
const r = e[
|
|
207
|
+
const r = e[a.value.path], p = e[a.value.title], i = e == null ? void 0 : e[a.value.children], c = e == null ? void 0 : e[a.value.index], s = e == null ? void 0 : e[a.value.icon], d = !!(e != null && e[a.value.disabled]), h = t.disabledJudgeTurnOver ? !d : d, N = c || r || o + p;
|
|
208
208
|
return i != null && i.length ? M(
|
|
209
209
|
// @ts-ignore
|
|
210
210
|
be,
|
|
@@ -213,29 +213,29 @@ const Se = I({
|
|
|
213
213
|
popperAppendToBody: !0,
|
|
214
214
|
key: N,
|
|
215
215
|
index: N,
|
|
216
|
-
title:
|
|
216
|
+
title: p,
|
|
217
217
|
icon: s,
|
|
218
|
-
disabled: t.openDisabled &&
|
|
218
|
+
disabled: t.openDisabled && h,
|
|
219
219
|
popperClass: u.e("popper")
|
|
220
220
|
},
|
|
221
221
|
{
|
|
222
|
-
default: () => i == null ? void 0 : i.map((
|
|
222
|
+
default: () => i == null ? void 0 : i.map((n, ee) => {
|
|
223
223
|
var V;
|
|
224
|
-
const w =
|
|
225
|
-
return (V =
|
|
224
|
+
const w = n[a.value.path], W = n[a.value.index], te = n[a.value.icon], oe = n[a.value.title], A = !!n[a.value.disabled], re = t.disabledJudgeTurnOver ? !A : A;
|
|
225
|
+
return (V = n == null ? void 0 : n[a.value.children]) != null && V.length ? T(n, ee) : (
|
|
226
226
|
// @ts-ignore
|
|
227
227
|
M(q, {
|
|
228
|
-
...
|
|
228
|
+
...n,
|
|
229
229
|
key: W || w,
|
|
230
230
|
index: W || w,
|
|
231
231
|
route: w,
|
|
232
232
|
icon: te,
|
|
233
233
|
title: oe,
|
|
234
234
|
disabled: t.openDisabled && re
|
|
235
|
-
},
|
|
235
|
+
}, l.menuItem ? () => {
|
|
236
236
|
var J;
|
|
237
|
-
return (J =
|
|
238
|
-
item:
|
|
237
|
+
return (J = l.menuItem) == null ? void 0 : J.call(l, {
|
|
238
|
+
item: n
|
|
239
239
|
});
|
|
240
240
|
} : "")
|
|
241
241
|
);
|
|
@@ -245,21 +245,21 @@ const Se = I({
|
|
|
245
245
|
...e,
|
|
246
246
|
key: c || r,
|
|
247
247
|
index: c || r,
|
|
248
|
-
title:
|
|
248
|
+
title: p,
|
|
249
249
|
route: r,
|
|
250
250
|
icon: s,
|
|
251
|
-
disabled: t.openDisabled &&
|
|
251
|
+
disabled: t.openDisabled && h,
|
|
252
252
|
onMouseenter: () => Z(e),
|
|
253
253
|
onMouseleave: () => $(e)
|
|
254
|
-
},
|
|
255
|
-
var
|
|
256
|
-
return (
|
|
254
|
+
}, l.menuItem ? () => {
|
|
255
|
+
var n;
|
|
256
|
+
return (n = l.menuItem) == null ? void 0 : n.call(l, {
|
|
257
257
|
item: e,
|
|
258
258
|
index: o
|
|
259
259
|
});
|
|
260
260
|
} : "");
|
|
261
261
|
}, y = C(), z = g(() => ({
|
|
262
|
-
...t.collapseWidth === 0 &&
|
|
262
|
+
...t.collapseWidth === 0 && v.value ? {
|
|
263
263
|
width: 0
|
|
264
264
|
} : {},
|
|
265
265
|
height: `calc(100% - ${t.menuTopBottomHeight}px)`
|
|
@@ -267,29 +267,29 @@ const Se = I({
|
|
|
267
267
|
var o, r;
|
|
268
268
|
let e;
|
|
269
269
|
return M(f(ge, {
|
|
270
|
-
ref: y,
|
|
270
|
+
ref: y.value,
|
|
271
271
|
onSelect: G,
|
|
272
272
|
onOpen: F,
|
|
273
273
|
defaultActive: (S == null ? void 0 : S.value) || _.value,
|
|
274
274
|
defaultOpeneds: x == null ? void 0 : x.value,
|
|
275
275
|
class: [u.e("con"), (o = t.dragOption) != null && o.dragClassName ? u.e((r = t.dragOption) == null ? void 0 : r.dragClassName) : ""],
|
|
276
276
|
style: z.value,
|
|
277
|
-
collapse: U.value ?
|
|
277
|
+
collapse: U.value ? v.value : !1,
|
|
278
278
|
uniqueOpened: H.value,
|
|
279
279
|
collapseTransition: !1
|
|
280
|
-
}, Me(e = t.menus.map((
|
|
280
|
+
}, Me(e = t.menus.map((p, i) => T(p, i))) ? e : {
|
|
281
281
|
default: () => [e]
|
|
282
282
|
}));
|
|
283
283
|
}), D = B.appContext.config.globalProperties.$router;
|
|
284
284
|
async function G(e) {
|
|
285
|
-
var o, r,
|
|
285
|
+
var o, r, p;
|
|
286
286
|
if (t.useRouterJump) {
|
|
287
287
|
const {
|
|
288
288
|
go: i
|
|
289
289
|
} = me(D), c = e.route;
|
|
290
290
|
let s = e.route;
|
|
291
|
-
e.indexPath.some((
|
|
292
|
-
const d = (
|
|
291
|
+
e.indexPath.some((h) => fe(h)) && (s = e.indexPath.slice(-2).join("/"));
|
|
292
|
+
const d = (p = (r = (o = D.getRoutes().filter((h) => h.path === s)) == null ? void 0 : o[0]) == null ? void 0 : r.meta) == null ? void 0 : p.linkTarget;
|
|
293
293
|
i(d ? {
|
|
294
294
|
url: c,
|
|
295
295
|
winOpenOpt: {
|
|
@@ -299,13 +299,13 @@ const Se = I({
|
|
|
299
299
|
}
|
|
300
300
|
m("select", e);
|
|
301
301
|
}
|
|
302
|
-
|
|
303
|
-
|
|
302
|
+
ae(() => {
|
|
303
|
+
pe(() => {
|
|
304
304
|
var e, o, r;
|
|
305
305
|
if ((e = t.dragOption) != null && e.dragClassName) {
|
|
306
|
-
const
|
|
306
|
+
const p = (r = document.querySelectorAll("." + u.e((o = t.dragOption) == null ? void 0 : o.dragClassName))) == null ? void 0 : r[0], {
|
|
307
307
|
initSortable: i
|
|
308
|
-
} = ce(
|
|
308
|
+
} = ce(p, {
|
|
309
309
|
draggable: ".vft-menu-item",
|
|
310
310
|
onEnd: (c) => {
|
|
311
311
|
const {
|
|
@@ -321,13 +321,13 @@ const Se = I({
|
|
|
321
321
|
});
|
|
322
322
|
});
|
|
323
323
|
const O = C(), R = C(), k = C(), K = g(() => ({
|
|
324
|
-
...t.collapseWidth === 0 &&
|
|
324
|
+
...t.collapseWidth === 0 && v.value ? {
|
|
325
325
|
borderRight: "none"
|
|
326
326
|
} : {},
|
|
327
327
|
width: E(t.width),
|
|
328
328
|
height: t.height
|
|
329
329
|
}));
|
|
330
|
-
ue(() =>
|
|
330
|
+
ue(() => v.value, (e) => {
|
|
331
331
|
e ? m("update:width", t.collapseWidth) : m("update:width", k.value || t.width), k.value = t.width;
|
|
332
332
|
}), t.dragWidthCfg && Ce(O, R, B);
|
|
333
333
|
const Q = g(() => ({
|
|
@@ -338,24 +338,24 @@ const Se = I({
|
|
|
338
338
|
}), () => {
|
|
339
339
|
var e;
|
|
340
340
|
return f("div", {
|
|
341
|
-
ref: O,
|
|
341
|
+
ref: O.value,
|
|
342
342
|
class: X.value,
|
|
343
343
|
style: K.value
|
|
344
|
-
}, [
|
|
344
|
+
}, [l.top ? f("div", {
|
|
345
345
|
class: u.e("top")
|
|
346
|
-
}, [
|
|
346
|
+
}, [l.top()]) : null, Y.value, l.bottom ? f("div", {
|
|
347
347
|
class: u.e("bottom")
|
|
348
|
-
}, [
|
|
349
|
-
onClick: () => m("update:collapse", !
|
|
348
|
+
}, [l.bottom()]) : t.showCollapse ? f("div", {
|
|
349
|
+
onClick: () => m("update:collapse", !v.value),
|
|
350
350
|
class: [u.e("bottom"), u.e("collapse")]
|
|
351
|
-
}, [f(
|
|
351
|
+
}, [f(he, {
|
|
352
352
|
style: {
|
|
353
|
-
transform:
|
|
353
|
+
transform: v.value ? "rotateY(180deg)" : ""
|
|
354
354
|
},
|
|
355
355
|
size: 20,
|
|
356
356
|
icon: "icon-sidebar-collapse"
|
|
357
|
-
}, null)]) : null, (e =
|
|
358
|
-
ref: R,
|
|
357
|
+
}, null)]) : null, (e = l.default) == null ? void 0 : e.call(l), t.dragWidthCfg ? f("div", {
|
|
358
|
+
ref: R.value,
|
|
359
359
|
style: Q.value,
|
|
360
360
|
class: u.e("drag-bar")
|
|
361
361
|
}, null) : null]);
|
|
@@ -16,7 +16,7 @@ export declare const useSlide: (props: SliderProps, initData: SliderInitData, em
|
|
|
16
16
|
type: globalThis.PropType<string>;
|
|
17
17
|
};
|
|
18
18
|
placement: {
|
|
19
|
-
type: globalThis.PropType<
|
|
19
|
+
type: globalThis.PropType<any>;
|
|
20
20
|
};
|
|
21
21
|
}>> & {
|
|
22
22
|
"onUpdate:modelValue"?: ((value: number) => any) | undefined;
|
|
@@ -39,7 +39,7 @@ export declare const useSlide: (props: SliderProps, initData: SliderInitData, em
|
|
|
39
39
|
type: globalThis.PropType<string>;
|
|
40
40
|
};
|
|
41
41
|
placement: {
|
|
42
|
-
type: globalThis.PropType<
|
|
42
|
+
type: globalThis.PropType<any>;
|
|
43
43
|
};
|
|
44
44
|
}>> & {
|
|
45
45
|
"onUpdate:modelValue"?: ((value: number) => any) | undefined;
|
|
@@ -61,7 +61,7 @@ export declare const useSlide: (props: SliderProps, initData: SliderInitData, em
|
|
|
61
61
|
type: globalThis.PropType<string>;
|
|
62
62
|
};
|
|
63
63
|
placement: {
|
|
64
|
-
type: globalThis.PropType<
|
|
64
|
+
type: globalThis.PropType<any>;
|
|
65
65
|
};
|
|
66
66
|
}>> & {
|
|
67
67
|
"onUpdate:modelValue"?: ((value: number) => any) | undefined;
|
|
@@ -83,7 +83,7 @@ export declare const useSlide: (props: SliderProps, initData: SliderInitData, em
|
|
|
83
83
|
type: globalThis.PropType<string>;
|
|
84
84
|
};
|
|
85
85
|
placement: {
|
|
86
|
-
type: globalThis.PropType<
|
|
86
|
+
type: globalThis.PropType<any>;
|
|
87
87
|
};
|
|
88
88
|
}>> & {
|
|
89
89
|
"onUpdate:modelValue"?: ((value: number) => any) | undefined;
|
|
@@ -106,7 +106,7 @@ export declare const useSlide: (props: SliderProps, initData: SliderInitData, em
|
|
|
106
106
|
type: globalThis.PropType<string>;
|
|
107
107
|
};
|
|
108
108
|
placement: {
|
|
109
|
-
type: globalThis.PropType<
|
|
109
|
+
type: globalThis.PropType<any>;
|
|
110
110
|
};
|
|
111
111
|
}>> & {
|
|
112
112
|
"onUpdate:modelValue"?: ((value: number) => any) | undefined;
|
|
@@ -128,7 +128,7 @@ export declare const useSlide: (props: SliderProps, initData: SliderInitData, em
|
|
|
128
128
|
type: globalThis.PropType<string>;
|
|
129
129
|
};
|
|
130
130
|
placement: {
|
|
131
|
-
type: globalThis.PropType<
|
|
131
|
+
type: globalThis.PropType<any>;
|
|
132
132
|
};
|
|
133
133
|
}>> & {
|
|
134
134
|
"onUpdate:modelValue"?: ((value: number) => any) | undefined;
|
|
@@ -66,7 +66,7 @@ export declare const VftSlider: import("vft/es/utils").SFCWithInstall<import("vu
|
|
|
66
66
|
type: globalThis.PropType<string>;
|
|
67
67
|
};
|
|
68
68
|
placement: {
|
|
69
|
-
type: globalThis.PropType<
|
|
69
|
+
type: globalThis.PropType<any>;
|
|
70
70
|
};
|
|
71
71
|
marks: {
|
|
72
72
|
type: globalThis.PropType<Record<number, string | {
|
|
@@ -151,7 +151,7 @@ export declare const VftSlider: import("vft/es/utils").SFCWithInstall<import("vu
|
|
|
151
151
|
type: globalThis.PropType<string>;
|
|
152
152
|
};
|
|
153
153
|
placement: {
|
|
154
|
-
type: globalThis.PropType<
|
|
154
|
+
type: globalThis.PropType<any>;
|
|
155
155
|
};
|
|
156
156
|
marks: {
|
|
157
157
|
type: globalThis.PropType<Record<number, string | {
|
|
@@ -8,9 +8,9 @@ export interface SliderInitData {
|
|
|
8
8
|
sliderSize: number;
|
|
9
9
|
}
|
|
10
10
|
export declare const sliderEmits: {
|
|
11
|
-
"update:modelValue": (value: Arrayable<number>) =>
|
|
12
|
-
input: (value: Arrayable<number>) =>
|
|
13
|
-
change: (value: Arrayable<number>) =>
|
|
11
|
+
"update:modelValue": (value: Arrayable<number>) => any;
|
|
12
|
+
input: (value: Arrayable<number>) => any;
|
|
13
|
+
change: (value: Arrayable<number>) => any;
|
|
14
14
|
};
|
|
15
15
|
export type SliderEmits = typeof sliderEmits;
|
|
16
16
|
export type SliderInstance = InstanceType<typeof Slider>;
|
|
@@ -19,12 +19,9 @@ export declare const VftSpace: import("vft/es/utils").SFCWithInstall<import("vue
|
|
|
19
19
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
20
20
|
__epPropKey: true;
|
|
21
21
|
};
|
|
22
|
-
}, () =>
|
|
22
|
+
}, () => globalThis.VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
23
23
|
[key: string]: any;
|
|
24
|
-
}> | {
|
|
25
|
-
[name: string]: unknown;
|
|
26
|
-
$stable?: boolean | undefined;
|
|
27
|
-
} | null, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<{
|
|
24
|
+
}> | import("vue").VNodeNormalizedChildren, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<{
|
|
28
25
|
readonly direction: import("vft/es/utils").EpPropFinalized<StringConstructor, "vertical" | "horizontal", unknown, "horizontal", boolean>;
|
|
29
26
|
readonly class: import("vft/es/utils").EpPropFinalized<(new (...args: any[]) => string | Record<string, boolean> | (string | Record<string, boolean>)[]) | (() => import("vft/es/utils").Arrayable<string | Record<string, boolean>>) | ((new (...args: any[]) => string | Record<string, boolean> | (string | Record<string, boolean>)[]) | (() => import("vft/es/utils").Arrayable<string | Record<string, boolean>>))[], unknown, unknown, "", boolean>;
|
|
30
27
|
readonly style: import("vft/es/utils").EpPropFinalized<(new (...args: any[]) => string | false | import("vue").CSSProperties | import("vue").StyleValue[]) | (() => import("vue").StyleValue) | ((new (...args: any[]) => string | false | import("vue").CSSProperties | import("vue").StyleValue[]) | (() => import("vue").StyleValue))[], unknown, unknown, "", boolean>;
|
|
@@ -44,12 +44,9 @@ declare const Space: import("vue").DefineComponent<{
|
|
|
44
44
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
45
45
|
__epPropKey: true;
|
|
46
46
|
};
|
|
47
|
-
}, () =>
|
|
47
|
+
}, () => VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
48
48
|
[key: string]: any;
|
|
49
|
-
}> | {
|
|
50
|
-
[name: string]: unknown;
|
|
51
|
-
$stable?: boolean | undefined;
|
|
52
|
-
} | null, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ExtractPropTypes<{
|
|
49
|
+
}> | import("vue").VNodeNormalizedChildren, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ExtractPropTypes<{
|
|
53
50
|
readonly direction: import("vft/es/utils").EpPropFinalized<StringConstructor, "vertical" | "horizontal", unknown, "horizontal", boolean>;
|
|
54
51
|
readonly class: import("vft/es/utils").EpPropFinalized<(new (...args: any[]) => string | Record<string, boolean> | (string | Record<string, boolean>)[]) | (() => Arrayable<string | Record<string, boolean>>) | ((new (...args: any[]) => string | Record<string, boolean> | (string | Record<string, boolean>)[]) | (() => Arrayable<string | Record<string, boolean>>))[], unknown, unknown, "", boolean>;
|
|
55
52
|
readonly style: import("vft/es/utils").EpPropFinalized<(new (...args: any[]) => string | false | import("vue").CSSProperties | StyleValue[]) | (() => StyleValue) | ((new (...args: any[]) => string | false | import("vue").CSSProperties | StyleValue[]) | (() => StyleValue))[], unknown, unknown, "", boolean>;
|
|
@@ -164,7 +164,7 @@ export declare const VftSuperForm: import("vft/es/utils").SFCWithInstall<{
|
|
|
164
164
|
validateField: (nameList?: any[] | undefined) => Promise<any>;
|
|
165
165
|
validate: (nameList?: any[] | undefined) => Promise<any>;
|
|
166
166
|
submit: (e?: Event | undefined) => Promise<void>;
|
|
167
|
-
getSchema: globalThis.ComputedRef<
|
|
167
|
+
getSchema: globalThis.ComputedRef<any>;
|
|
168
168
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
169
169
|
reset: () => void;
|
|
170
170
|
submit: () => void;
|
|
@@ -513,7 +513,7 @@ export declare const VftSuperForm: import("vft/es/utils").SFCWithInstall<{
|
|
|
513
513
|
validateField: (nameList?: any[] | undefined) => Promise<any>;
|
|
514
514
|
validate: (nameList?: any[] | undefined) => Promise<any>;
|
|
515
515
|
submit: (e?: Event | undefined) => Promise<void>;
|
|
516
|
-
getSchema: globalThis.ComputedRef<
|
|
516
|
+
getSchema: globalThis.ComputedRef<any>;
|
|
517
517
|
}, {}, {}, {}, {
|
|
518
518
|
size: "" | "default" | "small" | "large";
|
|
519
519
|
labelWidth: string | number;
|
|
@@ -703,7 +703,7 @@ export declare const VftSuperForm: import("vft/es/utils").SFCWithInstall<{
|
|
|
703
703
|
validateField: (nameList?: any[] | undefined) => Promise<any>;
|
|
704
704
|
validate: (nameList?: any[] | undefined) => Promise<any>;
|
|
705
705
|
submit: (e?: Event | undefined) => Promise<void>;
|
|
706
|
-
getSchema: globalThis.ComputedRef<
|
|
706
|
+
getSchema: globalThis.ComputedRef<any>;
|
|
707
707
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
708
708
|
reset: () => void;
|
|
709
709
|
submit: () => void;
|
|
@@ -36,7 +36,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
36
36
|
validateField: (nameList?: any[] | undefined) => Promise<any>;
|
|
37
37
|
validate: (nameList?: any[] | undefined) => Promise<any>;
|
|
38
38
|
submit: (e?: Event | undefined) => Promise<void>;
|
|
39
|
-
getSchema: globalThis.ComputedRef<
|
|
39
|
+
getSchema: globalThis.ComputedRef<any>;
|
|
40
40
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
41
41
|
reset: () => void;
|
|
42
42
|
submit: () => void;
|
|
@@ -45,6 +45,12 @@ export declare const VftTable: import("vft/es/utils").SFCWithInstall<{
|
|
|
45
45
|
fit: {
|
|
46
46
|
type: globalThis.PropType<boolean>;
|
|
47
47
|
};
|
|
48
|
+
scrollX: {
|
|
49
|
+
type: globalThis.PropType<import("vxe-table").VxeTablePropTypes.ScrollX>;
|
|
50
|
+
};
|
|
51
|
+
scrollY: {
|
|
52
|
+
type: globalThis.PropType<import("vxe-table").VxeTablePropTypes.ScrollY>;
|
|
53
|
+
};
|
|
48
54
|
autoResize: {
|
|
49
55
|
type: globalThis.PropType<boolean>;
|
|
50
56
|
default: boolean;
|
|
@@ -247,12 +253,6 @@ export declare const VftTable: import("vft/es/utils").SFCWithInstall<{
|
|
|
247
253
|
loadingConfig: {
|
|
248
254
|
type: globalThis.PropType<import("vxe-table").VxeTablePropTypes.LoadingConfig>;
|
|
249
255
|
};
|
|
250
|
-
scrollX: {
|
|
251
|
-
type: globalThis.PropType<import("vxe-table").VxeTablePropTypes.ScrollX>;
|
|
252
|
-
};
|
|
253
|
-
scrollY: {
|
|
254
|
-
type: globalThis.PropType<import("vxe-table").VxeTablePropTypes.ScrollY>;
|
|
255
|
-
};
|
|
256
256
|
resizable: {
|
|
257
257
|
type: globalThis.PropType<boolean>;
|
|
258
258
|
};
|
|
@@ -577,6 +577,12 @@ export declare const VftTable: import("vft/es/utils").SFCWithInstall<{
|
|
|
577
577
|
fit: {
|
|
578
578
|
type: globalThis.PropType<boolean>;
|
|
579
579
|
};
|
|
580
|
+
scrollX: {
|
|
581
|
+
type: globalThis.PropType<import("vxe-table").VxeTablePropTypes.ScrollX>;
|
|
582
|
+
};
|
|
583
|
+
scrollY: {
|
|
584
|
+
type: globalThis.PropType<import("vxe-table").VxeTablePropTypes.ScrollY>;
|
|
585
|
+
};
|
|
580
586
|
autoResize: {
|
|
581
587
|
type: globalThis.PropType<boolean>;
|
|
582
588
|
default: boolean;
|
|
@@ -779,12 +785,6 @@ export declare const VftTable: import("vft/es/utils").SFCWithInstall<{
|
|
|
779
785
|
loadingConfig: {
|
|
780
786
|
type: globalThis.PropType<import("vxe-table").VxeTablePropTypes.LoadingConfig>;
|
|
781
787
|
};
|
|
782
|
-
scrollX: {
|
|
783
|
-
type: globalThis.PropType<import("vxe-table").VxeTablePropTypes.ScrollX>;
|
|
784
|
-
};
|
|
785
|
-
scrollY: {
|
|
786
|
-
type: globalThis.PropType<import("vxe-table").VxeTablePropTypes.ScrollY>;
|
|
787
|
-
};
|
|
788
788
|
resizable: {
|
|
789
789
|
type: globalThis.PropType<boolean>;
|
|
790
790
|
};
|
|
@@ -1033,6 +1033,12 @@ export declare const VftTable: import("vft/es/utils").SFCWithInstall<{
|
|
|
1033
1033
|
fit: {
|
|
1034
1034
|
type: globalThis.PropType<boolean>;
|
|
1035
1035
|
};
|
|
1036
|
+
scrollX: {
|
|
1037
|
+
type: globalThis.PropType<import("vxe-table").VxeTablePropTypes.ScrollX>;
|
|
1038
|
+
};
|
|
1039
|
+
scrollY: {
|
|
1040
|
+
type: globalThis.PropType<import("vxe-table").VxeTablePropTypes.ScrollY>;
|
|
1041
|
+
};
|
|
1036
1042
|
autoResize: {
|
|
1037
1043
|
type: globalThis.PropType<boolean>;
|
|
1038
1044
|
default: boolean;
|
|
@@ -1235,12 +1241,6 @@ export declare const VftTable: import("vft/es/utils").SFCWithInstall<{
|
|
|
1235
1241
|
loadingConfig: {
|
|
1236
1242
|
type: globalThis.PropType<import("vxe-table").VxeTablePropTypes.LoadingConfig>;
|
|
1237
1243
|
};
|
|
1238
|
-
scrollX: {
|
|
1239
|
-
type: globalThis.PropType<import("vxe-table").VxeTablePropTypes.ScrollX>;
|
|
1240
|
-
};
|
|
1241
|
-
scrollY: {
|
|
1242
|
-
type: globalThis.PropType<import("vxe-table").VxeTablePropTypes.ScrollY>;
|
|
1243
|
-
};
|
|
1244
1244
|
resizable: {
|
|
1245
1245
|
type: globalThis.PropType<boolean>;
|
|
1246
1246
|
};
|
|
@@ -1503,6 +1503,12 @@ export declare const VftTable: import("vft/es/utils").SFCWithInstall<{
|
|
|
1503
1503
|
fit: {
|
|
1504
1504
|
type: globalThis.PropType<boolean>;
|
|
1505
1505
|
};
|
|
1506
|
+
scrollX: {
|
|
1507
|
+
type: globalThis.PropType<import("vxe-table").VxeTablePropTypes.ScrollX>;
|
|
1508
|
+
};
|
|
1509
|
+
scrollY: {
|
|
1510
|
+
type: globalThis.PropType<import("vxe-table").VxeTablePropTypes.ScrollY>;
|
|
1511
|
+
};
|
|
1506
1512
|
autoResize: {
|
|
1507
1513
|
type: globalThis.PropType<boolean>;
|
|
1508
1514
|
default: boolean;
|
|
@@ -1705,12 +1711,6 @@ export declare const VftTable: import("vft/es/utils").SFCWithInstall<{
|
|
|
1705
1711
|
loadingConfig: {
|
|
1706
1712
|
type: globalThis.PropType<import("vxe-table").VxeTablePropTypes.LoadingConfig>;
|
|
1707
1713
|
};
|
|
1708
|
-
scrollX: {
|
|
1709
|
-
type: globalThis.PropType<import("vxe-table").VxeTablePropTypes.ScrollX>;
|
|
1710
|
-
};
|
|
1711
|
-
scrollY: {
|
|
1712
|
-
type: globalThis.PropType<import("vxe-table").VxeTablePropTypes.ScrollY>;
|
|
1713
|
-
};
|
|
1714
1714
|
resizable: {
|
|
1715
1715
|
type: globalThis.PropType<boolean>;
|
|
1716
1716
|
};
|