@qqt-product/ui 0.0.14 → 0.0.16
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 +112024 -41701
- package/dist/index.umd.js +254 -15197
- package/dist/lib/components/audit-modal/index.d.ts +324 -0
- package/dist/lib/components/audit-modal/src/audit-modal-type.d.ts +65 -0
- package/dist/lib/components/audit-modal/src/audit-modal.vue.d.ts +320 -0
- package/dist/lib/components/audit-modal/src/component/addNodeHistoryModal.vue.d.ts +675 -0
- package/dist/lib/components/audit-modal/src/component/approvalOpinionModal.vue.d.ts +406 -0
- package/dist/lib/components/audit-modal/src/component/field-select-modal-types.d.ts +93 -0
- package/dist/lib/components/audit-modal/src/component/field-select-modal.vue.d.ts +163 -0
- package/dist/lib/components/audit-modal/src/component/use-field-select-modal.d.ts +6 -0
- package/dist/lib/components/audit-modal/src/hook/list-slot-hook.d.ts +16 -0
- package/dist/lib/components/audit-modal/src/hook/use-audit-config-hook.d.ts +6 -0
- package/dist/lib/components/audit-modal/src/hook/use-field-select-modal-hook.d.ts +9 -0
- package/dist/lib/components/card-list-layout/index.d.ts +8 -18
- package/dist/lib/components/card-list-layout/src/card-content.vue.d.ts +2 -2
- package/dist/lib/components/card-list-layout/src/cardItem.vue.d.ts +2 -2
- package/dist/lib/components/card-list-layout/src/index.vue.d.ts +8 -18
- package/dist/lib/components/cascader/index.d.ts +10 -8
- package/dist/lib/components/cascader/src/cascader.vue.d.ts +10 -8
- 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/{codeEditorModel/src/codeEditorModel.vue.d.ts → code-editor-model/src/code-editor-model.vue.d.ts} +40 -9
- package/dist/lib/components/countdown/index.d.ts +122 -0
- package/dist/lib/components/countdown/src/countdown-types.d.ts +87 -0
- package/dist/lib/components/countdown/src/countdown.d.ts +118 -0
- package/dist/lib/components/countdown/src/use-countdown.d.ts +2 -0
- package/dist/lib/components/coutdown/index.d.ts +3 -3
- package/dist/lib/components/coutdown/src/coutdown.vue.d.ts +3 -3
- package/dist/lib/components/currency/index.d.ts +1 -1
- package/dist/lib/components/currency/src/currency.vue.d.ts +1 -1
- package/dist/lib/components/detail-form/index.d.ts +23 -2
- package/dist/lib/components/detail-form/src/detail-form.vue.d.ts +23 -3
- package/dist/lib/components/detail-grid/index.d.ts +10 -6
- package/dist/lib/components/detail-grid/src/detail-grid.vue.d.ts +9 -6
- package/dist/lib/components/detail-grid/src/hook/use-grid-config-hook.d.ts +1 -1
- package/dist/lib/components/detail-page-layout/index.d.ts +20 -3
- package/dist/lib/components/detail-page-layout/src/detail-page-layout.vue.d.ts +19 -3
- package/dist/lib/components/edit-form/index.d.ts +27 -2
- package/dist/lib/components/edit-form/src/edit-form-types.d.ts +4 -0
- package/dist/lib/components/edit-form/src/edit-form.vue.d.ts +26 -2
- package/dist/lib/components/edit-form/src/hook/use-callback-hook.d.ts +7 -1
- package/dist/lib/components/edit-grid/index.d.ts +11 -6
- package/dist/lib/components/edit-grid/src/edit-grid.vue.d.ts +10 -6
- package/dist/lib/components/edit-grid/src/hook/use-grid-config-hook.d.ts +3 -3
- package/dist/lib/components/edit-page-layout/index.d.ts +19 -3
- package/dist/lib/components/edit-page-layout/src/edit-page-layout-types.d.ts +143 -22
- package/dist/lib/components/edit-page-layout/src/edit-page-layout.vue.d.ts +19 -3
- package/dist/lib/components/edit-page-layout/src/types.d.ts +1 -1
- package/dist/lib/components/editor/index.d.ts +22 -8
- package/dist/lib/components/editor/src/index.vue.d.ts +22 -8
- package/dist/lib/components/field-select-modal/index.d.ts +24 -8
- package/dist/lib/components/field-select-modal/src/field-select-modal-types.d.ts +9 -2
- package/dist/lib/components/field-select-modal/src/field-select-modal.vue.d.ts +24 -8
- package/dist/lib/components/flow-view/index.d.ts +121 -0
- package/dist/lib/components/flow-view/src/flow-view-modal-types.d.ts +60 -0
- package/dist/lib/components/flow-view/src/flow-view.d.ts +118 -0
- package/dist/lib/components/flow-view/src/use-flow-view-modal.d.ts +2 -0
- package/dist/lib/components/import-modal/index.d.ts +90 -0
- package/dist/lib/components/import-modal/src/import-modal-types.d.ts +28 -0
- package/dist/lib/components/import-modal/src/import-modal.vue.d.ts +86 -0
- package/dist/lib/components/index.d.ts +11 -2
- package/dist/lib/components/item-wrap/index.d.ts +3 -3
- package/dist/lib/components/item-wrap/src/item-wrap.vue.d.ts +3 -3
- package/dist/lib/components/ladder-price/index.d.ts +58 -0
- package/dist/lib/components/ladder-price/src/LadderNotPriceModal.vue.d.ts +35 -0
- package/dist/lib/components/ladder-price/src/LadderPriceModal.vue.d.ts +38 -0
- package/dist/lib/components/ladder-price/src/ladder-not-price-modal-types.d.ts +16 -0
- package/dist/lib/components/ladder-price/src/ladder-price-modal-types.d.ts +15 -0
- package/dist/lib/components/ladder-price/src/ladder-price-types.d.ts +35 -0
- package/dist/lib/components/ladder-price/src/ladder-price.vue.d.ts +55 -0
- package/dist/lib/components/ladder-price/src/use-ladder-not-price-modal.d.ts +6 -0
- package/dist/lib/components/ladder-price/src/use-ladder-price.d.ts +6 -0
- package/dist/lib/components/layout/src/types.d.ts +1 -0
- package/dist/lib/components/layout-anchor/index.d.ts +2 -1
- package/dist/lib/components/layout-anchor/src/layout-auchor.vue.d.ts +2 -1
- package/dist/lib/components/layout-buttons/index.d.ts +2 -1
- package/dist/lib/components/layout-pattern/index.d.ts +12 -2
- package/dist/lib/components/layout-pattern/src/components/vertical.vue.d.ts +126 -15
- package/dist/lib/components/layout-pattern/src/hook/use-audit-button-hook.d.ts +46 -0
- package/dist/lib/components/layout-pattern/src/layout-pattern.vue.d.ts +12 -2
- package/dist/lib/components/list-page-layout/index.d.ts +77 -15
- package/dist/lib/components/list-page-layout/src/components/common/columnSetting/columnSetting.vue.d.ts +2 -1
- package/dist/lib/components/list-page-layout/src/components/common/import-modal/import-modal.vue.d.ts +3 -1
- package/dist/lib/components/list-page-layout/src/components/common/record-modal/record-modal.vue.d.ts +10 -10
- package/dist/lib/components/list-page-layout/src/components/list-content/events-helper.d.ts +0 -2
- package/dist/lib/components/list-page-layout/src/components/list-content/list-content.vue.d.ts +6 -4
- package/dist/lib/components/list-page-layout/src/components/list-header/hooks/use-callback-hook.d.ts +3 -0
- package/dist/lib/components/list-page-layout/src/components/list-header/list-header.vue.d.ts +4 -2
- package/dist/lib/components/list-page-layout/src/components/list-header/module/query/index.vue.d.ts +8 -2
- package/dist/lib/components/list-page-layout/src/components/list-header/module/quick-nav/index.vue.d.ts +1 -0
- package/dist/lib/components/list-page-layout/src/components/list-header/module/searchExtend/index.vue.d.ts +14 -6
- package/dist/lib/components/list-page-layout/src/hooks/auth-button.d.ts +4 -0
- package/dist/lib/components/list-page-layout/src/hooks/get-columns-hook.d.ts +1 -1
- package/dist/lib/components/list-page-layout/src/hooks/list-slot-hook.d.ts +10 -4
- package/dist/lib/components/list-page-layout/src/hooks/use-button-function-hook.d.ts +8 -0
- package/dist/lib/components/list-page-layout/src/layout.vue.d.ts +75 -14
- package/dist/lib/components/list-page-layout/src/list-page-layout-types.d.ts +59 -7
- package/dist/lib/components/list-page-layout/src/utils/gridConfig.d.ts +6 -21
- package/dist/lib/components/list-page-layout/src/utils/index.d.ts +2 -0
- package/dist/lib/components/page-layout/index.d.ts +2 -1
- package/dist/lib/components/page-layout/src/constant/buttons.d.ts +28 -2
- package/dist/lib/components/page-layout/src/constant/symbol.d.ts +35 -0
- package/dist/lib/components/page-layout/src/hook/use-merge-defaultValues-hook.d.ts +1 -1
- package/dist/lib/components/page-layout/src/hook/use-promise-step.d.ts +19 -9
- 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/relation-graph/src/relation-graph-types.d.ts +23 -0
- package/dist/lib/components/remote-select/index.d.ts +30 -71
- package/dist/lib/components/remote-select/src/remote-select-types.d.ts +44 -28
- package/dist/lib/components/remote-select/src/remote-select.vue.d.ts +31 -72
- package/dist/lib/components/sale-template/index.d.ts +99 -0
- package/dist/lib/components/sale-template/src/sale-template-types.d.ts +41 -0
- package/dist/lib/components/sale-template/src/sale-template.vue.d.ts +95 -0
- package/dist/lib/components/sale-template/src/use-sale-template.d.ts +2 -0
- package/dist/lib/components/select/index.d.ts +6 -6
- package/dist/lib/components/select/src/select-types.d.ts +5 -1
- package/dist/lib/components/select/src/select.vue.d.ts +6 -6
- package/dist/lib/components/select-modal/index.d.ts +54 -16
- package/dist/lib/components/select-modal/src/select-modal-types.d.ts +24 -4
- package/dist/lib/components/select-modal/src/select-modal.vue.d.ts +54 -16
- package/dist/lib/components/select-template/index.d.ts +92 -0
- package/dist/lib/components/select-template/src/select-template-type.d.ts +32 -0
- package/dist/lib/components/select-template/src/select-template.vue.d.ts +88 -0
- package/dist/lib/components/tree-select/index.d.ts +8 -7
- package/dist/lib/components/tree-select/src/tree-select-types.d.ts +7 -1
- package/dist/lib/components/tree-select/src/tree-select.vue.d.ts +8 -7
- package/dist/lib/components/upload-file/index.d.ts +15 -24
- package/dist/lib/components/upload-file/src/hook/use-file-column-hook.d.ts +0 -1
- package/dist/lib/components/upload-file/src/upload-file-types.d.ts +14 -10
- package/dist/lib/components/upload-file/src/upload-file.vue.d.ts +13 -23
- package/dist/lib/components/upload-file-vxe/index.d.ts +78 -0
- package/dist/lib/components/upload-file-vxe/src/upload-file-vxe-types.d.ts +38 -0
- package/dist/lib/components/upload-file-vxe/src/upload-file-vxe.vue.d.ts +75 -0
- package/dist/lib/components/upload-image/index.d.ts +3 -3
- package/dist/lib/components/upload-image/src/upload-image.vue.d.ts +3 -3
- package/dist/lib/components/useChart/index.d.ts +11 -0
- package/dist/lib/components/useChart/lib.d.ts +2 -0
- package/dist/lib/components/useChart/types.d.ts +21 -0
- package/dist/lib/components/vxe-select/index.d.ts +24 -6
- package/dist/lib/components/vxe-select/src/vxe-select-types.d.ts +7 -1
- package/dist/lib/components/vxe-select/src/vxe-select.vue.d.ts +24 -6
- package/dist/lib/index.d.ts +4 -1
- package/dist/lib/utils/event.d.ts +35 -2
- package/dist/style.css +1 -6
- package/package.json +24 -18
- package/dist/lib/components/codeEditorModel/index.d.ts +0 -93
- package/dist/lib/components/list-page-layout/src/components/common/add-modal/add-modal.vue.d.ts +0 -21
|
@@ -6,26 +6,40 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
6
6
|
type: StringConstructor;
|
|
7
7
|
default: string;
|
|
8
8
|
};
|
|
9
|
-
|
|
9
|
+
inline: {
|
|
10
|
+
type: BooleanConstructor;
|
|
11
|
+
default: boolean;
|
|
12
|
+
};
|
|
13
|
+
disabled: {
|
|
10
14
|
type: BooleanConstructor;
|
|
11
15
|
default: boolean;
|
|
12
16
|
};
|
|
13
17
|
}, {
|
|
14
|
-
|
|
15
|
-
|
|
18
|
+
randomId: Ref<string>;
|
|
19
|
+
printModal: Ref<boolean>;
|
|
20
|
+
printPageSize: Ref<string>;
|
|
21
|
+
selectSizePrint: () => void;
|
|
22
|
+
editorContent: Ref<any>;
|
|
23
|
+
printContent: () => void;
|
|
24
|
+
srmI18n: (i18nKey: string, defaultValue: string, account?: string | number | undefined) => string;
|
|
25
|
+
handleFileChange: (event: Event) => void;
|
|
26
|
+
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
|
|
16
27
|
content: {
|
|
17
28
|
type: StringConstructor;
|
|
18
29
|
default: string;
|
|
19
30
|
};
|
|
20
|
-
|
|
31
|
+
inline: {
|
|
21
32
|
type: BooleanConstructor;
|
|
22
33
|
default: boolean;
|
|
23
34
|
};
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
35
|
+
disabled: {
|
|
36
|
+
type: BooleanConstructor;
|
|
37
|
+
default: boolean;
|
|
38
|
+
};
|
|
39
|
+
}>>, {
|
|
40
|
+
disabled: boolean;
|
|
28
41
|
content: string;
|
|
42
|
+
inline: boolean;
|
|
29
43
|
}, {}>>;
|
|
30
44
|
export default _default;
|
|
31
45
|
export { QEditor };
|
|
@@ -4,25 +4,39 @@ declare const _sfc_main: DefineComponent<{
|
|
|
4
4
|
type: StringConstructor;
|
|
5
5
|
default: string;
|
|
6
6
|
};
|
|
7
|
-
|
|
7
|
+
inline: {
|
|
8
|
+
type: BooleanConstructor;
|
|
9
|
+
default: boolean;
|
|
10
|
+
};
|
|
11
|
+
disabled: {
|
|
8
12
|
type: BooleanConstructor;
|
|
9
13
|
default: boolean;
|
|
10
14
|
};
|
|
11
15
|
}, {
|
|
12
|
-
|
|
13
|
-
|
|
16
|
+
randomId: Ref<string>;
|
|
17
|
+
printModal: Ref<boolean>;
|
|
18
|
+
printPageSize: Ref<string>;
|
|
19
|
+
selectSizePrint: () => void;
|
|
20
|
+
editorContent: Ref<any>;
|
|
21
|
+
printContent: () => void;
|
|
22
|
+
srmI18n: (i18nKey: string, defaultValue: string, account?: string | number) => string;
|
|
23
|
+
handleFileChange: (event: Event) => void;
|
|
24
|
+
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
|
|
14
25
|
content: {
|
|
15
26
|
type: StringConstructor;
|
|
16
27
|
default: string;
|
|
17
28
|
};
|
|
18
|
-
|
|
29
|
+
inline: {
|
|
19
30
|
type: BooleanConstructor;
|
|
20
31
|
default: boolean;
|
|
21
32
|
};
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
33
|
+
disabled: {
|
|
34
|
+
type: BooleanConstructor;
|
|
35
|
+
default: boolean;
|
|
36
|
+
};
|
|
37
|
+
}>>, {
|
|
38
|
+
disabled: boolean;
|
|
26
39
|
content: string;
|
|
40
|
+
inline: boolean;
|
|
27
41
|
}, {}>;
|
|
28
42
|
export default _sfc_main;
|
|
@@ -18,17 +18,24 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
18
18
|
type: PropType<RequestMethod>;
|
|
19
19
|
default: string;
|
|
20
20
|
};
|
|
21
|
+
tableData: {
|
|
22
|
+
type: PropType<Record<string, unknown>[]>;
|
|
23
|
+
default: () => null;
|
|
24
|
+
};
|
|
21
25
|
modalConfig: {
|
|
22
26
|
type: PropType<ModalConfig>;
|
|
23
27
|
default: () => {};
|
|
24
28
|
};
|
|
29
|
+
handleListData: {
|
|
30
|
+
type: FunctionConstructor;
|
|
31
|
+
};
|
|
25
32
|
tableConfig: {
|
|
26
33
|
type: PropType<VxeTableProps<VxeTableDataRow>>;
|
|
27
34
|
default: () => {
|
|
28
35
|
height: number;
|
|
29
36
|
isTree: boolean;
|
|
30
37
|
radioConfig: {};
|
|
31
|
-
|
|
38
|
+
checkedConfig: {
|
|
32
39
|
highlight: boolean;
|
|
33
40
|
reserve: boolean;
|
|
34
41
|
trigger: string;
|
|
@@ -86,18 +93,19 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
86
93
|
fieldLabelI18nKey?: string | undefined;
|
|
87
94
|
width?: number | undefined;
|
|
88
95
|
}[]>;
|
|
89
|
-
form:
|
|
90
|
-
keyWord: string;
|
|
91
|
-
};
|
|
96
|
+
form: Record<string, unknown>;
|
|
92
97
|
selectModal: Ref<ModalType>;
|
|
93
98
|
getPagerConfig: ComputedRef<any>;
|
|
94
99
|
modalTitle: Ref<string>;
|
|
95
100
|
placeholder: Ref<string>;
|
|
96
101
|
open: ({ url, params, columns: col, selectModal: sm, requestMethod: rm }: OpenFuncType) => void;
|
|
97
102
|
close: () => void;
|
|
98
|
-
onSearch: (
|
|
103
|
+
onSearch: () => void;
|
|
99
104
|
handlePageChange: ({ currentPage, pageSize }: TablePage) => void;
|
|
100
105
|
selectedOk: () => void;
|
|
106
|
+
loadData: (extend?: {
|
|
107
|
+
action: string;
|
|
108
|
+
} | undefined) => void;
|
|
101
109
|
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
|
|
102
110
|
modalTitle: {
|
|
103
111
|
type: StringConstructor;
|
|
@@ -111,17 +119,24 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
111
119
|
type: PropType<RequestMethod>;
|
|
112
120
|
default: string;
|
|
113
121
|
};
|
|
122
|
+
tableData: {
|
|
123
|
+
type: PropType<Record<string, unknown>[]>;
|
|
124
|
+
default: () => null;
|
|
125
|
+
};
|
|
114
126
|
modalConfig: {
|
|
115
127
|
type: PropType<ModalConfig>;
|
|
116
128
|
default: () => {};
|
|
117
129
|
};
|
|
130
|
+
handleListData: {
|
|
131
|
+
type: FunctionConstructor;
|
|
132
|
+
};
|
|
118
133
|
tableConfig: {
|
|
119
134
|
type: PropType<VxeTableProps<VxeTableDataRow>>;
|
|
120
135
|
default: () => {
|
|
121
136
|
height: number;
|
|
122
137
|
isTree: boolean;
|
|
123
138
|
radioConfig: {};
|
|
124
|
-
|
|
139
|
+
checkedConfig: {
|
|
125
140
|
highlight: boolean;
|
|
126
141
|
reserve: boolean;
|
|
127
142
|
trigger: string;
|
|
@@ -139,12 +154,13 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
139
154
|
default: string;
|
|
140
155
|
};
|
|
141
156
|
}>>, {
|
|
142
|
-
apiUrls: string;
|
|
143
|
-
placeholder: string;
|
|
144
157
|
modalTitle: string;
|
|
158
|
+
apiUrls: string;
|
|
145
159
|
requestMethod: RequestMethod;
|
|
160
|
+
tableData: Record<string, unknown>[];
|
|
146
161
|
modalConfig: ModalConfig;
|
|
147
162
|
tableConfig: VxeTableProps<VxeTableDataRow>;
|
|
163
|
+
placeholder: string;
|
|
148
164
|
selectModal: ModalType;
|
|
149
165
|
}, {}>>;
|
|
150
166
|
export default _default;
|
|
@@ -5,7 +5,7 @@ export interface ModalConfig {
|
|
|
5
5
|
}
|
|
6
6
|
export type RequestMethod = 'get' | 'post';
|
|
7
7
|
export type TableConfig = VxeTableProps;
|
|
8
|
-
export type ModalType = 'single' | 'multiple' | '';
|
|
8
|
+
export type ModalType = 'single' | 'multiple' | 'none' | '';
|
|
9
9
|
export interface Columns {
|
|
10
10
|
type?: string;
|
|
11
11
|
field?: string;
|
|
@@ -53,17 +53,24 @@ export declare const fieldSelectModalProps: {
|
|
|
53
53
|
type: PropType<RequestMethod>;
|
|
54
54
|
default: string;
|
|
55
55
|
};
|
|
56
|
+
tableData: {
|
|
57
|
+
type: PropType<Record<string, unknown>[]>;
|
|
58
|
+
default: () => null;
|
|
59
|
+
};
|
|
56
60
|
modalConfig: {
|
|
57
61
|
type: PropType<ModalConfig>;
|
|
58
62
|
default: () => {};
|
|
59
63
|
};
|
|
64
|
+
handleListData: {
|
|
65
|
+
type: FunctionConstructor;
|
|
66
|
+
};
|
|
60
67
|
tableConfig: {
|
|
61
68
|
type: PropType<VxeTableProps<VxeTableDataRow>>;
|
|
62
69
|
default: () => {
|
|
63
70
|
height: number;
|
|
64
71
|
isTree: boolean;
|
|
65
72
|
radioConfig: {};
|
|
66
|
-
|
|
73
|
+
checkedConfig: {
|
|
67
74
|
highlight: boolean;
|
|
68
75
|
reserve: boolean;
|
|
69
76
|
trigger: string;
|
|
@@ -14,17 +14,24 @@ declare const _sfc_main: DefineComponent<{
|
|
|
14
14
|
type: PropType<RequestMethod>;
|
|
15
15
|
default: string;
|
|
16
16
|
};
|
|
17
|
+
tableData: {
|
|
18
|
+
type: PropType<Record<string, unknown>[]>;
|
|
19
|
+
default: () => null;
|
|
20
|
+
};
|
|
17
21
|
modalConfig: {
|
|
18
22
|
type: PropType<ModalConfig>;
|
|
19
23
|
default: () => {};
|
|
20
24
|
};
|
|
25
|
+
handleListData: {
|
|
26
|
+
type: FunctionConstructor;
|
|
27
|
+
};
|
|
21
28
|
tableConfig: {
|
|
22
29
|
type: PropType<VxeTableProps<VxeTableDataRow>>;
|
|
23
30
|
default: () => {
|
|
24
31
|
height: number;
|
|
25
32
|
isTree: boolean;
|
|
26
33
|
radioConfig: {};
|
|
27
|
-
|
|
34
|
+
checkedConfig: {
|
|
28
35
|
highlight: boolean;
|
|
29
36
|
reserve: boolean;
|
|
30
37
|
trigger: string;
|
|
@@ -82,18 +89,19 @@ declare const _sfc_main: DefineComponent<{
|
|
|
82
89
|
fieldLabelI18nKey?: string | undefined;
|
|
83
90
|
width?: number | undefined;
|
|
84
91
|
}[]>;
|
|
85
|
-
form:
|
|
86
|
-
keyWord: string;
|
|
87
|
-
};
|
|
92
|
+
form: Record<string, unknown>;
|
|
88
93
|
selectModal: Ref<ModalType>;
|
|
89
94
|
getPagerConfig: ComputedRef<any>;
|
|
90
95
|
modalTitle: Ref<string>;
|
|
91
96
|
placeholder: Ref<string>;
|
|
92
97
|
open: ({ url, params, columns: col, selectModal: sm, requestMethod: rm }: OpenFuncType) => void;
|
|
93
98
|
close: () => void;
|
|
94
|
-
onSearch: (
|
|
99
|
+
onSearch: () => void;
|
|
95
100
|
handlePageChange: ({ currentPage, pageSize }: TablePage) => void;
|
|
96
101
|
selectedOk: () => void;
|
|
102
|
+
loadData: (extend?: {
|
|
103
|
+
action: string;
|
|
104
|
+
}) => void;
|
|
97
105
|
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
|
|
98
106
|
modalTitle: {
|
|
99
107
|
type: StringConstructor;
|
|
@@ -107,17 +115,24 @@ declare const _sfc_main: DefineComponent<{
|
|
|
107
115
|
type: PropType<RequestMethod>;
|
|
108
116
|
default: string;
|
|
109
117
|
};
|
|
118
|
+
tableData: {
|
|
119
|
+
type: PropType<Record<string, unknown>[]>;
|
|
120
|
+
default: () => null;
|
|
121
|
+
};
|
|
110
122
|
modalConfig: {
|
|
111
123
|
type: PropType<ModalConfig>;
|
|
112
124
|
default: () => {};
|
|
113
125
|
};
|
|
126
|
+
handleListData: {
|
|
127
|
+
type: FunctionConstructor;
|
|
128
|
+
};
|
|
114
129
|
tableConfig: {
|
|
115
130
|
type: PropType<VxeTableProps<VxeTableDataRow>>;
|
|
116
131
|
default: () => {
|
|
117
132
|
height: number;
|
|
118
133
|
isTree: boolean;
|
|
119
134
|
radioConfig: {};
|
|
120
|
-
|
|
135
|
+
checkedConfig: {
|
|
121
136
|
highlight: boolean;
|
|
122
137
|
reserve: boolean;
|
|
123
138
|
trigger: string;
|
|
@@ -135,12 +150,13 @@ declare const _sfc_main: DefineComponent<{
|
|
|
135
150
|
default: string;
|
|
136
151
|
};
|
|
137
152
|
}>>, {
|
|
138
|
-
apiUrls: string;
|
|
139
|
-
placeholder: string;
|
|
140
153
|
modalTitle: string;
|
|
154
|
+
apiUrls: string;
|
|
141
155
|
requestMethod: RequestMethod;
|
|
156
|
+
tableData: Record<string, unknown>[];
|
|
142
157
|
modalConfig: ModalConfig;
|
|
143
158
|
tableConfig: VxeTableProps<VxeTableDataRow>;
|
|
159
|
+
placeholder: string;
|
|
144
160
|
selectModal: ModalType;
|
|
145
161
|
}, {}>;
|
|
146
162
|
export default _sfc_main;
|
|
@@ -0,0 +1,121 @@
|
|
|
1
|
+
import type { DefineComponent, PropType, ComputedRef, Ref, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes } from 'vue';
|
|
2
|
+
import type { SFCWithInstall } from '@qqt-product/utils/dist/modules/withInstall';
|
|
3
|
+
import FlowViewModal from './src/flow-view';
|
|
4
|
+
export { FlowViewModal };
|
|
5
|
+
declare const _default: SFCWithInstall<DefineComponent<{
|
|
6
|
+
visible: {
|
|
7
|
+
type: BooleanConstructor;
|
|
8
|
+
default: boolean;
|
|
9
|
+
};
|
|
10
|
+
currentRow: {
|
|
11
|
+
type: PropType<any>;
|
|
12
|
+
default(): {};
|
|
13
|
+
};
|
|
14
|
+
button: {
|
|
15
|
+
type: PropType<any>;
|
|
16
|
+
default(): {};
|
|
17
|
+
};
|
|
18
|
+
flowId: {
|
|
19
|
+
type: StringConstructor;
|
|
20
|
+
default: string;
|
|
21
|
+
};
|
|
22
|
+
title: {
|
|
23
|
+
type: StringConstructor;
|
|
24
|
+
default: string;
|
|
25
|
+
};
|
|
26
|
+
width: {
|
|
27
|
+
type: StringConstructor;
|
|
28
|
+
default: string;
|
|
29
|
+
};
|
|
30
|
+
isDesign: {
|
|
31
|
+
type: BooleanConstructor;
|
|
32
|
+
default: boolean;
|
|
33
|
+
};
|
|
34
|
+
token: {
|
|
35
|
+
type: StringConstructor;
|
|
36
|
+
default: string;
|
|
37
|
+
};
|
|
38
|
+
workFlowType: {
|
|
39
|
+
type: StringConstructor;
|
|
40
|
+
default: string;
|
|
41
|
+
};
|
|
42
|
+
'onUpdate:visible': {
|
|
43
|
+
type: PropType<((value: string) => void) | ((value: string) => void)[]>;
|
|
44
|
+
default: unknown;
|
|
45
|
+
};
|
|
46
|
+
onChange: {
|
|
47
|
+
type: PropType<((args: any) => void) | ((args: any) => void)[]>;
|
|
48
|
+
default: unknown;
|
|
49
|
+
};
|
|
50
|
+
}, {
|
|
51
|
+
classes: ComputedRef<{
|
|
52
|
+
[key: string]: string | boolean;
|
|
53
|
+
}>;
|
|
54
|
+
visible: Ref<boolean>;
|
|
55
|
+
globalToken: Ref<string>;
|
|
56
|
+
title: Ref<string>;
|
|
57
|
+
width: Ref<string>;
|
|
58
|
+
url: Ref<string>;
|
|
59
|
+
id: Ref<string>;
|
|
60
|
+
workFlowType: Ref<string>;
|
|
61
|
+
domainURL: string;
|
|
62
|
+
closeFlowView: () => void;
|
|
63
|
+
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
|
|
64
|
+
visible: {
|
|
65
|
+
type: BooleanConstructor;
|
|
66
|
+
default: boolean;
|
|
67
|
+
};
|
|
68
|
+
currentRow: {
|
|
69
|
+
type: PropType<any>;
|
|
70
|
+
default(): {};
|
|
71
|
+
};
|
|
72
|
+
button: {
|
|
73
|
+
type: PropType<any>;
|
|
74
|
+
default(): {};
|
|
75
|
+
};
|
|
76
|
+
flowId: {
|
|
77
|
+
type: StringConstructor;
|
|
78
|
+
default: string;
|
|
79
|
+
};
|
|
80
|
+
title: {
|
|
81
|
+
type: StringConstructor;
|
|
82
|
+
default: string;
|
|
83
|
+
};
|
|
84
|
+
width: {
|
|
85
|
+
type: StringConstructor;
|
|
86
|
+
default: string;
|
|
87
|
+
};
|
|
88
|
+
isDesign: {
|
|
89
|
+
type: BooleanConstructor;
|
|
90
|
+
default: boolean;
|
|
91
|
+
};
|
|
92
|
+
token: {
|
|
93
|
+
type: StringConstructor;
|
|
94
|
+
default: string;
|
|
95
|
+
};
|
|
96
|
+
workFlowType: {
|
|
97
|
+
type: StringConstructor;
|
|
98
|
+
default: string;
|
|
99
|
+
};
|
|
100
|
+
'onUpdate:visible': {
|
|
101
|
+
type: PropType<((value: string) => void) | ((value: string) => void)[]>;
|
|
102
|
+
default: unknown;
|
|
103
|
+
};
|
|
104
|
+
onChange: {
|
|
105
|
+
type: PropType<((args: any) => void) | ((args: any) => void)[]>;
|
|
106
|
+
default: unknown;
|
|
107
|
+
};
|
|
108
|
+
}>>, {
|
|
109
|
+
title: string;
|
|
110
|
+
'onUpdate:visible': ((value: string) => void) | ((value: string) => void)[];
|
|
111
|
+
visible: boolean;
|
|
112
|
+
currentRow: any;
|
|
113
|
+
token: string;
|
|
114
|
+
width: string;
|
|
115
|
+
onChange: ((args: any) => void) | ((args: any) => void)[];
|
|
116
|
+
button: any;
|
|
117
|
+
flowId: string;
|
|
118
|
+
isDesign: boolean;
|
|
119
|
+
workFlowType: string;
|
|
120
|
+
}, {}>>;
|
|
121
|
+
export default _default;
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
import type { ComputedRef, ExtractPropTypes, PropType } from 'vue';
|
|
2
|
+
import { PageButton } from '../../edit-page-layout/src/edit-page-layout-types';
|
|
3
|
+
export interface ButtonItem extends Omit<PageButton, 'args'> {
|
|
4
|
+
args?: {
|
|
5
|
+
excelCode: string;
|
|
6
|
+
[key: string]: unknown;
|
|
7
|
+
};
|
|
8
|
+
}
|
|
9
|
+
export declare const flowViewModalProps: {
|
|
10
|
+
visible: {
|
|
11
|
+
type: BooleanConstructor;
|
|
12
|
+
default: boolean;
|
|
13
|
+
};
|
|
14
|
+
currentRow: {
|
|
15
|
+
type: PropType<any>;
|
|
16
|
+
default(): {};
|
|
17
|
+
};
|
|
18
|
+
button: {
|
|
19
|
+
type: PropType<any>;
|
|
20
|
+
default(): {};
|
|
21
|
+
};
|
|
22
|
+
flowId: {
|
|
23
|
+
type: StringConstructor;
|
|
24
|
+
default: string;
|
|
25
|
+
};
|
|
26
|
+
title: {
|
|
27
|
+
type: StringConstructor;
|
|
28
|
+
default: string;
|
|
29
|
+
};
|
|
30
|
+
width: {
|
|
31
|
+
type: StringConstructor;
|
|
32
|
+
default: string;
|
|
33
|
+
};
|
|
34
|
+
isDesign: {
|
|
35
|
+
type: BooleanConstructor;
|
|
36
|
+
default: boolean;
|
|
37
|
+
};
|
|
38
|
+
token: {
|
|
39
|
+
type: StringConstructor;
|
|
40
|
+
default: string;
|
|
41
|
+
};
|
|
42
|
+
workFlowType: {
|
|
43
|
+
type: StringConstructor;
|
|
44
|
+
default: string;
|
|
45
|
+
};
|
|
46
|
+
'onUpdate:visible': {
|
|
47
|
+
type: PropType<((value: string) => void) | ((value: string) => void)[]>;
|
|
48
|
+
default: unknown;
|
|
49
|
+
};
|
|
50
|
+
onChange: {
|
|
51
|
+
type: PropType<((args: any) => void) | ((args: any) => void)[]>;
|
|
52
|
+
default: unknown;
|
|
53
|
+
};
|
|
54
|
+
};
|
|
55
|
+
export type FlowViewModalProps = ExtractPropTypes<typeof flowViewModalProps>;
|
|
56
|
+
export interface UseFlowViewReturnType {
|
|
57
|
+
classes: ComputedRef<{
|
|
58
|
+
[key: string]: string | boolean;
|
|
59
|
+
}>;
|
|
60
|
+
}
|
|
@@ -0,0 +1,118 @@
|
|
|
1
|
+
import type { DefineComponent, PropType, ComputedRef, Ref, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes } from 'vue';
|
|
2
|
+
declare const _default: DefineComponent<{
|
|
3
|
+
visible: {
|
|
4
|
+
type: BooleanConstructor;
|
|
5
|
+
default: boolean;
|
|
6
|
+
};
|
|
7
|
+
currentRow: {
|
|
8
|
+
type: PropType<any>;
|
|
9
|
+
default(): {};
|
|
10
|
+
};
|
|
11
|
+
button: {
|
|
12
|
+
type: PropType<any>;
|
|
13
|
+
default(): {};
|
|
14
|
+
};
|
|
15
|
+
flowId: {
|
|
16
|
+
type: StringConstructor;
|
|
17
|
+
default: string;
|
|
18
|
+
};
|
|
19
|
+
title: {
|
|
20
|
+
type: StringConstructor;
|
|
21
|
+
default: string;
|
|
22
|
+
};
|
|
23
|
+
width: {
|
|
24
|
+
type: StringConstructor;
|
|
25
|
+
default: string;
|
|
26
|
+
};
|
|
27
|
+
isDesign: {
|
|
28
|
+
type: BooleanConstructor;
|
|
29
|
+
default: boolean;
|
|
30
|
+
};
|
|
31
|
+
token: {
|
|
32
|
+
type: StringConstructor;
|
|
33
|
+
default: string;
|
|
34
|
+
};
|
|
35
|
+
workFlowType: {
|
|
36
|
+
type: StringConstructor;
|
|
37
|
+
default: string;
|
|
38
|
+
};
|
|
39
|
+
'onUpdate:visible': {
|
|
40
|
+
type: PropType<((value: string) => void) | ((value: string) => void)[]>;
|
|
41
|
+
default: unknown;
|
|
42
|
+
};
|
|
43
|
+
onChange: {
|
|
44
|
+
type: PropType<((args: any) => void) | ((args: any) => void)[]>;
|
|
45
|
+
default: unknown;
|
|
46
|
+
};
|
|
47
|
+
}, {
|
|
48
|
+
classes: ComputedRef<{
|
|
49
|
+
[key: string]: string | boolean;
|
|
50
|
+
}>;
|
|
51
|
+
visible: Ref<boolean>;
|
|
52
|
+
globalToken: Ref<string>;
|
|
53
|
+
title: Ref<string>;
|
|
54
|
+
width: Ref<string>;
|
|
55
|
+
url: Ref<string>;
|
|
56
|
+
id: Ref<string>;
|
|
57
|
+
workFlowType: Ref<string>;
|
|
58
|
+
domainURL: string;
|
|
59
|
+
closeFlowView: () => void;
|
|
60
|
+
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
|
|
61
|
+
visible: {
|
|
62
|
+
type: BooleanConstructor;
|
|
63
|
+
default: boolean;
|
|
64
|
+
};
|
|
65
|
+
currentRow: {
|
|
66
|
+
type: PropType<any>;
|
|
67
|
+
default(): {};
|
|
68
|
+
};
|
|
69
|
+
button: {
|
|
70
|
+
type: PropType<any>;
|
|
71
|
+
default(): {};
|
|
72
|
+
};
|
|
73
|
+
flowId: {
|
|
74
|
+
type: StringConstructor;
|
|
75
|
+
default: string;
|
|
76
|
+
};
|
|
77
|
+
title: {
|
|
78
|
+
type: StringConstructor;
|
|
79
|
+
default: string;
|
|
80
|
+
};
|
|
81
|
+
width: {
|
|
82
|
+
type: StringConstructor;
|
|
83
|
+
default: string;
|
|
84
|
+
};
|
|
85
|
+
isDesign: {
|
|
86
|
+
type: BooleanConstructor;
|
|
87
|
+
default: boolean;
|
|
88
|
+
};
|
|
89
|
+
token: {
|
|
90
|
+
type: StringConstructor;
|
|
91
|
+
default: string;
|
|
92
|
+
};
|
|
93
|
+
workFlowType: {
|
|
94
|
+
type: StringConstructor;
|
|
95
|
+
default: string;
|
|
96
|
+
};
|
|
97
|
+
'onUpdate:visible': {
|
|
98
|
+
type: PropType<((value: string) => void) | ((value: string) => void)[]>;
|
|
99
|
+
default: unknown;
|
|
100
|
+
};
|
|
101
|
+
onChange: {
|
|
102
|
+
type: PropType<((args: any) => void) | ((args: any) => void)[]>;
|
|
103
|
+
default: unknown;
|
|
104
|
+
};
|
|
105
|
+
}>>, {
|
|
106
|
+
title: string;
|
|
107
|
+
'onUpdate:visible': ((value: string) => void) | ((value: string) => void)[];
|
|
108
|
+
visible: boolean;
|
|
109
|
+
currentRow: any;
|
|
110
|
+
token: string;
|
|
111
|
+
width: string;
|
|
112
|
+
onChange: ((args: any) => void) | ((args: any) => void)[];
|
|
113
|
+
button: any;
|
|
114
|
+
flowId: string;
|
|
115
|
+
isDesign: boolean;
|
|
116
|
+
workFlowType: string;
|
|
117
|
+
}, {}>;
|
|
118
|
+
export default _default;
|