@qqt-product/ui 0.0.14 → 0.0.15
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,8 +1,10 @@
|
|
|
1
1
|
import type { Breakpoint } from 'ant-design-vue/lib/_util/responsiveObserve';
|
|
2
2
|
import type { PickerLocale } from 'ant-design-vue/es/date-picker/generatePicker';
|
|
3
3
|
import type { RuleObject } from 'ant-design-vue/es/form';
|
|
4
|
-
import type { DefineComponent, PropType,
|
|
4
|
+
import type { DefineComponent, PropType, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes, ComputedRef, Ref } from 'vue';
|
|
5
5
|
import type { PageButton, RecordStringNumber, FormFieldsItem } from '../../edit-page-layout';
|
|
6
|
+
import type { MixSelectArgs } from '../../select';
|
|
7
|
+
import type { TreeSelectPayload } from '../../tree-select';
|
|
6
8
|
import type { FormInstance } from 'ant-design-vue';
|
|
7
9
|
import { FormFieldsItemUpload } from '../../edit-page-layout';
|
|
8
10
|
declare const _sfc_main: DefineComponent<{
|
|
@@ -42,6 +44,10 @@ declare const _sfc_main: DefineComponent<{
|
|
|
42
44
|
readonly type: PropType<boolean>;
|
|
43
45
|
readonly default: true;
|
|
44
46
|
};
|
|
47
|
+
readonly enableTile: {
|
|
48
|
+
readonly type: PropType<"0" | "1">;
|
|
49
|
+
readonly default: "1";
|
|
50
|
+
};
|
|
45
51
|
}, {
|
|
46
52
|
busAccount: ComputedRef<string>;
|
|
47
53
|
shake: Ref<boolean>;
|
|
@@ -62,6 +68,14 @@ declare const _sfc_main: DefineComponent<{
|
|
|
62
68
|
xxl: number;
|
|
63
69
|
xxxl: number;
|
|
64
70
|
};
|
|
71
|
+
handleProps: (field: FormFieldsItem) => {
|
|
72
|
+
row: Ref<RecordStringNumber>;
|
|
73
|
+
rowIndex: number;
|
|
74
|
+
columnItem: FormFieldsItem;
|
|
75
|
+
uploadBtnStatus: {};
|
|
76
|
+
groupType: string;
|
|
77
|
+
operationBtn: unknown;
|
|
78
|
+
};
|
|
65
79
|
screens: Ref<Partial<Record<Breakpoint, boolean>>>;
|
|
66
80
|
handleUploadData: (file: FormFieldsItemUpload) => {
|
|
67
81
|
businessType: string;
|
|
@@ -71,13 +85,18 @@ declare const _sfc_main: DefineComponent<{
|
|
|
71
85
|
handleInputBlur: (event: Event, config: FormFieldsItem) => void;
|
|
72
86
|
handleSwitchChange: (value: string, config: FormFieldsItem) => void;
|
|
73
87
|
handleSelectChange: (value: string, config: FormFieldsItem) => void;
|
|
88
|
+
handleTreeSelectChange: ({ value, label, extra }: TreeSelectPayload, config: FormFieldsItem) => void;
|
|
89
|
+
handleMixSelectChange: ({ value }: MixSelectArgs, config: FormFieldsItem) => void;
|
|
74
90
|
handleRadioChange: (value: string, config: FormFieldsItem) => void;
|
|
75
91
|
handleUploadChange: (value: string, config: FormFieldsItem) => void;
|
|
76
92
|
handleCurrencyChange: (value: string, config: FormFieldsItem) => void;
|
|
77
|
-
handleRemoteSelectChange: (
|
|
93
|
+
handleRemoteSelectChange: (data: RecordStringNumber[], config: FormFieldsItem) => void;
|
|
78
94
|
handleSelectModalChange: (data: RecordStringNumber[], config: FormFieldsItem) => void;
|
|
95
|
+
handleCustomSelectModelClick: (config: FormFieldsItem) => void;
|
|
96
|
+
handleLadderPriceAfterSelect: (data: RecordStringNumber[], config: FormFieldsItem) => void;
|
|
79
97
|
handleDateChange: (value: string, config: FormFieldsItem) => void;
|
|
80
98
|
handleCodeChange: (value: string, config: FormFieldsItem) => void;
|
|
99
|
+
filterOption: (input: string, option: any) => boolean;
|
|
81
100
|
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
|
|
82
101
|
readonly groupName: {
|
|
83
102
|
readonly type: PropType<string>;
|
|
@@ -115,6 +134,10 @@ declare const _sfc_main: DefineComponent<{
|
|
|
115
134
|
readonly type: PropType<boolean>;
|
|
116
135
|
readonly default: true;
|
|
117
136
|
};
|
|
137
|
+
readonly enableTile: {
|
|
138
|
+
readonly type: PropType<"0" | "1">;
|
|
139
|
+
readonly default: "1";
|
|
140
|
+
};
|
|
118
141
|
}>>, {
|
|
119
142
|
readonly buttons: PageButton[];
|
|
120
143
|
readonly extend: Record<string, any>;
|
|
@@ -125,5 +148,6 @@ declare const _sfc_main: DefineComponent<{
|
|
|
125
148
|
readonly sortOrder: string;
|
|
126
149
|
readonly formFields: FormFieldsItem[];
|
|
127
150
|
readonly shake: boolean;
|
|
151
|
+
readonly enableTile: "0" | "1";
|
|
128
152
|
}, {}>;
|
|
129
153
|
export default _sfc_main;
|
|
@@ -1,11 +1,17 @@
|
|
|
1
1
|
import type { FormFieldsItem, RecordStringNumber } from '../../../edit-page-layout';
|
|
2
|
+
import type { MixSelectArgs } from '../../../select';
|
|
3
|
+
import type { TreeSelectPayload } from '../../../tree-select';
|
|
2
4
|
export declare const handleInputBlur: (event: Event, config: FormFieldsItem) => void;
|
|
3
5
|
export declare const handleSelectChange: (value: string, config: FormFieldsItem) => void;
|
|
6
|
+
export declare const handleTreeSelectChange: ({ value, label, extra }: TreeSelectPayload, config: FormFieldsItem) => void;
|
|
7
|
+
export declare const handleMixSelectChange: ({ value }: MixSelectArgs, config: FormFieldsItem) => void;
|
|
4
8
|
export declare const handleSwitchChange: (value: string, config: FormFieldsItem) => void;
|
|
5
9
|
export declare const handleRadioChange: (value: string, config: FormFieldsItem) => void;
|
|
6
10
|
export declare const handleUploadChange: (value: string, config: FormFieldsItem) => void;
|
|
7
11
|
export declare const handleCurrencyChange: (value: string, config: FormFieldsItem) => void;
|
|
8
|
-
export declare const handleRemoteSelectChange: (
|
|
12
|
+
export declare const handleRemoteSelectChange: (data: RecordStringNumber[], config: FormFieldsItem) => void;
|
|
9
13
|
export declare const handleSelectModalChange: (data: RecordStringNumber[], config: FormFieldsItem) => void;
|
|
14
|
+
export declare const handleCustomSelectModelClick: (config: FormFieldsItem) => void;
|
|
15
|
+
export declare const handleLadderPriceAfterSelect: (data: RecordStringNumber[], config: FormFieldsItem) => void;
|
|
10
16
|
export declare const handleDateChange: (value: string, config: FormFieldsItem) => void;
|
|
11
17
|
export declare const handleCodeChange: (value: string, config: FormFieldsItem) => void;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import type { ruleItem } from './src/hook/use-grid-config-hook';
|
|
2
|
+
import type { RecordStringNumber } from '../select-modal';
|
|
2
3
|
import type { VxeGridProps, VxeTableDataRow, VxeGridInstance, SizeType, VxeTablePropTypes, VxeColumnPropTypes, VxeTooltipPropTypes, VxeColumnSlotTypes, VxeTableDefines, SlotVNodeType, VxeTableConstructor, VxeTablePrivateMethods, VxeGridConstructor, VxeTableProDefines, VxePagerPropTypes, VxeGridPropTypes, VxeButtonPropTypes, VxeToolbarPropTypes, VxeFormPropTypes, VxeFormItemPropTypes, VxeFormItemProps, FormItemTitleRenderParams, FormItemContentRenderParams } from 'vxe-table';
|
|
3
|
-
import type { PageButton, ColumnItem,
|
|
4
|
+
import type { PageButton, ColumnItem, PageButtonWithGroupCode, PageDownLoadButton, PageButtonDeleteFileRow, GridCheckboxChangeParams, GridCheckboxAllParams } from '../edit-page-layout';
|
|
4
5
|
import type { DefineComponent, PropType, ComputedRef, Ref, VNode, RendererNode, RendererElement, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes } from 'vue';
|
|
5
6
|
import type { SFCWithInstall } from '@qqt-product/utils/dist/modules/withInstall';
|
|
6
7
|
import QEditForm from './src/edit-grid.vue';
|
|
@@ -815,7 +816,7 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
815
816
|
visibleMethod?: ((params: {
|
|
816
817
|
row: VxeTableDataRow;
|
|
817
818
|
}) => boolean) | undefined;
|
|
818
|
-
trigger?: "" | "default" | "
|
|
819
|
+
trigger?: "" | "default" | "row" | "cell" | null | undefined;
|
|
819
820
|
highlight?: boolean | undefined;
|
|
820
821
|
strict?: boolean | undefined;
|
|
821
822
|
} | undefined;
|
|
@@ -835,7 +836,7 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
835
836
|
visibleMethod?: ((params: {
|
|
836
837
|
row: VxeTableDataRow;
|
|
837
838
|
}) => boolean) | undefined;
|
|
838
|
-
trigger?: "" | "default" | "
|
|
839
|
+
trigger?: "" | "default" | "row" | "cell" | null | undefined;
|
|
839
840
|
highlight?: boolean | undefined;
|
|
840
841
|
range?: boolean | undefined;
|
|
841
842
|
} | undefined;
|
|
@@ -1565,7 +1566,7 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
1565
1566
|
expandAll?: boolean | undefined;
|
|
1566
1567
|
expandRowKeys?: string[] | number[] | undefined;
|
|
1567
1568
|
accordion?: boolean | undefined;
|
|
1568
|
-
trigger?: "" | "default" | "
|
|
1569
|
+
trigger?: "" | "default" | "row" | "cell" | null | undefined;
|
|
1569
1570
|
lazy?: boolean | undefined;
|
|
1570
1571
|
reserve?: boolean | undefined;
|
|
1571
1572
|
height?: number | undefined;
|
|
@@ -1602,7 +1603,7 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
1602
1603
|
expandAll?: boolean | undefined;
|
|
1603
1604
|
expandRowKeys?: string[] | number[] | undefined;
|
|
1604
1605
|
accordion?: boolean | undefined;
|
|
1605
|
-
trigger?: "" | "default" | "
|
|
1606
|
+
trigger?: "" | "default" | "row" | "cell" | null | undefined;
|
|
1606
1607
|
lazy?: boolean | undefined;
|
|
1607
1608
|
hasChild?: string | undefined;
|
|
1608
1609
|
reserve?: boolean | undefined;
|
|
@@ -2251,7 +2252,7 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
2251
2252
|
enabled?: boolean | undefined;
|
|
2252
2253
|
slots?: any;
|
|
2253
2254
|
size?: SizeType | undefined;
|
|
2254
|
-
layouts?: ("PrevJump" | "PrevPage" | "
|
|
2255
|
+
layouts?: ("PrevJump" | "PrevPage" | "JumpNumber" | "NextPage" | "NextJump" | "Sizes" | "FullJump" | "PageCount" | "Total" | "Number" | "Jump")[] | undefined;
|
|
2255
2256
|
currentPage?: number | undefined;
|
|
2256
2257
|
loading?: boolean | undefined;
|
|
2257
2258
|
pageSize?: number | undefined;
|
|
@@ -2620,9 +2621,13 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
2620
2621
|
};
|
|
2621
2622
|
pageData: Ref<RecordStringNumber>;
|
|
2622
2623
|
handleDeleteRow: (btn: PageButtonWithGroupCode) => void;
|
|
2624
|
+
handleDownLoadAll: (btn: PageDownLoadButton) => void;
|
|
2625
|
+
handleRemoveAll: (btn: PageButtonDeleteFileRow) => void;
|
|
2623
2626
|
computedColumns: ComputedRef<VxeGridPropTypes.Columns<VxeTableDataRow>>;
|
|
2624
2627
|
editRules: ComputedRef<ruleItem>;
|
|
2625
2628
|
shake: Ref<boolean>;
|
|
2629
|
+
handleCheckboxChange: (params: GridCheckboxChangeParams) => void;
|
|
2630
|
+
handleCheckboxAll: (params: GridCheckboxAllParams) => void;
|
|
2626
2631
|
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
|
|
2627
2632
|
readonly groupName: {
|
|
2628
2633
|
readonly type: PropType<string>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { ruleItem } from './hook/use-grid-config-hook';
|
|
2
2
|
import type { DefineComponent, PropType, ComputedRef, Ref, VNode, RendererNode, RendererElement, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes } from 'vue';
|
|
3
|
-
import type { ColumnItem, PageButton, PageButtonWithGroupCode, RecordStringNumber } from '../../edit-page-layout';
|
|
3
|
+
import type { ColumnItem, PageButton, PageButtonWithGroupCode, RecordStringNumber, PageDownLoadButton, PageButtonDeleteFileRow, GridCheckboxChangeParams, GridCheckboxAllParams } from '../../edit-page-layout';
|
|
4
4
|
import type { VxeTableDataRow, SizeType, VxeTablePropTypes, VxeColumnPropTypes, VxeTooltipPropTypes, VxeColumnSlotTypes, VxeTableDefines, SlotVNodeType, VxeTableConstructor, VxeTablePrivateMethods, VxeGridConstructor, VxeTableProDefines, VxePagerPropTypes, VxeGridPropTypes, VxeButtonPropTypes, VxeToolbarPropTypes, VxeFormPropTypes, VxeFormItemPropTypes, VxeFormItemProps, FormItemTitleRenderParams, FormItemContentRenderParams, VxeGridInstance, VxeGridProps } from 'vxe-table';
|
|
5
5
|
declare const _sfc_main: DefineComponent<{
|
|
6
6
|
readonly groupName: {
|
|
@@ -811,7 +811,7 @@ declare const _sfc_main: DefineComponent<{
|
|
|
811
811
|
visibleMethod?: ((params: {
|
|
812
812
|
row: VxeTableDataRow;
|
|
813
813
|
}) => boolean) | undefined;
|
|
814
|
-
trigger?: "" | "default" | "
|
|
814
|
+
trigger?: "" | "default" | "row" | "cell" | null | undefined;
|
|
815
815
|
highlight?: boolean | undefined;
|
|
816
816
|
strict?: boolean | undefined;
|
|
817
817
|
} | undefined;
|
|
@@ -831,7 +831,7 @@ declare const _sfc_main: DefineComponent<{
|
|
|
831
831
|
visibleMethod?: ((params: {
|
|
832
832
|
row: VxeTableDataRow;
|
|
833
833
|
}) => boolean) | undefined;
|
|
834
|
-
trigger?: "" | "default" | "
|
|
834
|
+
trigger?: "" | "default" | "row" | "cell" | null | undefined;
|
|
835
835
|
highlight?: boolean | undefined;
|
|
836
836
|
range?: boolean | undefined;
|
|
837
837
|
} | undefined;
|
|
@@ -1561,7 +1561,7 @@ declare const _sfc_main: DefineComponent<{
|
|
|
1561
1561
|
expandAll?: boolean | undefined;
|
|
1562
1562
|
expandRowKeys?: string[] | number[] | undefined;
|
|
1563
1563
|
accordion?: boolean | undefined;
|
|
1564
|
-
trigger?: "" | "default" | "
|
|
1564
|
+
trigger?: "" | "default" | "row" | "cell" | null | undefined;
|
|
1565
1565
|
lazy?: boolean | undefined;
|
|
1566
1566
|
reserve?: boolean | undefined;
|
|
1567
1567
|
height?: number | undefined;
|
|
@@ -1598,7 +1598,7 @@ declare const _sfc_main: DefineComponent<{
|
|
|
1598
1598
|
expandAll?: boolean | undefined;
|
|
1599
1599
|
expandRowKeys?: string[] | number[] | undefined;
|
|
1600
1600
|
accordion?: boolean | undefined;
|
|
1601
|
-
trigger?: "" | "default" | "
|
|
1601
|
+
trigger?: "" | "default" | "row" | "cell" | null | undefined;
|
|
1602
1602
|
lazy?: boolean | undefined;
|
|
1603
1603
|
hasChild?: string | undefined;
|
|
1604
1604
|
reserve?: boolean | undefined;
|
|
@@ -2247,7 +2247,7 @@ declare const _sfc_main: DefineComponent<{
|
|
|
2247
2247
|
enabled?: boolean | undefined;
|
|
2248
2248
|
slots?: any;
|
|
2249
2249
|
size?: SizeType | undefined;
|
|
2250
|
-
layouts?: ("PrevJump" | "PrevPage" | "
|
|
2250
|
+
layouts?: ("PrevJump" | "PrevPage" | "JumpNumber" | "NextPage" | "NextJump" | "Sizes" | "FullJump" | "PageCount" | "Total" | "Number" | "Jump")[] | undefined;
|
|
2251
2251
|
currentPage?: number | undefined;
|
|
2252
2252
|
loading?: boolean | undefined;
|
|
2253
2253
|
pageSize?: number | undefined;
|
|
@@ -2616,9 +2616,13 @@ declare const _sfc_main: DefineComponent<{
|
|
|
2616
2616
|
};
|
|
2617
2617
|
pageData: Ref<RecordStringNumber>;
|
|
2618
2618
|
handleDeleteRow: (btn: PageButtonWithGroupCode) => void;
|
|
2619
|
+
handleDownLoadAll: (btn: PageDownLoadButton) => void;
|
|
2620
|
+
handleRemoveAll: (btn: PageButtonDeleteFileRow) => void;
|
|
2619
2621
|
computedColumns: ComputedRef<VxeGridPropTypes.Columns<VxeTableDataRow>>;
|
|
2620
2622
|
editRules: ComputedRef<ruleItem>;
|
|
2621
2623
|
shake: Ref<boolean>;
|
|
2624
|
+
handleCheckboxChange: (params: GridCheckboxChangeParams) => void;
|
|
2625
|
+
handleCheckboxAll: (params: GridCheckboxAllParams) => void;
|
|
2622
2626
|
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
|
|
2623
2627
|
readonly groupName: {
|
|
2624
2628
|
readonly type: PropType<string>;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import type { ComputedRef } from 'vue';
|
|
1
|
+
import type { Ref, ComputedRef } from 'vue';
|
|
2
2
|
import type { EditGridProps } from '../edit-grid-types';
|
|
3
|
-
import type {
|
|
3
|
+
import type { VxeTableDefines, VxeGridPropTypes, VxeTableDataRow } from 'vxe-table';
|
|
4
4
|
export interface ruleItem {
|
|
5
5
|
[field: string]: VxeTableDefines.ValidatorRule[];
|
|
6
6
|
}
|
|
7
|
-
export default function useGridConfig(props: EditGridProps): {
|
|
7
|
+
export default function useGridConfig(props: EditGridProps, groupCode: Ref<string>): {
|
|
8
8
|
computedColumns: ComputedRef<VxeGridPropTypes.Columns<VxeTableDataRow>>;
|
|
9
9
|
editRules: ComputedRef<ruleItem>;
|
|
10
10
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { Role, roleValidator, CurrentRow, UserInfo, Pattern, patternValidator, RemoteConfig, DetailApiFunctionType, Expose, PageButton, PageButtonPosition, pageButtonPositionValidator, RecordStringNumber } from './src/edit-page-layout-types';
|
|
1
|
+
import type { Role, roleValidator, CurrentRow, UserInfo, Pattern, patternValidator, RemoteConfig, DetailApiFunctionType, Expose, PageButton, PageButtonPosition, pageButtonPositionValidator, RecordStringNumber, ComputedFieldType } from './src/edit-page-layout-types';
|
|
2
2
|
import type { DefineComponent, PropType, Ref, ComputedRef, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes } from 'vue';
|
|
3
3
|
import type { SFCWithInstall } from '@qqt-product/utils/dist/modules/withInstall';
|
|
4
4
|
import QEditPageLayout from './src/edit-page-layout.vue';
|
|
@@ -32,6 +32,10 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
32
32
|
type: PropType<UserInfo>;
|
|
33
33
|
default(): {};
|
|
34
34
|
};
|
|
35
|
+
token: {
|
|
36
|
+
type: StringConstructor;
|
|
37
|
+
default: string;
|
|
38
|
+
};
|
|
35
39
|
pattern: {
|
|
36
40
|
type: PropType<Pattern>;
|
|
37
41
|
default: string;
|
|
@@ -88,6 +92,13 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
88
92
|
[key: string]: string | boolean;
|
|
89
93
|
}>;
|
|
90
94
|
handleSetInstance: (expose: Expose) => void;
|
|
95
|
+
pattern: Ref<Pattern>;
|
|
96
|
+
namedSlots: {
|
|
97
|
+
patternPrepend: string;
|
|
98
|
+
patternDefault: string;
|
|
99
|
+
patternAppend: string;
|
|
100
|
+
}[];
|
|
101
|
+
computedFieldSlots: ComputedRef<ComputedFieldType[]>;
|
|
91
102
|
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
|
|
92
103
|
isDetail: {
|
|
93
104
|
type: PropType<boolean>;
|
|
@@ -115,6 +126,10 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
115
126
|
type: PropType<UserInfo>;
|
|
116
127
|
default(): {};
|
|
117
128
|
};
|
|
129
|
+
token: {
|
|
130
|
+
type: StringConstructor;
|
|
131
|
+
default: string;
|
|
132
|
+
};
|
|
118
133
|
pattern: {
|
|
119
134
|
type: PropType<Pattern>;
|
|
120
135
|
default: string;
|
|
@@ -166,10 +181,11 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
166
181
|
default: boolean;
|
|
167
182
|
};
|
|
168
183
|
}>>, {
|
|
169
|
-
|
|
184
|
+
currentRow: CurrentRow;
|
|
170
185
|
businessType: string;
|
|
186
|
+
token: string;
|
|
187
|
+
isDetail: boolean;
|
|
171
188
|
role: Role;
|
|
172
|
-
currentRow: CurrentRow;
|
|
173
189
|
refreshMethods: (row?: CurrentRow | undefined) => void;
|
|
174
190
|
userInfo: UserInfo;
|
|
175
191
|
pattern: Pattern;
|
|
@@ -1,7 +1,10 @@
|
|
|
1
1
|
import type { AxiosRequestConfig } from '@qqt-product/api';
|
|
2
|
-
import type { Ref, ComputedRef, PropType, ExtractPropTypes, SetupContext } from 'vue';
|
|
3
|
-
import type { VxeGridProps } from 'vxe-table';
|
|
2
|
+
import type { Ref, ComputedRef, PropType, ExtractPropTypes, SetupContext, ComponentInternalInstance } from 'vue';
|
|
3
|
+
import type { VxeGridProps, VxeTablePropTypes, VxeTableDefines, VxeTableDataRow, VxeTableConstructor, VxeTablePrivateMethods, VxeGridConstructor } from 'vxe-table';
|
|
4
4
|
import type { Decimal } from 'decimal.js';
|
|
5
|
+
import { FlowViewModalProps } from '../../flow-view/src/flow-view-modal-types';
|
|
6
|
+
import { Extend } from '../../select-modal';
|
|
7
|
+
export type { Extend };
|
|
5
8
|
export interface ResponseType {
|
|
6
9
|
code: number;
|
|
7
10
|
message: string;
|
|
@@ -81,11 +84,46 @@ export interface PageUploadButton extends Omit<PageButton, 'args'> {
|
|
|
81
84
|
}
|
|
82
85
|
export interface PageButtonWithGroupCode extends PageButton {
|
|
83
86
|
groupCode: string;
|
|
87
|
+
itemInfo?: RecordStringNumber[];
|
|
84
88
|
}
|
|
85
89
|
export interface PageButtonDeleteRow extends PageButton {
|
|
86
90
|
groupCode: string;
|
|
87
91
|
ids?: string[];
|
|
88
92
|
}
|
|
93
|
+
export interface PageDownLoadButton extends Omit<PageButton, 'args'> {
|
|
94
|
+
args?: {
|
|
95
|
+
url?: string;
|
|
96
|
+
role?: string;
|
|
97
|
+
[key: string]: unknown;
|
|
98
|
+
};
|
|
99
|
+
}
|
|
100
|
+
export interface PageButtonDownLoad extends PageDownLoadButton {
|
|
101
|
+
groupCode: string;
|
|
102
|
+
ids?: string[];
|
|
103
|
+
}
|
|
104
|
+
export interface ExposeWithPageDeleteFileRows {
|
|
105
|
+
pageData: Ref<RecordStringNumber>;
|
|
106
|
+
rows?: RecordStringNumber[];
|
|
107
|
+
}
|
|
108
|
+
export interface PageDeleteFileRowButton extends Omit<PageButton, 'handleBefore' | 'handleAfter' | 'args'> {
|
|
109
|
+
args?: {
|
|
110
|
+
url?: string;
|
|
111
|
+
role?: string;
|
|
112
|
+
[key: string]: unknown;
|
|
113
|
+
};
|
|
114
|
+
handleBefore?: (args: ExposeWithPageDeleteFileRows) => Promise<ExposeWithPageDeleteFileRows>;
|
|
115
|
+
handleAfter?: (args: ExposeWithPageDeleteFileRows) => Promise<ExposeWithPageDeleteFileRows>;
|
|
116
|
+
}
|
|
117
|
+
export interface PageButtonDeleteFileRow extends Omit<PageButton, 'args'> {
|
|
118
|
+
args?: {
|
|
119
|
+
url?: string;
|
|
120
|
+
role?: string;
|
|
121
|
+
[key: string]: unknown;
|
|
122
|
+
};
|
|
123
|
+
groupCode: string;
|
|
124
|
+
ids: string[];
|
|
125
|
+
rows: RecordStringNumber[];
|
|
126
|
+
}
|
|
89
127
|
export type ValidateStatus = 'success' | 'fail' | 'unset';
|
|
90
128
|
export interface ValidateResult {
|
|
91
129
|
result: {
|
|
@@ -97,17 +135,64 @@ export interface ValidateResult {
|
|
|
97
135
|
export type PageButtonPosition = 'top' | 'bottom';
|
|
98
136
|
export declare function pageButtonPositionValidator(mode: string): boolean;
|
|
99
137
|
export type RecordStringNumber = Record<string | number, unknown>;
|
|
138
|
+
export type OmitEditConfigVxeGridProps = Omit<VxeGridProps, 'editConfig'>;
|
|
139
|
+
export type OmitBeforeEditMethodEditConfig = Omit<VxeTablePropTypes.EditConfig, 'beforeEditMethod'>;
|
|
140
|
+
export interface GridCheckboxChangeParams {
|
|
141
|
+
checked: boolean;
|
|
142
|
+
row: VxeTableDataRow;
|
|
143
|
+
rowIndex: number;
|
|
144
|
+
$rowIndex: number;
|
|
145
|
+
column: VxeTableDefines.ColumnInfo<VxeTableDataRow>;
|
|
146
|
+
columnIndex: number;
|
|
147
|
+
$columnIndex: number;
|
|
148
|
+
$event: Event;
|
|
149
|
+
}
|
|
150
|
+
export interface GridCheckboxChangeParamsWithGroupCoe extends GridCheckboxChangeParams {
|
|
151
|
+
groupCode: string;
|
|
152
|
+
}
|
|
153
|
+
export interface GridCheckboxAllParams {
|
|
154
|
+
checked: boolean;
|
|
155
|
+
$event: Event;
|
|
156
|
+
}
|
|
157
|
+
export interface GridCheckboxAllParamsWithGroupCoe extends GridCheckboxAllParams {
|
|
158
|
+
groupCode: string;
|
|
159
|
+
}
|
|
160
|
+
/**
|
|
161
|
+
* 参数扩展
|
|
162
|
+
* 该方法的返回值用来决定该单元格是否允许编辑
|
|
163
|
+
*/
|
|
164
|
+
export interface BeforeEditMethodParams {
|
|
165
|
+
row: VxeTableDataRow;
|
|
166
|
+
rowIndex: number;
|
|
167
|
+
column: VxeTableDefines.ColumnInfo<VxeTableDataRow>;
|
|
168
|
+
columnIndex: number;
|
|
169
|
+
$table: VxeTableConstructor<VxeTableDataRow> & VxeTablePrivateMethods<VxeTableDataRow>;
|
|
170
|
+
$grid: VxeGridConstructor<VxeTableDataRow> | null | undefined;
|
|
171
|
+
}
|
|
172
|
+
export interface MixBeforeEditMethod {
|
|
173
|
+
(pageData: Ref<RecordStringNumber>, params: BeforeEditMethodParams): boolean;
|
|
174
|
+
}
|
|
175
|
+
export type MixEditConfig = OmitBeforeEditMethodEditConfig & {
|
|
176
|
+
beforeEditMethod?: MixBeforeEditMethod;
|
|
177
|
+
};
|
|
178
|
+
export type MixVxeGridProps = OmitEditConfigVxeGridProps & {
|
|
179
|
+
editConfig?: MixEditConfig;
|
|
180
|
+
};
|
|
181
|
+
export interface GroupExtend extends RecordStringNumber {
|
|
182
|
+
vxeGridConfig?: MixVxeGridProps;
|
|
183
|
+
}
|
|
100
184
|
export interface Group {
|
|
101
185
|
groupName: string;
|
|
102
186
|
groupNameI18nKey?: string;
|
|
103
187
|
groupCode: string;
|
|
104
188
|
groupType: GroupType;
|
|
105
189
|
sortOrder?: string;
|
|
106
|
-
buttons?: PageButton[]
|
|
107
|
-
extend?:
|
|
108
|
-
vxeGridConfig?: VxeGridProps;
|
|
190
|
+
buttons?: PageButton[];
|
|
191
|
+
extend?: GroupExtend;
|
|
109
192
|
show?: boolean;
|
|
110
193
|
shake?: boolean;
|
|
194
|
+
slot?: boolean;
|
|
195
|
+
enableTile?: '0' | '1';
|
|
111
196
|
columns?: ColumnItem[];
|
|
112
197
|
formFields?: FormFieldsItem[];
|
|
113
198
|
}
|
|
@@ -126,21 +211,30 @@ export interface Expose {
|
|
|
126
211
|
layoutConfig: LayoutConfig;
|
|
127
212
|
defaultValues: RecordStringNumber;
|
|
128
213
|
}
|
|
214
|
+
export type UsePromiseStepPayload = {
|
|
215
|
+
pageData: Ref<RecordStringNumber>;
|
|
216
|
+
layoutConfig: Ref<LayoutConfig>;
|
|
217
|
+
defaultValues: Ref<RecordStringNumber>;
|
|
218
|
+
options: Partial<EditPageLayoutProps>;
|
|
219
|
+
};
|
|
129
220
|
export interface ExposeWithPageButtons {
|
|
130
221
|
pageData: Ref<RecordStringNumber>;
|
|
131
222
|
layoutConfig: Ref<LayoutConfig>;
|
|
132
223
|
defaultValues: Ref<RecordStringNumber>;
|
|
133
|
-
|
|
134
|
-
|
|
224
|
+
cacheButton?: PageButton;
|
|
225
|
+
pageButtons?: PageButton[];
|
|
135
226
|
isAdd?: boolean;
|
|
136
227
|
addResult?: CurrentRow;
|
|
228
|
+
rows?: RecordStringNumber[];
|
|
137
229
|
}
|
|
138
|
-
export type CustomFormatItem = (groupCode: string, fieldName: string, fn: (item: FormFieldsItem | ColumnItem) => void) => void;
|
|
139
|
-
export type SetItemRequired = (groupCode: string, fieldName: string, flag: boolean) => void;
|
|
140
|
-
export type SetItemDisabled = (groupCode: string, fieldName: string, flag: boolean) => void;
|
|
141
|
-
export type SetItemRequiredOrDisabled = (groupCode: string, fieldName: string, flag: boolean) => void;
|
|
230
|
+
export type CustomFormatItem = (groupCode: string, fieldName: string, fn: (item: FormFieldsItem | ColumnItem) => void, exclude?: string[]) => void;
|
|
231
|
+
export type SetItemRequired = (groupCode: string, fieldName: string, flag: boolean, exclude?: string[]) => void;
|
|
232
|
+
export type SetItemDisabled = (groupCode: string, fieldName: string, flag: boolean, exclude?: string[]) => void;
|
|
233
|
+
export type SetItemRequiredOrDisabled = (groupCode: string, fieldName: string, flag: boolean, exclude?: string[]) => void;
|
|
142
234
|
export interface ValuePayload {
|
|
143
235
|
value: StringOrNumber;
|
|
236
|
+
label?: string | string[];
|
|
237
|
+
extra?: any;
|
|
144
238
|
data?: RecordStringNumber[];
|
|
145
239
|
pageData: RecordStringNumber;
|
|
146
240
|
layoutConfig: LayoutConfig;
|
|
@@ -151,10 +245,13 @@ export interface ValuePayload {
|
|
|
151
245
|
setItemDisabled?: SetItemDisabled;
|
|
152
246
|
setItemRequiredOrDisabled?: SetItemRequiredOrDisabled;
|
|
153
247
|
Decimal?: typeof Decimal;
|
|
248
|
+
topEmit?: () => void;
|
|
154
249
|
}
|
|
155
250
|
export type Payload = ValuePayload;
|
|
156
251
|
export type VxePayload = {
|
|
157
252
|
value?: StringOrNumber;
|
|
253
|
+
label?: string | string[];
|
|
254
|
+
extra?: any;
|
|
158
255
|
data?: RecordStringNumber[];
|
|
159
256
|
pageData: RecordStringNumber;
|
|
160
257
|
layoutConfig: LayoutConfig;
|
|
@@ -168,7 +265,16 @@ export type VxePayload = {
|
|
|
168
265
|
setItemDisabled?: SetItemDisabled;
|
|
169
266
|
setItemRequiredOrDisabled?: SetItemRequiredOrDisabled;
|
|
170
267
|
Decimal?: typeof Decimal;
|
|
268
|
+
topEmit?: () => void;
|
|
171
269
|
};
|
|
270
|
+
export interface UploadExtend {
|
|
271
|
+
businessType?: string;
|
|
272
|
+
[key: string]: unknown;
|
|
273
|
+
}
|
|
274
|
+
export interface LadderPriceExtend {
|
|
275
|
+
current?: number;
|
|
276
|
+
modalConfigs?: unknown[];
|
|
277
|
+
}
|
|
172
278
|
export interface FormFieldsItem {
|
|
173
279
|
groupCode: string;
|
|
174
280
|
fieldType: string;
|
|
@@ -178,7 +284,7 @@ export interface FormFieldsItem {
|
|
|
178
284
|
required?: '0' | '1';
|
|
179
285
|
regex?: RegExp;
|
|
180
286
|
alertMsg?: string;
|
|
181
|
-
callback?: (ctx:
|
|
287
|
+
callback?: (ctx: ComponentInternalInstance | null, payload: Payload) => void;
|
|
182
288
|
[key: string]: unknown;
|
|
183
289
|
}
|
|
184
290
|
export interface ColumnItem {
|
|
@@ -194,6 +300,18 @@ export interface ColumnItem {
|
|
|
194
300
|
callback?: (ctx: SetupContext, payload: VxePayload) => void;
|
|
195
301
|
[key: string]: unknown;
|
|
196
302
|
}
|
|
303
|
+
export interface FormFieldsItemSelectModal extends FormFieldsItem {
|
|
304
|
+
extend: Extend;
|
|
305
|
+
}
|
|
306
|
+
export interface ColumnItemWithSelectModal extends ColumnItem {
|
|
307
|
+
extend: Extend;
|
|
308
|
+
}
|
|
309
|
+
export interface FormFieldsItemUpload extends FormFieldsItem {
|
|
310
|
+
extend: UploadExtend;
|
|
311
|
+
}
|
|
312
|
+
export interface ColumnItemWithExtend extends ColumnItem {
|
|
313
|
+
extend: UploadExtend;
|
|
314
|
+
}
|
|
197
315
|
export interface FormFieldsItemWithValue extends FormFieldsItem {
|
|
198
316
|
value: StringOrNumber;
|
|
199
317
|
data?: RecordStringNumber[];
|
|
@@ -203,17 +321,16 @@ export interface ColumnItemWithValue extends ColumnItem {
|
|
|
203
321
|
idx: number;
|
|
204
322
|
data?: RecordStringNumber[];
|
|
205
323
|
}
|
|
206
|
-
export interface
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
};
|
|
324
|
+
export interface ImportPropsType {
|
|
325
|
+
button: PageButton;
|
|
326
|
+
isEditPage: boolean;
|
|
327
|
+
token: string;
|
|
211
328
|
}
|
|
212
|
-
export interface
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
329
|
+
export interface FlowPropsType extends FlowViewModalProps {
|
|
330
|
+
button: PageButton;
|
|
331
|
+
}
|
|
332
|
+
export interface ComputedFieldType extends FormFieldsItem {
|
|
333
|
+
slotForm: string;
|
|
217
334
|
}
|
|
218
335
|
export type BindFunctionEvent = FormFieldsItemWithValue;
|
|
219
336
|
export type VxeBindFunctionEvent = ColumnItemWithValue;
|
|
@@ -261,6 +378,10 @@ export declare const editPageLayoutProps: {
|
|
|
261
378
|
type: PropType<UserInfo>;
|
|
262
379
|
default(): {};
|
|
263
380
|
};
|
|
381
|
+
token: {
|
|
382
|
+
type: StringConstructor;
|
|
383
|
+
default: string;
|
|
384
|
+
};
|
|
264
385
|
pattern: {
|
|
265
386
|
type: PropType<Pattern>;
|
|
266
387
|
default: string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { DefineComponent, PropType, Ref, ComputedRef, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes } from 'vue';
|
|
2
|
-
import type { Role, roleValidator, CurrentRow, UserInfo, Pattern, patternValidator, RemoteConfig, DetailApiFunctionType, PageButtonPosition, pageButtonPositionValidator, RecordStringNumber, Expose, PageButton } from './edit-page-layout-types';
|
|
2
|
+
import type { Role, roleValidator, CurrentRow, UserInfo, Pattern, patternValidator, RemoteConfig, DetailApiFunctionType, PageButtonPosition, pageButtonPositionValidator, RecordStringNumber, Expose, PageButton, ComputedFieldType } from './edit-page-layout-types';
|
|
3
3
|
declare const _sfc_main: DefineComponent<{
|
|
4
4
|
isDetail: {
|
|
5
5
|
type: PropType<boolean>;
|
|
@@ -27,6 +27,10 @@ declare const _sfc_main: DefineComponent<{
|
|
|
27
27
|
type: PropType<UserInfo>;
|
|
28
28
|
default(): {};
|
|
29
29
|
};
|
|
30
|
+
token: {
|
|
31
|
+
type: StringConstructor;
|
|
32
|
+
default: string;
|
|
33
|
+
};
|
|
30
34
|
pattern: {
|
|
31
35
|
type: PropType<Pattern>;
|
|
32
36
|
default: string;
|
|
@@ -83,6 +87,13 @@ declare const _sfc_main: DefineComponent<{
|
|
|
83
87
|
[key: string]: string | boolean;
|
|
84
88
|
}>;
|
|
85
89
|
handleSetInstance: (expose: Expose) => void;
|
|
90
|
+
pattern: Ref<Pattern>;
|
|
91
|
+
namedSlots: {
|
|
92
|
+
patternPrepend: string;
|
|
93
|
+
patternDefault: string;
|
|
94
|
+
patternAppend: string;
|
|
95
|
+
}[];
|
|
96
|
+
computedFieldSlots: ComputedRef<ComputedFieldType[]>;
|
|
86
97
|
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
|
|
87
98
|
isDetail: {
|
|
88
99
|
type: PropType<boolean>;
|
|
@@ -110,6 +121,10 @@ declare const _sfc_main: DefineComponent<{
|
|
|
110
121
|
type: PropType<UserInfo>;
|
|
111
122
|
default(): {};
|
|
112
123
|
};
|
|
124
|
+
token: {
|
|
125
|
+
type: StringConstructor;
|
|
126
|
+
default: string;
|
|
127
|
+
};
|
|
113
128
|
pattern: {
|
|
114
129
|
type: PropType<Pattern>;
|
|
115
130
|
default: string;
|
|
@@ -161,10 +176,11 @@ declare const _sfc_main: DefineComponent<{
|
|
|
161
176
|
default: boolean;
|
|
162
177
|
};
|
|
163
178
|
}>>, {
|
|
164
|
-
|
|
179
|
+
currentRow: CurrentRow;
|
|
165
180
|
businessType: string;
|
|
181
|
+
token: string;
|
|
182
|
+
isDetail: boolean;
|
|
166
183
|
role: Role;
|
|
167
|
-
currentRow: CurrentRow;
|
|
168
184
|
refreshMethods: (row?: CurrentRow | undefined) => void;
|
|
169
185
|
userInfo: UserInfo;
|
|
170
186
|
pattern: Pattern;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export type { ResponseType, UserInfo, CurrentRow, DictCodeItem, Role, GroupType, Pattern, Icon, PageButton, PageButtonWithGroupCode, PageButtonDeleteRow, ValidateStatus, ValidateResult, PageButtonPosition, RecordStringNumber, Group, HeadGroupType, ItemGroupType, GroupItem, StringOrNumber, Expose, ExposeWithPageButtons, Payload, VxePayload, FormFieldsItem, ColumnItem, FormFieldsItemWithValue, ColumnItemWithValue, BindFunctionEvent, VxeBindFunctionEvent, RemoteConfig, LayoutConfig, LocalConfig, DetailApiFunctionType, EditPageLayoutProps, } from './edit-page-layout-types';
|
|
1
|
+
export type { ResponseType, UserInfo, CurrentRow, DictCodeItem, Role, GroupType, Pattern, Icon, PageButtonPayload, PageButtonArgs, PageButtonArgsFunctionType, PageButton, PageUploadButton, PageButtonWithGroupCode, PageButtonDeleteRow, PageDownLoadButton, PageButtonDownLoad, ExposeWithPageDeleteFileRows, PageDeleteFileRowButton, PageButtonDeleteFileRow, ValidateStatus, ValidateResult, PageButtonPosition, RecordStringNumber, OmitEditConfigVxeGridProps, OmitBeforeEditMethodEditConfig, GridCheckboxChangeParams, GridCheckboxChangeParamsWithGroupCoe, GridCheckboxAllParams, GridCheckboxAllParamsWithGroupCoe, BeforeEditMethodParams, MixBeforeEditMethod, MixEditConfig, MixVxeGridProps, GroupExtend, Group, HeadGroupType, ItemGroupType, GroupItem, StringOrNumber, Expose, ExposeWithPageButtons, CustomFormatItem, SetItemRequired, SetItemDisabled, SetItemRequiredOrDisabled, ValuePayload, UsePromiseStepPayload, Payload, VxePayload, UploadExtend, FormFieldsItem, ColumnItem, FormFieldsItemSelectModal, ColumnItemWithSelectModal, FormFieldsItemUpload, ColumnItemWithExtend, FormFieldsItemWithValue, ColumnItemWithValue, ImportPropsType, FlowPropsType, ComputedFieldType, BindFunctionEvent, VxeBindFunctionEvent, RemoteConfig, LayoutConfig, LocalConfig, DetailApiFunctionType, EditPageLayoutProps, Extend, LadderPriceExtend, } from './edit-page-layout-types';
|