@qqt-product/ui 8.0.0 → 8.0.2
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 +27336 -27207
- package/dist/index.umd.js +105 -105
- package/dist/lib/components/audit-modal/index.d.ts +1 -1
- package/dist/lib/components/audit-modal/src/audit-modal.vue.d.ts +1 -1
- package/dist/lib/components/audit-modal/src/component/addNodeHistoryModal.vue.d.ts +1 -1
- package/dist/lib/components/audit-modal/src/component/approvalOpinionModal.vue.d.ts +1 -1
- package/dist/lib/components/code-editor-model/src/code-editor-model.vue.d.ts +1 -1
- package/dist/lib/components/currency/index.d.ts +2 -2
- package/dist/lib/components/currency/src/currency.vue.d.ts +2 -2
- package/dist/lib/components/detail-page-layout/index.d.ts +1 -0
- package/dist/lib/components/detail-page-layout/src/detail-page-layout.vue.d.ts +1 -0
- package/dist/lib/components/edit-form/src/hook/use-callback-hook.d.ts +16 -14
- package/dist/lib/components/edit-page-layout/index.d.ts +1 -0
- package/dist/lib/components/edit-page-layout/src/edit-page-layout-types.d.ts +1 -0
- package/dist/lib/components/edit-page-layout/src/edit-page-layout.vue.d.ts +1 -0
- package/dist/lib/components/item-wrap/index.d.ts +1 -1
- package/dist/lib/components/item-wrap/src/item-wrap.vue.d.ts +1 -1
- package/dist/lib/components/ladder-price/index.d.ts +1 -1
- package/dist/lib/components/ladder-price/src/ladder-price.vue.d.ts +1 -1
- package/dist/lib/components/layout-anchor/index.d.ts +1 -0
- package/dist/lib/components/layout-anchor/src/layout-auchor.vue.d.ts +1 -0
- package/dist/lib/components/layout-buttons/index.d.ts +1 -0
- package/dist/lib/components/layout-buttons/src/layout-buttons.vue.d.ts +1 -0
- package/dist/lib/components/layout-pattern/index.d.ts +2 -1
- 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 +2 -1
- package/dist/lib/components/list-page-layout/src/symbolNames.d.ts +2 -0
- package/dist/lib/components/page-layout/src/constant/symbol.d.ts +49 -49
- package/dist/lib/components/page-layout/src/hook/use-promise-step.d.ts +1 -0
- package/dist/lib/components/page-layout/src/hook/use-uid-hook.d.ts +4 -0
- package/dist/lib/components/page-layout/src/token.d.ts +2 -0
- package/dist/lib/components/rich-editor-model/index.d.ts +1 -1
- package/dist/lib/components/rich-editor-model/src/rich-editor-model.vue.d.ts +1 -1
- package/dist/lib/components/select-modal/index.d.ts +1 -1
- package/dist/lib/components/select-modal/src/select-modal.vue.d.ts +1 -1
- package/dist/lib/components/upload-file/index.d.ts +12 -2
- package/dist/lib/components/upload-file/src/upload-file-types.d.ts +5 -1
- package/dist/lib/components/upload-file/src/upload-file.vue.d.ts +12 -2
- package/dist/lib/components/upload-image/index.d.ts +10 -1
- package/dist/lib/components/upload-image/src/upload-image-type.d.ts +4 -0
- package/dist/lib/components/upload-image/src/upload-image.vue.d.ts +10 -1
- package/dist/lib/utils/ConstantManager.d.ts +10 -0
- package/dist/lib/utils/event.d.ts +1 -0
- package/dist/lib/utils/use-create-link-hook.d.ts +1 -1
- package/dist/style.css +1 -1
- package/package.json +8 -8
|
@@ -318,8 +318,8 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
318
318
|
onOk?: ((...args: any[]) => any) | undefined;
|
|
319
319
|
onCancel?: ((...args: any[]) => any) | undefined;
|
|
320
320
|
}, {
|
|
321
|
-
title: string;
|
|
322
321
|
form: Form[];
|
|
322
|
+
title: string;
|
|
323
323
|
'onUpdate:visible': ((value: string) => void) | ((value: string) => void)[];
|
|
324
324
|
visible: boolean;
|
|
325
325
|
currentRow: any;
|
|
@@ -314,8 +314,8 @@ declare const _sfc_main: DefineComponent<{
|
|
|
314
314
|
onOk?: ((...args: any[]) => any) | undefined;
|
|
315
315
|
onCancel?: ((...args: any[]) => any) | undefined;
|
|
316
316
|
}, {
|
|
317
|
-
title: string;
|
|
318
317
|
form: Form[];
|
|
318
|
+
title: string;
|
|
319
319
|
'onUpdate:visible': ((value: string) => void) | ((value: string) => void)[];
|
|
320
320
|
visible: boolean;
|
|
321
321
|
currentRow: any;
|
|
@@ -668,8 +668,8 @@ declare const _sfc_main: DefineComponent<{
|
|
|
668
668
|
onOk?: ((...args: any[]) => any) | undefined;
|
|
669
669
|
onCancel?: ((...args: any[]) => any) | undefined;
|
|
670
670
|
}, {
|
|
671
|
-
title: string;
|
|
672
671
|
form: Form[];
|
|
672
|
+
title: string;
|
|
673
673
|
'onUpdate:visible': ((value: string) => void) | ((value: string) => void)[];
|
|
674
674
|
visible: boolean;
|
|
675
675
|
currentRow: any;
|
|
@@ -398,8 +398,8 @@ declare const _sfc_main: DefineComponent<{
|
|
|
398
398
|
onOk?: ((...args: any[]) => any) | undefined;
|
|
399
399
|
onCancel?: ((...args: any[]) => any) | undefined;
|
|
400
400
|
}, {
|
|
401
|
-
title: string;
|
|
402
401
|
form: Form[];
|
|
402
|
+
title: string;
|
|
403
403
|
'onUpdate:visible': ((value: string) => void) | ((value: string) => void)[];
|
|
404
404
|
visible: boolean;
|
|
405
405
|
currentRow: any;
|
|
@@ -190,9 +190,9 @@ declare const _sfc_main: DefineComponent<{
|
|
|
190
190
|
onHandleSureClose?: ((...args: any[]) => any) | undefined;
|
|
191
191
|
"onUpdate:editorModalFlag"?: ((...args: any[]) => any) | undefined;
|
|
192
192
|
}, {
|
|
193
|
-
disabled: boolean;
|
|
194
193
|
value: string;
|
|
195
194
|
options: Record<string, any>;
|
|
195
|
+
disabled: boolean;
|
|
196
196
|
editorModalFlag: boolean;
|
|
197
197
|
isAllowToOpenMode: boolean;
|
|
198
198
|
showLabel: string;
|
|
@@ -35,9 +35,9 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
35
35
|
readonly default: true;
|
|
36
36
|
};
|
|
37
37
|
}, {
|
|
38
|
-
disabled: Ref<boolean>;
|
|
39
38
|
type: Ref<Type>;
|
|
40
39
|
value: Ref<string | number>;
|
|
40
|
+
disabled: Ref<boolean>;
|
|
41
41
|
config: Ref<Record<string, any>>;
|
|
42
42
|
dataFormat: Ref<string>;
|
|
43
43
|
showInputNumber: Ref<boolean>;
|
|
@@ -86,9 +86,9 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
86
86
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
87
87
|
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
88
88
|
}, {
|
|
89
|
-
readonly disabled: boolean;
|
|
90
89
|
readonly type: Type;
|
|
91
90
|
readonly value: string | number;
|
|
91
|
+
readonly disabled: boolean;
|
|
92
92
|
readonly config: Record<string, any>;
|
|
93
93
|
readonly dataFormat: string;
|
|
94
94
|
readonly showInputNumber: boolean;
|
|
@@ -31,9 +31,9 @@ declare const _sfc_main: DefineComponent<{
|
|
|
31
31
|
readonly default: true;
|
|
32
32
|
};
|
|
33
33
|
}, {
|
|
34
|
-
disabled: Ref<boolean>;
|
|
35
34
|
type: Ref<Type>;
|
|
36
35
|
value: Ref<string | number>;
|
|
36
|
+
disabled: Ref<boolean>;
|
|
37
37
|
config: Ref<Record<string, any>>;
|
|
38
38
|
dataFormat: Ref<string>;
|
|
39
39
|
showInputNumber: Ref<boolean>;
|
|
@@ -82,9 +82,9 @@ declare const _sfc_main: DefineComponent<{
|
|
|
82
82
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
83
83
|
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
84
84
|
}, {
|
|
85
|
-
readonly disabled: boolean;
|
|
86
85
|
readonly type: Type;
|
|
87
86
|
readonly value: string | number;
|
|
87
|
+
readonly disabled: boolean;
|
|
88
88
|
readonly config: Record<string, any>;
|
|
89
89
|
readonly dataFormat: string;
|
|
90
90
|
readonly showInputNumber: boolean;
|
|
@@ -114,6 +114,7 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
114
114
|
patternAppend: string;
|
|
115
115
|
}[];
|
|
116
116
|
computedCustomSlotFields: ComputedRef<ComputedFormFieldsItem[]>;
|
|
117
|
+
handlePageBack: () => void;
|
|
117
118
|
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
|
|
118
119
|
showPageHeader: {
|
|
119
120
|
type: PropType<boolean>;
|
|
@@ -110,6 +110,7 @@ declare const _sfc_main: DefineComponent<{
|
|
|
110
110
|
patternAppend: string;
|
|
111
111
|
}[];
|
|
112
112
|
computedCustomSlotFields: ComputedRef<ComputedFormFieldsItem[]>;
|
|
113
|
+
handlePageBack: () => void;
|
|
113
114
|
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
|
|
114
115
|
showPageHeader: {
|
|
115
116
|
type: PropType<boolean>;
|
|
@@ -2,17 +2,19 @@ import type { FormFieldsItem, RecordString } from '../../../edit-page-layout';
|
|
|
2
2
|
import type { MixSelectArgs } from '../../../select';
|
|
3
3
|
import type { TreeSelectPayload } from '../../../tree-select';
|
|
4
4
|
import type { CascaderProps } from 'ant-design-vue';
|
|
5
|
-
export
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
5
|
+
export default function useCallback(): {
|
|
6
|
+
handleInputBlur: (event: Event, config: FormFieldsItem) => void;
|
|
7
|
+
handleSelectChange: (value: string, selectedOptions: CascaderProps['options'], config: FormFieldsItem) => void;
|
|
8
|
+
handleTreeSelectChange: ({ value, label, extra }: TreeSelectPayload, config: FormFieldsItem) => void;
|
|
9
|
+
handleMixSelectChange: ({ value, label }: MixSelectArgs, config: FormFieldsItem) => void;
|
|
10
|
+
handleSwitchChange: (value: string, config: FormFieldsItem) => void;
|
|
11
|
+
handleRadioChange: (value: string, config: FormFieldsItem) => void;
|
|
12
|
+
handleUploadChange: (value: string, config: FormFieldsItem) => void;
|
|
13
|
+
handleCurrencyChange: (value: string, config: FormFieldsItem) => void;
|
|
14
|
+
handleRemoteSelectChange: (data: RecordString[], config: FormFieldsItem) => void;
|
|
15
|
+
handleSelectModalChange: (data: RecordString[], config: FormFieldsItem) => void;
|
|
16
|
+
handleCustomSelectModelClick: (config: FormFieldsItem) => void;
|
|
17
|
+
handleLadderPriceAfterSelect: (data: RecordString[], config: FormFieldsItem) => void;
|
|
18
|
+
handleDateChange: (value: string, config: FormFieldsItem) => void;
|
|
19
|
+
handleCodeChange: (value: string, config: FormFieldsItem) => void;
|
|
20
|
+
};
|
|
@@ -115,6 +115,7 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
115
115
|
patternAppend: string;
|
|
116
116
|
}[];
|
|
117
117
|
computedCustomSlotFields: ComputedRef<ComputedFormFieldsItem[]>;
|
|
118
|
+
handlePageBack: () => void;
|
|
118
119
|
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
|
|
119
120
|
showPageHeader: {
|
|
120
121
|
type: PropType<boolean>;
|
|
@@ -110,6 +110,7 @@ declare const _sfc_main: DefineComponent<{
|
|
|
110
110
|
patternAppend: string;
|
|
111
111
|
}[];
|
|
112
112
|
computedCustomSlotFields: ComputedRef<ComputedFormFieldsItem[]>;
|
|
113
|
+
handlePageBack: () => void;
|
|
113
114
|
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
|
|
114
115
|
showPageHeader: {
|
|
115
116
|
type: PropType<boolean>;
|
|
@@ -49,8 +49,8 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
49
49
|
readonly default: "";
|
|
50
50
|
};
|
|
51
51
|
}>>, {
|
|
52
|
-
readonly disabled: boolean;
|
|
53
52
|
readonly label: string;
|
|
53
|
+
readonly disabled: boolean;
|
|
54
54
|
readonly required: "0" | "1";
|
|
55
55
|
readonly helpText: string;
|
|
56
56
|
}, {}>>;
|
|
@@ -19,6 +19,7 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
19
19
|
href: string;
|
|
20
20
|
}) => void;
|
|
21
21
|
groups: Ref<GroupItem[]>;
|
|
22
|
+
show: Ref<boolean>;
|
|
22
23
|
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
|
|
23
24
|
groups: {
|
|
24
25
|
type: PropType<GroupItem[]>;
|
|
@@ -15,6 +15,7 @@ declare const _sfc_main: DefineComponent<{
|
|
|
15
15
|
href: string;
|
|
16
16
|
}) => void;
|
|
17
17
|
groups: Ref<GroupItem[]>;
|
|
18
|
+
show: Ref<boolean>;
|
|
18
19
|
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
|
|
19
20
|
groups: {
|
|
20
21
|
type: PropType<GroupItem[]>;
|
|
@@ -36,6 +36,7 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
36
36
|
pageData: Ref<RecordString>;
|
|
37
37
|
onClick: (btn: PageButton) => void;
|
|
38
38
|
srmI18n: SrmI18n;
|
|
39
|
+
uid: Ref<number>;
|
|
39
40
|
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
|
|
40
41
|
buttons: {
|
|
41
42
|
type: PropType<PageButton[]>;
|
|
@@ -31,6 +31,7 @@ declare const _sfc_main: DefineComponent<{
|
|
|
31
31
|
pageData: Ref<RecordString>;
|
|
32
32
|
onClick: (btn: PageButton) => void;
|
|
33
33
|
srmI18n: SrmI18n;
|
|
34
|
+
uid: Ref<number>;
|
|
34
35
|
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
|
|
35
36
|
buttons: {
|
|
36
37
|
type: PropType<PageButton[]>;
|
|
@@ -56,6 +56,7 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
56
56
|
} | undefined;
|
|
57
57
|
readonly role?: Role | undefined;
|
|
58
58
|
readonly property?: string | undefined;
|
|
59
|
+
readonly defaultFileType?: string | undefined;
|
|
59
60
|
readonly requiredFileType?: boolean | undefined;
|
|
60
61
|
readonly attrCheck?: string | undefined;
|
|
61
62
|
readonly limitSize?: number | undefined;
|
|
@@ -121,7 +122,6 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
121
122
|
approvalModalVisible: Ref<boolean>;
|
|
122
123
|
nodeHistoryModalVisible: Ref<boolean>;
|
|
123
124
|
auditModalProps: Ref<{
|
|
124
|
-
title?: string | undefined;
|
|
125
125
|
form?: {
|
|
126
126
|
[x: string]: unknown;
|
|
127
127
|
type: string;
|
|
@@ -134,6 +134,7 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
134
134
|
options?: any[] | undefined;
|
|
135
135
|
click?: ((args: object, formState?: ObjectMap | undefined) => void) | undefined;
|
|
136
136
|
}[] | undefined;
|
|
137
|
+
title?: string | undefined;
|
|
137
138
|
'onUpdate:visible'?: ((value: string) => void) | ((value: string) => void)[] | undefined;
|
|
138
139
|
visible?: boolean | undefined;
|
|
139
140
|
currentRow?: any;
|
|
@@ -12,7 +12,6 @@ export default function useAuditButtonHook({ currentRow, businessType, layoutExt
|
|
|
12
12
|
auditModalConfirm: Ref<any>;
|
|
13
13
|
auditModalCancel: Ref<any>;
|
|
14
14
|
auditModalProps: Ref<{
|
|
15
|
-
title?: string | undefined;
|
|
16
15
|
form?: {
|
|
17
16
|
[x: string]: unknown;
|
|
18
17
|
type: string;
|
|
@@ -25,6 +24,7 @@ export default function useAuditButtonHook({ currentRow, businessType, layoutExt
|
|
|
25
24
|
options?: any[] | undefined;
|
|
26
25
|
click?: ((args: object, formState?: ObjectMap | undefined) => void) | undefined;
|
|
27
26
|
}[] | undefined;
|
|
27
|
+
title?: string | undefined;
|
|
28
28
|
'onUpdate:visible'?: ((value: string) => void) | ((value: string) => void)[] | undefined;
|
|
29
29
|
visible?: boolean | undefined;
|
|
30
30
|
currentRow?: any;
|
|
@@ -51,6 +51,7 @@ declare const _sfc_main: DefineComponent<{
|
|
|
51
51
|
} | undefined;
|
|
52
52
|
readonly role?: Role | undefined;
|
|
53
53
|
readonly property?: string | undefined;
|
|
54
|
+
readonly defaultFileType?: string | undefined;
|
|
54
55
|
readonly requiredFileType?: boolean | undefined;
|
|
55
56
|
readonly attrCheck?: string | undefined;
|
|
56
57
|
readonly limitSize?: number | undefined;
|
|
@@ -116,7 +117,6 @@ declare const _sfc_main: DefineComponent<{
|
|
|
116
117
|
approvalModalVisible: Ref<boolean>;
|
|
117
118
|
nodeHistoryModalVisible: Ref<boolean>;
|
|
118
119
|
auditModalProps: Ref<{
|
|
119
|
-
title?: string | undefined;
|
|
120
120
|
form?: {
|
|
121
121
|
[x: string]: unknown;
|
|
122
122
|
type: string;
|
|
@@ -129,6 +129,7 @@ declare const _sfc_main: DefineComponent<{
|
|
|
129
129
|
options?: any[] | undefined;
|
|
130
130
|
click?: ((args: object, formState?: ObjectMap | undefined) => void) | undefined;
|
|
131
131
|
}[] | undefined;
|
|
132
|
+
title?: string | undefined;
|
|
132
133
|
'onUpdate:visible'?: ((value: string) => void) | ((value: string) => void)[] | undefined;
|
|
133
134
|
visible?: boolean | undefined;
|
|
134
135
|
currentRow?: any;
|
|
@@ -1,51 +1,51 @@
|
|
|
1
|
-
export declare const SYMBOL_ADD_ONE_ROW
|
|
2
|
-
export declare const SYMBOL_DELETE_ROWS
|
|
3
|
-
export declare const SYMBOL_SAVE
|
|
4
|
-
export declare const SYMBOL_PUBLISH
|
|
5
|
-
export declare const SYMBOL_SUBMIT
|
|
6
|
-
export declare const SYMBOL_CONFIRM
|
|
7
|
-
export declare const SYMBOL_REJECT
|
|
8
|
-
export declare const SYMBOL_CACHE_BUTTON
|
|
9
|
-
export declare const SYMBOL_CACHE_PAGEDATA
|
|
10
|
-
export declare const SYMBOL_CACHE_REFRESH
|
|
11
|
-
export declare const SYMBOL_CACHE_SHOW_MESSAGE
|
|
12
|
-
export declare const SYMBOL_VALIDATE
|
|
13
|
-
export declare const SYMBOL_VALIDATE_RESULT
|
|
14
|
-
export declare const SYMBOL_LINK_CLICK
|
|
15
|
-
export declare const SYMBOL_VALIDATE_SUCCESS
|
|
16
|
-
export declare const SYMBOL_REFRESH
|
|
17
|
-
export declare const SYMBOL_BACK
|
|
18
|
-
export declare const SYMBOL_BINDFUNCTION
|
|
19
|
-
export declare const SYMBOL_CUSTOM_BINDFUNCTION
|
|
20
|
-
export declare const SYMBOL_VXE_BINDFUNCTION
|
|
21
|
-
export declare const SYMBOL_CUSTOM_VXE_BINDFUNCTION
|
|
22
|
-
export declare const SYMBOL_CUSTOM_CLICK
|
|
23
|
-
export declare const SYMBOL_FIELD_OR_COLUMN_CUSTOM_CLICK
|
|
24
|
-
export declare const SYMBOL_UPLOAD
|
|
25
|
-
export declare const SYMBOL_UPLOAD_GRID
|
|
26
|
-
export declare const SYMBOL_CANCEL_AUDIT
|
|
27
|
-
export declare const SYMBOL_DOWNLOAD_ALL
|
|
28
|
-
export declare const SYMBOL_REMOVE_ALL
|
|
29
|
-
export declare const SYMBOL_CHECKBOX_CHANGE
|
|
30
|
-
export declare const SYMBOL_CHECKBOX_ALL
|
|
31
|
-
export declare const SYMBOL_IMPORT_ROWS
|
|
32
|
-
export declare const SYMBOL_FLOW_VIEW
|
|
1
|
+
export declare const SYMBOL_ADD_ONE_ROW = "ADD_ONE_ROW";
|
|
2
|
+
export declare const SYMBOL_DELETE_ROWS = "DELETE_ROWS";
|
|
3
|
+
export declare const SYMBOL_SAVE = "SAVE";
|
|
4
|
+
export declare const SYMBOL_PUBLISH = "PUBLISH";
|
|
5
|
+
export declare const SYMBOL_SUBMIT = "SUBMIT";
|
|
6
|
+
export declare const SYMBOL_CONFIRM = "CONFIRM";
|
|
7
|
+
export declare const SYMBOL_REJECT = "REJECT";
|
|
8
|
+
export declare const SYMBOL_CACHE_BUTTON = "CACHE_BUTTON";
|
|
9
|
+
export declare const SYMBOL_CACHE_PAGEDATA = "CACHE_PAGEDATA";
|
|
10
|
+
export declare const SYMBOL_CACHE_REFRESH = "CACHE_REFRESH";
|
|
11
|
+
export declare const SYMBOL_CACHE_SHOW_MESSAGE = "CACHE_SHOW_MESSAGE";
|
|
12
|
+
export declare const SYMBOL_VALIDATE = "VALIDATE";
|
|
13
|
+
export declare const SYMBOL_VALIDATE_RESULT = "VALIDATE_RESULT";
|
|
14
|
+
export declare const SYMBOL_LINK_CLICK = "LINK_CLICK";
|
|
15
|
+
export declare const SYMBOL_VALIDATE_SUCCESS = "SYMBOL_VALIDATE_SUCCESS";
|
|
16
|
+
export declare const SYMBOL_REFRESH = "REFRESH";
|
|
17
|
+
export declare const SYMBOL_BACK = "BACK";
|
|
18
|
+
export declare const SYMBOL_BINDFUNCTION = "BINDFUNCTION";
|
|
19
|
+
export declare const SYMBOL_CUSTOM_BINDFUNCTION = "CUSTOM_BINDFUNCTION";
|
|
20
|
+
export declare const SYMBOL_VXE_BINDFUNCTION = "VXE_BINDFUNCTION";
|
|
21
|
+
export declare const SYMBOL_CUSTOM_VXE_BINDFUNCTION = "CUSTOM_VXE_BINDFUNCTION";
|
|
22
|
+
export declare const SYMBOL_CUSTOM_CLICK = "CUSTOM_CLICK";
|
|
23
|
+
export declare const SYMBOL_FIELD_OR_COLUMN_CUSTOM_CLICK = "FIELD_OR_COLUMN_CUSTOM_CLICK";
|
|
24
|
+
export declare const SYMBOL_UPLOAD = "UPLOAD";
|
|
25
|
+
export declare const SYMBOL_UPLOAD_GRID = "UPLOAD_GRID";
|
|
26
|
+
export declare const SYMBOL_CANCEL_AUDIT = "CANCELAUDIT";
|
|
27
|
+
export declare const SYMBOL_DOWNLOAD_ALL = "DOWNLOAD_ALL";
|
|
28
|
+
export declare const SYMBOL_REMOVE_ALL = "REMOVE_ALL";
|
|
29
|
+
export declare const SYMBOL_CHECKBOX_CHANGE = "CHECKBOX_CHANGE";
|
|
30
|
+
export declare const SYMBOL_CHECKBOX_ALL = "CHECKBOX_ALL";
|
|
31
|
+
export declare const SYMBOL_IMPORT_ROWS = "IMPORT_ROWS";
|
|
32
|
+
export declare const SYMBOL_FLOW_VIEW = "FLOW_VIEW";
|
|
33
33
|
/**************************************审批按钮组 start************************************/
|
|
34
|
-
export declare const SYMBOL_AUDIT_AGREE
|
|
35
|
-
export declare const SYMBOL_AUDIT_REFUSE
|
|
36
|
-
export declare const SYMBOL_AUDIT_INFORMED
|
|
37
|
-
export declare const SYMBOL_AUDIT_TRANSFER
|
|
38
|
-
export declare const SYMBOL_AUDIT_BACK
|
|
39
|
-
export declare const SYMBOL_AUDIT_TRANSACTION
|
|
40
|
-
export declare const SYMBOL_AUDIT_INVALID
|
|
41
|
-
export declare const SYMBOL_AUDIT_REVOCATION
|
|
42
|
-
export declare const SYMBOL_AUDIT_REVOCATION_PRE_SIGN
|
|
43
|
-
export declare const SYMBOL_AUDIT_FLOW_IMAGE
|
|
44
|
-
export declare const SYMBOL_AUDIT_APPROVAL_COMMENT
|
|
45
|
-
export declare const SYMBOL_AUDIT_SIGN_NODE
|
|
46
|
-
export declare const SYMBOL_AUDIT_PRE_SIGN
|
|
47
|
-
export declare const SYMBOL_AUDIT_AFTER_SIGN
|
|
48
|
-
export declare const SYMBOL_AUDIT_PRINT
|
|
49
|
-
export declare const SYMBOL_AUDIT_ADD_NODE_HISTORY
|
|
50
|
-
export declare const SYMBOL_AUDIT_CHAT
|
|
34
|
+
export declare const SYMBOL_AUDIT_AGREE = "AUDIT_AGREE";
|
|
35
|
+
export declare const SYMBOL_AUDIT_REFUSE = "AUDIT_REFUSE";
|
|
36
|
+
export declare const SYMBOL_AUDIT_INFORMED = "AUDIT_INFORMED";
|
|
37
|
+
export declare const SYMBOL_AUDIT_TRANSFER = "AUDIT_TRANSFER";
|
|
38
|
+
export declare const SYMBOL_AUDIT_BACK = "AUDIT_BACK";
|
|
39
|
+
export declare const SYMBOL_AUDIT_TRANSACTION = "AUDIT_TRANSACTION";
|
|
40
|
+
export declare const SYMBOL_AUDIT_INVALID = "AUDIT_INVALID";
|
|
41
|
+
export declare const SYMBOL_AUDIT_REVOCATION = "AUDIT_REVOCATION";
|
|
42
|
+
export declare const SYMBOL_AUDIT_REVOCATION_PRE_SIGN = "AUDIT_REVOCATION_PRE_SIGN";
|
|
43
|
+
export declare const SYMBOL_AUDIT_FLOW_IMAGE = "AUDIT_FLOW_IMAGE";
|
|
44
|
+
export declare const SYMBOL_AUDIT_APPROVAL_COMMENT = "AUDIT_APPROVAL_COMMENT";
|
|
45
|
+
export declare const SYMBOL_AUDIT_SIGN_NODE = "AUDIT_SIGN_NODE";
|
|
46
|
+
export declare const SYMBOL_AUDIT_PRE_SIGN = "AUDIT_PRE_SIGN";
|
|
47
|
+
export declare const SYMBOL_AUDIT_AFTER_SIGN = "AUDIT_AFTER_SIGN";
|
|
48
|
+
export declare const SYMBOL_AUDIT_PRINT = "AUDIT_PRINT";
|
|
49
|
+
export declare const SYMBOL_AUDIT_ADD_NODE_HISTORY = "AUDIT_ADD_NODE_HISTORY";
|
|
50
|
+
export declare const SYMBOL_AUDIT_CHAT = "AUDIT_CHAT";
|
|
51
51
|
/**************************************审批按钮组 end************************************/
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import type { Ref } from 'vue';
|
|
2
2
|
import type { UsePromiseStepPayload, ExposeWithPageButtons, RecordString, PageButton, ValidateResult } from '../../../edit-page-layout';
|
|
3
3
|
export default function usePromiseStep<T extends UsePromiseStepPayload>(payload: T): {
|
|
4
|
+
localUid: Ref<number>;
|
|
4
5
|
customLoading: Readonly<Ref<boolean>>;
|
|
5
6
|
normalizeStepPromiseMethod: <T_1 extends ExposeWithPageButtons>(key: string | symbol) => ((args: T_1) => Promise<ExposeWithPageButtons>)[];
|
|
6
7
|
handleResetValidateStatus: () => void;
|
|
@@ -8,3 +8,5 @@ export declare const LAYOUT_PAGE_DATA_TOKEN: InjectionKey<Ref<RecordString>>;
|
|
|
8
8
|
export declare const LAYOUT_PAGE_DATA_TOKEN_DEFAULT_VALUE: Ref<{
|
|
9
9
|
id: null;
|
|
10
10
|
}>;
|
|
11
|
+
export declare const LAYOUT_UID_TOKEN: InjectionKey<Ref<number>>;
|
|
12
|
+
export declare const LAYOUT_UID_TOKEN_DEFAULT_VALUE: Ref<number>;
|
|
@@ -46,8 +46,8 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
46
46
|
onHandleSureClose?: ((...args: any[]) => any) | undefined;
|
|
47
47
|
"onUpdate:editorModalFlag"?: ((...args: any[]) => any) | undefined;
|
|
48
48
|
}, {
|
|
49
|
-
disabled: boolean;
|
|
50
49
|
value: string;
|
|
50
|
+
disabled: boolean;
|
|
51
51
|
editorModalFlag: boolean;
|
|
52
52
|
}, {}>>;
|
|
53
53
|
export default _default;
|
|
@@ -43,8 +43,8 @@ declare const _sfc_main: DefineComponent<{
|
|
|
43
43
|
onHandleSureClose?: ((...args: any[]) => any) | undefined;
|
|
44
44
|
"onUpdate:editorModalFlag"?: ((...args: any[]) => any) | undefined;
|
|
45
45
|
}, {
|
|
46
|
-
disabled: boolean;
|
|
47
46
|
value: string;
|
|
47
|
+
disabled: boolean;
|
|
48
48
|
editorModalFlag: boolean;
|
|
49
49
|
}, {}>;
|
|
50
50
|
export default _sfc_main;
|
|
@@ -45,10 +45,10 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
45
45
|
tableConfig?: VxeTableProps<VxeTableDataRow> | undefined;
|
|
46
46
|
placeholder?: string | undefined;
|
|
47
47
|
selectModal?: ModalType | undefined;
|
|
48
|
-
key?: string | number | symbol | undefined;
|
|
49
48
|
style?: unknown;
|
|
50
49
|
readonly handleListData?: Function | undefined;
|
|
51
50
|
class?: unknown;
|
|
51
|
+
key?: string | number | symbol | undefined;
|
|
52
52
|
ref?: VNodeRef | undefined;
|
|
53
53
|
ref_for?: boolean | undefined;
|
|
54
54
|
ref_key?: string | undefined;
|
|
@@ -41,10 +41,10 @@ declare const _sfc_main: DefineComponent<{
|
|
|
41
41
|
tableConfig?: VxeTableProps<VxeTableDataRow> | undefined;
|
|
42
42
|
placeholder?: string | undefined;
|
|
43
43
|
selectModal?: ModalType | undefined;
|
|
44
|
-
key?: string | number | symbol | undefined;
|
|
45
44
|
style?: unknown;
|
|
46
45
|
readonly handleListData?: Function | undefined;
|
|
47
46
|
class?: unknown;
|
|
47
|
+
key?: string | number | symbol | undefined;
|
|
48
48
|
ref?: VNodeRef | undefined;
|
|
49
49
|
ref_for?: boolean | undefined;
|
|
50
50
|
ref_key?: string | undefined;
|
|
@@ -22,6 +22,10 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
22
22
|
readonly type: StringConstructor;
|
|
23
23
|
readonly default: "";
|
|
24
24
|
};
|
|
25
|
+
readonly defaultFileType: {
|
|
26
|
+
readonly type: StringConstructor;
|
|
27
|
+
readonly default: "";
|
|
28
|
+
};
|
|
25
29
|
readonly requiredFileType: {
|
|
26
30
|
readonly type: BooleanConstructor;
|
|
27
31
|
readonly default: false;
|
|
@@ -44,7 +48,7 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
44
48
|
};
|
|
45
49
|
readonly maxCount: {
|
|
46
50
|
readonly type: NumberConstructor;
|
|
47
|
-
readonly default:
|
|
51
|
+
readonly default: 0;
|
|
48
52
|
};
|
|
49
53
|
readonly userInfo: {
|
|
50
54
|
readonly type: PropType<UserInfo>;
|
|
@@ -233,6 +237,7 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
233
237
|
beforeUpload: (file: FileType, FileList: FileType[]) => (string | boolean | void | Blob | FileType) | Promise<string | boolean | void | Blob | FileType>;
|
|
234
238
|
handleRemove: (file: UploadFile<unknown>) => boolean | void | Promise<boolean | void>;
|
|
235
239
|
srmI18n: SrmI18n;
|
|
240
|
+
defaultFileType: Ref<string>;
|
|
236
241
|
labelCol: Ref<{
|
|
237
242
|
span: number;
|
|
238
243
|
}>;
|
|
@@ -250,6 +255,10 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
250
255
|
readonly type: StringConstructor;
|
|
251
256
|
readonly default: "";
|
|
252
257
|
};
|
|
258
|
+
readonly defaultFileType: {
|
|
259
|
+
readonly type: StringConstructor;
|
|
260
|
+
readonly default: "";
|
|
261
|
+
};
|
|
253
262
|
readonly requiredFileType: {
|
|
254
263
|
readonly type: BooleanConstructor;
|
|
255
264
|
readonly default: false;
|
|
@@ -272,7 +281,7 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
272
281
|
};
|
|
273
282
|
readonly maxCount: {
|
|
274
283
|
readonly type: NumberConstructor;
|
|
275
|
-
readonly default:
|
|
284
|
+
readonly default: 0;
|
|
276
285
|
};
|
|
277
286
|
readonly userInfo: {
|
|
278
287
|
readonly type: PropType<UserInfo>;
|
|
@@ -368,6 +377,7 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
368
377
|
readonly userInfo: UserInfo;
|
|
369
378
|
readonly role: Role;
|
|
370
379
|
readonly property: string;
|
|
380
|
+
readonly defaultFileType: string;
|
|
371
381
|
readonly requiredFileType: boolean;
|
|
372
382
|
readonly attrCheck: string;
|
|
373
383
|
readonly limitSize: number;
|
|
@@ -63,6 +63,10 @@ export declare const uploadFilesProps: {
|
|
|
63
63
|
readonly type: StringConstructor;
|
|
64
64
|
readonly default: "";
|
|
65
65
|
};
|
|
66
|
+
readonly defaultFileType: {
|
|
67
|
+
readonly type: StringConstructor;
|
|
68
|
+
readonly default: "";
|
|
69
|
+
};
|
|
66
70
|
readonly requiredFileType: {
|
|
67
71
|
readonly type: BooleanConstructor;
|
|
68
72
|
readonly default: false;
|
|
@@ -85,7 +89,7 @@ export declare const uploadFilesProps: {
|
|
|
85
89
|
};
|
|
86
90
|
readonly maxCount: {
|
|
87
91
|
readonly type: NumberConstructor;
|
|
88
|
-
readonly default:
|
|
92
|
+
readonly default: 0;
|
|
89
93
|
};
|
|
90
94
|
readonly userInfo: {
|
|
91
95
|
readonly type: PropType<UserInfo>;
|