@qqt-product/ui 14.0.6 → 14.1.1
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 +12832 -12762
- package/dist/index.umd.js +78 -78
- package/dist/lib/components/checkbox/index.d.ts +1 -1
- package/dist/lib/components/checkbox/src/checkbox.vue.d.ts +1 -1
- package/dist/lib/components/edit-page-layout/src/edit-page-layout-types.d.ts +1 -0
- package/dist/lib/components/layout/index.d.ts +0 -5
- package/dist/lib/components/layout/src/header/index.vue.d.ts +0 -1
- package/dist/lib/components/layout/src/header/navRight/index.vue.d.ts +0 -1
- package/dist/lib/components/layout/src/header/navRight/rightTool.vue.d.ts +0 -1
- package/dist/lib/components/layout/src/index.vue.d.ts +0 -5
- package/dist/lib/components/layout/src/menu/menu.vue.d.ts +0 -2
- package/dist/lib/components/layout/src/sider/index.vue.d.ts +0 -2
- package/dist/lib/components/list-page-layout/index.d.ts +2 -0
- package/dist/lib/components/list-page-layout/src/components/common/chatBi-modal/chatBi-modal.vue.d.ts +10 -0
- package/dist/lib/components/list-page-layout/src/components/common/columnSetting/columnSetting.vue.d.ts +2 -2
- package/dist/lib/components/list-page-layout/src/components/list-content-buttons/list-content-buttons.vue.d.ts +9 -0
- package/dist/lib/components/list-page-layout/src/layout.vue.d.ts +2 -0
- package/dist/lib/components/list-page-layout/src/list-page-layout-types.d.ts +1 -0
- package/dist/lib/components/list-page-layout/src/symbol.d.ts +1 -0
- package/dist/lib/components/radio/index.d.ts +1 -1
- package/dist/lib/components/radio/src/radio.vue.d.ts +1 -1
- package/dist/lib/components/select/index.d.ts +1 -0
- package/dist/lib/components/select/src/select.vue.d.ts +1 -0
- package/dist/lib/utils/event.d.ts +2 -1
- package/dist/style.css +1 -1
- package/package.json +8 -8
|
@@ -104,8 +104,8 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
104
104
|
readonly value: string;
|
|
105
105
|
readonly options: Option[];
|
|
106
106
|
readonly 'onUpdate:value': ((value: string) => void) | ((value: string) => void)[];
|
|
107
|
-
readonly required: "0" | "1";
|
|
108
107
|
readonly dictCode: string;
|
|
108
|
+
readonly required: "0" | "1";
|
|
109
109
|
readonly isLayout: boolean;
|
|
110
110
|
readonly colSpan: string;
|
|
111
111
|
readonly selectControlType: string;
|
|
@@ -100,8 +100,8 @@ declare const _sfc_main: DefineComponent<{
|
|
|
100
100
|
readonly value: string;
|
|
101
101
|
readonly options: Option[];
|
|
102
102
|
readonly 'onUpdate:value': ((value: string) => void) | ((value: string) => void)[];
|
|
103
|
-
readonly required: "0" | "1";
|
|
104
103
|
readonly dictCode: string;
|
|
104
|
+
readonly required: "0" | "1";
|
|
105
105
|
readonly isLayout: boolean;
|
|
106
106
|
readonly colSpan: string;
|
|
107
107
|
readonly selectControlType: string;
|
|
@@ -344,6 +344,7 @@ export type VxePayload = {
|
|
|
344
344
|
setItemRequiredOrDisabled?: SetItemRequiredOrDisabled;
|
|
345
345
|
Decimal?: typeof Decimal;
|
|
346
346
|
topEmit?: () => void;
|
|
347
|
+
selectedOptions?: CascaderProps['options'];
|
|
347
348
|
};
|
|
348
349
|
export interface UploadExtend {
|
|
349
350
|
businessType?: string;
|
|
@@ -101,7 +101,6 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
101
101
|
type: PropType<LayoutConfigType>;
|
|
102
102
|
};
|
|
103
103
|
}, {
|
|
104
|
-
srmI18n: SrmI18n;
|
|
105
104
|
props: any;
|
|
106
105
|
emit: (event: "menuSelect" | "schedule-click" | "services-click" | "chatAi-click", ...args: any[]) => void;
|
|
107
106
|
SIDER_DEFAULT_WIDTH: number;
|
|
@@ -130,7 +129,6 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
130
129
|
handleChatMouseDown: () => void;
|
|
131
130
|
handleChatAiClick: () => void;
|
|
132
131
|
collapsedSider: (collapsed: boolean) => void;
|
|
133
|
-
handleUndo: () => void;
|
|
134
132
|
chatPositionStyle: ComputedRef<{
|
|
135
133
|
left: string;
|
|
136
134
|
top: string;
|
|
@@ -410,9 +408,7 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
410
408
|
firstMenuSelect: (item: ExtendMenu, index: number) => void;
|
|
411
409
|
updateMenuBadgeCount: (firstMenuPath: string, count: number) => void;
|
|
412
410
|
menuSelect: () => void;
|
|
413
|
-
expandedKeys: Ref<(string | number)[]>;
|
|
414
411
|
autoExpandParent: Ref<boolean>;
|
|
415
|
-
checkPath: (node: ExtendMenu, path: string) => boolean;
|
|
416
412
|
getEffectiveSource: (node: ExtendMenu, data: ExtendMenu[]) => void;
|
|
417
413
|
onSelect: (selectedKeys: string[], e: any) => void;
|
|
418
414
|
readonly QIcon: DefineComponent<{
|
|
@@ -1036,7 +1032,6 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
1036
1032
|
iconToolClick: (type: string) => void;
|
|
1037
1033
|
openChat: () => void;
|
|
1038
1034
|
fetchCustomer: () => void;
|
|
1039
|
-
openChatBi: () => void;
|
|
1040
1035
|
readonly QSymbolIcon: DefineComponent<{
|
|
1041
1036
|
type: {
|
|
1042
1037
|
type: PropType<string>;
|
|
@@ -116,7 +116,6 @@ declare const _sfc_main: DefineComponent<{}, {
|
|
|
116
116
|
iconToolClick: (type: string) => void;
|
|
117
117
|
openChat: () => void;
|
|
118
118
|
fetchCustomer: () => void;
|
|
119
|
-
openChatBi: () => void;
|
|
120
119
|
readonly QSymbolIcon: DefineComponent<{
|
|
121
120
|
type: {
|
|
122
121
|
type: PropType<string>;
|
|
@@ -98,7 +98,6 @@ declare const _sfc_main: DefineComponent<{
|
|
|
98
98
|
type: PropType<LayoutConfigType>;
|
|
99
99
|
};
|
|
100
100
|
}, {
|
|
101
|
-
srmI18n: SrmI18n;
|
|
102
101
|
props: any;
|
|
103
102
|
emit: (event: "menuSelect" | "schedule-click" | "services-click" | "chatAi-click", ...args: any[]) => void;
|
|
104
103
|
SIDER_DEFAULT_WIDTH: number;
|
|
@@ -127,7 +126,6 @@ declare const _sfc_main: DefineComponent<{
|
|
|
127
126
|
handleChatMouseDown: () => void;
|
|
128
127
|
handleChatAiClick: () => void;
|
|
129
128
|
collapsedSider: (collapsed: boolean) => void;
|
|
130
|
-
handleUndo: () => void;
|
|
131
129
|
chatPositionStyle: ComputedRef<{
|
|
132
130
|
left: string;
|
|
133
131
|
top: string;
|
|
@@ -407,9 +405,7 @@ declare const _sfc_main: DefineComponent<{
|
|
|
407
405
|
firstMenuSelect: (item: ExtendMenu, index: number) => void;
|
|
408
406
|
updateMenuBadgeCount: (firstMenuPath: string, count: number) => void;
|
|
409
407
|
menuSelect: () => void;
|
|
410
|
-
expandedKeys: Ref<(string | number)[]>;
|
|
411
408
|
autoExpandParent: Ref<boolean>;
|
|
412
|
-
checkPath: (node: ExtendMenu, path: string) => boolean;
|
|
413
409
|
getEffectiveSource: (node: ExtendMenu, data: ExtendMenu[]) => void;
|
|
414
410
|
onSelect: (selectedKeys: string[], e: any) => void;
|
|
415
411
|
readonly QIcon: DefineComponent<{
|
|
@@ -1033,7 +1029,6 @@ declare const _sfc_main: DefineComponent<{
|
|
|
1033
1029
|
iconToolClick: (type: string) => void;
|
|
1034
1030
|
openChat: () => void;
|
|
1035
1031
|
fetchCustomer: () => void;
|
|
1036
|
-
openChatBi: () => void;
|
|
1037
1032
|
readonly QSymbolIcon: DefineComponent<{
|
|
1038
1033
|
type: {
|
|
1039
1034
|
type: PropType<string>;
|
|
@@ -131,9 +131,7 @@ declare const _sfc_main: DefineComponent<{
|
|
|
131
131
|
firstMenuSelect: (item: ExtendMenu, index: number) => void;
|
|
132
132
|
updateMenuBadgeCount: (firstMenuPath: string, count: number) => void;
|
|
133
133
|
menuSelect: () => void;
|
|
134
|
-
expandedKeys: Ref<(string | number)[]>;
|
|
135
134
|
autoExpandParent: Ref<boolean>;
|
|
136
|
-
checkPath: (node: ExtendMenu, path: string) => boolean;
|
|
137
135
|
getEffectiveSource: (node: ExtendMenu, data: ExtendMenu[]) => void;
|
|
138
136
|
onSelect: (selectedKeys: string[], e: any) => void;
|
|
139
137
|
readonly QIcon: DefineComponent<{
|
|
@@ -273,9 +273,7 @@ declare const _sfc_main: DefineComponent<{
|
|
|
273
273
|
firstMenuSelect: (item: ExtendMenu, index: number) => void;
|
|
274
274
|
updateMenuBadgeCount: (firstMenuPath: string, count: number) => void;
|
|
275
275
|
menuSelect: () => void;
|
|
276
|
-
expandedKeys: Ref<(string | number)[]>;
|
|
277
276
|
autoExpandParent: Ref<boolean>;
|
|
278
|
-
checkPath: (node: ExtendMenu, path: string) => boolean;
|
|
279
277
|
getEffectiveSource: (node: ExtendMenu, data: ExtendMenu[]) => void;
|
|
280
278
|
onSelect: (selectedKeys: string[], e: any) => void;
|
|
281
279
|
readonly QIcon: DefineComponent<{
|
|
@@ -290,6 +290,7 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
290
290
|
}[];
|
|
291
291
|
superQuery: ObjectMap;
|
|
292
292
|
} | undefined;
|
|
293
|
+
chatBiBusinessType?: string | undefined;
|
|
293
294
|
};
|
|
294
295
|
beforeHandleData?: ((column: GridColumn[]) => void) | undefined;
|
|
295
296
|
afterHandleData?: ((tableData: ObjectMap[]) => void) | undefined;
|
|
@@ -311,6 +312,7 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
311
312
|
importSuccess: () => void;
|
|
312
313
|
columnSettingRef: Ref<any>;
|
|
313
314
|
helpTextModalRef: Ref<any>;
|
|
315
|
+
chatBiModalRef: Ref<any>;
|
|
314
316
|
addModalRef: Ref<any>;
|
|
315
317
|
recordModalRef: Ref<any>;
|
|
316
318
|
editNavModalRef: Ref<any>;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { SrmI18n } from '../../../../../../utils/type';
|
|
2
|
+
import type { DefineComponent, Ref, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes } from 'vue';
|
|
3
|
+
import { ButtonItem } from '../../../list-page-layout-types';
|
|
4
|
+
declare const _sfc_main: DefineComponent<{}, {
|
|
5
|
+
srmI18n: SrmI18n;
|
|
6
|
+
visible: Ref<boolean>;
|
|
7
|
+
biUrl: Ref<string>;
|
|
8
|
+
open: (button: ButtonItem, url: string) => void;
|
|
9
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{}>>, {}, {}>;
|
|
10
|
+
export default _sfc_main;
|
|
@@ -10,10 +10,10 @@ declare const _sfc_main: DefineComponent<{}, {
|
|
|
10
10
|
open: (columnCode: string) => void;
|
|
11
11
|
close: typeof close;
|
|
12
12
|
setFrozenColumn<T extends GridColumn>(listArry: T[]): T[];
|
|
13
|
-
getColumnsList(columnCode: string):
|
|
13
|
+
getColumnsList(columnCode: string): Promise<string>;
|
|
14
14
|
getFieldColorsData(item: any): void;
|
|
15
15
|
showDrawer(row: any): void;
|
|
16
|
-
reset(): void
|
|
16
|
+
reset(): Promise<void>;
|
|
17
17
|
selectedOk(): void;
|
|
18
18
|
drawerVisible: Ref<boolean>;
|
|
19
19
|
selectedRow: Ref<{
|
|
@@ -10,6 +10,10 @@ declare const _sfc_main: DefineComponent<{
|
|
|
10
10
|
type: PropType<ToolsConfig>;
|
|
11
11
|
default: () => {};
|
|
12
12
|
};
|
|
13
|
+
pageData: {
|
|
14
|
+
type: ObjectConstructor;
|
|
15
|
+
default: () => {};
|
|
16
|
+
};
|
|
13
17
|
}, {
|
|
14
18
|
handleClick: (btn: ButtonItem) => void;
|
|
15
19
|
showHandle: (item: any) => boolean;
|
|
@@ -28,7 +32,12 @@ declare const _sfc_main: DefineComponent<{
|
|
|
28
32
|
type: PropType<ToolsConfig>;
|
|
29
33
|
default: () => {};
|
|
30
34
|
};
|
|
35
|
+
pageData: {
|
|
36
|
+
type: ObjectConstructor;
|
|
37
|
+
default: () => {};
|
|
38
|
+
};
|
|
31
39
|
}>>, {
|
|
40
|
+
pageData: Record<string, any>;
|
|
32
41
|
buttonConfig: ButtonConfig;
|
|
33
42
|
toolsConfig: ToolsConfig;
|
|
34
43
|
}, {}>;
|
|
@@ -283,6 +283,7 @@ declare const _sfc_main: DefineComponent<{
|
|
|
283
283
|
}[];
|
|
284
284
|
superQuery: ObjectMap;
|
|
285
285
|
} | undefined;
|
|
286
|
+
chatBiBusinessType?: string | undefined;
|
|
286
287
|
};
|
|
287
288
|
beforeHandleData?: ((column: GridColumn[]) => void) | undefined;
|
|
288
289
|
afterHandleData?: ((tableData: ObjectMap[]) => void) | undefined;
|
|
@@ -304,6 +305,7 @@ declare const _sfc_main: DefineComponent<{
|
|
|
304
305
|
importSuccess: () => void;
|
|
305
306
|
columnSettingRef: Ref<any>;
|
|
306
307
|
helpTextModalRef: Ref<any>;
|
|
308
|
+
chatBiModalRef: Ref<any>;
|
|
307
309
|
addModalRef: Ref<any>;
|
|
308
310
|
recordModalRef: Ref<any>;
|
|
309
311
|
editNavModalRef: Ref<any>;
|
|
@@ -9,4 +9,5 @@ export declare const SYMBOL_HANDLE_HELP_TEXT: unique symbol;
|
|
|
9
9
|
export declare const SYMBOL_HANDLE_ATTACHMENT_TEXT: unique symbol;
|
|
10
10
|
export declare const SYMBOL_HANDLE_VIDEO_TEXT: unique symbol;
|
|
11
11
|
export declare const SYMBOL_HANDLE_MERGE_GRID: unique symbol;
|
|
12
|
+
export declare const SYMBOL_HANDLE_CHATBI: unique symbol;
|
|
12
13
|
export declare const SYMBOL_FETCH_NAV_DATA: unique symbol;
|
|
@@ -96,8 +96,8 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
96
96
|
readonly value: string;
|
|
97
97
|
readonly options: Option[];
|
|
98
98
|
readonly 'onUpdate:value': ((value: string) => void) | ((value: string) => void)[];
|
|
99
|
-
readonly required: "0" | "1";
|
|
100
99
|
readonly dictCode: string;
|
|
100
|
+
readonly required: "0" | "1";
|
|
101
101
|
readonly isLayout: boolean;
|
|
102
102
|
readonly colSpan: string;
|
|
103
103
|
}, {}>>;
|
|
@@ -92,8 +92,8 @@ declare const _sfc_main: DefineComponent<{
|
|
|
92
92
|
readonly value: string;
|
|
93
93
|
readonly options: Option[];
|
|
94
94
|
readonly 'onUpdate:value': ((value: string) => void) | ((value: string) => void)[];
|
|
95
|
-
readonly required: "0" | "1";
|
|
96
95
|
readonly dictCode: string;
|
|
96
|
+
readonly required: "0" | "1";
|
|
97
97
|
readonly isLayout: boolean;
|
|
98
98
|
readonly colSpan: string;
|
|
99
99
|
}, {}>;
|
|
@@ -49,6 +49,7 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
49
49
|
children?: unknown[] | undefined;
|
|
50
50
|
label: string;
|
|
51
51
|
}[]>;
|
|
52
|
+
dictCode: Ref<string>;
|
|
52
53
|
onChange: (value: string | string[], options: SelectOption | SelectOption[]) => void;
|
|
53
54
|
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, ("update:value" | "change")[], "update:value" | "change", VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
|
|
54
55
|
readonly value: {
|
|
@@ -45,6 +45,7 @@ declare const _sfc_main: DefineComponent<{
|
|
|
45
45
|
children?: unknown[] | undefined;
|
|
46
46
|
label: string;
|
|
47
47
|
}[]>;
|
|
48
|
+
dictCode: Ref<string>;
|
|
48
49
|
onChange: (value: string | string[], options: SelectOption | SelectOption[]) => void;
|
|
49
50
|
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, ("update:value" | "change")[], "update:value" | "change", VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
|
|
50
51
|
readonly value: {
|
|
@@ -4,7 +4,7 @@ import { SYMBOL_BINDFUNCTION, SYMBOL_CUSTOM_BINDFUNCTION, SYMBOL_VXE_BINDFUNCTIO
|
|
|
4
4
|
import type { RecordString, BindFunctionEvent, VxeBindFunctionEvent, PageButton, PageButtonWithGroupCode, PageButtonDeleteRow, PageButtonDownLoad, ValidateResult, LinkClickCallbackParams, FormFieldsItem, PageButtonDeleteFileRow, KeydownEventParams, FlowApprovalCallbackPayload } from '../../lib/components/edit-page-layout';
|
|
5
5
|
import type { ButtonItem, ObjectMap, ToolsButtonItem } from '../../lib/components/list-page-layout';
|
|
6
6
|
import type { VxeItemFileUpload } from '../../lib/components/upload-file';
|
|
7
|
-
import { SYMBOL_GRID_INSTANCE, SYMBOL_HANDLE_SETTING, SYMBOL_HANDLE_ADD, SYMBOL_HANDLE_EXPORT, SYMBOL_HANDLE_IMPORT, SYMBOL_HANDLE_QUICK_NAV, SYMBOL_HANDLE_RECORD, SYMBOL_HANDLE_HELP_TEXT, SYMBOL_HANDLE_ATTACHMENT_TEXT, SYMBOL_HANDLE_VIDEO_TEXT, SYMBOL_HANDLE_MERGE_GRID, SYMBOL_FETCH_NAV_DATA } from '../components/list-page-layout/src/symbol';
|
|
7
|
+
import { SYMBOL_GRID_INSTANCE, SYMBOL_HANDLE_SETTING, SYMBOL_HANDLE_ADD, SYMBOL_HANDLE_EXPORT, SYMBOL_HANDLE_IMPORT, SYMBOL_HANDLE_QUICK_NAV, SYMBOL_HANDLE_RECORD, SYMBOL_HANDLE_HELP_TEXT, SYMBOL_HANDLE_ATTACHMENT_TEXT, SYMBOL_HANDLE_VIDEO_TEXT, SYMBOL_HANDLE_MERGE_GRID, SYMBOL_HANDLE_CHATBI, SYMBOL_FETCH_NAV_DATA } from '../components/list-page-layout/src/symbol';
|
|
8
8
|
export type Events = {
|
|
9
9
|
[SYMBOL_BINDFUNCTION]: BindFunctionEvent;
|
|
10
10
|
[SYMBOL_CUSTOM_BINDFUNCTION]: BindFunctionEvent;
|
|
@@ -38,6 +38,7 @@ export type Events = {
|
|
|
38
38
|
[SYMBOL_HANDLE_ATTACHMENT_TEXT]: ButtonItem;
|
|
39
39
|
[SYMBOL_HANDLE_VIDEO_TEXT]: ButtonItem;
|
|
40
40
|
[SYMBOL_HANDLE_MERGE_GRID]: ToolsButtonItem;
|
|
41
|
+
[SYMBOL_HANDLE_CHATBI]: ToolsButtonItem;
|
|
41
42
|
[SYMBOL_HANDLE_RECORD]: ObjectMap;
|
|
42
43
|
[SYMBOL_HANDLE_QUICK_NAV]: string | number | undefined;
|
|
43
44
|
[SYMBOL_FETCH_NAV_DATA]: string | number | undefined;
|