yc-pro-components 0.0.84 → 1.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 (216) hide show
  1. package/es/components/check-card/index.d.ts +38 -38
  2. package/es/components/check-card/src/index.vue.d.ts +2 -2
  3. package/es/components/check-card-group/index.d.ts +19 -19
  4. package/es/components/check-card-group/src/index.vue.d.ts +1 -1
  5. package/es/components/date-picker/index.d.ts +10 -10
  6. package/es/components/date-picker/src/index.vue.d.ts +10 -10
  7. package/es/components/form/src/form-content.vue2.mjs +11 -2
  8. package/es/components/form/src/index.vue2.mjs +5 -2
  9. package/es/components/form/src/type.d.ts +5 -0
  10. package/es/components/form-item/src/index.vue2.mjs +9 -3
  11. package/es/components/header/index.d.ts +19 -19
  12. package/es/components/header/src/index.vue.d.ts +1 -1
  13. package/es/components/index.d.ts +1 -0
  14. package/es/components/index.mjs +1 -0
  15. package/es/components/input-tag/index.d.ts +9 -9
  16. package/es/components/input-tag/src/index.vue.d.ts +1 -1
  17. package/es/components/page/src/index.vue2.mjs +31 -13
  18. package/es/components/radio/index.d.ts +23 -23
  19. package/es/components/radio/src/index.vue.d.ts +23 -23
  20. package/es/components/render/index.d.ts +6 -6
  21. package/es/components/render/src/index.vue.d.ts +2 -2
  22. package/es/components/search/src/index.vue2.mjs +4 -1
  23. package/es/components/search/src/type.d.ts +5 -0
  24. package/es/components/yc-count-to/index.d.ts +1 -1
  25. package/es/components/yc-count-to/src/normal/index.d.ts +1 -1
  26. package/es/components/yc-dialog/index.d.ts +24 -24
  27. package/es/components/yc-more-actions/index.d.ts +46 -46
  28. package/es/components/yc-more-actions/src/index.vue.d.ts +3 -3
  29. package/es/components/yc-plus-page/src/index.vue.mjs +1 -1
  30. package/es/components/yc-plus-page/src/index.vue2.mjs +24 -13
  31. package/es/components/yc-plus-page/src/type.d.ts +5 -0
  32. package/es/components/yc-query-filter/index.d.ts +7 -0
  33. package/es/components/yc-query-filter/index.mjs +6 -0
  34. package/es/components/yc-query-filter/src/index.vue.d.ts +32 -0
  35. package/es/components/yc-query-filter/src/index.vue.mjs +6 -0
  36. package/es/components/yc-query-filter/src/index.vue2.mjs +662 -0
  37. package/es/components/yc-query-filter/src/serialize.d.ts +4 -0
  38. package/es/components/yc-query-filter/src/serialize.mjs +17 -0
  39. package/es/components/yc-select-v2/src/index.vue.d.ts +2 -2
  40. package/es/components/yc-status-dialog/src/index.vue.d.ts +1 -1
  41. package/es/components/yc-svg-icon/src/index.vue.d.ts +1 -1
  42. package/es/components/yc-text/src/index.vue.d.ts +2 -2
  43. package/es/constants/index.d.ts +1 -0
  44. package/es/constants/index.mjs +1 -0
  45. package/es/constants/query-filter.d.ts +69 -0
  46. package/es/constants/query-filter.mjs +3 -0
  47. package/es/hooks/index.d.ts +1 -0
  48. package/es/hooks/index.mjs +1 -0
  49. package/es/hooks/useQueryFilterConfig.d.ts +11 -0
  50. package/es/hooks/useQueryFilterConfig.mjs +38 -0
  51. package/es/index.css +10 -10
  52. package/es/index.d.ts +1 -1
  53. package/es/index.mjs +3 -0
  54. package/es/locale/lang/en.d.ts +33 -0
  55. package/es/locale/lang/en.mjs +33 -0
  56. package/es/locale/lang/ja.d.ts +33 -0
  57. package/es/locale/lang/ja.mjs +33 -0
  58. package/es/locale/lang/ko.d.ts +33 -0
  59. package/es/locale/lang/ko.mjs +33 -0
  60. package/es/locale/lang/zh-cn.d.ts +33 -0
  61. package/es/locale/lang/zh-cn.mjs +33 -0
  62. package/es/locale/lang/zh-tw.d.ts +33 -0
  63. package/es/locale/lang/zh-tw.mjs +33 -0
  64. package/es/types/form.d.ts +5 -0
  65. package/es/version.d.ts +1 -1
  66. package/es/version.mjs +1 -1
  67. package/es/yc-components/index.d.ts +1 -1
  68. package/es/yc-components/version.d.ts +1 -1
  69. package/index.css +1 -1
  70. package/index.js +1097 -221
  71. package/index.min.css +1 -1
  72. package/index.min.js +16 -12
  73. package/index.min.mjs +16 -12
  74. package/index.mjs +1093 -223
  75. package/lib/components/check-card/index.d.ts +38 -38
  76. package/lib/components/check-card/src/index.vue.d.ts +2 -2
  77. package/lib/components/check-card-group/index.d.ts +19 -19
  78. package/lib/components/check-card-group/src/index.vue.d.ts +1 -1
  79. package/lib/components/date-picker/index.d.ts +10 -10
  80. package/lib/components/date-picker/src/index.vue.d.ts +10 -10
  81. package/lib/components/form/src/form-content.vue2.js +11 -2
  82. package/lib/components/form/src/index.vue2.js +5 -2
  83. package/lib/components/form/src/type.d.ts +5 -0
  84. package/lib/components/form-item/src/index.vue2.js +9 -3
  85. package/lib/components/header/index.d.ts +19 -19
  86. package/lib/components/header/src/index.vue.d.ts +1 -1
  87. package/lib/components/index.d.ts +1 -0
  88. package/lib/components/index.js +3 -0
  89. package/lib/components/input-tag/index.d.ts +9 -9
  90. package/lib/components/input-tag/src/index.vue.d.ts +1 -1
  91. package/lib/components/page/src/index.vue2.js +31 -13
  92. package/lib/components/radio/index.d.ts +23 -23
  93. package/lib/components/radio/src/index.vue.d.ts +23 -23
  94. package/lib/components/render/index.d.ts +6 -6
  95. package/lib/components/render/src/index.vue.d.ts +2 -2
  96. package/lib/components/search/src/index.vue2.js +4 -1
  97. package/lib/components/search/src/type.d.ts +5 -0
  98. package/lib/components/yc-count-to/index.d.ts +1 -1
  99. package/lib/components/yc-count-to/src/normal/index.d.ts +1 -1
  100. package/lib/components/yc-dialog/index.d.ts +24 -24
  101. package/lib/components/yc-more-actions/index.d.ts +46 -46
  102. package/lib/components/yc-more-actions/src/index.vue.d.ts +3 -3
  103. package/lib/components/yc-plus-page/src/index.vue.js +1 -1
  104. package/lib/components/yc-plus-page/src/index.vue2.js +26 -15
  105. package/lib/components/yc-plus-page/src/type.d.ts +5 -0
  106. package/lib/components/yc-query-filter/index.d.ts +7 -0
  107. package/lib/components/yc-query-filter/index.js +9 -0
  108. package/lib/components/yc-query-filter/src/index.vue.d.ts +32 -0
  109. package/lib/components/yc-query-filter/src/index.vue.js +10 -0
  110. package/lib/components/yc-query-filter/src/index.vue2.js +666 -0
  111. package/lib/components/yc-query-filter/src/serialize.d.ts +4 -0
  112. package/lib/components/yc-query-filter/src/serialize.js +20 -0
  113. package/lib/components/yc-select-v2/src/index.vue.d.ts +2 -2
  114. package/lib/components/yc-status-dialog/src/index.vue.d.ts +1 -1
  115. package/lib/components/yc-svg-icon/src/index.vue.d.ts +1 -1
  116. package/lib/components/yc-text/src/index.vue.d.ts +2 -2
  117. package/lib/constants/index.d.ts +1 -0
  118. package/lib/constants/index.js +2 -0
  119. package/lib/constants/query-filter.d.ts +69 -0
  120. package/lib/constants/query-filter.js +5 -0
  121. package/lib/hooks/index.d.ts +1 -0
  122. package/lib/hooks/index.js +4 -0
  123. package/lib/hooks/useQueryFilterConfig.d.ts +11 -0
  124. package/lib/hooks/useQueryFilterConfig.js +42 -0
  125. package/lib/index.css +9 -9
  126. package/lib/index.d.ts +1 -1
  127. package/lib/index.js +9 -0
  128. package/lib/locale/lang/en.d.ts +33 -0
  129. package/lib/locale/lang/en.js +33 -0
  130. package/lib/locale/lang/ja.d.ts +33 -0
  131. package/lib/locale/lang/ja.js +33 -0
  132. package/lib/locale/lang/ko.d.ts +33 -0
  133. package/lib/locale/lang/ko.js +33 -0
  134. package/lib/locale/lang/zh-cn.d.ts +33 -0
  135. package/lib/locale/lang/zh-cn.js +33 -0
  136. package/lib/locale/lang/zh-tw.d.ts +33 -0
  137. package/lib/locale/lang/zh-tw.js +33 -0
  138. package/lib/types/form.d.ts +5 -0
  139. package/lib/version.d.ts +1 -1
  140. package/lib/version.js +1 -1
  141. package/lib/yc-components/index.d.ts +1 -1
  142. package/lib/yc-components/version.d.ts +1 -1
  143. package/locale/en.d.ts +33 -0
  144. package/locale/en.js +34 -1
  145. package/locale/en.min.js +1 -1
  146. package/locale/en.min.mjs +1 -1
  147. package/locale/en.mjs +34 -1
  148. package/locale/ja.d.ts +33 -0
  149. package/locale/ja.js +34 -1
  150. package/locale/ja.min.js +1 -1
  151. package/locale/ja.min.mjs +1 -1
  152. package/locale/ja.mjs +34 -1
  153. package/locale/ko.d.ts +33 -0
  154. package/locale/ko.js +34 -1
  155. package/locale/ko.min.js +1 -1
  156. package/locale/ko.min.mjs +1 -1
  157. package/locale/ko.mjs +34 -1
  158. package/locale/zh-cn.d.ts +33 -0
  159. package/locale/zh-cn.js +34 -1
  160. package/locale/zh-cn.min.js +1 -1
  161. package/locale/zh-cn.min.mjs +1 -1
  162. package/locale/zh-cn.mjs +34 -1
  163. package/locale/zh-tw.d.ts +33 -0
  164. package/locale/zh-tw.js +34 -1
  165. package/locale/zh-tw.min.js +1 -1
  166. package/locale/zh-tw.min.mjs +1 -1
  167. package/locale/zh-tw.mjs +34 -1
  168. package/package.json +1 -1
  169. package/theme-chalk/index.css +1 -1
  170. package/theme-chalk/plus-form-item.css +1 -1
  171. package/theme-chalk/plus-yc-query-filter.css +1 -0
  172. package/theme-chalk/src/form-item.scss +60 -39
  173. package/theme-chalk/src/index.scss +1 -0
  174. package/theme-chalk/src/yc-query-filter.scss +163 -0
  175. package/es/components/breadcrumb/index.d.ts +0 -6985
  176. package/es/components/breadcrumb/src/index.vue.d.ts +0 -6947
  177. package/es/components/dialog-form/index.d.ts +0 -311
  178. package/es/components/dialog-form/src/index.vue.d.ts +0 -211
  179. package/es/components/display-item/index.d.ts +0 -571
  180. package/es/components/display-item/src/index.vue.d.ts +0 -437
  181. package/es/components/drawer-form/index.d.ts +0 -1589
  182. package/es/components/drawer-form/src/index.vue.d.ts +0 -627
  183. package/es/components/form/index.d.ts +0 -845
  184. package/es/components/form/src/form-content.vue.d.ts +0 -583
  185. package/es/components/form/src/index.vue.d.ts +0 -373
  186. package/es/components/form-item/index.d.ts +0 -1469
  187. package/es/components/form-item/src/index.vue.d.ts +0 -535
  188. package/es/components/page/index.d.ts +0 -10563
  189. package/es/components/page/src/index.vue.d.ts +0 -3712
  190. package/es/components/search/index.d.ts +0 -2892
  191. package/es/components/search/src/index.vue.d.ts +0 -994
  192. package/es/components/table/src/table-column.vue.d.ts +0 -615
  193. package/es/components/yc-drawer/store.d.ts +0 -2359
  194. package/es/components/yc-plus-page/src/index.vue.d.ts +0 -8127
  195. package/es/hooks/usePlusFormReset.d.ts +0 -4483
  196. package/lib/components/breadcrumb/index.d.ts +0 -6985
  197. package/lib/components/breadcrumb/src/index.vue.d.ts +0 -6947
  198. package/lib/components/dialog-form/index.d.ts +0 -311
  199. package/lib/components/dialog-form/src/index.vue.d.ts +0 -211
  200. package/lib/components/display-item/index.d.ts +0 -571
  201. package/lib/components/display-item/src/index.vue.d.ts +0 -437
  202. package/lib/components/drawer-form/index.d.ts +0 -1589
  203. package/lib/components/drawer-form/src/index.vue.d.ts +0 -627
  204. package/lib/components/form/index.d.ts +0 -845
  205. package/lib/components/form/src/form-content.vue.d.ts +0 -583
  206. package/lib/components/form/src/index.vue.d.ts +0 -373
  207. package/lib/components/form-item/index.d.ts +0 -1469
  208. package/lib/components/form-item/src/index.vue.d.ts +0 -535
  209. package/lib/components/page/index.d.ts +0 -10563
  210. package/lib/components/page/src/index.vue.d.ts +0 -3712
  211. package/lib/components/search/index.d.ts +0 -2892
  212. package/lib/components/search/src/index.vue.d.ts +0 -994
  213. package/lib/components/table/src/table-column.vue.d.ts +0 -615
  214. package/lib/components/yc-drawer/store.d.ts +0 -2359
  215. package/lib/components/yc-plus-page/src/index.vue.d.ts +0 -8127
  216. package/lib/hooks/usePlusFormReset.d.ts +0 -4483
@@ -1,615 +0,0 @@
1
- import { EpPropMergeType } from 'element-plus/es/utils';
2
- import { ElTooltipProps, FormItemProps, ProgressFn, CascaderNode, PopperEffect, InputAutoSize, AutocompleteProps, CheckboxGroupProps, ColorPickerProps, DatePickerProps, InputProps, InputNumberProps, RadioGroupProps, RateProps, SelectProps, SliderProps, SwitchProps, TimePickerDefaultProps, TimeSelectProps, TextProps, ImageProps, LinkProps, TagProps, ProgressProps } from 'element-plus';
3
- import { LooseRequired } from '@vue/shared';
4
- import { PlusFormProps, PlusFormItemProps, PlusRadioProps, PlusDatePickerProps, PlusInputTagProps } from 'packages/yc-components';
5
- import { FormChangeCallBackParams } from './type';
6
- import { Ref, DefineComponent, ComponentInternalInstance, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes, PropType, Slot, ComponentPublicInstance, ComponentOptionsBase, ComputedRef, ComponentOptionsMixin, DebuggerEvent, nextTick, WatchOptions, WatchStopHandle, ShallowUnwrapRef, ComponentCustomProperties, CSSProperties, PublicProps } from 'vue';
7
- import { PageInfo, PlusColumn, RecordType, FieldValueType, Mutable, PropsItemType, OmitTypes, CascaderProps, OptionsType, RenderTypes, TableValueType, FormItemValueType, OptionsRow } from 'yc-pro-components/es/types';
8
-
9
- export interface PlusTableColumnProps {
10
- columns?: PlusColumn[];
11
- editable?: boolean | 'click' | 'dblclick';
12
- tableDataLength?: number;
13
- subPageInfo?: Partial<PageInfo>;
14
- }
15
- export interface PlusTableColumnEmits {
16
- (e: 'formChange', data: FormChangeCallBackParams): void;
17
- }
18
- declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<PlusTableColumnProps>, {
19
- columns: () => never[];
20
- tableDataLength: number;
21
- editable: boolean;
22
- subPageInfo: () => {};
23
- }>, {
24
- plusDisplayItemInstance: Ref<({
25
- $: ComponentInternalInstance;
26
- $data: {};
27
- $props: Partial<{
28
- index: number;
29
- formProps: PlusFormProps;
30
- rest: RecordType;
31
- column: PlusColumn;
32
- row: RecordType;
33
- editable: boolean | "click" | "dblclick";
34
- }> & Omit<{
35
- readonly index: number;
36
- readonly formProps: PlusFormProps;
37
- readonly rest: RecordType;
38
- readonly column: PlusColumn;
39
- readonly row: RecordType;
40
- readonly editable: boolean | "click" | "dblclick";
41
- onChange?: ((data: {
42
- value: FieldValueType;
43
- prop: string;
44
- row: RecordType;
45
- }) => any) | undefined;
46
- } & VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< ExtractPropTypes<{
47
- index: {
48
- type: PropType<number>;
49
- default: number;
50
- };
51
- formProps: {
52
- type: PropType<PlusFormProps>;
53
- default: () => {};
54
- };
55
- rest: {
56
- type: PropType<RecordType>;
57
- default: () => {};
58
- };
59
- column: {
60
- type: PropType<PlusColumn>;
61
- required: true;
62
- default: () => {
63
- prop: string;
64
- label: string;
65
- };
66
- };
67
- row: {
68
- type: PropType<RecordType>;
69
- required: true;
70
- default: () => {};
71
- };
72
- editable: {
73
- type: PropType<boolean | "click" | "dblclick">;
74
- default: boolean;
75
- };
76
- }>> & {
77
- onChange?: ((data: {
78
- value: FieldValueType;
79
- prop: string;
80
- row: RecordType;
81
- }) => any) | undefined;
82
- }, "index" | "formProps" | "rest" | "column" | "row" | "editable">;
83
- $attrs: {
84
- [x: string]: unknown;
85
- };
86
- $refs: {
87
- [x: string]: unknown;
88
- };
89
- $slots: Readonly<{
90
- [name: string]: Slot<any> | undefined;
91
- }>;
92
- $root: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
93
- $parent: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
94
- $emit: (event: "change", data: {
95
- value: FieldValueType;
96
- prop: string;
97
- row: RecordType;
98
- }) => void;
99
- $el: any;
100
- $options: ComponentOptionsBase<Readonly< ExtractPropTypes<{
101
- index: {
102
- type: PropType<number>;
103
- default: number;
104
- };
105
- formProps: {
106
- type: PropType<PlusFormProps>;
107
- default: () => {};
108
- };
109
- rest: {
110
- type: PropType<RecordType>;
111
- default: () => {};
112
- };
113
- column: {
114
- type: PropType<PlusColumn>;
115
- required: true;
116
- default: () => {
117
- prop: string;
118
- label: string;
119
- };
120
- };
121
- row: {
122
- type: PropType<RecordType>;
123
- required: true;
124
- default: () => {};
125
- };
126
- editable: {
127
- type: PropType<boolean | "click" | "dblclick">;
128
- default: boolean;
129
- };
130
- }>> & {
131
- onChange?: ((data: {
132
- value: FieldValueType;
133
- prop: string;
134
- row: RecordType;
135
- }) => any) | undefined;
136
- }, {
137
- startCellEdit: () => void;
138
- stopCellEdit: () => void;
139
- getDisplayItemInstance: () => {
140
- isEdit: Ref<boolean>;
141
- index: number;
142
- rowIndex: number;
143
- cellIndex: any;
144
- prop: string;
145
- formInstance: ComputedRef<any>;
146
- };
147
- }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
148
- change: (data: {
149
- value: FieldValueType;
150
- prop: string;
151
- row: RecordType;
152
- }) => void;
153
- }, string, {
154
- index: number;
155
- formProps: PlusFormProps;
156
- rest: RecordType;
157
- column: PlusColumn;
158
- row: RecordType;
159
- editable: boolean | "click" | "dblclick";
160
- }, {}, string, {}> & {
161
- beforeCreate?: ((() => void) | (() => void)[]) | undefined;
162
- created?: ((() => void) | (() => void)[]) | undefined;
163
- beforeMount?: ((() => void) | (() => void)[]) | undefined;
164
- mounted?: ((() => void) | (() => void)[]) | undefined;
165
- beforeUpdate?: ((() => void) | (() => void)[]) | undefined;
166
- updated?: ((() => void) | (() => void)[]) | undefined;
167
- activated?: ((() => void) | (() => void)[]) | undefined;
168
- deactivated?: ((() => void) | (() => void)[]) | undefined;
169
- beforeDestroy?: ((() => void) | (() => void)[]) | undefined;
170
- beforeUnmount?: ((() => void) | (() => void)[]) | undefined;
171
- destroyed?: ((() => void) | (() => void)[]) | undefined;
172
- unmounted?: ((() => void) | (() => void)[]) | undefined;
173
- renderTracked?: (((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[]) | undefined;
174
- renderTriggered?: (((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[]) | undefined;
175
- errorCaptured?: (((err: unknown, instance: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null, info: string) => boolean | void)[]) | undefined;
176
- };
177
- $forceUpdate: () => void;
178
- $nextTick: nextTick;
179
- $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R) => any : (...args: any) => any, options?: WatchOptions<boolean> | undefined): WatchStopHandle;
180
- } & Omit<Readonly< ExtractPropTypes<{
181
- index: {
182
- type: PropType<number>;
183
- default: number;
184
- };
185
- formProps: {
186
- type: PropType<PlusFormProps>;
187
- default: () => {};
188
- };
189
- rest: {
190
- type: PropType<RecordType>;
191
- default: () => {};
192
- };
193
- column: {
194
- type: PropType<PlusColumn>;
195
- required: true;
196
- default: () => {
197
- prop: string;
198
- label: string;
199
- };
200
- };
201
- row: {
202
- type: PropType<RecordType>;
203
- required: true;
204
- default: () => {};
205
- };
206
- editable: {
207
- type: PropType<boolean | "click" | "dblclick">;
208
- default: boolean;
209
- };
210
- }>> & {
211
- onChange?: ((data: {
212
- value: FieldValueType;
213
- prop: string;
214
- row: RecordType;
215
- }) => any) | undefined;
216
- }, "startCellEdit" | "stopCellEdit" | "getDisplayItemInstance"> & ShallowUnwrapRef<{
217
- startCellEdit: () => void;
218
- stopCellEdit: () => void;
219
- getDisplayItemInstance: () => {
220
- isEdit: Ref<boolean>;
221
- index: number;
222
- rowIndex: number;
223
- cellIndex: any;
224
- prop: string;
225
- formInstance: ComputedRef<any>;
226
- };
227
- }> & {} & ComponentCustomProperties & {} & {
228
- $slots: Partial<Record<string, (_: {
229
- column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
230
- readonly label: string | ComputedRef<string>;
231
- readonly modelValue: string | number | boolean | string[] | [string, string] | RecordType | Date | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
232
- readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
233
- readonly tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
234
- style?: CSSProperties | undefined;
235
- class?: any;
236
- } & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
237
- style?: CSSProperties | undefined;
238
- class?: any;
239
- } & RecordType>>;
240
- readonly formItemProps: PropsItemType< Mutable<FormItemProps> & {
241
- [key: string]: any;
242
- style?: CSSProperties | undefined;
243
- }>;
244
- readonly fieldProps: PropsItemType<Partial<{
245
- [index: string]: any;
246
- [index: number]: any;
247
- [index: symbol]: any;
248
- class: any;
249
- style: CSSProperties;
250
- modelModifiers: {
251
- [index: string]: any;
252
- lazy?: boolean | undefined;
253
- trim?: boolean | undefined;
254
- number?: boolean | undefined;
255
- };
256
- rows: number;
257
- autocomplete: string;
258
- type: "" | "number" | "default" | "color" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "datetimerange" | "daterange" | "monthrange" | "checkbox" | "radio" | "primary" | "success" | "warning" | "info" | "danger" | "reset" | "submit" | "hidden" | "email" | "tel" | "password" | "range" | "url" | "date" | "year" | "years" | "month" | "months" | "dates" | "week" | "datetime" | "yearrange" | "dashboard" | "datetime-local" | "file" | undefined;
259
- loading: boolean | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
260
- step: string | number;
261
- format: string | ProgressFn | undefined;
262
- filterMethod: ((node: CascaderNode, keyword: string) => boolean) | ((query: string) => void) | undefined;
263
- id: string | [string, string];
264
- effect: EpPropMergeType<(new (...args: any[]) => string) | (() => PopperEffect) | ((new (...args: any[]) => string) | (() => PopperEffect))[], unknown, unknown>;
265
- height: string | number;
266
- autosize: InputAutoSize;
267
- } & Mutable<Omit< AutocompleteProps, OmitTypes> & Omit< CascaderProps, OmitTypes> & Omit< CheckboxGroupProps, OmitTypes> & Omit< ColorPickerProps, OmitTypes> & Omit< DatePickerProps, OmitTypes> & Omit< InputProps, OmitTypes> & Omit< InputNumberProps, OmitTypes> & Omit< RadioGroupProps, OmitTypes> & Omit< RateProps, OmitTypes> & Omit< SelectProps, OmitTypes> & Omit< SliderProps, OmitTypes> & Omit< SwitchProps, OmitTypes> & Omit< TimePickerDefaultProps, OmitTypes> & Omit< TimeSelectProps, OmitTypes> & Omit< PlusRadioProps, OmitTypes> & Omit< PlusDatePickerProps, OmitTypes> & Omit< PlusInputTagProps, OmitTypes> & Omit< TextProps, OmitTypes> & Omit< ImageProps, OmitTypes> & Omit< LinkProps, OmitTypes> & Omit< TagProps, OmitTypes> & Omit< ProgressProps, OmitTypes>>>>;
268
- readonly options: OptionsType;
269
- readonly fieldSlots: {
270
- [slotName: string]: (data?: any) => RenderTypes;
271
- };
272
- readonly valueType: TableValueType | FormItemValueType;
273
- readonly renderField: ((value: FieldValueType, onChange: (value: FieldValueType) => void, props: PlusColumn) => RenderTypes) | undefined;
274
- readonly renderLabel: ((label: string, props: PlusColumn) => RenderTypes) | undefined;
275
- readonly fieldChildrenSlot: ((option?: OptionsRow<undefined> | undefined) => RenderTypes) | undefined;
276
- readonly renderErrorMessage: ((props: PlusColumn & {
277
- value?: FieldValueType;
278
- error?: string | undefined;
279
- label?: string | undefined;
280
- }) => RenderTypes) | undefined;
281
- readonly optionsMap: {
282
- label?: string | undefined;
283
- value?: string | undefined;
284
- } | undefined;
285
- readonly autoDict: boolean | ((column: PlusColumn) => OptionsRow<undefined>[] | Promise< OptionsRow<undefined>[]>) | {
286
- store?: any;
287
- method?: string | undefined;
288
- transform?: ((data: any) => OptionsRow<undefined>[]) | undefined;
289
- dictCode?: string | undefined;
290
- } | undefined;
291
- readonly clearable: boolean;
292
- readonly index: number;
293
- } & {
294
- readonly clearable: boolean;
295
- };
296
- label: string;
297
- fieldProps: RecordType;
298
- formItemProps: RecordType;
299
- options: OptionsRow<undefined>[];
300
- fieldInstance?: any;
301
- valueIsReady?: Ref<boolean> | undefined;
302
- prop: string;
303
- modelValue: string | number | boolean | string[] | [string, string] | RecordType | Date | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
304
- hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
305
- tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
306
- style?: CSSProperties | undefined;
307
- class?: any;
308
- } & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
309
- style?: CSSProperties | undefined;
310
- class?: any;
311
- } & RecordType>>;
312
- fieldSlots: {
313
- [slotName: string]: (data?: any) => RenderTypes;
314
- };
315
- valueType: TableValueType | FormItemValueType;
316
- renderField: ((value: FieldValueType, onChange: (value: FieldValueType) => void, props: PlusColumn) => RenderTypes) | undefined;
317
- renderLabel: ((label: string, props: PlusColumn) => RenderTypes) | undefined;
318
- fieldChildrenSlot: ((option?: OptionsRow<undefined> | undefined) => RenderTypes) | undefined;
319
- renderErrorMessage: ((props: PlusColumn & {
320
- value?: FieldValueType;
321
- error?: string | undefined;
322
- label?: string | undefined;
323
- }) => RenderTypes) | undefined;
324
- optionsMap: {
325
- label?: string | undefined;
326
- value?: string | undefined;
327
- } | undefined;
328
- autoDict: boolean | ((column: PlusColumn) => OptionsRow<undefined>[] | Promise< OptionsRow<undefined>[]>) | {
329
- store?: any;
330
- method?: string | undefined;
331
- transform?: ((data: any) => OptionsRow<undefined>[]) | undefined;
332
- dictCode?: string | undefined;
333
- } | undefined;
334
- clearable: boolean;
335
- index: number;
336
- }) => any>> & Partial<Record<string, (_: {
337
- column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
338
- readonly label: string | ComputedRef<string>;
339
- readonly modelValue: string | number | boolean | string[] | [string, string] | RecordType | Date | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
340
- readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
341
- readonly tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
342
- style?: CSSProperties | undefined;
343
- class?: any;
344
- } & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
345
- style?: CSSProperties | undefined;
346
- class?: any;
347
- } & RecordType>>;
348
- readonly formItemProps: PropsItemType< Mutable<FormItemProps> & {
349
- [key: string]: any;
350
- style?: CSSProperties | undefined;
351
- }>;
352
- readonly fieldProps: PropsItemType<Partial<{
353
- [index: string]: any;
354
- [index: number]: any;
355
- [index: symbol]: any;
356
- class: any;
357
- style: CSSProperties;
358
- modelModifiers: {
359
- [index: string]: any;
360
- lazy?: boolean | undefined;
361
- trim?: boolean | undefined;
362
- number?: boolean | undefined;
363
- };
364
- rows: number;
365
- autocomplete: string;
366
- type: "" | "number" | "default" | "color" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "datetimerange" | "daterange" | "monthrange" | "checkbox" | "radio" | "primary" | "success" | "warning" | "info" | "danger" | "reset" | "submit" | "hidden" | "email" | "tel" | "password" | "range" | "url" | "date" | "year" | "years" | "month" | "months" | "dates" | "week" | "datetime" | "yearrange" | "dashboard" | "datetime-local" | "file" | undefined;
367
- loading: boolean | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
368
- step: string | number;
369
- format: string | ProgressFn | undefined;
370
- filterMethod: ((node: CascaderNode, keyword: string) => boolean) | ((query: string) => void) | undefined;
371
- id: string | [string, string];
372
- effect: EpPropMergeType<(new (...args: any[]) => string) | (() => PopperEffect) | ((new (...args: any[]) => string) | (() => PopperEffect))[], unknown, unknown>;
373
- height: string | number;
374
- autosize: InputAutoSize;
375
- } & Mutable<Omit< AutocompleteProps, OmitTypes> & Omit< CascaderProps, OmitTypes> & Omit< CheckboxGroupProps, OmitTypes> & Omit< ColorPickerProps, OmitTypes> & Omit< DatePickerProps, OmitTypes> & Omit< InputProps, OmitTypes> & Omit< InputNumberProps, OmitTypes> & Omit< RadioGroupProps, OmitTypes> & Omit< RateProps, OmitTypes> & Omit< SelectProps, OmitTypes> & Omit< SliderProps, OmitTypes> & Omit< SwitchProps, OmitTypes> & Omit< TimePickerDefaultProps, OmitTypes> & Omit< TimeSelectProps, OmitTypes> & Omit< PlusRadioProps, OmitTypes> & Omit< PlusDatePickerProps, OmitTypes> & Omit< PlusInputTagProps, OmitTypes> & Omit< TextProps, OmitTypes> & Omit< ImageProps, OmitTypes> & Omit< LinkProps, OmitTypes> & Omit< TagProps, OmitTypes> & Omit< ProgressProps, OmitTypes>>>>;
376
- readonly options: OptionsType;
377
- readonly fieldSlots: {
378
- [slotName: string]: (data?: any) => RenderTypes;
379
- };
380
- readonly valueType: TableValueType | FormItemValueType;
381
- readonly renderField: ((value: FieldValueType, onChange: (value: FieldValueType) => void, props: PlusColumn) => RenderTypes) | undefined;
382
- readonly renderLabel: ((label: string, props: PlusColumn) => RenderTypes) | undefined;
383
- readonly fieldChildrenSlot: ((option?: OptionsRow<undefined> | undefined) => RenderTypes) | undefined;
384
- readonly renderErrorMessage: ((props: PlusColumn & {
385
- value?: FieldValueType;
386
- error?: string | undefined;
387
- label?: string | undefined;
388
- }) => RenderTypes) | undefined;
389
- readonly optionsMap: {
390
- label?: string | undefined;
391
- value?: string | undefined;
392
- } | undefined;
393
- readonly autoDict: boolean | ((column: PlusColumn) => OptionsRow<undefined>[] | Promise< OptionsRow<undefined>[]>) | {
394
- store?: any;
395
- method?: string | undefined;
396
- transform?: ((data: any) => OptionsRow<undefined>[]) | undefined;
397
- dictCode?: string | undefined;
398
- } | undefined;
399
- readonly clearable: boolean;
400
- readonly index: number;
401
- } & {
402
- readonly clearable: boolean;
403
- };
404
- label: string;
405
- fieldProps: RecordType;
406
- formItemProps: RecordType;
407
- options: OptionsRow<undefined>[];
408
- fieldInstance?: any;
409
- valueIsReady?: Ref<boolean> | undefined;
410
- prop: string;
411
- modelValue: string | number | boolean | string[] | [string, string] | RecordType | Date | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
412
- hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
413
- tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
414
- style?: CSSProperties | undefined;
415
- class?: any;
416
- } & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
417
- style?: CSSProperties | undefined;
418
- class?: any;
419
- } & RecordType>>;
420
- fieldSlots: {
421
- [slotName: string]: (data?: any) => RenderTypes;
422
- };
423
- valueType: TableValueType | FormItemValueType;
424
- renderField: ((value: FieldValueType, onChange: (value: FieldValueType) => void, props: PlusColumn) => RenderTypes) | undefined;
425
- renderLabel: ((label: string, props: PlusColumn) => RenderTypes) | undefined;
426
- fieldChildrenSlot: ((option?: OptionsRow<undefined> | undefined) => RenderTypes) | undefined;
427
- renderErrorMessage: ((props: PlusColumn & {
428
- value?: FieldValueType;
429
- error?: string | undefined;
430
- label?: string | undefined;
431
- }) => RenderTypes) | undefined;
432
- optionsMap: {
433
- label?: string | undefined;
434
- value?: string | undefined;
435
- } | undefined;
436
- autoDict: boolean | ((column: PlusColumn) => OptionsRow<undefined>[] | Promise< OptionsRow<undefined>[]>) | {
437
- store?: any;
438
- method?: string | undefined;
439
- transform?: ((data: any) => OptionsRow<undefined>[]) | undefined;
440
- dictCode?: string | undefined;
441
- } | undefined;
442
- clearable: boolean;
443
- index: number;
444
- }) => any>> & Partial<Record<string, (_: {
445
- column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
446
- readonly label: string | ComputedRef<string>;
447
- readonly modelValue: string | number | boolean | string[] | [string, string] | RecordType | Date | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
448
- readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
449
- readonly tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
450
- style?: CSSProperties | undefined;
451
- class?: any;
452
- } & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
453
- style?: CSSProperties | undefined;
454
- class?: any;
455
- } & RecordType>>;
456
- readonly formItemProps: PropsItemType< Mutable<FormItemProps> & {
457
- [key: string]: any;
458
- style?: CSSProperties | undefined;
459
- }>;
460
- readonly fieldProps: PropsItemType<Partial<{
461
- [index: string]: any;
462
- [index: number]: any;
463
- [index: symbol]: any;
464
- class: any;
465
- style: CSSProperties;
466
- modelModifiers: {
467
- [index: string]: any;
468
- lazy?: boolean | undefined;
469
- trim?: boolean | undefined;
470
- number?: boolean | undefined;
471
- };
472
- rows: number;
473
- autocomplete: string;
474
- type: "" | "number" | "default" | "color" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "datetimerange" | "daterange" | "monthrange" | "checkbox" | "radio" | "primary" | "success" | "warning" | "info" | "danger" | "reset" | "submit" | "hidden" | "email" | "tel" | "password" | "range" | "url" | "date" | "year" | "years" | "month" | "months" | "dates" | "week" | "datetime" | "yearrange" | "dashboard" | "datetime-local" | "file" | undefined;
475
- loading: boolean | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
476
- step: string | number;
477
- format: string | ProgressFn | undefined;
478
- filterMethod: ((node: CascaderNode, keyword: string) => boolean) | ((query: string) => void) | undefined;
479
- id: string | [string, string];
480
- effect: EpPropMergeType<(new (...args: any[]) => string) | (() => PopperEffect) | ((new (...args: any[]) => string) | (() => PopperEffect))[], unknown, unknown>;
481
- height: string | number;
482
- autosize: InputAutoSize;
483
- } & Mutable<Omit< AutocompleteProps, OmitTypes> & Omit< CascaderProps, OmitTypes> & Omit< CheckboxGroupProps, OmitTypes> & Omit< ColorPickerProps, OmitTypes> & Omit< DatePickerProps, OmitTypes> & Omit< InputProps, OmitTypes> & Omit< InputNumberProps, OmitTypes> & Omit< RadioGroupProps, OmitTypes> & Omit< RateProps, OmitTypes> & Omit< SelectProps, OmitTypes> & Omit< SliderProps, OmitTypes> & Omit< SwitchProps, OmitTypes> & Omit< TimePickerDefaultProps, OmitTypes> & Omit< TimeSelectProps, OmitTypes> & Omit< PlusRadioProps, OmitTypes> & Omit< PlusDatePickerProps, OmitTypes> & Omit< PlusInputTagProps, OmitTypes> & Omit< TextProps, OmitTypes> & Omit< ImageProps, OmitTypes> & Omit< LinkProps, OmitTypes> & Omit< TagProps, OmitTypes> & Omit< ProgressProps, OmitTypes>>>>;
484
- readonly options: OptionsType;
485
- readonly fieldSlots: {
486
- [slotName: string]: (data?: any) => RenderTypes;
487
- };
488
- readonly valueType: TableValueType | FormItemValueType;
489
- readonly renderField: ((value: FieldValueType, onChange: (value: FieldValueType) => void, props: PlusColumn) => RenderTypes) | undefined;
490
- readonly renderLabel: ((label: string, props: PlusColumn) => RenderTypes) | undefined;
491
- readonly fieldChildrenSlot: ((option?: OptionsRow<undefined> | undefined) => RenderTypes) | undefined;
492
- readonly renderErrorMessage: ((props: PlusColumn & {
493
- value?: FieldValueType;
494
- error?: string | undefined;
495
- label?: string | undefined;
496
- }) => RenderTypes) | undefined;
497
- readonly optionsMap: {
498
- label?: string | undefined;
499
- value?: string | undefined;
500
- } | undefined;
501
- readonly autoDict: boolean | ((column: PlusColumn) => OptionsRow<undefined>[] | Promise< OptionsRow<undefined>[]>) | {
502
- store?: any;
503
- method?: string | undefined;
504
- transform?: ((data: any) => OptionsRow<undefined>[]) | undefined;
505
- dictCode?: string | undefined;
506
- } | undefined;
507
- readonly clearable: boolean;
508
- readonly index: number;
509
- } & {
510
- readonly clearable: boolean;
511
- };
512
- label: string;
513
- fieldProps: RecordType;
514
- formItemProps: RecordType;
515
- options: OptionsRow<undefined>[];
516
- fieldInstance?: any;
517
- valueIsReady?: Ref<boolean> | undefined;
518
- prop: string;
519
- modelValue: string | number | boolean | string[] | [string, string] | RecordType | Date | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
520
- hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
521
- tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
522
- style?: CSSProperties | undefined;
523
- class?: any;
524
- } & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
525
- style?: CSSProperties | undefined;
526
- class?: any;
527
- } & RecordType>>;
528
- fieldSlots: {
529
- [slotName: string]: (data?: any) => RenderTypes;
530
- };
531
- valueType: TableValueType | FormItemValueType;
532
- renderField: ((value: FieldValueType, onChange: (value: FieldValueType) => void, props: PlusColumn) => RenderTypes) | undefined;
533
- renderLabel: ((label: string, props: PlusColumn) => RenderTypes) | undefined;
534
- fieldChildrenSlot: ((option?: OptionsRow<undefined> | undefined) => RenderTypes) | undefined;
535
- renderErrorMessage: ((props: PlusColumn & {
536
- value?: FieldValueType;
537
- error?: string | undefined;
538
- label?: string | undefined;
539
- }) => RenderTypes) | undefined;
540
- optionsMap: {
541
- label?: string | undefined;
542
- value?: string | undefined;
543
- } | undefined;
544
- autoDict: boolean | ((column: PlusColumn) => OptionsRow<undefined>[] | Promise< OptionsRow<undefined>[]>) | {
545
- store?: any;
546
- method?: string | undefined;
547
- transform?: ((data: any) => OptionsRow<undefined>[]) | undefined;
548
- dictCode?: string | undefined;
549
- } | undefined;
550
- clearable: boolean;
551
- index: number;
552
- }) => any>> & Partial<Record<string, (_: {
553
- column: any;
554
- prop: string;
555
- valueType: TableValueType | FormItemValueType;
556
- row: RecordType;
557
- index: number;
558
- rowIndex: number;
559
- fieldProps: RecordType;
560
- options: OptionsRow<undefined>[];
561
- value: any;
562
- }) => any>> & {
563
- "edit-icon"?(_: {}): any;
564
- };
565
- })[] | null | undefined>;
566
- }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
567
- formChange: (data: FormChangeCallBackParams) => void;
568
- }, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<PlusTableColumnProps>, {
569
- columns: () => never[];
570
- tableDataLength: number;
571
- editable: boolean;
572
- subPageInfo: () => {};
573
- }>>> & {
574
- onFormChange?: ((data: FormChangeCallBackParams) => any) | undefined;
575
- }, {
576
- columns: PlusColumn[];
577
- editable: boolean | "click" | "dblclick";
578
- tableDataLength: number;
579
- subPageInfo: Partial<PageInfo>;
580
- }, {}>, Partial<Record<string, (_: any) => any>> & Partial<Record<NonNullable<string | number>, (_: any) => any>> & Partial<Record<NonNullable<string | number>, (_: {
581
- column: any;
582
- prop: string;
583
- valueType: TableValueType | FormItemValueType;
584
- row: RecordType;
585
- index: number;
586
- rowIndex: number;
587
- fieldProps: RecordType;
588
- options: OptionsRow<undefined>[];
589
- value: any;
590
- }) => any>> & {
591
- "tooltip-icon"?(_: {}): any;
592
- }>;
593
- export default _default;
594
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
595
- type __VLS_TypePropsToRuntimeProps<T> = {
596
- [K in keyof T]-?: {} extends Pick<T, K> ? {
597
- type: PropType<__VLS_NonUndefinedable<T[K]>>;
598
- } : {
599
- type: PropType<T[K]>;
600
- required: true;
601
- };
602
- };
603
- type __VLS_WithDefaults<P, D> = {
604
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
605
- default: D[K];
606
- }> : P[K];
607
- };
608
- type __VLS_Prettify<T> = {
609
- [K in keyof T]: T[K];
610
- } & {};
611
- type __VLS_WithTemplateSlots<T, S> = T & {
612
- new (): {
613
- $slots: S;
614
- };
615
- };