vft 0.0.522 → 0.0.524
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/dist/index.css +1 -1
- package/es/components/affix/affix.vue2.js +2 -2
- package/es/components/alert/alert.vue2.js +1 -1
- package/es/components/autocomplete/autocomplete.vue.d.ts +2 -2
- package/es/components/autocomplete/autocomplete.vue2.js +1 -1
- package/es/components/autocomplete/index.d.ts +6 -6
- package/es/components/avatar/avatar.vue2.js +2 -2
- package/es/components/avatar-stack/avatar-stack.vue2.js +7 -7
- package/es/components/backtop/backtop.vue2.js +1 -1
- package/es/components/breadcrumb/breadcrumb-item.vue2.js +3 -3
- package/es/components/breadcrumb/breadcrumb.vue2.js +2 -2
- package/es/components/button/button-group.vue2.js +2 -2
- package/es/components/button/button.vue2.js +7 -7
- package/es/components/button/index.d.ts +9 -9
- package/es/components/button/use-button.js +3 -3
- package/es/components/card/card.vue2.js +6 -6
- package/es/components/carousel/carousel-item.vue2.js +3 -3
- package/es/components/carousel/carousel.vue2.js +1 -1
- package/es/components/carousel/use-carousel.js +1 -1
- package/es/components/cascader/cascader.vue2.js +1 -1
- package/es/components/cascader-panel/index.vue2.js +1 -1
- package/es/components/cascader-panel/menu.vue2.js +5 -5
- package/es/components/cascader-panel/node.vue2.js +8 -8
- package/es/components/check-tag/check-tag.vue2.js +2 -2
- package/es/components/checkbox/checkbox-button.vue2.js +13 -13
- package/es/components/checkbox/checkbox-group.vue2.js +3 -3
- package/es/components/checkbox/checkbox.vue2.js +1 -1
- package/es/components/clamp/clamp.vue2.js +2 -2
- package/es/components/clamp-toggle/clamp-toggle.vue2.js +3 -3
- package/es/components/clamp-tooltip/clamp-tooltip.vue2.js +6 -6
- package/es/components/col/col.vue2.js +2 -2
- package/es/components/collapse/collapse-item.vue2.js +2 -2
- package/es/components/collapse/collapse.vue2.js +2 -2
- package/es/components/collapse-transition/collapse-transition.vue2.js +2 -2
- package/es/components/color-picker/color-picker.vue2.js +1 -1
- package/es/components/color-picker/components/alpha-slider.vue2.js +2 -2
- package/es/components/color-picker/components/hue-slider.vue.js +2 -2
- package/es/components/color-picker/components/predefine.vue.js +3 -3
- package/es/components/color-picker/components/sv-panel.vue.js +2 -2
- package/es/components/config-provider/config-provider.vue2.js +2 -2
- package/es/components/config-provider/hooks/use-global-config.js +4 -4
- package/es/components/container/aside.vue2.js +2 -2
- package/es/components/container/container.vue2.js +2 -2
- package/es/components/container/footer.vue2.js +2 -2
- package/es/components/container/header.vue2.js +2 -2
- package/es/components/container/main.vue2.js +2 -2
- package/es/components/context-menu/context-menu.vue2.js +1 -1
- package/es/components/countdown/countdown.vue2.js +2 -2
- package/es/components/date-picker/date-picker-com/basic-date-table.vue2.js +6 -6
- package/es/components/date-picker/date-picker-com/basic-month-table.vue2.js +4 -4
- package/es/components/date-picker/date-picker-com/basic-year-table.vue2.js +4 -4
- package/es/components/date-picker/date-picker-com/panel-date-pick.vue2.js +1 -1
- package/es/components/date-picker/date-picker-com/panel-date-range.vue2.js +2 -2
- package/es/components/date-picker/date-picker-com/panel-month-range.vue2.js +12 -12
- package/es/components/date-picker/date-picker-com/panel-year-range.vue2.js +12 -12
- package/es/components/date-picker/props/basic-date-table.js +3 -3
- package/es/components/date-picker/props/basic-month-table.js +3 -3
- package/es/components/date-picker/props/basic-year-table.js +3 -3
- package/es/components/descriptions/description.vue2.js +1 -1
- package/es/components/descriptions/descriptions-row.vue2.js +10 -10
- package/es/components/dialog/dialog-content.vue2.js +3 -3
- package/es/components/dialog/dialog.vue2.js +5 -5
- package/es/components/divider/divider.vue2.js +5 -5
- package/es/components/drawer/drawer.vue2.js +4 -4
- package/es/components/dropdown/dropdown-item-impl.vue2.js +3 -3
- package/es/components/dropdown/dropdown-item.vue2.js +2 -2
- package/es/components/dropdown/dropdown-menu.vue2.js +2 -2
- package/es/components/dropdown/dropdown.vue2.js +4 -4
- package/es/components/empty/empty.vue2.js +5 -5
- package/es/components/footer-layout/footer-layout.vue2.js +2 -2
- package/es/components/form/form-item.vue2.js +16 -16
- package/es/components/form/form.vue2.js +2 -2
- package/es/components/full-screen/full-screen.vue2.js +2 -2
- package/es/components/header-layout/header-layout.vue2.js +1 -1
- package/es/components/horizontal-menu/horizontal-menu.vue2.js +3 -3
- package/es/components/icon/icon.vue2.js +3 -3
- package/es/components/icon-text/icon-text.vue2.js +1 -1
- package/es/components/iframe-layout/iframe-layout.vue2.js +4 -4
- package/es/components/iframe-layout/iframe-page.vue2.js +2 -2
- package/es/components/image/image.vue2.js +1 -1
- package/es/components/image-viewer/image-viewer.vue2.js +6 -6
- package/es/components/index.js +181 -181
- package/es/components/input/input.vue2.js +2 -2
- package/es/components/input-number/input-number.vue2.js +4 -4
- package/es/components/input-tag/composables/use-input-tag.js +1 -1
- package/es/components/input-tag/input-tag.vue2.js +7 -7
- package/es/components/link/link.vue2.js +1 -1
- package/es/components/list-cell/list-cell.vue2.js +1 -1
- package/es/components/logo/index.d.ts +6 -0
- package/es/components/logo/logo.vue2.js +23 -22
- package/es/components/logo/types.d.ts +2 -0
- package/es/components/md-container/md-container.vue2.js +5 -5
- package/es/components/menu/menu-collapse-transition.vue.js +2 -2
- package/es/components/menu/menu-item-group.vue2.js +7 -7
- package/es/components/menu/menu-item.vue2.js +1 -1
- package/es/components/message/message.vue2.js +3 -3
- package/es/components/message-box/message-box.vue2.js +1 -1
- package/es/components/modal/modal-footer-action.vue2.js +10 -10
- package/es/components/modal/modal.vue2.js +3 -3
- package/es/components/multiple-tabs/multiple-tabs.vue2.js +1 -1
- package/es/components/multiple-tabs/tab-content.vue2.js +2 -2
- package/es/components/notification/notification.vue2.js +1 -1
- package/es/components/overlay/overlay.vue2.js +1 -1
- package/es/components/page-wrapper/page-wrapper.vue2.js +2 -2
- package/es/components/pagination/components/jumper.vue2.js +2 -2
- package/es/components/pagination/components/next.vue2.js +4 -4
- package/es/components/pagination/components/pager.vue2.js +1 -1
- package/es/components/pagination/components/prev.vue2.js +4 -4
- package/es/components/pagination/components/sizes.vue2.js +2 -2
- package/es/components/pagination/components/total.vue2.js +2 -2
- package/es/components/popconfirm/index.d.ts +15 -15
- package/es/components/popconfirm/popconfirm.vue.d.ts +1 -1
- package/es/components/popconfirm/popconfirm.vue2.js +3 -3
- package/es/components/popover/popover.vue2.js +9 -9
- package/es/components/popper/arrow.vue2.js +2 -2
- package/es/components/popper/content.vue2.js +2 -2
- package/es/components/popper/trigger.vue2.js +4 -4
- package/es/components/progress/progress.vue2.js +1 -1
- package/es/components/progress-i/progress-i.vue2.js +2 -2
- package/es/components/qrcode/qrcode.vue2.js +1 -1
- package/es/components/radio/radio-button.vue2.js +2 -2
- package/es/components/radio/radio-group.vue2.js +3 -3
- package/es/components/radio/radio.vue2.js +2 -2
- package/es/components/rate/rate.vue2.js +6 -6
- package/es/components/router-view-content/router-view-content.vue2.js +7 -7
- package/es/components/roving-focus-group/roving-focus-group.vue2.js +2 -2
- package/es/components/roving-focus-group/roving-focus-item.vue2.js +2 -2
- package/es/components/row/row.vue2.js +2 -2
- package/es/components/scrollbar/bar.vue2.js +2 -2
- package/es/components/scrollbar/scrollbar.vue2.js +7 -7
- package/es/components/scrollbar/thumb.vue2.js +2 -2
- package/es/components/search/search.vue2.js +48 -44
- package/es/components/segmented/segmented.vue2.js +7 -7
- package/es/components/select/group-item.vue.js +2 -2
- package/es/components/select/index.d.ts +4 -4
- package/es/components/select/option-item.vue.js +2 -2
- package/es/components/select/select.vue.d.ts +4 -4
- package/es/components/select/select.vue.js +1 -1
- package/es/components/select/useSelect.d.ts +4 -4
- package/es/components/skeleton/skeleton-item.vue2.js +2 -2
- package/es/components/skeleton/skeleton.vue2.js +8 -8
- package/es/components/slider/button.vue2.js +2 -2
- package/es/components/slider/slider.vue2.js +1 -1
- package/es/components/space/space.js +1 -1
- package/es/components/statistic/statistic.vue2.js +17 -17
- package/es/components/steps/item.vue2.js +11 -11
- package/es/components/steps/steps.vue2.js +2 -2
- package/es/components/super-form/super-form-action.vue2.js +11 -11
- package/es/components/super-form/super-form.vue2.js +7 -7
- package/es/components/switch/switch.vue2.js +1 -1
- package/es/components/table/table.vue2.js +4 -4
- package/es/components/tabs/tab-bar.vue2.js +2 -2
- package/es/components/tabs/tab-pane.vue2.js +6 -6
- package/es/components/teleport/teleport.vue2.js +2 -2
- package/es/components/time-picker/common/picker-range-trigger.vue2.js +2 -2
- package/es/components/time-picker/common/picker.vue2.js +8 -8
- package/es/components/time-picker/time-picker-com/basic-time-spinner.vue2.js +1 -1
- package/es/components/time-picker/time-picker-com/panel-time-pick.vue2.js +3 -3
- package/es/components/time-picker/time-picker-com/panel-time-range.vue2.js +3 -3
- package/es/components/time-select/time-select.vue2.js +3 -3
- package/es/components/timeline/timeline-item.vue2.js +1 -1
- package/es/components/tooltip/content.vue2.js +6 -6
- package/es/components/tooltip/tooltip.vue2.js +1 -1
- package/es/components/tooltip/trigger.vue2.js +2 -2
- package/es/components/transfer/transfer-panel.vue2.js +7 -7
- package/es/components/transfer/transfer.vue2.js +4 -4
- package/es/components/tree/tree-node.vue.js +1 -1
- package/es/components/tree/tree.vue2.js +6 -6
- package/es/components/upload/index.d.ts +2 -2
- package/es/components/upload/upload-content.vue2.js +7 -7
- package/es/components/upload/upload-dragger.vue2.js +2 -2
- package/es/components/upload/upload-list.vue2.js +1 -1
- package/es/components/upload/upload.vue.d.ts +2 -2
- package/es/components/upload/upload.vue2.js +22 -22
- package/es/components/verify-code/verify-code.vue2.js +2 -2
- package/es/components/watermark/watermark.vue2.js +2 -2
- package/es/hooks/use-id/index.js +2 -2
- package/es/hooks/use-z-index/index.js +3 -3
- package/es/index.js +39 -39
- package/es/package.json.d.ts +1 -1
- package/es/package.json.js +1 -1
- package/es/plugin.js +7 -7
- package/es/utils/helper.js +2 -2
- package/es/utils/ns-cover.js +1 -1
- package/es/utils/vue/vnode.js +4 -4
- 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/button/use-button.cjs +1 -1
- package/lib/components/date-picker/date-picker-com/panel-date-range.vue2.cjs +1 -1
- package/lib/components/index.cjs +1 -1
- package/lib/components/logo/index.d.ts +6 -0
- package/lib/components/logo/logo.vue2.cjs +1 -1
- package/lib/components/logo/types.d.ts +2 -0
- package/lib/components/popconfirm/index.d.ts +15 -15
- package/lib/components/popconfirm/popconfirm.vue.d.ts +1 -1
- package/lib/components/popover/popover.vue2.cjs +1 -1
- package/lib/components/search/search.vue2.cjs +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/upload/index.d.ts +2 -2
- package/lib/components/upload/upload.vue.d.ts +2 -2
- package/lib/components/upload/upload.vue2.cjs +1 -1
- package/lib/index.cjs +1 -1
- package/lib/package.json.cjs +1 -1
- package/lib/package.json.d.ts +1 -1
- package/lib/plugin.cjs +1 -1
- package/package.json +4 -4
- package/theme-style/index.css +1 -1
- package/theme-style/src/md/table.scss +1 -4
- package/theme-style/vft-md-container.css +1 -1
- package/web-types.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as s, getCurrentInstance as k, computed as b,
|
|
1
|
+
import { defineComponent as s, getCurrentInstance as k, computed as b, createElementBlock as r, openBlock as i, normalizeClass as a, unref as t, createBlock as y, createCommentVNode as c, normalizeProps as C, mergeProps as g, renderSlot as B } from "vue";
|
|
2
2
|
import { VftIcon as v } from "../icon/index.js";
|
|
3
3
|
import "@vueuse/core";
|
|
4
4
|
import { singleAttrToObj as P } from "@vft/utils";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as h, ref as y, computed as _,
|
|
1
|
+
import { defineComponent as h, ref as y, computed as _, createElementBlock as m, openBlock as l, normalizeClass as r, normalizeStyle as V, unref as e, Fragment as N, renderList as z, createElementVNode as f, createVNode as B, mergeProps as d, toDisplayString as D, createBlock as p, createCommentVNode as T } from "vue";
|
|
2
2
|
import { VftIcon as g } from "../icon/index.js";
|
|
3
3
|
import "@vueuse/core";
|
|
4
4
|
import { VNode as b, singleAttrToObj as E } from "@vft/utils";
|
|
@@ -5,6 +5,9 @@ export declare const VftLogo: import("vft/es/utils").SFCWithInstall<import("vue"
|
|
|
5
5
|
logo: {
|
|
6
6
|
type: import("vue").PropType<string>;
|
|
7
7
|
};
|
|
8
|
+
alt: {
|
|
9
|
+
type: import("vue").PropType<string>;
|
|
10
|
+
};
|
|
8
11
|
jumpPath: {
|
|
9
12
|
type: import("vue").PropType<string>;
|
|
10
13
|
};
|
|
@@ -15,6 +18,9 @@ export declare const VftLogo: import("vft/es/utils").SFCWithInstall<import("vue"
|
|
|
15
18
|
logo: {
|
|
16
19
|
type: import("vue").PropType<string>;
|
|
17
20
|
};
|
|
21
|
+
alt: {
|
|
22
|
+
type: import("vue").PropType<string>;
|
|
23
|
+
};
|
|
18
24
|
jumpPath: {
|
|
19
25
|
type: import("vue").PropType<string>;
|
|
20
26
|
};
|
|
@@ -1,48 +1,49 @@
|
|
|
1
|
-
import { defineComponent as
|
|
1
|
+
import { defineComponent as r, computed as o, getCurrentInstance as k, createElementBlock as l, createCommentVNode as n, openBlock as i, normalizeStyle as p, normalizeClass as a, unref as c, toDisplayString as C } from "vue";
|
|
2
2
|
import "@vueuse/core";
|
|
3
3
|
import "@vft/utils";
|
|
4
4
|
import "../config-provider/hooks/use-global-config.js";
|
|
5
5
|
import "lodash-es";
|
|
6
6
|
import "../form/index.js";
|
|
7
|
-
import { useNamespace as
|
|
7
|
+
import { useNamespace as h } from "../../hooks/use-namespace/index.js";
|
|
8
8
|
import "../../hooks/use-model-toggle/index.js";
|
|
9
9
|
import "@popperjs/core";
|
|
10
10
|
import "../../hooks/use-z-index/index.js";
|
|
11
|
-
import { useRouterHelper as
|
|
12
|
-
const y = ["src"],
|
|
11
|
+
import { useRouterHelper as v } from "@vft/router";
|
|
12
|
+
const y = ["src", "alt"], P = r({
|
|
13
13
|
name: "vft-logo"
|
|
14
|
-
}), R = /* @__PURE__ */
|
|
15
|
-
...
|
|
14
|
+
}), R = /* @__PURE__ */ r({
|
|
15
|
+
...P,
|
|
16
16
|
props: {
|
|
17
17
|
title: {},
|
|
18
18
|
logo: {},
|
|
19
|
+
alt: {},
|
|
19
20
|
jumpPath: { default: "/" }
|
|
20
21
|
},
|
|
21
22
|
setup(t) {
|
|
22
|
-
const e =
|
|
23
|
-
function
|
|
24
|
-
t.jumpPath &&
|
|
23
|
+
const m = o(() => t.alt || t.title || "Logo"), e = h("logo"), s = o(() => [e.b()]), u = k().appContext.config.globalProperties.$router, { go: g } = v(u);
|
|
24
|
+
function f() {
|
|
25
|
+
t.jumpPath && g(t.jumpPath);
|
|
25
26
|
}
|
|
26
|
-
const
|
|
27
|
+
const d = o(
|
|
27
28
|
() => t.jumpPath ? {} : e.cssVarBlock({ cursor: "inital" })
|
|
28
29
|
);
|
|
29
|
-
return (
|
|
30
|
+
return (x, B) => t.logo || t.title ? (i(), l("div", {
|
|
30
31
|
key: 0,
|
|
31
|
-
class:
|
|
32
|
-
onClick:
|
|
33
|
-
style: d
|
|
32
|
+
class: a(s.value),
|
|
33
|
+
onClick: f,
|
|
34
|
+
style: p(d.value)
|
|
34
35
|
}, [
|
|
35
|
-
t.logo ? (
|
|
36
|
+
t.logo ? (i(), l("img", {
|
|
36
37
|
key: 0,
|
|
37
|
-
class:
|
|
38
|
+
class: a(c(e).e("img")),
|
|
38
39
|
src: t.logo,
|
|
39
|
-
alt:
|
|
40
|
-
}, null, 10, y)) :
|
|
41
|
-
t.title ? (
|
|
40
|
+
alt: m.value
|
|
41
|
+
}, null, 10, y)) : n("", !0),
|
|
42
|
+
t.title ? (i(), l("div", {
|
|
42
43
|
key: 1,
|
|
43
|
-
class:
|
|
44
|
-
},
|
|
45
|
-
], 6)) :
|
|
44
|
+
class: a(c(e).e("title"))
|
|
45
|
+
}, C(t.title), 3)) : n("", !0)
|
|
46
|
+
], 6)) : n("", !0);
|
|
46
47
|
}
|
|
47
48
|
});
|
|
48
49
|
export {
|
|
@@ -1,4 +1,4 @@
|
|
|
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,
|
|
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, createElementBlock as d, openBlock as r, normalizeClass as c, unref as e, createBlock as k, createCommentVNode as f, createElementVNode as l, renderSlot as x, toDisplayString as b, createVNode as p, Fragment as I, renderList as O, withCtx as F, createTextVNode as H } from "vue";
|
|
2
2
|
import { VftIcon as D } from "../icon/index.js";
|
|
3
3
|
import { VftIconText as J } from "../icon-text/index.js";
|
|
4
4
|
import { VftSideMenu as j } from "../side-menu/index.js";
|
|
@@ -103,7 +103,7 @@ const se = { class: "info-container" }, re = {
|
|
|
103
103
|
}, [
|
|
104
104
|
l("h1", {
|
|
105
105
|
class: c(e(s).e("title"))
|
|
106
|
-
},
|
|
106
|
+
}, b(e(n).meta?.title), 3),
|
|
107
107
|
l("div", se, [
|
|
108
108
|
e(n).meta?.category?.length ? (r(), d("div", re, [
|
|
109
109
|
p(e(D), {
|
|
@@ -119,7 +119,7 @@ const se = { class: "info-container" }, re = {
|
|
|
119
119
|
onClick: (fe) => E(o)
|
|
120
120
|
}, {
|
|
121
121
|
default: F(() => [
|
|
122
|
-
H(
|
|
122
|
+
H(b(o), 1)
|
|
123
123
|
]),
|
|
124
124
|
_: 2
|
|
125
125
|
}, 1032, ["type", "onClick"]))), 128))
|
|
@@ -152,9 +152,9 @@ const se = { class: "info-container" }, re = {
|
|
|
152
152
|
l("div", {
|
|
153
153
|
class: c(e(s).e("content"))
|
|
154
154
|
}, [
|
|
155
|
-
|
|
155
|
+
x(t.$slots, "default")
|
|
156
156
|
], 2),
|
|
157
|
-
a.showComment ?
|
|
157
|
+
a.showComment ? x(t.$slots, "comment", { key: 1 }) : f("", !0),
|
|
158
158
|
i[0] || (i[0] = l("ins", {
|
|
159
159
|
class: "adsbygoogle",
|
|
160
160
|
style: { display: "block", "text-align": "center" },
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import o from "./menu-collapse-transition.vue2.js";
|
|
2
|
-
import {
|
|
2
|
+
import { createBlock as r, openBlock as t, Transition as n, mergeProps as s, withCtx as i, renderSlot as a } from "vue";
|
|
3
3
|
import p from "../../_virtual/_plugin-vue_export-helper.js";
|
|
4
4
|
function f(e, l, c, m, d, u) {
|
|
5
|
-
return
|
|
5
|
+
return t(), r(n, s({ mode: "out-in" }, e.listeners), {
|
|
6
6
|
default: i(() => [
|
|
7
7
|
a(e.$slots, "default")
|
|
8
8
|
]),
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as n,
|
|
1
|
+
import { defineComponent as n, createElementBlock as t, openBlock as o, normalizeClass as i, unref as m, createCommentVNode as a, createElementVNode as p, renderSlot as s, Fragment as u, createTextVNode as c, toDisplayString as d } from "vue";
|
|
2
2
|
import "@vueuse/core";
|
|
3
3
|
import "@vft/utils";
|
|
4
4
|
import "../config-provider/hooks/use-global-config.js";
|
|
@@ -17,18 +17,18 @@ const k = n({
|
|
|
17
17
|
},
|
|
18
18
|
setup(r) {
|
|
19
19
|
const l = f("menu-item-group");
|
|
20
|
-
return (e, g) => (
|
|
20
|
+
return (e, g) => (o(), t("li", {
|
|
21
21
|
class: i(m(l).b())
|
|
22
22
|
}, [
|
|
23
|
-
r.title || e.$slots.title ? (
|
|
23
|
+
r.title || e.$slots.title ? (o(), t("div", {
|
|
24
24
|
key: 0,
|
|
25
25
|
class: i(m(l).e("title"))
|
|
26
26
|
}, [
|
|
27
|
-
e.$slots.title ? s(e.$slots, "title", { key: 1 }) : (
|
|
28
|
-
|
|
27
|
+
e.$slots.title ? s(e.$slots, "title", { key: 1 }) : (o(), t(u, { key: 0 }, [
|
|
28
|
+
c(d(r.title), 1)
|
|
29
29
|
], 64))
|
|
30
|
-
], 2)) :
|
|
31
|
-
|
|
30
|
+
], 2)) : a("", !0),
|
|
31
|
+
p("ul", null, [
|
|
32
32
|
s(e.$slots, "default")
|
|
33
33
|
])
|
|
34
34
|
], 2));
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as P, getCurrentInstance as F, useAttrs as O, inject as N, computed as a, reactive as q, onMounted as G, onBeforeUnmount as H,
|
|
1
|
+
import { defineComponent as P, getCurrentInstance as F, useAttrs as O, inject as N, computed as a, reactive as q, onMounted as G, onBeforeUnmount as H, createElementBlock as k, openBlock as n, Fragment as b, createBlock as s, createCommentVNode as m, createElementVNode as M, unref as t, normalizeClass as y, withCtx as $, renderSlot as A, normalizeProps as I, mergeProps as V, createVNode as J } from "vue";
|
|
2
2
|
import { singleAttrToObj as K, renderTNode as L, VNode as Q } from "@vft/utils";
|
|
3
3
|
import { VftIcon as h } from "../icon/index.js";
|
|
4
4
|
import { VftDivider as j } from "../divider/index.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as V, ref as m, computed as i, onMounted as H, watch as $,
|
|
1
|
+
import { defineComponent as V, ref as m, computed as i, onMounted as H, watch as $, createBlock as w, openBlock as c, Transition as D, unref as o, withCtx as F, withDirectives as P, createElementVNode as j, normalizeStyle as A, normalizeClass as a, createElementBlock as d, createCommentVNode as B, renderSlot as U, createVNode as Z, normalizeProps as G, guardReactiveProps as q, toDisplayString as J, mergeProps as K, withModifiers as Q, vShow as W } from "vue";
|
|
2
2
|
import { VftIcon as k } from "../icon/index.js";
|
|
3
3
|
import { EVENT_CODE as X } from "@vft/constants";
|
|
4
4
|
import { useEventListener as Y } from "@vft/use";
|
|
@@ -107,9 +107,9 @@ const se = ["id"], ie = ["innerHTML"], ve = /* @__PURE__ */ V({
|
|
|
107
107
|
key: 0,
|
|
108
108
|
class: a([o(t).e("icon"), O.value])
|
|
109
109
|
}, [
|
|
110
|
-
|
|
110
|
+
Z(o(k), G(q(v.value)), null, 16)
|
|
111
111
|
], 2)) : B("", !0),
|
|
112
|
-
|
|
112
|
+
U(s.$slots, "default", {}, () => [
|
|
113
113
|
e.dangerouslyUseHTMLString ? (c(), d("p", {
|
|
114
114
|
key: 1,
|
|
115
115
|
class: a(o(t).e("content")),
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as J, ref as p, reactive as se, computed as v, watch as F, nextTick as T, onMounted as ie, onBeforeUnmount as re,
|
|
1
|
+
import { defineComponent as J, ref as p, reactive as se, computed as v, watch as F, nextTick as T, onMounted as ie, onBeforeUnmount as re, createBlock as y, openBlock as u, Transition as ue, withCtx as x, withDirectives as V, createVNode as w, unref as t, createElementVNode as c, normalizeClass as i, withModifiers as E, normalizeStyle as q, createElementBlock as R, createCommentVNode as g, toDisplayString as h, withKeys as M, renderSlot as ce, resolveDynamicComponent as Z, vShow as S, createTextVNode as W } from "vue";
|
|
2
2
|
import { VftButton as j } from "../button/index.js";
|
|
3
3
|
import de from "../focus-trap/focus-trap.vue.js";
|
|
4
4
|
import "../focus-trap/utils.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as O, computed as e,
|
|
1
|
+
import { defineComponent as O, computed as e, createBlock as n, openBlock as s, unref as o, normalizeProps as w, guardReactiveProps as y, withCtx as i, createCommentVNode as c, renderSlot as l, mergeProps as p, createTextVNode as f, toDisplayString as B } from "vue";
|
|
2
2
|
import { VftRow as g } from "../row/index.js";
|
|
3
3
|
import { VftButton as b } from "../button/index.js";
|
|
4
4
|
import "@vueuse/core";
|
|
@@ -28,28 +28,28 @@ const A = /* @__PURE__ */ O({
|
|
|
28
28
|
), u = e(
|
|
29
29
|
() => Object.assign({ btnText: "取消" }, t.cancelButtonOptions)
|
|
30
30
|
);
|
|
31
|
-
return (m, v) => (
|
|
31
|
+
return (m, v) => (s(), n(o(g), w(y(d.value)), {
|
|
32
32
|
default: i(() => [
|
|
33
|
-
t.showCancelButton ? (
|
|
33
|
+
t.showCancelButton ? (s(), n(o(b), p({ key: 0 }, u.value, {
|
|
34
34
|
class: o(a).e("cancel")
|
|
35
35
|
}), {
|
|
36
36
|
default: i(() => [
|
|
37
|
-
|
|
37
|
+
f(B(u.value.btnText), 1)
|
|
38
38
|
]),
|
|
39
39
|
_: 1
|
|
40
|
-
}, 16, ["class"])) :
|
|
41
|
-
|
|
42
|
-
t.showSubmitButton ? (
|
|
40
|
+
}, 16, ["class"])) : c("", !0),
|
|
41
|
+
l(m.$slots, "submitBefore"),
|
|
42
|
+
t.showSubmitButton ? (s(), n(o(b), p({
|
|
43
43
|
key: 1,
|
|
44
44
|
type: "primary",
|
|
45
45
|
class: o(a).e("submit")
|
|
46
46
|
}, r.value), {
|
|
47
47
|
default: i(() => [
|
|
48
|
-
|
|
48
|
+
f(B(r.value.btnText), 1)
|
|
49
49
|
]),
|
|
50
50
|
_: 1
|
|
51
|
-
}, 16, ["class"])) :
|
|
52
|
-
|
|
51
|
+
}, 16, ["class"])) : c("", !0),
|
|
52
|
+
l(m.$slots, "submitAfter")
|
|
53
53
|
]),
|
|
54
54
|
_: 3
|
|
55
55
|
}, 16));
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as A, useAttrs as $, ref as m, getCurrentInstance as M, computed as d, unref as t, watchEffect as P, watch as T, nextTick as B,
|
|
1
|
+
import { defineComponent as A, useAttrs as $, ref as m, getCurrentInstance as M, computed as d, unref as t, watchEffect as P, watch as T, nextTick as B, createBlock as C, openBlock as g, mergeProps as R, createSlots as S, withCtx as w, renderSlot as h, createCommentVNode as D } from "vue";
|
|
2
2
|
import { VftDialog as G } from "../dialog/index.js";
|
|
3
3
|
import { deepMerge as I, isFunction as x } from "@vft/utils";
|
|
4
4
|
import E from "./modal-footer-action.vue2.js";
|
|
@@ -99,7 +99,7 @@ const W = /* @__PURE__ */ A({
|
|
|
99
99
|
loading: t(b).confirmLoading,
|
|
100
100
|
...n.submitButtonOptions
|
|
101
101
|
}));
|
|
102
|
-
return (e, o) => (
|
|
102
|
+
return (e, o) => (g(), C(t(G), R(O.value, {
|
|
103
103
|
onClose: y,
|
|
104
104
|
onOpen: o[0] || (o[0] = (r) => l("open")),
|
|
105
105
|
onOpened: o[1] || (o[1] = (r) => l("opened")),
|
|
@@ -116,7 +116,7 @@ const W = /* @__PURE__ */ A({
|
|
|
116
116
|
name: "footer",
|
|
117
117
|
fn: w(() => [
|
|
118
118
|
h(e.$slots, "footer", {}, () => [
|
|
119
|
-
s.showActionButtonGroup ? (
|
|
119
|
+
s.showActionButtonGroup ? (g(), C(E, {
|
|
120
120
|
key: 0,
|
|
121
121
|
"show-cancel-button": s.showCancelButton,
|
|
122
122
|
"show-submit-button": s.showSubmitButton,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as B, getCurrentInstance as q, computed as v, ref as h, unref as t, watchEffect as G, onMounted as J,
|
|
1
|
+
import { defineComponent as B, getCurrentInstance as q, computed as v, ref as h, unref as t, watchEffect as G, onMounted as J, createElementBlock as P, openBlock as T, 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";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as r, computed as i,
|
|
1
|
+
import { defineComponent as r, computed as i, createBlock as f, openBlock as s, unref as x, withModifiers as b } from "vue";
|
|
2
2
|
import { singleAttrToObj as p } from "@vft/utils";
|
|
3
3
|
import "../context-menu/context-menu.vue2.js";
|
|
4
4
|
import "../icon/index.js";
|
|
@@ -29,7 +29,7 @@ const N = /* @__PURE__ */ r({
|
|
|
29
29
|
}
|
|
30
30
|
return m({
|
|
31
31
|
handleContext: o
|
|
32
|
-
}), (e, M) => (
|
|
32
|
+
}), (e, M) => (s(), f(x(d), {
|
|
33
33
|
class: "vft-multiple-tabs__title",
|
|
34
34
|
title: n.value,
|
|
35
35
|
icon: u.value,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as S, ref as W, computed as l, onMounted as Z,
|
|
1
|
+
import { defineComponent as S, ref as W, computed as l, onMounted as Z, createBlock as m, openBlock as r, Transition as A, unref as t, withCtx as F, withDirectives as k, createElementVNode as u, normalizeStyle as h, normalizeClass as s, createCommentVNode as w, toDisplayString as T, renderSlot as G, createElementBlock as M, vShow as E, withModifiers as K } from "vue";
|
|
2
2
|
import { useEventListener as O, useTimeoutFn as U } from "@vueuse/core";
|
|
3
3
|
import { EVENT_CODE as p } from "../../constants/aria.js";
|
|
4
4
|
import "../config-provider/index.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as i, useSlots as y, createVNode as x,
|
|
1
|
+
import { defineComponent as i, useSlots as y, createVNode as x, h as r, renderSlot as l } from "vue";
|
|
2
2
|
import { noop as u } from "@vft/utils";
|
|
3
3
|
import "@vueuse/core";
|
|
4
4
|
import "../config-provider/hooks/use-global-config.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as p,
|
|
1
|
+
import { defineComponent as p, createElementBlock as n, openBlock as l, normalizeClass as r, unref as e, createElementVNode as o, toDisplayString as m, renderSlot as c } from "vue";
|
|
2
2
|
import { useRouterHelper as d } from "@vft/router";
|
|
3
3
|
import "@vueuse/core";
|
|
4
4
|
import "@vft/utils";
|
|
@@ -18,7 +18,7 @@ const u = p({
|
|
|
18
18
|
},
|
|
19
19
|
setup(s) {
|
|
20
20
|
const t = f("page-wrapper"), { getTitle: a } = d();
|
|
21
|
-
return (i, _) => (
|
|
21
|
+
return (i, _) => (l(), n("div", {
|
|
22
22
|
class: r(e(t).b())
|
|
23
23
|
}, [
|
|
24
24
|
o("div", {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as f, ref as g, computed as v,
|
|
1
|
+
import { defineComponent as f, ref as g, computed as v, createElementBlock as h, openBlock as _, unref as e, normalizeClass as t, createElementVNode as i, createVNode as b } from "vue";
|
|
2
2
|
import "@vueuse/core";
|
|
3
3
|
import "@vft/utils";
|
|
4
4
|
import "../../config-provider/hooks/use-global-config.js";
|
|
@@ -23,7 +23,7 @@ const x = ["disabled"], D = /* @__PURE__ */ f({
|
|
|
23
23
|
function d(a) {
|
|
24
24
|
a = Math.trunc(+a), p?.(+a), o.value = void 0;
|
|
25
25
|
}
|
|
26
|
-
return (a, E) => (
|
|
26
|
+
return (a, E) => (_(), h("span", {
|
|
27
27
|
class: t(e(n).e("jump")),
|
|
28
28
|
disabled: e(s)
|
|
29
29
|
}, [
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as l, computed as r,
|
|
1
|
+
import { defineComponent as l, computed as r, createElementBlock as a, openBlock as o, createCommentVNode as c, createVNode as s, toDisplayString as u, unref as m } from "vue";
|
|
2
2
|
import { VftIcon as b } from "../../icon/index.js";
|
|
3
3
|
const f = ["disabled", "aria-disabled"], x = { key: 0 }, p = /* @__PURE__ */ l({
|
|
4
4
|
__name: "next",
|
|
@@ -13,15 +13,15 @@ const f = ["disabled", "aria-disabled"], x = { key: 0 }, p = /* @__PURE__ */ l({
|
|
|
13
13
|
const t = r(
|
|
14
14
|
() => e.disabled || e.currentPage === e.pageCount || e.pageCount === 0
|
|
15
15
|
);
|
|
16
|
-
return (i, n) => (
|
|
16
|
+
return (i, n) => (o(), a("button", {
|
|
17
17
|
type: "button",
|
|
18
18
|
class: "btn-next",
|
|
19
19
|
disabled: t.value,
|
|
20
20
|
"aria-disabled": t.value,
|
|
21
21
|
onClick: n[0] || (n[0] = (d) => i.$emit("click", d))
|
|
22
22
|
}, [
|
|
23
|
-
e.nextText ? (
|
|
24
|
-
|
|
23
|
+
e.nextText ? (o(), a("span", x, u(e.nextText), 1)) : c("", !0),
|
|
24
|
+
s(m(b), {
|
|
25
25
|
icon: "icon-arrow-right",
|
|
26
26
|
size: 16
|
|
27
27
|
})
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as I, ref as f, computed as B, watchEffect as K,
|
|
1
|
+
import { defineComponent as I, ref as f, computed as B, watchEffect as K, createElementBlock as c, openBlock as r, withKeys as V, normalizeClass as d, unref as u, createCommentVNode as m, createBlock as v, Fragment as z, renderList as D, toDisplayString as F } from "vue";
|
|
2
2
|
import "@vueuse/core";
|
|
3
3
|
import "@vft/utils";
|
|
4
4
|
import "../../config-provider/hooks/use-global-config.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as l, computed as d,
|
|
1
|
+
import { defineComponent as l, computed as d, createElementBlock as o, openBlock as a, createCommentVNode as s, createVNode as m, toDisplayString as u, unref as p } from "vue";
|
|
2
2
|
import { VftIcon as b } from "../../icon/index.js";
|
|
3
3
|
const f = ["disabled", "aria-disabled"], v = { key: 0 }, g = /* @__PURE__ */ l({
|
|
4
4
|
__name: "prev",
|
|
@@ -10,15 +10,15 @@ const f = ["disabled", "aria-disabled"], v = { key: 0 }, g = /* @__PURE__ */ l({
|
|
|
10
10
|
emits: ["click"],
|
|
11
11
|
setup(e, { emit: i }) {
|
|
12
12
|
const r = i, t = d(() => e.disabled || e.currentPage <= 1);
|
|
13
|
-
return (k, n) => (
|
|
13
|
+
return (k, n) => (a(), o("button", {
|
|
14
14
|
type: "button",
|
|
15
15
|
class: "btn-prev",
|
|
16
16
|
disabled: t.value,
|
|
17
17
|
"aria-disabled": t.value,
|
|
18
18
|
onClick: n[0] || (n[0] = (c) => r("click", c))
|
|
19
19
|
}, [
|
|
20
|
-
e.prevText ? (
|
|
21
|
-
|
|
20
|
+
e.prevText ? (a(), o("span", v, u(e.prevText), 1)) : s("", !0),
|
|
21
|
+
m(p(b), {
|
|
22
22
|
icon: "icon-arrow-left",
|
|
23
23
|
size: 16
|
|
24
24
|
})
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as g, ref as z, watch as n, computed as d,
|
|
1
|
+
import { defineComponent as g, ref as z, watch as n, computed as d, createElementBlock as f, openBlock as S, normalizeClass as h, unref as s, createVNode as v } from "vue";
|
|
2
2
|
import { isEqual as C } from "lodash-es";
|
|
3
3
|
import "@vueuse/core";
|
|
4
4
|
import "@vft/utils";
|
|
@@ -42,7 +42,7 @@ const I = /* @__PURE__ */ g({
|
|
|
42
42
|
function c(e) {
|
|
43
43
|
e !== i.value && (i.value = e, p.handleSizeChange?.(Number(e)));
|
|
44
44
|
}
|
|
45
|
-
return (e, t) => (
|
|
45
|
+
return (e, t) => (S(), f("span", {
|
|
46
46
|
class: h(s(r).e("sizes"))
|
|
47
47
|
}, [
|
|
48
48
|
v(s(B), {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as i,
|
|
1
|
+
import { defineComponent as i, createElementBlock as r, openBlock as n, unref as t, normalizeClass as s, toDisplayString as p } from "vue";
|
|
2
2
|
import "@vueuse/core";
|
|
3
3
|
import "@vft/utils";
|
|
4
4
|
import "../../config-provider/hooks/use-global-config.js";
|
|
@@ -16,7 +16,7 @@ const c = ["disabled"], D = /* @__PURE__ */ i({
|
|
|
16
16
|
},
|
|
17
17
|
setup(o) {
|
|
18
18
|
const e = m("pagination"), { disabled: a } = l();
|
|
19
|
-
return (d, f) => (
|
|
19
|
+
return (d, f) => (n(), r("span", {
|
|
20
20
|
class: s(t(e).e("total")),
|
|
21
21
|
disabled: t(a)
|
|
22
22
|
}, "共 " + p(o.total) + " 条", 11, c));
|
|
@@ -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
|
-
teleported: {
|
|
11
|
-
type: import("vue").PropType<boolean>;
|
|
12
|
-
default: boolean;
|
|
13
|
-
};
|
|
14
10
|
icon: {
|
|
15
11
|
type: import("vue").PropType<string | import("vft/es/vft").IconProps>;
|
|
16
12
|
default: string;
|
|
17
13
|
};
|
|
14
|
+
teleported: {
|
|
15
|
+
type: import("vue").PropType<boolean>;
|
|
16
|
+
default: boolean;
|
|
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
|
-
teleported: boolean;
|
|
56
55
|
icon: string | import("vft/es/vft").IconProps;
|
|
56
|
+
teleported: boolean;
|
|
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
|
-
teleported: {
|
|
78
|
-
type: import("vue").PropType<boolean>;
|
|
79
|
-
default: boolean;
|
|
80
|
-
};
|
|
81
77
|
icon: {
|
|
82
78
|
type: import("vue").PropType<string | import("vft/es/vft").IconProps>;
|
|
83
79
|
default: string;
|
|
84
80
|
};
|
|
81
|
+
teleported: {
|
|
82
|
+
type: import("vue").PropType<boolean>;
|
|
83
|
+
default: boolean;
|
|
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
|
-
teleported: boolean;
|
|
120
119
|
icon: string | import("vft/es/vft").IconProps;
|
|
120
|
+
teleported: boolean;
|
|
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
|
-
teleported: {
|
|
139
|
-
type: import("vue").PropType<boolean>;
|
|
140
|
-
default: boolean;
|
|
141
|
-
};
|
|
142
138
|
icon: {
|
|
143
139
|
type: import("vue").PropType<string | import("vft/es/vft").IconProps>;
|
|
144
140
|
default: string;
|
|
145
141
|
};
|
|
142
|
+
teleported: {
|
|
143
|
+
type: import("vue").PropType<boolean>;
|
|
144
|
+
default: boolean;
|
|
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
|
-
teleported: boolean;
|
|
184
183
|
icon: string | import("vft/es/vft").IconProps;
|
|
184
|
+
teleported: boolean;
|
|
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
|
-
teleported: boolean;
|
|
47
46
|
icon: string | IconProps;
|
|
47
|
+
teleported: boolean;
|
|
48
48
|
hideAfter: number;
|
|
49
49
|
persistent: boolean;
|
|
50
50
|
confirmButtonType: ButtonType;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as h, ref as N, computed as r,
|
|
1
|
+
import { defineComponent as h, ref as N, computed as r, createBlock as d, openBlock as y, unref as t, mergeProps as w, withCtx as l, renderSlot as $, createCommentVNode as B, createElementVNode as a, normalizeClass as c, createTextVNode as f, normalizeStyle as b, toDisplayString as s, createVNode as T } from "vue";
|
|
2
2
|
import "@vueuse/core";
|
|
3
3
|
import "@vft/utils";
|
|
4
4
|
import { addUnit as I } from "../../utils/helper.js";
|
|
@@ -42,7 +42,7 @@ const R = h({
|
|
|
42
42
|
}, g = r(
|
|
43
43
|
() => i.confirmButtonText || "确认"
|
|
44
44
|
), z = r(() => i.cancelButtonText || "取消");
|
|
45
|
-
return (o, q) => (
|
|
45
|
+
return (o, q) => (y(), d(t(S), w({
|
|
46
46
|
ref_key: "tooltipRef",
|
|
47
47
|
ref: p,
|
|
48
48
|
trigger: "click",
|
|
@@ -62,7 +62,7 @@ const R = h({
|
|
|
62
62
|
a("div", {
|
|
63
63
|
class: c(t(n).e("main"))
|
|
64
64
|
}, [
|
|
65
|
-
!e.hideIcon && e.icon ? (
|
|
65
|
+
!e.hideIcon && e.icon ? (y(), d(t(P), {
|
|
66
66
|
key: 0,
|
|
67
67
|
icon: e.icon,
|
|
68
68
|
size: 20,
|