@dazhicheng/ui 1.6.25 → 1.6.26

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 (130) hide show
  1. package/dist/components/tt-api-component/index.d.ts +35 -24
  2. package/dist/components/tt-api-component/index.vue.d.ts +34 -0
  3. package/dist/components/tt-area/TtArea.vue.d.ts +2 -0
  4. package/dist/components/tt-area/index.d.ts +1 -1
  5. package/dist/components/tt-button/components/AddButton.vue.d.ts +2 -0
  6. package/dist/components/tt-button/index.d.ts +589 -260
  7. package/dist/components/tt-button/index.vue.d.ts +466 -0
  8. package/dist/components/tt-checkbox/index.d.ts +35 -26
  9. package/dist/components/tt-checkbox/index.vue.d.ts +28 -0
  10. package/dist/components/tt-drawer/index.d.ts +299 -306
  11. package/dist/components/tt-drawer/src/{RenderDrawer.d.ts → RenderDrawer.vue.d.ts} +146 -149
  12. package/dist/components/tt-drawer/src/components/{DrawerFooter.d.ts → DrawerFooter.vue.d.ts} +16 -18
  13. package/dist/components/tt-drawer/src/components/{DrawerHeader.d.ts → DrawerHeader.vue.d.ts} +3 -4
  14. package/dist/components/tt-drawer/src/hooks/useDrawerRender.d.ts +2 -2
  15. package/dist/components/tt-drawer/src/hooks/useResizable.d.ts +2 -2
  16. package/dist/components/tt-drawer/src/utils/drawer-api.d.ts +2 -4
  17. package/dist/components/tt-empty/index.d.ts +8 -10
  18. package/dist/components/tt-form/src/components/{ExpandableArrow.d.ts → ExpandableArrow.vue.d.ts} +4 -5
  19. package/dist/components/tt-form/src/components/{FormActions.d.ts → FormActions.vue.d.ts} +5 -6
  20. package/dist/components/tt-form/src/components/{FormElInput.d.ts → FormElInput.vue.d.ts} +101 -105
  21. package/dist/components/tt-form/src/components/Slot.d.ts +4 -4
  22. package/dist/components/tt-form/src/form/{FormControl.d.ts → FormControl.vue.d.ts} +1 -2
  23. package/dist/components/tt-form/src/form/{FormDescription.d.ts → FormDescription.vue.d.ts} +1 -2
  24. package/dist/components/tt-form/src/form/{FormItem.d.ts → FormItem.vue.d.ts} +1 -2
  25. package/dist/components/tt-form/src/form/{FormLabel.d.ts → FormLabel.vue.d.ts} +1 -2
  26. package/dist/components/tt-form/src/form/FormMessage.vue.d.ts +2 -0
  27. package/dist/components/tt-form/src/form/FormMessageToolTip.vue.d.ts +8 -0
  28. package/dist/components/tt-form/src/form/{FormWarnMessage.d.ts → FormWarnMessage.vue.d.ts} +1 -2
  29. package/dist/components/tt-form/src/form/{RenderContent.d.ts → RenderContent.vue.d.ts} +4 -4
  30. package/dist/components/tt-form/src/form/index.d.ts +8 -8
  31. package/dist/components/tt-form/src/form/useFormField.d.ts +5 -6
  32. package/dist/components/tt-form/src/form-render/{FormField.d.ts → FormField.vue.d.ts} +1 -2
  33. package/dist/components/tt-form/src/form-render/FormFieldContact.d.ts +6 -6
  34. package/dist/components/tt-form/src/form-render/{FormLabel.d.ts → FormLabel.vue.d.ts} +2 -3
  35. package/dist/components/tt-form/src/form-render/array-register/FormArrayRegister.d.ts +11 -14
  36. package/dist/components/tt-form/src/form-render/context.d.ts +4 -5
  37. package/dist/components/tt-form/src/form-render/dependencies.d.ts +6 -7
  38. package/dist/components/tt-form/src/form-render/expandable.d.ts +3 -4
  39. package/dist/components/tt-form/src/form-render/{form.d.ts → form.vue.d.ts} +8 -9
  40. package/dist/components/tt-form/src/form-render/index.d.ts +3 -3
  41. package/dist/components/tt-form/src/formApi.d.ts +3 -3
  42. package/dist/components/tt-form/src/group-form/{GroupForm.d.ts → GroupForm.vue.d.ts} +5 -7
  43. package/dist/components/tt-form/src/group-form/{GroupSection.d.ts → GroupSection.vue.d.ts} +5 -7
  44. package/dist/components/tt-form/src/group-form/{LazyFormField.d.ts → LazyFormField.vue.d.ts} +3 -5
  45. package/dist/components/tt-form/src/group-form/groupFormApi.d.ts +5 -7
  46. package/dist/components/tt-form/src/hooks/useFormFieldBus.d.ts +2 -3
  47. package/dist/components/tt-form/src/hooks/useForwardProps.d.ts +2 -2
  48. package/dist/components/tt-form/src/hooks/useForwardPropsEmits.d.ts +2 -2
  49. package/dist/components/tt-form/src/index.vue.d.ts +216 -0
  50. package/dist/components/tt-form/src/useForm.d.ts +1 -2
  51. package/dist/components/tt-form/src/useFormContext.d.ts +1 -2
  52. package/dist/components/tt-form-item-error-tooltip/index.d.ts +337 -61
  53. package/dist/components/tt-form-item-error-tooltip/index.vue.d.ts +298 -0
  54. package/dist/components/tt-icon/components/AddIcon.vue.d.ts +7 -0
  55. package/dist/components/tt-icon/components/SubIcon.vue.d.ts +7 -0
  56. package/dist/components/tt-icon/index.d.ts +115 -24
  57. package/dist/components/tt-icon/index.vue.d.ts +32 -0
  58. package/dist/components/tt-image/index.d.ts +41 -45
  59. package/dist/components/tt-image/src/components/ImageViewer.d.ts +26 -30
  60. package/dist/components/tt-image/tt-image.d.ts +34 -36
  61. package/dist/components/tt-loading/index.d.ts +2 -5
  62. package/dist/components/tt-loading/src/loading.vue.d.ts +12 -0
  63. package/dist/components/tt-log/index.d.ts +6 -7
  64. package/dist/components/tt-log/index.vue.d.ts +5 -0
  65. package/dist/components/tt-modal/index.d.ts +364 -371
  66. package/dist/components/tt-modal/src/{RenderModal.d.ts → RenderModal.vue.d.ts} +115 -118
  67. package/dist/components/tt-modal/src/components/{ModalFooter.d.ts → ModalFooter.vue.d.ts} +23 -26
  68. package/dist/components/tt-modal/src/components/{ModalHeader.d.ts → ModalHeader.vue.d.ts} +3 -4
  69. package/dist/components/tt-modal/src/components/{ModalWrapper.d.ts → ModalWrapper.vue.d.ts} +24 -27
  70. package/dist/components/tt-modal/src/hooks/useModalRender.d.ts +29 -32
  71. package/dist/components/tt-modal/src/typing.d.ts +2 -2
  72. package/dist/components/tt-modal/src/utils/modal-api.d.ts +1 -2
  73. package/dist/components/tt-modal-form/hooks/useModalFormSlot.d.ts +2 -3
  74. package/dist/components/tt-modal-form/index.d.ts +2 -46
  75. package/dist/components/tt-modal-form/index.vue.d.ts +45 -0
  76. package/dist/components/tt-modal-form/useModalForm.d.ts +3 -4
  77. package/dist/components/tt-nav-anchor/index.d.ts +12 -15
  78. package/dist/components/tt-nav-anchor/src/{TtNavAnchor.d.ts → TtNavAnchor.vue.d.ts} +4 -4
  79. package/dist/components/tt-panel-select/index.d.ts +1 -1
  80. package/dist/components/tt-panel-select/src/components/{PanelLeft.d.ts → PanelLeft.vue.d.ts} +3 -4
  81. package/dist/components/tt-panel-select/src/components/{PanelMiddle.d.ts → PanelMiddle.vue.d.ts} +80 -83
  82. package/dist/components/tt-panel-select/src/components/{PanelRight.d.ts → PanelRight.vue.d.ts} +32 -34
  83. package/dist/components/tt-panel-select/src/hooks/usePanelData.d.ts +6 -7
  84. package/dist/components/tt-panel-select/src/hooks/usePanelSelection.d.ts +5 -5
  85. package/dist/components/tt-panel-select/src/{index.d.ts → index.vue.d.ts} +80 -84
  86. package/dist/components/tt-radio-group/index.d.ts +50 -31
  87. package/dist/components/tt-radio-group/index.vue.d.ts +33 -0
  88. package/dist/components/tt-select/index.d.ts +1 -1
  89. package/dist/components/tt-select/src/{Select.d.ts → Select.vue.d.ts} +141 -146
  90. package/dist/components/tt-select/src/components/{SelectTable.d.ts → SelectTable.vue.d.ts} +36 -40
  91. package/dist/components/tt-select/src/components/{Table.d.ts → Table.vue.d.ts} +38 -41
  92. package/dist/components/tt-select/src/hooks/useGrid.d.ts +2 -2
  93. package/dist/components/tt-select/src/hooks/usePagination.d.ts +3 -4
  94. package/dist/components/tt-select/src/hooks/useSelect.d.ts +2 -2
  95. package/dist/components/tt-select/src/hooks/useSelectTableEvent.d.ts +1 -1
  96. package/dist/components/tt-table/index.d.ts +279 -287
  97. package/dist/components/tt-table/src/{Table.d.ts → Table.vue.d.ts} +204 -209
  98. package/dist/components/tt-table/src/{TableForm.d.ts → TableForm.vue.d.ts} +80 -83
  99. package/dist/components/tt-table/src/components/RowContext.d.ts +5 -5
  100. package/dist/components/tt-table/src/components/{TableAction.d.ts → TableAction.vue.d.ts} +4 -4
  101. package/dist/components/tt-table/src/components/TableButtons.d.ts +5 -5
  102. package/dist/components/tt-table/src/components/{TableColumnModal.d.ts → TableColumnModal.vue.d.ts} +4 -5
  103. package/dist/components/tt-table/src/components/{TableToolbarTools.d.ts → TableToolbarTools.vue.d.ts} +6 -7
  104. package/dist/components/tt-table/src/hooks/useColumns.d.ts +44 -45
  105. package/dist/components/tt-table/src/hooks/usePagination.d.ts +33 -33
  106. package/dist/components/tt-table/src/hooks/useQuery.d.ts +2 -2
  107. package/dist/components/tt-table/src/hooks/useRowSelection.d.ts +2 -2
  108. package/dist/components/tt-table/src/hooks/useSideSlot.d.ts +110 -112
  109. package/dist/components/tt-table/src/hooks/useTableData.d.ts +2 -2
  110. package/dist/components/tt-table/src/props.d.ts +17 -19
  111. package/dist/components/tt-table/src/utils/table-api.d.ts +4 -4
  112. package/dist/components/tt-table/src/utils/table-form-api.d.ts +1 -2
  113. package/dist/components/tt-text/index.d.ts +59 -34
  114. package/dist/components/tt-text/index.vue.d.ts +50 -0
  115. package/dist/components/tt-upload/index.d.ts +311 -317
  116. package/dist/components/tt-upload/src/TtUpload.vue.d.ts +517 -0
  117. package/dist/components/tt-upload/src/typing.d.ts +47 -49
  118. package/dist/hooks/useLoading.d.ts +2 -2
  119. package/dist/hooks/useScreenshotOss.d.ts +2 -2
  120. package/dist/index.d.ts +1 -2
  121. package/package.json +3 -3
  122. package/dist/components/tt-area/TtArea.d.ts +0 -3
  123. package/dist/components/tt-button/components/AddButton.d.ts +0 -3
  124. package/dist/components/tt-form/src/form/FormMessage.d.ts +0 -3
  125. package/dist/components/tt-form/src/form/FormMessageToolTip.d.ts +0 -9
  126. package/dist/components/tt-form/src/index.d.ts +0 -217
  127. package/dist/components/tt-icon/components/AddIcon.d.ts +0 -8
  128. package/dist/components/tt-icon/components/SubIcon.d.ts +0 -8
  129. package/dist/components/tt-loading/src/loading.d.ts +0 -13
  130. package/dist/components/tt-upload/src/TtUpload.d.ts +0 -519
@@ -1,17 +1,13 @@
1
- import { VxeGridEventProps, VxeGridProps, VxeGridInstance, VxeTableConstructor, VxeGridConstructor, VxeGridMethods, VxeGridSlots } from 'vxe-table';
2
- import { VxeGanttConstructor } from 'vxe-pc-ui';
3
- import { DefineComponent, ExtractPropTypes, PropType, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
4
- import { TtSelectProps, TtSelectGridProps } from '../props';
5
- import { TtSelectConfigProps, TtSelectModelValueType, TtSelectDataOptions } from '../types';
1
+ import { VxeGridEventProps, VxeGridProps } from 'vxe-table';
6
2
  /** 获取实例 */
7
- declare function getGridInstance(): VxeGridInstance | undefined;
3
+ declare function getGridInstance(): import('vxe-table').VxeGridInstance | undefined;
8
4
  declare function __VLS_template(): {
9
5
  attrs: Partial<{}>;
10
6
  slots: Partial<Record<string, (_: {
11
7
  [key: string]: any;
12
- $table: VxeTableConstructor<any>;
13
- $grid: VxeGridConstructor<any> | null | undefined;
14
- $gantt: VxeGanttConstructor<any> | null | undefined;
8
+ $table: import('vxe-table').VxeTableConstructor<any>;
9
+ $grid: import('vxe-table').VxeGridConstructor<any> | null | undefined;
10
+ $gantt: import('vxe-pc-ui').VxeGanttConstructor<any> | null | undefined;
15
11
  rowid: string;
16
12
  row: any;
17
13
  rowIndex: number;
@@ -43,25 +39,25 @@ declare function __VLS_template(): {
43
39
  items: any[];
44
40
  }) => any>>;
45
41
  refs: {
46
- gridRef: ( VxeGridMethods<any> & {
42
+ gridRef: (import('vxe-table').VxeGridMethods<any> & {
47
43
  $props: VxeGridProps<any> & VxeGridEventProps<any>;
48
- $slots: VxeGridSlots<any>;
44
+ $slots: import('vxe-table').VxeGridSlots<any>;
49
45
  }) | null;
50
46
  };
51
47
  rootEl: HTMLDivElement;
52
48
  };
53
49
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
54
- declare const __VLS_component: DefineComponent<ExtractPropTypes<{
50
+ declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
55
51
  configProps: {
56
- type: PropType< TtSelectProps["configProps"]>;
52
+ type: import('vue').PropType<import('../props').TtSelectProps["configProps"]>;
57
53
  default: () => {};
58
54
  };
59
55
  grid: {
60
- type: PropType< TtSelectProps["gridProps"]>;
56
+ type: import('vue').PropType<import('../props').TtSelectProps["gridProps"]>;
61
57
  default: () => {};
62
58
  };
63
59
  list: {
64
- type: PropType<Record<string, any>[]>;
60
+ type: import('vue').PropType<Record<string, any>[]>;
65
61
  default: () => Record<string, any>[];
66
62
  };
67
63
  loading: {
@@ -73,7 +69,7 @@ declare const __VLS_component: DefineComponent<ExtractPropTypes<{
73
69
  default: boolean;
74
70
  };
75
71
  pagination: {
76
- type: PropType<VxeGridProps["pagerConfig"]>;
72
+ type: import('vue').PropType<VxeGridProps["pagerConfig"]>;
77
73
  default: () => {};
78
74
  };
79
75
  multiple: {
@@ -81,12 +77,12 @@ declare const __VLS_component: DefineComponent<ExtractPropTypes<{
81
77
  default: boolean;
82
78
  };
83
79
  disableFn: {
84
- type: PropType< TtSelectConfigProps["disableFn"]>;
80
+ type: import('vue').PropType<import('../types').TtSelectConfigProps["disableFn"]>;
85
81
  default: null;
86
82
  };
87
83
  selectValue: {
88
- type: PropType<TtSelectModelValueType>;
89
- default: () => TtSelectModelValueType;
84
+ type: import('vue').PropType<import('../types').TtSelectModelValueType>;
85
+ default: () => import('../types').TtSelectModelValueType;
90
86
  };
91
87
  selectWidth: {
92
88
  type: NumberConstructor;
@@ -97,15 +93,15 @@ declare const __VLS_component: DefineComponent<ExtractPropTypes<{
97
93
  default: string;
98
94
  };
99
95
  setPagination: {
100
- type: PropType<(pagination: VxeGridProps["pagerConfig"]) => void>;
96
+ type: import('vue').PropType<(pagination: VxeGridProps["pagerConfig"]) => void>;
101
97
  default: null;
102
98
  };
103
99
  getPagination: {
104
- type: PropType<() => VxeGridProps["pagerConfig"]>;
100
+ type: import('vue').PropType<() => VxeGridProps["pagerConfig"]>;
105
101
  default: null;
106
102
  };
107
103
  reload: {
108
- type: PropType<(bool?: boolean) => Promise<void>>;
104
+ type: import('vue').PropType<(bool?: boolean) => Promise<void>>;
109
105
  default: null;
110
106
  };
111
107
  hasNextPage: {
@@ -122,17 +118,17 @@ declare const __VLS_component: DefineComponent<ExtractPropTypes<{
122
118
  };
123
119
  }>, {
124
120
  getGridInstance: typeof getGridInstance;
125
- }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<{
121
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
126
122
  configProps: {
127
- type: PropType< TtSelectProps["configProps"]>;
123
+ type: import('vue').PropType<import('../props').TtSelectProps["configProps"]>;
128
124
  default: () => {};
129
125
  };
130
126
  grid: {
131
- type: PropType< TtSelectProps["gridProps"]>;
127
+ type: import('vue').PropType<import('../props').TtSelectProps["gridProps"]>;
132
128
  default: () => {};
133
129
  };
134
130
  list: {
135
- type: PropType<Record<string, any>[]>;
131
+ type: import('vue').PropType<Record<string, any>[]>;
136
132
  default: () => Record<string, any>[];
137
133
  };
138
134
  loading: {
@@ -144,7 +140,7 @@ declare const __VLS_component: DefineComponent<ExtractPropTypes<{
144
140
  default: boolean;
145
141
  };
146
142
  pagination: {
147
- type: PropType<VxeGridProps["pagerConfig"]>;
143
+ type: import('vue').PropType<VxeGridProps["pagerConfig"]>;
148
144
  default: () => {};
149
145
  };
150
146
  multiple: {
@@ -152,12 +148,12 @@ declare const __VLS_component: DefineComponent<ExtractPropTypes<{
152
148
  default: boolean;
153
149
  };
154
150
  disableFn: {
155
- type: PropType< TtSelectConfigProps["disableFn"]>;
151
+ type: import('vue').PropType<import('../types').TtSelectConfigProps["disableFn"]>;
156
152
  default: null;
157
153
  };
158
154
  selectValue: {
159
- type: PropType<TtSelectModelValueType>;
160
- default: () => TtSelectModelValueType;
155
+ type: import('vue').PropType<import('../types').TtSelectModelValueType>;
156
+ default: () => import('../types').TtSelectModelValueType;
161
157
  };
162
158
  selectWidth: {
163
159
  type: NumberConstructor;
@@ -168,15 +164,15 @@ declare const __VLS_component: DefineComponent<ExtractPropTypes<{
168
164
  default: string;
169
165
  };
170
166
  setPagination: {
171
- type: PropType<(pagination: VxeGridProps["pagerConfig"]) => void>;
167
+ type: import('vue').PropType<(pagination: VxeGridProps["pagerConfig"]) => void>;
172
168
  default: null;
173
169
  };
174
170
  getPagination: {
175
- type: PropType<() => VxeGridProps["pagerConfig"]>;
171
+ type: import('vue').PropType<() => VxeGridProps["pagerConfig"]>;
176
172
  default: null;
177
173
  };
178
174
  reload: {
179
- type: PropType<(bool?: boolean) => Promise<void>>;
175
+ type: import('vue').PropType<(bool?: boolean) => Promise<void>>;
180
176
  default: null;
181
177
  };
182
178
  hasNextPage: {
@@ -192,27 +188,27 @@ declare const __VLS_component: DefineComponent<ExtractPropTypes<{
192
188
  default: number;
193
189
  };
194
190
  }>> & Readonly<{}>, {
195
- grid: TtSelectGridProps;
191
+ grid: import('../props').TtSelectGridProps;
196
192
  list: Record<string, any>[];
197
193
  reload: (bool?: boolean) => Promise<void>;
198
194
  loading: boolean;
199
195
  multiple: boolean;
200
196
  multipleLimit: number;
201
- configProps: TtSelectConfigProps;
202
- disableFn: ((value: any, modelValue?: TtSelectModelValueType, option?: TtSelectDataOptions) => boolean) | undefined;
197
+ configProps: import('../types').TtSelectConfigProps;
198
+ disableFn: ((value: any, modelValue?: import('../types').TtSelectModelValueType, option?: import('../types').TtSelectDataOptions) => boolean) | undefined;
203
199
  showPager: boolean;
204
200
  pagination: import("vxe-table").VxeGridPropTypes.PagerConfig | undefined;
205
- selectValue: TtSelectModelValueType;
201
+ selectValue: import('../types').TtSelectModelValueType;
206
202
  selectWidth: number;
207
203
  deleteField: string;
208
204
  setPagination: (pagination: VxeGridProps["pagerConfig"]) => void;
209
205
  getPagination: () => VxeGridProps["pagerConfig"];
210
206
  hasNextPage: boolean;
211
207
  showCheckbox: boolean;
212
- }, {}, {}, {}, string, ComponentProvideOptions, true, {
213
- gridRef: ( VxeGridMethods<any> & {
208
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
209
+ gridRef: (import('vxe-table').VxeGridMethods<any> & {
214
210
  $props: VxeGridProps<any> & VxeGridEventProps<any>;
215
- $slots: VxeGridSlots<any>;
211
+ $slots: import('vxe-table').VxeGridSlots<any>;
216
212
  }) | null;
217
213
  }, HTMLDivElement>;
218
214
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
@@ -1,8 +1,5 @@
1
- import { VNode, DefineComponent, ExtractPropTypes, PropType, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
2
- import { VxeListProps, VxeListMethods, VxeListEventProps, VxeListSlots } from 'vxe-pc-ui';
3
- import { TtSelectProps, TtSelectGridProps } from '../props';
4
- import { VxeGridProps } from 'vxe-table';
5
- import { TtSelectConfigProps, TtSelectModelValueType, TtSelectDataOptions } from '../types';
1
+ import { VNode } from 'vue';
2
+ import { VxeListProps } from 'vxe-pc-ui';
6
3
  /** 设置当前选中行-多选 */
7
4
  declare function setCheckboxRow(rows: any | any[], checked: boolean): void;
8
5
  /** 清除当前选中行-多选 */
@@ -35,9 +32,9 @@ declare function __VLS_template(): {
35
32
  empty: () => VNode;
36
33
  };
37
34
  refs: {
38
- vxelist: ( VxeListMethods<any> & {
39
- $props: VxeListProps<any> & VxeListEventProps<any>;
40
- $slots: VxeListSlots;
35
+ vxelist: (import('vxe-pc-ui').VxeListMethods<any> & {
36
+ $props: VxeListProps<any> & import('vxe-pc-ui').VxeListEventProps<any>;
37
+ $slots: import('vxe-pc-ui').VxeListSlots;
41
38
  }) | null;
42
39
  table: HTMLTableElement;
43
40
  resizableBar: HTMLDivElement;
@@ -45,17 +42,17 @@ declare function __VLS_template(): {
45
42
  rootEl: any;
46
43
  };
47
44
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
48
- declare const __VLS_component: DefineComponent<ExtractPropTypes<{
45
+ declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
49
46
  configProps: {
50
- type: PropType< TtSelectProps["configProps"]>;
47
+ type: import('vue').PropType<import('../props').TtSelectProps["configProps"]>;
51
48
  default: () => {};
52
49
  };
53
50
  grid: {
54
- type: PropType< TtSelectProps["gridProps"]>;
51
+ type: import('vue').PropType<import('../props').TtSelectProps["gridProps"]>;
55
52
  default: () => {};
56
53
  };
57
54
  list: {
58
- type: PropType<Record<string, any>[]>;
55
+ type: import('vue').PropType<Record<string, any>[]>;
59
56
  default: () => Record<string, any>[];
60
57
  };
61
58
  loading: {
@@ -67,7 +64,7 @@ declare const __VLS_component: DefineComponent<ExtractPropTypes<{
67
64
  default: boolean;
68
65
  };
69
66
  pagination: {
70
- type: PropType< VxeGridProps["pagerConfig"]>;
67
+ type: import('vue').PropType<import('vxe-table').VxeGridProps["pagerConfig"]>;
71
68
  default: () => {};
72
69
  };
73
70
  multiple: {
@@ -75,12 +72,12 @@ declare const __VLS_component: DefineComponent<ExtractPropTypes<{
75
72
  default: boolean;
76
73
  };
77
74
  disableFn: {
78
- type: PropType< TtSelectConfigProps["disableFn"]>;
75
+ type: import('vue').PropType<import('../types').TtSelectConfigProps["disableFn"]>;
79
76
  default: null;
80
77
  };
81
78
  selectValue: {
82
- type: PropType<TtSelectModelValueType>;
83
- default: () => TtSelectModelValueType;
79
+ type: import('vue').PropType<import('../types').TtSelectModelValueType>;
80
+ default: () => import('../types').TtSelectModelValueType;
84
81
  };
85
82
  selectWidth: {
86
83
  type: NumberConstructor;
@@ -91,15 +88,15 @@ declare const __VLS_component: DefineComponent<ExtractPropTypes<{
91
88
  default: string;
92
89
  };
93
90
  setPagination: {
94
- type: PropType<(pagination: VxeGridProps["pagerConfig"]) => void>;
91
+ type: import('vue').PropType<(pagination: import('vxe-table').VxeGridProps["pagerConfig"]) => void>;
95
92
  default: null;
96
93
  };
97
94
  getPagination: {
98
- type: PropType<() => VxeGridProps["pagerConfig"]>;
95
+ type: import('vue').PropType<() => import('vxe-table').VxeGridProps["pagerConfig"]>;
99
96
  default: null;
100
97
  };
101
98
  reload: {
102
- type: PropType<(bool?: boolean) => Promise<void>>;
99
+ type: import('vue').PropType<(bool?: boolean) => Promise<void>>;
103
100
  default: null;
104
101
  };
105
102
  hasNextPage: {
@@ -139,22 +136,22 @@ declare const __VLS_component: DefineComponent<ExtractPropTypes<{
139
136
  setCurrentRow: typeof setCurrentRow;
140
137
  getData: typeof getData;
141
138
  };
142
- }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
139
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
143
140
  scroll: (...args: any[]) => void;
144
141
  "radio-change": (...args: any[]) => void;
145
142
  "checkbox-change": (...args: any[]) => void;
146
143
  "checkbox-all": (...args: any[]) => void;
147
- }, string, PublicProps, Readonly< ExtractPropTypes<{
144
+ }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
148
145
  configProps: {
149
- type: PropType< TtSelectProps["configProps"]>;
146
+ type: import('vue').PropType<import('../props').TtSelectProps["configProps"]>;
150
147
  default: () => {};
151
148
  };
152
149
  grid: {
153
- type: PropType< TtSelectProps["gridProps"]>;
150
+ type: import('vue').PropType<import('../props').TtSelectProps["gridProps"]>;
154
151
  default: () => {};
155
152
  };
156
153
  list: {
157
- type: PropType<Record<string, any>[]>;
154
+ type: import('vue').PropType<Record<string, any>[]>;
158
155
  default: () => Record<string, any>[];
159
156
  };
160
157
  loading: {
@@ -166,7 +163,7 @@ declare const __VLS_component: DefineComponent<ExtractPropTypes<{
166
163
  default: boolean;
167
164
  };
168
165
  pagination: {
169
- type: PropType< VxeGridProps["pagerConfig"]>;
166
+ type: import('vue').PropType<import('vxe-table').VxeGridProps["pagerConfig"]>;
170
167
  default: () => {};
171
168
  };
172
169
  multiple: {
@@ -174,12 +171,12 @@ declare const __VLS_component: DefineComponent<ExtractPropTypes<{
174
171
  default: boolean;
175
172
  };
176
173
  disableFn: {
177
- type: PropType< TtSelectConfigProps["disableFn"]>;
174
+ type: import('vue').PropType<import('../types').TtSelectConfigProps["disableFn"]>;
178
175
  default: null;
179
176
  };
180
177
  selectValue: {
181
- type: PropType<TtSelectModelValueType>;
182
- default: () => TtSelectModelValueType;
178
+ type: import('vue').PropType<import('../types').TtSelectModelValueType>;
179
+ default: () => import('../types').TtSelectModelValueType;
183
180
  };
184
181
  selectWidth: {
185
182
  type: NumberConstructor;
@@ -190,15 +187,15 @@ declare const __VLS_component: DefineComponent<ExtractPropTypes<{
190
187
  default: string;
191
188
  };
192
189
  setPagination: {
193
- type: PropType<(pagination: VxeGridProps["pagerConfig"]) => void>;
190
+ type: import('vue').PropType<(pagination: import('vxe-table').VxeGridProps["pagerConfig"]) => void>;
194
191
  default: null;
195
192
  };
196
193
  getPagination: {
197
- type: PropType<() => VxeGridProps["pagerConfig"]>;
194
+ type: import('vue').PropType<() => import('vxe-table').VxeGridProps["pagerConfig"]>;
198
195
  default: null;
199
196
  };
200
197
  reload: {
201
- type: PropType<(bool?: boolean) => Promise<void>>;
198
+ type: import('vue').PropType<(bool?: boolean) => Promise<void>>;
202
199
  default: null;
203
200
  };
204
201
  hasNextPage: {
@@ -219,27 +216,27 @@ declare const __VLS_component: DefineComponent<ExtractPropTypes<{
219
216
  "onCheckbox-change"?: ((...args: any[]) => any) | undefined;
220
217
  "onCheckbox-all"?: ((...args: any[]) => any) | undefined;
221
218
  }>, {
222
- grid: TtSelectGridProps;
219
+ grid: import('../props').TtSelectGridProps;
223
220
  list: Record<string, any>[];
224
221
  reload: (bool?: boolean) => Promise<void>;
225
222
  loading: boolean;
226
223
  multiple: boolean;
227
224
  multipleLimit: number;
228
- configProps: TtSelectConfigProps;
229
- disableFn: ((value: any, modelValue?: TtSelectModelValueType, option?: TtSelectDataOptions) => boolean) | undefined;
225
+ configProps: import('../types').TtSelectConfigProps;
226
+ disableFn: ((value: any, modelValue?: import('../types').TtSelectModelValueType, option?: import('../types').TtSelectDataOptions) => boolean) | undefined;
230
227
  showPager: boolean;
231
228
  pagination: import("vxe-table").VxeGridPropTypes.PagerConfig | undefined;
232
- selectValue: TtSelectModelValueType;
229
+ selectValue: import('../types').TtSelectModelValueType;
233
230
  selectWidth: number;
234
231
  deleteField: string;
235
- setPagination: (pagination: VxeGridProps["pagerConfig"]) => void;
236
- getPagination: () => VxeGridProps["pagerConfig"];
232
+ setPagination: (pagination: import('vxe-table').VxeGridProps["pagerConfig"]) => void;
233
+ getPagination: () => import('vxe-table').VxeGridProps["pagerConfig"];
237
234
  hasNextPage: boolean;
238
235
  showCheckbox: boolean;
239
- }, {}, {}, {}, string, ComponentProvideOptions, true, {
240
- vxelist: ( VxeListMethods<any> & {
241
- $props: VxeListProps<any> & VxeListEventProps<any>;
242
- $slots: VxeListSlots;
236
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
237
+ vxelist: (import('vxe-pc-ui').VxeListMethods<any> & {
238
+ $props: VxeListProps<any> & import('vxe-pc-ui').VxeListEventProps<any>;
239
+ $slots: import('vxe-pc-ui').VxeListSlots;
243
240
  }) | null;
244
241
  table: HTMLTableElement;
245
242
  resizableBar: HTMLDivElement;
@@ -1,4 +1,4 @@
1
- import { ComputedRef, Ref } from 'vue';
1
+ import { ComputedRef } from 'vue';
2
2
  import { VxeGridInstance, VxeGridProps, VxeGridPropTypes } from 'vxe-table';
3
3
  import { TtSelectTableProps } from '../props';
4
4
  /**
@@ -27,6 +27,6 @@ export declare function useGrid(props: ComputedRef<VxeGridProps>, opt: ComputedR
27
27
  fontWeight?: undefined;
28
28
  textDecorationLine?: undefined;
29
29
  };
30
- gridRef: Ref<VxeGridInstance | undefined, VxeGridInstance | undefined>;
30
+ gridRef: import('vue').Ref<VxeGridInstance | undefined, VxeGridInstance | undefined>;
31
31
  getOtherGridConfig: () => Partial<VxeGridProps>;
32
32
  };
@@ -1,5 +1,4 @@
1
1
  import { VxeGridPropTypes } from 'vxe-table';
2
- import { Ref, ComputedRef } from 'vue';
3
2
  type PaginationProps = VxeGridPropTypes.PagerConfig;
4
3
  /**
5
4
  * 用于处理分页配置的钩子函数
@@ -7,11 +6,11 @@ type PaginationProps = VxeGridPropTypes.PagerConfig;
7
6
  */
8
7
  export declare function usePagination(): {
9
8
  setShowPager: (val: boolean) => void;
10
- showPager: Ref<boolean, boolean>;
11
- getPaginationInfo: ComputedRef<VxeGridPropTypes.PagerConfig | undefined>;
9
+ showPager: import('vue').Ref<boolean, boolean>;
10
+ getPaginationInfo: import('vue').ComputedRef<VxeGridPropTypes.PagerConfig | undefined>;
12
11
  getPagination: () => VxeGridPropTypes.PagerConfig | undefined;
13
12
  setPagination: (info: Partial<PaginationProps>) => void;
14
- hasNextPage: Ref<boolean, boolean>;
13
+ hasNextPage: import('vue').Ref<boolean, boolean>;
15
14
  setHasNextPage: (val: boolean) => void;
16
15
  };
17
16
  export {};
@@ -1,4 +1,4 @@
1
- import { ElSelect, SelectProps } from 'element-plus';
1
+ import { ElSelect } from 'element-plus';
2
2
  import { ComputedRef, Ref } from 'vue';
3
3
  import { TtSelectProps } from '../props';
4
4
  import { TtSelectKeyboardType, TtSelectSelectOptions, TtSelectDataOptions } from '../types';
@@ -76,7 +76,7 @@ type OptType = {
76
76
  * @returns 包含选择器属性、计算最大折叠标签数和计算选择器宽度的对象
77
77
  */
78
78
  export declare function useSelect(props: ComputedRef<TtSelectProps["selectProps"]>, opt: OptType): {
79
- getOtherSelectProps: ComputedRef<Partial<Omit< SelectProps, "modelValue">>>;
79
+ getOtherSelectProps: ComputedRef<Partial<Omit<import('element-plus').SelectProps, "modelValue">>>;
80
80
  calcMaxCollapseTags: () => void;
81
81
  calcSelectWidth: ComputedRef<string>;
82
82
  getSelectWidth: () => any;
@@ -3,7 +3,7 @@ import { ComputedRef, MaybeRef, Ref } from 'vue';
3
3
  import { VxeGridDefines, VxeGridPropTypes } from 'vxe-table';
4
4
  import { TtSelectProps } from '../props';
5
5
  import { TtSelectModelUnionType, TtSelectModelValueType, TtSelectSelectOptions, TtSelectDataOptions } from '../types';
6
- import { default as SelectTable } from '../components/SelectTable';
6
+ import { default as SelectTable } from '../components/SelectTable.vue';
7
7
  /**
8
8
  * 定义选项类型,包含表格、选择器、数据、分页等相关的引用和方法
9
9
  */