@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
|
@@ -0,0 +1,118 @@
|
|
|
1
|
+
import type { Map } from '@qqt-product/api';
|
|
2
|
+
import type { intervalValidator, ProgressParams } from './countdown-types';
|
|
3
|
+
import type { DefineComponent, PropType, VNode, RendererNode, RendererElement, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes } from 'vue';
|
|
4
|
+
declare const _default: DefineComponent<{
|
|
5
|
+
readonly autoStart: {
|
|
6
|
+
readonly type: BooleanConstructor;
|
|
7
|
+
readonly default: true;
|
|
8
|
+
};
|
|
9
|
+
readonly emitEvents: {
|
|
10
|
+
readonly type: BooleanConstructor;
|
|
11
|
+
readonly default: true;
|
|
12
|
+
};
|
|
13
|
+
readonly interval: {
|
|
14
|
+
readonly type: NumberConstructor;
|
|
15
|
+
readonly default: 1000;
|
|
16
|
+
readonly validator: typeof intervalValidator;
|
|
17
|
+
};
|
|
18
|
+
readonly now: {
|
|
19
|
+
readonly type: PropType<() => Promise<Map>>;
|
|
20
|
+
readonly default: null;
|
|
21
|
+
};
|
|
22
|
+
readonly tag: {
|
|
23
|
+
readonly type: StringConstructor;
|
|
24
|
+
readonly default: "span";
|
|
25
|
+
};
|
|
26
|
+
readonly time: {
|
|
27
|
+
readonly type: NumberConstructor;
|
|
28
|
+
readonly default: 0;
|
|
29
|
+
readonly validator: typeof intervalValidator;
|
|
30
|
+
};
|
|
31
|
+
readonly transform: {
|
|
32
|
+
readonly type: PropType<(<T>(props: T) => T)>;
|
|
33
|
+
readonly default: <T_1>(props: T_1) => T_1;
|
|
34
|
+
};
|
|
35
|
+
readonly start: {
|
|
36
|
+
type: PropType<(() => void) | (() => void)[]>;
|
|
37
|
+
default: unknown;
|
|
38
|
+
};
|
|
39
|
+
readonly progress: {
|
|
40
|
+
type: PropType<((params: ProgressParams) => void) | ((params: ProgressParams) => void)[]>;
|
|
41
|
+
default: unknown;
|
|
42
|
+
};
|
|
43
|
+
readonly abort: {
|
|
44
|
+
type: PropType<(() => void) | (() => void)[]>;
|
|
45
|
+
default: unknown;
|
|
46
|
+
};
|
|
47
|
+
readonly end: {
|
|
48
|
+
type: PropType<(() => void) | (() => void)[]>;
|
|
49
|
+
default: unknown;
|
|
50
|
+
};
|
|
51
|
+
}, () => VNode<RendererNode, RendererElement, {
|
|
52
|
+
[key: string]: any;
|
|
53
|
+
}>, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, ("start" | "progress" | "abort" | "end")[], "start" | "progress" | "abort" | "end", VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
|
|
54
|
+
readonly autoStart: {
|
|
55
|
+
readonly type: BooleanConstructor;
|
|
56
|
+
readonly default: true;
|
|
57
|
+
};
|
|
58
|
+
readonly emitEvents: {
|
|
59
|
+
readonly type: BooleanConstructor;
|
|
60
|
+
readonly default: true;
|
|
61
|
+
};
|
|
62
|
+
readonly interval: {
|
|
63
|
+
readonly type: NumberConstructor;
|
|
64
|
+
readonly default: 1000;
|
|
65
|
+
readonly validator: typeof intervalValidator;
|
|
66
|
+
};
|
|
67
|
+
readonly now: {
|
|
68
|
+
readonly type: PropType<() => Promise<Map>>;
|
|
69
|
+
readonly default: null;
|
|
70
|
+
};
|
|
71
|
+
readonly tag: {
|
|
72
|
+
readonly type: StringConstructor;
|
|
73
|
+
readonly default: "span";
|
|
74
|
+
};
|
|
75
|
+
readonly time: {
|
|
76
|
+
readonly type: NumberConstructor;
|
|
77
|
+
readonly default: 0;
|
|
78
|
+
readonly validator: typeof intervalValidator;
|
|
79
|
+
};
|
|
80
|
+
readonly transform: {
|
|
81
|
+
readonly type: PropType<(<T>(props: T) => T)>;
|
|
82
|
+
readonly default: <T_1>(props: T_1) => T_1;
|
|
83
|
+
};
|
|
84
|
+
readonly start: {
|
|
85
|
+
type: PropType<(() => void) | (() => void)[]>;
|
|
86
|
+
default: unknown;
|
|
87
|
+
};
|
|
88
|
+
readonly progress: {
|
|
89
|
+
type: PropType<((params: ProgressParams) => void) | ((params: ProgressParams) => void)[]>;
|
|
90
|
+
default: unknown;
|
|
91
|
+
};
|
|
92
|
+
readonly abort: {
|
|
93
|
+
type: PropType<(() => void) | (() => void)[]>;
|
|
94
|
+
default: unknown;
|
|
95
|
+
};
|
|
96
|
+
readonly end: {
|
|
97
|
+
type: PropType<(() => void) | (() => void)[]>;
|
|
98
|
+
default: unknown;
|
|
99
|
+
};
|
|
100
|
+
}>> & {
|
|
101
|
+
onAbort?: ((...args: any[]) => any) | undefined;
|
|
102
|
+
onProgress?: ((...args: any[]) => any) | undefined;
|
|
103
|
+
onStart?: ((...args: any[]) => any) | undefined;
|
|
104
|
+
onEnd?: ((...args: any[]) => any) | undefined;
|
|
105
|
+
}, {
|
|
106
|
+
readonly start: (() => void) | (() => void)[];
|
|
107
|
+
readonly progress: ((params: ProgressParams) => void) | ((params: ProgressParams) => void)[];
|
|
108
|
+
readonly abort: (() => void) | (() => void)[];
|
|
109
|
+
readonly end: (() => void) | (() => void)[];
|
|
110
|
+
readonly autoStart: boolean;
|
|
111
|
+
readonly emitEvents: boolean;
|
|
112
|
+
readonly interval: number;
|
|
113
|
+
readonly now: () => Promise<Map>;
|
|
114
|
+
readonly tag: string;
|
|
115
|
+
readonly time: number;
|
|
116
|
+
readonly transform: <T>(props: T) => T;
|
|
117
|
+
}, {}>;
|
|
118
|
+
export default _default;
|
|
@@ -41,7 +41,7 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
41
41
|
totalHours: ComputedRef<number>;
|
|
42
42
|
totalSeconds: ComputedRef<number>;
|
|
43
43
|
totalMinutes: ComputedRef<number>;
|
|
44
|
-
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, ("
|
|
44
|
+
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, ("start" | "progress" | "end")[], "start" | "progress" | "end", VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
|
|
45
45
|
readonly autoStart: {
|
|
46
46
|
readonly type: BooleanConstructor;
|
|
47
47
|
readonly default: true;
|
|
@@ -70,13 +70,13 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
70
70
|
};
|
|
71
71
|
}>> & {
|
|
72
72
|
onProgress?: ((...args: any[]) => any) | undefined;
|
|
73
|
-
onEnd?: ((...args: any[]) => any) | undefined;
|
|
74
73
|
onStart?: ((...args: any[]) => any) | undefined;
|
|
74
|
+
onEnd?: ((...args: any[]) => any) | undefined;
|
|
75
75
|
}, {
|
|
76
|
-
readonly tag: string;
|
|
77
76
|
readonly autoStart: boolean;
|
|
78
77
|
readonly emitEvents: boolean;
|
|
79
78
|
readonly interval: number;
|
|
79
|
+
readonly tag: string;
|
|
80
80
|
readonly time: number;
|
|
81
81
|
readonly transform: Function;
|
|
82
82
|
}, {}>>;
|
|
@@ -39,7 +39,7 @@ declare const _sfc_main: DefineComponent<{
|
|
|
39
39
|
totalHours: ComputedRef<number>;
|
|
40
40
|
totalSeconds: ComputedRef<number>;
|
|
41
41
|
totalMinutes: ComputedRef<number>;
|
|
42
|
-
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, ("
|
|
42
|
+
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, ("start" | "progress" | "end")[], "start" | "progress" | "end", VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
|
|
43
43
|
readonly autoStart: {
|
|
44
44
|
readonly type: BooleanConstructor;
|
|
45
45
|
readonly default: true;
|
|
@@ -68,13 +68,13 @@ declare const _sfc_main: DefineComponent<{
|
|
|
68
68
|
};
|
|
69
69
|
}>> & {
|
|
70
70
|
onProgress?: ((...args: any[]) => any) | undefined;
|
|
71
|
-
onEnd?: ((...args: any[]) => any) | undefined;
|
|
72
71
|
onStart?: ((...args: any[]) => any) | undefined;
|
|
72
|
+
onEnd?: ((...args: any[]) => any) | undefined;
|
|
73
73
|
}, {
|
|
74
|
-
readonly tag: string;
|
|
75
74
|
readonly autoStart: boolean;
|
|
76
75
|
readonly emitEvents: boolean;
|
|
77
76
|
readonly interval: number;
|
|
77
|
+
readonly tag: string;
|
|
78
78
|
readonly time: number;
|
|
79
79
|
readonly transform: Function;
|
|
80
80
|
}, {}>;
|
|
@@ -97,9 +97,9 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
97
97
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
98
98
|
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
99
99
|
}, {
|
|
100
|
-
readonly value: number;
|
|
101
100
|
readonly disabled: boolean;
|
|
102
101
|
readonly placeholder: string;
|
|
102
|
+
readonly value: number;
|
|
103
103
|
readonly required: "0" | "1";
|
|
104
104
|
readonly configData: Record<string, any>;
|
|
105
105
|
readonly inputType: string;
|
|
@@ -93,9 +93,9 @@ declare const _sfc_main: DefineComponent<{
|
|
|
93
93
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
94
94
|
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
95
95
|
}, {
|
|
96
|
-
readonly value: number;
|
|
97
96
|
readonly disabled: boolean;
|
|
98
97
|
readonly placeholder: string;
|
|
98
|
+
readonly value: number;
|
|
99
99
|
readonly required: "0" | "1";
|
|
100
100
|
readonly configData: Record<string, any>;
|
|
101
101
|
readonly inputType: string;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import type { Breakpoint } from 'ant-design-vue/lib/_util/responsiveObserve';
|
|
2
|
-
import type {
|
|
2
|
+
import type { RecordStringNumber } from '../select-modal';
|
|
3
|
+
import type { PageButton, FormFieldsItem } from '../edit-page-layout';
|
|
3
4
|
import type { DefineComponent, PropType, Ref, ComputedRef, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes } from 'vue';
|
|
4
5
|
import type { SFCWithInstall } from '@qqt-product/utils/dist/modules/withInstall';
|
|
5
6
|
import QDetailForm from './src/detail-form.vue';
|
|
@@ -41,6 +42,10 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
41
42
|
readonly type: PropType<boolean>;
|
|
42
43
|
readonly default: true;
|
|
43
44
|
};
|
|
45
|
+
readonly enableTile: {
|
|
46
|
+
readonly type: PropType<"0" | "1">;
|
|
47
|
+
readonly default: "1";
|
|
48
|
+
};
|
|
44
49
|
}, {
|
|
45
50
|
shake: Ref<boolean>;
|
|
46
51
|
classes: ComputedRef<{
|
|
@@ -49,8 +54,19 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
49
54
|
groupCode: Ref<string>;
|
|
50
55
|
noHiddenFieldFormFields: ComputedRef<FormFieldsItem[]>;
|
|
51
56
|
pageData: Ref<RecordStringNumber>;
|
|
52
|
-
|
|
57
|
+
handleProps: (field: FormFieldsItem) => {
|
|
58
|
+
row: Ref<RecordStringNumber>;
|
|
59
|
+
rowIndex: number;
|
|
60
|
+
columnItem: FormFieldsItem;
|
|
61
|
+
uploadBtnStatus: boolean;
|
|
62
|
+
groupType: string;
|
|
63
|
+
operationBtn: {};
|
|
64
|
+
};
|
|
65
|
+
getSpan: (field: FormFieldsItem) => number;
|
|
66
|
+
getStaticSelectLabel: (field: FormFieldsItem) => string;
|
|
53
67
|
screens: Ref<Partial<Record<Breakpoint, boolean>>>;
|
|
68
|
+
EditorList: Ref<FormFieldsItem[] | undefined>;
|
|
69
|
+
editorName: Ref<string>;
|
|
54
70
|
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
|
|
55
71
|
readonly groupName: {
|
|
56
72
|
readonly type: PropType<string>;
|
|
@@ -88,6 +104,10 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
88
104
|
readonly type: PropType<boolean>;
|
|
89
105
|
readonly default: true;
|
|
90
106
|
};
|
|
107
|
+
readonly enableTile: {
|
|
108
|
+
readonly type: PropType<"0" | "1">;
|
|
109
|
+
readonly default: "1";
|
|
110
|
+
};
|
|
91
111
|
}>>, {
|
|
92
112
|
readonly buttons: PageButton[];
|
|
93
113
|
readonly extend: Record<string, any>;
|
|
@@ -98,5 +118,6 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
98
118
|
readonly sortOrder: string;
|
|
99
119
|
readonly formFields: FormFieldsItem[];
|
|
100
120
|
readonly shake: boolean;
|
|
121
|
+
readonly enableTile: "0" | "1";
|
|
101
122
|
}, {}>>;
|
|
102
123
|
export default _default;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { Breakpoint } from 'ant-design-vue/lib/_util/responsiveObserve';
|
|
2
|
-
import type {
|
|
3
|
-
import type {
|
|
2
|
+
import type { DefineComponent, PropType, ComputedRef, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes, Ref } from 'vue';
|
|
3
|
+
import type { PageButton, FormFieldsItem, RecordStringNumber } from '../../edit-page-layout';
|
|
4
4
|
declare const _sfc_main: DefineComponent<{
|
|
5
5
|
readonly groupName: {
|
|
6
6
|
readonly type: PropType<string>;
|
|
@@ -38,6 +38,10 @@ declare const _sfc_main: DefineComponent<{
|
|
|
38
38
|
readonly type: PropType<boolean>;
|
|
39
39
|
readonly default: true;
|
|
40
40
|
};
|
|
41
|
+
readonly enableTile: {
|
|
42
|
+
readonly type: PropType<"0" | "1">;
|
|
43
|
+
readonly default: "1";
|
|
44
|
+
};
|
|
41
45
|
}, {
|
|
42
46
|
shake: Ref<boolean>;
|
|
43
47
|
classes: ComputedRef<{
|
|
@@ -46,8 +50,19 @@ declare const _sfc_main: DefineComponent<{
|
|
|
46
50
|
groupCode: Ref<string>;
|
|
47
51
|
noHiddenFieldFormFields: ComputedRef<FormFieldsItem[]>;
|
|
48
52
|
pageData: Ref<RecordStringNumber>;
|
|
49
|
-
|
|
53
|
+
handleProps: (field: FormFieldsItem) => {
|
|
54
|
+
row: Ref<RecordStringNumber>;
|
|
55
|
+
rowIndex: number;
|
|
56
|
+
columnItem: FormFieldsItem;
|
|
57
|
+
uploadBtnStatus: boolean;
|
|
58
|
+
groupType: string;
|
|
59
|
+
operationBtn: {};
|
|
60
|
+
};
|
|
61
|
+
getSpan: (field: FormFieldsItem) => number;
|
|
62
|
+
getStaticSelectLabel: (field: FormFieldsItem) => string;
|
|
50
63
|
screens: Ref<Partial<Record<Breakpoint, boolean>>>;
|
|
64
|
+
EditorList: Ref<FormFieldsItem[] | undefined>;
|
|
65
|
+
editorName: Ref<string>;
|
|
51
66
|
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
|
|
52
67
|
readonly groupName: {
|
|
53
68
|
readonly type: PropType<string>;
|
|
@@ -85,6 +100,10 @@ declare const _sfc_main: DefineComponent<{
|
|
|
85
100
|
readonly type: PropType<boolean>;
|
|
86
101
|
readonly default: true;
|
|
87
102
|
};
|
|
103
|
+
readonly enableTile: {
|
|
104
|
+
readonly type: PropType<"0" | "1">;
|
|
105
|
+
readonly default: "1";
|
|
106
|
+
};
|
|
88
107
|
}>>, {
|
|
89
108
|
readonly buttons: PageButton[];
|
|
90
109
|
readonly extend: Record<string, any>;
|
|
@@ -95,5 +114,6 @@ declare const _sfc_main: DefineComponent<{
|
|
|
95
114
|
readonly sortOrder: string;
|
|
96
115
|
readonly formFields: FormFieldsItem[];
|
|
97
116
|
readonly shake: boolean;
|
|
117
|
+
readonly enableTile: "0" | "1";
|
|
98
118
|
}, {}>;
|
|
99
119
|
export default _sfc_main;
|
|
@@ -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, 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 QDetailForm from './src/detail-grid.vue';
|
|
@@ -814,7 +815,7 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
814
815
|
visibleMethod?: ((params: {
|
|
815
816
|
row: VxeTableDataRow;
|
|
816
817
|
}) => boolean) | undefined;
|
|
817
|
-
trigger?: "" | "default" | "
|
|
818
|
+
trigger?: "" | "default" | "row" | "cell" | null | undefined;
|
|
818
819
|
highlight?: boolean | undefined;
|
|
819
820
|
strict?: boolean | undefined;
|
|
820
821
|
} | undefined;
|
|
@@ -834,7 +835,7 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
834
835
|
visibleMethod?: ((params: {
|
|
835
836
|
row: VxeTableDataRow;
|
|
836
837
|
}) => boolean) | undefined;
|
|
837
|
-
trigger?: "" | "default" | "
|
|
838
|
+
trigger?: "" | "default" | "row" | "cell" | null | undefined;
|
|
838
839
|
highlight?: boolean | undefined;
|
|
839
840
|
range?: boolean | undefined;
|
|
840
841
|
} | undefined;
|
|
@@ -1564,7 +1565,7 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
1564
1565
|
expandAll?: boolean | undefined;
|
|
1565
1566
|
expandRowKeys?: string[] | number[] | undefined;
|
|
1566
1567
|
accordion?: boolean | undefined;
|
|
1567
|
-
trigger?: "" | "default" | "
|
|
1568
|
+
trigger?: "" | "default" | "row" | "cell" | null | undefined;
|
|
1568
1569
|
lazy?: boolean | undefined;
|
|
1569
1570
|
reserve?: boolean | undefined;
|
|
1570
1571
|
height?: number | undefined;
|
|
@@ -1601,7 +1602,7 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
1601
1602
|
expandAll?: boolean | undefined;
|
|
1602
1603
|
expandRowKeys?: string[] | number[] | undefined;
|
|
1603
1604
|
accordion?: boolean | undefined;
|
|
1604
|
-
trigger?: "" | "default" | "
|
|
1605
|
+
trigger?: "" | "default" | "row" | "cell" | null | undefined;
|
|
1605
1606
|
lazy?: boolean | undefined;
|
|
1606
1607
|
hasChild?: string | undefined;
|
|
1607
1608
|
reserve?: boolean | undefined;
|
|
@@ -2250,7 +2251,7 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
2250
2251
|
enabled?: boolean | undefined;
|
|
2251
2252
|
slots?: any;
|
|
2252
2253
|
size?: SizeType | undefined;
|
|
2253
|
-
layouts?: ("PrevJump" | "PrevPage" | "
|
|
2254
|
+
layouts?: ("PrevJump" | "PrevPage" | "JumpNumber" | "NextPage" | "NextJump" | "Sizes" | "FullJump" | "PageCount" | "Total" | "Number" | "Jump")[] | undefined;
|
|
2254
2255
|
currentPage?: number | undefined;
|
|
2255
2256
|
loading?: boolean | undefined;
|
|
2256
2257
|
pageSize?: number | undefined;
|
|
@@ -2619,9 +2620,12 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
2619
2620
|
};
|
|
2620
2621
|
pageData: Ref<RecordStringNumber>;
|
|
2621
2622
|
handleDeleteRow: (btn: PageButtonWithGroupCode) => void;
|
|
2623
|
+
handleDownLoadAll: (btn: PageDownLoadButton) => void;
|
|
2622
2624
|
computedColumns: ComputedRef<VxeGridPropTypes.Columns<VxeTableDataRow>>;
|
|
2623
2625
|
editRules: ComputedRef<ruleItem>;
|
|
2624
2626
|
shake: Ref<boolean>;
|
|
2627
|
+
handleCheckboxChange: (params: GridCheckboxChangeParams) => void;
|
|
2628
|
+
handleCheckboxAll: (params: GridCheckboxAllParams) => void;
|
|
2625
2629
|
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
|
|
2626
2630
|
readonly groupName: {
|
|
2627
2631
|
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, 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,12 @@ declare const _sfc_main: DefineComponent<{
|
|
|
2616
2616
|
};
|
|
2617
2617
|
pageData: Ref<RecordStringNumber>;
|
|
2618
2618
|
handleDeleteRow: (btn: PageButtonWithGroupCode) => void;
|
|
2619
|
+
handleDownLoadAll: (btn: PageDownLoadButton) => void;
|
|
2619
2620
|
computedColumns: ComputedRef<VxeGridPropTypes.Columns<VxeTableDataRow>>;
|
|
2620
2621
|
editRules: ComputedRef<ruleItem>;
|
|
2621
2622
|
shake: Ref<boolean>;
|
|
2623
|
+
handleCheckboxChange: (params: GridCheckboxChangeParams) => void;
|
|
2624
|
+
handleCheckboxAll: (params: GridCheckboxAllParams) => void;
|
|
2622
2625
|
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
|
|
2623
2626
|
readonly groupName: {
|
|
2624
2627
|
readonly type: PropType<string>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { ComputedRef } from 'vue';
|
|
2
2
|
import type { EditGridProps } from '../../../edit-grid';
|
|
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
|
}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { RecordStringNumber } from '../select-modal';
|
|
2
|
+
import type { Role, roleValidator, CurrentRow, UserInfo, Pattern, patternValidator, RemoteConfig, DetailApiFunctionType, Expose, PageButton, PageButtonPosition, pageButtonPositionValidator, ComputedFieldType } from '../edit-page-layout';
|
|
2
3
|
import type { DefineComponent, PropType, Ref, ComputedRef, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes } from 'vue';
|
|
3
4
|
import type { SFCWithInstall } from '@qqt-product/utils/dist/modules/withInstall';
|
|
4
5
|
import QDetailPageLayout from './src/detail-page-layout.vue';
|
|
@@ -30,6 +31,10 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
30
31
|
type: PropType<UserInfo>;
|
|
31
32
|
default(): {};
|
|
32
33
|
};
|
|
34
|
+
token: {
|
|
35
|
+
type: StringConstructor;
|
|
36
|
+
default: string;
|
|
37
|
+
};
|
|
33
38
|
pattern: {
|
|
34
39
|
type: PropType<Pattern>;
|
|
35
40
|
default: string;
|
|
@@ -86,6 +91,13 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
86
91
|
[key: string]: string | boolean;
|
|
87
92
|
}>;
|
|
88
93
|
handleSetInstance: (expose: Expose) => void;
|
|
94
|
+
pattern: Ref<Pattern>;
|
|
95
|
+
namedSlots: {
|
|
96
|
+
patternPrepend: string;
|
|
97
|
+
patternDefault: string;
|
|
98
|
+
patternAppend: string;
|
|
99
|
+
}[];
|
|
100
|
+
computedFieldSlots: ComputedRef<ComputedFieldType[]>;
|
|
89
101
|
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
|
|
90
102
|
isDetail: {
|
|
91
103
|
type: PropType<boolean>;
|
|
@@ -113,6 +125,10 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
113
125
|
type: PropType<UserInfo>;
|
|
114
126
|
default(): {};
|
|
115
127
|
};
|
|
128
|
+
token: {
|
|
129
|
+
type: StringConstructor;
|
|
130
|
+
default: string;
|
|
131
|
+
};
|
|
116
132
|
pattern: {
|
|
117
133
|
type: PropType<Pattern>;
|
|
118
134
|
default: string;
|
|
@@ -164,10 +180,11 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
164
180
|
default: boolean;
|
|
165
181
|
};
|
|
166
182
|
}>>, {
|
|
167
|
-
|
|
183
|
+
currentRow: CurrentRow;
|
|
168
184
|
businessType: string;
|
|
185
|
+
token: string;
|
|
186
|
+
isDetail: boolean;
|
|
169
187
|
role: Role;
|
|
170
|
-
currentRow: CurrentRow;
|
|
171
188
|
refreshMethods: (row?: CurrentRow | undefined) => void;
|
|
172
189
|
userInfo: UserInfo;
|
|
173
190
|
pattern: Pattern;
|
|
@@ -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';
|
|
2
|
+
import type { Role, roleValidator, CurrentRow, UserInfo, Pattern, patternValidator, RemoteConfig, DetailApiFunctionType, PageButtonPosition, pageButtonPositionValidator, RecordStringNumber, Expose, PageButton, ComputedFieldType } from '../../edit-page-layout';
|
|
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,8 +1,11 @@
|
|
|
1
|
+
import type { MixSelectArgs } from '../select';
|
|
2
|
+
import type { TreeSelectPayload } from '../tree-select';
|
|
1
3
|
import type { Breakpoint } from 'ant-design-vue/lib/_util/responsiveObserve';
|
|
2
4
|
import type { PickerLocale } from 'ant-design-vue/es/date-picker/generatePicker';
|
|
5
|
+
import type { RecordStringNumber } from '../select-modal';
|
|
3
6
|
import type { RuleObject } from 'ant-design-vue/es/form';
|
|
4
7
|
import type { FormInstance } from 'ant-design-vue';
|
|
5
|
-
import type { PageButton, FormFieldsItem,
|
|
8
|
+
import type { PageButton, FormFieldsItem, FormFieldsItemUpload } from '../edit-page-layout';
|
|
6
9
|
import type { DefineComponent, PropType, ComputedRef, Ref, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes } from 'vue';
|
|
7
10
|
import type { SFCWithInstall } from '@qqt-product/utils/dist/modules/withInstall';
|
|
8
11
|
import QEditForm from './src/edit-form.vue';
|
|
@@ -45,6 +48,10 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
45
48
|
readonly type: PropType<boolean>;
|
|
46
49
|
readonly default: true;
|
|
47
50
|
};
|
|
51
|
+
readonly enableTile: {
|
|
52
|
+
readonly type: PropType<"0" | "1">;
|
|
53
|
+
readonly default: "1";
|
|
54
|
+
};
|
|
48
55
|
}, {
|
|
49
56
|
busAccount: ComputedRef<string>;
|
|
50
57
|
shake: Ref<boolean>;
|
|
@@ -65,6 +72,14 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
65
72
|
xxl: number;
|
|
66
73
|
xxxl: number;
|
|
67
74
|
};
|
|
75
|
+
handleProps: (field: FormFieldsItem) => {
|
|
76
|
+
row: Ref<RecordStringNumber>;
|
|
77
|
+
rowIndex: number;
|
|
78
|
+
columnItem: FormFieldsItem;
|
|
79
|
+
uploadBtnStatus: {};
|
|
80
|
+
groupType: string;
|
|
81
|
+
operationBtn: unknown;
|
|
82
|
+
};
|
|
68
83
|
screens: Ref<Partial<Record<Breakpoint, boolean>>>;
|
|
69
84
|
handleUploadData: (file: FormFieldsItemUpload) => {
|
|
70
85
|
businessType: string;
|
|
@@ -74,13 +89,18 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
74
89
|
handleInputBlur: (event: Event, config: FormFieldsItem) => void;
|
|
75
90
|
handleSwitchChange: (value: string, config: FormFieldsItem) => void;
|
|
76
91
|
handleSelectChange: (value: string, config: FormFieldsItem) => void;
|
|
92
|
+
handleTreeSelectChange: ({ value, label, extra }: TreeSelectPayload, config: FormFieldsItem) => void;
|
|
93
|
+
handleMixSelectChange: ({ value }: MixSelectArgs, config: FormFieldsItem) => void;
|
|
77
94
|
handleRadioChange: (value: string, config: FormFieldsItem) => void;
|
|
78
95
|
handleUploadChange: (value: string, config: FormFieldsItem) => void;
|
|
79
96
|
handleCurrencyChange: (value: string, config: FormFieldsItem) => void;
|
|
80
|
-
handleRemoteSelectChange: (
|
|
97
|
+
handleRemoteSelectChange: (data: RecordStringNumber[], config: FormFieldsItem) => void;
|
|
81
98
|
handleSelectModalChange: (data: RecordStringNumber[], config: FormFieldsItem) => void;
|
|
99
|
+
handleCustomSelectModelClick: (config: FormFieldsItem) => void;
|
|
100
|
+
handleLadderPriceAfterSelect: (data: RecordStringNumber[], config: FormFieldsItem) => void;
|
|
82
101
|
handleDateChange: (value: string, config: FormFieldsItem) => void;
|
|
83
102
|
handleCodeChange: (value: string, config: FormFieldsItem) => void;
|
|
103
|
+
filterOption: (input: string, option: any) => boolean;
|
|
84
104
|
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
|
|
85
105
|
readonly groupName: {
|
|
86
106
|
readonly type: PropType<string>;
|
|
@@ -118,6 +138,10 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
118
138
|
readonly type: PropType<boolean>;
|
|
119
139
|
readonly default: true;
|
|
120
140
|
};
|
|
141
|
+
readonly enableTile: {
|
|
142
|
+
readonly type: PropType<"0" | "1">;
|
|
143
|
+
readonly default: "1";
|
|
144
|
+
};
|
|
121
145
|
}>>, {
|
|
122
146
|
readonly buttons: PageButton[];
|
|
123
147
|
readonly extend: Record<string, any>;
|
|
@@ -128,5 +152,6 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
128
152
|
readonly sortOrder: string;
|
|
129
153
|
readonly formFields: FormFieldsItem[];
|
|
130
154
|
readonly shake: boolean;
|
|
155
|
+
readonly enableTile: "0" | "1";
|
|
131
156
|
}, {}>>;
|
|
132
157
|
export default _default;
|
|
@@ -37,6 +37,10 @@ export declare const editFormProps: {
|
|
|
37
37
|
readonly type: PropType<boolean>;
|
|
38
38
|
readonly default: true;
|
|
39
39
|
};
|
|
40
|
+
readonly enableTile: {
|
|
41
|
+
readonly type: PropType<"0" | "1">;
|
|
42
|
+
readonly default: "1";
|
|
43
|
+
};
|
|
40
44
|
};
|
|
41
45
|
export type EditFormProps = ExtractPropTypes<typeof editFormProps>;
|
|
42
46
|
export interface EditFormReturnType {
|