@qqt-product/ui 14.1.0 → 16.0.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 +74893 -72513
- package/dist/index.umd.js +143 -161
- package/dist/lib/components/audit-modal/index.d.ts +4 -4
- package/dist/lib/components/audit-modal/src/audit-modal.vue.d.ts +4 -4
- package/dist/lib/components/audit-modal/src/component/addNodeHistoryModal.vue.d.ts +4 -4
- package/dist/lib/components/audit-modal/src/component/afterSignModal.vue.d.ts +232 -0
- package/dist/lib/components/audit-modal/src/component/approvalOpinionModal.vue.d.ts +15 -4
- package/dist/lib/components/basicTitle/index.d.ts +96 -0
- package/dist/lib/components/basicTitle/src/BasicHelp.d.ts +99 -0
- package/dist/lib/components/basicTitle/src/BasicTitle.vue.d.ts +123 -0
- package/dist/lib/components/breadcrumb/index.d.ts +2 -7
- package/dist/lib/components/card-list-layout/index.d.ts +1 -1
- package/dist/lib/components/card-list-layout/src/index.vue.d.ts +1 -1
- package/dist/lib/components/cascader/index.d.ts +3 -3
- package/dist/lib/components/cascader/src/cascader-types.d.ts +1 -1
- package/dist/lib/components/cascader/src/cascader.vue.d.ts +3 -3
- package/dist/lib/components/checkbox/index.d.ts +4 -4
- package/dist/lib/components/checkbox/src/checkbox-types.d.ts +1 -1
- package/dist/lib/components/checkbox/src/checkbox.vue.d.ts +4 -4
- package/dist/lib/components/code-editor-model/index.d.ts +5 -0
- package/dist/lib/components/code-editor-model/src/code-editor-model.vue.d.ts +23 -9
- package/dist/lib/components/countdown/index.d.ts +2 -2
- package/dist/lib/components/countdown/src/countdown.d.ts +2 -2
- package/dist/lib/components/currency/index.d.ts +3 -3
- package/dist/lib/components/currency/src/currency.vue.d.ts +3 -3
- package/dist/lib/components/custom-remote-select/src/type.d.ts +7 -0
- package/dist/lib/components/detail-grid/index.d.ts +14 -4
- package/dist/lib/components/detail-grid/src/detail-grid.vue.d.ts +14 -4
- package/dist/lib/components/edit-form/index.d.ts +2 -2
- package/dist/lib/components/edit-form/src/edit-form.vue.d.ts +2 -2
- package/dist/lib/components/edit-grid/index.d.ts +14 -4
- package/dist/lib/components/edit-grid/src/edit-grid-types.d.ts +4 -0
- package/dist/lib/components/edit-grid/src/edit-grid.vue.d.ts +14 -4
- package/dist/lib/components/edit-grid/src/hook/use-grid-height-hook.d.ts +1 -1
- package/dist/lib/components/edit-page-layout/src/edit-page-layout-types.d.ts +1 -0
- package/dist/lib/components/empty/index.d.ts +2 -2
- package/dist/lib/components/flow-view/index.d.ts +1 -1
- package/dist/lib/components/flow-view/src/flow-view.d.ts +1 -1
- package/dist/lib/components/import-modal/index.d.ts +1 -1
- package/dist/lib/components/import-modal/src/import-modal.vue.d.ts +1 -1
- package/dist/lib/components/index.d.ts +6 -1
- package/dist/lib/components/ladder-price/index.d.ts +2 -2
- package/dist/lib/components/ladder-price/src/ladder-price.vue.d.ts +2 -2
- package/dist/lib/components/layout/index.d.ts +8 -3
- package/dist/lib/components/layout/src/header/index.vue.d.ts +1 -1
- package/dist/lib/components/layout/src/header/navRight/index.vue.d.ts +1 -1
- package/dist/lib/components/layout/src/header/navRight/langSwitch.vue.d.ts +1 -1
- package/dist/lib/components/layout/src/index.vue.d.ts +8 -3
- package/dist/lib/components/layout/src/sider/index.vue.d.ts +7 -2
- package/dist/lib/components/layout/src/sider/logo.vue.d.ts +7 -2
- package/dist/lib/components/layout-anchor/index.d.ts +5 -0
- package/dist/lib/components/layout-anchor/src/layout-auchor.vue.d.ts +5 -0
- package/dist/lib/components/layout-pattern/index.d.ts +7 -2
- package/dist/lib/components/layout-pattern/src/hook/use-audit-button-hook.d.ts +1 -1
- package/dist/lib/components/layout-pattern/src/layout-pattern.vue.d.ts +7 -2
- package/dist/lib/components/list-page-layout/index.d.ts +1 -1
- package/dist/lib/components/list-page-layout/src/components/common/record-modal/mock.d.ts +1 -1
- package/dist/lib/components/list-page-layout/src/components/common/record-modal/record-modal.vue.d.ts +6 -6
- package/dist/lib/components/list-page-layout/src/components/list-content/list-content.vue.d.ts +1 -1
- package/dist/lib/components/list-page-layout/src/components/list-header/list-header.vue.d.ts +1 -1
- package/dist/lib/components/list-page-layout/src/components/list-header/module/query/index.vue.d.ts +1 -1
- package/dist/lib/components/list-page-layout/src/components/list-header/module/searchExtend/index.vue.d.ts +2 -2
- package/dist/lib/components/list-page-layout/src/layout.vue.d.ts +1 -1
- package/dist/lib/components/menu/index.d.ts +2 -80
- package/dist/lib/components/modal/index.d.ts +1364 -0
- package/dist/lib/components/modal/src/BasicModal.vue.d.ts +1358 -0
- package/dist/lib/components/modal/src/components/Modal.d.ts +255 -0
- package/dist/lib/components/modal/src/components/ModalClose.vue.d.ts +56 -0
- package/dist/lib/components/modal/src/components/ModalFooter.vue.d.ts +262 -0
- package/dist/lib/components/modal/src/components/ModalHeader.vue.d.ts +19 -0
- package/dist/lib/components/modal/src/components/ModalWrapper.vue.d.ts +102 -0
- package/dist/lib/components/modal/src/hooks/useModal.d.ts +6 -0
- package/dist/lib/components/modal/src/hooks/useModalContext.d.ts +7 -0
- package/dist/lib/components/modal/src/hooks/useModalDrag.d.ts +7 -0
- package/dist/lib/components/modal/src/hooks/useModalFullScreen.d.ts +11 -0
- package/dist/lib/components/modal/src/props.d.ts +150 -0
- package/dist/lib/components/modal/src/typing.d.ts +204 -0
- package/dist/lib/components/page-layout/src/util.d.ts +18 -2
- package/dist/lib/components/radio/index.d.ts +4 -4
- package/dist/lib/components/radio/src/radio-types.d.ts +1 -1
- package/dist/lib/components/radio/src/radio.vue.d.ts +4 -4
- package/dist/lib/components/relation-graph/index.d.ts +6 -0
- package/dist/lib/components/relation-graph/src/relation-graph.vue.d.ts +89 -0
- package/dist/lib/components/remote-select/index.d.ts +2 -2
- package/dist/lib/components/remote-select/src/remote-select.vue.d.ts +2 -2
- package/dist/lib/components/sale-template/index.d.ts +2 -1
- package/dist/lib/components/scrollContainer/index.d.ts +14 -0
- package/dist/lib/components/scrollContainer/src/ScrollContainer.vue.d.ts +10 -0
- package/dist/lib/components/scrollContainer/src/typing.d.ts +17 -0
- package/dist/lib/components/scrollbar/index.d.ts +80 -0
- package/dist/lib/components/scrollbar/src/Scrollbar.vue.d.ts +73 -0
- package/dist/lib/components/scrollbar/src/bar.d.ts +15 -0
- package/dist/lib/components/scrollbar/src/types.d.ts +18 -0
- package/dist/lib/components/scrollbar/src/util.d.ts +8 -0
- package/dist/lib/components/select/index.d.ts +2 -2
- package/dist/lib/components/select/src/select.vue.d.ts +2 -2
- package/dist/lib/components/select-modal/index.d.ts +2 -2
- package/dist/lib/components/select-modal/src/select-modal.vue.d.ts +2 -2
- package/dist/lib/components/tree-select/index.d.ts +2 -2
- package/dist/lib/components/tree-select/src/tree-select.vue.d.ts +2 -2
- package/dist/lib/components/upload-file/index.d.ts +4 -4
- package/dist/lib/components/upload-file/src/upload-file.vue.d.ts +4 -4
- package/dist/lib/components/upload-image/index.d.ts +4 -3
- package/dist/lib/components/upload-image/src/upload-image.vue.d.ts +4 -3
- package/dist/lib/hooks/core/useAttrs.d.ts +9 -0
- package/dist/lib/hooks/core/useContext.d.ts +11 -0
- package/dist/lib/hooks/core/useTimeout.d.ts +11 -0
- package/dist/lib/hooks/event/useScrollTo.d.ts +10 -0
- package/dist/lib/hooks/event/useWindowSizeFn.d.ts +7 -0
- package/dist/lib/index.d.ts +1 -0
- package/dist/lib/types/index.d.ts +32 -0
- package/dist/lib/utils/domUtils.d.ts +36 -0
- package/dist/lib/utils/event/index.d.ts +3 -0
- package/dist/lib/utils/helper/tsxHelper.d.ts +13 -0
- package/dist/lib/utils/index.d.ts +7 -0
- package/dist/lib/utils/is.d.ts +22 -0
- package/dist/lib/utils/log.d.ts +2 -0
- package/dist/style.css +1 -1
- package/package.json +15 -13
|
@@ -68,7 +68,7 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
68
68
|
};
|
|
69
69
|
}, {
|
|
70
70
|
props: any;
|
|
71
|
-
emit: (event: "
|
|
71
|
+
emit: (event: "cancel" | "update:visible" | "ok", ...args: any[]) => void;
|
|
72
72
|
title: Ref<string>;
|
|
73
73
|
visible: Ref<boolean>;
|
|
74
74
|
form: Ref<Form[]>;
|
|
@@ -264,7 +264,7 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
264
264
|
selectModal: ModalType;
|
|
265
265
|
}, {}>;
|
|
266
266
|
readonly UploadOutlined: UploadOutlinedIconType;
|
|
267
|
-
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, ("
|
|
267
|
+
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, ("cancel" | "update:visible" | "ok")[], "cancel" | "update:visible" | "ok", VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
|
|
268
268
|
visible: {
|
|
269
269
|
type: BooleanConstructor;
|
|
270
270
|
default: boolean;
|
|
@@ -318,10 +318,11 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
318
318
|
default: unknown;
|
|
319
319
|
};
|
|
320
320
|
}>> & {
|
|
321
|
+
onCancel?: ((...args: any[]) => any) | undefined;
|
|
321
322
|
"onUpdate:visible"?: ((...args: any[]) => any) | undefined;
|
|
322
323
|
onOk?: ((...args: any[]) => any) | undefined;
|
|
323
|
-
onCancel?: ((...args: any[]) => any) | undefined;
|
|
324
324
|
}, {
|
|
325
|
+
width: string;
|
|
325
326
|
form: Form[];
|
|
326
327
|
title: string;
|
|
327
328
|
'onUpdate:visible': ((value: string) => void) | ((value: string) => void)[];
|
|
@@ -330,7 +331,6 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
330
331
|
businessType: string;
|
|
331
332
|
token: string;
|
|
332
333
|
busAccount: string;
|
|
333
|
-
width: string;
|
|
334
334
|
taskAction: string;
|
|
335
335
|
needFlow: string;
|
|
336
336
|
flowIframeUrl: string;
|
|
@@ -64,7 +64,7 @@ declare const _sfc_main: DefineComponent<{
|
|
|
64
64
|
};
|
|
65
65
|
}, {
|
|
66
66
|
props: any;
|
|
67
|
-
emit: (event: "
|
|
67
|
+
emit: (event: "cancel" | "update:visible" | "ok", ...args: any[]) => void;
|
|
68
68
|
title: Ref<string>;
|
|
69
69
|
visible: Ref<boolean>;
|
|
70
70
|
form: Ref<Form[]>;
|
|
@@ -260,7 +260,7 @@ declare const _sfc_main: DefineComponent<{
|
|
|
260
260
|
selectModal: ModalType;
|
|
261
261
|
}, {}>;
|
|
262
262
|
readonly UploadOutlined: UploadOutlinedIconType;
|
|
263
|
-
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, ("
|
|
263
|
+
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, ("cancel" | "update:visible" | "ok")[], "cancel" | "update:visible" | "ok", VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
|
|
264
264
|
visible: {
|
|
265
265
|
type: BooleanConstructor;
|
|
266
266
|
default: boolean;
|
|
@@ -314,10 +314,11 @@ declare const _sfc_main: DefineComponent<{
|
|
|
314
314
|
default: unknown;
|
|
315
315
|
};
|
|
316
316
|
}>> & {
|
|
317
|
+
onCancel?: ((...args: any[]) => any) | undefined;
|
|
317
318
|
"onUpdate:visible"?: ((...args: any[]) => any) | undefined;
|
|
318
319
|
onOk?: ((...args: any[]) => any) | undefined;
|
|
319
|
-
onCancel?: ((...args: any[]) => any) | undefined;
|
|
320
320
|
}, {
|
|
321
|
+
width: string;
|
|
321
322
|
form: Form[];
|
|
322
323
|
title: string;
|
|
323
324
|
'onUpdate:visible': ((value: string) => void) | ((value: string) => void)[];
|
|
@@ -326,7 +327,6 @@ declare const _sfc_main: DefineComponent<{
|
|
|
326
327
|
businessType: string;
|
|
327
328
|
token: string;
|
|
328
329
|
busAccount: string;
|
|
329
|
-
width: string;
|
|
330
330
|
taskAction: string;
|
|
331
331
|
needFlow: string;
|
|
332
332
|
flowIframeUrl: string;
|
|
@@ -59,7 +59,7 @@ declare const _sfc_main: DefineComponent<{
|
|
|
59
59
|
};
|
|
60
60
|
}, {
|
|
61
61
|
props: any;
|
|
62
|
-
emit: (event: "
|
|
62
|
+
emit: (event: "cancel" | "update:visible" | "ok", ...args: any[]) => void;
|
|
63
63
|
confirmLoading: Ref<boolean>;
|
|
64
64
|
visible: Ref<boolean>;
|
|
65
65
|
handleCancel: () => void;
|
|
@@ -696,7 +696,7 @@ declare const _sfc_main: DefineComponent<{
|
|
|
696
696
|
} | undefined;
|
|
697
697
|
params?: any;
|
|
698
698
|
}[];
|
|
699
|
-
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, ("
|
|
699
|
+
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, ("cancel" | "update:visible" | "ok")[], "cancel" | "update:visible" | "ok", VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
|
|
700
700
|
visible: {
|
|
701
701
|
type: BooleanConstructor;
|
|
702
702
|
default: boolean;
|
|
@@ -750,10 +750,11 @@ declare const _sfc_main: DefineComponent<{
|
|
|
750
750
|
default: unknown;
|
|
751
751
|
};
|
|
752
752
|
}>> & {
|
|
753
|
+
onCancel?: ((...args: any[]) => any) | undefined;
|
|
753
754
|
"onUpdate:visible"?: ((...args: any[]) => any) | undefined;
|
|
754
755
|
onOk?: ((...args: any[]) => any) | undefined;
|
|
755
|
-
onCancel?: ((...args: any[]) => any) | undefined;
|
|
756
756
|
}, {
|
|
757
|
+
width: string;
|
|
757
758
|
form: Form[];
|
|
758
759
|
title: string;
|
|
759
760
|
'onUpdate:visible': ((value: string) => void) | ((value: string) => void)[];
|
|
@@ -762,7 +763,6 @@ declare const _sfc_main: DefineComponent<{
|
|
|
762
763
|
businessType: string;
|
|
763
764
|
token: string;
|
|
764
765
|
busAccount: string;
|
|
765
|
-
width: string;
|
|
766
766
|
taskAction: string;
|
|
767
767
|
needFlow: string;
|
|
768
768
|
flowIframeUrl: string;
|
|
@@ -0,0 +1,232 @@
|
|
|
1
|
+
import type { VxeTableProps, VxeTableDataRow, VxeGridInstance } from 'vxe-table';
|
|
2
|
+
import type { RequestMethod, ModalConfig, ModalType, OpenFuncType, TablePage } from './field-select-modal-types';
|
|
3
|
+
import type { UserOutlinedIconType } from '@ant-design/icons-vue/lib/icons/UserOutlined';
|
|
4
|
+
import type { DefaultOptionType } from 'ant-design-vue/es/select';
|
|
5
|
+
import type { RuleObject } from 'ant-design-vue/es/form';
|
|
6
|
+
import type { SrmI18n } from '../../../../utils/type';
|
|
7
|
+
import type { DefineComponent, Ref, ComputedRef, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes, PropType } from 'vue';
|
|
8
|
+
import qqtApi from '@qqt-product/api';
|
|
9
|
+
declare const _sfc_main: DefineComponent<{
|
|
10
|
+
currentRow: {
|
|
11
|
+
type: PropType<any>;
|
|
12
|
+
default(): {};
|
|
13
|
+
};
|
|
14
|
+
layoutExtraInfo: {
|
|
15
|
+
type: PropType<any>;
|
|
16
|
+
default(): {};
|
|
17
|
+
};
|
|
18
|
+
}, {
|
|
19
|
+
props: any;
|
|
20
|
+
emit: (event: "close", ...args: any[]) => void;
|
|
21
|
+
srmI18n: SrmI18n;
|
|
22
|
+
qHttp: qqtApi.Request;
|
|
23
|
+
formRef: Ref<any>;
|
|
24
|
+
fieldSelectModalRef: Ref<any>;
|
|
25
|
+
afterSignModalVisible: Ref<boolean>;
|
|
26
|
+
confirmLoading: Ref<boolean>;
|
|
27
|
+
formState: Ref<Record<string | number, any>>;
|
|
28
|
+
rules: Record<string, RuleObject[]>;
|
|
29
|
+
nextIdOptions: Ref<{
|
|
30
|
+
[x: string]: any;
|
|
31
|
+
label?: any;
|
|
32
|
+
value?: string | number | null | undefined;
|
|
33
|
+
children?: Omit<DefaultOptionType, "children">[] | undefined;
|
|
34
|
+
disabled?: boolean | undefined;
|
|
35
|
+
}[] | undefined>;
|
|
36
|
+
signScaleOptions: Ref<{
|
|
37
|
+
[x: string]: any;
|
|
38
|
+
label?: any;
|
|
39
|
+
value?: string | number | null | undefined;
|
|
40
|
+
children?: Omit<DefaultOptionType, "children">[] | undefined;
|
|
41
|
+
disabled?: boolean | undefined;
|
|
42
|
+
}[] | undefined>;
|
|
43
|
+
signTypeOptions: Ref<{
|
|
44
|
+
[x: string]: any;
|
|
45
|
+
label?: any;
|
|
46
|
+
value?: string | number | null | undefined;
|
|
47
|
+
children?: Omit<DefaultOptionType, "children">[] | undefined;
|
|
48
|
+
disabled?: boolean | undefined;
|
|
49
|
+
}[] | undefined>;
|
|
50
|
+
flowIframeUrl: ComputedRef<string>;
|
|
51
|
+
getOutgoingFlows: () => void;
|
|
52
|
+
handleNextIdChange: (value: any) => void;
|
|
53
|
+
selectUsers: () => void;
|
|
54
|
+
tagSelectOk: (data: Record<string, any>) => void;
|
|
55
|
+
handleCancel: () => void;
|
|
56
|
+
submit: () => void;
|
|
57
|
+
readonly UserOutlined: UserOutlinedIconType;
|
|
58
|
+
QFieldSelectModal: DefineComponent<{
|
|
59
|
+
modalTitle: {
|
|
60
|
+
type: StringConstructor;
|
|
61
|
+
default: string;
|
|
62
|
+
};
|
|
63
|
+
apiUrls: {
|
|
64
|
+
type: StringConstructor;
|
|
65
|
+
default: string;
|
|
66
|
+
};
|
|
67
|
+
requestMethod: {
|
|
68
|
+
type: PropType<RequestMethod>;
|
|
69
|
+
default: string;
|
|
70
|
+
};
|
|
71
|
+
tableData: {
|
|
72
|
+
type: PropType<Record<string, unknown>[]>;
|
|
73
|
+
default: () => null;
|
|
74
|
+
};
|
|
75
|
+
modalConfig: {
|
|
76
|
+
type: PropType<ModalConfig>;
|
|
77
|
+
default: () => {};
|
|
78
|
+
};
|
|
79
|
+
handleListData: {
|
|
80
|
+
type: FunctionConstructor;
|
|
81
|
+
};
|
|
82
|
+
tableConfig: {
|
|
83
|
+
type: PropType<VxeTableProps<VxeTableDataRow>>;
|
|
84
|
+
default: () => {
|
|
85
|
+
height: number;
|
|
86
|
+
isTree: boolean;
|
|
87
|
+
radioConfig: {};
|
|
88
|
+
checkedConfig: {
|
|
89
|
+
highlight: boolean;
|
|
90
|
+
reserve: boolean;
|
|
91
|
+
trigger: string;
|
|
92
|
+
};
|
|
93
|
+
pagerConfig: {};
|
|
94
|
+
treeConfig: {};
|
|
95
|
+
};
|
|
96
|
+
};
|
|
97
|
+
placeholder: {
|
|
98
|
+
type: StringConstructor;
|
|
99
|
+
default: string;
|
|
100
|
+
};
|
|
101
|
+
selectModal: {
|
|
102
|
+
type: PropType<ModalType>;
|
|
103
|
+
default: string;
|
|
104
|
+
};
|
|
105
|
+
}, {
|
|
106
|
+
classes: ComputedRef<{
|
|
107
|
+
[x: string]: boolean;
|
|
108
|
+
}>;
|
|
109
|
+
selectGrid: Ref<VxeGridInstance<any> | null>;
|
|
110
|
+
data: {
|
|
111
|
+
url: string;
|
|
112
|
+
params: {
|
|
113
|
+
[x: string]: any;
|
|
114
|
+
pageNo: number;
|
|
115
|
+
pageSize: number;
|
|
116
|
+
keyWord?: string | undefined;
|
|
117
|
+
total?: number | undefined;
|
|
118
|
+
align?: string | undefined;
|
|
119
|
+
pageSizes?: number[] | undefined;
|
|
120
|
+
layouts?: string[] | undefined;
|
|
121
|
+
perfect?: boolean | undefined;
|
|
122
|
+
};
|
|
123
|
+
modalLoading: boolean;
|
|
124
|
+
loading: boolean;
|
|
125
|
+
};
|
|
126
|
+
modalShow: Ref<boolean>;
|
|
127
|
+
modalConfigComputed: ComputedRef<any>;
|
|
128
|
+
tableConfigComputed: ComputedRef<any>;
|
|
129
|
+
tablePage: {
|
|
130
|
+
currentPage: number;
|
|
131
|
+
pageSize: number;
|
|
132
|
+
total?: number | undefined;
|
|
133
|
+
align?: string | undefined;
|
|
134
|
+
pageSizes?: number[] | undefined;
|
|
135
|
+
layouts?: string[] | undefined;
|
|
136
|
+
perfect?: boolean | undefined;
|
|
137
|
+
};
|
|
138
|
+
tableData: Ref<Record<string, unknown>[]>;
|
|
139
|
+
columns: Ref<{
|
|
140
|
+
type?: string | undefined;
|
|
141
|
+
field?: string | undefined;
|
|
142
|
+
title?: string | undefined;
|
|
143
|
+
align?: string | undefined;
|
|
144
|
+
fieldLabelI18nKey?: string | undefined;
|
|
145
|
+
width?: number | undefined;
|
|
146
|
+
}[]>;
|
|
147
|
+
form: Record<string, unknown>;
|
|
148
|
+
selectModal: Ref<ModalType>;
|
|
149
|
+
getPagerConfig: ComputedRef<any>;
|
|
150
|
+
modalTitle: Ref<string>;
|
|
151
|
+
placeholder: Ref<string>;
|
|
152
|
+
open: ({ url, params, columns: col, selectModal: sm, requestMethod: rm }: OpenFuncType) => void;
|
|
153
|
+
close: () => void;
|
|
154
|
+
onSearch: () => void;
|
|
155
|
+
handlePageChange: ({ currentPage, pageSize }: TablePage) => void;
|
|
156
|
+
selectedOk: () => void;
|
|
157
|
+
loadData: (extend?: {
|
|
158
|
+
action: string;
|
|
159
|
+
} | undefined) => void;
|
|
160
|
+
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
|
|
161
|
+
modalTitle: {
|
|
162
|
+
type: StringConstructor;
|
|
163
|
+
default: string;
|
|
164
|
+
};
|
|
165
|
+
apiUrls: {
|
|
166
|
+
type: StringConstructor;
|
|
167
|
+
default: string;
|
|
168
|
+
};
|
|
169
|
+
requestMethod: {
|
|
170
|
+
type: PropType<RequestMethod>;
|
|
171
|
+
default: string;
|
|
172
|
+
};
|
|
173
|
+
tableData: {
|
|
174
|
+
type: PropType<Record<string, unknown>[]>;
|
|
175
|
+
default: () => null;
|
|
176
|
+
};
|
|
177
|
+
modalConfig: {
|
|
178
|
+
type: PropType<ModalConfig>;
|
|
179
|
+
default: () => {};
|
|
180
|
+
};
|
|
181
|
+
handleListData: {
|
|
182
|
+
type: FunctionConstructor;
|
|
183
|
+
};
|
|
184
|
+
tableConfig: {
|
|
185
|
+
type: PropType<VxeTableProps<VxeTableDataRow>>;
|
|
186
|
+
default: () => {
|
|
187
|
+
height: number;
|
|
188
|
+
isTree: boolean;
|
|
189
|
+
radioConfig: {};
|
|
190
|
+
checkedConfig: {
|
|
191
|
+
highlight: boolean;
|
|
192
|
+
reserve: boolean;
|
|
193
|
+
trigger: string;
|
|
194
|
+
};
|
|
195
|
+
pagerConfig: {};
|
|
196
|
+
treeConfig: {};
|
|
197
|
+
};
|
|
198
|
+
};
|
|
199
|
+
placeholder: {
|
|
200
|
+
type: StringConstructor;
|
|
201
|
+
default: string;
|
|
202
|
+
};
|
|
203
|
+
selectModal: {
|
|
204
|
+
type: PropType<ModalType>;
|
|
205
|
+
default: string;
|
|
206
|
+
};
|
|
207
|
+
}>>, {
|
|
208
|
+
modalTitle: string;
|
|
209
|
+
apiUrls: string;
|
|
210
|
+
requestMethod: RequestMethod;
|
|
211
|
+
tableData: Record<string, unknown>[];
|
|
212
|
+
modalConfig: ModalConfig;
|
|
213
|
+
tableConfig: VxeTableProps<VxeTableDataRow>;
|
|
214
|
+
placeholder: string;
|
|
215
|
+
selectModal: ModalType;
|
|
216
|
+
}, {}>;
|
|
217
|
+
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, "close"[], "close", VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
|
|
218
|
+
currentRow: {
|
|
219
|
+
type: PropType<any>;
|
|
220
|
+
default(): {};
|
|
221
|
+
};
|
|
222
|
+
layoutExtraInfo: {
|
|
223
|
+
type: PropType<any>;
|
|
224
|
+
default(): {};
|
|
225
|
+
};
|
|
226
|
+
}>> & {
|
|
227
|
+
onClose?: ((...args: any[]) => any) | undefined;
|
|
228
|
+
}, {
|
|
229
|
+
currentRow: any;
|
|
230
|
+
layoutExtraInfo: any;
|
|
231
|
+
}, {}>;
|
|
232
|
+
export default _sfc_main;
|
|
@@ -60,9 +60,19 @@ declare const _sfc_main: DefineComponent<{
|
|
|
60
60
|
}, {
|
|
61
61
|
srmI18n: SrmI18n;
|
|
62
62
|
props: any;
|
|
63
|
-
emit: (event: "
|
|
63
|
+
emit: (event: "cancel" | "update:visible" | "ok", ...args: any[]) => void;
|
|
64
64
|
confirmLoading: Ref<boolean>;
|
|
65
65
|
visible: Ref<boolean>;
|
|
66
|
+
pagerConfig: Ref<{
|
|
67
|
+
total: number;
|
|
68
|
+
pageNo: number;
|
|
69
|
+
currentPage: number;
|
|
70
|
+
pageSize: number;
|
|
71
|
+
align: string;
|
|
72
|
+
pageSizes: number[];
|
|
73
|
+
layouts: ("Number" | "PrevJump" | "PrevPage" | "JumpNumber" | "NextPage" | "NextJump" | "Sizes" | "FullJump" | "PageCount" | "Total" | "Jump")[];
|
|
74
|
+
perfect: boolean;
|
|
75
|
+
}>;
|
|
66
76
|
handleCancel: () => void;
|
|
67
77
|
submit: () => void;
|
|
68
78
|
customLoading: Ref<boolean>;
|
|
@@ -428,7 +438,8 @@ declare const _sfc_main: DefineComponent<{
|
|
|
428
438
|
zoomConfig?: VxeGridPropTypes.ZoomConfig | undefined;
|
|
429
439
|
};
|
|
430
440
|
getHistoryTableData: () => void;
|
|
431
|
-
|
|
441
|
+
pageChange: ({ currentPage }: any) => void;
|
|
442
|
+
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, ("cancel" | "update:visible" | "ok")[], "cancel" | "update:visible" | "ok", VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
|
|
432
443
|
visible: {
|
|
433
444
|
type: BooleanConstructor;
|
|
434
445
|
default: boolean;
|
|
@@ -482,10 +493,11 @@ declare const _sfc_main: DefineComponent<{
|
|
|
482
493
|
default: unknown;
|
|
483
494
|
};
|
|
484
495
|
}>> & {
|
|
496
|
+
onCancel?: ((...args: any[]) => any) | undefined;
|
|
485
497
|
"onUpdate:visible"?: ((...args: any[]) => any) | undefined;
|
|
486
498
|
onOk?: ((...args: any[]) => any) | undefined;
|
|
487
|
-
onCancel?: ((...args: any[]) => any) | undefined;
|
|
488
499
|
}, {
|
|
500
|
+
width: string;
|
|
489
501
|
form: Form[];
|
|
490
502
|
title: string;
|
|
491
503
|
'onUpdate:visible': ((value: string) => void) | ((value: string) => void)[];
|
|
@@ -494,7 +506,6 @@ declare const _sfc_main: DefineComponent<{
|
|
|
494
506
|
businessType: string;
|
|
495
507
|
token: string;
|
|
496
508
|
busAccount: string;
|
|
497
|
-
width: string;
|
|
498
509
|
taskAction: string;
|
|
499
510
|
needFlow: string;
|
|
500
511
|
flowIframeUrl: string;
|
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
import type { DefineComponent, PropType, Slot, ComputedRef, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes } from 'vue';
|
|
2
|
+
import type { SFCWithInstall } from '@qqt-product/utils/dist/modules/withInstall';
|
|
3
|
+
import BasicTitle from './src/BasicTitle.vue';
|
|
4
|
+
export { BasicTitle };
|
|
5
|
+
declare const _default: SFCWithInstall<DefineComponent<{
|
|
6
|
+
helpMessage: {
|
|
7
|
+
type: PropType<string | string[]>;
|
|
8
|
+
default: string;
|
|
9
|
+
};
|
|
10
|
+
span: {
|
|
11
|
+
type: BooleanConstructor;
|
|
12
|
+
};
|
|
13
|
+
normal: {
|
|
14
|
+
type: BooleanConstructor;
|
|
15
|
+
};
|
|
16
|
+
}, {
|
|
17
|
+
props: any;
|
|
18
|
+
prefixCls: string;
|
|
19
|
+
slots: Readonly<{
|
|
20
|
+
[name: string]: Slot<any> | undefined;
|
|
21
|
+
}>;
|
|
22
|
+
getClass: ComputedRef<(string | {
|
|
23
|
+
[x: string]: false | Slot<any> | undefined;
|
|
24
|
+
} | {
|
|
25
|
+
[x: string]: boolean;
|
|
26
|
+
})[]>;
|
|
27
|
+
readonly BasicHelp: DefineComponent<{
|
|
28
|
+
maxWidth: {
|
|
29
|
+
type: StringConstructor;
|
|
30
|
+
default: string;
|
|
31
|
+
};
|
|
32
|
+
showIndex: {
|
|
33
|
+
type: BooleanConstructor;
|
|
34
|
+
};
|
|
35
|
+
color: {
|
|
36
|
+
type: StringConstructor;
|
|
37
|
+
default: string;
|
|
38
|
+
};
|
|
39
|
+
fontSize: {
|
|
40
|
+
type: StringConstructor;
|
|
41
|
+
default: string;
|
|
42
|
+
};
|
|
43
|
+
placement: {
|
|
44
|
+
type: StringConstructor;
|
|
45
|
+
default: string;
|
|
46
|
+
};
|
|
47
|
+
text: {
|
|
48
|
+
type: PropType<string | string[]>;
|
|
49
|
+
};
|
|
50
|
+
}, () => JSX.Element, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
|
|
51
|
+
maxWidth: {
|
|
52
|
+
type: StringConstructor;
|
|
53
|
+
default: string;
|
|
54
|
+
};
|
|
55
|
+
showIndex: {
|
|
56
|
+
type: BooleanConstructor;
|
|
57
|
+
};
|
|
58
|
+
color: {
|
|
59
|
+
type: StringConstructor;
|
|
60
|
+
default: string;
|
|
61
|
+
};
|
|
62
|
+
fontSize: {
|
|
63
|
+
type: StringConstructor;
|
|
64
|
+
default: string;
|
|
65
|
+
};
|
|
66
|
+
placement: {
|
|
67
|
+
type: StringConstructor;
|
|
68
|
+
default: string;
|
|
69
|
+
};
|
|
70
|
+
text: {
|
|
71
|
+
type: PropType<string | string[]>;
|
|
72
|
+
};
|
|
73
|
+
}>>, {
|
|
74
|
+
maxWidth: string;
|
|
75
|
+
showIndex: boolean;
|
|
76
|
+
color: string;
|
|
77
|
+
fontSize: string;
|
|
78
|
+
placement: string;
|
|
79
|
+
}, {}>;
|
|
80
|
+
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
|
|
81
|
+
helpMessage: {
|
|
82
|
+
type: PropType<string | string[]>;
|
|
83
|
+
default: string;
|
|
84
|
+
};
|
|
85
|
+
span: {
|
|
86
|
+
type: BooleanConstructor;
|
|
87
|
+
};
|
|
88
|
+
normal: {
|
|
89
|
+
type: BooleanConstructor;
|
|
90
|
+
};
|
|
91
|
+
}>>, {
|
|
92
|
+
span: boolean;
|
|
93
|
+
helpMessage: string | string[];
|
|
94
|
+
normal: boolean;
|
|
95
|
+
}, {}>>;
|
|
96
|
+
export default _default;
|
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
import type { DefineComponent, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes, PropType } from 'vue';
|
|
2
|
+
declare const _default: DefineComponent<{
|
|
3
|
+
/**
|
|
4
|
+
* Help text max-width
|
|
5
|
+
* @default: 600px
|
|
6
|
+
*/
|
|
7
|
+
maxWidth: {
|
|
8
|
+
type: StringConstructor;
|
|
9
|
+
default: string;
|
|
10
|
+
};
|
|
11
|
+
/**
|
|
12
|
+
* Whether to display the serial number
|
|
13
|
+
* @default: false
|
|
14
|
+
*/
|
|
15
|
+
showIndex: {
|
|
16
|
+
type: BooleanConstructor;
|
|
17
|
+
};
|
|
18
|
+
/**
|
|
19
|
+
* Help text font color
|
|
20
|
+
* @default: #ffffff
|
|
21
|
+
*/
|
|
22
|
+
color: {
|
|
23
|
+
type: StringConstructor;
|
|
24
|
+
default: string;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* Help text font size
|
|
28
|
+
* @default: 14px
|
|
29
|
+
*/
|
|
30
|
+
fontSize: {
|
|
31
|
+
type: StringConstructor;
|
|
32
|
+
default: string;
|
|
33
|
+
};
|
|
34
|
+
/**
|
|
35
|
+
* Help text list
|
|
36
|
+
*/
|
|
37
|
+
placement: {
|
|
38
|
+
type: StringConstructor;
|
|
39
|
+
default: string;
|
|
40
|
+
};
|
|
41
|
+
/**
|
|
42
|
+
* Help text list
|
|
43
|
+
*/
|
|
44
|
+
text: {
|
|
45
|
+
type: PropType<string | string[]>;
|
|
46
|
+
};
|
|
47
|
+
}, () => JSX.Element, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
|
|
48
|
+
/**
|
|
49
|
+
* Help text max-width
|
|
50
|
+
* @default: 600px
|
|
51
|
+
*/
|
|
52
|
+
maxWidth: {
|
|
53
|
+
type: StringConstructor;
|
|
54
|
+
default: string;
|
|
55
|
+
};
|
|
56
|
+
/**
|
|
57
|
+
* Whether to display the serial number
|
|
58
|
+
* @default: false
|
|
59
|
+
*/
|
|
60
|
+
showIndex: {
|
|
61
|
+
type: BooleanConstructor;
|
|
62
|
+
};
|
|
63
|
+
/**
|
|
64
|
+
* Help text font color
|
|
65
|
+
* @default: #ffffff
|
|
66
|
+
*/
|
|
67
|
+
color: {
|
|
68
|
+
type: StringConstructor;
|
|
69
|
+
default: string;
|
|
70
|
+
};
|
|
71
|
+
/**
|
|
72
|
+
* Help text font size
|
|
73
|
+
* @default: 14px
|
|
74
|
+
*/
|
|
75
|
+
fontSize: {
|
|
76
|
+
type: StringConstructor;
|
|
77
|
+
default: string;
|
|
78
|
+
};
|
|
79
|
+
/**
|
|
80
|
+
* Help text list
|
|
81
|
+
*/
|
|
82
|
+
placement: {
|
|
83
|
+
type: StringConstructor;
|
|
84
|
+
default: string;
|
|
85
|
+
};
|
|
86
|
+
/**
|
|
87
|
+
* Help text list
|
|
88
|
+
*/
|
|
89
|
+
text: {
|
|
90
|
+
type: PropType<string | string[]>;
|
|
91
|
+
};
|
|
92
|
+
}>>, {
|
|
93
|
+
maxWidth: string;
|
|
94
|
+
showIndex: boolean;
|
|
95
|
+
color: string;
|
|
96
|
+
fontSize: string;
|
|
97
|
+
placement: string;
|
|
98
|
+
}, {}>;
|
|
99
|
+
export default _default;
|