wlwy-package 3.1.61 → 3.1.63
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/style.css +1 -1
- package/dist/types/packages/components/common/type.d.ts +4 -0
- package/dist/types/packages/components/form/default/type.d.ts +8 -0
- package/dist/types/packages/components/list/src/header.vue.d.ts +1 -2
- package/dist/types/packages/components/list/type.d.ts +3 -3
- package/dist/types/packages/directive/auth.d.ts +1 -1
- package/dist/types/packages/hooks/private/src/useRenderCell.d.ts +1 -1
- package/dist/types/packages/hooks/web/src/useExport.d.ts +1 -0
- package/dist/types/packages/hooks/web/src/useListConfig.d.ts +4 -4
- package/dist/wlwy-package.es.js +217 -151
- package/package.json +1 -1
|
@@ -410,6 +410,14 @@ export interface WInputMatchProps extends FormItemXxProps, Pick<SelectProps, 'to
|
|
|
410
410
|
* 字符输入类型集合
|
|
411
411
|
*/
|
|
412
412
|
inputfs?: string[];
|
|
413
|
+
/**
|
|
414
|
+
* 最大标签数量
|
|
415
|
+
*/
|
|
416
|
+
maxTagLength?: number;
|
|
417
|
+
/**
|
|
418
|
+
* 超出最大标签数量提示
|
|
419
|
+
*/
|
|
420
|
+
maxTagLengthMessage?: string | ((length: number) => string);
|
|
413
421
|
}
|
|
414
422
|
/**
|
|
415
423
|
* w-form-modal组件属性
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { WListHeaderProps
|
|
1
|
+
import type { WListHeaderProps } from '../type';
|
|
2
2
|
type __VLS_Props = WListHeaderProps;
|
|
3
3
|
type __VLS_PublicProps = __VLS_Props & {
|
|
4
4
|
'form'?: any;
|
|
@@ -31,7 +31,6 @@ declare const _default: __VLS_WithSlots<import("vue").DefineComponent<__VLS_Publ
|
|
|
31
31
|
"onUpdate:form"?: ((value: any) => any) | undefined;
|
|
32
32
|
}>, {
|
|
33
33
|
loading: boolean;
|
|
34
|
-
option: InputOption[];
|
|
35
34
|
expand: boolean;
|
|
36
35
|
gutter: number;
|
|
37
36
|
column: number;
|
|
@@ -101,7 +101,7 @@ export interface WListTableProps extends TablePropsType {
|
|
|
101
101
|
/**
|
|
102
102
|
* 表格数据配置
|
|
103
103
|
*/
|
|
104
|
-
tableData
|
|
104
|
+
tableData?: TableDataType;
|
|
105
105
|
}
|
|
106
106
|
/**
|
|
107
107
|
* w-list-table表格组件实例
|
|
@@ -153,7 +153,7 @@ export interface HeaderPropsType<T = any> extends Pick<FormProps, 'rules'> {
|
|
|
153
153
|
/**
|
|
154
154
|
* 搜索条件配置
|
|
155
155
|
*/
|
|
156
|
-
option
|
|
156
|
+
option?: InputOption[];
|
|
157
157
|
/**
|
|
158
158
|
* 是否显示搜索表头
|
|
159
159
|
*/
|
|
@@ -262,7 +262,7 @@ export type WListProps = {
|
|
|
262
262
|
/**
|
|
263
263
|
* 获取表格数据后处理结果钩子函数
|
|
264
264
|
*/
|
|
265
|
-
formatResult
|
|
265
|
+
formatResult?: (result: any) => Promise<ListResPonseType> | ListResPonseType;
|
|
266
266
|
/**
|
|
267
267
|
* 搜索头和表格之间的Tabs配置,支持Slot
|
|
268
268
|
*/
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import type { WListHeaderProps, WListTableProps } from '../../../components/list';
|
|
2
2
|
import type { OptionType } from '../../../type';
|
|
3
3
|
type ConfigType = {
|
|
4
|
-
headerProps:
|
|
5
|
-
tableProps:
|
|
4
|
+
headerProps: WListHeaderProps;
|
|
5
|
+
tableProps: WListTableProps;
|
|
6
6
|
};
|
|
7
7
|
export default function (config: ConfigType): {
|
|
8
8
|
setOptionByModel: (model: string, option?: OptionType[]) => void;
|
|
@@ -10,7 +10,7 @@ export default function (config: ConfigType): {
|
|
|
10
10
|
overrideOption: (label: string, option?: OptionType[]) => void;
|
|
11
11
|
showToolbarButton: (label: string | string[]) => void;
|
|
12
12
|
setToolbarButtonHide: (label: string | string[], hide?: boolean) => void;
|
|
13
|
-
headerProps: import("vue").Ref<
|
|
14
|
-
tableProps: import("vue").Ref<
|
|
13
|
+
headerProps: import("vue").Ref<WListHeaderProps, WListHeaderProps>;
|
|
14
|
+
tableProps: import("vue").Ref<WListTableProps, WListTableProps>;
|
|
15
15
|
};
|
|
16
16
|
export {};
|