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.
- package/dist/index.css +1 -1
- package/es/component.js +30 -27
- package/es/components/avatar/avatar.vue.d.ts +4 -4
- package/es/components/avatar/index.d.ts +4 -4
- package/es/components/avatar/index.js +4 -3
- package/es/components/back-top/back-top.vue.d.ts +21 -0
- package/es/components/back-top/back-top.vue2.js +23 -21
- package/es/components/back-top/index.d.ts +8 -1
- package/es/components/back-top/index.js +4 -3
- package/es/components/back-top/use-back-top.d.ts +1 -1
- package/es/components/back-top/use-back-top.js +23 -21
- package/es/components/clamp/index.js +4 -3
- package/es/components/clamp-toggle/clamp-toggle.vue2.js +15 -15
- package/es/components/clamp-toggle/index.js +4 -3
- package/es/components/config-provider/hooks/use-global-config.js +1 -1
- package/es/components/config-provider/index.js +11 -10
- package/es/components/context-menu/context-menu.vue2.js +3 -2
- package/es/components/descriptions/description.vue2.js +1 -1
- package/es/components/descriptions/index.js +6 -5
- package/es/components/divider/divider.vue.d.ts +2 -2
- package/es/components/divider/index.d.ts +2 -2
- package/es/components/divider/index.js +4 -3
- package/es/components/empty/index.js +6 -5
- package/es/components/exception/exception.vue2.js +13 -11
- package/es/components/exception/index.js +4 -3
- package/es/components/footer-layout/index.js +4 -3
- package/es/components/form/constants.d.ts +4 -0
- package/es/components/form/constants.js +5 -0
- package/es/components/form/form-item.vue.d.ts +133 -0
- package/es/components/form/form-item.vue.js +4 -0
- package/es/components/form/form-item.vue2.js +244 -0
- package/es/components/form/form-label-wrap.d.ts +11 -0
- package/es/components/form/form-label-wrap.js +70 -0
- package/es/components/form/form.vue.d.ts +168 -0
- package/es/components/form/form.vue.js +4 -0
- package/es/components/form/form.vue2.js +151 -0
- package/es/components/form/hooks/index.d.ts +2 -0
- package/es/components/form/hooks/index.js +10 -0
- package/es/components/form/hooks/use-form-common-props.d.ts +6 -0
- package/es/components/form/hooks/use-form-common-props.js +28 -0
- package/es/components/form/hooks/use-form-item.d.ts +18 -0
- package/es/components/form/hooks/use-form-item.js +48 -0
- package/es/components/form/index.d.ts +338 -0
- package/es/components/form/index.js +28 -0
- package/es/components/form/style/css.d.ts +0 -0
- package/es/components/form/style/css.js +2 -0
- package/es/components/form/style/index.d.ts +0 -0
- package/es/components/form/style/index.js +2 -0
- package/es/components/form/types.d.ts +43 -0
- package/es/components/form/types.js +9 -0
- package/es/components/form/utils.d.ts +9 -0
- package/es/components/form/utils.js +42 -0
- package/es/components/form-item/style/css.d.ts +0 -0
- package/es/components/form-item/style/css.js +2 -0
- package/es/components/form-item/style/index.d.ts +0 -0
- package/es/components/form-item/style/index.js +2 -0
- package/es/components/full-screen/index.js +4 -3
- package/es/components/header-layout/index.js +4 -3
- package/es/components/icon/icon.vue2.js +24 -24
- package/es/components/icon/index.js +5 -4
- package/es/components/icon-text/icon-text.vue2.js +20 -21
- package/es/components/icon-text/index.js +4 -3
- package/es/components/iframe-layout/index.js +4 -3
- package/es/components/image/index.js +4 -3
- package/es/components/index.d.ts +1 -0
- package/es/components/index.js +119 -103
- package/es/components/input/index.d.ts +4 -4
- package/es/components/input/index.js +4 -3
- package/es/components/input/input.vue.d.ts +4 -4
- package/es/components/input/input.vue2.js +28 -25
- package/es/components/link/index.js +4 -3
- package/es/components/logo/index.js +4 -3
- package/es/components/md-code-demo/index.js +4 -3
- package/es/components/md-code-tabs/index.js +4 -3
- package/es/components/md-comment/index.js +4 -3
- package/es/components/md-container/index.js +4 -3
- package/es/components/md-container/md-container.vue2.js +69 -66
- package/es/components/md-tabs/index.js +4 -3
- package/es/components/md-vue-playground/index.js +4 -3
- package/es/components/menu/index.js +9 -8
- package/es/components/menu/menu-item.vue2.js +4 -3
- package/es/components/menu/menu.vue2.js +1 -1
- package/es/components/menu/sub-menu.vue2.js +3 -2
- package/es/components/message/index.js +8 -7
- package/es/components/multiple-tabs/multiple-tabs.vue2.js +42 -40
- package/es/components/multiple-tabs/tab-content.vue2.js +3 -2
- package/es/components/multiple-tabs/use/use-tab-dropdown.js +20 -20
- package/es/components/overlay/index.js +4 -3
- package/es/components/page-wrapper/index.js +4 -3
- package/es/components/pagination/index.d.ts +2 -2
- package/es/components/pagination/index.js +9 -8
- package/es/components/pagination/pagination.d.ts +2 -2
- package/es/components/popover/index.d.ts +4 -4
- package/es/components/popover/index.js +4 -3
- package/es/components/popper/composables/use-content.d.ts +2 -2
- package/es/components/popper/index.d.ts +2 -2
- package/es/components/popper/index.js +10 -9
- package/es/components/popper/popper.vue.d.ts +2 -2
- package/es/components/qrcode/index.js +4 -3
- package/es/components/result/index.js +4 -3
- package/es/components/result/result.vue2.js +3 -2
- package/es/components/router-view-content/index.js +4 -3
- package/es/components/search/index.d.ts +3 -3
- package/es/components/search/index.js +4 -3
- package/es/components/search/search.vue.d.ts +3 -3
- package/es/components/search/search.vue2.js +3 -2
- package/es/components/side-menu/index.js +4 -3
- package/es/components/side-menu/side-menu.vue2.js +52 -54
- package/es/components/tabs/index.d.ts +2 -2
- package/es/components/tabs/index.js +9 -8
- package/es/components/tabs/tab-nav.vue2.js +4 -3
- package/es/components/tabs/tab-pane.vue2.js +1 -1
- package/es/components/tabs/tabs.vue.d.ts +2 -2
- package/es/components/tag/index.js +4 -3
- package/es/components/tag/tag.vue2.js +8 -7
- package/es/components/tooltip/index.d.ts +8 -8
- package/es/components/tooltip/index.js +4 -3
- package/es/components/tooltip/tooltip.vue.d.ts +2 -2
- package/es/components/tooltip/trigger.vue2.js +1 -1
- package/es/hooks/index.d.ts +2 -0
- package/es/hooks/index.js +30 -25
- package/es/hooks/use-id/index.js +3 -2
- package/es/hooks/use-ordered-children/index.js +5 -4
- package/es/hooks/use-popper/index.d.ts +2 -2
- package/es/hooks/use-prop/index.d.ts +2 -0
- package/es/hooks/use-prop/index.js +11 -0
- package/es/hooks/use-size/index.d.ts +7 -0
- package/es/hooks/use-size/index.js +9 -0
- package/es/index.js +203 -177
- package/es/package.json.js +1 -1
- package/es/utils/index.d.ts +1 -0
- package/es/utils/index.js +27 -22
- package/es/utils/ns-cover.d.ts +12 -0
- package/es/utils/ns-cover.js +17 -5
- package/es/utils/objects.d.ts +4 -0
- package/es/utils/objects.js +12 -0
- package/lib/component.cjs +1 -1
- package/lib/components/avatar/avatar.vue.d.ts +4 -4
- package/lib/components/avatar/index.cjs +1 -1
- package/lib/components/avatar/index.d.ts +4 -4
- package/lib/components/back-top/back-top.vue.d.ts +21 -0
- package/lib/components/back-top/back-top.vue2.cjs +1 -1
- package/lib/components/back-top/index.cjs +1 -1
- package/lib/components/back-top/index.d.ts +8 -1
- package/lib/components/back-top/use-back-top.cjs +1 -1
- package/lib/components/back-top/use-back-top.d.ts +1 -1
- package/lib/components/clamp/index.cjs +1 -1
- package/lib/components/clamp-toggle/clamp-toggle.vue2.cjs +1 -1
- package/lib/components/clamp-toggle/index.cjs +1 -1
- package/lib/components/config-provider/hooks/use-global-config.cjs +1 -1
- package/lib/components/config-provider/index.cjs +1 -1
- package/lib/components/context-menu/context-menu.vue2.cjs +1 -1
- package/lib/components/descriptions/description.vue2.cjs +1 -1
- package/lib/components/descriptions/index.cjs +1 -1
- package/lib/components/divider/divider.vue.d.ts +2 -2
- package/lib/components/divider/index.cjs +1 -1
- package/lib/components/divider/index.d.ts +2 -2
- package/lib/components/empty/index.cjs +1 -1
- package/lib/components/exception/exception.vue2.cjs +1 -1
- package/lib/components/exception/index.cjs +1 -1
- package/lib/components/footer-layout/index.cjs +1 -1
- package/lib/components/form/constants.cjs +1 -0
- package/lib/components/form/constants.d.ts +4 -0
- package/lib/components/form/form-item.vue.cjs +1 -0
- package/lib/components/form/form-item.vue.d.ts +133 -0
- package/lib/components/form/form-item.vue2.cjs +1 -0
- package/lib/components/form/form-label-wrap.cjs +1 -0
- package/lib/components/form/form-label-wrap.d.ts +11 -0
- package/lib/components/form/form.vue.cjs +1 -0
- package/lib/components/form/form.vue.d.ts +168 -0
- package/lib/components/form/form.vue2.cjs +1 -0
- package/lib/components/form/hooks/index.cjs +1 -0
- package/lib/components/form/hooks/index.d.ts +2 -0
- package/lib/components/form/hooks/use-form-common-props.cjs +1 -0
- package/lib/components/form/hooks/use-form-common-props.d.ts +6 -0
- package/lib/components/form/hooks/use-form-item.cjs +1 -0
- package/lib/components/form/hooks/use-form-item.d.ts +18 -0
- package/lib/components/form/index.cjs +1 -0
- package/lib/components/form/index.d.ts +338 -0
- package/lib/components/form/style/css.cjs +1 -0
- package/lib/components/form/style/css.d.ts +0 -0
- package/lib/components/form/style/index.cjs +1 -0
- package/lib/components/form/style/index.d.ts +0 -0
- package/lib/components/form/types.cjs +1 -0
- package/lib/components/form/types.d.ts +43 -0
- package/lib/components/form/utils.cjs +1 -0
- package/lib/components/form/utils.d.ts +9 -0
- package/lib/components/form-item/style/css.cjs +1 -0
- package/lib/components/form-item/style/css.d.ts +0 -0
- package/lib/components/form-item/style/index.cjs +1 -0
- package/lib/components/form-item/style/index.d.ts +0 -0
- package/lib/components/full-screen/index.cjs +1 -1
- package/lib/components/header-layout/index.cjs +1 -1
- package/lib/components/icon/icon.vue2.cjs +1 -1
- package/lib/components/icon/index.cjs +1 -1
- package/lib/components/icon-text/icon-text.vue2.cjs +1 -1
- package/lib/components/icon-text/index.cjs +1 -1
- package/lib/components/iframe-layout/index.cjs +1 -1
- package/lib/components/image/index.cjs +1 -1
- package/lib/components/index.cjs +1 -1
- package/lib/components/index.d.ts +1 -0
- package/lib/components/input/index.cjs +1 -1
- package/lib/components/input/index.d.ts +4 -4
- package/lib/components/input/input.vue.d.ts +4 -4
- package/lib/components/input/input.vue2.cjs +1 -1
- package/lib/components/link/index.cjs +1 -1
- package/lib/components/logo/index.cjs +1 -1
- package/lib/components/md-code-demo/index.cjs +1 -1
- package/lib/components/md-code-tabs/index.cjs +1 -1
- package/lib/components/md-comment/index.cjs +1 -1
- package/lib/components/md-container/index.cjs +1 -1
- package/lib/components/md-container/md-container.vue2.cjs +1 -1
- package/lib/components/md-tabs/index.cjs +1 -1
- package/lib/components/md-vue-playground/index.cjs +1 -1
- package/lib/components/menu/index.cjs +1 -1
- package/lib/components/menu/menu-item.vue2.cjs +1 -1
- package/lib/components/menu/menu.vue2.cjs +1 -1
- package/lib/components/menu/sub-menu.vue2.cjs +1 -1
- package/lib/components/message/index.cjs +1 -1
- package/lib/components/multiple-tabs/multiple-tabs.vue2.cjs +1 -1
- package/lib/components/multiple-tabs/tab-content.vue2.cjs +1 -1
- package/lib/components/multiple-tabs/use/use-tab-dropdown.cjs +1 -1
- package/lib/components/overlay/index.cjs +1 -1
- package/lib/components/page-wrapper/index.cjs +1 -1
- package/lib/components/pagination/index.cjs +1 -1
- package/lib/components/pagination/index.d.ts +2 -2
- package/lib/components/pagination/pagination.d.ts +2 -2
- package/lib/components/popover/index.cjs +1 -1
- package/lib/components/popover/index.d.ts +4 -4
- package/lib/components/popper/composables/use-content.d.ts +2 -2
- package/lib/components/popper/index.cjs +1 -1
- package/lib/components/popper/index.d.ts +2 -2
- package/lib/components/popper/popper.vue.d.ts +2 -2
- package/lib/components/qrcode/index.cjs +1 -1
- package/lib/components/result/index.cjs +1 -1
- package/lib/components/result/result.vue2.cjs +1 -1
- package/lib/components/router-view-content/index.cjs +1 -1
- package/lib/components/search/index.cjs +1 -1
- package/lib/components/search/index.d.ts +3 -3
- package/lib/components/search/search.vue.d.ts +3 -3
- package/lib/components/search/search.vue2.cjs +1 -1
- package/lib/components/side-menu/index.cjs +1 -1
- package/lib/components/side-menu/side-menu.vue2.cjs +1 -1
- package/lib/components/tabs/index.cjs +1 -1
- package/lib/components/tabs/index.d.ts +2 -2
- package/lib/components/tabs/tab-nav.vue2.cjs +1 -1
- package/lib/components/tabs/tab-pane.vue2.cjs +1 -1
- package/lib/components/tabs/tabs.vue.d.ts +2 -2
- package/lib/components/tag/index.cjs +1 -1
- package/lib/components/tag/tag.vue2.cjs +1 -1
- package/lib/components/tooltip/index.cjs +1 -1
- package/lib/components/tooltip/index.d.ts +8 -8
- package/lib/components/tooltip/tooltip.vue.d.ts +2 -2
- package/lib/components/tooltip/trigger.vue2.cjs +1 -1
- package/lib/hooks/index.cjs +1 -1
- package/lib/hooks/index.d.ts +2 -0
- package/lib/hooks/use-id/index.cjs +1 -1
- package/lib/hooks/use-ordered-children/index.cjs +1 -1
- package/lib/hooks/use-popper/index.d.ts +2 -2
- package/lib/hooks/use-prop/index.cjs +1 -0
- package/lib/hooks/use-prop/index.d.ts +2 -0
- package/lib/hooks/use-size/index.cjs +1 -0
- package/lib/hooks/use-size/index.d.ts +7 -0
- package/lib/index.cjs +1 -1
- package/lib/package.json.cjs +1 -1
- package/lib/utils/index.cjs +1 -1
- package/lib/utils/index.d.ts +1 -0
- package/lib/utils/ns-cover.cjs +1 -1
- package/lib/utils/ns-cover.d.ts +12 -0
- package/lib/utils/objects.cjs +1 -0
- package/lib/utils/objects.d.ts +4 -0
- package/package.json +4 -5
- package/theme-style/dark/css-vars.css +1 -1
- package/theme-style/index.css +1 -1
- package/theme-style/src/common/var.scss +16 -9
- package/theme-style/src/dark/css-vars.scss +1 -1
- package/theme-style/src/dark/var.scss +13 -12
- package/theme-style/src/form-item.scss +0 -0
- package/theme-style/src/form.scss +241 -0
- package/theme-style/src/header-layout.scss +0 -4
- package/theme-style/src/index.scss +2 -0
- package/theme-style/src/md-container.scss +1 -3
- package/theme-style/src/menu.scss +3 -1
- package/theme-style/src/side-menu.scss +1 -3
- package/theme-style/vft-form-item.css +0 -0
- package/theme-style/vft-form.css +1 -0
- package/theme-style/vft-full-screen.css +1 -1
- package/theme-style/vft-header-layout.css +1 -1
- package/theme-style/vft-loading.css +1 -1
- package/theme-style/vft-md-container.css +1 -1
- package/theme-style/vft-menu.css +1 -1
- package/theme-style/vft-side-menu.css +1 -1
- package/theme-style/vft-tabs.css +1 -1
- package/es/components/back-top/types.d.ts +0 -13
- package/es/components/back-top/types.js +0 -1
- package/lib/components/back-top/types.cjs +0 -1
- package/lib/components/back-top/types.d.ts +0 -13
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { singleAttrToObj as
|
|
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
|
|
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
|
-
|
|
10
|
-
const f = (
|
|
10
|
+
const d = (
|
|
11
11
|
/* hoist-static*/
|
|
12
|
-
|
|
13
|
-
),
|
|
14
|
-
name:
|
|
15
|
-
}),
|
|
16
|
-
...
|
|
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
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
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) : (
|
|
36
|
-
|
|
37
|
-
e.reverse ? (
|
|
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
|
-
|
|
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
|
|
7
|
+
const n = t(o);
|
|
7
8
|
export {
|
|
8
|
-
|
|
9
|
-
|
|
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
|
|
7
|
+
const s = t(o);
|
|
7
8
|
export {
|
|
8
|
-
|
|
9
|
-
|
|
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
|
|
7
|
+
const s = t(m);
|
|
7
8
|
export {
|
|
8
|
-
|
|
9
|
-
|
|
9
|
+
s as VftImage,
|
|
10
|
+
s as default
|
|
10
11
|
};
|
package/es/components/index.d.ts
CHANGED
package/es/components/index.js
CHANGED
|
@@ -1,136 +1,152 @@
|
|
|
1
|
-
import { VftDivider as
|
|
2
|
-
import { VftIcon as f, VftIcon as
|
|
3
|
-
import { VftAvatar as
|
|
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
|
|
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
|
|
10
|
-
import { VftPopover as
|
|
11
|
-
import { VftMenu as
|
|
12
|
-
import { createContextMenu as
|
|
13
|
-
import { useContextMenu as
|
|
14
|
-
import { VftMultipleTabs as
|
|
15
|
-
import { VftHeaderLayout as
|
|
16
|
-
import { VftFooterLayout as
|
|
17
|
-
import { VftIframeLayout as
|
|
18
|
-
import { VftRouterViewContent as
|
|
19
|
-
import { VftLogo as
|
|
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
|
|
26
|
-
import { VftInput as
|
|
27
|
-
import { VftLink as
|
|
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
|
|
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
|
|
34
|
-
import { VftClampToggle as
|
|
35
|
-
import { VftPageWrapper as
|
|
36
|
-
import { VftException as
|
|
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 {
|
|
39
|
-
import {
|
|
40
|
-
import {
|
|
41
|
-
import {
|
|
42
|
-
import {
|
|
43
|
-
import {
|
|
44
|
-
import {
|
|
45
|
-
import {
|
|
46
|
-
import {
|
|
47
|
-
import {
|
|
48
|
-
import {
|
|
49
|
-
import { default as
|
|
50
|
-
import { default as
|
|
51
|
-
import {
|
|
52
|
-
import {
|
|
53
|
-
import {
|
|
54
|
-
import {
|
|
55
|
-
import {
|
|
56
|
-
import {
|
|
57
|
-
import {
|
|
58
|
-
import {
|
|
59
|
-
import {
|
|
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
|
-
|
|
66
|
+
Yo as EmptyEnum,
|
|
62
67
|
f as Icon,
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
68
|
+
qo as Message,
|
|
69
|
+
_o as TabsRootContextKey,
|
|
70
|
+
x as VftAvatar,
|
|
66
71
|
J as VftBackTop,
|
|
67
|
-
|
|
68
|
-
|
|
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
|
-
|
|
78
|
+
e as VftDivider,
|
|
74
79
|
n as VftEmpty,
|
|
75
|
-
|
|
76
|
-
|
|
80
|
+
Lo as VftException,
|
|
81
|
+
h as VftFooterLayout,
|
|
82
|
+
Eo as VftForm,
|
|
83
|
+
Ko as VftFormItem,
|
|
77
84
|
$ as VftFullScreen,
|
|
78
|
-
|
|
79
|
-
|
|
85
|
+
k as VftHeaderLayout,
|
|
86
|
+
m as VftIcon,
|
|
80
87
|
to as VftIconText,
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
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
|
-
|
|
108
|
+
Po as VftPageWrapper,
|
|
102
109
|
no as VftPagination,
|
|
103
|
-
|
|
110
|
+
b as VftPopover,
|
|
104
111
|
l as VftPopper,
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
112
|
+
ot as VftPopperArrow,
|
|
113
|
+
ft as VftPopperContent,
|
|
114
|
+
et as VftPopperTrigger,
|
|
108
115
|
lo as VftQrcode,
|
|
109
116
|
i as VftResult,
|
|
110
|
-
|
|
117
|
+
Q as VftRouterViewContent,
|
|
111
118
|
So as VftSearch,
|
|
112
|
-
|
|
119
|
+
uo as VftSideMenu,
|
|
113
120
|
D as VftSubMenu,
|
|
114
|
-
|
|
115
|
-
|
|
121
|
+
u as VftTabPane,
|
|
122
|
+
g as VftTabs,
|
|
116
123
|
io as VftTag,
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
gt as
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
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<"
|
|
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<"
|
|
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
|
|
7
|
+
const n = t(o);
|
|
7
8
|
export {
|
|
8
|
-
|
|
9
|
-
|
|
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<"
|
|
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<"
|
|
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 {
|
|
7
|
-
import {
|
|
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
|
-
|
|
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:
|
|
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",
|
|
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 } =
|
|
85
|
+
}), { form: W, formItem: u } = et(), { inputId: ee } = tt(ge.props, {
|
|
83
86
|
formItemContext: u
|
|
84
|
-
}), ke =
|
|
85
|
-
() => M.value ? { icon: "
|
|
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(() =>
|
|
93
|
-
() => e.clearable && !
|
|
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 && !
|
|
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") && !
|
|
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] =
|
|
106
|
-
Xe(
|
|
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
|
-
...
|
|
123
|
+
...pe(b.value, a, o)
|
|
121
124
|
};
|
|
122
125
|
} else
|
|
123
126
|
O.value = {
|
|
124
|
-
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
|
-
}),
|
|
196
|
+
}), be({
|
|
194
197
|
/** @description HTML input element */
|
|
195
198
|
input: A,
|
|
196
199
|
/** @description HTML textarea element */
|
|
197
|
-
textarea:
|
|
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(
|
|
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:
|
|
330
|
+
ref: b,
|
|
328
331
|
class: t(te).e("inner")
|
|
329
332
|
}, t(f), {
|
|
330
333
|
tabindex: e.tabindex,
|
|
331
|
-
disabled: t(
|
|
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
|
-
|
|
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
|
|
7
|
+
const n = t(o);
|
|
7
8
|
export {
|
|
8
|
-
|
|
9
|
-
|
|
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
|
|
7
|
+
const s = o(t);
|
|
7
8
|
export {
|
|
8
|
-
|
|
9
|
-
|
|
9
|
+
s as VftLogo,
|
|
10
|
+
s as default
|
|
10
11
|
};
|