@qqt-product/ui 12.0.8 → 12.0.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.es.js +21682 -21599
- package/dist/index.umd.js +107 -107
- package/dist/lib/components/edit-page-layout/src/edit-page-layout-types.d.ts +2 -0
- package/dist/lib/components/field-select-modal/index.d.ts +5 -2
- package/dist/lib/components/field-select-modal/src/field-select-modal-types.d.ts +3 -0
- package/dist/lib/components/field-select-modal/src/field-select-modal.vue.d.ts +5 -2
- package/dist/lib/components/layout/index.d.ts +56 -3
- package/dist/lib/components/layout/src/index.vue.d.ts +56 -3
- package/dist/lib/components/layout/src/sider/index.vue.d.ts +5 -1
- package/dist/lib/components/layout/src/sider/logo.vue.d.ts +6 -2
- package/dist/lib/components/layout/src/types.d.ts +1 -0
- package/dist/lib/components/select-modal/index.d.ts +9 -3
- package/dist/lib/components/select-modal/src/select-modal-types.d.ts +2 -0
- package/dist/lib/components/select-modal/src/select-modal.vue.d.ts +9 -3
- package/dist/style.css +1 -1
- package/package.json +8 -8
|
@@ -134,6 +134,7 @@ export interface PageButtonDeleteFileRow extends Omit<PageButton, 'args'> {
|
|
|
134
134
|
};
|
|
135
135
|
groupCode: string;
|
|
136
136
|
ids: string[];
|
|
137
|
+
attachmentIds?: string[];
|
|
137
138
|
rows: RecordString[];
|
|
138
139
|
}
|
|
139
140
|
export type ValidateStatus = 'success' | 'fail' | 'unset';
|
|
@@ -343,6 +344,7 @@ export type VxePayload = {
|
|
|
343
344
|
setItemRequiredOrDisabled?: SetItemRequiredOrDisabled;
|
|
344
345
|
Decimal?: typeof Decimal;
|
|
345
346
|
topEmit?: () => void;
|
|
347
|
+
selectedOptions?: CascaderProps['options'];
|
|
346
348
|
};
|
|
347
349
|
export interface UploadExtend {
|
|
348
350
|
businessType?: string;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { SrmI18n } from '../../utils/type';
|
|
2
2
|
import type { VxeTableProps, VxeTableDataRow, VxeGridInstance } from 'vxe-table';
|
|
3
3
|
import type { RequestMethod, ModalConfig, ModalType, OpenFuncType, TablePage } from './src/field-select-modal-types';
|
|
4
|
-
import type { DefineComponent, PropType, ComputedRef, Ref, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes } from 'vue';
|
|
4
|
+
import type { DefineComponent, PropType, ComputedRef, Ref, ShallowRef, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes } from 'vue';
|
|
5
5
|
import type { SFCWithInstall } from '@qqt-product/utils/dist/modules/withInstall';
|
|
6
6
|
import QFieldSelectModal from './src/field-select-modal.vue';
|
|
7
7
|
export * from './src/field-select-modal-types';
|
|
@@ -100,7 +100,7 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
100
100
|
getPagerConfig: ComputedRef<any>;
|
|
101
101
|
modalTitle: Ref<string>;
|
|
102
102
|
placeholder: Ref<string>;
|
|
103
|
-
open: ({ url, params, columns: col, selectModal: sm, requestMethod: rm }: OpenFuncType) => void;
|
|
103
|
+
open: ({ url, params, columns: col, selectModal: sm, requestMethod: rm, showCheckItem, checkItemParams }: OpenFuncType) => void;
|
|
104
104
|
close: () => void;
|
|
105
105
|
onSearch: () => void;
|
|
106
106
|
handlePageChange: ({ currentPage, pageSize }: TablePage) => void;
|
|
@@ -113,6 +113,9 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
113
113
|
type: string;
|
|
114
114
|
}) => Promise<never> | undefined;
|
|
115
115
|
restParams: () => void;
|
|
116
|
+
isShowCheckItem: ShallowRef<boolean>;
|
|
117
|
+
checktableData: Ref<Record<string, unknown>[]>;
|
|
118
|
+
onCheckboxChange: () => void;
|
|
116
119
|
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
|
|
117
120
|
modalTitle: {
|
|
118
121
|
type: StringConstructor;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { SrmI18n } from '../../../utils/type';
|
|
2
|
-
import type { DefineComponent, PropType, Ref, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes, ComputedRef } from 'vue';
|
|
2
|
+
import type { DefineComponent, PropType, Ref, ShallowRef, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes, ComputedRef } from 'vue';
|
|
3
3
|
import type { RequestMethod, ModalConfig, ModalType, OpenFuncType, TablePage } from './field-select-modal-types';
|
|
4
4
|
import type { VxeTableProps, VxeTableDataRow, VxeGridInstance } from 'vxe-table';
|
|
5
5
|
declare const _sfc_main: DefineComponent<{
|
|
@@ -96,7 +96,7 @@ declare const _sfc_main: DefineComponent<{
|
|
|
96
96
|
getPagerConfig: ComputedRef<any>;
|
|
97
97
|
modalTitle: Ref<string>;
|
|
98
98
|
placeholder: Ref<string>;
|
|
99
|
-
open: ({ url, params, columns: col, selectModal: sm, requestMethod: rm }: OpenFuncType) => void;
|
|
99
|
+
open: ({ url, params, columns: col, selectModal: sm, requestMethod: rm, showCheckItem, checkItemParams }: OpenFuncType) => void;
|
|
100
100
|
close: () => void;
|
|
101
101
|
onSearch: () => void;
|
|
102
102
|
handlePageChange: ({ currentPage, pageSize }: TablePage) => void;
|
|
@@ -109,6 +109,9 @@ declare const _sfc_main: DefineComponent<{
|
|
|
109
109
|
type: string;
|
|
110
110
|
}) => Promise<never> | undefined;
|
|
111
111
|
restParams: () => void;
|
|
112
|
+
isShowCheckItem: ShallowRef<boolean>;
|
|
113
|
+
checktableData: Ref<Record<string, unknown>[]>;
|
|
114
|
+
onCheckboxChange: () => void;
|
|
112
115
|
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
|
|
113
116
|
modalTitle: {
|
|
114
117
|
type: StringConstructor;
|
|
@@ -103,7 +103,7 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
103
103
|
}, {
|
|
104
104
|
srmI18n: SrmI18n;
|
|
105
105
|
props: any;
|
|
106
|
-
emit: (event: "menuSelect" | "schedule-click" | "services-click", ...args: any[]) => void;
|
|
106
|
+
emit: (event: "menuSelect" | "schedule-click" | "services-click" | "chatAi-click", ...args: any[]) => void;
|
|
107
107
|
SIDER_DEFAULT_WIDTH: number;
|
|
108
108
|
SIDER_DEFAULT_WIDTH_STORE_STRING: string | null;
|
|
109
109
|
SIDER_DEFAULT_WIDTH_STORE_VALUE: string;
|
|
@@ -111,6 +111,10 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
111
111
|
siderWidth: Ref<number>;
|
|
112
112
|
tagDragging: Ref<boolean>;
|
|
113
113
|
lineLeft: Ref<number>;
|
|
114
|
+
chatDragging: Ref<boolean>;
|
|
115
|
+
chatDraggingPositionX: Ref<number>;
|
|
116
|
+
chatDraggingPositionY: Ref<number | null>;
|
|
117
|
+
showAiKnowledgeBase: Ref<boolean>;
|
|
114
118
|
secondMenuShow: Ref<boolean>;
|
|
115
119
|
siderRef: Ref<any>;
|
|
116
120
|
menuSelect: (obj: any) => void;
|
|
@@ -122,8 +126,19 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
122
126
|
updateMenuShow: (flag: boolean) => void;
|
|
123
127
|
handleMouseDown: (event: MouseEvent) => void;
|
|
124
128
|
handleMouseMove: (event: MouseEvent) => void;
|
|
129
|
+
handleChatMouseDown: () => void;
|
|
130
|
+
handleChatAiClick: () => void;
|
|
125
131
|
collapsedSider: (collapsed: boolean) => void;
|
|
126
132
|
handleUndo: () => void;
|
|
133
|
+
chatPositionStyle: ComputedRef<{
|
|
134
|
+
left: string;
|
|
135
|
+
top: string;
|
|
136
|
+
right?: undefined;
|
|
137
|
+
} | {
|
|
138
|
+
right: string;
|
|
139
|
+
top: string;
|
|
140
|
+
left?: undefined;
|
|
141
|
+
}>;
|
|
127
142
|
QLayoutSider: DefineComponent<{
|
|
128
143
|
siderWidth: {
|
|
129
144
|
type: NumberConstructor;
|
|
@@ -238,7 +253,11 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
238
253
|
type: StringConstructor;
|
|
239
254
|
default: string;
|
|
240
255
|
};
|
|
241
|
-
}, {
|
|
256
|
+
}, {
|
|
257
|
+
onImageLoad: () => void;
|
|
258
|
+
imgRef: Ref<any>;
|
|
259
|
+
shouldHide: Ref<boolean>;
|
|
260
|
+
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
|
|
242
261
|
title: {
|
|
243
262
|
type: StringConstructor;
|
|
244
263
|
default: string;
|
|
@@ -1003,7 +1022,40 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
1003
1022
|
}, {}, {}>;
|
|
1004
1023
|
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{}>>, {}, {}>;
|
|
1005
1024
|
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{}>>, {}, {}>;
|
|
1006
|
-
|
|
1025
|
+
readonly QIcon: DefineComponent<{
|
|
1026
|
+
type: {
|
|
1027
|
+
type: PropType<string>;
|
|
1028
|
+
default: string;
|
|
1029
|
+
};
|
|
1030
|
+
size: {
|
|
1031
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
1032
|
+
};
|
|
1033
|
+
color: {
|
|
1034
|
+
type: StringConstructor;
|
|
1035
|
+
};
|
|
1036
|
+
}, {
|
|
1037
|
+
fontSize: ComputedRef<{
|
|
1038
|
+
fontSize: string;
|
|
1039
|
+
}>;
|
|
1040
|
+
iconType: ComputedRef<string>;
|
|
1041
|
+
iconColor: ComputedRef<{
|
|
1042
|
+
color: string;
|
|
1043
|
+
}>;
|
|
1044
|
+
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
|
|
1045
|
+
type: {
|
|
1046
|
+
type: PropType<string>;
|
|
1047
|
+
default: string;
|
|
1048
|
+
};
|
|
1049
|
+
size: {
|
|
1050
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
1051
|
+
};
|
|
1052
|
+
color: {
|
|
1053
|
+
type: StringConstructor;
|
|
1054
|
+
};
|
|
1055
|
+
}>>, {
|
|
1056
|
+
type: string;
|
|
1057
|
+
}, {}>;
|
|
1058
|
+
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, ("menuSelect" | "schedule-click" | "services-click" | "chatAi-click")[], "menuSelect" | "schedule-click" | "services-click" | "chatAi-click", VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
|
|
1007
1059
|
internalOrExternal: {
|
|
1008
1060
|
type: BooleanConstructor;
|
|
1009
1061
|
default: boolean;
|
|
@@ -1096,6 +1148,7 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
1096
1148
|
onMenuSelect?: ((...args: any[]) => any) | undefined;
|
|
1097
1149
|
"onSchedule-click"?: ((...args: any[]) => any) | undefined;
|
|
1098
1150
|
"onServices-click"?: ((...args: any[]) => any) | undefined;
|
|
1151
|
+
"onChatAi-click"?: ((...args: any[]) => any) | undefined;
|
|
1099
1152
|
}, {
|
|
1100
1153
|
internalOrExternal: boolean;
|
|
1101
1154
|
collapsible: boolean;
|
|
@@ -100,7 +100,7 @@ declare const _sfc_main: DefineComponent<{
|
|
|
100
100
|
}, {
|
|
101
101
|
srmI18n: SrmI18n;
|
|
102
102
|
props: any;
|
|
103
|
-
emit: (event: "menuSelect" | "schedule-click" | "services-click", ...args: any[]) => void;
|
|
103
|
+
emit: (event: "menuSelect" | "schedule-click" | "services-click" | "chatAi-click", ...args: any[]) => void;
|
|
104
104
|
SIDER_DEFAULT_WIDTH: number;
|
|
105
105
|
SIDER_DEFAULT_WIDTH_STORE_STRING: string | null;
|
|
106
106
|
SIDER_DEFAULT_WIDTH_STORE_VALUE: string;
|
|
@@ -108,6 +108,10 @@ declare const _sfc_main: DefineComponent<{
|
|
|
108
108
|
siderWidth: Ref<number>;
|
|
109
109
|
tagDragging: Ref<boolean>;
|
|
110
110
|
lineLeft: Ref<number>;
|
|
111
|
+
chatDragging: Ref<boolean>;
|
|
112
|
+
chatDraggingPositionX: Ref<number>;
|
|
113
|
+
chatDraggingPositionY: Ref<number | null>;
|
|
114
|
+
showAiKnowledgeBase: Ref<boolean>;
|
|
111
115
|
secondMenuShow: Ref<boolean>;
|
|
112
116
|
siderRef: Ref<any>;
|
|
113
117
|
menuSelect: (obj: any) => void;
|
|
@@ -119,8 +123,19 @@ declare const _sfc_main: DefineComponent<{
|
|
|
119
123
|
updateMenuShow: (flag: boolean) => void;
|
|
120
124
|
handleMouseDown: (event: MouseEvent) => void;
|
|
121
125
|
handleMouseMove: (event: MouseEvent) => void;
|
|
126
|
+
handleChatMouseDown: () => void;
|
|
127
|
+
handleChatAiClick: () => void;
|
|
122
128
|
collapsedSider: (collapsed: boolean) => void;
|
|
123
129
|
handleUndo: () => void;
|
|
130
|
+
chatPositionStyle: ComputedRef<{
|
|
131
|
+
left: string;
|
|
132
|
+
top: string;
|
|
133
|
+
right?: undefined;
|
|
134
|
+
} | {
|
|
135
|
+
right: string;
|
|
136
|
+
top: string;
|
|
137
|
+
left?: undefined;
|
|
138
|
+
}>;
|
|
124
139
|
QLayoutSider: DefineComponent<{
|
|
125
140
|
siderWidth: {
|
|
126
141
|
type: NumberConstructor;
|
|
@@ -235,7 +250,11 @@ declare const _sfc_main: DefineComponent<{
|
|
|
235
250
|
type: StringConstructor;
|
|
236
251
|
default: string;
|
|
237
252
|
};
|
|
238
|
-
}, {
|
|
253
|
+
}, {
|
|
254
|
+
onImageLoad: () => void;
|
|
255
|
+
imgRef: Ref<any>;
|
|
256
|
+
shouldHide: Ref<boolean>;
|
|
257
|
+
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
|
|
239
258
|
title: {
|
|
240
259
|
type: StringConstructor;
|
|
241
260
|
default: string;
|
|
@@ -1000,7 +1019,40 @@ declare const _sfc_main: DefineComponent<{
|
|
|
1000
1019
|
}, {}, {}>;
|
|
1001
1020
|
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{}>>, {}, {}>;
|
|
1002
1021
|
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{}>>, {}, {}>;
|
|
1003
|
-
|
|
1022
|
+
readonly QIcon: DefineComponent<{
|
|
1023
|
+
type: {
|
|
1024
|
+
type: PropType<string>;
|
|
1025
|
+
default: string;
|
|
1026
|
+
};
|
|
1027
|
+
size: {
|
|
1028
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
1029
|
+
};
|
|
1030
|
+
color: {
|
|
1031
|
+
type: StringConstructor;
|
|
1032
|
+
};
|
|
1033
|
+
}, {
|
|
1034
|
+
fontSize: ComputedRef<{
|
|
1035
|
+
fontSize: string;
|
|
1036
|
+
}>;
|
|
1037
|
+
iconType: ComputedRef<string>;
|
|
1038
|
+
iconColor: ComputedRef<{
|
|
1039
|
+
color: string;
|
|
1040
|
+
}>;
|
|
1041
|
+
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
|
|
1042
|
+
type: {
|
|
1043
|
+
type: PropType<string>;
|
|
1044
|
+
default: string;
|
|
1045
|
+
};
|
|
1046
|
+
size: {
|
|
1047
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
1048
|
+
};
|
|
1049
|
+
color: {
|
|
1050
|
+
type: StringConstructor;
|
|
1051
|
+
};
|
|
1052
|
+
}>>, {
|
|
1053
|
+
type: string;
|
|
1054
|
+
}, {}>;
|
|
1055
|
+
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, ("menuSelect" | "schedule-click" | "services-click" | "chatAi-click")[], "menuSelect" | "schedule-click" | "services-click" | "chatAi-click", VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
|
|
1004
1056
|
internalOrExternal: {
|
|
1005
1057
|
type: BooleanConstructor;
|
|
1006
1058
|
default: boolean;
|
|
@@ -1093,6 +1145,7 @@ declare const _sfc_main: DefineComponent<{
|
|
|
1093
1145
|
onMenuSelect?: ((...args: any[]) => any) | undefined;
|
|
1094
1146
|
"onSchedule-click"?: ((...args: any[]) => any) | undefined;
|
|
1095
1147
|
"onServices-click"?: ((...args: any[]) => any) | undefined;
|
|
1148
|
+
"onChatAi-click"?: ((...args: any[]) => any) | undefined;
|
|
1096
1149
|
}, {
|
|
1097
1150
|
internalOrExternal: boolean;
|
|
1098
1151
|
collapsible: boolean;
|
|
@@ -117,7 +117,11 @@ declare const _sfc_main: DefineComponent<{
|
|
|
117
117
|
type: StringConstructor;
|
|
118
118
|
default: string;
|
|
119
119
|
};
|
|
120
|
-
}, {
|
|
120
|
+
}, {
|
|
121
|
+
onImageLoad: () => void;
|
|
122
|
+
imgRef: Ref<any>;
|
|
123
|
+
shouldHide: Ref<boolean>;
|
|
124
|
+
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
|
|
121
125
|
title: {
|
|
122
126
|
type: StringConstructor;
|
|
123
127
|
default: string;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { DefineComponent, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes } from 'vue';
|
|
1
|
+
import type { DefineComponent, Ref, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes } from 'vue';
|
|
2
2
|
declare const _sfc_main: DefineComponent<{
|
|
3
3
|
title: {
|
|
4
4
|
type: StringConstructor;
|
|
@@ -12,7 +12,11 @@ declare const _sfc_main: DefineComponent<{
|
|
|
12
12
|
type: StringConstructor;
|
|
13
13
|
default: string;
|
|
14
14
|
};
|
|
15
|
-
}, {
|
|
15
|
+
}, {
|
|
16
|
+
onImageLoad: () => void;
|
|
17
|
+
imgRef: Ref<any>;
|
|
18
|
+
shouldHide: Ref<boolean>;
|
|
19
|
+
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
|
|
16
20
|
title: {
|
|
17
21
|
type: StringConstructor;
|
|
18
22
|
default: string;
|
|
@@ -2,7 +2,7 @@ import type { VxeTableProps, VxeTableDataRow, VxeGridInstance } from 'vxe-table'
|
|
|
2
2
|
import type { RequestMethod, ModalConfig, ModalType, OpenFuncType, TablePage } from '../field-select-modal';
|
|
3
3
|
import type { SrmI18n } from '../../utils/type';
|
|
4
4
|
import type { Config, RecordString, Extend } from './src/select-modal-types';
|
|
5
|
-
import type { DefineComponent, PropType, ComputedRef, Ref, ComponentInternalInstance, VNodeRef, VNode, RendererNode, RendererElement, Slot, ComponentPublicInstance, ComponentOptionsBase, ExtractPropTypes, ComponentOptionsMixin, DebuggerEvent, nextTick, WatchOptions, WatchStopHandle, ShallowUnwrapRef, ComponentCustomProperties, VNodeProps, AllowedComponentProps, ComponentCustomProps } from 'vue';
|
|
5
|
+
import type { DefineComponent, PropType, ComputedRef, Ref, ComponentInternalInstance, VNodeRef, VNode, RendererNode, RendererElement, Slot, ComponentPublicInstance, ComponentOptionsBase, ExtractPropTypes, ShallowRef, ComponentOptionsMixin, DebuggerEvent, nextTick, WatchOptions, WatchStopHandle, ShallowUnwrapRef, ComponentCustomProperties, VNodeProps, AllowedComponentProps, ComponentCustomProps } from 'vue';
|
|
6
6
|
import type { SFCWithInstall } from '@qqt-product/utils/dist/modules/withInstall';
|
|
7
7
|
import QSelectModal from './src/select-modal.vue';
|
|
8
8
|
export * from './src/select-modal-types';
|
|
@@ -200,7 +200,7 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
200
200
|
getPagerConfig: ComputedRef<any>;
|
|
201
201
|
modalTitle: Ref<string>;
|
|
202
202
|
placeholder: Ref<string>;
|
|
203
|
-
open: ({ url, params, columns: col, selectModal: sm, requestMethod: rm }: OpenFuncType) => void;
|
|
203
|
+
open: ({ url, params, columns: col, selectModal: sm, requestMethod: rm, showCheckItem, checkItemParams }: OpenFuncType) => void;
|
|
204
204
|
close: () => void;
|
|
205
205
|
onSearch: () => void;
|
|
206
206
|
handlePageChange: ({ currentPage, pageSize }: TablePage) => void;
|
|
@@ -213,6 +213,9 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
213
213
|
type: string;
|
|
214
214
|
}) => Promise<never> | undefined;
|
|
215
215
|
restParams: () => void;
|
|
216
|
+
isShowCheckItem: ShallowRef<boolean>;
|
|
217
|
+
checktableData: Ref<Record<string, unknown>[]>;
|
|
218
|
+
onCheckboxChange: () => void;
|
|
216
219
|
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, {
|
|
217
220
|
modalTitle: string;
|
|
218
221
|
apiUrls: string;
|
|
@@ -336,7 +339,7 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
336
339
|
getPagerConfig: ComputedRef<any>;
|
|
337
340
|
modalTitle: Ref<string>;
|
|
338
341
|
placeholder: Ref<string>;
|
|
339
|
-
open: ({ url, params, columns: col, selectModal: sm, requestMethod: rm }: OpenFuncType) => void;
|
|
342
|
+
open: ({ url, params, columns: col, selectModal: sm, requestMethod: rm, showCheckItem, checkItemParams }: OpenFuncType) => void;
|
|
340
343
|
close: () => void;
|
|
341
344
|
onSearch: () => void;
|
|
342
345
|
handlePageChange: ({ currentPage, pageSize }: TablePage) => void;
|
|
@@ -349,6 +352,9 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
349
352
|
type: string;
|
|
350
353
|
}) => Promise<never> | undefined;
|
|
351
354
|
restParams: () => void;
|
|
355
|
+
isShowCheckItem: ShallowRef<boolean>;
|
|
356
|
+
checktableData: Ref<Record<string, unknown>[]>;
|
|
357
|
+
onCheckboxChange: () => void;
|
|
352
358
|
}> & {} & ComponentCustomProperties & {}) | undefined>;
|
|
353
359
|
openSelectModal: () => void;
|
|
354
360
|
onChange: (checkedValues: RecordString[]) => void;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { VxeTableProps, VxeTableDataRow, VxeGridInstance } from 'vxe-table';
|
|
2
2
|
import type { RequestMethod, ModalConfig, ModalType, OpenFuncType, TablePage } from './../../field-select-modal';
|
|
3
3
|
import type { SrmI18n } from '../../../utils/type';
|
|
4
|
-
import type { DefineComponent, PropType, Ref, ComponentInternalInstance, VNodeRef, VNode, RendererNode, RendererElement, Slot, ComponentPublicInstance, ComponentOptionsBase, ExtractPropTypes, ComponentOptionsMixin, DebuggerEvent, nextTick, WatchOptions, WatchStopHandle, ShallowUnwrapRef, ComponentCustomProperties, VNodeProps, AllowedComponentProps, ComponentCustomProps, ComputedRef } from 'vue';
|
|
4
|
+
import type { DefineComponent, PropType, Ref, ComponentInternalInstance, VNodeRef, VNode, RendererNode, RendererElement, Slot, ComponentPublicInstance, ComponentOptionsBase, ExtractPropTypes, ShallowRef, ComponentOptionsMixin, DebuggerEvent, nextTick, WatchOptions, WatchStopHandle, ShallowUnwrapRef, ComponentCustomProperties, VNodeProps, AllowedComponentProps, ComponentCustomProps, ComputedRef } from 'vue';
|
|
5
5
|
import type { Config, RecordString, Extend } from './select-modal-types';
|
|
6
6
|
declare const _sfc_main: DefineComponent<{
|
|
7
7
|
value: {
|
|
@@ -196,7 +196,7 @@ declare const _sfc_main: DefineComponent<{
|
|
|
196
196
|
getPagerConfig: ComputedRef<any>;
|
|
197
197
|
modalTitle: Ref<string>;
|
|
198
198
|
placeholder: Ref<string>;
|
|
199
|
-
open: ({ url, params, columns: col, selectModal: sm, requestMethod: rm }: OpenFuncType) => void;
|
|
199
|
+
open: ({ url, params, columns: col, selectModal: sm, requestMethod: rm, showCheckItem, checkItemParams }: OpenFuncType) => void;
|
|
200
200
|
close: () => void;
|
|
201
201
|
onSearch: () => void;
|
|
202
202
|
handlePageChange: ({ currentPage, pageSize }: TablePage) => void;
|
|
@@ -209,6 +209,9 @@ declare const _sfc_main: DefineComponent<{
|
|
|
209
209
|
type: string;
|
|
210
210
|
}) => Promise<never> | undefined;
|
|
211
211
|
restParams: () => void;
|
|
212
|
+
isShowCheckItem: ShallowRef<boolean>;
|
|
213
|
+
checktableData: Ref<Record<string, unknown>[]>;
|
|
214
|
+
onCheckboxChange: () => void;
|
|
212
215
|
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, {
|
|
213
216
|
modalTitle: string;
|
|
214
217
|
apiUrls: string;
|
|
@@ -332,7 +335,7 @@ declare const _sfc_main: DefineComponent<{
|
|
|
332
335
|
getPagerConfig: ComputedRef<any>;
|
|
333
336
|
modalTitle: Ref<string>;
|
|
334
337
|
placeholder: Ref<string>;
|
|
335
|
-
open: ({ url, params, columns: col, selectModal: sm, requestMethod: rm }: OpenFuncType) => void;
|
|
338
|
+
open: ({ url, params, columns: col, selectModal: sm, requestMethod: rm, showCheckItem, checkItemParams }: OpenFuncType) => void;
|
|
336
339
|
close: () => void;
|
|
337
340
|
onSearch: () => void;
|
|
338
341
|
handlePageChange: ({ currentPage, pageSize }: TablePage) => void;
|
|
@@ -345,6 +348,9 @@ declare const _sfc_main: DefineComponent<{
|
|
|
345
348
|
type: string;
|
|
346
349
|
}) => Promise<never> | undefined;
|
|
347
350
|
restParams: () => void;
|
|
351
|
+
isShowCheckItem: ShallowRef<boolean>;
|
|
352
|
+
checktableData: Ref<Record<string, unknown>[]>;
|
|
353
|
+
onCheckboxChange: () => void;
|
|
348
354
|
}> & {} & ComponentCustomProperties & {}) | undefined>;
|
|
349
355
|
openSelectModal: () => void;
|
|
350
356
|
onChange: (checkedValues: RecordString[]) => void;
|