vft 0.0.66 → 0.0.69

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.
Files changed (65) hide show
  1. package/attributes.json +1 -1
  2. package/dist/index.css +1 -1
  3. package/es/components/alert/style/css.js +1 -0
  4. package/es/components/alert/style/index.js +1 -0
  5. package/es/components/avatar/style/css.js +1 -0
  6. package/es/components/avatar/style/index.js +1 -0
  7. package/es/components/button/style/css.js +1 -0
  8. package/es/components/button/style/index.js +1 -0
  9. package/es/components/button-group/style/css.js +1 -0
  10. package/es/components/button-group/style/index.js +1 -0
  11. package/es/components/color-picker/style/css.js +1 -0
  12. package/es/components/color-picker/style/index.js +1 -0
  13. package/es/components/full-screen/full-screen.vue.d.ts +3 -0
  14. package/es/components/full-screen/full-screen.vue2.js +23 -23
  15. package/es/components/icon/icon.vue.d.ts +8 -8
  16. package/es/components/icon/icon.vue2.js +30 -29
  17. package/es/components/icon/index.d.ts +6 -6
  18. package/es/components/icon-text/icon-text.vue.d.ts +28 -0
  19. package/es/components/icon-text/icon-text.vue2.js +29 -22
  20. package/es/components/icon-text/index.d.ts +17 -0
  21. package/es/components/loading/index.d.ts +2 -2
  22. package/es/components/loading/loading.d.ts +2 -2
  23. package/es/components/table/table.vue.d.ts +9 -25
  24. package/es/components/table/table.vue2.js +141 -94
  25. package/es/package.json.js +1 -1
  26. package/lib/components/alert/style/css.cjs +1 -1
  27. package/lib/components/alert/style/index.cjs +1 -1
  28. package/lib/components/avatar/style/css.cjs +1 -1
  29. package/lib/components/avatar/style/index.cjs +1 -1
  30. package/lib/components/button/style/css.cjs +1 -1
  31. package/lib/components/button/style/index.cjs +1 -1
  32. package/lib/components/button-group/style/css.cjs +1 -1
  33. package/lib/components/button-group/style/index.cjs +1 -1
  34. package/lib/components/color-picker/style/css.cjs +1 -1
  35. package/lib/components/color-picker/style/index.cjs +1 -1
  36. package/lib/components/full-screen/full-screen.vue.d.ts +3 -0
  37. package/lib/components/full-screen/full-screen.vue2.cjs +1 -1
  38. package/lib/components/icon/icon.vue.d.ts +8 -8
  39. package/lib/components/icon/icon.vue2.cjs +1 -1
  40. package/lib/components/icon/index.d.ts +6 -6
  41. package/lib/components/icon-text/icon-text.vue.d.ts +28 -0
  42. package/lib/components/icon-text/icon-text.vue2.cjs +1 -1
  43. package/lib/components/icon-text/index.d.ts +17 -0
  44. package/lib/components/loading/index.d.ts +2 -2
  45. package/lib/components/loading/loading.d.ts +2 -2
  46. package/lib/components/table/table.vue.d.ts +9 -25
  47. package/lib/components/table/table.vue2.cjs +1 -1
  48. package/lib/package.json.cjs +1 -1
  49. package/package.json +8 -10
  50. package/tags.json +1 -1
  51. package/theme-style/index.css +1 -1
  52. package/theme-style/src/common/var.scss +5 -2
  53. package/theme-style/src/full-screen.scss +3 -6
  54. package/theme-style/src/icon-text.scss +2 -5
  55. package/theme-style/src/icon.scss +7 -10
  56. package/theme-style/src/md/api.scss +8 -0
  57. package/theme-style/src/menu.scss +2 -2
  58. package/theme-style/src/page-wrapper.scss +1 -1
  59. package/theme-style/vft-full-screen.css +1 -1
  60. package/theme-style/vft-icon-text.css +1 -1
  61. package/theme-style/vft-icon.css +1 -1
  62. package/theme-style/vft-md-container.css +1 -1
  63. package/theme-style/vft-menu.css +1 -1
  64. package/theme-style/vft-page-wrapper.css +1 -1
  65. package/web-types.json +1 -1
@@ -1,2 +1,3 @@
1
1
  import "vft/theme-style/base.css";
2
+ import "vft/theme-style/vft-icon.css";
2
3
  import "vft/theme-style/wfly-alert.css";
@@ -1,2 +1,3 @@
1
1
  import "vft/theme-style/src/base.scss";
2
+ import "vft/theme-style/src/icon.scss";
2
3
  import "vft/theme-style/src/alert.scss";
@@ -1,4 +1,5 @@
1
1
  import "vft/theme-style/base.css";
2
2
  import "vft/theme-style/vft-image-viewer.css";
3
3
  import "vft/theme-style/vft-image.css";
4
+ import "vft/theme-style/vft-icon.css";
4
5
  import "vft/theme-style/vft-avatar.css";
@@ -1,4 +1,5 @@
1
1
  import "vft/theme-style/src/base.scss";
2
2
  import "vft/theme-style/src/image-viewer.scss";
3
3
  import "vft/theme-style/src/image.scss";
4
+ import "vft/theme-style/src/icon.scss";
4
5
  import "vft/theme-style/src/avatar.scss";
@@ -1,2 +1,3 @@
1
1
  import "vft/theme-style/base.css";
2
+ import "vft/theme-style/vft-icon.css";
2
3
  import "vft/theme-style/vft-button.css";
@@ -1,2 +1,3 @@
1
1
  import "vft/theme-style/src/base.scss";
2
+ import "vft/theme-style/src/icon.scss";
2
3
  import "vft/theme-style/src/button.scss";
@@ -1,2 +1,3 @@
1
1
  import "vft/theme-style/base.css";
2
+ import "vft/theme-style/vft-icon.css";
2
3
  import "vft/theme-style/vft-button-group.css";
@@ -1,2 +1,3 @@
1
1
  import "vft/theme-style/src/base.scss";
2
+ import "vft/theme-style/src/icon.scss";
2
3
  import "vft/theme-style/src/button-group.scss";
@@ -1,4 +1,5 @@
1
1
  import "vft/theme-style/base.css";
2
2
  import "vft/theme-style/vft-color-picker.css";
3
3
  import "vft/theme-style/vft-input.css";
4
+ import "vft/theme-style/vft-icon.css";
4
5
  import "vft/theme-style/vft-button.css";
@@ -1,4 +1,5 @@
1
1
  import "vft/theme-style/src/base.scss";
2
2
  import "vft/theme-style/src/color-picker.scss";
3
3
  import "vft/theme-style/src/input.scss";
4
+ import "vft/theme-style/src/icon.scss";
4
5
  import "vft/theme-style/src/button.scss";
@@ -1,2 +1,5 @@
1
+ import { type IconTextProps } from 'vft/es/components/icon-text';
2
+ export interface FullScreenProps extends Partial<IconTextProps> {
3
+ }
1
4
  declare const _sfc_main: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
2
5
  export default _sfc_main;
@@ -1,36 +1,36 @@
1
- import { defineComponent as n, openBlock as l, createElementBlock as c, normalizeClass as m, unref as e, createVNode as p, createElementVNode as a, toDisplayString as u } from "vue";
2
- import { useFullscreen as f } from "@vft/use";
3
- import { VftIcon as d } from "../icon/index.js";
4
- import { useNamespace as _ } from "../../hooks/use-namespace/index.js";
1
+ import { defineComponent as e, openBlock as l, createBlock as p, unref as o, mergeProps as m } from "vue";
2
+ import { useFullscreen as a } from "@vft/use";
3
+ import { VftIconText as u } from "../icon-text/index.js";
4
+ import { useNamespace as f } from "../../hooks/use-namespace/index.js";
5
5
  import "@popperjs/core";
6
6
  import "lodash";
7
7
  import "../../hooks/use-z-index/index.js";
8
8
  import "@vueuse/core";
9
9
  import "@vft/utils";
10
- import "../../utils/ns-cover.js";
10
+ import { primaryColor as _ } from "../../utils/ns-cover.js";
11
11
  import "@vue/reactivity";
12
12
  import "@vue/shared";
13
- const i = (
13
+ const t = (
14
14
  /* hoist-static*/
15
- _("full-screen")
16
- ), x = n({
17
- name: i.b()
18
- }), S = /* @__PURE__ */ n({
15
+ f("full-screen")
16
+ ), x = e({
17
+ name: t.b()
18
+ }), V = /* @__PURE__ */ e({
19
19
  ...x,
20
- setup(g) {
21
- const { toggle: o, isFullscreen: r } = f();
22
- return (k, t) => (l(), c("div", {
23
- class: m([e(i).b(), "cursor-pointer"]),
24
- onClick: t[0] || (t[0] = //@ts-ignore
25
- (...s) => e(o) && e(o)(...s))
26
- }, [
27
- p(e(d), {
28
- icon: e(r) ? "ico-radix-icons:exit-full-screen" : "ico-radix-icons:enter-full-screen"
29
- }, null, 8, ["icon"]),
30
- a("span", null, u(e(r) ? "退出全屏" : "全屏"), 1)
31
- ], 2));
20
+ props: {},
21
+ setup(c) {
22
+ const n = c, { toggle: i, isFullscreen: r } = a(), s = _().value;
23
+ return (d, C) => (l(), p(o(u), m({
24
+ class: o(t).b(),
25
+ distance: 2,
26
+ pointer: "",
27
+ "hover-color": o(s),
28
+ onClick: o(i),
29
+ icon: o(r) ? "ico-radix-icons:exit-full-screen" : "ico-radix-icons:enter-full-screen",
30
+ text: o(r) ? "退出全屏" : "全屏"
31
+ }, n), null, 16, ["class", "hover-color", "onClick", "icon", "text"]));
32
32
  }
33
33
  });
34
34
  export {
35
- S as default
35
+ V as default
36
36
  };
@@ -8,8 +8,8 @@ export interface IconProps {
8
8
  color?: string;
9
9
  rotate?: boolean;
10
10
  rotateSpeed?: number;
11
- cursor?: boolean;
12
- scale?: number;
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
- cursor: {
35
+ pointer: {
36
36
  type: __PropType<boolean | undefined>;
37
37
  required: false;
38
38
  };
39
- scale: {
40
- type: __PropType<number | undefined>;
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
- cursor: {
64
+ pointer: {
65
65
  type: __PropType<boolean | undefined>;
66
66
  required: false;
67
67
  };
68
- scale: {
69
- type: __PropType<number | undefined>;
68
+ hoverColor: {
69
+ type: __PropType<string | undefined>;
70
70
  required: false;
71
71
  };
72
72
  }>>, {}>;
@@ -1,48 +1,49 @@
1
- import { defineComponent as r, computed as i, unref as t, openBlock as n, createElementBlock as l, normalizeClass as c, normalizeStyle as d } from "vue";
2
- import { addUnit as y } from "@vft/utils";
3
- import { useNamespace as p } from "../../hooks/use-namespace/index.js";
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 g } from "../config-provider/hooks/use-global-config.js";
13
- const z = ["src"], s = (
12
+ import { useGlobalConfig as C } from "../config-provider/hooks/use-global-config.js";
13
+ const v = ["src"], i = (
14
14
  /* hoist-static*/
15
- p("icon")
16
- ), k = r({
17
- name: s.b()
18
- }), j = /* @__PURE__ */ r({
19
- ...k,
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: { default: 14 },
22
+ size: null,
23
23
  color: null,
24
24
  rotate: { type: Boolean },
25
25
  rotateSpeed: { default: 2 },
26
- cursor: { type: Boolean },
27
- scale: null
26
+ pointer: { type: Boolean },
27
+ hoverColor: null
28
28
  },
29
- setup(e) {
30
- const a = g(), m = i(() => ({
31
- color: e.color,
32
- fontSize: e.size ? y(e.size) : "14px",
33
- animation: e.rotate ? `${a.value.namespace}-rotate ${e.rotateSpeed}s linear 0s infinite` : void 0,
34
- cursor: e.cursor ? "pointer" : void 0,
35
- transform: e.scale ? `scale(${e.scale})` : void 0
36
- })), u = (o) => o == null ? void 0 : o.includes("/"), f = i(() => u(e.icon));
37
- return (o, v) => t(f) ? (n(), l("img", {
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: c(t(s).e("image")),
40
- src: e.icon,
41
- alt: ""
42
- }, null, 10, z)) : (n(), l("i", {
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: c([e.icon]),
45
- style: d(t(m))
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
- cursor: {
24
+ pointer: {
25
25
  type: import("vue").PropType<boolean | undefined>;
26
26
  required: false;
27
27
  };
28
- scale: {
29
- type: import("vue").PropType<number | undefined>;
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
- cursor: {
53
+ pointer: {
54
54
  type: import("vue").PropType<boolean | undefined>;
55
55
  required: false;
56
56
  };
57
- scale: {
58
- type: import("vue").PropType<number | undefined>;
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 l, createElementBlock as h, normalizeClass as k, unref as t, normalizeStyle as B, createBlock as s, mergeProps as m, createCommentVNode as u, createElementVNode as S, toDisplayString as V } from "vue";
2
- import { VftIcon as v } from "../icon/index.js";
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 N, addUnit as f, removeUnit as d } from "@vft/utils";
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
- }), F = /* @__PURE__ */ y({
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 x = o(() => e.hoverColor ? e.hoverColor : e.color), c = o(() => N(e.icon, "icon", { size: e.size, color: e.color })), i = o(() => e.direction === "col"), a = o(() => {
31
- const r = f(e.distance);
32
- return i.value ? e.reverse ? { marginTop: r } : { marginBottom: r } : e.reverse ? { marginLeft: r } : { marginRight: r };
33
- }), n = o(() => d(e.size)), z = o(() => n.value && d(n.value) < 12 ? { transform: `scale(${n.value / 12})` } : {}), C = o(() => ({
34
- ...E({
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": x.value,
37
- fontSize: n.value < 12 ? "12px" : f(e.size)
38
- }, "icon-text"),
39
- ...z.value
40
- }));
41
- return (r, U) => (l(), h("span", {
42
- class: k([t(g).b(), { "flex-col": t(i) }]),
43
- style: B(t(C))
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 ? u("", !0) : (l(), s(t(v), m({ key: 0 }, t(c), { style: t(a) }), null, 16, ["style"])),
46
- S("span", null, V(e.text), 1),
47
- e.reverse ? (l(), s(t(v), m({ key: 1 }, t(c), { style: t(a) }), null, 16, ["style"])) : u("", !0)
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
- F as default
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';
@@ -29,8 +29,8 @@ export declare const VftLoading: {
29
29
  color?: string | undefined;
30
30
  rotate?: boolean | undefined;
31
31
  rotateSpeed?: number | undefined;
32
- cursor?: boolean | undefined;
33
- scale?: number | undefined;
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
- cursor?: boolean | undefined;
25
- scale?: number | undefined;
24
+ pointer?: boolean | undefined;
25
+ hoverColor?: string | undefined;
26
26
  }>;
27
27
  text: import("vue").Ref<string>;
28
28
  fullscreen: import("vue").Ref<boolean>;
@@ -1,34 +1,10 @@
1
1
  import type { PropType as __PropType } from 'vue';
2
2
  import { type PaginationProps } from 'vft/es/components/pagination';
3
- import type { IColumnsOption, IDefaultSort, TableConfigProps } from './type';
3
+ import type { IDefaultSort, TableConfigProps } from './type';
4
4
  interface stickyOption {
5
5
  offsetTop: number;
6
6
  getContainer?: HTMLElement;
7
7
  }
8
- export interface TableProps {
9
- /** 最大高度,设置后自动开启虚拟滚动 */
10
- maxHeight?: number;
11
- /** 列配置项 */
12
- columns: IColumnsOption[];
13
- /** 表格数据 */
14
- tableData: any[];
15
- /** 是否在加载中 */
16
- loading?: boolean;
17
- /** 表格高度 */
18
- height?: Numberish;
19
- /** 分页页数 */
20
- pageSize?: number;
21
- /** 总数 */
22
- total?: number;
23
- /** 默认排序 */
24
- defaultSort?: IDefaultSort;
25
- /** 表格配置 */
26
- tableConfig?: TableConfigProps;
27
- /** 滚动条是否固定在底部 */
28
- sticky?: boolean | stickyOption;
29
- pagePlacement?: 'bottom-left' | 'bottom-right' | 'top-left' | 'top-right';
30
- pageOptions: Partial<PaginationProps>;
31
- }
32
8
  declare const _sfc_main: import("vue").DefineComponent<{
33
9
  maxHeight: {
34
10
  type: __PropType<number | undefined>;
@@ -54,6 +30,10 @@ declare const _sfc_main: import("vue").DefineComponent<{
54
30
  type: __PropType<number | undefined>;
55
31
  required: false;
56
32
  };
33
+ pageNum: {
34
+ type: __PropType<number | undefined>;
35
+ required: false;
36
+ };
57
37
  total: {
58
38
  type: __PropType<number | undefined>;
59
39
  required: false;
@@ -105,6 +85,10 @@ declare const _sfc_main: import("vue").DefineComponent<{
105
85
  type: __PropType<number | undefined>;
106
86
  required: false;
107
87
  };
88
+ pageNum: {
89
+ type: __PropType<number | undefined>;
90
+ required: false;
91
+ };
108
92
  total: {
109
93
  type: __PropType<number | undefined>;
110
94
  required: false;