@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
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
import type {
|
|
1
|
+
import type { ObjectMap } from '../../../list-page-layout';
|
|
2
|
+
import type { DefineComponent, PropType, Ref, ComputedRef, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes } from 'vue';
|
|
3
|
+
import type { LayoutConfig, GroupItem, CurrentRow, Role, PageButtonArgsFunctionType, ExposeWithPageButtons, PageButtonPayload, RecordStringNumber, PageButton, ComputedFieldType } from '../../../edit-page-layout';
|
|
3
4
|
declare const _sfc_main: DefineComponent<{
|
|
4
5
|
title: {
|
|
5
6
|
type: PropType<string>;
|
|
@@ -8,20 +9,17 @@ declare const _sfc_main: DefineComponent<{
|
|
|
8
9
|
}, {
|
|
9
10
|
pageButtons: PageButton[];
|
|
10
11
|
layoutConfig: Ref<LayoutConfig>;
|
|
12
|
+
computedGroups: ComputedRef<GroupItem[]>;
|
|
11
13
|
title: Ref<string>;
|
|
12
14
|
isDetail: boolean;
|
|
13
15
|
fileVisible: Ref<boolean>;
|
|
16
|
+
auditModalVisble: Ref<boolean>;
|
|
17
|
+
approvalModalVisble: Ref<boolean>;
|
|
18
|
+
nodeHistroyModalVisble: Ref<boolean>;
|
|
19
|
+
currentRow: Ref<CurrentRow>;
|
|
14
20
|
fileProps: Ref<{
|
|
15
|
-
readonly
|
|
16
|
-
[x: string]: unknown;
|
|
17
|
-
businessType: string;
|
|
18
|
-
headId: string;
|
|
19
|
-
} | undefined;
|
|
20
|
-
readonly multiple?: boolean | undefined;
|
|
21
|
-
readonly dictCode?: string | undefined;
|
|
22
|
-
readonly property?: string | undefined;
|
|
21
|
+
readonly 'onUpdate:visible'?: ((value: boolean) => void) | ((value: boolean) => void)[] | undefined;
|
|
23
22
|
readonly visible?: boolean | undefined;
|
|
24
|
-
readonly role?: Role | undefined;
|
|
25
23
|
readonly currentRow?: {
|
|
26
24
|
[x: string]: unknown;
|
|
27
25
|
templateNumber: string;
|
|
@@ -30,20 +28,28 @@ declare const _sfc_main: DefineComponent<{
|
|
|
30
28
|
busAccount: string;
|
|
31
29
|
elsAccount: string;
|
|
32
30
|
} | undefined;
|
|
31
|
+
readonly action?: string | undefined;
|
|
32
|
+
readonly accept?: string | undefined;
|
|
33
|
+
readonly data?: {
|
|
34
|
+
[x: string]: unknown;
|
|
35
|
+
businessType: string;
|
|
36
|
+
headId: string;
|
|
37
|
+
} | undefined;
|
|
38
|
+
readonly dictCode?: string | undefined;
|
|
39
|
+
readonly property?: string | undefined;
|
|
40
|
+
readonly role?: Role | undefined;
|
|
33
41
|
readonly userInfo?: {
|
|
34
42
|
[x: string]: unknown;
|
|
35
43
|
elsAccount: string;
|
|
36
44
|
subAccount: string;
|
|
37
45
|
serivceUrl: string;
|
|
38
46
|
} | undefined;
|
|
39
|
-
readonly single?: boolean | undefined;
|
|
40
47
|
readonly attrCheck?: string | undefined;
|
|
41
48
|
readonly limitSize?: number | undefined;
|
|
42
|
-
readonly accept?: string | undefined;
|
|
43
49
|
readonly acceptDictCode?: string | undefined;
|
|
50
|
+
readonly maxCount?: number | undefined;
|
|
44
51
|
readonly isOss?: boolean | undefined;
|
|
45
52
|
readonly isGridUpload?: boolean | undefined;
|
|
46
|
-
readonly action?: string | undefined;
|
|
47
53
|
readonly itemNumberKey?: string | undefined;
|
|
48
54
|
readonly itemNumberLabel?: string | undefined;
|
|
49
55
|
readonly itemNumbeValueProp?: string | undefined;
|
|
@@ -56,14 +62,119 @@ declare const _sfc_main: DefineComponent<{
|
|
|
56
62
|
title: string;
|
|
57
63
|
value: string;
|
|
58
64
|
}[] | undefined;
|
|
59
|
-
readonly 'onUpdate:visible'?: ((value: boolean) => void) | ((value: boolean) => void)[] | undefined;
|
|
60
65
|
}>;
|
|
61
66
|
handleChangeFiles: (fileResult: RecordStringNumber[]) => void;
|
|
67
|
+
auditModalConfirm: Ref<any>;
|
|
68
|
+
auditModalCancel: Ref<any>;
|
|
62
69
|
showBackIcon: boolean;
|
|
63
70
|
handleAnchorClick: (link: {
|
|
64
71
|
title: string;
|
|
65
72
|
href: string;
|
|
66
73
|
}) => void;
|
|
74
|
+
importVisible: Ref<boolean>;
|
|
75
|
+
importProps: Ref<{
|
|
76
|
+
button: {
|
|
77
|
+
title: string;
|
|
78
|
+
key: string | symbol;
|
|
79
|
+
args: PageButtonArgsFunctionType | {
|
|
80
|
+
[x: string]: unknown;
|
|
81
|
+
url: string;
|
|
82
|
+
};
|
|
83
|
+
authorityCode?: string | undefined;
|
|
84
|
+
attrs?: RecordStringNumber | undefined;
|
|
85
|
+
icon?: {
|
|
86
|
+
type: string;
|
|
87
|
+
size: number;
|
|
88
|
+
color?: string | undefined;
|
|
89
|
+
} | undefined;
|
|
90
|
+
emit?: boolean | undefined;
|
|
91
|
+
emitKey?: string | undefined;
|
|
92
|
+
showMessage?: boolean | undefined;
|
|
93
|
+
checkBefore?: boolean | undefined;
|
|
94
|
+
confirm?: {
|
|
95
|
+
title: string;
|
|
96
|
+
content: string;
|
|
97
|
+
} | undefined;
|
|
98
|
+
isExistFrozenSource?: boolean | undefined;
|
|
99
|
+
isExistFrozenSourceUrl?: string | undefined;
|
|
100
|
+
isExistFrozenSourceParams?: ((pageData: RecordStringNumber) => RecordStringNumber) | undefined;
|
|
101
|
+
disabled?: ((pageData: RecordStringNumber) => boolean) | undefined;
|
|
102
|
+
handleBefore?: ((args: ExposeWithPageButtons) => Promise<ExposeWithPageButtons>) | undefined;
|
|
103
|
+
handleAfter?: ((args: ExposeWithPageButtons) => Promise<ExposeWithPageButtons>) | undefined;
|
|
104
|
+
callback?: ((payload: PageButtonPayload) => void) | undefined;
|
|
105
|
+
};
|
|
106
|
+
isEditPage: boolean;
|
|
107
|
+
token: string;
|
|
108
|
+
}>;
|
|
109
|
+
flowVisible: Ref<boolean>;
|
|
110
|
+
flowProps: Ref<{
|
|
111
|
+
button?: {
|
|
112
|
+
title: string;
|
|
113
|
+
key: string | symbol;
|
|
114
|
+
args: PageButtonArgsFunctionType | {
|
|
115
|
+
[x: string]: unknown;
|
|
116
|
+
url: string;
|
|
117
|
+
};
|
|
118
|
+
authorityCode?: string | undefined;
|
|
119
|
+
attrs?: RecordStringNumber | undefined;
|
|
120
|
+
icon?: {
|
|
121
|
+
type: string;
|
|
122
|
+
size: number;
|
|
123
|
+
color?: string | undefined;
|
|
124
|
+
} | undefined;
|
|
125
|
+
emit?: boolean | undefined;
|
|
126
|
+
emitKey?: string | undefined;
|
|
127
|
+
showMessage?: boolean | undefined;
|
|
128
|
+
checkBefore?: boolean | undefined;
|
|
129
|
+
confirm?: {
|
|
130
|
+
title: string;
|
|
131
|
+
content: string;
|
|
132
|
+
} | undefined;
|
|
133
|
+
isExistFrozenSource?: boolean | undefined;
|
|
134
|
+
isExistFrozenSourceUrl?: string | undefined;
|
|
135
|
+
isExistFrozenSourceParams?: ((pageData: RecordStringNumber) => RecordStringNumber) | undefined;
|
|
136
|
+
disabled?: ((pageData: RecordStringNumber) => boolean) | undefined;
|
|
137
|
+
handleBefore?: ((args: ExposeWithPageButtons) => Promise<ExposeWithPageButtons>) | undefined;
|
|
138
|
+
handleAfter?: ((args: ExposeWithPageButtons) => Promise<ExposeWithPageButtons>) | undefined;
|
|
139
|
+
callback?: ((payload: PageButtonPayload) => void) | undefined;
|
|
140
|
+
} | undefined;
|
|
141
|
+
title?: string | undefined;
|
|
142
|
+
'onUpdate:visible'?: ((value: string) => void) | ((value: string) => void)[] | undefined;
|
|
143
|
+
visible?: boolean | undefined;
|
|
144
|
+
currentRow?: any;
|
|
145
|
+
token?: string | undefined;
|
|
146
|
+
width?: string | undefined;
|
|
147
|
+
onChange?: ((args: any) => void) | ((args: any) => void)[] | undefined;
|
|
148
|
+
flowId?: string | undefined;
|
|
149
|
+
isDesign?: boolean | undefined;
|
|
150
|
+
workFlowType?: string | undefined;
|
|
151
|
+
}>;
|
|
152
|
+
auditModalProps: Ref<{
|
|
153
|
+
title?: string | undefined;
|
|
154
|
+
'onUpdate:visible'?: ((value: string) => void) | ((value: string) => void)[] | undefined;
|
|
155
|
+
visible?: boolean | undefined;
|
|
156
|
+
currentRow?: any;
|
|
157
|
+
businessType?: string | undefined;
|
|
158
|
+
token?: string | undefined;
|
|
159
|
+
busAccount?: string | undefined;
|
|
160
|
+
form?: {
|
|
161
|
+
[x: string]: unknown;
|
|
162
|
+
type: string;
|
|
163
|
+
label: string;
|
|
164
|
+
fieldName: string;
|
|
165
|
+
required?: string | undefined;
|
|
166
|
+
attrs?: ObjectMap | undefined;
|
|
167
|
+
extends?: ObjectMap | undefined;
|
|
168
|
+
dictCode?: string | undefined;
|
|
169
|
+
options?: any[] | undefined;
|
|
170
|
+
click?: ((args: object, formState?: ObjectMap | undefined) => void) | undefined;
|
|
171
|
+
}[] | undefined;
|
|
172
|
+
width?: string | undefined;
|
|
173
|
+
taskAction?: string | undefined;
|
|
174
|
+
needFlow?: string | undefined;
|
|
175
|
+
flowIframeUrl?: string | undefined;
|
|
176
|
+
}>;
|
|
177
|
+
computedFieldSlots: ComputedRef<ComputedFieldType[]>;
|
|
67
178
|
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
|
|
68
179
|
title: {
|
|
69
180
|
type: PropType<string>;
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import type { ObjectMap } from '../../../list-page-layout';
|
|
2
|
+
import { Ref } from 'vue';
|
|
3
|
+
import type { PageButton, CurrentRow } from '../../../edit-page-layout';
|
|
4
|
+
interface auditOption {
|
|
5
|
+
currentRow: Ref<CurrentRow>;
|
|
6
|
+
businessType: string;
|
|
7
|
+
layoutExtraInfo: {
|
|
8
|
+
token: string;
|
|
9
|
+
};
|
|
10
|
+
}
|
|
11
|
+
export default function useAuditButtonHook({ currentRow, businessType, layoutExtraInfo }: auditOption): {
|
|
12
|
+
auditModalConfirm: Ref<any>;
|
|
13
|
+
auditModalCancel: Ref<any>;
|
|
14
|
+
auditModalProps: Ref<{
|
|
15
|
+
title?: string | undefined;
|
|
16
|
+
'onUpdate:visible'?: ((value: string) => void) | ((value: string) => void)[] | undefined;
|
|
17
|
+
visible?: boolean | undefined;
|
|
18
|
+
currentRow?: any;
|
|
19
|
+
businessType?: string | undefined;
|
|
20
|
+
token?: string | undefined;
|
|
21
|
+
busAccount?: string | undefined;
|
|
22
|
+
form?: {
|
|
23
|
+
[x: string]: unknown;
|
|
24
|
+
type: string;
|
|
25
|
+
label: string;
|
|
26
|
+
fieldName: string;
|
|
27
|
+
required?: string | undefined;
|
|
28
|
+
attrs?: ObjectMap | undefined;
|
|
29
|
+
extends?: ObjectMap | undefined;
|
|
30
|
+
dictCode?: string | undefined;
|
|
31
|
+
options?: any[] | undefined;
|
|
32
|
+
click?: ((args: object, formState?: ObjectMap | undefined) => void) | undefined;
|
|
33
|
+
}[] | undefined;
|
|
34
|
+
width?: string | undefined;
|
|
35
|
+
taskAction?: string | undefined;
|
|
36
|
+
needFlow?: string | undefined;
|
|
37
|
+
flowIframeUrl?: string | undefined;
|
|
38
|
+
}>;
|
|
39
|
+
auditModalVisble: Ref<boolean>;
|
|
40
|
+
approvalModalVisble: Ref<boolean>;
|
|
41
|
+
nodeHistroyModalVisble: Ref<boolean>;
|
|
42
|
+
initAuditForm: (btn: PageButton) => void;
|
|
43
|
+
handleAuditInvalid: (btn: PageButton) => void;
|
|
44
|
+
handleAuditRevocation: (btn: PageButton) => void;
|
|
45
|
+
};
|
|
46
|
+
export {};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
import type {
|
|
1
|
+
import type { DefineComponent, PropType, ComputedRef, Ref, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes } from 'vue';
|
|
2
|
+
import type { Pattern, LayoutConfig, ComputedFieldType } from '../../edit-page-layout';
|
|
3
3
|
declare const _sfc_main: DefineComponent<{
|
|
4
4
|
title: {
|
|
5
5
|
type: PropType<string>;
|
|
@@ -11,6 +11,16 @@ declare const _sfc_main: DefineComponent<{
|
|
|
11
11
|
}>;
|
|
12
12
|
pattern: Pattern;
|
|
13
13
|
componentName: ComputedRef<Pattern>;
|
|
14
|
+
layoutConfig: Ref<LayoutConfig>;
|
|
15
|
+
patternNamedSlots: ComputedRef<{
|
|
16
|
+
prepend: string;
|
|
17
|
+
patternPrepend: string;
|
|
18
|
+
default: string;
|
|
19
|
+
patternDefault: string;
|
|
20
|
+
append: string;
|
|
21
|
+
patternAppend: string;
|
|
22
|
+
}[]>;
|
|
23
|
+
computedFieldSlots: ComputedRef<ComputedFieldType[]>;
|
|
14
24
|
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
|
|
15
25
|
title: {
|
|
16
26
|
type: PropType<string>;
|
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
import type { VxeTableInstance, VxeGridPropTypes, SizeType, VxePagerPropTypes } from 'vxe-table';
|
|
2
|
-
import type { ObjectMap, PageData, ApiUrls,
|
|
2
|
+
import type { ObjectMap, PageData, ApiUrls, GridColumn, QueryFormItem, OptColumnListItem, ListOptionsEventParams, ButtonItem, ListMergeDataItem, FetchDataOptions } from './src/list-page-layout-types';
|
|
3
3
|
import type { DefineComponent, PropType, ComputedRef, ShallowRef, Ref, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes } from 'vue';
|
|
4
4
|
import type { SFCWithInstall } from '@qqt-product/utils/dist/modules/withInstall';
|
|
5
5
|
import QListLayout from './src/layout.vue';
|
|
6
6
|
export { QListLayout };
|
|
7
7
|
export * from './src/list-page-layout-types';
|
|
8
8
|
import useButtonFunctionHook from './src/hooks/use-button-function-hook';
|
|
9
|
-
|
|
9
|
+
import useExportXlsHook from './src/hooks/export-xls-hook';
|
|
10
|
+
export { useButtonFunctionHook, useExportXlsHook };
|
|
10
11
|
declare const _default: SFCWithInstall<DefineComponent<{
|
|
11
12
|
loading: {
|
|
12
13
|
type: BooleanConstructor;
|
|
@@ -24,6 +25,12 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
24
25
|
type: PropType<ApiUrls>;
|
|
25
26
|
default: () => {};
|
|
26
27
|
};
|
|
28
|
+
beforeHandleData: {
|
|
29
|
+
type: PropType<(column: GridColumn[]) => void>;
|
|
30
|
+
};
|
|
31
|
+
localColumnGroup: {
|
|
32
|
+
type: PropType<(column: GridColumn[]) => GridColumn[]>;
|
|
33
|
+
};
|
|
27
34
|
}, {
|
|
28
35
|
ns: {
|
|
29
36
|
namespace: ComputedRef<string>;
|
|
@@ -54,29 +61,57 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
54
61
|
queryConfig: {
|
|
55
62
|
attrs?: ObjectMap | undefined;
|
|
56
63
|
extend?: ObjectMap | undefined;
|
|
64
|
+
customSearch?: ((args: ObjectMap) => void) | undefined;
|
|
57
65
|
form: {
|
|
58
66
|
type: string;
|
|
59
67
|
label: string;
|
|
60
68
|
fieldName: string;
|
|
61
69
|
placeholder?: string | undefined;
|
|
62
70
|
options?: ObjectMap[] | undefined;
|
|
71
|
+
attrs?: ObjectMap | undefined;
|
|
63
72
|
dictCode?: string | undefined;
|
|
73
|
+
change?: ((args: QueryFormItem) => void) | undefined;
|
|
64
74
|
}[];
|
|
65
|
-
|
|
75
|
+
needAdvancedQuery?: boolean | undefined;
|
|
76
|
+
formState?: ObjectMap | undefined;
|
|
66
77
|
} | undefined;
|
|
67
78
|
statusData: {
|
|
68
79
|
[key: string]: unknown;
|
|
69
80
|
}[];
|
|
70
81
|
listConfig: {
|
|
82
|
+
apiUrls: {
|
|
83
|
+
[x: string]: unknown;
|
|
84
|
+
columnsCode: string;
|
|
85
|
+
list: string;
|
|
86
|
+
countTabsUrl: string;
|
|
87
|
+
quickNav?: string | undefined;
|
|
88
|
+
};
|
|
71
89
|
loading: boolean;
|
|
72
90
|
extraListConfig: ObjectMap;
|
|
73
91
|
pageData: {
|
|
74
92
|
[x: string]: unknown;
|
|
75
93
|
onlyShowNav?: boolean | undefined;
|
|
76
|
-
|
|
94
|
+
isAggregate?: "0" | "1" | undefined;
|
|
95
|
+
isUseLocalColumns?: boolean | undefined;
|
|
96
|
+
localColumns?: {
|
|
97
|
+
[x: string]: any;
|
|
98
|
+
field?: string | undefined;
|
|
99
|
+
property?: string | undefined;
|
|
100
|
+
columnId?: string | undefined;
|
|
101
|
+
sorter?: string | undefined;
|
|
102
|
+
fixType?: string | undefined;
|
|
103
|
+
hidden?: string | undefined;
|
|
104
|
+
link?: string | undefined;
|
|
105
|
+
fieldColors?: string | {
|
|
106
|
+
[x: string]: unknown;
|
|
107
|
+
fieldName?: string | undefined;
|
|
108
|
+
filterColor?: string | undefined;
|
|
109
|
+
}[] | undefined;
|
|
110
|
+
}[] | undefined;
|
|
111
|
+
optionConfig?: {
|
|
77
112
|
attrs?: ObjectMap | undefined;
|
|
78
113
|
extend?: ObjectMap | undefined;
|
|
79
|
-
|
|
114
|
+
options: {
|
|
80
115
|
type?: string | undefined;
|
|
81
116
|
title: string;
|
|
82
117
|
authorityCode?: string | undefined;
|
|
@@ -84,6 +119,11 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
84
119
|
args?: {
|
|
85
120
|
[x: string]: unknown;
|
|
86
121
|
url?: string | undefined;
|
|
122
|
+
method?: string | undefined;
|
|
123
|
+
params?: ObjectMap | (({ currentOpt, row }: {
|
|
124
|
+
currentOpt: OptColumnListItem;
|
|
125
|
+
row: ObjectMap;
|
|
126
|
+
}) => void | object) | undefined;
|
|
87
127
|
} | undefined;
|
|
88
128
|
click?: ((args: ListOptionsEventParams) => void) | undefined;
|
|
89
129
|
disabled?: boolean | (({ currentOpt, row }: {
|
|
@@ -134,15 +174,19 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
134
174
|
queryConfig?: {
|
|
135
175
|
attrs?: ObjectMap | undefined;
|
|
136
176
|
extend?: ObjectMap | undefined;
|
|
177
|
+
customSearch?: ((args: ObjectMap) => void) | undefined;
|
|
137
178
|
form: {
|
|
138
179
|
type: string;
|
|
139
180
|
label: string;
|
|
140
181
|
fieldName: string;
|
|
141
182
|
placeholder?: string | undefined;
|
|
142
183
|
options?: ObjectMap[] | undefined;
|
|
184
|
+
attrs?: ObjectMap | undefined;
|
|
143
185
|
dictCode?: string | undefined;
|
|
186
|
+
change?: ((args: QueryFormItem) => void) | undefined;
|
|
144
187
|
}[];
|
|
145
|
-
|
|
188
|
+
needAdvancedQuery?: boolean | undefined;
|
|
189
|
+
formState?: ObjectMap | undefined;
|
|
146
190
|
} | undefined;
|
|
147
191
|
statusConfig?: {
|
|
148
192
|
show?: boolean | (() => boolean | void) | undefined;
|
|
@@ -163,11 +207,20 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
163
207
|
navConfig?: {
|
|
164
208
|
show?: boolean | (() => boolean | void) | undefined;
|
|
165
209
|
} | undefined;
|
|
210
|
+
listMergeConfig?: {
|
|
211
|
+
show?: boolean | (() => boolean | void) | undefined;
|
|
212
|
+
options: {
|
|
213
|
+
title: string;
|
|
214
|
+
key: string | number;
|
|
215
|
+
}[];
|
|
216
|
+
currentValue: string | number;
|
|
217
|
+
change: (event: Event, value?: string | number | undefined, options?: ListMergeDataItem[] | undefined) => void;
|
|
218
|
+
} | undefined;
|
|
166
219
|
pagerConfig?: {
|
|
167
220
|
enabled?: boolean | undefined;
|
|
168
221
|
slots?: any;
|
|
169
222
|
size?: SizeType | undefined;
|
|
170
|
-
layouts?: ("PrevJump" | "PrevPage" | "
|
|
223
|
+
layouts?: ("PrevJump" | "PrevPage" | "JumpNumber" | "NextPage" | "NextJump" | "Sizes" | "FullJump" | "PageCount" | "Total" | "Number" | "Jump")[] | undefined;
|
|
171
224
|
currentPage?: number | undefined;
|
|
172
225
|
loading?: boolean | undefined;
|
|
173
226
|
pageSize?: number | undefined;
|
|
@@ -191,19 +244,22 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
191
244
|
iconJumpMore?: string | undefined;
|
|
192
245
|
} | undefined;
|
|
193
246
|
};
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
columnsCode: string;
|
|
197
|
-
list: string;
|
|
198
|
-
countTabsUrl: string;
|
|
199
|
-
quickNav?: string | undefined;
|
|
200
|
-
};
|
|
247
|
+
beforeHandleData?: ((column: GridColumn[]) => void) | undefined;
|
|
248
|
+
localColumnGroup?: ((column: GridColumn[]) => GridColumn[]) | undefined;
|
|
201
249
|
};
|
|
202
250
|
};
|
|
251
|
+
selectTplVisible: Ref<boolean>;
|
|
252
|
+
selectTplOpen: Ref<boolean>;
|
|
253
|
+
selectTemplateProps: {
|
|
254
|
+
url: string;
|
|
255
|
+
businessType: string;
|
|
256
|
+
elsAccount: string;
|
|
257
|
+
};
|
|
203
258
|
fetchListData: (params?: FetchDataOptions | undefined) => void;
|
|
204
259
|
addButtonClick: (params: ButtonItem) => void;
|
|
205
260
|
editNavSuccess: () => void;
|
|
206
261
|
columnSettingOK: () => void;
|
|
262
|
+
importSuccess: () => void;
|
|
207
263
|
columnSettingRef: Ref<any>;
|
|
208
264
|
helpTextModalRef: Ref<any>;
|
|
209
265
|
addModalRef: Ref<any>;
|
|
@@ -227,6 +283,12 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
227
283
|
type: PropType<ApiUrls>;
|
|
228
284
|
default: () => {};
|
|
229
285
|
};
|
|
286
|
+
beforeHandleData: {
|
|
287
|
+
type: PropType<(column: GridColumn[]) => void>;
|
|
288
|
+
};
|
|
289
|
+
localColumnGroup: {
|
|
290
|
+
type: PropType<(column: GridColumn[]) => GridColumn[]>;
|
|
291
|
+
};
|
|
230
292
|
}>> & {
|
|
231
293
|
onTagCheckChange?: ((...args: any[]) => any) | undefined;
|
|
232
294
|
"onAdd-button-click"?: ((...args: any[]) => any) | undefined;
|
|
@@ -236,9 +298,9 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
236
298
|
"onFilter-change"?: ((...args: any[]) => any) | undefined;
|
|
237
299
|
"onResizable-change"?: ((...args: any[]) => any) | undefined;
|
|
238
300
|
}, {
|
|
301
|
+
apiUrls: ApiUrls;
|
|
239
302
|
loading: boolean;
|
|
240
303
|
extraListConfig: ObjectMap;
|
|
241
304
|
pageData: PageData;
|
|
242
|
-
apiUrls: ApiUrls;
|
|
243
305
|
}, {}>>;
|
|
244
306
|
export default _default;
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import type { DefineComponent, Ref, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes } from 'vue';
|
|
2
2
|
import type { VxeColumnSlotTypes, VxeTableDataRow, SlotVNodeType, VxeColumnPropTypes, VxeTablePropTypes, VxeTooltipPropTypes, VxeTableDefines } from 'vxe-table';
|
|
3
|
+
import { GridColumn } from '../../../list-page-layout-types';
|
|
3
4
|
declare const _sfc_main: DefineComponent<{}, {
|
|
4
5
|
columnGrid: Ref<any>;
|
|
5
6
|
busAccount: Ref<string>;
|
|
6
7
|
open: (columnCode: string) => void;
|
|
7
8
|
close: () => void;
|
|
8
|
-
setFrozenColumn(listArry:
|
|
9
|
+
setFrozenColumn<T extends GridColumn>(listArry: T[]): T[];
|
|
9
10
|
getColumnsList(columnCode: string): void;
|
|
10
11
|
getFieldColorsData(item: any): void;
|
|
11
12
|
showDrawer(row: any): void;
|
|
@@ -36,5 +36,7 @@ declare const _sfc_main: DefineComponent<{}, {
|
|
|
36
36
|
importPreviewFilesData: Ref<any>;
|
|
37
37
|
importPreviewErrorId: Ref<string>;
|
|
38
38
|
failCount: Ref<number>;
|
|
39
|
-
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin,
|
|
39
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, "importCallback"[], "importCallback", VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{}>> & {
|
|
40
|
+
onImportCallback?: ((...args: any[]) => any) | undefined;
|
|
41
|
+
}, {}, {}>;
|
|
40
42
|
export default _sfc_main;
|
|
@@ -764,7 +764,7 @@ declare const _sfc_main: DefineComponent<{}, {
|
|
|
764
764
|
visibleMethod?: ((params: {
|
|
765
765
|
row: VxeTableDataRow;
|
|
766
766
|
}) => boolean) | undefined;
|
|
767
|
-
trigger?: "" | "default" | "
|
|
767
|
+
trigger?: "" | "default" | "row" | "cell" | null | undefined;
|
|
768
768
|
highlight?: boolean | undefined;
|
|
769
769
|
strict?: boolean | undefined;
|
|
770
770
|
} | undefined;
|
|
@@ -784,7 +784,7 @@ declare const _sfc_main: DefineComponent<{}, {
|
|
|
784
784
|
visibleMethod?: ((params: {
|
|
785
785
|
row: VxeTableDataRow;
|
|
786
786
|
}) => boolean) | undefined;
|
|
787
|
-
trigger?: "" | "default" | "
|
|
787
|
+
trigger?: "" | "default" | "row" | "cell" | null | undefined;
|
|
788
788
|
highlight?: boolean | undefined;
|
|
789
789
|
range?: boolean | undefined;
|
|
790
790
|
} | undefined;
|
|
@@ -1514,7 +1514,7 @@ declare const _sfc_main: DefineComponent<{}, {
|
|
|
1514
1514
|
expandAll?: boolean | undefined;
|
|
1515
1515
|
expandRowKeys?: string[] | number[] | undefined;
|
|
1516
1516
|
accordion?: boolean | undefined;
|
|
1517
|
-
trigger?: "" | "default" | "
|
|
1517
|
+
trigger?: "" | "default" | "row" | "cell" | null | undefined;
|
|
1518
1518
|
lazy?: boolean | undefined;
|
|
1519
1519
|
reserve?: boolean | undefined;
|
|
1520
1520
|
height?: number | undefined;
|
|
@@ -1551,7 +1551,7 @@ declare const _sfc_main: DefineComponent<{}, {
|
|
|
1551
1551
|
expandAll?: boolean | undefined;
|
|
1552
1552
|
expandRowKeys?: string[] | number[] | undefined;
|
|
1553
1553
|
accordion?: boolean | undefined;
|
|
1554
|
-
trigger?: "" | "default" | "
|
|
1554
|
+
trigger?: "" | "default" | "row" | "cell" | null | undefined;
|
|
1555
1555
|
lazy?: boolean | undefined;
|
|
1556
1556
|
hasChild?: string | undefined;
|
|
1557
1557
|
reserve?: boolean | undefined;
|
|
@@ -2200,7 +2200,7 @@ declare const _sfc_main: DefineComponent<{}, {
|
|
|
2200
2200
|
enabled?: boolean | undefined;
|
|
2201
2201
|
slots?: any;
|
|
2202
2202
|
size?: SizeType | undefined;
|
|
2203
|
-
layouts?: ("PrevJump" | "PrevPage" | "
|
|
2203
|
+
layouts?: ("PrevJump" | "PrevPage" | "JumpNumber" | "NextPage" | "NextJump" | "Sizes" | "FullJump" | "PageCount" | "Total" | "Number" | "Jump")[] | undefined;
|
|
2204
2204
|
currentPage?: number | undefined;
|
|
2205
2205
|
loading?: boolean | undefined;
|
|
2206
2206
|
pageSize?: number | undefined;
|
|
@@ -3326,7 +3326,7 @@ declare const _sfc_main: DefineComponent<{}, {
|
|
|
3326
3326
|
visibleMethod?: ((params: {
|
|
3327
3327
|
row: VxeTableDataRow;
|
|
3328
3328
|
}) => boolean) | undefined;
|
|
3329
|
-
trigger?: "" | "default" | "
|
|
3329
|
+
trigger?: "" | "default" | "row" | "cell" | null | undefined;
|
|
3330
3330
|
highlight?: boolean | undefined;
|
|
3331
3331
|
strict?: boolean | undefined;
|
|
3332
3332
|
} | undefined;
|
|
@@ -3346,7 +3346,7 @@ declare const _sfc_main: DefineComponent<{}, {
|
|
|
3346
3346
|
visibleMethod?: ((params: {
|
|
3347
3347
|
row: VxeTableDataRow;
|
|
3348
3348
|
}) => boolean) | undefined;
|
|
3349
|
-
trigger?: "" | "default" | "
|
|
3349
|
+
trigger?: "" | "default" | "row" | "cell" | null | undefined;
|
|
3350
3350
|
highlight?: boolean | undefined;
|
|
3351
3351
|
range?: boolean | undefined;
|
|
3352
3352
|
} | undefined;
|
|
@@ -4076,7 +4076,7 @@ declare const _sfc_main: DefineComponent<{}, {
|
|
|
4076
4076
|
expandAll?: boolean | undefined;
|
|
4077
4077
|
expandRowKeys?: string[] | number[] | undefined;
|
|
4078
4078
|
accordion?: boolean | undefined;
|
|
4079
|
-
trigger?: "" | "default" | "
|
|
4079
|
+
trigger?: "" | "default" | "row" | "cell" | null | undefined;
|
|
4080
4080
|
lazy?: boolean | undefined;
|
|
4081
4081
|
reserve?: boolean | undefined;
|
|
4082
4082
|
height?: number | undefined;
|
|
@@ -4113,7 +4113,7 @@ declare const _sfc_main: DefineComponent<{}, {
|
|
|
4113
4113
|
expandAll?: boolean | undefined;
|
|
4114
4114
|
expandRowKeys?: string[] | number[] | undefined;
|
|
4115
4115
|
accordion?: boolean | undefined;
|
|
4116
|
-
trigger?: "" | "default" | "
|
|
4116
|
+
trigger?: "" | "default" | "row" | "cell" | null | undefined;
|
|
4117
4117
|
lazy?: boolean | undefined;
|
|
4118
4118
|
hasChild?: string | undefined;
|
|
4119
4119
|
reserve?: boolean | undefined;
|
|
@@ -4762,7 +4762,7 @@ declare const _sfc_main: DefineComponent<{}, {
|
|
|
4762
4762
|
enabled?: boolean | undefined;
|
|
4763
4763
|
slots?: any;
|
|
4764
4764
|
size?: SizeType | undefined;
|
|
4765
|
-
layouts?: ("PrevJump" | "PrevPage" | "
|
|
4765
|
+
layouts?: ("PrevJump" | "PrevPage" | "JumpNumber" | "NextPage" | "NextJump" | "Sizes" | "FullJump" | "PageCount" | "Total" | "Number" | "Jump")[] | undefined;
|
|
4766
4766
|
currentPage?: number | undefined;
|
|
4767
4767
|
loading?: boolean | undefined;
|
|
4768
4768
|
pageSize?: number | undefined;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { ListPageLayoutProps, EventHandler } from '../../list-page-layout-types';
|
|
2
|
-
import type { RemoveRowFunction } from '../../list-page-layout-types';
|
|
3
2
|
import { VxeGridEvents } from 'vxe-table';
|
|
4
3
|
export declare const useEvents: (props: ListPageLayoutProps) => {
|
|
5
4
|
cellClick: EventHandler;
|
|
@@ -9,5 +8,4 @@ export declare const useEvents: (props: ListPageLayoutProps) => {
|
|
|
9
8
|
pageChange: VxeGridEvents.PageChange<any>;
|
|
10
9
|
};
|
|
11
10
|
export declare const getAuthCodeBtns: (list: any) => any;
|
|
12
|
-
export declare const removeRow: RemoveRowFunction;
|
|
13
11
|
export declare const showCustomBtnOpt: () => boolean;
|
package/dist/lib/components/list-page-layout/src/components/list-content/list-content.vue.d.ts
CHANGED
|
@@ -49,8 +49,10 @@ declare const _sfc_main: DefineComponent<{
|
|
|
49
49
|
pageData: PageData;
|
|
50
50
|
gridConfig: ComputedRef<VxeGridProps<VxeTableDataRow>>;
|
|
51
51
|
tableColumns: Ref<VxeGridPropTypes.Columns<VxeTableDataRow>>;
|
|
52
|
-
|
|
53
|
-
|
|
52
|
+
groupColumns: Ref<VxeGridPropTypes.Columns<VxeTableDataRow>>;
|
|
53
|
+
isAggregate: ComputedRef<boolean>;
|
|
54
|
+
options: ComputedRef<OptColumnListItem[]>;
|
|
55
|
+
optColumnListMore: ComputedRef<OptColumnListItem[]>;
|
|
54
56
|
tableData: Ref<ObjectMap[]>;
|
|
55
57
|
pagerConfig: Ref<VxeGridPropTypes.PagerConfig>;
|
|
56
58
|
gridEvent: VxeGridListeners<VxeTableDataRow>;
|
|
@@ -85,11 +87,11 @@ declare const _sfc_main: DefineComponent<{
|
|
|
85
87
|
};
|
|
86
88
|
filterList: never[];
|
|
87
89
|
}>>, {
|
|
90
|
+
apiUrls: ApiUrls;
|
|
88
91
|
loading: boolean;
|
|
89
92
|
extraListConfig: ObjectMap;
|
|
90
93
|
pageData: PageData;
|
|
91
|
-
apiUrls: ApiUrls;
|
|
92
|
-
tabsData: TabsData;
|
|
93
94
|
tableColumns: VxeGridPropTypes.Columns<VxeTableDataRow>;
|
|
95
|
+
tabsData: TabsData;
|
|
94
96
|
}, {}>;
|
|
95
97
|
export default _sfc_main;
|
package/dist/lib/components/list-page-layout/src/components/list-header/hooks/use-callback-hook.d.ts
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { ISelectArgs, ObjectMap, QueryFormItem } from '../../../list-page-layout-types';
|
|
2
|
+
export declare const handleQuerySelectChange: ({ value }: ISelectArgs, config: QueryFormItem) => void;
|
|
3
|
+
export declare const handleQueryInputChange: (event: ObjectMap, config: QueryFormItem) => void;
|
package/dist/lib/components/list-page-layout/src/components/list-header/list-header.vue.d.ts
CHANGED
|
@@ -4,9 +4,9 @@ import type { PageData, ApiUrls, QueryParamsItem, TabListItem } from '../../lis
|
|
|
4
4
|
declare const _sfc_main: DefineComponent<{}, {
|
|
5
5
|
ns: UseNamespace;
|
|
6
6
|
isShowQuickNav: ComputedRef<boolean | (() => boolean | void)>;
|
|
7
|
-
isShowStatus: ComputedRef<
|
|
7
|
+
isShowStatus: ComputedRef<string | false>;
|
|
8
8
|
isShowFilter: ComputedRef<boolean>;
|
|
9
|
-
isShowQuery: ComputedRef<
|
|
9
|
+
isShowQuery: ComputedRef<any>;
|
|
10
10
|
container: Ref<any>;
|
|
11
11
|
isExpand: Ref<boolean>;
|
|
12
12
|
pageData: PageData;
|
|
@@ -14,8 +14,10 @@ declare const _sfc_main: DefineComponent<{}, {
|
|
|
14
14
|
containerStyle: {
|
|
15
15
|
height: string;
|
|
16
16
|
};
|
|
17
|
+
statusExpand: Ref<boolean>;
|
|
17
18
|
superQuery: () => void;
|
|
18
19
|
handleMore: () => void;
|
|
20
|
+
mergeChange: (event: Event) => void;
|
|
19
21
|
searchExtendRef: Ref<any>;
|
|
20
22
|
superQueryShow: Ref<boolean>;
|
|
21
23
|
queryParamsModelLength: () => void;
|