vft 0.0.520 → 0.0.522
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/attributes.json +1 -1
- package/dist/index.css +1 -1
- package/es/component.js +73 -75
- 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/full-screen/full-screen.vue2.js +19 -17
- package/es/components/index.d.ts +0 -1
- package/es/components/index.js +199 -201
- package/es/components/md-container/md-container.vue2.js +47 -50
- package/es/components/md-container/style/css.d.ts +0 -1
- package/es/components/md-container/style/css.js +0 -1
- package/es/components/md-container/style/index.d.ts +0 -1
- package/es/components/md-container/style/index.js +0 -1
- package/es/components/multiple-tabs/multiple-tabs.vue2.js +39 -39
- 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/side-menu.vue2.js +94 -94
- package/es/components/super-form/super-form-item.vue2.js +2 -3
- package/es/hooks/use-z-index/index.js +3 -3
- package/es/index.js +0 -1
- package/es/package.json.d.ts +1 -2
- package/es/package.json.js +1 -1
- package/lib/component.cjs +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/full-screen/full-screen.vue2.cjs +1 -1
- package/lib/components/index.cjs +1 -1
- package/lib/components/index.d.ts +0 -1
- package/lib/components/md-container/md-container.vue2.cjs +1 -1
- package/lib/components/md-container/style/css.cjs +1 -1
- package/lib/components/md-container/style/css.d.ts +0 -1
- package/lib/components/md-container/style/index.cjs +1 -1
- package/lib/components/md-container/style/index.d.ts +0 -1
- package/lib/components/multiple-tabs/multiple-tabs.vue2.cjs +1 -1
- 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/side-menu.vue2.cjs +1 -1
- package/lib/components/super-form/super-form-item.vue2.cjs +1 -1
- package/lib/index.cjs +1 -1
- package/lib/package.json.cjs +1 -1
- package/lib/package.json.d.ts +1 -2
- package/package.json +5 -6
- package/tags.json +1 -1
- package/theme-style/index.css +1 -1
- package/theme-style/src/index.scss +0 -1
- package/theme-style/vft-autocomplete.css +1 -1
- package/theme-style/vft-button-group.css +1 -1
- package/theme-style/vft-button.css +1 -1
- package/theme-style/vft-cascader.css +1 -1
- package/theme-style/vft-checkbox.css +1 -1
- package/theme-style/vft-color-picker.css +1 -1
- package/theme-style/vft-date-picker.css +1 -1
- package/theme-style/vft-dropdown.css +1 -1
- package/theme-style/vft-input.css +1 -1
- package/theme-style/vft-link.css +1 -1
- package/theme-style/vft-md-container.css +1 -1
- package/theme-style/vft-md-vue-playground.css +1 -1
- package/theme-style/vft-multiple-tabs.css +1 -1
- package/theme-style/vft-popper.css +1 -1
- package/theme-style/vft-radio.css +1 -1
- package/theme-style/vft-result.css +1 -1
- package/theme-style/vft-select.css +1 -1
- package/theme-style/vft-tag.css +1 -1
- package/theme-style/vft-time-picker.css +1 -1
- package/theme-style/vft-time-select.css +1 -1
- package/web-types.json +1 -1
- package/es/components/md-comment/index.d.ts +0 -2
- package/es/components/md-comment/index.js +0 -13
- package/es/components/md-comment/md-comment.vue.d.ts +0 -2
- package/es/components/md-comment/md-comment.vue.js +0 -4
- package/es/components/md-comment/md-comment.vue2.js +0 -66
- package/es/components/md-comment/style/css.d.ts +0 -1
- package/es/components/md-comment/style/css.js +0 -2
- package/es/components/md-comment/style/index.d.ts +0 -1
- package/es/components/md-comment/style/index.js +0 -2
- package/lib/components/md-comment/index.cjs +0 -1
- package/lib/components/md-comment/index.d.ts +0 -2
- package/lib/components/md-comment/md-comment.vue.cjs +0 -1
- package/lib/components/md-comment/md-comment.vue.d.ts +0 -2
- package/lib/components/md-comment/md-comment.vue2.cjs +0 -1
- package/lib/components/md-comment/style/css.cjs +0 -1
- package/lib/components/md-comment/style/css.d.ts +0 -1
- package/lib/components/md-comment/style/index.cjs +0 -1
- package/lib/components/md-comment/style/index.d.ts +0 -1
- package/theme-style/src/md-comment.scss +0 -1353
|
@@ -1,55 +1,54 @@
|
|
|
1
|
-
import { defineComponent as T, getCurrentInstance as N, ref as A, computed as C, onMounted as P, nextTick as q, onDeactivated as z, onBeforeMount as B, openBlock as r, createElementBlock as
|
|
1
|
+
import { defineComponent as T, getCurrentInstance as N, ref as A, computed as C, onMounted as P, nextTick as q, onDeactivated as z, onBeforeMount as B, openBlock as r, createElementBlock as d, normalizeClass as c, unref as e, createBlock as k, createCommentVNode as f, createElementVNode as l, toDisplayString as x, createVNode as p, Fragment as I, renderList as O, withCtx as F, createTextVNode as H, renderSlot as b } from "vue";
|
|
2
2
|
import { VftIcon as D } from "../icon/index.js";
|
|
3
3
|
import { VftIconText as J } from "../icon-text/index.js";
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import { VftTag as Y } from "../tag/index.js";
|
|
4
|
+
import { VftSideMenu as j } from "../side-menu/index.js";
|
|
5
|
+
import { VftTag as U } from "../tag/index.js";
|
|
7
6
|
import "@vueuse/core";
|
|
8
|
-
import { handleScrollPosition as
|
|
7
|
+
import { handleScrollPosition as Y, getAdaptiveOffset as G, jumpElement as S, getRandomElementForArr as K, isClient as Q } from "@vft/utils";
|
|
9
8
|
import "../config-provider/hooks/use-global-config.js";
|
|
10
|
-
import { primaryColor as
|
|
11
|
-
import { debounce as
|
|
9
|
+
import { primaryColor as W } from "../../utils/ns-cover.js";
|
|
10
|
+
import { debounce as X } from "lodash-es";
|
|
12
11
|
import "../form/index.js";
|
|
13
|
-
import { useNamespace as
|
|
12
|
+
import { useNamespace as Z } from "../../hooks/use-namespace/index.js";
|
|
14
13
|
import "../../hooks/use-model-toggle/index.js";
|
|
15
14
|
import "@popperjs/core";
|
|
16
15
|
import "../../hooks/use-z-index/index.js";
|
|
17
|
-
import { useRouterHelper as
|
|
18
|
-
import { useEventListener as
|
|
19
|
-
import { usePhotoSwipe as
|
|
20
|
-
import { formatToDateTime as
|
|
21
|
-
import { useCopyCode as
|
|
22
|
-
import { COMP_TYPE as
|
|
23
|
-
const
|
|
16
|
+
import { useRouterHelper as ee } from "@vft/router";
|
|
17
|
+
import { useEventListener as te } from "@vft/use";
|
|
18
|
+
import { usePhotoSwipe as oe } from "@vft/use/photoswipe";
|
|
19
|
+
import { formatToDateTime as ne, getDayTimestamp as ie } from "@vft/utils/date";
|
|
20
|
+
import { useCopyCode as le } from "./use/useCopyCode.js";
|
|
21
|
+
import { COMP_TYPE as ae } from "./utils.js";
|
|
22
|
+
const se = { class: "info-container" }, re = {
|
|
24
23
|
key: 0,
|
|
25
24
|
class: "left"
|
|
26
|
-
},
|
|
25
|
+
}, ce = { class: "infos" }, me = {
|
|
27
26
|
class: "reading",
|
|
28
27
|
title: "阅读量"
|
|
29
|
-
}, ue = ["data-path"],
|
|
28
|
+
}, ue = ["data-path"], de = T({
|
|
30
29
|
name: "vft-md-container"
|
|
31
|
-
}),
|
|
32
|
-
...
|
|
30
|
+
}), Ae = /* @__PURE__ */ T({
|
|
31
|
+
...de,
|
|
33
32
|
props: {
|
|
34
33
|
tocList: {},
|
|
35
34
|
scrollDom: { default: ".layout-content" },
|
|
36
35
|
showComment: { type: Boolean, default: !0 }
|
|
37
36
|
},
|
|
38
37
|
setup(a) {
|
|
39
|
-
const s =
|
|
40
|
-
L(),
|
|
41
|
-
const g = w.appContext.config.globalProperties.$router, n = g.currentRoute.value, V =
|
|
38
|
+
const s = Z("md-container"), w = N(), m = A(), u = C(() => a.tocList && a.tocList !== "undefined" ? JSON.parse(a.tocList) : ""), { initPhotoSwipe: L } = oe(`.${s.e("content")} img`);
|
|
39
|
+
L(), le();
|
|
40
|
+
const g = w.appContext.config.globalProperties.$router, n = g.currentRoute.value, V = W(), _ = Q ? location.pathname : "", { go: $ } = ee(g);
|
|
42
41
|
function E(t) {
|
|
43
42
|
$(`/?classify=${t}`);
|
|
44
43
|
}
|
|
45
|
-
const
|
|
46
|
-
() =>
|
|
44
|
+
const R = C(() => n.meta.category?.includes("api")), h = X(
|
|
45
|
+
() => Y({
|
|
47
46
|
scrollDom: a.scrollDom,
|
|
48
47
|
contentDom: ".header-anchor",
|
|
49
48
|
selectAttrName: "href",
|
|
50
|
-
offset:
|
|
49
|
+
offset: G(210, 1920, 1500, 1920),
|
|
51
50
|
callback: (t) => {
|
|
52
|
-
|
|
51
|
+
m.value?.menuRef && (m.value.menuRef.activeIndex = t.slice(1));
|
|
53
52
|
}
|
|
54
53
|
}),
|
|
55
54
|
100
|
|
@@ -71,7 +70,7 @@ const re = { class: "info-container" }, ce = {
|
|
|
71
70
|
"div.language-vue"
|
|
72
71
|
);
|
|
73
72
|
for (let o = 0; o < t.length; o++)
|
|
74
|
-
|
|
73
|
+
te(t[o], "click", () => {
|
|
75
74
|
i[o].offsetHeight === 0 ? (i[o].style.height = "auto", i[o].style.visibility = "visible") : (i[o].style.height = "0px", i[o].style.visibility = "hidden");
|
|
76
75
|
});
|
|
77
76
|
});
|
|
@@ -79,13 +78,13 @@ const re = { class: "info-container" }, ce = {
|
|
|
79
78
|
y();
|
|
80
79
|
}), B(() => {
|
|
81
80
|
y();
|
|
82
|
-
}), (t, i) => (r(),
|
|
83
|
-
class: c([e(s).b(), e(s).is("api",
|
|
81
|
+
}), (t, i) => (r(), d("div", {
|
|
82
|
+
class: c([e(s).b(), e(s).is("api", R.value)])
|
|
84
83
|
}, [
|
|
85
|
-
u.value?.length ? (r(), k(e(
|
|
84
|
+
u.value?.length ? (r(), k(e(j), {
|
|
86
85
|
key: 0,
|
|
87
86
|
ref_key: "sideMenuRef",
|
|
88
|
-
ref:
|
|
87
|
+
ref: m,
|
|
89
88
|
"default-active": u.value[0].slug,
|
|
90
89
|
class: "toc-side-menu",
|
|
91
90
|
menus: u.value,
|
|
@@ -98,46 +97,46 @@ const re = { class: "info-container" }, ce = {
|
|
|
98
97
|
},
|
|
99
98
|
onSelect: v,
|
|
100
99
|
onSubMenuClick: v
|
|
101
|
-
}, null, 8, ["default-active", "menus"])) :
|
|
100
|
+
}, null, 8, ["default-active", "menus"])) : f("", !0),
|
|
102
101
|
l("div", {
|
|
103
102
|
class: c(e(s).e("header"))
|
|
104
103
|
}, [
|
|
105
104
|
l("h1", {
|
|
106
105
|
class: c(e(s).e("title"))
|
|
107
106
|
}, x(e(n).meta?.title), 3),
|
|
108
|
-
l("div",
|
|
109
|
-
e(n).meta?.category?.length ? (r(),
|
|
110
|
-
|
|
107
|
+
l("div", se, [
|
|
108
|
+
e(n).meta?.category?.length ? (r(), d("div", re, [
|
|
109
|
+
p(e(D), {
|
|
111
110
|
size: 14,
|
|
112
111
|
color: e(V),
|
|
113
112
|
icon: "icon-category"
|
|
114
113
|
}, null, 8, ["color"]),
|
|
115
|
-
(r(!0),
|
|
114
|
+
(r(!0), d(I, null, O(e(n).meta?.category, (o, M) => (r(), k(e(U), {
|
|
116
115
|
size: "small",
|
|
117
116
|
class: "tag",
|
|
118
|
-
type: e(
|
|
119
|
-
key:
|
|
120
|
-
onClick: (
|
|
117
|
+
type: e(K)(e(ae), 1)[0],
|
|
118
|
+
key: M,
|
|
119
|
+
onClick: (fe) => E(o)
|
|
121
120
|
}, {
|
|
122
121
|
default: F(() => [
|
|
123
122
|
H(x(o), 1)
|
|
124
123
|
]),
|
|
125
124
|
_: 2
|
|
126
125
|
}, 1032, ["type", "onClick"]))), 128))
|
|
127
|
-
])) :
|
|
128
|
-
l("div",
|
|
129
|
-
|
|
126
|
+
])) : f("", !0),
|
|
127
|
+
l("div", ce, [
|
|
128
|
+
p(e(J), {
|
|
130
129
|
title: "发布时间",
|
|
131
130
|
icon: "icon-date",
|
|
132
131
|
size: 12,
|
|
133
132
|
class: "mr-10px",
|
|
134
133
|
distance: 5,
|
|
135
|
-
text: e(
|
|
136
|
-
(e(n).meta?.date ? new Date(e(n).meta.date).getTime() : (/* @__PURE__ */ new Date()).getTime()) - e(
|
|
134
|
+
text: e(ne)(
|
|
135
|
+
(e(n).meta?.date ? new Date(e(n).meta.date).getTime() : (/* @__PURE__ */ new Date()).getTime()) - e(ie)()
|
|
137
136
|
)
|
|
138
137
|
}, null, 8, ["text"]),
|
|
139
|
-
l("div",
|
|
140
|
-
|
|
138
|
+
l("div", me, [
|
|
139
|
+
p(e(D), {
|
|
141
140
|
icon: "icon-reading",
|
|
142
141
|
size: 14,
|
|
143
142
|
class: "mr-5px"
|
|
@@ -155,9 +154,7 @@ const re = { class: "info-container" }, ce = {
|
|
|
155
154
|
}, [
|
|
156
155
|
b(t.$slots, "default")
|
|
157
156
|
], 2),
|
|
158
|
-
a.showComment ? b(t.$slots, "comment", { key: 1 },
|
|
159
|
-
m(e(j))
|
|
160
|
-
]) : p("", !0),
|
|
157
|
+
a.showComment ? b(t.$slots, "comment", { key: 1 }) : f("", !0),
|
|
161
158
|
i[0] || (i[0] = l("ins", {
|
|
162
159
|
class: "adsbygoogle",
|
|
163
160
|
style: { display: "block", "text-align": "center" },
|
|
@@ -170,5 +167,5 @@ const re = { class: "info-container" }, ce = {
|
|
|
170
167
|
}
|
|
171
168
|
});
|
|
172
169
|
export {
|
|
173
|
-
|
|
170
|
+
Ae as default
|
|
174
171
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as B, getCurrentInstance as q, computed as
|
|
1
|
+
import { defineComponent as B, getCurrentInstance as q, computed as v, ref as h, unref as t, watchEffect as G, onMounted as J, openBlock as T, createElementBlock as P, normalizeStyle as O, normalizeClass as V, createVNode as b, createSlots as Q, withCtx as R, Fragment as X, renderList as Y, createBlock as Z, renderSlot as ee, createElementVNode as te } from "vue";
|
|
2
2
|
import { VftTabs as ae, VftTabPane as ne } from "../tabs/index.js";
|
|
3
3
|
import { VftIcon as w } from "../icon/index.js";
|
|
4
4
|
import { isClient as oe } from "@vueuse/core";
|
|
@@ -11,7 +11,7 @@ import { useNamespace as le } from "../../hooks/use-namespace/index.js";
|
|
|
11
11
|
import "../../hooks/use-model-toggle/index.js";
|
|
12
12
|
import "@popperjs/core";
|
|
13
13
|
import "../../hooks/use-z-index/index.js";
|
|
14
|
-
import {
|
|
14
|
+
import { getRouterKeyPath as f, useRouterHelper as ie, listenerRouteChange as re } from "@vft/router";
|
|
15
15
|
import { useMultipleTabStore as se, isTabPinned as $, useTabs as ue } from "@vft/store";
|
|
16
16
|
import { useRefs as ce } from "@vft/use";
|
|
17
17
|
import fe from "hotkeys-js";
|
|
@@ -32,24 +32,24 @@ const be = B({
|
|
|
32
32
|
fixExtraScrollWidth: {}
|
|
33
33
|
},
|
|
34
34
|
setup(u) {
|
|
35
|
-
const
|
|
35
|
+
const C = le("multiple-tabs"), r = q().appContext.config.globalProperties.$router, I = ve(r), l = se(), m = v(
|
|
36
36
|
() => l.getTabList.filter((e) => !e.meta?.hideTab && $(e)).length
|
|
37
|
-
), L =
|
|
38
|
-
() => Math.max(u.fixTabCount,
|
|
39
|
-
),
|
|
37
|
+
), L = v(
|
|
38
|
+
() => Math.max(u.fixTabCount, m.value)
|
|
39
|
+
), s = h(f(t(r.currentRoute)) || ""), i = h(0), p = h(), { go: y } = ie(r), d = v(() => l.getTabList.filter((e) => !e.meta?.hideTab));
|
|
40
40
|
G(() => {
|
|
41
|
-
if (
|
|
42
|
-
const e =
|
|
43
|
-
e === -1 ? i.value =
|
|
41
|
+
if (s.value) {
|
|
42
|
+
const e = d.value.findIndex((n) => f(n) === s.value);
|
|
43
|
+
e === -1 ? i.value = d.value?.length - 1 : i.value = e, i.value = i.value < m.value ? m.value - 1 : i.value;
|
|
44
44
|
}
|
|
45
45
|
}), oe && me(() => {
|
|
46
|
-
p.value = t(
|
|
46
|
+
p.value = t(r.currentRoute);
|
|
47
47
|
}), re(({ route: e }) => {
|
|
48
48
|
if (!e || e.meta?.hasTokenToRoot)
|
|
49
49
|
return;
|
|
50
|
-
const { meta: n = {} } = e, { currentActivePath: a, hideTab: c } = n, W = c ? a : null,
|
|
51
|
-
if (
|
|
52
|
-
const k =
|
|
50
|
+
const { meta: n = {} } = e, { currentActivePath: a, hideTab: c } = n, W = c ? a : null, g = f(e);
|
|
51
|
+
if (g && s.value !== g && (s.value = g), W) {
|
|
52
|
+
const k = r.getRoutes().find((j) => j.path === a);
|
|
53
53
|
k && l.addTab(
|
|
54
54
|
k,
|
|
55
55
|
t(p),
|
|
@@ -59,22 +59,22 @@ const be = B({
|
|
|
59
59
|
} else c || l.addTab(t(e), t(p), i.value);
|
|
60
60
|
});
|
|
61
61
|
function N(e) {
|
|
62
|
-
if (
|
|
62
|
+
if (s.value === e.paneName)
|
|
63
63
|
return;
|
|
64
|
-
const n =
|
|
65
|
-
|
|
64
|
+
const n = d.value[e.attrs.index];
|
|
65
|
+
s.value = e.paneName;
|
|
66
66
|
const a = n?.meta?.hideActiveRoute?.fullPath;
|
|
67
|
-
|
|
67
|
+
y(a || n.fullPath || n.path);
|
|
68
68
|
}
|
|
69
69
|
function _(e) {
|
|
70
|
-
l.closeTabByKey(e,
|
|
70
|
+
l.closeTabByKey(e, r);
|
|
71
71
|
}
|
|
72
72
|
const { refs: E, setRefs: F } = ce();
|
|
73
73
|
function A(e) {
|
|
74
74
|
const n = e.pane.attrs.index, a = e.event;
|
|
75
75
|
E.value[n].handleContext(a);
|
|
76
76
|
}
|
|
77
|
-
const z =
|
|
77
|
+
const z = v(() => {
|
|
78
78
|
const e = {
|
|
79
79
|
padding: "4px 0 0",
|
|
80
80
|
"border-bottom": "none",
|
|
@@ -100,41 +100,41 @@ const be = B({
|
|
|
100
100
|
),
|
|
101
101
|
...u.contextMenuStyle
|
|
102
102
|
}, K = () => {
|
|
103
|
-
l.toggleFullScreen(l.getTabList[i.value],
|
|
104
|
-
}, x =
|
|
105
|
-
let
|
|
103
|
+
l.toggleFullScreen(l.getTabList[i.value], r);
|
|
104
|
+
}, x = h(!1);
|
|
105
|
+
let S;
|
|
106
106
|
const U = () => {
|
|
107
|
-
clearInterval(
|
|
107
|
+
clearInterval(S), x.value = !0, l.refreshPage(0, r, l.getTabList[i.value]), S = setTimeout(() => {
|
|
108
108
|
x.value = !1;
|
|
109
109
|
}, 500);
|
|
110
110
|
};
|
|
111
111
|
return J(() => {
|
|
112
112
|
u.canDrag && he(I), fe("command+e, ctrl+e", () => (D(), !1));
|
|
113
|
-
}), (e, n) => (
|
|
114
|
-
class: V(t(
|
|
113
|
+
}), (e, n) => (T(), P("div", {
|
|
114
|
+
class: V(t(C).b()),
|
|
115
115
|
style: O(z.value)
|
|
116
116
|
}, [
|
|
117
|
-
|
|
117
|
+
b(t(ae), {
|
|
118
118
|
"show-bar": !1,
|
|
119
119
|
"fix-tab-count": L.value,
|
|
120
120
|
"fix-extra-scroll-width": u.fixExtraScrollWidth,
|
|
121
|
-
modelValue:
|
|
122
|
-
"onUpdate:modelValue": n[0] || (n[0] = (a) =>
|
|
121
|
+
modelValue: s.value,
|
|
122
|
+
"onUpdate:modelValue": n[0] || (n[0] = (a) => s.value = a),
|
|
123
123
|
onTabClick: N,
|
|
124
124
|
onTabRemove: _,
|
|
125
125
|
onTabContextMenu: A
|
|
126
126
|
}, Q({
|
|
127
|
-
default:
|
|
128
|
-
(
|
|
129
|
-
key: t(
|
|
127
|
+
default: R(() => [
|
|
128
|
+
(T(!0), P(X, null, Y(d.value, (a, c) => (T(), Z(t(ne), {
|
|
129
|
+
key: t(f)(a) + c,
|
|
130
130
|
closable: !t($)(a),
|
|
131
131
|
index: c,
|
|
132
|
-
name: t(
|
|
132
|
+
name: t(f)(a)
|
|
133
133
|
}, {
|
|
134
|
-
label:
|
|
135
|
-
|
|
134
|
+
label: R(() => [
|
|
135
|
+
b(de, {
|
|
136
136
|
"context-menu-style": H,
|
|
137
|
-
"affix-num":
|
|
137
|
+
"affix-num": m.value,
|
|
138
138
|
ref_for: !0,
|
|
139
139
|
ref: t(F)(c),
|
|
140
140
|
"tab-item": a
|
|
@@ -147,19 +147,19 @@ const be = B({
|
|
|
147
147
|
}, [
|
|
148
148
|
u.showNavRight ? {
|
|
149
149
|
name: "navRight",
|
|
150
|
-
fn:
|
|
150
|
+
fn: R(() => [
|
|
151
151
|
ee(e.$slots, "nav-right", {}, () => [
|
|
152
152
|
te("div", {
|
|
153
|
-
class: V(t(
|
|
153
|
+
class: V(t(C).e("nav-right"))
|
|
154
154
|
}, [
|
|
155
|
-
|
|
155
|
+
b(t(w), {
|
|
156
156
|
rotate: x.value,
|
|
157
157
|
"rotate-speed": 1,
|
|
158
158
|
onClick: U,
|
|
159
159
|
icon: "icon-refresh-right",
|
|
160
160
|
pointer: ""
|
|
161
161
|
}, null, 8, ["rotate"]),
|
|
162
|
-
|
|
162
|
+
b(t(w), {
|
|
163
163
|
onClick: K,
|
|
164
164
|
icon: t(l).isFullScreen ? "icon-collapse" : "icon-expand",
|
|
165
165
|
pointer: ""
|
|
@@ -7,14 +7,14 @@ export declare const VftPopconfirm: import("vft/es/utils").SFCWithInstall<{
|
|
|
7
7
|
type: import("vue").PropType<string | number>;
|
|
8
8
|
default: number;
|
|
9
9
|
};
|
|
10
|
-
icon: {
|
|
11
|
-
type: import("vue").PropType<string | import("vft/es/vft").IconProps>;
|
|
12
|
-
default: string;
|
|
13
|
-
};
|
|
14
10
|
teleported: {
|
|
15
11
|
type: import("vue").PropType<boolean>;
|
|
16
12
|
default: boolean;
|
|
17
13
|
};
|
|
14
|
+
icon: {
|
|
15
|
+
type: import("vue").PropType<string | import("vft/es/vft").IconProps>;
|
|
16
|
+
default: string;
|
|
17
|
+
};
|
|
18
18
|
hideAfter: {
|
|
19
19
|
type: import("vue").PropType<number>;
|
|
20
20
|
default: number;
|
|
@@ -52,8 +52,8 @@ export declare const VftPopconfirm: import("vft/es/utils").SFCWithInstall<{
|
|
|
52
52
|
cancel: (val: MouseEvent) => void;
|
|
53
53
|
}, import("vue").PublicProps, {
|
|
54
54
|
width: string | number;
|
|
55
|
-
icon: string | import("vft/es/vft").IconProps;
|
|
56
55
|
teleported: boolean;
|
|
56
|
+
icon: string | import("vft/es/vft").IconProps;
|
|
57
57
|
hideAfter: number;
|
|
58
58
|
persistent: boolean;
|
|
59
59
|
confirmButtonType: import("vft/es/vft").ButtonType;
|
|
@@ -74,14 +74,14 @@ export declare const VftPopconfirm: import("vft/es/utils").SFCWithInstall<{
|
|
|
74
74
|
type: import("vue").PropType<string | number>;
|
|
75
75
|
default: number;
|
|
76
76
|
};
|
|
77
|
-
icon: {
|
|
78
|
-
type: import("vue").PropType<string | import("vft/es/vft").IconProps>;
|
|
79
|
-
default: string;
|
|
80
|
-
};
|
|
81
77
|
teleported: {
|
|
82
78
|
type: import("vue").PropType<boolean>;
|
|
83
79
|
default: boolean;
|
|
84
80
|
};
|
|
81
|
+
icon: {
|
|
82
|
+
type: import("vue").PropType<string | import("vft/es/vft").IconProps>;
|
|
83
|
+
default: string;
|
|
84
|
+
};
|
|
85
85
|
hideAfter: {
|
|
86
86
|
type: import("vue").PropType<number>;
|
|
87
87
|
default: number;
|
|
@@ -116,8 +116,8 @@ export declare const VftPopconfirm: import("vft/es/utils").SFCWithInstall<{
|
|
|
116
116
|
onConfirm?: ((val: MouseEvent) => any) | undefined;
|
|
117
117
|
}>, {}, {}, {}, {}, {
|
|
118
118
|
width: string | number;
|
|
119
|
-
icon: string | import("vft/es/vft").IconProps;
|
|
120
119
|
teleported: boolean;
|
|
120
|
+
icon: string | import("vft/es/vft").IconProps;
|
|
121
121
|
hideAfter: number;
|
|
122
122
|
persistent: boolean;
|
|
123
123
|
confirmButtonType: import("vft/es/vft").ButtonType;
|
|
@@ -135,14 +135,14 @@ export declare const VftPopconfirm: import("vft/es/utils").SFCWithInstall<{
|
|
|
135
135
|
type: import("vue").PropType<string | number>;
|
|
136
136
|
default: number;
|
|
137
137
|
};
|
|
138
|
-
icon: {
|
|
139
|
-
type: import("vue").PropType<string | import("vft/es/vft").IconProps>;
|
|
140
|
-
default: string;
|
|
141
|
-
};
|
|
142
138
|
teleported: {
|
|
143
139
|
type: import("vue").PropType<boolean>;
|
|
144
140
|
default: boolean;
|
|
145
141
|
};
|
|
142
|
+
icon: {
|
|
143
|
+
type: import("vue").PropType<string | import("vft/es/vft").IconProps>;
|
|
144
|
+
default: string;
|
|
145
|
+
};
|
|
146
146
|
hideAfter: {
|
|
147
147
|
type: import("vue").PropType<number>;
|
|
148
148
|
default: number;
|
|
@@ -180,8 +180,8 @@ export declare const VftPopconfirm: import("vft/es/utils").SFCWithInstall<{
|
|
|
180
180
|
cancel: (val: MouseEvent) => void;
|
|
181
181
|
}, string, {
|
|
182
182
|
width: string | number;
|
|
183
|
-
icon: string | import("vft/es/vft").IconProps;
|
|
184
183
|
teleported: boolean;
|
|
184
|
+
icon: string | import("vft/es/vft").IconProps;
|
|
185
185
|
hideAfter: number;
|
|
186
186
|
persistent: boolean;
|
|
187
187
|
confirmButtonType: import("vft/es/vft").ButtonType;
|
|
@@ -43,8 +43,8 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
43
43
|
onConfirm?: ((val: MouseEvent) => any) | undefined;
|
|
44
44
|
}>, {
|
|
45
45
|
width: string | number;
|
|
46
|
-
icon: string | IconProps;
|
|
47
46
|
teleported: boolean;
|
|
47
|
+
icon: string | IconProps;
|
|
48
48
|
hideAfter: number;
|
|
49
49
|
persistent: boolean;
|
|
50
50
|
confirmButtonType: ButtonType;
|
|
@@ -263,9 +263,9 @@ export declare const VftSelect: SFCWithInstall<import("vue").DefineComponent<imp
|
|
|
263
263
|
readonly placement?: import("@popperjs/core").Placement | undefined;
|
|
264
264
|
readonly strategy?: "fixed" | "absolute" | undefined;
|
|
265
265
|
readonly effect?: "light" | "dark" | undefined;
|
|
266
|
-
readonly visible?: boolean | null | undefined;
|
|
267
266
|
readonly teleported?: boolean | undefined;
|
|
268
267
|
readonly open?: boolean | undefined;
|
|
268
|
+
readonly visible?: boolean | null | undefined;
|
|
269
269
|
readonly trigger?: import("vft/es/vft").TooltipTriggerType | undefined;
|
|
270
270
|
readonly arrowOffset?: number | undefined;
|
|
271
271
|
readonly gpuAcceleration?: boolean | undefined;
|
|
@@ -681,9 +681,9 @@ export declare const VftSelect: SFCWithInstall<import("vue").DefineComponent<imp
|
|
|
681
681
|
readonly placement?: import("@popperjs/core").Placement | undefined;
|
|
682
682
|
readonly strategy?: "fixed" | "absolute" | undefined;
|
|
683
683
|
readonly effect?: "light" | "dark" | undefined;
|
|
684
|
-
readonly visible?: boolean | null | undefined;
|
|
685
684
|
readonly teleported?: boolean | undefined;
|
|
686
685
|
readonly open?: boolean | undefined;
|
|
686
|
+
readonly visible?: boolean | null | undefined;
|
|
687
687
|
readonly trigger?: import("vft/es/vft").TooltipTriggerType | undefined;
|
|
688
688
|
readonly arrowOffset?: number | undefined;
|
|
689
689
|
readonly gpuAcceleration?: boolean | undefined;
|
|
@@ -1100,9 +1100,9 @@ export declare const VftSelect: SFCWithInstall<import("vue").DefineComponent<imp
|
|
|
1100
1100
|
readonly placement?: import("@popperjs/core").Placement | undefined;
|
|
1101
1101
|
readonly strategy?: "fixed" | "absolute" | undefined;
|
|
1102
1102
|
readonly effect?: "light" | "dark" | undefined;
|
|
1103
|
-
readonly visible?: boolean | null | undefined;
|
|
1104
1103
|
readonly teleported?: boolean | undefined;
|
|
1105
1104
|
readonly open?: boolean | undefined;
|
|
1105
|
+
readonly visible?: boolean | null | undefined;
|
|
1106
1106
|
readonly trigger?: import("vft/es/vft").TooltipTriggerType | undefined;
|
|
1107
1107
|
readonly arrowOffset?: number | undefined;
|
|
1108
1108
|
readonly gpuAcceleration?: boolean | undefined;
|
|
@@ -1518,9 +1518,9 @@ export declare const VftSelect: SFCWithInstall<import("vue").DefineComponent<imp
|
|
|
1518
1518
|
readonly placement?: import("@popperjs/core").Placement | undefined;
|
|
1519
1519
|
readonly strategy?: "fixed" | "absolute" | undefined;
|
|
1520
1520
|
readonly effect?: "light" | "dark" | undefined;
|
|
1521
|
-
readonly visible?: boolean | null | undefined;
|
|
1522
1521
|
readonly teleported?: boolean | undefined;
|
|
1523
1522
|
readonly open?: boolean | undefined;
|
|
1523
|
+
readonly visible?: boolean | null | undefined;
|
|
1524
1524
|
readonly trigger?: import("vft/es/vft").TooltipTriggerType | undefined;
|
|
1525
1525
|
readonly arrowOffset?: number | undefined;
|
|
1526
1526
|
readonly gpuAcceleration?: boolean | undefined;
|
|
@@ -259,9 +259,9 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
259
259
|
readonly placement?: import("@popperjs/core").Placement | undefined;
|
|
260
260
|
readonly strategy?: "fixed" | "absolute" | undefined;
|
|
261
261
|
readonly effect?: "light" | "dark" | undefined;
|
|
262
|
-
readonly visible?: boolean | null | undefined;
|
|
263
262
|
readonly teleported?: boolean | undefined;
|
|
264
263
|
readonly open?: boolean | undefined;
|
|
264
|
+
readonly visible?: boolean | null | undefined;
|
|
265
265
|
readonly trigger?: import("vft/es/components/tooltip").TooltipTriggerType | undefined;
|
|
266
266
|
readonly arrowOffset?: number | undefined;
|
|
267
267
|
readonly gpuAcceleration?: boolean | undefined;
|
|
@@ -677,9 +677,9 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
677
677
|
readonly placement?: import("@popperjs/core").Placement | undefined;
|
|
678
678
|
readonly strategy?: "fixed" | "absolute" | undefined;
|
|
679
679
|
readonly effect?: "light" | "dark" | undefined;
|
|
680
|
-
readonly visible?: boolean | null | undefined;
|
|
681
680
|
readonly teleported?: boolean | undefined;
|
|
682
681
|
readonly open?: boolean | undefined;
|
|
682
|
+
readonly visible?: boolean | null | undefined;
|
|
683
683
|
readonly trigger?: import("vft/es/components/tooltip").TooltipTriggerType | undefined;
|
|
684
684
|
readonly arrowOffset?: number | undefined;
|
|
685
685
|
readonly gpuAcceleration?: boolean | undefined;
|
|
@@ -1096,9 +1096,9 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1096
1096
|
readonly placement?: import("@popperjs/core").Placement | undefined;
|
|
1097
1097
|
readonly strategy?: "fixed" | "absolute" | undefined;
|
|
1098
1098
|
readonly effect?: "light" | "dark" | undefined;
|
|
1099
|
-
readonly visible?: boolean | null | undefined;
|
|
1100
1099
|
readonly teleported?: boolean | undefined;
|
|
1101
1100
|
readonly open?: boolean | undefined;
|
|
1101
|
+
readonly visible?: boolean | null | undefined;
|
|
1102
1102
|
readonly trigger?: import("vft/es/components/tooltip").TooltipTriggerType | undefined;
|
|
1103
1103
|
readonly arrowOffset?: number | undefined;
|
|
1104
1104
|
readonly gpuAcceleration?: boolean | undefined;
|
|
@@ -1514,9 +1514,9 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1514
1514
|
readonly placement?: import("@popperjs/core").Placement | undefined;
|
|
1515
1515
|
readonly strategy?: "fixed" | "absolute" | undefined;
|
|
1516
1516
|
readonly effect?: "light" | "dark" | undefined;
|
|
1517
|
-
readonly visible?: boolean | null | undefined;
|
|
1518
1517
|
readonly teleported?: boolean | undefined;
|
|
1519
1518
|
readonly open?: boolean | undefined;
|
|
1519
|
+
readonly visible?: boolean | null | undefined;
|
|
1520
1520
|
readonly trigger?: import("vft/es/components/tooltip").TooltipTriggerType | undefined;
|
|
1521
1521
|
readonly arrowOffset?: number | undefined;
|
|
1522
1522
|
readonly gpuAcceleration?: boolean | undefined;
|
|
@@ -103,9 +103,9 @@ declare const useSelect: (props: SelectV2Props, emit: any) => {
|
|
|
103
103
|
readonly placement?: import("@popperjs/core").Placement | undefined;
|
|
104
104
|
readonly strategy?: "fixed" | "absolute" | undefined;
|
|
105
105
|
readonly effect?: "light" | "dark" | undefined;
|
|
106
|
-
readonly visible?: boolean | null | undefined;
|
|
107
106
|
readonly teleported?: boolean | undefined;
|
|
108
107
|
readonly open?: boolean | undefined;
|
|
108
|
+
readonly visible?: boolean | null | undefined;
|
|
109
109
|
readonly trigger?: import("vft/es/components/tooltip").TooltipTriggerType | undefined;
|
|
110
110
|
readonly arrowOffset?: number | undefined;
|
|
111
111
|
readonly gpuAcceleration?: boolean | undefined;
|
|
@@ -521,9 +521,9 @@ declare const useSelect: (props: SelectV2Props, emit: any) => {
|
|
|
521
521
|
readonly placement?: import("@popperjs/core").Placement | undefined;
|
|
522
522
|
readonly strategy?: "fixed" | "absolute" | undefined;
|
|
523
523
|
readonly effect?: "light" | "dark" | undefined;
|
|
524
|
-
readonly visible?: boolean | null | undefined;
|
|
525
524
|
readonly teleported?: boolean | undefined;
|
|
526
525
|
readonly open?: boolean | undefined;
|
|
526
|
+
readonly visible?: boolean | null | undefined;
|
|
527
527
|
readonly trigger?: import("vft/es/components/tooltip").TooltipTriggerType | undefined;
|
|
528
528
|
readonly arrowOffset?: number | undefined;
|
|
529
529
|
readonly gpuAcceleration?: boolean | undefined;
|
|
@@ -940,9 +940,9 @@ declare const useSelect: (props: SelectV2Props, emit: any) => {
|
|
|
940
940
|
readonly placement?: import("@popperjs/core").Placement | undefined;
|
|
941
941
|
readonly strategy?: "fixed" | "absolute" | undefined;
|
|
942
942
|
readonly effect?: "light" | "dark" | undefined;
|
|
943
|
-
readonly visible?: boolean | null | undefined;
|
|
944
943
|
readonly teleported?: boolean | undefined;
|
|
945
944
|
readonly open?: boolean | undefined;
|
|
945
|
+
readonly visible?: boolean | null | undefined;
|
|
946
946
|
readonly trigger?: import("vft/es/components/tooltip").TooltipTriggerType | undefined;
|
|
947
947
|
readonly arrowOffset?: number | undefined;
|
|
948
948
|
readonly gpuAcceleration?: boolean | undefined;
|
|
@@ -1358,9 +1358,9 @@ declare const useSelect: (props: SelectV2Props, emit: any) => {
|
|
|
1358
1358
|
readonly placement?: import("@popperjs/core").Placement | undefined;
|
|
1359
1359
|
readonly strategy?: "fixed" | "absolute" | undefined;
|
|
1360
1360
|
readonly effect?: "light" | "dark" | undefined;
|
|
1361
|
-
readonly visible?: boolean | null | undefined;
|
|
1362
1361
|
readonly teleported?: boolean | undefined;
|
|
1363
1362
|
readonly open?: boolean | undefined;
|
|
1363
|
+
readonly visible?: boolean | null | undefined;
|
|
1364
1364
|
readonly trigger?: import("vft/es/components/tooltip").TooltipTriggerType | undefined;
|
|
1365
1365
|
readonly arrowOffset?: number | undefined;
|
|
1366
1366
|
readonly gpuAcceleration?: boolean | undefined;
|