@qqt-product/ui 14.0.3 → 14.1.0
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 +14937 -14866
- package/dist/index.umd.js +93 -93
- 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 +1 -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 +1 -5
- package/dist/lib/components/layout/src/menu/menu.vue.d.ts +2 -3
- package/dist/lib/components/layout/src/sider/index.vue.d.ts +1 -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;
|
|
@@ -406,12 +404,11 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
406
404
|
currentActive: Ref<number>;
|
|
407
405
|
meta: Ref<FirstMenuMeta | undefined>;
|
|
408
406
|
isEffectiveRoutePath: Ref<boolean>;
|
|
407
|
+
customMode: ComputedRef<"vertical" | "inline">;
|
|
409
408
|
firstMenuSelect: (item: ExtendMenu, index: number) => void;
|
|
410
409
|
updateMenuBadgeCount: (firstMenuPath: string, count: number) => void;
|
|
411
410
|
menuSelect: () => void;
|
|
412
|
-
expandedKeys: Ref<(string | number)[]>;
|
|
413
411
|
autoExpandParent: Ref<boolean>;
|
|
414
|
-
checkPath: (node: ExtendMenu, path: string) => boolean;
|
|
415
412
|
getEffectiveSource: (node: ExtendMenu, data: ExtendMenu[]) => void;
|
|
416
413
|
onSelect: (selectedKeys: string[], e: any) => void;
|
|
417
414
|
readonly QIcon: DefineComponent<{
|
|
@@ -1035,7 +1032,6 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
1035
1032
|
iconToolClick: (type: string) => void;
|
|
1036
1033
|
openChat: () => void;
|
|
1037
1034
|
fetchCustomer: () => void;
|
|
1038
|
-
openChatBi: () => void;
|
|
1039
1035
|
readonly QSymbolIcon: DefineComponent<{
|
|
1040
1036
|
type: {
|
|
1041
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;
|
|
@@ -403,12 +401,11 @@ declare const _sfc_main: DefineComponent<{
|
|
|
403
401
|
currentActive: Ref<number>;
|
|
404
402
|
meta: Ref<FirstMenuMeta | undefined>;
|
|
405
403
|
isEffectiveRoutePath: Ref<boolean>;
|
|
404
|
+
customMode: ComputedRef<"vertical" | "inline">;
|
|
406
405
|
firstMenuSelect: (item: ExtendMenu, index: number) => void;
|
|
407
406
|
updateMenuBadgeCount: (firstMenuPath: string, count: number) => void;
|
|
408
407
|
menuSelect: () => void;
|
|
409
|
-
expandedKeys: Ref<(string | number)[]>;
|
|
410
408
|
autoExpandParent: Ref<boolean>;
|
|
411
|
-
checkPath: (node: ExtendMenu, path: string) => boolean;
|
|
412
409
|
getEffectiveSource: (node: ExtendMenu, data: ExtendMenu[]) => void;
|
|
413
410
|
onSelect: (selectedKeys: string[], e: any) => void;
|
|
414
411
|
readonly QIcon: DefineComponent<{
|
|
@@ -1032,7 +1029,6 @@ declare const _sfc_main: DefineComponent<{
|
|
|
1032
1029
|
iconToolClick: (type: string) => void;
|
|
1033
1030
|
openChat: () => void;
|
|
1034
1031
|
fetchCustomer: () => void;
|
|
1035
|
-
openChatBi: () => void;
|
|
1036
1032
|
readonly QSymbolIcon: DefineComponent<{
|
|
1037
1033
|
type: {
|
|
1038
1034
|
type: PropType<string>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { SrmI18n } from '../../../../utils/type';
|
|
2
|
-
import type { DefineComponent, Ref,
|
|
2
|
+
import type { DefineComponent, Ref, ComputedRef, PropType, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes } from 'vue';
|
|
3
3
|
import type { Menu, SelectedMemu, ExtendMenu, FirstMenuMeta, RouterPropsType } from '../types';
|
|
4
4
|
declare const _sfc_main: DefineComponent<{
|
|
5
5
|
globalStyleSettingsMenuPattern: {
|
|
@@ -127,12 +127,11 @@ declare const _sfc_main: DefineComponent<{
|
|
|
127
127
|
currentActive: Ref<number>;
|
|
128
128
|
meta: Ref<FirstMenuMeta | undefined>;
|
|
129
129
|
isEffectiveRoutePath: Ref<boolean>;
|
|
130
|
+
customMode: ComputedRef<"vertical" | "inline">;
|
|
130
131
|
firstMenuSelect: (item: ExtendMenu, index: number) => void;
|
|
131
132
|
updateMenuBadgeCount: (firstMenuPath: string, count: number) => void;
|
|
132
133
|
menuSelect: () => void;
|
|
133
|
-
expandedKeys: Ref<(string | number)[]>;
|
|
134
134
|
autoExpandParent: Ref<boolean>;
|
|
135
|
-
checkPath: (node: ExtendMenu, path: string) => boolean;
|
|
136
135
|
getEffectiveSource: (node: ExtendMenu, data: ExtendMenu[]) => void;
|
|
137
136
|
onSelect: (selectedKeys: string[], e: any) => void;
|
|
138
137
|
readonly QIcon: DefineComponent<{
|
|
@@ -269,12 +269,11 @@ declare const _sfc_main: DefineComponent<{
|
|
|
269
269
|
currentActive: Ref<number>;
|
|
270
270
|
meta: Ref<FirstMenuMeta | undefined>;
|
|
271
271
|
isEffectiveRoutePath: Ref<boolean>;
|
|
272
|
+
customMode: ComputedRef<"vertical" | "inline">;
|
|
272
273
|
firstMenuSelect: (item: ExtendMenu, index: number) => void;
|
|
273
274
|
updateMenuBadgeCount: (firstMenuPath: string, count: number) => void;
|
|
274
275
|
menuSelect: () => void;
|
|
275
|
-
expandedKeys: Ref<(string | number)[]>;
|
|
276
276
|
autoExpandParent: Ref<boolean>;
|
|
277
|
-
checkPath: (node: ExtendMenu, path: string) => boolean;
|
|
278
277
|
getEffectiveSource: (node: ExtendMenu, data: ExtendMenu[]) => void;
|
|
279
278
|
onSelect: (selectedKeys: string[], e: any) => void;
|
|
280
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;
|