vft 0.0.395 → 0.0.397
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/components/autocomplete/autocomplete.vue.d.ts +2 -2
- package/es/components/autocomplete/index.d.ts +6 -6
- package/es/components/button/index.d.ts +9 -9
- package/es/components/form/form-item.vue.d.ts +1 -1
- package/es/components/form/index.d.ts +30 -30
- package/es/components/popconfirm/index.d.ts +15 -15
- package/es/components/popconfirm/popconfirm.vue.d.ts +1 -1
- package/es/components/select/index.d.ts +4 -4
- package/es/components/select/select.vue.d.ts +4 -4
- package/es/components/select/useSelect.d.ts +4 -4
- package/es/components/side-menu/index.d.ts +5 -0
- package/es/components/side-menu/side-menu.vue.d.ts +5 -0
- package/es/components/side-menu/side-menu.vue2.js +105 -94
- package/es/hooks/use-z-index/index.js +3 -3
- package/es/package.json.d.ts +1 -1
- package/es/package.json.js +1 -1
- package/lib/components/autocomplete/autocomplete.vue.d.ts +2 -2
- package/lib/components/autocomplete/index.d.ts +6 -6
- package/lib/components/button/index.d.ts +9 -9
- package/lib/components/form/form-item.vue.d.ts +1 -1
- package/lib/components/form/index.d.ts +30 -30
- package/lib/components/popconfirm/index.d.ts +15 -15
- package/lib/components/popconfirm/popconfirm.vue.d.ts +1 -1
- package/lib/components/select/index.d.ts +4 -4
- package/lib/components/select/select.vue.d.ts +4 -4
- package/lib/components/select/useSelect.d.ts +4 -4
- package/lib/components/side-menu/index.d.ts +5 -0
- package/lib/components/side-menu/side-menu.vue.d.ts +5 -0
- package/lib/components/side-menu/side-menu.vue2.cjs +1 -1
- package/lib/package.json.cjs +1 -1
- package/lib/package.json.d.ts +1 -1
- package/package.json +2 -2
- package/web-types.json +1 -1
|
@@ -1,25 +1,25 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { listenerRouteChange as
|
|
3
|
-
import { useSortable as
|
|
4
|
-
import { isUrl as
|
|
1
|
+
import { defineComponent as j, toRefs as le, useSlots as ne, getCurrentInstance as ae, ref as g, computed as m, h as b, createVNode as p, onMounted as ue, nextTick as se, watch as ie, isVNode as de } from "vue";
|
|
2
|
+
import { listenerRouteChange as re, useRouterHelper as ce } from "@vft/router";
|
|
3
|
+
import { useSortable as pe } from "@vft/use/sortable";
|
|
4
|
+
import { isUrl as fe, isNullOrUndefined as W, isNumber as me } from "@vft/utils";
|
|
5
5
|
import "@vueuse/core";
|
|
6
|
-
import { addUnit as
|
|
6
|
+
import { addUnit as I } from "../../utils/helper.js";
|
|
7
7
|
import "lodash-es";
|
|
8
8
|
import "../form/index.js";
|
|
9
|
-
import { VftIcon as
|
|
10
|
-
import { VftMenu as he, VftSubMenu as
|
|
11
|
-
import { useNamespace as
|
|
9
|
+
import { VftIcon as ve } from "../icon/index.js";
|
|
10
|
+
import { VftMenu as he, VftSubMenu as ge, VftMenuItem as V } from "../menu/index.js";
|
|
11
|
+
import { useNamespace as be } from "../../hooks/use-namespace/index.js";
|
|
12
12
|
import "../../hooks/use-model-toggle/index.js";
|
|
13
13
|
import "@popperjs/core";
|
|
14
14
|
import "../../hooks/use-z-index/index.js";
|
|
15
|
-
import { useDragLine as
|
|
16
|
-
function
|
|
17
|
-
return typeof
|
|
15
|
+
import { useDragLine as ye } from "./use-drag-line.js";
|
|
16
|
+
function Ce(v) {
|
|
17
|
+
return typeof v == "function" || Object.prototype.toString.call(v) === "[object Object]" && !de(v);
|
|
18
18
|
}
|
|
19
|
-
const
|
|
19
|
+
const Me = j({
|
|
20
20
|
name: "vft-side-menu"
|
|
21
|
-
}),
|
|
22
|
-
...
|
|
21
|
+
}), je = /* @__PURE__ */ j({
|
|
22
|
+
...Me,
|
|
23
23
|
props: {
|
|
24
24
|
isFixedLeft: {
|
|
25
25
|
type: Boolean,
|
|
@@ -79,17 +79,17 @@ const Ce = V({
|
|
|
79
79
|
defaultOpeneds: {}
|
|
80
80
|
},
|
|
81
81
|
emits: ["update:collapse", "update:width", "dragEnd", "dragWidthEnd", "select", "subMenuClick", "menuItemMouseenter", "menuItemMouseleave"],
|
|
82
|
-
setup(
|
|
83
|
-
expose:
|
|
84
|
-
emit:
|
|
82
|
+
setup(v, {
|
|
83
|
+
expose: q,
|
|
84
|
+
emit: J
|
|
85
85
|
}) {
|
|
86
|
-
const t =
|
|
86
|
+
const t = v, {
|
|
87
87
|
defaultActive: E,
|
|
88
88
|
collapse: f,
|
|
89
|
-
uniqueOpened:
|
|
90
|
-
defaultOpeneds:
|
|
91
|
-
openMenuCollapse:
|
|
92
|
-
} =
|
|
89
|
+
uniqueOpened: L,
|
|
90
|
+
defaultOpeneds: P,
|
|
91
|
+
openMenuCollapse: H
|
|
92
|
+
} = le(t), r = J, u = be("side-menu"), s = ne(), M = ae(), S = g(), a = m(() => ({
|
|
93
93
|
path: "path",
|
|
94
94
|
children: "children",
|
|
95
95
|
title: "title",
|
|
@@ -98,103 +98,113 @@ const Ce = V({
|
|
|
98
98
|
disabled: "disabled",
|
|
99
99
|
...t.attrMapping
|
|
100
100
|
}));
|
|
101
|
-
|
|
101
|
+
re(({
|
|
102
102
|
route: e
|
|
103
103
|
}) => {
|
|
104
|
-
!e || e.meta?.hideSide && !t.useRouterJump || (
|
|
104
|
+
!e || e.meta?.hideSide && !t.useRouterJump || (S.value = e.path);
|
|
105
105
|
});
|
|
106
|
-
const
|
|
107
|
-
const
|
|
108
|
-
if (t.autoScrollActiveDom &&
|
|
109
|
-
const o =
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
106
|
+
const U = (e) => {
|
|
107
|
+
const n = e.e;
|
|
108
|
+
if (t.autoScrollActiveDom && n) {
|
|
109
|
+
const o = me(t.autoScrollActiveDom) ? t.autoScrollActiveDom : 0, l = n.target;
|
|
110
|
+
O({
|
|
111
|
+
activeDom: l,
|
|
112
|
+
offset: o
|
|
113
|
+
});
|
|
113
114
|
}
|
|
114
115
|
r("subMenuClick", e);
|
|
115
|
-
},
|
|
116
|
-
|
|
116
|
+
}, O = ({
|
|
117
|
+
activeDom: e = null,
|
|
118
|
+
offset: n = 0,
|
|
119
|
+
delay: o = 300
|
|
120
|
+
} = {}) => {
|
|
121
|
+
h.value?.menu && setTimeout(() => {
|
|
122
|
+
const l = e || document.querySelector(".vft-menu-item.is-active") || document.querySelector(".vft-sub-menu.is-active");
|
|
123
|
+
l && (h.value.menu.scrollTop = h.value.menu.scrollTop + (l.getBoundingClientRect().top - h.value.menu.getBoundingClientRect().top) + n);
|
|
124
|
+
}, o);
|
|
117
125
|
}, F = (e) => {
|
|
126
|
+
r("menuItemMouseenter", e);
|
|
127
|
+
}, Z = (e) => {
|
|
118
128
|
r("menuItemMouseleave", e);
|
|
119
|
-
},
|
|
120
|
-
const o = e[
|
|
129
|
+
}, _ = (e, n) => {
|
|
130
|
+
const o = e[a.value.path], l = e[a.value.title], i = e?.[a.value.children], c = e?.[a.value.index], D = e?.[a.value.icon], T = !!e?.[a.value.disabled], R = t.disabledJudgeTurnOver ? !T : T, k = c || o || n + l;
|
|
121
131
|
return i?.length ? b(
|
|
122
132
|
// @ts-ignore
|
|
123
|
-
|
|
133
|
+
ge,
|
|
124
134
|
{
|
|
125
135
|
...e,
|
|
126
136
|
popperAppendToBody: !0,
|
|
127
|
-
key:
|
|
128
|
-
index:
|
|
137
|
+
key: k,
|
|
138
|
+
index: k,
|
|
129
139
|
title: l,
|
|
130
|
-
icon:
|
|
131
|
-
disabled: t.openDisabled &&
|
|
140
|
+
icon: D,
|
|
141
|
+
disabled: t.openDisabled && R,
|
|
132
142
|
popperClass: u.e("popper")
|
|
133
143
|
},
|
|
134
144
|
{
|
|
135
|
-
default: () => i?.map((d,
|
|
136
|
-
const C = d[
|
|
137
|
-
return d?.[
|
|
145
|
+
default: () => i?.map((d, X) => {
|
|
146
|
+
const C = d[a.value.path], A = d[a.value.index], ee = d[a.value.icon], te = d[a.value.title], N = !!d[a.value.disabled], oe = t.disabledJudgeTurnOver ? !N : N;
|
|
147
|
+
return d?.[a.value.children]?.length ? _(d, X) : (
|
|
138
148
|
// @ts-ignore
|
|
139
|
-
b(
|
|
149
|
+
b(V, {
|
|
140
150
|
...d,
|
|
141
|
-
key:
|
|
142
|
-
index:
|
|
151
|
+
key: A || C,
|
|
152
|
+
index: A || C,
|
|
143
153
|
route: C,
|
|
144
|
-
icon:
|
|
145
|
-
title:
|
|
146
|
-
disabled: t.openDisabled &&
|
|
154
|
+
icon: ee,
|
|
155
|
+
title: te,
|
|
156
|
+
disabled: t.openDisabled && oe
|
|
147
157
|
}, s.menuItem ? () => s.menuItem?.({
|
|
148
158
|
item: d
|
|
149
159
|
}) : "")
|
|
150
160
|
);
|
|
151
161
|
})
|
|
152
162
|
}
|
|
153
|
-
) : b(
|
|
163
|
+
) : b(V, {
|
|
154
164
|
...e,
|
|
155
165
|
key: c || o,
|
|
156
166
|
index: c || o,
|
|
157
167
|
title: l,
|
|
158
168
|
route: o,
|
|
159
|
-
icon:
|
|
160
|
-
disabled: t.openDisabled &&
|
|
161
|
-
onMouseenter: () =>
|
|
162
|
-
onMouseleave: () =>
|
|
169
|
+
icon: D,
|
|
170
|
+
disabled: t.openDisabled && R,
|
|
171
|
+
onMouseenter: () => F(e),
|
|
172
|
+
onMouseleave: () => Z(e)
|
|
163
173
|
}, s.menuItem ? () => s.menuItem?.({
|
|
164
174
|
item: e,
|
|
165
|
-
index:
|
|
175
|
+
index: n
|
|
166
176
|
}) : "");
|
|
167
|
-
},
|
|
177
|
+
}, h = g(), $ = m(() => ({
|
|
168
178
|
...t.collapseWidth === 0 && f.value ? {
|
|
169
179
|
width: 0
|
|
170
180
|
} : {},
|
|
171
181
|
height: `calc(100% - ${t.menuTopBottomHeight}px)`
|
|
172
|
-
})),
|
|
182
|
+
})), z = m(() => {
|
|
173
183
|
let e;
|
|
174
184
|
return b(p(he, {
|
|
175
|
-
ref:
|
|
176
|
-
onSelect:
|
|
177
|
-
onOpen:
|
|
178
|
-
defaultActive: E?.value ||
|
|
179
|
-
defaultOpeneds:
|
|
185
|
+
ref: h,
|
|
186
|
+
onSelect: Y,
|
|
187
|
+
onOpen: U,
|
|
188
|
+
defaultActive: E?.value || S.value,
|
|
189
|
+
defaultOpeneds: P?.value,
|
|
180
190
|
class: [u.e("con"), t.dragOption?.dragClassName ? u.e(t.dragOption?.dragClassName) : ""],
|
|
181
|
-
style:
|
|
182
|
-
collapse:
|
|
183
|
-
uniqueOpened:
|
|
191
|
+
style: $.value,
|
|
192
|
+
collapse: H.value ? f.value : !1,
|
|
193
|
+
uniqueOpened: L.value,
|
|
184
194
|
collapseTransition: !1
|
|
185
|
-
},
|
|
195
|
+
}, Ce(e = t.menus.map((n, o) => _(n, o))) ? e : {
|
|
186
196
|
default: () => [e]
|
|
187
197
|
}));
|
|
188
198
|
}), x = M.appContext.config.globalProperties.$router;
|
|
189
|
-
async function
|
|
199
|
+
async function Y(e) {
|
|
190
200
|
if (t.useRouterJump) {
|
|
191
201
|
const {
|
|
192
|
-
go:
|
|
193
|
-
} =
|
|
202
|
+
go: n
|
|
203
|
+
} = ce(x), o = e.route;
|
|
194
204
|
let l = e.route;
|
|
195
|
-
e.indexPath.some((c) =>
|
|
205
|
+
e.indexPath.some((c) => fe(c)) && (l = e.indexPath.slice(-2).join("/"));
|
|
196
206
|
const i = x.getRoutes().filter((c) => c.path === l)?.[0]?.meta?.linkTarget;
|
|
197
|
-
|
|
207
|
+
n(i ? {
|
|
198
208
|
url: o,
|
|
199
209
|
winOpenOpt: {
|
|
200
210
|
target: i
|
|
@@ -203,65 +213,66 @@ const Ce = V({
|
|
|
203
213
|
}
|
|
204
214
|
r("select", e);
|
|
205
215
|
}
|
|
206
|
-
|
|
207
|
-
|
|
216
|
+
ue(() => {
|
|
217
|
+
se(() => {
|
|
208
218
|
if (t.dragOption?.dragClassName) {
|
|
209
219
|
const e = document.querySelectorAll("." + u.e(t.dragOption?.dragClassName))?.[0], {
|
|
210
|
-
initSortable:
|
|
211
|
-
} =
|
|
220
|
+
initSortable: n
|
|
221
|
+
} = pe(e, {
|
|
212
222
|
draggable: ".vft-menu-item",
|
|
213
223
|
onEnd: (o) => {
|
|
214
224
|
const {
|
|
215
225
|
oldIndex: l,
|
|
216
226
|
newIndex: i
|
|
217
227
|
} = o;
|
|
218
|
-
|
|
228
|
+
W(l) || W(i) || l === i || r("dragEnd", l, i);
|
|
219
229
|
},
|
|
220
230
|
...t.dragOption
|
|
221
231
|
});
|
|
222
|
-
|
|
232
|
+
n();
|
|
223
233
|
}
|
|
224
234
|
});
|
|
225
235
|
});
|
|
226
|
-
const y = g(),
|
|
236
|
+
const y = g(), w = g(), B = g(), G = m(() => ({
|
|
227
237
|
...t.collapseWidth === 0 && f.value ? {
|
|
228
238
|
borderRight: "none"
|
|
229
239
|
} : {},
|
|
230
|
-
width:
|
|
240
|
+
width: I(t.width),
|
|
231
241
|
height: t.height
|
|
232
242
|
}));
|
|
233
|
-
|
|
234
|
-
e ? r("update:width", t.collapseWidth) : r("update:width",
|
|
235
|
-
}), t.dragWidthCfg &&
|
|
236
|
-
const
|
|
237
|
-
left:
|
|
238
|
-
})),
|
|
239
|
-
return
|
|
240
|
-
sideRef: y
|
|
243
|
+
ie(() => f.value, (e) => {
|
|
244
|
+
e ? r("update:width", t.collapseWidth) : r("update:width", B.value || t.width), B.value = t.width;
|
|
245
|
+
}), t.dragWidthCfg && ye(y, w, M);
|
|
246
|
+
const K = m(() => ({
|
|
247
|
+
left: I(t.width)
|
|
248
|
+
})), Q = m(() => [u.b(), t.isFixedLeft ? u.m("fixed") : ""]);
|
|
249
|
+
return q({
|
|
250
|
+
sideRef: y,
|
|
251
|
+
jumpActiveDom: O
|
|
241
252
|
}), () => p("div", {
|
|
242
253
|
ref: y,
|
|
243
|
-
class:
|
|
244
|
-
style:
|
|
254
|
+
class: Q.value,
|
|
255
|
+
style: G.value
|
|
245
256
|
}, [s.top ? p("div", {
|
|
246
257
|
class: u.e("top")
|
|
247
|
-
}, [s.top()]) : null,
|
|
258
|
+
}, [s.top()]) : null, z.value, s.bottom ? p("div", {
|
|
248
259
|
class: u.e("bottom")
|
|
249
260
|
}, [s.bottom()]) : t.showCollapse ? p("div", {
|
|
250
261
|
onClick: () => r("update:collapse", !f.value),
|
|
251
262
|
class: [u.e("bottom"), u.e("collapse")]
|
|
252
|
-
}, [p(
|
|
263
|
+
}, [p(ve, {
|
|
253
264
|
style: {
|
|
254
265
|
transform: f.value ? "rotateY(180deg)" : ""
|
|
255
266
|
},
|
|
256
267
|
size: 20,
|
|
257
268
|
icon: "icon-sidebar-collapse"
|
|
258
269
|
}, null)]) : null, s.default?.(), t.dragWidthCfg ? p("div", {
|
|
259
|
-
ref:
|
|
260
|
-
style:
|
|
270
|
+
ref: w,
|
|
271
|
+
style: K.value,
|
|
261
272
|
class: u.e("drag-bar")
|
|
262
273
|
}, null) : null]);
|
|
263
274
|
}
|
|
264
275
|
});
|
|
265
276
|
export {
|
|
266
|
-
|
|
277
|
+
je as default
|
|
267
278
|
};
|
|
@@ -2,14 +2,14 @@ import "@vueuse/core";
|
|
|
2
2
|
import { isNumber as m, isClient as p } from "@vft/utils";
|
|
3
3
|
import { debugWarn as l } from "../../utils/error.js";
|
|
4
4
|
import "../../components/config-provider/hooks/use-global-config.js";
|
|
5
|
-
import {
|
|
5
|
+
import { getCurrentInstance as i, inject as e, computed as c, unref as v, ref as Z } from "vue";
|
|
6
6
|
import "lodash-es";
|
|
7
7
|
import "../../components/form/index.js";
|
|
8
8
|
const s = {
|
|
9
9
|
current: 0
|
|
10
|
-
}, u =
|
|
10
|
+
}, u = Z(0), f = 2e3, d = Symbol("vftZIndexContextKey"), y = Symbol("zIndexContextKey"), K = (I) => {
|
|
11
11
|
const n = i() ? e(d, s) : s, x = I || (i() ? e(y, void 0) : void 0), t = c(() => {
|
|
12
|
-
const r =
|
|
12
|
+
const r = v(x);
|
|
13
13
|
return m(r) ? r : f;
|
|
14
14
|
}), o = c(() => t.value + u.value), a = () => (n.current++, u.value = n.current, o.value);
|
|
15
15
|
return !p && !e(d) && l(
|
package/es/package.json.d.ts
CHANGED
package/es/package.json.js
CHANGED
|
@@ -62,9 +62,9 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
62
62
|
readonly strategy?: "fixed" | "absolute" | undefined;
|
|
63
63
|
readonly effect?: "light" | "dark" | undefined;
|
|
64
64
|
readonly trigger?: import("vft/es/components/tooltip").TooltipTriggerType | undefined;
|
|
65
|
+
readonly visible?: boolean | undefined;
|
|
65
66
|
readonly teleported?: boolean | undefined;
|
|
66
67
|
readonly open?: boolean | undefined;
|
|
67
|
-
readonly visible?: boolean | undefined;
|
|
68
68
|
readonly arrowOffset?: number | undefined;
|
|
69
69
|
readonly gpuAcceleration?: boolean | undefined;
|
|
70
70
|
readonly fallbackPlacements?: import("@popperjs/core").Placement[] | undefined;
|
|
@@ -480,9 +480,9 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
480
480
|
readonly strategy?: "fixed" | "absolute" | undefined;
|
|
481
481
|
readonly effect?: "light" | "dark" | undefined;
|
|
482
482
|
readonly trigger?: import("vft/es/components/tooltip").TooltipTriggerType | undefined;
|
|
483
|
+
readonly visible?: boolean | undefined;
|
|
483
484
|
readonly teleported?: boolean | undefined;
|
|
484
485
|
readonly open?: boolean | undefined;
|
|
485
|
-
readonly visible?: boolean | undefined;
|
|
486
486
|
readonly arrowOffset?: number | undefined;
|
|
487
487
|
readonly gpuAcceleration?: boolean | undefined;
|
|
488
488
|
readonly fallbackPlacements?: import("@popperjs/core").Placement[] | undefined;
|
|
@@ -86,9 +86,9 @@ export declare const VftAutocomplete: import("vft/es/utils").SFCWithInstall<{
|
|
|
86
86
|
readonly strategy?: "fixed" | "absolute" | undefined;
|
|
87
87
|
readonly effect?: "light" | "dark" | undefined;
|
|
88
88
|
readonly trigger?: import("vft/es/vft").TooltipTriggerType | undefined;
|
|
89
|
+
readonly visible?: boolean | undefined;
|
|
89
90
|
readonly teleported?: boolean | undefined;
|
|
90
91
|
readonly open?: boolean | undefined;
|
|
91
|
-
readonly visible?: boolean | undefined;
|
|
92
92
|
readonly arrowOffset?: number | undefined;
|
|
93
93
|
readonly gpuAcceleration?: boolean | undefined;
|
|
94
94
|
readonly fallbackPlacements?: import("@popperjs/core").Placement[] | undefined;
|
|
@@ -504,9 +504,9 @@ export declare const VftAutocomplete: import("vft/es/utils").SFCWithInstall<{
|
|
|
504
504
|
readonly strategy?: "fixed" | "absolute" | undefined;
|
|
505
505
|
readonly effect?: "light" | "dark" | undefined;
|
|
506
506
|
readonly trigger?: import("vft/es/vft").TooltipTriggerType | undefined;
|
|
507
|
+
readonly visible?: boolean | undefined;
|
|
507
508
|
readonly teleported?: boolean | undefined;
|
|
508
509
|
readonly open?: boolean | undefined;
|
|
509
|
-
readonly visible?: boolean | undefined;
|
|
510
510
|
readonly arrowOffset?: number | undefined;
|
|
511
511
|
readonly gpuAcceleration?: boolean | undefined;
|
|
512
512
|
readonly fallbackPlacements?: import("@popperjs/core").Placement[] | undefined;
|
|
@@ -1007,9 +1007,9 @@ export declare const VftAutocomplete: import("vft/es/utils").SFCWithInstall<{
|
|
|
1007
1007
|
readonly strategy?: "fixed" | "absolute" | undefined;
|
|
1008
1008
|
readonly effect?: "light" | "dark" | undefined;
|
|
1009
1009
|
readonly trigger?: import("vft/es/vft").TooltipTriggerType | undefined;
|
|
1010
|
+
readonly visible?: boolean | undefined;
|
|
1010
1011
|
readonly teleported?: boolean | undefined;
|
|
1011
1012
|
readonly open?: boolean | undefined;
|
|
1012
|
-
readonly visible?: boolean | undefined;
|
|
1013
1013
|
readonly arrowOffset?: number | undefined;
|
|
1014
1014
|
readonly gpuAcceleration?: boolean | undefined;
|
|
1015
1015
|
readonly fallbackPlacements?: import("@popperjs/core").Placement[] | undefined;
|
|
@@ -1425,9 +1425,9 @@ export declare const VftAutocomplete: import("vft/es/utils").SFCWithInstall<{
|
|
|
1425
1425
|
readonly strategy?: "fixed" | "absolute" | undefined;
|
|
1426
1426
|
readonly effect?: "light" | "dark" | undefined;
|
|
1427
1427
|
readonly trigger?: import("vft/es/vft").TooltipTriggerType | undefined;
|
|
1428
|
+
readonly visible?: boolean | undefined;
|
|
1428
1429
|
readonly teleported?: boolean | undefined;
|
|
1429
1430
|
readonly open?: boolean | undefined;
|
|
1430
|
-
readonly visible?: boolean | undefined;
|
|
1431
1431
|
readonly arrowOffset?: number | undefined;
|
|
1432
1432
|
readonly gpuAcceleration?: boolean | undefined;
|
|
1433
1433
|
readonly fallbackPlacements?: import("@popperjs/core").Placement[] | undefined;
|
|
@@ -1917,9 +1917,9 @@ export declare const VftAutocomplete: import("vft/es/utils").SFCWithInstall<{
|
|
|
1917
1917
|
readonly strategy?: "fixed" | "absolute" | undefined;
|
|
1918
1918
|
readonly effect?: "light" | "dark" | undefined;
|
|
1919
1919
|
readonly trigger?: import("vft/es/vft").TooltipTriggerType | undefined;
|
|
1920
|
+
readonly visible?: boolean | undefined;
|
|
1920
1921
|
readonly teleported?: boolean | undefined;
|
|
1921
1922
|
readonly open?: boolean | undefined;
|
|
1922
|
-
readonly visible?: boolean | undefined;
|
|
1923
1923
|
readonly arrowOffset?: number | undefined;
|
|
1924
1924
|
readonly gpuAcceleration?: boolean | undefined;
|
|
1925
1925
|
readonly fallbackPlacements?: import("@popperjs/core").Placement[] | undefined;
|
|
@@ -2335,9 +2335,9 @@ export declare const VftAutocomplete: import("vft/es/utils").SFCWithInstall<{
|
|
|
2335
2335
|
readonly strategy?: "fixed" | "absolute" | undefined;
|
|
2336
2336
|
readonly effect?: "light" | "dark" | undefined;
|
|
2337
2337
|
readonly trigger?: import("vft/es/vft").TooltipTriggerType | undefined;
|
|
2338
|
+
readonly visible?: boolean | undefined;
|
|
2338
2339
|
readonly teleported?: boolean | undefined;
|
|
2339
2340
|
readonly open?: boolean | undefined;
|
|
2340
|
-
readonly visible?: boolean | undefined;
|
|
2341
2341
|
readonly arrowOffset?: number | undefined;
|
|
2342
2342
|
readonly gpuAcceleration?: boolean | undefined;
|
|
2343
2343
|
readonly fallbackPlacements?: import("@popperjs/core").Placement[] | undefined;
|
|
@@ -24,12 +24,12 @@ export declare const VftButton: import("vft/es/utils").SFCWithInstall<{
|
|
|
24
24
|
autofocus: {
|
|
25
25
|
type: import("vue").PropType<boolean>;
|
|
26
26
|
};
|
|
27
|
-
dark: {
|
|
28
|
-
type: import("vue").PropType<boolean>;
|
|
29
|
-
};
|
|
30
27
|
icon: {
|
|
31
28
|
type: import("vue").PropType<string | import("vft/es/vft").IconProps>;
|
|
32
29
|
};
|
|
30
|
+
dark: {
|
|
31
|
+
type: import("vue").PropType<boolean>;
|
|
32
|
+
};
|
|
33
33
|
loading: {
|
|
34
34
|
type: import("vue").PropType<boolean>;
|
|
35
35
|
};
|
|
@@ -114,12 +114,12 @@ export declare const VftButton: import("vft/es/utils").SFCWithInstall<{
|
|
|
114
114
|
autofocus: {
|
|
115
115
|
type: import("vue").PropType<boolean>;
|
|
116
116
|
};
|
|
117
|
-
dark: {
|
|
118
|
-
type: import("vue").PropType<boolean>;
|
|
119
|
-
};
|
|
120
117
|
icon: {
|
|
121
118
|
type: import("vue").PropType<string | import("vft/es/vft").IconProps>;
|
|
122
119
|
};
|
|
120
|
+
dark: {
|
|
121
|
+
type: import("vue").PropType<boolean>;
|
|
122
|
+
};
|
|
123
123
|
loading: {
|
|
124
124
|
type: import("vue").PropType<boolean>;
|
|
125
125
|
};
|
|
@@ -199,12 +199,12 @@ export declare const VftButton: import("vft/es/utils").SFCWithInstall<{
|
|
|
199
199
|
autofocus: {
|
|
200
200
|
type: import("vue").PropType<boolean>;
|
|
201
201
|
};
|
|
202
|
-
dark: {
|
|
203
|
-
type: import("vue").PropType<boolean>;
|
|
204
|
-
};
|
|
205
202
|
icon: {
|
|
206
203
|
type: import("vue").PropType<string | import("vft/es/vft").IconProps>;
|
|
207
204
|
};
|
|
205
|
+
dark: {
|
|
206
|
+
type: import("vue").PropType<boolean>;
|
|
207
|
+
};
|
|
208
208
|
loading: {
|
|
209
209
|
type: import("vue").PropType<boolean>;
|
|
210
210
|
};
|
|
@@ -32,10 +32,10 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
32
32
|
}>>> & Readonly<{
|
|
33
33
|
"onUpdate:error"?: ((val: string) => any) | undefined;
|
|
34
34
|
}>, {
|
|
35
|
+
required: boolean;
|
|
35
36
|
labelWidth: string | number;
|
|
36
37
|
inlineMessage: string | boolean;
|
|
37
38
|
showMessage: boolean;
|
|
38
|
-
required: boolean;
|
|
39
39
|
hideLabel: boolean;
|
|
40
40
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
41
41
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|