vft 0.0.452 → 0.0.455

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.
@@ -1,11 +1,4 @@
1
- import type { DialogProps } from 'vft/es/components/dialog';
2
- import type { ModalActionProps } from './types';
3
- export interface ModalProps extends DialogProps {
4
- closeFunc?: () => Promise<any>;
5
- showActionButtonGroup?: boolean;
6
- confirmLoading?: boolean;
7
- loading?: boolean;
8
- }
1
+ import type { ModalActionProps, ModalProps } from './types';
9
2
  declare function __VLS_template(): {
10
3
  default?(_: {}): any;
11
4
  };
@@ -1,34 +1,65 @@
1
1
  import { type ButtonProps } from 'vft/es/components/button';
2
+ import type { DialogProps } from 'vft/es/components/dialog';
2
3
  import { type RowProps } from 'vft/es/components/row';
3
4
  import type { ComputedRef } from 'vue';
4
- import type { ModalProps } from './modal.vue';
5
- /**
6
- * @description: 弹窗对外暴露的方法
7
- */
5
+ /** Modal 组件属性接口 */
6
+ export interface ModalProps extends DialogProps {
7
+ /** 关闭前的回调函数,返回 Promise,resolve(false) 阻止关闭 */
8
+ closeFunc?: () => Promise<any>;
9
+ /** 是否显示操作按钮组(确认和取消按钮) */
10
+ showActionButtonGroup?: boolean;
11
+ /** 确认按钮的加载状态 */
12
+ confirmLoading?: boolean;
13
+ /** 整个 Modal 的加载状态 */
14
+ loading?: boolean;
15
+ }
16
+ /** Modal 操作按钮配置接口 */
17
+ export interface ModalActionProps {
18
+ /** 是否显示提交按钮,默认为 true */
19
+ showSubmitButton?: boolean;
20
+ /** 是否显示取消按钮,默认为 true */
21
+ showCancelButton?: boolean;
22
+ /** 提交按钮的配置选项 */
23
+ submitButtonOptions?: ButtonProps;
24
+ /** 取消按钮的配置选项 */
25
+ cancelButtonOptions?: ButtonProps;
26
+ /** 操作按钮行的配置选项 */
27
+ actionRowOptions?: Partial<RowProps>;
28
+ }
29
+ /** Modal 对外暴露的方法接口 */
8
30
  export interface ModalMethods {
31
+ /** 设置 Modal 的属性 */
9
32
  setModalProps: (props: Partial<ModalProps>) => void;
33
+ /** 触发显示/隐藏事件 */
10
34
  emitVisible?: (visible: boolean, uid: number) => void;
35
+ /** 重新计算 Modal 高度 */
11
36
  redoModalHeight?: () => void;
12
37
  }
38
+ /** Modal 注册函数类型 */
13
39
  export type RegisterFn = (modalMethods: ModalMethods, uuid: string) => void;
40
+ /** useModal 返回的方法接口 */
14
41
  export interface ReturnMethods extends ModalMethods {
42
+ /** 打开 Modal */
15
43
  openModal: <T = any>(props?: boolean, data?: T, openOnSet?: boolean) => void;
44
+ /** 关闭 Modal */
16
45
  closeModal: () => void;
46
+ /** 获取 Modal 的可见状态 */
17
47
  getVisible?: ComputedRef<boolean>;
18
48
  }
49
+ /** useModal 返回类型 */
19
50
  export type UseModalReturnType = [RegisterFn, ReturnMethods];
51
+ /** useModalInner 返回的方法接口 */
20
52
  export interface ReturnInnerMethods extends ModalMethods {
53
+ /** 关闭 Modal */
21
54
  closeModal: () => void;
55
+ /** 改变加载状态 */
22
56
  changeLoading: (loading: boolean) => void;
57
+ /** 改变确认按钮的加载状态 */
23
58
  changeOkLoading: (loading: boolean) => void;
59
+ /** 获取 Modal 的可见状态 */
24
60
  getVisible?: ComputedRef<boolean>;
61
+ /** 重新计算 Modal 高度 */
25
62
  redoModalHeight: () => void;
26
63
  }
64
+ /** useModalInner 返回类型 */
27
65
  export type UseModalInnerReturnType = [RegisterFn, ReturnInnerMethods];
28
- export interface ModalActionProps {
29
- showSubmitButton?: boolean;
30
- showCancelButton?: boolean;
31
- submitButtonOptions?: ButtonProps;
32
- cancelButtonOptions?: ButtonProps;
33
- actionRowOptions?: Partial<RowProps>;
34
- }
@@ -16,15 +16,6 @@ export declare const VftRouterViewContent: import("vft/es/utils").SFCWithInstall
16
16
  type: import("vue").PropType<boolean>;
17
17
  required: true;
18
18
  };
19
- pageErrorStatus: {
20
- type: import("vue").PropType<boolean>;
21
- };
22
- enableErrorHandle: {
23
- type: import("vue").PropType<boolean>;
24
- };
25
- exceptionComp: {
26
- type: import("vue").PropType<import("vue").Component>;
27
- };
28
19
  }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
29
20
  cacheList: {
30
21
  type: import("vue").PropType<string[]>;
@@ -43,14 +34,5 @@ export declare const VftRouterViewContent: import("vft/es/utils").SFCWithInstall
43
34
  type: import("vue").PropType<boolean>;
44
35
  required: true;
45
36
  };
46
- pageErrorStatus: {
47
- type: import("vue").PropType<boolean>;
48
- };
49
- enableErrorHandle: {
50
- type: import("vue").PropType<boolean>;
51
- };
52
- exceptionComp: {
53
- type: import("vue").PropType<import("vue").Component>;
54
- };
55
37
  }>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>> & Record<string, any>;
56
38
  export default VftRouterViewContent;
@@ -1,13 +1,9 @@
1
- import type { Component } from 'vue';
2
1
  interface LayoutConentProps {
3
2
  cacheList: string[];
4
3
  transitionName?: string;
5
4
  transitionAttr?: Record<string, any>;
6
5
  openKeepAlive?: boolean;
7
6
  isReloadFlag: boolean;
8
- pageErrorStatus?: boolean;
9
- enableErrorHandle?: boolean;
10
- exceptionComp?: Component;
11
7
  }
12
8
  declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<LayoutConentProps>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<LayoutConentProps>>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
13
9
  export default _default;
@@ -1,54 +1,51 @@
1
- import { defineComponent as p, computed as u, resolveComponent as C, createBlock as n, openBlock as a, withCtx as c, createVNode as f, unref as r, KeepAlive as x, createCommentVNode as A, resolveDynamicComponent as v, Transition as k, mergeProps as B } from "vue";
1
+ import { defineComponent as v, computed as s, resolveComponent as A, createBlock as t, openBlock as n, withCtx as c, createVNode as d, unref as o, KeepAlive as k, createCommentVNode as g, resolveDynamicComponent as f, Transition as x, mergeProps as C } from "vue";
2
2
  import { getRouterKeyPath as N } from "@vft/router";
3
3
  import { createReusableTemplate as R } from "@vueuse/core";
4
- const K = p({
4
+ const K = v({
5
5
  name: "vft-router-view-content"
6
- }), T = /* @__PURE__ */ p({
6
+ }), T = /* @__PURE__ */ v({
7
7
  ...K,
8
8
  props: {
9
9
  cacheList: {},
10
10
  transitionName: {},
11
11
  transitionAttr: {},
12
12
  openKeepAlive: { type: Boolean, default: !0 },
13
- isReloadFlag: { type: Boolean },
14
- pageErrorStatus: { type: Boolean },
15
- enableErrorHandle: { type: Boolean },
16
- exceptionComp: {}
13
+ isReloadFlag: { type: Boolean }
17
14
  },
18
15
  setup(e) {
19
- const h = u(() => e.openKeepAlive ? e.cacheList : []), m = u(() => (t) => e.enableErrorHandle && e.pageErrorStatus && e.exceptionComp || t), y = u(() => (t) => {
20
- let o = t.name;
21
- return t.meta?.currentActivePath && (o = t.matched?.filter((l) => l.path === t.meta?.currentActivePath)?.[0].name), e.isReloadFlag ? void 0 : o;
22
- }), [g, d] = R();
23
- return (t, o) => {
24
- const l = C("router-view");
25
- return a(), n(l, null, {
26
- default: c(({ Component: s, route: i }) => [
27
- f(r(g), null, {
16
+ const p = s(() => e.openKeepAlive ? e.cacheList : []), h = s(() => (a) => {
17
+ let l = a.name;
18
+ return a.meta?.currentActivePath && (l = a.matched?.filter((r) => r.path === a.meta?.currentActivePath)?.[0].name), e.isReloadFlag ? void 0 : l;
19
+ }), [y, m] = R();
20
+ return (a, l) => {
21
+ const r = A("router-view");
22
+ return n(), t(r, null, {
23
+ default: c(({ Component: u, route: i }) => [
24
+ d(o(y), null, {
28
25
  default: c(() => [
29
- e.openKeepAlive ? (a(), n(x, {
26
+ e.openKeepAlive ? (n(), t(k, {
30
27
  key: 0,
31
- include: h.value,
32
- exclude: y.value(i)
28
+ include: p.value,
29
+ exclude: h.value(i)
33
30
  }, [
34
- e.isReloadFlag ? (a(), n(v(m.value(s)), {
35
- key: r(N)(i)
36
- })) : A("", !0)
37
- ], 1032, ["include", "exclude"])) : (a(), n(v(m.value(s)), {
31
+ e.isReloadFlag ? (n(), t(f(u), {
32
+ key: o(N)(i)
33
+ })) : g("", !0)
34
+ ], 1032, ["include", "exclude"])) : (n(), t(f(u), {
38
35
  key: i.fullPath
39
36
  }))
40
37
  ]),
41
38
  _: 2
42
39
  }, 1024),
43
- e.transitionName ? (a(), n(k, B({
40
+ e.transitionName ? (n(), t(x, C({
44
41
  key: 0,
45
42
  name: e.transitionName
46
43
  }, e.transitionAttr), {
47
44
  default: c(() => [
48
- f(r(d))
45
+ d(o(m))
49
46
  ]),
50
47
  _: 1
51
- }, 16, ["name"])) : (a(), n(r(d), { key: 1 }))
48
+ }, 16, ["name"])) : (n(), t(o(m), { key: 1 }))
52
49
  ]),
53
50
  _: 1
54
51
  });
@@ -1,6 +1,6 @@
1
1
  declare const _default: {
2
2
  "name": "vft",
3
- "version": "0.0.452",
3
+ "version": "0.0.455",
4
4
  "license": "MIT",
5
5
  "main": "lib/index.cjs",
6
6
  "module": "es/index.js",
@@ -1,4 +1,4 @@
1
- const o = "0.0.452";
1
+ const o = "0.0.455";
2
2
  export {
3
3
  o as version
4
4
  };
@@ -1,11 +1,4 @@
1
- import type { DialogProps } from 'vft/es/components/dialog';
2
- import type { ModalActionProps } from './types';
3
- export interface ModalProps extends DialogProps {
4
- closeFunc?: () => Promise<any>;
5
- showActionButtonGroup?: boolean;
6
- confirmLoading?: boolean;
7
- loading?: boolean;
8
- }
1
+ import type { ModalActionProps, ModalProps } from './types';
9
2
  declare function __VLS_template(): {
10
3
  default?(_: {}): any;
11
4
  };
@@ -1,34 +1,65 @@
1
1
  import { type ButtonProps } from 'vft/es/components/button';
2
+ import type { DialogProps } from 'vft/es/components/dialog';
2
3
  import { type RowProps } from 'vft/es/components/row';
3
4
  import type { ComputedRef } from 'vue';
4
- import type { ModalProps } from './modal.vue';
5
- /**
6
- * @description: 弹窗对外暴露的方法
7
- */
5
+ /** Modal 组件属性接口 */
6
+ export interface ModalProps extends DialogProps {
7
+ /** 关闭前的回调函数,返回 Promise,resolve(false) 阻止关闭 */
8
+ closeFunc?: () => Promise<any>;
9
+ /** 是否显示操作按钮组(确认和取消按钮) */
10
+ showActionButtonGroup?: boolean;
11
+ /** 确认按钮的加载状态 */
12
+ confirmLoading?: boolean;
13
+ /** 整个 Modal 的加载状态 */
14
+ loading?: boolean;
15
+ }
16
+ /** Modal 操作按钮配置接口 */
17
+ export interface ModalActionProps {
18
+ /** 是否显示提交按钮,默认为 true */
19
+ showSubmitButton?: boolean;
20
+ /** 是否显示取消按钮,默认为 true */
21
+ showCancelButton?: boolean;
22
+ /** 提交按钮的配置选项 */
23
+ submitButtonOptions?: ButtonProps;
24
+ /** 取消按钮的配置选项 */
25
+ cancelButtonOptions?: ButtonProps;
26
+ /** 操作按钮行的配置选项 */
27
+ actionRowOptions?: Partial<RowProps>;
28
+ }
29
+ /** Modal 对外暴露的方法接口 */
8
30
  export interface ModalMethods {
31
+ /** 设置 Modal 的属性 */
9
32
  setModalProps: (props: Partial<ModalProps>) => void;
33
+ /** 触发显示/隐藏事件 */
10
34
  emitVisible?: (visible: boolean, uid: number) => void;
35
+ /** 重新计算 Modal 高度 */
11
36
  redoModalHeight?: () => void;
12
37
  }
38
+ /** Modal 注册函数类型 */
13
39
  export type RegisterFn = (modalMethods: ModalMethods, uuid: string) => void;
40
+ /** useModal 返回的方法接口 */
14
41
  export interface ReturnMethods extends ModalMethods {
42
+ /** 打开 Modal */
15
43
  openModal: <T = any>(props?: boolean, data?: T, openOnSet?: boolean) => void;
44
+ /** 关闭 Modal */
16
45
  closeModal: () => void;
46
+ /** 获取 Modal 的可见状态 */
17
47
  getVisible?: ComputedRef<boolean>;
18
48
  }
49
+ /** useModal 返回类型 */
19
50
  export type UseModalReturnType = [RegisterFn, ReturnMethods];
51
+ /** useModalInner 返回的方法接口 */
20
52
  export interface ReturnInnerMethods extends ModalMethods {
53
+ /** 关闭 Modal */
21
54
  closeModal: () => void;
55
+ /** 改变加载状态 */
22
56
  changeLoading: (loading: boolean) => void;
57
+ /** 改变确认按钮的加载状态 */
23
58
  changeOkLoading: (loading: boolean) => void;
59
+ /** 获取 Modal 的可见状态 */
24
60
  getVisible?: ComputedRef<boolean>;
61
+ /** 重新计算 Modal 高度 */
25
62
  redoModalHeight: () => void;
26
63
  }
64
+ /** useModalInner 返回类型 */
27
65
  export type UseModalInnerReturnType = [RegisterFn, ReturnInnerMethods];
28
- export interface ModalActionProps {
29
- showSubmitButton?: boolean;
30
- showCancelButton?: boolean;
31
- submitButtonOptions?: ButtonProps;
32
- cancelButtonOptions?: ButtonProps;
33
- actionRowOptions?: Partial<RowProps>;
34
- }
@@ -16,15 +16,6 @@ export declare const VftRouterViewContent: import("vft/es/utils").SFCWithInstall
16
16
  type: import("vue").PropType<boolean>;
17
17
  required: true;
18
18
  };
19
- pageErrorStatus: {
20
- type: import("vue").PropType<boolean>;
21
- };
22
- enableErrorHandle: {
23
- type: import("vue").PropType<boolean>;
24
- };
25
- exceptionComp: {
26
- type: import("vue").PropType<import("vue").Component>;
27
- };
28
19
  }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
29
20
  cacheList: {
30
21
  type: import("vue").PropType<string[]>;
@@ -43,14 +34,5 @@ export declare const VftRouterViewContent: import("vft/es/utils").SFCWithInstall
43
34
  type: import("vue").PropType<boolean>;
44
35
  required: true;
45
36
  };
46
- pageErrorStatus: {
47
- type: import("vue").PropType<boolean>;
48
- };
49
- enableErrorHandle: {
50
- type: import("vue").PropType<boolean>;
51
- };
52
- exceptionComp: {
53
- type: import("vue").PropType<import("vue").Component>;
54
- };
55
37
  }>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>> & Record<string, any>;
56
38
  export default VftRouterViewContent;
@@ -1,13 +1,9 @@
1
- import type { Component } from 'vue';
2
1
  interface LayoutConentProps {
3
2
  cacheList: string[];
4
3
  transitionName?: string;
5
4
  transitionAttr?: Record<string, any>;
6
5
  openKeepAlive?: boolean;
7
6
  isReloadFlag: boolean;
8
- pageErrorStatus?: boolean;
9
- enableErrorHandle?: boolean;
10
- exceptionComp?: Component;
11
7
  }
12
8
  declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<LayoutConentProps>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<LayoutConentProps>>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
13
9
  export default _default;
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),s=require("@vft/router"),f=require("@vueuse/core"),p=e.defineComponent({name:"vft-router-view-content"}),v=e.defineComponent({...p,props:{cacheList:{},transitionName:{},transitionAttr:{},openKeepAlive:{type:Boolean,default:!0},isReloadFlag:{type:Boolean},pageErrorStatus:{type:Boolean},enableErrorHandle:{type:Boolean},exceptionComp:{}},setup(t){const i=e.computed(()=>t.openKeepAlive?t.cacheList:[]),l=e.computed(()=>n=>t.enableErrorHandle&&t.pageErrorStatus&&t.exceptionComp||n),m=e.computed(()=>n=>{let a=n.name;return n.meta?.currentActivePath&&(a=n.matched?.filter(o=>o.path===n.meta?.currentActivePath)?.[0].name),t.isReloadFlag?void 0:a}),[d,c]=f.createReusableTemplate();return(n,a)=>{const o=e.resolveComponent("router-view");return e.openBlock(),e.createBlock(o,null,{default:e.withCtx(({Component:u,route:r})=>[e.createVNode(e.unref(d),null,{default:e.withCtx(()=>[t.openKeepAlive?(e.openBlock(),e.createBlock(e.KeepAlive,{key:0,include:i.value,exclude:m.value(r)},[t.isReloadFlag?(e.openBlock(),e.createBlock(e.resolveDynamicComponent(l.value(u)),{key:e.unref(s.getRouterKeyPath)(r)})):e.createCommentVNode("",!0)],1032,["include","exclude"])):(e.openBlock(),e.createBlock(e.resolveDynamicComponent(l.value(u)),{key:r.fullPath}))]),_:2},1024),t.transitionName?(e.openBlock(),e.createBlock(e.Transition,e.mergeProps({key:0,name:t.transitionName},t.transitionAttr),{default:e.withCtx(()=>[e.createVNode(e.unref(c))]),_:1},16,["name"])):(e.openBlock(),e.createBlock(e.unref(c),{key:1}))]),_:1})}}});exports.default=v;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),s=require("@vft/router"),d=require("@vueuse/core"),f=e.defineComponent({name:"vft-router-view-content"}),v=e.defineComponent({...f,props:{cacheList:{},transitionName:{},transitionAttr:{},openKeepAlive:{type:Boolean,default:!0},isReloadFlag:{type:Boolean}},setup(t){const i=e.computed(()=>t.openKeepAlive?t.cacheList:[]),u=e.computed(()=>n=>{let o=n.name;return n.meta?.currentActivePath&&(o=n.matched?.filter(a=>a.path===n.meta?.currentActivePath)?.[0].name),t.isReloadFlag?void 0:o}),[m,r]=d.createReusableTemplate();return(n,o)=>{const a=e.resolveComponent("router-view");return e.openBlock(),e.createBlock(a,null,{default:e.withCtx(({Component:l,route:c})=>[e.createVNode(e.unref(m),null,{default:e.withCtx(()=>[t.openKeepAlive?(e.openBlock(),e.createBlock(e.KeepAlive,{key:0,include:i.value,exclude:u.value(c)},[t.isReloadFlag?(e.openBlock(),e.createBlock(e.resolveDynamicComponent(l),{key:e.unref(s.getRouterKeyPath)(c)})):e.createCommentVNode("",!0)],1032,["include","exclude"])):(e.openBlock(),e.createBlock(e.resolveDynamicComponent(l),{key:c.fullPath}))]),_:2},1024),t.transitionName?(e.openBlock(),e.createBlock(e.Transition,e.mergeProps({key:0,name:t.transitionName},t.transitionAttr),{default:e.withCtx(()=>[e.createVNode(e.unref(r))]),_:1},16,["name"])):(e.openBlock(),e.createBlock(e.unref(r),{key:1}))]),_:1})}}});exports.default=v;
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e="0.0.452";exports.version=e;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e="0.0.455";exports.version=e;
@@ -1,6 +1,6 @@
1
1
  declare const _default: {
2
2
  "name": "vft",
3
- "version": "0.0.452",
3
+ "version": "0.0.455",
4
4
  "license": "MIT",
5
5
  "main": "lib/index.cjs",
6
6
  "module": "es/index.js",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vft",
3
- "version": "0.0.452",
3
+ "version": "0.0.455",
4
4
  "license": "MIT",
5
5
  "main": "lib/index.cjs",
6
6
  "module": "es/index.js",
@@ -56,12 +56,12 @@
56
56
  "resize-detector": "0.3.0",
57
57
  "sortablejs": "1.15.0",
58
58
  "photoswipe": "5.4.4",
59
- "@vft/utils": "0.0.145",
60
- "@vft/use": "0.0.90",
61
59
  "@vft/router": "0.0.67",
62
- "@vft/directives": "0.0.36",
60
+ "@vft/utils": "0.0.145",
63
61
  "@vft/constants": "0.0.75",
64
- "@vft/store": "0.0.57"
62
+ "@vft/use": "0.0.91",
63
+ "@vft/store": "0.0.57",
64
+ "@vft/directives": "0.0.36"
65
65
  },
66
66
  "vetur": {
67
67
  "tags": "tags.json",
package/tags.json CHANGED
@@ -1 +1 @@
1
- {"vft-alert":{"attributes":["title","type","description","closable","center","close-text","show-icon","effect"],"description":"提示 用于页面中展示重要的提示信息。\n\n[Docs](https://wflynn.cn/pages/alert#alert)"},"vft-auto-complete":{"attributes":["model-value / v-model","placeholder","clearable","disabled","value-key","debounce","placement","fetch-suggestions","trigger-on-focus","select-when-unmatched","name","label","hide-loading","popper-class","popper-append-to-body ^(deprecated)","teleported","highlight-first-item","fit-input-width","select","change"],"description":"自动补全输入框 根据输入内容提供对应的输入建议。\n\n[Docs](https://wflynn.cn/pages/autocomplete#autocomplete)"},"vft-avatar":{"attributes":["icon","size","shape","src","src-set","alt","fit"],"description":"Avatar 组件可以用来代表人物或对象, 支持使用图片、图标或者文字作为 Avatar。\n\n[Docs](https://wflynn.cn/pages/avatar#avatar)"},"vft-backtop":{"attributes":["target","visibility-height","right","bottom"],"description":"返回页面顶部的操作按钮。\n\n[Docs](https://wflynn.cn/pages/backtop#backtop)"},"vft-button":{"attributes":["size","type","plain","text","bg","link<VersionTag version=\"2.2.1\" />","round","circle","loading","loading-icon","disabled","icon","autofocus","native-type","auto-insert-space","color","dark"],"description":"常用的操作按钮。\n\n[Docs](https://wflynn.cn/pages/button#button)"},"vft-button-group":{"description":"[Docs](https://wflynn.cn/pages/button#buttongroup)"},"vft-card":{"attributes":["header","body-style","shadow"],"description":"将信息聚合在卡片容器中展示。\n\n[Docs](https://wflynn.cn/pages/card#card)"},"vft-carousel":{"attributes":["height","initial-index","trigger","autoplay","interval","indicator-position","arrow","type","loop","direction","pause-on-hover","change"],"description":"在有限空间内,循环播放同一类型的图片、文字等内容\n\n[Docs](https://wflynn.cn/pages/carousel#carousel)"},"vft-carousel-item":{"attributes":["name","label"],"description":"[Docs](https://wflynn.cn/pages/carousel#carousel-item)"},"vft-checkbox":{"attributes":["model-value / v-model","label","true-label","false-label","disabled","border","size","name","checked","indeterminate","validate-event","tabindex","id","controls ^(a11y)","change"],"description":"在一组备选项中进行多选。\n\n[Docs](https://wflynn.cn/pages/checkbox#checkbox)"},"vft-checkbox-group":{"attributes":["model-value / v-model","size","disabled","min","max","label","text-color","fill","tag","validate-event","change"],"description":"[Docs](https://wflynn.cn/pages/checkbox#checkboxgroup)"},"vft-checkbox-button":{"attributes":["label","true-label","false-label","disabled","name","checked"],"description":"[Docs](https://wflynn.cn/pages/checkbox#checkboxbutton)"},"vft-clamp":{"attributes":["text","maxHeight","maxLines","expanded","ellipsis","autoResize","location"],"description":"文字...省略\n\n[Docs](https://wflynn.cn/pages/clamp#clamp)"},"vft-color-picker":{"attributes":["model-value / v-model","disabled","size","show-alpha","color-format","popper-class","predefine","validate-event","tabindex","label<A11yTag/>","id","change","active-change"],"description":"用于颜色选择,支持多种格式。\n\n[Docs](https://wflynn.cn/pages/color-picker#colorpicker)"},"vft-config-provider":{"attributes":["locale","size","zIndex","namespace","button","message","experimental-features"],"description":"Config Provider 被用来提供全局的配置选项,让你的配置能够在全局都能够被访问到。\n\n[Docs](https://wflynn.cn/pages/config-provider#config-provider)"},"vft-container":{"attributes":["direction"],"description":"[Docs](https://wflynn.cn/pages/container#container)"},"vft-header":{"attributes":["height"],"description":"[Docs](https://wflynn.cn/pages/container#header)"},"vft-aside":{"attributes":["width"],"description":"[Docs](https://wflynn.cn/pages/container#aside)"},"vft-main":{"description":"[Docs](https://wflynn.cn/pages/container#main)"},"vft-footer":{"attributes":["height"],"description":"[Docs](https://wflynn.cn/pages/container#footer)"},"vft-date-picker":{"attributes":["model-value / v-model","readonly","disabled","size","editable","clearable","placeholder","start-placeholder","end-placeholder","type","format","popper-class","popper-options","range-separator","default-value","default-time","value-format","id","name","unlink-panels","prefix-icon","clear-icon","validate-event","disabled-date","shortcuts","cell-class-name","teleported","change","blur","focus","calendar-change","panel-change","visible-change"],"description":"用于选择或输入日期\n\n[Docs](https://wflynn.cn/pages/date-picker#datepicker)"},"vft-date-time-picker":{"attributes":["model-value / v-model","readonly","disabled","editable","clearable","size","placeholder","start-placeholder","end-placeholder","time-arrow-control","type","format","popper-class","range-separator","default-value","default-time","value-format","id","name","unlink-panels","prefix-icon","clear-icon","shortcuts","disabled-date","cell-class-name","teleported","change","blur","focus","calendar-change","visible-change"],"description":"在同一个选择器里选择日期和时间\n\n[Docs](https://wflynn.cn/pages/datetime-picker#datetimepicker)"},"vft-descriptions":{"attributes":["border","column","direction","size","title","extra"],"description":"列表形式展示多个字段。\n\n[Docs](https://wflynn.cn/pages/descriptions#descriptions)"},"vft-descriptions-item":{"attributes":["label","span","width","min-width","align","label-align","class-name","label-class-name"],"description":"[Docs](https://wflynn.cn/pages/descriptions#descriptions-item)"},"vft-dialog":{"attributes":["model-value / v-model","title","width","fullscreen","top","modal","modal-penetrable","modal-class","header-class","body-class","footer-class","append-to-body","append-to","lock-scroll","open-delay","close-delay","close-on-click-modal","close-on-press-escape","show-close","before-close","draggable","overflow","center","align-center","destroy-on-close","close-icon","z-index","header-aria-level","transition","custom-class","open","opened","close","closed","open-auto-focus","close-auto-focus"],"description":"在保留当前页面状态的情况下,告知用户并承载相关操作。\n\n[Docs](https://wflynn.cn/pages/dialog#dialog)"},"vft-divider":{"attributes":["direction","border-style","content-position"],"description":"区隔内容的分割线。\n\n[Docs](https://wflynn.cn/pages/divider#divider)"},"vft-drawer":{"attributes":["model-value / v-model","append-to-body","lock-scroll","before-close","close-on-click-modal","close-on-press-escape","open-delay","close-delay","custom-class ^(deprecated)","destroy-on-close","modal","direction","show-close","size","title","with-header","modal-class","z-index","open","opened","close","closed"],"description":"有些时候, `Dialog` 组件并不满足我们的需求, 比如你的表单很长, 亦或是你需要临时展示一些文档, `Drawer`\n\n[Docs](https://wflynn.cn/pages/drawer#drawer)"},"vft-dropdown":{"attributes":["type","size","max-height","split-button","disabled","placement","trigger","hide-on-click","show-timeout","hide-timeout","role","tabindex","popper-class","popper-options","teleported","click","command","visible-change"],"description":"将动作或菜单折叠到下拉菜单中。\n\n[Docs](https://wflynn.cn/pages/dropdown#dropdown)"},"vft-dropdown-menu":{"description":"[Docs](https://wflynn.cn/pages/dropdown#dropdown-menu)"},"vft-dropdown-item":{"attributes":["command","disabled","divided","icon"],"description":"[Docs](https://wflynn.cn/pages/dropdown#dropdown-item)"},"vft-empty":{"attributes":["image","image-size","description"],"description":"空状态时的占位提示。\n\n[Docs](https://wflynn.cn/pages/empty#empty)"},"vft-form":{"attributes":["model","rules","inline","label-position","label-width","label-suffix","hide-required-asterisk","require-asterisk-position","show-message","inline-message","status-icon","validate-on-rule-change","size","disabled","scroll-to-error","scroll-into-view-options","validate"],"description":"表单包含 `输入框`, `单选框`, `下拉选择`, `多选框` 等用户输入的组件。 使用表单,您可以收集、验证和提交数据。\n\n[Docs](https://wflynn.cn/pages/form#form)"},"vft-form-item":{"attributes":["prop","label","label-width","required","rules","error","show-message","inline-message","size","for","validate-status"],"description":"[Docs](https://wflynn.cn/pages/form#formitem)"},"vft-icon":{"attributes":["icon","size","color","hoverColor","rotate","rotateSpeed","pointer"],"description":"图标 [图标资源地址]\n\n[Docs](https://wflynn.cn/pages/icon#icon)"},"vft-image":{"attributes":["src","fit","hide-on-click-modal","`loading` ^(2.2.3)","lazy","scroll-container","alt","referrerpolicy","preview-src-list","z-index","initial-index","close-on-press-escape","preview-teleported","load","error","switch","close"],"description":"图片容器,在保留所有原生 img 的特性下,支持懒加载,自定义占位、加载失败等\n\n[Docs](https://wflynn.cn/pages/image#image)"},"vft-image-viewer":{"attributes":["url-list","z-index","initial-index","infinite","hide-on-click-modal","teleported","zoom-rate","close","switch"],"description":"[Docs](https://wflynn.cn/pages/image#image-viewer)"},"vft-input-number":{"attributes":["model-value / v-model","min","max","step","step-strictly","precision","size","readonly","disabled","controls","controls-position","name","label","placeholder","id","value-on-clear ^(2.2.0)","validate-event","change","blur","focus"],"description":"仅允许输入标准的数字值,可定义范围\n\n[Docs](https://wflynn.cn/pages/input-number#input-number)"},"vft-input":{"attributes":["type","model-value / v-model","maxlength","minlength","show-word-limit","placeholder","clearable","formatter","parser","show-password","disabled","size","prefix-icon","suffix-icon","rows","autosize","autocomplete","name","readonly","max","min","step","resize","autofocus","form","label ^(a11y)","tabindex","validate-event","input-style","blur","focus","change","input","clear"],"description":"通过鼠标或键盘输入字符\n\n[Docs](https://wflynn.cn/pages/input#input)"},"vft-row":{"attributes":["gutter","justify","align","tag"],"description":"[Docs](https://wflynn.cn/pages/layout#row)"},"vft-col":{"attributes":["span","offset","push","pull","xs","sm","md","lg","xl","tag"],"description":"[Docs](https://wflynn.cn/pages/layout#col)"},"vft-link":{"attributes":["type","underline","disabled","href","icon"],"description":"文字超链接\n\n[Docs](https://wflynn.cn/pages/link#link)"},"vft-list-cell":{"attributes":["list","cellHeight","leftTextDistance","activeIndex","item-click"],"description":"菜单列表\n\n[Docs](https://wflynn.cn/pages/list-cell#listcell)"},"vft-logo":{"attributes":["title","logo","jump-path","click"],"description":"用于展示品牌 `logo` 和标题的组件,支持点击跳转功能。\n\n[Docs](https://wflynn.cn/pages/logo#logo)"},"vft-menu":{"attributes":["mode","collapse","ellipsis","default-active","default-openeds","unique-opened","menu-trigger","router","collapse-transition","popper-effect","select","open","close"],"description":"为网站提供导航功能的菜单。\n\n[Docs](https://wflynn.cn/pages/menu#menu)"},"vft-sub-menu":{"attributes":["index","popper-class","show-timeout","hide-timeout","disabled","popper-append-to-body(已废弃)","teleported","popper-offset","expand-close-icon","expand-open-icon","collapse-close-icon","collapse-open-icon"],"description":"[Docs](https://wflynn.cn/pages/menu#submenu)"},"vft-menu-item":{"attributes":["index","route","disabled","click"],"description":"[Docs](https://wflynn.cn/pages/menu#menu-item)"},"vft-menu-item-group":{"attributes":["title"],"description":"[Docs](https://wflynn.cn/pages/menu#menu-item-group)"},"vft-message-消息提示":{"attributes":["message","type","icon","closeIcon","dangerouslyUseHTMLString","customClass","duration","showClose","center","onClose","offset","zIndex","grouping","repeatNum","appendTo"],"description":"常用于主动操作后的反馈提示。与 `Notification` 的区别是后者更多用于系统级通知的被动提醒。\n\n[Docs](https://wflynn.cn/pages/message#message-消息提示)"},"vft-modal":{"attributes":["model-value / v-model","title","width","fullscreen","top","modal","append-to-body","lock-scroll","open-delay","close-delay","close-on-click-modal","close-on-press-escape","show-close","before-close","draggable","center","align-center","destroy-on-close","showActionButtonGroup","showSubmitButton","showCancelButton","submitButtonOptions","cancelButtonOptions","actionRowOptions","open","opened","close","closed","open-auto-focus","close-auto-focus"],"description":"在保留当前页面状态的情况下,告知用户并承载相关操作。\n\n[Docs](https://wflynn.cn/pages/modal#modal)"},"vft-page-wrapper":{"attributes":["title"],"description":"页面 demo 容器\n\n[Docs](https://wflynn.cn/pages/page-wrapper#pagewrapper)"},"vft-pagination":{"attributes":["small","background","page-size / v-model:page-size","default-page-size","total","page-count","pager-count","current-page / v-model:current-page","default-current-page","layout","page-sizes","popper-class","prev-text","prev-icon","next-text","next-icon","disabled","hide-on-single-page","size-change","current-change","prev-click","next-click"],"description":"当数据量过多时,使用分页分解数据。\n\n[Docs](https://wflynn.cn/pages/pagination#pagination)"},"vft-popconfirm":{"attributes":["title","confirm-button-text","cancel-button-text","confirm-button-type","cancel-button-type","icon","icon-color","hide-icon","hide-after","teleported","persistent","width"],"description":"点击某个元素弹出一个简单的气泡确认框\n\n[Docs](https://wflynn.cn/pages/popconfirm#popconfirm)"},"vft-popover":{"attributes":["trigger","trigger-keys","title","effect","content","width","placement","disabled","visible / v-model:visible","offset","transition","show-arrow","popper-options","popper-class","popper-style","show-after","hide-after","auto-close","tabindex","teleported","append-to","persistent","virtual-triggering","virtual-ref","show","before-enter","after-enter","hide","before-leave","after-leave"],"description":"<!-- more -->\n\n[Docs](https://wflynn.cn/pages/popover#popover)"},"vft-progress":{"attributes":["percentage","type","stroke-width","text-inside","status","indeterminate","duration","color","width","show-text","stroke-linecap","format","striped","striped-flow"],"description":"用于展示操作进度,告知用户当前状态和预期。\n\n[Docs](https://wflynn.cn/pages/progress#progress)"},"vft-radio":{"attributes":["model-value / v-model","label","disabled","border","size","name","change"],"description":"在一组备选项中进行单选\n\n[Docs](https://wflynn.cn/pages/radio#radio)"},"vft-radio-group":{"attributes":["model-value / v-model","size","disabled","text-color","fill","validate-event","label ^(a11y)","name","id","change"],"description":"[Docs](https://wflynn.cn/pages/radio#radiogroup)"},"vft-radio-button":{"attributes":["label","disabled","name"],"description":"[Docs](https://wflynn.cn/pages/radio#radiobutton)"},"vft-result":{"attributes":["title","sub-title","icon"],"description":"用于对用户的操作结果或者异常状态做反馈。\n\n[Docs](https://wflynn.cn/pages/result#result)"},"vft-scrollbar":{"attributes":["height","max-height","native","wrap-style","wrap-class","view-style","view-class","noresize","tag","always","min-size","scroll"],"description":"用于替换浏览器原生滚动条。\n\n[Docs](https://wflynn.cn/pages/scrollbar#scrollbar)"},"vft-select":{"attributes":["model-value / v-model","options","multiple","disabled","value-key","size","clearable","clear-icon","collapse-tags","multiple-limit","name","effect","autocomplete","placeholder","filterable","allow-create","reserve-keyword","no-data-text","popper-class","popper-append-to-body ^(deprecated)","teleported","persistent","popper-options","automatic-dropdown","height","scrollbar-always-on","remote","remote-method","validate-event","placement","collapse-tags-tooltip","change","visible-change","remove-tag","clear","blur","focus"],"description":"在某些使用情况下,单个选择器可能最终加载数万行数据。 将这么多的数据渲染至 DOM 中可能会给浏览器带来负担,从而造成性能问题。\n\n[Docs](https://wflynn.cn/pages/select#select)"},"vft-side-menu-侧边菜单":{"attributes":["menus","width","height","collapse","collapse-width","is-fixed-left","show-collapse","default-active","default-openeds","default-openeds-level","unique-opened","attr-mapping","menu-top-bottom-height","drag-option","drag-width-cfg","use-router-jump","open-disabled","disabled-judge-turn-over","auto-scroll-active-dom","open-menu-collapse","disable-sub-menu-action","select","update:collapse","update:width","drag-end","drag-width-end","sub-menu-click","sub-menu-open-click","menu-item-mouseenter","menu-item-mouseleave"],"description":"侧边导航菜单组件,提供丰富的功能配置,支持折叠、拖拽宽度、自定义属性映射等特性。\n\n[Docs](https://wflynn.cn/pages/side-menu#sidemenu-侧边菜单)"},"vft-skeleton-item":{"attributes":["variant"],"description":"[Docs](https://wflynn.cn/pages/skeleton#skeletonitem)"},"vft-space":{"attributes":["alignment","class","direction","prefix-cls","style","spacer","size","wrap","fill","fill-ratio"],"description":"虽然我们拥有 [Divider 组件]\n\n[Docs](https://wflynn.cn/pages/space#space)"},"vft-switch":{"attributes":["model-value / v-model","disabled","loading","size","width","inline-prompt","active-icon","inactive-icon","active-text","inactive-text","active-value","inactive-value","active-color","inactive-color","border-color","name","validate-event","before-change","change"],"description":"表示两种相互对立的状态间的切换,多用于触发「开/关」。\n\n[Docs](https://wflynn.cn/pages/switch#switch)"},"vft-table-表格":{"attributes":["api","columns","data","loading","stripe","border","align","headerAlign","showHeader","showOverflow","height","maxHeight","minHeight","fit","rowkey","pageSize","total","immediate","showPager","sticky","fetchSetting","watchApiFetch","beforeFetch","afterFetch","delEmptyParams","transformParams","extraParams","extraSysHeight","pageHeight","pagination","formOptions","emptyCfg","columnConfig","rowConfig","toolbarConfig","change","page-change","current-row-change","cell-click","cell-dblclick","sort-change","filter-change","fetch-success"],"description":"用于展示多条结构类似的数据,可对数据进行排序、筛选、对比或其他自定义操作。基于 `VXE Table` 进行封装,提供了更便捷的数据获取和分页功能。\n\n[Docs](https://wflynn.cn/pages/table#table-表格)"},"vft-tabs":{"attributes":["model-value / v-model","type","closable","addable","editable","tab-position","stretch","before-leave","tab-click","tab-change","tab-remove","tab-add","edit"],"description":"分隔内容上有关联但属于不同类别的数据集合。\n\n[Docs](https://wflynn.cn/pages/tabs#tabs)"},"vft-tab-pane":{"attributes":["label","disabled","name","closable","lazy"],"description":"[Docs](https://wflynn.cn/pages/tabs#tab-pane)"},"vft-check-tag":{"attributes":["checked","change"],"description":"[Docs](https://wflynn.cn/pages/tag#checktag)"},"vft-tag":{"attributes":["type","closable","disable-transitions","hit","color","size","effect","round","click","close"],"description":"用于标记和选择。\n\n[Docs](https://wflynn.cn/pages/tag#tag)"},"vft-time-picker":{"attributes":["model-value / v-model","readonly","disabled","editable","clearable","size","placeholder","start-placeholder","end-placeholder","is-range","arrow-control","popper-class","range-separator","format","default-value","id","name","label ^(a11y)","prefix-icon","clear-icon","disabled-hours","disabled-minutes","disabled-seconds","teleported","tabindex","change","blur","focus","visible-change"],"description":"用于选择或输入日期\n\n[Docs](https://wflynn.cn/pages/time-picker#timepicker)"},"vft-tooltip":{"attributes":["role","show-arrow","arrow-offset","virtual-ref","virtual-triggering","id","open","boundaries-padding","fallback-placements","gpu-acceleration","offset","placement","popper-options","strategy","style","className","effect","visible / v-model:visible","enterable","pure","focus-on-show","trapping","popper-class","popper-style","reference-el","trigger-target-el","stop-popper-mouse-event","aria-label ^(a11y)","before-show","before-hide","show","hide","open","close"],"description":"常用于展示鼠标 hover 时的提示信息。\n\n[Docs](https://wflynn.cn/pages/tooltip#tooltip)"},"vft-tree":{"attributes":["data","empty-text","node-key","props","render-after-expand","load","render-content","highlight-current","default-expand-all","expand-on-click-node","check-on-click-node","auto-expand-parent","default-expanded-keys","show-checkbox","check-strictly","default-checked-keys","current-node-key","filter-node-method","accordion","indent","icon","lazy","draggable","allow-drag","allow-drop","node-click","node-contextmenu","check-change","check","current-change","node-expand","node-collapse","node-drag-start","node-drag-enter","node-drag-leave","node-drag-over","node-drag-end","node-drop"],"description":"用清晰的层级结构展示信息,可展开或折叠。\n\n[Docs](https://wflynn.cn/pages/tree#tree)"},"vft-upload":{"attributes":["action","headers","method","multiple","data","name","with-credentials","show-file-list","drag","accept","on-preview","on-remove","on-success","on-error","on-progress","on-change","on-exceed","before-upload","before-remove","file-list` / `v-model:file-list","list-type","auto-upload","http-request","disabled","limit"],"description":"通过点击或者拖拽上传文件。\n\n[Docs](https://wflynn.cn/pages/upload#upload)"},"vft-date-time-select":{"attributes":["dateList","defaultFormat","placement","change"],"description":"自定义时间选择器\n\n[Docs](https://wflynn.cn/pages/date-time-select#datetimeselect)"},"vft-horizontal-menu":{"attributes":["menus","defaultActive","defaultOpeneds","attrMapping","useRouterJump","openDisabled","disabledJudgeTurnOver","subMenuCfg","maxRowLength","open","close"],"description":"自定义时间选择器\n\n[Docs](https://wflynn.cn/pages/horizontal-menu#horizontalmenu)"},"vft-icon-text":{"attributes":["text","icon","color","hoverColor","distance","reverse","size","direction","pointer"],"description":"文字与图标组合\n\n[Docs](https://wflynn.cn/pages/icon-text#icontext)"},"vft-search":{"attributes":["modelValue","placeholder","prefixIcon","suffixIcon","clearable","clearIcon","width","activeWidth","usePopover","popoverCfg","update:modelValue","blur","focus","clear","enter","prefixClick","suffixClick","mouseenter","mouseleave","keydown","change"],"description":"搜索,以及搜索框\n\n[Docs](https://wflynn.cn/pages/search#search)"},"vft-side-menu":{"attributes":["menus","uniqueOpened","isFixedLeft","autoScrollActiveDom","collapse","defaultActive","defaultOpeneds","width","collapseWidth","height","attrMapping","extraHeight","menuTopBottomHeight","showCollapse","dragOption","dragWidthCfg","useRouterJump","openDisabled","update:collapse","update:width","dragEnd","dragWidthEnd","select","menuItemMouseenter","menuItemMouseleave"],"description":"自定义时间选择器\n\n[Docs](https://wflynn.cn/pages/side-menu#sidemenu)"},"vft-super-form":{"attributes":["register","submit"],"description":"自定义时间选择器\n\n[Docs](https://wflynn.cn/pages/super-form#superform)"}}
1
+ {"vft-alert":{"attributes":["title","type","description","closable","center","close-text","show-icon","effect"],"description":"提示 用于页面中展示重要的提示信息。\n\n[Docs](https://wflynn.cn/pages/alert#alert)"},"vft-auto-complete":{"attributes":["model-value / v-model","placeholder","clearable","disabled","value-key","debounce","placement","fetch-suggestions","trigger-on-focus","select-when-unmatched","name","label","hide-loading","popper-class","popper-append-to-body ^(deprecated)","teleported","highlight-first-item","fit-input-width","select","change"],"description":"自动补全输入框 根据输入内容提供对应的输入建议。\n\n[Docs](https://wflynn.cn/pages/autocomplete#autocomplete)"},"vft-avatar":{"attributes":["icon","size","shape","src","src-set","alt","fit"],"description":"Avatar 组件可以用来代表人物或对象, 支持使用图片、图标或者文字作为 Avatar。\n\n[Docs](https://wflynn.cn/pages/avatar#avatar)"},"vft-backtop":{"attributes":["target","visibility-height","right","bottom"],"description":"返回页面顶部的操作按钮。\n\n[Docs](https://wflynn.cn/pages/backtop#backtop)"},"vft-button":{"attributes":["size","type","plain","text","bg","link<VersionTag version=\"2.2.1\" />","round","circle","loading","loading-icon","disabled","icon","autofocus","native-type","auto-insert-space","color","dark"],"description":"常用的操作按钮。\n\n[Docs](https://wflynn.cn/pages/button#button)"},"vft-button-group":{"description":"[Docs](https://wflynn.cn/pages/button#buttongroup)"},"vft-card":{"attributes":["header","body-style","shadow"],"description":"将信息聚合在卡片容器中展示。\n\n[Docs](https://wflynn.cn/pages/card#card)"},"vft-carousel":{"attributes":["height","initial-index","trigger","autoplay","interval","indicator-position","arrow","type","loop","direction","pause-on-hover","change"],"description":"在有限空间内,循环播放同一类型的图片、文字等内容\n\n[Docs](https://wflynn.cn/pages/carousel#carousel)"},"vft-carousel-item":{"attributes":["name","label"],"description":"[Docs](https://wflynn.cn/pages/carousel#carousel-item)"},"vft-checkbox":{"attributes":["model-value / v-model","label","true-label","false-label","disabled","border","size","name","checked","indeterminate","validate-event","tabindex","id","controls ^(a11y)","change"],"description":"在一组备选项中进行多选。\n\n[Docs](https://wflynn.cn/pages/checkbox#checkbox)"},"vft-checkbox-group":{"attributes":["model-value / v-model","size","disabled","min","max","label","text-color","fill","tag","validate-event","change"],"description":"[Docs](https://wflynn.cn/pages/checkbox#checkboxgroup)"},"vft-checkbox-button":{"attributes":["label","true-label","false-label","disabled","name","checked"],"description":"[Docs](https://wflynn.cn/pages/checkbox#checkboxbutton)"},"vft-clamp":{"attributes":["text","maxHeight","maxLines","expanded","ellipsis","autoResize","location"],"description":"文字...省略\n\n[Docs](https://wflynn.cn/pages/clamp#clamp)"},"vft-color-picker":{"attributes":["model-value / v-model","disabled","size","show-alpha","color-format","popper-class","predefine","validate-event","tabindex","label<A11yTag/>","id","change","active-change"],"description":"用于颜色选择,支持多种格式。\n\n[Docs](https://wflynn.cn/pages/color-picker#colorpicker)"},"vft-config-provider":{"attributes":["locale","size","zIndex","namespace","button","message","experimental-features"],"description":"Config Provider 被用来提供全局的配置选项,让你的配置能够在全局都能够被访问到。\n\n[Docs](https://wflynn.cn/pages/config-provider#config-provider)"},"vft-container":{"attributes":["direction"],"description":"[Docs](https://wflynn.cn/pages/container#container)"},"vft-header":{"attributes":["height"],"description":"[Docs](https://wflynn.cn/pages/container#header)"},"vft-aside":{"attributes":["width"],"description":"[Docs](https://wflynn.cn/pages/container#aside)"},"vft-main":{"description":"[Docs](https://wflynn.cn/pages/container#main)"},"vft-footer":{"attributes":["height"],"description":"[Docs](https://wflynn.cn/pages/container#footer)"},"vft-date-picker":{"attributes":["model-value / v-model","readonly","disabled","size","editable","clearable","placeholder","start-placeholder","end-placeholder","type","format","popper-class","popper-options","range-separator","default-value","default-time","value-format","id","name","unlink-panels","prefix-icon","clear-icon","validate-event","disabled-date","shortcuts","cell-class-name","teleported","change","blur","focus","calendar-change","panel-change","visible-change"],"description":"用于选择或输入日期\n\n[Docs](https://wflynn.cn/pages/date-picker#datepicker)"},"vft-date-time-picker":{"attributes":["model-value / v-model","readonly","disabled","editable","clearable","size","placeholder","start-placeholder","end-placeholder","time-arrow-control","type","format","popper-class","range-separator","default-value","default-time","value-format","id","name","unlink-panels","prefix-icon","clear-icon","shortcuts","disabled-date","cell-class-name","teleported","change","blur","focus","calendar-change","visible-change"],"description":"在同一个选择器里选择日期和时间\n\n[Docs](https://wflynn.cn/pages/datetime-picker#datetimepicker)"},"vft-descriptions":{"attributes":["border","column","direction","size","title","extra"],"description":"列表形式展示多个字段。\n\n[Docs](https://wflynn.cn/pages/descriptions#descriptions)"},"vft-descriptions-item":{"attributes":["label","span","width","min-width","align","label-align","class-name","label-class-name"],"description":"[Docs](https://wflynn.cn/pages/descriptions#descriptions-item)"},"vft-dialog":{"attributes":["model-value / v-model","title","width","fullscreen","top","modal","modal-penetrable","modal-class","header-class","body-class","footer-class","append-to-body","append-to","lock-scroll","open-delay","close-delay","close-on-click-modal","close-on-press-escape","show-close","before-close","draggable","overflow","center","align-center","destroy-on-close","close-icon","z-index","header-aria-level","transition","custom-class","open","opened","close","closed","open-auto-focus","close-auto-focus"],"description":"在保留当前页面状态的情况下,告知用户并承载相关操作。\n\n[Docs](https://wflynn.cn/pages/dialog#dialog)"},"vft-divider":{"attributes":["direction","border-style","content-position"],"description":"区隔内容的分割线。\n\n[Docs](https://wflynn.cn/pages/divider#divider)"},"vft-drawer":{"attributes":["model-value / v-model","append-to-body","lock-scroll","before-close","close-on-click-modal","close-on-press-escape","open-delay","close-delay","custom-class ^(deprecated)","destroy-on-close","modal","direction","show-close","size","title","with-header","modal-class","z-index","open","opened","close","closed"],"description":"有些时候, `Dialog` 组件并不满足我们的需求, 比如你的表单很长, 亦或是你需要临时展示一些文档, `Drawer`\n\n[Docs](https://wflynn.cn/pages/drawer#drawer)"},"vft-dropdown":{"attributes":["type","size","max-height","split-button","disabled","placement","trigger","hide-on-click","show-timeout","hide-timeout","role","tabindex","popper-class","popper-options","teleported","click","command","visible-change"],"description":"将动作或菜单折叠到下拉菜单中。\n\n[Docs](https://wflynn.cn/pages/dropdown#dropdown)"},"vft-dropdown-menu":{"description":"[Docs](https://wflynn.cn/pages/dropdown#dropdown-menu)"},"vft-dropdown-item":{"attributes":["command","disabled","divided","icon"],"description":"[Docs](https://wflynn.cn/pages/dropdown#dropdown-item)"},"vft-empty":{"attributes":["image","image-size","description"],"description":"空状态时的占位提示。\n\n[Docs](https://wflynn.cn/pages/empty#empty)"},"vft-form":{"attributes":["model","rules","inline","label-position","label-width","label-suffix","hide-required-asterisk","require-asterisk-position","show-message","inline-message","status-icon","validate-on-rule-change","size","disabled","scroll-to-error","scroll-into-view-options","validate"],"description":"表单包含 `输入框`, `单选框`, `下拉选择`, `多选框` 等用户输入的组件。 使用表单,您可以收集、验证和提交数据。\n\n[Docs](https://wflynn.cn/pages/form#form)"},"vft-form-item":{"attributes":["prop","label","label-width","required","rules","error","show-message","inline-message","size","for","validate-status"],"description":"[Docs](https://wflynn.cn/pages/form#formitem)"},"vft-icon":{"attributes":["icon","size","color","hoverColor","rotate","rotateSpeed","pointer"],"description":"图标 [图标资源地址]\n\n[Docs](https://wflynn.cn/pages/icon#icon)"},"vft-image":{"attributes":["src","fit","hide-on-click-modal","`loading` ^(2.2.3)","lazy","scroll-container","alt","referrerpolicy","preview-src-list","z-index","initial-index","close-on-press-escape","preview-teleported","load","error","switch","close"],"description":"图片容器,在保留所有原生 img 的特性下,支持懒加载,自定义占位、加载失败等\n\n[Docs](https://wflynn.cn/pages/image#image)"},"vft-image-viewer":{"attributes":["url-list","z-index","initial-index","infinite","hide-on-click-modal","teleported","zoom-rate","close","switch"],"description":"[Docs](https://wflynn.cn/pages/image#image-viewer)"},"vft-input-number":{"attributes":["model-value / v-model","min","max","step","step-strictly","precision","size","readonly","disabled","controls","controls-position","name","label","placeholder","id","value-on-clear ^(2.2.0)","validate-event","change","blur","focus"],"description":"仅允许输入标准的数字值,可定义范围\n\n[Docs](https://wflynn.cn/pages/input-number#input-number)"},"vft-input":{"attributes":["type","model-value / v-model","maxlength","minlength","show-word-limit","placeholder","clearable","formatter","parser","show-password","disabled","size","prefix-icon","suffix-icon","rows","autosize","autocomplete","name","readonly","max","min","step","resize","autofocus","form","label ^(a11y)","tabindex","validate-event","input-style","blur","focus","change","input","clear"],"description":"通过鼠标或键盘输入字符\n\n[Docs](https://wflynn.cn/pages/input#input)"},"vft-row":{"attributes":["gutter","justify","align","tag"],"description":"[Docs](https://wflynn.cn/pages/layout#row)"},"vft-col":{"attributes":["span","offset","push","pull","xs","sm","md","lg","xl","tag"],"description":"[Docs](https://wflynn.cn/pages/layout#col)"},"vft-link":{"attributes":["type","underline","disabled","href","icon"],"description":"文字超链接\n\n[Docs](https://wflynn.cn/pages/link#link)"},"vft-list-cell":{"attributes":["list","cellHeight","leftTextDistance","activeIndex","item-click"],"description":"菜单列表\n\n[Docs](https://wflynn.cn/pages/list-cell#listcell)"},"vft-logo":{"attributes":["title","logo","jump-path","click"],"description":"用于展示品牌 `logo` 和标题的组件,支持点击跳转功能。\n\n[Docs](https://wflynn.cn/pages/logo#logo)"},"vft-menu":{"attributes":["mode","collapse","ellipsis","default-active","default-openeds","unique-opened","menu-trigger","router","collapse-transition","popper-effect","select","open","close"],"description":"为网站提供导航功能的菜单。\n\n[Docs](https://wflynn.cn/pages/menu#menu)"},"vft-sub-menu":{"attributes":["index","popper-class","show-timeout","hide-timeout","disabled","popper-append-to-body(已废弃)","teleported","popper-offset","expand-close-icon","expand-open-icon","collapse-close-icon","collapse-open-icon"],"description":"[Docs](https://wflynn.cn/pages/menu#submenu)"},"vft-menu-item":{"attributes":["index","route","disabled","click"],"description":"[Docs](https://wflynn.cn/pages/menu#menu-item)"},"vft-menu-item-group":{"attributes":["title"],"description":"[Docs](https://wflynn.cn/pages/menu#menu-item-group)"},"vft-message-消息提示":{"attributes":["message","type","icon","closeIcon","dangerouslyUseHTMLString","customClass","duration","showClose","center","onClose","offset","zIndex","grouping","repeatNum","appendTo"],"description":"常用于主动操作后的反馈提示。与 `Notification` 的区别是后者更多用于系统级通知的被动提醒。\n\n[Docs](https://wflynn.cn/pages/message#message-消息提示)"},"vft-modal-模态框":{"attributes":["modelValue / v-model","title","width","fullscreen","top","modal","modalClass","appendTo","appendToBody","lockScroll","customClass","openDelay","closeDelay","closeOnClickModal","closeOnPressEscape","showClose","beforeClose","draggable","center","alignCenter","destroyOnClose","closeFunc","showActionButtonGroup","showSubmitButton","showCancelButton","submitButtonOptions","cancelButtonOptions","actionRowOptions","confirmLoading","loading","open","opened","close","closed","open-auto-focus","close-auto-focus","visible-change","submit","ok","register"],"description":"在保留当前页面状态的情况下,告知用户并承载相关操作。基于 `Dialog` 组件封装,提供了更便捷的操作按钮组和加载状态管理。\n\n[Docs](https://wflynn.cn/pages/modal#modal-模态框)"},"vft-page-wrapper":{"attributes":["title"],"description":"页面 demo 容器\n\n[Docs](https://wflynn.cn/pages/page-wrapper#pagewrapper)"},"vft-pagination":{"attributes":["small","background","page-size / v-model:page-size","default-page-size","total","page-count","pager-count","current-page / v-model:current-page","default-current-page","layout","page-sizes","popper-class","prev-text","prev-icon","next-text","next-icon","disabled","hide-on-single-page","size-change","current-change","prev-click","next-click"],"description":"当数据量过多时,使用分页分解数据。\n\n[Docs](https://wflynn.cn/pages/pagination#pagination)"},"vft-popconfirm":{"attributes":["title","confirm-button-text","cancel-button-text","confirm-button-type","cancel-button-type","icon","icon-color","hide-icon","hide-after","teleported","persistent","width"],"description":"点击某个元素弹出一个简单的气泡确认框\n\n[Docs](https://wflynn.cn/pages/popconfirm#popconfirm)"},"vft-popover":{"attributes":["trigger","trigger-keys","title","effect","content","width","placement","disabled","visible / v-model:visible","offset","transition","show-arrow","popper-options","popper-class","popper-style","show-after","hide-after","auto-close","tabindex","teleported","append-to","persistent","virtual-triggering","virtual-ref","show","before-enter","after-enter","hide","before-leave","after-leave"],"description":"<!-- more -->\n\n[Docs](https://wflynn.cn/pages/popover#popover)"},"vft-progress":{"attributes":["percentage","type","stroke-width","text-inside","status","indeterminate","duration","color","width","show-text","stroke-linecap","format","striped","striped-flow"],"description":"用于展示操作进度,告知用户当前状态和预期。\n\n[Docs](https://wflynn.cn/pages/progress#progress)"},"vft-radio":{"attributes":["model-value / v-model","label","disabled","border","size","name","change"],"description":"在一组备选项中进行单选\n\n[Docs](https://wflynn.cn/pages/radio#radio)"},"vft-radio-group":{"attributes":["model-value / v-model","size","disabled","text-color","fill","validate-event","label ^(a11y)","name","id","change"],"description":"[Docs](https://wflynn.cn/pages/radio#radiogroup)"},"vft-radio-button":{"attributes":["label","disabled","name"],"description":"[Docs](https://wflynn.cn/pages/radio#radiobutton)"},"vft-result":{"attributes":["title","sub-title","icon"],"description":"用于对用户的操作结果或者异常状态做反馈。\n\n[Docs](https://wflynn.cn/pages/result#result)"},"vft-scrollbar":{"attributes":["height","max-height","native","wrap-style","wrap-class","view-style","view-class","noresize","tag","always","min-size","scroll"],"description":"用于替换浏览器原生滚动条。\n\n[Docs](https://wflynn.cn/pages/scrollbar#scrollbar)"},"vft-select":{"attributes":["model-value / v-model","options","multiple","disabled","value-key","size","clearable","clear-icon","collapse-tags","multiple-limit","name","effect","autocomplete","placeholder","filterable","allow-create","reserve-keyword","no-data-text","popper-class","popper-append-to-body ^(deprecated)","teleported","persistent","popper-options","automatic-dropdown","height","scrollbar-always-on","remote","remote-method","validate-event","placement","collapse-tags-tooltip","change","visible-change","remove-tag","clear","blur","focus"],"description":"在某些使用情况下,单个选择器可能最终加载数万行数据。 将这么多的数据渲染至 DOM 中可能会给浏览器带来负担,从而造成性能问题。\n\n[Docs](https://wflynn.cn/pages/select#select)"},"vft-side-menu-侧边菜单":{"attributes":["menus","width","height","collapse","collapse-width","is-fixed-left","show-collapse","default-active","default-openeds","default-openeds-level","unique-opened","attr-mapping","menu-top-bottom-height","drag-option","drag-width-cfg","use-router-jump","open-disabled","disabled-judge-turn-over","auto-scroll-active-dom","open-menu-collapse","disable-sub-menu-action","select","update:collapse","update:width","drag-end","drag-width-end","sub-menu-click","sub-menu-open-click","menu-item-mouseenter","menu-item-mouseleave"],"description":"侧边导航菜单组件,提供丰富的功能配置,支持折叠、拖拽宽度、自定义属性映射等特性。\n\n[Docs](https://wflynn.cn/pages/side-menu#sidemenu-侧边菜单)"},"vft-skeleton-item":{"attributes":["variant"],"description":"[Docs](https://wflynn.cn/pages/skeleton#skeletonitem)"},"vft-space":{"attributes":["alignment","class","direction","prefix-cls","style","spacer","size","wrap","fill","fill-ratio"],"description":"虽然我们拥有 [Divider 组件]\n\n[Docs](https://wflynn.cn/pages/space#space)"},"vft-switch":{"attributes":["model-value / v-model","disabled","loading","size","width","inline-prompt","active-icon","inactive-icon","active-text","inactive-text","active-value","inactive-value","active-color","inactive-color","border-color","name","validate-event","before-change","change"],"description":"表示两种相互对立的状态间的切换,多用于触发「开/关」。\n\n[Docs](https://wflynn.cn/pages/switch#switch)"},"vft-table-表格":{"attributes":["api","columns","data","loading","stripe","border","align","headerAlign","showHeader","showOverflow","height","maxHeight","minHeight","fit","rowkey","pageSize","total","immediate","showPager","sticky","fetchSetting","watchApiFetch","beforeFetch","afterFetch","delEmptyParams","transformParams","extraParams","extraSysHeight","pageHeight","pagination","formOptions","emptyCfg","columnConfig","rowConfig","toolbarConfig","change","page-change","current-row-change","cell-click","cell-dblclick","sort-change","filter-change","fetch-success"],"description":"用于展示多条结构类似的数据,可对数据进行排序、筛选、对比或其他自定义操作。基于 `VXE Table` 进行封装,提供了更便捷的数据获取和分页功能。\n\n[Docs](https://wflynn.cn/pages/table#table-表格)"},"vft-tabs":{"attributes":["model-value / v-model","type","closable","addable","editable","tab-position","stretch","before-leave","tab-click","tab-change","tab-remove","tab-add","edit"],"description":"分隔内容上有关联但属于不同类别的数据集合。\n\n[Docs](https://wflynn.cn/pages/tabs#tabs)"},"vft-tab-pane":{"attributes":["label","disabled","name","closable","lazy"],"description":"[Docs](https://wflynn.cn/pages/tabs#tab-pane)"},"vft-check-tag":{"attributes":["checked","change"],"description":"[Docs](https://wflynn.cn/pages/tag#checktag)"},"vft-tag":{"attributes":["type","closable","disable-transitions","hit","color","size","effect","round","click","close"],"description":"用于标记和选择。\n\n[Docs](https://wflynn.cn/pages/tag#tag)"},"vft-time-picker":{"attributes":["model-value / v-model","readonly","disabled","editable","clearable","size","placeholder","start-placeholder","end-placeholder","is-range","arrow-control","popper-class","range-separator","format","default-value","id","name","label ^(a11y)","prefix-icon","clear-icon","disabled-hours","disabled-minutes","disabled-seconds","teleported","tabindex","change","blur","focus","visible-change"],"description":"用于选择或输入日期\n\n[Docs](https://wflynn.cn/pages/time-picker#timepicker)"},"vft-tooltip":{"attributes":["role","show-arrow","arrow-offset","virtual-ref","virtual-triggering","id","open","boundaries-padding","fallback-placements","gpu-acceleration","offset","placement","popper-options","strategy","style","className","effect","visible / v-model:visible","enterable","pure","focus-on-show","trapping","popper-class","popper-style","reference-el","trigger-target-el","stop-popper-mouse-event","aria-label ^(a11y)","before-show","before-hide","show","hide","open","close"],"description":"常用于展示鼠标 hover 时的提示信息。\n\n[Docs](https://wflynn.cn/pages/tooltip#tooltip)"},"vft-tree":{"attributes":["data","empty-text","node-key","props","render-after-expand","load","render-content","highlight-current","default-expand-all","expand-on-click-node","check-on-click-node","auto-expand-parent","default-expanded-keys","show-checkbox","check-strictly","default-checked-keys","current-node-key","filter-node-method","accordion","indent","icon","lazy","draggable","allow-drag","allow-drop","node-click","node-contextmenu","check-change","check","current-change","node-expand","node-collapse","node-drag-start","node-drag-enter","node-drag-leave","node-drag-over","node-drag-end","node-drop"],"description":"用清晰的层级结构展示信息,可展开或折叠。\n\n[Docs](https://wflynn.cn/pages/tree#tree)"},"vft-upload":{"attributes":["action","headers","method","multiple","data","name","with-credentials","show-file-list","drag","accept","on-preview","on-remove","on-success","on-error","on-progress","on-change","on-exceed","before-upload","before-remove","file-list` / `v-model:file-list","list-type","auto-upload","http-request","disabled","limit"],"description":"通过点击或者拖拽上传文件。\n\n[Docs](https://wflynn.cn/pages/upload#upload)"},"vft-date-time-select":{"attributes":["dateList","defaultFormat","placement","change"],"description":"自定义时间选择器\n\n[Docs](https://wflynn.cn/pages/date-time-select#datetimeselect)"},"vft-horizontal-menu":{"attributes":["menus","defaultActive","defaultOpeneds","attrMapping","useRouterJump","openDisabled","disabledJudgeTurnOver","subMenuCfg","maxRowLength","open","close"],"description":"自定义时间选择器\n\n[Docs](https://wflynn.cn/pages/horizontal-menu#horizontalmenu)"},"vft-icon-text":{"attributes":["text","icon","color","hoverColor","distance","reverse","size","direction","pointer"],"description":"文字与图标组合\n\n[Docs](https://wflynn.cn/pages/icon-text#icontext)"},"vft-search":{"attributes":["modelValue","placeholder","prefixIcon","suffixIcon","clearable","clearIcon","width","activeWidth","usePopover","popoverCfg","update:modelValue","blur","focus","clear","enter","prefixClick","suffixClick","mouseenter","mouseleave","keydown","change"],"description":"搜索,以及搜索框\n\n[Docs](https://wflynn.cn/pages/search#search)"},"vft-side-menu":{"attributes":["menus","uniqueOpened","isFixedLeft","autoScrollActiveDom","collapse","defaultActive","defaultOpeneds","width","collapseWidth","height","attrMapping","extraHeight","menuTopBottomHeight","showCollapse","dragOption","dragWidthCfg","useRouterJump","openDisabled","update:collapse","update:width","dragEnd","dragWidthEnd","select","menuItemMouseenter","menuItemMouseleave"],"description":"自定义时间选择器\n\n[Docs](https://wflynn.cn/pages/side-menu#sidemenu)"},"vft-super-form":{"attributes":["register","submit"],"description":"自定义时间选择器\n\n[Docs](https://wflynn.cn/pages/super-form#superform)"}}