fast-element-plus 2.0.21 → 2.0.23
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/CHANGELOG.md +27 -0
- package/dist/component.d.ts +88 -67
- package/dist/components/avatar/index.d.ts +3 -3
- package/dist/components/avatar/index.mjs.map +1 -1
- package/dist/components/avatar/src/avatar.d.ts +7 -7
- package/dist/components/button/index.d.ts +3 -3
- package/dist/components/button/index.mjs.map +1 -1
- package/dist/components/button/src/button.d.ts +7 -7
- package/dist/components/carNumber/index.d.ts +1 -1
- package/dist/components/carNumber/index.mjs.map +1 -1
- package/dist/components/carNumber/src/carNumber.d.ts +5 -5
- package/dist/components/contextMenu/index.d.ts +1 -1
- package/dist/components/contextMenu/index.mjs.map +1 -1
- package/dist/components/contextMenu/src/contextMenu.type.d.ts +1 -1
- package/dist/components/dialog/index.d.ts +3 -3
- package/dist/components/dialog/index.mjs.map +1 -1
- package/dist/components/dialog/src/dialog.d.ts +3 -3
- package/dist/components/drawer/index.d.ts +3 -3
- package/dist/components/drawer/index.mjs.map +1 -1
- package/dist/components/drawer/src/drawer.d.ts +3 -3
- package/dist/components/form/index.d.ts +4 -4
- package/dist/components/form/index.mjs.map +1 -1
- package/dist/components/form/src/form.d.ts +3 -3
- package/dist/components/form/src/formItem.d.ts +6 -6
- package/dist/components/form/utils/form.d.ts +2 -2
- package/dist/components/form/utils/form.mjs +2 -2
- package/dist/components/form/utils/form.mjs.map +1 -1
- package/dist/components/formItemTip/index.d.ts +2 -2
- package/dist/components/formItemTip/index.mjs.map +1 -1
- package/dist/components/icon/index.d.ts +2 -2
- package/dist/components/icon/index.mjs.map +1 -1
- package/dist/components/iconSelector/index.d.ts +1 -1
- package/dist/components/iconSelector/index.mjs.map +1 -1
- package/dist/components/image/index.d.ts +2 -2
- package/dist/components/image/index.mjs.map +1 -1
- package/dist/components/image/src/image.d.ts +1 -1
- package/dist/components/image/src/image.mjs.map +1 -1
- package/dist/components/inputDialogPage/index.d.ts +3 -3
- package/dist/components/inputDialogPage/index.mjs.map +1 -1
- package/dist/components/layoutGrid/index.d.ts +2 -2
- package/dist/components/layoutGrid/index.mjs.map +1 -1
- package/dist/components/select/index.d.ts +4 -4
- package/dist/components/select/index.mjs.map +1 -1
- package/dist/components/select/src/select.d.ts +11 -11
- package/dist/components/select/src/select.type.d.ts +2 -2
- package/dist/components/selectPage/index.d.ts +3 -3
- package/dist/components/selectPage/index.mjs.map +1 -1
- package/dist/components/selectPage/src/selectPage.d.ts +11 -11
- package/dist/components/selectV2/index.d.ts +3 -3
- package/dist/components/selectV2/index.mjs.map +1 -1
- package/dist/components/selectV2/src/selectV2.d.ts +4 -4
- package/dist/components/table/index.d.ts +4 -4
- package/dist/components/table/index.mjs.map +1 -1
- package/dist/components/table/src/page.type.d.ts +2 -2
- package/dist/components/table/src/table.d.ts +32 -3
- package/dist/components/table/src/table.mjs +33 -24
- package/dist/components/table/src/table.mjs.map +1 -1
- package/dist/components/table/src/table.type.d.ts +6 -9
- package/dist/components/table/src/table.type.mjs.map +1 -1
- package/dist/components/table/src/tableColumn.d.ts +2 -2
- package/dist/components/table/src/tableColumn.mjs +1 -1
- package/dist/components/table/src/tableColumn.mjs.map +1 -1
- package/dist/components/table/src/tableColumnSettingDialog.mjs +0 -4
- package/dist/components/table/src/tableColumnSettingDialog.mjs.map +1 -1
- package/dist/components/table/src/useTable.mjs +5 -1
- package/dist/components/table/src/useTable.mjs.map +1 -1
- package/dist/components/table/utils/table.d.ts +18 -15
- package/dist/components/table/utils/table.mjs +18 -15
- package/dist/components/table/utils/table.mjs.map +1 -1
- package/dist/components/tree/index.d.ts +3 -3
- package/dist/components/tree/index.mjs.map +1 -1
- package/dist/components/tree/src/tree.props.d.ts +2 -2
- package/dist/components/tree/src/tree.type.d.ts +2 -2
- package/dist/components/treeSelect/index.d.ts +3 -3
- package/dist/components/treeSelect/index.mjs.map +1 -1
- package/dist/components/treeSelect/src/treeSelect.d.ts +11 -11
- package/dist/components/upload/index.d.ts +3 -3
- package/dist/components/upload/index.mjs.map +1 -1
- package/dist/components/upload/utils/upload.d.ts +15 -10
- package/dist/components/upload/utils/upload.mjs +15 -10
- package/dist/components/upload/utils/upload.mjs.map +1 -1
- package/dist/components/uploadImage/index.d.ts +3 -3
- package/dist/components/uploadImage/index.mjs.map +1 -1
- package/dist/components/uploadImages/index.d.ts +3 -3
- package/dist/components/uploadImages/index.mjs.map +1 -1
- package/dist/index.css +1 -1
- package/dist/index.css.map +1 -1
- package/dist/index.global.min.js +4 -4
- package/dist/index.global.min.js.map +1 -1
- package/dist/internal/props.d.ts +3 -3
- package/dist/internal/props.mjs.map +1 -1
- package/dist/utils/async/index.d.ts +4 -4
- package/dist/utils/async/index.mjs +9 -9
- package/dist/utils/async/index.mjs.map +1 -1
- package/dist/utils/date/index.d.ts +8 -8
- package/dist/utils/date/index.mjs +16 -16
- package/dist/utils/date/index.mjs.map +1 -1
- package/dist/utils/dom/index.d.ts +1 -1
- package/dist/utils/dom/index.mjs +4 -4
- package/dist/utils/dom/index.mjs.map +1 -1
- package/dist/utils/object/index.d.ts +10 -10
- package/dist/utils/object/index.mjs +6 -6
- package/dist/utils/object/index.mjs.map +1 -1
- package/dist/utils/string/index.d.ts +4 -4
- package/dist/utils/string/index.mjs +14 -40
- package/dist/utils/string/index.mjs.map +1 -1
- package/dist/utils/vue/emits.d.ts +8 -8
- package/dist/utils/vue/emits.mjs +7 -7
- package/dist/utils/vue/emits.mjs.map +1 -1
- package/dist/utils/vue/expose.d.ts +3 -3
- package/dist/utils/vue/expose.mjs +3 -3
- package/dist/utils/vue/expose.mjs.map +1 -1
- package/dist/utils/vue/func.d.ts +2 -2
- package/dist/utils/vue/func.mjs +2 -2
- package/dist/utils/vue/func.mjs.map +1 -1
- package/dist/utils/vue/install.d.ts +9 -9
- package/dist/utils/vue/install.mjs +24 -24
- package/dist/utils/vue/install.mjs.map +1 -1
- package/dist/utils/vue/props.d.ts +4 -4
- package/dist/utils/vue/props.mjs +5 -5
- package/dist/utils/vue/props.mjs.map +1 -1
- package/dist/utils/vue/render.d.ts +1 -1
- package/dist/utils/vue/render.mjs +2 -2
- package/dist/utils/vue/render.mjs.map +1 -1
- package/dist/utils/vue/slots.d.ts +4 -4
- package/dist/utils/vue/slots.mjs.map +1 -1
- package/dist/utils/vue/with.d.ts +1 -1
- package/dist/utils/vue/with.mjs +1 -1
- package/dist/utils/vue/with.mjs.map +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.mjs +1 -1
- package/dist/version.mjs.map +1 -1
- package/package.json +4 -4
|
@@ -7,9 +7,9 @@ export declare const FaAvatar: TSXWithInstall<typeof Avatar>;
|
|
|
7
7
|
export default FaAvatar;
|
|
8
8
|
export { faAvatarEmits, faAvatarProps } from "./src/avatar";
|
|
9
9
|
export type { FaAvatarSlots } from "./src/avatar";
|
|
10
|
-
/** FaAvatar
|
|
10
|
+
/** FaAvatar 暴露的组件实例类型 */
|
|
11
11
|
export type FaAvatarInstance = InstanceType<typeof Avatar>;
|
|
12
|
-
/** FaAvatar 的完整 Props
|
|
12
|
+
/** FaAvatar 的完整 Props 类型 */
|
|
13
13
|
export type FaAvatarProps = ExtractPropTypes<typeof faAvatarProps>;
|
|
14
|
-
/** FaAvatar 的 Emits
|
|
14
|
+
/** FaAvatar 的 Emits 类型 */
|
|
15
15
|
export type FaAvatarEmits = typeof faAvatarEmits;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.mjs","names":["Avatar"],"sources":["../../../src/components/avatar/index.ts"],"sourcesContent":["import { withInstall } from \"../../utils\";\nimport Avatar from \"./src/avatar\";\nimport type { ExtractPropTypes } from \"vue\";\nimport type { TSXWithInstall } from \"../../utils\";\nimport type { faAvatarEmits, faAvatarProps } from \"./src/avatar\";\n\n/** 支持图片地址规格转换的头像组件。 */\nexport const FaAvatar: TSXWithInstall<typeof Avatar> = withInstall(Avatar);\nexport default FaAvatar;\n\nexport { faAvatarEmits, faAvatarProps } from \"./src/avatar\";\nexport type { FaAvatarSlots } from \"./src/avatar\";\n\n/** FaAvatar
|
|
1
|
+
{"version":3,"file":"index.mjs","names":["Avatar"],"sources":["../../../src/components/avatar/index.ts"],"sourcesContent":["import { withInstall } from \"../../utils\";\nimport Avatar from \"./src/avatar\";\nimport type { ExtractPropTypes } from \"vue\";\nimport type { TSXWithInstall } from \"../../utils\";\nimport type { faAvatarEmits, faAvatarProps } from \"./src/avatar\";\n\n/** 支持图片地址规格转换的头像组件。 */\nexport const FaAvatar: TSXWithInstall<typeof Avatar> = withInstall(Avatar);\nexport default FaAvatar;\n\nexport { faAvatarEmits, faAvatarProps } from \"./src/avatar\";\nexport type { FaAvatarSlots } from \"./src/avatar\";\n\n/** FaAvatar 暴露的组件实例类型 */\nexport type FaAvatarInstance = InstanceType<typeof Avatar>;\n\n/** FaAvatar 的完整 Props 类型 */\nexport type FaAvatarProps = ExtractPropTypes<typeof faAvatarProps>;\n\n/** FaAvatar 的 Emits 类型 */\nexport type FaAvatarEmits = typeof faAvatarEmits;\n"],"mappings":";;;;AAOA,MAAa,WAA0C,YAAYA,cAAM"}
|
|
@@ -3,7 +3,7 @@ import type { Component } from "vue";
|
|
|
3
3
|
export declare const faAvatarProps: {
|
|
4
4
|
/** set how the image fit its container for an image avatar. */
|
|
5
5
|
fit: {
|
|
6
|
-
type: import("vue").PropType<"fill" | "cover" | "-moz-initial" | "inherit" | "initial" | "revert" | "revert-layer" | "unset" | "
|
|
6
|
+
type: import("vue").PropType<"fill" | "cover" | "none" | "-moz-initial" | "inherit" | "initial" | "revert" | "revert-layer" | "unset" | "contain" | "scale-down">;
|
|
7
7
|
default: string;
|
|
8
8
|
};
|
|
9
9
|
/** representation type to icon, more info on icon component. */
|
|
@@ -22,7 +22,7 @@ export declare const faAvatarProps: {
|
|
|
22
22
|
/** 缩略图 */
|
|
23
23
|
thumb: BooleanConstructor;
|
|
24
24
|
size: {
|
|
25
|
-
readonly type: import("vue").PropType<import("element-plus/es/utils/vue/props/types.mjs").EpPropMergeType<readonly [NumberConstructor, StringConstructor], "" | "default" | "
|
|
25
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils/vue/props/types.mjs").EpPropMergeType<readonly [NumberConstructor, StringConstructor], "" | "default" | "large" | "small", number>>;
|
|
26
26
|
readonly required: false;
|
|
27
27
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
28
28
|
__epPropKey: true;
|
|
@@ -51,7 +51,7 @@ export interface FaAvatarSlots extends Record<string, unknown> {
|
|
|
51
51
|
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
52
52
|
/** set how the image fit its container for an image avatar. */
|
|
53
53
|
fit: {
|
|
54
|
-
type: import("vue").PropType<"fill" | "cover" | "-moz-initial" | "inherit" | "initial" | "revert" | "revert-layer" | "unset" | "
|
|
54
|
+
type: import("vue").PropType<"fill" | "cover" | "none" | "-moz-initial" | "inherit" | "initial" | "revert" | "revert-layer" | "unset" | "contain" | "scale-down">;
|
|
55
55
|
default: string;
|
|
56
56
|
};
|
|
57
57
|
/** representation type to icon, more info on icon component. */
|
|
@@ -70,7 +70,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
70
70
|
/** 缩略图 */
|
|
71
71
|
thumb: BooleanConstructor;
|
|
72
72
|
size: {
|
|
73
|
-
readonly type: import("vue").PropType<import("element-plus/es/utils/vue/props/types.mjs").EpPropMergeType<readonly [NumberConstructor, StringConstructor], "" | "default" | "
|
|
73
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils/vue/props/types.mjs").EpPropMergeType<readonly [NumberConstructor, StringConstructor], "" | "default" | "large" | "small", number>>;
|
|
74
74
|
readonly required: false;
|
|
75
75
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
76
76
|
__epPropKey: true;
|
|
@@ -92,7 +92,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
92
92
|
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
93
93
|
/** set how the image fit its container for an image avatar. */
|
|
94
94
|
fit: {
|
|
95
|
-
type: import("vue").PropType<"fill" | "cover" | "-moz-initial" | "inherit" | "initial" | "revert" | "revert-layer" | "unset" | "
|
|
95
|
+
type: import("vue").PropType<"fill" | "cover" | "none" | "-moz-initial" | "inherit" | "initial" | "revert" | "revert-layer" | "unset" | "contain" | "scale-down">;
|
|
96
96
|
default: string;
|
|
97
97
|
};
|
|
98
98
|
/** representation type to icon, more info on icon component. */
|
|
@@ -111,7 +111,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
111
111
|
/** 缩略图 */
|
|
112
112
|
thumb: BooleanConstructor;
|
|
113
113
|
size: {
|
|
114
|
-
readonly type: import("vue").PropType<import("element-plus/es/utils/vue/props/types.mjs").EpPropMergeType<readonly [NumberConstructor, StringConstructor], "" | "default" | "
|
|
114
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils/vue/props/types.mjs").EpPropMergeType<readonly [NumberConstructor, StringConstructor], "" | "default" | "large" | "small", number>>;
|
|
115
115
|
readonly required: false;
|
|
116
116
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
117
117
|
__epPropKey: true;
|
|
@@ -129,7 +129,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
129
129
|
onError?: ((evt: Event) => any) | undefined;
|
|
130
130
|
}>, {
|
|
131
131
|
small: boolean;
|
|
132
|
-
fit: "fill" | "cover" | "-moz-initial" | "inherit" | "initial" | "revert" | "revert-layer" | "unset" | "
|
|
132
|
+
fit: "fill" | "cover" | "none" | "-moz-initial" | "inherit" | "initial" | "revert" | "revert-layer" | "unset" | "contain" | "scale-down";
|
|
133
133
|
icon: string | Component;
|
|
134
134
|
base64: boolean;
|
|
135
135
|
original: boolean;
|
|
@@ -6,9 +6,9 @@ export declare const FaButton: TSXWithInstall<typeof Button>;
|
|
|
6
6
|
export default FaButton;
|
|
7
7
|
export { faButtonProps, faButtonEmits };
|
|
8
8
|
export type { FaButtonSlots } from "./src/button";
|
|
9
|
-
/** FaButton
|
|
9
|
+
/** FaButton 暴露的组件实例类型 */
|
|
10
10
|
export type FaButtonInstance = InstanceType<typeof Button>;
|
|
11
|
-
/** FaButton 的完整 Props
|
|
11
|
+
/** FaButton 的完整 Props 类型 */
|
|
12
12
|
export type FaButtonProps = ExtractPropTypes<typeof faButtonProps>;
|
|
13
|
-
/** FaButton 的 Emits
|
|
13
|
+
/** FaButton 的 Emits 类型 */
|
|
14
14
|
export type FaButtonEmits = typeof faButtonEmits;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.mjs","names":["Button"],"sources":["../../../src/components/button/index.ts"],"sourcesContent":["import { withInstall } from \"../../utils\";\nimport Button, { faButtonEmits, faButtonProps } from \"./src/button\";\nimport type { ExtractPropTypes } from \"vue\";\nimport type { TSXWithInstall } from \"../../utils\";\n\n/** 支持异步加载状态和全局遮罩联动的按钮组件。 */\nexport const FaButton: TSXWithInstall<typeof Button> = withInstall(Button);\nexport default FaButton;\n\nexport { faButtonProps, faButtonEmits };\nexport type { FaButtonSlots } from \"./src/button\";\n\n/** FaButton
|
|
1
|
+
{"version":3,"file":"index.mjs","names":["Button"],"sources":["../../../src/components/button/index.ts"],"sourcesContent":["import { withInstall } from \"../../utils\";\nimport Button, { faButtonEmits, faButtonProps } from \"./src/button\";\nimport type { ExtractPropTypes } from \"vue\";\nimport type { TSXWithInstall } from \"../../utils\";\n\n/** 支持异步加载状态和全局遮罩联动的按钮组件。 */\nexport const FaButton: TSXWithInstall<typeof Button> = withInstall(Button);\nexport default FaButton;\n\nexport { faButtonProps, faButtonEmits };\nexport type { FaButtonSlots } from \"./src/button\";\n\n/** FaButton 暴露的组件实例类型 */\nexport type FaButtonInstance = InstanceType<typeof Button>;\n\n/** FaButton 的完整 Props 类型 */\nexport type FaButtonProps = ExtractPropTypes<typeof faButtonProps>;\n\n/** FaButton 的 Emits 类型 */\nexport type FaButtonEmits = typeof faButtonEmits;\n"],"mappings":";;;;AAMA,MAAa,WAA0C,YAAYA,cAAM"}
|
|
@@ -13,13 +13,13 @@ export declare const faButtonProps: {
|
|
|
13
13
|
/** 禁用加载 */
|
|
14
14
|
disabledLoading: BooleanConstructor;
|
|
15
15
|
size: {
|
|
16
|
-
readonly type: import("vue").PropType<import("element-plus/es/utils/vue/props/types.mjs").EpPropMergeType<StringConstructor, "" | "default" | "
|
|
16
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils/vue/props/types.mjs").EpPropMergeType<StringConstructor, "" | "default" | "large" | "small", never>>;
|
|
17
17
|
readonly required: false;
|
|
18
18
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
19
19
|
__epPropKey: true;
|
|
20
20
|
};
|
|
21
21
|
disabled: import("element-plus/es/utils/vue/props/types.mjs").EpPropFinalized<BooleanConstructor, unknown, unknown, undefined, boolean>;
|
|
22
|
-
type: import("element-plus/es/utils/vue/props/types.mjs").EpPropFinalized<StringConstructor, "" | "default" | "
|
|
22
|
+
type: import("element-plus/es/utils/vue/props/types.mjs").EpPropFinalized<StringConstructor, "" | "default" | "text" | "info" | "primary" | "success" | "warning" | "danger", unknown, "", boolean>;
|
|
23
23
|
icon: {
|
|
24
24
|
readonly type: import("vue").PropType<import("element-plus/es/utils/vue/props/types.mjs").EpPropMergeType<(new (...args: any[]) => (string | Component) & {}) | (() => string | Component) | (((new (...args: any[]) => (string | Component) & {}) | (() => string | Component)) | null)[], unknown, unknown>>;
|
|
25
25
|
readonly required: false;
|
|
@@ -72,13 +72,13 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
72
72
|
/** 禁用加载 */
|
|
73
73
|
disabledLoading: BooleanConstructor;
|
|
74
74
|
size: {
|
|
75
|
-
readonly type: import("vue").PropType<import("element-plus/es/utils/vue/props/types.mjs").EpPropMergeType<StringConstructor, "" | "default" | "
|
|
75
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils/vue/props/types.mjs").EpPropMergeType<StringConstructor, "" | "default" | "large" | "small", never>>;
|
|
76
76
|
readonly required: false;
|
|
77
77
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
78
78
|
__epPropKey: true;
|
|
79
79
|
};
|
|
80
80
|
disabled: import("element-plus/es/utils/vue/props/types.mjs").EpPropFinalized<BooleanConstructor, unknown, unknown, undefined, boolean>;
|
|
81
|
-
type: import("element-plus/es/utils/vue/props/types.mjs").EpPropFinalized<StringConstructor, "" | "default" | "
|
|
81
|
+
type: import("element-plus/es/utils/vue/props/types.mjs").EpPropFinalized<StringConstructor, "" | "default" | "text" | "info" | "primary" | "success" | "warning" | "danger", unknown, "", boolean>;
|
|
82
82
|
icon: {
|
|
83
83
|
readonly type: import("vue").PropType<import("element-plus/es/utils/vue/props/types.mjs").EpPropMergeType<(new (...args: any[]) => (string | Component) & {}) | (() => string | Component) | (((new (...args: any[]) => (string | Component) & {}) | (() => string | Component)) | null)[], unknown, unknown>>;
|
|
84
84
|
readonly required: false;
|
|
@@ -134,13 +134,13 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
134
134
|
/** 禁用加载 */
|
|
135
135
|
disabledLoading: BooleanConstructor;
|
|
136
136
|
size: {
|
|
137
|
-
readonly type: import("vue").PropType<import("element-plus/es/utils/vue/props/types.mjs").EpPropMergeType<StringConstructor, "" | "default" | "
|
|
137
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils/vue/props/types.mjs").EpPropMergeType<StringConstructor, "" | "default" | "large" | "small", never>>;
|
|
138
138
|
readonly required: false;
|
|
139
139
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
140
140
|
__epPropKey: true;
|
|
141
141
|
};
|
|
142
142
|
disabled: import("element-plus/es/utils/vue/props/types.mjs").EpPropFinalized<BooleanConstructor, unknown, unknown, undefined, boolean>;
|
|
143
|
-
type: import("element-plus/es/utils/vue/props/types.mjs").EpPropFinalized<StringConstructor, "" | "default" | "
|
|
143
|
+
type: import("element-plus/es/utils/vue/props/types.mjs").EpPropFinalized<StringConstructor, "" | "default" | "text" | "info" | "primary" | "success" | "warning" | "danger", unknown, "", boolean>;
|
|
144
144
|
icon: {
|
|
145
145
|
readonly type: import("vue").PropType<import("element-plus/es/utils/vue/props/types.mjs").EpPropMergeType<(new (...args: any[]) => (string | Component) & {}) | (() => string | Component) | (((new (...args: any[]) => (string | Component) & {}) | (() => string | Component)) | null)[], unknown, unknown>>;
|
|
146
146
|
readonly required: false;
|
|
@@ -165,11 +165,11 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
165
165
|
onClick?: ((event: MouseEvent, done?: (() => void) | undefined) => any) | undefined;
|
|
166
166
|
}>, {
|
|
167
167
|
link: boolean;
|
|
168
|
-
loading: boolean;
|
|
169
168
|
type: import("element-plus/es/utils/vue/props/types.mjs").EpPropMergeType<StringConstructor, "" | "default" | "text" | "primary" | "success" | "warning" | "info" | "danger", unknown>;
|
|
170
169
|
circle: boolean;
|
|
171
170
|
text: import("element-plus/es/utils/vue/props/types.mjs").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
172
171
|
plain: import("element-plus/es/utils/vue/props/types.mjs").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
172
|
+
loading: boolean;
|
|
173
173
|
loadingIcon: string | Component;
|
|
174
174
|
disabledLoading: boolean;
|
|
175
175
|
disabled: import("element-plus/es/utils/vue/props/types.mjs").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
@@ -4,5 +4,5 @@ import type { TSXWithInstall } from "../../utils";
|
|
|
4
4
|
export declare const FaCarNumber: TSXWithInstall<typeof CarNumber>;
|
|
5
5
|
export default FaCarNumber;
|
|
6
6
|
export * from "./src/common";
|
|
7
|
-
/** FaCarNumber
|
|
7
|
+
/** FaCarNumber 暴露的组件实例类型 */
|
|
8
8
|
export type FaCarNumberInstance = InstanceType<typeof CarNumber>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.mjs","names":["CarNumber"],"sources":["../../../src/components/carNumber/index.ts"],"sourcesContent":["import { withInstall } from \"../../utils\";\nimport CarNumber from \"./src/carNumber\";\nimport type { TSXWithInstall } from \"../../utils\";\n\n/** 中国大陆机动车号牌输入组件。 */\nexport const FaCarNumber: TSXWithInstall<typeof CarNumber> = withInstall(CarNumber);\nexport default FaCarNumber;\n\nexport * from \"./src/common\";\n\n/** FaCarNumber
|
|
1
|
+
{"version":3,"file":"index.mjs","names":["CarNumber"],"sources":["../../../src/components/carNumber/index.ts"],"sourcesContent":["import { withInstall } from \"../../utils\";\nimport CarNumber from \"./src/carNumber\";\nimport type { TSXWithInstall } from \"../../utils\";\n\n/** 中国大陆机动车号牌输入组件。 */\nexport const FaCarNumber: TSXWithInstall<typeof CarNumber> = withInstall(CarNumber);\nexport default FaCarNumber;\n\nexport * from \"./src/common\";\n\n/** FaCarNumber 暴露的组件实例类型 */\nexport type FaCarNumberInstance = InstanceType<typeof CarNumber>;\n"],"mappings":";;;;;AAKA,MAAa,cAAgD,YAAYA,iBAAS"}
|
|
@@ -16,12 +16,12 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
16
16
|
type: StringConstructor;
|
|
17
17
|
default: string;
|
|
18
18
|
};
|
|
19
|
-
inputmode: import("element-plus/es/utils/vue/props/types.mjs").EpPropFinalized<(new (...args: any[]) => "none" | "text" | "
|
|
19
|
+
inputmode: import("element-plus/es/utils/vue/props/types.mjs").EpPropFinalized<(new (...args: any[]) => "none" | "text" | "search" | "email" | "tel" | "url" | "numeric" | "decimal") | (() => "none" | "text" | "search" | "email" | "tel" | "url" | "numeric" | "decimal" | undefined) | (((new (...args: any[]) => "none" | "text" | "search" | "email" | "tel" | "url" | "numeric" | "decimal") | (() => "none" | "text" | "search" | "email" | "tel" | "url" | "numeric" | "decimal" | undefined)) | null)[], unknown, unknown, undefined, boolean>;
|
|
20
20
|
name: StringConstructor;
|
|
21
21
|
ariaLabel: StringConstructor;
|
|
22
22
|
id: import("element-plus/es/utils/vue/props/types.mjs").EpPropFinalized<StringConstructor, unknown, unknown, undefined, boolean>;
|
|
23
23
|
size: {
|
|
24
|
-
readonly type: import("vue").PropType<import("element-plus/es/utils/vue/props/types.mjs").EpPropMergeType<StringConstructor, "" | "default" | "
|
|
24
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils/vue/props/types.mjs").EpPropMergeType<StringConstructor, "" | "default" | "large" | "small", never>>;
|
|
25
25
|
readonly required: false;
|
|
26
26
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
27
27
|
__epPropKey: true;
|
|
@@ -120,12 +120,12 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
120
120
|
type: StringConstructor;
|
|
121
121
|
default: string;
|
|
122
122
|
};
|
|
123
|
-
inputmode: import("element-plus/es/utils/vue/props/types.mjs").EpPropFinalized<(new (...args: any[]) => "none" | "text" | "
|
|
123
|
+
inputmode: import("element-plus/es/utils/vue/props/types.mjs").EpPropFinalized<(new (...args: any[]) => "none" | "text" | "search" | "email" | "tel" | "url" | "numeric" | "decimal") | (() => "none" | "text" | "search" | "email" | "tel" | "url" | "numeric" | "decimal" | undefined) | (((new (...args: any[]) => "none" | "text" | "search" | "email" | "tel" | "url" | "numeric" | "decimal") | (() => "none" | "text" | "search" | "email" | "tel" | "url" | "numeric" | "decimal" | undefined)) | null)[], unknown, unknown, undefined, boolean>;
|
|
124
124
|
name: StringConstructor;
|
|
125
125
|
ariaLabel: StringConstructor;
|
|
126
126
|
id: import("element-plus/es/utils/vue/props/types.mjs").EpPropFinalized<StringConstructor, unknown, unknown, undefined, boolean>;
|
|
127
127
|
size: {
|
|
128
|
-
readonly type: import("vue").PropType<import("element-plus/es/utils/vue/props/types.mjs").EpPropMergeType<StringConstructor, "" | "default" | "
|
|
128
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils/vue/props/types.mjs").EpPropMergeType<StringConstructor, "" | "default" | "large" | "small", never>>;
|
|
129
129
|
readonly required: false;
|
|
130
130
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
131
131
|
__epPropKey: true;
|
|
@@ -211,7 +211,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
211
211
|
autofocus: boolean;
|
|
212
212
|
modelValue: string | null;
|
|
213
213
|
placeholder: string;
|
|
214
|
-
inputmode: import("element-plus/es/utils/vue/props/types.mjs").EpPropMergeType<(new (...args: any[]) => "none" | "text" | "
|
|
214
|
+
inputmode: import("element-plus/es/utils/vue/props/types.mjs").EpPropMergeType<(new (...args: any[]) => "none" | "text" | "search" | "email" | "tel" | "url" | "numeric" | "decimal") | (() => "none" | "text" | "search" | "email" | "tel" | "url" | "numeric" | "decimal" | undefined) | ((new (...args: any[]) => "none" | "text" | "search" | "email" | "tel" | "url" | "numeric" | "decimal") | (() => "none" | "text" | "search" | "email" | "tel" | "url" | "numeric" | "decimal" | undefined) | null)[], unknown, unknown>;
|
|
215
215
|
modelModifiers: import("element-plus").InputModelModifiers;
|
|
216
216
|
autosize: import("element-plus").InputAutoSize;
|
|
217
217
|
autocomplete: AutoFill;
|
|
@@ -4,5 +4,5 @@ import type { TSXWithInstall } from "../../utils";
|
|
|
4
4
|
export declare const FaContextMenu: TSXWithInstall<typeof ContextMenu>;
|
|
5
5
|
export default FaContextMenu;
|
|
6
6
|
export type * from "./src/contextMenu.type";
|
|
7
|
-
/** FaContextMenu
|
|
7
|
+
/** FaContextMenu 暴露的组件实例类型 */
|
|
8
8
|
export type FaContextMenuInstance = InstanceType<typeof ContextMenu>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.mjs","names":["ContextMenu"],"sources":["../../../src/components/contextMenu/index.ts"],"sourcesContent":["import { withInstall } from \"../../utils\";\nimport ContextMenu from \"./src/contextMenu\";\nimport type { TSXWithInstall } from \"../../utils\";\n\n/** 支持定位和嵌套操作项的右键菜单组件。 */\nexport const FaContextMenu: TSXWithInstall<typeof ContextMenu> = withInstall(ContextMenu);\nexport default FaContextMenu;\n\nexport type * from \"./src/contextMenu.type\";\n\n/** FaContextMenu
|
|
1
|
+
{"version":3,"file":"index.mjs","names":["ContextMenu"],"sources":["../../../src/components/contextMenu/index.ts"],"sourcesContent":["import { withInstall } from \"../../utils\";\nimport ContextMenu from \"./src/contextMenu\";\nimport type { TSXWithInstall } from \"../../utils\";\n\n/** 支持定位和嵌套操作项的右键菜单组件。 */\nexport const FaContextMenu: TSXWithInstall<typeof ContextMenu> = withInstall(ContextMenu);\nexport default FaContextMenu;\n\nexport type * from \"./src/contextMenu.type\";\n\n/** FaContextMenu 暴露的组件实例类型 */\nexport type FaContextMenuInstance = InstanceType<typeof ContextMenu>;\n"],"mappings":";;;;AAKA,MAAa,gBAAoD,YAAYA,mBAAW"}
|
|
@@ -6,9 +6,9 @@ export declare const FaDialog: TSXWithInstall<typeof Dialog>;
|
|
|
6
6
|
export default FaDialog;
|
|
7
7
|
export { faDialogProps, faDialogEmits };
|
|
8
8
|
export type { FaDialogSlots } from "./src/dialog";
|
|
9
|
-
/** FaDialog
|
|
9
|
+
/** FaDialog 暴露的组件实例类型 */
|
|
10
10
|
export type FaDialogInstance = InstanceType<typeof Dialog>;
|
|
11
|
-
/** FaDialog 的完整 Props
|
|
11
|
+
/** FaDialog 的完整 Props 类型 */
|
|
12
12
|
export type FaDialogProps = ExtractPropTypes<typeof faDialogProps>;
|
|
13
|
-
/** FaDialog 的 Emits
|
|
13
|
+
/** FaDialog 的 Emits 类型 */
|
|
14
14
|
export type FaDialogEmits = typeof faDialogEmits;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.mjs","names":["Dialog"],"sources":["../../../src/components/dialog/index.ts"],"sourcesContent":["import { withInstall } from \"../../utils\";\nimport Dialog, { faDialogEmits, faDialogProps } from \"./src/dialog\";\nimport type { ExtractPropTypes } from \"vue\";\nimport type { TSXWithInstall } from \"../../utils\";\n\n/** 封装加载、确认与关闭控制的业务对话框组件。 */\nexport const FaDialog: TSXWithInstall<typeof Dialog> = withInstall(Dialog);\nexport default FaDialog;\n\nexport { faDialogProps, faDialogEmits };\nexport type { FaDialogSlots } from \"./src/dialog\";\n\n/** FaDialog
|
|
1
|
+
{"version":3,"file":"index.mjs","names":["Dialog"],"sources":["../../../src/components/dialog/index.ts"],"sourcesContent":["import { withInstall } from \"../../utils\";\nimport Dialog, { faDialogEmits, faDialogProps } from \"./src/dialog\";\nimport type { ExtractPropTypes } from \"vue\";\nimport type { TSXWithInstall } from \"../../utils\";\n\n/** 封装加载、确认与关闭控制的业务对话框组件。 */\nexport const FaDialog: TSXWithInstall<typeof Dialog> = withInstall(Dialog);\nexport default FaDialog;\n\nexport { faDialogProps, faDialogEmits };\nexport type { FaDialogSlots } from \"./src/dialog\";\n\n/** FaDialog 暴露的组件实例类型 */\nexport type FaDialogInstance = InstanceType<typeof Dialog>;\n\n/** FaDialog 的完整 Props 类型 */\nexport type FaDialogProps = ExtractPropTypes<typeof faDialogProps>;\n\n/** FaDialog 的 Emits 类型 */\nexport type FaDialogEmits = typeof faDialogEmits;\n"],"mappings":";;;;AAMA,MAAa,WAA0C,YAAYA,cAAM"}
|
|
@@ -424,16 +424,15 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
424
424
|
title: import("element-plus/es/utils/vue/props/types.mjs").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
425
425
|
ariaLevel: import("element-plus/es/utils/vue/props/types.mjs").EpPropFinalized<StringConstructor, unknown, unknown, "2", boolean>;
|
|
426
426
|
}>> & Readonly<{
|
|
427
|
-
onClose?: (() => any) | undefined;
|
|
428
|
-
onOpen?: (() => any) | undefined;
|
|
429
427
|
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
428
|
+
onOpen?: (() => any) | undefined;
|
|
429
|
+
onClose?: (() => any) | undefined;
|
|
430
430
|
onConfirmClick?: (() => any) | undefined;
|
|
431
431
|
onOpened?: (() => any) | undefined;
|
|
432
432
|
onClosed?: (() => any) | undefined;
|
|
433
433
|
onOpenAutoFocus?: (() => any) | undefined;
|
|
434
434
|
onCloseAutoFocus?: (() => any) | undefined;
|
|
435
435
|
}>, {
|
|
436
|
-
fullscreen: boolean;
|
|
437
436
|
title: string;
|
|
438
437
|
center: boolean;
|
|
439
438
|
showClose: import("element-plus/es/utils/vue/props/types.mjs").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
@@ -467,6 +466,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
467
466
|
modalClass: import("element-plus/es/utils/typescript.mjs").ClassValue;
|
|
468
467
|
trapFocus: boolean;
|
|
469
468
|
headerAriaLevel: string;
|
|
469
|
+
fullscreen: boolean;
|
|
470
470
|
headerClass: import("element-plus/es/utils/typescript.mjs").ClassValue;
|
|
471
471
|
bodyClass: import("element-plus/es/utils/typescript.mjs").ClassValue;
|
|
472
472
|
footerClass: import("element-plus/es/utils/typescript.mjs").ClassValue;
|
|
@@ -7,9 +7,9 @@ export declare const FaDrawer: TSXWithInstall<typeof Drawer>;
|
|
|
7
7
|
export default FaDrawer;
|
|
8
8
|
export { faDrawerEmits, faDrawerProps } from "./src/drawer";
|
|
9
9
|
export type { FaDrawerSlots } from "./src/drawer";
|
|
10
|
-
/** FaDrawer
|
|
10
|
+
/** FaDrawer 暴露的组件实例类型 */
|
|
11
11
|
export type FaDrawerInstance = InstanceType<typeof Drawer>;
|
|
12
|
-
/** FaDrawer 的完整 Props
|
|
12
|
+
/** FaDrawer 的完整 Props 类型 */
|
|
13
13
|
export type FaDrawerProps = ExtractPropTypes<typeof faDrawerProps>;
|
|
14
|
-
/** FaDrawer 的 Emits
|
|
14
|
+
/** FaDrawer 的 Emits 类型 */
|
|
15
15
|
export type FaDrawerEmits = typeof faDrawerEmits;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.mjs","names":["Drawer"],"sources":["../../../src/components/drawer/index.ts"],"sourcesContent":["import { withInstall } from \"../../utils\";\nimport Drawer from \"./src/drawer\";\nimport type { ExtractPropTypes } from \"vue\";\nimport type { TSXWithInstall } from \"../../utils\";\nimport type { faDrawerEmits, faDrawerProps } from \"./src/drawer\";\n\n/** 封装加载、确认与关闭控制的业务抽屉组件。 */\nexport const FaDrawer: TSXWithInstall<typeof Drawer> = withInstall(Drawer);\nexport default FaDrawer;\n\nexport { faDrawerEmits, faDrawerProps } from \"./src/drawer\";\nexport type { FaDrawerSlots } from \"./src/drawer\";\n\n/** FaDrawer
|
|
1
|
+
{"version":3,"file":"index.mjs","names":["Drawer"],"sources":["../../../src/components/drawer/index.ts"],"sourcesContent":["import { withInstall } from \"../../utils\";\nimport Drawer from \"./src/drawer\";\nimport type { ExtractPropTypes } from \"vue\";\nimport type { TSXWithInstall } from \"../../utils\";\nimport type { faDrawerEmits, faDrawerProps } from \"./src/drawer\";\n\n/** 封装加载、确认与关闭控制的业务抽屉组件。 */\nexport const FaDrawer: TSXWithInstall<typeof Drawer> = withInstall(Drawer);\nexport default FaDrawer;\n\nexport { faDrawerEmits, faDrawerProps } from \"./src/drawer\";\nexport type { FaDrawerSlots } from \"./src/drawer\";\n\n/** FaDrawer 暴露的组件实例类型 */\nexport type FaDrawerInstance = InstanceType<typeof Drawer>;\n\n/** FaDrawer 的完整 Props 类型 */\nexport type FaDrawerProps = ExtractPropTypes<typeof faDrawerProps>;\n\n/** FaDrawer 的 Emits 类型 */\nexport type FaDrawerEmits = typeof faDrawerEmits;\n"],"mappings":";;;;AAOA,MAAa,WAA0C,YAAYA,cAAM"}
|
|
@@ -414,10 +414,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
414
414
|
title: import("element-plus/es/utils/vue/props/types.mjs").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
415
415
|
ariaLevel: import("element-plus/es/utils/vue/props/types.mjs").EpPropFinalized<StringConstructor, unknown, unknown, "2", boolean>;
|
|
416
416
|
}>> & Readonly<{
|
|
417
|
-
onClose?: (() => any) | undefined;
|
|
418
|
-
onOpen?: (() => any) | undefined;
|
|
419
417
|
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
420
418
|
onResize?: ((evt: MouseEvent, size: number) => any) | undefined;
|
|
419
|
+
onOpen?: (() => any) | undefined;
|
|
420
|
+
onClose?: (() => any) | undefined;
|
|
421
421
|
onConfirmClick?: (() => any) | undefined;
|
|
422
422
|
onOpened?: (() => any) | undefined;
|
|
423
423
|
onClosed?: (() => any) | undefined;
|
|
@@ -426,7 +426,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
426
426
|
"onResize-start"?: ((evt: MouseEvent, size: number) => any) | undefined;
|
|
427
427
|
"onResize-end"?: ((evt: MouseEvent, size: number) => any) | undefined;
|
|
428
428
|
}>, {
|
|
429
|
-
fullscreen: boolean;
|
|
430
429
|
title: string;
|
|
431
430
|
size: import("element-plus/es/utils/vue/props/types.mjs").EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
|
|
432
431
|
center: boolean;
|
|
@@ -458,6 +457,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
458
457
|
modalClass: import("element-plus/es/utils/typescript.mjs").ClassValue;
|
|
459
458
|
trapFocus: boolean;
|
|
460
459
|
headerAriaLevel: string;
|
|
460
|
+
fullscreen: boolean;
|
|
461
461
|
headerClass: import("element-plus/es/utils/typescript.mjs").ClassValue;
|
|
462
462
|
bodyClass: import("element-plus/es/utils/typescript.mjs").ClassValue;
|
|
463
463
|
footerClass: import("element-plus/es/utils/typescript.mjs").ClassValue;
|
|
@@ -12,12 +12,12 @@ export declare const FaFormItem: TSXWithInstall<typeof FormItem>;
|
|
|
12
12
|
export { faFormEmits, faFormProps, faFormItemProps };
|
|
13
13
|
export type { FaFormSlots } from "./src/form";
|
|
14
14
|
export type { FaFormItemSlots } from "./src/formItem";
|
|
15
|
-
/** FaForm
|
|
15
|
+
/** FaForm 暴露的组件实例类型 */
|
|
16
16
|
export type FaFormInstance = InstanceType<typeof Form>;
|
|
17
|
-
/** FaForm 的完整 Props
|
|
17
|
+
/** FaForm 的完整 Props 类型 */
|
|
18
18
|
export type FaFormProps = ExtractPropTypes<typeof faFormProps>;
|
|
19
|
-
/** FaFormItem
|
|
19
|
+
/** FaFormItem 暴露的组件实例类型 */
|
|
20
20
|
export type FaFormItemInstance = InstanceType<typeof FormItem>;
|
|
21
|
-
/** FaFormItem 的完整 Props
|
|
21
|
+
/** FaFormItem 的完整 Props 类型 */
|
|
22
22
|
export type FaFormItemProps = ExtractPropTypes<typeof faFormItemProps>;
|
|
23
23
|
export * from "./utils/form";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.mjs","names":["Form","FormItem"],"sources":["../../../src/components/form/index.ts"],"sourcesContent":["import { withInstall, withNoopInstall } from \"../../utils\";\nimport Form, { faFormEmits, faFormProps } from \"./src/form\";\nimport FormItem, { faFormItemProps } from \"./src/formItem\";\nimport type { ExtractPropTypes } from \"vue\";\nimport type { TSXWithInstall } from \"../../utils\";\n\n/** 支持响应式布局和表单项配置的业务表单组件。 */\nexport const FaForm: TSXWithInstall<typeof Form> & { FormItem: typeof FormItem } = withInstall(Form, {\n\tFormItem,\n});\nexport default FaForm;\n\n/** 可独立注册的 FaForm 表单项组件。 */\nexport const FaFormItem: TSXWithInstall<typeof FormItem> = withNoopInstall(FormItem);\n\nexport { faFormEmits, faFormProps, faFormItemProps };\nexport type { FaFormSlots } from \"./src/form\";\nexport type { FaFormItemSlots } from \"./src/formItem\";\n\n/** FaForm
|
|
1
|
+
{"version":3,"file":"index.mjs","names":["Form","FormItem"],"sources":["../../../src/components/form/index.ts"],"sourcesContent":["import { withInstall, withNoopInstall } from \"../../utils\";\nimport Form, { faFormEmits, faFormProps } from \"./src/form\";\nimport FormItem, { faFormItemProps } from \"./src/formItem\";\nimport type { ExtractPropTypes } from \"vue\";\nimport type { TSXWithInstall } from \"../../utils\";\n\n/** 支持响应式布局和表单项配置的业务表单组件。 */\nexport const FaForm: TSXWithInstall<typeof Form> & { FormItem: typeof FormItem } = withInstall(Form, {\n\tFormItem,\n});\nexport default FaForm;\n\n/** 可独立注册的 FaForm 表单项组件。 */\nexport const FaFormItem: TSXWithInstall<typeof FormItem> = withNoopInstall(FormItem);\n\nexport { faFormEmits, faFormProps, faFormItemProps };\nexport type { FaFormSlots } from \"./src/form\";\nexport type { FaFormItemSlots } from \"./src/formItem\";\n\n/** FaForm 暴露的组件实例类型 */\nexport type FaFormInstance = InstanceType<typeof Form>;\n\n/** FaForm 的完整 Props 类型 */\nexport type FaFormProps = ExtractPropTypes<typeof faFormProps>;\n\n/** FaFormItem 暴露的组件实例类型 */\nexport type FaFormItemInstance = InstanceType<typeof FormItem>;\n\n/** FaFormItem 的完整 Props 类型 */\nexport type FaFormItemProps = ExtractPropTypes<typeof faFormItemProps>;\n\nexport * from \"./utils/form\";\n"],"mappings":";;;;;;AAOA,MAAa,SAAsE,YAAYA,cAAM,EACpG,UAAA,iBACD,CAAC;;AAID,MAAa,aAA8C,gBAAgBC,gBAAQ"}
|
|
@@ -52,7 +52,7 @@ export declare const faFormProps: {
|
|
|
52
52
|
hideRequiredAsterisk: BooleanConstructor;
|
|
53
53
|
scrollIntoViewOptions: import("element-plus/es/utils/vue/props/types.mjs").EpPropFinalized<(new (...args: any[]) => boolean | ScrollIntoViewOptions) | (() => boolean | ScrollIntoViewOptions) | (((new (...args: any[]) => boolean | ScrollIntoViewOptions) | (() => boolean | ScrollIntoViewOptions)) | null)[], unknown, unknown, true, boolean>;
|
|
54
54
|
size: {
|
|
55
|
-
readonly type: import("vue").PropType<import("element-plus/es/utils/vue/props/types.mjs").EpPropMergeType<StringConstructor, "" | "default" | "
|
|
55
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils/vue/props/types.mjs").EpPropMergeType<StringConstructor, "" | "default" | "large" | "small", unknown>>;
|
|
56
56
|
readonly required: false;
|
|
57
57
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
58
58
|
__epPropKey: true;
|
|
@@ -122,7 +122,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
122
122
|
hideRequiredAsterisk: BooleanConstructor;
|
|
123
123
|
scrollIntoViewOptions: import("element-plus/es/utils/vue/props/types.mjs").EpPropFinalized<(new (...args: any[]) => boolean | ScrollIntoViewOptions) | (() => boolean | ScrollIntoViewOptions) | (((new (...args: any[]) => boolean | ScrollIntoViewOptions) | (() => boolean | ScrollIntoViewOptions)) | null)[], unknown, unknown, true, boolean>;
|
|
124
124
|
size: {
|
|
125
|
-
readonly type: import("vue").PropType<import("element-plus/es/utils/vue/props/types.mjs").EpPropMergeType<StringConstructor, "" | "default" | "
|
|
125
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils/vue/props/types.mjs").EpPropMergeType<StringConstructor, "" | "default" | "large" | "small", unknown>>;
|
|
126
126
|
readonly required: false;
|
|
127
127
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
128
128
|
__epPropKey: true;
|
|
@@ -200,7 +200,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
200
200
|
hideRequiredAsterisk: BooleanConstructor;
|
|
201
201
|
scrollIntoViewOptions: import("element-plus/es/utils/vue/props/types.mjs").EpPropFinalized<(new (...args: any[]) => boolean | ScrollIntoViewOptions) | (() => boolean | ScrollIntoViewOptions) | (((new (...args: any[]) => boolean | ScrollIntoViewOptions) | (() => boolean | ScrollIntoViewOptions)) | null)[], unknown, unknown, true, boolean>;
|
|
202
202
|
size: {
|
|
203
|
-
readonly type: import("vue").PropType<import("element-plus/es/utils/vue/props/types.mjs").EpPropMergeType<StringConstructor, "" | "default" | "
|
|
203
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils/vue/props/types.mjs").EpPropMergeType<StringConstructor, "" | "default" | "large" | "small", unknown>>;
|
|
204
204
|
readonly required: false;
|
|
205
205
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
206
206
|
__epPropKey: true;
|
|
@@ -41,7 +41,7 @@ export declare const faFormItemProps: {
|
|
|
41
41
|
};
|
|
42
42
|
error: StringConstructor;
|
|
43
43
|
validateStatus: {
|
|
44
|
-
readonly type: import("vue").PropType<import("element-plus/es/utils/vue/props/types.mjs").EpPropMergeType<StringConstructor, "" | "
|
|
44
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils/vue/props/types.mjs").EpPropMergeType<StringConstructor, "" | "error" | "success" | "validating", unknown>>;
|
|
45
45
|
readonly required: false;
|
|
46
46
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
47
47
|
__epPropKey: true;
|
|
@@ -50,7 +50,7 @@ export declare const faFormItemProps: {
|
|
|
50
50
|
inlineMessage: import("element-plus/es/utils/vue/props/types.mjs").EpPropFinalized<BooleanConstructor, unknown, unknown, undefined, boolean>;
|
|
51
51
|
showMessage: import("element-plus/es/utils/vue/props/types.mjs").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
52
52
|
size: {
|
|
53
|
-
readonly type: import("vue").PropType<import("element-plus/es/utils/vue/props/types.mjs").EpPropMergeType<StringConstructor, "" | "default" | "
|
|
53
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils/vue/props/types.mjs").EpPropMergeType<StringConstructor, "" | "default" | "large" | "small", unknown>>;
|
|
54
54
|
readonly required: false;
|
|
55
55
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
56
56
|
__epPropKey: true;
|
|
@@ -111,7 +111,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
111
111
|
};
|
|
112
112
|
error: StringConstructor;
|
|
113
113
|
validateStatus: {
|
|
114
|
-
readonly type: import("vue").PropType<import("element-plus/es/utils/vue/props/types.mjs").EpPropMergeType<StringConstructor, "" | "
|
|
114
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils/vue/props/types.mjs").EpPropMergeType<StringConstructor, "" | "error" | "success" | "validating", unknown>>;
|
|
115
115
|
readonly required: false;
|
|
116
116
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
117
117
|
__epPropKey: true;
|
|
@@ -120,7 +120,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
120
120
|
inlineMessage: import("element-plus/es/utils/vue/props/types.mjs").EpPropFinalized<BooleanConstructor, unknown, unknown, undefined, boolean>;
|
|
121
121
|
showMessage: import("element-plus/es/utils/vue/props/types.mjs").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
122
122
|
size: {
|
|
123
|
-
readonly type: import("vue").PropType<import("element-plus/es/utils/vue/props/types.mjs").EpPropMergeType<StringConstructor, "" | "default" | "
|
|
123
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils/vue/props/types.mjs").EpPropMergeType<StringConstructor, "" | "default" | "large" | "small", unknown>>;
|
|
124
124
|
readonly required: false;
|
|
125
125
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
126
126
|
__epPropKey: true;
|
|
@@ -182,7 +182,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
182
182
|
};
|
|
183
183
|
error: StringConstructor;
|
|
184
184
|
validateStatus: {
|
|
185
|
-
readonly type: import("vue").PropType<import("element-plus/es/utils/vue/props/types.mjs").EpPropMergeType<StringConstructor, "" | "
|
|
185
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils/vue/props/types.mjs").EpPropMergeType<StringConstructor, "" | "error" | "success" | "validating", unknown>>;
|
|
186
186
|
readonly required: false;
|
|
187
187
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
188
188
|
__epPropKey: true;
|
|
@@ -191,7 +191,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
191
191
|
inlineMessage: import("element-plus/es/utils/vue/props/types.mjs").EpPropFinalized<BooleanConstructor, unknown, unknown, undefined, boolean>;
|
|
192
192
|
showMessage: import("element-plus/es/utils/vue/props/types.mjs").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
193
193
|
size: {
|
|
194
|
-
readonly type: import("vue").PropType<import("element-plus/es/utils/vue/props/types.mjs").EpPropMergeType<StringConstructor, "" | "default" | "
|
|
194
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils/vue/props/types.mjs").EpPropMergeType<StringConstructor, "" | "default" | "large" | "small", unknown>>;
|
|
195
195
|
readonly required: false;
|
|
196
196
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
197
197
|
__epPropKey: true;
|
|
@@ -7,12 +7,12 @@ type ValidationCallback = (error?: Error) => void;
|
|
|
7
7
|
export declare const formUtil: {
|
|
8
8
|
/**
|
|
9
9
|
* ElForm 表单验证
|
|
10
|
-
* @param elFormRef ElForm 组件ref
|
|
10
|
+
* @param elFormRef - ElForm 组件ref
|
|
11
11
|
*/
|
|
12
12
|
validate(elFormRef: Readonly<Ref<FormInstance | null | undefined>>): FormValidationResult;
|
|
13
13
|
/**
|
|
14
14
|
* ElForm 表单验证,带滚动
|
|
15
|
-
* @param elFormRef ElForm 组件ref
|
|
15
|
+
* @param elFormRef - ElForm 组件ref
|
|
16
16
|
*/
|
|
17
17
|
validateScrollToField(elFormRef: Readonly<Ref<FormInstance | null | undefined>>): FormValidationResult;
|
|
18
18
|
/**
|
|
@@ -6,7 +6,7 @@ import { RegExps } from "../../../constants/regex.mjs";
|
|
|
6
6
|
const formUtil = {
|
|
7
7
|
/**
|
|
8
8
|
* ElForm 表单验证
|
|
9
|
-
* @param elFormRef ElForm 组件ref
|
|
9
|
+
* @param elFormRef - ElForm 组件ref
|
|
10
10
|
*/
|
|
11
11
|
validate(elFormRef) {
|
|
12
12
|
return new Promise((resolve, reject) => {
|
|
@@ -23,7 +23,7 @@ const formUtil = {
|
|
|
23
23
|
},
|
|
24
24
|
/**
|
|
25
25
|
* ElForm 表单验证,带滚动
|
|
26
|
-
* @param elFormRef ElForm 组件ref
|
|
26
|
+
* @param elFormRef - ElForm 组件ref
|
|
27
27
|
*/
|
|
28
28
|
validateScrollToField(elFormRef) {
|
|
29
29
|
return new Promise((resolve, reject) => {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"form.mjs","names":[],"sources":["../../../../src/components/form/utils/form.ts"],"sourcesContent":["import { RegExps } from \"../../../constants\";\nimport type { FormInstance, FormItemRule, FormValidationResult } from \"element-plus\";\nimport type { Ref } from \"vue\";\n\ntype ValidationCallback = (error?: Error) => void;\n\n/**\n * 表单工具类\n */\nexport const formUtil = {\n\t/**\n\t * ElForm 表单验证\n\t * @param elFormRef ElForm 组件ref\n\t */\n\tvalidate(elFormRef: Readonly<Ref<FormInstance | null | undefined>>): FormValidationResult {\n\t\treturn new Promise<boolean>((resolve, reject) => {\n\t\t\tconst form = elFormRef.value;\n\t\t\tif (form == null) {\n\t\t\t\treject(new Error(\"ElForm 实例尚未挂载。\"));\n\t\t\t\treturn;\n\t\t\t}\n\t\t\tform.validate((isValid: boolean, invalidFields?) => {\n\t\t\t\tif (isValid) {\n\t\t\t\t\tresolve(isValid);\n\t\t\t\t} else {\n\t\t\t\t\t// eslint-disable-next-line @typescript-eslint/prefer-promise-reject-errors
|
|
1
|
+
{"version":3,"file":"form.mjs","names":[],"sources":["../../../../src/components/form/utils/form.ts"],"sourcesContent":["import { RegExps } from \"../../../constants\";\nimport type { FormInstance, FormItemRule, FormValidationResult } from \"element-plus\";\nimport type { Ref } from \"vue\";\n\ntype ValidationCallback = (error?: Error) => void;\n\n/**\n * 表单工具类\n */\nexport const formUtil = {\n\t/**\n\t * ElForm 表单验证\n\t * @param elFormRef - ElForm 组件ref\n\t */\n\tvalidate(elFormRef: Readonly<Ref<FormInstance | null | undefined>>): FormValidationResult {\n\t\treturn new Promise<boolean>((resolve, reject) => {\n\t\t\tconst form = elFormRef.value;\n\t\t\tif (form == null) {\n\t\t\t\treject(new Error(\"ElForm 实例尚未挂载。\"));\n\t\t\t\treturn;\n\t\t\t}\n\t\t\tform.validate((isValid: boolean, invalidFields?) => {\n\t\t\t\tif (isValid) {\n\t\t\t\t\tresolve(isValid);\n\t\t\t\t} else {\n\t\t\t\t\t// eslint-disable-next-line @typescript-eslint/prefer-promise-reject-errors -- 保持 Element Plus 校验失败时返回字段错误对象的合同\n\t\t\t\t\treject(invalidFields);\n\t\t\t\t}\n\t\t\t});\n\t\t});\n\t},\n\t/**\n\t * ElForm 表单验证,带滚动\n\t * @param elFormRef - ElForm 组件ref\n\t */\n\tvalidateScrollToField(elFormRef: Readonly<Ref<FormInstance | null | undefined>>): FormValidationResult {\n\t\treturn new Promise<boolean>((resolve, reject) => {\n\t\t\tconst form = elFormRef.value;\n\t\t\tif (form == null) {\n\t\t\t\treject(new Error(\"ElForm 实例尚未挂载。\"));\n\t\t\t\treturn;\n\t\t\t}\n\t\t\tform.validate((isValid: boolean, invalidFields?) => {\n\t\t\t\tif (isValid) {\n\t\t\t\t\tresolve(isValid);\n\t\t\t\t} else {\n\t\t\t\t\tform.scrollToField(Object.keys(invalidFields ?? {}));\n\t\t\t\t\t// eslint-disable-next-line @typescript-eslint/prefer-promise-reject-errors -- 保持 Element Plus 校验失败时返回字段错误对象的合同\n\t\t\t\t\treject(invalidFields);\n\t\t\t\t}\n\t\t\t});\n\t\t});\n\t},\n\t/**\n\t * 手机号\n\t */\n\tmobile(_rule: FormItemRule, value: string, callback: ValidationCallback): void {\n\t\tif (!value) {\n\t\t\tcallback(new Error(\"请输入手机号码\"));\n\t\t} else if (RegExps.Mobile.test(value)) {\n\t\t\tcallback();\n\t\t} else {\n\t\t\tcallback(new Error(\"请输入正确的手机号码\"));\n\t\t}\n\t},\n\t/**\n\t * 电话号码\n\t */\n\tphone(_rule: FormItemRule, value: string, callback: ValidationCallback): void {\n\t\tif (!value) {\n\t\t\tcallback();\n\t\t} else if (RegExps.Phone.test(value)) {\n\t\t\tcallback();\n\t\t} else {\n\t\t\tcallback(new Error(\"请输入正确的电话号码\"));\n\t\t}\n\t},\n\t/**\n\t * 邮箱\n\t */\n\temail(_rule: FormItemRule, value: string, callback: ValidationCallback): void {\n\t\tif (!value) {\n\t\t\tcallback();\n\t\t} else if (RegExps.Email.test(value)) {\n\t\t\tcallback();\n\t\t} else {\n\t\t\tcallback(new Error(\"请输入正确的邮箱地址\"));\n\t\t}\n\t},\n\t/**\n\t * 身份证\n\t */\n\tidCard(_rule: FormItemRule, value: string, callback: ValidationCallback): void {\n\t\tif (RegExps.IdCard.test(value) || !value) {\n\t\t\tcallback();\n\t\t} else {\n\t\t\tcallback(new Error(\"请输入正确的身份证号码\"));\n\t\t}\n\t},\n\t/**\n\t * 车牌号\n\t */\n\tcarNumber(_rule: FormItemRule, value: string | null | undefined, callback: ValidationCallback): void {\n\t\tlet success = false;\n\t\tif (value?.length === 7) {\n\t\t\tsuccess = RegExps.CarNumber.test(value);\n\t\t} else if (value?.length === 8) {\n\t\t\tsuccess = RegExps.NewEnergyCarNumber.test(value);\n\t\t}\n\t\tif (success) {\n\t\t\tcallback();\n\t\t} else {\n\t\t\tcallback(new Error(\"请输入正确的车牌号码\"));\n\t\t}\n\t},\n\t/**\n\t * editor 必填\n\t */\n\teditorRequired(_rule: FormItemRule, value: string, callback: ValidationCallback): void {\n\t\tif (value === \"<p><br></p>\") {\n\t\t\tcallback(new Error(\"内容不能为空\"));\n\t\t} else {\n\t\t\tcallback();\n\t\t}\n\t},\n\t/**\n\t * 外部链接\n\t */\n\texternal(_rule: FormItemRule, value: string, callback: ValidationCallback): void {\n\t\tif (RegExps.External.test(value)) {\n\t\t\tcallback();\n\t\t} else {\n\t\t\tcallback(new Error(\"请输入正确的外部链接\"));\n\t\t}\n\t},\n\t/**\n\t * 有效的URL\n\t */\n\turl(_rule: FormItemRule, value: string, callback: ValidationCallback): void {\n\t\tif (RegExps.Url.test(value)) {\n\t\t\tcallback();\n\t\t} else {\n\t\t\tcallback(new Error(\"请输入有效的 URL。\"));\n\t\t}\n\t},\n\t/**\n\t * 邮政编码\n\t */\n\tpostCode(_rule: FormItemRule, value: string, callback: ValidationCallback): void {\n\t\tif (RegExps.PostCode.test(value)) {\n\t\t\tcallback();\n\t\t} else {\n\t\t\tcallback(new Error(\"请输入有效的邮政编码\"));\n\t\t}\n\t},\n\t/**\n\t * 账号(6-20位字母或数字,必须以字母开头,不能全为数字)\n\t */\n\taccount(_rule: FormItemRule, value: string, callback: ValidationCallback): void {\n\t\tif (RegExps.Account.test(value)) {\n\t\t\tcallback();\n\t\t} else {\n\t\t\tcallback(new Error(\"请输入有效的账号(6-20位字母或数字,必须以字母开头,不能全为数字)\"));\n\t\t}\n\t},\n\t/**\n\t * 弱密码(只包含字母和数字,长度为6到18位)\n\t */\n\tpassword(_rule: FormItemRule, value: string, callback: ValidationCallback): void {\n\t\tif (RegExps.Password.test(value)) {\n\t\t\tcallback();\n\t\t} else {\n\t\t\tcallback(new Error(\"请输入有效的密码(只包含字母和数字,长度为6到18位)\"));\n\t\t}\n\t},\n\t/**\n\t * 强密码(8到20位,包含大小写字母、数字及特殊字符)\n\t */\n\tstrongPassword(_rule: FormItemRule, value: string, callback: ValidationCallback): void {\n\t\tif (RegExps.StrongPassword.test(value)) {\n\t\t\tcallback();\n\t\t} else {\n\t\t\tcallback(new Error(\"请输入有效的密码(8到20位,包含大小写字母、数字及特殊字符)\"));\n\t\t}\n\t},\n\t/**\n\t * 中文字符\n\t */\n\tchinese(_rule: FormItemRule, value: string, callback: ValidationCallback): void {\n\t\tif (RegExps.Chinese.test(value)) {\n\t\t\tcallback();\n\t\t} else {\n\t\t\tcallback(new Error(\"请输入有效的中文字符\"));\n\t\t}\n\t},\n\t/**\n\t * 英文字符\n\t */\n\tenglish(_rule: FormItemRule, value: string, callback: ValidationCallback): void {\n\t\tif (RegExps.English.test(value)) {\n\t\t\tcallback();\n\t\t} else {\n\t\t\tcallback(new Error(\"请输入有效的英文字符\"));\n\t\t}\n\t},\n\t/**\n\t * 文本框必填\n\t */\n\tinputRequired(message: string, trigger = \"blur\"): FormItemRule {\n\t\treturn {\n\t\t\trequired: true,\n\t\t\tmessage,\n\t\t\ttrigger,\n\t\t};\n\t},\n\t/**\n\t * 选择器必选\n\t */\n\tselectRequired(message: string, trigger = \"change\"): FormItemRule {\n\t\treturn {\n\t\t\trequired: true,\n\t\t\tmessage,\n\t\t\ttrigger,\n\t\t};\n\t},\n};\n"],"mappings":";;;;;AASA,MAAa,WAAW;;;;;CAKvB,SAAS,WAAiF;EACzF,OAAO,IAAI,SAAkB,SAAS,WAAW;GAChD,MAAM,OAAO,UAAU;GACvB,IAAI,QAAQ,MAAM;IACjB,uBAAO,IAAI,MAAM,gBAAgB,CAAC;IAClC;GACD;GACA,KAAK,UAAU,SAAkB,kBAAmB;IACnD,IAAI,SACH,QAAQ,OAAO;SAGf,OAAO,aAAa;GAEtB,CAAC;EACF,CAAC;CACF;;;;;CAKA,sBAAsB,WAAiF;EACtG,OAAO,IAAI,SAAkB,SAAS,WAAW;GAChD,MAAM,OAAO,UAAU;GACvB,IAAI,QAAQ,MAAM;IACjB,uBAAO,IAAI,MAAM,gBAAgB,CAAC;IAClC;GACD;GACA,KAAK,UAAU,SAAkB,kBAAmB;IACnD,IAAI,SACH,QAAQ,OAAO;SACT;KACN,KAAK,cAAc,OAAO,KAAK,iBAAiB,CAAC,CAAC,CAAC;KAEnD,OAAO,aAAa;IACrB;GACD,CAAC;EACF,CAAC;CACF;;;;CAIA,OAAO,OAAqB,OAAe,UAAoC;EAC9E,IAAI,CAAC,OACJ,yBAAS,IAAI,MAAM,SAAS,CAAC;OACvB,IAAI,QAAQ,OAAO,KAAK,KAAK,GACnC,SAAS;OAET,yBAAS,IAAI,MAAM,YAAY,CAAC;CAElC;;;;CAIA,MAAM,OAAqB,OAAe,UAAoC;EAC7E,IAAI,CAAC,OACJ,SAAS;OACH,IAAI,QAAQ,MAAM,KAAK,KAAK,GAClC,SAAS;OAET,yBAAS,IAAI,MAAM,YAAY,CAAC;CAElC;;;;CAIA,MAAM,OAAqB,OAAe,UAAoC;EAC7E,IAAI,CAAC,OACJ,SAAS;OACH,IAAI,QAAQ,MAAM,KAAK,KAAK,GAClC,SAAS;OAET,yBAAS,IAAI,MAAM,YAAY,CAAC;CAElC;;;;CAIA,OAAO,OAAqB,OAAe,UAAoC;EAC9E,IAAI,QAAQ,OAAO,KAAK,KAAK,KAAK,CAAC,OAClC,SAAS;OAET,yBAAS,IAAI,MAAM,aAAa,CAAC;CAEnC;;;;CAIA,UAAU,OAAqB,OAAkC,UAAoC;EACpG,IAAI,UAAU;EACd,IAAI,OAAO,WAAW,GACrB,UAAU,QAAQ,UAAU,KAAK,KAAK;OAChC,IAAI,OAAO,WAAW,GAC5B,UAAU,QAAQ,mBAAmB,KAAK,KAAK;EAEhD,IAAI,SACH,SAAS;OAET,yBAAS,IAAI,MAAM,YAAY,CAAC;CAElC;;;;CAIA,eAAe,OAAqB,OAAe,UAAoC;EACtF,IAAI,UAAU,eACb,yBAAS,IAAI,MAAM,QAAQ,CAAC;OAE5B,SAAS;CAEX;;;;CAIA,SAAS,OAAqB,OAAe,UAAoC;EAChF,IAAI,QAAQ,SAAS,KAAK,KAAK,GAC9B,SAAS;OAET,yBAAS,IAAI,MAAM,YAAY,CAAC;CAElC;;;;CAIA,IAAI,OAAqB,OAAe,UAAoC;EAC3E,IAAI,QAAQ,IAAI,KAAK,KAAK,GACzB,SAAS;OAET,yBAAS,IAAI,MAAM,aAAa,CAAC;CAEnC;;;;CAIA,SAAS,OAAqB,OAAe,UAAoC;EAChF,IAAI,QAAQ,SAAS,KAAK,KAAK,GAC9B,SAAS;OAET,yBAAS,IAAI,MAAM,YAAY,CAAC;CAElC;;;;CAIA,QAAQ,OAAqB,OAAe,UAAoC;EAC/E,IAAI,QAAQ,QAAQ,KAAK,KAAK,GAC7B,SAAS;OAET,yBAAS,IAAI,MAAM,qCAAqC,CAAC;CAE3D;;;;CAIA,SAAS,OAAqB,OAAe,UAAoC;EAChF,IAAI,QAAQ,SAAS,KAAK,KAAK,GAC9B,SAAS;OAET,yBAAS,IAAI,MAAM,6BAA6B,CAAC;CAEnD;;;;CAIA,eAAe,OAAqB,OAAe,UAAoC;EACtF,IAAI,QAAQ,eAAe,KAAK,KAAK,GACpC,SAAS;OAET,yBAAS,IAAI,MAAM,iCAAiC,CAAC;CAEvD;;;;CAIA,QAAQ,OAAqB,OAAe,UAAoC;EAC/E,IAAI,QAAQ,QAAQ,KAAK,KAAK,GAC7B,SAAS;OAET,yBAAS,IAAI,MAAM,YAAY,CAAC;CAElC;;;;CAIA,QAAQ,OAAqB,OAAe,UAAoC;EAC/E,IAAI,QAAQ,QAAQ,KAAK,KAAK,GAC7B,SAAS;OAET,yBAAS,IAAI,MAAM,YAAY,CAAC;CAElC;;;;CAIA,cAAc,SAAiB,UAAU,QAAsB;EAC9D,OAAO;GACN,UAAU;GACV;GACA;EACD;CACD;;;;CAIA,eAAe,SAAiB,UAAU,UAAwB;EACjE,OAAO;GACN,UAAU;GACV;GACA;EACD;CACD;AACD"}
|
|
@@ -6,7 +6,7 @@ export declare const FaFormItemTip: TSXWithInstall<typeof FormItemTip>;
|
|
|
6
6
|
export default FaFormItemTip;
|
|
7
7
|
export { faFormItemTipProps };
|
|
8
8
|
export type { FaFormItemTipSlots } from "./src/formItemTip";
|
|
9
|
-
/** FaFormItemTip
|
|
9
|
+
/** FaFormItemTip 暴露的组件实例类型 */
|
|
10
10
|
export type FaFormItemTipInstance = InstanceType<typeof FormItemTip>;
|
|
11
|
-
/** FaFormItemTip 的完整 Props
|
|
11
|
+
/** FaFormItemTip 的完整 Props 类型 */
|
|
12
12
|
export type FaFormItemTipProps = ExtractPropTypes<typeof faFormItemTipProps>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.mjs","names":["FormItemTip"],"sources":["../../../src/components/formItemTip/index.ts"],"sourcesContent":["import { withInstall } from \"../../utils\";\nimport FormItemTip, { faFormItemTipProps } from \"./src/formItemTip\";\nimport type { ExtractPropTypes } from \"vue\";\nimport type { TSXWithInstall } from \"../../utils\";\n\n/** 为表单项标签提供补充说明的提示组件。 */\nexport const FaFormItemTip: TSXWithInstall<typeof FormItemTip> = withInstall(FormItemTip);\nexport default FaFormItemTip;\n\nexport { faFormItemTipProps };\nexport type { FaFormItemTipSlots } from \"./src/formItemTip\";\n\n/** FaFormItemTip
|
|
1
|
+
{"version":3,"file":"index.mjs","names":["FormItemTip"],"sources":["../../../src/components/formItemTip/index.ts"],"sourcesContent":["import { withInstall } from \"../../utils\";\nimport FormItemTip, { faFormItemTipProps } from \"./src/formItemTip\";\nimport type { ExtractPropTypes } from \"vue\";\nimport type { TSXWithInstall } from \"../../utils\";\n\n/** 为表单项标签提供补充说明的提示组件。 */\nexport const FaFormItemTip: TSXWithInstall<typeof FormItemTip> = withInstall(FormItemTip);\nexport default FaFormItemTip;\n\nexport { faFormItemTipProps };\nexport type { FaFormItemTipSlots } from \"./src/formItemTip\";\n\n/** FaFormItemTip 暴露的组件实例类型 */\nexport type FaFormItemTipInstance = InstanceType<typeof FormItemTip>;\n\n/** FaFormItemTip 的完整 Props 类型 */\nexport type FaFormItemTipProps = ExtractPropTypes<typeof faFormItemTipProps>;\n"],"mappings":";;;;AAMA,MAAa,gBAAoD,YAAYA,mBAAW"}
|