@qqt-product/ui 16.0.5 → 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.
Files changed (74) hide show
  1. package/dist/index.es.js +23832 -24625
  2. package/dist/index.umd.js +109 -109
  3. package/dist/lib/components/audit-modal/src/hook/use-audit-config-hook.d.ts +1 -1
  4. package/dist/lib/components/businessI18n/index.d.ts +2607 -0
  5. package/dist/lib/components/businessI18n/src/business-i18n.vue.d.ts +2604 -0
  6. package/dist/lib/components/card-list-layout/index.d.ts +4 -4
  7. package/dist/lib/components/card-list-layout/src/card-content.vue.d.ts +2 -2
  8. package/dist/lib/components/card-list-layout/src/cardItem.vue.d.ts +2 -2
  9. package/dist/lib/components/card-list-layout/src/index.vue.d.ts +4 -4
  10. package/dist/lib/components/checkbox/index.d.ts +1 -1
  11. package/dist/lib/components/checkbox/src/checkbox-types.d.ts +1 -0
  12. package/dist/lib/components/checkbox/src/checkbox.vue.d.ts +1 -1
  13. package/dist/lib/components/code-editor-model/src/code-editor-model.vue.d.ts +1 -1
  14. package/dist/lib/components/countdown/index.d.ts +1 -1
  15. package/dist/lib/components/countdown/src/countdown.d.ts +1 -1
  16. package/dist/lib/components/currency/index.d.ts +2 -2
  17. package/dist/lib/components/currency/src/currency.vue.d.ts +2 -2
  18. package/dist/lib/components/detail-form/index.d.ts +2 -2
  19. package/dist/lib/components/detail-form/src/detail-form.vue.d.ts +2 -2
  20. package/dist/lib/components/detail-grid/index.d.ts +20 -2
  21. package/dist/lib/components/detail-grid/src/detail-grid.vue.d.ts +21 -3
  22. package/dist/lib/components/detail-page-layout/index.d.ts +1 -0
  23. package/dist/lib/components/detail-page-layout/src/detail-page-layout.vue.d.ts +1 -0
  24. package/dist/lib/components/edit-form/index.d.ts +1 -1
  25. package/dist/lib/components/edit-form/src/edit-form.vue.d.ts +1 -1
  26. package/dist/lib/components/edit-grid/index.d.ts +20 -2
  27. package/dist/lib/components/edit-grid/src/edit-grid-types.d.ts +9 -1
  28. package/dist/lib/components/edit-grid/src/edit-grid.vue.d.ts +20 -2
  29. package/dist/lib/components/edit-grid/src/hook/use-grid-config-hook.d.ts +1 -0
  30. package/dist/lib/components/edit-page-layout/index.d.ts +1 -0
  31. package/dist/lib/components/edit-page-layout/src/edit-page-layout-types.d.ts +30 -17
  32. package/dist/lib/components/edit-page-layout/src/edit-page-layout.vue.d.ts +1 -0
  33. package/dist/lib/components/edit-page-layout/src/types.d.ts +1 -1
  34. package/dist/lib/components/empty/index.d.ts +2 -2
  35. package/dist/lib/components/index.d.ts +4 -2
  36. package/dist/lib/components/layout/index.d.ts +0 -33
  37. package/dist/lib/components/layout/src/index.vue.d.ts +0 -33
  38. package/dist/lib/components/layout-pattern/index.d.ts +1 -0
  39. package/dist/lib/components/layout-pattern/src/components/tab.vue.d.ts +1 -0
  40. package/dist/lib/components/layout-pattern/src/components/tabDetail.vue.d.ts +1 -0
  41. package/dist/lib/components/layout-pattern/src/layout-pattern.vue.d.ts +1 -0
  42. package/dist/lib/components/menu/src/index.d.ts +1 -1
  43. package/dist/lib/components/multipane/index.d.ts +50 -0
  44. package/dist/lib/components/multipaneResizer/index.d.ts +42 -0
  45. package/dist/lib/components/page-layout/index.d.ts +5 -5
  46. package/dist/lib/components/page-layout/src/constant/symbol.d.ts +2 -0
  47. package/dist/lib/components/page-layout/src/hook/use-audit-button.d.ts +2 -2
  48. package/dist/lib/components/page-layout/src/hook/use-excel-import.d.ts +1 -1
  49. package/dist/lib/components/page-layout/src/hook/use-file-upload.d.ts +3 -3
  50. package/dist/lib/components/page-layout/src/hook/use-grid-events.d.ts +3 -1
  51. package/dist/lib/components/page-layout/src/hook/use-promise-step.d.ts +1 -1
  52. package/dist/lib/components/page-layout/src/page-layout.vue.d.ts +5 -5
  53. package/dist/lib/components/radio/index.d.ts +1 -1
  54. package/dist/lib/components/radio/src/radio.vue.d.ts +1 -1
  55. package/dist/lib/components/relation-graph/src/relation-graph.vue.d.ts +2 -34
  56. package/dist/lib/components/select/index.d.ts +1 -1
  57. package/dist/lib/components/select/src/select.vue.d.ts +1 -1
  58. package/dist/lib/components/upload-file/index.d.ts +1 -1
  59. package/dist/lib/components/upload-file/src/upload-file.vue.d.ts +1 -1
  60. package/dist/lib/components/upload-image/index.d.ts +38 -6
  61. package/dist/lib/components/upload-image/src/upload-image.vue.d.ts +36 -5
  62. package/dist/lib/utils/event.d.ts +4 -2
  63. package/dist/style.css +1 -1
  64. package/package.json +14 -14
  65. package/dist/lib/components/ladder-price/index.d.ts +0 -85
  66. package/dist/lib/components/ladder-price/src/LadderNotPriceModal.vue.d.ts +0 -41
  67. package/dist/lib/components/ladder-price/src/LadderPriceModal.vue.d.ts +0 -42
  68. package/dist/lib/components/ladder-price/src/hook/use-type-hook.d.ts +0 -9
  69. package/dist/lib/components/ladder-price/src/ladder-not-price-modal-types.d.ts +0 -16
  70. package/dist/lib/components/ladder-price/src/ladder-price-modal-types.d.ts +0 -15
  71. package/dist/lib/components/ladder-price/src/ladder-price-types.d.ts +0 -43
  72. package/dist/lib/components/ladder-price/src/ladder-price.vue.d.ts +0 -82
  73. package/dist/lib/components/ladder-price/src/use-ladder-not-price-modal.d.ts +0 -6
  74. 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;
@@ -7,6 +7,7 @@ export interface Option {
7
7
  id: string;
8
8
  textI18nKey?: string;
9
9
  label?: string;
10
+ [key: string]: any;
10
11
  }
11
12
  export type checkBoxOptions = Option;
12
13
  export declare const checkBoxProps: {
@@ -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, VxeTableDataRow } from 'vxe-table';
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;
@@ -7,4 +7,5 @@ export interface ruleItem {
7
7
  export default function useGridConfig(props: EditGridProps, groupCode: Ref<string>): {
8
8
  computedColumns: ComputedRef<VxeGridPropTypes.Columns<VxeTableDataRow>>;
9
9
  editRules: ComputedRef<ruleItem>;
10
+ setPrefixColumn: Ref<boolean>;
10
11
  };
@@ -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>;