fast-element-plus 2.0.20 → 2.0.22
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 +20 -0
- package/dist/component.d.ts +15 -15
- package/dist/components/avatar/index.d.ts +3 -3
- package/dist/components/avatar/index.mjs.map +1 -1
- 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 +1 -1
- package/dist/components/carNumber/index.d.ts +1 -1
- package/dist/components/carNumber/index.mjs.map +1 -1
- 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/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/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 +1 -1
- 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 +1 -1
- 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 +1 -1
- 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.mjs +20 -20
- package/dist/components/table/src/table.mjs.map +1 -1
- package/dist/components/table/src/table.type.d.ts +5 -5
- 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 +34 -28
- package/dist/components/table/src/tableColumn.mjs.map +1 -1
- package/dist/components/table/utils/table.d.ts +18 -15
- package/dist/components/table/utils/table.mjs +20 -17
- 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 +1 -1
- 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.global.min.js +4 -4
- package/dist/index.global.min.js.map +1 -1
- package/dist/internal/props.d.ts +1 -1
- 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 +1 -1
|
@@ -6,9 +6,9 @@ export declare const FaInputDialogPage: TSXWithInstall<typeof InputDialogPage>;
|
|
|
6
6
|
export default FaInputDialogPage;
|
|
7
7
|
export { faInputDialogPageProps, faInputDialogPageEmits };
|
|
8
8
|
export type { FaInputDialogPageSlots } from "./src/inputDialogPage";
|
|
9
|
-
/** FaInputDialogPage
|
|
9
|
+
/** FaInputDialogPage 暴露的组件实例类型 */
|
|
10
10
|
export type FaInputDialogPageInstance = InstanceType<typeof InputDialogPage>;
|
|
11
|
-
/** FaInputDialogPage 的完整 Props
|
|
11
|
+
/** FaInputDialogPage 的完整 Props 类型 */
|
|
12
12
|
export type FaInputDialogPageProps = ExtractPropTypes<typeof faInputDialogPageProps>;
|
|
13
|
-
/** FaInputDialogPage 的 Emits
|
|
13
|
+
/** FaInputDialogPage 的 Emits 类型 */
|
|
14
14
|
export type FaInputDialogPageEmits = typeof faInputDialogPageEmits;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.mjs","names":["InputDialogPage"],"sources":["../../../src/components/inputDialogPage/index.ts"],"sourcesContent":["import { withInstall } from \"../../utils\";\nimport InputDialogPage, { faInputDialogPageEmits, faInputDialogPageProps } from \"./src/inputDialogPage\";\nimport type { ExtractPropTypes } from \"vue\";\nimport type { TSXWithInstall } from \"../../utils\";\n\n/** 在对话框中提供分页选择与输入交互的组件。 */\nexport const FaInputDialogPage: TSXWithInstall<typeof InputDialogPage> = withInstall(InputDialogPage);\nexport default FaInputDialogPage;\n\nexport { faInputDialogPageProps, faInputDialogPageEmits };\nexport type { FaInputDialogPageSlots } from \"./src/inputDialogPage\";\n\n/** FaInputDialogPage
|
|
1
|
+
{"version":3,"file":"index.mjs","names":["InputDialogPage"],"sources":["../../../src/components/inputDialogPage/index.ts"],"sourcesContent":["import { withInstall } from \"../../utils\";\nimport InputDialogPage, { faInputDialogPageEmits, faInputDialogPageProps } from \"./src/inputDialogPage\";\nimport type { ExtractPropTypes } from \"vue\";\nimport type { TSXWithInstall } from \"../../utils\";\n\n/** 在对话框中提供分页选择与输入交互的组件。 */\nexport const FaInputDialogPage: TSXWithInstall<typeof InputDialogPage> = withInstall(InputDialogPage);\nexport default FaInputDialogPage;\n\nexport { faInputDialogPageProps, faInputDialogPageEmits };\nexport type { FaInputDialogPageSlots } from \"./src/inputDialogPage\";\n\n/** FaInputDialogPage 暴露的组件实例类型 */\nexport type FaInputDialogPageInstance = InstanceType<typeof InputDialogPage>;\n\n/** FaInputDialogPage 的完整 Props 类型 */\nexport type FaInputDialogPageProps = ExtractPropTypes<typeof faInputDialogPageProps>;\n\n/** FaInputDialogPage 的 Emits 类型 */\nexport type FaInputDialogPageEmits = typeof faInputDialogPageEmits;\n"],"mappings":";;;;AAMA,MAAa,oBAA4D,YAAYA,uBAAe"}
|
|
@@ -11,7 +11,7 @@ export declare const FaLayoutGridItem: TSXWithInstall<typeof LayoutGridItem>;
|
|
|
11
11
|
export type * from "./src/layoutGrid.type";
|
|
12
12
|
export type { FaLayoutGridSlots } from "./src/layoutGrid";
|
|
13
13
|
export type { FaLayoutGridItemSlots } from "./src/layoutGridItem";
|
|
14
|
-
/** FaLayoutGrid
|
|
14
|
+
/** FaLayoutGrid 暴露的组件实例类型 */
|
|
15
15
|
export type FaLayoutGridInstance = InstanceType<typeof LayoutGrid>;
|
|
16
|
-
/** FaLayoutGridItem
|
|
16
|
+
/** FaLayoutGridItem 暴露的组件实例类型 */
|
|
17
17
|
export type FaLayoutGridItemInstance = InstanceType<typeof LayoutGridItem>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.mjs","names":["LayoutGrid","LayoutGridItem"],"sources":["../../../src/components/layoutGrid/index.ts"],"sourcesContent":["import { withInstall, withNoopInstall } from \"../../utils\";\nimport LayoutGrid from \"./src/layoutGrid\";\nimport LayoutGridItem from \"./src/layoutGridItem\";\nimport type { TSXWithInstall } from \"../../utils\";\n\n/** 根据断点和容器宽度排列内容的响应式布局组件。 */\nexport const FaLayoutGrid: TSXWithInstall<typeof LayoutGrid> & { LayoutGridItem: typeof LayoutGridItem } = withInstall(LayoutGrid, {\n\tLayoutGridItem,\n});\nexport default FaLayoutGrid;\n\n/** 可独立注册的响应式布局项组件。 */\nexport const FaLayoutGridItem: TSXWithInstall<typeof LayoutGridItem> = withNoopInstall(LayoutGridItem);\n\nexport type * from \"./src/layoutGrid.type\";\nexport type { FaLayoutGridSlots } from \"./src/layoutGrid\";\nexport type { FaLayoutGridItemSlots } from \"./src/layoutGridItem\";\n\n/** FaLayoutGrid
|
|
1
|
+
{"version":3,"file":"index.mjs","names":["LayoutGrid","LayoutGridItem"],"sources":["../../../src/components/layoutGrid/index.ts"],"sourcesContent":["import { withInstall, withNoopInstall } from \"../../utils\";\nimport LayoutGrid from \"./src/layoutGrid\";\nimport LayoutGridItem from \"./src/layoutGridItem\";\nimport type { TSXWithInstall } from \"../../utils\";\n\n/** 根据断点和容器宽度排列内容的响应式布局组件。 */\nexport const FaLayoutGrid: TSXWithInstall<typeof LayoutGrid> & { LayoutGridItem: typeof LayoutGridItem } = withInstall(LayoutGrid, {\n\tLayoutGridItem,\n});\nexport default FaLayoutGrid;\n\n/** 可独立注册的响应式布局项组件。 */\nexport const FaLayoutGridItem: TSXWithInstall<typeof LayoutGridItem> = withNoopInstall(LayoutGridItem);\n\nexport type * from \"./src/layoutGrid.type\";\nexport type { FaLayoutGridSlots } from \"./src/layoutGrid\";\nexport type { FaLayoutGridItemSlots } from \"./src/layoutGridItem\";\n\n/** FaLayoutGrid 暴露的组件实例类型 */\nexport type FaLayoutGridInstance = InstanceType<typeof LayoutGrid>;\n\n/** FaLayoutGridItem 暴露的组件实例类型 */\nexport type FaLayoutGridItemInstance = InstanceType<typeof LayoutGridItem>;\n"],"mappings":";;;;;AAMA,MAAa,eAA8F,YAAYA,oBAAY,EAClI,gBAAA,uBACD,CAAC;;AAID,MAAa,mBAA0D,gBAAgBC,sBAAc"}
|
|
@@ -13,11 +13,11 @@ export declare const FaSelectOption: TSXWithInstall<typeof SelectOption>;
|
|
|
13
13
|
export { faSelectProps };
|
|
14
14
|
export type { FaSelectSlots } from "./src/select";
|
|
15
15
|
export type * from "./src/select.type";
|
|
16
|
-
/** FaSelect
|
|
16
|
+
/** FaSelect 暴露的组件实例类型 */
|
|
17
17
|
export type FaSelectInstance = InstanceType<typeof Select>;
|
|
18
|
-
/** FaSelect 的完整 Props
|
|
18
|
+
/** FaSelect 的完整 Props 类型 */
|
|
19
19
|
export type FaSelectProps = ExtractPropTypes<typeof faSelectProps>;
|
|
20
|
-
/** FaSelect 的 Emits
|
|
20
|
+
/** FaSelect 的 Emits 类型 */
|
|
21
21
|
export type FaSelectEmits = typeof faSelectEmits;
|
|
22
|
-
/** FaSelectOption
|
|
22
|
+
/** FaSelectOption 暴露的组件实例类型 */
|
|
23
23
|
export type FaSelectOptionInstance = InstanceType<typeof SelectOption>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.mjs","names":["Select","SelectOption"],"sources":["../../../src/components/select/index.ts"],"sourcesContent":["import { withInstall, withNoopInstall } from \"../../utils\";\nimport Select, { faSelectProps } from \"./src/select\";\nimport SelectOption from \"./src/selectOption\";\nimport type { ExtractPropTypes } from \"vue\";\nimport type { TSXWithInstall } from \"../../utils\";\nimport type { faSelectEmits } from \"./src/select\";\n\n/** 支持远程数据、分页和自定义选项的选择器组件。 */\nexport const FaSelect: TSXWithInstall<typeof Select> & { SelectOption: typeof SelectOption } = withInstall(Select, {\n\tSelectOption,\n});\nexport default FaSelect;\n\n/** 可独立注册的 FaSelect 选项组件。 */\nexport const FaSelectOption: TSXWithInstall<typeof SelectOption> = withNoopInstall(SelectOption);\n\nexport { faSelectProps };\nexport type { FaSelectSlots } from \"./src/select\";\nexport type * from \"./src/select.type\";\n\n/** FaSelect
|
|
1
|
+
{"version":3,"file":"index.mjs","names":["Select","SelectOption"],"sources":["../../../src/components/select/index.ts"],"sourcesContent":["import { withInstall, withNoopInstall } from \"../../utils\";\nimport Select, { faSelectProps } from \"./src/select\";\nimport SelectOption from \"./src/selectOption\";\nimport type { ExtractPropTypes } from \"vue\";\nimport type { TSXWithInstall } from \"../../utils\";\nimport type { faSelectEmits } from \"./src/select\";\n\n/** 支持远程数据、分页和自定义选项的选择器组件。 */\nexport const FaSelect: TSXWithInstall<typeof Select> & { SelectOption: typeof SelectOption } = withInstall(Select, {\n\tSelectOption,\n});\nexport default FaSelect;\n\n/** 可独立注册的 FaSelect 选项组件。 */\nexport const FaSelectOption: TSXWithInstall<typeof SelectOption> = withNoopInstall(SelectOption);\n\nexport { faSelectProps };\nexport type { FaSelectSlots } from \"./src/select\";\nexport type * from \"./src/select.type\";\n\n/** FaSelect 暴露的组件实例类型 */\nexport type FaSelectInstance = InstanceType<typeof Select>;\n\n/** FaSelect 的完整 Props 类型 */\nexport type FaSelectProps = ExtractPropTypes<typeof faSelectProps>;\n\n/** FaSelect 的 Emits 类型 */\nexport type FaSelectEmits = typeof faSelectEmits;\n\n/** FaSelectOption 暴露的组件实例类型 */\nexport type FaSelectOptionInstance = InstanceType<typeof SelectOption>;\n"],"mappings":";;;;;AAQA,MAAa,WAAkF,YAAYA,gBAAQ,EAClH,cAAA,qBACD,CAAC;;AAID,MAAa,iBAAsD,gBAAgBC,oBAAY"}
|
|
@@ -584,10 +584,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
584
584
|
"onRemove-tag"?: ((val: unknown) => any) | undefined;
|
|
585
585
|
}>, {
|
|
586
586
|
data: ElSelectorOutput<ElSelectorValue, any>[];
|
|
587
|
-
loading: boolean;
|
|
588
587
|
props: SelectComponentProps;
|
|
589
588
|
offset: number;
|
|
590
589
|
placement: import("element-plus/es/utils/vue/props/types.mjs").EpPropMergeType<(new (...args: any[]) => "left" | "right" | "top" | "auto" | "bottom" | "auto-start" | "auto-end" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | (() => import("element-plus").Placement) | ((new (...args: any[]) => "left" | "right" | "top" | "auto" | "bottom" | "auto-start" | "auto-end" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | (() => import("element-plus").Placement) | null)[], import("element-plus").Placement, unknown>;
|
|
590
|
+
loading: boolean;
|
|
591
591
|
disabled: boolean;
|
|
592
592
|
modelValue: ElSelectorModelValue;
|
|
593
593
|
autocomplete: string;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
/**
|
|
1
|
+
/** 选择器支持的单项值类型 */
|
|
2
2
|
export type ElSelectorValue = string | number | boolean | object;
|
|
3
3
|
/** 选择器的单值、多值或空模型。 */
|
|
4
4
|
export type ElSelectorModelValue = ElSelectorValue | ElSelectorValue[] | null | undefined;
|
|
5
|
-
/**
|
|
5
|
+
/** 选择器标准化后的选项数据 */
|
|
6
6
|
export interface ElSelectorOutput<T = ElSelectorValue, Data = any> {
|
|
7
7
|
/**
|
|
8
8
|
* 显示
|
|
@@ -6,9 +6,9 @@ export declare const FaSelectPage: TSXWithInstall<typeof SelectPage>;
|
|
|
6
6
|
export default FaSelectPage;
|
|
7
7
|
export { faSelectPageProps, faSelectPageEmits };
|
|
8
8
|
export type { FaSelectPageSlots } from "./src/selectPage";
|
|
9
|
-
/** FaSelectPage
|
|
9
|
+
/** FaSelectPage 暴露的组件实例类型 */
|
|
10
10
|
export type FaSelectPageInstance = InstanceType<typeof SelectPage>;
|
|
11
|
-
/** FaSelectPage 的完整 Props
|
|
11
|
+
/** FaSelectPage 的完整 Props 类型 */
|
|
12
12
|
export type FaSelectPageProps = ExtractPropTypes<typeof faSelectPageProps>;
|
|
13
|
-
/** FaSelectPage 的 Emits
|
|
13
|
+
/** FaSelectPage 的 Emits 类型 */
|
|
14
14
|
export type FaSelectPageEmits = typeof faSelectPageEmits;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.mjs","names":["SelectPage"],"sources":["../../../src/components/selectPage/index.ts"],"sourcesContent":["import { withInstall } from \"../../utils\";\nimport SelectPage, { faSelectPageEmits, faSelectPageProps } from \"./src/selectPage\";\nimport type { ExtractPropTypes } from \"vue\";\nimport type { TSXWithInstall } from \"../../utils\";\n\n/** 支持分页数据源和远程检索的选择器组件。 */\nexport const FaSelectPage: TSXWithInstall<typeof SelectPage> = withInstall(SelectPage);\nexport default FaSelectPage;\n\nexport { faSelectPageProps, faSelectPageEmits };\nexport type { FaSelectPageSlots } from \"./src/selectPage\";\n\n/** FaSelectPage
|
|
1
|
+
{"version":3,"file":"index.mjs","names":["SelectPage"],"sources":["../../../src/components/selectPage/index.ts"],"sourcesContent":["import { withInstall } from \"../../utils\";\nimport SelectPage, { faSelectPageEmits, faSelectPageProps } from \"./src/selectPage\";\nimport type { ExtractPropTypes } from \"vue\";\nimport type { TSXWithInstall } from \"../../utils\";\n\n/** 支持分页数据源和远程检索的选择器组件。 */\nexport const FaSelectPage: TSXWithInstall<typeof SelectPage> = withInstall(SelectPage);\nexport default FaSelectPage;\n\nexport { faSelectPageProps, faSelectPageEmits };\nexport type { FaSelectPageSlots } from \"./src/selectPage\";\n\n/** FaSelectPage 暴露的组件实例类型 */\nexport type FaSelectPageInstance = InstanceType<typeof SelectPage>;\n\n/** FaSelectPage 的完整 Props 类型 */\nexport type FaSelectPageProps = ExtractPropTypes<typeof faSelectPageProps>;\n\n/** FaSelectPage 的 Emits 类型 */\nexport type FaSelectPageEmits = typeof faSelectPageEmits;\n"],"mappings":";;;;AAMA,MAAa,eAAkD,YAAYA,kBAAU"}
|
|
@@ -550,10 +550,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
550
550
|
}) => any) | undefined;
|
|
551
551
|
"onRemove-tag"?: ((val: unknown) => any) | undefined;
|
|
552
552
|
}>, {
|
|
553
|
-
loading: boolean;
|
|
554
553
|
props: SelectComponentProps;
|
|
555
554
|
offset: number;
|
|
556
555
|
placement: import("element-plus/es/utils/vue/props/types.mjs").EpPropMergeType<(new (...args: any[]) => "left" | "right" | "top" | "auto" | "bottom" | "auto-start" | "auto-end" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | (() => import("element-plus").Placement) | ((new (...args: any[]) => "left" | "right" | "top" | "auto" | "bottom" | "auto-start" | "auto-end" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | (() => import("element-plus").Placement) | null)[], import("element-plus").Placement, unknown>;
|
|
556
|
+
loading: boolean;
|
|
557
557
|
disabled: boolean;
|
|
558
558
|
modelValue: ElSelectorModelValue;
|
|
559
559
|
autocomplete: string;
|
|
@@ -7,9 +7,9 @@ export declare const FaSelectV2: TSXWithInstall<typeof SelectV2>;
|
|
|
7
7
|
export default FaSelectV2;
|
|
8
8
|
export { SelectV2Props, faSelectV2Props };
|
|
9
9
|
export type { FaSelectV2Slots } from "./src/selectV2";
|
|
10
|
-
/** FaSelectV2
|
|
10
|
+
/** FaSelectV2 暴露的组件实例类型 */
|
|
11
11
|
export type FaSelectV2Instance = InstanceType<typeof SelectV2>;
|
|
12
|
-
/** FaSelectV2 的完整 Props
|
|
12
|
+
/** FaSelectV2 的完整 Props 类型 */
|
|
13
13
|
export type FaSelectV2Props = ExtractPropTypes<typeof faSelectV2Props>;
|
|
14
|
-
/** FaSelectV2 的 Emits
|
|
14
|
+
/** FaSelectV2 的 Emits 类型 */
|
|
15
15
|
export type FaSelectV2Emits = typeof faSelectV2Emits;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.mjs","names":["SelectV2"],"sources":["../../../src/components/selectV2/index.ts"],"sourcesContent":["import { withInstall } from \"../../utils\";\nimport SelectV2, { SelectV2Props, faSelectV2Props } from \"./src/selectV2\";\nimport type { ExtractPropTypes } from \"vue\";\nimport type { TSXWithInstall } from \"../../utils\";\nimport type { faSelectV2Emits } from \"./src/selectV2\";\n\n/** 面向大数据量选项并支持远程分页的虚拟化选择器组件。 */\nexport const FaSelectV2: TSXWithInstall<typeof SelectV2> = withInstall(SelectV2);\nexport default FaSelectV2;\n\nexport { SelectV2Props, faSelectV2Props };\nexport type { FaSelectV2Slots } from \"./src/selectV2\";\n\n/** FaSelectV2
|
|
1
|
+
{"version":3,"file":"index.mjs","names":["SelectV2"],"sources":["../../../src/components/selectV2/index.ts"],"sourcesContent":["import { withInstall } from \"../../utils\";\nimport SelectV2, { SelectV2Props, faSelectV2Props } from \"./src/selectV2\";\nimport type { ExtractPropTypes } from \"vue\";\nimport type { TSXWithInstall } from \"../../utils\";\nimport type { faSelectV2Emits } from \"./src/selectV2\";\n\n/** 面向大数据量选项并支持远程分页的虚拟化选择器组件。 */\nexport const FaSelectV2: TSXWithInstall<typeof SelectV2> = withInstall(SelectV2);\nexport default FaSelectV2;\n\nexport { SelectV2Props, faSelectV2Props };\nexport type { FaSelectV2Slots } from \"./src/selectV2\";\n\n/** FaSelectV2 暴露的组件实例类型 */\nexport type FaSelectV2Instance = InstanceType<typeof SelectV2>;\n\n/** FaSelectV2 的完整 Props 类型 */\nexport type FaSelectV2Props = ExtractPropTypes<typeof faSelectV2Props>;\n\n/** FaSelectV2 的 Emits 类型 */\nexport type FaSelectV2Emits = typeof faSelectV2Emits;\n"],"mappings":";;;;;AAOA,MAAa,aAA8C,YAAYA,gBAAQ"}
|
|
@@ -743,10 +743,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
743
743
|
"onRemove-tag"?: ((_value: ElSelectorValue) => any) | undefined;
|
|
744
744
|
}>, {
|
|
745
745
|
data: ElSelectorOutput<ElSelectorValue, any>[];
|
|
746
|
-
loading: boolean;
|
|
747
746
|
props: import("./selectV2").Props;
|
|
748
747
|
offset: number;
|
|
749
748
|
placement: import("element-plus").Placement;
|
|
749
|
+
loading: boolean;
|
|
750
750
|
disabled: boolean;
|
|
751
751
|
modelValue: ElSelectorModelValue;
|
|
752
752
|
autocomplete: "none" | "both" | "inline" | "list";
|
|
@@ -23,12 +23,12 @@ export type * from "./src/table.type";
|
|
|
23
23
|
export { faTableEmits, faTableProps, tableColumnProps, tableProps };
|
|
24
24
|
export type { FaTableSlots };
|
|
25
25
|
export type { FaTableColumnSlots, FaTableColumnSlotsResult } from "./src/tableColumn";
|
|
26
|
-
/** FaTable
|
|
26
|
+
/** FaTable 暴露的组件实例类型 */
|
|
27
27
|
export type FaTableInstance = InstanceType<typeof Table>;
|
|
28
|
-
/** FaTable 的完整 Props
|
|
28
|
+
/** FaTable 的完整 Props 类型 */
|
|
29
29
|
export type FaTableProps = ExtractPropTypes<typeof faTableProps>;
|
|
30
|
-
/** FaTable 的 Emits
|
|
30
|
+
/** FaTable 的 Emits 类型 */
|
|
31
31
|
export type FaTableEmits = typeof faTableEmits;
|
|
32
|
-
/** FaTableColumn
|
|
32
|
+
/** FaTableColumn 暴露的组件实例类型 */
|
|
33
33
|
export type FaTableColumnInstance = InstanceType<typeof TableColumn>;
|
|
34
34
|
export * from "./utils/table";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.mjs","names":["Table","TableColumn"],"sources":["../../../src/components/table/index.ts"],"sourcesContent":["import { withInstall, withNoopInstall } from \"../../utils\";\nimport Table, { type FaTableSlots, faTableEmits, faTableProps, tableProps } from \"./src/table\";\nimport TableColumn, { tableColumnProps } from \"./src/tableColumn\";\nimport TableColumnsSettingDialog from \"./src/tableColumnSettingDialog\";\nimport TablePagination from \"./src/tablePagination\";\nimport TableSearchForm from \"./src/tableSearchForm\";\nimport TableSearchFormItem from \"./src/tableSearchFormItem\";\nimport type { ExtractPropTypes } from \"vue\";\nimport type { TSXWithInstall } from \"../../utils\";\n\n/** 集成查询、分页、列配置和枚举映射的业务表格组件。 */\nexport const FaTable: TSXWithInstall<typeof Table> & {\n\tTableColumn: typeof TableColumn;\n\tTableColumnsSettingDialog: typeof TableColumnsSettingDialog;\n\tTablePagination: typeof TablePagination;\n\tTableSearchForm: typeof TableSearchForm;\n\tTableSearchFormItem: typeof TableSearchFormItem;\n} = withInstall(Table, {\n\tTableColumn,\n\tTableColumnsSettingDialog,\n\tTablePagination,\n\tTableSearchForm,\n\tTableSearchFormItem,\n});\nexport default FaTable;\n\n/** 可独立注册的 FaTable 列组件。 */\nexport const FaTableColumn: TSXWithInstall<typeof TableColumn> = withNoopInstall(TableColumn);\n\nexport type * from \"./src/page.type\";\nexport type * from \"./src/table.state\";\nexport type * from \"./src/table.type\";\n\nexport { faTableEmits, faTableProps, tableColumnProps, tableProps };\nexport type { FaTableSlots };\nexport type { FaTableColumnSlots, FaTableColumnSlotsResult } from \"./src/tableColumn\";\n\n/** FaTable
|
|
1
|
+
{"version":3,"file":"index.mjs","names":["Table","TableColumn"],"sources":["../../../src/components/table/index.ts"],"sourcesContent":["import { withInstall, withNoopInstall } from \"../../utils\";\nimport Table, { type FaTableSlots, faTableEmits, faTableProps, tableProps } from \"./src/table\";\nimport TableColumn, { tableColumnProps } from \"./src/tableColumn\";\nimport TableColumnsSettingDialog from \"./src/tableColumnSettingDialog\";\nimport TablePagination from \"./src/tablePagination\";\nimport TableSearchForm from \"./src/tableSearchForm\";\nimport TableSearchFormItem from \"./src/tableSearchFormItem\";\nimport type { ExtractPropTypes } from \"vue\";\nimport type { TSXWithInstall } from \"../../utils\";\n\n/** 集成查询、分页、列配置和枚举映射的业务表格组件。 */\nexport const FaTable: TSXWithInstall<typeof Table> & {\n\tTableColumn: typeof TableColumn;\n\tTableColumnsSettingDialog: typeof TableColumnsSettingDialog;\n\tTablePagination: typeof TablePagination;\n\tTableSearchForm: typeof TableSearchForm;\n\tTableSearchFormItem: typeof TableSearchFormItem;\n} = withInstall(Table, {\n\tTableColumn,\n\tTableColumnsSettingDialog,\n\tTablePagination,\n\tTableSearchForm,\n\tTableSearchFormItem,\n});\nexport default FaTable;\n\n/** 可独立注册的 FaTable 列组件。 */\nexport const FaTableColumn: TSXWithInstall<typeof TableColumn> = withNoopInstall(TableColumn);\n\nexport type * from \"./src/page.type\";\nexport type * from \"./src/table.state\";\nexport type * from \"./src/table.type\";\n\nexport { faTableEmits, faTableProps, tableColumnProps, tableProps };\nexport type { FaTableSlots };\nexport type { FaTableColumnSlots, FaTableColumnSlotsResult } from \"./src/tableColumn\";\n\n/** FaTable 暴露的组件实例类型 */\nexport type FaTableInstance = InstanceType<typeof Table>;\n\n/** FaTable 的完整 Props 类型 */\nexport type FaTableProps = ExtractPropTypes<typeof faTableProps>;\n\n/** FaTable 的 Emits 类型 */\nexport type FaTableEmits = typeof faTableEmits;\n\n/** FaTableColumn 暴露的组件实例类型 */\nexport type FaTableColumnInstance = InstanceType<typeof TableColumn>;\n\nexport * from \"./utils/table\";\n"],"mappings":";;;;;;;;;;;AAWA,MAAa,UAMT,YAAYA,eAAO;CACtB,aAAA;CACA,2BAAA;CACA,iBAAA;CACA,iBAAA;CACA,qBAAA;AACD,CAAC;;AAID,MAAa,gBAAoD,gBAAgBC,mBAAW"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/** FaTable
|
|
1
|
+
/** FaTable 统一分页返回结果 */
|
|
2
2
|
export interface PagedResult<Output = Record<string, any>> {
|
|
3
3
|
/**
|
|
4
4
|
* 当前页
|
|
@@ -111,7 +111,7 @@ export interface PagedSortInput {
|
|
|
111
111
|
*/
|
|
112
112
|
mode?: string;
|
|
113
113
|
}
|
|
114
|
-
/** FaTable
|
|
114
|
+
/** FaTable 分页、搜索和排序请求参数 */
|
|
115
115
|
export interface PagedInput {
|
|
116
116
|
/**
|
|
117
117
|
* 当前页面索引值,默认为1
|
|
@@ -662,25 +662,6 @@ var table_default = defineComponent({
|
|
|
662
662
|
"columnKey": "__table-selection",
|
|
663
663
|
"selectable": props.rowSelectable
|
|
664
664
|
}, null),
|
|
665
|
-
slots.operation && createVNode(ElTableColumn, {
|
|
666
|
-
"fixed": "right",
|
|
667
|
-
"width": state.operationColumnWidth,
|
|
668
|
-
"headerAlign": "center",
|
|
669
|
-
"align": "left",
|
|
670
|
-
"showOverflowTooltip": false,
|
|
671
|
-
"className": "fa-table__operation-column",
|
|
672
|
-
"resizable": false,
|
|
673
|
-
"columnKey": "__table-operation"
|
|
674
|
-
}, {
|
|
675
|
-
header: () => createVNode("div", { "class": "fa-table__auto-width-column__cell-header __fa-table__auto-width-column__cell-header____table-operation" }, [createVNode("span", null, [createTextVNode("操作")])]),
|
|
676
|
-
default: ({ row, column, $index }) => createVNode("div", { "class": "fa-table__auto-width-column__cell __fa-table__auto-width-column__cell____table-operation" }, [slots.operation?.({
|
|
677
|
-
row,
|
|
678
|
-
column,
|
|
679
|
-
$index,
|
|
680
|
-
search: tableSearch,
|
|
681
|
-
...getTableDefaultSlots(state)
|
|
682
|
-
})])
|
|
683
|
-
}),
|
|
684
665
|
state.tableColumns.length === 0 ? slots.default?.() : state.tableColumns.map((col) => col.show && (col.type === "expand" ? createVNode(ElTableColumn, mergeProps(col, {
|
|
685
666
|
"width": 35,
|
|
686
667
|
"fixed": col.fixed ?? "left",
|
|
@@ -700,7 +681,26 @@ var table_default = defineComponent({
|
|
|
700
681
|
"resizable": true,
|
|
701
682
|
"onImagePreview": handleImagePreview,
|
|
702
683
|
"onCustomCellClick": handleCustomCellClick
|
|
703
|
-
}), pick(slots, tableColumnSlotNames.value))))
|
|
684
|
+
}), pick(slots, tableColumnSlotNames.value)))),
|
|
685
|
+
slots.operation && createVNode(ElTableColumn, {
|
|
686
|
+
"fixed": "right",
|
|
687
|
+
"width": state.operationColumnWidth,
|
|
688
|
+
"headerAlign": "center",
|
|
689
|
+
"align": "left",
|
|
690
|
+
"showOverflowTooltip": false,
|
|
691
|
+
"className": "fa-table__operation-column",
|
|
692
|
+
"resizable": false,
|
|
693
|
+
"columnKey": "__table-operation"
|
|
694
|
+
}, {
|
|
695
|
+
header: () => createVNode("div", { "class": "fa-table__auto-width-column__cell-header __fa-table__auto-width-column__cell-header____table-operation" }, [createVNode("span", null, [createTextVNode("操作")])]),
|
|
696
|
+
default: ({ row, column, $index }) => createVNode("div", { "class": "fa-table__auto-width-column__cell __fa-table__auto-width-column__cell____table-operation" }, [slots.operation?.({
|
|
697
|
+
row,
|
|
698
|
+
column,
|
|
699
|
+
$index,
|
|
700
|
+
search: tableSearch,
|
|
701
|
+
...getTableDefaultSlots(state)
|
|
702
|
+
})])
|
|
703
|
+
})
|
|
704
704
|
])
|
|
705
705
|
}), [[resolveDirective("loading"), state.loading]]),
|
|
706
706
|
createVNode("div", { "class": "fa-table__main-footer" }, [createVNode("div", { "class": "fa-table__main-footer__left" }, [slots.footer?.({
|