vft 0.0.61 → 0.0.62

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 (155) hide show
  1. package/attributes.json +1 -1
  2. package/dist/index.css +1 -1
  3. package/es/component.js +26 -22
  4. package/es/components/back-top/back-top.vue2.js +4 -2
  5. package/es/components/color-picker/color-picker.vue.d.ts +3 -1
  6. package/es/components/color-picker/color-picker.vue2.js +31 -30
  7. package/es/components/color-picker/index.d.ts +3 -1
  8. package/es/components/context-menu/context-menu.vue2.js +4 -2
  9. package/es/components/dialog/dialog.vue.d.ts +1 -1
  10. package/es/components/dialog/dialog.vue2.js +52 -53
  11. package/es/components/dialog/index.d.ts +3 -3
  12. package/es/components/dialog/index.js +1 -1
  13. package/es/components/dialog/style/css.js +1 -1
  14. package/es/components/dropdown/dropdown.vue.d.ts +5 -5
  15. package/es/components/dropdown/index.d.ts +5 -5
  16. package/es/components/icon-text/icon-text.vue.d.ts +10 -4
  17. package/es/components/icon-text/icon-text.vue2.js +28 -26
  18. package/es/components/icon-text/index.d.ts +10 -4
  19. package/es/components/index.d.ts +2 -0
  20. package/es/components/index.js +117 -109
  21. package/es/components/list-cell/index.d.ts +38 -0
  22. package/es/components/list-cell/index.js +12 -0
  23. package/es/components/list-cell/list-cell.vue.d.ts +53 -0
  24. package/es/components/list-cell/list-cell.vue.js +4 -0
  25. package/es/components/list-cell/list-cell.vue2.js +68 -0
  26. package/es/components/list-cell/style/css.d.ts +0 -0
  27. package/es/components/list-cell/style/css.js +2 -0
  28. package/es/components/list-cell/style/index.d.ts +0 -0
  29. package/es/components/list-cell/style/index.js +2 -0
  30. package/es/components/md-container/md-container.vue2.js +4 -2
  31. package/es/components/menu/index.d.ts +2 -2
  32. package/es/components/menu/menu-item.vue2.js +14 -12
  33. package/es/components/menu/menu.vue.d.ts +2 -2
  34. package/es/components/menu/sub-menu.vue2.js +4 -2
  35. package/es/components/multiple-tabs/multiple-tabs.vue2.js +5 -3
  36. package/es/components/multiple-tabs/tab-content.vue.d.ts +8 -0
  37. package/es/components/multiple-tabs/tab-content.vue2.js +13 -12
  38. package/es/components/multiple-tabs/use/use-tab-dropdown.js +12 -12
  39. package/es/components/result/result.vue2.js +4 -2
  40. package/es/components/search/search.vue2.js +4 -2
  41. package/es/components/select-v2/defaults.d.ts +1 -1
  42. package/es/components/select-v2/index.d.ts +16 -16
  43. package/es/components/select-v2/select.vue.d.ts +8 -8
  44. package/es/components/select-v2/useSelect.d.ts +5 -5
  45. package/es/components/side-menu/index.d.ts +38 -1
  46. package/es/components/side-menu/side-menu.vue.d.ts +38 -1
  47. package/es/components/side-menu/side-menu.vue2.js +144 -113
  48. package/es/components/side-menu/use-drag-line.d.ts +10 -0
  49. package/es/components/side-menu/use-drag-line.js +51 -0
  50. package/es/components/switch/index.d.ts +1 -1
  51. package/es/components/switch/switch.vue.d.ts +1 -1
  52. package/es/components/tabs/tab-nav.vue2.js +4 -2
  53. package/es/components/tooltip/index.d.ts +2 -2
  54. package/es/components/tooltip/tooltip.vue.d.ts +2 -2
  55. package/es/components/virtual-list/builders/build-list.d.ts +38 -38
  56. package/es/components/virtual-list/components/scrollbar.d.ts +1 -1
  57. package/es/defaults.d.ts +1 -1
  58. package/es/index.d.ts +1 -1
  59. package/es/index.js +248 -239
  60. package/es/package.json.js +1 -1
  61. package/es/utils/index.js +31 -30
  62. package/es/utils/ns-cover.d.ts +6 -3
  63. package/es/utils/ns-cover.js +25 -15
  64. package/global.d.ts +2 -70
  65. package/lib/component.cjs +1 -1
  66. package/lib/components/back-top/back-top.vue2.cjs +1 -1
  67. package/lib/components/color-picker/color-picker.vue.d.ts +3 -1
  68. package/lib/components/color-picker/color-picker.vue2.cjs +1 -1
  69. package/lib/components/color-picker/index.d.ts +3 -1
  70. package/lib/components/context-menu/context-menu.vue2.cjs +1 -1
  71. package/lib/components/dialog/dialog.vue.d.ts +1 -1
  72. package/lib/components/dialog/dialog.vue2.cjs +1 -1
  73. package/lib/components/dialog/index.cjs +1 -1
  74. package/lib/components/dialog/index.d.ts +3 -3
  75. package/lib/components/dialog/style/css.cjs +1 -1
  76. package/lib/components/dropdown/dropdown.vue.d.ts +5 -5
  77. package/lib/components/dropdown/index.d.ts +5 -5
  78. package/lib/components/icon-text/icon-text.vue.d.ts +10 -4
  79. package/lib/components/icon-text/icon-text.vue2.cjs +1 -1
  80. package/lib/components/icon-text/index.d.ts +10 -4
  81. package/lib/components/index.cjs +1 -1
  82. package/lib/components/index.d.ts +2 -0
  83. package/lib/components/list-cell/index.cjs +1 -0
  84. package/lib/components/list-cell/index.d.ts +38 -0
  85. package/lib/components/list-cell/list-cell.vue.cjs +1 -0
  86. package/lib/components/list-cell/list-cell.vue.d.ts +53 -0
  87. package/lib/components/list-cell/list-cell.vue2.cjs +1 -0
  88. package/lib/components/list-cell/style/css.cjs +1 -0
  89. package/lib/components/list-cell/style/css.d.ts +0 -0
  90. package/lib/components/list-cell/style/index.cjs +1 -0
  91. package/lib/components/list-cell/style/index.d.ts +0 -0
  92. package/lib/components/md-container/md-container.vue2.cjs +1 -1
  93. package/lib/components/menu/index.d.ts +2 -2
  94. package/lib/components/menu/menu-item.vue2.cjs +1 -1
  95. package/lib/components/menu/menu.vue.d.ts +2 -2
  96. package/lib/components/menu/sub-menu.vue2.cjs +1 -1
  97. package/lib/components/multiple-tabs/multiple-tabs.vue2.cjs +1 -1
  98. package/lib/components/multiple-tabs/tab-content.vue.d.ts +8 -0
  99. package/lib/components/multiple-tabs/tab-content.vue2.cjs +1 -1
  100. package/lib/components/multiple-tabs/use/use-tab-dropdown.cjs +1 -1
  101. package/lib/components/result/result.vue2.cjs +1 -1
  102. package/lib/components/search/search.vue2.cjs +1 -1
  103. package/lib/components/select-v2/defaults.d.ts +1 -1
  104. package/lib/components/select-v2/index.d.ts +16 -16
  105. package/lib/components/select-v2/select.vue.d.ts +8 -8
  106. package/lib/components/select-v2/useSelect.d.ts +5 -5
  107. package/lib/components/side-menu/index.d.ts +38 -1
  108. package/lib/components/side-menu/side-menu.vue.d.ts +38 -1
  109. package/lib/components/side-menu/side-menu.vue2.cjs +1 -1
  110. package/lib/components/side-menu/use-drag-line.cjs +1 -0
  111. package/lib/components/side-menu/use-drag-line.d.ts +10 -0
  112. package/lib/components/switch/index.d.ts +1 -1
  113. package/lib/components/switch/switch.vue.d.ts +1 -1
  114. package/lib/components/tabs/tab-nav.vue2.cjs +1 -1
  115. package/lib/components/tooltip/index.d.ts +2 -2
  116. package/lib/components/tooltip/tooltip.vue.d.ts +2 -2
  117. package/lib/components/virtual-list/builders/build-list.d.ts +38 -38
  118. package/lib/components/virtual-list/components/scrollbar.d.ts +1 -1
  119. package/lib/defaults.d.ts +1 -1
  120. package/lib/index.cjs +1 -1
  121. package/lib/index.d.ts +1 -1
  122. package/lib/package.json.cjs +1 -1
  123. package/lib/utils/index.cjs +1 -1
  124. package/lib/utils/ns-cover.cjs +1 -1
  125. package/lib/utils/ns-cover.d.ts +6 -3
  126. package/package.json +1 -1
  127. package/tags.json +1 -1
  128. package/theme-style/base.css +1 -1
  129. package/theme-style/dark/css-vars.css +1 -1
  130. package/theme-style/index.css +1 -1
  131. package/theme-style/src/common/var.scss +13 -2
  132. package/theme-style/src/dark/var.scss +3 -3
  133. package/theme-style/src/dialog.scss +6 -4
  134. package/theme-style/src/footer-layout.scss +1 -0
  135. package/theme-style/src/index.scss +1 -0
  136. package/theme-style/src/list-cell.scss +55 -0
  137. package/theme-style/src/loading.scss +1 -1
  138. package/theme-style/src/md-container.scss +2 -3
  139. package/theme-style/src/menu.scss +5 -1
  140. package/theme-style/src/multiple-tabs.scss +1 -1
  141. package/theme-style/src/pagination.scss +1 -5
  142. package/theme-style/src/popover.scss +3 -3
  143. package/theme-style/src/side-menu.scss +21 -5
  144. package/theme-style/src/var.scss +0 -2
  145. package/theme-style/vft-back-top.css +1 -1
  146. package/theme-style/vft-dialog.css +1 -1
  147. package/theme-style/vft-footer-layout.css +1 -1
  148. package/theme-style/vft-list-cell.css +1 -0
  149. package/theme-style/vft-loading.css +1 -1
  150. package/theme-style/vft-md-container.css +1 -1
  151. package/theme-style/vft-menu.css +1 -1
  152. package/theme-style/vft-popover.css +1 -1
  153. package/theme-style/vft-side-menu.css +1 -1
  154. package/theme-style/vft-var.css +1 -1
  155. package/web-types.json +1 -1
@@ -290,8 +290,8 @@ declare const _sfc_main: import("vue").DefineComponent<{
290
290
  required: false;
291
291
  };
292
292
  }>> & {
293
- onClose?: ((...args: any[]) => any) | undefined;
294
293
  onOpen?: ((...args: any[]) => any) | undefined;
294
+ onClose?: ((...args: any[]) => any) | undefined;
295
295
  "onBefore-show"?: ((...args: any[]) => any) | undefined;
296
296
  "onBefore-hide"?: ((...args: any[]) => any) | undefined;
297
297
  onShow?: ((...args: any[]) => any) | undefined;
@@ -308,7 +308,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
308
308
  }>;
309
309
  $root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null;
310
310
  $parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null;
311
- $emit: (event: "close" | "open" | "before-show" | "before-hide" | "show" | "hide", ...args: any[]) => void;
311
+ $emit: (event: "open" | "close" | "before-show" | "before-hide" | "show" | "hide", ...args: any[]) => void;
312
312
  $el: any;
313
313
  $options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
314
314
  role: {
@@ -500,8 +500,8 @@ declare const _sfc_main: import("vue").DefineComponent<{
500
500
  required: false;
501
501
  };
502
502
  }>> & {
503
- onClose?: ((...args: any[]) => any) | undefined;
504
503
  onOpen?: ((...args: any[]) => any) | undefined;
504
+ onClose?: ((...args: any[]) => any) | undefined;
505
505
  "onBefore-show"?: ((...args: any[]) => any) | undefined;
506
506
  "onBefore-hide"?: ((...args: any[]) => any) | undefined;
507
507
  onShow?: ((...args: any[]) => any) | undefined;
@@ -514,7 +514,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
514
514
  onOpen: (event?: Event | undefined) => void;
515
515
  onClose: (event?: Event | undefined) => void;
516
516
  hide: (event?: Event | undefined) => void;
517
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("close" | "open" | "before-show" | "before-hide" | "show" | "hide")[], string, {}, {}, string> & {
517
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("open" | "close" | "before-show" | "before-hide" | "show" | "hide")[], string, {}, {}, string> & {
518
518
  beforeCreate?: ((() => void) | (() => void)[]) | undefined;
519
519
  created?: ((() => void) | (() => void)[]) | undefined;
520
520
  beforeMount?: ((() => void) | (() => void)[]) | undefined;
@@ -724,8 +724,8 @@ declare const _sfc_main: import("vue").DefineComponent<{
724
724
  required: false;
725
725
  };
726
726
  }>> & {
727
- onClose?: ((...args: any[]) => any) | undefined;
728
727
  onOpen?: ((...args: any[]) => any) | undefined;
728
+ onClose?: ((...args: any[]) => any) | undefined;
729
729
  "onBefore-show"?: ((...args: any[]) => any) | undefined;
730
730
  "onBefore-hide"?: ((...args: any[]) => any) | undefined;
731
731
  onShow?: ((...args: any[]) => any) | undefined;
@@ -290,8 +290,8 @@ export declare const VftDropdown: import("vft/es/utils").SFCWithInstall<import("
290
290
  required: false;
291
291
  };
292
292
  }>> & {
293
- onClose?: ((...args: any[]) => any) | undefined;
294
293
  onOpen?: ((...args: any[]) => any) | undefined;
294
+ onClose?: ((...args: any[]) => any) | undefined;
295
295
  "onBefore-show"?: ((...args: any[]) => any) | undefined;
296
296
  "onBefore-hide"?: ((...args: any[]) => any) | undefined;
297
297
  onShow?: ((...args: any[]) => any) | undefined;
@@ -308,7 +308,7 @@ export declare const VftDropdown: import("vft/es/utils").SFCWithInstall<import("
308
308
  }>;
309
309
  $root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null;
310
310
  $parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null;
311
- $emit: (event: "close" | "open" | "before-show" | "before-hide" | "show" | "hide", ...args: any[]) => void;
311
+ $emit: (event: "open" | "close" | "before-show" | "before-hide" | "show" | "hide", ...args: any[]) => void;
312
312
  $el: any;
313
313
  $options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
314
314
  role: {
@@ -500,8 +500,8 @@ export declare const VftDropdown: import("vft/es/utils").SFCWithInstall<import("
500
500
  required: false;
501
501
  };
502
502
  }>> & {
503
- onClose?: ((...args: any[]) => any) | undefined;
504
503
  onOpen?: ((...args: any[]) => any) | undefined;
504
+ onClose?: ((...args: any[]) => any) | undefined;
505
505
  "onBefore-show"?: ((...args: any[]) => any) | undefined;
506
506
  "onBefore-hide"?: ((...args: any[]) => any) | undefined;
507
507
  onShow?: ((...args: any[]) => any) | undefined;
@@ -514,7 +514,7 @@ export declare const VftDropdown: import("vft/es/utils").SFCWithInstall<import("
514
514
  onOpen: (event?: Event | undefined) => void;
515
515
  onClose: (event?: Event | undefined) => void;
516
516
  hide: (event?: Event | undefined) => void;
517
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("close" | "open" | "before-show" | "before-hide" | "show" | "hide")[], string, {}, {}, string> & {
517
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("open" | "close" | "before-show" | "before-hide" | "show" | "hide")[], string, {}, {}, string> & {
518
518
  beforeCreate?: ((() => void) | (() => void)[]) | undefined;
519
519
  created?: ((() => void) | (() => void)[]) | undefined;
520
520
  beforeMount?: ((() => void) | (() => void)[]) | undefined;
@@ -724,8 +724,8 @@ export declare const VftDropdown: import("vft/es/utils").SFCWithInstall<import("
724
724
  required: false;
725
725
  };
726
726
  }>> & {
727
- onClose?: ((...args: any[]) => any) | undefined;
728
727
  onOpen?: ((...args: any[]) => any) | undefined;
728
+ onClose?: ((...args: any[]) => any) | undefined;
729
729
  "onBefore-show"?: ((...args: any[]) => any) | undefined;
730
730
  "onBefore-hide"?: ((...args: any[]) => any) | undefined;
731
731
  onShow?: ((...args: any[]) => any) | undefined;
@@ -29,7 +29,11 @@ declare const _sfc_main: import("vue").DefineComponent<{
29
29
  type: __PropType<string | number | undefined>;
30
30
  required: false;
31
31
  };
32
- }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "click"[], "click", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
32
+ direction: {
33
+ type: __PropType<"row" | "col" | undefined>;
34
+ required: false;
35
+ };
36
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
33
37
  text: {
34
38
  type: __PropType<string>;
35
39
  required: true;
@@ -58,7 +62,9 @@ declare const _sfc_main: import("vue").DefineComponent<{
58
62
  type: __PropType<string | number | undefined>;
59
63
  required: false;
60
64
  };
61
- }>> & {
62
- onClick?: ((...args: any[]) => any) | undefined;
63
- }, {}>;
65
+ direction: {
66
+ type: __PropType<"row" | "col" | undefined>;
67
+ required: false;
68
+ };
69
+ }>>, {}>;
64
70
  export default _sfc_main;
@@ -1,21 +1,21 @@
1
- import { defineComponent as d, computed as o, openBlock as r, createElementBlock as h, normalizeClass as S, unref as t, normalizeStyle as B, createBlock as a, mergeProps as m, createCommentVNode as u, createElementVNode as V, toDisplayString as b } from "vue";
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
2
  import { VftIcon as v } from "../icon/index.js";
3
- import { useNamespace as N } from "../../hooks/use-namespace/index.js";
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 E, addUnit as l, removeUnit as f } from "@vft/utils";
9
- import { generateCssVars as U } from "../../utils/ns-cover.js";
8
+ import { singleAttrToObj as N, addUnit as f, removeUnit as d } from "@vft/utils";
9
+ import { generateCssVars as E } from "../../utils/ns-cover.js";
10
10
  import "@vue/reactivity";
11
11
  import "@vue/shared";
12
- const y = (
12
+ const g = (
13
13
  /* hoist-static*/
14
- N("icon-text")
15
- ), $ = d({
16
- name: y.b()
17
- }), G = /* @__PURE__ */ d({
18
- ...$,
14
+ b("icon-text")
15
+ ), T = y({
16
+ name: g.b()
17
+ }), F = /* @__PURE__ */ y({
18
+ ...T,
19
19
  props: {
20
20
  text: null,
21
21
  icon: null,
@@ -23,29 +23,31 @@ const y = (
23
23
  hoverColor: null,
24
24
  distance: null,
25
25
  reverse: { type: Boolean },
26
- size: null
26
+ size: null,
27
+ direction: { default: "row" }
27
28
  },
28
- emits: ["click"],
29
- setup(e, { emit: z }) {
30
- const C = o(() => e.hoverColor ? e.hoverColor : e.color), c = o(() => E(e.icon, "icon", { size: e.size, color: e.color })), i = o(() => e.reverse ? { marginLeft: l(e.distance) } : { marginRight: l(e.distance) }), n = o(() => f(e.size)), k = o(() => n.value && f(n.value) < 12 ? { transform: `scale(${n.value / 12})` } : {}), x = o(() => ({
31
- ...U({
29
+ 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
35
  color: e.color,
33
- "hover-color": C.value,
34
- fontSize: n.value < 12 ? "12px" : l(e.size)
36
+ "hover-color": x.value,
37
+ fontSize: n.value < 12 ? "12px" : f(e.size)
35
38
  }, "icon-text"),
36
- ...k.value
39
+ ...z.value
37
40
  }));
38
- return (g, s) => (r(), h("span", {
39
- class: S(t(y).b()),
40
- onClick: s[0] || (s[0] = (j) => z("click")),
41
- style: B(t(x))
41
+ return (r, U) => (l(), h("span", {
42
+ class: k([t(g).b(), { "flex-col": t(i) }]),
43
+ style: B(t(C))
42
44
  }, [
43
- e.reverse ? u("", !0) : (r(), a(t(v), m({ key: 0 }, t(c), { style: t(i) }), null, 16, ["style"])),
44
- V("span", null, b(e.text), 1),
45
- e.reverse ? (r(), a(t(v), m({ key: 1 }, t(c), { style: t(i) }), null, 16, ["style"])) : u("", !0)
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)
46
48
  ], 6));
47
49
  }
48
50
  });
49
51
  export {
50
- G as default
52
+ F as default
51
53
  };
@@ -27,7 +27,11 @@ export declare const VftIconText: import("vft/es/utils").SFCWithInstall<import("
27
27
  type: import("vue").PropType<string | number | undefined>;
28
28
  required: false;
29
29
  };
30
- }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "click"[], "click", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
30
+ direction: {
31
+ type: import("vue").PropType<"row" | "col" | undefined>;
32
+ required: false;
33
+ };
34
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
31
35
  text: {
32
36
  type: import("vue").PropType<string>;
33
37
  required: true;
@@ -56,7 +60,9 @@ export declare const VftIconText: import("vft/es/utils").SFCWithInstall<import("
56
60
  type: import("vue").PropType<string | number | undefined>;
57
61
  required: false;
58
62
  };
59
- }>> & {
60
- onClick?: ((...args: any[]) => any) | undefined;
61
- }, {}>> & Record<string, any>;
63
+ direction: {
64
+ type: import("vue").PropType<"row" | "col" | undefined>;
65
+ required: false;
66
+ };
67
+ }>>, {}>> & Record<string, any>;
62
68
  export default VftIconText;
@@ -47,6 +47,8 @@ export * from './select-v2';
47
47
  export * from './verify-code';
48
48
  export * from './table';
49
49
  export * from './image-viewer';
50
+ export * from './list-cell';
51
+ export * from './dialog';
50
52
  export * from './md-container';
51
53
  export * from './md-comment';
52
54
  export * from './md-tabs';
@@ -3,20 +3,20 @@ import { VftIcon as f, VftIcon as p } from "./icon/index.js";
3
3
  import { VftAvatar as x } from "./avatar/index.js";
4
4
  import { VftEmpty as i } from "./empty/index.js";
5
5
  import { VftResult as n } from "./result/index.js";
6
- import { VftTabPane as d, VftTabs as u } from "./tabs/index.js";
6
+ import { VftTabPane as l, VftTabs as d } from "./tabs/index.js";
7
7
  import { VftPopper as c } from "./popper/index.js";
8
8
  import { VftCollapseTransition as g } from "./collapse-transition/index.js";
9
- import { VftTooltip as b } from "./tooltip/index.js";
9
+ import { VftTooltip as y } from "./tooltip/index.js";
10
10
  import { VftPopover as D } from "./popover/index.js";
11
11
  import { VftMenu as M, VftMenuItem as T, VftMenuItemGroup as S, VftSubMenu as v } from "./menu/index.js";
12
- import { createContextMenu as G, destroyContextMenu as w } from "./context-menu/createContextMenu.js";
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";
15
15
  import { VftHeaderLayout as k } from "./header-layout/index.js";
16
16
  import { VftFooterLayout as B } from "./footer-layout/index.js";
17
17
  import { VftIframeLayout as O } from "./iframe-layout/index.js";
18
18
  import { VftRouterViewContent as _ } from "./router-view-content/index.js";
19
- import { VftLogo as j } from "./logo/index.js";
19
+ import { VftLogo as W } from "./logo/index.js";
20
20
  import { VftBackTop as J } from "./back-top/index.js";
21
21
  import { VftConfigProvider as Y } from "./config-provider/index.js";
22
22
  import { VftDescriptions as U, VftDescriptionsItem as X } from "./descriptions/index.js";
@@ -27,19 +27,19 @@ import { VftInput as po } from "./input/index.js";
27
27
  import { VftLink as xo } from "./link/index.js";
28
28
  import { VftPagination as io } from "./pagination/index.js";
29
29
  import { VftTag as no } from "./tag/index.js";
30
- import { VftSideMenu as uo } from "./side-menu/index.js";
30
+ import { VftSideMenu as lo } from "./side-menu/index.js";
31
31
  import { VftQrcode as co } from "./qrcode/index.js";
32
32
  import { VftOverlay as go } from "./overlay/index.js";
33
- import { VftClamp as bo } from "./clamp/index.js";
33
+ import { VftClamp as yo } from "./clamp/index.js";
34
34
  import { VftClampToggle as Do } from "./clamp-toggle/index.js";
35
35
  import { VftPageWrapper as Mo } 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
- import { VftForm as wo, VftFormItem as Ko } from "./form/index.js";
38
+ import { VftForm as Ko, VftFormItem as wo } from "./form/index.js";
39
39
  import { VftButton as Fo, VftButtonGroup as ho } from "./button/index.js";
40
40
  import { VftCheckbox as ko, VftCheckboxButton as Ao, VftCheckboxGroup as Bo } from "./checkbox/index.js";
41
41
  import { VftRadio as Oo, VftRadioButton as No, VftRadioGroup as _o } from "./radio/index.js";
42
- import { VftSwitch as jo } from "./switch/index.js";
42
+ import { VftSwitch as Wo } from "./switch/index.js";
43
43
  import { VftColorPicker as Jo } from "./color-picker/index.js";
44
44
  import { VftScrollbar as Yo } from "./scrollbar/index.js";
45
45
  import { VftDropdown as Uo, VftDropdownItem as Xo, VftDropdownMenu as Zo } from "./dropdown/index.js";
@@ -48,57 +48,61 @@ import { default as rt } from "./virtual-list/components/dynamic-size-list.js";
48
48
  import { default as ft } from "./virtual-list/components/fixed-size-grid.js";
49
49
  import { default as mt } from "./virtual-list/components/dynamic-size-grid.js";
50
50
  import { virtualizedGridProps as at, virtualizedListProps as it, virtualizedProps as Vt, virtualizedScrollbarProps as nt } from "./virtual-list/props.js";
51
- import { VftSelectV2 as dt } from "./select-v2/index.js";
52
- import { VftVerifyCode as lt } from "./verify-code/index.js";
51
+ import { VftSelectV2 as lt } from "./select-v2/index.js";
52
+ import { VftVerifyCode as ut } from "./verify-code/index.js";
53
53
  import { VftTable as Ct } from "./table/index.js";
54
54
  import { VftImageViewer as It } from "./image-viewer/index.js";
55
- import { VftMdContainer as yt } from "./md-container/index.js";
56
- import { VftMdComment as Pt } from "./md-comment/index.js";
57
- import { VftMdTabs as Tt } from "./md-tabs/index.js";
58
- import { VftMdVuePlayground as vt } from "./md-vue-playground/index.js";
59
- import { VftMdCodeDemo as Gt } from "./md-code-demo/index.js";
60
- import { VftMdCodeTabs as Kt } from "./md-code-tabs/index.js";
61
- import { VftMessage as Ft, VftMessage as ht } from "./message/index.js";
62
- import { VftLoading as kt } from "./loading/index.js";
63
- import { EmptyEnum as Bt } from "./empty/constants.js";
64
- import { TabsRootContextKey as Ot } from "./tabs/types.js";
65
- import { default as _t } from "./popper/arrow.vue2.js";
66
- import { default as jt } from "./popper/trigger.vue2.js";
67
- import { default as Jt } from "./popper/content.vue2.js";
68
- import { useTabDropdown as Yt } from "./multiple-tabs/use/use-tab-dropdown.js";
69
- import { initAffixTabs as Ut, useTabsDrag as Xt } from "./multiple-tabs/use/use-multiple-tabs.js";
70
- import { configProviderContextKey as $t, messageConfig as or } from "./config-provider/constants.js";
71
- import { provideGlobalConfig as rr, useGlobalComponentSettings as er, useGlobalConfig as fr } from "./config-provider/hooks/use-global-config.js";
72
- import { usePagination as mr, vftPaginationKey as xr } from "./pagination/usePagination.js";
73
- import { formItemValidateStates as ir } from "./form/types.js";
74
- import { formContextKey as nr, formItemContextKey as sr } from "./form/constants.js";
75
- import { useDisabled as ur, useFormDisabled as lr, useFormSize as cr, useSize as Cr } from "./form/hooks/use-form-common-props.js";
76
- import { useFormItem as Ir, useFormItemInputId as br } from "./form/hooks/use-form-item.js";
77
- import { buttonGroupContextKey as Dr } from "./button/constants.js";
78
- import { checkboxGroupContextKey as Mr } from "./checkbox/constants.js";
79
- import { radioGroupKey as Sr } from "./radio/constants.js";
80
- import { BAR_MAP as Lr, GAP as Gr, renderThumbStyle as wr } from "./scrollbar/util.js";
81
- import { scrollbarContextKey as zr } from "./scrollbar/constants.js";
82
- import { DROPDOWN_INJECTION_KEY as hr } from "./dropdown/tokens.js";
83
- import { VftCollection as kr, VftCollectionItem as Ar } from "./dropdown/types.js";
84
- import { OnlyChild as Er } from "./slot/only-child.js";
85
- import { default as Nr } from "./dropdown/dropdown-item-impl.vue.js";
86
- import { selectV2InjectionKey as Wr } from "./select-v2/token.js";
87
- import { messageDefaults as Hr, messageTypes as Jr } from "./message/types.js";
88
- import { vLoading as Yr, createLoadingDirective as qr, vLoading as Ur } from "./loading/directive.js";
89
- import { Loading as Zr } from "./loading/service.js";
55
+ import { VftListCell as bt } from "./list-cell/index.js";
56
+ import { VftDialog as Pt } from "./dialog/index.js";
57
+ import { VftMdContainer as Tt } from "./md-container/index.js";
58
+ import { VftMdComment as vt } from "./md-comment/index.js";
59
+ import { VftMdTabs as Gt } from "./md-tabs/index.js";
60
+ import { VftMdVuePlayground as wt } from "./md-vue-playground/index.js";
61
+ import { VftMdCodeDemo as Ft } from "./md-code-demo/index.js";
62
+ import { VftMdCodeTabs as Rt } from "./md-code-tabs/index.js";
63
+ import { VftMessage as At, VftMessage as Bt } from "./message/index.js";
64
+ import { VftLoading as Ot } from "./loading/index.js";
65
+ import { EmptyEnum as _t } from "./empty/constants.js";
66
+ import { TabsRootContextKey as Wt } from "./tabs/types.js";
67
+ import { default as Jt } from "./popper/arrow.vue2.js";
68
+ import { default as Yt } from "./popper/trigger.vue2.js";
69
+ import { default as Ut } from "./popper/content.vue2.js";
70
+ import { useTabDropdown as Zt } from "./multiple-tabs/use/use-tab-dropdown.js";
71
+ import { initAffixTabs as or, useTabsDrag as tr } from "./multiple-tabs/use/use-multiple-tabs.js";
72
+ import { configProviderContextKey as er, messageConfig as fr } from "./config-provider/constants.js";
73
+ import { provideGlobalConfig as mr, useGlobalComponentSettings as xr, useGlobalConfig as ar } from "./config-provider/hooks/use-global-config.js";
74
+ import { usePagination as Vr, vftPaginationKey as nr } from "./pagination/usePagination.js";
75
+ import { formItemValidateStates as lr } from "./form/types.js";
76
+ import { formContextKey as ur, formItemContextKey as cr } from "./form/constants.js";
77
+ import { useDisabled as gr, useFormDisabled as Ir, useFormSize as yr, useSize as br } from "./form/hooks/use-form-common-props.js";
78
+ import { useFormItem as Pr, useFormItemInputId as Mr } from "./form/hooks/use-form-item.js";
79
+ import { buttonGroupContextKey as Sr } from "./button/constants.js";
80
+ import { checkboxGroupContextKey as Lr } from "./checkbox/constants.js";
81
+ import { radioGroupKey as Kr } from "./radio/constants.js";
82
+ import { BAR_MAP as zr, GAP as Fr, renderThumbStyle as hr } from "./scrollbar/util.js";
83
+ import { scrollbarContextKey as kr } from "./scrollbar/constants.js";
84
+ import { DROPDOWN_INJECTION_KEY as Br } from "./dropdown/tokens.js";
85
+ import { VftCollection as Or, VftCollectionItem as Nr } from "./dropdown/types.js";
86
+ import { OnlyChild as jr } from "./slot/only-child.js";
87
+ import { default as Hr } from "./dropdown/dropdown-item-impl.vue.js";
88
+ import { selectV2InjectionKey as Qr } from "./select-v2/token.js";
89
+ import { useDialog as qr } from "./dialog/hooks/use-dialog.js";
90
+ import { dialogInjectionKey as Xr } from "./dialog/constants.js";
91
+ import { messageDefaults as $r, messageTypes as oe } from "./message/types.js";
92
+ import { vLoading as re, createLoadingDirective as ee, vLoading as fe } from "./loading/directive.js";
93
+ import { Loading as me } from "./loading/service.js";
90
94
  export {
91
- Lr as BAR_MAP,
92
- hr as DROPDOWN_INJECTION_KEY,
95
+ zr as BAR_MAP,
96
+ Br as DROPDOWN_INJECTION_KEY,
93
97
  mt as DynamicSizeGrid,
94
98
  rt as DynamicSizeList,
95
- Bt as EmptyEnum,
99
+ _t as EmptyEnum,
96
100
  ft as FixedSizeGrid,
97
101
  ot as FixedSizeList,
98
- Gr as GAP,
102
+ Fr as GAP,
99
103
  f as Icon,
100
- Ft as Message,
101
- Ot as TabsRootContextKey,
104
+ At as Message,
105
+ Wt as TabsRootContextKey,
102
106
  x as VftAvatar,
103
107
  J as VftBackTop,
104
108
  Fo as VftButton,
@@ -106,25 +110,26 @@ export {
106
110
  ko as VftCheckbox,
107
111
  Ao as VftCheckboxButton,
108
112
  Bo as VftCheckboxGroup,
109
- bo as VftClamp,
113
+ yo as VftClamp,
110
114
  Do as VftClampToggle,
111
115
  g as VftCollapseTransition,
112
116
  Jo as VftColorPicker,
113
117
  Y as VftConfigProvider,
114
118
  U as VftDescriptions,
115
119
  X as VftDescriptionsItem,
120
+ Pt as VftDialog,
116
121
  r as VftDivider,
117
122
  Uo as VftDropdown,
118
- kr as VftDropdownCollection,
119
- Ar as VftDropdownCollectionItem,
123
+ Or as VftDropdownCollection,
124
+ Nr as VftDropdownCollectionItem,
120
125
  Xo as VftDropdownItem,
121
- Nr as VftDropdownItemImpl,
126
+ Hr as VftDropdownItemImpl,
122
127
  Zo as VftDropdownMenu,
123
128
  i as VftEmpty,
124
129
  So as VftException,
125
130
  B as VftFooterLayout,
126
- wo as VftForm,
127
- Ko as VftFormItem,
131
+ Ko as VftForm,
132
+ wo as VftFormItem,
128
133
  $ as VftFullScreen,
129
134
  k as VftHeaderLayout,
130
135
  p as VftIcon,
@@ -134,30 +139,31 @@ export {
134
139
  It as VftImageViewer,
135
140
  po as VftInput,
136
141
  xo as VftLink,
137
- kt as VftLoading,
138
- Yr as VftLoadingDirective,
139
- Zr as VftLoadingService,
140
- j as VftLogo,
141
- Gt as VftMdCodeDemo,
142
- Kt as VftMdCodeTabs,
143
- Pt as VftMdComment,
144
- yt as VftMdContainer,
145
- Tt as VftMdTabs,
146
- vt as VftMdVuePlayground,
142
+ bt as VftListCell,
143
+ Ot as VftLoading,
144
+ re as VftLoadingDirective,
145
+ me as VftLoadingService,
146
+ W as VftLogo,
147
+ Ft as VftMdCodeDemo,
148
+ Rt as VftMdCodeTabs,
149
+ vt as VftMdComment,
150
+ Tt as VftMdContainer,
151
+ Gt as VftMdTabs,
152
+ wt as VftMdVuePlayground,
147
153
  M as VftMenu,
148
154
  T as VftMenuItem,
149
155
  S as VftMenuItemGroup,
150
- ht as VftMessage,
156
+ Bt as VftMessage,
151
157
  h as VftMultipleTabs,
152
- Er as VftOnlyChild,
158
+ jr as VftOnlyChild,
153
159
  go as VftOverlay,
154
160
  Mo as VftPageWrapper,
155
161
  io as VftPagination,
156
162
  D as VftPopover,
157
163
  c as VftPopper,
158
- _t as VftPopperArrow,
159
- Jt as VftPopperContent,
160
- jt as VftPopperTrigger,
164
+ Jt as VftPopperArrow,
165
+ Ut as VftPopperContent,
166
+ Yt as VftPopperTrigger,
161
167
  co as VftQrcode,
162
168
  Oo as VftRadio,
163
169
  No as VftRadioButton,
@@ -166,48 +172,50 @@ export {
166
172
  _ as VftRouterViewContent,
167
173
  Yo as VftScrollbar,
168
174
  Lo as VftSearch,
169
- dt as VftSelectV2,
170
- uo as VftSideMenu,
175
+ lt as VftSelectV2,
176
+ lo as VftSideMenu,
171
177
  v as VftSubMenu,
172
- jo as VftSwitch,
173
- d as VftTabPane,
178
+ Wo as VftSwitch,
179
+ l as VftTabPane,
174
180
  Ct as VftTable,
175
- u as VftTabs,
181
+ d as VftTabs,
176
182
  no as VftTag,
177
- b as VftTooltip,
178
- lt as VftVerifyCode,
179
- Dr as buttonGroupContextKey,
180
- Mr as checkboxGroupContextKey,
181
- $t as configProviderContextKey,
183
+ y as VftTooltip,
184
+ ut as VftVerifyCode,
185
+ Sr as buttonGroupContextKey,
186
+ Lr as checkboxGroupContextKey,
187
+ er as configProviderContextKey,
182
188
  G as createContextMenu,
183
- qr as createLoadingDirective,
184
- w as destroyContextMenu,
185
- nr as formContextKey,
186
- sr as formItemContextKey,
187
- ir as formItemValidateStates,
188
- Ut as initAffixTabs,
189
- or as messageConfig,
190
- Hr as messageDefaults,
191
- Jr as messageTypes,
192
- rr as provideGlobalConfig,
193
- Sr as radioGroupKey,
194
- wr as renderThumbStyle,
195
- zr as scrollbarContextKey,
196
- Wr as selectV2InjectionKey,
189
+ ee as createLoadingDirective,
190
+ K as destroyContextMenu,
191
+ Xr as dialogInjectionKey,
192
+ ur as formContextKey,
193
+ cr as formItemContextKey,
194
+ lr as formItemValidateStates,
195
+ or as initAffixTabs,
196
+ fr as messageConfig,
197
+ $r as messageDefaults,
198
+ oe as messageTypes,
199
+ mr as provideGlobalConfig,
200
+ Kr as radioGroupKey,
201
+ hr as renderThumbStyle,
202
+ kr as scrollbarContextKey,
203
+ Qr as selectV2InjectionKey,
197
204
  z as useContextMenu,
198
- ur as useDisabled,
199
- lr as useFormDisabled,
200
- Ir as useFormItem,
201
- br as useFormItemInputId,
202
- cr as useFormSize,
203
- er as useGlobalComponentSettings,
204
- fr as useGlobalConfig,
205
- mr as usePagination,
206
- Cr as useSize,
207
- Yt as useTabDropdown,
208
- Xt as useTabsDrag,
209
- Ur as vLoading,
210
- xr as vftPaginationKey,
205
+ qr as useDialog,
206
+ gr as useDisabled,
207
+ Ir as useFormDisabled,
208
+ Pr as useFormItem,
209
+ Mr as useFormItemInputId,
210
+ yr as useFormSize,
211
+ xr as useGlobalComponentSettings,
212
+ ar as useGlobalConfig,
213
+ Vr as usePagination,
214
+ br as useSize,
215
+ Zt as useTabDropdown,
216
+ tr as useTabsDrag,
217
+ fe as vLoading,
218
+ nr as vftPaginationKey,
211
219
  at as virtualizedGridProps,
212
220
  it as virtualizedListProps,
213
221
  Vt as virtualizedProps,
@@ -0,0 +1,38 @@
1
+ export declare const VftListCell: import("vft/es/utils").SFCWithInstall<import("vue").DefineComponent<{
2
+ list: {
3
+ type: import("vue").PropType<import("./list-cell.vue").ListItem[]>;
4
+ required: true;
5
+ };
6
+ cellHeight: {
7
+ type: import("vue").PropType<string | number | undefined>;
8
+ required: false;
9
+ };
10
+ leftTextDistance: {
11
+ type: import("vue").PropType<string | number | undefined>;
12
+ required: false;
13
+ };
14
+ activeIndex: {
15
+ type: import("vue").PropType<number | undefined>;
16
+ required: false;
17
+ };
18
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "item-click"[], "item-click", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
19
+ list: {
20
+ type: import("vue").PropType<import("./list-cell.vue").ListItem[]>;
21
+ required: true;
22
+ };
23
+ cellHeight: {
24
+ type: import("vue").PropType<string | number | undefined>;
25
+ required: false;
26
+ };
27
+ leftTextDistance: {
28
+ type: import("vue").PropType<string | number | undefined>;
29
+ required: false;
30
+ };
31
+ activeIndex: {
32
+ type: import("vue").PropType<number | undefined>;
33
+ required: false;
34
+ };
35
+ }>> & {
36
+ "onItem-click"?: ((...args: any[]) => any) | undefined;
37
+ }, {}>> & Record<string, any>;
38
+ export default VftListCell;
@@ -0,0 +1,12 @@
1
+ import { withInstall as t } from "../../utils/vue/install.js";
2
+ import "vue";
3
+ import "@vft/utils";
4
+ import "lodash";
5
+ import "@vueuse/core";
6
+ import "../../utils/ns-cover.js";
7
+ import o from "./list-cell.vue2.js";
8
+ const a = t(o);
9
+ export {
10
+ a as VftListCell,
11
+ a as default
12
+ };