vft 0.0.65 → 0.0.67
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 +24 -22
- package/es/components/alert/style/css.js +1 -0
- package/es/components/alert/style/index.js +1 -0
- package/es/components/avatar/style/css.js +1 -0
- package/es/components/avatar/style/index.js +1 -0
- package/es/components/back-top/back-top.vue2.js +3 -2
- package/es/components/button/style/css.js +1 -0
- package/es/components/button/style/index.js +1 -0
- package/es/components/button-group/style/css.js +1 -0
- package/es/components/button-group/style/index.js +1 -0
- package/es/components/color-picker/style/css.js +1 -0
- package/es/components/color-picker/style/index.js +1 -0
- package/es/components/context-menu/context-menu.vue2.js +3 -2
- package/es/components/date-time-select/date-time-select.vue.d.ts +38 -0
- package/es/components/date-time-select/date-time-select.vue.js +4 -0
- package/es/components/date-time-select/date-time-select.vue2.js +130 -0
- package/es/components/date-time-select/index.d.ts +30 -0
- package/es/components/date-time-select/index.js +12 -0
- package/es/components/date-time-select/style/css.d.ts +0 -0
- package/es/components/date-time-select/style/css.js +5 -0
- package/es/components/date-time-select/style/index.d.ts +0 -0
- package/es/components/date-time-select/style/index.js +5 -0
- package/es/components/date-time-select/types.d.ts +10 -0
- package/es/components/date-time-select/types.js +1 -0
- package/es/components/dropdown/dropdown.vue.d.ts +4 -4
- package/es/components/dropdown/index.d.ts +4 -4
- package/es/components/full-screen/full-screen.vue.d.ts +3 -0
- package/es/components/full-screen/full-screen.vue2.js +23 -23
- package/es/components/icon/icon.vue.d.ts +8 -8
- package/es/components/icon/icon.vue2.js +30 -29
- package/es/components/icon/index.d.ts +6 -6
- package/es/components/icon-text/icon-text.vue.d.ts +28 -0
- package/es/components/icon-text/icon-text.vue2.js +29 -22
- package/es/components/icon-text/index.d.ts +17 -0
- package/es/components/index.d.ts +1 -0
- package/es/components/index.js +98 -96
- package/es/components/loading/index.d.ts +2 -2
- package/es/components/loading/loading.d.ts +2 -2
- package/es/components/md-container/md-container.vue2.js +3 -2
- package/es/components/menu/menu-item.vue2.js +3 -2
- package/es/components/menu/sub-menu.vue2.js +3 -2
- package/es/components/multiple-tabs/multiple-tabs.vue2.js +3 -2
- package/es/components/result/result.vue2.js +3 -2
- package/es/components/search/search.vue2.js +3 -2
- package/es/components/select-v2/index.d.ts +8 -8
- package/es/components/select-v2/select.vue.d.ts +4 -4
- package/es/components/select-v2/useSelect.d.ts +3 -3
- package/es/components/side-menu/index.d.ts +4 -3
- package/es/components/side-menu/side-menu.vue.d.ts +4 -3
- package/es/components/side-menu/side-menu.vue2.js +95 -96
- package/es/components/side-menu/use-drag-line.js +28 -32
- package/es/components/tabs/tab-nav.vue2.js +3 -2
- package/es/components/time-select-extend/style/css.d.ts +0 -0
- package/es/components/time-select-extend/style/css.js +2 -0
- package/es/components/time-select-extend/style/index.d.ts +0 -0
- package/es/components/time-select-extend/style/index.js +2 -0
- package/es/components/tooltip/content.vue.d.ts +2 -2
- package/es/components/tooltip/index.d.ts +2 -2
- package/es/components/tooltip/tooltip.vue.d.ts +3 -3
- package/es/index.js +224 -222
- package/es/package.json.js +1 -1
- package/lib/component.cjs +1 -1
- package/lib/components/alert/style/css.cjs +1 -1
- package/lib/components/alert/style/index.cjs +1 -1
- package/lib/components/avatar/style/css.cjs +1 -1
- package/lib/components/avatar/style/index.cjs +1 -1
- package/lib/components/back-top/back-top.vue2.cjs +1 -1
- package/lib/components/button/style/css.cjs +1 -1
- package/lib/components/button/style/index.cjs +1 -1
- package/lib/components/button-group/style/css.cjs +1 -1
- package/lib/components/button-group/style/index.cjs +1 -1
- package/lib/components/color-picker/style/css.cjs +1 -1
- package/lib/components/color-picker/style/index.cjs +1 -1
- package/lib/components/context-menu/context-menu.vue2.cjs +1 -1
- package/lib/components/date-time-select/date-time-select.vue.cjs +1 -0
- package/lib/components/date-time-select/date-time-select.vue.d.ts +38 -0
- package/lib/components/date-time-select/date-time-select.vue2.cjs +1 -0
- package/lib/components/date-time-select/index.cjs +1 -0
- package/lib/components/date-time-select/index.d.ts +30 -0
- package/lib/components/date-time-select/style/css.cjs +1 -0
- package/lib/components/date-time-select/style/css.d.ts +0 -0
- package/lib/components/date-time-select/style/index.cjs +1 -0
- package/lib/components/date-time-select/style/index.d.ts +0 -0
- package/lib/components/date-time-select/types.cjs +1 -0
- package/lib/components/date-time-select/types.d.ts +10 -0
- package/lib/components/dropdown/dropdown.vue.d.ts +4 -4
- package/lib/components/dropdown/index.d.ts +4 -4
- package/lib/components/full-screen/full-screen.vue.d.ts +3 -0
- package/lib/components/full-screen/full-screen.vue2.cjs +1 -1
- package/lib/components/icon/icon.vue.d.ts +8 -8
- package/lib/components/icon/icon.vue2.cjs +1 -1
- package/lib/components/icon/index.d.ts +6 -6
- package/lib/components/icon-text/icon-text.vue.d.ts +28 -0
- package/lib/components/icon-text/icon-text.vue2.cjs +1 -1
- package/lib/components/icon-text/index.d.ts +17 -0
- package/lib/components/index.cjs +1 -1
- package/lib/components/index.d.ts +1 -0
- package/lib/components/loading/index.d.ts +2 -2
- package/lib/components/loading/loading.d.ts +2 -2
- package/lib/components/md-container/md-container.vue2.cjs +1 -1
- package/lib/components/menu/menu-item.vue2.cjs +1 -1
- package/lib/components/menu/sub-menu.vue2.cjs +1 -1
- package/lib/components/multiple-tabs/multiple-tabs.vue2.cjs +1 -1
- package/lib/components/result/result.vue2.cjs +1 -1
- package/lib/components/search/search.vue2.cjs +1 -1
- package/lib/components/select-v2/index.d.ts +8 -8
- package/lib/components/select-v2/select.vue.d.ts +4 -4
- package/lib/components/select-v2/useSelect.d.ts +3 -3
- package/lib/components/side-menu/index.d.ts +4 -3
- package/lib/components/side-menu/side-menu.vue.d.ts +4 -3
- package/lib/components/side-menu/side-menu.vue2.cjs +1 -1
- package/lib/components/side-menu/use-drag-line.cjs +1 -1
- package/lib/components/tabs/tab-nav.vue2.cjs +1 -1
- package/lib/components/time-select-extend/style/css.cjs +1 -0
- package/lib/components/time-select-extend/style/css.d.ts +0 -0
- package/lib/components/time-select-extend/style/index.cjs +1 -0
- package/lib/components/time-select-extend/style/index.d.ts +0 -0
- package/lib/components/tooltip/content.vue.d.ts +2 -2
- package/lib/components/tooltip/index.d.ts +2 -2
- package/lib/components/tooltip/tooltip.vue.d.ts +3 -3
- package/lib/index.cjs +1 -1
- package/lib/package.json.cjs +1 -1
- package/package.json +3 -3
- package/tags.json +1 -1
- package/theme-style/index.css +1 -1
- package/theme-style/src/common/var.scss +5 -4
- package/theme-style/src/date-time-select.scss +81 -0
- package/theme-style/src/full-screen.scss +3 -6
- package/theme-style/src/icon-text.scss +2 -5
- package/theme-style/src/icon.scss +7 -10
- package/theme-style/src/index.scss +1 -0
- package/theme-style/src/md/api.scss +8 -0
- package/theme-style/src/menu.scss +2 -2
- package/theme-style/src/page-wrapper.scss +1 -1
- package/theme-style/src/side-menu.scss +0 -1
- package/theme-style/vft-date-time-select.css +1 -0
- package/theme-style/vft-full-screen.css +1 -1
- package/theme-style/vft-icon-text.css +1 -1
- package/theme-style/vft-icon.css +1 -1
- package/theme-style/vft-md-container.css +1 -1
- package/theme-style/vft-menu.css +1 -1
- package/theme-style/vft-page-wrapper.css +1 -1
- package/theme-style/vft-side-menu.css +1 -1
- package/web-types.json +1 -1
|
@@ -8,8 +8,8 @@ export interface IconProps {
|
|
|
8
8
|
color?: string;
|
|
9
9
|
rotate?: boolean;
|
|
10
10
|
rotateSpeed?: number;
|
|
11
|
-
|
|
12
|
-
|
|
11
|
+
pointer?: boolean;
|
|
12
|
+
hoverColor?: string;
|
|
13
13
|
}
|
|
14
14
|
declare const _sfc_main: import("vue").DefineComponent<{
|
|
15
15
|
icon: {
|
|
@@ -32,12 +32,12 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
32
32
|
type: __PropType<number | undefined>;
|
|
33
33
|
required: false;
|
|
34
34
|
};
|
|
35
|
-
|
|
35
|
+
pointer: {
|
|
36
36
|
type: __PropType<boolean | undefined>;
|
|
37
37
|
required: false;
|
|
38
38
|
};
|
|
39
|
-
|
|
40
|
-
type: __PropType<
|
|
39
|
+
hoverColor: {
|
|
40
|
+
type: __PropType<string | undefined>;
|
|
41
41
|
required: false;
|
|
42
42
|
};
|
|
43
43
|
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
@@ -61,12 +61,12 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
61
61
|
type: __PropType<number | undefined>;
|
|
62
62
|
required: false;
|
|
63
63
|
};
|
|
64
|
-
|
|
64
|
+
pointer: {
|
|
65
65
|
type: __PropType<boolean | undefined>;
|
|
66
66
|
required: false;
|
|
67
67
|
};
|
|
68
|
-
|
|
69
|
-
type: __PropType<
|
|
68
|
+
hoverColor: {
|
|
69
|
+
type: __PropType<string | undefined>;
|
|
70
70
|
required: false;
|
|
71
71
|
};
|
|
72
72
|
}>>, {}>;
|
|
@@ -1,48 +1,49 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { addUnit as
|
|
3
|
-
import { useNamespace as
|
|
1
|
+
import { defineComponent as m, computed as r, unref as e, openBlock as l, createElementBlock as c, normalizeClass as s, normalizeStyle as a } from "vue";
|
|
2
|
+
import { addUnit as p } from "@vft/utils";
|
|
3
|
+
import { useNamespace as y } from "../../hooks/use-namespace/index.js";
|
|
4
4
|
import "@popperjs/core";
|
|
5
5
|
import "lodash";
|
|
6
6
|
import "../../hooks/use-z-index/index.js";
|
|
7
7
|
import "@vueuse/core";
|
|
8
|
-
import "../../utils/ns-cover.js";
|
|
8
|
+
import { generateCssVars as g } from "../../utils/ns-cover.js";
|
|
9
9
|
import "@vue/reactivity";
|
|
10
10
|
import "@vue/shared";
|
|
11
11
|
import "../config-provider/index.js";
|
|
12
|
-
import { useGlobalConfig as
|
|
13
|
-
const
|
|
12
|
+
import { useGlobalConfig as C } from "../config-provider/hooks/use-global-config.js";
|
|
13
|
+
const v = ["src"], i = (
|
|
14
14
|
/* hoist-static*/
|
|
15
|
-
|
|
16
|
-
),
|
|
17
|
-
name:
|
|
18
|
-
}), j = /* @__PURE__ */
|
|
19
|
-
...
|
|
15
|
+
y("icon")
|
|
16
|
+
), h = m({
|
|
17
|
+
name: i.b()
|
|
18
|
+
}), j = /* @__PURE__ */ m({
|
|
19
|
+
...h,
|
|
20
20
|
props: {
|
|
21
21
|
icon: null,
|
|
22
|
-
size:
|
|
22
|
+
size: null,
|
|
23
23
|
color: null,
|
|
24
24
|
rotate: { type: Boolean },
|
|
25
25
|
rotateSpeed: { default: 2 },
|
|
26
|
-
|
|
27
|
-
|
|
26
|
+
pointer: { type: Boolean },
|
|
27
|
+
hoverColor: null
|
|
28
28
|
},
|
|
29
|
-
setup(
|
|
30
|
-
const
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
cursor:
|
|
35
|
-
|
|
36
|
-
})),
|
|
37
|
-
return (
|
|
29
|
+
setup(o) {
|
|
30
|
+
const u = C(), n = r(() => g({
|
|
31
|
+
size: p(o.size),
|
|
32
|
+
color: o.color,
|
|
33
|
+
hoverColor: o.hoverColor,
|
|
34
|
+
cursor: o.pointer ? "pointer" : void 0,
|
|
35
|
+
animation: o.rotate ? `${u.value.namespace}-rotate ${o.rotateSpeed}s linear 0s infinite` : void 0
|
|
36
|
+
}, "icon")), f = (t) => t == null ? void 0 : t.includes("/"), d = r(() => f(o.icon));
|
|
37
|
+
return (t, z) => e(d) ? (l(), c("img", {
|
|
38
38
|
key: 0,
|
|
39
|
-
class:
|
|
40
|
-
src:
|
|
41
|
-
alt: ""
|
|
42
|
-
|
|
39
|
+
class: s(e(i).e("image")),
|
|
40
|
+
src: o.icon,
|
|
41
|
+
alt: "",
|
|
42
|
+
style: a(e(n))
|
|
43
|
+
}, null, 14, v)) : (l(), c("i", {
|
|
43
44
|
key: 1,
|
|
44
|
-
class:
|
|
45
|
-
style:
|
|
45
|
+
class: s([e(i).b(), o.icon]),
|
|
46
|
+
style: a(e(n))
|
|
46
47
|
}, null, 6));
|
|
47
48
|
}
|
|
48
49
|
});
|
|
@@ -21,12 +21,12 @@ export declare const VftIcon: import("vft/es/utils").SFCWithInstall<import("vue"
|
|
|
21
21
|
type: import("vue").PropType<number | undefined>;
|
|
22
22
|
required: false;
|
|
23
23
|
};
|
|
24
|
-
|
|
24
|
+
pointer: {
|
|
25
25
|
type: import("vue").PropType<boolean | undefined>;
|
|
26
26
|
required: false;
|
|
27
27
|
};
|
|
28
|
-
|
|
29
|
-
type: import("vue").PropType<
|
|
28
|
+
hoverColor: {
|
|
29
|
+
type: import("vue").PropType<string | undefined>;
|
|
30
30
|
required: false;
|
|
31
31
|
};
|
|
32
32
|
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
@@ -50,12 +50,12 @@ export declare const VftIcon: import("vft/es/utils").SFCWithInstall<import("vue"
|
|
|
50
50
|
type: import("vue").PropType<number | undefined>;
|
|
51
51
|
required: false;
|
|
52
52
|
};
|
|
53
|
-
|
|
53
|
+
pointer: {
|
|
54
54
|
type: import("vue").PropType<boolean | undefined>;
|
|
55
55
|
required: false;
|
|
56
56
|
};
|
|
57
|
-
|
|
58
|
-
type: import("vue").PropType<
|
|
57
|
+
hoverColor: {
|
|
58
|
+
type: import("vue").PropType<string | undefined>;
|
|
59
59
|
required: false;
|
|
60
60
|
};
|
|
61
61
|
}>>, {}>> & Record<string, any>;
|
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
import type { PropType as __PropType } from 'vue';
|
|
2
2
|
import { type IconProps } from 'vft/es/components/icon';
|
|
3
|
+
export interface IconTextProps {
|
|
4
|
+
text: string;
|
|
5
|
+
icon: IconProps | string;
|
|
6
|
+
color?: string;
|
|
7
|
+
hoverColor?: string;
|
|
8
|
+
distance?: string | number;
|
|
9
|
+
reverse?: boolean;
|
|
10
|
+
size?: string | number;
|
|
11
|
+
direction?: 'col' | 'row';
|
|
12
|
+
pointer?: boolean;
|
|
13
|
+
adjustOrigin?: boolean;
|
|
14
|
+
}
|
|
3
15
|
declare const _sfc_main: import("vue").DefineComponent<{
|
|
4
16
|
text: {
|
|
5
17
|
type: __PropType<string>;
|
|
@@ -33,6 +45,14 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
33
45
|
type: __PropType<"row" | "col" | undefined>;
|
|
34
46
|
required: false;
|
|
35
47
|
};
|
|
48
|
+
pointer: {
|
|
49
|
+
type: __PropType<boolean | undefined>;
|
|
50
|
+
required: false;
|
|
51
|
+
};
|
|
52
|
+
adjustOrigin: {
|
|
53
|
+
type: __PropType<boolean | undefined>;
|
|
54
|
+
required: false;
|
|
55
|
+
};
|
|
36
56
|
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
37
57
|
text: {
|
|
38
58
|
type: __PropType<string>;
|
|
@@ -66,5 +86,13 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
66
86
|
type: __PropType<"row" | "col" | undefined>;
|
|
67
87
|
required: false;
|
|
68
88
|
};
|
|
89
|
+
pointer: {
|
|
90
|
+
type: __PropType<boolean | undefined>;
|
|
91
|
+
required: false;
|
|
92
|
+
};
|
|
93
|
+
adjustOrigin: {
|
|
94
|
+
type: __PropType<boolean | undefined>;
|
|
95
|
+
required: false;
|
|
96
|
+
};
|
|
69
97
|
}>>, {}>;
|
|
70
98
|
export default _sfc_main;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { defineComponent as y, computed as o, openBlock as
|
|
2
|
-
import { VftIcon as
|
|
1
|
+
import { defineComponent as y, computed as o, openBlock as i, createElementBlock as S, normalizeClass as B, unref as t, normalizeStyle as k, createBlock as u, mergeProps as m, createCommentVNode as v, createElementVNode as O, toDisplayString as V } from "vue";
|
|
2
|
+
import { VftIcon as d } from "../icon/index.js";
|
|
3
3
|
import { useNamespace as b } from "../../hooks/use-namespace/index.js";
|
|
4
4
|
import "@popperjs/core";
|
|
5
5
|
import "lodash";
|
|
6
6
|
import "../../hooks/use-z-index/index.js";
|
|
7
7
|
import "@vueuse/core";
|
|
8
|
-
import { singleAttrToObj as
|
|
8
|
+
import { singleAttrToObj as j, addUnit as f, removeUnit as N } from "@vft/utils";
|
|
9
9
|
import { generateCssVars as E } from "../../utils/ns-cover.js";
|
|
10
10
|
import "@vue/reactivity";
|
|
11
11
|
import "@vue/shared";
|
|
@@ -14,7 +14,7 @@ const g = (
|
|
|
14
14
|
b("icon-text")
|
|
15
15
|
), T = y({
|
|
16
16
|
name: g.b()
|
|
17
|
-
}),
|
|
17
|
+
}), G = /* @__PURE__ */ y({
|
|
18
18
|
...T,
|
|
19
19
|
props: {
|
|
20
20
|
text: null,
|
|
@@ -24,30 +24,37 @@ const g = (
|
|
|
24
24
|
distance: null,
|
|
25
25
|
reverse: { type: Boolean },
|
|
26
26
|
size: null,
|
|
27
|
-
direction: { default: "row" }
|
|
27
|
+
direction: { default: "row" },
|
|
28
|
+
pointer: { type: Boolean },
|
|
29
|
+
adjustOrigin: { type: Boolean, default: !0 }
|
|
28
30
|
},
|
|
29
31
|
setup(e) {
|
|
30
|
-
const
|
|
31
|
-
const
|
|
32
|
-
return
|
|
33
|
-
}),
|
|
34
|
-
|
|
32
|
+
const h = o(() => e.hoverColor ? e.hoverColor : e.color), c = o(() => j(e.icon, "icon", { size: e.size, color: e.color })), a = o(() => e.direction === "col"), s = o(() => {
|
|
33
|
+
const n = f(e.distance);
|
|
34
|
+
return a.value ? e.reverse ? { marginTop: n } : { marginBottom: n } : e.reverse ? { marginLeft: n } : { marginRight: n };
|
|
35
|
+
}), r = o(() => N(e.size)), l = o(() => r.value < 12), x = o(() => r.value && l.value ? { transform: `scale(${r.value / 12})` } : {}), z = o(() => {
|
|
36
|
+
const n = E({
|
|
37
|
+
cursor: e.pointer ? "pointer" : void 0,
|
|
35
38
|
color: e.color,
|
|
36
|
-
"hover-color":
|
|
37
|
-
fontSize:
|
|
38
|
-
}, "icon-text")
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
39
|
+
"hover-color": h.value,
|
|
40
|
+
fontSize: l.value ? "12px" : f(e.size)
|
|
41
|
+
}, "icon-text");
|
|
42
|
+
return {
|
|
43
|
+
...l.value && e.adjustOrigin ? { transformOrigin: "left top" } : {},
|
|
44
|
+
...n,
|
|
45
|
+
...x.value
|
|
46
|
+
};
|
|
47
|
+
});
|
|
48
|
+
return (n, C) => (i(), S("span", {
|
|
49
|
+
class: B([t(g).b(), { "flex-col": t(a) }]),
|
|
50
|
+
style: k(t(z))
|
|
44
51
|
}, [
|
|
45
|
-
e.reverse ?
|
|
46
|
-
|
|
47
|
-
e.reverse ? (
|
|
52
|
+
e.reverse ? v("", !0) : (i(), u(t(d), m({ key: 0 }, t(c), { style: t(s) }), null, 16, ["style"])),
|
|
53
|
+
O("span", null, V(e.text), 1),
|
|
54
|
+
e.reverse ? (i(), u(t(d), m({ key: 1 }, t(c), { style: t(s) }), null, 16, ["style"])) : v("", !0)
|
|
48
55
|
], 6));
|
|
49
56
|
}
|
|
50
57
|
});
|
|
51
58
|
export {
|
|
52
|
-
|
|
59
|
+
G as default
|
|
53
60
|
};
|
|
@@ -31,6 +31,14 @@ export declare const VftIconText: import("vft/es/utils").SFCWithInstall<import("
|
|
|
31
31
|
type: import("vue").PropType<"row" | "col" | undefined>;
|
|
32
32
|
required: false;
|
|
33
33
|
};
|
|
34
|
+
pointer: {
|
|
35
|
+
type: import("vue").PropType<boolean | undefined>;
|
|
36
|
+
required: false;
|
|
37
|
+
};
|
|
38
|
+
adjustOrigin: {
|
|
39
|
+
type: import("vue").PropType<boolean | undefined>;
|
|
40
|
+
required: false;
|
|
41
|
+
};
|
|
34
42
|
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
35
43
|
text: {
|
|
36
44
|
type: import("vue").PropType<string>;
|
|
@@ -64,5 +72,14 @@ export declare const VftIconText: import("vft/es/utils").SFCWithInstall<import("
|
|
|
64
72
|
type: import("vue").PropType<"row" | "col" | undefined>;
|
|
65
73
|
required: false;
|
|
66
74
|
};
|
|
75
|
+
pointer: {
|
|
76
|
+
type: import("vue").PropType<boolean | undefined>;
|
|
77
|
+
required: false;
|
|
78
|
+
};
|
|
79
|
+
adjustOrigin: {
|
|
80
|
+
type: import("vue").PropType<boolean | undefined>;
|
|
81
|
+
required: false;
|
|
82
|
+
};
|
|
67
83
|
}>>, {}>> & Record<string, any>;
|
|
68
84
|
export default VftIconText;
|
|
85
|
+
export { type IconTextProps } from './icon-text.vue';
|
package/es/components/index.d.ts
CHANGED
package/es/components/index.js
CHANGED
|
@@ -8,7 +8,7 @@ import { VftPopper as c } from "./popper/index.js";
|
|
|
8
8
|
import { VftCollapseTransition as g } from "./collapse-transition/index.js";
|
|
9
9
|
import { VftTooltip as y } from "./tooltip/index.js";
|
|
10
10
|
import { VftPopover as D } from "./popover/index.js";
|
|
11
|
-
import { VftMenu as
|
|
11
|
+
import { VftMenu as T, VftMenuItem as M, VftMenuItemGroup as S, VftSubMenu as v } from "./menu/index.js";
|
|
12
12
|
import { createContextMenu as G, destroyContextMenu as K } from "./context-menu/createContextMenu.js";
|
|
13
13
|
import { useContextMenu as z } from "./context-menu/useContextMenu.js";
|
|
14
14
|
import { VftMultipleTabs as h } from "./multiple-tabs/index.js";
|
|
@@ -32,7 +32,7 @@ import { VftQrcode as co } from "./qrcode/index.js";
|
|
|
32
32
|
import { VftOverlay as go } from "./overlay/index.js";
|
|
33
33
|
import { VftClamp as yo } from "./clamp/index.js";
|
|
34
34
|
import { VftClampToggle as Do } from "./clamp-toggle/index.js";
|
|
35
|
-
import { VftPageWrapper as
|
|
35
|
+
import { VftPageWrapper as To } from "./page-wrapper/index.js";
|
|
36
36
|
import { VftException as So } from "./exception/index.js";
|
|
37
37
|
import { VftSearch as Lo } from "./search/index.js";
|
|
38
38
|
import { VftForm as Ko, VftFormItem as wo } from "./form/index.js";
|
|
@@ -54,55 +54,56 @@ import { VftTable as Ct } from "./table/index.js";
|
|
|
54
54
|
import { VftImageViewer as It } from "./image-viewer/index.js";
|
|
55
55
|
import { VftListCell as bt } from "./list-cell/index.js";
|
|
56
56
|
import { VftDialog as Pt } from "./dialog/index.js";
|
|
57
|
-
import {
|
|
58
|
-
import {
|
|
59
|
-
import {
|
|
60
|
-
import {
|
|
61
|
-
import {
|
|
62
|
-
import {
|
|
63
|
-
import {
|
|
64
|
-
import {
|
|
65
|
-
import {
|
|
66
|
-
import {
|
|
67
|
-
import {
|
|
68
|
-
import { default as Yt } from "./popper/
|
|
69
|
-
import { default as Ut } from "./popper/
|
|
70
|
-
import {
|
|
71
|
-
import {
|
|
72
|
-
import {
|
|
73
|
-
import {
|
|
74
|
-
import {
|
|
75
|
-
import {
|
|
76
|
-
import {
|
|
77
|
-
import {
|
|
78
|
-
import {
|
|
79
|
-
import {
|
|
80
|
-
import {
|
|
81
|
-
import {
|
|
82
|
-
import {
|
|
83
|
-
import {
|
|
84
|
-
import {
|
|
85
|
-
import {
|
|
86
|
-
import {
|
|
87
|
-
import {
|
|
88
|
-
import {
|
|
89
|
-
import {
|
|
90
|
-
import {
|
|
91
|
-
import {
|
|
92
|
-
import {
|
|
93
|
-
import {
|
|
57
|
+
import { VftDateTimeSelect as Mt } from "./date-time-select/index.js";
|
|
58
|
+
import { VftMdContainer as vt } from "./md-container/index.js";
|
|
59
|
+
import { VftMdComment as Gt } from "./md-comment/index.js";
|
|
60
|
+
import { VftMdTabs as wt } from "./md-tabs/index.js";
|
|
61
|
+
import { VftMdVuePlayground as Ft } from "./md-vue-playground/index.js";
|
|
62
|
+
import { VftMdCodeDemo as Rt } from "./md-code-demo/index.js";
|
|
63
|
+
import { VftMdCodeTabs as At } from "./md-code-tabs/index.js";
|
|
64
|
+
import { VftMessage as Et, VftMessage as Ot } from "./message/index.js";
|
|
65
|
+
import { VftLoading as _t } from "./loading/index.js";
|
|
66
|
+
import { EmptyEnum as Wt } from "./empty/constants.js";
|
|
67
|
+
import { TabsRootContextKey as Jt } from "./tabs/types.js";
|
|
68
|
+
import { default as Yt } from "./popper/arrow.vue2.js";
|
|
69
|
+
import { default as Ut } from "./popper/trigger.vue2.js";
|
|
70
|
+
import { default as Zt } from "./popper/content.vue2.js";
|
|
71
|
+
import { useTabDropdown as or } from "./multiple-tabs/use/use-tab-dropdown.js";
|
|
72
|
+
import { initAffixTabs as rr, useTabsDrag as er } from "./multiple-tabs/use/use-multiple-tabs.js";
|
|
73
|
+
import { configProviderContextKey as pr, messageConfig as mr } from "./config-provider/constants.js";
|
|
74
|
+
import { provideGlobalConfig as ar, useGlobalComponentSettings as ir, useGlobalConfig as Vr } from "./config-provider/hooks/use-global-config.js";
|
|
75
|
+
import { usePagination as sr, vftPaginationKey as lr } from "./pagination/usePagination.js";
|
|
76
|
+
import { formItemValidateStates as ur } from "./form/types.js";
|
|
77
|
+
import { formContextKey as Cr, formItemContextKey as gr } from "./form/constants.js";
|
|
78
|
+
import { useDisabled as yr, useFormDisabled as br, useFormSize as Dr, useSize as Pr } from "./form/hooks/use-form-common-props.js";
|
|
79
|
+
import { useFormItem as Mr, useFormItemInputId as Sr } from "./form/hooks/use-form-item.js";
|
|
80
|
+
import { buttonGroupContextKey as Lr } from "./button/constants.js";
|
|
81
|
+
import { checkboxGroupContextKey as Kr } from "./checkbox/constants.js";
|
|
82
|
+
import { radioGroupKey as zr } from "./radio/constants.js";
|
|
83
|
+
import { BAR_MAP as hr, GAP as Rr, renderThumbStyle as kr } from "./scrollbar/util.js";
|
|
84
|
+
import { scrollbarContextKey as Br } from "./scrollbar/constants.js";
|
|
85
|
+
import { DROPDOWN_INJECTION_KEY as Or } from "./dropdown/tokens.js";
|
|
86
|
+
import { VftCollection as _r, VftCollectionItem as jr } from "./dropdown/types.js";
|
|
87
|
+
import { OnlyChild as Hr } from "./slot/only-child.js";
|
|
88
|
+
import { default as Qr } from "./dropdown/dropdown-item-impl.vue.js";
|
|
89
|
+
import { selectV2InjectionKey as qr } from "./select-v2/token.js";
|
|
90
|
+
import { useDialog as Xr } from "./dialog/hooks/use-dialog.js";
|
|
91
|
+
import { dialogInjectionKey as $r } from "./dialog/constants.js";
|
|
92
|
+
import { messageDefaults as te, messageTypes as re } from "./message/types.js";
|
|
93
|
+
import { vLoading as fe, createLoadingDirective as pe, vLoading as me } from "./loading/directive.js";
|
|
94
|
+
import { Loading as ae } from "./loading/service.js";
|
|
94
95
|
export {
|
|
95
|
-
|
|
96
|
-
|
|
96
|
+
hr as BAR_MAP,
|
|
97
|
+
Or as DROPDOWN_INJECTION_KEY,
|
|
97
98
|
mt as DynamicSizeGrid,
|
|
98
99
|
rt as DynamicSizeList,
|
|
99
|
-
|
|
100
|
+
Wt as EmptyEnum,
|
|
100
101
|
ft as FixedSizeGrid,
|
|
101
102
|
ot as FixedSizeList,
|
|
102
|
-
|
|
103
|
+
Rr as GAP,
|
|
103
104
|
f as Icon,
|
|
104
|
-
|
|
105
|
-
|
|
105
|
+
Et as Message,
|
|
106
|
+
Jt as TabsRootContextKey,
|
|
106
107
|
x as VftAvatar,
|
|
107
108
|
J as VftBackTop,
|
|
108
109
|
Fo as VftButton,
|
|
@@ -115,15 +116,16 @@ export {
|
|
|
115
116
|
g as VftCollapseTransition,
|
|
116
117
|
Jo as VftColorPicker,
|
|
117
118
|
Y as VftConfigProvider,
|
|
119
|
+
Mt as VftDateTimeSelect,
|
|
118
120
|
U as VftDescriptions,
|
|
119
121
|
X as VftDescriptionsItem,
|
|
120
122
|
Pt as VftDialog,
|
|
121
123
|
r as VftDivider,
|
|
122
124
|
Uo as VftDropdown,
|
|
123
|
-
|
|
124
|
-
|
|
125
|
+
_r as VftDropdownCollection,
|
|
126
|
+
jr as VftDropdownCollectionItem,
|
|
125
127
|
Xo as VftDropdownItem,
|
|
126
|
-
|
|
128
|
+
Qr as VftDropdownItemImpl,
|
|
127
129
|
Zo as VftDropdownMenu,
|
|
128
130
|
i as VftEmpty,
|
|
129
131
|
So as VftException,
|
|
@@ -140,30 +142,30 @@ export {
|
|
|
140
142
|
po as VftInput,
|
|
141
143
|
xo as VftLink,
|
|
142
144
|
bt as VftListCell,
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
145
|
+
_t as VftLoading,
|
|
146
|
+
fe as VftLoadingDirective,
|
|
147
|
+
ae as VftLoadingService,
|
|
146
148
|
W as VftLogo,
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
149
|
+
Rt as VftMdCodeDemo,
|
|
150
|
+
At as VftMdCodeTabs,
|
|
151
|
+
Gt as VftMdComment,
|
|
152
|
+
vt as VftMdContainer,
|
|
153
|
+
wt as VftMdTabs,
|
|
154
|
+
Ft as VftMdVuePlayground,
|
|
155
|
+
T as VftMenu,
|
|
156
|
+
M as VftMenuItem,
|
|
155
157
|
S as VftMenuItemGroup,
|
|
156
|
-
|
|
158
|
+
Ot as VftMessage,
|
|
157
159
|
h as VftMultipleTabs,
|
|
158
|
-
|
|
160
|
+
Hr as VftOnlyChild,
|
|
159
161
|
go as VftOverlay,
|
|
160
|
-
|
|
162
|
+
To as VftPageWrapper,
|
|
161
163
|
io as VftPagination,
|
|
162
164
|
D as VftPopover,
|
|
163
165
|
c as VftPopper,
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
166
|
+
Yt as VftPopperArrow,
|
|
167
|
+
Zt as VftPopperContent,
|
|
168
|
+
Ut as VftPopperTrigger,
|
|
167
169
|
co as VftQrcode,
|
|
168
170
|
Oo as VftRadio,
|
|
169
171
|
No as VftRadioButton,
|
|
@@ -182,40 +184,40 @@ export {
|
|
|
182
184
|
no as VftTag,
|
|
183
185
|
y as VftTooltip,
|
|
184
186
|
ut as VftVerifyCode,
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
187
|
+
Lr as buttonGroupContextKey,
|
|
188
|
+
Kr as checkboxGroupContextKey,
|
|
189
|
+
pr as configProviderContextKey,
|
|
188
190
|
G as createContextMenu,
|
|
189
|
-
|
|
191
|
+
pe as createLoadingDirective,
|
|
190
192
|
K as destroyContextMenu,
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
193
|
+
$r as dialogInjectionKey,
|
|
194
|
+
Cr as formContextKey,
|
|
195
|
+
gr as formItemContextKey,
|
|
196
|
+
ur as formItemValidateStates,
|
|
197
|
+
rr as initAffixTabs,
|
|
198
|
+
mr as messageConfig,
|
|
199
|
+
te as messageDefaults,
|
|
200
|
+
re as messageTypes,
|
|
201
|
+
ar as provideGlobalConfig,
|
|
202
|
+
zr as radioGroupKey,
|
|
203
|
+
kr as renderThumbStyle,
|
|
204
|
+
Br as scrollbarContextKey,
|
|
205
|
+
qr as selectV2InjectionKey,
|
|
204
206
|
z as useContextMenu,
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
207
|
+
Xr as useDialog,
|
|
208
|
+
yr as useDisabled,
|
|
209
|
+
br as useFormDisabled,
|
|
210
|
+
Mr as useFormItem,
|
|
211
|
+
Sr as useFormItemInputId,
|
|
212
|
+
Dr as useFormSize,
|
|
213
|
+
ir as useGlobalComponentSettings,
|
|
214
|
+
Vr as useGlobalConfig,
|
|
215
|
+
sr as usePagination,
|
|
216
|
+
Pr as useSize,
|
|
217
|
+
or as useTabDropdown,
|
|
218
|
+
er as useTabsDrag,
|
|
219
|
+
me as vLoading,
|
|
220
|
+
lr as vftPaginationKey,
|
|
219
221
|
at as virtualizedGridProps,
|
|
220
222
|
it as virtualizedListProps,
|
|
221
223
|
Vt as virtualizedProps,
|
|
@@ -29,8 +29,8 @@ export declare const VftLoading: {
|
|
|
29
29
|
color?: string | undefined;
|
|
30
30
|
rotate?: boolean | undefined;
|
|
31
31
|
rotateSpeed?: number | undefined;
|
|
32
|
-
|
|
33
|
-
|
|
32
|
+
pointer?: boolean | undefined;
|
|
33
|
+
hoverColor?: string | undefined;
|
|
34
34
|
}>;
|
|
35
35
|
text: import("vue").Ref<string>;
|
|
36
36
|
fullscreen: import("vue").Ref<boolean>;
|
|
@@ -21,8 +21,8 @@ export declare function createLoadingComponent(options: LoadingOptionsResolved):
|
|
|
21
21
|
color?: string | undefined;
|
|
22
22
|
rotate?: boolean | undefined;
|
|
23
23
|
rotateSpeed?: number | undefined;
|
|
24
|
-
|
|
25
|
-
|
|
24
|
+
pointer?: boolean | undefined;
|
|
25
|
+
hoverColor?: string | undefined;
|
|
26
26
|
}>;
|
|
27
27
|
text: import("vue").Ref<string>;
|
|
28
28
|
fullscreen: import("vue").Ref<boolean>;
|
|
@@ -59,6 +59,7 @@ import "../table/index.js";
|
|
|
59
59
|
import "../image-viewer/index.js";
|
|
60
60
|
import "../list-cell/index.js";
|
|
61
61
|
import "../dialog/index.js";
|
|
62
|
+
import "../date-time-select/index.js";
|
|
62
63
|
import "./index.js";
|
|
63
64
|
import { VftMdComment as X } from "../md-comment/index.js";
|
|
64
65
|
import "../md-tabs/index.js";
|
|
@@ -89,7 +90,7 @@ const mt = { class: "info-container" }, pt = {
|
|
|
89
90
|
Z("md-container")
|
|
90
91
|
), ct = T({
|
|
91
92
|
name: r.b()
|
|
92
|
-
}),
|
|
93
|
+
}), qo = /* @__PURE__ */ T({
|
|
93
94
|
...ct,
|
|
94
95
|
setup(lt, { expose: V }) {
|
|
95
96
|
const w = P(), { initPhotoSwipe: D } = G(`.${r.e("content")} img`);
|
|
@@ -187,5 +188,5 @@ const mt = { class: "info-container" }, pt = {
|
|
|
187
188
|
}
|
|
188
189
|
});
|
|
189
190
|
export {
|
|
190
|
-
|
|
191
|
+
qo as default
|
|
191
192
|
};
|