vft 0.0.46 → 0.0.48

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 (297) hide show
  1. package/dist/index.css +1 -1
  2. package/es/component.js +30 -27
  3. package/es/components/avatar/avatar.vue.d.ts +4 -4
  4. package/es/components/avatar/index.d.ts +4 -4
  5. package/es/components/avatar/index.js +4 -3
  6. package/es/components/back-top/back-top.vue.d.ts +21 -0
  7. package/es/components/back-top/back-top.vue2.js +23 -21
  8. package/es/components/back-top/index.d.ts +8 -1
  9. package/es/components/back-top/index.js +4 -3
  10. package/es/components/back-top/use-back-top.d.ts +1 -1
  11. package/es/components/back-top/use-back-top.js +23 -21
  12. package/es/components/clamp/index.js +4 -3
  13. package/es/components/clamp-toggle/clamp-toggle.vue2.js +15 -15
  14. package/es/components/clamp-toggle/index.js +4 -3
  15. package/es/components/config-provider/hooks/use-global-config.js +1 -1
  16. package/es/components/config-provider/index.js +11 -10
  17. package/es/components/context-menu/context-menu.vue2.js +3 -2
  18. package/es/components/descriptions/description.vue2.js +1 -1
  19. package/es/components/descriptions/index.js +6 -5
  20. package/es/components/divider/divider.vue.d.ts +2 -2
  21. package/es/components/divider/index.d.ts +2 -2
  22. package/es/components/divider/index.js +4 -3
  23. package/es/components/empty/index.js +6 -5
  24. package/es/components/exception/exception.vue2.js +13 -11
  25. package/es/components/exception/index.js +4 -3
  26. package/es/components/footer-layout/index.js +4 -3
  27. package/es/components/form/constants.d.ts +4 -0
  28. package/es/components/form/constants.js +5 -0
  29. package/es/components/form/form-item.vue.d.ts +133 -0
  30. package/es/components/form/form-item.vue.js +4 -0
  31. package/es/components/form/form-item.vue2.js +244 -0
  32. package/es/components/form/form-label-wrap.d.ts +11 -0
  33. package/es/components/form/form-label-wrap.js +70 -0
  34. package/es/components/form/form.vue.d.ts +168 -0
  35. package/es/components/form/form.vue.js +4 -0
  36. package/es/components/form/form.vue2.js +151 -0
  37. package/es/components/form/hooks/index.d.ts +2 -0
  38. package/es/components/form/hooks/index.js +10 -0
  39. package/es/components/form/hooks/use-form-common-props.d.ts +6 -0
  40. package/es/components/form/hooks/use-form-common-props.js +28 -0
  41. package/es/components/form/hooks/use-form-item.d.ts +18 -0
  42. package/es/components/form/hooks/use-form-item.js +48 -0
  43. package/es/components/form/index.d.ts +338 -0
  44. package/es/components/form/index.js +28 -0
  45. package/es/components/form/style/css.d.ts +0 -0
  46. package/es/components/form/style/css.js +2 -0
  47. package/es/components/form/style/index.d.ts +0 -0
  48. package/es/components/form/style/index.js +2 -0
  49. package/es/components/form/types.d.ts +43 -0
  50. package/es/components/form/types.js +9 -0
  51. package/es/components/form/utils.d.ts +9 -0
  52. package/es/components/form/utils.js +42 -0
  53. package/es/components/form-item/style/css.d.ts +0 -0
  54. package/es/components/form-item/style/css.js +2 -0
  55. package/es/components/form-item/style/index.d.ts +0 -0
  56. package/es/components/form-item/style/index.js +2 -0
  57. package/es/components/full-screen/index.js +4 -3
  58. package/es/components/header-layout/index.js +4 -3
  59. package/es/components/icon/icon.vue2.js +24 -24
  60. package/es/components/icon/index.js +5 -4
  61. package/es/components/icon-text/icon-text.vue2.js +20 -21
  62. package/es/components/icon-text/index.js +4 -3
  63. package/es/components/iframe-layout/index.js +4 -3
  64. package/es/components/image/index.js +4 -3
  65. package/es/components/index.d.ts +1 -0
  66. package/es/components/index.js +119 -103
  67. package/es/components/input/index.d.ts +4 -4
  68. package/es/components/input/index.js +4 -3
  69. package/es/components/input/input.vue.d.ts +4 -4
  70. package/es/components/input/input.vue2.js +28 -25
  71. package/es/components/link/index.js +4 -3
  72. package/es/components/logo/index.js +4 -3
  73. package/es/components/md-code-demo/index.js +4 -3
  74. package/es/components/md-code-tabs/index.js +4 -3
  75. package/es/components/md-comment/index.js +4 -3
  76. package/es/components/md-container/index.js +4 -3
  77. package/es/components/md-container/md-container.vue2.js +69 -66
  78. package/es/components/md-tabs/index.js +4 -3
  79. package/es/components/md-vue-playground/index.js +4 -3
  80. package/es/components/menu/index.js +9 -8
  81. package/es/components/menu/menu-item.vue2.js +4 -3
  82. package/es/components/menu/menu.vue2.js +1 -1
  83. package/es/components/menu/sub-menu.vue2.js +3 -2
  84. package/es/components/message/index.js +8 -7
  85. package/es/components/multiple-tabs/multiple-tabs.vue2.js +42 -40
  86. package/es/components/multiple-tabs/tab-content.vue2.js +3 -2
  87. package/es/components/multiple-tabs/use/use-tab-dropdown.js +20 -20
  88. package/es/components/overlay/index.js +4 -3
  89. package/es/components/page-wrapper/index.js +4 -3
  90. package/es/components/pagination/index.d.ts +2 -2
  91. package/es/components/pagination/index.js +9 -8
  92. package/es/components/pagination/pagination.d.ts +2 -2
  93. package/es/components/popover/index.d.ts +4 -4
  94. package/es/components/popover/index.js +4 -3
  95. package/es/components/popper/composables/use-content.d.ts +2 -2
  96. package/es/components/popper/index.d.ts +2 -2
  97. package/es/components/popper/index.js +10 -9
  98. package/es/components/popper/popper.vue.d.ts +2 -2
  99. package/es/components/qrcode/index.js +4 -3
  100. package/es/components/result/index.js +4 -3
  101. package/es/components/result/result.vue2.js +3 -2
  102. package/es/components/router-view-content/index.js +4 -3
  103. package/es/components/search/index.d.ts +3 -3
  104. package/es/components/search/index.js +4 -3
  105. package/es/components/search/search.vue.d.ts +3 -3
  106. package/es/components/search/search.vue2.js +3 -2
  107. package/es/components/side-menu/index.js +4 -3
  108. package/es/components/side-menu/side-menu.vue2.js +52 -54
  109. package/es/components/tabs/index.d.ts +2 -2
  110. package/es/components/tabs/index.js +9 -8
  111. package/es/components/tabs/tab-nav.vue2.js +4 -3
  112. package/es/components/tabs/tab-pane.vue2.js +1 -1
  113. package/es/components/tabs/tabs.vue.d.ts +2 -2
  114. package/es/components/tag/index.js +4 -3
  115. package/es/components/tag/tag.vue2.js +8 -7
  116. package/es/components/tooltip/index.d.ts +8 -8
  117. package/es/components/tooltip/index.js +4 -3
  118. package/es/components/tooltip/tooltip.vue.d.ts +2 -2
  119. package/es/components/tooltip/trigger.vue2.js +1 -1
  120. package/es/hooks/index.d.ts +2 -0
  121. package/es/hooks/index.js +30 -25
  122. package/es/hooks/use-id/index.js +3 -2
  123. package/es/hooks/use-ordered-children/index.js +5 -4
  124. package/es/hooks/use-popper/index.d.ts +2 -2
  125. package/es/hooks/use-prop/index.d.ts +2 -0
  126. package/es/hooks/use-prop/index.js +11 -0
  127. package/es/hooks/use-size/index.d.ts +7 -0
  128. package/es/hooks/use-size/index.js +9 -0
  129. package/es/index.js +203 -177
  130. package/es/package.json.js +1 -1
  131. package/es/utils/index.d.ts +1 -0
  132. package/es/utils/index.js +27 -22
  133. package/es/utils/ns-cover.d.ts +12 -0
  134. package/es/utils/ns-cover.js +17 -5
  135. package/es/utils/objects.d.ts +4 -0
  136. package/es/utils/objects.js +12 -0
  137. package/lib/component.cjs +1 -1
  138. package/lib/components/avatar/avatar.vue.d.ts +4 -4
  139. package/lib/components/avatar/index.cjs +1 -1
  140. package/lib/components/avatar/index.d.ts +4 -4
  141. package/lib/components/back-top/back-top.vue.d.ts +21 -0
  142. package/lib/components/back-top/back-top.vue2.cjs +1 -1
  143. package/lib/components/back-top/index.cjs +1 -1
  144. package/lib/components/back-top/index.d.ts +8 -1
  145. package/lib/components/back-top/use-back-top.cjs +1 -1
  146. package/lib/components/back-top/use-back-top.d.ts +1 -1
  147. package/lib/components/clamp/index.cjs +1 -1
  148. package/lib/components/clamp-toggle/clamp-toggle.vue2.cjs +1 -1
  149. package/lib/components/clamp-toggle/index.cjs +1 -1
  150. package/lib/components/config-provider/hooks/use-global-config.cjs +1 -1
  151. package/lib/components/config-provider/index.cjs +1 -1
  152. package/lib/components/context-menu/context-menu.vue2.cjs +1 -1
  153. package/lib/components/descriptions/description.vue2.cjs +1 -1
  154. package/lib/components/descriptions/index.cjs +1 -1
  155. package/lib/components/divider/divider.vue.d.ts +2 -2
  156. package/lib/components/divider/index.cjs +1 -1
  157. package/lib/components/divider/index.d.ts +2 -2
  158. package/lib/components/empty/index.cjs +1 -1
  159. package/lib/components/exception/exception.vue2.cjs +1 -1
  160. package/lib/components/exception/index.cjs +1 -1
  161. package/lib/components/footer-layout/index.cjs +1 -1
  162. package/lib/components/form/constants.cjs +1 -0
  163. package/lib/components/form/constants.d.ts +4 -0
  164. package/lib/components/form/form-item.vue.cjs +1 -0
  165. package/lib/components/form/form-item.vue.d.ts +133 -0
  166. package/lib/components/form/form-item.vue2.cjs +1 -0
  167. package/lib/components/form/form-label-wrap.cjs +1 -0
  168. package/lib/components/form/form-label-wrap.d.ts +11 -0
  169. package/lib/components/form/form.vue.cjs +1 -0
  170. package/lib/components/form/form.vue.d.ts +168 -0
  171. package/lib/components/form/form.vue2.cjs +1 -0
  172. package/lib/components/form/hooks/index.cjs +1 -0
  173. package/lib/components/form/hooks/index.d.ts +2 -0
  174. package/lib/components/form/hooks/use-form-common-props.cjs +1 -0
  175. package/lib/components/form/hooks/use-form-common-props.d.ts +6 -0
  176. package/lib/components/form/hooks/use-form-item.cjs +1 -0
  177. package/lib/components/form/hooks/use-form-item.d.ts +18 -0
  178. package/lib/components/form/index.cjs +1 -0
  179. package/lib/components/form/index.d.ts +338 -0
  180. package/lib/components/form/style/css.cjs +1 -0
  181. package/lib/components/form/style/css.d.ts +0 -0
  182. package/lib/components/form/style/index.cjs +1 -0
  183. package/lib/components/form/style/index.d.ts +0 -0
  184. package/lib/components/form/types.cjs +1 -0
  185. package/lib/components/form/types.d.ts +43 -0
  186. package/lib/components/form/utils.cjs +1 -0
  187. package/lib/components/form/utils.d.ts +9 -0
  188. package/lib/components/form-item/style/css.cjs +1 -0
  189. package/lib/components/form-item/style/css.d.ts +0 -0
  190. package/lib/components/form-item/style/index.cjs +1 -0
  191. package/lib/components/form-item/style/index.d.ts +0 -0
  192. package/lib/components/full-screen/index.cjs +1 -1
  193. package/lib/components/header-layout/index.cjs +1 -1
  194. package/lib/components/icon/icon.vue2.cjs +1 -1
  195. package/lib/components/icon/index.cjs +1 -1
  196. package/lib/components/icon-text/icon-text.vue2.cjs +1 -1
  197. package/lib/components/icon-text/index.cjs +1 -1
  198. package/lib/components/iframe-layout/index.cjs +1 -1
  199. package/lib/components/image/index.cjs +1 -1
  200. package/lib/components/index.cjs +1 -1
  201. package/lib/components/index.d.ts +1 -0
  202. package/lib/components/input/index.cjs +1 -1
  203. package/lib/components/input/index.d.ts +4 -4
  204. package/lib/components/input/input.vue.d.ts +4 -4
  205. package/lib/components/input/input.vue2.cjs +1 -1
  206. package/lib/components/link/index.cjs +1 -1
  207. package/lib/components/logo/index.cjs +1 -1
  208. package/lib/components/md-code-demo/index.cjs +1 -1
  209. package/lib/components/md-code-tabs/index.cjs +1 -1
  210. package/lib/components/md-comment/index.cjs +1 -1
  211. package/lib/components/md-container/index.cjs +1 -1
  212. package/lib/components/md-container/md-container.vue2.cjs +1 -1
  213. package/lib/components/md-tabs/index.cjs +1 -1
  214. package/lib/components/md-vue-playground/index.cjs +1 -1
  215. package/lib/components/menu/index.cjs +1 -1
  216. package/lib/components/menu/menu-item.vue2.cjs +1 -1
  217. package/lib/components/menu/menu.vue2.cjs +1 -1
  218. package/lib/components/menu/sub-menu.vue2.cjs +1 -1
  219. package/lib/components/message/index.cjs +1 -1
  220. package/lib/components/multiple-tabs/multiple-tabs.vue2.cjs +1 -1
  221. package/lib/components/multiple-tabs/tab-content.vue2.cjs +1 -1
  222. package/lib/components/multiple-tabs/use/use-tab-dropdown.cjs +1 -1
  223. package/lib/components/overlay/index.cjs +1 -1
  224. package/lib/components/page-wrapper/index.cjs +1 -1
  225. package/lib/components/pagination/index.cjs +1 -1
  226. package/lib/components/pagination/index.d.ts +2 -2
  227. package/lib/components/pagination/pagination.d.ts +2 -2
  228. package/lib/components/popover/index.cjs +1 -1
  229. package/lib/components/popover/index.d.ts +4 -4
  230. package/lib/components/popper/composables/use-content.d.ts +2 -2
  231. package/lib/components/popper/index.cjs +1 -1
  232. package/lib/components/popper/index.d.ts +2 -2
  233. package/lib/components/popper/popper.vue.d.ts +2 -2
  234. package/lib/components/qrcode/index.cjs +1 -1
  235. package/lib/components/result/index.cjs +1 -1
  236. package/lib/components/result/result.vue2.cjs +1 -1
  237. package/lib/components/router-view-content/index.cjs +1 -1
  238. package/lib/components/search/index.cjs +1 -1
  239. package/lib/components/search/index.d.ts +3 -3
  240. package/lib/components/search/search.vue.d.ts +3 -3
  241. package/lib/components/search/search.vue2.cjs +1 -1
  242. package/lib/components/side-menu/index.cjs +1 -1
  243. package/lib/components/side-menu/side-menu.vue2.cjs +1 -1
  244. package/lib/components/tabs/index.cjs +1 -1
  245. package/lib/components/tabs/index.d.ts +2 -2
  246. package/lib/components/tabs/tab-nav.vue2.cjs +1 -1
  247. package/lib/components/tabs/tab-pane.vue2.cjs +1 -1
  248. package/lib/components/tabs/tabs.vue.d.ts +2 -2
  249. package/lib/components/tag/index.cjs +1 -1
  250. package/lib/components/tag/tag.vue2.cjs +1 -1
  251. package/lib/components/tooltip/index.cjs +1 -1
  252. package/lib/components/tooltip/index.d.ts +8 -8
  253. package/lib/components/tooltip/tooltip.vue.d.ts +2 -2
  254. package/lib/components/tooltip/trigger.vue2.cjs +1 -1
  255. package/lib/hooks/index.cjs +1 -1
  256. package/lib/hooks/index.d.ts +2 -0
  257. package/lib/hooks/use-id/index.cjs +1 -1
  258. package/lib/hooks/use-ordered-children/index.cjs +1 -1
  259. package/lib/hooks/use-popper/index.d.ts +2 -2
  260. package/lib/hooks/use-prop/index.cjs +1 -0
  261. package/lib/hooks/use-prop/index.d.ts +2 -0
  262. package/lib/hooks/use-size/index.cjs +1 -0
  263. package/lib/hooks/use-size/index.d.ts +7 -0
  264. package/lib/index.cjs +1 -1
  265. package/lib/package.json.cjs +1 -1
  266. package/lib/utils/index.cjs +1 -1
  267. package/lib/utils/index.d.ts +1 -0
  268. package/lib/utils/ns-cover.cjs +1 -1
  269. package/lib/utils/ns-cover.d.ts +12 -0
  270. package/lib/utils/objects.cjs +1 -0
  271. package/lib/utils/objects.d.ts +4 -0
  272. package/package.json +4 -5
  273. package/theme-style/dark/css-vars.css +1 -1
  274. package/theme-style/index.css +1 -1
  275. package/theme-style/src/common/var.scss +16 -9
  276. package/theme-style/src/dark/css-vars.scss +1 -1
  277. package/theme-style/src/dark/var.scss +13 -12
  278. package/theme-style/src/form-item.scss +0 -0
  279. package/theme-style/src/form.scss +241 -0
  280. package/theme-style/src/header-layout.scss +0 -4
  281. package/theme-style/src/index.scss +2 -0
  282. package/theme-style/src/md-container.scss +1 -3
  283. package/theme-style/src/menu.scss +3 -1
  284. package/theme-style/src/side-menu.scss +1 -3
  285. package/theme-style/vft-form-item.css +0 -0
  286. package/theme-style/vft-form.css +1 -0
  287. package/theme-style/vft-full-screen.css +1 -1
  288. package/theme-style/vft-header-layout.css +1 -1
  289. package/theme-style/vft-loading.css +1 -1
  290. package/theme-style/vft-md-container.css +1 -1
  291. package/theme-style/vft-menu.css +1 -1
  292. package/theme-style/vft-side-menu.css +1 -1
  293. package/theme-style/vft-tabs.css +1 -1
  294. package/es/components/back-top/types.d.ts +0 -13
  295. package/es/components/back-top/types.js +0 -1
  296. package/lib/components/back-top/types.cjs +0 -1
  297. package/lib/components/back-top/types.d.ts +0 -13
@@ -1,19 +1,19 @@
1
- import { defineComponent as d, computed as o, openBlock as n, createElementBlock as C, normalizeClass as k, unref as t, normalizeStyle as g, createBlock as s, mergeProps as a, createCommentVNode as m, createTextVNode as x, toDisplayString as z } from "vue";
2
- import { singleAttrToObj as h, addUnit as r, generateCssVars as B } from "@vft/utils";
1
+ import { defineComponent as f, computed as o, openBlock as r, createElementBlock as k, normalizeClass as g, unref as t, normalizeStyle as x, createBlock as s, mergeProps as a, createCommentVNode as m, createTextVNode as z, toDisplayString as h } from "vue";
2
+ import { singleAttrToObj as B, addUnit as n } from "@vft/utils";
3
+ import { generateCssVars as S } from "../../utils/ns-cover.js";
4
+ import "lodash";
3
5
  import { VftIcon as u } from "../icon/index.js";
4
- import { useNamespace as S } from "../../hooks/use-namespace/index.js";
6
+ import { useNamespace as V } from "../../hooks/use-namespace/index.js";
5
7
  import "@popperjs/core";
6
- import "lodash";
7
8
  import "../../hooks/use-z-index/index.js";
8
9
  import "@vueuse/core";
9
- import "../../utils/ns-cover.js";
10
- const f = (
10
+ const d = (
11
11
  /* hoist-static*/
12
- S("icon-text")
13
- ), V = d({
14
- name: f.b()
15
- }), R = /* @__PURE__ */ d({
16
- ...V,
12
+ V("icon-text")
13
+ ), b = f({
14
+ name: d.b()
15
+ }), U = /* @__PURE__ */ f({
16
+ ...b,
17
17
  props: {
18
18
  text: null,
19
19
  icon: null,
@@ -25,19 +25,18 @@ const f = (
25
25
  },
26
26
  emits: ["click"],
27
27
  setup(e, { emit: y }) {
28
- o(() => e.hoverColor ? e.hoverColor : e.color);
29
- const l = o(() => h(e.icon, "icon", { size: e.size, color: e.color })), c = o(() => e.reverse ? { marginLeft: r(e.distance) } : { marginRight: r(e.distance) }), v = o(() => B({ "hover-color": e.hoverColor, color: e.color, fontSize: r(e.size) }, "icon-text"));
30
- return (b, i) => (n(), C("span", {
31
- class: k(t(f).b()),
32
- onClick: i[0] || (i[0] = (N) => y("click")),
33
- style: g(t(v))
28
+ const v = o(() => e.hoverColor ? e.hoverColor : e.color), l = o(() => B(e.icon, "icon", { size: e.size, color: e.color })), c = o(() => e.reverse ? { marginLeft: n(e.distance) } : { marginRight: n(e.distance) }), C = o(() => S({ "hover-color": v.value, color: e.color, fontSize: n(e.size) }, "icon-text"));
29
+ return (N, i) => (r(), k("span", {
30
+ class: g(t(d).b()),
31
+ onClick: i[0] || (i[0] = (T) => y("click")),
32
+ style: x(t(C))
34
33
  }, [
35
- e.reverse ? m("", !0) : (n(), s(t(u), a({ key: 0 }, t(l), { style: t(c) }), null, 16, ["style"])),
36
- x(" " + z(e.text) + " ", 1),
37
- e.reverse ? (n(), s(t(u), a({ key: 1 }, t(l), { style: t(c) }), null, 16, ["style"])) : m("", !0)
34
+ e.reverse ? m("", !0) : (r(), s(t(u), a({ key: 0 }, t(l), { style: t(c) }), null, 16, ["style"])),
35
+ z(" " + h(e.text) + " ", 1),
36
+ e.reverse ? (r(), s(t(u), a({ key: 1 }, t(l), { style: t(c) }), null, 16, ["style"])) : m("", !0)
38
37
  ], 6));
39
38
  }
40
39
  });
41
40
  export {
42
- R as default
41
+ U as default
43
42
  };
@@ -2,9 +2,10 @@ import { withInstall as t } from "../../utils/vue/install.js";
2
2
  import "vue";
3
3
  import "@vft/utils";
4
4
  import "../../utils/ns-cover.js";
5
+ import "lodash";
5
6
  import o from "./icon-text.vue2.js";
6
- const a = t(o);
7
+ const n = t(o);
7
8
  export {
8
- a as VftIconText,
9
- a as default
9
+ n as VftIconText,
10
+ n as default
10
11
  };
@@ -2,9 +2,10 @@ import { withInstall as t } from "../../utils/vue/install.js";
2
2
  import "vue";
3
3
  import "@vft/utils";
4
4
  import "../../utils/ns-cover.js";
5
+ import "lodash";
5
6
  import o from "./iframe-layout.vue2.js";
6
- const p = t(o);
7
+ const s = t(o);
7
8
  export {
8
- p as VftIframeLayout,
9
- p as default
9
+ s as VftIframeLayout,
10
+ s as default
10
11
  };
@@ -2,9 +2,10 @@ import { withInstall as t } from "../../utils/vue/install.js";
2
2
  import "vue";
3
3
  import "@vft/utils";
4
4
  import "../../utils/ns-cover.js";
5
+ import "lodash";
5
6
  import m from "./image.vue2.js";
6
- const f = t(m);
7
+ const s = t(m);
7
8
  export {
8
- f as VftImage,
9
- f as default
9
+ s as VftImage,
10
+ s as default
10
11
  };
@@ -34,6 +34,7 @@ export * from './clamp-toggle';
34
34
  export * from './page-wrapper';
35
35
  export * from './exception';
36
36
  export * from './search';
37
+ export * from './form';
37
38
  export * from './md-container';
38
39
  export * from './md-comment';
39
40
  export * from './md-tabs';
@@ -1,136 +1,152 @@
1
- import { VftDivider as r } from "./divider/index.js";
2
- import { VftIcon as f, VftIcon as p } from "./icon/index.js";
3
- import { VftAvatar as a } from "./avatar/index.js";
1
+ import { VftDivider as e } from "./divider/index.js";
2
+ import { VftIcon as f, VftIcon as m } from "./icon/index.js";
3
+ import { VftAvatar as x } from "./avatar/index.js";
4
4
  import { VftEmpty as n } from "./empty/index.js";
5
5
  import { VftResult as i } from "./result/index.js";
6
- import { VftTabPane as g, VftTabs as u } from "./tabs/index.js";
6
+ import { VftTabPane as u, VftTabs as g } from "./tabs/index.js";
7
7
  import { VftPopper as l } from "./popper/index.js";
8
8
  import { VftCollapseTransition as M } from "./collapse-transition/index.js";
9
- import { VftTooltip as T } from "./tooltip/index.js";
10
- import { VftPopover as P } from "./popover/index.js";
11
- import { VftMenu as y, VftMenuItem as L, VftMenuItemGroup as I, VftSubMenu as D } from "./menu/index.js";
12
- import { createContextMenu as E, destroyContextMenu as G } from "./context-menu/createContextMenu.js";
13
- import { useContextMenu as A } from "./context-menu/useContextMenu.js";
14
- import { VftMultipleTabs as R } from "./multiple-tabs/index.js";
15
- import { VftHeaderLayout as F } from "./header-layout/index.js";
16
- import { VftFooterLayout as B } from "./footer-layout/index.js";
17
- import { VftIframeLayout as O } from "./iframe-layout/index.js";
18
- import { VftRouterViewContent as W } from "./router-view-content/index.js";
19
- import { VftLogo as q } from "./logo/index.js";
9
+ import { VftTooltip as I } from "./tooltip/index.js";
10
+ import { VftPopover as b } from "./popover/index.js";
11
+ import { VftMenu as P, VftMenuItem as v, VftMenuItemGroup as L, VftSubMenu as D } from "./menu/index.js";
12
+ import { createContextMenu as F, destroyContextMenu as E } from "./context-menu/createContextMenu.js";
13
+ import { useContextMenu as G } from "./context-menu/useContextMenu.js";
14
+ import { VftMultipleTabs as A } from "./multiple-tabs/index.js";
15
+ import { VftHeaderLayout as k } from "./header-layout/index.js";
16
+ import { VftFooterLayout as h } from "./footer-layout/index.js";
17
+ import { VftIframeLayout as H } from "./iframe-layout/index.js";
18
+ import { VftRouterViewContent as Q } from "./router-view-content/index.js";
19
+ import { VftLogo as j } from "./logo/index.js";
20
20
  import { VftBackTop as J } from "./back-top/index.js";
21
21
  import { VftConfigProvider as U } from "./config-provider/index.js";
22
22
  import { VftDescriptions as Y, VftDescriptionsItem as Z } from "./descriptions/index.js";
23
23
  import { VftFullScreen as $ } from "./full-screen/index.js";
24
24
  import { VftIconText as to } from "./icon-text/index.js";
25
- import { VftImage as eo } from "./image/index.js";
26
- import { VftInput as po } from "./input/index.js";
27
- import { VftLink as ao } from "./link/index.js";
25
+ import { VftImage as ro } from "./image/index.js";
26
+ import { VftInput as mo } from "./input/index.js";
27
+ import { VftLink as xo } from "./link/index.js";
28
28
  import { VftPagination as no } from "./pagination/index.js";
29
29
  import { VftTag as io } from "./tag/index.js";
30
- import { VftSideMenu as go } from "./side-menu/index.js";
30
+ import { VftSideMenu as uo } from "./side-menu/index.js";
31
31
  import { VftQrcode as lo } from "./qrcode/index.js";
32
32
  import { VftOverlay as Mo } from "./overlay/index.js";
33
- import { VftClamp as To } from "./clamp/index.js";
34
- import { VftClampToggle as Po } from "./clamp-toggle/index.js";
35
- import { VftPageWrapper as yo } from "./page-wrapper/index.js";
36
- import { VftException as Io } from "./exception/index.js";
33
+ import { VftClamp as Io } from "./clamp/index.js";
34
+ import { VftClampToggle as bo } from "./clamp-toggle/index.js";
35
+ import { VftPageWrapper as Po } from "./page-wrapper/index.js";
36
+ import { VftException as Lo } from "./exception/index.js";
37
37
  import { VftSearch as So } from "./search/index.js";
38
- import { VftMdContainer as Go } from "./md-container/index.js";
39
- import { VftMdComment as Ao } from "./md-comment/index.js";
40
- import { VftMdTabs as Ro } from "./md-tabs/index.js";
41
- import { VftMdVuePlayground as Fo } from "./md-vue-playground/index.js";
42
- import { VftMdCodeDemo as Bo } from "./md-code-demo/index.js";
43
- import { VftMdCodeTabs as Oo } from "./md-code-tabs/index.js";
44
- import { VftMessage as Wo, VftMessage as jo } from "./message/index.js";
45
- import { VftLoading as zo } from "./loading/index.js";
46
- import { EmptyEnum as No } from "./empty/constants.js";
47
- import { TabsRootContextKey as Xo } from "./tabs/types.js";
48
- import { default as Zo } from "./popper/arrow.vue2.js";
49
- import { default as $o } from "./popper/trigger.vue2.js";
50
- import { default as tt } from "./popper/content.vue2.js";
51
- import { useTabDropdown as et } from "./multiple-tabs/use/use-tab-dropdown.js";
52
- import { initAffixTabs as pt, useTabsDrag as mt } from "./multiple-tabs/use/use-multiple-tabs.js";
53
- import { configProviderContextKey as xt, messageConfig as nt } from "./config-provider/constants.js";
54
- import { provideGlobalConfig as it, useGlobalComponentSettings as st, useGlobalConfig as gt } from "./config-provider/hooks/use-global-config.js";
55
- import { paginationEmits as dt } from "./pagination/pagination.js";
56
- import { elPaginationKey as Ct, usePagination as Mt } from "./pagination/usePagination.js";
57
- import { messageDefaults as Tt, messageTypes as bt } from "./message/types.js";
58
- import { vLoading as vt, createLoadingDirective as yt, vLoading as Lt } from "./loading/directive.js";
59
- import { Loading as Dt } from "./loading/service.js";
38
+ import { VftForm as Eo, VftFormItem as Ko } from "./form/index.js";
39
+ import { VftMdContainer as wo } from "./md-container/index.js";
40
+ import { VftMdComment as Ro } from "./md-comment/index.js";
41
+ import { VftMdTabs as zo } from "./md-tabs/index.js";
42
+ import { VftMdVuePlayground as Bo } from "./md-vue-playground/index.js";
43
+ import { VftMdCodeDemo as Oo } from "./md-code-demo/index.js";
44
+ import { VftMdCodeTabs as Wo } from "./md-code-tabs/index.js";
45
+ import { VftMessage as qo, VftMessage as Jo } from "./message/index.js";
46
+ import { VftLoading as Uo } from "./loading/index.js";
47
+ import { EmptyEnum as Yo } from "./empty/constants.js";
48
+ import { TabsRootContextKey as _o } from "./tabs/types.js";
49
+ import { default as ot } from "./popper/arrow.vue2.js";
50
+ import { default as et } from "./popper/trigger.vue2.js";
51
+ import { default as ft } from "./popper/content.vue2.js";
52
+ import { useTabDropdown as pt } from "./multiple-tabs/use/use-tab-dropdown.js";
53
+ import { initAffixTabs as at, useTabsDrag as nt } from "./multiple-tabs/use/use-multiple-tabs.js";
54
+ import { configProviderContextKey as it, messageConfig as st } from "./config-provider/constants.js";
55
+ import { provideGlobalConfig as gt, useGlobalComponentSettings as dt, useGlobalConfig as lt } from "./config-provider/hooks/use-global-config.js";
56
+ import { paginationEmits as Mt } from "./pagination/pagination.js";
57
+ import { elPaginationKey as It, usePagination as Tt } from "./pagination/usePagination.js";
58
+ import { formItemValidateStates as yt } from "./form/types.js";
59
+ import { formContextKey as vt, formItemContextKey as Lt } from "./form/constants.js";
60
+ import { useDisabled as St, useFormDisabled as Ft, useFormSize as Et, useSize as Kt } from "./form/hooks/use-form-common-props.js";
61
+ import { useFormItem as wt, useFormItemInputId as At } from "./form/hooks/use-form-item.js";
62
+ import { messageDefaults as kt, messageTypes as zt } from "./message/types.js";
63
+ import { vLoading as Bt, createLoadingDirective as Ht, vLoading as Ot } from "./loading/directive.js";
64
+ import { Loading as Wt } from "./loading/service.js";
60
65
  export {
61
- No as EmptyEnum,
66
+ Yo as EmptyEnum,
62
67
  f as Icon,
63
- Wo as Message,
64
- Xo as TabsRootContextKey,
65
- a as VftAvatar,
68
+ qo as Message,
69
+ _o as TabsRootContextKey,
70
+ x as VftAvatar,
66
71
  J as VftBackTop,
67
- To as VftClamp,
68
- Po as VftClampToggle,
72
+ Io as VftClamp,
73
+ bo as VftClampToggle,
69
74
  M as VftCollapseTransition,
70
75
  U as VftConfigProvider,
71
76
  Y as VftDescriptions,
72
77
  Z as VftDescriptionsItem,
73
- r as VftDivider,
78
+ e as VftDivider,
74
79
  n as VftEmpty,
75
- Io as VftException,
76
- B as VftFooterLayout,
80
+ Lo as VftException,
81
+ h as VftFooterLayout,
82
+ Eo as VftForm,
83
+ Ko as VftFormItem,
77
84
  $ as VftFullScreen,
78
- F as VftHeaderLayout,
79
- p as VftIcon,
85
+ k as VftHeaderLayout,
86
+ m as VftIcon,
80
87
  to as VftIconText,
81
- O as VftIframeLayout,
82
- eo as VftImage,
83
- po as VftInput,
84
- ao as VftLink,
85
- zo as VftLoading,
86
- vt as VftLoadingDirective,
87
- Dt as VftLoadingService,
88
- q as VftLogo,
89
- Bo as VftMdCodeDemo,
90
- Oo as VftMdCodeTabs,
91
- Ao as VftMdComment,
92
- Go as VftMdContainer,
93
- Ro as VftMdTabs,
94
- Fo as VftMdVuePlayground,
95
- y as VftMenu,
96
- L as VftMenuItem,
97
- I as VftMenuItemGroup,
98
- jo as VftMessage,
99
- R as VftMultipleTabs,
88
+ H as VftIframeLayout,
89
+ ro as VftImage,
90
+ mo as VftInput,
91
+ xo as VftLink,
92
+ Uo as VftLoading,
93
+ Bt as VftLoadingDirective,
94
+ Wt as VftLoadingService,
95
+ j as VftLogo,
96
+ Oo as VftMdCodeDemo,
97
+ Wo as VftMdCodeTabs,
98
+ Ro as VftMdComment,
99
+ wo as VftMdContainer,
100
+ zo as VftMdTabs,
101
+ Bo as VftMdVuePlayground,
102
+ P as VftMenu,
103
+ v as VftMenuItem,
104
+ L as VftMenuItemGroup,
105
+ Jo as VftMessage,
106
+ A as VftMultipleTabs,
100
107
  Mo as VftOverlay,
101
- yo as VftPageWrapper,
108
+ Po as VftPageWrapper,
102
109
  no as VftPagination,
103
- P as VftPopover,
110
+ b as VftPopover,
104
111
  l as VftPopper,
105
- Zo as VftPopperArrow,
106
- tt as VftPopperContent,
107
- $o as VftPopperTrigger,
112
+ ot as VftPopperArrow,
113
+ ft as VftPopperContent,
114
+ et as VftPopperTrigger,
108
115
  lo as VftQrcode,
109
116
  i as VftResult,
110
- W as VftRouterViewContent,
117
+ Q as VftRouterViewContent,
111
118
  So as VftSearch,
112
- go as VftSideMenu,
119
+ uo as VftSideMenu,
113
120
  D as VftSubMenu,
114
- g as VftTabPane,
115
- u as VftTabs,
121
+ u as VftTabPane,
122
+ g as VftTabs,
116
123
  io as VftTag,
117
- T as VftTooltip,
118
- xt as configProviderContextKey,
119
- E as createContextMenu,
120
- yt as createLoadingDirective,
121
- G as destroyContextMenu,
122
- Ct as elPaginationKey,
123
- pt as initAffixTabs,
124
- nt as messageConfig,
125
- Tt as messageDefaults,
126
- bt as messageTypes,
127
- dt as paginationEmits,
128
- it as provideGlobalConfig,
129
- A as useContextMenu,
130
- st as useGlobalComponentSettings,
131
- gt as useGlobalConfig,
132
- Mt as usePagination,
133
- et as useTabDropdown,
134
- mt as useTabsDrag,
135
- Lt as vLoading
124
+ I as VftTooltip,
125
+ it as configProviderContextKey,
126
+ F as createContextMenu,
127
+ Ht as createLoadingDirective,
128
+ E as destroyContextMenu,
129
+ It as elPaginationKey,
130
+ vt as formContextKey,
131
+ Lt as formItemContextKey,
132
+ yt as formItemValidateStates,
133
+ at as initAffixTabs,
134
+ st as messageConfig,
135
+ kt as messageDefaults,
136
+ zt as messageTypes,
137
+ Mt as paginationEmits,
138
+ gt as provideGlobalConfig,
139
+ G as useContextMenu,
140
+ St as useDisabled,
141
+ Ft as useFormDisabled,
142
+ wt as useFormItem,
143
+ At as useFormItemInputId,
144
+ Et as useFormSize,
145
+ dt as useGlobalComponentSettings,
146
+ lt as useGlobalConfig,
147
+ Tt as usePagination,
148
+ Kt as useSize,
149
+ pt as useTabDropdown,
150
+ nt as useTabsDrag,
151
+ Ot as vLoading
136
152
  };
@@ -4,7 +4,7 @@ export declare const VftInput: import("vft/es/utils").SFCWithInstall<import("vue
4
4
  required: false;
5
5
  };
6
6
  size: {
7
- type: import("vue").PropType<"default" | "small" | "large" | undefined>;
7
+ type: import("vue").PropType<"large" | "small" | "default" | undefined>;
8
8
  required: false;
9
9
  };
10
10
  disabled: {
@@ -136,7 +136,7 @@ export declare const VftInput: import("vft/es/utils").SFCWithInstall<import("vue
136
136
  required: false;
137
137
  };
138
138
  size: {
139
- type: import("vue").PropType<"default" | "small" | "large" | undefined>;
139
+ type: import("vue").PropType<"large" | "small" | "default" | undefined>;
140
140
  required: false;
141
141
  };
142
142
  disabled: {
@@ -235,11 +235,11 @@ export declare const VftInput: import("vft/es/utils").SFCWithInstall<import("vue
235
235
  required: false;
236
236
  };
237
237
  }>> & {
238
+ onClear?: (() => any) | undefined;
238
239
  "onUpdate:modelValue"?: ((value: string) => any) | undefined;
239
240
  onFocus?: ((evt: FocusEvent) => any) | undefined;
240
- onClear?: (() => any) | undefined;
241
- onChange?: ((value: string) => any) | undefined;
242
241
  onInput?: ((value: string) => any) | undefined;
242
+ onChange?: ((value: string) => any) | undefined;
243
243
  onSuffixclick?: ((value: any) => any) | undefined;
244
244
  onBlur?: ((evt: FocusEvent) => any) | undefined;
245
245
  onMouseleave?: ((evt: MouseEvent) => any) | undefined;
@@ -2,9 +2,10 @@ import { withInstall as t } from "../../utils/vue/install.js";
2
2
  import "vue";
3
3
  import "@vft/utils";
4
4
  import "../../utils/ns-cover.js";
5
+ import "lodash";
5
6
  import o from "./input.vue2.js";
6
- const a = t(o);
7
+ const n = t(o);
7
8
  export {
8
- a as VftInput,
9
- a as default
9
+ n as VftInput,
10
+ n as default
10
11
  };
@@ -7,7 +7,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
7
7
  required: false;
8
8
  };
9
9
  size: {
10
- type: __PropType<"default" | "small" | "large" | undefined>;
10
+ type: __PropType<"large" | "small" | "default" | undefined>;
11
11
  required: false;
12
12
  };
13
13
  disabled: {
@@ -149,7 +149,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
149
149
  required: false;
150
150
  };
151
151
  size: {
152
- type: __PropType<"default" | "small" | "large" | undefined>;
152
+ type: __PropType<"large" | "small" | "default" | undefined>;
153
153
  required: false;
154
154
  };
155
155
  disabled: {
@@ -248,11 +248,11 @@ declare const _sfc_main: import("vue").DefineComponent<{
248
248
  required: false;
249
249
  };
250
250
  }>> & {
251
+ onClear?: (() => any) | undefined;
251
252
  "onUpdate:modelValue"?: ((value: string) => any) | undefined;
252
253
  onFocus?: ((evt: FocusEvent) => any) | undefined;
253
- onClear?: (() => any) | undefined;
254
- onChange?: ((value: string) => any) | undefined;
255
254
  onInput?: ((value: string) => any) | undefined;
255
+ onChange?: ((value: string) => any) | undefined;
256
256
  onSuffixclick?: ((value: any) => any) | undefined;
257
257
  onBlur?: ((evt: FocusEvent) => any) | undefined;
258
258
  onMouseleave?: ((evt: MouseEvent) => any) | undefined;
@@ -3,16 +3,19 @@ import { UPDATE_MODEL_EVENT as X } from "@vft/constants";
3
3
  import { useAttrs as Ge } from "@vft/use";
4
4
  import { isString as T, singleAttrToObj as Y, addUnit as Je, noop as Qe, isObject as he } from "@vft/utils";
5
5
  import { useResizeObserver as Xe, isClient as Ye } from "@vueuse/core";
6
- import { useFormItem as Ze, useFormItemInputId as _e, useSize as et, useDisabled as tt, useCursor as at } from "element-plus";
7
- import { isNil as nt } from "lodash";
8
- import { VftIcon as F } from "../icon/index.js";
9
- import { calcTextareaHeight as xe } from "./utils.js";
10
- import { useNamespace as be } from "../../hooks/use-namespace/index.js";
6
+ import { useNamespace as xe } from "../../hooks/use-namespace/index.js";
7
+ import { useCursor as Ze } from "../../hooks/use-cursor/index.js";
11
8
  import "@popperjs/core";
9
+ import { isNil as _e } from "lodash";
12
10
  import "../../hooks/use-z-index/index.js";
13
11
  import { debugWarn as Z } from "../../utils/error.js";
14
12
  import "../../utils/ns-cover.js";
15
- const ot = ["role"], lt = ["id", "type", "disabled", "formatter", "parser", "readonly", "autocomplete", "tabindex", "aria-label", "placeholder", "form"], st = ["id", "tabindex", "disabled", "readonly", "autocomplete", "aria-label", "placeholder", "form"], gt = /* @__PURE__ */ De({
13
+ import "../form/index.js";
14
+ import { VftIcon as F } from "../icon/index.js";
15
+ import { calcTextareaHeight as pe } from "./utils.js";
16
+ import { useFormItem as et, useFormItemInputId as tt } from "../form/hooks/use-form-item.js";
17
+ import { useFormSize as at, useFormDisabled as nt } from "../form/hooks/use-form-common-props.js";
18
+ const ot = ["role"], lt = ["id", "type", "disabled", "formatter", "parser", "readonly", "autocomplete", "tabindex", "aria-label", "placeholder", "form"], st = ["id", "tabindex", "disabled", "readonly", "autocomplete", "aria-label", "placeholder", "form"], It = /* @__PURE__ */ De({
16
19
  __name: "input",
17
20
  props: {
18
21
  id: null,
@@ -58,14 +61,14 @@ const ot = ["role"], lt = ["id", "type", "disabled", "formatter", "parser", "rea
58
61
  compositionupdate: (e) => e instanceof CompositionEvent,
59
62
  compositionend: (e) => e instanceof CompositionEvent
60
63
  },
61
- setup(e, { expose: pe, emit: s }) {
64
+ setup(e, { expose: be, emit: s }) {
62
65
  const C = Te(), y = We(), _ = l(() => {
63
66
  const a = {};
64
67
  return e.containerRole === "combobox" && (a["aria-haspopup"] = C["aria-haspopup"], a["aria-owns"] = C["aria-owns"], a["aria-expanded"] = C["aria-expanded"]), a;
65
68
  }), we = l(() => [
66
69
  e.type === "textarea" ? te.b() : n.b(),
67
70
  n.m(ke.value),
68
- n.is("disabled", b.value),
71
+ n.is("disabled", p.value),
69
72
  n.is("exceed", Ee.value),
70
73
  n.is("focus", h.value),
71
74
  {
@@ -79,22 +82,22 @@ const ot = ["role"], lt = ["id", "type", "disabled", "formatter", "parser", "rea
79
82
  C.class
80
83
  ]), ge = Le(), Ce = l(() => [n.e("wrapper"), n.is("focus", h.value)]), f = Ge({
81
84
  excludeKeys: l(() => Object.keys(_.value))
82
- }), { form: W, formItem: u } = Ze(), { inputId: ee } = _e(ge.props, {
85
+ }), { form: W, formItem: u } = et(), { inputId: ee } = tt(ge.props, {
83
86
  formItemContext: u
84
- }), ke = et(), b = tt(), n = be("input"), te = be("textarea"), A = G(), p = G(), h = E(!1), L = E(!1), k = E(!1), M = E(!1), ae = E(), O = G(e.inputStyle), I = l(() => A.value || p.value), j = l(() => Y(e.prefixIcon, "icon")), ne = l(() => Y(e.suffixIcon, "icon")), Ie = l(() => Y(e.clearIcon, "icon", { icon: "vico-close-full", size: 16 })), oe = l(() => (W == null ? void 0 : W.statusIcon) ?? !1), P = l(() => (u == null ? void 0 : u.validateState) || ""), le = l(() => P.value && "vico-user"), Se = l(
85
- () => M.value ? { icon: "vico-view", size: 16 } : { icon: "vico-no-view", size: 16 }
87
+ }), ke = at(), p = nt(), n = xe("input"), te = xe("textarea"), A = G(), b = G(), h = E(!1), L = E(!1), k = E(!1), M = E(!1), ae = E(), O = G(e.inputStyle), I = l(() => A.value || b.value), j = l(() => Y(e.prefixIcon, "icon")), ne = l(() => Y(e.suffixIcon, "icon")), Ie = l(() => Y(e.clearIcon, "icon", { icon: "ico-ep:circle-close", size: 16 })), oe = l(() => (W == null ? void 0 : W.statusIcon) ?? !1), P = l(() => (u == null ? void 0 : u.validateState) || ""), le = l(() => P.value && "vico-user"), Se = l(
88
+ () => M.value ? { icon: "ico-ep:view", size: 16 } : { icon: "ico-ep:hide", size: 16 }
86
89
  ), ze = l(() => [
87
90
  C.style,
88
91
  e.inputStyle,
89
92
  e.focusWidth && h.value ? { width: Je(e.focusWidth) } : {}
90
93
  ]), se = l(
91
94
  () => [e.inputStyle, O.value, { resize: e.resize }]
92
- ), m = l(() => nt(e.modelValue) ? "" : String(e.modelValue)), R = l(
93
- () => e.clearable && !b.value && !e.readonly && !!m.value && (h.value || L.value)
95
+ ), m = l(() => _e(e.modelValue) ? "" : String(e.modelValue)), R = l(
96
+ () => e.clearable && !p.value && !e.readonly && !!m.value && (h.value || L.value)
94
97
  ), H = l(
95
- () => e.showPassword && !b.value && !e.readonly && !!m.value && (!!m.value || h.value)
98
+ () => e.showPassword && !p.value && !e.readonly && !!m.value && (!!m.value || h.value)
96
99
  ), w = l(
97
- () => e.showWordLimit && !!f.value.maxlength && (e.type === "text" || e.type === "textarea") && !b.value && !e.readonly && !e.showPassword
100
+ () => e.showWordLimit && !!f.value.maxlength && (e.type === "text" || e.type === "textarea") && !p.value && !e.readonly && !e.showPassword
98
101
  ), U = l(() => Array.from(m.value).length), Ee = l(
99
102
  () => (
100
103
  // show exceed style if length of initial value greater then maxlength
@@ -102,8 +105,8 @@ const ot = ["role"], lt = ["id", "type", "disabled", "formatter", "parser", "rea
102
105
  )
103
106
  ), Ve = l(
104
107
  () => !!y.suffix || !!e.suffixIcon || R.value || e.showPassword || w.value || !!P.value && oe.value
105
- ), [Be, Fe] = at(A);
106
- Xe(p, (a) => {
108
+ ), [Be, Fe] = Ze(A);
109
+ Xe(b, (a) => {
107
110
  if (!w.value || e.resize !== "both")
108
111
  return;
109
112
  const o = a[0], { width: v } = o.contentRect;
@@ -117,11 +120,11 @@ const ot = ["role"], lt = ["id", "type", "disabled", "formatter", "parser", "rea
117
120
  if (e.autosize) {
118
121
  const a = he(e.autosize) ? e.autosize.minRows : void 0, o = he(e.autosize) ? e.autosize.maxRows : void 0;
119
122
  O.value = {
120
- ...xe(p.value, a, o)
123
+ ...pe(b.value, a, o)
121
124
  };
122
125
  } else
123
126
  O.value = {
124
- minHeight: xe(p.value).minHeight
127
+ minHeight: pe(b.value).minHeight
125
128
  };
126
129
  }, S = () => {
127
130
  const a = I.value;
@@ -190,11 +193,11 @@ const ot = ["role"], lt = ["id", "type", "disabled", "formatter", "parser", "rea
190
193
  }
191
194
  ), Oe(() => {
192
195
  !e.formatter && e.parser && Z("VftInput", "If you set the parser, you also need to set the formatter."), S(), V(K);
193
- }), pe({
196
+ }), be({
194
197
  /** @description HTML input element */
195
198
  input: A,
196
199
  /** @description HTML textarea element */
197
- textarea: p,
200
+ textarea: b,
198
201
  /** @description HTML element, input or textarea */
199
202
  ref: I,
200
203
  /** @description style of textarea. */
@@ -251,7 +254,7 @@ const ot = ["role"], lt = ["id", "type", "disabled", "formatter", "parser", "rea
251
254
  class: t(n).e("inner")
252
255
  }, t(f), {
253
256
  type: e.showPassword ? M.value ? "text" : "password" : e.type,
254
- disabled: t(b),
257
+ disabled: t(p),
255
258
  formatter: e.formatter,
256
259
  parser: e.parser,
257
260
  readonly: e.readonly,
@@ -324,11 +327,11 @@ const ot = ["role"], lt = ["id", "type", "disabled", "formatter", "parser", "rea
324
327
  g("textarea", x({
325
328
  id: t(ee),
326
329
  ref_key: "textarea",
327
- ref: p,
330
+ ref: b,
328
331
  class: t(te).e("inner")
329
332
  }, t(f), {
330
333
  tabindex: e.tabindex,
331
- disabled: t(b),
334
+ disabled: t(p),
332
335
  readonly: e.readonly,
333
336
  autocomplete: e.autocomplete,
334
337
  style: t(se),
@@ -357,5 +360,5 @@ const ot = ["role"], lt = ["id", "type", "disabled", "formatter", "parser", "rea
357
360
  }
358
361
  });
359
362
  export {
360
- gt as default
363
+ It as default
361
364
  };
@@ -2,9 +2,10 @@ import { withInstall as t } from "../../utils/vue/install.js";
2
2
  import "vue";
3
3
  import "@vft/utils";
4
4
  import "../../utils/ns-cover.js";
5
+ import "lodash";
5
6
  import o from "./link.vue2.js";
6
- const a = t(o);
7
+ const n = t(o);
7
8
  export {
8
- a as VftLink,
9
- a as default
9
+ n as VftLink,
10
+ n as default
10
11
  };
@@ -2,9 +2,10 @@ import { withInstall as o } from "../../utils/vue/install.js";
2
2
  import "vue";
3
3
  import "@vft/utils";
4
4
  import "../../utils/ns-cover.js";
5
+ import "lodash";
5
6
  import t from "./logo.vue2.js";
6
- const a = o(t);
7
+ const s = o(t);
7
8
  export {
8
- a as VftLogo,
9
- a as default
9
+ s as VftLogo,
10
+ s as default
10
11
  };