@qqt-product/ui 16.0.4 → 17.0.0
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 +23830 -24620
- package/dist/index.umd.js +109 -109
- package/dist/lib/components/audit-modal/src/hook/use-audit-config-hook.d.ts +1 -1
- package/dist/lib/components/businessI18n/index.d.ts +2607 -0
- package/dist/lib/components/businessI18n/src/business-i18n.vue.d.ts +2604 -0
- package/dist/lib/components/card-list-layout/index.d.ts +4 -4
- 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 +4 -4
- package/dist/lib/components/checkbox/index.d.ts +1 -1
- package/dist/lib/components/checkbox/src/checkbox-types.d.ts +1 -0
- package/dist/lib/components/checkbox/src/checkbox.vue.d.ts +1 -1
- package/dist/lib/components/code-editor-model/src/code-editor-model.vue.d.ts +1 -1
- package/dist/lib/components/countdown/index.d.ts +1 -1
- package/dist/lib/components/countdown/src/countdown.d.ts +1 -1
- package/dist/lib/components/currency/index.d.ts +2 -2
- package/dist/lib/components/currency/src/currency.vue.d.ts +2 -2
- package/dist/lib/components/detail-form/index.d.ts +2 -2
- package/dist/lib/components/detail-form/src/detail-form.vue.d.ts +2 -2
- package/dist/lib/components/detail-grid/index.d.ts +20 -2
- package/dist/lib/components/detail-grid/src/detail-grid.vue.d.ts +21 -3
- package/dist/lib/components/detail-page-layout/index.d.ts +1 -0
- package/dist/lib/components/detail-page-layout/src/detail-page-layout.vue.d.ts +1 -0
- package/dist/lib/components/edit-form/index.d.ts +1 -1
- package/dist/lib/components/edit-form/src/edit-form.vue.d.ts +1 -1
- package/dist/lib/components/edit-grid/index.d.ts +20 -2
- package/dist/lib/components/edit-grid/src/edit-grid-types.d.ts +9 -1
- package/dist/lib/components/edit-grid/src/edit-grid.vue.d.ts +20 -2
- package/dist/lib/components/edit-grid/src/hook/use-grid-config-hook.d.ts +1 -0
- package/dist/lib/components/edit-page-layout/index.d.ts +1 -0
- package/dist/lib/components/edit-page-layout/src/edit-page-layout-types.d.ts +30 -17
- package/dist/lib/components/edit-page-layout/src/edit-page-layout.vue.d.ts +1 -0
- package/dist/lib/components/edit-page-layout/src/types.d.ts +1 -1
- package/dist/lib/components/empty/index.d.ts +2 -2
- package/dist/lib/components/index.d.ts +4 -2
- package/dist/lib/components/layout/index.d.ts +0 -33
- package/dist/lib/components/layout/src/index.vue.d.ts +0 -33
- package/dist/lib/components/layout-pattern/index.d.ts +1 -0
- package/dist/lib/components/layout-pattern/src/components/tab.vue.d.ts +1 -0
- package/dist/lib/components/layout-pattern/src/components/tabDetail.vue.d.ts +1 -0
- package/dist/lib/components/layout-pattern/src/layout-pattern.vue.d.ts +1 -0
- package/dist/lib/components/menu/src/index.d.ts +1 -1
- package/dist/lib/components/multipane/index.d.ts +50 -0
- package/dist/lib/components/multipaneResizer/index.d.ts +42 -0
- package/dist/lib/components/page-layout/index.d.ts +5 -5
- package/dist/lib/components/page-layout/src/constant/symbol.d.ts +2 -0
- package/dist/lib/components/page-layout/src/hook/use-audit-button.d.ts +2 -2
- package/dist/lib/components/page-layout/src/hook/use-excel-import.d.ts +1 -1
- package/dist/lib/components/page-layout/src/hook/use-file-upload.d.ts +3 -3
- package/dist/lib/components/page-layout/src/hook/use-grid-events.d.ts +3 -1
- package/dist/lib/components/page-layout/src/hook/use-promise-step.d.ts +1 -1
- package/dist/lib/components/page-layout/src/page-layout.vue.d.ts +5 -5
- 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.vue.d.ts +2 -34
- package/dist/lib/components/select/index.d.ts +1 -1
- package/dist/lib/components/select/src/select.vue.d.ts +1 -1
- package/dist/lib/components/upload-file/index.d.ts +1 -1
- package/dist/lib/components/upload-file/src/upload-file.vue.d.ts +1 -1
- package/dist/lib/components/upload-image/index.d.ts +38 -6
- package/dist/lib/components/upload-image/src/upload-image.vue.d.ts +36 -5
- package/dist/lib/utils/event.d.ts +4 -2
- package/dist/style.css +1 -1
- package/package.json +14 -14
- package/dist/lib/components/ladder-price/index.d.ts +0 -85
- package/dist/lib/components/ladder-price/src/LadderNotPriceModal.vue.d.ts +0 -41
- package/dist/lib/components/ladder-price/src/LadderPriceModal.vue.d.ts +0 -42
- package/dist/lib/components/ladder-price/src/hook/use-type-hook.d.ts +0 -9
- package/dist/lib/components/ladder-price/src/ladder-not-price-modal-types.d.ts +0 -16
- package/dist/lib/components/ladder-price/src/ladder-price-modal-types.d.ts +0 -15
- package/dist/lib/components/ladder-price/src/ladder-price-types.d.ts +0 -43
- package/dist/lib/components/ladder-price/src/ladder-price.vue.d.ts +0 -82
- package/dist/lib/components/ladder-price/src/use-ladder-not-price-modal.d.ts +0 -6
- package/dist/lib/components/ladder-price/src/use-ladder-price.d.ts +0 -6
|
@@ -80,10 +80,10 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
80
80
|
pageChange: VxePagerEvents.PageChange;
|
|
81
81
|
tableData: Ref<ObjectMap[]>;
|
|
82
82
|
columns: Ref<GridColumn[]>;
|
|
83
|
-
tabsList: Ref<TabListItem[]>;
|
|
84
|
-
titleProp: Ref<string>;
|
|
85
83
|
buttons: Ref<OptColumnListItem[]>;
|
|
86
84
|
pagerConfig: Ref<VxeGridPropTypes.PagerConfig>;
|
|
85
|
+
tabsList: Ref<TabListItem[]>;
|
|
86
|
+
titleProp: Ref<string>;
|
|
87
87
|
listConfig: Ref<ListPageLayoutProps>;
|
|
88
88
|
queryConfig: Ref<Record<string, any>>;
|
|
89
89
|
showSidebar: Ref<boolean>;
|
|
@@ -127,10 +127,10 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
127
127
|
}>>, {
|
|
128
128
|
tableData: ObjectMap[];
|
|
129
129
|
columns: GridColumn[];
|
|
130
|
-
tabsList: TabListItem[];
|
|
131
|
-
titleProp: string;
|
|
132
130
|
buttons: OptColumnListItem[];
|
|
133
131
|
pagerConfig: VxeGridPropTypes.PagerConfig;
|
|
132
|
+
tabsList: TabListItem[];
|
|
133
|
+
titleProp: string;
|
|
134
134
|
listConfig: ListPageLayoutProps;
|
|
135
135
|
queryConfig: Record<string, any>;
|
|
136
136
|
showSidebar: boolean;
|
|
@@ -62,9 +62,9 @@ declare const _sfc_main: DefineComponent<{
|
|
|
62
62
|
title: string;
|
|
63
63
|
tableData: ObjectMap[];
|
|
64
64
|
columns: GridColumn[];
|
|
65
|
-
dataIndex: string;
|
|
66
|
-
titleProp: string;
|
|
67
65
|
buttons: OptColumnListItem[];
|
|
68
66
|
pagerConfig: Record<string, any>;
|
|
67
|
+
dataIndex: string;
|
|
68
|
+
titleProp: string;
|
|
69
69
|
}, {}>;
|
|
70
70
|
export default _sfc_main;
|
|
@@ -34,10 +34,10 @@ declare const _sfc_main: DefineComponent<{
|
|
|
34
34
|
handleExtendLink: (col: object, column: object) => void;
|
|
35
35
|
title: Ref<string>;
|
|
36
36
|
columns: Ref<GridColumn[]>;
|
|
37
|
+
buttons: Ref<OptColumnListItem[]>;
|
|
37
38
|
dataIndex: Ref<string>;
|
|
38
39
|
item: Ref<Record<string, any>>;
|
|
39
40
|
titleProp: Ref<string>;
|
|
40
|
-
buttons: Ref<OptColumnListItem[]>;
|
|
41
41
|
localButtons: ComputedRef<OptColumnListItem[]>;
|
|
42
42
|
extraColumns: ComputedRef<GridColumn[]>;
|
|
43
43
|
localColumns: ComputedRef<GridColumn[]>;
|
|
@@ -71,9 +71,9 @@ declare const _sfc_main: DefineComponent<{
|
|
|
71
71
|
}>>, {
|
|
72
72
|
title: string;
|
|
73
73
|
columns: GridColumn[];
|
|
74
|
+
buttons: OptColumnListItem[];
|
|
74
75
|
dataIndex: string;
|
|
75
76
|
item: Record<string, any>;
|
|
76
77
|
titleProp: string;
|
|
77
|
-
buttons: OptColumnListItem[];
|
|
78
78
|
}, {}>;
|
|
79
79
|
export default _sfc_main;
|
|
@@ -77,10 +77,10 @@ declare const _sfc_main: DefineComponent<{
|
|
|
77
77
|
pageChange: VxePagerEvents.PageChange;
|
|
78
78
|
tableData: Ref<ObjectMap[]>;
|
|
79
79
|
columns: Ref<GridColumn[]>;
|
|
80
|
-
tabsList: Ref<TabListItem[]>;
|
|
81
|
-
titleProp: Ref<string>;
|
|
82
80
|
buttons: Ref<OptColumnListItem[]>;
|
|
83
81
|
pagerConfig: Ref<VxeGridPropTypes.PagerConfig>;
|
|
82
|
+
tabsList: Ref<TabListItem[]>;
|
|
83
|
+
titleProp: Ref<string>;
|
|
84
84
|
listConfig: Ref<ListPageLayoutProps>;
|
|
85
85
|
queryConfig: Ref<Record<string, any>>;
|
|
86
86
|
showSidebar: Ref<boolean>;
|
|
@@ -124,10 +124,10 @@ declare const _sfc_main: DefineComponent<{
|
|
|
124
124
|
}>>, {
|
|
125
125
|
tableData: ObjectMap[];
|
|
126
126
|
columns: GridColumn[];
|
|
127
|
-
tabsList: TabListItem[];
|
|
128
|
-
titleProp: string;
|
|
129
127
|
buttons: OptColumnListItem[];
|
|
130
128
|
pagerConfig: VxeGridPropTypes.PagerConfig;
|
|
129
|
+
tabsList: TabListItem[];
|
|
130
|
+
titleProp: string;
|
|
131
131
|
listConfig: ListPageLayoutProps;
|
|
132
132
|
queryConfig: Record<string, any>;
|
|
133
133
|
showSidebar: boolean;
|
|
@@ -102,12 +102,12 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
102
102
|
readonly value: string;
|
|
103
103
|
readonly onChange: ((value: string) => void) | ((value: string) => void)[];
|
|
104
104
|
readonly busAccount: string;
|
|
105
|
+
readonly colSpan: string;
|
|
105
106
|
readonly options: Option[];
|
|
106
107
|
readonly 'onUpdate:value': ((value: string) => void) | ((value: string) => void)[];
|
|
107
108
|
readonly dictCode: string;
|
|
108
109
|
readonly required: "0" | "1";
|
|
109
110
|
readonly isLayout: boolean;
|
|
110
|
-
readonly colSpan: string;
|
|
111
111
|
readonly selectControlType: string;
|
|
112
112
|
}, {}>>;
|
|
113
113
|
export default _default;
|
|
@@ -98,12 +98,12 @@ declare const _sfc_main: DefineComponent<{
|
|
|
98
98
|
readonly value: string;
|
|
99
99
|
readonly onChange: ((value: string) => void) | ((value: string) => void)[];
|
|
100
100
|
readonly busAccount: string;
|
|
101
|
+
readonly colSpan: string;
|
|
101
102
|
readonly options: Option[];
|
|
102
103
|
readonly 'onUpdate:value': ((value: string) => void) | ((value: string) => void)[];
|
|
103
104
|
readonly dictCode: string;
|
|
104
105
|
readonly required: "0" | "1";
|
|
105
106
|
readonly isLayout: boolean;
|
|
106
|
-
readonly colSpan: string;
|
|
107
107
|
readonly selectControlType: string;
|
|
108
108
|
}, {}>;
|
|
109
109
|
export default _sfc_main;
|
|
@@ -206,8 +206,8 @@ declare const _sfc_main: DefineComponent<{
|
|
|
206
206
|
"onUpdate:editorModalFlag"?: ((...args: any[]) => any) | undefined;
|
|
207
207
|
}, {
|
|
208
208
|
value: string;
|
|
209
|
-
options: Record<string, any>;
|
|
210
209
|
disabled: boolean;
|
|
210
|
+
options: Record<string, any>;
|
|
211
211
|
editorModalFlag: boolean;
|
|
212
212
|
zIndex: number;
|
|
213
213
|
isAllowToOpenMode: boolean;
|
|
@@ -111,12 +111,12 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
111
111
|
readonly progress: ((params: ProgressParams) => void) | ((params: ProgressParams) => void)[];
|
|
112
112
|
readonly time: number;
|
|
113
113
|
readonly end: (() => void) | (() => void)[];
|
|
114
|
+
readonly transform: <T>(props: T) => T;
|
|
114
115
|
readonly start: (() => void) | (() => void)[];
|
|
115
116
|
readonly autoStart: boolean;
|
|
116
117
|
readonly emitEvents: boolean;
|
|
117
118
|
readonly interval: number;
|
|
118
119
|
readonly now: () => Promise<Map>;
|
|
119
120
|
readonly tag: string;
|
|
120
|
-
readonly transform: <T>(props: T) => T;
|
|
121
121
|
}, {}>>;
|
|
122
122
|
export default _default;
|
|
@@ -107,12 +107,12 @@ declare const _default: DefineComponent<{
|
|
|
107
107
|
readonly progress: ((params: ProgressParams) => void) | ((params: ProgressParams) => void)[];
|
|
108
108
|
readonly time: number;
|
|
109
109
|
readonly end: (() => void) | (() => void)[];
|
|
110
|
+
readonly transform: <T>(props: T) => T;
|
|
110
111
|
readonly start: (() => void) | (() => void)[];
|
|
111
112
|
readonly autoStart: boolean;
|
|
112
113
|
readonly emitEvents: boolean;
|
|
113
114
|
readonly interval: number;
|
|
114
115
|
readonly now: () => Promise<Map>;
|
|
115
116
|
readonly tag: string;
|
|
116
|
-
readonly transform: <T>(props: T) => T;
|
|
117
117
|
}, {}>;
|
|
118
118
|
export default _default;
|
|
@@ -37,8 +37,8 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
37
37
|
}, {
|
|
38
38
|
value: Ref<string | number>;
|
|
39
39
|
type: Ref<Type>;
|
|
40
|
-
disabled: Ref<boolean>;
|
|
41
40
|
config: Ref<Record<string, any>>;
|
|
41
|
+
disabled: Ref<boolean>;
|
|
42
42
|
dataFormat: Ref<string>;
|
|
43
43
|
showInputNumber: Ref<boolean>;
|
|
44
44
|
showClassName: Ref<boolean>;
|
|
@@ -88,8 +88,8 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
88
88
|
}, {
|
|
89
89
|
readonly value: string | number;
|
|
90
90
|
readonly type: Type;
|
|
91
|
-
readonly disabled: boolean;
|
|
92
91
|
readonly config: Record<string, any>;
|
|
92
|
+
readonly disabled: boolean;
|
|
93
93
|
readonly dataFormat: string;
|
|
94
94
|
readonly showInputNumber: boolean;
|
|
95
95
|
readonly showClassName: boolean;
|
|
@@ -33,8 +33,8 @@ declare const _sfc_main: DefineComponent<{
|
|
|
33
33
|
}, {
|
|
34
34
|
value: Ref<string | number>;
|
|
35
35
|
type: Ref<Type>;
|
|
36
|
-
disabled: Ref<boolean>;
|
|
37
36
|
config: Ref<Record<string, any>>;
|
|
37
|
+
disabled: Ref<boolean>;
|
|
38
38
|
dataFormat: Ref<string>;
|
|
39
39
|
showInputNumber: Ref<boolean>;
|
|
40
40
|
showClassName: Ref<boolean>;
|
|
@@ -84,8 +84,8 @@ declare const _sfc_main: DefineComponent<{
|
|
|
84
84
|
}, {
|
|
85
85
|
readonly value: string | number;
|
|
86
86
|
readonly type: Type;
|
|
87
|
-
readonly disabled: boolean;
|
|
88
87
|
readonly config: Record<string, any>;
|
|
88
|
+
readonly disabled: boolean;
|
|
89
89
|
readonly dataFormat: string;
|
|
90
90
|
readonly showInputNumber: boolean;
|
|
91
91
|
readonly showClassName: boolean;
|
|
@@ -70,7 +70,7 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
70
70
|
columnItem: FormFieldsItem;
|
|
71
71
|
uploadBtnStatus: boolean;
|
|
72
72
|
groupType: string;
|
|
73
|
-
operationBtn:
|
|
73
|
+
operationBtn: any;
|
|
74
74
|
};
|
|
75
75
|
getSpan: (field: FormFieldsItem) => number;
|
|
76
76
|
getStaticSelectLabel: (field: FormFieldsItem) => string;
|
|
@@ -123,13 +123,13 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
123
123
|
};
|
|
124
124
|
}>>, {
|
|
125
125
|
readonly buttons: PageButton[];
|
|
126
|
+
readonly extend: Record<string, any>;
|
|
126
127
|
readonly groupName: string;
|
|
127
128
|
readonly groupNameI18nKey: string;
|
|
128
129
|
readonly groupCode: string;
|
|
129
130
|
readonly groupType: string;
|
|
130
131
|
readonly sortOrder: string;
|
|
131
132
|
readonly formFields: FormFieldsItem[];
|
|
132
|
-
readonly extend: Record<string, any>;
|
|
133
133
|
readonly shake: boolean;
|
|
134
134
|
readonly slot: boolean;
|
|
135
135
|
readonly enableTile: "0" | "1";
|
|
@@ -66,7 +66,7 @@ declare const _sfc_main: DefineComponent<{
|
|
|
66
66
|
columnItem: FormFieldsItem;
|
|
67
67
|
uploadBtnStatus: boolean;
|
|
68
68
|
groupType: string;
|
|
69
|
-
operationBtn:
|
|
69
|
+
operationBtn: any;
|
|
70
70
|
};
|
|
71
71
|
getSpan: (field: FormFieldsItem) => number;
|
|
72
72
|
getStaticSelectLabel: (field: FormFieldsItem) => string;
|
|
@@ -119,13 +119,13 @@ declare const _sfc_main: DefineComponent<{
|
|
|
119
119
|
};
|
|
120
120
|
}>>, {
|
|
121
121
|
readonly buttons: PageButton[];
|
|
122
|
+
readonly extend: Record<string, any>;
|
|
122
123
|
readonly groupName: string;
|
|
123
124
|
readonly groupNameI18nKey: string;
|
|
124
125
|
readonly groupCode: string;
|
|
125
126
|
readonly groupType: string;
|
|
126
127
|
readonly sortOrder: string;
|
|
127
128
|
readonly formFields: FormFieldsItem[];
|
|
128
|
-
readonly extend: Record<string, any>;
|
|
129
129
|
readonly shake: boolean;
|
|
130
130
|
readonly slot: boolean;
|
|
131
131
|
readonly enableTile: "0" | "1";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { RecordString } from '../select-modal';
|
|
2
2
|
import type { SrmI18n } from '../../utils/type';
|
|
3
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, VxeGridListeners } from 'vxe-table';
|
|
4
|
-
import type { PageButton, ColumnItem, PageButtonWithGroupCode, PageDownLoadButton, PageButtonDeleteFileRow } from '../edit-page-layout';
|
|
4
|
+
import type { PageButton, ColumnItem, PrefixColumnType, PageButtonWithGroupCode, PageDownLoadButton, PageButtonDeleteFileRow } from '../edit-page-layout';
|
|
5
5
|
import type { DefineComponent, PropType, Ref, ComputedRef, VNode, RendererNode, RendererElement, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes } from 'vue';
|
|
6
6
|
import type { SFCWithInstall } from '@qqt-product/utils/dist/modules/withInstall';
|
|
7
7
|
import QDetailForm from './src/detail-grid.vue';
|
|
@@ -63,6 +63,14 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
63
63
|
readonly type: PropType<boolean>;
|
|
64
64
|
readonly default: true;
|
|
65
65
|
};
|
|
66
|
+
readonly setPrefixColumn: {
|
|
67
|
+
readonly type: PropType<boolean>;
|
|
68
|
+
readonly default: true;
|
|
69
|
+
};
|
|
70
|
+
readonly prefixColumnType: {
|
|
71
|
+
readonly type: PropType<PrefixColumnType>;
|
|
72
|
+
readonly default: "checkbox";
|
|
73
|
+
};
|
|
66
74
|
}, {
|
|
67
75
|
groupName: Ref<string>;
|
|
68
76
|
groupNameI18nKey: Ref<string>;
|
|
@@ -2702,20 +2710,30 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
2702
2710
|
readonly type: PropType<boolean>;
|
|
2703
2711
|
readonly default: true;
|
|
2704
2712
|
};
|
|
2713
|
+
readonly setPrefixColumn: {
|
|
2714
|
+
readonly type: PropType<boolean>;
|
|
2715
|
+
readonly default: true;
|
|
2716
|
+
};
|
|
2717
|
+
readonly prefixColumnType: {
|
|
2718
|
+
readonly type: PropType<PrefixColumnType>;
|
|
2719
|
+
readonly default: "checkbox";
|
|
2720
|
+
};
|
|
2705
2721
|
}>>, {
|
|
2706
2722
|
readonly total: Record<string, any>;
|
|
2707
2723
|
readonly columns: ColumnItem[];
|
|
2708
2724
|
readonly buttons: PageButton[];
|
|
2725
|
+
readonly extend: Record<string, any>;
|
|
2709
2726
|
readonly groupName: string;
|
|
2710
2727
|
readonly groupNameI18nKey: string;
|
|
2711
2728
|
readonly groupCode: string;
|
|
2712
2729
|
readonly groupType: string;
|
|
2713
2730
|
readonly sortOrder: string;
|
|
2714
|
-
readonly extend: Record<string, any>;
|
|
2715
2731
|
readonly shake: boolean;
|
|
2716
2732
|
readonly slot: boolean;
|
|
2717
2733
|
readonly vxeGridConfig: VxeGridProps<VxeTableDataRow>;
|
|
2718
2734
|
readonly useAllConfig: boolean;
|
|
2719
2735
|
readonly setMaxHeight: boolean;
|
|
2736
|
+
readonly setPrefixColumn: boolean;
|
|
2737
|
+
readonly prefixColumnType: PrefixColumnType;
|
|
2720
2738
|
}, {}>>;
|
|
2721
2739
|
export default _default;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { SrmI18n } from '../../../utils/type';
|
|
2
2
|
import type { DefineComponent, PropType, Ref, ComputedRef, VNode, RendererNode, RendererElement, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes } from 'vue';
|
|
3
|
-
import type { ColumnItem, PageButton, PageButtonWithGroupCode, PageButtonDeleteFileRow, RecordString, PageDownLoadButton } from '../../edit-page-layout';
|
|
4
|
-
import type { SizeType, VxeTablePropTypes, VxeColumnPropTypes, VxeTooltipPropTypes, VxeColumnSlotTypes, VxeTableDefines, SlotVNodeType, VxeTableConstructor, VxeTablePrivateMethods, VxeGridConstructor, VxeTableProDefines, VxePagerPropTypes, VxeGridPropTypes, VxeButtonPropTypes, VxeToolbarPropTypes, VxeFormPropTypes, VxeFormItemPropTypes, VxeFormItemProps, FormItemTitleRenderParams, FormItemContentRenderParams, VxeGridInstance, VxeGridProps, VxeGridListeners
|
|
3
|
+
import type { ColumnItem, PrefixColumnType, PageButton, PageButtonWithGroupCode, PageButtonDeleteFileRow, RecordString, PageDownLoadButton } from '../../edit-page-layout';
|
|
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, VxeGridListeners } from 'vxe-table';
|
|
5
5
|
declare const _sfc_main: DefineComponent<{
|
|
6
6
|
readonly groupName: {
|
|
7
7
|
readonly type: PropType<string>;
|
|
@@ -59,6 +59,14 @@ declare const _sfc_main: DefineComponent<{
|
|
|
59
59
|
readonly type: PropType<boolean>;
|
|
60
60
|
readonly default: true;
|
|
61
61
|
};
|
|
62
|
+
readonly setPrefixColumn: {
|
|
63
|
+
readonly type: PropType<boolean>;
|
|
64
|
+
readonly default: true;
|
|
65
|
+
};
|
|
66
|
+
readonly prefixColumnType: {
|
|
67
|
+
readonly type: PropType<PrefixColumnType>;
|
|
68
|
+
readonly default: "checkbox";
|
|
69
|
+
};
|
|
62
70
|
}, {
|
|
63
71
|
groupName: Ref<string>;
|
|
64
72
|
groupNameI18nKey: Ref<string>;
|
|
@@ -2698,20 +2706,30 @@ declare const _sfc_main: DefineComponent<{
|
|
|
2698
2706
|
readonly type: PropType<boolean>;
|
|
2699
2707
|
readonly default: true;
|
|
2700
2708
|
};
|
|
2709
|
+
readonly setPrefixColumn: {
|
|
2710
|
+
readonly type: PropType<boolean>;
|
|
2711
|
+
readonly default: true;
|
|
2712
|
+
};
|
|
2713
|
+
readonly prefixColumnType: {
|
|
2714
|
+
readonly type: PropType<PrefixColumnType>;
|
|
2715
|
+
readonly default: "checkbox";
|
|
2716
|
+
};
|
|
2701
2717
|
}>>, {
|
|
2702
2718
|
readonly total: Record<string, any>;
|
|
2703
2719
|
readonly columns: ColumnItem[];
|
|
2704
2720
|
readonly buttons: PageButton[];
|
|
2721
|
+
readonly extend: Record<string, any>;
|
|
2705
2722
|
readonly groupName: string;
|
|
2706
2723
|
readonly groupNameI18nKey: string;
|
|
2707
2724
|
readonly groupCode: string;
|
|
2708
2725
|
readonly groupType: string;
|
|
2709
2726
|
readonly sortOrder: string;
|
|
2710
|
-
readonly extend: Record<string, any>;
|
|
2711
2727
|
readonly shake: boolean;
|
|
2712
2728
|
readonly slot: boolean;
|
|
2713
2729
|
readonly vxeGridConfig: VxeGridProps<VxeTableDataRow>;
|
|
2714
2730
|
readonly useAllConfig: boolean;
|
|
2715
2731
|
readonly setMaxHeight: boolean;
|
|
2732
|
+
readonly setPrefixColumn: boolean;
|
|
2733
|
+
readonly prefixColumnType: PrefixColumnType;
|
|
2716
2734
|
}, {}>;
|
|
2717
2735
|
export default _sfc_main;
|
|
@@ -120,6 +120,7 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
120
120
|
}[];
|
|
121
121
|
computedCustomSlotFields: ComputedRef<ComputedFormFieldsItem[]>;
|
|
122
122
|
handlePageBack: () => void;
|
|
123
|
+
passScopedSlots: string[];
|
|
123
124
|
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
|
|
124
125
|
showPageHeader: {
|
|
125
126
|
type: PropType<boolean>;
|
|
@@ -116,6 +116,7 @@ declare const _sfc_main: DefineComponent<{
|
|
|
116
116
|
}[];
|
|
117
117
|
computedCustomSlotFields: ComputedRef<ComputedFormFieldsItem[]>;
|
|
118
118
|
handlePageBack: () => void;
|
|
119
|
+
passScopedSlots: string[];
|
|
119
120
|
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
|
|
120
121
|
showPageHeader: {
|
|
121
122
|
type: PropType<boolean>;
|
|
@@ -151,13 +151,13 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
151
151
|
};
|
|
152
152
|
}>>, {
|
|
153
153
|
readonly buttons: PageButton[];
|
|
154
|
+
readonly extend: Record<string, any>;
|
|
154
155
|
readonly groupName: string;
|
|
155
156
|
readonly groupNameI18nKey: string;
|
|
156
157
|
readonly groupCode: string;
|
|
157
158
|
readonly groupType: string;
|
|
158
159
|
readonly sortOrder: string;
|
|
159
160
|
readonly formFields: FormFieldsItem[];
|
|
160
|
-
readonly extend: Record<string, any>;
|
|
161
161
|
readonly shake: boolean;
|
|
162
162
|
readonly slot: boolean;
|
|
163
163
|
readonly enableTile: "0" | "1";
|
|
@@ -146,13 +146,13 @@ declare const _sfc_main: DefineComponent<{
|
|
|
146
146
|
};
|
|
147
147
|
}>>, {
|
|
148
148
|
readonly buttons: PageButton[];
|
|
149
|
+
readonly extend: Record<string, any>;
|
|
149
150
|
readonly groupName: string;
|
|
150
151
|
readonly groupNameI18nKey: string;
|
|
151
152
|
readonly groupCode: string;
|
|
152
153
|
readonly groupType: string;
|
|
153
154
|
readonly sortOrder: string;
|
|
154
155
|
readonly formFields: FormFieldsItem[];
|
|
155
|
-
readonly extend: Record<string, any>;
|
|
156
156
|
readonly shake: boolean;
|
|
157
157
|
readonly slot: boolean;
|
|
158
158
|
readonly enableTile: "0" | "1";
|
|
@@ -2,7 +2,7 @@ import type { ruleItem } from './src/hook/use-grid-config-hook';
|
|
|
2
2
|
import type { RecordString } from '../select-modal';
|
|
3
3
|
import type { SrmI18n } from '../../utils/type';
|
|
4
4
|
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, VxeTableListeners, VxeGridListeners } from 'vxe-table';
|
|
5
|
-
import type { PageButton, ColumnItem, PageButtonWithGroupCode, PageDownLoadButton, PageButtonDeleteFileRow } from '../edit-page-layout';
|
|
5
|
+
import type { PageButton, ColumnItem, PrefixColumnType, PageButtonWithGroupCode, PageDownLoadButton, PageButtonDeleteFileRow } from '../edit-page-layout';
|
|
6
6
|
import type { DefineComponent, PropType, Ref, ComputedRef, VNode, RendererNode, RendererElement, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes } from 'vue';
|
|
7
7
|
import type { SFCWithInstall } from '@qqt-product/utils/dist/modules/withInstall';
|
|
8
8
|
import QEditForm from './src/edit-grid.vue';
|
|
@@ -65,6 +65,14 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
65
65
|
readonly type: PropType<boolean>;
|
|
66
66
|
readonly default: true;
|
|
67
67
|
};
|
|
68
|
+
readonly setPrefixColumn: {
|
|
69
|
+
readonly type: PropType<boolean>;
|
|
70
|
+
readonly default: true;
|
|
71
|
+
};
|
|
72
|
+
readonly prefixColumnType: {
|
|
73
|
+
readonly type: PropType<PrefixColumnType>;
|
|
74
|
+
readonly default: "checkbox";
|
|
75
|
+
};
|
|
68
76
|
}, {
|
|
69
77
|
groupName: Ref<string>;
|
|
70
78
|
groupNameI18nKey: Ref<string>;
|
|
@@ -2706,20 +2714,30 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
2706
2714
|
readonly type: PropType<boolean>;
|
|
2707
2715
|
readonly default: true;
|
|
2708
2716
|
};
|
|
2717
|
+
readonly setPrefixColumn: {
|
|
2718
|
+
readonly type: PropType<boolean>;
|
|
2719
|
+
readonly default: true;
|
|
2720
|
+
};
|
|
2721
|
+
readonly prefixColumnType: {
|
|
2722
|
+
readonly type: PropType<PrefixColumnType>;
|
|
2723
|
+
readonly default: "checkbox";
|
|
2724
|
+
};
|
|
2709
2725
|
}>>, {
|
|
2710
2726
|
readonly total: Record<string, any>;
|
|
2711
2727
|
readonly columns: ColumnItem[];
|
|
2712
2728
|
readonly buttons: PageButton[];
|
|
2729
|
+
readonly extend: Record<string, any>;
|
|
2713
2730
|
readonly groupName: string;
|
|
2714
2731
|
readonly groupNameI18nKey: string;
|
|
2715
2732
|
readonly groupCode: string;
|
|
2716
2733
|
readonly groupType: string;
|
|
2717
2734
|
readonly sortOrder: string;
|
|
2718
|
-
readonly extend: Record<string, any>;
|
|
2719
2735
|
readonly shake: boolean;
|
|
2720
2736
|
readonly slot: boolean;
|
|
2721
2737
|
readonly vxeGridConfig: VxeGridProps<VxeTableDataRow>;
|
|
2722
2738
|
readonly useAllConfig: boolean;
|
|
2723
2739
|
readonly setMaxHeight: boolean;
|
|
2740
|
+
readonly setPrefixColumn: boolean;
|
|
2741
|
+
readonly prefixColumnType: PrefixColumnType;
|
|
2724
2742
|
}, {}>>;
|
|
2725
2743
|
export default _default;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { ComputedRef, PropType, ExtractPropTypes } from 'vue';
|
|
2
|
-
import { PageButton, ColumnItem } from '../../edit-page-layout';
|
|
2
|
+
import type { PageButton, ColumnItem, PrefixColumnType } from '../../edit-page-layout';
|
|
3
3
|
import type { VxeTableDataRow, VxeGridProps } from 'vxe-table';
|
|
4
4
|
export declare const editGridProps: {
|
|
5
5
|
readonly groupName: {
|
|
@@ -58,6 +58,14 @@ export declare const editGridProps: {
|
|
|
58
58
|
readonly type: PropType<boolean>;
|
|
59
59
|
readonly default: true;
|
|
60
60
|
};
|
|
61
|
+
readonly setPrefixColumn: {
|
|
62
|
+
readonly type: PropType<boolean>;
|
|
63
|
+
readonly default: true;
|
|
64
|
+
};
|
|
65
|
+
readonly prefixColumnType: {
|
|
66
|
+
readonly type: PropType<PrefixColumnType>;
|
|
67
|
+
readonly default: "checkbox";
|
|
68
|
+
};
|
|
61
69
|
};
|
|
62
70
|
export type EditGridProps = ExtractPropTypes<typeof editGridProps>;
|
|
63
71
|
export interface EditGridReturnType {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { ruleItem } from './hook/use-grid-config-hook';
|
|
2
2
|
import type { SrmI18n } from '../../../utils/type';
|
|
3
3
|
import type { DefineComponent, PropType, Ref, ComputedRef, VNode, RendererNode, RendererElement, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes } from 'vue';
|
|
4
|
-
import type { ColumnItem, PageButton, PageButtonWithGroupCode, RecordString, PageDownLoadButton, PageButtonDeleteFileRow } from '../../edit-page-layout';
|
|
4
|
+
import type { ColumnItem, PrefixColumnType, PageButton, PageButtonWithGroupCode, RecordString, PageDownLoadButton, PageButtonDeleteFileRow } from '../../edit-page-layout';
|
|
5
5
|
import type { SizeType, VxeTablePropTypes, VxeColumnPropTypes, VxeTooltipPropTypes, VxeColumnSlotTypes, SlotVNodeType, VxeTableConstructor, VxeTablePrivateMethods, VxeGridConstructor, VxeTableProDefines, VxePagerPropTypes, VxeGridPropTypes, VxeButtonPropTypes, VxeToolbarPropTypes, VxeFormPropTypes, VxeFormItemPropTypes, VxeFormItemProps, FormItemTitleRenderParams, FormItemContentRenderParams, VxeGridInstance, VxeGridProps, VxeTableListeners, VxeGridListeners, VxeTableDataRow, VxeTableDefines } from 'vxe-table';
|
|
6
6
|
declare const _sfc_main: DefineComponent<{
|
|
7
7
|
readonly groupName: {
|
|
@@ -60,6 +60,14 @@ declare const _sfc_main: DefineComponent<{
|
|
|
60
60
|
readonly type: PropType<boolean>;
|
|
61
61
|
readonly default: true;
|
|
62
62
|
};
|
|
63
|
+
readonly setPrefixColumn: {
|
|
64
|
+
readonly type: PropType<boolean>;
|
|
65
|
+
readonly default: true;
|
|
66
|
+
};
|
|
67
|
+
readonly prefixColumnType: {
|
|
68
|
+
readonly type: PropType<PrefixColumnType>;
|
|
69
|
+
readonly default: "checkbox";
|
|
70
|
+
};
|
|
63
71
|
}, {
|
|
64
72
|
groupName: Ref<string>;
|
|
65
73
|
groupNameI18nKey: Ref<string>;
|
|
@@ -2701,20 +2709,30 @@ declare const _sfc_main: DefineComponent<{
|
|
|
2701
2709
|
readonly type: PropType<boolean>;
|
|
2702
2710
|
readonly default: true;
|
|
2703
2711
|
};
|
|
2712
|
+
readonly setPrefixColumn: {
|
|
2713
|
+
readonly type: PropType<boolean>;
|
|
2714
|
+
readonly default: true;
|
|
2715
|
+
};
|
|
2716
|
+
readonly prefixColumnType: {
|
|
2717
|
+
readonly type: PropType<PrefixColumnType>;
|
|
2718
|
+
readonly default: "checkbox";
|
|
2719
|
+
};
|
|
2704
2720
|
}>>, {
|
|
2705
2721
|
readonly total: Record<string, any>;
|
|
2706
2722
|
readonly columns: ColumnItem[];
|
|
2707
2723
|
readonly buttons: PageButton[];
|
|
2724
|
+
readonly extend: Record<string, any>;
|
|
2708
2725
|
readonly groupName: string;
|
|
2709
2726
|
readonly groupNameI18nKey: string;
|
|
2710
2727
|
readonly groupCode: string;
|
|
2711
2728
|
readonly groupType: string;
|
|
2712
2729
|
readonly sortOrder: string;
|
|
2713
|
-
readonly extend: Record<string, any>;
|
|
2714
2730
|
readonly shake: boolean;
|
|
2715
2731
|
readonly slot: boolean;
|
|
2716
2732
|
readonly vxeGridConfig: VxeGridProps<VxeTableDataRow>;
|
|
2717
2733
|
readonly useAllConfig: boolean;
|
|
2718
2734
|
readonly setMaxHeight: boolean;
|
|
2735
|
+
readonly setPrefixColumn: boolean;
|
|
2736
|
+
readonly prefixColumnType: PrefixColumnType;
|
|
2719
2737
|
}, {}>;
|
|
2720
2738
|
export default _sfc_main;
|
|
@@ -116,6 +116,7 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
116
116
|
}[];
|
|
117
117
|
computedCustomSlotFields: ComputedRef<ComputedFormFieldsItem[]>;
|
|
118
118
|
handlePageBack: () => void;
|
|
119
|
+
passScopedSlots: string[];
|
|
119
120
|
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
|
|
120
121
|
showPageHeader: {
|
|
121
122
|
type: PropType<boolean>;
|